(g)vinum "incompatible sector sizes."

From: Peter Wullinger <some-mail-drop_at_gmx.net>
Date: Thu, 26 Aug 2004 08:45:43 +0200
I'm experiencing problems with vinum in -CURRENT kernels later
then the end of May (I'm currently trying to find out where
exactly, but that is a rather time consuming task).

My vinum configuration only consists of a single vinum volum,
consisting of two mirrored partitions from two different drives,
namely
D vinumdrive1           State: up       /dev/ad1s4d     A: 0/72106 MB (0%)
D vinumdrive0           State: up       /dev/ad0s3g     A: 0/72106 MB (0%)
. The is mounted as /home.

On vinum startup, the second plex goes stale with the following
message:

	vinum: incompatible sector sizes.  home.p1 has 0, home has 512.  Ignored.
.
On a -CURRENT kernel from May 17th 2004, the configuration seems
to work fine.

Testing with geom_vinum on the same kernel gives the same result,
/dev/ad1s4d goes stale with the "vinum: incompatible sector sizes"
message.

The problem at least persists in vinum_geom with kernels up to
20040727 (the gcc import). I could not yet verify any further
kernels, since world does not currently build correctly for
me after the gcc import.

Cheers,
	Peter

== vinum l ==
2 drives:
D vinumdrive1           State: up	/dev/ad1s4d	A: 0/72106 MB (0%)
D vinumdrive0           State: up	/dev/ad0s3g	A: 0/72106 MB (0%)

1 volumes:
V home                  State: up	Plexes:       2	Size:         70 GB

2 plexes:
P home.p0             C State: up	Subdisks:     1	Size:         70 GB
P home.p1             C State: up	Subdisks:     1	Size:         70 GB

2 subdisks:
S home.p0.s0            State: up	D: vinumdrive0  Size:         70 GB
S home.p1.s0            State: up	D: vinumdrive1  Size:         70 GB
== vinum l ==

== dmesg ==
Copyright (c) 1992-2004 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.2-CURRENT #0: Wed Aug 25 04:44:45 CEST 2004
root_at_peter.home.wul:/usr/src/sys/i386/compile/PETER
Preloaded elf kernel "/boot/kernel/kernel" at 0xc090e000.
Preloaded elf module "/boot/kernel/cd9660.ko" at 0xc090e21c.
Preloaded elf module "/boot/kernel/linprocfs.ko" at 0xc090e2c8.
Preloaded elf module "/boot/kernel/procfs.ko" at 0xc090e378.
Preloaded elf module "/boot/kernel/pseudofs.ko" at 0xc090e424.
Preloaded elf module "/boot/kernel/linux.ko" at 0xc090e4d4.
Preloaded elf module "/boot/kernel/msdosfs.ko" at 0xc090e580.
Preloaded elf module "/boot/kernel/vinum.ko" at 0xc090e62c.
Preloaded elf module "/boot/kernel/if_fxp.ko" at 0xc090e6d8.
Preloaded elf module "/boot/kernel/miibus.ko" at 0xc090e784.
Preloaded elf module "/boot/kernel/usb.ko" at 0xc090e830.
Preloaded elf module "/boot/kernel/ums.ko" at 0xc090e8d8.
Preloaded elf module "/boot/kernel/cd9660_iconv.ko" at 0xc090e980.
Preloaded elf module "/boot/kernel/libiconv.ko" at 0xc090ea34.
Preloaded elf module "/boot/kernel/cryptodev.ko" at 0xc090eae4.
Preloaded elf module "/boot/kernel/msdosfs_iconv.ko" at 0xc090eb94.
Preloaded elf module "/boot/kernel/nfsclient.ko" at 0xc090ec48.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(TM) XP 1600+ (1400.06-MHz 686-class CPU)
Origin = "AuthenticAMD"  Id = 0x662  Stepping = 2
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
AMD Features=0xc0480000<MP,AMIE,DSP,3DNow!>
real memory  = 536788992 (511 MB)
avail memory = 515825664 (491 MB)
Pentium Pro MTRR support enabled
random: <entropy source, Software, Yarrow>
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <ASUS A7M266> on motherboard
acpi0: [GIANT-LOCKED]
pcibios: BIOS version 2.10
acpi0: Power Button (fixed)
Timecounter "ACPI-safe" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0
cpu0: <ACPI CPU (3 Cx states)> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib0: slot 4 INTD is routed to irq 10
pcib0: slot 4 INTD is routed to irq 10
pcib0: slot 9 INTA is routed to irq 10
pcib0: slot 13 INTA is routed to irq 10
agp0: <AMD 761 host to AGP bridge> port 0xe000-0xe003 mem 0xf7800000-0xf7800fff,0xf8000000-0xfbffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib1: slot 5 INTA is routed to irq 11
pci1: <display, VGA> at device 5.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 4.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686B UDMA100 controller> port 0xd800-0xd80f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 4.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xd400-0xd41f irq 10 at device 4.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/19.00, addr 2, iclass 3/1
ums0: 4 buttons and Z dir.
uhci1: <VIA 83C572 USB controller> port 0xd000-0xd01f irq 10 at device 4.3 on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
viapropm0: SMBus I/O base at 0xe800
viapropm0: <VIA VT82C686A Power Management Unit> port 0xe800-0xe80f at device 4.4 on pci0
viapropm0: SMBus revision code 0x40
smbus0: <System Management Bus> on viapropm0
smb0: <SMBus generic I/O> on smbus0
fxp0: <Intel 82550 Pro/100 Ethernet> port 0xa400-0xa43f mem 0xe5000000-0xe501ffff,0xe5800000-0xe5800fff irq 10 at device 9.0 on pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:02:b3:b8:5f:8f
fxp0: [GIANT-LOCKED]
pci0: <multimedia, audio> at device 13.0 (no driver attached)
pci0: <input device> at device 13.1 (no driver attached)
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> port 0x3f7,0x3f2-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0 port 0x7bc-0x7bf,0x3bc-0x3bf irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sio0 port 0x3f8-0x3ff irq 4 on acpi0
sio0: type 16550A
sio1 port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
orm0: <Option ROMs> at iomem 0xd4000-0xd57ff,0xd0000-0xd3fff 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
Timecounter "TSC" frequency 1400056702 Hz quality 800
Timecounters tick every 10.000 msec
IPsec: Initialized Security Association Processing.
acpi_cpu: throttling enabled, 16 steps (100% to 6.2%), currently 100.0%
ad0: 117800MB <IC35L120AVV207-1> [239340/16/63] at ata0-master UDMA100
ad1: 117800MB <IC35L120AVV207-1> [239340/16/63] at ata0-slave UDMA100
cd0 at ata1 bus 0 target 0 lun 0
cd0: <MATSHITA DVD-ROM SR-8585 1X32> Removable CD-ROM SCSI-0 device 
cd0: 33.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
da0 at ata1 bus 0 target 1 lun 0
da0: <IOMEGA ZIP 250 51.G> Removable Direct Access SCSI-0 device 
da0: 11.000MB/s transfers
da0: Attempt to query device size failed: NOT READY, Medium not present
(da0:ata1:0:1:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:ata1:0:1:0): CAM Status: SCSI Status Error
(da0:ata1:0:1:0): SCSI Status: Check Condition
(da0:ata1:0:1:0): NOT READY asc:3a,0
(da0:ata1:0:1:0): Medium not present
(da0:ata1:0:1:0): Unretryable error
Opened disk da0 -> 6
(da0:ata1:0:1:0): READ CAPACITY. CDB: 25 0 0 0 0 0 0 0 0 0 
(da0:ata1:0:1:0): CAM Status: SCSI Status Error
(da0:ata1:0:1:0): SCSI Status: Check Condition
(da0:ata1:0:1:0): NOT READY asc:3a,0
(da0:ata1:0:1:0): Medium not present
(da0:ata1:0:1:0): Unretryable error
Opened disk da0 -> 6
Mounting root from ufs:/dev/ad0s1a
vinum: incompatible sector sizes.  home.p1 has 0, home has 512.  Ignored.
fxp0: Microcode loaded, int_delay: 1000 usec  bundle_max: 6
sage repeated 2 times
pflog0: promiscuous mode enabled
vinum: already read config from vinumdrive0
vinum: updating configuration from /dev/ad1s4d
vinum: incompatible sector sizes.  home.p1 has 0, home has 512.  Ignored.
vinum: home.p1.s0 is initializing by force
vinum: home.p1 is initializing
vinum: home.p1.s0 is initialized by force
vinum: home.p1 is faulty
vinum: home.p1.s0 is initialized
vinum: already read config from vinumdrive1
vinum: already read config from vinumdrive0
vinum: no additional drives found
vinum: incompatible sector sizes.  home.p1 has 0, home has 512.  Ignored.
== dmesg ==

-- 
"Here's what's really sad -- the overwhelming majority of so-called 
successful development projects produce mediocre software."
	-- Victoria Livschitz,
Received on Thu Aug 26 2004 - 04:46:03 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:08 UTC