Things That Work, and Things That Don't Work

A page of solutions and dead-ends.

Solutions in Linux

RedHat Derivatives

What in the name of all that's fluffy is an "i686" RPM?

From a support page for RedHat 9:

"Red Hat builds kernels that are optimized for different x86 versions. The options are athlon for AMD Athlon and AMD Duron systems, i686 for Intel Pentium II, Intel Pentium III, Intel Pentium 4 systems, and i586 for Intel Pentium, and AMD K6 systems. If the version of the x86 system is unknown, use the kernel built for the i386 version; it is built for all x86-based systems.

"The x86 version of the RPM package is included in the file name. For example, kernel-2.4.20-2.47.1.athlon.rpm is optimized for AMD Athlon and AMD Duron systems and kernel-2.4.20-2.47.1.i686.rpm is optimized for Intel Pentium II, Intel Pentium III, Intel Pentium 4 systems. After determining which packages are needed to upgrade the kernel, select the proper architecture for the kernel, kernel-smp, and kernel-bigmem packages. Use the i386 versions of the other packages."

OpenSuSE 10.3

"Permissions on the password database may be too restrictive"

This message is "produced by the pam_unix2 function pam_sm_authenticate..."

This message started appearing in SuSE 10 on our machines that authenticate using LDAP. It is cured by taking compatibility mode out of /etc/nsswitch.conf. Compatibility mode is for NIS, therefore irrelevant to us, and is, it seems, poorly maintained. Here is a sample /etc/nsswitch.conf:

passwd: files   ldap
group:  files   ldap
shadow: files   ldap

hosts:  files mdns4_minimal [NOTFOUND=return] dns
networks:       files dns

services:       files
protocols:      files
rpc:    files
ethers: files
netmasks:       files
netgroup:       files
publickey:      files

bootparams:     files
automount:      files nis
aliases:        files
#passwd_compat: ldap
#group_compat:  ldap
#shadow_compat: ldap
MDC 10/7/09, knowledge discovered 9/2/09

OpenSuSE 11.2

Corrupt or blank display

Symptoms include:

/var/log/kdm.log shows:
Xorg: intel_bufmgr_fake.c:1370: drm_intel_fake_bo_exec: Assertion `ret == 0'
Diagnosis: /var/log/kdm.log contains:
WARNING: Error inserting i2c_core (/lib/modules/ No suchdevice
WARNING: Error inserting i2c_algo_bit (/lib/modules/ No such device
WARNING: Error inserting drm(/lib/modules/ No such device
FATAL: Error inserting i915 (/lib/modules/ No such device
Solution: Boot without ACPI (which also means not in safe mode).

gnome_2_28_2 fails to update

Subprocess failed. Error: RPM failed: opt/gnome/bin/pango-querymodules: error while loading shared libraries: cannot open shared object file: No such file or directory
error: %preun(pango-32bit-1.14.5-16.x86_64) scriptlet failed, exit status 127
This on a 64-bit machine.

Solution: Install 32-bit version - xorg-x11-libXdmcp-32bit.