Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to run XCDROAST in Mandrake 8.2, with an IDE Lite-On 12x10x32 CD-RW drive.
Yes, I've read the faqs and what-not on scsi-emulation and stuff.
When I run xcdroast from the console, this is what it says before the program starts:
** WARNING **: Installation problem? No set-uid bit on /usr/bin/mkisofs
** WARNING **: Installation problem? No set-uid bit on /usr/bin/readcd
** WARNING **: Installation problem? No set-uid bit on /usr/bin/cdda2wav
--
Now, I wanted to test this by duplicating a CD. Put a CD in the drive, tell it to read. "No CD loaded in read device" (and yes, I have the same drive setup as the read device). Under CD-Information, for the type (when I have a written data CD-R in the drive that I wish to duplicate), it says "Empty CD-R/RW".
I know that I have communication with the drive, because in X windows I can view the CD and use it like normal. In XCDROAST I can eject the cd via the GUI.
This I assume is your cdrom link. The other is zip.
dmesg |grep scsi almost checks out except it misses the other hdd=ide-scsi.
/sbin/lsmod is perfect.
Steps below might or might not work:
cp /etc/fstab /etc/fstab.bak
vi /etc/fstab
delete this line
/mnt/cdrom /mnt/cdrom supermount dev=/dev/scd0,fs=iso9660,ro,--,iocharset=iso8859-1 0 0
add this line
/dev/cdrom /mnt/cdrom iso9660 iocharset=iso8859-1,umask=0,codepage=850 0 0
save & exit
ln -sf /dev/sr0 /dev/cdrom
insert a data CD
mount /mnt/cdrom
ls /mnt/cdrom
If success, insert a CDRW
cdrecord dev=0,0,0 blank=fast
If it erases the cdrw, you're getting there.
Wait until I give you a go before you do the above. Show me the result of the line on top.
alias usb-interface usb-uhci
probeall scsi_hostadapter ide-scsi
alias eth0 tulip
# lt_drivers: autoloading and insertion parameter usage
alias char-major-62 lt_serial
alias /dev/tts/LT0 lt_serial
alias /dev/modem lt_serial
# The next two lines are syntax examples, only Rarely Needed, to automate parameter usage during lt_drivers insertion. See documentation for details.
# options lt_modem vendor_id=0x115d device_id=0x0420
# options lt_modem Forced=3,0x130,0x2f8,0
# section for lt_drivers ends
# This block installed with Lucent modem drivers is for PPP related support
alias /dev/ppp ppp_generic
alias char-major-108 ppp_generic
alias tty-ldisc-3 ppp_async
alias tty-ldisc-14 ppp_synctty
alias ppp-compress-21 bsd_comp
alias ppp-compress-24 ppp_deflate
alias ppp-compress-26 ppp_deflate
# added for cd-r support
options ide-cd ignore='hdc hdd'
---
Thanks for your help thus far. I'll wait for your word to go ahead with changing all that stuff.
Last edited by dissolved soul; 09-22-2002 at 12:45 AM.
it is a permission problem, but it is resolved very quickly. First time you run Xcdroast you needed to configure it through setup, in the last tab (options, I guess) check allow non-root users to run xcdroast, if still the same happens and you can't run xcdroast as a non-root go over to http://www.xcdroast.org and grab the latest release.
So all the above can be summed up if you create a group cdwrite for instance, add the non-root users to this group and change group of cdrecord, mkisofs, etc (cdr-tools buddies) to cdwrite group and then change perm to 2755 for this programs you will be OK, the latest cdr-tools and xcdroast do this all for you without you tempering with permissions and groups setup.
Interesting. Well I will say this:
I downloaded xcdroast 1 or 2 days ago, so it's a recent release. I did run the setup & check the tabs saying that non-root users can use it.
[root@xp1700 root]# vi /etc/modules.conf
[root@xp1700 root]# ln -sf /dev/scd0 /dev/cdrom
[root@xp1700 root]# mount /mnt/cdrom
[root@xp1700 root]# ls /mnt/cdrom
archive.z* PSReadme.wri* setup.exe* _setup.lib*
_inst32i.ex_* setup.bmp* SETUP.INI* setup.pkg*
_ISDEL.EXE* _setup.dll* SETUP.INS*
[root@xp1700 root]# cdrecord dev=0,0,0 blank=fast
Cdrecord 1.11a15 (i586-mandrake-linux-gnu) Copyright (C) 1995-2001 Jörg
Schilling
scsidev: '0,0,0'
scsibus: 0 target: 0 lun: 0
Linux sg driver version: 3.1.22
Using libscg version 'schily-0.5'
Device type : Removable CD-ROM
Version : 0
Response Format: 1
Vendor_info : 'LITE-ON '
Identifikation : 'LTR-12101B '
Revision : 'LS38'
Device seems to be: Generic mmc CD-RW.
Using generic SCSI-3/mmc CD-R driver (mmc_cdr).
Driver flags : SWABAUDIO BURNFREE
Supported modes: TAO PACKET SAO SAO/R96P SAO/R96R RAW/R96P RAW/R96R
Starting to write CD/DVD at speed 2 in write mode for single session.
Last chance to quit, starting real write in 0 seconds. Operation starts.[root@xp1700 root]#
Bad:
It still won't read discs in xcdroast, as a regular user OR root. Same issue as before. I don't really understand why that would be, since xcdroast is simply a GUI for the command line stuff.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.