4.10-RELEASE install hanging

Peter Jeremy peter.jeremy at alcatel.com.au
Wed Jun 16 04:13:57 GMT 2004


I've just installed 4.10-RELEASE onto a Compaq DeskPro/EP and had
sysinstall hang in the "probing devices" step.  I traced this down to
a Kouwell 223NP-4 PCI I/O card (4 serial, 1 parallel port using a
NetMos Nm9845CV chip) - when I unplugged the card, the install works
perfectly.  The system boots OK with the card in (though it only
detects 1 serial port and no parallel port).  Once I build my own
kernel (including puc(4)), all 4 serial ports are probed correctly.

Any ideas why it hangs?

Following is a verbose dmesg using the GENERIC kernel.

Copyright (c) 1992-2004 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.10-RELEASE #0: Tue May 25 22:47:12 GMT 2004
    root at perseus.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Calibrating clock(s) ... TSC clock: 333042362 Hz, i8254 clock: 1193142 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: Pentium II/Pentium II Xeon/Celeron (333.06-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x652  Stepping = 2
  Features=0x183f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR>
real memory  = 67108864 (65536K bytes)
Physical memory chunk(s):
0x000001000 - 0x00009efff, 647168 bytes (158 pages)
0x000578000 - 0x003ff7fff, 61341696 bytes (14976 pages)
avail memory = 59887616 (58484K bytes)
bios32: Found BIOS32 Service Directory header at 0xc00fa000
bios32: Entry = 0xec700 (c00ec700)  Rev = 0  Len = 1
pcibios: PCI BIOS entry at 0xfbd
pnpbios: Found PnP BIOS data at 0xc00f78e0
pnpbios: Entry = f0000:5d52  Rev = 1.0
pnpbios: OEM ID c9b0110e
Other BIOS signatures found:
ACPI: 000e0010
Preloaded elf kernel "kernel" at 0xc0551000.
Pentium Pro MTRR support enabled
Creating DISK md0
md0: Malloc disk
Math emulator present
pci_open(1):	mode 1 addr port (0x0cf8) is 0x80010058
pci_open(1a):	mode1res=0x80000000 (0x80000000)
pci_cfgcheck:	device 0 [class=060000] [hdr=00] is there (id=71808086)
Using $PIR table, 5 entries at 0xc00edb20
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443LX (440 LX) host to PCI bridge> on motherboard
found->	vendor=0x8086, dev=0x7180, revid=0x03
	class=06-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[10]: type 1, range 32, base 44000000, size 26
found->	vendor=0x8086, dev=0x7181, revid=0x03
	class=06-04-00, hdrtype=0x01, mfdev=0
	subordinatebus=1 	secondarybus=1
found->	vendor=0x0e11, dev=0xae32, revid=0x10
	class=02-80-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=11
	map[10]: type 1, range 32, base 00001020, size  4
	map[14]: type 1, range 32, base 40900000, size  4
found->	vendor=0x1011, dev=0x0009, revid=0x22
	class=02-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=11
	map[10]: type 1, range 32, base 00001080, size  7
	map[14]: type 1, range 32, base 42000000, size  7
found->	vendor=0x9710, dev=0x9845, revid=0x01
	class=07-00-02, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=11
	map[10]: type 1, range 32, base 00001050, size  3
	map[14]: type 3, range 32, base 00001058, size  3
	map[18]: type 1, range 32, base 00001060, size  3
	map[1c]: type 3, range 32, base 00001068, size  3
	map[20]: type 1, range 32, base 00001070, size  3
	map[24]: type 1, range 32, base 00001040, size  4
found->	vendor=0x8086, dev=0x7110, revid=0x02
	class=06-01-00, hdrtype=0x00, mfdev=1
	subordinatebus=0 	secondarybus=0
found->	vendor=0x8086, dev=0x7111, revid=0x01
	class=01-01-80, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[20]: type 1, range 32, base 00001030, size  4
found->	vendor=0x8086, dev=0x7112, revid=0x01
	class=0c-03-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=d, irq=11
	map[20]: type 1, range 32, base 00001000, size  5
found->	vendor=0x8086, dev=0x7113, revid=0x02
	class=06-80-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	map[90]: type 1, range 32, base 0000fc00, size  4
pci0: <PCI bus> on pcib0
agp0: <Intel 82443LX (440 LX) host to PCI bridge> mem 0x44000000-0x47ffffff at device 0.0 on pci0
agp0: allocating GATT for aperture of size 64M
pcib1: <Intel 82443LX (440 LX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
found->	vendor=0x102b, dev=0x0521, revid=0x03
	class=03-00-00, hdrtype=0x00, mfdev=0
	subordinatebus=0 	secondarybus=0
	intpin=a, irq=11
	map[10]: type 1, range 32, base 41000000, size 24
	map[14]: type 1, range 32, base 40800000, size 14
	map[18]: type 1, range 32, base 40000000, size 23
pci1: <PCI bus> on pcib1
pci1: <Matrox MGA G200 AGP graphics accelerator> (vendor=0x102b, dev=0x0521) at 0.0 irq 11
tl0: <Compaq Netelligent 10/100> port 0x1020-0x102f mem 0x40900000-0x4090000f irq 11 at device 13.0 on pci0
tl0: Ethernet address: 00:08:c7:0d:4e:a2
miibus0: <MII bus> on tl0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
tlphy0: <ThunderLAN 10baseT media interface> on miibus0
tlphy0:  10base2/BNC, 10base5/AUI
bpf: tl0 attached
de0: <Digital 21140A Fast Ethernet> port 0x1080-0x10ff mem 0x42000000-0x4200007f irq 11 at device 14.0 on pci0
	using shared irq11.
de0: DEC DE500-AA 21140A [10-100Mb/s] pass 2.2
de0: address 00:00:f8:1b:4e:2d
bpf: de0 attached
sio0: irq maps: 0x1 0x805 0x1 0x1
sio0: <Netmos Nm9845 PCI Bridge with Dual UART> port 0x1040-0x104f,0x1070-0x1077,0x1068-0x106f,0x1060-0x1067,0x1058-0x105f,0x1050-0x1057 irq 11 at device 15.0 on pci0
sio0: moving to sio4
sio4: type 16550A
isab0: <Intel 82371AB PCI to ISA bridge> at device 20.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x1030-0x103f at device 20.1 on pci0
ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x1030
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=0x1038
ata1: mask=03 ostat0=50 ostat2=01
ata1-master: ATAPI 14 eb
ata1-slave: ATAPI 00 00
ata1: mask=03 stat0=00 stat1=00
ata1-slave: ATA 04 a5
ata1: devices=06
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x1000-0x101f irq 11 at device 20.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> 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
chip0: <Intel 82371AB Power management controller> port 0xfc00-0xfc0f at device 20.3 on pci0
ex_isa_identify()
ata-: ata0 exists, using next available unit number
ata-: ata1 exists, using next available unit number
Trying Read_Port at 203
ESS0006: adding io range 0x800-0xfff, size=0x8, align=0x8
ESS1869: start dependant
ESS1869: adding dma mask 0x2
ESS1869: adding dma mask 0x9
ESS1869: adding irq mask 0x20
ESS1869: adding io range 0x220-0x22f, size=0x10, align=0
ESS1869: adding io range 0x388-0x38b, size=0x4, align=0
ESS1869: adding io range 0x330-0x331, size=0x2, align=0
ESS1869: start dependant
ESS1869: adding dma mask 0x2
ESS1869: adding dma mask 0x9
ESS1869: adding irq mask 0x1ea0
ESS1869: adding io range 0x220-0x28f, size=0x10, align=0x20
ESS1869: adding io range 0x388-0x38b, size=0x4, align=0
ESS1869: adding io range 0x300-0x331, size=0x2, align=0x30
ESS1869: start dependant
ESS1869: adding dma mask 0xb
ESS1869: adding dma mask 0xb
ESS1869: adding irq mask 0x1ea0
ESS1869: adding io range 0x220-0x28f, size=0x10, align=0x20
ESS1869: adding io range 0x388-0x38b, size=0x4, align=0
ESS1869: adding io range 0x300-0x331, size=0x2, align=0x30
ESS1869: start dependant
ESS1869: adding dma mask 0xb
ESS1869: adding dma mask 0xb
ESS1869: adding irq mask 0x1ea0
ESS1869: adding io range 0x220-0x28f, size=0x10, align=0x20
ESS1869: adding io range 0x388-0x38b, size=0x4, align=0
ESS1869: start dependant
ESS1869: adding dma mask 0xb
ESS1869: adding dma mask 0xb
ESS1869: adding irq mask 0x1ea0
ESS1869: adding io range 0x220-0x28f, size=0x10, align=0x20
ESS1869: end dependant
isa_probe_children: disabling PnP devices
isa_probe_children: probing non-PnP devices
orm0: <Option ROMs> at iomem 0xc0000-0xc7fff,0xe0000-0xe7fff 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
ata2 failed to probe at port 0x1f0 irq 14 on isa0
ata3 failed to probe at port 0x170 irq 15 on isa0
adv0 failed to probe on isa0
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x330
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x334
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x230
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x234
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x130
bt0: Failed Status Reg Test - ff
bt_isa_probe: Probe failed at 0x134
bt0 failed to probe at port 0x134-0x137 on isa0
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0: status reg test failed ff
aha0 failed to probe at port 0x134-0x137 on isa0
aic0 failed to probe at port 0x140-0x15f 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 0047
atkbd: keyboard ID 0x41ab (2)
kbd0 at atkbd0
kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
psm0: current command byte:0047
psm0: failed to reset the aux device.
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 05 50 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 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 81 
bf 1f 00 4f 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 10 0e 00 ff 
EGA/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 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 10 0e 00 ff 
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sc0: fb0, kbd0, terminal emulator: sc (syscons terminal)
pcic0 failed to probe at port 0x3e0 iomem 0xd0000 on isa0
pcic1: not probed (disabled)
sio0: irq maps: 0x61 0x71 0x61 0x61
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1: irq maps: 0x61 0x69 0x61 0x61
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
sio2: not probed (disabled)
sio3: not probed (disabled)
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
plip0: <PLIP network interface> on ppbus0
bpf: lp0 attached
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ed0: not probed (disabled)
fe0: not probed (disabled)
ie0: not probed (disabled)
lnc0: not probed (disabled)
cs0: not probed (disabled)
sn0: not probed (disabled)
isa_probe_children: probing PnP devices
adv1: Invalid baseport of 0x800 specified. Nearest valid baseport is 0x330.  Failing probe.
unknown: <ESS ES1869 Plug and Play AudioDrive> failed to probe at port 0x800-0x80f on isa0
adv1: Invalid baseport of 0x220 specified. Nearest valid baseport is 0x230.  Failing probe.
unknown: <ESS ES1869 Plug and Play AudioDrive> failed to probe at port 0x220-0x22f,0x388-0x38b,0x330-0x331 irq 5 drq 1,0 on isa0
BIOS Geometries:
 0:03107f3f 0..784=785 cylinders, 0..127=128 heads, 1..63=63 sectors
 0 accounted for
Device configuration finished.
bpf: lo0 attached
bpf: ppp0 attached
new masks: bio 68c840, tty 63009a, net 67089a
bpf: sl0 attached
bpf: faith0 attached
ata1-slave: ATA identify retries exceeded
ad0: success setting UDMA2 on Intel chip
Creating DISK ad0
ar: FreeBSD check1 failed
ad0: <Maxtor 90320E2/PAS24F15> ATA-4 disk at ata0-master
ad0: 3098MB (6346368 sectors), 6296 C, 16 H, 63 S, 512 B
ad0: 16 secs/int, 1 depth queue, UDMA33
ad0: piomode=4 dmamode=2 udmamode=2 cblid=0
ata1-master: piomode=4 dmamode=2 udmamode=-1 dmaflag=1
ata1-master: success setting PIO4 on generic chip
acd0: <Compaq CRD-8322B/1.03> CDROM drive at ata1 as master
acd0: read 5500KB/s (21KB/s), 128KB buffer, PIO4
acd0: Reads: CD-R, CD-RW, CD-DA stream, packet
acd0: Writes:
acd0: Audio: play, 255 volume levels
acd0: Mechanism: ejectable tray, unlocked, lock protected
acd0: Medium: no/blank disc
Mounting root from ufs:/dev/ad0s1a
ad0s1: type 0xa5, start 63, end = 6346367, size 6346305 : OK
start_init: trying /sbin/init

-- 
Peter Jeremy


More information about the freebsd-stable mailing list