Scsi problems?

Scsi problems?

Post by Thomas Elsess » Fri, 14 Aug 1998 04:00:00



Hi,
 I have a linux machine with an adaptec 2920 PCI card. I think the
card may be giving me problems, but I cannot tell from the log file if
it truly is the scsi card. The machine will hang for about a minute,
and burp up errors about  "scsi timeouts". I have included the tail of
my /var/log/messages which caught the errors as they happened during a
reboot.

Aug 12 03:28:41 server syslogd 1.3-3: restart.
Aug 12 03:28:41 server kernel: klogd 1.3-3, log source = /proc/kmsg
started.
Aug 12 03:28:41 server kernel: Loaded 4189 symbols from
/boot/System.map.
Aug 12 03:28:41 server kernel: Symbols match kernel version 2.0.31.
Aug 12 03:28:41 server kernel: Loaded 22 symbols from 5 modules.
Aug 12 03:28:41 server kernel: Console: 16 point font, 400 scans
Aug 12 03:28:41 server kernel: Console: colour VGA+ 80x25, 1 virtual
console (max 63)
Aug 12 03:28:41 server kernel: pcibios_init : BIOS32 Service Directory
structure at 0x000fb0c0
Aug 12 03:28:41 server kernel: pcibios_init : BIOS32 Service Directory
entry at 0xfb560
Aug 12 03:28:41 server kernel: pcibios_init : PCI BIOS revision 2.10
entry at 0xfb590
Aug 12 03:28:41 server kernel: Probing PCI hardware.
Aug 12 03:28:41 server kernel: Calibrating delay loop.. ok - 79.67
BogoMIPS
Aug 12 03:28:41 server kernel: Memory: 62988k/65536k available (736k
kernel code, 384k reserved, 1256k data)
Aug 12 03:28:41 server kernel: Swansea University Computer Society
NET3.035 for Linux 2.0
Aug 12 03:28:41 server kernel: NET3: Unix domain sockets 0.13 for
Linux NET3.035.
Aug 12 03:28:41 server kernel: Swansea University Computer Society
TCP/IP for NET3.034
Aug 12 03:28:41 server kernel: IP Protocols: IGMP, ICMP, UDP, TCP
Aug 12 03:28:41 server kernel: VFS: Diskquotas version dquot_5.6.0
initialized
Aug 12 03:28:41 server kernel:
Aug 12 03:28:41 server kernel: Checking 386/387 coupling... Ok, fpu
using exception 16 error reporting.
Aug 12 03:28:41 server kernel: Checking 'hlt' instruction... Ok.
Aug 12 03:28:41 server kernel: Linux version 2.0.31
(r...@porky.redhat.com) (gcc version 2.7.2.3) #1 Sun Nov 9 21:45:23
EST 1997
Aug 12 03:28:41 server kernel: Starting kswapd v 1.4.2.2
Aug 12 03:28:41 server kernel: Serial driver version 4.13 with no
serial options enabled
Aug 12 03:28:41 server kernel: tty00 at 0x03f8 (irq = 4) is a 16550A
Aug 12 03:28:41 server kernel: tty01 at 0x02f8 (irq = 3) is a 16550A
Aug 12 03:28:41 server kernel: Real Time Clock Driver v1.07
Aug 12 03:28:41 server kernel: Ramdisk driver initialized : 16
ramdisks of 4096K size
Aug 12 03:28:41 server kernel: ide: i82371 PIIX (Triton) on PCI bus 0
function 57
Aug 12 03:28:41 server kernel:     ide0: BM-DMA at 0xf000-0xf007
Aug 12 03:28:41 server kernel:     ide1: BM-DMA at 0xf008-0xf00f
Aug 12 03:28:41 server kernel: Flop
S version 3.?. at 0xc8000 using scsi id 7
Aug 12 03:28:41 server kernel: scsi0 <fdomain>: TMC-36C70 (PCI bus)
chip at 0x6400 irq 10
Aug 12 03:28:41 server kernel: scsi0 : Future Domain TMC-16x0 SCSI
driver, version 5.44
Aug 12 03:28:41 server kernel: scsi : 1 host.
Aug 12 03:28:41 server kernel:   Vendor: SEAGATE   Model: ST52160N
Rev: 0285
Aug 12 03:28:41 server kernel:   Type:   Direct-Access
ANSI SCSI revision: 02
Aug 12 03:28:41 server kernel: Detected scsi disk sda at scsi0,
channel 0, id 0, lun 0
Aug 12 03:28:41 server kernel:   Vendor: PLEXTOR   Model: CD-ROM
PX-6XCS    Rev: 1.02
Aug 12 03:28:41 server kernel:   Type:   CD-ROM
ANSI SCSI revision: 02
Aug 12 03:28:41 server kernel: Detected scsi CD-ROM sr0 at scsi0,
channel 0, id 3, lun 0
Aug 12 03:28:41 server kernel: SCSI device sda: hdwr sector= 512
bytes. Sectors= 4238282 [2069 MB] [2.1 GB]
Aug 12 03:28:41 server kernel:  sda: sda1 sda2
Aug 12 03:28:41 server kernel: VFS: Mounted root (ext2 filesystem)
readonly.
Aug 12 03:28:41 server kernel: Trying to unmount old root ... okay
Aug 12 03:28:41 server kernel: Adding Swap: 130748k swap-space
(priority -1)
Aug 12 03:28:41 server kernel: scsi : aborting command due to timeout
: pid 959, scsi0, channel 0, id 0, lun 0 Read (10) 00 00 20 02 f3 00
00 10 00
Aug 12 03:28:41 server kernel: fdomain: abort
Aug 12 03:28:41 server kernel: Future Domain TMC-16x0 SCSI driver,
version 5.44
Aug 12 03:28:41 server kernel: scsi0 <fdomain>: BIOS version 3.?. at
0xc8000 using scsi id 7
Aug 12 03:28:41 server kernel: scsi0 <fdomain>: TMC-36C70 (PCI bus)
chip at 0x6400 irq 10
Aug 12 03:28:41 server kernel: other (8), target = 0 cmnd = 0x28
pieces = 8 size = 8192
Aug 12 03:28:41 server kernel: sent_command = 10, have_data_in = 0,
timeout = 50
Aug 12 03:28:41 server kernel: in_interrupt_flag = 0
Aug 12 03:28:41 server kernel: IMR = 0xdaf8, IRR = 0x0000, ISR =
0x0000
Aug 12 03:28:41 server kernel: SCSI Status      = 0x09
Aug 12 03:28:41 server kernel: TMC Status       = 0xc0 (interrupt)
Aug 12 03:28:41 server kernel: Interrupt Status = 0x98 (enabled)
Aug 12 03:28:41 server kernel: FIFO Status      = 0x08
Aug 12 03:28:41 server kernel: Int. Condition   = 0x00
Aug 12 03:28:41 server kernel: Configuration 1  = 0x85
Aug 12 03:28:41 server kernel: Configuration 2  = 0x03
Aug 12 03:28:41 server kernel: scsi : aborting command due to timeout
: pid 959, scsi0, channel 0, id 0, lun 0 Read (10) 00 00 20 02 f3 00
00 10 00
Aug 12 03:28:41 server kernel: fdomain: abort
Aug 12 03:28:41 server kernel: Future Domain TMC-16x0 SCSI driver,
version 5.44
Aug 12 03:28:41 server kernel: scsi0 <fdomain>: BIOS version 3.?. at
0xc8000 using scsi id 7
Aug 12 03:28:41 server kernel: scsi0 <fdomain>: TMC-36C70 (PCI bus)
chip at 0x6400 irq 10
Aug 12 03:28:41 server kernel: arbitration (2), target = 0 cmnd = 0x28
pieces = 8 size = 8192
Aug 12 03:28:41 server kernel: sent_command = 0, have_data_in = 0,
timeout = 50
Aug 12 03:28:41 server kernel: in_interrupt_flag = 0
Aug 12 03:28:41 server kernel: IMR = 0xdaf8, IRR = 0x0000, ISR =
0x0000
Aug 12 03:28:41 server kernel: SCSI Status      = 0x09
Aug 12 03:28:41 server kernel: TMC Status       = 0x40
Aug 12 03:28:41 server kernel: Interrupt Status = 0x28 (enabled)
Aug 12 03:28:41 server kernel: FIFO Status      = 0x08
Aug 12 03:28:41 server kernel: Int. Condition   = 0x00
Aug 12 03:28:41 server kernel: Configuration 1  = 0x85
Aug 12 03:28:41 server kernel: Configuration 2  = 0x03
Aug 12 03:28:41 server kernel: scsi : aborting command due to timeout
: pid 959, scsi0, channel 0, id 0, lun 0 Read (10) 00 00 20 02 f3 00
00 10 00
Aug 12 03:28:41 server kernel: fdomain: abort
Aug 12 03:28:41 server kernel: Future Domain TMC-16x0 SCSI driver,
version 5.44
Aug 12 03:28:41 server kernel: scsi0 <fdomain>: BIOS version 3.?. at
0xc8000 using scsi id 7
Aug 12 03:28:41 server kernel: scsi0 <fdomain>: TMC-36C70 (PCI bus)
chip at 0x6400 irq 10
Aug 12 03:28:41 server kernel: arbitration (2), target = 0 cmnd = 0x28
pieces = 8 size = 8192
Aug 12 03:28:41 server kernel: sent_command = 0, have_data_in = 0,
timeout = 50
Aug 12 03:28:41 server kernel: in_interrupt_flag = 0
Aug 12 03:28:41 server kernel: IMR = 0xdaf8, IRR = 0x0000, ISR =
0x0000
Aug 12 03:28:41 server kernel: SCSI Status      = 0x09
Aug 12 03:28:41 server kernel: TMC Status       = 0x40 (interrupt)
Aug 12 03:28:41 server kernel: Interrupt Status = 0x28 (enabled)
Aug 12 03:28:41 server kernel: FIFO Status      = 0x08
Aug 12 03:28:41 server kernel: Int. Condition   = 0x00
Aug 12 03:28:41 server kernel: Configuration 1  = 0x85
Aug 12 03:28:41 server kernel: Configuration 2  = 0x03
Aug 12 03:28:41 server kernel: scsi0 channel 0 : resetting for second
half of retries.
Aug 12 03:28:41 server kernel: SCSI bus is being reset for host 0
channel 0.
Aug 12 03:28:45 server named[243]: starting.  named 4.9.6-REL Thu Nov
6 23:29:57 EST 1997
^Ir...@porky.redhat.com:/usr/src/bs/BUILD/bind-4.9.6/named
Aug 12 03:28:45 server named[243]: cache zone "" loaded (serial 0)
Aug 12 03:28:45 server named[243]: primary zone "0.0.127.in-addr.arpa"
loaded (serial 1997022700)
Aug 12 03:28:45 server named[244]: Ready to answer queries.
Aug 12 03:28:41 server kernel: fdomain: SCSI Bus Reset
Aug 12 03:28:41 server kernel: Future Domain TMC-16x0 SCSI driver,
version 5.44
Aug 12 03:28:41 server kernel: scsi0 <fdomain>: BIOS version 3.?. at
0xc8000 using scsi id 7
Aug 12 03:28:41 server kernel: scsi0 <fdomain>: TMC-36C70 (PCI bus)
chip at 0x6400 irq 10
Aug 12 03:28:41 server kernel: unknown (34), target = 0 cmnd = 0x28
pieces = 8 size = 8192
Aug 12 03:28:41 server kernel: sent_command = 0, have_data_in = 0,
timeout = 50
Aug 12 03:28:41 server kernel: in_interrupt_flag = 0
Aug 12 03:28:41 server kernel: IMR = 0xdaf8, IRR = 0x0000, ISR =
0x0000
Aug 12 03:28:41 server kernel: SCSI Status      = 0x09
Aug 12 03:28:41 server kernel: TMC Status       = 0x40
Aug 12 03:28:41 server kernel: Interrupt Status = 0x00
Aug 12 03:28:41 server kernel: FIFO Status      = 0x08
Aug 12 03:28:41 server kernel: Int. Condition   = 0x00
Aug 12 03:28:41 server kernel: Configuration 1  = 0x85
Aug 12 03:28:41 server kernel: Configuration 2  = 0x03
Aug 12 03:28:41 server kernel: sysctl: ip forwarding off
Aug 12 03:28:41 server kernel: Swansea University Computer Society IPX
0.34 for NET3.035
Aug 12 03:28:41 server kernel: IPX Portions Copyright (c) 1995
Caldera, Inc.
Aug 12 03:28:41 server kernel: Appletalk 0.17 for Linux NET3.035
Aug 12 03:28:41 server kernel: loading device 'eth0'...
Aug 12 03:28:41 server kernel: ne.c:v1.10 9/23/94 Donald Becker
(bec...@cesdis.gsfc.nasa.gov)
Aug 12 03:28:41 server kernel: NE*000 ethercard probe at 0x300: 00 00
e8 cd 29 a1
Aug 12 03:28:41 server kernel: eth0: NE2000 found at 0x300, using IRQ
9.
Aug 12 03:28:41 server kernel: loading device 'eth1'...
Aug 12 03:28:50 server PAM_pwdb[316]: (su) session opened for user
postgres by (uid=100)
Aug 12 03:28:51 server PAM_pwdb[316]: (su) session closed for user
postgres
Aug 12 03:29:26 server PAM_pwdb[367]: (login) session opened for user
root by (uid=0)
Aug 12 03:29:26 server PAM_pwdb[367]: ROOT LOGIN ON tty1

Any help would be truly appreciated.

Tom

 
 
 

Scsi problems?

Post by Fred Bergma » Fri, 14 Aug 1998 04:00:00



> it truly is the scsi card. The machine will hang for about a minute,
> and burp up errors about  "scsi timeouts". I have included the tail of

Tom,

There is a bug in the aic7xxx scsi driver.
Go to   ftp.dialnet.net and down load the latest driver patch.
It is   aic7xxx-5.1.0-pre6-2.0.35.patch
Install the patch & recompile the kernel

--
Fred AE2R

 
 
 

Scsi problems?

Post by Tom Elsess » Fri, 14 Aug 1998 04:00:00




Quote:>Tom,

>There is a bug in the aic7xxx scsi driver.
>Go to   ftp.dialnet.net and down load the latest driver patch.
>It is   aic7xxx-5.1.0-pre6-2.0.35.patch
>Install the patch & recompile the kernel

>--
>Fred AE2R

   Fred,
I am using the Future Domain driver offered in the RedHat 5.0 setup.
Do I need to install the old aic7xxx driver first, or just the patch?

TIA,
Tom

 
 
 

Scsi problems?

Post by Fred Bergma » Sun, 16 Aug 1998 04:00:00


Tom

Quote:> I am using the Future Domain driver offered in the RedHat 5.0 setup.
> Do I need to install the old aic7xxx driver first, or just the patch?

 I would make sure I hade a "clean kernel" and install the patch for
that kernle rev.

I suggest that you down-load the latest rev 2.0.35, from
ftp://tsx-11.mit.edu/pub/linux/kernels/v2.0/ ,un-zip it in the
/usr/src directory. This will create a directory
named linux. Change the name of this directory from linux to
linux-2.0.35 .  Next make a sim link to the linux directory

ln -s  linux-2.0.35   linux

Now you're ready to install the patch and recompile the kernel
While in the directory /usr/src/ run the patch command:

patch -p0 <  aic7xxx-5.1.0-pre6-2.0.35.patch

Then cd to /usr/src/linux-2.0.35  and  rebuild a new kernle.

--
Fred AE2R