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 ... 17, 18, 19 ... 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
22decembre
Guru
Guru


Joined: 08 May 2010
Posts: 308
Location: Paris, banlieue sud (Massy et alentours)

PostPosted: Tue Apr 05, 2011 6:29 am    Post subject: Reply with quote

Pappy_mcfae : Thank you for that quite great explanation !

Maybe I will try your seeds (what you said about a good "basis" is somewhat I search...)
_________________
Portable Gentoo installé depuis ~fevrier 2010, kde4 ( doc : http://www.22decembre.eu/gentoo-portable/)
Serveur Maison Gentoo depuis ~avril 2010 (doc : http://www.22decembre.eu/gentoo-serveur/)
http://www.22decembre.eu
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


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

PostPosted: Thu Apr 07, 2011 4:48 am    Post subject: Reply with quote

Lots of new zen sources means lots of new seeds. I've just uploaded .configs for 2.6.35.12, 2.6.37-zen20110325, 2.6.38-zen, 2.6.38.1-zen, 2.6.38.2-zen, and 2.6.38-zen20110404 in both x86 and x86_64 flavors. Enjoy!

Finding some of the zen sources can be difficult, as they appear to be in transition again. So, as a public service, I will post links for these sources.

Starting with the easiest: 2.6.35.12, 2.6.37-zen20110325 and 2.6.38-zen20110404 are in portage.

2.6.38-zen: http://git.zen-kernel.org/zen-stable/commit/?id=61493eba2918294ee62855d2943aa563aa301c0d
2.6.38.1-zen: http://git.zen-kernel.org/zen-stable/snapshot/zen-stable-5dae5f51c3c95958381e88f561efd5bc9b7d1bf5.tar.bz2
2.6.38.2-zen: http://git.zen-kernel.org/zen-stable/snapshot/zen-stable-23bd9e55947c108df9720ed24789653704ecd021.tar.bz2

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: 6316
Location: /usr/lib64/lv2

PostPosted: Thu Apr 07, 2011 1:05 pm    Post subject: Reply with quote

I was looking for zen .38 the other day, but now that I have Gentoo 64-bit running the way I want it, I'll probably wait a while before I upgrade my kernel.
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
audiodef
Watchman
Watchman


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

PostPosted: Fri Apr 08, 2011 5:30 pm    Post subject: Reply with quote

I'd like to suggest that CONFIG_BLK_DEV_LOOP=y be the default for seeds. This is an endlessly useful feature!
_________________
Gentoo Studio: A Gentoo-based, professional digital audio workstation OS.
Back to top
View user's profile Send private message
raj7095
n00b
n00b


Joined: 08 Feb 2011
Posts: 59

PostPosted: Sat Apr 09, 2011 1:41 am    Post subject: Reply with quote

audiodef wrote:
I'd like to suggest that CONFIG_BLK_DEV_LOOP=y be the default for seeds. This is an endlessly useful feature!

i agree. i use it a lot and forget to add it each time i use a new kernel seed.
Back to top
View user's profile Send private message
scouter389
n00b
n00b


Joined: 14 Mar 2008
Posts: 22
Location: Chickasha, OK

PostPosted: Tue Apr 12, 2011 9:06 pm    Post subject: kernel 2.6.38 not autoloading modules for devices Reply with quote

Pappy,
Have you heard of a problem with gentoo-sources-2.6.38-r1 not autoloading modules? I have my kernel configured with your seed and can boot the machine but I have to load the radeon kms driver and the network drivers. my system loads the modules fine on 2.6.37 but not on 2.6.38. any suggestions?
_________________
I am root. Obey me.
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


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

PostPosted: Wed Apr 13, 2011 8:06 am    Post subject: Re: kernel 2.6.38 not autoloading modules for devices Reply with quote

scouter389 wrote:
Pappy,
Have you heard of a problem with gentoo-sources-2.6.38-r1 not autoloading modules? I have my kernel configured with your seed and can boot the machine but I have to load the radeon kms driver and the network drivers. my system loads the modules fine on 2.6.37 but not on 2.6.38. any suggestions?


No. I'm using 2.6.38.2-zen, which is autoloading the wired NIC. The only module I ever have to load via the /etc/conf.d/modules is ndiswrapper. As far as I know, kernel native modules autostart at boot time, when needed.

As for radeon and KMS, if you want to use it, turn it on. Don't set it as a module, because that could make things unstable. Frankly, I'd only worry about using KMS if the newest radeon drivers demand that you use KMS. If the Intel driver gave me a choice, I'd go back to the good, old, VESA frame buffer. And while I am freezing this machine at xorg-server-1.7.7-r1 for the sake of KDE-3, The best stable Intel video driver still forces me to use KMS.

As far as network drivers, which one(s) specifically? If you're talking about wireless networking that's not kernel native, such as ndiswrapper, that module must be invoked in /etc/conf.d/modules. If you're talking about kernel native wired NIC drivers, those do not need to be actively invoked to activate. They should start automatically.

Now, if you've had other kernel source that has allowed these things to operate properly, double-check your configuration against the better running source. If not, there may be other things afoot. Boot with the .38 kernel, and post /var/log/dmesg so I can see what's happening. Then do the same with the .37. I'm betting there are some settings that aren't right.

If you'd like, start a new thread, paste a link to it here, and post the following information therein: the results of lspci -n and cat /proc/cpuinfo, your /etc/fstab file, and your .38 .config. I'll see what I can see.

If it turns out that you have located some real bugs, then you can write a bug report. If not, we'll surely figure out what's happening.

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

PostPosted: Wed Apr 13, 2011 4:40 pm    Post subject: Reply with quote

Pappy, I have my laptop running intel from January a year ago. The recent upgrades break it. How do I lock it into the old intel/vesa video?
_________________
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: 5998
Location: Pomona, California.

PostPosted: Wed Apr 13, 2011 8:47 pm    Post subject: Reply with quote

Moriah wrote:
Pappy, I have my laptop running intel from January a year ago. The recent upgrades break it. How do I lock it into the old intel/vesa video?


You would have to walk back to versions that don't act strangely. What version of xorg-server are you using?

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


Joined: 14 Dec 2004
Posts: 101

PostPosted: Thu Apr 14, 2011 4:16 pm    Post subject: Reply with quote

Pappy, I just (once again!) compared my settings with your seeds and found that you'd selected HZ_1500 under processor type and features, any special reason for precisely 1500? I think default is 1000, what is supposed to be the difference?

But, I also found out that virtualbox-modules doesn't compile with HZ=1500, it says it has to be a multiple of 1000. I tried 2000 and that worked fine!

FYI

Keep up the good seeding work!

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


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

PostPosted: Thu Apr 14, 2011 6:46 pm    Post subject: Reply with quote

That setting is cranked up for experimental reasons. Part of the idea of a seed is that it gives more performance since all the settings are more or less maxed for speed.

I've not had trouble using it, but I think that when it's time to redo the web pages, I'll include some words of warning about that setting. I figured since zen-sources allowed for more speed, and had more choices for that setting, I'd crank and see what happens.

So far, so good on my systems, but I do recognize that some systems, for whatever reason, can't handle that setting above 1000Hz, and some can't even handle the 1000Hz. So, if you find that you need to slow that setting down, do so.

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


Joined: 14 Dec 2004
Posts: 101

PostPosted: Thu Apr 14, 2011 7:18 pm    Post subject: Reply with quote

Yeah, sure it's for speed, obviously, and I can confirm that it seems to work fine (on my system - Core2 Duo laptop) for everything (that I know about) with any of the settings 1000, 1500 and 2000 Hz - except for - virtualbox-modules which requires 1000, 2000, etc., and I thought informing about it might help someone from getting stuck at that! But, frankly, I cannot make out if there's any difference between the settings, which made me ask!

But also, I probably stated the question a bit vague... :oops:
I intended to ask where/how one might sense a difference with different timer settings? A higher timer should mean a probability for less waiting time, but for what? My (non-existing) knowledge of the inner kernel spirits eludes me some insight to that matter :)

That is, do you know how/where one perhaps could experience some difference between timer frequencies? (just out of curiosity!)

Regards,
/pste
Back to top
View user's profile Send private message
pappy_mcfae
Watchman
Watchman


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

PostPosted: Thu Apr 14, 2011 10:38 pm    Post subject: Reply with quote

To my understanding, the timer sets the number of interrupts per second that the CPU handles. The higher the Hz, the more interrupts handled per second. This helps the perception of the system being snappier as interrupts are dealt with more quickly. In most cases, this is a desirable thing.

As a matter of fact, some programs actually prefer 1000Hz (such as rosegarden). It is said that 300Hz is best for video playback. I have not personally noted a difference.

This just lets you know it's a good idea to check on the program you're using and to adjust the kernel settings accordingly. It's actually one of the things that I hope to cover in future updates of the page to add the "common sense settings".

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: 6316
Location: /usr/lib64/lv2

PostPosted: Fri Apr 15, 2011 12:24 am    Post subject: Reply with quote

One of the reasons I recommend Pappy's Kernel Seeds for pro-audio on Gentoo is that the timer is set to 1kHz, which is best for audio (technically, the highest possible speed is better for audio).
_________________
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: 5998
Location: Pomona, California.

PostPosted: Fri Apr 15, 2011 5:57 am    Post subject: Reply with quote

Definitely. Audio work requires lots of CPU cycles, and 1000Hz definitely fills that bill.

The downside is the CPU tends to use a bit more power, and certain programs lose track of what they are doing at higher speeds. I have also noted that some machines just don't like the Hz being cranked up so high.

Overall, there have been few problems reported with the timer set that high. Since some programs require 1000Hz, and since I wanted the kernels to rock, I set for the max I could get from everything but zen-sources. Since zen-sources can crank the timer up to 10,000Hz, I go for the lower 1500Hz. Somehow, I get the feeling setting the timer at 10,000Hz could break things that can't keep up, like device drivers, and really picky programs.

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

PostPosted: Fri Apr 15, 2011 8:06 am    Post subject: Reply with quote

I was hoping to have more seeds ready, but kernel.org has still not released the patches for two new versions. I could use the gitweb source, but I much prefer to use patches and portage for setting up my vanilla-sources.

That said, I did just uploaded .configs for 2.6.37-gentoo-r4 and 2.6.38.3 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: 6316
Location: /usr/lib64/lv2

PostPosted: Fri Apr 15, 2011 1:14 pm    Post subject: Reply with quote

pappy_mcfae wrote:
zen-sources can crank the timer up to 10,000Hz,


That's near the upper range of my natural hearing. 8O
_________________
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: 5998
Location: Pomona, California.

PostPosted: Sat Apr 16, 2011 8:07 am    Post subject: Reply with quote

Audiodef,

After what I've done to my ears, I sometimes wonder how I can hear at all.

Everyone,

Kernel.org threw a curve. I've just uploaded .configs for 2.6.32.38, 2.6.33.11, and 2.6.38-gentoo-r2 in both x86 and x86_64 flavors. Enjoy!

What happened to 2.6.32.37 and 2.6.33.10? That's anyone's guess. :?: :?: :?:

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

PostPosted: Sat Apr 16, 2011 8:09 am    Post subject: Reply with quote

Moriah,

I'm still waiting to know which version of xorg-server you're using.

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

PostPosted: Sun Apr 17, 2011 2:58 am    Post subject: Reply with quote

pappy_mcfae wrote:
Moriah wrote:
Pappy, I have my laptop running intel from January a year ago. The recent upgrades break it. How do I lock it into the old intel/vesa video?


You would have to walk back to versions that don't act strangely. What version of xorg-server are you using?

Cheers,
Pappy


Code:

rj@gehazi ~ $ emerge -s xorg
Searching...   
[ Results for search key : xorg ]
[ Applications found : 5 ]

*  x11-base/xorg-drivers
      Latest version available: 1.9
      Latest version installed: 1.9
      Size of files: 0 kB
      Homepage:      http://www.gentoo.org/
      Description:   Meta package containing deps on all xorg drivers
      License:       as-is

*  x11-base/xorg-server
      Latest version available: 1.9.4
      Latest version installed: 1.9.2
      Size of files: 5,070 kB
      Homepage:      http://xorg.freedesktop.org/
      Description:   X.Org X servers
      License:       MIT

*  x11-base/xorg-x11
      Latest version available: 7.4-r1
      Latest version installed: 7.4-r1
      Size of files: 0 kB
      Homepage:      http://xorg.freedesktop.org
      Description:   An X11 implementation maintained by the X.Org Foundation (meta package)
      License:       as-is

*  x11-misc/Xorgautoconfig [ Masked ]
      Latest version available: 0.2.4-r1
      Latest version installed: [ Not Installed ]
      Size of files: 32 kB
      Homepage:      http://dev.gentoo.org/~josejx/Xorgautoconfig.html
      Description:   Xorgautconfig generates xorg.conf files for PPC based computers.
      License:       GPL-2

*  x11-misc/xorg-cf-files
      Latest version available: 1.0.4
      Latest version installed: 1.0.3
      Size of files: 358 kB
      Homepage:      http://xorg.freedesktop.org/
      Description:   Old Imake-related build files
      License:       MIT

rj@gehazi ~ $

_________________
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
cach0rr0
Bodhisattva
Bodhisattva


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

PostPosted: Sun Apr 17, 2011 5:03 am    Post subject: Reply with quote

Moriah,

If it helps, at the moment I'm running i915 with KMS, with the following versioning, and it's been rock solid for me:

Code:

[U] x11-base/xorg-server
     Available versions:  [M]1.7.7-r1 1.9.4 (~)1.9.5 (~)1.10.0.902 {debug dmx doc ipv6 kdrive minimal nptl sdl static-libs tslib +udev xorg}
     Installed versions:  1.9.5(06:43:41 PM 03/30/2011)(ipv6 nptl udev xorg -dmx -doc -kdrive -minimal -static-libs -tslib)

[U] media-libs/mesa
     Available versions:  7.9.1 7.9.2 7.10.1 (~)7.10.2 {+classic debug +gallium gles hardened kernel_FreeBSD llvm motif +nptl pic selinux video_cards_intel video_cards_mach64 video_cards_mga video_cards_nouveau video_cards_r128 video_cards_radeon video_cards_savage video_cards_sis video_cards_tdfx video_cards_via video_cards_vmware}
     Installed versions:  7.10.1(06:41:13 PM 03/30/2011)(classic gallium nptl video_cards_intel -debug -gles -hardened -kernel_FreeBSD -llvm -motif -pic -selinux -video_cards_mach64 -video_cards_mga -video_cards_nouveau -video_cards_r128 -video_cards_radeon -video_cards_savage -video_cards_sis -video_cards_tdfx -video_cards_via -video_cards_vmware)

[I] x11-apps/mesa-progs
     Available versions:  8.0.1
     Installed versions:  8.0.1(01:38:38 AM 03/31/2011)

[I] x11-drivers/xf86-video-intel
     Available versions:  2.8.1 2.9.1 (~)2.10.0-r1 (~)2.11.0 2.13.0 2.14.0 {debug dri}
     Installed versions:  2.14.0(06:46:27 PM 03/30/2011)(dri)

[I] x11-libs/libdrm
     Available versions:  2.4.20-r1!t 2.4.22!t 2.4.23!t (~)2.4.24!t {kernel_linux +libkms static-libs video_cards_intel video_cards_nouveau video_cards_radeon video_cards_vmware}
     Installed versions:  2.4.24!t(06:32:42 PM 03/30/2011)(libkms video_cards_intel -static-libs -video_cards_nouveau -video_cards_radeon -video_cards_vmware)


Running on 2.6.37.5-zen (built from a seed, naturally!)
Chip (from glxinfo): Mesa DRI Mobile Intel® GM45 Express Chipset

If you want to go with vesa and not KMS, you will need to use an older revision of all of the aforementioned, since later versions seem to have a harder requirement (?) of KMS.
_________________
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Apr 17, 2011 10:59 am    Post subject: Reply with quote

Moriah,

The intel video driver has depended on KMS for some versions now.
Neuveau(sp), the open source nvidia driver also requires it.
_________________
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
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2117
Location: Kentucky

PostPosted: Sun Apr 17, 2011 4:00 pm    Post subject: Reply with quote

My concern is that back in January of 2010 I had a terrible time getting the video on this laptop to work properly. I want to use intel mode, instead of Radeon mode, because I do not need fast video and I do like long battery life. I run multiple X servers on this thing, :0 thru :4, and I also need it to start up in console mode, not X mode.

Here is what it is currently running:
Code:

rj@gehazi ~ $ uname -a
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
rj@gehazi ~ $


I want to avoid building a new kernel because the disk is fully encrypted, and it boots from a usb stick, which makes kernel building and testing a bit of a pain. The disk is also running lvm and no partitions, 256 GB SSD.

What is the recommended course of action? I did make an image backup of the drive last night... :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
NeddySeagoon
Administrator
Administrator


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

PostPosted: Sun Apr 17, 2011 5:14 pm    Post subject: Reply with quote

Moriah,

If you stay with that kernel you may not be able to use modern Intel drivers. KMS is stable now but it may not have ben so good in 2.6.31. When you have time, properly update your system. Thats kernel, udev, glibc, Xorg and all the good things that go with it.
A patchwork update will be more trouble than its worth.

I say 'when you have time' because you need to check it out and make everything play nicely with the crypto.
_________________
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
Moriah
Advocate
Advocate


Joined: 27 Mar 2004
Posts: 2117
Location: Kentucky

PostPosted: Sun Apr 17, 2011 5:26 pm    Post subject: Reply with quote

Well, like I said, I made an image of the drive, so I have something I can play with and not break the system I earn my living with. I will have to image the boot stick, and then I am ready to experiment.
_________________
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 ... 17, 18, 19 ... 22, 23, 24  Next
Page 18 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