Jump to content

scsi emulation


Guest supe2dresq
 Share

Recommended Posts

Guest supe2dresq

hi, i'm looking for some help. previously i was able to watch dvd's on my fresh mdk 10.1 community edition... then couldn't, not sure why. so I poked around and found that all i needed to do was enable scsi emulation--bad mistake, i don't think i did it correctly, now i can't get the drive to work. upon restart i get this from KSCD

CD-ROM read or access error (or no audio disc in drive).
Please make sure you have access permissions to:
/dev/cdrom

 

and this when i try to mount the emulated drive (sr0):

mount: block device /dev/sr0 is write-protected, mounting read-only
mount: wrong fs type, bad option, bad superblock on /dev/sr0,
or too many mounted file systems
Please check that the disk is entered correctly.

i did a

 ln -s /dev/sr0 /dev/dvd and ln -s /dev/sr0 /dev/cdrom

 

but the links get erased upon a reboot.

 

here's my fstab:

 

# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/hda1 / reiserfs notail 1 1
/dev/hda7 /home reiserfs notail 1 2
/dev/sr0 /mnt/cdrom iso9660 mode=777,owner,users,nowauto 0 0
none /proc proc defaults 0 0
/dev/hda6 /usr reiserfs notail 1 2
/dev/hda5 swap swap defaults 0 0
/dev/sda1               /media/Drive_J          vfat    pamconsole,exec,noauto,iocharset=utf8,noatime,sync,managed 0 0

 

and my modules.conf:

alias autofs autofs4
options ide-cd ignore='hdb'         # tell ide-cd module to ignore these drives
alias s00 sr_mod                       # load sr_mod upon access of sr0
pre-install sg modprobe ide-scsi        # load ide-scsi before sg
pre-install sr_mod modprobe ide-scsi    # load ide-scsi before sr_mod
pre-install ide-scsi modprobe ide-cd    # load ide-cd before ide-scsi

 

and my default boot option from lilo.conf:

default="linux"
boot=/dev/hda
map=/boot/map
keytable=/boot/us.klt
prompt
nowarn
timeout=50
message=/boot/message
menu-scheme=wb:bw:wb:bw
image=/boot/vmlinuz
       label="linux"
       root=/dev/hda1
       initrd=/boot/initrd.img
       append="acpi=ht resume=/dev/hda5 splash=silent hdb=ide-scsi"
       vga=788
       read-only

 

Its a Plextor px-708a and is recognized by cdrecord -scanbus as

 

scsibus1:
       1,0,0   100) 'PLEXTOR ' 'DVDR   PX-708A  ' '1.08' Removable CD-ROM
       1,1,0   101) *
       1,2,0   102) *
       1,3,0   103) *
       1,4,0   104) *
       1,5,0   105) *
       1,6,0   106) *
       1,7,0   107) *

 

it is located at hdb / sr0

 

any help would be awesome, thanks a lot.

Link to comment
Share on other sites

scsi emulation is obsolete/deperecated on 2.6.X series kernels, so you shouldn't use it.

Are you running devfs or udev? (I think 10.1 community had switched to udev). If it's udev, then check your udev rules, the problem must be somewhere there.

You can also try updating your 10.1 repos and then

urpmi dbus hal

HAL will take care automounting your disks.

Link to comment
Share on other sites

Guest supe2dresq

thanks for the reply. so what's the best way to i revert/get rid of the "progress" i did? just go back step by step removing the things i added. thx

Link to comment
Share on other sites

Guest supe2dresq

ok, checked up on the udev rules, think i got them fixed up. but i still get this:

 

/dev/hdb: Input/output error
mount: block device /dev/hdb is write-protected, mounting read-only
/dev/hdb: Input/output error
mount: /dev/hdb: can't read superblock
Please check that the disk is entered correctly.

 

why is that? is that fstab? if so, what should my fstab entry for my cdrom look like? thx

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...