From owner-freebsd-questions@FreeBSD.ORG Thu Sep 15 17:31:27 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45D6916A41F for ; Thu, 15 Sep 2005 17:31:27 +0000 (GMT) (envelope-from jking@informs.com) Received: from mail.informs.com (mail.informs.com [216.248.165.180]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9279843D48 for ; Thu, 15 Sep 2005 17:31:26 +0000 (GMT) (envelope-from jking@informs.com) Received: (qmail 63600 invoked by uid 1011); 15 Sep 2005 12:31:26 -0500 Received: from 192.168.1.34 by mail.informs.com (envelope-from , uid 1009) with qmail-scanner-1.25-st-qms (clamdscan: 0.86.2/1011. spamassassin: 3.0.4. perlscan: 1.25-st-qms. Clear:RC:1(192.168.1.34):. Processed in 0.056227 secs); 15 Sep 2005 17:31:26 -0000 X-Antivirus-INFORMS-Mail-From: jking@informs.com via mail.informs.com X-Antivirus-INFORMS: 1.25-st-qms (Clear:RC:1(192.168.1.34):. Processed in 0.056227 secs Process 63594) Received: from unknown (HELO ?192.168.1.34?) (192.168.1.34) by mail.informs.com with SMTP; 15 Sep 2005 12:31:25 -0500 Message-ID: <4329AFE7.5040606@informs.com> Date: Thu, 15 Sep 2005 12:31:19 -0500 From: Jason King User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050718 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Andrea Venturoli References: <4329660E.5080601@informs.com> <432980A4.4010508@netfence.it> In-Reply-To: <432980A4.4010508@netfence.it> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Software RAID1 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Sep 2005 17:31:27 -0000 Here is the dmesg boot output ----------------------------------------------- Copyright (c) 1992-2005 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.4-RELEASE #0: Sun May 8 10:21:06 UTC 2005 root@harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel Pentium III (651.48-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x681 Stepping = 1 Features=0x383f9ff real memory = 268173312 (255 MB) avail memory = 252760064 (241 MB) pnpbios: Bad PnP BIOS data checksum npx0: on motherboard npx0: INT 16 interface acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 7.1 on pci0 ata0: channel #0 on atapci0 ata1: channel #1 on atapci0 uhci0: port 0xef80-0xef9f irq 5 at device 7.2 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered pci0: at device 7.3 (no driver attached) fxp0: port 0xef00-0xef3f mem 0xfea00000-0xfeafffff,0xfebfa000-0xfebfafff irq 7 at device 12.0 on pci0 miibus0: on fxp0 inphy0: on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:d0:b7:1e:b6:80 fxp1: port 0xee80-0xeebf mem 0xfe800000-0xfe8fffff,0xfebf9000-0xfebf9fff irq 7 at device 13.0 on pci0 miibus1: on fxp1 inphy1: on miibus1 inphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp1: Ethernet address: 00:d0:b7:1e:b6:81 pci0: at device 14.0 (no driver attached) ahc0: port 0xe800-0xe8ff mem 0xfebfb000-0xfebfbfff irq 10 at device 15.0 on pci0 aic7892: Ultra160 Wide Channel A, SCSI Id=7, 32/253 SCBs acpi_button0: on acpi0 atkbdc0: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 fdc0: port 0x3f7,0x3f4-0x3f5,0x3f2-0x3f3 irq 6 drq 2 on acpi0 fd0: <1440-KB 3.5" drive> on fdc0 drive 0 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 orm0: at iomem 0xcf800-0xd07ff,0xce800-0xcf7ff,0xc0000-0xc7fff on isa0 pmtimer0 on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 651479500 Hz quality 800 Timecounters tick every 10.000 msec acd0: CDROM at ata1-master PIO4 Waiting 15 seconds for SCSI devices to settle da0 at ahc0 bus 0 target 3 lun 0 da0: Fixed Direct Access SCSI-3 device da0: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled da0: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C) da1 at ahc0 bus 0 target 4 lun 0 da1: Fixed Direct Access SCSI-3 device da1: 160.000MB/s transfers (80.000MHz, offset 127, 16bit), Tagged Queueing Enabled da1: 35074MB (71833096 512 byte sectors: 255H 63S/T 4471C) GEOM_MIRROR: Device gm0 created (id=2346568249). GEOM_MIRROR: Device gm0: provider da1 detected. GEOM_MIRROR: Device gm0: provider da1 activated. GEOM_MIRROR: Device gm0: provider mirror/gm0 launched. Mounting root from ufs:/dev/da0s1a Pre-seeding PRNG: kickstart . Loading configuration files. Entropy harvesting: interrupts ethernet point_to_point kickstart . swapon: adding /dev/da0s1b as swap device Starting file system checks: /dev/da0s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/da0s1a: clean, 16302862 free (67062 frags, 2029475 blocks, 0.4% fragmentation) Setting hostname: mail.govdeals.com. fxp0: flags=8843 mtu 1500 options=8 inet 192.168.1.165 netmask 0xffffff00 broadcast 192.168.1.255 inet6 fe80::2d0:b7ff:fe1e:b680%fxp0 prefixlen 64 tentative scopeid 0x1 ether 00:d0:b7:1e:b6:80 media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff000000 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 add net default: gateway 192.168.1.1 Additional routing options: . Starting devd. Mounting NFS file systems: . Starting syslogd. NFS access cache time=2 ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout Starting usbd. Starting local daemons: . Updating motd . Configuring syscons: blanktime . Starting sshd. Initial i386 initialization: . Additional ABI support: linux . Starting cron. Local package initialization: . Additional TCP options: . Starting background file system checks in 60 seconds. Wed Sep 14 14:02:41 EDT 2005 Sep 14 14:03:03 mail su: jking to root on /dev/ttyp0 Andrea Venturoli wrote: > Jason King wrote: > >> I am having trouble with THESE instructions: >> http://people.freebsd.org/~rse/mirror/ >> >> I'm trying to create a RAID1 system with FreeBSD and the instructions >> are not working. I'm getting this error: >> >> mail# gmirror insert gm0 /dev/da0 >> Cannot access provider da0. >> >> The command is trying to add the first disk /dev/da0 to the mirror gm0. >> Has anyone else had success at creating a RAID1 mirror on FreeBSD. If >> so, please let me know how you did it because these instructions are not >> working at all. > > > I used that tutorial on different machines and it has always worked. > Maybe you have to substitute da0 with something else, that depends on > your hardware. Can you provide a your dmesg at boot time? > > bye > av.