CD-Burner Problems
Plextor 52x CD-R, Debian Woody 2.4.22
This is going to be hard to get straight because I have been through so much in the past few days but I will do my best. I wanted to use K3B to burn CD's. My cd-burner was detected and I could mount filesystems from it. It told me that I needed SCSI emulation. I couldnt find it in my kernel configuration so I ended up making alot of changes. For a while I had links from '/dev/cdrom -> /dev/scd0' and append="hdc=ide-scsi" in my lilo.conf. cdrecord -scanbus was still unable to access scsi devices. I then read a how to that had me 'rm /dev/cdrom' and then 'ln -s /dev/cdrom /dev/scd0' which still didnt work right. I ended up doing a './MAKEDEV' to re-create all scsi devices and hdc which I had messed up pretty bad with the magical 'rm' command. A friend had me remove IDE support from my kernel and just use scsi, still doesnt work. So I recompiled another version of my kernel with ide-cdrom support and now the burner is not even being detected. Currently I have my kernel compiled with these features: scsi cdrom support -module scsi generic support -module probe all LUN's on each scsi device -compiled Include IDE/ATAPI CDROM support -compiled scsi emulation support -module *I have re-added the [append="hdc=ide-scsi"] to lilo.conf *I have made /dev/cdrom an alias for /dev/scd0 lsmod shows: sr_mod 14264 0 (unused) ide-scsi 10320 0 scsi_mod 56852 2 [sr_mod ide-scsi] cd-record -scanbus shows: cdrecord -scanbus Cdrecord-Clone 2.01a19 (i686-pc-linux-gnu) Copyright (C) 1995-2003 Jörg Schilling cdrecord.mmap: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver. cdrecord.mmap: For possible targets try 'cdrecord -scanbus'. Make sure you are root. cdrecord.mmap: For possible transport specifiers try 'cdrecord dev=help'. cdrecord.mmap: Also make sure that you have loaded the sg driver and the driver for cdrecord.mmap: SCSI hardware, eg. ide-scsi if you run IDE/ATAPI drives over cdrecord.mmap: ide-scsi emulation. Read /usr/share/doc/cdrecord/README.ATAPI.setup! and finally: mount /cdrom mount: /dev/hdc is not a valid block device What commands do I need to run to see where I sit? From what I understand at this point everything should work fine but I must have messed something up along the way. Your help is greatly appreciated! |
The /dev/hdc error and the 3 modules loaded seems normal, if you wanna use it as a reader you can try using /dev/sr0 in your fstab.
The only thing I can see is module "sg" is missing, but this one gets loaded automatically when cdrecord requires it, ...on my system at least. You could try inserting it first. modprobe -v sg and run cdrecord -scanbus again. |
I did that and got the same error.
|
I diabled a hard drive that was having problems. When it got to detecting hdc an error kept looping (some scsi problem, to the effect of "losing" the IRQ). Anyway it looped for 15 minutes and I had to manually power down my system. I cant find record of it anywhere in any logs. Where should I look so that I can post the actualy error that it is reporting?
|
I got the errors message. I had to write it down. The first line is not accurate because it went by too fast.
SCSI sending too much information should be "x" and is "x" ide-scsi: CoD ! = 0 in idescsi_pc_intr hdc: ATAPI Reset Complete hdc: Lost Interrupt After some googling I found tidbits about a possible kernel bug or a bad drive (which is not possible because I just tested it in win2k) I know my basics but kernel patches are beyond me, what should I do next, this is very discerning. |
Sorry nrunge, but I have the same problem.
K3b tells: "No support for ATAPI Enable ide-scsi (scsi emulation) and that will solve all your problems!" No idea what's up. |
linuxfond, I think you need to set "hdc=ide-scsi" in the append line of your boot configuration (see /etc/lilo.conf).
|
Vasudevadas, thanks , I've done it but it doesn't help.
It is really strange that before upgrading to mdk9.2 from 9.1 it stopped working. That's the main problem so far (printing works really as good as in Windows, which I can't tell about 9.1 at least with my HP & Epson). Furthermore, k3b tells that cdrdao is not found, cdrecord either although I am sure they are installed. :confused: |
are u guys running all this as the root user?
if scsi emulation was not compiled u will have to enable and recompile the kernel. when using k3b for the first time run k3bsetup and make sure that u tell k3b that your device is a writer and add at least one new user. and have at least this stuff installed: cdrdao, cdrecord, mkisofs,normalize,readcd. it's far more easy to pick mandrake and redhat or suse or connectiva or knoppix or gentoo ... it's not that i don't like slackware, debian, freeBSD. it's just that for new linux user's u get everything done at setup time, then all that u have to do is read the setup files and learn how it was done. get familiar with the surroundings first and then go for the killer stuff that is freeBSD debian and slackware (don't forget that if u intend to setup freeBSD on a laptop with the touch pad type mouse u will need to patch the kernel and the nVidia drivers have to be compiled not like just to run the shell script for the other distros. yes u can use a usb mouse or any other mouse no prob) freeBSD is my favorite. to just try linux KNOPPIX it's the way of the future. if u like it and u will, then reboot and at the boot prompt type: knoppix dma noscsi (for lapbox, like my toshiba) lang=us 2 (2 is for no X, will drop u to a shell saving memory for the hard disk install yeahhhh) if all well cd to /usr/local/bin and type sh knx-hdinstall or ./knx-hdinstall. and pick up linux format LXF45 october issue has some good tips on speeding up linux make sure that all hardware and pc cards and printer and scanners are connected before u run setup. i wont' hurt. my advice (if u all care, of course): save your stuff get a copy of either redhat 9 or mandrake 9up or suse 9 http://www.linuxiso.org http://www.gentoolinux.com/ or gentoo.org he he he. boot from the cd and replace your current distro use the KDE desktop and k3b burner good luck oh ... i think that one of the likns is no good ... :0) |
Quote:
:) |
K3B is fine, it sees my cd-burner. My problem is when I make the appropriate changes to lilo.conf (the append=) and load scsi-emulation. When the system is booting it tried to load scsi emulation and gives me the errors that I mentioned above in a loop until I am forced to manually turn off my box. Aain those errors are:
ide-scsi: CoD ! = 0 in idescsi_pc_intr hdc: ATAPI Reset Complete hdc: Lost Interrupt There is a bit more but it never gets logged by bootlogger because it never gets a chance to write to the file. |
did u try to remove the lines from lilo to so then u can boot the computer. then see if u can get the config file for the kernel u r running, tell the kernel to use this config and use menu config to make sure scsci emulation is there. to recompile then will be just a matter of waiting for it to finish
|
nrunge,
IMHO this really sounds like a H/W problem. You said you pulled a faulty drive from the 2nd IDE channel. Did you double check that drive in another box? Couldn't it be a bad 2nd IDE channel that caused both problems? ...or IRQ conflict affecting the 2nd IDE. Have you tried hooking up your burner to primary slave and boot with hdb=ide-scsi? |
Quote:
|
Quote:
Here is another part of the error message at boot: The scsi wants to send us more data than expected - discarding data I have googled forever, I see some problems that other people have had that are somewhat similair to mine but nobody ever has a solution. Very dissapointing. |
ok
call me stupid if i make no sense but DO YOU HAVE SCSI HARDWARE ON YOUR COMPUTER? scsi emulation and scsi hardware support are different questions of the kernel configuraton file. i mean if u don't have scsi cd burner u need emulate scsi to burn cd's ... uhhh right? |
To answer your original question, no I do not have any scsi hardware on my computer, but to get the option for enabling scsi emulation to appear you have to enable scsi support. Most how-to's suggest to enable scsi, scsi generic and scsi-cdrom drivers, some go so far as to say that you dont need ide-cdrom compiled for it to work properly but I have not been able to test that out as scsi emulation seems to hang my computer.
"i mean if u don't have scsi cd burner u need emulate scsi to burn cd's " This statement confuses me because during my last few posts I have emphasized that my problem is with scsi emulation, hence I must be using scsi emulation to be having a problem with it. |
what i m trying to say is
remove scsi support from the kernel make sure that when u click on scsi support, like yourself said, u have to do it to get to the scsi emulation option, only the "enable scsi emulation" option is checked and nothing esle. i think i did mention about knoppix linux if you have two separeted cd drives boot knoppix,not from the cd burner, and try to erase a cdr-rw or burn some data on it. no music cd's yet. then look at the config files. knoppix have a kernel config file in /boot .... assuming that u did try knoppix. have u managed to erase a cdr-rw and or burn data to it? now open the config file on a text editor, look at the scsi stuff and use the example here to recompile your kernel. my experience is most from a lapbox with a cd writer and dvd combo and the redhat install that i m using treats it as cd: /dev/cdrom dvd /dev/scd0 (when playing dvd's i click on the dvd button and let the software mount the drive. (xine) the search path is (k3b) /usr/bin /usr/local/bin /usr/sbin /usr/local/sbin /schily/sbin /sbin peaple argue about it, some even say it dosn't matter but this setup NEVER failed me on a pc the cd burner should be set to slave with your main drive on the first IDE if you have a dvd or another cd on the second IDE the burner also has to be the slave drive. |
I tried using the primary IDE and got the same results. I know that knoppix will generate a .config file but there arent any configurations that I haven't tried. I dont know if I totally understand "only the "enable scsi emulation" option is checked and nothing else" because you cant have scsi emulation checked but not have any scsi support, the help for scsi emulation even tells you to enable scsi and scsi generic. If you mean to disable ide-cdrom I have tried that. I have tried compiling into kernel as well as modules for all optoins relevant to my cd-burner. I am now wondering if there is a way that I can avoid the scsi-emulation loading at boot and load it later once I have logged in? At least that way I should be able to avoid a hard shutdown and maybe get some more accurate logs.
On a side note I have to say that although I have been very pleased with linux the past few months that I have been using it and never plan to return to windows this problem has me vexed byond beleief. For starters I have a hard time beleiving that I am the only one who has ever expereinced such a problem and my feedback although somewhat generous has not really gotten me any further in solving my problem. The bottom line is that this drive works in windows, but in Linux my system stops when trying to load scsi emulation. Since I cant find similair problems I almost have to believe that it is a configuration problem on my box that I made, is there file output I could post that would be helpful in determining this? Please let me know, it has been a month since I spent good money on a nice cd burner and I have yet to be able to put it to use, I dont have tons of time on my hands between work and school eventually I am going to have to go with what works no matter whether if I really like it or not because my studies have been suffering. |
from your first post i think:
Plextor 52x CD-R, Debian Woody 2.4.22 This is going to be hard to get straight because I have been through so much in the past few days but I will do my best. I wanted to use K3B to burn CD's. My cd-burner was detected and I could mount filesystems from it. It told me that I needed SCSI emulation. I couldnt find it in my kernel configuration so I ended up making alot of changes. For a while I had links from '/dev/cdrom -> /dev/scd0' and append="hdc=ide-scsi" in my lilo.conf. cdrecord -scanbus was still unable to access scsi devices. I then read a how to that had me 'rm /dev/cdrom' and then 'ln -s /dev/cdrom /dev/scd0' which still didnt work right. I ended up doing a './MAKEDEV' to re-create all scsi devices and hdc which I had messed up pretty bad with the magical 'rm' command. A friend had me remove IDE support from my kernel and just use scsi, still doesnt work. So I recompiled another version of my kernel with ide-cdrom support and now the burner is not even being detected. since that you have made lot's of changes on config files it's hard to (for us n00b33's)to keep up with them all since we don't have access to your machine so .....have yourself a beer or two, and read on.... oh well, have another one just to make sure. ok debian IZ a very good distro, don't get me wrong. but i think that you should get yourself a copy or red hat 9... (download) canned kernel is 2.4.20-8 PICK WORKSTATION WITH KDE DESKTOP. don't logon as user yet, log as root and browse to http://freshrpms.net/apt/ get apt and install it like this: rpm -i packagename.rpm. Also get synaptic (very cool X front end for apt) i m saying that because i know that debian uses it as the default package manager and installer, this version of apt is made to work with red hat 9. i have it and it works fine! good luck |
Thanks, Ill do it if I have time. Like I said it is something that I am running out of. The reason I picked debian was because of its minimal install, I like to be in controll of things. Although I think I will give redhat a try. Aside from that what configs do you want to see?
|
I would just like to say that I finally found a solution for this problem. For some reason on certain hardware running 2.4.22 this was a bug. I tried both '2.4.23-rc1' and '2.4.22-ac4' and both got my cd-burner working. Just a little kernel patching was all :] I am currently using 2.4.23-rc1 as I dont know what alan has been doing to his kernel and frankly it scares me, sides he doesnt have a changelog.
|
me still runs 2.4.20-8 canned from redhat.
glad u did it, good luck |
All times are GMT -5. The time now is 03:06 PM. |