/srv/irclogs.ubuntu.com/2022/10/20/#ubuntu-server.txt

sarnoldnominal_value: that's definitely worth a bug report00:18
sarnoldnominal_value: I think there's a menu in the upper right corner of the screen that can get to a report bug interface00:18
xmz[15:50] <xmz> Excuse me, I would like to ask for help.09:13
xmz[15:50] <Guest43> yes09: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/EKCHULY9309:13
=== arraybolt3_ is now known as arraybolt3
tomreynxmz: 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:39
tomreynthis said, i do not know whether or not this will help with the issue you're running into.11:40
xmztomreyn: OK, I'll try the new version, hope it solves it. thanks!11:52
tomreynxmz: also make sure your kernel image is not compressed12:02
tomreyngenerally, 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:03
xmzI'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-boot12:13
tomreynrunning "file" on the kernel image will tell you what it is12:15
xmzWhere 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:20
xmz"gzip compressed data" ...12:21
xmzAsk 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 boot12:25
tomreynrun gunzip on it?12:27
tomreynxmz: ^12:29
xmzThanks, I am trying:  # gunzip vmlinuz-5.15.5312:32
xmzBut it say       gzip: vmlinuz-5.15.53: unknown suffix -- ignored12:32
ograman gzip 😉12:45
ogra(there are options to make it ignore the suffix)12:46
xmzThanks. 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 it12:48
xmzIt worked, thank you, tomreyn, ogra. amazing!12:53
nominal_valueHey all, anyone installing ubuntu server in hyperv? Do you have issues with installation not completing if you set a static IP in setup?16:10
=== ajfriesen6 is now known as ajfriesen
fooThis 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
fooNot sure what's causing this 16:19
brycehanything in your log?16:25
foobryceh: actually, I can tell from the graphs - HTTP gets locked up when we run out of memory. 16:28
foobryceh: next up: go into the logs and figure out what's eating up memory.16:29
nominal_valueguys can someone help me with my netplan yaml? Trying to config a static ip for a new server vm17:34
nominal_valueCopied and altered the yaml directly from netplan.io, and it still either gives errors or simply doesnt work17:34
ahasenackjust a static ip? Have you checked the examples page at https://netplan.io/examples?17:34
ahasenackpaste your yaml somewhere then17:34
nominal_valueahasenack: yes, see above. Pasted the config and altered for our network17:35
ahasenacksorry, I don't see the paste17:35
nominal_valuehttps://pastebin.com/W14rxyMK17:38
ahasenackand what does "sudo netplan generate" say?17:38
nominal_valueno 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 network17:38
nominal_valueno output17:39
ahasenackdo you  have any other files in /etc/netplan, or just this one?17:39
nominal_valuejust this one17:39
ahasenackif there is no output, then it's syntatically correct17:39
nominal_valuehm17:39
ahasenackhave you tried "sudo netplan try"?17:39
nominal_valueok, 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 means17:41
ahasenacknominal_value: and, is your network interface called enp3s0?17:41
nominal_valueso yes i did use netplan try17:41
nominal_valueother than that output, there is none, and 'ip a' shows the correct ip17:42
ahasenackso what isn't working?17:42
nominal_valueand no, my nic is eth017:42
nominal_valuethe network connection doesnt work at all17:42
ahasenackcheck if the routing is what you would expect: ip route17:43
ahasenackalso double check netmask in the output of ip a17:43
ahasenackand have you tried with dhcp first, just to see if the networking is ok? Assuming there is a dhcp server provided by hyperv17:44
nominal_valueyeah dhcp is fine17:44
ahasenackand the static ip you are using is within the same range as the one dhcp gave you in the previous test?17:44
nominal_valueside note, i am running without X, so i only have terminal. How the heck do i copy out of terminal from there?17:44
ahasenackmaybe this environment doesn't like random IP addresses coming up there, and only allows the ones provided by dhcp?17:45
nominal_valueno, the static ip is in a completely different range, one that we we use for servers17:45
ahasenackdoesn't look like it's a netplan problem so far17:45
nominal_valueim wondering if my subnet is wrong. hmm lemme check that17:45
ahasenackyeah, check subnet/netmask, routes17:46
ahasenackand then tcpdump away, see what's going on, how far is the traffic you send getting17:46
nominal_valueok changed to /16 subnet, which looks like was needed for our network, given our edge router sits there17:47
nominal_valueso NOW i can ping back and forth between hosts17:47
nominal_valueie this host and others17:47
nominal_valuestill no internet tho17:47
ahasenackcheck "ip route", if you have a default route and if it's what you expect17:48
sdezielnominal_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_valueits eth0, as i said, i copied and simply altered the official config syntax for our network17:51
nominal_valueso now i can ping back and forth by ip, but not name17:51
sdezielah, I see17:51
nominal_valueso nameservers dont work for some reason17:52
ahasenackcheck "resolvesctl status"17:52
ahasenackif it has the nameserver and search domains you specified17:52
ahasenacksorry, typo there: "resolvectl status"17:52
nominal_valueyes it is using our secondary dns server atm17:53
nominal_valuei removed search domains to see if any effect17:53
nominal_valueno change17:54
nominal_valueah ok, ping will not reach our gateway for some reason. Can ping all other hosts17:55
nominal_valuewell that is interesting17:56
sdezielnominal_value: pasting your current netplan config, `ip ro`, `ip a` and `resolvectl status` would help understand the situation17:57
nominal_valueugh17:59
nominal_valuetypo17:59
nominal_valueDG was incorrect LOL17:59
nominal_valueooooopsy17:59
ahasenackwhat would the world be like without typos18:00
ahasenackso much less fun18:00
nominal_valuewell.....i learned something!, so thats good :)18:00
nominal_valuethx so much for help ahasenack18:00

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