Accessing the NVMe flash drive of the April 2016 MacBook 12" (A1534) [SOLVED]

Keith Busch keith.busch at intel.com
Mon May 16 07:46:54 PDT 2016


On Mon, May 16, 2016 at 04:59:51AM +0200, Carina Willbold wrote:
> >Am 2016-05-15 22:19, schrieb Carina Willbold:
> >However actually trying to access one of the partitions (for instance,
> >trying
> >to mount them or executing head -c 20 /dev/nvme0n1p1) results in timeouts:
> [...]
> 
> After a reboot, the timeouts vanished.
> 
> I can now happily confirm that accessing the flash drive works using kernel
> 4.6.0-rc7 and manually binding using:
> 
>     echo 106b 2003 > /sys/bus/pci/drivers/nvme/new_id
> 
> No controller resets or other IO errors occur even with (moderately)
> drive-intense activities like compiling and installing packages.
> 
> I'll submit a patch which will make the manual binding superfluous tomorrow.

It was starting to sound like you might need to copy the current Apple
driver quirk for the 0x2001 device, but if it's working without, you
can just append the VID/DID to nvme's pci_device_id table.



More information about the Linux-nvme mailing list