Re: bioctl and RAID0 -- RAID1+0 and 0+1?

2008-12-01 Thread Lars Noodén
Marco Peereboom wrote:
 This will work although I have not written all the magic to make it
 pretty.  

Is there any information you would like collected?  I might get some old
Dell Pentium IV's and old WD400-something IDE drives working for either
a 4-piece RAID O or else try RAID 0+1 and RAID 1+0.

 I will at some point make this into an actual raid type so that
 it is a single create statement instead of several.  I do not recommend
 using it this way.


-Lars



Re: bioctl and RAID0 -- RAID1+0 and 0+1?

2008-11-30 Thread Manuel Ravasio
I read that softraid now supports RAID0 and RAID1 only.
I'm thinking of adding two more disks to the i386 pc I wrote about in this 
thread.
Would a RAID 1+0 or 0+1 supported in this case?

I can think of a procedure like this:
- fdisk and disklabel all 4 disks with a single RAID partition
- create a RAID0 sd0/softraid0 device on, say, wd1 and wd2
- create a RAID0 sd1/softraid1 device on wd3 and wd4
- disklabel sd0 creating a single RAID partition
- idem with sd1
- create a RAID1 sd2/softraid2 device on sd0 and sd1
- disklabel sd2 with a single 4.2BSD partition
- create filesystem, mount, etc etc

Would something like this work?
Unfortunately I have no suitable hardware available right now.
I'll try tampering with a OpenBSD 4.4 virtual machine as soon as I have a 
couple of spare hours.

Manuel


 --
On two occasions I have been asked [by members of Parliament!], `Pray,
Mr.  Babbage, if you put into the machine wrong figures, will the right
answers come out?'  I am not able rightly to apprehend the kind of
confusion of ideas that could provoke such a question.
-- Charles Babbage



Re: bioctl and RAID0

2008-11-30 Thread Manuel Ravasio
Another bioctl related question, right out of curiosity.

What happens when one or more disks in a RAID fail?
I mean, I suppose some kind of error messages will be logged and/or sent to 
console.
I also imagine bioctl softraid? will show useful messages.

Can anyone point me to some documentation explaining the various possible error 
messages and their meaning?

Thank you all once more.
Manuel



 --
On two occasions I have been asked [by members of Parliament!], `Pray,
Mr.  Babbage, if you put into the machine wrong figures, will the right
answers come out?'  I am not able rightly to apprehend the kind of
confusion of ideas that could provoke such a question.
-- Charles Babbage



- Original Message 
 From: Marco Peereboom [EMAIL PROTECTED]
 To: Manuel Ravasio [EMAIL PROTECTED]
 Cc: openbsd misc@openbsd.org
 Sent: Saturday, November 29, 2008 11:05:00 PM
 Subject: Re: bioctl and RAID0
 
 Bah that is a bug though; the disk should not be knocked offline for an
 out of bounds read/write.  I'll fix this.
 
 Thanks for the report.
 
 Your mistake is not to fdisk and disklabel the brand new disk that you
 created.  See softraid(4) for examples.
 
 On Sat, Nov 29, 2008 at 04:34:52AM -0800, Manuel Ravasio wrote:
  Hello list.
  i386 PC with 3 PATA disks.
  - a 60g Maxtor attached to motherboard's IDE controller
  - two 160g Maxtor attached to a Promise FastTrak TX2 PCI controller
  
  During install all 3 disks are correctly recognized and fully assigned to 
 OpenBSD.
  Both 160g disks have a single partition (a) spanning all disk length (from 
 sector 63), RAID type.
  
  When I run
  # bioctl -c 0 -l /dev/wd1a,/dev/wd2a softraid0
  the device is (AFAICT) correctly created:
  
  # bioctl softraid0
  Volume  Status   Size Device  
  softraid0 0 Online   327843063808 sd0 RAID0
0 Online   163921531904 0:0.0   noencl 
1 Online   163921531904 0:1.0   noencl 
  # 
  
  On device sd0 there is a single 4.2BSD partition spanning all the disk; 
  that's 
 ok with me.
  
  # disklabel sd0  
  # /dev/rsd0c:
  type: SCSI
  disk: SCSI disk
  label: SR RAID 0
  flags:
  bytes/sector: 512
  sectors/track: 63
  tracks/cylinder: 255
  sectors/cylinder: 16065
  cylinders: 39857
  total sectors: 640318485
  rpm: 3600
  interleave: 1
  trackskew: 0
  cylinderskew: 0
  headswitch: 0   # microseconds
  track-to-track seek: 0  # microseconds
  drivedata: 0 
  
  16 partitions:
  #size   offset  fstype [fsize bsize  cpg]
a:6403184850  4.2BSD   2048 163841 
c:6403184850  unused  0 0  
  #  
  
  Then I try to create a new filesystem on the partition and I receive an 
  error 
 message:
  
  # newfs /dev/rsd0a
  newfs: wtfs: write error on block 640318484: Input/output error
  # 
  
  Now bioctl shows one disk as Offline.
  
  # bioctl softraid0
  Volume  Status   Size Device  
  softraid0 0 Offline  327843063808 sd0 RAID0
0 Offline  163921531904 0:0.0   noencl 
1 Online   163921531904 0:1.0   noencl 
  # 
  
  What does this mean?
  Why is the disk offline?
  What am I doing wrong?
  
  By the way, when I try to delete both sd0 and softraid0 the machine goes to 
  a 
 ddb prompt.
  
  
  Thank you all,
  bye,
  Manuel
  
  
  PS: During installation and during boot I received a few interface CRC 
  error 
 messages from wd0.
  What des this mean exactly?
  The disk itself is quite old, 6 years at the very least. Do these messages 
 mean it is going to die soon?
  
  Thanks again,
  M.
  
  ==
  dmesg right after install
  ==
  
  OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
  cpu0: AMD-K7(tm) Processor (AuthenticAMD 686-class, 512KB L2 cache) 550 
  MHz
  cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,MMX
  real mem  = 267939840 (255MB)
  avail mem = 250646528 (239MB)
  mainbus0 at root
  bios0 at mainbus0: AT/286+ BIOS, date 08/02/00, BIOS32 rev. 0 @ 0xfd9c0, 
 SMBIOS rev. 2.3 @ 0xf04f0 (30 entries)
  bios0: vendor American Megatrends Inc. version 627.10 date 02/29/2000
  bios0: ASUSteK Computer INC. K7M
  apm0 at bios0: Power Management spec V1.2
  apm0: AC on, battery charge unknown
  acpi at bios0 function 0x0 not configured
  pcibios0 at bios0: rev 2.1 @ 0xf/0x1
  pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf8120/144 (7 entries)
  pcibios0: PCI Interrupt Router at 000:04:0 (VIA VT82C586 ISA rev 0x00)
  pcibios0: PCI bus #1 is the last bus
  bios0: ROM list: 0xc/0x8000 0xc8000/0xc000
  cpu0 at mainbus0
  pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
  pchb0 at pci0 dev 0 function 0 AMD 751 System rev 0x25
  ppb0 at pci0 dev 1 function 0 AMD 751 PCI-PCI rev 0x01
  pci1 at ppb0 bus 1
  pcib0 at pci0 dev 4 function 0 VIA VT82C686 ISA

Re: bioctl and RAID0 -- RAID1+0 and 0+1?

2008-11-30 Thread Marco Peereboom
This will work although I have not written all the magic to make it
pretty.  I will at some point make this into an actual raid type so that
it is a single create statement instead of several.  I do not recommend
using it this way.

On Sun, Nov 30, 2008 at 01:22:55PM -0800, Manuel Ravasio wrote:
 I read that softraid now supports RAID0 and RAID1 only.
 I'm thinking of adding two more disks to the i386 pc I wrote about in this 
 thread.
 Would a RAID 1+0 or 0+1 supported in this case?
 
 I can think of a procedure like this:
 - fdisk and disklabel all 4 disks with a single RAID partition
 - create a RAID0 sd0/softraid0 device on, say, wd1 and wd2
 - create a RAID0 sd1/softraid1 device on wd3 and wd4
 - disklabel sd0 creating a single RAID partition
 - idem with sd1
 - create a RAID1 sd2/softraid2 device on sd0 and sd1
 - disklabel sd2 with a single 4.2BSD partition
 - create filesystem, mount, etc etc
 
 Would something like this work?
 Unfortunately I have no suitable hardware available right now.
 I'll try tampering with a OpenBSD 4.4 virtual machine as soon as I have a 
 couple of spare hours.
 
 Manuel
 
 
  --
 On two occasions I have been asked [by members of Parliament!], `Pray,
 Mr.  Babbage, if you put into the machine wrong figures, will the right
 answers come out?'  I am not able rightly to apprehend the kind of
 confusion of ideas that could provoke such a question.
 -- Charles Babbage



Re: bioctl and RAID0

2008-11-30 Thread Marco Peereboom
Softraid will not print anything.  It will mark a disk offline and if
the discipline does not support redundancy it will mark the volume
offline as well.  bioctl will tell you what is going on.

On Sun, Nov 30, 2008 at 01:26:24PM -0800, Manuel Ravasio wrote:
 Another bioctl related question, right out of curiosity.
 
 What happens when one or more disks in a RAID fail?
 I mean, I suppose some kind of error messages will be logged and/or sent to 
 console.
 I also imagine bioctl softraid? will show useful messages.
 
 Can anyone point me to some documentation explaining the various possible 
 error messages and their meaning?
 
 Thank you all once more.
 Manuel
 
 
 
  --
 On two occasions I have been asked [by members of Parliament!], `Pray,
 Mr.  Babbage, if you put into the machine wrong figures, will the right
 answers come out?'  I am not able rightly to apprehend the kind of
 confusion of ideas that could provoke such a question.
 -- Charles Babbage
 
 
 
 - Original Message 
  From: Marco Peereboom [EMAIL PROTECTED]
  To: Manuel Ravasio [EMAIL PROTECTED]
  Cc: openbsd misc@openbsd.org
  Sent: Saturday, November 29, 2008 11:05:00 PM
  Subject: Re: bioctl and RAID0
  
  Bah that is a bug though; the disk should not be knocked offline for an
  out of bounds read/write.  I'll fix this.
  
  Thanks for the report.
  
  Your mistake is not to fdisk and disklabel the brand new disk that you
  created.  See softraid(4) for examples.
  
  On Sat, Nov 29, 2008 at 04:34:52AM -0800, Manuel Ravasio wrote:
   Hello list.
   i386 PC with 3 PATA disks.
   - a 60g Maxtor attached to motherboard's IDE controller
   - two 160g Maxtor attached to a Promise FastTrak TX2 PCI controller
   
   During install all 3 disks are correctly recognized and fully assigned to 
  OpenBSD.
   Both 160g disks have a single partition (a) spanning all disk length 
   (from 
  sector 63), RAID type.
   
   When I run
   # bioctl -c 0 -l /dev/wd1a,/dev/wd2a softraid0
   the device is (AFAICT) correctly created:
   
   # bioctl softraid0
   Volume  Status   Size Device  
   softraid0 0 Online   327843063808 sd0 RAID0
 0 Online   163921531904 0:0.0   noencl 
 1 Online   163921531904 0:1.0   noencl 
   # 
   
   On device sd0 there is a single 4.2BSD partition spanning all the disk; 
   that's 
  ok with me.
   
   # disklabel sd0  
   # /dev/rsd0c:
   type: SCSI
   disk: SCSI disk
   label: SR RAID 0
   flags:
   bytes/sector: 512
   sectors/track: 63
   tracks/cylinder: 255
   sectors/cylinder: 16065
   cylinders: 39857
   total sectors: 640318485
   rpm: 3600
   interleave: 1
   trackskew: 0
   cylinderskew: 0
   headswitch: 0   # microseconds
   track-to-track seek: 0  # microseconds
   drivedata: 0 
   
   16 partitions:
   #size   offset  fstype [fsize bsize  cpg]
 a:6403184850  4.2BSD   2048 163841 
 c:6403184850  unused  0 0  
   #  
   
   Then I try to create a new filesystem on the partition and I receive an 
   error 
  message:
   
   # newfs /dev/rsd0a
   newfs: wtfs: write error on block 640318484: Input/output error
   # 
   
   Now bioctl shows one disk as Offline.
   
   # bioctl softraid0
   Volume  Status   Size Device  
   softraid0 0 Offline  327843063808 sd0 RAID0
 0 Offline  163921531904 0:0.0   noencl 
 1 Online   163921531904 0:1.0   noencl 
   # 
   
   What does this mean?
   Why is the disk offline?
   What am I doing wrong?
   
   By the way, when I try to delete both sd0 and softraid0 the machine goes 
   to a 
  ddb prompt.
   
   
   Thank you all,
   bye,
   Manuel
   
   
   PS: During installation and during boot I received a few interface CRC 
   error 
  messages from wd0.
   What des this mean exactly?
   The disk itself is quite old, 6 years at the very least. Do these 
   messages 
  mean it is going to die soon?
   
   Thanks again,
   M.
   
   ==
   dmesg right after install
   ==
   
   OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
  [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
   cpu0: AMD-K7(tm) Processor (AuthenticAMD 686-class, 512KB L2 cache) 550 
   MHz
   cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,MMX
   real mem  = 267939840 (255MB)
   avail mem = 250646528 (239MB)
   mainbus0 at root
   bios0 at mainbus0: AT/286+ BIOS, date 08/02/00, BIOS32 rev. 0 @ 0xfd9c0, 
  SMBIOS rev. 2.3 @ 0xf04f0 (30 entries)
   bios0: vendor American Megatrends Inc. version 627.10 date 02/29/2000
   bios0: ASUSteK Computer INC. K7M
   apm0 at bios0: Power Management spec V1.2
   apm0: AC on, battery charge unknown
   acpi at bios0 function 0x0 not configured
   pcibios0 at bios0: rev 2.1 @ 0xf/0x1
   pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf8120/144 (7 entries

bioctl and RAID0

2008-11-29 Thread Manuel Ravasio
Hello list.
i386 PC with 3 PATA disks.
- a 60g Maxtor attached to motherboard's IDE controller
- two 160g Maxtor attached to a Promise FastTrak TX2 PCI controller

During install all 3 disks are correctly recognized and fully assigned to 
OpenBSD.
Both 160g disks have a single partition (a) spanning all disk length (from 
sector 63), RAID type.

When I run
# bioctl -c 0 -l /dev/wd1a,/dev/wd2a softraid0
the device is (AFAICT) correctly created:

# bioctl softraid0
Volume  Status   Size Device  
softraid0 0 Online   327843063808 sd0 RAID0
  0 Online   163921531904 0:0.0   noencl wd1a
  1 Online   163921531904 0:1.0   noencl wd2a
# 

On device sd0 there is a single 4.2BSD partition spanning all the disk; that's 
ok with me.

# disklabel sd0   
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: SR RAID 0
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 39857
total sectors: 640318485
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0   # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0 

16 partitions:
#size   offset  fstype [fsize bsize  cpg]
  a:6403184850  4.2BSD   2048 163841 
  c:6403184850  unused  0 0  
#   

Then I try to create a new filesystem on the partition and I receive an error 
message:

# newfs /dev/rsd0a
newfs: wtfs: write error on block 640318484: Input/output error
# 

Now bioctl shows one disk as Offline.

# bioctl softraid0
Volume  Status   Size Device  
softraid0 0 Offline  327843063808 sd0 RAID0
  0 Offline  163921531904 0:0.0   noencl wd1a
  1 Online   163921531904 0:1.0   noencl wd2a
# 

What does this mean?
Why is the disk offline?
What am I doing wrong?

By the way, when I try to delete both sd0 and softraid0 the machine goes to a 
ddb prompt.


Thank you all,
bye,
Manuel


PS: During installation and during boot I received a few interface CRC error 
messages from wd0.
What des this mean exactly?
The disk itself is quite old, 6 years at the very least. Do these messages mean 
it is going to die soon?

Thanks again,
M.

==
dmesg right after install
==

OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
[EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
cpu0: AMD-K7(tm) Processor (AuthenticAMD 686-class, 512KB L2 cache) 550 MHz
cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,MMX
real mem  = 267939840 (255MB)
avail mem = 250646528 (239MB)
mainbus0 at root
bios0 at mainbus0: AT/286+ BIOS, date 08/02/00, BIOS32 rev. 0 @ 0xfd9c0, SMBIOS 
rev. 2.3 @ 0xf04f0 (30 entries)
bios0: vendor American Megatrends Inc. version 627.10 date 02/29/2000
bios0: ASUSteK Computer INC. K7M
apm0 at bios0: Power Management spec V1.2
apm0: AC on, battery charge unknown
acpi at bios0 function 0x0 not configured
pcibios0 at bios0: rev 2.1 @ 0xf/0x1
pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf8120/144 (7 entries)
pcibios0: PCI Interrupt Router at 000:04:0 (VIA VT82C586 ISA rev 0x00)
pcibios0: PCI bus #1 is the last bus
bios0: ROM list: 0xc/0x8000 0xc8000/0xc000
cpu0 at mainbus0
pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
pchb0 at pci0 dev 0 function 0 AMD 751 System rev 0x25
ppb0 at pci0 dev 1 function 0 AMD 751 PCI-PCI rev 0x01
pci1 at ppb0 bus 1
pcib0 at pci0 dev 4 function 0 VIA VT82C686 ISA rev 0x1b
pciide0 at pci0 dev 4 function 1 VIA VT82C571 IDE rev 0x06: ATA66, channel 0 
configured to compatibility, channel 1 configured to compatibility
wd0 at pciide0 channel 0 drive 0: Maxtor 6Y060L0
wd0: 16-sector PIO, LBA, 58644MB, 120103200 sectors
wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
atapiscsi0 at pciide0 channel 1 drive 1
scsibus0 at atapiscsi0: 2 targets, initiator 7
cd0 at scsibus0 targ 0 lun 0: LG, CD-ROM CRD-8480B, 1.00 ATAPI 5/cdrom 
removable
cd0(pciide0:1:1): using PIO mode 4, DMA mode 2
uhci0 at pci0 dev 4 function 2 VIA VT83C572 USB rev 0x0e: irq 9
uhci1 at pci0 dev 4 function 3 VIA VT83C572 USB rev 0x0e: irq 9
viaenv0 at pci0 dev 4 function 4 VIA VT82C686 SMBus rev 0x20: HWM disabled: 
24-bit timer at 3579545Hz
pciide1 at pci0 dev 13 function 0 Promise PDC20268R rev 0x02: DMA, channel 0 
configured to native-PCI, channel 1 configured to native-PCI
pciide1: using irq 10 for native-PCI interrupt
wd1 at pciide1 channel 0 drive 0: Maxtor 6L160P0
wd1: 16-sector PIO, LBA48, 156334MB, 320173056 sectors
wd1(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 5
wd2 at pciide1 channel 1 drive 1: Maxtor 6L160P0
wd2: 16-sector PIO, LBA48, 156334MB, 320173056 sectors
wd2(pciide1:1:1): using PIO mode 4, Ultra-DMA mode 5
vga1 at pci0 dev 14 function 0 Matrox MGA Millenium 2064W (Storm) rev 0x01
wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation)
wsdisplay0: screen 1-5 added (80x25, vt100 emulation)
agp0 at vga1: 

Re: bioctl and RAID0

2008-11-29 Thread Marco Peereboom
Bah that is a bug though; the disk should not be knocked offline for an
out of bounds read/write.  I'll fix this.

Thanks for the report.

Your mistake is not to fdisk and disklabel the brand new disk that you
created.  See softraid(4) for examples.

On Sat, Nov 29, 2008 at 04:34:52AM -0800, Manuel Ravasio wrote:
 Hello list.
 i386 PC with 3 PATA disks.
 - a 60g Maxtor attached to motherboard's IDE controller
 - two 160g Maxtor attached to a Promise FastTrak TX2 PCI controller
 
 During install all 3 disks are correctly recognized and fully assigned to 
 OpenBSD.
 Both 160g disks have a single partition (a) spanning all disk length (from 
 sector 63), RAID type.
 
 When I run
 # bioctl -c 0 -l /dev/wd1a,/dev/wd2a softraid0
 the device is (AFAICT) correctly created:
 
 # bioctl softraid0
 Volume  Status   Size Device  
 softraid0 0 Online   327843063808 sd0 RAID0
   0 Online   163921531904 0:0.0   noencl wd1a
   1 Online   163921531904 0:1.0   noencl wd2a
 # 
 
 On device sd0 there is a single 4.2BSD partition spanning all the disk; 
 that's ok with me.
 
 # disklabel sd0   
 # /dev/rsd0c:
 type: SCSI
 disk: SCSI disk
 label: SR RAID 0
 flags:
 bytes/sector: 512
 sectors/track: 63
 tracks/cylinder: 255
 sectors/cylinder: 16065
 cylinders: 39857
 total sectors: 640318485
 rpm: 3600
 interleave: 1
 trackskew: 0
 cylinderskew: 0
 headswitch: 0   # microseconds
 track-to-track seek: 0  # microseconds
 drivedata: 0 
 
 16 partitions:
 #size   offset  fstype [fsize bsize  cpg]
   a:6403184850  4.2BSD   2048 163841 
   c:6403184850  unused  0 0  
 #   
 
 Then I try to create a new filesystem on the partition and I receive an error 
 message:
 
 # newfs /dev/rsd0a
 newfs: wtfs: write error on block 640318484: Input/output error
 # 
 
 Now bioctl shows one disk as Offline.
 
 # bioctl softraid0
 Volume  Status   Size Device  
 softraid0 0 Offline  327843063808 sd0 RAID0
   0 Offline  163921531904 0:0.0   noencl wd1a
   1 Online   163921531904 0:1.0   noencl wd2a
 # 
 
 What does this mean?
 Why is the disk offline?
 What am I doing wrong?
 
 By the way, when I try to delete both sd0 and softraid0 the machine goes to a 
 ddb prompt.
 
 
 Thank you all,
 bye,
 Manuel
 
 
 PS: During installation and during boot I received a few interface CRC 
 error messages from wd0.
 What des this mean exactly?
 The disk itself is quite old, 6 years at the very least. Do these messages 
 mean it is going to die soon?
 
 Thanks again,
 M.
 
 ==
 dmesg right after install
 ==
 
 OpenBSD 4.4 (GENERIC) #1021: Tue Aug 12 17:16:55 MDT 2008
 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC
 cpu0: AMD-K7(tm) Processor (AuthenticAMD 686-class, 512KB L2 cache) 550 MHz
 cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,MMX
 real mem  = 267939840 (255MB)
 avail mem = 250646528 (239MB)
 mainbus0 at root
 bios0 at mainbus0: AT/286+ BIOS, date 08/02/00, BIOS32 rev. 0 @ 0xfd9c0, 
 SMBIOS rev. 2.3 @ 0xf04f0 (30 entries)
 bios0: vendor American Megatrends Inc. version 627.10 date 02/29/2000
 bios0: ASUSteK Computer INC. K7M
 apm0 at bios0: Power Management spec V1.2
 apm0: AC on, battery charge unknown
 acpi at bios0 function 0x0 not configured
 pcibios0 at bios0: rev 2.1 @ 0xf/0x1
 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xf8120/144 (7 entries)
 pcibios0: PCI Interrupt Router at 000:04:0 (VIA VT82C586 ISA rev 0x00)
 pcibios0: PCI bus #1 is the last bus
 bios0: ROM list: 0xc/0x8000 0xc8000/0xc000
 cpu0 at mainbus0
 pci0 at mainbus0 bus 0: configuration mode 1 (no bios)
 pchb0 at pci0 dev 0 function 0 AMD 751 System rev 0x25
 ppb0 at pci0 dev 1 function 0 AMD 751 PCI-PCI rev 0x01
 pci1 at ppb0 bus 1
 pcib0 at pci0 dev 4 function 0 VIA VT82C686 ISA rev 0x1b
 pciide0 at pci0 dev 4 function 1 VIA VT82C571 IDE rev 0x06: ATA66, channel 
 0 configured to compatibility, channel 1 configured to compatibility
 wd0 at pciide0 channel 0 drive 0: Maxtor 6Y060L0
 wd0: 16-sector PIO, LBA, 58644MB, 120103200 sectors
 wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 4
 atapiscsi0 at pciide0 channel 1 drive 1
 scsibus0 at atapiscsi0: 2 targets, initiator 7
 cd0 at scsibus0 targ 0 lun 0: LG, CD-ROM CRD-8480B, 1.00 ATAPI 5/cdrom 
 removable
 cd0(pciide0:1:1): using PIO mode 4, DMA mode 2
 uhci0 at pci0 dev 4 function 2 VIA VT83C572 USB rev 0x0e: irq 9
 uhci1 at pci0 dev 4 function 3 VIA VT83C572 USB rev 0x0e: irq 9
 viaenv0 at pci0 dev 4 function 4 VIA VT82C686 SMBus rev 0x20: HWM disabled: 
 24-bit timer at 3579545Hz
 pciide1 at pci0 dev 13 function 0 Promise PDC20268R rev 0x02: DMA, channel 
 0 configured to native-PCI, channel 1 configured to native-PCI
 pciide1: using irq 10 for native-PCI interrupt
 wd1 at pciide1 channel 0 drive 0: Maxtor 6L160P0
 wd1: 16-sector 

Re: bioctl and RAID0

2008-11-29 Thread Manuel Ravasio
 Did you read the EXAMPLES section in SOFTRAID(4) and followed it by the 
 letter? 
 I would also recommend to try another PATA cable (80-conductor if possible) 
 to 
 see whether the CRC errors disappear.

Thank you.
This time it worked.
I strictly followed the example described in softraid(4) and everything worked.

I also found an emain in archives suggesting to actually wipe the disks before 
softraid reconfigurations using dd from a live linux boot; I did so, actually I 
completely wiped all 3 disks (just to be on the safe side), then everything 
went ok.

Tomorrow I'll start copying things on the raid0 drive.

Thank you all again,
byee,
Manuel