Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Oct 2008 11:22:06 +0900
From:      Pyun YongHyeon <pyunyh@gmail.com>
To:        Aniruddha <mailing_list@orange.nl>
Cc:        Jeremy Chadwick <koitsu@FreeBSD.org>, freebsd-questions@FreeBSD.org
Subject:   Re: Under heavy load internet gets killed, only a reboot can bring it back up
Message-ID:  <20081020022205.GF38923@cdnetworks.co.kr>
In-Reply-To: <1224249708.4053.0.camel@debian>
References:  <1224054780.4011.20.camel@debian> <20081015072630.GA70901@icarus.home.lan> <1224069478.4247.7.camel@debian> <20081015113101.GA76278@icarus.home.lan> <20081015120911.GI14769@cdnetworks.co.kr> <1224080661.5407.2.camel@debian> <20081015235638.GA22992@cdnetworks.co.kr> <1224249708.4053.0.camel@debian>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Oct 17, 2008 at 03:21:48PM +0200, Aniruddha wrote:
 > On Thu, 2008-10-16 at 08:56 +0900, Pyun YongHyeon wrote:
 > > It seems that msk(4) in HEAD does not build correctly on RELENG_7.
 > > Try attached patch.
 > > 
 > > Save attached patch to /path/to/patch
 > > #cd /usr/src/sys/dev/msk
 > > #patch -p0 < /path/to/patch/msk.watchdog.diff
 > > And rebuild your kernel.
 > 
 > This patch failed with the following error:
 > 
 > /if_msk.c
 > /usr/src/sys/dev/msk/if_msk.c:845:50: error: macro "MEXTADD" passed 8
 > arguments, but takes just 7
 > /usr/src/sys/dev/msk/if_msk.c: In function 'msk_jumbo_newbuf':
 > /usr/src/sys/dev/msk/if_msk.c:844: error: 'MEXTADD' undeclared (first
 > use in this function)
 > /usr/src/sys/dev/msk/if_msk.c:844: error: (Each undeclared identifier is
 > reported only once
 > /usr/src/sys/dev/msk/if_msk.c:844: error: for each function it appears
 > in.)
 > *** Error code 1
 > 
 > Stop in /usr/obj/usr/src/sys/MYKERNEL.
 > *** Error code 1
 > 
 > Stop in /usr/src.
 > *** Error code 1
 > 
 > Stop in /usr/src.

Are you sure you've backed out any changes to if_msk.c/if_mskreg.h?
You should apply the patch above to if_msk.c/if_mskreg.h in
7.1-PRELEASE. I've verified compilation testing and it should build
without problems.

-- 
Regards,
Pyun YongHyeon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081020022205.GF38923>