Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Aug 2001 14:23:25 -0400
From:      Brian Dean <bsd@bsdhome.com>
To:        freebsd-stable@freebsd.org
Subject:   PRERELEASE kernel hang at boot
Message-ID:  <20010806142325.B74804@neutrino.bsdhome.com>

next in thread | raw e-mail | index | archive | help
Hi,

I've built and installed a PRERELEASE sup'd system that's up to date
as of a few hours ago.  The kernel hangs during boot - the last
message displayed before the hang is:

	isa_probe_children: probing PnP devices

(See attached boot -v output.)

The keyboard and serial console are still responsive, however.  Just
guessing, it appears to be waiting for an interrupt that never comes.

I honestly don't know if it is relevant or not, but if I remove
"device pcm" from the kernel config, the system doesn't hang and
appears to boot and function normally.  However, that could be a red
herring and the real problem may lie elsewhere.

At any rate, I can reproduce this at will and I have a serial console
attached.  Please let me know if there's some set of commands that I
can give that will provide that critical piece of information to help
solve this.

The machine is a Dell GX-115 with an Adaptec 29169 SCSI controller as
well as the on-board IDE.

Thanks,
-Brian
-- 
Brian Dean
bsd@FreeBSD.org
bsd@bsdhome.com


======================================================================
Console: serial port
BIOS drive A: is disk0
BIOS drive C: is disk1
BIOS drive D: is disk2
BIOS 640kB/259100kB available memory

FreeBSD/i386 bootstrap loader, Revision 0.8
(root@tribble.unx.sas.com, Sat Aug  4 19:21:06 EDT 2001)
Loading /boot/defaults/loader.conf 
/kernel text=0x1d8a5b data=0x4062c+0x1dec8 syms=[0x4+0x2f1d0+0x4+0x34b1c]
-
Hit [Enter] to boot immediately, or any other key for command prompt.


Type '?' for a list of commands, 'help' for more detailed help.
ok 
ok boot -v
SMAP type=01 base=00000000 00000000 len=00000000 000a0000
SMAP type=02 base=00000000 000f0000 len=00000000 00010000
SMAP type=01 base=00000000 00100000 len=00000000 0fd07000
SMAP type=02 base=00000000 0fe26000 len=00000000 0005a000
SMAP type=02 base=00000000 0fe80000 len=00000000 00100000
SMAP type=02 base=00000000 0ff80000 len=00000000 00080000
SMAP type=02 base=00000000 ffb00000 len=00000000 00500000
SMAP type=03 base=00000000 0fe07000 len=00000000 0001f000
Copyright (c) 1992-2001 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.4-PRERELEASE #6: Mon Aug  6 13:49:13 EDT 2001
    root@tribble.unx.sas.com:/usr/src/sys/compile/TEST
Calibrating clock(s) ... TSC clock: 863827064 Hz, i8254 clock: 1193131 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
Timecounter "i8254"  frequency 1193182 Hz
CLK_USE_TSC_CALIBRATION not specified - using old calibration method
Timecounter "TSC"  frequency 863866859 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (863.87-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 266366976 (260124K bytes)
Physical memory chunk(s):
0x00001000 - 0x0009ffff, 651264 bytes (159 pages)
0x003c3000 - 0x0fdfefff, 262389760 bytes (64060 pages)
avail memory = 255545344 (249556K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00ffe80
bios32: Entry = 0xffe90 (c00ffe90)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xc08e
pnpbios: Found PnP BIOS data at 0xc00fe2d0
pnpbios: Entry = f0000:e2f4  Rev = 1.0
Other BIOS signatures found:
ACPI: 000fd730
Preloaded elf kernel "kernel" at 0xc039d000.
Pentium Pro MTRR support enabled
Math emulator present
pci_open(1):    mode 1 addr port (0x0cf8) is 0x80000050
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheck:   device 0 [class=060000] [hdr=00] is there (id=11308086)
npx0: <math processor> on motherboard
npx0: INT 1interface
pci_open(1):    mode 1 addr port (0x0cf8) is 0x00000000
pci_open(1a):   mode1res=0x80000000 (0x80000000)
pci_cfgcheckss=060000] [hdr=00] is there (id=11308086)
pcib0: <Host to PCI bridge> on motherboard
found-> vendor=0x8086, dev=0x1130, res=06-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
found-> vendor=0x8086, dev=0x1132, revid=0x02
        class=03e=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=9
        map[10]: type 1, range 32, base f8000000, size 26
        marange 32, base ff000000, size 19
found-> vendor=0x8086, dev=0x244e, revid=0x02
        class=06-04-00, hdrtype=0x01, mfdev=0
        ssecondarybus=1
found-> vendor=0x8086, dev=0x2440, revid=0x02
        class=06-01-00, hdrtype=0x00, mfdev=1
        subordinatebus=0        seund-> vendor=0x8086, dev=0x244b, revid=0x02
        class=01-01-80, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        mapnge 32, base 0000ffa0, size  4
found-> vendor=0x8086, dev=0x2442, revid=0x02
        class=0c-03-00, hdrtype=0x00, mfdev=0
        sucondarybus=0
        intpin=d, irq=11
        map[20]: type 1, range 32, base 0000ff80, size  5
found-> vendor=0x8086, dev=0x2443, revc-05-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=b, irq=10
        map[20]: type 1, range 32, base 0000dund->      vendor=0x8086, dev=0x2444, revid=0x02
        class=0c-03-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpmap[20]: type 1, range 32, base 0000ff60, size  5
found-> vendor=0x8086, dev=0x2445, revid=0x02
        class=04-01-00, hdrtype=0xubordinatebus=0       secondarybus=0
        intpin=b, irq=10
        map[10]: type 1, range 32, base 0000d800, size  8
        map[14]: type 1, rang0dc40, size  6
pci0: <PCI bus> on pcib0
agp0: <Intel 82815 (i815 GMCH) SVGA controller> mem 0xff000000-0xff07ffff,0xf800000q 9 at device 2.0 on pci0
agp0: allocating GATT for aperture of size 64M
pcib1: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> 30.0 on pci0
found-> vendor=0x9005, dev=0x0080, revid=0x02
        class=01-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secontpin=a, irq=10
        map[10]: type 1, range 32, base 0000ec00, size  8
        map[14]: type 1, range 64, base fdfff000, size 12
found7, dev=0x9200, revid=0x78
        class=02-00-00, hdrtype=0x00, mfdev=0
        subordinatebus=0        secondarybus=0
        intpin=a, irq=11
        mapange 32, base 0000e880, size  7
        map[14]: type 1, range 32, base fdffec00, size  7
pci1: <PCI bus> on pcib1
ahc0: <Adap0 SCSI adapter> port 0xec00-0xecff mem 0xfdfff000-0xfdffffff irq 10 at device 8.0 on pci1
ahc0: Reading SEEPROM...done.
ah BIOS eeprom is present
ahc0: Secondary Low byte termination Enabled
ahc0: Primary Low Byte termination Enabled
ahc0: Priermination Enabled
ahc0: Downloading Sequencer Program... 419 instructions downloaded
aic7892: Ultra160 Wide Channel A, SC255 SCBs
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xe880-0xe8ff mem 0xfdffec00-0xfdffec7f irq 11 at device 12.0 on pci1
xl0: Ethernet address: 00:b0:d0:c8:c9:ad
xl0: media options word: a
xl0: found MII/AUTO
miibus0: <MII bus> on xl0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: OUI 0x00105a, model 0x0000, rev. 0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bpf: xl0 attached
isab0: <Intel 82801BA/BAM (ICH2) PCI to LPC bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH2 ATA100 controller> port 0xffa0-0xffaf at device 31.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xffa0
ata0: mask=03 status0=50 status1=00
ata0: mask=03 ostat0=50 ostat2=00
ata0-master: ATAPI probe a=00 b=00
ata0-slave: ATAPI probe a=00 b=00
ata0: mask=03 status0=50 status1=00
ata0-master: ATA probe a=01 b=a5
ata0: devices=01
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xffa8
ata1: mask=03 status0=00 status1=00
ata1: mask=03 ostat0=00 ostat2=00
ata1-master: ATAPI probe a=14 b=eb
ata1-slave: ATAPI probe a=7f b=7f
ata1: mask=03 status0=00 status1=00
ata1: devices=04
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xff80-0xff9f irq 11 at device 31.2 on pci0
        using shared irq11.
usb0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <unknown card> (vendor=0x8086, dev=0x2443) at 31.3 irq 10
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xff60-0xff7f irq 11 at device 31.4 on pci0
usb1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pcm0: <Intel 82801BA (ICH2)> port 0xdc40-0xdc7f,0xd800-0xd8ff irq 10 at device 31.5 on pci0
pcm0: ac97 codec id 0x41445360 (Analog Devices AD1885)
pcm0: ac97 codec features headphone, 6 bit master volume, Analog Devices Phat Stereo
pcm0: ac97 primary codec extended features variable rate PCM
        using shared irq10.
pcm: setmap 47000, 4000; 0xcffd3000 -> 47000
pcm: setmap 4b000, 4000; 0xcffd7000 -> 4b000
pcm: setmap 4f000, 4000; 0xcffdb000 -> 4f000
ata-: ata0 exists, using next available unit number
ata-: ata1 exists, using next available unit number
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <Option ROMs> at iomem 0xc0000-0xc9fff,0xca000-0xd07ff,0xd0800-0xd3fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ata2 failed to probe at port 0x1f0 irq 14 on isa0
ata3 failed to probe at port 0x170 irq 15 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
atkbd: the current kbd controller command byte 0065
atkbd: keyboard ID 0x41ab (2)
kbdc: RESET_KBD return code:00fa
kbdc: RESET_KBD status:00aa
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x1d0000
psm0: current command byte:0065
kbdc: TEST_AUX_PORT status:0000
kbdc: RESET_AUX return code:00fa
kbdc: RESET_AUX status:00aa
kbdc: RESET_AUX ID:0000
psm: status 00 02 64
psm: status 00 03 3c
psm: status 00 03 64
psm: status 00 03 64
psm: data 08 00 00
psm: status 10 00 64
psm: status 00 02 64
psm: data 08 00 00
psm: status 00 02 64
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0-00, 3 buttons
psm0: config:00000000, flags:00000000, packet size:3
psm0: syncmask:c0, syncbits:00
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
fb0: vga0, vga, type:VGA (5), flags:0x7007f
fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000
fb0: init mode:24, bios mode:3, current mode:24
fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k
VGA parameters upon power-up
50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 03 20 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d  0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
VGA parameters in BIOS for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 1A/VGA parameters to be used for mode 24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e
                                   b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff 
sc0: <System console> at  isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
sio0: irq maps: 0x441 0x451 0x441 0x441
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1: irq maps: 0x441 0x459 0x451 0x451
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: parallel port found at 0x378
ppc0: using extended I/O port range
ppc0: ECP SPP ECP+EPP SPP
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
isa_probe_children: probing PnP devices

telnet> send brk
Stopped at      siointr1+0xb1:  jmp     siointr1+0x1a0
db> trace
siointr1(c11af000,c03bef50,c027be26,c11af000,c11d0010) at siointr1+0xb1
siointr(c11af000,c11d0010,dc46,c11b8000,1) at siointr+0xb
Xfastintr4(c11b8000,6,2,c0a2a560,400400) at Xfastintr4+0x16
ich_intr(c11b8000,63149a,c0319cc4,c02f12f0,c03befe4) at ich_intr+0x2d
intr_mux(c0a2a7c0,0,10,10,10) at intr_mux+0x1d
Xresume10() at Xresume10+0x2b
--- interrupt, eip = 0xc027cf32, esp = 0xc03befd4, ebp = 0xc03befe4 ---
vec1(0,3bcc00,3c3000,0,c0121dc9) at vec1+0x2
mi_startup(0,0,0,0,0) at mi_startup+0x68
begin() at begin+0x30
db> ps
  pid   proc     addr    uid  ppid  pgrp  flag stat wmesg   wchan   cmd
    1 cbf11e00 cbf16000    0     0     0 000204  2                  swapper
    0 c03346a0 c03bd000    0     0     0 000204  2                  swapper
db> 
  pid   proc     addr    uid  ppid  pgrp  flag stat wmesg   wchan   cmd
    1 cbf11e00 cbf16000    0     0     0 000204  2                  swapper
    0 c03346a0 c03bd000    0     0     0 000204  2                  swapper
db> 
show reg
cs                 0x8
ds                0x10
es                0x10
fs                0x10
ss                0x10
eax                  0
ecx         0xc11b8000
edx              0x379
ebx                0x6
esp         0xc03beefc
ebp         0xc03bef18
esi         0xc11af000
edi         0xc11b8000
eip         0xc0299cf9  siointr1+0xb1
efl            0x80046
dr0                  0
dr1                  0
dr2                  0
dr3                  0
dr4         0xffff0ff0
dr5              0x400
dr6         0xffff0ff0
dr7              0x400
siointr1+0xb1:  jmp     siointr1+0x1a0
db> 

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?20010806142325.B74804>