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 ... 7, 8, 9 ... 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: 5997
Location: Pomona, California.

PostPosted: Tue Apr 28, 2009 6:25 pm    Post subject: Reply with quote

audiodef wrote:
Ack (in both senses)

hehehe A true hardware dog, I see. :)

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: Wed Apr 29, 2009 3:07 am    Post subject: Reply with quote

Pappy:

I am copying my last post to the thread at
Code:

http://forums.gentoo.org/viewtopic-p-5690642.html?sid=615e081ac7142c4fb17f7bfeb3dfa430#5690642

since it has drifted off its original topic, and directly onto this thread's topic.

Quote:

The system I would like to try a seed kernel on is a quad core with 8 GB ram and 5 hot swap sata drives. One of the drives is a 1 TB that hosts the kernel, and 3 others have 1.5 TB drives in them intended to be a 3-way RAID-1 mirror. The final sata slot holds another 1 TB drive, but the slot is intended to be a "work", or "maintenence" slot, and could hold different drives at different times.

There is also a bluray drive, but I have only used it for reading CD's so far. The cost of bluray writable disks is too high to compete with a 1.5 TB hard drive for $139.00 US, so I have given up on the idea of using writable bluray disks.

The desire is to have each of the 3 drives in the RAID be individually whole-disk encrypted, and the root filesystem must be under LVM, so an initrd will be needed. The tiny /boot filesystem will be ext2 in its own partition, and the other filesystems will be XFS.

So, what seed do you recommend that I start with?

And what thread should this be continued on, as it no longer seems to fit the present subject.

Thanks! :D


And in case you haven't guessed it yet, this is indeed a server, not a desktop system. I only use the video board for a boot console; all other interaction is either via ssh or vnc, so while I need X clients on the machine, the only X server it needs is the vncserver.

Although this box doesn't directly face the internet, and hence is not required to be hardened, it wouldn't hurt for it to be.
_________________
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: 5997
Location: Pomona, California.

PostPosted: Wed Apr 29, 2009 4:53 am    Post subject: Reply with quote

Which one I recommend would depend on the results of lspci -n. If the machine has an intel video chip, I'd recommend staying with the .27 family, unless X is right out. If the display is nvidia-based, the .29 versions are rocking. I've heard ATI has problems with .29, but I don't have direct evidence of such. I've only read small rumblings in that direction anyway.

If it is to be on the net, hardening might not be a bad idea. I have configured the basics of hardened sources, but I haven't "hardened" any of my systems...although the though of hardening my web server once I make it a production system will surely be put in motion.

At the moment, I'm working on producing the new seed versions, so things are a bit hectic for me. However, I am planning on chatting with some folks who have production servers as to which settings are best when working with hardened. That is hopefully going to happen within the next 30 days.

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: Wed Apr 29, 2009 5:34 am    Post subject: Reply with quote

This server is a backup server. It backs up all the systems on my network, but it lives deep inside, behind 3 firewalls, and with a NIDS watching over things as well, so it doesn't really need to be hardened -- at least not yet. It is more important to get a box running with the RAID, LVM, XFS filesystem, and whole disk encryption, and to have it really crank with regards to I/O throughput. I mainly purchased the 1.5 TB drives for it because they are mechanically about the same as the 1 TB drives, only they pack a higher bit density per revolution, so the data rate is higher.

The reason for the 3-way RAID-1 mirror is so that a drive can be pulled and the box still has redundancy. The reason for the LVM on the root filesystem is so that it can be snapshotted for its own backup. The reason for the whole-disk encryption is so that a pulled RAID drive can be safely removed from the secured computer room for off-site backup without worry if it gets lost or stolen; the confidentiality of the data is maintained; all you loose is the hardware of the drive. The reason for the bluray was originally to make archival backups, but now its better to just keep them on a regular hard drive, since it is considerably cheaper.

As I mentioned in my previous post, I only use the built-in display hardware for a text-only boot console. I do run X clients on it, but they display on a vncserver's internal X-server, not on the actual hardware display. The hardware display's VGA connector is plugged into a KVM switch that is remotely accessed by an iPEPS KVM-over-IP device, which is basicaly a hardware vnc server.

So here is the lspci -n output:
Code:

baruch ~ # lspci -n
00:00.0 0600: 8086:2980 (rev 03)
00:02.0 0300: 8086:2982 (rev 03)
00:02.1 0380: 8086:2983 (rev 03)
00:1a.0 0c03: 8086:2937 (rev 02)
00:1a.1 0c03: 8086:2938 (rev 02)
00:1a.2 0c03: 8086:2939 (rev 02)
00:1a.7 0c03: 8086:293c (rev 02)
00:1c.0 0604: 8086:2940 (rev 02)
00:1c.4 0604: 8086:2948 (rev 02)
00:1c.5 0604: 8086:294a (rev 02)
00:1d.0 0c03: 8086:2934 (rev 02)
00:1d.1 0c03: 8086:2935 (rev 02)
00:1d.2 0c03: 8086:2936 (rev 02)
00:1d.7 0c03: 8086:293a (rev 02)
00:1e.0 0604: 8086:244e (rev 92)
00:1f.0 0601: 8086:2916 (rev 02)
00:1f.2 0106: 8086:2922 (rev 02)
00:1f.3 0c05: 8086:2930 (rev 02)
01:00.0 0200: 1969:1048 (rev b0)
04:03.0 0c00: 1106:3044 (rev c0)
baruch ~ #

And here is the cat /proc/cpuinfo:
Code:

cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
stepping        : 7
cpu MHz         : 2664.000
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 0
cpu cores       : 4
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
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 syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 lahf_lm
bogomips        : 5346.59
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
stepping        : 7
cpu MHz         : 2664.000
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 1
cpu cores       : 4
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
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 syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 lahf_lm
bogomips        : 5343.20
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 2
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
stepping        : 7
cpu MHz         : 2664.000
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 2
cpu cores       : 4
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
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 syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 lahf_lm
bogomips        : 5343.22
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

processor       : 3
vendor_id       : GenuineIntel
cpu family      : 6
model           : 23
model name      : Intel(R) Core(TM)2 Quad  CPU   Q9450  @ 2.66GHz
stepping        : 7
cpu MHz         : 2664.000
cache size      : 6144 KB
physical id     : 0
siblings        : 4
core id         : 3
cpu cores       : 4
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
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 syscall nx lm constant_tsc arch_perfmon pebs bts rep_good pni monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr sse4_1 lahf_lm
bogomips        : 5343.22
clflush size    : 64
cache_alignment : 64
address sizes   : 36 bits physical, 48 bits virtual
power management:

baruch ~ #

Just for the record, here is the drive info:
Code:

baruch ~ # for d in 0 1 2 3 4 ; do fdisk -l /dev/disk/by-path/pci-0000\:00\:1f.2-scsi-$d\:0\:0\:0 ; done

Disk /dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xa3598ae9

                                           Device Boot      Start         End      Blocks   Id  System
/dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0-part1               1           7       56196   83  Linux
/dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0-part2               8         981     7823655   83  Linux
/dev/disk/by-path/pci-0000:00:1f.2-scsi-0:0:0:0-part3             982      121601   968880150   83  Linux

Disk /dev/disk/by-path/pci-0000:00:1f.2-scsi-1:0:0:0: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/disk/by-path/pci-0000:00:1f.2-scsi-1:0:0:0 doesn't contain a valid partition table

Disk /dev/disk/by-path/pci-0000:00:1f.2-scsi-2:0:0:0: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/disk/by-path/pci-0000:00:1f.2-scsi-2:0:0:0 doesn't contain a valid partition table

Disk /dev/disk/by-path/pci-0000:00:1f.2-scsi-3:0:0:0: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/disk/by-path/pci-0000:00:1f.2-scsi-3:0:0:0 doesn't contain a valid partition table

Disk /dev/disk/by-path/pci-0000:00:1f.2-scsi-4:0:0:0: 1500.3 GB, 1500301910016 bytes
255 heads, 63 sectors/track, 182401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00000000

Disk /dev/disk/by-path/pci-0000:00:1f.2-scsi-4:0:0:0 doesn't contain a valid partition table
baruch ~ #

I do not currently have LVM on this machine, as I was running a lot of disk throughput benchmarks, but this is the current /etc/fstab:
Code:

baruch ~ # cat /etc/fstab
# /etc/fstab: static file system information.
#
# noatime turns off atimes for increased performance (atimes normally aren't
# needed; notail increases performance of ReiserFS (at the expense of storage
# efficiency).  It's safe to drop the noatime options if you want and to
# switch between notail / tail freely.
#
# The root filesystem should have a pass number of either 0 or 1.
# All other filesystems should have a pass number of 0 or greater than 1.
#
# See the manpage fstab(5) for more information.
#

# <fs>                  <mountpoint>    <type>          <opts>          <dump/pass>

# NOTE: If your BOOT partition is ReiserFS, add the notail option to opts.
/dev/sda1               /boot           ext2            noauto,noatime  1 2
/dev/sda3               /               XFS             noatime         0 1
/dev/sda2               none            swap            sw              0 0
/dev/cdrom              /mnt/cdrom      auto            noauto,ro       0 0
/dev/fd0                /mnt/floppy     auto            noauto          0 0

# glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
# POSIX shared memory (shm_open, shm_unlink).
# (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
#  use almost no memory if not populated with files)
shm                     /dev/shm        tmpfs           nodev,nosuid,noexec     0 0
baruch ~ #

So let me know what you think I should start with, seed-wise. :D
_________________
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: 5997
Location: Pomona, California.

PostPosted: Wed Apr 29, 2009 5:43 am    Post subject: Reply with quote

Start with 2.6.27-gentoo-r10. The whole .27 family has been rock solid, and promises to remain that way as the Intel/GEM bugs get squished. Once you get things working there, try the latest .29 and see how that works out. Since it's fairly new, you might not have a problem with the .29. Most problems seem to be with i810 devices.

If you want one, now would be the time to grab it. I'm turning off initrd/initramfs support with my latest setting updates. You'll be safe until the weekend :)

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: Fri May 01, 2009 8:08 pm    Post subject: Reply with quote

The site is currently down until further notice. It's time to update! I will be back to post when things are up and running again.

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: Fri May 01, 2009 9:02 pm    Post subject: Reply with quote

Happy Beltaine one and all!

I thought I'd add a bit of festivity to the day by uploading not only the updated versions of Vanilla and Gentoo sources, but also by adding .configs for Tux-On-Ice sources versions .25-.29. The holes in the Tux-On-Ice sources come from the fact that some of the ebuilds aren't available (unless someone has a private stash). I figured it would be best to support those versions that had workable ebuilds.

Coming in the future: support for hardened sources (as suggested by cach0rr0), and support for zen kernels as well. As far as the hardened sources go, anyone who has set up a server with hardened sources (or many someones...the more the merrier), if you could please send me those .configs so I can analyze them and start working up a set of workable settings. You can post them anonymously if you wish.

I'm already playing with zen kernels, so those settings are pretty much set at this point. I want to wait on releasing those until I get the hardened sources up and running.

Also coming with the next round of new settings (ver -07), I will be dropping support for .22-.24 Gentoo and Vanilla versions. So get 'em now while they're in existence.

Changes in ver -06:
  • Turned off all support for initrd/initramfs and kernel relayfs
  • Removed the ramdisk under Block Devices
  • Turned off EDAC support
  • Set number of CPU's to 32
  • Removed Plug 'N' Play debugging messages
  • Greater consistency of settings
  • Turned on all ACPI settings (except fan) for Tux-On-Ice sources
Come on down and check 'em out!

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: Sat May 02, 2009 9:13 pm    Post subject: Reply with quote

I'm going to try a .27 kernel. I don't need the latest - I just want it to work! Thanks for the advice. Blessed Beltaine to you!

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
pappy_mcfae
Watchman
Watchman


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

PostPosted: Sun May 03, 2009 5:51 am    Post subject: Reply with quote

The .27 family has been reported by some to be the last truly stable kernel that will come for some time. GEM support is supposed to expand, and that can only mean that others are going to get to share in the fun that Intel video users have been "enjoying." :SHUDDER:

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: Sun May 03, 2009 8:00 am    Post subject: Reply with quote

.configs and more .configs. Seems I just get the new settings ironed out and uploaded, and there are more kernel versions coming along needing seeds. I am in the process of uploading new .configs for 2.6.27.22, 2.6.28.10, and 2.6.29-tuxonice-r1 even as I type this. The new html is already there,. and soon, so are the rest of the .configs.

And for those who were wondering why there was nothing in the x86_64 vanilla section...apparently, I forgot to upload those...so they're on their way as well. Ah, and thus the uploading is done. Enjoy!

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: Sun May 03, 2009 10:53 pm    Post subject: Reply with quote

What's GEM?

pappy_mcfae wrote:
The .27 family has been reported by some to be the last truly stable kernel that will come for some time. GEM support is supposed to expand, and that can only mean that others are going to get to share in the fun that Intel video users have been "enjoying." :SHUDDER:

Blessed be!
Pappy

_________________
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: Mon May 04, 2009 4:12 am    Post subject: Reply with quote

I don't recall what the acronym means, but that's what they've been playing with; that's why Intel video chips are getting so weirded out...because of GEM. I had read that there was the possibility of using GEM with other video chipsets.

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 May 04, 2009 6:14 am    Post subject: Reply with quote

According to Wikipedia, GEM is:

Graphics Execution Manager http://en.wikipedia.org/wiki/Graphics_Execution_Manager

Quote:
The GEM (Graphics Execution Manager) is a modern memory manager specialized for use in device drivers for graphics chipsets. It manages graphics memory, controls the execution context and manages the Non-Uniform Memory Access (NUMA) environment on modern graphics chipsets. Multiple applications can share graphics device resources without the need to store and restore the entire graphics card state between changes. GEM ensures conflict-free sharing of data between applications by managing the memory synchronization. It uses many existing kernel subsystems for its operations and hence has a very modest code size.

GEM is included in the Linux kernel from version 2.6.28 on. GEM is also designed to be compatible with "*BSD" kernels.


So it is understandable how it could really screw up your video and crassh the kernel if it was buggy. :(
_________________
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: 5997
Location: Pomona, California.

PostPosted: Mon May 04, 2009 8:10 am    Post subject: Reply with quote

The good news is things are getting a bit more stable on the GEM front. While it's still not all that as far as OpenGL speed and dexterity, xvmc support is superb! I can watch a DVD on pappy-lap without having to change to Windoze. They say the .30 is supposed to really have it down, but I haven't checked out the .30 rc's yet. I am thinking about it, though.

Moriah, thanks for the wiki link.

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


Joined: 15 Apr 2008
Posts: 722
Location: Belgium

PostPosted: Mon May 04, 2009 8:25 am    Post subject: Reply with quote

Hi,

Anything to do to activate GEM ? (Besides having it compiled :D)
Or is it up to the cards (modules) vendors to use it ?

Thanks,
Maxime
_________________
Future is wide open.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


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

PostPosted: Mon May 04, 2009 4:42 pm    Post subject: Reply with quote

You will need (at least) xorg-server-1.5.x, >=libdrm-2.4.5 >=mesa-7.4 >=xf86-video-intel-2.6.0 and a .29 kernel to get all that GEM has. If you have a i810-i855 video chip, it's not quite ready yet...or it wasn't before the computer I had with that chip set died. It works OK for video chip sets >=i915

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


Joined: 08 Jun 2008
Posts: 160
Location: Lyon, France

PostPosted: Tue May 05, 2009 8:27 am    Post subject: Reply with quote

Thank you Pappy, your kernel seed is a nice learning resource :)
I'm pretty much a noob (About two and a half months into Linux - love at the first sight - and even if starting with Gentoo might seem a bit crazy to some, it's what I needed. Only a distro like Gentoo show you right from the beginning what Linux really is). Anyway, I digress here :) I installed my very first Gentoo with genkernel lika lot of people I guess, then I decided to "roll" my own, and it was fun (a bit daunting at first, but fun, and you do learn a lot in the process). Then, I found your seeds, and it's really nice to be able to play with something done by someone who has much more knowledge than I do. Of course, I can't resist to change a few things, that's how I am, can't do much against it :oops: . But it gives me a sane base to start from, and I really like that. Thank you :)
_________________
"Please, forgive my bad English"
Gentoo made me love using my computer again. Thank you to the Gentoo devs and more generally to all the people who makes GNU/Linux possible :)
Back to top
View user's profile Send private message
monsm
Guru
Guru


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

PostPosted: Tue May 05, 2009 12:38 pm    Post subject: Reply with quote

Interessting to see someone starting off by going straight to Gentoo. I always thought that would be ok as long as you are willing to read howtos and forum posts..

Anyway, just to say you can use the seeds with genkernel too. On one of my two machines I have to use initramfs because of my slightly unconventional harddrive setup. What I do on that one is to copy the seed in as .config, then run "make menuconfig". After the new config is saved I copy it to /etc/kernels using the correct naming convention for the configs there. genkernel wil pick up the config from /etc/kernels. There are lots of parametrers for genkernel and I use it to set the splash theme for the boot process too.

On my other machine I just use make directly. Just a single hd there and I haven't bothered with a silent boot splash.

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: Wed May 06, 2009 5:03 am    Post subject: Reply with quote

TheAbu,

I am so happy to read that. It's good to know that my small contribution to Linux is appreciated. It's even better to know that sometimes I do have good ideas. :)

monsm,

I'm happy to read what you wrote as well. Gentoo Rocks!

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: Wed May 06, 2009 7:08 am    Post subject: Reply with quote

Happy Cinco de Mayo + 1. The hombres at gentoo-sources released 2.6.29-gentoo-r3. That means your .configs for x86 and x86_64 have arrived as well at the site. Break out the chips and salsa!

Ole!

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: Wed May 06, 2009 3:56 pm    Post subject: Reply with quote

monsm:

What is with all these people using genkernel to make initrd's, like you can't do it manually? 8O

I have been doing my initrd's manually for 5 years now, as I needed to set up whole-disk encryption, raid, and lvm on the root filesystem. :twisted:

Its no big deal, and there are howto's out there to help. The main thing I needed to learn to make it easier was to download a copy of redhat's nash, which is a shell designed to run initrd's. :D
_________________
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
monsm
Guru
Guru


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

PostPosted: Thu May 07, 2009 11:12 am    Post subject: Reply with quote

Well, for me its just the simplicity of running one command and get it all done in one step (kernel, modules, initrd, boot splash).

Mons
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2117
Location: Kentucky

PostPosted: Fri May 08, 2009 2:37 pm    Post subject: Reply with quote

But does the genkernel method give you all the flexibility to do the things I mentioned? I am not averse to an easier way... :|
_________________
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
monsm
Guru
Guru


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

PostPosted: Sat May 09, 2009 7:07 pm    Post subject: Reply with quote

Moriah wrote:
But does the genkernel method give you all the flexibility to do the things I mentioned? I am not averse to an easier way... :|


Well, far as I know, yes. genkernel will create a default config if you don't provide it with one, but with pappy's work with the seeds, creating you own config its easier and educational, so no problem. You just need to make sure in the parameters that genkernel pick up the config you created beforehand.
There are other tools to help you unpack and adjust the initrd file as well if you want to play with the one genkernel creates. I haven't done that though.

Mons
Back to top
View user's profile Send private message
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2117
Location: Kentucky

PostPosted: Sat May 09, 2009 11:40 pm    Post subject: Reply with quote

You mis-interpreted my question. What I meant was will genkernel generate an initrd that can deal with a root filesystem on a raid-1 mirror where each disk drive is whole disk encrypted, and where LVM manages the space on the /dev/md0 that is on the raid-1? That gets pretty involved getting all those ducks in the same row so you can pivotroot and start running on the desired root filesystem after you boot from the mirrored /boot partition.

I do not like the way genkernel sets up the kernel compared to a kernel set up deliberately before it is built. I understand that the idea behind genkernel is to discover a boot time what the hardware is and then load modules to handle it, and that is necessary for things like a livecd, or in a situation where you frequently change disk drives, video controllers, etc., but its a lousy to run a production server.
_________________
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
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 ... 7, 8, 9 ... 25, 26, 27  Next
Page 8 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