Hi, I don't know how to handle this:
My OpenBSD 4.1 Generic i386 box "occasionally" freezes completely,
without any warning.
No Ctrl+Mod1+F1 or any other key-combination, no ssh or ping works.
This happened several times over the past 3 days.
The last time, I left it at ttyC0 - nothing happened.
About ~30min after I started rtorrent it dropped to ddb with
these lines:
ccd0: error 22 on component 0
ccd0: error 22 on component 1 (mirror)
[..]
I issued trace and ps and... don't have a clue what to do now.
I considered overheating of my CDD-Mirror, but smartctl reports
below 40 degrees C. Could a fdisk-misconfiguration cause this kind
of errors? Disk failure?
Thanks in advance for anything that could help!
Marius
Here's the dmesg:
(I know it has dublicate lines, but I rather leave it as it is,
instead of cutting out something important..)
x10: irq 10, address 00:c0:df:07:72:dd
rlphy0 at rl0 phy 0: RTL internal PHY
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 5
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 10
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
viapm0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00
iic0 at viapm0
iic0: addr 0x2f 00=00 02=0f 03=00 04=00 06=0f 07=00 08=00 0a=06 0b=00
0c=00 0d=07 0e=84 0f=00 10=c0 11=11 12=00 13=60
pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133,
channel 0 configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TSSTcorp, CD/DVDW TS-H552B, TS03> SCSI0
5/cdrom removable
wd0 at pciide0 channel 0 drive 1: <CF 8GB>
wd0: 1-sector PIO, LBA, 7935MB, 16250976 sectors
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd0(pciide0:0:1): using PIO mode 4, DMA mode 2
wd1 at pciide0 channel 1 drive 0: <SAMSUNG SP1654N>
wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd2 at pciide0 channel 1 drive 1: <SAMSUNG SP1613N>
wd2: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
wd2(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 5
auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x50: irq 5
ac97: codec id 0x414c4720 (Avance Logic ALC650)
ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D
audio0 at auvia0
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: W83697HF
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ef65 netmask ef65 ttymask ffe7
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
dkcsum: wd2 matches BIOS drive 0x82
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
WARNING: / was not properly unmounted
ccd0: error 22 on component 0
ccd0: error 22 on component 1 (mirror)
ccd0: error 22 on component 0
panic: biodone already
Stopped at Debugger+0x4: leave
RUN AT LEAST 'trace' AND 'ps' AND INCLUDE OUTPUT WHEN REPORTING THIS PANIC!
DO NOT EVEN BOTHER REPORTING THIS WITHOUT INCLUDING THAT INFORMATION!
ddb> Debugger(127fff30,0,200,d7c7f6a4,40) at Debugger+0x4
panic(d067d5ae,d194c4d4,4b2ca,d7c7f6a4,2000) at panic+0x63
biodone(d7c7f6a4,d194c400,d190fb50,0,d074f9c0) at biodone+0xdb
wdstrategy(d7c7f6a4,2,e92929f0,d032e15d,3e00) at wdstrategy+0x87
spec_strategy(e92929e8,1,0,0,127fff20) at spec_strategy+0x33
spec_vnoperate(e92929e8,200,e9292a30,d030e477,d0738dc0) at
spec_vnoperate+0x16
VOP_STRATEGY(d7c7f6a4,d1afea50,1,1) at VOP_STRATEGY+0x25
ccdstart(d195b000,d7f4e360,d1975500,0,0) at ccdstart+0x19a
ccdstrategy(d7f4e360,d196d000,d7ec7060,0,0) at ccdstrategy+0x84
spec_strategy(e9292ae8,d195594c,d194d5a8,e9292ac4,d048ac4e) at
spec_strategy+0x33
spec_vnoperate(e9292ae8,d194d000,1,0,0) at spec_vnoperate+0x16
ufs_strategy(e9292ae8,e9292b9c,64000001,d194d810,d0738dc0) at
ufs_strategy+0x72
VOP_STRATEGY(d7f4e360,d194d5a8,d7ec7060,1,d0738c80) at VOP_STRATEGY+0x25
bwrite(d7f4e360,22,e9292bb0,d03565d2,d0738e00) at bwrite+0xa1
VOP_BWRITE(d7f4e360,e9292b9c,4000,c000) at VOP_BWRITE+0x25
cluster_write(d7f4e360,d7d62d6c,2eb428,0,d7c9eb00) at cluster_write+0x1f6
ffs_write(e9292c98,d5929000,e9292cc0,d035f95c,d07387c0) at ffs_write+0x552
VOP_WRITE(d7d619c0,e9292cf8,0,d7eca320,2f000) at VOP_WRITE+0x34
uvm_vnp_terminate(d7d619c0,e9292e28,10,23,1) at uvm_vnp_terminate+0xe44
uvm_vnp_terminate(d7d619c0,e9292e28,10,23) at uvm_vnp_terminate+0xa19
uddb> No such command
ddb> Bad character
Debugger(127fff30,0,200,d7c7f6a4,40) at Debugger+0x4
panic(d067d5ae,d194c4d4,4b2ca,d7c7f6a4,2000) at panic+0x63
biodone(d7c7f6a4,d194c400,d190fb50,0,d074f9c0) at biodone+0xdb
wdstrategy(d7c7f6a4,2,e92929f0,d032e15d,3e00) at wdstrategy+0x87
spec_strategy(e92929e8,1,0,0,127fff20) at spec_strategy+0x33
spec_vnoperate(e92929e8,200,e9292a30,d030e477,d0738dc0) at
spec_vnoperate+0x16
VOP_STRATEGY(d7c7f6a4,d1afea50,1,1) at VOP_STRATEGY+0x25
ccdstart(d195b000,d7f4e360,d1975500,0,0) at ccdstart+0x19a
ccdstrategy(d7f4e360,d196d000,d7ec7060,0,0) at ccdstrategy+0x84
spec_strategy(e9292ae8,d195594c,d194d5a8,e9292ac4,d048ac4e) at
spec_strategy+0x33
spec_vnoperate(e9292ae8,d194d000,1,0,0) at spec_vnoperate+0x16
ufs_strategy(e9292ae8,e9292b9c,64000001,d194d810,d0738dc0) at
ufs_strategy+0x72
VOP_STRATEGY(d7f4e360,d194d5a8,d7ec7060,1,d0738c80) at VOP_STRATEGY+0x25
bwrite(d7f4e360,22,e9292bb0,d03565d2,d0738e00) at bwrite+0xa1
VOP_BWRITE(d7f4e360,e9292b9c,4000,c000) at VOP_BWRITE+0x25
cluster_write(d7f4e360,d7d62d6c,2eb428,0,d7c9eb00) at cluster_write+0x1f6
ffs_write(e9292c98,d5929000,e9292cc0,d035f95c,d07387c0) at ffs_write+0x552
VOP_WRITE(d7d619c0,e9292cf8,0,d7eca320,2f000) at VOP_WRITE+0x34
uvm_vnp_terminate(d7d619c0,e9292e28,10,23,1) at uvm_vnp_terminate+0xe44
uddb> Debugger(127fff30,0,200,d7c7f6a4,40) at Debugger+0x4
ddb> machine print examine x search set
write w delete d break dwatch
watch step s continue c until
next match trace call ps callout
show boot help hangman dmesg
ddb> Symbol not found
ddb> all breaks buf extents malloc map
mount object page panic pool proc
registers uvmexp vnode watches
ddb> Debugger(127fff30,0,200,d7c7f6a4,40) at Debugger+0x4
panic(d067d5ae,d194c4d4,4b2ca,d7c7f6a4,2000) at panic+0x63
biodone(d7c7f6a4,d194c400,d190fb50,0,d074f9c0) at biodone+0xdb
wdstrategy(d7c7f6a4,2,e92929f0,d032e15d,3e00) at wdstrategy+0x87
spec_strategy(e92929e8,1,0,0,127fff20) at spec_strategy+0x33
spec_vnoperate(e92929e8,200,e9292a30,d030e477,d0738dc0) at
spec_vnoperate+0x16
VOP_STRATEGY(d7c7f6a4,d1afea50,1,1) at VOP_STRATEGY+0x25
ccdstart(d195b000,d7f4e360,d1975500,0,0) at ccdstart+0x19a
ccdstrategy(d7f4e360,d196d000,d7ec7060,0,0) at ccdstrategy+0x84
spec_strategy(e9292ae8,d195594c,d194d5a8,e9292ac4,d048ac4e) at
spec_strategy+0x33
spec_vnoperate(e9292ae8,d194d000,1,0,0) at spec_vnoperate+0x16
ufs_strategy(e9292ae8,e9292b9c,64000001,d194d810,d0738dc0) at
ufs_strategy+0x72
VOP_STRATEGY(d7f4e360,d194d5a8,d7ec7060,1,d0738c80) at VOP_STRATEGY+0x25
bwrite(d7f4e360,22,e9292bb0,d03565d2,d0738e00) at bwrite+0xa1
VOP_BWRITE(d7f4e360,e9292b9c,4000,c000) at VOP_BWRITE+0x25
cluster_write(d7f4e360,d7d62d6c,2eb428,0,d7c9eb00) at cluster_write+0x1f6
ffs_write(e9292c98,d5929000,e9292cc0,d035f95c,d07387c0) at ffs_write+0x552
VOP_WRITE(d7d619c0,e9292cf8,0,d7eca320,2f000) at VOP_WRITE+0x34
uvm_vnp_terminate(d7d619c0,e9292e28,10,23,1) at uvm_vnp_terminate+0xe44
uvm_vnp_terminate(d7d619c0,e9292e28,10,23) at uvm_vnp_terminate+0xa19
uvm_pager_put(d7d619c0,d0d6ed20,e9292e20,e9292e24,23,0,0,58000,0,0,2,3)
at uvm_pager_put+0x6c
uvm_vnp_terminate(d7d619c0,0,0,58000,0,3,e9292ed0,cfbfe000) at
uvm_vnp_terminate+0x43b
uvm_map_clean(d7d28a54,813a9000,81401000,3,8895c458) at uvm_map_clean+0x1e1
sys_msync(d7cd6010,e9292f68,e9292f58,0,40ec) at sys_msync+0x10e
syscall() at syscall+0x24a
--- syscall (number 256) ---
0x4f1e88d:
ddb> PID PPID PGRP UID S 825 1001 7 0x4002
rtorrent
23825 12186 23825 1001 3 0x4082 pause ksh
12186 1 12186 1001 3 0x4082 pause ksh
23962 14503 23962 1001 3 0x4082 pause ksh
1037 18270 1037 0 3 0x80 poll 0 3 0x4082
ttyin getty
9144 1 9144 0 3 0x4082 ttyin getty
14503 1 14503 1001 3 0x4082 pause ksh
21746 18270 21746 35 3 0x44180 select Xorg
18270 1 18270 0 3 0x81 pause xdm
1401 1 1401 0 3 0x80 select cron
2498 1 4915 560 3 0x180 poll mpd
29330 1 29330 0 3 0x40180 select sendmail
15675 1 15675 0 3 0x80 select sshd
13678 1 1320621 11924 11924 83 3 0x180 poll
ntpd
11924 1 11924 0 3 0x80 poll ntpd
4093 10527 10527 73 2 0x180 syslogd
10527 1 10527 0 3 0x88 netio syslogd
26582 1 26582 77 3 0x180 poll dhclient
23358 1 10270 0 3 0x82 poll dhclient
6787 1 6787 0 3 0x80 mfsidl mount_mfs
27147 1 27147 0 3 0x80 mfsidl mount_mfs
12083 1 12083 0 3 0x80 mfsidl mount_mfs
18 0 0 0 3 0x100200 crypto_wa cr0 syncer
update
15 0 0 0 3 0 0 3 0x100200 pgdaemon
pagedaemon
12 0 0 0 3 0x100200 pftm pfpurge
11 0 0 0 3 0x100200 timeout sensors
10 0 0 0 3 0x100200 wait wskbd_hotkey
9 0 0 0 3 0x100200 slacking scsi
8 0 0 0 3 0x100200 usbevt usb3
7 0 0 0 3 0 0 3 0x100200 usbtsk
usbtask
4 0 0 0 3 0x100200 usbevt usb0
0 scheduler swapper
ddb> syncing disks...
OpenBSD 4.1 (GENERIC) #1435: Sat Mar 10 19:07:45 MST 2007
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD Athlon(tm) XP 1500+ ("AuthenticAMD" 686-class, 256KB L2 cache)
1.36 GHz
cpu0:
FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE
real mem = 1073246208 (1048092K)
avail mem = 971902976 (949124K)
using 4278 buffers containing 53784576 bytes (52524K) of memory
mainbus0 (root)
bios0 at mainbus0: AT/286+ BIOS, date 07/10/02, BIOS32 rev. 0 @ 0xfdad0,
SMBIOS rev. 2.3 @ 0xf0630 (22 entries)
bios0: MSI MS-6380E
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
apm0: flags 30102 dobusy 0 doidle 1
pcibios0 at bios0: rev 2.1 @ 0xf0000/0x10000
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf7f40/208 (11 entries)
pcibios0: PCI Interrupt Router at 000:17:0 ("VIA VT8235 ISA" rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc0000/0xe800
acpi at mainbus0 not configured
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 "VIA VT8366 PCI" rev 0x00
ppb0 at pci0 dev 1 function 0 "VIA VT8366 AGP" rev 0x00
pci1 at ppb0 bus 1
vga1 at pci1 dev 0 function 0 "NVIDIA GeForce4 Ti 4600" rev 0xa3
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
rl0 at pci0 dev 8 function 0 "Realtek 8139" rev 0x10: irq 10, address
00:c0:df:07:72:dd
rlphy0 at rl0 phy 0: RTL internal PHY
uhci0 at pci0 dev 16 function 0 "VIA VT83C572 USB" rev 0x80: irq 11
usb0 at uhci0: USB revision 1.0
uhub0 at usb0
uhub0: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1 at pci0 dev 16 function 1 "VIA VT83C572 USB" rev 0x80: irq 11
usb1 at uhci1: USB revision 1.0
uhub1 at usb1
uhub1: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2 at pci0 dev 16 function 2 "VIA VT83C572 USB" rev 0x80: irq 5
usb2 at uhci2: USB revision 1.0
uhub2 at usb2
uhub2: VIA UHCI root hub, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0 at pci0 dev 16 function 3 "VIA VT6202 USB" rev 0x82: irq 10
usb3 at ehci0: USB revision 2.0
uhub3 at usb3
uhub3: VIA EHCI root hub, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
viapm0 at pci0 dev 17 function 0 "VIA VT8235 ISA" rev 0x00
iic0 at viapm0
iic0: addr 0x2f 00=00 02=0f 03=00 04=00 06=0f 07=00 08=00 0a=06 0b=00
0c=00 0d=07 0e=84 0f=00 10=c0 11=11 12=00 13=60
pciide0 at pci0 dev 17 function 1 "VIA VT82C571 IDE" rev 0x06: ATA133,
channel 0 configured to compatibility, channel 1 configured to compatibility
atapiscsi0 at pciide0 channel 0 drive 0
scsibus0 at atapiscsi0: 2 targets
cd0 at scsibus0 targ 0 lun 0: <TSSTcorp, CD/DVDW TS-H552B, TS03> SCSI0
5/cdrom removable
wd0 at pciide0 channel 0 drive 1: <CF 8GB>
wd0: 1-sector PIO, LBA, 7935MB, 16250976 sectors
cd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 2
wd0(pciide0:0:1): using PIO mode 4, DMA mode 2
wd1 at pciide0 channel 1 drive 0: <SAMSUNG SP1654N>
wd1: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd2 at pciide0 channel 1 drive 1: <SAMSUNG SP1613N>
wd2: 16-sector PIO, LBA48, 152627MB, 312581808 sectors
wd1(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 5
wd2(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 5
auvia0 at pci0 dev 17 function 5 "VIA VT8233 AC97" rev 0x50: irq 5
ac97: codec id 0x414c4720 (Avance Logic ALC650)
ac97: codec features 20 bit DAC, 18 bit ADC, Realtek 3D
audio0 at auvia0
isa0 at mainbus0
isadma0 at isa0
pckbc0 at isa0 port 0x60/5
pckbd0 at pckbc0 (kbd slot)
pckbc0: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard, using wsdisplay0
pms0 at pckbc0 (aux slot)
pckbc0: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: <PC speaker>
spkr0 at pcppi0
lpt0 at isa0 port 0x378/4 irq 7
lm0 at isa0 port 0x290/8: W83697HF
npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16
pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
biomask ef65 netmask ef65 ttymask ffe7
pctr: user-level cycle counter enabled
mtrr: Pentium Pro MTRR support
dkcsum: wd0 matches BIOS drive 0x80
dkcsum: wd1 matches BIOS drive 0x81
dkcsum: wd2 matches BIOS drive 0x82
root on wd0a
rootdev=0x0 rrootdev=0x300 rawdev=0x302
WARNING: / was not properly unmounted