Page 61 of 89 FirstFirst ... 1151596061626371 ... LastLast
Results 601 to 610 of 883

Thread: Macbook Pro 8,1 + Maverick

  1. #601
    Join Date
    Aug 2011
    Beans
    7
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Macbook Pro 8,1 + Maverick

    Nice!
    Thank you!

  2. #602
    Join Date
    Jan 2007
    Beans
    21

    Re: Macbook Pro 8,1 + Maverick

    Quote Originally Posted by Baughn View Post
    No, the current solution is actually stable. Look back a page, I've got a full walkthrough there.
    Hi Baughn

    I tried to clone your repo and receive an error:
    Cloning into linux...
    Permission denied (publickey).
    fatal: The remote end hung up unexpectedly

    Is there a connection problem?

    EDIT : My mistake I didn't know I need a github account, now it's working.
    Last edited by poppop; August 29th, 2011 at 06:09 AM.

  3. #603
    Join Date
    Jan 2007
    Beans
    21

    Re: Macbook Pro 8,1 + Maverick

    I followed the instructions and managed to compile the kernel but as I do not run in EFI mode (I do not have the MACOSX partition anymore I don't know how to boot with the new kernel.

    Can you give me some advices ?

    Regards.

  4. #604
    Join Date
    Mar 2011
    Beans
    36

    Re: Macbook Pro 8,1 + Maverick

    Quote Originally Posted by poppop View Post
    I followed the instructions and managed to compile the kernel but as I do not run in EFI mode (I do not have the MACOSX partition anymore I don't know how to boot with the new kernel.

    Can you give me some advices ?

    Regards.
    Same way you boot any other kernel, then. There are plenty of walkthroughs out there.

  5. #605
    Join Date
    Jul 2010
    Beans
    142

    Re: Macbook Pro 8,1 + Maverick

    Quote Originally Posted by wilfriedd View Post
    Did you apply the lvds patch as well as adding i915.lvds_channels=2 to the kernel line in grub.cfg? I had similar problems when I forgot the kernel line.
    Hello,

    I think I found an alternative way to setup the "LVDS channels" in grub instead of using the "Implement manual override of LVDS single/dual channel mode" kernel patch, to avoid the need to recompile a kernel and setting i915.lvds_channels=2.
    It reuses the "fix_video" command of grub.
    I do not have an Intel integrated GPU, so I cannot test on my machine.

    Can anyone try it (with lvds_channels=0 or without the LVDS kernel patch).
    You just need to recompile "grub.efi" and add "fix_video" in your grub.cfg.
    Maybe the "old" value needs to be adapted in the code depending on the actual value displayed in the error message.

    Thanks !

    metatech
    Attached Files Attached Files
    Last edited by metatechbe; August 30th, 2011 at 07:59 PM. Reason: Patch name

  6. #606
    Join Date
    Aug 2011
    Beans
    7
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Macbook Pro 8,1 + Maverick

    Will Ubuntu 11.10 have wireless internet without any problems?

  7. #607
    Join Date
    Jun 2011
    Beans
    19

    Re: Macbook Pro 8,1 + Maverick

    Quote Originally Posted by Dopd0p View Post
    Will Ubuntu 11.10 have wireless internet without any problems?
    No, my recent HT-PHY patches for b43 will hit kernel 3.2. It won't be released for few next months.

    If you install Ubuntu 11.10, you will still have to upgrade kernel (to 3.2) or install recent compat-wireless.

  8. #608
    Join Date
    Aug 2011
    Beans
    7
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: Macbook Pro 8,1 + Maverick

    Quote Originally Posted by Zajec5 View Post
    No, my recent HT-PHY patches for b43 will hit kernel 3.2. It won't be released for few next months.

    If you install Ubuntu 11.10, you will still have to upgrade kernel (to 3.2) or install recent compat-wireless.
    Allright, thanks for the answer!

  9. #609
    Join Date
    Aug 2011
    Beans
    5

    Re: Macbook Pro 8,1 + Maverick

    Quote Originally Posted by Baughn View Post
    So, here you go. Unless I missed something, running this should get you a usable system, with wifi as well as EFI boot. If you don't have a multi-GPU system, you can (probably should, I'm not sure if it'd even work) skip the EFI part.

    To minimize the chance of anything going wrong, it also involves downloading code from me. You'll just have to trust me on that one...

    Code:
    sudo apt-get install build-essential git
    git clone git@github.com:Baughn/linux.git  # This'll take a while, go get some tea.
    cd linux
    curl http://brage.info/~svein/linux.config -O .config
    make oldconfig
    #make menuconfig   # You'll need to run this if you don't run btrfs or ext2/3/4 root.
    make -j12  # Set to your number of processor cores, + 50%.
    
    # Now installing kernel. This ad-hoc setup works for EFI, you'll want to do something else if you don't need or want to switch from radeon to intel graphics.
    sudo -s  # Switching to root shell, less sudo needed.
    make -j50 modules_install   # Way above the number of cores. The increased pipelining helps my SSD do this faster (but actually I just use -j; that's dangerous, though); you may want just make modules_install.
    cp arch/x86_64/boot/bzImage /boot/linux  # Make sure to mount /boot first, if you need to.
    mount -o rw,force /dev/sda2 /mnt  # Meant to mount the OS X partition. Assumes you have one, and that it's sda2, but if you don't know it almost certainly is. Won't work if you didn't shut down OS X cleanly last time.
    cd /mnt/efi
    curl http://brage.info/~svein/efi.tar.gz | tar xvz  # Extract the GRUB bootloader. It's already configured, and will probably work out of the box if you have rEFIt installed. If you don't, install it.
    cd /
    umount /mnt
    
    # Install firmware too
    cd /
    curl http://brage.info/~svein/firmware.tar.gz | tar xvz
    
    # Write out a script that'll make suspend work
    cat > /etc/pm/sleep.d/70_wifi << EOF
    # Work around lack of b43 hibernate support
    
    case "${1}" in
            hibernate|suspend)
                    rmmod b43 bcma
                    ;;
            resume|thaw)
                    modprobe b43
                    ;;
    esac
    EOF
    chmod a+x /etc/pm/sleep.d/70_wifi
    
    # Close the root shell before you hurt someone
    exit
    And that should be that! Let me know how it goes.

    EDIT: Added firmware extraction command to the end. You'll need that too.

    EDIT2: My laptop actually has 4 cores, not 8. It still counts as 8 for the calculation, because of hyperthreading. So that should be the number of hardware threads, not number of cores.
    When I try to run the "curl" command, I get the following:
    Code:
    joe@joe-MacBookPro:~/linux$ curl http://brage.info/~svein/linux.config -O .config
      % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                     Dload  Upload   Total   Spent    Left  Speed
    100 91610  100 91610    0     0  88587      0  0:00:01  0:00:01 --:--:--  102k
    curl: (6) Couldn't resolve host '.config'
    I don't have much experience in linux so I'm not sure if I'm doing something obvious wrong, but I couldn't find anything that I clearly did wrong. And I made a github account, everything went fine up until this point. Thanks!

  10. #610
    Join Date
    Mar 2011
    Beans
    36

    Re: Macbook Pro 8,1 + Maverick

    Oh, oops. That's what I get for writing that code from memory, and not testing.

    I've updated the post, it should work now.

    Also, you'll no longer need a github account to follow those instructions.
    Last edited by Baughn; August 29th, 2011 at 11:29 PM.

Page 61 of 89 FirstFirst ... 1151596061626371 ... LastLast

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
  •