LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   ide-scsi question (https://www.linuxquestions.org/questions/slackware-14/ide-scsi-question-145290/)

slackMeUp 02-12-2004 12:02 PM

ide-scsi question
 
2.4.24

Ok so I wanted to burn a cd today but I ran into some problems...

After getting them hammered out... I am left with this...

The ide-scsi module loads... detects the drive I want it to use and loads the driver.

At this point I try to mount a CD and I get an "this is not a valid block device" error... And when I start K3B to burn a cd it can't find the device... I try to tell it to use /dev/scd0 and /dev/scd1 but an error comes up...

My question is how can you tell which /dev file the drive is attached to after the ide-scsi module loads... I am able to see the scsi bus and address numbers but I don't know why it will not use /dev/scdx...

This problem happens when using root and a user account...

Any ideas?

BTW while the how-to tells me to load the sg module... when loaded the module is unused at all times... scsi_mod and sr_mod are also loaded when I load ide-scsi...

jtshaw 02-12-2004 12:08 PM

Do you have the scsi-cd module? or scsi-cd support built into your kernel? If not it is probably detecting the device but not binding it to a device you can use.

jong357 02-12-2004 12:26 PM

Those scsi modules are useless now a days.... Full support for ATAPI drives have been around for awhile and is enabled in every newer distro... Take that out of gub and lilo if you are using an ide/atapi drive and mount your drive as /dev/hdc... You can't mount an empty disk either, thats why it's saying that... Grab a cd with data on it. Mount it like you normally would. then type "mount -l". Thats a good way to find out what dev node it's using... I havent bothered trying to use k3b yet... Can't help you there... I use the built in gnome/nautilus burner and it works wonderful....

slackMeUp 02-12-2004 03:09 PM

I was to understand that you needed the ide-scsi module to burn cds in the 2.4 kernels and below. Correct me if I am wrong...

I use 2.4.24... I don't plan to go to 2.6 because I have an issue with fglrx and the new kernel... I tried many times....

If you burn cds and use the 2.4.2x kernel then do you see ide-scsi when you do "lsmod"?

slackMeUp 02-12-2004 03:10 PM

Also...
If I were to give my windows 98 VMware install access to the burner then will I be able to burn cds that way?

busbarn 02-12-2004 03:28 PM

ATAPI burning is possible but it is way slower than scsi. Type

cat /proc/scsi/scsi

and see what you get. Your cdrom drive, if everything is configured properly, should show up a scsi0 or scsi1. IF nothing shows up then your kernel isn't configured properly. As a side note, I don't like dealing withm odules so I just enable it in the kernel. Some people don't like that but oh well.

Next, type

dmesg

and look for the same scsi device. It should say something like device located at /dev/sr0 or /dev/sg0. You can enter that into your fstab, and then k3b will find it. Hope this helps.

slackMeUp 02-12-2004 04:19 PM

ok well cat tells me this...

[myUserName]@[myComputer]:/# cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: SONY Model: DVD-ROM DDU1621 Rev: S2.9
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: MITSUMI Model: CR-4804TE Rev: 3.0D
Type: CD-ROM

Then dmesg tells me this...

SCSI subsystem driver Revision: 1.00
SCSI subsystem driver Revision: 1.00
hdc: attached ide-scsi driver.
hdd: attached ide-scsi driver.
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: SONY Model: DVD-ROM DDU1621 Rev: S2.9
Type: CD-ROM ANSI SCSI revision: 02
Vendor: MITSUMI Model: CR-4804TE Rev: 3.0D
Type: CD-ROM ANSI SCSI revision: 02


I see no /dev/scdx....

busbarn 02-12-2004 07:09 PM

scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: CyberDrv Model: CW058D CD-R/RW Rev: 100D
Type: CD-ROM ANSI SCSI revision: 02
scsi1 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: PIONEER Model: DVD-ROM DVD-116 Rev: 1.21
Type: CD-ROM ANSI SCSI revision: 02
sr0: scsi3-mmc drive: 4x/48x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr1: scsi3-mmc drive: 40x/40x cd/rw xa/form2 cdda tray
Attached scsi CD-ROM sr1 at scsi1, channel 0, id 0, lun 0
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 5
Attached scsi generic sg1 at scsi1, channel 0, id 0, lun 0, type 5

Look at the next couple of lines after what you posted. I have bolded those important lines from my machine. You kind of have to dig around in dmesg to find what you need.

Skyline 02-12-2004 10:24 PM

Remember also that when the device names change to /dev/sr0 and /dev/sr1 make sure you change the relevant entries in /etc/fstab to accomodate your normal cd use aswell - ie for example from /dev/cdrom to /dev/sr0 etc.

carboncopy 02-12-2004 10:55 PM

In 2.6.X version kernel, it says that ide-scsi has been depreciated, what does this mean? And what should we do?

busbarn 02-12-2004 11:08 PM

Where does it say that? I haven't seen anything about it. My guess would be that atapi support is finally up to speed with scsi. Any thoughts?

carboncopy 02-12-2004 11:13 PM

It is a message from dmsg.I don't have it right now, as in 2.6.X it gives the current kernel message and not the bootup kernel message. I would have to reboot to get the message.

busbarn 02-12-2004 11:16 PM

I don't get that message with dmesg. Ineresting though.

carboncopy 02-12-2004 11:36 PM

ok let me reboot then. :)

carboncopy 02-12-2004 11:37 PM

root@s91:~# uptime
13:36:07 up 3 days, 21:49, 5 users, load average: 0.10, 0.04, 0.01


All times are GMT -5. The time now is 12:40 AM.