libcdio-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libcdio-help] libcdio trouble with real SCSI device


From: R. Bernstein
Subject: [Libcdio-help] libcdio trouble with real SCSI device
Date: Tue, 16 Oct 2007 00:33:38 -0400

Sorry libcdio is misbehaving. 

The cd-info log indicates is that libcdio unable to issue SCSI MMC
commands that the Waitec/Teac. That is what it is using to get the
vendor, model, revision number. 

I notice that hdparm also has problems in getting drive info, possibly
for a similar reason.

The other information that cd-info is reporting (and I guess
correctly) is coming from GNU/Linux ioctl's which are not SCSI
passthrough commands.

Given this, I imagine that everything available via mmc-tool will fail
as well. It might be interesting to verify that to see if *anything*
there works.

The key routine that gets called and is failing is probably
run_mmc_cmd_linux() in lib/driver/gnu_linux.c. Your kernel logs
indicatine that it doesn't like the CDB (command buffer) that is
getting sent to it. If you can figure out what it doesn't like about
the CDB, maybe we can figure something out. If you have or can find a
PDF for this it might describe what that CDB is supposed to look like
(and we can compare with other SCSI devices).

Finally a simple program that may be of use to figure out how to debug
sending good CDB's and fix that would be in example/mmc1.c.

Another avenue of attack may be to try comparing strace output with
cdparanoia versus libcdio's version cd-paranoia to see which ioctls
differ and fail.

That's about all I can figure out for now.


Tobias Jakobi writes:
 > Hi there,
 > 
 > I just wanted you to know that I probably found a bug in libcdio 0.78.2.
 > I've already filed a bugreport for my linux distribution, that is Gentoo.
 > 
 > You can find it here:
 > http://bugs.gentoo.org/show_bug.cgi?id=195005
 > 
 > I think all important logs are already attached. Would be very nice if
 > you guys could have a look at this. If you need additional information
 > just tell me.
 > 
 > Thanks,
 > Tobias Jakobi
 > 
 > 
 > 
 > _______________________________________________
 > Libcdio-help mailing list
 > address@hidden
 > http://lists.gnu.org/mailman/listinfo/libcdio-help
 > 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]