Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
MTRR Support not detected!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
paranerd
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2003
Posts: 129

PostPosted: Sat May 24, 2003 10:50 pm    Post subject: MTRR Support not detected! Reply with quote

I've got to be massively clueless here because this doesn't sound that complicated. But...

I am running an earlier version of the nvidia driver with out problem.

"emerge -up world" wants to install two new nvidia packages, the kernel and the glx. They won't install unless my kernel contains support for MTRR.

I "make menuconfig" and set MTRR
I "make dep && make clean bzImage..."
I copied the bzImage into my /boot
I reboot

I don't get any MTRR messages in dmesg...but I do get:

"agpgart: Detected an Intel i815, but could not find the secondary device. Assuming a non-integrated video card."

And when I try to "emerge -u nvidia-stuff" I still get "MTRR support not detected..."

Well, I'm on an old Dell 4100 with a 1 ghz Pentium III (coppermine) with integrated nvidia graphics.

I even added "video=mtrr" to my root= command just for fun. I also checked to ensure that the new kernel is being loaded (it is)

Still, nothing.

Maybe my computer doesn't support MTRR? Or did I simply forget a step because I am incredibly inept?

help!
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Sun May 25, 2003 12:13 am    Post subject: Reply with quote

did you mount /boot before you copied the bzImage?

Also check the dmesg output for mtrr being detected, mine is usally very close to the top....

chris
Back to top
View user's profile Send private message
paranerd
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2003
Posts: 129

PostPosted: Sun May 25, 2003 12:21 am    Post subject: Reply with quote

ctford0 wrote:
did you mount /boot before you copied the bzImage?

Also check the dmesg output for mtrr being detected, mine is usally very close to the top....

chris


Thanks for the response, chris.

Yes, I mounted /boot before I copied. Then after it didn't work I eyeballed /boot to ensure the copy was correctly performed.

I never saw any reference to mtrr in my dmesg until I added that video=mtrr statement (which I don't know is correct or not) What I do see in dmesg is:

"Kernel command line: root=/dev/hda3 hdd=ide-scsi video=mtrr"

"agpgart: agpgart: Detected an Intel i815, but could not find the secondary device. Assuming a non-integrated video card."

"nvidia: loading NVIDIA Linux x86 NVdriver Kernel Module 1.0-3123 Tue Aug 27 15:56:48 PDT 2002"

The version of the nvidia driver I am trying to install is:

nvidia-kernel-1.0.4349-r2 [1.0.3123-r2]
Back to top
View user's profile Send private message
Narada
Guru
Guru


Joined: 12 Dec 2002
Posts: 300
Location: London, UK

PostPosted: Sun May 25, 2003 1:07 am    Post subject: Reply with quote

Which kernel are you using? Try the following method.
Code:
cd /usr/src/linux/
mv .config ~/dotconfig
make mrproper
mv ~/dotconfig .config
make oldconfig
make menuconfig    (re-check all options)
make dep && make clean bzImage modules modules_install

_________________
http://dhruba.name/


Last edited by Narada on Sun May 25, 2003 2:53 am; edited 1 time in total
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Sun May 25, 2003 1:29 am    Post subject: Reply with quote

When finally successful you should see something like this:

Code:
calibrating APIC timer ...
..... CPU clock speed is 1492.4852 MHz.
..... host bus clock speed is 271.3609 MHz.
cpu: 0, clocks: 2713609, slice: 1356804
CPU0<T0:2713600,T1:1356784,D:12,S:1356804,C:2713609>
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xf1170, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router ALI [10b9/1533] at 00:07.0
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039


Chris
Back to top
View user's profile Send private message
paranerd
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2003
Posts: 129

PostPosted: Sun May 25, 2003 2:25 am    Post subject: Reply with quote

Narada wrote:
Which kernel are you using? Try the following method.
Code:
cd /usr/src/linux/
mv .config .config.save
make mrproper
mv .config.save .config
make oldconfig
make menuconfig    (re-check all options)
make dep && make clean bzImage modules modules_install


OK, Fine. Now I *am* hosed.

"make mrproper" just rm-ed the .config.save file.

So, is there anyway I can rebuild it? Or do I screw around for a while trying to get my kernel compiles back to where they were as of this morning?

:(
Back to top
View user's profile Send private message
Narada
Guru
Guru


Joined: 12 Dec 2002
Posts: 300
Location: London, UK

PostPosted: Sun May 25, 2003 2:41 am    Post subject: Reply with quote

I am really sorry that it removed your configuration file. I didn't realise that it would remove renamed files too. If you back up your config file safely in your home directory for example then that method works nicely to clean the kernel tree. If you had /proc/config support enabled then you can recover your kernel configuration from there. Otherwise, reselect the options that are relevant to your system and recompile the kernel. From now on, I shall recommend backing up to home directory. Once again, profuse apologies.
_________________
http://dhruba.name/
Back to top
View user's profile Send private message
paranerd
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2003
Posts: 129

PostPosted: Sun May 25, 2003 2:50 am    Post subject: Reply with quote

Narada wrote:
I am really sorry ....


:)

Hey, that happens. I knew I shoulda checked the Makefile before I ran it.

:)

OK, anyone who's following, please allow this thread to fall off the face of the forum. It's going to be a while before I get my system back to where I was this morning.

Later!
Back to top
View user's profile Send private message
ctford0
l33t
l33t


Joined: 25 Oct 2002
Posts: 774
Location: Lexington, KY,USA

PostPosted: Sat May 31, 2003 3:44 am    Post subject: Reply with quote

Ever get your system back up??
Back to top
View user's profile Send private message
paranerd
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2003
Posts: 129

PostPosted: Sat May 31, 2003 10:10 am    Post subject: Reply with quote

ctford0 wrote:
Ever get your system back up??


Yup! Just last night.

Like most computer goofups the whole thing worked to my advantage. This (my foray into gentoo) is the first time I've ever mucked around with customizing the kernel (I compiled my first linux kernel in December of '91 but I've always accepted the defaults.) I'm not real organized so of course all of my kernel notes were on the back of gentoo tech support printouts (or nonexistant). So, having to go into makeconfig and actually read the doc (imagine that!) helped me add some support I'd been missing (now maybe I can get cups AND my cdwriter to work!)

MTRR support still aint workin' though.

Thanks for asking. :)
Back to top
View user's profile Send private message
paranerd
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2003
Posts: 129

PostPosted: Sun Jun 01, 2003 1:52 am    Post subject: Re: MTRR Support not detected! Reply with quote

paranerd wrote:
I've got to be massively clueless here...


I was right! I am massively clueless.

Turns out after all the fooling around I did with dual booting and redhat and freebsd et al, that I had two boot partitions and I was copying the kernel to the wrong one. Grub was in a boot partition on hda but the commands in it to kernel gentoo pointed to the boot partition in hdb! Here I've been compiling, and checking, and compiling, and checking, and all the time I've been running the same silly kernel.

I think I need my classification changed from n00b to dunderhead.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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