Skip to contentSkip to conversation

ide <-> via VT82C693A/694x problems?

DISCUSSION Erik Steffl 5 participants 10 messages May 1, 2002 – May 12, 2002

lore
Share & tools
lore
#0 lore raw

it looks like the CD audio ripping doesn't work on my via
VT82C693A/694x based motherboard, even though it works fine when I connect cd drive to PCI ide controller.

when doing audio ripping on MB's ide there are 'lost interrupt'
messages in syslog and ripping is VERY slow (hours per song), there is an interrupt lost every 40 - 100 ide commands (it seems the timing doesn't matter, when I stepped through cdparanoia using debugger it was the same as when just running cdparanoia).

internal MB's ide works fine for everything else: harddrives work OK,
data cd, cd burning all work properly. only audio ripping doesn't work (regardless of whether I use hdc or ide-scsi)

I tried to use different CD drive, different ide cable, different ide
slot, HDs in different ide slots etc. nothing makes any difference, the audio ripping on the internal ide doesn't work, everything else works.

any ideas what might be wrong? is it a ide driver <-> motherboard
problem?

TIA

system info:

kernel 2.4.17 and 2.4.18 (same behaviour)
MB: VIA Technologies, Inc. VT82C693A/694x (abit) cd drive: TDK CDRW321040B, ATAPI CD/DVD-ROM drive alternative cd drive: old mitsumi
kernel config: CONFIG_BLK_DEV_VIA82CXXX=y dma access both on and off (same problem) 32 bit access both on and off (same problem)

jojda:/dev# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo
PRO133x] (rev c4)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo
MVP3/Pro133x AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South]
(rev 40)
00:07.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06)
00:07.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
(rev 40)
00:09.0 SCSI storage controller: Artop Electronic Corp: Unknown device
0009 (rev 02)
00:0b.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139
(rev 10)
00:0f.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo 3 (rev
01)

btw for some reason the additional ide controller is listed as SCSI
storage controller: Artop Electronic Corp in the lspci output above.

erik

#1 lore raw

You have an AEC6280 or AEC6880 depending of if it is raid or not.

That Chipset is supported jsut you need patches.

Andre Hedrick
LAD Storage Consulting Group

Quoted 61 lines · Erik Steffl

it looks like the CD audio ripping doesn't work on my via
VT82C693A/694x based motherboard, even though it works fine when I connect cd drive to PCI ide controller.

when doing audio ripping on MB's ide there are 'lost interrupt'
messages in syslog and ripping is VERY slow (hours per song), there is an interrupt lost every 40 - 100 ide commands (it seems the timing doesn't matter, when I stepped through cdparanoia using debugger it was the same as when just running cdparanoia).

internal MB's ide works fine for everything else: harddrives work OK,
data cd, cd burning all work properly. only audio ripping doesn't work (regardless of whether I use hdc or ide-scsi)

I tried to use different CD drive, different ide cable, different ide
slot, HDs in different ide slots etc. nothing makes any difference, the audio ripping on the internal ide doesn't work, everything else works.

any ideas what might be wrong? is it a ide driver <-> motherboard
problem?

TIA

system info:

kernel 2.4.17 and 2.4.18 (same behaviour)
MB: VIA Technologies, Inc. VT82C693A/694x (abit) cd drive: TDK CDRW321040B, ATAPI CD/DVD-ROM drive alternative cd drive: old mitsumi
kernel config: CONFIG_BLK_DEV_VIA82CXXX=y dma access both on and off (same problem) 32 bit access both on and off (same problem)

jojda:/dev# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo
PRO133x] (rev c4)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo
MVP3/Pro133x AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South]
(rev 40)
00:07.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06)
00:07.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
(rev 40)
00:09.0 SCSI storage controller: Artop Electronic Corp: Unknown device
0009 (rev 02)
00:0b.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139
(rev 10)
00:0f.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo 3 (rev
01)

btw for some reason the additional ide controller is listed as SCSI
storage controller: Artop Electronic Corp in the lspci output above.

erik
-
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/

#2 lore raw
Quoted 4 lines · Andre Hedrick

You have an AEC6280 or AEC6880 depending of if it is raid or not.

That Chipset is supported jsut you need patches.

are you referring to the pci ide card? that one seeems to be working
correctly (at least for cd audio ripping). so I guess the patch would be for proper pci id?

the MB uses via chips so I included via82cxxx driver (as a module). is
that correct?

however, I just checked and via82cxxx is NOT loaded. What do I need to
do to make ide driver is using via82cxxx module?

I have ide driver compiled in (booting from ide hd), does via82cxxx
have to be compiled in?

erik

Quoted 73 lines

Andre Hedrick
LAD Storage Consulting Group

Quoted 54 lines · Erik Steffl

it looks like the CD audio ripping doesn't work on my via
VT82C693A/694x based motherboard, even though it works fine when I connect cd drive to PCI ide controller.

when doing audio ripping on MB's ide there are 'lost interrupt'
messages in syslog and ripping is VERY slow (hours per song), there is an interrupt lost every 40 - 100 ide commands (it seems the timing doesn't matter, when I stepped through cdparanoia using debugger it was the same as when just running cdparanoia).

internal MB's ide works fine for everything else: harddrives work OK,
data cd, cd burning all work properly. only audio ripping doesn't work (regardless of whether I use hdc or ide-scsi)

I tried to use different CD drive, different ide cable, different ide
slot, HDs in different ide slots etc. nothing makes any difference, the audio ripping on the internal ide doesn't work, everything else works.

any ideas what might be wrong? is it a ide driver <-> motherboard
problem?

TIA

system info:

kernel 2.4.17 and 2.4.18 (same behaviour)
MB: VIA Technologies, Inc. VT82C693A/694x (abit) cd drive: TDK CDRW321040B, ATAPI CD/DVD-ROM drive alternative cd drive: old mitsumi
kernel config: CONFIG_BLK_DEV_VIA82CXXX=y dma access both on and off (same problem) 32 bit access both on and off (same problem)

jojda:/dev# lspci
00:00.0 Host bridge: VIA Technologies, Inc. VT82C693A/694x [Apollo
PRO133x] (rev c4)
00:01.0 PCI bridge: VIA Technologies, Inc. VT82C598/694x [Apollo
MVP3/Pro133x AGP]
00:07.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South]
(rev 40)
00:07.1 IDE interface: VIA Technologies, Inc. Bus Master IDE (rev 06)
00:07.4 Host bridge: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI]
(rev 40)
00:09.0 SCSI storage controller: Artop Electronic Corp: Unknown device
0009 (rev 02)
00:0b.0 Ethernet controller: D-Link System Inc RTL8139 Ethernet (rev 10)
00:0d.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139
(rev 10)
00:0f.0 VGA compatible controller: 3Dfx Interactive, Inc. Voodoo 3 (rev
01)

btw for some reason the additional ide controller is listed as SCSI
storage controller: Artop Electronic Corp in the lspci output above.

Quoted 7 lines

erik
-
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/

#3 lore raw
Quoted 8 lines · Erik Steffl

the MB uses via chips so I included via82cxxx driver (as a module). is
that correct?

however, I just checked and via82cxxx is NOT loaded. What do I need to
do to make ide driver is using via82cxxx module?

I have ide driver compiled in (booting from ide hd), does via82cxxx
have to be compiled in?

You mean the ide module is on the ide drive ? And you want it to be loaded before any ide access ?

#4 lore raw
In reply to Andre Hedrick
Quoted 5 lines · Xavier Bestel
Quoted 3 lines · Erik Steffl

the MB uses via chips so I included via82cxxx driver (as a module). is
that correct?

Quoted 8 lines
Quoted 5 lines

however, I just checked and via82cxxx is NOT loaded. What do I need to
do to make ide driver is using via82cxxx module?

I have ide driver compiled in (booting from ide hd), does via82cxxx
have to be compiled in?

You mean the ide module is on the ide drive ? And you want it to be loaded before any ide access ?

ide is compiled in (not a module), via82cxxx is a module.

via82cxxx is never loaded - what do I need to do to actually use this
module? Most other modules are loaded either automatically or an alias is needed, however I have no idea what to do to make kernel use via82cxxx (would ide module use it?). I thought that as long as I configure it in kernel make xconfig as a module it will be used, but it's not loaded (so I guess it's not used).

I suspect that it might be the reason why my cd drive does not rip
audio cds...

erik

#5 lore raw
In reply to Andre Hedrick
Quoted 24 lines · Erik Steffl
Quoted 5 lines · Xavier Bestel
Quoted 3 lines · Erik Steffl

the MB uses via chips so I included via82cxxx driver (as a module). is
that correct?

Quoted 8 lines
Quoted 5 lines

however, I just checked and via82cxxx is NOT loaded. What do I need to
do to make ide driver is using via82cxxx module?

I have ide driver compiled in (booting from ide hd), does via82cxxx
have to be compiled in?

You mean the ide module is on the ide drive ? And you want it to be loaded before any ide access ?

ide is compiled in (not a module), via82cxxx is a module.

via82cxxx is never loaded - what do I need to do to actually use this
module? Most other modules are loaded either automatically or an alias is needed, however I have no idea what to do to make kernel use via82cxxx (would ide module use it?). I thought that as long as I configure it in kernel make xconfig as a module it will be used, but it's not loaded (so I guess it's not used).

Quoted 2 lines

I suspect that it might be the reason why my cd drive does not rip
audio cds...

via82cxxx cannot be compiled as a module - Config.in doesn't allow that. And not only that - it doesn't support it in the source - it has to be compiled into the IDE driver to work.

Signature · 2 lines
Vojtech Pavlik
SuSE Labs
#6 lore raw
In reply to Andre Hedrick

Uz.ytkownik Xavier Bestel napisa?:

Quoted 10 lines · Erik Steffl
Quoted 9 lines

the MB uses via chips so I included via82cxxx driver (as a module). is
that correct?

however, I just checked and via82cxxx is NOT loaded. What do I need to
do to make ide driver is using via82cxxx module?

I have ide driver compiled in (booting from ide hd), does via82cxxx
have to be compiled in?

It has to be compiled in.

#7 lore raw
In reply to Andre Hedrick
Quoted 26 lines · Vojtech Pavlik
Quoted 24 lines · Erik Steffl
Quoted 5 lines · Xavier Bestel
Quoted 3 lines · Erik Steffl

the MB uses via chips so I included via82cxxx driver (as a module). is
that correct?

Quoted 8 lines
Quoted 5 lines

however, I just checked and via82cxxx is NOT loaded. What do I need to
do to make ide driver is using via82cxxx module?

I have ide driver compiled in (booting from ide hd), does via82cxxx
have to be compiled in?

You mean the ide module is on the ide drive ? And you want it to be loaded before any ide access ?

ide is compiled in (not a module), via82cxxx is a module.

via82cxxx is never loaded - what do I need to do to actually use this
module? Most other modules are loaded either automatically or an alias is needed, however I have no idea what to do to make kernel use via82cxxx (would ide module use it?). I thought that as long as I configure it in kernel make xconfig as a module it will be used, but it's not loaded (so I guess it's not used).

Quoted 6 lines
Quoted 2 lines

I suspect that it might be the reason why my cd drive does not rip
audio cds...

via82cxxx cannot be compiled as a module - Config.in doesn't allow that. And not only that - it doesn't support it in the source - it has to be compiled into the IDE driver to work.

you're right, I didn't check it, just assumed it's a module! Anyway,
since I have checked the via support for ide (from kernel configuration CONFIG_BLK_DEV_VIA82CXXX=y) it means that I have support for via82C* ide compiled in, the main question still remains - why is the CD audio ripping causing 'lost interrupt' on via ide, while everything else is working and audio cd ripping is working with pci ide card (same computer, same cd drive).

any pointers where to look? I'd appreciate something just a bit more
specific than just pointing me to ide driver...

TIA

erik

#8 lore raw
In reply to Andre Hedrick
Quoted 42 lines · Erik Steffl
Quoted 26 lines · Vojtech Pavlik
Quoted 24 lines · Erik Steffl
Quoted 5 lines · Xavier Bestel
Quoted 3 lines · Erik Steffl

the MB uses via chips so I included via82cxxx driver (as a module). is
that correct?

Quoted 8 lines
Quoted 5 lines

however, I just checked and via82cxxx is NOT loaded. What do I need to
do to make ide driver is using via82cxxx module?

I have ide driver compiled in (booting from ide hd), does via82cxxx
have to be compiled in?

You mean the ide module is on the ide drive ? And you want it to be loaded before any ide access ?

ide is compiled in (not a module), via82cxxx is a module.

via82cxxx is never loaded - what do I need to do to actually use this
module? Most other modules are loaded either automatically or an alias is needed, however I have no idea what to do to make kernel use via82cxxx (would ide module use it?). I thought that as long as I configure it in kernel make xconfig as a module it will be used, but it's not loaded (so I guess it's not used).

Quoted 6 lines
Quoted 2 lines

I suspect that it might be the reason why my cd drive does not rip
audio cds...

via82cxxx cannot be compiled as a module - Config.in doesn't allow that. And not only that - it doesn't support it in the source - it has to be compiled into the IDE driver to work.

you're right, I didn't check it, just assumed it's a module! Anyway,
since I have checked the via support for ide (from kernel configuration CONFIG_BLK_DEV_VIA82CXXX=y) it means that I have support for via82C* ide compiled in, the main question still remains - why is the CD audio ripping causing 'lost interrupt' on via ide, while everything else is working and audio cd ripping is working with pci ide card (same computer, same cd drive).

Quoted 2 lines

any pointers where to look? I'd appreciate something just a bit more
specific than just pointing me to ide driver...

What kernel version is that (2.5, 2.4 ... )? Have you tried some other? Have you tried disabling DMA on the drive? (hdparm -d0 /dev/...) Have you tried disabling the VIA support?

Signature · 2 lines
Vojtech Pavlik
SuSE Labs
#9 lore raw
In reply to Andre Hedrick
Quoted 44 lines · Vojtech Pavlik
Quoted 42 lines · Erik Steffl
Quoted 26 lines · Vojtech Pavlik
Quoted 24 lines · Erik Steffl
Quoted 5 lines · Xavier Bestel
Quoted 3 lines · Erik Steffl

the MB uses via chips so I included via82cxxx driver (as a module). is
that correct?

Quoted 8 lines
Quoted 5 lines

however, I just checked and via82cxxx is NOT loaded. What do I need to
do to make ide driver is using via82cxxx module?

I have ide driver compiled in (booting from ide hd), does via82cxxx
have to be compiled in?

You mean the ide module is on the ide drive ? And you want it to be loaded before any ide access ?

ide is compiled in (not a module), via82cxxx is a module.

via82cxxx is never loaded - what do I need to do to actually use this
module? Most other modules are loaded either automatically or an alias is needed, however I have no idea what to do to make kernel use via82cxxx (would ide module use it?). I thought that as long as I configure it in kernel make xconfig as a module it will be used, but it's not loaded (so I guess it's not used).

Quoted 6 lines
Quoted 2 lines

I suspect that it might be the reason why my cd drive does not rip
audio cds...

via82cxxx cannot be compiled as a module - Config.in doesn't allow that. And not only that - it doesn't support it in the source - it has to be compiled into the IDE driver to work.

you're right, I didn't check it, just assumed it's a module! Anyway,
since I have checked the via support for ide (from kernel configuration CONFIG_BLK_DEV_VIA82CXXX=y) it means that I have support for via82C* ide compiled in, the main question still remains - why is the CD audio ripping causing 'lost interrupt' on via ide, while everything else is working and audio cd ripping is working with pci ide card (same computer, same cd drive).

Quoted 6 lines
Quoted 2 lines

any pointers where to look? I'd appreciate something just a bit more
specific than just pointing me to ide driver...

What kernel version is that (2.5, 2.4 ... )? Have you tried some other? Have you tried disabling DMA on the drive? (hdparm -d0 /dev/...) Have you tried disabling the VIA support?

I tried:

2.4.17, VIA support, DMA on/off, 32 bit access on/off 2.4.18, VIA support, DMA on/off, 32 bit access on/off 2.4.18 with ide patches from linux-ide.org, VIA support on and off

all with same results - audio ripping is VERY slow and there is a lot
of 'lost interrupt' messages in syslog.

I didn't dare to try 2.5.x as it seems like there's lot of changes
related to IDE and there were some problems with currupting HD...

erik