Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 10-07-04, 07:40 AM   #13
blueworm
[DEADAGAIN]blueworm
 
blueworm's Avatar
 
Join Date: Mar 2003
Posts: 416
Default Re: DK8N, 6800GT & 4GB mem

Have you turned ACPI off ?
add
Code:
acpi=off
to the kernel line of your bootloader. There is no need for it unless you are running a laptop with many shared IRQ.
__________________
Registered linux user #271604 Get Counted! http://counter.li.org/
lianLi PC60, OCZ powerStream 520W PSU, Asus P5N-E SLI, Core 2 duo E6550, 2Gb GEIL, XFX 8800GT, TB SantaCruz
blueworm is offline   Reply With Quote
Old 10-07-04, 09:58 AM   #14
signals42
Registered User
 
Join Date: Oct 2004
Posts: 15
Default Re: DK8N, 6800GT & 4GB mem

Quote:
Originally Posted by blueworm
Have you turned ACPI off ?
add
Code:
acpi=off
to the kernel line of your bootloader. There is no need for it unless you are running a laptop with many shared IRQ.
Yes, I've tried almost every combination of acpi=off, noapic, pci=noacpi, pci=biosirq, and mem=2G. Nothing helps. Although "noapic" does seem to help with the
Code:
Uhhuh. NMI received for unknown reason 3d.
Dazed and confused, but trying to continue
Do you have a strange power saving mode enabled?
errors you'll find in the attached dmesg. They don't seem to hurt anything though. The system is no more or less stable whether I put "noapic" on the command line or not.

Quote:
@signals42: can you attach the output of dmesg after booting the system with 4GB installed?
Yep, it should be attached. This is just what I have AT THE MOMENT. I've had so many different kernel configurations and parameter combinations in the last few days, nothing is permanent.

I've also not got agpgart running right now, since it wasn't working I put it on the hotplug balcklist. I'll try to get a dmesg with it loaded when I get home tonight.

-Kevin
Attached Files
File Type: txt dmesg.txt (14.5 KB, 177 views)
signals42 is offline   Reply With Quote
Old 10-07-04, 10:07 AM   #15
signals42
Registered User
 
Join Date: Oct 2004
Posts: 15
Default Re: DK8N, 6800GT & 4GB mem

WOW, I'm not sure what the **** happened, but I just did a
Code:
modprobe agpgart
modprobe amd64-agp
and it worked! Although I'm on an ssh from work right now, and I can't verify that the X server doesn't crash until I get home, but this is now at the end of my dmesg output:

Code:
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected AGP bridge 0
agpgart: Setting up Nforce3 AGP.
agpgart: Maximum main memory to use for agp memory: 2830M
agpgart: AGP aperture is 256M @ 0xc0000000
it has NEVER been successful loading before! MAN I hope it's working. But I hate those "it just started working" problems, because you never know what was wrong, or when you'll see it again.

Well, it looks like I got too excited too soon. I just re-started X (remotely) and now I have this in my dmesg:

Code:
mtrr: type mismatch for c0000000,10000000 old: uncachable new: write-combining
NVRM: AGPGART: unable to set MTRR write-combining
NVRM: not using NVAGP, AGPGART is loaded!!
mtrr: type mismatch for c0000000,10000000 old: uncachable new: write-combining
NVRM: AGPGART: unable to set MTRR write-combining
NVRM: not using NVAGP, AGPGART is loaded!!
This is with NvAGP set to 3. I feel like I'm getting closer, though.

-Kevin

Update: one more thing that might be useful:

Code:
darkstar:~# cat /proc/mtrr
reg00: base=0xba000000 (2976MB), size=  32MB: uncachable, count=1
reg01: base=0xbc000000 (3008MB), size=  64MB: uncachable, count=1
reg02: base=0xc0000000 (3072MB), size=1024MB: uncachable, count=1
reg03: base=0x00000000 (   0MB), size=4096MB: write-back, count=1
signals42 is offline   Reply With Quote
Old 10-07-04, 11:41 AM   #16
blueworm
[DEADAGAIN]blueworm
 
blueworm's Avatar
 
Join Date: Mar 2003
Posts: 416
Default Re: DK8N, 6800GT & 4GB mem

You cannot use APM with SMP machine they are not compatible so you must use APIC.
try post your dmesg again you seem to have cut and paste from your console and missed the top half.
do like this.
Code:
dmesg > ~/dmesg.txt
Post your .config
also what size dimm's are you using and in what slots are they in?
__________________
Registered linux user #271604 Get Counted! http://counter.li.org/
lianLi PC60, OCZ powerStream 520W PSU, Asus P5N-E SLI, Core 2 duo E6550, 2Gb GEIL, XFX 8800GT, TB SantaCruz
blueworm is offline   Reply With Quote
Old 10-07-04, 12:15 PM   #17
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: DK8N, 6800GT & 4GB mem

@blueworm: I think you're confusing PIC vs. ACPI,I/O APIC and APM vs. ACPI.

@signals42: as blueworm pointed out, the initial kernel messages are missing from your dmesg log file; it might be easier if you attached /var/log/messages or an excerpt from it.
zander is offline   Reply With Quote
Old 10-07-04, 12:21 PM   #18
blueworm
[DEADAGAIN]blueworm
 
blueworm's Avatar
 
Join Date: Mar 2003
Posts: 416
Default Re: DK8N, 6800GT & 4GB mem

Quote:
Originally Posted by zander
@blueworm: I think you're confusing PIC vs. ACPI,I/O APIC and APM vs. ACPI.

@signals42: as blueworm pointed out, the initial kernel messages are missing from your dmesg log file; it might be easier if you attached /var/log/messages or an excerpt from it.
Damm it this always happens. Lets see.
ACPI is the power management thingy and APIC the IRQ thingy then.
I must tattoo it one of these days.(This has happened to me before).
__________________
Registered linux user #271604 Get Counted! http://counter.li.org/
lianLi PC60, OCZ powerStream 520W PSU, Asus P5N-E SLI, Core 2 duo E6550, 2Gb GEIL, XFX 8800GT, TB SantaCruz
blueworm is offline   Reply With Quote
Old 10-07-04, 01:36 PM   #19
signals42
Registered User
 
Join Date: Oct 2004
Posts: 15
Default Re: DK8N, 6800GT & 4GB mem

Actually, what's there is what came out of dmesg... But I'm attaching my entire /var/log/messages file to this message. It should contain all of the messages since the original boot.

I went home over lunch and discovered why the Linux agpgart driver is loading. This is repeatable:

Cold start the computer and boot directly into Linux and amd64-agp has the following error:

Code:
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected AGP bridge 0
agpgart: Aperture pointing to RAM
agpgart: Aperture from AGP @ e0000000 size 4096 MB
agpgart: Aperture too small (0 MB)
agpgart: No usable aperture found.
agpgart: Consider rebooting with iommu=memaper=2 to get a good aperture.
(iommu=memaper=2 doesn't help)

If I cold boot the computer, then run Windows (letting the Windows drivers set up the card) then warm-restart the computer and boot Linux I get this message:

Code:
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected AGP bridge 0
agpgart: Setting up Nforce3 AGP.
agpgart: Maximum main memory to use for agp memory: 2830M
agpgart: AGP aperture is 256M @ 0xe0000000
I still get the mtrr errors when starting X, though.

-Kevin
Attached Files
File Type: zip messages.zip (61.5 KB, 126 views)
signals42 is offline   Reply With Quote
Old 10-07-04, 01:38 PM   #20
signals42
Registered User
 
Join Date: Oct 2004
Posts: 15
Default Re: DK8N, 6800GT & 4GB mem

BTW, I'm not sure I follow the apic, apm, acpi discussion. Do I have something enabled that I shouldn't?

-Kevin
signals42 is offline   Reply With Quote

Old 10-07-04, 01:43 PM   #21
signals42
Registered User
 
Join Date: Oct 2004
Posts: 15
Default Re: DK8N, 6800GT & 4GB mem

Quote:
Post your .config
also what size dimm's are you using and in what slots are they in?
Oops, I missed this question.

I'm attaching my .config. And I have 4 1GB Corsair Registered ECC DDR400 dimms (TWINX2048RE-3200). 2 per CPU in DIMM0 and DIMM1.

-Kevin
Attached Files
File Type: txt config.txt (45.3 KB, 176 views)
signals42 is offline   Reply With Quote
Old 10-07-04, 01:53 PM   #22
blueworm
[DEADAGAIN]blueworm
 
blueworm's Avatar
 
Join Date: Mar 2003
Posts: 416
Default Re: DK8N, 6800GT & 4GB mem

You get this line in messages.
Code:
Oct  5 18:07:55 darkstar kernel: Aperture from AGP bridge too small (0 MB)
Oct  5 18:07:55 darkstar kernel: Your BIOS doesn't leave a aperture memory hole
Oct  5 18:07:55 darkstar kernel: Please enable the IOMMU option in the BIOS setup
I see in your .config that it is not set have you tried this?
Code:
CONFIG_GART_IOMMU is not set
Just an Idea!
__________________
Registered linux user #271604 Get Counted! http://counter.li.org/
lianLi PC60, OCZ powerStream 520W PSU, Asus P5N-E SLI, Core 2 duo E6550, 2Gb GEIL, XFX 8800GT, TB SantaCruz
blueworm is offline   Reply With Quote
Old 10-07-04, 02:05 PM   #23
signals42
Registered User
 
Join Date: Oct 2004
Posts: 15
Default Re: DK8N, 6800GT & 4GB mem

Quote:
Originally Posted by blueworm
I see in your .config that it is not set have you tried this?
Code:
CONFIG_GART_IOMMU is not set
Just an Idea!
I tried it originally, but it failed miserably every time, and I can't rmmod it or blacklist it to try the NvAGP driver. So, I disabled it and have been using the standard agpgart/amd64-agp modules since.

Now that I know that things work better if I boot Windows first, I'll try compiling with GART_IOMMU again and booting Windows first to see where it gets me.

(I also just burned an Ubuntu x86 CD and will attempt to install it on the spare drive tonight. At least then I'll be able to tell if it's a 64-bit problem or a Linux [in general] problem.)

-Kevin
signals42 is offline   Reply With Quote
Old 10-07-04, 07:03 PM   #24
signals42
Registered User
 
Join Date: Oct 2004
Posts: 15
Default Re: DK8N, 6800GT & 4GB mem

GART_IOMMU failed with the same "failure" message as before.

Anyway, I just installed Ubuntu Linux x86 (32-bit based on Debian) and while the amd64-agp driver didn't have a problem loading:

Code:
Linux agpgart interface v0.100 (c) Dave Jones
agpgart: Detected AGP bridge 0
agpgart: Setting up Nforce3 AGP.
agpgart: Maximum main memory to use for agp memory: 2830M
agpgart: AGP aperture is 32M @ 0xe0000000
The Nvidia drivers had the mtrr problem again:

Code:
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI interrupt 0000:02:00.0[A] -> GSI 19 (level, low) -> IRQ 19
NVRM: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-6111  Tue Jul 27 07:55:38 PDT 2004
mtrr: type mismatch for e0000000,2000000 old: uncachable new: write-combining
NVRM: AGPGART: unable to set MTRR write-combining
NVRM: not using NVAGP, AGPGART is loaded!!
mtrr: type mismatch for e0000000,2000000 old: uncachable new: write-combining
NVRM: AGPGART: unable to set MTRR write-combining
NVRM: not using NVAGP, AGPGART is loaded!!
And here's the output from 'cat /proc/mtrr'

Code:
reg00: base=0xba000000 (2976MB), size=  32MB: uncachable, count=1
reg01: base=0xbc000000 (3008MB), size=  64MB: uncachable, count=1
reg02: base=0xc0000000 (3072MB), size=1024MB: uncachable, count=1
reg03: base=0x00000000 (   0MB), size=4096MB: write-back, count=1
Does anybody know where I might go to find some documentation as to what the heck MTRRs are for and what write-combining, uncachable, write-back, etc. mean? The mtrr.txt in the kernel documentation tells me how to set them and query them, but not why I'd want to do it, and Google hasn't helped much either.

I've tried to change those, but as soon as I 'disable=XX' any of them the system locks up hard.

I'm really starting to be sorry I bought this thing.

-Kevin
signals42 is offline   Reply With Quote
Reply


Thread Tools

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 On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 12:39 PM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.