PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : wlan treiber, nix funzen unter 64-bit :-(



helpless
25-10-2005, 17:32
hi ho
ich brauche eure hilfe. ich bekomme meine wlan karte unter slamd64 (slackware für 64-bit architektur) nicht kompiliert, bzw. kompiliert aber mit kernel panic.
mein chipsatz ist der zd1211. im moment bin ich in kontakt mit jd. des chipherstellers, der mir aber versicherte, die treiber würden auch unter linux x86_64 laufen. bei mir tut sich allerdings nichts.
erstmal, ich habe bisher 3 (versch. ?) treiber ausprobiert:
offizielle: www.zydas.com.tw (linux 2.2.0.0, sowie 2.0.0.0)
sourceforge: http://sourceforge.net/projects/zd1211 v20050822
???: http://zd1211.ath.cx/ zd1211-driver-r38.tgz

alle laufen auf meinem 32-bit slacky, aber nicht auf slamd64. wenn ich die offiziellen treibe benutze, bekomme ich compile errors

root@playground:/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0# uname -a
Linux playground 2.6.12.4 #1 Tue Oct 25 08:53:33 GMT+1 2005 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux
root@playground:/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0# make
make both
make[1]: Entering directory `/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0'
make clean
make[2]: Entering directory `/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0'
rm -rf .tmp_versions .*.cmd *.ko *.mod.c *.mod.o *.o src/*.o src/.*.o.cmd menudbg apdbg
make[2]: Leaving directory `/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0'
make ZD1211REV_B=0
make[2]: Entering directory `/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0'
/lib/modules/2.6.12.4/build
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0
-I/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/include -fomit-frame-pointer -O2 -Wall -Wstrict-prototypes -pipe -DHOST_IF_USB -DAMAC -DGCCK -DOFDM -DHOSTAPD_SUPPORT -DUS
E_EP4_SET_REG -DDOWNLOADFIRMWARE -DfTX_GAIN_OFDM=0 -DfNEW_CODE_MAP=1 -DfWRITE_WORD_REG=1 -DfREAD_MUL_REG=1 -DENHANCE_RX=1 -DZDCONF_MENUDBG -DZDCONF_APDBG -DZD1211
src/zd1205.o src/zdasocsvc.o src/zdauthreq.o src/zdauthrsp.o src/zdmmrx.o src/zdshared.o src/zdhci.o src/zdglobal.o src/zdencrypt.o src/zdpmfilter.o src/zdpsmon.o src/z
dsynch.o src/zdbuf.o src/zd1205_proc.o src/zdhw.o src/zddebug.o src/zdtkipseed.o src/zdmic.o src/zddebug2.o src/zdusb.o src/zd1211.o
make -C /lib/modules/2.6.12.4/build SUBDIRS=/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0 modules
make[3]: Entering directory `/usr/src/linux-2.6.12.4'
CC [M] /usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.o
In file included from /usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:42:
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.h:663: warning: `__packed__' attribute ignored
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:244: warning: function declaration isn't a prototype
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:245: warning: function declaration isn't a prototype
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:312: warning: useless keyword or type name in empty declaration
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:439: error: parse error before "write"
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:440: error: parse error before "read"
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:441: error: parse error before "open"
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:442: error: parse error before "close"
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:444: warning: return type defaults to `int'
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:444: warning: function declaration isn't a prototype
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c: In function `_syscall1':
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:444: error: parameter `dot11A_Channel' is initialized
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:444: warning: initialization makes pointer from integer without a cast
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:444: warning: excess elements in scalar initializer
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:444: warning: (near initialization for `dot11A_Channel')
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:444: warning: excess elements in scalar initializer
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:444: warning: (near initialization for `dot11A_Channel')
....
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:445: error: parameter `dot11A_Channel_Amount' is initialized
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:451: error: parameter `OfdmRateTbl' is initialized
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:453: warning: excess elements in scalar initializer
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:453: warning: (near initialization for `OfdmRateTbl')
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:454: warning: excess elements in scalar initializer
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:454: warning: (near initialization for `OfdmRateTbl')
......
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:500: error: storage class specified for parameter `a_InterpolationStruc'
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:502: warning: type defaults to `int' in declaration of `a_InterpolationStruc'
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:502: error: storage class specified for parameter `a_InterpolationStruc'
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:502: error: conflicting types for 'a_InterpolationStruc'
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:500: error: previous definition of 'a_InterpolationStruc' was here
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:502: error: parse error before "a_InterpolationTbl"
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:444: error: declaration for parameter "dot11A_Channel" but no such parameter
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:445: error: declaration for parameter "dot11A_Channel_Amount" but no such parameter
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:451: error: declaration for parameter "OfdmRateTbl" but no such parameter
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:467: error: declaration for parameter "OfdmRateTbl_11A" but no such parameter
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:484: error: declaration for parameter "a_ChannelMap" but no such parameter
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:500: error: declaration for parameter "a_InterpolationStruc" but no such parameter
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:502: error: declaration for parameter "a_InterpolationStruc" but no such parameter
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:504: warning: left-hand operand of comma expression has no effect
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:504: warning: left-hand operand of comma expression has no effect
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:504: warning: left-hand operand of comma expression has no effect
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:504: warning: left-hand operand of comma expression has no effect
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:504: error: parse error before '}' token
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c: In function `a_find_index_in_a_Interpolation_Data':
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:595: error: `a_InterpolationTbl' undeclared (first use in this function)
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:595: error: (Each undeclared identifier is reported only once
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:595: error: for each function it appears in.)
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c:595: warning: comparison is always false due to limited range of data type
/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.c: In function `a_get_interpolation_value':
.....
make[4]: *** [/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0/src/zd1205.o] Error 1
make[3]: *** [_module_/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0] Error 2
make[3]: Leaving directory `/usr/src/linux-2.6.12.4'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0'
make[1]: *** [both] Error 2
make[1]: Leaving directory `/usr/src/zydas_TRY/ZD1211LnxDrv_2_2_0_0'
make: *** [all] Error 2

die zeilen, wo es zum ersten mal zum error (s.o.) kommt, sind die folgenden


asmlinkage _syscall3(int,write,int,fd,const char *,buf,off_t,count)
asmlinkage _syscall3(int,read,int,fd,char *,buf,off_t,count)
asmlinkage _syscall3(int,open,const char *,file,int,flag,int,mode)
asmlinkage _syscall1(int,close,int,fd)


wenn ich die treiber von http://zd1211.ath.cx/ (in diesem fall) verwende, oder von sf, bekomme ich ne kernel panic beim aufruf von "ifconfig wlan0 up"

Oct 25 16:39:49 playground kernel: _____ ____ _ ____
Oct 25 16:39:49 playground kernel: |__ / _| _ \ / \ / ___|
Oct 25 16:39:49 playground kernel: / / | | | | | |/ _ \ \___ \
Oct 25 16:39:49 playground kernel: / /| |_| | |_| / ___ \ ___) |
Oct 25 16:39:49 playground kernel: /____\__, |____/_/ \_\____/
Oct 25 16:39:49 playground kernel: |___/
Oct 25 16:39:50 playground kernel: PA type: 0
Oct 25 16:39:50 playground kernel: AllowedChannel = 00011fff
Oct 25 16:39:50 playground kernel: Region:48
Oct 25 16:40:02 playground kernel: Kernel panic - not syncing: PCI-DMA: high address but no IOMMU.
Oct 25 16:40:02 playground kernel:
Oct 25 16:40:02 playground kernel: <1>Unable to handle kernel paging request at 000000001a23d700 RIP:
Oct 25 16:40:02 playground kernel: <ffffffff8807bb76>{:zd1211:zdcb_setup_next_send+1590}
Oct 25 16:40:02 playground kernel: PGD 19466067 PUD 18cda067 PMD 0
Oct 25 16:40:02 playground kernel: Oops: 0002 [1] PREEMPT
Oct 25 16:40:02 playground kernel: CPU 0
Oct 25 16:40:02 playground kernel: Modules linked in: zd1211 ov511 videodev uhci_hcd usbcore nls_iso8859_15 ntfs
Oct 25 16:40:02 playground kernel: Pid: 3, comm: events/0 Not tainted 2.6.12.4
Oct 25 16:40:02 playground kernel: RIP: 0010:[<ffffffff8807bb76>] <ffffffff8807bb76>{:zd1211:zdcb_setup_next_send+1590}
Oct 25 16:40:02 playground kernel: RSP: 0018:ffff81001ff19a58 EFLAGS: 00010046
Oct 25 16:40:02 playground kernel: RAX: 0000000000000000 RBX: 000000001a23d700 RCX: 0000000000000005
Oct 25 16:40:02 playground kernel: RDX: ffff8100190f10ac RSI: 0000000000000000 RDI: 000000001a23d700
Oct 25 16:40:02 playground kernel: RBP: ffff810018b00000 R08: 0000000000000000 R09: ffff81001ff10040
Oct 25 16:40:02 playground kernel: R10: 0000000000000000 R11: 0000000000000000 R12: 0000000000000003
Oct 25 16:40:02 playground kernel: R13: ffff8100159f6000 R14: ffff81001a238700 R15: 0000000000000000
Oct 25 16:40:02 playground kernel: FS: 00002aaaaadfbb00(0000) GS:ffffffff80428780(0000) knlGS:0000000000000000
Oct 25 16:40:02 playground kernel: CS: 0010 DS: 0018 ES: 0018 CR0: 000000008005003b
Oct 25 16:40:02 playground kernel: CR2: 000000001a23d700 CR3: 0000000019b4a000 CR4: 00000000000006e0
Oct 25 16:40:02 playground kernel: Process events/0 (pid: 3, threadinfo ffff81001ff18000, task ffff8100018e06d0)
Oct 25 16:40:02 playground kernel: Stack: ffff810018943ce0 0000000000000082 ffff810018943ce0 ffffffff801e3652
Oct 25 16:40:02 playground kernel: ffff810018b0121c 0000000000000000 0000000000000018 ffff81001ff19cf4
Oct 25 16:40:02 playground kernel: 0000000018943ce0 0000000800000052
Oct 25 16:40:02 playground kernel: Call Trace:<ffffffff801e3652>{kobject_get+18} <ffffffff801e3652>{kobject_get+18}
Oct 25 16:40:02 playground kernel: <ffffffff88085872>{:zd1211:TxSend+1970} <ffffffff880318ed>{:usbcore:hcd_submit_urb+1901}
Oct 25 16:40:02 playground kernel: <ffffffff80329006>{schedule_timeout+166} <ffffffff80328124>{thread_return+0}
Oct 25 16:40:02 playground kernel: <ffffffff8012dd00>{default_wake_function+0} <ffffffff80328124>{thread_return+0}
Oct 25 16:40:02 playground kernel: <ffffffff880862b0>{:zd1211:SendPkt+432} <ffffffff88092660>{:zd1211:kevent+0}
Oct 25 16:40:02 playground kernel: <ffffffff88080dcc>{:zd1211:sendMgtFrame+92} <ffffffff88087630>{:zd1211:ProbeReq+160}
Oct 25 16:40:02 playground kernel: <ffffffff880884c2>{:zd1211:UnLockPhyReg+34} <ffffffff88087977>{:zd1211:SynchEntry+55}
Oct 25 16:40:02 playground kernel: <ffffffff880832dc>{:zd1211:zd_SigProcess+44} <ffffffff88083400>{:zd1211:zd_ProbeReq+48}
Oct 25 16:40:02 playground kernel: <ffffffff8808348b>{:zd1211:zd_CmdProbeReq+123} <ffffffff88092660>{:zd1211:kevent+0}
Oct 25 16:40:02 playground kernel: <ffffffff88083dca>{:zd1211:zd_ConnectMon+90} <ffffffff88074249>{:zd1211:zd1205_connect_mon+9}
Oct 25 16:40:02 playground kernel: <ffffffff880926c4>{:zd1211:kevent+100} <ffffffff8014336d>{worker_thread+541}
Oct 25 16:40:02 playground kernel: <ffffffff8012dd00>{default_wake_function+0} <ffffffff8012dd00>{default_wake_function+0}
Oct 25 16:40:02 playground kernel: <ffffffff80143150>{worker_thread+0} <ffffffff80147d3d>{kthread+205}
Oct 25 16:40:02 playground kernel: <ffffffff8010f383>{child_rip+8} <ffffffff80147c70>{kthread+0}
Oct 25 16:40:02 playground kernel: <ffffffff8010f37b>{child_rip+0}
Oct 25 16:40:02 playground kernel:
Oct 25 16:40:02 playground kernel: Code: f3 48 ab 0f b6 85 32 55 00 00 44 38 e0 44 0f 42 e0 41 f6 c1
Oct 25 16:40:02 playground kernel: RIP <ffffffff8807bb76>{:zd1211:zdcb_setup_next_send+1590} RSP <ffff81001ff19a58>
Oct 25 16:40:02 playground kernel: CR2: 000000001a23d700
Oct 25 16:40:02 playground kernel: <6>note: events/0[3] exited with preempt_count 1
ich hoffe, ihr könnt mir irgendwie helfen ...
ich habe schon stunden damit verbracht zu googeln und habe keine lösung gefunden :(

ContainerDriver
26-10-2005, 17:28
Hallo.

Ich kann dir zwar nicht direkt helfen, aber du solltest es mal hier versuchen: http://www.linuxforen.de (wenn du das nicht schon getan hast). Dort erreichst du sicher noch mehr Leute.

Gruß, Florian

helpless
30-10-2005, 16:34
Das hat leider auch nichts gebracht ... :(