Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2000 13:04:19 -0600
From:      "Justin T. Gibbs" <gibbs@plutotech.com>
To:        wpaul@FreeBSD.ORG (Bill Paul)
Cc:        asmodai@FreeBSD.ORG, gibbs@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG
Subject:   Re: kern/19106: Corruption of xl driver's TX chain during startup 
Message-ID:  <200006121903.NAA02428@pluto.plutotech.com>
In-Reply-To: Your message of "Mon, 12 Jun 2000 11:16:18 PDT." <20000612181618.87A1037B9F8@hub.freebsd.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
>Hm. In most drivers, I bzero() the softc struct at the start of foo_attach()
>just to make sure there isn't any garbage lying around. For some reason,
>I'm not doing this in if_xl. It could be a coincidence that this has
>never bitten anyone before.

The NewBus code bzero's the softc on your behalf.  From looking at
this with the kernel debugger, it appears that the corruption does
not occur until after the return of the attach routine.  I'm still
trying to narrow down this problem, but my hunch is that it is
some other driver that is stomping on th xl card's softc.

--
Justin



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200006121903.NAA02428>