From owner-freebsd-small@FreeBSD.ORG Sun Jul 13 16:44:01 2003 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0586A37B405 for ; Sun, 13 Jul 2003 16:44:01 -0700 (PDT) Received: from hotmail.com (law9-f57.law9.hotmail.com [64.4.9.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 100AA43FE1 for ; Sun, 13 Jul 2003 16:43:59 -0700 (PDT) (envelope-from freebsdfan@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 13 Jul 2003 16:43:58 -0700 Received: from 68.4.57.222 by lw9fd.law9.hotmail.msn.com with HTTP; Sun, 13 Jul 2003 23:43:58 GMT X-Originating-IP: [68.4.57.222] X-Originating-Email: [freebsdfan@hotmail.com] From: "Chuck T." To: freebsd-small@freebsd.org Date: Sun, 13 Jul 2003 16:43:58 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 13 Jul 2003 23:43:58.0868 (UTC) FILETIME=[A16DA540:01C34998] Subject: dhcpd in a crunch? X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Jul 2003 23:44:01 -0000 Has anyone had any success in getting dhcpd to build as part of a crunch since 4.6R ? I had no problems in 4.4 and 4.5, but haven't been able to get it to build since it was updated prior ro the 4.6 release. The basic problem is the build isn't finding minires/minires.h. When it build it "normally" it builds fine. I tried to figure out the make file but didn't have much luck. The errors look: --- snip --- ===> client minires/ns_parse%FIXED.c:32: minires/minires.h: No such file or directory minires/ns_parse%FIXED.c:64: syntax error before `ns_skiprr' minires/ns_parse%FIXED.c: In function `ns_skiprr': minires/ns_parse%FIXED.c:73: `ISC_R_INCOMPLETE' undeclared (first use in this function) minires/ns_parse%FIXED.c:73: (Each undeclared identifier is reported only once minires/ns_parse%FIXED.c:73: for each function it appears in.) minires/ns_parse%FIXED.c:88: `ISC_R_SUCCESS' undeclared (first use in this function) minires/ns_parse%FIXED.c: At top level: minires/ns_parse%FIXED.c:92: syntax error before `__ns_initparse' minires/ns_parse%FIXED.c:92: conflicting types for `__ns_initparse' /usr/include/arpa/nameser.h:422: previous declaration of `__ns_initparse' minires/ns_parse%FIXED.c: In function `__ns_initparse': minires/ns_parse%FIXED.c:100: `ISC_R_INCOMPLETE' undeclared (first use in this function) minires/ns_parse%FIXED.c:118: syntax error before `status' minires/ns_parse%FIXED.c:122: `status' undeclared (first use in this function) minires/ns_parse%FIXED.c:122: `ISC_R_SUCCESS' undeclared (first use in this function) minires/ns_parse%FIXED.c: At top level: minires/ns_parse%FIXED.c:134: syntax error before `__ns_parserr' minires/ns_parse%FIXED.c: In function `__ns_parserr': minires/ns_parse%FIXED.c:136: syntax error before `status' minires/ns_parse%FIXED.c:140: `ISC_R_NOTIMPLEMENTED' undeclared (first use in this function) minires/ns_parse%FIXED.c:148: `ISC_R_UNKNOWNATTRIBUTE' undeclared (first use in this function) minires/ns_parse%FIXED.c:152: `status' undeclared (first use in this function) minires/ns_parse%FIXED.c:155: `ISC_R_SUCCESS' undeclared (first use in this function) minires/ns_parse%FIXED.c:165: `ISC_R_FORMERR' undeclared (first use in this function) minires/ns_parse%FIXED.c:168: `ISC_R_INCOMPLETE' undeclared (first use in this function) *** Error code 1 Stop in /usr/src/sbin/dhclient. *** Error code 1 --- snip --- _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From owner-freebsd-small@FreeBSD.ORG Mon Jul 14 01:08:26 2003 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9625637B401 for ; Mon, 14 Jul 2003 01:08:26 -0700 (PDT) Received: from gidgate.gid.co.uk (gid.co.uk [194.32.164.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4A75643FAF for ; Mon, 14 Jul 2003 01:08:25 -0700 (PDT) (envelope-from rb@gid.co.uk) Received: (from rb@localhost) by gidgate.gid.co.uk (8.11.6/8.11.6) id h6E88Ng55277; Mon, 14 Jul 2003 09:08:23 +0100 (BST) (envelope-from rb) Message-Id: <4.3.2.7.2.20030714090437.02aaecf8@gid.co.uk> X-Sender: rbmail@gid.co.uk X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Mon, 14 Jul 2003 09:08:21 +0100 To: "Chuck T." , freebsd-small@freebsd.org From: Bob Bishop In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: dhcpd in a crunch? X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2003 08:08:26 -0000 Hi, At 00:43 14/7/03, Chuck T. wrote: >Has anyone had any success in getting dhcpd to build as part of a crunch >since 4.6R ? I had no problems in 4.4 and 4.5, but haven't been able to >get it to build since it was updated prior ro the 4.6 release. The basic >problem is the build isn't finding minires/minires.h. When it build it >"normally" it builds fine. I tried to figure out the make file but didn't >have much luck. > >The errors look: >--- snip --- [etc] When the build falls over, rm *FIXED.c from the minires directory and rerun. Ugly but worked for me. -- Bob Bishop +44 (0)118 977 4017 rb@gid.co.uk fax +44 (0)118 989 4254 From owner-freebsd-small@FreeBSD.ORG Mon Jul 14 03:47:56 2003 Return-Path: Delivered-To: freebsd-small@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D9C7637B401; Mon, 14 Jul 2003 03:47:56 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 779F743FA3; Mon, 14 Jul 2003 03:47:56 -0700 (PDT) (envelope-from kris@FreeBSD.org) Received: from freefall.freebsd.org (kris@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h6EAluUp097112; Mon, 14 Jul 2003 03:47:56 -0700 (PDT) (envelope-from kris@freefall.freebsd.org) Received: (from kris@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h6EAluxi097108; Mon, 14 Jul 2003 03:47:56 -0700 (PDT) Date: Mon, 14 Jul 2003 03:47:56 -0700 (PDT) From: Kris Kennaway Message-Id: <200307141047.h6EAluxi097108@freefall.freebsd.org> To: kris@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-small@FreeBSD.org Subject: Re: misc/46575: KERBEROS IV and KERBEROS V makes PicoBSD broken X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Jul 2003 10:47:57 -0000 Synopsis: KERBEROS IV and KERBEROS V makes PicoBSD broken Responsible-Changed-From-To: freebsd-bugs->freebsd-small Responsible-Changed-By: kris Responsible-Changed-When: Mon Jul 14 03:47:35 PDT 2003 Responsible-Changed-Why: Assign to PicoBSD developers http://www.freebsd.org/cgi/query-pr.cgi?pr=46575 From owner-freebsd-small@FreeBSD.ORG Tue Jul 15 08:23:38 2003 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6FAD637B401 for ; Tue, 15 Jul 2003 08:23:38 -0700 (PDT) Received: from hotmail.com (law9-f81.law9.hotmail.com [64.4.9.81]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0549943F3F for ; Tue, 15 Jul 2003 08:23:38 -0700 (PDT) (envelope-from freebsdfan@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 15 Jul 2003 08:23:34 -0700 Received: from 68.4.57.222 by lw9fd.law9.hotmail.msn.com with HTTP; Tue, 15 Jul 2003 15:23:34 GMT X-Originating-IP: [68.4.57.222] X-Originating-Email: [freebsdfan@hotmail.com] From: "Chuck T." To: freebsd-small@freebsd.org Date: Tue, 15 Jul 2003 08:23:34 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 15 Jul 2003 15:23:34.0485 (UTC) FILETIME=[0E53E050:01C34AE5] Subject: Problems booting 4.8R PicoBSD X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 15:23:38 -0000 I have a small PicoBSD based firewall project called thewall (http://thewall.sf.net) which was originally developed on FreeBSD 4.4R. I had no problems updating to 4.5R, however I've never been able to get it to build since the isc dhcp code was updated prior to the 4.6 release. Thanks to Bob Bishop's help I'm now past that problem. The primary reason I'm messing around it again is that I submitted a kernel bug report (kern/31085) against the 4.4 release which was recently closed because I could unable to confirm if the bug still existed on the current release. So I'm trying to PXE boot my project again to see if the earlier bug still exists or not. My 4.8R based kernel is booting via PXE using dhcp/tftp/nfs, but hanging after decompressing the kernel. A packet sniffer shows that it was trying to read /pxeroot/etc/fstab.gz and failing that /pxeroot/etc/fstab. I believe that means that the kernel didn't find the embedded root file system image for some reason. I added a couple of printfs in md.c md_takeroot() to try to figure out the problem, but md_takeroot() never seems to be called. I have verified that the mfs image was written into the kernel in the correct place by looking at a hex dump of the final image. I would appreciate any hints anyone can offer! My PicoBSD configuration file is as follows: --- snip --- #Line starting with #PicoBSD contains PicoBSD build parameters #marker def_sz init MFS_inodes floppy_inodes #PicoBSD 2500 init 3072 32768 options MD_ROOT_SIZE=2500 machine i386 cpu I486_CPU ident PICOBSD maxusers 10 options INET #InterNETworking options FFS #Berkeley Fast Filesystem options FFS_ROOT #FFS usable as root device [keep this!] options MFS #Memory Filesystem options MD_ROOT #MFS as root options COMPAT_43 #Compatible with BSD 4.3 [KEEP THIS!] options PCI_QUIET options NO_SWAPPING device isa0 device pci0 # The 'ATA' driver supports all ATA and ATAPI devices. # It can reuse the majors of wd.c for booting purposes. # You only need one "device ata" for it to find all # PCI ATA/ATAPI devices on modern machines. device ata0 at isa? port IO_WD1 irq 14 device ata device atadisk # ATA disk drives # atkbdc0 controlls both the keyboard and the PS/2 mouse device atkbdc0 at isa? port IO_KBD device atkbd0 at atkbdc? irq 1 device vga0 at isa? port ? # syscons is the default console driver, resembling an SCO console device sc0 at isa? device npx0 at nexus? port IO_NPX irq 13 #options CONSPEED=19200 #default speed for serial console (default 9600) device sio0 at isa? port IO_COM1 irq 4 #device sio1 at isa? port IO_COM2 irq 3 # The following Ethernet NICs are all PCI devices. # device miibus # MII bus support #device sis # Silicon Integrated Systems SiS 900/SiS 7016 #device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') device fxp # Intel EtherExpress PRO/100B (82557, 82558) pseudo-device loop pseudo-device ether pseudo-device pty 16 pseudo-device md pseudo-device bpf 2 #Berkeley packet filter --- snip --- _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From owner-freebsd-small@FreeBSD.ORG Tue Jul 15 09:46:43 2003 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1D89237B401 for ; Tue, 15 Jul 2003 09:46:43 -0700 (PDT) Received: from gidgate.gid.co.uk (gid.co.uk [194.32.164.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B3CC43F85 for ; Tue, 15 Jul 2003 09:46:41 -0700 (PDT) (envelope-from rb@gid.co.uk) Received: (from rb@localhost) by gidgate.gid.co.uk (8.11.6/8.11.6) id h6FGkcu64115; Tue, 15 Jul 2003 17:46:38 +0100 (BST) (envelope-from rb) Message-Id: <4.3.2.7.2.20030715172854.0212a4e0@gid.co.uk> X-Sender: rbmail@gid.co.uk X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Tue, 15 Jul 2003 17:46:36 +0100 To: "Chuck T." , freebsd-small@freebsd.org From: Bob Bishop In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: Problems booting 4.8R PicoBSD X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 16:46:43 -0000 Hi, At 16:23 15/7/03, Chuck T. wrote: >[...]My 4.8R based kernel is booting via PXE using dhcp/tftp/nfs, but >hanging after >decompressing the kernel. A packet sniffer shows that it was trying to >read /pxeroot/etc/fstab.gz and failing that /pxeroot/etc/fstab. I believe >that means that the kernel didn't find the embedded root file system image >for some reason. [etc] Do you have a /boot/loader.rc? pxeboot expects that, see pxeboot(8). It may need to contain: set vfs.root.mountfrom="ufs:/dev/md0c" or some such. Sorry for the vagueness, I don't have a netbooting pico setup here right now. -- Bob Bishop +44 (0)118 977 4017 rb@gid.co.uk fax +44 (0)118 989 4254 From owner-freebsd-small@FreeBSD.ORG Tue Jul 15 10:06:12 2003 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E0CEE37B404 for ; Tue, 15 Jul 2003 10:06:12 -0700 (PDT) Received: from hotmail.com (law9-f97.law9.hotmail.com [64.4.9.97]) by mx1.FreeBSD.org (Postfix) with ESMTP id 02AAD43FB1 for ; Tue, 15 Jul 2003 10:06:12 -0700 (PDT) (envelope-from freebsdfan@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Tue, 15 Jul 2003 10:06:11 -0700 Received: from 68.4.57.222 by lw9fd.law9.hotmail.msn.com with HTTP; Tue, 15 Jul 2003 17:06:11 GMT X-Originating-IP: [68.4.57.222] X-Originating-Email: [freebsdfan@hotmail.com] From: "Chuck T." To: rb@gid.co.uk, freebsd-small@freebsd.org Date: Tue, 15 Jul 2003 10:06:11 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 15 Jul 2003 17:06:11.0892 (UTC) FILETIME=[646D9F40:01C34AF3] Subject: Re: Problems booting 4.8R PicoBSD X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Jul 2003 17:06:13 -0000 When I tried that the kernel stopped trying to download /pxeroot/etc/fstab but it still hung. I also verified that I do have /dev/md0* device nodes. The way I read the md driver code vfs.root.mountfrom should be set by by the md driver during initialization. In my case that doesn't appear to be happening in my case since my debug printfs were never printed. My 4.6R based project didn't have /dev/md0* devices, but it didn't seem to matter. >From: Bob Bishop >To: "Chuck T." , freebsd-small@freebsd.org >Subject: Re: Problems booting 4.8R PicoBSD >Date: Tue, 15 Jul 2003 17:46:36 +0100 > >Hi, > >At 16:23 15/7/03, Chuck T. wrote: >>[...]My 4.8R based kernel is booting via PXE using dhcp/tftp/nfs, but >>hanging after >>decompressing the kernel. A packet sniffer shows that it was trying to >>read /pxeroot/etc/fstab.gz and failing that /pxeroot/etc/fstab. I believe >>that means that the kernel didn't find the embedded root file system image >>for some reason. [etc] > >Do you have a /boot/loader.rc? pxeboot >expects that, see pxeboot(8). It may need to contain: > > set vfs.root.mountfrom="ufs:/dev/md0c" > > >or some such. Sorry for the vagueness, I don't have a netbooting pico setup >here right now. > >-- >Bob Bishop +44 (0)118 977 4017 >rb@gid.co.uk fax +44 (0)118 989 4254 > _________________________________________________________________ Add photos to your messages with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail From owner-freebsd-small@FreeBSD.ORG Wed Jul 16 02:16:16 2003 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1B6F037B401 for ; Wed, 16 Jul 2003 02:16:16 -0700 (PDT) Received: from gidgate.gid.co.uk (gid.co.uk [194.32.164.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id D254143FBD for ; Wed, 16 Jul 2003 02:16:14 -0700 (PDT) (envelope-from rb@gid.co.uk) Received: (from rb@localhost) by gidgate.gid.co.uk (8.11.6/8.11.6) id h6G9GDS68275; Wed, 16 Jul 2003 10:16:13 +0100 (BST) (envelope-from rb) Message-Id: <4.3.2.7.2.20030716101458.02943bb0@gid.co.uk> X-Sender: rbmail@gid.co.uk X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 16 Jul 2003 10:16:12 +0100 To: "Chuck T." , freebsd-small@freebsd.org From: Bob Bishop In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed Subject: Re: Problems booting 4.8R PicoBSD X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2003 09:16:16 -0000 Hi, At 18:06 15/7/03, Chuck T. wrote: >When I tried that the kernel stopped trying to download /pxeroot/etc/fstab >but it still hung. I also verified that I do have /dev/md0* device nodes. > >The way I read the md driver code vfs.root.mountfrom should be set by by >the md driver during initialization. In my case that doesn't appear to be >happening in my case since my debug printfs were never printed. > >My 4.6R based project didn't have /dev/md0* devices, but it didn't seem to >matter. Another thought: what vintage pxeboot are you using? You might try an older/newer one. -- Bob Bishop +44 (0)118 977 4017 rb@gid.co.uk fax +44 (0)118 989 4254 From owner-freebsd-small@FreeBSD.ORG Wed Jul 16 05:39:28 2003 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7EE0037B401 for ; Wed, 16 Jul 2003 05:39:28 -0700 (PDT) Received: from hotmail.com (law9-f30.law9.hotmail.com [64.4.9.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1A4AF43FBD for ; Wed, 16 Jul 2003 05:39:28 -0700 (PDT) (envelope-from freebsdfan@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Wed, 16 Jul 2003 05:39:27 -0700 Received: from 68.4.57.222 by lw9fd.law9.hotmail.msn.com with HTTP; Wed, 16 Jul 2003 12:39:27 GMT X-Originating-IP: [68.4.57.222] X-Originating-Email: [freebsdfan@hotmail.com] From: "Chuck T." To: rb@gid.co.uk, freebsd-small@freebsd.org Date: Wed, 16 Jul 2003 05:39:27 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 16 Jul 2003 12:39:27.0999 (UTC) FILETIME=[4BC718F0:01C34B97] Subject: Re: Problems booting 4.8R PicoBSD X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2003 12:39:28 -0000 Everything is from 4.8R. My primary interest at this point is in reproducing the kernel panic I ran into with 4.4R if possible... Back then I was able to PXE boot with the default pxeboot that used both tftp and nfs to load. When I rebuilt pxeboot to use tftp only is when I got a reproduceable kernel panic. I'm trying to determine if the same problem exists with 4.8R (I suspect it does). I'm going to rebuild my kernel with the kernel debugger and poke around and see what I can learn. >From: Bob Bishop >To: "Chuck T." , freebsd-small@freebsd.org >Subject: Re: Problems booting 4.8R PicoBSD >Date: Wed, 16 Jul 2003 10:16:12 +0100 > >Hi, > >At 18:06 15/7/03, Chuck T. wrote: >>When I tried that the kernel stopped trying to download /pxeroot/etc/fstab >>but it still hung. I also verified that I do have /dev/md0* device nodes. >> >>The way I read the md driver code vfs.root.mountfrom should be set by by >>the md driver during initialization. In my case that doesn't appear to be >>happening in my case since my debug printfs were never printed. >> >>My 4.6R based project didn't have /dev/md0* devices, but it didn't seem to >>matter. > >Another thought: what vintage pxeboot are you using? You might try an >older/newer one. > >-- >Bob Bishop +44 (0)118 977 4017 >rb@gid.co.uk fax +44 (0)118 989 4254 > _________________________________________________________________ Help STOP SPAM with the new MSN 8 and get 2 months FREE* http://join.msn.com/?page=features/junkmail From owner-freebsd-small@FreeBSD.ORG Wed Jul 16 06:13:42 2003 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E8C1E37B401 for ; Wed, 16 Jul 2003 06:13:42 -0700 (PDT) Received: from gidgate.gid.co.uk (gid.co.uk [194.32.164.225]) by mx1.FreeBSD.org (Postfix) with ESMTP id B032243FBD for ; Wed, 16 Jul 2003 06:13:41 -0700 (PDT) (envelope-from rb@gid.co.uk) Received: (from rb@localhost) by gidgate.gid.co.uk (8.11.6/8.11.6) id h6GDDbZ69185; Wed, 16 Jul 2003 14:13:37 +0100 (BST) (envelope-from rb) Message-Id: <4.3.2.7.2.20030716134307.020d2e18@gid.co.uk> X-Sender: rbmail@gid.co.uk X-Mailer: QUALCOMM Windows Eudora Version 4.3.2 Date: Wed, 16 Jul 2003 14:13:35 +0100 To: "Chuck T." From: Bob Bishop In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; format=flowed cc: freebsd-small@freebsd.org Subject: Re: Problems booting 4.8R PicoBSD X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2003 13:13:43 -0000 Hi, >Everything is from 4.8R. My primary interest at this point is in >reproducing the kernel panic I ran into with 4.4R if possible... Back >then I was able to PXE boot with the default pxeboot that used both tftp >and nfs to load. When I rebuilt pxeboot to use tftp only is when I got a >reproduceable kernel panic. I'm trying to determine if the same problem >exists with 4.8R (I suspect it does). Ah, I understand (sort of). I now remember I once tried tftp-only (ages ago, around 4.5R) and it didn't work so I didn't pursue it. -- Bob Bishop +44 (0)118 977 4017 rb@gid.co.uk fax +44 (0)118 989 4254 From owner-freebsd-small@FreeBSD.ORG Thu Jul 17 06:38:45 2003 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68ACA37B401 for ; Thu, 17 Jul 2003 06:38:45 -0700 (PDT) Received: from klima.physik.uni-mainz.de (klima.Physik.Uni-Mainz.DE [134.93.180.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id E541143FB1 for ; Thu, 17 Jul 2003 06:38:43 -0700 (PDT) (envelope-from ohartman@klima.physik.uni-mainz.de) Received: from mail.physik.uni-mainz.de (mail.physik.uni-mainz.de [134.93.180.161])h6HDcgVA015904 for ; Thu, 17 Jul 2003 15:38:42 +0200 (CEST) (envelope-from ohartman@klima.physik.uni-mainz.de) Date: Thu, 17 Jul 2003 15:38:42 +0200 (CEST) From: "Hartmann, O." X-X-Sender: ohartman@mail.physik.uni-mainz.de To: freebsd-small@freebsd.org Message-ID: <20030717151034.W16921@mail.physik.uni-mainz.de> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: PicoBSD on FreeBSD 5.1-CURRENT X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2003 13:38:45 -0000 Hello. We utilize now a bunch of FreeBSD 5.1-CURRENT servers and workstations around here and at the moment one of our firewalls is still running with FreeBSD 4.7-p7. I would like to upgrade to FreeBSD 5.1-CURRENT within the PicoBSD environment, but I run into trouble with several userland programs. I changed the kernel configuration scheme towards the new FBSD 5.X standard and this seems to work well. disklabel is now bsdlabel (but there is a hardlink) and the syntax has changed. I tried to correct this, but bsdlabel has still a problem when labeling /dev/md1. This is a result due to my insufficient knowledge how to build a picobsd. newfs does not have the '-p' option any more. I corrected this and the 'picobsd' script works well until it tries to 'bsdlabel' the image, then I receive this error: -------------- *** Copy generic floppy_tree into MFS... *** Fixing permissions *** create_mfs() Preparing MFS filesystem... *** free_vnode() md1 *** init_fs_image() /usr/src/release/picobsd/build_dir-bastion/fs.PICOBSD 4096 *** Labeling MFS image *** Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/md1c 3831 0 3831 0% /var/tmp/picobsd.eWOKdceTDT *** Copy mfs tree into file *** Status of mfs image Filesystem 1K-blocks Used Avail Capacity iused ifree %iused Mounted on /dev/md1c 3831 1490 2341 39% 81 493 14% /var/tmp/picobsd.eWOKdceTDT /dev/md1c: FILESYSTEM CLEAN; SKIPPING CHECKS /dev/md1c: clean, 4682 free (18 frags, 583 blocks, 0.2% fragmentation) *** free_vnode() md1 *** fill_floppy_image() *** Preparing 2880kB floppy filesystem... *** init_fs_image() /usr/src/release/picobsd/build_dir-bastion/picobsd.bin 2880 *** Labeling floppy image bsdlabel: /dev/md1: no valid label found ---> fail: Error <1> error code in <> Error while doing disklabel on of floppy.img size 2880 ---> Aborting /usr/src/release/picobsd/build/picobsd.neu *** final_cleanup() *** free_vnode() md1 ------------ My new picobsd-script is named 'picobsd.neu'. I changed the following lines to come alongside the changes made in 5.X: # create a disklabel ... #bsdlabel -Brw -b ${c_boot1} -s ${b2} ${l_vndev} auto || \ # fail $? floppy_disklabel ls -la /dev/md* bsdlabel -B -b ${c_boot1} ${l_vndev} auto || \ fail $? floppy_disklabel ${c_boot1} targets /boot/cdboot, newfs has no -p option. If anyone has a hint or tip, please email me. Thanks a lot, Oliver -- MfG O. Hartmann ohartman@mail.physik.uni-mainz.de ------------------------------------------------------------------ Systemadministration des Institutes fuer Physik der Atmosphaere (IPA) ------------------------------------------------------------------ Johannes Gutenberg Universitaet Mainz Becherweg 21 55099 Mainz Tel: +496131/3924662 (Maschinenraum) Tel: +496131/3924144 (Buero) FAX: +496131/3923532 From owner-freebsd-small@FreeBSD.ORG Thu Jul 17 11:29:46 2003 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 44AE737B401 for ; Thu, 17 Jul 2003 11:29:46 -0700 (PDT) Received: from hotmail.com (law9-f30.law9.hotmail.com [64.4.9.30]) by mx1.FreeBSD.org (Postfix) with ESMTP id D5D8543F3F for ; Thu, 17 Jul 2003 11:29:45 -0700 (PDT) (envelope-from freebsdfan@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 17 Jul 2003 11:29:45 -0700 Received: from 68.4.57.222 by lw9fd.law9.hotmail.msn.com with HTTP; Thu, 17 Jul 2003 18:29:45 GMT X-Originating-IP: [68.4.57.222] X-Originating-Email: [freebsdfan@hotmail.com] From: "Chuck T." To: rb@gid.co.uk Date: Thu, 17 Jul 2003 11:29:45 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 17 Jul 2003 18:29:45.0760 (UTC) FILETIME=[65C0AA00:01C34C91] cc: freebsd-small@freebsd.org Subject: Re: Problems booting 4.8R PicoBSD X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2003 18:29:46 -0000 I found my problem ... I was booting on card with a National Geode processor (formally Cyrix GXm) and I didn't have a cpu I586_CPU line in my configuration file. The good news is that the kernel panic I ran into in 4.4R has been fixed and I can now boot using a TFTP only version of pxeboot. The bad news is that my project fit on a single floppy when built on 4.5R, but now even without the huge dhcp client it no longer fits. Oh well, I've moved to a compact flash based system anyway so it's not an issue for me. Thanks for the help Bob. >Ah, I understand (sort of). I now remember I once tried tftp-only (ages >ago, around 4.5R) and it didn't work so I didn't pursue it. > >-- >Bob Bishop +44 (0)118 977 4017 >rb@gid.co.uk fax +44 (0)118 989 4254 > _________________________________________________________________ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail From owner-freebsd-small@FreeBSD.ORG Thu Jul 17 13:38:03 2003 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 999B437B401 for ; Thu, 17 Jul 2003 13:38:03 -0700 (PDT) Received: from rwcrmhc12.comcast.net (rwcrmhc12.comcast.net [216.148.227.85]) by mx1.FreeBSD.org (Postfix) with ESMTP id DE5B043FDF for ; Thu, 17 Jul 2003 13:38:00 -0700 (PDT) (envelope-from diz@linuxpowered.com) Received: from linuxpowered.com (12-238-50-170.client.attbi.com[12.238.50.170](untrusted sender)) by comcast.net (rwcrmhc12) with SMTP id <20030717203757014000lv7ve> (Authid: jdisnard); Thu, 17 Jul 2003 20:37:59 +0000 Message-ID: <3F17090E.3000206@linuxpowered.com> Date: Thu, 17 Jul 2003 15:37:34 -0500 From: Jon Disnard User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 To: "Chuck T." References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-small@freebsd.org Subject: Re: Problems booting 4.8R PicoBSD X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2003 20:38:03 -0000 So can we expect an updated TheWall soon? -Jon Chuck T. wrote: > I found my problem ... I was booting on card with a National Geode > processor (formally Cyrix GXm) and I didn't have a cpu I586_CPU line in > my configuration file. The good news is that the kernel panic I ran > into in 4.4R has been fixed and I can now boot using a TFTP only version > of pxeboot. The bad news is that my project fit on a single floppy when > built on 4.5R, but now even without the huge dhcp client it no longer > fits. Oh well, I've moved to a compact flash based system anyway so > it's not an issue for me. > > Thanks for the help Bob. > >> Ah, I understand (sort of). I now remember I once tried tftp-only >> (ages ago, around 4.5R) and it didn't work so I didn't pursue it. >> >> -- >> Bob Bishop +44 (0)118 977 4017 >> rb@gid.co.uk fax +44 (0)118 989 4254 >> > > _________________________________________________________________ > The new MSN 8: smart spam protection and 2 months FREE* > http://join.msn.com/?page=features/junkmail > > _______________________________________________ > freebsd-small@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-small > To unsubscribe, send any mail to "freebsd-small-unsubscribe@freebsd.org" From owner-freebsd-small@FreeBSD.ORG Thu Jul 17 14:50:24 2003 Return-Path: Delivered-To: freebsd-small@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6D62337B401 for ; Thu, 17 Jul 2003 14:50:24 -0700 (PDT) Received: from hotmail.com (law9-f125.law9.hotmail.com [64.4.9.125]) by mx1.FreeBSD.org (Postfix) with ESMTP id ECED343FA3 for ; Thu, 17 Jul 2003 14:50:23 -0700 (PDT) (envelope-from freebsdfan@hotmail.com) Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Thu, 17 Jul 2003 14:50:23 -0700 Received: from 68.4.57.222 by lw9fd.law9.hotmail.msn.com with HTTP; Thu, 17 Jul 2003 21:50:22 GMT X-Originating-IP: [68.4.57.222] X-Originating-Email: [freebsdfan@hotmail.com] From: "Chuck T." To: diz@linuxpowered.com Date: Thu, 17 Jul 2003 14:50:22 -0700 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 17 Jul 2003 21:50:23.0901 (UTC) FILETIME=[6D0B34D0:01C34CAD] cc: freebsd-small@freebsd.org Subject: Re: Problems booting 4.8R PicoBSD X-BeenThere: freebsd-small@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Jul 2003 21:50:24 -0000 Well ... to be perfectly honest I'm blown away by m0n0wall (http://m0n0.ch/wall/ ) since thewall no longer comes anywhere close to fitting on a floppy I'm not sure I have much to offer. The primary reason I was playing around with it again was because I had submitted a kernel bug report that was closed due to "feedback timeout". Since I had some time on my hands I wanted to see if I could reproduce the problem. From browsing the CVS logs it looks like the problem was fixed 19 months ago (in /sys/netinet/ip_icmp.c, revision 1.62). >From: Jon Disnard >To: "Chuck T." >CC: freebsd-small@freebsd.org >Subject: Re: Problems booting 4.8R PicoBSD >Date: Thu, 17 Jul 2003 15:37:34 -0500 > >So can we expect an updated TheWall soon? > >-Jon > > >Chuck T. wrote: > >>I found my problem ... I was booting on card with a National Geode >>processor (formally Cyrix GXm) and I didn't have a cpu I586_CPU line in my >>configuration file. The good news is that the kernel panic I ran into in >>4.4R has been fixed and I can now boot using a TFTP only version of >>pxeboot. The bad news is that my project fit on a single floppy when >>built on 4.5R, but now even without the huge dhcp client it no longer >>fits. Oh well, I've moved to a compact flash based system anyway so it's >>not an issue for me. >> >>Thanks for the help Bob. >> >>>Ah, I understand (sort of). I now remember I once tried tftp-only (ages >>>ago, around 4.5R) and it didn't work so I didn't pursue it. >>> >>>-- >>>Bob Bishop +44 (0)118 977 4017 >>>rb@gid.co.uk fax +44 (0)118 989 4254 >>> >> >>_________________________________________________________________ >>The new MSN 8: smart spam protection and 2 months FREE* >>http://join.msn.com/?page=features/junkmail >> >>_______________________________________________ >>freebsd-small@freebsd.org mailing list >>http://lists.freebsd.org/mailman/listinfo/freebsd-small >>To unsubscribe, send any mail to "freebsd-small-unsubscribe@freebsd.org" > > _________________________________________________________________ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail