New CentOS Stream 8 install on Synology Virtual Machine Manager

Issues related to applications and software problems and general support
Post Reply
orudie
Posts: 22
Joined: 2013/01/29 03:20:14

New CentOS Stream 8 install on Synology Virtual Machine Manager

Post by orudie » 2023/05/01 22:52:39

Hello,

I just installed CentOS Stream 8 in Synology Virtual Machine Manager. To install I used the current CentOS-Stream-8-20230429.0-x86_64-boot.iso. During the install under base environment I selected Server (without GUI), and in the same screen under Additional Software I selected Guest Agents group, which includes qemu-guest-agent package.

After the install in VM's console which I access using the web browser if I move my mouse I see a spam of messages:

kernel: psmouse serio1: VMMouse at isa0060/serio1/input0 lost sync at byte 1
kernel: psmouse serio1: VMMouse at isa0060/serio1/input0 - driver resynced.

The same spam of these messages I also see in /var/log/messages.

To attempt and fix the issue with the same solution which worked for me in CentOS 7, I added a line in /etc/default/grub with MODULE_BLACKLIST=psmouse, then ran grub2-mkconfig -o /boot/grub2.bgrub.cfg, rebooted, but it did not help in my new CentOS Stream 8 install.

cat /etc/default/grub
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="crashkernel=auto resume=/dev/mapper/vg01-lv_swap rd.lvm.lv=vg01/lv_root rd.lvm.lv=vg01/lv_swap ipv6.disable=1"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true
MODULE_BLACKLIST=psmouse

Any suggestions / ideas how to get rid of this annoying spam of psmouse messages are greatly appreciated!

Regards

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: New CentOS Stream 8 install on Synology Virtual Machine Manager

Post by TrevorH » 2023/05/02 00:29:32

What's the output from cat /proc/cmdline after adding that parameter and regenerating grub.cfg and rebooting?
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

orudie
Posts: 22
Joined: 2013/01/29 03:20:14

Re: New CentOS Stream 8 install on Synology Virtual Machine Manager

Post by orudie » 2023/05/02 14:06:04

root# cat /proc/cmdline
BOOT_IMAGE=(hd0,msdos1)/vmlinuz-4.18.0-489.el8.x86_64 root=/dev/mapper/vg01-lv_root ro crashkernel=auto resume=/dev/mapper/vg01-lv_swap rd.lvm.lv=vg01/lv_root rd.lvm.lv=vg01/lv_swap ipv6.disable=1

Image

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: New CentOS Stream 8 install on Synology Virtual Machine Manager

Post by TrevorH » 2023/05/02 14:32:53

So no mention there of any sort of blacklist so I suspect that the variable you added to /etc/default/grub is either wrong or unused.

I believe the correct way to do this is by adding to the existing string in GRUB_CMDLINE_LINUX= and `man dracut.cmdline` on an el8 system says the way to do it is by using rd.driver.blacklist=<drivername>[,<drivername>,...]
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

orudie
Posts: 22
Joined: 2013/01/29 03:20:14

Re: New CentOS Stream 8 install on Synology Virtual Machine Manager

Post by orudie » 2023/05/02 14:44:44

added rd.driver.blacklist=psmouse, generated config, rebooted. Did not help (

root# cat /proc/cmdline
BOOT_IMAGE=(hd0,msdos1)/vmlinuz-4.18.0-489.el8.x86_64 root=/dev/mapper/vg01-lv_root ro crashkernel=auto resume=/dev/mapper/vg01-lv_swap rd.lvm.lv=vg01/lv_root rd.lvm.lv=vg01/lv_swap rd.driver.blacklist=psmouse

Regards.

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: New CentOS Stream 8 install on Synology Virtual Machine Manager

Post by TrevorH » 2023/05/02 15:28:33

On el8 (Rocky in my case), psmouse is not a module, it is part of the kernel. You can still blacklist it but it's a more involved method using initcall_blacklist= and then you have to know the name of the entry point of the psmouse module. To find that out you will need to read the source of psmouse to find out what it's module_init routine is called.

On el9 psmouse _is_ a module.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: New CentOS Stream 8 install on Synology Virtual Machine Manager

Post by TrevorH » 2023/05/02 18:45:42

Most likely initcall_blacklist=psmouse_init
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply