[opensuse] dvd drive going nuts
Hi, after burning a DVD I rsync'ed the whole DVD back to the hard disk to check if there are no read errors. Suddenly a bad sector appeard and the log file started filling with entries Oct 10 13:08:38 galois kernel: hdd: media error (bad sector): status=0x51 { DriveReady SeekComplete Error } Oct 10 13:08:38 galois kernel: hdd: media error (bad sector): error=0x34 { AbortedCommand LastFailedSense=0x03 } Oct 10 13:08:38 galois kernel: ide: failed opcode was: unknown Oct 10 13:08:38 galois kernel: end_request: I/O error, dev hdd, sector 16613856 Oct 10 13:08:38 galois kernel: Buffer I/O error on device hdd, logical block 4153464 Oct 10 13:08:38 galois kernel: hdd: media error (bad sector): status=0x51 { DriveReady SeekComplete Error } Oct 10 13:08:38 galois kernel: hdd: media error (bad sector): error=0x34 { AbortedCommand LastFailedSense=0x03 } Oct 10 13:08:38 galois kernel: ide: failed opcode was: unknown Oct 10 13:08:38 galois kernel: end_request: I/O error, dev hdd, sector 16613856 Oct 10 13:08:38 galois kernel: Buffer I/O error on device hdd, logical block 4153464 Now, I tried to stop this somehow: - the rsync can't be killed, not even as root with kill -9. - umounting with -l claimed to work, but I couldn't eject the DVD - finally, after about 10 minutes I ejected the DVD physically from the drive, but Linux doesn't care about this? rsync is still running and can't be killed, and the logfile still fills with entries like above every few seconds (with increasing sector numbers), although the DVD has not been in the drive for more than 15 minutes now. How can I stop this? Why can't I kill the rsync and how can I make the drive recognize there is no DVD anymore? Some way to reset the drive or sth.? cu, Frank -- Dipl.-Inform. Frank Steiner Web: http://www.bio.ifi.lmu.de/~steiner/ Lehrstuhl f. Bioinformatik Mail: http://www.bio.ifi.lmu.de/~steiner/m/ LMU, Amalienstr. 17 Phone: +49 89 2180-4049 80333 Muenchen, Germany Fax: +49 89 2180-99-4049 * Rekursion kann man erst verstehen, wenn man Rekursion verstanden hat. * --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 The Tuesday 2006-10-10 at 13:12 +0200, Frank Steiner wrote:
How can I stop this? Why can't I kill the rsync and how can I make the drive recognize there is no DVD anymore? Some way to reset the drive or sth.?
You can print the process list with "ps afx | less" and see if it has a parent or child process that can be killed instead. Otherwise, reboot. First, "init 1", perhaps. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Made with pgp4pine 1.76 iD8DBQFFLNE2tTMYHG2NR9URAnSZAJ4t+irBl5qs4Dxb1+B6J4HwTtqDTgCfdTaR 3vA0b6Q7o3lnQ3eL99FA3ZU= =yr89 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Hi :) El Martes, 10 de Octubre de 2006 13:12, Frank Steiner escribió:
Hi,
after burning a DVD I rsync'ed the whole DVD back to the hard disk to check if there are no read errors. Suddenly a bad sector appeard and the log file started filling with entries
[...]
Now, I tried to stop this somehow: - the rsync can't be killed, not even as root with kill -9.
- umounting with -l claimed to work, but I couldn't eject the DVD
- finally, after about 10 minutes I ejected the DVD physically from the drive, but Linux doesn't care about this? rsync is still running and can't be killed, and the logfile still fills with entries like above every few seconds (with increasing sector numbers), although the DVD has not been in the drive for more than 15 minutes now.
How can I stop this? Why can't I kill the rsync and how can I make the drive recognize there is no DVD anymore? Some way to reset the drive or sth.?
You can't kill process which are in state D (Uninterruptible sleep it's usally IO related). Not even if you're root. Rafa -- "Even paranoids have enemies." Rafa Grimán Systems Engineer Silicon Graphics Spain Santa Engracia, 120 - Planta Baja 28003 Madrid Spain Tel: +34 91 3984200 Tel: +34 91 3984201 Móvil: +34 628 117 940 http://www.sgi.com OpenWengo: rgriman Skype: rgriman --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (3)
-
Carlos E. R.
-
Frank Steiner
-
Rafa Grimán