kern/57220: kernel hang on 4.9-PRERELEASE
Dave Glowacki
dglo at glowacki.dyndns.org
Thu Sep 25 13:20:19 PDT 2003
>Number: 57220
>Category: kern
>Synopsis: kernel hang on 4.9-PRERELEASE
>Confidential: no
>Severity: critical
>Priority: high
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Sep 25 13:20:16 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator: Dave Glowacki
>Release: FreeBSD 4.9-PRERELEASE i386
>Organization:
>Environment:
System: FreeBSD glowacki.dyndns.org 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #12: Sat Sep 20 08:15:44 CDT 2003 dglo at glowacki.dyndns.org:/usr/obj/usr/src/sys/EUSEBIUS i386
>Description:
When booting a 4.9-PRERELEASE kernel, my machine hangs at the point
noted below:
Copyright (c) 1992-2003 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.9-PRERELEASE #10: Sat Sep 20 07:35:45 CDT 2003
dglo at glowacki.dyndns.org:/usr/obj/usr/src/sys/EUSEBIUS
Calibrating clock(s) ... TSC clock: 996588337 Hz, i8254 clock: 1193076 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
CPU: Intel Pentium III (996.68-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 = 268173312 (261888K bytes)
Physical memory chunk(s):
0x000001000 - 0x00009efff, 647168 bytes (158 pages)
0x000640000 - 0x00ffb7fff, 261586944 bytes (63864 pages)
avail memory = 254640128 (248672K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00fda60
bios32: Entry = 0xfda74 (c00fda74) Rev = 0 Len = 1
pcibios: PCI BIOS entry at 0xda95
pnpbios: Found PnP BIOS data at 0xc00f2790
pnpbios: Entry = f0000:204a Rev = 1.0
Other BIOS signatures found:
ACPI: 000ff980
Preloaded elf kernel "kernel.old" at 0xc0619000.
Preloaded elf module "linux.ko" at 0xc06190ac.
Preloaded elf module "nvidia.ko" at 0xc061914c.
VESA: information block
56 45 53 41 00 03 00 01 00 01 01 00 00 00 22 00
00 01 00 02 11 03 07 01 00 01 1a 01 00 01 2f 01
00 01 00 01 01 01 02 01 03 01 04 01 05 01 06 01
07 01 08 01 09 01 0a 01 0b 01 0c 01 0e 01 0f 01
VESA: 33 mode(s) found
VESA: v3.0, 32768k memory, flags:0x1, mode table:0xc0392f02 (1000022)
VESA: NVidia
VESA: NVidia Corporation NV10 Reference Board Chip Rev A1
Pentium Pro MTRR support enabled
Creating DISK md0
md0: Malloc disk
pci_open(1): mode 1 addr port (0x0cf8) is 0x8000fac0
pci_open(1a): mode1res=0x80000000 (0x80000000)
pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=11308086)
Using $PIR table, 12 entries at 0xc00f2d20
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
found-> vendor=0x8086, dev=0x1130, revid=0x02
class=06-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
map[10]: type 1, range 32, base f8000000, size 26
found-> vendor=0x8086, dev=0x1131, revid=0x02
class=06-04-00, hdrtype=0x01, mfdev=0
subordinatebus=1 secondarybus=1
found-> vendor=0x8086, dev=0x244e, revid=0x02
class=06-04-00, hdrtype=0x01, mfdev=0
subordinatebus=2 secondarybus=2
found-> vendor=0x8086, dev=0x2440, revid=0x02
class=06-01-00, hdrtype=0x00, mfdev=1
subordinatebus=0 secondarybus=0
found-> vendor=0x8086, dev=0x244b, revid=0x02
class=01-01-80, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
map[20]: type 1, range 32, base 0000ffa0, size 4
found-> vendor=0x8086, dev=0x2442, revid=0x02
class=0c-03-00, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
intpin=d, irq=11
map[20]: type 1, range 32, base 0000ef40, size 5
found-> vendor=0x8086, dev=0x2443, revid=0x02
class=0c-05-00, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
intpin=b, irq=3
map[20]: type 1, range 32, base 0000efa0, size 4
found-> vendor=0x8086, dev=0x2444, revid=0x02
class=0c-03-00, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
intpin=c, irq=10
map[20]: type 1, range 32, base 0000ef80, size 5
pci0: <PCI bus> on pcib0
agp0: <Intel 82815 (i815 GMCH) host to PCI bridge> mem 0xf8000000-0xfbffffff at device 0.0 on pci0
agp0: allocating GATT for aperture of size 36M
pcib1: <Intel 82801BA/BAM (ICH2) PCI-PCI (AGP) bridge> at device 1.0 on pci0
found-> vendor=0x10de, dev=0x0110, revid=0xa1
class=03-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
intpin=a, irq=11
map[10]: type 1, range 32, base fd000000, size 24
map[14]: type 1, range 32, base e8000000, size 27
pci1: <PCI bus> on pcib1
nvidia0: <GeForce2 MX/MX 400> mem 0xe8000000-0xefffffff,0xfd000000-0xfdffffff irq 11 at device 0.0 on pci1
pcib2: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0
found-> vendor=0x9004, dev=0x7178, revid=0x03
class=01-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
intpin=a, irq=9
map[10]: type 1, range 32, base 0000d800, size 8
map[14]: type 1, range 32, base feaff000, size 12
found-> vendor=0x1102, dev=0x0002, revid=0x07
class=04-01-00, hdrtype=0x00, mfdev=1
subordinatebus=0 secondarybus=0
intpin=a, irq=11
map[10]: type 1, range 32, base 0000df80, size 5
found-> vendor=0x1102, dev=0x7002, revid=0x07
class=09-80-00, hdrtype=0x00, mfdev=1
subordinatebus=0 secondarybus=0
map[10]: type 1, range 32, base 0000dff0, size 3
found-> vendor=0x1317, dev=0x0985, revid=0x11
class=02-00-00, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
intpin=a, irq=10
map[10]: type 1, range 32, base 0000d400, size 8
map[14]: type 1, range 32, base feafec00, size 10
found-> vendor=0x109e, dev=0x036e, revid=0x11
class=04-00-00, hdrtype=0x00, mfdev=1
subordinatebus=0 secondarybus=0
intpin=a, irq=3
map[10]: type 1, range 32, base f47fe000, size 12
found-> vendor=0x109e, dev=0x0878, revid=0x11
class=04-80-00, hdrtype=0x00, mfdev=1
subordinatebus=0 secondarybus=0
intpin=a, irq=3
map[10]: type 1, range 32, base f47ff000, size 12
found-> vendor=0x14e4, dev=0x4211, revid=0x00
class=02-00-00, hdrtype=0x00, mfdev=1
subordinatebus=0 secondarybus=0
intpin=a, irq=9
map[10]: type 1, range 32, base feafc000, size 12
found-> vendor=0x14e4, dev=0x4212, revid=0x00
class=04-02-00, hdrtype=0x00, mfdev=0
subordinatebus=0 secondarybus=0
intpin=a, irq=9
map[10]: type 1, range 32, base feafd000, size 12
map[14]: type 1, range 32, base 0000dfa0, size 4
pci2: <PCI bus> on pcib2
ahc0: <Adaptec 2940 SCSI adapter> port 0xd800-0xd8ff mem 0xfeaff000-0xfeafffff irq 9 at device 9.0 on pci2
ahc0: Defaulting to MEMIO off
ahc0: Reading SEEPROM...done.
ahc0: Low byte termination Enabled
ahc0: Downloading Sequencer Program... 438 instructions downloaded
ahc0: Features 0x0, Bugs 0x25, Flags 0x20481540
aic7870: Single Channel A, SCSI Id=7, 16/253 SCBs
pcm0: <Creative EMU10K1> port 0xdf80-0xdf9f irq 11 at device 10.0 on pci2
emu: setmap (f827000, 800), nseg=1, error=0
emu: setmap (f828000, 1000), nseg=1, error=0
pcm0: <Cirrus Logic CS4297A AC97 Codec (id = 0x43525914)>
pcm0: Codec features headphone, 20 bit DAC, 18 bit ADC, 6 bit master volume, Crystal Semi 3D Stereo Enhancement
pcm0: Primary codec extended features AMAP
using shared irq11.
emu: setmap (f82f000, 1000), nseg=1, error=0
emu: setmap (f831000, 1000), nseg=1, error=0
emu: setmap (f814000, 1000), nseg=1, error=0
emu: setmap (f836000, 1000), nseg=1, error=0
pcm0: sndbuf_setmap f839000, 1000; 0xc2685000 -> f839000
pcm0: sndbuf_setmap f83c000, 1000; 0xc2688000 -> f83c000
dc0: <ADMtek AN985 10/100BaseTX> port 0xd400-0xd4ff mem 0xfeafec00-0xfeafefff irq 10 at device 11.0 on pci2
dc0: Ethernet address: 00:04:5a:49:e3:13
miibus0: <MII bus> on dc0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0: OUI 0x000895, model 0x0001, rev. 0
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
bpf: dc0 attached
bktr0: <BrookTree 878> mem 0xf47fe000-0xf47fefff irq 3 at device 12.0 on pci2
iicbb0: <I2C bit-banging driver> on bti2c0
iicbus0: <Philips I2C bus> on iicbb0 master-only
iicbus: iic devclass not found
iicbus1: <Philips I2C bus> on iicbb0 master-only
iicbus: iic devclass not found
smbus0: <System Management Bus> on bti2c0
smbus: smb devclass not found
brooktree0: PCI bus latency is 64.
bktr0: buffer size 3555328, addr 0x5000000
bktr0: GPIO is 0x00ffffdb
bktr0: subsystem 0x0070 0x13eb
bktr0: Hauppauge Model 44811 C123
bktr0: Hauppauge WinCast/TV, Philips FR1236 NTSC FM tuner.
pci2: <unknown card> (vendor=0x109e, dev=0x0878) at 12.1 irq 3
pci2: <unknown card> (vendor=0x14e4, dev=0x4211) at 13.0 irq 9
pci2: <unknown card> (vendor=0x14e4, dev=0x4212) at 13.1 irq 9
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 ostat0=50 ostat2=00
ata0-master: ATAPI 00 00
ata0-slave: ATAPI 00 00
ata0: mask=03 stat0=50 stat1=00
ata0-master: ATA 01 a5
ata0: devices=01
ata0: at 0x1f0 irq 14 on atapci0
ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xffa8
ata1: mask=03 ostat0=00 ostat2=7f
ata1-master: ATAPI 14 eb
ata1-slave: ATAPI 7f 7f
ata1: mask=03 stat0=00 stat1=7f
ata1-slave: ATA 7f 7f
ata1: devices=04
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82801BA/BAM (ICH2) USB controller USB-A> port 0xef40-0xef5f irq 11 at device 31.2 on pci0
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
---H-A-N-G------H-A-N-G------H-A-N-G------H-A-N-G------H-A-N-G------H-A-N-G---
The system hangs at this point with the changes. If I remove them,
the system finishes booting with the following messages:
------------------------------------------------------------------------------
uhid0: American Power Conversion Back-UPS 350 FW: 5.5.D USB FW: c1 , rev 1.10/1.00, addr 2, iclass 3/0
pci0: <unknown card> (vendor=0x8086, dev=0x2443) at 31.3 irq 3
uhci1: <Intel 82801BA/BAM (ICH2) USB controller USB-B> port 0xef80-0xef9f irq 10 at device 31.4 on pci0
using shared irq10.
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
orm0: <Option ROMs> at iomem 0xc0000-0xc9fff,0xca000-0xca7ff on isa0
pmtimer0 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
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: configured irq 3 not in bitmap of probed irqs 0
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
ad0: 57259MB <QUANTUM FIREBALLP AS60.0> [116336/16/63] at ata0-master UDMA100
acd0: CD-RW <LG CD-RW CED-8080B> at ata1-master PIO4
Waiting 15 seconds for SCSI devices to settle
>How-To-Repeat:
>Fix:
I did the usual binary-search and found that removing these file
revisions unhosed my kernel:
cam/scsi/scsi_cd.c 1.31.2.15
cam/scsi/scsi_da.c 1.42.2.45
kern/subr_taskqueue.c 1.1.2.3
sys/taskqueue.h 1.3.2.2
These were all checked in as part of the same revision, whose log message
starts:
date: 2003/09/10 00:40:38; author: ken
MFC: Move dynamic sysctl(8) variable creation for the cd(4) and da(4)
drivers out of cdregister() and daregister(), which are run from interrupt
context.
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list