Samstag, 28. Januar 2012

reset openWRT firmware with fsg-3

Howto restore FSG-3 with OpenWRT default image


prerequisites:
installed openwrt kernel on flash-partition kern1 and rootfilesystem on /dev/sda1
backuped freecom firmware on flash-partition kern2 and rootfilesystem on /dev/sda2


connect serial console to your fsg-3,


hit ^C when booting to start the RedBoot console prompt and stop processing boot script.


to start the old freecom kernel from the second flash kernel image and the second hdd partition

RedBoot> fis load kern2
RedBoot> exec -c "console=ttyS0,115200 root=/dev/hda2 mem=64M@0x00000000"

make a directory in /tmp

mkdir /tmp/rootfs
 
 

mount the first partition with openwrt to this directory

mount /dev/sda1 /tmp/rootfs 
 
remove the openWRT root file system
 
rm -rf *
 
 
create in the directory the new openWRT root filesystem 
 
go to the directory
cd /tmp/rootfs
tar zxvf /home/fsg_files/openwrt-ixp4xx-harddisk-rootfs.tar.gz
 
reboot the rooter 
 
reboot
 
 
Boot OpenWRT 
boot with openwrt kernel kern1 and openwrt rootfilesystem sda1  
 
RedBoot> fis load kern1
RedBoot> exec -c "console=ttyS0,115200 root=/dev/sda1 init=/etc/preinit "


 
 
tada, your filesystem is restored to openWRT defaults
 
 
 
go to /etc/config and edit the network file
 
to the interface lan 
append  
 option gateway  [your gateway IP]
 option dns  [your dns IP]
and edit line 
        option ipaddr [your IP address]
 
now you can disconnect the serial cable
 
reboot your fsg3

telnet to your new changed ip address and use passwd to set the root password.
 
exit from telnet
 
from now on you can only access via SSH
 
install luci
http://wiki.openwrt.org/doc/howto/luci.essentials
 
opkg update 
opkg install luci 
/etc/init.d/uhttpd enable
/etc/init.d/uhttpd start


 
mount sda4 partition 
howto from OpenWRT 
http://wiki.openwrt.org/doc/uci/fstab
 
root@fsg3:~# opkg update
Downloading http://downloads.openwrt.org/snapshots/trunk/ixp4xx/packages/Packages.gz.
Inflating http://downloads.openwrt.org/snapshots/trunk/ixp4xx/packages/Packages.gz.
Updated list of available packages in /var/opkg-lists/snapshots.
root@fsg3:~# opkg install block-mount
Installing block-mount (0.2.0-7) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ixp4xx/packages/block-mount_0.2.0-7_ixp4xx.ipk.
Installing blkid (1.41.12-2) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ixp4xx/packages/blkid_1.41.12-2_ixp4xx.ipk.
Installing libuuid (1.41.12-2) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ixp4xx/packages/libuuid_1.41.12-2_ixp4xx.ipk.
Installing libblkid (1.41.12-2) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ixp4xx/packages/libblkid_1.41.12-2_ixp4xx.ipk.
Installing libext2fs (1.41.12-2) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ixp4xx/packages/libext2fs_1.41.12-2_ixp4xx.ipk.
Installing libcom_err (1.41.12-2) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ixp4xx/packages/libcom_err_1.41.12-2_ixp4xx.ipk.
Installing libpthread (0.9.32-103) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ixp4xx/packages/libpthread_0.9.32-103_ixp4xx.ipk.
Installing swap-utils (2.13.0.1-4) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ixp4xx/packages/swap-utils_2.13.0.1-4_ixp4xx.ipk.
Configuring libpthread.
Configuring libcom_err.
Configuring libblkid.
Configuring libuuid.
Configuring libext2fs.
Configuring blkid.
Configuring swap-utils.
Configuring block-mount.
root@fsg3:~# /etc/init.d/fstab enable
root@fsg3:~# /etc/init.d/fstab start
root@fsg3:~# 
root@fsg3:/etc/config# vi fstab 
root@fsg3:/# reboot; exit
 
now it should boot up with mounted sda4 directories




install SAMBA
http://wiki.openwrt.org/doc/uci/samba?s[]=samba
http://wiki.openwrt.org/doc/howto/cifs.server?s[]=samba

root@fsg3:~# opkg update
root@fsg3:/# opkg install samba3
Installing samba3 (3.0.37-4) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ixp4xx/packages/samba3_3.0.37-4_ixp4xx.ipk.
Installing libpopt (1.7-5) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ixp4xx/packages/libpopt_1.7-5_ixp4xx.ipk.
Configuring libpopt.
Configuring samba3.
root@fsg3:/# opkg install luci-app-samba
Installing luci-app-samba (trunk+svn8189-1) to root...
Downloading http://downloads.openwrt.org/snapshots/trunk/ixp4xx/packages/luci-app-samba_trunk+svn8189-1_ixp4xx.ipk.
Configuring luci-app-samba.
root@fsg3:/#
root@fsg3:/# vi /etc/config/samba
/etc/init.d/samba enable 
/etc/init.d/samba start
root@fsg3:/# reboot; exit


Dienstag, 24. Januar 2012

fsg-3 ipkg with freecom firmware 4.2.7

IPKG Installation Procedure

Preparation

Note: In newer firmware, the Freecom firmware has included IPKG out of the box, so you don't need to install it anymore. Jump to Installing Packages
You do not need to do this if you run a more recent firmware. For Firmware 4.2.7 and 4.3.8, Jump to IPKG with 4.2.7-4.3.8
  1. Download the installer:
  2. For the FSG V3 firmware: http://ipkg.nslu2-linux.org/feeds/optware/fsg3/cross/stable/fsg3-bootstrap_1.0-6_armeb.xsh
  3. For the FSG V4 firmware: http://ipkg.nslu2-linux.org/feeds/optware/fsg3v4/cross/stable/fsg3v4-bootstrap_1.2-7_armeb.xsh (new link!)
  4. For the DTG V4 firmware: http://ipkg.nslu2-linux.org/feeds/optware/dt2/cross/stable/dt2-bootstrap_1.2-5_arm.xsh
  5. For the NDP V4 firmware: http://ipkg.nslu2-linux.org/feeds/optware/vt4/cross/stable/vt4-bootstrap_1.2-7_arm.xsh
  6. Put it someplace on your FSG, DTG or NDP.

 

IPKG with 4.2.7-4.3.8

make IPKG working

Since Firmware 4.2.7, the Freecom firmware has included IPKG out of the box. But at least the 4.2.7 and 4.3.8 firmware for FSG has a wrong name for the configuration file
Hence on FSG Firmware 4.2.7 and 4.3.8, correct this by
cp /etc/ipkg.conf.FSG3 /etc/ipkg.conf
Hence, starting with Firmware 4.2.7 and 4.3.8, you may skip the Preparation and Installation steps described before and immediately start with Installing Packages.

Recommended reinstall of IPKG-Bootstrap

Because of some bugs in old bootstrap and some mistakes from Freecom installing of the bootstrap is recommended. During this all installed packages and manual configs on optware are gone! It is pretty easy:
  • download current bootstrap and copy it to FSG (if ipkg works type: wget <bootstrap-link>)
  • unmount old optware:
umount /opt
  • remove optware:
rm -rf /home/.optware
rm -rf /usr/lib/ipkg
  • reboot
  • run bootstrap:
sh <path to bootstrap file>
Note that now the bugs like 'update-alternatives' and missing 'sort' are gone. Also all optware boot-script works. So you don't need to write own scripts to run apache2, openssh and so on.

from
http://www.openfsg.com/index.php/Use_the_Custom_Ipkg_Installer

Montag, 23. Januar 2012

recovery with bad flash config


I have tried to manipulate the flash and created and deleted and changed the microcode, 
wrote an old bad Fis Directory backup to the fis directory and screwed all up.
 
there were some partitions with  
@a`Bocd a         0x00000000  0x00000000  0x00020000  0x00000000
BA@               0x503C0000  0x503C0000  0x00020000  0x00000000 
and no Redboot Config partition  but a 'BA@' partition
 
I wasnt able to delete the "@a`Bocd a" partition with 'fis delete' 
 

:(
 



First it is important that the first partition is not touched. NEVER touch the RedBoot Partition itself. 



I have read the log from a good recovery process once more, and there i've found this:
 
 
RedBoot> load -r -v -b 0x700000 zImage-recovery
Using default protocol (TFTP)
|#/#-#\#|#
//some more lines with raw data transfer
-#\#|#-###|#/#
Raw file loaded 0x00700000-0x00a7ebb3, assumed entry at 0x00700000
RedBoot> go 
Uncompressing Linux......................................................... done, booting the kernel.
Linux version 2.4.27-uc1 (root@LAWILINUX) (gcc version 3.3.2) #1050 Mon Jan 23 15:44:47 CET 2006 
 
and
 
Creating 5 MTD partitions on "IXP425 Flash":
0x00000000-0x00040000 : "RedBoot"
0x00080000-0x00200000 : "kern1"
0x00200000-0x00380000 : "kern2"
0x003c0000-0x003e0000 : "RedBoot config"
0x003e0000-0x00400000 : "FIS directory" 
 
 
so i found the RedBoot User Guide with all commands
http://ecos.sourceware.org/docs-latest/ ... guide.html
and especially the the fis commands 
http://ecos.sourceware.org/docs-latest/ ... mmand.html 
 
 
you will need to access to the console from RedBoot and Linux with the Serial UART Con401
here is a full HowTo 
 
http://cavebeat.blogspot.com/2012/01/fsg-3-serial-mod.html
 
so i tried to boot the FSG-3 with RESET/EMERGENCY Button pressed, then it takes a few seconds 
and it starts up with network settings 
I used the load command
and booted the recovery linux wich recovers the fsg. but there appeared some problems because of the 
bad flash images
 
so i found the 
http://ecos.sourceware.org/docs-latest/redboot/redboot-guide.html
 
and the fis commands
http://ecos.sourceware.org/docs-latest/redboot/fis-init-command.html
 
This command is used to initialize the Flash Image System (FIS). It should normally only be executed once, when RedBoot is first installed on the hardware. If the reserved images or their sizes in the FIS change, due to a different configuration of RedBoot being used, it may be necessary to issue the command again though.
 
 
 so i initialized the fis with this command and started again the fsg with emergency button and loaded the recovery image and repaired my fsg-3

Now it is booting with the Freecom Firmware 4.2.7


:) 
 
so i'm not afraid to change something in the flash layout, add partition for microcode and openWRT purposes.
Here is the complete log.file from the fis init command and recovery
 

 
=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2012.01.23 20:10:25 =~=~=~=~=~=~=~=~=~=~=~=
###�#+FLASH configuration checksum error or invalid key
Ethernet eth0: MAC address 00:00:83:20:50:02
IP: 192.168.1.3/255.255.255.0, Gateway: 0.0.0.0
Default server: 192.168.1.2, DNS server IP: 0.0.0.0

RedBoot(tm) bootstrap and debug environment [ROM]
Red Hat certified release, version 1.94 - built 11:47:48, Jun 10 2005

Platform: Freecom Storage  Gateway (FSG) (XScale) BE
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

RAM: 0x00000000-0x04000000, 0x0001db58-0x03fd0000 available
FLASH: 0x50000000 - 0x50400000, 32 blocks of 0x00020000 bytes each.
FREECOM ermergency button pressed!
== Executing boot script in 0.000 seconds - enter ^C to abort
RedBoot>
RedBoot> fis list
Name              FLASH addr  Mem addr    Length      Entry point
RedBoot           0x50000000  0x50000000  0x00040000  0x00000000
kern1             0x50080000  0x00700000  0x00180000  0x00700000
kern2             0x50200000  0x00700000  0x00180000  0x00700000
@a`Bocd a         0x00000000  0x00000000  0x00020000  0x00000000
BA@               0x503C0000  0x503C0000  0x00020000  0x00000000
FIS directory     0x503E0000  0x503E0000  0x00020000  0x00000000
RedBoot> fis init -f
About to initialize [format] FLASH image system - continue (y/n)? y
*** Initialize FLASH Image System
... Erase from 0x50040000-0x503c0000: ............................
... Erase from 0x503e0000-0x503e0000: 
... Erase from 0x50400000-0x50400000: 
... Unlock from 0x503e0000-0x50400000: .
... Erase from 0x503e0000-0x50400000: .
... Program from 0x03fdf000-0x03fff000 at 0x503e0000: .
... Lock from 0x503e0000-0x50400000: .
RedBoot> fis list
Name              FLASH addr  Mem addr    Length      Entry point
RedBoot           0x50000000  0x50000000  0x00040000  0x00000000
kern1             0x50080000  0x00700000  0x00180000  0x00700000
kern2             0x50200000  0x00700000  0x00180000  0x00700000
RedBoot config    0x503C0000  0x503C0000  0x00020000  0x00000000
FIS directory     0x503E0000  0x503E0000  0x00020000  0x00000000
RedBoot> load -r -v -b 0x700000 zImage-recovery
Using default protocol (TFTP)
|#/#-#\#|#//some more lines with data transfer
-#\#|#-###|#/#
Raw file loaded 0x00700000-0x00a7ebb3, assumed entry at 0x00700000
RedBoot> go
Uncompressing Linux......................................................... done, booting the kernel.
Linux version 2.4.27-uc1 (root@LAWILINUX) (gcc version 3.3.2) #1050 Mon Jan 23 15:44:47 CET 2006
CPU: XScale-IXP4xx/IXC11xx revision 1
Machine: Intel IXP425 Freecom Platform
Warning: bad configuration page, trying to continue
alloc_bootmem_low
memtable_init
On node 0 totalpages: 16384
zone(0): 16384 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0,115200 root=/dev/ram0 initrd=0x00800000,8M mem=64M@0x00000000
Calibrating delay loop... 266.24 BogoMIPS
Memory: 64MB = 64MB total
Memory: 54736KB available (1528K code, 276K data, 60K init)
Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
POSIX conformance testing by UNIFIX
PCI: reset bus...
PCI Autoconfig: Found Bus 0, Device 12, Function 0
PCI Autoconfig: BAR 0, I/O, size=0x10, address=0xfffffff0
PCI Autoconfig: BAR 1, I/O, size=0x10, address=0xffffffe0
PCI Autoconfig: BAR 2, I/O, size=0x10, address=0xffffffd0
PCI Autoconfig: BAR 3, I/O, size=0x10, address=0xffffffc0
PCI Autoconfig: BAR 4, I/O, size=0x20, address=0xffffffa0
PCI Autoconfig: BAR 5, I/O, size=0x100, address=0xfffffe00
PCI Autoconfig: Found Bus 0, Device 14, Function 0
PCI Autoconfig: BAR 0, Mem, size=0x1000, address=0x4bfff000
PCI Autoconfig: Found Bus 0, Device 14, Function 1
PCI Autoconfig: BAR 0, Mem, size=0x1000, address=0x4bffe000
PCI Autoconfig: Found Bus 0, Device 14, Function 2
PCI Autoconfig: BAR 0, Mem, size=0x100, address=0x4bffdf00
PCI: bus0: Fast back to back transfers disabled
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
kinoded started
VFS: Disk quotas vdquot_6.5.1
JFFS2 version 2.1. (C) 2001 Red Hat, Inc., designed by Axis Communications AB.
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0xff000003 (irq = 15) is a XScale UART
ttyS01 at 0xff001003 (irq = 13) is a XScale UART
ledman: Copyright (C) SnapGear, 2000-2003.
LEDMAN: registered RESET switch on IRQ26
LEDMAN: registered UNPLUG switch on IRQ27
LEDMAN: registered SYNC switch on IRQ21
RAMDISK driver initialized: 16 RAM disks of 8192K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VIA_6421: IDE controller at PCI slot 00:0c.0
VIA_6421: chipset revision 80
VIA_6421: 100% native mode on irq 22
    ide0: BM-DMA at 0xffb0-0xffb7, BIOS settings: hda:pio, hdb:pio
SATA stat after reset 0
    ide1: BM-DMA at 0xffa0-0xffa7, BIOS settings: hdc:pio, hdd:pio
SATA stat after reset 0
    ide2: BM-DMA at 0xffa8-0xffaf, BIOS settings: hde:pio, hdf:pio
hda: Hitachi HDT725050VLAT80 T7, ATA DISK drive
blk: queue c01d59e8, no I/O memory limit
ide0 at 0xffd0-0xffd7,0xffda on irq 22
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 976773168 sectors (500108 MB) w/7372KiB Cache, CHS=60801/255/63, UDMA(33)
Partition check:
 hda: hda1 hda2 hda3 hda4
cfi_cmdset_0001: Erase suspend on write enabled
Using buffer write method
Creating 5 MTD partitions on "IXP425 Flash":
0x00000000-0x00040000 : "RedBoot"
0x00080000-0x00200000 : "kern1"
0x00200000-0x00380000 : "kern2"
0x003c0000-0x003e0000 : "RedBoot config"
0x003e0000-0x00400000 : "FIS directory"
CFI: Found no IXP425 Flash device at location zero
i2c-core.o: i2c core module version 2.9.0 (20041228)
i2c-dev.o: i2c /dev entries driver module version 2.9.0 (20041228)
IXP425 Montejade I2C support available
i2c-proc.o version 2.9.0 (20041228)
isl1208.o: version 2.9.2-Freecom (20051016) with RTC device support
eeprom.o version 2.9.0 (20041228)
w83781d.o version 2.9.2-Freecom (20051016)
i2c-algo-bit.o: IXP425 I2C Adapter sendbytes: error - bailout.
w83781d.o:  PWM-Divisor 60; must be 0-4
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 4096 bind 8192)
IPv4 over IPv4 tunneling driver
GRE over IPv4 tunneling driver
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NetWinder Floating Point Emulator V0.97 (double precision)
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 8192K
VFS: Mounted root (ext2 filesystem) readonly.
Freeing init memory: 60K
FSG Recovery System started
Starting network.
Using /lib/modules/2.4.27-uc1/kernel/ixp425/ixp400/ixp400.o
Module init.Using /lib/modules/2.4.27-uc1/kernel/ixp425/net/ixp425_eth.o
<6>ixp425_eth: 
Initializing IXP425 NPE Ethernet driver software v. 1.1+ 
ixp425_eth: CPU clock speed (approx) = 0 MHz
ixp425_eth: eth0 is using the PHY at address 5
ixp425_eth: eth1 is using the PHY at address 4 
FSG Recover 1.1.7 
MyIP=192.168.1.3 HostIP=192.168.1.2 BroadcastAddr=192.168.3.255 SubnetmaskIP=255.255.252.0
ifconfig eth0 192.168.1.3 broadcast=192.168.3.255 netmask=255.255.252.0 up
reiserfs: found format "3.6" with standard journal
reiserfs: using ordered data mode
reiserfs: checking transaction log (device ide0(3,4)) ...
for (ide0(3,4))
reiserfs: replayed 7 transactions in 0 seconds
ide0(3,4):Using r5 hash to sort names
mkreiserfs 3.6.19 (2003 www.namesys.com)
mkreiserfs 3.6.19 (2003 www.namesys.com)
reiserfs: found format "3.6" with standard journal
reiserfs: using ordered data mode
reiserfs: checking transaction log (device ide0(3,1)) ...
for (ide0(3,1))
ide0(3,1):Using r5 hash to sort names
reiserfs: found format "3.6" with standard journal
reiserfs: using ordered data mode
reiserfs: checking transaction log (device ide0(3,2)) ...
for (ide0(3,2))
ide0(3,2):Using r5 hash to sort names
tftp: timeout
umount: /dev/hda2: Device or resource busy
1+0 records in
1+0 records out
reiserfsck 3.6.19 (2003 www.namesys.com)

*************************************************************
** If you are using the latest reiserfsprogs and  it fails **
** please  email bug reports to reiserfs-list@namesys.com, **
** providing  as  much  information  as  possible --  your **
** hardware,  kernel,  patches,  settings,  all reiserfsck **
** messages  (including version),  the reiserfsck logfile, **
** check  the  syslog file  for  any  related information. **
** If you would like advice on using this program, support **
** is available  for $25 at  www.namesys.com/support.html. **
*************************************************************

Will check consistency of the filesystem on /dev/hda4
and will fix what can be fixed without --rebuild-tree
Will put log info to 'stdout'
###########
reiserfsck --fix-fixable started at Thu Jan  1 00:02:34 1970
###########
Replaying journal..
Reiserfs journal '/dev/hda4' in blocks [18..8211]: 0 transactions replayed 
 
 
 
After That, i rebooted it, and it comes up with standard configuration from Freecom Firmware 4.2.7 from FSGA 1.7
The home partition /dev/sda4 (/dev/hda4) is not touched. 
 
 
happy de-bricking 



Samstag, 21. Januar 2012

freecom bootscreen


=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2012.01.21 20:02:46 =~=~=~=~=~=~=~=~=~=~=~=
#+
Network NOT initialized!
 Press FSG Emergency Button during power up to initialize network

RedBoot(tm) bootstrap and debug environment [ROM]
Red Hat certified release, version 1.94 - built 11:47:48, Jun 10 2005

Platform: Freecom Storage  Gateway (FSG) (XScale) BE
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

RAM: 0x00000000-0x04000000, 0x0001db58-0x03fd1000 available
FLASH: 0x50000000 - 0x50400000, 32 blocks of 0x00020000 bytes each.
== Executing boot script in 1.000 seconds - enter ^C to abort
RedBoot> fis load kern1
RedBoot> exec -c "console=ttyS0,115200 root=/dev/hda1 mem=64M@0x00000000"
Using base address 0x00700000 and length 0x00180000
Uncompressing Linux................................................................................................. done, booting the kernel.
Linux version 2.6.18 (root@theszlinux64) (gcc version 3.4.4 (release) (CodeSourcery ARM 2005q3-2)) #161 Tue Jul 17 12:37:52 UTC 2007
CPU: XScale-IXP42x Family [690541f1] revision 1 (ARMv5TE), cr=000039ff
Machine: FSG3 - Freecom Storage Gateway
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT undefined 5 cache
CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets
Built 1 zonelists.  Total pages: 16384
Kernel command line: console=ttyS0,115200 root=/dev/sda1 mem=64M@0x00000000
PID hash table entries: 512 (order: 9, 2048 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 61824KB available (2761K code, 220K data, 84K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
IXP4xx: Using 16MiB expansion bus window size
PCI: IXP4xx is host
PCI: IXP4xx Using direct access for memory space
PCI: bus0: Fast back to back transfers disabled
dmabounce: registered device 0000:00:0c.0 on pci bus
dmabounce: registered device 0000:00:0d.0 on pci bus
dmabounce: registered device 0000:00:0e.0 on pci bus
dmabounce: registered device 0000:00:0e.1 on pci bus
dmabounce: registered device 0000:00:0e.2 on pci bus
fsg3_map_irq: Mapped slot 1 pin 1 to IRQ 22
fsg3_map_irq: Mapped slot 2 pin 1 to IRQ 24
fsg3_map_irq: Mapped slot 3 pin 1 to IRQ 23
fsg3_map_irq: Mapped slot 3 pin 2 to IRQ 23
fsg3_map_irq: Mapped slot 3 pin 3 to IRQ 23
SCSI subsystem initialized
usbcore: registered new driver usbfs
usbcore: registered new driver hub
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 1, 8192 bytes)
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
TCP: Hash tables configured (established 2048 bind 1024)
TCP reno registered
NetWinder Floating Point Emulator V0.97 (double precision)
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
NTFS driver 2.1.27 [Flags: R/O].
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
Initializing Cryptographic API
io scheduler noop registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xc8000000 (irq = 15) is a XScale
serial8250.0: ttyS1 at MMIO 0xc8001000 (irq = 13) is a XScale
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
PCI: enabling device 0000:00:0c.0 (0000 -> 0001)
sata_via 0000:00:0c.0: routed to hard irq line 6
ata1: PATA max UDMA/133 cmd 0x1420 ctl 0x142A bmdma 0x1400 irq 22
ata2: PATA max UDMA/133 cmd 0x1440 ctl 0x144A bmdma 0x1410 irq 22
ata3: PATA max UDMA/133 cmd 0x1430 ctl 0x143A bmdma 0x1408 irq 22
scsi0 : sata_via
ATA: abnormal status 0x7F on port 0x1427
scsi1 : sata_via
ata2: port is slow to respond, please be patient
ata2.00: ATA-7, max UDMA/133, 976773168 sectors: LBA48 
ata2.00: ata2: dev 0 multi count 0
ata2.00: configured for UDMA/133
scsi2 : sata_via
ATA: abnormal status 0x7F on port 0x1437
  Vendor: ATA       Model: Hitachi HDT72505  Rev: V56O
  Type:   Direct-Access                      ANSI SCSI revision: 05
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)
sda: Write Protect is off
SCSI device sda: drive cache: write back
 sda: sda1 sda2 sda3 sda4
sd 1:0:0:0: Attached scsi disk sda
IXP4XX-Flash.0: Found 1 x16 devices at 0x0 in 16-bit bank
 Intel/Sharp Extended Query Table at 0x0031
Using buffer write method
cfi_cmdset_0001: Erase suspend on write enabled
Searching for RedBoot partition table in IXP4XX-Flash.0 at offset 0x3e0000
RedBoot directory 0x503e0000(0x20000) native
5 RedBoot partitions found on MTD device IXP4XX-Flash.0
Creating 5 MTD partitions on "IXP4XX-Flash.0":
0x00000000-0x00040000 : "RedBoot"
0x00080000-0x00200000 : "kern1"
0x00200000-0x00380000 : "kern2"
0x003c0000-0x003e0000 : "RedBoot config"
FSG3-MAC for eth0: 00:01:db:00:a6:02
FSG3-MAC for eth1: 00:01:db:00:a6:03
0x003e0000-0x00400000 : "FIS directory"
PCI: enabling device 0000:00:0e.2 (0140 -> 0142)
ehci_hcd 0000:00:0e.2: EHCI Host Controller
ehci_hcd 0000:00:0e.2: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:0e.2: irq 23, io mem 0x48022000
ehci_hcd 0000:00:0e.2: 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: 5 ports detected
PCI: enabling device 0000:00:0e.0 (0140 -> 0142)
ohci_hcd 0000:00:0e.0: OHCI Host Controller
ohci_hcd 0000:00:0e.0: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:0e.0: irq 23, io mem 0x48020000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
PCI: enabling device 0000:00:0e.1 (0140 -> 0142)
ohci_hcd 0000:00:0e.1: OHCI Host Controller
ohci_hcd 0000:00:0e.1: new USB bus registered, assigned bus number 3
ohci_hcd 0000:00:0e.1: irq 23, io mem 0x48021000
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
USB Universal Host Controller Interface driver v3.0
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
i2c /dev entries driver
isl1208 0-006f: chip found, driver version 0.2
isl1208 0-006f: rtc intf: dev (254:0)
isl1208 0-006f: rtc core: registered isl1208 as rtc0
hwmon-vid: Unknown VRM version of your CPU
LEDs: registered SYNC switch on IRQ21
LEDs: registered RESET switch on IRQ26
LEDs: registered UNPLUG switch on IRQ27
Registered led device: sync
Registered led device: ring
Registered led device: USB
Registered led device: SATA
Registered led device: WAN
Registered led device: WLAN
TCP bic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Bridge firewalling registered
isl1208 0-006f: setting the system clock to 2012-01-20 23:02:27 (1327100547)
ReiserFS: sda1: found reiserfs format "3.6" with standard journal
ReiserFS: sda1: using ordered data mode
ReiserFS: sda1: journal params: device sda1, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda1: checking transaction log (sda1)
ReiserFS: sda1: replayed 3 transactions in 0 seconds
ReiserFS: sda1: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem).
Freeing init memory: 84K
BUG: warning at arch/arm/mm/consistent.c:363/dma_free_coherent()
mount: Mounting none on /ramdisk failed: Invalid argument
ixp400: module license 'unspecified' taints kernel.
ixp400_eth: Initializing IXP400 NPE Ethernet driver software v. 1.5.1a 
ixp400_eth: CPU clock speed (approx) = 266 MHz
ixp400_eth: ethernet 0 using NPEB and the PHY at address 5
ixp400_eth: ethernet 1 using NPEC and the PHY at address 4
ixp400_eth: Use MAC address 00:01:db:00:a6:02 for port 0
ixp400_eth: Use MAC address 00:01:db:00:a6:03 for port 1
ip_tables: (C) 2000-2006 Netfilter Core Team
ip_conntrack version 2.4 (512 buckets, 4096 max) - 204 bytes per conntrack
Setting up swapspace version 1, size = 74022912 bytes
Adding 72284k swap on /dev/sda3.  Priority:-1 extents:1 across:72284k
fuse init (API version 7.8)
fuse distribution version: 2.6.1
kobject_add failed for fs with -EEXIST, don't try to register things with the same name in the same directory.
insmod: cannot insert `/root/fuse.ko': File exists (-1): File exists
ReiserFS: sda4: found reiserfs format "3.6" with standard journal
ReiserFS: sda4: using ordered data mode
ReiserFS: sda4: journal params: device sda4, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda4: checking transaction log (sda4)
ReiserFS: sda4: replayed 3 transactions in 0 seconds
ReiserFS: sda4: Using r5 hash to sort names
quotaon: Cannot find quota file on /home [/dev/sda4] to turn quotas on/off.
Starting network.
device lan0 entered promiscuous mode
eth0: port 1(lan0) entering learning state
eth0: topology change detected, propagating
eth0: port 1(lan0) entering forwarding state
Starting network routing.
Using 192.168.1.0/24 on LAN ports.
Warning: WAN port IP not set.
Starting DHCP client on eth1.
Starting DHCP server and DNS service.
Starting samba.
Starting HTTP server with options: 
httpd[558]: [notice] Apache/1.3.33 (Unix) mod_ssl/2.8.22 OpenSSL/0.9.7c PHP/4.4.1 configured -- resuming normal operations

httpd[558]: [notice] Accept mutex: sysvsem (Default: sysvsem)

Starting Fan deamon.
Starting flush daemon -> spin down after 30 min.
/ # 7#��#�h#�#

firmware recovery process

on my first fsg-3 I deleted  the microcode to try the recovery

RedBoot> fis list                                                              
Name              FLASH addr  Mem addr    Length      Entry point              
RedBoot           0x50000000  0x50000000  0x00040000  0x00000000               
kern1             0x50080000  0x00700000  0x00180000  0x00700000               
kern2             0x50200000  0x00700000  0x00180000  0x00700000               
microcode         0x503A0000  0x00000000  0x00020000  0x00000000               
RedBoot config    0x503C0000  0x503C0000  0x00020000  0x00000000               
FIS directory     0x503E0000  0x503E0000  0x00020000  0x00000000               
RedBoot> fis delete microcode                                                  
Delete image 'microcode' - continue (y/n)? y                                   
... Erase from 0x503a0000-0x503c0000: .                                        
... Unlock from 0x503e0000-0x50400000: .                                       
... Erase from 0x503e0000-0x50400000: .                                        
... Program from 0x03fdf000-0x03fff000 at 0x503e0000: .                        
... Lock from 0x503e0000-0x50400000: .                                         
RedBoot> fis list                                                              
Name              FLASH addr  Mem addr    Length      Entry point              
RedBoot           0x50000000  0x50000000  0x00040000  0x00000000               
kern1             0x50080000  0x00700000  0x00180000  0x00700000               
kern2             0x50200000  0x00700000  0x00180000  0x00700000               
RedBoot config    0x503C0000  0x503C0000  0x00020000  0x00000000               
FIS directory     0x503E0000  0x503E0000  0x00020000  0x00000000               
RedBoot>




Bootscreen when using the recovery procedure, but in this example there is no bootscript at the redboot config.

Bad Recovery after OpenWRT

+FLASH configuration checksum error or invalid key
Ethernet eth0: MAC address 00:00:83:20:50:02
IP: 192.168.1.3/255.255.255.0, Gateway: 0.0.0.0
Default server: 192.168.1.2, DNS server IP: 0.0.0.0

RedBoot(tm) bootstrap and debug environment [ROM]
Red Hat certified release, version 1.94 - built 11:47:48, Jun 10 2005

Platform: Freecom Storage  Gateway (FSG) (XScale) BE
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

RAM: 0x00000000-0x04000000, 0x0001db58-0x03fd0000 available
FLASH: 0x50000000 - 0x50400000, 32 blocks of 0x00020000 bytes each.
FREECOM ermergency button pressed!
== Executing boot script in 0.000 seconds - enter ^C to abort
RedBoot>

It seems the microcode partition is not the problem, but the recovery procedure  needs the bootscript.




fsg-3 serial mod


Used Parts

USB-TTL Serial Bridge with CP2102
it's for 2,3€ (included shipping) available on ebay.com so it's really cheap.

It has needed pins Gnd, RxD and TxD

USB UART Converter
http://cavebeat.blogspot.com/2012/01/usb-to-uart-ttl-converter.html















First open your fsg-3
There are 4 screw's on the bottom side



 open the case
 internal there are also 4 screws to lift the PCB+HDD

on this picture are 2




and on this picture are 2 screws




 find the Con401



solder the cable on it

http://www.nslu2-linux.org/wiki/FSG3/HomePage


http://openfsg.com/index.php/FSG
http://openfsg.com/index.php/File:FSG_UART-Connectors.jpg

Con401


Pin 1 = GND
Pin 3 = RxD
Pin 6 = TxD



take a file and make a little hole at the place to put the cable through.
mark the Ground Cable, at the picture it is marked with pink colour


After that connect Gnd with Gnd

RxD with RxD  and TxD with Txd
If u don't get the connections cross the RxD and TxD Cables.

open up a connection with HyperTerminal in windows or minicom
use Baudrate 115200 8N1 (8N1 == 8-bits per character, no parity, and 1 stop bit)


CTRL+C  == ^C is the command to stop the RedBoot Bootload Script. 





Airflow Mod for Sinking the Temperature




There is enough space to put air out from the fsg-3 fan.
But there are no holes to put fresh air into the fsg.

so i drilled 6 holes in the front






Freitag, 20. Januar 2012

Redboot Configuration

Vanilla, freshly shipped

RedBoot> version                                                                     
                                                                                     
RedBoot(tm) bootstrap and debug environment [ROM]                                    
Red Hat certified release, version 1.94 - built 11:47:48, Jun 10 2005                
                                                                                     
Platform: Freecom Storage  Gateway (FSG) (XScale) BE                                 
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.                             
                                                                                     
RAM: 0x00000000-0x04000000, 0x0001db58-0x03fd1000 available                          
FLASH: 0x50000000 - 0x50400000, 32 blocks of 0x00020000 bytes each.                  




RedBoot> fconfig -l                                                                  
Run script at boot: true                                                             
Boot script:                                                                         
.. fis load kern1                                                                    
.. exec -c "console=ttyS0,115200 root=/dev/hda1 mem=64M@0x00000000"                  
                                                                                     
Boot script timeout (1000ms resolution): 1                                           
Use BOOTP for network configuration: true                                            
Console baud rate: 115200                                                            
DNS server IP address: 0.0.0.0                                                       
GDB connection port: 9000                                                            
Force console for special debug messages: false                                      
Network debug at boot time: false                                                    
Default network device: npe_eth0                                                     
Network hardware address [MAC] for NPE eth0: 0x00:0x01:0xDB:0x00:0xA6:0x02           
Network hardware address [MAC] for NPE eth1: 0x00:0x01:0xDB:0x00:0xA6:0x03           
RedBoot>








After OpenWRT install and microcode partition create

+FLASH configuration checksum error or invalid key

Network NOT initialized!
 Press FSG Emergency Button during power up to initialize network

RedBoot(tm) bootstrap and debug environment [ROM]
Red Hat certified release, version 1.94 - built 11:47:48, Jun 10 2005

Platform: Freecom Storage  Gateway (FSG) (XScale) BE
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

RAM: 0x00000000-0x04000000, 0x0001db58-0x03fd1000 available
FLASH: 0x50000000 - 0x50400000, 32 blocks of 0x00020000 bytes each.
RedBoot> version

RedBoot(tm) bootstrap and debug environment [ROM]
Red Hat certified release, version 1.94 - built 11:47:48, Jun 10 2005

Platform: Freecom Storage  Gateway (FSG) (XScale) BE
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.

RAM: 0x00000000-0x04000000, 0x0001db58-0x03fd1000 available                          
FLASH: 0x50000000 - 0x50400000, 32 blocks of 0x00020000 bytes each.                  
RedBoot>                                                                             
RedBoot>                                                                             
RedBoot> fconfig -l                                                                  
Run script at boot: false                                                            
Use BOOTP for network configuration: true                                            
Console baud rate: 115200                                                            
DNS server IP address: 0.0.0.0                                                       
GDB connection port: 9000                                                            
Force console for special debug messages: false                                      
Network debug at boot time: false                                                    
Default network device: npe_eth0                                                     
Network hardware address [MAC] for NPE eth0: 0x00:0x00:0x83:0x20:0x50:0x02           
Network hardware address [MAC] for NPE eth1: 0x00:0x00:0x83:0x48:0x50:0x01           
RedBoot>

RedBoot> fis list                                                                    
Name              FLASH addr  Mem addr    Length      Entry point                    
RedBoot           0x50000000  0x50000000  0x00040000  0x00000000                     
kern1             0x50080000  0x00700000  0x00180000  0x00700000                     
kern2             0x50200000  0x00700000  0x00180000  0x00700000                     
microcode         0x503A0000  0x00000000  0x00020000  0x00000000                     
RedBoot config    0x503C0000  0x503C0000  0x00020000  0x00000000                     
FIS directory     0x503E0000  0x503E0000  0x00020000  0x00000000                     

booting old freecom firmware

+FLASH configuration checksum error or invalid key                                   
                                                                                     
Network NOT initialized!                                                             
 Press FSG Emergency Button during power up to initialize network                    
                                                                                     
RedBoot(tm) bootstrap and debug environment [ROM]                                    
Red Hat certified release, version 1.94 - built 11:47:48, Jun 10 2005                
                                                                                     
Platform: Freecom Storage  Gateway (FSG) (XScale) BE                                 
Copyright (C) 2000, 2001, 2002, 2003, 2004 Red Hat, Inc.                             
                                                                                     
RAM: 0x00000000-0x04000000, 0x0001db58-0x03fd1000 available                          
FLASH: 0x50000000 - 0x50400000, 32 blocks of 0x00020000 bytes each.                  
RedBoot> fis load kern2                                                              
RedBoot> exec -c "console=ttyS0,115200 root=/dev/hda2
mem=64M@0x00000000"      
      
Using base address 0x00700000 and length 0x00180000                                  
Uncompressing Linux...................................................................
Linux version 2.6.18 (root@theszlinux64) (gcc version 3.4.4 (release) (CodeSourcery A7
CPU: XScale-IXP42x Family [690541f1] revision 1 (ARMv5TE), cr=000039ff               
Machine: FSG3 - Freecom Storage Gateway                                              
Memory policy: ECC disabled, Data cache writeback                                    
CPU0: D VIVT undefined 5 cache                                                       
CPU0: I cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets                 
CPU0: D cache: 32768 bytes, associativity 32, 32 byte lines, 32 sets                 
Built 1 zonelists.  Total pages: 16384                                               
Kernel command line: console=ttyS0,115200 root=/dev/sda2 mem=64M@0x00000000          
PID hash table entries: 512 (order: 9, 2048 bytes)                                   
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)                        
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)                         
Memory: 64MB = 64MB total                                                            
Memory: 61824KB available (2761K code, 220K data, 84K init)                          
Mount-cache hash table entries: 512                                                  
CPU: Testing write buffer coherency: ok                                              
NET: Registered protocol family 16                                                   
IXP4xx: Using 16MiB expansion bus window size                                        
PCI: IXP4xx is host                                                                  
PCI: IXP4xx Using direct access for memory space                                     
PCI: bus0: Fast back to back transfers disabled                                      
dmabounce: registered device 0000:00:0c.0 on pci bus                                 
dmabounce: registered device 0000:00:0e.0 on pci bus                                 
dmabounce: registered device 0000:00:0e.1 on pci bus                                 
dmabounce: registered device 0000:00:0e.2 on pci bus                                 
fsg3_map_irq: Mapped slot 1 pin 1 to IRQ 22                                          
fsg3_map_irq: Mapped slot 3 pin 1 to IRQ 23                                          
fsg3_map_irq: Mapped slot 3 pin 2 to IRQ 23                                          
fsg3_map_irq: Mapped slot 3 pin 3 to IRQ 23                                          
SCSI subsystem initialized                                                           
usbcore: registered new driver usbfs                                                 
usbcore: registered new driver hub                                                   
NET: Registered protocol family 2                                                    
IP route cache hash table entries: 512 (order: -1, 2048 bytes)                       
TCP established hash table entries: 2048 (order: 1, 8192 bytes)                      
TCP bind hash table entries: 1024 (order: 0, 4096 bytes)                             
TCP: Hash tables configured (established 2048 bind 1024)                             
TCP reno registered                                                                  
NetWinder Floating Point Emulator V0.97 (double precision)                           
VFS: Disk quotas dquot_6.5.1                                                         
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)                           
NTFS driver 2.1.27 [Flags: R/O].                                                     
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.                                
Initializing Cryptographic API                                                       
io scheduler noop registered                                                         
io scheduler cfq registered (default)                                                
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled            
serial8250.0: ttyS0 at MMIO 0xc8000000 (irq = 15) is a XScale                        
serial8250.0: ttyS1 at MMIO 0xc8001000 (irq = 13) is a XScale                        
PPP generic driver version 2.4.2                                                     
PPP Deflate Compression module registered                                            
PPP BSD Compression module registered                                                
PPP MPPE Compression module registered                                               
NET: Registered protocol family 24                                                   
PCI: enabling device 0000:00:0c.0 (0000 -> 0001)                                     
sata_via 0000:00:0c.0: routed to hard irq line 6                                     
ata1: PATA max UDMA/133 cmd 0x1420 ctl 0x142A bmdma 0x1400 irq 22                    
ata2: PATA max UDMA/133 cmd 0x1440 ctl 0x144A bmdma 0x1410 irq 22                    
ata3: PATA max UDMA/133 cmd 0x1430 ctl 0x143A bmdma 0x1408 irq 22                    
scsi0 : sata_via                                                                     
ATA: abnormal status 0x7F on port 0x1427                                             
scsi1 : sata_via                                                                     
ata2.00: ATA-7, max UDMA/133, 976773168 sectors: LBA48                               
ata2.00: ata2: dev 0 multi count 0                                                   
ata2.00: configured for UDMA/133                                                     
scsi2 : sata_via                                                                     
ATA: abnormal status 0x7F on port 0x1437                                             
  Vendor: ATA       Model: Hitachi HDT72505  Rev: V56O                               
  Type:   Direct-Access                      ANSI SCSI revision: 05                  
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)                         
sda: Write Protect is off                                                            
SCSI device sda: drive cache: write back                                             
SCSI device sda: 976773168 512-byte hdwr sectors (500108 MB)                         
sda: Write Protect is off                                                            
SCSI device sda: drive cache: write back                                             
 sda: sda1 sda2 sda3 sda4                                                            
sd 1:0:0:0: Attached scsi disk sda                                                   
IXP4XX-Flash.0: Found 1 x16 devices at 0x0 in 16-bit bank                            
 Intel/Sharp Extended Query Table at 0x0031                                          
Using buffer write method                                                            
cfi_cmdset_0001: Erase suspend on write enabled                                      
Searching for RedBoot partition table in IXP4XX-Flash.0 at offset 0x3e0000           
RedBoot directory 0x503e0000(0x20000) native                                         
6 RedBoot partitions found on MTD device IXP4XX-Flash.0                              
Creating 6 MTD partitions on "IXP4XX-Flash.0":                                       
0x00000000-0x00040000 : "RedBoot"                                                    
0x00080000-0x00200000 : "kern1"                                                      
0x00200000-0x00380000 : "kern2"                                                      
0x003a0000-0x003c0000 : "microcode"                                                  
0x003c0000-0x003e0000 : "RedBoot config"                                             
FSG3-MAC for eth0: 00:01:db:00:a7:78                                                 
FSG3-MAC for eth1: 00:01:db:00:a7:79                                                 
0x003e0000-0x00400000 : "FIS directory"                                              
PCI: enabling device 0000:00:0e.2 (0140 -> 0142)                                     
ehci_hcd 0000:00:0e.2: EHCI Host Controller                                          
ehci_hcd 0000:00:0e.2: new USB bus registered, assigned bus number 1                 
ehci_hcd 0000:00:0e.2: irq 23, io mem 0x48002000                                     
ehci_hcd 0000:00:0e.2: 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: 5 ports detected                                                        
PCI: enabling device 0000:00:0e.0 (0140 -> 0142)                                     
ohci_hcd 0000:00:0e.0: OHCI Host Controller                                          
ohci_hcd 0000:00:0e.0: new USB bus registered, assigned bus number 2                 
ohci_hcd 0000:00:0e.0: irq 23, io mem 0x48000000                                     
usb usb2: configuration #1 chosen from 1 choice                                      
hub 2-0:1.0: USB hub found                                                           
hub 2-0:1.0: 3 ports detected                                                        
PCI: enabling device 0000:00:0e.1 (0140 -> 0142)                                     
ohci_hcd 0000:00:0e.1: OHCI Host Controller                                          
ohci_hcd 0000:00:0e.1: new USB bus registered, assigned bus number 3                 
ohci_hcd 0000:00:0e.1: irq 23, io mem 0x48001000                                     
usb usb3: configuration #1 chosen from 1 choice                                      
hub 3-0:1.0: USB hub found                                                           
hub 3-0:1.0: 2 ports detected                                                        
USB Universal Host Controller Interface driver v3.0                                  
usbcore: registered new driver usblp                                                 
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver                    
Initializing USB Mass Storage driver...                                              
usbcore: registered new driver usb-storage                                           
USB Mass Storage support registered.                                                 
i2c /dev entries driver                                                              
isl1208 0-006f: chip found, driver version 0.2                                       
isl1208 0-006f: rtc intf: dev (254:0)                                                
isl1208 0-006f: rtc core: registered isl1208 as rtc0                                 
hwmon-vid: Unknown VRM version of your CPU                                           
LEDs: registered SYNC switch on IRQ21                                                
LEDs: registered RESET switch on IRQ26                                               
LEDs: registered UNPLUG switch on IRQ27                                              
Registered led device: sync                                                          
Registered led device: ring                                                          
Registered led device: USB                                                           
Registered led device: SATA                                                          
Registered led device: WAN                                                           
Registered led device: WLAN                                                          
TCP bic registered                                                                   
NET: Registered protocol family 1                                                    
NET: Registered protocol family 17                                                   
Bridge firewalling registered                                                        
isl1208 0-006f: hctosys: invalid date/time                                           
ReiserFS: sda2: found reiserfs format "3.6" with standard journal                    
ReiserFS: sda2: using ordered data mode                                              
ReiserFS: sda2: journal params: device sda2, size 8192, journal first block 18, max t0
ReiserFS: sda2: checking transaction log (sda2)                                      
ReiserFS: sda2: replayed 9 transactions in 0 seconds                                 
ReiserFS: sda2: Using r5 hash to sort names                                          
VFS: Mounted root (reiserfs filesystem).                                             
Freeing init memory: 84K                                                             
mount: Mounting none on /ramdisk failed: Invalid argument                            
ixp400: module license 'unspecified' taints kernel.                                  
ixp400_eth: Initializing IXP400 NPE Ethernet driver software v. 1.5.1a               
ixp400_eth: CPU clock speed (approx) = 266 MHz                                       
ixp400_eth: ethernet 0 using NPEB and the PHY at address 5                           
ixp400_eth: ethernet 1 using NPEC and the PHY at address 4                           
ixp400_eth: Use MAC address 00:01:db:00:a7:78 for port 0                             
ixp400_eth: Use MAC address 00:01:db:00:a7:79 for port 1                             
Setting up swapspace version 1, size = 104853504 bytes                               
Adding 102392k swap on /dev/sda3.  Priority:-1 extents:1 across:102392k              
fuse init (API version 7.8)                                                          
fuse distribution version: 2.6.1                                                     
kobject_add failed for fs with -EEXIST, don't try to register things with the same na.
insmod: cannot insert `/root/fuse.ko': File exists (-1): File exists                 
ReiserFS: sda4: found reiserfs format "3.6" with standard journal                    
                                                                                     
                                                                                     
ReiserFS: sda4: using ordered data mode                                              
ReiserFS: sda4: journal params: device sda4, size 8192, journal first block 18, max t0
ReiserFS: sda4: checking transaction log (sda4)                                      
ReiserFS: sda4: replayed 6 transactions in 1 seconds                                 
ReiserFS: sda4: Using r5 hash to sort names                                          
quotaon: Cannot find quota file on /home [/dev/sda4] to turn quotas on/off.          
Starting syslogd/klogd.                                                              
Starting network.                                                                    
device lan0 entered promiscuous mode                                                 
device eth1 entered promiscuous mode                                                 
eth0: port 2(eth1) entering learning state                                           
eth0: port 1(lan0) entering learning state                                           
eth0: topology change detected, propagating                                          
eth0: port 2(eth1) entering forwarding state                                         
eth0: topology change detected, propagating                                          
eth0: port 1(lan0) entering forwarding state                                         
eth0: port 2(eth1) entering disabled state                                           
Starting samba.                                                                      
Starting HTTP server with options:                                                   
Starting SSH server.                                                                 
Starting Fan deamon.                                                                 
Starting flush daemon -> spin down after 30 min.                                     
Starting Optware.