Skip site navigation (1)Skip section navigation (2)
Date:      05 Mar 2003 16:59:06 +1000
From:      Philip Higgins <phiggins1@optushome.com.au>
To:        freebsd-current@freebsd.org
Subject:   Disk Read Errors under SMP on -current
Message-ID:  <1046847545.19861.128.camel@ace.mintern.st>

next in thread | raw e-mail | index | archive | help
Running -current updated less than a day ago (same problem existed a few
days before), I am getting odd errors inserted in files (generally a
string of five or so garbage characters randomly replacing file
contents) when files are read. Doesn't seem to affected writes at all,
but I didn't hang round long enough for exhaustive testing.

Seems random as to which files are affected and when, and is causing
plenty of programs to dump core (usually by seg fault, sometimes by
illegal instruction). It's happening on all three of my disks, on two
separate controllers.

System is rock-solid stable with SMP disabled.

Anyone got any ideas, or does this require further investigation and/or
a proper problem report? (No SMP-incompatible options in my kernel or
something stupid is there?)


Motherboard is an Asus PCI/E-P54NP4, dmesg and kernel config follows.

********
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 5.0-CURRENT #1: Wed Mar  5 23:40:24 EST 2003
root@hilly.mintern.st:/opt/obj/opt/src/sys/HILLY.smp
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0410000.
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P54C (133.33-MHz 586-class CPU)
Origin = "GenuineIntel"  Id = 0x52c  Stepping = 12
Features=0x3bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,APIC>
real memory  = 67108864 (64 MB)
avail memory = 60743680 (57 MB)
APIC_IO: MP table broken: 8259->APIC entry missing!
Programming 16 pins in IOAPIC #0
EISA INTCONTROL = 0000c600
IOAPIC #0 intpin 2 -> irq 0
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
cpu0 (BSP): apic id:  0, version: 0x00030010, at 0xfee00000
cpu1 (AP):  apic id:  1, version: 0x00030010, at 0xfee00000
io0 (APIC): apic id:  2, version: 0x000f0011, at 0xfec00000
Intel Pentium detected, installing workaround for F00F bug
Allocating major#253 to "net"
Allocating major#252 to "pci"
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.00
pcib0: <Host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
eisab0: <PCI-EISA bridge> at device 2.0 on pci0
eisa0: <EISA bus> on eisab0
mainboard0: <ASU5101 (System Board)> on eisa0 slot 0
ahc0: <Adaptec 274X SCSI adapter> at 0x3c00-0x3cff, irq 14 (level)
ahc0: on eisa0 slot 3
aic7770: Twin Channel, A SCSI Id=7, B SCSI Id=7, primary B, 4/253 SCBs
bt0: <Buslogic 74xB SCSI host adapter> at 0x330-0x333, 0x4c00-0x4cff
bt0: irq 15 (level) on eisa0 slot 4
bt0: BT-742AH FW Rev. 3.31 Narrow SCSI Host Adapter, SCSI ID 7, 30 CCBs
isa0: <ISA bus> on eisab0
xl0: <3Com 3c905-TX Fast Etherlink XL> port 0xe800-0xe83f irq 10 at
device 6.0 on pci0
xl0: Ethernet address: 00:10:4b:22:4c:b5
miibus0: <MII bus> on xl0
nsphy0: <DP83840 10/100 media interface> on miibus0
nsphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pci0: <display, VGA> at device 7.0 (no driver attached)
orm0: <Option ROMs> at iomem
0xec000-0xeffff,0xdc000-0xdffff,0xd8000-0xdbfff,0xc0000-0xc7fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port
0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
fd1: <1200-KB 5.25" drive> on fdc0 drive 1
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
APIC_IO: Testing 8254 interrupt delivery
APIC_IO: routing 8254 via IOAPIC #0 intpin 2
Timecounters tick every 10.000 msec
Waiting 5 seconds for SCSI devices to settle
Mar  6 00:22:53 hilly kernel: da3 at bt0 bus 0 target 0 lun 0
Mar  6 00:22:53 hilly kernel: da3: <QUANTUM FIREBALL1280S 630G> Fixed
Direct Access SCSI-2 device 
Mar  6 00:22:53 hilly kernel: da3: 10.000MB/s transfers (10.000MHz,
offset 8)
Mar  6 00:22:53 hilly kernel: da3: 1222MB (2503872 512 byte sectors:
128H 32S/T 611C)
Mar  6 00:22:54 hilly kernel: cd0 at ahc0 bus 0 target 4 lun 0
Mar  6 00:22:54 hilly kernel: cd0: <TOSHIBA CD-ROM XM-5401TA 3115>
Removable CD-ROM SCSI-2 device 
Mar  6 00:22:54 hilly kernel: cd0: 4.032MB/s transfers (4.032MHz, offset
15)
Mar  6 00:22:54 hilly kernel: cd0: cd present [306178 x 2048 byte
records]
Mar  6 00:22:54 hilly kernel: da0 at ahc0 bus 1 target 0 lun 0
Mar  6 00:22:54 hilly kernel: da0: <CONNER CFA540S P113> Fixed Direct
Access SCSI-2 device 
Mar  6 00:22:54 hilly kernel: da0: 10.000MB/s transfers (10.000MHz,
offset 15)
Mar  6 00:22:54 hilly kernel: da0: 515MB (1056708 512 byte sectors: 64H
32S/T 515C)
da1 at ahc0 bus 0 target 0 lun 0
da1: <SEAGATE ST12550N 0013> Fixed Direct Access SCSI-2 device 
da1: 10.000MB/s transfers (10.000MHz, offset 15), Tagged Queueing
Enabled
da1: 2040MB (4178874 512 byte sectors: 64H 32S/T 2040C)
da2 at ahc0 bus 0 target 5 lun 0
da2: <IOMEGA ZIP 100 J.03> Removable Direct Access SCSI-2 device 
da2: 3.300MB/s transfers
da2: Attempt to query device size failed: NOT READY, Medium not present
SMP: AP CPU #1 Launched!
(da2:ahc0:0:5:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da2:ahc0:0:5:0): CAM Status: SCSI Status Error
(da2:ahc0:0:5:0): SCSI Status: Check Condition
(da2:ahc0:0:5:0): NOT READY asc:3a,0
(da2:ahc0:0:5:0): Medium not present
(da2:ahc0:0:5:0): Unretryable error
Opened disk da2 -> 6
(da2:ahc0:0:5:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da2:ahc0:0:5:0): CAM Status: SCSI Status Error
(da2:ahc0:0:5:0): SCSI Status: Check Condition
(da2:ahc0:0:5:0): NOT READY asc:3a,0
(da2:ahc0:0:5:0): Medium not present
(da2:ahc0:0:5:0): Unretryable error
Opened disk da2 -> 6
Mounting root from ufs:/dev/da0s2a


*******
ident           HILLY
maxusers        0

machine         i386
cpu             I586_CPU
options         SMP
options         APIC_IO
device          npx

#options        SCHED_ULE
options         SCHED_4BSD
options         KTRACE
options         SYSVSHM
options         SYSVMSG
options         SYSVSEM
options         _KPOSIX_PRIORITY_SCHEDULING

device          random          # Entropy device
device          pty             # Pseudo-ttys (telnet etc)
device          md              # Memory "disks"

options         INET
options         INET6
device          loop            # Network loopback
device          ether           # Ethernet support
device          tun             # Packet tunnel.
device          bpf             # Berkeley packet filter
options         ZERO_COPY_SOCKETS

options         FFS
options         SOFTUPDATES
options         UFS_ACL 
options         UFS_DIRHASH

options         NFSCLIENT
options         NFSSERVER

options         COMPAT_43
options         COMPAT_FREEBSD4

device          isa
device          eisa
device          pci

device          fdc

device          atkbdc          # AT keyboard controller
device          atkbd           # AT keyboard
options         KBD_INSTALL_CDEV        # install a CDEV entry in /dev
device          vga             # VGA video card driver
device          sc
options         SC_NO_SYSMOUSE
options         SC_NO_FONT_LOADING
device          pca

device          bt
device          ahc
options         AHC_ALLOW_MEMIO
options         AHC_REG_PRETTY_PRINT
device          scbus           # SCSI bus (required)
device          ch              # SCSI media changers
device          da              # Direct Access (disks)
device          sa              # Sequential Access (tape etc)
device          cd              # CD
device          pass            # Passthrough device (direct SCSI
access)
options         SCSI_DELAY=5000

device          miibus          # MII bus support
device          xl              # 3Com 3c90x (``Boomerang'',
``Cyclone'')

# Debugging for use in -current
options         DDB                     #Enable the kernel debugger
options         INVARIANTS              #Enable calls of extra sanity
checking
options         INVARIANT_SUPPORT       #Extra sanity checks of internal
structures, required by INVARIANTS
options         WITNESS                 #Enable checks to detect
deadlocks and cycles
options         WITNESS_SKIPSPIN        #Don't run witness on spinlocks
for speed


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?1046847545.19861.128.camel>