cumulated network and x11 issues (and some solutions) after upgrade to 12.3

I read somewhere that 12.2 to 12.3 is a small bugfixing and improvement step…for me it looks like a major update that should be named 13.2 :sarcastic:. I tried to collect all issues I came along.

New installation:

  • /etc/udev/rules.d/70-persistent-net.rules file remains empty, yast2 doesn’t allow reassignment of interface names to individual NICs
  • Solution: manually setup the file

Upgrade (from 12.1 or 12.2):

  • packman repos pmbs.* inaccessible
  • replace pmbs with mirror servers. Suggest to update the Suse online pages which still refer to pmbs. Mirrors can be found at

PackMan :: Mirrors

  • I’d love if the repo management would come up with a function to select repos and mirrors and not force me to search at 10 places in the net…

  • yast2 and zypper cannot connect to repo, but access in browser is ok (not specific to 12.3, general issue)

  • double check if proxy shell variables exist if you’re not currently behind a proxy.Unset them or fix them

  • NetworkManager controls network despite ifup is selected. No network access due to wrong IP and routes if a dhcp server is present in the network

  • in yast2, enable/apply/disable/apply; or deinstall NetworkManager as I did

  • no NVidia graphics despite “easy way” repo install. I guess a newer NVidia driver has been additionally selected and the old one is still installed/upgraded

  • ensure that only one version of NVidia drivers is installed,e.g. only the G03 and not multiple versions.

  • Fix:

            rpm -qa|grep -i nvidia
            zypper rm <list of older packets>
           zypper in -f <list of latest packets>
  • Would be great if nvidia RPMs would double check conflicting nvidia RPMs. They already care for nouveau, why not for this? Took a couple of hours because this fails randomly, depending on the order of download/install :-S

  • x11 forwarding fails (cannot open remote X windows)

  • ensure that IPv6 is enabled in the general network settings (which enables it in the kernel) (why?)

  • if IPv6 should be still disabled, edit /etc/sysctl.conf to include net.ipv6.conf.all.disable_ipv6 = 1

  • squid stopped working, issues with /etc/squid/squid.conf commands

  • comment in some settings which became default in squid3, see http://forums.gentoo.org/viewtopic-t-952948-start-0.html

  • LDAP setup doesn’t work anymore, users can’t login. Issue is that nss-ldap is no longer supported.

  • hotfixed for now by creating local accounts (synchronizing the /etc/passwd, /etc/shadow and /etc/group files)

  • Kobil card reader (pcsc stuff) fails with “invalid floating point operation” in moneyplex

  • using another reader type for now, not yet fixed

  • Nomachine NX may fail with “service not available or login failed” on some machines

  • edit /etc/ssh/sshd_config and uncomment AuthorizedKeysFile so that both .ssh/authorized_keys
    and .ssh/authorized_keys2 are read (or add both names to the setting)

  • Nomachine NX server crash when opening Libreoffice4 (and some other programs) due to libcairo2 issue

  • add repo http://download.opensuse.org/repositories/home:/muzlocker/openSUSE_12.3 and make vendor change for libcairo2 and related packages to version 1.12.8-2.10.1.x86_64 (somewhat higher than 12.3 default) (see also https://bugzilla.novell.com/show_bug.cgi?id=809329)

  • in NX session the auto-hiding kicker (taskbar) will no longer pop up when the mouse is at the screen border,
    KDE3 in NX starts with wrong size (actual screen size, not the NX window size)

  • kill kicker, restart and immediately catch it to disable autohiding. No clue yet about the wrong size

  • LibreOffice4 (from the stable repo) may not show any text (dialog boxes, menu, document remain empty) on a remote screen (12.3 to 10.0 up to 12.3), not even if text is selected

  • issue with libqt, use patched version fromhttp://download.opensuse.org/repositories/home:/wolfi323:/branches:/KDE:/Qt/openSUSE_12.3/, update qt libs with vendor change

  • LibreOffice in NX (all 12.3 systems using KDE3.5) will initially start and crash the NX server session after few seconds

  • as above, change QT lib → doesn’t help

  • uninstall gnome and kde4 extensions, suse branding, icon themes → doesn’t help

  • see http://web.archiveorange.com/archive/v/wmeLDKhbOP9HhAkEwJJE

  • libCairo upgrade to 1.12.16-82 stops crash for nomachine NX 3.5 server, NX 3.4 server still crashes

  • upgrade from NX 3.4 to NX 3.5

  • LibreOffice4 requires Java setup when first started

  • dialogbox explains how to do it and it works (using Oracle Java), but this should be a system setup, not a user setup?!

  • loop devices are not available after the upgrade, encrypted filesystems can’t be started

  • add modprobe loop to the startup scripts. Where to fix this permanently?

  • laptop doesn’t boot after update because of full EFI partition

  • RPM based install during mkinitrd does not check or warn if the kernel files can’t be written to the target partition, may result in 0 Byte files and also destroy elilo menu file. Installation apparently succeeded…until you reboot >:)

  • before doing the update or upgrade ensure that at least 100MB are free

  • deleting old files manually is not sufficient as they will be recreated if the kernel sources are still present. Change/etc/zypp/zypp.conf to include

           multiversion = provides:multiversion(kernel)
          multiversion.kernels = latest,running 
# (this will temporarily still need space for 2 versions)

  • if there are still older kernel versions/sources installed (check qith rpm -qa|grep kernel), uninstall rpms manually

  • laptop Atheros ethernet driver ALX doesn’t compile anymore

  • As usual on my Asus laptop the driver needs to be compiled. Get the latest source (compat-wireless-3.6.8-1-snpc.tar.bz2) from http://wireless.kernel.org/en/users/Download/stable. It compiled in 12.2 but not in 12.3. There are two kind of fixes to the driver sources which make it work as described in https://github.com/mcgrof/alx/issues/2, namely

  • go to drivers/net/ethernet/atheros/alx/ and modify alx_main.c

  • follow ivansyi comment: If you encountered an “Wanning As Error” about __netdev_printk(), following is my workaround: Just comment that function call and replace it with the else code:


// if (hw && hw->adpt && hw->adpt->netdev) 
//   //__netdev_printk(level, hw->adpt->netdev, &vaf); 
//  printk("%salx_hw: %pV", level, &vaf); 
// else 
  printk("%salx_hw: %pV", level, &vaf); 

  • follow reflectivedevelopment comment:diff -r compat-wireless-2012-03-12-p/drivers/net/ethernet/atheros/alx/alx_main.c
 1961c1961
< static int __devinit alx_init_adapter_special(struct alx_adapter *adpt)
---
> static int alx_init_adapter_special(struct alx_adapter *adpt)
2016c2016
< static int __devinit alx_init_adapter(struct alx_adapter *adpt)
---
> static int  alx_init_adapter(struct alx_adapter *adpt)
3478c3478
< static int __devinit alx_init(struct pci_dev *pdev,
---
> static int  alx_init(struct pci_dev *pdev,
3786c3786
< static void __devexit alx_remove(struct pci_dev *pdev)
---
> static void alx_remove(struct pci_dev *pdev)
3910c3910
<       .remove      = __devexit_p(alx_remove),
---
>       .remove      = alx_remove,

  • this looks ugly but is only 5 tiny changes to the function headers, takes hardly a minute. After that follow the normal install procedure

  • hostname changed from hostname to host.domain style

  • edit the /etc/HOSTNAME file back to host only

Just now I see another compilation which has some good hints
<http://www.mece.ualberta.ca/~clange/Linux/openSUSE/12.3/instructions/openSUSE12.3_install.html&gt;

If you have several machines to update, consider use of ssh-agent and GNU parallel (this cool tool should be part of every distribution) which really speed up things.

I hope this helps someone. At least helps to calculate a little bit more time as usual when doing the upgrade to 12.3. And maybe one shouldn’t do the upgrade in a week which has a Fr, 13th in it as I did. :wink:

Despite this, thanks to the SuSE team for all efforts and especially to those who quickly assemble a new KDE3 repo!

It does if you use ifup instead of NetworkManager.

NetworkManager controls network despite ifup is selected.

I cannot reproduce it. I remember there were problems at the very beginning - did you install all available updates for 12.3?

  • x11 forwarding fails (cannot open remote X windows)
  • ensure that IPv6 is enabled in the general network settings (which enables it in the kernel) (why?)

Do you mean X11 forwarding via ssh? I cannot reproduce it either, it works fine with IPv6 disabled.
Edit: sorry, this VM had modified sshd_config. If you do not use IPv6 anyway, set “AddressFamily inet” (default is any). Less secure hack is to set “X11UseLocalhost no”.

add modprobe loop to the startup scripts. Where to fix this permanently?

echo loop > /etc/modules-load.d/loop.conf

But it is actually applications that need update. They should request new loop device via /dev/loop-control. losetup does not require preloading of loop anymore.

On 2013-09-15 12:56, ggrau wrote:
>
> I read somewhere that 12.2 to 12.3 is a small bugfixing and improvement
> step…for me it looks like a major update that should be named 13.2
> :sarcastic:. I tried to collect all issues I came along.

False reading. All openSUSE versions are major upgrades.

> UPGRADE (FROM 12.1 OR 12.2):

Online upgrade
method

Offline upgrade
method

Chapter 16. Upgrading the System and System Changes
openSUSE 12.3 Release Notes

>
> - packman repos pmbs.* inaccessible
> - replace pmbs with mirror servers. Suggest to update the Suse online
> pages which still refer to pmbs.

It is a wiki, change it yourself. If it is not editable, tell them, not
us - we are just users like you.

> - NetworkManager controls network despite ifup is selected. No network
> access due to wrong IP and routes if a dhcp server is present in the
> network
> - in yast2, enable/apply/disable/apply; or deinstall NetworkManager as
> I did

Documented bug on release notes.

> - LibreOffice4 requires Java setup when first started
> - dialogbox explains how to do it and it works (using Oracle Java),
> but this should be a system setup, not a user setup?!

It should work with the default java installed. Oracle java can not be
distributed by openSUSE, the license forbids it.

> - loop devices are not available after the upgrade, encrypted
> filesystems can’t be started
> - add modprobe loop to the startup scripts. Where to fix this
> permanently?

Huh? I have not seen this. But it rings a bell somewhere… maybe the
maillist.

> - laptop doesn’t boot after update because of full EFI partition
> - RPM based install during mkinitrd does not check or warn if the
> kernel files can’t be written to the target partition, may result in 0
> Byte files and also destroy elilo menu file. Installation apparently
> succeeded…until you reboot >:)
> - before doing the update or upgrade ensure that at least 100MB are
> free

You need to make sure yourself that all partitions have enough space.
Nothing does this check. Never had.

> - hostname changed from hostname to host.domain style
> - edit the /etc/HOSTNAME file back to host only

host.domain is mandatory. Things break.

> Despite this, thanks to the SuSE team for all efforts and especially to
> those who quickly assemble a new KDE3 repo!

Remember that this forum is a users help other users place, not a place
the developers read or participate. If you want to report the issues you
found to suse, do it on bugzilla, or “nobody” will read them.


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)

On 2013-09-15 15:16, arvidjaar wrote:

>> NetworkManager controls network despite ifup is selected.
> I cannot reproduce it. I remember there were problems at the very
> beginning - did you install all available updates for 12.3?

It happened to me. It is more or less the reported issue in release notes.

> Code:
> --------------------
> echo loop > /etc/modules-load.d/loop.conf
> --------------------
>
> But it is actually applications that need update. They should request
> new loop device via /dev/loop-control. losetup does not require
> preloading of loop anymore.
>
>


Cheers / Saludos,

Carlos E. R.
(from 12.3 x86_64 “Dartmouth” at Telcontar)