You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same issue from here (U-Boot USB-C Pinebook Pro Dock except this is when plugging-in the USB-C dock after the computer booted or has been running, rather than before it boots.
I am running Debian stable, latest everything, kernel 6.5.0-asahi-00671-g618f14cf48b9
Unimportant back story (6.5-asahi is amazing!)
I was doing some 'heavy' testing today and realized that unlike with kernel 6.4-asahi which used to lockup the computer if I have any 2 of 3 firefox-esr, telegram-desktop, or open-xray (a 3D accelerated game) open at the same time. The computer will hang around 30 minutes in, but in 6.5-asahi it no longer hangs, it seems to just kill the app thats hogging all the memory (usually open-xray, it's still got many memory leaks).
The Problem
When I'm using the MacBook Air 2020 I usually have my Pinebook open and monitoring btop and dmesg -w so I can see whats going on. Not a single crash happened in the last few days, however I was looking through dmesg from today and saw this, which shows up whenever I unplug/plug-in my USB-C dock. Usually it takes a few tries for the kernel to recognize the dock and make its USB and Ethernet ports usable (and I usually alternate between the 2 USB-C's on the Mac until I see it works).
Anyways, here's the kernel log, I hope this is helpful
[16531.047680] ------------[ cut here ]------------
[16531.047687] WARNING: CPU: 4 PID: 11785 at drivers/phy/apple/atc.c:1989 atcphy_mux_set_work+0x15b8/0x1610 [phy_apple_atc]
[16531.047707] Modules linked in: wacom hidp sd_mod sg uas usb_storage scsi_mod scsi_common cdc_mbim cdc_wdm snd_usb_audio snd_usbmidi_lib usbhid snd_hwdep snd_rawmidi cdc_ncm cdc_ether usbnet mii xhci_plat_hcd xhci_hcd uinput snd_seq_dummy snd_hrtimer snd_seq snd_seq_device rfcomm algif_hash algif_skcipher af_alg qrtr bnep binfmt_misc brcmfmac_wcc brcmfmac aes_ce_blk aes_ce_cipher hci_bcm4377 brcmutil crct10dif_ce bluetooth cfg80211 ecdh_generic ghash_ce gf128mul rfkill sha3_ce ecc sha3_generic nls_ascii usbcore nls_cp437 sha512_ce sha512_arm64 vfat sha2_ce sha256_arm64 fat snd_soc_macaudio sha1_ce snd_soc_cs42l83_i2c snd_soc_apple_mca snd_soc_tas2770 snd_soc_cs42l42 apple_isp ofpart videobuf2_v4l2 snd_soc_core spi_nor videodev snd_pcm_dmaengine videobuf2_dma_sg mtd snd_pcm videobuf2_memops videobuf2_common snd_timer snd mc leds_pwm pwm_apple tps6598x soundcore joydev evdev loop fuse efi_pstore dm_mod dax configfs efivarfs ip_tables x_tables autofs4 ext4 crc32c_generic mbcache jbd2 dwc3 udc_core roles phy_apple_atc ulpi
[16531.047772] usb_common typec hid_generic
[16531.047778] CPU: 4 PID: 11785 Comm: kworker/4:1 Tainted: G S 6.5.0-asahi-00671-g618f14cf48b9 #2
[16531.047782] Hardware name: Apple MacBook Air (M1, 2020) (DT)
[16531.047785] Workqueue: events atcphy_mux_set_work [phy_apple_atc]
[16531.047798] pstate: 61400009 (nZCv daif +PAN -UAO -TCO +DIT -SSBS BTYPE=--)
[16531.047802] pc : atcphy_mux_set_work+0x15b8/0x1610 [phy_apple_atc]
[16531.047814] lr : atcphy_mux_set_work+0x6c/0x1610 [phy_apple_atc]
[16531.047826] sp : ffff800090cfbd60
[16531.047828] x29: ffff800090cfbd60 x28: ffffd8376ce5d000 x27: ffff01cb9e153ea8
[16531.047832] x26: ffff01ca4d1d6580 x25: ffff01ca341b9e10 x24: ffff01c9d45dc278
[16531.047835] x23: ffff01c9d45dc270 x22: ffff01cb9e158505 x21: ffff01c9d45dc208
[16531.047837] x20: ffff01c9d45dc270 x19: ffff01c9d45dc250 x18: 0000000000000000
[16531.047840] x17: 0000000000000000 x16: ffffd8376c6e8d30 x15: ffffd8376ce69160
[16531.047843] x14: ffffd8376ce8adb8 x13: 0000000000000000 x12: ffffd8376c7126b0
[16531.047846] x11: 0000000000000000 x10: 61af52c86790856b x9 : 0000000000000000
[16531.047849] x8 : 0000000000000001 x7 : 0000000100000021 x6 : ffff800089e9ba34
[16531.047852] x5 : 0000000000000001 x4 : 00000f08ef38e403 x3 : ffff01c9d45dc218
[16531.047854] x2 : ffff800090cfbce8 x1 : ffff800090cfbce8 x0 : 0000000000000000
[16531.047857] Call trace:
[16531.047859] atcphy_mux_set_work+0x15b8/0x1610 [phy_apple_atc]
[16531.047871] process_one_work+0x1f4/0x458
[16531.047878] worker_thread+0x2b8/0x4d0
[16531.047883] kthread+0xe4/0x180
[16531.047886] ret_from_fork+0x10/0x20
[16531.047890] ---[ end trace 0000000000000000 ]---
[16531.425417] xhci-hcd xhci-hcd.0.auto: USB bus 1 deregistered
[16532.425679] phy-apple-atc 383000000.phy: pipehandler lock not acked, this type-c port is probably dead until the next reboot.
[18246.923575] phy-apple-atc 503000000.phy: timed out waiting for ACIOPHY_TOP_PHY_STAT_LN0_UNK23
[18247.023672] phy-apple-atc 503000000.phy: timed out waiting for ACIOPHY_TOP_PHY_STAT_LN0_UNK23
[18247.658847] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[18247.658865] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 1
[18247.659034] xhci-hcd xhci-hcd.0.auto: hcc params 0x0238ffcd hci version 0x110 quirks 0x0000000000000010
[18247.659060] xhci-hcd xhci-hcd.0.auto: irq 103, io mem 0x502280000
[18247.659116] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[18247.659121] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[18247.659126] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.1 Enhanced SuperSpeed
[18247.659194] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05
[18247.659200] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[18247.659204] usb usb1: Product: xHCI Host Controller
[18247.659207] usb usb1: Manufacturer: Linux 6.5.0-asahi-00671-g618f14cf48b9 xhci-hcd
[18247.659211] usb usb1: SerialNumber: xhci-hcd.0.auto
[18247.659432] hub 1-0:1.0: USB hub found
[18247.659445] hub 1-0:1.0: 1 port detected
[18247.659585] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[18247.659623] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.05
[18247.659628] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[18247.659631] usb usb2: Product: xHCI Host Controller
[18247.659634] usb usb2: Manufacturer: Linux 6.5.0-asahi-00671-g618f14cf48b9 xhci-hcd
[18247.659636] usb usb2: SerialNumber: xhci-hcd.0.auto
[18247.659783] hub 2-0:1.0: USB hub found
[18247.659793] hub 2-0:1.0: 1 port detected
[18247.914606] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[18248.070976] usb 1-1: New USB device found, idVendor=0bda, idProduct=5411, bcdDevice= 1.01
[18248.070988] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[18248.070993] usb 1-1: Product: USB2.1 Hub
[18248.070996] usb 1-1: Manufacturer: Generic
[18248.079331] hub 1-1:1.0: USB hub found
[18248.079948] hub 1-1:1.0: 5 ports detected
[18248.188076] macsmc-rtkit 23e400000.smc: RTKit: syslog message: aceElec.cpp:703: Elec: Elec Cause 0x20
[18248.190766] usb 2-1: new SuperSpeed USB device number 2 using xhci-hcd
[18248.219175] usb 2-1: New USB device found, idVendor=0bda, idProduct=0411, bcdDevice= 1.01
[18248.219180] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[18248.219182] usb 2-1: Product: USB3.2 Hub
[18248.219183] usb 2-1: Manufacturer: Generic
[18248.227377] hub 2-1:1.0: USB hub found
[18248.228206] hub 2-1:1.0: 4 ports detected
[18248.246615] macsmc-power macsmc-power: Charging: 1
[18248.248359] macsmc-power macsmc-power: Port 1 state change (charge port: 255)
[18248.349649] macsmc-rtkit 23e400000.smc: RTKit: syslog message: aceElec.cpp:703: Elec: Elec Cause 0x200000
[18248.374597] usb 1-1.2: new full-speed USB device number 3 using xhci-hcd
[18248.477586] usb 1-1.2: New USB device found, idVendor=041e, idProduct=30d7, bcdDevice= 1.00
[18248.477590] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[18248.477592] usb 1-1.2: Product: USB Sound Blaster HD
[18248.477593] usb 1-1.2: Manufacturer: Creative Technology
[18248.477594] usb 1-1.2: SerialNumber: 000000Di
[18248.558732] macsmc-power macsmc-power: Charging: 0
[18248.560734] usb 2-1.1: new SuperSpeed USB device number 3 using xhci-hcd
[18248.570469] macsmc-power macsmc-power: Charging: 1
[18248.571825] macsmc-power macsmc-power: Port 1 state change (charge port: 255)
[18248.671315] input: Creative Technology USB Sound Blaster HD as /devices/platform/soc/502280000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.2/1-1.2:1.5/0003:041E:30D7.000C/input/input17
[18248.671366] macsmc-rtkit 23e400000.smc: RTKit: syslog message: charger.cpp:2418: Not charging:2000
[18248.687447] macsmc-power macsmc-power: Port 2 state change (charge port: 2)
[18248.690396] macsmc-power macsmc-power: Port 1 state change (charge port: 2)
[18248.734779] hid-generic 0003:041E:30D7.000C: input,hidraw2: USB HID v1.11 Device [Creative Technology USB Sound Blaster HD] on usb-xhci-hcd.0.auto-1.2/input5
[18248.822612] usb 1-1.3: new full-speed USB device number 4 using xhci-hcd
[18248.839730] usb 2-1.1: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 2.00
[18248.839739] usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[18248.839744] usb 2-1.1: Product: AX88179A
[18248.839747] usb 2-1.1: Manufacturer: ASIX
[18248.839750] usb 2-1.1: SerialNumber: /* removed */
[18248.926782] usb 1-1.3: New USB device found, idVendor=08bb, idProduct=29c0, bcdDevice= 1.00
[18248.926794] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[18248.926798] usb 1-1.3: Product: USB AUDIO CODEC
[18248.926801] usb 1-1.3: Manufacturer: BurrBrown from Texas Instruments
[18249.087413] cdc_ncm 2-1.1:2.0: MAC-Address: f8:e4:3b:2e:05:50
[18249.087423] cdc_ncm 2-1.1:2.0: setting rx_max = 16384
[18249.100416] cdc_ncm 2-1.1:2.0: setting tx_max = 16384
[18249.110772] cdc_ncm 2-1.1:2.0 eth0: register 'cdc_ncm' at usb-xhci-hcd.0.auto-1.1, CDC NCM (NO ZLP), f8:e4:3b:2e:05:50
[18249.122643] cdc_ncm 2-1.1:2.0 enx/* MAC ADDRESS */: renamed from eth0
[18249.203062] input: BurrBrown from Texas Instruments USB AUDIO CODEC as /devices/platform/soc/502280000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.3/1-1.3:1.3/0003:08BB:29C0.000D/input/input18
[18249.262939] hid-generic 0003:08BB:29C0.000D: input,hidraw3: USB HID v1.00 Device [BurrBrown from Texas Instruments USB AUDIO CODEC] on usb-xhci-hcd.0.auto-1.3/input3
[18249.346648] usb 1-1.4: new high-speed USB device number 5 using xhci-hcd
[18249.454943] usb 1-1.4: New USB device found, idVendor=1a40, idProduct=0801, bcdDevice= 1.00
[18249.454955] usb 1-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[18249.454960] usb 1-1.4: Product: USB 2.0 Hub
[18249.463193] hub 1-1.4:1.0: USB hub found
[18249.463243] hub 1-1.4:1.0: 4 ports detected
[18249.671815] macsmc-rtkit 23e400000.smc: RTKit: syslog message: charger.cpp:2418: Not charging:0
[18249.782657] usb 1-1.4.1: new full-speed USB device number 6 using xhci-hcd
[18249.893776] usb 1-1.4.1: New USB device found, idVendor=17ef, idProduct=6117, bcdDevice= 0.29
[18249.893782] usb 1-1.4.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[18249.893783] usb 1-1.4.1: Product: Lenovo USB-C Unified Pairing Receiver
[18249.893784] usb 1-1.4.1: Manufacturer: Lenovo
[18249.916481] input: Lenovo Lenovo USB-C Unified Pairing Receiver as /devices/platform/soc/502280000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1:1.0/0003:17EF:6117.000E/input/input19
[18249.974949] hid-generic 0003:17EF:6117.000E: input,hidraw4: USB HID v1.11 Keyboard [Lenovo Lenovo USB-C Unified Pairing Receiver] on usb-xhci-hcd.0.auto-1.4.1/input0
[18249.975907] input: Lenovo Lenovo USB-C Unified Pairing Receiver as /devices/platform/soc/502280000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1:1.1/0003:17EF:6117.000F/input/input20
[18249.976051] hid-generic 0003:17EF:6117.000F: input,hidraw5: USB HID v1.11 Mouse [Lenovo Lenovo USB-C Unified Pairing Receiver] on usb-xhci-hcd.0.auto-1.4.1/input1
[18249.976748] input: Lenovo Lenovo USB-C Unified Pairing Receiver Consumer Control as /devices/platform/soc/502280000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1:1.2/0003:17EF:6117.0010/input/input21
[18250.038700] input: Lenovo Lenovo USB-C Unified Pairing Receiver System Control as /devices/platform/soc/502280000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4.1/1-1.4.1:1.2/0003:17EF:6117.0010/input/input22
[18250.038784] hid-generic 0003:17EF:6117.0010: input,hidraw6: USB HID v1.11 Device [Lenovo Lenovo USB-C Unified Pairing Receiver] on usb-xhci-hcd.0.auto-1.4.1/input2
[18250.039461] hid-generic 0003:17EF:6117.0011: hiddev0,hidraw7: USB HID v1.11 Device [Lenovo Lenovo USB-C Unified Pairing Receiver] on usb-xhci-hcd.0.auto-1.4.1/input3
[18250.122653] usb 1-1.4.2: new high-speed USB device number 7 using xhci-hcd
[18250.222976] usb 1-1.4.2: New USB device found, idVendor=1a40, idProduct=0801, bcdDevice= 1.00
[18250.222988] usb 1-1.4.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[18250.222992] usb 1-1.4.2: Product: USB 2.0 Hub
[18250.231231] hub 1-1.4.2:1.0: USB hub found
[18250.231278] hub 1-1.4.2:1.0: 4 ports detected
[18250.318659] usb 1-1.4.4: new full-speed USB device number 8 using xhci-hcd
[18250.440790] usb 1-1.4.4: New USB device found, idVendor=17f6, idProduct=2862, bcdDevice= 1.00
[18250.440802] usb 1-1.4.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[18250.440805] usb 1-1.4.4: Product: Aristides 2862
[18250.440809] usb 1-1.4.4: Manufacturer: Unicomp GA LLC
[18250.440812] usb 1-1.4.4: SerialNumber: 123456
[18250.448109] input: Unicomp GA LLC Aristides 2862 as /devices/platform/soc/502280000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4.4/1-1.4.4:1.0/0003:17F6:2862.0012/input/input23
[18250.510879] hid-generic 0003:17F6:2862.0012: input,hidraw8: USB HID v1.11 Keyboard [Unicomp GA LLC Aristides 2862] on usb-xhci-hcd.0.auto-1.4.4/input0
[18250.526668] usb 1-1.4.2.1: new high-speed USB device number 9 using xhci-hcd
[18250.631463] usb 1-1.4.2.1: New USB device found, idVendor=14cd, idProduct=1212, bcdDevice= 1.00
[18250.631470] usb 1-1.4.2.1: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[18250.631472] usb 1-1.4.2.1: Product: Mass Storage Device
[18250.631473] usb 1-1.4.2.1: Manufacturer: Generic
[18250.631475] usb 1-1.4.2.1: SerialNumber: /* removed */
[18250.631886] usb-storage 1-1.4.2.1:1.0: USB Mass Storage device detected
[18250.632352] scsi host0: usb-storage 1-1.4.2.1:1.0
[18250.710684] usb 1-1.4.2.2: new high-speed USB device number 10 using xhci-hcd
[18250.815564] usb 1-1.4.2.2: New USB device found, idVendor=14cd, idProduct=1212, bcdDevice= 1.00
[18250.815575] usb 1-1.4.2.2: New USB device strings: Mfr=1, Product=3, SerialNumber=2
[18250.815580] usb 1-1.4.2.2: Product: Mass Storage Device
[18250.815584] usb 1-1.4.2.2: Manufacturer: Generic
[18250.815587] usb 1-1.4.2.2: SerialNumber: /* removed */
[18250.816160] usb-storage 1-1.4.2.2:1.0: USB Mass Storage device detected
[18250.816375] scsi host1: usb-storage 1-1.4.2.2:1.0
[18250.914699] usb 1-1.4.2.3: new full-speed USB device number 11 using xhci-hcd
[18251.024107] usb 1-1.4.2.3: New USB device found, idVendor=1d5c, idProduct=7102, bcdDevice= 1.00
[18251.024111] usb 1-1.4.2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[18251.024112] usb 1-1.4.2.3: Product: Generic Billboard Device
[18251.024113] usb 1-1.4.2.3: Manufacturer: Fresco Logic, Inc
[18251.122702] usb 1-1.4.2.4: new full-speed USB device number 12 using xhci-hcd
[18251.244364] usb 1-1.4.2.4: New USB device found, idVendor=08bb, idProduct=2902, bcdDevice= 1.00
[18251.244380] usb 1-1.4.2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[18251.244385] usb 1-1.4.2.4: Product: USB PnP Sound Device
[18251.244389] usb 1-1.4.2.4: Manufacturer: C-Media Electronics Inc.
[18251.274298] input: C-Media Electronics Inc. USB PnP Sound Device as /devices/platform/soc/502280000.usb/xhci-hcd.0.auto/usb1/1-1/1-1.4/1-1.4.2/1-1.4.2.4/1-1.4.2.4:1.3/0003:08BB:2902.0013/input/input24
[18251.334857] hid-generic 0003:08BB:2902.0013: input,hidraw9: USB HID v1.00 Device [C-Media Electronics Inc. USB PnP Sound Device] on usb-xhci-hcd.0.auto-1.4.2.4/input3
[18251.647104] scsi 0:0:0:0: Direct-Access Mass Storage Device 1.00 PQ: 0 ANSI: 0 CCS
[18251.647309] sd 0:0:0:0: Attached scsi generic sg0 type 0
[18251.652655] sd 0:0:0:0: [sda] Media removed, stopped polling
[18251.652900] sd 0:0:0:0: [sda] Attached SCSI removable disk
[18251.843175] scsi 1:0:0:0: Direct-Access Mass Storage Device 1.00 PQ: 0 ANSI: 0 CCS
[18251.843430] sd 1:0:0:0: Attached scsi generic sg1 type 0
[18251.848801] sd 1:0:0:0: [sdb] Media removed, stopped polling
[18251.849073] sd 1:0:0:0: [sdb] Attached SCSI removable disk
The text was updated successfully, but these errors were encountered:
Same issue from here (U-Boot USB-C Pinebook Pro Dock except this is when plugging-in the USB-C dock after the computer booted or has been running, rather than before it boots.
I am running Debian stable, latest everything, kernel
6.5.0-asahi-00671-g618f14cf48b9
Unimportant back story (6.5-asahi is amazing!)
I was doing some 'heavy' testing today and realized that unlike with kernel 6.4-asahi which used to lockup the computer if I have any 2 of 3
firefox-esr
,telegram-desktop
, oropen-xray
(a 3D accelerated game) open at the same time. The computer will hang around 30 minutes in, but in 6.5-asahi it no longer hangs, it seems to just kill the app thats hogging all the memory (usually open-xray, it's still got many memory leaks).The Problem
When I'm using the MacBook Air 2020 I usually have my Pinebook open and monitoring
btop
anddmesg -w
so I can see whats going on. Not a single crash happened in the last few days, however I was looking throughdmesg
from today and saw this, which shows up whenever I unplug/plug-in my USB-C dock. Usually it takes a few tries for the kernel to recognize the dock and make its USB and Ethernet ports usable (and I usually alternate between the 2 USB-C's on the Mac until I see it works).Anyways, here's the kernel log, I hope this is helpful
The text was updated successfully, but these errors were encountered: