Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Kernel 2.6.38 really impresses!

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
126 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next
Author
Message
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Thu Mar 31, 2011 6:00 pm

For me, 2.6.38 currently mostly impresses with silence. Even 2.6.38.2 didn't fix sound and there are no fixes currently in stable-queue for 2.6.38, so I'm trying to revert the sound tree back to 2.6.37...
Top
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

  • Quote

Post by VinzC » Fri Apr 01, 2011 11:39 am

genstorm wrote:For me, 2.6.38 currently mostly impresses with silence. Even 2.6.38.2 didn't fix sound and there are no fixes currently in stable-queue for 2.6.38, so I'm trying to revert the sound tree back to 2.6.37...
:lol:

So what is your sound chipset?
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
dennisn
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 119
Joined: Sun Aug 01, 2004 6:59 pm
Location: Montreal, Canada
Contact:
Contact dennisn
Website

  • Quote

Post by dennisn » Fri Apr 01, 2011 6:56 pm

I just tried "make oldconfig"ing from 2.6.37, to 2.6.38.2, as I've done countless times before, except this time something is seriously wrong -- the second grub loads the new kernel, there is an endless stream of backtrace-type debug messages that flood my screen -- I have no way of reading what's going on. What the heck happened?!?
Top
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

  • Quote

Post by VinzC » Sat Apr 02, 2011 11:20 pm

dennisn wrote:I just tried "make oldconfig"ing from 2.6.37, to 2.6.38.2, as I've done countless times before, except this time something is seriously wrong -- the second grub loads the new kernel, there is an endless stream of backtrace-type debug messages that flood my screen -- I have no way of reading what's going on. What the heck happened?!?
Weird. That's how I usually configure/install new kernels too...
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
jbouzan
Tux's lil' helper
Tux's lil' helper
Posts: 138
Joined: Fri Nov 23, 2007 6:18 pm

  • Quote

Post by jbouzan » Sat Apr 02, 2011 11:22 pm

VinzC wrote:
dennisn wrote:I just tried "make oldconfig"ing from 2.6.37, to 2.6.38.2, as I've done countless times before, except this time something is seriously wrong -- the second grub loads the new kernel, there is an endless stream of backtrace-type debug messages that flood my screen -- I have no way of reading what's going on. What the heck happened?!?
Weird. That's how I usually configure/install new kernels too...
I did that and it works fine. Bad compile perhaps? I once had a kernel that didn't work, and with no changes to its .config it worked after a recompile. File corruption or something. Or perhaps support for some hardware was dropped, which your computer needed.
Top
wuzzerd
Guru
Guru
Posts: 467
Joined: Wed Jan 05, 2005 4:43 am
Location: New Mexico

  • Quote

Post by wuzzerd » Sun Apr 03, 2011 12:02 am

In a new install using the exact same 2.6.38.2 there was no sound although it worked in the old borked install. The sound card(s) , mixers etc. all showed up in /dev. Yesterday it started working after an emerge -uDN world. Go figure. I did switch from the default profile to desktop.
Top
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

  • Quote

Post by VinzC » Mon Apr 04, 2011 7:16 am

The only serious glitch I'm experiencing so far is a kernel Oops in TTM. I have noted down the message partly but it always occurs while the screensaver is active. It looks like a threading issue. Will post what I have noted down later in this thread. Since I've installed 2.6.38-gentoo-r1 I get this panic message when the screensaver is active. Until then the panic message only occurred when unlocking the screen (or cancelling the saver).
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
dennisn
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 119
Joined: Sun Aug 01, 2004 6:59 pm
Location: Montreal, Canada
Contact:
Contact dennisn
Website

  • Quote

Post by dennisn » Tue Apr 05, 2011 4:49 pm

2.6.38.2 also broke my resuming from hibernation, which was working just fine in 2.6.36. On my x86_64 Acer Ferrari laptop, I get a "general protection fault" and kernel panic (in swapper / swsusp_arch_resume) whenever I try resuming. No good.
Top
PaulBredbury
Watchman
Watchman
User avatar
Posts: 7310
Joined: Thu Jul 14, 2005 3:47 pm

  • Quote

Post by PaulBredbury » Tue Apr 05, 2011 7:14 pm

dennisn wrote:broke my resuming from hibernation
Known upstream apparently.
Top
Yamakuzure
Advocate
Advocate
User avatar
Posts: 2323
Joined: Wed Jun 21, 2006 11:06 am
Location: Adendorf, Germany
Contact:
Contact Yamakuzure
Website

  • Quote

Post by Yamakuzure » Wed Apr 06, 2011 8:26 am

DestroyFX wrote:Here from the timed kernel compilation test I made, with my X6 CPU:
(... snip ...)
The optimal compilation speed was with -jCore. The performance go down with -jCore+1 and more.

I remember that with the 2.6.36-, -jCore+1 was better except with BFS who required -jCore (and was more fast than without BFS with -jCore+1).
As this is something seldom used, I tried with emerging geany, nano, mlview, kile and hexedit with different MAKEOPTS:
  1. With MAKEOPTS="-j4" (I leave the list in once for reference)

    Code: Select all

     # time emerge --oneshot geany nano mlview kile hexedit
    
    >>> Emerging (1 of 5) app-editors/hexedit-1.2.12
    >>> Emerging (2 of 5) dev-util/geany-0.20
    >>> Emerging (3 of 5) app-editors/nano-2.2.5
    >>> Installing (1 of 5) app-editors/hexedit-1.2.12
    >>> Emerging (4 of 5) app-editors/mlview-0.9.0
    >>> Emerging (5 of 5) app-editors/kile-2.1_beta5
    >>> Installing (3 of 5) app-editors/nano-2.2.5
    >>> Installing (2 of 5) dev-util/geany-0.20
    >>> Installing (5 of 5) app-editors/kile-2.1_beta5
    >>> Installing (4 of 5) app-editors/mlview-0.9.0
    >>> Jobs: 5 of 5 complete                           Load avg: 5.73, 4.35, 3.05
    
    real    3m59.929s
    user    8m1.822s
    sys     1m5.482s
  2. With MAKEOPTS="-j7"

    Code: Select all

    real    2m10.122s
    user    2m23.061s
    sys     0m36.148s
  3. With MAKEOPTS="-j11"

    Code: Select all

    real    1m37.223s
    user    2m25.297s
    sys     0m34.484s
  4. With MAKEOPTS="-j15"

    Code: Select all

    real    1m36.465s
    user    2m24.854s
    sys     0m34.618s
So for emerging the gain in speed stalls, but doesn't get worse with more parallel jobs.

I am testing kernel compilation next, but I reckon the results will be the same as yours.

=== Edit ===

And here are the tests with the kernel:
  1. Code: Select all

     # make clean && time make -j 4
    real    4m18.876s
    user    13m24.801s
    sys     1m9.835s
  2. Code: Select all

     # make clean && time make -j 7
    real    4m35.801s
    user    14m7.941s
    sys     1m11.109s
  3. Code: Select all

     # make clean && time make -j 11
    real    4m16.216s
    user    14m7.978s
    sys     1m9.202s
  4. Code: Select all

     # make clean && time make -j 15
    real    4m23.011s
    user    14m11.338s
    sys     1m9.929s
This certainly is weird. While using -j7 performs worse than -j4 (like suggested by your tests), -j15 performs better than -j7 and -j11 performs better than -j4. It's not much, but it is strange... (Or not so strange at all if I understood more of the internal mechanics ;))
Edited 220,176 times by Yamakuzure
Top
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

  • Quote

Post by VinzC » Wed Apr 06, 2011 11:40 am

Yamakuzure wrote:This certainly is weird. While using -j7 performs worse than -j4 (like suggested by your tests), -j15 performs better than -j7 and -j11 performs better than -j4. It's not much, but it is strange... (Or not so strange at all if I understood more of the internal mechanics ;))
Isn't to me. "Performs" is not the appropriate term. The patch doesn't improve compile times, it just improves responsiveness, which is totally different. It means, for instance, at equal load, groups of interactive processes in the same session will have better chances to catch a keyboard/mouse events on time and actually *do* the requested operation in a timely fashion. But globally I expect compile times to be just slightly bigger than before.

It's only when the amount of I/O grows such as there's a latency due to excess of I/O operations. So compile times aren't a good measure of the patch efficiency. Don't expect compile times to vary significantly then.
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
Yamakuzure
Advocate
Advocate
User avatar
Posts: 2323
Joined: Wed Jun 21, 2006 11:06 am
Location: Adendorf, Germany
Contact:
Contact Yamakuzure
Website

  • Quote

Post by Yamakuzure » Thu Apr 07, 2011 7:36 am

Well, yes, during all these time tests my laptop was perfectly responsive all the time. I just did the tests because someone stated that it would be stupid to use a different value for the -j option than the number of logical CPUs. That has been proven wrong, now. ;)
Edited 220,176 times by Yamakuzure
Top
cach0rr0
Bodhisattva
Bodhisattva
User avatar
Posts: 4123
Joined: Thu Nov 13, 2008 11:14 pm
Location: Houston, Republic of Texas

  • Quote

Post by cach0rr0 » Thu Apr 07, 2011 8:48 am

just to be a pest and BFS fanboy
test during which my desktop (KDE-4.6.2 with compositing enabled, bluray rip playing, and music playing just for grins) responds as though nothing else is going on

quad core phenom

Code: Select all

#make clean && time make -j4
real    2m53.167s
user    8m58.095s
sys     0m43.128s
ricker linux # ls -alh arch/x86/boot/bzImage 
-rw-r--r-- 1 root root 5.9M Apr  7 03:17 arch/x86/boot/bzImage #roughly half of this is embedded initramfs
Lost configuring your system?
dump lspci -n here | see Pappy's guide | Link Stash
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Thu Apr 07, 2011 11:51 am

Yamakuzure wrote:Well, yes, during all these time tests my laptop was perfectly responsive all the time. I just did the tests because someone stated that it would be stupid to use a different value for the -j option than the number of logical CPUs. That has been proven wrong, now. ;)
The only thing you've proven is that in running a few tests that things worked well on your system :roll:
Last edited by Anon-E-moose on Thu Apr 07, 2011 12:29 pm, edited 1 time in total.
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Thu Apr 07, 2011 11:58 am

I've been running BFS for the last several kernel versions going back to 2.6.32 or thereabouts and I've had consistently good performance.
I'm glad that they are finally addressing the problems with performance for those not running BFS.

So once again, for those who don't want to run BFS then run whatever you want.
And for those who want to run BFS it's there.
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
VanFanel
Apprentice
Apprentice
User avatar
Posts: 161
Joined: Mon Feb 19, 2007 7:19 pm

  • Quote

Post by VanFanel » Fri Apr 08, 2011 11:57 am

I've been using BFS since 2.6.32: thanks for the ck-sources package, it's what makes my system so great! :)

But.. would you recommend automatic task grouping over BFS for emulation?
I'm trying to build a near-zero latency system for both audio & input in emulators and I don't know if BFS is the best option for it.

regards
Top
Anon-E-moose
Watchman
Watchman
User avatar
Posts: 6566
Joined: Fri May 23, 2008 7:31 pm
Location: Dallas area

  • Quote

Post by Anon-E-moose » Fri Apr 08, 2011 12:09 pm

VanFanel wrote:I've been using BFS since 2.6.32: thanks for the ck-sources package, it's what makes my system so great! :)

But.. would you recommend automatic task grouping over BFS for emulation?
I'm trying to build a near-zero latency system for both audio & input in emulators and I don't know if BFS is the best option for it.

regards
The only way to know for sure on your system is to switch to the task grouping and rebuild the kernel.
You can have both and switch back and forth to see which gives you better performance on your system.
UM780 xtx, 6.18 zen kernel, gcc 15, openrc, wayland
minixforum m1-s1 max -- same software as above but used for ai learning


Zealots are gonna be zealots, just like haters are gonna be haters
Top
Ant P.
Watchman
Watchman
Posts: 6920
Joined: Sat Apr 18, 2009 7:18 pm
Contact:
Contact Ant P.
Website

  • Quote

Post by Ant P. » Fri Apr 08, 2011 1:17 pm

Using schedtool will probably help a bit there too.
Top
VanFanel
Apprentice
Apprentice
User avatar
Posts: 161
Joined: Mon Feb 19, 2007 7:19 pm

  • Quote

Post by VanFanel » Sat Apr 09, 2011 8:06 pm

@Ant P. : I use schedtool like this:

Code: Select all

schedtool -I -e ./mame tekken2
any other advice for the lowest possible input/output latency in emulators?
Top
jbouzan
Tux's lil' helper
Tux's lil' helper
Posts: 138
Joined: Fri Nov 23, 2007 6:18 pm

  • Quote

Post by jbouzan » Sat Apr 09, 2011 11:30 pm

PaulBredbury wrote:
dennisn wrote:broke my resuming from hibernation
Known upstream apparently.
Annoying, but since .38 patches a problem I was having with btrfs I can't really switch back. Any idea whether the patch will be reversed?
Top
epsilon72
Guru
Guru
User avatar
Posts: 568
Joined: Thu Sep 20, 2007 12:49 am

  • Quote

Post by epsilon72 » Wed Apr 13, 2011 5:48 am

PaulBredbury wrote:
dennisn wrote:broke my resuming from hibernation
Known upstream apparently.
This seems to happen with 2.6.37-r4 as well though
Top
piedar
Tux's lil' helper
Tux's lil' helper
Posts: 82
Joined: Mon Aug 09, 2010 3:05 am

  • Quote

Post by piedar » Wed Apr 13, 2011 6:35 pm

jbouzan wrote:
PaulBredbury wrote:
dennisn wrote:broke my resuming from hibernation
Known upstream apparently.
Annoying, but since .38 patches a problem I was having with btrfs I can't really switch back. Any idea whether the patch will be reversed?
Just apply the patch yourself in the meantime.
https://patchwork.kernel.org/patch/690691/
Top
pilla
Bodhisattva
Bodhisattva
User avatar
Posts: 7732
Joined: Wed Aug 07, 2002 8:19 pm
Location: Underworld

  • Quote

Post by pilla » Sun Apr 17, 2011 1:22 pm

marshmallow1304 wrote:
Just apply the patch yourself in the meantime.
https://patchwork.kernel.org/patch/690691/
404 Not found


2.6.38-gentoo-r2 is still segfaulting Xorg for me.
"I'm just very selective about the reality I choose to accept." -- Calvin
Top
VinzC
Watchman
Watchman
User avatar
Posts: 5100
Joined: Sat Apr 17, 2004 1:51 pm
Location: Dark side of the mood

  • Quote

Post by VinzC » Tue Apr 19, 2011 5:15 pm

pilla wrote:2.6.38-gentoo-r2 is still segfaulting Xorg for me.
Does it crash right away or after a certain, random period of time?
Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739!
Top
asturm
Developer
Developer
Posts: 9496
Joined: Thu Apr 05, 2007 4:07 pm

  • Quote

Post by asturm » Tue Apr 19, 2011 5:22 pm

Sound is ok with unpatched 2.6.38.3 now
Top
Post Reply

126 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic