l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Jul 28 19:10

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
[vox-tech] cdrom access issue solved
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[vox-tech] cdrom access issue solved


So I had problem accessing CDROM.  More specifically, I had trouble
ripping CDs as a user, but no problem as root.

Turns out the problem was with SCSI emulation layer I'm using to get
burning to work.  Apparently when you turn on SCSI emulation using
"ide-scsi" and "sg" modules, not only do you end up using /dev/scdN to
access your CD, but also using /dev/sgN as well.  So I needed to set
permissions on /dev/sgN properly in addition to /dev/scdN.

So if you want SCSI emulation working fully for your ATAPI/IDE CD device,
you gotta do ALL these:

   - Pass "hdX=ide-scsi" to kernel (where hdX is the CD drive device)
   - Load "ide-scsi" and "sg" modules
   - Set permissions on /dev/hdX, /dev/scdN, and /dev/sgN correctly
   - Point /dev/cdrom symlink to /dev/scdN

And depending on what you're doing with your CDROM, you'll either access
it using /dev/hdX, /dev/scdN (maybe via /dev/cdrom), *or* /dev/sgN.
*Very* intuitive, no? :P


Mark K. Kim
PGP key available upon request.

vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.