Skip to contentSkip to conversation

optiarc bc-5500A can't read audio cds

Bug 12144 [email protected] 2 participants 36 messages Dec 4, 2008 – May 29, 2009 1 message not in the archive libata

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]/

#1 lore raw

http://bugzilla.kernel.org/show_bug.cgi?id=12144

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

         AssignedTo|drivers_input-              |[email protected]
                   |[email protected]|
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#2 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

------- Comment #4 from [email protected] 2008-12-04 06:40 ------- Hi,

here's what you could do for now:

1. Try a kernel without the proprietary nvidia module. I want to rule out the distant possibility of it interfering
2. Try a recent kernel since a lot changed in ide-cd in the 2.6.26..2.6.27 timeframe

also what does

cat /proc/sys/dev/cdrom/info

say?

Thanks,
Boris.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#3 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #5 from [email protected] 2008-12-04 09:13 ------- I'll try with other kernels next week, hoping they'll work.

CD-ROM information, Id: cdrom.c 3.20 2003/12/17

drive name:             hda
drive speed:            24
drive # of slots:       1
Can close tray:         1
Can open tray:          1
Can lock tray:          1
Can change speed:       1
Can select disk:        0
Can read multisession:  1
Can read MCN:           1
Reports media changed:  1
Can play audio:         0
Can write CD-R:         1
Can write CD-RW:        1
Can read DVD:           1
Can write DVD-R:        1
Can write DVD-RAM:      1
Can read MRW:           1
Can write MRW:          1
Can write RAM:          1
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#4 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #6 from [email protected] 2008-12-04 10:18 ------- ... or you can simply try the attached patch against stock 2.6.27. I'm pretty sure it'll fix your problem :).

Thanks,
Boris.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#5 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #7 from [email protected] 2008-12-04 10:19 ------- Created an attachment (id=19147)
--> (http://bugzilla.kernel.org/attachment.cgi?id=19147&action=view)
Add Optiarc BD ROM BC-5500A to the quirks list

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#6 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #8 from [email protected] 2008-12-14 11:11 ------- Well, i've installed the 2.6.27.7 kernel without the nvidia module (i think and hope it's because of this that it's impossible to start the x server...) but when i try to play audio cds the output is: "ioctl cdromplaymsf: Operation not supported"
I noticed some differences between the output of "cat /proc/sys/dev/cdrom/info" in the old and in the new kernel. In kernel 2.6.27.7 "Drive name" is sr.0 and "Can play audio" is set to 1. However "Can select disk" is set to 0. I hope that can help.

PS- i haven't tried the patch. Should I?

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#7 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #9 from [email protected] 2008-12-14 13:16 ------- This happens because the scsi cdrom driver (sr) is registering with the cdrom.

Can you play audio with that driver?

Regards,
Boris.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#8 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #10 from [email protected] 2008-12-14 15:27 ------- Sorry, maybe I misunderstood you.
I'm not able to play any audio cd in kernel 2.6.27.7 too. The output of "cdplay /dev/hda" is "cdplay: ioctl cdromplaymsf: Operation not supported".
The module of scsi-cdrom is loaded.
What do you suggest?

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#9 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #11 from [email protected] 2008-12-14 22:13 ------- Hi,

hm, that's strange. Normally, if "Can play audio" is set, you should be able to do that and according to, e.g.
http://www.sony-optiarc.eu/en/exhibits/slim-line-drives/bc-5500a, your hardware is capable of playing audio. Well, you could try my patch to see if it fixes your problem with ide-cd. However, make sure not to load scsi-cdrom but the ide_cd_mod module.

Thanks,
Boris.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#10 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #12 from [email protected] 2008-12-16 11:12 ------- Created an attachment (id=19328)
--> (http://bugzilla.kernel.org/attachment.cgi?id=19328&action=view)
log of dmesg | grep sr0

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#11 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #13 from [email protected] 2008-12-16 11:14 ------- First of all, thanks for all the help you're giving me!
I've applied the patch to the kernel 2.6.27.7 but the output of cdplay still be "cdplay: ioctl cdromplaymsf: Operation not supported".
I wasn't able to find any log of cdplay, but I've attached the output of dmesg | grep sr0

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#13 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #15 from [email protected] 2008-12-16 13:27 ------- Sure!
The first attachment contains all the kernl logs; the second one contains just the logs of 2.6.27.7 kernel.
Thank you

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#14 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #16 from [email protected] 2008-12-16 13:28 ------- Created an attachment (id=19331)
--> (http://bugzilla.kernel.org/attachment.cgi?id=19331&action=view)
kernel logs

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#15 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #17 from [email protected] 2008-12-16 13:29 ------- Created an attachment (id=19332)
--> (http://bugzilla.kernel.org/attachment.cgi?id=19332&action=view)
2.6.27.7 kernel logs

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#16 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #18 from [email protected] 2008-12-16 14:02 ------- Thanks.

You're using libata ata_piix driver in 2.6.27.7 and IDE piix one in 2.6.26-1.

To try Borislav's patch you need to use IDE piix host driver and ide-cd device driver.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#17 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #19 from [email protected] 2008-12-18 07:24 ------- Sorry, but I don't know how to do that. Could you explain me that, please?

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#18 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #20 from [email protected] 2008-12-18 07:45 ------- Hi,

you need to disable the loading of the ata_piix.ko kernel module for the 2.6.27 kernel you're going to test the patch with. If you still don't know what to do, just reconfigure your kernel by issuing:

make menuconfig

in the kernel sources, then go to "Device Drivers" -> "Serial ATA (prod) and Parallel ATA (experimental) drivers" and disable the menu point "Intel ESB, ICH, PIIX3, PIIX4 PATA/SATA support" and then apply the patch, recompile your kernel, install it and reboot the machine.

Regards,
Boris.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#19 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #21 from [email protected] 2008-12-18 10:07 ------- I suppose I had to do just a rmmod ata_piix, but anyway, I did how you said and I had recompiled my kernel.

#cdplay /dev/hda

[   91.441974] ATAPI device hda:
[   91.445955]     Invalid command operation code -- (asc=0x20, ascq=0x00)
[   91.445955]     the failed "play audio msf" packet command was:
[   91.445955]     "47 00 00 00 02 00 28 35 00 00 00 00 00 00 00 00"

cdplay: ioctl cdromplaymsf: Input/output error

#dmesg | grep hda

[    3.932386] hda: Optiarc BD ROM BC-5500A, ATAPI CD/DVD-ROM drive
[    4.604110] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[    4.604230] hda: UDMA/33 mode selected
[    5.189033] hda: ATAPI 24X DVD-ROM DVD-R-RAM CD-R/RW drive, 2048kB Cache
[   75.576637] hda: packet command error: status=0x51 { DriveReady SeekComplete
Error }
[   75.576656] hda: packet command error: error=0x54 { AbortedCommand
LastFailedSense=0x05 }
[   75.577371] ATAPI device hda:
[   91.441485] hda: packet command error: status=0x51 { DriveReady SeekComplete
Error }
[   91.441503] hda: packet command error: error=0x54 { AbortedCommand
LastFailedSense=0x05 }
[   91.441974] ATAPI device hda:
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#20 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #22 from [email protected] 2008-12-21 22:20 ------- Hi,

thanks for testing. It seems that your drive really can't playing audio. Please revert the old patch I sent you and try this next one - it asks the drive whether it supports play audio commands. Then do send me the whole dmesg boot log.

Thanks,
Boris.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#21 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #19147|0                           |1

is obsolete| |

------- Comment #23 from [email protected] 2008-12-21 22:21 ------- Created an attachment (id=19416)
--> (http://bugzilla.kernel.org/attachment.cgi?id=19416&action=view)
check audio ops support

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#22 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

  Attachment #19416|0                           |1

is obsolete| |

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#23 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #24 from [email protected] 2008-12-21 22:23 ------- Created an attachment (id=19417)
--> (http://bugzilla.kernel.org/attachment.cgi?id=19417&action=view)
check audio ops support v2

This is the correct one

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#24 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #25 from [email protected] 2008-12-26 12:30 ------- Hi,
I hope you had a merry christmas!
This is the output of dmesg with your new patch. However I have windows installed on the same machine and I can play audio normally with it (I hope I'll can do the same with Linux).
Thanks

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#25 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #26 from [email protected] 2008-12-26 12:31 ------- Created an attachment (id=19498)
--> (http://bugzilla.kernel.org/attachment.cgi?id=19498&action=view)
log of dmesg

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#26 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #27 from [email protected] 2008-12-27 00:27 ------- Hi,

Thanks, hope your holidays were happy too! Ok, well, I'm afraid that we'll have to trace the driver to see exactly what happens. Here's how:

1. Apply the attached big debug patch + whitelist entry for your drive in the quirks list ontop of the last audio ops patch
2. Build your kernel, reboot the machine (here you'll see lots of output whizzing by)
3. Send me the whole boot log (I assume dmesg output will be truncated so you can cut it from /var/log/syslog instead, since you're using a debian system)

Thanks for your debugging help so far :).

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#27 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #28 from [email protected] 2008-12-27 00:29 ------- Created an attachment (id=19499)
--> (http://bugzilla.kernel.org/attachment.cgi?id=19499&action=view)
full debug patch

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#28 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #29 from [email protected] 2008-12-27 04:32 ------- I'm sorry, but I don't understand what did you mean with "whitelist entry for your drive". I've just added the new patch ontop of the previous one, but I think it's wrong because the outputs during the boot were not so much (I'm sorry for my short knowledge of english and linux).
However that is the boot log.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#29 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #30 from [email protected] 2008-12-27 04:32 ------- Created an attachment (id=19501)
--> (http://bugzilla.kernel.org/attachment.cgi?id=19501&action=view)
boot log

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#30 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

------- Comment #31 from [email protected] 2008-12-27 11:17 ------- Wait a minute. It's quite likely that the drive in fact cannot play audio in the way you're trying to make it. Modern systems don't normally play audio in this way anymore, this requires an analog audio output from the drive into the sound hardware which is unlikely on a laptop. In Windows Media Player, etc. when you insert an audio CD it's actually digitally extracting the audio from the disc and playing it, which does not involve the "play audio" command. I'm sure there is some media player software in Linux which will do the same.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#31 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #32 from [email protected] 2008-12-28 00:45 ------- Hi,

yep, that might be the reason, thanks Robert. Marco, can you try playing audio with another player which can "Use direct digital playback" - at least this is how the option is called in kscd's settings (KDE) I tried here.

Thanks.

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#32 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

------- Comment #33 from [email protected] 2009-01-17 03:26 ------- Robert, you were right!
I have installed NVIDIA driver in 2.6.27.7 kernel patched with Borislav's patch and when I have started gnome, soundjuicer started to play the cd! I've noticed that is slower than Windows Media Player and there are some errors during the reproduction, but it's a great success for me.
Thanks Borislav, Robert and Bartlomiej!

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#34 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |REJECTED
         Resolution|                            |DOCUMENTED
Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#35 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|REJECTED |CLOSED

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
#36 lore raw
In reply to a message not in the archive

http://bugzilla.kernel.org/show_bug.cgi?id=12144

Borislav Petkov <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|[email protected] |[email protected]

Signature · 3 lines
Configure bugmail: http://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching the assignee of the bug.