Results 1 to 8 of 8

Thread: Jaunty on 5,1 Macbook

  1. #1
    Join Date
    Jul 2007
    Beans
    30

    Jaunty on 5,1 Macbook

    Hello all! I'm on my Unibody Macbook with Jaunty installed. Everything seems to be working well except battery life! I've gone through the wiki and attempted to blacklist the eth0 which is responsible for 75% of my wakeups according to powertop. Even after blacklisting, it continues to be an issue. I think I did the blacklisting correctly...
    gksudo gedit /etc/modprobe.d/blacklist
    followed by
    blacklist forcedeth
    I've never heard of forcedeth...but I was just following the wiki...

    but it didn't seem to work. Any ideas? I'm sure this would improve battery life. Also, I seemed to have gotten both internal speakers working...I'm trying to figure out how I did this because it wasn't my intention. I was actually trying to configure conky...such is life. If I figure it out, I'll let you know.

    Other than that, any ideas for getting better battery life? This has always been my one issue with Ubuntu. I'm doing laptop mode, lower brightness, disabled bluetooth, trying to disable eth0, etc...any ideas? Let me know and take care!

    Trent out

  2. #2
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    Re: Jaunty on 5,1 Macbook

    where you have 'forcedeth' you should have the name of the linux module that is the driver for your hardware.

  3. #3
    Join Date
    Jun 2006
    Location
    Blacksburg, VA, USA
    Beans
    71
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Jaunty on 5,1 Macbook

    Quote Originally Posted by cyberdork33 View Post
    where you have 'forcedeth' you should have the name of the linux module that is the driver for your hardware.
    On my MacBook 5.1, lsmod definitely shows a module called "foredeth", even though I have what the OP used in my /etc/modprobe.d/blacklist.conf. I also tried moving it to the deprecated /etc/modprobe.d/blacklist, to no avail--that module still loads. When I do a
    Code:
    sudo rmmod forcedeth
    eth0 goes away.

  4. #4
    Join Date
    Jan 2009
    Beans
    310
    Distro
    Ubuntu Development Release

    Re: Jaunty on 5,1 Macbook

    After updating the blacklist (/etc/modprobe.d/blacklist.conf), you need to regenerate the initramfs - run the following from a terminal:

    Code:
    sudo depmod -ae
    sudo update-initramfs -u

  5. #5
    Join Date
    Oct 2008
    Location
    England
    Beans
    960
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: Jaunty on 5,1 Macbook

    forcedeth is the module name (driver) for nvidia nforce based ethernet.
    It does indeed perform a stupid number of wakeups to work around some old bug that no one seems able to fix.
    » Praetoria Imperialis « A World of Warcraft Guild for Grown Ups. Mostly.

  6. #6
    Join Date
    Mar 2007
    Beans
    7

    Unhappy Re: Jaunty on 5,1 Macbook

    I too am on a Macbook 5,1 and am seeing insane amount of wakeups from eth0....would also be interested in a fix.

    -m

  7. #7
    Join Date
    Jan 2009
    Beans
    310
    Distro
    Ubuntu Development Release

    Re: Jaunty on 5,1 Macbook

    This is not trivial to fix, but there have been a few attempts, with the most recent one being this patch:

    http://linux.derkeiler.com/Mailing-L.../msg03314.html

    I've been thinking of trying to get a more generic solution done for a while, something more along the lines of Andrew Morton's suggestion:

    How do we fix this? Perhaps disable the timer by default, then wait
    for the first tx timeout and then enable the timer at that stage, while
    printing a message saying "add module option <foo> to prevent this
    once-off timeout from happening"?
    or perhaps this from Robert Hancock

    Enabling by default and disabling after a TX done interrupt was received would likely be a better approach (or one of the more creative approaches that others have mentioned).
    combined with something like Alan Cox's suggestion:

    Surely you only need the timer running when transmits are active and
    sufficient transmits to make it worth recovering the queued memory ?
    But I havent really had the time lately to look into it..

  8. #8
    Join Date
    Jun 2006
    Location
    Blacksburg, VA, USA
    Beans
    71
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Jaunty on 5,1 Macbook

    Interesting. Thanks for the background, Alex.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •