Bug#583949: 2.6.32-3-amd64 can't read DVDs/CDs (sometimes)

2011-08-05 Thread Jonathan Nieder
found 583949 linux-2.6/2.6.38-5
fixed 583949 linux-2.6/2.6.39-3
quit

Hi Victor,

Victor Pablos Ceruelo wrote:

> I've tried 2.6.38-bpo.2-amd64 (Debian 2.6.38-5~bpo60+1) and the bug was still 
> there, 
> but in 2.6.39-2-amd64 (Debian 2.6.39-3) it works perfectly.

Marking accordingly, thanks.

Checking with "git shortlog v2.6.38..v2.6.39 --grep='[Ss][Cc][Ss][Ii]'",
I see many patches, some of which have already been included in the
2.6.32.x longterm kernel (and hence squeeze) and most of which haven't.
If you have time for it, could you try bisecting to find the fix between
v2.6.38 and 2.6.39, like so, sending the result to the upstream bug log?

1. Write a script named "as" with the following content somewhere on
your $PATH and mark it executable, to work around Bug#620448:

#!/bin/sh
exec /usr/bin/as --size-check=warning "$@"

2.
apt-get install build-essential git-core

git clone 
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
git bisect start v2.6.39 v2.6.38 -- drivers/scsi
make localmodconfig
: if it starts asking questions, just hit "enter" repeatedly
make deb-pkg
dpkg -i ../
reboot
... test thoroughly ...

NOTE: git bisect expects that you are looking for a
regression.  In this case, the only thing that has regressed
is brokenness, so the "good" revisions will be the ones with
the bug and the "bad" revisions will be the fixed ones.  Yes,
it's confusing.

git bisect bad; # if it works perfectly
git bisect good; # if the bug is still there
git bisect skip; # if something makes it difficult to test

make silentoldconfig; # reuse configuration
make deb-pkg
dpkg -i ../
reboot
... test ...
git bisect bad / good / skip

Rinse and repeate until it shows the "first bad commit" (i.e.,
the fix!), or until bored (please send the output of "git
bisect log" in the latter case).

If the gitk package is installed, you can watch the regression
range narrowing by running "git bisect visualize" at any time.



-- 
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110805130729.ga16...@elie.gateway.2wire.net



Bug#583949: 2.6.32-3-amd64 can't read DVDs/CDs (sometimes)

2010-06-06 Thread Michael Cree
I am seeing this bug too on both AMD64 and Alpha architectures. 
Sometimes DVD plays up with error messages (similar to those given by 
original reporter; see below) and doesn't seem to recover until a 
reboot.  When the errors start typically I can get the disc mounted 
(unlike the original reporter) but can't read much from it.  My hardware 
is as follows:


AMD64 machine running Debian testing:

kernel: 2.6.32-3-amd64  (Debian kernel)
SATA controller: 00:09.0 IDE interface: nVidia Corporation MCP78S 
[GeForce 8200] SATA Controller (non-AHCI mode) (rev a2)

DVD drive:  Lite-On  ATAPI  iHAS120   6  7L0F

I tried an old unstable installation (it hasn't been upgraded for 2 or 3 
months) that is still hanging around on another partition.  It has the 
2.6.32-trunk-amd64 Debian kernel and it seemed to work okay, but I 
really need to test it further to be really sure as I have since 
discovered that the disc errors may take a few disc changes before they 
start to appear.



Alpha running Debian unstable:

kernel: 2.6.34 (compiled from www.kernel.org)
SATA controller: 0001:03:09.0 RAID bus controller: Silicon Image, Inc. 
SiI 3114 [SATALink/SATARaid] Serial ATA Controller (rev 02)

DVD drive:  Lite-On  ATAPI  DVD A  DH20A3S  9P54

On the Alpha I took it back to a 2.6.32.7 kernel and still could get the 
disc errors to appear.  To take the kernel back any earlier I will 
probably have to create a patched kernel (udev didn't create the 
necessary system disk device nodes when I tried an even earlier kernel 
-- missing system calls maybe?).


This Alpha also has an old Compaq IDE CD-ROM drive which I use for 
booting.  It has also taken to spitting out errors since about 2.6.32 
kernel or maybe 2.6.31, but I have really never cared since I only use 
it for booting and that is working fine.


Example of the DVD errors I am getting on the Alpha:

[240094.915157] UDF-fs: Partition marked readonly; forcing readonly mount
[240094.960079] UDF-fs INFO UDF: Mounting volume 'SPARTACUS', timestamp 
2000/11/02 17:15 (1000)
[240099.128045] sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK 
driverbyte=DRIVER_SENSE

[240099.128045] sr 2:0:0:0: [sr0] Sense Key : Illegal Request [current]
[240099.128045] sr 2:0:0:0: [sr0] Add. Sense: Read of scrambled sector 
without authentication
[240099.128045] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 26 f4 00 00 
40 00

[240099.128045] end_request: I/O error, dev sr0, sector 39888
[240099.128045] quiet_error: 97 callbacks suppressed
[240099.128045] Buffer I/O error on device sr0, logical block 9972
[240099.128045] Buffer I/O error on device sr0, logical block 9973
[240099.128045] Buffer I/O error on device sr0, logical block 9974
[240099.128045] Buffer I/O error on device sr0, logical block 9975
[240099.128045] Buffer I/O error on device sr0, logical block 9976
[240099.128045] Buffer I/O error on device sr0, logical block 9977
[240099.129022] Buffer I/O error on device sr0, logical block 9978
[240099.129022] Buffer I/O error on device sr0, logical block 9979
[240099.129022] Buffer I/O error on device sr0, logical block 9980
[240099.129022] Buffer I/O error on device sr0, logical block 9981
[240099.160272] sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK 
driverbyte=DRIVER_SENSE

[240099.160272] sr 2:0:0:0: [sr0] Sense Key : Illegal Request [current]
[240099.160272] sr 2:0:0:0: [sr0] Add. Sense: Read of scrambled sector 
without authentication
[240099.160272] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 27 34 00 00 
20 00

[240099.160272] end_request: I/O error, dev sr0, sector 40144

Cheers
Michael.



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c0b7803.4040...@orcon.net.nz



Bug#583949: 2.6.32-3-amd64 can't read DVDs/CDs (sometimes)

2010-05-31 Thread Stuckey

Package: linux-image-2.6.32-5-amd64
Version: 2.6.32-5-amd64

I'm unable to mount DVDs/CDs sometimes on 2.6.32.

Mount usually says "no media on disk".

In dmesg I see:

[78646.486021] sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK 
driverbyte=DRIVER_SENSE

[78646.486025] sr 2:0:0:0: [sr0] Sense Key : Illegal Request [current]
[78646.486028] sr 2:0:0:0: [sr0] Add. Sense: Logical block address out 
of range
[78646.486032] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 10 00 00 
01 00

[78646.486039] end_request: I/O error, dev sr0, sector 64
[78646.486108] isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, 
block=16

[78700.134075] cdrom: This disc doesn't have any tracks I recognize!
[78700.167662] sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK 
driverbyte=DRIVER_SENSE

[78700.167666] sr 2:0:0:0: [sr0] Sense Key : Illegal Request [current]
[78700.167670] sr 2:0:0:0: [sr0] Add. Sense: Logical block address out 
of range
[78700.167675] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 
01 00

[78700.167682] end_request: I/O error, dev sr0, sector 0
[78700.167686] Buffer I/O error on device sr0, logical block 0
[78700.169737] sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK 
driverbyte=DRIVER_SENSE

[78700.169741] sr 2:0:0:0: [sr0] Sense Key : Illegal Request [current]
[78700.169744] sr 2:0:0:0: [sr0] Add. Sense: Logical block address out 
of range
[78700.169748] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 
01 00

[78700.169755] end_request: I/O error, dev sr0, sector 0
[78700.169758] Buffer I/O error on device sr0, logical block 0
[78723.220114] sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK 
driverbyte=DRIVER_SENSE

[78723.220119] sr 2:0:0:0: [sr0] Sense Key : Illegal Request [current]
[78723.220123] sr 2:0:0:0: [sr0] Add. Sense: Logical block address out 
of range
[78723.220127] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 10 00 00 
01 00

[78723.220135] end_request: I/O error, dev sr0, sector 64
[78723.226979] sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK 
driverbyte=DRIVER_SENSE

[78723.226983] sr 2:0:0:0: [sr0] Sense Key : Illegal Request [current]
[78723.226986] sr 2:0:0:0: [sr0] Add. Sense: Logical block address out 
of range
[78723.226990] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 01 00 00 00 
01 00

[78723.226997] end_request: I/O error, dev sr0, sector 1024
[78723.227868] sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK 
driverbyte=DRIVER_SENSE

[78723.227871] sr 2:0:0:0: [sr0] Sense Key : Illegal Request [current]
[78723.227875] sr 2:0:0:0: [sr0] Add. Sense: Logical block address out 
of range
[78723.227878] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 02 00 00 00 
01 00

[78723.227885] end_request: I/O error, dev sr0, sector 2048
[78723.227955] UDF-fs: No anchor found
[78723.227957] UDF-fs: No partition found (1)
[78723.248177] sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK 
driverbyte=DRIVER_SENSE

[78723.248181] sr 2:0:0:0: [sr0] Sense Key : Illegal Request [current]
[78723.248184] sr 2:0:0:0: [sr0] Add. Sense: Logical block address out 
of range
[78723.248188] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 10 00 00 
01 00

[78723.248195] end_request: I/O error, dev sr0, sector 64
[78723.248271] isofs_fill_super: bread failed, dev=sr0, iso_blknum=16, 
block=16


I know that the device and the media is good since it works in windows 
and mac environments. I've had this problem on 2.6.32 and 2.6.30.





--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c0432fd.4080...@lavabit.com



Bug#583949: 2.6.32-3-amd64 can't read DVDs/CDs (sometimes)

2010-06-02 Thread zoltan herman
Hi,
what kind of DVD drive, SATA?


>
2010/6/1 Stuckey 

> Package: linux-image-2.6.32-5-amd64
> Version: 2.6.32-5-amd64
>
> I'm unable to mount DVDs/CDs sometimes on 2.6.32.
>
> Mount usually says "no media on disk".
>
> In dmesg I see:
>
> [78646.486021] sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK
> driverbyte=DRIVER_SENSE
> [78646.486025] sr 2:0:0:0: [sr0] Sense Key : Illegal Request [current]
> [78646.486028] sr 2:0:0:0: [sr0] Add. Sense: Logical block address out of
> range
> [78646.486032] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 10 00 00 01
> 00
> [78646.486039] end_request: I/O error, dev sr0, sector 64
> [78646.486108] isofs_fill_super: bread failed, dev=sr0, iso_blknum=16,
> block=16
> [78700.134075] cdrom: This disc doesn't have any tracks I recognize!
> [78700.167662] sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK
> driverbyte=DRIVER_SENSE
> [78700.167666] sr 2:0:0:0: [sr0] Sense Key : Illegal Request [current]
> [78700.167670] sr 2:0:0:0: [sr0] Add. Sense: Logical block address out of
> range
> [78700.167675] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 01
> 00
> [78700.167682] end_request: I/O error, dev sr0, sector 0
> [78700.167686] Buffer I/O error on device sr0, logical block 0
> [78700.169737] sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK
> driverbyte=DRIVER_SENSE
> [78700.169741] sr 2:0:0:0: [sr0] Sense Key : Illegal Request [current]
> [78700.169744] sr 2:0:0:0: [sr0] Add. Sense: Logical block address out of
> range
> [78700.169748] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 00 00 00 01
> 00
> [78700.169755] end_request: I/O error, dev sr0, sector 0
> [78700.169758] Buffer I/O error on device sr0, logical block 0
> [78723.220114] sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK
> driverbyte=DRIVER_SENSE
> [78723.220119] sr 2:0:0:0: [sr0] Sense Key : Illegal Request [current]
> [78723.220123] sr 2:0:0:0: [sr0] Add. Sense: Logical block address out of
> range
> [78723.220127] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 10 00 00 01
> 00
> [78723.220135] end_request: I/O error, dev sr0, sector 64
> [78723.226979] sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK
> driverbyte=DRIVER_SENSE
> [78723.226983] sr 2:0:0:0: [sr0] Sense Key : Illegal Request [current]
> [78723.226986] sr 2:0:0:0: [sr0] Add. Sense: Logical block address out of
> range
> [78723.226990] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 01 00 00 00 01
> 00
> [78723.226997] end_request: I/O error, dev sr0, sector 1024
> [78723.227868] sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK
> driverbyte=DRIVER_SENSE
> [78723.227871] sr 2:0:0:0: [sr0] Sense Key : Illegal Request [current]
> [78723.227875] sr 2:0:0:0: [sr0] Add. Sense: Logical block address out of
> range
> [78723.227878] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 02 00 00 00 01
> 00
> [78723.227885] end_request: I/O error, dev sr0, sector 2048
> [78723.227955] UDF-fs: No anchor found
> [78723.227957] UDF-fs: No partition found (1)
> [78723.248177] sr 2:0:0:0: [sr0] Result: hostbyte=DID_OK
> driverbyte=DRIVER_SENSE
> [78723.248181] sr 2:0:0:0: [sr0] Sense Key : Illegal Request [current]
> [78723.248184] sr 2:0:0:0: [sr0] Add. Sense: Logical block address out of
> range
> [78723.248188] sr 2:0:0:0: [sr0] CDB: Read(10): 28 00 00 00 00 10 00 00 01
> 00
> [78723.248195] end_request: I/O error, dev sr0, sector 64
> [78723.248271] isofs_fill_super: bread failed, dev=sr0, iso_blknum=16,
> block=16
>
> I know that the device and the media is good since it works in windows and
> mac environments. I've had this problem on 2.6.32 and 2.6.30.
>
> <
>
>
> --
> To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
>
>


Bug#583949: 2.6.32-3-amd64 can't read DVDs/CDs (sometimes)

2010-06-04 Thread Stuckey

On 06/02/2010 11:04 AM, zoltan herman wrote:

Hi,
what kind of DVD drive, SATA?



ASUS SATA, DRW-2014L1T




--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c095f3a.8080...@lavabit.com



Bug#583949: 2.6.32-3-amd64 can't read DVDs/CDs (sometimes) - Bug#583949

2010-06-22 Thread Michael Cree

On 23/06/10 00:22, zoltan herman wrote:

Take a look at the 551101 bug report,

Ben H. wrote "Date: Mon, 21 Jun 2010 11:11:32 +0100">
We switched from IDE drivers to libata-based drivers in 2.6.32-10.  My
suspicion is that this is a bug in ide-cd which will no longer apply.


In my case that is not the reason for the errors.  It appears that my 
DVD errors are due to an interaction between two problems: a bug that 
was temporarily in mplayer SVN source, and not setting the region code 
on the DVD drive.  Having now updated mplayer and set the region code on 
my DVD drive I haven't seen the DVD drive errors again, but I haven't 
done a lot of testing either.


I wonder whether this is the explanation (or not) for the problems the 
original reporter of the bug was having?


Cheers
Michael.



--
To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4c2114d9.6000...@orcon.net.nz