Posted: Sun May 24, 2015 20:34 Post subject: Ошибка Kernel panic
Прошу не пинайте, просто не знаю куда обратится за помощю, собираю прошивку из исходников, все нормально собирается, прошиваю и вижу такую картину в консоли:
Сначала тоже думал что дело в "Kernel command line" и пробовал менять ее но с тем-же успехом, потом посмотрел лог загрузки старой прошивки и думаю дело тут не в ней, вот лог полной обычной загрузки:
System ready, Using ttyUS0 as console ******
Page block order: 13
Pages per block: 8192
Free pages count per migrate type at order 0 1 2 3 4 5 6 7 8 9 10 11 12 13
Node 0, zone DMA, type Unmovable 0 0 0 0 1 0 0 0 0 0 0 0 0 0
Node 0, zone DMA, type Reclaimable 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Node 0, zone DMA, type Movable 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Node 0, zone DMA, type Reserve 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Node 0, zone DMA, type Isolate 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Node 0, zone Normal, type Unmovable 1 1 1 0 0 1 1 1 1 2 0 0 2 0
Node 0, zone Normal, type Reclaimable 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Node 0, zone Normal, type Movable 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Node 0, zone Normal, type Reserve 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Node 0, zone Normal, type Isolate 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Number of blocks type Unmovable Reclaimable Movable Reserve Isolate
Node 0, zone DMA 0 0 0 0 0
Node 0, zone Normal 0 0 0 0 0
Updating backlog
Starting busybox init
Mounting file systems
Starting network
[ 4.940000] eth open eth0
[ 4.960000] eth0: register VLAN for HW acceleration
CREATE GPIO
mount sys
Led wlan
Led USB
Led INTERNET Blue
Led status
Led power
Led wps
Button wps
Button reset
START RC APP
nice: watchdog: No such file or directory
BusyBox v1.14.1 (2015-05-22 19:02:16 EEST) hush - the humble shell
Enter 'help' for a list of built-in commands.
/ # [ 9.800000] device eth0 entered promiscuous mode
eth0.2: Cannot assign requested address
eth0.1: Cannot assign requested address
[ 10.010000] device eth0.2 entered promiscuous mode
[ 10.050000] br0: port 1(eth0.2) entering learning state
CONFIG_VLAN_ROUTER defined!!!>>> set wan port speed
##################### Pre customer settings ######################
[ 11.060000] br0: topology change detected, propagating
[ 11.060000] br0: port 1(eth0.2) entering forwarding state
Sat Jan 24 18:25:00 UTC 2015
Support HTTPS
Support IPv6 HTTPS
Support IPv6 Remote HTTPS
rc is BUSY now!
wantimer: wan_interface=eth0.1,wan_proto=dhcpc
DHCP client start.
eth0.1 Link encap:Ethernet HWaddr 84:C9:B2:5B:42:D3
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:18 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1325 (1.2 KiB) TX bytes:0 (0.0 B)
eth0.2: Cannot assign requested address
dhcpd_enabled::::::
DHCPC get gateway = 86.100.245.1
Sending select for 86.100.245.197...
Lease of 86.100.245.197 obtained, lease time 172800
deleting routers
udhcpd domain = dna.net
DHCP server start.
device_lan_ip=192.168.1.1 , device_lan_subnet_mask=255.255.255.0
max_leases value (254) not sane, setting to 100 instead
Cannot background in uclinux (yet)
No DHCP ACK with option DHCP_STATIC_ROUTE
No DHCP ACK with option OPTION_6RD
Cannot background in uclinux (yet)
dhcpc is waiting for rc to be idle.
[ 17.840000] ADDRCONF(NETDEV_CHANGE): lo: link becomes ready
##################### wlan0_enable#########################
[ 17.960000] module ath_hal: OCM instruction memory allocation of 2568 @3ffd1aec
[ 17.970000] ath_hal: module license 'Proprietary' taints kernel.
[ 18.010000] ath_hal: 0.9.17.1 (AR5416, 11D)
[ 18.050000] module wlan: OCM instruction memory allocation of 13976 @3ffd24f4
[ 18.230000] wlan: 0.8.4.2 (Atheros/multi-bss)
[ 18.260000] module ath_rate_atheros: OCM instruction memory allocation of 2788 @3ffd5b8c
[ 18.290000] ath_rate_atheros: Copyright (c) 2001-2005 Atheros Communications, Inc, All Rights Reserved
[ 18.340000] ath_dfs: Version 2.0.0
[ 18.340000] Copyright (c) 2005-2006 Atheros Communications, Inc. All Rights Reserved
[ 19.380000] module ath_dev: OCM instruction memory allocation of 19296 @3ffd6670
[ 19.440000] ath_dev: Copyright (c) 2001-2007 Atheros Communications, Inc, All Rights Reserved
dhcpc is waiting for rc to be idle.
[ 20.480000] module ath_pci: OCM instruction memory allocation of 4776 @3ffdb1d0
[ 20.560000] ath_pci: 0.9.4.5 (Atheros/multi-bss)
[ 20.560000] PCI: enabling device 0000:00:00.0 (0340 -> 0342)
[ 21.360000] wifi0: Atheros 9280: mem=0x80000000, irq=22 hw_base=0x80000000
[ 21.540000] wlan: mac acl policy registered
[ 21.590000] wlan_me: Version 0.1
[ 21.590000] Copyright (c) 2008 Atheros Communications, Inc. All Rights Reserved
dhcpc is waiting for rc to be idle.
wantimer WAITING rc to be IDLE
[ 21.840000] /proc/igmp_ath0 created
[ 21.850000] /proc/igmp6_ath0 created
ath0
dhcpc is waiting for rc to be idle.
[ 23.900000] Country ie is DE
[ 23.940000] device ath0 entered promiscuous mode
[ 23.950000] br0: port 2(ath0) entering learning state
[ 24.100000] device eth0.2 left promiscuous mode
[ 24.100000] br0: port 1(eth0.2) entering disabled state
[ 24.950000] br0: topology change detected, propagating
[ 24.950000] br0: port 2(ath0) entering forwarding state
[ 25.130000] device eth0.2 entered promiscuous mode
[ 25.140000] br0: port 1(eth0.2) entering learning state
ARPING to 192.168.1.1 from 192.168.1.1 via br0
Sent 1 probe(s) (1 broadcast(s))
Received 0 reply (0 request(s), 0 broadcast(s))
#################################Start WLAN Finished############################
llmnr: have no available linklocal address. wait count=0
dhcpc is waiting for rc to be idle.
[ 26.150000] br0: topology change detected, propagating
[ 26.150000] br0: port 1(eth0.2) entering forwarding state
W4R_WAN_IF=eth0.1
dnsmasq: started, version 2.45 cachesize 150
dnsmasq: compile time options: IPv6 GNU-getopt no-MMU ISC-leasefile no-DOCTOR no-NOWILD no-DBus no-I18N TFTP
dnsmasq: failed to access /etc/resolv.conf: No such file or directory
dnsmasq: read /etc/hosts - 2 addresses
dnsmasq: read /var/tmp/hosts - 1 addresses
ddns_initialize
rm: cannot remove '/var/tmp/ddns_status': No such file or directory
Sat Jan 24 18:25:00 UTC 2015
llmnr: have no available linklocal address. wait count=1
******* igmpproxy: starting ********
[ 26.910000] ioctl eth0, 35312
[ 26.910000] flags=1
[ 27.030000] m_table count= 1 Add 01005e7f fffa000a port=2 0
[ 27.040000] m_table count= 2 Add 01005e00 00fc000a port=-1 0
[ 27.040000] m_table count= 3 Add 01005e00 013c000a port=2 0
llmnr: have no available linklocal address. wait count=2
dhcpc is waiting for rc to be idle.
[ 27.660000] usbcore: registered new interface driver sxuptp_driver
start_pppoe_relay:
start_pppoe_relay: pppoe_pass_through
sh: can't execute 'cli': No such file or directory
dnsmasq: failed to read /etc/resolv.conf: No such file or directory
llmnr: have no available linklocal address. wait count=3
Start firewall Setting
llmnr: have no available linklocal address. wait count=4
dhcpc is waiting for rc to be idle.
[ 30.170000] m_table count= 4 Add 33330001 0003000a port=-1 0
dnsmasq: failed to read /etc/resolv.conf: No such file or directory
llmnr: have no available linklocal address. wait count=5
llmnr: have no available linklocal address. wait count=6
dhcpc is waiting for rc to be idle.
forward out
nat type: 1
forward in
nat type: 1
forward out
nat type: 1
forward in
nat type: 1
dnat
nat type: 1
dnat
nat type: 1
dnsmasq: failed to read /etc/resolv.conf: No such file or directory
Reading topology file /var/tmp/topology.conf ...
Reading bss configuration file /var/tmp/secath0 ...
Input driver version is 1.0.0
Input device ID: bus 0x19 vendor 0x0 product 0x0 version 0x0
Input device name: "Ubicom32 Input"
Supported events:
Event type 0 (Reset)
Event code 0 (Reset)
Event code 1 (Key)
Event type 1 (Key)
Event code 466 (FN_F1)
sh: can't execute 'cli': No such file or directory
[ 32.490000] br0: port 2(ath0) entering disabled state
killall: miniupnpd6: no process killed
llmnr: have no available linklocal address. wait count=7
Could not connect to kernel driver.
Using interface ath0 with hwaddr 84:c9:b2:5b:42:d2 and ssid 'DNA_1'
killall: miniupnpd: no process killed
rc is IDLE now!
##################### Post customer settings #####################
[ 33.300000] Country ie is DE
[ 33.320000] br0: port 2(ath0) entering learning state
l2_packet_receive - recvfrom: Network is down
sh: can't open '/sys/class/gpio/gpio134/value': No such file or directory
llmnr: have no available linklocal address. wait count=8
dhcpc is waiting for rc to be idle.
dhcpc sent restart signal to rc (RESTART APP)
rc is BUSY now!
sh: can't execute 'cli': No such file or directory
sh: can't execute 'cli': No such file or directory
sh: can't execute 'cli': No such file or directory
sh: can't execute 'cli': No such file or directory
sh: can't execute 'cli': No such file or directory
rc is BUSY now!
Stop IPv6 WAN IDLE Timer
Stop Firewall
sh: can't open '/sys/class/gpio/gpio134/value': No such file or directory
dnsmasq: failed to read /etc/resolv.conf: No such file or directory
[ 34.330000] br0: topology change detected, propagating
[ 34.330000] br0: port 2(ath0) entering forwarding state
llmnr: have no available linklocal address. wait count=9
wantimer WAITING rc to be IDLE
llmnr: have no available linklocal address. wait count=10
route: SIOCDELRT: No such process
dnsmasq: failed to read /etc/resolv.conf: No such file or directory
dnsmasq: exiting on receipt of SIGTERM
[ 36.460000] ioctl eth0, 35312
[ 36.460000] flags=0
[ 36.460000] m_table count= 4 Del 33330001 0003000b port=0 0
[ 36.470000] m_table count= 3 Del 01005e00 013c000b port=0 0
[ 36.480000] m_table count= 2 Del 01005e00 00fc000b port=0 0
[ 36.480000] m_table count= 1 Del 01005e7f fffa000b port=0 0
[ 36.840000] usbcore: deregistering interface driver sxuptp_driver
stop_pppoe_relay:
sh: can't execute 'cli': No such file or directory
rc is BUSY now!
llmnr: have no available linklocal address. wait count=0
W4R_WAN_IF=eth0.1
dnsmasq: started, version 2.45 cachesize 150
dnsmasq: compile time options: IPv6 GNU-getopt no-MMU ISC-leasefile no-DOCTOR no-NOWILD no-DBus no-I18N TFTP
dnsmasq: failed to access /etc/resolv.conf: No such file or directory
dnsmasq: read /etc/hosts - 2 addresses
dnsmasq: read /var/tmp/hosts - 1 addresses
ddns_initialize
rm: cannot remove '/var/tmp/ddns_status': No such file or directory
llmnr: have no available linklocal address. wait count=1
******* igmpproxy: starting ********
[ 40.650000] ioctl eth0, 35312
[ 40.650000] flags=1
llmnr: have no available linklocal address. wait count=2
[ 41.400000] usbcore: registered new interface driver sxuptp_driver
start_pppoe_relay:
start_pppoe_relay: pppoe_pass_through
sh: can't execute 'cli': No such file or directory
dnsmasq: failed to read /etc/resolv.conf: No such file or directory
llmnr: have no available linklocal address. wait count=3
start_firewall: firewall rule don't change from GUI
llmnr: have no available linklocal address. wait count=4
killall: miniupnpd6: no process killed
killall: miniupnpd: no process killed
rc is IDLE now!
##################### Post customer settings #####################
dnsmasq: failed to read /etc/resolv.conf: No such file or directory
sh: can't open '/sys/class/gpio/gpio134/value': No such file or directory
llmnr: have no available linklocal address. wait count=5
llmnr: have no available linklocal address. wait count=6
Start firewall Setting
dnsmasq: failed to read /etc/resolv.conf: No such file or directory
llmnr: have no available linklocal address. wait count=7
llmnr: have no available linklocal address. wait count=8
dnsmasq: failed to read /etc/resolv.conf: No such file or directory
forward out
nat type: 1
forward in
nat type: 1
forward out
nat type: 1
forward in
nat type: 1
dnat
nat type: 1
dnat
nat type: 1
llmnr: have no available linklocal address. wait count=9
sh: can't execute 'cli': No such file or directory
llmnr: have no available linklocal address. wait count=10
input=[myip.opendns.com], output=[myipopendnscom]come from local 127.0.0.1
found myip=5664f5c5
llmnr: have no available linklocal address. wait count=11
sh: can't open '/sys/class/gpio/gpio134/value': No such file or directory
llmnr: have no available linklocal address. wait count=12
gpio: create /var/tmp/internet_led_blink.tmp finished
llmnr: have no available linklocal address. wait count=13
llmnr: have no available linklocal address. wait count=14
llmnr: have no available linklocal address. wait count=15
llmnr: have no available linklocal address. wait count=16
llmnr: have no available linklocal address. wait count=17
llmnr: have no available linklocal address. wait count=18
llmnr: have no available linklocal address. wait count=19
llmnr: have no available linklocal address. exit.
[ 69.620000] m_table count= 1 Add 33330001 0002000a port=-1 0
[ 72.040000] m_table count= 2 Add 01005e7f fffa000a port=2 0
[ 72.050000] m_table count= 3 Add 01005e00 00fc000a port=-1 0
[ 72.050000] m_table count= 4 Add 01005e00 013c000a port=2 0
[ 92.780000] m_table count= 5 Add 33330001 0003000a port=-1 0
Сначала тоже думал что дело в "Kernel command line" и пробовал менять ее но с тем-же успехом, потом посмотрел лог загрузки старой прошивки и думаю дело тут не в ней, вот лог полной обычной загрузки
Первое речь идет про сборку прошивки dd-wrt для данного устройства?
Дело в том что стоит uboot который выполняет определенную работу по загрузке. Вот пример полного лога с debug :
http://pastebin.com/xKKpsRs7
Первое речь идет про сборку прошивки dd-wrt для данного устройства?
Боюсь нет, речь пока идет только о том чтобы взять исходники от производителя и хоть как-то заставить роутер стартовать с кастомной прошивкой, для начала хотя-бы busybox запустить, но загрузка даже до init скрипта не доходит. И это единственный форум по роутерам на русском где хоть кто-то отвечает по теме
Quote:
squashfs образ распаковался в память, потом монтируется к ramfs.
Похоже это оно и есть, поддержку файловых систем в ядро я подгружаемыми модулями собрал и squashfs походу тоже, попробую пересобрать ядро повнимательней, спасибо за поддержку