Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 353212 - CD-ROM will not play audio CDs
Summary: CD-ROM will not play audio CDs
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-30 09:17 UTC by John Moe
Modified: 2011-03-17 10:56 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Output of lspci -v (lspci,12.79 KB, text/plain)
2011-01-30 09:17 UTC, John Moe
Details
Output of zcat /proc/config.gz (zcat_config_gz,65.31 KB, text/plain)
2011-02-02 09:06 UTC, John Moe
Details
Output of lsscsi -v (lsscsi,515 bytes, text/plain)
2011-02-03 23:04 UTC, John Moe
Details

Note You need to log in before you can comment on or make changes to this bug.
Description John Moe 2011-01-30 09:17:09 UTC
I've got an HP 6930p with x86-"stable" installed.  I can play video DVDs, read CD and DVD data disc, but audio CDs give me numerous repetitions of this sort of thing:

Jan 30 18:57:48 aus8617 kernel: end_request: I/O error, dev sr0, sector 96
Jan 30 18:57:48 aus8617 kernel: sr 1:0:0:0: [sr0]  Result: hostbyte=0x00 driverbyte=0x08
Jan 30 18:57:48 aus8617 kernel: sr 1:0:0:0: [sr0]  Sense Key : 0x5 [current] 
Jan 30 18:57:48 aus8617 kernel: sr 1:0:0:0: [sr0]  ASC=0x64 ASCQ=0x0
Jan 30 18:57:48 aus8617 kernel: sr 1:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 00 00 1a 00 00 02 00
Jan 30 18:57:48 aus8617 kernel: end_request: I/O error, dev sr0, sector 104
Jan 30 18:57:48 aus8617 kernel: sr 1:0:0:0: [sr0]  Result: hostbyte=0x00 driverbyte=0x08
Jan 30 18:57:48 aus8617 kernel: sr 1:0:0:0: [sr0]  Sense Key : 0x5 [current] 
Jan 30 18:57:48 aus8617 kernel: sr 1:0:0:0: [sr0]  ASC=0x64 ASCQ=0x0
Jan 30 18:57:48 aus8617 kernel: sr 1:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 00 00 38 00 00 01 00
Jan 30 18:57:48 aus8617 kernel: end_request: I/O error, dev sr0, sector 224
Jan 30 18:57:48 aus8617 kernel: sr 1:0:0:0: [sr0]  Result: hostbyte=0x00 driverbyte=0x08
Jan 30 18:57:48 aus8617 kernel: sr 1:0:0:0: [sr0]  Sense Key : 0x5 [current] 
Jan 30 18:57:48 aus8617 kernel: sr 1:0:0:0: [sr0]  ASC=0x64 ASCQ=0x0
Jan 30 18:57:48 aus8617 kernel: sr 1:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 00 00 39 00 00 01 00

I've done some Googling, and found a few recent similar errors in Ubuntu, but no real solutions.  As such, I believe it's a kernel problem, but not sure if I should file against the Gentoo kernel, or the general Linux kernel.  I figured I'd start here.

Reproducible: Always

Steps to Reproduce:
tail -f /var/log/messages
insert audio CD

Actual Results:  
watch /var/log/messages get about 200 instances of the loop shown above

Expected Results:  
sound to come out of the speakers

Portage 2.1.9.25 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.36-gentoo-r5 i686)
=================================================================
System uname: Linux-2.6.36-gentoo-r5-i686-Intel-R-_Core-TM-2_Duo_CPU_T9600_@_2.80GHz-with-gentoo-1.12.14
Timestamp of tree: Fri, 28 Jan 2011 20:45:01 +0000
app-shells/bash:     4.1_p9
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.6.6-r1, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA AdobeFlash-10.1 dlj-1.1 googleearth skype-eula"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -fomit-frame-pointer -march=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -fomit-frame-pointer -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS=" ftp://ftp.swin.edu.au/gentoo http://ftp.swin.edu.au/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en en_AU en_GB en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise"
SYNC="rsync://rsync.au.gentoo.org/gentoo-portage"
USE="X acl acpi alsa apache2 bash-completion berkdb branding bzip2 cddai cdr cli cracklib crypt cups cxx dbus dri dvd dvdr dvdread encode ffmpeg flac fortran gdbm gif gpm gtk hal handbook hddtemp iconv jpeg kde lame lm_sensors mad mmx mng modules msn mudflap mysql mysqli ncurses nls nptl nptlonly nsplugin offensive opengl openmp oscar pam pcre perl php png pppd python qt3support qt4 rdesktop readline session skype smp sndfile sql sse sse2 ssl svg sysfs tablib tcpd tiff truetype unicode usb v4l2 vcd vim-syntax vorbis wav webkit x86 xml xorg xscreensaver xulrunner zlib" ALSA_CARDS="intel-hda usb-audio" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_AU en_GB en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fglrx radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 John Moe 2011-01-30 09:17:51 UTC
Created attachment 261073 [details]
Output of lspci -v
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2011-02-01 17:23:45 UTC
If you start with an older kernel, does it then work again?

Also, please attach your kernel .config.

Also, find a simple program to play an audio CD, and provide the steps to reproduce the problem using that program.

Did you try different audio CDs? Does it play any sound at all? Does the drive make the usual reading noises?
Comment 3 John Moe 2011-02-02 09:06:26 UTC
Created attachment 261322 [details]
Output of zcat /proc/config.gz
Comment 4 John Moe 2011-02-02 09:12:53 UTC
I haven't tried with an older kernel; I've only got 2.6.34-r6 & 2.6.34-r12 on here; is that old enough, or do you want me to try older?

I've tried down to cdplay at a command prompt, no X running, and it gives the following:

jmoe@aus8617 ~ $ cdplay --device=/dev/cdrom -v -c
Playing from CD-Track: 1
Playing cd-track: 1 [02:15]
Playing cd-track: 2 [07:14]
Playing cd-track: 3 [04:16]
Playing cd-track: 4 [08:52]
Playing cd-track: 5 [06:10]
Playing cd-track: 6 [02:48]
Playing cd-track: 7 [05:21]
Playing cd-track: 8 [04:53]
Playing cd-track: 9 [02:25]

It doesn't actually play the tracks, it skips from one track to the next about every second.  So it's reading the CD, it just can't play the audio for some reason.

And I've tried a few different CDs, and made sure they were straight audio CDs (not mixed data/audio CDs), and still the same problem.

Also, I forgot to mention in the original description, that I *can* use cdparanoia and cdda2wav to rip the music off the CDs, but I can't play the audio directly.
Comment 5 Jeroen Roovers (RETIRED) gentoo-dev 2011-02-03 19:25:25 UTC
(In reply to comment #4)
> I haven't tried with an older kernel; I've only got 2.6.34-r6 & 2.6.34-r12 on
> here; is that old enough, or do you want me to try older?

Assuming that a kernel update caused this issue, it would be nice to find out which kernel it does work with. It should be rather easy to just whip out some aging Live CD on a bootable USB drive to test just this with.

Also, emerge lsscsi and print the output of `lsscsi -v' so we know what model the drive is.
Comment 6 John Moe 2011-02-03 23:04:21 UTC
Created attachment 261456 [details]
Output of lsscsi -v
Comment 7 John Moe 2011-02-03 23:07:00 UTC
Output of lsscsi -v attached.

The assumption that it was caused by a kernel upgrade is false.  This is a new(-ish) build that I hadn't tested CD audio on until I wanted to rip some more CDs from my collection to my hard drive.  When I tried that (on the current kernel), I couldn't get anything to recognise it.

However, I've got a previous kernel build I'll boot to and see if it makes any difference.  And I'll dig out an older Gentoo build CD and test with that, and get back to you on whether it works.
Comment 8 John Moe 2011-02-04 06:23:10 UTC
Well, I just tried it with my 2.6.34-r6 kernel, and that gave the same results when I tried to use cdplay.  I'll have to try and find an old LiveCD of some sort and see if I get different results.
Comment 9 Jeroen Roovers (RETIRED) gentoo-dev 2011-02-15 22:09:05 UTC
It could be useful to know which similar problems you found in Ubuntu.
Comment 10 Mike Pagano gentoo-dev 2011-02-16 14:24:57 UTC
Can you possibly try another distro's live cd, maybe Knoppix?

This might not be a kernel issue at all.