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 ... 10, 11, 12 ... 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
pappy_mcfae
Watchman
Watchman


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

PostPosted: Sat Jun 13, 2009 5:02 am    Post subject: Reply with quote

I forgot, for those interested in whether or not reiserfs 3 remains functional (see this thread), I am running using the .30 kernel with standard reiserfs support. No problems.

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


Joined: 19 Apr 2002
Posts: 65
Location: st paul, mn

PostPosted: Sun Jun 14, 2009 3:49 pm    Post subject: Reply with quote

pappy_mcfae wrote:
The .30 kernel has been released. I have .configs ready to go for 2.6.27.25, 2.6.30, 2.6.30-gentoo, and 2.6.30-gentoo-r1 in both x86 and x86_64 flavors.

Coming later this summer, Pappy's seeds moves to a personal machine. Look for further announcements this summer.

Blessed be!
Pappy


can i just use the seed .config + mods i have from the .29 kernel with the .30 or are there huge diffs? so far its working fine.

-=g=-
Back to top
View user's profile Send private message
forkbomb
Tux's lil' helper
Tux's lil' helper


Joined: 22 Apr 2009
Posts: 115

PostPosted: Sun Jun 14, 2009 5:53 pm    Post subject: Reply with quote

Sorry if this has been asked already. I noticed that the kernel seeds have most of the cryptographic algorithms compiled in. Is there much of a benefit to having these? I noticed that emerge hashes source tarballs with RIPEMD-160, SHA1, and SHA256, and I figure I need RSA support for SSH.

Other than that... for example, I never use DES, 3-DES, MD4, SHA384 or 512, Anubis, Tiger, Whirpool, and, well, frankly, I don't manually use most of the compiled in ciphers.

I guess the flipside of the question is whether you can gain much by compiling these out. I doubt they make the kernel image that much larger. But what does a typical install really need?

PS - thanks, Pappy! Great idea and well done.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


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

PostPosted: Sun Jun 14, 2009 8:58 pm    Post subject: Reply with quote

geburns wrote:
pappy_mcfae wrote:
The .30 kernel has been released. I have .configs ready to go for 2.6.27.25, 2.6.30, 2.6.30-gentoo, and 2.6.30-gentoo-r1 in both x86 and x86_64 flavors.

Coming later this summer, Pappy's seeds moves to a personal machine. Look for further announcements this summer.

Blessed be!
Pappy


can i just use the seed .config + mods i have from the .29 kernel with the .30 or are there huge diffs? so far its working fine.

-=g=-

If you wish. I release the .configs as soon as they are released, and I have time to set them up (if new). When doing make oldconfig from .29 to .30, the resulting .config had over two hundred section mismatches. Building from make defconfig results in only one section mismatch.

My experience is it's better to start fresh for major releases. You will have less mismatch errors. While for the most part, those aren't really an issue, there are times that mismatches can result in a no boot.

On the other hand, there is no one who will make you use one of my seeds. I offer them as a courtesy to Gentoo and other Linux users who would rather just plug and play when it comes to their kernel. If your kernel is already working, keep it. If you'd like to see what I do with my seeds, download one and analyze.

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

PostPosted: Sun Jun 14, 2009 9:08 pm    Post subject: Reply with quote

forkbomb wrote:
Sorry if this has been asked already. I noticed that the kernel seeds have most of the cryptographic algorithms compiled in. Is there much of a benefit to having these? I noticed that emerge hashes source tarballs with RIPEMD-160, SHA1, and SHA256, and I figure I need RSA support for SSH.

Other than that... for example, I never use DES, 3-DES, MD4, SHA384 or 512, Anubis, Tiger, Whirpool, and, well, frankly, I don't manually use most of the compiled in ciphers.

I guess the flipside of the question is whether you can gain much by compiling these out. I doubt they make the kernel image that much larger. But what does a typical install really need?

PS - thanks, Pappy! Great idea and well done.

I've been waiting for someone to ask that question. In my perusal of the net while looking for information on wpa_supplicant, I ran across more than one article that recommended compiling all cryptographic services to insure error-free wpa_supplicant operation. I figure what's good for wpa_supplicant is probably good for the rest of the system. There are times that crypto stuff is needed, and I prefer having it ready to go when needed.

I could have opted to set them all up as modules, but that makes for a LOT of modules. While modules do have their place, and in many cases are the only way that certain devices will work, going overboard on setting up modules seemed to defeat the purpose of keeping things small and tidy.

So, to answer, it's one of those personal preference things that came as a result of late night research into the kernel. It may be a bit of overkill, but as of yet, I haven't had a cryptographic related error, and wpa_supplicant works perfectly on pappy-lap.

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


Joined: 22 Apr 2009
Posts: 115

PostPosted: Sun Jun 14, 2009 9:14 pm    Post subject: Reply with quote

Interesting about the wpa_supplicant. As far as what I remember from my wireless class, the only "proper" and essential encryption algorithm that is a part of the WPA and WPA2 standards is AES (which is used in conjunction with TKIP or CCMP as key management protocols). But I suppose it may be possible that for some reason I don't particularly understand, maybe wpa_supplicant expects to see a lot more of the Cryptographic API kernel tree.

I suppose it's possible certain other apps use other hashing algorithms "in the background."

Next time I do a rebuild on the machine in question - a headless box I use as a Samba and NFS server - I'll try stripping out some of the lesser-known algorithms. Shouldn't be a big deal because the machine is wired.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


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

PostPosted: Sun Jun 14, 2009 9:18 pm    Post subject: Reply with quote

Absolutely. As it sits, a kernel seed is supposed to be a stable base on which to build. Once it's working, experiment away! I'm all for it!

Blessed be!
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: 2117
Location: Kentucky

PostPosted: Sun Jun 14, 2009 11:20 pm    Post subject: genkernel and initrd Reply with quote

Earlier, back in May, you mentioned that genkernel can build the initrd automatically. I would like to try this on a system I am bringing up after a motherboard replacement. In actuality, the only thing that is left of the old system is the case and the CD drive. It was 5 years old and served me well.

I run LVM2 for the xfs root filesystem on / so that I can use the snapshot feature to insure the integrity of backups. The new m/b is a Gigabyte with an AMD quad-core and 4 GB of ram and 5 hot swapable SATA drives. I plan to use the first drive for boot, the 3rd, 4th, and 5th as a 3-way RAID-1 mirror, and the 2nd as a work slot where various drives may be mounted at any time. I ultimately plan to use dm_crypt and LUKS to encrypt the RAID-1 mirror, but for now, I am just trying to get the sucker to boot with LVM. It seems that my trusty old AMD64 initrd from another system will not cut it, so as long as I have to make a new initrd, I might as well do it the modern genkernel way.

I have successfully built a bootable kernel that does not use LVM2 or an initrd, so I know I have all the devices configured correctly, etc.

I emerged genkernel and read the man page, but some of the stuff in the /usr/src/linux/Documentation/filesystems/ramfs-rootfs-initramfs.txt file has me concerned. It talks about the "old way" with a separate initrd, which is the only way I ever knew of, and the "new way" with an initramfs linked into the kernel. WHAT IS THIS? 8O

I have been running 2.6 kernels with the "old way" initrd for years, with nash running the linuxrc script and whatever else is needed to support that. Have they buggered that up too? Now what! :evil:

Can somebody please explain this to me. All I want to do is get a bootable system that has the root filesystem under LVM2. I always did it with an initrd file in /boot before. Now what do I need to do? :(
_________________
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: 5999
Location: Pomona, California.

PostPosted: Mon Jun 15, 2009 5:57 am    Post subject: Reply with quote

In only used genkernel once, when I made my own CD boot disk using catalyst. I don't recall the magic I used to make it happen. However, this is the output from genkernel --help:
Code:
pappy-lap ~ # genkernel --help
Gentoo Linux Genkernel 3.4.10.904
Usage:
  genkernel [options] action

Available Actions:
  all            Build all steps
  bzImage         Build only the kernel
  kernel         Build only the kernel and modules
  ramdisk         Build only the ramdisk/initramfs

Available Options:
  Configuration settings
   --config=<file>   genkernel configuration file to use
  Debug settings
   --loglevel=<0-5>   Debug Verbosity Level
   --logfile=<outfile>   Output file for debug info
   --color         Output debug in color
   --no-color      Do not output debug in color
  Kernel Configuration settings
   --menuconfig      Run menuconfig after oldconfig
   --no-menuconfig      Do not run menuconfig after oldconfig
   --gconfig      Run gconfig after oldconfig
   --xconfig      Run xconfig after oldconfig
   --save-config      Save the configuration to /etc/kernels
   --no-save-config   Don't save the configuration to /etc/kernels
  Kernel Compile settings
   --clean         Run make clean before compilation
   --mrproper      Run make mrproper before compilation
   --no-clean      Do not run make clean before compilation
   --no-mrproper      Do not run make mrproper before compilation
   --oldconfig      Implies --no-clean and runs a 'make oldconfig'
   --gensplash      Install framebuffer splash support into initramfs
   --splash      Install framebuffer splash support into initramfs
   --no-splash      Do not install framebuffer splash
   --install      Install the kernel after building
   --no-install      Do not install the kernel after building
   --symlink      Manage symlinks in /boot for installed images
   --no-symlink      Do not manage symlinks
   --no-ramdisk-modules   Don't copy any modules to the ramdisk
   --all-ramdisk-modules   Copy all kernel modules to the ramdisk
   --callback=<...>   Run the specified arguments after the
            kernel and modules have been compiled
   --static      Build a static (monolithic kernel).
  Kernel settings
   --kerneldir=<dir>   Location of the kernel sources
   --kernel-config=<file>   Kernel configuration file to use for compilation
   --module-prefix=<dir>   Prefix to kernel module destination, modules
            will be installed in <prefix>/lib/modules
  Low-Level Compile settings
   --kernel-cc=<compiler>   Compiler to use for kernel (e.g. distcc)
   --kernel-as=<assembler>   Assembler to use for kernel
   --kernel-ld=<linker>   Linker to use for kernel
   --kernel-cross-compile=<cross var> CROSS_COMPILE kernel variable
   --kernel-make=<makeprg> GNU Make to use for kernel
   --utils-cc=<compiler>   Compiler to use for utilities
   --utils-as=<assembler>   Assembler to use for utils
   --utils-ld=<linker>   Linker to use for utils
   --utils-make=<makeprog>   GNU Make to use for utils
   --utils-cross-compile=<cross var> CROSS_COMPILE utils variable
   --utils-arch=<arch>    Force to arch for utils only instead of
            autodetect.
   --makeopts=<makeopts>   Make options such as -j2, etc...
   --mountboot      Mount BOOTDIR automatically if mountable
   --no-mountboot      Don't mount BOOTDIR automatically
   --bootdir=<dir>      Set the location of the boot-directory, default is /boot
  Initialization
   --gensplash=<theme>   Enable framebuffer splash using <theme>
   --gensplash-res=<res>   Select splash theme resolutions to install
   --splash=<theme>   Enable framebuffer splash using <theme>
   --splash-res=<res>   Select splash theme resolutions to install
   --do-keymap-auto   Forces keymap selection at boot
   --no-keymap      Disables keymap selection support
   --evms         Include EVMS support
            --> 'emerge evms' in the host operating system
            first
   --evms2         Include EVMS support
            --> 'emerge evms' in the host operating system
            first
   --lvm         Include LVM support
   --lvm2         Include LVM support
   --mdadm         Copy /etc/mdadm.conf to initramfs
   --dmraid      Include DMRAID support
   --multipath      Include Multipath support
   --slowusb      Enables extra pauses for slow USB CD boots
   --bootloader=grub   Add new kernel to GRUB configuration
   --linuxrc=<file>   Specifies a user created linuxrc
   --busybox-config=<file>   Specifies a user created busybox config
   --disklabel      Include disk label and uuid support in your
            ramdisk
   --luks         Include LUKS support
            --> 'emerge cryptsetup-luks' with USE=-dynamic
   --no-busybox    Do not include busybox in the initramfs.
   --unionfs       Include support for unionfs
   --netboot       Create a self-contained env in the initramfs
   --real-root=<foo> Specify a default for real_root=
  Internals
   --arch-override=<arch>   Force to arch instead of autodetect
   --cachedir=<dir>   Override the default cache location
   --tempdir=<dir>      Location of Genkernel's temporary directory
   --postclear      Clear all tmp files and caches after genkernel has run
  Output Settings
   --kernname=<...>    Tag the kernel and ramdisk with a name:
            If not defined the option defaults to
            'genkernel'
   --minkernpackage=<tbz2> File to output a .tar.bz2'd kernel and ramdisk:
            No modules outside of the ramdisk will be
            included...
   --modulespackage=<tbz2> File to output a .tar.bz2'd modules after the
            callbacks have run
   --kerncache=<tbz2>    File to output a .tar.bz2'd kernel contents
            of /lib/modules/ and the kernel config
            NOTE: This is created before the callbacks
            are run!
   --no-kernel-sources   This option is only valid if kerncache is
            defined. If there is a valid kerncache no checks
            will be made against a kernel source tree
   --initramfs-overlay=<dir>
            Directory structure to include in the initramfs,
            only available on 2.6 kernels
   --firmware
            Enable copying of firmware into initramfs
   --firmware-dir=<dir>
            Specify directory to copy firmware from (defaults
            to /lib/firmware)
   --firmware-files=<files>
            Specifies specific firmware files to copy. This
            overrides --firmware-dir. For multiple files,
            separate the filenames with a comma
   --integrated-initramfs
            Build the generated initramfs into the kernel instead of
            keeping it as a separate file
pappy-lap ~ #

My reading says you'd probably want to enter genkernel --lvm2 --config=<file> all where <file> is your preconfigured .config file (if applicable). As for the crypto stuff, I compile in all crypto algorithms in my seeds, which will be good for your situation as well. Since you're using initramfs, you can set the RAID settings as modules. I believe it will also work if you hard code them in, but I've never tried either way.

You may have to do a bit of experimentation or research to fine tune the process.

Blessed be!
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: 2117
Location: Kentucky

PostPosted: Mon Jun 15, 2009 7:05 pm    Post subject: Reply with quote

I can't figure out where it puts the initrd file it generates. Or does it even geneerate one? I am used to having my /boot/grub/grub.conf look like:
Code:
default 0
timeout 15
splashimage=(hd0,0)/grub/splash.xpm.gz

# 0
title=2.6.29-gentoo-r5
root (hd0,0)
kernel /kernel-2.6.29-gentoo-r5 ramdisk=8192 root=/dev/gentoo/rootfs udev
initrd /initrd-2.6.29-gentoo-r5

I have always generated the initrd file manually. When I tried genkernel just now, with
Code:
genkernel ramdisk --config=.config
it did not leave me any initrd file that I could find.

Do you know where it ends up? :?:
_________________
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: 5999
Location: Pomona, California.

PostPosted: Mon Jun 15, 2009 7:14 pm    Post subject: Reply with quote

No, but I can find out in a few...:)

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

PostPosted: Mon Jun 15, 2009 7:28 pm    Post subject: Reply with quote

I can't even get it to work. Damn...

EDIT: it works with the right incantations. Beware, it will get whatever is in /usr/src/linux. Thank the goddess for /proc/config.gz! /EDIT

Blessed be!
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: 2117
Location: Kentucky

PostPosted: Tue Jun 16, 2009 1:37 am    Post subject: Reply with quote

I found where it puts it: in /boot :!:

Now I have a slightly different problem. I made my initramfs and hooked it as an initrd in my grub.conf and rebooted. Now I get:
Code:
>> Loading modules
   :: Scanning for scai_wait_scan...scai_wait_scan loaded.
>> Activating mdev
>> Scanning for Volume Groups
>> Determining root device...
!! Block device /dev/gentoo/rootfs is not a valid root device...
!! Could not find the root block device in .
   Please specify another value or: press Enter for the same, type "shell" for a shell, or "q" to skip...
root block device() :: _


This is probably not the right place for this problem, but I thought I'd ask anyway. :(
_________________
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: 5999
Location: Pomona, California.

PostPosted: Tue Jun 16, 2009 4:16 am    Post subject: Reply with quote

Moriah wrote:
I found where it puts it: in /boot :!:

Yep, that's where I found it.

Quote:
Now I have a slightly different problem. I made my initramfs and hooked it as an initrd in my grub.conf and rebooted. Now I get:
Code:
>> Loading modules
   :: Scanning for scai_wait_scan...scai_wait_scan loaded.
>> Activating mdev
>> Scanning for Volume Groups
>> Determining root device...
!! Block device /dev/gentoo/rootfs is not a valid root device...
!! Could not find the root block device in .
   Please specify another value or: press Enter for the same, type "shell" for a shell, or "q" to skip...
root block device() :: _


This is probably not the right place for this problem, but I thought I'd ask anyway. :(
My first thought would be that something isn't compiled in the way it's supposed to be, or an etc/fstab issue. I am going to check to see what kind of mess the genkernel I set up gives me. It took long enough.

Blessed be!
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: 2117
Location: Kentucky

PostPosted: Tue Jun 16, 2009 5:09 am    Post subject: Reply with quote

I only used genkernel to make the initramfs; I built the kernel the "normal" way. 8)

Maybe that's the problem! :o

I used this:
Code:
genkernel ramdisk --kernel-config=.config --lvm2
to build the initramfs.

I dropped into a shell at this error and tried a vgscan followed by a vgchange -a y and it found no LVM2 volumes. 8O
_________________
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: 5999
Location: Pomona, California.

PostPosted: Tue Jun 16, 2009 5:18 am    Post subject: Reply with quote

I'm going to reboot after I update the seed thread (new .configs) to see what happens. I've been doing a bit of kernel clean-up and trying out new settings for the next version of the seeds. I'll let you know what I find.

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

PostPosted: Tue Jun 16, 2009 5:36 am    Post subject: Reply with quote

Not much on today's menu; just fresh vanilla 2.6.29.5 in x86 and x86_64 flavors, before the ebuild hits portage. Yay!

The hardened flowers have bloomed. The seeds will debut Saturday as an early Summer Solstice present to one and all.

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

PostPosted: Tue Jun 16, 2009 5:41 am    Post subject: Reply with quote

Moriah wrote:
I only used genkernel to make the initramfs; I built the kernel the "normal" way. 8)

Maybe that's the problem! :o

I used this:
Code:
genkernel ramdisk --kernel-config=.config --lvm2
to build the initramfs.

I dropped into a shell at this error and tried a vgscan followed by a vgchange -a y and it found no LVM2 volumes. 8O


I set one up fresh, as in let genkernel setup the .config. WHAT A MESS! I had to coax it into booting, and I had to coax it to shut down as well. I got pretty much the same error you did. I'm going to try it with a real .config and see how that works out. I'm not holding my breath, mind you. hehe

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

PostPosted: Tue Jun 16, 2009 7:21 am    Post subject: Reply with quote

Scary stuff. With the initrd, even with my works-when-compiled-with-make kernel failed. Curiously, I turned off the initrd line, and the kernel actually boots. I think this might be where you start a new thread on this.

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: Tue Jun 16, 2009 5:04 pm    Post subject: Reply with quote

Ah, the lovely genkernel...

Well I have been using this to make initrd and the rest because of my harddrive setup. I always run make menuconfig after copying in the seed, before I run genkernel.

Firstly here is a section from my genkernel.conf file:
Code:
# Run 'make oldconfig' before compiling this kernel?
OLDCONFIG="no"

# Run 'make menuconfig' before compiling this kernel?
MENUCONFIG="no"

# Run 'make clean' before compilation?
# If set to NO, implies MRPROPER WILL NOT be run
# Also, if clean is NO, it won't copy over any configuration
# file, it will use what's there.
CLEAN="yes"

# Run 'make mrproper' before configuration/compilation?
MRPROPER="yes"

# Override the arch detection?
# ARCH_OVERRIDE="x86"

# Mount BOOTDIR automatically if it isn't mounted?
MOUNTBOOT="yes"

# Make symlinks in BOOTDIR automatically?
# SYMLINK="no"

# Save the new configuration in /etc/kernels upon
# successfull compilation
SAVE_CONFIG="no"

# Use Color output in Genkernel?
USECOLOR="yes"

# Add new kernel to grub?
# BOOTLOADER="grub"

# Clear build cache dir
# CLEAR_CACHE_DIR="yes"

# Genkernel uses an independent configuration for MAKEOPTS, and does not source
# /etc/make.conf . You can override the default setting by uncommenting and
# tweaking the following line. Default setting is set up by
# ${GK_SHARE}/${ARCH_OVERRIDE}/config.sh . The recommended value for -j
# argument is: <number of processors>*<number of cores per processor>+1
MAKEOPTS="-j2"

# Add in LVM support from static binaries if they exist on the system, or
# compile static LVM binaries if static ones do not exist.
LVM="yes"


I have set oldconfig and menuconfig to "no" since I always create a config and save it to /etc/kernels e.g. like this: kernel-config-x86-2.6.29-gentoo-r5
I also set save_config to no (not sure if thats needed since its not running oldconfig or menuconfig).

So, my genkernel command line then looks like this:
Code:
genkernel --initramfs-overlay=/usr/share/v86d --splash=NewTux --splash-res=1280x1024 all


I also use uvesafb on this machine and it creates a silent boot splash as well. It will put it all in /boot, so I only have to update my grub.conf file.

Hope that helps.

Mons
Back to top
View user's profile Send private message
psutokth
Tux's lil' helper
Tux's lil' helper


Joined: 03 Apr 2005
Posts: 121
Location: Lake Champlain

PostPosted: Thu Jun 18, 2009 12:52 pm    Post subject: Nice work Pappy Reply with quote

Hi Pappy, I used your seed for 2.6.30-r1, upgrading from 2.6.27 and thought I'd stop by to thank you and let you know everything works and the kernel part of the boot time dropped from almost 6 seconds to less than 4. I'd never taken the time to evaluate the performance options, but like to remove lots of default kernel options, so your seeds work well for me. Thanks for that and especially for all your work answering people's questions in the forum!
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


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

PostPosted: Thu Jun 18, 2009 8:28 pm    Post subject: Reply with quote

Thanks for the kind words of appreciation. It makes me feel good to know I am helping the cause of weening the world from M$. :)

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

PostPosted: Sun Jun 21, 2009 8:39 am    Post subject: Reply with quote

As promised, I have uploaded .configs for hardened-sources from 2.6.26 to 2.6.29 in both x86 and x86_64 flavors. Please note, these are what I call the Woody Allen series...they are severely insecure! It is up to the user to set their security level. I have ran with one of them fully opened, and it performed as well as any other kernel I've created.

Before using, please refer to the following documents: Doc_1 Doc_2 Doc_3. The last one is old, but is worth it's weight in gold as far as information is concerned.

Bright blessings to all on this Merry Solstice Day.

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

PostPosted: Mon Jun 29, 2009 8:31 am    Post subject: Reply with quote

I was doing a little bit of cleaning up, and I realized that I had been lax in keeping up with tuxonice-sources. My humble apologies. Apparently, when a kernel version changes major version (ie .28 to .29) portage stops pulling in the older (ie .28 ) kernel versions. That's a theory. I'm probably the only person who has so many different kernel sources uncompressed and ready to go. So, I am probably the only person who would ever have this issue.

Anyway, I have uploaded the .configs for 2.6.28-tuxonice-r9, 2.6.28-tuxonice-r10, and 2.6.28-tuxonice-r11 in both x86 and x86_64 flavors. Enjoy!

Blessed be!
Pappy

PS, I have a secret.
_________________
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: 6316
Location: /usr/lib64/lv2

PostPosted: Mon Jun 29, 2009 1:17 pm    Post subject: Reply with quote

Pappy, what processor options in your kernel seed (I'm using .30-r1) are best for this processor?

Code:

processor   : 0
vendor_id   : GenuineIntel
cpu family   : 15
model      : 6
model name   : Intel(R) Pentium(R) D CPU 3.20GHz
stepping   : 4
cpu MHz      : 3200.000
cache size   : 2048 KB
physical id   : 0
siblings   : 2
core id      : 0
cpu cores   : 2
apicid      : 0
initial apicid   : 0
fdiv_bug   : no
hlt_bug      : no
f00f_bug   : no
coma_bug   : no
fpu      : yes
fpu_exception   : yes
cpuid level   : 6
wp      : yes
flags      : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pebs bts pni dtes64 monitor ds_cpl vmx est cid cx16 xtpr pdcm lahf_lm tpr_shadow
bogomips   : 6384.49
clflush size   : 64
power management:

processor   : 1
vendor_id   : GenuineIntel
cpu family   : 15
model      : 6
model name   : Intel(R) Pentium(R) D CPU 3.20GHz
stepping   : 4
cpu MHz      : 3200.000
cache size   : 2048 KB
physical id   : 0
siblings   : 2
core id      : 1
cpu cores   : 2
apicid      : 1
initial apicid   : 1
fdiv_bug   : no
hlt_bug      : no
f00f_bug   : no
coma_bug   : no
fpu      : yes
fpu_exception   : yes
cpuid level   : 6
wp      : yes
flags      : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pebs bts pni dtes64 monitor ds_cpl vmx est cid cx16 xtpr pdcm lahf_lm tpr_shadow
bogomips   : 6383.76
clflush size   : 64
power management:

_________________
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 ... 10, 11, 12 ... 25, 26, 27  Next
Page 11 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