Bug 56944

Summary: 4.8 cannot boot on Intel Server Board SE7501HG2 with SCSI enabled
Product: Base System Reporter: Eugene Grosbein <ports>
Component: i386Assignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 4.8-RELEASE   
Hardware: Any   
OS: Any   

Description Eugene Grosbein 2003-09-17 10:00:39 UTC
	Mentioned versions of FreeBSD halt during device probing stage
	while booting on Intel Server Board SE7501HG2. They do not
	halt if Onboard SCSI is disabled using BIOS Setup,
	that is not acceptable workaround.

	Here comes reconstructed log of BIOS boot screens
	and full 'boot -v' log of FreeBSD 4.8-RELEASE installation CD.

Serial Redir 2.0.5 [VT-100+]
ATI RAGE SDRAM BIOS P/N GR-xlints3y.09a-4.332
BIOS LAN Console 3.0
Copyright(C) 1997-2002 Intel Corporation

PXE-E61: Media test failure, check cable

AMBIOS (C)1985-2003 American Megatrends Inc.,
Copyright 1996-2003 Intel Corporation
S7501HG 0.86B.0047.P09.0307011125
S7501HG Production BIOS Version 9.00
BIOS Build 0047

2X Intel(R) Xeon(TM) CPU 2.66GHz
533MHz Front Side Bus

Testing system memory, memory size=1024MB
1024MB Extended Memory Passed
512K L2 Cache Enabled
LegacyKeyboard.... Detected
Press <F2> to enter SETUP, <F4> ServicePartition, <F12> Network

Fixed Disk 0: Maxtor 6Y120P0 (UDMA=100MHz)
ATAPI CD-ROM SONY CD-RW CRX225E

Adaptec SCSI BIOS v41003S2 (c) 2003 Adaptec,Inc. All Rights Reserved.
SlotChIDLUNVendorProductSizeBusStatus
---------------------------------------------------------------------
0 SEAGATE ST336753LW 37GB 1600B0

Fix: 

Unknown to me. It boots if onboard SCSI is disabled.
How-To-Repeat: 
	Take that motherboard, boot 4.8-RELEASE.
Comment 1 Eugene Grosbein 2003-09-17 10:21:56 UTC
Here is diff between dmesg.boot for unsuccessful boot attempt
(SCSI is enabled in the BIOS Setup) and successful one
(SCSI is disabled).

-- bad Wed Sep 17 17:19:18 2003
+++ ok  Wed Sep 17 17:18:40 2003
@@ -3,7 +3,7 @@
        The Regents of the University of California. All rights reserved.
 FreeBSD 4.8-RELEASE #0: Thu Apr  3 10:53:38 GMT 2003
     root@freebsd-stable.sentex.ca:/usr/obj/usr/src/sys/GENERIC
-Calibrating clock(s) ... TSC clock: 2657938544 Hz, i8254 clock: 1193114 Hz
+Calibrating clock(s) ... TSC clock: 2657931308 Hz, i8254 clock: 1193110 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
@@ -21,7 +21,7 @@
 config> di aha0
 config> di adv0
 config> q
-avail memory = 1039847424 (1015476K bytes)
+avail memory = 1039826944 (1015456K bytes)
 bios32: Found BIOS32 Service Directory header at 0xc00fdb20
 bios32: Entry = 0xfdb34 (c00fdb34)  Rev = 0  Len = 1
 pcibios: PCI BIOS entry at 0xdb55
@@ -35,7 +35,7 @@
 Creating DISK md0
 md0: Malloc disk
 Math emulator present
-pci_open(1):   mode 1 addr port (0x0cf8) is 0x80032000
+pci_open(1):   mode 1 addr port (0x0cf8) is 0x8000005c
 pci_open(1a):  mode1res=0x80000000 (0x80000000)
 pci_cfgcheck:  device 0 [class=060000] [hdr=80] is there (id=254c8086)
 Using $PIR table, 18 entries at 0xc00f3590
@@ -99,64 +99,24 @@
        subordinatebus=0        secondarybus=0
        intpin=a, irq=9
        map[10]: type 1, range 64, base fea60000, size 17
-       map[20]: type 1, range 32, base 00003040, size  6
+       map[20]: type 1, range 32, base 00002040, size  6
 found->        vendor=0x8086, dev=0x1010, revid=0x01
        class=02-00-00, hdrtype=0x00, mfdev=1
        subordinatebus=0        secondarybus=0
        intpin=b, irq=9
        map[10]: type 1, range 64, base fea80000, size 17
-       map[20]: type 1, range 32, base 00003000, size  6
+       map[20]: type 1, range 32, base 00002000, size  6
 pci4: <PCI bus> on pcib2
-em0: <Intel(R) PRO/1000 Network Connection, Version - 1.4.10> port
0x3040-0x307f mem
0xfea60000-0xfea7ffff irq 9 at device 5.0 on pci4
+em0: <Intel(R) PRO/1000 Network Connection, Version - 1.4.10> port
0x2040-0x207f mem
0xfea60000-0xfea7ffff irq 9 at device 5.0 on pci4
 bpf: em0 attached
 em0:  Speed:N/A  Duplex:N/A
-em1: <Intel(R) PRO/1000 Network Connection, Version - 1.4.10> port
0x3000-0x303f mem
0xfea80000-0xfea9ffff irq 9 at device 5.1 on pci4
+em1: <Intel(R) PRO/1000 Network Connection, Version - 1.4.10> port
0x2000-0x203f mem
0xfea80000-0xfea9ffff irq 9 at device 5.1 on pci4
        using shared irq9.
 bpf: em1 attached
 em1:  Speed:N/A  Duplex:N/A
 pci2: <unknown card> (vendor=0x8086, dev=0x1461) at 30.0
 pcib3: <PCI to PCI bridge (vendor=8086 device=1460)> at device 31.0 on pci2
-found->        vendor=0x9005, dev=0x801f, revid=0x03
-       class=01-00-00, hdrtype=0x00, mfdev=1
-       subordinatebus=0        secondarybus=0
-       intpin=a, irq=9
-       map[10]: type 1, range 32, base 00002800, size  8
-       map[14]: type 1, range 64, base fe9e0000, size 13
-       map[1c]: type 1, range 32, base 00002c00, size  8
-found->        vendor=0x9005, dev=0x801f, revid=0x03
-       class=01-00-00, hdrtype=0x00, mfdev=1
-       subordinatebus=0        secondarybus=0
-       intpin=b, irq=9
-       map[10]: type 1, range 32, base 00002000, size  8
-       map[14]: type 1, range 64, base fe9f0000, size 13
-       map[1c]: type 1, range 32, base 00002400, size  8
 pci3: <PCI bus> on pcib3
-ahd0: <Adaptec AIC7902 Ultra320 SCSI adapter> port
0x2c00-0x2cff,0x2800-0x28ff mem
0xfe9e0000-0xfe9e1fff irq 9 at device 4.0 on pci3
-ahd0: Defaulting to MEMIO on
-ahd0: Reading SEEPROM...done.
-ahd0: STPWLEVEL is on
-ahd0: Manual Primary Termination
-ahd0: Manual Secondary Termination
-ahd0: Primary High byte termination Enabled
-ahd0: Primary Low byte termination Enabled
-ahd0: Secondary High byte termination Disabled
-ahd0: Secondary Low byte termination Disabled
-ahd0: Downloading Sequencer Program... 716 instructions downloaded
-ahd0: Features 0x101, Bugs 0xfffff, Flags 0x43f0
-aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
-ahd1: <Adaptec AIC7902 Ultra320 SCSI adapter> port
0x2400-0x24ff,0x2000-0x20ff mem
0xfe9f0000-0xfe9f1fff irq 9 at device 4.1 on pci3
-ahd1: Defaulting to MEMIO on
-ahd1: Reading SEEPROM...done.
-ahd1: STPWLEVEL is on
-ahd1: Manual Primary Termination
-ahd1: Manual Secondary Termination
-ahd1: Primary High byte termination Enabled
-ahd1: Primary Low byte termination Enabled
-ahd1: Secondary High byte termination Disabled
-ahd1: Secondary Low byte termination Disabled
-ahd1: Downloading Sequencer Program... 716 instructions downloaded
-ahd1: Features 0x101, Bugs 0xfffff, Flags 0x43f0
-aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
 pci0: <unknown card> (vendor=0x8086, dev=0x2546) at 3.1
 pcib4: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0
 found->        vendor=0x1002, dev=0x4752, revid=0x27
@@ -188,3 +148,112 @@
 ata1: devices=08
 ata1: at 0x170 irq 15 on atapci0
 pci0: <unknown card> (vendor=0x8086, dev=0x2483) at 31.3 irq 0
+ex_isa_identify()
+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-0xc7fff,0xc8000-0xc97ff,0xc9800-0xcafff,0xe4000-0xe7fff
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: not probed (disabled)
+bt0: not probed (disabled)
+aha0: not probed (disabled)
+aic0: not probed (disabled)
+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)
+kbd0 at atkbd0
+kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000
+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 f0 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: 0x3 0x13 0x3 0x3
+sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
+sio0: type 16550A
+sio1: irq maps: 0x3 0xb 0x3 0x3
+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 SPP
+ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
+ppc0: Generic chipset (ECP/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
+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: lo0 attached
+bpf: ppp0 attached
+new masks: bio 68c040, tty 63009a, net 67029a
+bpf: sl0 attached
+ad0: success setting UDMA5 on Intel chip
+Creating DISK ad0
+ar: FreeBSD check1 failed
+ad0: <Maxtor 6Y120P0/YAR41BW0> ATA-7 disk at ata0-master
+ad0: 117246MB (240121728 sectors), 238216 C, 16 H, 63 S, 512 B
+ad0: 16 secs/int, 1 depth queue, UDMA100
+ad0: piomode=4 dmamode=2 udmamode=6 cblid=1
+ata1-slave: piomode=4 dmamode=2 udmamode=2 dmaflag=1
+ata1-slave: success setting PIO4 on generic chip
+acd0: <SONY CD-RW CRX225E/QYB1> CD-RW drive at ata1 as slave
+acd0: read 22516KB/s (53284KB/s) write 172KB/s (8958KB/s), 2048KB buffer,
PIO4
+acd0: Reads: CD-R, CD-RW, CD-DA stream, packet
+acd0: Writes: CD-R, CD-RW, test write, burnproof
+acd0: Audio: play, 255 volume levels
+acd0: Mechanism: ejectable tray, unlocked
+acd0: Medium: no/blank disc
+Mounting root from ufs:/dev/ad0s2a
+ad0s1: type 0x12, start 63, end = 80324, size 80262 : OK
+ad0s2: type 0xa5, start 80325, end = 240107489, size 240027165 : OK
+start_init: trying /sbin/init


Eugene Grosbein
Comment 2 dwmalone freebsd_committer freebsd_triage 2004-10-11 09:50:40 UTC
State Changed
From-To: open->feedback

Hi Eugene, 

Does the board now successfully boot with 4.10? 

David.
Comment 3 dwmalone freebsd_committer freebsd_triage 2004-12-08 09:12:56 UTC
State Changed
From-To: feedback->closed

Closed at submitters request as things work OK with 5.3.