* Christopher Zimmermann [2009-10-24 14:57]:
> Yes, I read something about "mbuf cluster" is the comments. As I
> understand the manpages this means the mbufs are chained together using
> the m_hdr.mh_next pointer !? But as far as I understand the code in
> sis_newbuf() it uses the MH_dat.m_ext. I
thanks for the fast replies. I believe you helped me very much to look
in the right direction.
On Sat, 24 Oct 2009 14:19:58 +0200 Claudio Jeker wrote:
> On Sat, Oct 24, 2009 at 01:56:51PM +0200, Christopher Zimmermann wrote:
> > panic: pool_do_get(mbpl: free list modified
>
> Free list modified me
On Sat, Oct 24, 2009 at 01:56:51PM +0200, Christopher Zimmermann wrote:
> Hello again!
>
> In porting this SIS191 driver from freeBSD I'm stuck trying to fix a
> kernel panic in pool_do_get:
>
> panic: pool_do_get(mbpl: free list modified
>
Free list modified means that you hit a use after free
* Christopher Zimmermann [2009-10-24 14:04]:
> In porting this SIS191 driver from freeBSD I'm stuck trying to fix a
> kernel panic in pool_do_get:
>
> panic: pool_do_get(mbpl: free list modified
>
> trace:
> panic()
> pool_do_get()
> pool_get()
> m_gethdr()
>
> What I don't understand is in my
Hello again!
In porting this SIS191 driver from freeBSD I'm stuck trying to fix a
kernel panic in pool_do_get:
panic: pool_do_get(mbpl: free list modified
trace:
panic()
pool_do_get()
pool_get()
m_gethdr()
What I don't understand is in my driver m_gethdr(M_DONTWAIT, M_DATA) is
called. Therefore
On Mon, Oct 05, 2009 at 10:26:32AM +0200, Mark Kettenis wrote:
> > Date: Mon, 5 Oct 2009 09:51:39 +0200
> > From: Christopher Zimmermann
> >
> > rc = sis190_get_mac_addr_from_eeprom(pdev, dev); /* This seems to fail */
> > if (rc < 0) {
> > u8 reg;
> >
> > pci_read_config_byte(pdev, 0x73
> Date: Mon, 5 Oct 2009 09:51:39 +0200
> From: Christopher Zimmermann
>
> rc = sis190_get_mac_addr_from_eeprom(pdev, dev); /* This seems to fail */
> if (rc < 0) {
> u8 reg;
>
> pci_read_config_byte(pdev, 0x73, ®); /* How to do this in openBSD */
You can't really do byte-access on PCI c
Hello,
I'm trying to port the SiS190 driver from freeBSD. So far I've been
quite successful. It compiles without warnings and finds the the MAC and
in my case the Realtek PHY. Sadly I only have one PC with one NIC so I
can do no real testing. My dsl modem with PPPoE does not yet work. Still
I