Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jul 2002 15:58:28 +0200
From:      Alexander Haderer <alexander.haderer@charite.de>
To:        freebsd-scsi@FreeBSD.ORG
Subject:   What does these scsi kernel messages mean?
Message-ID:  <5.1.0.14.1.20020729142658.029cec88@postamt1.charite.de>

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

Hello,

We have a very strange SCSI problem running a Tekram dc3902ub
(see http://www.tekram.com/hot_products.asp?Product=DC-390U2_Series )
with a Soyo P4Y Fire Dragon Mainboard
(see http://www.soyousa.com/products/proddesc.php?id=3 ).

The board is used for a file server: 8 large IDE disks connected to the 
onboard IDE channels realize the storage, the OS (FreeBSD 4.6 Release) is 
booted from SCSI Disk via PCI card Tekram (Symbios 895) controller. The 
SCSI disk is the only device on the SCSI bus. As soon as we access the SCSI 
disk we get SCSI errors we don't understand. What these messages make so 
strange:

1.
If you move the Tekram, SCSI cable, SCSI disk, terminator "en bloc" to a 
different board (Asus P3B for example), the SCSI system works without problem.

2.
We have exchanged really any component at the Soyo System (cable, power, 
cpu, board, RAM, ...) without any effect.

3.
If we exchange the SCSI system at the Soyo system an put in a LSI logic 
Symbios 875 card with a Quantum 1GB Fireball insead we also get messages 
like shown below.

4.
If we install a Generic Kernel with option
options        SYM_SETUP_PCI_PARITY=0
we still get error messages when accessing the SCSI disk

5.
We have one system up and running with Soyo Fire Dragon and Tekram DC390u2b 
which works 24x7 for weeks without any problem with the SCSI components.

6.
We are also unable to install other OS to SCSI disk. All installers (Win2K, 
Suse Linux 8.0, FreeBSD 4.5R, FreeBSD 4.6R) sooner or later fail with 
strange errors. FreeBSD gives the most detailed error messages of all of them.

7.
Both BIOS's are up to date: Soyo: 2aa2, Symbios: 3.23

We are in contact with Soyo support team and want to give them a hint about 
what we think is going wrong. For us it looks like a problem between Soyo 
P4i Fire Dragon and Symbios based SCSI controllers. The SCSI error messages 
we get are not very "self explanatory" so I ask this list in the hope of an 
answer. If someone can help, please see my question in this context: What 
does the messages below mean for the motherboard, if I know _this_ Tekram 
controller, _this_ SCSI cable, _this_ terminator, and _this_ harddisk work 
in other mainboards without problems. What can I tell the Soyo support team?


Syslog messages:

Note: These messages are from a 4.5R network boot via xl0. This was done to 
fetch the messages elecronically and not manually (We are unable to boot 
from SCSI disk!). The DISKLESS_45 is a generic 4.5R kernel with additions 
for network boot.
The scsi errors at the end are very similar for a 4.6R floppy/CDROM boot.

---------------------------- snip ---------------------------
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 4.5-RELEASE #0: Thu Mar 21 16:30:26 CET 2002
root@marvin08.str.charite.de:/usr/src/sys/compile/DISKLESS_45
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium 4 (1793.36-MHz 686-class CPU)
Origin = "GenuineIntel"  Id = 0xf24  Stepping = 4
Features=0x3febfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,<b28>,ACC>
real memory  = 268369920 (262080K bytes)
avail memory = 256446464 (250436K bytes)
Preloaded elf kernel "kernel" at 0xc0498000.
md0: Malloc disk
Using $PIR table, 13 entries at 0xc00fde90
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI to PCI bridge (vendor=8086 device=1a31)> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia Riva Ultra Vanta TNT2 graphics accelerator> at 0.0 irq 12
pcib2: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0
pci2: <PCI bus> on pcib2
sym0: <895> port 0xa000-0xa0ff mem 
0xe9008000-0xe9008fff,0xe9004000-0xe90040ff irq 15 at device 2.0 on pci2
sym0: Tekram NVRAM, ID 7, Fast-40, LVD, parity checking
xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0xa400-0xa47f mem 
0xe9005000-0xe900507f irq 10 at device 3.0 on pci2
xl0: Ethernet address: 00:04:76:f1:d3:05
miibus0: <MII bus> on xl0
xlphy0: <3c905C 10/100 internal PHY> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: <Intel Pro/100 Ethernet> port 0xc000-0xc03f mem 0xe9006000-0xe9006fff 
irq 11 at device 8.0 on pci2
fxp0: Ethernet address 00:50:2c:03:03:3a
inphy0: <i82562ET 10/100 media interface> on miibus1
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isab0: <Intel 82801BA/BAM (ICH2) PCI to LPC bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
pci0: <unknown card> (vendor=0x8086, dev=0x2443) at 31.3 irq 14
orm0: <Option ROM> at iomem 0xcd000-0xcd7ff on isa0
fdc0: direction bit not set
fdc0: cmd 3 failed at out byte 1 of 3
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (NIBBLE-only) in COMPATIBLE mode
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
Waiting 15 seconds for SCSI devices to settle

Note:
The kernel initiates a start unit, so the disk comes up later. Starting the
disk via SCSI BIOS makes no change to the errors but disables the network
boot feature because the disk contains a bootable FreeBSD 4.6R.
We boot via xl0, not fxp0. The errors come up before the disk is "alive".

sym0:0: ERROR (a0:0) (8-0-0) (1f/9f) @ (scripta 50:f31c0000).
sym0: script cmd = 90080000
sym0: regdump: da 00 00 9f 47 1f 00 02 00 08 00 00 80 00 0f 02 00 a2 86 0f 
02 ff ff ff.
sym0: PCI STATUS = 0x2000
(noperiph:sym0:0:-1:-1): SCSI BUS reset detected.
Sending DHCP Discover packet from interface xl0 (00:04:76:f1:d3:05)
Sending DHCP Discover packet from interface fxp0 (00:50:2c:03:03:3a)
Sending DHCP Discover packet from interface faith0 
(00:00:00:00:00:00:00:00:00:00:00:00:00:00:00:00)
Received DHCP Offer packet on xl0 from 192.168.202.104 (accepted) (no root 
path)
Sending DHCP Request packet from interface xl0 (00:04:76:f1:d3:05)
Received DHCP Ack packet on xl0 from 192.168.202.104 (accepted) (got root path)
DHCP timeout for interface fxp0
DHCP timeout for interface faith0
xl0 at 192.168.202.98 server 192.168.202.104 boot file pxeboot
subnet mask 255.255.255.0 router 192.168.202.1 rootfs 
192.168.202.104:/diskless swapfs 192.168.202.104:/diskless/swap swapsize 
128000 KB hostname greenaway
Adjusted interface xl0
Shutdown interface fxp0
Shutdown interface faith0
Mounting root from nfs:
NFS ROOT: 192.168.202.104:/diskless
NFS SWAP: 192.168.202.104:/diskless/swap
da0 at sym0 bus 0 target 0 lun 0
da0: <IBM DMVS 02B0> Fixed Direct Access SCSI-3 device
da0: 80.000MB/s transfers (40.000MHz, offset 31, 16bit), Tagged Queueing 
Enabled
da0: 8748MB (17916240 512 byte sectors: 255H 63S/T 1115C)

Note: here: login as root, dd if=/dev/rda0 of=/tmp/xxx bs=1k count=1000

sym0:0: ERROR (40:c0) (e-af-7) (1f/9f) @ (scripta 90:1e272613).
sym0: script cmd = 82030000
sym0: regdump: da 10 80 9f 47 1f 00 02 00 0e 80 af 80 00 0f 00 00 a2 86 0f 
08 ff ff ff.
sym0: PCI STATUS = 0x8100
(noperiph:sym0:0:-1:-1): SCSI BUS reset detected.
xl0: watchdog timeout
(da0:sym0:0:0:0): phase change 6-7 3@0f86a38c resid=1968776.
(da0:sym0:0:0:0): M_REJECT received (1:8).
sym0:0: ERROR (a0:0) (4f-6f-0) (1f/9f) @ (scripta 478:f31c0000).
sym0: script cmd = 90080000
sym0: regdump: da 10 80 9f 47 1f 00 02 80 4f 80 6f 80 00 07 00 e0 a5 86 0f 
0a ff ff ff.
sym0: PCI STATUS = 0xa000
(noperiph:sym0:0:-1:-1): SCSI BUS reset detected.
xl0: watchdog timeout
sym0: unexpected disconnect
xl0: watchdog timeout
sym0: unexpected disconnect
sym0: unexpected disconnect
xl0: watchdog timeout
xl0: watchdog timeout
sym0:0: ERROR (a0:0) (8-0-0) (1f/9f) @ (scripta 48:f3100000).
sym0: script cmd = f31c0004
sym0: regdump: da 00 00 9f 47 1f 00 02 00 08 80 00 80 00 0f 02 68 86 86 0f 
02 ff ff ff.
sym0: PCI STATUS = 0xa000
(noperiph:sym0:0:-1:-1): SCSI BUS reset detected.
sym0:0: ERROR (81:0) (8-0-0) (1f/9f) @ (scripta 50:f31c0004).
sym0: script cmd = 90080000
sym0: regdump: da 00 00 9f 47 1f 00 02 00 08 80 00 80 00 0f 02 27 27 27 27 
02 ff ff ff.
(noperiph:sym0:0:-1:-1): SCSI BUS reset detected.
(da0:sym0:0:0:0): phase change 6-7 7@0f86a38c resid=2.
(da0:sym0:0:0:0): M_REJECT received (1:8).
xl0: watchdog timeout
sym0:0: ERROR (a0:0) (8-0-0) (1f/9f) @ (scripta 48:f3100000).
sym0: script cmd = f31c0004
sym0: regdump: da 00 00 9f 47 1f 00 02 00 08 80 00 80 00 0f 02 a8 80 86 0f 
02 ff ff ff.
sym0: PCI STATUS = 0xa000
(noperiph:sym0:0:-1:-1): SCSI BUS reset detected.
xl0: watchdog timeout
xl0: watchdog timeout
xl0: watchdog timeout
xl0: watchdog timeout
xl0: watchdog timeout
xl0: watchdog timeout
xl0: watchdog timeout
(noperiph:sym0:0:-1:-1): SCSI BUS reset detected.
sym0:0: ERROR (81:0) (8-0-0) (0/7) @ (mem f86a208:e9008058).
sym0: regdump: ca 00 00 07 47 00 00 02 00 08 00 00 80 00 08 02 00 80 86 0f 
00 ff ff ff.
(noperiph:sym0:0:-1:-1): SCSI BUS reset detected.
sym0:0: ERROR (a0:0) (8-0-0) (0/7) @ (scripta 48:f3100000).
sym0: script cmd = f31c0004
sym0: regdump: ca 00 00 07 47 00 00 02 00 08 00 00 80 00 08 02 00 80 86 0f 
00 ff ff ff.
sym0: PCI STATUS = 0x2000
(noperiph:sym0:0:-1:-1): SCSI BUS reset detected.
sym0:0: ERROR (a0:0) (8-0-0) (0/7) @ (scripta 48:f3100000).
sym0: script cmd = f31c0004
sym0: regdump: ca 00 00 07 47 00 00 02 00 08 00 00 80 00 08 02 00 80 86 0f 
00 ff ff ff.
sym0: PCI STATUS = 0x2000
(noperiph:sym0:0:-1:-1): SCSI BUS reset detected.
sym0:0: ERROR (a0:0) (8-0-0) (0/7) @ (scripta 38:f31c0000).
sym0: script cmd = e21c0004
sym0: regdump: ca 00 00 07 47 00 00 02 00 08 00 00 80 00 08 02 00 80 86 0f 
00 ff ff ff.
sym0: PCI STATUS = 0x2000
(noperiph:sym0:0:-1:-1): SCSI BUS reset detected.
sym0:0: ERROR (a0:0) (8-0-0) (0/7) @ (scripta 30:e3100000).
sym0: script cmd = f31c0004
sym0: regdump: ca 00 00 07 47 00 00 02 00 08 00 00 80 00 08 02 00 70 88 0f 
00 ff ff ff.
sym0: PCI STATUS = 0x2000
(noperiph:sym0:0:-1:-1): SCSI BUS reset detected.
sym0:0: ERROR (a0:0) (8-0-0) (0/7) @ (scripta 48:f3100000).
sym0: script cmd = f31c0004
sym0: regdump: ca 00 00 07 47 00 00 02 00 08 00 00 80 00 08 02 00 80 86 0f 
00 ff ff ff.
sym0: PCI STATUS = 0x2000
(noperiph:sym0:0:-1:-1): SCSI BUS reset detected.
xl0: watchdog timeout
xl0: watchdog timeout

Note: Here the ^C for dd finally reached its destination.
---------------------------- snap ---------------------------


With best regards,

	Alexander Haderer

Alexander Haderer             Charite Berlin - Germany



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-scsi" in the body of the message




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