From owner-freebsd-current@FreeBSD.ORG Mon Aug 17 15:35:27 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 929B2106568C for ; Mon, 17 Aug 2009 15:35:27 +0000 (UTC) (envelope-from arno@heho.snv.jussieu.fr) Received: from shiva.jussieu.fr (shiva.jussieu.fr [134.157.0.129]) by mx1.freebsd.org (Postfix) with ESMTP id 411928FC59 for ; Mon, 17 Aug 2009 15:35:27 +0000 (UTC) Received: from heho.snv.jussieu.fr (heho.snv.jussieu.fr [134.157.184.22]) by shiva.jussieu.fr (8.14.3/jtpda-5.4) with ESMTP id n7HFZPnD091858 ; Mon, 17 Aug 2009 17:35:25 +0200 (CEST) X-Ids: 168 Received: from heho.snv.jussieu.fr (localhost [127.0.0.1]) by heho.snv.jussieu.fr (8.14.3/8.14.3) with ESMTP id n7HFZOnr001879; Mon, 17 Aug 2009 17:35:24 +0200 (CEST) (envelope-from arno@heho.snv.jussieu.fr) Received: (from arno@localhost) by heho.snv.jussieu.fr (8.14.3/8.14.3/Submit) id n7HFZOku001876; Mon, 17 Aug 2009 17:35:24 +0200 (CEST) (envelope-from arno) To: Marcel Moolenaar From: "Arno J. Klaassen" References: Date: Mon, 17 Aug 2009 17:35:24 +0200 In-Reply-To: (Marcel Moolenaar's message of "Sun\, 16 Aug 2009 14\:20\:47 -0700") Message-ID: User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: ClamAV 0.94.2/9704/Mon Aug 17 03:54:29 2009 on shiva.jussieu.fr X-Virus-Status: Clean X-Miltered: at jchkmail.jussieu.fr with ID 4A8978BD.008 by Joe's j-chkmail (http : // j-chkmail dot ensmp dot fr)! X-j-chkmail-Enveloppe: 4A8978BD.008/134.157.184.22/heho.snv.jussieu.fr/heho.snv.jussieu.fr/ Cc: current@freebsd.org Subject: Re: rc(8) regression. What's the story? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Aug 2009 15:35:27 -0000 Marcel Moolenaar writes: > All, > > A few of my machines still can't boot successfully to multi-user: > > ... > Trying to mount root from ufs:da0p3 > Entropy harvesting: interrupts ethernet point_to_point kickstart. > /dev/da0p3: FILE SYSTEM CLEAN; SKIPPING CHECKS > /dev/da0p3: clean, 8843098 free (98130 frags, 1093121 blocks, 0.6% > fragmentation) > WARNING: ZFS is considered to be an experimental feature in FreeBSD. > ZFS filesystem version 13 > ZFS storage pool version 13 > bge0: link state changed to DOWN > Starting Network: lo0 bge0. > bge1: link state changed to DOWN > Mounting NFS file systems:mount_nfs: nfs: hostname nor servname > provided, or not known > . > bge0: link state changed to UP > Setting date via ntp. > Error : hostname nor servname provided, or not known > > [ ... ] > I have a similar problem, and it seems related to the moment that bge0 is brought up : I have a kernel-config with only 'device mii' compiled in; if I set if_bge_load=YES in loader.conf, boot single user and run netif by hand I get : Trying to mount root from ufs:/dev/aacd0s1a ct_to_ts([2009-08-17 13:42:03]) = 1250516523.000000000 start_init: trying /sbin/init Enter full pathname of shell or RETURN for /bin/sh: # /etc/rc.d/netif start XXX netif start ... bge0: link state changed to DOWN Starting Network: bge0. bge0: flags=8843 metric 0 mtu 1500 options=9b ether 00:e0:81:4d:5d:b8 inet 172.16.1.8 netmask 0xffffff00 broadcast 172.16.1.255 inet6 fe80::2e0:81ff:fe4d:5db8%bge0 prefixlen 64 tentative scopeid 0x1 media: Ethernet autoselect (none) status: no carrier # bge0: link UP bge0: link state changed to UP # ping 172.16.1.6 PING 172.16.1.6 (172.16.1.6): 56 data bytes ping: sendto: Permission denied ping: sendto: Permission denied ping: sendto: Permission denied ^C --- 172.16.1.6 ping statistics --- 3 packets transmitted, 0 packets received, 100.0% packet loss # freed 1 flow entries # nslookup 172.16.1.6 172.16.1.6 ;; connection timed out; no servers could be reached # However, if I place kldload if_bge in rc.local (and normal multi-user boot) : XXX netif start ... Starting Network: lo0. route: writing to routing socket: Network is unreachable add net default: gateway 172.16.1.254: Network is unreachable /etc/rc: WARNING: Dump device does not exist. Savecore not run. rpc.umntall: push: MOUNTPROG: RPC: Unknown host Aug 17 16:11:08 siamesetwins kernel: NLM: failed to contact remo Aug 17 16:1bge0: mem 0xff0d0000-0xff0dffff,0xff0c0000-0xff0cffff irq 26 at device 4.0 on pci4 bge0: Reserved 0x10000 bytes for rid 0x10 type 3 at 0xff0d0000 bge0: attempting to allocate 1 MSI vectors (8 supported) msi: routing MSI IRQ 256 to local APIC 0 vector 48 bge0: using IRQ 256 for MSI bge0: CHIP ID 0x81000000; ASIC REV 0x08; CHIP REV 0x81; PCI-X 1:08 siamesetwinmiibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: OUI 0x000818, model 0x0035, rev. 0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: bpf attached bge0: Ethernet address: XXX bge0: [MPSAFE] bge0: [ITHREAD] [ ... ] Mon Aug 17 16:11:24 CEST 2009 FreeBSD/amd64 (siamesetwins) (ttyu0) login: ts_to_ct(1250518288.759918777) = [2009-08-17 14:11:28] FreeBSD/amd64 (siamesetwins) (ttyu0) login: toor [ ... ] [root@siamesetwins ~]# ping 172.16.1.6 PING 172.16.1.6 (172.16.1.6): 56 data bytes 64 bytes from 172.16.1.6: icmp_seq=0 ttl=64 time=0.210 ms 64 bytes from 172.16.1.6: icmp_seq=1 ttl=64 time=0.231 ms ^C --- 172.16.1.6 ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.210/0.221/0.231/0.010 ms [root@siamesetwins ~]# nslookup 172.16.1.6 172.16.1.6 Server: 172.16.1.6 Address: 172.16.1.6#53 6.1.16.172.in-addr.arpa name = XXX [root@siamesetwins ~]# /etc/rc.d/lockd restart lockd not running? Starting lockd. [root@siamesetwins ~]# Arno