Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Kernel Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 16th February 2009, 19:31
Sahrjd Sahrjd is offline
Junior Member
 
Join Date: Feb 2009
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Default Trouble Compiling 2.6.28 in Kubunutu 8.04

I am attempting to configure, compile and install the 2.6.28 kernel on my Dell D610 Laptop which is currentlly running Kubuntu 8.04, 2.6.24-23 generic.

I was following the tutorial "How To Compile A Kernel - The Ubuntu Way" and was cruising along fine until page 2, step 6. The trouble started with the command "fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers" I followed the advice listed in this thread and avoided typing the fakeroot line verbatim from the tutorial but apparentlly that wasn't enough to keep me ont he right road. What I typed was "sudo fakeroot make-kpkg --initrd --append-to-version=-linux-2.6.28-custom".

There was alot of stuff that scrolled by but the two indicators that I was no longer cruising along but was in fact off the road where:

1) It compelted after about 20 seconds and I believe compiling the kernel takes a bit longer then that.

2) The last output to the terminal was "exec debian/rules APPEND_TO_VERSION=-linux-2.6.28-custom INITRD=YES
nothing to be done."

I would be happy to provide the entire termianl output that followed the command "sudo fakeroot make-kpkg --initrd --append-to-version=-linux-2.6.28-custom" if anyone beleives that would help.

If the solution to this issue is already out there on the forum I apoloize. I missed it in my search and I would welcome someone simply directing me to it.

Last edited by Sahrjd; 16th February 2009 at 19:56.
Reply With Quote
Sponsored Links
  #2  
Old 17th February 2009, 15:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

Can you try this?
Code:
cd /usr/src/linux
make clean && make mrproper
cp /boot/config-`uname -r` ./.config
make menuconfig
make-kpkg clean
fakeroot make-kpkg --initrd --append-to-version=-custom kernel_image kernel_headers
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 17th February 2009, 16:43
Sahrjd Sahrjd is offline
Junior Member
 
Join Date: Feb 2009
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Default

For some reasont he command "sudo cp /boot/config-`uname -r` ./.config" is returning the message "cp: cannot stat '/boot/config-uname -r': No such file or directory".

I have run through the entire How To twice now and never had issues with that command.

I knwo I could go on without it but I really don't want to config the kernel and miss something essential.

Any ideas what I may have done wrong?
Reply With Quote
  #4  
Old 18th February 2009, 20:30
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

What are the outputs of
Code:
uname -r
and
Code:
ls -la /boot/
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 18th February 2009, 21:02
Sahrjd Sahrjd is offline
Junior Member
 
Join Date: Feb 2009
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Default

upgraded from 8.04 to 8.10 last night.

Now my wireless networking (802.11 or GSM) no longer work. I will trywired when I get home tonight.

I will try get the output you asked for tonight and post it here.

Last edited by Sahrjd; 18th February 2009 at 21:09.
Reply With Quote
  #6  
Old 19th February 2009, 02:04
Sahrjd Sahrjd is offline
Junior Member
 
Join Date: Feb 2009
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Wierd....I upgraded from 8.04 to 8.10 via 802.11 wireless. Now non of my network connections work (802.11, GSM, or wired). I am not usign static IPs. I will look around and once I get this resolved get back to the kernel compiling.
Reply With Quote
  #7  
Old 19th February 2009, 20:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,711
Thanks: 1,899
Thanked 2,702 Times in 2,545 Posts
Default

What's in /etc/network/interfaces? Have you tried to configure your network connections in NetworkManager?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #8  
Old 20th February 2009, 00:13
Sahrjd Sahrjd is offline
Junior Member
 
Join Date: Feb 2009
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I think that network manager is the issue.

I was able to get wired ethernet working via the command: sudo dhclient eth0.

I was able to get wireless (802.11) working via the command: sudo dhclient wlan0

funny thing is wireless never asked for my password for the router (it could have been cached or included in my keyring).

the GSM (Auto Mobile Broadband) will not work though. I am working on that right now. I am using a Sierra Wireless USBConnect Mercury card and got it workign in 8.04 but now no worky.

Last edited by Sahrjd; 20th February 2009 at 00:21.
Reply With Quote
  #9  
Old 20th February 2009, 01:37
Sahrjd Sahrjd is offline
Junior Member
 
Join Date: Feb 2009
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Clearly a Network Manager issue...other had similar issues after upgrading from 8.04 to 8.10. Additionally I can connect by using the tutorial provided by Sierra Wireless.

When I complete all the steps in the tutorial then issue the command pppd call gsm885 in a terminal it connect fine, I am issued and ip and I can work as long as I leave that terminal window alone. Network Manager still says I am disconnected but both Opera and Firefox work and I can use the package manager to down load updates and I can ping people to my hearts content.
Reply With Quote
  #10  
Old 20th February 2009, 01:45
Sahrjd Sahrjd is offline
Junior Member
 
Join Date: Feb 2009
Posts: 12
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

BTW, here are the answers to the below questions:

Quote:
Originally Posted by falko View Post
What are the outputs of
Code:
uname -r
?
2.6.27-11-generic (remember I just upgraded to 8.10 from 8.04)

Quote:
Originally Posted by falko View Post
What are the outputs of
Code:
ls -la /boot/
?
total 29904
drwxr-xr-x 3 root root 4096 2009-02-18 07:19 .
drwxr-xr-x 21 root root 4096 2009-02-18 07:19 ..
-rw-r--r-- 1 root root 422838 2008-11-24 17:47 abi-2.6.24-22-generic
-rw-r--r-- 1 root root 508385 2009-01-29 16:11 abi-2.6.27-11-generic
-rw-r--r-- 1 root root 80062 2008-11-24 17:47 config-2.6.24-22-generic
-rw-r--r-- 1 root root 91358 2009-01-29 16:11 config-2.6.27-11-generic
drwxr-xr-x 2 root root 4096 2009-02-18 11:17 grub
-rw-r--r-- 1 root root 7506752 2008-12-09 06:03 initrd.img-2.6.24-22-generic
-rw-r--r-- 1 root root 7505925 2008-11-28 11:46 initrd.img-2.6.24-22-generic.bak
-rw-r--r-- 1 root root 8153404 2009-02-18 07:15 initrd.img-2.6.27-11-generic
-rw-r--r-- 1 root root 124152 2008-09-11 16:11 memtest86+.bin
-rw-r--r-- 1 root root 905617 2008-11-24 17:47 System.map-2.6.24-22-generic
-rw-r--r-- 1 root root 1031799 2009-01-29 16:11 System.map-2.6.27-11-generic
-rw-r--r-- 1 root root 1074 2009-01-29 16:12 vmcoreinfo-2.6.27-11-generic
-rw-r--r-- 1 root root 1921176 2008-11-24 17:47 vmlinuz-2.6.24-22-generic
-rw-r--r-- 1 root root 2248912 2009-01-29 16:11 vmlinuz-2.6.27-11-generic
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
Virtual Users And Domains With Postfix, Courier And MySQL User Spam Config acoghlan HOWTO-Related Questions 9 11th January 2007 23:20


All times are GMT +2. The time now is 06:31.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.