The 03.01.04 at 05:40, Ralph De Witt wrote:
<4>Kernel command line: root=/dev/hda1 hdd=ide-scsi max_scsi_luns=1 vga=791 <4>ide_setup: hdd=ide-scsi <6>Initializing CPU#0
<6>Uniform Multi-Platform E-IDE driver Revision: 6.31 <4>ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx <4>VP_IDE: IDE controller on PCI bus 00 dev 89 <6>PCI: Hardcoded IRQ 14 for device 00:11.1 <4>VP_IDE: chipset revision 6 <4>VP_IDE: not 100%% native mode: will probe irqs later <4>VP_IDE: Unknown VIA SouthBridge, contact Vojtech Pavlik
<4>hda: MAXTOR 4K080H4, ATA DISK drive <4>hdc: TOSHIBA DVD-ROM SD-M1612, ATAPI CD/DVD-ROM drive <4>hdd: LITE-ON LTR-16101B, ATAPI CD/DVD-ROM drive
<4>hdc: no flushcache support <4>hdd: no flushcache support <6>scsi0 : SCSI host adapter emulation for IDE ATAPI devices <4> Vendor: TOSHIBA Model: DVD-ROM SD-M1612 Rev: 1004 <4> Type: CD-ROM ANSI SCSI revision: 02 <4> Vendor: LITE-ON Model: LTR-16101B Rev: TS0N <4> Type: CD-ROM ANSI SCSI revision: 02 <7>sd_attach() <7>sd_attach()
linux:/home/ralph # scan_scsi.linux Host: scsi0 Channel: 00 Id: 00 Lun: 00 CD-ROM -> /dev/sg0 Host: scsi0 Channel: 00 Id: 01 Lun: 00 CD-ROM -> /dev/sg1 linux:/home/ralph #
Ok so far. I am going to stop the process here for now. If I am correct in reading the stuff from my system the only parameter I have passed to the kernel is hdd=ide_scsi (this is my cd-rw), yet it is telling me that both hdc (which is my dvd) and hdd (which is my cd-rw) are being scsi emulated. Is this correct?
Yes. It suprises me, but yes, you are getting scsi emulation for both devices.
Now when I look in /dev is see links for cdrom, cdrom1, cdrecorder, and dvd. But I do not have sufficent knowledge to know what they are pointing. Should these links be deleted?
Er... no. I see you know already, Richard told you how; you have: | My links are: | dvd->hdc Block Device (Link) | cdrom->sr1 Block Device (Link) | cdrom1->sr0 Block Device (Link) | cdrecorder->sr0 Block Device (Link) The comand line way is simply "ls -l /dev/cdr* /dev/dvd". In my case, the output is: cer@nimrodel:~> ls -l /dev/cdr* /dev/dvd lrwxrwxrwx 1 root root 4 2003-01-04 12:46 /dev/cdrecorder -> scd1 lrwxrwxrwx 1 root root 4 2002-11-07 19:37 /dev/cdrom -> scd1 lrwxrwxrwx 1 root root 4 2003-01-04 12:49 /dev/dvd -> scd0
I also have 4 directories in /media. cdrom, cdrom1, cdrecorder, and dvd. I feel/think that cdrom1 was some how created in error. Should that one be deleted?
You could if you like, or you could leave it. Let me see... I'd sugest you: 1) Change the "cdrecorder" link to "sr1", as I understand that the writer is the second device. 2) You may leave the "cdrom" and "cdrom1" links. The first one is the writer unit, the second one is the dvd by another name. Try them, they should work. 3) Change the "dvd" link to "sr0". Alternatively, convince the kernel not to use emulation for that unit... but, for the moment, I don't know how O:-) - and anyway, it might be easier not to. Now, how do you change the links? Well... I suppose konkeror should be able to do it, but I don't like to start an X session as root. Anyway, I normally use gnome, and as I tried konqeror right now to see if it could edit links, it crashed. So... you might use mc on a terminal, as I mentioned the other day, or the comand line: use whichever makes you feel more confortable. The last would be like this (as root): cd /dev rm dvd (delete file or link) ln -s sr0 dvd (create symbolic link) rm cdrecorder ln -s sr1 cdrecorder
Now when we create the links is dvd and cdrom linked to the dvd hdc, and cdrecorder linked only to sr0?
Er... I got a bit lost here :-) The links are just a trick to access the real devices (sr0, hdc or whatever) with names that are meaningfull to us. In the rest of the system everything else refers to "/dev/cdrom" instead of the real device where it is; this way, if we decide to use it as hdc or as sr0 we need only to change the link and it will work everywere.
Before we do any linking how do we get hdc to be just ide, and not scsi emulated. (I have no need to do cd to cd-rw copying at this time.
True... but if it works, don't touch it O:-) I mean, the kernel seems to want it that way, and I feel your system was configured that way, except that it got it a bit bad. You'd end with yast not working, because it remembers that before the dvd was sr0... (it can be corrected, of course). And anyway, the real reason is, I don't know how to convince your kernel O:-) it shouldn't be doing it that way (by the parameters you pass it).
Audio cable is hooked up.
I hope the above is not too confusing, I feel a bit sleepy today :-)
I am getting tired and yes I have gotten somewhat confused, but things are also a little clearer, I made comments in the middle of things along with all the questions I could think of. Hope I do not confuse you too much.
The thing is that you need, as user, access to the cdrom device in order to play a music CD. Normally the device will have read/write permission only for root (or not, depending on an automatism I don't fully understand). If you can't play a CD on the dvd, after doing the above corrections, check the permissions on /dev/sr0 -- Cheers, Carlos Robinson