Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Apr 2010 23:23:05 +1000
From:      Robert Jenssen <robertjenssen@ozemail.com.au>
To:        freebsd-questions@freebsd.org
Subject:   nfe0 startup
Message-ID:  <20100429232305.898fb24f.robertjenssen@ozemail.com.au>

next in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
  Features2=0x1<SSE3>
  AMD Features=0xe2500800<SYSCALL,NX,MMX+,FFXSR,LM,3DNow!+,3DNow!>
  AMD Features2=0x1<LAHF>
real memory  = 1073741824 (1024 MB)
avail memory = 1041534976 (993 MB)
ACPI APIC Table: <SUNW   AWRDACPI>
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
acpi0: <SUNW AWRDACPI> 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: <ACPI CPU> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pci0: <memory> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 1.0 on pci0
isa0: <ISA bus> on isab0
pci0: <serial bus, SMBus> at device 1.1 (no driver attached)
ohci0: <OHCI (generic) USB controller> mem 0xfe02f000-0xfe02ffff irq 21 at device 2.0 on pci0
ohci0: [ITHREAD]
usbus0: <OHCI (generic) USB controller> on ohci0
ehci0: <NVIDIA nForce4 USB 2.0 controller> mem 0xfeb00000-0xfeb000ff irq 22 at device 2.1 on pci0
ehci0: [ITHREAD]
usbus1: EHCI version 1.0
usbus1: <NVIDIA nForce4 USB 2.0 controller> on ehci0
pci0: <multimedia, audio> at device 4.0 (no driver attached)
atapci0: <nVidia nForce CK804 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xe800-0xe80f at device 6.0 on pci0
ata0: <ATA channel 0> on atapci0
ata0: [ITHREAD]
ata1: <ATA channel 1> on atapci0
ata1: [ITHREAD]
atapci1: <nVidia nForce CK804 SATA300 controller> 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: <ATA channel 0> on atapci1
ata2: [ITHREAD]
ata3: <ATA channel 1> on atapci1
ata3: [ITHREAD]
atapci2: <nVidia nForce CK804 SATA300 controller> 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: <ATA channel 0> on atapci2
ata4: [ITHREAD]
ata5: <ATA channel 1> on atapci2
ata5: [ITHREAD]
pcib1: <ACPI PCI-PCI bridge> at device 9.0 on pci0
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xac00-0xacff mem 0xfb000000-0xfbffffff,0xfcfff000-0xfcffffff irq 19 at device 5.0 on pci1
fwohci0: <VIA Fire II (VT6306)> 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: <IEEE1394(FireWire) bus> on fwohci0
dcons_crom0: <dcons configuration ROM> on firewire0
dcons_crom0: bus_addr 0x3ed64000
fwe0: <Ethernet over FireWire> on firewire0
if_fwe0: Fake Ethernet address: ...........
fwe0: Ethernet address: ............
fwip0: <IP over FireWire> 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: <NVIDIA nForce4 CK804 MCP9 Networking Adapter> port 0xbc00-0xbc07 mem 0xfe02a000-0xfe02afff irq 23 at device 10.0 on pci0
miibus0: <MII bus> on nfe0
e1000phy0: <Marvell 88E1111 Gigabit PHY> PHY 1 on miibus0
e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto
nfe0: Ethernet address: ............
nfe0: [FILTER]
pcib2: <ACPI PCI-PCI bridge> at device 11.0 on pci0
pci2: <ACPI PCI bus> on pcib2
pcib3: <ACPI PCI-PCI bridge> at device 12.0 on pci0
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 13.0 on pci0
pci4: <ACPI PCI bus> on pcib4
pcib5: <ACPI PCI-PCI bridge> at device 14.0 on pci0
pci5: <ACPI PCI bus> on pcib5
acpi_tz0: <Thermal Zone> on acpi0
atrtc0: <AT realtime clock> port 0x70-0x73 irq 8 on acpi0
pmtimer0 on isa0
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8000-0xcbfff,0xcc000-0xcd7ff pnpid ORM0000 on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
atkbd0: [ITHREAD]
ppc0: parallel port not found.
powernow0: <Cool`n'Quiet K8> 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 <WDC WD800AAJS-22PSA0 05.06H05> at ata2-master UDMA100 SATA 3Gb/s
ugen0.1: <nVidia> at usbus0
uhub0: <nVidia OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <nVidia> at usbus1
uhub1: <nVidia EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> 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: <TSSTcorp CDDVDW SH-S202J SB02> 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: <vendor 0x1267> at usbus0
ums0: <vendor 0x1267 PS/2+USB Mouse, class 0/0, rev 1.10/51.15, addr 2> on usbus0
ums0: 3 buttons and [XYZ] coordinates ID=0
ugen0.3: <Dell> at usbus0
ukbd0: <EP1 Interrupt> 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<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
        options=3<RXCSUM,TXCSUM>
        inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
        inet6 ::1 prefixlen 128
        inet 127.0.0.1 netmask 0xff000000
        nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
nfe0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        options=8010b<RXCSUM,TXCSUM,VLAN_MTU,TSO4,LINKSTATE>
        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<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=8010b<RXCSUM,TXCSUM,VLAN_MTU,TSO4,LINKSTATE>
	ether ........
	inet w.x.y.z netmask 0xffffff00 broadcast w.x.y.z
	media: Ethernet autoselect (1000baseT <full-duplex>)
	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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100429232305.898fb24f.robertjenssen>