Click to See Complete Forum and Search --> : Scsi??


Elijah
01-02-2003, 09:43 AM
I'm sorry I'm quite new to (still) my hardware. How do I know what kind of scsi controller I have in linux?? or if a scsi exists in my system ?? :D
I want to re-compile my debian kernel, I have a liteon ltr-16102. I'm not really sure if even use scsi, sorry I'm still a newbie even from my own hardware :(

http://www.imd.com.my/liteon/liteon_ltr16102.htm

rid3r
01-02-2003, 10:09 AM
most kernels come with SCSI support
# ls -l /dev | grep cdrom
to see what your cdrom points to, it should be sr0 , sr1 e.t.c
# cdrecord - scanbus
see if your CD/RW is listed
--
if not listed, to fix it just add to your lilo.conf or grub.conf just one line
"hdc=ide-scsi" (hda - primary master, hdb - primary slave, hdc - secondary master, hdd - secondary slave)
---
the idea is that an IDE device must emulate a SCSI device.
http://www.linuxdocs.org/HOWTOs/CDROM-HOWTO/
tell us if it works.

Elijah
01-02-2003, 10:21 AM
Originally posted by rid3r
most kernels come with SCSI support
# ls -l /dev | grep cdrom
to see what your cdrom points to, it should be sr0 , sr1 e.t.c
# cdrecord - scanbus
see if your CD/RW is listed
--
if not listed, to fix it just add to your lilo.conf or grub.conf just one line
"hdc=ide-scsi" (hda - primary master, hdb - primary slave, hdc - secondary master, hdd - secondary slave)
---
the idea is that an IDE device must emulate a SCSI device.
http://www.linuxdocs.org/HOWTOs/CDROM-HOWTO/
tell us if it works.
Brilliant!
I have scsi!
[elijah@Valhalla elijah]$ ls -l /dev/ | grep cdrom
lrwxrwxrwx 1 root root 8 Dec 24 14:45 cdrom -> /dev/hdb
lrwxrwxrwx 1 root root 9 Dec 24 14:45 cdrom1 -> /dev/scd0
[root@Valhalla elijah]# cdrecord -scanbus
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 J?rg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.5'
scsibus0:
0,0,0 0) 'LITE-ON ' 'LTR-16102B ' 'OS0E' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
Very informative links, Thanks
:)

Elijah
01-02-2003, 10:25 AM
btw, now that I know that I have scsi, is there a way to identify it's scsi host adapter? I could use that info once I compile ...

mdwatts
01-02-2003, 10:33 AM
The Liteon you have is a IDE cdrw.

It uses scsi emulation and not a actual scsi controller.

rid3r
01-02-2003, 10:53 AM
if you are still here, Elijah:
# cat /etc/fstab
look for
/dev/csd0 /mnt/[the_mount_point ...... ro (you change it to rw (read-write))

Elijah
01-02-2003, 11:29 AM
Originally posted by mdwatts
The Liteon you have is a IDE cdrw.

It uses scsi emulation and not a actual scsi controller.
oh, I see. I have no scsi then.

[I[Originally posted by rid3r [/i]
if you are still here, Elijah:
# cat /etc/fstab
look for
/dev/csd0 /mnt/[the_mount_point ...... ro (you change it to rw (read-write))
hmmm I got /dev/cdrom1 for my cdrw, ok I changed it now to rw.

Many thanks guys :p
Elijah

mdwatts
01-02-2003, 03:39 PM
/dev/csd0 should actually be /etc/scd0