/srv/irclogs.ubuntu.com/2016/01/19/#ubuntu+1.txt

matthewjp2it says to get java but it gives me this error matplayzmcpe@matplayzmcpe-desktop:~$ sudo apt-get install sun-java6-jdk00:43
matthewjp2Reading package lists... Done00:43
matthewjp2Building dependency tree00:43
matthewjp2Reading state information... Done00:43
matthewjp2Package sun-java6-jdk is not available, but is referred to by another package.00:43
matthewjp2This may mean that the package is missing, has been obsoleted, or00:43
matthewjp2is only available from another source00:43
matthewjp2However the following packages replace it:00:43
matthewjp2  apt00:43
matthewjp2E: Package 'sun-java6-jdk' has no installation candidate00:43
matthewjp2matplayzmcpe@matplayzmcpe-desktop:~$00:43
matthewjp2hi01:09
=== matthewjp2 is now known as Welcome
=== MerryChristmas is now known as benonsftware
=== benonsftware is now known as benonsoftware
lordievaderGood morning.07:57
z4sk4hi all08:57
lordievadero/08:57
bumbar_i'm trying to install cpp-ethereum, which depends on alethzero, which depends on libqt5webengine5, which depends on qtdeclrative-abi-5-4-1, but: The following packages have unmet dependencies: libqt5webengine5 : Depends: qtdeclarative-abi-5-4-1 but it is not installable10:36
OerHeksHi, is this feature indeed in 16.04? unity-panel can be placed at the bottom? http://linux.softpedia.com/blog/ubuntu-16-04-lts-to-let-users-move-the-unity-launcher-at-the-bottom-of-the-screen-498000.shtml15:18
k1lOerHeks: no15:30
k1lthat article is not really based on facts15:30
k1lhttps://code.launchpad.net/~feng-kylin/unity/unityshell-rotated-kylin/+merge/281182   that is the patch. its still pending and "need review"15:31
OerHeksk1l, thank you, i wondered as i didn't hear about it.15:34
k1land i bet there will be some shitstorm again why 16.04 did not include that patch when that linux news site said it will15:39
* genii covers his ears in horror and glares at k1l15:53
JediMasterhi guys, I've managed to somewhat break an upgrade from 14.04 to xenial, it doesn't appear to be able to read the lvm root to boot, I get the following: http://pastebin.com/VCGVjxH017:26
JediMasterit's also a remote machine, just to make things more interesting =)17:27
JediMasterluckily I can remote boot the xenial iso, I have tried the rescue procedures, it managed to mount the root partition and I ran grub-install on it, then dropped to the chrooted shell, and ran update-grub17:28
JediMasterbut still get the above error17:28
JediMasterok, I'm booted back into Linux 3.13.0 kernel, anything I can do to fix the 4.3.0 kernel?17:47
lotuspsychjeJediMaster: its not very recommended to upgrade from trusty to xenial17:48
lotuspsychjeJediMaster: clean install instead?17:48
JediMasternah, can't be bothered with a full reinstall at the moment, I will when it's released but not yet17:48
lotuspsychjeJediMaster: things can still break in this stage17:49
JediMasterlotuspsychje, I'm aware =)17:50
JediMasterit looks like it's just the 4.3 kernel causing problems at the moment17:50
JediMasterjust done a apt-get --reinstall on the 4.3 image and it's updated grub, going to try a reboot17:51
JediMastertbh PHP 7 is the main reason for the upgrade, I know I could compile it myself, but nice to have automatic security updates when it goes live17:54
JediMasterhmm, same error with linux 4.3.0-5-generic17:56
JediMasterwhat could be different between the ubuntu linux 3.13.0 and 4.3.0 packages that would stop the LVM root from being detected?18:07
JediMasterboth the linux-image and linux-image-extra packages for both are installed, and probably less relevant, the headers too18:08
JediMasterall are -generic too18:09
JediMastergrub commands are the same too: linux   /vmlinuz-4.3.0-5-generic root=/dev/mapper/backup--vg-root ro  pci=noacpi splash quiet $vt_handoff18:11
JediMasterand: linux   /vmlinuz-3.13.0-74-generic root=/dev/mapper/backup--vg-root ro  pci=noacpi splash quiet $vt_handoff18:11
JediMasterother grub config appears to be the same for both kernel images18:15
JediMastermaybe the initrd image doesn't contain the required drivers18:15
JediMasterthe initrd.img for 4.3 is 50% larger than the 3.13 one (31M vs 20M)18:17
lordievaderJediMaster: Can you mount the root fs in the busybox?18:25
JediMasterlordievader, I can just go to grub and select linux 3.13 instead and it boots fine, but I'd rather get the latest 4.13 working18:26
lordievaderJediMaster: That was not my question ;)18:26
JediMasterlordievader, but to answer your question, no, /dev/mapper doesn't show it18:26
JediMastergive me a chance =)18:26
lordievaderJediMaster: Do you have lvm command available in the initrd?18:27
JediMasterI've actually just extracted both initrd images to compare them, there's tonnes of differences in available modules =/18:27
JediMasterlordievader, I could reboot and try but it'll take 3-4 minutes as it's a server, I guess I could check the image18:28
lordievaderSure, quite different kernel versions.18:28
lordievaderJediMaster: This chat is on another machine?18:28
JediMasteryeah, the machine is remote in a datacentre18:28
lordievaderOk, good ;)18:28
JediMasterI've got remote KVM18:28
JediMasterlordievader, yes /sbin/lvm is in the initrd image18:40
lordievaderOkay, what is the output of 'lvm vgs'?18:40
JediMasterok, I'm booted into 3.13 at the moment, I'll run it there, then reboot and pastebin both18:41
JediMasteranything else to check before I reboot?18:41
lordievaderlvm lvs18:41
lordievaderI think it shows unactivated lv's.18:42
JediMaster if only I could copy/paste from the KVM18:43
JediMasterI had to use OCR to do the pastebin earlier =)18:43
lordievaderIf you use 'virsh console' you can ;)18:43
JediMastertoo lazy to type it all out heh18:43
JediMasterjust looking that up seems to have a lot of kvm related links, just to be clear I meant Dell's iDRAC when I meant remote KVM18:45
JediMaster*said18:46
JediMasterlvm vgs complains: /run/lvm/lvmetad.socket: connect failed: No such file or directory18:47
JediMasterbah, mkdir /run/lvm then re-running it didn't work heh18:47
JediMasterI'm guessing not all the required mount points are mounted within busybox18:49
JediMasterlordievader, any idea if busy box has a text editor?18:53
JediMasterreally, there's wget installed in initrd image but not vi18:55
JediMasteris there a way of forcing linux to drop to the initrd image rather than a normal boot?19:00
JediMasterso I can check the running modules in the working initrd19:00
lordievaderAh, the other kvm.19:00
JediMasterlordievader, yeah =)19:00
lordievaderAnd you are looking for 'break=<something>'19:01
lordievaderlvm2 is still installed after the upgrade?19:01
JediMasterI'll reboot and check19:01
JediMasterthe upgrade was pretty broken due to a change in rkhunter's config, I ended up having to apt-get dist-upgrade, autoremove etc.19:03
lordievaderPerhaps it got removed, that would explain these troubles ;)19:03
JediMastereven though it boots into the old kernel?19:03
JediMasterit's booting, I saw it starting lvm2, so I guess it's there19:04
JediMasteryeah, lvm2 2.02.133-1ubuntu219:04
lordievaderThe lvm2 package adds some modules to the initrd, if the initrd of the 4.x kernel got made after it got removed those modules are missing.19:06
lordievaderThe old kernel doesn't have that problem if the initrd is not rebuild.19:06
JediMasterI did: apt-get --reinstall install linux-image-4.3.0-5-generic19:08
JediMasterdoesn't that rebuilt initrd on install?19:08
JediMaster*rebuild19:08
lordievaderYes, the 4.3 kernel. Is that the old kernel?19:10
JediMasterI wonder if there are kernel modules that have been renamed or replaced between 3.13 and 4.3 which maybe haven't been correctly copied into the initrd19:10
JediMasterno, 3.13 is the old trusty kernel, 4.3 is the new one19:11
lordievaderYeah that is what I mean ;) But if lvm2 is still installed my theory is invalid.19:11
JediMasteryeah, it is19:11
JediMasterwell I've got a working machine on 3.13, but if I reboot it'd break, I'm not sure removing linux-generic is a wise idea19:13
lordievaderThat is a meta-package.19:13
lordievaderBut do keep it installed ;)19:14
lordievaderOdd though that it fails on lvmetad, it should just fall back or the regular scanning...19:17
lordievaderI suppose 'lvm pvs' gave the same error?19:17
JediMasterdidn't try it, shall I reboot, or anything to try from the working kernel first?19:18
lordievaderRebuild an initrd... though I don't think it will help.19:20
JediMasterI --reinstalled lvm2, it's run update-initramfs as part of the install, I'll try again19:20
JediMasteroddly, only for 4.3.0-519:21
JediMasternot for the existing kernel that's booted19:21
JediMasterlordievader, same error, also same error with lvm pvs19:25
lordievaderSystemd ain't available yet in a Ubuntu initrd, is it?19:26
JediMastercan't see it there19:26
JediMasterbtw, thanks for the help lordievader19:26
lordievaderLets see what I have in my initrd.19:26
JediMasterI still don't understand wget being in it19:27
TJ-JediMaster: I very much suspect that system has hit by some regressions in the PCI bus assigment logic since v3.13 kernel.19:28
TJ-JediMaster: looking at your original pastebin showing PCI failures leads me to that conclusion, which possibly means the disk controller isn't being initialised19:28
JediMasterTJ-, I do have a bunch of PCI errors in there19:28
JediMasterthat might explain it, it's a Dell PowerEdge R41519:29
lordievaderI get the same error but my lv's do show up.19:30
JediMasterlordievader, TJ-'s theory would cover that19:30
JediMasterTJ-, do you think it's a kernel bug, or a missing driver?19:31
TJ-JediMaster: there have been some bad regression since v3.18 that still aren't fixed in mainline as yet... 17 months and counting so far. The fact the fragment of dmesg output is showing device init failures makes me suspect that one or more devices are unable to allocate all their resources into parent bridge windows correctly.19:33
JediMasterI wonder what kernel the daily iso installer uses as it picked up the lvm correctly19:33
TJ-JediMaster: on the next 4.x reboot, when it fails to the busybox initrd shell, do "dmesg | grep BAR " for an initial indication of if that is the case. If you have sufficient remote control, pull the entire 'dmesg' output to a local log-file and paste it19:34
JediMasterTJ-, damn, can't put a pipe symbol in the kvm =/19:35
JediMasterah ascii codes with alt and num pad are working =D19:35
TJ-JediMaster: if it works from the same kernel on an ISO then PCI bus windows is less likely; in which case I'd check that /etc/initramfs-tools/initramfs.conf has "MODULES=most"19:36
JediMasterrofl, what are the odds, I nearly guessed the ascii code, I put 123 in and it's 124 =D19:37
TJ-1 in 256 ? :p19:37
JediMasterTJ-, there's many many pages of output19:37
JediMasteryeah, but still =)19:37
TJ-JediMaster: yes, it's the entire kernel log, and very useful in these situations19:37
JediMastergetting that from a graphical remote console will be tricky19:38
TJ-you've got errors for USB, IDE, network, and MPT devices. Suggests a major low-level cause19:38
JediMasterif I pipe it to the filesystem, will that write to the initrd.img file?19:38
TJ-No19:39
JediMasterbah19:39
JediMasterworth a try19:39
TJ-At this stage there's likely no accessible devices, but you could check and mount one file-system read/write if there is one, to save the log permanently19:39
JediMasterhmm, I wonder if USB is working, I may be able to mount another drive19:39
TJ-anything in "ls -la /dev/block/" that's useful?19:40
JediMasternope, all loop and ram19:40
JediMasterI guess not then19:41
TJ-not even the device with GRUB's file-system, and /boot/ on it?19:41
JediMasternot in there, no19:41
JediMasterno, /boot isn't mounted either19:41
TJ-if /boot/grub/ is in the VG-LV backup-vg/root ... then that tends to confirm the disk controller isn't accessibly19:41
TJ-because GRUB's lvm module has obviously accessed it19:42
JediMasterIIRC /boot isn't an LVM partition19:42
TJ-anything with "find /lib/modules -type f -name '*.ko' ?19:42
JediMasterso I think grub is accessing the PCI correctly but the 4.3.0 kernel isn't19:42
TJ-GRUB uses UEFI/BIOS services to read the disk, unless you switch it to 'native' mode19:43
TJ-Once the kernel starts it has to do that with its own drivers19:43
JediMasterah right, and yes, tonnes of modules19:43
JediMasterit's still listing them19:43
JediMasterI happen to have the output of /proc/modules from the 3.13.0 kernel, anything I should look for?19:44
TJ-JediMaster: OK, so not missing modules... this points back to my original gut feeling... failure to correctly map the PCI devices. Are you able to edit the kernel's command-line via the GRUB menu at boot time?19:44
JediMasteryes19:44
TJ-JediMaster: differences between that and the failing /proc/modules19:44
JediMasterthere's tonnes more from the working kernel, but that's not from initrd19:44
TJ-JediMaster: OK, next time you boot to this failing kernel add "pci=realloc,assign-busses" as a test. That tells the PCI setup code 2 things: 1) adjust PCI bridge windows to fit downstream devices, regardless of what the BIOS/ACPI config states and 2) ignore the BIOS bridge/device config entirely and redo it19:46
JediMasterI'll do that now19:46
TJ-If that solves/improves it, that is more evidence towards the PCI bridge window issues. It may not completely fix all issues though.19:47
JediMasterTJ-, I've currently got pci=noacpi at the moment, it's been years since I set up this machine, but I think it was failing to halt correctly at the time, could this be part of the problem?19:48
JediMasterohh ohh... new errors19:49
JediMasterbut it's booting19:50
JediMasteryeah, removing the pci=noacpi has sorted it19:50
TJ-oh... that would DEFINIATELY have been causing problems!19:50
TJ-Didn't know you had that. That stops the BIOS/UEFI from informing the PCI sub-system of the optimum device mappings19:51
JediMasterhaha, ok my bad then19:51
TJ-it'll probably work fine without that, and without my suggestions19:51
TJ-no pci=XXXX or noacpi or whatever19:52
JediMasterlordievader, it was pci=noacpi causing the problems19:52
JediMasteryeah, I removed it from the grub edit line and it booted fine, I'll update the config19:52
TJ-It is a very old rare system that will benefit from pci=noacpi or 'noacpi'19:53
TJ-that's a sledgehammer to crack a very samm nut. There are subtle sub-system controls for those to affect just the bit that has an issue, rather than disabling the entire thing19:54
JediMasteryeah, I couldn't find any other fix at the time for the machine not powering down on halt19:57
JediMasterat least I can remotely power the machine on with the iDRAC19:57
TJ-that can often be solved by using the most recent acpi_osi=XXXX value the ACPI DSDT of the system supports19:58
JediMastercompletely forgot that I'd changed the default kernel arguments, it's been many years19:59
JediMasterhmm, black screen now =/20:00
JediMasterthe machine is up, but the console is dead20:00
JediMasterweird, ctrl-alt-f1 and it's back20:00
JediMasterall looks fine now, will try a halt and see if it powers down20:01
JediMasternope, it doesn't power down after "system halted" never mind, I can do that via the iDRAC20:02
JediMasterTJ-, lordievader thanks very much for both of your help, all looking good now20:06
TJ-JediMaster: see if you can fix that power-off issue with acpi_osi20:06
JediMasterany idea where I find the DSDT code for the system?20:06
JediMasterI've had a quick google and couldn't find it20:07
JediMasterlol I only did the dist-upgrade a few hours ago and there's a new kernel already =D20:07
TJ-JediMaster: "sudo strings /sys/firmware/acpi/tables/DSDT | grep -i 'windows' " and identify the most recent Windows version it reports, something like "Windows 2012" ... then add to /etc/default/grub's "GRUB_CMDLINE_LINUX="... \"acpi_osi=Windows XXXXX\" " (where XXXXX is the 2012 or whatever you identified)20:07
JediMasterer do-release-upgrade even20:07
TJ-JediMaster: then "update-grub" so /boot/grub/grub.cfg is updated, and try a reboot20:08
JediMasterI'll try that now20:08
TJ-make sure to *escape* the double-quotes in that string \" not "20:08
TJ-since the entire string is surrounded by " too20:09
JediMasteroh yuck20:09
JediMasterhttp://pastebin.com/zRdcPayn20:09
JediMasterI guess the newest must be 2006.120:10
TJ-Yes. the fact there's 2006 and 2006.1 suggests the BIOS ACPI will do something slightly different for the point release.20:11
TJ-what happens is, the ACPI DSDT contains bytecode of methods that the kernel's ACPI core executes. The DSDT code contains code that alters what methods and services it offers based on the OSI string passed by the OS.20:13
TJ-The default is usually some very basic minimum (because its rare the BIOS ACPI OSI matches on "Linux" and if it does, it usually explicitly sets the 'miminum' support level20:14
TJ-By having Linux tell the ACPI OSI that it is "Windows 2006.1" you should cause the maximum range of services to be enabled20:14
TJ-ACPI is used to control reboot/power so it makes sense that is the cause of the failure to shutdown correctly.20:14
JediMasterI wonder why the kernel doesn't scan it to see what's the highest level available automatically?20:15
TJ-Because it's not the way its done; those strings aren't guaranteed to be the OSI strings, but I've found this to consistently work20:16
TJ-You can actually completely disassemble the DSDT to source-code using the 'iasl' tool, and as I used to work on that side of the kernel, it taught me this workaround through investigating many broken DSDTs20:17
JediMastera sort of non standardised standard?20:19
JediMasterI'm afraid that didn't work, still powered on after "reboot: System halted"20:20
JediMasterit's not a big problem really, only when I need to take the machine out of the rack, which is only once every few years tbh20:20
JediMasterThanks again for the help, much appreciated20:21
JediMasterslightly worryingly grub isn't coming up with the menu, it stays black for a while20:23
JediMasterafter POST it goes black until I ctrl-alt-f220:23
TJ-that sounds like a GPU mode issue. if it's a server disable GFX mode with GRUB's "GRUB_TERMINAL=console"20:28
TJ-no need for a bitmapped graphical framebuffer and splash screen for a server20:29
JediMasterodd, it wasn't doing it earlier20:29
TJ-could be the newer kernel doing more modesetting for that GPU, that the Trusty kernel doesn't do?20:30
JediMasteryeah, I did just upgrade to another kernel too20:31
JediMastermind you, the kernel is loaded at that point, it's grub doing that20:31
JediMasterGRUB_TERMINAL=console did the trick20:32
JediMasteryeah now I see the Ubuntu 16.04 loading screen (at least the server console version with the 4 dots)20:33
TJ-I disable plymouth splash entirely. Lose the "splash". Can't remove it anymore it is too invasive, though20:37
JediMasteryeah I don't like it personally, is that just the splash kernel line option?20:37
JediMasterI guess I'd better remove quiet too20:38
TJ-yes. I prefer having 'debug' on there since I like to see everything that the kernel reports20:40
JediMasterit took 3 years for me to realise I could skip the Dell memory tests by hitting escape, useful on a server with 512GB of RAM, used to take 10 minutes to test it in POST20:43
JediMasterok that's all looking a lot better now20:44
JediMasterok, I had better head off, thanks TJ- & lordievader20:47
=== damascene is now known as uaa
=== uaa is now known as damascene

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