Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Announcing Pappy's Kernel Seeds. <closed, use new thread>
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 6, 7, 8 ... 25, 26, 27  Next  
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
alexandervdm
n00b
n00b


Joined: 04 Jan 2007
Posts: 72

PostPosted: Tue Apr 07, 2009 7:50 am    Post subject: Reply with quote

I just came across this page and decided to give it a try for my upgrade to 2.6.29. I was amazed at how fast my kernel finished compiling, and couldn't believe it until I compared the created files:
Code:
-rw-r--r-- 1 root root  14M Apr  2 15:17 initramfs-genkernel-x86_64-2.6.28-gentoo-r4
-rw-r--r-- 1 root root 597K Apr  7 09:44 initramfs-genkernel-x86_64-2.6.29-gentoo-r1

From 14Mb to 600Kb... :o I'm gonna reboot right now to see if I enabled all my devices correctly. Thanks for the seeds and hope to see you soon.

edit: happy customer here ;)
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5997
Location: Pomona, California.

PostPosted: Tue Apr 07, 2009 8:27 am    Post subject: Reply with quote

I just love happy customers!

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
justinkb
Apprentice
Apprentice


Joined: 23 Dec 2008
Posts: 160

PostPosted: Tue Apr 07, 2009 6:55 pm    Post subject: Reply with quote

initramfs != kernel
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5997
Location: Pomona, California.

PostPosted: Tue Apr 07, 2009 7:11 pm    Post subject: Reply with quote

Could you be a little more cryptic?

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
justinkb
Apprentice
Apprentice


Joined: 23 Dec 2008
Posts: 160

PostPosted: Tue Apr 07, 2009 7:20 pm    Post subject: Reply with quote

sure i could, since that wasn't cryptic at all.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5997
Location: Pomona, California.

PostPosted: Wed Apr 08, 2009 4:54 am    Post subject: Reply with quote

Perhaps you'd like to expound...since you seem so confident of what you're saying.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
dufeu
l33t
l33t


Joined: 30 Aug 2002
Posts: 896
Location: US-FL-EST

PostPosted: Wed Apr 08, 2009 3:52 pm    Post subject: Reply with quote

Thanks for putting up the Kernel Seeds. So far, I've found them educational.

In your "Howto Work with Kernel Seeds", you make the following statement:
Code:
Next, move down the left side of the make xconfig screen to the first actual device to install: the hard drive controller. I use the Serial ATA (prod) and Parallel ATA (experimental) drivers (ATA) drivers, hereafter called libata drivers since I have an Intel SATA interface. The libata drivers can be used just as well on machines without any SATA devices. I personally recommend making the switch.

This is fine as far as it goes. However, a little further clarification is, perhaps, called for.

Specifically, if one uses the older ATA drivers, PATA devices are named /dev/hd# whereas the newer ATA drivers {libata} start naming from /dev/sd#. Anyone who is switching from the older drivers to the newer drivers {I agree this is a Good Thing} also needs to modify their /etc/fstab file.

But wait, there's more. If you have mixed PATA and SATA devices, the apparent default naming behaviour is to name the SATA devices first before the PATA devices. If you're transitioning a machine from the old drivers to drivers and you've adjusted your fstab file, be forwarned that adding a new SATA drive later will change your device naming. i.e. If your fstab reflected this arrangement:
Code:
/dev/sda1 <SATA drive0 - 1 partition {/pub perhaps}
/dev/sdb1 <PATA drive0 - partition 1 {/boot}
/dev/sdb2 <PATA drive0 - partition 2 {swap}
/dev/sdb3 <PATA drive0 - partition 3 {/ (root)}

When you add a new SATA drive to this configuration, the new drive will be /dev/sdb and the old PATA drive will shift to /dev/sdc.

In this situation, rebooting will result in a kernel panic when it can't find the system partitions it's looking for.

BTW - I don't use the gentoo kernels as there was generally too much stuff turned on for me to be happy. However, your seeds might give me a handle on the best way to set up minimalist gentoo kernels. That will have to wait for when I have more free time.
_________________
People whom think M$ is mediocre, don't know the half of it.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5997
Location: Pomona, California.

PostPosted: Wed Apr 08, 2009 6:54 pm    Post subject: Reply with quote

dufeu wrote:
Thanks for putting up the Kernel Seeds. So far, I've found them educational.


Awesome. That's exactly what I love to hear.

SNIP
Quote:

In this situation, rebooting will result in a kernel panic when it can't find the system partitions it's looking for.

BTW - I don't use the gentoo kernels as there was generally too much stuff turned on for me to be happy. However, your seeds might give me a handle on the best way to set up minimalist gentoo kernels. That will have to wait for when I have more free time.


You are right about the how-to, but I figured that simpler is better. Presently, since SysRescueCD uses libata drivers, it makes sense to use those drivers, as the disks in the system will have the sd(x) nomenclature while under the SysRescueCD's operating environment. The wherefores don't matter.

My seeds have been used by a few others to do just that. I'm glad I could offer a more useful base to build a better kernel. Enjoy!

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
monsm
Guru
Guru


Joined: 26 Sep 2007
Posts: 467
Location: London, UK

PostPosted: Wed Apr 08, 2009 10:13 pm    Post subject: Reply with quote

pappy_mcfae wrote:
dufeu wrote:
Thanks for putting up the Kernel Seeds. So far, I've found them educational.


Awesome. That's exactly what I love to hear.



Good isn't it? Its not often you end up learning more when things are made simpler. I think the detail of the kernel configuration was too overwhelming before. By having the split with some of it set in the seed and then having to just set the devices, you end up learning how to find your devices. You also end up looking at what is set in the seed and why.

8)

Mons
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5997
Location: Pomona, California.

PostPosted: Thu Apr 09, 2009 6:04 am    Post subject: Reply with quote

Yes, I found it weird that make defconfig never resulted in a working system for me. I was scared to work with the kernel at first, if you can believe. Now, I think I can safely say I've configured over two hundred kernels, give or take a few tens. Some getting over the fear.

And, as far as I'm concerned, anything that brings Linux that one bit closer to the n00b is good!

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Gordex
n00b
n00b


Joined: 10 Jul 2008
Posts: 26

PostPosted: Thu Apr 09, 2009 8:21 am    Post subject: Reply with quote

Just tried ur x86_64 seed and everything worked out smoothly. Thanks and keep up the good work!
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5997
Location: Pomona, California.

PostPosted: Thu Apr 09, 2009 6:41 pm    Post subject: Reply with quote

You're most welcome!

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Wed Apr 15, 2009 7:05 am    Post subject: Reply with quote

didnt see it in here, though admittedly i only skimmed

any thoughts on a hardened-sources branch geared towards the server side of things?

just something that popped up in my brain. not sure if it's even feasible really - am doing a server rebuild (finally), feeling a bit lazy.

used the x86 seeds a while back for a lappy - top stuff, cheers for that. Just getting so...so...so lazy in my old age
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5997
Location: Pomona, California.

PostPosted: Wed Apr 15, 2009 7:35 am    Post subject: Reply with quote

It's funny you should ask. I've just recently begun thinking about the possibility of adding more sources to the mix. I've been playing a bit with zen kernels, and I've also recently started stockpiling tuxonice sources because it seems that incorrect .configs know no bounds.

For now, use the base .config for the hardened version you wish. That is, if you have 2.6.28-hardened-r4, you'd use the 2.6.28 .config for whichever architecture (x86 or x86_64), and issue make oldconfig. This will set the basics as per my kernel. It will also allow you to yes/no your way through the other stuff. Once you get it working, then you can tweak.

I might think about fast-tracking the idea of adding other .configs. It seems there is a need for it, and the seeds translate well into so many other kernel versions. I will definitely think about it. If it were to go, it would be about a month or so. I'm in the middle of updating the flowers, which means new seed configuration settings will be out soon. That takes priority at the moment.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
cach0rr0
Bodhisattva
Bodhisattva


Joined: 13 Nov 2008
Posts: 4123
Location: Houston, Republic of Texas

PostPosted: Wed Apr 15, 2009 8:43 pm    Post subject: Reply with quote

cool stuff. thanks mate, will keep an ear to the ground!

If i can help with anything that's within my limited knowledge, happy to do so whilst unemployed and as such overloaded with free time
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5997
Location: Pomona, California.

PostPosted: Wed Apr 15, 2009 9:50 pm    Post subject: Reply with quote

I'm in the same boat. It's my free time that brought the seeds into being. I'm hoping to end that soon.

I will keep your offer in mind, though.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5997
Location: Pomona, California.

PostPosted: Thu Apr 16, 2009 8:06 am    Post subject: Reply with quote

Really quick!

My internet is down. I am still alive. I will try to have it up soon. We're switching carriers.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5997
Location: Pomona, California.

PostPosted: Thu Apr 16, 2009 9:36 pm    Post subject: Reply with quote

Whew! That was the FASTEST service change I've ever experienced. The DSL line was ready on time, and the phone guy was here to check the outside interface while I was asleep. I woke just in time to see all the lights turn green on the new DSL modem. About a half hour with tech-desk, and viola, new DSL service without losing a week's worth of internet use.

Will wonders ever cease?

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5997
Location: Pomona, California.

PostPosted: Sat Apr 18, 2009 6:08 am    Post subject: Reply with quote

In between trying to get our internet to work properly, I forced a bit of time to set up .configs for 2.6.28-gentoo-r5 in both x86 and x86_64 flavors. The flowers are still blooming, and I'm getting ready to set up for producing other kernel versions. Too bad I won't get paid for the time it's going to take to do all that. C'est la vie.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6313
Location: /usr/lib64/lv2

PostPosted: Fri Apr 24, 2009 2:33 am    Post subject: Framebuffer issues Reply with quote

Pappy, just wanted to let you know that framebuffer causes my particular system to crash Xorg very frequently, and that it leaves me with no VT. I wanted to mention that because you discuss framebuffer in your seed howto. Let me know if you want me to pass you more specifics. I've had to completely disable framebuffer (actually, menuconfig and xconfig would not let me "disable" it, so I made it a module and simply did not load it).
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5997
Location: Pomona, California.

PostPosted: Fri Apr 24, 2009 5:34 am    Post subject: Reply with quote

What kind of system? Which video card?

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6313
Location: /usr/lib64/lv2

PostPosted: Fri Apr 24, 2009 12:52 pm    Post subject: Reply with quote

It's a Dell Dimension 2400 with a Celeron CPU. It uses an integrated Intel video chip - 8454G, I think.

The odd thing is that I have 2 of these computers, one of which crashes Xorg with framebuffer, and one does not (they run the same kernel with the same seed config). The only fundamental difference between the 2 is one runs Gnome and the other KDE. I don't think that would matter for this purpose, but I'm not the expert. The hardware is identical.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5997
Location: Pomona, California.

PostPosted: Fri Apr 24, 2009 7:41 pm    Post subject: Reply with quote

There are numerous bugs with the i810 chips and anything over 2.6.27, especially if you're using >=xf86-video-intel-2.6.2. Some of the many problems are; X not starting, X not working properly, X starting and running, but no frame buffer after exiting X, and with the now dead gen-tosh, lockup requiring ssh to get into the machine to restart it gracefully.

Yes, it is a problem, but at this point, since both the kernel and the xrf86-video-intel driver are in such flux, it's hard to pin this one down except to say that if you have an i810 derivative (not i915 or better), don't use a .28 or .29 kernel. At the moment, it's still looking like the flux will remain even into the .30 family, so it might not be good to use that kernel version yet.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


Joined: 27 Dec 2007
Posts: 5997
Location: Pomona, California.

PostPosted: Tue Apr 28, 2009 6:23 am    Post subject: Reply with quote

I've just uploaded the .configs for 2.6.29.2 in both x86 and x86_64 flavors. Enjoy.

Also, I believe the flowers will have bloomed by this weekend, and I should have the newest group of settings ready to upload. Yes, version 6 of the kernel seeds are about to make their debut. Look for a surprise along with that.

Blessed be!
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 6313
Location: /usr/lib64/lv2

PostPosted: Tue Apr 28, 2009 2:29 pm    Post subject: Reply with quote

Ack (in both senses)! Thanks for the info. :D

pappy_mcfae wrote:
There are numerous bugs with the i810 chips and anything over 2.6.27, especially if you're using >=xf86-video-intel-2.6.2. Some of the many problems are; X not starting, X not working properly, X starting and running, but no frame buffer after exiting X, and with the now dead gen-tosh, lockup requiring ssh to get into the machine to restart it gracefully.

Yes, it is a problem, but at this point, since both the kernel and the xrf86-video-intel driver are in such flux, it's hard to pin this one down except to say that if you have an i810 derivative (not i915 or better), don't use a .28 or .29 kernel. At the moment, it's still looking like the flux will remain even into the .30 family, so it might not be good to use that kernel version yet.

Blessed be!
Pappy

_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
Display posts from previous:   
This topic is locked: you cannot edit posts or make replies.    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... 6, 7, 8 ... 25, 26, 27  Next
Page 7 of 27

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum