Henrik Brix Andersen | 2 Jul 01:32 2007
Picon

Re: [nanobsd] Build failure on RELENG_6

On Tue, May 08, 2007 at 01:15:56PM -0700, Sean Bruno wrote:
> While attempting to build nanobsd on RELENG_6, I am getting a build failure 
> in install_world that doesn't occur outside of nanobsd.  Any ideas?
> 
> ===> usr.bin/lex/lib (install)
> install -C -o root -g wheel -m 444   libln_p.a /var/tmp/obj/_.w/usr/lib
> /var/tmp/obj/_.w/usr/lib/libl.a -> /var/tmp/obj/_.w/usr/lib/libln.a
> ln: /var/tmp/obj/_.w/usr/lib/libln.a: No such file or directory
> *** Error code 1
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2
> 1 error
> *** Error code 2

I have just submitted a patch for fixing this issue - see bin/114200 [1].

Regards,
Brix

[1]: http://www.freebsd.org/cgi/query-pr.cgi?pr=114200
--

-- 
Henrik Brix Andersen <henrik@...>
(Continue reading)

M. Warner Losh | 2 Jul 03:01 2007

Re: [nanobsd] Build failure on RELENG_6 bin/11420

In message: <20070701233235.GA875@...>
            Henrik Brix Andersen <henrik@...> writes:
: On Tue, May 08, 2007 at 01:15:56PM -0700, Sean Bruno wrote:
: > While attempting to build nanobsd on RELENG_6, I am getting a build failure 
: > in install_world that doesn't occur outside of nanobsd.  Any ideas?
: > 
: > ===> usr.bin/lex/lib (install)
: > install -C -o root -g wheel -m 444   libln_p.a /var/tmp/obj/_.w/usr/lib
: > /var/tmp/obj/_.w/usr/lib/libl.a -> /var/tmp/obj/_.w/usr/lib/libln.a
: > ln: /var/tmp/obj/_.w/usr/lib/libln.a: No such file or directory
: > *** Error code 1
: > 1 error
: > *** Error code 2
: > 1 error
: > *** Error code 2
: > 1 error
: > *** Error code 2
: > 1 error
: > *** Error code 2
: > 1 error
: > *** Error code 2
: > 1 error
: > *** Error code 2
: 
: I have just submitted a patch for fixing this issue - see bin/114200 [1].
: 
: Regards,
: Brix
: 
: [1]: http://www.freebsd.org/cgi/query-pr.cgi?pr=114200
(Continue reading)

Henrik Brix Andersen | 2 Jul 10:47 2007
Picon

Re: [nanobsd] Build failure on RELENG_6 bin/11420

On Sun, Jul 01, 2007 at 07:01:35PM -0600, M. Warner Losh wrote:
> In message: <20070701233235.GA875@...>
>             Henrik Brix Andersen <henrik@...> writes:
...
> : [1]: http://www.freebsd.org/cgi/query-pr.cgi?pr=114200
> 
> This patch is incorrect.
> 
> +.if !defined(NO_INSTALLLIB)
> 
> should be
> 
> +.if ${MK_INSTALLIB} != "no"

Oh - thanks for catching this. I guess the same change should be done
in lib/ncurses/ncurses/Makefile, then?

Here's an updated patch:

--- usr.bin/lex/lib/Makefile.orig	2007-07-02 01:06:20.000000000 +0200
+++ usr.bin/lex/lib/Makefile	2007-07-02 10:41:47.000000000 +0200
 <at>  <at>  -6,8 +6,10  <at>  <at> 
 SRCS=   libmain.c libyywrap.c
 NO_PIC=

+.if ${MK_INSTALLLIB} != "no"
 LINKS=  ${LIBDIR}/libln.a ${LIBDIR}/libl.a
 LINKS+=	${LIBDIR}/libln.a ${LIBDIR}/libfl.a
+.endif

(Continue reading)

FreeBSD bugmaster | 2 Jul 13:08 2007
Picon

Current problem reports assigned to you

Current FreeBSD problem reports
Critical problems
Serious problems
Non-critical problems

S Tracker      Resp.      Description
--------------------------------------------------------------------------------
o misc/15876   embedded   [picobsd] PicoBSD message of the day problems
o misc/28255   embedded   [picobsd] picobsd documentation still references old .
o kern/42728   embedded   [picobsd] many problems in src/usr.sbin/ppp/*  after c
f misc/52255   embedded   [picobsd] picobsd build script fails under FreeBSD 5.0
o misc/52256   embedded   [picobsd] picobsd build script does not read in user/s
o kern/101228  embedded   [nanobsd] [patch] Two more entries for FlashDevice.sub

6 problems total.

M. Warner Losh | 2 Jul 15:47 2007

Re: bin/11420 [nanobsd] Build failure on RELENG_6

In message: <20070702084757.GA8274@...>
            Henrik Brix Andersen <henrik@...> writes:
: On Sun, Jul 01, 2007 at 07:01:35PM -0600, M. Warner Losh wrote:
: > In message: <20070701233235.GA875@...>
: >             Henrik Brix Andersen <henrik@...> writes:
: ...
: > : [1]: http://www.freebsd.org/cgi/query-pr.cgi?pr=114200
: > 
: > This patch is incorrect.
: > 
: > +.if !defined(NO_INSTALLLIB)
: > 
: > should be
: > 
: > +.if ${MK_INSTALLIB} != "no"
: 
: Oh - thanks for catching this. I guess the same change should be done
: in lib/ncurses/ncurses/Makefile, then?

I belive so.  I've CC'd ru <at>  to make sure.

Warner

: Here's an updated patch:
: 
: --- usr.bin/lex/lib/Makefile.orig	2007-07-02 01:06:20.000000000 +0200
: +++ usr.bin/lex/lib/Makefile	2007-07-02 10:41:47.000000000 +0200
:  <at>  <at>  -6,8 +6,10  <at>  <at> 
:  SRCS=   libmain.c libyywrap.c
:  NO_PIC=
(Continue reading)

Mike Tancsa | 4 Jul 19:10 2007
Picon

Strange nanobsd issue

I ran into a rather strange problem I dont understand.  With my 
nanobsd image, if I comment out

hint.sio.0.flags="0x10"
or
hint.uart.0.flags="0x10"
from /boot/device.hints

I get the RAM disks mounted twice ?!

eg.

# df
Filesystem  1K-blocks  Used  Avail Capacity  Mounted on
/dev/ad0s1a    245239 98076 127544    43%    /
devfs               1     1      0   100%    /dev
/dev/md0         4526  1784   2380    43%    /etc
/dev/md1        27990   124  25628     0%    /var
/dev/md2         4526  1788   2376    43%    /etc
/dev/md3        27990   436  25316     2%    /var

/boot.config is empty and /boot/loader.conf has

hw.ata.ata_dma=0
hw.ata.atapi_dma=0
beastie_disable="YES"           # Turn the beastie boot menu on and off
#comconsole_speed="19200"
#console="nullconsole"
autoboot_delay="4

(Continue reading)

Larry Baird | 5 Jul 21:45 2007

Live lock with FreeBSD 6.2 and WRAP boards

First some history, we have been building firewalls based upon FreeBSD
4.x for several years.  A few months back we switched to FreeBSD 6.x.
Our software runs on a number of different hardware platforms.  At the low
end we are using WRAP boards (http://www.pcengines.ch/wrap.htm).  As
part of the QA process, manufacturing uses iperf during burnin.  This
worked great for FreeBSD 4.x based products.  With 6.x, some of the
WRAP based products would reboot during the testing.  

It was found that the the boxes had become so live locked that the
watchdog timer wasn't getted tickled.   For what its worth, watchdog
is set to 32 seconds, 

One small change to the sis driver has helped a lot with this problem.
Old code for sis_intr() began as below:

        SIS_LOCK(sc);
#ifdef DEVICE_POLLING
        if (ifp->if_capenable & IFCAP_POLLING) {
                SIS_UNLOCK(sc);
                return;
        }
#endif
#endif

We changed this to:

#ifdef DEVICE_POLLING
        if (ifp->if_capenable & IFCAP_POLLING) {
                return;
        }
(Continue reading)

FreeBSD bugmaster | 9 Jul 13:08 2007
Picon

Current problem reports assigned to you

Current FreeBSD problem reports
Critical problems
Serious problems
Non-critical problems

S Tracker      Resp.      Description
--------------------------------------------------------------------------------
o misc/15876   embedded   [picobsd] PicoBSD message of the day problems
o misc/28255   embedded   [picobsd] picobsd documentation still references old .
o kern/42728   embedded   [picobsd] many problems in src/usr.sbin/ppp/*  after c
f misc/52255   embedded   [picobsd] picobsd build script fails under FreeBSD 5.0
o misc/52256   embedded   [picobsd] picobsd build script does not read in user/s
o kern/101228  embedded   [nanobsd] [patch] Two more entries for FlashDevice.sub

6 problems total.

FreeBSD bugmaster | 16 Jul 13:08 2007
Picon

Current problem reports assigned to you

Current FreeBSD problem reports
Critical problems
Serious problems
Non-critical problems

S Tracker      Resp.      Description
--------------------------------------------------------------------------------
o misc/15876   embedded   [picobsd] PicoBSD message of the day problems
o misc/28255   embedded   [picobsd] picobsd documentation still references old .
o kern/42728   embedded   [picobsd] many problems in src/usr.sbin/ppp/*  after c
f misc/52255   embedded   [picobsd] picobsd build script fails under FreeBSD 5.0
o misc/52256   embedded   [picobsd] picobsd build script does not read in user/s
o kern/101228  embedded   [nanobsd] [patch] Two more entries for FlashDevice.sub

6 problems total.

FreeBSD bugmaster | 23 Jul 13:08 2007
Picon

Current problem reports assigned to you

Current FreeBSD problem reports
Critical problems
Serious problems
Non-critical problems

S Tracker      Resp.      Description
--------------------------------------------------------------------------------
o misc/15876   embedded   [picobsd] PicoBSD message of the day problems
o misc/28255   embedded   [picobsd] picobsd documentation still references old .
o kern/42728   embedded   [picobsd] many problems in src/usr.sbin/ppp/*  after c
f misc/52255   embedded   [picobsd] picobsd build script fails under FreeBSD 5.0
o misc/52256   embedded   [picobsd] picobsd build script does not read in user/s
o kern/101228  embedded   [nanobsd] [patch] Two more entries for FlashDevice.sub

6 problems total.


Gmane