if_axe driver problems
Hi all,
I'm trying to use a Linksys USB200M USB wired network adapter. This USB network adapter also uses the
axe(4) driver, from what I can tell. I'm trying to install and use FreeBSD 8.2-RELEASE i386 on an admittedly old laptop. It's a Toshiba Satellite 2105CDS, it has an AMD K6-2 processor at 400MHz, 160MB RAM and a 4GB hard drive. I had a 100GB hard drive in there but after installing FreeBSD 9 and trying to go back to FreeBSD 8, the FreeBSD 8 installer can't partition the hard drive (even though Windows still can), but that's a topic for another forum post.
Anyway I know the laptop is slow and old but I'm not expecting the world out of it. After the FreeBSD 8 install DHCP from my router to the USB200M takes forever, and once it finally gets an IP address pings to my router (192.168.1.1) take upwards of 3000 ms (3 seconds) to reply.
I tried FreeBSD 7 and the
axe(4) driver there works for a few minutes and dies out with
watchdog errors. FreeBSD 9 has the same problem as FreeBSD 8. I found this thread and took the advice to update
if_axe.c and
if_axereg.h files to HEAD in the kernel source directory and try to rebuild the kernel, which is very painful on that old laptop, and once it finally made it to
if_axe.c, I get a compiler error about
PHY_RESET being used without being declared.
I found a
#define for
PHY_RESET in
/usr/src/sys/dev/mii/miivar.h. Can I just add a
#include for this file to fix the compiler error, or will that just open another can of worms?
Any help is appreciated. Sorry to resurrect the thread yet again.