From owner-freebsd-net Mon Oct 5 12:25:31 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id MAA10534 for freebsd-net-outgoing; Mon, 5 Oct 1998 12:25:31 -0700 (PDT) (envelope-from owner-freebsd-net@FreeBSD.ORG) Received: from bells.cs.ucl.ac.uk (bells.cs.ucl.ac.uk [128.16.5.31]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id MAA10515 for ; Mon, 5 Oct 1998 12:25:26 -0700 (PDT) (envelope-from P.Gevros@cs.ucl.ac.uk) Received: from sporty.cs.ucl.ac.uk by bells.cs.ucl.ac.uk with local SMTP id ; Mon, 5 Oct 1998 20:24:35 +0100 X-Mailer: exmh version 1.6.6 3/24/96 To: net@FreeBSD.ORG cc: p.gevros@cs.ucl.ac.uk Subject: kernel compiled remotely + installed over NFS -> net i/f problem Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 05 Oct 1998 20:24:35 +0200 Message-ID: <2094.907615475@cs.ucl.ac.uk> From: Panos GEVROS Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org bizzare.. the story is rather long but there may be people interested i still don't know why this happens, and i wish there is an easy answer. Cheers, Panos Background this appeared sometime ago in this list under ("Re: network problem") and was about a problem with an ethernet interface (ed0) which was 'going to sleep' and connections freezed, pings stopped etc. and when i kick it (send/tcpdump) everything resumes till the next time (soon) Fix it appeared not to be a H/w problem after all ..what fixed was just compiling a kernel locally. i brought the src-sys and rebuilt the kernel _locally_ and now it is working fine (the _same_ kernel config file!) Story the "problematic" kernel had "past" which appeared in freebsd-questions ("Re: mounting sources and building kernels") a couple of weeks ago (in brief: i was compiling on a 'server' machine which had the sources then mounting /usr/src on the machine which had the problem and did 'make install' ) this is how i bult the kernel that was causing the problem: --------------------------------------------------------------- is it possible to have all sources in only one "server" machine and use it to upgrade another "remote" by letting the "remote" mount the "server"? (i NFS export /usr/src -maproot=root on the server) i have upgraded the system from 2.2.6 -> 2.2.7 by 'makebuildworld' once on the server and then on the "remote" : mount server:/usr/src /usr/src cd /usr/src make installworld that seemed to have worked... i have difficulty with building a kernel like this though, on the "remote"!!: mount server:/usr/src /usr/src cd /usr/src/sys/i386/conf /usr/sbin/config REMOTE-KERNEL cd ../../compile/REMOTE-KERNEL make depend make ... ... Error 1 at vnode_if.c (first file to cc) in fact i receive several 'warnings' at vnode_if.c all like this : vnode_if.c:640: warning: excess elements in struct initializerafter `vop_vfree_desc` *** Error code 1 if i build the kernel on the "server" and on the "remote" just 'mount' 'cd' in the REMOTE-KERNEL compile directory do 'make install' then it does not complain. BUT THIS KERNEL had the ed0 sideffect. i'd be very interested to know why this happens? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message