Red Hat Enterprise Linux 4: Installationshandbuch für IBM⊗ POWER Architecture Architekturen
vgl. auch Installation RHEL4 auf einer H70.
IBM Type 7026 H70, 2GB RAM, 4CPU
Diese Anzeigen werden auf dem LCD des Systems nacheinander ausgegeben. In Klammern ist die Zeitlinie angegeben.
OK4B28A800E050E023E024E025E051E054E051 (0:20)E0B0 (0:30)....E0B0 (5:30)E0E1E206 (5:35)E211E3E0 (5:40)E300..E31F E3E2E300..E31F E3E4E300..E31F E3E6E300..E31F E218 (6:20)E20C (6:35)E216 E13A (6:50)...E443E1B6 (7:05)E1DB (7:12)E15F E602 P2-I8/Q1E161 E1F1 (7:45) Jetzt bei “beep-beep” schnell 5 drücken (auf serieller Konsole erscheint “keyboard”)
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000 RS/6000
memory keyboard network scsi speaker
F1F5 (8:00) -> Starting Software E1FB (8:20) -> Festplatten laufen an E1F7 (8:45) E14D floppy drive seek E15B Booten von CDROM 9:00
Booten von der CD1 der RHEL4 Distribution.
/pci@fef00000/scsi@c/sd@8,0 /pci@fef00000/scsi@c/sd@9,0 /pci@fef00000/scsi@c/sd@a,0 /pci@fef00000/scsi@c/sd@b,0 /pci@fef00000/scsi@c/sd@c,0 /pci@fef00000/scsi@c/sd@d,0 Config file read, 190 bytes Welcome! Hit <TAB> for boot options. Welcome to yaboot version 1.3.12 Enter "help" to get some basic usage information boot: * linux boot: linux vnc vncpassword=abc123 nopcmcia nousb nousbstorage
Das Laden des Kernels dauert ca. 20 Sec.
Please wait, loading kernel... Elf64 kernel loaded... Loading ramdisk... ramdisk loaded at 01b00000, size: 3968 Kbytes OF stdout device is: /pci@fef00000/isa@b/serial@i3f8 command line: ro maxcpus=1 vnc vncpasswd=abc123 nopcmcia nousb nousbstorage memory layout at init: alloc_bottom : 0000000001ee1000 alloc_top : 0000000040000000 alloc_top_hi : 0000000080000000 rmo_top : 0000000040000000 ram_top : 0000000080000000 Looking for displays opening PHB /pci@fef00000... done opening PHB /pci@fee00000... done opening PHB /pci@fed00000... done opening PHB /pci@fec00000... done instantiating rtas at 0x000000003ffd6000... done 0000000000000000 : boot cpu 0000000000000000 0000000000000001 : starting cpu hw idx 0000000000000001... done 0000000000000002 : starting cpu hw idx 0000000000000002... done 0000000000000003 : starting cpu hw idx 0000000000000003... done copying OF device tree ... Building dt strings... Building dt structure... Device tree strings 0x0000000001fe2000 -> 0x0000000001fe2fb7 Device tree struct 0x0000000001fe3000 -> 0x0000000001feb000 Calling quiesce ... returning from prom_init Found initrd at 0xc000000001b00000:0xc000000001ee002c firmware_features = 0x0
Starting Linux PPC64 2.6.9-22.EL ----------------------------------------------------- naca = 0xc000000000004000 naca->pftSize = 0x19 naca->debug_switch = 0x0 naca->interrupt_controller = 0x1 systemcfg = 0xc000000000005000 systemcfg->processorCount = 0x4 systemcfg->physicalMemorySize = 0x80000000 systemcfg->dCacheL1LineSize = 0x80 systemcfg->iCacheL1LineSize = 0x80 htab_data.htab = 0xc00000007c000000 htab_data.num_ptegs = 0x40000 -----------------------------------------------------
[boot]0100 MM Init [boot]0100 MM Init Done Linux version 2.6.9-22.EL (bhcompile@cure81.build.redhat.com) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Mon Sep 19 17:52:20 EDT 2005
[boot]0012 Setup Arch Top of RAM: 0x80000000, Total RAM: 0x80000000 Memory hole size: 0MB Python workaround: reg0: 18e3388 Python workaround: reg0: 18eb788 Python workaround: reg0: 18eb788 Python workaround: reg0: 18eb788 PPC64 nvram contains 110592 bytes Using default idle loop [boot]0015 Setup Done Built 1 zonelists Kernel command line: ro maxcpus=1 vnc vncpasswd=abc123 nopcmcia nousb nousbstorage
[boot]0020 OpenPic Init OpenPIC Version 1.2 (8 CPUs and 1 IRQ sources) at e000000080405000 OpenPIC timer frequency is 33.604490 MHz OpenPIC reversed IPI registers detected [boot]0025 OpenPic Done
PID hash table entries: 4096 (order: 12, 131072 bytes) time_init: decrementer frequency = 340.763054 MHz time_init: processor frequency = 339.999568 MHz Found initrd at 0xc000000001b00000:0xc000000001ee002c firmware_features = 0x0
Starting Linux PPC64 2.6.9-22.EL ----------------------------------------------------- naca = 0xc000000000004000 naca->pftSize = 0x19 naca->debug_switch = 0x0 naca->interrupt_controller = 0x1 systemcfg = 0xc000000000005000 systemcfg->processorCount = 0x4 systemcfg->physicalMemorySize = 0x80000000 systemcfg->dCacheL1LineSize = 0x80 systemcfg->iCacheL1LineSize = 0x80 htab_data.htab = 0xc00000007c000000 htab_data.num_ptegs = 0x40000 ----------------------------------------------------- [boot]0100 MM Init [boot]0100 MM Init Done Linux version 2.6.9-22.EL (bhcompile@cure81.build.redhat.com) (gcc version 3.4.4 20050721 (Red Hat 3.4.4-2)) #1 SMP Mon Sep 19 17:52:20 EDT 2005 [boot]0012 Setup Arch Top of RAM: 0x80000000, Total RAM: 0x80000000 Memory hole size: 0MB Python workaround: reg0: 18e3388 Python workaround: reg0: 18eb788 Python workaround: reg0: 18eb788 Python workaround: reg0: 18eb788 PPC64 nvram contains 110592 bytes Using default idle loop [boot]0015 Setup Done Built 1 zonelists Kernel command line: ro maxcpus=1 vnc vncpasswd=abc123 nopcmcia nousb nousbstorage [boot]0020 OpenPic Init OpenPIC Version 1.2 (8 CPUs and 1 IRQ sources) at e000000080405000 OpenPIC timer frequency is 33.604490 MHz OpenPIC reversed IPI registers detected [boot]0025 OpenPic Done PID hash table entries: 4096 (order: 12, 131072 bytes) time_init: decrementer frequency = 340.763054 MHz time_init: processor frequency = 339.999568 MHz
Console: colour dummy device 80x25 Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes) Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes) freeing bootmem node 0 Memory: 1984128k/2097152k available (3052k kernel code, 112676k reserved, 1324k data, 522k bss, 216k init)
Security Scaffold v1.0.0 initialized SELinux: Initializing. SELinux: Starting in permissive mode There is already a security framework initialized, register_security failed. selinux_register_security: Registering secondary module capability Capability LSM initialized as secondary Mount-cache hash table entries: 256 (order: 0, 4096 bytes)
Brought up 1 CPUs checking if image is initramfs...it isn't (no cpio magic); looks like an initrd Freeing initrd memory: 3968k freed Unable to get OpenPIC IRQ for cascade NET: Registered protocol family 16 PCI: Probing PCI hardware Failed to request MEM on PCI domain 0 IOMMU table initialized, virtual merging enabled ISA bridge at 0000:00:0b.0 PCI: Probing PCI hardware done usbcore: USB support disabled audit: initializing netlink socket (disabled) audit(1136659606.225:1): initialized RTAS daemon started Total HugeTLB memory allocated, 0 VFS: Disk quotas dquot_6.5.1 Dquot-cache hash table entries: 512 (order 0, 4096 bytes) SELinux: Registering netfilter hooks Initializing Cryptographic API ksign: Installing public key data Loading keyring - Added public key 3AD78FD3984917AF - User ID: Red Hat, Inc. (Kernel Module GPG key) pci_hotplug: PCI Hot Plug PCI Core version: 0.5 rpaphp: RPA HOT Plug PCI Controller Driver version: 0.1 rpadlpar_io_init: partition not DLPAR capable HVSI: registered 0 devices serio: i8042 AUX port at 0x60,0x64 irq 12 serio: i8042 KBD port at 0x60,0x64 irq 1 Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled ttyS0 at I/O 0x3f8 (irq = 0) is a 16550A ttyS1 at I/O 0x2f8 (irq = 0) is a 16550A ttyS2 at I/O 0x890 (irq = 0) is a 16550A ttyS3 at I/O 0x898 (irq = 0) is a 16550A RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize Warning: no ADB interface detected Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2 ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx ide-floppy driver 0.99.newide mice: PS/2 mouse device common for all mice atkbd.c: keyboard reset failed on isa0060/serio1 atkbd.c: keyboard reset failed on isa0060/serio0 md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27 NET: Registered protocol family 2 IP: routing cache hash table of 8192 buckets, 128Kbytes TCP: Hash tables configured (established 262144 bind 65536) Initializing IPsec netlink socket NET: Registered protocol family 1 NET: Registered protocol family 17 md: Autodetecting RAID arrays. md: autorun ... md: ... autorun DONE. RAMDISK: Compressed image found at block 0 VFS: Mounted root (ext2 filesystem) readonly. Freeing unused kernel memory: 216k freed hvc_console: tty open failed, no vty associated with tty. Greetings.
anaconda installer init version 10.1.1.25 starting mounting /proc filesystem... done mounting /dev/pts (unix98 pty) filesystem... done mounting /sys filesystem... done anaconda installer init version 10.1.1.25 using a serial console remember, cereal is an important part of a nutritionally balanced breakfast. could not set new controlling tty trying to remount root filesystem read write... done mounting /tmp as ramfs... done running install... running /sbin/loader
Erkennung der SCSI Karte
+--------+ Loading SCSI driver +---------+
| |
| Loading sym53c8xx driver... |
| |
+----------------------------------------+
Spracheinstellung für Installation
+---------+ Choose a Language +---------+
| |
| What language would you like to use |
| during the installation process? |
| |
| Catalan # |
| Chinese(Simplified) # |
| Chinese(Traditional) # |
| Croatian # |
| Czech # |
| Danish # |
| Dutch # |
| English # |
| |
| +----+ |
| | OK | |
| +----+ |
| |
| |
+---------------------------------------+
Wenn das System 2x gepiepst hat (E1F1, keyboard auf serieller Konsole), ist 5 zu drücken. Es befindet sich keine CD im Laufwerk. Der yaboot-Prompt erscheint.
Log des Boot-Prozesses inklusive Login und Shutdown.
Dieselbe funktionierende PReP Boot Partition wird auch auf der zweiten Platte benötigt um booten zu können, falls die erste defekt oder nicht vorhanden ist.
Mirror mit dd
dd if=/dev/sda1 of=/dev/sdb1
Bootable - Flag setzen
parted /dev/sdb set 1 boot on
Die OpenFirmware boot list muss beide Platten enthalten:
bootlist Befehl
bootlist -m normal sda sdb bootlist -m normal -o sda sdb
Thomas Baumann hat es wie oben eingegeben. Die Ausgabe unterscheidet sich jedoch!
bootlist auf rhel4u2
bootlist -o -m normal sda sdb bootlist -m normal -o sr0 sr0 bootlist -r -m normal /pci@fef00000/scsi@c/sd@, /pci@fef00000/scsi@c/sd@,
Das booten schlägt fehl!
Der korrekte Befehl lautet
korrekter bootlist Befehl zum Booten von RHEL4 U2
bootlist -r -m normal /pci@fef00000/scsi@c/sd@8,0 /pci@fef00000/scsi@c/sd@9,0 /pci@fef00000/scsi@c/sd@8,0 /pci@fef00000/scsi@c/sd@9,0
fdisk -l /dev/sda,sdb
[root@h70rhel4 ~]# fdisk -l /dev/sda Disk /dev/sda: 9100 MB, 9100369920 bytes 255 heads, 63 sectors/track, 1106 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 1 8001 41 PPC PReP Boot /dev/sda2 2 14 104422+ fd Linux raid autodetect /dev/sda3 15 150 1092420 82 Linux swap /dev/sda4 151 1106 7679070 5 Extended /dev/sda5 151 1106 7679038+ fd Linux raid autodetect [root@h70rhel4 ~]# fdisk -l /dev/sdb Disk /dev/sdb: 9100 MB, 9100369920 bytes 255 heads, 63 sectors/track, 1106 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 * 1 1 8001 41 PPC PReP Boot /dev/sdb2 2 14 104422+ fd Linux raid autodetect /dev/sdb3 15 150 1092420 82 Linux swap /dev/sdb4 151 1106 7679070 5 Extended /dev/sdb5 151 1106 7679038+ fd Linux raid autodetect [root@h70rhel4 ~]#
sda1,sdb1 sind beide als bootfähig markiert. Ein parted ist also nicht notwendig. 1)
Offen: Wie konfiguriert man die IBM 7076 (H70) so, dass diese auch ohne Drücken von F5 (5) das Linux bootet ?
bootlist -m both -r /pci@fef00000/scsi@c/sd@8:2 /pci@fef00000/scsi@c/sd@8:2
Die PReP - Partition muss in der “normal”-Bootlist definiert werden.
bootlist -r -m normal /pci@fef00000/scsi@c/sd@8:0 /pci@fef00000/scsi@c/sd@9:0
/pci@fef00000/scsi@c/sd@8:0 /pci@fef00000/scsi@c/sd@9:0
Wenn es falsch definiert ist, dann bootet das System nicht:
/pci@fef00000/scsi@c/sd@8:1,/etc/yaboot.conf: Unknown or corrupt filesystem Can't open config file Welcome to yaboot version 1.3.12 Enter "help" to get some basic usage information boot: boot: linux Please wait, loading kernel... linux:1,/vmlinux: Unable to open file, Invalid device
anaconda error bei rescue
File "/usr/bin/anaconda", line 604, in ?
rescue.runRescue(rootPath, not rescue_nomount, id)
File "/usr/lib/anaconda/rescue.py", line 209, in runRescue
rc = apply(win, (screen, ) + args) <Space> selects | <F12> next screen
TypeError: __call__() takes exactly 6 arguments (5 given)
install exited abnormally
sending termination signals...done
parted /dev/sdb set 1 boot on würde Partition 1 auf Platte sdb als bootfähig markieren.