Date: Fri, 4 Jul 2003 15:45:39 -0600 From: "Kenneth D. Merry" <ken@kdm.org> To: "M. Warner Losh" <imp@bsdimp.com> Cc: mobile@freebsd.org Subject: Re: cardbus network problem with -current Message-ID: <20030704154539.A20962@panzer.kdm.org> In-Reply-To: <20030702.185340.121218360.imp@bsdimp.com>; from imp@bsdimp.com on Wed, Jul 02, 2003 at 06:53:40PM -0600 References: <20030702074635.A9697@panzer.kdm.org> <20030702.161506.118972599.imp@bsdimp.com> <20030702182620.A12382@panzer.kdm.org> <20030702.185340.121218360.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jul 02, 2003 at 18:53:40 -0600, M. Warner Losh wrote: > In message: <20030702182620.A12382@panzer.kdm.org> > "Kenneth D. Merry" <ken@kdm.org> writes: > : On Wed, Jul 02, 2003 at 16:15:06 -0600, M. Warner Losh wrote: > : > In message: <20030702074635.A9697@panzer.kdm.org> > : > "Kenneth D. Merry" <ken@kdm.org> writes: > : > : On Wed, Jul 02, 2003 at 01:48:21 -0600, M. Warner Losh wrote: > : > : > Does this also happen if you boot off the battery? When booting off > : > : > the battery, your CPU is running slower (if the 8500 is like my 8000), > : > : > and maybe this is a timing problem. > : > : > : > : The same thing happens when I boot off the battery. > : > > : > I suppose the same thing happens if you boot w/o the card in the > : > socket, and do one of the following: > : > > : > 1) insert the card after the machine is on, but before the kernel is > : > loaded. > : > : Yep, fails the same way. > : > : > 2) after cbb has probed, but before we get to the point of mounting > : > root. > : > : Fails the same way. > : > : > 3) Some point after init starts. > : > : It fails the same way. I have to pop it out and re-insert it. > > So even if you wait until the machine is completely up, you have to > insert it twice before it will work? Yes. > : > And does it happen when you reboot the machine with the card in place? > : > Eg, is this a cold boot only problem, warm boot problem, or both? > : > : It doesn't matter whether it's a cold or a warm boot, or whether the card > : was functional or not on the last boot, every time I reboot it doesn't work. > : > : Once I re-insert it, it works fine. > > OK. That's good to know. Sounds like a "first time always fails" > problem... Yeah. > Oh, one last thing. Could you try the following experiment. Don't > build cardbus into your kernel. Omit cbb, cardbus and pccard. Make > sure you install the modules, however. Also, set the loader for > automatic module loading for these three modules. Then you can do: > > 1) insert card > 2) boot > 3) reinsert card Probed both times. > 4) kldunload cbb (or cardbus in second experiment) > 5) kldload cbb ditto Card probed here when I unloaded and reloaded cbb, but did not probe here when I unloaded and reloaded cardbus. > 6) reinsert card Card probed here both times. > If it is a 'the bios puts the hardware in a funny state' problem, then > the card should attach at #5 instead of #6. I think this is a pci > cardbus bridge driver problem of some sort and this would help me sort > it out. I know it is a little bit of a pain, but it may suggest a > patch.. It attached at #5 when I loaded the cbb module, but not the cardbus module. Ken -- Kenneth Merry ken@kdm.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030704154539.A20962>
