From owner-freebsd-current@FreeBSD.ORG Thu Nov 13 01:33:51 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5762516A4CE for ; Thu, 13 Nov 2003 01:33:51 -0800 (PST) Received: from nacom.phy.uic.edu (nacom.phy.uic.edu [131.193.191.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id C325F43FB1 for ; Thu, 13 Nov 2003 01:33:48 -0800 (PST) (envelope-from cosmin@nacom.phy.uic.edu) Received: from nacom.phy.uic.edu (localhost [127.0.0.1]) by nacom.phy.uic.edu (8.12.10/8.12.9) with ESMTP id hADFXlx8000598 for ; Thu, 13 Nov 2003 09:33:47 -0600 (CST) (envelope-from cosmin@nacom.phy.uic.edu) Received: (from cosmin@localhost) by nacom.phy.uic.edu (8.12.10/8.12.9/Submit) id hADFXl0d000597 for freebsd-current@freebsd.org; Thu, 13 Nov 2003 09:33:47 -0600 (CST) Date: Thu, 13 Nov 2003 09:33:47 -0600 From: cosmin To: freebsd-current@freebsd.org Message-ID: <20031113153347.GA548@nacom.phy.uic.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Subject: Vinum doesn't work anymore X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 Nov 2003 09:33:51 -0000 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.