Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2000 00:42:34 -0600
From:      Steve Cahill <nonymous@concentric.net>
To:        "aic7xxx FreeBSD.ORG" <AIC7xxx@FreeBSD.ORG>
Subject:   2.2.X+scsi+ide=timeout mystery
Message-ID:  <388BF45A.2836F5DC@concentric.net>

next in thread | raw e-mail | index | archive | help

--------------C8ABA27EC997195F4173EEA0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Well Folks,

This one is a real mystery.....

I cannot believe that my setup is unique, but hey... stranger things can
happen I suppose. I have an Adaptec AHA-2940U2W with several devices (
see 2.0.38 dmesg out below), and an IDE primary drive where my boot
record lives with a (bootable) DOS partition as well as some other Linux
partitions:

hda: hda1 hda2 hda3 hda4 < hda5 hda6 hda7 hda8 >
hda: WDC AC26400B, 6149MB w/512kB Cache, CHS=784/255/63

My main (mother) board is an FIC PA-2013 with a 350MHz AMD K6-2
CPU, Millenium G200 video adapter, 128MB (PC100) SDRAM, sound card and
modem reside in the 2 ISA slots and a 3COM 3c905B Cyclone ethernet card
in one of the PCI slots.
(aka very typical setup??)

When booting any Linux 2.2.X kernel with this IDE drive present I get a
timeout message (which I have posted before, but will include here for
completeness):

scsi : aborting command due to timeout : pid 60, scsi0, channel 0, id 1,
lun 0 0x28 00 00 70 c2 ce 00 00 02 00

The timeout can last anywhere from 25 to 40 seconds.  Another symptom is
LILO will hang (i.e. executing lilo) or take a very long time to
execute.

When I boot any of the 2.2.X kernels without this drive present the
timeout disappears. In fact when I boot with this drive present in any
of the newer 2.0.3X kernels which support this adapter there is NO
timeout and lilo behaves normally!

So why don't I just shutup and just use the 2.0.38 kernel? Well I do,
but I would like to have some of the newer 2.2.X kernel features not
present in the 2.0.3X kernels.

If anyone has a similiar hardware setup (at the very least has the
2940U2W) that mixes both scsi and ide in the 2.2.X kernels and get no
timeouts or lilo troubles, please let me know. I have discussed this at
length with Doug Ledford and I am sure he would be interested in knowing
also. It is possible that there is something in my BIOS (and/or BIOS
settings) that the 2.0.3X kernels (as well as WINDOZE :) overlooks or
doesn't care about.

TIA,
Steve
nonymous@concentric.net

SCSI device dmesg out:

(scsi0) <Adaptec AHA-294X Ultra2 SCSI host adapter> found at PCI 8/0
(scsi0) Wide Channel, SCSI ID=7, 32/255 SCBs
(scsi0) Downloading sequencer code... 407 instructions downloaded
scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.13/3.2.4
       <Adaptec AHA-294X Ultra2 SCSI host adapter>
scsi : 1 host.
  Vendor: IBM       Model: DRVS09V           Rev: 0100
  Type:   Direct-Access                      ANSI SCSI revision: 03
Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
  Vendor: QUANTUM   Model: ATLAS 10K 18WLS   Rev: UCH0
  Type:   Direct-Access                      ANSI SCSI revision: 03
Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
  Vendor: WDIGTL    Model: WDE4360-1807A3    Rev: 1.80
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi disk sdc at scsi0, channel 0, id 2, lun 0
  Vendor: MATSHITA  Model: CD-ROM CR-504     Rev: ST23
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr0 at scsi0, channel 0, id 3, lun 0
  Vendor: YAMAHA    Model: CRW6416S          Rev: 1.0b
  Type:   CD-ROM                             ANSI SCSI revision: 02
Detected scsi CD-ROM sr1 at scsi0, channel 0, id 4, lun 0
  Vendor: iomega    Model: jaz 1GB           Rev: J.83
  Type:   Direct-Access                      ANSI SCSI revision: 02
Detected scsi removable disk sdd at scsi0, channel 0, id 5, lun 0
scsi : detected 2 SCSI cdroms 4 SCSI disks total.
(scsi0:0:0:0) Synchronous at 80.0 Mbyte/sec, offset 15.
SCSI device sda: hdwr sector= 512 bytes. Sectors= 17928698 [8754 MB]
[8.8 GB]
(scsi0:0:1:0) Synchronous at 80.0 Mbyte/sec, offset 31.
SCSI device sdb: hdwr sector= 512 bytes. Sectors= 35877972 [17518 MB]
[17.5 GB]
(scsi0:0:2:0) Synchronous at 40.0 Mbyte/sec, offset 15.
SCSI device sdc: hdwr sector= 512 bytes. Sectors= 8388314 [4095 MB] [4.1
GB]
(scsi0:0:5:0) Synchronous at 10.0 Mbyte/sec, offset 15.
sdd : READ CAPACITY failed.
sdd : status = 1, message = 00, host = 0, driver = 28
sdd : extended sense code = 2
sdd : block size assumed to be 512 bytes, disk size 1GB.

--------------C8ABA27EC997195F4173EEA0
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Well Folks,
<p>This one is a <b><i><blink>real</blink></i></b> mystery.....
<p>I cannot believe that my setup is unique, but hey... stranger things
can happen I&nbsp;suppose. I have an Adaptec AHA-2940U2W with several devices
( see 2.0.38 dmesg out below), and an IDE primary drive where my boot record
lives with a (bootable) DOS partition as well as some other Linux partitions:
<p>hda: hda1 hda2 hda3 hda4 &lt; hda5 hda6 hda7 hda8 >
<br>hda: WDC AC26400B, 6149MB w/512kB Cache, CHS=784/255/63
<p>My main (mother) board is an FIC PA-2013 with a 350MHz AMD K6-2 CPU,&nbsp;Millenium
G200 video adapter, 128MB (PC100)&nbsp;SDRAM, sound card and modem reside
in the 2 ISA slots and a 3COM 3c905B Cyclone ethernet card in one of the
PCI&nbsp;slots.
<br>(aka very typical setup??)
<p>When booting any Linux 2.2.X kernel with this IDE drive present I&nbsp;get
a timeout message (which I&nbsp;have posted before, but will include here
for completeness):
<p><i>scsi : aborting command due to timeout : pid 60, scsi0, channel 0,
id 1, lun 0 0x28 00 00 70 c2 ce 00 00 02 00</i>
<p>The timeout can last anywhere from 25 to 40 seconds.&nbsp; Another symptom
is LILO will hang (i.e. executing lilo) or take a very long time to execute.
<p>When I boot any of the 2.2.X kernels <b><i>without </i></b>this drive
present the timeout disappears. In fact when I boot with this drive present
in any of the newer 2.0.3X kernels which support this adapter there is
NO timeout and lilo behaves normally!
<p>So why don't I just shutup and just use the 2.0.38 kernel? Well I do,
but I&nbsp;would like to have some of the newer 2.2.X kernel features not
present in the 2.0.3X kernels.
<p>If anyone has a similiar hardware setup (at the very least has the 2940U2W)
that mixes both scsi and ide in the 2.2.X kernels and get no timeouts or
lilo troubles, please let me know. I&nbsp;have discussed this at length
with Doug Ledford and I&nbsp;am sure he would be interested in knowing
also. It is possible that there is something in my BIOS (and/or BIOS settings)
that the 2.0.3X kernels (as well as WINDOZE :) overlooks or doesn't care
about.
<p>TIA,
<br>Steve
<br>nonymous@concentric.net
<p>SCSI device dmesg out:
<p>(scsi0) &lt;Adaptec AHA-294X Ultra2 SCSI host adapter> found at PCI
8/0
<br>(scsi0) Wide Channel, SCSI ID=7, 32/255 SCBs
<br>(scsi0) Downloading sequencer code... 407 instructions downloaded
<br>scsi0 : Adaptec AHA274x/284x/294x (EISA/VLB/PCI-Fast SCSI) 5.1.13/3.2.4
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Adaptec AHA-294X Ultra2 SCSI
host adapter>
<br>scsi : 1 host.
<br>&nbsp; Vendor: IBM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Model: DRVS09V&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Rev: 0100
<br>&nbsp; Type:&nbsp;&nbsp; Direct-Access&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ANSI SCSI revision: 03
<br>Detected scsi disk sda at scsi0, channel 0, id 0, lun 0
<br>&nbsp; Vendor: QUANTUM&nbsp;&nbsp; Model: ATLAS 10K 18WLS&nbsp;&nbsp;
Rev: UCH0
<br>&nbsp; Type:&nbsp;&nbsp; Direct-Access&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ANSI SCSI revision: 03
<br>Detected scsi disk sdb at scsi0, channel 0, id 1, lun 0
<br>&nbsp; Vendor: WDIGTL&nbsp;&nbsp;&nbsp; Model: WDE4360-1807A3&nbsp;&nbsp;&nbsp;
Rev: 1.80
<br>&nbsp; Type:&nbsp;&nbsp; Direct-Access&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ANSI SCSI revision: 02
<br>Detected scsi disk sdc at scsi0, channel 0, id 2, lun 0
<br>&nbsp; Vendor: MATSHITA&nbsp; Model: CD-ROM CR-504&nbsp;&nbsp;&nbsp;&nbsp;
Rev: ST23
<br>&nbsp; Type:&nbsp;&nbsp; CD-ROM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ANSI SCSI revision: 02
<br>Detected scsi CD-ROM sr0 at scsi0, channel 0, id 3, lun 0
<br>&nbsp; Vendor: YAMAHA&nbsp;&nbsp;&nbsp; Model: CRW6416S&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Rev: 1.0b
<br>&nbsp; Type:&nbsp;&nbsp; CD-ROM&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ANSI SCSI revision: 02
<br>Detected scsi CD-ROM sr1 at scsi0, channel 0, id 4, lun 0
<br>&nbsp; Vendor: iomega&nbsp;&nbsp;&nbsp; Model: jaz 1GB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Rev: J.83
<br>&nbsp; Type:&nbsp;&nbsp; Direct-Access&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ANSI SCSI revision: 02
<br>Detected scsi removable disk sdd at scsi0, channel 0, id 5, lun 0
<br>scsi : detected 2 SCSI cdroms 4 SCSI disks total.
<br>(scsi0:0:0:0) Synchronous at 80.0 Mbyte/sec, offset 15.
<br>SCSI device sda: hdwr sector= 512 bytes. Sectors= 17928698 [8754 MB]
[8.8 GB]
<br>(scsi0:0:1:0) Synchronous at 80.0 Mbyte/sec, offset 31.
<br>SCSI device sdb: hdwr sector= 512 bytes. Sectors= 35877972 [17518 MB]
[17.5 GB]
<br>(scsi0:0:2:0) Synchronous at 40.0 Mbyte/sec, offset 15.
<br>SCSI device sdc: hdwr sector= 512 bytes. Sectors= 8388314 [4095 MB]
[4.1 GB]
<br>(scsi0:0:5:0) Synchronous at 10.0 Mbyte/sec, offset 15.
<br>sdd : READ CAPACITY failed.
<br>sdd : status = 1, message = 00, host = 0, driver = 28
<br>sdd : extended sense code = 2
<br>sdd : block size assumed to be 512 bytes, disk size 1GB.</html>

--------------C8ABA27EC997195F4173EEA0--



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe aic7xxx" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?388BF45A.2836F5DC>