Re: vinum broken by devstat changes?
On Tue, 25 Mar 2003, Kenneth D. Merry wrote: KDMOn Wed, Mar 26, 2003 at 11:06:52 +1030, Greg 'groggy' Lehey wrote: KDM On Tuesday, 25 March 2003 at 18:44:03 +0100, Hartmut Brandt wrote: KDM KDM Hi, KDM KDM when calling 'vinum start' it responds with KDM KDM usage: read drive [drive ...] KDM KDM from looking at the code, it appears that it cannot find the disk drives KDM to read the configuration from. KDM KDM vinum read da0 da1 KDM KDM just works. KDM KDM So what's the problem? (kernel and user land from today) KDM KDM Check vinum(8), function vinum_start (in KDM /usr/src/sbin/vinum/commands.c). It's possible that the changes have KDM broken some of the tests, probably of stat-device_type. I can't KDM think it's too difficult to fix. KDM KDMdisk_create() now creates the devstat entry for disks, but defaults KDMeverything to be a direct access (with no interface type). KDM KDMI've got patches in progress to fix that, but it looks like things should KDMwork with the current state of affairs. KDM KDMHave you rebuilt world? That was just a fresh world and kernel. It took me some time to get it up again - the vinum partition holds the ports for my other machines. I just have no time to work on this... KDMIt looks like vinum(8) doesn't include a call to devstat_checkversion(), so KDMit's possible you've got a version mismatch but no way to know it. harti -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private [EMAIL PROTECTED], [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]
vinum broken by devstat changes?
Hi, when calling 'vinum start' it responds with usage: read drive [drive ...] from looking at the code, it appears that it cannot find the disk drives to read the configuration from. vinum read da0 da1 just works. So what's the problem? (kernel and user land from today) harti -- harti brandt, http://www.fokus.fraunhofer.de/research/cc/cats/employees/hartmut.brandt/private [EMAIL PROTECTED], [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: vinum broken by devstat changes?
On Tuesday, 25 March 2003 at 18:44:03 +0100, Hartmut Brandt wrote: Hi, when calling 'vinum start' it responds with usage: read drive [drive ...] from looking at the code, it appears that it cannot find the disk drives to read the configuration from. vinum read da0 da1 just works. So what's the problem? (kernel and user land from today) Check vinum(8), function vinum_start (in /usr/src/sbin/vinum/commands.c). It's possible that the changes have broken some of the tests, probably of stat-device_type. I can't think it's too difficult to fix. Greg -- See complete headers for address and phone numbers pgp0.pgp Description: PGP signature
[Re: vinum broken by devstat changes?
On Wed, Mar 26, 2003 at 11:06:52 +1030, Greg 'groggy' Lehey wrote: On Tuesday, 25 March 2003 at 18:44:03 +0100, Hartmut Brandt wrote: Hi, when calling 'vinum start' it responds with usage: read drive [drive ...] from looking at the code, it appears that it cannot find the disk drives to read the configuration from. vinum read da0 da1 just works. So what's the problem? (kernel and user land from today) Check vinum(8), function vinum_start (in /usr/src/sbin/vinum/commands.c). It's possible that the changes have broken some of the tests, probably of stat-device_type. I can't think it's too difficult to fix. disk_create() now creates the devstat entry for disks, but defaults everything to be a direct access (with no interface type). I've got patches in progress to fix that, but it looks like things should work with the current state of affairs. Have you rebuilt world? It looks like vinum(8) doesn't include a call to devstat_checkversion(), so it's possible you've got a version mismatch but no way to know it. Ken -- Kenneth Merry [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: sbin/vinum broken
On Thu, May 24, 2001 at 09:24:56AM +0930, Greg Lehey wrote: On Wednesday, 23 May 2001 at 16:56:39 +0300, Ruslan Ermilov wrote: Hi! src/sbin/vinum is broken at the moment. It doesn't build without -DVINUMDEBUG. *sigh*. I could have sworn I tested this, but it seems I did it in a parallel universe. It's fixed now, I think. me-pointyhat++; A quick workaround: Index: Makefile === RCS file: /home/ncvs/src/sbin/vinum/Makefile,v retrieving revision 1.20 diff -u -r1.20 Makefile --- Makefile2001/05/23 05:24:53 1.20 +++ Makefile2001/05/23 13:55:24 @@ -5,6 +5,7 @@ MAN= vinum.8 CFLAGS+= -I${.CURDIR}/../../sys -Wall +CFLAGS+= -DVINUMDEBUG This didn't work for me: === root@zaphod (/dev/ttyp1) /src/FreeBSD/5.0-CURRENT/src/sbin/vinum 4 - make Warning: Using /wantadilla/home/obj/src/FreeBSD/5.0-CURRENT/src/sbin/vinum as object directory instead of canonical /usr/obj/src/FreeBSD/5.0-CURRENT/src/sbin/vinum cc -O -pipe -c /src/FreeBSD/5.0-CURRENT/src/sbin/vinum/v.c In file included from /src/FreeBSD/5.0-CURRENT/src/sbin/vinum/v.c:57: /src/FreeBSD/5.0-CURRENT/src/sbin/vinum/vext.h:75: dev/vinum/vinumvar.h: No such file or directory /src/FreeBSD/5.0-CURRENT/src/sbin/vinum/vext.h:76: dev/vinum/vinumio.h: No such file or directory /src/FreeBSD/5.0-CURRENT/src/sbin/vinum/vext.h:77: dev/vinum/vinumkw.h: No such file or directory /src/FreeBSD/5.0-CURRENT/src/sbin/vinum/vext.h:78: dev/vinum/vinumutil.h: No such file or directory Am I missing something? I bet you specified CFLAGS on a command line, and that clobbered CFLAGS+=-I${.CURDIR}/../../sys from Makefile. Otherwise, I fail to see why there's no -I... in the above output. Missing /usr/include/dev/vinum headers, yeah? :-) Cheers, -- Ruslan Ermilov Oracle Developer/DBA, [EMAIL PROTECTED] Sunbay Software AG, [EMAIL PROTECTED] FreeBSD committer, +380.652.512.251Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: sbin/vinum broken
On Thursday, 24 May 2001 at 18:28:19 +0300, Ruslan Ermilov wrote: On Thu, May 24, 2001 at 09:24:56AM +0930, Greg Lehey wrote: On Wednesday, 23 May 2001 at 16:56:39 +0300, Ruslan Ermilov wrote: Hi! src/sbin/vinum is broken at the moment. It doesn't build without -DVINUMDEBUG. *sigh*. I could have sworn I tested this, but it seems I did it in a parallel universe. It's fixed now, I think. me-pointyhat++; A quick workaround: Index: Makefile === RCS file: /home/ncvs/src/sbin/vinum/Makefile,v retrieving revision 1.20 diff -u -r1.20 Makefile --- Makefile2001/05/23 05:24:53 1.20 +++ Makefile2001/05/23 13:55:24 @@ -5,6 +5,7 @@ MAN= vinum.8 CFLAGS+= -I${.CURDIR}/../../sys -Wall +CFLAGS+= -DVINUMDEBUG This didn't work for me: === root@zaphod (/dev/ttyp1) /src/FreeBSD/5.0-CURRENT/src/sbin/vinum 4 - make Warning: Using /wantadilla/home/obj/src/FreeBSD/5.0-CURRENT/src/sbin/vinum as object directory instead of canonical /usr/obj/src/FreeBSD/5.0-CURRENT/src/sbin/vinum cc -O -pipe -c /src/FreeBSD/5.0-CURRENT/src/sbin/vinum/v.c In file included from /src/FreeBSD/5.0-CURRENT/src/sbin/vinum/v.c:57: /src/FreeBSD/5.0-CURRENT/src/sbin/vinum/vext.h:75: dev/vinum/vinumvar.h: No such file or directory /src/FreeBSD/5.0-CURRENT/src/sbin/vinum/vext.h:76: dev/vinum/vinumio.h: No such file or directory /src/FreeBSD/5.0-CURRENT/src/sbin/vinum/vext.h:77: dev/vinum/vinumkw.h: No such file or directory /src/FreeBSD/5.0-CURRENT/src/sbin/vinum/vext.h:78: dev/vinum/vinumutil.h: No such file or directory Am I missing something? I bet you specified CFLAGS on a command line, and that clobbered CFLAGS+=-I${.CURDIR}/../../sys from Makefile. No, that wasn't it. Otherwise, I fail to see why there's no -I... in the above output. So do I. It works now. But I don't understand what has changed. Missing /usr/include/dev/vinum headers, yeah? :-) No, of course not. With the -I it worked fine. Greg -- Finger [EMAIL PROTECTED] for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
sbin/vinum broken
Hi! src/sbin/vinum is broken at the moment. It doesn't build without -DVINUMDEBUG. A quick workaround: Index: Makefile === RCS file: /home/ncvs/src/sbin/vinum/Makefile,v retrieving revision 1.20 diff -u -r1.20 Makefile --- Makefile2001/05/23 05:24:53 1.20 +++ Makefile2001/05/23 13:55:24 @@ -5,6 +5,7 @@ MAN= vinum.8 CFLAGS+= -I${.CURDIR}/../../sys -Wall +CFLAGS+= -DVINUMDEBUG # Print __FILE__ and __LINE__ when doing perror() #CFLAGS+= -DDEVBUG Cheers, -- Ruslan Ermilov Oracle Developer/DBA, [EMAIL PROTECTED] Sunbay Software AG, [EMAIL PROTECTED] FreeBSD committer, +380.652.512.251Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: sbin/vinum broken
Date: Wed, 23 May 2001 16:56:39 +0300 From: Ruslan Ermilov [EMAIL PROTECTED] src/sbin/vinum is broken at the moment. It doesn't build without -DVINUMDEBUG. A quick workaround: [Workaround -- adding CFLAGS+= -DVINUMDEBUG to src/sbin/vinum/Makefile -- elided] OK; I verified that I experienced this, as well. After applying the workaround, I continued with make everything make kernel KERNCONF=LAPTOP_30W make installworld mergemaster. The make installworld dies, however: cd /usr/src/include/../sys; install -C -C -o root -g wheel -m 444 dev/usb/*.h /usr/include/dev/usb cd /usr/src/include/../sys; install -C -C -o root -g wheel -m 444 dev/wi/*.h /usr/include/dev/wi cd /usr/src/include/../sys; install -C -C -o root -g wheel -m 444 fs/fdesc/*.h /usr/include/fs/fdesc install: fs/fdesc/*.h: No such file or directory *** Error code 71 Stop in /usr/src/include. *** Error code 1 Stop in /usr/src. *** Error code 1 I suspect that the reference to fs/fdesc/*.h should read fs/fdescfs/*.h, per the earlier HEADS UP note. This system is: FreeBSD dhcp-133.catwhisker.org 5.0-CURRENT FreeBSD 5.0-CURRENT #7: Tue May 22 19:29:45 PDT 2001 [EMAIL PROTECTED]:/common/C/obj/usr/src/sys/LAPTOP_30W i386 However, not only was I able to get this far in multi-user mode, but I was able to do it while doing the make buildworld friends in an X environment. Cheers, david -- David H. Wolfskill [EMAIL PROTECTED] As a computing professional, I believe it would be unethical for me to advise, recommend, or support the use (save possibly for personal amusement) of any product that is or depends on any Microsoft product. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
installworld broken (includes fix) [was: Re: sbin/vinum broken]
Date: Wed, 23 May 2001 09:08:31 -0700 (PDT) From: David Wolfskill [EMAIL PROTECTED] The make installworld dies, however: cd /usr/src/include/../sys; install -C -C -o root -g wheel -m 444 dev/usb/*.h /usr/include/dev/usb cd /usr/src/include/../sys; install -C -C -o root -g wheel -m 444 dev/wi/*.h /usr/include/dev/wi cd /usr/src/include/../sys; install -C -C -o root -g wheel -m 444 fs/fdesc/*.h /usr/include/fs/fdesc install: fs/fdesc/*.h: No such file or directory *** Error code 71 Stop in /usr/src/include. *** Error code 1 Stop in /usr/src. *** Error code 1 I suspect that the reference to fs/fdesc/*.h should read fs/fdescfs/*.h, per the earlier HEADS UP note. OK; that was necessary, but insufficient. Here's a patch: cvs diff -u include/Makefile Index: include/Makefile === RCS file: /cvs/freebsd/src/include/Makefile,v retrieving revision 1.138 diff -u -u -r1.138 Makefile --- include/Makefile2001/05/23 09:41:59 1.138 +++ include/Makefile2001/05/23 16:18:24 @@ -46,8 +46,8 @@ LNOHEADERDIRS= fs isofs ufs dev LSUBDIRS= cam/scsi dev/ppbus dev/usb dev/wi \ - fs/fdesc fs/fifofs fs/nullfs fs/portal fs/procfs fs/smbfs \ - fs/umapfs fs/union isofs/cd9660 ufs/ffs ufs/mfs ufs/ufs + fs/fdescfs fs/fifofs fs/nullfs fs/portalfs fs/procfs fs/smbfs \ + fs/umapfs fs/unionfs isofs/cd9660 ufs/ffs ufs/mfs ufs/ufs # Define SHARED to indicate whether you want symbolic links to the system # source (``symlinks''), or a separate copy (``copies''). ``symlinks'' is dhcp-133[18] Cheers, david -- David H. Wolfskill [EMAIL PROTECTED] As a computing professional, I believe it would be unethical for me to advise, recommend, or support the use (save possibly for personal amusement) of any product that is or depends on any Microsoft product. To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: sbin/vinum broken
On Wed, May 23, 2001 at 09:08:31AM -0700, David Wolfskill wrote: Date: Wed, 23 May 2001 16:56:39 +0300 From: Ruslan Ermilov [EMAIL PROTECTED] src/sbin/vinum is broken at the moment. It doesn't build without -DVINUMDEBUG. A quick workaround: [Workaround -- adding CFLAGS+= -DVINUMDEBUG to src/sbin/vinum/Makefile -- elided] OK; I verified that I experienced this, as well. After applying the workaround, I continued with make everything make kernel KERNCONF=LAPTOP_30W make installworld mergemaster. The make installworld dies, however: cd /usr/src/include/../sys; install -C -C -o root -g wheel -m 444 dev/usb/*.h /usr/include/dev/usb cd /usr/src/include/../sys; install -C -C -o root -g wheel -m 444 dev/wi/*.h /usr/include/dev/wi cd /usr/src/include/../sys; install -C -C -o root -g wheel -m 444 fs/fdesc/*.h /usr/include/fs/fdesc install: fs/fdesc/*.h: No such file or directory *** Error code 71 Stop in /usr/src/include. *** Error code 1 Stop in /usr/src. *** Error code 1 Already fixed in src/include/Makefile,v 1.139, sorry for that! Cheers, -- Ruslan Ermilov Oracle Developer/DBA, [EMAIL PROTECTED] Sunbay Software AG, [EMAIL PROTECTED] FreeBSD committer, +380.652.512.251Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
Re: sbin/vinum broken
On Wednesday, 23 May 2001 at 16:56:39 +0300, Ruslan Ermilov wrote: Hi! src/sbin/vinum is broken at the moment. It doesn't build without -DVINUMDEBUG. *sigh*. I could have sworn I tested this, but it seems I did it in a parallel universe. It's fixed now, I think. me-pointyhat++; A quick workaround: Index: Makefile === RCS file: /home/ncvs/src/sbin/vinum/Makefile,v retrieving revision 1.20 diff -u -r1.20 Makefile --- Makefile 2001/05/23 05:24:53 1.20 +++ Makefile 2001/05/23 13:55:24 @@ -5,6 +5,7 @@ MAN= vinum.8 CFLAGS+= -I${.CURDIR}/../../sys -Wall +CFLAGS+= -DVINUMDEBUG This didn't work for me: === root@zaphod (/dev/ttyp1) /src/FreeBSD/5.0-CURRENT/src/sbin/vinum 4 - make Warning: Using /wantadilla/home/obj/src/FreeBSD/5.0-CURRENT/src/sbin/vinum as object directory instead of canonical /usr/obj/src/FreeBSD/5.0-CURRENT/src/sbin/vinum cc -O -pipe -c /src/FreeBSD/5.0-CURRENT/src/sbin/vinum/v.c In file included from /src/FreeBSD/5.0-CURRENT/src/sbin/vinum/v.c:57: /src/FreeBSD/5.0-CURRENT/src/sbin/vinum/vext.h:75: dev/vinum/vinumvar.h: No such file or directory /src/FreeBSD/5.0-CURRENT/src/sbin/vinum/vext.h:76: dev/vinum/vinumio.h: No such file or directory /src/FreeBSD/5.0-CURRENT/src/sbin/vinum/vext.h:77: dev/vinum/vinumkw.h: No such file or directory /src/FreeBSD/5.0-CURRENT/src/sbin/vinum/vext.h:78: dev/vinum/vinumutil.h: No such file or directory Am I missing something? Greg -- Finger [EMAIL PROTECTED] for PGP public key See complete headers for address and phone numbers To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-current in the body of the message
vinum broken??
Hi, Does anyone else experience problems with the current kernel release and vinum? I've compiled a new kernel along with a make world today. After rebooting vinum did not start: /dev/vinum/Control: invalid operation... Any suggestions? regards, Christian To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
Re: vinum broken??
On Wednesday, 12 May 1999 at 15:01:51 +0200, Christian Carstensen wrote: Hi, Does anyone else experience problems with the current kernel release and vinum? I've compiled a new kernel along with a make world today. After rebooting vinum did not start: /dev/vinum/Control: invalid operation... Any suggestions? I did have a glitch in vinumparser.c. Make sure you have revision 1.10 of that file. If you do (it's the latest of all revision), send me some more details of your configuration and when the error occurs. Greg -- See complete headers for address, home page and phone numbers finger g...@lemis.com for PGP public key To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message
HEADS UP: Vinum broken in -CURRENT
I've just had some convincing reports that Vinum in current doesn't work at the moment. This is almost certainly something to do with the change in the representation of device numbers, and it's something I've been half expecting, but I don't have time to look at it this week. If you're using Vinum, please wait until next week before updating your configuration. Sorry about the trouble Greg -- See complete headers for address, home page and phone numbers finger g...@lemis.com for PGP public key To Unsubscribe: send mail to majord...@freebsd.org with unsubscribe freebsd-current in the body of the message