Ah, it's happening again.
I wonder if anyone can help me get upgt working again in release 9.0?
In release 8.2 upgt kernel module was not loaded and firmware needed build and install.
But in release 9.0 it seems pre-loaded in GENERIC kernel but it doesn't work.
My Globespan Virata NETGEAR WG111V2_V2 Prism GT wireless USB stick is not being recognised.
Ultimately when I try to create a network it says:
Code:
# ifconfig wlan0 create wlandev upgt0
ifconfig: SIOCIFCREATE2: Device not configured
In release 8.2:
Code:
# usbconfig -u 4 -a 2 dump_device_desc
idVendor = 0x0846 BayNETGEAR
idProduct = 0x4240 WG111V2_2 PrismGT USB 2.0 WLAN
But in release 9.0:
Code:
# usbconfig -u 4 -a 2 dump_device_desc
idVendor = 0x0846
idProduct = 0x4240
It seems there is trouble fully mounting usbus4:
Code:
# cat /var/run/dmesg.boot
Root mount waiting for: usbus4
ugen4.2: <GlobespanVirata> at usbus4
upgt0: <GlobespanVirata NETGEAR WG111, class 0/0, rev 2.00/10.40, addr 2> on usbus4
Root mount waiting for: usbus4
upgt-gw3887: root not mounted yet, no way to load image
upgt0: could not read microcode upgt-gw3887
device_attach: upgt0 attach returned 5
After a fresh release 9.0 install with src,
I got the upgt firmware from
http://weongyo.org/project/upgt/upgt....13.1.0.tar.gz
The build was apparently different from release 8.2.
The following seemed to work:
Code:
# cp upgt-firmware-2.13.1.0.tar.gz /usr/ports/distfiles
# cd /usr/src/sys/modules/usb/upgt/
# make
# make install clean
But now kldload and kldstat seem to have changed.
In release 8.2:
Code:
# kldload if_upgt
# kldstat -v | grep upgt
if_upgt.ko
upgtfw.ko
As of release 9.0:
Code:
# kldstat -v | grep upgt
329 uhub/if_upgt
# kldload if_upgt
kldload: can't load if_upgt: File exists
# kldload if_upgt.ko
interface if_upgt.1 already present in the KLD 'kernel'!
kldload: can't load if_upgt.ko: File exists
# kldload /boot/kernel/if_upgt.ko
interface if_upgt.1 already present in the KLD 'kernel'!
kldload: can't load /boot/kernel/if_upgt.ko: File exists
Seems upgt is already built and loaded. if_upgt.ko is in /boot/kernel.
In release 8.2 /boot/loader.conf was used to load if_upgt at boot.
In release 9.0 upgt, tkip, ccmp are all present in the /usr/src/sys/i386/conf/GENERIC kernel.
But ifconfig is still saying SIOCIFCREATE2: Device not configured;
even after rebuilding upgt firmware again as above and then rebuilding the kernel.
I'm on the verge of removing if_upgt from the kernel in order to try loading in /boot/loader.conf, as I did in release 8.2.
But kldstat reports if_upgt but not upgtfw as I saw in release 8.2.
Is that the problem? I STILL haven't got the firmware installed properly?
I noticed the upgt build sometimes mentioned upgt-firmware-2.13.1.0.tar.gz and sometimes upgt-fw-2.13.1.0.tar.gz
I don't actually see a separate upgtfw though. Where has the upgtfw gone? Should I be attempting to load upgtfw as well?
Code:
# uname -a
FreeBSD engine.local 9.0-RELEASE FreeBSD 9.0-RELEASE #1: Sun Mar 11 23:47:10 EST 2012 root@engine.local:/usr/obj/usr/src/sys/VESAKERN i386