problem with SCSI

Oleg D. killa at ebash.it
Tue Jun 6 09:01:27 UTC 2006


Sorry for some offtopic.

Experiencing some troubles with SCSI disks on FBSD 4.8 and looking for 
advice/solution how to fix/diagnose-more...

What (maybe not) causes troubles:

okey# make clean
===>  Cleaning for m4-1.4_1
rm: /usr/ports/devel/m4/work: Directory not empty
*** Error code 1

Stop in /usr/ports/devel/m4.
*** Error code 1

Stop in /usr/ports/devel/m4.
okey#
Message from syslogd at okey at Tue Jun  6 10:50:12 2006 ...
okey /kernel: <<<<<<<<<<<<<<<< Dump Card State Ends >>>>>>>>>>>>>>>>>>
and machine went stuck...


That error report happenned twice after what machine was rebooted (just 
`reset`ing). After reboot with turning off power and so on:
`camcontrol' tells that all is OK, but I think it's not...
Was using `iostat' to have some additional traces, but it showed that's 
all ok even.

Also used `dd' to make some huge loads on disks, but it even told me 
nothing, except "OK".



System:
Copyright (c) 1992-2003 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.8-RELEASE-p22 #3: Thu May 27 16:53:05 MSD 2004
    root at okey.caravan.ru:/usr/obj/usr/src/sys/OKEY
Timecounter "i8254"  frequency 1193182 Hz
CPU: Intel(R) Xeon(TM) CPU 2.80GHz (2791.01-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  
Features=0xbfebfbff<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,HTT,TM,P
BE>
  Hyperthreading: 2 logical CPUs
real memory  = 2147418112 (2097088K bytes)
avail memory = 2087776256 (2038844K bytes)
Programming 24 pins in IOAPIC #0
IOAPIC #0 intpin 2 -> irq 0
Programming 24 pins in IOAPIC #1
Programming 24 pins in IOAPIC #2
FreeBSD/SMP: Multiprocessor motherboard
 cpu0 (BSP): apic id:  0, version: 0x00050014, at 0xfee00000
 cpu1 (AP):  apic id:  1, version: 0x00050014, at 0xfee00000
 cpu2 (AP):  apic id:  6, version: 0x00050014, at 0xfee00000
 cpu3 (AP):  apic id:  7, version: 0x00050014, at 0xfee00000
 io0 (APIC): apic id:  8, version: 0x00178020, at 0xfec00000
 io1 (APIC): apic id:  9, version: 0x00178020, at 0xfec81000
 io2 (APIC): apic id: 10, version: 0x00178020, at 0xfec81400
Preloaded elf kernel "kernel" at 0xc03ce000.
ccd0-1: Concatenated disk drivers
Pentium Pro MTRR support enabled
Using $PIR table, 19 entries at 0xc00f3630
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
IOAPIC #0 intpin 17 -> irq 2
pci0: <PCI bus> on pcib0
pci0: <unknown card> (vendor=0x8086, dev=0x2541) at 0.1
pcib1: <PCI to PCI bridge (vendor=8086 device=2545)> at device 3.0 on pci0
pci2: <PCI bus> on pcib1
pci2: <unknown card> (vendor=0x8086, dev=0x1461) at 28.0
pcib2: <PCI to PCI bridge (vendor=8086 device=1460)> at device 29.0 on pci2
IOAPIC #2 intpin 2 -> irq 16
IOAPIC #2 intpin 1 -> irq 17
pci4: <PCI bus> on pcib2
ahd0: <Adaptec AIC7902 Ultra320 SCSI adapter> port 
0x4000-0x40ff,0x3800-0x38ff mem 0xfe9e0000-0xfe9e1fff irq 16 at device 
7.0 on pci4
aic7902: Ultra320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
ahd1: <Adaptec AIC7902 Ultra320 SCSI adapter> port 
0x3400-0x34ff,0x3000-0x30ff mem 0xfe9f0000-0xfe9f1fff irq 17 at device 
7.1 on pci4
aic7902: Ultra320 Wide Channel B, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs
pci2: <unknown card> (vendor=0x8086, dev=0x1461) at 30.0
pcib3: <PCI to PCI bridge (vendor=8086 device=1460)> at device 31.0 on pci2
IOAPIC #1 intpin 6 -> irq 18
IOAPIC #1 intpin 7 -> irq 19
pci3: <PCI bus> on pcib3
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.4.10> port 
0x2040-0x207f mem 0xfe6c0000-0xfe6dffff irq 18 at device 7.0 on pci3
em0:  Speed:100 Mbps  Duplex:Half
em1: <Intel(R) PRO/1000 Network Connection, Version - 1.4.10> port 
0x2000-0x203f mem 0xfe6e0000-0xfe6fffff irq 19 at device 7.1 on pci3
em1:  Speed:N/A  Duplex:N/A
pci0: <unknown card> (vendor=0x8086, dev=0x2546) at 3.1
pcib4: <Intel 82801BA/BAM (ICH2) Hub to PCI bridge> at device 30.0 on pci0
pci1: <PCI bus> on pcib4
pci1: <ATI Mach64-GR graphics accelerator> at 12.0 irq 2
isab0: <PCI to ISA bridge (vendor=8086 device=2480)> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH3 ATA100 controller> port 
0x3a0-0x3af,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 31.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <unknown card> (vendor=0x8086, dev=0x2483) at 31.3 irq 2
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> 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
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #3 Launched!
acd0: MODE_SENSE_BIG command timeout - resetting
ata1: resetting devices .. done
acd0: CDROM <SAMSUNG CD-ROM SN-124> at ata1-master PIO4
Waiting 15 seconds for SCSI devices to settle
pass2 at ahd1 bus 0 target 6 lun 0
pass2: <ESG-SHV SCA HSBP M22 0.06> Fixed Processor SCSI-2 device
pass2: 3.300MB/s transfers
da0 at ahd1 bus 0 target 0 lun 0
da0: <SEAGATE ST373307LC 0007> Fixed Direct Access SCSI-3 device
da0: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged 
Queueing Enabled
da0: 70007MB (143374744 512 byte sectors: 255H 63S/T 8924C)
da1 at ahd1 bus 0 target 1 lun 0
da1: <SEAGATE ST373454LC 0003> Fixed Direct Access SCSI-3 device
da1: 320.000MB/s transfers (160.000MHz, offset 63, 16bit), Tagged 
Queueing Enabled
da1: 70007MB (143374744 512 byte sectors: 255H 63S/T 8924C)

Kernel:
machine         i386
cpu             I686_CPU
ident           OKEY
maxusers        0
options         INET
options         FFS
options         FFS_ROOT
options         SOFTUPDATES
options         UFS_DIRHASH
options         CD9660
options         CD9660_ROOT
options         PROCFS
options         COMPAT_43
options         SCSI_DELAY=15000
options         UCONSOLE
options         USERCONFIG
options         VISUAL_USERCONFIG
options         KTRACE
options         SYSVSHM
options         SYSVMSG
options         SYSVSEM
options         P1003_1B
options         _KPOSIX_PRIORITY_SCHEDULING
options         ICMP_BANDLIM
options         KBD_INSTALL_CDEV
options         AHC_REG_PRETTY_PRINT
options         AHD_REG_PRETTY_PRINT
options         SMP
options         APIC_IO
options         HTT

device          isa
device          eisa
device          pci
device          fdc0    at isa? port IO_FD1 irq 6 drq 2
device          fd0     at fdc0 drive 0
device          ata0    at isa? port IO_WD1 irq 14
device          ata1    at isa? port IO_WD2 irq 15
device          ata
device          atadisk
device          atapicd
device          atapifd
options         ATA_STATIC_ID

device          ahb
device          ahc
device          ahd
device          amd
device          isp
device          mpt
device          ncr
device          sym
options         SYM_SETUP_LP_PROBE_MAP=0x40

device          adv0    at isa?
device          adw
device          bt0     at isa?
device          aha0    at isa?
device          aic0    at isa?
device          ncv
device          nsp
device          stg
device          scbus
device          da
device          pass
device          asr
device          dpt
device          iir
device          mly
device          ciss
device          aac
device          ida
device          amr
device          mlx
device          twe
device          atkbdc0 at isa? port IO_KBD
device          atkbd0  at atkbdc? irq 1 flags 0x0
device          vga0    at isa?
pseudo-device   splash
device          sc0     at isa? flags 0x100
device          agp             # support several AGP chipsets
device          npx0    at nexus? port IO_NPX irq 13
device          apm0    at nexus? disable flags 0x20 # Advanced Power 
Management
device          card
device          pcic0   at isa? irq 0 port 0x3e0 iomem 0xd0000
device          pcic1   at isa? irq 0 port 0x3e2 iomem 0xd4000 disable
device          sio0    at isa? port IO_COM1 flags 0x10 irq 4
device          sio1    at isa? port IO_COM2 irq 3
device          em
pseudo-device   loop
pseudo-device   ether
pseudo-device  ccd      2
pseudo-device   pty
pseudo-device   gif
pseudo-device   faith   1
pseudo-device   bpf



More information about the freebsd-hackers mailing list