You are not logged in.

#1 2010-03-13 22:42:53

Wojo
Member
Registered: 2010-02-12
Posts: 17

Weird behavior of CD/DVD driver device on Arch x86_64 up-to-date.

Hello guys.

I'm writting this post because I am having issue with my CD/DVD burner/reader. 
Basically - I can't read any DVD (when CD seems to work fine) and i can't burn anything.
I use Arch Linux x86_64 up-to-date.

Important fact could be that when i try to boot from my pen-drive with Slax (v.6.1.2),
CD/DVD burning and reading works just fine.

When i try to read a DVD in Arch, i got this in dmesg:

sr 3:0:1:0: [sr0] Unhandled sense code
sr 3:0:1:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
sr 3:0:1:0: [sr0] Sense Key : 0x3 [current] 
sr 3:0:1:0: [sr0] ASC=0x11 ASCQ=0x5
sr 3:0:1:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 02 00
end_request: I/O error, dev sr0, sector 0
sr 3:0:1:0: [sr0] Unhandled sense code
sr 3:0:1:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
sr 3:0:1:0: [sr0] Sense Key : 0x3 [current] 
sr 3:0:1:0: [sr0] ASC=0x11 ASCQ=0x5
sr 3:0:1:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 00 00 00 00 00 02 00
end_request: I/O error, dev sr0, sector 0
sr 3:0:1:0: [sr0] Unhandled sense code
sr 3:0:1:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
sr 3:0:1:0: [sr0] Sense Key : 0x3 [current] 
sr 3:0:1:0: [sr0] ASC=0x11 ASCQ=0x5
sr 3:0:1:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 00 04 00 00 00 02 00
end_request: I/O error, dev sr0, sector 4096

and this in console output:

[root@cytron:~]$ mount /dev/sr0 /media/cd
mount: /dev/sr0: unknown device

And of course i tried at least few discs.

And this happens when i try to burn something:

[wojo@cytron:~]$ wodim -v ./slackware-13.0-install-dvd.iso 
wodim: No write mode specified.
wodim: Assuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 1 = CD-ROM
wodim: Operation not permitted. Warning: Cannot raise RLIMIT_MEMLOCK limits.
Device was not specified. Trying to find an appropriate drive...
Looking for a DVD-R drive to store 3738.61 MiB...
Detected DVD-R drive: /dev/dvdrw
Using /dev/cdrom of unknown capabilities
scsidev: '/dev/cdrom'
devname: '/dev/cdrom'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.10
SCSI buffer size: 64512
Device type    : Removable CD-ROM
Version        : 5
Response Format: 2
Capabilities   : 
Vendor_info    : 'ATAPI   '
Identification : 'DVD A  DH20A1S  '
Revision       : 'UX14'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x001A (DVD+RW)
Profile: 0x002B (DVD+R/DL) 
Profile: 0x001B (DVD+R) 
Profile: 0x001A (DVD+RW) (current)
Profile: 0x0016 (DVD-R/DL layer jump recording) 
Profile: 0x0015 (DVD-R/DL sequential recording) 
Profile: 0x0014 (DVD-RW sequential recording) 
Profile: 0x0013 (DVD-RW restricted overwrite) 
Profile: 0x0012 (DVD-RAM) 
Profile: 0x0011 (DVD-R sequential recording) 
Profile: 0x0010 (DVD-ROM) 
Profile: 0x000A (CD-RW) 
Profile: 0x0009 (CD-R) 
Profile: 0x0008 (CD-ROM) 
Profile: 0x0002 (Removable disk) 
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags   : SWABAUDIO BURNFREE 
Supported modes: PACKET SAO
Drive buf size : 1068032 = 1043 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
FIFO size      : 4194304 = 4096 KB
Track 01: data  3738 MB        
Total size:     4293 MB (425:22.22) = 1914167 sectors
Lout start:     4293 MB (425:24/17) = 1914167 sectors
Current Secsize: 2048
HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
wodim: WARNING: Could not manage to find medium size, and more than 90 mins of data.
Speed set to 5540 KB/s
Starting to write CD/DVD at speed   4.0 in real unknown mode for single session.
Last chance to quit, starting real write in    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Performing OPC...
Starting new track at sector: 0
Track 02:    0 of 3738 MB written.Errno: 5 (Input/output error), write_g1 scsi sendcmd: no error
CDB:  2A 00 00 00 00 00 00 00 1F 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 30 06 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x30 Qual 0x06 (cannot format medium - incompatible medium) Fru 0x0
Sense flags: Blk 0 (not valid) 
cmd finished after 0.005s timeout 40s

write track data: error after 0 bytes
wodim: A write error occured.
wodim: Please properly read the error message above.
Writing  time:   16.672s
Average write speed 111.0x.
Fixating...
Fixating time:    0.003s
wodim: fifo had 64 puts and 1 gets.
wodim: fifo was 0 times empty and 0 times full, min fill was 100%.

and sometimes just:

Performing OPC... failed

I thought it can be connected to this bug: http://bugs.archlinux.org/task/18119
but i am not sure anymore.

Do you have any clue or thoughts? I'm kind of lost. And this is my desktop computer, burning or reading optical discs are sort of needed.
Thanks in advance.

Offline

#2 2010-03-26 13:49:12

MindTooth
Member
From: Norway
Registered: 2008-11-11
Posts: 331

Re: Weird behavior of CD/DVD driver device on Arch x86_64 up-to-date.

Also experiences some problems with reading and burning disks. So this can be confirmed.

Offline

#3 2010-04-02 11:50:57

Wojo
Member
Registered: 2010-02-12
Posts: 17

Re: Weird behavior of CD/DVD driver device on Arch x86_64 up-to-date.

Don't you guys have any clues how to find at least cause of all those issues, do you?

Offline

#4 2010-04-08 11:09:41

MindTooth
Member
From: Norway
Registered: 2008-11-11
Posts: 331

Re: Weird behavior of CD/DVD driver device on Arch x86_64 up-to-date.

sr 1:0:0:0: [sr0] Unhandled sense code
sr 1:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
sr 1:0:0:0: [sr0] Sense Key : 0x4 [current]
sr 1:0:0:0: [sr0] ASC=0x3e ASCQ=0x2
sr 1:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 01 e4 56 00 00 02 00
end_request: I/O error, dev sr0, sector 495960
Buffer I/O error on device sr0, logical block 61995
sr 1:0:0:0: [sr0] Unhandled sense code
sr 1:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
sr 1:0:0:0: [sr0] Sense Key : 0x4 [current]
sr 1:0:0:0: [sr0] ASC=0x3e ASCQ=0x2
sr 1:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 01 e4 56 00 00 02 00
end_request: I/O error, dev sr0, sector 495960
Buffer I/O error on device sr0, logical block 61995
sr 1:0:0:0: [sr0] Unhandled sense code
sr 1:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
sr 1:0:0:0: [sr0] Sense Key : 0x4 [current]
sr 1:0:0:0: [sr0] ASC=0x3e ASCQ=0x2
sr 1:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 01 e4 56 00 00 02 00
end_request: I/O error, dev sr0, sector 495960
Buffer I/O error on device sr0, logical block 61995

This is my dmesg output.

Offline

#5 2010-04-09 21:20:13

Karbas
Member
Registered: 2010-04-09
Posts: 1

Re: Weird behavior of CD/DVD driver device on Arch x86_64 up-to-date.

Hi there! Actually, I have Fedora12, but I'm experiencing same problems with my DVD after going x86_64 (All was OK on 32 bit)
CD reading/writing  works fine, DVD mounts and looks OK, but after trying to play a movie, for exapmle, I have following errors in syslog:

sr 4:0:0:0: [sr0] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sr 4:0:0:0: [sr0] Sense Key : Illegal Request [current]
sr 4:0:0:0: [sr0] Add. Sense: Read of scrambled sector without authentication
sr 4:0:0:0: [sr0] CDB: Read(10): 28 00 00 04 2a b6 00 00 02 00
end_request: I/O error, dev sr0, sector 1092312

Looks pretty same issue with what was posted here before.
I would like to find out what's going on.

Offline

#6 2010-04-10 13:39:02

MindTooth
Member
From: Norway
Registered: 2008-11-11
Posts: 331

Re: Weird behavior of CD/DVD driver device on Arch x86_64 up-to-date.

Have you both HAL and D-Bus in your daemon list (rc.conf)? And are your user member of the optical group?

Offline

#7 2010-04-14 21:00:42

Wojo
Member
Registered: 2010-02-12
Posts: 17

Re: Weird behavior of CD/DVD driver device on Arch x86_64 up-to-date.

MindTooth wrote:

Have you both HAL and D-Bus in your daemon list (rc.conf)? And are your user member of the optical group?

In my case - yes, D-BUS and HAL are running in my system and i am member of optical group.

Offline

#8 2010-04-15 06:29:06

MindTooth
Member
From: Norway
Registered: 2008-11-11
Posts: 331

Re: Weird behavior of CD/DVD driver device on Arch x86_64 up-to-date.

Which DE/WM do you run? I know that I need to add -ck-launch-session to my .xinitrc.

Offline

#9 2010-04-15 13:39:27

Wojo
Member
Registered: 2010-02-12
Posts: 17

Re: Weird behavior of CD/DVD driver device on Arch x86_64 up-to-date.

I do have ck-launch-session into mine .xinitrc.

[wojo@cytron:~]$ grep ck .xinitrc 
exec ck-launch-session startfluxbox

But it does not change anything since i try to mount cd/dvd by console as root.

EDIT
We were talking yesterday on IRC about this kind of problem. Bad news is there is several topics connected to CD/DVD issues with Arch GNU/Linux in last few months.
I believe it is something bigger, but i'm not sure what is causing it. And it seems be serious.

There have been released new version of util-linux-ng, but it does not solve my problem.
Any clues now?

Last edited by Wojo (2010-04-15 13:45:12)

Offline

#10 2010-06-07 08:53:52

strummer
Member
Registered: 2007-01-11
Posts: 87

Re: Weird behavior of CD/DVD driver device on Arch x86_64 up-to-date.

Since this isn't [solved], I'll post here.

My dvd's stopped working couple days ago.. I'll guess it was after I updated some stuff.

I can play cds and mount dvds, just can't play movies with mplayer or vlc.

#mplayer dvd://1

Playing dvd://1.
libdvdread: Using libdvdcss version 1.2.10 for DVD access
libdvdread: Could not open /dev/dvd with libdvdcss.
libdvdread: Can't open /dev/dvd for reading
Couldn't open DVD device: /dev/dvd (Input/output error)
No stream found to handle url dvd://1

#dmesg|grep sr0

sr0: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
sr 1:0:0:0: Attached scsi CD-ROM sr0
sr 1:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
sr 1:0:0:0: [sr0] Sense Key : 0x5 [current]
sr 1:0:0:0: [sr0] ASC=0x6f ASCQ=0x3
sr 1:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 00 04 00 00 00 02 00
end_request: I/O error, dev sr0, sector 4096
Buffer I/O error on device sr0, logical block 512
sr 1:0:0:0: [sr0] Result: hostbyte=0x00 driverbyte=0x08
sr 1:0:0:0: [sr0] Sense Key : 0x5 [current]
sr 1:0:0:0: [sr0] ASC=0x6f ASCQ=0x3
sr 1:0:0:0: [sr0] CDB: cdb[0]=0x28: 28 00 00 00 04 00 00 00 02 00

ETC

Edit: Oh, now dvds work with VLC, but mplayer doesn't play them. This is weird.

Last edited by strummer (2010-06-07 09:12:01)


P4 530J, Arch Linux

Offline

#11 2010-06-16 09:19:00

sirkubador
Member
Registered: 2010-06-16
Posts: 10

Re: Weird behavior of CD/DVD driver device on Arch x86_64 up-to-date.

I have exactly the same problem.

I am member of optical group, I can't burn anything, reading CDs works fine, I can't read DVDs (it fails after +- 1GB of data - I/O error) or sometimes even mount them. My dmesg looks similar.

I've found another thread: http://bbs.archlinux.org/viewtopic.php?id=98288 , perhaps it is connected only with some of the LG drives?

Last edited by sirkubador (2010-06-22 12:32:48)

Offline

#12 2010-06-28 01:33:53

86turbodsl
Member
Registered: 2006-10-11
Posts: 7

Re: Weird behavior of CD/DVD driver device on Arch x86_64 up-to-date.

I'm having the same issue suddenly.  Anyone solve this yet?

Offline

#13 2010-06-30 12:34:08

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: Weird behavior of CD/DVD driver device on Arch x86_64 up-to-date.

Same issue here.

wodim: No write mode specified.
wodim: Assuming -tao mode.
wodim: Future versions of wodim may have different drive dependent defaults.
TOC Type: 1 = CD-ROM
scsidev: '/dev/sr1'
devname: '/dev/sr1'
scsibus: -2 target: -2 lun: -2
Linux sg driver version: 3.5.27
Wodim version: 1.1.10
Using libusal version 'Cdrkit-1.1.10'.
SCSI buffer size: 64512
Device type    : Removable CD-ROM
Version        : 0
Response Format: 2
Capabilities   :
Vendor_info    : 'TSSTcorp'
Identification : 'CDDVDW SH-S202G '
Revision       : 'SB00'
Device seems to be: Generic mmc2 DVD-R/DVD-RW.
Current: 0x001B (DVD+R)
Profile: 0x0015 (DVD-R/DL sequential recording)
Profile: 0x0016 (DVD-R/DL layer jump recording)
Profile: 0x002B (DVD+R/DL)
Profile: 0x001B (DVD+R) (current)
Profile: 0x001A (DVD+RW)
Profile: 0x0014 (DVD-RW sequential recording)
Profile: 0x0013 (DVD-RW restricted overwrite)
Profile: 0x0012 (DVD-RAM)
Profile: 0x0011 (DVD-R sequential recording)
Profile: 0x0010 (DVD-ROM)
Profile: 0x000A (CD-RW)
Profile: 0x0009 (CD-R)
Profile: 0x0008 (CD-ROM)
Profile: 0x0002 (Removable disk)
Using Session At Once (SAO) for DVD mode.
Drive current speed: 18
Drive default speed: 18
Drive max speed    : 18
Selected speed     : 18
Using generic SCSI-3/mmc DVD-R(W) driver (mmc_mdvd).
Driver flags   : SWABAUDIO BURNFREE
Supported modes: PACKET SAO
Drive buf size : 1409024 = 1376 KB
Beginning DMA speed test. Set CDR_NODMATEST environment variable if device
communication breaks or freezes immediately after that.
FIFO size      : 4194304 = 4096 KB
Track 01: data  4346 MB
track: 1 start: 0 pregap: 150
Total size:     4991 MB (494:30.93) = 2225320 sectors
Lout start:     4991 MB (494:32/70) = 2225320 sectors
Track 1 start 0
Track 2 start 2225320
Current Secsize: 2048
HINT: use dvd+rw-mediainfo from dvd+rw-tools for information extraction.
Blocks total: 2225328 Blocks current: 2225328 Blocks remaining: 8
Speed set to 24930 KB/s
Starting to write CD/DVD at speed  20.0 in real unknown mode for single session.
Last chance to quit, starting real write in    0 seconds. Operation starts.
Waiting for reader process to fill input buffer ... input buffer ready.
Errno: 5 (Input/output error), reserve track scsi sendcmd: no error
CDB:  53 00 00 00 00 00 21 F4 A8 00
status: 0x2 (CHECK CONDITION)
Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00
Sense Key: 0x5 Illegal Request, Segment 0
Sense Code: 0x24 Qual 0x00 (invalid field in cdb) Fru 0x0
Sense flags: Blk 0 (not valid)
cmd finished after 0.006s timeout 40s
wodim: Cannot open new session.
Writing  time:    6.548s
wodim: fifo had 64 puts and 0 gets.
wodim: fifo was 0 times empty and 0 times full, min fill was 100%.

Offline

#14 2010-09-06 20:15:02

jlr1701
Member
From: Anchorage, AK
Registered: 2010-08-01
Posts: 19
Website

Re: Weird behavior of CD/DVD driver device on Arch x86_64 up-to-date.

My system won't read data DVDs, but will play movies in VLC just fine. For the record, I have an almost brand new LG drive.

Offline

Board footer

Powered by FluxBB