linux-2.4.7 on OpenBlockS - 2001-08-05


[ Top > OpenBlockS Memo > linux kernelの再構築 > linux-2.4.7 - 2001-08-05 ]



  1. 展開
    % bzcat ${archive}/linux-2.4.7.tar.bz2 | tar xf -
    % mv linux linux-2.4.7
    % cd linux-2.4.7
       
  2. パッチ当て
    % zcat ${archive}/patch-2.4.7.obs-20010805.gz | patch -p1
       
  3. root filesystem image のコピー

    root filesystem image を arch/ppc/boot/images/ramdisk.image.gz とし て置く。

  4. Configure
    % make obs_config
    % make oldconfig
       

    もしkernelの機能を変更したいなら、make oldconfig ではなく make config、make menuconfig、make xconfig のどれかを行う。

  5. Make
    % make dep clean zImage.initrd
       
  6. Download
    % tcpdwl -v 192.168.253.254 arch/ppc/boot/images/zvmlinux.initrd.embeded
       
  7. boot log
    loaded at:     00210000 0021A224
    relocated to:  00180000 0018A224
    board data at: 001801C0 00180204
    relocated to:  00200100 00200144
    zimage at:     00217000 00298F22
    initrd at:     00298F22 004E425E
    avail ram:     004E5000 01000000
    check dipsw:   hdroot
    
    Linux/PPC load: root=/dev/hda1
    Uncompressing Linux...done.
    Now booting the kernel
    Linux version 2.4.7 (foo@bar.domain) (gcc version 2.95.3 20010315 (release)) #1 Sat Aug 4 10:55:50 JST 2001
    On node 0 totalpages: 4096
    zone(0): 4096 pages.
    zone(1): 0 pages.
    zone(2): 0 pages.
    Kernel command line: root=/dev/hda1
    Decrementer Frequency = 184320000/60
    Warning: real time clock seems stuck!
    Calibrating delay loop... 48.94 BogoMIPS
    Memory: 12292k available (1020k kernel code, 372k data, 44k init, 0k highmem)
    Dentry-cache hash table entries: 2048 (order: 2, 16384 bytes)
    Inode-cache hash table entries: 1024 (order: 1, 8192 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: 4096 (order: 2, 16384 bytes)
    POSIX conformance testing by UNIFIX
    Linux NET4.0 for Linux 2.4
    Based upon Swansea University Computer Society NET3.039
    Initializing RT netlink socket
    LED driver version 1.0.0
    Starting kswapd v1.8
    CPM UART driver version 0.03
    ttyS00 at 0x0280 is a SMC
    ttyS01 at 0x0000 is a SCC
    pty: 256 Unix98 ptys configured
    block: queued sectors max/low 8069kB/2689kB, 64 slots per queue
    RAMDISK driver initialized: 16 RAM disks of 6144K size 1024 blocksize
    Uniform Multi-Platform E-IDE driver Revision: 6.31
    ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
    IDE driver version 1.0.0
    waiting for IDE controller... IDE base=c2000000 c2002000: done
    hda: TOSHIBA MK1002MAV, ATA DISK drive
    ide0 at 0xc2000010-0xc2000017,0xc200200c on irq 8
    hda: 2116800 sectors (1084 MB) w/128KiB Cache, CHS=2100/16/63
    Partition check:
     hda: hda1 hda2 hda3
    eth0: FEC ENET Version 0.2, FEC irq 3, MII irq 10, addr 00:80:6d:47:24:e9
    eth1: CPM ENET Version 0.2 on SCC2, 00:80:6d:47:24:ea
    loop: loaded (max 8 devices)
    NET4: Linux TCP/IP 1.0 for NET4.0
    IP Protocols: ICMP, UDP, TCP, IGMP
    IP: routing cache hash table of 512 buckets, 4Kbytes
    TCP: Hash tables configured (established 1024 bind 1024)
    IPv4 over IPv4 tunneling driver
    NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
    check dipsw:   hdroot
    Freeing initrd memory: 2348k freed
    VFS: Mounted root (ext2 filesystem).
    Freeing unused kernel memory: 44k init
    Adding Swap: 64508k swap-space (priority -1)
       

Copyright © 2001 Masaki WAKABAYASHI / 若林 正樹.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is here.