Archive for the ‘Linux’ Category

getting a subversion server to spin (on mandriva)

Friday, February 12th, 2010

Setting up a subversion server on mandriva is relatively straight forward, but with a simple mind boggle, that cost me a few hours hence this post.

Simple stuff first:

urpmi subversion-server subversion subversion-tools xinetd

That’s it, all installed. Now create an empty repository (still basic stuff).

svnadmin create /var/svn/first_repo

Now the part that fooled me and had me entertained (not) for some hours. The file

/var/svn/first_repo/conf/svnserve.conf

contains the following by default:

### This file controls the configuration of the svnserve daemon, if you

### use it to allow access to this repository. (If you only allow

### access through http: and/or file: URLs, then this file is

### irrelevant.)

### Visit http://subversion.tigris.org/ for more information.

[general]

### These options control access to the repository for unauthenticated

### and authenticated users. Valid values are “write”, “read”,

### and “none”. The sample settings below are the defaults.

### anon-access = none

### auth-access = write

### The password-db option controls the location of the password

### database file. Unless you specify a path starting with a /,

### the file’s location is relative to the directory containing

### this configuration file.

### If SASL is enabled (see below), this file will NOT be used.

### Uncomment the line below to use the default password file.

### password-db = passwd

### The authz-db option controls the location of the authorization

### rules for path-based access control. Unless you specify a path

### starting with a /, the file’s location is relative to the the

### directory containing this file. If you don’t specify an

### authz-db, no path-based access control is done.

### Uncomment the line below to use the default authorization file.

### authz-db = authz

### This option specifies the authentication realm of the repository.

### If two repositories have the same authentication realm, they should

### have the same password database, and vice versa. The default realm

### is repository’s uuid.

### realm = some default realm

[sasl]

### This option specifies whether you want to use the Cyrus SASL

### library for authentication. Default is false.

### This section will be ignored if svnserve is not built with Cyrus

### SASL support; to check, run ’svnserve –version’ and look for a line

### reading ‘Cyrus SASL authentication is available.’

# use-sasl = true


### These options specify the desired strength of the security layer

### that you want SASL to provide. 0 means no encryption, 1 means

### integrity-checking only, values larger than 1 are correlated

### to the effective key length for encryption (e.g. 128 means 128-bit

### encryption). The values below are the defaults.

# min-encryption = 0

# max-encryption = 256

I have boldfaced the lines that tricked me

I read it as (well, skimming it) as sasl was by default disables, hence I did not need to specifically enable passwords from a passwd file. WRONG! To be able to interact with the svn server i had to uncomment the passwd line (and authz, but only if you need more fine grained access control).

Now to have the svn daemon running as a service, edit the xinetd file:

vi /etc/xinet.d/svnserve

I haven’t been able to make svnserve debug log any where, and running it by hand inside strace, did not reveal any sensible info either, so I made my way by starting with a know working configuration and then enabling cfgs one by one.

Hope this page will help some one, if found by google.

The moon

Thursday, April 9th, 2009

On easter vacation I can combine two dear interest, tech and nature. A picture of the moon using the D90, blogged from my N800 :-)

Moon behind trees
Not as cools as the real stuff, recently restored from stuff stored in a garage, but I like being close to trees too (hey, I have to say that, no-one is offering me a trip to space any time near soon)

Posting this image was not straight forward. It’s 5Mb which exceeds the wordpress limit (in my installation at least). There was a plenty hits on the error message:

[Thu Apr 09 22:46:20 2009] [error] [client XXX] ALERT – script tried to increase memory_limit to 67108864 bytes which is above the allowed value (attacker ‘64.78.155.100′, file ‘XXX//wp-settings.php’, line 16)

The solution, adding

define(‘WP_MEMORY_LIMIT’, ‘64M’);

was enough. Got me another error:

[Thu Apr 09 23:03:33 2009] [error] [client XXX] ALERT – script tried to increase memory_limit to 67108864 bytes which is above the allowed value (attacker ‘XXX, file ‘XXX/wp-settings.php’, line 16)

Probably a php default setting somewhere. The following (guessing that there might be a 32M settting somewhere) helped me locate the line to bump up for php in general:

# find /etc/|xargs grep 32M

So to fix it I bumped the following line to 64M:

/etc/php.ini:memory_limit = 32M ; Maximum amount of memory a script may consume (32MB)

The rest is history ;)

Another blogclient test

Tuesday, April 7th, 2009

Test from maemowordpy

Turned out that I had not noticed that my user name was capitalised when configuring access to my blog. A rather common problem with ‘helpful’ mobile devices.

My feet

now lets us see if snapping an image with the built-in camera can also be uploaded? (more…)

nslu2

Sunday, February 3rd, 2008

Gadget times, yeah :D , I also got myself an nslu2. Why? Because it is a cheap (~700 euro) way of getting a general purpose linux box, just check out the community.

At first I tried to connect to it from the soekris over a crossed cable, as described here, but that did not work, not sure why.

The I plugged it into a wireless router and connected to it from the old firewall (where the wireless router sits on one subnet, different from 192.168.0.0, and did the same, now it worked:

# route add 192.168.0.1 eth1
# arping -f -I eth1 192.168.0.1; telnet 192.168.0.1 9000
ARPING 192.168.0.1 from 192.168.2.2 eth1
Unicast reply from 192.168.0.1 [00:1A:70:A1:93:78] 11.302ms
Sent 27 probes (27 broadcast(s))
Received 1 response(s)
Trying 192.168.0.1…
Connected to 192.168.0.1 (192.168.0.1).
Escape character is ‘^]’.
== Executing boot script in 1.690 seconds – enter ^C to abort
^C
RedBoot> version

RedBoot(tm) bootstrap and debug environment [ROMRAM]
Red Hat certified release, version 1.92 – built 15:16:07, Feb 3 2004

Platform: IXDP425 Development Platform (XScale)
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0×00000000-0×02000000, 0×000723a0-0×01ff3000 available
FLASH: 0×50000000 – 0×50800000, 64 blocks of 0×00020000 bytes each.

I tried to give it a local and a server ip fraom the readboot, but after a reboot it was not at that address.

Next endeavor seems to be getting upslug2 for mandriva 2008. Then I shall install openSLUG.

To get upslug2 compiled I had to check it out from svn:

svn co http://svn.nslu2-linux.org/svnroot/upslug2/trunk upslug2

To compile I had to install autoconf, automake and libtool, gcc-c++ then run (as documented on the upslug2 wiki page).

Next step is to enable the nslu2 in update mode..

Done, easy, and now the flash:

# upslug2 –image=”../slugosbe/slugosbe-4.8-beta-nslu2.bin”
NSLU2 00:1a:70:a1:93:78 Product ID: 1 Protocol ID: 0 Firmware Version: R23V24 [0x2324]
Upgrading LKGA19378 00:1a:70:a1:93:78
. original flash contents * packet timed out
! being erased – erased
u being upgraded U upgraded
v being verified V verified

Display:

+
Status:
* timeout occurred + sequence error detected

7fffff+000000 …VVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVVV
Rebooting… done

I probably did not keep the paper clip in the reset hole for the proper time, because the leds kept blinking for upgrade mode. I flashed it again, and now it went into OK green led state.

Now watching my dhcpd server log (broadcast ping did not make it reveal itself), I could log into it (found the password on the net, reproducing below, just in case it should be taken off the net — suspicious about the port 8000).

5. Step #5: Log into the slug. You can login to the slug through ssh. Type the following at a command prompt after the slug boots: ’ssh -l root xxx.xxx.xxx.xxx’. The IP address will be whatever your DHCP server assigned the slug on boot. If you don’t know how to find this, you can trying a broadcast ping and iteratively check each found address on your network: ‘ping -b 192.168.1.255′ — assuming your network is 192.168.1. If not, adjust accordingly. If you cannot find the IP address of the slug, or don’t have a DHCP server running, then you’re on your own. The slug’s root password is ‘opeNSLUg’. I recommend changing this ASAP. After you login to the slug, you can treat it like a regular linux machine. I’d advise reading up on ‘turnup’ and ‘ipkg’.
6. Step #6: After logging in, run ‘turnup init’. Follow the on-screen instructions, and then do ‘turnup preserve’ and reboot.

Need to reslug. I tried to mv /var /..external disl; ln …. /var, but that apparantly killed it. Hm. next time, the password from above did not work. Ahh, the passwd I made befure turnup preserve was persisted across the flash! (I had changed it after the persist, and the did not last – that took me a while to guess :(

I think turnup preserve re-saves from ram to flashram. But I will google a bit, stay tuned :D . Ok, this looked interesting in order to get the nslu2 to use the external disk to boot from

root@ouy:~$ turnup disk -i -s5 /dev/sda1
/sbin/turnup: umounting any existing mount of /dev/mtdblock4
turnup: copying root file system

15213 blocks
done
turnup: initialising dev file system
turnup: ensuring /var/volatile mountpoint exists
turnup: ensuring tmpfs will not be mounted on /var
turnup: /etc/syslog.conf: changed to file buffering
Old (buffer) version in /etc/syslog.conf.sav
Log messages will be in /var/log/messages
root@ouy:~$
root@ouy:~$ ls /mnt/sda1/
bin etc initrd lost+found mnt root sys usr
dev home lib media proc sbin tmp var
root@ouy:~$ turnup preserve
/sbin/sysconf: umounting any existing mount of /dev/mtdblock4
25 blocks
++*; done
root@ouy:~$

Yihaa, not I boot from disk not sure if all the below are necessary, but here you go:

root@ouy:~$ touch /.sda1root
root@ouy:~$ turnup disk -s20 /dev/sda1 -t ext3
root@ouy:~$ sync
root@ouy:~$ sync
root@ouy:~$ sync
root@ouy:~$ reboot

(the touch .sda1root was from the wiki page, but the 20 seconds was my guess, that perhaps my 2.5” drive was slower to be recognised than on the soekriss [there is a reason I pulled it out of a laptone earlier on - 5400 rpm is NOT FAST!!]). Not sure about the sync’s either, but that is a good point to be superstitious about :S.

Now we are ready to rock’n'roll:

root@ouy:~$ df / /var
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/sda1 4806768 141568 4421028 3% /
root@ouy:~$ ipkg update
Downloading http://ipkg.nslu2-linux.org/feeds/slugosbe/cross/4.8-beta/Packages.gz
Inflating http://ipkg.nslu2-linux.org/feeds/slugosbe/cross/4.8-beta/Packages.gz
Updated list of available packages in /var/lib/ipkg/cross
Downloading http://ipkg.nslu2-linux.org/feeds/slugosbe/native/4.8-beta/Packages.gz
Inflating http://ipkg.nslu2-linux.org/feeds/slugosbe/native/4.8-beta/Packages.gz
Updated list of available packages in /var/lib/ipkg/native
root@ouy:~$ ipkg install bash
Installing bash (3.2-r2) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/slugosbe/cross/4.8-beta/bash_3.2-r2_armv5teb.ipk
package ncurses suggests installing ncurses-terminfo
Installing ncurses (5.4-r10) to root…
Downloading http://ipkg.nslu2-linux.org/feeds/slugosbe/cross/4.8-beta/ncurses_5.4-r10_armv5teb.ipk
Configuring bash
Configuring ncurses
root@ouy:~$ ipkg list |grep nfs
kernel-module-nfs – 2.6.21.7+svnr927-r0 – nfs kernel module
kernel-module-nfsd – 2.6.21.7+svnr927-r0 – nfsd kernel module
nfs-utils – 1.0.6-r13 – userspace utilities for kernel nfs
/blockquote>

Last open question, I believe: How do I install apache? I think I need to ad an url i ipkg, so that it will find, e.g. the optoware repos, a few links, to start from next time I have the time and energy. Find packages (includes apache),

Could not resist, this is where to find out how to access the optoware. I works like this:

$ su
# feed=http://ipkg.nslu2-linux.org/feeds/optware/slugosbe/cross/unstable
# ipk_name=`wget -qO- $feed/Packages | awk ‘/^Filename: ipkg-opt/ {print $2}’`
# wget $feed/$ipk_name
# tar -xOvzf $ipk_name ./data.tar.gz | tar -C / -xzvf -
# sed -i -e ’s|/stable|/unstable|’ /opt/etc/ipkg.conf

To install package after bootstrapping (replace with your package name):

# /opt/bin/ipkg-opt update
# /opt/bin/ipkg-opt list
# /opt/bin/ipkg-opt install

setting up a vpn server

Saturday, February 2nd, 2008

Now with pptp access to the work site, I might as well set up a vpn for accessing the home lan, either over inherently insecure, but very practical wifi, or just to easily jump the other way from work.

One of the possibilities is openSWAN, which has a guide at this link.

TO be updated when there is progress.

UPDATE, no progress :S, just another link. Since provenly pptp works with the client side, I want to just set up a pptp server as described here, for example.

soekris 5501

Monday, December 31st, 2007

I bought myself a soekris 5501 to replace my noisy power consuming approximately 10 years old dual PII 333 server. This entry will detail parts of the setup. I followed same approach as described on this blog entry.

I had problems with the serial port speed. Initially up to 57600 worked, but after the kernel had loaded only 9600 worked (thought perhaps that is something which can be set somehow? rdev comes to mind from old times, it could set the boot device on a kernel, but I cannot urpmi it to my mandriva, so I cannot follow that line of thought easily).

I connect using cu from the uucp package:

cu -l /dev/ttyS0 -s 9600

a somewhat arcane package to install, but cu works fine, so I won’t bother with minicom

I also had problems with the disk being /dev/sda in my laptop (due to the usb connection I think), while it became /dev/hda on the soekriss. Fixing this in grub was easy, but due the very modular nature of the mandriva kernel, I was missing the right module to interact with hda devices. Instead of learning how to fix the ramdisk I resorted to a statically compiled kernel, which is something I just do. So it ought to be easier and also more secure on a server, to disable loading of modules. It turned out to be a bit slow since I had to disable all sorts of hardware (a good thing, but not something I wanted to spend time on initially) in order not to lock up due to some interrupts, memory or something not being available. I managed in the end and the imperfect result can be seen below [*].

I also had problems with the soekris not detecting the harddisk for initial boot. I had to ctrl+p and enter reboot before the disk was detected. I has somehow solved itself, perhaps when setting the bootprocess to slow again.

I had problems to get forwarding and masquerading to work, so tried to find a minimal X11, so I could browser from the soekris, and I found these necessary packages (documented here, so I can remove them again when routing works properly).

412 urpmi x11-server-xorg
416 urpmi x11-server

More to come, …

Connecting the soekris to my fiber connection (where the soekriss gets a public IP from their router and shall as a router), I had problems connecting. I could connect to the fiber provider (dongenergy.dk) and order an ip connection (danskbredbaand.dk), but once I had changed to their dhcp provider I could not connect to to the world. The solution was the same as for my laptop, running linux, which I had to do a

echo 0 > /proc/sys/net/ipv4/tcp_window_scaling

on in order for the network to work reliably. This time around I googled a bit more and found this post which sounds like it contains the proper solution, which is not disabling tcp_window_scaling, rather it is tweaking some mem parameters apparantly wrong by default in the kernel. This link is better (not part of bashing) and is the reference from the link above.

On my soekris my home made kernel has:

# cat /proc/sys/net/ipv4/tcp_?mem
4096 87380 2080768
4096 16384 2080768

I tried to enable tcp_window_scaling again (with the purpose of testing the mem parameters). Then, when I tried to access the network again, it just worked. So perhaps a workaround is also to disable (a ping perhaps) and the re-enable window scaling?? I may report back my findings.

I have now turned off tcp_window_scaling, I had problem with loosing the ability to log in. That problem has not reappeared since then.

I have had problems with the bootprocess, I have not been systematic about it, but this suggestion from the soekris tech list seems like something I should do next time I boot it.

from BIOS:

set ConMute=Enabled

This allow GRUB to continue to boot if the serial cable is not connected.
For me it worked (I use ZeroShell (www.zeroshell.net) as Captive Portal).

[*] successfull boot dump.

POST: 012345689bcefghips1234ajklnopqr,,,tvwxy

comBIOS ver. 1.32i 20071005 Copyright (C) 2000-2007 Soekris Engineering.

Booting ‘b4′

kernel (hd0,0)/boot/bzImage.4 BOOT_IMAGE=linux-nonfb root=/dev/hda1 console=tty
S0,9600
[Linux-bzImage, setup=0x1400, size=0x4c5ad8]
initrd (hd0,0)/boot/initrd.img
[Linux-initrd @ 0x1fee3000, 0x10c1b6 bytes]
savedefault
boot
Linux version 2.6.21.5-1mdvcustom (root@localhost) (gcc version 4.1.1 20060724 (prerelease) (4.1.1-3mdk)) #4 Wed Dec 12 23:04:22 CET 2007
BIOS-provided physical RAM map:
sanitize start
sanitize end
copy_e820_map() start: 0000000000000000 size: 000000000009fc00 end: 000000000009fc00 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 000000000009fc00 size: 0000000000000400 end: 00000000000a0000 type: 2
copy_e820_map() start: 00000000000f0000 size: 0000000000010000 end: 0000000000100000 type: 2
copy_e820_map() start: 0000000000100000 size: 000000001ff00000 end: 0000000020000000 type: 1
copy_e820_map() type is E820_RAM
copy_e820_map() start: 00000000fff00000 size: 0000000000100000 end: 0000000100000000 type: 2
BIOS-e820: 0000000000000000 – 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 – 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 – 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 – 0000000020000000 (usable)
BIOS-e820: 00000000fff00000 – 0000000100000000 (reserved)
0MB HIGHMEM available.
512MB LOWMEM available.
Zone PFN ranges:
DMA 0 -> 4096
Normal 4096 -> 131072
HighMem 131072 -> 131072
early_node_map[1] active PFN ranges
0: 0 -> 131072
DMI not present or invalid.
Allocating PCI resources starting at 30000000 (gap: 20000000:dff00000)
Built 1 zonelists. Total pages: 130048
Kernel command line: BOOT_IMAGE=linux-nonfb root=/dev/hda1 console=ttyS0,9600
No local APIC present or hardware disabled
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Detected 499.928 MHz processor.
Console: colour dummy device 80×25
Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
… MAX_LOCKDEP_SUBCLASSES: 8
… MAX_LOCK_DEPTH: 30
… MAX_LOCKDEP_KEYS: 2048
… CLASSHASH_SIZE: 1024
… MAX_LOCKDEP_ENTRIES: 8192
… MAX_LOCKDEP_CHAINS: 16384
… CHAINHASH_SIZE: 8192
memory used by lock dependency info: 1096 kB
per task-struct memory footprint: 1200 bytes
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 505340k/524288k available (6075k kernel code, 18408k reserved, 3455k data, 508k init, 0k highmem)
virtual kernel memory layout:
fixmap : 0xfff9b000 – 0xfffff000 ( 400 kB)
pkmap : 0xff800000 – 0xffc00000 (4096 kB)
vmalloc : 0xe0800000 – 0xff7fe000 ( 495 MB)
lowmem : 0xc0000000 – 0xe0000000 ( 512 MB)
.init : 0xc0a52000 – 0xc0ad1000 ( 508 kB)
.data : 0xc06eef44 – 0xc0a4ed08 (3455 kB)
.text : 0xc0100000 – 0xc06eef44 (6075 kB)
Checking if this processor honours the WP bit even in supervisor mode… Ok.
Calibrating delay using timer specific routine.. 1002.62 BogoMIPS (lpj=2005255)
Security Framework v1.0.0 initialized
Capability LSM initialized
Failure registering Root Plug module with the kernel
Failure registering Root Plug module with primary security module.
Mount-cache hash table entries: 512
CPU: L1 I Cache: 64K (32 bytes/line), D cache 64K (32 bytes/line)
CPU: L2 Cache: 128K (32 bytes/line)
Compat vDSO mapped to ffffe000.
CPU: AMD Geode(TM) Integrated Processor by AMD PCS stepping 02
Checking ‘hlt’ instruction… OK.
ACPI: Core revision 20070126
ACPI Exception (tbxface-0618): AE_NO_ACPI_TABLES, While loading namespace from ACPI tables [20070126]
ACPI: Unable to load the System Description Tables
NET: Registered protocol family 16
PCI: PCI BIOS revision 2.01 entry at 0xfac61, last bus=0
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI: disabled
Generic PHY: Registered new driver
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
PCI: Probing PCI hardware
Time: tsc clocksource has been installed.
NET: Registered protocol family 2
IP route cache hash table entries: 16384 (order: 4, 65536 bytes)
TCP established hash table entries: 65536 (order: 9, 2883584 bytes)
TCP bind hash table entries: 65536 (order: 9, 2883584 bytes)
TCP: Hash tables configured (established 65536 bind 65536)
TCP reno registered
checking if image is initramfs… it is
Freeing initrd memory: 1072k freed
microcode: CPU0 not a capable Intel processor
IA-32 Microcode Update Driver: v1.14a
apm: BIOS not found.
Initializing RT-Tester: OK
audit: initializing netlink socket (disabled)
audit(321454178.492:1): initialized
Total HugeTLB memory allocated, 0
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Coda Kernel/Venus communications, v6.0.0, coda@cs.cmu.edu
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NTFS driver 2.1.28 [Flags: R/W].
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
fuse init (API version 7.8)
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Clocksource tsc unstable (delta = 748050092 ns)
Time: pit clocksource has been installed.
Real Time Clock Driver v1.12ac
Non-volatile memory driver v1.2
toshiba: not a supported Toshiba laptop
AMD Geode RNG detected
Hangcheck: starting hangcheck timer 0.9.0 (tick is 180 seconds, margin is 60 seconds).
Hangcheck: Using get_cycles().
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
serial8250: ttyS0 at I/O 0×3f8 (irq = 4) is a 16550A
serial8250: ttyS1 at I/O 0×2f8 (irq = 3) is a 16550A
RAMDISK driver initialized: 16 RAM disks of 32000K size 1024 blocksize
loop: loaded (max 8 devices)
nbd: registered device at major 43
Ethernet Channel Bonding Driver: v3.1.2 (January 20, 2007)
bonding: Warning: either miimon or arp_interval and arp_ip_target module parameters must be specified, otherwise bonding will not detect link failures! see bonding.txt for details.
dgrs: SW=$Id: dgrs.c,v 1.13 2000/06/06 04:07:00 rick Exp $ FW=Build 550 11/16/96 03:45:15
FW Version=$Version$
pcnet32.c:v1.33 27.Jun.2006 tsbogend@alpha.franken.de
e100: Intel(R) PRO/100 Network Driver, 3.5.17-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
ThunderLAN driver v1.15
TLAN: 0 devices installed, PCI: 0 EISA: 0
via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
eth0: VIA Rhine III (Management Adapter) at 0xa0004000, 00:00:24:c9:28:6c, IRQ 11.
eth0: MII PHY found at address 1, status 0×7849 advertising 05e1 Link 0000.
eth1: VIA Rhine III (Management Adapter) at 0xa0004100, 00:00:24:c9:28:6d, IRQ 5.
eth1: MII PHY found at address 1, status 0×7869 advertising 05e1 Link 45e1.
eth2: VIA Rhine III (Management Adapter) at 0xa0004200, 00:00:24:c9:28:6e, IRQ 9.
eth2: MII PHY found at address 1, status 0×7849 advertising 05e1 Link 0000.
eth3: VIA Rhine III (Management Adapter) at 0xa0004300, 00:00:24:c9:28:6f, IRQ 12.
eth3: MII PHY found at address 1, status 0×7849 advertising 05e1 Link 0000.
Marvell 88E1101: Registered new driver
Marvell 88E1111: Registered new driver
Marvell 88E1145: Registered new driver
Davicom DM9161E: Registered new driver
Davicom DM9131: Registered new driver
Cicada Cis8204: Registered new driver
Cicada Cis8201: Registered new driver
LXT970: Registered new driver
LXT971: Registered new driver
QS6612: Registered new driver
SMSC LAN83C185: Registered new driver
Vitesse VSC8244: Registered new driver
Broadcom BCM5411: Registered new driver
Broadcom BCM5421: Registered new driver
Broadcom BCM5461: Registered new driver
Fixed PHY: Registered new driver
forcedeth.c: Reverse Engineered nForce ethernet driver. Version 0.60.
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled).
CSLIP: code copyright 1989 Regents of the University of California.
SLIP linefill/keepalive option.
Equalizer2002: Simon Janes (simon@ncm.com) and David S. Miller (davem@redhat.com)
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky
HDLC support module revision 1.21
Cronyx Ltd, Synchronous PPP and CISCO HDLC (c) 1994
Linux port (c) 1998 Building Number Three Ltd & Jan “Yenya” Kasprzak.
DLCI driver v0.35, 4 Jan 1997, mike.mclagan@linux.org.
arcnet loaded.
arcnet: RFC1201 “standard” (`a’) encapsulation support loaded.
arcnet: RFC1051 “simple standard” (`s’) encapsulation support loaded.
arcnet: raw mode (`r’) encapsulation support loaded.
arcnet: COM90xx chipset support
S1: No ARCnet cards found.
arcnet: COM90xx IO-mapped mode support (by David Woodhouse et el.)
E-mail me if you actually test this driver, please!
arc%d: No autoprobe for IO mapped cards; you must specify the base address!
arcnet: RIM I (entirely mem-mapped) support
E-mail me if you actually test the RIM I driver, please!
arc%d: Given: node 00h, shmem 0h, irq 0
arc%d: No autoprobe for RIM I; you must specify the shmem and irq!
arcnet: COM20020 PCI support
dmfe: Davicom DM9xxx net driver, version 1.36.4 (2002-01-17)
winbond-840.c:v1.01-e (2.4 port) Sep-11-2006 Donald Becker

http://www.scyld.com/network/drivers.html

uli526x: ULi M5261/M5263 net driver, version 0.9.3 (2005-7-29)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
AMD5536: IDE controller at PCI slot 0000:00:14.2
AMD5536: chipset revision 1
AMD5536: not 100% native mode: will probe irqs later
AMD5536: 0000:00:14.2 (rev 01) UDMA100 controller
ide0: BM-DMA at 0xe000-0xe007, BIOS settings: hda:pio, hdb:pio
hda: TOSHIBA MK1016GAP, ATA DISK drive
ide0 at 0×1f0-0×1f7,0×3f6 on irq 14
hda: max request size: 128KiB
hda: 19640880 sectors (10056 MB), CHS=19485/16/63, UDMA(33)
hda: cache flushes not supported
hda: hda1 hda2 hda3
Loading iSCSI transport class v2.0-724.
st: Version 20070203, fixed bufsize 32768, s/g segs 256
osst :I: Tape driver with OnStream support version 0.99.4
osst :I: $Id: osst.c,v 1.73 2005/01/01 21:13:34 wriede Exp $
SCSI Media Changer driver v0.25
NFTL driver: nftlcore.c $Revision: 1.98 $, nftlmount.c $Revision: 1.41 $
INFTL: inftlcore.c $Revision: 1.19 $, inftlmount.c $Revision: 1.18 $
SSFDC read-only Flash Translation layer
physmap platform flash device: 04000000 at 08000000
physmap-flash physmap-flash.0: Could not reserve memory region
physmap-flash: probe of physmap-flash.0 failed with error -12
SBC-GXx flash: IO:0×258-0×259 MEM:0xdc000-0xdffff
Could not find PAR responsible for SC520CDP Flash Bank #0
Trying default address 0×8400000
Could not find PAR responsible for SC520CDP Flash Bank #1
Trying default address 0×8c00000
Could not find PAR responsible for SC520CDP DIL Flash
Trying default address 0×9400000
SC520 CDP flash device: 0×800000 at 0×8400000
Failed to ioremap_nocache
NetSc520 flash device: 0×100000 at 0×200000
Creating 4 MTD partitions on “netsc520 Flash Bank”:
0×00000000-0×000c0000 : “NetSc520 boot kernel”
ftl_cs: FTL header not found.
0×000c0000-0×00100000 : “NetSc520 Low BIOS”
ftl_cs: FTL header not found.
0×00100000-0×00f80000 : “NetSc520 file system”
mtd: partition “NetSc520 file system” is out of reach — disabled
ftl_cs: FTL header not found.
0×00f80000-0×01000000 : “NetSc520 High BIOS”
mtd: partition “NetSc520 High BIOS” is out of reach — disabled
ftl_cs: FTL header not found.
Failed to ioremap_nocache
Generic platform RAM MTD, (c) 2004 Simtec Electronics
No recognised DiskOnChip devices found
slram: not enough parameters.
$Id: pmc551.h,v 1.6 2005/11/07 11:14:55 gleixner Exp $
Ramix PMC551 PCI Mezzanine Ram Driver. (C) 1999,2000 Nortel Networks.
pmc551: not detected
ftl_cs: FTL header not found.
block2mtd: version $Revision: 1.30 $
NAND device: Manufacturer ID: 0×98, Chip ID: 0×39 (Toshiba NAND 8MiB 1,8V 8-bit)
flash size: 8 MiB
page size: 512 bytes
OOB area size: 16 bytes
sector size: 8 KiB
pages number: 16384
pages per sector: 16
bus width: 8
bits in sector size: 13
bits in page size: 9
bits in OOB size: 4
flash size with OOB: 8448 KiB
page address bytes: 3
sector address bytes: 2
options: 0×62
Scanning device for bad blocks
Creating 1 MTD partitions on “NAND 8MiB 1,8V 8-bit”:
0×00000000-0×00800000 : “NAND simulator partition”
ftl_cs: FTL header not found.
CS553x NAND controller: Flash I/O not enabled in MSR_DIVIL_BALL_OPTS.
aoe: AoE v32 initialised.
ehci_hcd 0000:00:15.1: EHCI Host Controller
ehci_hcd 0000:00:15.1: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:15.1: irq 15, io mem 0xa0006000
ehci_hcd 0000:00:15.1: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 4 ports detected
116x: driver isp116x-hcd, 03 Nov 2005
ohci_hcd 0000:00:15.0: OHCI Host Controller
ohci_hcd 0000:00:15.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:15.0: irq 15, io mem 0xa0005000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 4 ports detected
USB Universal Host Controller Interface driver v3.0
sl811: driver sl811-hcd, 19 May 2005
driver u132_hcd built at 22:10:34 on Dec 12 2007
usbcore: registered new interface driver cdc_acm
drivers/usb/class/cdc-acm.c: v0.25:USB Abstract Control Model driver for USB modems and ISDN adapters
usbcore: registered new interface driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver…
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver aiptek
drivers/usb/input/aiptek.c: v1.5 (May-15-2004): Bryan W. Headley/Chris Atenasio
drivers/usb/input/aiptek.c: Aiptek HyperPen USB Tablet Driver (Linux 2.6.x)
usbcore: registered new interface driver ati_remote
drivers/usb/input/ati_remote.c: Registered USB driver ATI/X10 RF USB Remote Control v. 2.2.1
usbcore: registered new interface driver ati_remote2
ati_remote2: ATI/Philips USB RF remote driver 0.1
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/usb/input/hid-core.c: v2.6:USB HID core driver
usbcore: registered new interface driver kbtab
drivers/usb/input/kbtab.c: v0.0.2:USB KB Gear JamStudio Tablet driver
usbcore: registered new interface driver usbtouchscreen
usbcore: registered new interface driver powermate
usbcore: registered new interface driver wacom
drivers/usb/input/wacom_sys.c: v1.46:USB Wacom Graphire and Wacom Intuos tablet driver
usbcore: registered new interface driver usb_acecad
drivers/usb/input/acecad.c: v3.2:USB Acecad Flair tablet driver
usbcore: registered new interface driver xpad
drivers/usb/input/xpad.c: X-Box pad driver:v0.0.6
usbcore: registered new interface driver appletouch
usbcore: registered new interface driver gtco
GTCO usb driver version: 2.00.0006<6>usbcore: registered new interface driver kaweth
pegasus: v0.6.14 (2006/09/27), Pegasus/Pegasus II USB Ethernet driver
usbcore: registered new interface driver pegasus
usbcore: registered new interface driver asix
usbcore: registered new interface driver cdc_ether
usbcore: registered new interface driver dm9601
usbcore: registered new interface driver gl620a
usbcore: registered new interface driver net1080
usbcore: registered new interface driver cdc_subset
usbcore: registered new interface driver zaurus
usbcore: registered new interface driver MOSCHIP usb-ethernet driver
usbcore: registered new interface driver microtekX6
usbcore: registered new interface driver usbserial
drivers/usb/serial/usb-serial.c: USB Serial support registered for generic
usbcore: registered new interface driver usbserial_generic
drivers/usb/serial/usb-serial.c: USB Serial Driver core
drivers/usb/serial/usb-serial.c: USB Serial support registered for airprime
usbcore: registered new interface driver airprime
drivers/usb/serial/usb-serial.c: USB Serial support registered for Belkin / Peracom / GoHubs USB Serial Adapter
usbcore: registered new interface driver belkin
drivers/usb/serial/belkin_sa.c: USB Belkin Serial converter driver v1.2
drivers/usb/serial/usb-serial.c: USB Serial support registered for debug
usbcore: registered new interface driver debug
drivers/usb/serial/usb-serial.c: USB Serial support registered for Digi 2 port USB adapter
drivers/usb/serial/usb-serial.c: USB Serial support registered for Digi 4 port USB adapter
usbcore: registered new interface driver digi_acceleport
drivers/usb/serial/digi_acceleport.c: v1.80.1.2:Digi AccelePort USB-2/USB-4 Serial Converter driver
drivers/usb/serial/usb-serial.c: USB Serial support registered for Edgeport 2 port adapter
drivers/usb/serial/usb-serial.c: USB Serial support registered for Edgeport 4 port adapter
drivers/usb/serial/usb-serial.c: USB Serial support registered for Edgeport 8 port adapter
drivers/usb/serial/usb-serial.c: USB Serial support registered for EPiC device
usbcore: registered new interface driver io_edgeport
drivers/usb/serial/io_edgeport.c: Edgeport USB Serial Driver v2.7
drivers/usb/serial/usb-serial.c: USB Serial support registered for Edgeport TI 1 port adapter
drivers/usb/serial/usb-serial.c: USB Serial support registered for Edgeport TI 2 port adapter
usbcore: registered new interface driver io_ti
drivers/usb/serial/io_ti.c: Edgeport USB Serial Driver v0.7
drivers/usb/serial/usb-serial.c: USB Serial support registered for empeg
usbcore: registered new interface driver empeg
drivers/usb/serial/empeg.c: v1.2:USB Empeg Mark I/II Driver
drivers/usb/serial/usb-serial.c: USB Serial support registered for funsoft
usbcore: registered new interface driver funsoft
drivers/usb/serial/usb-serial.c: USB Serial support registered for Garmin GPS usb/tty
usbcore: registered new interface driver garmin_gps
drivers/usb/serial/garmin_gps.c: garmin gps driver v0.28
drivers/usb/serial/usb-serial.c: USB Serial support registered for hp4X
usbcore: registered new interface driver hp4X
drivers/usb/serial/hp4x.c: HP4x (48/49) Generic Serial driver v1.00
drivers/usb/serial/usb-serial.c: USB Serial support registered for PocketPC PDA
drivers/usb/serial/ipaq.c: USB PocketPC PDA driver v0.5
usbcore: registered new interface driver ipaq
drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan – (without firmware)
drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan 1 port adapter
drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan 2 port adapter
drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan 4 port adapter
usbcore: registered new interface driver keyspan
drivers/usb/serial/keyspan.c: v1.1.4:Keyspan USB to Serial Converter Driver
drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan PDA
drivers/usb/serial/usb-serial.c: USB Serial support registered for Keyspan PDA – (prerenumeration)
drivers/usb/serial/usb-serial.c: USB Serial support registered for Xircom / Entregra PGS – (prerenumeration)
usbcore: registered new interface driver keyspan_pda
drivers/usb/serial/keyspan_pda.c: USB Keyspan PDA Converter driver v1.1
drivers/usb/serial/usb-serial.c: USB Serial support registered for KOBIL USB smart card terminal
usbcore: registered new interface driver kobil
drivers/usb/serial/kobil_sct.c: 21/05/2004 KOBIL Systems GmbH – http://www.kobil.com
drivers/usb/serial/kobil_sct.c: KOBIL USB Smart Card Terminal Driver (experimental)
drivers/usb/serial/usb-serial.c: USB Serial support registered for MCT U232
usbcore: registered new interface driver mct_u232
drivers/usb/serial/mct_u232.c: Magic Control Technology USB-RS232 converter driver z2.0
drivers/usb/serial/usb-serial.c: USB Serial support registered for Moschip 2 port adapter
drivers/usb/serial/mos7720.c: Moschip USB Serial Driver 1.0.0.4F
usbcore: registered new interface driver moschip7720
drivers/usb/serial/usb-serial.c: USB Serial support registered for Moschip 7840/7820 USB Serial Driver
drivers/usb/serial/mos7840.c: Moschip 7840/7820 USB Serial Driver 1.3.1
usbcore: registered new interface driver mos7840
drivers/usb/serial/usb-serial.c: USB Serial support registered for navman
usbcore: registered new interface driver navman
drivers/usb/serial/usb-serial.c: USB Serial support registered for GSM modem (1-port)
usbcore: registered new interface driver option
drivers/usb/serial/option.c: USB Driver for GSM modems: v0.7.1
drivers/usb/serial/usb-serial.c: USB Serial support registered for pl2303
usbcore: registered new interface driver pl2303
drivers/usb/serial/pl2303.c: Prolific PL2303 USB to serial adaptor driver
drivers/usb/serial/usb-serial.c: USB Serial support registered for TI USB 3410 1 port adapter
drivers/usb/serial/usb-serial.c: USB Serial support registered for TI USB 5052 2 port adapter
usbcore: registered new interface driver ti_usb_3410_5052
drivers/usb/serial/ti_usb_3410_5052.c: TI USB 3410/5052 Serial Driver v0.9
drivers/usb/serial/usb-serial.c: USB Serial support registered for Handspring Visor / Palm OS
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 3.5
drivers/usb/serial/usb-serial.c: USB Serial support registered for Sony Clie 5.0
usbcore: registered new interface driver visor
drivers/usb/serial/visor.c: USB HandSpring Visor / Palm OS driver
drivers/usb/serial/usb-serial.c: USB Serial support registered for Connect Tech – WhiteHEAT – (prerenumeration)
drivers/usb/serial/usb-serial.c: USB Serial support registered for Connect Tech – WhiteHEAT
usbcore: registered new interface driver whiteheat
drivers/usb/serial/whiteheat.c: USB ConnectTech WhiteHEAT driver v2.0
usbcore: registered new interface driver appledisplay
usbcore: registered new interface driver berry_charge
usbcore: registered new interface driver cypress_cy7c63
usbcore: registered new interface driver cytherm
drivers/usb/misc/cytherm.c: v1.0:Cypress USB Thermometer driver
usbcore: registered new interface driver emi26 – firmware loader
usbcore: registered new interface driver emi62 – firmware loader
driver ftdi-elan built at 22:10:44 on Dec 12 2007
usbcore: registered new interface driver ftdi-elan
drivers/usb/misc/idmouse.c: Siemens ID Mouse FingerTIP Sensor Driver 0.6
usbcore: registered new interface driver idmouse
usbcore: registered new interface driver iowarrior
usbcore: registered new interface driver usblcd
usbcore: registered new interface driver ldusb
usbcore: registered new interface driver usbled
usbcore: registered new interface driver phidgetkit
usbcore: registered new interface driver phidgetmotorcontrol
usbcore: registered new interface driver phidgetservo
usbcore: registered new interface driver trancevibrator
drivers/usb/misc/trancevibrator.c: v1.1:PlayStation 2 Trance Vibrator driver
usbcore: registered new interface driver sisusb
sisusb: Driver version 0.0.8
sisusb: Copyright (C) 2005 Thomas Winischhofer
PNP: No PS/2 controller found. Probing ports directly.
serio: i8042 KBD port at 0×60,0×64 irq 1
mice: PS/2 mouse device common for all mice
I2O subsystem v1.325
i2o: max drivers = 8
I2O Configuration OSM v1.323
I2O Bus Adapter OSM v1.317
I2O Block Device OSM v1.325
I2O SCSI Peripheral OSM v1.316
I2O ProcFS OSM v1.316
hdaps: supported laptop not found!
hdaps: driver init failed (ret=-19)!
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
raid6: int32×1 57 MB/s
raid6: int32×2 77 MB/s
raid6: int32×4 72 MB/s
raid6: int32×8 68 MB/s
raid6: mmxx1 148 MB/s
raid6: mmxx2 213 MB/s
raid6: sse1×1 149 MB/s
raid6: sse1×2 216 MB/s
raid6: using algorithm sse1×2 (216 MB/s)
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
raid5: measuring checksumming speed
8regs : 391.000 MB/sec
8regs_prefetch: 324.000 MB/sec
32regs : 231.000 MB/sec
32regs_prefetch: 188.000 MB/sec
pII_mmx : 853.000 MB/sec
p5_mmx : 670.000 MB/sec
raid5: using function: pII_mmx (853.000 MB/sec)
md: multipath personality registered for level -4
md: faulty personality registered for level -5
device-mapper: ioctl: 4.11.0-ioctl (2006-10-12) initialised: dm-devel@redhat.com
wbsd: Winbond W83L51xD SD/MMC card interface driver
wbsd: Copyright(c) Pierre Ossman
iscsi: registered transport (iser)
padlock: No VIA PadLock drivers have been loaded.
padlock: VIA PadLock not detected.
padlock: VIA PadLock Hash Engine not detected.
geode-aes: GEODE AES engine enabled.
GACT probability on
Mirror/redirect action on
Simple TC action Loaded
netem: version 1.2
u32 classifier
Performance counters on
input device check on
Actions configured
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (4096 buckets, 32768 max)
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
IPVS: Registered protocols (TCP, UDP, AH, ESP)
IPVS: Connection hash table configured (size=4096, memory=32Kbytes)
IPVS: ipvs loaded.
IPVS: [rr] scheduler registered.
IPVS: [wrr] scheduler registered.
IPVS: [lc] scheduler registered.
IPVS: [wlc] scheduler registered.
IPVS: [lblc] scheduler registered.
IPVS: [lblcr] scheduler registered.
IPVS: [dh] scheduler registered.
IPVS: [sh] scheduler registered.
IPVS: [sed] scheduler registered.
IPVS: [nq] scheduler registered.
IPVS: ftp: loaded support on port[0] = 21
TCP bic registered
TCP cubic registered
TCP westwood registered
TCP htcp registered
Initializing XFRM netlink socket
NET: Registered protocol family 1
NET: Registered protocol family 10
lo: Disabled Privacy Extensions
IPv6: add_dev failed for eql
tunl0: Disabled Privacy Extensions
IPv6 over IPv4 tunneling driver
sit0: Disabled Privacy Extensions
NET: Registered protocol family 17
NET: Registered protocol family 15
Bridge firewalling registered
Ebtables v2.0 registered
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation
Using IPI Shortcut mode
BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
Freeing unused kernel memory: 508k freed
Red Hat nash version 4.2.17mdk starting
Loading scsi_mod.ko module
insmod: error inserting ‘/lib/scsi_mod.ko’: errno=38
Loading libata.ko module
insmod: error inserting ‘/lib/libata.ko’: errno=38
Loading ahci.ko module
insmod: error inserting ‘/lib/ahci.ko’: errno=38
Loading ata_piix.ko module
insmod: error inserting ‘/lib/ata_piix.ko’: errno=38
Loading usbcore.ko module
insmod: error inserting ‘/lib/usbcore.ko’: errno=38
Loading uhci-hcd.ko module
insmod: error inserting ‘/lib/uhci-hcd.ko’: errno=38
Loading ehci-hcd.ko module
insmod: error inserting ‘/lib/ehci-hcd.ko’: errno=38
Loading ide-core.ko module
insmod: error inserting ‘/lib/ide-core.ko’: errno=38
Loading usb-storage.ko module
insmod: error inserting ‘/lib/usb-storage.ko’: errno=38
Loading sd_mod.ko module
insmod: error inserting ‘/lib/sd_mod.ko’: errno=38
Loading scsi_wait_scan.ko module
insmod: error inserting ‘/lib/scsi_wait_scan.ko’: errno=38
Loading jbd.ko module
insmod: error inserting ‘/lib/jbd.ko’: errno=38
Loading ext3.ko module
insmod: error inserting ‘/lib/ext3.ko’: errno=38
Mounting /proc filesystem
Mounting sysfs
Creating device files
Mounting tmpfs on /dev
Creating root device
No resume device specified
Trying userspace resume from suspend.conf file
No resume device in suspend.conf
echo: cannot open /sys/power/suspend2/do_resume for write: 2
echo: cannot open /sys/power/tuxonice/do_resume for wrEXT3-fs: INFO: recovery required on readonly filesystem.
ite: 2
MountingEXT3-fs: write access will be enabled during recovery.
root filesystem /dev/root with flags noatime
kjournald starting. Commit interval 5 seconds
EXT3-fs: recovery complete.
EXT3-fs: mounted filesystem with ordered data mode.
Switching to new root
unmounting old /proc
unmounting old /sys
INIT: version 2.86 booting
Setting default font (lat0-16): [ OK ]
Welcome to Mandriva Linux 2008.0
Press ‘I’ to enter interactive startup.
Configuring kernel parameters: [ OK ]
Setting clock (localtime): Sun Mar 9 12:50:26 CET 1980 [ OK ]
Starting udev: [ OK ]
Loading default keymap: [ OK ]
Setting hostname aei: [ OK ]
Checking root filesystem
/dev/hda1: Superblock last write time is in the future. FIXED.
/dev/hda1: clean, 67519/251392 files, 273831/502023 blocks
[ OK ]
Remounting root filesystem in read-write mode: [ OK ]
Invalidating stale software suspend images… done.
Enabling /etc/fstab swaps: [ OK ]
Checking filesystems
/dev/hda3: recovering journal
/dev/hda3: clean, 4852/725760 files, 81831/1449866 blocks
[ OK ]
Mounting local filesystems: [ OK ]
FATAL:Could not load /lib/modules/2.6.21.5-1mdvcustom/modules.dep: No such file or directory
FATAL: Module loop not found.
Checking loopback filesystems [ OK ]
Mounting loopback filesystems: [ OK ]
Loading keymap: dk-latin1 Loading /usr/lib/kbd/keymaps/i386/qwerty/dk-latin1.map.gz
[ OK ]
The BackSpace key sends: ^?[ OK ]
Enabling swap space: [ OK ]
Starting netprofile: [ OK ]
INIT: Entering runlevel: 2
Entering non-interactive startup
Loading keymap: dk-latin1 Loading /usr/lib/kbd/keymaps/i386/qwerty/dk-latin1.map.gz
[ OK ]
The BackSpace key sends: ^?[ OK ]
Starting system message bus: [ OK ]
Starting mandi daemon: mandi_daemon_add_watch(): READABLE
unable to open white list file
nl_bind_socket: No such file or directory
bind failed
unable to init netlink
unable to init “Interactive Firewall” plugin
[ OK ]
Starting resolvconf: [ OK ]
Starting system logger: [ OK ]
Starting kernel logger: [ OK ]
Starting crond: [ OK ]
Starting ConsoleKit: [ OK ]
Bringing up loopback interface: [ OK ]
Bringing up interface eth1: [ OK ]
Bringing up interface eth2: [ OK ]
Bringing up interface eth3: [ OK ]
Bringing up interface eth4: [ OK ]
Waiting for network to be up[ OK ]
Starting ct_sync: [FAILED]
Starting sshd:[ OK ]
Syncing time for ntpd: [FAILED]
Starting ntpd: [ OK ]

Mandriva Linux release 2008.0 (Official) for i586
Kernel 2.6.21.5-1mdvcustom on an i586 / ttyS0

New resource:

While trying to install a more modular kernel (the default mandriva one does not fit the cpu architecture of the soekris), I found this gentoo resource on the soekris, which includes reference to the CPU architecture:

–> Processor type and features
–> [ ]Symmetric multi-processing support
–> Processor family
–>(x) GeodeGX1

To get the kernel source on mandriva urpmpi kernel-source (the -src and --install-source are not the ones to use it appears, do not quite understand why).

First attempt failed with:

Red Hat nash veride_core: version magic ‘2.6.22.12-server-1mdv SMP mod_unload 686 ‘ should be ‘2.6.22.12-1mdvcustom SMP mod_unload GEODEGX1 ‘
sion 4.2.17mdk samd74xx: version magic ‘2.6.22.12-server-1mdv SMP mod_unload 686 ‘ should be ‘2.6.22.12-1mdvcustom SMP mod_unload GEODEGX1 ‘
tarting
Loadingide_disk: version magic ‘2.6.22.12-server-1mdv SMP mod_unload 686 ‘ should be ‘2.6.22.12-1mdvcustom SMP mod_unload GEODEGX1 ‘
ide-core.ko modjbd: version magic ‘2.6.22.12-server-1mdv SMP mod_unload 686 ‘ should be ‘2.6.22.12-1mdvcustom SMP mod_unload GEODEGX1 ‘
ule
insmod: errext3: version magic ‘2.6.22.12-server-1mdv SMP mod_unload 686 ‘ should be ‘2.6.22.12-1mdvcustom SMP mod_unload GEODEGX1 ‘
or inserting ‘/lKernel panic – not syncing: Attempted to kill init!
ib/ide-core.ko’: errno=8
Loading amd74xx.ko module
insmod: error inserting ‘/lib/amd74xx.ko’: errno=8
Loading ide-disk.ko module
insmod: error inserting ‘/lib/ide-disk.ko’: errno=8
Loading jbd.ko module
insmod: error inserting ‘/lib/jbd.ko’: errno=8
Loading ext3.ko module
insmod: error inserting ‘/lib/ext3.ko’: errno=8
Mounting /proc filesystem
Mounting sysfs
Creating device files
Mounting tmpfs on /dev
Creating root device
echo: cannot open /sys/power/suspend2/do_resume for write: 2
echo: cannot open /sys/power/tuxonice/do_resume for write: 2
Mounting root filesystem /dev/root with flags noatime
mount: error 19 mounting ext3 flags noatime
well, retrying without the option flags
mount: error 19 mounting ext3
well, retrying read-only without any flag
mount: error 19 mounting ext3
Switching to new root
ERROR opening /dev/console!!!!: 2
unmounting old /proc
unmounting old /sys
switchroot: mount failed: 22
Initrd finished

my guess is that I forgot make modules, and that it has taken mandriva compiled modules instead of the ones compiled for the soekris. let me try …

Encrypted blockdevice

Monday, May 7th, 2007

I had an external harddisk for backup. It crashed :( Within the warranty period, but I did not feel like letting my whole life into the hands of some third party that might send it to ebay refurbished or any similar thing, so I let the money go.

Now I have a new harddisk, time to backup again (ah, sleeping at night again). But this time I will encrypt a partition. I followed this guide and it worked pretty smoothly. I was considering using LUKS, but I could not get it for my old distribution, and I do not feel totally secured by it being mostly a one-man effort. He might be totally cool, but a simple google found him engaged in a flame war on LKML, so it was a nobrainer to just go with the default.

In short:

modprobe aes
modprobe dm_crypt
modprobe dm_mod

#badblocks .... /dev/sda2 -- to create initial randomness

cryptsetup -y create backup /dev/sda2
mkfs -t ext3 -m 0 /dev/mapper/backup
mount /dev/mapper/backup /mnt/backup

after a reboot:

modprobe aes
modprobe dm_crypt
modprobe dm_mod

cryptsetup create backup /dev/sda2
### ENTER PASSPHRASE
mount /dev/mapper/backup /mnt/backup/

UPDATE: I had problems mounting the external drive on my soekris. I believe I found the solution from this site. My problem was that I unchecked ask for experimental drivers (thought was this is going to be a stable server), which disbled the possibility to enable dm-crypt.

I saw error such as:

device-mapper: table: 252:0: crypt: unknown target type
device-mapper: ioctl: error adding target to table
device-mapper: ioctl: device doesn’t appear to be in the dev hash table.

And

modprobe dm_crypt

failed. Too me just half a year to find the time to sit down and solve the problem.

UPDATE 2: I have gained confidence in luks (mainly saw that David Zeuthen @ redhat implemented hooks for it at some point). So now I’ll just copy the recipe:

# badblocks -c 10240 -s -w -t random -v /dev/sdb5
# they suggested “cryptsetup -y –cipher aes-cbc-essiv:sha256 –key-size 256 luksFormat ” but I went for (worse, but good enough for my purposes) since I think to remember that is what the soekris has hardware support for: in case I get it to work.
# cryptsetup -y –cipher aes –key-size 128 luksFormat /dev/sdb5
# cryptsetup luksOpen /dev/sdb5 crypt_sdb5
# mkfs.ext2 -m 0 -j /dev/sdb5
# mount /dev/mapper/crypt_sdb5 /mnt/somewhere

Internet to mobile devices

Monday, November 21st, 2005

Quite by accident (trying to find the meaning of “wsp” from google), I found some pretty nice links, see the list below, (well, mostly one link, the rest followed from there.

Of course there are other more commercially prominent attempts at solution:

.

The net took me a bit further, and I found yet some interesting links for mobile developers:

http post and get

Wednesday, October 19th, 2005

I know approximately how HTTP post and get works, but I felt like doing a little exercise just go get the protocol visualalised. In one terminal I fired up nc, to listen to port 12345 on localhost, anything incomming can then be seen in the terminal:

nc -l -p 12345

and in another terminal I fired first a get request off, and then the corresponding post request. The get request:

curl “http://127.0.0.1:12345/lala?foo=bar&goo=moo”

yielding:

GET /lala?foo=bar&goo=moo HTTP/1.1
User-Agent: curl/7.13.1 (i586-mandrake-linux-gnu) libcurl/7.12.1 OpenSSL/0.9.7e zlib/1.2.2.2 libidn/0.5.4
Host: 127.0.0.1:12345
Pragma: no-cache
Accept: */*

And the post, should be

curl -d “foo=bar&goo=moo” http://127.0.0.1:12345/lala

but my curl segdumps, so I used turned to wget:

wget –post-data “foo=bar&goo=moo” http://127.0.0.1:12345/lala

which yielded:

POST /lala HTTP/1.0
User-Agent: Wget/1.9.1
Host: 127.0.0.1:12345
Accept: */*
Connection: Keep-Alive
Content-Type: application/x-www-form-urlencoded
Content-Length: 15

foo=bar&goo=moo

If uploading a file via a form this method could be used (approximately, read the man on how to refer to a file and get that content posted instead):

curl -F foo=bar -F goo=moo http://127.0.0.1:12345/lala

yielding:

POST /lala HTTP/1.1
User-Agent: curl/7.13.1 (i586-mandrake-linux-gnu) libcurl/7.12.1 OpenSSL/0.9.7e zlib/1.2.2.2 libidn/0.5.4
Host: 127.0.0.1:12345
Pragma: no-cache
Accept: */*
Content-Length: 236
Expect: 100-continue
Content-Type: multipart/form-data; boundary=—————————-2778051f4524

——————————2778051f4524
Content-Disposition: form-data; name=”foo”

bar
——————————2778051f4524
Content-Disposition: form-data; name=”goo”

moo
——————————2778051f4524–

bayonne telephony apps, beehive struts extension, thorvalds interview

Wednesday, October 5th, 2005

A list of links I want to come back to (from Linux Weekly News — highly recommended site for linux enthusiasts)

  • Gnu Bayonne is a framework for developing telephony applications (voice or DTMF controlled), see this article. Maybe I should throw in a link to kannel, the topically “related” sms gateway software
  • This extension of struts, beehive, is of interest. Here’s an article about it. It is gonna use start incorporating AJAX, which everybody hypes abouts theese days. Personally I think its nice enough, but since I see it primarly as an extra tool for developing user interfaces (not my primary interest), I am not too caried away.
  • Finally, before I gotta start producing code rather than words, a link to this business week article including an interview with Linus – it contains some numbers on server sales ($1 bio) with linux, desktop presence of linux (10 mio)…