カーネル 2.4.19 化


2.4.18_mvl21-sandpoint のソースツリーに カーネル 2.4.19 のパッチをあてたら、 516本のリジェクトファイルが出来上がってしまった。
普通なら、あきらめるところだが、、、
何とか根性で(泣)2.4.19 化が完了した。

  • 使ってないところのソースはもうコンパイルできるかどうかさえ危うい
  • EM モードがなくなってしまった
    など、いろいろ問題があるが、、、とりあえず。
    
    ******* Product Information *******
    ----------------------------------
    Product Name: KURO-BOX(maru)
              VER: 1.00
             Date: 2004/7/10 15:6:33
    ----------------------------------
    Firmware check:done.
    
    >>root=/dev/hda12
    second kernel
    
    ******* Product Information *******
    ----------------------------------
    Product Name: KURO-BOX(oike)
              VER: 1.02
             Date: 2004/7/31 18:56:8
    ----------------------------------
    Firmware check:Warning:invalid data size
    done.
    
    >>root=/dev/hda1
    Now Loading...done.
    Now Booting
    Memory BAT mapping: BAT2=64Mb, BAT3=0Mb, residual: 0Mb
    Linux version 2.4.19_kuro-box (yasunari@hackkit) (gcc version 2.95.3 20010315 (release/franzo/20010312)) #1 Sat Jul 31 18:10:43 JST 2004
    KURO-BOX (C) 2004 KUROUTO-SHIKOU.
    On node 0 totalpages: 16384
    zone(0): 16384 pages.
    zone(1): 0 pages.
    zone(2): 0 pages.
    Kernel command line: root=/dev/hda1
    OpenPIC Version 1.2 (1 CPUs and 139 IRQ sources) at 80040000
    decrementer frequency = 24.410616 MHz 
    Calibrating delay loop... 129.84 BogoMIPS
    Memory: 62604k available (1436k kernel code, 652k data, 72k init, 0k highmem)
    Dentry cache hash table entries: 8192 (order: 4, 65536 bytes)
    Inode cache hash table entries: 4096 (order: 3, 32768 bytes)
    Mount-cache hash table entries: 1024 (order: 1, 8192 bytes)
    Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
    Page-cache hash table entries: 16384 (order: 4, 65536 bytes)
    POSIX conformance testing by UNIFIX
    PCI: Probing PCI hardware
    Linux NET4.0 for Linux 2.4
    Based upon Swansea University Computer Society NET3.039
    Initializing RT netlink socket
    Starting kswapd
    Disabling the Out Of Memory Killer
    VFS: Diskquotas version dquot_6.4.0 initialized
    Journalled Block Device driver loaded
    NTFS driver v1.1.22 [Flags: R/O]
    pty: 256 Unix98 ptys configured
    BUFFALO INC. RTC driver ver 1.00
    Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI enabled
    ttyS00 at 0x80004600 (irq = 138) is a 16550A
    ttyS01 at 0x80004500 (irq = 137) is a 16550A
    Uniform Multi-Platform E-IDE driver Revision: 6.31
    ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    CMD680: IDE controller on PCI bus 00 dev 60
    CMD680: chipset revision 2
    CMD680: 100% native mode on irq 17
        ide0: BM-DMA at 0xbffed0-0xbffed7, BIOS settings: hda:pio, hdb:pio
        ide1: BM-DMA at 0xbffed8-0xbffedf, BIOS settings: hdc:pio, hdd:pio
    hda: FUJITSU MPC3032AT, ATA DISK drive
    ide0 at 0xbffef8-0xbffeff,0xbffef6 on irq 17
    hda: 6335280 sectors (3244 MB), CHS=6704/15/63, UDMA(33)
    Partition check:
     hda: hda1 hda2 hda3
    RAMDISK driver initialized: 16 RAM disks of 10000K size 1024 blocksize
    Compaq SMART2 Driver (v 2.4.21)
    FLASHDISK:Initialized [FUJITSU MBM29PL32TM] 
    Linux Tulip driver version 0.9.15-pre11 (May 11, 2002)
    tulip0:  MII transceiver #1 config 3100 status 7849 advertising 05e1.
    eth0: ADMtek Comet rev 17 at 0xbfff00, 00:07:40:A4:xx:yy, IRQ 16.
    SCSI subsystem driver Revision: 1.00
    kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
    usb.c: registered new driver usbdevfs
    usb.c: registered new driver hub
    hcd.c: ehci-hcd @ 00:0e.2, NEC Corporation USB 2.0
    hcd.c: irq 19, pci mem c5000f00
    usb.c: new USB bus registered, assigned bus number 1
    hcd/ehci-hcd.c: USB 2.0 support enabled, EHCI rev 1. 0
    hub.c: USB hub found
    hub.c: 5 ports detected
    usb-ohci.c: USB OHCI at membase 0xc5002000, IRQ 19
    usb-ohci.c: usb-00:0e.0, NEC Corporation USB
    usb.c: new USB bus registered, assigned bus number 2
    hub.c: USB hub found
    hub.c: 3 ports detected
    usb-ohci.c: USB OHCI at membase 0xc5004000, IRQ 19
    usb-ohci.c: usb-00:0e.1, NEC Corporation USB (#2)
    usb.c: new USB bus registered, assigned bus number 3
    hub.c: USB hub found
    hub.c: 2 ports detected
    usb.c: registered new driver usblp
    printer.c: v0.11: USB Printer Device Class driver
    Initializing USB Mass Storage driver...
    usb.c: registered new driver usb-storage
    USB Mass Storage support registered.
    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 4096 bind 4096)
    NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
    NET4: AppleTalk 0.18a 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: 72k init
    modprobe: modprobe: Can't locate module char-major-4
    INIT: version 2.78 booting
    			Welcome to Vine Linux
    		Press 'I' to enter interactive startup.
    Mounting proc filesystem:  [  OK  ]
    Configuring kernel parameters:  [  OK  ]
    hwclock: ioctl() to /dev/rtc to turn on update interrupts failed unexpectedly, errno=515: Unknown error 515.
    Setting clock  (localtime): Sat Jul 31 21:22:55 JST 2004 [  OK  ]
    Activating swap partitions:  [  OK  ]
    Setting hostname hackkit:  [  OK  ]
    Mounting USB filesystem:  [  OK  ]
    Checking root filesystem
    /dev/hda1: clean, 40319/131328 files, 178184/262144 blocks
    [/sbin/fsck.ext3 (1) -- /] fsck.ext3 -a /dev/hda1 
    [  OK  ]
    Remounting root filesystem in read-write mode:  [  OK  ]
    Finding module dependencies:  [  OK  ]
    Checking filesystems
    Checking all file systems.
    [  OK  ]
    Mounting local filesystems:  [  OK  ]
    Enabling local filesystem quotas:  [  OK  ]
    Enabling swap space:  [  OK  ]
    INIT: Entering runlevel: 3
    Entering non-interactive startup
    Setting network parameters:  [  OK  ]
    Bringing up loopback interface:  [  OK  ]
    Bringing up interface eth0:  [  OK  ]
    Starting system logger: [  OK  ]
    Starting kernel logger: [  OK  ]
    Initializing random number generator:  [  OK  ]
    Mounting other filesystems:  [  OK  ]
    Start services: ppc_uartd
    Starting INET services: [  OK  ]
    Starting lpd: Warning - lp: cannot open lp device '/dev/usb/lp0' - No such device
    [  OK  ]
    Starting keytable:  [  OK  ]
    Starting crond: [  OK  ]
    Starting SMB services: [  OK  ]
    Starting NMB services: [  OK  ]
    Starting atd: [  OK  ]
    
    
    Vine Linux 2.6 (La Fleur de Bouard)
    Kernel 2.4.19_kuro-box on a ppc
    
    hackkit login: root
    Password: 
    [root@hackkit /root]# uname -a
    Linux hackkit 2.4.19_kuro-box #1 Sat Jul 31 18:10:43 JST 2004 ppc unknown
    [root@hackkit /root]# 
    

    ハックの記録 → ローダの改造(2)

    Copyright (C) 2004 Yasunari Yamashita. All Rights Reserved.
    yasunari @ yamasita.jp
    山下康成京都府向日市