Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Jan 2007 23:33:07 +0900
From:      Shigeaki Tagashira <shigeaki@se.hiroshima-u.ac.jp>
To:        Palle Girgensohn <girgen@FreeBSD.org>
Cc:        questions@FreeBSD.org, obrien@FreeBSD.org
Subject:   Re: if_nfe on nVidia chipset
Message-ID:  <45ACE223.4080104@se.hiroshima-u.ac.jp>
In-Reply-To: <865782382FCBDD7AC2E525C7@rambutan.pingpong.net>
References:  <92F17ADAEC575CF1EDBE870C@rambutan.pingpong.net> <45841980.5090100@se.hiroshima-u.ac.jp> <06DA4ABFFA1F59DF90AE0285@rambutan.pingpong.net> <458956C6.6080004@se.hiroshima-u.ac.jp> <EF346C8630188DB1EC227A78@rambutan.pingpong.net> <865782382FCBDD7AC2E525C7@rambutan.pingpong.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I don't know why it doesn't detect the link media type. I have the 
same motherboard(M2N-SLI deluxe) and it works fine. Could you try 
to directly connect nfe0 to nfe1?  If the link media type cannot 
be detected correctly in the case, thia seems to be the problem of 
cable or network hub. How about specifying the link media type 
with ifconfig?

Regards,
Shigeaki Tagashira

Palle Girgensohn wrote:
> Hello,
> 
> Is there any way I can help to try and fix this?
> 
> Regards,
> Palle
> 
> --On torsdag, december 21, 2006 19.04.17 +0100 Palle Girgensohn 
> <girgen@FreeBSD.org> wrote:
> 
>>
>>
>> --On torsdag, december 21, 2006 00.29.10 +0900 Shigeaki Tagashira
>> <shigeaki@se.hiroshima-u.ac.jp> wrote:
>>
>>> Palle Girgensohn wrote:
>>>> --On söndag, december 17, 2006 01.06.24 +0900 Shigeaki Tagashira
>>>> <shigeaki@se.hiroshima-u.ac.jp> wrote:
>>>>
>>>>> I have the same one. And if_nfe works well on it, in both FreeBSD
>>>>> 6.2-PRERELEASE and 7-CURRENT. Please try to initialize if_nfe using
>>>>> ifconfig command;
>>>>> # ifconfig nfe1 down; ifconfig nfe1 up
>>>>>
>>>>> ---
>>>>> S. Tagashira
>>>>
>>>> Hi Tagashira-san,
>>>>
>>>> Tried a lot of stuff, up and down and also "debug" flag, but nothing
>>>> helps.
>>>>
>>>> ifconfig says "media: Ethernet autoselect (none)"
>>>>
>>>> I can ping the interface itself, but nothing else.
>>>>
>>>> Any ideas?
>>>
>>> Hi,
>>> I updated my web site for FreeBSD nfe driver.
>>> Please try the lastest nfe driver and e1000phy patch provided on the web
>>> site. These codes were modified to detect link media more correctly.
>>
>>
>> Hello,
>>
>> Sorry, there's no change, it still acts the same way.
>>
>> media: Ethernet autoselect (none)
>> status: active
>>
>> and the network does not work. No mediaopts work.
>>
>> Regards,
>> Palle
>>
>>
>>>
>>> ---
>>> S. Tagashira
>>>
>>>
>>>
>>>>
>>>> Regards,
>>>> Palle
>>>>
>>>>
>>>>
>>>>
>>>>>
>>>>> Palle Girgensohn wrote:
>>>>>> Hi! Sorry for the cross post, I'd love to know if I can get this
>>>>>> working or not.
>>>>>>
>>>>>> Regards,
>>>>>> Palle
>>>>>>
>>>>>> ---------- Forwarded Message ----------
>>>>>> Date: tisdag, december 12, 2006 18.52.35 +0100
>>>>>> From: Palle Girgensohn <girgen@FreeBSD.org>
>>>>>> To: hardware@freebsd.org
>>>>>> Subject: if_nfe on Asus M2N-SLI deluxe?
>>>>>>
>>>>>> Hi!
>>>>>>
>>>>>> Does anybody know if if_nfe should work on the above motherboard? I
>>>>>> snached the patch for FreeBSD-6.2 from
>>>>>> <http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html>;
>>>>>> and
>>>>>> tried it. The kernel and ifconfig seems happy, but it does not work;
>>>>>> ifconfig reports "active" but ifconfig reports:
>>>>>>
>>>>>> nfe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
>>>>>>        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
>>>>>>        ether 00:17:31:86:aa:31
>>>>>>        media: Ethernet autoselect (none)
>>>>>>        status: no carrier
>>>>>> nfe1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>>>>>>        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
>>>>>>        inet6 fe80::217:31ff:fe86:b4c6%nfe1 prefixlen 64 scopeid 0x4
>>>>>> inet 192.168.1.191 netmask 0xffffff00 broadcast 192.168.1.255
>>>>>>        ether 00:17:31:86:b4:c6
>>>>>>        media: Ethernet autoselect (none)
>>>>>>        status: active
>>>>>> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>>>>>>        inet6 ::1 prefixlen 128        inet6 fe80::1%lo0 prefixlen 64
>>>>>> scopeid 0x5        inet 127.0.0.1 netmask 0xff000000
>>>>>> The media part of nfe1 looks bad, eh?
>>>>>>
>>>>>> Is it supposed to work? How can I help to get it working?
>>>>>>
>>>>>> FreeBSD 6.2-stable, around RC1. Enclosed is a dmesg. Anything else
>>>>>> needed?
>>>>>>
>>>>>> /Palle
>>>>>>
>>>>>>
>>>>>>
>>>>>> ---------- End Forwarded Message ----------
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------- 
>>>>>>
>>>>>> -- 
>>>>>>
>>>>>> Subject:
>>>>>> if_nfe on Asus M2N-SLI deluxe?
>>>>>> From:
>>>>>> Palle Girgensohn <girgen@FreeBSD.org>
>>>>>> Date:
>>>>>> Tue, 12 Dec 2006 18:52:35 +0100
>>>>>> To:
>>>>>> hardware@freebsd.org
>>>>>>
>>>>>> To:
>>>>>> hardware@freebsd.org
>>>>>> CC:
>>>>>> obrien@freebsd.org
>>>>>>
>>>>>>
>>>>>> Hi!
>>>>>>
>>>>>> Does anybody know if if_nfe should work on the above motherboard? I
>>>>>> snached the patch for FreeBSD-6.2 from
>>>>>> <http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html>;
>>>>>> and
>>>>>> tried it. The kernel and ifconfig seems happy, but it does not work;
>>>>>> ifconfig reports "active" but ifconfig reports:
>>>>>>
>>>>>> nfe0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
>>>>>>        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
>>>>>>        ether 00:17:31:86:aa:31
>>>>>>        media: Ethernet autoselect (none)
>>>>>>        status: no carrier
>>>>>> nfe1: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
>>>>>>        options=1b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING>
>>>>>>        inet6 fe80::217:31ff:fe86:b4c6%nfe1 prefixlen 64 scopeid
>>>>>> 0x4       inet 192.168.1.191 netmask 0xffffff00 broadcast
>>>>>> 192.168.1.255 ether 00:17:31:86:b4:c6
>>>>>>        media: Ethernet autoselect (none)
>>>>>>        status: active
>>>>>> lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
>>>>>>        inet6 ::1 prefixlen 128       inet6 fe80::1%lo0 prefixlen 64
>>>>>> scopeid 0x5       inet 127.0.0.1 netmask 0xff000000
>>>>>> The media part of nfe1 looks bad, eh?
>>>>>>
>>>>>> Is it supposed to work? How can I help to get it working?
>>>>>>
>>>>>> FreeBSD 6.2-stable, around RC1. Enclosed is a dmesg. Anything else
>>>>>> needed?
>>>>>>
>>>>>> /Palle
>>>>>>
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------- 
>>>>>>
>>>>>> -- 
>>>>>>
>>>>>> Copyright (c) 1992-2006 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 6.2-PRERELEASE #0: Wed Nov 29 11:57:06 CET 2006
>>>>>>     
>>>>>> girgen@rambutan.pingpong.net:/usr/obj/.a/banan/usr/src/sys/WORKSTA
>>>>>>     TI ON Timecounter "i8254" frequency 1193182 Hz quality 0
>>>>>> CPU: AMD Athlon(tm) 64 Processor 3500+ (2210.20-MHz 686-class CPU)
>>>>>>   Origin = "AuthenticAMD"  Id = 0x40ff2  Stepping = 2
>>>>>>   
>>>>>> Features=0x78bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,
>>>>>>   PG E,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2>
>>>>>>   Features2=0x2001<SSE3,CX16>
>>>>>>   AMD
>>>>>>   Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow+,3DNow>
>>>>>>   AMD Features2=0x1d<LAHF,<b2>,<b3>,CR8>
>>>>>> real memory  = 2146369536 (2046 MB)
>>>>>> avail memory = 2091245568 (1994 MB)
>>>>>> ACPI APIC Table: <Nvidia AWRDACPI>
>>>>>> ioapic0 <Version 1.1> irqs 0-23 on motherboard
>>>>>> acpi0: <Nvidia AWRDACPI> on motherboard
>>>>>> acpi_bus_number: can't get _ADR
>>>>>> acpi_bus_number: can't get _ADR
>>>>>> acpi_bus_number: can't get _ADR
>>>>>> acpi_bus_number: can't get _ADR
>>>>>> acpi0: Power Button (fixed)
>>>>>> acpi_bus_number: can't get _ADR
>>>>>> acpi_bus_number: can't get _ADR
>>>>>> 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, RAM> 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)
>>>>>> pci0: <memory, RAM> at device 1.2 (no driver attached)
>>>>>> ohci0: <OHCI (generic) USB controller> mem 0xfe02f000-0xfe02ffff irq
>>>>>> 21 at device 2.0 on pci0 ohci0: [GIANT-LOCKED]
>>>>>> usb0: OHCI version 1.0, legacy support
>>>>>> usb0: SMM does not respond, resetting
>>>>>> usb0: <OHCI (generic) USB controller> on ohci0
>>>>>> usb0: USB revision 1.0
>>>>>> uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
>>>>>> uhub0: 10 ports with 10 removable, self powered
>>>>>> ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfe02e000-0xfe02e0ff
>>>>>> irq 22 at device 2.1 on pci0 ehci0: [GIANT-LOCKED]
>>>>>> usb1: EHCI version 1.0
>>>>>> usb1: companion controller, 10 ports each: usb0
>>>>>> usb1: <EHCI (generic) USB 2.0 controller> on ehci0
>>>>>> usb1: USB revision 2.0
>>>>>> uhub1: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
>>>>>> uhub1: 10 ports with 10 removable, self powered
>>>>>> atapci0: <nVidia nForce MCP55 UDMA133 controller> port
>>>>>> 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf400-0xf40f at device 4.0 on
>>>>>> pci0 ata0: <ATA channel 0> on atapci0
>>>>>> ata1: <ATA channel 1> on atapci0
>>>>>> atapci1: <nVidia nForce MCP55 SATA300 controller> port
>>>>>> 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xe000-0xe00f mem
>>>>>> 0xfe02d000-0xfe02dfff irq 23 at device 5.0 on pci0 ata2: <ATA channel
>>>>>> 0> on atapci1
>>>>>> ata3: <ATA channel 1> on atapci1
>>>>>> atapci2: <nVidia nForce MCP55 SATA300 controller> port
>>>>>> 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xcc00-0xcc0f mem
>>>>>> 0xfe02c000-0xfe02cfff irq 20 at device 5.1 on pci0 ata4: <ATA channel
>>>>>> 0> on atapci2
>>>>>> ata5: <ATA channel 1> on atapci2
>>>>>> atapci3: <nVidia nForce MCP55 SATA300 controller> port
>>>>>> 0xc800-0xc807,0xc400-0xc403,0xc000-0xc007,0xbc00-0xbc03,0xb800-0xb80f
>>>>>> mem 0xfe02b000-0xfe02bfff irq 21 at device 5.2 on pci0 ata6: <ATA
>>>>>> channel 0> on atapci3
>>>>>> ata7: <ATA channel 1> on atapci3
>>>>>> pcib1: <ACPI PCI-PCI bridge> at device 6.0 on pci0
>>>>>> pci1: <ACPI PCI bus> on pcib1
>>>>>> fxp0: <Intel 82558 Pro/100 Ethernet> port 0xac00-0xac1f mem
>>>>>> 0xfdeff000-0xfdefffff,0xfdc00000-0xfdcfffff irq 16 at device 6.0 on
>>>>>> pci1 miibus0: <MII bus> on fxp0
>>>>>> inphy0: <i82555 10/100 media interface> on miibus0
>>>>>> inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
>>>>>> fxp0: Ethernet address: 00:a0:c9:ce:11:26
>>>>>> fwohci0: <Texas Instruments TSB43AB22/A> mem
>>>>>> 0xfddff000-0xfddff7ff,0xfddf8000-0xfddfbfff irq 19 at device 11.0 on
>>>>>> pci1
>>>>>> fwohci0: OHCI version 1.10 (ROM=1)
>>>>>> fwohci0: No. of Isochronous channels is 4.
>>>>>> fwohci0: EUI64 00:11:d8:00:00:c8:2b:85
>>>>>> fwohci0: Phy 1394a available S400, 2 ports.
>>>>>> fwohci0: Link S400, max_rec 2048 bytes.
>>>>>> firewire0: <IEEE1394(FireWire) bus> on fwohci0
>>>>>> fwe0: <Ethernet over FireWire> on firewire0
>>>>>> if_fwe0: Fake Ethernet address: 02:11:d8:c8:2b:85
>>>>>> fwe0: Ethernet address: 02:11:d8:c8:2b:85
>>>>>> fwe0: if_start running deferred for Giant
>>>>>> sbp0: <SBP-2/SCSI over FireWire> on firewire0
>>>>>> fwohci0: Initiate bus reset
>>>>>> fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
>>>>>> firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
>>>>>> firewire0: bus manager 0 (me)
>>>>>> pci0: <multimedia> at device 6.1 (no driver attached)
>>>>>> nfe0: <NVIDIA nForce MCP55 Networking Adapter> port 0xb400-0xb407 mem
>>>>>> 0xfe02a000-0xfe02afff,0xfe029000-0xfe0290ff,0xfe028000-0xfe02800f irq
>>>>>> 23 at device 8.0 on pci0 miibus1: <MII bus> on nfe0
>>>>>> e1000phy0: <Marvell 88E1116 Gigabit PHY> on miibus1
>>>>>> e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
>>>>>> 1000baseTX-FDX, auto nfe0: Ethernet address: 00:17:31:86:aa:31
>>>>>> nfe1: <NVIDIA nForce MCP55 Networking Adapter> port 0xb000-0xb007 mem
>>>>>> 0xfe027000-0xfe027fff,0xfe026000-0xfe0260ff,0xfe025000-0xfe02500f irq
>>>>>> 20 at device 9.0 on pci0 miibus2: <MII bus> on nfe1
>>>>>> e1000phy1: <Marvell 88E1116 Gigabit PHY> on miibus2
>>>>>> e1000phy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
>>>>>> 1000baseTX-FDX, auto nfe1: Ethernet address: 00:17:31:86:b4:c6
>>>>>> pcib2: <ACPI PCI-PCI bridge> at device 10.0 on pci0
>>>>>> pci2: <ACPI PCI bus> on pcib2
>>>>>> pcib3: <ACPI PCI-PCI bridge> at device 11.0 on pci0
>>>>>> pci3: <ACPI PCI bus> on pcib3
>>>>>> pcib4: <ACPI PCI-PCI bridge> at device 12.0 on pci0
>>>>>> pci4: <ACPI PCI bus> on pcib4
>>>>>> pcib5: <ACPI PCI-PCI bridge> at device 13.0 on pci0
>>>>>> pci5: <ACPI PCI bus> on pcib5
>>>>>> pcib6: <ACPI PCI-PCI bridge> at device 14.0 on pci0
>>>>>> pci6: <ACPI PCI bus> on pcib6
>>>>>> atapci4: <JMicron JMB363 SATA300 controller> port
>>>>>> 0x9c00-0x9c07,0x9800-0x9803,0x9400-0x9407,0x9000-0x9003,0x8c00-0x8c0f
>>>>>> mem 0xfdafe000-0xfdafffff irq 16 at device 0.0 on pci6 atapci4: AHCI
>>>>>> Version 01.00 controller with 2 ports detected
>>>>>> ata8: <ATA channel 0> on atapci4
>>>>>> ata9: <ATA channel 1> on atapci4
>>>>>> ata10: <ATA channel 2> on atapci4
>>>>>> pcib7: <ACPI PCI-PCI bridge> at device 15.0 on pci0
>>>>>> pci7: <ACPI PCI bus> on pcib7
>>>>>> nvidia0: <GeForce 6200 TurboCache(TM)> mem
>>>>>> 0xfa000000-0xfaffffff,0xe0000000-0xefffffff,0xfb000000-0xfbffffff irq
>>>>>> 16 at device 0.0 on pci7 nvidia0: [GIANT-LOCKED]
>>>>>> acpi_tz0: <Thermal Zone> on acpi0
>>>>>> fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
>>>>>> acpi0 fdc0: [FAST]
>>>>>> sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10
>>>>>> on acpi0 sio0: type 16550A
>>>>>> ppc0: <Standard parallel printer port> port 0x378-0x37f irq 7 on 
>>>>>> acpi0
>>>>>> ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
>>>>>> ppbus0: <Parallel port bus> on ppc0
>>>>>> ppi0: <Parallel I/O> on ppbus0
>>>>>> lpt0: <Printer> on ppbus0
>>>>>> lpt0: Interrupt-driven port
>>>>>> pmtimer0 on isa0
>>>>>> orm0: <ISA Option ROMs> at iomem 0xd0000-0xd3fff,0xd4000-0xd67ff 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]
>>>>>> sc0: <System console> at flags 0x100 on isa0
>>>>>> sc0: VGA <16 virtual consoles, flags=0x300>
>>>>>> sio1: configured irq 3 not in bitmap of probed irqs 0
>>>>>> sio1: port may not be enabled
>>>>>> vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
>>>>>> isa0
>>>>>> ukbd0: Logitech HID compliant keyboard, rev 1.10/1.80, addr 2, iclass
>>>>>> 3/1
>>>>>> kbd1 at ukbd0
>>>>>> uhid0: Logitech HID compliant keyboard, rev 1.10/1.80, addr 2, iclass
>>>>>> 3/1
>>>>>> ums0: Logitech USB-PS/2 Optical Mouse, rev 2.00/18.00, addr 3, iclass
>>>>>> 3/1
>>>>>> ums0: 6 buttons and Z dir.
>>>>>> Timecounter "TSC" frequency 2210201999 Hz quality 800
>>>>>> Timecounters tick every 0.801 msec
>>>>>> ipfw2 (+ipv6) initialized, divert loadable, rule-based forwarding
>>>>>> disabled, default to accept, logging disabled ad0: 152627MB <Seagate
>>>>>> ST3160212A 3.AAJ> at ata0-master UDMA100 acd0: DVDR <Optiarc DVD RW
>>>>>> AD-5170A/1.11> at ata0-slave UDMA66
>>>>>> cd0 at ata0 bus 0 target 1 lun 0
>>>>>> cd0: <Optiarc DVD RW AD-5170A 1.11> Removable CD-ROM SCSI-0 device
>>>>>> cd0: 66.000MB/s transfers
>>>>>> cd0: Attempt to query device size failed: NOT READY, Medium not
>>>>>> present Trying to mount root from ufs:/dev/ad0s1a
>>>>>>
>>>>>>
>>>>>> ---------------------------------------------------------------------- 
>>>>>>
>>>>>> -- 
>>>>>>
>>>>>> _______________________________________________
>>>>>> freebsd-hardware@freebsd.org mailing list
>>>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-hardware
>>>>>> To unsubscribe, send any mail to
>>>>>> "freebsd-hardware-unsubscribe@freebsd.org"
>>>>
>>>>
>>>>
>>>>
>>
>>
>>
> 
> 
> 
> 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45ACE223.4080104>