LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 02-14-2004, 01:49 AM   #1
chewysplace
Member
 
Registered: Sep 2003
Distribution: Slackware 10 w/ Kernel 2.6.8
Posts: 176

Rep: Reputation: 30
Exclamation CD Burner not detected on Kernel 2.6


i've been trying for almost a year to get my cd-burner setup on Slackware.
i've recently installed Kernel 2.6.2 with just about every SCSI option enabled.
however i am unable to get it to work still. on boot it detect my burner as a DVD-ROM for some reason. It is currently the Secondary slave drive cause i couldnt get it to work as the Secondary master. It originaly didnt even setup the Secondary slave so i had to manualy set it up under /dev/hdd. i can mount the drive and view the CD contents but when i do a "cdrecord -scanbus" i get this error:

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'.

i've googled my problem and searched the forums here but nothing seems to work. any help would be much appreciated.

CD-RW: Benq 32x10x40 under Secondary Slave
OS: Slackware 9.1 under Kernel 2.6.2
/etc/fstab: <remember i had to manualy setup my CD-Burner, so config might be wrong>

/dev/hda1 / ext3 defaults 1 1
/dev/hda2 /mp3 ext3 defaults 1 2
/dev/hda3 /home ext3 defaults 1 2
/dev/hda5 /pan ext3 defaults 1 2
/dev/hdb1 /games reiserfs defaults 1 2
/dev/hdb5 /ftp ext3 defaults 1 2
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,ro 0 0
/dev/cdrom1 /mnt/cdrom1 iso9660 noauto,owner,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0

Here is some extra info:

/dev/cdrom1 -> /dev/hdd
/dev/pg -> /dev/pg0

bash-2.05b# cdrecord dev=help
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Supported SCSI transports for this platform:

Transport name: sg
Transport descr.: Generic transport independent SCSI
Transp. layer ind.:
Target specifier: bus,target,lun
Target example: 1,2,0
SCSI Bus scanning: supported
Open via UNIX device: not supported

Transport name: pg
Transport descr.: SCSI transport for ATAPI over Parallel Port
Transp. layer ind.:
Target specifier: bus,target,lun
Target example: 1,2,0
SCSI Bus scanning: supported
Open via UNIX device: not supported

Transport name: ATA
Transport descr.: ATA Packet specific SCSI transport
Transp. layer ind.: ATAPI:
Target specifier: bus,target,lun
Target example: ATAPI:1,2,0
SCSI Bus scanning: supported
Open via UNIX device: not supported

Transport name: RSCSI
Transport descr.: Remote SCSI
Transp. layer ind.: REMOTE:
Target specifier: rscsi@host:bus,target,lun
Target example: REMOTE:rscsi@host:1,2,0
SCSI Bus scanning: supported
Open via UNIX device: not supported
bash-2.05b# cdrecord dev=1,2,0 driveropts=help -checkdrive
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
scsidev: '1,2,0'
scsibus: 1 target: 2 lun: 0
cdrecord: No such file or directory. Cannot open '/dev/sg*'. 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'.
 
Old 02-14-2004, 08:33 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
Do you have a regular (non-SCSI) ATAPI/IDE CDRW? If so you need to enable "IDE SCSI emulation" as a module under the ATA devices section.

Then tell your bootloader to load your CDRW using SCSI emulation. If you use Lilo, edit /etc/lilo.conf and add the line:
Code:
append="hdd=ide-scsi"
...if your CDRW is /dev/hdd. Change to whatever drive it really is in your computer.
If you use Grub, edit the grub.conf (called menu.lst in older distributions) and just append hdd=ide-scsi to the kernel line of the kernel you're using:
Code:
kernel (hd0,0)/vmlinuz-2.6.2-gentoo-hw root=/dev/hda3 vga=791 hdc=ide-scsi
Autoload the ide-scsi module on startup. I haven't used Slackware since my first try at Linux at about the 2.0.19 kernel so I have no idea how to do this in your distribution but I have heard about rc.modules, which sounds like a good place to start looking.


Håkan
 
Old 02-14-2004, 09:29 PM   #3
chewysplace
Member
 
Registered: Sep 2003
Distribution: Slackware 10 w/ Kernel 2.6.8
Posts: 176

Original Poster
Rep: Reputation: 30
your a life saver!
i had the append in my lilo.conf but i totaly forgot about the ide-scsi.ko module.
THANKS!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
DVD burner detected as CDRW cs-cam Linux - Hardware 3 11-06-2005 12:51 AM
Kernel 2.6.7 Burner Problems now matt3333 Slackware 4 11-16-2004 05:32 PM
CD-Burner with Kernel 2.4 and 2.6 theonebeyond Linux - Software 19 10-04-2004 01:54 PM
FC2 updated kernel and lost cd burner azebuski Linux - Hardware 1 09-29-2004 10:47 PM
Ethernet Card detected in one kernel is not detected in the other?? ashishuttarwar Linux - Hardware 14 06-15-2004 11:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:42 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration