Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 181984
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Roy Marples (RETIRED) <uberlord@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andi <wudmx@web.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
build.log build.log text/plain Thomas Cort (Arch Tester) 2007-07-10 22:59 0000 3.60 KB Details
rt2500-1.1.0_pre2007020911.ebuild rt2500/rt2500-1.1.0_pre2007020911.ebuild text/plain Ed Catmur 2007-07-15 12:35 0000 1.58 KB Details
2.6.22.patch 2.6.22.patch patch Ed Catmur 2007-07-15 12:36 0000 934 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 181984 depends on: Show dependency tree
Bug 181984 blocks: 184683
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-06-14 06:08 0000
Upgraded my system to use Kernel vanilla-sources 2.6.22-rc4, but now I can't
install rt2500.

 * checking rt2500-1.1.0_pre2007020911.tar.gz ;-) ...                          
                                     [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found sources for kernel version:
 *     2.6.22-rc4
 * Checking for suitable kernel configuration options...
 *   CONFIG_NET_RADIO:   is not set when it should be.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * Once you have satisfied these options, please try merging
 * this package again.


Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge rt2500

------- Comment #1 From Jakub Moc (RETIRED) 2007-06-14 07:02:52 0000 -------
This is *not* a Gentoo bugzilla product bug; read the descriptions please.

------- Comment #2 From Thomas Cort (Arch Tester) 2007-06-30 01:38:34 0000 -------
I also have this problem. I tried removing the CONFIG_NET_RADIO check from the
ebuild, but it still failed due to a compile error. I believe some kernel APIs
changed since 2007020911.

I used the latest CVS snapshot (2007062815) from the driver homepage (
http://rt2x00.serialmonkey.com ) and got it to compile. The module loads and I
can see an access point via RaConfig2500. I haven't done any further testing,
I'm away from home on vacation.

This bug should really be closed as a duplicate of Bug #181973 because the
"fix" to make the driver work with 2.6.22 is to do a version bump to a newer
CVS snapshot.

------- Comment #3 From Daniel Drake 2007-07-10 13:07:52 0000 -------
We need to fix this in the stable tree before 2.6.22 goes stable, so there may
not be enough time to add a new snapshot AND mark it stable. If someone wants
to post the compiler errors, I'll comment on how they can be fixed.

The CONFIG_CHECK situation can be fixed with something along these lines:
https://bugs.gentoo.org/attachment.cgi?id=124396&action=view

------- Comment #4 From Thomas Cort (Arch Tester) 2007-07-10 22:59:40 0000 -------
Created an attachment (id=124492) [details]
build.log

Here are the errors I got when I tried to build rt2500-1.1.0_pre2007020911
against vanilla sources 2.6.22.1

------- Comment #5 From Daniel Drake 2007-07-11 23:00:03 0000 -------
/var/tmp/portage/net-wireless/rt2500-1.1.0_pre2007020911/work/rt2500-cvs-2007020911/Module/rtmp_main.c:
In function 'rt2500_init_module':
/var/tmp/portage/net-wireless/rt2500-1.1.0_pre2007020911/work/rt2500-cvs-2007020911/Module/rtmp_main.c:1015:
warning: implicit declaration of function 'pci_module_init'

replace pci_module_init with pci_register_driver (unconditionally)

/var/tmp/portage/net-wireless/rt2500-1.1.0_pre2007020911/work/rt2500-cvs-2007020911/Module/rtmp_data.c:1201:
error: 'struct sk_buff' has no member named 'mac'

replace:

skb->mac.raw = skb->data;

with:

skb_reset_mac_header(skb)


Both changes are fine to apply unconditionally.

------- Comment #6 From Ed Catmur 2007-07-15 12:35:34 0000 -------
Created an attachment (id=124918) [details]
rt2500/rt2500-1.1.0_pre2007020911.ebuild

Ebuild with config change and patch

------- Comment #7 From Ed Catmur 2007-07-15 12:36:47 0000 -------
Created an attachment (id=124919) [details]
2.6.22.patch

Patch, as per dsd's above.

------- Comment #8 From Roy Marples (RETIRED) 2007-07-15 22:12:54 0000 -------
Fixed, thanks.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug