OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
scsi errors during boot

From: Adam (suckmy-balls.com)
Date: Tue Oct 28 2003 - 15:51:32 CST


OpenBSD 3.4-current (GENERIC) #49: Tue Oct 21 19:43:54 MDT 2003

I'm setting up a machine to run amanda for backups. I started out with
just an old 4 gig scsi drive, and the dlt. Everything works fine that
way, but when I put in 3 more drives to spool the backups on before
going to tape, the machine spews some scsi errors(see below) and hangs.

If I comment them out of my fstab it boots fine, and I can disklabel,
newfs, fdisk, mount, fsck, and make files on the drives. But if I have
the drives in my fstab, then right when /etc/rc goes to fsck, it errors
and hangs. All I saw in google was other people with the same problem.
Fstab, then errors and dmesg together below.

Thanks
Adam

# cat /etc/fstab
/dev/sd0a / ffs rw 1 1
/dev/sd0d /tmp ffs rw,nodev,nosuid 1 2
/dev/sd0f /usr ffs rw,nodev 1 2
/dev/sd0e /var ffs rw,nodev,nosuid 1 2
/dev/sd1a /var/spool/amanda1 ffs rw,nodev,noexec 1 2
/dev/sd2a /var/spool/amanda2 ffs rw,nodev,noexec 1 2
/dev/sd3a /var/spool/amanda3 ffs rw,nodev,noexec 1 2

boot> boot
booting hd0a:/bsd: 4481364+838620 [58+204800+182170]=0x5716a4
entry point at 0x100120
                       
[ using 387444 bytes of bsd ELF symbol table ]
Copyright (c) 1982, 1986, 1989, 1991, 1993
        The Regents of the University of California. All rights
reserved.
Copyright (c) 1995-2003 OpenBSD. All rights reserved.
http://www.OpenBSD.org

OpenBSD 3.4-current (GENERIC) #49: Tue Oct 21 19:43:54 MDT 2003
    deraadti386.openbsd.org:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: Intel Pentium III (Coppermine) ("GenuineIntel" 686-class) 602 MHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SIMD
real mem = 133791744 (130656K)
avail mem = 118095872 (115328K)
using 1658 buffers containing 6791168 bytes (6632K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+(01) BIOS, date 06/12/00, BIOS32 rev. 0
0xf0690
apm0 at bios0: Power Management spec V1.2 (BIOS mgmt disabled)
apm0: AC on, battery charge unknown
pcibios0 at bios0: rev. 2.1 0xf0000/0xf02
pcibios0: PCI IRQ Routing Table rev. 1.0 0xf0e60/160 (8 entries)
pcibios0: PCI Interrupt Router at 000:04:0 ("VIA VT82C586 PCI-ISA" rev
0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0x8000 0xd0000/0x1800 0xd4000/0x5800
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT82C691 Host-PCI" rev 0xc4
ppb0 at pci0 dev 1 function 0 "VIA VT82C598 PCI-AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "ATI Rage Pro" rev 0x5c
wsdisplay0 at vga1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
pcib0 at pci0 dev 4 function 0 "VIA VT82C596A PCI-ISA" rev 0x23
pciide0 at pci0 dev 4 function 1 "VIA VT82C571 IDE" rev 0x10: ATA66,
channel 0 configured to compatibility, channel 1 configured to
compatibility
pciide0: channel 0 disabled (no drives)
pciide0: channel 1 disabled (no drives)
pchb1 at pci0 dev 4 function 3 "VIA VT82C596 Power Mgmt" rev 0x30
fxp0 at pci0 dev 9 function 0 "Intel 82557" rev 0x10: irq 10, address
00:07:e9:09:6a:06
inphy0 at fxp0 phy 1: i82555 10/100 media interface, rev. 4
ahc1 at pci0 dev 12 function 0 "Adaptec AHA-2940U2 U2" rev 0x00: irq 11
ahc1: aic7890/91: Ultra2 Wide Channel A, SCSI Id=7, 32/255 SCBs
scsibus0 at ahc1: 16 targets
ahc1: target 2 synchronous at 20.0MHz, offset = 0xf
ahc1: target 2 using tagged queuing
sd0 at scsibus0 targ 2 lun 0: <DEC, RZ1CB-BS (C) DEC, 0818> SCSI2
0/direct fixed
sd0: 4091MB, 3708 cyl, 20 head, 113 sec, 512 bytes/sec, 8380080 sec
total
ahc1: target 3 synchronous at 20.0MHz, offset = 0x1f
ahc1: target 3 using tagged queuing
sd1 at scsibus0 targ 3 lun 0: <WDIGTL, WDE18310 ULTRA3, 1.30> SCSI3
0/direct fixed
sd1: 17461MB, 13614 cyl, 8 head, 328 sec, 512 bytes/sec, 35761710 sec
total
ahc1: target 4 synchronous at 20.0MHz, offset = 0x1f
ahc1: target 4 using tagged queuing
sd2 at scsibus0 targ 4 lun 0: <WDIGTL, WDE18310 ULTRA2, 1.30> SCSI2
0/direct fixed
sd2: 17461MB, 13614 cyl, 8 head, 328 sec, 512 bytes/sec, 35761710 sec
total
ahc1: target 5 synchronous at 10.0MHz, offset = 0xf
st0 at scsibus0 targ 5 lun 0: <QUANTUM, DLT7000, 2561> SCSI2
1/sequential removable
st0: drive empty
ahc1: target 8 synchronous at 20.0MHz, offset = 0x1f
ahc1: target 8 using tagged queuing
sd3 at scsibus0 targ 8 lun 0: <WDIGTL, WDE18310 ULTRA3, 1.30> SCSI3
0/direct fixed
sd3: 17461MB, 13614 cyl, 8 head, 328 sec, 512 bytes/sec, 35761710 sec
total
isa0 at pcib0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
sysbeep0 at pcppi0
npx0 at isa0 port 0xf0/16: using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom0: console
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
biomask 840 netmask c40 ttymask c42
pctr: 686-class user-level performance counters enabled
mtrr: Pentium Pro MTRR support
dkcsum: sd0 matched BIOS disk 80
dkcsum: sd1 matched BIOS disk 81
dkcsum: sd2 matched BIOS disk 82
dkcsum: sd3 matched BIOS disk 83
root on sd0a
rootdev=0x400 rrootdev=0xd00 rawdev=0xd02
Automatic boot in progress: starting file system checks.
/dev/rsd0a: file system is cleana; not checking
hc1: PCI error Interrupt at seqaddr = 0xa
ahc1: Signal System Error Detected
ahc1: Received a Master Abort
ahc1: Received a Target Abort
ahc1: Signaled a Target Abort
ahc1: Data Parity Error has been reported via PERR#
ahc1: PCI error Interrupt at seqaddr = 0xb
ahc1: Signal System Error Detected
ahc1: Received a Master Abort
ahc1: Received a Target Abort
ahc1: Signaled a Target Abort
ahc1: Data Parity Error has been reported via PERR#
ahc1: PCI error Interrupt at seqaddr = 0x1aa
ahc1: Signal System Error Detected
ahc1: Received a Master Abort
ahc1: Received a Target Abort
ahc1: Signaled a Target Abort
ahc1: Data Parity Error has been reported via PERR#
ahc1: PCI error Interrupt at seqaddr = 0x1b2
ahc1: Signal System Error Detected
ahc1: Received a Master Abort
ahc1: Received a Target Abort
ahc1: Signaled a Target Abort
ahc1: Data Parity Error has been reported via PERR#