You are not logged in.
Pages: 1
Last week I updated and encountered the following problem: https://bbs.archlinux.org/viewtopic.php?pid=1079325
After fixing (removed the line from the rc.local file) my cd drive doesnt even appear on my system and if I type "eject" in a terminal i get this:
~]$ eject
eject: unable to find or open device for: `sr0'Here is my /etc/rc.local file:
#!/bin/bash
#
# /etc/rc.local: Local multi-user startup script.
#
for i in cdrw dvd dvdrw; do ln -s /dev/sr0 /dev/$i; doneI tried commenting the line but it did not help either.
Any suggestions?
thanks a lot for the help!
Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff
Offline
What's your desktop environment?
I'd try using sudo and see if that works.
Are you in the optical group?
"The box said requires Vista or better, so I installed Arch"
Windows != Linux
Offline
Im on Gnome 3, sudo gives the exact same result. I am in the optical group because It was working before ![]()
Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff
Offline
So your cd drive is not recognized at all (which should have nothing to do with removing one of the symlinks)? What does dmesg say in regards to detecting your drive?
Burninate!
Offline
Sanity check:
What are the output of dmesg | grep sr
and
ls /dev/sr*
??
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Its very weird because yesterday IT WORKED and now its broken again, here are the requested commands:
$ dmesg | grep sr
[ 3.098545] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[ 3.098672] sr 1:0:0:0: Attached scsi CD-ROM sr0and
$ ls /dev/sr*
ls: cannot access /dev/sr*: No such file or directoryThanks for the help!
Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff
Offline
$ ls /dev/sr* ls: cannot access /dev/sr*: No such file or directory
Does that even work? I've never considered trying that. I would expect you to have to mount the device node on a mount point somewhere in your file system -- just like an other partition. How would your system know what is the file system of a raw device node?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Does that even work? I've never considered trying that. I would expect you to have to mount the device node on a mount point somewhere in your file system -- just like an other partition. How would your system know what is the file system of a raw device node?
Can you please explain? you mean mounting the cd-rom drive using fstab???
thanks for the help
Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff
Offline
Can you please explain? you mean mounting the cd-rom drive using fstab???
thanks for the help
ewaller@odin:~ 1015 %
ewaller@odin:~ 1015 %ls /mnt/cdrom
ewaller@odin:~ 1016 %ls /dev/sr0
/dev/sr0
ewaller@odin:~ 1017 %ls /dev/sr0/
ls: cannot access /dev/sr0/: Not a directory
ewaller@odin:~[2] 1018 %sudo mount /dev/sr0 /mnt/cdrom
mount: block device /dev/sr0 is write-protected, mounting read-only
ewaller@odin:~ 1019 %ls /mnt/cdrom
AUDIO_TS VIDEO_TS
ewaller@odin:~ 1020 %I would not use fstab, because the removable media would require an entry per disk. I show the classic way, but nowadays. udev can handle this for you.
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
Thanks for the help!
however, the method you mention wont work because the cd drive isnt detected anymore (/dev/sr0 does not exist), is there another way to troubleshoot this?
Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff
Offline
Im still struggling to get this to work, I cuadruple checked that my cd drive is working correctly, but still no luck getting it to work again on arch.
Any other ideas?
Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff
Offline
I've been having the exact same problem - /dev/sr0 does not exist. Did you manage to fix this by any chance?
Thanks.
Offline
1. Is it working in other operating systems? If you don't dual boot with anything, a LiveCD may also help.
2. Are you in the "optical" group? Check with:
$ groups3. Did you update the linux package (the Linux kernel) lately? Then you need to reboot.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
1. Yes, no problems at all
2. Yes
3. Problem happened for a few weeks and this is a laptop so yeah I rebooted after installation
Thing is, I think it was some bug introduced in some kernel version, it all works now...at least for me.
Last edited by 655321 (2012-09-21 19:44:16)
Linux user #498977
With microsoft you get windows and gates, with linux you get the whole house!
My Blog about ArchLinux and other stuff
Offline
Pages: 1