LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Firefox failed to load module errors (https://www.linuxquestions.org/questions/linux-software-2/firefox-failed-to-load-module-errors-948913/)

EStyles 06-06-2012 07:54 PM

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.

business_kid 06-07-2012 03:17 PM

Are you using 32 bit firefox on a 64 bit box? Looks like it.

EStyles 06-07-2012 04:51 PM

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.

business_kid 06-08-2012 04:33 AM

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.

EStyles 06-08-2012 01:21 PM

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.

business_kid 06-08-2012 06:14 PM

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

EStyles 06-09-2012 12:53 AM

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)


business_kid 06-09-2012 08:47 AM

I don't know your distro.

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

ls -lh /var/log/*


All times are GMT -5. The time now is 09:28 PM.