Iain Buchanan <iaindb <at> netspace.net.au> writes:
> However, I can't find a kernel that will run both a) hyperthreading and > b) suspend / resume in a stable manner! Well, I'm no genius here, but, I can help you by using a portable with a 3GHz HT intel processor to build equivalent kernels (differing only in hardware on the mobo) to test/verify your troubles, if you like. >From cpuinfo: model name : Intel(R) Pentium(R) 4 CPU 3.06GHz stepping : 9 cpu MHz : 3067.472 cache size : 512 KB flags : fpu vme de pse tsc msr pae mce cx8 sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe cid xtpr > Here's a little table to show what I mean. The c-state patch is the one > required to get HT working. With it, suspend (to disk) doesn't work, > without it, usability is crap! > > kernel c-state patch? SMP speed suspend general > 2.6.12-gr7 no fast untested stable > ---------- > 2.6.13-gr2 no slow stable stable > 2.6.13-gr2 yes fast unstable > ---------- > 2.6.13-gr3 no > 2.6.13-gr3 yes fast unstable unstable Hm, this table looks dubious, how was the results generated, i.e. which variables are quantitative(objective) and which are qualitative (subjective) in nature? > So, my question is: Do I have to give up suspend? (I hope not, as when > it does work it works great and only takes a few seconds to suspend / > start up). Is it worth a bugzilla entry anywhere? Lets approach this systematically, and yes, you can/should open up a trouble ticket with bugzilla. You can lead the discussion/direction here on this list, as this is YOUR thread. > [I'm using only the gentoo-sources for suspend, no extra patches or > utilities. To suspend, I just type `echo shutdown > /sys/power/disk; > echo disk > /sys/power/state` as root. I use these gentoo-sources too. In fact I keep lots of different kernel versions around on each machine, as I'm always noodling with kernels options, patches, hacks, and sporadic assembler code.... > I'm hoping there are some kernel guru's out there somewhere that can > give me some pointers. Folks with the sort of expertise you seek, rarely have time for us commoners, in my experience....YMMV. So if you are interested in a systematic approach, let's agree on a common set of USE flags. Here are mine from make.conf: CFLAGS="-O3 -march=pentium4 -fomit-frame-pointer -pipe -g" CHOST="i686-pc-linux-gnu" I do not deviate from these for any code/packages I build on this Intel ht portable. The kernel versions we can use (for example both a gentoo-sources 2.6.12-r9 ( I use on a variety of systems.) and 2.6.13-r3). Build both and let's use a common set of tools for testing and evaluation. Send me your .config for each, privately, unless the list wants those files or relevant portions thereof. Let's also agree on how what we use as testing tools, I use KDE and it has many gui related front-end apps. that can be used to interface to ACPI. Interested in this approach? James -- gentoo-user@gentoo.org mailing list