linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* aic7xxx problems with AHA2930CU
@ 2001-11-05 16:39 Tony Mountifield
  2001-11-05 17:03 ` Justin T. Gibbs
  0 siblings, 1 reply; 3+ messages in thread
From: Tony Mountifield @ 2001-11-05 16:39 UTC (permalink / raw)
  To: linux-kernel

Hi, I originally posted this query on aic7xxx@freebsd.org back in August,
but had no responses at all. I hope someone here can advise. I have added
a bit more at the end.

---start original query

I have a completely SCSI-based system which uses an AHA2930CU host adapter
on a SiS-based motherboard to drive two hard drives and a CD-ROM. It has
been running RedHat 6.2 with kernel 2.2.16 very happily for a long time.
This has aic7xxx 5.1.30/3.2.4.

In order to get USB support for my ADSL modem I decided to upgrade to RH
7.1. But the installer's aic7xxx wouldn'trun properly, giving many SCSI
errors, usually starting with Data Overrun errors due to an unexpected data
phase, and ending up complaining of CHECK condition during REQUEST SENSE.
This was aic7xxx 5.2.4/5.2.0.

I also tried the RawHide install disk and the one from Mandrake 8.0. Both
exhibited similar problems.

Using expert install and selecting aic7xxx_mod was no better.

The next thing I tried was installing the RedHat 6.2 update to kernel
2.2.19. This has aic7xxx 5.1.33/3.2.4. It also failed to boot, with
similar SCSI errors to those described above.

I found Doug's SCSI driver page and downloaded the 5.1.33 patch. I then
reverse-applied it to the 2.2.19 kernel tree to downgrade the aic7xxx from
5.1.33 to 5.1.31 and rebuilt the kernel. This kernel DID boot successfully
with no SCSI errors at all!

So something in the mega-update from 5.1.31 to 5.1.33 severely broke the
AHA2930CU card (AIC7860), at least on my system, and this brokenness has
persisted through the few later versions that I've tried.

How can I help solve this? Are the later 6.2.x drivers likely to be better?

---end original query

I have been running fine for over two months with 2.2.19 and the old 5.1.31
SCSI driver. When Red Hat 7.2 came out recently I though I would try again,
and created a boot floppy and a driver floppy.

Booting with these still displayed the problems I described.
Using aic7xxx_mod (6.1.13) instead of aic7xxx resulted in a kernel panic.

I'd really like to move to the 2.4 kernels - how can I determine what needs
doing to the aic7xxx to support the 2930CU card?

Cheers,
Tony

-- 
Tony Mountifield
Work: tony@softins.co.uk - http://www.softins.co.uk
Play: tony@mountifield.org - http://tony.mountifield.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: aic7xxx problems with AHA2930CU
  2001-11-05 16:39 aic7xxx problems with AHA2930CU Tony Mountifield
@ 2001-11-05 17:03 ` Justin T. Gibbs
  0 siblings, 0 replies; 3+ messages in thread
From: Justin T. Gibbs @ 2001-11-05 17:03 UTC (permalink / raw)
  To: Tony Mountifield; +Cc: linux-kernel

>I have been running fine for over two months with 2.2.19 and the old 5.1.31
>SCSI driver. When Red Hat 7.2 came out recently I though I would try again,
>and created a boot floppy and a driver floppy.
>
>Booting with these still displayed the problems I described.
>Using aic7xxx_mod (6.1.13) instead of aic7xxx resulted in a kernel panic.

Can you provide any information about the kernel panic?  6.1.13 is still
quite old.  You may have better luck using version 6.2.4, but I can't
really say without knowing more about your system, the devices on the
bus, and the nature of the crash.  The 2930CU seems to work okay here.

Latest aic7xxx drivers can be found here:

http://people.FreeBSD.org/~gibbs/linux/

--
Justin

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: aic7xxx problems with AHA2930CU
       [not found] <9s6hcs$3nc$1@softins.clara.co.uk>
@ 2001-11-05 17:33 ` Tony Mountifield
  0 siblings, 0 replies; 3+ messages in thread
From: Tony Mountifield @ 2001-11-05 17:33 UTC (permalink / raw)
  To: linux-kernel

Justin T. Gibbs <gibbs@scsiguy.com> wrote:
> >I have been running fine for over two months with 2.2.19 and the old 5.1.31
> >SCSI driver. When Red Hat 7.2 came out recently I though I would try again,
> >and created a boot floppy and a driver floppy.
> >
> >Booting with these still displayed the problems I described.
> >Using aic7xxx_mod (6.1.13) instead of aic7xxx resulted in a kernel panic.
> 
> Can you provide any information about the kernel panic?  6.1.13 is still
> quite old.  You may have better luck using version 6.2.4, but I can't
> really say without knowing more about your system, the devices on the
> bus, and the nature of the crash.  The 2930CU seems to work okay here.

This was at boot time, from the Red Hat 7.2 distribution floppies.
I'll try it again and note what it says.

I'll also try installing a clean 2.2.19 and applying the 6.2.4 driver patch
to it, and build it as an alternative boot kernel.

I still don't understand why 5.1.31 is the latest driver that works...

In the meantime, here are the details of my SCSI subsystem:

$ cat /proc/scsi/scsi 
Attached devices: 
Host: scsi0 Channel: 00 Id: 00 Lun: 00
  Vendor: SEAGATE  Model: ST36530N         Rev: 1206
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 01 Lun: 00
  Vendor: FUJITSU  Model: M2694ES-512      Rev: 812A
  Type:   Direct-Access                    ANSI SCSI revision: 01 CCS
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: PLEXTOR  Model: CD-ROM PX-32TS   Rev: 1.03
  Type:   CD-ROM                           ANSI SCSI revision: 02

$ cat /proc/scsi/aic7xxx/0 
Adaptec AIC7xxx driver version: 5.1.31/3.2.4
Compile Options:
  TCQ Enabled By Default : Disabled
  AIC7XXX_PROC_STATS     : Enabled
  AIC7XXX_RESET_DELAY    : 5

Adapter Configuration:
           SCSI Adapter: Adaptec AIC-7860 Ultra SCSI host adapter
                           Ultra Narrow Controller at PCI 0/9/0
    PCI MMAPed I/O Base: 0xefffe000
 Adapter SEEPROM Config: SEEPROM found and used.
      Adaptec SCSI BIOS: Enabled
                    IRQ: 9
                   SCBs: Active 0, Max Active 2,
                         Allocated 15, HW 3, Page 255
             Interrupts: 466583
      BIOS Control Word: 0x10b6
   Adapter Control Word: 0x005e
   Extended Translation: Enabled
Disconnect Enable Flags: 0x00ff
     Ultra Enable Flags: 0x0005
 Tag Queue Enable Flags: 0x0000
Ordered Queue Tag Flags: 0x0000
Default Tag Queue Depth: 8
    Tagged Queue By Device array for aic7xxx host instance 0:
      {255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255}
    Actual queue depth per device for aic7xxx host instance 0:
      {1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1}

Statistics:

(scsi0:0:0:0)
  Device using Narrow/Sync transfers at 20.0 MByte/sec, offset 15
  Transinfo settings: current(12/15/0/0), goal(12/15/0/0), user(12/15/0/0)
  Total transfers 446289 (400941 reads and 45348 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:   87226   14652   29730   31168   39780   64915  133470       0
  Writes:   37688    6735     412     187     100     105     121       0


(scsi0:0:1:0)
  Device using Narrow/Async transfers.
  Transinfo settings: current(0/0/0/0), goal(255/0/0/0), user(12/15/0/0)
  Total transfers 20228 (20228 reads and 0 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:   20228       0       0       0       0       0       0       0
  Writes:       0       0       0       0       0       0       0       0


(scsi0:0:2:0)
  Device using Narrow/Sync transfers at 20.0 MByte/sec, offset 15
  Transinfo settings: current(12/15/0/0), goal(12/15/0/0), user(12/15/0/0)
  Total transfers 0 (0 reads and 0 writes)
             < 2K      2K+     4K+     8K+    16K+    32K+    64K+   128K+
   Reads:       0       0       0       0       0       0       0       0
  Writes:       0       0       0       0       0       0       0       0


Cheers,
Tony
-- 
Tony Mountifield
Work: tony@softins.co.uk - http://www.softins.co.uk
Play: tony@mountifield.org - http://tony.mountifield.org

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2001-11-05 17:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-11-05 16:39 aic7xxx problems with AHA2930CU Tony Mountifield
2001-11-05 17:03 ` Justin T. Gibbs
     [not found] <9s6hcs$3nc$1@softins.clara.co.uk>
2001-11-05 17:33 ` Tony Mountifield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).