From owner-freebsd-questions@FreeBSD.ORG Tue May 22 15:19:21 2007 Return-Path: X-Original-To: questions@freebsd.org Delivered-To: freebsd-questions@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 59C6B16A468 for ; Tue, 22 May 2007 15:19:21 +0000 (UTC) (envelope-from y@rem7.cc) Received: from wa-out-1112.google.com (wa-out-1112.google.com [209.85.146.177]) by mx1.freebsd.org (Postfix) with ESMTP id E9A9513C448 for ; Tue, 22 May 2007 15:19:20 +0000 (UTC) (envelope-from y@rem7.cc) Received: by wa-out-1112.google.com with SMTP id m28so92128wag for ; Tue, 22 May 2007 08:19:20 -0700 (PDT) Received: by 10.114.161.11 with SMTP id j11mr3356447wae.1179847160160; Tue, 22 May 2007 08:19:20 -0700 (PDT) Received: by 10.114.47.5 with HTTP; Tue, 22 May 2007 08:19:19 -0700 (PDT) Message-ID: <4d9d444a0705220819s63d25bbbl792bc15057810f5e@mail.gmail.com> Date: Tue, 22 May 2007 08:19:19 -0700 From: "Yanko Sanchez" To: "Reid Linnemann" In-Reply-To: <4652E8F5.6070402@cs.okstate.edu> MIME-Version: 1.0 References: <4d9d444a0705211744v240650f9rf244175e6305fdd0@mail.gmail.com> <4652E8F5.6070402@cs.okstate.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: questions@freebsd.org Subject: Re: freebsd broken after kernel re-compile. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2007 15:19:21 -0000 well yesterday I recompiled the kernel again turning on and off some of the options I had previously changed just to see if that what would change. I was able to get both NIC cards up and the routing services on. The problem is that now the card that used to be rl0 is now rl1 and the one that used to be rl1 is now rl0. It doesn't really matter that much since I just had to change the variables in some settings. And everything started working fine. Is there a reason why this happened? why did the system re-asisgn the names of the NICs? On 5/22/07, Reid Linnemann wrote: > > Comments inline: > > Written by Yanko Sanchez on 05/21/07 19:44>> > > @youshi10: > > yeah, I'm aware that MacOSX supports for unix, but at the time that we > > transfered the data to the hdd we didn't know which server was gonna > > be running the hdd... Fat32 was the only FS that we know would be > > compatible with any OS (but we didn't know of the size limit) so if > > the server had been a Windows 2003 server, I don't think I would have > > had any chance of opening that FS (unless 3rd party software if there > > is any) > > > > > > Anyways, here is the info that Reid asked for. > > > > 1: I updated the ports tree following the instructions of freebsd wiki > > > > The FreeBSD wiki is a collection of pages, I need to know which specific > pages contained your instructions. > > > 2: I recompiled the kernel following the instructions of freebsd wiki: > > cp /usr/src/sys/i386/conf/BASTION /usr/src/sys/i386/conf/BASTION2 > > vim /usr/src/sys/i386/conf/BASTION2 > > added option MSDOSFS_LARGE > > > > cd /usr/src > > make buildkernel KERNCONF=BASTION2 > > > > make installkernel KERNCONF=BASTION2 > > reboot > > > > This is a standard way to install a new kernel. > > > 3: uname -a: > > FreeBSD bastion 6.2-STABLE FreeBSD 6.2-STABLE #2L Mon May 21 00:30:39 > > PDT 2007 rem@bastion:/usr/obj/usr/src/sys/BASTION2 i386 > > > > 4: iffconfig -a: > > bastion# ifconfig -a > > > > rl0: flags=8843 mtu 1500 > > options=8 > > atalk 65280.205 range 0-65534 phase 2 broadcast 0.255 > > ether 00:e0:18:8d:10:8f > > media: Ethernet autoselect (100baseTX ) > > status: active > > fwe0: flags=108802 mtu 1500 > > options=8 > > ether 0a:00:46:29:6f:02 > > ch 1 dma -1 > > plip0: flags=108810 mtu 1500 > > lo0: flags=8049 mtu 16384 > > inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 > > inet6 ::1 prefixlen 128 > > inet 127.0.0.1 netmask 0xff000000 > > atalk 0.0 range 0-0 phase 2 > > > > Also, I think my network card that shows up took the place of the > > otherone, in other words, rl1 is now rl0 and rl1 is gone... I don't > > know if that just changed cos it can't find the other network card. > > > > > > I think the output of pciconf -lv might help as well. > > You should be able to boot back up in your old kernel so you can at > least get back to your previous working conditions. When you boot the > machine, and you see the boot menu, select the option to escape to the > loader prompt. Here, 'unload kernel' and 'load /boot/kernel.old/kernel', > then 'boot' to start the system. Whenever you make installkernel from > the source tree, it will back up your old kernel and modules in > /boot/kernel.old. Alternatively, you can move /boot/kernel to > /boot/kernel.bak and move /boot/kernel.old to /boot/kernel to restore > your original kernal and modules, and reboot the machine. > >