@Tom_B Thanks for the feedback and tips!
Search Criteria
Package Base Details: linux-macbook
Git Clone URL: | https://aur.archlinux.org/linux-macbook.git (read-only, click to copy) |
---|---|
Keywords: | kernel macbook mbp suspend |
Submitter: | m3thodic |
Maintainer: | None |
Last Packager: | greg2010 |
Votes: | 45 |
Popularity: | 0.000000 |
First Submitted: | 2016-07-05 23:22 (UTC) |
Last Updated: | 2020-11-19 06:48 (UTC) |
Packages (3)
Latest Comments
« First ‹ Previous 1 .. 8 9 10 11 12 13 14 15 16 17 18 .. 23 Next › Last »
m3thodic commented on 2017-06-15 02:06 (UTC)
Tom_B commented on 2017-06-14 14:56 (UTC)
For what it's worth, I struggled with Grub like others. I switched to systemd-boot and it's a lot easier.
Add the relevant macbook.conf
```
title Arch Linux (Macbook kernel)
linux /vmlinuz-linux-macbook
initrd /initramfs-linux-macbook.img
options root=PARTUUID=d2722f04-6165-489e-aba6-edeeb8e38634 rw quiet splash video.use_native_backlight=1 processor.ignore_ppc=1
```
(change your uuid to your / partition) and upgrading the kernel via yaourt just works without any extra hassle.
aranel commented on 2017-05-31 05:21 (UTC)
Thanks for this kernel, i'm very new to arch and such things make me like it even more. I have couple of issues though, here's the output of them.
May 31 08:11:44 aranel kernel: ACPI Error: Needed type [Reference], found [Integer] ffff880264868f78 (20170119/exresop-103)
May 31 08:11:44 aranel kernel: ACPI Exception: AE_AML_OPERAND_TYPE, While resolving operands for [OpcodeName unavailable] (20170119/dswexec-461)
May 31 08:11:44 aranel kernel: ACPI Error: Method parse/execution failed [\_PR.CPU0._PDC] (Node ffff8802660ee118), AE_AML_OPERAND_TYPE (20170119/psp
May 31 08:11:45 aranel kernel: brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Nov 10 2015 06:38:10 version 7.35.177.61 (r598657) FWID 01-e
May 31 08:11:45 aranel kernel: brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code (0x30 0x30)
May 31 08:11:45 aranel systemd-vconsole-setup[593]: Virtual console /dev/tty0 is not in K_XLATE or K_UNICODE.
May 31 08:11:46 aranel kernel: brcmfmac: brcmf_p2p_create_p2pdev: set p2p_disc error
May 31 08:11:46 aranel kernel: brcmfmac: brcmf_cfg80211_add_iface: add iface p2p-dev-wlp3s0 type 10 failed: err=-16
May 31 08:11:52 aranel kernel: brcmfmac: brcmf_inetaddr_changed: fail to get arp ip table err:-23
And wifi stopped working after i updated kernel. Do you guys have any idea what could be a problem?
notjacktall commented on 2017-05-31 03:45 (UTC)
update: it was because i was booting from a boot.efi file and the boot.efi doesn't regenerate every time you run grub-mkconfig. So to fix it all i had to do was regenerate the boot.efi file.
notjacktall commented on 2017-05-30 13:43 (UTC) (edited on 2017-05-30 13:46 (UTC) by notjacktall)
@m3thodic Yeah thats what I was thinking and I do dual boot. Its just arch and mac linux. I am using efi. Just looked into refind that does look like it will solve my problems. I have never used refind though, is there any more additional set up other than installing it using the arch package manager?
m3thodic commented on 2017-05-30 04:40 (UTC)
@notjacktall I'm guessing it has something to do with your partition setup re: EFI. Do you dual-boot at all? I personally install refind on all my EFI-based systems (refind-efi-bin in the AUR). For me it's the quickest and easiest solution that supports every type of EFI setup (or lack there-of) I've come across.
notjacktall commented on 2017-05-29 22:45 (UTC)
I did that and the two are identical. I've pasted the grub.cgf below if you want to take a look at it. But the good news is the kernel dix fix the suspend for me and made the laptop a lot more usable. So, thanks a ton for that :)
[code]
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#
### BEGIN /etc/grub.d/00_header ###
insmod part_gpt
insmod part_msdos
if [ -s $prefix/grubenv ]; then
load_env
fi
if [ "${next_entry}" ] ; then
set default="${next_entry}"
set next_entry=
save_env next_entry
set boot_once=true
else
set default="0"
fi
if [ x"${feature_menuentry_id}" = xy ]; then
menuentry_id_option="--id"
else
menuentry_id_option=""
fi
export menuentry_id_option
if [ "${prev_saved_entry}" ]; then
set saved_entry="${prev_saved_entry}"
save_env saved_entry
set prev_saved_entry=
save_env prev_saved_entry
set boot_once=true
fi
function savedefault {
if [ -z "${boot_once}" ]; then
saved_entry="${chosen}"
save_env saved_entry
fi
}
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
set menu_color_normal=light-blue/black
set menu_color_highlight=light-cyan/blue
if [ x$feature_default_font_path = xy ] ; then
font=unicode
else
insmod part_gpt
insmod ext2
set root='hd0,gpt6'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt6 --hint-efi=hd0,gpt6 --hint-baremetal=ahci0,gpt6 c113c01e-6b64-40fe-a8e9-1d43524fb01f
else
search --no-floppy --fs-uuid --set=root c113c01e-6b64-40fe-a8e9-1d43524fb01f
fi
font="/usr/share/grub/unicode.pf2"
fi
if loadfont $font ; then
set gfxmode=auto
load_video
insmod gfxterm
set locale_dir=$prefix/locale
set lang=en_US
insmod gettext
fi
terminal_input console
terminal_output gfxterm
if [ x$feature_timeout_style = xy ] ; then
set timeout_style=menu
set timeout=5
# Fallback normal timeout code in case the timeout_style feature is
# unavailable.
else
set timeout=5
fi
### END /etc/grub.d/00_header ###
### BEGIN /etc/grub.d/10_linux ###
menuentry 'Arch Linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-c113c01e-6b64-40fe-a8e9-1d43524fb01f' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 76ed38c7-2c83-42c9-ad99-2e78614710df
else
search --no-floppy --fs-uuid --set=root 76ed38c7-2c83-42c9-ad99-2e78614710df
fi
echo 'Loading Linux linux-macbook ...'
linux /vmlinuz-linux-macbook root=UUID=c113c01e-6b64-40fe-a8e9-1d43524fb01f rw BOOT_IMAGE=/vmlinuz-linux-macbook disable_mode=1 quiet splash rootflags=data=writeback ipv6.disable=1
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-macbook.img
}
submenu 'Advanced options for Arch Linux' $menuentry_id_option 'gnulinux-advanced-c113c01e-6b64-40fe-a8e9-1d43524fb01f' {
menuentry 'Arch Linux, with Linux linux-macbook' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-macbook-advanced-c113c01e-6b64-40fe-a8e9-1d43524fb01f' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 76ed38c7-2c83-42c9-ad99-2e78614710df
else
search --no-floppy --fs-uuid --set=root 76ed38c7-2c83-42c9-ad99-2e78614710df
fi
echo 'Loading Linux linux-macbook ...'
linux /vmlinuz-linux-macbook root=UUID=c113c01e-6b64-40fe-a8e9-1d43524fb01f rw BOOT_IMAGE=/vmlinuz-linux-macbook disable_mode=1 quiet splash rootflags=data=writeback ipv6.disable=1
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-macbook.img
}
menuentry 'Arch Linux, with Linux linux-macbook (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-macbook-fallback-c113c01e-6b64-40fe-a8e9-1d43524fb01f' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 76ed38c7-2c83-42c9-ad99-2e78614710df
else
search --no-floppy --fs-uuid --set=root 76ed38c7-2c83-42c9-ad99-2e78614710df
fi
echo 'Loading Linux linux-macbook ...'
linux /vmlinuz-linux-macbook root=UUID=c113c01e-6b64-40fe-a8e9-1d43524fb01f rw BOOT_IMAGE=/vmlinuz-linux-macbook disable_mode=1 quiet splash rootflags=data=writeback ipv6.disable=1
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-macbook-fallback.img
}
menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-c113c01e-6b64-40fe-a8e9-1d43524fb01f' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 76ed38c7-2c83-42c9-ad99-2e78614710df
else
search --no-floppy --fs-uuid --set=root 76ed38c7-2c83-42c9-ad99-2e78614710df
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=c113c01e-6b64-40fe-a8e9-1d43524fb01f rw BOOT_IMAGE=/vmlinuz-linux-macbook disable_mode=1 quiet splash rootflags=data=writeback ipv6.disable=1
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux.img
}
menuentry 'Arch Linux, with Linux linux (fallback initramfs)' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-fallback-c113c01e-6b64-40fe-a8e9-1d43524fb01f' {
load_video
set gfxpayload=keep
insmod gzio
insmod part_gpt
insmod ext2
set root='hd0,gpt5'
if [ x$feature_platform_search_hint = xy ]; then
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt5 --hint-efi=hd0,gpt5 --hint-baremetal=ahci0,gpt5 76ed38c7-2c83-42c9-ad99-2e78614710df
else
search --no-floppy --fs-uuid --set=root 76ed38c7-2c83-42c9-ad99-2e78614710df
fi
echo 'Loading Linux linux ...'
linux /vmlinuz-linux root=UUID=c113c01e-6b64-40fe-a8e9-1d43524fb01f rw BOOT_IMAGE=/vmlinuz-linux-macbook disable_mode=1 quiet splash rootflags=data=writeback ipv6.disable=1
echo 'Loading initial ramdisk ...'
initrd /initramfs-linux-fallback.img
}
}
### END /etc/grub.d/10_linux ###
### BEGIN /etc/grub.d/20_linux_xen ###
### END /etc/grub.d/20_linux_xen ###
### BEGIN /etc/grub.d/30_os-prober ###
### END /etc/grub.d/30_os-prober ###
### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries. Simply type the
# menu entries you want to add after this comment. Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###
### BEGIN /etc/grub.d/41_custom ###
if [ -f ${config_directory}/custom.cfg ]; then
source ${config_directory}/custom.cfg
elif [ -z "${config_directory}" -a -f $prefix/custom.cfg ]; then
source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###
[/code]
m3thodic commented on 2017-05-29 22:20 (UTC)
@notjacktall disable_mode isn't required anymore, but wouldn't hurt anything if you still had it in your grub config.
m3thodic commented on 2017-05-29 22:19 (UTC)
@notjacktall try running grub-mkconfig -o /tmp/grub.cfg and diff the two configs, but before that it wouldn't hurt running the following as root also: mkinitcpio -p linux-macbook
notjacktall commented on 2017-05-29 22:19 (UTC)
Am I adding the wrong thing in the grub file or is there something else that I'm missing? I tried doing the disable_mode=1, but that had no effect also.
Pinned Comments