[ltp] Detect CD state after suspend [T61]
Fredrik Wendt
linux-thinkpad@linux-thinkpad.org
Wed, 01 Oct 2008 18:45:47 +0200
--=-JuqpbHrZceIvxfSwFvYP
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
s=F6n 2008-09-21 klockan 15:23 +0200 skrev Fredrik Wendt:
> Hi.
>=20
> I'd just like to hear if anyone else recognize the symptoms I have with
> the CD drive on my ThinkPad T61.
>=20
> From a full boot, using Ubuntu 8.04, I can insert and eject CDs without
> any problems (I use sound-juicer quite a lot to rip my CDs to ogg) - it
> just works<tm>.
> But, after a suspend to ram the CD drive just won't play any more. If a
> CD was mounted before issuing the suspend command (Fn+F4, or from the
> Gnome menu that appears after a quick press on the power button) then
> that is how the hardware will look after resume. New CDs won't mount.
> The same goes for an empty drive when issuing the suspend command. After
> a resume, new CDs won't mount.
>=20
> I'm having a hard time reproducing this right now though. But I
> suspend/resume every time I go to/from work and every time I want to use
> the CD drive it just won't play with me.
>=20
> Anyone heard of this before?
>=20
> I'll get back when it's not working again.
And here we are. I really don't know what to try/log/debug or show for
someone who might be able to fix this (or at least find the reason to
why it doesn't work).
What I did now (after a few days uptime with several suspend to
ram/resume cycles) is that I inserted an audio CD into the drive.
Normally the disc will mount and gnome will ask me what to do. Now
nothing happens. So I tried to mount i manually using "sudo
mount /dev/sr0 /mnt" (my laptop runs Ubuntu 8.04).
mount tells me that I need to provide filesystem (-t) and dmesg now
contains
[37102.794969] end_request: I/O error, dev sr0, sector 0
[37102.794983] Buffer I/O error on device sr0, logical block 0
[37102.794991] Buffer I/O error on device sr0, logical block 1
[37102.794995] Buffer I/O error on device sr0, logical block 2
[37102.794998] Buffer I/O error on device sr0, logical block 3
[37102.795001] Buffer I/O error on device sr0, logical block 4
[37102.795004] Buffer I/O error on device sr0, logical block 5
[37102.795006] Buffer I/O error on device sr0, logical block 6
[37102.795008] Buffer I/O error on device sr0, logical block 7
[37102.798463] end_request: I/O error, dev sr0, sector 0
[37102.798468] Buffer I/O error on device sr0, logical block 0
[37102.800970] end_request: I/O error, dev sr0, sector 4
[37102.800973] Buffer I/O error on device sr0, logical block 1
[37102.859550] end_request: I/O error, dev sr0, sector 0
[37102.862046] end_request: I/O error, dev sr0, sector 4
[37102.864519] end_request: I/O error, dev sr0, sector 0
I'd be happy to file a bug report (and provide more info) but I just
don't know where to turn.
Thanks in advance,
Fredrik Wendt
--=-JuqpbHrZceIvxfSwFvYP
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: Detta =?ISO-8859-1?Q?=E4r?= en digitalt signerad
meddelandedel
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQBI46k7ghViSJseQjQRAjmrAKCV3uyNmu3tCNObs+4c83dbpKOk+ACgjZrm
AECkt+k3ZK6O80JOeSX7tes=
=ZoZ+
-----END PGP SIGNATURE-----
--=-JuqpbHrZceIvxfSwFvYP--