Skip to contentSkip to conversation

VIA VT82C416MV support

DISCUSSION Piotrek Kaczmarek 2 participants 3 messages Aug 28, 2001 – Aug 31, 2001

lore
Share & tools
lore
#0 lore raw

Hi,
I use 2.4.10-pre1-xfs series kernel (cvs checkout 2001-08-28) on a P133 based on a motherboard (don't remeber the manufacturer) with some VIA IDE controller, which seems to be
PCI_IDE: unknown IDE controller on PCI bus 00 device 08, VID=1106, DID=1571 for IDE driver....
VIA_82CXXX suport is compiled in kernel

Unfortunately i was unable to use UDMA33 mode with my FUJITSU MPF3204AT, ATA DISK drive (20496MB w/512KiB Cache)

Aug 22 22:32:49 vigo kernel: ide0: unexpected interrupt, status=0x58, count=2
Aug 22 22:33:03 vigo kernel: ide0: unexpected interrupt, status=0x58, count=3
Aug 22 22:33:12 vigo kernel: ide0: unexpected interrupt, status=0x58, count=4
Aug 22 22:33:22 vigo kernel: ide_dmaproc: chipset supported ide_dma_lostirq func only: 13
Aug 22 22:33:22 vigo kernel: hda: lost interrupt
Aug 22 22:33:22 vigo kernel: hda: dma_intr: status=0x58 { DriveReady SeekComplete DataRequest }
Aug 22 22:33:22 vigo kernel: hda: status timeout: status=0xd0 { Busy }
Aug 22 22:33:22 vigo kernel: hda: DMA disabled
Aug 22 22:33:22 vigo kernel: ide0: unexpected interrupt, status=0xd0, count=5
Aug 22 22:33:22 vigo kernel: hda: drive not ready for command
Aug 22 22:33:22 vigo kernel: ide0: reset: success

Here's my lspci -vvv output
00:01.0 IDE interface: VIA Technologies, Inc. VT82C416MV (rev 04) (prog-if 8a [Master SecP PriP])
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 4: I/O ports at 6000 [size=16]
Is that controller supported in 2.4 kernels ? or maybe i am missing something?

I'd be appreciated for any response

Cheers,
kaczorek

P.S.
sorry for my terrible english
please CC, i'm not subscribing l-k

Signature · 1 line
kaczorek
#1 lore raw
Quoted 30 lines · Piotrek Kaczmarek

Hi,
I use 2.4.10-pre1-xfs series kernel (cvs checkout 2001-08-28) on a P133 based on a motherboard (don't remeber the manufacturer) with some VIA IDE controller, which seems to be
PCI_IDE: unknown IDE controller on PCI bus 00 device 08, VID=1106, DID=1571 for IDE driver....
VIA_82CXXX suport is compiled in kernel

Unfortunately i was unable to use UDMA33 mode with my FUJITSU MPF3204AT, ATA DISK drive (20496MB w/512KiB Cache)

Aug 22 22:32:49 vigo kernel: ide0: unexpected interrupt, status=0x58, count=2
Aug 22 22:33:03 vigo kernel: ide0: unexpected interrupt, status=0x58, count=3
Aug 22 22:33:12 vigo kernel: ide0: unexpected interrupt, status=0x58, count=4
Aug 22 22:33:22 vigo kernel: ide_dmaproc: chipset supported ide_dma_lostirq func only: 13
Aug 22 22:33:22 vigo kernel: hda: lost interrupt
Aug 22 22:33:22 vigo kernel: hda: dma_intr: status=0x58 { DriveReady SeekComplete DataRequest }
Aug 22 22:33:22 vigo kernel: hda: status timeout: status=0xd0 { Busy }
Aug 22 22:33:22 vigo kernel: hda: DMA disabled
Aug 22 22:33:22 vigo kernel: ide0: unexpected interrupt, status=0xd0, count=5
Aug 22 22:33:22 vigo kernel: hda: drive not ready for command
Aug 22 22:33:22 vigo kernel: ide0: reset: success

Here's my lspci -vvv output
00:01.0 IDE interface: VIA Technologies, Inc. VT82C416MV (rev 04) (prog-if 8a [Master SecP PriP])
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 4: I/O ports at 6000 [size=16]
Is that controller supported in 2.4 kernels ? or maybe i am missing something?

Quoted 1 line

I'd be appreciated for any response

Wow, this must be a very ancient hardware! If you send me lspci -vvxxx, I'll take a look and perhaps we could make it work.

Signature · 2 lines
Vojtech Pavlik
SuSE Labs
#2 lore raw
In reply to Piotrek Kaczmarek
Quoted 10 lines · Piotrek Kaczmarek
Quoted 9 lines · Vojtech Pavlik
Quoted 8 lines · Piotrek Kaczmarek

Hi,
I use 2.4.10-pre1-xfs series kernel (cvs checkout 2001-08-28) on a P133 based on a motherboard (don't remeber the manufacturer) with some VIA IDE controller, which seems to be
PCI_IDE: unknown IDE controller on PCI bus 00 device 08, VID=1106, DID=1571 for IDE driver....
VIA_82CXXX suport is compiled in kernel

Quoted 6 lines
Quoted 3 lines
Quoted 1 line

Unfortunately i was unable to use UDMA33 mode with my

Wow, this must be a very ancient hardware! If you send me lspci -vvxxx, I'll take a look and perhaps we could make it work.

Ok, here it is:
00:01.0 IDE interface: VIA Technologies, Inc. VT82C416MV (rev 04) (prog-if 8a [Master SecP PriP])

This is probably a bad entry in the database. The IDE/ISA chip on your board is probably vt82c576m.

Quoted 8 lines
        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 4: I/O ports at 6000 [size=16]

00: 06 11 71 15 07 00 80 02 04 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 60 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 ff 00 00 00 40: 0b 02 09 3a 68 00 30 00 a8 20 a8 20 ff 00 ff ff

This (a8 20 a8 20 ff 00 ff ff) suggests that the chip could work with the normal vt82cxxx.c IDE driver. It refuses to do that now, though.

Could you send me the whole lspci -vvxxx, including namely the ISA bridge? With that knowledge I should be able to make a patch for you that'll enable your chip in vt82cxxx.c

Quoted 11 lines

50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 60: 00 02 00 00 00 00 00 00 00 02 00 00 00 00 00 00 70: 02 00 00 00 00 00 00 00 02 00 00 00 00 00 00 00 80: 00 50 2d 01 00 00 00 00 00 00 00 00 00 00 00 00 90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Vojtech

Signature · 2 lines
Vojtech Pavlik
SuSE Labs