You are not logged in.
Pages: 1
Hello,
Pleaqse excuse me as I am a newb...I have been trying to gather all the information I need to try and get this wireless card working, and I have read through many forum posts to no avail. It appears I have successfully installed linux source files, created a bzImage, and configured it to boot. (This was quite a triumph to get through on my own if this gives an idea of experience level). I have been following the directions included with the Atmel drivers. I get to the step that requires building the driver modules, and I am getting an error. It looks like it may have something to do with not finding a config.h file? Please let me know if I am missing a larger concept. The system does appear to see the card at iwconfig eth1.
This is my output when attempting to make the driver modules:
'
root@pclap:/home/chawnka/Documents/atmelwlandriver# make world
Building pcmf504A_2958
Debug
make[1]: Entering directory `/home/chawnka/Documents/atmelwlandriver/objs/pcmf504A_2958/debug'
make[2]: Entering directory `/usr/src/linux-2.6.37'
CC [M] /home/chawnka/Documents/atmelwlandriver/objs/pcmf504A_2958/debug/card.o
In file included from /home/chawnka/Documents/atmelwlandriver/src/includes/pcmcia/vnet.h:31:0,
from /home/chawnka/Documents/atmelwlandriver/objs/pcmf504A_2958/debug/card.c:23:
/home/chawnka/Documents/atmelwlandriver/src/includes/pcmcia/vnet_linux.h:26:26: fatal error: linux/config.h: No such file or directory
compilation terminated.
make[3]: *** [/home/chawnka/Documents/atmelwlandriver/objs/pcmf504A_2958/debug/card.o] Error 1
make[2]: *** [_module_/home/chawnka/Documents/atmelwlandriver/objs/pcmf504A_2958/debug] Error 2
make[2]: Leaving directory `/usr/src/linux-2.6.37'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/chawnka/Documents/atmelwlandriver/objs/pcmf504A_2958/debug'
make: *** [pcmf504A_2958] Error 2
'
Much thanks in advance in for any help. I'm sure rookie hazing is in order and I'm sure there is more output that I will have to provide to help, but I have been banging my head over this for the last 72 hours, and this will also partially be a lesson for me in self-sufficiency regarding troubleshooting.
Offline
Please post the output from these commands in terminal so I can identify the wireless chipset:
[c]lspci -nn[/c]
[c]pccardctl info[/c]
[c]pccardctl status[/c]
[c]pccardctl ident[/c]
Slitaz 4.0 has 3 pre-compiled atmel drivers :
[c]modprobe -l | grep atmel[/c]
/lib/modules/2.6.37-slitaz/kernel/drivers/net/wireless/atmel_pci.ko.gz
/lib/modules/2.6.37-slitaz/kernel/drivers/net/wireless/atmel.ko.gz
/lib/modules/2.6.37-slitaz/kernel/drivers/net/wireless/atmel_cs.ko.gz
Firmware is usually required in /lib/firmware : http://thekelleys.org.uk/atmel/
Online
I have included 2 attachments with general forum and info and with your more detailed requests. Thanks so much by thew way.
I am now at the point of trying to install the firmware. I'm not sure how to determine which firmware is correct for my card after reading their instructions. I grabbed the most recent one, "atmel-firmware-1.3" and when I attempt to install the script it stops, looking for a directory that I noticed wasn't there.
root@pclap:/home/chawnka/Documents/atmel-firmware-1.3# ./install.sh
/etc/hotplug/firmware.agent does not exist:
please install an up-to-date hotplug package and re-try.
Not having luck figuring out how to accomplish this yet. Any tips would be appreciated.
Offline
chawnka@pclap:~$ lspci -nn
00:00.0 Host bridge [0600]: ALi Corporation M1644/M1644T Northbridge+Trident [10b9:1644] (rev 01)
00:01.0 PCI bridge [0604]: ALi Corporation PCI to AGP Controller [10b9:5247]
00:02.0 USB controller [0c03]: ALi Corporation USB 1.1 Controller [10b9:5237] (rev 03)
00:04.0 IDE interface [0101]: ALi Corporation M5229 IDE [10b9:5229] (rev c3)
00:06.0 Multimedia audio controller [0401]: ALi Corporation M5451 PCI AC-Link Controller Audio Device [10b9:5451] (rev 01)
00:07.0 ISA bridge [0601]: ALi Corporation M1533/M1535/M1543 PCI to ISA Bridge [Aladdin IV/V/V+] [10b9:1533]
00:08.0 Bridge [0680]: ALi Corporation M7101 Power Management Controller [PMU] [10b9:7101]
00:0a.0 Ethernet controller [0200]: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 [8086:1229] (rev 0d)
00:11.0 CardBus bridge [0607]: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support [1179:0617] (rev 32)
00:11.1 CardBus bridge [0607]: Toshiba America Info Systems ToPIC100 PCI to Cardbus Bridge with ZV Support [1179:0617] (rev 32)
01:00.0 VGA compatible controller [0300]: Trident Microsystems CyberBlade XPAi1 [1023:8820] (rev 82)
chawnka@pclap:~$ pccardctl info
PRODID_1="3Com"
PRODID_2="3CRSHPW_96 Wireless LAN PC Card"
PRODID_3=""
PRODID_4=""
MANFID=0101,0696
FUNCID=6
PRODID_1=""
PRODID_2=""
PRODID_3=""
PRODID_4=""
MANFID=0000,0000
FUNCID=255
chawnka@pclap:~$ pccardctl status
Socket 0:
3.3V 16-bit PC Card
Subdevice 0 (function 0) bound to driver "atmel_cs"
Socket 1:
no card
chawnka@pclap:~$ pccardctl ident
Socket 0:
product info: "3Com", "3CRSHPW_96 Wireless LAN PC Card", "", ""
manfid: 0x0101, 0x0696
function: 6 (network)
Socket 1:
no product info available
SYSTEM INFO:
precise information about your SliTaz installation:
which version to you have? Stable or Cooking?
chawnka@pclap:~$ uname -a
Linux pclap 2.6.37-slitaz #1 Mon Feb 11 14:39:17 UTC 2013 i686 GNU/Linux
are you using the standard ISO or a specific flavor (XVESA, Lo-RAM etc.)?
Pretty sure it's standard. Installed from the Stable web ISO
is it installed on a HD or on an USB stick?
Hard Drive
do you know which file-system you used?
I could have sworn I choose ext3 when I gparted before installing but in System info it says ext2
identify when your problem appeared:
was it just after installation or after an update?
I first was unable to run commands because I hadn't realized that I had to install the linux source, make bzImage, make modules, install modules, copy bzImage to boot (I'm guessing this is why my kernel info says "#1". Once I did that, my boot process was smoother, and it appeared to have cleaned up a few errors I was seeing during boot before I created the new image. Then, I made my first attempt at making the drivers, and the output of that is in my first post.
were there any changes to your normal usage pattern or configuration?
Just what I mentioned above
Offline
Hey all,
I've still been trying to get some more clues as to what my firmware issues are. Following the directions that were included in the atmel firmware library @ http://www.thekelleys.org.uk/atmel/READ-ME:
"This package contains firmware images for use with the
driver for atmel at76c50x cards in the linux 2.6 kernel it also
contains firmware images for the USB driver from
http://at76c503a.berlios.de/
The prefered way to load these firmware images in to use the
firmware-loading facility of the Linux hotplug system. Prerequistites
for this are a kernel compiled with CONFIG_FW_LOADER and the
Linux hotplug scripts later than 2003_10_07. (Check for the existance
of /etc/hotplug/firmware.agent to ensure that your hotplug scripts are
sufficiently up to date.) You will also need to have sysfs mounted:
add a line like this to /etc/fstab, if it is not already there.
none /sys sysfs defaults 0 0
If you do not wish to use the hotplug system, this package includes
a "push" firmware loader, atmel_fwl. You should arrange to run this
as root from a network-startup script or PCMCIA script _before_ the
interface is brought up. The command is simply
atmel_fwl <interface> /path/to/firmware
for instance
/sbin/atmel_fwl eth0 /usr/lib/hotplug/firmware/atmel_at76c502.bin
To install the firmware package, simply run the install.sh script.
That script will remove any old versions of the package that you have
installed, and install the files in the correct locations."
On my system, "CONFIG_FW_LOADER" checks out, and so does the line from /etc/fstab. My problem, and what seems to be the reason I can't run the install script, is because of: "(Check for the existance
of /etc/hotplug/firmware.agent to ensure that your hotplug scripts are
sufficiently up to date.)"
I do not have this this directory in my system. When I run the install script it tells me that it can't find this.
I run as su:
sh ./install.sh
and am replied to with:
/etc/hotplug/firmware.agent does not exist:
please install an up-to-date hotplug package and retry.
So, I dug around on the system to see where firmware is dealt with and it appears to be:
/lib/firmware
There is even a 3com directory in there already, containing the file typhoon.bin
You'll notice from above that the firmware README also includes a second method to load the firmware:
"If you do not wish to use the hotplug system, this package includes
a "push" firmware loader, atmel_fwl. You should arrange to run this
as root from a network-startup script or PCMCIA script _before_ the
interface is brought up. The command is simply
atmel_fwl <interface> /path/to/firmware
for instance
/sbin/atmel_fwl eth0 /usr/lib/hotplug/firmware/atmel_at76c502.bin
"
Is it possible for me to manually get this happening?
I'm not sure where I would save this script, or enter this line of code...init? rcS? network.sh?
Also, the firmware folder included: atmel_fwl.8, atmel_fwl.c and atmel_fwl.pl. From a quick search it looks like this is a man file, a perl file, and header file. Am I correct? Would I need to copy one of these files to my /sbin directory like it mentions above?
My last question, should this be doable, is where to direct the path to firmware.... would I just copy the .bin file to /lib/firmware?
I'm sorry to be a nuisance here, it just appears that the system is so close to recognizing the card. I mean it definitely sees the card, just anytime I try to bring the card up I get SIOCSIFFLAGS: no file or directory, but when I ifconfig -a, it definitely sees the card at eth1.
Any assistance is greatly appreciative.
Offline
I just did a search of my filesystem for *pcmcia* and *atmel* seperately to see if I could find any other clues.
One line seems to be of note:
atmel_at76c502.bin /run/udev/firmware-missing
I went to look at this and it looks like an alias file.
Is this just more evidence that this is a firmware problem.
Again, apologize for the rookie ramblings. When I hit the hotplug problem, I read that it was part of udev, so this seemed too be of note, just trying anything I can.
Offline
[*]Install firmware:
[c]# tazpkg install[/c] atmel-firmware-1.3-4.tazpkg
[*]Stop network:
[c]# /etc/init.d/network.sh stop[/c]
[*]
Open a 2nd terminal to monitor kernel: [c]tail -f /var/log/messages[/c]
[*]Go back to other terminal for these commands.
[*]Unload module:
[c]# modprobe -r atmel_cs[/c]
[*]Load module:
[c]# modprobe atmel_cs[/c]
[*]Check for initialised interface:
[c]# iwconfig[/c]
or
[c]# ls /sys/class/net[/c]
[*]Configure network:
Should list wireless adapter alias for wifi configuration.
[c]# leafpad /etc/network.conf[/c] <= Configure network here.
[*]Start network:
[c]# /etc/init.d/network.sh start[/c]
If the output of [c]iwconfig[/c] or [c]ls /sys/class/net[/c] does not show the wireless interface has initialized then check 2nd terminal for kernel message errors related to atmel eg. firmware not found.
Online
Pages: 1
[ Generated in 0.020 seconds, 8 queries executed - Memory usage: 1.56 MiB (Peak: 1.77 MiB) ]