LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   errors with automount, module loading and several ones worth the reading... (https://www.linuxquestions.org/questions/linux-from-scratch-13/errors-with-automount-module-loading-and-several-ones-worth-the-reading-346269/)

ParticleHunter 07-24-2005 01:19 PM

errors with automount, module loading and several ones worth the reading...
 
Hi,

I have encountered 6 problems in my LFS installation with XFree86 and GNOME 2.10.2, the errors are the following:

1. when I try to load the battery status applet, it shows me the following message:
Can't access ACPI events in /var/run/acpid.socket! Make sure the ACPI subsystem in working and the acpid daemon in running. I have, of course, ACPI support in the kernel (no APM, only ACPI as I read mixing AMP and ACPI is not a good idea) and I installed acpid-1.0.4, but I still get that error every time I log into GNOME and try to load the applet... how can I solve this problem?

2. as root user I can have access to all devices and folders in my system, but when I log into GNOME with my user, I can't access sound devices, when I try to run totem or rhythmbox, I get this error message: Could not access ALSA device "default". check its permissions. what files or devices must I change the permissions to have sound support? I have ALSA 1.0.9 and it works in my 'old' Ubuntu installation, but not on LFS :(

3. I compiled the IEEE 802.11 stack implementation, along with the Intel PRO/Wireless 2200BG driver for my wireless LAN miniPCI card, downloaded the firmware and put it in /lib/firmware (that's the directory /etc/hotplug/firmware.agent is pointing to) but in the boot sequence, it fails to load the firmware images... what can be happening? I'm using ieee80211-1.0.3 and ipw2200-1.0.6, along with ipw2200-fw-2.3... do I have to disable the option 'prevent firmware from being built' in the kernel configuration? or it's a problem of another kind?

4. in my 'old' Ubuntu partition I can mount/unmount my CD's and DVD's (an also my USB key) just plugging it and then right-clicking on it and selecting 'unmount', but in my GNOME installation I can't do it, I have to mount the CD as root to be able to access it with my regular user, and consequently, the right-clicking method doesn't work for me... I installed the autofs package thinking that would give me that ability, but... it doesn't seem to work, it doesn't show any error message at boot time, but I just insert a CD/DVD in the drive and I have to mount it by hand (very funny if you're playing root in console mode but definitely not worth the suffering as a regular used :D)... how can I fix this?

5. I have a integrated LAN ethernet device in my laptop, as you can easily imagine knowing that my laptop isn't from a well-known vendor like Dell or HP but a generic manufacturer like Clevo (very good equipment but hard to find drivers for it when I had windows installed for testing purposes), my Gigabit ethernet adapter is made by Marvell Corp. so it must work with the Marvell/SysKonnect driver in the kernel, but it doesn't work, and it's strange, as when I had my 64-bit machine (the one I told you about several months ago) I had a gigabit ethernet adapter from the same chip maker and I had no problem with the driver, but with my laptop I haven't been able to recognize it, in Ubuntu I can configure it, but in LFS it's like it isn't there... and the /etc/sysconfig/network-devices/ifconfig.eth0/ipv4 config file doesn't help me as the boot screen tells me insistently there's no eth0 device, but neither eth0 nor eth1 and so on... as my kernel is configured in a monolithic way (no modules configured from the kernel except the Intel PRO/Wireless 2200BG one I have told you two paragraphs above and the IEEE 802.11 stack) I can't run modprobe sk98lin or the insmod command. does anyone know how can I bring up that interface? I don't have use for it right now as I'm trying to make my wireless connection work, but I want it to be activated at least...

6. This is a nasty one... I have my XFree86 server installed and it works fine, but... when I want to just play an OpenGL game (Wolfenstein: Enemy Territory), it segfaults when logged in as my regular user, I don't have any problem if I log in with root user, but that's not funny, trust me :scratch:

In fact, I can't even run the glxinfo or glxgears test programs, it insists on showing me the segmentation fault error... maybe this is a problem with permissions? how can I fix this?

and the last question (not numbered because it will be probably the most 'stupid')... how can I dispose of the Trash, Home and Computer icons in my GNOME desktop? in my Ubuntu partition I don't have that icons shown, and I would like not to have (at least) the Trash icon, using the trash applet instead... how can I perform the 'trick'? ;)

Thanks in advance (and sorry for this long and boring-to-read post :D),

Julio

uberNUT69 07-25-2005 09:54 AM

Re: errors with automount, module loading and several ones worth the reading...
 
Quote:

Originally posted by ParticleHunter
Hi,

I have encountered 6 problems in my LFS installation with XFree86 and GNOME 2.10.2, the errors are the following:

Would that be 5 too many for one thread? :)
Quote:


2. as root user I can have access to all devices and folders in my system, but when I log into GNOME with my user, I can't access sound devices, when I try to run totem or rhythmbox, I get this error message: Could not access ALSA device "default". check its permissions. what files or devices must I change the permissions to have sound support? I have ALSA 1.0.9 and it works in my 'old' Ubuntu installation, but not on LFS :(

try http://www.linuxquestions.org/questi...44#post1676444
Quote:


4. in my 'old' Ubuntu partition I can mount/unmount my CD's and DVD's (an also my USB key) just plugging it and then right-clicking on it and selecting 'unmount', but in my GNOME installation I can't do it, I have to mount the CD as root to be able to access it with my regular user, and consequently, the right-clicking method doesn't work for me... I installed the autofs package thinking that would give me that ability, but... it doesn't seem to work, it doesn't show any error message at boot time, but I just insert a CD/DVD in the drive and I have to mount it by hand (very funny if you're playing root in console mode but definitely not worth the suffering as a regular used :D)... how can I fix this?

add 'user' to your options in fstab
eg.

/dev/hdd /media/cdrom0 udf,iso9660 ro,user,noauto 0 0

Quote:


6. This is a nasty one... I have my XFree86 server installed and it works fine, but... when I want to just play an OpenGL game (Wolfenstein: Enemy Territory), it segfaults when logged in as my regular user, I don't have any problem if I log in with root user, but that's not funny, trust me :scratch:

In fact, I can't even run the glxinfo or glxgears test programs, it insists on showing me the segmentation fault error... maybe this is a problem with permissions? how can I fix this?

Get OpenGL running ...
... hard to give a generic answer. Which card?
Quote:


and the last question (not numbered because it will be probably the most 'stupid')... how can I dispose of the Trash, Home and Computer icons in my GNOME desktop? in my Ubuntu partition I don't have that icons shown, and I would like not to have (at least) the Trash icon, using the trash applet instead... how can I perform the 'trick'? ;)

Isn' t that 7? ;) (I lost count)

ParticleHunter 07-25-2005 10:05 AM

Hi uberNUT69,

thanks for the very valuable advices on sound and fstab ;)

my graphics card is an integrated i915 mobile graphics adapter, to be concrete the new Intel GMA900 graphics chip, very good performer although no hardware T&L :scratch: but very nice to play with Wolfenstein: Enemy Territory and TrueCombat: Elite

the fact is I managed to compile it correctly (the only thing I had to change was a variable called GlxBuiltInI915 YES... I thought it was designed to built OpenGL support inside the i915 driver, but as I get hardware acceleration without that option, there's no problem (XFree86 insintently crashed in compilation with that variable defined, so... I won't mess with it as long as I can get it working for me as regular user, but I just can't do it...)

Julio

uberNUT69 07-25-2005 10:17 AM

Quote:

Originally posted by ParticleHunter
Hi uberNUT69,

thanks for the very valuable advices on sound and fstab ;)

glad I could help :)
Quote:


my graphics card is an integrated i915 mobile graphics adapter, to be concrete the new Intel GMA900 graphics chip, very good performer although no hardware T&L :scratch: but very nice to play with Wolfenstein: Enemy Territory and TrueCombat: Elite

the fact is I managed to compile it correctly (the only thing I had to change was a variable called GlxBuiltInI915 YES... I thought it was designed to built OpenGL support inside the i915 driver, but as I get hardware acceleration without that option, there's no problem (XFree86 insintently crashed in compilation with that variable defined, so... I won't mess with it as long as I can get it working for me as regular user, but I just can't do it...)

From my current system:

grep accel /var/log/XFree86.0.log
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
^^^ I suspect you are referring to this, which is only 2D

# grep 3D /var/log/XFree86.0.log
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
^^^ this is not enough by itself, either

# grep glx /var/log/XFree86.0.log
(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
^^^ this is what you need

and probably mesa too (I think).

ParticleHunter 07-26-2005 03:58 AM

Hi,

No... module loading is correct, I mean... I can gain hardware acceleration as root playing ET or TrueCombat or, in a more general use, have hardware accelerated OpenGL for rendering, but as root, I can't even run glxinfo as user because it displays something like this (don't remember the exact phrase as I'm not at home right now...):


Display- 0:0
Segmentation fault


I've tried to add my user to the group video, but the trick isn't working, but as the XFree86 compilation didn't gave me any error, everything is supposed to be fine in the 'compilation' sense of the word, it's just... it's like I have no permissions to use GLX or, in general, the XFree86 binaries... maybe I have to set the user PATH variable point to its regular locations plus the /usr/X11R6/bin directory? I don't remember if I have it in my user path...

anyway, I'll try to post the error and the XFree86.0.log for you to be able to see if something's going wrong

Thanks ;),

Julio


All times are GMT -5. The time now is 07:19 PM.