LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 09-10-2003, 05:09 PM   #1
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Rep: Reputation: 46
scsi emulation


hey guys - problem with my cd drive. i just did a kernel compile (it was fine in the earlier one when scsi-emulation wasnt there), set up the kernel for scsi-emulation, tried to mount the device, and error!

my fstab is:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
/dev/hda9 / ext3 errors=remount-ro 0 1
/dev/hda8 none swap sw 0 0
proc /proc proc defaults 0 0
/dev/fd0 /floppy auto user,noauto 0 0
/dev/cdrom /cdrom iso9660 ro,user,noauto 0 0
/dev/hda7 /boot ext2 defaults 0 2
/dev/hda10 /usr ext3 defaults 0 2
/dev/hda11 /home ext3 defaults 0 2

when i do a "mount /dev/cdrom" or a "mount -t iso9660 /dev/cdrom /cdrom", the error it gives is the following:

"mount: wrong fs type, bad option, bad superblock on /dev/sr0, or too
many mounted file systems (could this be the IDE device where you in fact use ide-scsi so that sr0 or sda or so is needed?)"

the relevant lines from 'dmesg' are:

"hdc: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 10x/24x writer cd/rw xa/form2 cdda tray
ide-scsi: hdc: unsupported command in request queue (0)"

from a previous post, i edited my lilo to add the following line:
append="quiet noapic devfs=mount hdc=ide-scsi acpi=off

and tried it again - with the same error.

so, i changed the line in fstab for cdrom to read:
"/dev/sr0 /cdrom iso9660 ro,user,noauto 0 0"

and tried it all again.

same results.

what am i doing wrong here (apart from not thinking)?

thanks in advance.
 
Old 09-10-2003, 06:03 PM   #2
eltongeoff
Member
 
Registered: Mar 2003
Posts: 76

Rep: Reputation: 15
ok, u need to point /dev/cdrom to /dev/scd0. right now it may be still be pointing to /dev/hdc.
 
Old 09-10-2003, 11:17 PM   #3
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Original Poster
Rep: Reputation: 46
thanks - shall try it in a while.
 
Old 09-10-2003, 11:17 PM   #4
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Original Poster
Rep: Reputation: 46
umm, but wait ... where do i make that change? in fstab?
 
Old 09-11-2003, 12:34 PM   #5
eltongeoff
Member
 
Registered: Mar 2003
Posts: 76

Rep: Reputation: 15
no in the /dev/ directory.
ls -l /dev/cdrom and u should c it pointing to /dev/hdc. remove that link and make one pointing to /dev/scd0. ln -s /dev/scd0 /dev/cdrom, after deleting the old link. that should work with lilo booting hdc as scsi.
 
Old 09-11-2003, 04:13 PM   #6
h/w
Senior Member
 
Registered: Mar 2003
Location: New York, NY
Distribution: Debian Testing
Posts: 1,286

Original Poster
Rep: Reputation: 46
cool - thnx a lot.
 
  


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
scsi emulation tux66 Slackware 4 05-25-2005 04:26 AM
SCSI emulation bcf2 Mandriva 2 12-22-2004 03:06 PM
scsi emulation or not ? cozye Slackware 5 12-01-2003 02:23 PM
Scsi Emulation!! FearPasion710 Linux - General 3 09-20-2003 04:14 AM
scsi emulation, how? one Slackware 1 09-02-2003 01:58 PM

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

All times are GMT -5. The time now is 05:34 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
Open Source Consulting | Domain Registration