Hi Naveen, On Tuesday 07 Feb 2017 04:06:59 Naveen Narayanan wrote: > Hi Mick, > > I am a noob in gentoo so I am not sure that I can help.
Kernel crashes are not necessarily a Gentoo specific problem. They happen on all distros. > But I do have an Retina Macbook Pro (MacbookPro12,1) and am thinking about > running gentoo on it. I would like to know if you were running it > previously on the same/similar model or was it an older model ? Mine is a MacBookPro 11,2 with a 15" screen. Gentoo was running fine on kernel 4.9.39, with systemd and Gnome desktop, but the latest stable kernel has caused me problems as I posted below. There are many people running Linux and Gentoo in particular on MacBooks. Have a look at the Gentoo wiki for guidance. PS. Please check Google for thread hijacking and for top posting. Both are discouraged on this mailing list. > On Mon, Feb 06, 2017 at 10:47:06PM +0000, Mick wrote: > > Hi All, > > > > Just as I thought I was getting on top of my Gentoo installation on a > > MacBook, a new kernel oops unpleasantly, although it manages to boot into > > a Gnome desktop eventually. No wireless is available (broadcom-sta > > proprietary drive is used). Shutting down/rebooting is a hit and miss > > operation. Invariably I have to hold the power button to force it to > > shut down. Shutting the lid does not put it to sleep but goes into some > > race condition with the fans spinning like mad. The screen is black > > thereafter until I force it to shutdown. > > > > Previous kernel 4.4.9 had no such problems. > > > > I attach the log output. Please let me know if you want to see the kernel > > .config too. > > > > > > [ 3.579560] microcode: sig=0x40661, pf=0x20, revision=0x16 > > [ 3.579592] microcode: Microcode Update Driver: v2.01 > > <tig...@aivazian.fsnet.co.uk>, Peter Oruba [ 3.579654] zswap: loaded > > using pool lzo/zbud > > [ 3.579897] Btrfs loaded, crc32c=crc32c-generic > > [ 3.580029] Key type encrypted registered > > [ 3.649140] usb 1-8: new full-speed USB device number 2 using xhci_hcd > > [ 3.724239] Console: switching to colour frame buffer device 360x112 > > [ 3.799720] i915 0000:00:02.0: fb0: inteldrmfb frame buffer device > > [ 3.801258] console [netcon0] enabled > > [ 3.802770] netconsole: network logging started > > [ 3.804327] PM: Checking hibernation image partition /dev/sda4 > > [ 3.810225] scsi 0:0:0:0: Direct-Access ATA APPLE SSD SM0256 > > JA1Q PQ: 0 ANSI: 5 [ 3.817967] usb 1-8: New USB device found, > > idVendor=0a5c, idProduct=4500 [ 3.819504] usb 1-8: New USB device > > strings: Mfr=1, Product=2, SerialNumber=0 [ 3.821026] usb 1-8: > > Product: BRCM20702 Hub > > [ 3.822541] usb 1-8: Manufacturer: Apple Inc. > > [ 3.824358] hub 1-8:1.0: USB hub found > > [ 3.825972] hub 1-8:1.0: 3 ports detected > > [ 3.830176] sd 0:0:0:0: [sda] 490234752 512-byte logical blocks: (251 > > GB/234 GiB) [ 3.830213] sd 0:0:0:0: Attached scsi generic sg0 type 0 > > [ 3.833203] sd 0:0:0:0: [sda] 4096-byte physical blocks > > [ 3.834726] sd 0:0:0:0: [sda] Write Protect is off > > [ 3.836299] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00 > > [ 3.836307] sd 0:0:0:0: [sda] Write cache: enabled, read cache: > > enabled, doesn't support DPO or FUA [ 3.840064] sda: sda1 sda2 sda3 > > sda4 sda5 sda6 > > [ 3.842537] sd 0:0:0:0: [sda] Attached SCSI disk > > [ 3.844652] PM: Hibernation image partition 8:4 present > > [ 3.844653] PM: Looking for hibernation image. > > [ 3.844838] PM: Image not found (code -22) > > [ 3.844838] PM: Hibernation image not present or could not be loaded. > > [ 3.852833] BTRFS: device label root devid 1 transid 2758 /dev/sda5 > > [ 3.855438] BTRFS info (device sda5): disk space caching is enabled > > [ 3.856934] BTRFS info (device sda5): has skinny extents > > [ 3.866909] BTRFS info (device sda5): detected SSD devices, enabling > > SSD mode [ 3.879135] VFS: Mounted root (btrfs filesystem) readonly on > > device 0:16. [ 3.881151] devtmpfs: mounted > > [ 3.883113] Freeing unused kernel memory: 988K (ffffffffb20af000 - > > ffffffffb21a6000) [ 3.884668] Write protecting the kernel read-only > > data: 14336k > > [ 3.886547] Freeing unused kernel memory: 1836K (ffff9c677d435000 - > > ffff9c677d600000) [ 3.890551] Freeing unused kernel memory: 1876K > > (ffff9c677d82b000 - ffff9c677da00000) [ 3.983118] usb 1-12: new > > full-speed USB device number 3 using xhci_hcd [ 4.159453] usb 1-12: > > New USB device found, idVendor=05ac, idProduct=0263 [ 4.162254] usb > > 1-12: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ > > 4.164967] usb 1-12: Product: Apple Internal Keyboard / Trackpad [ > > 4.168010] usb 1-12: Manufacturer: Apple Inc. > > [ 4.176360] input: Apple Inc. Apple Internal Keyboard / Trackpad as > > /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.0/0003:05AC:0263.0001/i > > nput/input6 [ 4.222108] usb 1-8.1: new full-speed USB device number 4 > > using xhci_hcd [ 4.231261] apple 0003:05AC:0263.0001: input,hidraw0: > > USB HID v1.11 Keyboard [Apple Inc. Apple Internal Keyboard / Trackpad] on > > usb-0000:00:14.0-12/input0 [ 4.237987] apple 0003:05AC:0263.0002: > > hidraw1: USB HID v1.11 Device [Apple Inc. Apple Internal Keyboard / > > Trackpad] on usb-0000:00:14.0-12/input1 [ 4.241688] input: bcm5974 as > > /devices/pci0000:00/0000:00:14.0/usb1/1-12/1-12:1.2/input/input7 [ > > 4.302229] usb 1-8.1: New USB device found, idVendor=05ac, idProduct=820a > > [ 4.305085] usb 1-8.1: New USB device strings: Mfr=0, Product=0, > > SerialNumber=0 [ 4.309170] input: HID 05ac:820a as > > /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8.1/1-8.1:1.0/0003:05AC:820A. > > 0003/input/input8 [ 4.338186] systemd[1]: systemd 226 running in system > > mode. (+PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK -SYSVINIT +UTMP > > -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL -XZ +LZ4 +SECCOMP +BLKID -ELFUTILS > > +KMOD -IDN) [ 4.340006] systemd[1]: Detected architecture x86-64. > > [ 4.347847] systemd[1]: Set hostname to <MBP01>. > > [ 4.364193] hid-generic 0003:05AC:820A.0003: input,hidraw2: USB HID > > v1.11 Keyboard [HID 05ac:820a] on usb-0000:00:14.0-8.1/input0 [ > > 4.384115] systemd[1]: Reached target Remote File Systems. > > [ 4.390217] systemd[1]: Listening on /dev/initctl Compatibility Named > > Pipe. [ 4.396334] systemd[1]: Created slice User and Session Slice. > > [ 4.401363] systemd[1]: Listening on Journal Socket (/dev/log). > > [ 4.405430] systemd[1]: Started Forward Password Requests to Wall > > Directory Watch. [ 4.409502] systemd[1]: Started Dispatch Password > > Requests to Console Directory Watch. [ 4.413576] systemd[1]: Reached > > target Paths. > > [ 4.430110] usb 1-8.2: new full-speed USB device number 5 using > > xhci_hcd > > [ 4.494474] BTRFS info (device sda5): disk space caching is enabled > > [ 4.507301] usb 1-8.2: New USB device found, idVendor=05ac, > > idProduct=820b [ 4.509068] usb 1-8.2: New USB device strings: Mfr=0, > > Product=0, SerialNumber=0 [ 4.510192] input: HID 05ac:820b as > > /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8.2/1-8.2:1.0/0003:05AC:820B. > > 0004/input/input9 [ 4.510290] hid-generic 0003:05AC:820B.0004: > > input,hidraw3: USB HID v1.11 Mouse [HID 05ac:820b] on > > usb-0000:00:14.0-8.2/input0 [ 4.539230] scsi 1:0:0:0: Direct-Access > > APPLE SD Card Reader 3.00 PQ: 0 ANSI: 6 [ 4.539335] sd 1:0:0:0: > > Attached scsi generic sg1 type 0 > > [ 4.540136] sd 1:0:0:0: [sdb] Attached SCSI removable disk > > [ 4.566254] systemd-journald[218]: Received request to flush runtime > > journal from PID 1 [ 4.574097] usb 1-8.3: new full-speed USB device > > number 6 using xhci_hcd [ 4.590987] apple_gmux: gmux device not > > present or IO disabled > > [ 4.604565] snd_hda_intel 0000:00:03.0: bound 0000:00:02.0 (ops > > 0xffffffffb1c97140) [ 4.613350] wl: loading out-of-tree module taints > > kernel. > > [ 4.614937] input: HDA Intel HDMI HDMI/DP,pcm=3 as > > /devices/pci0000:00/0000:00:03.0/sound/card0/input10 [ 4.614988] > > input: HDA Intel HDMI HDMI/DP,pcm=7 as > > /devices/pci0000:00/0000:00:03.0/sound/card0/input11 [ 4.615026] > > input: HDA Intel HDMI HDMI/DP,pcm=8 as > > /devices/pci0000:00/0000:00:03.0/sound/card0/input12 [ 4.615922] AVX2 > > version of gcm_enc/dec engaged. > > [ 4.615923] AES CTR mode by8 optimization enabled > > [ 4.625050] BTRFS: device label home devid 1 transid 3496 /dev/sda6 > > [ 4.627466] snd_hda_codec_cirrus hdaudioC1D0: autoconfig for CS4208: > > line_outs=2 (0x12/0x13/0x0/0x0/0x0) type:speaker [ 4.627468] > > snd_hda_codec_cirrus hdaudioC1D0: speaker_outs=0 (0x0/0x0/0x0/0x0/0x0) > > [ 4.627469] snd_hda_codec_cirrus hdaudioC1D0: hp_outs=1 > > (0x10/0x0/0x0/0x0/0x0) [ 4.627470] snd_hda_codec_cirrus hdaudioC1D0: > > mono: mono_out=0x0 [ 4.627471] snd_hda_codec_cirrus hdaudioC1D0: > > dig-out=0x21/0x0 [ 4.627472] snd_hda_codec_cirrus hdaudioC1D0: > > inputs: > > [ 4.627474] snd_hda_codec_cirrus hdaudioC1D0: Internal Mic=0x1c > > [ 4.627475] snd_hda_codec_cirrus hdaudioC1D0: Mic=0x18 > > [ 4.634248] input: HDA Intel PCH Mic as > > /devices/pci0000:00/0000:00:1b.0/sound/card1/input13 [ 4.634304] > > input: HDA Intel PCH Headphone as > > /devices/pci0000:00/0000:00:1b.0/sound/card1/input14 [ 4.634352] > > input: HDA Intel PCH SPDIF as > > /devices/pci0000:00/0000:00:1b.0/sound/card1/input15 [ 4.653793] usb > > 1-8.3: New USB device found, idVendor=05ac, idProduct=8289 [ 4.653794] > > usb 1-8.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [ > > 4.653795] usb 1-8.3: Product: Bluetooth USB Host Controller > > [ 4.653796] usb 1-8.3: Manufacturer: Apple Inc. > > [ 4.668455] wl: module license 'MIXED/Proprietary' taints kernel. > > [ 4.668456] Disabling lock debugging due to kernel taint > > [ 4.699873] BUG: unable to handle kernel NULL pointer dereference at > > (null) [ 4.699874] IP: [<ffffffffc0c454b8>] 0xffffffffc0c454b8 > > [ 4.699875] PGD 0 > > > > [ 4.699876] Oops: 0002 [#1] SMP > > [ 4.699881] Modules linked in: wl(PO+) snd_hda_codec_cirrus > > snd_hda_codec_generic crc32c_intel aesni_intel aes_x86_64 glue_helper lrw > > ablk_helper snd_hda_codec_hdmi cryptd snd_hda_intel snd_hda_codec > > snd_hda_core snd_pcm snd_timer snd apple_gmux [ 4.699882] CPU: 5 PID: > > 276 Comm: systemd-udevd Tainted: P O 4.9.6-gentoo-r1 #4 [ > > 4.699883] Hardware name: Apple Inc. MacBookPro11,2/Mac-3CBD00234E554E41, > > BIOS MBP112.88Z.0138.B21.1612230939 12/23/2016 [ 4.699883] task: > > ffff9c69a76c1780 task.stack: ffffaf480282c000 [ 4.699884] RIP: > > 0010:[<ffffffffc0c454b8>] [<ffffffffc0c454b8>] 0xffffffffc0c454b8 [ > > 4.699884] RSP: 0018:ffffaf480282faf0 EFLAGS: 00010286 > > [ 4.699885] RAX: 0000000000000000 RBX: ffff9c69aca3c000 RCX: > > 00000000a008406c [ 4.699885] RDX: ffff9c69a580e800 RSI: > > ffffffffc07d46f0 RDI: ffff9c69a9733c70 [ 4.699886] RBP: > > ffffaf480282fb78 R08: 0000000000019c20 R09: ffffffffc07d24f5 [ > > 4.699887] R10: ffffd93f91a55840 R11: 0000000000000003 R12: > > ffff9c69a9525000 [ 4.699887] R13: 0000000000000000 R14: > > ffff9c69a9733800 R15: ffff9c69a9733c00 [ 4.699888] FS: > > 00007f3ea5f05800(0000) GS:ffff9c69bf340000(0000) knlGS:0000000000000000 [ > > 4.699889] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > > [ 4.699889] CR2: 0000000000000000 CR3: 00000004676f8000 CR4: > > 00000000001406e0 [ 4.699889] Stack: > > [ 4.699891] 43a014e40282fb08 ffffaf4803600000 00000000a0600000 > > 000043a000000012 [ 4.699892] ffff9c69a75ea120 00000000ffffffea > > ffff9c6900000000 0000000000000004 [ 4.699892] ffff9c69aca3c150 > > 0000000000000202 0000000000000202 0000000063928428 [ 4.699893] Call > > Trace: > > [ 4.699894] [<ffffffffb15c1a6d>] 0xffffffffb15c1a6d > > [ 4.699895] [<ffffffffb13b3f74>] ? 0xffffffffb13b3f74 > > [ 4.699895] [<ffffffffb15c2b72>] 0xffffffffb15c2b72 > > [ 4.699895] [<ffffffffb1768859>] 0xffffffffb1768859 > > [ 4.699896] [<ffffffffb1768a2e>] 0xffffffffb1768a2e > > [ 4.699896] [<ffffffffb17689a0>] ? 0xffffffffb17689a0 > > [ 4.699897] [<ffffffffb17669bf>] 0xffffffffb17669bf > > [ 4.699897] [<ffffffffb17682a9>] 0xffffffffb17682a9 > > [ 4.699897] [<ffffffffb1767edb>] 0xffffffffb1767edb > > [ 4.699898] [<ffffffffc0c45000>] ? 0xffffffffc0c45000 > > [ 4.699898] [<ffffffffb176921b>] 0xffffffffb176921b > > [ 4.699898] [<ffffffffc0c45000>] ? 0xffffffffc0c45000 > > [ 4.699899] [<ffffffffb15c12d4>] 0xffffffffb15c12d4 > > [ 4.699899] [<ffffffffc0c45086>] 0xffffffffc0c45086 > > [ 4.699899] [<ffffffffb1200435>] 0xffffffffb1200435 > > [ 4.699900] [<ffffffffb1320dcc>] ? 0xffffffffb1320dcc > > [ 4.699900] [<ffffffffb1338342>] ? 0xffffffffb1338342 > > [ 4.699901] [<ffffffffb12e6e07>] 0xffffffffb12e6e07 > > [ 4.699901] [<ffffffffb12c37fc>] 0xffffffffb12c37fc > > [ 4.699901] [<ffffffffb12c12e0>] ? 0xffffffffb12c12e0 > > [ 4.699902] [<ffffffffb12c3b9a>] 0xffffffffb12c3b9a > > [ 4.699902] [<ffffffffb1a2bd60>] 0xffffffffb1a2bd60 > > [ 4.699914] Code: ae c0 e8 38 1f a4 ff 49 8b 57 08 49 8d 7f 70 48 c7 c6 > > f0 46 7d c0 49 8b 84 24 08 03 00 00 c7 05 db 75 ff ff 01 00 00 00 8b 4a > > 08 <89> 08 66 8b 52 0c 66 89 50 04 4c 89 fa e8 d6 31 61 f0 49 8d bf [ > > 4.699914] RIP [<ffffffffc0c454b8>] 0xffffffffc0c454b8 > > [ 4.699914] RSP <ffffaf480282faf0> > > [ 4.699915] CR2: 0000000000000000 > > [ 4.699916] ---[ end trace aefb8c9d2d9a8f4d ]--- > > [ 4.704675] BUG: unable to handle kernel paging request at > > fffffffefae8a394 [ 4.704676] IP: [<fffffffefaef4725>] > > 0xfffffffefaef4725 > > [ 4.704677] PGD 23da09067 > > [ 4.704677] PUD 0 > > > > [ 4.704678] Oops: 0000 [#2] SMP > > [ 4.704683] Modules linked in: wl(PO+) snd_hda_codec_cirrus > > snd_hda_codec_generic crc32c_intel aesni_intel aes_x86_64 glue_helper lrw > > ablk_helper snd_hda_codec_hdmi cryptd snd_hda_intel snd_hda_codec > > snd_hda_core snd_pcm snd_timer snd apple_gmux [ 4.704684] CPU: 5 PID: > > 62 Comm: kworker/5:1 Tainted: P D O 4.9.6-gentoo-r1 #4 [ > > 4.704685] Hardware name: Apple Inc. MacBookPro11,2/Mac-3CBD00234E554E41, > > BIOS MBP112.88Z.0138.B21.1612230939 12/23/2016 [ 4.704686] Workqueue: > > events 0xffffffffb18b25c0 > > [ 4.704686] task: ffff9c69acefaf00 task.stack: ffffaf4801ae4000 > > [ 4.704687] RIP: 0010:[<fffffffefaef4725>] [<fffffffefaef4725>] > > 0xfffffffefaef4725 [ 4.704688] RSP: 0018:ffffaf4801ae7b50 EFLAGS: > > 00010246 > > [ 4.704688] RAX: fffffffefaef3e51 RBX: 0000000000000000 RCX: > > fffffffefae8a394 [ 4.704689] RDX: ffffaf4801ae7c18 RSI: > > ffffaf4801ae7c18 RDI: fffffffefae8a394 [ 4.704689] RBP: > > ffffaf4801ae7b90 R08: ffffaf4801ae7c18 R09: fffffffefaee6de0 [ > > 4.704689] R10: 0000000000000000 R11: 0000000000000000 R12: > > ffff9c69a9765000 [ 4.704690] R13: ffffaf4801ae7c18 R14: > > 0000000000000000 R15: ffff9c69bf356200 [ 4.704690] FS: > > 0000000000000000(0000) GS:ffff9c69bf340000(0000) knlGS:0000000000000000 [ > > 4.704691] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 > > [ 4.704691] CR2: fffffffefae8a394 CR3: 000000023da08000 CR4: > > 00000000001406e0 [ 4.704691] Stack: > > [ 4.704692] ffffaf4801ae7c18 ffff9c69bf3562c0 ffffaf4801ae7bc0 > > fffffffefaee6bc5 [ 4.704693] 0000000000000000 0000000000000000 > > ffffaf4801ae7c10 fffffffefaef4e50 [ 4.704694] ffffaf4801ae7bc0 > > fffffffefaef3e6c 0000000000000000 fffffffefaef448b [ 4.704694] Call > > Trace: > > [ 4.704695] [<ffffffffb12509c8>] ? 0xffffffffb12509c8 > > [ 4.704696] [<ffffffffb1598785>] ? 0xffffffffb1598785 > > [ 4.704696] [<ffffffffb1583720>] ? 0xffffffffb1583720 > > [ 4.704696] [<ffffffffb18b58b7>] ? 0xffffffffb18b58b7 > > [ 4.704697] [<ffffffffb18b071e>] ? 0xffffffffb18b071e > > [ 4.704697] [<ffffffffb18b1bc0>] ? 0xffffffffb18b1bc0 > > [ 4.704698] [<ffffffffb1284f3f>] ? 0xffffffffb1284f3f > > [ 4.704698] [<ffffffffb1338376>] ? 0xffffffffb1338376 > > [ 4.704698] [<ffffffffb18b25df>] ? 0xffffffffb18b25df > > [ 4.704699] [<ffffffffb1269c6a>] ? 0xffffffffb1269c6a > > [ 4.704699] [<ffffffffb1269e96>] ? 0xffffffffb1269e96 > > [ 4.704699] [<ffffffffb1269e50>] ? 0xffffffffb1269e50 > > [ 4.704700] [<ffffffffb1269e50>] ? 0xffffffffb1269e50 > > [ 4.704700] [<ffffffffb126f375>] ? 0xffffffffb126f375 > > [ 4.704700] [<ffffffffb126f2b0>] ? 0xffffffffb126f2b0 > > [ 4.704701] [<ffffffffb1a2bfa2>] ? 0xffffffffb1a2bfa2 > > [ 4.704711] Code: b1 01 0f b6 c1 48 83 c4 28 5b 5f 5e 5d c3 55 48 89 e5 > > 41 56 56 57 53 48 83 ec 20 48 89 d6 48 89 cf 45 31 f6 eb 03 41 ff c6 31 > > db <44> 3b 37 73 1b 44 89 f0 48 8d 04 80 48 8d 5c 87 04 48 89 f1 48 [ > > 4.704712] RIP [<fffffffefaef4725>] 0xfffffffefaef4725 > > [ 4.704712] RSP <ffffaf4801ae7b50> > > [ 4.704712] CR2: fffffffefae8a394 > > [ 4.704713] ---[ end trace aefb8c9d2d9a8f4e ]--- > > [ 4.867152] BTRFS info (device sda6): disk space caching is enabled > > [ 4.867152] BTRFS info (device sda6): has skinny extents > > [ 4.868942] BTRFS info (device sda6): detected SSD devices, enabling > > SSD mode [ 4.875417] Adding 16777212k swap on /dev/sda4. Priority:-1 > > extents:1 across:16777212k SSFS -- Regards, Mick
signature.asc
Description: This is a digitally signed message part.