gptzfsboot: error 4 lba 30

Kai Gallasch gallasch at free.de
Mon Mar 25 11:52:06 UTC 2013


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
=>       34  286677053  da0  GPT  (136G)
         34        256    1  freebsd-boot  (128k)
        290  286676797    2  freebsd-zfs  (136G)

=>       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 at 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 = "AuthenticAMD"  Id = 0x100f42  Family = 10  Model = 4  Stepping = 2
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x802009<SSE3,MON,CX16,POPCNT>
  AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
  AMD Features2=0x37ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT>
  TSC: P-state invariant
real memory  = 30064771072 (28672 MB)
avail memory = 28952248320 (27611 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <HP     ProLiant>
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 <Version 1.1> irqs 0-15 on motherboard
ioapic1 <Version 1.1> irqs 16-31 on motherboard
ioapic2 <Version 1.1> irqs 32-47 on motherboard
kbd1 at kbdmux0
acpi0: <HP ProLiant> on motherboard
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
cpu4: <ACPI CPU> on acpi0
cpu5: <ACPI CPU> on acpi0
cpu6: <ACPI CPU> on acpi0
cpu7: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
atrtc0: <AT realtime clock> 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: <ACPI Host-PCI bridge> on acpi0
pcib0: Length mismatch for 4 range: 918 vs 917
pci0: <ACPI PCI bus> on pcib0
vgapci0: <VGA-compatible display> port 0x1000-0x10ff mem 0xe8000000-0xefffffff,0xf7ff0000-0xf7ffffff irq 44 at device 3.0 on pci0
pci0: <base peripheral> at device 4.0 (no driver attached)
pci0: <base peripheral> at device 4.2 (no driver attached)
uhci0: <UHCI (generic) USB controller> port 0x1800-0x181f irq 45 at device 4.4 on pci0
usbus0 on uhci0
pci0: <serial bus> at device 4.6 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 5.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 13.0 on pci1
pci2: <ACPI PCI bus> on pcib2
177,0x376,0x500-0x50f at device 6.1 on pci0
ata0: <ATA channel> at channel 0 on atapci0
ata1: <ATA channel> at channel 1 on atapci0
isab0: <PCI-ISA bridge> at device 6.2 on pci0
isa0: <ISA bus> on isab0
ohci0: <OHCI (generic) USB controller> port 0x1c00-0x1cff mem 0xf7ee0000-0xf7ee0fff irq 5 at device 7.0 on pci0
usbus1 on ohci0
ohci1: <OHCI (generic) USB controller> port 0x3000-0x30ff mem 0xf7ed0000-0xf7ed0fff irq 5 at device 7.1 on pci0
usbus2 on ohci1
ehci0: <EHCI (generic) USB 2.0 controller> port 0x3400-0x34ff mem 0xf7ec0000-0xf7ec0fff irq 5 at device 7.2 on pci0
usbus3: EHCI version 1.0
usbus3 on ehci0
pcib3: <ACPI PCI-PCI bridge> irq 42 at device 15.0 on pci0
pci5: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> irq 38 at device 16.0 on pci0
pci8: <ACPI PCI bus> on pcib4
pcib5: <PCI-PCI bridge> irq 39 at device 17.0 on pci0
pci14: <PCI bus> on pcib5
pcib6: <ACPI PCI-PCI bridge> irq 40 at device 18.0 on pci0
pci11: <ACPI PCI bus> on pcib6
pcib7: <ACPI PCI-PCI bridge> irq 41 at device 19.0 on pci0
pci3: <ACPI PCI bus> on pcib7
pcib8: <PCI-PCI bridge> at device 0.0 on pci3
pci4: <PCI bus> on pcib8
bce0: <HP NC373i Multifunction Gigabit Server Adapter (B2)> 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: <MII bus> on bce0
brgphy0: <BCM5708C 1000BASE-T media interface> 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: <ACPI Host-PCI bridge> on acpi0
pci64: <ACPI PCI bus> on pcib9
pcib10: <ACPI PCI-PCI bridge> irq 36 at device 15.0 on pci64
pci67: <ACPI PCI bus> on pcib10
pcib11: <ACPI PCI-PCI bridge> irq 32 at device 16.0 on pci64
pci70: <ACPI PCI bus> on pcib11
0000-0xfdef0fff irq 32 at device 0.0 on pci70
ciss0: PERFORMANT Transport
pcib12: <PCI-PCI bridge> irq 33 at device 17.0 on pci64
pci73: <PCI bus> on pcib12
pcib13: <ACPI PCI-PCI bridge> irq 34 at device 18.0 on pci64
pci65: <ACPI PCI bus> on pcib13
pcib14: <PCI-PCI bridge> at device 0.0 on pci65
pci66: <PCI bus> on pcib14
bce1: <HP NC373i Multifunction Gigabit Server Adapter (B2)> 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: <MII bus> on bce1
brgphy1: <BCM5708C 1000BASE-T media interface> 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: <PCI-PCI bridge> irq 35 at device 19.0 on pci64
pci74: <PCI bus> on pcib15
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> 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: <ISA Option ROMs> at iomem 0xc0000-0xcafff,0xcb000-0xcefff,0xe5000-0xe6fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: cannot reserve I/O port range
uart1: <Non-standard ns8250 class UART with FIFOs> at port 0x2f8-0x2ff irq 3 on isa0
ctl: CAM Target Layer loaded
hwpstate0: <Cool`n'Quiet 2.0> 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 = 0x00000006)
bce1: bce_pulse(): Warning: bootcode thinks driver is absent! (bc_state = 0x00000006)
ugen0.2: <HP> at usbus0
ukbd0: <Virtual Keyboard> on usbus0
kbd2 at ukbd0
ums0: <Virtual Mouse> on usbus0
ums0: 3 buttons and [XY] coordinates ID=0
uhub3: 4 ports with 4 removable, self powered
ugen3.2: <vendor 0x04b4> at usbus3
uhub4: <vendor 0x04b4 product 0x6560, class 9/0, rev 2.00/0.0b, addr 2> 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 
(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 
(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 
(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 
(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 
(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 
(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 
(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 
(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: <TSSTcorp CDW/DVD TS-L462D HG01> Removable CD-ROM SCSI-0 device 
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: <COMPAQ RAID 0  VOLUME OK> Fixed Direct Access SCSI-5 device 
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: <COMPAQ RAID 0  VOLUME OK> Fixed Direct Access SCSI-5 device 
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: <COMPAQ RAID 0  VOLUME OK> Fixed Direct Access SCSI-5 device 
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: <COMPAQ RAID 0  VOLUME OK> Fixed Direct Access SCSI-5 device 
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: <COMPAQ RAID 0  VOLUME OK> Fixed Direct Access SCSI-5 device 
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: <COMPAQ RAID 0  VOLUME OK> Fixed Direct Access SCSI-5 device 
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: <COMPAQ RAID 0  VOLUME OK> Fixed Direct Access SCSI-5 device 
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: <COMPAQ RAID 0  VOLUME OK> Fixed Direct Access SCSI-5 device 
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: <JetFlash> at usbus3
umass0: <JetFlash Mass Storage Device, class 0/0, rev 2.00/11.00, addr 3> on usbus3
umass0:  SCSI over Bulk-Only; quirks = 0x0100
umass0:5:0:-1: Attached to scbus5
da8 at umass-sim0 bus 0 scbus5 target 0 lun 0
da8: <JetFlash Transcend 4GB 1100> Removable Direct Access SCSI-4 device 
da8: 40.000MB/s transfers
da8: 3861MB (7907328 512 byte sectors: 255H 63S/T 492C)
GEOM: da8: geometry does not match label (64h,33s != 255h,63s).
GEOM: da8: media size does not match label.
Trying to mount root from zfs:rpool/ROOT/default []...
bce0: Gigabit link up!


More information about the freebsd-stable mailing list