Hi Everybody Has anyone ever had any success writing CDs with a Linux laptop? What's the best solution: parallel port, USB or PCMCIA IDE? I'd be interested to here of anyone's experiences with this. Cheers M -- Matthew S. Smith Private : http://www.mss.cx Business: http://www.kadina.cx
I don't own a laptop but I'll share my experiences trying to get my ATAPI PleXWriter 8/4/32 working. SuSE 7.1 recognized it as hdd. As hdd my SB PCI512 could play music CDs and I could access CDs on the drive. BUT, xcdroast would not recognize it because it wasn't scsi. So, I added scsi emulation to the kernel and an hdd=ide-scsi line to lilo. Now, I can burn CDs but I can't play music CDs, Also, the scsi emulation is intefering with my parallel zip250 installation, which worked when my PleXWriter was hdd. I get two scsi devices recognized at boot. And while my PleXWriter is scd0, it appears that scd1 isn't connecting to the Zip250 using mount -t iso9660 /dev/scd1 /zip or mount -t vfat /dev/scd1 /zip (because the iomega zip disk is vfat.) I'm between a rock and a hard place. If I were to design my beast again I would require both the PleXWriter and the Zip250 to be scsi devices, with the scsi card loaded into the kernel at boot. jlk On Monday 26 March 2001 20:14, Matthew Smith wrote:
Hi Everybody
Has anyone ever had any success writing CDs with a Linux laptop? What's the best solution: parallel port, USB or PCMCIA IDE?
I'd be interested to here of anyone's experiences with this.
Cheers
M
On Tue, 27 Mar 2001, Jerry Kreps wrote:
I get two scsi devices recognized at boot. And while my PleXWriter is scd0, it appears that scd1 isn't connecting to the Zip250 using mount -t iso9660 /dev/scd1 /zip or mount -t vfat /dev/scd1 /zip (because the iomega zip disk is vfat.)
I'm talking off the top of my head, because I haven't got any scsi-emulated devices to look at right now. Are these scsi-emulated devices named/numbered like IDE and real scsi devices? If so, scd1 would be partition 1 on device scd, not a separate device, right? With IDE, devices are hda, hdb, hdc, hdd With real SCSI, they're sda, sdb, sdc, sdd, etc. I just sold my external scsi ZIP drive, but the fstab entry, which is all that remains in memory of it, reads: /dev/sda4 /zip auto noauto,user 0 0 It was the only device on the SCSI bus, hence 'sda'. For some strange reason, the preformatted media comes with a single large partition, but defined in the fourth position in the partition table, hence 'sda4'. What is the equivalent naming/numbering scheme for the scsi-over-whatever emulated devices? -- Rick Green "I have the heart of a little child, and the brain of a genius. ... and I keep them in a jar under my bed"
On Tue, 27 Mar 2001, Rick Green wrote:
On Tue, 27 Mar 2001, Jerry Kreps wrote:
I get two scsi devices recognized at boot. And while my PleXWriter is scd0, it appears that scd1 isn't connecting to the Zip250 using mount -t iso9660 /dev/scd1 /zip or mount -t vfat /dev/scd1 /zip (because the iomega zip disk is vfat.)
I'm talking off the top of my head, because I haven't got any scsi-emulated devices to look at right now.
Are these scsi-emulated devices named/numbered like IDE and real scsi devices? If so, scd1 would be partition 1 on device scd, not a separate device, right? With IDE, devices are hda, hdb, hdc, hdd With real SCSI, they're sda, sdb, sdc, sdd, etc.
<SNIP>
What is the equivalent naming/numbering scheme for the scsi-over-whatever emulated devices?
Jerry/Rick, Here is my experience with SuSE 6.3 and the latest 2.2.x suse kernel, FWIW. I guess numbering depends a little on what order your modules load. But it seems that emulated-scsi numbering is just like the numbering of real SCSI devices. In my case I have a box with a cheap ISA SCSI card driving a real SCSI scanner, and a cheap IDE CD-Writer using kernel module ide-scsi emulation.
la /dev/scanner lrwxrwxrwx 1 root root 3 Feb 23 16:16 /dev/scanner -> sg0 la /dev/cdrom lrwxrwxrwx 1 root root 4 Feb 19 20:06 /dev/cdrom -> scd0
You might find it confusing (as I do) that my kernel has numbered both devices "0" but this is how it is. It works. Tim Gerla's tcd (or gtcd) program has no problem playing audio CDs. I am not sure how xcdroast works, but I have successfully done 4X burns using the commandline utility 'cdrecord'. I don't use a Linux /dev file directly. Instead I gave cdrecord the SCSI address of the CD-RW directly on the commandline. ide-scsi created a virtual scsibus1. Use this command to find the SCSI address of your IDE CD burner : # cdrecord -scanbus Cdrecord release 1.8a30 Copyright (C) 1995-1999 Jörg Schilling Using libscg version 'schily-0.1' scsibus0: 0,0,0 0) * 0,1,0 1) * 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) 'UMAX ' 'Astra 2200 ' 'V2.3' Scanner 0,6,0 6) * 0,7,0 7) * scsibus1: 1,0,0 100) 'SONY ' 'CD-RW CRX140E ' '1.0n' Removable CD-ROM 1,1,0 101) * 1,2,0 102) * 1,3,0 103) * 1,4,0 104) * 1,5,0 105) * 1,6,0 106) * 1,7,0 107) * I think xcdroast is easier because it tries to find your burner automaticaly. AFAIR it found it on my system, but sorry to say I didn't bother burning anything with it. My guess is that a SCSI IOMEGA ZIP drive (is that what a Zip250 is?) will be numbered as a hard disk /dev/sda and its formatted partition(s) will be /dev/sda1 and so on. Have fun! dproc
dproc@dol.net wrote:
On Tue, 27 Mar 2001, Rick Green wrote:
On Tue, 27 Mar 2001, Jerry Kreps wrote:
I get two scsi devices recognized at boot. And while my PleXWriter is scd0, it appears that scd1 isn't connecting to the Zip250 using mount -t iso9660 /dev/scd1 /zip or mount -t vfat /dev/scd1 /zip (because the iomega zip disk is vfat.)
I'm talking off the top of my head, because I haven't got any scsi-emulated devices to look at right now.
Are these scsi-emulated devices named/numbered like IDE and real scsi devices? If so, scd1 would be partition 1 on device scd, not a separate device, right? With IDE, devices are hda, hdb, hdc, hdd With real SCSI, they're sda, sdb, sdc, sdd, etc.
<SNIP>
What is the equivalent naming/numbering scheme for the scsi-over-whatever emulated devices?
I guess numbering depends a little on what order your modules load. But it seems that emulated-scsi numbering is just like the numbering of real SCSI devices.
In my case I have a box with a cheap ISA SCSI card driving a real SCSI scanner, and a cheap IDE CD-Writer using kernel module ide-scsi emulation.
la /dev/scanner lrwxrwxrwx 1 root root 3 Feb 23 16:16 /dev/scanner -> sg0 la /dev/cdrom lrwxrwxrwx 1 root root 4 Feb 19 20:06 /dev/cdrom -> scd0
You might find it confusing (as I do) that my kernel has numbered both devices "0" but this is how it is. It works.
Tim Gerla's tcd (or gtcd) program has no problem playing audio CDs.
I am not sure how xcdroast works, but I have successfully done 4X burns using the commandline utility 'cdrecord'. I don't use a Linux /dev file directly. Instead I gave cdrecord the SCSI address of the CD-RW directly on the commandline.
ide-scsi created a virtual scsibus1. Use this command to find the SCSI address of your IDE CD burner :
# cdrecord -scanbus Cdrecord release 1.8a30 Copyright (C) 1995-1999 Jörg Schilling Using libscg version 'schily-0.1' scsibus0: 0,0,0 0) * 0,1,0 1) * 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) 'UMAX ' 'Astra 2200 ' 'V2.3' Scanner 0,6,0 6) * 0,7,0 7) * scsibus1: 1,0,0 100) 'SONY ' 'CD-RW CRX140E ' '1.0n' Removable CD-ROM 1,1,0 101) * 1,2,0 102) * 1,3,0 103) * 1,4,0 104) * 1,5,0 105) * 1,6,0 106) * 1,7,0 107) *
I think xcdroast is easier because it tries to find your burner automaticaly. AFAIR it found it on my system, but sorry to say I didn't bother burning anything with it.
My guess is that a SCSI IOMEGA ZIP drive (is that what a Zip250 is?) will be numbered as a hard disk /dev/sda and its formatted partition(s) will be /dev/sda1 and so on.
/dev/scd? is for SCSI CDs /dev/sd? is for SCSI hard drives /dev/sg? is for 'generic' SCSI devices, like scanners, etc. You should be able to mount the zip drives as /dev/sda4 (for some only-partially-understood reason). Old thread, buy hey... Chris -- __ _ -o)/ / (_)__ __ ____ __ Chris Reeves /\\ /__/ / _ \/ // /\ \/ / ICQ# 22219005 _\_v __/_/_//_/\_,_/ /_/\_\
You should be able to mount the zip drives as /dev/sda4 (for some only-partially-understood reason). Run fdisk on a zip, and print the partition table. The
On Sun, 1 Apr 2001, Chris Reeves wrote: pre-formatted(FAT) disks all seem to have the single partition defined in table position 4. Go figure. If you re-partition and format them with ext2, you're free to define them in any position you like. Just remember to mount the partition you defined... I'm not sure it was in this thread, or on another list, but I saw it reported recently that the 'Zip Tools' disk has partition 1 formatted as FAT, so if you want to mount that one, you have to moount /dev/sda1 not /dev/sda4. -- Rick Green "I have the heart of a little child, and the brain of a genius. ... and I keep them in a jar under my bed"
On Tue, 27 Mar 2001, Jerry Kreps said:
SuSE 7.1 recognized it as hdd. As hdd my SB PCI512 could play music CDs and I could access CDs on the drive. BUT, xcdroast would not recognize it because it wasn't scsi. So, I added scsi emulation to the kernel and an hdd=ide-scsi line to lilo. Now, I can burn CDs but I can't play music CDs, Also, the scsi emulation is intefering with my parallel zip250 installation, which worked when my PleXWriter was hdd. I get two scsi devices
I'm also experiencing some wierdness with my set up. I can read a data cd from the ATAPI CD but can't read an audo cd with it. No big deal I suppose, but it would be nice to just use the ATAPI as a source drive and the Yamaha 4416 SCSI as the destination drive.
I'm between a rock and a hard place.
If I were to design my beast again I would require both the PleXWriter and the Zip250 to be scsi devices, with the scsi card loaded into the kernel at boot. jlk
Yup, I think that the IDE interface is OK for HD's, but gets very messy when you try to add other devices. I think that SCSI simplifies things immensely, and the devices are also easier to port between different machines. ---------------------------------------------------------------------- John Karns jkarns@csd.net
On Tue, 27 Mar 2001, Matthew Smith said:
Hi Everybody
Has anyone ever had any success writing CDs with a Linux laptop? What's the best solution: parallel port, USB or PCMCIA IDE?
I'd recommend PCMCIA SCSI. In this way it is irrelevant whether you're using a laptop or desktop, or even what OS platform you're using. I've done this with a Yamaha 4416 CDRW and an AHA1460 PCMCIA card. ---------------------------------------------------------------------- John Karns jkarns@csd.net
participants (6)
-
Chris Reeves
-
dproc@dol.net
-
Jerry Kreps
-
John Karns
-
Matthew Smith
-
Rick Green