8.0-B4 gstripe / GEOM_PART_* upgrade woes

Stephen Hurd shurd at sasktel.net
Fri Sep 11 09:24:00 UTC 2009


I've upgraded from 7.2-RELEASE_p2 to 8.0-BETA4 and using GEOM_PART_* 
with my sliced gstripe array causes the /dev/stripe/raid0a to disappear 
and the reset of the /dev/stripe/raid0[a-z] file systems to be unmountable.

My gvinum array is still working fine and, after chasing the ad* slices, 
they can be mounted as well.  It's just the gstripe slices which are 
corrupt/missing.

When I build without GEOM_PART_* and use GEOM_BSD and GEOM_MBR, it works 
fine.

I've attached an archive with various command outputs which may be 
helpfull... the 8.0 directory is 8.0 with GEOM_PART_* and 8.0-OLD is 
using GEOM_BSD and GEOM_MBR.  I'll paste the 8.0 ones in here in case 
attachments are stripped:

=========== dmesg ==============
Copyright (c) 1992-2009 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 8.0-BETA4 #0: Thu Sep 10 17:00:11 PDT 2009
    admin at ace.hurd.local:/tmp/obj/usr/src/sys/ACE
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 2.40GHz (2394.77-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf27  Stepping = 7
  
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0x4400<CNXT-ID,xTPR>
real memory  = 1342013440 (1279 MB)
avail memory = 1299419136 (1239 MB)
ACPI APIC Table: <IBM    SERONYXP>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 2 package(s) x 1 core(s) x 2 HTT threads
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP/HT): APIC ID:  1
 cpu2 (AP): APIC ID:  6
 cpu3 (AP/HT): APIC ID:  7
MADT: Forcing active-low polarity and level trigger for SCI
ioapic2 <Version 1.1> irqs 32-47 on motherboard
ioapic1 <Version 1.1> irqs 16-31 on motherboard
ioapic0 <Version 1.1> irqs 0-15 on motherboard
kbd1 at kbdmux0
smbios0: <System Management BIOS> at iomem 0xfdfe0-0xfdffe on motherboard
smbios0: Version: 2.3, BCD Revision: 2.3
acpi0: <IBM SERONYXP> on motherboard
acpi0: [ITHREAD]
acpi0: Power Button (fixed)
acpi0: reservation of 460, 2 (4) failed
Timecounter "ACPI-safe" frequency 3579545 Hz quality 850
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x488-0x48b on acpi0
pcib0: <ACPI Host-PCI bridge> on acpi0
pci0: <ACPI PCI bus> on pcib0
pcm0: <Creative CT5880-C> port 0x2200-0x223f irq 16 at device 1.0 on pci0
pcm0: <SigmaTel STAC9721/23 AC97 Codec>
pcm0: [ITHREAD]
pcm0: <Playback: DAC1,DAC2 / Record: ADC>
vgapci0: <VGA-compatible display> port 0x2300-0x23ff mem 
0xfd000000-0xfdffffff,0xfebff000-0xfebfffff irq 26 at device 9.0 on pci0
drm0: <Rage XL> on vgapci0
vgapci0: child drm0 requested pci_enable_busmaster
info: [drm] Initialized mach64 2.0.0 20060718
atapci0: <ServerWorks CSB5 UDMA100 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x700-0x70f at device 15.1 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
ohci0: <OHCI (generic) USB controller> mem 0xfebfe000-0xfebfefff irq 11 
at device 15.2 on pci0
ohci0: [ITHREAD]
usbus0: <OHCI (generic) USB controller> on ohci0
isab0: <PCI-ISA bridge> at device 15.3 on pci0
isa0: <ISA bus> on isab0
pcib1: <ACPI Host-PCI bridge> on acpi0
pci2: <ACPI PCI bus> on pcib1
bge0: <Broadcom NetXtreme Gigabit Ethernet Controller, ASIC rev. 0x1002> 
mem 0xfbff0000-0xfbffffff irq 29 at device 8.0 on pci2
miibus0: <MII bus> on bge0
brgphy0: <BCM5703 10/100/1000baseTX PHY> PHY 1 on miibus0
brgphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
bge0: Ethernet address: 00:02:55:07:57:03
bge0: [ITHREAD]
pcib2: <ACPI Host-PCI bridge> on acpi0
pci5: <ACPI PCI bus> on pcib2
mpt0: <LSILogic 1030 Ultra4 Adapter> port 0x2400-0x24ff mem 
0xf9ff0000-0xf9ffffff,0xf9fe0000-0xf9feffff irq 27 at device 7.0 on pci5
mpt0: [ITHREAD]
mpt0: MPI Version=1.2.15.0
mpt0: Capabilities: ( RAID-1 SAFTE )
mpt0: 0 Active Volumes (1 Max)
mpt0: 0 Hidden Drive Members (6 Max)
mpt1: <LSILogic 1030 Ultra4 Adapter> port 0x2500-0x25ff mem 
0xf9fd0000-0xf9fdffff,0xf9fc0000-0xf9fcffff irq 28 at device 7.1 on pci5
mpt1: [ITHREAD]
mpt1: MPI Version=1.2.15.0
mpt1: Capabilities: ( RAID-1 SAFTE )
mpt1: 0 Active Volumes (1 Max)
mpt1: 0 Hidden Drive Members (6 Max)
pcib3: <ACPI Host-PCI bridge> on acpi0
pci7: <ACPI PCI bus> on pcib3
pcib4: <ACPI Host-PCI bridge> on acpi0
pci9: <ACPI PCI bus> on pcib4
fdc0: <floppy drive controller> port 0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FILTER]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atrtc0: <AT realtime clock> port 0x70-0x73 irq 8 on acpi0
cpu0: <ACPI CPU> on acpi0
p4tcc0: <CPU Frequency Thermal Control> on cpu0
cpu1: <ACPI CPU> on acpi0
p4tcc1: <CPU Frequency Thermal Control> on cpu1
cpu2: <ACPI CPU> on acpi0
p4tcc2: <CPU Frequency Thermal Control> on cpu2
cpu3: <ACPI CPU> on acpi0
p4tcc3: <CPU Frequency Thermal Control> on cpu3
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff pnpid ORM0000 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
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: [ITHREAD]
psm0: model IntelliMouse, device ID 3
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppc0: [ITHREAD]
ppbus0: <Parallel port bus> on ppc0
lpt0: <Printer> on ppbus0
lpt0: [ITHREAD]
lpt0: Interrupt-driven port
Timecounters tick every 0.838 msec
ipfw2 (+ipv6) initialized, divert enabled, nat loadable, rule-based 
forwarding disabled, default to deny, logging disabled
Waiting 5 seconds for SCSI devices to settle
usbus0: 12Mbps Full Speed USB v1.0
driver bug: Unable to set devclass (devname: (null))
ad0: 305245MB <Seagate ST3320820A 3.AAE> at ata0-master UDMA100
ugen0.1: <(0x1166)> at usbus0
uhub0: <(0x1166) OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
acd0: CDRW <HL-DT-ST GCE-8520B/1.04> at ata0-slave UDMA33
uhub0: 4 ports with 4 removable, self powered
ugen0.2: <Canon> at usbus0
umass0: <Canon MX700 series, class 0/0, rev 2.00/1.02, addr 2> on usbus0
umass0:  SCSI over Bulk-Only; quirks = 0x0000
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00
(probe0:mpt0:0:8:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe0:mpt0:0:8:0): CAM Status: SCSI Status Error
(probe0:mpt0:0:8:0): SCSI Status: Check Condition
(probe0:mpt0:0:8:0): UNIT ATTENTION asc:29,0
(probe0:mpt0:0:8:0): Power on, reset, or bus device reset occurred
(probe0:mpt0:0:8:0): Retrying Command (per Sense Data)
umass0:5:0:-1: Attached to scbus5
(probe2:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe2:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(probe2:umass-sim0:0:0:0): SCSI Status: Check Condition
(probe2:umass-sim0:0:0:0): UNIT ATTENTION asc:29,0
(probe2:umass-sim0:0:0:0): Power on, reset, or bus device reset occurred
(probe2:umass-sim0:0:0:0): Retrying Command (per Sense Data)
(probe2:umass-sim0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0
(probe2:umass-sim0:0:0:0): CAM Status: SCSI Status Error
(probe2:umass-sim0:0:0:0): SCSI Status: Check Condition
(probe2:umass-sim0:0:0:0): NOT READY asc:3a,0
(probe2:umass-sim0:0:0:0): Medium not present
(probe2:umass-sim0:0:0:0): Unretryable error
cd0 at ata0 bus 0 target 1 lun 0
cd0: <HL-DT-ST CD-RW GCE-8520B 1.04> Removable CD-ROM SCSI-0 device
cd0: 33.000MB/s transfers
cd0: cd present [3315 x 2048 byte records]
ses0 at mpt0 bus 0 target 8 lun 0
ses0: <IBM 32P0042a S320  1 1> Fixed Processor SCSI-2 device
ses0: 3.300MB/s transfers
ses0: SAF-TE Compliant Device
da0 at mpt0 bus 0 target 0 lun 0
da0: <HP 36.4GB C 80-D94N D94N> Fixed Direct Access SCSI-2 device
da0: 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit)
da0: Command Queueing enabled
da0: 34732MB (71132960 512 byte sectors: 255H 63S/T 4427C)
da1 at mpt0 bus 0 target 1 lun 0
da1: <HP 36.4GB C 80-D94N D94N> Fixed Direct Access SCSI-2 device
da1: 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit)
da1: Command Queueing enabled
da1: 34732MB (71132960 512 byte sectors: 255H 63S/T 4427C)
da2 at mpt0 bus 0 target 2 lun 0
da2: <HP 36.4GB C 80-8C34 8C34> Fixed Direct Access SCSI-2 device
da2: 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit)
da2: Command Queueing enabled
da2: 34732MB (71132960 512 byte sectors: 255H 63S/T 4427C)
da3 at mpt0 bus 0 target 3 lun 0
da3: <HP 36.4G ST336704LC HP02> Fixed Direct Access SCSI-2 device
da3: 160.000MB/s transfers (80.000MHz DT, offset 63, 16bit)
da3: Command Queueing enabled
da3: 34732MB (71132960 512 byte sectors: 255H 63S/T 4427C)
SMP: AP CPU #1 Launched!
SMP: AP CPU #3 Launched!
da4 at umass-sim0 bus 0 target 0 lun 0
da4: <Canon MX700 series 1020> Removable Direct Access SCSI-2 device
da4: 1.000MB/s transfers
da4: Attempt to query device size failed: NOT READY, Medium not 
presentSMP: AP CPU #2 Launched!

GEOM: ad0: geometry does not match label (255h,63s != 16h,63s).
acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00
acd0: FAILURE - READ_BIG ILLEGAL REQUEST asc=0x64 ascq=0x00
GEOM_STRIPE: Device raid0 created (id=40432321).
GEOM_STRIPE: Disk da0s2 attached to raid0.
GEOM_STRIPE: Disk da1s2 attached to raid0.
GEOM_STRIPE: Disk da2s2 attached to raid0.
GEOM_STRIPE: Disk da3s2 attached to raid0.
GEOM_STRIPE: Device raid0 activated.
Trying to mount root from ufs:/dev/da0s1a
<<111188>C>aCna'tn 'stta ts t/atd e/vd/aedv0s/1sgt:ri pNeo/ rsuacidh0 
af:i lNeo  sour directory
c
=========== END OF dmesg ===========

=========== gstripe list ===========
Geom name: raid0
State: UP
Status: Total=4, Online=4
Type: AUTOMATIC
Stripesize: 262144
ID: 40432321
Providers:
1. Name: stripe/raid0
   Mediasize: 42934992896 (40G)
   Sectorsize: 512
   Mode: r0w0e0
Consumers:
1. Name: da0s2
   Mediasize: 10733990400 (10G)
   Sectorsize: 512
   Mode: r0w0e0
   Number: 0
2. Name: da1s2
   Mediasize: 10733990400 (10G)
   Sectorsize: 512
   Mode: r0w0e0
   Number: 1
3. Name: da2s2
   Mediasize: 10733990400 (10G)
   Sectorsize: 512
   Mode: r0w0e0
   Number: 2
4. Name: da3s2
   Mediasize: 10733990400 (10G)
   Sectorsize: 512
   Mode: r0w0e0
   Number: 3
=========== END OF gstripe list ===========

=========== gstripe status ===========
        Name  Status  Components
stripe/raid0      UP  da0s2
                      da1s2
                      da2s2
                      da3s2
=========== END OF gstripe status ===========



More information about the freebsd-stable mailing list