problems getting RAID1 to work with SiI 0680 UDMA133 controller

2006-08-09 Thread Lasse Edlund
I have this ultra ata IDE controller card that I try to use with RAID1,

Both the harddrives I intend to use, ad6  ad4 are working, fsck gives no
errors and I can read/write on them.

I have setup raid1 on these in the bios utility for the ata controller card.
but now It says one of them is down!

Why is that? And what can I do about it?

 

From dmesg:

atapci0: SiI 0680 UDMA133 controller port
0x1050-0x1057,0x1060-0x1063,0x1058-0
x105f,0x1064-0x1067,0x1040-0x104f mem 0x4010-0x401000ff irq 18 at device
9.0 on pci2

ad0: 19092MB Seagate ST320414A 3.25 at ata0-master UDMA100

acd0: CDROM Compaq CRD-8484B/1.04 at ata1-master PIO4

ad4: 190782MB WDC WD2000JB-00GVA0 08.02D08 at ata2-master UDMA100

ad5: 286188MB Maxtor 6L300R0 BAJ41G20 at ata2-slave UDMA133

ad6: 190782MB WDC WD2000JB-00EVA0 15.05R15 at ata3-master UDMA100

ad7: 14664MB IBM DJNA-351520 J56OA30K at ata3-slave UDMA66

ar0: WARNING - mirror protection lost. RAID1 array in DEGRADED mode

ar0: 190781MB Silicon Image Medley RAID1 status: DEGRADED

ar0: disk0 DOWN no device found for this subdisk

ar0: disk1 READY (mirror) using ad6 at ata3-master

 

su-2.05b# atacontrol list

ATA channel 0:

Master:  ad0 ST320414A/3.25 ATA/ATAPI revision 4

Slave:   no device present

ATA channel 1:

Master: acd0 Compaq CRD-8484B/1.04 ATA/ATAPI revision 0

Slave:   no device present

ATA channel 2:

Master:  ad4 WDC WD2000JB-00GVA0/08.02D08 ATA/ATAPI revision 6

Slave:   ad5 Maxtor 6L300R0/BAJ41G20 ATA/ATAPI revision 7

ATA channel 3:

Master:  ad6 WDC WD2000JB-00EVA0/15.05R15 ATA/ATAPI revision 6

Slave:   ad7 IBM-DJNA-351520/J56OA30K ATA/ATAPI revision 4

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to [EMAIL PROTECTED]


Help my Harddrive stopped working!

2006-08-01 Thread Lasse Edlund
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
[EMAIL PROTECTED]:/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=0x387f9ffFPU,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
0xe400-0xe7ff 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
0xd580-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
0xd500-0xd5ff 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
0xd480-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 0xc-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 0xa-0xb 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: