# #I did setup ide-scsi emulation. I use the command ln -sf /dev/sr0 #/media/cdrecorder and I get a message back saying /dev/sr0 not #a valid block #(or something like that, I can't remember). Where do I go from here? # #YAST2 sees the drives as sr0 and sr1 (cd-rw and cd-rom). If I do a #"cdrecord -scanbus", I see them as scd0 and scd1. # How about ln -s /dev/scd0 /dev/cdrecorder etc.? Have a look at your /var/log/boot.msg file to see what they are named after activating ide-scsi. Armand Armand Deze e-mail en de inhoud daarvan is vertrouwelijk. Indien dit bericht niet voor u bestemd is, verzoeken wij u deze e-mail direct aan ons te retourneren en daarna te vernietigen. In dit geval is het ook niet toegestaan deze e-mail en de inhoud daarvan te gebruiken, kopiëren of openbaar te maken aan derden. Holland Railconsult B.V. sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail. This e-mail and its contents are confidential and may be legally privileged. If this e-mail is not intended for you, please contact us immediately by reply e-mail and destroy the e-mail. In this case, please do neither use, nor copy or disclose the e-mail and its contents to anyone. Holland Railconsult B.V. is neither liable for the proper and complete transmission of the information in this e-mail nor for any delay in its receipt.
Boot.msg says the drives are scd0 and scd1, which are working fine...for cd burning programs. YAST2 uses sr0 and sr1, and that's what I'm having a hard time with. When I try a ln -sf /dev/sr0 /dev/cdrecorder is gives me a error that the device is not located. Thoughts? Try-me's? -----Original Message----- From: Chin Kwie Joe AJST (Armand) [mailto:ajstchinkwiejoe@hr.nl] Sent: Monday, February 25, 2002 10:57 PM To: 'Tom Nielsen'; suse-linux-e@suse.com Subject: RE: [SLE] Yast Can't find CD-ROM # #I did setup ide-scsi emulation. I use the command ln -sf /dev/sr0 #/media/cdrecorder and I get a message back saying /dev/sr0 not #a valid block #(or something like that, I can't remember). Where do I go from here? # #YAST2 sees the drives as sr0 and sr1 (cd-rw and cd-rom). If I do a #"cdrecord -scanbus", I see them as scd0 and scd1. # How about ln -s /dev/scd0 /dev/cdrecorder etc.? Have a look at your /var/log/boot.msg file to see what they are named after activating ide-scsi. Armand Armand Deze e-mail en de inhoud daarvan is vertrouwelijk. Indien dit bericht niet voor u bestemd is, verzoeken wij u deze e-mail direct aan ons te retourneren en daarna te vernietigen. In dit geval is het ook niet toegestaan deze e-mail en de inhoud daarvan te gebruiken, kopiëren of openbaar te maken aan derden. Holland Railconsult B.V. sluit elke aansprakelijkheid uit in verband met het niet juist, onvolledig of niet tijdig overkomen van de informatie in deze e-mail. This e-mail and its contents are confidential and may be legally privileged. If this e-mail is not intended for you, please contact us immediately by reply e-mail and destroy the e-mail. In this case, please do neither use, nor copy or disclose the e-mail and its contents to anyone. Holland Railconsult B.V. is neither liable for the proper and complete transmission of the information in this e-mail nor for any delay in its receipt.
On Tuesday 26 February 2002 16.33, Tom Nielsen wrote:
Boot.msg says the drives are scd0 and scd1, which are working fine...for cd burning programs. YAST2 uses sr0 and sr1, and that's what I'm having a hard time with. When I try a ln -sf /dev/sr0 /dev/cdrecorder is gives me a error that the device is not located.
Thoughts? Try-me's?
Here's a thought. sr0 and scd0 are supposed to be identical. If scd0 works and sr0 doesn't, could it be that sr0 is messed up?! What do you get if you ls -l them? Here's what I get: andjoh@samantha:~> ls -l /dev/sr0 /dev/scd0 [16:38] brw-r----- 1 root disk 11, 0 Sep 24 03:54 /dev/scd0 brw------- 1 andjoh users 11, 0 Sep 24 03:54 /dev/sr0 Note that both are block devices (the 'b' at the start) and both are major 11, minor 0. //Anders
Ya know...that's something I don't think I've tried. I agree my links are messed up, but the problem is that I don't know at what point I screwed them up and now I don't know how to fix them. I think I jacked them up trying to get them to work with my cd burning software. I'll try what you mentioned below and get back to you. Unfortunately my system is at home and I'll have to try it at lunch. Tom -----Original Message----- From: Anders Johansson [mailto:andjoh@cicada.linux-site.net] Sent: Tuesday, February 26, 2002 7:40 AM To: Tom Nielsen; Chin Kwie Joe AJST (Armand); suse-linux-e@suse.com Subject: Re: [SLE] Yast Can't find CD-ROM On Tuesday 26 February 2002 16.33, Tom Nielsen wrote:
Boot.msg says the drives are scd0 and scd1, which are working fine...for cd burning programs. YAST2 uses sr0 and sr1, and that's what I'm having a hard time with. When I try a ln -sf /dev/sr0 /dev/cdrecorder is gives me a error that the device is not located.
Thoughts? Try-me's?
Here's a thought. sr0 and scd0 are supposed to be identical. If scd0 works and sr0 doesn't, could it be that sr0 is messed up?! What do you get if you ls -l them? Here's what I get: andjoh@samantha:~> ls -l /dev/sr0 /dev/scd0 [16:38] brw-r----- 1 root disk 11, 0 Sep 24 03:54 /dev/scd0 brw------- 1 andjoh users 11, 0 Sep 24 03:54 /dev/sr0 Note that both are block devices (the 'b' at the start) and both are major 11, minor 0. //Anders
OK....here's what I got when I ran the below line without the scd0 "folder not found" or something like that. I ran cat /proc/sys/dev/cdrom/info and got sr0 and sr1 and the appropriate information for the drives they represent. Strainge huh? What next? Tom -----Original Message----- From: Anders Johansson [mailto:andjoh@cicada.linux-site.net] Sent: Tuesday, February 26, 2002 7:40 AM To: Tom Nielsen; Chin Kwie Joe AJST (Armand); suse-linux-e@suse.com Subject: Re: [SLE] Yast Can't find CD-ROM On Tuesday 26 February 2002 16.33, Tom Nielsen wrote:
Boot.msg says the drives are scd0 and scd1, which are working fine...for cd burning programs. YAST2 uses sr0 and sr1, and that's what I'm having a hard time with. When I try a ln -sf /dev/sr0 /dev/cdrecorder is gives me a error that the device is not located.
Thoughts? Try-me's?
Here's a thought. sr0 and scd0 are supposed to be identical. If scd0 works and sr0 doesn't, could it be that sr0 is messed up?! What do you get if you ls -l them? Here's what I get: andjoh@samantha:~> ls -l /dev/sr0 /dev/scd0 [16:38] brw-r----- 1 root disk 11, 0 Sep 24 03:54 /dev/scd0 brw------- 1 andjoh users 11, 0 Sep 24 03:54 /dev/sr0 Note that both are block devices (the 'b' at the start) and both are major 11, minor 0. //Anders
On Tuesday 26 February 2002 23:43, Tom Nielsen wrote:
OK....here's what I got when I ran the below line without the scd0
"folder not found" or something like that.
I ran cat /proc/sys/dev/cdrom/info and got sr0 and sr1 and the appropriate information for the drives they represent. Strainge huh?
What next?
Tom
If you do "ls -l /dev/sr0" and get "no such file or directory" then next is to create that node. Also perhaps a moment of meditation to try to remember how it disappeared :) create it with mknod /dev/sr0 b 11 0 If /dev/sr1 is also missing, the corresponding command would be mknod /dev/sr1 b 11 1 HTH Anders
DUDE!!!!!! YOU.......ARE.......THE.......MAN!!!!!! It works now. I'm not sure where or when I FUBAR'd the links, but the mknod was the key!! Thanks for the help and tell me where to send the check!!! Tom On Tuesday 26 February 2002 04:44 pm, Anders Johansson wrote:
On Tuesday 26 February 2002 23:43, Tom Nielsen wrote:
OK....here's what I got when I ran the below line without the scd0
"folder not found" or something like that.
I ran cat /proc/sys/dev/cdrom/info and got sr0 and sr1 and the appropriate information for the drives they represent. Strainge huh?
What next?
Tom
If you do "ls -l /dev/sr0" and get "no such file or directory" then next is to create that node. Also perhaps a moment of meditation to try to remember how it disappeared :)
create it with
mknod /dev/sr0 b 11 0
If /dev/sr1 is also missing, the corresponding command would be
mknod /dev/sr1 b 11 1
HTH Anders
participants (3)
-
Anders Johansson
-
Chin Kwie Joe AJST (Armand)
-
Tom Nielsen