>Number:         6470
>Category:       kernel
>Synopsis:       Revisions 1.195 of sys/scsi/scsi_base.c and 1.138 of 
>sys/scsi/scsiconf.h cause a hang on boot
>Confidential:   yes
>Severity:       serious
>Priority:       medium
>Responsible:    bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   unknown
>Arrival-Date:   Fri Sep 17 18:00:01 GMT 2010
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        
>Organization:
>Environment:
        System      : OpenBSD 4.8
        Details     : OpenBSD 4.8-current (GENERIC.MP) #14: Fri Sep 17 09:52:40 
PDT 2010
                         
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP

        Architecture: OpenBSD.amd64
        Machine     : amd64
>Description:

A kernel build with source checked out with -D '2010-09-13 19:30:00 MDT'
boots normally, but -D '2010-09-13 19:41:00 MDT' hangs after softraid0
attaches and before the 'root on ...' line. Included below is a boot
log from the good kernel (bsd.D2010.09.14.01.30.00), followed by a
diff between logs from the good and bad (bsd.D2010.09.14.01.41.00)
kernels.


>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
 >> OpenBSD/amd64 BOOT 3.15
 boot> boot bsd.D2010.09.14.01.30.00 -s
 booting hd1a:bsd.D2010.09.14.01.30.00: 5519688+1555177+928736+0+620352 
[89+486984+314128]=0xcfe438
 entry point at 0x1001e0 [7205c766, 34000004, 24448b12, 28f8a304]
 [ using 802040 bytes of bsd ELF symbol table ]
 Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
 Copyright (c) 1995-2010 OpenBSD. All rights reserved.  http://www.OpenBSD.org
 
 OpenBSD 4.8-current (GENERIC.MP) #14: Fri Sep 17 09:52:40 PDT 2010
     [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
 real mem = 2145058816 (2045MB)
 avail mem = 2074103808 (1978MB)
 mainbus0 at root
 bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x9f800 (48 entries)
 bios0: vendor American Megatrends Inc. version "080014" date 09/22/2008
 bios0: BIOSTAR Group A740G M2+
 acpi0 at bios0: rev 2
 acpi0: sleep states S0 S1 S3 S4 S5
 acpi0: tables DSDT FACP APIC MCFG OEMB HPET SSDT
 acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) PCE7(S4) 
SBAZ(S4) PS2K(S3) PS2M(S3) P0PC(S4) UHC1(S4) UHC2(S4) UHC3(S4) USB4(S4) 
UHC5(S4) UHC6(S4) UHC7(S4) PWRB(S3)
 acpitimer0 at acpi0: 3579545 Hz, 32 bits
 acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
 cpu0 at mainbus0: apid 0 (boot processor)
 cpu0: AMD Athlon(tm) X2 Dual Core Processor BE-2300, 1900.38 MHz
 cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
 cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
 cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
 cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
 cpu0: apic clock running at 200MHz
 cpu1 at mainbus0: apid 1 (application processor)
 cpu1: AMD Athlon(tm) X2 Dual Core Processor BE-2300, 1900.11 MHz
 cpu1: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
 cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 64b/line 
16-way L2 cache
 cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
 cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully associative
 ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 21, 24 pins
 acpihpet0 at acpi0: 14318180 Hz
 acpiprt0 at acpi0: bus 0 (PCI0)
 acpiprt1 at acpi0: bus -1 (P0P1)
 acpiprt2 at acpi0: bus 1 (PCE2)
 acpiprt3 at acpi0: bus -1 (PCE3)
 acpiprt4 at acpi0: bus -1 (PCE4)
 acpiprt5 at acpi0: bus -1 (PCE5)
 acpiprt6 at acpi0: bus -1 (PCE6)
 acpiprt7 at acpi0: bus 2 (PCE7)
 acpiprt8 at acpi0: bus 3 (P0PC)
 acpicpu0 at acpi0: PSS
 acpicpu1 at acpi0: PSS
 acpibtn0 at acpi0: PWRB
 cpu0: PowerNow! K8 1900 MHz: speeds: 1900 1800 1000 MHz
 pci0 at mainbus0 bus 0
 pchb0 at pci0 dev 0 function 0 "ATI RS740 Host" rev 0x00
 ppb0 at pci0 dev 2 function 0 "ATI RS690M PCIE" rev 0x00
 pci1 at ppb0 bus 1
 vga1 at pci1 dev 0 function 0 "ATI Radeon X800" rev 0x00
 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
 wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
 radeondrm0 at vga1: apic 2 int 18 (irq 10)
 drm0 at radeondrm0
 vendor "ATI", unknown product 0x556f (class display subclass miscellaneous, 
rev 0x00) at pci1 dev 0 function 1 not configured
 ppb1 at pci0 dev 7 function 0 "ATI RS690 PCIE" rev 0x00
 pci2 at ppb1 bus 2
 re0 at pci2 dev 0 function 0 "Realtek 8101E" rev 0x01: RTL8101E (0x3400), apic 
2 int 19 (irq 10), address 00:e0:4d:a8:4c:45
 rlphy0 at re0 phy 7: RTL8201L 10/100 PHY, rev. 1
 ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: apic 2 int 22 (irq 
11), AHCI 1.1
 scsibus0 at ahci0: 32 targets
 sd0 at scsibus0 targ 0 lun 0: <ATA, WDC WD3200KS-00P, 21.0> SCSI3 0/direct 
fixed
 sd0: 305245MB, 512 bytes/sec, 625142448 sec total
 sd1 at scsibus0 targ 1 lun 0: <ATA, WDC WD3200KS-00P, 21.0> SCSI3 0/direct 
fixed
 sd1: 305245MB, 512 bytes/sec, 625142448 sec total
 sd2 at scsibus0 targ 2 lun 0: <ATA, ST31500541AS, CC34> SCSI3 0/direct fixed
 sd2: 1430799MB, 512 bytes/sec, 2930277168 sec total
 sd3 at scsibus0 targ 3 lun 0: <ATA, ST31500541AS, CC34> SCSI3 0/direct fixed
 sd3: 1430799MB, 512 bytes/sec, 2930277168 sec total
 ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 16 (irq 
10), version 1.0, legacy support
 ohci1 at pci0 dev 18 function 1 "ATI SB700 USB" rev 0x00: apic 2 int 16 (irq 
10), version 1.0, legacy support
 ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 17 (irq 
11)
 usb0 at ehci0: USB revision 2.0
 uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1
 ohci2 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 2 int 18 (irq 
10), version 1.0, legacy support
 ohci3 at pci0 dev 19 function 1 "ATI SB700 USB" rev 0x00: apic 2 int 18 (irq 
10), version 1.0, legacy support
 ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 2 int 19 (irq 
10)
 usb1 at ehci1: USB revision 2.0
 uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1
 piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x3a: SMI
 iic0 at piixpm0
 spdmem0 at iic0 addr 0x50: 2GB DDR2 SDRAM non-parity PC2-6400CL5
 pciide0 at pci0 dev 20 function 1 "ATI SB700 IDE" rev 0x00: DMA, channel 0 
configured to compatibility, channel 1 configured to compatibility
 atapiscsi0 at pciide0 channel 0 drive 0
 scsibus1 at atapiscsi0: 2 targets
 cd0 at scsibus1 targ 0 lun 0: <PIODATA, DVD-RW DVR-108DX, 1.10> ATAPI 5/cdrom 
removable
 cd0(pciide0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 4
 azalia0 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x00: apic 2 int 16 
(irq 10)
 azalia0: codecs: Realtek ALC662
 audio0 at azalia0
 pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x00
 ppb2 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x00
 pci3 at ppb2 bus 3
 puc0 at pci3 dev 5 function 0 "NetMos Nm9835" rev 0x01: ports: 2 com, 1 lpt
 com2 at puc0 port 0 apic 2 int 20 (irq 10): ns16550a, 16 byte fifo
 com3 at puc0 port 1 apic 2 int 20 (irq 10): ns16550a, 16 byte fifo
 lpt1 at puc0 port 2 apic 2 int 20 (irq 10)
 ohci4 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 2 int 18 (irq 
10), version 1.0, legacy support
 pchb1 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00
 pchb2 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00
 pchb3 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00
 kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00: core rev 
BH-G2
 usb2 at ohci0: USB revision 1.0
 uhub2 at usb2 "ATI OHCI root hub" rev 1.00/1.00 addr 1
 usb3 at ohci1: USB revision 1.0
 uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1
 usb4 at ohci2: USB revision 1.0
 uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1
 usb5 at ohci3: USB revision 1.0
 uhub5 at usb5 "ATI OHCI root hub" rev 1.00/1.00 addr 1
 isa0 at pcib0
 isadma0 at isa0
 com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
 com0: console
 pckbc0 at isa0 port 0x60/5
 pckbd0 at pckbc0 (kbd slot)
 pckbc0: using irq 1 for kbd slot
 wskbd0 at pckbd0: console keyboard, using wsdisplay0
 pcppi0 at isa0 port 0x61
 spkr0 at pcppi0
 lpt0 at isa0 port 0x378/4 irq 7
 it0 at isa0 port 0x2e/2: IT8718F rev 5, EC port 0xe80
 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
 usb6 at ohci4: USB revision 1.0
 uhub6 at usb6 "ATI OHCI root hub" rev 1.00/1.00 addr 1
 mtrr: Pentium Pro MTRR support
 uhub7 at uhub1 port 4 "Genesys Logic USB2.0 Hub" rev 2.00/7.02 addr 2
 uhidev0 at uhub4 port 2 configuration 1 interface 0 "Logitech USB-PS/2 Optical 
Mouse" rev 2.00/20.00 addr 2
 uhidev0: iclass 3/1
 ums0 at uhidev0: 3 buttons, Z dir
 wsmouse0 at ums0 mux 0
 softraid0 at root
 root on sd1a swap on sd1b dump on sd1b
 Enter pathname of shell or RETURN for sh: 
 
 
 --- scsilog-good       Fri Sep 17 10:30:09 2010
 +++ scsilog-bad        Fri Sep 17 10:30:09 2010
 @@ -1,13 +1,13 @@
  >> OpenBSD/amd64 BOOT 3.15
 -boot> boot bsd.D2010.09.14.01.30.00 -s
 -booting hd1a:bsd.D2010.09.14.01.30.00: 5519688+1555177+928736+0+620352 
[89+486984+314128]=0xcfe438
 +boot> boot bsd.D2010.09.14.01.41.00 -s
 +booting hd1a:bsd.D2010.09.14.01.41.00: 5519864+1555177+928736+0+620352 
[89+486984+314128]=0xcfe438
  entry point at 0x1001e0 [7205c766, 34000004, 24448b12, 28f8a304]
  [ using 802040 bytes of bsd ELF symbol table ]
  Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California.  All rights reserved.
  Copyright (c) 1995-2010 OpenBSD. All rights reserved.  http://www.OpenBSD.org
  
 -OpenBSD 4.8-current (GENERIC.MP) #14: Fri Sep 17 09:52:40 PDT 2010
 +OpenBSD 4.8-current (GENERIC.MP) #15: Fri Sep 17 09:59:01 PDT 2010
      [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC.MP
  real mem = 2145058816 (2045MB)
  avail mem = 2074103808 (1978MB)
 @@ -22,7 +22,7 @@
  acpitimer0 at acpi0: 3579545 Hz, 32 bits
  acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
  cpu0 at mainbus0: apid 0 (boot processor)
 -cpu0: AMD Athlon(tm) X2 Dual Core Processor BE-2300, 1900.38 MHz
 +cpu0: AMD Athlon(tm) X2 Dual Core Processor BE-2300, 1900.39 MHz
  cpu0: 
FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW
  cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB 
64b/line 16-way L2 cache
  cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully associative
 @@ -66,9 +66,9 @@
  ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: apic 2 int 22 (irq 
11), AHCI 1.1
  scsibus0 at ahci0: 32 targets
  sd0 at scsibus0 targ 0 lun 0: <ATA, WDC WD3200KS-00P, 21.0> SCSI3 0/direct 
fixed
 -sd0: 305245MB, 512 bytes/sec, 625142448 sec total
 +sd0: drive offline
  sd1 at scsibus0 targ 1 lun 0: <ATA, WDC WD3200KS-00P, 21.0> SCSI3 0/direct 
fixed
 -sd1: 305245MB, 512 bytes/sec, 625142448 sec total
 +sd1: drive offline
  sd2 at scsibus0 targ 2 lun 0: <ATA, ST31500541AS, CC34> SCSI3 0/direct fixed
  sd2: 1430799MB, 512 bytes/sec, 2930277168 sec total
  sd3 at scsibus0 targ 3 lun 0: <ATA, ST31500541AS, CC34> SCSI3 0/direct fixed
 @@ -137,5 +137,3 @@
  ums0 at uhidev0: 3 buttons, Z dir
  wsmouse0 at ums0 mux 0
  softraid0 at root
 -root on sd1a swap on sd1b dump on sd1b
 -Enter pathname of shell or RETURN for sh: 

Reply via email to