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)