NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/38742: ahcisata/jmide hang



>Number:         38742
>Category:       kern
>Synopsis:       ahcisata/jmide hang
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun May 25 15:35:00 +0000 2008
>Originator:     Gary Duzan
>Release:        NetBSD 4.99.55
>Organization:
        N/A
>Environment:
System: NetBSD capo 4.99.55 NetBSD 4.99.55 (CAPO64) #23: Mon Mar 10 22:47:52 
EDT 2008 gary@capo:/usr/obj/sys/arch/amd64/compile.amd64/CAPO64 amd64
Architecture: x86_64
Machine: amd64
>Description:
        With a current kernel, my system hangs on boot while trying
        to attach drives. It appears to be related to the changes
        made April 18, 2008, around 16:46 Eastern, since a kernel
        from 16:00 works and from 17:00 hangs.
>How-To-Repeat:
        Try booting with my setup. Here is a dmesg with a working kernel:

Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 4.99.55 (CAPO64) #23: Mon Mar 10 22:47:52 EDT 2008
        gary@capo:/usr/obj/sys/arch/amd64/compile.amd64/CAPO64
total memory = 2047 MB
avail memory = 1970 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
SMBIOS rev. 2.3 @ 0xf9faf (4 entries)
         939Dual-SATA2 (1.00)
mainbus0 (root)
cpu0 at mainbus0 apid 0: (boot processor)
cpu0: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, 2000.16 MHz
cpu0: features: f7dbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu0: features: f7dbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu0: features: f7dbfbff<FXSR,SSE,SSE2,HTT,LONG,3DNOW2,3DNOW>
cpu0: features2: 1<SSE3>
cpu0: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu0: L2 cache 512 KB 64B/line 16-way
cpu0: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: Initial APIC ID 0
cpu0: AMD Power Management features: f<TTP,VID,FID,TS>
cpu0: AMD Cool`n'Quiet Technology 2000 MHz
cpu0: available frequencies (Mhz): 1000 1800 2000
cpu0: calibrating local timer
cpu0: apic clock running at 200 MHz
cpu0: 8 page colors
cpu1 at mainbus0 apid 1: (application processor)
cpu1: AMD Athlon(tm) 64 X2 Dual Core Processor 3800+, 2000.19 MHz
cpu1: features: f7dbfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR>
cpu1: features: f7dbfbff<PGE,MCA,CMOV,PAT,PSE36,MPC,NOX,MMXX,MMX>
cpu1: features: f7dbfbff<FXSR,SSE,SSE2,HTT,LONG,3DNOW2,3DNOW>
cpu1: features2: 1<SSE3>
cpu1: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu1: L2 cache 512 KB 64B/line 16-way
cpu1: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu1: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu1: Initial APIC ID 1
cpu1: AMD Power Management features: f<TTP,VID,FID,TS>
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 11, 24 pins
ioapic1 at mainbus0 apid 3: pa 0xfec10000, version 11, 16 pins
acpi0 at mainbus0: Advanced Configuration and Power Interface
acpi0: using Intel ACPI CA subsystem version 20070320
acpi0: X/RSDT: OemId <A M I ,OEMRSDT ,09000625>, AslId <MSFT,00000097>
acpi0: SCI interrupting at int 9
acpi0: fixed-feature power button present
timecounter: Timecounter "ACPI-Fast" frequency 3579545 Hz quality 1000
ACPI-Fast 32-bit timer
CPU1 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
CPU2 (ACPI Object Type 'Processor' [0x0c]) at acpi0 not configured
PCI0 (PNP0A03) [PCI/PCI-X Host Bridge] at acpi0 not configured
PIC (PNP0000) [AT Interrupt Controller] at acpi0 not configured
DMAD (PNP0200) [AT DMA Controller] at acpi0 not configured
attimer0 at acpi0 (TMR, PNP0100): AT Timer
attimer0: io 0x40-0x43 irq 0
RTC0 (PNP0B00) [AT Real-Time Clock] at acpi0 not configured
pcppi0 at acpi0 (SPKR, PNP0800)
pcppi0: io 0x61
midi0 at pcppi0: PC speaker (CPU-intensive output)
sysbeep0 at pcppi0
COPR (PNP0C04) [Math Coprocessor] at acpi0 not configured
fdc1 at acpi0 (FDC, PNP0700)
fdc1: io 0x3f0-0x3f5,0x3f7 irq 6 drq 2
fdc1: expected BUFFER, got 4
RMSC (PNP0C02) [Plug and Play motherboard register resources] at acpi0 not 
configured
OMSC (PNP0C02) [Plug and Play motherboard register resources] at acpi0 not 
configured
pckbc0 at acpi0 (PS2K, PNP0303): kbd port
pckbc0: io 0x60,0x64 irq 1
pckbc1 at acpi0 (PS2M, PNP0F03): aux port
pckbc1: irq 12
SIOR (PNP0C02) [Plug and Play motherboard register resources] at acpi0 not 
configured
RMEM (PNP0C01) [System Board] at acpi0 not configured
acpibut0 at acpi0 (PWRB, PNP0C0C-170): ACPI Power Button
LNKA (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKB (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKC (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKD (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKE (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKF (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKG (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKH (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
LNKP (PNP0C0F) [PCI interrupt link device] at acpi0 not configured
attimer0: attached to pcppi0
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0
pchb0: Acer Labs product 0x1695 (rev. 0x00)
ppb0 at pci0 dev 1 function 0: Acer Labs product 0x524b (rev. 0x00)
pci1 at ppb0 bus 1
pci1: memory space enabled, rd/line, wr/inv ok
ppb1 at pci0 dev 2 function 0: Acer Labs product 0x524c (rev. 0x00)
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
jmide0 at pci2 dev 0 function 0: JMicron Technology JMB363 SATA/PATA controller
jmide0: 1 PATA port, 2 SATA ports
jmide0: interrupting at ioapic1 pin 6 (irq 11)
ahcisata0 at jmide0
ahcisata0: AHCI revision 1.0, 2 ports, 32 command slots, features 0xc722e000
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 1
jmide0: PCI IDE interface used
jmide0: bus-master DMA support present
jmide0: primary channel wired to native-PCI mode
jmide0: primary channel is unused
jmide0: secondary channel wired to native-PCI mode
jmide0: secondary channel is PATA
atabus2 at jmide0 channel 1
ppb2 at pci0 dev 3 function 0: Acer Labs product 0x524d (rev. 0x00)
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
jmide1 at pci3 dev 0 function 0: JMicron Technology JMB360 SATA controller
jmide1: 1 SATA port
jmide1: interrupting at ioapic1 pin 11 (irq 5)
ahcisata1 at jmide1
ahcisata1: AHCI revision 1.0, 1 ports, 32 command slots, features 0xc722e000
atabus3 at ahcisata1 channel 0
pchb1 at pci0 dev 4 function 0
pchb1: Acer Labs M1689 Host-PCI Bridge (rev. 0x00)
agp at pchb1 not configured
ppb3 at pci0 dev 5 function 0: Acer Labs product 0x5246 (rev. 0x00)
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled
vga0 at pci4 dev 0 function 0: ATI Technologies Radeon 7000/VE QY (rev. 0x00)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
direct rendering for vga0 unsupported
ppb4 at pci0 dev 6 function 0: Acer Labs M5249 Hypertransport to PCI bridge 
(rev. 0x00)
pci5 at ppb4 bus 5
pci5: i/o space, memory space enabled
rtk0 at pci5 dev 5 function 0: D-Link Systems DFE 530TX+ (rev. 0x10)
rtk0: interrupting at ioapic0 pin 20 (irq 11)
rtk0: Ethernet address 00:50:ba:60:0e:19
rlphy0 at rtk0 phy 7: Realtek internal PHY
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
skc0 at pci5 dev 6 function 0: ioapic0 pin 21 (irq 4)
skc0: interrupt moderation is 0 us
skc0: DGE-530T Gigabit Ethernet Adapter rev. (0x9)
sk0 at skc0 port A: Ethernet address 00:15:e9:bd:0c:1e
makphy0 at sk0 phy 0: Marvell 88E1011 Gigabit PHY, rev. 5
makphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
pcib0 at pci0 dev 7 function 0
pcib0: Acer Labs M1563 PCI-ISA Bridge (rev. 0x70)
Acer Labs M7101 Power Management Controller (miscellaneous bridge) at pci0 dev 
7 function 1 not configured
auacer0 at pci0 dev 8 function 0: Acer Labs M5455 Audio controller
auacer0: interrupting at ioapic0 pin 18 (irq 7)
auacer0: ac97: Avance Logic ALC850 codec; no 3D stereo
auacer0: ac97: ext id 9c6<AC97_23,LDAC,SDAC,CDAC,SPDIF,DRA>
audio0 at auacer0: full duplex, independent
Acer Labs product 0x5263 (ethernet network, revision 0x40) at pci0 dev 17 
function 0 not configured
aceride0 at pci0 dev 18 function 0
aceride0: Acer Labs M5229 UDMA IDE Controller (rev. 0xc7)
aceride0: bus-master DMA support present
aceride0: primary channel configured to compatibility mode
aceride0: primary channel interrupting at ioapic0 pin 14 (irq 14)
atabus4 at aceride0 channel 0
aceride0: secondary channel configured to compatibility mode
aceride0: secondary channel interrupting at ioapic0 pin 15 (irq 15)
atabus5 at aceride0 channel 1
ohci0 at pci0 dev 19 function 0: Acer Labs M5237 USB 1.1 Host Controller (rev. 
0x03)
ohci0: interrupting at ioapic0 pin 20 (irq 11)
ohci0: OHCI version 1.0, legacy support
usb0 at ohci0: USB revision 1.0
uhub0 at usb0
uhub0: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1 at pci0 dev 19 function 1: Acer Labs M5237 USB 1.1 Host Controller (rev. 
0x03)
ohci1: interrupting at ioapic0 pin 21 (irq 4)
ohci1: OHCI version 1.0, legacy support
usb1 at ohci1: USB revision 1.0
uhub1 at usb1
uhub1: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
ohci2 at pci0 dev 19 function 2: Acer Labs M5237 USB 1.1 Host Controller (rev. 
0x03)
ohci2: interrupting at ioapic0 pin 22 (irq 11)
ohci2: OHCI version 1.0, legacy support
usb2 at ohci2: USB revision 1.0
uhub2 at usb2
uhub2: Acer Labs OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 3 ports with 3 removable, self powered
ehci0 at pci0 dev 19 function 3: Acer Labs M5239 USB 2.0 Host Controller (rev. 
0x01)
ehci0: interrupting at ioapic0 pin 23 (irq 5)
ehci0: EHCI version 1.0
ehci0: companion controllers, 3 ports each: ohci0 ohci1 ohci2
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: Acer Labs EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 8 ports with 8 removable, self powered
pchb2 at pci0 dev 24 function 0
pchb2: Advanced Micro Devices K8 AMD64 HyperTransport configuration (rev. 0x00)
pchb3 at pci0 dev 24 function 1
pchb3: Advanced Micro Devices K8 AMD64 Address Map configuration (rev. 0x00)
pchb4 at pci0 dev 24 function 2
pchb4: Advanced Micro Devices K8 AMD64 DRAM configuration (rev. 0x00)
pchb5 at pci0 dev 24 function 3
pchb5: Advanced Micro Devices K8 AMD64 Miscellaneous configuration (rev. 0x00)
isa0 at pcib0
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
ahcisata1 port 0: device present, speed: 3.0Gb/s
atapibus0 at atabus2: 2 targets
cd0 at atapibus0 drive 0: <BENQ    DVD LS DW1655, KWW3609559SC0, BCGB> cdrom 
removable
cd0: 32-bit data port
cd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 2 (Ultra/33)
cd0(jmide0:1:0): using PIO mode 4, Ultra-DMA mode 2 (Ultra/33) (using DMA)
wd0 at atabus3 drive 0: <WDC WD2500KS-00MJB0>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 232 GB, 484521 cyl, 16 head, 63 sec, 512 bytes/sect x 488397168 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(ahcisata1:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) 
(using DMA)
ulpt0 at uhub1 port 2 configuration 1 interface 0
ulpt0: HewLett Packard HP LaserJet 1200, rev 1.10/1.00, addr 2, iclass 7/1
ulpt0: using bi-directional mode
uhub4 at uhub3 port 7
uhub4: Genesys Logic USB2.0 Hub, class 9/0, rev 2.00/7.02, addr 2
uhub4: single transaction translator
uhub4: 4 ports with 4 removable, self powered
fd0 at fdc1 drive 0: 1.44MB, 80 cyl, 2 head, 18 sec
wd1 at atabus4 drive 0: <ST320423A>
wd1: drive supports 32-sector PIO transfers, LBA addressing
wd1: 19536 MB, 39693 cyl, 16 head, 63 sec, 512 bytes/sect x 40011300 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 4 (Ultra/66)
wd1(aceride0:0:0): using PIO mode 4, Ultra-DMA mode 4 (Ultra/66) (using DMA)
wd2 at atabus5 drive 1: <MAXTOR 6L080L4>
wd2: drive supports 16-sector PIO transfers, LBA addressing
wd2: 76345 MB, 155114 cyl, 16 head, 63 sec, 512 bytes/sect x 156355584 sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd2(aceride0:1:1): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
uhidev0 at uhub2 port 2 configuration 1 interface 0
uhidev0: Logitech Trackball, rev 1.10/2.20, addr 2, iclass 3/1
ums0 at uhidev0: 3 buttons and Z dir.
wsmouse1 at ums0 mux 0
IPsec: Initialized Security Association Processing.
boot device: wd0
root on wd0a dumps on wd1b
skc0: interrupt moderation is 1000 us
wsdisplay0: screen 1 added (80x25, vt100 emulation)
wsdisplay0: screen 2 added (80x25, vt100 emulation)
wsdisplay0: screen 3 added (80x25, vt100 emulation)
wsdisplay0: screen 4 added (80x25, vt100 emulation)
wsdisplay0: screen 5 added (80x25, vt100 emulation)
wsdisplay0: screen 6 added (80x25, vt100 emulation)
wsdisplay0: screen 7 added (80x25, vt100 emulation)
>Fix:
        None. I suspect it is related to ahcisata/jmide, since the
        jmide driver seems to be doing things differently than
        other ahcisata supporting drivers, but I haven't been able
        to narrow it down.



Home | Main Index | Thread Index | Old Index