懲りずに HD-LAN も 2.4.18 化


リジェクトは、174本。しれれてた。
USB がないし、セキュリティフィックスもされていないので、 オリジナルの 2.4.17 に近かったといえるだろう。
******* Product Information *******
----------------------------------
Product Name: HD-LAN
          VER: 1.23
         Date: 2004/5/10 11:24:1
----------------------------------
Firmware check:done.

>>root=/dev/hda12
second kernel

******* Product Information *******
----------------------------------
Product Name: HD-LAN(rokkaku)
          VER: 1.24
         Date: 2004/8/22 22:24:42
----------------------------------
Firmware check:Warning:invalid data size
done.

>>root=/dev/hda1
Now Loading...done.
Now Booting
Memory BAT mapping: BAT2=64Mb, BAT3=0Mb, residual: 0Mb
HWTYPE:None PLD Model
Linux version 2.4.18_mvl21-sandpoint (root@hackkit) (gcc version 2.95.3 20010315 (release/franzo/20010312)) #1 2004年 8月 22
日 日曜日 22:23:09 JST
MELCO Network Attached Storage Series
2002 MELCO INC.
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 = 98.304000 MHz 
rtc sec count 1093181445
Calibrating delay loop... 130.66 BogoMIPS
Memory: 62668k available (1076k kernel code, 496k data, 204k 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
Journalled Block Device driver loaded
pty: 256 Unix98 ptys configured
MELCO 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
block: 128 slots per queue, batch=32
RAMDISK driver initialized: 16 RAM disks of 10000K size 1024 blocksize
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: WDC WD1200AB-00CBA1, ATA DISK drive
ide0 at 0xbffef8-0xbffeff,0xbffef6 on irq 17
hda: 234441648 sectors (120034 MB) w/2048KiB Cache, CHS=232581/16/63, UDMA(100)
Partition check:
 hda: hda1 hda2
FLASHDISK:Initialized [TOSHIBA VT641FT] 
Linux Tulip driver version 0.9.15-pre9 (Nov 6, 2001)
tulip0:  MII transceiver #1 config 3100 status 7849 advertising 05e1.
eth0: ADMtek Comet rev 17 at 0xbfff00, 00:07:40:60:54:22, IRQ 16.
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.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Freeing unused kernel memory: 204k 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): Sun Aug 22 22:30:49 JST 2004 [  OK  ]
Activating swap partitions:  [  OK  ]
Setting hostname hackkit:  [  OK  ]
Checking root filesystem
/dev/hda1: clean, 89079/14630912 files, 2976418/29239662 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 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.18_mvl21-sandpoint on a ppc

hackkit login: 
ついでにカーネル置き場として、例によって、/dev/fl3 を作った。
bash-2.04$ diff -c linux-2.4.17_mvl21-sandpoint/drivers/block/flashdisk/flashdisk.c linux-2.4.18_mvl21-sandpoint/drivers/blo
ck/flashdisk/flashdisk.c
*** linux-2.4.17_mvl21-sandpoint/drivers/block/flashdisk/flashdisk.c    Mon May 24 17:35:29 2004
--- linux-2.4.18_mvl21-sandpoint/drivers/block/flashdisk/flashdisk.c    Sun Aug 22 21:28:19 2004
***************
*** 60,68 ****
        };

  struct flashd_list area_list[] = {
!       { 0xFFF80000,  0x80000  , ROM_ON_BORD },
!       { 0xFF000000,  0xF00000 , ROM_ON_BORD },
!       { 0xFFF00000,  0x80000  , ROM_ON_BORD },
        { 0xFFF80000,  0x80000  , ROM_MINIPCI },
        { 0xFF800000,  0x600000 , ROM_MINIPCI },
        { 0xFFF00000,  0x80000  , ROM_MINIPCI },
--- 60,69 ----
        };

  struct flashd_list area_list[] = {
!       { 0xFFF80000,  0x80000  , ROM_ON_BORD }, /* fl0 conf_save.tar.gz */
!       { 0xFF000000,  0xF00000 , ROM_ON_BORD }, /* fl1 ramdisk image*/
!       { 0xFFF00000,  0x80000  , ROM_ON_BORD }, /* fl2 boot loader */
!       { 0xFFE00000,  0x100000 , ROM_ON_BORD }, /* fl3 2nd kernel */
        { 0xFFF80000,  0x80000  , ROM_MINIPCI },
        { 0xFF800000,  0x600000 , ROM_MINIPCI },
        { 0xFFF00000,  0x80000  , ROM_MINIPCI },
bash-2.04$
念のため、確認
[root@hackkit /root]# cmp /dev/fl3 kernimg.bin.rokkaku
cmp: ファイルkernimg.bin.rokkakuの末尾
OK.
ハックの記録 → Mini PCI 無線 LAN モジュール 802.11G-MPCI(2)

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