Gentoo Archives: gentoo-amd64

From: Beso <givemesugarr@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] Wireless Network adapter
Date: Tue, 02 Oct 2007 20:23:20
Message-Id: d257c3560710021312g69f5c5b5j14d88f91778c5133@mail.gmail.com
In Reply to: Re: [gentoo-amd64] Wireless Network adapter by Andrew Long
1 there is the at76c503 ebuild for the 0.17. you just have to unmask it in
2 /etc/package.keywords and then it compiles fine.
3 if you're not convinced try doing a ls -l
4 /usr/portage/net-wireless/at76c503a/ and see that there is the 0.17. if it's
5 not there just emerge --sync and update portage tree and have it installed.
6 it may have been added today cause i have synced before trying to install
7 it.
8
9 2007/10/2, Andrew Long <jandrewlong@×××××.com>:
10 >
11 > I downloaded version 0.17 from the at76c503a.berlios.de site, and it
12 > compiles and works properly. I was hoping to use the ebuild, so that
13 > it would be easier to update and recompile whenever I update the
14 > kernel, but it works, and that's the important part.
15 >
16 > Thanks for your help,
17 > Andrew Long
18 >
19 > On 10/2/07, Beso <givemesugarr@×××××.com> wrote:
20 > > i have managed to compile with no problems the at76c503-0.16 with
21 > > linux-2.6.22-r8 on amd64 and managed to load the module without problems
22 > > with modprobe. the problem as what i have seen may be due to the fact
23 > that
24 > > you didn't compile your new kernel in /usr/src/linux. if the kernel is
25 > not
26 > > compiled the module wouldn't compile fine.
27 > > switch to the 0.16 version and try to build it and see if it builds.
28 > > unfortunately i don't have a way to verify it cause i don't have any hw
29 > with
30 > > wich to try.
31 > >
32 > > 2007/10/2, Andrew Long < jandrewlong@×××××.com>:
33 > > > I'm trying to use a Linksys WUSB11 2.8 adapter to get wireless
34 > internet
35 > > > on my computer. In the past, (I think it was when I was using x86, I
36 > > > have since switched to amd64 on the same box) I was able to use the
37 > > > at76c503 ebuild to get the drivers installed. When I try to build it I
38 > > > get the following error:
39 > > >
40 > > >
41 > > > make -C /usr/src/linux
42 > > >
43 > > M=/var/tmp/portage/net-wireless/at76c503a-
44 > 0.14_beta1/work/at76_usb-0.14beta1
45 > > > KERNELRELEASE=2.6.22-gentoo-r8 modules
46 > > > make[1]: Entering directory `/usr/src/linux- 2.6.22-gentoo-r8'
47 > > > CC [M]
48 > > >
49 > > /var/tmp/portage/net-wireless/at76c503a-
50 > 0.14_beta1/work/at76_usb-0.14beta1/at76c503.o
51 > > > CC [M]
52 > > >
53 > > /var/tmp/portage/net-wireless/at76c503a-
54 > 0.14_beta1/work/at76_usb-0.14beta1/at76_usbdfu.o
55 > > >
56 > > /var/tmp/portage/net-wireless/at76c503a-
57 > 0.14_beta1/work/at76_usb-0.14beta1/at76c503.c:
58 > > > In function 'ieee80211_to_eth':
59 > > >
60 > > /var/tmp/portage/net-wireless/at76c503a-
61 > 0.14_beta1/work/at76_usb-0.14beta1/at76c503.c:3599:
62 > > > error: 'struct sk_buff' has no member named 'mac'
63 > > >
64 > > /var/tmp/portage/net-wireless/at76c503a-
65 > 0.14_beta1/work/at76_usb-0.14beta1/at76c503.c:
66 > > > In function 'ieee80211_fixup':
67 > > > /var/tmp/portage/net-wireless/at76c503a-
68 > > 0.14_beta1/work/at76_usb-0.14beta1/at76c503.c:3653:
69 > > > error: 'struct sk_buff' has no member named 'mac'
70 > > >
71 > > /var/tmp/portage/net-wireless/at76c503a-
72 > 0.14_beta1/work/at76_usb-0.14beta1/at76c503.c:
73 > > > In function 'check_for_rx_frags':
74 > > >
75 > > /var/tmp/portage/net-wireless/at76c503a-
76 > 0.14_beta1/work/at76_usb-0.14beta1/at76c503.c:3732:
77 > > > warning: format '%p' expects type 'void *', but argument 5 has type
78 > > > 'sk_buff_data_t'
79 > > > /var/tmp/portage/net-wireless/at76c503a-
80 > > 0.14_beta1/work/at76_usb-0.14beta1/at76c503.c:3732:
81 > > > warning: format '%p' expects type 'void *', but argument 6 has type
82 > > > 'sk_buff_data_t'
83 > > >
84 > > /var/tmp/portage/net-wireless/at76c503a-
85 > 0.14_beta1/work/at76_usb-0.14beta1/at76c503.c:3769:
86 > > > warning: format '%p' expects type 'void *', but argument 5 has type
87 > > > 'sk_buff_data_t'
88 > > >
89 > > /var/tmp/portage/net-wireless/at76c503a-
90 > 0.14_beta1/work/at76_usb-0.14beta1/at76c503.c:3769:
91 > > > warning: format '%p' expects type 'void *', but argument 6 has type
92 > > > 'sk_buff_data_t'
93 > > >
94 > > /var/tmp/portage/net-wireless/at76c503a-
95 > 0.14_beta1/work/at76_usb-0.14beta1/at76c503.c:
96 > > > In function 'rx_monitor_mode':
97 > > >
98 > > /var/tmp/portage/net-wireless/at76c503a-
99 > 0.14_beta1/work/at76_usb-0.14beta1/at76c503.c:4133:
100 > > > error: 'struct sk_buff' has no member named 'mac'
101 > > > make[2]: ***
102 > > >
103 > > [/var/tmp/portage/net-wireless/at76c503a-
104 > 0.14_beta1/work/at76_usb-0.14beta1/at76c503.o]
105 > > > Error 1
106 > > > make[2]: *** Waiting for unfinished jobs....
107 > > > make[1]: ***
108 > > >
109 > > [_module_/var/tmp/portage/net-wireless/at76c503a-
110 > 0.14_beta1/work/at76_usb-0.14beta1]
111 > > > Error 2
112 > > > make[1]: Leaving directory `/usr/src/linux-2.6.22-gentoo-r8'
113 > > > make: *** [modules] Error 2
114 > > > *
115 > > > * ERROR: net-wireless/at76c503a-0.14_beta1 failed.
116 > > > * Call stack:
117 > > > * ebuild.sh, line 1654: Called dyn_compile
118 > > > * ebuild.sh, line 990: Called qa_call 'src_compile'
119 > > > * ebuild.sh, line 44: Called src_compile
120 > > > * ebuild.sh, line 1334: Called linux-mod_src_compile
121 > > > * linux-mod.eclass, line 516: Called die
122 > > > *
123 > > > * Unable to make KERNEL_PATH=/usr/src/linux all.
124 > > > * If you need support, post the topmost build error, and the call
125 > stack
126 > > > if relevant.
127 > > > * A complete build log is located at
128 > > >
129 > > '/var/tmp/portage/net-wireless/at76c503a-0.14_beta1/temp/build.log'.
130 > > > *
131 > > >
132 > > >
133 > > >
134 > > > I've also tried using the atmel module in the kernel (2.6.22-gentoo-r8
135 > > > ), but something is not working right. When I plug in the device,
136 > dmesg
137 > > > shows this:
138 > > >
139 > > > usb 5-3.4: new full speed USB device using ehci_hcd and address 4
140 > > > usb 5-3.4: configuration #1 chosen from 1 choice
141 > > >
142 > > >
143 > > >
144 > > > Are any of you using this adapter? If so, were you able to use the
145 > > > ebuild to install the driver?
146 > > >
147 > > > Can you recommend another 802.11b adapter that works with amd64?
148 > > >
149 > > > I've also posted this at forums.gentoo.org, I'll reply to this if I
150 > get
151 > > > a solution there.
152 > > >
153 > > >
154 > > > Thanks,
155 > > > Andrew
156 > > >
157 > > > --
158 > > > gentoo-amd64@g.o mailing list
159 > > >
160 > > >
161 > >
162 > >
163 > >
164 > > --
165 > > dott. ing. beso
166 > --
167 > gentoo-amd64@g.o mailing list
168 >
169 >
170
171
172 --
173 dott. ing. beso