Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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 am trying to get my computer to burn CDs. When I run cdrecord I get
bash-2.05b# cdrecord -scanbus
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 J�rg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
From this I figure that I need to enable ide-scsi emulation, so I edited lilo.conf, but now:
bash-2.05b# dmesg | grep scsi
Kernel command line: auto BOOT_IMAGE=Linux ro root=302 cdrom = ide-scsi
ide_setup: ide-scsi -- BAD OPTION
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
so I don't think that it worked. I can't figure out the BAD OPTION. Also,
After some searching I think that I need to recompile my kernel with ide-scsi emulation into it.
But, I have never done a kernel recompile before so this makes me nervous...
Is this even the right way to go? My goal is to get cdrecord working.
i'd think that the "bad option" is the reference to "cdrom" rather than the real ide device, i.e. hdb, hdc or hdd most likely. I'd also suggest removing the spaces either of the =, not sure if it actaully matters at all though.
ide-scsi isn't something normally left out of a 2.4 kernel, but if you do end up looking at recompiling a kernel, i'd VERY VERY strongly recommend you don't. instead build a 2.6 kernel, which doesn't need ide-scsi stuff anyway, and gives vastly improved burner performance as a result.
i'm not a slack user at all, but i'm sure slack does at least include a 2.6 kernel nowadays.
You might have the ide-scsi module loaded but do you have it specifying what devices should be using it at bootup from your lilo.conf file in the correct format?
no, hang on, that's still using scsi emulation isn't it??? you should *NOT* be using ide-scsi on a 2.6 kernel. instead it's direct to the IDE driver via ATAPI:
Code:
kermit chris # cdrecord -scanbus -dev=ATAPI
Cdrecord-Clone 2.01 (i686-pc-linux-gnu) Copyright (C) 1995-2004 Jörg Schilling
cdrecord: Warning: Running on Linux-2.6.10-kermit-r1
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
scsidev: 'ATAPI'
devname: 'ATAPI'
scsibus: -2 target: -2 lun: -2
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) 'SAMSUNG ' 'DVD-ROM SD-616Q ' 'F401' 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) *
Yeah, lots of stuff went wrong. It turns out that I did not even have the 2.6 kernel installed so I did that part wrong. But, in the process of doing it, something happened and I can burn CDs now. Since I only want to back up some stuff before switching out my hard drive, this is good enough.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.