[SOLVED] Haggis: /dev/sr0 missing

Forum rules
We don't support installations in VirtualBox, VMWare, qemu or others. We ignore posts about WINE, PlayOnLinux, Steam and Skype. We don't support btrfs, lvm, UEFI, side-by-side installations with GPT or dualboot with anything newer than Windows XP.
Google your problem first. Check the Wiki. Read the existing threads. It's okay to "hijack" an existing thread, yes! If your problem is not yet covered, open a new thread. To get the quickest possible help, mention the exact release codename in your post (uname -a is a good idea, too). Due to the lack of crystal balls, attach the output of lspci -nnk if you encounter hardware problems.
User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

[SOLVED] Haggis: /dev/sr0 missing

Unread post by GekkoP » Sat Mar 07, 2015 11:30 am

I was ripping an audio CD using ripit. All was going well, but then an error occurred (audio cd is full of scratches) and ripit stopped. No panic, I just tried again. Suddenly ripit can't see my cd-rom drive.

So I did:

Code: Select all

~ % eject
Unable to find or open device for: 'cdrom'
Again, no panic. I did:

Code: Select all

~% dmesg | grep CD-ROM
~% dmesg | grep DVD
~%
Oh, ok. So I checked /dev:

Code: Select all

 ~% ls -la /dev/sr0
ls: cannot access /dev/sr0: No such file or directory
Someone stole my cdrom! Any suggestion?

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Haggis: /dev/sr0 missing

Unread post by machinebacon » Sat Mar 07, 2015 4:47 pm

Does lspci list it? If not, check BIOS if CDROM is actually detected and active.
..gnutella..

machinebacon
Baconator
Posts: 10253
Joined: Thu Sep 16, 2010 11:03 am
Location: Pfälzerwald
Contact:

Re: Haggis: /dev/sr0 missing

Unread post by machinebacon » Sat Mar 07, 2015 4:57 pm

Btw, because you mentioned the CD is scratched: maybe it helps to use dd/ddrescue or testdisk/photorec to copy the CD first. Then you can still extract its contents and copy/rip/encode.
..gnutella..

User avatar
GekkoP
Emacs Sancho Panza
Posts: 5878
Joined: Tue Sep 03, 2013 7:05 am

Re: Haggis: /dev/sr0 missing

Unread post by GekkoP » Sat Mar 07, 2015 6:52 pm

Ok, I am feeling like an idiot. I shut down this morning, and just booted. Now:

Code: Select all

~ % dmesg | grep CD
[    1.711153] scsi 0:0:0:0: CD-ROM            MATSHITA BD-RE UJ-220     1.00 PQ: 0 ANSI: 5
[    1.914590] cdrom: Uniform CD-ROM driver Revision: 3.20
[    1.914770] sr 0:0:0:0: Attached scsi CD-ROM sr0
I swear I didn't do anything.
Consider it fixed. Consider me a hopeless newbie.
maybe it helps to use dd/ddrescue or testdisk/photorec to copy the CD first
Thanks bacon, I'll do that next time.

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: [SOLVED] Haggis: /dev/sr0 missing

Unread post by wuxmedia » Sat Mar 07, 2015 7:21 pm

computers are weird, I swear I installed stuff using the CDROM on my old tower this week. won't even open the tray now...
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
rhowaldt
Dog
Posts: 4565
Joined: Wed Oct 17, 2012 9:01 am
Contact:

Re: [SOLVED] Haggis: /dev/sr0 missing

Unread post by rhowaldt » Sun Mar 08, 2015 1:28 pm

the more complex the system, the more unexpected the errors.
classic case of rebooting doing wonders :)
All statements are true in some sense, false in some sense, meaningless in some sense, true and false in some sense, true and meaningless in some sense, false and meaningless in some sense, and true and false and meaningless in some sense.

Post Reply