ubuntuusers.de

Nach Update kein wlan mehr

Status: Gelöst | Ubuntu-Version: Ubuntu 13.04 (Raring Ringtail)
Antworten |

sasala

(Themenstarter)

Anmeldungsdatum:
2. Juni 2012

Beiträge: 128

Kriege ich nicht hin,das ist zu kompliziert für mich

praseodym Team-Icon

Supporter
Avatar von praseodym

Anmeldungsdatum:
9. Februar 2009

Beiträge: 22105

Wohnort: ~

Ich bereite ein Installationspaket vor. Moment

praseodym Team-Icon

Supporter
Avatar von praseodym

Anmeldungsdatum:
9. Februar 2009

Beiträge: 22105

Wohnort: ~

Für 32bit und 64bit:

sudo apt-get install linux-headers-$(uname -r) linux-headers-generic build-essential 

Für 32bit mit PAE-Kernel:

sudo apt-get install linux-headers-$(uname -r) linux-headers-generic-pae build-essential 
wget http://media.cdn.ubuntu-de.org/forum/attachments/18/16/5561332-angepasster_DPO_RT3290_LinuxSTA_V2600_20120508.tar.gz
tar xvf 5561332-angepasster_DPO_RT3290_LinuxSTA_V2600_20120508.tar.gz
cd DPO_RT3290_LinuxSTA_V2600_20120508/
sudo make
sudo make install
sudo cp DPO_RT3290_LinuxSTA_V2600_20120508/common/rt3290.bin /lib/firmware 

Der kerneleigene Treiber rt2800pci muss gesperrt werden:

echo "blacklist rt2800pci" | sudo tee -a /etc/modprobe.d/blacklist.conf 

Neu starten.

Abfragen:

iwconfig
lsmod
sudo iwlist scan
dmesg | egrep 'rt2|rt3' 
angepasster_DPO_RT3290_LinuxSTA_V2600_20120508.tar.gz (910.6 KiB)
Download angepasster_DPO_RT3290_LinuxSTA_V2600_20120508.tar.gz

sasala

(Themenstarter)

Anmeldungsdatum:
2. Juni 2012

Beiträge: 128

Hmm schreibt diverse Fehler. Ich blackliste zuerst und versuche nochmal....

praseodym Team-Icon

Supporter
Avatar von praseodym

Anmeldungsdatum:
9. Februar 2009

Beiträge: 22105

Wohnort: ~

Ich habe die Anleitung oben korrigiert.

sasala

(Themenstarter)

Anmeldungsdatum:
2. Juni 2012

Beiträge: 128

~$ iwconfig
eth0      no wireless extensions.

lo        no wireless extensions.

uwe@uwe-Ideapad-S205:~$ lsmod
Module                  Size  Used by
parport_pc             28152  0 
ppdev                  17073  0 
bnep                   18036  2 
rfcomm                 42641  12 
snd_hda_codec_conexant    62000  1 
snd_hda_codec_hdmi     36913  1 
nls_iso8859_1          12713  1 
joydev                 17377  0 
acer_wmi               32467  0 
rts5139               352481  0 
uvcvideo               80847  0 
videobuf2_vmalloc      13056  1 uvcvideo
videobuf2_memops       13202  1 videobuf2_vmalloc
videobuf2_core         40513  1 uvcvideo
videodev              129260  2 uvcvideo,videobuf2_core
kvm_amd                59717  0 
snd_hda_intel          39619  3 
snd_hda_codec         136453  3 snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_hda_intel
ndiswrapper           283323  0 
snd_hwdep              13602  1 snd_hda_codec
ideapad_laptop         18394  0 
kvm                   443165  1 kvm_amd
snd_pcm                97451  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
sparse_keymap          13890  2 acer_wmi,ideapad_laptop
snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
snd_seq_midi           13324  0 
snd_seq_midi_event     14899  1 snd_seq_midi
snd_rawmidi            30180  1 snd_seq_midi
snd_seq                61554  2 snd_seq_midi_event,snd_seq_midi
radeon                937749  3 
snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              29425  2 snd_pcm,snd_seq
ttm                    83187  1 radeon
drm_kms_helper         49394  1 radeon
wmi                    19070  1 acer_wmi
mac_hid                13205  0 
video                  19390  1 acer_wmi
sp5100_tco             13735  0 
drm                   286313  5 ttm,drm_kms_helper,radeon
psmouse                95870  0 
snd                    68876  16 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_conexant,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device
i2c_algo_bit           13413  1 radeon
i2c_piix4              13266  0 
microcode              22881  0 
btusb                  22474  0 
serio_raw              13215  0 
bluetooth             228619  22 bnep,btusb,rfcomm
k10temp                13126  0 
soundcore              12680  1 snd
lp                     17759  0 
parport                46345  3 lp,ppdev,parport_pc
usb_storage            57204  0 
r8169                  67446  0 
ahci                   25731  3 
libahci                31364  1 ahci
uwe@uwe-Ideapad-S205:~$ sudo iwlist scan
[sudo] password for uwe: 
Sorry, try again.
[sudo] password for uwe: 
eth0      Interface doesn't support scanning.

lo        Interface doesn't support scanning.

Funktioniert nicht...

praseodym Team-Icon

Supporter
Avatar von praseodym

Anmeldungsdatum:
9. Februar 2009

Beiträge: 22105

Wohnort: ~

Warum ist Ndiswrapper installiert?

sudo modprobe -rfv ndiswrapper
sudo apt-get remove --purge ndisgtk ndiswrapper*
sudo modprobe -v rt3290sta

sasala

(Themenstarter)

Anmeldungsdatum:
2. Juni 2012

Beiträge: 128

Habs entfernt,alles nochmal...nichts. Ich denke mal ich werde 12.10 neu installieren und 13.4 vergessen.

praseodym Team-Icon

Supporter
Avatar von praseodym

Anmeldungsdatum:
9. Februar 2009

Beiträge: 22105

Wohnort: ~

Wenn es mit 12.10 nicht funktionieren sollte, dann kannst du den rt3290sta nochmal versuchen.

sasala

(Themenstarter)

Anmeldungsdatum:
2. Juni 2012

Beiträge: 128

Danke dir jedenfalls für die Mühe die du dir gegeben hast mit meinem Problemchen praseodym 👍 Vielen Dank!

sasala

(Themenstarter)

Anmeldungsdatum:
2. Juni 2012

Beiträge: 128

Teilweise Lösung zumindest für Lenovo S 205.....

Leider nicht so wie ich es mir vorgestellt habe 😕 . Nach Neuinstallation von 12.4 (12.10 verhält sich genauso) funktioniert wlan wieder einwandfrei. Unbedingt nötig ist wie hier im Forum schon mehrfach erwähnt die Änderung der Bootreihenfolge,also die wlan Karte vor Ubuntu. Das Gerät wird sofort beim Start erkannt und es läßt sich mit wenigen Klicks einrichten. Bei 13.04 läßt sich die Reihenfolge nicht ändern,der Lenovo S 205 startet dann nicht mehr. Bei 12.4 und 12.10 funktioniert das,ohne zusätzliche proprietäre Treiber oder Ähnliches. Einen Grund dafür hab ich leider nicht gefunden. Vielleicht hilft es ja jemanden und erspart ihm/ihr stundenlanges Experimentieren?

Fazit: 13.04 gut für andere Rechner aber nicht für Lenovo S 205 😀

praseodym Team-Icon

Supporter
Avatar von praseodym

Anmeldungsdatum:
9. Februar 2009

Beiträge: 22105

Wohnort: ~

Installation rt3290sta für frühere Kernel

Für 32bit und 64bit:

sudo apt-get install linux-headers-$(uname -r) linux-headers-generic build-essential dkms 

Für 32bit mit PAE-Kernel:

sudo apt-get install linux-headers-$(uname -r) linux-headers-generic-pae build-essential dkms 

Treiberinstallation

wget https://media-cdn.ubuntu-de.org/forum/attachments/29/20/5641297-Ralink_3290sta-2.6.0.0_dkms.tar.gz
sudo tar xvf 5641297-Ralink_3290sta-2.6.0.0_dkms.tar.gz -C /usr/src/
sudo dkms add -m Ralink_3290sta -v 2.6.0.0
sudo dkms build -m Ralink_3290sta -v 2.6.0.0
sudo dkms install -m Ralink_3290sta -v 2.6.0.0 

Firmware kopieren und Systemmodul rt2800pci sperren:

sudo cp /usr/src/Ralink_3290sta/src/common/rt3290.bin /lib/firmware 
echo "blacklist rt2800pci" | sudo tee -a /etc/modprobe.d/blacklist-rt2800pci.conf  

Rechner neu starten.

Deinstallation

Bei Bedarf Deinstallation durch:

sudo dkms remove -m Ralink_3290sta -v 2.6.0.0 --all
sudo rm -r /usr/src/Ralink_3290sta-2.6.0.0
sudo rm /etc/modprobe.d/blacklist-rt2800pci.conf  

Treiberinstallation rt3290sta für neuere Kernel (getestet bis 4.4.0-143)

sudo apt-get install linux-headers-$(uname -r) linux-headers-generic build-essential dkms
wget https://media-cdn.ubuntu-de.org/forum/attachments/06/23/5641297-RT3290_u16_v3.tar.gz
tar xvf 5641297-RT3290_u16_v3.tar.gz
cd RT3290_u16
tar xvf src.tar.gz
./compile.sh
sudo ./install.sh
sudo cp firmware/rt3290.bin /lib/firmware 
echo "blacklist rt2800pci" | sudo tee -a /etc/modprobe.d/blacklist-rt2800pci.conf  

Deinstallation

cd RT3290_u16
sudo ./uninstall.sh
sudo rm /etc/modprobe.d/blacklist-rt2800pci.conf  

Treiberinformationen:

filename:       /lib/modules/4.4.0-116-generic/kernel/drivers/net/wireless/rt3290sta.ko
version:        2.6.0.0_rev1
srcversion:     96CD86FDB670E3BFC172F9B
alias:          pci:v00001814d00003290sv*sd*bc*sc*i*
depends:        
vermagic:       4.4.0-116-generic SMP mod_unload modversions retpoline 
parm:           mac:rt28xx: wireless mac addr (charp)

Anleitung für Bluetooth-Treiber

sudo add-apt-repository ppa:blaze/rtbth-dkms
sudo apt-get update
sudo apt install dkms rtbth-dkms blueman
sudo modprobe -v rtbth 

Deinstallation

sudo apt-get remove --purge rtbth-dkms
sudo ppa-purge ppa:blaze/rtbth-dkms 

Weitere Informationen: WLAN/Ralink, Bluetooth, Blueman

Ralink_3290sta-2.6.0.0_dkms.tar.gz (904.3 KiB)
Download Ralink_3290sta-2.6.0.0_dkms.tar.gz
RT3290_u16_v3.tar.gz (931.9 KiB)
Download RT3290_u16_v3.tar.gz

ambulanzen

Anmeldungsdatum:
12. September 2013

Beiträge: 3

Thank you for the help. However, this does not compile for me. Any idea what might have gone wrong??

From /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/make.log:

make: Entering directory `/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src'
make -C tools
make[1]: Entering directory `/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/tools'
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/tools/bin2h
cp -f os/linux/Makefile.6 /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/Makefile
make -C /lib/modules/3.11.0-7-generic/build SUBDIRS=/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux modules
make[1]: Entering directory `/usr/src/linux-headers-3.11.0-7-generic'
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/crypt_md5.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/crypt_sha2.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/crypt_hmac.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/crypt_aes.o
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Wrap’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/crypt_aes.c:1466:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
      DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Wrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainTextLength));
      ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/crypt_aes.c: In function ‘AES_Key_Unwrap’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/crypt_aes.c:1561:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
      DBGPRINT(RT_DEBUG_ERROR, ("AES_Key_Unwrap: allocate %d bytes memory failure.\n", sizeof(UINT8)*PlainLength));
      ^
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/crypt_arc4.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/mlme.o
In file included from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/rtmp_os.h:42:0,
                 from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/rtmp_comm.h:56,
                 from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/rt_config.h:36,
                 from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/mlme.c:30:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/mlme.c: In function ‘MlmeResetRalinkCounters’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/mlme.c:529:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
       (UINT32)&pAd->RalinkCounters.OneSecEnd -
       ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/os/rt_linux.h:463:76: note: in definition of macro ‘NdisZeroMemory’
 #define NdisZeroMemory(Destination, Length)         memset(Destination, 0, Length)
                                                                            ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/mlme.c:530:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
       (UINT32)&pAd->RalinkCounters.OneSecStart);
       ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/os/rt_linux.h:463:76: note: in definition of macro ‘NdisZeroMemory’
 #define NdisZeroMemory(Destination, Length)         memset(Destination, 0, Length)
                                                                            ^
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/cmm_wep.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/action.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/cmm_data.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/rtmp_init.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/rtmp_init_inf.o
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/rtmp_init_inf.c: In function ‘rt28xx_init’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/rtmp_init_inf.c:162:3: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘ULONG’ [-Wformat=]
   DBGPRINT(RT_DEBUG_OFF,("PllCtrl:0x%x\n",PllCtrl.word));
   ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/rtmp_init_inf.c:178:10: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
          AUTO_WAKEUP_STRUC AutoWakeupCfg;
          ^
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/cmm_tkip.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/cmm_aes.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/cmm_sync.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/eeprom.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/cmm_sanity.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/cmm_info.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/cmm_cfg.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/cmm_wpa.o
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/cmm_wpa.c: In function ‘PeerPairMsg3Action’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/cmm_wpa.c:1032:13: warning: unused variable ‘Cancelled’ [-Wunused-variable]
  BOOLEAN    Cancelled;
             ^
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/cmm_radar.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/spectrum.o
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/spectrum.c: In function ‘PeerMeasureReportAction’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/spectrum.c:1972:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
   DBGPRINT(RT_DEBUG_ERROR, ("%s unable to alloc memory for measure report buffer (size=%d).\n", __FUNCTION__, sizeof(MEASURE_RPI_REPORT)));
   ^
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/rtmp_timer.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/rt_channel.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/cmm_profile.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/cmm_asic.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/cmm_cmd.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/ps.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/uapsd.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../rate_ctrl/ra_ctrl.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../rate_ctrl/alg_legacy.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../rate_ctrl/alg_ags.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_profile.o
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_profile.c: In function ‘STA_MonPktSend’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_profile.c:409:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=]
         DBGPRINT(RT_DEBUG_ERROR, ("%s : Size is too large! (%d)\n", __FUNCTION__, pRxBlk->DataSize + sizeof(wlan_ng_prism2_header)));
         ^
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rtmp_chip.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../sta/assoc.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../sta/auth.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../sta/auth_rsp.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../sta/sync.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../sta/sanity.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../sta/rtmp_data.o
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxDataFrame’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../sta/rtmp_data.c:283:17: warning: unused variable ‘pFmeCtrl’ [-Wunused-variable]
  FRAME_CONTROL *pFmeCtrl = &pHeader->FC;
                 ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../sta/rtmp_data.c:282:8: warning: unused variable ‘OldPwrMgmt’ [-Wunused-variable]
  UCHAR OldPwrMgmt = PWR_ACTIVE;
        ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../sta/rtmp_data.c: In function ‘STAHandleRxMgmtFrame’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../sta/rtmp_data.c:766:5: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
     UCHAR uRSSI2;
     ^
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../sta/connect.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../sta/wpa.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../sta/sta_cfg.o
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../sta/sta_cfg.c: In function ‘RTMPQueryInformation’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../sta/sta_cfg.c:3956:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
    DBGPRINT(RT_DEBUG_TRACE, ("sizeof UCHAR=%d, channel=%d \n", sizeof(UCHAR), pAd->CommonCfg.Channel));
    ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../sta/sta_cfg.c: In function ‘RtmpIoctl_rt_private_get_statistics’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../sta/sta_cfg.c:7220:1: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 3 has type ‘EEPROM_NIC_CONFIG3_STRUC’ [-Wformat=]
 sprintf(extra+strlen(extra), "pAd->NicConfig3.field.CoexAnt == 0x%x\n\n",pAd->NicConfig3);
 ^
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/rt_os_util.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/sta_ioctl.o
In file included from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/os/rt_linux.h:40:0,
                 from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/rtmp_os.h:42,
                 from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/rtmp_comm.h:56,
                 from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/sta_ioctl.c:33:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/sta_ioctl.c: In function ‘rt_ioctl_giwscan’:
include/net/iw_handler.h:554:9: warning: array subscript is below array bounds [-Warray-bounds]
   memcpy(stream + point_len, extra, iwe->u.data.length);
         ^
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_linux.o
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_linux.c: In function ‘duplicate_pkt’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_linux.c:508:3: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [enabled by default]
   NdisMoveMemory(skb->tail, pHeader802_3, HdrLen);
   ^
In file included from /usr/src/linux-headers-3.11.0-7-generic/arch/x86/include/asm/string.h:4:0,
                 from include/linux/string.h:17,
                 from include/linux/bitmap.h:8,
                 from include/linux/cpumask.h:11,
                 from /usr/src/linux-headers-3.11.0-7-generic/arch/x86/include/asm/cpumask.h:4,
                 from /usr/src/linux-headers-3.11.0-7-generic/arch/x86/include/asm/msr.h:10,
                 from /usr/src/linux-headers-3.11.0-7-generic/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-headers-3.11.0-7-generic/arch/x86/include/asm/thread_info.h:22,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/linux/stat.h:18,
                 from include/linux/module.h:10,
                 from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/os/rt_linux.h:18,
                 from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/rtmp_os.h:42,
                 from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/rtmp_comm.h:56,
                 from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_linux.c:35:
/usr/src/linux-headers-3.11.0-7-generic/arch/x86/include/asm/string_64.h:58:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
 void *memmove(void *dest, const void *src, size_t count);
       ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_linux.c:510:3: warning: passing argument 1 of ‘memmove’ makes pointer from integer without a cast [enabled by default]
   NdisMoveMemory(skb->tail, pData, DataSize);
   ^
In file included from /usr/src/linux-headers-3.11.0-7-generic/arch/x86/include/asm/string.h:4:0,
                 from include/linux/string.h:17,
                 from include/linux/bitmap.h:8,
                 from include/linux/cpumask.h:11,
                 from /usr/src/linux-headers-3.11.0-7-generic/arch/x86/include/asm/cpumask.h:4,
                 from /usr/src/linux-headers-3.11.0-7-generic/arch/x86/include/asm/msr.h:10,
                 from /usr/src/linux-headers-3.11.0-7-generic/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-headers-3.11.0-7-generic/arch/x86/include/asm/thread_info.h:22,
                 from include/linux/thread_info.h:54,
                 from include/linux/preempt.h:9,
                 from include/linux/spinlock.h:50,
                 from include/linux/seqlock.h:29,
                 from include/linux/time.h:5,
                 from include/linux/stat.h:18,
                 from include/linux/module.h:10,
                 from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/os/rt_linux.h:18,
                 from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/rtmp_os.h:42,
                 from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/rtmp_comm.h:56,
                 from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_linux.c:35:
/usr/src/linux-headers-3.11.0-7-generic/arch/x86/include/asm/string_64.h:58:7: note: expected ‘void *’ but argument is of type ‘sk_buff_data_t’
 void *memmove(void *dest, const void *src, size_t count);
       ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_linux.c: In function ‘ClonePacket’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_linux.c:662:20: warning: assignment makes integer from pointer without a cast [enabled by default]
   pClonedPkt->tail = pClonedPkt->data + pClonedPkt->len;
                    ^
In file included from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/rtmp_os.h:42:0,
                 from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/rtmp_comm.h:56,
                 from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_linux.c:35:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_linux.c: In function ‘RtmpOsPktInit’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/os/rt_linux.h:992:34: warning: assignment makes integer from pointer without a cast [enabled by default]
   ((RTPKT_TO_OSPKT(_pkt))->tail) = (PUCHAR)((_start) + (_len))
                                  ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_linux.c:681:2: note: in expansion of macro ‘SET_OS_PKT_DATATAIL’
  SET_OS_PKT_DATATAIL(pRxPkt, pData, DataSize);
  ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_linux.c: In function ‘wlan_802_11_to_802_3_packet’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_linux.c:708:15: warning: assignment makes integer from pointer without a cast [enabled by default]
  pOSPkt->tail = pOSPkt->data + pOSPkt->len;
               ^
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_main_dev.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/ba_action.o
In file included from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/rtmp_os.h:42:0,
                 from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/rtmp_comm.h:56,
                 from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/rt_config.h:36,
                 from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/ba_action.c:3:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/ba_action.c: In function ‘convert_reordering_packet_to_preAMSDU_or_802_3_packet’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/os/rt_linux.h:992:34: warning: assignment makes integer from pointer without a cast [enabled by default]
   ((RTPKT_TO_OSPKT(_pkt))->tail) = (PUCHAR)((_start) + (_len))
                                  ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/os/rt_linux.h:1035:2: note: in expansion of macro ‘SET_OS_PKT_DATATAIL’
  SET_OS_PKT_DATATAIL(__pRxPkt, __pData, __DataSize);      \
  ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/ba_action.c:1550:2: note: in expansion of macro ‘RTMP_OS_PKT_INIT’
  RTMP_OS_PKT_INIT(pRxBlk->pRxPacket,
  ^
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/rt_led.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/cmm_mac_pci.o
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/cmm_mac_pci.c: In function ‘RT28xxPciMlmeRadioOn’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/cmm_mac_pci.c:2245:13: warning: unused variable ‘Cancelled’ [-Wunused-variable]
  BOOLEAN    Cancelled;
             ^
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/cmm_data_pci.o
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/cmm_data_pci.c: In function ‘RTMPFreeTXDUponTxDmaDone’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/cmm_data_pci.c:543:8: warning: unused variable ‘TXWISize’ [-Wunused-variable]
  UINT8 TXWISize = pAd->chipCap.TXWISize;
        ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/cmm_data_pci.c: In function ‘RTMPHandleMgmtRingDmaDoneInterrupt’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/cmm_data_pci.c:738:8: warning: unused variable ‘TXWISize’ [-Wunused-variable]
  UINT8 TXWISize = pAd->chipCap.TXWISize;
        ^
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_rbus_pci_drv.o
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_rbus_pci_drv.c: In function ‘RTMPInitPCIeDevice’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_rbus_pci_drv.c:1349:22: warning: unused variable ‘Index’ [-Wunused-variable]
  UINT32 MacCsr0 = 0, Index= 0;
                      ^
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/rtmp_mcu.o
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/rtmp_mcu.c: In function ‘RtmpAsicSendCommandToMcu’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/rtmp_mcu.c:464:8: warning: unused variable ‘offset’ [-Wunused-variable]
  ULONG offset;
        ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/rtmp_mcu.c:463:8: warning: unused variable ‘Configuration’ [-Wunused-variable]
  ULONG Configuration;
        ^
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/ee_prom.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/ee_efuse.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../common/rt_rf.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt30xx.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.o
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c: In function ‘RT3290_AsicTxAlcGetAutoAgcOffset’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:1564:25: warning: assignment discards ‘const’ qualifier from pointer target type [enabled by default]
     pTxPowerTuningEntry = &(TxPowerTuningTable[TuningTableIndex + TX_POWER_TUNING_ENTRY_OFFSET]);
                         ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c: In function ‘MlmeAntSelection’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2489:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
    DBGPRINT(RT_DEBUG_TRACE,("AntS: AvgTxErrorRatio = %d , TxErrorRatio = %d, AccuTxTotalCnt = %d, Rssi = %d\n",AvgTxErrorRatio, TxErrorRatio, AccuTxTotalCnt, Rssi));
    ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2489:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2489:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ULONG’ [-Wformat=]
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2507:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
     DBGPRINT(RT_DEBUG_TRACE, ("AntS: Train State: AntennaDiversityCount = %d\n", pAd->AntennaDiversityInfo.AntennaDiversityCount));
     ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2522:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
     DBGPRINT(RT_DEBUG_TRACE,("AntS, Ant 0, Tx: %d, Rx: %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[0]));
     ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2522:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2523:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
     DBGPRINT(RT_DEBUG_TRACE,("AntS, Ant 1, Tx: %d, Rx: %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[1],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[1]));
     ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2523:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2526:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
     DBGPRINT(RT_DEBUG_TRACE,("AntS: Train State: PER[Main] = %d, PER[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityPER[0],pAd->AntennaDiversityInfo.AntennaDiversityPER[1])); 
     ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2526:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2527:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
     DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalTxCount[Main] = %d, TotalTxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[1])); 
     ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2527:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2528:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
     DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalRxCount[Main] = %d, TotalRxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[1])); 
     ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2528:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2545:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
      DBGPRINT(RT_DEBUG_TRACE,("AntS: AntSAuxDelta = %d, AntSRssiFactor = %d, AntSPERFactor = %d\n",
      ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2545:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2545:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘ULONG’ [-Wformat=]
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2559:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
         DBGPRINT(RT_DEBUG_TRACE,("AntS: Good Rssi is at Main !! ++%d\n",(diffRssi*Ant0TotalPacket/pAd->StaCfg.AntSRssiFactor))); 
         ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2565:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
         DBGPRINT(RT_DEBUG_TRACE,("AntS: Good Rssi is at Aux !!++%d\n",(diffRssi*Ant1TotalPacket/pAd->StaCfg.AntSRssiFactor))); 
         ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2574:8: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
        DBGPRINT(RT_DEBUG_TRACE,("AntS: Good PER is at Main !! ++%d\n", (diffPER*Ant0TotalPacket/pAd->StaCfg.AntSPERFactor))); 
        ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2581:8: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
        DBGPRINT(RT_DEBUG_TRACE,("AntS: Good PER is at Aux !! ++%d\n", (diffPER*Ant1TotalPacket/pAd->StaCfg.AntSPERFactor))); 
        ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2583:7: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
       DBGPRINT(RT_DEBUG_TRACE,("AntS: Delta Packet = %d,%d, diffRssi = %d, diffPER = %d\n",(diffRssi*Ant0TotalPacket/pAd->StaCfg.AntSRssiFactor),(diffPER*Ant1TotalPacket/pAd->StaCfg.AntSPERFactor),diffRssi, diffPER)); 
       ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2583:7: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2595:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
      DBGPRINT(RT_DEBUG_TRACE,("AntS: Stop Train State: PER[Main] = %d, PER[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityPER[0],pAd->AntennaDiversityInfo.AntennaDiversityPER[1])); 
      ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2595:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2596:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
      DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalTxCount[Main] = %d, TotalTxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityTxPacketCount[1])); 
      ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2596:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2597:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘ULONG’ [-Wformat=]
      DBGPRINT(RT_DEBUG_TRACE,("AntS: TotalRxCount[Main] = %d, TotalRxCount[Aux] = %d\n",pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[0],pAd->AntennaDiversityInfo.AntennaDiversityRxPacketCount[1])); 
      ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:2597:6: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c: In function ‘BtCoexSetting’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:3244:4: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘ULONG’ [-Wformat=]
    DBGPRINT(RT_DEBUG_TRACE, ("%s:COEX_MODE is active(Two Antenna Mode)!!! CoexMode = %d, BBPCurrentBW = %d, Rssi = %d, RfR49Value = 0x%x\n", 
    ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c: In function ‘Profile_TwoAnt’:
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../chips/rt3290.c:4097:2: warning: format ‘%x’ expects argument of type ‘unsigned int’, but argument 2 has type ‘CMB_CTRL_STRUC’ [-Wformat=]
  printk("cmbCtrl = %x\n",cmbCtrl);
  ^
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_pci_rbus.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/rt_rbus_pci_util.o
  CC [M]  /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/pci_main_dev.o
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/pci_main_dev.c:43:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_remove_one’
 static VOID __devexit rt2860_remove_one(struct pci_dev *pci_dev);
                       ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/pci_main_dev.c:44:22: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_probe’
 static INT __devinit rt2860_probe(struct pci_dev *pci_dev, const struct pci_device_id  *ent);
                      ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/pci_main_dev.c:63:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘__devinitdata’
 static struct pci_device_id rt2860_pci_tbl[] __devinitdata =
                                              ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/pci_main_dev.c:85:17: error: ‘rt2860_pci_tbl’ undeclared here (not in a function)
     id_table:   rt2860_pci_tbl,
                 ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/pci_main_dev.c:86:17: error: ‘rt2860_probe’ undeclared here (not in a function)
     probe:      rt2860_probe,
                 ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/pci_main_dev.c:88:5: error: implicit declaration of function ‘__devexit_p’ [-Werror=implicit-function-declaration]
     remove:     __devexit_p(rt2860_remove_one),
     ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/pci_main_dev.c:88:29: error: ‘rt2860_remove_one’ undeclared here (not in a function)
     remove:     __devexit_p(rt2860_remove_one),
                             ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/pci_main_dev.c:292:24: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_probe’
 static INT __devinit   rt2860_probe(
                        ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/pci_main_dev.c:463:23: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘rt2860_remove_one’
 static VOID __devexit rt2860_remove_one(
                       ^
In file included from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/os/rt_linux.h:18:0,
                 from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/rtmp_os.h:42,
                 from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/include/rtmp_comm.h:56,
                 from /var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/pci_main_dev.c:32:
include/linux/module.h:87:32: error: ‘__mod_pci_device_table’ aliased to undefined symbol ‘rt2860_pci_tbl’
 extern const struct gtype##_id __mod_##gtype##_table  \
                                ^
include/linux/module.h:140:3: note: in expansion of macro ‘MODULE_GENERIC_TABLE’
   MODULE_GENERIC_TABLE(type##_device,name)
   ^
/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/pci_main_dev.c:71:1: note: in expansion of macro ‘MODULE_DEVICE_TABLE’
 MODULE_DEVICE_TABLE(pci, rt2860_pci_tbl);
 ^
cc1: some warnings being treated as errors
make[2]: *** [/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux/../../os/linux/pci_main_dev.o] Error 1
make[1]: *** [_module_/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src/os/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-3.11.0-7-generic'
make: *** [LINUX] Error 2
make: Leaving directory `/var/lib/dkms/Ralink_3290sta/2.6.0.0/build/src'

*


Bearbeitet von Elektronenblitz63:

Syntax. For better readability please use codeboxes for the terminal output. Note therefore also Forum/Syntax

elektronenblitz63

Avatar von elektronenblitz63

Anmeldungsdatum:
16. Januar 2007

Beiträge: 29307

Wohnort: NRW

Hello,
the driver-package ist to old for the used 3.11.0-7-generic kernel (works with kernel 3.2 or 3.5). Use rt2800pci which is included in the kernel.

ambulanzen

Anmeldungsdatum:
12. September 2013

Beiträge: 3

This one gives me a very poor performance, unfortunately, with lots of package loss, weak signal and dropped connections frequently. When using Apple's Time Capsule as router, the connection drops already seconds after establishment, but with another WiFi router it works a little better.

I previously used 13.04 and with its kernel (3.8?), the driver-package compiled but led to the system becoming very unstable with occasional kernel panics. I wonder if my only options are downgrading to 12.04, which seems to work for some users, or to physically replacing the network card. I never should have bought a HP with this unsupported piece of sh* card in the first place, I suppose ☹

Any advice is highly appreciated..