Results 1 to 7 of 7
So to resolve the issue with my G1Sn I need to download the Kernel sources add a few lines and then recompile and install the new files. I found the ...
- 01-18-2009 #1Just Joined!
- Join Date
- Jan 2009
- Location
- Alsip, IL
- Posts
- 4
Downloading Current Kernel Sources - Ubuntu
So to resolve the issue with my G1Sn I need to download the Kernel sources add a few lines and then recompile and install the new files. I found the following lines that are suppose to do it on nVidia's forums:
Here is the code for the patch that was given:Code:# Install Kernel Sources sudo apt-get build-dep linux-image-2.6.24-17-rt sudo apt-get source linux-image-2.6.24-17-rt # Install Kernel Modules Sources sudo apt-get build-dep linux-ubuntu-modules-2.6.24-17-rt sudo apt-get source linux-ubuntu-modules-2.6.24-17-rt # Apply NVRM patch (download the patch first!) sudo patch -p0 < NVRM_512M_fix.txt # Build debs for linux-image & linux-headers cd linux-2.6.24/ sudo cp /boot/config-2.6.24-17-rt debian/config/amd64/config.rt sudo CONCURRENCY_LEVEL=2 AUTOBUILD=1 NOEXTRAS=1 fakeroot debian/rules custom-binary-rt cd .. # Build Kernel Modules cd linux-ubuntu-modules-2.6.24-2.6.24/ sudo CONCURRENCY_LEVEL=2 fakeroot debian/rules binary-debs cd ..
So I got the kernel sources using the following:Code:diff -Naur linux-2.6.24.orig/arch/x86/pci/i386.c linux-2.6.24/arch/x86/pci/i386.c --- linux-2.6.24.orig/arch/x86/pci/i386.c 2008-06-03 20:24:26.000000000 -0400 +++ linux-2.6.24/arch/x86/pci/i386.c 2008-06-03 20:25:40.000000000 -0400 @@ -122,6 +122,10 @@ r = &dev->resource[idx]; if (!r->flags) continue; + if ((r->start == 0xbdf00000) && (r->end == 0xddefffff)) { + r->start = 0xc0000000; + r->end = 0xd0000000; + } pr = pci_find_parent_resource(dev, r); if (!r->start || !pr || request_resource(pr, r) < 0) {
How ever when I get to this next part:Code:# Install Kernel Sources sudo apt-get build-dep linux-image-2.6.27.9-generic sudo apt-get source linux-image-2.6.27.9-generic
I getCode:# Install Kernel Modules Sources sudo apt-get build-dep linux-ubuntu-modules-2.6.27.9-generic sudo apt-get source linux-ubuntu-modules-2.6.27.9-generic
Anyone any ideas what the Kernel Module Source packages are called?... This guide I am trying to follow is obviously dated but it is the only solid lead I have been able to find towards making my ram work...Code:jeff@jeff-ubuntu:~/Kernal$ sudo apt-get build-dep linux-ubuntu-modules-2.6.27.9-generic [sudo] password for jeff: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to find a source package for linux-ubuntu-modules-2.6.27.9-generic
This is the original thread on the NVNEWs boards: Unable to install Nvidia driver on 9500M + Ubuntu - Page 2 - nV News Forums
I tried posting there but it seems like the thread is long dead... anyone here have any ideas how I can download the needed files and maybe how I add these lines to it?
I also started a thread on the ubuntu forums here: [ubuntu] Downloading Current Kernel Sources - Ubuntu Forums
At this point I am basically crawling everyone on the web that looks like it might be helpful trying to solve this issue.... I really do not want to have to go to Vista just to use my full 4 gigs of ram.
Help Please!
~Jeff
- 01-18-2009 #2
may I inquire why you are doing this? Recompiling kernels is a pretty hefty task and can usually be avoided
Bodhi 1.3 & Bodhi 1.4 using E17
Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17
"The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"
- 01-18-2009 #3Just Joined!
- Join Date
- Jan 2009
- Location
- Alsip, IL
- Posts
- 4
Read through that thread I linked to the NVidia forums for a detailed run down of what is wrong.
The semi short version:
There is some sort of issue with the NVidia driver on the G1Sn (and several other Asus Models) and the way the Linux Kernel address memory, the issue results in not being able to use more than 2 Gigs of ram with the Nivida drivers. There is a patch (again check the nvidia forum link) that people said they had applied to fix this issue. At this point I am seriously considering Vista again if I can't get this working I love Ubuntu but I hate having my hardware limited by my software...
So please any ideas where to download the files I need to recompile in the Kernel with the patch I need for my ram to work?
~Jeff
- 01-19-2009 #4
when i look in synaptic for myself I see linux-ubuntu-modules-2.6.24-1 so i'm guessing you should use linux-ubuntu-modules-2.6.27.9
- 01-19-2009 #5Just Joined!
- Join Date
- Jan 2009
- Location
- Alsip, IL
- Posts
- 4
Gah good idea but no dice on that one:
Any other ideas?... I really need to get this workingCode:jeff@jeff-ubuntu:~/Kernal$ sudo apt-get build-dep linux-ubuntu-modules-2.6.27.9 Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to find a source package for linux-ubuntu-modules-2.6.27.9

~Jeff
- 01-19-2009 #6
open synaptic and search for linux-ubuntu-modules and find which one it is
- 01-19-2009 #7
Maybe try this out:
https://help.ubuntu.com/community/Kernel/Compile
I've only had to do this one time so I don't really remember but those instructions seem pretty goodBodhi 1.3 & Bodhi 1.4 using E17
Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17
"The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"


Reply With Quote