From owner-freebsd-questions@FreeBSD.ORG Thu Apr 29 13:52:05 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B9ED9106566B for ; Thu, 29 Apr 2010 13:52:05 +0000 (UTC) (envelope-from robertjenssen@ozemail.com.au) Received: from outbound.icp-qv1-irony-out5.iinet.net.au (outbound.icp-qv1-irony-out5.iinet.net.au [203.59.1.105]) by mx1.freebsd.org (Postfix) with ESMTP id C166D8FC15 for ; Thu, 29 Apr 2010 13:52:04 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgMFAE8l2Ut8qKjq/2dsb2JhbACWU4Y6ca8wjlWCWhoBghsE X-IronPort-AV: E=Sophos;i="4.52,295,1270396800"; d="scan'208";a="142674245" Received: from unknown (HELO localhost) ([124.168.168.234]) by outbound.icp-qv1-irony-out5.iinet.net.au with ESMTP; 29 Apr 2010 21:23:06 +0800 Date: Thu, 29 Apr 2010 23:23:05 +1000 From: Robert Jenssen To: freebsd-questions@freebsd.org Message-Id: <20100429232305.898fb24f.robertjenssen@ozemail.com.au> X-Mailer: Sylpheed 3.0.1 (GTK+ 2.18.7; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: nfe0 startup 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: Thu, 29 Apr 2010 13:52:05 -0000 Hi, I am using a mother board with a NVIDIA MCP9 network chip on an AMD64 motherboard. Here is the output of dmesg: Copyright (c) 1992-2010 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 8.0-STABLE #1: Fri Apr 9 15:20:00 EST 2010 root@xxxxxxxxx:/usr/obj/usr/src/sys/ECLIPSE i386 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Opteron(tm) Processor 148 (2211.35-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x20f71 Family = f Model = 27 Stepping = 1 Features=0x78bfbff Features2=0x1 AMD Features=0xe2500800 AMD Features2=0x1 real memory = 1073741824 (1024 MB) avail memory = 1041534976 (993 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a0000 (3) failed acpi0: reservation of 100000, 3fef0000 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.0 (no driver attached) isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) ohci0: mem 0xfe02f000-0xfe02ffff irq 21 at device 2.0 on pci0 ohci0: [ITHREAD] usbus0: on ohci0 ehci0: mem 0xfeb00000-0xfeb000ff irq 22 at device 2.1 on pci0 ehci0: [ITHREAD] usbus1: EHCI version 1.0 usbus1: on ehci0 pci0: at device 4.0 (no driver attached) atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe800-0xe80f at device 6.0 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] atapci1: port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xd400-0xd40f mem 0xfe02c000-0xfe02cfff irq 21 at device 7.0 on pci0 atapci1: [ITHREAD] ata2: on atapci1 ata2: [ITHREAD] ata3: on atapci1 ata3: [ITHREAD] atapci2: port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xc000-0xc00f mem 0xfe02b000-0xfe02bfff irq 22 at device 8.0 on pci0 atapci2: [ITHREAD] ata4: on atapci2 ata4: [ITHREAD] ata5: on atapci2 ata5: [ITHREAD] pcib1: at device 9.0 on pci0 pci1: on pcib1 vgapci0: port 0xac00-0xacff mem 0xfb000000-0xfbffffff,0xfcfff000-0xfcffffff irq 19 at device 5.0 on pci1 fwohci0: port 0xa800-0xa87f mem 0xfcffe000-0xfcffe7ff irq 18 at device 6.0 on pci1 fwohci0: [ITHREAD] fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 ............. fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x3ed64000 fwe0: on firewire0 if_fwe0: Fake Ethernet address: ........... fwe0: Ethernet address: ............ fwip0: on firewire0 fwip0: Firewire address: .......... @ 0xfffe00000000, S400, maxrec 2048 fwohci0: Initiate bus reset fwohci0: fwohci_intr_core: BUS reset fwohci0: fwohci_intr_core: node_id=0x00000000, SelfID Count=1, CYCLEMASTER mode nfe0: port 0xbc00-0xbc07 mem 0xfe02a000-0xfe02afff irq 23 at device 10.0 on pci0 miibus0: on nfe0 e1000phy0: PHY 1 on miibus0 e1000phy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto nfe0: Ethernet address: ............ nfe0: [FILTER] pcib2: at device 11.0 on pci0 pci2: on pcib2 pcib3: at device 12.0 on pci0 pci3: on pcib3 pcib4: at device 13.0 on pci0 pci4: on pcib4 pcib5: at device 14.0 on pci0 pci5: on pcib5 acpi_tz0: on acpi0 atrtc0: port 0x70-0x73 irq 8 on acpi0 pmtimer0 on isa0 orm0: at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff,0xcc000-0xcd7ff pnpid ORM0000 on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] ppc0: parallel port not found. powernow0: on cpu0 Timecounter "TSC" frequency 2211345268 Hz quality 800 Timecounters tick every 1.000 msec firewire0: 1 nodes, maxhop <= 0 cable IRM irm(0) (me) firewire0: bus manager 0 usbus0: 12Mbps Full Speed USB v1.0 usbus1: 480Mbps High Speed USB v2.0 ad4: 76319MB at ata2-master UDMA100 SATA 3Gb/s ugen0.1: at usbus0 uhub0: on usbus0 ugen1.1: at usbus1 uhub1: on usbus1 uhub0: 8 ports with 8 removable, self powered uhub1: 8 ports with 8 removable, self powered unknown: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 (probe0:ata0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:ata0:0:0:0): CAM status: SCSI Status Error (probe0:ata0:0:0:0): SCSI status: Check Condition (probe0:ata0:0:0:0): SCSI sense: NOT READY asc:3a,1 (Medium not present - tray closed) cd0 at ata0 bus 0 scbus0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 3.300MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed Root mount waiting for: usbus1 Trying to mount root from ufs:/dev/ad4s1a ugen0.2: at usbus0 ums0: on usbus0 ums0: 3 buttons and [XYZ] coordinates ID=0 ugen0.3: at usbus0 ukbd0: on usbus0 kbd2 at ukbd0 nfe0: link state changed to UP During bootup I see the following messages (sanitised): nfe0: link state changed to DOWN Starting Network: lo0 nfe0. lo0: flags=8049 metric 0 mtu 16384 options=3 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 nd6 options=3 nfe0: flags=8843 metric 0 mtu 1500 options=8010b ether ............ inet w.x.y.z netmask 0xffffff00 broadcast w.x.y.z media: Ethernet autoselect (none) status: no carrier Starting devd. Starting ums0 moused. Configuring keyboard: keymap. Starting routed. Mounting NFS file systems:mount_nfs: ++++++: hostname nor servname provided, or not known mount_nfs: &&&&&&& : hostname nor servname provided, or not known . ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/g cc44 /usr/local/lib/qt4 a.out ldconfig path: /usr/lib/aout /usr/lib/compat/aout Creating and/or trimming log files. Starting syslogd. Additional ABI support: linux. Setting date via ntp. 29 Apr 11:03:25 ntpdate[869]: sendto(w.x.y.z): Unknown error: 0 29 Apr 11:03:25 ntpdate[869]: sendto(w.x.y.z): No route to host 29 Apr 11:03:26 ntpdate[869]: sendto(w.x.y.z): No route to host 29 Apr 11:03:26 ntpdate[869]: sendto(w.x.y.z): No route to host 29 Apr 11:03:27 ntpdate[869]: sendto(w.x.y.z): No route to host 29 Apr 11:03:27 ntpdate[869]: sendto(w.x.y.z): No route to host 29 Apr 11:03:29 ntpdate[869]: no server suitable for synchronization found Starting rpcbind. NFS access cache time=60 /etc/rc: WARNING: NIS domainname(1) is not set. /etc/rc: WARNING: failed precmd routine for ypbind Clearing /tmp (X related). Starting statd. Starting lockd. Updating motd:. Mounting late file systems:. Starting ntpd. Starting dbus. Starting hald. Configuring syscons: keymap blanktime. Starting sshd. Starting cron. Local package initialization: rtc. Starting background file system checks in 60 seconds. .... After login ifconfig shows that nfe0 is now active: ifconfig nfe0 nfe0: flags=8843 metric 0 mtu 1500 options=8010b ether ........ inet w.x.y.z netmask 0xffffff00 broadcast w.x.y.z media: Ethernet autoselect (1000baseT ) status: active Also the nfs mounts are now OK. It seems that nfe0 takes a while to get started. I am lucky that ntpdate is called and delays things for long enough to allow nfe0 to startup. Without a failing call to ntpdate the subsequent nfs mount fails and I get the single-user prompt. Is there a better way than relying on ntpdate failing? Thanks in advance Rob Jenssen