Archive for the ‘linux’ Category

HP has released AdvFS under a GPLv2 license!

Monday, June 23rd, 2008

It is nice to see that this well tested filesystem technology has been made available under the GPLv2 and may have another life with Linux.

Press Release HP Contributes Source Code to Open Source Community to Advance Adoption of Linux and the AdvFS site on SourceForge.

My MySQL talk at GNHLUG

Friday, June 20th, 2008

Last night I gave my much delayed talk about MySQL at the Greater New Hampshire Linux Users Group.

BTW, next time you are in downtown Nashua, stop by Martha’s Exchange and have a Cherry beer with the Jambalaya — spicy but delicious!

hp 2133 update

Wednesday, June 4th, 2008

I was going to use SLED10 for a while on my hp2133 mini-note, but getting updates is problamatic. If you call HP support within 30 days they will send you a SLED10 restore CD at no cost. This CD is one of those boot-and-wipes-the-disk variety, so be aware. This CD is different from the ISO you can download from HP (here).

First up — installing Ubuntu/Hardy. On the boot prompt, you’ll have to add xforcevesa or the video will flake out. Using an external USB CD/DVD drve, the standard Ubuntu CD boots and starts the install, but after resizing the SLED10 partition down to 10G, the install fails with the following message:

Ubuntu 8.04 install error

Next up — Fedora 9. Again using an external CD, the install starts up well, but then soon fails when trying to locate the CD containing the install RPMs. I has been a while since I’ve used Red Hat on the desktop, so I’ll give Fedora another try later. (And it will make the Red Hat folks at GNHLUG happy ;-)

Next up — Ubuntu/Hardy Alternative Install CD. This version uses the tried-and-true debian install process and this time it works great!

With the stock Ubuntu/Hardy it finds and configures the wired network, graphics, audio (except the earphone jack), MMC disk. The Broadcom Wifi does not however and needs to use the ndiswrapper with firmware downloaded from the hp.com support site.

The post-install steps for Ubuntu/Hardy to get the WiFi working can be found on “WifiDocs/Driver/bcm43xx/Feisty No-Fluff”.

For the hp 2133, the steps are:

  1. I found on my Ubuntu/Hardy that the bcm43xx module was already on the blacklist so the first line wasn’t necessary. See line 32 of /etc/modprobe.d/blacklist. You’ll still need to install ndiswrapper-utils-1.9 and create a tmp directory to unpack the wireless firmware.


    # NOT NEEDED echo 'blacklist bcm43xx' | sudo tee -a /etc/modprobe.d/blacklist

    sudo apt-get install ndiswrapper-utils-1.9
    mkdir ~/bcm43xx; cd ~/bcm43xx

  2. Since my hp 2133 has a Broadcom Corporation BCM4312 802.11a/b/g (rev 02), use Step 2a which downloads from Hewlett-Packard the Windows firmware for the Broadcom Corporation BCM4312 802.11a/b/g (rev 02)


    sudo apt-get install cabextract
    wget ftp://ftp.compaq.com/pub/softpaq/sp34001-34500/sp34152.exe
    cabextract sp34152.exe

  3. Step 3 is to install the firmware using ndiswrapper. My /etc/network/interfaces file already had an entry to the ‘lo’ device, so didn’t need to do that. Also ran into problems trying to load the modules on boot, so I don’t load ndiswrapper from /etc/modules. Also I didn’t bother to edit /etc/default/wpasupplicant because on my home wireless network. I don’t use authentication — wireless access is locked down by MAC address at the wireless router.


    sudo ndiswrapper -i bcmwl5.inf
    ndiswrapper -l
    sudo depmod -a
    sudo modprobe ndiswrapper

    #NOT NEEDED sudo cp /etc/network/interfaces /etc/network/interfaces.orig
    #NOT NEEDED echo -e 'auto lo\niface lo inet loopback\n' | sudo tee /etc/network/interfaces

    sudo ndiswrapper -m

    #NOT NEEDED by me echo 'ndiswrapper' | sudo tee -a /etc/modules
    #NOT NEEDED by me echo 'ENABLED=0' | sudo tee -a /etc/default/wpasupplicant

  4. As the wiki page mentions, there is a bug in Ubuntu/Hardy related to the ndiswrapper and ssb loadable modules, so after every boot, I do the following steps which I put in a little script, enable-wifi


    #!/bin/bash
    # This is ~/bin/enable-wifi
    ndiswrapper -l
    sudo depmod -a
    sudo modprobe ndiswrapper
    sudo rmmod ssb
    sudo rmmod ndiswrapper
    sudo modprobe ndiswrapper
    sudo modprobe ssb

    After a few seconds the NetworkManager applet will start looking for wifi networks and automatically connect.

    I’ve tried following the wiki’s instructions on making it permanent, but found that there were nasty kernel messages about the ssb loadable module dying and preventing ndiswrapper from loading.

The next post install step is to fix the audio driver. The sound card works okay, but doesn’t turn off the speakers when a headphone is plugged in. The other great wiki page, https://wiki.ubuntu.com/LaptopTestingTeam/HP2133 has the solution. Essentially download and install alsa-driver-1.0.16_linux-headers-2.6.24-17-generic-1_i386.deb.

Why hasn’t a fix been pushed into the repositories is unclear.


sudo mv /lib/modules/2.6.24-17-generic/ubuntu/sound/alsa-driver \
/lib/modules/2.6.24-17-generic.ubuntu.sound.alsa-driver.bak
sudo ln -s /lib/modules/2.6.24-17-generic/kernel/sound/ \
/lib/modules/2.6.24-17-generic/ubuntu/sound/alsa-driver

Although it may look like a lot of work, it wasn’t that difficult. If you have problems, check back to the source wiki pages.

My new shiny hp 2133 mininote

Wednesday, May 21st, 2008

Last month I ordered an hp 2133 mini-note with pre-installed Linux, specifically Novell’s SuSE Linux Enterprise Desktop 10 and it was back ordered until last week.

Here are the obligatory unboxing photos.

hp 2133 unpacked

Man it is tiny, but after a few hours of getting use to it, it isn’t *too* small for typing. I’m getting to like the button under the space bar that disables the touchpad for when you are doing extended typing.
open hp compaq 2133 mini-note

See the rest of the photos here:
HP 2133 mininote unboxing

I’ll be blogging more about this nice hardware as I explore it — hw specs, restore CDs, installing Ubuntu/Hardy and Fedora 9, and any little hints along the way.

Full Disclosure: While I do work for HP, it is not in any PC/notebook related area, although I do use Linux (RHEL4, OEL) on ProLiant servers on a daily basis. Also this a personal purchase for home use. I didn’t even get an employee discount!

How to connect a Samsung Flipshot U900 to Ubuntu/Linux

Thursday, April 3rd, 2008

First purchase a USB cable that works with the Samsung Flipshot U900 — I ordered one from 3GCables.com for $8.95 (and $6.95 s/h)

The default setting for the phone was to ask how it should present itself when connected via USB. The options are “Ask on Plug”, “Copy To/From Card”, “Sync Music” or “Modem”
Since I’m always going to use it like a usb-storage device, I changed it to always use “Copy To/From Card”.

  • 5. Settings & Tools
  • 8. USB Auto Detection
  • Change to “Copy From/To Card’.

Now you can copy files to /media/disk. My top level directory looks like this:


$ ls /media/disk/
my_files my_flix my_music my_pix my_sounds

USB to Serial Adapter for Ubuntu

Monday, June 18th, 2007

I recently received an updated laptop at work — a nice hp nc6400 notebook. Unlike the previous nc6000, this new on does not include a serial port which is problematic for the Garmin to serial cable I have. I ordered from CompUSA a USB to Serial Adapter by CablesToGo (model 26886) and it works great out of the box on Ubuntu/Feisty.

All I needed to change is the serial port to use, so:

gpsbabel -t -i garmin -f /dev/ttyS0 -o kml,points=0,line_color=ff0000ff -F waypoints.kml
gpsbabel -t -i garmin -f /dev/ttyS0 -o gpx -F waypoints.gpx

becomes:

gpsbabel -t -i garmin -f /dev/ttyUSB0 -o kml,points=0,line_color=ff0000ff -F waypoints.kml
gpsbabel -t -i garmin -f /dev/ttyUSB0 -o gpx -F waypoints.gpx

FWIW, it uses the pl2303 kernel module.

Some photos from MySQL Conference 2007 Day 3

Thursday, April 26th, 2007

Battle of the Database Egos (pano)
Clash of the Database Egos

Michael (Monty) Widenius, CTO & Co-founder, MySQL AB

Mikael Ronström, Senior Software Architect, MySQL AB

Jim Starkey, Senior Software Architect, MySQL AB

Heikki Tuuri, Vice President, server technology, Innobase Oy

Ari Valtanen, Co-Founder, Senior Vice President and Chief Technology Officer, Solid Information Technology

Paul Whittington, Founder and Chief Architect, NitroSecurity, Inc.

Mike Smith, IBM

Eben Moglen
Eben Moglen

Bdale Garbee
Bdale Garbee

Some photos from MySQL Conference 2007 Day 2

Tuesday, April 24th, 2007

See the complete set here: MySQL Conference 2007

Marten Mikos / Guy Kawasaki
Marten Miko & Guy Kawasaki

Marten Mikos / Mark Jones (hp) MySQL Partners of the Year Awards
Marten Mikos / Mark Jones (hp) MySQL Partners of the Year Awards

Guy Kawasaki
Guy Kawasaki

Marten Mikos
Marten Mikos

Guy Kawasaki
Guy Kawasaki

Marten Mikos
Marten Mikos

Going to MySQL Conf 2007

Friday, April 20th, 2007

I am heading off to Santa Clara on Sunday for this year’s MySQL conference agin. On the flight out I have a window seat and hope to have enough light for some photos. Keep an eye out on http://www.flickr.com/photos/marcn/

Look for me in one of those always stylish HP shirts. ;-)

Top 10 search queries bring people to my blog

Friday, December 30th, 2005

1. w32codec related for debian/ubuntu — 4720
I’m not able to play DVDs and WMVs using xine. A better resource is
https://wiki.ubuntu.com/RestrictedFormats

2. gideon taylor — 2095

Back in 2003, I purchased his 1857 family bible on ebay, it is
nice that it is back in the family again. Seems to also be the
name mentioned in an anti-semitic tract on the internet.

3. ipodder on debian/ubuntu related — 1012

I wrote about getting early iPodder versions working on
debian/sarge and Ubuntu. It as since been packaged up and in the
debian/ubuntu repositories.

4. xinerama support on debian/ubuntu — 234

X11 dual head support — I had it working on Ubuntu/Dapper but an X
upgrade last month broke it. It seems the xorg.conf I was using
isn’t quite right…

5. installing ubuntu — 219

I’m kind of surprised of that many hits. I’m currently running
Ubuntu/Dapper on my corporate hp nc6000 laptop.

6. ive seen things ive seen them with my eyes — 217

Who doesn’t love that flash video?

7. grub related — 185

The hp/compaq ProLiant servers include the SmartArray RAID whose
cciss driver uses /dev/cciss/c0d0p0 for the first partition which
still confuses grub. There is a simple work around.

8. hollie vise — 176

Hollie Vise was at Gymnastics Village where Trevor is on the boys
team. I took a couple crappy photos.

9. gymnastics videos — 156

I had some short videos of Trevor (Level 5 Boys), but took them
down when I started running out of web space.

10. flickr uploadr — 132
I hacked a quick nautilus wrapper around an existing perl-based
Flickr::Uploadr and made it available. Lately I’ve been using
jUploadr.

And some random searches…

166 people look for words that rhyme with something (bacteria rhymes, what rhymes with becoming)

51+ hits for people looking for maggot or larvae infested breast

Guatemalan sex pictures — 2

2004 Lisa Directory @aol.com — 2

donating blood blogs — 1