Re: problems running 2.6.20-rt5 and at76_usb
Dragan Noveski <[email protected]> Tue, 13 Feb 2007 15:23:37 +0100
| Newsgroups | gmane.linux.drivers.at76c503a.user |
|---|---|
| Message-ID | <[email protected]> |
Dragan Noveski wrote: > hi to the list! > > i have a problem here with just compiled linux-2.6.20-rt5 on debian testi= ng. > > well, the kernel is 2.6.20, the rt patch comes from: > > > http://people.redhat.com/mingo/realtime-preempt/older/ > > > with my last kernel 2.6.18 i also was using ingo molnars patches for = > realtime audio, everything was working fine. > for the network i am using here atmel-usb-addapter. > > ok, the problem is, that the latest source-code (at76_usb-0.14beta1) = > does not compile: > > nowhiskey@murija2:~/software/wlan/at76_usb-0.14beta1$ make > make -C /usr/src/linux-2.6.20 > M=3D/home/nowhiskey/software/wlan/at76_usb-0.14beta1 > KERNELRELEASE=3D2.6.20-rt5Centrino modules > make[1]: Entering directory `/usr/src/linux-2.6.20' > CC [M] /home/nowhiskey/software/wlan/at76_usb-0.14beta1/at76c503.o > /home/nowhiskey/software/wlan/at76_usb-0.14beta1/at76c503.c:21:26: error: > linux/config.h: Datei oder Verzeichnis nicht gefunden > /home/nowhiskey/software/wlan/at76_usb-0.14beta1/at76c503.c:6374:38: erro= r: > macro "INIT_WORK" passed 3 arguments, but takes just 2 > /home/nowhiskey/software/wlan/at76_usb-0.14beta1/at76c503.c: In function > 'alloc_new_device': > /home/nowhiskey/software/wlan/at76_usb-0.14beta1/at76c503.c:6374: error: > 'INIT_WORK' undeclared (first use in this function) > /home/nowhiskey/software/wlan/at76_usb-0.14beta1/at76c503.c:6374: error: > (Each undeclared identifier is reported only once > /home/nowhiskey/software/wlan/at76_usb-0.14beta1/at76c503.c:6374: error: = for > each function it appears in.) > make[2]: *** [/home/nowhiskey/software/wlan/at76_usb-0.14beta1/at76c503.o] > Fehler 1 > make[1]: *** [_module_/home/nowhiskey/software/wlan/at76_usb-0.14beta1] > Fehler 2 > make[1]: Leaving directory `/usr/src/linux-2.6.20' > make: *** [modules] Fehler 2 > nowhiskey@murija2:~/software/wlan/at76_usb-0.14beta1$ > > > in /ust/include/linux, there is a config.h file. > the link to the /usr/src/linux is correct, showing at the = > /usr/src/linux-2.6.20/arch/i383/boot/bzImage sourcetree. > > i tried already another solution, compiling the cvs-tarball = > (at76c503a-cvsroot.tar.gz), there compiling works good, but after = > starting the network, it works for short time, after that the console = > crashes showing: > > > Message from syslogd@localhost at Mon Feb 12 23:41:19 2007 ... > localhostlocalhostlocalhostlocalhostlocalhost kernel: [<c012750e>] > kthread+0x0/0xcakernel: [<c0103857>] kernel_thread_helper+0x7/0x10kernel: > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3Dkern= el: Code: 86 a0 07 00 00 0f af 86 a4 07 00 00 0f > b6 5f 01 0f af d8 a1 60 a3 3a c0 e8 05 4d e4 df 89 c2 89 d8 2b 96 a8 07 00 > 00 89 d1 31 d2 <f7> f1 88 46 66 a1 60 a3 3a c0 e8 e8 4c e4 df c7 86 a4 07= 00 > 00 kernel: EIP: [<e02d5fb7>] update_wstats+0x6c/0xb6 [at76_usb] SS:ESP > 0068:df681e3c > > > i am using this script to access the network: > > #!/bin/sh > iwconfig wlan0 mode ad-hoc essid olsr.freifunk.net channel 10 > ifconfig wlan0 104.130.30.9 > ifconfig wlan0 up > olsrd > > > it worked now good with other kernels. > > on the boot the module gets loaded and the firmware = > (at76_usb-firmware-0.1) too, but after the crash, i am not even able to = > rmmod "at76_usb", i am only able to do a hard reset! > > if you need more information on my system, please tell me that, but give = > me the instructions how i get the information out of my machine, = > because i am still a bloody noob and don=B4t know very much of = > linux-terminologies! > > > hope that someone can help me! > cheers, > doc > > _______________________________________________ > at76c503a-user mailing list > [email protected] > https://lists.berlios.de/mailman/listinfo/at76c503a-user > > = p.s. i don=B4t know if this additional information is useful, it comes = from dmesg: divide error: 0000 [#1] PREEMPT Modules linked in: thermal fan button processor ac battery snd_intel8x0m at76_usb uhci_hcd snd_intel8x0 snd_ac97_codec ac97_bus e100 ipw2200 ieee80211 ieee80211_crypt yenta_socket rsrc_nonstatic pcmcia_core i2c_i801 ide_cd cdrom snd_hdsp snd_pcm_oss snd_mixer_oss snd_pcm snd_page_alloc snd_hwdep snd_seq_dummy snd_seq_oss snd_seq_midi = snd_rawmidisnd_seq_midi_event snd_seq snd_timer snd_seq_device snd rtc CPU: 0 EIP: 0060:[<e025dfb7>] Not tainted VLI EFLAGS: 00010246 (2.6.20-rt5Centrino #1) EIP is at update_wstats+0x6c/0xb6 [at76_usb] eax: 00000000 ebx: 00000000 ecx: 00000000 edx: 00000000 esi: dea222c0 edi: dea22326 ebp: dc0d5000 esp: df681e3c ds: 007b es: 007b ss: 0068 preempt: 00000001 Process softirq-tasklet (pid: 8, ti=3Ddf681000 task=3Dc147f550 task.ti=3Ddf= 681000) Stack: dea224e8 00000080 dc0d500c e02607b7 00000001 00000000 00000006 df3bc740 de9d2d40 df425000 dedbcc00 c0124d19 dea222c0 de0046fc df6c61c0 00000002 00000002 e022a7a5 00000001 00000001 00000001 dc0d504d 00000000 00000021 Call Trace: [<e02607b7>] rx_mgmt+0x80/0x113a [at76_usb] [<c0124d19>] __queue_work+0x54/0x5e [<e022a7a5>] ipw_rx_queue_restock+0x8c/0xb9 [ipw2200] [<c011e357>] __get_nsec_offset+0xd/0x44 [<c01557d9>] __kmalloc+0x73/0x7e [<c02a9041>] __alloc_skb+0x4f/0xf6 [<e02600e1>] submit_rx_urb+0x1d6/0x26f [at76_usb] [<c01135c8>] __activate_task+0x1c/0x28 [<e02656d0>] rx_tasklet+0x10bc/0x1146 [at76_usb] [<c012767e>] autoremove_wake_function+0x15/0x35 [<c01132b4>] __wake_up_common+0x32/0x55 [<c0114c1a>] __wake_up+0x36/0x59 [<c011b390>] __tasklet_action+0xe2/0x121 [<c030d752>] schedule+0xe0/0xfa [<c011b79d>] ksoftirqd+0x0/0x14f [<c011b86d>] ksoftirqd+0xd0/0x14f [<c01275ae>] kthread+0xa0/0xca = [<c012750e>] kthread+0x0/0xca = [<c0103857>] kernel_thread_helper+0x7/0x10 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Code: 86 a0 07 00 00 0f af 86 a4 07 00 00 0f b6 5f 01 0f af d8 a1 60 c3 3a c0 e8 05 cd eb df 89 c2 89 d8 2b 96 a8 07 00 00 89 d1 31 d2 <f7> f1 88 46 66 a1 60 c3 3a c0 e8 e8 cc eb df c7 86 a4 07 00 00 EIP: [<e025dfb7>] update_wstats+0x6c/0xb6 [at76_usb] SS:ESP 0068:df681e3c <3>ipw2200: Failed to send SCAN_ABORT: Command timed out. ipw2200: Failed to send CARD_DISABLE: Command timed out. = ipw2200: Failed to send TX_POWER: Command timed out. ipw2200: Failed to send TX_POWER: Command timed out. ipw2200: Failed to send TX_POWER: Command timed out. /home/nowhiskey/software/wlan/at76c503a/at76c503.c: wlan0: lost beacon bssid 02:ca:ff:ee:ba:be ipw2200: Failed to send TX_POWER: Command timed out. ipw2200: Failed to send TX_POWER: Command timed out. ipw2200: Unable to initialize device after 5 attempts. ipw2200: Failed to up device nowhiskey@murija2:~$ = cheers, doc