Re: Race conditions galore (2.0.33 and possibly 2.1.x)

Mr. James W. Laferriere Network Engineer (babydr@nwrain.net)
Wed, 24 Dec 1997 17:53:34 -0800 (PST)


Hello Stephen,

On Wed, 24 Dec 1997, Stephen R. van den Berg wrote:
> Gerard Roudier wrote:
> >I read that you are using a 53C875 scsi controller.
> >Misused or mishandled 'PCI write and invalidate' commands may
> >cause cache coherency problems. If the 53C875 is using this
> >feature, I would suggest to disable it.
>
> Well, it is very unlikely that the problem is a direct result
> of failed SCSI-bus-mastering. The problem seems to occur *before*
> the disk activity takes place.
> But, just in case it would help, below is the info you asked for:
>
> >Could you send the boot-up messages and 'cat /proc/pci' output?
>
> Here goes (bootup first, and /proc/pci below):
>
> klogd 1.3-3, log source = /proc/kmsg started.
> Loaded 1576 symbols from /boot/System.map.
> Symbols match kernel version 2.0.33.
> Loaded 2 symbols from 1 module.
> BIOS query detected 131072KB RAM. Report errors to lma@varesearch.com
> Total RAM size was detected using BIOS function int 15h, ax=e801h.
> Console: 8 point font, 400 scans
> Console: colour VGA+ 80x50, 1 virtual console (max 63)
> pcibios_init : BIOS32 Service Directory structure at 0x000f99e0
> pcibios_init : BIOS32 Service Directory entry at 0xf0400
> pcibios_init : PCI BIOS revision 2.10 entry at 0xf0430
> Probing PCI hardware.
> Calibrating delay loop.. ok - 232.65 BogoMIPS
> Memory: 127944k/131072k available (652k kernel code, 384k reserved,
>2092k data)
> Swansea University Computer Society NET3.035 for Linux 2.0
> NET3: Unix domain sockets 0.13 for Linux NET3.035.
> Swansea University Computer Society TCP/IP for NET3.034
> IP Protocols: IGMP, ICMP, UDP, TCP
> VFS: Diskquotas version dquot_5.6.0 initialized^M
> Checking 386/387 coupling... Ok, fpu using exception 16 error reporting.
> Checking 'hlt' instruction... Ok.
> Linux version 2.0.33 (root@zeus) (gcc version 2.7.2.1) #267 Sat Dec 13
>04:30:13 CET 1997
> Starting kswapd v 1.4.2.2
> Serial driver version 4.13 with no serial options enabled
> tty00 at 0x03f8 (irq = 4) is a 16550A
> tty01 at 0x02f8 (irq = 3) is a 16550A
> Software Watchdog Timer: 0.04, timer margin: 60 sec
> md driver 0.35 MAX_MD_DEV=4, MAX_REAL=8
> raid0 personality registered
> ncr53c8xx: at PCI bus 0, device 12, function 0
> ncr53c8xx: 53c875 detected with Symbios NVRAM

> ncr53c875-0: rev=0x03, base=0xe6800000, io_port=0xd800, irq=11
Please Note: ^^^^^^
.........

> ncr53c875-0: Symbios format NVRAM, ID 7, Fast-20, Parity Checking
> ncr53c875-0: initial SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 05/0e/a0/01/00/24
> ncr53c875-0: final SCNTL3/DMODE/DCNTL/CTEST3/4/5 = (hex) 05/8e/a0/01/08/24
> ncr53c875-0: on-board RAM at 0xe6000000
> ncr53c875-0: on-board ram mapped at virtual address 0x8807000

> ncr53c875-0: requesting shared irq 11 (dev_id=0x90080)
Please Note: ^^^^^^
.........

> ncr53c875-0: resetting, command processing suspended for 2 seconds
> ncr53c875-0: restart (scsi reset).
... snip ...
>
> $ cat /proc/pci
>
> PCI devices found:
> Bus 0, device 12, function 0:
> SCSI storage controller: NCR 53c875 (rev 3).

> Medium devsel. IRQ 9. Master Capable. Latency=144. Min
Please Note: ^^^^^^
......... ???????

>Gnt=17.Max Lat=64.
> I/O at 0xd800.
> Non-prefetchable 32 bit memory at 0xe6800000.
> Non-prefetchable 32 bit memory at 0xe6000000.
> Bus 0, device 11, function 0:
> Ethernet controller: DEC DC21041 (rev 17).
> Medium devsel. Fast back-to-back capable. IRQ 10. Master Capable. Latency=32.
> I/O at 0xe000.
> Non-prefetchable 32 bit memory at 0xe7000000.
> Bus 0, device 7, function 1:
> IDE interface: Intel 82371SB Natoma/Triton II PIIX3 (rev 0).
> Medium devsel. Fast back-to-back capable. Master Capable. Latency=32.
> I/O at 0xe800.
> Bus 0, device 7, function 0:
> ISA bridge: Intel 82371SB Natoma/Triton II PIIX3 (rev 1).
> Medium devsel. Fast back-to-back capable. Master Capable. No bursts.
> Bus 0, device 0, function 0:
> Host bridge: Intel 82439HX Triton II (rev 3).
> Medium devsel. Master Capable. Latency=32.
> --
> Sincerely, srb@cuci.nl
> Stephen R. van den Berg (AKA BuGless).
>
> "My name is Smith, the P is not pronounced."
>
Hth, JimL
+-----------------------------------------------------------------------+
| James W. Laferriere - Network Engineer - babydr@nwrain.net |
| System Techniques - 25416 - 22nd S. - Kent, WA 98032 |
| Give me VMS -or- Give me Linux -but- only on AXP |
+-----------------------------------------------------------------------+
|-> Linux-Vax Port, Now in Progress !YAY! there's Progress To Report <-|
|-> Please See http://ucnet.canberra.edu.au/~mikal/vaxlinux/home.html <-|
|-> Maintainer: Michael Still mikal@blitzen.canberra.edu.au <-|
+-----------------------------------------------------------------------+