Hello
I hope to be on topic and giving enough information to help determine if there is a
problem in the SCSI driver or kernel code or just a hardware problem on my box.
In any case I would appreciate any hint that could help me track down my problem.
Martin Mollet
------------------------------------------------------------------
Symptom:
System hanging, no reaction on any key (except power and reset)
- occurs when accessing files (from windows box via Samba)
- does not occur running ckraid, mke2fs, e2fsck
Configuration:
- aha1542 and tmscsim compiled into kernel.
- Software RAID-5 array of 6 1GB Disks, disks 1-3 on the first DC390
and disks 4-6 on the second DC390 controller.
- (previous config with two disks on AHA1542 and four on
a single DC390 worked well)
- the RAID-5 array is now running with all disks on a single DC390.
runs stable, but slower than the old AHA1542/DC390 setup
Action taken so far to resolve the problem:
- exchanged the tmscsim of SuSE6.1 (2.0d) with Version 2.0d20 sources from
http://www.garloff.de/kurt/linux/dc390/dc390-20d20.tar.gz and recompiled
the kernel (SCSI support and both aha1542 and tmscsim compiled in)
- disabled disconnect for all SCSI hard Disks ( this delayed the crash
a tiny little bit )
Hardware Configuration:
- ASUS PVI486SP3 PCI/VLB/ISA motherboard
- Intel PODP5V83 Pentium Overdrive 83MHz
- 24MB of FPM RAM
- Award BIOS 4.50G with default settings
- ADAPTEC 1542B ISA SCSI controller with 5 CD-drives attached
- two Tekram DC390(T) Rev. 2.02 PCI SCSI controllers with one Seagate and
two Compaq drives on each
- VLB VGA card stealth64
- ISA ISDN card Teles PnP
- ISA ethernet controller NE2000 (genuine Novell)
- 3 IDE hard disks
gavin:~ # cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 5
model : 3
model name : OverDrive PODP5V83
stepping : 2
cpu MHz : 83.336213
fdiv_bug : no
hlt_bug : no
sep_bug : no
f00f_bug : yes
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr cx8
bogomips : 33.18
Kernel and SCSI driver version information:
gavin:~ # cat /proc/version
Linux version 2.2.7 (root@gavin) (gcc version 2.7.2.3) #8 Wed Jul 21 22:06:35 MEST 1999
[Remark: Compiled for Pentium processor family]
gavin:~ # cat /proc/pci
PCI devices found:
Bus 0, device 5, function 0:
Host bridge: Silicon Integrated Systems 85C496 (rev 49).
Medium devsel. Fast back-to-back capable. Master Capable. No bursts.
Bus 0, device 11, function 0:
SCSI storage controller: AMD 53C974 (rev 16).
Medium devsel. IRQ 12. Master Capable. Latency=80. Min Gnt=4.Max Lat=40.
I/O at 0xe800 [0xe801].
Bus 0, device 12, function 0:
SCSI storage controller: AMD 53C974 (rev 16).
Medium devsel. IRQ 3. Master Capable. Latency=80. Min Gnt=4.Max Lat=40.
I/O at 0xe400 [0xe401].
gavin:~ # cat /proc/scsi/tmscsim/1
Tekram DC390/AM53C974 PCI SCSI Host Adapter, Driver Version 2.0d20 1999/07/19
SCSI Host Nr 1, DC390 Adapter Nr 0
IOPortBase 0xe800, IRQ 12
MaxID 7, MaxLUN 1, AdapterID 7, SelTimeout 250 ms, DelayReset 1 s
TagMaxNum 32, Status 0x00, ACBFlag 0x00, GlitchEater 24 ns
Statistics: Cmnds 51989, Cmnds not sent directly 0, Out of SRB conds 0
Lost arbitrations 0, Sel. connected 0, Connected: No
Nr of attached devices: 3, Nr of DCBs: 3
Map of attached LUNs: 01 01 01 00 00 00 00 00
Idx ID LUN Prty Sync DsCn SndS TagQ NegoPeriod SyncSpeed SyncOffs MaxCmd
00 00 00 Yes Yes No No Yes 100 ns 10.0 M 15 32
01 01 00 Yes Yes No Yes Yes 100 ns 10.0 M 08 32
02 02 00 Yes Yes No Yes Yes 100 ns 10.0 M 08 32
gavin:~ # cat /proc/scsi/tmscsim/2
Tekram DC390/AM53C974 PCI SCSI Host Adapter, Driver Version 2.0d20 1999/07/19
SCSI Host Nr 2, DC390 Adapter Nr 1
IOPortBase 0xe400, IRQ 03
MaxID 7, MaxLUN 1, AdapterID 7, SelTimeout 250 ms, DelayReset 1 s
TagMaxNum 32, Status 0x00, ACBFlag 0x00, GlitchEater 24 ns
Statistics: Cmnds 51988, Cmnds not sent directly 0, Out of SRB conds 0
Lost arbitrations 0, Sel. connected 0, Connected: No
Nr of attached devices: 3, Nr of DCBs: 3
Map of attached LUNs: 00 01 01 00 01 00 00 00
Idx ID LUN Prty Sync DsCn SndS TagQ NegoPeriod SyncSpeed SyncOffs MaxCmd
00 01 00 Yes Yes No No Yes 100 ns 10.0 M 15 32
01 02 00 Yes Yes No Yes Yes 100 ns 10.0 M 08 32
02 04 00 Yes Yes No Yes Yes 100 ns 10.0 M 08 32
gavin:~ # cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 01 Lun: 00
Vendor: TOSHIBA Model: CD-ROM XM-3401TA Rev: 3593
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 02 Lun: 00
Vendor: TOSHIBA Model: CD-ROM XM-3401TA Rev: 2873
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 03 Lun: 00
Vendor: TOSHIBA Model: CD-ROM XM-3401TA Rev: 2873
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 04 Lun: 00
Vendor: TOSHIBA Model: CD-ROM XM-3401TA Rev: 3593
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
Vendor: NEC Model: CD-ROM DRIVE:500 Rev: 2.5
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: SEAGATE Model: ST51080N Rev: 0913
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 01 Lun: 00
Vendor: COMPAQ Model: C2247 Rev: 0BC4
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 02 Lun: 00
Vendor: COMPAQ Model: C2247 Rev: 0BC4
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 01 Lun: 00
Vendor: SEAGATE Model: ST31200N Rev: 8648
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 02 Lun: 00
Vendor: COMPAQ Model: C2247 Rev: 0BC4
Type: Direct-Access ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 04 Lun: 00
Vendor: COMPAQ Model: C2247 Rev: 0BC4
Type: Direct-Access ANSI SCSI revision: 02
gavin:~ # cat /proc/dma
4: cascade
5: aha1542
gavin:~ # cat /proc/interrupts
CPU0
0: 188157 XT-PIC timer
1: 278 XT-PIC keyboard
2: 0 XT-PIC cascade
3: 930889 XT-PIC tmscsim
4: 126 XT-PIC serial
5: 1659 XT-PIC NE2000
10: 6077 XT-PIC HiSax
11: 52 XT-PIC aha1542
12: 930952 XT-PIC tmscsim
13: 0 XT-PIC fpu
14: 374127 XT-PIC ide0
15: 88251 XT-PIC ide1
NMI: 0
gavin:~ # cat /proc/ioports
0000-001f : dma1
0020-003f : pic1
0040-005f : timer
0060-006f : keyboard
0080-008f : dma page reg
00a0-00bf : pic2
00c0-00df : dma2
00f0-00ff : fpu
0170-0177 : ide1
0180-019f : HiSax hscx A
01a0-01bf : HiSax hscx B
01f0-01f7 : ide0
02f8-02ff : serial(set)
0300-031f : NE2000
0330-0333 : aha1542
0376-0376 : ide1
03c0-03df : vga+
03f6-03f6 : ide0
03f8-03ff : serial(set)
0580-059f : HiSax isac
e400-e47f : tmscsim
e800-e87f : tmscsim
-
To unsubscribe from this list: send the line "unsubscribe linux-scsi" in
the body of a message to [EMAIL PROTECTED]