I have been playing around with various LiveCDs to figure out which Linux distribution would best work on my Samsung R20. The laptop is relatively cheap, but I had expected it to be better supported by the major distros at least. Using the currently available LiveCDs I could basically choose between openSUSE 10.3 and Mandriva 2008, because it were the only ones that actually were able to startx out of the box. The R20 has an integrated ATI Radeon Xpress 1250 graphics chip that seems to cause problems with many Linux distributions and I was especially disappointed by my previous Linux of choice: Ubuntu – it booted fine (7.10, also no luck with Kubuntu 7.10), but no X.
openSUSE works nicely out of the box, except for: correct screen size (forced me to 1024×768 in the beginning), 3D support (didn’t work out of the box, and I never touched it henceforth) and WiFi (major point and I had no luck of getting it up and running). So openSUSE was a good option for an install because with a little tweaking here an there it would probably work well.
Looking at the Mandriva homepage they claim to support 3D desktops, namely Metisse and Compiz Fusion. Looking at several YouTube videos I know I wanted to see this in reality. The Mandriva 2008 LiveCD behaves almost identical to the openSUSE one, maybe it boots a bit faster. Screen resolution also had to be changed, but Mandriva supported the ATI x1250 out of the box, so I was looking forward to decent WiFi suport as well…no such luck! I played around with Compiz Fusion too and it works like a charm and really looks stunning! Sound and peripherals seem to work too, even the SD card reader. So I went on installing Mandriva 2008 on my Samsung R20, keeping the Vista Partition.
Finally the last thing to get up and running was WiFi. And here it gets dirty. I think I googled about 10 hours during the last 2 days, without finding the solution. Many people seem to be happy using the MadWiFi drivers, some people seem to get it to work using NDISwrapper (you need the windows driver for the WiFi card). I started playing with both approaches, but since compiling new kernels and patching kernel modules are not really everyday tasks for me I kept on googling…and voila! I got it to work with changing only one boot option in GRUB (the boot manager).
The problem seems to be generally related to a broken MMCONFIG implementation on many systems. ACPI also seems to have related issues there, but luckily the solution is as easy as editing a single line in a file.
You basically just need to add “pci=nommconf” as one of the boot options to your GRUB menu file: /boot/grub/menu.lst
Here’s how my GRUB menu file looks now (line breaks inserted):
title linux
kernel (hd0,4)/boot/vmlinuz
BOOT_IMAGE=linux
root=/dev/sda5
resume=/dev/sda6
splash=silent
vga=788
pci=nommconf
initrd (hd0,4)/boot/initrd.img
After rebooting I could select the WiFi card in Mandriva Linux Control Center. Apparently it’s an “Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)” – I thought it would be an AR5006X, but as long as it works I couldn’t care less.
I hope this helps somebody. For me as a non-Linux-geek, the problem would still have been easy to solve with my first search many hours ago if people that know what they’re talking about would take into consideration that this might not be the case for everybody else: the search basically led me here (I was googling for “Samsung R20 Linux”) and the 2nd comment by Albert just says: “Load kernel with option pci=nommconf” – that’s like telling a Linux geek to just “change the float gauge in the carb of a car” or something.
Anyways it works and I think I can recommend the Samsung R20 as a Linux machine.
Recent Comments