Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 1996 10:12:38 -0700
From:      Faried Nawaz <fn@pain.csrv.uidaho.edu>
To:        current@freebsd.org
Cc:        gibbs@freebsd.org
Subject:   aha2940w, -current.
Message-ID:  <3288.832439558@pain.csrv.uidaho.edu>

next in thread | raw e-mail | index | archive | help

Hi,

I just upgraded a machine from 2.1.0 to -current.  It had been spontaneously
rebooting every so often, and I wanted to rule out a software problem.  I
did the sup & upgrade after the vm fixes last night.

The machine has a Pentium-90 processor, 32mb ram, two scsi drives (one
Conner 528MB for /, one Quantum Grand Prix 4GB for data), a 2940W controller,
and an SMC 100mbit ethernet card.  The Conner drive's been in there since
January 1995, and the GP since late last year/early this year.  The Conner
is hooked up to the scsi-2 port, and the GP to the fw-scsi-2 port.

The problem I see now is that soon after bootup, it says

sd0(ahc0:0:0): timed out in dataout phase, SCSISIGI == 0x48
BUS DEVICE RESET message queued.
Bus Device Reset Message Sent
sd0(ahc0:0:0): Bus Device Reset delivered. 2 SCBs aborted
sd0(ahc0:0:0): UNIT ATTENTION asc:29,0
sd0(ahc0:0:0):  Power on, reset, or bus device reset occurred field replaceable unit: 14
, retries:4

over and over again.  I've even tried setting the xfer speed for that drive
to 5mb/sec in the adaptec bios -- no change.  Eventually, the machine panics
with something like

mode = 027750, inum = 12480, fs = /usr
panic: ffs_valloc: dup alloc
Debugger("panic")
Stopped at _Debugger+0x2b: movb $0,_in_Debugger.114

trace says

_ffs_valloc(efbffdd4,0,efbffe40,efbfff1c,f0179e9f) at _ffs_valloc+0x133
_ufs_makeinode(81b4,f115b200,efbfff08,efbfff1c,efbffea0) at _ufs_makeinode+0x5e
_ufs_create(efbffe2c,0,efbfff94,f119ae00,efbffe40) at _ufs_create+0x25
_vn_open(efbffef8,602,1b4,f0198e28,f119ae00) at _vn_open+0xf7
_open...
_syscall...

etc.


The dmesg output is

FreeBSD 2.2-CURRENT #0: Sat May 18 08:36:44 PDT 1996
    fn@newshound.csrv.uidaho.edu:/disk1/src/sys/compile/news
Calibrating clock(s) relative to mc146818A clock ... i586 clock: 90193076 Hz, i8254 clock: 1193033 Hz
CLK_USE_I8254_CALIBRATION not specified - using default frequency
CLK_USE_I586_CALIBRATION not specified - using old calibration method
i586 clock: 0 Hz
CPU: Pentium (90.19-MHz 586-class CPU) 
  Origin = "GenuineIntel"  Id = 0x522  Stepping=2
  Features=0x1bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8>
real memory  = 33554432 (32768K bytes)
avail memory = 31465472 (30728K bytes) 
Probing for devices on PCI bus 0:
chip0 <Intel 82434NX (Neptune) PCI cache memory controller> rev 17 on pci0:0
chip1 <Intel 82378ZB PCI-ISA bridge> rev 3 onpci0:2
pci0:3:    CMD, device=0x0640, class=storage (ide) int a irq 14 [no driver assigned]
ahc0 <Adaptec 2940 SCSI host adapter> rev 0 int a irq 15 on pci0:13
ahc0: aic7870 Wide Channel, SCSI Id=7, 16 SCBs
ahc0 waiting for scsi devices to settle
(ahc0:0:0): "CONNER CFA540S 0FAE" type 0 fixed SCSI 2
sd0(ahc0:0:0): Direct-Access 510MB (1045242 512 byte sectors)
sd0(ahc0:0:0): with 2800 cyls, 4 heads, and an average 93 sectors/track
(ahc0:4:0): "QUANTUM XP34301 1051" type 0 fixed SCSI 2
sd1(ahc0:4:0): Direct-Access 4106MB (8410200 512 byte sectors)
sd1(ahc0:4:0): with 4076 cyls, 20 heads, and an average 103 sectors/track
de0 <Digital DC21140 Fast Ethernet> rev 18 int a irq 9 on pci0:15
de0: DC21140 [10-100Mb/s] pass 1.2 Ethernet address 00:00:c0:2d:04:d5
de0: enabling 100baseTX UTP port
Probing for devices on the ISA bus:
scprobe: keyboard RESET failed (result = 0xfa)
sc0 at 0x60-0x6f irq 1 on motherboard  
sc0: VGA color <16 virtual consoles, flags=0x0>
ed0 not found at 0x280
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
npx0 on motherboard
npx0: INT 16 interface

The kernel config is

#
#       $Id: news,v 1.1 1995/12/24 03:52:00 fn Exp fn $
#

machine         "i386"
cpu             "I586_CPU"
ident           newshound
maxusers        64

options         INET                    #InterNETworking
options         FFS                     #Berkeley Fast Filesystem
options         PROCFS                  #Process filesystem
options         "COMPAT_43"             #Compatible with BSD 4.3
options         "SCSI_DELAY=15"         #Be pessimistic about Joe SCSI device
options         SYSVSHM
options         SYSVSEM
options         SYSVMSG
options         SCSI_REPORT_GEOMETRY
options         PROBE_VERBOSE
options         "CHILD_MAX=128"
options         "OPEN_MAX=128"
options         DDB

config          kernel  root on sd0 

controller      isa0
controller      pci0
controller      scbus0
controller      ahc0
controller      fdc0    at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr

disk            fd0     at fdc0 drive 0
device          sd0

# syscons is the default console driver, resembling an SCO console
device          sc0     at isa? port "IO_KBD" tty irq 1 vector scintr
device          npx0    at isa? port "IO_NPX" irq 13 vector npxintr
device          lpt0    at isa? port? tty irq 7 vector lptintr
device          de0
device          ed0 at isa? port 0x280 net irq  3 iomem 0xd0000 vector edintr

pseudo-device   loop
pseudo-device   ether
pseudo-device	log
pseudo-device   pty     8
pseudo-device	gzip


Can anyone help me pinpoint the problem and/or find a solution?



thanks,


faried.
--
faried nawaz               WAR IS PEACE FREEDOM IS SLAVERY BACKSPACE IS DELETE
box 3582, moscow, id 83843-1914, usa         linux, the ms-dos of the nineties
PIGLET loves you       if at first you don't succeed, skydiving is not for you
just a system janitor.                              People's Front Against WWW



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