FreeBSD 6.1-RELEASE and nfe ?

2007-01-09 Thread Frank Staals

Hey,

I am running a FreeBSD 6.1-RELEASE machine with a MSI K8N SLI-F 
mainboard, it has problems with the nve driver so I searched around on 
the internet and found this site about the nfe driver: 
http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html . 
Allthough there were no files for 6.1-RELEASE. Are there specific files 
or instructions for installing on 6.1-RELEASE. I'm not too fond of 
upgrading my system at this point and when I tried using the 
6.2-PRERELEASE files I came upon these errors during the 'make' when 
rebuilding my kernel:



-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000  -mcmodel=kernel -mno-red-zone  -mfpmath=387 
-mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float 
-fno-asynchronous-unwind-tables -ffreestanding -Werror  
../../../dev/mii/dcphy.c
cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -Wall 
-Wredundant-decls -Wnested-externs -Wstrict-prototypes  
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  
-fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I../../.. 
-I../../../contrib/altq -I../../../contrib/ipfilter 
-I../../../contrib/pf -I../../../contrib/dev/ath 
-I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm 
-I../../../dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include 
opt_global.h -fno-common -finline-limit=8000 --param 
inline-unit-growth=100 --param large-function-growth=1000  
-mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx 
-mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables -ffreestanding 
-Werror  ../../../dev/mii/e1000phy.c

../../../dev/mii/e1000phy.c: In function `e1000phy_attach':
../../../dev/mii/e1000phy.c:133: error: `MII_ANEGTICKS_GIGE' undeclared 
(first use in this function)
../../../dev/mii/e1000phy.c:133: error: (Each undeclared identifier is 
reported only once

../../../dev/mii/e1000phy.c:133: error: for each function it appears in.)
../../../dev/mii/e1000phy.c:136: error: `fast_ether' undeclared (first 
use in this function)
../../../dev/mii/e1000phy.c:137: error: `esc' undeclared (first use in 
this function)
../../../dev/mii/e1000phy.c:146: error: `MII_ANEGTICKS' undeclared 
(first use in this function)

../../../dev/mii/e1000phy.c:119: warning: unused variable `id'
../../../dev/mii/e1000phy.c: In function `e1000phy_service':
../../../dev/mii/e1000phy.c:298: warning: passing arg 1 of 
`e1000phy_mii_phy_auto' from incompatible pointer type
../../../dev/mii/e1000phy.c:398: warning: passing arg 1 of 
`e1000phy_mii_phy_auto' from incompatible pointer type

../../../dev/mii/e1000phy.c: At top level:
../../../dev/mii/e1000phy.c:484: error: conflicting types for 
'e1000phy_mii_phy_auto'
../../../dev/mii/e1000phy.c:91: error: previous declaration of 
'e1000phy_mii_phy_auto' was here
../../../dev/mii/e1000phy.c:484: error: conflicting types for 
'e1000phy_mii_phy_auto'
../../../dev/mii/e1000phy.c:91: error: previous declaration of 
'e1000phy_mii_phy_auto' was here
../../../dev/mii/e1000phy.c:91: warning: 'e1000phy_mii_phy_auto' 
declared `static' but never defined
../../../dev/mii/e1000phy.c:484: warning: 'e1000phy_mii_phy_auto' 
defined but not used

*** Error code 1

Stop in /usr/src/sys/amd64/compile/PFSERVERKERNEL.
[EMAIL PROTECTED]

I hope anyone can help me. If it is not possible to install nfe on 
6.1-RELEASE would upgrading to 6-STABLE allow me to install the driver ?


Regards,
--

-Frank Staals


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.1-RELEASE and nfe ?

2007-01-09 Thread Josh Paetzel
On Tuesday 09 January 2007 03:12, Frank Staals wrote:
 Hey,

 I am running a FreeBSD 6.1-RELEASE machine with a MSI K8N SLI-F
 mainboard, it has problems with the nve driver so I searched around
 on the internet and found this site about the nfe driver:
 http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html
 . Allthough there were no files for 6.1-RELEASE. Are there specific
 files or instructions for installing on 6.1-RELEASE. I'm not too
 fond of upgrading my system at this point and when I tried using
 the 6.2-PRERELEASE files I came upon these errors during the 'make'
 when rebuilding my kernel:


 -DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common
 -finline-limit=8000 --param inline-unit-growth=100 --param
 large-function-growth=1000  -mcmodel=kernel -mno-red-zone 
 -mfpmath=387 -mno-sse -mno-sse2 -mno-mmx -mno-3dnow  -msoft-float
 -fno-asynchronous-unwind-tables -ffreestanding -Werror
 ../../../dev/mii/dcphy.c
 cc -c -O2 -frename-registers -pipe -fno-strict-aliasing  -Wall
 -Wredundant-decls -Wnested-externs -Wstrict-prototypes
 -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual
 -fformat-extensions -std=c99 -g -nostdinc -I-  -I. -I../../..
 -I../../../contrib/altq -I../../../contrib/ipfilter
 -I../../../contrib/pf -I../../../contrib/dev/ath
 -I../../../contrib/dev/ath/freebsd -I../../../contrib/ngatm
 -I../../../dev/twa -D_KERNEL -DHAVE_KERNEL_OPTION_HEADERS -include
 opt_global.h -fno-common -finline-limit=8000 --param
 inline-unit-growth=100 --param large-function-growth=1000
 -mcmodel=kernel -mno-red-zone  -mfpmath=387 -mno-sse -mno-sse2
 -mno-mmx -mno-3dnow  -msoft-float -fno-asynchronous-unwind-tables
 -ffreestanding -Werror  ../../../dev/mii/e1000phy.c
 ../../../dev/mii/e1000phy.c: In function `e1000phy_attach':
 ../../../dev/mii/e1000phy.c:133: error: `MII_ANEGTICKS_GIGE'
 undeclared (first use in this function)
 ../../../dev/mii/e1000phy.c:133: error: (Each undeclared identifier
 is reported only once
 ../../../dev/mii/e1000phy.c:133: error: for each function it
 appears in.) ../../../dev/mii/e1000phy.c:136: error: `fast_ether'
 undeclared (first use in this function)
 ../../../dev/mii/e1000phy.c:137: error: `esc' undeclared (first use
 in this function)
 ../../../dev/mii/e1000phy.c:146: error: `MII_ANEGTICKS' undeclared
 (first use in this function)
 ../../../dev/mii/e1000phy.c:119: warning: unused variable `id'
 ../../../dev/mii/e1000phy.c: In function `e1000phy_service':
 ../../../dev/mii/e1000phy.c:298: warning: passing arg 1 of
 `e1000phy_mii_phy_auto' from incompatible pointer type
 ../../../dev/mii/e1000phy.c:398: warning: passing arg 1 of
 `e1000phy_mii_phy_auto' from incompatible pointer type
 ../../../dev/mii/e1000phy.c: At top level:
 ../../../dev/mii/e1000phy.c:484: error: conflicting types for
 'e1000phy_mii_phy_auto'
 ../../../dev/mii/e1000phy.c:91: error: previous declaration of
 'e1000phy_mii_phy_auto' was here
 ../../../dev/mii/e1000phy.c:484: error: conflicting types for
 'e1000phy_mii_phy_auto'
 ../../../dev/mii/e1000phy.c:91: error: previous declaration of
 'e1000phy_mii_phy_auto' was here
 ../../../dev/mii/e1000phy.c:91: warning: 'e1000phy_mii_phy_auto'
 declared `static' but never defined
 ../../../dev/mii/e1000phy.c:484: warning: 'e1000phy_mii_phy_auto'
 defined but not used
 *** Error code 1

 Stop in /usr/src/sys/amd64/compile/PFSERVERKERNEL.
 [EMAIL PROTECTED]

 I hope anyone can help me. If it is not possible to install nfe on
 6.1-RELEASE would upgrading to 6-STABLE allow me to install the
 driver ?

 Regards,

It says it needs 6.2-PRERELEASE or higher for a reason.  Not a big 
shock that it didn't build on your 6.1 box.

Upgrading to RELENG_6_2 or RELENG_6 will get you to a point where you 
can build the driver.

-- 
Thanks,

Josh Paetzel
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD 6.1-RELEASE and nfe ?

2007-01-09 Thread Chris Whitehouse

Frank Staals wrote:

Hey,

I am running a FreeBSD 6.1-RELEASE machine with a MSI K8N SLI-F 
mainboard, it has problems with the nve driver so I searched around on 
the internet and found this site about the nfe driver: 
http://www.se.hiroshima-u.ac.jp/~shigeaki/software/freebsd-nfe.html . 
Allthough there were no files for 6.1-RELEASE. Are there specific files 
or instructions for installing on 6.1-RELEASE. I'm not too fond of 
upgrading my system at this point and when I tried using the 
6.2-PRERELEASE files I came upon these errors during the 'make' when 
rebuilding my kernel:


I have
-rw-r--r--  1 root  wheel  1756 30 Oct 09:13 e1000phy.patch
-rw-r--r--  1 root  wheel  15730 30 Oct 09:13 nfe-20060905.tar.gz
which I think are for 6.1 which i can email you if you want to risk

1) I am bad and will hack your box
2) there is some innate stupidity in using them.

The e1phy.patch is for Marvell 88E1000 PHY variants, don't know 
what's on your board.


I use i386 but I don't think there were separate versions for 64 bit

Chris

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]