LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-06-2012, 07:54 PM   #1
EStyles
Member
 
Registered: Jun 2012
Distribution: Kali 2.0, Arch
Posts: 39

Rep: Reputation: Disabled
Firefox failed to load module errors


First off, I am using Backtrack 5 R2 64 bit Gnome on a Dell Studio 1747.

So this isn't an issue that prevents Firefox from operating but I am wondering about these errors. Whenever I run firefox from command line I get this log:

root@bt:~# firefox
/usr/lib/gio/modules/libgioremote-volume-monitor.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgioremote-volume-monitor.so
/usr/lib/gio/modules/libgvfsdbus.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgvfsdbus.so
/usr/lib/gio/modules/libgiogconf.so: wrong ELF class: ELFCLASS64
Failed to load module: /usr/lib/gio/modules/libgiogconf.so

The research I've done suggests that not all of the ia32-libs are installed so I ran apt-get install ia32-libs from command line which gives me this log:

root@bt:~# apt-get install ia32-libs
Reading package lists... Done
Building dependency tree
Reading state information... Done
ia32-libs is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
2 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up fglrx (2:8.723.1-0ubuntu5) ...
update-alternatives: warning: forcing reinstallation of alternative /usr/lib/fglrx/ld.so.conf because link group gl_conf is broken.
update-initramfs: deferring update (trigger activated)
Removing old fglrx-8.723.1 DKMS files...

------------------------------
Deleting module version: 8.723.1
completely from the DKMS tree.
------------------------------
Done.
Loading new fglrx-8.723.1 DKMS files...
First Installation: checking all kernels...
Building only for 3.2.6
Building for architecture x86_64
Building initial module for 3.2.6

Error! Bad return status for module build on kernel: 3.2.6 (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/fglrx/8.723.1/build/ for more information.
dpkg: error processing fglrx (--configure):
subprocess installed post-installation script returned error exit status 10
dpkg: dependency problems prevent configuration of fglrx-amdcccle:
fglrx-amdcccle depends on fglrx; however:
Package fglrx is not configured yet.
dpkg: error processing fglrx-amdcccle (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Processing triggers for python-gmenu ...
Rebuilding /usr/share/applications/desktop.en_US.utf8.cache...
Processing triggers for initramfs-tools ...
update-initramfs: Generating /boot/initrd.img-3.2.6
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-1.fw for module r8169
Processing triggers for python-support ...
Errors were encountered while processing:
fglrx
fglrx-amdcccle
E: Sub-process /usr/bin/dpkg returned an error code (1)

I am unsure why it says that fglrx is not configured. I did install the ati-driver-installer-10-4-x86.x86_64.run driver via command line, (as System>Administration>Hardware drivers gave me the error: "SystemError: installArchives() failed") and it worked fine.

Also, if you know how I can fix the possible missing firmware errors, I would appreciate that as well. I have searched those errors but found nothing useful so far as fixing them.

Last edited by colucix; 06-07-2012 at 12:55 AM. Reason: Moderator note: removed the direct download link.
 
Old 06-07-2012, 03:17 PM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Are you using 32 bit firefox on a 64 bit box? Looks like it.
 
Old 06-07-2012, 04:51 PM   #3
EStyles
Member
 
Registered: Jun 2012
Distribution: Kali 2.0, Arch
Posts: 39

Original Poster
Rep: Reputation: Disabled
I am unsure. The firefox I'm using came with my OS when I downloaded and Help>About firefox doesn't give me much info.

Anyway, I solved the module issue apparently there are 3 lib folders (lib, lib32, and lib64), I checked each of the mentioned modules via readelf -h <modulename>. apparently the lib modules were ELFCLASS64 so I just copied the modules from lib32 (after verifying they were ELFCLASS32) into lib.

As for the fglrx issue (which I was also having on my desktops Radeon HD5850), I followed a suggestion I found on another forum: insert the live-dvd (or flashdrive)
in the grub press TAB to edit boot

you well see somthing like this file=/cdrom/preseed/ubuntu.seed boot=casper initrd=/casper/initrd.gz

add xforcevesa noapic noapci nosplash irqpoll -- after initrd.gz

This solved the issue for both my Mobility Radeon HD4650 and my Radeon HD5850.

As for the missing firmware issue, I ran lspci -vnn to determine exactly what Network Interface Chipset I had installed (RTL8111/8168b) and which driver it was using (8169). I then downloaded the correct driver from Realtek's Website and attempted to install it via command line but I kept getting an error saying that it couldn't execute the binary file. (Sorry I can't remember exactly what it said, but that's it in essence.) I tried a couple different download types, .tar and bzip2 and ran chmod +x <filename>, but it did not solve anything for me.

So I am still having the "missing firmware" issue but the others are solved. If anyone can help me with the firmware issue I would appreciate it. :-) On second thought, I will mark this as solved as my original question is solved.

Last edited by EStyles; 06-08-2012 at 12:04 AM.
 
Old 06-08-2012, 04:33 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
On the lib dirs, you should either have

1. /lib, /lib64 for 32 & 64 bit libs respectively.
2. /lib32, /lib for 32 & 64 bit libs respectively on Debian and offspring.

That of course is replicated in /usr/, /usr/local, & /opt
file is your man.

file *.so.* |grep 32 (or 64)

For the firmware, get the names from syslog. I notice an ATI binary blob. Some kernels did not ship ATI firmware (2 files). I have R600_rlc.bin & R700_rlc.bin if you need which I had to add separately.
 
Old 06-08-2012, 01:21 PM   #5
EStyles
Member
 
Registered: Jun 2012
Distribution: Kali 2.0, Arch
Posts: 39

Original Poster
Rep: Reputation: Disabled
I am assuming the error is because my computer is using the r8169 driver so it thinks that I should have 8169 firmware when I in fact have the 8168 hardware. I am now trying to get the 8168 drivers installed with no luck.
 
Old 06-08-2012, 06:14 PM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
check in /var/log/messages for the firmware requests

Quote:
grep firmware /var/log/messages |tail -n 25
If that doesn't show it, drop the |tail -n 25, and replace it with |less
 
Old 06-09-2012, 12:53 AM   #7
EStyles
Member
 
Registered: Jun 2012
Distribution: Kali 2.0, Arch
Posts: 39

Original Poster
Rep: Reputation: Disabled
grep firmware /var/log/messages |tail -n 25 did nothing.

Code:
root@bt:~# grep firmware /var/log/messages |tail -n 25 
root@bt:~#
grep firmware /var/log/messages |less gave me about the same:

Code:
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
~
(END)

Last edited by EStyles; 06-09-2012 at 01:06 AM.
 
Old 06-09-2012, 08:47 AM   #8
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,292

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
I don't know your distro.

In /var/log there some big files. Choose the biggest, and grep that

ls -lh /var/log/*
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Xorg -- (EE) Failed to load module "glx" (loader failed, 7) windowsrefugeeX Linux - Software 10 09-23-2009 05:51 PM
Failed to load module "ati" (module does not exist, after upgrad from Redhat 3 to 5. perrym8 Red Hat 2 07-24-2007 10:14 AM
xorg: Failed to load module... NullDevice23 Linux - Hardware 4 08-05-2006 09:01 AM
i810 module errors while load emcoder Linux - Hardware 2 06-20-2004 10:29 PM
(EE) Failed to load module error Seventh Linux - Newbie 8 02-23-2004 02:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:12 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration