MESSAGE
DATE | 2003-02-27 |
FROM | vin
|
SUBJECT | Subject: [hangout] CD-R status update
|
First let me say thanks for all the help. Some came off list, thanks for those as well. I posted to learn and hangout in case anyone else has the same or similar problem, and so newer users can see the process in finding a solution to a problem. I would have been interested in seeing this when I was born again.
Ok, after checking the bootup log, I found the correct hd* number to define the burner. I changed my lilo.conf entry to this:
append="ide=nodma hda=ide-scsi apm=off acpi=off"
Apparently, SuSE's Yast2 or Yast hasn't changed it back. I edited it by hand, and for those that don't know, SuSE has a tendency to change settings back to where they were in Yast2 after hand-editing the files.
I received this link: http://jamesthornton.com/linux/gazette/issue57/stoddard.html thanks to a hangout reader. I'm going to go through this carefully later. It's later, and I did. It has useful tips in it.
Next step, I did # modprobe ide-scsi
Next step, I did # cdrecord -scanbus, (thanks to several people, and I picked this up in Xcdroast as well) and I got this:
Cdrecord 1.11a28 (i686-suse-linux) Copyright (C) 1995-2002 Jörg Schilling Using libscg version 'schily-0.6' scsibus0: 0,0,0 0) 'ADAPTEC ' 'RAID-1 ' '3607' Disk 0,1,0 1) * 0,2,0 2) * 0,3,0 3) * 0,4,0 4) * 0,5,0 5) * 0,6,0 6) * 0,7,0 7) *
So it appears that my cdr drive is not recognized as a scsi device.
I did a dmesg | grep ATAPI, and got this:
hda: HL-DT-ST CD-RW GCE-8240B, ATAPI CD/DVD-ROM drive hda: ATAPI 40X CD-ROM CD-R/RW drive, 8192kB Cache pg: No ATAPI device detected pg: No ATAPI device detected pg: No ATAPI device detected pg: No ATAPI device detected scsi1 : SCSI host adapter emulation for IDE ATAPI devices pg: No ATAPI device detected pg: No ATAPI device detected pg: No ATAPI device detected pg: No ATAPI device detected pg: No ATAPI device detected pg: No ATAPI device detected pg: No ATAPI device detected pg: No ATAPI device detected pg: No ATAPI device detected pg: No ATAPI device detected pg: No ATAPI device detected pg: No ATAPI device detected
To check if the ide-scsi module is present, I did this (although I think it is indicated above):
ls -lR /lib | grep ide-scsi and I got this:
-rw-r--r-- 1 root root 11416 Mar 27 2002 ide-scsi.o l-wx------ 1 root root 64 Feb 27 00:03 1 -> /ide-scsi.txt dr-xr-xr-x 2 root root 0 Feb 27 00:03 ide-scsi ./proc/scsi/ide-scsi: -rw-r--r-- 1 halman3 users 4685 Oct 14 2001 ke_eide-scsi.html -rw-r--r-- 1 halman3 users 1769 Oct 14 2001 mmichna_nocdaudioafteride-scsi.html -rw-r--r-- 1 root root 25538 Dec 21 2001 ide-scsi.c -rw-r--r-- 1 root root 1416 Apr 10 1998 ide-scsi.h -rw-r--r-- 1 root root 26986 Mar 27 2002 ide-scsi.c -rw-r--r-- 1 root root 1416 Apr 10 1998 ide-scsi.h
Next step, I confirmed that cdrecord and mkisofs are installed: rpm -q cdrecord mkisofs and they are.
Next I checked rc.local as indicated in the linked article, and I find what is probably a script (and it's not located in rc.d as specified in article, can't wait for the linux standards thingie). So apparently, SuSE uses a different file for rc.local. A little further searching, and I find rc.d, a directory which appears to have applications to execute for each runlevel. Since I'm not sure what to do here, this is where I'm at right now. I need to which file in SuSE 8.0 to put the following line:
/sbin/insmod ide-scsi
or if it already exists.
Next, I follow the linked article, and "configure the drivers". I open etc/conf.modules (its a typo in article as well, it is actually /etc/modules.conf), and add the following lines at the bottom:
alias scd0 srmod alias scsi-hostadapter ide-scsi options ide-cd ignore=hda
I check some newsgroup postings, and I find that etc/init.d/boot.local may be the rc.local file. So I put the above line (/sbin/insmod ide-scsi) at the bottom of that file. I don't run lilo again, as I haven't touched lilo, but check the file anyway. It is set as line 7 (append) of this email, which appears to be correct. So I save the session, reboot, check cdrecord -scanbus, and still nothing.
I suspect a problem with my raid card. I have an ide-raid hardware card in one of the pci slots. The raid card is the first device, 0. So I look at the lines I added to modules.conf, and change scd0 to scd1, thinking that the 0 corresponds to the first scsi device. I reboot, and still nothing. cdroast -scanbus shows the same entries. So does fstab (I did edit it at the start to rw from ro)
Looking at the documentation at the Xcdroast site, I see that the latest alpha release has support for cd drives with ide, without requiring scsi emulation. I think that may be my next step. I'll have to download and compile Xcdroast, and cdrtools. Or worse, boot into windows! to use my cd burner until I update the entire system with a newer release.
I've also tried changing this:
append="ide=nodma hda=ide-scsi apm=off acpi=off"
to this:
append="ide=nodma hda=scsi apm=off acpi=off"
since on the Xcdroast site, and in one or two other places in documentation is says that if the first entry doesn't work, in 2.4 kernels the second entry may work. So I try it, rerun lilo, and it still doesn't work.
I'm using the standard SuSE 8.0 kernel, should be 2.4.18 or 2.4.19 with the SuSE modifications.
Vin.
____________________________ NYLXS: New Yorker Free Software Users Scene Fair Use - because it's either fair use or useless.... NYLXS is a trademark of NYLXS, Inc
|
|