At least they seem quite random to me. I’m getting “general protection fault: 0000 #1] PREEMPT SMP” errors and then the system just hangs. The only way I seem to be able to recover is to reboot. So there’s something really wrong here.
I will try to provide any information that may be helpful to pinpoint the issue. I’m quite new in the Linux world so just ask for whatever I can provide. Probably some log files. Here is the general info about what I’ve modified since installation in sort of chronological order:
I’ve installed the OS on manually created partitions with fdisk, on intel 120GB SSD drive. They’re 1024KiB aligned.
333MB for /boot
8GB swap
rest - /
Boot and root partitions are formatted as : mkfs.ext4 -b 4096 -E stripe-width=128 /dev/sdXX
In fstab for mount options I have added “discard,noatime” for / and /boot
After the first boot of the system there was a video driver issue(I use a gtx 570 card), but after reboot everything was OK.
Then added to following lines to /etc/rc.d/boot.local:
hdparm -W1a0A0 /dev/sdX
echo noop > /sys/block/sdX/queue/scheduler
echo 1 > /sys/block/sdX/queue/iosched/fifo_batch
echo 500 > /proc/sys/vm/dirty_writeback_centisecs
echo 20 > /proc/sys/vm/dirty_ratio
echo 5 > /proc/sys/vm/dirty_background_ratio
Then edited the /etc/sysctl.conf file with:
vm.swappiness=5
vm.vfs_cache_pressure=50
The other things I have installed are:
-Multimedia: zypper install libxine1-codecs k3b-codecs ffmpeg lame gstreamer-0_10-plugins-bad gstreamer-0_10-plugins-ugly gstreamer-0_10-ffmpeg libdvdcss2
-NVIDIA supplied driver using the “1 click” easy option for 12.1 and newer cards.
-KVM modules from the YAST option.
-Then decided I need Virtualbox and installed it to manually from yast.
-In order to work properly I blacklisted kvm and kvm-intel modules in /etc/modprobe.d/50-blacklist.conf
Mounted /tmp on tmpfs with:
tmpfs /tmp tmpfs nodev,nosuid,noexec,mode=1777 0 0
After reboot opengl support and nvidia driver didn’t work properly. After some reading I found that this have something to do with /tmp and left only:
tmpfs /tmp tmpfs nodev,nosuid 0 0
Then it seemed fine.
Deleted “pulsaudio-kde.desktop” and “pulsaudio.desktop” files from “/etc/xdg/autostart/” per advice I was given in order to get rid of the “wait time before welcome sound” and it worked great.
I started noticing crashes doing all of this so went to add permanent nomodeset option in the /boot/grub/menu.lst for normal boot.
Didn’t find nouveau blacklisted in /etc/modprobe.d/50-blacklist.conf so I added it.
When I boot in failsave mode everything seems rock solid. Just The video(3D) performance and support lacks because of the used drivers. So can this be a NVIDIA driver issue? How can I undo the things “one click install” did during installing of the driver packages to test this. I remember that nouveau also had some issues and Kwin effects refused to work.
There are probably some things I’ve missed but any kind of help will be appreciated.