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: 640318485 0 4.2BSD 2048 16384 1 c: 640318485 0 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 @ 0xf0000/0x10000 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: 0xc0000/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: aperture at 0xe8000000, size 0x4000000 drm at vga1 unsupported re0 at pci0 dev 15 function 0 "Realtek 8169" rev 0x10: RTL8169/8110SB (0x1000), irq 5, address 00:80:5a:67:6e:01 rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 3 rl0 at pci0 dev 16 function 0 "Realtek 8139" rev 0x10: irq 9, address 00:e0:4c:a0:1b:c9 rlphy0 at rl0 phy 0: RTL internal PHY isa0 at pcib0 isadma0 at isa0 com0 at isa0 port 0x3f8/8 irq 4: 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 lm0 at isa0 port 0x290/8: W83782D npx0 at isa0 port 0xf0/16: reported by CPUID; using exception 16 fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 "VIA UHCI root hub" rev 1.00/1.00 addr 1 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 "VIA UHCI root hub" rev 1.00/1.00 addr 1 biomask efcd netmask efed ttymask ffff mtrr: Pentium Pro MTRR support softraid0 at root wd0c: aborted command, interface CRC error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying wd0: transfer error, downgrading to Ultra-DMA mode 3 wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 3 wd0c: aborted command, interface CRC error reading fsbn 0 (wd0 bn 0; cn 0 tn 0 sn 0), retrying wd0: soft error (corrected) root on wd0a swap on wd0b dump on wd0b ========================================== -- "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