Tuesday, September 14, 2010

Wacom Graphire2 and Irix update

Following this post in the Nekochan forums, I did some more test with my Wacom Graphire2 USB tablet. The goal was to check if pressure levels works with the sgi driver, the driver supplied with the Irix distribution cd's.

A quick search returned two interesting pages:

The results are good. Not fantastic but pressure levels are working. I never used a tablet before but in my case to use the pressure level function I have to use a button to draw. While I push the button I can move the pencil away and closer to change the with of the draw. If I press the tablet the color changes to background color. (Extracted from my post in Nekochan forums).

In the following pic you can find an example of the pressure changes in size and color. The config file is also open:


The next job will be check if the Absolute Mode works. I checked some different setting but with no results.
We will see...

Wednesday, September 8, 2010

Solaris 10 release 9/10

Don't forget to download the new release of Oracle (Sun) Solaris 10. Just launched. Check all the new features in the Oracle Solaris web page. Unfortunately the old Sun accounts aren't running and a new Oracle registration is needed until the old accounts are consolidated.

Sun Fire V120 as NAS part 8: Now with UFS filesystem (ZFS to UFS)

Before the summer I did a lot of test with a Sun Fire V120 Sparc server. At the time I used Solaris 10/09 installed in a 37GB disk and a ZFS array of three 18GB disk ia a Storedge S1. The results were bad in terms of network file transfer and I was thinking to reinstall everyrhin with a new UFS configuration.

Thats seems an easy job but The first step was so difficult: Solaris didn't want to changue the ZFS filesystem to UFS. After a lt of searching a I fund the good solution for Sparc Solaris (usually all the information was for x86 Solaris with a different format utility) here. Just a few steps are necessary.

1. We need to use the format utility once with each disc. Here how I re-labeled the first hd (SMI label needed):
# format -e c1t1d0
selecting c1t1d0
[disk formatted]

FORMAT MENU:
        disk       - select a disk
        type       - select (define) a disk type
        partition  - select (define) a partition table
        current    - describe the current disk
        format     - format and analyze the disk
        repair     - repair a defective sector
        label      - write label to the disk
        analyze    - surface analysis
        defect     - defect list management
        backup     - search for backup labels
        verify     - read and display labels
        inquiry    - show vendor, product and revision
        scsi       - independent SCSI mode selects
        cache      - enable, disable or query SCSI disk cache
        volname    - set 8-character volume name
        !     - execute , then return
        quit
format> label
[0] SMI Label
[1] EFI Label
Specify Label type[1]: 0
Auto configuration via format.dat[no]? no
format> quit
#
Now repeat with the next 4 hd's.

2. Partitioning is more complicated.
  • Start the format utility: # format c1t1d0.
  • Select in the menu: partition, an then  modify.
  • Select All free hog:
Select partitioning base:

        0. Current partition table (unnamed)

        1. All Free Hog

Choose base (enter number) [0]? 1

Part      Tag    Flag     Cylinders        Size            Blocks
  0       root    wm       0               0         (0/0/0)           0
  1       swap    wu       0               0         (0/0/0)           0
  2     backup    wu       0 - 7505       16.86GB    (7506/0/0) 35368272
  3 unassigned    wm       0               0         (0/0/0)           0
  4 unassigned    wm       0               0         (0/0/0)           0
  5 unassigned    wm       0               0         (0/0/0)           0
  6        usr    wm       0               0         (0/0/0)           0
  7 unassigned    wm       0               0         (0/0/0)          
  • At this stage we can change the partition sizes (this is a 18GB hd):
Do you wish to continue creating a new partition
table based on above table[yes]?
Free Hog partition[6]? 7
Enter size of partition '0' [0b, 0c, 0.00mb, 0.00gb]: 16gb
Enter size of partition '1' [0b, 0c, 0.00mb, 0.00gb]:
Enter size of partition '3' [0b, 0c, 0.00mb, 0.00gb]:
Enter size of partition '4' [0b, 0c, 0.00mb, 0.00gb]:
Enter size of partition '5' [0b, 0c, 0.00mb, 0.00gb]:
Enter size of partition '6' [0b, 0c, 0.00mb, 0.00gb]:


Part      Tag    Flag     Cylinders        Size            Blocks
  0       root    wm       0 - 7121       16.00GB    (7122/0/0) 33558864
  1       swap    wu       0               0         (0/0/0)           0
  2     backup    wu       0 - 7505       16.86GB    (7506/0/0) 35368272
  3 unassigned    wm       0               0         (0/0/0)           0
  4 unassigned    wm       0               0         (0/0/0)           0
  5 unassigned    wm       0               0         (0/0/0)           0
  6        usr    wm       0               0         (0/0/0)           0
  7 unassigned    wm    7122 - 7505      883.50MB    (384/0/0)   1809408

Okay to make this the current partition table[yes]?
Enter table name (remember quotes): array

Ready to label disk, continue? yes

partition> quit
format> quit
#
3. Now is time to copy the partition table to the other hd's using:
# prtvtoc /dev/rdsk/c1t1d0s2 | fmthard -s - /dev/rdsk/c2t1d0s2
Here I had an small problem because one of the hard disks is different, also 18 GB and Seagate but different model. I had to do all the partitioning one more time but with the same zise partitions.
Total disk cylinders available: 14076 + 2 (reserved cylinders)

Part      Tag    Flag     Cylinders         Size            Blocks
  0 unassigned    wm       0 - 13283       16.00GB    (13284/0/0) 33555384
  1 unassigned    wm       0                0         (0/0/0)            0
  2     backup    wu       0 - 14075       16.95GB    (14076/0/0) 35555976
  3 unassigned    wm       0                0         (0/0/0)            0
  4 unassigned    wm       0                0         (0/0/0)            0
  5 unassigned    wm       0                0         (0/0/0)            0
  6 unassigned    wm       0                0         (0/0/0)            0
  7 unassigned    wm   13284 - 14072      973.15MB    (789/0/0)    1993014
4. This step is easy, copy the metadata:
# metadb -a -f c1t1d0s7 c2t1d0s7 c2t2d0s7 c2t3d0s7
5. And create the Raid 5 array!!!
# metainit d0 -r c1t1d0s0 c2t1d0s0 c2t2d0s0 c2t3d0s0
d0: RAID configurado (RAID is setup)
Now the array is created but is not ready. Using metastat several times we can check the status of the build:
# metastat d0
d0: RAID
    Estado: Inicializando
    Inicialización en progreso:  0.4% terminado
    Entrelazado: 32 bloques
    Tamaño: 100653032 bloques (47 GB)
Dispositivo original:
     Tamaño: 100657536 bloques (47 GB)
        Dispositivo   Bloque de in Base        Estado Reubi  Repuesto en marcha
        c1t1d0s0          5042        No Inicializand    Sí
        c2t1d0s0          5042        No Inicializand    Sí
        c2t2d0s0          2856        No Inicializand    Sí
        c2t3d0s0          5042        No Inicializand    Sí

Device Relocation Information:
Device   Reloc  Device ID
c1t1d0   Sí     id1,sd@SFUJITSU_MAN3184M_SUN18G_02Z33997____
c2t1d0   Sí     id1,sd@SFUJITSU_MAN3184M_SUN18G_02Z35960____
c2t2d0   Sí     id1,sd@SSGI_____ST318404LC______3BT2FCQL0000V121048Z
c2t3d0   Sí     id1,sd@SFUJITSU_MAN3184M_SUN18G_02Z35919____

6. Finished!!!
# metastat d0
d0: RAID
    Estado: Correcto
    Entrelazado: 32 bloques
    Tamaño: 100653032 bloques (47 GB)
Dispositivo original:
     Tamaño: 100657536 bloques (47 GB)
        Dispositivo   Bloque de in Base        Estado Reubi  Repuesto en marcha
        c1t1d0s0          5042        No     Correcto    Sí
        c2t1d0s0          5042        No     Correcto    Sí
        c2t2d0s0          2856        No     Correcto    Sí
        c2t3d0s0          5042        No     Correcto    Sí

Device Relocation Information:
Device   Reloc  Device ID
c1t1d0   Sí     id1,sd@SFUJITSU_MAN3184M_SUN18G_02Z33997____
c2t1d0   Sí     id1,sd@SFUJITSU_MAN3184M_SUN18G_02Z35960____
c2t2d0   Sí     id1,sd@SSGI_____ST318404LC______3BT2FCQL0000V121048Z
c2t3d0   Sí     id1,sd@SFUJITSU_MAN3184M_SUN18G_02Z35919____

7. When the array is finished we can create the filesystem (and wait a lot more time):
# newfs -i 8192 /dev/md/rdsk/d0
newfs: construir un nuevo sistema de archivos /dev/md/rdsk/d0: (y/n)? y
 
Advertencia: 4120 sector(es) en el último cilindro sin asignar
/dev/md/rdsk/d0:        100653032 sectores en 16383 cilindros de 48 pistas, 128 sectores
        49147,0MB en 1024 grupos de cilindros (16 c/g, 48,00MB/g, 5824 i/g)
copias de seguridad super-bloque (para fsck -F ufs -o b=#) en:
 32, 98464, 196896, 295328, 393760, 492192, 590624, 689056, 787488, 885920,
Inicializando grupos de cilindros:
....................
copias de seguridad del superbloque de los últimos 10 grupos de cilindros en:
 99687200, 99785632, 99884064, 99982496, 100080928, 100179360, 100277792, 100376224, 100474656, 100573088
Sorry, I installed Solaris in Spanish but....

9. Now we can mount the filesystem in a directory and it will be ready for use. The same name as my first atempt with ZFS:
# mkdir /fsshared
# mount -F ufs /dev/md/dsk/d0 /fsshared

10. The final step is to make the mount persistent.we need to insert a new line in the /etc/vfstab (data separated with tabs)
/etc/vfstab
#device         device          mount           FS      fsck    mount   mount
#to mount       to fsck         point           type    pass    at boot options
#
fd      -       /dev/fd fd      -       no      -
/proc   -       /proc   proc    -       no      -
/dev/dsk/c1t0d0s1       -       -       swap    -       no      -
/dev/dsk/c1t0d0s0       /dev/rdsk/c1t0d0s0      /       ufs     1       no
-
/dev/dsk/c1t0d0s7       /dev/rdsk/c1t0d0s7      /export/home    ufs     2
yes     -
/devices        -       /devices        devfs   -       no      -
sharefs -       /etc/dfs/sharetab       sharefs -       no      -
ctfs    -       /system/contract        ctfs    -       no      -
objfs   -       /system/object  objfs   -       no      -
/dev/md/dsk/d0  /dev/md/rdsk/d0 /fsshared       ufs     2       yes     -
swap    -       /tmp    tmpfs   -       yes     -

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:

Tuesday, May 4, 2010

Troubleshooting kernel package installation

If after applying my kernel 2.6.9-89.0.20 package the lcd shows 'IP Address not set' , there is a failure in the upgrade installation. This is because yum had installed newer kernels and the rpm software don't want to install the rpm included in this package.
1.- To repair it you need to boot the server with a terminal connected to the serial console port. When the message 'Press spacebar to enter ROM mode' appears, press the space bar.
2.- Once in the ROM menu type 'bfd /boot/vmlinux_old_002.bz2'. This command forces to boot from the old kernel.
3.- Login to the server as root.
4.- # cd /boot
5.- # rpm -i --force http://www.titox-net.es/downloads/cobalt/BlueQuartz/kernel/linux-2.6.9-89.0.20-cobalt/kernel-2.6.9-89.0.20_cobalt.i386.rpm
6.- # ln -s vmlinux-2.6.9-89.0.20.EL-cobalt.bz2 vmlinux.bz2
7.- # reboot
There is a mistake in the kernel config and RAID devices are not working... OK I will compile a new version soon as possible, I need for my new server!!!!!!! Sorry guys.

A big-little scare: Burning RaQ 4 ROM failure!!!!

Yesterday I started to update an spare RaQ 4i to use it as main server at home. The old RaQ 4 have worked the last 3 years without any stop and I feel that I need to change the server for caution.

This second RaQ 4i has two extra ethernets ports and two 120GB Seagate hard disks but now it's loaded with the old Cobalt OS (fully upgraded). I tried to compile MySQL 5.1.46 on it but I has some problems and decided to upgrade the kernel to 2.4.36 (Zeffie's kernel). But this new kernel needs ROM version 2.10.3-ext3.

First I started doing a backup of the old ROM:
[root /root]# ./flashtool -v -r > cobalt-2.3.34-1M.rom
./flashtool: searching for PCI 10b9:7101 : found it at /proc/bus/pci/00/03.0
./flashtool: systype = COBT_3K
./flashtool: bank 0: ST Microelectronics M29F080A 1MB
./flashtool: reading page 0
./flashtool: reading page 1
./flashtool: reading page 2
./flashtool: reading page 3
./flashtool: reading page 4
./flashtool: reading page 5
./flashtool: reading page 6
./flashtool: reading page 7
./flashtool: reading page 8
./flashtool: reading page 9
./flashtool: reading page 10
./flashtool: reading page 11
./flashtool: reading page 12
./flashtool: reading page 13
./flashtool: reading page 14
./flashtool: reading page 15
./flashtool: flushing buffers
Like I did before in other servers I started using Tim Hocking's flashtool and OUCH!!! FAILED!!!!:
[root /root]# ./flashtool -v -w cobalt-2.10.3-ext3-1M.rom
./flashtool: searching for PCI 10b9:7101 : found it at /proc/bus/pci/00/03.0
./flashtool: systype = COBT_3K
./flashtool: bank 0: ST Microelectronics M29F080A 1MB
./flashtool: writing page 0
./flashtool: buffer page 0 does not exist - creating it
./flashtool: writing page 1
./flashtool: buffer page 1 does not exist - creating it
./flashtool: writing page 2
./flashtool: buffer page 2 does not exist - creating it
./flashtool: writing page 3
./flashtool: buffer page 3 does not exist - creating it
./flashtool: writing page 4
./flashtool: buffer page 4 does not exist - creating it
./flashtool: writing page 5
./flashtool: buffer page 5 does not exist - creating it
./flashtool: writing page 6
./flashtool: buffer page 6 does not exist - creating it
./flashtool: writing page 7
./flashtool: buffer page 7 does not exist - creating it
./flashtool: writing page 8
./flashtool: buffer page 8 does not exist - creating it
./flashtool: writing page 9
./flashtool: buffer page 9 does not exist - creating it
./flashtool: writing page 10
./flashtool: buffer page 10 does not exist - creating it
./flashtool: writing page 11
./flashtool: buffer page 11 does not exist - creating it
./flashtool: writing page 12
./flashtool: buffer page 12 does not exist - creating it
./flashtool: writing page 13
./flashtool: buffer page 13 does not exist - creating it
./flashtool: writing page 14
./flashtool: buffer page 14 does not exist - creating it
./flashtool: writing page 15
./flashtool: buffer page 15 does not exist - creating it
./flashtool: flushing buffers
./flashtool:   flushing block 0 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 0! Bad flash chip?
 done
./flashtool:   flushing block 1 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 1! Bad flash chip?
 done
./flashtool:   flushing block 2 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 2! Bad flash chip?
 done
./flashtool:   flushing block 3 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 3! Bad flash chip?
 done
./flashtool:   flushing block 4 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 4! Bad flash chip?
 done
./flashtool:   flushing block 5 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 5! Bad flash chip?
 done
./flashtool:   flushing block 6 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 6! Bad flash chip?
 done
./flashtool:   flushing block 7 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 7! Bad flash chip?
 done
./flashtool:   flushing block 8 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 8! Bad flash chip?
 done
./flashtool:   flushing block 9 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 9! Bad flash chip?
 done
./flashtool:   flushing block 10 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 10! Bad flash chip?
 done
./flashtool:   flushing block 11 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 11! Bad flash chip?
 done
./flashtool:   flushing block 12 to ROM..../flashtool: flashrom_flush_buffers(): write failed for block 12! Bad flash chip?
 done
./flashtool:   flushing block 13 to ROM... verifying...  done
./flashtool:   flushing block 14 to ROM... verifying...  done
./flashtool:   flushing block 15 to ROM... verifying...  done
./flashtool: flashrom_cleanup(): device error flushing buffers
As you can see this server has the standard old ST ROM chip. I upgraded this brand roms with this tool but yesterday it won't run. Fortunately I have a copy of Duncan's flashtool (the small one - 400 KB) and it worked fine. I uploaded via FTP and burned the rom:
[root /root]# ./flashtool -v -w cobalt-2.10.3-ext3-1M.rom
./flashtool: searching for PCI 10b9:7101 : found it at /proc/bus/pci/00/03.0
./flashtool: systype = COBT_3K
./flashtool: bank 0: ST Microelectronics M29F080A 1MB
./flashtool: Using pthread POSIX real time scheduling.
./flashtool: writing page 0
./flashtool: buffer page 0 does not exist - creating it
./flashtool: writing page 1
./flashtool: buffer page 1 does not exist - creating it
./flashtool: writing page 2
./flashtool: buffer page 2 does not exist - creating it
./flashtool: writing page 3
(...)
Very important in this case was to not power off the server: if after a failed rom burn the server is powered off, the server will be a brick, totally dead.

For this reason now I have both flashtool programs mirrored in my server here: http://www.titox-net.es/downloads/cobalt/rom/

Sunday, May 2, 2010

Sun Fire V120 as NAS part 7: Gigabit networking


Well, one week ago I received a new Sun Quad GigaSwift PCI card for this server. It's a full lenght PCI card with 64 bits PCI bus, but works in 32 bits PCI bus also.

As you can see in the pictures, the card installation is very easy. Only take out the blank bracket and the small grey plastic, then mount the card in th server slot. Finally return to set the grey plastic which locks the rear part of the GigaSiwft.

The network cards can be configured via the ifconfig utility in Solaris but to make this configurations stored we have to do some more file editting:

1.- The first step is to check if the server detects the GigaSwift card:
# grep ce /etc/path_to_inst
"/pci@1f,0/pci@1/pci@5/pci@0/network@0" 0 "ce"
"/pci@1f,0/pci@1/pci@5/pci@0/network@1" 1 "ce"
"/pci@1f,0/pci@1/pci@5/pci@4/network@2" 2 "ce"
"/pci@1f,0/pci@1/pci@5/pci@4/network@3" 3 "ce"
2.- Second step: create the /etc/hostname.ce0 file containing the name of the server. This name can't be the same in two different ethernet ports. In the 100MB port I'm using v120 as hostname, now I added a 'g' to the name:
# cat /etc/hostname.ce0
v120g
ce0 is the instance number for the port I'm going to use. I only need one port of the four installed with this card. If we want to use more port, more hostname.ce'instance_number' are needed.

3.- Now we have to edit the /etc/inet/hosts file but the vi editor says it's write protected (and I'm doing it beeing root). Like other changes I did before, I uploaded this file to my laptop via FTP, modified with a text editor and then downloaded to the server.
# cd /etc/inet
# cp /export/home/admin/hosts .

# cat /etc/inet/hosts
#
# Internet host table
#
::1     localhost
127.0.0.1       localhost
192.168.2.120   v120    loghost
192.168.5.120   v120g
~
4.- With the two configuration files ready, the card can be turned on:
# ifconfig ce0 plumb 192.168.5.120 up

Unfortunately the trasfer speed is the same as the speed obtained with the 100MB onboard port. Yes, I know there is a lot of parameters to tune, but I will look on the next days. Another problem I found is that: with both Ethernet ports configured (onboard an GigaSwift), when I unplug the onboard port cable, I have a lot of problems to connect with the Gigaswift (well, I can't connect). I think this is because Solaris uses the main port to check against DNS server. Then, I disconfigured the onboard ethernet port:

1.- Unplumb the card:
# ifconfig -a
lo0: flags=2001000849 mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
ce0: flags=1000843 mtu 1500 index 2
        inet 192.168.5.120 netmask ffffff00 broadcast 192.168.5.255
        ether 0:3:ba:5c:2b:7d
eri0: flags=1000843 mtu 1500 index 3
        inet 192.168.2.120 netmask ffffff00 broadcast 192.168.2.255
        ether 0:3:ba:5c:2b:7d


# ifconfig eri0 unplumb

# ifconfig -a
lo0: flags=2001000849 mtu 8232 index 1
        inet 127.0.0.1 netmask ff000000
ce0: flags=1000843 mtu 1500 index 2
        inet 192.168.5.120 netmask ffffff00 broadcast 192.168.5.255
        ether 0:3:ba:5c:2b:7d
2.- Delete the /etc/hosts entry (I modified the file in my laptop):
# cd /etc/inet
# cp hosts hosts.old
# cp /export/home/admin/hosts .
# cat hosts

#
# Internet host table
#
::1     localhost
127.0.0.1       localhost
192.168.5.120   v120g   loghost
3. Delete the /etc/hostname.eri0 file (here I moved it):
# cd /etc
# ls hostname*
hostname.ce0   hostname.eri0
# mv hostname.eri0 hostname.ri0.old
4.- Unplumb the ethernet port (and reboot):
# ifconfig eri0 unplumb
# reboot
Now everything works good with only the GigaSwift port 0 attached to the network. Something that is killing me is the low speed transfer via FTP. I can only reach 4.5 MB/s. This is a very low value. While doing a file tranfer I checked the server status with iostat:
# iostat
   tty        sd0           sd3           sd16          sd17           cpu
 tin tout kps tps serv  kps tps serv  kps tps serv  kps tps serv   us sy wt id
   0    1   2   0    4  439   8   28  789   8   26  758   8   31   60 26  0 14
Here I can see that the CPU is hard working. Maybe all the calculations needed by Samba, ftp and the other services joined by the ZFS filesystem are eating a lot of resources. I think I will check to optimize the network parameters for play and then I will reformat the hard disks using SVM instead of ZFS.

P.D.: Do you know what is this? (Check picture)

Monday, April 19, 2010

Sun Fire V120 as NAS part 6: Network shares and RAM upgrade

Ok. Time to start some file sharing protocols.

First the easy part: NFS.
Solaris comes with NFS4 (backwards compatible with NFS2 and NFS3). Not very important in a normal home but in my case, this is the best option to share information with my SGI boxes. Only three steps are needed to start sharing, Fantastic!

1. Make writable to everybody the folder where I want to share. I use the same array than before:
# chmod 777 /fsshared
2. Add the share information to the file /etc/dfs/dfstab
#       Place share(1M) commands here for automatic execution
#       on entering init state 3.
#
#       Issue the command 'svcadm enable network/nfs/server' to
#       run the NFS daemon processes and the share commands, after adding
#       the very first entry to this file.
#
#       share [-F fstype] [ -o options] [-d ""] [resource]
#       .e.g,
#       share  -F nfs  -o rw=engineering  -d "home dirs"  /export/home2
share -F nfs -o rw -d "fsshared V120" /fsshared
3. Start sharing:
# shareall
The dfstab entry goes:
  • -F nfs .- Type of sharing.
  • -o rw .- The options. Here I only used read-write but there is a lot more (including loggin), but I just don't need.
  • -d "fsshared V120" .- Obviously is only a comment.
  • /fsshared .- Here comes the folder I want to export.
Here some captures from my Fuel mounting the exported folder of the Sun Fure V120:

Second part is SAMBA!
This is the standard Windows protocol. At the time the most important in any home or company. From a lot of time ago samba.org is publising the source code and it's widely used but all the test I did before (and some test done by friends) are telling Samba is slow, in Solaris and in Linux.

Configure Samba in Solaris is not as easy as I was thinking before to use it.
1. Check if Samba is installed. Well, installing Solaris with OEM option, Samba must be installed:
# /usr/sfw/sbin/smbd -V
Version 3.0.35
2. Now we have to create the smb.conf file. I copied the exampled provided with the Solaris installation:
# cd /etc/sfw
# cp smb.conf-example smb.conf
3. Edit the configuratin file. I modified three parts: The allowed ip ranges (my network subnet and localhost):
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
   hosts allow = 192.168.2. 127.
 Set the Windows workgroup name:
# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
   workgroup = WORKGROUP
And the last one, the shared folder. I want the folder open read-write to everybody, then the guest ok option must be set and the guest only option must be removed! The docs says guest only is discarded with guest ok but in my case guest ok was discarded with both options in the configuration of the folder.


# A publicly accessible directory, read/write to all users. Note that all files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of course
# be specified, in which case all files would be owned by that user instead.
[public]
   path = /fsshared
   public = yes
   guest ok = yes
   writable = yes
   printable = no
   browseable = yes
4. Test the configuration file:
# /usr/sfw/bin/testparm

Load smb config files from /etc/sfw/smb.conf
Processing section "[homes]"
Processing section "[printers]"
Processing section "[public]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
5. Add a user to the Samba database:
#  /usr/sfw/bin/smbpasswd -a admin
New SMB password:
Retype new SMB password:
Added user admin.
6. The last part must be start the samba service:
# svcadm enable samba
----------------------------------------------------------------------------------------------------------
UPDATE: 2010/09/08
7. Now Samba is working but I can't see the computer in the Windows Explorer (or other smb bowsers): The last step is activate WINS:
# svcadm enable wins

Here you have the old post part (italic letter). NOT NECESSARY.
A new test showed that I don't need to do the next part. At the end 
but in my case it didn't work. After some googling I found this guide related to Solaris u4, and I followed. Samba didn't start and after a new search I found a fault in my smb.conf: I writed /fssaredc instead of the name of my shared folder.
Now I have two commands to start samba:
# svcadm enable samba:smbd
# svcadm enable samba:nmbd
End of the update
----------------------------------------------------------------------------------------------------------
But it's working:
And here comes the bad part. I only get 4.3 MB/s downloading the test file via FTP and 1.9 MB/s via Samba! The V120 is connected to my main router via a non manageable HP ProCurve gigabit switch and the client is a Dell Precsion 390 with the onboard Broadcom gigabit network chipset. I did some checks in the V120 network port configuration but I didn't find anything wrong. Well, I will check later. Anyway I have a Quad GigaSwift PCI card at the mail coming home.

RAM tests.
Thursday arrived some more RAM sticks, 4x1GB ECC registered sticks!!!
I did various test with different amount of memory: 512 MB (one stick that came with the server), 2 GB and 4 GB.

                                 512MB         2 GB        4GB
-----------------------------------------------------------------------
From RAID5 to system disk.      12.8 MB/s    17.8 MB/s   26.9 MB/s
From system disk to RAID5.      11.3 MB/s    18.6 MB/s   21.6 MB/s
From RAID5 to disk 2.           12,5 MB/s    20.9 MB/s   32.0 MB/s

I was expecting a great improvement from 512 MB to 2 Gb, but I also discovered a great rise in performance with 4 GB using the RAID5 array. Yes, ZFS needs a lot of memory!
Note that tests are done by hand and I only did the test one or two times but are enough for comparision. At least for me!