NetBSD-Bugs archive

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

port-i386/45848: Lost interrupt error on VT-310DP with SATA devices



>Number:         45848
>Category:       port-i386
>Synopsis:       Lost interrupt error on VT-310DP with SATA devices
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jan 16 23:20:00 +0000 2012
>Originator:     Andrius Varanavicius
>Release:        5.99.60
>Organization:
>Environment:
NetBSD agraphic-vt310dp.VIDANDRIUS 5.99.60 NetBSD 5.99.60 (GENERIC) #0: Sat Jan 
14 00:42:56 UTC 2012  
builds%b7.netbsd.org@localhost:/home/builds/ab/HEAD/i386/201201131840Z-obj/home/builds/ab/HEAD/src/sys/arch/i386/compile/GENERIC
 i386
>Description:
If ACPI is enabled on VIA VT-310DP and there are SATA devices connected (hard 
drive, CD-ROM), it is impossible to boot into NetBSD system (or install system 
into it). It starts to output viaide0:0:0: lost interrupt error. It doesn't 
matter on which SATA port they are connected. This error doesn't occur if you 
boot system with ACPI disabled. There are no such errors if you use only IDE 
devices with ACPI enabled or disabled. Kernel is compiled like GENERIC. I made 
only one change in tsc.c to enable 2 CPU (like described in PR41267). This 
change doesn't affect a problem which occurs here (you'll hit into the same 
problem with original kernel and 2 cpu disabled but ACPI enabled).


11631024+566788+455416 [589584+578050]=0xd30140
Loading /stand/i386/5.99.60/modules/ffs/ffs.kmod  
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012
    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 5.99.60 (310DP) #1: Mon Jan 16 03:05:28 EET 2012
        andrius@agraphic-vt310dp.VIDANDRIUS:/usr/src/sys/arch/i386/compile/310DP
total memory = 2013 MB                                                          
avail memory = 1966 MB                                                          
mainbus0 (root)                                                                 
cpu0 at mainbus0 apid 0: VIA Nehemiah, id 0x69a                                 
cpu1 at mainbus0 apid 1: VIA Nehemiah, id 0x69a                                 
ioapic0 at mainbus0 apid 2                                                      
acpi0 at mainbus0: Intel ACPICA 20110623                                        
ALKB: BIOS IRQ 10 does not match initial IRQ 11                                 
ALKB: BIOS IRQ 11 for 0.16.INTB does not match previous BIOS IRQ 10             
ALKB: BIOS IRQ 12 for 0.16.INTC does not match previous BIOS IRQ 10             
acpibut0 at acpi0 (PWRB, PNP0C0C): ACPI Power Button                            
MEM (PNP0C01) at acpi0 not configured                                           
PMIO (PNP0C02) at acpi0 not configured                                          
SYSR (PNP0C02) at acpi0 not configured                                          
attimer1 at acpi0 (TMR, PNP0100): io 0x40-0x43 irq 0                            
pcppi1 at acpi0 (SPKR, PNP0800): io 0x61                                        
midi0 at pcppi1: PC speaker                                                     
sysbeep0 at pcppi1                                                              
npx1 at acpi0 (COPR, PNP0C04): io 0xf0-0xff irq 13                              
UAR1 (PNP0501) at acpi0 not configured                                          
UAR2 (PNP0501) at acpi0 not configured                                          
pckbc1 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1                  
acpifan0 at acpi0 (FAN, PNP0C0B): ACPI Fan                                      
acpitz0 at acpi0 (THRM): cpu0                                                   
acpitz0: active cooling level 0: 70.0C                                          
apm0 at acpi0: Power Management spec V1.2                                       
attimer1: attached to pcppi1                                                    
pckbd0 at pckbc1 (kbd slot)                                                     
pckbc1: using irq 1 for kbd slot                                                
wskbd0 at pckbd0 mux 1                                                          
pci0 at mainbus0 bus 0: configuration mode 1                                    
pchb0 at pci0 dev 0 function 0: vendor 0x1106 product 0x0259 (rev. 0x00)        
agp0 at pchb0: aperture at 0xe8000000, size 0x8000000                           
pchb1 at pci0 dev 0 function 1: vendor 0x1106 product 0x1259 (rev. 0x00)        
pchb2 at pci0 dev 0 function 2: vendor 0x1106 product 0x2259 (rev. 0x00)        
pchb3 at pci0 dev 0 function 3: vendor 0x1106 product 0x3259 (rev. 0x00)        
pchb4 at pci0 dev 0 function 4: vendor 0x1106 product 0x4259 (rev. 0x00)        
pchb5 at pci0 dev 0 function 7: vendor 0x1106 product 0x7259 (rev. 0x00)        
ppb0 at pci0 dev 1 function 0: vendor 0x1106 product 0xb198 (rev. 0x00)         
pci1 at ppb0 bus 1                                                              
vga1 at pci1 dev 0 function 0: vendor 0x1106 product 0x3118 (rev. 0x02)         
wsdisplay0 at vga1 kbdmux 1                                                     
viadrm0 at vga1: VIA CN400 / PM8X0                                              
viadrm0: AGP at 0xe8000000 128MB                                                
viadrm0: Initialized via 2.11.1 20070202                                        
fxp0 at pci0 dev 9 function 0: i82551 Ethernet, rev 16                          
fxp0: interrupting at ioapic0 pin 17                                            
fxp0: Ethernet address 00:e0:81:59:68:e5                                        
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4                     
inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto                    
vge0 at pci0 dev 10 function 0: VIA VT612X Gigabit Ethernet (rev. 0x11)         
vge0: interrupting at ioapic0 pin 18                                            
vge0: Ethernet address: 00:e0:81:59:68:e3                                       
ciphy0 at vge0 phy 1: Cicada CS8201 10/100/1000TX PHY, rev. 2                   
ciphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDo
pci_mem_find: expected type mem, found i/o                                      
viaide0 at pci0 dev 15 function 0: VIA Technologies VT8237 SATA Controller (rev)
ALKA: mpacpi_findintr_linkdev: irq mismatch (11 vs 1)                           
viaide0: using ioapic0 pin 11 for native-PCI interrupt                          
atabus0 at viaide0 channel 0                                                    
atabus1 at viaide0 channel 1                                                    
viaide1 at pci0 dev 15 function 1                                               
viaide1: VIA Technologies VT8237 ATA133 controller                              
viaide1: primary channel interrupting at ioapic0 pin 14                         
atabus2 at viaide1 channel 0                                                    
viaide1: secondary channel ignored (disabled)                                   
uhci0 at pci0 dev 16 function 0: vendor 0x1106 product 0x3038 (rev. 0x81)       
uhci0: interrupting at ioapic0 pin 11                                           
usb0 at uhci0: USB revision 1.0                                                 
uhci1 at pci0 dev 16 function 1: vendor 0x1106 product 0x3038 (rev. 0x81)       
uhci1: interrupting at ioapic0 pin 11                                           
usb1 at uhci1: USB revision 1.0                                                 
uhci2 at pci0 dev 16 function 2: vendor 0x1106 product 0x3038 (rev. 0x81)       
uhci2: interrupting at ioapic0 pin 11                                           
usb2 at uhci2: USB revision 1.0                                                 
uhci3 at pci0 dev 16 function 3: vendor 0x1106 product 0x3038 (rev. 0x81)       
uhci3: interrupting at ioapic0 pin 11                                           
usb3 at uhci3: USB revision 1.0                                                 
ehci0 at pci0 dev 16 function 4: vendor 0x1106 product 0x3104 (rev. 0x86)       
ehci0: interrupting at ioapic0 pin 11                                           
ehci0: dropped intr workaround enabled                                          
ehci0: companion controllers, 2 ports each: uhci0 uhci1 uhci2 uhci3             
usb4 at ehci0: USB revision 2.0                                                 
viapcib0 at pci0 dev 17 function 0: vendor 0x1106 product 0x3227 (rev. 0x00)    
viapcib0: SMBus found at 0x500 (revision 0x0)                                   
iic0 at viapcib0: I2C bus                                                       
vr0 at pci0 dev 18 function 0: vendor 0x1106 product 0x3065 (rev. 0x78)         
ALKD: mpacpi_findintr_linkdev: irq mismatch (10 vs 1)                           
vr0: interrupting at ioapic0 pin 10                                             
vr0: Ethernet address: 00:e0:81:59:68:e4                                        
ukphy0 at vr0 phy 1: OUI 0x0002c6, model 0x0032, rev. 10                        
ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto                    
isa0 at viapcib0                                                                
com0 at isa0 port 0x3f8-0x3ff irq 4: ns16550a, working fifo                     
com0: console                                                                   
com1 at isa0 port 0x2f8-0x2ff irq 3: ns16550a, working fifo                     
acpicpu0 at cpu0: ACPI CPU                                                      
acpicpu1 at cpu1: ACPI CPU                                                      
uhub0 at usb0: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1    
uhub1 at usb1: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1    
uhub2 at usb2: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1    
uhub3 at usb3: vendor 0x1106 UHCI root hub, class 9/0, rev 1.00/1.00, addr 1    
uhub4 at usb4: vendor 0x1106 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1    
viaide0 port 0: device present, speed: 1.5Gb/s                                  
wd0 at atabus0 drive 0                                                          
viaide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 512 tc_skip: 0                                     
wd0: <SAMSUNG HD160JJ>                                                          
wd0: 149 GB, 310098 cyl, 16 head, 63 sec, 512 bytes/sect x 312579695 sectors    
viaide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 512 tc_skip: 0                                     
ehci_sync_hc: tsleep() = 35                                                     
ehci_sync_hc: tsleep() = 35                                                     
ehci_sync_hc: tsleep() = 35                                                     
uhub4: device problem, disabling port 1                                         
viaide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 512 tc_skip: 0                                     
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying        
ehci0: handing over low speed device on port 2 to uhci0                         
viaide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 512 tc_skip: 0                                     
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying        
viaide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 512 tc_skip: 0                                     
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying        
viaide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 512 tc_skip: 0                                     
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying        
viaide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 512 tc_skip: 0                                     
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying        
viaide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 512 tc_skip: 0                                     
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)                  
uhub0: device problem, disabling port 2                                         
viaide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 512 tc_skip: 0                                     
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying        
viaide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 512 tc_skip: 0                                     
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying        
viaide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 512 tc_skip: 0                                     
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying        
viaide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 512 tc_skip: 0                                     
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying        
viaide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 512 tc_skip: 0                                     
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying        
viaide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 512 tc_skip: 0                                     
wd0d: device timeout reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0)                  
wd0: dos partition I/O error                                                    
viaide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 512 tc_skip: 0                                     
wd0d: device timeout reading fsbn 1 (wd0 bn 1; cn 0 tn 0 sn 1), retrying        
viaide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 512 tc_skip: 0                                     
wd0d: device timeout reading fsbn 1 (wd0 bn 1; cn 0 tn 0 sn 1), retrying        
viaide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 512 tc_skip: 0                                     
wd0d: device timeout reading fsbn 1 (wd0 bn 1; cn 0 tn 0 sn 1), retrying        
viaide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 512 tc_skip: 0                                     
wd0d: device timeout reading fsbn 1 (wd0 bn 1; cn 0 tn 0 sn 1), retrying        
viaide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 512 tc_skip: 0                                     
wd0d: device timeout reading fsbn 1 (wd0 bn 1; cn 0 tn 0 sn 1), retrying        
viaide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 512 tc_skip: 0                                     
wd0d: device timeout reading fsbn 1 (wd0 bn 1; cn 0 tn 0 sn 1)                  
viaide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 0 tc_skip: 0                                       
viaide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 512 tc_skip: 0                                     
viaide0:0:0: lost interrupt                                                     
        type: ata tc_bcount: 512 tc_skip: 0 
>How-To-Repeat:
Boot into the system with ACPI enabled and SATA devices attached on VIA 
VT-310DP motherboard.
>Fix:



Home | Main Index | Thread Index | Old Index