I have an old Pentium III computer with FreeBSD 5.3 and I am using GEOM
GBDE encryption on a few IDE-disks that are mounted on a PCI-ide
controller.
I had some important files on a less than 1 year old 300gb Maxtor
harddrive (ad5) when it stopped working. The harddrive had been working
ok, and it had been in the computer all the time, so no risk physical
damage. Then I mounted and attached it and tried to move a few gb's of
files to it and I got lots of WRITE_DMA errors all over the terminal.
Then the computer crashed, next reboot I could attach it with gbde but not
mount, due to I/O errors, and fsck said "incorrect superblock".
After second restart the computer could not find it,
and the dmesg from the third restart is shown below.
What shall I do to get my data back? I have approx 200mb of critical data
there that I need to get back..
dmesg:
Copyright (c) 1992-2004 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.3-RELEASE-p31 #1: Tue Jul 25 19:45:52 CEST 2006
nils@main.dulle.org:/usr/obj/usr/src/sys/MYKERNEL
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (602.19-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0x681 Stepping = 1
Features=0x387f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory = 201310208 (191 MCool
avail memory = 187326464 (178 MCool
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS P3V_4X> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem
0xe4000000-0xe7ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C596B UDMA66 controller> port
0xd800-0xd80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 4.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 5 at device 4.2
on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <bridge, HOST-PCI> at device 4.3 (no driver attached)
rl0: <RealTek 8139 10/100BaseTX> port 0xd000-0xd0ff mem
0xd5800000-0xd58000ff at device 9.0 on pci0
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl0: Ethernet address: 00:10:a7:09:57:f9
atapci1: <SiI 0680 UDMA133 controller> port
0xa400-0xa40f,0xa800-0xa803,0xb000-0xb007,0xb400-0xb403,0xb800-0xb807 mem
0xd5000000-0xd50000ff irq 10 at device 11.0 on pci0
ata2: channel #0 on atapci1
ata3: channel #1 on atapci1
rl1: <RealTek 8139 10/100BaseTX> port 0xa000-0xa0ff mem
0xd4800000-0xd48000ff at device 13.0 on pci0
miibus1: <MII bus> on rl1
rlphy1: <RealTek internal media interface> on miibus1
rlphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
rl1: Ethernet address: 00:10:a7:16:26:cc
fdc0: <floppy drive controller> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on
acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <ECP parallel printer port> port 0x778-0x77b,0x378-0x37f irq 7 drq 3
on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model Generic PS/2 mouse, device ID 0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcafff on isa0
pmtimer0 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 602191945 Hz quality 800
Timecounters tick every 10.000 msec
ipfw2 initialized, divert enabled, rule-based forwarding disabled, default
to accept, logging unlimited
acpi_cpu: throttling enabled, 16 steps (100% to 6.2%), currently 100.0%
ad0: 6149MB <WDC AC26400R/15.01J15> [13328/15/63] at ata0-master UDMA66
ad4: 190782MB <WDC WD2000JB-00EVA0/15.05R15> [387621/16/63] at ata2-master
UDMA100
ad5: 286188MB <Maxtor 6L300R0/BAJ41G20> [581463/16/63] at ata2-slave
UDMA133
ad5: TIMEOUT - READ_DMA retrying (2 retries left) LBA=586114703
ad5: FAILURE - READ_DMA timed out
ad6: 14664MB <IBM-DJNA-351520/J56OA30K> [29795/16/63] at ata3-master
UDMA66
ad7: 190782MB <WDC WD2000JB-00GVA0/08.02D08> [387621/16/63] at ata3-slave
UDMA100
ad5: TIMEOUT - READ_DMA retrying (2 retries left) LBA=0
ad5: FAILURE - READ_DMA timed out
ad5: TIMEOUT - READ_DMA retrying (2 retries left) LBA=1
ad5: FAILURE - READ_DMA timed out
ad5: TIMEOUT - READ_DMA retrying (2 retries left) LBA=0
ad5: FAILURE - READ_DMA timed out
ad5: TIMEOUT - READ_DMA retrying (2 retries left) LBA=0
ad5: FAILURE - READ_DMA timed out
Mounting root from ufs:/dev/ad0s1a