Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sun 21 Dec 2014, 23:02
All times are UTC - 4
 Forum index » House Training » Users ( For the regulars )
Compiling the new 2.6.26 Kernel for puppy
Moderators: Flash, Ian, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 2 of 4 Posts_count   Goto page: Previous 1, 2, 3, 4 Next
Author Message
Bruce B


Joined: 18 May 2005
Posts: 11131
Location: The Peoples Republic of California

PostPosted: Thu 18 Sep 2008, 00:18    Post_subject:  

trapster wrote:
OK, I give up Bruce. What program is that a picture of?


It's the GUI you referenced earlier. It's part of the kernel source code, you build the configuration program by running the 'make xconfig' command when you are compiling the kernel.

Another configuration utility is ncurses based, you build it by running the 'make menuconfig' command.

_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send_private_message 
shroomy_bee


Joined: 28 Jun 2008
Posts: 666

PostPosted: Thu 18 Sep 2008, 07:38    Post_subject:  

re: going ahead & crashing your system.

How are you meant to get back into your OS to try compiling it again, if it hasn't recompiled correctly?
Back to top
View user's profile Send_private_message Visit_website 
shroomy_bee


Joined: 28 Jun 2008
Posts: 666

PostPosted: Thu 18 Sep 2008, 08:01    Post_subject:  

re: this link from the link in alcy's post -

http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html

What is the Puppy equivalent command to see hw info? The various switches for lspci do not give the info as the link shows.
Back to top
View user's profile Send_private_message Visit_website 
alcy

Joined: 04 May 2008
Posts: 144

PostPosted: Thu 18 Sep 2008, 12:04    Post_subject:  

shroomy_bee wrote:


How are you meant to get back into your OS to try compiling it again, if it hasn't recompiled correctly?


When you compile the new kernel, you get a bzImage or the kernel image. It doesn't replace the existing kernel. You just rename the newly compiled kernel image as vmlinuz-x.x.x and place an entry for it in the menu.lst file. That's it. Now you have the choice of booting linux with whichever kernel version you want. If one gets crashed, you always have the original kernel.
Back to top
View user's profile Send_private_message 
alcy

Joined: 04 May 2008
Posts: 144

PostPosted: Thu 18 Sep 2008, 12:08    Post_subject:  

shroomy_bee wrote:


What is the Puppy equivalent command to see hw info? The various switches for lspci do not give the info as the link shows.


There's an entry for HardInfo hardware information under Menu-->System. You can check it out.
Back to top
View user's profile Send_private_message 
shroomy_bee


Joined: 28 Jun 2008
Posts: 666

PostPosted: Fri 19 Sep 2008, 09:33    Post_subject:  

The Hardware Info on the GUI doesn't do all that info either, was why I asked. I thought it would have, cause I was trying to get it to display info on my motherboard here and the likes of graphics chipsets.
It doesn't show anything on the USBs, nor the PCI cards (in the format in the example).

With the other question I was more meaning that there's more to it than just going ahead; like you say, you'd need to be aware of things like editing the boot menu, as well as,

http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html#CHANGE-PATCHLEVEL

http://www.digitalhermit.com/linux/Kernel-Build-HOWTO.html#BACKUP-CONFIG

It's not much use to find all that out only after you try a failed recompile.
Back to top
View user's profile Send_private_message Visit_website 
alcy

Joined: 04 May 2008
Posts: 144

PostPosted: Fri 19 Sep 2008, 13:02    Post_subject:  

I wonder if I have been too lucky then.

No.

According to the original link I posted, I compile the new kernel in my home directory rather than /usr/src. Also, I have never had to work with patches et al., since I didn't require them (my system worked without them). Backing up .config files can be useful, but hey, I never said I was a pro at this, so use your own discretion too.

Also, HardInfo has been pretty useful to me, since I can already see all the modules that are loaded along with other needed data, including scsi modules et al.
Back to top
View user's profile Send_private_message 
Bruce B


Joined: 18 May 2005
Posts: 11131
Location: The Peoples Republic of California

PostPosted: Fri 19 Sep 2008, 14:30    Post_subject:  

alcy,

Did you succeed? What Puppy version?

As far as modules loaded, I think a lot of modules are internal and you don't seem them loaded, that Barry (or whoever is compiling these days) used a combination of internal modules and external ones.

A modular - monolithic build combination. I've been lucky also, I think it mainly has to do with recognizing what the words mean.

Bruce

_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send_private_message 
alcy

Joined: 04 May 2008
Posts: 144

PostPosted: Fri 19 Sep 2008, 16:17    Post_subject:  

@Bruce

Yes, as far as I know, I did succeed in compiling the kernel for Puppy 4.

Talking of modules, I can tell you what I did, or actually what I think I did.

There were options for building the components into the kernel itself or to compile them as separate modules which could be loaded or unloaded. I went with the former. Also, I should mention that in Puppy actually, I didn't see the options for compiling the components as modules (except a few, like scsi_wait_scan), whereas in Ubuntu I saw the option for compiling as modules in every component.
Back to top
View user's profile Send_private_message 
Bruce B


Joined: 18 May 2005
Posts: 11131
Location: The Peoples Republic of California

PostPosted: Fri 19 Sep 2008, 16:57    Post_subject:  

alcy

Did you recompile it to make if more efficient and refine for your hardware, to get support that wasn't supported, I curious about why, if you wouldn't mind a brief answer.

If you are up to it, I very interested in the details on this offer to explain what you did and etc.

Bruce

_________________
New! Puppy Linux Links Page
Back to top
View user's profile Send_private_message 
alcy

Joined: 04 May 2008
Posts: 144

PostPosted: Sat 20 Sep 2008, 03:20    Post_subject:  

@Bruce

I'd be happy to share.

I had been wanting to do it just for fun, but there were technical reasons too:

1. Puppy 4, with the default kernel was unable to detect my external usb cd drive.

2. I wanted to optimize for the hardware to increase the boot speed.
I got it down from 38.87 seconds to around 30 seconds, which I think is not bad. But, it can be worked on.

3. I am a student and I NEED to know the way around my kernel ! Wink

4. The OLPC support in the new kernel was an attraction too.
Back to top
View user's profile Send_private_message 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Sat 20 Sep 2008, 03:23    Post_subject:  

I would like to build a new Kernel for Muppy, but I am a newbee in this concern.

So I also would appreciate, if someone writes a howto for the current kernel.

Thanks, Mark

_________________
my recommended links
Back to top
View user's profile Send_private_message Visit_website 
alcy

Joined: 04 May 2008
Posts: 144

PostPosted: Sat 20 Sep 2008, 03:55    Post_subject:  

MU wrote:
I would like to build a new Kernel for Muppy, but I am a newbee in this concern.

So I also would appreciate, if someone writes a howto for the current kernel.

Thanks, Mark


Hey Mark.

All I can say is that since you want to compile the kernel for a complete distribution that is meant for people round the world having different hardware specifications, you'll have to follow some standard guides and I have found this site quite useful, especially the FAQ section :

www.kernelnewbies.org
Back to top
View user's profile Send_private_message 
MU


Joined: 24 Aug 2005
Posts: 13644
Location: Karlsruhe, Germany

PostPosted: Sat 20 Sep 2008, 03:59    Post_subject:  

ok, I will have a closer look in some days, thanks Smile

Mark

_________________
my recommended links
Back to top
View user's profile Send_private_message Visit_website 
erikson


Joined: 27 Feb 2008
Posts: 735
Location: Ghent, Belgium

PostPosted: Sat 20 Sep 2008, 15:48    Post_subject:  

alcy wrote:
Puppy 4, with the default kernel was unable to detect my external usb cd drive.

Question: with your recompiled kernel, are you able to boot a Puppy live-CD (containing the recompiled vmlinuz) from external usb cd drive?

_________________
If it ain't broke, don't fix it. --- erikson
hp/compaq nx9030 (1.6GHz/480MB/37.2GB), ADSL, Linksys wireless router
http://www.desonville.net/
Puppy page: http://www.desonville.net/en/joere.puppy.htm

Back to top
View user's profile Send_private_message Visit_website 
Display_posts:   Sort by:   
Page 2 of 4 Posts_count   Goto page: Previous 1, 2, 3, 4 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » House Training » Users ( For the regulars )
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1190s ][ Queries: 12 (0.0197s) ][ GZIP on ]