Vinum doesn't work anymore

From: cosmin <cosmin_at_.phy.uic.edu>
Date: Thu, 13 Nov 2003 09:33:47 -0600
Hello, I'm having major problems with the latest kernel sources and vinum.  I don't really know where to begin the debug.  For now, I'll have to run older sources just to have vinum working.

Vinum isn't able to detect my volume, even though it worked fine before the install and reboot. Here's some info.

Script started on Thu Nov 13 02:14:17 2003
# kldunload vinum.ko 
# ls -la /boot/kernel/vinum.ko 
-r-xr-xr-x  1 root  wheel  97304 Nov 13 02:10 /boot/kernel/vinum.ko 
# ls -la /sbin/vinum 
-r-xr-xr-x  1 root  wheel  752300 Nov 13 01:58 /sbin/vinum 
# kldload /boot/kernel/vinum.ko 
# /sbin/vinum 
vinum -> start 
** no drives found: No such file or directory 
vinum -> dumpconfig 
Drive a:	Device /dev/ad1s1e 
		Created on  at Sat Jul 19 03:10:25 2003 
		Config last updated Thu Nov 13 01:45:34 2003 
		Size:     200047002624 bytes (190779 MB) 
volume raid5 state up 
plex name raid5.p0 state up org raid5 1020s vol raid5  
sd name raid5.p0.s0 drive a len 390715080s driveoffset 265s state up plex raid5.p0 plexoffset 0s  
sd name raid5.p0.s1 drive b len 390715080s driveoffset 265s state up plex raid5.p0 plexoffset 1020s  
sd name raid5.p0.s2 drive c len 390715080s driveoffset 265s state up plex raid5.p0 plexoffset 2040s  
sd name raid5.p0.s3 drive d len 390715080s driveoffset 265s state up plex raid5.p0 plexoffset 3060s  
sd name raid5.p0.s4 drive e len 390715080s driveoffset 265s state up plex raid5.p0 plexoffset 4080s  
sd name raid5.p0.s5 drive f len 390715080s driveoffset 265s state up plex raid5.p0 plexoffset 5100s  
 
[... etc for all the drives ...]

vinum -> read /dev/ad1 
** no drives found: No such file or directory 
Can't save Vinum config: No child processes 
vinum -> quit 
# exit 

Script done on Thu Nov 13 02:15:17 2003


Also, when I tried fixing this problem by trying to compile vinum into the kernel (maybe would help, probably wouldn't), I got a compile error.

The kernel is just the GENERIC kernel with device vinum added at the end of it.
Here is the error:


cc -c -O -pipe -mcpu=pentiumpro -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica -I/usr/src/sys/contrib/ipfilter -I/usr/src/sys/contrib/dev/ath -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm -D_KERNEL -include opt_global.h -fno-common -finline-limit=15000 -fno-strict-aliasing  -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding -Werror  /usr/src/sys/dev/vinum/vinum.c
/usr/src/sys/dev/vinum/vinum.c: In function `vinumattach':
/usr/src/sys/dev/vinum/vinum.c:136: error: structure has no member named `p_intr_nesting_level'
/usr/src/sys/dev/vinum/vinum.c:143: error: structure has no member named `p_intr_nesting_level'
/usr/src/sys/dev/vinum/vinum.c:150: error: structure has no member named `p_intr_nesting_level'
/usr/src/sys/dev/vinum/vinum.c:162: error: structure has no member named `p_intr_nesting_level'
*** Error code 1

Stop in /usr/obj/usr/src/sys/GENERIC_WITH_VINUM.
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.

The sources are freshly cvsuped from Nov 12, 2003.

Cosmin Stroe.
Received on Thu Nov 13 2003 - 00:33:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:28 UTC