[00:18] <sarnold> nominal_value: that's definitely worth a bug report
[00:18] <sarnold> 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] <xmz> [15:50] <xmz> Excuse me, I would like to ask for help.
[09:13] <xmz> [15:50] <Guest43> yes
[09:13] <xmz> [15:50] <xmz> 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] <xmz> [15:50] <xmz> I posted the qemu boot script and boot info here: https://dpaste.com/EKCHULY93
[11:39] <tomreyn> 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] <tomreyn> this said, i do not know whether or not this will help with the issue you're running into.
[11:52] <xmz> tomreyn: OK, I'll try the new version, hope it solves it. thanks!
[12:02] <tomreyn> xmz: also make sure your kernel image is not compressed
[12:03] <tomreyn> 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] <xmz> 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] <tomreyn> running "file" on the kernel image will tell you what it is
[12:20] <xmz> 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] <xmz> "gzip compressed data" ...
[12:25] <xmz> 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] <tomreyn> run gunzip on it?
[12:29] <tomreyn> xmz: ^
[12:32] <xmz> Thanks, I am trying:  # gunzip vmlinuz-5.15.53
[12:32] <xmz> But it say       gzip: vmlinuz-5.15.53: unknown suffix -- ignored
[12:45] <ogra> man gzip 😉
[12:46] <ogra> (there are options to make it ignore the suffix)
[12:48] <xmz> 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] <xmz> It worked, thank you, tomreyn, ogra. amazing!
[16:10] <nominal_value> Hey all, anyone installing ubuntu server in hyperv? Do you have issues with installation not completing if you set a static IP in setup?
[16:19] <foo> 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] <foo> Not sure what's causing this 
[16:25] <bryceh> anything in your log?
[16:28] <foo> bryceh: actually, I can tell from the graphs - HTTP gets locked up when we run out of memory. 
[16:29] <foo> bryceh: next up: go into the logs and figure out what's eating up memory.
[17:34] <nominal_value> guys can someone help me with my netplan yaml? Trying to config a static ip for a new server vm
[17:34] <nominal_value> Copied and altered the yaml directly from netplan.io, and it still either gives errors or simply doesnt work
[17:34] <ahasenack> just a static ip? Have you checked the examples page at https://netplan.io/examples?
[17:34] <ahasenack> paste your yaml somewhere then
[17:35] <nominal_value> ahasenack: yes, see above. Pasted the config and altered for our network
[17:35] <ahasenack> sorry, I don't see the paste
[17:38] <nominal_value> https://pastebin.com/W14rxyMK
[17:38] <ahasenack> and what does "sudo netplan generate" say?
[17:38] <nominal_value> 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] <nominal_value> no output
[17:39] <ahasenack> do you  have any other files in /etc/netplan, or just this one?
[17:39] <nominal_value> just this one
[17:39] <ahasenack> if there is no output, then it's syntatically correct
[17:39] <nominal_value> hm
[17:39] <ahasenack> have you tried "sudo netplan try"?
[17:41] <nominal_value> 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] <ahasenack> nominal_value: and, is your network interface called enp3s0?
[17:41] <nominal_value> so yes i did use netplan try
[17:42] <nominal_value> other than that output, there is none, and 'ip a' shows the correct ip
[17:42] <ahasenack> so what isn't working?
[17:42] <nominal_value> and no, my nic is eth0
[17:42] <nominal_value> the network connection doesnt work at all
[17:43] <ahasenack> check if the routing is what you would expect: ip route
[17:43] <ahasenack> also double check netmask in the output of ip a
[17:44] <ahasenack> 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] <nominal_value> yeah dhcp is fine
[17:44] <ahasenack> and the static ip you are using is within the same range as the one dhcp gave you in the previous test?
[17:44] <nominal_value> 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] <ahasenack> maybe this environment doesn't like random IP addresses coming up there, and only allows the ones provided by dhcp?
[17:45] <nominal_value> no, the static ip is in a completely different range, one that we we use for servers
[17:45] <ahasenack> doesn't look like it's a netplan problem so far
[17:45] <nominal_value> im wondering if my subnet is wrong. hmm lemme check that
[17:46] <ahasenack> yeah, check subnet/netmask, routes
[17:46] <ahasenack> and then tcpdump away, see what's going on, how far is the traffic you send getting
[17:47] <nominal_value> ok changed to /16 subnet, which looks like was needed for our network, given our edge router sits there
[17:47] <nominal_value> so NOW i can ping back and forth between hosts
[17:47] <nominal_value> ie this host and others
[17:47] <nominal_value> still no internet tho
[17:48] <ahasenack> check "ip route", if you have a default route and if it's what you expect
[17:51] <sdeziel> 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] <nominal_value> its eth0, as i said, i copied and simply altered the official config syntax for our network
[17:51] <nominal_value> so now i can ping back and forth by ip, but not name
[17:51] <sdeziel> ah, I see
[17:52] <nominal_value> so nameservers dont work for some reason
[17:52] <ahasenack> check "resolvesctl status"
[17:52] <ahasenack> if it has the nameserver and search domains you specified
[17:52] <ahasenack> sorry, typo there: "resolvectl status"
[17:53] <nominal_value> yes it is using our secondary dns server atm
[17:53] <nominal_value> i removed search domains to see if any effect
[17:54] <nominal_value> no change
[17:55] <nominal_value> ah ok, ping will not reach our gateway for some reason. Can ping all other hosts
[17:56] <nominal_value> well that is interesting
[17:57] <sdeziel> nominal_value: pasting your current netplan config, `ip ro`, `ip a` and `resolvectl status` would help understand the situation
[17:59] <nominal_value> ugh
[17:59] <nominal_value> typo
[17:59] <nominal_value> DG was incorrect LOL
[17:59] <nominal_value> ooooopsy
[18:00] <ahasenack> what would the world be like without typos
[18:00] <ahasenack> so much less fun
[18:00] <nominal_value> well.....i learned something!, so thats good :)
[18:00] <nominal_value> thx so much for help ahasenack