gvinum startup problems

From: Daniel Eriksson <daniel_k_eriksson_at_telia.com>
Date: Fri, 7 Oct 2005 00:38:34 +0200
One of my servers boot off of SCSI, and has a gvinum array consisting of
4 x 120GB ATA disks in RAID-0 configuration. When loading gvinum through
"/boot/loader.conf", the tasting of providers seems to be out of whack,
and the array always comes up broken with one subdisk missing. When
loading gvinum manually, the array always comes up properly without any
problems.

All the individual disks are probed properly during startup, but for
some reason gvinum does not taste all 4 disks if it loads through
"/boot/loader.conf".

This is what it looks like when I have loaded the module manually. As
far as I can remember, every time I've tried to auto-load the module it
has been /dev/ad3 (vd1) that has failed to be tasted.

# gvinum list
4 drives:
D vd2                   State: up       /dev/ad0        A: 0/117800 MB
(0%)
D vd3                   State: up       /dev/ad1        A: 0/117800 MB
(0%)
D vd0                   State: up       /dev/ad2        A: 0/117800 MB
(0%)
D vd1                   State: up       /dev/ad3        A: 0/117800 MB
(0%)

1 volume:
V 480GB                 State: up       Plexes:       1 Size:        460
GB

1 plex:
P 480GB.p0            S State: up       Subdisks:     4 Size:        460
GB

4 subdisks:
S 480GB.p0.s0           State: up       D: vd0          Size:        115
GB
S 480GB.p0.s1           State: up       D: vd1          Size:        115
GB
S 480GB.p0.s2           State: up       D: vd2          Size:        115
GB
S 480GB.p0.s3           State: up       D: vd3          Size:        115
GB


I know this bug report might not be very useful without GEOM debugging
info, but right now I cannot provide that. With some luck the problem
and its solution is obvious to Pawel or someone else. :-)

The problem has been around since I first started using gvinum (instead
of vinum). This was a year ago or something like that. I used to run
5-CURRENT on it, and switched to the RELENG_6 branch when that became
available a few months ago. I keep it pretty up-to-date (usually 2-3
upgrades per week). It's an SMP box running with the SCHED_4BSD
scheduler

/Daniel Eriksson


/boot/kernel/acpi.ko text=0x49d18 data=0x2160+0x1090
syms=[0x4+0x7810+0x4+0xa292]
KDB: debugger backends: ddb
KDB: current backend: ddb
Copyright (c) 1992-2005 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 6.0-BETA5 #0: Wed Oct  5 18:32:58 CEST 2005
    daniel_at_xxx:/usr/obj/usr/src/sys/XXX
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: AMD Athlon(tm) MP 2600+ (2000.09-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x6a0  Stepping = 0
 
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,
MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0480800<SYSCALL,MP,MMX+,3DNow+,3DNow>
real memory  = 804782080 (767 MB)
avail memory = 778121216 (742 MB)
ACPI APIC Table: <PTLTD          APIC  >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  1
 cpu1 (AP): APIC ID:  0
MADT: Forcing active-low polarity and level trigger for SCI
ioapic0 <Version 1.1> irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <PTLTD   RSDT> on motherboard
acpi0: Power Button (fixed)
acpi0: Sleep Button (fixed)
pci_link0: <ACPI PCI Link LNKA> irq 5 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 3 on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 11 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 10 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port
0xcf8-0xcff,0x8000-0x807f,0x8080-0x80ff iomem 0xd8000-0xdbfff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <AMD 762 host to AGP bridge> port 0x1490-0x1493 mem
0xec000000-0xedffffff,0xea100000-0xea100fff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 5.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <AMD 768 UDMA100 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 7.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
pci0: <bridge> at device 7.3 (no driver attached)
ciss0: <Compaq Smart Array 5300> port 0x1000-0x10ff mem
0xe8100000-0xe813ffff,0xe8000000-0xe80fffff irq 20 at device 8.0 on pci0
ciss0: [GIANT-LOCKED]
em0: <Intel(R) PRO/1000 Network Connection, Version - 2.1.7> port
0x1400-0x143f mem 0xe81c0000-0xe81dffff,0xe8140000-0xe817ffff irq 21 at
device 9.0 on pci0
em0: Ethernet address: 00:04:23:ac:20:8a
em0:  Speed:N/A  Duplex:N/A
em1: <Intel(R) PRO/1000 Network Connection, Version - 2.1.7> port
0x1440-0x147f mem 0xe81e0000-0xe81fffff,0xe8180000-0xe81bffff irq 22 at
device 9.1 on pci0
em1: Ethernet address: 00:04:23:ac:20:8b
em1:  Speed:N/A  Duplex:N/A
pcib2: <ACPI PCI-PCI bridge> at device 16.0 on pci0
pci2: <ACPI PCI bus> on pcib2
atapci1: <HighPoint HPT374 (channel 0+1) UDMA133 controller> port
0x3010-0x3017,0x3004-0x3007,0x3008-0x300f,0x3000-0x3003,0x2000-0x20ff
irq 16 at device 4.0 on pci2
ata2: <ATA channel 0> on atapci1
ata3: <ATA channel 1> on atapci1
atapci2: <HighPoint HPT374 (channel 2+3) UDMA133 controller> port
0x3028-0x302f,0x301c-0x301f,0x3020-0x3027,0x3018-0x301b,0x2400-0x24ff
irq 16 at device 4.1 on pci2
ata4: <ATA channel 0> on atapci2
ata5: <ATA channel 1> on atapci2
atapci3: <HighPoint HPT374 (channel 0+1) UDMA133 controller> port
0x3040-0x3047,0x3034-0x3037,0x3038-0x303f,0x3030-0x3033,0x2800-0x28ff
irq 19 at device 7.0 on pci2
ata6: <ATA channel 0> on atapci3
ata7: <ATA channel 1> on atapci3
atapci4: <HighPoint HPT374 (channel 2+3) UDMA133 controller> port
0x3058-0x305f,0x304c-0x304f,0x3050-0x3057,0x3048-0x304b,0x2c00-0x2cff
irq 19 at device 7.1 on pci2
ata8: <ATA channel 0> on atapci4
ata9: <ATA channel 1> on atapci4
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on
acpi0
sio0: type 16550A, console
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
acpi0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem
0xc0000-0xcafff,0xcb000-0xcefff,0xe0000-0xe3fff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
ppc0: parallel port not found.
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
Timecounters tick every 1.000 msec
ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding
disabled, default to deny, logging unlimited
ad0: 117800MB <IC35L120AVV207 0 V24OA66A> at ata0-master UDMA100
ad1: 117800MB <HDS722512VLAT20 V33OA60A> at ata0-slave UDMA100
ad2: 117800MB <IC35L120AVV207 0 V24OA66A> at ata1-master UDMA100
ad3: 117800MB <IC35L120AVV207 0 V24OA66A> at ata1-slave UDMA100
ad4: 238475MB <WDC WD2500JB-00FUA0 15.05R15> at ata2-master UDMA100
ad5: 238475MB <WDC WD2500JB-00FUA0 15.05R15> at ata2-slave UDMA100
ad6: 239372MB <Maxtor 4A250J0 RAMB1TU0> at ata3-master UDMA133
ad7: 239372MB <Maxtor 5A250J0 RAMB1TV0> at ata3-slave UDMA133
ad8: 114473MB <WDC WD1200JB-00DUA3 75.13B75> at ata4-master UDMA100
ad9: 117800MB <IC35L120AVV207 1 V24OA66A> at ata4-slave UDMA100
ad10: 194481MB <Maxtor 6Y200P0 YAR41BW0> at ata5-master UDMA133
ad11: 239372MB <Maxtor 7Y250P0 YAR41BW0> at ata5-slave UDMA133
ad12: 114473MB <Seagate ST3120022A 3.06> at ata6-master UDMA100
ad13: 114473MB <Seagate ST3120022A 3.06> at ata6-slave UDMA100
ad14: 194481MB <Maxtor 6Y200P0 YAR41BW0> at ata7-master UDMA133
ad15: 194481MB <Maxtor 6Y200P0 YAR41VW0> at ata7-slave UDMA133
ad16: 239372MB <Maxtor 6Y250P0 YAR41BW0> at ata8-master UDMA133
ad18: 117246MB <Maxtor 6Y120L0 YAR41BW0> at ata9-master UDMA133
ad19: 117246MB <Maxtor 6Y120L0 YAR41BW0> at ata9-slave UDMA133
da0 at ciss0 bus 0 target 0 lun 0
da0: <COMPAQ RAID 5  VOLUME OK> Fixed Direct Access SCSI-0 device 
da0: 135.168MB/s transfers
da0: 105008MB (215056800 512 byte sectors: 255H 32S/T 26355C)
da1 at ciss0 bus 0 target 1 lun 0
da1: <COMPAQ RAID 0  VOLUME OK> Fixed Direct Access SCSI-0 device 
da1: 135.168MB/s transfers
da1: 486240MB (995821155 512 byte sectors: 255H 63S/T 61987C)
ar0: 476950MB <HighPoint v2 RocketRAID RAID0 (stripe 64 KB)> status:
READY
ar0: disk0 READY using ad4 at ata2-master
ar0: disk1 READY using ad5 at ata2-slave
ar1: 478744MB <HighPoint v2 RocketRAID RAID0 (stripe 64 KB)> status:
READY
ar1: disk0 READY using ad6 at ata3-master
ar1: disk1 READY using ad7 at ata3-slave
ar2: 343420MB <HighPoint v2 RocketRAID RAID0 (stripe 64 KB)> status:
READY
ar2: disk0 READY using ad12 at ata6-master
ar2: disk1 READY using ad13 at ata6-slave
ar2: disk2 READY using ad8 at ata4-master
ar3: 351740MB <HighPoint v2 RocketRAID RAID0 (stripe 64 KB)> status:
READY
ar3: disk0 READY using ad18 at ata9-master
ar3: disk1 READY using ad19 at ata9-slave
ar3: disk2 READY using ad9 at ata4-slave
ar4: 583442MB <HighPoint v2 RocketRAID RAID0 (stripe 64 KB)> status:
READY
ar4: disk0 READY using ad14 at ata7-master
ar4: disk1 READY using ad15 at ata7-slave
ar4: disk2 READY using ad10 at ata5-master
ar5: 478744MB <HighPoint v2 RocketRAID RAID0 (stripe 64 KB)> status:
READY
ar5: disk0 READY using ad11 at ata5-slave
ar5: disk1 READY using ad16 at ata8-master
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/da0s1a
Received on Thu Oct 06 2005 - 20:38:36 UTC

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