OpenSuSE 13.1 was released on November 2013, so i am late to upgrade my W530 Laptop. The main reason to upgrade is to make Intel’s on board card and NVIDIA’s card work in Optimus Modus. For that the latest kernel version is required.
Following these straight forward instructions to upgrade the distribution from the command line i succeeded to screw it up: i was unable to login with X and had to switch to console/root mode to recover.
The reason for that was NVIDIA native driver, that wasn’t properly updated with new kernel (probably because repository was deactivated). So i think the step to remove it prior to upgrade should be mentioned in instructions.
After removing all NVIDIA drivers and running `mkinitrd` everything was working again. Well almost.
The grub entry on boot screen still shows 12.3 even though it is 13.1, as splash screen image shows:
It turns out it is long standing bug in OpenSUSE. And it is annoying to have to fix it manually:
#replace this line in /etc/default/grub
grub2-mkconfig -o /boot/grub2/grub.cfg
During my work on migration from dmake to gnu make (gbuildification) of expat module i discovered some innocent looking lines in the old dmake based make file:
# ---------------- X64 stuff special ---------------------
# use UNICODE only because shell/shlxthandler
# doesn't link against ascii_expat_xmlparse
.ENDIF # "$(BUILD_X64)"!=""
So what is BUILD_X64 here and when it is used? My understanding was, that LO isn’t shipping as 64 bit binary on Windows. Tor did some great work on it but it is still highly experimented. So what is all that stuff about? It turns out, that LO does shipp nativ 64 bit extension for 64 bit OS for shell integration and special version of expat (64 bit) must be created for that.
Not big deal, right? So what’s the problem with that? The problem was to test it. Gbuildification has already broken almoust everything, so before merging the gbuildified expat to master some real tests should be done, especially if some native bits are involved. Having only access to WinXP (32 bit) and VS 2008 Express was clearly not sufficient. So before installing a whole blown testbed with new VM, 2008 Server 64 bit, SDKs and 64 bit VS compiler i thought i would just ask the folks out there for help.
Continue reading gbildify expat module and test it on windows