Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 11 Aug 2000 11:56:18 -0500
From:      "Alejandro Ramirez" <ales@megared.net.mx>
To:        <sos@freebsd.dk>, <grog@lemis.com>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   ATA driver & Vinum Panic !!!
Message-ID:  <027501c003b5$1202a120$02c134c8@megared.net.mx>

next in thread | raw e-mail | index | archive | help
Hi Soren,

> > Seriously those disks are now bad in DMA mode (thats probably why they
> > work in DOS), so disable DMA access to them and you wil be fine...
>
> Thanks, I will do it, and I will let you know if it shows again.

    Actually it did showed again this time with a panic, Im not sure if the
panic came from vinum or from the ata driver, I had DMA disabled with the
following command "sysctl -w hw.atamodes=pio,---,pio,---,pio,---,pio,---,"
in /etc/rc.local, and I can reproduce this very easily , in 1 or 2 hours,
like I told you, it has a very heavy disk access, I have vinum configured as
a RAID 0 betwen the ad2, ad4 & ad6 disks.

Here are the errors & the panic:

ad6: READ command timeout - resetting
ata3: resetting devices .. done
ad6: READ command timeout - resetting
ata3: resetting devices .. done
ad6: READ command timeout - resetting
ata3: resetting devices .. done
ad6: WRITE command timeout - resetting
ata3: resetting devices ..  device dissapeared! 1 ata3-master: timeout
waiting to give command=c6 s=d0 e=00
ata3-master: timeout waiting to give command=ef s=d0 e=00 done
ata3-master: timeout waiting to give command=c5 s=d0 e=00
ad6: error executing command
Aug  7 14:07:40 cache3 /kernel: array.p0.s2: fatal write I/O error
Aug  7 14:07:40 cache3 /kernel: vinum: array.p0.s2 is stale by force
Aug  7 14:07:40 cache3 /kernel: vinum: array.p0 is corrupt
ad0: soft error ECC corrected
panic: vwakeup: neg numoutput

syncing disks...

Fatal trap 12: page fault while in kernel mode
fault virtual address   = 0x30
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xc017ef18
stack pointer           = 0x10:0xc01e7b74
frame pointer           = 0x10:0xc01e7b78
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, def32 1, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = Idle
interrupt mask          = bio
trap number             = 12
panic: page fault
Uptime: 2h55m10s
Automatic reboot in 15 seconds - press a key on the console to abort
Rebooting...


Then I rebooted the machine, recreate the vinum volume, and fire it up the
squid proccess again, and give me this errors in about 1 hour:

ad4: HARD WRITE ERROR blk# 6709209 status=11 error=02
ad4: HARD WRITE ERROR blk# 6709225 status=11 error=02
ad4: HARD WRITE ERROR blk# 6709241 status=11 error=02
ad4: HARD WRITE ERROR blk# 6709257 status=11 error=02
ad4: HARD READ ERROR blk# 5834665 status=19 error=02
ad4: timeout waiting for DRQ

And the vinum volume got corrupted again.

Actually being the machine totally idle ( I have just rebuild vinum volume)
also
showed me this log messages:

Aug  8 11:18:56 cache3 /kernel: vinum: CONFIGURATION OBLITERATED
Aug  8 11:19:14 cache3 /kernel: vinum: drive d1 is up
Aug  8 11:19:14 cache3 /kernel: vinum: drive d2 is up
Aug  8 11:19:14 cache3 /kernel: vinum: drive d3 is up
Aug  8 11:19:14 cache3 /kernel: vinum: array.p0.s0 is up
Aug  8 11:19:14 cache3 /kernel: vinum: array.p0.s1 is up
Aug  8 11:19:14 cache3 /kernel: vinum: array.p0.s2 is up
Aug  8 11:19:14 cache3 /kernel: vinum: array.p0 is up
Aug  8 11:19:14 cache3 /kernel: vinum: array is up
Aug  8 11:48:25 cache3 /kernel: ad2: READ command timeout - resetting
Aug  8 11:48:25 cache3 /kernel: ata1: resetting devices .. done

cache# uptime
 2:07PM  up  2:54, 1 user, load averages: 0.00, 0.00, 0.00

Its this normal (harmless) ???

P.S. If you think that you need to access to this, just tell me and I can
provide telnet access, serial console access & root passwd too, this
because its not a production machine yet, its being used for tests only.

Here it is the console messages at boot (dmesg):

Thanks
Ales

Copyright (c) 1992-2000 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.1-RELEASE #3: Mon Jul 31 18:05:28 GMT 2000
    root@cache.megared.net.mx:/usr/src/sys/compile/kernel
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 266443792 Hz
CPU: Pentium II/Pentium II Xeon/Celeron (266.44-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x634  Stepping = 4

Features=0x80f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,M
MX
>
real memory  = 268435456 (262144K bytes)
avail memory = 257789952 (251748K bytes)
Preloaded elf kernel "kernel" at 0xc0251000.
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Intel 82443LX (440 LX) host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <Intel 82443LX (440 LX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0x1060-0x106f at device 7.1 on
pci

ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 9
chip1: <Intel 82371AB Power management controller> port 0x7000-0x700f at
device
7.3 on pci0
pci0: <Trident model 9440 VGA-compatible display device> at 13.0 irq 11
fxp0: <Intel Pro 10/100B/100+ Ethernet> port 0x1020-0x103f mem
0xf4100000-0xf41f
ffff,0xf4010000-0xf4010fff irq 10 at device 15.0 on pci0
fxp0: Ethernet address 00:a0:c9:ee:96:8e
atapci1: <Promise ATA33 controller> port
0x1040-0x105f,0x1474-0x1477,0x1078-0x10
7f,0x1074-0x1077,0x1080-0x1087 irq 9 at device 16.0 on pci0
ata2: at 0x1080 on atapci1
ata3: at 0x1078 on atapci1
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
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=0x100>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A, console
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
IP packet filtering initialized, divert disabled, rule-based forwarding
enabled,
 default to accept, logging disabled
ad0: 6149MB <QUANTUM FIREBALL ST6.4A> [13328/15/63] at ata0-master using
UDMA33
ad2: 6149MB <QUANTUM FIREBALL ST6.4A> [13328/15/63] at ata1-master using
UDMA33
stray irq 7
ad4: 6149MB <QUANTUM FIREBALL ST6.4A> [13328/15/63] at ata2-master using
UDMA33
ad6: 6149MB <QUANTUM FIREBALL ST6.4A> [13328/15/63] at ata3-master using
UDMA33
Mounting root from ufs:/dev/ad0s1a
vinum: loaded
vinum: reading configuration from /dev/ad6s1e
vinum: updating configuration from /dev/ad4s1e
vinum: updating configuration from /dev/ad2s1e
vinum: /dev is mounted read-only, not rebuilding /dev/vinum
swapon: adding /dev/ad0s1b as swap device
Automatic boot in progress...
/dev/ad0s1a: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1a: clean, 224101 free (485 frags, 27952 blocks, 0.2%
fragmentation)
/dev/vinum/array: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/vinum/array: clean, 18303924 free (588 frags, 2287917 blocks, 0.0%
fragment
ation)
/dev/ad0s1f: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1f: clean, 508142 free (14 frags, 63516 blocks, 0.0% fragmentation)
/dev/ad0s1g: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1g: clean, 1858696 free (8752 frags, 231243 blocks, 0.3%
fragmentation)

/dev/ad0s1e: FILESYSTEM CLEAN; SKIPPING CHECKS
/dev/ad0s1e: clean, 2031746 free (322 frags, 253928 blocks, 0.0%
fragmentation)
Doing initial network setup: hostname.
fxp0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        inet 200.52.193.15 netmask 0xffffff00 broadcast 200.52.193.255
        ether 00:a0:c9:ee:96:8e
        media: autoselect (100baseTX <full-duplex>) status: active
        supported media: autoselect 100baseTX <full-duplex> 100baseTX
10baseT/UT
P <full-duplex> 10baseT/UTP
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
        inet 127.0.0.1 netmask 0xff000000

add net default: gateway 200.52.193.254
Additional routing options: tcp extensions=NO TCP keepalive=YES.
routing daemons:.
additional daemons: syslogdAug  7 11:13:39 cache3 /kernel: stray irq 7
Aug  7 11:13:39 cache3 /kernel: vinum: loaded
Aug  7 11:13:39 cache3 /kernel: vinum: reading configuration from
/dev/ad6s1e
Aug  7 11:13:39 cache3 /kernel: vinum: updating configuration from
/dev/ad4s1e
Aug  7 11:13:39 cache3 /kernel: vinum: updating configuration from
/dev/ad2s1e
.
Doing additional network setup: named.
Starting final network daemons:.
setting ELF ldconfig path: /usr/lib /usr/lib/compat /usr/local/lib
setting a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout
starting standard daemons: inetd.
Initial rc.i386 initialization:.
rc.i386 configuring syscons: blank_time.
starting local daemons:hw.atamodes: dma,---,dma,---,dma,---,dma,---, ->
pio,---,pio,---,pio,---,pio,---,
00049 allow tcp from 200.52.193.15 to any
00050 fwd 127.0.0.1 tcp from any to any 80
.
Local package initialization: snmpd squid.
Additional TCP options:.
Mon Aug  7 11:13:41 GMT 2000

FreeBSD/i386 (my.sever.com) (ttyd0)

login:




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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?027501c003b5$1202a120$02c134c8>