IDE DVD-RW don't work with pata_via module

Bug #333363 reported by Corentin Chary
2
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: linux-image-generic

Hi

Here is my configuration:
Linux ordi 2.6.27-12-generic #1 SMP

SATA --- HD0
IDE 0 --- HD1
IDE 1 --- DVD
           \- DVD - RW

HD0 and HD1 are working.
IDE0 and IDE1 are new 80 wire cables, and I tried to swap them.

I've got two Abit AV8 motherboard and was able to reproduce that on both.
The old driver works, the pata_via never did.

# uname -a
Linux ordi 2.6.27-12-generic #1 SMP Thu Feb 5 09:26:35 UTC 2009 i686 GNU/Linux

# lsmod
Module Size Used by
af_packet 25728 2
binfmt_misc 16904 1
rfcomm 44432 0
sco 18308 2
bridge 56980 0
stp 10628 1 bridge
bnep 20480 2
l2cap 30464 6 rfcomm,bnep
bluetooth 61924 6 rfcomm,sco,bnep,l2cap
ppdev 15620 0
ipv6 263972 12
powernow_k8 22148 1
cpufreq_conservative 14600 0
cpufreq_stats 13188 0
cpufreq_userspace 11396 0
cpufreq_powersave 9856 0
cpufreq_ondemand 14988 1
freq_table 12672 3 powernow_k8,cpufreq_stats,cpufreq_ondemand
sbs 19464 0
sbshc 13440 1 sbs
container 11520 0
wmi 14504 0
pci_slot 12680 0
video 25232 0
output 11008 1 video
battery 18436 0
iptable_filter 10752 0
ip_tables 19600 1 iptable_filter
x_tables 22916 1 ip_tables
ac 12292 0
hwmon_vid 11264 0
eeprom 13584 0
lp 17156 0
snd_via82xx 32536 2
gameport 19468 1 snd_via82xx
snd_ac97_codec 111652 1 snd_via82xx
ac97_bus 9856 1 snd_ac97_codec
snd_pcm_oss 46848 0
snd_mixer_oss 22784 1 snd_pcm_oss
nvidia 4717332 32
snd_pcm 83204 3 snd_via82xx,snd_ac97_codec,snd_pcm_oss
evdev 17696 6
snd_page_alloc 16136 2 snd_via82xx,snd_pcm
snd_mpu401_uart 15360 1 snd_via82xx
snd_seq_dummy 10884 0
snd_seq_oss 38528 0
snd_seq_midi 14336 0
snd_rawmidi 29824 2 snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event 15232 2 snd_seq_oss,snd_seq_midi
shpchp 38036 0
snd_seq 57776 6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
parport_pc 39204 1
psmouse 45200 0
pci_hotplug 34976 1 shpchp
k8temp 12416 0
serio_raw 13444 0
parport 42604 3 ppdev,lp,parport_pc
amd64_agp 18184 1
snd_timer 29960 2 snd_pcm,snd_seq
button 14224 0
agpgart 42184 2 nvidia,amd64_agp
pcspkr 10624 0
snd_seq_device 15116 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
i2c_viapro 15764 0
snd 63268 15 snd_via82xx,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
i2c_core 31892 3 eeprom,nvidia,i2c_viapro
soundcore 15328 1 snd
ext3 133384 2
jbd 55828 1 ext3
mbcache 16004 1 ext3
sd_mod 42392 4
crc_t10dif 9984 1 sd_mod
sr_mod 22212 2
cdrom 43168 1 sr_mod
sg 39732 0
sata_via 15492 3
pata_via 16132 3
ata_generic 12932 0
usbhid 35840 0
hid 50560 1 usbhid
pata_acpi 12160 0
ehci_hcd 43788 0
uhci_hcd 30736 0
ohci1394 37936 0
libata 178208 4 sata_via,pata_via,ata_generic,pata_acpi
usbcore 149360 4 usbhid,ehci_hcd,uhci_hcd
scsi_mod 155212 4 sd_mod,sr_mod,sg,libata
via_velocity 37896 0
crc_ccitt 10112 1 via_velocity
dock 16656 1 libata
ieee1394 96324 1 ohci1394
raid10 30592 0
raid456 135184 0
async_xor 11520 1 raid456
async_memcpy 10112 1 raid456
async_tx 15312 3 raid456,async_xor,async_memcpy
xor 23688 2 raid456,async_xor
raid1 30080 0
raid0 15488 0
multipath 15104 0
linear 13440 0
md_mod 93852 6 raid10,raid456,raid1,raid0,multipath,linear
dm_mirror 27008 0
dm_log 17924 1 dm_mirror
dm_snapshot 26276 0
dm_mod 63432 3 dm_mirror,dm_log,dm_snapshot
thermal 23708 0
processor 42156 2 powernow_k8,thermal
fan 12548 0
fbcon 47648 0
tileblit 10880 1 fbcon
font 16512 1 fbcon
bitblit 13824 1 fbcon
softcursor 9984 1 bitblit
fuse 60956 1

# dmesg
[22647.157092] ata1.00: status: { DRDY }
[22647.157120] ata1: soft resetting link
[22647.345485] ata1.00: configured for PIO0
[22647.361438] ata1.01: configured for PIO0
[22647.361456] ata1: EH complete
[22677.361054] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[22677.361077] ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[22677.361080] cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[22677.361083] res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
[22677.361091] ata1.00: status: { DRDY }
[22677.361119] ata1: soft resetting link
[22677.549487] ata1.00: configured for PIO0
[22677.565440] ata1.01: configured for PIO0
[22677.565460] ata1: EH complete
[22707.565054] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[22707.565078] ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[22707.565081] cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[22707.565083] res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
[22707.565091] ata1.00: status: { DRDY }
[22707.565120] ata1: soft resetting link
[22707.753489] ata1.00: configured for PIO0
[22707.769439] ata1.01: configured for PIO0
[22707.769460] ata1: EH complete
[22737.769055] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[22737.769077] ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[22737.769081] cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[22737.769084] res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
[22737.769091] ata1.00: status: { DRDY }
[22737.769121] ata1: soft resetting link
[22737.957486] ata1.00: configured for PIO0
[22737.973439] ata1.01: configured for PIO0
[22737.973467] ata1: EH complete
[22744.973053] ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[22744.973077] ata1.01: cmd a0/00:00:00:08:00/00:00:00:00:00/b0 tag 0 pio 16392 in
[22744.973080] cdb 4a 01 00 00 10 00 00 00 08 00 00 00 00 00 00 00
[22744.973082] res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
[22744.973090] ata1.01: status: { DRDY }
[22744.973119] ata1: soft resetting link
[22745.161534] ata1.00: configured for PIO0
[22745.177442] ata1.01: configured for PIO0
[22745.177478] ata1: EH complete
[22745.177578] sr1: CDROM (ioctl) error, command: Get event status notification 4a 01 00 00 10 00 00 00 08 00
[22745.177599] sr: Sense Key : Aborted Command [current] [descriptor]
[22745.177608] sr: Add. Sense: No additional sense information
[22775.177053] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[22775.177075] ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[22775.177079] cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[22775.177082] res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
[22775.177089] ata1.00: status: { DRDY }
[22775.177118] ata1: soft resetting link
[22775.365485] ata1.00: configured for PIO0
[22775.381438] ata1.01: configured for PIO0
[22775.381456] ata1: EH complete
[22805.381054] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[22805.381078] ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[22805.381080] cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[22805.381083] res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
[22805.381091] ata1.00: status: { DRDY }
[22805.381119] ata1: soft resetting link
[22805.569485] ata1.00: configured for PIO0
[22805.585439] ata1.01: configured for PIO0
[22805.585456] ata1: EH complete
[22835.585057] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[22835.585080] ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[22835.585083] cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[22835.585086] res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
[22835.585093] ata1.00: status: { DRDY }
[22835.585122] ata1: soft resetting link
[22835.773489] ata1.00: configured for PIO0
[22835.789438] ata1.01: configured for PIO0
[22835.789468] ata1: EH complete
[22845.789054] ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[22845.789075] ata1.01: cmd a0/00:00:00:00:00/00:00:00:00:00/b0 tag 0
[22845.789078] cdb 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[22845.789081] res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
[22845.789089] ata1.01: status: { DRDY }
[22845.789117] ata1: soft resetting link
[22845.977482] ata1.00: configured for PIO0
[22845.993439] ata1.01: configured for PIO0
[22845.993457] ata1: EH complete
[22875.993054] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[22875.993077] ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[22875.993080] cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[22875.993083] res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
[22875.993090] ata1.00: status: { DRDY }
[22875.993119] ata1: soft resetting link
[22876.181485] ata1.00: configured for PIO0
[22876.197439] ata1.01: configured for PIO0
[22876.197456] ata1: EH complete
[22906.197054] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[22906.197076] ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[22906.197079] cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[22906.197082] res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
[22906.197089] ata1.00: status: { DRDY }
[22906.197118] ata1: soft resetting link
[22906.385485] ata1.00: configured for PIO0
[22906.401438] ata1.01: configured for PIO0
[22906.401466] ata1: EH complete
[22916.401058] ata1.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[22916.401081] ata1.01: cmd a0/00:00:00:00:00/00:00:00:00:00/b0 tag 0
[22916.401084] cdb 1e 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[22916.401087] res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
[22916.401094] ata1.01: status: { DRDY }
[22916.401123] ata1: soft resetting link
[22916.589488] ata1.00: configured for PIO0
[22916.605453] ata1.01: configured for PIO0
[22916.605478] ata1: EH complete
[22946.605054] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[22946.605077] ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[22946.605080] cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[22946.605083] res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
[22946.605091] ata1.00: status: { DRDY }
[22946.605120] ata1: soft resetting link
[22946.793483] ata1.00: configured for PIO0
[22946.809437] ata1.01: configured for PIO0
[22946.809455] ata1: EH complete
[22976.809054] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[22976.809078] ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[22976.809081] cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[22976.809084] res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
[22976.809092] ata1.00: status: { DRDY }
[22976.809120] ata1: soft resetting link
[22976.997486] ata1.00: configured for PIO0
[22977.013508] ata1.01: configured for PIO0
[22977.013527] ata1: EH complete
[23007.013054] ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[23007.013077] ata1.00: cmd a0/00:00:00:00:00/00:00:00:00:00/a0 tag 0
[23007.013080] cdb 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[23007.013082] res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
[23007.013090] ata1.00: status: { DRDY }
[23007.013119] ata1: soft resetting link
[23007.201483] ata1.00: configured for PIO0
[23007.217440] ata1.01: configured for PIO0
[23007.217459] ata1: EH complete

# lspci
00:00.0 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. K8T800Pro Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI bridge [K8T800/K8T890 South]
00:07.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller (rev 46)
00:0e.0 Ethernet controller: VIA Technologies, Inc. VT6120/VT6121/VT6122 Gigabit Ethernet Adapter (rev 11)
00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX 440] (rev a3)

Revision history for this message
Corentin Chary (iksaif) wrote :
Revision history for this message
Corentin Chary (iksaif) wrote :

After a modprobe -r pata_via; modprobe pata_via
I can read cdrom again.
Then after some time, it doesn't work (~1990 sec here)

[202004.899296] ISO 9660 Extensions: Microsoft Joliet Level 1
[202004.938133] ISOFS: changing to secondary root
[203994.249051] ata5.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
[203994.249078] ata5.01: cmd a0/00:00:00:08:00/00:00:00:00:00/b0 tag 0 pio 16392 in
[203994.249085] cdb 4a 01 00 00 10 00 00 00 08 00 00 00 00 00 00 00
[203994.249091] res 40/00:03:00:00:00/00:00:00:00:00/b0 Emask 0x4 (timeout)
[203994.249103] ata5.01: status: { DRDY }
[203994.249133] ata5: soft resetting link

Revision history for this message
Corentin Chary (iksaif) wrote :

I tried the latest git kernel, and it seems to be fixed.
But, I've heard the next ubuntu release is using 2.6.28, is there any chance that 2.6.29 could be used ?
Anyway the bug may be fixed in 2.6.28, so I'll try such a kernel, then post the results here.

Revision history for this message
Andy Whitcroft (apw) wrote :

This is not a bug in the linux-meta package, moving to the linux package.

affects: linux-meta (Ubuntu) → linux (Ubuntu)
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

Hi Corentin,

This bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? Can you try with the latest development release of Ubuntu? ISO CD images are available from http://cdimage.ubuntu.com/releases/lucid.

If it remains an issue, could you run the following command from a Terminal (Applications->Accessories->Terminal). It will automatically gather and attach updated debug information to this report.

apport-collect -p linux 333363

Also, if you could test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Once you've tested the upstream kernel, please remove the 'needs-upstream-testing' tag. This can be done by clicking on the yellow pencil icon next to the tag located at the bottom of the bug description and deleting the 'needs-upstream-testing' text. Please let us know your results.

Thanks in advance.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: needs-kernel-logs
tags: added: needs-upstream-testing
tags: added: kj-triage
Changed in linux (Ubuntu):
status: New → Incomplete
Revision history for this message
Jeremy Foshee (jeremyfoshee) wrote :

This bug report was marked as Incomplete and has not had any updated comments for quite some time. As a result this bug is being closed. Please reopen if this is still an issue in the current Ubuntu release http://www.ubuntu.com/getubuntu/download . Also, please be sure to provide any requested information that may have been missing. To reopen the bug, click on the current status under the Status column and change the status back to "New". Thanks.

[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]

tags: added: kj-expired
Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.