/srv/irclogs.ubuntu.com/2018/05/23/#xubuntu.txt

seatsea_mHello! I've encountered my most surprising bug yet.07:47
seatsea_mI've just setup xubuntu on a zotac PI223, and as I open the software center, the device powers off completely, no warning, no kernel panic nothing07:48
seatsea_mIt seems to be when it begins scanning for firmware updates.07:48
pmjdebru1jnthat's not a good sign07:49
pmjdebru1jnseatsea_m: that would imply your EFI/BIOS is buggy?07:49
pmjdebru1jnseatsea_m: have you tried manually updating your EFI/BIOS ?07:50
seatsea_mWell to begin with, I had to use a 32bit EFI loader to even be able to boot the installer. So logical assumption is, the software center is expecting 64bit EFI07:51
seatsea_mWhen in reality, this device's EFI is 32bit07:51
pmjdebru1jnpossibly, though linux has most of the thing needed for different EFI bitness07:51
pmjdebru1jnalthough they may have focussed on 32->64 not as much 64->3207:51
seatsea_mWhich is understandable, but I guess for the time being as this device is just destined to be a Skype machine, I would rather just disable the software center from scanning for firmware07:52
seatsea_mHowever I wanted to report this issue anyway, as it's a pretty serious one.07:53
pmjdebru1jnseatsea_m: btw, did you try updating the EFI manually to the latest and see if the issue is still reproducable?07:54
seatsea_mI'll have to look into if that's possible for this device07:54
pmjdebru1jnalso, as a sidenote, does the device still have Legacy/CSM mode (given it's 32bit EFI, probablynot)? if so, that may be a better work around...07:55
pmjdebru1jnseatsea_m: essentially the big question here is, is the kernel doing something wrong, or is it just triggering a bug in EFI07:55
pmjdebru1jnEFIs in general are fairly buggy07:55
seatsea_mIt doesn't seem to have legacy, I looked around the BIOS options.07:56
pmjdebru1jnI'm surprised you got xubuntu installed at all to be honest07:56
seatsea_mUnless it's a weird hybrid bios like my old Asus board that did both legacy and EFI simultaneously (without a toggle). It seems to only support EFI07:57
seatsea_mHave to agree with you there, didn't expect it to work either07:57
pmjdebru1jnactually most BIOS/EFI do both simultaneously07:57
pmjdebru1jnit's not weird at all07:57
seatsea_mBut the installation worked without a hitch other than having to put the 32 EFI loader07:58
seatsea_mOh, I assumed the default was to have a toggle to chose either/or07:58
seatsea_mThere does indeed seem to be a bios update tool,08:00
seatsea_mI will run it08:01
pmjdebru1jnso all new system simply have EFI... no BIOS08:02
pmjdebru1jnbut they have a bit of code called a CSM, which emulates BIOS APIs08:02
pmjdebru1jnwhich is why most EFIs can do both simultaneously08:03
seatsea_mNoted08:03
seatsea_mMan I hate BIOS updates, always so worried there will be a power outage or something and brick the device08:06
pmjdebru1jnin theory most EFI devices should be more robust in that sense08:07
pmjdebru1jnbut yeah, it's not fun regardless08:07
pmjdebru1jnlaptop are less unnerving... since built in UPS :)08:07
seatsea_mXubuntu reports this device has a battery, but it definitely doesn't08:08
seatsea_mAlright, BIOS updated, still crashes the device when I open the software app08:08
pmjdebru1jnpresumably this is a mini-pc? so it probably has laptop grade hardware inside, maybe that includes the battery controller, even if no battery is connected08:08
seatsea_mMaybe so08:08
seatsea_mIt's a P series08:08
pmjdebru1jnso the last thing you could try, is setup a netconsole, and then try to crash it08:09
pmjdebru1jnmaybe some relevant kernel message will be captured08:09
seatsea_mI've never done that before, how do I proceed?08:09
pmjdebru1jnalso, you might want to report this to the fwupd folks, since they might be able to guide you much better in this08:09
pmjdebru1jnhttps://wiki.archlinux.org/index.php/Netconsole08:10
seatsea_mI should have know it's on the archwiki08:10
pmjdebru1jnhaha :)08:10
pmjdebru1jnthey do a good job of providing documentation yes :D08:10
pmjdebru1jnthat often mostly distro independant08:10
pmjdebru1jnbtw, to test netconsole, to see if its working, you can plugin a usb drive or something, that usually generates some kernel messages08:11
pmjdebru1jnseatsea_m: https://groups.google.com/forum/#!forum/fwupd08:14
seatsea_mpmjdebru1jn: unfortunately, I can't run netconsole, neither of the interfaces on the device support polling,08:44
pmjdebru1jnah bummer08:45
pmjdebru1jnI highly suggest to put this case on the fwupd list08:45
pmjdebru1jnsince this is likely not a xubuntu specific issue08:45
pmjdebru1jnat worst the Zotac could be blacklisted in fwupd08:46
seatsea_mAlright, unfortunately this is a device I'm setting up in a business situation, so I won't have much opportunity to debug08:47
pmjdebru1jni'd at least mention it on the list08:47
pmjdebru1jnthe flipside is though, depending on what it's used for, maybe a completely different device might be the proper solution08:47
pmjdebru1jn32uefi is something that isn't well supported on linux at all08:48
pmjdebru1jnfuture major upgrades have a not negligible likelyhood of breaking08:48
pmjdebru1jnanyhow that's your call, just food for thought08:48
seatsea_mWell I'll leave the decision up to my boss, meanwhile is there a way I can disable the firmware update checking?08:50
pmjdebru1jnno clue to be honest08:51
pmjdebru1jnanyhow when looking for hardware to run linux on, having either legacy support (preferable), or 64bit EFI is not a luxury08:52
seatsea_mpmjdebru1jn: tried disabling the update feature of gnome-software via dconf but no change09:05
Miki_Jhello, i managed to install xubuntu on an aspire es1-533 with "sudo ubiquity -b"13:58
Miki_Ji am having problems getting it to boot14:00
Miki_Ji followed the instructions here: https://askubuntu.com/questions/862946/unable-to-install-ubuntu-on-acer-aspire-es1-53314:01
Miki_Jfrom a rEFInd live system command line i did14:02
Miki_Jbcfg boot add 2 fs0:\EFI\ubuntu\grubx64.efi "GRUB Loader"14:02
Miki_Jit now boots to grub, but not xubuntu14:03
Miki_Jit boots thru rEFInd, but not the windows boot loader14:04
Miki_Jany ideas?14:04
james1138Morning all. Hypothetical question. If I was wanting to tweak Xubuntu for speed... would applications with few or no dependencies that may run in the background be a consideration?14:06
=== GridCube_ is now known as GridCube

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!