cdparanoia on a SCSI cdrom-drive

View: New views
2 Messages — Rating Filter:   Alert me  

cdparanoia on a SCSI cdrom-drive

by Henrik Christian Grove :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi

I have a SCSI cdrom drive that I'm having trouble getting cdparanoia to
work with.

I have loaded the sg kernel module, and permissions look like this:
% ls -l /dev/cdrom /dev/scd0 /dev/sg*
lrwxrwxrwx  1 root root       4 2002-07-12 21:10 /dev/cdrom -> scd0
br--r--r--  2 root cdrom 11,  0 2000-05-05 23:48 /dev/scd0
crw-rw----  1 root cdrom 21,  0 2006-01-19 00:55 /dev/sg0
crw-rw----  1 root cdrom 21,  1 2006-01-19 00:55 /dev/sg1
crw-rw----  1 root cdrom 21, 10 2006-01-19 00:55 /dev/sg10
crw-rw----  1 root cdrom 21, 11 2006-01-19 00:55 /dev/sg11
crw-rw----  1 root cdrom 21, 12 2006-01-19 00:55 /dev/sg12
crw-rw----  1 root cdrom 21, 13 2006-01-19 00:55 /dev/sg13
crw-rw----  1 root cdrom 21, 14 2006-01-19 00:55 /dev/sg14
crw-rw----  1 root cdrom 21, 15 2006-01-19 00:55 /dev/sg15
crw-rw----  1 root cdrom 21, 16 2006-01-19 00:55 /dev/sg16
crw-rw----  1 root cdrom 21,  2 2006-01-19 00:55 /dev/sg2
crw-rw----  1 root cdrom 21,  3 2006-01-19 00:55 /dev/sg3
crw-rw----  1 root cdrom 21,  4 2006-01-19 00:55 /dev/sg4
crw-rw----  1 root cdrom 21,  5 2006-01-19 00:55 /dev/sg5
crw-rw----  1 root cdrom 21,  6 2006-01-19 00:55 /dev/sg6
crw-rw----  1 root cdrom 21,  7 2006-01-19 00:55 /dev/sg7
crw-rw----  1 root cdrom 21,  8 2006-01-19 00:55 /dev/sg8
crw-rw----  1 root cdrom 21,  9 2006-01-19 00:55 /dev/sg9
(I know that's not very secure, but I'm the only user of the machine and
just trying to make this work.)

When I run `cdparanoia -vQ` as an ordinary user (who is in the cdrom
group) I get the same error as bafore I loaded the sg module:
% cdparanoia -vQ
cdparanoia III release 9.8 (March 23, 2001)
(C) 2001 Monty <monty@...> and Xiphophorus

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

Checking /dev/cdrom for cdrom...
        Testing /dev/cdrom for cooked ioctl() interface
                /dev/scd0 is not a cooked ioctl CDROM.
        Testing /dev/cdrom for SCSI interface
                No generic SCSI device found to match CDROM device
        /dev/scd0


When I run `cdparanoia -vQ` as root, this is the result:
# cdparanoia -vQ
cdparanoia III release 9.8 (March 23, 2001)
(C) 2001 Monty <monty@...> and Xiphophorus

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

Checking /dev/cdrom for cdrom...
        Testing /dev/cdrom for cooked ioctl() interface
                /dev/scd0 is not a cooked ioctl CDROM.
        Testing /dev/cdrom for SCSI interface
zsh: segmentation fault  cdparanoia -vQ

Can anyone provide me with a hint to what's wrong?

.Henrik

--
"Det er fundamentalt noget humanistisk vås, at der er noget,
 der hedder blød matematik."
   --- citat Henrik Jeppesen, dekan for det naturvidenskabelige fakultet

_______________________________________________
Paranoia mailing list
Paranoia@...
http://lists.xiph.org/mailman/listinfo/paranoia

cdparanoia on a SCSI cdrom-drive

by R. Bernstein :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Henrik Christian Grove writes:
 >
 > Hi
 >
 > I have a SCSI cdrom drive that I'm having trouble getting cdparanoia to
 > work with.
 >
 > I have loaded the sg kernel module, and permissions look like this:
 > % ls -l /dev/cdrom /dev/scd0 /dev/sg*
 > lrwxrwxrwx  1 root root       4 2002-07-12 21:10 /dev/cdrom -> scd0
 > br--r--r--  2 root cdrom 11,  0 2000-05-05 23:48 /dev/scd0
 > crw-rw----  1 root cdrom 21,  0 2006-01-19 00:55 /dev/sg0
 > crw-rw----  1 root cdrom 21,  1 2006-01-19 00:55 /dev/sg1
 > crw-rw----  1 root cdrom 21, 10 2006-01-19 00:55 /dev/sg10
 > crw-rw----  1 root cdrom 21, 11 2006-01-19 00:55 /dev/sg11
 > crw-rw----  1 root cdrom 21, 12 2006-01-19 00:55 /dev/sg12
 > crw-rw----  1 root cdrom 21, 13 2006-01-19 00:55 /dev/sg13
 > crw-rw----  1 root cdrom 21, 14 2006-01-19 00:55 /dev/sg14
 > crw-rw----  1 root cdrom 21, 15 2006-01-19 00:55 /dev/sg15
 > crw-rw----  1 root cdrom 21, 16 2006-01-19 00:55 /dev/sg16
 > crw-rw----  1 root cdrom 21,  2 2006-01-19 00:55 /dev/sg2
 > crw-rw----  1 root cdrom 21,  3 2006-01-19 00:55 /dev/sg3
 > crw-rw----  1 root cdrom 21,  4 2006-01-19 00:55 /dev/sg4
 > crw-rw----  1 root cdrom 21,  5 2006-01-19 00:55 /dev/sg5
 > crw-rw----  1 root cdrom 21,  6 2006-01-19 00:55 /dev/sg6
 > crw-rw----  1 root cdrom 21,  7 2006-01-19 00:55 /dev/sg7
 > crw-rw----  1 root cdrom 21,  8 2006-01-19 00:55 /dev/sg8
 > crw-rw----  1 root cdrom 21,  9 2006-01-19 00:55 /dev/sg9
 > (I know that's not very secure, but I'm the only user of the machine and
 > just trying to make this work.)
 >
 > When I run `cdparanoia -vQ` as an ordinary user (who is in the cdrom
 > group) I get the same error as bafore I loaded the sg module:
 > % cdparanoia -vQ
 > cdparanoia III release 9.8 (March 23, 2001)
 > (C) 2001 Monty <monty@...> and Xiphophorus
 >
 > Report bugs to paranoia@...
 > http://www.xiph.org/paranoia/
 >
 > Checking /dev/cdrom for cdrom...
 >         Testing /dev/cdrom for cooked ioctl() interface
 >                 /dev/scd0 is not a cooked ioctl CDROM.
 >         Testing /dev/cdrom for SCSI interface
 >                 No generic SCSI device found to match CDROM device
 >         /dev/scd0
 >
 >
 > When I run `cdparanoia -vQ` as root, this is the result:
 > # cdparanoia -vQ
 > cdparanoia III release 9.8 (March 23, 2001)
 > (C) 2001 Monty <monty@...> and Xiphophorus
 >
 > Report bugs to paranoia@...
 > http://www.xiph.org/paranoia/
 >
 > Checking /dev/cdrom for cdrom...
 >         Testing /dev/cdrom for cooked ioctl() interface
 >                 /dev/scd0 is not a cooked ioctl CDROM.
 >         Testing /dev/cdrom for SCSI interface
 > zsh: segmentation fault  cdparanoia -vQ
 >
 > Can anyone provide me with a hint to what's wrong?

A traceback is usually hepful in SEGV.

  gdb cdparanoia *corefile*
  bt
  quit

Does libcdio's cd-paranoia also core give SEGV?

_______________________________________________
Paranoia mailing list
Paranoia@...
http://lists.xiph.org/mailman/listinfo/paranoia