From owner-freebsd-mobile Mon Aug 27 12: 9:52 2001 Delivered-To: freebsd-mobile@freebsd.org Received: from mail12.speakeasy.net (mail12.speakeasy.net [216.254.0.212]) by hub.freebsd.org (Postfix) with ESMTP id 41B7237B40B for ; Mon, 27 Aug 2001 12:09:40 -0700 (PDT) (envelope-from metrol@earthlink.net) Received: (qmail 89843 invoked from network); 27 Aug 2001 19:09:35 -0000 Received: from unknown (HELO there) ([66.92.40.27]) (envelope-sender ) by 216.254.0.212 (qmail-ldap-1.03) with SMTP for ; 27 Aug 2001 19:09:35 -0000 Content-Type: text/plain; charset="us-ascii" From: Michael Collette To: Warner Losh Subject: Re: IRQ Problems with Stable Date: Mon, 27 Aug 2001 12:08:35 -0700 X-Mailer: KMail [version 1.3] Cc: FreeBSD , FreeBSD References: <200108240707.f7O77Dq51427@rover.village.org> <200108240539.f7O5dEW91414@harmony.village.org> <200108241622.f7OGMIW94772@harmony.village.org> In-Reply-To: <200108241622.f7OGMIW94772@harmony.village.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20010827190940.41B7237B40B@hub.freebsd.org> Sender: owner-freebsd-mobile@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Warner, I haven't sent you an entire dmesg yet. I'll see if I can do one up to a floppy and move it on over to send a little later. In the mean time, here's a manually typed pcic0 line from it. pcic0: mem 0x7fffe000-0x7fffefff irq 11 at device 12.0 on pci0 With that in mind I went looking at my kernel config file once again, and noticed that the IRQ can be set for pcic0 in there. So I tried setting it. Now I get into some really disturbing tid bits. Before I get into all that, here's a quick run down of how I compile a kernel by itself. cd /usr/src/sys/i386/conf config MetKernel cd ../../compile/MetKernel make clean make depend make make install Thus far I haven't been able to get past make. I keep erroring out when it tries to compile ipfiltering. ipfiltering?? I went back over my kernel config, and also reviewed LINT again. I never enabled ipfiltering! Worse yet, it's stopping while compiling ip6fw.ko. I specifically disabled all IP6 related options as I usually do. Next time I ran the compile I also noticed other tid bits like sound support being compiled. I had intended to come back and add that to the kernel config later, but there it was scrolling on by compiling code for it. What the heck is going on?? What started this rather long thread for me was pccard.conf not being properly read, thus locking my system solid due to IRQ conflicts. Now it seems that even the kernel config isn't being read like it should. I'm just one very confused user out here. So as not to leave on a rant, here's a few other tid bits of troubleshooting I attempted. I tried setting hw.pcic.init_routing to both 1 and 0 with a reboot for both. No effect on the IRQ setting, but since it was being discussed on this thread I thought I'd give it a shot. Also tried hw.pcic.irq and hw.pcic.intr_path at various settings, no effect. Going in and booting off of GENERIC seems to work though. No IRQ problems, and the NIC loads up fine without any lockups. With the NIC card working I went and pulled down a fresh cvsup as of a couple hours ago from cvsup10's server. Rebuilt world and did all the usual stuff. Now I'm getting pcic0 allocated to IRQ 11 as before, but when I put in the NIC card it reports being assigned to IRQ9. Success? Nope. I get a /kernel/ed0 timeout error now. No lock up, but no worky either. On top of that, USB and sound support are still compiling, even though I remarked them out in my config. I can see it is reading the config file due to when I reboot I get the proper ident in dmesg. Is something really horribly wrong here, or am I just pushing the wrong buttons? Later on, On Friday 24 August 2001 09:22 am, Warner Losh wrote: > What did the pcic/pccard probe say? Can you send me the entire dmesg? > I can't find it in my records. > > In message <200108240707.f7O77Dq51427@rover.village.org> Michael Collette writes: > : ed1 at port 0x300-0x31f irq 11 slot 0 on pccard0 > : ed1: address [mac address], type Linksys (16 bit) > : lxtphy0: on miibus0 > : lxtphy0: 100baseFX, 100baseFX-FDX, 10baseT, 10baseT-FDX, 100baseTX, > : 100baseTX-FDX, auto > : > : Same problem. ed1 is getting assigned to IRQ 11. No clue why it's not > : assigning the card to ed0, as there really is only one card here. My > : apologies for goofing up what IRQ 11 is set to. It's actually the USB > : port that uses 11. I attempted to go into the bios config to turn it > : off, but Compaq apparently feels that USB needs to be turned on no matter > : what. > > Right. We share interrupts now when we're using PCI interrupts. For > PCI devices, it is safe to share interrupts. Maybe your laptop needs > hw.pcic.init_route=1 in /boot/loader.conf? > > : Might there be a way to hard code the IRQ setting for this NIC card > : someplace? I know this card works sweet if I can just get the IRQ back > : to 9 or 10. At this point, even if a fix is put together I have no good > : way of getting it on over to this laptop. I'm still willing to play the > : test bed over here to avoid having to do a full reinstall again. > > Sure. You'll likely only need to build kernels from this point > forward. > > Warner -- "Outside of a dog, a book is man's best friend. Inside of a dog, it's too dark to read." - Groucho Marx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-mobile" in the body of the message