88905 reported bug

Asked by Bayla

I started out with Midwan's advice on his webblog and got stuck after this:* Install Debian packages "linux-source-2.6.20", "gcc", "libc6-dev", "linux-headers-2.6.20-15-generic", and "linux-kernel-headers".
* cd /usr/src/
* sudo tar jxvf linux-source-2.6.20.tar.bz2
* cd linux-source-2.6.20
* sudo cp /boot/config-2.6.20-15-generic .config
* sudo make oldconfig && sudo make prepare
* cd /lib/modules/2.6.20-15-generic
* sudo ln -s /usr/src/linux-source-2.6.20 build
Download this package to ~/drm.tar.bz2

I don't think I have built the kernel???

This is what happened after I ran the easy installer:

>>about easy installer:
(For those who really need the new kernel modules, but feel uncomfortable with the command line, I put together what I think is a "fool-proof" double-click-able installer script. It has a bunch of error checking so no harm should be done if trying. Maybe a bit of a overkill for this issue here, but I wrote it as a possible basis for other things as well.
1. Download the attached package
2. Double-click on the package to open the archive
3. Click "Extract" to unpack the archive
4. Double-click the newly created "drm-easy-installer" directory (probably on your desktop)
5. Double click on the "easy-module-installer"
Just press Enter for the yes/no questions and enter your password when asked for it. Enjoy!
Note: Downloading the current git today does not work on the current Feisty kernel. Therefore use the version that is shipped with the package, which is the same as in Joachim's post. If you download a "bad" version, just delete it again from the directory, otherwise it will be proposed as the newest candidate for building, instead of the old, working one.
Of course, this is one of these third-party installer script your mother warned you about...<<

Found DRM source directory drm-20070225
Would you like to download the newest 'git' version, instead
of using these sources [y/N]?
Will use existing source drm-20070225
Building from drm-20070225

Makefile:153: *** Cannot find a kernel config file.

Building modules failed!
Leaving build tree in /tmp/tmp.ZNRAH12640
Press Enter to close this window

I'm pretty much a newbie on Linux, really am trying my very best, but
please keep it simple to me since my head starts spinning quite easily
since I am not very familiar with a lot of terms.

Did I do something very wrong? How to continue now?

Advice: Bayla, your system got a little messed up when you followed that _Debian_ weblog. You can fix it with:
cd /lib/modules/2.6.20-15-generic
sudo rm build
sudo ln -s /usr/src/linux-headers-2.6.20-15-generic build

Or by installing the new kernel version -16, which you should do anyway.

My reply:
@Tormod-

I'm sorry but I do not have the knowledge to do such a thing...Is there anywhere where I can look this up or get the command lines on how to do this safely?

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Tormod Volden (tormodvolden) said :
#1

Could you enter these three commands in a Terminal window?
cd /lib/modules/2.6.20-15-generic
sudo rm build
sudo ln -s /usr/src/linux-headers-2.6.20-15-generic build

Revision history for this message
Bayla (bayla) said :
#2

Yes, I did, I'll show you what came up in my terminal, thnx 4 being so helpfull!

bayla@Baylamoon:~$ cd /lib/modules/2.6.20-15-generic
bayla@Baylamoon:/lib/modules/2.6.20-15-generic$ sudo rm build
Password:
bayla@Baylamoon:/lib/modules/2.6.20-15-generic$ sudo ln -s /usr/src/linux-headers-2.6.20-15-generic build
bayla@Baylamoon:/lib/modules/2.6.20-15-generic$
bayla@Baylamoon:/lib/modules/2.6.20-15-generic$

Revision history for this message
Bayla (bayla) said :
#3

Hah! Got it I think

# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/hda1 -- converted during upgrade to edgy
UUID=b836b465-9c63-4548-a67b-0fb1b685cab8 / ext3 defaults,errors=remount-ro 0 1
# /dev/hda5 -- converted during upgrade to edgy
UUID=eaf9efdd-fcd4-448a-903e-d1b3e2c5d2ad none swap sw 0 0
/dev/hdc /media/cdrom0 udf,iso9660 user,noauto 0 0
/dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
~

Ah, and the other info u asked 4:
Question #5363, asked on 2007-04-21 by ibob63
swap space not enabled on start up

Hi,

For some reason or other my swap space doesn't enable on start up, so i load up gnome partition editor to enable it every time I load the

 anyone know how i can set it so that it loads at startup?

Thanks,

James

Revision history for this message
Bayla (bayla) said :
#4

oops, I'm mixing up 2 Q's here..shame on me...

Revision history for this message
Tormod Volden (tormodvolden) said :
#5

Did you get the drm kernel modules working?

Can you help with this problem?

Provide an answer of your own, or ask Bayla for more information if necessary.

To post a message you must log in.