How to set up ide-scsi for 2.6.x.x Kernels in Ubuntu?
Gerhard Gaußling
ggrubbish at web.de
Sun May 1 11:00:50 UTC 2005
Am Saturday 30 April 2005 20:03 schrieb ZIYAD A. M. AL-BATLY:
[...]
>
> Another progress: I managed to use SCSI emulation for my DVD and I
> managed to mount and read from it without a problem. Here's what I
> did: * Put "ide-scsi" as the first line in /etc/modules
> * Pass the "hdc=ide-scsi" to the Kernel
> and that's it! Here's the output of "dmesg | grep -i 'hdc\|scsi'":
> Kernel command line: root=/dev/hda1 ro single panic=30
> hdc=ide-scsi
> ide_setup: hdc=ide-scsi
I did not get these lines and I think the error resists, but it works!
Thank you to point me to the fact, that sg must be loaded also, and that
sg and ide-scsi must be in the firs lines of /etc/modules !
I now get this dmesg output:
dmesg | grep -i 'hdc\|scsi'
SCSI subsystem initialized
scsi0 : sata_nv
scsi1 : sata_nv
scsi2 : sata_nv
scsi3 : sata_nv
Type: Direct-Access ANSI SCSI revision: 05
scsi4 : sata_sil
scsi5 : sata_sil
scsi6 : sata_sil
scsi7 : sata_sil
SCSI device sda: 398297088 512-byte hdwr sectors (203928 MB)
SCSI device sda: drive cache: write back
SCSI device sda: 398297088 512-byte hdwr sectors (203928 MB)
SCSI device sda: drive cache: write back
/dev/scsi/host2/bus0/target0/lun0: p1 p2 p3 < p5 p6 p7 p8 p9 p10 p11 >
Attached scsi disk sda at scsi2, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi2, channel 0, id 0, lun 0, type 0
hdc: HL-DT-ST DVDRAM GSA-4163B, ATAPI CD/DVD-ROM drive
ide-scsi is deprecated for cd burning! Use ide-cd and give dev=/dev/hdX
as device
scsi8 : SCSI host adapter emulation for IDE ATAPI devices
Type: CD-ROM ANSI SCSI revision: 02
sr0: scsi3-mmc drive: 40x/40x writer dvd-ram cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr0 at scsi8, channel 0, id 0, lun 0
Attached scsi generic sg1 at scsi8, channel 0, id 0, lun 0, type 5
>
> By the way, the device is called "/dev/scd0".
>
> Again, I hope this helps.
> Ziyad.
Yes, thanks again Ziyad, it did help!
This is the right /etc/modules
$ cat /etc/modules
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
sg
sr_mod
ide_scsi
#ide-cd
ide-disk
ide-generic
lp
mousedev
psmouse
rtc
sbp2
$ sudo cdrecord -scanbus
Linux sg driver version: 3.5.32
Using libscg version 'ubuntu-0.8ubuntu1'.
cdrecord: Warning: using unofficial version of libscg (ubuntu-0.8ubuntu1
'@(#)scsitransp.c 1.91 04/06/17 Copyright 1988,1995,2000-2004 J.
Schilling').
scsibus2:
2,0,0 200) 'ATA ' 'Maxtor 6Y200M0 ' 'YAR5' Disk
scsibus8:
8,0,0 800) 'HL-DT-ST' 'DVDRAM GSA-4163B' 'A100' Removable
CD-ROM
But I'm still wondering about the bootup line:
modprobe -k ide-mod options "hdc=ide-scsi"
FATAL: module ide_mod not found!
Kind regards
Gerhard Gaußling
More information about the ubuntu-users
mailing list