LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 12-12-2003, 08:33 PM   #16
bmcneely0
Member
 
Registered: Jul 2003
Posts: 74

Original Poster
Rep: Reputation: 15

Maybe this will help also. I have two CD drives. One is the internal IDE drive I'm trying to get scsi emulation working for, the other is an external USB drive that already emulates as a scsi device. Note that despite the settings above, the internal drive is showing up as IDE and not SCSI:
# hwinfo --cdrom
12: IDE 02.0: 10602 CD-ROM
[Created at ide.127]
Unique ID: hY5p.8dw3P2TyJK3
Hardware Class: cdrom
Model: "LTN526D"
Device: "LTN526D"
Revision: "YSR5"
Serial ID: ""
Driver: "ide-default"
Device File: /dev/hdc
Drive status: no medium
Config Status: cfg=yes, avail=yes, need=no
Attached to: #4 (IDE interface)

16: SCSI 103.0: 10602 CD-ROM
[Created at usb.100]
Unique ID: B3Fu.2hERXL7yFo5
Hardware Class: cdrom
Model: "Memorex 52MAXX 3252AJ"
Hotplug: USB
Vendor: "Memorex"
Device: "52MAXX 3252AJ"
Revision: "QWS5"
Serial ID: "00000000000037AB"
USB GUID: 05ab006000000000000037ab
Driver: "usb-storage"
Device File: /dev/sr0
Speed: 1.5 Mbps
Drive status: no medium
Config Status: cfg=no, avail=yes, need=no
Attached to: #14 (Hub)
 
Old 12-12-2003, 08:36 PM   #17
bmcneely0
Member
 
Registered: Jul 2003
Posts: 74

Original Poster
Rep: Reputation: 15
The device file shows as follows:
more hY5p.8dw3P2TyJK3
[General]
UniqueID=hY5p.8dw3P2TyJK3
HWClass=cdrom
Model=LTN526D

[Status]
Configured=yes
Available=yes
Needed=no

[Hardware]
Bus=0x85
Slot=0x2
BaseClass=0x106
SubClass=0x2
DeviceName=LTN526D
RevisionName=YSR5
Serial=
UnixDevice=/dev/hdc
 
Old 12-12-2003, 09:07 PM   #18
bmcneely0
Member
 
Registered: Jul 2003
Posts: 74

Original Poster
Rep: Reputation: 15
OK, this is it for tonight. After I enter the command
modprobe ide-scsi
my hwinfo --cdrom looks like this, but I still can't mount the a cd. How can I get the ide-scsi module to load without having to issue the modprobe command?
14: SCSI 100.0: 10602 CD-ROM
[Created at scsi.230]
Unique ID: Q8g5.j0s4jxLIh9B
Hardware Class: cdrom
Model: "LITEON LTN526D"
Vendor: "LITEON"
Device: "LTN526D"
Revision: "YSR5"
Serial ID: ""
Driver: "ide-scsi"
Device File: /dev/sr1
Config Status: cfg=no, avail=yes, need=no
Drive Speed: 52

17: SCSI 103.0: 10602 CD-ROM
[Created at usb.100]
Unique ID: B3Fu.2hERXL7yFo5
Hardware Class: cdrom
Model: "Memorex 52MAXX 3252AJ"
Hotplug: USB
Vendor: "Memorex"
Device: "52MAXX 3252AJ"
Revision: "QWS5"
Serial ID: "00000000000037AB"
USB GUID: 05ab006000000000000037ab
Driver: "usb-storage"
Device File: /dev/sr0
Speed: 1.5 Mbps
Drive status: no medium
Config Status: cfg=no, avail=yes, need=no
Attached to: #15 (Hub)
linux:/tmp # mount /media/cdrom
/dev/cdrom: Input/output error
 
Old 12-12-2003, 09:33 PM   #19
bmcneely0
Member
 
Registered: Jul 2003
Posts: 74

Original Poster
Rep: Reputation: 15
OK, this really is it for tonight. I added the line
modprobe ide-scsi
to the end of /etc/init.d/boot.local and this is how things look now:
/etc/fstab
/dev/hda2 / reiserfs defaults 1 1
/dev/hda1 /data1 auto noauto,user 0 0
/dev/hda3 swap swap pri=42 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
proc /proc proc defaults 0 0
usbdevfs /proc/bus/usb usbdevfs defaults,devmode=0666 0 0
/dev/fd0 /media/floppy auto noauto,user,sync 0 0
/dev/cdrom /media/cdrom auto ro,noauto,user,exec 0 0
/dev/cdrom2 /media/cdrom2 auto ro,noauto,user,exec 0 0


ls -l /dev/cdrom*
lrwxrwxrwx 1 root root 3 Dec 12 22:07 /dev/cdrom -> sr0
lrwxrwxrwx 1 root root 3 Dec 12 22:11 /dev/cdrom2 -> sr1

# hwinfo --cdrom
13: SCSI 00.0: 10602 CD-ROM
[Created at scsi.230]
Unique ID: zyP1.j0s4jxLIh9B
Hardware Class: cdrom
Model: "LITEON LTN526D"
Vendor: "LITEON"
Device: "LTN526D"
Revision: "YSR5"
Serial ID: ""
Driver: "ide-scsi"
Device File: /dev/sr0
Drive status: no medium
Config Status: cfg=yes, avail=yes, need=no
Drive Speed: 52

17: SCSI 103.0: 10602 CD-ROM
[Created at usb.100]
Unique ID: B3Fu.2hERXL7yFo5
Hardware Class: cdrom
Model: "Memorex 52MAXX 3252AJ"
Hotplug: USB
Vendor: "Memorex"
Device: "52MAXX 3252AJ"
Revision: "QWS5"
Serial ID: "00000000000037AB"
USB GUID: 05ab006000000000000037ab
Driver: "usb-storage"
Device File: /dev/sr1
Speed: 1.5 Mbps
Config Status: cfg=yes, avail=yes, need=no
Attached to: #15 (Hub)


Attempt to mount CD in either drive:
# mount /media/cdrom2
/dev/cdrom2: Input/output error
mount: you must specify the filesystem type

# mount /media/cdrom
/dev/cdrom: Input/output error
mount: you must specify the filesystem type


I'm calling it a night. Thanks for all of the help to date. Does any of this look like I"m getting close to a resolution? Any more advice is greatly apprecaited.
 
Old 12-12-2003, 09:40 PM   #20
bmcneely0
Member
 
Registered: Jul 2003
Posts: 74

Original Poster
Rep: Reputation: 15
OK. It must be the late hour or the tunnel vision I was getting, but I decided to try another CD and now it works. Also, when I run K3b, I can see the internal read-only CD device as a source for copying CDs. Thanks for letting me ramble and for all of the help and advice.

Regards,
Brad
 
  


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
Enabling SCSI emulation for ATAPI CD writer for Xcdroast nikos3.14 Fedora 2 09-30-2005 08:10 AM
pr0blemz enabling ide-scsi emulation >,< astroboiii Linux - General 3 04-05-2004 02:40 PM
enabling scsi emulation Comarez Linux - Hardware 9 01-25-2004 09:56 PM
enabling scsi emulation for cdroms kaltag Linux - General 1 01-24-2004 04:36 PM
No ide SCSI emulation on 2.6? moger Linux - General 1 01-17-2004 09:42 PM

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

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