error: failed to load kernel module:nvidia

Help with booting MiniMyth

Moderator: Pablo

Post Reply
Nemus
New Member
Posts: 3
Joined: Wed Jan 31, 2007 7:44 pm

error: failed to load kernel module:nvidia

Post by Nemus » Wed Jan 31, 2007 7:50 pm

I am trying to load minimyth from a pxe boot. the version I am using is the ram version 20

I keep getting the following error.

error: failed to load kernel module:nvidia

and I have no idea what could be causing it any help with this would be great.

thank you

~Nemus

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Post by Pablo » Wed Jan 31, 2007 9:45 pm

Often when a kernel module fails to load, there is an error message in /var/log/messages. If there is none, then running 'modprobe nvidia' might cause some messages to be printed out.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

RaftaMan
Member
Posts: 18
Joined: Wed Jan 31, 2007 11:31 pm

Post by RaftaMan » Wed Jan 31, 2007 11:42 pm

Same error message here:
error: failed to load kernel module:nvidia

modprobe nvidia says

$ modprobe nvidia
FATAL: Error inserting nvidia (/lib/modules/2.6.19.1/misc/nvidia/nvidia.ko): No such device

I'm only using an nvidia card because the onboard ATI seems to be unsupported:
01:05.0 "0300" "1002" "5834" "1043" "8107"

Is it possible to mount the initrd to include the kernel-module?

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Post by Pablo » Thu Feb 01, 2007 12:53 am

Could everyone who is having this problem provide the output of

Code: Select all

lspci -mn
along with the NVIDIA card/chipset being used?

Thanks.
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

RaftaMan
Member
Posts: 18
Joined: Wed Jan 31, 2007 11:31 pm

Post by RaftaMan » Thu Feb 01, 2007 1:57 am

$ lspci -mn
00:00.0 "0600" "1002" "5833" -r02 "1043" "8107"
00:01.0 "0604" "1002" "5838" "" ""
00:13.0 "0c03" "1002" "4347" -r01 -p10 "1043" "8108"
00:13.1 "0c03" "1002" "4348" -r01 -p10 "1043" "8108"
00:13.2 "0c03" "1002" "4345" -r01 -p20 "1043" "8108"
00:14.0 "0c05" "1002" "4353" -r18 "1043" "8108"
00:14.1 "0101" "1002" "4349" -p8a "1043" "8108"
00:14.3 "0601" "1002" "434c" "1043" "8108"
00:14.4 "0604" "1002" "4342" -p01 "" ""
00:14.5 "0401" "1002" "4341" "1043" "810d"
01:05.0 "0300" "10de" "0110" -rb2 "1554" "1081"
02:06.0 "0200" "10ec" "8139" -r10 "11f6" "8139"
02:08.0 "0200" "10b7" "9202" -r40 "1043" "8108"

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Post by Pablo » Thu Feb 01, 2007 4:56 am

RaftaMan wrote:$ lspci -mn
00:00.0 "0600" "1002" "5833" -r02 "1043" "8107"
00:01.0 "0604" "1002" "5838" "" ""
00:13.0 "0c03" "1002" "4347" -r01 -p10 "1043" "8108"
00:13.1 "0c03" "1002" "4348" -r01 -p10 "1043" "8108"
00:13.2 "0c03" "1002" "4345" -r01 -p20 "1043" "8108"
00:14.0 "0c05" "1002" "4353" -r18 "1043" "8108"
00:14.1 "0101" "1002" "4349" -p8a "1043" "8108"
00:14.3 "0601" "1002" "434c" "1043" "8108"
00:14.4 "0604" "1002" "4342" -p01 "" ""
00:14.5 "0401" "1002" "4341" "1043" "810d"
01:05.0 "0300" "10de" "0110" -rb2 "1554" "1081"
02:06.0 "0200" "10ec" "8139" -r10 "11f6" "8139"
02:08.0 "0200" "10b7" "9202" -r40 "1043" "8108"
Thank you for the information.

I can see no reason that this kernel module should fail to load. I wonder whether there is some incompatibility with the the ATI chipset.

However, you will have problems. MiniMyth has no support for ATI. While some things will work because they are generic (e.g. USB), other things will not work because they require special drivers (e.g. audio).
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

RaftaMan
Member
Posts: 18
Joined: Wed Jan 31, 2007 11:31 pm

Post by RaftaMan » Thu Feb 01, 2007 8:20 am

Is there a way to build the drivers myself? The Build System doesn't work either:

Code: Select all

checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.

Nemus
New Member
Posts: 3
Joined: Wed Jan 31, 2007 7:44 pm

system information

Post by Nemus » Thu Feb 01, 2007 4:51 pm

lspci -mn
00:00.0 "0600" "10de" "01e0" -ra2 "" ""
00:00.1 "0500" "10de" "01eb" -ra2 "1462" "7051"
00:00.2 "0500" "10de" "01ee" -ra2 "1462" "7051"
00:00.3 "0500" "10de" "01ed" -ra2 "1462" "7051"
00:00.4 "0500" "10de" "01ec" -ra2 "1462" "7051"
00:00.5 "0500" "10de" "01ef" -ra2 "1462" "7051"
00:01.0 "0601" "10de" "0080" -ra3 "1462" "7051"
00:01.1 "0c05" "10de" "0084" -ra1 "1462" "7051"
00:02.0 "0c03" "10de" "0087" -ra1 -p10 "1462" "7051"
00:02.1 "0c03" "10de" "0087" -ra1 -p10 "1462" "7051"
00:02.2 "0c03" "10de" "0088" -ra2 -p20 "1462" "7051"
00:04.0 "0680" "10de" "008c" -ra3 "1462" "570c"
00:06.0 "0401" "10de" "008a" -ra1 "1462" "0080"
00:08.0 "0604" "10de" "008b" -ra3 "" ""
00:09.0 "0101" "10de" "0085" -ra3 -p8a "1462" "7051"
00:0b.0 "0101" "10de" "008e" -ra3 -p85 "1462" "7051"
00:1e.0 "0604" "10de" "01e8" -ra2 "" ""
01:00.0 "0300" "10de" "01f0" -ra3 "1462" "5700"


root@(none):~ $ modprobe nvidia
FATAL: Error inserting nvidia (/lib/modules/2.6.19.1/misc/nvidia/nvidia.ko): No such device
root@(none):~ $ lsmod | grep nvidia
nvidia_agp 5660 1
agpgart 22768 1 nvidia_agp
root@(none):~ $

spci -m
00:00.0 "Host bridge" "nVidia Corporation" "nForce2 AGP (different version?)" -ra2 "" ""
00:00.1 "RAM memory" "nVidia Corporation" "nForce2 Memory Controller 1" -ra2 "Micro-Star International Co., Ltd." "Unknown device 7051"
00:00.2 "RAM memory" "nVidia Corporation" "nForce2 Memory Controller 4" -ra2 "Micro-Star International Co., Ltd." "Unknown device 7051"
00:00.3 "RAM memory" "nVidia Corporation" "nForce2 Memory Controller 3" -ra2 "Micro-Star International Co., Ltd." "Unknown device 7051"
00:00.4 "RAM memory" "nVidia Corporation" "nForce2 Memory Controller 2" -ra2 "Micro-Star International Co., Ltd." "Unknown device 7051"
00:00.5 "RAM memory" "nVidia Corporation" "nForce2 Memory Controller 5" -ra2 "Micro-Star International Co., Ltd." "Unknown device 7051"
00:01.0 "ISA bridge" "nVidia Corporation" "MCP2A ISA bridge" -ra3 "Micro-Star International Co., Ltd." "Unknown device 7051"
00:01.1 "SMBus" "nVidia Corporation" "MCP2A SMBus" -ra1 "Micro-Star International Co., Ltd." "Unknown device 7051"
00:02.0 "USB Controller" "nVidia Corporation" "MCP2A USB Controller" -ra1 -p10 "Micro-Star International Co., Ltd." "Unknown device 7051"
00:02.1 "USB Controller" "nVidia Corporation" "MCP2A USB Controller" -ra1 -p10 "Micro-Star International Co., Ltd." "Unknown device 7051"
00:02.2 "USB Controller" "nVidia Corporation" "MCP2A USB Controller" -ra2 -p20 "Micro-Star International Co., Ltd." "Unknown device 7051"
00:04.0 "Bridge" "nVidia Corporation" "MCP2A Ethernet Controller" -ra3 "Micro-Star International Co., Ltd." "Unknown device 570c"
00:06.0 "Multimedia audio controller" "nVidia Corporation" "MCP2S AC'97 Audio Controller" -ra1 "Micro-Star International Co., Ltd." "Unknown device 0080"
00:08.0 "PCI bridge" "nVidia Corporation" "MCP2A PCI Bridge" -ra3 "" ""
00:09.0 "IDE interface" "nVidia Corporation" "MCP2A IDE" -ra3 -p8a "Micro-Star International Co., Ltd." "Unknown device 7051"
00:0b.0 "IDE interface" "nVidia Corporation" "nForce2 Serial ATA Controller" -ra3 -p85 "Micro-Star International Co., Ltd." "Unknown device 7051"
00:1e.0 "PCI bridge" "nVidia Corporation" "nForce2 AGP" -ra2 "" ""
01:00.0 "VGA compatible controller" "nVidia Corporation" "NV18 [GeForce4 MX - nForce GPU]" -ra3 "Micro-Star International Co., Ltd." "Unknown device 5700"


~Nemus

Pablo
Site Admin
Posts: 4182
Joined: Tue Dec 14, 2004 2:13 am
Location: La Jolla
Contact:

Post by Pablo » Thu Feb 01, 2007 6:10 pm

You are using an NVIDIA card that is claimed by NVIDIA to be supported by the driver as well. Strange.

I wonder whether to problem could be related to the 2.6.19 kernel. While -21 was built with the 2.6.19 kernel, we dropped back to the 2.6.17 kernel in -22b* because people were having stuttering problems with the 2.6.19 kernel. Could you download the latest test version (0.20-21b8) and see whether or not the problem occurs with it as well?
MiniMyth running on an Acer ApireRevo 3610 and a Zotac ZBOX-ID80-U. Find out more at my MythTV page.

RaftaMan
Member
Posts: 18
Joined: Wed Jan 31, 2007 11:31 pm

Post by RaftaMan » Thu Feb 01, 2007 6:44 pm

This is what 0.20-22b8 says

$ modprobe nvidia
FATAL: Error inserting nvidia (/lib/modules/2.6.17.14/misc/nvidia/nvidia.ko): No such device

Thanks for your help

Nemus
New Member
Posts: 3
Joined: Wed Jan 31, 2007 7:44 pm

using version 0.20-22b8

Post by Nemus » Thu Feb 01, 2007 7:28 pm

I got the same error using version 0.20-22b8

log messages

tail -n 20 /var/log/messages
Feb 1 10:21:03 (none) local0.info udhcpc[713]: oooooh!!! got some!
Feb 1 10:21:03 (none) local0.info udhcpc[713]: Lease of 192.168.0.216 obtained, lease time 43200
Feb 1 10:21:03 (none) local0.info udhcpc[713]: vforking and execle'ing /etc/udhcpc.script
Feb 1 10:21:03 (none) local0.info udhcpc[713]: entering none listen mode
Feb 1 10:21:03 (none) local0.info udhcpc[774]: Waiting on select...
Feb 1 10:21:03 (none) auth.notice portmap[776]: Only binding to LOOPBACK address!
Feb 1 10:21:03 (none) local0.info minimyth: starting telnet ...
Feb 1 10:21:03 (none) local0.info minimyth: loading kernel modules (automatic) ...
Feb 1 10:21:06 (none) local0.info minimyth: created mount point '/media/dvd'.
Feb 1 10:21:06 (none) local0.info minimyth: created mount point '/media/cdrom'.
Feb 1 10:21:06 (none) local0.info minimyth: processing configuration ...
Feb 1 10:21:06 (none) local0.info minimyth: 'tftp://192.168.0.185/PXEClient/conf/default//minimyth.conf' retrieved.
Feb 1 10:21:07 (none) local0.warn minimyth: unknown audio card. assuming audio card number is '0'.
Feb 1 10:21:07 (none) local0.warn minimyth: assumed audio card. assuming audio device number is '0'.
Feb 1 10:21:07 (none) local0.info minimyth: manual kernel module detection:
Feb 1 10:21:07 (none) local0.info minimyth: motherboard vendor='MICRO-STAR INTERNATIONAL CO., LTD', product='MS-7051' detected.
Feb 1 10:21:09 (none) local0.info minimyth: loading kernel modules (manual) ...
Feb 1 10:21:09 (none) local0.err minimyth: error: failed to load kernel module: nvidia
Feb 1 10:21:09 (none) daemon.info init: no more processes left in this runlevel
Feb 1 10:21:20 (none) auth.info login[4108]: root login on `pts/0'
root@(none):~ $ modprobe nvidia
FATAL: Error inserting nvidia (/lib/modules/2.6.17.14/misc/nvidia/nvidia.ko): No such device

Thank You
~Nemus

RaftaMan
Member
Posts: 18
Joined: Wed Jan 31, 2007 11:31 pm

Post by RaftaMan » Thu Feb 01, 2007 8:21 pm

btw, I just tried another NVIDIA card:

01:05.0 "0300" "10de" "0332" -ra1 "1458" "310b"

This one works without any problems.

Post Reply