DaemonForums  

Go Back   DaemonForums > OpenBSD > OpenBSD Installation and Upgrading

OpenBSD Installation and Upgrading Installing and upgrading OpenBSD.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   (View Single Post)  
Old 31st May 2013
IdOp's Avatar
IdOp IdOp is offline
Too dumb for a smartphone
 
Join Date: May 2008
Location: twisting on the daemon's fork(2)
Posts: 1,027
Default Firmware load of athn-ar9271 fails

I've installed OpenBSD 5.3 release onto two machines: the laptop (amd64) and main "desktop" (i386). dmesgs for each are attached to this post.

On each machine I have the same trouble with a USB wireless N adapter: the firmware won't load. The adapter is a NETGEAR WNA1100, based on Atheros chip. Excerpted from one of the dmesgs are the following lines:

Code:
athn0 at uhub0 port 2 "NETGEAR WNA WNA1100" rev 2.00/1.08 addr 2
...
athn0: failed loadfirmware of file athn-ar9271 (error 2)
athn0: could not load firmware
The firmware package athn-firmware-1.1p0 was installed using fw_update(1). I also tried an older package athn-firmware-1.1, with the same result (not surprising since the firmware file athn-ar9271 is the same in the two versions of the package).

The man page for the loadfirmware(9) function says it returns an errno(2) code on failure, and errno code 2 is "No such file or directory". Well the files seem to be there:

Code:
-r--r--r-- 1 root bin 70624 Jun 16  2011 /etc/firmware/athn-ar7010
-r--r--r-- 1 root bin 70624 Jun 16  2011 /etc/firmware/athn-ar7010-11
-r--r--r-- 1 root bin 51280 Jun 16  2011 /etc/firmware/athn-ar9271
-r--r--r-- 1 root bin  2221 Jun 16  2011 /etc/firmware/athn-license
I also tried replacing athn-ar9271 with the firmware file from Linux, htc_9271.fw; same result, it wouldn't load. (The adapter works under Linux.)

Another data point: when I first got the adapter (1-2 years ago), I tried it under OpenBSD on another machine, and it did work then. So, there was at that time no problem loading the firmware for it.

I tried google-ing the error message above, but didn't find anything useful.

I wanted to try loading the firmware manually by writing a simple C wrapper for loadfirmware(9), to see what happens, but the man page doesn't say what library to link it with.

Any suggestions for how to proceed? Thanks!
Attached Files
File Type: tgz dmesgs-5.3.tgz (4.1 KB, 97 views)
Reply With Quote
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to upgrade firmware? tls OpenBSD Installation and Upgrading 9 30th April 2012 10:50 PM
How to build upgt firmware AnilG FreeBSD Installation and Upgrading 2 20th March 2012 12:06 PM
How do I manually load firmware in OpenBSD? Shagbag OpenBSD Packages and Ports 3 18th September 2008 08:37 PM
NVIDIA driver fails to load, freebsd 7.0 mc_i2020 FreeBSD General 18 18th July 2008 01:12 PM
location for wpi-firmware-.tgz bsdnewbie999 OpenBSD General 1 18th June 2008 04:20 AM


All times are GMT. The time now is 06:56 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick