[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-mobile
Subject:    Re: PRO/Wireless 3945ABG (Device not configured)
From:       Torfinn Ingolfsen <torfinn.ingolfsen () broadpark ! no>
Date:       2006-07-22 19:54:38
Message-ID: 20060722215438.dea11a69.torfinn.ingolfsen () broadpark ! no
[Download RAW message or body]

On Sat, 22 Jul 2006 20:09:05 +0200
Torfinn Ingolfsen <torfinn.ingolfsen@broadpark.no> wrote:

> But compiling wpi-freebsd fails (see attached error log)
> 
> Iguess I must be doing something wromg here. Do I need to place this
> souce code (the driver) in /usr/src somewhere?

It was something I wasn't doing. :-)

I found out after lookking at the error log that I needed to link the
'wpi' directory in the driver source to /sys/dev/wpi.
I had put the source in /home/tingo/work/wpi-freebsd, so I issued the
commands
cd /usr/src/sys
ln -s /home/tingo/work/wpi-freebsd/wpi

and now the driver compiled. Let's see what /var/log/messages has:
Jul 22 20:51:58 kg-home kernel: wpi0: <Intel(R) PRO/Wireless 3945ABG> mem \
0xc8200000-0xc8200fff irq 17 at d evice 0.0 on pci3
Jul 22 20:51:58 kg-home kernel: bus_dmamem_alloc failed to align memory \
properly.bus_dmamem_alloc failed to  align memory properly.bus_dmamem_alloc failed to \
align memory properly.bus_dmamem_alloc failed to align me mory \
properly.bus_dmamem_alloc failed to align memory properly.bus_dmamem_alloc failed to \
align memory prop erly.bus_dmamem_alloc failed to align memory properly.channel 1 \
                pwr1 0x008a pwr2 0x0086
Jul 22 20:51:58 kg-home kernel: channel 2 pwr1 0x0082 pwr2 0x008b
Jul 22 20:51:58 kg-home kernel: channel 3 pwr1 0x008f pwr2 0x0092
Jul 22 20:51:58 kg-home kernel: channel 4 pwr1 0x0092 pwr2 0x008f
Jul 22 20:51:58 kg-home kernel: channel 5 pwr1 0x0000 pwr2 0x0000
Jul 22 20:51:58 kg-home kernel: channel 6 pwr1 0x0080 pwr2 0x0080
Jul 22 20:51:58 kg-home kernel: channel 7 pwr1 0x0080 pwr2 0x0080
Jul 22 20:51:58 kg-home kernel: channel 8 pwr1 0x0081 pwr2 0x0080
Jul 22 20:51:58 kg-home kernel: channel 9 pwr1 0x007f pwr2 0x0081
Jul 22 20:51:58 kg-home kernel: channel 10 pwr1 0x0000 pwr2 0x0000
Jul 22 20:51:58 kg-home kernel: channel 11 pwr1 0xfffe pwr2 0xfffe
Jul 22 20:51:58 kg-home kernel: channel 12 pwr1 0x0001 pwr2 0x0001
Jul 22 20:51:58 kg-home kernel: channel 13 pwr1 0xfffe pwr2 0xfffe
Jul 22 20:51:58 kg-home kernel: channel 14 pwr1 0x0001 pwr2 0x0001
Jul 22 20:51:58 kg-home kernel: wpi0: Ethernet address: 00:13:02:3e:d4:ce

and ''ifconfig wpi0':
root@kg-home# ifconfig wpi0
wpi0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> mtu 1500
        ether 00:13:02:3e:d4:ce
        media: IEEE 802.11 Wireless Ethernet autoselect
        status: no carrier
        ssid "" channel 1
        authmode OPEN privacy OFF txpowmax 100 protmode CTS

Looks good. Let's see if it works too.
Nope, it seems like the firmware framework (or module) is the problem. From \
                /var/log/messages:
Jul 22 20:58:18 kg-home kernel: setting h/w config 1200
Jul 22 20:58:18 kg-home kernel: wpi0: fatal firmware error
Jul 22 20:58:18 kg-home kernel: wpi0: timeout resetting Rx ring
Jul 22 20:58:18 kg-home kernel: wpi0: timeout transferring firmware
Jul 22 20:58:18 kg-home kernel: wpi0: could not load firmware
Jul 22 20:58:18 kg-home kernel: wpi0: timeout resetting Tx ring 1
Jul 22 20:58:18 kg-home kernel: wpi0: timeout resetting Tx ring 3
Jul 22 20:58:19 kg-home kernel: wpi0: timeout resetting Tx ring 4
Jul 22 20:58:19 kg-home kernel: setting h/w config 1200
Jul 22 20:58:19 kg-home kernel: firmware_get: failed to load firmware image wpi_ucode
Jul 22 20:58:19 kg-home kernel: wpi0: could not load firmware image 'wpi_ucode'
Jul 22 20:58:19 kg-home kernel: setting h/w config 1200
Jul 22 20:58:19 kg-home kernel: firmware_get: failed to load firmware image wpi_ucode
Jul 22 20:58:19 kg-home kernel: wpi0: could not load firmware image 'wpi_ucode'

(the last 3 lines repeats).
So, anything I can do to make the firmware work?
-- 
Regards,
Torfinn Ingolfsen,
Norway

_______________________________________________
freebsd-mobile@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-mobile
To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org"


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic