mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Mike Anderson <andmike@us.ibm.com>
To: andy barlak <andyb@island.net>
Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org
Subject: Re: 2.5.43 scsi _eh_ buslogic
Date: Fri, 18 Oct 2002 15:43:12 -0700	[thread overview]
Message-ID: <20021018224311.GB1066@beaverton.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.30.0210181201060.29276-100000@tosko.alm.com>

Andy,
	From looking at the driver it looks like the locking had been
update to 2.5, but that the driver error handling has not been updated.
scsi_obsolete.c has not existed in the 2.5 view for a while.

I have cc'd linux-scsi as someone on the list might be able to
give more information on the status of the driver.

So if you where previously getting timeouts / errors on probe in 2.4 the
older error handler might have been clearing things up and now nothing
is being called.

We should remove the older error handling interfaces as they are not
called and possibly print a warning if a driver loads with no error
handling functions set. 

The older abort handler BusLogic_AbortCommand should be easy to change
by just adjusting the locking. I do not have one of these adapter, but
could look into the changes.


andy barlak [andyb@island.net] wrote:
> 
> Buslogic is still not functional in 2.5.43.
> Info below is from successive boots on the same system.
> Two scsi HDs and one scsi cdrom.
> Removing the cdrom changes nothing.
> 
> Kernel 2.4.19 has run buslogic scsi just fine:
> 
> SCSI subsystem driver Revision: 1.00
> PCI: Assigned IRQ 10 for device 00:08.0
> scsi: ***** BusLogic SCSI Driver Version 2.1.15 of 17 August 1998 *****
> scsi: Copyright 1995-1998 by Leonard N. Zubkoff <lnz@dandelion.com>
> scsi0: Configuring BusLogic Model BT-958 PCI Wide Ultra SCSI Host Adapter
> scsi0:   Firmware Version: 5.06J, I/O Address: 0xE800, IRQ Channel: 10/Level
> scsi0:   PCI Bus: 0, Device: 8, Address: 0xED001000, Host Adapter SCSI ID: 7
> scsi0:   Parity Checking: Disabled, Extended Translation: Disabled
> scsi0:   Synchronous Negotiation: FFFFSFF#FFFFFFFF, Wide Negotiation: YYYYNYY#YY
> YYYYYY
> scsi0:   Disconnect/Reconnect: Enabled, Tagged Queuing: Enabled
> scsi0:   Scatter/Gather Limit: 128 of 8192 segments, Mailboxes: 211
> scsi0:   Driver Queue Depth: 211, Host Adapter Queue Depth: 192
> scsi0:   Tagged Queue Depth: Automatic, Untagged Queue Depth: 3
> scsi0:   Error Recovery Strategy: Default, SCSI Bus Reset: Disabled
> scsi0:   SCSI Bus Termination: High Enabled, SCAM: Disabled
> scsi0: *** BusLogic BT-958 Initialized Successfully ***
> scsi0 : BusLogic BT-958
>   Vendor: CONNER    Model: CFP2107E  2.14GB  Rev: 1423
>   Type:   Direct-Access                      ANSI SCSI revision: 02
>   Vendor: SEAGATE   Model: SX423451W         Rev: 9E18
>   Type:   Direct-Access                      ANSI SCSI revision: 02
>   Vendor: TOSHIBA   Model: CD-ROM XM-5701TA  Rev: 0167
>   Type:   CD-ROM                             ANSI SCSI revision: 02
> scsi0: Target 0: Queue Depth 28, Wide Synchronous at 20.0 MB/sec, offset 15
> scsi0: Target 1: Queue Depth 28, Wide Synchronous at 20.0 MB/sec, offset 15
> scsi0: Target 2: Queue Depth 3, Synchronous at 10.0 MB/sec, offset 8
> Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
> Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0
> SCSI device sda: 4194303 512-byte hdwr sectors (2147 MB)
>  sda: sda1 sda2
> SCSI device sdb: 45322644 512-byte hdwr sectors (23205 MB)
>  sdb: sdb1 sdb2 sdb3
> 
> -----------------------------
> 
> 
> 
> Kernel 2.5.43 and earlier produce this dmesg info
> (edited  redundant lines):
> 
> SCSI subsystem driver Revision: 1.00
> PCI: Assigned IRQ 10 for device 00:08.0
> scsi: ***** BusLogic SCSI Driver Version 2.1.16 of 18 July 2002 *****
> scsi: Copyright 1995-1998 by Leonard N. Zubkoff <lnz@dandelion.com>
> scsi0: Configuring BusLogic Model BT-958 PCI Wide Ultra SCSI Host Adapter
> scsi0:   Firmware Version: 5.06J, I/O Address: 0xE800, IRQ Channel: 10/Level
> scsi0:   PCI Bus: 0, Device: 8, Address: 0xED001000, Host Adapter SCSI ID: 7
> scsi0:   Parity Checking: Disabled, Extended Translation: Disabled
> scsi0:   Synchronous Negotiation: FFFFSFF#FFFFFFFF, Wide Negotiation: YYYYNYY#YY
> YYYYYY
> scsi0:   Disconnect/Reconnect: Enabled, Tagged Queuing: Enabled
> scsi0:   Scatter/Gather Limit: 128 of 8192 segments, Mailboxes: 211
> scsi0:   Driver Queue Depth: 211, Host Adapter Queue Depth: 192
> scsi0:   Tagged Queue Depth: Automatic, Untagged Queue Depth: 3
> scsi0:   Error Recovery Strategy: Default, SCSI Bus Reset: Disabled
> scsi0:   SCSI Bus Termination: High Enabled, SCAM: Disabled
> scsi0: *** BusLogic BT-958 Initialized Successfully ***
> scsi0 : BusLogic BT-958
>   Vendor: CONNER    Model: CFP2107E  2.14GB  Rev: 1423
>   Type:   Direct-Access                      ANSI SCSI revision: 02
>   Vendor: SEAGATE   Model: SX423451W         Rev: 9E18
>   Type:   Direct-Access                      ANSI SCSI revision: 02
> scsi_eh_offline_sdevs: Device offlined - not ready or command retry failed after
>  error recovery: host 0 channel 0 id 1 lun 0
> scsi_eh_offline_sdevs: Device offlined - not ready or command retry failed after
>  error recovery: host 0 channel 0 id 1 lun 0
> scsi_eh_offline_sdevs: Device offlined - not ready or command retry failed after
>  error recovery: host 0 channel 0 id 2 lun 0
>   Vendor:           Model:                   Rev:
>   Type:   Direct-Access                      ANSI SCSI revision: 00
> scsi_eh_offline_sdevs: Device offlined - not ready or command retry failed after
>  error recovery: host 0 channel 0 id 2 lun 0
> scsi_eh_offline_sdevs: Device offlined - not ready or command retry failed after
>  error recovery: host 0 channel 0 id 2 lun 0
> scsi_eh_offline_sdevs: Device offlined - not ready or command retry failed after
>  error recovery: host 0 channel 0 id 3 lun 0
>   Vendor:           Model:                   Rev:
>   Type:   Direct-Access                      ANSI SCSI revision: 00
> .
> .
> .
> scsi_eh_offline_sdevs: Device offlined - not ready or command retry failed after
>  error recovery: host 0 channel 0 id 15 lun 0
>   Vendor:           Model:                   Rev:
>   Type:   Direct-Access                      ANSI SCSI revision: 00
> scsi_eh_offline_sdevs: Device offlined - not ready or command retry failed after
>  error recovery: host 0 channel 0 id 15 lun 0
> scsi_eh_offline_sdevs: Device offlined - not ready or command retry failed after
>  error recovery: host 0 channel 0 id 15 lun 0
> st: Version 20021015, fixed bufsize 32768, wrt 30720, s/g segs 256
> Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
> Attached scsi disk sdb at scsi0, channel 0, id 1, lun 0
> Attached scsi disk sdc at scsi0, channel 0, id 2, lun 0
> Attached scsi disk sdd at scsi0, channel 0, id 3, lun 0
> Attached scsi disk sde at scsi0, channel 0, id 4, lun 0
> Attached scsi disk sdf at scsi0, channel 0, id 5, lun 0
> Attached scsi disk sdg at scsi0, channel 0, id 6, lun 0
> Attached scsi disk sdh at scsi0, channel 0, id 8, lun 0
> Attached scsi disk sdi at scsi0, channel 0, id 9, lun 0
> Attached scsi disk sdj at scsi0, channel 0, id 10, lun 0
> Attached scsi disk sdk at scsi0, channel 0, id 11, lun 0
> Attached scsi disk sdl at scsi0, channel 0, id 12, lun 0
> Attached scsi disk sdm at scsi0, channel 0, id 13, lun 0
> Attached scsi disk sdn at scsi0, channel 0, id 14, lun 0
> Attached scsi disk sdo at scsi0, channel 0, id 15, lun 0
> scsi_eh_offline_sdevs: Device offlined - not ready or command retry failed after
>  error recovery: host 0 channel 0 id 0 lun 0
> scsi_eh_offline_sdevs: Device offlined - not ready or command retry failed after
>  error recovery: host 0 channel 0 id 0 lun 0
> SCSI device sda: drive cache: write through
> scsi_eh_offline_sdevs: Device offlined - not ready or command retry failed after
>  error recovery: host 0 channel 0 id 0 lun 0
> sda : sector size 0 reported, assuming 512.
> SCSI device sda: 1 512-byte hdwr sectors (0 MB)
> .
> .
> .
> 
> scsi_eh_offline_sdevs: Device offlined - not ready or command retry failed after
>  error recovery: host 0 channel 0 id 15 lun 0
> scsi_eh_offline_sdevs: Device offlined - not ready or command retry failed after
>  error recovery: host 0 channel 0 id 15 lun 0
> SCSI device sdo: drive cache: write through
> scsi_eh_offline_sdevs: Device offlined - not ready or command retry failed after
>  error recovery: host 0 channel 0 id 15 lun 0
> sdo : sector size 0 reported, assuming 512.
> SCSI device sdo: 1 512-byte hdwr sectors (0 MB)
> Initializing USB Mass Storage driver...
> 

-andmike
--
Michael Anderson
andmike@us.ibm.com


  reply	other threads:[~2002-10-18 22:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-18 19:12 andy barlak
2002-10-18 22:43 ` Mike Anderson [this message]
2002-10-19 19:12   ` Bill Davidsen
2002-10-19 19:59     ` Mike Anderson
2002-10-21 16:23   ` Doug Ledford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021018224311.GB1066@beaverton.ibm.com \
    --to=andmike@us.ibm.com \
    --cc=andyb@island.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®