Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[solved] modprobe nvidia problem
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
wbrokow1
Guru
Guru


Joined: 03 Jan 2005
Posts: 372

PostPosted: Sun Oct 21, 2007 2:40 pm    Post subject: [solved] modprobe nvidia problem Reply with quote

I have been following the nvidia-drivers howto in the wiki and have come across a problem:
Please, any help is appreciated.

Code:

wbrokow1 boot # modprobe nvidia
FATAL: Error inserting nvidia (/lib/modules/2.6.18-gentoo-r3/video/nvidia.ko): Invali                                          d module format
wbrokow1 boot # lsmod | grep nvidia && rmmod nvidia
wbrokow1 boot # dmesg | grep nvidia
nvidia: version magic '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-4.1' should be '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-3.4'
nvidia: version magic '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-4.1' should be '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-3.4'
nvidia: version magic '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-4.1' should be '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-3.4'
wbrokow1 boot # ls /lib/modules/`uname -r`/video
nvidia.ko
wbrokow1 boot # lsmod
Module                  Size  Used by
snd_seq_oss            27456  0
snd_seq_midi_event      6080  1 snd_seq_oss
snd_seq                43024  4 snd_seq_oss,snd_seq_midi_event
snd_seq_device          6348  2 snd_seq_oss,snd_seq
usblp                  10944  0
dm_mod                 45912  13
ehci_hcd               25352  0
snd_intel8x0           26588  0
ohci_hcd               17156  0
i2c_nforce2             6080  0
snd_ac97_codec         80096  1 snd_intel8x0
i2c_core               16064  1 i2c_nforce2
usbcore               100676  4 usblp,ehci_hcd,ohci_hcd
snd_ac97_bus            2368  1 snd_ac97_codec
wbrokow1 boot # modprobe nvidia
FATAL: Error inserting nvidia (/lib/modules/2.6.18-gentoo-r3/video/nvidia.ko): Invalid module format
wbrokow1 boot #                                                             


Code:

wbrokow1 alexandra # emerge --info
Portage 2.1.3.9 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.18-gentoo-r3 i686)
=================================================================
System uname: 2.6.18-gentoo-r3 i686 AMD Athlon(tm) XP 2800+
Timestamp of tree: Fri, 19 Oct 2007 20:30:04 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LC_ALL="en_US"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X a52 aac acl acpi alsa apache2 asf avi berkdb bitmap-fonts browserplugin cairo cdparanoia cdr cli cracklib crypt cscope cups dba dbus divx4linux dlloader dri dv dvd dvdr dvdread eds emboss encode esd evo fam fame ffmpeg firefox flac foomaticdb fortran gd gif gimpprint gphoto2 gpm gstreamer gtk gtk2 hal iconv ieee1394 imagemagick imlib innodb ipv6 isdnlog java javascript joystick jpeg kde kdeenablefinal kerberos lirc mad matroska midi mikmod mime mmx mp3 mpeg mudflap mysql nas ncurses net nptl nptlonly nsplugin nvidia ogg oggvorbis opengl openmp oss pam pcre pda pdf pdflib perl png ppds pppd python qt qt3 qt3support qt4 quicktime readline reflection samba sdl session shared sound spell spl sse ssl subtitles svg tcpd theora threadsafe tiff transcode truetype truetype-fonts type1 type1-fonts unicode usb v4l2 vcd videos vorbis win32codecs x86 xine xinerama xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

wbrokow1 alexandra #                                   


Last edited by wbrokow1 on Mon Nov 05, 2007 6:26 pm; edited 1 time in total
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54852
Location: 56N 3W

PostPosted: Sun Oct 21, 2007 2:53 pm    Post subject: Reply with quote

wbrokow1,

Reformatting your error message will help
Code:
nvidia: version magic '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-4.1'
should be             '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-3.4'
Spot the difference ?

Your nvidia module was compiled with gcc-4.1 and your 2.6.18-gentoo-r3 kernel was compiled with gcc-3.4. That nomally makes things break, so the kernel checks.

Rebuild your kernel with gcc-4.1, starting with
Code:
cd /usr/src/linux
make clean 
to ensure its completely recompiled.
This woild be a good opportunity for a kernel update too, since current stab;e is 2.6.22-r8
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
wbrokow1
Guru
Guru


Joined: 03 Jan 2005
Posts: 372

PostPosted: Sun Oct 21, 2007 3:01 pm    Post subject: Reply with quote

Code:

wbrokow1 alexandra # cd /usr/src/linux
wbrokow1 linux # make clean
make: Warning: File `..tmp_vmlinux1.cmd' has modification time 8.1e+08 s in the future
  CLEAN   arch/i386/boot/compressed
  CLEAN   arch/i386/boot
  CLEAN   /usr/src/linux-2.6.18-gentoo-r3
  CLEAN   arch/i386/kernel
  CLEAN   drivers/char
  CLEAN   drivers/ieee1394
  CLEAN   init
  CLEAN   lib
  CLEAN   usr
  CLEAN   .tmp_versions
  CLEAN   vmlinux System.map .tmp_kallsyms1.o .tmp_kallsyms1.S .tmp_kallsyms2.o .tmp_kallsyms2.S .tmp_vmlinux1 .tmp_vmlinux2 .tmp_System.map
make: warning:  Clock skew detected.  Your build may be incomplete.
wbrokow1 linux # 


Ok, should I compile the new stable kernel now or fix the nvidia-driver issue?
Thanks
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54852
Location: 56N 3W

PostPosted: Sun Oct 21, 2007 3:11 pm    Post subject: Reply with quote

wbrokow1,

Thats entirely your choice. Both things require a kernel compile.
This is a little worrying
Code:
make: Warning: File `..tmp_vmlinux1.cmd' has modification time 8.1e+08 s in the future

It implies your clock has been stepped back at sometime. This will cause some odd effects with make unless you know that there are no old .o files.
In the kernel, make clean does that, or a new kernel tree.

The first thing to do if fix your clock, if its not correct now.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
wbrokow1
Guru
Guru


Joined: 03 Jan 2005
Posts: 372

PostPosted: Sun Oct 21, 2007 10:39 pm    Post subject: Reply with quote

Ok, I upgraded to the 2.6.22-r8 kernel.
The clock error is gone now.
I emerged the nvidia-drivers.
now I still get an error:

Code:

wbrokow1 linux # modprobe nvidia
FATAL: Error inserting nvidia (/lib/modules/2.6.18-gentoo-r3/video/nvidia.ko): Invalid module format
wbrokow1 linux #   


Alsoit seems my System.map can't be found although it IS there:
Code:

snip
--- replaced dir /lib
--- replaced obj /etc/modules.d/nvidia
--- replaced dir /etc/modules.d
--- replaced dir /etc
 * Removing x11-drivers/nvidia-drivers-100.14.09 from moduledb.
Switching to nvidia OpenGL interface... done
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
 * Updating module dependencies for 2.6.22-gentoo-r8 ...
 *
 * /usr/src/linux/System.map not found.
 * You must manually update the kernel module dependencies using depmod.                                                                                                     [ !! ]
 *
 * Adding module to moduledb.
Switching to nvidia OpenGL interface... done

 * To use the Nvidia GLX, run "eselect opengl set nvidia"
 *
 * nVidia has requested that any bug reports submitted have the
 * output of /usr/bin/nvidia-bug-report.sh included.
 *
 * To work with compiz, you must enable the AddARGBGLXVisuals option.
 *
 * If you are having resolution problems, try disabling DynamicTwinView.

>>> Regenerating /etc/ld.so.cache...
>>> x11-drivers/nvidia-drivers-100.14.09 merged.

>>> No packages selected for removal by clean
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * Messages for package x11-drivers/nvidia-drivers-100.14.09:

 * To use the Nvidia GLX, run "eselect opengl set nvidia"
 *
 * nVidia has requested that any bug reports submitted have the
 * output of /usr/bin/nvidia-bug-report.sh included.
 *
 * To work with compiz, you must enable the AddARGBGLXVisuals option.
 *
 * If you are having resolution problems, try disabling DynamicTwinView.
 *
 * /usr/src/linux/System.map not found.
 * You must manually update the kernel module dependencies using depmod.
 *
 * GNU info directory index is up-to-date.


also this is still in dmesg

Code:

wbrokow1 boot # dmesg | grep nvidia
nvidia: version magic '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-4.1' should be '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-3.4'
nvidia: version magic '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-4.1' should be '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-3.4'
nvidia: version magic '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-4.1' should be '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-3.4'
nvidia: version magic '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-4.1' should be '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-3.4'
nvidia: version magic '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-4.1' should be '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-3.4'
nvidia: version magic '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-4.1' should be '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-3.4'
nvidia: version magic '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-4.1' should be '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-3.4'
nvidia: version magic '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-4.1' should be '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-3.4'
nvidia: version magic '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-4.1' should be '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-3.4'
nvidia: version magic '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-4.1' should be '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-3.4'
nvidia: version magic '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-4.1' should be '2.6.18-gentoo-r3 SMP preempt mod_unload K7 gcc-3.4'
wbrokow1 boot #                                 

Thanks for your help, I hope we're almost there....
Back to top
View user's profile Send private message
transient
l33t
l33t


Joined: 13 Jan 2005
Posts: 759

PostPosted: Mon Oct 22, 2007 12:02 am    Post subject: Reply with quote

You're still using the wrong kernel version.
Back to top
View user's profile Send private message
wbrokow1
Guru
Guru


Joined: 03 Jan 2005
Posts: 372

PostPosted: Mon Oct 22, 2007 12:14 am    Post subject: Reply with quote

I switched.

Code:
wbrokow1 linux # ls -l /usr/src/linux
lrwxrwxrwx 1 root root 22 2007-10-21 17:35 /usr/src/linux -> linux-2.6.22-gentoo-r8
wbrokow1 linux #       


Code:
wbrokow1 boot # ls -l
total 7021
lrwxrwxrwx 1 root root       1 2005-02-15 13:21 boot -> .
-rw-r--r-- 1 root root   42562 2007-10-21 10:06 config-2.6.18-gentoo-r3
-rw-r--r-- 1 root root   46836 2007-10-21 17:50 config-2.6.22-gentoo-r8
drwxr-xr-x 2 root root    1024 2007-09-18 16:55 grub
-rw-r--r-- 1 root root 2332660 2007-10-21 10:04 kernel-2.6.18-gentoo-r3
-rw-r--r-- 1 root root 2758064 2007-10-21 17:49 kernel-2.6.22-gentoo-r8
drwx------ 2 root root   12288 2005-02-15 13:09 lost+found
lrwxrwxrwx 1 root root      27 2007-10-21 18:18 System.map -> System.map-2.6.22-gentoo-r8
-rw-r--r-- 1 root root  865464 2007-10-21 10:05 System.map-2.6.18-gentoo-r3
-rw-r--r-- 1 root root 1092027 2007-10-21 17:50 System.map-2.6.22-gentoo-r8
wbrokow1 boot #                                                           


What did I do wrong?
I've switched kernels before exactly according to the handbook.
do I have to reboot?
Back to top
View user's profile Send private message
transient
l33t
l33t


Joined: 13 Jan 2005
Posts: 759

PostPosted: Mon Oct 22, 2007 12:22 am    Post subject: Reply with quote

Code:
uname -a

If that command outputs something containing 2.6.18, you're still using the old kernel and will need to reboot.
If it outputs something with 2.6.22, then you're using the new kernel and something else must be wrong.
Back to top
View user's profile Send private message
wbrokow1
Guru
Guru


Joined: 03 Jan 2005
Posts: 372

PostPosted: Mon Oct 22, 2007 2:28 am    Post subject: Reply with quote

yes a new problem crept up when I rebooted
my logical volumes weren't recognized and now I have to figure out what to do about that.

You were right , uname -a produced 2.6.18 as my kernel that's why I rebooted.
Although when I edited the command line to boot from the old kernel 2.6.18
It still did not recognize my logical volumes. Maybe they're corrupt.
My lv's are on 2 scsi drves.
I am using a knoppix live cd to boot now.
Thanks for your help I think I am deeper trouble now of my own doing.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54852
Location: 56N 3W

PostPosted: Mon Oct 22, 2007 5:31 pm    Post subject: Reply with quote

wbrokow1,

You must add a new booting block in grub.conf to boot your new kernel.
Its identical to the stanza you have now with the kernel file name changed. That will allow you a choice of kernels at boot time.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
wbrokow1
Guru
Guru


Joined: 03 Jan 2005
Posts: 372

PostPosted: Mon Oct 22, 2007 6:58 pm    Post subject: Reply with quote

ok I'll add it but I think I have a hardware problem at the same time>
THE drives that have my usr var opt home are dead i think>
the boot drive is ok>
is my system wiped out?
i think it might be
if i create the above dirs on the good drive< at least ill have a starting block>
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54852
Location: 56N 3W

PostPosted: Mon Oct 22, 2007 7:14 pm    Post subject: Reply with quote

wbrokow1,

Its unlikely your drives just died. Its much more lilkely that you have missed a driver.
The kernel menuconfig has been restructured between 2.6.18 abd 2.5.22
make oldconfig does not carry forward settings into to new structure very well.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
wbrokow1
Guru
Guru


Joined: 03 Jan 2005
Posts: 372

PostPosted: Mon Oct 22, 2007 8:23 pm    Post subject: Reply with quote

So I have to get into "make menuconfig" in /usr/src/linux?
That means I'll have to recompile.
I don't think I can get to /usr/scr/linux!!
What can I do?

Thanks for your help
Back to top
View user's profile Send private message
wbrokow1
Guru
Guru


Joined: 03 Jan 2005
Posts: 372

PostPosted: Mon Oct 22, 2007 10:06 pm    Post subject: Reply with quote

Ok, I added the 2.6.18 kernel to the list.
Still same errors.
I can't get to /usr/src/linux to run make menuconfig.
Shouldn't it work with the 2.6.18 kernel?
I did not modify that!
This is why I think the drives are bad.
If the drives are good can't I mount them somehow?
Please help. Thank you very much.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54852
Location: 56N 3W

PostPosted: Mon Oct 22, 2007 10:20 pm    Post subject: Reply with quote

wbrokow1,

Post your lspci output - it will show yor hardware and we can check your kernel config from there.
Your drives should show up in
Code:
fdisk -l
from the liveCD or from kernel 2.6.18, if it didn't get messed up.
Please test from the liveCD.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
wbrokow1
Guru
Guru


Joined: 03 Jan 2005
Posts: 372

PostPosted: Mon Oct 22, 2007 10:57 pm    Post subject: Reply with quote

Code:

lspci

gave me :
bash: lspci: command not found

Code:

fdisk -l

Shows the /dev/hda4 with a Linux LVM system.
I believe thats the drive.

Code:

pvdisplay

shows the PV name as "unknown device"

How can I use the livecd to test ?

Thanks
Back to top
View user's profile Send private message
wbrokow1
Guru
Guru


Joined: 03 Jan 2005
Posts: 372

PostPosted: Mon Oct 22, 2007 11:06 pm    Post subject: Reply with quote

the live cd shows the two drives as /dev/sda1 & /dev/sdb1.
How do we proceed with the repair?
Thanks again.
Back to top
View user's profile Send private message
wbrokow1
Guru
Guru


Joined: 03 Jan 2005
Posts: 372

PostPosted: Tue Oct 23, 2007 2:01 pm    Post subject: Sata drives not available with 2.6.22-gentoo-r8 Reply with quote

I have seen others with the same problem but my is differnet than theirs.
Let me explain.

I had 2.6.18 running and wanted to switch to 2.6.22-gentoo-r8 stable.
When I make oldconfig and then installed the new kernel (which I have done many times) I ran into a problem.
The sata drives were not recognized. All my directories except boot and swap are on the sata drives(lvm) no raid.

When I rebooted the 2.6.22 did not recognize the sata drives so I said "ok switch back to 2.6.18 and everything should be back to where it was" NOT so!

When I booted with 2.6.18, which I did no change, at all STILL no sata drives.

THe major problem is /usr/src/linux is on the sata drives! I can't reconfigure.
Is there a way to use the live CD to rescue myself?

In my simplistic view of the problem: I need to recompile a kernel (2.6.18 perhaps) and install a new /usr/src/linux
, /usr /opt /home etc to a different drive. I have two pata drives that are recognized and working. could I use them.
OR should I just WIPE all the sata drives and start over.

All suggestions are welcome, just please be detailed on how to perform this repair(if possible)
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54852
Location: 56N 3W

PostPosted: Tue Oct 23, 2007 9:59 pm    Post subject: Reply with quote

wbrokow1,

I suspect your 2.6.18 kernel is still there and can be made to boot, its just grub.conf thats not right.
Boot with the liveCD and run
Code:
lspci
Post the output.
As your /boot is outside LVM, grub.conf can be fixed. post your grub.conf and
Code:
ls -l /boot
You can get at all this from the liveCD.

Some of the SATA drivers changed significantly between 2.6.18 and 2.6.22. Particularly the Intel ones,
so its likely you have not taken account of that, as a result, your SATA drives appear as /dev/hd..., not /dev/sd...

I'm sure your system can be fixed but I don't use LVM to know how to get it to start from the liveCD.
I do know you can though
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
wbrokow1
Guru
Guru


Joined: 03 Jan 2005
Posts: 372

PostPosted: Wed Oct 24, 2007 12:40 am    Post subject: Reply with quote

since the system is not functional I have to type .

Code:

lspci


Code:

0000:01:0b.0 Raid bus controller : cmd technologies inc Silicon Image Sil 3112 SATA raid controller (rev 02)


Code:

ls -l /boot


Code:

/boot -> mnt/livecd/boot


my grub.conf is :

Code:

default 0
timeout 30

splashimage=(hd0,0)/grub/splash.xpm.gz

title=Gentoo Linux 2.6.18
root (hd0,0)
kernel /kernel-2.6.18-gentoo-r3 root=/dev/hda3

title=gentoo linux 2.6.22
root (hd0,0)
kernel /kernel-2.6.22-gentoo-r8 root=/dev/hda3


I type most from memory and copied some down on paper.
Is the lspci output enough?

THanks for the help
Back to top
View user's profile Send private message
wbrokow1
Guru
Guru


Joined: 03 Jan 2005
Posts: 372

PostPosted: Wed Oct 24, 2007 1:28 am    Post subject: Reply with quote

actually when i do:
Code:


ls -l /boot 


on the system as is (w/o the live cd)
I get:
Code:

boot -> .


Is this correct?

Also sytem maps and configs are there also for both kernels
Back to top
View user's profile Send private message
wbrokow1
Guru
Guru


Joined: 03 Jan 2005
Posts: 372

PostPosted: Wed Oct 24, 2007 12:24 pm    Post subject: Reply with quote

I booted with a knoppix disk.
Here is my lspci:

Code:

0000:00:00.0 Host bridge: nVidia Corporation nForce2 AGP (different version?) (r
ev c1)
0000:00:00.1 RAM memory: nVidia Corporation nForce2 Memory Controller 1 (rev c1)
0000:00:00.2 RAM memory: nVidia Corporation nForce2 Memory Controller 4 (rev c1)
0000:00:00.3 RAM memory: nVidia Corporation nForce2 Memory Controller 3 (rev c1)
0000:00:00.4 RAM memory: nVidia Corporation nForce2 Memory Controller 2 (rev c1)
0000:00:00.5 RAM memory: nVidia Corporation nForce2 Memory Controller 5 (rev c1)
0000:00:01.0 ISA bridge: nVidia Corporation nForce2 ISA Bridge (rev a4)
0000:00:01.1 SMBus: nVidia Corporation nForce2 SMBus (MCP) (rev a2)
0000:00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
0000:00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
0000:00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
0000:00:04.0 Ethernet controller: nVidia Corporation nForce2 Ethernet Controller                                                        (rev a1)
0000:00:05.0 Multimedia audio controller: nVidia Corporation nForce MultiMedia a                                                       udio [Via VT82C686B] (rev a2)
0000:00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97 Audio                                                        Controler (MCP) (rev a1)
0000:00:08.0 PCI bridge: nVidia Corporation nForce2 External PCI Bridge (rev a3)
0000:00:09.0 IDE interface: nVidia Corporation nForce2 IDE (rev a2)
0000:00:0d.0 FireWire (IEEE 1394): nVidia Corporation nForce2 FireWire (IEEE 139                                                       4) Controller (rev a3)
0000:00:1e.0 PCI bridge: nVidia Corporation nForce2 AGP (rev c1)
0000:01:0b.0 RAID bus controller: Silicon Image, Inc. (formerly CMD Technology I                                                       nc) SiI 3112 [SATALink/SATARaid] Serial ATA Controller (rev 02)
0000:02:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5200                                                       ] (rev a1)
knoppix@0[knoppix]$
Back to top
View user's profile Send private message
wbrokow1
Guru
Guru


Joined: 03 Jan 2005
Posts: 372

PostPosted: Wed Oct 24, 2007 7:09 pm    Post subject: Reply with quote

any ideas in this yet?
I would hate to have to wipe the drives and start over.
I know just enough to be dangerous!
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54852
Location: 56N 3W

PostPosted: Wed Oct 24, 2007 8:19 pm    Post subject: Reply with quote

wbrokow1,

It appears that your /boot is correct. the boot -> . is normal. Its allows the same grub.conf to work regardless of /boot being a real partition or not.

I have the same nVidia nForce2 chipset and SIL 3112 as you and my IDE and SATA works ok. My kernel is made for a Athlon XP+ CPU, so it would run on your system. If you are unable to make a kernel, I can arrange for you to download mine. I do not have LVM support.

Here is what your need for the IDE drives you have
Code:

  ┌─────────────────────────── ATA/ATAPI/MFM/RLL support ───────────────────────────┐
  │ │    --- ATA/ATAPI/MFM/RLL support                                            │ │ 
  │ │    (2)   Max IDE interfaces                                                 │ │ 
  │ │    <*>   Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support                │ │ 
  │ │    ---     Please see Documentation/ide.txt for help/info on IDE drives     │ │ 
  │ │    <*>     Include IDE/ATA-2 DISK support                                   │ │ 
  │ │    [*]     Use multi-mode by default                                        │ │ 
  │ │    <*>     Include IDE/ATAPI CDROM support                                  │ │   
  │ │    <M>     SCSI emulation support                                           │ │ 
  │ │    [*]     IDE ACPI support                                                 │ │ 
  │ │    [*]     IDE Taskfile Access                                              │ │ 
  │ │    [*]     legacy /proc/ide/ support                                        │ │ 
  │ │    ---     IDE chipset support/bugfixes                                     │ │ 
  │ │    <*>     generic/default IDE chipset support                              │ │   
  │ │    [*]     PCI IDE chipset support                                          │ │ 
  │ │    [*]       Sharing PCI IDE interrupts support                             │ │ 
  │ │    <*>     Generic PCI IDE Chipset Support                                  │ │ 
  │ │    [*]     Generic PCI bus-master DMA support                               │ │ 
  │ │    <*>       AMD and nVidia IDE support                                     │ │ 
Everything not listed, needs to be off. This has not changed for a while and should already be ok.
Code:
Serial ATA (prod) and Parallel ATA (experimental) drivers
is a new menu for the SATA drivers that were under Low Level SCSI, make oldconfig gets this wrong and drops your SATA driver out. Choose only
Code:
<*>   Silicon Image SATA support
from this new menu.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
wbrokow1
Guru
Guru


Joined: 03 Jan 2005
Posts: 372

PostPosted: Wed Oct 24, 2007 10:37 pm    Post subject: Reply with quote

Ok thanks for the response. But exactly how do I run make menu config if I can't get to /usr/src/linux?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
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