Skip to contentSkip to conversation

VT8367 [KT266] and high IDE load crashes

DISCUSSION Henning Schroeder 2 participants 2 messages Apr 28, 2002 – Apr 29, 2002

lore
Share & tools
lore
#0 lore raw

Hello,

I have an ASUS A7V266-E Mainboard (VT8367 [KT266] Chipset, with VIA IDE and Promise 20265 IDE Controller on board) that keeps crashing under high IDE load. Athlon XP2000+ cpu, 1.5GiB DDR-RAM.

At each IDE port (running UDMA100), a MAXTOR 6L020J1 (four in total) running as master is connected.

The system runs fine for days, until I start massaging (e.g. running mysql over a raid-0 array of the four drives) the IDE system.
Using just one channel works perfectly, but as soon as I use two or more channels heavily at the same time, it doesn´t take long for the system to go down.

For testing, linux is installed on hda, so hdc, hde & hdf are unused. I issue

badblocks -b 4096 -c 50000 -p 5 -v /dev/hdc &
badblocks -b 4096 -c 50000 -p 5 -v /dev/hde &
badblocks -b 4096 -c 50000 -p 5 -v /dev/hdg &

for stress testing and see the following after seconds, minutes or hours:

hdc: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 14
hdc: status error: status=0x59 { DriveReady SeekComplete DataRequest Error }
hdc: status error: error=0x84 { DriveStatusError BadCRC }
hdc: drive not ready for command
hdc: timeout waiting for DMA
ide_dmaproc: chipset supported ide_dma_timeout func only: 14
hdc: status error: status=0x59 { DriveReady SeekComplete DataRequest Error }
hdc: status error: error=0x84 { DriveStatusError BadCRC }
hdc: drive not ready for command
[...]

(different hd´s everytime). After a while, the system either crashes or says "Unable to handle kernel paging request..." and crashes with blinking keyboard led´s (CapsLock/ScrollLock)

Sometimes, there is "timeout waiting for DMA" or "drive not ready for command" interspersed.

When I reboot I usually find out that the root fs on hda4(!) is fried (Kernel panic: VFS: Unable to mount root fs on 03:04). e2fsck finds gazillions of errors, what I don´t quite understand, since hda shouldn´t have been touched very much.

Switching to PIO helps, but is not an option (system is supposed to be a fast budget MySQL-Server with RAID-0). Removing Hard Disks does not help, the problem occurs as well when I use only drives at the VIA interface or only ones on the Promise interface.

I tried kernels 2.2.20, 2.4.18, 2.4.17 with Andre Hedricks ide.2.4.17.02152002.patch, 2.4.19p7, 2.4.19p7-ac2 and 2.4.19p7 with Andre Hedricks ide-2.4.19-p7.all.convert.6.patch. Same everywhere.

I tried BIOS versions 1004, 1007 and 1008.003 beta. No avail.

I changed and rerouted IDE cables. The PSU should be okay as well, because it happens with only two drives (less load on the PSU) too. RAM is fine (several days of memtest86).

Quoted 1 line

From reading this list and googling it seems that problems like these

seem to be quite common, but i couldn´t find out whether they are likely to be solved any time soon. Would I be better off just replacing the board? From my understanding, the KT266 is the problem here, so would a AMD761/VT82C686B chipset be trouble free?

Attached is some further information, I´d be happy to provide more if wanted/needed.

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

dmesg says:

Linux version 2.4.19-pre7-ac2 (root@odin) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 Sun Apr 28 14:15:13 CEST 2002 [...]
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PDC20265: IDE controller on PCI bus 00 dev 30
PCI: Found IRQ 12 for device 00:06.0
PDC20265: chipset revision 2
PDC20265: not 100% native mode: will probe irqs later
PDC20265: (U)DMA Burst Bit ENABLED Primary PCI Mode Secondary PCI Mode.

    ide2: BM-DMA at 0xb400-0xb407, BIOS settings: hde:DMA, hdf:pio
    ide3: BM-DMA at 0xb408-0xb40f, BIOS settings: hdg:DMA, hdh:pio

VP_IDE: IDE controller on PCI bus 00 dev 89
PCI: Assigned IRQ 5 for device 00:11.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: VIA vt8233 (rev 00) IDE UDMA100 controller on pci00:11.1

    ide0: BM-DMA at 0xa400-0xa407, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xa408-0xa40f, BIOS settings: hdc:DMA, hdd:pio

hda: MAXTOR 6L020J1, ATA DISK drive
hdc: MAXTOR 6L020J1, ATA DISK drive
hde: MAXTOR 6L020J1, ATA DISK drive
hdg: MAXTOR 6L020J1, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ide2 at 0xd800-0xd807,0xd402 on irq 12
ide3 at 0xd000-0xd007,0xb802 on irq 12
hda: 40132503 sectors (20548 MB) w/1819KiB Cache, CHS=2498/255/63, UDMA(100)
hdc: 40132503 sectors (20548 MB) w/1819KiB Cache, CHS=39813/16/63, UDMA(100)
hde: 40132503 sectors (20548 MB) w/1819KiB Cache, CHS=39813/16/63, UDMA(100)
hdg: 40132503 sectors (20548 MB) w/1819KiB Cache, CHS=39813/16/63, UDMA(100) [...]

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

lspci says:

00:00.0 Host bridge: VIA Technologies, Inc. VT8367 [KT266]
00:01.0 PCI bridge: VIA Technologies, Inc. VT8367 [KT266 AGP]
00:06.0 Unknown mass storage controller: Promise Technology, Inc. 20265 (rev 02) 00:0c.0 VGA compatible unclassified device: S3 Inc. 86c864 [Vision 864 DRAM] vers 0 00:0e.0 Ethernet controller: Intel Corp. 82557 [Ethernet Pro 100] (rev 0c) 00:0f.0 Ethernet controller: Intel Corp. 82557 [Ethernet Pro 100] (rev 0c) 00:11.0 ISA bridge: VIA Technologies, Inc. VT8233 PCI to ISA Bridge 00:11.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06)

i´m using the intel e100 drivers because the eepro100 give me errors (card reports no resources et al.)

Best regards,
Henning

Signature · 1 line
   Henning Schroeder, Wuerzburg                          mailto:[email protected]                        
#1 lore raw
Quoted 5 lines · Henning Schroeder

Hello,

I have an ASUS A7V266-E Mainboard (VT8367 [KT266] Chipset, with VIA IDE and Promise 20265 IDE Controller on board) that keeps crashing under high IDE load. Athlon XP2000+ cpu, 1.5GiB DDR-RAM.

This is the same problem that I have attempted to report with regards to the Athlon processors. It's especially nasty when you mix scsi modules + the ide stuff. I hard compiled everything into the kernel before, but I still have problems.

Just now my computer crashed when I was attempting to mount my floppy drive. In fact, it crashes all the time (when in X) when I attempt to mount my floppy drive during or after high IDE activity.

See attached messages for more information.

-Elmo

Hi Andre, hi list!

I'm also having random lockups with an ASUS A7V266-E Mainboard, Athlon XP 1800+.
Chipset is the VIA KT266A, kernel 2.4.18 (SuSE version 2.4.18-58, from SuSE 8.0).
Nothing in the logs.

Andre, could you verify your possible answer? Any results?

Thanks, Richard

Quoted 3 lines · Andre Hedrick

Hi Josh,

I think I have an answer why the crash but I need to verify with a

client

Quoted 1 line

as we are seeing the same problem on various VIA boards. The good new

is

Quoted 11 lines

we found on board that does not do this nasty. So we are doing a component wide comparisong of settings.

It is a really cool and smart embedded server found at

      http://www.nit.ca/

Cheers,

Andre Hedrick
LAD Storage Consulting Group

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Hi Josh,

I think I have an answer why the crash but I need to verify with a client as we are seeing the same problem on various VIA boards. The good new is we found on board that does not do this nasty. So we are doing a component wide comparisong of settings.

It is a really cool and smart embedded server found at

	http://www.nit.ca/

Cheers,

Andre Hedrick
LAD Storage Consulting Group

Quoted 30 lines · Josh McKinney
Quoted 7 lines · Denis Vlasenko
Quoted 4 lines

I get (when FSCK):

spurious 8259A IRQ7

cat /proc/interrupts, is ther lots of ERR: interrupts?

I also get the spurious 8259A messages upon booting my Soyo Dragon+ board, KT266A chipset. Here is the output of /proc/interrupts:

CPU0

  0:    1146449          XT-PIC  timer
  1:       1258          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  8:          1          XT-PIC  rtc
 10:      10584          XT-PIC  eth0
 11:          0          XT-PIC  es1370
 12:         20          XT-PIC  PS/2 Mouse
 14:         17          XT-PIC  ide0
 15:      15193          XT-PIC  ide1
NMI:          0
LOC:    1146346
ERR:         78
MIS:          0

I am just curious as to what this means, I haven't seen any real problems with the board, except for everything wanting to go to IRQ 11, but that isn't a kernel issue.

Quoted 8 lines

Josh

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

Quoted 10 lines · Martin Eriksson

First check out what kind of chipset you really have; lspci -xs 0:0
should do the thing. Post the results.

In the meantime, you can try to compile for "Pentium-Pro/Celeron/Pentium-II", and check your BIOS settings one more time (set stuff to "safe" values). Also, do you have a really recent kernel, such as 2.4.18? There were some changes in the Athlon/VIA "quirks" department a while ago, but after 2.4.15 (i think).

I think I tried the pentium stuff, but that would freeze up the computer too (the HD light comes on, and nothing else works, not even ping(!)) But I think that was for a <=2.4.14. I should try it again.

Here's the output of lspci:

polywog:~ # lspci -xs 0:0
00:00.0 Host bridge: VIA Technologies, Inc. VT8363/8365 [KT133/KM133] (rev 03) 00: 06 11 05 03 06 00 10 22 03 00 00 06 00 08 00 00
10: 08 00 00 d0 00 00 00 00 00 00 00 00 00 00 00 00
20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
30: 00 00 00 00 a0 00 00 00 00 00 00 00 00 00 00 00

polywog:~ # lspci -xs 0:7.1
00:07.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06) 00: 06 11 71 05 07 00 90 02 06 8a 01 01 00 20 00 00
10: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
20: 01 c0 00 00 00 00 00 00 00 00 00 00 06 11 71 05
30: 00 00 00 00 c0 00 00 00 00 00 00 00 ff 00 00 00

New news, I got up this morning and the computer was frozen again. This time, I compiled in the kernel (not as modules) SCSI, SCSI CD, SCSI Disk, PPA, completely removed ide-scsi stuff, compiled in ide-cdrom. So I took ide-scsi out of the loop altogether.

polywog:~ # cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 4
model name : AMD Athlon(tm) Processor
stepping : 2
cpu MHz : 1199.714
cache size : 256 KB
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
pat pse36 mmx fxsr syscall mmxext 3dnowext 3dnow
bogomips : 2392.06

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/