[SLE] Configuring SuSE for CD-ROM and CD writer
Folks, I run SuSE 6.3 with a generic brand cd-rom drive and an HP CD Writer Plus 7500. Both are ATAPI drives connected to my secondary IDE controller. The cd-rom is set as the first device, the cd-writer as the sedondary. I have yet to be able to configure Linux to recognize the CD writer. I can successfully mount and access my first cd-rom but get errors trying to mount the writer. I have lilo, modules.conf and fstab set with the following parameters.: lilo.conf: append="hdd=ide-scsi" modules.conf alias scsi_hostadapter ide-scsi alias scd0 sr_mod fstab: /dev/hdc /cdrom iso9660 ro,noauto,user,exec 0 0 /dev/hdd /cd-rw iso9660 rw,noauto,user,exec 0 0 The generic cd-rom mounts on bootup, but this is the error I get the following errors for the cd-writer; kernel: scsi0 : SCSI host adapter emulation for IDE ATAPI devices kernel: scsi : 1 host. kernel: Vendor: HP Model: CD-Writer+ 7500 Rev: 1.0a kernel: Type: CD-ROM ANSI SCSI revision: 02 kernel: Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 kernel: scsi0 : channel 0 target 0 lun 1 request sense failed, performing reset. kernel: SCSI bus is being reset for host 0 channel 0. kernel: sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray kernel: ide-scsi: hdd: unsupported command in request queue (0) kernel: end_request: I/O error, dev 16:40 (hdd), sector 0 Afterwards I attempt to mount the drive manually and get errors. Can anyone give assistance as to why this may be happening and how to fix it? Thanks, Stuart __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://messenger.yahoo.com -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Stuart Barbee wrote:
Folks,
I run SuSE 6.3 with a generic brand cd-rom drive and an HP CD Writer Plus 7500. Both are ATAPI drives connected to my secondary IDE controller. The cd-rom is set as the first device, the cd-writer as the sedondary. I have yet to be able to configure Linux to recognize the CD writer. I can successfully mount and access my first cd-rom but get errors trying to mount the writer.
Here is how I did it with a similar set up as yours. First, it's usually recommended that you have the CDR as the master drive on your IDE controller with the CDrom as the slave. You'll need to recompile your kernel (which you've apparently done at least once). Get rid of IDE CD support (you won't need it anymore). Enable generic SCSI support and SCSI CDrom support. Basically do all the things mentioned on the CD Writing HOWTO http://www.linuxdoc.org/HOWTO/CD-Writing-HOWTO-2.html#ss2.1 Except note that I mentioned getting rid of all IDE CD support as opposed to their advice of modularizing - as I said, you don't need it. Doing the above should get your CDR/rom detected properly by your kernel. In /etc/fstab I have the following lines: /dev/scd1 /cdrom iso9660 ro,user,noauto,unhide 0 0 /dev/scd0 /cdrom0 iso9660 ro,noauto,user 0 0 You'll notice that my scd1 is mounted at cdrom - that's because it is the CDrom and it reads faster and so I use it for installing software and playing audio cds (easier to link things like that to /dev/cdrom - more standard I suppose). I'm not sure why I have the options (ro,user,...) set differently for each one, but they both seem to work properly (any advice here would be appreciated though). Also I didn't have to do anything to LILO or to /etc/modules.conf as you had indicated you did in your post. Currently everything seems to be working properly, I can mount either CD, write/rewrite to the CDR, play music on the CDrom, basically everything I would need to be able to do. Hope this helps. David Bellows -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
David, Thanks for your quick response. I sent the same request to SuSE support and had not heard a response yet. I'll give your suggestions a try and report back. You also touched on possible solutions to another problem I was having - getting Linux to play audio CDs from my CD-ROM. Thanks again, Stuart David Bellows wrote:
Here is how I did it with a similar set up as yours. First, it's usually recommended that you have the CDR as the master drive on your IDE controller with the CDrom as the slave. You'll need to recompile your kernel (which you've apparently done at least once). Get rid of IDE CD support (you won't need it anymore). Enable generic SCSI support and SCSI CDrom support. Basically do all the things mentioned on the CD Writing HOWTO http://www.linuxdoc.org/HOWTO/CD-Writing-HOWTO-2.html#ss2.1 Except note that I mentioned getting rid of all IDE CD support as opposed to their advice of modularizing - as I said, you don't need it.
Doing the above should get your CDR/rom detected properly by your kernel. In /etc/fstab I have the following lines: /dev/scd1 /cdrom iso9660 ro,user,noauto,unhide 0 0 /dev/scd0 /cdrom0 iso9660 ro,noauto,user 0 0
You'll notice that my scd1 is mounted at cdrom - that's because it is the CDrom and it reads faster and so I use it for installing software and playing audio cds (easier to link things like that to /dev/cdrom - more standard I suppose). I'm not sure why I have the options (ro,user,...) set differently for each one, but they both seem to work properly (any advice here would be appreciated though).
Also I didn't have to do anything to LILO or to /etc/modules.conf as you had indicated you did in your post.
Currently everything seems to be working properly, I can mount either CD, write/rewrite to the CDR, play music on the CDrom, basically everything I would need to be able to do.
Hope this helps.
David Bellows
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
__________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://messenger.yahoo.com -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Dear All, I have an IDE CD-ROM (hdd) and an HP CDwriter (hdc); I can read both, play music (at least from hdd) etc, but I am trying to get xcdroast to work. I followed (as far as I can tell) the instructions in the CD-write HOWTO, recompiled the kernel, and changed lilo and modules. I kept IDE CD Rom support (in contrast to what David Bellows suggested, as I don't want to reconfigure a bunch of other things, like xmcd). I include the relevant parts of lilo.conf and fstab below. I can mount the CDWriter and read stuff, I can mount the other CD and play music from it. But when I start xcdroast to configure it, I only see my HD's and the HP CD-writer listed, I don't see the other CD, and I get a bunch of ugly looking messages in the console (see below). If I change the fstab file (so that both CD are under scd*), and the lilo, then when I start xcdroast I get 8 CD devices!, and some other ugly looking messages. What is the way to go and what am I doing wrong? Thanks a lot in advance, Ramon ******** CONFIGURATION 1 ************* ***fstab** (...) /dev/scd0 /cdrom0 iso9660 ro,noauto,user 0 0 /dev/hdd /mnt/cdrom iso9660 ro,noauto,user 0 0 ****lilo.conf**** image = /boot/vmlinuz-2.2.13-new root = /dev/hda6 label = linux-new read-only append="hdc=ide-scsi" ****modules.conf alias scsi_hostadapter ide-scsi #CD-write stuff options ide-cd ignore=hdc #CD-write *** ugly messages** Jan 6 09:42:10 ligarto kernel: hdd: ATAPI 32X CD-ROM drive, 256kB Cache Jan 6 09:42:36 ligarto kernel: scsi0 : SCSI host adapter emulation for IDE ATAPI devices Jan 6 09:42:36 ligarto kernel: scsi : 1 host. Jan 6 09:42:36 ligarto kernel: Vendor: HP Model: CD-Writer+ 8100 Rev: 1.0g Jan 6 09:42:36 ligarto kernel: Type: CD-ROM ANSI SCSI revision: 02 Jan 6 09:42:36 ligarto kernel: Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 Jan 6 09:42:37 ligarto kernel: scsi0 : channel 0 target 0 lun 1 request sense failed, performing reset.Jan 6 09:42:37 ligarto kernel: SCSI bus is being reset for host 0 channel 0. Jan 6 09:42:38 ligarto kernel: sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray Jan 6 09:42:38 ligarto kernel: Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 Jan 6 09:42:38 ligarto kernel: Unable to get major 11 for SCSI-CD Jan 6 09:42:38 ligarto insmod: /lib/modules/2.2.13/scsi/sr_mod.o: init_module: Device or resource busy Jan 6 09:42:38 ligarto insmod: /lib/modules/2.2.13/scsi/sr_mod.o: insmod block-major-11 failed Jan 6 09:46:40 ligarto kernel: ide-scsi: hdc: unsupported command in request queue (0) Jan 6 09:46:40 ligarto kernel: end_request: I/O error, dev 16:00 (hdc), sector 0 **************** CONFIGURATION 2 **************** ** fstab** dev/scd0 /cdrom0 iso9660 ro,noauto,user 0 0 /dev/scd1 /cdrom iso9660 ro,noauto,user 0 0 ****lilo.conf**** image = /boot/vmlinuz-2.2.13-new root = /dev/hda6 label = linux-new read-only # append="hdc=ide-scsi" ****modules.conf alias scsi_hostadapter ide-scsi #CD-write stuff options ide-cd ignore=hdc #CD-write ***ugly messages**** Jan 6 10:07:58 ligarto kernel: scsi0 : SCSI host adapter emulation for IDE ATAPI devices Jan 6 10:07:58 ligarto kernel: scsi : 1 host. Jan 6 10:07:58 ligarto kernel: Vendor: HP Model: CD-Writer+ 8100 Rev: 1.0g Jan 6 10:07:58 ligarto kernel: Type: CD-ROM ANSI SCSI revision: 02 Jan 6 10:07:58 ligarto kernel: Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 Jan 6 10:08:00 ligarto kernel: scsi0 : channel 0 target 0 lun 1 request sense failed, performing reset. Jan 6 10:08:00 ligarto kernel: SCSI bus is being reset for host 0 channel 0. Jan 6 10:08:00 ligarto kernel: Vendor: TOSHIBA Model: CD-ROM XM-6202BH Rev: 1112 Jan 6 10:08:00 ligarto kernel: Type: CD-ROM ANSI SCSI revision: 02 Jan 6 10:08:00 ligarto kernel: Detected scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0 Jan 6 10:08:00 ligarto kernel: Vendor: TOSHIBA Model: CD-ROM XM-6202BH Rev: 1112 Jan 6 10:08:00 ligarto kernel: Type: CD-ROM ANSI SCSI revision: 02 Jan 6 10:08:00 ligarto kernel: Detected scsi CD-ROM sr2 at scsi0, channel 0, id 1, lun 1 Jan 6 10:08:00 ligarto kernel: Vendor: TOSHIBA Model: CD-ROM XM-6202BH Rev: 1112 Jan 6 10:08:00 ligarto kernel: Type: CD-ROM ANSI SCSI revision: 02 Jan 6 10:08:00 ligarto kernel: Detected scsi CD-ROM sr3 at scsi0, channel 0, id 1, lun 2 Jan 6 10:08:00 ligarto kernel: Vendor: TOSHIBA Model: CD-ROM XM-6202BH Rev: 1112 Jan 6 10:08:00 ligarto kernel: Type: CD-ROM ANSI SCSI revision: 02 Jan 6 10:08:00 ligarto kernel: Detected scsi CD-ROM sr4 at scsi0, channel 0, id 1, lun 3 Jan 6 10:08:00 ligarto kernel: Vendor: TOSHIBA Model: CD-ROM XM-6202BH Rev: 1112 Jan 6 10:08:00 ligarto kernel: Type: CD-ROM ANSI SCSI revision: 02 Jan 6 10:08:00 ligarto kernel: Detected scsi CD-ROM sr5 at scsi0, channel 0, id 1, lun 4 Jan 6 10:08:00 ligarto kernel: Vendor: TOSHIBA Model: CD-ROM XM-6202BH Rev: 1112 Jan 6 10:08:00 ligarto kernel: Type: CD-ROM ANSI SCSI revision: 02 Jan 6 10:08:00 ligarto kernel: Detected scsi CD-ROM sr6 at scsi0, channel 0, id 1, lun 5 Jan 6 10:08:00 ligarto kernel: Vendor: TOSHIBA Model: CD-ROM XM-6202BH Rev: 1112 Jan 6 10:08:00 ligarto kernel: Type: CD-ROM ANSI SCSI revision: 02 Jan 6 10:08:00 ligarto kernel: Detected scsi CD-ROM sr7 at scsi0, channel 0, id 1, lun 6 Jan 6 10:08:00 ligarto kernel: Vendor: TOSHIBA Model: CD-ROM XM-6202BH Rev: 1112 Jan 6 10:08:00 ligarto kernel: Type: CD-ROM ANSI SCSI revision: 02 Jan 6 10:08:00 ligarto kernel: Detected scsi CD-ROM sr8 at scsi0, channel 0, id 1, lun 7 Jan 6 10:08:00 ligarto kernel: sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray Jan 6 10:08:00 ligarto kernel: sr1: scsi3-mmc drive: 32x/32x cd/rw xa/form2 cdda tray Jan 6 10:08:00 ligarto kernel: sr2: scsi3-mmc drive: 32x/32x cd/rw xa/form2 cdda tray Jan 6 10:08:00 ligarto kernel: sr3: scsi3-mmc drive: 32x/32x cd/rw xa/form2 cdda tray Jan 6 10:08:00 ligarto kernel: sr4: scsi3-mmc drive: 32x/32x cd/rw xa/form2 cdda tray Jan 6 10:08:00 ligarto kernel: sr5: scsi3-mmc drive: 32x/32x cd/rw xa/form2 cdda tray Jan 6 10:08:00 ligarto kernel: sr6: scsi3-mmc drive: 32x/32x cd/rw xa/form2 cdda tray Jan 6 10:08:00 ligarto kernel: sr7: scsi3-mmc drive: 32x/32x cd/rw xa/form2 cdda tray Jan 6 10:08:00 ligarto kernel: sr8: scsi3-mmc drive: 32x/32x cd/rw xa/form2 cdda tray Jan 6 10:08:00 ligarto kernel: Detected scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0 Jan 6 10:08:00 ligarto kernel: Detected scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0 Jan 6 10:08:00 ligarto kernel: Detected scsi CD-ROM sr2 at scsi0, channel 0, id 1, lun 1 Jan 6 10:08:00 ligarto kernel: Detected scsi CD-ROM sr3 at scsi0, channel 0, id 1, lun 2 Jan 6 10:08:00 ligarto kernel: Detected scsi CD-ROM sr4 at scsi0, channel 0, id 1, lun 3 Jan 6 10:08:00 ligarto kernel: Detected scsi CD-ROM sr5 at scsi0, channel 0, id 1, lun 4 Jan 6 10:08:00 ligarto kernel: Detected scsi CD-ROM sr6 at scsi0, channel 0, id 1, lun 5 Jan 6 10:08:00 ligarto kernel: Detected scsi CD-ROM sr7 at scsi0, channel 0, id 1, lun 6 Jan 6 10:08:00 ligarto kernel: Detected scsi CD-ROM sr8 at scsi0, channel 0, id 1, lun 7 Jan 6 10:08:00 ligarto kernel: Unable to get major 11 for SCSI-CD Jan 6 10:08:00 ligarto insmod: /lib/modules/2.2.13/scsi/sr_mod.o: init_module: Device or resource busy Jan 6 10:08:00 ligarto insmod: /lib/modules/2.2.13/scsi/sr_mod.o: insmod block-major-11 failed Jan 6 10:08:13 ligarto kernel: ide-scsi: hdc: unsupported command in request queue (0) Jan 6 10:08:13 ligarto kernel: end_request: I/O error, dev 16:00 (hdc), sector 0 Jan 6 10:08:13 ligarto kernel: ide-scsi: hdd: unsupported command in request queue (0) Jan 6 10:08:13 ligarto kernel: end_request: I/O error, dev 16:40 (hdd), sector 0 -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
On Thu, 06 Jan 2000, Ramon Diaz-Uriarte wrote:
Dear All,
If I change the fstab file (so that both CD are under scd*), and the lilo, then when I start xcdroast I get 8 CD devices!, and some other ugly looking messages.
What is the way to go and what am I doing wrong?
Looks like you missed a few items in your kernel configuration. Go back to /usr/src/linux/.config and make sure that the SCSI settings are (something) like the following: CONFIG_SCSI=y CONFIG_BLK_DEV_SD=m CONFIG_CHR_DEV_ST=m CONFIG_BLK_DEV_SR=m # CONFIG_BLK_DEV_SR_VENDOR is not set CONFIG_CHR_DEV_SG=m # CONFIG_CHR_DEV_SG_OLD is not set # CONFIG_SCSI_MULTI_LUN is not set # CONFIG_SCSI_CONSTANTS is not set # CONFIG_SCSI_LOGGING is not set See how Multi-LUN and Logging are turned off? You have to do this manually (default is on, which would explain why your CD-R appears as 8 discrete devices). -- -=|JP|=- Jon Pennington | Atipa Linux Solutions -o) jpennington@atipa.com | http://www.atipa.com /\\ Kansas City, MO, USA | 816-241-2641 _\_V -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (4)
-
bfootdav@bellsouth.net
-
jpennington@atipa.com
-
rdiazuri@students.wisc.edu
-
sfbarbee@yahoo.com