On Wed, May 13, 2009 at 05:50:40AM +0000, Uwe Dippel wrote:
> Uwe Dippel <udippel <at> uniten.edu.my> writes:
> 
> > Now I wonder what to do. Will a traditional fsck do, or do I have to 
> > recreate the softraid?
> 
> I guess, I can answer this myself, in the meantime:
> I did the fsck of the softraid volume sd3a and sd3b 
> (the first one was clean, to be expected, the second not; 
> but marked clean with fsck).
> Then I mounted it again:
> 
> # fsck /dev/sd3b 
> ** /dev/rsd3b
> ** Last Mounted on /mnt
> ** Phase 1 - Check Blocks and Sizes
> 
> ** Phase 2 - Check Pathnames
> ** Phase 3 - Check Connectivity
> ** Phase 4 - Check Reference Counts
> ** Phase 5 - Check Cyl groups
> SUMMARY INFORMATION BAD
> SALVAGE? [Fyn?] SALVAGE? [Fyn?] y
> 
> BLK(S) MISSING IN BIT MAPS
> SALVAGE? [Fyn?] y
> 
> 1 files, 1 used, 128675303 free 
> (15 frags, 16084411 blocks, 0.0% fragmentation)
> 
> MARK FILE SYSTEM CLEAN? [Fyn?] y
> 
> 
> ***** FILE SYSTEM WAS MODIFIED *****
> # mount /dev/sd3b /mnt/                                                       
>  
> # cd /mnt/                                                                    
>  
> # ls -l
> # 
> [that's okay, I never put anything there]
> # pwd
> /mnt
> # echo Nonsense > testo
> [that's not okay, because it got me another hangman]

Trace.  I bet it is a fatal filesystem panic because your disk is
basically hosed.

> 
> If anyone was interested, I have all the 'trace'es and 'ps'es on camera.
> 
> I guess it is time for a dmesg as well:
> OpenBSD 4.4 (GENERIC.MP) #0: Fri Jan 23 14:33:38 SGT 2009
> r...@claude2.uwe.uniten.edu.my:/usr/src/sys/arch/amd64/compile/GENERIC.MP
> real mem = 4214460416 (4019MB)
> avail mem = 4092596224 (3903MB)
> mainbus0 at root
> bios0 at mainbus0: SMBIOS rev. 2.3 @ 0xec000 (62 entries)
> bios0: vendor HP version "D17" date 07/16/2007
> bios0: HP ProLiant ML350 G4
> acpi0 at bios0: rev 2
> acpi0: tables DSDT FACP SPCR MCFG APIC
> acpi0: wakeup devices
> acpitimer0 at acpi0: 3579545 Hz, 24 bits
> acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat
> cpu0 at mainbus0: apid 0 (boot processor)
> cpu0: Intel(R) Xeon(TM) CPU 3.00GHz, 3000.52 MHz
> cpu0:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
> CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,
> CNXT-ID,CX16,xTPR,LONG
> cpu0: 1MB 64b/line 8-way L2 cache
> cpu0: apic clock running at 200MHz
> cpu1 at mainbus0: apid 6 (application processor)
> cpu1: Intel(R) Xeon(TM) CPU 3.00GHz, 3000.11 MHz
> cpu1:
> FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,
> CFLUSH,DS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,SBF,SSE3,MWAIT,DS-CPL,
> CNXT-ID,CX16,xTPR,LONG
> cpu1: 1MB 64b/line 8-way L2 cache
> ioapic0 at mainbus0 apid 8 pa 0xfec00000, version 20, 24 pins
> ioapic1 at mainbus0 apid 9 pa 0xfec10000, version 20, 24 pins
> ioapic1: misconfigured as apic 0, remapped to apid 9
> ioapic2 at mainbus0 apid 10 pa 0xfec80000, version 20, 24 pins
> ioapic3 at mainbus0 apid 11 pa 0xfec80400, version 20, 24 pins
> acpiprt0 at acpi0: bus 1 (IP2P)
> acpiprt1 at acpi0: bus 2 (IPXB)
> acpiprt2 at acpi0: bus 6 (PCXA)
> acpiprt3 at acpi0: bus 9 (PCXB)
> acpiprt4 at acpi0: bus 5 (PTA0)
> acpiprt5 at acpi0: bus 13 (PTB0)
> acpiprt6 at acpi0: bus 16 (PTC0)
> acpiprt7 at acpi0: bus 0 (PCI0)
> acpicpu0 at acpi0
> acpicpu1 at acpi0
> acpitz0 at acpi0: critical temperature 31 degC
> pci0 at mainbus0 bus 0: configuration mode 1
> pchb0 at pci0 dev 0 function 0 "Intel E7520 Host" rev 0x0c
> ppb0 at pci0 dev 2 function 0 "Intel E7520 PCIE" rev 0x0c
> pci1 at ppb0 bus 5
> ppb1 at pci1 dev 0 function 0 "Intel PCIE-PCIE" rev 0x09
> pci2 at ppb1 bus 6
> ppb2 at pci1 dev 0 function 2 "Intel PCIE-PCIE" rev 0x09
> pci3 at ppb2 bus 9
> ppb3 at pci0 dev 4 function 0 "Intel E7520 PCIE" rev 0x0c
> pci4 at ppb3 bus 13
> ppb4 at pci0 dev 6 function 0 "Intel E7520 PCIE" rev 0x0c
> pci5 at ppb4 bus 16
> ppb5 at pci0 dev 28 function 0 "Intel 6300ESB PCIX" rev 0x02
> pci6 at ppb5 bus 2
> mpi0 at pci6 dev 3 function 0 "Symbios Logic 53c1030" rev 0x08: 
> apic 9 int 0 (irq 5)
> scsibus0 at mpi0: 16 targets, initiator 7
> sd0 at scsibus0 targ 0 lun 0: <COMPAQ, BF03688284, HPB3> SCSI3 0/direct fixed
> sd0: 34732MB, 50824 cyl, 2 head, 699 sec, 512 bytes/sec, 71132000 sec total
> sd1 at scsibus0 targ 3 lun 0: <COMPAQ, BF3008AFEC, HPB1> SCSI3 0/direct fixed
> sd1: 286102MB, 82594 cyl, 8 head, 886 sec, 512 bytes/sec, 585937500 sec total
> sd2 at scsibus0 targ 5 lun 0: <COMPAQ, BF3008AFEC, HPB1> SCSI3 0/direct fixed
> sd2: 286102MB, 82594 cyl, 8 head, 886 sec, 512 bytes/sec, 585937500 sec total
> mpi0: target 0 Sync at 160MHz width 16bit offset 63 QAS 1 DT 1 IU 1
> mpi0: target 3 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1
> mpi0: target 5 Sync at 160MHz width 16bit offset 127 QAS 1 DT 1 IU 1
> mpi1 at pci6 dev 3 function 1 "Symbios Logic 53c1030" rev 0x08: apic 9 
> int 1 (irq 5)
> scsibus1 at mpi1: 16 targets, initiator 7
> uhci0 at pci0 dev 29 function 0 "Intel 6300ESB USB" rev 0x02: apic 8 
> int 16 (irq 5)
> uhci1 at pci0 dev 29 function 1 "Intel 6300ESB USB" rev 0x02: apic 8 
> int 19 (irq 5)
> "Intel 6300ESB WDT" rev 0x02 at pci0 dev 29 function 4 not configured
> "Intel 6300ESB APIC" rev 0x02 at pci0 dev 29 function 5 not configured
> ehci0 at pci0 dev 29 function 7 "Intel 6300ESB USB" rev 0x02: apic 8 
> int 23 (irq 5)
> usb0 at ehci0: USB revision 2.0
> uhub0 at usb0 "Intel EHCI root hub" rev 2.00/1.00 addr 1
> ppb6 at pci0 dev 30 function 0 "Intel 82801BA Hub-to-PCI" rev 0x0a
> pci7 at ppb6 bus 1
> bge0 at pci7 dev 2 function 0 "Broadcom BCM5705K" rev 0x03, BCM5705 A3 
> 0x3003): apic 8 int 17 (irq 5), address 00:13:21:ae:d5:03
> brgphy0 at bge0 phy 1: BCM5705 10/100/1000baseT PHY, rev. 2
> vga1 at pci7 dev 3 function 0 "ATI Rage XL" rev 0x27
> wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
> wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
> drm at vga1 unsupported
> vendor "Compaq", unknown product 0x00d7 (class system subclass 
> miscellaneous, rev 0x01) at pci7 dev 4 function 0 not configured
> pcib0 at pci0 dev 31 function 0 "Intel 6300ESB LPC" rev 0x02
> pciide0 at pci0 dev 31 function 1 "Intel 6300ESB IDE" rev 0x02: DMA, 
> channel 0 configured to compatibility, channel 1 configured to compatibility
> pciide0: channel 0 disabled (no drives)
> atapiscsi0 at pciide0 channel 1 drive 1
> scsibus2 at atapiscsi0: 2 targets, initiator 7
> cd0 at scsibus2 targ 0 lun 0: <HL-DT-ST, CD-ROM GCR-8482B, 2.09> 
> ATAPI 5/cdrom removable
> cd0(pciide0:1:1): using PIO mode 4, Ultra-DMA mode 2
> usb1 at uhci0: USB revision 1.0
> uhub1 at usb1 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> usb2 at uhci1: USB revision 1.0
> uhub2 at usb2 "Intel UHCI root hub" rev 1.00/1.00 addr 1
> isa0 at pcib0
> isadma0 at isa0
> com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo
> com1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo
> 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
> pmsi0 at pckbc0 (aux slot)
> pckbc0: using irq 12 for aux slot
> wsmouse0 at pmsi0 mux 0
> pcppi0 at isa0 port 0x61
> midi0 at pcppi0: <PC speaker>
> spkr0 at pcppi0
> fdc0 at isa0 port 0x3f0/6 irq 6 drq 2
> fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec
> mtrr: Pentium Pro MTRR support
> softraid0 at root
> scsibus3 at softraid0: 1 targets, initiator 1
> sd3 at scsibus3 targ 0 lun 0: <OPENBSD, SR RAID 1, 003> SCSI2 0/direct fixed
> sd3: 286094MB, 36471 cyl, 255 head, 63 sec, 512 bytes/sec, 
> 585922538 sec total
> root on sd0a swap on sd0b dump on sd0b
> WARNING: / was not properly unmounted
> 
> Uwe

Reply via email to