OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
Re: [discuss] syslog overload after removing pendisk

From: Buchan Milne (bgmilnecae.co.za)
Date: Thu Oct 02 2003 - 05:15:49 CDT


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Simon Oosthoek wrote:
> Hi
>
> I'm not sure which list to send this to, but since it could be
considered a
> DoS I'll send it here...
>
> Whenever I use a pendisk on my mdk 9.1 machine, the syslog is being
swamped
> with messages like the ones at the bottom of this e-mail. The system load
> gets very high and the system becomes unusable as soon as I try to
actually
> do something on it (I usually find out about this when I log in the next
> day).
>
> The system this happens on is a P4 (compaq evo) with mdk 9.1 with recent
> updates and the kernel is 2.4.21-0.25mdkenterprise, but I've seen it on
> previous kernels as well.
>
> The main problem is that the syslog (and therefore /var) fills up and that
> the system stops being responsive.
>
> Cheers
>
> Simon
>
> Oct 2 04:03:31 pc021 kernel: Device not ready. Make sure there is a
disc in the drive.
> Oct 2 04:03:31 pc021 kernel: VFS: Disk change detected on device 08:00
> Oct 2 04:03:31 pc021 kernel: sda : READ CAPACITY failed.
> Oct 2 04:03:31 pc021 kernel: sda : status = 1, message = 00, host =
0, driver = 08
> Oct 2 04:03:31 pc021 kernel: Info fld=0xa00 (nonstd), Current
sd00:00: sense key Not Ready
> Oct 2 04:03:31 pc021 kernel: sda : block size assumed to be 512
bytes, disk size 1GB.
> Oct 2 04:03:31 pc021 kernel: /dev/scsi/host0/bus0/target0/lun0: I/O
error: dev 08:00, sector 0
> Oct 2 04:03:31 pc021 kernel: I/O error: dev 08:00, sector 0
> Oct 2 04:03:31 pc021 kernel: Device not ready. Make sure there is a
disc in the drive.
> Oct 2 04:03:31 pc021 kernel: VFS: Disk change detected on device 08:00
> Oct 2 04:03:31 pc021 kernel: sda : READ CAPACITY failed.
> Oct 2 04:03:31 pc021 kernel: sda : status = 1, message = 00, host =
0, driver = 08
> Oct 2 04:03:31 pc021 kernel: Info fld=0xa00 (nonstd), Current
sd00:00: sense key Not Ready
> Oct 2 04:03:31 pc021 kernel: sda : block size assumed to be 512
bytes, disk size 1GB.
> Oct 2 04:03:31 pc021 kernel: /dev/scsi/host0/bus0/target0/lun0: I/O
error: dev 08:00, sector 0
> Oct 2 04:03:31 pc021 kernel: I/O error: dev 08:00, sector 0
> Oct 2 04:03:31 pc021 kernel: Device not ready. Make sure there is a
disc in the drive.
> Oct 2 04:03:31 pc021 kernel: VFS: Disk change detected on device 08:00
> Oct 2 04:03:31 pc021 kernel: sda : READ CAPACITY failed.
> Oct 2 04:03:31 pc021 kernel: sda : status = 1, message = 00, host =
0, driver = 08
> Oct 2 04:03:31 pc021 kernel: Info fld=0xa00 (nonstd), Current
sd00:00: sense key Not Ready
> Oct 2 04:03:31 pc021 kernel: sda : block size assumed to be 512
bytes, disk size 1GB.
> Oct 2 04:03:31 pc021 kernel: /dev/scsi/host0/bus0/target0/lun0: I/O
error: dev 08:00, sector 0
> Oct 2 04:03:31 pc021 kernel: I/O error: dev 08:00, sector 0
> Oct 2 04:03:31 pc021 kernel: Device not ready. Make sure there is a
disc in the drive.
> Oct 2 04:03:31 pc021 kernel: VFS: Disk change detected on device 08:00
> Oct 2 04:03:31 pc021 kernel: sda : READ CAPACITY failed.
> Oct 2 04:03:31 pc021 kernel: sda : status = 1, message = 00, host =
0, driver = 08
> Oct 2 04:03:31 pc021 kernel: Info fld=0xa00 (nonstd), Current
sd00:00: sense key Not Ready
> Oct 2 04:03:31 pc021 kernel: sda : block size assumed to be 512
bytes, disk size 1GB.
> Oct 2 04:03:31 pc021 kernel: /dev/scsi/host0/bus0/target0/lun0: I/O
error: dev 08:00, sector 0
> Oct 2 04:03:31 pc021 kernel: I/O error: dev 08:00, sector 0
> Oct 2 04:03:31 pc021 kernel: Device not ready. Make sure there is a
disc in the drive.
> Oct 2 04:03:31 pc021 kernel: VFS: Disk change detected on device 08:00
> Oct 2 04:03:31 pc021 kernel: sda : READ CAPACITY failed.

I haven't seen this, and I have used my USB flash disk on most kernels
since 2.4.21.0.13mdk on a number of machines.

Did you unmount the drive?

What is the fstab line for the device?

Regards,
Buchan

- --
|--------------Another happy Mandrake Club member--------------|
Buchan Milne Mechanical Engineer, Network Manager
Cellphone * Work +27 82 472 2231 * +27 21 8828820x202
Stellenbosch Automotive Engineering http://www.cae.co.za
GPG Key http://ranger.dnsalias.com/bgmilne.asc
1024D/60D204A7 2919 E232 5610 A038 87B1 72D6 AC92 BA50 60D2 04A7
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE/e/rVrJK6UGDSBKcRAqzOAJwOK8zRzrPw/xs1lx+dfYFtKi3u2QCgva1R
TSzMXxA6aqfNCLFKXxXZiIM=
=w1iU
-----END PGP SIGNATURE-----

*****************************************************************
Please click on http://www.cae.co.za/disclaimer.htm to read our
e-mail disclaimer or send an e-mail to infocae.co.za for a copy.
*****************************************************************