Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Aug 2001 11:03:43 -0600
From:      Nate Williams <nate@yogotech.com>
To:        Warner Losh <imp@harmony.village.org>
Cc:        stable@FreeBSD.ORG, mobile@FreeBSD.ORG
Subject:   Re: If your -stable system hangs on boot ...
Message-ID:  <15229.20079.948665.225767@nomad.yogotech.com>
In-Reply-To: <200108170617.f7H6HAW38749@harmony.village.org>
References:  <3B7C9F54.1000401@ucsd.edu> <200108150433.f7F4X1W20487@harmony.village.org> <200108170617.f7H6HAW38749@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 	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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
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: <APM BIOS> on motherboard
apm: found APM BIOS v1.2, connected at v1.2
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <S3 model 8c12 graphics accelerator> at 0.0 irq 11
pcic0: <TI PCI-1450 PCI-CardBus Bridge> 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: <PC Card bus (classic)> on pcic0
pcic1: <TI PCI-1450 PCI-CardBus Bridge> 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: <PC Card bus (classic)> on pcic1

====> Right here, just before the fxp0 card is probed.

fxp0: <Intel Pro 10/100B/100+ Ethernet> 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




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