Bug 12437 - My DVD+\-RW ROM can not write any disc
Summary: My DVD+\-RW ROM can not write any disc
Status: REJECTED UNREPRODUCIBLE
Alias: None
Product: IO/Storage
Classification: Unclassified
Component: IDE (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: io_ide@kernel-bugs.osdl.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-12 12:21 UTC by Andrey Karlov
Modified: 2009-01-20 03:22 UTC (History)
1 user (show)

See Also:
Kernel Version: 2.6.28
Subsystem:
Regression: Yes
Bisected commit-id:


Attachments
Kernel config (66.50 KB, application/octet-stream)
2009-01-13 05:04 UTC, Andrey Karlov
Details

Description Andrey Karlov 2009-01-12 12:21:40 UTC
Latest working kernel version: 2.27.9
Earliest failing kernel version:2.6.28
Distribution: Debian Lenny
Hardware Environment:Mb: ASUS M2N-X Plus, DVD+\-RW ROM - Optiarc DVD RW AD-7191A
Software Environment:
Problem Description:
When i try to write data to any disk with my DVD-RW drive with k3b (or any software) i get error message.
hdparm says:

negativ-pc:/home/negativ# hdparm /dev/hda

/dev/hda:
 IO_support    =  1 (32-bit)
 unmaskirq     =  1 (on)
 using_dma     =  1 (on)
 keepsettings  =  0 (off)
 readonly      =  0 (off)
 readahead     = 256 (on)
 HDIO_GETGEO failed: Inappropriate ioctl for device
negativ-pc:/home/negativ#

negativ-pc:/home/negativ# hdparm -tT /dev/hda

/dev/hda:
read() failed: Input/output error
 Timing buffered disk reads:  read() failed: Input/output error
BLKFLSBUF failed: Function not implemented
negativ-pc:/home/negativ# 


dmesg says:

Buffer I/O error on device hda, logical block 0
[  169.009426] hda: command error: status=0x51 { DriveReady SeekComplete Error }
[  169.009433] hda: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
[  169.009436] ide: failed opcode was: unknown
[  169.026470] ATAPI device hda:
[  169.026473]   Error: Illegal request -- (Sense key=0x05)
[  169.026476]   Logical block address out of range -- (asc=0x21, ascq=0x00)
[  169.026478]   The failed "Read 10" packet command was: 
[  169.026479]   "28 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 "
[  169.026486] end_request: I/O error, dev hda, sector 0
[  169.026489] Buffer I/O error on device hda, logical block 0
[  246.268514] hda: UDMA/44 mode selected
[  246.426667] hda: CHECK for good STATUS
[  278.873509] cdrom: This disc doesn't have any tracks I recognize!
[  288.083056] hda: UDMA/44 mode selected
[  288.239993] hda: CHECK for good STATUS
[  295.690576] hda: UDMA/66 mode selected
[  355.321105] cdrom: This disc doesn't have any tracks I recognize!
[  380.169967] hda: command error: status=0x51 { DriveReady SeekComplete Error }
[  380.169973] hda: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
[  380.169976] ide: failed opcode was: unknown
[  380.189576] ATAPI device hda:
[  380.189579]   Error: Illegal request -- (Sense key=0x05)
[  380.189582]   Logical block address out of range -- (asc=0x21, ascq=0x00)
[  380.189584]   The failed "Read 10" packet command was: 
[  380.189585]   "28 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00 "
[  380.189591] end_request: I/O error, dev hda, sector 0
[  380.189594] Buffer I/O error on device hda, logical block 0
[  380.205187] hda: command error: status=0x51 { DriveReady SeekComplete Error }
[  380.205191] hda: command error: error=0x54 { AbortedCommand LastFailedSense=0x05 }
[  380.205194] ide: failed opcode was: unknown
/*............................................*/
[  893.801447] Buffer I/O error on device hda, logical block 0
[  893.801450] Buffer I/O error on device hda, logical block 1
[  893.801454] Buffer I/O error on device hda, logical block 2
[  893.801456] Buffer I/O error on device hda, logical block 3
[  893.801458] Buffer I/O error on device hda, logical block 4
[  893.801460] Buffer I/O error on device hda, logical block 5
[  893.801462] Buffer I/O error on device hda, logical block 6
[  893.801463] Buffer I/O error on device hda, logical block 7
[  893.801465] Buffer I/O error on device hda, logical block 8
[  893.801467] Buffer I/O error on device hda, logical block 9
[  893.802224] ide-cd: hda: tray open
[  893.802773] end_request: I/O error, dev hda, sector 256
[  893.803567] ide-cd: hda: tray open
[  893.804116] end_request: I/O error, dev hda, sector 0
[  896.907225] ide-cd: hda: tray open
[  896.907789] end_request: I/O error, dev hda, sector 0
[  896.908568] ide-cd: hda: tray open
[  896.909116] end_request: I/O error, dev hda, sector 0
[ 6373.797585] ide-cd: hda: tray open
[ 6373.798151] end_request: I/O error, dev hda, sector 0
[ 6373.798154] __ratelimit: 154 callbacks suppressed
[ 6373.798157] Buffer I/O error on device hda, logical block 0
[ 6373.798159] Buffer I/O error on device hda, logical block 1
[ 6373.798163] Buffer I/O error on device hda, logical block 2
[ 6373.798165] Buffer I/O error on device hda, logical block 3
[ 6373.798167] Buffer I/O error on device hda, logical block 4
[ 6373.798169] Buffer I/O error on device hda, logical block 5
[ 6373.798171] Buffer I/O error on device hda, logical block 6
[ 6373.798172] Buffer I/O error on device hda, logical block 7
[ 6373.798174] Buffer I/O error on device hda, logical block 8
[ 6373.798176] Buffer I/O error on device hda, logical block 9
[ 6373.798927] ide-cd: hda: tray open
[ 6373.799475] end_request: I/O error, dev hda, sector 256
[ 6373.800253] ide-cd: hda: tray open
[ 6373.800799] end_request: I/O error, dev hda, sector 0
[ 6376.807709] ide-cd: hda: tray open
[ 6376.808269] end_request: I/O error, dev hda, sector 0
[ 6376.809044] ide-cd: hda: tray open
[ 6376.809590] end_request: I/O error, dev hda, sector 0

I try to change udma mode to udma3 (hdparm -X67 /dev/hda) and change some BIOS preferences, but it have no result. My DVD+/-RW ROM has no defects and i think that is a kernel bug.
Steps to reproduce:
Comment 1 Bartlomiej Zolnierkiewicz 2009-01-12 13:09:51 UTC
What is k3b's error message?

Also could you post dmesg and kernel config for the working kernel?
Comment 2 Andrey Karlov 2009-01-13 05:04:24 UTC
Created attachment 19765 [details]
Kernel config
Comment 3 Andrey Karlov 2009-01-13 05:12:28 UTC
k3b report me that any writable disk not found.
Comment 4 Bartlomiej Zolnierkiewicz 2009-01-14 09:31:26 UTC
Borislav, any ideas on this one?
Comment 5 Borislav Petkov 2009-01-17 10:01:25 UTC
Well,

I just tried burning a cd here with k3b and it worked just fine (2.6.29-rc1, hardware: Optiarc DVD RW AD-7173A). The error log above is very strange, ide-cd complains that the tray is open?? Also, what does "Latest working kernel version: 2.27.9" mean, maybe 2.6.27.9? It could be a follow-up error after fiddling with hdparm. Andrey, can you try burning after a fresh reboot without setting anything with hdparm?

Thanks.
Comment 6 Andrey Karlov 2009-01-18 08:35:31 UTC
  Sorry, realy latest working kernel is 2.6.27.9 . ide-cd complain that tray is open because k3b make it opened(k3b waiting for blank DVD+RW)! I try to format DVD+RW disks and it was successful.
  I change all BIOS settings to default, format DVD+RW and after fresh reboot burning was successful. But when i make quick format in Windows XP, and try to burn disk, I get error messages like in my 1st post! Borislav, do you have any ideas about it?
Comment 7 Borislav Petkov 2009-01-18 09:48:25 UTC
Ok,

do the quick format in windows and boot into linux and try burning. Now send me the whole boot log from booting into linux up until after burning with k3b.

Thanks.
Comment 8 Andrey Karlov 2009-01-20 01:42:11 UTC
I burn iso-image to disk and try to read it on Windows PC. Windows report me that disk is empty. It was hardware problem at windows pc, not linux.

Thanks.

Note You need to log in before you can comment on or make changes to this bug.