Hello, On 13.11.2003 at 16:33 cosmin wrote: > 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. > I can confirm this, I've run truss on 'vinum ls' and get the following wich let me guess it might have todo with the recent statfs changes. modfind(0x80b8e74) = 178 (0xb2) stat("/var/log/vinum_history",0xbfbfea30) = 0 (0x0) open("/var/log/vinum_history",0x20a,0666) = 3 (0x3) lseek(3,0x0,2) = 2622 (0xa3e) gettimeofday(0xbfbfe998,0x0) = 0 (0x0) access("/etc/localtime",4) = 0 (0x0) open("/etc/localtime",0x0,00) = 4 (0x4) fstat(4,0xbfbfe8fc) = 0 (0x0) read(0x4,0xbfbfc5dc,0x1f08) = 837 (0x345) close(4) = 0 (0x0) fstat(3,0xbfbfe6bc) = 0 (0x0) readlink("/etc/malloc.conf",0xbfbfe6a0,63) ERR#2 'No such file or directory' issetugid() = 0 (0x0) issetugid() = 0 (0x0) getuid() = 0 (0x0) mmap(0x0,4096,0x3,0x1002,-1,0x0) = 671944704 (0x280d1000) break(0x80e7000) = 0 (0x0) break(0x80eb000) = 0 (0x0) write(3,0x80e7000,50) = 50 (0x32) __sysctl(0xbfbfe9c4,0x2,0xbfbfe9cc,0xbfbfe9c0,0x80b6da8,0x14) = 0 (0x0) __sysctl(0xbfbfe9cc,0x3,0x0,0x0,0x0,0x0) = 0 (0x0) open("/dev/vinum/control",0x2,00) = 4 (0x4) ioctl(4,0x40404641,0x80e4620) = 0 (0x0) fork() = 1208 (0x4b8) SIGNAL 20 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^ break(0x80ec000) = 0 (0x0) René --Received on Thu Nov 13 2003 - 10:41:18 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:28 UTC