Opened 8 years ago

Closed 8 years ago

Last modified 4 years ago

#6538 closed defect (fixed)

compat-wireless-2010-01-15, rt2x00 issues

Reported by: nzkbuk@… Owned by: claudio
Priority: normal Milestone: Barrier Breaker 14.07
Component: kernel Version: Trunk
Keywords: rt2860 rt2x00 Cc:


I'm trying to compile an image for the Buffalo WHR-G300N.

It has a rt2860 wireless chip.
buildroot -> make menuconfig -> "Kernel modules" -> "Wireless Drivers" -> "kmod-rt2800-pci............. Ralink Drivers for RT2x00 cards (RT2860 PCI)"

It fails to compile.

CC [M] path/whr-g300n/build_dir/linux-ramips_rt305x/compat-wireless-2010-01-15/drivers/net/wireless/rt2x00/rt2x00pci.o

path/whr-g300n/build_dir/linux-ramips_rt305x/compat-wireless-2010-01-15/drivers/net/wireless/rt2x00/rt2x00pci.c: In function 'rt2x00pci_probe':

path/whr-g300n/build_dir/linux-ramips_rt305x/compat-wireless-2010-01-15/drivers/net/wireless/rt2x00/rt2x00pci.c:291: error: implicit declaration of function 'pci_set_mwi'

make[8]: * [path/whr-g300n/build_dir/linux-ramips_rt305x/compat-wireless-2010-01-15/drivers/net/wireless/rt2x00/rt2x00pci.o] Error 1

comment out the offending lines

--- build_dir/linux-ramips_rt305x/compat-wireless-2010-01-15/drivers/net/wireless/rt2x00/rt2x00pci.c

+++ build_dir/linux-ramips_rt305x/compat-wireless-2010-01-15/drivers/net/wireless/rt2x00/rt2x00pci.c

@@ -288,8 +288,10 @@



if (pci_set_mwi(pci_dev))

ERROR_PROBE("MWI not available.\n");


if (dma_set_mask(&pci_dev->dev, DMA_BIT_MASK(32))) {

ERROR_PROBE("PCI DMA not supported.\n");

Just gives a later error. rt2x00lib.ko hasn't been compiled

cp -fpR -L path/whr-g300n/build_dir/linux-ramips_rt305x/compat-wireless-2010-01-15/drivers/net/wireless/rt2x00/rt2x00lib.ko path/whr-g300n/build_dir/linux-ramips_rt305x/compat-wireless-2010-01-15/ipkg-ramips/kmod-rt2x00-lib/lib/modules/

cp: cannot stat `path/whr-g300n/build_dir/linux-ramips_rt305x/compat-wireless-2010-01-15/drivers/net/wireless/rt2x00/rt2x00lib.ko': No such file or directory

It also appears (from the forums) that other people are having problems with the rt2860 wireless chip.

Attachments (0)

Change History (3)

comment:1 Changed 8 years ago by claudio

  • Owner changed from developers to claudio
  • Status changed from new to accepted

comment:2 Changed 8 years ago by claudio

  • Resolution set to fixed
  • Status changed from accepted to closed

fixed in r21850

comment:3 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

as closed .
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.