All I do is append="hdc=ide-scsi" in lilo.conf and rerun lilo. I then run "modprobe ide-scsi" after reboot. This with a stock kernel. Works. Ramon Diaz-Uriarte wrote:
My HP-8100 CD-RW is burning CD's, and I am also using xmcd to play music CD's on my CD-ROM. Thanks a lot to the list memebers, and in particular to Jon Pennington and David Bellows for very helpful responses.
The following is a summary, in case anybody is interested on what I did.
0. My hardware: an HP-8100 (the cd writer) and a Toshiba XM-6202BH; both IDE devices, with the HP as master, on the secondary IDE controller (also have two HD's, IDE, on the primary IDE controller).
1. Compile the kernel: basically following the CDwriting-HOWTO, with the modification by David Bellows, which I reproduce below (hope that's OK, David):
"Except note that I mentioned getting rid of all IDE CD support asopposed 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)."
Actually, my options are different /dev/scd0 /cdrom0 iso9660 ro,noauto,user 0 0 /dev/scd1 /cdrom iso9660 ro,noauto,user 0 0
2. I also added the following to my /etc/modules.conf: #alias scsi_hostadapter off # the above turned off for CD-writing alias scd0 sr_mod alias scd1 sr_mod alias scsi_hostadapter ide-scsi #options ide-cd ignore=hdc #CD-write & scsi emulation #options ide-cd ignore=hdd # as above; but these two lines # don't seem to make a difference
3. I did not add the line append="hdc=ide-scsi" to the lilo.conf; I guess I don't need it because there is no longer any IDE CD support.
4. When compiling the kernel, make sure that multi-lun and logging are turned off; you can check the options appropriate options when, say,runing xconfig, or you can directly modify the file /usr/src/linux/.xconfig; the following is a sample from Jon Pennington; yours might look different: they key are multi-lun and logging:
CONFIG_SCSI=yCONFIG_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
As Jon Pennington explained, unless Multi-LUN and Logging are turned off you get a whole bunch of scsi devices (instead of just 2).
5. Now do the usual stuff for kernel compilation (make dep clean bzImage; the modules and lilo).
6. Re-boot the machine, and start xcdroast; everything should be correct now (type, number, name of devices).
7. Set up xcdroast; follow the instructions /usr/doc/packages/xcdroast/README.html
8. Set up xmcd. I only care about playing music cd from the toshiba cd-rom. I run config.sh and selected the Toshiba SCSI cd-rom with number closest to mine; not very sofisticated, but it works.
I am still getting some annoying messages (I have posted separate messages about that), but otherwise everything seems to be OK.
Ramon
-- 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/
-- Michael H. Collins http://www.linuxlink.com 512-442-3151 512-656-9508 The Ultimate WM http://www.xfce.org Fun with the Austin Linux group http://www.austinlug.org -- 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/