You are on page 1of 10

Hi to all !

This howto is aimed to , people, that loves to work with monsters , that now, are
cheap , because they are getting older, of course e.bay-iing sport is nice because
You can find really
nice devices to load slackware for server o just for fun.
In that case x350 Ibm server , 2 cpus xeon 700 Mhz , raid 4L configuration 1 , 2
disk 16G in raid configuration The moster is:

x350
Ok ,firts at all, we need the serveraid cd , from IBM site,depending your
configuration you can setup , your disk at your own taste , in that case raid 1,
Once You have the raid ready , then insert the Slackware cd #1 in the drive and
boot the system, choose the kernel especially tailored with the name raid.s , with
the F3 key you can see all types of kernel, in our case , the kernel is able to
discover all the hardware in that server whith no issues .
After that , you have to "prepare" the hard" disk, raid is just /dev/sda and the
raid disks are like a "one" scsi disk.that means :

cfdisk /dev/sda

, please partition the disk at your own taste, and leave a chunk of this for swap.

The following procedure , is just like a normal slack installation, keyboard ,


packages to install, network, the default network card, module loaded properly,
and graphic built-in board ,is auto configured by Xorg , with no special issue .

The list of modules are:

root@x350:~# lsmod
Module Size Used by Not tainted
8139too 15624 0 (unused)
pcnet32 19396 1
mii 2432 0 [8139too pcnet32]
crc32 2880 0 [8139too pcnet32]
usb-ohci 20104 0 (unused)
usbcore 64876 1 [usb-ohci]
pcmcia_core 45316 0
ide-scsi 10320 0

This is the firts part of our projet, now we are going to use the smp , o
multiprocesor capability in linux , because we have to pentium xeon 700 Mhz 1Mbyte
cache.
To achieve that , we must compile the kernel , this is the procedure:

#su -

password:(type your root password here)

root#

root# cd /usr/src/linux

root# cp .config /tmp

this allows you to have no modifies in that important file in a

secure place like /tmp


root#make mrproper

root# make menuconfig

go to the following lines , smpt and procesor type and click

in acordance, do not touch any other options unless you know

what are You doing,

x350 setup

and now the smpt feature


x350 setup

# make dep

# make clean

# make bzImage

# make modules

# mv /boot/vmlinuz /boot/vmlinuz.good
# cat arch/i386/boot/bzImage > /vmlinuz
# mv /boot/System.map /boot/System.map.good
# cp System.map /boot/System.map
# make modules_install

Then edit vi

#vi /etc/lilo.conf

and see my lilo conf:

# LILO configuration file


# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/sda
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda1
label = Linux_smp
read-only
image = /boot/vmlinuz.old
root = /dev/sda1
label = Linux_good
read-only
# Linux bootable partition config ends

then run

#lilo -v

# make dep

# make clean

# make bzImage
# make modules
# mv /boot/vmlinuz /boot/vmlinuz.good
# cat arch/i386/boot/bzImage > /vmlinuz
# mv /boot/System.map /boot/System.map.good
# cp System.map /boot/System.map
# make modules_install
Then edit vi
#vi /etc/lilo.conf
and see my lilo conf:
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
boot = /dev/sda
message = /boot/boot_message.txt
prompt
timeout = 1200
# Override dangerous defaults that rewrite the partition table:
change-rules
reset
# VESA framebuffer console @ 1024x768x256
vga = 773
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
# End LILO global section
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda1
label = Linux_smp
read-only
image = /boot/vmlinuz.old
root = /dev/sda1
label = Linux_good
read-only
# Linux bootable partition config ends
then run
#lilo -v
allows You to see if all goes right
reboot and cross your fingers,
Is nice to see to 2 Penguin icons during boot up secuence, instead of
one !.
Ok Your are working with a professional server , and smpt activated.

allows You to see if all goes right

reboot and cross your fingers,

Is nice to see to 2 Penguin icons during boot up secuence, instead of

one !.

Ok Your are working with a professional server , and smpt activated.

See my dmessg at x350:

root@x350:/usr/src/linux# dmesg
Linux version 2.4.31 (root@x350) (gcc version 3.3.6) #1 SMP Sun Nov 27 20:23:11
CET 2005
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009c000 (usable)
BIOS-e820: 000000000009c000 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001fff9380 (usable)
BIOS-e820: 000000001fff9380 - 0000000020000000 (ACPI data)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
511MB LOWMEM available.
found SMP MP-table at 0009c1d0
hm, page 0009c000 reserved twice.
hm, page 0009d000 reserved twice.
hm, page 0009c000 reserved twice.
hm, page 0009d000 reserved twice.
On node 0 totalpages: 131065
zone(0): 4096 pages.
zone(1): 126969 pages.
zone(2): 0 pages.
IBM machine detected. Enabling interrupts during APM calls.
ACPI: RSDP (v000 IBM ) @ 0x000fdfd0
ACPI: RSDT (v001 IBM SERASSLT 0x00001001 IBM 0x45444f43) @ 0x1fffff80
ACPI: FADT (v001 IBM SERASSLT 0x00001001 IBM 0x45444f43) @ 0x1fffff00
ACPI: MADT (v001 IBM SERASSLT 0x00001001 IBM 0x45444f43) @ 0x1ffffe80
ACPI: DSDT (v001 IBM SERASSLT 0x00001001 MSFT 0x0100000b) @ 0x00000000
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x01] enabled)
Processor #1 Pentium(tm) Pro APIC version 17
ACPI: LAPIC (acpi_id[0x01] lapic_id[0x00] enabled)
Processor #0 Pentium(tm) Pro APIC version 17
Using ACPI for processor (LAPIC) configuration information
Intel MultiProcessor Specification v1.4
Virtual Wire compatibility mode.
OEM ID: IBM ENSW Product ID: NF 6000R SMP APIC at: 0xFEE00000
I/O APIC #14 Version 17 at 0xFEC00000.
I/O APIC #13 Version 17 at 0xFEC01000.
Enabling APIC mode: Flat. Using 2 I/O APICs
Processors: 2
Kernel command line: BOOT_IMAGE=Linux_nuevosmp ro root=801
Initializing CPU#0
Detected 699.475 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 1395.91 BogoMIPS
Memory: 514472k/524260k available (2309k kernel code, 9388k reserved, 711k data,
164k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU: After generic, caps: 0383fbff 00000000 00000000 00000000
CPU: Common caps: 0383fbff 00000000 00000000 00000000
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
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU: After generic, caps: 0383fbff 00000000 00000000 00000000
CPU: Common caps: 0383fbff 00000000 00000000 00000000
CPU0: Intel Pentium III (Cascades) stepping 01
per-CPU timeslice cutoff: 2927.35 usecs.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Booting processor 1/0 eip 2000
Initializing CPU#1
masked ExtINT on CPU#1
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Calibrating delay loop... 1395.91 BogoMIPS
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 1024K
CPU: After generic, caps: 0383fbff 00000000 00000000 00000000
CPU: Common caps: 0383fbff 00000000 00000000 00000000
CPU1: Intel Pentium III (Cascades) stepping 01
Total of 2 processors activated (2791.83 BogoMIPS).
ENABLING IO-APIC IRQs
Setting 14 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 14 ... ok.
Setting 13 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 13 ... ok.
init IO_APIC IRQs
IO-APIC (apicid-pin) 14-0, 13-10, 13-11, 13-12, 13-13, 13-14, 13-15 not
connected.
..TIMER: vector=0x31 pin1=2 pin2=-1
..MP-BIOS bug: 8254 timer not connected to IO-APIC
...trying to set up timer (IRQ0) through the 8259A ... failed.
...trying to set up timer as Virtual Wire IRQ... works.
number of MP IRQ sources: 39.
number of IO-APIC #14 registers: 16.
number of IO-APIC #13 registers: 16.
testing the IO APIC.......................

IO APIC #14......
.... register #00: 0E000000
....... : physical APIC id: 0E
....... : Delivery Type: 0
....... : LTS : 0
.... register #01: 000F0011
....... : max redirection entries: 000F
....... : PRQ implemented: 0
....... : IO APIC version: 0011
.... register #02: 0E000000
....... : arbitration: 0E
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 003 03 0 0 0 0 0 1 1 39
02 000 00 1 0 0 0 0 0 0 00
03 003 03 0 0 0 0 0 1 1 41
04 003 03 0 0 0 0 0 1 1 49
05 003 03 1 1 0 1 0 1 1 51
06 003 03 0 0 0 0 0 1 1 59
07 003 03 0 0 0 0 0 1 1 61
08 003 03 0 0 0 0 0 1 1 69
09 003 03 1 1 0 1 0 1 1 71
0a 003 03 1 1 0 1 0 1 1 79
0b 003 03 1 1 0 1 0 1 1 81
0c 003 03 0 0 0 0 0 1 1 89
0d 003 03 0 0 0 0 0 1 1 91
0e 003 03 0 0 0 0 0 1 1 99
0f 003 03 1 1 0 1 0 1 1 A1

IO APIC #13......
.... register #00: 0D000000
....... : physical APIC id: 0D
....... : Delivery Type: 0
....... : LTS : 0
.... register #01: 000F0011
....... : max redirection entries: 000F
....... : PRQ implemented: 0
....... : IO APIC version: 0011
.... register #02: 0D000000
....... : arbitration: 0D
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 003 03 1 1 0 1 0 1 1 A9
01 003 03 1 1 0 1 0 1 1 B1
02 003 03 1 1 0 1 0 1 1 B9
03 003 03 1 1 0 1 0 1 1 C1
04 003 03 1 1 0 1 0 1 1 C9
05 003 03 1 1 0 1 0 1 1 D1
06 003 03 1 1 0 1 0 1 1 D9
07 003 03 1 1 0 1 0 1 1 E1
08 003 03 1 1 0 1 0 1 1 E9
09 003 03 1 1 0 1 0 1 1 32
0a 000 00 1 0 0 0 0 0 0 00
0b 000 00 1 0 0 0 0 0 0 00
0c 000 00 1 0 0 0 0 0 0 00
0d 000 00 1 0 0 0 0 0 0 00
0e 000 00 1 0 0 0 0 0 0 00
0f 000 00 1 0 0 0 0 0 0 00
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ3 -> 0:3
IRQ4 -> 0:4
IRQ5 -> 0:5
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ10 -> 0:10
IRQ11 -> 0:11
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
IRQ16 -> 1:0
IRQ17 -> 1:1
IRQ18 -> 1:2
IRQ19 -> 1:3
IRQ20 -> 1:4
IRQ21 -> 1:5
IRQ22 -> 1:6
IRQ23 -> 1:7
IRQ24 -> 1:8
IRQ25 -> 1:9
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 699.4525 MHz.
..... host bus clock speed is 99.9216 MHz.
cpu: 0, clocks: 999216, slice: 333072
CPU0
cpu: 1, clocks: 999216, slice: 333072
CPU1
checking TSC synchronization across CPUs: passed.
Waiting on wait_init_idle (map = 0x2)
All processors have done init_idle
PCI: PCI BIOS revision 2.10 entry at 0xfd32c, last bus=8
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Discovered peer bus 02
PCI: Discovered peer bus 05
PCI->APIC IRQ transform: (B0,I1,P0) -> 20
PCI->APIC IRQ transform: (B0,I5,P0) -> 16
PCI->APIC IRQ transform: (B0,I15,P0) -> 19
PCI->APIC IRQ transform: (B2,I1,P0) -> 17
PCI->APIC IRQ transform: (B2,I1,P1) -> 18
PCI->APIC IRQ transform: (B5,I2,P0) -> 21
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
vesafb: framebuffer at 0xf0000000, mapped to 0xe080d000, size 1536k
vesafb: mode is 1024x768x8, linelength=1024, pages=9
vesafb: protected mode interface info at c000:79b6
vesafb: scrolling: redraw
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
pty: 512 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT 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
Floppy drive(s): fd0 is 1.44M
FDC 0 is a National Semiconductor PC87306
RAMDISK driver initialized: 16 RAM disks of 7777K size 1024 blocksize
loop: loaded (max 8 devices)
Compaq SMART2 Driver (v 2.4.28)
HP CISS Driver (v 2.4.52)
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 OSB4: IDE controller at PCI slot 00:0f.1
SvrWks OSB4: chipset revision 0
SvrWks OSB4: not 100% native mode: will probe irqs later
ide0: BM-DMA at 0x0700-0x0707, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0x0708-0x070f, BIOS settings: hdc:pio, hdd:pio
hda: LTN486S, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: attached ide-cdrom driver.
hda: ATAPI 48X CD-ROM drive, 120kB Cache, (U)DMA
Uniform CD-ROM driver Revision: 3.12
SCSI subsystem driver Revision: 1.00
Loading Adaptec I2O RAID: Version 2.4 Build 5
Detecting Adaptec I2O RAID controllers...
Red Hat/Adaptec aacraid driver (1.1-3 Nov 27 2005 20:27:04)
ips 05:02.0:Warning ! ! ! ServeRAID Version Mismatch
ips 05:02.0:Bios = 6.10.24, Firmware = 6.10.24, Device Driver = 7.10.18
ips 05:02.0:These levels should match to avoid possible compatibility problems.
scsi0 : IBM PCI ServeRAID 7.10.18 Build 731
Vendor: IBM Model: SERVERAID Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
Vendor: IBM Model: SERVERAID Rev: 1.00
Type: Processor ANSI SCSI revision: 02
Vendor: IBM Model: YGLv3 S2 Rev: 0
Type: Processor ANSI SCSI revision: 02
Vendor: IBM Model: YGHv3 S2 Rev: 0
Type: Processor ANSI SCSI revision: 02
megaraid: v1.18k (Release Date: Thu Aug 28 10:05:11 EDT 2003)
megaraid: no BIOS enabled.
3ware Storage Controller device driver for Linux v1.02.00.037.
3w-xxxx: No cards found.
Attached scsi disk sda at scsi0, channel 0, id 0, lun 0
SCSI device sda: 35547136 512-byte hdwr sectors (18200 MB)
Partition check:
sda: sda1 sda2
Attached scsi generic sg1 at scsi0, channel 0, id 15, lun 0, type 3
Attached scsi generic sg2 at scsi0, channel 1, id 8, lun 0, type 3
Attached scsi generic sg3 at scsi0, channel 1, id 9, lun 0, type 3
Fusion MPT base driver 2.05.16
Copyright (c) 1999-2004 LSI Logic Corporation
mptbase: 0 MPT adapters found, 0 installed.
Fusion MPT SCSI Host driver 2.05.16
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 : 1292.800 MB/sec
32regs : 662.000 MB/sec
pIII_sse : 1440.400 MB/sec
pII_mmx : 1566.400 MB/sec
p5_mmx : 1658.400 MB/sec
raid5: using function: pIII_sse (1440.400 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.
LVM version 1.0.8(17/11/2003)
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
FAT: bogus logical sector size 0
UMSDOS: msdos_read_super failed, mount aborted.
FAT: bogus logical sector size 0
FAT: bogus logical sector size 0
reiserfs: found format "3.6" with standard journal
reiserfs: checking transaction log (device sd(8,1)) ...
for (sd(8,1))
reiserfs: replayed 27 transactions in 4 seconds
sd(8,1):Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Freeing unused kernel memory: 164k freed
Adding Swap: 1168136k swap-space (priority -1)
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 439M
agpgart: unable to determine aperture size.
scsi1 : SCSI host adapter emulation for IDE ATAPI devices
Linux Kernel Card Services 3.1.22
options: [pci] [cardbus] [pm]
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Intel ISA PCIC probe: not found.
Databook TCIC-2 PCMCIA probe: not found.
ds: no socket drivers loaded!
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-ohci.c: USB OHCI at membase 0xe0afa000, IRQ 19
usb-ohci.c: usb-00:0f.2, ServerWorks OSB4/CSB5 OHCI USB Controller
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 4 ports detected
pcnet32.c:v1.30h 06.24.2004 tsbogend@alpha.franken.de
pcnet32: PCnet/FAST III 79C975 at 0x2300, 00 02 55 fc 43 85 assigned IRQ 16.
eth0: registered as PCnet/FAST III 79C975
pcnet32: 1 cards_found.
8139too Fast Ethernet driver 0.9.26
eth1: RealTek RTL8139 at 0xe0b0bc00, 00:e0:29:64:8d:6c, IRQ 20
eth1: Identified 8139 chip type 'RTL-8139B'
eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
uhci.c: USB Universal Host Controller Interface driver v1.1
usb-uhci.c: $Revision: 1.275 $ time 21:33:56 Nov 27 2005
usb-uhci.c: High bandwidth mode enabled
Ok I hope that this help to You

thanks

You might also like