Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Update kernel: module problem [solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
198728
l33t
l33t


Joined: 08 Apr 2009
Posts: 693

PostPosted: Mon Oct 25, 2010 6:50 pm    Post subject: Update kernel: module problem [solved] Reply with quote

Hi, yesterday i`ve update the kernel and now a big problem with the modules.

Code:
X.Org X Server 1.7.7
Release Date: 2010-05-04
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.35-gentoo-r4 i686
Current Operating System: Linux H4ckmaniac 2.6.34-gentoo-r12 #1 SMP Fri Oct 22 17:25:11 CEST 2010 i686
Kernel command line: root=/dev/sda3 ahci.marvell_enable=0 mtrr:3,ywrap vga=4
Build Date: 11 October 2010  09:34:05PM
 
Current version of pixman: 0.18.2
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sun Oct 24 20:27:04 2010
(==) Using config file: "/etc/X11/xorg.conf"
(==) ServerLayout "Layout0"
(**) |-->Screen "Screen0" (0)
(**) |   |-->Monitor "Monitor0"
(==) No device specified for screen "Screen0".
   Using the first device section listed.
(**) |   |-->Device "Device0"
(**) |-->Input Device "Keyboard0"
(**) |-->Input Device "Mouse0"
(**) Option "Xinerama" "0"
(==) Automatically adding devices
(==) Automatically enabling devices
(==) FontPath set to:
   /usr/share/fonts/misc/,
   /usr/share/fonts/TTF/,
   /usr/share/fonts/OTF,
   /usr/share/fonts/Type1/,
   /usr/share/fonts/100dpi/,
   /usr/share/fonts/75dpi/
(==) ModulePath set to "/usr/lib/xorg/modules"
(WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
(WW) Disabling Keyboard0
(WW) Disabling Mouse0
(II) Loader magic: 0x81e7e40
(II) Module ABI versions:
   X.Org ANSI C Emulation: 0.4
   X.Org Video Driver: 6.0
   X.Org XInput driver : 7.0
   X.Org Server Extension : 2.0
(--) using VT number 7

(--) PCI:*(0:1:0:0) 10de:0ca3:1682:3002 nVidia Corporation rev 162, Mem @ 0xfd000000/16777216, 0xd0000000/268435456, 0xce000000/33554432, I/O @ 0x00009c00/128, BIOS @ 0x????????/524288
(WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
(II) LoadModule: "extmod"
(II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
(II) Module extmod: vendor="X.Org Foundation"
   compiled for 1.7.7, module version = 1.0.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension MIT-SCREEN-SAVER
(II) Loading extension XFree86-VidModeExtension
(II) Loading extension XFree86-DGA
(II) Loading extension DPMS
(II) Loading extension XVideo
(II) Loading extension XVideo-MotionCompensation
(II) Loading extension X-Resource
(II) LoadModule: "dbe"
(II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
(II) Module dbe: vendor="X.Org Foundation"
   compiled for 1.7.7, module version = 1.0.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DOUBLE-BUFFER
(II) LoadModule: "glx"
(II) Loading /usr/lib/xorg/modules/extensions/libglx.so
(II) Module glx: vendor="NVIDIA Corporation"
   compiled for 4.0.2, module version = 1.0.0
   Module class: X.Org Server Extension
(II) NVIDIA GLX Module  256.53  Fri Aug 27 21:28:41 PDT 2010
(II) Loading extension GLX
(II) LoadModule: "record"
(II) Loading /usr/lib/xorg/modules/extensions/librecord.so
(II) Module record: vendor="X.Org Foundation"
   compiled for 1.7.7, module version = 1.13.0
   Module class: X.Org Server Extension
   ABI class: X.Org Server Extension, version 2.0
(II) Loading extension RECORD
(II) LoadModule: "dri"
(WW) Warning, couldn't open module dri
(II) UnloadModule: "dri"
(EE) Failed to load module "dri" (module does not exist, 0)
(II) LoadModule: "dri2"
(WW) Warning, couldn't open module dri2
(II) UnloadModule: "dri2"
(EE) Failed to load module "dri2" (module does not exist, 0)
(II) LoadModule: "nvidia"
(II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
(II) Module nvidia: vendor="NVIDIA Corporation"
   compiled for 4.0.2, module version = 1.0.0
   Module class: X.Org Video Driver
(EE) NVIDIA: Failed to load the NVIDIA kernel module. Please check your
(EE) NVIDIA:     system's kernel log for additional error messages.
(II) UnloadModule: "nvidia"
(II) Unloading /usr/lib/xorg/modules/drivers/nvidia_drv.so
(EE) Failed to load module "nvidia" (module-specific error, 0)
(EE) No drivers available.

Fatal server error:
no screens found


I`ve ri-emerged the nvidia driver and populate modules but
Code:
# modprobe -v nvidia
# FATAL: module NVIDIA not found


I`ve installed only kernel-2.6.35-gentoo-r4: it`s very strange
Code:
#uname -rm
#2.6.34-gentoo-r12 i686


Last edited by 198728 on Wed Oct 27, 2010 9:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1214
Location: Massachusetts USA

PostPosted: Mon Oct 25, 2010 7:37 pm    Post subject: Reply with quote

Quote:
Build Operating System: Linux 2.6.35-gentoo-r4 i686
Current Operating System: Linux H4ckmaniac 2.6.34-gentoo-r12 #1 SMP Fri Oct 22 17:25:11 CEST 2010 i686
You are not running the operating system that the nvidia driver was built for. Check that grub is setup to load the correct kernel.
Back to top
View user's profile Send private message
198728
l33t
l33t


Joined: 08 Apr 2009
Posts: 693

PostPosted: Mon Oct 25, 2010 7:40 pm    Post subject: Reply with quote

The really problem is that on this pc i've only one kernel installed
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1214
Location: Massachusetts USA

PostPosted: Mon Oct 25, 2010 7:57 pm    Post subject: Reply with quote

When you installed the kernel was it installed in the /boot partition or the /boot mount point?

Use the df command to see what partition is being used by /boot.

Mount the /boot partition and check the contents of /boot.
Back to top
View user's profile Send private message
198728
l33t
l33t


Joined: 08 Apr 2009
Posts: 693

PostPosted: Tue Oct 26, 2010 8:14 am    Post subject: Reply with quote

The kernel was it installed in the /boot partition, df command give me this
Code:
#rootfs             /
#/dev/root                 /
#rc-svcdir                  /lib/rc/init.d
#udev                       /dev
#shm                        /dev/shm

and if i try to mount boot the system give to me
Code:
#mount filesystem type `ext2` unknow
when the kernel is compiled to work with ext2, ext3 ext4
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1214
Location: Massachusetts USA

PostPosted: Wed Oct 27, 2010 3:09 am    Post subject: Reply with quote

Do
Code:
ls -l /boot
and check the date on the kernel. Does it match the date when you built the kernel.
Back to top
View user's profile Send private message
198728
l33t
l33t


Joined: 08 Apr 2009
Posts: 693

PostPosted: Wed Oct 27, 2010 7:51 am    Post subject: Reply with quote

ls -l /boot show me two date:

- the first for the old kernel 2.6.34-gentoo-r12 (correct)
- the second for the new kernel 2.6.35-gentoo-r4 (same date)

Now?

Every times, during the boot,
Code:
/dev/sda1 superblocco last mount time is in the future (by less than a day, probably due to the hardware clock being incorrectly set) CORRECT
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1214
Location: Massachusetts USA

PostPosted: Wed Oct 27, 2010 7:45 pm    Post subject: Reply with quote

Did you update /boot/grub/grub.conf to boot the new kernel?
Back to top
View user's profile Send private message
198728
l33t
l33t


Joined: 08 Apr 2009
Posts: 693

PostPosted: Wed Oct 27, 2010 7:53 pm    Post subject: Reply with quote

Yes, but on /dev/sda3/boot i haven`t grub directory...
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1214
Location: Massachusetts USA

PostPosted: Wed Oct 27, 2010 8:07 pm    Post subject: Reply with quote

Are you using grub or lilo?

If your using lilo you need to run /sbin/lilo after updating the /etc/lilo.conf file.
Back to top
View user's profile Send private message
198728
l33t
l33t


Joined: 08 Apr 2009
Posts: 693

PostPosted: Wed Oct 27, 2010 8:23 pm    Post subject: Reply with quote

I`m using grub2
Back to top
View user's profile Send private message
jburns
Veteran
Veteran


Joined: 18 Jan 2007
Posts: 1214
Location: Massachusetts USA

PostPosted: Wed Oct 27, 2010 8:50 pm    Post subject: Reply with quote

For grub2 run the command grub-mkconfig to update the configuration file for a new kernel.
Back to top
View user's profile Send private message
198728
l33t
l33t


Joined: 08 Apr 2009
Posts: 693

PostPosted: Wed Oct 27, 2010 9:00 pm    Post subject: Reply with quote

Thx man, i've solved the problem with a livecd (just copied the new bzImage in the /boot directory).
Now my problem is that the correct /boot is on /dev/sda1 and not on root, where i have the /boot dir but not the grub dir.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum