LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 04-01-2005, 11:07 PM   #1
Permaximus
Member
 
Registered: Sep 2004
Distribution: Slackware
Posts: 61

Rep: Reputation: 15
cdrecord -scanbus output


Hey, I have a question regarding cd burning. I decided to download phlak and burn the iso so I can boot it. But, I was unable to mount the cdrom with the cd-r. This is the output from cdrecord -scanbus:


Code:
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'.
bash-2.05b#
I executed this command as root and I cannot find the problem. Thanks in advance for the help.
 
Old 04-02-2005, 02:00 AM   #2
Potatopopper
LQ Newbie
 
Registered: Jul 2004
Distribution: Slackware 13.37
Posts: 29

Rep: Reputation: Disabled
Same Here

I get the same exact error. It seems that a package might be missing in order to burn cds/dvds. I don't understand why the package would be missing from slackware, so I can't really help. Hope someone can shed some wisdom on this matter.
 
Old 04-02-2005, 06:31 AM   #3
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Hello,

the problem is due to the lack of the /dev/sr (or /dev/pg or /dev/sg) device... To really work correctly and reliably with Linux your cd writer needs to be seen as a SCSI device, so you need to use SCSI driver to detect/enable it.
If SCSI CD support is enable in your kernel (I mean not as module) you can detect your drive as SCSI device by adding "hdd=ide-scsi" as boot parameters (if the writer is seen as /dev/hdd when it's detected as IDE device)
If SCSI CD support is enable as module (that's a bit more complicated)... 2 possibilities:
1- IDE CD support is enable in your kernel... and I don't know how to help you unless you recompile your kernel
2- IDE CD support is enable as module, well you have to insert this module for your CD readers with the option: "ignore=/dev/hdd" to disable the detection of your writer as an IDE device... Then insert the SCSI modules (they are ide-scsi, sd_mod and sr_mod)
then retry your cdrecord command

Oliv'
 
Old 04-02-2005, 04:46 PM   #4
Permaximus
Member
 
Registered: Sep 2004
Distribution: Slackware
Posts: 61

Original Poster
Rep: Reputation: 15
Thanks. I now have two more questions:

How do I see if SCSI CD support is enable in my kernel?

And

How do I add "hdd=ide-scsi" as boot parameters?

Thanks a lot for the help, I really apprectiate it.
 
Old 04-03-2005, 07:56 AM   #5
Oliv'
Senior Member
 
Registered: Jan 2004
Location: Montpellier (France)
Distribution: Gentoo
Posts: 1,014

Rep: Reputation: 36
Quote:
How do I see if SCSI CD support is enable in my kernel?
2 solutions by testing it... I mean try to add the boot param, and see if you have this message in your logs at boot time:
Code:
hdd: attached ide-scsi driver.
or if you have a 2.6 kernel, I think you can see you kernel configuration (config file) in /proc...

Quote:
How do I add "hdd=ide-scsi" as boot parameters?
if you use lilo as bootloader, edit /etc/lilo.conf and add the following line (I'm not 100% as I don't use lilo):
Code:
append="hdd=ide-scsi"
then run "lilo" to enable changes
if you use grub, edit /boot/grub/menu.lst file, and append this to your "kernel" line and you can reboot

Oliv'
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LG 4082B cdrecord -scanbus... Cybers19 SUSE / openSUSE 1 06-01-2005 08:35 AM
CDrecord -scanbus Gerardoj Linux - Software 4 05-02-2004 09:27 PM
cdrecord -scanbus james.farrow Fedora 2 01-18-2004 10:01 PM
cdrecord -scanbus Cybers19 Linux - General 4 05-22-2003 02:22 PM
Alright, I have correct output for ' cdrecord -scanbus ', but can't mount drive lostboy Linux - General 9 05-09-2003 11:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration