View previous topic :: View next topic |
Author |
Message |
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Tue May 25, 2010 8:29 am Post subject: Pappy's Kernel Seeds Part III<Closed. Please use new thre |
|
|
Welcome to the new thread for Pappy's Kernel Seeds and www.kernel-seeds.org. For those counting, this is the third thread.
For the usual stuff. The site page will be updated later on today to add this new thread. The other threads will also remain accessible.
THREAD #1
THREAD #2
If the main page is down for a long time, please use the failover server.
NeddySeagoon, please make this sticky.
Thanks.
Cheers,
Pappy
Mod Edit: Stickied - tomk _________________ This space left intentionally blank, except for these ASCII symbols.
Last edited by pappy_mcfae on Sat Jul 23, 2011 7:12 pm; edited 1 time in total |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Tue May 25, 2010 8:33 am Post subject: |
|
|
Just in time to celebrate me fixing up three lighting dimmer packs for sale on ebay, the new thread...YAY...and a tuxonice sources version I seemed to have missed somehow, I have just uploaded the .configs for 2.6.32-tuxonice-r8 in both x86 and x86_64 flavors. Enjoy!
Cool...three threads. I never thought it would happen. Thank you to all those who use these threads.
Cheers,
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Tue May 25, 2010 4:51 pm Post subject: |
|
|
HeyPappy,
Does all that stuff you buy on ebay actually work as expected? Do you get what you actually pay for?
Sound's surprising to me. I must be jaded.
Smile
Cheers,
MH. |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Tue May 25, 2010 7:29 pm Post subject: |
|
|
The few things I've bought were in good shape. Everything I've sold has been ready to go. While I'm sure there's lots of crap floating around at ebay, there are some cool bargains.
Cheers,
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Wed May 26, 2010 12:53 am Post subject: |
|
|
Huh surprizing, especially how hippies have so degraded society nowadays. How can anybody be trusted anymore, why I won't even trust my own relatives man! How's that for jaded.
Oh well, guess ya got to take the good with the bad
Cheers friend
MH |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Wed May 26, 2010 4:46 am Post subject: |
|
|
I am a hippie. Technically, I'm more of a sympathizer, at least where their color sensibilities were concerned.
The mobo for the present web server came from ebay. I'm actually thinking about snapping up another one when I get some other things going. Once all the kinks get worked out, that mobo is a screamer.
Cheers,
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
dufeu l33t
Joined: 30 Aug 2002 Posts: 924 Location: US-FL-EST
|
Posted: Wed May 26, 2010 3:13 pm Post subject: |
|
|
Hi Pappy,
Congrats on thread #3! Great job as always.
I'm setting up a vanilla-sources-2.6.34 kernel and using your settings write-up and my current 2.6.33.4 kernel as my guides. Helps in seeing what's changed from .33.X to .34.
On page 8 of the guide in the following section: Code: | [*] Legacy (BSD) PTY support
(64) Maximum number of legacy PTY in use
These settings are another group of silencers. Without these settings, starting a terminal session will result in the non-fatal error: "Out of pty devices." Set up in this fashion, you can open 64 terminal sessions without seeing the error. The number is adjustable. These settings have defaults as shown above. |
This is dated information. Terminal sessions now use: Code: | -*- Unix98 PTY support |
The legacy BSD pty support is only for things like 3rd party serial cards and modems such as 16 serial port Digicom cards.
I originally raised this question in the gentoo forums last year. I subsequently did a bit more research on it. Current versions of xterm, konsole and friends all make use of POSIX standard Unix98 PTY support now.
Today, anyone getting an "Out of pty devices" error should probably check what version of xterm and friends they are running and/or what specialist serial port hardware they may have.
All my kernels now have Legacy (BSD) PTY support turned off.
Under "Unix98 PTY support", nearly everyone wants to leave "Support multiple instances of devpts" off. If I remember correctly, this is (optionally) for people running LNX containers (a type of virtual PC).
This is what ps shows for two instances of 'konsole', each with 4 terminal tabs open: Code: | pyrodyno ~ # ps -ef | grep bash
root 2469 2450 0 May24 tty1 00:00:00 -bash
root 2482 2451 0 May24 tty2 00:00:00 -bash
root 6991 2452 0 May24 tty3 00:00:00 -bash
root 17820 17795 0 May24 pts/0 00:00:00 /bin/bash
root 17823 17790 0 May24 pts/1 00:00:00 /bin/bash
root 17836 17790 0 May24 pts/3 00:00:00 /bin/bash
root 17837 17795 0 May24 pts/2 00:00:00 /bin/bash
root 17847 17795 0 May24 pts/4 00:00:00 /bin/bash
root 17849 17790 0 May24 pts/5 00:00:00 /bin/bash
root 17857 17795 0 May24 pts/7 00:00:00 /bin/bash
root 17858 17790 0 May24 pts/6 00:00:00 /bin/bash
root 24718 17837 0 11:07 pts/2 00:00:00 grep --colour=auto bash
pyrodyno ~ # ps -ef | grep konsole
root 17790 1 0 May24 ? 00:01:39 kdeinit4: konsole [kdeinit] -session 10d4f2e0de000126858638700000025820021_1274670679_962288
root 17795 1 0 May24 ? 00:00:51 kdeinit4: konsole [kdeinit] -session 10d4f2e0de000126897175000000026120019_1274670679_961346
root 24721 17837 0 11:08 pts/2 00:00:00 grep --colour=auto konsole
pyrodyno ~ # |
All the "pts/#" entries are Unix98 PTY instances. _________________ People whom think M$ is mediocre, don't know the half of it. |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Thu May 27, 2010 6:54 am Post subject: |
|
|
Sorry it took so long getting back to you. Busy, busy, busy!
I will have to look at this a bit deeper, but you are most likely correct in this. I'm getting close to finishing things...only a few more pages left for the site. Once I get there, there are a lot of settings getting reset. For now, I'll add this to my list of notes to check for the next iteration of settings.
Cheers,
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Thu May 27, 2010 6:59 am Post subject: |
|
|
It's a source-fest yet again, and this time, even hardened sources are represented in the list of the new. I kid you not!
I have just uploaded .configs for 2.6.27.47, 2.6.32.14, 2.6.32-hardened-r7, 2.6.32-zen7-r1, 2.6.33.5, and 2.6.33-zen2-r1 in both x86 and x86_64 flavors. I also added this discussion thread to the main site page. Enjoy!
Cheers,
Pappy
PS, thanks to tomk for sticky-ing this message. I meant to say that earlier. _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
dufeu l33t
Joined: 30 Aug 2002 Posts: 924 Location: US-FL-EST
|
Posted: Thu May 27, 2010 10:52 am Post subject: |
|
|
pappy_mcfae wrote: | Sorry it took so long getting back to you. Busy, busy, busy! |
No prob. It's not like it's something critical! Heck, I was happy to help actually. The kernel changes so fast that keeping up with what gets "dated" is darned difficult! In fact, this time around, it was the only thing I noticed from your settings descriptions which needs attention.
Of course, it helps I both encountered the problem before and that I've worked at places that still use Digicom serial controllers ... _________________ People whom think M$ is mediocre, don't know the half of it. |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Thu May 27, 2010 10:58 pm Post subject: |
|
|
Sharing that kind of experience makes things better for everyone.
Cheers,
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Fri May 28, 2010 1:29 am Post subject: |
|
|
oh for the love of...
they come out with a 2.6.32-hardened kernel *now*, just my luck. I had to abandon btrfs for my VM's because .29 just wouldn't work (epic mount fail!)
3 or 4 days later a build appears that would have had no issue. And now, I can't well go to .32 because I already made most of my partitions reiserv3 (like to avoid BKL).
" "
*sigh*
at any rate, about to do a .32 build on the brand new KVM guest that will be my irc server. No btrfs, all reiser, hopefully performance doesn't suck.
At least I don't have to go it alone! I'm sure it will be a breeze as always with the seed, will edit my post with feedback (so as to not clutter thread) once it's done. |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Fri May 28, 2010 2:16 am Post subject: |
|
|
Clutter away!! That's what the forum is for.
I was thinking about your issue as I watched that kernel version come up. Frankly, I figured that hardened sources was gone, nevermore to be seen. And there it was, after months and months, another version of hardened sources. Will wonders ever cease?
Cheers,
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Fri May 28, 2010 8:18 am Post subject: |
|
|
well after forgetting to build in BTRFS this time, I panicked, thought "oh no, you mean this release can't mount it either?" (NOTE: I'm positive I included it for the original failures, as I was being more careful, and checked!)
facepalm
anyway, all sorted, rebuilt it, and as per usual it ZOOMS. Strangely it has half the memory of the guest functioning as my web server, seems a hell of a lot snappier (web and mail are both the same - headless kvm guests, 2.6.29, no btrfs). If it weren't for fear of BKL, I'd upgrade the other boxes to this build. Long time coming, but I'm very pleased with the work the hardened folks did on this.
If you're interested - tar'd up dmesg
and of course /proc/config.gz
For anyone else wondering, in order to get the hardware to where the above config worked, twas invoked as:
Code: |
qemu-kvm -drive file=/kvm/irc/irc.img,if=virtio,boot=on -net nic,model=virtio,macaddr=52:54:00:12:34:58 -net tap,ifname=tap2,script=/etc/qemu-ifup -m 1024 -vnc 127.0.0.1:7
|
Host CPU == Phenom 9950
EDIT: This calls for a celebration! I believe a 3AM burger is in order. Then to come back and get inspircd set up on this third box, get backups set up across the network, and so forth.
(Comcast should have never given me this 'business' connection and statics. I'm going to go nuts with this ^_^) _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
|
Moriah Advocate
Joined: 27 Mar 2004 Posts: 2373 Location: Kentucky
|
Posted: Sat May 29, 2010 6:29 pm Post subject: |
|
|
I too was interested in using BTRFS for both VM filesystems, and also for backup storage. It would be fairly easy to try if for backup on my laptop -- just grab another laptop-sized SATA-2 drive of rather large size and run my existing backup scripts on it for a while. Of course, I would still have to run the old scripts, just in case BTRFS flops.
Let me know how it works for you, and after a couple of weeks, I will try it if you find not grief.
I am currently 500 miles from home on a consulting gig, or I might even try it on my network backup server, which is where I really need it. _________________ The MyWord KJV Bible tool is at http://www.elilabs.com/~myword
Foghorn Leghorn is a Warner Bros. cartoon character. |
|
Back to top |
|
|
cach0rr0 Bodhisattva
Joined: 13 Nov 2008 Posts: 4123 Location: Houston, Republic of Texas
|
Posted: Sun May 30, 2010 7:43 am Post subject: |
|
|
Moriah wrote: |
Let me know how it works for you, and after a couple of weeks, I will try it if you find not grief.
|
I've had it on my laptop since the end of March. Seems stable enough (using .33-zen2) but I haven't done any real proper analysis to see if I'm getting any performance benefit. Too lazy!
My primary interest was the subvoluming stuff. Lets me do something like:
Code: |
# <file system> <dir> <type> <options> <dump> <pass>
/dev/mapper/root / ext3 defaults 0 1
/dev/mapper/share /share xfs nodev,logbufs=8 0 1
/dev/mapper/kvm /kvm btrfs defaults 0 1
/dev/mapper/swap swap swap defaults 0 0
/dev/mapper/btrfsvol /tmp btrfs subvol=tmp,nodev,noexec,nosuid,noatime 0 2
/dev/mapper/btrfsvol /usr btrfs subvol=usr,nodev,noatime,compress 0 2
/dev/mapper/btrfsvol /var btrfs subvol=var,noatime,compress 0 2
/dev/mapper/btrfsvol /opt btrfs subvol=opt,nosuid,noatime 0 2
/dev/mapper/btrfsvol /home btrfs subvol=home,nodev,nosuid,noatime,compress 0 2
shm /dev/shm tmpfs nodev,nosuid 0 0
|
I'm still trying to get my head around an issue on this .32-hardened build. Far as I can tell it's leaking kernel memory? Having trouble telling. I just look up and am swapping like crazy, yet, looking at top I see virtually nothing consuming memory. Always surfaces during a significant `emerge`.
If I don't merge anything, however, it performs just dandy! Not sure what's going on - oh well.
But yeah, btrfs that zen includes has been very solid. No issues to report. _________________ Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash |
|
Back to top |
|
|
Moriah Advocate
Joined: 27 Mar 2004 Posts: 2373 Location: Kentucky
|
Posted: Mon May 31, 2010 3:51 am Post subject: |
|
|
I'm not ready to go to zen on my laptop, as it is my road warrior machine, and I need it to earn my living. I am currently still running Linux gehazi 2.6.31-gentoo-r6 #44 SMP PREEMPT Sun Feb 28 20:35:58 EST 2010 x86_64 Intel(R) Core(TM)2 Duo CPU T9400 @ 2.53GHz GenuineIntel GNU/Linux as per my Pappy's Seeds laptop tread from the earlier part of this year. It has been as solid as a rock, so I don't want to rock the boat.
I only want a dedup filesystem for backups, but if it works well at that, I am ready to try it as a vmware virtual disk store aslo, as it sure would save space with multiple vm's. _________________ The MyWord KJV Bible tool is at http://www.elilabs.com/~myword
Foghorn Leghorn is a Warner Bros. cartoon character. |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Mon May 31, 2010 7:29 am Post subject: |
|
|
Hey Pappy,
I knew you be a hippie, or 180 years old on South Fork ranch, or a hillbillie.
At any rate, these days,
I'm using the mrproper defaults (-video drivers, group sched, and a couple other things I know I don't need) for my bzImage
Makes image ~3MB but works great with new hardware.
Example: new nvidia drivers need PCI_MSI to function well. Still works without, but not well.
Surely there are others instances of these.
Cheers,
MH |
|
Back to top |
|
|
Moriah Advocate
Joined: 27 Mar 2004 Posts: 2373 Location: Kentucky
|
Posted: Mon May 31, 2010 2:52 pm Post subject: |
|
|
I've got a weird thing happening. On an AMD quad-core, with a 5-bay SATA backplane, I am running the boot drive (a 1TB), a spare drive (also 1TB), and 3 new 2TB drives. Since the drives are new, I am running badblocks on them, as is my usual practice. One of the drives seems to be getting most of the attention, as the top display shows: Code: |
top - 10:42:52 up 69 days, 12:52, 10 users, load average: 3.00, 3.02, 3.00
Tasks: 116 total, 1 running, 115 sleeping, 0 stopped, 0 zombie
Cpu0 : 0.3%us, 0.3%sy, 0.0%ni, 98.7%id, 0.7%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu1 : 0.0%us, 0.3%sy, 0.0%ni, 99.4%id, 0.3%wa, 0.0%hi, 0.0%si, 0.0%st
Cpu2 : 6.5%us, 2.2%sy, 0.0%ni, 0.0%id, 90.8%wa, 0.6%hi, 0.0%si, 0.0%st
Cpu3 : 0.0%us, 0.7%sy, 0.0%ni, 85.3%id, 12.7%wa, 1.3%hi, 0.0%si, 0.0%st
Mem: 8054480k total, 3201924k used, 4852556k free, 1184k buffers
Swap: 0k total, 0k used, 0k free, 2701852k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
18658 root 20 0 10420 936 680 D 8 0.0 149:57.07 badblocks -wv /dev/sdc
18592 root 20 0 10420 944 680 D 1 0.0 54:57.51 badblocks -wv /dev/sdb
18737 root 20 0 10420 936 680 D 1 0.0 55:05.24 badblocks -wv /dev/sdb
4391 root 20 0 36940 10m 1380 S 0 0.1 197:32.97 Xvnc :1 -desktop X -httpd /usr/share/
1 root 20 0 3832 632 536 S 0 0.0 0:21.79 init [3]
2 root 15 -5 0 0 0 S 0 0.0 0:00.00 [kthreadd]
|
Note the 3 badblocks tasks at the top. the very topmost one is getting 8% of the CPU, and the other 2 are only getting 1% each. Other than this assymetrical cpu usage, the top drive is also way ahead of the other 2 drives in its progress with the surface test.
Why should this be? Is this maybe a crummy hardware implementation of SATA? A scheduling problem in the kernel, or what? There is plenty of free cpu time, after all, it is a quad core. _________________ The MyWord KJV Bible tool is at http://www.elilabs.com/~myword
Foghorn Leghorn is a Warner Bros. cartoon character. |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Mon May 31, 2010 3:45 pm Post subject: |
|
|
Moriah,
Seems alright to me, what sys-process/htop report.
Htop is usually more accurate that top, and provides a nicer, fuller output.
I also got me a new pair of 1TB WD SATA3 drives. Nice. Didn't do badblocks though. Raided them up. Works like a charm. Dream machine.
Later dude.
Cheers,
MH |
|
Back to top |
|
|
aderesch Tux's lil' helper
Joined: 06 Mar 2010 Posts: 123 Location: Hamburg, Germany
|
Posted: Mon May 31, 2010 3:52 pm Post subject: |
|
|
Moriah wrote: | Code: |
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
18658 root 20 0 10420 936 680 D 8 0.0 149:57.07 badblocks -wv /dev/sdc
18592 root 20 0 10420 944 680 D 1 0.0 54:57.51 badblocks -wv /dev/sdb
18737 root 20 0 10420 936 680 D 1 0.0 55:05.24 badblocks -wv /dev/sdb
4391 root 20 0 36940 10m 1380 S 0 0.1 197:32.97 Xvnc :1 -desktop X -httpd /usr/share/
1 root 20 0 3832 632 536 S 0 0.0 0:21.79 init [3]
2 root 15 -5 0 0 0 S 0 0.0 0:00.00 [kthreadd]
|
Note the 3 badblocks tasks at the top. the very topmost one is getting 8% of the CPU, and the other 2 are only getting 1% each. Other than this assymetrical cpu usage, the top drive is also way ahead of the other 2 drives in its progress with the surface test.
|
It seems you started two of those jobs on the same drive (sdb), so they would compete for drive access. Did you maybe want to start one on sdd instead?
ad |
|
Back to top |
|
|
Moriah Advocate
Joined: 27 Mar 2004 Posts: 2373 Location: Kentucky
|
Posted: Mon May 31, 2010 5:25 pm Post subject: |
|
|
Yikes! So I did!
I did not notice that. That would certainly explain it, wouldn't it?
I'll fix it right now.
I was hoping that the badblocks would be finished by tomorow night, but now I'm not so sure it will make it. I need to put these drives in service before 1:30 AM EDT Wednesday morning, or I'll miss a day of backups. _________________ The MyWord KJV Bible tool is at http://www.elilabs.com/~myword
Foghorn Leghorn is a Warner Bros. cartoon character. |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Tue Jun 01, 2010 6:26 am Post subject: |
|
|
Another day, lots more tuxonice source releases. I've just uploaded the .configs for 2.6.30-tuxonice-r11, 2.6.31-tuxonice-r11, 2.6.32-gentoo-r10, and 2.6.32-tuxonice-r9 in both x86 and x86_64 flavors. Enjoy!
Cheers,
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
Mike Hunt Watchman
Joined: 19 Jul 2009 Posts: 5287
|
Posted: Tue Jun 01, 2010 9:56 am Post subject: |
|
|
Pappy would I gain any advantage from using a tuxonice image over a gentoo-sources image?
Is there any doc that someone can point me at about this?
This tuxonice appears to be quite popular, for whatever reason. |
|
Back to top |
|
|
pappy_mcfae Watchman
Joined: 27 Dec 2007 Posts: 5999 Location: Pomona, California.
|
Posted: Tue Jun 01, 2010 6:05 pm Post subject: |
|
|
Not really. The big claim to fame of tuxonice is that it's fully set up to handle hibernation. Along with tuxonice sources, you also get some scripts to make this happen as well. If the ability to hibernate is important, then by all means, use tuxonice sources. If it isn't, then stay where you are.
Other than the ability to hibernate, tuxonice sources are vanilla. For that reason, I can say that you really won't gain much if you switch sources unless hibernation isn't working for you under Gentoo sources.
Cheers,
Pappy _________________ This space left intentionally blank, except for these ASCII symbols. |
|
Back to top |
|
|
|
|
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
|
|