Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Pappy's Kernel Seeds Part III<Closed. Please use new thread>
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 21, 22, 23, 24  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
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 38607
Location: 56N 3W

PostPosted: Thu May 26, 2011 7:27 pm    Post subject: Reply with quote

pappy_mcfae,

Keep your finger on this bug, if you don't already.

One of the possible resolutions will affect all your seeds. You may need to add in CONFIG_DEVTMPFS=y so they will boot under the new stage3
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


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

PostPosted: Thu May 26, 2011 7:37 pm    Post subject: Reply with quote

NeddySeagoon,

I found out that ndiswrapper doesn't play well with both settings turned on. Using simply the devtmpfs setting seems to work. I haven't had time to play with it, but I am thinking that since there is so much trouble with this, I might have to add it to the seeds with a new caveat about possible driver flakiness, if I find that ndiswrapper does indeed suffer when devtmpfs is set to autostart at the end of the kernel boot.

I will definitely keep an eye on it.

Cheers,
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2000
Location: Kentucky

PostPosted: Thu May 26, 2011 10:00 pm    Post subject: Reply with quote

I guess the reason I never ran into this bug above is that I use a manually created initramfs so I can boot my maCHINES WITH LVM ON THE ROOT FILESYSTEM, AND IN SOME CASES, WITH A FULLY ENCRYPTED DISK (FOR LAPTOPS).

Oops! Pardon the CAPS_LOCK. :oops:

My initramfs always includes console sda urandom in the dev directory, so that must be solving the problem. I wonder why I don't need null in there too. 8O

Anyway, I just thought I'd share that tidbit of info related to this new bug, as we still, as the gentoo community, seem to be zeroing in on it, and how to deal with it.
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
Trog Dog
Apprentice
Apprentice


Joined: 04 Aug 2007
Posts: 282

PostPosted: Sat May 28, 2011 8:30 am    Post subject: Reply with quote

G'day Pappy

First off thanks for your work I'd still be running genkernel kernels if it wasn't for you and cach0rr0. Here's one that might have slipped passed you though, or do you have a reason for setting CONFIG_XZ_DEC_TEST=y in the 2.6.38-gentoo-r6-x86_64-08.config ?

Help says
Quote:

CONFIG_XZ_DEC_TEST:

This allows passing .xz files to the in-kernel XZ decoder via
a character special file. It calculates CRC32 of the decompressed
data and writes diagnostics to the system log.

Unless you are developing the XZ decoder, you don't need this
and should say N.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


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

PostPosted: Sun May 29, 2011 8:30 am    Post subject: Reply with quote

I turn all encryption and compression utilities on for the simple fact that you might run into the need for such things more readily than others. Since both encryption and compression do keep on with their own bits of development, it's smart to be prepared for when it hits.

I've already seen files with the .xz extension, so hopefully, that means the seeds will be able to decompress them. It's just one of those things that sits around in the kernel doing nothing until needed that's better to have when needed than not.

Cheers,
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: 5854

PostPosted: Sun May 29, 2011 2:46 pm    Post subject: Reply with quote

pappy_mcfae wrote:
Since both encryption and compression do keep on with their own bits of development, it's smart to be prepared for when it hits.



++! 8)

I actually just noticed that for the first time yesterday when I was setting up a lappy with a wireless card. Nice thinkin', bro. 8)
_________________
Gentoo Studio
Gentoo Studio in open beta. Feedback wanted.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


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

PostPosted: Sun May 29, 2011 7:05 pm    Post subject: Reply with quote

::BOW::

Cheers,
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2000
Location: Kentucky

PostPosted: Sun May 29, 2011 7:12 pm    Post subject: Reply with quote

Here's an idea I expressed a week ago in another thread:

https://forums.gentoo.org/viewtopic-p-6695377.html#6695377

but a more restricted version of the same idea would be an an expert system just for kernel configuration. I don't have time to do it, but it might be a good summer intern project for a student. :idea:
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


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

PostPosted: Sun May 29, 2011 7:24 pm    Post subject: Reply with quote

It would be a good way to centralize kernel issues. I hope someone takes the idea and runs with it. I would, but I'm still pursuing music, which takes up some amount of time in the day.

Cheers,
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: 5854

PostPosted: Wed Jun 01, 2011 9:46 pm    Post subject: Reply with quote

Hey Pappy, just wanted to bring this to your attention, as you might want to consider whether to make it a default for seeds:

Code:

 * Messages for package sys-fs/udisks-1.0.2-r3:

 *   CONFIG_USB_SUSPEND:    is not set when it should be.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.


You may have heard of it already...
_________________
Gentoo Studio
Gentoo Studio in open beta. Feedback wanted.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


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

PostPosted: Thu Jun 02, 2011 7:15 am    Post subject: Reply with quote

Audiodef,

I'd prefer that to be something that users set for themselves. I may change my mind, as the time to reconfigure the seeds draws nearer. :Shudder:! I only say that because I have two machines that are running kde-3, which is not compatible because of the hal USE flag.

Everyone,

I'd like to announce that, after many requests, Audiodef has setup another mirror site for kernel-seeds-dot-org. I've added his new URL to the list in my sig. I'd like to thank him for his persistence, and all the work he's done helping me make sure the pages are as wondrous, albeit outdated, as they are.

Cheers,
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: 5854

PostPosted: Fri Jun 03, 2011 1:54 pm    Post subject: Reply with quote

Just want to keep PKS alive and spread the word. :D
_________________
Gentoo Studio
Gentoo Studio in open beta. Feedback wanted.
Back to top
View user's profile Send private message
tuber
Apprentice
Apprentice


Joined: 12 Nov 2004
Posts: 267

PostPosted: Fri Jun 03, 2011 3:36 pm    Post subject: Reply with quote

Let's say I'm running kernel X with the associated Pappy's seed customized to my system. If I want to upgrade to kernel Y, should I download the kernel Y seed and customize it, or just use my current kernel X config with kernel Y?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 38607
Location: 56N 3W

PostPosted: Fri Jun 03, 2011 4:41 pm    Post subject: Reply with quote

tuber,

Copy your current kernel .config file to the new kernel.
In the new kernel, run
Code:
make oldconfig


That silently drops options that are in your .config but not in the new kernel and asks you how you want to configure new options.
The possible option in uppercase is the recommended setting.

This gives you a legal .config for the new kernel. Out of habit, I look over key options with
Code:
make config

Most times, you can continue with the build.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5854

PostPosted: Fri Jun 03, 2011 4:42 pm    Post subject: Reply with quote

You should download and use the kernel Y seed for best results.

However, if you spent a lot of time tweaking your current kernel, I've been told by Pappy that it's perfectly good to use your current seed-based config to upgrade to a higher version of the same kernel. Perhaps you can simply use an existing seed-based config for a different kernel altogether, although I imagine each kernel seed has kernel-specific settings, so I have a feeling it's better to use a fresh seed for a completely different kernel (such as moving from gentoo-sources to tuxonice, zen or vanilla).
_________________
Gentoo Studio
Gentoo Studio in open beta. Feedback wanted.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


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

PostPosted: Sat Jun 04, 2011 8:42 pm    Post subject: Reply with quote

In moving from one kernel to the next, make oldconfig is your friend. While I personally stay in practice by setting up each new kernel I use on one of my machines from a raw seed, there is nothing wrong with moving your old .config to a new source directory and updating it with make oldconfig. The only proviso is to be sure to run make xconfig or make gconfig or make menuconfig to make sure that nothing weird or untoward was added. Usually, even that's not a big thing to do.

Cheers,
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: 5960
Location: Pomona, California.

PostPosted: Mon Jun 06, 2011 6:32 am    Post subject: Reply with quote

Another day, and even though I'm not home, through the magick of ssh and public keys, I was able to set up the seeds while away. That means I've just uploaded .configs for 2.6.38.7, 2.6.38.8, and 2.6.39.1 in both x86 and x86_64 flavors. Enjoy!

Cheers,
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: 5960
Location: Pomona, California.

PostPosted: Tue Jun 07, 2011 9:43 am    Post subject: Reply with quote

Tonight, I am actually home. It was educational being able to setup the seeds remotely. I much prefer being around the other machines, though. I love watching screensavers while I type.

Anyway, only one source out today. I've just uploaded .configs for 2.6.38-gentoo-r7 in both x86 and x86_64 flavors. Enjoy!

Cheers,
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: 5854

PostPosted: Tue Jun 07, 2011 1:38 pm    Post subject: Reply with quote

pappy_mcfae wrote:
I much prefer being around the other machines, though. I love watching screensavers while I type.


Then this room is for you!

Friend of mine on electro-music.com took a tour of FERMI recently and took this video.
_________________
Gentoo Studio
Gentoo Studio in open beta. Feedback wanted.
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2000
Location: Kentucky

PostPosted: Tue Jun 07, 2011 5:02 pm    Post subject: Reply with quote

Yep, process control at a large facility, or a large NOC -- they all look pretty much the same. 8)

I have actually come to enjoy the challenge of running my network remotely. I have an ipeps hardware VNC on a KVM switch so I can see the boot console of any machine (other than laptops), and remote power control so I can force a reboot of a hung machine. I keep a liveCD in the CD drive of each machine so I can reboot the box and go into the BIOS and force a boot from CD instead of the normal disk drive. With this setup, I can do anything except replace a bad piece of hardware, and my wife is asking when I will have little robot to do that remotely for me. :lol:
_________________
The MyWord KJV Bible tool is at http://www.elilabs.com/~myword

Foghorn Leghorn is a Warner Bros. cartoon character.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


Joined: 06 Jul 2005
Posts: 5854

PostPosted: Tue Jun 07, 2011 6:53 pm    Post subject: Reply with quote

Moriah wrote:
my wife is asking when I will have little robot to do that remotely for me.


Won't be long, now... :lol:
_________________
Gentoo Studio
Gentoo Studio in open beta. Feedback wanted.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


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

PostPosted: Wed Jun 08, 2011 6:40 am    Post subject: Reply with quote

I'd love to have all that computer hardware at my disposal. Not quite sure I'd have a job for every machine, but with all those monitors, I bet I could see every screen saver iteration while still doing all the other things I do on my computers.

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


Joined: 05 Apr 2011
Posts: 4
Location: Turkey | Ankara

PostPosted: Thu Jun 09, 2011 9:45 pm    Post subject: Thank you Pappy! Reply with quote

Hello there, first of all, I want to thank you for your seeds dear Pappy. Currently I'm on 2.6.38-gentoo-r6 and I used your 2.6.38-gentoo-r6-x86_64-08.config to optimize my kernel and now I have a pretty stable and fast Funtoo running system.

But I want to report that CONFIG_USB_DEVICEFS which also known as "USB device filesystem (Deprecated)" which was enabled in your config, were causing system to hang for 1 minute while in boot process --> populating /dev with existing devices through uevents.

After disabling it everything go fine with awesomeness.

Thank you so much for your great Kernel Seeds, I'm pretty new to Gentoo/Funtoo Linux and I don't know all of that kernel options. I always prefer a light system that is running stable and all hardware working properly. So that your seed helped me a lot.

Here is my kernel-config if you are interested --> http://pastebin.com/fPTMn4Mr

Thank you!

~shiva shampoo
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


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

PostPosted: Fri Jun 10, 2011 9:52 am    Post subject: Reply with quote

I've let some source collect as I've been trying to tame an unruly x86_64 machine. It's been trying, to say the least. I just uploaded .configs for 2.6.32-hardened-50, 2.6.39-gentoo-r1, and 2.6.39-hardened in both x86 and x86_64 flavors. Enjoy!

Another mirror will be coming on line soon. I'm in the midst of troubleshooting. More to come.

Cheers,
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: 5960
Location: Pomona, California.

PostPosted: Sun Jun 12, 2011 8:25 am    Post subject: Reply with quote

shiva_shampoo,

Love the handle. I took a look at your kernel, and made some minor alterations. For the most part, you did a good job. I'd suggest that you limit down the number of CPU's you have to the true number...unless you truly have eight cores in this machine. If your wired NIC works compiled in, ok, but usually, net drivers work better when they're set as modules...even that one.

Click here for your new .config. Compile as is.

For the best results, please do the following:

1) Move your .config file out of your kernel source directory (/usr/src/linux-2.6.38-gentoo-r6).
2) Issue the command make mrproper. This is a destructive step. It returns the source to pristine condition. Unmoved .config files will be deleted!
3) Copy my .config into your source directory.
4) Issue the command make && make modules_install.
5) Install the kernel as you normally would, and reboot.
6) Once it boots, please post /var/log/dmesg so I can see how things loaded.

Cheers,
Pappy
_________________
This space left intentionally blank, except for these ASCII symbols.
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 ... 21, 22, 23, 24  Next
Page 22 of 24

 
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