Re: [gentoo-user] rejecting I/O to dead device

2007-12-31 Thread Michal 'vorner' Vaner
Hello

On Sun, Dec 30, 2007 at 10:47:42PM +0100, Fred Kastl wrote:
 i get this message 2 -3 times within a second. This floods my logfile.

 Dec 30 16:54:46 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:47 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:47 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:48 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:48 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:49 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:49 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:50 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:50 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:51 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:51 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:52 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
 Dec 30 16:54:52 server kernel: scsi 2:0:0:0: rejecting I/O to dead device


 but there is no scsi device 2.

I get these if I unplug an USB disk while still mounted. Could that be
your case? (Until it is unmounted, programs can try to access it and
then the driver will just reject the read/write there)

 ## cat /proc/scsi/scsi

It lists only the ones alive, not dead.

-- 
_(){ __;};_

Michal 'vorner' Vaner


pgp6HkOBJp5kj.pgp
Description: PGP signature


Re: [gentoo-user] rejecting I/O to dead device

2007-12-31 Thread bjlockie
 Hello

 On Sun, Dec 30, 2007 at 10:47:42PM +0100, Fred Kastl wrote:
 i get this message 2 -3 times within a second. This floods my logfile.

 Dec 30 16:54:46 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:47 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:47 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:48 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:48 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:49 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:49 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:50 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:50 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:51 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:51 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:52 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device
 Dec 30 16:54:52 server kernel: scsi 2:0:0:0: rejecting I/O to dead
 device


 but there is no scsi device 2.

 I get these if I unplug an USB disk while still mounted. Could that be
 your case? (Until it is unmounted, programs can try to access it and
 then the driver will just reject the read/write there)

 ## cat /proc/scsi/scsi

 It lists only the ones alive, not dead.

 --
 _(){ __;};_

 Michal 'vorner' Vaner

I  got this to  an internal USB card reader.
It used to shut off and only a system restart would fix it.
I never got it to work right so I took it out.


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] rejecting I/O to dead device

2007-12-30 Thread Fred Kastl

i get this message 2 -3 times within a second. This floods my logfile.

Dec 30 16:54:46 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
Dec 30 16:54:47 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
Dec 30 16:54:47 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
Dec 30 16:54:48 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
Dec 30 16:54:48 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
Dec 30 16:54:49 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
Dec 30 16:54:49 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
Dec 30 16:54:50 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
Dec 30 16:54:50 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
Dec 30 16:54:51 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
Dec 30 16:54:51 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
Dec 30 16:54:52 server kernel: scsi 2:0:0:0: rejecting I/O to dead device
Dec 30 16:54:52 server kernel: scsi 2:0:0:0: rejecting I/O to dead device


but there is no scsi device 2.

## cat /proc/scsi/scsi

Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA  Model: SAMSUNG HD501LJ  Rev: CR10
  Type:   Direct-AccessANSI  SCSI revision: 05
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: ATA  Model: ST3250824AS  Rev: 3.AA
  Type:   Direct-AccessANSI  SCSI revision: 05
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA  Model: ST3320620AS  Rev: 3.AA
  Type:   Direct-AccessANSI  SCSI revision: 05
Host: scsi1 Channel: 00 Id: 01 Lun: 00
  Vendor: ATA  Model: SAMSUNG SP2504C  Rev: VT10
  Type:   Direct-AccessANSI  SCSI revision: 05
Host: scsi4 Channel: 00 Id: 00 Lun: 00
  Vendor: ATA  Model: SAMSUNG HD501LJ  Rev: CR10
  Type:   Direct-AccessANSI  SCSI revision: 05
Host: scsi6 Channel: 00 Id: 00 Lun: 00
  Vendor: LITE-ON  Model: DVDRW SOHW-1693S Rev: KS02
  Type:   CD-ROM   ANSI  SCSI revision: 00


How can i get rid of this messages ?


regards

Fred
--
[EMAIL PROTECTED] mailing list