Help - Search - Members - Calendar
Full Version: Problem With Hermes Ii Wifi Card
OESF Forums > Distros, Development, and Model Specific Forums > Distro Support and Discussion > pdaXrom
wellswang
sad.gif

i've got a cf wifi card
i think it is Hermes II based wifi card
i am using pdaxrom 1.1.0 beta 3 on my C3100

the card info is

CODE
# cardctl ident
product info: "Wireless", "CF NIC CFBAG", "", ""
manfid: 0x0156,0x0003
function: 6 (network)


by default , this card cannot work in pdaxrom

i copied the wlags49_h2 driver from cacko 123 (this card can work fine on my friend's zaurus with cacko, which kernel is also 2.4.20) into /lib/modules/2.4.20/kernel/drivers/net/wireless/

and i changed settings in /etc/pcmcia
i added
CODE
device "wlags49_h2_cs"
 class "agere" module "wlags49_h2_cs"

device "wlags49_h25_cs"
 class "agere" module "wlags49_h25_cs"

card "Agere Systems Hermes-II based PCMCIA Wireless Adapter"
 manfid 0x0156, 0x0003
 bind "wlags49_h2_cs"

card "Agere Systems Hermes-II.5 based PCMCIA Wireless Adapter"
 manfid 0x0156, 0x0004
 bind "wlags49_h25_cs"


and the content of file agere is
CODE
#!/bin/sh
#
export WIRELESS_USE=$0
./network $*
exit $?


after i reboot my zaurus,

the power LED of my wifi card lighted on.
but the card cannot work,
and if i input command "iwconfig"
the zaurus hang wink.gif ...

the log from dmesg is below:

CODE
s.o:>>>>:wl_insert
wlags49_h2_cs.o:wl_insert Calling hcf_connect()...
wlags49_h2_cs.o:wl_insert Calling wvlan_go() to perform a card reset...
wlags49_h2_cs.o:>>>>>:wl_go
wlags49_h2_cs.o:>>>>>>:wl_disable
wlags49_h2_cs.o:<<<<<<:wl_disable
wlags49_h2_cs.o:>>>>>>:wl_disable_wds_ports
wlags49_h2_cs.o:<<<<<<:wl_disable_wds_ports
wlags49_h2_cs.o:wl_go Downloading STA firmware...
wlags49_h2_cs.o:>>>>>>:wvlanGetPriRecords
wlags49_h2_cs.o:wvlanGetPriRecords PRI 31 variant 3 version 2.26 hcfStatus = 0
wlags49_h2_cs.o:wvlanGetPriRecords NIC 14 variant 1 version 0.04 hcfStatus = 0
wlags49_h2_cs.o:<<<<<<:wvlanGetPriRecords
wlags49_h2_cs.o:wl_go Card MAC Address: 00:10:C6:80:C0:6A
wlags49_h2_cs.o:>>>>>>:wl_put_ltv
wlags49_h2_cs.o:wl_put_ltv CFG_REG_MB                        : 0xc24c0c14
wlags49_h2_cs.o:wl_put_ltv CFG_REG_MB result                 : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_MAX_DATA_LEN              : 0x05e4
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_MAX_DATA_LEN result       : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_SYSTEM_SCALE              : 0x0001
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_SYSTEM_SCALE result       : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_OWN_CHANNEL               : 0x000a
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_OWN_CHANNEL result        : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_MICRO_WAVE                : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_MICRO_WAVE result         : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_MCAST_RATE                : 0x0002
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_MCAST_RATE result         : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_OWN_NAME                  : Linux
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_OWN_NAME result           : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_RTS_THRH                      : 0x092b
wlags49_h2_cs.o:wl_put_ltv CFG_RTS_THRH result               : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_PORT_TYPE                 : 0x0001
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_PORT_TYPE result          : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_TX_RATE_CNTL                  : 0x0003
wlags49_h2_cs.o:wl_put_ltv CFG_TX_RATE_CNTL result           : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_PM_ENABLED                : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_PM_ENABLED result         : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_MCAST_RX                  : 0x0001
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_MCAST_RX result           : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_MAX_SLEEP_DURATION        : 0x0064
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_MAX_SLEEP_DURATION result : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_CREATE_IBSS                   : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_CREATE_IBSS result            : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_DESIRED_SSID                  : LinuxAP
wlags49_h2_cs.o:wl_put_ltv CFG_DESIRED_SSID result           : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_OWN_ATIM_WINDOW           : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_OWN_ATIM_WINDOW result    : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_HOLDOVER_DURATION         : 0x0064
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_HOLDOVER_DURATION result  : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_PROMISCUOUS_MODE              : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_PROMISCUOUS_MODE result       : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_AUTHENTICATION            : 0x0001
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_AUTHENTICATION result     : 0x0000
wlags49_h2_cs.o:wl_put_ltv MAC Address                       : 00:10:C6:80:C0:6A
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_OWN_MAC_ADDR
wlags49_h2_cs.o:wl_put_ltv CFG_XXX_MAC_ADDR result           : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_OWN_SSID                  : LinuxAP
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_OWN_SSID result           : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_ENCRYPTION                : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_CNF_ENCRYPTION result         : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_SET_WPA_AUTH_KEY_MGMT_SUITE   : 0x0000
wlags49_h2_cs.o:wl_put_ltv CFG_SET_WPA_AUTH_KEY_MGMT_SUITE result: 0x0000
wlags49_h2_cs.o:>>>>>>>:wl_set_wep_keys
wlags49_h2_cs.o:<<<<<<<:wl_set_wep_keys
wlags49_h2_cs.o:<<<<<<:wl_put_ltv
wlags49_h2_cs.o:<<<<<:wl_go
wlags49_h2_cs.o:>>>>>:wl_init
wlags49_h2_cs.o:<<<<<:wl_init
wlags49_h2_cs.o:>>>>>:wl_wds_netdev_register
wlags49_h2_cs.o:<<<<<:wl_wds_netdev_register
wlags49_h2_cs.o:wl_insert wlan0: Wireless, io_addr 0xf6000000, irq 135, mac_address 00:10:C6:80:C0:6A
wlags49_h2_cs.o:<<<<:wl_insert
wlags49_h2_cs.o:<<<:wl_adapter_insert
wlags49_h2_cs.o:<<:wl_adapter_event
wlags49_h2_cs.o:<:wl_adapter_attach
wlags49_h2_cs.o:>:wl_ioctl
wlags49_h2_cs.o:>>:wl_wireless_ioctl
wlags49_h2_cs.o:wl_wireless_ioctl IOCTL: SIOCSIWMODE
wlags49_h2_cs.o:>>>:wireless_set_porttype
set porttype
wlags49_h2_cs.o:>>>>:wl_go
wlags49_h2_cs.o:>>>>>:wl_disable
wlags49_h2_cs.o:<<<<<:wl_disable
wlags49_h2_cs.o:>>>>>:wl_disable_wds_ports
wlags49_h2_cs.o:<<<<<:wl_disable_wds_ports
wlags49_h2_cs.o:wl_go Downloading STA firmware...
[color=red]Unable to handle kernel paging request at virtual address 0000c5bf[/color]
mm = c001a6c0 pgd = c23a4000
*pgd = a2624801, *pmd = a2624801, *pte = 00000000, *ppte = 00000000
Internal error: Oops: ffffffff
CPU: 0
pc : [<c5bf8ff0>]    lr : [<000000c5>]    Tainted: P
sp : c2651de0  ip : 0000c5bf  fp : c2651e08
r10: c5bff2c0  r9 : c24c0118  r8 : 00000000
r7 : c5bff2fc  r6 : c5bff33c  r5 : c5bff2f0  r4 : 0000000e
r3 : 00000006  r2 : 00000000  r1 : 0000c5bf  r0 : c24c0118
Flags: nzcv  IRQs off  FIQs on  Mode SVC_32  Segment user
Control: 197F  Table: A23A4000  DAC: 00000015  PID:  0
Process iwconfig (pid: 1068, stack limit = 0xc2650418)
Stack: (0xc2651de0 to 0xc2652000)
1de0: c24c02e8 c24c0118 c24c0000 00000000 c5bff170 c2651e90 00008b06 c2651e30
1e00: c2651e0c c5becfc8 c5bf8f20 c5bfc018 c5bfa1bc c24c0000 c2651f08 c5bff170
1e20: c2d14600 c2651e54 c2651e34 c5be4f58 c5bece8c c5bfa1bc 00000000 c24c0000
1e40: c2651f08 c5bff170 c2651e88 c2651e58 c5be28a4 c5be4e00 c5bf9774 00000001
1e60: c24c0118 00008b06 c2651f08 c24c0000 c2d14600 a0000013 c5bff170 c2651ebc
1e80: c2651e8c c5bf3910 c5be20c0 c5bfe434 00000000 c2651f08 00000000 00008b06
1ea0: c2651f08 c2650000 c2d14600 00000000 c2651f04 c2651ec0 c017e70c c5bf3758
1ec0: c2651ecc c0174ed4 c01e8f58 c2651f08 00000000 c2651ef0 c2651ee4 c2651f08
1ee0: 00000000 bffffcf4 00008b06 c2650000 c2650000 00000000 c2651f4c c2651f08
1f00: c0177898 c017df28 6e616c77 00000030 00000000 00000000 00000002 4001e0b0
1f20: 401eb378 bffffd1c 00008b06 bffffcf4 c25029a0 bffffcf4 ffffffe7 00000002
1f40: c2651f68 c2651f50 c01b0014 c01772c0 c024a374 00008b06 00000000 c2651f7c
1f60: c2651f6c c016e984 c01afc7c c2cdf9e0 c2651fa0 c2651f80 c0067494 c016e968
1f80: 00000002 00000001 0000f404 00000036 c001eb24 00000000 c2651fa4 c001e7c0
1fa0: c006729c 00000002 0000f404 00000000 00008b06 bffffcf4 00000000 00000002
1fc0: 00000001 0000f404 bffffe77 00000000 bffffd6c 00000002 0001765c 40190af0
1fe0: bffffa2c 0000adfc 40190af4 60000010 00000000 c2650000 00000000 00000000
Backtrace:
Function entered at [<c5bf8f14>] from [<c5becfc8>]
Function entered at [<c5bece80>] from [<c5be4f58>]
r8 = C2D14600  r7 = C5BFF170  r6 = C2651F08  r5 = C24C0000
r4 = C5BFA1BC
Function entered at [<c5be4df4>] from [<c5be28a4>]
r7 = C5BFF170  r6 = C2651F08  r5 = C24C0000  r4 = 00000000
Function entered at [<c5be20b4>] from [<c5bf3910>]
Function entered at [<c5bf374c>] from [<c017e70c>]
Function entered at [<c017df1c>] from [<c0177898>]
Function entered at [<c01772b4>] from [<c01b0014>]
Function entered at [<c01afc70>] from [<c016e984>]
r6 = 00000000  r5 = 00008B06  r4 = C024A374
Function entered at [<c016e95c>] from [<c0067494>]
r4 = C2CDF9E0
Function entered at [<c0067290>] from [<c001e7c0>]
r8 = C001EB24  r7 = 00000036  r6 = 0000F404  r5 = 00000001
r4 = 00000002
Code: e2855006 e1a00009 e1a0100c e1833402 (e5cc3000)


i think the problem is
Unable to handle kernel paging request at virtual address 0000c5bf

but i don't know how to solve it.

can anybody help me?
or tell me why the driver from cacko cannot work(the kernel version is same as pdaxrom 1.1b3...)?


==========================

Then I want to compile the driver by myself.

I've read this instruction:
http://wiki.splitbrain.org/wlan:orinocosilver

i've downloaded
pcmcia-cs-3.2.8.tar.gz
wl_lkm_722_abg.tar.gz
and kernel source of pdaxrom 1.1b3(C3100) from http://mail.pdaxrom.org/download/1.1.0beta...rom1_01.tar.bz2

BUT,
when i configure ,
the script cannot find "asm-armv5tel" in kernel source
i linked "asm" to "asm-arm"
then configured sucessful.

When i built it ,
it reported error and exit the make process.
CODE
............

/mnt/ide/opt/native/arm/3.4.6-xscale-softvfp/bin/../lib/gcc/armv5tel-cacko-linux/3.4.6/../../../../armv5tel-cacko-linux/include/asm/arch/hardware.h:22:28: asm/mach-types.h: No such file or directory
../hcf/fw_h2.c:4468: warning: missing braces around initializer
../hcf/fw_h2.c:4468: warning: (near initialization for `fw_image_infocompat[3].var_rec[0]')
make[1]: *** [wlags49_h2_cs.o] Error 1
make[1]: Leaving directory `/mnt/ide/home/root/working/pcmcia-cs-3.2.7/wireless'
make: *** [wlags49_h2_cs] Error 2


I am oppressed by a sense of failure ... sad.gif

Can anybody help me ??

thanks anyway.
wellswang
at last, i compiled this driver on my Zaurus,
but when i insert my WIFI card,
it cannot load ...

i tried to use modprobe , but it told me ...

CODE
# cd /lib/modules/2.4.20/kernel/drivers/net/wireless/
# ls
airo.o           hermes.o         orinoco_cs.o     prism_usb.o      wlags49_h2_cs.o
airo_cs.o        orinoco.o        orinoco_usb.o    spectrum_cs.o
# ls -l wlags49_h2_cs.o
-rw-r--r--    1 root     root       321651 Jan 21 22:54 wlags49_h2_cs.o
#
# modprobe wlags49_h2_cs
/lib/modules/2.4.20/kernel/drivers/net/wireless/wlags49_h2_cs.o: couldn't find the kernel version the module was compiled for
/lib/modules/2.4.20/kernel/drivers/net/wireless/wlags49_h2_cs.o: insmod /lib/modules/2.4.20/kernel/drivers/net/wireless/wlags49_h2_cs.o failed
/lib/modules/2.4.20/kernel/drivers/net/wireless/wlags49_h2_cs.o: insmod wlags49_h2_cs failed
#


the driver doesn't work!

please give me some suggestion!

Thanks.

PS. the attached file is the driver i complied , but it doesnot work... sad.gif


QUOTE(wellswang @ Jan 21 2007, 01:44 AM)
sad.gif

i've got a cf wifi card
i think it is Hermes II based wifi card
i am using pdaxrom 1.1.0 beta 3 on my C3100

.........................

BUT,
when i configure ,
the script cannot find "asm-armv5tel" in kernel source
i linked "asm" to "asm-arm"
then configured sucessful.

When i built it ,
it reported error and exit the make process.
CODE
............

/mnt/ide/opt/native/arm/3.4.6-xscale-softvfp/bin/../lib/gcc/armv5tel-cacko-linux/3.4.6/../../../../armv5tel-cacko-linux/include/asm/arch/hardware.h:22:28: asm/mach-types.h: No such file or directory
../hcf/fw_h2.c:4468: warning: missing braces around initializer
../hcf/fw_h2.c:4468: warning: (near initialization for `fw_image_infocompat[3].var_rec[0]')
make[1]: *** [wlags49_h2_cs.o] Error 1
make[1]: Leaving directory `/mnt/ide/home/root/working/pcmcia-cs-3.2.7/wireless'
make: *** [wlags49_h2_cs] Error 2


I am oppressed by a sense of failure ... sad.gif

Can anybody help me ??

thanks anyway.
*
ecc_hy
Successed here:
http://www.oesf.org/forums/index.php?act=S...285#entry157291
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.