robclark changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Chrome OS Trogdor Devices - Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630 - Lenovo ThinkPad X13s - and various other snapdragon laptops) - https://oftc.irclog.whitequark.org/aarch64-laptops
todi1 has joined #aarch64-laptops
todi has quit [Ping timeout: 480 seconds]
oy has joined #aarch64-laptops
oy has left #aarch64-laptops [#aarch64-laptops]
hexdump0815 has joined #aarch64-laptops
hexdump01 has quit [Ping timeout: 480 seconds]
yiy has joined #aarch64-laptops
<yiy>
Hi, has anyone had problems with NVMe not being visible from linux on the x13s? Not a single guide I've seen so far had any mention of an issue like this - they all assume that if you can boot then the NVMe is naturally available. No matter the image I try there's no device in /dev/ and no mention of NVMe in dmesg log. It's obviously there and working from the EUFI utility and windows. I don't see
<yiy>
any relevant settings to change in UEFI to make it appear (changing linux mode on/off doesn't make a difference). Firmware version 1.57.
<HdkR>
Works fine here, I have Linux installed on it even. Old kernel/devicetree or something?
<HdkR>
Accidentally doing ACPI booting?
<yiy>
Stupid question probably but how do I check?
<HdkR>
I guess `ls /sys/firmware/devicetree/base` and see if there is anything there for device tree versus acpi boot
<HdkR>
uname -a for old kernel
<yiy>
OK I'll try it. For reference I tried that old debian linaro image, latest armbian and right now testing latest ironbin arch iso.
<yiy>
/sys/firmware/devicetree/base exists and has many entries. My x86_64 desktop doesn't have that so I assume not ACPI boot. Dmesg log says "ACPI: Interpreter disabled"
<HdkR>
Does lspci show the nvme drive?
<yiy>
I don't know what it should look like but probably not. In order from top to bottom: pci bridge, pci bridge, wireless conroller, pci bridge, network controller.
<HdkR>
Yea, there should be a "Non-Volatile memory controller" in there
<yiy>
So strange. Online I see similar issues with x86 systems but problem is some intel/raid option in bios/uefi which does not exist on this device. Short of trying another drive, is there anything else I can try?
<HdkR>
Might be able to check /var/log/kern.log for PCIe probing problems
<HdkR>
or nvme
<yiy>
log here: https://logpaste.com/EBIOUnx4 Search for 0002:00, is that "Timeout on hotplug command 0x03c0" the culprit you think?
<HdkR>
Seems likely, I think that is the bridge that the NVMe is connected to
<yiy>
Not sure how most people don't have this problem though, everyone has the same hardware yet no guides mention this.
<HdkR>
Most guides are likely running downstream kernels that have been working around the issues
<HdkR>
Seems like that's the fix though
<yiy>
I'm running those same kernels and yet only I encounter the issue. Bewildering. I'll now go dig into those kernels to see if they have the patch, and if not, somehow crosscompile and make my own iso. Thanks for the help.
alfredo has joined #aarch64-laptops
<yiy>
Actually turns out armbian already had that patch, and yet it still doesn't work https://logpaste.com/EFGtsTgl Back to square 1.
<HdkR>
quirky
<HdkR>
Sadly I'm just a user, so I don't know how to debug any further
<yiy>
Don't worry about it, I knew what I was getting into when I bought the device.
<yiy>
But could I ask you to post your boot dmesg output? I'd like to compare and see if there are any other differences from a working system.
<HdkR>
You definitely don't want to look at my dmesg output atm. I have the wwan port disabled in the bios and it spams errors constantly
<altacus>
yiy: Have you tried booting from the Ubuntu x13s concept? It allows you to boot from usb and gives you a live working version, which can be handy to try different things out with.
<altacus>
I was wondering if we could ever expect battery life on the x13s to be near the reported 25+ hours that qualcomm claimed on their website.
<clover[m]>
<steev> "clover: HdkR: pushed out 6.5.2..." <- cool, pushed it to my arch repo