Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External NVMe enclosure not working properly #81

Open
cubem10 opened this issue Dec 23, 2023 · 0 comments
Open

External NVMe enclosure not working properly #81

cubem10 opened this issue Dec 23, 2023 · 0 comments

Comments

@cubem10
Copy link

cubem10 commented Dec 23, 2023

Device: Apple MacBook Air (M1, 2020, 8-core CPU, 7-core GPU, 256GB SSD, 8GB RAM)
Distro: Ubuntu 22.04 LTS with 6.5.0-1013-apple-arm

I'm using SK Hynix P31 Gold 500GB SSD with RevuAhn UX980 NVMe enclosure. It works perfectly on macOS, but on Linux, even a simple umount operation takes long time. Formatting partition to ext4 takes abnormally long time as well.
My dmesg is attached below.

[  134.254091] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[  134.254105] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 3
[  134.254273] xhci-hcd xhci-hcd.0.auto: hcc params 0x0238ffcd hci version 0x110 quirks 0x0000000000000010
[  134.254289] xhci-hcd xhci-hcd.0.auto: irq 105, io mem 0x502280000
[  134.254348] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[  134.254353] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 4
[  134.254358] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.1 Enhanced SuperSpeed
[  134.254433] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[  134.254440] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  134.254444] usb usb3: Product: xHCI Host Controller
[  134.254446] usb usb3: Manufacturer: Linux 6.5.0-1013-apple-arm xhci-hcd
[  134.254449] usb usb3: SerialNumber: xhci-hcd.0.auto
[  134.254655] hub 3-0:1.0: USB hub found
[  134.254668] hub 3-0:1.0: 1 port detected
[  134.254822] usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
[  134.254865] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.05
[  134.254869] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[  134.254873] usb usb4: Product: xHCI Host Controller
[  134.254875] usb usb4: Manufacturer: Linux 6.5.0-1013-apple-arm xhci-hcd
[  134.254878] usb usb4: SerialNumber: xhci-hcd.0.auto
[  134.255074] hub 4-0:1.0: USB hub found
[  134.255084] hub 4-0:1.0: 1 port detected
[  139.046154] usb 4-1: new SuperSpeed Plus Gen 2x1 USB device number 2 using xhci-hcd
[  139.070769] usb 4-1: New USB device found, idVendor=152d, idProduct=0562, bcdDevice= 2.08
[  139.070777] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  139.070779] usb 4-1: Product: RevuAhn  UX980
[  139.070781] usb 4-1: Manufacturer: RevuAhn  UX980
[  139.070783] usb 4-1: SerialNumber: RevuAhn  UXBC8
[  139.073499] scsi host0: uas
[  139.074191] scsi 0:0:0:0: Direct-Access     RevuAhn  UX980            0208 PQ: 0 ANSI: 6
[  141.038002] sd 0:0:0:0: Attached scsi generic sg0 type 0
[  141.038424] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[  141.038437] sd 0:0:0:0: [sda] 4096-byte physical blocks
[  141.038603] sd 0:0:0:0: [sda] Write Protect is off
[  141.038610] sd 0:0:0:0: [sda] Mode Sense: 5f 00 00 08
[  141.038916] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  141.039123] sd 0:0:0:0: [sda] Preferred minimum I/O size 4096 bytes
[  141.039130] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes not a multiple of preferred minimum block size (4096 bytes)
[  141.048473]  sda: sda1 sda2 sda3
[  141.048641] sd 0:0:0:0: [sda] Attached SCSI disk
[  141.339149] audit: type=1107 audit(1703325332.426:100): pid=720 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.12" mask="receive" pid=3054 label="snap.firefox.firefox" peer_pid=741 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
[  141.340681] audit: type=1107 audit(1703325332.426:101): pid=720 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.12" mask="receive" pid=3054 label="snap.firefox.firefox" peer_pid=741 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
[  141.341048] audit: type=1107 audit(1703325332.426:102): pid=720 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.12" mask="receive" pid=3054 label="snap.firefox.firefox" peer_pid=741 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
[  141.348852] EXT4-fs (sda3): recovery complete
[  141.348857] EXT4-fs (sda3): mounted filesystem 2ae32bea-8e7a-4b28-9106-5a14c6099e17 r/w with ordered data mode. Quota mode: none.
[  141.351571] audit: type=1107 audit(1703325332.438:103): pid=720 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal"  bus="system" path="/org/freedesktop/login1" interface="org.freedesktop.DBus.Properties" member="PropertiesChanged" name=":1.12" mask="receive" pid=3054 label="snap.firefox.firefox" peer_pid=741 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
[  175.102802] sd 0:0:0:0: [sda] tag#3 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD OUT 
[  175.102815] sd 0:0:0:0: [sda] tag#3 CDB: Write(10) 2a 00 1d 20 05 f8 00 04 00 00
[  175.102904] sd 0:0:0:0: [sda] tag#2 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT 
[  175.102908] sd 0:0:0:0: [sda] tag#2 CDB: Write(10) 2a 00 1d 20 01 f8 00 04 00 00
[  175.103304] sd 0:0:0:0: [sda] tag#1 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD OUT 
[  175.103308] sd 0:0:0:0: [sda] tag#1 CDB: Write(10) 2a 00 1d 1f fd f8 00 04 00 00
[  175.103802] sd 0:0:0:0: [sda] tag#0 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD OUT 
[  175.103806] sd 0:0:0:0: [sda] tag#0 CDB: Write(10) 2a 00 1d 1f f9 f8 00 04 00 00
[  180.226879] sd 0:0:0:0: [sda] tag#4 uas_eh_abort_handler 0 uas-tag 5 inflight: CMD OUT 
[  180.226891] sd 0:0:0:0: [sda] tag#4 CDB: Write(10) 2a 00 2b a3 58 00 00 00 08 00
[  180.242866] scsi host0: uas_eh_device_reset_handler start
[  180.371004] usb 4-1: reset SuperSpeed Plus Gen 2x1 USB device number 2 using xhci-hcd
[  180.392109] scsi host0: uas_eh_device_reset_handler success
[  212.475169] sd 0:0:0:0: [sda] tag#23 uas_eh_abort_handler 0 uas-tag 4 inflight: CMD OUT 
[  212.475187] sd 0:0:0:0: [sda] tag#23 CDB: Write(10) 2a 00 1d 20 45 f8 00 04 00 00
[  212.475270] sd 0:0:0:0: [sda] tag#22 uas_eh_abort_handler 0 uas-tag 3 inflight: CMD OUT 
[  212.475277] sd 0:0:0:0: [sda] tag#22 CDB: Write(10) 2a 00 1d 20 41 f8 00 04 00 00
[  212.475698] sd 0:0:0:0: [sda] tag#21 uas_eh_abort_handler 0 uas-tag 2 inflight: CMD OUT 
[  212.475704] sd 0:0:0:0: [sda] tag#21 CDB: Write(10) 2a 00 1d 20 3d f8 00 04 00 00
[  257.023416] sd 0:0:0:0: [sda] tag#16 uas_eh_abort_handler 0 uas-tag 1 inflight: CMD 
[  257.023436] sd 0:0:0:0: [sda] tag#16 CDB: Synchronize Cache(10) 35 00 00 00 00 00 00 00 00 00
[  257.047430] scsi host0: uas_eh_device_reset_handler start
[  257.175531] usb 4-1: reset SuperSpeed Plus Gen 2x1 USB device number 2 using xhci-hcd
[  257.196659] scsi host0: uas_eh_device_reset_handler success
[  303.714988] audit: type=1107 audit(1703325494.799:104): pid=720 uid=102 auid=4294967295 ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/timedate1" interface="org.freedesktop.DBus.Properties" member="GetAll" mask="send" name=":1.166" pid=3054 label="snap.firefox.firefox" peer_pid=4613 peer_label="unconfined"
                exe="/usr/bin/dbus-daemon" sauid=102 hostname=? addr=? terminal=?'
[  318.478252] scsi host0: uas_eh_device_reset_handler start
[  318.478547] sd 0:0:0:0: [sda] tag#14 uas_zap_pending 0 uas-tag 3 inflight: CMD 
[  318.478553] sd 0:0:0:0: [sda] tag#14 CDB: Write(10) 2a 00 1d 20 3d f8 00 04 00 00
[  318.478557] sd 0:0:0:0: [sda] tag#15 uas_zap_pending 0 uas-tag 4 inflight: CMD 
[  318.478560] sd 0:0:0:0: [sda] tag#15 CDB: Synchronize Cache(10) 35 00 00 00 00 00 00 00 00 00
[  318.606441] usb 4-1: reset SuperSpeed Plus Gen 2x1 USB device number 2 using xhci-hcd
[  318.627706] scsi host0: uas_eh_device_reset_handler success
[  320.441106] evict_inodes inode 00000000cffc1fff, i_count = 1, was skipped!
[  320.441116] evict_inodes inode 000000003f0461be, i_count = 1, was skipped!
[  320.441172] EXT4-fs (sda3): unmounting filesystem 2ae32bea-8e7a-4b28-9106-5a14c6099e17.

Any help will be appreciated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant