Macbook pro 2016 and External SSD

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
Momonster
Level 1
Level 1
Posts: 6
Joined: Wed May 15, 2024 4:43 am

Macbook pro 2016 and External SSD

Post by Momonster »

Hi Guys, I’m new to the forum and I’m approaching it is search for help. I’m using Mint since one year as main OS, in different laptop. After the happy experience with Mint on a 2013 Macbook Air and a 2018 Lenovo x280 i thought it’s normal to have LM working our of the box.
Then i was looking for a better screen and took a 2016 Macbook pro (13.1).
I already spent several days with the tutorial to fix the numerous problems (Speaker, Camera, Suspend,…) but I’m now facing a problem i cannot find solution on line.
If i connect an external 1TB ssd while the system is running, nothing happen (lsblk returns only the internal ssd), if i connect the same before booting, is perfectly mounted and working (lsblk reports both internal and external)

I tried the same unit on other LM laptop and is perfectly working.
I tried to connect other usb keys on Macbook pro while OS is running and work perfectly.

Few info: the Ext ssd is partitioned and exfat formatted, on partition is bit-locker encrypted.
This is not an issue on other laptop and even after de encryption the issue remain. Anyway if connect before booting the encrypted partition is working.

I’m not an expert but seems is not active a specific service to monitor the usb port, not impacting a small unit but only a large ssd .

Thanks for anyone who could help, please ask any system information may be relevant.

BR
User avatar
hglee
Level 7
Level 7
Posts: 1701
Joined: Fri Jun 22, 2018 4:31 pm

Re: Macbook pro 2016 and External SSD

Post by hglee »

What you describe is similar to this one.

Can you attach a power supply to that external drive?
Linux Mint 21.3 Virginia, MATE 1.26.0, kernel 5.15.*, Dell 2-in-1
AMD Ryzen 7 5825U / Barcelo iGPU - 14" WUXGA Touchscreen
MediaTek MT7921 WiFi-6 BT-5.2; 32GB DDR4@3200MHz; XPG 2TB-NVMe
Momonster
Level 1
Level 1
Posts: 6
Joined: Wed May 15, 2024 4:43 am

Re: Macbook pro 2016 and External SSD

Post by Momonster »

Hi and thanks for reply.
I'm not sure it's the same case. I just tried to connect to macbook 1 old external 3.5 HDD with power supply and an old 2.5 external HDD usb powered. in both cases are properly working recognizing and mounting unit, with laptop unplugged.
In thinks file system in not ad issue as well, the 2.5 is the time machine of an old macbook air, and is not readable by most of system.
Reddog1
Level 8
Level 8
Posts: 2015
Joined: Wed Jun 01, 2011 2:12 pm

Re: Macbook pro 2016 and External SSD

Post by Reddog1 »

If you originally formatted the external drive using macOS Disk Utility, reformat it using linux.

I know its weird, but there are differences between macOS's exfat and Windows/Linux exfat. I've definitely seen a linux format exfat that wouldn't work properly in macOS, and I suspect the opposite can also be true.
Momonster
Level 1
Level 1
Posts: 6
Joined: Wed May 15, 2024 4:43 am

Re: Macbook pro 2016 and External SSD

Post by Momonster »

I'll try but i don't believe this may be the solution.
The same drive is working while already connected at boot.
I believe the solution may be in some device check run at boot and not active afterward.
bear in mind the same ssd is working on a lenovo laptop with the same release of LM.

thanks
G
User avatar
MiZoG
Level 9
Level 9
Posts: 2559
Joined: Fri Jan 26, 2018 8:30 pm
Location: Athens, Greece

Re: Macbook pro 2016 and External SSD

Post by MiZoG »

Open Terminal and execute

Code: Select all

sudo dmesg -w
Then attach your external drive. What message(s) can you read?
Momonster
Level 1
Level 1
Posts: 6
Joined: Wed May 15, 2024 4:43 am

Re: Macbook pro 2016 and External SSD

Post by Momonster »

Hi and sorry for the late answer.

I did like you suggest and nothing happened. no new lines on the terminal.
to be sure, i tried with a normal 8Gb usb key and immediately appears all the lines describing the unit , partitions and mounting operation.

i would exclude an hw issue, because with MacOS the SSD is working. as well while connecting at reboot is working.

by the way, to exclude other factors, i did this test with a clean new Mint installation
Momonster
Level 1
Level 1
Posts: 6
Joined: Wed May 15, 2024 4:43 am

Re: Macbook pro 2016 and External SSD

Post by Momonster »

For refererence, this is what appear while installing the same SSD on Thinkpad X395 with same Linux mint version

[ 5204.446980] usb 3-3: new SuperSpeed USB device number 2 using xhci_hcd
[ 5204.473992] usb 3-3: New USB device found, idVendor=0bda, idProduct=9210, bcdDevice=20.01
[ 5204.474010] usb 3-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5204.474017] usb 3-3: Product: RTL9210
[ 5204.474024] usb 3-3: Manufacturer: Realtek
[ 5204.474031] usb 3-3: SerialNumber: 012345678904
[ 5204.504778] usbcore: registered new interface driver usb-storage
[ 5204.517542] scsi host0: uas
[ 5204.517821] usbcore: registered new interface driver uas
[ 5204.520925] scsi 0:0:0:0: Direct-Access Realtek RTL9210 NVME 1.00 PQ: 0 ANSI: 6
[ 5204.545288] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 5204.557874] sd 0:0:0:0: [sda] 2000409264 512-byte logical blocks: (1.02 TB/954 GiB)
[ 5204.559483] sd 0:0:0:0: [sda] Write Protect is off
[ 5204.559492] sd 0:0:0:0: [sda] Mode Sense: 37 00 00 08
[ 5204.562654] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 5204.563799] sd 0:0:0:0: [sda] Preferred minimum I/O size 512 bytes
[ 5204.563810] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes
[ 5204.595161] sda: sda1 sda2 sda3
[ 5204.595725] sd 0:0:0:0: [sda] Attached SCSI disk
Momonster
Level 1
Level 1
Posts: 6
Joined: Wed May 15, 2024 4:43 am

Re: Macbook pro 2016 and External SSD

Post by Momonster »

in case it may help, i repeat the same test booting the Macbook Pro with Ssd connected, then properly working.

i tried to identify all the relevant lines over the long list . i hope i made it, otherwise i can repeat the test..

[ 1.330307] hub 2-0:1.0: USB hub found
[ 1.330319] hub 2-0:1.0: 6 ports detected
[ 1.330620] xhci_hcd 0000:07:00.0: xHCI Host Controller
[ 1.330625] xhci_hcd 0000:07:00.0: new USB bus registered, assigned bus number 3
[ 1.331741] xhci_hcd 0000:07:00.0: hcc params 0x200077c1 hci version 0x110 quirks 0x0000000200009810
[ 1.332023] xhci_hcd 0000:07:00.0: xHCI Host Controller
[ 1.332026] xhci_hcd 0000:07:00.0: new USB bus registered, assigned bus number 4
[ 1.332029] xhci_hcd 0000:07:00.0: Host supports USB 3.1 Enhanced SuperSpeed
[ 1.332060] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 1.332063] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.332065] usb usb3: Product: xHCI Host Controller
[ 1.332066] usb usb3: Manufacturer: Linux 5.15.0-112-generic xhci-hcd
[ 1.332067] usb usb3: SerialNumber: 0000:07:00.0
[ 1.332163] hub 3-0:1.0: USB hub found
[ 1.332172] hub 3-0:1.0: 2 ports detected
[ 1.332298] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[ 1.332300] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.332302] usb usb4: Product: xHCI Host Controller
[ 1.332303] usb usb4: Manufacturer: Linux 5.15.0-112-generic xhci-hcd
[ 1.332304] usb usb4: SerialNumber: 0000:07:00.0
[ 1.332385] hub 4-0:1.0: USB hub found
[ 1.332393] hub 4-0:1.0: 2 ports detected
[ 1.332443] usb: port power management may be unreliable
[ 1.333235] nvme nvme0: pci function 0000:01:00.0
[ 1.345447] nvme nvme0: 1/0/0 default/read/poll queues
[ 1.345752] ACPI: bus type thunderbolt registered
[ 1.346077] intel-lpss 0000:00:15.0: enabling device (0000 -> 0002)
[ 1.346433] idma64 idma64.0: Found Intel integrated DMA 64-bit
[ 1.349174] nvme0n1: p1 p2
[ 1.364626] cryptd: max_cpu_qlen set to 1000
[ 1.366081] intel-lpss 0000:00:15.2: enabling device (0000 -> 0002)
[ 1.366393] idma64 idma64.1: Found Intel integrated DMA 64-bit
[ 1.371105] nvme0n2: unable to read partition table
[ 1.371111] nvme0n2: partition table beyond EOD, truncated
[ 1.373342] i801_smbus 0000:00:1f.4: SPD Write Disable is set
[ 1.373372] i801_smbus 0000:00:1f.4: SMBus using PCI interrupt
[ 1.374106] i2c i2c-2: 2/2 memory slots populated (from DMI)
[ 1.385821] AVX2 version of gcm_enc/dec engaged.
[ 1.385880] AES CTR mode by8 optimization enabled
[ 1.386105] intel-lpss 0000:00:1e.0: enabling device (0000 -> 0002)
[ 1.386553] idma64 idma64.2: Found Intel integrated DMA 64-bit
[ 1.410944] intel-lpss 0000:00:1e.3: enabling device (0000 -> 0002)
[ 1.411548] idma64 idma64.3: Found Intel integrated DMA 64-bit
[ 1.464874] input: Apple SPI Keyboard as /devices/pci0000:00/0000:00:1e.3/pxa2xx-spi.3/spi_master/spi2/spi-APP000D:00/input/input4
[ 1.468773] input: Apple SPI Touchpad as /devices/pci0000:00/0000:00:1e.3/pxa2xx-spi.3/spi_master/spi2/spi-APP000D:00/input/input5
[ 1.471489] applespi spi-APP000D:00: modeswitch done.
[ 1.486851] i915 0000:00:02.0: [drm] Found 64MB of eDRAM
[ 1.486951] Console: switching to colour dummy device 80x25
[ 1.487003] i915 0000:00:02.0: vgaarb: deactivate vga console
[ 1.488555] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[ 1.489007] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/skl_dmc_ver1_27.bin (v1.27)
[ 1.494902] i915 0000:00:02.0: [drm] [ENCODER:102:DDI B/PHY B] is disabled/in DSI mode with an ungated DDI clock, gate it
[ 1.494907] i915 0000:00:02.0: [drm] [ENCODER:117:DDI C/PHY C] is disabled/in DSI mode with an ungated DDI clock, gate it
[ 1.499621] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 0
[ 1.500847] ACPI: video: Video Device [IGPU] (multi-head: yes rom: no post: no)
[ 1.501604] acpi device:02: registered as cooling_device4
[ 1.501713] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input6
[ 1.724207] fbcon: i915drmfb (fb0) is primary device
[ 1.806588] usb 4-1: new SuperSpeed Plus Gen 2x1 USB device number 2 using xhci_hcd
[ 1.833650] usb 4-1: New USB device found, idVendor=0bda, idProduct=9210, bcdDevice=20.01
[ 1.833663] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1.833669] usb 4-1: Product: RTL9210
[ 1.833673] usb 4-1: Manufacturer: Realtek
[ 1.833677] usb 4-1: SerialNumber: 012345678904
[ 1.836446] usb 4-1: Enable of device-initiated U1 failed.
[ 1.837577] usb 4-1: Enable of device-initiated U2 failed.
[ 1.848135] usbcore: registered new interface driver usb-storage
[ 3.150550] Console: switching to colour frame buffer device 180x56
[ 3.204316] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device
[ 3.668714] usb 4-1: Enable of device-initiated U1 failed.
[ 3.669856] usb 4-1: Enable of device-initiated U2 failed.
[ 3.673455] scsi host0: uas
[ 3.673979] usbcore: registered new interface driver uas
[ 3.677520] scsi 0:0:0:0: Direct-Access Realtek RTL9210 NVME 1.00 PQ: 0 ANSI: 6
[ 3.686408] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 3.697865] sd 0:0:0:0: [sda] 2000409264 512-byte logical blocks: (1.02 TB/954 GiB)
[ 3.699619] sd 0:0:0:0: [sda] Write Protect is off
[ 3.699638] sd 0:0:0:0: [sda] Mode Sense: 37 00 00 08
[ 3.702934] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3.705805] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes
[ 3.732013] sda: sda1 sda2 sda3
[ 3.751283] sd 0:0:0:0: [sda] Attached SCSI disk
Post Reply

Return to “Hardware Support”