LinuxForum.Fans
Тема

Huawei HG8245 как реанимировать linux-роутер?

Автор: Bit_By_Bit 25 сообщений 12005 просмотров
#376022

Здравствуйте, в Huawei HG8245 после перезагрузки пропало все, адрес 192.168.100.1 пингуется, и пускает по телнет.
Ничего кроме телнета не работает, как я понял в следствии не полной инициализации устройства

ifconfig

br0 Link encap:Ethernet HWaddr E0:24:7F:28:81:35
inet addr:192.168.100.1 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:158913 errors:0 dropped:0 overruns:0 frame:0
TX packets:102536 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:19255083 (18.3 MiB) TX bytes:15244294 (14.5 MiB)

br0:0 Link encap:Ethernet HWaddr E0:24:7F:28:81:35
inet addr:192.168.2.1 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

eth0 Link encap:Ethernet HWaddr E0:24:7F:28:81:35
inet addr:192.168.100.1 Bcast:192.168.100.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:208553 errors:0 dropped:0 overruns:0 frame:0
TX packets:102549 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:25394773 (24.2 MiB) TX bytes:15655092 (14.9 MiB)
Interrupt:25

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:204 (204.0 B) TX bytes:204 (204.0 B)
dmesg

Linux version 2.6.21.7-hrt1 (wangqian@suse-ssmp-server) (gcc version 4.1.2 (Wind River Linux Sourcery G++ 4.1-84)) #4 Sat May 21 17:09:35 HKT 2011
CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv6TEJ), cr=00c5387f
Machine: SD5113-V100-PILOT-B01
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 12800
DMA zone: 100 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 12700 pages, LIFO batch:3
Normal zone: 0 pages used for memmap
Get mem size 0x3200000;
CPU0: D VIPT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists. Total pages: 12700
Kernel command line: noalign mem=50M console=ttyAMA0,115200 root=/dev/mtdblock6 rootfstype=squashfs mtdparts=hisilicon:0x40000(boot)ro,0x1000(flashcfg)ro,0x1f000(syspara)ro,0x180000(krnl)ro,0x8fffac@0x1e0054(rootfs)ro,0x249018@0xc16fe8(minisystem)ro,0x180000(jffs2cfg),-(reserved) user_debug=0x1f panic=1
PID hash table entries: 256 (order: 8, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 50MB = 50MB total
Memory: 48012KB available (2316K code, 220K data, 76K init)
Calibrating delay loop... 530.84 BogoMIPS (lpj=2654208)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Hisilicon clock system V0.01
[clk_register, 244] AHBCLK
[clk_register, 244] ARMCORECLK
[clk_register, 244] UARTCLK
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
Registering GDB sysrq handler
squashfs: version 3.4 (2008/08/26) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: dw uart driver
dev:f2: ttyAMA0 at MMIO map 0x1614f000 mem 0xf714f000 (irq = 17) is a AMBA/DW
dev:f1: ttyAMA1 at MMIO map 0x1614e000 mem 0xf714e000 (irq = 16) is a AMBA/DW
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
Start to set chip MaxBufWriteSize.
Not find New chip.
hisilicon: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
hisilicon: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Hisilicon flash: registering whole flash at once as master MTD
8 cmdlinepart partitions found on MTD device hisilicon
Creating 8 MTD partitions on "hisilicon":
0x00000000-0x00040000 : "boot"
0x00040000-0x00041000 : "flashcfg"
0x00041000-0x00060000 : "syspara"
0x00060000-0x001e0000 : "krnl"
0x001e0054-0x00ae0000 : "rootfs"
0x00c16fe8-0x00e60000 : "minisystem"
0x00e60000-0x00fe0000 : "jffs2cfg"
0x00fe0000-0x01000000 : "reserved"
Netfilter messages via NETLINK v0.30.
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
VFS: Mounted root (squashfs filesystem) readonly.
Freeing init memory: 76K
hi_eth: module license 'unspecified' taints kernel.
ETH install success!
request_irq hi_dp!!!!

SD511X DP V1.0 is installed !

SD511x IOCTL_DP V1.0 is installed

SD511x MDIO ID V1.0 is installed

SD511x GPIO VERSION 1.0 is installed

SD511x GPIO_INT ID 1.0 is installed

SD511x I2C ID V1.0 is installed

SD511x TIMER ID V1.0 is installed

SD511X SPI ID v1.0 is installed

SD511X SYSCTL V1.0 is installed

SD511x UART ID V1.0 is installed

SD5113 DMA ID V1.0 is installed
<6>
SD511X HW ID v1.0 is installed

SD511x EXT_INT ID 1.0 is installed

SD511x IOCTL_SYSCTL V1.0 is installed

SSP For LDSP Install Successfully...
HLP For LDSP Install Successfully...
CHIPADP-PHY For LDSP Install Successfully...
CHIPADP-AR8316 LSW For LDSP Init Successfully...
Get version through hardware!
CHIPADP-SD5113 For LDSP Install Successfully...
GPIO For LDSP Install Successfully...
I2C For LDSP Install Successfully...
MDIO For LDSP Install Successfully...
CHIPADP-AR8316 LSW For LDSP Install Successfully...
UART For LDSP Install Successfully...
BATTERY For LDSP Install Successfully...
DEV For LDSP Install Successfully...
PLOAM For LDSP Install Successfully...
GMAC For LDSP Install Successfully...
KEY For LDSP Install Successfully...
LED For LDSP Install Successfully...
OPTIC For LDSP Install Successfully...
RF For LDSP Install Successfully...
LSW For LDSP Install Successfully...
Load LDSP Emac Module Successfully...
hw_ker_pdlv is installed !
Load LDSP OAM Module Successfully...
MPCP For LDSP Install Successfully...

*********hw_ker_veth is installed**********
hw_ker_vlanops is installed !

hw_drv_get_pon_ability ui_epon_num = 1, *pui_pon_ability = 2
GPON opened success !
OPTIC For LDSP init complete Successfully...
I2C For LDSP init complete Successfully...

ui_invalid = 0, ui_portid = 0, ui_phy_id = 0, ui_coma_pin_id = 0

ui_invalid = 0, ui_portid = 1, ui_phy_id = 0, ui_coma_pin_id = 0

ui_invalid = 0, ui_portid = 2, ui_phy_id = 0, ui_coma_pin_id = 0

ui_invalid = 0, ui_portid = 3, ui_phy_id = 0, ui_coma_pin_id = 0
UART For LDSP init complete Successfully...
BATTERY For LDSP init complete Successfully...
SD5113 test self OK
Lsw test self OK
KEY For LDSP init complete Successfully...
RF For LDSP init complete Successfully...
device eth0 entered promiscuous mode
br0: port 1(eth0) entering learning state

Init Access Mode To GPON .................[PLOAM]ONUID(0): O1 => O1
[PLOAM]ONUID(0): O1 => O2
[PLOAM]ONUID(0): O2 => O3
[PLOAM]ONUID(11): O3 => O4
[PLOAM]ONUID(11): O4 => O5
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state

hw_drv_get_pon_ability ui_epon_num = 1, *pui_pon_ability = 2

hw_drv_get_pon_ability ui_epon_num = 1, *pui_pon_ability = 2

hw_drv_get_pon_ability ui_epon_num = 1, *pui_pon_ability = 2

hw_drv_get_pon_ability ui_epon_num = 1, *pui_pon_ability = 2

hw_drv_get_pon_ability ui_epon_num = 1, *pui_pon_ability = 2

hw_drv_get_pon_ability ui_epon_num = 1, *pui_pon_ability = 2

процессы

ps ax
PID Uid VmSize Stat Command
1 root 600 S init
2 root SWN [ksoftirqd/0]
3 root SW [watchdog/0]
4 root SW< [events/0]
5 root SW< [khelper]
6 root SW< [kthread]
20 root SW< [kblockd/0]
32 root SW [pdflush]
33 root SW [pdflush]
34 root SW< [kswapd0]
35 root SW< [aio/0]
46 root SW [mtdblockd]
76 root 252 S init
77 root 572 S /bin/sh /etc/rc.d/rc.sysinit
112 root 588 S /bin/sh /etc/rc.d/rc.start/1.sdk_init.sh start
121 root SWN [jffs2_gcd_mtd7]
215 root SW [mpcp]
225 root 236 S telnetd -p 50023
230 root 976 R hw_ldsp_user
235 root Z [touch]
240 root 2196 S ssp
242 root 1704 S smp
244 root 1884 R bbsp
246 root 1744 S amp
248 root 1524 S cwmp
253 root 868 S console
444 root Z [dnsmasq]
445 nobody 500 S dnsmasq --conf-file=/var/dnsmasq_br0.conf
448 root Z [dnsmasq]
449 nobody 500 S dnsmasq --conf-file=/var/dnsmasq_br0_0.conf
451 root 544 S /bin/sh -c omci
452 root 3816 S omci
456 root SW [kgontregd]
463 root 1448 S mu
483 root 768 S /bin/sh --login
500 root 596 R ps ax

инициализация

Показать
cat /etc/inittab
#
# inittab This file describes how the INIT process should set up
# the system during the initial booting process.

# Ssystem initialization starts here

::sysinit:/etc/rc.d/rc.sysinit
ttyAMA0::respawn:-/bin/ash
#::respawn:/sbin/getty 115200 ttyAMA0
#tty1::respawn:/sbin/getty 9600 tty1
#tty2::respawn:/sbin/getty 9600 tty2
#tty3::respawn:/sbin/getty 9600 tty3
#tty4::respawn:/sbin/getty 9600 tty4
#tty5::respawn:/sbin/getty 9600 tty5

::shutdown:/etc/rc.d/rc.shutdown
::ctrlaltdel:/bin/false





============

cat /etc/rc.d/rc.sysinit
#! /bin/sh

PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/usr/local/sbin

# Clearing the console to fullscreen
# clear

echo
echo -e "\t\t\t-=# DOPRA LINUX 1.0 #=-"
echo -e "\t\t\t-=# EchoLife WAP 0.1 #=-"
echo -e "\t\t\t-=# Huawei Technologies Co., Ltd #=-"
echo

echo "mount file system"

#mount -a
mount -t proc proc /proc
mount -t sysfs sysfs /sys
mount -t tmpfs tmpfs /dev
mkdir /dev/pts
mkdir /dev/shm
mount -t devpts -o mode=620 devpts /dev/pts
mount -t tmpfs -o nodev,size=512m tmpfs /dev/shm
mount -t tmpfs -o nodev,size=512m none /tmp
mount -t tmpfs -o nodev,size=512m,mode=755 none /var

echo "Loading the kernel modules: "

cat /etc/modules | sed -e '/^[ \t]*$/d' |
while read module
do
echo "Loading module: $module"
modprobe $module
done


# Creating device driver instances
echo "Making device instances:"
mdev -s
echo /sbin/mdev > /proc/sys/kernel/hotplug


# Setting the console Log status mode
if [ -w /proc/sys/kernel/printk ]
then
echo "Setting console log message level: "
echo "1 4 1 7" > /proc/sys/kernel/printk
fi

# Setting up initial hostname
echo "Setting hostname: "
hostname -F /etc/HOSTNAME


# Setting up the sysctl confgiruaton options
echo "Settingup the sysctl configurations:"
sysctl -p /etc/sysctl.conf > /dev/null

# Setting up localhost loopback interface
echo "Setting up interface lo: "
ifconfig lo up 127.0.0.1

# Running local startup scripts
echo "Running local startup scripts."
for i in `ls /etc/rc.d/rc.start/*` ; do
if [ -x $i ]; then
$i start
fi
done

# Calling user defined scripts if any
if [ -x /etc/rc.d/rc.local ]; then
/etc/rc.d/rc.local
fi



============
в /etc/rc.d/rc.start/ кроме 1.sdk_init.sh - ничего нет

cat /etc/rc.d/rc.start/1.sdk_init.sh
#/bin/sh

echo 32 > /proc/sys/kernel/msgmni

echo -n "Mount the JFFS2 file system: "
var_index=$(cat /proc/mtd | grep jffs2cfg | cut -d ":" -f 1 | cut -c 4-)
mount -t jffs2 /dev/mtdblock$var_index /mnt/jffs2

#[ -f /mnt/jffs2/stop ] && exit

# Insert Kernel Modules
#insmod /lib/modules/2.6.21.7-hrt1/kernel/net/ipv4/netfilter/nf_conntrack_ipv4.ko
#insmod /lib/modules/2.6.21.7-hrt1/kernel/net/ipv4/netfilter/iptable_nat.ko
#insmod /lib/modules/2.6.21.7-hrt1/kernel/net/netfilter/xt_TCPMSS.ko

echo "User init start......"

# load SD5113V100 modules
echo -n "Loading the SD5113V100 modules: "

insmod /lib/modules/hisi_sdk/hi_eth.ko
insmod /lib/modules/hisi_sdk/hi_dp.ko
insmod /lib/modules/hisi_sdk/hi_ioctl_dp.ko
insmod /lib/modules/hisi_sdk/hi_mdio.ko
insmod /lib/modules/hisi_sdk/hi_gpio.ko
insmod /lib/modules/hisi_sdk/hi_gpio_int.ko
insmod /lib/modules/hisi_sdk/hi_i2c.ko
insmod /lib/modules/hisi_sdk/hi_timer.ko
insmod /lib/modules/hisi_sdk/hi_spi.ko
insmod /lib/modules/hisi_sdk/hi_sysctl.ko
insmod /lib/modules/hisi_sdk/hi_uart.ko
insmod /lib/modules/hisi_sdk/hi_dma.ko
insmod /lib/modules/hisi_sdk/hi_hw.ko
insmod /lib/modules/hisi_sdk/hi_ext_int.ko
insmod /lib/modules/hisi_sdk/hi_ioctl_sysctl.ko

# Open the printk for debug
echo 8 > /proc/sys/kernel/printk

# activate ethernet drivers
ifconfig lo up
ifconfig eth0 192.168.100.1 up
ifconfig eth0 mtu 1500

mw 0x42c00024 0x292441
mw 0x43000008 0x83E803E8

mkdir /var/tmp

echo -n "Loading the EchoLife WAP modules: LDSP"

# hw_module_common.ko hw_module_hlp.ko are needed by all of ko
insmod /lib/modules/wap/hw_module_common.ko
insmod /lib/modules/wap/hw_module_hlp.ko

insmod /lib/modules/wap/hw_module_phy.ko
insmod /lib/modules/wap/hw_module_msgque.ko
insmod /lib/modules/wap/hw_module_epon.ko
insmod /lib/modules/wap/hw_soc_sd5113.ko
insmod /lib/modules/wap/hw_module_gpio.ko
#insmod /lib/modules/wap/hw_module_highway.ko
insmod /lib/modules/wap/hw_module_i2c.ko
insmod /lib/modules/wap/hw_module_mdio.ko
insmod /lib/modules/wap/hw_ker_ar8316_lsw.ko
#insmod /lib/modules/wap/hw_module_spi.ko
insmod /lib/modules/wap/hw_module_uart.ko
insmod /lib/modules/wap/hw_module_battery.ko
insmod /lib/modules/wap/hw_module_dev.ko
#insmod /lib/modules/wap/hw_module_flash.ko
insmod /lib/modules/wap/hw_module_ploam.ko
insmod /lib/modules/wap/hw_module_gmac.ko
insmod /lib/modules/wap/hw_module_key.ko
insmod /lib/modules/wap/hw_module_led.ko
insmod /lib/modules/wap/hw_module_optic.ko
insmod /lib/modules/wap/hw_module_rf.ko
insmod /lib/modules/wap/hw_module_lsw.ko
# insmod /lib/modules/wap/hw_ker_codec.ko
# insmod /lib/modules/wap/hw_module_codec.ko
insmod /lib/modules/wap/hw_module_emac.ko

# This module needed by DSP
insmod /lib/modules/wap/hw_module_pdlv.ko
insmod /lib/modules/wap/hw_module_oam.ko
insmod /lib/modules/wap/hw_module_mpcp.ko

# load DSP modules
echo -n "Loading DSP temporary modules: "
# insmod /lib/modules/dsp_sdk/hw_module_dopra.ko
# insmod /lib/modules/dsp_sdk/hw_module_dsp_sdk.ko

# insmod /lib/modules/wap/hw_module_dsp.ko

echo -n "Loading the EchoLife WAP modules: BBSP"
insmod /lib/modules/wap/hw_module_veth.ko
insmod /lib/modules/wap/hw_module_vlanops.ko
insmod /lib/modules/wap/hw_module_ifmdev.ko
#insmod /lib/modules/wap/hw_module_fl.ko
#insmod /lib/modules/wap/hw_module_igmp.ko
#insmod /lib/modules/wap/hw_ker_napt.ko
#insmod /lib/modules/wap/hw_module_trigger.ko
#insmod /lib/modules/wap/hw_acl.ko
#insmod /lib/modules/wap/hw_qos.ko
#insmod /lib/modules/wap/hw_module_cpu.ko

telnetd -p 50023

#add by zengwei for ip_forward and rp_filter
#enable ip forward
#echo 1 > /proc/sys/net/ipv4/ip_forward
#disable rp filter
#echo 0 > /proc/sys/net/ipv4/conf/default/rp_filter
#end of add by zengwei for ip_forward and rp_filter

start ssp smp bbsp amp cwmp console &
sleep 1

#add by chenshuang for ldsp_user
iLoop=0
echo -n "Start ldsp_user..."
if [ -e /bin/hw_ldsp_user ]
then
hw_ldsp_user &
while [ $iLoop -lt 5 ] && [ ! -e /var/hw_ldsp_user.txt ]
do
echo $iLoop
iLoop=$(( $iLoop + 1 ))
sleep 1
done
fi
#end by chenshuang for ldsp_user

echo -n "Start SSP..."
ssp &
echo -n "Start SMP..."
smp &
echo -n "Start BBSP..."
bbsp &
echo -n "Start AMP..."
amp &
#echo -n "Start IGMP..."
#igmp &
#echo -n "Start VSPA ..."
#[ -f /bin/vspa_h248 ] && watchproc.sh vspa_h248 &
#[ -f /bin/vspa_mgcp ] && watchproc.sh vspa_mgcp &
#[ -f /bin/vspa_sip ] && watchproc.sh vspa_sip &

echo -n "Start CWMP..."
cwmp &

echo -n "Start MU..."
while true; do sleep 40 ; mu& break; done &

echo -n "Start CONSOLE..."
console


Происходящее после выполнения rc.sysinit руками

Показать
/etc/rc.d/rc.sysinit

-=# DOPRA LINUX 1.0 #=-
-=# EchoLife WAP 0.1 #=-
-=# Huawei Technologies Co., Ltd #=-

mount file system
mount: mounting proc on /proc failed
mount: mounting sysfs on /sys failed
Loading the kernel modules:
Making device instances:
Setting console log message level:
Setting hostname:
Settingup the sysctl configurations:
Setting up interface lo:
Running local startup scripts.
Mount the JFFS2 file system: mount: mounting /dev/mtdblock7 on /mnt/jffs2 failed
User init start......
Loading the SD5113V100 modules: insmod: cannot insert '/lib/modules/hisi_sdk/hi_eth.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/hisi_sdk/hi_dp.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/hisi_sdk/hi_ioctl_dp.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/hisi_sdk/hi_mdio.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/hisi_sdk/hi_gpio.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/hisi_sdk/hi_gpio_int.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/hisi_sdk/hi_i2c.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/hisi_sdk/hi_timer.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/hisi_sdk/hi_spi.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/hisi_sdk/hi_sysctl.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/hisi_sdk/hi_uart.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/hisi_sdk/hi_dma.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/hisi_sdk/hi_hw.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/hisi_sdk/hi_ext_int.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/hisi_sdk/hi_ioctl_sysctl.ko': File exists (-1): File exists
Write value 0x00292441 to memory 0x42C00024
Read value 0x00292441 from memory 0x42C00024

Write value 0x83E803E8 to memory 0x43000008
Read value 0x83E803E8 from memory 0x43000008

Loading the EchoLife WAP modules: LDSPinsmod: cannot insert '/lib/modules/wap/hw_module_common.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_module_hlp.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_module_phy.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_module_msgque.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_module_epon.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_soc_sd5113.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_module_gpio.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_module_i2c.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_module_mdio.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_ker_ar8316_lsw.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_module_uart.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_module_battery.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_module_dev.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_module_ploam.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_module_gmac.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_module_key.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_module_led.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_module_optic.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_module_rf.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_module_lsw.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_module_emac.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_module_pdlv.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_module_oam.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_module_mpcp.ko': File exists (-1): File exists
Loading DSP temporary modules: Loading the EchoLife WAP modules: BBSPinsmod: cannot insert '/lib/modules/wap/hw_module_veth.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_module_vlanops.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/wap/hw_module_ifmdev.ko': File exists (-1): File exists

HW_OS_StatInit, Line: 115 result : -149946108
Start ldsp_user...
Ldsp user start at 1397228193, Line: 1829

[ldsp_user]:uiUpMode=1
HW_LdspUser_XponProc uiPonAbility = 2
<LDSP>HW_LdspUser_XponProc start from gpon, uiUpMode=1.
<LDSP>Set uiUpMode=1.
<LDSP>HW_LdspUser_InitOpitc uiRet=0

Ldsp user end at 1397228193, Line: 1898
0
touch: touch: Read-only file system
<LDSP>[hw_ldsp_user.c_457]uiRet=0x0,par1=0x0,par2=0x0,par3=0x0,par4=0x0,

hw_ldsp_user HW_LdspUser_NetLink_Init ok !
<LDSP>[hw_ldsp_user.c_129]uiRet=0x0,par1=0x4,par2=0x4,par3=0x0,par4=0x0,
Start SSP...Init msg error.uiReturn=-149942271;
HW_Init_Frame error. uiReturn=-149942271;
Start SMP...Init SMP GmemList Successfully!
Init SMP Message Error! Return=0xf7101011;
Destroy GmemList!
Deinit SMP Successfully!
HW_Init_Frame error. uiReturn=-149942255;
Start BBSP...Start AMP...BBSP msg init error.uiRet:f7101011;
HW_Init_Frame error. uiReturn=-149942255;
Init AMP Message Error! Return=-149942255;
HW_Init_Frame error. uiReturn=-149942255;
Start CWMP...Init CWMP Message Error! Return=0xf7101011;
Destroy GmemList!
HW_Init_Frame error. uiReturn=-149942255;
Start MU...Start CONSOLE...Init CONSOLE GmemList Successfully!
Init CONSOLE Message Error! Return=0xf7101011;
Destroy GmemList!
HW_Init_FrameConsole error. uiReturn=-149942255;
WAP_MINI(Dopra Linux) # HW_MU_FreeRes::Destroy GmemList!
Init MU Message Error! Return=0xf7101011;

Не знаю будет ли полезна предоставленая мною информация, но я искренне надеюсь на вашу помощь.
В linux нуб полный, знаю только некоторые основы.

#376025

Судя по dmesg, ifconfig, все работает. После чего именно у вас проблемы появились?

#376028

yars, после отключения света в квартире до этого обновлял прошивку, но это было за 2 дня до перебоя.

в /mnt/jffs2/ есть некий лог hwontlog.txt в момент после включения питания в нем появилась надпись, с тех пор там ничего не обнавлялось.

Показать
Manufacturer:Huawei Technologies Co., Ltd;
ProductClass:HG8245;
SerialNumber:*номер*;
IP:192.168.100.1;
HWVer:130D4600;
SWVer:V1R003C00S105;

2014-04-09 21:24:08 [Error ] [SWM]Load Faild!Error code 0xf7204030!
#376030

Попробуйте ее еще раз перезалить, настроить, сохранить бекап конфига - заработает?
UPD: а если этот лог удалить, заново он не появится? И можно ли посмотреть список остальных скриптов инициализации и права на них?
UPD2: еще неплохо бы увидеть вывод mount и файл /etc/fstab, на всякий. А по кодам ошибок ничего не могу сказать.

#376031

yars, что именно перезалить? В /mnt/jffs2/ хранится конфиг hw_ctree.xml восстанавливал его из бекапа и из дефолтного конфига - ничего не изменилось. Зажатие кнопки ресет на 10 секунд перезаписыват hw_ctree.xml из дефолтного, по крайней мере так написано в сервисном мануале.
Веб морды - нет, как залить прошивку через консоль - не имею понятия.

mount
[console]mount
rootfs on / type rootfs (rw)
/dev/root on / type squashfs (ro)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
tmpfs on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /dev/shm type tmpfs (rw,nodev)
none on /tmp type tmpfs (rw,nodev)
none on /var type tmpfs (rw,nodev)
/dev/mtdblock7 on /mnt/jffs2 type jffs2 (rw)
[/console]
Показать
[console]cat /etc/fstab
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /dev tmpfs defaults 0 0
devpts /dev/pts devpts mode=620 0 0
tmpfs /dev/shm tmpfs nodev,size=512m 0 0
tmpfs /tmp tmpfs nodev,size=512m 0 0
[/console]
yars написал:

UPD: а если этот лог удалить, заново он не появится?

не появится, сообщения из этого лога выводились в морду, когда она работала.

yars написал:
А по кодам ошибок ничего не могу сказать.

очевидно, что эти коды одному хуавею известны и то не факт.

UPD не совсем понял какие остальные скрипты все то, что упоменаяется в rc.sysinit?

ls -l /etc/rc.d/
[console]ls -l /etc/rc.d/
drwxr-xr-x 2 root root 25 Sep 14 2009 init.d
-rwxr-xr-x 1 root root 481 Sep 14 2009 rc.shutdown
drwxr-xr-x 2 root root 30 Oct 8 2011 rc.start
drwxr-xr-x 2 root root 3 Jul 29 2009 rc.stop
-rwxr-xr-x 1 root root 1777 Oct 8 2011 rc.sysinit
[/console]

ls -l /etc/rc.d/
Если телнетом подключатся по 23 порту то можно вывести такой вот хелп

Показать
add user
backup cfg
backup log
cfg reset
cfg rollback
clear log
clear msg-stat
clear msg-trace
clear poncnt dnstatistic
clear poncnt gemport upstatistic
clear poncnt upstatistic
dbtest
del user
display access mode
display batteryStatus
display boardItem
display boot
display current-data
display dbgoutput
display deviceInfo
display dst
display eponkey
display eponloidpwd
display equipId
display ftplog
display if
display inner version
display lanmac
display logfiltermid
display logfiltertype
display loginfo
display logrtosave
display logrtoswt
display logsavetime
display logserver
display machineItem
display mem-info
display msg-queue
display msg-stat
display msg-trace
display oamdebug
display ont config-restore info
display onu info
display optmode
display password
display ploamoffline
display poncnt dnstatistic
display poncnt gemport upstatistic
display poncnt upstatistic
display productId
display sn
display swm state
display telnet access
display timeout
display timer
display tm-stat
display userinfo
display vendorId
display version
display wanmac
download usb
get gemport encryptstatus
get optic txmode
get poncnt upgemport
get ponmode
get testself
history
kill timer
load cfg
load pack
logout
msg monitor
mtest
reset
save data
save log
set boardItem
set boot
set dbgoutput
set debug-timer
set dst
set eponloidpwd
set gemport encryptstatus
set lanmac
set led
set logfiltermid
set logfiltertype
set logrtosave
set logrtoswt
set logsavetime
set logserver
set machineItem
set oamdebug
set optmode
set password
set poncnt upgemport
set ponmode type [gpon-1|epon-0]
set productId
set provisioningCode
set sn
set telnet
set timeout
set upport
set userpasswd
set wanmac
set watchdog
shell
start msg-stat
start msg-trace
stop msg-stat
stop msg-trace
system rollback
terminate swm task

если же подключаться по 50023 порту, то сразу попадаем в shell.

на всякий случай netstat -a
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:50023 *:* LISTEN
tcp 0 0 192.168.2.1:53 *:* LISTEN
tcp 0 0 192.168.100.1:53 *:* LISTEN
tcp 0 0 *:23 *:* LISTEN
tcp 0 0 192.168.100.1:50023 192.168.100.10:46986 ESTABLISHED
tcp 53460 12808 192.168.100.1:23 192.168.100.10:55572 ESTABLISHED
udp 0 0 192.168.2.1:53 *:*
udp 0 0 192.168.100.1:53 *:*
udp 0 0 255.255.255.255:6877 *:*
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node Path
unix 2 [ ] DGRAM 811
unix 2 [ ] DGRAM 795
#376248

Спасибо добрым людям за ответы, я по-преждему готов выполнять любые реквесты касаемые сабжа. Заказал, новый терминал у китайцев с али, возможно имея рабочий терминал получится оживить и этот (или получить два нерабочих).
Есть usb-ttl преобразователь, стоит ли разбирать этот полу-труп дабы подключится к последовательному порту или это ничего нового не даст?
Буду рад если кто-либо подскажет в PM место куда можно обратиться помимо этого форума. В качестве благодарности готов премировать небольшой суммой, человека предоставившего полезную информацию для решения моей проблемы.

#376253

Bit.By.Bit, у него есть возможность подключиться через com-порт? Не думаю, что это поможет, хотя, возможно, устройство может как-то через него прошиваться, или, например, сбрасывать отладочную информацию ядра. Но с другой стороны, для таких целей usb-to-com подходят плохо - они часто не могут управлять каждой ножкой com-порта по отдельности (bitbang) и это часто создает проблемы.

#376254

yars, там как раз и нужн usb-to-com ибо у обычного rs232 уровни -+12В, а в подобных устройствах используется транзисторно-транзисторная логика где ноль или единица это 0/+3В и сигналы инвертированы относительно rs232.
UPD, я так понимаю, что прошивкой занимается загрузчик и через serial есть вероятность получить к нему доступ. Разбирать пока, что не стану по ряду причин. Если никто ничего не подскажет, то когда придет новое устройство, то просто скопирую флешку программатором.
В хелпе есть команда "download usb" при её вводе контроллер на флешке начинает мигать, а потом все устройство намертво зависает.

на просторах интернета можно найти не мало людей с подобной проблемой, но решения так никто и не нашел.

#376423

Подпоялся к ттл выводам и вот что я вижу на консоли

Показать
[console]U-Boot 1.1.4 (Dec 8 2011 - 14:02:37)

U-Boot code: 90500000 -> 9051E6D0 BSS: -> 90554FB8
RAM Configuration:
Bank #0: 90000000 64 MB
Flash: 16 MB
*** Warning - bad CRC, using default environment

In: serial
Out: serial
Err: serial

Extend LSW IS AR8316
Initialize broadcast table ... ok
CPURTx Driver For Pilot <Board-A>!
### JFFS2 loading 'fsok' to 0x904bfe34
Scanning JFFS2 FS: . done.
### JFFS2 load complete: 2 bytes loaded to 0x904bfe34
No board type file!
ui_board_id = 1
[main.c__2899]::Magic1:0xf0bdbe7b, magic2 0x67fbf7ef, count -1426064529, flag -92291201, MainAreaOK -67175425, slaveAreaOK -419451010
Start from normal system!
Magic1:0x5a5a5a5a, magic2 0xa5a5a5a5, count 0, flag 0
Addr[0]:0x0,Addr[1]:0x40000,Addr[2]:0x41000,Addr[3]:0x60000,Addr[4]:0x1e0000,Addr[5]:0xae0000,Addr[6]:0xe60000
Start copy data from 0x201e0054 to 0x91000000 with sizeof 0x008ce040 .....................Done!
Start system with ram disk and set bootcmd to
BootArgs:noalign mem=50M console=ttyAMA0,115200 root=/dev/ram0 rootfstype=squashfs mtdparts=hisilicon:0x40000(boot)ro,0x1000(flashcfg)ro,0x1f000(syspara)ro,0x180000(krnl)ro,0x8fffac@0x1e0054(rootfs)ro,0x249024@0xc16fdc(minisystem)ro,0x180000(jffs2cfg),-(reserved) user_debug=0x1f panic=1
Press d key to abort autoboot: 10
## Booting image at 20060054 ...
Image Name: Linux-2.6.21.7-hrt1
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1484116 Bytes = 1.4 MB
Load Address: 90008000
Entry Point: 90008000
Loading Kernel Image ... OK
## Loading Ramdisk Image at 91000000 ...
Image Name: squashfs
Image Type: ARM Linux RAMDisk Image (uncompressed)
Data Size: 9232384 Bytes = 8.8 MB
Load Address: 00000000
Entry Point: 00000000

Starting kernel ...

Uncompressing Linux............................................................................................. done, booting the kernel.
Kernel Early-Debug on Level 0
iotable information:
virtual: 4093640704physical: 262144 length: 4096 type: 0
virtual: 4145283072physical: 90432 length: 4096 type: 0
virtual: 4145295360physical: 90435 length: 4096 type: 0
virtual: 4145340416physical: 90446 length: 4096 type: 0
virtual: 4145344512physical: 90447 length: 4096 type: 0
virtual: 4093706240physical: 262160 length: 4096 type: 0
virtual: 4093771776physical: 262176 length: 4096 type: 0
virtual: 4145307648physical: 90438 length: 32768 type: 0
virtual: 4145287168physical: 90433 length: 4096 type: 0
virtual: 4145348608physical: 90448 length: 4096 type: 0
virtual: 4076863488physical: 196608 length: 4096 type: 0
virtual: 4145291264physical: 90434 length: 4096 type: 0
virtual: 4145299456physical: 90436 length: 4096 type: 0
virtual: 4145303552physical: 90437 length: 4096 type: 0
hisilicon_map_io 281 [arch/arm/mach-sd5113_v100_p01/core.c]
hisilicon_init_irq 108 [arch/arm/mach-sd5113_v100_p01/core.c]
hisilicon_timer_init 228 [arch/arm/mach-sd5113_v100_p01/systimer.c]
hi_kernel_wdt_init 216 [arch/arm/mach-sd5113_v100_p01/hi_drv_wdt.c]
hisilicon_init_machine 175 [arch/arm/mach-sd5113_v100_p01/core.c]
hi_kernel_pci_preinit 390 [arch/arm/mach-sd5113_v100_p01/hi_pci.c]
pci clock is on!
hi_kernel_pci_postinit 488 [arch/arm/mach-sd5113_v100_p01/hi_pci.c]
hi_kernel_pci_postinit on!
hi_kernel_pci_map_irq 367 [arch/arm/mach-sd5113_v100_p01/hi_pci.c]
Linux version 2.6.21.7-hrt1 (huangchongjun@suse-ssmp-server) (gcc version 4.1.2 (Wind River Linux Sourcery G++ 4.1-84)) #2 Tue Jul 5 16:00:47 HKT 2011
CPU: ARMv6-compatible processor [410fb767] revision 7 (ARMv6TEJ), cr=00c5387f
Machine: SD5113-V100-PILOT-B01
Memory policy: ECC disabled, Data cache writeback
Get mem size 0x3200000;
CPU0: D VIPT write-back cache
CPU0: I cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
CPU0: D cache: 16384 bytes, associativity 4, 32 byte lines, 128 sets
Built 1 zonelists. Total pages: 12700
Kernel command line: noalign mem=50M console=ttyAMA0,115200 root=/dev/ram0 rootfstype=squashfs mtdparts=hisilicon:0x40000(boot)ro,0x1000(flashcfg)ro,0x1f000(syspara)ro,0x180000(krnl)ro,0x8fffac@0x1e0054(rootfs)ro,0x249024@0xc16fdc(minisystem)ro,0x180000(jffs2cfg),-(reserved) user_debug=0x1f panic=1
PID hash table entries: 256 (order: 8, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 50MB = 50MB total
Memory: 38588KB available (2676K code, 233K data, 108K init)
Security Framework v1.0.0 initialized
Capability LSM initialized
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Hisilicon clock system V0.01
[clk_register, 244] AHBCLK
[clk_register, 244] ARMCORECLK
[clk_register, 244] UARTCLK
PCI: device 0000:00:03.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:04.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:05.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:06.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:07.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:08.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:09.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:0a.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:0b.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:0c.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:0d.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:0e.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:0f.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:10.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:11.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:12.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:13.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:14.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:15.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:16.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:17.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:18.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:19.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:1a.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:1b.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:1c.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:1d.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:1e.0 has unknown header type 1c, ignoring.
PCI: device 0000:00:1f.0 has unknown header type 1c, ignoring.
PCI: bus0: Fast back to back transfers enabled
istatus and imask 16777216
istatus and imask 0
map irq: slot 0, pin 1, devslot 2, irq: 21
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
checking if image is initramfs...it isn't (bad gzip magic numbers); looks like an initrd
Freeing initrd memory: 9016K
Registering GDB sysrq handler
squashfs: version 3.4 (2008/08/26) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
JFFS2 version 2.2. (NAND) (C) 2001-2006 Red Hat, Inc.
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: dw uart driver
dev:f2: ttyAMA0 at MMIO map 0x1614f000 mem 0xf714f000 (irq = 17) is a AMBA/DW
dev:f1: ttyAMA1 at MMIO map 0x1614e000 mem 0xf714e000 (irq = 16) is a AMBA/DW
RAMDISK driver initialized: 4 RAM disks of 23000K size 1024 blocksize
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
PPP BSD Compression module registered
PPP MPPE Compression module registered
NET: Registered protocol family 24
SLIP: version 0.8.4-NET3.019-NEWTTY (dynamic channels, max=256) (6 bit encapsulation enabled).
CSLIP: code copyright 1989 Regents of the University of California.
SLIP linefill/keepalive option.
netconsole: not configured, aborting
Start to set chip MaxBufWriteSize.
!Not find NUMONYX JS28F128M29EWHA chip.
hisilicon: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
hisilicon: CFI does not contain boot bank location. Assuming top.
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Hisilicon flash: registering whole flash at once as master MTD
8 cmdlinepart partitions found on MTD device hisilicon
Creating 8 MTD partitions on "hisilicon":
0x00000000-0x00040000 : "boot"
0x00040000-0x00041000 : "flashcfg"
0x00041000-0x00060000 : "syspara"
0x00060000-0x001e0000 : "krnl"
0x001e0054-0x00ae0000 : "rootfs"
0x00c16fdc-0x00e60000 : "minisystem"
0x00e60000-0x00fe0000 : "jffs2cfg"
0x00fe0000-0x01000000 : "reserved"
usb clock is on!
h2v100-ehci h2v100-ehci.0: h2v100-ehci
h2v100-ehci h2v100-ehci.0: new USB bus registered, assigned bus number 1
h2v100-ehci h2v100-ehci.0: irq 23, io mem 0x40010000
h2v100-ehci h2v100-ehci.0: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
h2v100-ohci h2v100-ohci.0: h2v100-ohci
h2v100-ohci h2v100-ohci.0: new USB bus registered, assigned bus number 2
h2v100-ohci h2v100-ohci.0: irq 24, io mem 0x40020000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
Netfilter messages via NETLINK v0.30.
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
RAMDISK: squashfs filesystem found at block 0, block number 9015
RAMDISK: Loading 9015KiB [1 disk] into ram disk... done.
VFS: Mounted root (squashfs filesystem) readonly.
Freeing init memory: 108K

-=# DOPRA LINUX 1.0 #=-
-=# EchoLife WAP 0.1 #=-
-=# Huawei Technologies Co., Ltd #=-

mount file system
Loading the kernel modules:
Loading module: nf_conntrack

nf_conntrack_init new nf_conntrack version 0.5.0 (400 buckets, 3200 max)
Loading module: nf_conntrack_ftp
Loading module: nf_conntrack_tftp
Loading module: nf_nat
Loading module: nf_nat_ftp
Loading module: nf_nat_tftp
Making device instances:
Setting console log message level:
Setting hostname:
Settingup the sysctl configurations:
Setting up interface lo:
Running local startup scripts.

*******************************************
--== Welcome To EchoLife WAP ==--
--== Huawei Technologies Co., Ltd. ==--
*******************************************
WAP Ver:V100R003C00SPC106B176
WAP Timestamp:2012/02/26 12:15:22
*******************************************

Start lunch kmsgread ...
Pid of kmsgrread is:
Rootfs time stamp:2012-02-26_12:20:32
Mount the JFFS2 file system:
SCSI subsystem initialized
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
fuse init (API version 7.8)
User init start......
Loading the SD5113V100 modules:
ETH install success!
request_irq hi_dp!!!!

SD511X DP V1.0 is installed !

SD511x IOCTL_DP V1.0 is installed

SD511x MDIO ID V1.0 is installed

SD511x GPIO VERSION 1.0 is installed

SD511x GPIO_INT ID 1.0 is installed

SD511x I2C ID V1.0 is installed

SD511x TIMER ID V1.0 is installed

SD511X SPI ID v1.0 is installed

SD511X SYSCTL V1.0 is installed

SD511x UART ID V1.0 is installed

SD5113 DMA ID V1.0 is installed
<6>
SD511X HW ID v1.0 is installed

SD511x EXT_INT ID 1.0 is installed

SD511x IOCTL_SYSCTL V1.0 is installed
ifconfig eth0 hw ether 7C:60:97:89:F4:A5
<6>device eth0 entered promiscuous mode
br0: port 1(eth0) entering learning state
Loading the EchoLife WAP modules: LDSP
SSP For LDSP Install Successfully...
HLP For LDSP Install Successfully...
CHIPADP-PHY For LDSP Install Successfully...
Get version through hardware!
CHIPADP-SD5113 For LDSP Install Successfully...
GPIO For LDSP Install Successfully...
HIGHWAY For LDSP Install Successfully...
I2C For LDSP Install Successfully...
MDIO For LDSP Install Successfully...
CHIPADP-AR8316 LSW For LDSP Install Successfully...
SPI For LDSP Install Successfully...
UART For LDSP Install Successfully...
BATTERY For LDSP Install Successfully...
PLOAM For LDSP Install Successfully...
GMAC For LDSP Install Successfully...
KEY For LDSP Install Successfully...
LSW For LDSP Install Successfully...
LED For LDSP Install Successfully...
OPTIC For LDSP Install Successfully...
RF For LDSP Install Successfully...
le88226 For LDSP install successfully...
DEV For LDSP Install Successfully...
USB For LDSP Install Successfully...
HW_KER_BBSP_COMMON_HLE_SET_DEBUG_E:13Common HLP For BBSP Install Successfully...
topo For BBSP Install Successfully...
FLOW For BBSP Install Successfully...
VETH For LDSP Install Successfully...
hw_pkt_tunnel Install Successfully...
WIFI For BBSP Install Successfully...
Dosflt For BBSP Install Successfully...
EMAC For LDSP Install Successfully...
MPCP For LDSP Install Successfully...
Loading DSP temporary modules:
linux kernel dopra is installed!

dsp sdk insmod success!
DSP For LDSP Install Successfully...
Loading the EchoLife WAP modules: BBSP
ipv6 Install Successfully...
hw_acl init success
hw_acl_cmd_init OK!
hw_dhcp Install Successfully...
napt register conntrack_handler
NAPT For BBSP Install Successfully...
hw_igmp_kernel Install Successfully...

_init_session SUCCESS
table_size =3040 hash_size = 380
ffwd register conntrack_handler
hw_ker_ffwd_core install
hw_ker_ffwd_ipv4 install
CODEC For LDSP Install Successfully...
hw_ringchk_kernel Install Successfully...
hw_ethoam_kernel Install Successfully...
hw_pppoe Install Successfully...
Portal For BBSP Install Successfully...

install success
hw_bind_init...
KARP Install Successfully...
ssmp bbsp vspa igmp amp apm clid&
Start ldsp_user...0
Start start pid=516; uiProcNum=7;

<LDSP>Ldsp cfg start at 12, Line: 803
HW_LdspCfg_XponProc uiPonAbility = 2
<LDSP>HW_LdspCfg_XponProc start from gpon, uiUpMode=1.
<LDSP cfg>Set uiUpMode=1.
<LDSP>Hardware board id is 1 !
<LDSP>Hardware pcb id is 3 !
SD5113 test self OK
Lsw test self OK
Optic vendor_pn LTB3468L-CCG+
Optic input vendor_pn LTB3468L-CCG+
Optic calMode 0
GPON opened success !
1
usb1 gpio clock open

<LDSP>Ldsp cfg end at 13, Line: 847
HW_LdspUser_XponProc uiPonAbility = 2
<LDSP>HW_LdspUser_XponProc start from gpon, uiUpMode=1.
<LDSP User>Set uiUpMode=1.
<LDSP>HW_LdspUser_NetLink_Init initial success.
<LDSP>HW_LdspUser_InitNetlink initial success.
hw_quickcfg_resume.c <74> uiRet=0x00000000 arg=0x00000000

system not enable the restore flag!
Start VSPA ...InitFrame get next state amp; PID=541; state=0; Sec=15;
InitFrame get next state amp; PID=541; state=0; Sec=15;
InitFrame get next state igmp; PID=542; state=0; Sec=15;
InitFrame get next state igmp; PID=542; state=0; Sec=15;
InitFrame get next state apm; PID=552; state=0; Sec=15;
InitFrame get next state apm; PID=552; state=0; Sec=15;
InitFrame get next state ssmp; PID=539; state=0; Sec=15;
InitFrame get next state ssmp; PID=539; state=0; Sec=15;
HW_DIA_InitHmem success;
HW_Shell_InitFuncReg.uiReturn=0x00000000;
HW_DIA_InitHmem success;
HW_Shell_InitFuncReg.uiReturn=0x00000000;
InitFrame get next state clid; PID=553; state=0; Sec=16;
InitFrame get next state clid; PID=553; state=0; Sec=16;
HW_DIA_InitHmem success;
PID Uid VmSize Stat Command
HW_DIA_InitHmem success;
HW_Shell_InitFuncReg.uiReturn=0x00000000;
HW_DIA_InitHmem success;
HW_Shell_InitFuncReg.uiReturn=0x00000000;

[HMEM]Start Times uiStartNum = 0x0.

[HMEM]HMEM initial success.
InitFrame get next state bbsp; PID=540; state=0; Sec=16;
InitFrame get next state bbsp; PID=540; state=0; Sec=16;
HW_Shell_InitFuncReg.uiReturn=0x00000000;
1 root 608 S init
2 root SWN [ksoftirqd/0]
3 root SW [watchdog/0]
4 root SW< [events/0]
5 root SW< [khelper]
6 root SW< [kthread]
30 root SW< [kblockd/0]
33 root SW< [khubd]
47 root SW [pdflush]
48 root SW [pdflush]
49 root SW< [kswapd0]
50 root SW< [aio/0]
65 root SW [mtdblockd]
113 root 256 S init
114 root 572 S /bin/sh /etc/rc.d/rc.sysinit
191 root DW< [wap_lastword]
192 root DW< [wap_ktrace]
196 root 580 S kmsgread
203 root 600 S /bin/sh /etc/rc.d/rc.start/1.sdk_init.sh start
218 root SWN [jffs2_gcd_mtd7]
456 root SW [mpcp]
465 root SW< [kTimerTask]
490 root SW [cpucar]
516 root 628 S start ssmp bbsp vspa igmp amp apm clid
536 root 844 S hw_ldsp_user

HW_XML_DBMain HW_XML_DBConfFileInit OK
WAP Loaded Custom Configuration <Msg>: 0x00000000;
ProcMax=30 ModuleMax=20
GroupMax=2 TraceMax=8
StatMax=16 MqLenMax=4096
uiMqNumMax=1024
HW_DIA_InitHmem success;
HW_Shell_InitFuncReg.uiReturn=0x00000000;
539 root 1340 R ssmp
540 root 1312 R bbsp
541 root 964 R amp
542 root 1108 R igmp
549 root 560 S /bin/sh /bin/watchproc.sh vspa_sip
551 root 824 S smp_usb
552 root 868 R N apm
553 root 792 R clid
554 root 240 S /bin/sh /etc/rc.d/rc.start/1.sdk_init.sh start
555 root 380 S sleep 30
556 root 240 S /bin/sh /etc/rc.d/rc.start/1.sdk_init.sh start
557 root 1264 R N vspa_sip
558 root 380 S sleep 60
562 root 380 S sleep 30
563 root 240 S /bin/sh /etc/rc.d/rc.start/1.sdk_init.sh start
564 root 380 S sleep 40
565 root 604 R ps


BusyBox v1.4.1 (2011-07-29 10:25:20 HKT) Built-in shell (ash)
Enter 'help' for a list of built-in commands.

VSPA pri from 0 to 10
InitFrame get next state vspa_sip; PID=557; state=0; Sec=16;
InitFrame get next state vspa_sip; PID=557; state=0; Sec=16;
Read line cwmp cwmp 1
;
Load auto start conig:0 cwmp cwmp 1
Read line ethoam ethoam 1
;
Load auto start conig:1 ethoam ethoam 1
WAP Loaded Custom Configuration <Db>: 0x00000000;
uiEnable=1 MsgWaitTime=10000
WAP(Dopra Linux) # HW_DIA_InitHmem success;
HW_Shell_InitFuncReg.uiReturn=0x00000000;
[hw_xml_dbmain.c]:[3741]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_LogCfg
Read DB Failure,uiFlag = 2
[hw_xml_dbmain.c]:[3741]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_LogCfg
Read DB Failure,uiFlag = 3
[hw_xml_dbmain.c]:[3741]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_LogCfg.FilMid.1
Read DB Failure,uiFlag = 4
[hw_xml_dbmain.c]:[3741]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_LogCfg
Read DB Failure,uiFlag = 5
[hw_xml_dbmain.c]:[3741]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_LogCfg.SaveInterval.1
Read DB Failure,uiFlag = 6
[hw_xml_dbmain.c]:[3741]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_LogCfg
Read DB Failure,uiFlag = 1
WAP Load Custom Configuration: uiRet=0x00000000;
TimeForRebootSys=1 TimeForResetCfg=10
WAP Loaded Custom Configuration <WebServer>: 0xf7109009
Enable=1 MaxConNumPerSec=1000
MaxConNumTotal=128 MaxPwdLength=128
MaxNameLength=32 PortNum=80
Default Language=chinese
Web custom config loaded ......
HW_WEB_RegCgiCmd:uiError=0x00000000;
HW_WEB_RegAspCmd:uiError=0x00000000;
[hw_xml_dbmain.c]:[3510]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.LANDevice.1.LANHostConfigManagement.IPInterface.1
WAP Loaded Custom Configuration <Swm>: 0x00000000;
BufferSize=1048576 MaxItemNum=16
MaxChnl=8 MaxDev=8
FlashCfgAddr=0x00040000 FlashCfgLen=4096
PackMarkV1=HWTP PackMarkV2=HWNP;
BootCountAddr=0x933ff000
WAP Loaded Custom Configuration <CFG>: 0x00000000;
CfgCallWaitTime=100000
WAP Loaded Custom Configuration <CFM>: 0x00000000;
Enable=1 MaxObjNum=64
CFM start!AppName:ssmp

ssmp CFM Used 166 ms
CFM end!AppName:ssmp,uiRet=0x0
HW_Shell_InitFuncReg.uiReturn=0x00000000;
HW_Init_ModuleSsp HW_IP_LOAD_CONFIG END

[Start Phase]::uiStartPhase: 0, uiEndPhase: 1, Seconds: 6
InitFrame get next state ssmp; PID=539; state=1; Sec=18;
InitFrame get next state bbsp; PID=540; state=1; Sec=18;
InitFrame get next state amp; PID=541; state=1; Sec=18;
InitFrame get next state igmp; PID=542; state=1; Sec=18;
InitFrame get next state clid; PID=553; state=1; Sec=18;
InitFrame get next state vspa_sip; PID=557; state=1; Sec=18;
InitFrame get next state apm; PID=552; state=1; Sec=18;
WAP Loaded Custom Configuration <Apm>: 0x00000000;
BatteryChangeTime=300 uiBootDelay=600
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.X_HW_LANBIND
WAP Loaded Custom Configuration <CLI>: 0x00000000;
Enable=1 UserNameLen=32
UserPwdLen=64 WelcomeInfo:Welcome Visiting Huawei Home Gateway
Copyright by Huawei Technologies Co., Ltd.
MaxTelnetNum=4 HistoryNum=20
TelnetPortId=23 Prompt:WAP
hw_apm_init.c:<262>:APM get board id=1;
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANPPPConnection.1.X_HW_LANBIND
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANIPConnection.1.X_HW_LANBIND
HW_APM_ModuleInit SUCCESS!
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANPPPConnection.1.X_HW_LANBIND
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.3.WANIPConnection.1.X_HW_LANBIND
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.3.WANPPPConnection.1.X_HW_LANBIND
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.4.WANIPConnection.1.X_HW_LANBIND
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.4.WANPPPConnection.1.X_HW_LANBIND
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.5.WANIPConnection.1.X_HW_LANBIND
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.5.WANPPPConnection.1.X_HW_LANBIND
Kmsgread (196) exit.
Send exit message to old kmsgread 196;
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.6.WANIPConnection.1.X_Set kmsgread process pid to:553;
HW_LANBIND
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.6.WANPPPConnection.1.X_HW_LANBIND
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.7.WANIPConnection.1.X_HW_LANBIND
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.7.WANPPPConnection.1.X_HW_LANBIND
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.8.WANIPConnection.1.X_HW_LANBIND
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.8.WANPPPConnection.1.X_HW_LANBIND

[Start Phase]::uiStartPhase: 1, uiEndPhase: 2, Seconds: 2
InitFrame get next state ssmp; PID=539; state=2; Sec=20;
InitFrame get next state amp; PID=541; state=2; Sec=20;
InitFrame get next state igmp; PID=542; state=2; Sec=20;
HW_Init_Frame CLI Successful.
InitFrame get next state bbsp; PID=540; state=2; Sec=20;
InitFrame get next state vspa_sip; PID=557; state=2; Sec=20;
<APM>HW_Shell_ApmCmdProcInit OK
HW_Init_Frame APM Successful.
<CFM>uiMsgMid = 0x4c
[hw_xml_dbmain.c]:[3510]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_VendorInfo
CFM start!AppName:apm
HW_ONT_GetAccessMode : uiPonModeInd:[0]
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_AmpInfo.X_HW_Spec
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_AmpInfo.X_HW_Spec.X_HW_EthSpec.1

apm CFM Used 142 ms
CFM end!AppName:apm,uiRet=0x0
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_AmpInfo.X_HW_Spec.X_HW_EthSpec.2
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_AmpInfo.X_HW_Spec.X_HW_EthSpec.3
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_AmpInfo.X_HW_Spec.X_HW_EthSpec.4
[AMP]: HW_AMP_InitHGDetect() Error! Return=-149905368;
[hw_xml_dbmain.c]:[3510]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_AMPConfig.PortIsolate

GetSwitchFromTree Failed! [4145061928] [disable]
[hw_xml_dbmain.c]:[3510]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_CATVConfiguration
[AMP]: Get CATV Enable from Tree Error! Return=-149905368;

[Start Phase]::uiStartPhase: 2, uiEndPhase: 3, Seconds: 0
InitFrame get next state ssmp; PID=539; state=3; Sec=20;
InitFrame get next state igmp; PID=542; state=3; Sec=20;
IGMP Init Lsw lib Tbl Successfully!
InitFrame get next state bbsp; PID=540; state=3; Sec=20;
InitFrame get next state vspa_sip; PID=557; state=3; Sec=20;
InitFrame get next state amp; PID=541; state=3; Sec=20;
<CFM>uiMsgMid = 0x60
CFM start!AppName:amp
[hw_xml_dbmain.c]:[3510]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_VendorInfo

amp CFM Used 78 ms
CFM end!AppName:amp,uiRet=0x0
HW_IGMP_GetVendorInfo Failed! uiRet is 4145061928
[hw_xml_dbmain.c]:[3510]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_FeatureList.BBSPCustomization
HW_IGMP_GetMulticastToUnicastInfo Failed! uiRet is 4145061928
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.LANDevice.1.LANHostConfigManagement.IPInterface.1
[IFM_ERROR],file:hw_ifm_main.c,line:174:IFM_IPIF_Init error:0xf710a028
device br0 already exists; can't create bridge with the same name
device eth0 is already a member of a bridge; can't enslave it to bridge br0.
ifconfig: SIOCSIFADDR: Invalid argument
ifconfig: SIOCSIFADDR: Invalid argument

HW_IFM_UpdateWANCONN: wan connection instance number is 0
[IFM_INFO],file:hw_wan_vlanswitch.c,line:1231:tag0 supported:0, vlanpri supported:0, wannum supported:2
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_FeatureList.BBSPCustomization.RingCheck

[Start Phase]::uiStartPhase: 3, uiEndPhase: 4, Seconds: 0
InitFrame get next state bbsp; PID=540; state=4; Sec=20;
InitFrame get next state amp; PID=541; state=4; Sec=20;
InitFrame get next state ssmp; PID=539; state=4; Sec=20;
InitFrame get next state igmp; PID=542; state=4; Sec=20;
InitFrame get next state vspa_sip; PID=557; state=4; Sec=20;
HW_SSP_RegIfmEvt success
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_DHCPSLVSERVER
insmod: cannot insert '/lib/modules/2.6.21.7-hrt1/kernel/net/netfilter/nf_conntrack_ftp.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/2.6.21.7-hrt1/kernel/net/ipv4/netfilter/nf_nat_ftp.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/2.6.21.7-hrt1/kernel/net/netfilter/nf_conntrack_tftp.ko': File exists (-1): File exists
insmod: cannot insert '/lib/modules/2.6.21.7-hrt1/kernel/net/ipv4/netfilter/nf_nat_tftp.ko': File exists (-1): File exists
port #0: 5060
port #0: 5060
port #1: 5061
port #1: 5061
port #2: 5062
port #2: 5062
port #3: 5063
port #3: 5063
port #4: 5064
port #4: 5064
port #5: 5065
port #5: 5065
port #6: 5066
port #6: 5066
port #7: 5067
port #7: 5067

new module
---register conntrack sip alg ko succeed!

nf_nat_sip init success---HW_LSW_GPON_CfgReset is called.
@@@HW_LSW_ADPT_SetGponMapMode uiNewGlbMapMode: 1 oldGlbMapMode: 1
nf_conntrack_rtsp v0.6.21 loading
HW_DIA_InitHmem success;
HW_Shell_InitFuncReg.uiReturn=0x00000000;
Init OMCI HW_DIA_InitResource 0x0
ldsp return the result:0
Get the Los Status:1
[hw_xml_dbmain.c]:[3510]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_OmciInfo.OmciVersion
======gpon optic monitor start=====
[hw_xml_dbmain.c]:[3510]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_VendorInfo

=====get wan vlan tde version fail!!!======
[hw_xml_dbmain.c]:[3510]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_OmciInfo.DbaType
[OMCI_TAPI_GetSRIndication]Invalid recode [0xf710a028]
[OMCI]: Get SR Indication error! Return code = 0xf710a028!
[hw_xml_dbmain.c]:[3510]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_VendorInfo
[OMCI]: Get VendorID From XML err:0xf710a028
[OMCI]: Check led status failed!
Init OMCI HW_Shell_Init 0x0

No server avilable!
[hw_xml_dbmain.c]:[3510]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_FeatureList.BBSPCustomization

[Start Phase]::uiStartPhase: 4, uiEndPhase: 5, Seconds: 2
InitFrame get next state amp; PID=541; state=5; Sec=22;
InitFrame get next state ssmp; PID=539; state=5; Sec=22;
InitFrame get next state igmp; PID=542; state=5; Sec=22;
InitFrame get next state vspa_sip; PID=557; state=5; Sec=22;
InitFrame get next state bbsp; PID=540; state=5; Sec=22;
<CFM>uiMsgMid = 0x92
CFM start!AppName:igmp

[Start Phase]::uiStartPhase: 5, uiEndPhase: 6, Seconds: 0
InitFrame get next state amp; PID=541; state=6; Sec=22;
InitFrame get next state ssmp; PID=539; state=6; Sec=22;
InitFrame get next state bbsp; PID=540; state=6; Sec=22;
InitFrame get next state vspa_sip; PID=557; state=6; Sec=22;
OpticPN = LTB3468L-CCG+ Type = 2
Init Access Mode To GPON .................
[Start Phase]::uiStartPhase: 6, uiEndPhase: 7, Seconds: 0
======gpon optic monitor stop=====
InitFrame get next state amp; PID=541; state=7; Sec=22;
InitFrame get next state ssmp; PID=539; state=7; Sec=22;
InitFrame get next state bbsp; PID=540; state=7; Sec=22;
[PLOAM]ONUID(0): O1 => O1

igmp CFM Used 142 ms
CFM end!AppName:igmp,uiRet=0x0
InitFrame get next state vspa_sip; PID=557; state=7; Sec=22;
br0: topology change detected, propagating
br0: port 1(eth0) entering forwarding state
ath_hal: 0.9.17.1 (AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2316, RF2317, WRITE_EEPROM, 11D)
ath_dfs: Version 2.0.0
Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
wlan: 0.8.4.2 (Atheros/multi-bss)
ath_rate_atheros: Version 2.0.1
Copyright (c) 2001-2004 Atheros Communications, Inc, All Rights Reserved
ath_pci: 0.9.4.5 (Atheros/multi-bss)
ath_pci: CR-LSDK-1.4.0.112
PCI: enabling device 0000:00:02.0 (0340 -> 0342)
WIFI MAC[0]:0x7c
WIFI MAC[1]:0x60
WIFI MAC[2]:0x97
WIFI MAC[3]:0x89
WIFI MAC[4]:0xf4
WIFI MAC[5]:0xa9
WIFI test self OK
Chan Freq RegPwr HT CTL CTL_U CTL_L DFS
1 2412n 20 HT20 1 0 0 N
1 2412n 20 HT40 1 0 1 N
2 2417n 20 HT40 1 0 1 N
2 2417n 20 HT20 1 0 0 N
3 2422n 20 HT20 1 0 0 N
3 2422n 20 HT40 1 0 1 N
4 2427n 20 HT40 1 0 1 N
4 2427n 20 HT20 1 0 0 N
5 2432n 20 HT40 1 1 0 N
5 2432n 20 HT40 1 0 1 N
5 2432n 20 HT20 1 0 0 N
6 2437n 20 HT40 1 1 0 N
6 2437n 20 HT40 1 0 1 N
6 2437n 20 HT20 1 0 0 N
7 2442n 20 HT40 1 0 1 N
7 2442n 20 HT20 1 0 0 N
7 2442n 20 HT40 1 1 0 N
8 2447n 20 HT40 1 1 0 N
8 2447n 20 HT40 1 0 1 N
8 2447n 20 HT20 1 0 0 N
9 2452n 20 HT40 1 1 0 N
9 2452n 20 HT40 1 0 1 N
9 2452n 20 HT20 1 0 0 N
10 2457n 20 HT40 1 1 0 N
10 2457n 20 HT20 1 0 0 N
11 2462n 20 HT40 1 1 0 N
11 2462n 20 HT20 1 0 0 N
12 2467n 20 HT40 1 1 0 N
12 2467n 20 HT20 1 0 0 N
13 2472n 20 HT40 1 1 0 N
13 2472n 20 HT20 1 0 0 N
[WIFI]Channel list OK.
dfs_init_radar_filters: Unknown dfs domain 0
wifi0: 11nght20 rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: 11nght20 MCS: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
wifi0: 11nght40plus rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: 11nght40plus MCS: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
wifi0: 11nght40minus rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: 11nght40minus MCS: 0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
wifi0: mac 384.2 phy 15.15 radio 12.0
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Use hw queue 7 for UAPSD
wifi0: Atheros 9280: mem=0x38000000, irq=21 hw_base=0xc3cc0000
wlan: mac acl policy registered
Error for wireless request "Set Tx Power" (8B26) :
SET failed on device ath0 ; No such device.
Error for wireless request "Set Tx Power" (8B26) :
SET failed on device ath0 ; No such device.
WLAN init fail!

[Start Phase]::uiStartPhase: 7, uiEndPhase: 8, Seconds: 12
InitFrame get next state bbsp; PID=540; state=8; Sec=34;
<CFM>uiMsgMid = 0x80
InitFrame get next state ssmp; PID=539; state=8; Sec=34;
HW_Init_Frame Amp Successful.
InitFrame get next state vspa_sip; PID=557; state=8; Sec=34;
CFM start!AppName:bbsp

bbsp CFM Used 4457 ms
CFM end!AppName:bbsp,uiRet=0x0
[hw_xml_dbmain.c]:[3510]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_FeatureList.BBSPCustomization
[hw_xml_dbmain.c]:[3510]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.X_HW_FeatureList.BBSPCustomization

Init DSP starting...
ASIC Init begin
LoadZspCode Success, waiting for bootting...
HIAPI_ZspBootCompleteWait: Boot Complete!
ASIC Init end
Init DSP OK!
Slic init Start...
Slic init success...
HW_VSPA_InitUnionCheck Result=0x0.
hw_msg_send.c:<46>:Try to start launch oam by message!
VSPA Init Complete!

[Start Phase]::uiStartPhase: 8, uiEndPhase: 9, Seconds: 11
HW_Init_Frame bbsp Successful.
InitFrame get next state ssmp; PID=539; state=9; Sec=45;
InitFrame get next state vspa_sip; PID=557; state=9; Sec=45;

[Start Phase]::uiStartPhase: 9, uiEndPhase: 10, Seconds: 0
InitFrame get next state ssmp; PID=539; state=10; Sec=45;
InitFrame get next state vspa_sip; PID=557; state=10; Sec=45;

[Start Phase]::uiStartPhase: 10, uiEndPhase: 11, Seconds: 0

[Start Phase]::uiStartPhase: 0, uiEndPhase: 11, Seconds: 33
HW_Init_Frame ssp success
HW_Init_Frame VSPA Successful.
VSPA pri restore! Now:0
Systerm start uiPhase:11 enCfgFlag:0!
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.1.WANIPConnection.1.X_HW_ExtendDHCPOPTION60.1
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.2.WANIPConnection.1.X_HW_ExtendDHCPOPTION60.1
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.3.WANIPConnection.1.X_HW_ExtendDHCPOPTION60.1
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.4.WANIPConnection.1.X_HW_ExtendDHCPOPTION60.1
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.5.WANIPConnection.1.X_HW_ExtendDHCPOPTION60.1
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.6.WANIPConnection.1.X_HW_ExtendDHCPOPTION60.1
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.7.WANIPConnection.1.X_HW_ExtendDHCPOPTION60.1
[hw_xml_dbmain.c]:[4085]Not Find in Ctree:CPath=InternetGatewayDeviceConfig.InternetGatewayDevice.WANDevice.1.WANConnectionDevice.8.WANIPConnection.1.X_HW_ExtendDHCPOPTION60.1
Dropped the page cache.
HW_DIA_InitHmem success;
HW_Shell_InitFuncReg.uiReturn=0x00000000;
ETHOAM Init Lsw lib Tbl Successfully!

ethoam upport mode =1
HW_ETHOAM_InitCbbPubIf succeed!
HW_ETHOAM_InitCbbDataProcIf succeed!
HW_ETHOAM_Init_CBB_Resource succeed!
<CFM>uiMsgMid = 0x8b
ETHOAM Init SUCCESS.
CFM start!AppName:ethoam

ethoam CFM Used 134 ms
CFM end!AppName:ethoam,uiRet=0x0

Apm set device&business active for VSPA RESET
HW_Init_Frame MU Successful.
vspa_sip Started with WatchProc!
Init Watchdog Start ... [WDT] 948: old priority 0, new priority -15
Current upport mode is 0x1;
Valid process name(omci), pid(655)
Valid thread name(GPON_Monitor), pid(655), threadid(658)
Valid thread name(OMCI_PRO_QueryO), pid(655), threadid(674)
Valid thread name(OMCI_PRO_Proces), pid(655), threadid(675)
Valid thread name(OMCI_PRO_SendMa), pid(655), threadid(676)
Valid thread name(OMCI_PRO_RecvMa), pid(655), threadid(677)
Valid thread name(OMCI_STAT_PMMai), pid(655), threadid(678)
Valid thread name(OMCI_CMD_Main), pid(655), threadid(679)
Valid process name(vspa_sip), pid(557)

===============will kill ethoam process========
ethoam self-kill msg:3
enter to HW_ETHOAM_Uninit
hw_msg_commonproc.c:<169>:process ethoam start flag clean.
Ethoam uninit success[/console]

Похоже что-то с инициализацией wifi вследствии этого "Warning - bad CRC, using default environment".

#376429

"Bit.By.Bit" написал:
Похоже что-то с инициализацией wifi вследствии этого "Warning - bad CRC, using default environment".
ну тут два варианта:
1. прошивка слетела. Но раз вы перепрошили(?), то отпадает.
2. память сдохла. Лечится заменой, если оно конечно оно на панельке, либо есть возможность перепайки.

PS: я-бы выкинул, или на опыты.

PPS: если не жалко рабочий такой же девайс, можно загрузить его, и по горячему поменять память, и её прошить. Конечно есть риск угробить и рабочий.
#376442

drBatty, прошивал но около дух-трех недель назад после этого все работало, но перестало после отключения электричества. (возможно с момента прошивки он не перезагружался по этому и работал).
По поводу извращений с перепайкой, думаю логичнее найти программатор по знакомым сервисникам.
U-Boot вроде бы способен воспринимать какие-то команды, было бы здорово заставить его прошить флешку.

#376721

Здравствуйте. У меня аналогичная проблема с 8245. После прошивки не стал заходить на веб морду. Пингуется адрес 192.168.100.1 по телнету заходит, но логин/пароль root/admin не подходит, впрочем как и другие стандартные пароли к хуавеям. Хотел у вас узнать поподробней как вы припаялись к нему? Я нуб сильно не пинайте. И пожалуйся если решите свою проблему отпишетесь. Жалко девайс. Буду следить за темой.

#377574
Bit.By.Bit написал:
yars, что именно перезалить? В /mnt/jffs2/ хранится конфиг hw_ctree.xml восстанавливал его из бекапа и из дефолтного конфига - ничего не изменилось.

Посмотрите содержимое hw_ctree.xml. Он читаемый? Похоже проблема в нем, т.к. в консоле слишком много ошибок «[hw_xml_dbmain.c]:[4085]Not Find in»
Попробуйте перепрошить через телнет (последняя версия прошивки здесь http://support.huawei.com/enterprise/productsupport?pid=4977710 ):


Восстановление прошивки ONT Huawei на примере HG8240
----------------------------------------------------

Запустить на компе TFTP-сервер (например TFTPD32), в папку которого положить прошивку и готовый конфиг.
Вход оставить анонимным, поправить пути к папкам, остальные настройки по-умолчанию.

Сбросить ОНТ кнопкой reset.

Дождаться стабильного пинга на 192.168.100.1 и войти на ONT командой Telnet (root/admin).

Дать команду ">load pack by tftp svrip 192.168.100.2 remotefile image.bin".
Прошивка начнёт заливаться, о чём TFTP-сервер выдаст сообщение (окно с ходом трансфера).
По окончании с небольшой паузой 5-15 секунд ONT выдаст в терминал сообщение типа
"WAP_MINI(Dopra Linux) # Software Operation Successful!RetCode=0x0! New Version [V100R003C80SPC001]!"
и ещё через 5-15 секунд ONT сам перезагрузится.

Далее восстанавливаем конфиг:
">load cfg by tftp svrip 192.168.100.5 remotefile cfg.xml"
ONT выдаст сообщение "sucess! Software Operation Successful!RetCode=0x0!"
и через 5-10 секунд сам перезагрузится.

Работоспособность ONT восстановлена, можно зайти в WEB-интерфейс на http://192.168.101.1
и далее произвести обычные настройки.
#377625

login/pass root/admin не подходят. Следовательно не могу зайти на ОНТ по телнету. Кнопка ресет не помогает (пробовал держать ее и 2 и 3 и 5 и 10 15 секунд).

#377634
"Scam" написал:
Хотел у вас узнать поподробней как вы припаялись к нему?

Там есть, по-моему, 5 дырочек для подключения, где-то в середине платы. Слева направо (когда модем повернут лампочками к вам)
o (сюда Rx, там где-то 2.5V) – o (gnd) -- o (тут 3.3V) – o (ничего) -- o (сюда TX)
ТТЛ - 3.3V
Если подключитесь, сможете прошить через консоль

#377660

Знал бы я еще как прошить через консоль. Хотя для начала попробую припаяться. Только вот дырочки эти у меня расположены перпендикулярно меня, если расположить ОНТ светодиодами ко мне.

#377675

Перепрошить через консоль так же как и через телнет - см выше.
Перпендикулярно там другие дырки, нужны те, которые идут параллельно стороне со светодиодами (они где-то посередине-справа платы модема)

#377677

l0pan, покажите фото лучше.

#377686
Показать

Вот как мой HG8245 выглядит. Не нашел на нем дырок других кроме тех которые возле надписи HG8240GTH

#377700
l0pan написал:

Дать команду ">load pack by tftp svrip 192.168.100.2 remotefile image.bin".

Все прошилось и ожило, спасибо. Сам выгугливал эту инструкцию в самом начале но как-то забыл про неё.
Дайте ваши реквизиты в пм, задоначу Вам на кофе.

Войдите или зарегистрируйтесь, чтобы ответить.