FC2ブログ

我流館

すきなことをすきなようにかくぶろぐ

em-modeの/usr/sbin/ap_servd

どうやって取得しようかと思っていたら
em-modeでftp(とtelnet)サーバが普通に動いていた。

うろ覚えのftpコマンドで取れてしまったので良しとして。

strings /usr/sbin/ap_servd



(略)
write_data_in_dev
(略)

/var/run/apservd-%s.pid
could not open pid file: %s
listen device name = %s
standalone_server > could not bind sock to device %s
standalone_server exit
start_server could not set broadcast option to socket: %s
start_server SIOCSIFHWADDR :%s
no standalone mode
standalone mode
could not create child process
/var/run
could not create pid file
ap_serd
startup daemon
/etc/melsub_pass.sh
/etc/melco/pass
cndi:t:v
assigned intreface %s
Stopping apservd that is bound to %s
ap_servd version %u.%02u
start at debug mode
eth0
start_server could not open socket: %s
already runnging server on %s
SIGCLD Fail!
/var/tmp/results.txt
/var/tmp/results.tmp
--------------------------------------
**************************************
start_server could not open socket: %s
start_server could not set broadcast option to socket: %s
standalone_server > could not bind sock to device %s
cloud not send packet: %s
SendPacket error. %s

-> ACP_Discover_Reply
ACP_Discover_Reply fail to allocate Memory
** ACP_Discover_Reply add USE_DHCPC flag.
** ACP_Discover_Reply IfInfo.ip_type.dhcpc.flag > 0.
/etc/ap_servd.log
INITIALIZE

-> ACP_Chenge_IP_Reply

eth0

ACP_FIRMUP2_REPLY ACP_STATE_PASSWORD_ERROR >>>>>>>>
/dev/fl1
/dev/fl2
/dev/hda3
/dev/hda1
/mnt
/mnt2
ext2
ext3

ACP_FIRMUP2_REPLY ACP_STATE_OK >>>>>>>>>>>>

ACP_Ping_Reply fail to allocate Memory
ACP_Info_HDD_Reply fail to allocate Memory

-> ACP_Special_Reply
echo -n "CCCC" > /dev/ttyS1

/sbin/reboot
echo -n "EEEE" > /dev/ttyS1
shutdown -h now

ACP_Special_Reply() led_pid=%d
ACP_Special_Reply() start.
echo -n "YYYY" > /dev/ttyS1
echo -n "XXXX" > /dev/ttyS1
sh /www/script/melsub_init.sh


ACP_Special_Reply() not support command. cmd=%02x
-> ACP_command_reply
len(%ld) checklen(%d) type(%ld)

Don't permit One Command!!!!
** AllocateMemory fail
-> ACP_result_reply
Result file update
-> ACP_CMD_Start_Reply
-> ACP_CMD_End_Reply
-> ACP_Partition_Reply
.
/tmp/firm_size_id
could not open socket %s
could not bind address to socket: %s(%d)
could not turn listen state: %s
tcp_recive_serv() 2.
tcp_recive_serv() 3.
tcp_recive_serv() total_size=%ld
firm_recive()
firm_recive() error.
firm_recive() failed. exit(0)
firm_recive() 2.
firm_recive() exit(0)
firm_recive() 3.
verify_firmbinary() total_size == 0.
verify_firmbinary() chksum error.
recive firmware infomation
firmware infomation version %d
firmware name %s
firmware ID %08x
firmware version %u.%02u
firmware size = %lu byte
firmware chksum = 0x%x
write_firm flash_area=%s
/dev/hda1
echo -n "UUUU" > /dev/ttyS1
/mnt2
/mnt
echo -n "TTTT" > /dev/ttyS1
/dev/hda3

write_firmInflash() total_size == 0.
write_firmInHddDiff() hdd_area=%s
ext2
write_firmInHddDiff() mount success!!!
write_firmInHddDiff() fopen(1) success!!! f_info->kernel_size=%08x
write_firmInHddDiff() fwrite success!!! writed_size=%08x
write_firmInHddDiff() fopen(2) success!!! f_info->initrd_size=%08x
write_firmInHddDiff() fwrite(2) success!!! writed_size=%08x
write_firmInHddDiff() mount failed!!! errno=%d
write_firmInHddDiff() return =%d
write_firmInHdd() zip_part=%s system_part=%s
%s/%s
image.zip
/bin/rm %s/%s
tmpimage.tgz
/bin/rm %s/* -r
write_firmInHdd() fopen(1) success!!! f_info->kernel_size=%08x
write_firmInHdd() fwrite() writed_all=%08x f_info->kernel_size=%08x
write_firmInHdd() fwrite success!!! writed_size=%08x
/bin/unzip %s/%s -d %s
/bin/tar xvzf %s/%s -C %s
write_firmInHdd() return =%d
/usr/bin/write_ng
/usr/bin/write_ok
mount %s %s
dev/hda3
ChangeStartingMode() mount success!!!
CleanKey %02x:%02x:%02x-%02x:%02x:%02x
/dev
/read_write_test.dat
could not open device=%s
success! open device=%s
5555AAAA
00000000
read_write_test() end ret=%d.
/var/tmp/ls_list
%s<>%d.%d.%d.%d<>%x<>%x<>%x<>%x<>%02x%02x%02x%02x%02x%02x
/var/tmp/hosts.allow
portmap:
%d.%d.%d.%d
/tmp/ap_firm_mem
/mnt2/hdlan_diffimg.tar.gz
/mnt2/hdlan_diffimg2.tar.gz
/mnt2/hdlan_version.txt
/mnt2


em-modeの際の所作であるみたい。
情報としては、知っておくといいかもしれないが、em-modeでなければ
いらないな。
スポンサーサイト




[タグ未指定]
[ 2010/08/15 01:22 ] 玄箱 | TB(0) | CM(0)

strings etc/init.d/ppc_uartd

$strings etc/init.d/ppc_uartd


#!/bin/sh
# UART DAEMON for Link Station
PATH=/sbin:/bin:/usr/sbin:/usr/bin
if [ ! -x /usr/sbin/ppc_uartd ] ; then
exit 0
start()
echo "Start services: ppc_uartd"
/sbin/start-stop-daemon --start --quiet --exec /usr/sbin/ppc_uartd
stop()
echo "Stop services: ppc_uartd"
/sbin/start-stop-daemon --stop --quiet --exec /usr/sbin/ppc_uartd
case "$1" in
start)
start
;;
stop)
stop
;;
restart)
stop
sleep 1
start
;;
echo "Usage: /etc/init.d/smb {start|stop|restart}" >&2
;;
esac
exit 0

順序が逆
$strings usr/sbin/ppc_uartd


(略)
/dev/ttyS1
can't open UART
uart daemon
/mnt
/var/run/smbd.pid
/www/script/melsub_init.sh&
/www/script/melsub_shutdown.sh 2&
/etc/melco/timer_sleep
because it's just after booting up
because now time is re-initialized
because timer file is re-initialized
on<>%2d:%2d<>%2d:%2d%*s
Timer is set with %d/%d %02d:%02d-%d/%d %02d:%02d. (%s)
Timer is released. (%s)
Timer is released. (because timer file isn't able to be read)
can't output value to UART:%c
can't execute program:%s
$

/www/script/melsub_init.sh&
/www/script/melsub_shutdown.sh 2&

/etc/melco/timer_sleep

この3つ以外、/www,/etc/melcoの中身は、削除してかまわない
ということかも。

em-modeの方でtimer_sleepというのは気にしていなかったけど
チェックしたほうがいいな。

[タグ未指定]
[ 2010/08/07 23:31 ] 玄箱 | TB(0) | CM(0)
プロフィール

sealyoh

Author:sealyoh
いらっしゃいませ

カレンダー
08 | 2019/09 | 10
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 - - - - -
FC2掲示板