LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.

Notices

Reply
 
Search this Thread
Old 07-24-2005, 01:19 PM   #1
ParticleHunter
Member
 
Registered: Apr 2004
Location: Malaga, Spain
Distribution: LFS
Posts: 129

Rep: Reputation: 15
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 )... 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

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 ),

Julio
 
Old 07-25-2005, 09:54 AM   #2
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
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 )... 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

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)
 
Old 07-25-2005, 10:05 AM   #3
ParticleHunter
Member
 
Registered: Apr 2004
Location: Malaga, Spain
Distribution: LFS
Posts: 129

Original Poster
Rep: Reputation: 15
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 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
 
Old 07-25-2005, 10:17 AM   #4
uberNUT69
Member
 
Registered: Jan 2005
Location: Tasmania
Distribution: Xen Debian Lenny/Sid
Posts: 578

Rep: Reputation: 30
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 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).
 
Old 07-26-2005, 03:58 AM   #5
ParticleHunter
Member
 
Registered: Apr 2004
Location: Malaga, Spain
Distribution: LFS
Posts: 129

Original Poster
Rep: Reputation: 15
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
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Computer novels worth reading - any suggestions? will103 General 4 08-31-2004 02:07 PM
'Invalid module format' loading simple module on Suse Linux Professional 9.1 rocketdude Linux - Distributions 3 07-27-2004 11:40 PM
Finding Module Dependencies...(Still loading...still loading..still loading..HANG!!!) Aeudian Linux - General 3 08-11-2003 03:31 PM
Finding Module Dependencies.....(still loading....Still loading....still loading) Aeudian Linux - Newbie 1 07-28-2003 02:27 PM
I/O errors when reading from SCSI CDROM. RamiRuhayel Linux - Hardware 2 02-02-2003 03:10 PM


All times are GMT -5. The time now is 03:46 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