Date: Thu, 07 May 1998 20:47:55 -0400 From: "Adam W. Hawks" <root@hawks.caro.net> To: freebsd-current@FreeBSD.ORG Subject: SCSI problems Message-ID: <199805080047.UAA00315@hawks.caro.net>
next in thread | raw e-mail | index | archive | help
I'm having trouble with current and my scsi drives. I keep getting timouts
from either the drives or the SCSI card I don't know which.
When I was at 2.2.2 I didn't have this problem.
I upgraded to 2.2.5 and didn't recall it doing it at that release.
I then upgraded to current it happens when under a heavy disk usage
and at other times which seem to be random.
Any Help would realy be appreciated.
--------------------Below is my dmesg output
<Intel 82439> rev 0x01 on pci0.0.0
found-> vendor=0x8086, dev=0x7000, revid=0x00
class=06-01-00, hdrtype=0x00, mfdev=1
chip1: <Intel 82371SB PCI to ISA bridge> rev 0x00 on pci0.7.0
I/O Recovery Timing: 8-bit 3.5 clocks, 16-bit 3.5 clocks
Extended BIOS: disabled
Lower BIOS: disabled
Coprocessor IRQ13: enabled
Mouse IRQ12: disabled
Interrupt Routing: A: IRQ11, B: IRQ10, C: IRQ9, D: IRQ9
MB0: IRQ15, MB1:
found-> vendor=0x8086, dev=0x7010, revid=0x00
class=01-01-80, hdrtype=0x00, mfdev=0
ide_pci0: <Intel PIIX3 Bus-master IDE controller> rev 0x00 on pci0.7.1
intel_piix_status: primary master/slave sample = 3, master/slave recovery = 1
intel_piix_status: primary master fastDMAonly disabled, pre/post enabled,
intel_piix_status: IORDY sampling enabled,
intel_piix_status: fast PIO enabled
intel_piix_status: primary master/slave sample = 3, master/slave recovery = 1
intel_piix_status: primary slave fastDMAonly disabled, pre/post disabled,
intel_piix_status: IORDY sampling disabled,
intel_piix_status: fast PIO disabled
ide_pci: busmaster 0 status: 04 from port: 0000e802
intel_piix_status: secondary master/slave sample = 5, master/slave recovery = 4
intel_piix_status: secondary master fastDMAonly disabled, pre/post disabled,
intel_piix_status: IORDY sampling disabled,
intel_piix_status: fast PIO disabled
intel_piix_status: secondary master/slave sample = 5, master/slave recovery = 4
intel_piix_status: secondary slave fastDMAonly disabled, pre/post disabled,
intel_piix_status: IORDY sampling disabled,
intel_piix_status: fast PIO disabled
ide_pci: busmaster 1 status: 04 from port: 0000e80a
found-> vendor=0x8086, dev=0x1229, revid=0x01
class=02-00-00, hdrtype=0x00, mfdev=0
intpin=a, irq=9
map[0]: type 3, range 32, base e7800000, size 12
map[1]: type 4, range 32, base 0000e000, size 5
map[2]: type 1, range 32, base e6800000, size 20
fxp0: <Intel EtherExpress Pro 10/100B Ethernet> rev 0x01 int a irq 9 on pci0.9.0
fxp0: Ethernet address 00:a0:c9:04:e8:35
bpf: fxp0 attached
found-> vendor=0x9004, dev=0x5078, revid=0x01
class=01-00-00, hdrtype=0x00, mfdev=0
intpin=a, irq=9
map[0]: type 4, range 32, base 0000d800, size 8
map[1]: type 1, range 32, base e6000000, size 12
ahc0: <Adaptec aic7850 SCSI host adapter> rev 0x01 int a irq 9 on pci0.10.0
using shared irq9.
ahc0: aic7850 Single Channel, SCSI Id=7, 3 SCBs
ahc0: Resetting Channel A
ahc0: Host Adapter Bios disabled. Using default SCSI device parameters
ahc0: Downloading Sequencer Program...ahc0: 366 instructions downloaded
Done
ahc0: Probing channel A
ahc0: waiting for scsi devices to settle
scbus0 at ahc0 bus 0
ahc0:A:2: refuses synchronous negotiation. Using asynchronous transfers
scbus0 target 2 lun 0: <PHILIPS CDD2600 1.07> type 5 removable SCSI 2
worm0 at scbus0 target 2 lun 0
worm0: Write-Once
found-> vendor=0x9004, dev=0x7178, revid=0x00
class=01-00-00, hdrtype=0x00, mfdev=0
intpin=a, irq=10
map[0]: type 4, range 32, base 0000d400, size 8
map[1]: type 1, range 32, base e5800000, size 12
ahc1: <Adaptec 2940 SCSI host adapter> rev 0x00 int a irq 10 on pci0.11.0
ahc1: Reading SEEPROM...done.
low byte termination enabled, high byte termination enabled
ahc1: aic7870 Single Channel, SCSI Id=7, 16 SCBs
ahc1: Resetting Channel A
ahc1: Downloading Sequencer Program...ahc1: 366 instructions downloaded
Done
ahc1: Probing channel A
ahc1: waiting for scsi devices to settle
scbus1 at ahc1 bus 0
ahc1: target 0 synchronous at 10.0MHz, offset = 0xf
scbus1 target 0 lun 0: <FUJITSU M2694ES-512 8134> type 0 fixed SCSI 2
sd0 at scbus1 target 0 lun 0
sd0: Direct-Access 1033MB (2117025 512 byte sectors)
sd0: with 1819 cyls, 15 heads, and an average 77 sectors/track
ahc1: target 1 synchronous at 10.0MHz, offset = 0xf
scbus1 target 1 lun 0: <FUJITSU M2909S-512 0134> type 0 fixed SCSI 2
sd1 at scbus1 target 1 lun 0
sd1: Direct-Access 2956MB (6054834 512 byte sectors)
sd1: with 3138 cyls, 19 heads, and an average 101 sectors/track
ahc1: target 5 synchronous at 8.0MHz, offset = 0xf
scbus1 target 5 lun 0: <NEC CD-ROM DRIVE:502 2.3> type 5 removable SCSI 2
cd0 at scbus1 target 5 lun 0
cd0: CD-ROM can't get the size
found-> vendor=0x5333, dev=0x88f0, revid=0x00
class=03-00-00, hdrtype=0x00, mfdev=0
intpin=a, irq=11
map[0]: type 1, range 32, base e2000000, size 25
vga0: <S3 968 graphics accelerator> rev 0x00 int a irq 11 on pci0.12.0
Probing for PnP devices:
Trying Read_Port at 203
Trying Read_Port at 243
Trying Read_Port at 283
Trying Read_Port at 2c3
Trying Read_Port at 303
Trying Read_Port at 343
Trying Read_Port at 383
Trying Read_Port at 3c3
No Plug-n-Play devices were found
Probing for devices on the ISA bus:
sc0: the current keyboard controller command byte 0067
kbdio: DIAGNOSE status:0055
kbdio: TEST_KBD_PORT status:0000
kbdio: RESET_KBD return code:00fa
kbdio: RESET_KBD status:00aa
sc0 at 0x60-0x6f irq 1 on motherboard
sc0: BIOS video mode:3
sc0: VGA registers upon power-up
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0e 0f 00 00 07 80 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
sc0: video mode:24
sc0: VGA registers in BIOS for mode:24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
sc0: VGA registers to be used for mode:24
50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81
bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96
b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c
3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff
sc0: rows_offset:1
sc0: VGA color <16 virtual consoles, flags=0x0>
lpt0 at 0x378-0x37f irq 7 on isa
lpt0: Interrupt-driven port
lp0: TCP/IP capable interface
bpf: lp0 attached
sio0 at 0x3f8-0x3ff irq 4 flags 0x10 on isa
sio0: type 16550A
sio1 at 0x2f8-0x2ff irq 3 flags 0x10 on isa
sio1: type 16550A
sio2 at 0x3e8-0x3ef irq 5 flags 0x10 on isa
sio2: type 16550A
pca0 on motherboard
pca0: PC speaker audio driver
wdc0 at 0x1f0-0x1f7 irq 14 on isa
wdc0: unit 0 (wd0): <Maxtor 88400D8>
wd0: 8011MB (16408224 sectors), 16278 cyls, 16 heads, 63 S/T, 512 B/S
wd0: ATA INQUIRE valid = 0007, dmamword = 0407, apio = 0003, udma = 0007
fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa
fdc0: FIFO enabled, 8 bytes threshold
fd0: 1.44MB 3.5in
npx0 on motherboard
npx0: INT 16 interface
i586_bzero() bandwidth = 174459176 bytes/sec
bzero() bandwidth = 88051422 bytes/sec
Checking for GUS Plug-n-Play ...
No Plug-n-Play devices were found
gus0 at 0x220 irq 12 drq 1 flags 0x103 on isa
snd0: <GUS PNP (CS4231)> snd0: <Gravis PNP (512k)>
joy0 at 0x201 on isa
joy0: joystick
imasks: bio c0084640, tty c00702ba, net c00702ba
BIOS Geometries:
0:03fe0f3f 0..1022=1023 cylinders, 0..15=16 heads, 1..63=63 sectors
1:0082fe3f 0..130=131 cylinders, 0..254=255 heads, 1..63=63 sectors
2:0177fe3f 0..375=376 cylinders, 0..254=255 heads, 1..63=63 sectors
0 accounted for
Device configuration finished.
Intel Pentium F00F detected, installing workaround
DEVFS: ready to run
bpf: tun0 attached
bpf: tun1 attached
bpf: sl0 attached
bpf: sl1 attached
bpf: ppp0 attached
bpf: ppp1 attached
new masks: bio c0084640, tty c00702ba, net c00702ba
bpf: lo0 attached
bpf: ds0 attached
IP packet filtering initialized, divert enabled, default to accept, logging limited to 100 packets/entry
IP Filter: initialized. Default = pass all, Logging = enabled
Considering FFS root f/s.
wd0s1: type 0x6, start 63, end = 385559, size 385497 : OK
wd0s2: type 0xa5, start 385560, end = 999935, size 614376 : OK
wd0s3: type 0xa5, start 999936, end = 16408223, size 15408288 : OK
Start pid=2 <pagedaemon>
Start pid=3 <vmdaemon>
Start pid=4 <syncer>
sd1s1: type 0xa5, start 0, end = 6054833, size 6054834
sd1s1: C/H/S end 376/228/30 (2589989) != end 6054833: invalid
sd0s1: type 0xa5, start 0, end = 2117024, size 2117025
sd0s1: C/H/S end 131/198/36 (945647) != end 2117024: invalid
sd1s1: type 0xa5, start 0, end = 6054833, size 6054834
sd1s1: C/H/S end 376/228/30 (2589989) != end 6054833: invalid
sd0s1: type 0xa5, start 0, end = 2117024, size 2117025
sd0s1: C/H/S end 131/198/36 (945647) != end 2117024: invalid
^^^^^^^
This I don't understand
since they pass fsck OK.
--------------------Below is what the error from /var/log/messages looks like:
May 7 11:20:47 hawks /kernel: sd0: SCB 0x2 - timed out in message in phase, SCSISIGI == 0xe4
May 7 11:20:48 hawks /kernel: SEQADDR = 0x41 SCSISEQ = 0x12 SSTAT0 = 0x4 SSTAT1 = 0x2
May 7 11:20:48 hawks /kernel: sd0: abort message in message buffer
May 7 11:20:49 hawks /kernel: sd0: SCB 0x2 - timed out in message in phase, SCSISIGI == 0xf4
May 7 11:20:49 hawks /kernel: SEQADDR = 0x41 SCSISEQ = 0x12 SSTAT0 = 0x4 SSTAT1 = 0x2
May 7 11:20:50 hawks /kernel: sd0: no longer in timeout
May 7 11:20:50 hawks /kernel: ahc1: Issued Channel A Bus Reset. 1 SCBs aborted
May 7 11:20:50 hawks /kernel: sd0: UNIT ATTENTION asc:29,0
May 7 11:20:50 hawks /kernel: sd0: Power on, reset, or bus device reset occurred
May 7 11:20:50 hawks /kernel: , retries:3
-----------------------my config file looks like this:
machine "i386"
ident PENT
maxusers 10
options FAILSAFE
options INCLUDE_CONFIG_FILE # Include this file in kernel
config kernel root on wd0
cpu "I386_CPU"
cpu "I486_CPU"
cpu "I586_CPU" # aka Pentium(tm)
cpu "I686_CPU" # aka Pentium Pro(tm)
options GPL_MATH_EMULATE #Support for x87 emulation via
options "COMPAT_43"
options USER_LDT #allow user-level control of i386 ldt
options SYSVSHM
options SYSVSEM
options SYSVMSG
options "MD5"
options "VM86"
options DDB
options KTRACE #kernel tracing
options DIAGNOSTIC
options PERFMON
options UCONSOLE
options USERCONFIG #boot -c editor
options VISUAL_USERCONFIG #visual boot -c editor
options INET #Internet communications protocols
pseudo-device ether #Generic Ethernet
pseudo-device loop #Network loopback device
pseudo-device bpfilter 4 #Berkeley packet filter
pseudo-device disc #Discard device
pseudo-device tun 2 #Tunnel driver (user process ppp(8))
pseudo-device sl 2 #Serial Line IP
pseudo-device ppp 2 #Point-to-point protocol
options PPP_BSDCOMP #PPP BSD-compress support
options PPP_DEFLATE #PPP zlib/deflate/gzip support
options PPP_FILTER #enable bpf filtering (needs bpfilter)
options IPFIREWALL #firewall
options IPFIREWALL_VERBOSE #print information about
# dropped packets
options "IPFIREWALL_VERBOSE_LIMIT=100" #limit verbosity
options IPFIREWALL_DEFAULT_TO_ACCEPT #allow everything by default
options IPDIVERT #divert sockets
options IPFILTER #kernel ipfilter support
options IPFILTER_LOG #ipfilter logging
options TCPDEBUG
options FFS #Fast filesystem
options NFS #Network File System
options "CD9660" #ISO 9660 filesystem
options FDESC #File descriptor filesystem
options MSDOSFS #MS DOS File System
options PROCFS #Process filesystem
options UNION #Union filesystem
options "CD9660_ROOT" #CD-ROM usable as root device
options FFS_ROOT #FFS usable as root device
options NFS_ROOT #NFS usable as root device
options DEVFS #devices filesystem
options NSWAPDEV=20
options "CD9660_ROOTDELAY=20"
controller scbus0 #base SCSI code
device sd0 #SCSI disks
device st0 #SCSI tapes
device cd0 #SCSI CD-ROMs
device worm0 at scbus? # SCSI worm
options SCSIDEBUG
options SCSI_REPORT_GEOMETRY
pseudo-device pty 16 #Pseudo ttys - can go as high as 256
pseudo-device speaker #Play IBM BASIC-style noises out your speaker
pseudo-device gzip #Exec gzipped a.out's
pseudo-device vn #Vnode driver (turns a file into a device)
pseudo-device snp 3 #Snoop device - to look at pty/vty/etc..
pseudo-device su #scsi user
pseudo-device ssc #super scsi
controller isa0
options "AUTO_EOI_1"
options "AUTO_EOI_2"
options BOUNCE_BUFFERS
controller pnp0
device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr
options MAXCONS=16 # number of virtual consoles
options "STD8X16FONT" # Compile font in
makeoptions "STD8X16FONT"="cp850"
options SC_HISTORY_SIZE=200 # number of history buffer lines
device npx0 at isa? port "IO_NPX" iosiz 0x0 flags 0x0 irq 13 vector npxintr
controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr
disk wd0 at wdc0 drive 0
disk wd1 at wdc0 drive 1
options "CMD640" #Enable work around for CMD640 h/w bug
controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr
options FDC_DEBUG
disk fd0 at fdc0 drive 0
disk fd1 at fdc0 drive 1
tape ft0 at fdc0 drive 2
device lpt0 at isa? port? tty irq 7 vector lptintr
device sio0 at isa? port "IO_COM1" tty flags 0x10 irq 4 vector siointr
device sio1 at isa? port "IO_COM2" tty flags 0x10 irq 3 vector siointr
device sio2 at isa? port "IO_COM3" tty flags 0x10 irq 5 vector siointr
options CONSPEED=115200 #default speed for serial console (default 9600)
controller snd0
device gus0 at isa? port 0x220 irq 12 drq 1 flags 0x3 vector gusintr
device pca0 at isa? port IO_TIMER1 tty
device joy0 at isa? port "IO_GAME"
controller pci0
controller ahc1
device fxp0
options GATEWAY
options HW_WDOG
options SCSI_DELAY=8 # Be pessimistic about Joe SCSI device
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805080047.UAA00315>
