site  contact  subhomenews

4.1.2: sort applet, init fixed

November 12, 2008 — BarryK
As I make changes to 4.1.1, for the next bugfix release, I'll put the text "4.1.2:" in the title.

Busybox fix
I announced recently that as I needed the 'sort' utility in the initrd, I had upgraded Busybox to 1.12.1. Bad move, some problems, so I have rolled back to 1.4.2 -- Puppy 4.1 - 4.1.1 has Busybox 1.4.1, and 1.4.2 is the last in the 1.4 series.

I compiled 1.4.2 with the same '.config' file as before, except that I enabled the 'usleep' and 'sort' applets, also enabled 64-bit arithmetic for 'test' and 'expr'.

To manually upgrade Unleashed 4.1.1:
1. Grab the new 'busybox' executable from here: http://puppylinux.com/test/4.1.2/
2. Gunzip and place it in puppy-unleashed/boot/initrd-tree0/bin
3. In the same directory create symlinks 'sort' and 'usleep'.


usb-storage probe fix
I recently reported a bug when probing for USB storage drives, testing the 2.6.27.4 Ubuntu kernel. The fix required 'sort -u' to be inserted into the 'init' script.

To manually upgrade Unleashed 4.1.1:
4. Edit puppy-unleashed/boot/initrd-tree0/init, at line 267:

  #v412 bug, ubuntu kernel, got duplicate 'device found at 2', need 'sort -u'...

USBSTORAGES=`/bin/dmesg | grep "usb-storage: device found at" | sort -u | wc -l | sed -e 's/ //g'`


For the record:
There is a fatal bug in the Busybox 1.12.1 'modprobe' utility. Puppy4 uses the full 'modprobe', however as Busybox claims to now support gzipped modules and modaliases I enabled modprobe/insmod and removed the "full" modprobe/insmod. However, feeding modaliases to Busybox (modprobe <modalias>), it failed to load the matching module.
Also, the up/down arrow keys no longer worked when running at the shell prompt.
I couldn't be bothered any more, just went back to what works.

Comments

Weird blog rendering in SM



Tags: puppy