~ # cd /tmp /mnt/ram/tmp # cat > a.c main() { printf("Why don't you hack KURO-BOX/Pro\n"); } /mnt/ram/tmp # cc a.c /mnt/ram/tmp # ./a.out Why don't you hack KURO-BOX/Pro /mnt/ram/tmp #動くやん(笑)
~ # cd /home/ /home # mkdir kernel /home # cd kernel /home/kernel # /home/kernel # ftp giga.yamasita.jp ftp: ftp/tcp: unknown service /home/kernel #がー。 Windows のファイル共有で、linux-2.6.12_lsp.1.10.3.src.tar.gz を コピーする。
/home/kernel # tar zxvf linux-2.6.12_lsp.1.10.3.src.tar.gz : : /home/kernel # cd linux-2.6.12_lsp.1.10.3/ /home/kernel/linux-2.6.12_lsp.1.10.3 # make Makefile:486: .config: No such file or directory CHK include/linux/version.h UPD include/linux/version.h SYMLINK include/asm -> include/asm-arm HOSTCC scripts/basic/fixdep HOSTCC scripts/basic/split-include HOSTCC scripts/basic/docproc SHIPPED scripts/kconfig/zconf.tab.h HOSTCC scripts/kconfig/conf.o HOSTCC scripts/kconfig/kxgettext.o HOSTCC scripts/kconfig/mconf.o SHIPPED scripts/kconfig/zconf.tab.c SHIPPED scripts/kconfig/lex.zconf.c HOSTCC scripts/kconfig/zconf.tab.o touch end HOSTLD scripts/kconfig/conf scripts/kconfig/conf -s arch/arm/Kconfig *** *** You have not yet configured your kernel! *** *** Please run some configurator (e.g. "make oldconfig" or *** "make menuconfig" or "make xconfig"). *** make[2]: *** [silentoldconfig] Error 1 make[1]: *** [silentoldconfig] Error 2 make: *** [include/linux/autoconf.h] Error 2 /home/kernel/linux-2.6.12_lsp.1.10.3 #Appendix C.2 の 2 には解凍して make するだけってかいたるやん。
/home/kernel/linux-2.6.12_lsp.1.10.3 # ls COPYING README crypto kernel security CREDITS REPORTING-BUGS drivers lib sound Documentation arch fs mm tools LSP_ReleaseNotes.txt binaries include mv_usb_gadget usr MAINTAINERS buffalo init net Makefile cesa ipc scripts /home/kernel/linux-2.6.12_lsp.1.10.3 # cd buffalo/ /home/kernel/linux-2.6.12_lsp.1.10.3/buffalo # ls config_kurobox.conf drivers /home/kernel/linux-2.6.12_lsp.1.10.3/buffalo # cp config_kurobox.conf ../.config /home/kernel/linux-2.6.12_lsp.1.10.3/buffalo # cd .. /home/kernel/linux-2.6.12_lsp.1.10.3 # make oldconfig /home/kernel/linux-2.6.12_lsp.1.10.3 # make oldconfig scripts/kconfig/conf -o arch/arm/Kconfig # # using defaults found in .config # .config:92: trying to assign nonexistent symbol BUFFALO_PLATFORM .config:97: trying to assign nonexistent symbol BUFFALO_KUROBOX .config:98: trying to assign nonexistent symbol BUFFALO_SOFT_BOARDID .config:99: trying to assign nonexistent symbol BUFFALO_KUROBOX_SOFT_BOARDID .config:101: trying to assign nonexistent symbol BUFFALO_USE_MICON * * Linux Kernel Configuration : : /home/kernel/linux-2.6.12_lsp.1.10.3 # make CHK include/linux/version.h SPLIT include/linux/autoconf.h -> include/config/* CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/sumversion.o HOSTLD scripts/mod/modpost HOSTCC scripts/kallsyms touch end HOSTCC scripts/conmakehash HOSTCC scripts/bin2c SYMLINK include/asm-arm/arch -> include/asm-arm/arch-mv88fxx81 CC arch/arm/kernel/asm-offsets.s In file included from ./include/linux/spinlock.h:13, from ./include/linux/capability.h:45, from ./include/linux/sched.h:7, from arch/arm/kernel/asm-offsets.c:13: ./include/linux/kernel.h:10:20: stdarg.h: No such file or directory In file included from ./include/linux/spinlock.h:13, from ./include/linux/capability.h:45, from ./include/linux/sched.h:7, from arch/arm/kernel/asm-offsets.c:13: ./include/linux/kernel.h:94: error: syntax error before "va_list" ./include/linux/kernel.h:98: error: syntax error before "va_list" ./include/linux/kernel.h:102: error: syntax error before "va_list" ./include/linux/kernel.h:107: error: syntax error before "va_list" ./include/linux/kernel.h:119: error: syntax error before "va_list" make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1 make: *** [arch/arm/kernel/asm-offsets.s] Error 2 /home/kernel/linux-2.6.12_lsp.1.10.3 #やっぱりあかんか
|
玄人志向
楽天市場 TSUKUMO ネットショップ Yahoo!ショッピング Sofmap クレバリー TwoTop |
← 警察が来ても、、、 |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ debian 簡単インストール |