Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
2.6 Kernel with Alsa, can't play audio CDs
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
labrador
Guru
Guru


Joined: 04 Oct 2003
Posts: 316

PostPosted: Wed Dec 10, 2003 2:36 pm    Post subject: 2.6 Kernel with Alsa, can't play audio CDs Reply with quote

I found one other post with this problem, but I can't find it today,
so I'm bumping the issue with a new post.

I have 2.6-test11 kernel with Alsa sound. I've seen the mini-HOWTO
and I have sound working in stuff like tux racer, playing mp3s with
xmms, and hearing the KDE start up and shut down sounds.

My problem is that I cannot play audio CDs. My machine is dual boot
with Windows, and I know it works with the usual cable in the back
(not digital audio) from the soundcard to the CDROM.

When I try to play the audio CD in Kscd, the time in minutes:seconds
shows, and the CD spins, but lots of these errors show in the messages log:
Code:

hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54
end_request: I/O error, dev hdd, sector 0
Buffer I/O error on device hdd, logical block 0
hdd: command error: status=0x51 { DriveReady SeekComplete Error }
hdd: command error: error=0x54
end_request: I/O error, dev hdd, sector 4
Buffer I/O error on device hdd, logical block 1


This CD can mount a data cdrom and access its contents fine.
The failure also occurs with my DVD-ROM drive using the audio CD.

The following options are set up in the .config:

Code:

CONFIG_SOUND=y

#
# Advanced Linux Sound Architecture
#
CONFIG_SND=y
CONFIG_SND_SEQUENCER=y
CONFIG_SND_SEQ_DUMMY=m
CONFIG_SND_OSSEMUL=y
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_SEQUENCER_OSS=y
# CONFIG_SND_RTCTIMER is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set


Someone in another thread mentioned the IDE options.
This is what I've got:

Code:

CONFIG_IDE=y
CONFIG_BLK_DEV_IDE=y
# CONFIG_BLK_DEV_HD_IDE is not set
CONFIG_BLK_DEV_IDEDISK=y
CONFIG_IDEDISK_MULTI_MODE=y
# CONFIG_IDEDISK_STROKE is not set
CONFIG_BLK_DEV_IDECD=y
# CONFIG_BLK_DEV_IDETAPE is not set
# CONFIG_BLK_DEV_IDEFLOPPY is not set
CONFIG_BLK_DEV_IDESCSI=m
# CONFIG_IDE_TASK_IOCTL is not set
# CONFIG_IDE_TASKFILE_IO is not set


xmms will not see the audio, and K3B does not see the audio on the CDROM, and kscd sees some time information, but does not play the audio music.

Is this a kernel bug? Where should it be reported?
Back to top
View user's profile Send private message
IronKnight
n00b
n00b


Joined: 10 Dec 2003
Posts: 10
Location: West Virginia

PostPosted: Wed Dec 10, 2003 7:40 pm    Post subject: Reply with quote

Under your kernel config, go under Device Drivers>ATA/ATAPI/MFM/RLL support, and under Include IDE/ATA-2 DISK support, enable Use multi-mode by default. The help on that setting shows a very similar error message to the one you are receiving.

Let me know if this works.
Back to top
View user's profile Send private message
labrador
Guru
Guru


Joined: 04 Oct 2003
Posts: 316

PostPosted: Wed Dec 10, 2003 8:21 pm    Post subject: Multi mode is turned on Reply with quote

Quote:
Under your kernel config, go under Device Drivers>ATA/ATAPI/MFM/RLL support, and under Include IDE/ATA-2 DISK support, enable Use multi-mode by default.

Thanks for the tip.

I believe it is on, as I listed in my kernel config:
Code:
CONFIG_IDEDISK_MULTI_MODE=y
Back to top
View user's profile Send private message
IronKnight
n00b
n00b


Joined: 10 Dec 2003
Posts: 10
Location: West Virginia

PostPosted: Wed Dec 10, 2003 11:08 pm    Post subject: Reply with quote

Shoot, sorry, I didn't pay enough attention and missed that you already had that.

I'm not totally sure they are related, but you may try checking if the drive has multiple sector transfer on, using hdparm -v /dev/hdd (or /dev/hdc). If it is, turn it off with hdparm -m0 /dev/hdd and try it again. My CD drives don't support that setting at all, though, so I'm not sure if this is even a possibility.

Just out of curiousity, what IDE chipset do you have? It may be something with a known bug.
Back to top
View user's profile Send private message
labrador
Guru
Guru


Joined: 04 Oct 2003
Posts: 316

PostPosted: Thu Dec 11, 2003 3:35 am    Post subject: It is just me... Reply with quote

I've committed two errors. Everything is fine, except perhaps
the behaviours of K3B and CD Bakeoven under 2.6 without
the previous ide-scsi setup.

My errors:

1. There was no wire from back of CD to sound on one CDROM.
I forgot this had changed since my new motherboard.

2. XMMS can't open audio CDs. I thought it could. The errors
shown in this thread can be reproduced by a 2.4 kernel
on a different machine if I try to select and play an audio CD
from XMMS.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum