Two issues - one frustrating

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Folks,
 I have 2 issues with F40 and F40.  One of them is frustrating the other a genuine problem.

First the genuine problem.  I have VMware installed on my system and every time I install kernel updates the compilation of the vmmon and vmnet VMware modules fail.

here is an excerpt of the issue:

>>> ./include/linux/rwlock.h:56:48: note: in definition of macro 'read_lock'
>>>    56 | #define read_lock(lock) _raw_read_lock(lock)
>>> |                                                ^~~~
>>> /tmp/git/vmware-host-modules/vmnet-only/bridge.c:587:4: note: in expansion o
>>>   587 |    dev_lock_list();
>>>       |    ^~~~~~~~~~~~~

On another system I download the VMware modules from

https://github.com/mkubecek/vmware-host-modules.git

and the apply the following patch

--- a/vmnet-only/vmnetInt.h
+++ b/vmnet-only/vmnetInt.h
@@ -41,8 +41,13 @@
     compat_skb_set_network_header(skb, sizeof (struct ethhdr)), \
     dev_queue_xmit(skb)                                   \
   )
-#define dev_lock_list()    read_lock(&dev_base_lock)
-#define dev_unlock_list()  read_unlock(&dev_base_lock)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(6, 9, 0)
+#   define dev_lock_list()    rcu_read_lock()
+#   define dev_unlock_list()  rcu_read_unlock()
+#else
+#   define dev_lock_list()    read_lock(&dev_base_lock)
+#   define dev_unlock_list()  read_unlock(&dev_base_lock)
+#endif


 extern struct proto vmnet_proto;

and the kernel builds without issues.

The reason I mention this error is that this failure occurs during the kernel update and not when I try to build the VMware modules.

Now for the frustrating issue.

I run the MATE desktop and since F40 I see a strange problem with mate-terminal.  I have MATE configured to remember running application on logout so they are restarted when I login.  At the time I logout my mate-terminals are 24x80.  When I log back in they are 7x42.  New ones are 24x80.  So every time I login I have to resize my terminals.  This is frustrating. This problem only occurs with the MATE desktop and mate-terminal combination.  If I run gnome-terminal or xfce-terminal under MATE they remain at 24x80.  If I run Xfce desktop and run mate-terminal it remains 24x80 through logout and login.  This does not happen with F39.  I don't know what changed to cause this.  I first noticed this after upgrading a system from F39 -> F40.  This issue also happens with F40 and F41 virtual machines and with F40 Server and doing a groupinstall of the MATE desktop.

I don't know where MATE saves the session information to see if the problem is when MATE saves the current desktop state.

Any assistance is appreciated.

Paolo

--
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux