| View previous topic :: View next topic |
| Author |
Message |
bigblk150 n00b

Joined: 14 Mar 2006 Posts: 1 Location: PA, USA
|
Posted: Tue Mar 14, 2006 3:56 pm Post subject: Cool, people are using it! |
|
|
Hello people!
My name is Victor Soriano, and I'm the Sr. Software Engineer for Agere Systems responsible for the development and maintenance of the ET1310 Gigabit Ethernet linux device driver. One of the other users on this forum, d_adams, has been in contact with me regarding your questions/concerns with our network driver, and I just wanted to say hello.
I've read through this thread, and from what I've seen, plus some email from d_adams, it seems that the new 1.2.2 driver has addressed most of your concerns. I admittedly haven't been able to test the driver against some of the newer kernels versions, and I've never verified it myself against Gentoo (probably not the best thing to say here ). Unfortunately, I'm the only Agere engineer on the Linux development and I just don't have the time to go through every configuration, combination, distribution, kernel version, etc., but I'm trying to cover as many bases as I can.
To answer some questions I saw here:
1. This driver, in it's current state, cannot be submitted to kernel.org for consideration as part of the official kernel. Due to business reasons, Agere has decided to release under the BSD License as opposed to the GPL. My understanding is that any code to be merged into the official kernel tree must be GPL.
2. Although not under Gentoo, this driver was tested against x86, x86_64 and amd64 kernel builds/CPUs.
3. This unsupported IOCTL code 0x8b01 is a standard, vendor-independent IOCTL for wireless ethernet (802.11) devices, called SIOCGIWNAME (see include/linux/wireless.h). For some reason, an application is attempting to communicate with the ET1310 with this IOCTL code, probably checking to see if I'm a wireless ethernet device. Because I am not, I return -ENOTSUPP, and the warning statement you see in the syslog:
WARNINGS:et131x_ioctl Unhandled IOCTL Code: 0x8b01
is printed by the driver to show it was an IOCTL that I didn't handle.
I hope this helps. Thanks to d_adams for contacting me and making me aware of the community's use of the driver, and thanks to all for making modifications to get things working under Gentoo. As an engineer, it's exciting to see people using something I've worked on!
As I told d_adams via email, IF time permits I hope to merge your changes into my development trunk and make a new release based on these changes; the biggest factor will be allocating time in the test lab for an "unscheduled" test run, as Agere's policy is not to make a release until it's been tested, despite this being open source.
Thanks again!
--
------------------------------
Victor Soriano
Senior Software Engineer
Agere Systems
Email : vjsoriano@agere.com
------------------------------ |
|
| Back to top |
|
 |
Decibels Veteran


Joined: 16 Aug 2002 Posts: 1542 Location: U.S.A.
|
Posted: Wed Mar 15, 2006 12:53 am Post subject: |
|
|
Hi Victor!
Thanks for taking over for me. Since I didn't have the device, I was limited to just getting the code to compile on Gentoo.
Now we have the actual Author!
d_adams has the patch. But due to this:
| Quote: | | As I told d_adams via email, IF time permits I hope to merge your changes into my development trunk and make a new release based on these changes; the biggest factor will be allocating time in the test lab for an "unscheduled" test run, as Agere's policy is not to make a release until it's been tested, despite this being open source. |
Maybe you might want to patch the driver source and tarball it up for your website big D__________adams, until Victor is able to actually get this accomplished. Just an idea.
I also got a guy from Europe using Debian that is testing version 1.2.2 with my patch. He is new to linux though, so as soon as he solves a few other issues he is having, should have another report of success on Debian. With the patch he got a clean compile and the same IOCTL warning. So he should have it working when the other issues (with something else) are done.
**** Oh, if your still around rprabhu could you put SOLVED on the Subject line of this thread. Thanks. _________________ http://webpages.charter.net/decibelshelp/
Don't assume malice for what stupidity can explain.
Always remember you're unique. Just like everyone else.
Everybody lies........but it doesn't matter since nobody listens. |
|
| Back to top |
|
 |
VanDan Guru


Joined: 30 Sep 2002 Posts: 586 Location: Australia
|
Posted: Thu Mar 23, 2006 12:20 am Post subject: |
|
|
Hi people
The et131x driver is working very well for me now under normal operation.
Suspending the system gives problems - the device is not accessible after the system has been resumed.
As a workaround, I simply run:
| Code: | /etc/init.d/net.eth1 stop
rmmod et131x |
to bring down the device and remove the driver before suspending. I then have to reload the driver and restart the device when I resume.
It's probably pretty low on people's list of priorities, and that's understandable, but anyway, just so you know ... it doesn't support suspending.
I'm using the vanilla kernel suspend-to-disk ( suspend 2 doesn't compile for me ).
Thankyou everyone who worked / works on the driver  |
|
| Back to top |
|
 |
d_adams Apprentice


Joined: 20 Oct 2003 Posts: 223
|
Posted: Mon Apr 03, 2006 1:43 pm Post subject: |
|
|
Just an update for people who are interested. I'm still working on a livecd or at least a how-to for those who want to do it themselves. I ran into a problem I thought I'd share with all. On a stage3 install in a chroot environment, for some reason gcc gets upgraded. I had already emerged gentoo-sources and was trying to modprobe the driver and it was giving me an error about invalid module format. The kernel sources and the driver must be compiled against the same gcc version. This one threw me for a loop for about 3 hours or so. Made me pull out small tufts of hair for a bit anyways. Now my wife hates me
just kidding!
Anywho, the gcc version must match for this to work correctly. I haven't actually had time to fix it yet on this install, but I know what I need to do now.
So, I have to rebuild my entire toolchain and update everything to the 2006.0 profile. Man I hope this doesn't break my system. _________________ http://www.1and1.com/?k_id=16196755 click me for cheap linux based web hosting. |
|
| Back to top |
|
 |
d_adams Apprentice


Joined: 20 Oct 2003 Posts: 223
|
Posted: Wed Apr 26, 2006 2:05 pm Post subject: |
|
|
Got a working livecd for anyone who wants it. Please pm me for ftp access. It's too large for me to host on google (227.2 mb) but I can serve it up via ftp. It's ugly, I used linux-live scripts to make it and it's still got a slax boot screen, but it works. Resolution is set at 1680x1050 for console, so the text is pretty small, but it's legible for me, so I'm happy with it. It does not shut down correctly (halts on loopback device) but the wired network runs out of the box with it.
You need to unmount any devices it automounts (mine did hda1 through hda4) and then mkdir /mnt/gentoo followed by mount /dev/hdaX /mnt/gentoo and pick up on the handbook from there. It's x86 only. I have tested downloading with links, so it's verified as working. I'm currently installing a fresh copy of gentoo on it now, so it's all good to go.
If you do use it, make sure to read the readme for the iso. _________________ http://www.1and1.com/?k_id=16196755 click me for cheap linux based web hosting. |
|
| Back to top |
|
 |
thiefy n00b

Joined: 02 Oct 2007 Posts: 1
|
Posted: Tue Oct 02, 2007 3:17 pm Post subject: |
|
|
I bought a Rosewill RC-401 NIC (et1310 chipset), unwittingly subjecting myself to a series of hoops (in the form of patches, incompatible kernel versions, and deprecated kernel macros ) to jump through before I got it working with the et131x driver.
I found this thread and had actually gotten most of the way through porting the source from dadams' googlepages page to work with kernel 2.6.21.6 (the INIT_WORK/container_of problem was a b**ch for a kernel-source newbie like myself). Then I stumbled upon the version 1.2.3 package on sourceforge. A simple untar, make && make_install was all I needed with that package -- no patches or nothin'. If you're getting as frustrated with juggling patches (and are using a post 2.6.20 kernel -- haven't checked if 1.2.3 works with pre 2.6.20) as I was, do yourself a favor and grab the latest et131x package from:
http://sourceforge.net/projects/et131x/
*** Version 1.2.3 works perfectly (at least so far ) on amd64 ***
dadams: a link in big, red font at the top of your googlepages et131x page to the sourceforge project would be a great addition. (A general cleanup/update would be fantastic too, if you have the time. ) |
|
| Back to top |
|
 |
blackcell n00b


Joined: 17 Aug 2002 Posts: 56 Location: Oregon
|
Posted: Mon Dec 31, 2007 9:37 pm Post subject: |
|
|
Anyone have success compiling latest driver et131x-1.2.3-1 on 2.6.23-r3 ?
Make fails for me.
| Code: |
#@make -C /lib/modules/2.6.23-gentoo-r3/build M=/home/src/et131x modules
make[1]: Entering directory `/usr/src/linux-2.6.23-gentoo-r3'
CC [M] /home/src/et131x/et131x_main.o
CC [M] /home/src/et131x/et131x_initpci.o
CC [M] /home/src/et131x/et131x_isr.o
CC [M] /home/src/et131x/et131x_netdev.o
CC [M] /home/src/et131x/et131x_supp.o
CC [M] /home/src/et131x/et131x_config.o
CC [M] /home/src/et131x/et131x_debug.o
CC [M] /home/src/et131x/ET1310_jagcore.o
CC [M] /home/src/et131x/ET1310_tx.o
CC [M] /home/src/et131x/ET1310_rx.o
/home/src/et131x/ET1310_rx.c: In function ‘et131x_rx_dma_memory_alloc’:
/home/src/et131x/ET1310_rx.c:536: error: too many arguments to function ‘kmem_cache_create’
/home/src/et131x/ET1310_rx.c: In function ‘nic_rx_pkts’:
/home/src/et131x/ET1310_rx.c:1670: warning: unused variable ‘vlan_tag’
make[2]: *** [/home/src/et131x/ET1310_rx.o] Error 1
make[1]: *** [_module_/home/src/et131x] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.23-gentoo-r3'
make: *** [modules] Error 2
|
Emerge info:
Portage 2.1.3.19 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.23-gentoo-r3 i686)
=================================================================
System uname: 2.6.23-gentoo-r3 i686 Intel(R) Pentium(R) D CPU 2.80GHz
Timestamp of tree: Wed, 26 Dec 2007 23:00:01 +0000
app-shells/bash: 3.2_p17
dev-lang/python: 2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox: 1.2.18.1-r2
sys-devel/autoconf: 2.13, 2.61-r1
sys-devel/automake: 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils: 2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool: 1.5.24
virtual/os-headers: 2.6.23-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"
LANG="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acl acpi berkdb bitmap-fonts cli cracklib crypt ctype cups dba dbus dga dri fortran gd gdbm gif gpm gtk hal iconv imlib ipv6 isdnlog jpeg lcms midi mmx mudflap ncurses nls nptl nptlonly opengl openmp pam pcap pcre perl png pppd python readline reflection samba session spl sse sse2 ssl startup-notification tcpd tiff truetype truetype-fonts type1-fonts unicode x86 xml xml2 xorg xscreensaver xsl zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fglrx radeon"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS _________________ "If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside." |
|
| Back to top |
|
 |
zhushazang n00b


Joined: 01 Dec 2005 Posts: 65
|
Posted: Tue Jan 11, 2011 5:46 pm Post subject: |
|
|
Just upgrading information:
The driver already in stagging drivers on kernel-2.6.37.
Att |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|