Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 03 Aug 1995 22:56:19 GMT
From:      iain@nwpeople.demon.co.uk (Iain Baird)
To:        bugs@freebsd.org
Subject:   950726-SNAP SCSI/2940 lockup
Message-ID:  <1403@nwpeople.demon.co.uk>

next in thread | raw e-mail | index | archive | help
I've just installed 2.1.0-950726-SNAP, and I'm still having major grief
with the AHA-2940.  Basically the system locks up with the SCSI drive
light on; Alt-Fn does nothing.  There are no panic messages.

The system:

	Gateway 2000 4DX2-66P
	PhoenixBIOS v4.03 GPCI 4.03.09
	Motherboard: Anigma (?), Saturn Rev 3 chipset I believe
	Adaptec AHA-2940
	Seagate Barracuda ST31250
	Diamond Stealth 64 VRAM PCI
	DTC PCI IDE Controller
	WD Caviare 540MB IDE
	IDE CDROM
	SMC Elite Ultra
	SoundBlaster 16

(dmesg output is appended below)

I install FreeBSD on the SCSI disk, which has no DOS partition.  None
of the IDE stuff is used, although the controller and disk are probed.

The problem first occurred during installation (via NFS) while bin was
being extracted.

I turned the external cache off, and was able to install successfully.
I built a custom kernel, booted it and tried to break it.  It wasn't
hard :-(   The following:

	cd /
	tar -cf - usr | (cd /usr/local; tar -xvf -)

caused a lock-up after about 5MB had been copied.  /usr and /usr/local
are both in their own partitions.

I reduced the SCSI transfer rate to 5MHz, still with cache disabled,
rebooted and tried again.  It got a bit further - about 8MB copied.  Again
the system locked up, but this time the BIOS was hosed - I got "CMOS
checksum bad" when I tried to reboot.  Joy!

I know that elsewhere the 2940 works well (ftp.cdrom.com).  Has anyone
any idea why it should bite me?  Motherboard?  If so, I'll change it.
Timing problem due to fast disk? (7200rpm, 8ms - but I can't be the only
person using one).  BIOS?

I'll be happy to try to obtain some diagnostics on this if someone can
tell me how to go about it.

iain


dmesg output:

FreeBSD 2.1.0-950726-SNAP #1: Thu Aug  3 21:29:26 BST 1995
    root@nomad.nwpeople.demon.co.uk:/usr/src/sys/compile/NOMAD
CPU: i486 DX2 (486-class CPU)
  Origin = "GenuineIntel"  Id = 0x435  Stepping=5
  Features=0x3<FPU,VME>
real memory  = 16384000 (4000 pages)
avail memory = 15069184 (3679 pages)
Probing for devices on the ISA bus:
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 at 0x280-0x29f irq 10 maddr 0xd8000 msize 8192 on isa
ed0: address 00:00:c0:8e:30:a1, type SMC8416C/SMC8416BT (16 bit) 
psm0 not found at 0x60
sio0 at 0x3f8-0x3ff irq 4 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 on isa
sio1: type 16550A
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: NEC 72065B
fd0: 1.44MB 3.5in
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <WDC AC2540H>
wd0: 515MB (1056384 sectors), 1048 cyls, 16 heads, 63 S/T, 512 B/S
bt0 not found at 0x330
npx0 on motherboard
npx0: INT 16 interface
Probing for devices on the pci0 bus:
	configuration mode 2 allows 16 devices.
chip0 <Intel 82424ZX cache DRAM controller> rev 4 on pci0:0
chip1 <Intel 82378ZB PCI-ISA bridge> rev 3 on pci0:2
ahc0 <Adaptec 2940 SCSI host adapter> rev 0 int a irq 9 on pci0:3
ahc0: reading board settings
ahc0: Reading SEEPROM...done.
ahc0: 2940 Single Channel, SCSI Id=7, aic7870, 16 SCBs
ahc0: Downloading Sequencer Program...Done
ahc0: Probing channel A
ahc0 waiting for scsi devices to settle
ahc0: target 0 synchronous at 5.0MB/s, offset = 0xf
(ahc0:0:0): "SEAGATE ST31250N 0006" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 973MB (1994037 512 byte sectors)
vga0 <Display device> rev 0 on pci0:4
pci0:5: vendor=0x1c1c, device=0x1, class=old [no driver assigned]
pci0: uses 8392704 bytes of memory from 40000000 upto fffdffff.
pci0: uses 256 bytes of I/O space from ff00 upto ffff.

-- 
Iain Baird                                     Network People International
                                               Tel: +44 (0)1732 743591



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