Bug 140156 - [linux] cdparanoia fails to read drive data
Summary: [linux] cdparanoia fails to read drive data
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 9.0-CURRENT
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-emulation (Nobody)
URL:
Keywords:
Depends on:
Blocks: 247219
  Show dependency treegraph
 
Reported: 2009-11-01 01:40 UTC by Alexander Best
Modified: 2021-07-26 11:15 UTC (History)
1 user (show)

See Also:


Attachments
file.txt (4.92 KB, text/plain)
2009-11-01 01:40 UTC, Alexander Best
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Best 2009-11-01 01:40:01 UTC
issuing the following command with the native version of cdparanoia:

`cdparanoia -vsQ -d /dev/cd0` returns the following data:

cdparanoia III release 9.8 (March 23, 2001)
(C) 2001 Monty <monty@xiph.org> and Xiphophorus
FreeBSD porting (c) 2003
        Simon 'corecode' Schubert <corecode@corecode.ath.cx>

Report bugs to paranoia@xiph.org
http://www.xiph.org/paranoia/

Checking /dev/cd0 for cdrom...

CDROM model sensed: HL-DT-ST DVDRAM GSA-H10N JL12 

Checking for ATAPICAM...
        Drive is ATAPI (using ATAPICAM)

Checking for MMC style command set...
        Drive is MMC style
        Setting default read size to 26 sectors (61152 bytes).

Verifying CDDA command set...
        Could not find any audio tracks on this disk.

Unable to open disc.

doing the same with the linux version returns this output:

cdparanoia III release 9.8 (March 23, 2001)
(C) 2001 Monty <monty@xiph.org> and Xiphophorus

Report bugs to paranoia@xiph.org
http://www.xiph.org/paranoia/

Checking /dev/cd0 for cdrom...
        Testing /dev/cd0 for cooked ioctl() interface
                /dev/cd0 is not a cooked ioctl CDROM.
        Testing /dev/cd0 for SCSI interface
                /dev/cd0 is not a SCSI device

attached you'll find a linux_kdump.

alex

Fix: Patch attached with submission follows:
How-To-Repeat: 1. download cdparanoia III 9.8 from this site: http://www.xiph.org/paranoia/down.html
2. run `./cdparanoia-III-alpha9.8.i386-linux-elf -vsQ -d /dev/cd0`
3. install audio/cdparanoia
4. run `cdparanoia -vsQ -d /dev/cd0`
5. compare both outputs
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2009-11-01 08:27:25 UTC
Responsible Changed
From-To: freebsd-bugs->freebsd-emulation

Over to maintainer(s).
Comment 2 Alexander Best 2010-02-08 12:31:12 UTC
please note:

problem also occurs with the latest cd paranoia linux binary:

`./cdparanoia-III-10.2.i386-linux-elf -vsQ -d /dev/cd0`

cdparanoia III release 10.2 (September 11, 2008)

Using cdda library version: 10.2
Using paranoia library version: 10.2
Checking /dev/cd0 for cdrom...
        Testing /dev/cd0 for SCSI/MMC interface
                Could not access device /dev/cd0 to test for SG_IO support:
                Permission denied
                no SG_IO support for device: /dev/cd0
                Device /dev/cd0 could not perform ioctl(): Inappropriate ioctl
                for device
        Testing /dev/cd0 for cooked ioctl() interface
                /dev/cd0 is not a cooked ioctl CDROM.

cheers.
alex
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:59 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 4 Dmitry Chagin freebsd_committer freebsd_triage 2021-03-16 06:51:13 UTC
Over to maintainer(s).