Showing posts with label RaQ. Show all posts
Showing posts with label RaQ. Show all posts

Monday, July 18, 2011

Speeding up ssh connections/logins

Very useful is to deactivate the DNS lookups in the ssh server. Another easy modification: add one line to the /etc/ssh/sshd_config file:


  1. Type: # pico /etc/ssh/sshd_config
  2. Add the line (green bold one): 
#PermitTunnel no

UseDNS no

# no default banner path

Cobalt RaQ 4: slow slow sloooooow ftp login

Hi guys,
this week I turned on on RaQ with the old Cobalt OS with all the Zeffie's updates (New updates appeared this year). I like the fast responese of the Cobalt servers with this old Operating System and I don't need the extra capabilities of the BlueQuartz or BlueOnyx systems.

But today I started to check if I can compile the latest 2.4 kernel but when I went to some upload files to the server I could not connect to ftp. Some search of the web to found the problem, the proftp server has some features enabled in the latest version that can be deactivated for us.

To do this just add this lines (green bold ones) to the /etc/proftpd.conf file just after the first configuration lines:

ServerName                      "ProFTPD"
ServerType                      inetd
DeferWelcome                    off
DefaultServer                   on
DefaultRoot                     / admin
DefaultRoot                     ~/../.. site-adm
DefaultRoot                     ~ !site-adm

UseIPv6                                off
UseReverseDNS                   off

And add one line to the GLOBAL subsection (green bold chars):
IdentLookups                    off
   AllowAll

# Report localtime, not GMT
TimesGMT                        off

Tuesday, April 12, 2011

Adding SATA storage to a Cobalt RaQ 4

UPDATED: 2011-05-05
Partition manage with fdisk.

Nearly three months without writing anything in this blog. I did a lot of unsuccessful tests, but nothing well until this week. From the last christmas I am trying to compile the 6.5.18 CentOS kernel for the Cobalt servers. I have a valid patch but the resulting rpm package is bigger than 30MB. I will check this before put on a server. I'm using a Sun LX50 with the latest BlueOnyx for this job.

But last week a new VIA chipset SATA card arrived and yesterday I did a new test. I had a lot of problems with my previous SIL3112 card, it was recognized but the hard disk was not. I tested various hd's and some of them were recognized but never with a good stability.




For this test I used my backup server, a RaQ 4i with a 80GB hd for boot the machine and a WD Raptor SATA 150GB as additional storage. It's a 10k disk but I don't have any other SATA hd at home with no use at the moment. This machine was instaled with a fully updated Strongbolt OS, with the 2.6.20 kernel from OSOffice.

The first part of the test was to install the latest kernel I published: 2.6.9-89.0.23-cobalt. Wow, near one year ago! I have o compile a new one...

With this kernel the SATA card and hard disk was correctly recognized as you can see in the next capture of the hardware information page.

This was the easy part. To use this hard disk as storage for BlueQuartz we need to move our /home partition to it. Here you can see how the first hard disk was before any change:


Now the not easy part:
  • Login to the server as root.
  • Check if the hard disk appears on fdisk. As you can see it was formatted with NTFS:
[root@cobalt ~]# fidsk -l
Disk /dev/hda: 80.0 GB, 80026361856 bytes




255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System
/dev/hda1               1         250     2008093+  83  Linux
/dev/hda2             251         500     2008125   83  Linux
/dev/hda3             501         625     1004062+  82  Linux swap
/dev/hda4             626        9729    73127880    5  Extended
/dev/hda5             626         875     2008093+  83  Linux
/dev/hda6             876        9729    71119723+  83  Linux
Disk /dev/sda: 150.0 GB, 150039945216 bytes
255 heads, 63 sectors/track, 18241 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
   Device Boot      Start         End      Blocks   Id  System

/dev/sda1   *           1       18242   146521088    7  HPFS/NTFS
  •  Start fdisk:
[root@cobalt ~]# fdisk /dev/sda1
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.

The number of cylinders for this disk is set to 18241.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
  • Create a new DOS label. Im not sure if in my cas was needed because the hard disk had one but... Use the 'o' command
Command (m for help):o
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.

The number of cylinders for this disk is set to 18241.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
   (e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.
  • As you can see above fdisk reported an error reading the partition table but nothis was wrong here.
  • Delete existent partitions (if necessary) and create the new one and then change the system disk ID:
# fdisk /dev/sda1
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel
Building a new DOS disklabel. Changes will remain in memory only,
until you decide to write them. After that, of course, the previous
content won't be recoverable.

The number of cylinders for this disk is set to 18241.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

Command (m for help): d
No partition is defined yet!

Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-18241, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-18241, default 18241):
Using default value 18241

Command (m for help): t
Selected partition 1
Hex code (type L to list codes):83

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.
  • Here I rebooted the server.
  • Create the ext3 filesystem: # mkfs.ext3 /dev/sda1
  • Now we need to mount the new hard disk to a temporary folder:
# mkdir /tmpmnt
# mount /dev/sda1 /tmpmnt
  • Copy all files from /home to /tmpmnt: # cp -axv /home/* /tmpmnt
  • Unmount the new hard disk: # umount /tmpmnt
  • Create a backup of the old /home partition (I was not able to do that part last time because an error message: Files in use):
# mkdir /oldhome
# mv /home /oldhome

# mkdir /home
# mount -t ext3 /dev/sda1 /home
  • Now we have to modify the /etc/fstab file to make the new partition automount at boot time. Just change hda6 to sda1. My file is this:
  • And the last part is to reboot!!!!!! Here you can see the result, a near 150GB home partition in a SATA hard disk!


Now it's time to check if everithing is OK, a will boot up the server in a week or two and see what happens in a 24/7 work.

IMPORTANT NOTE: During these test I found some problems with fdisk. IF fdisk returns a WARNING when you type the command 'w' (write), usually the hard disk partition is not stored on the hard disk. This is the message
WARNING: Re-reading the partition table failed with error 22: Invalid argument.
The kernel still uses the old table
The new table will be used at the next reboot.
I had this problem until I was able to delete the NTFS partition with FDSIK (the firsts attempts fdisk didn't show the old partition table). Then you can check the results:
# fdisk -l

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 1 250 2008093+ 83 Linux
/dev/hda2 251 500 2008125 83 Linux
/dev/hda3 501 625 1004062+ 82 Linux swap
/dev/hda4 626 9729 73127880 5 Extended
/dev/hda5 626 875 2008093+ 83 Linux
/dev/hda6 876 9729 71119723+ 83 Linux

Disk /dev/sda: 150.0 GB, 150039945216 bytes
255 heads, 63 sectors/track, 18241 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/sda1 1 18241 146520801 83 Linux

Monday, June 21, 2010

Swapping my server

I switched my main web server. My beloved RaQ 4i had been working for the last three years 24/7. Being a second hand server with an old hard disk I feel a little bad and some time ago I decided to exchange for anther RaQ 4i I had as spare.

This new/old server has the same specs as the old one but with two Seagate 120 GB in RAID 1 configuration. I more confident with this setup. Obviously it runs Strongbolt 1 (CentOS 4 + BlueQuartz) but with no addon packages installed as I don't need anything outside Strongbolt.

I restored all the files of the old server (the /downloads/ folder) and it was 14 GB's!. Torrentflux isn't installed as I don't use it since a lot of time ago.

Well I think I have server for a lot of time but I want to switch to one of my RaQ 550. They are newer and powerful servers but before I have to change the power supply fan (and I don't need more power in fact).

Saturday, May 8, 2010

CentOS 4 kernel 2.6.9-89.0.23 for Cobalt x86 appliances

Well, after my mistake in the configuration of my last kernel (I forgot the RAID setup), last wednesday I compiled the latest CentOS 4 kernel (2.6.9-89.0.23.EL). This time I only prepared a RPM archive and not a BlueQuartz package because to install an RPM can be forced to avoid conflicts with the standard kernel RPM archives from CentOS.

I haven't done a lot of testing with this kernel but seems to work well in RaQ4 with RAID 1 setup and also in a RaQ 550. It has the same features of the old release:
  1. Compiled for i586 architechture, compatible with the i686 architechture you can find on RaQ XTR and RaQ 550.
  2. Drivers for VIA, SIS and Silicon Image SATA chipsets, to use as storage expansion or use the server as NAS but I don't have time to test yet. Compiled as modules.
  3. Drivers for ethernet gigabit cards: Intel PRO/1000, Realtek 8169, Broadcom Tigon3 and Broadcom NetXtremeII. Compiled as modules.
  4. Cobalt GenIII and GenV drivers included: the same kernel works on all Cobalt machines. Only tested in Cobalt RaQ 3&4 and RaQ 550. My Qube 3 has SB2 installed and I don't have any XTR (but if I can find one...).
  5. SMP for two processors, not tested: usefull for RaQ XTR with two Pentium III.
And something new:
  1. Suport for RAID storage (RAID 0, 1, 5, 6 and 10).
  2. I2C bus support enabled. It can be useful for RaQ XTR leds but it also needs some software what I don't have (and I can't test)
Unfortunately this fast job  doesn't allow me to work in the problems of shutdown and reboot in the Pentium III machines. Next time...

Like other kernel, if you want to test, the files are here. You can follow this steps:

  1. Log in to the server as root.
  2. # rpm -i --force http://www.titox-net.es/downloads/cobalt/BlueQuartz/kernel/linux-2.6.9-89.0.23-cobalt/kernel-2.6.9-89.0.23_cobalt.i586.rpm
  3. # cd /boot
  4. # mv vmlinux.bz2 vmlinux_old.bz2
  5. # cp  vmlinux_2.6.9-89.0.23.EL-cobalt.bz2 vmlinux.bz2
  6. # reboot
 OBVIOUSLY: USE THIS KERNEL AT YOUR OWN RISK. NO GUARANTEE

Now here you are the boot logs of my RaQ 4r (RAID 1) and a RaQ 550:
         Sun Cobalt - Smaller, Bluer, Better, and Free

               Firmware version 2.10.3-ext3

Current date: May 07 20:57:18 UTC 2010
ROM build info: Thu Mar 11 08:51:36 MST 2004 .
System serial number: Uninitialized
System type: 3000 series system, Version 1 board
Silicon serial number: 7200000767f57a01
Monitor: 153536 bytes
Memory: 256 MB
CPU: 1 processor(s) detected
  CPU 0: AuthenticAMD 448MHz (4.5 x 100MHz host bus) [BSP]
Initializing flash: done
  Flash Bank 0: AMD AM29F080B 1024KB (01:d5)
  Flash Bank 1: not installed.
Mounting ROM fs: done
Initializing PCI: done
  Host Bus: 0 (device 1f:07) [33MHz]
    Device: 00:00 10b9:1541 Acer Labs M1541 Aladdin V Host Bridge
    Device: 01:00 10b9:5243 Acer Labs M5243 AGP Controller
    Device: 02:00 10b9:5237 Acer Labs M5237 USB Controller (IRQ 6)
    Device: 03:00 10b9:7101 Acer Labs M7101 PMU
    Device: 07:00 10b9:1533 Acer Labs M1543 Aladdin V PCI-ISA Bridge
    Device: 0e:00 1000:000f Symbios Logic SYM53C875 SCSI Controller (IRQ 12)
    Device: 0f:00 10b9:5229 Acer Labs M5229 TXpro IDE Controller (IRQ 14)
    Device: 10:00 8086:1209 Intel 82559ER EEPro100 Fast Ethernet (IRQ 11)
    Device: 12:00 8086:1209 Intel 82559ER EEPro100 Fast Ethernet (IRQ 10)
  Bridged Bus: 1 (bridge: 00:01:00)
Initializing ethernet: 2 controller(s) found
  Intel 82559ER Found at port 0xfd80, MAC: 00:10:e0:03:1d:c2
  Intel 82559ER Found at port 0xfd40, MAC: 00:10:e0:03:1e:2b
Initializing IDE: found ALI M5229 at 00:78
  scanning ide0: master
  scanning ide1:
IDE: stabilizing spinup:    100%
Checking Memory: done

Press spacebar to enter ROM mode
Booting default method - From disk

Enabling L2 cache: on-chip L2 is 128K -done
First stage kernel (Linux): Decompressing -- done
ERROR: cannot relocate with filesize 0
command line: 'console=ttyS0,115200 debug mem=22M cobalt_boot_image=/boot/vmlinux.bz2,/vmlinux.bz2,/boot/vmlinux.gz,/vmlinux.gz cobalt_boot_return=0x161f394 cobalt_boot_data=0x1634cc4 cobalt_boot_load=0x1700000 cobalt_ramcode_map=0x1600000,0xa00000 ip=off '
booting kernel...
Linux version 2.4.25-ROM (duncan@atherton) (gcc version 3.3.3 (Debian 20040306)) #1 Thu Mar 11 08:47:53 MST 2004
BIOS-provided physical RAM map:
 BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
 BIOS-e801: 0000000000100000 - 0000000010000000 (usable)
user-defined physical RAM map:
 user: 0000000000000000 - 000000000009f000 (usable)
 user: 0000000000100000 - 0000000001600000 (usable)
22MB LOWMEM available.
On node 0 totalpages: 5632
zone(0): 4096 pages.
zone(1): 1536 pages.
zone(2): 0 pages.
DMI not present.
Kernel command line: console=ttyS0,115200 debug mem=22M cobalt_boot_image=/boot/vmlinux.bz2,/vmlinux.bz2,/boot/vmlinux.gz,/vmlinux.gz cobalt_boot_return=0x161f394 cobalt_boot_data=0x1634cc4 cobalt_boot_load=0x1700000 cobalt_ramcode_map=0x1600000,0xa00000 ip=off
Initializing CPU#0
Detected 448.219 MHz processor.
Calibrating delay loop... 894.56 BogoMIPS
Memory: 20208k/22528k available (1141k kernel code, 1932k reserved, 244k data, 100k init, 0k highmem)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
Enabling new style K6 write allocation for 22 Mb
CPU: L1 I Cache: 32K (32 bytes/line), D cache 32K (32 bytes/line)
CPU: L2 Cache: 128K (32 bytes/line)
CPU:     After generic, caps: 008021bf c08029bf 00000000 00000002
CPU:             Common caps: 008021bf c08029bf 00000000 00000002
CPU: AMD-K6(tm)-III Processor stepping 04
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: AMD K6
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10f
Non-volatile memory driver v1.2
loop: loaded (max 8 devices)
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin saw@saw.sw.com.sg and others
eth0: Invalid EEPROM checksum 0xd5fd, check settings before activating this device!
eth0: PCI device 8086:1209, 00:10:E0:03:1D:C2, IRQ 11.
  Receiver lock-up bug exists -- enabling work-around.
  Board assembly 000000-000, Physical connectors present:
  Primary interface chip None PHY #0.
  General self-test: passed.
  Serial sub-system self-test: passed.
  Internal registers self-test: passed.
  ROM checksum self-test: passed (0xdbd8681d).
  Receiver lock-up workaround activated.
eth1: Invalid EEPROM checksum 0x3efe, check settings before activating this device!
eth1: PCI device 8086:1209, 00:10:E0:03:1E:2B, IRQ 10.
  Receiver lock-up bug exists -- enabling work-around.
  Board assembly 000000-000, Physical connectors present:
  Primary interface chip None PHY #0.
  General self-test: passed.
  Serial sub-system self-test: passed.
  Internal registers self-test: passed.
  ROM checksum self-test: passed (0xdbd8681d).
  Receiver lock-up workaround activated.
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ALI15X3: IDE controller at PCI slot 00:0f.0
ALI15X3: chipset revision 193
ALI15X3: 100% native mode on irq 14
    ide0: BM-DMA at 0xfdd0-0xfdd7, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xfdd8-0xfddf, BIOS settings: hdc:DMA, hdd:DMA
hda: ST310211A, ATA DISK drive
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
blk: queue c0298fa0, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0xfdf8-0xfdff,0xfdf6 on irq 14
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 19541088 sectors (10005 MB) w/1024KiB Cache, CHS=19386/16/63, UDMA(33)
Partition check:
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
   8regs     :   621.200 MB/sec
   32regs    :   367.600 MB/sec
   pII_mmx   :   849.600 MB/sec
   p5_mmx    :   826.000 MB/sec
raid5: using function: pII_mmx (849.600 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 100k freed
BOOTLOADER: Mapping in physical locations
BOOTLOADER: load_addr=0xc2004000 ret_data=0xc2205cc4
BOOTLOADER: opening "/boot/vmlinux.bz2"
BOOTLOADER: reading "/boot/vmlinux.bz2"
BOOTLOADER: read 1493862bytes
BOOTLOADER: unmounting /
BOOTLOADER: calling reboot notifiers
md: stopping all md devices.
flushing ide devices: hda
BOOTLOADER: mapping 22M-32M for ride home
BOOTLOADER: disabling interrupts
BOOTLOADER: flushing cache
BOOTLOADER: Leap of faith!
Back in ramcode: done
Second stage kernel: Decompressing -- done
ERROR: cannot relocate with filesize 0
command line: 'console=ttyS0,115200 debug ip=off '
booting kernel...
Linux version 2.6.9-89.0.23.EL-cobalt (root@sbdevel.titox-net.es) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-11)) #1 SMP Wed May 5 21:51:13 CEST 2010
BIOS-provided physical RAM map:
 BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
 BIOS-e801: 0000000000100000 - 0000000010000000 (usable)
0MB HIGHMEM available.
256MB LOWMEM available.
Using x86 segment limits to approximate NX protection
On node 0 totalpages: 65536
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 61440 pages, LIFO batch:15
  HighMem zone: 0 pages, LIFO batch:1
DMI not present.
ACPI: Unable to locate RSDP
Allocating PCI resources starting at 20000000 (gap: 10000000:f0000000)
Built 1 zonelists
Kernel command line: console=ttyS0,115200 debug ip=off
No local APIC present or hardware disabled
mapped APIC to ffffc000 (01213000)
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 448.029 MHz processor.
Using tsc for high-res timesource
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 255856k/262144k available (2110k kernel code, 5860k reserved, 746k data, 188k init, 0k highmem)
Calibrating delay using timer specific routine.. 897.57 BogoMIPS (lpj=448788)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 008021bf c08029bf 00000000 00000000
CPU: After vendor identify, caps:  008021bf c08029bf 00000000 00000000
CPU: L1 I Cache: 32K (32 bytes/line), D cache 32K (32 bytes/line)
CPU: L2 Cache: 128K (32 bytes/line)
CPU: After all inits, caps:        0080213f c08029bf 00000000 00000002
Checking 'hlt' instruction... OK.
CPU0: AMD-K6(tm)-III Processor stepping 04
per-CPU timeslice cutoff: 364.81 usecs.
task migration cache decay timeout: 0 msecs.
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
zapping low mappings.
NET: Registered protocol family 16
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040816
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Activating ISA DMA hang workarounds.
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12
Non-volatile memory driver v1.2
alim7101_wdt: Steve Hill steve@navaho.co.uk.
alim7101_wdt: WDT driver for ALi M7101 initialised. timeout=30 sec (nowayout=0)
Serial: 8250/16550 driver $Revision: 1.90 $ 6 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Ethernet Channel Bonding Driver: v2.6.3-rh (June 8, 2005)
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.
e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
e100: Modified by jeff@404ster.com to ignore bad EEPROM checksums
e100: 0000:00:10.0: e100_eeprom_load: EEPROM corrupted, ignoring and moving on
e100: 0000:00:10.0: e100_eeprom_load:     Caclulated Checksum: E4BD
e100: 0000:00:10.0: e100_eeprom_load:     EEPROM Checksum:     0
e100: eth0: e100_probe: addr 0xf7ffc000, irq 11, MAC addr 00:10:E0:03:1D:C2
e100: 0000:00:12.0: e100_eeprom_load: EEPROM corrupted, ignoring and moving on
e100: 0000:00:12.0: e100_eeprom_load:     Caclulated Checksum: 7BBC
e100: 0000:00:12.0: e100_eeprom_load:     EEPROM Checksum:     0
e100: eth1: e100_probe: addr 0xf7fbf000, irq 10, MAC addr 00:10:E0:03:1E:2B
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ALI15X3: IDE controller at PCI slot 0000:00:0f.0
ALI15X3: chipset revision 193
ALI15X3: 100% native mode on irq 14
    ide0: BM-DMA at 0xfdd0-0xfdd7, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xfdd8-0xfddf, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: ST310211A, ATA DISK drive
Using deadline io scheduler
ide0 at 0xfdf8-0xfdff,0xfdf6 on irq 14
Probing IDE interface ide1...
hda: max request size: 128KiB
hda: Host Protected Area detected.
    current capacity is 19541088 sectors (10005 MB)
    native  capacity is 19541089 sectors (10005 MB)
hda: 19541088 sectors (10005 MB) w/1024KiB Cache, CHS=19386/16/63, UDMA(33)
hda: cache flushes not supported
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
sym0: <875> rev 0x4 at pci 0000:00:0e.0 irq 12
sym0: No NVRAM, ID 7, Fast-20, SE, parity checking
sym0: SCSI BUS has been reset.
scsi0 : sym-2.1.18k
st: Version 20040403, fixed bufsize 32768, s/g segs 256
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd 0000:00:02.0: ALi Corporation USB 1.1 Controller
ohci_hcd 0000:00:02.0: irq 6, pci mem d0808000
ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
USB Universal Host Controller Interface driver v2.2
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
   8regs     :   616.000 MB/sec
   8regs_prefetch:   464.000 MB/sec
   32regs    :   388.000 MB/sec
   32regs_prefetch:   360.000 MB/sec
   pII_mmx   :   988.000 MB/sec
   p5_mmx    :   956.000 MB/sec
raid5: using function: pII_mmx (988.000 MB/sec)
raid6: int32x1     82 MB/s
raid6: int32x2     97 MB/s
raid6: int32x4    101 MB/s
raid6: int32x8     93 MB/s
raid6: mmxx1      214 MB/s
raid6: mmxx2      250 MB/s
raid6: using algorithm mmxx2 (250 MB/s)
md: raid6 personality registered as nr 8
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 5, 131072 bytes)
TCP bind hash table entries: 16384 (order: 5, 131072 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
ip_conntrack version 2.1 (2048 buckets, 16384 max) - 344 bytes per conntrack
NET: Registered protocol family 1
NET: Registered protocol family 17
Cobalt system type is Pacifica
Cobalt Networks ACPI driver 1.0 (modified by jeff@404ster.com)
Cobalt Networks LED driver 1.0 (modified by jeff@404ster.com)
Cobalt Networks LCD driver 4.0 (modified by jeff@404ster.com)
Cobalt Networks Serial Number driver 1.6 (modified by jeff@404ster.com)
Cobalt Networks Watchdog Timer driver 1.0 (modified by jeff@404ster.com)
Cobalt Networks Sensor driver 1.0 (modified by jeff@404ster.com)
Cobalt Networks RAM Info driver 1.0 (modified by jeff@404ster.com)
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 188k freed
kjournald starting.  Commit interval 5 seconds

INIT: version 2.85 booting

        Welcome to  CentOS release 4.8 (Final)
        Press 'I' to enter interactive startup.
Setting clock : Fri May  7 22:58:03 CEST 2010 [  OK  ]
Starting udev:  [  OK  ]
Initializing hardware...  storage network audio done[  OK  ]
Configuring kernel parameters:  [  OK  ]
Setting hostname sbdevel.titox-net.es:  [  OK  ]
Checking root filesystem
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/hda1
/dev/hda1: clean, 85231/250368 files, 449287/500086 blocks (check in 5 mounts)
[  OK  ]
Remounting root filesystem in read-write mode:  [  OK  ]
Checking filesystems
Checking all file systems.
[/sbin/fsck.ext3 (1) -- /var] fsck.ext3 -a /dev/hda2
/dev/hda2: clean, 1738/250368 files, 179343/500094 blocks
[/sbin/fsck.ext3 (1) -- /tmp] fsck.ext3 -a /dev/hda5
/dev/hda5: clean, 14/250368 files, 16075/500086 blocks
[/sbin/fsck.ext3 (1) -- /home] fsck.ext3 -a /dev/hda6
/dev/hda6: clean, 82083/346368 files, 568393/692236 blocks
[  OK  ]
Mounting local filesystems:  [  OK  ]
Enabling local filesystem quotas:  [  OK  ]
rm: cannot remove `/var/run/dovecot/login': Is a directory
Enabling swap space:  [  OK  ]
INIT: Entering runlevel: 3
Entering non-interactive startup
Checking for new hardware [  OK  ]
Starting dbrecover:  [  OK  ]
Starting lcdstatus:  [  OK  ]
Applying iptables firewall rules: [  OK  ]
Setting network parameters:  [  OK  ]
Bringing up loopback interface:  [  OK  ]
Bringing up interface eth0:  [  OK  ]
Starting system logger: [  OK  ]
Starting kernel logger: [  OK  ]
[FAILED]
Starting cced: [  OK  ]
Running CCE constructors:
Mounting other filesystems:  [  OK  ]
Starting lm_sensors:  [  OK  ]
Starting automount: No Mountpoints Defined[  OK  ]
Starting smartd: [  OK  ]
Starting sshd:[  OK  ]
Starting xinetd: [  OK  ]
Starting MySQL:  [  OK  ]
Starting admin web server: [  OK  ]
[  OK  ]
Starting httpd: [  OK  ]
Starting crond: [  OK  ]
Starting poprelayd:  [  OK  ]
Starting atd: [  OK  ]
[  OK  ]
Starting lcdsleep.init:  [  OK  ]
Starting system message bus: [  OK  ]
Starting HAL daemon: [  OK  ]

CentOS release 4.8 (Final)
Kernel 2.6.9-89.0.23.EL-cobalt on an i586

sbdevel.titox-net.es login: root
Password:

          Sun Cobalt - Smaller, Bluer, Better, and Free

               Firmware version 2.10.3-ext3

Current date: May 07 20:58:24 UTC 2010
ROM build info: Thu Mar 11 08:51:36 MST 2004 .
System serial number: Uninitialized
System type: 5000 series system, Version 2 board
Silicon serial number: 5333333730303233
Monitor: 153536 bytes
Memory: 512 MB
Initializing Local APIC ID 0 at 0xfee00000 (Virtual Wire mode)
SMP: relocate AP boot code from 0x01617280 to 0x0000a000 [size=65]
SMP: attempting to start CPU 3
Sending Start-Up IPI (Edge/Assert) to APIC 3 [vector 0x0a]
Sending Start-Up IPI (Edge/Assert) to APIC 3 [vector 0x0a]
Sending Start-Up IPI (Edge/Assert) to APIC 3 [vector 0x0a]
SMP: CPU 3 not found!
CPU: 1 processor(s) detected
  CPU 0: GenuineIntel 1262MHz (9.5 x 133MHz host bus) [BSP]
Initializing flash: done
  Flash Bank 0: AMD AM29F016B 2048KB (01:ad)
  Flash Bank 1: not installed.
Mounting ROM fs: done
Initializing PCI: PIRQ: Relocate table to 0xf8000 (96 bytes, 4 entries, checksum b8)
     OSB4 I/O port: 00:78 I/O base 0xfcfc [size=4]
     OSB4 I/O port: 00:78 I/O base 0xfcf8 [size=4]
     OSB4 I/O port: 00:78 I/O base 0xfcf4 [size=4]
     OSB4 I/O port: 00:78 I/O base 0xfce8 [size=8]
     OSB4 I/O port: 00:78 I/O base 0xfce0 [size=8]
done
  Host Bus: 0 (device 00:00) [33MHz]
    Device: 00:00 1166:0009 ServerWorks CNB30LE Host Bridge
    Device: 00:01 1166:0009 ServerWorks CNB30LE Host Bridge
    Device: 0f:00 1166:0201 ServerWorks CSB5 South Bridge (IRQ 10)
    Device: 0f:01 1166:0212 ServerWorks CSB5 IDE Controller (IRQ 14)
    Device: 0f:02 1166:0220 ServerWorks OpenHCI USB Controller (IRQ 9)
    Device: 0f:03 1166:0230 ServerWorks CSB5 PCI-LPC Bridge
  Host Bus: 1 (device 00:01) [33MHz]
    Device: 06:00 100b:0020 National DP83815 MacPhyter Ethernet (IRQ 5)
    Device: 07:00 100b:0020 National DP83815 MacPhyter Ethernet (IRQ 7)
MPTABLE: Bus #0 is PCI 
MPTABLE: Bus #1 is PCI 
MPTABLE: Bus #2 is ISA 
MPTABLE:                 I/O Interrupt Entries
MPTABLE:  TYPE    POLARITY   TRIGGER    BUS    IRQ   APIC   INT
MPTABLE: -------------------------------------------------------
MPTABLE:   INT   active-lo     level   PCI0   15:A      4     9
MPTABLE:   INT   active-lo     level   PCI1    6:A      5     0
MPTABLE:   INT   active-lo     level   PCI1    7:A      5     1
MPTABLE:   EXT   active-hi      edge    ISA      0      4     0
MPTABLE:   INT   active-hi      edge    ISA      0      4     0
MPTABLE:   INT   active-hi      edge    ISA      1      4     1
MPTABLE:   INT   active-hi      edge    ISA      3      4     3
MPTABLE:   INT   active-hi      edge    ISA      4      4     4
MPTABLE:   INT   active-hi      edge    ISA      8      4     8
MPTABLE:   INT   active-lo     level    ISA     10      4    10
MPTABLE:   INT   active-hi     level    ISA     14      4    14
MPTABLE:   INT   active-hi     level    ISA     15      4    15
MPTABLE:                Local Interrupt Entries
MPTABLE:  TYPE    POLARITY   TRIGGER    BUS    IRQ   APIC   INT
MPTABLE: -------------------------------------------------------
MPTABLE:   EXT   active-hi      edge    ISA      0    255     0
MPTABLE:   NMI   active-hi      edge   PCI0    0:A    255     1
SMP: floating table base 0x000f8200 (16 bytes, checksum ff)
SMP: config mptable base 0x000f8210 (216 bytes, checksum d5)
SMP: extended entry base 0x000f82e8 (144 bytes, checksum f3)
Initializing ethernet: 2 controller(s) found
  National Semiconductor DP83815 Found at port 0xfe00, MAC: 00:10:e0:06:34:d1
  National Semiconductor DP83815 Found at port 0xfd00, MAC: 00:10:e0:06:34:d2
Initializing IDE: found ServerWorks CSB5 at 00:79
  spinning up second channel: >>>>>done
  scanning ide0: master
  scanning ide1:
IDE: stabilizing spinup:    100%
Checking Memory: done
Press spacebar to enter ROM mode
Booting default method - From disk
First stage kernel (Linux): Decompressing -- done
ERROR: cannot relocate with filesize 0
command line: 'console=ttyS0,115200 debug mem=22M cobalt_boot_image=/boot/vmlinux.bz2,/vmlinux.bz2,/boot/vmlinux.gz,/vmlinux.gz cobalt_boot_return=0x161f394 cobalt_boot_data=0x1634cc4 cobalt_boot_load=0x1700000 cobalt_ramcode_map=0x1600000,0xa00000 ip=off '
booting kernel...
Linux version 2.4.25-ROM (duncan@atherton) (gcc version 3.3.3 (Debian 20040306)) #1 Thu Mar 11 08:47:53 MST 2004
BIOS-provided physical RAM map:
 BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
 BIOS-e801: 0000000000100000 - 0000000020000000 (usable)
user-defined physical RAM map:
 user: 0000000000000000 - 000000000009f000 (usable)
 user: 0000000000100000 - 0000000001600000 (usable)
22MB LOWMEM available.
On node 0 totalpages: 5632
zone(0): 4096 pages.
zone(1): 1536 pages.
zone(2): 0 pages.
DMI not present.
Kernel command line: console=ttyS0,115200 debug mem=22M cobalt_boot_image=/boot/vmlinux.bz2,/vmlinux.bz2,/boot/vmlinux.gz,/vmlinux.gz cobalt_boot_return=0x161f394 cobalt_boot_data=0x1634cc4 cobalt_boot_load=0x1700000 cobalt_ramcode_map=0x1600000,0xa00000 ip=off
Initializing CPU#0
Detected 1263.113 MHz processor.
Calibrating delay loop... 2523.13 BogoMIPS
Memory: 20208k/22528k available (1141k kernel code, 1932k reserved, 244k data, 100k init, 0k highmem)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
CPU:     After generic, caps: 0383fbff 00000000 00000000 00000000
CPU:             Common caps: 0383fbff 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) III CPU - S         1266MHz stepping 04
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 00:0f.1
PCI: Discovered primary peer bus 01 [IRQ]
PCI: Using IRQ router ServerWorks [1166/0201] at 00:0f.0
PCI: Found IRQ 9 for device 00:0f.3
PCI: Sharing IRQ 9 with 00:0f.2
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10f
Non-volatile memory driver v1.2
loop: loaded (max 8 devices)
natsemi dp8381x driver, version 1.07+LK1.0.17, Sep 27, 2002
  originally by Donald Becker becker@scyld.com
  http://www.scyld.com/network/natsemi.html
  2.4.x kernel port by Jeff Garzik, Tjeerd Mulder
PCI: Found IRQ 5 for device 01:06.0
eth0: NatSemi DP8381[56] at 0xc2000000, 00:10:e0:06:34:d1, IRQ 5.
PCI: Found IRQ 7 for device 01:07.0
eth1: NatSemi DP8381[56] at 0xc2002000, 00:10:e0:06:34:d2, IRQ 7.
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SvrWks CSB5: IDE controller at PCI slot 00:0f.1
SvrWks CSB5: chipset revision 146
SvrWks CSB5: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xfcb0-0xfcb7, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xfcb8-0xfcbf, BIOS settings: hdc:DMA, hdd:DMA
hda: ST380011A, ATA DISK drive
blk: queue c0298fa0, I/O limit 4095Mb (mask 0xffffffff)
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=9729/255/63, UDMA(100)
Partition check:
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: measuring checksumming speed
   8regs     :  2330.000 MB/sec
   32regs    :  1150.800 MB/sec
   pIII_sse  :  2940.800 MB/sec
   pII_mmx   :  2814.800 MB/sec
   p5_mmx    :  2939.600 MB/sec
raid5: using function: pIII_sse (2940.800 MB/sec)
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 1024 bind 2048)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 100k freed
BOOTLOADER: Mapping in physical locations
BOOTLOADER: load_addr=0xc2004000 ret_data=0xc2205cc4
BOOTLOADER: opening "/boot/vmlinux.bz2"
BOOTLOADER: reading "/boot/vmlinux.bz2"
BOOTLOADER: read 1494007bytes
BOOTLOADER: unmounting /
BOOTLOADER: calling reboot notifiers
md: stopping all md devices.
flushing ide devices: hda
BOOTLOADER: mapping 22M-32M for ride home
BOOTLOADER: disabling interrupts
BOOTLOADER: flushing cache
BOOTLOADER: Leap of faith!
Back in ramcode: done
Second stage kernel: Decompressing -- done
ERROR: cannot relocate with filesize 0
command line: 'console=ttyS0,115200 debug ip=off '
booting kernel...
Linux version 2.6.9-89.0.23.EL-cobalt (root@sbdevel.titox-net.es) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-11)) #2 SMP Wed May 5 23:06:27 CEST 2010
BIOS-provided physical RAM map:
 BIOS-e801: 0000000000000000 - 000000000009f000 (usable)
 BIOS-e801: 0000000000100000 - 0000000020000000 (usable)
0MB HIGHMEM available.
512MB LOWMEM available.
found SMP MP-table at 000f8200
Using x86 segment limits to approximate NX protection
On node 0 totalpages: 131072
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 126976 pages, LIFO batch:16
  HighMem zone: 0 pages, LIFO batch:1
DMI not present.
ACPI: Unable to locate RSDP
Intel MultiProcessor Specification v1.4
    Virtual Wire compatibility mode.
OEM ID: COBALT   Product ID: 5000 Alpine  APIC at: 0xFEE00000
Processor #0 6:11 APIC version 17
I/O APIC #4 Version 17 at 0xFEC00000.
I/O APIC #5 Version 17 at 0xFEC01000.
Enabling APIC mode:  Flat.  Using 2 I/O APICs
Processors: 1
Allocating PCI resources starting at 30000000 (gap: 20000000:e0000000)
Built 1 zonelists
Kernel command line: console=ttyS0,115200 debug ip=off
mapped APIC to ffffc000 (fee00000)
Initializing CPU#0
PID hash table entries: 4096 (order: 12, 65536 bytes)
Detected 1263.669 MHz processor.
Using tsc for high-res timesource
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 515440k/524288k available (2110k kernel code, 8332k reserved, 746k data, 188k init, 0k highmem)
Calibrating delay using timer specific routine.. 2528.81 BogoMIPS (lpj=1264405)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0383fbff 00000000 00000000 00000000
CPU: After vendor identify, caps:  0383fbff 00000000 00000000 00000000
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 512K
CPU: After all inits, caps:        0383f3ff 00000000 00000000 00000040
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
CPU0: Intel(R) Pentium(R) III CPU - S         1266MHz stepping 04
per-CPU timeslice cutoff: 1462.62 usecs.
task migration cache decay ti1meout: 1 msecs.
Total of 1 processors activated (2528.81 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 pin1=0 pin2=0
Brought up 1 CPUs
zapping low mappings.
NET: Registered protocol family 16
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040816
ACPI: Interpreter disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
usbcore: registered new driver hub
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 0000:00:0f.1
PCI: Discovered primary peer bus 01 [IRQ]
PCI: Using IRQ router ServerWorks [1166/0201] at 0000:00:0f.0
PCI->APIC IRQ transform: (B0,I15,P0) -> 25
PCI->APIC IRQ transform: (B0,I15,P0) -> 25
PCI->APIC IRQ transform: (B1,I6,P0) -> 16
PCI->APIC IRQ transform: (B1,I7,P0) -> 17
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Real Time Clock Driver v1.12
Non-volatile memory driver v1.2
alim7101_wdt: Steve Hill steve@navaho.co.uk.
alim7101_wdt: ALi M7101 PMU not present - WDT not set
Serial: 8250/16550 driver $Revision: 1.90 $ 6 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
Ethernet Channel Bonding Driver: v2.6.3-rh (June 8, 2005)
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.
e100: Intel(R) PRO/100 Network Driver, 3.5.10-k2-NAPI
e100: Copyright(c) 1999-2005 Intel Corporation
e100: Modified by jeff@404ster.com to ignore bad EEPROM checksums
natsemi dp8381x driver, version 1.07+LK1.0.17, Sep 27, 2002
  originally by Donald Becker becker@scyld.com
  http://www.scyld.com/network/natsemi.html
  2.4.x kernel port by Jeff Garzik, Tjeerd Mulder
natsemi eth0: NatSemi DP8381[56] at 0xfebff000 (0000:01:06.0), 00:10:e0:06:34:d1, IRQ 16, port TP.
natsemi eth1: NatSemi DP8381[56] at 0xfebfe000 (0000:01:07.0), 00:10:e0:06:34:d2, IRQ 17, port TP.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SvrWks CSB5: IDE controller at PCI slot 0000:00:0f.1
SvrWks CSB5: chipset revision 146
SvrWks CSB5: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xfcb0-0xfcb7, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xfcb8-0xfcbf, BIOS settings: hdc:DMA, hdd:DMA
Probing IDE interface ide0...
hda: ST380011A, ATA DISK drive
Using deadline io scheduler
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Probing IDE interface ide1...
hda: max request size: 1024KiB
hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=16383/255/63, UDMA(100)
hda: cache flushes supported
 hda: hda1 hda2 hda3 hda4 < hda5 hda6 >
st: Version 20040403, fixed bufsize 32768, s/g segs 256
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd 0000:00:0f.2: ServerWorks OSB4/CSB5 OHCI USB Controller
ohci_hcd 0000:00:0f.2: irq 25, pci mem e0804000
ohci_hcd 0000:00:0f.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
USB Universal Host Controller Interface driver v2.2
mice: PS/2 mouse device common for all mice
i2c /dev entries driver
piix4_smbus 0000:00:0f.0: Found 0000:00:0f.0 device
md: linear personality registered as nr 1
md: raid0 personality registered as nr 2
md: raid1 personality registered as nr 3
md: raid5 personality registered as nr 4
raid5: automatically using best checksumming function: pIII_sse
   pIII_sse  :  2888.000 MB/sec
raid5: using function: pIII_sse (2888.000 MB/sec)
raid6: int32x1    390 MB/s
raid6: int32x2    468 MB/s
raid6: int32x4    394 MB/s
raid6: int32x8    332 MB/s
raid6: mmxx1     1148 MB/s
raid6: mmxx2     1437 MB/s
raid6: sse1x1    1078 MB/s
raid6: sse1x2    1472 MB/s
raid6: using algorithm sse1x2 (1472 MB/s)
md: raid6 personality registered as nr 8
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 131072 (order: 8, 1048576 bytes)
TCP: Hash tables configured (established 131072 bind 131072)
ip_conntrack version 2.1 (4096 buckets, 32768 max) - 344 bytes per conntrack
NET: Registered protocol family 1
NET: Registered protocol family 17
Cobalt system type is Alpine
Cobalt Networks ACPI driver 1.0 (modified by jeff@404ster.com)
Cobalt Networks LED driver 1.0 (modified by jeff@404ster.com)
Cobalt Networks LCD driver 4.0 (modified by jeff@404ster.com)
Cobalt Networks Serial Number driver 1.6 (modified by jeff@404ster.com)
Cobalt Networks Watchdog Timer driver 1.0 (modified by jeff@404ster.com)
Cobalt Networks Sensor driver 1.0 (modified by jeff@404ster.com)
Cobalt Networks Fan driver 1.0 (modified by jeff@404ster.com)
Cobalt Networks RAM Info driver 1.0 (modified by jeff@404ster.com)
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 188k freed
kjournald starting.  Commit interval 5 seconds

INIT: version 2.85 booting
        Welcome to  CentOS release 4.8 (Final)        Press 'I' to enter interactive startup.Setting clock : Fri May  7 22:59:01 CEST 2010 [  OK  ]
Starting udev:  [  OK  ]
Initializing hardware...  storage network audio done[  OK  ]
Configuring kernel parameters:  [  OK  ]
Setting hostname raq550bq.titox-net.es:  [  OK  ]
Checking root filesystem[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/hda1 /dev/hda1: clean, 33451/251392 files, 219980/502023 blocks (check in 4 mounts)[  OK  ]
Remounting root filesystem in read-write mode:  [  OK  ]
Checking filesystemsChecking all file systems.[/sbin/fsck.ext3 (1) -- /var] fsck.ext3 -a /dev/hda2 /dev/hda2: clean, 1542/251392 files, 83380/502031 blocks[/sbin/fsck.ext3 (1) -- /tmp] fsck.ext3 -a /dev/hda5 /dev/hda5: clean, 13/251392 files, 16105/502023 blocks[/sbin/fsck.ext3 (1) -- /home] fsck.ext3 -a /dev/hda6 /dev/hda6: clean, 642/8896512 files, 304698/17779930 blocks[  OK  ]
Mounting local filesystems:  [  OK  ]
Enabling local filesystem quotas:  [  OK  ]
rm: cannot remove `/var/run/dovecot/login': Is a directoryEnabling swap space:  [  OK  ]
INIT: Entering runlevel: 3
Entering non-interactive startupApplying Intel Microcode update: FATAL: Module microcode not found.[  OK  ]
ERROR: Module microcode does not exist in /proc/modulesChecking for new hardware [  OK  ]
Starting dbrecover:  [  OK  ]
Starting lcdstatus:  [  OK  ]
Applying iptables firewall rules: [  OK  ]
Setting network parameters:  [  OK  ]
Bringing up loopback interface:  [  OK  ]
Bringing up interface eth0:  [  OK  ]
Starting system logger: [  OK  ]
Starting kernel logger: [  OK  ]
[FAILED]
Starting cced: [  OK  ]
Running CCE constructors: Mounting other filesystems:  [  OK  ]
Starting lm_sensors:  [  OK  ]
Starting automount: No Mountpoints Defined[  OK  ]
Starting smartd: [  OK  ]
Starting sshd:[  OK  ]
Starting xinetd: [  OK  ]
Starting MySQL:  [  OK  ]
Starting Dovecot Imap: [  OK  ]
Starting admin web server: [  OK  ]
 [  OK  ]
Starting httpd: [  OK  ]
Starting crond: [  OK  ]
Starting poprelayd:  [  OK  ]
Starting atd: [  OK  ]
[  OK  ]
Starting lcdsleep.init:  [  OK  ]
Starting system message bus: [  OK  ]
Starting HAL daemon: [  OK  ]
CentOS release 4.8 (Final)Kernel 2.6.9-89.0.23.EL-cobalt on an i686raq550bq.titox-net.es
login: root
Password:

Thursday, April 16, 2009

New RaQCop firewall


The lasts days I was fighting with the Apache 2 reverse proxy functions to use two web servers with my ADSL connection. Unfortunately I had problems to redirect all the content I want. For this reason I decided to try an authentic Reverse Proxy software like Pound. But install Pound in one of the servers its not enough for me ;D

A new old project is alive: Run my own firewall in one server and install on it the Reverse Proxy. Just in time this week arrived a new toy: a Symantec Velociraptor 1100. In fact, the Velociraptor is a Cobalt RaQ 4i with a Special developed firmware and software (Axent originally). My Velociraptor came with a Cobalt 2.3.39 stored in the ROM but it doesn't shows the Cobalt logo at the display. Also has a Intel Pro 100 dual ethernet PCI-X card:


Due that the I don't have the original Velociraptor sofware, and I don't want to look for it because is old, not customizable and needs an expensive paid license I decided to install RaQCop. I had played with RaQCop before but not enogh time. RaQCop is a special version of ipCop that comes with a patched kernel for the RaQ hardware, LCD utils and a new administration web theme.

There is another firewall software ready for cobalt servers: Firebolt. Developed by the same team as Strongbolt, Firebolt is a port of the ClarkConnect firewall software, but this is a paid version (like Strongbolt) and I'm not sure which features are included by default. Maybe Firebolt is better solution for a home or office use as there is a very good manual and the support from ClarckConnect and OSOffice seems to be great. Firebolt will be the next game.

First of all the Velociraptor needed a ROM upgrade. Fortunately, I have a hard disk with the old CobaltOS ready and the Velociraptor boots from it. I get the necessary files for the upgrade from OSOffice, following this guide but doing a backup of the old ROM first. If you don't know which ROM maker your server has, you have to open the server and look to the chip as here is explained.


  1. Login via SSH as root.

  2. Go to temporary folder: # cd /tmp.

  3. Download the flashtool (in my case is ST branded): # wget http://www.osoffice.co.uk/linux/roms/flashtool-amd-st.

  4. Make the file executable: # chmod +x flashtool-amd-st.

  5. Backup the original cmos and then download it with a FTP software:
    # ./flashtool-amd-st -v -r > cobalt-vr-2.3.39-1M.rom
    ./flashtool-amd-st: searching for PCI 10b9:7101 : found it at /proc/bus/pci/00/03.0
    ./flashtool-amd-st: systype = COBT_3K
    ./flashtool-amd-st: bank 0: ST Microelectronics M29F080A 1MB
    ./flashtool-amd-st: Using pthread POSIX real time scheduling.
    ./flashtool-amd-st: reading page 0
    ./flashtool-amd-st: reading page 1
    ./flashtool-amd-st: reading page 2
    ./flashtool-amd-st: reading page 3
    ./flashtool-amd-st: reading page 4
    ./flashtool-amd-st: reading page 5
    ./flashtool-amd-st: reading page 6
    ./flashtool-amd-st: reading page 7
    ./flashtool-amd-st: reading page 8
    ./flashtool-amd-st: reading page 9
    ./flashtool-amd-st: reading page 10
    ./flashtool-amd-st: reading page 11
    ./flashtool-amd-st: reading page 12
    ./flashtool-amd-st: reading page 13
    ./flashtool-amd-st: reading page 14
    ./flashtool-amd-st: reading page 15
    ./flashtool-amd-st: flushing buffers

  6. Download the new ROM, this is for a GENIII RaQ, not valid for a RaQ 550: # wget http://www.osoffice.co.uk/linux/roms/cobalt-2.10.3-ext3-1M.rom.

  7. And now the critic job, write the new ROM:
    # ./flashtool-amd-st -v -w cobalt-2.10.3-ext3-1M.rom
    ./flashtool-amd-st: searching for PCI 10b9:7101 : found it at /proc/bus/pci/00/03.0
    ./flashtool-amd-st: systype = COBT_3K
    ./flashtool-amd-st: bank 0: ST Microelectronics M29F080A 1MB
    ./flashtool-amd-st: Using pthread POSIX real time scheduling.
    ./flashtool-amd-st: writing page 0
    ./flashtool-amd-st: buffer page 0 does not exist - creating it
    ./flashtool-amd-st: writing page 1
    ./flashtool-amd-st: buffer page 1 does not exist - creating it
    ./flashtool-amd-st: writing page 2
    ./flashtool-amd-st: buffer page 2 does not exist - creating it
    ./flashtool-amd-st: writing page 3
    ./flashtool-amd-st: buffer page 3 does not exist - creating it
    ./flashtool-amd-st: writing page 4
    ./flashtool-amd-st: buffer page 4 does not exist - creating it
    ./flashtool-amd-st: writing page 5
    ./flashtool-amd-st: buffer page 5 does not exist - creating it
    ./flashtool-amd-st: writing page 6
    ./flashtool-amd-st: buffer page 6 does not exist - creating it
    ./flashtool-amd-st: writing page 7
    ./flashtool-amd-st: buffer page 7 does not exist - creating it
    ./flashtool-amd-st: writing page 8
    ./flashtool-amd-st: buffer page 8 does not exist - creating it
    ./flashtool-amd-st: writing page 9
    ./flashtool-amd-st: buffer page 9 does not exist - creating it
    ./flashtool-amd-st: writing page 10
    ./flashtool-amd-st: buffer page 10 does not exist - creating it
    ./flashtool-amd-st: writing page 11
    ./flashtool-amd-st: buffer page 11 does not exist - creating it
    ./flashtool-amd-st: writing page 12
    ./flashtool-amd-st: buffer page 12 does not exist - creating it
    ./flashtool-amd-st: writing page 13
    ./flashtool-amd-st: buffer page 13 does not exist - creating it
    ./flashtool-amd-st: writing page 14
    ./flashtool-amd-st: buffer page 14 does not exist - creating it
    ./flashtool-amd-st: writing page 15
    ./flashtool-amd-st: buffer page 15 does not exist - creating it
    ./flashtool-amd-st: flushing buffers
    ./flashtool-amd-st: flushing block 0 to ROM... verifying... done
    ./flashtool-amd-st: flushing block 1 to ROM... verifying... done
    ./flashtool-amd-st: flushing block 2 to ROM... verifying... done
    ./flashtool-amd-st: flushing block 3 to ROM... verifying... done
    ./flashtool-amd-st: flushing block 4 to ROM... verifying... done
    ./flashtool-amd-st: flushing block 5 to ROM... verifying... done
    ./flashtool-amd-st: flushing block 6 to ROM... verifying... done
    ./flashtool-amd-st: flushing block 7 to ROM... verifying... done
    ./flashtool-amd-st: flushing block 8 to ROM... verifying... done
    ./flashtool-amd-st: flushing block 9 to ROM... verifying... done
    ./flashtool-amd-st: flushing block 10 to ROM... verifying... done
    ./flashtool-amd-st: flushing block 11 to ROM... verifying... done
    ./flashtool-amd-st: flushing block 12 to ROM... verifying... done
    ./flashtool-amd-st: flushing block 13 to ROM... verifying... done
    ./flashtool-amd-st: flushing block 14 to ROM... verifying... done
    ./flashtool-amd-st: flushing block 15 to ROM... verifying... done

  8. Now, if no errors appeared while the ROM upgrade, you can reboot. If you have errors you can repeat the process many time as you need. If still having errors write the backup ROM another time and DON'T REBOOT OR SHUTDOWN BEFORE THE ROM IS OK. The ROM is read at boot time and if it's wrong, you will convert your RaQ in a good case spare.

Be carefull to assure which type of EPROM you have. If your server has an Intel ROM chip you need a different flashtool created by Tim Hockin, as explained in the OSOffice guide.

The next Step is download the RaQCop image. I used a 128MB flash card as you can see in the next picture, but it was flashed some months ago:


RaQCop detects the four ethernet ports then I have 4 different zones: Green for the intranet, Red for de ADSL uplink, Blue for the wireless access point and Orange for the servers. Each zone works in its subnet and if I want to connect to a computer in a different zone I have to prepare a VPN or pinhole: a bit difficult for a newbbie as me but very safe.

Here you are the firewall running. Some adjustements had to be done in the GUI theme but it's so nice. To be continued...

Monday, December 31, 2007

Installing the no-ip client

I don't have static IP from my Internet provider, so I need use a Dynamic DNS server system to access my servers from everywhere I go. There is two major service providers: DynDNS and No-Ip.com. Some time ago I used the No-ip service in another project and I tried this now for hat reason and because I like its web interface (No tests with DynDNS are made but...). First decision made here comes the second: In what server install the client software? EASY, in the Cobalt RaQ 4... low power needed to run and usually it's running 24/7.

The process is very easy:

  1. Download the client software to te Cobalt appliance. In my case I download it with my workstation and then used FTP to put the file in the admin folder, but there is a beter and faster command to do: log as admin with any telnet client and the write wget http://www.no-ip.com/client/linux/noip-duc-linux.tar.gz,
  2. Uncompress the file. Write tar zxvf noip-duc-linux.tar.gz and press enter. Now you have a new folder called noip-2.1.7 -Obviously the numbers can change with a new release of the client-. go into the new folder with cd noip-2.1.7.
  3. Compile the client program. First you need become root user. Type su and press enter. You will be asked for the password, this password is the same as the admin one. The prompt must chage from $ to #. This means you are root and you can do everything, including deleting something important and crash the sever. Now type make and press enter, the server is compiling the software.
  4. Installing and configuring. When the compilation is done, type make install. Now the software is being copied to the destination folder -/usr/local/bin- and then the configuration wizard starts: it asks for your No-ip.com account user id and password, if you want to update all the existing domains or subdomains (in my case YES), and the time of check the domains.
  5. Starting the daemon at boot. First we need a script to turn the daemon ON, OFF and RESTART. With the client there is a script -redhat.noip.sh- that is ready to use. Copy it to the folder cp redhat.noip.sh /etc/rc.d/init.d/noip and make it executable: chmod +x noip. Now we need to link the script in the runlevel folders (3 is the default runlevel when the server is running, 6 is for reboot and 0 for HALT status):

# ln -s noip /etc/rc3.d/S99noip
# ln -s noip /etc/rc6.d/K99noip
# ln -s noip /etc/rc0.d/K99noip

And that's all.

P.D.: One question: Why I need to see my server from outside my home?....... to check how my torrents are going with torrentflux!!!!!!!

Links:

No-ip.com linux download page: http://www.no-ip.com/downloads.php?page=linux
The Newbie's Guide to the No-IP™ Linux Client: http://www.no-ip.com/support/guides/update_clients/setting_up_linux_update_client.html