You are not logged in.

#1 2013-02-24 23:46:01

alexpitzen
Member
Registered: 2013-02-24
Posts: 4

Missing /dev/sr0 Arch 3.7.9-2

I'm trying to simply mount a cd to look at its contents, but there's no /dev/sr0 or anything...
Lenovo ThinkPad W530. DVD drive works outside of Arch (Windoze & Mint).

$ ls /dev/{c,dv}d*
ls: cannot access /dev/cd*: No such file or directory
ls: cannot access /dev/dvd*: No such file or directory

$ ls /dev/sr*
ls: cannot access /dev/sr*: No such file or directory
$ uname -r
3.7.9-1-ARCH
$ dmesg | grep sr
[    1.706418] sr0: scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[    1.707029] sr 1:0:0:0: Attached scsi CD-ROM sr0
[   15.393179] sr 1:0:0:0: CDB: 
[   26.352601] sr0: CDROM (ioctl) error, command: cdb[0]=0x51 51 00 00 00 00 00 00 00 02 00
[   26.352616] sr: Sense Key : 0xb [current] [descriptor]
[   26.352621] sr: ASC=0x0 ASCQ=0x0
$ lsmod | grep sr
sr_mod                 14824  0 
cdrom                  35521  1 sr_mod
scsi_mod              130423  3 libata,sd_mod,sr_mod
$ dmesg | grep ATAPI
[    1.688557] ata2.00: ATAPI: HL-DT-ST DVDRAM GT50N, LT20, max UDMA/33
$ wodim -checkdrive 
Device was not specified. Trying to find an appropriate drive...
wodim: No such file or directory. 
Cannot open SCSI driver!
For possible targets try 'wodim --devices' or 'wodim -scanbus'.
For possible transport specifiers try 'wodim dev=help'.
For IDE/ATAPI devices configuration, see the file README.ATAPI.setup from
the wodim documentation.

Last edited by alexpitzen (2013-02-27 20:06:26)

Offline

#2 2013-02-25 00:41:48

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,774

Re: Missing /dev/sr0 Arch 3.7.9-2

As a sanity check, please post the output of pacman -Qi linux


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2013-02-25 19:24:21

alexpitzen
Member
Registered: 2013-02-24
Posts: 4

Re: Missing /dev/sr0 Arch 3.7.9-2

$ pacman -Qi linux
Name           : linux
Version        : 3.7.9-1
URL            : http://www.kernel.org/
Licenses       : GPL2
Groups         : base
Provides       : kernel26=3.7.9
Depends On     : coreutils  linux-firmware  kmod  mkinitcpio>=0.7
Optional Deps  : crda: to set the correct wireless channels of your country
Required By    : tp_smapi
Conflicts With : kernel26
Replaces       : kernel26
Installed Size : 61224.00 KiB
Packager       : Evangelos Foutras <evangelos@foutrelis.com>
Architecture   : x86_64
Build Date     : Sun 17 Feb 2013 06:15:58 PM CST
Install Date   : Sun 24 Feb 2013 10:44:06 AM CST
Install Reason : Explicitly installed
Install Script : Yes
Description    : The linux kernel and modules

Offline

#4 2013-02-25 19:55:31

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,774

Re: Missing /dev/sr0 Arch 3.7.9-2

You're sane smile  I wanted to ensure that the kernel you are running is the same as the kernel modules you have installed.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2013-02-25 20:36:34

alexpitzen
Member
Registered: 2013-02-24
Posts: 4

Re: Missing /dev/sr0 Arch 3.7.9-2

ewaller wrote:

You're sane smile

I'm glad ^_^ lol

EDIT: So, any ideas? Should I try posting in a different place like Laptop Issues or Kernel & Hardware?
I read somewhere (a thread from 2011 or so) that a kernel or udev update can cause this problem. Should I try downgrading?

EDIT2: I'm on 3.7.9-2 now (with same version linux-headers and linux-api-headers 3.7.4-1)
I also tried a downgrade to kernel linux-3.7.4-1, which didn't help

$ pacman -Qi linux
Name           : linux
Version        : 3.7.9-2
URL            : http://www.kernel.org/
Licenses       : GPL2
Groups         : base
Provides       : kernel26=3.7.9
Depends On     : coreutils  linux-firmware  kmod  mkinitcpio>=0.7
Optional Deps  : crda: to set the correct wireless channels of your country
Required By    : tp_smapi
Conflicts With : kernel26
Replaces       : kernel26
Installed Size : 63792.00 KiB
Packager       : Tobias Powalowski <tpowa@archlinux.org>
Architecture   : x86_64
Build Date     : Mon 25 Feb 2013 05:12:35 AM CST
Install Date   : Mon 25 Feb 2013 11:48:56 AM CST
Install Reason : Explicitly installed
Install Script : Yes
Description    : The linux kernel and modules

Last edited by alexpitzen (2013-02-25 23:58:21)

Offline

#6 2013-02-27 18:24:34

655321
Member
From: Costa Rica
Registered: 2009-12-08
Posts: 412
Website

Re: Missing /dev/sr0 Arch 3.7.9-2

exact same problem, also If I do:

cat /proc/sys/dev/cdrom/info

I get this:

CD-ROM information, Id: cdrom.c 3.20 2003/12/17

drive name:   
drive speed:   
drive # of slots:
Can close tray:   
Can open tray:   
Can lock tray:   
Can change speed:
Can select disk:
Can read multisession:
Can read MCN:   
Reports media changed:
Can play audio:   
Can write CD-R:   
Can write CD-RW:
Can read DVD:   
Can write DVD-R:
Can write DVD-RAM:
Can read MRW:   
Can write MRW:   
Can write RAM:

However it seems the drive does get detected but an error shows up on dmesg:

dmesg | grep CD
[    0.000000] ACPI: ECDT 00000000dafe4000 00052 (v01 LENOVO TP-8C    00001360 PTL  00000002)
[    1.790863] scsi 1:0:0:0: CD-ROM            MATSHITA DVD-RAM UJ8A2    SB01 PQ: 0 ANSI: 5
[    2.125052] cdrom: Uniform CD-ROM driver Revision: 3.20
[    2.125504] sr 1:0:0:0: Attached scsi CD-ROM sr0
[   21.448108] sr 1:0:0:0: CDB: 
[   32.404460] sr0: CDROM (ioctl) error, command: cdb[0]=0x51 51 00 00 00 00 00 00 00 02 00

hope that helps debug the problem!

EDIT: forgot to mention the drive works outisde of Arch (Backtrack Linux), I can burn cd/dvd without a problem and read without problems also.

Last edited by 655321 (2013-02-27 18:25:50)


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

#7 2013-02-27 20:05:56

alexpitzen
Member
Registered: 2013-02-24
Posts: 4

Re: Missing /dev/sr0 Arch 3.7.9-2

655321 wrote:

exact same problem, also If I do:

cat /proc/sys/dev/cdrom/info

I get this:

CD-ROM information, Id: cdrom.c 3.20 2003/12/17

drive name:   
drive speed:   
drive # of slots:
Can close tray:   
Can open tray:   
Can lock tray:   
Can change speed:
Can select disk:
Can read multisession:
Can read MCN:   
Reports media changed:
Can play audio:   
Can write CD-R:   
Can write CD-RW:
Can read DVD:   
Can write DVD-R:
Can write DVD-RAM:
Can read MRW:   
Can write MRW:   
Can write RAM:

Exactly the same for me.


655321 wrote:

However it seems the drive does get detected but an error shows up on dmesg:

dmesg | grep CD
[    0.000000] ACPI: ECDT 00000000dafe4000 00052 (v01 LENOVO TP-8C    00001360 PTL  00000002)
[    1.790863] scsi 1:0:0:0: CD-ROM            MATSHITA DVD-RAM UJ8A2    SB01 PQ: 0 ANSI: 5
[    2.125052] cdrom: Uniform CD-ROM driver Revision: 3.20
[    2.125504] sr 1:0:0:0: Attached scsi CD-ROM sr0
[   21.448108] sr 1:0:0:0: CDB: 
[   32.404460] sr0: CDROM (ioctl) error, command: cdb[0]=0x51 51 00 00 00 00 00 00 00 02 00

Also the same:

$ dmesg | grep CD
[    0.000000] ACPI: ECDT 00000000dafe1000 00052 (v01 LENOVO TP-G5    00002510 PTL  00000002)
[    1.709484] scsi 1:0:0:0: CD-ROM            HL-DT-ST DVDRAM GT50N     LT20 PQ: 0 ANSI: 5
[    1.720325] cdrom: Uniform CD-ROM driver Revision: 3.20
[    1.720607] sr 1:0:0:0: Attached scsi CD-ROM sr0
[   14.408477] sr 1:0:0:0: CDB: 
[   25.361282] sr0: CDROM (ioctl) error, command: cdb[0]=0x51 51 00 00 00 00 00 00 00 02 00

It's interesting that yours is also a Lenovo (thinkpad T420?)

Offline

#8 2013-02-27 23:17:50

655321
Member
From: Costa Rica
Registered: 2009-12-08
Posts: 412
Website

Re: Missing /dev/sr0 Arch 3.7.9-2

Mine is a Thinkpad T420s, this has been happening for a long time (months) and I have absolutely no idea on how to troubleshoot something like this....

Last edited by 655321 (2013-02-27 23:18:53)


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

Board footer

Powered by FluxBB