From owner-freebsd-stable Fri Aug 17 10: 4: 2 2001 Delivered-To: freebsd-stable@freebsd.org Received: from ns.yogotech.com (ns.yogotech.com [206.127.123.66]) by hub.freebsd.org (Postfix) with ESMTP id 4812B37B401; Fri, 17 Aug 2001 10:03:49 -0700 (PDT) (envelope-from nate@yogotech.com) Received: from nomad.yogotech.com (nomad.yogotech.com [206.127.123.131]) by ns.yogotech.com (8.9.3/8.9.3) with ESMTP id LAA10860; Fri, 17 Aug 2001 11:03:44 -0600 (MDT) (envelope-from nate@nomad.yogotech.com) Received: (from nate@localhost) by nomad.yogotech.com (8.8.8/8.8.8) id LAA14264; Fri, 17 Aug 2001 11:03:44 -0600 (MDT) (envelope-from nate) From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15229.20079.948665.225767@nomad.yogotech.com> Date: Fri, 17 Aug 2001 11:03:43 -0600 To: Warner Losh Cc: stable@FreeBSD.ORG, mobile@FreeBSD.ORG Subject: Re: If your -stable system hangs on boot ... In-Reply-To: <200108170617.f7H6HAW38749@harmony.village.org> References: <3B7C9F54.1000401@ucsd.edu> <200108150433.f7F4X1W20487@harmony.village.org> <200108170617.f7H6HAW38749@harmony.village.org> X-Mailer: VM 6.95 under 21.1 (patch 12) "Channel Islands" XEmacs Lucid Reply-To: nate@yogotech.com (Nate Williams) Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > http://people.freebsd.org/~imp/no-hang.diff.2 > to the latest sources. This won't address the hang that Nate is > seeing (I don't think) You are (unfortunately) correct. It still hangs at boot time with a card in it even with the above (diff.4 actually) applied and the sysctl is set. More news. It always hangs at the same place, no matter which slot the card is in. It hangs right here: FreeBSD 4.4-RC #0: Fri Aug 17 10:06:50 MDT 2001 nate@caddis.yogotech.com:/usr/src/sys/compile/CADDIS Timecounter "i8254" frequency 1193182 Hz CPU: Pentium III/Pentium III Xeon/Celeron (796.54-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x68a Stepping = 10 Features=0x383f9ff real memory = 134152192 (131008K bytes) avail memory = 127049728 (124072K bytes) Preloaded elf kernel "kernel" at 0xc0384000. Pentium Pro MTRR support enabled md0: Malloc disk pci_cfgintr: BIOS version 2.10 Using $PIR table, 11 entries at 0xc00fdee0 apm0: on motherboard apm: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 irq 11 pcic0: mem 0x50000000-0x50000fff irq 11 at device 2.0 on pci0 pcic0: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][pci only] pccard0: on pcic0 pcic1: mem 0x50100000-0x50100fff irq 11 at device 2.1 on pci0 pcic1: TI12XX PCI Config Reg: [ring enable][speaker enable][pwr save][pci only] pccard1: on pcic1 ====> Right here, just before the fxp0 card is probed. fxp0: port 0x1800-0x183f mem 0xe8100000-0xe811ffff,0xe8120000-0xe8120fff irq 11 at device 3.0 on pci0 fxp0: Ethernet address 00:10:a4:86:e8:e4 I'm going to reboot with a card in, to make sure all the lines are exactly the same, but maybe this will give you an idea what's going on. *Whoa* Here's a switch. Now it got past the pcic* bootlines for some reason (first time ever, using the same kernel it hung on before), and the last line printed out was 'pcic0: Event mask 0xf'. This was a warm reboot after having no cards in, so maybe that had something to do with it. (I have the patch in place, but I haven't disabled the pcibios per the sysctl.) Rebooted again, and now it actually came up, and saw my modem. This is getting weirder and weirder all the time. Not, when I eject the modem (which works), I get: pcic0: Event mask 0xc pcic0: debounced state is 0x30000186 And it ejects! However, no joy on re-insertion. It appears there's some sort of race that got won this time at bootup, and once it's up, it lost the race. :( Rebooting the box again caused the normal 'boot' hang described above. However, this time I had to do a cold reboot, since the box was hung. But, if I do a warm reboot (inserting the card *after* FreeBSD has rebooted, but before is tarts booting again), it'll get a bit further and either go all the way or die with the pcic0: Event mask 0xf. (I'm not sure what's the trigger for getting further) Nate To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message