Duplicated SCSI messages (Was: Re: libATA PATA status report, newpatch)

From: Tomasz Kłoczko
Date: Tue Feb 07 2006 - 14:38:43 EST


On Tue, 7 Feb 2006, Meelis Roos wrote:
[..]
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
SCSI device sda: 156301488 512-byte hdwr sectors (80026 MB)
Unknown interrupt or fault at EIP 00000286 00000060 c0112acd
sda: Write Protect is off
SCSI device sda: drive cache: write back
sda:Unknown interrupt or fault at EIP 00000246 00000060 c010162b

I'm allways confused to see this kind messages output with duplicated
SCSI subsystem initialization device reports in kernel logs.
It it not kind of bug ?

Usualy information about single SCSI device takes:

SCSI device sdb: 71687340 512-byte hdwr sectors (36704 MB)
sdb: Write Protect is off
sdb: Mode Sense: cb 00 00 08
SCSI device sdb: drive cache: write back
SCSI device sdb: 71687340 512-byte hdwr sectors (36704 MB)
sdb: Write Protect is off
sdb: Mode Sense: cb 00 00 08
SCSI device sdb: drive cache: write back
sdb: sdb1 sdb2 sdb3
sd 0:0:3:0: Attached scsi disk sdb
Vendor: MAXTOR Model: ATLAS10K5_73WLS Rev: JNZH
Type: Direct-Access ANSI SCSI revision: 03
scsi0:A:6:0: Tagged Queuing enabled. Depth 4
target0:0:6: Beginning Domain Validation
target0:0:6: wide asynchronous
target0:0:6: FAST-20 WIDE SCSI 40.0 MB/s ST (50 ns, offset 127)
target0:0:6: Domain Validation skipping write tests
target0:0:6: Ending Domain Validation

.. 18 lines (14 after remove duplicated lines). Is it not to much ?
Best IMO will write only information like "found/initialize device <foo>; </phisical/path>" like in Solaris. All other detailed information can be IMO moved to sysfs (informations about partition/slices are now in sysfs).

kloczek
--
-----------------------------------------------------------
*Ludzie nie mają problemów, tylko sobie sami je stwarzają*
-----------------------------------------------------------
Tomasz Kłoczko, sys adm @zie.pg.gda.pl|*e-mail: kloczek@xxxxxxxxxxxxxxxxxx*