From owner-freebsd-stable@FreeBSD.ORG Mon Mar 25 11:52:06 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 9E7A3D92 for ; Mon, 25 Mar 2013 11:52:06 +0000 (UTC) (envelope-from gallasch@free.de) Received: from smtp.free.de (smtp.free.de [91.204.6.103]) by mx1.freebsd.org (Postfix) with ESMTP id EA2447A0 for ; Mon, 25 Mar 2013 11:52:05 +0000 (UTC) Received: (qmail 37481 invoked from network); 25 Mar 2013 12:52:04 +0100 Received: from smtp.free.de (HELO orwell.free.de) (gallasch@free.de@[91.204.4.103]) (envelope-sender ) by smtp.free.de (qmail-ldap-1.03) with AES128-SHA encrypted SMTP for ; 25 Mar 2013 12:52:04 +0100 From: Kai Gallasch Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: gptzfsboot: error 4 lba 30 Date: Mon, 25 Mar 2013 12:52:04 +0100 Message-Id: <0F20F9F9-CBFD-48B6-8A86-82DAA4AB5BEB@free.de> To: freebsd-stable Mime-Version: 1.0 (Apple Message framework v1085) X-Mailer: Apple Mail (2.1085) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Mar 2013 11:52:06 -0000 Hi. On one of my fresh installed servers I am seeing the following output = during boot: gptzfsboot: error 4 lba 30 gptzfsboot: error 4 lba 31 gptzfsboot: error 4 lba 31 gptzfsboot: error 4 lba 31 gptzfsboot: error 4 lba 30 gptzfsboot: error 4 lba 31 gptzfsboot: error 4 lba 31 gptzfsboot: error 4 lba 31 gptzfsboot: error 4 lba 31 gptzfsboot: error 4 lba 31 gptzfsboot: error 4 lba 31 gptzfsboot: error 4 lba 31 (Not shortened, exactly those lines) The server then manages to boot from a mirrored zpool. What is the cause of error 4 lba 30/31 ? - controller is a hp/compaq p400 (ciss) - da0 - da7 are raid0 volumes (controller not jbod capable) - freebsd 9.1 REL (same error message with 9-STABLE from 2013-03-24) - server is zfs-only # diskinfo -v da0 da0 512 # sectorsize 146778685440 # mediasize in bytes (136G) 286677120 # mediasize in sectors 0 # stripesize 0 # stripeoffset 35132 # Cylinders according to firmware. 255 # Heads according to firmware. 32 # Sectors according to firmware. P61620D9SUP9ZS # Disk ident. # gpart show =3D> 34 286677053 da0 GPT (136G) 34 256 1 freebsd-boot (128k) 290 286676797 2 freebsd-zfs (136G) =3D> 34 286677053 da1 GPT (136G) 34 256 1 freebsd-boot (128k) 290 286676797 2 freebsd-zfs (136G) Could this be drive geometry releated? (The hp/compaq raid0 drive is = just presented to the O/S and is not identical to the raw device, = because of raidcontroller on-disk meta information) If I remember = correctly the the hp raid configuration tool also offers the possibility = to create raid0 drives with 63 sector geometry. Regards, Kai. --- dmesg --- 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.1-RELEASE #0 r243825: Tue Dec 4 09:23:10 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC amd64 CPU: Quad-Core AMD Opteron(tm) Processor 2389 (2900.17-MHz K8-class CPU) Origin =3D "AuthenticAMD" Id =3D 0x100f42 Family =3D 10 Model =3D 4 = Stepping =3D 2 = Features=3D0x178bfbff Features2=3D0x802009 AMD = Features=3D0xee500800 AMD = Features2=3D0x37ff TSC: P-state invariant real memory =3D 30064771072 (28672 MB) avail memory =3D 28952248320 (27611 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 2 package(s) x 4 core(s) cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 cpu4 (AP): APIC ID: 4 cpu5 (AP): APIC ID: 5 cpu6 (AP): APIC ID: 6 cpu7 (AP): APIC ID: 7 ioapic0 irqs 0-15 on motherboard ioapic1 irqs 16-31 on motherboard ioapic2 irqs 32-47 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: Power Button (fixed) cpu0: on acpi0 cpu1: on acpi0 cpu2: on acpi0 cpu3: on acpi0 cpu4: on acpi0 cpu5: on acpi0 cpu6: on acpi0 cpu7: on acpi0 attimer0: port 0x40-0x43 irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 atrtc0: port 0x70-0x71 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 acpi_timer0: <32-bit timer at 3.579545MHz> port 0x920-0x923 on acpi0 pcib0: on acpi0 pcib0: Length mismatch for 4 range: 918 vs 917 pci0: on pcib0 vgapci0: port 0x1000-0x10ff mem = 0xe8000000-0xefffffff,0xf7ff0000-0xf7ffffff irq 44 at device 3.0 on pci0 pci0: at device 4.0 (no driver attached) pci0: at device 4.2 (no driver attached) uhci0: port 0x1800-0x181f irq 45 at = device 4.4 on pci0 usbus0 on uhci0 pci0: at device 4.6 (no driver attached) pcib1: at device 5.0 on pci0 pci1: on pcib1 pcib2: at device 13.0 on pci1 pci2: on pcib2 177,0x376,0x500-0x50f at device 6.1 on pci0 ata0: at channel 0 on atapci0 ata1: at channel 1 on atapci0 isab0: at device 6.2 on pci0 isa0: on isab0 ohci0: port 0x1c00-0x1cff mem = 0xf7ee0000-0xf7ee0fff irq 5 at device 7.0 on pci0 usbus1 on ohci0 ohci1: port 0x3000-0x30ff mem = 0xf7ed0000-0xf7ed0fff irq 5 at device 7.1 on pci0 usbus2 on ohci1 ehci0: port 0x3400-0x34ff mem = 0xf7ec0000-0xf7ec0fff irq 5 at device 7.2 on pci0 usbus3: EHCI version 1.0 usbus3 on ehci0 pcib3: irq 42 at device 15.0 on pci0 pci5: on pcib3 pcib4: irq 38 at device 16.0 on pci0 pci8: on pcib4 pcib5: irq 39 at device 17.0 on pci0 pci14: on pcib5 pcib6: irq 40 at device 18.0 on pci0 pci11: on pcib6 pcib7: irq 41 at device 19.0 on pci0 pci3: on pcib7 pcib8: at device 0.0 on pci3 pci4: on pcib8 bce0: mem = 0xf8000000-0xf9ffffff irq 41 at device 0.0 on pci4 bce0: /usr/src/sys/dev/bce/if_bce.c(1258): Management firmware enabled = but not running! miibus0: on bce0 brgphy0: PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, = 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bce0: Ethernet address: 00:1b:78:38:dd:02 bce0: ASIC (0x57081020); Rev (B2); Bus (PCI-X, 64-bit, 133MHz); B/C = (1.9.6); Bufs (RX:2;TX:2;PG:8); Flags (SPLT|MSI|MFW); MFW (NOT RUNNING!) Coal (RX:6,6,18,18; TX:20,20,80,80) pcib9: on acpi0 pci64: on pcib9 pcib10: irq 36 at device 15.0 on pci64 pci67: on pcib10 pcib11: irq 32 at device 16.0 on pci64 pci70: on pcib11 0000-0xfdef0fff irq 32 at device 0.0 on pci70 ciss0: PERFORMANT Transport pcib12: irq 33 at device 17.0 on pci64 pci73: on pcib12 pcib13: irq 34 at device 18.0 on pci64 pci65: on pcib13 pcib14: at device 0.0 on pci65 pci66: on pcib14 bce1: mem = 0xfa000000-0xfbffffff irq 34 at device 0.0 on pci66 bce1: /usr/src/sys/dev/bce/if_bce.c(1258): Management firmware enabled = but not running! miibus1: on bce1 brgphy1: PHY 1 on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, = 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bce1: Ethernet address: 00:1b:78:38:dd:00 bce1: ASIC (0x57081020); Rev (B2); Bus (PCI-X, 64-bit, 133MHz); B/C = (1.9.6); Bufs (RX:2;TX:2;PG:8); Flags (SPLT|MSI|MFW); MFW (NOT RUNNING!) Coal (RX:6,6,18,18; TX:20,20,80,80) pcib15: irq 35 at device 19.0 on pci64 pci74: on pcib15 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse, device ID 3 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart0: console (9600,n,8,1) orm0: at iomem = 0xc0000-0xcafff,0xcb000-0xcefff,0xe5000-0xe6fff 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 ppc0: cannot reserve I/O port range uart1: at port 0x2f8-0x2ff = irq 3 on isa0 ctl: CAM Target Layer loaded hwpstate0: on cpu0 ZFS filesystem version 5 ZFS storage pool version 28 Timecounters tick every 1.000 msec usbus0: 12Mbps Full Speed USB v1.0 usbus1: 12Mbps Full Speed USB v1.0 ugen0.1: <0x103c> at usbus0 uhub0: <0x103c UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on = usbus0 ugen1.1: <0x1166> at usbus1 uhub1: <0x1166 OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on = usbus1 usbus2: 12Mbps Full Speed USB v1.0 usbus3: 480Mbps High Speed USB v2.0 ugen2.1: <0x1166> at usbus2 uhub2: <0x1166 OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on = usbus2 ugen3.1: <0x1166> at usbus3 uhub3: <0x1166 EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on = usbus3 uhub1: 2 ports with 2 removable, self powered uhub2: 2 ports with 2 removable, self powered uhub0: 2 ports with 2 removable, self powered bce0: bce_pulse(): Warning: bootcode thinks driver is absent! (bc_state = =3D 0x00000006) bce1: bce_pulse(): Warning: bootcode thinks driver is absent! (bc_state = =3D 0x00000006) ugen0.2: at usbus0 ukbd0: on usbus0 kbd2 at ukbd0 ums0: on usbus0 ums0: 3 buttons and [XY] coordinates ID=3D0 uhub3: 4 ports with 4 removable, self powered ugen3.2: at usbus3 uhub4: = on usbus3 uhub4: MTT enabled (probe0:ciss0:0:0:0): REPORT LUNS. CDB: a0 0 0 0 0 0 0 0 0 10 0 0=20 (probe0:ciss0:0:0:0): CAM status: SCSI Status Error (probe0:ciss0:0:0:0): SCSI status: Check Condition (probe0:ciss0:0:0:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid = command operation code) (probe0:ciss0:0:0:0): Error 22, Unretryable error (probe1:ciss0:0:1:0): REPORT LUNS. CDB: a0 0 0 0 0 0 0 0 0 10 0 0=20 (probe1:ciss0:0:1:0): CAM status: SCSI Status Error (probe1:ciss0:0:1:0): SCSI status: Check Condition (probe1:ciss0:0:1:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid = command operation code) (probe1:ciss0:0:1:0): Error 22, Unretryable error (probe2:ciss0:0:2:0): REPORT LUNS. CDB: a0 0 0 0 0 0 0 0 0 10 0 0=20 (probe2:ciss0:0:2:0): CAM status: SCSI Status Error (probe2:ciss0:0:2:0): SCSI status: Check Condition (probe2:ciss0:0:2:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid = command operation code) (probe2:ciss0:0:2:0): Error 22, Unretryable error (probe3:ciss0:0:3:0): REPORT LUNS. CDB: a0 0 0 0 0 0 0 0 0 10 0 0=20 (probe3:ciss0:0:3:0): CAM status: SCSI Status Error (probe3:ciss0:0:3:0): SCSI status: Check Condition (probe3:ciss0:0:3:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid = command operation code) (probe3:ciss0:0:3:0): Error 22, Unretryable error (probe4:ciss0:0:4:0): REPORT LUNS. CDB: a0 0 0 0 0 0 0 0 0 10 0 0=20 (probe4:ciss0:0:4:0): CAM status: SCSI Status Error (probe4:ciss0:0:4:0): SCSI status: Check Condition (probe4:ciss0:0:4:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid = command operation code) (probe4:ciss0:0:4:0): Error 22, Unretryable error (probe5:ciss0:0:5:0): REPORT LUNS. CDB: a0 0 0 0 0 0 0 0 0 10 0 0=20 (probe5:ciss0:0:5:0): CAM status: SCSI Status Error (probe5:ciss0:0:5:0): SCSI status: Check Condition (probe5:ciss0:0:5:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid = command operation code) (probe5:ciss0:0:5:0): Error 22, Unretryable error (probe6:ciss0:0:6:0): REPORT LUNS. CDB: a0 0 0 0 0 0 0 0 0 10 0 0=20 (probe6:ciss0:0:6:0): CAM status: SCSI Status Error (probe6:ciss0:0:6:0): SCSI status: Check Condition (probe6:ciss0:0:6:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid = command operation code) (probe6:ciss0:0:6:0): Error 22, Unretryable error (probe7:ciss0:0:7:0): REPORT LUNS. CDB: a0 0 0 0 0 0 0 0 0 10 0 0=20 (probe7:ciss0:0:7:0): CAM status: SCSI Status Error (probe7:ciss0:0:7:0): SCSI status: Check Condition (probe7:ciss0:0:7:0): SCSI sense: ILLEGAL REQUEST asc:20,0 (Invalid = command operation code) (probe7:ciss0:0:7:0): Error 22, Unretryable error uhub4: 4 ports with 4 removable, self powered da0 at ciss0 bus 0 scbus2 target 0 lun 0 cd0 at ata0 bus 0 scbus0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device=20 cd0: 33.300MB/s transfers (UDMA2, ATAPI 12bytes, PIO 65534bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present = - tray closed da0: Fixed Direct Access SCSI-5 device=20 da0: 135.168MB/s transfers da0: Command Queueing enabled da0: 139979MB (286677120 512 byte sectors: 255H 32S/T 35132C) da1 at ciss0 bus 0 scbus2 target 1 lun 0 da1: Fixed Direct Access SCSI-5 device=20 da1: 135.168MB/s transfers da1: Command Queueing enabled da1: 139979MB (286677120 512 byte sectors: 255H 32S/T 35132C) da2 at ciss0 bus 0 scbus2 target 2 lun 0 da2: Fixed Direct Access SCSI-5 device=20 da2: 135.168MB/s transfers da2: Command Queueing enabled da2: 139979MB (286677120 512 byte sectors: 255H 32S/T 35132C) da3 at ciss0 bus 0 scbus2 target 3 lun 0 da3: Fixed Direct Access SCSI-5 device=20 da3: 135.168MB/s transfers da3: Command Queueing enabled da3: 139979MB (286677120 512 byte sectors: 255H 32S/T 35132C) da4 at ciss0 bus 0 scbus2 target 4 lun 0 da4: Fixed Direct Access SCSI-5 device=20 da4: 135.168MB/s transfers da4: Command Queueing enabled da4: 139979MB (286677120 512 byte sectors: 255H 32S/T 35132C) da5 at ciss0 bus 0 scbus2 target 5 lun 0 da5: Fixed Direct Access SCSI-5 device=20 da5: 135.168MB/s transfers da5: Command Queueing enabled da5: 139979MB (286677120 512 byte sectors: 255H 32S/T 35132C) da6 at ciss0 bus 0 scbus2 target 6 lun 0 da6: Fixed Direct Access SCSI-5 device=20 da6: 135.168MB/s transfers da6: Command Queueing enabled da6: 139979MB (286677120 512 byte sectors: 255H 32S/T 35132C) da7 at ciss0 bus 0 scbus2 target 7 lun 0 da7: Fixed Direct Access SCSI-5 device=20 da7: 135.168MB/s transfers da7: Command Queueing enabled da7: 139979MB (286677120 512 byte sectors: 255H 32S/T 35132C) SMP: AP CPU #4 Launched! SMP: AP CPU #7 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #5 Launched! SMP: AP CPU #6 Launched! SMP: AP CPU #1 Launched! Timecounter "TSC-low" frequency 11328785 Hz quality 800 Root mount waiting for: usbus3 ugen3.3: at usbus3 umass0: on usbus3 umass0: SCSI over Bulk-Only; quirks =3D 0x0100 umass0:5:0:-1: Attached to scbus5 da8 at umass-sim0 bus 0 scbus5 target 0 lun 0 da8: Removable Direct Access SCSI-4 device=20= da8: 40.000MB/s transfers da8: 3861MB (7907328 512 byte sectors: 255H 63S/T 492C) GEOM: da8: geometry does not match label (64h,33s !=3D 255h,63s). GEOM: da8: media size does not match label. Trying to mount root from zfs:rpool/ROOT/default []... bce0: Gigabit link up!=