Ticket #608 (closed defect: duplicate)

Opened 6 years ago

Last modified 6 years ago

Madwifi on sparc64 (sun blade100 with netgear wg311T) error + oops kernel

Reported by: farphadet Assigned to:
Priority: critical Milestone:
Component: madwifi: driver Version: trunk
Keywords: sparc64, if_ath, sun, madwifi, debian, oops kernel Cc:
Patch is attached: 0 Pending:

Description (Last modified by mrenzmann)

Before all, sorry for my english.....

Since two days i have tried to compil madwifi-ng (revision 1545) on sparc64, with debian sarge. I have a 2.6.8 kernel with option for wifi actived. My version og gcc it's gcc (GCC) 3.3.5 (Debian 1:3.3.5-13).

I have this message when i tried to compile :

Checking requirements... ok.
Checking kernel configuration... ok.
if [ -d .svn ]; then \
	ver=`svnversion -nc . | sed -e 's/^[^:]*://;s/[A-Za-z]//'`; \
elif [ -s SNAPSHOT ]; then \
	ver=`sed -e '/^Revision: */!d;s///;q' SNAPSHOT`; \
else \
	ver=`date +%F`; \
fi; \
echo "#define SVNVERSION \"$ver\"" > svnversion.h
mkdir -p ./symbols
for i in ./ath_hal ./net80211 ath_rate/sample ./ath; do \
	make -C $i || exit 1; \
done
make[1]: Entering directory `/root/madwifi-ng/ath_hal'
cp -f ./../hal/public/sparc64-be-elf.opt_ah.h opt_ah.h
make -C /lib/modules/2.6.8-ouranos-/build SUBDIRS=/root/madwifi-ng/ath_hal MODVERDIR=/root/madwifi-ng/ath_hal/../symbols modules
make[2]: Entering directory `/usr/src/kernel-source-2.6.8'
  CC [M]  /root/madwifi-ng/ath_hal/ah_osdep.o
echo "deps_/root/madwifi-ng/ath_hal/sparc64-be-elf.hal.o :=" >/root/madwifi-ng/ath_hal/.sparc64-be-elf.hal.o.cmd
cp -f /root/madwifi-ng/ath_hal/../hal/public/sparc64-be-elf.hal /root/madwifi-ng/ath_hal/sparc64-be-elf.hal.o
  LD [M]  /root/madwifi-ng/ath_hal/ath_hal.o
  Building modules, stage 2.
  MODPOST
  CC      /root/madwifi-ng/ath_hal/ath_hal.mod.o
  LD [M]  /root/madwifi-ng/ath_hal/ath_hal.ko
make[2]: Leaving directory `/usr/src/kernel-source-2.6.8'
make[1]: Leaving directory `/root/madwifi-ng/ath_hal'
make[1]: Entering directory `/root/madwifi-ng/net80211'
make -C /lib/modules/2.6.8-ouranos-/build SUBDIRS=/root/madwifi-ng/net80211 MODVERDIR=/root/madwifi-ng/net80211/../symbols modules
make[2]: Entering directory `/usr/src/kernel-source-2.6.8'
  CC [M]  /root/madwifi-ng/net80211/if_media.o
  CC [M]  /root/madwifi-ng/net80211/ieee80211.o
  CC [M]  /root/madwifi-ng/net80211/ieee80211_beacon.o
  CC [M]  /root/madwifi-ng/net80211/ieee80211_crypto.o
  CC [M]  /root/madwifi-ng/net80211/ieee80211_crypto_none.o
  CC [M]  /root/madwifi-ng/net80211/ieee80211_input.o
  CC [M]  /root/madwifi-ng/net80211/ieee80211_node.o
  CC [M]  /root/madwifi-ng/net80211/ieee80211_output.o
  CC [M]  /root/madwifi-ng/net80211/ieee80211_power.o
  CC [M]  /root/madwifi-ng/net80211/ieee80211_proto.o
  CC [M]  /root/madwifi-ng/net80211/ieee80211_scan.o
  CC [M]  /root/madwifi-ng/net80211/ieee80211_wireless.o
  CC [M]  /root/madwifi-ng/net80211/ieee80211_linux.o
  CC [M]  /root/madwifi-ng/net80211/ieee80211_monitor.o
  CC [M]  /root/madwifi-ng/net80211/ieee80211_acl.o
  CC [M]  /root/madwifi-ng/net80211/ieee80211_crypto_ccmp.o
  CC [M]  /root/madwifi-ng/net80211/ieee80211_scan_ap.o
  CC [M]  /root/madwifi-ng/net80211/ieee80211_scan_sta.o
  CC [M]  /root/madwifi-ng/net80211/ieee80211_crypto_tkip.o
  CC [M]  /root/madwifi-ng/net80211/ieee80211_crypto_wep.o
  CC [M]  /root/madwifi-ng/net80211/ieee80211_xauth.o
  LD [M]  /root/madwifi-ng/net80211/wlan.o
  LD [M]  /root/madwifi-ng/net80211/wlan_wep.o
  LD [M]  /root/madwifi-ng/net80211/wlan_tkip.o
  LD [M]  /root/madwifi-ng/net80211/wlan_ccmp.o
  LD [M]  /root/madwifi-ng/net80211/wlan_acl.o
  LD [M]  /root/madwifi-ng/net80211/wlan_xauth.o
  LD [M]  /root/madwifi-ng/net80211/wlan_scan_sta.o
  LD [M]  /root/madwifi-ng/net80211/wlan_scan_ap.o
  Building modules, stage 2.
  MODPOST
  CC      /root/madwifi-ng/net80211/wlan.mod.o
  LD [M]  /root/madwifi-ng/net80211/wlan.ko
  CC      /root/madwifi-ng/net80211/wlan_acl.mod.o
  LD [M]  /root/madwifi-ng/net80211/wlan_acl.ko
  CC      /root/madwifi-ng/net80211/wlan_ccmp.mod.o
  LD [M]  /root/madwifi-ng/net80211/wlan_ccmp.ko
  CC      /root/madwifi-ng/net80211/wlan_scan_ap.mod.o
  LD [M]  /root/madwifi-ng/net80211/wlan_scan_ap.ko
  CC      /root/madwifi-ng/net80211/wlan_scan_sta.mod.o
  LD [M]  /root/madwifi-ng/net80211/wlan_scan_sta.ko
  CC      /root/madwifi-ng/net80211/wlan_tkip.mod.o
  LD [M]  /root/madwifi-ng/net80211/wlan_tkip.ko
  CC      /root/madwifi-ng/net80211/wlan_wep.mod.o
  LD [M]  /root/madwifi-ng/net80211/wlan_wep.ko
  CC      /root/madwifi-ng/net80211/wlan_xauth.mod.o
  LD [M]  /root/madwifi-ng/net80211/wlan_xauth.ko
make[2]: Leaving directory `/usr/src/kernel-source-2.6.8'
make[1]: Leaving directory `/root/madwifi-ng/net80211'
make[1]: Entering directory `/root/madwifi-ng/ath_rate/sample'
make -C /lib/modules/2.6.8-ouranos-/build SUBDIRS=/root/madwifi-ng/ath_rate/sample MODVERDIR=/root/madwifi-ng/ath_rate/sample/../../symbols modules
make[2]: Entering directory `/usr/src/kernel-source-2.6.8'
  CC [M]  /root/madwifi-ng/ath_rate/sample/sample.o
  LD [M]  /root/madwifi-ng/ath_rate/sample/ath_rate_sample.o
  Building modules, stage 2.
  MODPOST
  CC      /root/madwifi-ng/ath_rate/sample/ath_rate_sample.mod.o
  LD [M]  /root/madwifi-ng/ath_rate/sample/ath_rate_sample.ko
make[2]: Leaving directory `/usr/src/kernel-source-2.6.8'
make[1]: Leaving directory `/root/madwifi-ng/ath_rate/sample'
make[1]: Entering directory `/root/madwifi-ng/ath'
make -C /lib/modules/2.6.8-ouranos-/build SUBDIRS=/root/madwifi-ng/ath MODVERDIR=/root/madwifi-ng/ath/../symbols modules
make[2]: Entering directory `/usr/src/kernel-source-2.6.8'
  CC [M]  /root/madwifi-ng/ath/if_ath.o
/root/madwifi-ng/ath/if_ath.c: In function `ath_beacon_alloc':
/root/madwifi-ng/ath/if_ath.c:3751: warning: long long unsigned int format, uint64_t arg (arg 6)
/root/madwifi-ng/ath/if_ath.c: In function `ath_beacon_send':
/root/madwifi-ng/ath/if_ath.c:4067: warning: long long unsigned int format, u_int64_t arg (arg 4)
/root/madwifi-ng/ath/if_ath.c: In function `ath_beacon_config':
/root/madwifi-ng/ath/if_ath.c:4417: warning: long long unsigned int format, u_int64_t arg (arg 3)
/root/madwifi-ng/ath/if_ath.c: In function `ath_recv_mgmt':
/root/madwifi-ng/ath/if_ath.c:5318: warning: long long unsigned int format, u_int64_t arg (arg 3)
/root/madwifi-ng/ath/if_ath.c:5318: warning: long long unsigned int format, u_int64_t arg (arg 4)
make[3]: *** [/root/madwifi-ng/ath/if_ath.o] Error 1
make[2]: *** [_module_/root/madwifi-ng/ath] Error 2
make[2]: Leaving directory `/usr/src/kernel-source-2.6.8'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/madwifi-ng/ath'
make: *** [modules] Error 1

When i modify the code, i comment all party need long long (it's not important because is a debug message) i arrive to compile madwfi. BUt when i tried to load a module (ath_pci) i have this oops kernel:

May  9 23:58:45 localhost kernel: ath_hal: module license 'Proprietary' taints kernel.
May  9 23:58:45 localhost kernel: ath_hal: 0.9.16.16 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413, REGOPS_FUNC)
May  9 23:58:45 localhost kernel: wlan: 0.8.4.2 (svn 1545)
May  9 23:58:45 localhost kernel: ath_rate_sample: 1.2 (svn 1545)
May  9 23:58:47 localhost kernel: ath_pci: 0.9.4.5 (svn 1545)
May  9 23:58:47 localhost kernel: Unable to handle kernel paging request at virtual address 0000000004004000
May  9 23:58:47 localhost kernel: tsk->{mm,active_mm}->context = 0000000000000547
May  9 23:58:47 localhost kernel: tsk->{mm,active_mm}->pgd = fffff80025d01000
May  9 23:58:47 localhost kernel:               \|/ ____ \|/
May  9 23:58:47 localhost kernel:               "@'/ .. \`@"
May  9 23:58:47 localhost kernel:               /_| \__/ |_\
May  9 23:58:47 localhost kernel:                  \__U_/
May  9 23:58:47 localhost kernel: modprobe(4001): Oops [#1]
May  9 23:58:47 localhost kernel: TSTATE: 0000000911009607 TPC: 00000000021a8260 TNPC: 00000000021a8264 Y: 00000000    Tainted: P  
May  9 23:58:47 localhost kernel: TPC: <ath_hal_reg_read+0x20/0x80 [ath_hal]>
May  9 23:58:47 localhost kernel: g0: fffff800272f5120 g1: 0000000100000004 g2: 000001ff04000000 g3: 0000000000004004
May  9 23:58:47 localhost kernel: g4: fffff80026450bc0 g5: fffff80022792a84 g6: fffff800235dc000 g7: 0000000000502c00
May  9 23:58:47 localhost kernel: o0: fffff80022790000 o1: 0000000000004004 o2: 0000000000000002 o3: 0000000000000044
May  9 23:58:47 localhost kernel: o4: 0000000000000000 o5: 0000000000000010 sp: fffff800235de8a1 ret_pc: 00000000021bd16c
May  9 23:58:47 localhost kernel: RPC: <zz016d9d41+0x44/0x1f4 [ath_hal]>
May  9 23:58:47 localhost kernel: l0: 0000000000400400 l1: 0000000000000044 l2: fffff80027ec6010 l3: fffff80026873a00
May  9 23:58:47 localhost kernel: l4: 000000003cc93510 l5: 0000000000000008 l6: 000000000000000c l7: 0000000000000000
May  9 23:58:47 localhost kernel: i0: fffff80022790000 i1: 0000000000000001 i2: 0000000000000000 i3: fffff800205c147c
May  9 23:58:47 localhost kernel: i4: 0000000000000000 i5: 0000000000000000 i6: fffff800235dea31 i7: 00000000021bd354
May  9 23:58:47 localhost kernel: I7: <zz016e1251+0x38/0x80 [ath_hal]>
May  9 23:58:47 localhost kernel: Caller[00000000021bd354]: zz016e1251+0x38/0x80 [ath_hal]
May  9 23:58:47 localhost kernel: Caller[00000000021b9824]: zz0005b6b2+0x34/0x808 [ath_hal]
May  9 23:58:47 localhost kernel: Caller[00000000021a87e8]: ath_hal_attach+0x10c/0x198 [ath_hal]
May  9 23:58:47 localhost kernel: Caller[00000000021a8014]: _ath_hal_attach+0x14/0x80 [ath_hal]
May  9 23:58:47 localhost kernel: Caller[0000000002222298]: ath_attach+0x178/0x1320 [ath_pci]
May  9 23:58:47 localhost kernel: Caller[00000000022330ac]: ath_pci_probe+0x1ac/0x300 [ath_pci]
May  9 23:58:47 localhost kernel: Caller[00000000005198fc]: pci_device_probe_static+0x3c/0x80
May  9 23:58:47 localhost kernel: Caller[0000000000519964]: __pci_device_probe+0x24/0x60
May  9 23:58:47 localhost kernel: Caller[00000000005199bc]: pci_device_probe+0x1c/0x60
May  9 23:58:47 localhost kernel: Caller[000000000053c55c]: bus_match+0x3c/0x80
May  9 23:58:47 localhost kernel: Caller[000000000053c690]: driver_attach+0x50/0xa0
May  9 23:58:47 localhost kernel: Caller[000000000053cb10]: bus_add_driver+0x70/0xa0
May  9 23:58:47 localhost kernel: Caller[000000000053d000]: driver_register+0x20/0x40
May  9 23:58:47 localhost kernel: Caller[0000000000519c8c]: pci_register_driver+0x4c/0x80
May  9 23:58:47 localhost kernel: Caller[0000000002240024]: init_ath_pci+0x24/0x80 [ath_pci]
May  9 23:58:47 localhost kernel: Caller[0000000000461860]: sys_init_module+0xe0/0x200
May  9 23:58:47 localhost kernel: Caller[0000000000411134]: linux_sparc_syscall32+0x34/0x40
May  9 23:58:47 localhost kernel: Caller[0000000000012758]: 0x12758
May  9 23:58:47 localhost kernel: Instruction DUMP: 18480010  87326000  c458a020 <c2008003> c223a8bb  83306018  c40ba8bc  ca0ba8bd  8528a008 

Thanks for your help

Attachments

Change History

05/10/06 06:04:36 changed by dyqith

Can you resubmit the summary stuff, while doing a preview first this time ?

05/10/06 06:33:50 changed by mrenzmann

  • description changed.

05/10/06 06:34:21 changed by mrenzmann

Not needed, I've adjusted the initial ticket text.

05/10/06 06:57:37 changed by dyqith

Looks like its same as ticket http://madwifi.org/ticket/493

05/10/06 09:41:14 changed by mrenzmann

  • status changed from new to closed.
  • resolution set to duplicate.

I agree, seems to be a duplicate of #493.

@original reporter: Please review ticket #493 and add probably missing information there. Thanks.


Add/Change #608 (Madwifi on sparc64 (sun blade100 with netgear wg311T) error + oops kernel)