install-wifi-firmware.sh for ipw2100 caused page fault

Forum thread started by enzo on Sun, 2011-08-14 20:41

Hi,
I started to use Haiku in just a moment (yesterday) - and I like it. I am using Haiku from anyboot image installation - it is installed on USB stick. I read Welcome and Uer Guide documents. There I found that Haiku is shipped with a firmware driver for ipw2100 wifi card, and installation is nice and easy: just in a terminal issue the command

# install-wifi-firmware.sh

So I did and in the same moment appeared the kernel debbuger screen with an information "page fault". I never seen before such thing like Haiku kernel debugger. The only command (luckily) I recognized was "reboot". So I rebooted and tried again the same routine and again I get "page fault" error.

It will be nice if you will help me to install the ipw2100 driver. Of course I can do some debugging - but I have no idea where to begin - there are so many options in the Haiku kernel debugger....

Comments

Re: install-wifi-firmware.sh for ipw2100 caused page fault

Try "bt" (back-trace), this should give you a long readout on what happened.

Edit: you can copy this to http://haiku.kpaste.net/ and share the link here or you can file a bug report on http://dev.haiku-os.org

Re: install-wifi-firmware.sh for ipw2100 caused page fault

Hi enzo!

There's seems to be a ticket (#7898) concerning this already.

Regards,
Humdinger

Re: install-wifi-firmware.sh for ipw2100 caused page fault

Hi,
No I'm trying to understand that "ticket". But shortly, is there solution or workaround contained in the ticket's description?

Re: install-wifi-firmware.sh for ipw2100 caused page fault

I'm not sure... But from what taos wrote, it may work if you boot in safe-mode (hold SHIFT while booting to get to the boot options). However, I'm not sure why that wouldn't load the driver... It may be necessary to move /boot/system/add-ons/kernel/drivers/bin/ipw2100 somewhere else (the Desktop, for example) before rebooting, and moving it back into place when the firmware installation worked...

Regards,
Humdinger

Re: install-wifi-firmware.sh for ipw2100 caused page fault

enzo wrote:

But shortly, is there solution or workaround contained in the ticket's description?

Not in the ticket description. But I can give you an alternative route to install the ipw2100 firmware files.
In Terminal:
open /boot/system/data/firmware/ipw2100/ipw2100-fw-1.3.tgz
This will launch Expander. Just expand the file and reboot.

I used this installation route for more than a year - that's why it took me so long to discover the problem with the installation script:-)
I would like to know if you can see any wireless networks after the installation - I've never succeeded and suspected either problems with my hardware configuration or the ipw2100 driver.

Re: install-wifi-firmware.sh for ipw2100 caused page fault

I did as you said. I'm still unable to make the wifi to work, here is a log

ls /boot/system/data/firmware/ipw2100/
LICENSE  ipw2100-1.3-i.fw  ipw2100-1.3-p.fw  ipw2100-1.3.fw  ipw2100-fw-1.3.tgz
~> ifconfig 
loop    Hardware type: Local Loopback, Address: none
        inet addr: 127.0.0.1, Mask: 255.0.0.0
        MTU: 16384, Metric: 0, up loopback link
        Receive: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
        Transmit: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
        Collisions: 0
 
/dev/net/ipw2100/0
        Hardware type: Ethernet, Address: 00:0c:f1:30:2e:62
        Media type: Auto-select
        inet addr: 169.254.0.129, Bcast: 169.254.255.255, Mask: 255.255.0.0
        MTU: 1500, Metric: 0, up broadcast link auto-configured
        Receive: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
        Transmit: 0 packets, 27 errors, 0 bytes, 0 mcasts, 0 dropped
        Collisions: 0
 
/dev/net/rtl8139/0
        Hardware type: Ethernet, Address: 00:0b:5d:2f:81:f4
        inet addr: 169.254.0.12, Bcast: 169.254.255.255, Mask: 255.255.0.0
        MTU: 1500, Metric: 0, up broadcast auto-configured
        Receive: 0 packets, 0 errors, 0 bytes, 0 mcasts, 0 dropped
        Transmit: 9 packets, 0 errors, 2673 bytes, 0 mcasts, 0 dropped
        Collisions: 0
~> ifconfig /dev/net/ipw2100/0 list 
ifconfig: "/dev/net/ipw2100/0" is not a WLAN device!

The last message I understand that the system unproperly reognized the ipw2100/0 device
as Ethernet wired interface.

Re: install-wifi-firmware.sh for ipw2100 caused page fault

I opened a new bug tracker ticket https://dev.haiku-os.org/ticket/7938.