View previous topic :: View next topic |
Author |
Message |
labrador Guru
Joined: 04 Oct 2003 Posts: 316
|
Posted: Wed Dec 10, 2003 2:36 pm Post subject: 2.6 Kernel with Alsa, can't play audio CDs |
|
|
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 |
|
|
IronKnight n00b
Joined: 10 Dec 2003 Posts: 10 Location: West Virginia
|
Posted: Wed Dec 10, 2003 7:40 pm Post subject: |
|
|
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 |
|
|
labrador Guru
Joined: 04 Oct 2003 Posts: 316
|
Posted: Wed Dec 10, 2003 8:21 pm Post subject: Multi mode is turned on |
|
|
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 |
|
|
IronKnight n00b
Joined: 10 Dec 2003 Posts: 10 Location: West Virginia
|
Posted: Wed Dec 10, 2003 11:08 pm Post subject: |
|
|
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 |
|
|
labrador Guru
Joined: 04 Oct 2003 Posts: 316
|
Posted: Thu Dec 11, 2003 3:35 am Post subject: It is just me... |
|
|
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 |
|
|
|
|
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
|
|