LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-30-2004, 11:54 AM   #1
RestInPieces
Member
 
Registered: Aug 2004
Location: In front of a CRT monitor
Distribution: Slackware-current
Posts: 108

Rep: Reputation: 15
cdrom not shown with ide-scsi emulation


hi!
i compiled a kernel with scsi emulation, did what i always do and finally got the following dmesg:
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: SONY Model: CD-RW CRX220E1 Rev: 6YS1
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 5
ok then... i replaced the fstab like so:
/dev/hda5 swap swap defaults 0 0
/dev/hda1 / ext2 defaults 1 1
/dev/sg0 /mnt/cdrom iso9660 noauto,user,rw,unhide 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc
..according to what the kernel "said"...
the problem is that when I do a ls -l /dev/cdrom , i get :/usr/bin/ls: /dev/cdrom: No such file or directory...
that worked untill now.. err...
anyway.. to even get it to show Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 5, i had to modify the modules.conf... and added :
alias scsi_hostadapter ide-scsi
ide-cd ignore="hdb" (i use the 2.6.7 kernel)
i have the append "hdb=ide-scsi" line in my lilo.conf...
Any help appreciated
PS: the cdrecord scanbus works...
 
Old 08-30-2004, 12:07 PM   #2
hw-tph
Senior Member
 
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
I often use cdparanoia to find out the names of CD devices. Try cdparanoia -vsQ as root.

The usual device name for the first SCSI-emulated CD-ROM is /dev/scd0, so you could try ln -s /dev/scd0 /dev/cdrom unless you want to set up all your applications to use /dev/scd0 by hand.


Håkan
 
Old 08-30-2004, 12:08 PM   #3
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,694

Rep: Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894Reputation: 5894
2.6 kernels do not require SCSI emulation for ATAPI CDROM drives.
 
Old 08-30-2004, 12:15 PM   #4
RestInPieces
Member
 
Registered: Aug 2004
Location: In front of a CRT monitor
Distribution: Slackware-current
Posts: 108

Original Poster
Rep: Reputation: 15
i just like scsi burning... even if it's deprecated
anyway.. cdparanoia shows :
Checking /dev/sg0 for cdrom...
Testing /dev/sg0 for cooked ioctl() interface
/dev/sg0 is not a cooked ioctl CDROM.
Testing /dev/sg0 for SCSI interface
No cdrom device found to match generic device /dev/sg0
generic device: /dev/sg0
ioctl device: not found

Found an accessible SCSI CDROM drive.
Looking at revision of the SG interface in use...
SG interface version 3.5.31; OK.

CDROM model sensed sensed: SONY CD-RW CRX220E1 6YS1

Checking for SCSI emulation...
Drive is ATAPI (using SCSI host adaptor emulation)

Checking for MMC style command set...
Drive does not have MMC CDDA support
004: Unable to read table of contents header
...i really don't like the No cdrom device found to match generic part...
 
Old 08-30-2004, 12:55 PM   #5
RestInPieces
Member
 
Registered: Aug 2004
Location: In front of a CRT monitor
Distribution: Slackware-current
Posts: 108

Original Poster
Rep: Reputation: 15
err.... i have a computer with a strong personality.. the above statement changed to Testing /dev/sg0 for SCSI interface
generic device: /dev/sg0
ioctl device: /dev/sr0
so.. i have it "found" on sr0... (ugh..again..).. i wonder if i can keep it there for the next boot
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ide-scsi emulation RestInPieces Linux - Newbie 3 10-31-2004 04:45 PM
ide-scsi emulation: multiple drives shown gustavusz Mandriva 1 03-18-2004 03:25 AM
No ide SCSI emulation on 2.6? moger Linux - General 1 01-17-2004 09:42 PM
ide-scsi emulation vabaliukas Linux - Hardware 0 07-09-2003 09:14 AM
ide-scsi emulation vabaliukas Linux - Hardware 2 07-07-2003 08:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:50 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