Discussion:
Hang after installing wifi firmware
David Given
2012-11-13 19:58:35 UTC
Permalink
I have an old Sony Vaio with an ipw2100 wifi chipset. I installed Haiku
a4 on it and it all seemed to work fine. Unfortunately, after running
the script to download the wifi firmware bundle, it has now stopped booting.

It usually hangs immediately after changing screen mode, showing a
corrupted boot splash screen, although sometimes I get a frozen mouse
pointer instead.

Turning debug output on usually shows a whole bunch of Radeon messages,
although *very occasionally* I'll see messages describing initialisation
of the wireless hardware interleaved. (This smells like the system is
freezing before the debug log gets flushed to the screen. Is there a way
to make this synchronous?)

Right now I can see that it's called ifmedia_add a bunch of times for
various different slightly different modes, and the last message shown is:

ifmedia_add: Adding Entry...

(The previous call was for type = IEEE 802.11 Wireless Ethernet, Mode =
11b, Subtype = DS/5.5Mbps, although this can vary.)

This all happens regardless of whether the physical kill-switch for the
wireless hardware is on or off.

It boots fine in safe mode.

I'm *sure* I remember this happening in a3... any ideas?
--
┌───  ───── http://www.cowlark.com ─────
│ "Of course, on a sufficiently small planet, 40 km/hr is, in fact,
│ sufficient to punt the elastic spherical cow into low orbit." ---
│ Brooks Moses on r.a.sf.c
Axel Dörfler
2012-11-16 16:23:46 UTC
Permalink
Post by David Given
I have an old Sony Vaio with an ipw2100 wifi chipset. I installed Haiku
a4 on it and it all seemed to work fine. Unfortunately, after running
the script to download the wifi firmware bundle, it has now stopped booting.
[...]
Post by David Given
freezing before the debug log gets flushed to the screen. Is there a way
to make this synchronous?)
Nope. However, ...
Post by David Given
It boots fine in safe mode.
You can launch the net_server manually in safe mode. It should then hang
as well, but you'll get a cleaner log.
Post by David Given
I'm *sure* I remember this happening in a3... any ideas?
No, but are you able to drop into the kernel debugger? This can be done
in a normal alpha system by pressing IIRC Alt-SysReq-d.

Bye,
Axel.
David Given
2012-11-16 19:54:00 UTC
Permalink
On 16/11/12 16:23, Axel Dörfler wrote:
[...]
Post by Axel Dörfler
No, but are you able to drop into the kernel debugger? This can be done
in a normal alpha system by pressing IIRC Alt-SysReq-d.
Yes!

Umm... I don't know what to do with this now. (I have lots of experience
with assorted operating systems, but have never interacted with Haiku at
this level before.) 'threads' shows that net_server is ready, and
iprowifi2100/0 reader & consume are both waiting on (different)
semaphores. net_device_interfaces shows that iprowifi2100 seems to exist.

Typing in a bunch of random commands what I don't know what they do, I
do notice that net_domains crashes:

PANIC:_mutex_lock(): called with interrupts disabled for lock 0x82004028

The attached stack trace shows .../dev/net/ipro100:intr_handler + 0x005f.

Is any of that at all relevant?

[...]
Post by Axel Dörfler
Post by David Given
It boots fine in safe mode.
You can launch the net_server manually in safe mode. It should then hang
as well, but you'll get a cleaner log.
That does hang (running /boot/system/servers/net_server), but I can't
get it into KDL that way.
--
┌───  ───── http://www.cowlark.com ─────
│ "Of course, on a sufficiently small planet, 40 km/hr is, in fact,
│ sufficient to punt the elastic spherical cow into low orbit." ---
│ Brooks Moses on r.a.sf.c
vercu
2012-11-17 11:31:57 UTC
Permalink
Post by David Given
I have an old Sony Vaio with an ipw2100 wifi chipset. I installed Haiku
a4 on it and it all seemed to work fine. Unfortunately, after running
the script to download the wifi firmware bundle, it has now stopped booting.
I also have an old Sony with this card.
The IPW2100 is buggy. There is a ticket. Search the trac.

My solution is swaping the card with an Atheros one.

Regards
Peter

Loading...