[00:18] nominal_value: that's definitely worth a bug report [00:18] nominal_value: I think there's a menu in the upper right corner of the screen that can get to a report bug interface [09:13] [15:50] Excuse me, I would like to ask for help. [09:13] [15:50] yes [09:13] [15:50] The ubuntu-22.04-preinstalled-server-riscv64+unmatched.img started with qemu, the kernel version is Linux 5.15.0-1018-generic. I compiled and installed a new kernel, but the new kernel cannot be started. It seems that u-boot needs to be set up. [09:13] [15:50] I posted the qemu boot script and boot info here: https://dpaste.com/EKCHULY93 === arraybolt3_ is now known as arraybolt3 [11:39] xmz: you seem to be using an outdated image. https://ubuntu.com/download/risc-v provides 22.04.*1* (ubuntu-22.04.1-preinstalled-server-riscv64+unmatched.img.xz) [11:40] this said, i do not know whether or not this will help with the issue you're running into. [11:52] tomreyn: OK, I'll try the new version, hope it solves it. thanks! [12:02] xmz: also make sure your kernel image is not compressed [12:03] generally, if the custom kernel is not in the right format, it will likely fail to boot with 20.04.1 as well (unless that comes with a newer uboot which supports more formats, but i assume it won't) [12:13] I'm not sure if the kernel compresses, I'm new to this. My steps to compile the kernel are: 1. Download the kernel source code 2. `cp /boot/config-xxxx .config `, and modify the optimization level option 3. make bindeb-pkg -j4 4. sudo dpkg -i *.deb . The same steps work fine under qemu x86 ubuntu, but qemu x86 ubuntu is booted with grub, not u-boot [12:15] running "file" on the kernel image will tell you what it is [12:20] Where is the kernel image, is it the one under /boot/? I tried it and this is the result: https://pastebin.ubuntu.com/p/vqGwDN5NPr/ [12:21] "gzip compressed data" ... [12:25] Ask how to compile the kernel in uncompressed format? Just like vmlinuz-5.15.0-1018-generic , since it boots fine, I really want the new kernel to boot [12:27] run gunzip on it? [12:29] xmz: ^ [12:32] Thanks, I am trying: # gunzip vmlinuz-5.15.53 [12:32] But it say gzip: vmlinuz-5.15.53: unknown suffix -- ignored [12:45] man gzip 😉 [12:46] (there are options to make it ignore the suffix) [12:48] Thanks. I try this and it works fine :`gzip -dc /boot/vmlinuz-5.15.53 | sudo dd of=/boot/vmlinuz-tmp` I'll try if I can boot it [12:53] It worked, thank you, tomreyn, ogra. amazing! [16:10] Hey all, anyone installing ubuntu server in hyperv? Do you have issues with installation not completing if you set a static IP in setup? === ajfriesen6 is now known as ajfriesen [16:19] This is more nginx-specific, but I'm having an issue where HTTP gets locked up... things hang... I can check for locked queries in postgres. Wondering what else I can do [16:19] Not sure what's causing this [16:25] anything in your log? [16:28] bryceh: actually, I can tell from the graphs - HTTP gets locked up when we run out of memory. [16:29] bryceh: next up: go into the logs and figure out what's eating up memory. [17:34] guys can someone help me with my netplan yaml? Trying to config a static ip for a new server vm [17:34] Copied and altered the yaml directly from netplan.io, and it still either gives errors or simply doesnt work [17:34] just a static ip? Have you checked the examples page at https://netplan.io/examples? [17:34] paste your yaml somewhere then [17:35] ahasenack: yes, see above. Pasted the config and altered for our network [17:35] sorry, I don't see the paste [17:38] https://pastebin.com/W14rxyMK [17:38] and what does "sudo netplan generate" say? [17:38] no i was saying that the above text is what i pasted into my .yaml file under the /etc/netplan dir. I altered it for our network [17:39] no output [17:39] do you have any other files in /etc/netplan, or just this one? [17:39] just this one [17:39] if there is no output, then it's syntatically correct [17:39] hm [17:39] have you tried "sudo netplan try"? [17:41] ok, dont crap on me for this........but if i didnt mention above, i am doing this as a VM under Hyperv. There is a blk error with many commands i make. It has been there since install earlier yesterday. Very strange and YES i know generally what that means [17:41] nominal_value: and, is your network interface called enp3s0? [17:41] so yes i did use netplan try [17:42] other than that output, there is none, and 'ip a' shows the correct ip [17:42] so what isn't working? [17:42] and no, my nic is eth0 [17:42] the network connection doesnt work at all [17:43] check if the routing is what you would expect: ip route [17:43] also double check netmask in the output of ip a [17:44] and have you tried with dhcp first, just to see if the networking is ok? Assuming there is a dhcp server provided by hyperv [17:44] yeah dhcp is fine [17:44] and the static ip you are using is within the same range as the one dhcp gave you in the previous test? [17:44] side note, i am running without X, so i only have terminal. How the heck do i copy out of terminal from there? [17:45] maybe this environment doesn't like random IP addresses coming up there, and only allows the ones provided by dhcp? [17:45] no, the static ip is in a completely different range, one that we we use for servers [17:45] doesn't look like it's a netplan problem so far [17:45] im wondering if my subnet is wrong. hmm lemme check that [17:46] yeah, check subnet/netmask, routes [17:46] and then tcpdump away, see what's going on, how far is the traffic you send getting [17:47] ok changed to /16 subnet, which looks like was needed for our network, given our edge router sits there [17:47] so NOW i can ping back and forth between hosts [17:47] ie this host and others [17:47] still no internet tho [17:48] check "ip route", if you have a default route and if it's what you expect [17:51] nominal_value: the netplan config you pasted mentions `enp3s0` but later you said your nic is `eth0`... which is it (sorry if I missed it in the backlog)? [17:51] its eth0, as i said, i copied and simply altered the official config syntax for our network [17:51] so now i can ping back and forth by ip, but not name [17:51] ah, I see [17:52] so nameservers dont work for some reason [17:52] check "resolvesctl status" [17:52] if it has the nameserver and search domains you specified [17:52] sorry, typo there: "resolvectl status" [17:53] yes it is using our secondary dns server atm [17:53] i removed search domains to see if any effect [17:54] no change [17:55] ah ok, ping will not reach our gateway for some reason. Can ping all other hosts [17:56] well that is interesting [17:57] nominal_value: pasting your current netplan config, `ip ro`, `ip a` and `resolvectl status` would help understand the situation [17:59] ugh [17:59] typo [17:59] DG was incorrect LOL [17:59] ooooopsy [18:00] what would the world be like without typos [18:00] so much less fun [18:00] well.....i learned something!, so thats good :) [18:00] thx so much for help ahasenack