From owner-freebsd-questions Wed Aug 4 9:22:15 1999 Delivered-To: freebsd-questions@freebsd.org Received: from cygnus.rush.net (cygnus.rush.net [209.45.245.133]) by hub.freebsd.org (Postfix) with ESMTP id 61BB0150DD for ; Wed, 4 Aug 1999 09:21:59 -0700 (PDT) (envelope-from bright@rush.net) Received: from localhost (bright@localhost) by cygnus.rush.net (8.9.3/8.9.3) with SMTP id MAA25829; Wed, 4 Aug 1999 12:22:33 -0400 (EDT) Date: Wed, 4 Aug 1999 12:22:32 -0400 (EDT) From: Alfred Perlstein To: Iain Templeton Cc: Bill Hussey , questions@FreeBSD.ORG Subject: Re: Yo Quiero vnode_if.h In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 4 Aug 1999, Iain Templeton wrote: > On Tue, 3 Aug 1999, Bill Hussey wrote: > > Hello Bill, > > > Hello, > > > > So I've got here your 3.1 distribution set of FreeBSD. Great book > > by the way. Anway, I go to do my first ever kernel compile and sure > > enough I've got problems. Running /usr/sbin/config goes fine, but when > > I go to do the make, /usr/src/sys/sys/vnode.h (line 457) and > > /usr/src/sys/isofs/cd9660/cd9660_bmap.c (line 43) both make references > > to a vnode_if.h . Needless to say, "No such file or directory > > *** Error code 1 " yada yada ya. > > > > So I search the entire FreeBSD drive and all 4 FreeBSD disks looking > > for this file and ..... nothing, nowhere. So, as it sits right now, I'm > > stuck. If I really get bored tomorrow, maybe I'll see what happens if I > > comment out those include lines and compile it as is!? =) Any help > > would be well appreciated. > > > Hmm, can't help with that... although I doubt commenting it out will make > any difference, in fact it will probably make things worse. > > You can find a version of /usr/src/sys/sys/vnode.h at > ftp://ftp.freebsd.org/pub/FreeBSD/branches/3.0-stable/src/sys/sys/vnode.h > > although the is no telling what other files are missing. Also this file is > from 3.0-STABLE, which is several months newer than 3.1, so it might not > work either. I'm pretty sure his problem arises because he's neglecting to "make depend" in the kernel build directory as the output of 'config' mandates. > > > And ohh yes, one other thing. I've got an internal, IDE Iomega Zip > > drive. The drive is recognized by the default kernel and I can create > > the device file using MAKEDEV (/dev/wfd0). When I go to mount it, the > > Zip drive goes active, like it's spinning up the disk, and then I get > > an, "incorrect super block" message. > > > > cc69595-a# cd /dev > > cc69595-a# ./MAKEDEV wfd0 > > cc69595-a# mount /dev/wfd0 /zip > > mount: /dev/wfd0 on /zip: incorrect super block > > cc69595-a# > > > > I'm 90% sure that this is because the Zip disks are Dos formatted, > > and as I read it in the book, there is no way to format an IDE drive > > except, as the book puts it, to format it with the BIOS. What does this > > mean? Is there any way I can get my Zip to drive to work and how can > > I format the disks? > > > Well, you can read a MS-DOS formatted disk with > > # mount -t msdos /dev/wfd0 /zip > > and if you really want to format the ZIP disk as BSD you will need to look > at the disklabel and newfs commands. I'm happy just to keep them as DOS it > works quite well, and means I can use them at Uni. > > Iain > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > -Alfred Perlstein - [bright@rush.net|bright@wintelcom.net] systems administrator and programmer Wintelcom - http://www.wintelcom.net/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message