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

Newegg Daily Deals

Reply
 
Thread Tools
Old 06-29-07, 10:41 AM   #13
Dragoran
Registered User
 
Join Date: May 2004
Posts: 711
Default Re: RmInitAdapter failed!

for me this happens if I restart X after suspend .. it fails to open /dev/nvidia0 (input/output error). but X work fine after suspend.. as long as I don't restart it.
Dragoran is offline   Reply With Quote
Old 06-29-07, 12:25 PM   #14
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: RmInitAdapter failed!

@Dragoran: that sounds like a different problem with a similar symptom; when I last looked at this particular kexec problem, it actually looked like a kernel bug (it looked like the memory map was being misread). It's probably also worth noting that this problem does not reproduce on Linux/x86.
zander is offline   Reply With Quote
Old 06-29-07, 02:24 PM   #15
Dragoran
Registered User
 
Join Date: May 2004
Posts: 711
Default Re: RmInitAdapter failed!

Quote:
Originally Posted by zander
@Dragoran: that sounds like a different problem with a similar symptom; when I last looked at this particular kexec problem, it actually looked like a kernel bug (it looked like the memory map was being misread). It's probably also worth noting that this problem does not reproduce on Linux/x86.
ok, will open a new thread about it with a bug report later today or tomorrow.
Dragoran is offline   Reply With Quote
Old 06-29-07, 02:58 PM   #16
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: RmInitAdapter failed!

I took another look. The problem appears to be that the kexec-tools modify the memory map, e.g. after a regular boot, the memory map might be:
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000007fff0000 (usable)
BIOS-e820: 000000007fff0000 - 000000007fff3000 (ACPI NVS)
BIOS-e820: 000000007fff3000 - 0000000080000000 (ACPI data)
BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fefffc00 - 00000000ff000000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
On the same system, the kexec'd kernel would be passed a different map:
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000100 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000007fff0000 (usable)
BIOS-e820: 000000007fff0000 - 000000007fff3000 (ACPI NVS)
BIOS-e820: 000000007fff3000 - 0000000080000000 (ACPI data)
BIOS-e820: 00000000e0000000 - 00000000f0000000 (reserved)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fefffc00 - 00000000ff000000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
This is due to an override in the kexec-tool's get_memory_ranges() routines (see e.g. ../kexec/arch/x86_64/kexec-x86_64.c), which include this snippet of code:
/* Don't report the interrupt table as ram */
if (type == RANGE_RAM && (start < 0x100)) {
start = 0x100;
}
Commenting it out fixes the problem.
zander 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Regression with 295.33 and GeForce GT 240 maro NVIDIA Linux 16 06-29-12 06:47 PM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM
kernel: NV0: isr request failed 0xfffffff0 Shark NVIDIA Linux 13 09-11-02 11:01 AM
Red Hat 7.3, tarred 2960 download, NVdriver failed to initialize SparceMatrix NVIDIA Linux 7 09-10-02 12:02 AM
*** Failed cc sanity check. Bailing out! *** help needed Matias NVIDIA Linux 2 08-25-02 02:23 PM

All times are GMT -5. The time now is 03:08 PM.


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