All of lore.kernel.org
 help / color / mirror / Atom feed
From: nvme@elfenteich.de (Carina Willbold)
Subject: Accessing the NVMe flash drive of the April 2016 MacBook 12" (A1534)
Date: Sun, 15 May 2016 22:19:13 +0200	[thread overview]
Message-ID: <10c3272709f4fc720d862c81da85e6e9@speicherleck.de> (raw)

Dear NVMe hackers,

I'm trying to access the built-in flash drive of the new April 2016 
MacBook 12" (A1534). Based on suggestions for older MacBooks on this 
list, I loaded the module nvme, and, since the flash drive reports an 
incorrect PCI device class, manually bound it with:

     echo 106b 2003 > /sys/bus/pci/drivers/nvme/new_id

The dmesg output is non-informative, it just reports that the probe 
failed. The flash drive reports under lspci -nn as:

     01:00.0 Mass storage controller [0180]: Apple Inc. Device 
[106b:2003] (rev 11)

Note that this is different from previous versions of the MacBook 
(where the PCI ID was 106b:2001). The flash drive is detected from the 
Grub shell and works just fine from Mac OS X.

I know a bit of C, but have zero experience debugging or programming 
drivers. I'm willing to learn! What should I try next?

Thank you for any advice :-).

LLAP
Carina

PS: I also posted this at 
http://unix.stackexchange.com/questions/283154/accessing-the-nvme-flash-drive-of-the-april-2016-macbook-12-a1534. 
However I believe that this list is better suited.

             reply	other threads:[~2016-05-15 20:19 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-15 20:19 Carina Willbold [this message]
2016-05-15 23:48 ` Accessing the NVMe flash drive of the April 2016 MacBook 12" (A1534) Carina Willbold
2016-05-16  2:59   ` Accessing the NVMe flash drive of the April 2016 MacBook 12" (A1534) [SOLVED] Carina Willbold
2016-05-16 14:46     ` Keith Busch
2016-05-16 17:55       ` Carina Willbold

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10c3272709f4fc720d862c81da85e6e9@speicherleck.de \
    --to=nvme@elfenteich.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.