Tireseas
07-18-2003, 03:29 AM
Hi all:
I am using Slackware 9.0 (I selected the newbie install option and then later deselected certain services packages for security reasons) with a 2.4.20 kernel, single boot, stand-alone system, with one HDD (HDA) and one CD-RW (HDB).
I am experiencing difficulties getting my system to recognise the SCSI emulation of my ATAPI CD-RW. The steps taken thus far:
1. added the append line to the lilo.conf file. The /etc/lilo.conf file now reads:
boot="/dev/hda1"
append="hdb=ide-scsi"
prompt
timeout="1200"
message=/boot/message
root=/dev/hda1
vga=773
image="/boot/vmlinuz"
label="vmlinuz"
root="/dev/hda1"
read-only
image=/boot/vmlinuz-ide-2.4.20
label="2.4.20"
root=/dev/hda1
read-only
image="/usr/src/linux/arch/i386/boot/bzImage"
label="Linux_Compiled"
root="/dev/hda1"
read-only
optional
2. I know that the CDROM is definitely hdb (I tested it using 'eject hdb' and it ejected, while hdc, etc did not).
3. I have downloaded and installed CDRtools-2.0-i386-1.tgz
4. I have run 'cdrecord -scanbus' as su, and basically I get an error message telling me that there is no appropriate device and that the /dev/pg* cannot be opened. This is that output:
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
5. I have also run a check using lsmod, this being the output of that:
Module Size Used by Not tainted
ppp_deflate 3256 0 (autoclean)
zlib_deflate 18200 0 (autoclean) [ppp_deflate]
bsd_comp 4312 0 (autoclean)
ppp_async 7520 1 (autoclean)
ppp_generic 15452 3 (autoclean) [ppp_deflate bsd_comp ppp_async]
slhc 5040 0 (autoclean) [ppp_generic]
soundcore 3332 0 (autoclean)
parport_pc 14724 1 (autoclean)
lp 6752 0 (autoclean)
parport 23264 1 (autoclean) [parport_pc lp]
8139too 15272 0 (unused)
mii 2240 0 [8139too]
uhci 24560 0 (unused)
ehci-hcd 14632 0 (unused)
usbcore 58144 1 [uhci ehci-hcd]
ide-scsi 8048 0
ipt_TOS 952 34 (autoclean)
ipt_LOG 3384 139 (autoclean)
ipt_TCPMSS 2360 3 (autoclean)
iptable_nat 14904 1 (autoclean)
ipt_tos 440 0 (unused)
iptable_mangle 2072 1
ipt_tcpmss 792 0 (unused)
iptable_filter 1644 1
ipt_multiport 664 0 (unused)
ip_conntrack_ftp 3888 0 (unused)
ipt_state 536 13
ip_conntrack 18016 3 [iptable_nat ip_conntrack_ftp ipt_state]
ipt_limit 856 142
ip_tables 11768 13 [ipt_TOS ipt_LOG ipt_TCPMSS iptable_nat ipt_tos iptable_mangle ipt_tcpmss iptable_filter ipt_multiport ipt_state ipt_limit]
6. modprobe yields nothing.
I have run out of options here, and scanning the docs really only points me towards the same solutions that I have already attempted. The only thing that I can think of then is that the lilo.conf file is wrong ... that I have too many image sections listed. If that is the case, I'm not sure whether to add the 'append' line to the remaining image blocks or to comment the second and third image blocks out entirely.
I am quite happy to read up more on this, but I am looking for some pointers/direction here, and I am not sure if I am looking at having to recompile the kernel or what ...
Help would be appreciated because this has become an exercise in frustration.
Thanks
-Andy
I am using Slackware 9.0 (I selected the newbie install option and then later deselected certain services packages for security reasons) with a 2.4.20 kernel, single boot, stand-alone system, with one HDD (HDA) and one CD-RW (HDB).
I am experiencing difficulties getting my system to recognise the SCSI emulation of my ATAPI CD-RW. The steps taken thus far:
1. added the append line to the lilo.conf file. The /etc/lilo.conf file now reads:
boot="/dev/hda1"
append="hdb=ide-scsi"
prompt
timeout="1200"
message=/boot/message
root=/dev/hda1
vga=773
image="/boot/vmlinuz"
label="vmlinuz"
root="/dev/hda1"
read-only
image=/boot/vmlinuz-ide-2.4.20
label="2.4.20"
root=/dev/hda1
read-only
image="/usr/src/linux/arch/i386/boot/bzImage"
label="Linux_Compiled"
root="/dev/hda1"
read-only
optional
2. I know that the CDROM is definitely hdb (I tested it using 'eject hdb' and it ejected, while hdc, etc did not).
3. I have downloaded and installed CDRtools-2.0-i386-1.tgz
4. I have run 'cdrecord -scanbus' as su, and basically I get an error message telling me that there is no appropriate device and that the /dev/pg* cannot be opened. This is that output:
Cdrecord 2.0 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver.
cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root.
cdrecord: For possible transport specifiers try 'cdrecord dev=help'.
5. I have also run a check using lsmod, this being the output of that:
Module Size Used by Not tainted
ppp_deflate 3256 0 (autoclean)
zlib_deflate 18200 0 (autoclean) [ppp_deflate]
bsd_comp 4312 0 (autoclean)
ppp_async 7520 1 (autoclean)
ppp_generic 15452 3 (autoclean) [ppp_deflate bsd_comp ppp_async]
slhc 5040 0 (autoclean) [ppp_generic]
soundcore 3332 0 (autoclean)
parport_pc 14724 1 (autoclean)
lp 6752 0 (autoclean)
parport 23264 1 (autoclean) [parport_pc lp]
8139too 15272 0 (unused)
mii 2240 0 [8139too]
uhci 24560 0 (unused)
ehci-hcd 14632 0 (unused)
usbcore 58144 1 [uhci ehci-hcd]
ide-scsi 8048 0
ipt_TOS 952 34 (autoclean)
ipt_LOG 3384 139 (autoclean)
ipt_TCPMSS 2360 3 (autoclean)
iptable_nat 14904 1 (autoclean)
ipt_tos 440 0 (unused)
iptable_mangle 2072 1
ipt_tcpmss 792 0 (unused)
iptable_filter 1644 1
ipt_multiport 664 0 (unused)
ip_conntrack_ftp 3888 0 (unused)
ipt_state 536 13
ip_conntrack 18016 3 [iptable_nat ip_conntrack_ftp ipt_state]
ipt_limit 856 142
ip_tables 11768 13 [ipt_TOS ipt_LOG ipt_TCPMSS iptable_nat ipt_tos iptable_mangle ipt_tcpmss iptable_filter ipt_multiport ipt_state ipt_limit]
6. modprobe yields nothing.
I have run out of options here, and scanning the docs really only points me towards the same solutions that I have already attempted. The only thing that I can think of then is that the lilo.conf file is wrong ... that I have too many image sections listed. If that is the case, I'm not sure whether to add the 'append' line to the remaining image blocks or to comment the second and third image blocks out entirely.
I am quite happy to read up more on this, but I am looking for some pointers/direction here, and I am not sure if I am looking at having to recompile the kernel or what ...
Help would be appreciated because this has become an exercise in frustration.
Thanks
-Andy