| Author |
Message |
Bruce B

Joined: 18 May 2005 Posts: 10824 Location: The Peoples Republic of California
|
Posted: 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
|
|
 |
shroomy_bee

Joined: 28 Jun 2008 Posts: 666
|
Posted: 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
|
|
 |
shroomy_bee

Joined: 28 Jun 2008 Posts: 666
|
Posted: 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
|
|
 |
alcy
Joined: 04 May 2008 Posts: 144
|
Posted: 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
|
|
 |
alcy
Joined: 04 May 2008 Posts: 144
|
Posted: 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
|
|
 |
shroomy_bee

Joined: 28 Jun 2008 Posts: 666
|
Posted: 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
|
|
 |
alcy
Joined: 04 May 2008 Posts: 144
|
Posted: 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
|
|
 |
Bruce B

Joined: 18 May 2005 Posts: 10824 Location: The Peoples Republic of California
|
Posted: 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
|
|
 |
alcy
Joined: 04 May 2008 Posts: 144
|
Posted: 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
|
|
 |
Bruce B

Joined: 18 May 2005 Posts: 10824 Location: The Peoples Republic of California
|
Posted: 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
|
|
 |
alcy
Joined: 04 May 2008 Posts: 144
|
Posted: 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 !
4. The OLPC support in the new kernel was an attraction too.
|
|
Back to top
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: 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
|
|
 |
alcy
Joined: 04 May 2008 Posts: 144
|
Posted: 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
|
|
 |
MU

Joined: 24 Aug 2005 Posts: 13642 Location: Karlsruhe, Germany
|
Posted: Sat 20 Sep 2008, 03:59 Post subject:
|
|
ok, I will have a closer look in some days, thanks
Mark
_________________ my recommended links
|
|
Back to top
|
|
 |
erikson

Joined: 27 Feb 2008 Posts: 735 Location: Ghent, Belgium
|
Posted: 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
|
|
 |
|