Messages in this thread | | | Subject | 2.3.16, ide-scsi cdrom errors on audio CDs | Date | Sun, 5 Sep 1999 14:19:08 -0400 (EDT) | From | list.kernel@iahastie ... |
| |
Kernel: 2.3.16 with ide-scsi emulation
I can mount data cds, read from them. Haven't tried a cd write yet. Audio cd players produce the following:
Sep 5 13:17:24 rd kernel: cdrom: pid 794 is buggy! Sep 5 13:17:24 rd kernel: cdrom: open failed.
From workbone cd player:
/dev/cdrom: Wrong medium type
Its an audio CD. (Yngwie Malmsteens Seventh Sign) I've tried 10 different audio CDs, all return same errors. I've tried unloading/reloading all the scsi and cdrom modules, same errors.
After unloading all relevant modules, I retry workbone, lsmod reports:
Module Size Used by sr_mod 16392 0 (autoclean) (unused) cdrom 23904 0 (autoclean) [sr_mod]
ardy@rd:tty2:/dev#ls -l cdrom lrwxrwxrwx 1 root root 4 Sep 5 12:52 cdrom -> scd0
From dmesg:
hda: WDC AC25100L, ATA DISK drive hdb: M1614TA, ATA DISK drive hdc: HP CD-Writer+ 7200, ATAPI CDROM drive hdd: Maxtor 90845D4, ATA DISK drive ide0 at 0x1f0-0x1f7,0x3f6 on irq 14 ide1 at 0x170-0x177,0x376 on irq 15 hda: WDC AC25100L, 4924MB w/256kB Cache, CHS=627/255/63 hdb: M1614TA, 1040MB w/64kB Cache, CHS=528/64/63 hdd: Maxtor 90845D4, 8063MB w/256kB Cache, CHS=16383/16/63 scsi0 : SCSI host adapter emulation for IDE ATAPI devices scsi : 1 host. Vendor: HP Model: CD-Writer+ 7200 Rev: 3.01
Type: CD-ROM ANSI SCSI revision: 02 scsi : detected total.
Sep 5 11:25:43 rd kernel: Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 Sep 5 11:25:43 rd kernel: sr0: scsi3-mmc drive: 6x/6x writer cd/rw xa/form2 cdda tray
I enabled debug and it reports:
Sep 5 13:40:05 rd kernel: cdrom: entering cdrom_open Sep 5 13:40:05 rd kernel: cdrom: entering open_for_data Sep 5 13:40:05 rd kernel: cdrom: drive_status=4 Sep 5 13:40:05 rd kernel: cdrom: entering cdrom_count_tracks Sep 5 13:40:05 rd kernel: cdrom: track 1: format=2, ctrl=0 Sep 5 13:40:05 rd kernel: cdrom: track 2: format=2, ctrl=0 Sep 5 13:40:05 rd kernel: cdrom: track 3: format=2, ctrl=0 Sep 5 13:40:05 rd kernel: cdrom: track 4: format=2, ctrl=0 Sep 5 13:40:05 rd kernel: cdrom: track 5: format=2, ctrl=0 Sep 5 13:40:05 rd kernel: cdrom: track 6: format=2, ctrl=0 Sep 5 13:40:05 rd kernel: cdrom: track 7: format=2, ctrl=0 Sep 5 13:40:05 rd kernel: cdrom: track 8: format=2, ctrl=0 Sep 5 13:40:05 rd kernel: cdrom: disc has 8 tracks: 8=audio 0=data 0=Cd-I 0=XA Sep 5 13:40:05 rd kernel: cdrom: bummer. wrong media type. Sep 5 13:40:05 rd kernel: cdrom: pid 869 is buggy! Sep 5 13:40:05 rd kernel: cdrom: open failed. Sep 5 13:40:05 rd kernel: cdrom: door unlocked. Sep 5 13:40:05 rd kernel: cdrom: Use count for "/dev/sr0" now 0
I put a data cd in, restart workbone, debug reports:
Sep 5 13:45:24 rd kernel: cdrom: entering cdrom_open Sep 5 13:45:24 rd kernel: cdrom: entering open_for_data Sep 5 13:45:24 rd kernel: cdrom: drive_status=4 Sep 5 13:45:24 rd kernel: cdrom: entering cdrom_count_tracks Sep 5 13:45:24 rd kernel: cdrom: track 1: format=2, ctrl=4 Sep 5 13:45:24 rd kernel: cdrom: disc has 1 tracks: 0=audio 1=data 0=Cd-I 0=XA Sep 5 13:45:24 rd kernel: cdrom: all seems well, opening the device. Sep 5 13:45:24 rd kernel: VFS: Disk change detected on device sr(11,0) Sep 5 13:45:25 rd kernel: cdrom: opening the device gave me 0. Sep 5 13:45:25 rd kernel: cdrom: door locked. Sep 5 13:45:25 rd kernel: cdrom: device opened successfully. Sep 5 13:45:25 rd kernel: cdrom: Use count for "/dev/sr0" now 1
What is this "wrong media type" for audio cds? This setup works fine under 2.2.x. What could I be missing?
---------------------------------------------------- Richard Dicaire Co-owner/Systems Administrator K&R Information Technologies http://novaone.dynip.com ---------------------------------------------------- Tekmetrics Certified Master Linux Administrator
http://www.tekmetrics.com/transcript.shtml?pid=67584 ----------------------------------------------------
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |