Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 158872 - app-cdr/graveman can't scan non-scsi devices ("cdrecord -scanbus" issue)
Summary: app-cdr/graveman can't scan non-scsi devices ("cdrecord -scanbus" issue)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Tobias Scherbaum (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-22 17:07 UTC by Renato Caldas
Modified: 2007-01-28 06:13 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Renato Caldas 2006-12-22 17:07:55 UTC
This is a tricky bug, as it has to do with several modules interacting. It is also related somehow to the old bug report number 49074.

Cdrecord (Cdrecord-ProDVD-Clone 2.01.01a20)
Graveman (0.3.12-5)
Gentoo-sources kernel (2.6.18)

The issue is really simple to understand:

-I don't have scsi cdrom support enabled in the kernel. I'm using ATA, as imho it seems stupid to use an emulation when I don't need one.

-A bit related to the bug report mentioned earlyer, "cdrecord -scanbus" errors out. I need to use "cdrecord -dev=ATA -scanbus" to scan for devices.

-Graveman finds its devices by calling "cdrecord -scanbus", which for the reason above doesn't work. So it just hangs..

So I'm not sure where this bug fits. I'm inclined to say it's graveman's fault, but not sure..

As for workarounds, there are lots of them, but I would prefer to see the issue fixed. And I don't want to use scsi, because I don't need to ;)
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-12-23 01:01:27 UTC
Kindly review https://bugs.gentoo.org/page.cgi?id=fields.html#bug_severity
Comment 2 Renato Caldas 2006-12-23 10:44:25 UTC
I thought "blocking" was for a bug which impeded the use of an application, not gentoo.. I appologise.
Comment 3 Tobias Scherbaum (RETIRED) gentoo-dev 2007-01-27 19:36:48 UTC
gravenan scans "dev=ATA:" and "dev=ATAPI:", plus usual IDE devices if IDE is available and SCSI devices if SCSI is available. I couldn't reproduce this bug neither with stable cdrtools nor the latest testing cdrtools on several boxes.

Please post the output of "cdrecord -scanbus -dev=ATAPI".
Comment 4 Renato Caldas 2007-01-27 22:24:57 UTC
Cdrecord-ProDVD-Clone 2.01.01a20 (i686-pc-linux-gnu) Copyright (C) 1995-2006 Jörg Schilling
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
Warning: dev=ATA: is preferred over dev=ATAPI:.
Warning: Using ATA Packet interface.
Warning: The related Linux kernel interface code seems to be unmaintained.
Warning: There is absolutely NO DMA, operations thus are slow.
Using libscg version 'schily-0.8'.
scsibus0:
        0,0,0     0) '_NEC    ' 'DVD_RW ND-1300A ' '1.0B' Removable CD-ROM
        0,1,0     1) *
        0,2,0     2) *
        0,3,0     3) *
        0,4,0     4) *
        0,5,0     5) *
        0,6,0     6) *
        0,7,0     7) *
Comment 5 Renato Caldas 2007-01-27 22:26:04 UTC
Strangely graveman is working now. I'll check my emerge logs to see if anything changed.

Thanks
Comment 6 Renato Caldas 2007-01-27 22:38:35 UTC
I guess it was the kernel. I'm using 2.6.19-r4 now. Other than that everything is the same.

Should I change the report to FIXED or INVALID?
Comment 7 Tobias Scherbaum (RETIRED) gentoo-dev 2007-01-28 06:13:53 UTC
Kinda INVALID then.