From owner-freebsd-stable@FreeBSD.ORG Tue Jun 6 17:11:23 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 38DFB16B1CE for ; Tue, 6 Jun 2006 17:11:23 +0000 (UTC) (envelope-from hiroo@oikumene.gcd.org) Received: from smtp2.inetd.co.jp (smtp2.inetd.co.jp [211.13.220.139]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B5ED43D6D for ; Tue, 6 Jun 2006 17:11:20 +0000 (GMT) (envelope-from hiroo@oikumene.gcd.org) Received: from chrysanthe.oikumene.gcd.org (206.162.192.61.tokyo.global.alpha-net.ne.jp [61.192.162.206]) by smtp2.inetd.co.jp (Postfix) with ESMTP id 6A73FC4EB3 for ; Wed, 7 Jun 2006 02:11:18 +0900 (JST) Received: from jezebel.oikumene.gcd.org (jezebel.oikumene.gcd.org [192.168.0.20]) (authenticated bits=0) by chrysanthe.oikumene.gcd.org (8.13.6/8.13.6) with ESMTP id k56HBHFS001962 for ; Wed, 7 Jun 2006 02:11:18 +0900 (JST) (envelope-from hiroo@oikumene.gcd.org) Date: Wed, 07 Jun 2006 02:11:15 +0900 Message-ID: <86irnetdjg.wl%hiroo@oikumene.gcd.org> From: Hiroo Ono To: freebsd-stable@freebsd.org User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (=?ISO-8859-4?Q?Shij=F2?=) APEL/10.6 Emacs/21.3 (i386--freebsd) MULE/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII Subject: loader and ifconfig_*_name problem in 6.1-STABLE of 5 June X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 06 Jun 2006 17:11:23 -0000 I upgraded via build/installworld from 6.1-PRERELEASE as of 27 Mars to 6.1-STABLE 5 June, and encounterd 2 problems. a) loader and kernel has some problem that lead to instant reboot upon loading the kernel. the problem was as follows: 1) booting the new kernel with the old loader was fine. I did buildkernel and installkernel and rebooted in single user mode. It had no problems. 2) loading the new kernel with the new loader made the machine reboot. After step (1), I did installworld and rebooted. It resulted in rebooting just after loader menu. I could escape to loader prompt and found that doing > unload > load kernel makes the machine reboot. 3) loading the old kernel with the new loader can boot in single user mode. > unload > set module_path=/boot/kernel.old > load kernel (and some other necessary modules) > boot -s was fine (though, exiting in multi-user mode had problem around mountd and panic'ed with the new userland). I copied the old /boot/loader.old to /boot/loader as a workaround. I have CFLAGS= -O2 -pipe COPTFLAGS= -O2 -pipe and no CPUTYPE setting in /etc/make.conf, so I wonder what caused the problem. b) pre-loading ng_ether.ko module and doing ifconfig name may have problem with ppp. I put the following in /etc/rc.conf ifconfig_sis0_name="net0" and changed device setting in /etc/ppp/ppp.conf as follows: set device PPPoE:net0 This did not work and had the following error message in /var/log/messages: ppp[258]: tun0: Warning: net0: Cannot send a netgraph message: No such file or directory changing device setting to set device PPPoE:sis0 or doing ngctl name sis0: net0 could make ppp work. The problem may be caused by loading ng_ether.ko in loader.conf (I do not remember why I did this, though). If I did not do that, ng_ether module was loaded when ppp was invoked after interface rename and might have no problem. I did not verify this yet, though.