From owner-freebsd-questions@FreeBSD.ORG Tue Jan 17 20:52:31 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CF0991065672 for ; Tue, 17 Jan 2012 20:52:31 +0000 (UTC) (envelope-from khera@kcilink.com) Received: from yertle.kcilink.com (yertle-comcast.kcilink.com [74.92.149.58]) by mx1.freebsd.org (Postfix) with ESMTP id 703058FC16 for ; Tue, 17 Jan 2012 20:52:31 +0000 (UTC) Received: from vick.int.kcilink.com (vick.int.kcilink.com [192.168.7.80]) by yertle.kcilink.com (Postfix) with ESMTP id AFC3E8A172 for ; Tue, 17 Jan 2012 15:35:33 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kcilink.com; s=kci0709; t=1326832533; bh=AJb+CXFgQuPGw+09sAe3JXXAs6/6ezR/Vmouz9VrbZw=; h=From:Content-Type:Content-Transfer-Encoding:Subject:Date: Message-Id:To:Mime-Version; b=ESLm+yVUm/RfPB1mvkeOLfygk7ttN6Gkqqq21DFxYlHx+QK+06eN0LpuzpYD8EkbK bIsEEbnDcoof1gpRLvWTlRz5wbEn5sHtBWvWYRAtxm+QJxSOXmjb9lHfIWVkowtr8Y 8P3VFEJOrrRF1cH/B5XmuYZBa8bA+7zUVKyFrS8M= From: Vick Khera Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Date: Tue, 17 Jan 2012 15:35:33 -0500 Message-Id: To: freebsd-questions Mime-Version: 1.0 (Apple Message framework v1251.1) X-Mailer: Apple Mail (2.1251.1) Subject: gmirror failure booting 9.0 kernel upgrading from 8.2 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: Tue, 17 Jan 2012 20:52:32 -0000 I'm trying to upgrade a brand new server from 8.2 to 9.0 via source. = I've done this upgrade twice so far, once on a vmware test system, and = once on a Sun X4100m2, both with success. On this system, which is a Supermicro motherboard, I have gmirror boot = disk. The other two did not (hardware RAID on the Sun). The boot fails as follows. The gmirror is not degraded. The part that = concerns me is this: GEOM_PART: integrity check failed (mirror/gm0, MBR) This is loading a custom kernel, which pulls in geom_mirror as a module. I think the issue is that I have to convince gmirror to use ada0 and = ada1 instead of ad4 and ad6 as the component devices. How does one = accomplish this if one cannot boot? The server is remote, so plugging = in the memstick image will be tricky :) KDB: debugger backends: ddb KDB: current backend: ddb Copyright (c) 1992-2012 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 is a registered trademark of The FreeBSD Foundation. FreeBSD 9.0-RELEASE #0: Tue Jan 17 14:49:58 EST 2012 = vivek@lorax.kcilink.com:/u/lorax1/usr9/obj.amd64/u/lorax1/usr9/src/sys/KCI= 64 amd64 CPU: Intel(R) Xeon(R) CPU E31220 @ 3.10GHz (3093.04-MHz K8-class CPU) Origin =3D "GenuineIntel" Id =3D 0x206a7 Family =3D 6 Model =3D 2a = Stepping =3D 7 = Features=3D0xbfebfbff = Features2=3D0x15bae3ff AMD Features=3D0x28100800 AMD Features2=3D0x1 TSC: P-state invariant, performance statistics real memory =3D 8589934592 (8192 MB) avail memory =3D 8229543936 (7848 MB) Event timer "LAPIC" quality 600 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 2 cpu2 (AP): APIC ID: 4 cpu3 (AP): APIC ID: 6 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0 cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 22.0 (no driver attached) pci0: at device 22.1 (no driver attached) ehci0: mem 0xfbd03000-0xfbd033ff irq = 16 at device 26.0 on pci0 usbus0: EHCI version 1.0 usbus0: on ehci0 pcib1: irq 16 at device 28.0 on pci0 pci1: on pcib1 pcib2: irq 16 at device 28.4 on pci0 pci2: on pcib2 em0: port 0xe000-0xe01f mem = 0xfbc00000-0xfbc1ffff,0xfbc20000-0xfbc23fff irq 16 at device 0.0 on pci2 em0: Using MSIX interrupts with 3 vectors em0: Ethernet address: 00:25:90:51:a3:aa pcib3: irq 17 at device 28.5 on pci0 pci3: on pcib3 em1: port 0xd000-0xd01f mem = 0xfbb00000-0xfbb1ffff,0xfbb20000-0xfbb23fff irq 17 at device 0.0 on pci3 em1: Using MSIX interrupts with 3 vectors em1: Ethernet address: 00:25:90:51:a3:ab pcib4: irq 18 at device 28.6 on pci0 pci4: on pcib4 em2: port 0xc000-0xc01f mem = 0xfba00000-0xfba1ffff,0xfba20000-0xfba23fff irq 18 at device 0.0 on pci4 em2: Using MSIX interrupts with 3 vectors em2: Ethernet address: 00:25:90:51:a3:ac pcib5: irq 19 at device 28.7 on pci0 pci5: on pcib5 em3: port 0xb000-0xb01f mem = 0xfb900000-0xfb91ffff,0xfb920000-0xfb923fff irq 19 at device 0.0 on pci5 em3: Using MSIX interrupts with 3 vectors em3: Ethernet address: 00:25:90:51:a3:ad ehci1: mem 0xfbd02000-0xfbd023ff irq = 23 at device 29.0 on pci0 usbus1: EHCI version 1.0 usbus1: on ehci1 pcib6: at device 30.0 on pci0 pci6: on pcib6 vgapci0: mem = 0xfa000000-0xfaffffff,0xfb800000-0xfb803fff,0xfb000000-0xfb7fffff irq 23 = at device 3.0 on pci6 isab0: at device 31.0 on pci0 isa0: on isab0 ahci0: port = 0xf050-0xf057,0xf040-0xf043,0xf030-0xf037,0xf020-0xf023,0xf000-0xf01f = mem 0xfbd01000-0xfbd017ff irq 19 at device 31.2 on pci0 ahci0: AHCI v1.30 with 6 6Gbps ports, Port Multiplier not supported ahcich0: at channel 0 on ahci0 ahcich1: at channel 1 on ahci0 ahcich2: at channel 2 on ahci0 ahcich3: at channel 3 on ahci0 ahcich4: at channel 4 on ahci0 ahcich5: at channel 5 on ahci0 pci0: at device 31.3 (no driver attached) acpi_button0: on acpi0 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 550 Event timer "HPET1" frequency 14318180 Hz quality 440 Event timer "HPET2" frequency 14318180 Hz quality 440 Event timer "HPET3" frequency 14318180 Hz quality 440 Event timer "HPET4" frequency 14318180 Hz quality 440 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 atrtc0: port 0x70-0x71 irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: console (115200,n,8,1) uart2: <16550 or compatible> port 0x3e8-0x3ef irq 10 on acpi0 ipmi0: on isa0 ipmi0: KCS mode found at io 0xca2 alignment 0x1 on isa orm0: at iomem 0xc0000-0xc7fff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on = isa0 coretemp0: on cpu0 acpi_throttle0: on cpu0 coretemp1: on cpu1 acpi_throttle1: on cpu1 acpi_throttle1: failed to attach P_CNT device_attach: acpi_throttle1 attach returned 6 coretemp2: on cpu2 acpi_throttle2: on cpu2 acpi_throttle2: failed to attach P_CNT device_attach: acpi_throttle2 attach returned 6 coretemp3: on cpu3 acpi_throttle3: on cpu3 acpi_throttle3: failed to attach P_CNT device_attach: acpi_throttle3 attach returned 6 Timecounters tick every 1.000 msec ipfw2 (+ipv6) initialized, divert loadable, nat loadable, rule-based = forwarding disabled, default to accept, logging disabled usbus0: 480Mbps High Speed USB v2.0 usbus1: 480Mbps High Speed USB v2.0 ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 ipmi0: IPMI device rev. 1, firmware rev. 1.14, version 2.0 ipmi0: Number of channels 2 ipmi0: Attached watchdog ada0 at ahcich0 bus 0 scbus0 target 0 lun 0 ada0: ATA-8 SATA 2.x device ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada0: Command Queueing enabled ada0: 30533MB (62532288 512 byte sectors: 16H 63S/T 16383C) ada0: Previously was known as ad4 ada1 at ahcich1 bus 0 scbus1 target 0 lun 0 ada1: ATA-8 SATA 2.x device ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes) ada1: Command Queueing enabled ada1: 30533MB (62532288 512 byte sectors: 16H 63S/T 16383C) ada1: Previously was known as ad6 SMP: AP CPU #1 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #2 Launched! GEOM_MIRROR: Device mirror/gm0 launched (2/2). Timecounter "TSC-low" frequency 12082188 Hz quality 1000 GEOM_PART: integrity check failed (mirror/gm0, MBR) uhub0: 2 ports with 2 removable, self powered uhub1: 2 ports with 2 removable, self powered Root mount waiting for: usbus1 usbus0 ugen0.2: at usbus0 uhub2: = on usbus0 ugen1.2: at usbus1 uhub3: = on usbus1 Root mount waiting for: usbus1 usbus0 uhub2: 6 ports with 6 removable, self powered uhub3: 6 ports with 6 removable, self powered ugen0.3: at usbus0 ukbd0: on usbus0 kbd2 at ukbd0 Trying to mount root from ufs:/dev/ufs/root [rw]... mountroot: waiting for device /dev/ufs/root ... Mounting from ufs:/dev/ufs/root failed with error 19. Loader variables: vfs.root.mountfrom=3Dufs:/dev/ufs/root vfs.root.mountfrom.options=3Drw Manual root filesystem specification: : [options] Mount using filesystem and with the specified (optional) option list. eg. ufs:/dev/da0s1a zfs:tank cd9660:/dev/acd0 ro (which is equivalent to: mount -t cd9660 -o ro /dev/acd0 /) ? List valid disk boot devices . Yield 1 second (for background tasks) Abort manual input mountroot> ? List of GEOM managed disk devices: mirror/gm0 ada1 ada0 mountroot> ufs:/dev/mirror/gm0 Trying to mount root from ufs:/dev/mirror/gm0 []... Mounting from ufs:/dev/mirror/gm0 failed with error 22. mountroot> ufs:/dev/ada0 Trying to mount root from ufs:/dev/ada0 []... Mounting from ufs:/dev/ada0 failed with error 22. mountroot>=20