You are not logged in.
OMG, I swear I've recompiled the intrepid kernel modules 20 times today. So far 2.6.27-5-eeepc is on the repository but it's still not quite 100%. (maybe 90% good?)
I've found some very interesting patches, BTW. Including one interesting SLUB vs. SLAB fix that restores some speed lost sometime in 2.6.26, a problem particularity affecting the eeepc. (The developer who discovers this thinks there's more room for improvment.)
However, I've probably pulled enough hair tonight fighting with eeepc-laptop and rfkill, so, I think i'm logging off for the night. If you want to try it out, give it a shot:
Setup/Install
1. Do not install this kernel if you're still running Hardy. I have no idea what would happen! (To check if you are, look at /etc/lsb-release) (Upgrading to Intrepid is beyond the scope of this thread!)
2. Link into the repository as per normal setup instructions.
3. Add the following line to /etc/apt/sources.list.d/array.list: (it's safe to leave the hardy line in there if you want)
deb http://www.array.org/ubuntu intrepid eeepc
4. Update the repo:
sudo apt-get update
5(a). Install eeepc kernel
sudo apt-get install linux-eeepc linux-headers-eeepc
5(b). Or, install eeepc-lean* kernel
sudo apt-get install linux-eeepc-lean linux-headers-eeepc-lean
This should deliver linux-image-2.6.27-5-eeepc and/or linux-image-2.6.27-5-eeepc-lean.
*The eeepc-lean kernel is an experimental package that strips out all the extra **** from eeepc and the generic kernel (like macintosh support, nvidia modules, idsn and x.25 connectivity, etc) and the remaining eeepc-specific modules are compiled directly in the kernel.
Known Issues
* I'm not including the rt2860 wireless module, for that you'll need themono's rt2860 dkms package along with dkms itself.. (This will probably change, I might just ship the dkms packag ewith linux-eeepc, we'll see:)
* Fn-F2 wifi toggle is supposed to be handled by the eeepc-laptop module now, but its broken. The only way you can toggle wifi is to "echo 0 | sudo tee /sys/class/rfkill/rfkill0/state" or "echo 1 | sudo tee ..." etc. The module's author is working on fixing Fn-F2.
* Everything from linux-image-2.6.27-5-generic is in here, including any bugs. If you have issues please double check that they're not a problem in 2.6.27-5-generic ![]()
Changelog
linux (2.6.27-5.8eeepc2) intrepid; urgency=low
[ Adam McDaniel ]
* EEEPC: Created new eeepc-lean flavour, re-enabled debugging on eeepc
* EEEPC: Make eeepc-laptop depend on rfkill & rfkill-input
[ Upstream Kernel Changes ]
* rfkill-input doesn't work until 5 minutes after boot
-- Adam McDaniel <> Sun, 05 Oct 2008 14:05:26 -0600
linux (2.6.27-5.8eeepc1) intrepid; urgency=low
[ Adam McDaniel ]
* EEEPC: Ported asus_eee v0.3 from ubuntu-hardy-lum into ubuntu-intrepid
* EEEPC: applied asus_eee patch to fix build on kernel > 2.6.26
* EEEPC: Added bluetooth attribute to /sys/devices/platform/eeepc/bt
* EEEPC: patch eeepc-laptop to support volume/wlan keys in the kernel
* EEEPC: Applied Chris Snook's atl2 patch for 2.6.26, atl2 now v2.2.3
* EEEPC: Manage EeePC 1000 sound cards with the 901 driver quirk.
* EEEPC: Disabled debug, mca, isa, apm; enabled embedded config options
* EEEPC: Partial fix for tbench regressions, switch from SLUB to SLAB
* EEEPC: eeepc-laptop fix, disable rfkill_suspend/resume to fix resuming
* EEEPC: Applied Elantech touchpad driver v5 patch
* EEEPC: Re-applied psmouse's "elantech" parameter, still disabled by
default.
[ Upstream Kernel Changes ]
* eeepc-laptop: Fix hwmon interface
* PCIE: Reduce cannot add device warnings to KERN_INFO
-- Adam McDaniel <> Sat, 04 Oct 2008 09:13:36 -0600More upstream kernel changes are on their way, specifically something that fixes the Wifi toggle key ![]()
Enjoy ![]()
Last edited by adamm (2008-10-06 5:58:29 pm)
Offline
BTW, let me know what bootup times are like. You should see a 20-30% improvement over 2.6.27-4-generic ![]()
Offline
Thanks for this. I just installed it, and it seems to be working fine. Didn't time the boot sequence so I can't really tell if there was a difference.
Not sure I really gained anything, though, as everything was pretty much working already. I thought this might make eee-control work for me, but it's still dying due to a missing /sys/devices/platform/eeepc/brn.
Also, I noticed that on my next update it pulled down an eeepc version of linux-headers for the old kernel version (2.6.27-4). I doubt it will make any difference, but I didn't know if that was intended. (I added the intrepid repository only.)
Offline
Lovely! I've been looking forward to this.
At first I thought the volume keys weren't working. Then I remembered what the patch does -- it makes them send XF86AudioRaiseVolume etc keysyms, and I don't have anything bound to those in Xfce. Now I feel silly. ![]()
The boot time unfortunately doesn't seem to have changed at all -- it takes about 38 seconds from grub to gdm on both the generic kernel and this new one. ![]()
BTW, for some reason I didn't get any kernel headers installed first time I tried this, so the DKMS module rebuild failed. Fortunately installing the headers fixed that.
Offline
Hi Adam. Great work releasing this kernel. As long as you can hold off till this coming weekend - starting the 10th - I'll worry about updating the rt2860 to 1.8 so you don't have to, and will test with your kernel. Unfortunately I won't have time till then though. I'll let you know when I do!
Offline
How did you tranfer 8.10 beta ISO on a USB bootable key ?
Does it work with unetbootin, or isotousb.sh without tweaking ?
thanx
Offline
coolos wrote:
How did you tranfer 8.10 beta ISO on a USB bootable key ?
Does it work with unetbootin, or isotousb.sh without tweaking ?
thanx
I used unetbootin. Nothing special required at all.
Offline
@themono, thanks! .. I'll hold off on until you do.
(My wife decided to escalate the "Paint the fence" project this weekend, so, I'm lucky I pushed this out when I did
.. the upgrade to v1.8.0.0 didn't make it)
Offline
incandenza wrote:
Thanks for this. I just installed it, and it seems to be working fine. Didn't time the boot sequence so I can't really tell if there was a difference.
If you install the bootchart package, it should provide some examples of boot times in /var/log/bootchart/
(You may need to rebuild generic and eeepc's initramfs though. Run "sudo dpkg-reconfigure linux-image-2.6.27-4-generic" and again for linux-image-2.6.27-5-eeepc.
Not sure I really gained anything, though, as everything was pretty much working already. I thought this might make eee-control work for me, but it's still dying due to a missing /sys/devices/platform/eeepc/brn.
Ahh, in 2.6.27 the official upstream eeepc-laptop module has taken ownership of the brightness level and the wlan. The advantage is that everything is supposed to work now (no more nasty ACPI hacks), the disadvantage is that its not quite working yet (at least the wlan for me.) Eee-control need sto be more 2.6.27-aware.
Also, I noticed that on my next update it pulled down an eeepc version of linux-headers for the old kernel version (2.6.27-4). I doubt it will make any difference, but I didn't know if that was intended. (I added the intrepid repository only.)
Ah, thanks for notifying me. I've removed those older versions.
What you had received would have been the exact same thing on the official intrepid repo, so nothing should have changed for you. ![]()
Offline
I don't know if you are on that, but this one boot much slower than the 2.6.24 branch...
In my 901 it was 18 secs on 2.6.24-21-eeepc and 27 secs on 2.6.27-5-eeepc ( it was 24 on 2.6.24-19-generic)
I have bootcharts available if you want.
Offline
@elcesar, That would be very useful.
Also, can you send me a bootchart of 2.6.27-4-generic (or the latest generic kernel, I dont know if they released 5-generic yet).
I've noticed a pretty major difference between 2.6.24-19-generic and 2.6.27-4-generic, myself. (+30sec)
It's a known issue to the upstream kernel.
Offline
Hi,
after having no success in getting regular wifi-access with ubuntu-eee 8.04.1 I installed a "normal" ubuntu 8.10 (intrepid beta) which brings (in conjunction with termonos patch and having activated wifi in BIOS) good wifi access in ubuntu on my eeepc901.
But there's no chance to toggle wifi on/off, as the Fn-keys are not recognized in intrepid. So I tried eee-control which didn't work either, as there are some modules missing. I read, that adams new intrepid kernel 2.6.27-5-eeepc should work.
My question: Does this kernel work with my installation of regular ubuntu (not ubuntu-eee) 8.10 beta?
Offline
@hermann4711
Re-read the first post in this thread. Specifically what's below the changelog.
Offline
adamm wrote:
@hermann4711
Re-read the first post in this thread. Specifically what's below the changelog.
I read the first post in this thread more than once, it gives an answer to the toggle-problem but not to my question if this new kernel can be used in a normal ubuntu installation.
(I also read Adams answer to another newbie on this side. Maybe, Adam has some mulligrubs!?
Tomorrow it will be better!)
;-)
Offline
The kernel works on a normal Ubuntu installation.
eee-control does not work yet, though, even with this kernel. It requires another change that hasn't been made yet.
Offline
Holy ****... I just got my 900's boot time from 1:35 on Intrepid to 0:47 with a new test intrepid kernel. (And that's with my permanently borked /dev/sda spewing errors on startup! [dont ask!])
I thought I'd take the lead from Arjan @ fastboot (remember that 5 second boottime article a few days ago) and compile in a slew of the drivers in-line with the kernel... Along with that I disabled /etc/init.d/readahead and readahead-desktop:
sudo chmod -x /etc/init.d/readahead sudo chmod -x /etc/init.d/readahead-desktop
(The same can be accomplished by just uninstalling the readahead package itself.)
... I'm curious to see how much this'll help in speeding up the faster 901s. 20-25 sec boot time? ![]()
![]()
Offline
BTW, I'm making one more build right now, some drivers are still appearing as modules. (some will have to stay there, like ath5k, eeepc-laptop, rfkill, etc.)
Offline
adamm wrote:
I just got my 900's boot time from 1:35 on Intrepid to 0:47 with a new test intrepid kernel.
That`s what I´m talkin`about! 50% faster boot time is a huge progress. Go on with the work, maybe you could reach the 5 seconds ![]()
Offline
I'm going to hold off a bit on this experimental intrepid build.
I'm really weary about how this works. I've never actually tried this method before. So far its working well for me on my 900 (30-40s boot time) but it's a bit higher risk, IMHO.
I'll play with it again tomorrow, for now i'm off
Stay tuned!
Offline
Just iinstalled 8.10 beta on my 900A
No wireless out of the box ![]()
ath5k is loaded, but can't initialize my
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
dmesg :
[ 16.565949] ath_hal: module license 'Proprietary' taints kernel. [ 16.701672] ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) [ 17.163739] wlan: 0.9.4 [ 17.415154] ath_pci: 0.9.4 [ 17.416358] ath_pci 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 17.416381] ath_pci 0000:02:00.0: setting latency timer to 64 [ 17.464694] wifi%d: unable to attach hardware: 'Hardware revision not supported' (HAL status 13) [ 17.464751] ath_pci 0000:02:00.0: PCI INT A disabled [ 17.500294] ATL1E 0000:01:00.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19 [ 17.500322] ATL1E 0000:01:00.0: setting latency timer to 64 [ 18.085781] ACPI: Battery Slot [BAT0] (battery present) [ 18.086256] ACPI: AC Adapter [AC0] (off-line) [ 18.171218] ath5k_pci 0000:02:00.0: enabling device (0000 -> 0002) [ 18.171239] ath5k_pci 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 18.171267] ath5k_pci 0000:02:00.0: setting latency timer to 64 [ 18.171321] ath5k_pci 0000:02:00.0: registered as 'phy0' [ 18.181397] ath5k phy0: failed to wakeup the MAC Chip [ 18.181468] ath5k_pci 0000:02:00.0: PCI INT A disabled [ 18.254745] input: Video Bus as /class/input/input6 [ 18.281675] ath5k_pci: probe of 0000:02:00.0 failed with error -5
I thought it was the same chipset in 900A and 900, so it's strange it doesn't work after standard install
i have to find how to manually download .deb from array.org repository to try adamm's kernel.
EDIT : found the url, i'll be back ! ![]()
Last edited by coolos (2008-10-06 5:40:45 am)
Offline
back with 2.6.27-5.5eeepc0 kernel & restricted drivers
1) wireless connexion seems OK,
[ 14.975817] ath5k_pci 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17 [ 14.975841] ath5k_pci 0000:02:00.0: setting latency timer to 64 [ 14.975898] ath5k_pci 0000:02:00.0: registered as 'phy0' [ 14.980313] ath5k phy0: Support for RF2425 is under development. [ 15.486980] phy0: Selected rate control algorithm 'pid' ... [ 17.440087] ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
but syslog says:
[ 1844.324981] ath5k phy0: noise floor calibration timeout (2457MHz)
[ 1844.324999] ath5k phy0: ath5k_chan_set: unable to reset channel (2457 Mhz)
[ 1844.325014] wlan0: failed to set freq to 2457 MHz for scan
[ 1844.368746] ath5k phy0: noise floor calibration failed (2462MHz)
[ 1844.368764] ath5k phy0: ath5k_chan_set: unable to reset channel (2462 Mhz)
[ 1844.368773] wlan0: failed to set freq to 2462 MHz for scan
it happens every 120 seconds
2) powertop says :
No detailed statistics available; please enable the CONFIG_TIMER_STATS kernel option
This option is located in the Kernel Debugging section of menuconfig
(which is CONFIG_DEBUG_KERNEL=y in the config file)
Note: this is only available in 2.6.21 and later kernels
3) about boot times
i didn't install bootchartd yet, but i loo at when i915 driver loads (X start)
8.04 with 2.6.24-eeepc & optimisation* : 34sec
8.10 with 2.6.27-generic : 33sec
8.10 with 2.6.27-5eeepc : 32sec
8.10 with 2.6.27-5eeepc & optimisation* : 29sec
* optimisation for me is : "ro quiet clocksource=hpet elevator=deadline x=1024 y=600" (but i'm not a specialist ![]()
4) i have a 'compiz.real' crash notification when i log in.
5) INTEL_BATCH=1 doesn't improve fps anymore (experimental : see Bug #195843:)
on 8.04, i used to get 1400+ fps with INTEL_BATCH=1 glxgears.
with 8.10 i only get 500+fps with or without this option
Last edited by coolos (2008-10-06 7:19:53 am)
Offline
I had a lot of problems with the ath5k driver as well, and decided to go back to madwifi.
Offline
The bluetooth patch is incorrect, you also need to add:
&dev_attr_bt.attr
to the list of platform_attributes (in the same order as the EEEPC_CREATE_DEVICE_ATTR macros)
and also change the cm_getv and cm_setv to read:
static const char *cm_getv[] = {
"WLDG", "BTHG", NULL, NULL,
"CAMG", NULL, NULL, NULL,
NULL, "PBLG", NULL, NULL,
"CFVG", NULL, NULL, NULL,
"USBG", NULL, NULL, "MODG",
"CRDG", "LIDG"
};
static const char *cm_setv[] = {
"WLDS", "BTHS", NULL, NULL,
"CAMS", NULL, NULL, NULL,
"SDSP", "PBLS", "HDPS", NULL,
"CFVS", NULL, NULL, NULL,
"USBG", NULL, NULL, "MODS",
"CRDS", NULL
};
but without your source I can't do this properly since you applied other patches to the eeepc_laptop module (which I would like to keep)
Could you please take care of this?
Or I could just change eee-control-daemon to look for whether the bluetooth module is loaded...
I also notice the wlan is missing from /sys/devices/platform/eeepc/ -- is this intentional? what should eee-control-daemon use?
Offline