LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
LinkBack Search this Thread
Old 04-02-2013, 07:17 AM   #1
imu96
LQ Newbie
 
Registered: Aug 2012
Posts: 9

Rep: Reputation: 0
Failed to load kernel modules on arch after "pacman -Syu"


To find out what is wrong I tried sudo systemctl --failed and found:

Code:
  UNIT                         LOAD   ACTIVE SUB    DESCRIPTION
dhcpcd@enp3s0.service        loaded failed failed dhcpcd on enp3s0
systemd-modules-load.service loaded failed failed Load Kernel Modules

LOAD   = Reflects whether the unit definition was properly loaded.
ACTIVE = The high-level unit activation state, i.e. generalization of SUB.
SUB    = The low-level unit activation state, values depend on unit type.

2 loaded units listed.
To show all installed unit files use 'systemctl list-unit-files'.
How do I make it reload the failed modules. The dhcpcd one allows me to connect to the internet with NetworkManager and now that that is down, I can't even detect wireless connections.

The output of ls -al /etc/modules-load.d/ is:

Code:
 total 12
drwxr-xr-x  2 root root 4096 Mar  1 00:18 .
drwxr-xr-x 75 root root 4096 Mar 29 21:16 ..
-rw-r--r--  1 root root   10 Mar  1 00:18 3090.conf
Output of cat /etc/modules-load.d/3090.conf is:

Code:
 rt3090sta
 
Old 04-02-2013, 01:32 PM   #2
imu96
LQ Newbie
 
Registered: Aug 2012
Posts: 9

Original Poster
Rep: Reputation: 0
Just to clarify for non-arch users: "pacman -Syu" is the command for a system update since arch is a rolling release system. In other words, the problems started after a system update.
 
Old 04-02-2013, 03:16 PM   #3
Stupendoussteve
LQ Newbie
 
Registered: Mar 2013
Location: PDX, OR
Distribution: Arch, Debian, Fedora, Mint, CentOS, FreeBSD, OS X
Posts: 16

Rep: Reputation: 3
What was updated? You can check in /var/log/pacman.log.

You could try manually starting systemd-modules-load and seeing if it fails. If so, you probably want to check the end of the systemd log with something like journalctl -b -u systemd-modules-load, or journalctl -e.

Last edited by Stupendoussteve; 04-02-2013 at 03:23 PM.
 
Old 04-02-2013, 03:57 PM   #4
imu96
LQ Newbie
 
Registered: Aug 2012
Posts: 9

Original Poster
Rep: Reputation: 0
Okay. So the problem has simplified a bit. I was able to make the dhcpcd thing load and was able to figure out why the systemd thing isn't loading using journalctl -b _PID=.

The reason is because
Code:
 Failed to find module 'rt3090sta'
which is strange because it served as my wireless card driver for pre-update.

I then tried reinstalling the driver from the AUR and got

Code:
  ==> Making package: rt3090 2.4.0.4-1 (Tue Apr  2 23:08:28 AST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
  -> Downloading 2010_1217_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO.zip...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  972k  100  972k    0     0   170k      0  0:00:05  0:00:05 --:--:--  233k
  -> Found config.mk.new
  -> Found Makefile.new
==> Validating source files with md5sums...
    2010_1217_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO.zip ... Passed
    config.mk.new ... Passed
    Makefile.new ... Passed
==> Extracting Sources...
  -> Extracting 2010_1217_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO.zip with bsdtar
==> Starting build()...
make -C tools
make[1]: Entering directory `/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/tools'
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/tools/bin2h
cp -f os/linux/Makefile.6 /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/Makefile
make -C /lib/modules/3.8.4-1-ARCH/build SUBDIRS=/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux modules
make[1]: Entering directory `/usr/src/linux-3.8.4-1-ARCH'
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/crypt_md5.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/crypt_sha2.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/crypt_hmac.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/crypt_aes.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/crypt_arc4.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.o
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.c: In function 'MlmeResetRalinkCounters':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.c:870:2: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.c:870:2: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.c: In function 'BssTableSetEntry':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/mlme.c:5822:39: warning: operation on 'Tab->BssOverlapNr' may be undefined [-Wsequence-point]
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_wep.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/action.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_data.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_init.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_tkip.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_aes.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_sync.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/eeprom.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_sanity.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_info.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_cfg.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_wpa.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/dfs.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/spectrum.o
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/spectrum.c: In function 'PeerMeasureReportAction':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/spectrum.c:1966:3: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat]
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_timer.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rt_channel.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_profile.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_asic.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_cmd.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/assoc.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/auth.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/auth_rsp.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/sync.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/sanity.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/rtmp_data.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/connect.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/wpa.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/ags.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../sta/sta_cfg.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_init_inf.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_profile.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/sta_ioctl.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.o
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'duplicate_pkt':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:484:3: warning: passing argument 1 of 'memmove' makes pointer from integer without a cast [enabled by default]
In file included from /usr/src/linux-3.8.4-1-ARCH/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-3.8.4-1-ARCH/arch/x86/include/asm/cpumask.h:4,
                 from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/msr.h:10,
                 from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-3.8.4-1-ARCH/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 /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/os/rt_linux.h:31,
                 from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rtmp_os.h:32,
                 from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rt_config.h:62,
                 from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:28:
/usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/string_64.h:58:7: note: expected 'void *' but argument is of type 'sk_buff_data_t'
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:486:3: warning: passing argument 1 of 'memmove' makes pointer from integer without a cast [enabled by default]
In file included from /usr/src/linux-3.8.4-1-ARCH/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-3.8.4-1-ARCH/arch/x86/include/asm/cpumask.h:4,
                 from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/msr.h:10,
                 from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/processor.h:20,
                 from /usr/src/linux-3.8.4-1-ARCH/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 /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/os/rt_linux.h:31,
                 from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rtmp_os.h:32,
                 from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rt_config.h:62,
                 from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:28:
/usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/string_64.h:58:7: note: expected 'void *' but argument is of type 'sk_buff_data_t'
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'ClonePacket':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:636:23: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'update_os_packet_info':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:658:15: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'wlan_802_11_to_802_3_packet':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:679:15: warning: assignment makes integer from pointer without a cast [enabled by default]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'send_monitor_packets':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:952:9: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long unsigned int' [-Wformat]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'RtmpOSNetDevDetach':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:1701:38: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c: In function 'RtmpOSNetDevAttach':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_linux.c:1738:38: warning: initialization discards 'const' qualifier from pointer target type [enabled by default]
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_main_dev.o
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_main_dev.c: In function 'MainVirtualIF_close':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_main_dev.c:121:13: warning: unused variable 'Cancelled' [-Wunused-variable]
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/ba_action.o
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/ba_action.c: In function 'convert_reordering_packet_to_preAMSDU_or_802_3_packet':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/ba_action.c:1568:2: warning: assignment makes integer from pointer without a cast [enabled by default]
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_mac_pci.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/cmm_data_pci.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/ee_prom.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/ee_efuse.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.o
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.c: In function 'RtmpAsicLoadFirmware':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.c:352:2: warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.c:355:2: warning: passing argument 1 of 'writel' makes integer from pointer without a cast [enabled by default]
In file included from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/realmode.h:5:0,
                 from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/acpi.h:32,
                 from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/fixmap.h:19,
                 from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/apic.h:12,
                 from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/smp.h:13,
                 from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/mmzone_64.h:10,
                 from /usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/mmzone.h:4,
                 from include/linux/mmzone.h:909,
                 from include/linux/gfp.h:4,
                 from include/linux/kmod.h:22,
                 from include/linux/module.h:13,
                 from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/os/rt_linux.h:31,
                 from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rtmp_os.h:32,
                 from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/include/rt_config.h:62,
                 from /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.c:28:
/usr/src/linux-3.8.4-1-ARCH/arch/x86/include/asm/io.h:63:1: note: expected 'unsigned int' but argument is of type 'ULONG *'
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rtmp_mcu.c:356:2: warning: format '%d' expects argument of type 'int', but argument 2 has type 'ULONG' [-Wformat]
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../chips/rt30xx.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../common/rt_rf.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../chips/rt3090.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_pci_rbus.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/rt_rbus_pci_util.o
  CC [M]  /home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.o
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:37:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rt2860_remove_one'
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:38:22: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rt2860_probe'
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:60:46: error: expected '=', ',', ';', 'asm' or '__attribute__' before '__devinitdata'
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:87:17: error: 'rt2860_pci_tbl' undeclared here (not in a function)
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:88:17: error: 'rt2860_probe' undeclared here (not in a function)
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:90:5: error: implicit declaration of function '__devexit_p' [-Werror=implicit-function-declaration]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:90:29: error: 'rt2860_remove_one' undeclared here (not in a function)
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:283:24: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rt2860_probe'
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:449:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'rt2860_remove_one'
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c: In function 'RTMPrt3xSetPCIePowerLinkCtrl':
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:941:2: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ULONG' [-Wformat]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:974:5: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ULONG' [-Wformat]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:986:5: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ULONG' [-Wformat]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:949:11: warning: unused variable 'vendor_id' [-Wunused-variable]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:1000:2: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'ULONG' [-Wformat]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:1027:3: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'ULONG' [-Wformat]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:934:8: warning: unused variable 'offset' [-Wunused-variable]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:933:8: warning: unused variable 'Vendor' [-Wunused-variable]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c: At top level:
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:514:14: warning: 'RTMPInitPCIeDevice' defined but not used [-Wunused-function]
/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.c:73:1: error: '__mod_pci_device_table' aliased to undefined symbol 'rt2860_pci_tbl'
cc1: some warnings being treated as errors
make[2]: *** [/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux/../../os/linux/pci_main_dev.o] Error 1
make[1]: *** [_module_/home/imran/Downloads/rt3090/src/20101216_RT3090_LinuxSTA_V2.4.0.4_WiFiBTCombo_DPO/os/linux] Error 2
make[1]: Leaving directory `/usr/src/linux-3.8.4-1-ARCH'
make: *** [LINUX] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
and now once again I am stuck as I have no idea how to get makepkg to build the driver's package.
 
Old 04-03-2013, 12:36 AM   #5
Stupendoussteve
LQ Newbie
 
Registered: Mar 2013
Location: PDX, OR
Distribution: Arch, Debian, Fedora, Mint, CentOS, FreeBSD, OS X
Posts: 16

Rep: Reputation: 3
Lots of this stuff, should give a hint: In file included from /usr/src/linux-3.8.4-1-ARCH...

The package is meant to compile against your kernel. It sounds like the package may not be compatible with your version, or it may just be a patch or fix that needs to be applied. The actual driver has not been updated since 2010, so it is not surprising that a kernel update might break it three years later.

I would add a comment to the package in AUR to let the author know the issue you're running into, along with your kernel version.
 
1 members found this post helpful.
Old 04-03-2013, 06:24 AM   #6
imu96
LQ Newbie
 
Registered: Aug 2012
Posts: 9

Original Poster
Rep: Reputation: 0
I left a comment on the driver's AUR page but I can't shake the feeling that I might not get a response.

I did some googling and found that the rt2860 driver should work with my wireless card as well, and so I tried installing that. This time I got a completely different error which has nothing to do with the kernel. The problem might actually be easier to solve than the rt3090 problem. Here is the output when I try to build the rt2860 driver:

Code:
 ==> Making package: rt2860 2.4.0.0-2 (Wed Apr  3 14:12:44 AST 2013)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving Sources...
  -> Downloading 2010_07_16_RT2860_Linux_STA_v2.4.0.0.tar.bz2...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:--  0:00:05 --:--:--     0
curl: (22) The requested URL returned error: 404 NOT FOUND
==> ERROR: Failure while downloading 2010_07_16_RT2860_Linux_STA_v2.4.0.0.tar.bz2
    Aborting...
 
Old 04-03-2013, 10:54 PM   #7
Stupendoussteve
LQ Newbie
 
Registered: Mar 2013
Location: PDX, OR
Distribution: Arch, Debian, Fedora, Mint, CentOS, FreeBSD, OS X
Posts: 16

Rep: Reputation: 3
404 NOT FOUND

It's trying to download a file, but the URL is wrong - it's probably changed. You could try downloading the file manually and putting it into the work directory, or updating the url in the pkgbuild.
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where can I get more "sources" for my apt-get thing and my arch pacman? Master_CAPS Linux - Newbie 1 10-19-2012 11:53 PM
[SOLVED] Arch 'pacman -Su' Error: "glibc: /lib exists in filesystem" ham bone Linux - Newbie 5 07-22-2012 09:40 PM
[SOLVED] Is there any way to "roll back" a pacman -Syu update?? MrCode Arch 4 10-08-2010 10:17 PM
"Failed Dependency error" while installing RPM for "DateTime" perl modules giridhargopal.cj Linux - Newbie 7 11-19-2008 12:05 AM
"dpkg -i ~oss-linux-4.0-1016_i386.deb"="Relinking the OSS kernel modules failed" bezdomny Linux - Software 2 07-26-2008 04:06 PM


All times are GMT -5. The time now is 01:35 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration