Category: Computers

Installing openSUSE 10.3, take 2

· Computers

Yesterday, I installed (not upgraded) openSUSE 10.3 on my workstation. It is a bit iffy - it’s a cheapo motherboard, with onboard and add-on SATA, and always confuses the OS in terms of what disk comes in what order… Add to that a PCI GigE card that always forgets its MAC address (00:00:00:…), it’s not easy… I installed to the SATA disk, and the installation went really smoothly, until the reboot, when it booted back into the old GRUB install on the IDE drive. OK, figured that one out (modify the device.map, have it chainload the SATA drive from Grub, if the BIOS can’t figure it out).

∼ Continue Reading ∼

Upgrading Dell laptop to openSUSE 10.3: sda vs. hda issue

· Computers

I upgraded my Dell laptop from openSUSE 10.2 to 10.3, using a network install (it doesn’t have a DVD or CD drive). Only some minor issues arose - it was actually quite smooth.

The more recent Linux kernels have switched the IDE/PATA drivers. The new drivers use /dev/sda nomenclature, instead of the older /dev/hda names, in line with the SATA drivers. This makes for a more uniform naming scheme, but when upgrading, may lead to problems if (i) your main drive is PATA, not SATA (ii) you have a mix of PATA and SATA drivers.

∼ Continue Reading ∼

X11, modelines, and new monitors

· Computers

I finally figured out the correct way, regardless of Linux distribution tools, on how to configure an unknown/new monitor. It turns out that Xorg will use I2C tools to query the monitor. Among other things, the monitor will report sync rates, size, age, name, etc. Most importantly, it will report all that is needed to write a new modeline in xorg.conf:

(II) MGA(0): Supported additional Video Mode:
(II) MGA(0): clock: 146.2 MHz  Image Size:  473 x 296 mm
(II) MGA(0): h_active: 1680  h_sync: 1784  h_sync_end 1960 h_blank_end 2240 h_border: 0
(II) MGA(0): v_active: 1050  v_sync: 1053  v_sync_end 1059 v_blanking: 1089 v_border:  0
(II) MGA(0): Ranges: V min: 56  V max: 75 Hz, H min: 30  H max: 83 kHz, PixClock  max 150 MHz

We can take this information, and create the monitor and mode sections in the xorg.conf file:

∼ Continue Reading ∼

· Computers

After my Motorola died, I get a new phone, and decided to try out a quasi-smart phone: Nokia N75. Coolest thing: hooking up a bluetooth keyboard to the phone… (You need to install an application for that to work, which can be found here). All my email accounts are already set up (IMAP and POP). Now I just need to find out how to get it to do OTA SyncML to the Oracle Calendar server at Cornell, and I’m all set. (This might mean the end of day-to-day  usage of my Palm… but the bigger screen is still an asset…)

Nexenta in VMware

· Computers

Nexenta is a GNU-based OpenSolaris - very cool. I ran it using the latest VMware image from their site. Trouble is, the latest (VMware 6.0) vmware-tools did not install cleanly. I found that it assumes a pure Solaris structure. Here’s the patch to vmware-config-tools.pls for it to work with Nexenta:

6151a6152,6153
>   my $release;
>   my $distro;
6153a6156,6169
>     # check for Nexenta
>     if ( -e "/etc/lsb-release" ) {
>        open(*RELEASE,"/etc/lsb-release");
>        $release=;
>        if ($release =~ /GNU_OpenSolaris/) {
>           $distro="Nexenta";
>        } else {
>           $distro="Other";
>        }
>        close(RELEASE);
>     }
>     else {
>        $distro="Other";
>     }
6155c6171,6175
< $name = "/usr/dt/config/Xsession.d/9999.autostart-vmware-user.sh";
---
>     if ( $distro eq "Nexenta" ) {
>        $name = "/etc/X11/Xsession.d/9999.autostart-vmware-user.sh";
>     } else {
>        $name = "/usr/dt/config/Xsession.d/9999.autostart-vmware-user.sh";
>     }

Transforming arbitrary films to flash player format

· Computers · 1 comment

For posting on Gallery (2.2 at least), converting the films to Flash format is convenient - it reduces quality, but also size (youtube?). You still need to do it offline. On a linux system, try

ffmpeg -i input.MPG -s (sizeX)x(sizeY) -ac 2 -ar 44100 -r 24 output.flv

This will recode input.MPG with two audio-channels, at 24 fps, to a flash movie.

3D desktops on SUSE 10.2

· Computers

After installing openSUSE 10.2 on the Dell X200 (933Mhz, 622MB), I switched to the Xgl desktop. I switched to the Novell builderservice, and upgraded to the latest xgl/compiz (but not beryl). Results:

  • the stock Xgl is still fairly slow
  • the upgraded Xgl is MUCH faster - to the point that the nifty 3d desktop switch is TOO fast
  • but: video is bad. Realplayer video is sluggish, and not usable

That does seem to be a known issue, and it may not matter on faster CPUs - but on slower CPUs, it matters a lot. I switched back to stock Xorg.

∼ Continue Reading ∼

Installing SUSE on laptops

· Computers · 1 comment

I have over the years installed a couple of SUSE distributions (well, SuSE, SUSE, openSUSE, or maybe sUSe…) on my laptops: Compaq M300, Dell X200, and IBM X60s.

The latest iterations were SUSE 10.1 on the IBM and Dell, from the factory DVD. Both worked like a charm - I installed the Dell using a network-based install, slick), blue function keys worked, some initial hibernate features on the IBM between two kernel revisions soon resolved themselves, and I even managed to install the fingerprint reader on the IBM. Upgrading the mini-PCI card on the Dell from the original 802.11b-only one to a newer 802.11b/g one (Intel ipw2200) worked like a charm - the drivers and firmware were already present on the SUSE 10.1 install, reboot, and it found the new wireless card immediately - Windows XP did not, I had to first download the driver from the Intel site.

∼ Continue Reading ∼

... part 3: BMC not remotely accessible...

· Computers

Well, this is the S3970/M3291/Tyan’s/somebody’s fault… OS is installed, 3ware is upgraded to latest firmware, as are BIOS and M3291 firmware. Latest IPMItools is compiled, both on workstation and on this server (SUSE 10.1, both). Well:

  • ipmitool can communicate with the BMC locally (ipmitool -I open -U Admin -P xxxx chassis status
  • No system (Windows laptop running the Tyan Java software, workstation, linux laptop, each running both Tyan Java, ipmitools 1.8.8 and 1.8.6) can communicate with the BMC over LAN

That somehow defeats the purpose of the BMC…

∼ Continue Reading ∼