N270 optimized kernel

Discussion in 'Linux' started by N6546R, Oct 19, 2008.

  1. N6546R

    feed_sparky

    Joined:
    Sep 6, 2008
    Messages:
    26
    Likes Received:
    0
    Just wanted to say thanks for the custom kernel, I am using it now. I also installed lxde which is working out good so far.
     
    feed_sparky, Nov 15, 2008
    #61
  2. N6546R

    hardran3

    Joined:
    Aug 11, 2008
    Messages:
    73
    Likes Received:
    0
    Location:
    Swift Current, SK, Canada
    Just in case anyone has missed the Master Kernel Thread on the Ubuntu forums, here it is.

    A great walkthrough to compiling your own kernel from the newest sources on Ubuntu. Also see Kernelcheck link on the thread as well. It takes all the steps in the guide and packages them in a easy to use GUI. Makes building your own kernel amazingly easy.
     
    hardran3, Nov 16, 2008
    #62
  3. N6546R

    jumphog

    Joined:
    Sep 15, 2008
    Messages:
    4
    Likes Received:
    0
    Is anyone else having issues with a wired network connection with this kernel? Ive just done a fresh install and tweak of intrepid and the only things not working are sound after suspend and wired ethernet. The sound looks like its fixable (see here) but it cant be done with the files in this thread. The wired connection is a bit odd though - it doesnt seem to be able to tell if a cable is connected or not. Maybe connected to this in dmesg: "r8169 0000:02:00.0 unknown MAC (27a00000)", anyone had similar problems?

    Edit: After playing around a little, the wired connection problem mainly happens after a reboot. It will generally work after power on, either leaving the cable in at boot or connecting afterwards is fine, but after reboot theres much less chance of it working properly...
     
    jumphog, Nov 16, 2008
    #63
  4. N6546R

    SuzuKube

    Joined:
    Aug 20, 2008
    Messages:
    53
    Likes Received:
    0
    Good Job this kernel :)

    But I don't use it because there is problem to compile anything on the 221008 kernel... Can't compile madwifi, can't compile new alsa-drivers....

    I also have the ETH0 problem, no problem on generic kernel ;)

    So i kept my generic kernel and compiled My RNDIS/MADWIFI/HSO and ALSAMIXER and everything work :) I hav also Hibernate that working with s2disk (apt-get install uswsusp)

    So that's good :)

    I kept an eye on this topic perhaps will it be the ultimate kernel ;)
     
    SuzuKube, Nov 16, 2008
    #64
  5. N6546R

    tripelty

    Joined:
    Nov 6, 2008
    Messages:
    7
    Likes Received:
    0
    Nice job with this kernel!

    However im having some errors with the card readers. When i insert a sd-card, it gets automounted, but when i try to eject it from the desktop i get the following error:
    "/usr/bin/eject: unable to eject, last error: Inappropriate ioctl for device."
    sd-card gets unmounted, but the icon stays on desktop. If i try to enter it from thunar, it gets mounted again. Any ideas how to fix this? Oh, im using the 102208-kernel, but had this problem already with the generic kernel.
     
    tripelty, Nov 18, 2008
    #65
  6. N6546R

    jango

    Joined:
    Aug 2, 2008
    Messages:
    307
    Likes Received:
    0
    Does it suspend/resume works with /home on left SDHC????
     
    jango, Nov 19, 2008
    #66
  7. N6546R

    N6546R

    Joined:
    Aug 27, 2008
    Messages:
    126
    Likes Received:
    0
    Yes, the 102208 kernel works correctly with /home on the SDHC. If you use the right-hand SD slot, you might want to modify /etc/fstab so that it uses UUIDs to avoid any confusion on resume or boot. For example, here's mine (your UUIDs will be different):

    Code:
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    proc            /proc           proc    defaults        0       0
    # /dev/sda1
    UUID=6b25c864-dae3-4b56-89ac-2c6cb4031ae5 /               ext2    noatime,errors=remount-ro 0       1
    # /dev/sda5
    #/dev/sdb1       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
    #/dev/scd0       /media/cdrom1   udf,iso9660 user,noauto,exec,utf8 0       0
    tmpfs		/tmp		tmpfs		defaults		0	0
    tmpfs		/var/tmp		tmpfs		defaults		00
    tmpfs		/var/log		tmpfs		defaults		00
    #/dev/mmcblk0  
    UUID=986fb851-13fb-4aa6-9de0-58450d012134	/home	 	ext2 	rw 	0 	0
    
    
    I don't typically use the right-hand slot, so I don't load pciehp in /etc/modules.

    I'll take a look at some of the other issues in the thread...might be time to spin a new kernel.

    Perry
    www.kidpub.com
     
    N6546R, Nov 19, 2008
    #67
  8. N6546R

    jango

    Joined:
    Aug 2, 2008
    Messages:
    307
    Likes Received:
    0
    yeh suspend/resume works fine, but i dont have login sound :( ...
     
    jango, Nov 19, 2008
    #68
  9. N6546R

    hardran3

    Joined:
    Aug 11, 2008
    Messages:
    73
    Likes Received:
    0
    Location:
    Swift Current, SK, Canada
    That is because ALSA is compiled into the kernel with power saving enabled., It takes a couple seconds for sound to kick in, and by that time the login sound is over.
     
    hardran3, Nov 19, 2008
    #69
  10. N6546R

    jango

    Joined:
    Aug 2, 2008
    Messages:
    307
    Likes Received:
    0
    Can it be fixed?
     
    jango, Nov 19, 2008
    #70
  11. N6546R

    hardran3

    Joined:
    Aug 11, 2008
    Messages:
    73
    Likes Received:
    0
    Location:
    Swift Current, SK, Canada
    Recompile the kernel with the powersave option turned off. Your battery life will suffer though.

    Adding this line to your /etc/rc.local may work.

    Code:
    echo 0 > /sys/module/snd_hda_intel/parameters/power_save
     
    hardran3, Nov 19, 2008
    #71
  12. N6546R

    Andysan

    Joined:
    Jul 9, 2008
    Messages:
    272
    Likes Received:
    0
    Hi all

    I installed this kernel as instructed. Overall running feels smoother, so my thanks to Perry for the great job.

    There are a few things that are grinding away at me however:

    When i boot, i now see the following message flicker:

    Code:
    modprobe: WARNING: /etc/modprobe.d/blacklist line 48:ignoring bad line starting with 'ath_pci'
    
    modprobe: FATAL: Could not load /lib/modules/2.6.27-0.102208/modules.dep: No such file or directory
    Line 48 is as follows:

    Code:
    blacklist ath_pci
    Is this error occuring because i am trying to block a module that the kernel knows nothing about?

    Also, the following is bugging me a bit:

    My welcome noise has the first half chopped off?
    I cannot load my Ipaq module anymore? How can i do this please?
    I don't want to laod the bluetooth module - can i blackklist this as i've done with my ath_pci module?

    Also, Perrry posts a config file with each release - how can i use this please? Will it get my boots down to 15 seconds? Currently im 35 sec to login screen, 40 sec to stable desktop.

    Thanks in advance.
     
    Andysan, Nov 20, 2008
    #72
  13. N6546R

    N6546R

    Joined:
    Aug 27, 2008
    Messages:
    126
    Likes Received:
    0
    'Bad line' usually means that there's a syntax error. ath_pci isn't in the kernel, so you can remove the line if you like.

    The FATAL that shows up at boot is from initramfs. It's harmless, an artifact of how the initramfs is built. Looks bad, I'll admit :)

    Perry
    www.kidpub.com
     
    N6546R, Nov 21, 2008
    #73
  14. N6546R

    businessteam

    Joined:
    Nov 19, 2008
    Messages:
    5
    Likes Received:
    0
    Andysan,

    As you see ath_pci is the start of the line. However the start should be like this: blacklist ath_pci
    Check your /etc/modprobe.d/blacklist file again.
     
    businessteam, Nov 21, 2008
    #74
  15. N6546R

    jango

    Joined:
    Aug 2, 2008
    Messages:
    307
    Likes Received:
    0
    I can use this kernel, i have problems with eth0 lan....how can i solve this? Anyone also have this problem?
     
    jango, Nov 21, 2008
    #75
  16. N6546R

    Andysan

    Joined:
    Jul 9, 2008
    Messages:
    272
    Likes Received:
    0
    Hi businessteam,

    Yeah, it is blacklist ath_pci - i guess it says starting with "ath_pci" because it is happy with "blacklist" then when it reads "ath_pci" it throws a wobbly because it doesn't know what it is.

    Cheers chaps.
     
    Andysan, Nov 22, 2008
    #76
  17. N6546R

    gedster314

    Joined:
    Sep 26, 2008
    Messages:
    13
    Likes Received:
    0
    Anyone able to get rndis to work with this kernel? It works fine with the standard generic kernel but if I follow the same procedures with the optimized kernel it's a no go.
     
    gedster314, Nov 23, 2008
    #77
  18. N6546R

    SuzuKube

    Joined:
    Aug 20, 2008
    Messages:
    53
    Likes Received:
    0
    No. But there is another kernel in the topic 081022 but another issue ^^ Can't build any module... It failed on Madwifi compilation ^^ For the lightning led!

    Edit : Found it :D http://www.kidpub.com/aspire/linux-kern ... a1.icc.tgz

    I think i'll will keep the two kernels on my aspire one ;)
     
    SuzuKube, Nov 25, 2008
    #78
  19. N6546R

    blueskiesokie

    Joined:
    Aug 14, 2008
    Messages:
    3
    Likes Received:
    0
    I tried out this kernel on 8.10; it boot noticeably faster (desktop in 31 seconds from power on). PowerTOP no longer works though?
     
    blueskiesokie, Nov 27, 2008
    #79
  20. N6546R

    2manydjs

    Joined:
    Jul 16, 2008
    Messages:
    300
    Likes Received:
    0
    That's correct. If I'm not mistaken, the kernel needs to have kernel debugging enabled for Powertop. You could build your own kernel to get this functionality back.
     
    2manydjs, Nov 28, 2008
    #80
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.