Skip to contentSkip to conversation

Still broken sata (VIA) on Asus A8V (kernel 2.6.14+) with irqbalance

DISCUSSION Dyson 2 participants 5 messages Oct 17, 2006 – Oct 20, 2006

lore
Share & tools
lore

Dyson

author
#0 lore raw

(REG, Still broken sata (VIA) on Asus A8V (kernel 2.6.14+) with irqbalance)

Ok, a little late,

Heikki Orsila, can you send dmesg from working kernel
and /proc/interrupts too ?
and if you have a dmesg from a not working kernel can you send too ?

Vladimir B. Savkin , have you try the patch if so , please send the results

Thanks,

Quoted 14 lines · Heikki Orsila
Quoted 13 lines · Sergio Monteiro Basto

cat DMESG | grep -i fixup
PCI: VIA IRQ fixup for 0000:00:0f.1, from 255 to 0
PCI: VIA IRQ fixup for 0000:00:10.0, from 11 to 3
PCI: VIA IRQ fixup for 0000:00:10.1, from 11 to 3
PCI: VIA IRQ fixup for 0000:00:10.2, from 10 to 3

with IO-APIC working , you could try patches to not "VIA IRQ quirk fixup", but could not be the main problem.

I have a very experimental patch
http://lkml.org/lkml/2006/7/28/99

Quoted 8 lines
Quoted 2 lines

Which you can just apply and make bzImage, install and reboot , don't need to recompile all over again.

Applied, tried and it worked! I couldn't reproduce the error in 30 minutes of stress testing. With a buggy kernel it only took a matter of minutes to reproduce it. Thank you for your effort.

Heikki Orsila

-------------

I was getting these sata messages after about 8 to 10 hours of uptime and the computer would freeze at least twice a day repeatedly for a week.

Oct 16 05:36:17 O1600 kernel: ata1: command 0x35 timeout, stat 0x50 host_stat 0x4
Oct 16 05:36:47 O1600 kernel: ata1: command 0xea timeout, stat 0x50 host_stat 0x0

I tried kernel 2.6.19-rc2 and I would get this message instead with the computer freezing.

Oct 15 00:04:36 O1600 kernel: APIC error on CPU0: 00(08) 

I put in the patch mentioned below to get rid of the VIA IRQ fixup for a VIA K8T800 SMP machine and the computer hasn't froze yet after 19 hours.

The motherboard is a MSI K8T Master2-FAR with two Opteron 242s.

Here is the IRQ fixup messages pre patch running kernel 2.6.16.21-0.25-custom (SuSE 10.1):

<6>PCI: VIA IRQ fixup for 0000:00:0f.1, from 255 to 9 <6>VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci0000:00:0f.1 <6>PCI: VIA IRQ fixup for 0000:00:10.0, from 10 to 1
<6>PCI: VIA IRQ fixup for 0000:00:10.1, from 10 to 1
<6>PCI: VIA IRQ fixup for 0000:00:10.2, from 11 to 1

Post patch I don't have any VIA fixup messages.

The lspci and interrupts look the same before and after the patch. eth0 and nvidia weren't irq balancing pre or post the patch - I'm not sure why.

Here is my interrupts: -post patch

CPU0 CPU1

  0:   32807264   32848573    IO-APIC-edge  timer
  1:       1701       1693    IO-APIC-edge  i8042
  7:          0          2    IO-APIC-edge  parport0
  8:          0          0    IO-APIC-edge  rtc
  9:          0          1   IO-APIC-level  acpi
 12:     212960     207505    IO-APIC-edge  i8042
 14:     558126     566095    IO-APIC-edge  ide0
 15:     295527     293224    IO-APIC-edge  ide1
169:     267097     277613   IO-APIC-level  libata
177:    9915860         10   IO-APIC-level  eth0, nvidia
185:          0          0   IO-APIC-level  uhci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb3, ehci_hcd:usb4
193:      30462      29909   IO-APIC-level  EMU10K1
201:          0          3   IO-APIC-level  ohci1394
209:          0          0   IO-APIC-level  cx88[0]
NMI:      64698      64682
LOC:   65647942   65646061
ERR:          0
MIS:          0

Here is my lspci -vvv post patch

00:00.0 Host bridge: VIA Technologies, Inc. VT8385 [K8T800 AGP] Host Bridge (rev 01)
Subsystem: Micro-Star International Co., Ltd. Unknown device 1300
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 8
Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
Capabilities: [80] AGP version 3.0
Status: RQ=32 Iso- ArqSz=0 Cal=2 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3+ Rate=x4,x8
Command: RQ=1 ArqSz=0 Cal=2 SBA+ AGP+ GART64- 64bit- FW+ Rate=x8
Capabilities: [c0] HyperTransport: Slave or Primary Interface
!!! Possibly incomplete decoding
Command: BaseUnitID=0 UnitCnt=3 MastHost- DefDir-
Link Control 0: CFlE- CST- CFE- <LkFail- Init+ EOC- TXO- <CRCErr=0
Link Config 0: MLWI=16bit MLWO=16bit LWI=16bit LWO=16bit
Link Control 1: CFlE- CST- CFE- <LkFail+ Init- EOC+ TXO+ <CRCErr=0
Link Config 1: MLWI=8bit MLWO=8bit LWI=8bit LWO=8bit
Revision ID: 1.02
Capabilities: [68] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [58] HyperTransport: Interrupt Discovery and Configuration

00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South] (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000f000-00000fff
Memory behind bridge: f8000000-f9ffffff
Prefetchable memory behind bridge: e0000000-efffffff
Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR+
BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B-
Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:06.0 Multimedia audio controller: Creative Labs SB Audigy (rev 03)
Subsystem: Creative Labs SB0090 Audigy Player
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (500ns min, 5000ns max)
Interrupt: pin A routed to IRQ 193
Region 0: I/O ports at 9000 [size=32]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:06.1 Input device controller: Creative Labs SB Audigy MIDI/Game port (rev 03)
Subsystem: Creative Labs SB Audigy MIDI/Game Port
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32
Region 0: I/O ports at 9400 [size=8]
Capabilities: [dc] Power Management version 2
Flags: PMEClk- DSI+ D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:06.2 FireWire (IEEE 1394): Creative Labs SB Audigy FireWire Port (prog-if 10 [OHCI])
Subsystem: Creative Labs SB Audigy FireWire Port
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (500ns min, 1000ns max), Cache Line Size 08
Interrupt: pin B routed to IRQ 201
Region 0: Memory at fb014000 (32-bit, non-prefetchable) [size=2K]
Region 1: Memory at fb010000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0+,D1+,D2+,D3hot+,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME+

00:08.0 Multimedia video controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder (rev 05)
Subsystem: ATI Technologies Inc ATI TV Wonder Pro
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (5000ns min, 13750ns max), Cache Line Size 08
Interrupt: pin A routed to IRQ 209
Region 0: Memory at fa000000 (32-bit, non-prefetchable) [size=16M]
Capabilities: [44] Vital Product Data
Capabilities: [4c] Power Management version 2
Flags: PMEClk- DSI+ D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0b.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5705 Gigabit Ethernet (rev 03)
Subsystem: Micro-Star International Co., Ltd. Unknown device 1300
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (16000ns min), Cache Line Size 08
Interrupt: pin A routed to IRQ 177
Region 0: Memory at fb000000 (64-bit, non-prefetchable) [size=64K]
Capabilities: [48] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=1 PME-
Capabilities: [50] Vital Product Data
Capabilities: [58] Message Signalled Interrupts: 64bit+ Queue=0/3 Enable-
Address: ffffff7ffffffdf4 Data: ffff

00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)

        Subsystem: Micro-Star International Co., Ltd. Unknown device 1300
        Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32
        Interrupt: pin B routed to IRQ 169
        Region 0: I/O ports at 9800 [size=8]
        Region 1: I/O ports at 9c00 [size=4]
        Region 2: I/O ports at a000 [size=8]
        Region 3: I/O ports at a400 [size=4]
        Region 4: I/O ports at a800 [size=16]
        Region 5: I/O ports at ac00 [size=256]
        Capabilities: [c0] Power Management version 2
                Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06) (prog-if 8a [Master SecP PriP])
Subsystem: Micro-Star International Co., Ltd. Unknown device 1300
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32
Interrupt: pin A routed to IRQ 169
Region 4: I/O ports at b000 [size=16]
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd. Unknown device 1300
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32, Cache Line Size 08
Interrupt: pin A routed to IRQ 185
Region 4: I/O ports at b400 [size=32]
Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd. Unknown device 1300
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32, Cache Line Size 08
Interrupt: pin A routed to IRQ 185
Region 4: I/O ports at b800 [size=32]
Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81) (prog-if 00 [UHCI])
Subsystem: Micro-Star International Co., Ltd. Unknown device 1300
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32, Cache Line Size 08
Interrupt: pin B routed to IRQ 185
Region 4: I/O ports at bc00 [size=32]
Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86) (prog-if 20 [EHCI])
Subsystem: Micro-Star International Co., Ltd. Unknown device 1300
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32, Cache Line Size 10
Interrupt: pin C routed to IRQ 185
Region 0: Memory at fb015000 (32-bit, non-prefetchable) [size=256]
Capabilities: [80] Power Management version 2
Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=375mA PME(D0+,D1+,D2+,D3hot+,D3cold+)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
Subsystem: Micro-Star International Co., Ltd. Unknown device 1300
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Capabilities: [c0] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-

00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Capabilities: [80] HyperTransport: Host or Secondary Interface
!!! Possibly incomplete decoding
Command: WarmRst+ DblEnd-
Link Control: CFlE- CST- CFE- <LkFail- Init+ EOC- TXO- <CRCErr=0
Link Config: MLWI=16bit MLWO=16bit LWI=16bit LWO=16bit
Revision ID: 1.02
Capabilities: [a0] HyperTransport: Host or Secondary Interface
!!! Possibly incomplete decoding
Command: WarmRst+ DblEnd-
Link Control: CFlE- CST- CFE- <LkFail+ Init- EOC+ TXO+ <CRCErr=0
Link Config: MLWI=16bit MLWO=16bit LWI=N/C LWO=N/C
Revision ID: 1.02
Capabilities: [c0] HyperTransport: Host or Secondary Interface
!!! Possibly incomplete decoding
Command: WarmRst+ DblEnd-
Link Control: CFlE- CST- CFE- <LkFail- Init+ EOC- TXO- <CRCErr=0
Link Config: MLWI=16bit MLWO=16bit LWI=16bit LWO=16bit
Revision ID: 1.02

00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:19.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Capabilities: [80] HyperTransport: Host or Secondary Interface
!!! Possibly incomplete decoding
Command: WarmRst+ DblEnd-
Link Control: CFlE- CST- CFE- <LkFail+ Init- EOC+ TXO+ <CRCErr=0
Link Config: MLWI=16bit MLWO=16bit LWI=N/C LWO=N/C
Revision ID: 1.02
Capabilities: [a0] HyperTransport: Host or Secondary Interface
!!! Possibly incomplete decoding
Command: WarmRst+ DblEnd-
Link Control: CFlE- CST- CFE- <LkFail- Init+ EOC- TXO- <CRCErr=0
Link Config: MLWI=16bit MLWO=16bit LWI=16bit LWO=16bit
Revision ID: 1.02
Capabilities: [c0] HyperTransport: Host or Secondary Interface
!!! Possibly incomplete decoding
Command: WarmRst+ DblEnd-
Link Control: CFlE- CST- CFE- <LkFail+ Init- EOC+ TXO+ <CRCErr=0
Link Config: MLWI=16bit MLWO=16bit LWI=N/C LWO=N/C
Revision ID: 1.02

00:19.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:19.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-

00:19.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
Control: I/O- Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-

01:00.0 VGA compatible controller: nVidia Corporation NV36.1 [GeForce FX 5700 Ultra] (rev a1) (prog-if 00 [VGA])
Subsystem: Chaintech Computer Co. Ltd Unknown device 194c
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 248 (1250ns min, 250ns max)
Interrupt: pin A routed to IRQ 177
Region 0: Memory at f8000000 (32-bit, non-prefetchable) [size=16M]
Region 1: Memory at e0000000 (32-bit, prefetchable) [size=256M]
[virtual] Expansion ROM at f9000000 [disabled] [size=128K]
Capabilities: [60] Power Management version 2
Flags: PMEClk- DSI- D1- D2- AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
Status: D0 PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [44] AGP version 3.0
Status: RQ=32 Iso- ArqSz=0 Cal=3 SBA+ ITACoh- GART64- HTrans- 64bit- FW+ AGP3+ Rate=x4,x8
Command: RQ=32 ArqSz=0 Cal=0 SBA+ AGP+ GART64- 64bit- FW+ Rate=x8

Thanks,

Dyson

-----------------------------------------------------------------

#1 lore raw
Quoted 2 lines · Dyson

I put in the patch mentioned below to get rid of the VIA IRQ fixup for a VIA K8T800 SMP machine and the computer hasn't froze yet after 19 hours

Ok many thanks for your positive report :)
Now the latest patch is http://lkml.org/lkml/diff/2006/9/7/235/1 from
http://lkml.org/lkml/2006/9/7/235
which is in -mm kernels,
and I also need the patch to have more stability , but don't resolve all problems

best regards,

Signature · 1 line
Sérgio M. B.
author
#2 lore raw
Quoted 6 lines · Sergio Monteiro Basto
Quoted 3 lines · Dyson

I put in the patch mentioned below to get rid of the VIA IRQ fixup for a VIA K8T800 SMP machine and the computer hasn't froze yet after 19 hours

Quoted 9 lines

Ok many thanks for your positive report :)
Now the latest patch is http://lkml.org/lkml/diff/2006/9/7/235/1 from
http://lkml.org/lkml/2006/9/7/235
which is in -mm kernels,
and I also need the patch to have more stability , but don't resolve all problems

best regards,

Yes, I spoke a little too soon.

I did more testing with a USB drive and it blew up after a few minutes. It was fine until I used USB.

I edited the original 2.6.16 quirks.c to not fixup the IDE bus and still fixup the USB IRQs.

So far it's testing OK with dd copy loading to IDE, sata and USB simultaneously.

-

I will test the latest patch and give you results.

Thanks,

Dyson

#3 lore raw
Quoted 3 lines · Dyson

I edited the original 2.6.16 quirks.c to not fixup the IDE bus and still
fixup the USB IRQs.

Please, send /proc/interrupts to see what interrupt is USB ? if USB interrupt it lower than 15 should try latest patch.

I think this always the same problem.
if we don't do the IRQ routing well, the drivers team will workaround, when we put IRQ routing well, the workaround will blow it.

thanks,
--
Sérgio M. B.

author
#4 lore raw
Quoted 10 lines · Sergio Monteiro Basto
Quoted 4 lines · Dyson

I edited the original 2.6.16 quirks.c to not fixup the IDE bus and still
fixup the USB IRQs.

Please, send /proc/interrupts to see what interrupt is USB ? if USB interrupt it lower than 15 should try latest patch.

Quoted 9 lines

I think this always the same problem.
if we don't do the IRQ routing well, the drivers team will workaround, when we put IRQ routing well, the workaround will blow it.

thanks,
--
Sérgio M. B.

Here is /proc/interrupts after the latest irq quirk fixup patch on 2.6.16.21-0.25 (SuSE 10.1)

CPU0 CPU1

  0:    4764315    4776891    IO-APIC-edge  timer
  1:       1561       1760    IO-APIC-edge  i8042
  7:          0          2    IO-APIC-edge  parport0
  8:          0          0    IO-APIC-edge  rtc
  9:          0          1   IO-APIC-level  acpi
 12:      19297      16184    IO-APIC-edge  i8042
 14:     340719     349253    IO-APIC-edge  ide0
 15:     238846     223092    IO-APIC-edge  ide1
177:    2190978    2192974   IO-APIC-level  uhci_hcd:usb1,
uhci_hcd:usb2, uhci_hcd:usb3, ehci_hcd:usb4
185:    2887523    2860372   IO-APIC-level  EMU10K1, eth0, nvidia
193:          0          3   IO-APIC-level  ohci1394
201:          0          0   IO-APIC-level  cx88[0]
NMI:      37523      37525
LOC:    9541392    9541212
ERR:          0
MIS:          0

After much more testing I'm thinking it's a hardware problem with the SATA ports on the motherboard so they are disabled.

I may go back to an older kernel version to see if it still freezes using USB, IDE and SATA at the same time.

This is the fixup messages I got before the patch:

<6>PCI: VIA IRQ fixup for 0000:00:0f.1, from 255 to 9 <6>PCI: VIA IRQ fixup for 0000:00:10.0, from 10 to 1 <6>PCI: VIA IRQ fixup for 0000:00:10.1, from 10 to 1 <6>PCI: VIA IRQ fixup for 0000:00:10.2, from 11 to 1

0000:00:10.x are the USB ports.
0000:00:0f.1 is the IDE.

The USB interrupt is the same pre and post patch.

Thanks,

Dyson