From nobody@FreeBSD.ORG Sun Nov 5 20:23:35 2000 Return-Path: Received: by hub.freebsd.org (Postfix, from userid 32767) id B37BD37B4CF; Sun, 5 Nov 2000 20:23:35 -0800 (PST) Message-Id: <20001106042335.B37BD37B4CF@hub.freebsd.org> Date: Sun, 5 Nov 2000 20:23:35 -0800 (PST) From: greg@fqdn.com Sender: nobody@FreeBSD.ORG To: freebsd-gnats-submit@FreeBSD.org Subject: when kernel boots smp scsi fails X-Send-Pr-Version: www-1.0 >Number: 22633 >Category: i386 >Synopsis: when kernel boots smp scsi fails >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Nov 05 20:30:01 PST 2000 >Closed-Date: Sat Nov 24 10:56:14 PST 2001 >Last-Modified: Sat Nov 24 10:56:36 PST 2001 >Originator: greg >Release: 4.1.1-RELEASE >Organization: alias wavefront >Environment: FreeBSD vortex.fqdn.com 4.1.1-RELEASE FreeBSD 4.1.1-RELEASE #0: Tue Sep 26 00:46:59 GMT 2000 jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC i386 keep in mind this is the output from the working non smp kernel. >Description: machine works fine with generic kernel. When I reboot after compiling a new kernel with SMP support the root device fails to mount. At the "Waiting 15 seconds for scsi devices to settle" a few seconds will pass then I get simular output to this: (noperiph:ahc0:0:-1-1)SCSI bus reset delivered SCBs aborted SMP APCPU#1 LAUNCHED SMP CPU1 apic initialized lint0:0x00010700 lint1:0x00010400 TPR 0x00000010 SRV0x000001ff (probe0:ahc0:0:0:0): timedout SCP handled by another timeout. and more of the same output till final the system reboots itself. the machine is a dual pentium pro 200 on a tyan tiger mb. SCSI card is a 2940UW2 160 dmesg output: Copyright (c) 1992-2000 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.1.1-RELEASE #0: Tue Sep 26 00:46:59 GMT 2000 jkh@narf.osd.bsdi.com:/usr/src/sys/compile/GENERIC Calibrating clock(s) ... TSC clock: 198941425 Hz, i8254 clock: 1193146 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 Pro (198.95-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x617 Stepping = 7 Features=0xfbff real memory = 201326592 (196608K bytes) Physical memory chunk(s): 0x00001000 - 0x0009ffff, 651264 bytes (159 pages) 0x0043c000 - 0x0bff7fff, 196853760 bytes (48060 pages) fb: new array size 4 avail memory = 191684608 (187192K bytes) bios32: Found BIOS32 Service Directory header at 0xc00fad00 bios32: Entry = 0xfb180 (c00fb180) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0xb1b0 pnpbios: Found PnP BIOS data at 0xc00fbec0 pnpbios: Entry = f0000:bee8 Rev = 1.0 Other BIOS signatures found: ACPI: 00000000 Preloaded elf kernel "kernel.orginal" at 0xc0423000. Preloaded elf module "ipfw.ko" at 0xc04230a4. Preloaded elf module "if_fxp.ko" at 0xc0423140. Pentium Pro MTRR support enabled md0: Malloc disk Creating DISK md0 Math emulator present pci_open(1): mode 1 addr port (0x0cf8) is 0x8000503c pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=12378086) npx0: on motherboard npx0: INT 16 interface pci_open(1): mode 1 addr port (0x0cf8) is 0x00000000 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=00] is there (id=12378086) pcib0: on motherboard found-> vendor=0x8086, dev=0x1237, revid=0x02 class=06-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 found-> vendor=0x8086, dev=0x7000, revid=0x01 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x8086, dev=0x7010, revid=0x00 class=01-01-80, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[20]: type 1, range 32, base 0000f000, size 4 found-> vendor=0x9005, dev=0x0010, revid=0x00 class=01-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=15 map[10]: type 1, range 32, base 00008000, size 8 map[14]: type 1, range 64, base e0924000, size 12 found-> vendor=0x102b, dev=0x0519, revid=0x01 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=10 map[10]: type 1, range 32, base e0920000, size 14 map[14]: type 1, range 32, base e0000000, size 23 found-> vendor=0x8086, dev=0x1229, revid=0x09 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base e0926000, size 12 map[14]: type 1, range 32, base 00008100, size 6 map[18]: type 1, range 32, base e0900000, size 17 found-> vendor=0x8086, dev=0x1229, revid=0x08 class=02-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=15 map[10]: type 1, range 32, base e0925000, size 12 map[14]: type 1, range 32, base 00008200, size 6 map[18]: type 1, range 32, base e0800000, size 20 pci0: on pcib0 Correcting Natoma config for non-SMP Correcting Natoma config for non-SMP isab0: at device 7.0 on pci0 I/O Recovery Timing: 8-bit 1 clocks, 16-bit 1 clocks Extended BIOS: enabled Lower BIOS: disabled Coprocessor IRQ13: enabled Mouse IRQ12: disabled Interrupt Routing: A: IRQ15, B: IRQ11, C: disabled, D: IRQ10 MB0: , MB1: isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0xf000 ata0: mask=00 status0=ff status1=ff ata0: probe allocation failed ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0xf008 ata1: mask=00 status0=ff status1=ff ata1: probe allocation failed ahc0: port 0x8000-0x80ff mem 0xe0924000-0xe0924fff i rq 15 at device 10.0 on pci0 ahc0: Reading SEEPROM...done. ahc0: BIOS eeprom is present ahc0: Secondary High byte termination Enabled ahc0: Secondary Low byte termination Enabled ahc0: Primary Low Byte termination Enabled ahc0: Primary High Byte termination Enabled ahc0: Downloading Sequencer Program... 429 instructions downloaded aic7890/91: Wide Channel A, SCSI Id=7, 32/255 SCBs pci0: (vendor=0x102b, dev=0x0519) at 11.0 irq 10 fxp0: port 0x8100-0x813f mem 0xe0900000-0xe091ffff,0xe09260 00-0xe0926fff irq 11 at device 13.0 on pci0 fxp0: Ethernet address 00:d0:b7:7f:8d:6e bpf: fxp0 attached fxp1: port 0x8200-0x823f mem 0xe0800000-0xe08fffff,0xe09250 00-0xe0925fff irq 15 at device 14.0 on pci0 using shared irq15. fxp1: Ethernet address 00:90:27:62:d3:2f bpf: fxp1 attached 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 fdc0: direction bit not set fdc0: cmd 3 failed at out byte 1 of 3 fdc0 failed to probe at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 ata2: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x0000 ata2: mask=00 status0=ff status1=ff ata2: probe allocation failed ata2 failed to probe at port 0x1f0-0x1f7,0x3f6 irq 14 on isa0 ata3: iobase=0x0170 altiobase=0x0376 bmaddr=0x0000 ata3: mask=00 status0=ff status1=ff ata3: probe allocation failed ata3 failed to probe at port 0x170-0x177,0x376 irq 15 on isa0 adv0 failed to probe at port 0x330 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: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0047 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:0x3d0000 psm0: current command byte:0047 kbdc: TEST_AUX_PORT status:0000 kbdc: RESET_AUX return code:00fe kbdc: RESET_AUX return code:00fe kbdc: RESET_AUX return code:00fe kbdc: DIAGNOSE status:0055 kbdc: TEST_KBD_PORT status:0000 psm0: failed to reset the aux device. vga0: 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 60 4f 50 83 55 81 bf 1f 00 4f 0e 0f 00 00 07 80 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 60 4f 50 83 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 60 4f 50 83 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: 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 irq 10 on isa0 pcic1: not probed (disabled) sio0: irq maps: 0x1 0x11 0x1 0x1 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: irq maps: 0x1 0x9 0x1 0x1 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio2: not probed (disabled) sio3: not probed (disabled) ppc0: parallel port not found. ppc0: failed to probe at irq 7 on isa0 ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0 fe0 failed to probe at port 0x300-0x31f on isa0 ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0 le0 failed to probe at port 0x300 iomem 0xd0000 irq 5 on isa0 lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0 cs0 failed to probe at port 0x300 on isa0 sn0 failed to probe at port 0x300 irq 10 on isa0 isa_probe_children: probing PnP devices BIOS Geometries: 0:03fefe3f 0..1022=1023 cylinders, 0..254=255 heads, 1..63=63 sectors 0 accounted for Device configuration finished. bpf: faith0 attached bpf: gif0 attached bpf: gif1 attached bpf: gif2 attached bpf: gif3 attached bpf: lo0 attached bpf: ppp0 attached new masks: bio 680000, tty 63001a, net 67881a IP packet filtering initialized, divert disabled, rule-based forwarding disabled, default to deny, logging disabled bpf: sl0 attached Waiting 15 seconds for SCSI devices to settle (noperiph:ahc0:0:-1:-1): SCSI bus reset delivered. 0 SCBs aborted. ahc0: target 0 using 16bit transfers ahc0: target 0 synchronous at 40.0MHz, offset = 0x1f Creating DISK da0 pass0 at ahc0 bus 0 target 0 lun 0 pass0: Fixed Direct Access SCSI-3 device pass0: Serial Number 119001843545 pass0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit) da0 at ahc0 bus 0 target 0 lun 0 da0: Fixed Direct Access SCSI-3 device da0: Serial Number 119001843775 da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit) da0: 8683MB (17783249 512 byte sectors: 255H 63S/T 1106C) Mounting root from ufs:/dev/da0s1a da0s1: type 0xa5, start 63, end = 17767889, size 17767827 : OK start_init: trying /sbin/init splash: image decoder found: green_saver Linux-ELF exec handler installed fxp0: promiscuous mode enabled >How-To-Repeat: boot the machine with any kernel with SMP support. I've built smp kernels with may different configs, last effort I only added smp support and left the rest generic. None of them will boot it seems. >Fix: I know of no fix. I've been looking for others having the same problem for awhile now. >Release-Note: >Audit-Trail: State-Changed-From-To: open->feedback State-Changed-By: iedowse State-Changed-When: Sat Nov 17 14:17:05 PST 2001 State-Changed-Why: Does this problem still occur with more recent releases? http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22633 State-Changed-From-To: feedback->closed State-Changed-By: iedowse State-Changed-When: Sat Nov 24 10:56:14 PST 2001 State-Changed-Why: Mail to submitter bounces. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22633 >Unformatted: