Hi

I'm having some boot-time troubles with a machine running a number of
devices of an AHA1542CF controller. 2 out of 3 boots, the kernel reports
numerous "Wrong buffer length supplied for request sense (256)" errors.
This slows the machine somewhat, fills the syslog and renders the console
unusable, but otherwise the machine is fine.

Debugging on our side 
Changing the file /drivers/scsi/aha1542.c from
#ifndef DEBUG
      if (bufflen != sizeof(SCpnt->sense_buffer)) {
        printk("Wrong buffer length supplied for request sense (%d)\n",bufflen);
      };
#endif


to 
#ifndef DEBUG
      if (bufflen != sizeof(SCpnt->sense_buffer)) {
        printk("Wrong buffer length supplied(%d) for request sense
(%d)\n",bufflen, sizeof(SCpnt-sense_buffer) );
      };
#endif

Shows that the size of SCpnt->sense_buffer is 16
Wrong buffer length supplied(256) for request sense (16)

This problem persists for all tested 2.2.x kernels (5, 9 and 10), and only
occurs when one of the IBM DDRS-34560 disks are present (newly added, thus
the problem hasn't been detected before)


Please cc responses to 
[EMAIL PROTECTED]
as I've been unable to subscribe to this list (a quick pointer here would
also be fine)



Output of proc/scsi/scsi
Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: CONNER   Model: CFA540S          Rev: 0EAD
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: IBM      Model: DDRS-34560       Rev: S97B
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: IBM      Model: DDRS-34560       Rev: S97B
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 03 Lun: 00
  Vendor: WDIGTL   Model: WDE9100          Rev: 1.50
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
  Vendor: WDIGTL   Model: WDE4550          Rev: 1.50
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: PLEXTOR  Model: CD-ROM PX-32TS   Rev: 1.03
  Type:   CD-ROM                           ANSI SCSI revision: 02



...and /proc/pci   (don't think this is useful)
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel 440BX - 82443BX Host (rev 3).
      Medium devsel.  Master Capable.  Latency=64.  
      Prefetchable 32 bit memory at 0xf8000000 [0xf8000008].
  Bus  0, device   1, function  0:
    PCI bridge: Intel 440BX - 82443BX AGP (rev 3).
      Medium devsel.  Master Capable.  Latency=64.  Min Gnt=128.
  Bus  0, device   7, function  0:
    ISA bridge: Intel 82371AB PIIX4 ISA (rev 2).
      Medium devsel.  Fast back-to-back capable.  Master Capable.  No
bursts.  
  Bus  0, device   7, function  1:
    IDE interface: Intel 82371AB PIIX4 IDE (rev 1).

      Medium devsel.  Fast back-to-back capable.  Master Capable.
Latency=64.  
      I/O at 0xffa0 [0xffa1].
  Bus  0, device   7, function  2:
    USB Controller: Intel 82371AB PIIX4 USB (rev 1).
      Medium devsel.  Fast back-to-back capable.  Master Capable.
Latency=64.  
      I/O at 0xef80 [0xef81].
  Bus  0, device   7, function  3:
    Bridge: Intel 82371AB PIIX4 ACPI (rev 2).
      Medium devsel.  Fast back-to-back capable.  
  Bus  0, device  19, function  0:
    VGA compatible controller: ATI 210888GX (rev 1).
      Medium devsel.  
      Non-prefetchable 32 bit memory at 0xfe000000 [0xfe000000].


-S 
--
"We do have a summer. Last year, I remember, it was a Wednesday" 
-Helga-Marie Johnesen, Norwegian citizen, TIME international.

GNUsig v0.9A R3
Support the GNUsig-project! Mail [EMAIL PROTECTED] for details.

-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]

Reply via email to