The 03.01.03 at 02:48, Ralph De Witt wrote:
Carlos: I have done some more looking and have found that I can not play cd's with the DVD, and cannot get to the cdrw. In Grub on the kernnel line I have only hdd=ide-scsi listed. My dvd, and cdrw are both ide drives. In the hardware info area of yast2, the DVD is listed as /dev/sr0, and the CDRW is listed as /dev/sr1 this in the CDROM section. The above is repeated in the SCSI section. My Desktop DVD icon is pointed to /dev/cdreacorder, and the Desktop CD-R icon is pointed to /dev/cdrom. In my /dev directory I see links for cdrom, cdrom1, cdrecorder, and dvd devices, but lack the skill to find out what they point to. In the media directory I have cdrom, cdrom1,cdrecorder, and dvd subdirectories. Can you help me sort this all out. Hopefully if we can get the links to the right devices and any extra removed then it will all work. Looks like the install went worst then the multiple repeats of the devices we fixed. This is possible the cause of the other errors I was seeing.
Ok, I don't know about the automatics, but I do know about the "manual" way. First, browse your boot file ("less /var/log/boot.msg"). Note the line "Kernel command line", something like this: <4>Kernel command line: root=/dev/hdb6 hdc=ide-scsi hdd=ide-scsi vga=791 <4>ide_setup: hdc=ide-scsi <4>ide_setup: hdd=ide-scsi This will confirm what parameters we actually pass to the kernel. Later, comes the HD detection, something like this: <4>ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx <4>ICH2: IDE controller on PCI bus 00 dev f9 <4>ICH2: chipset revision 18 <4>ICH2: not 100%% native mode: will probe irqs later <4> ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA <4> ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA <4>hda: ST360020A, ATA DISK drive <4>hdb: ST340810A, ATA DISK drive <4>hdc: IDE DVD-ROM 16X, ATAPI CD/DVD-ROM drive <4>hdd: CR-48X8TE, ATAPI CD/DVD-ROM drive So, in my case, this confirms that my DVD is phisically hdc, and the cdwriter is hdd. But, as I configured ide-scsi for both (as confirmed by the kernel parameter lines above), I find the scsi emulation further down on that log file: <4>hdc: no flushcache support <4>hdd: no flushcache support <6>scsi0 : SCSI host adapter emulation for IDE ATAPI devices <4> Vendor: IDE Model: DVD-ROM 16X Rev: 1.06 <4> Type: CD-ROM ANSI SCSI revision: 02 <4> Vendor: MITSUMI Model: CR-48X8TE Rev: 1.1E <4> Type: CD-ROM ANSI SCSI revision: 02 <7>sd_attach() <7>sd_attach() So, I have confirmation that both drives are using ide-scsi emulation. In fact, the only one that needs it is the recorder; but if you want to make cd - cd copies, the reader has to use ide-scsi as well. At least, xcdroast complained. However, you could set the dvd as a normal ide device instead. I'll assume ide-scsi for both. Now, try to run "scan_scsi.linux" (package "cdda2wav"): nimrodel:~ # 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 /dev/sg0 is the hdc (DVD) /dev/sg1 is hdd (cdwriter) So... what links should we make? I have these: cdrecorder -> scd1 cdrom -> scd1 dvd -> scd0 (use the command "ls -l /dev/cdr*" and "ls -l /dev/dvd*"). If you don't feel confortable with the comand line, use mc (Midnight Comander) on a text console or terminal: it is similar to the old Norton Comander for MsDos and quite powerfull. Under the "File" menu you can create or edit symlinks (don't use hardlinks, ie, plain links, they are more difficult to keep track off). Note: scd0 is equivalent to sr0, which is to be deprecated, the docs say. I have a doubt about the recorder, I'll have to test something. Now, permissions... in order to write CDs, you will need write permissions. But, desktops like gnome or kde change these everytime you log in. Cd sound. Well... the gnome player insists on using the cdrom, even if I change it to dvd. Too bad. Neither does kscd, complains of permissions. :-? Ok, I have: nimrodel:/dev # l scd0 brw-r----- 1 root disk 11, 0 Sep 9 22:24 scd0 Mmm... my normal user doesn't belong to group disk, so for a quick change I'll change it to: brw-rw---- 1 root audio 11, 0 Sep 9 22:24 scd0 Now, the gnome app keeps complaining, but not kscd. Good! I have J.S. Bach "Chromatische Fantasie & Fuge" playing from the DVD set as ide-scsi :-) Just an idea: there has to be an internal audio cable conected from the dvd to the sound device for play back; some installers neglect to put it. I hope the above is not too confusing, I feel a bit sleepy today :-) -- Cheers, Carlos Robinson