当前位置: 技术问答>linux和unix
内核启动出现问题,高手请进
来源: 互联网 发布时间:2016-07-05
本文导语: 启动过程如下,感觉主要是最后30行提示出现了问题,就是从"Error -3 while decompressing! "这行开始,到底是什么出了问题呢? BusyBox v1.7.0 (2009-05-14 22:07:17 CST) built-in shell (ash) Enter 'help' f...
启动过程如下,感觉主要是最后30行提示出现了问题,就是从"Error -3 while decompressing! "这行开始,到底是什么出了问题呢?
BusyBox v1.7.0 (2009-05-14 22:07:17 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
starting pid 878, tty '': '/bin/umount'
umount: cannot remount /dev/mtdblock3 read-only
umount: cannot umount /mnt: Device or resource busy
starting pid 880, tty '': '/sbin/swapoff'
The system is going down NOW!
Sending SIGTERM to all processes
Terminating on signal 15
Connect time 0.3 minutes.
Sent 0 bytes, received 4 bytes.
Script /etc/ppp/ip-down started (pid 882)
sent [LCP TermReq id=0x2 "User request"]
Script /etc/ppp/ip-down finished (pid 882), status = 0x1
rcvd [LCP TermAck id=0x2]
Connection terminated.
Sending SIGKILL to all processes
Requesting system reboot
Restarting system.
.
PMON2000 MIPS Initializing. Standby...
ERRORPC=7ffff7ff CONFIG=00030470
PRID=00004200
Init SDRAM Done!
Init caches...
gc32101 caches found
Init caches done, cfg = 00030470
press gb to boot
presss h for help
Copy PMON to execute location...
a1040000
copy text section done.
Copy PMON to execute location done.
sp=80ffc000Uncompressing Bios.....................OK,Booting Bios
FREQ
DONE
DEVI
ENVI
MAPV
in envinit
nvram=bfc00000
NVRAM@bfc7f000
STDV
80100000: memory between 82fff400-83000000 is already been allocated,heap is t
SBDD
DINI
P12PCIH
AHB2PCI
setting up 1 bus
PCI bus 0 slot 1: probe...completed
PCI bus 0 slot 2: probe...completed
PCI bus 0 slot 3: probe...completed
PCI bus 0 slot 4: probe...completed
PCI bus 0 slot 5: probe...completed
PCI bus 0 slot 6: probe...completed
PCI bus 0 slot 7: probe...completed
PCI bus 0 slot 8: probe...completed
PCI bus 0 slot 9: probe...completed
PCI bus 0 slot 10: probe...completed
PCI bus 0 slot 11: probe...completed
PCI bus 0 slot 12: probe...completed
PCI bus 0 slot 13: probe...completed
PCI bus 0 slot 14: probe...completed
PCI bus 0 slot 15: probe...completed
PCI bus 0 slot 16: probe...completed
PCI bus 0 slot 17: probe...completed
PCI bus 0 slot 18: probe...completed
PCI bus 0 slot 19: probe...completed
PCI bus 0 slot 20: probe...completed
PCI bus 0 slot 21: probe...completed
PCI bus 0 slot 22: probe...completed
PCI bus 0 slot 23: probe...completed
PCI bus 0 slot 24: probe...completed
PCI bus 0 slot 25: probe...completed
PCI bus 0 slot 26: probe...completed
PCI bus 0 slot 27: probe...completed
PCI bus 0 slot 28: probe...completed
PCI bus 0 slot 29: probe...completed
PCI bus 0 slot 30: probe...completed
PCI bus 0 slot 31: probe...completed
PCIS
PCIR
PCIW
* GC_SOC_I2C_PRER_LO=0x64
* GC_SOC_I2C_PRER_HI=0x0
* GC_SOC_I2C_CTR=0x80
NETI
RTCL
PCID
begin fb_init
cfb_console init,fb=a00c21d0
CONSOLE_SIZE 614400
after fb_init
in configure
mainbus0 (root)
localbus0 at mainbus0
dmfe0 at localbus0: address ba:98:76:64:32:19
in if attach
loopdev0 at mainbus0pcibr0 at mainbus0
pci0 at pcibr0 bus 0
out configure
Keyboard reset failed, no ACK
devconfig done.
ifinit done.
domaininit done.
init_proc....
network configure 'dmfe0:192.168.1.112'
bootp=8000bbd0
rx ring b6348
tx ring b63c8
DE4X5_BMR= fe000000
DE4X5_TPD= 0
DE4X5_RRBA= b6348
BusyBox v1.7.0 (2009-05-14 22:07:17 CST) built-in shell (ash)
Enter 'help' for a list of built-in commands.
starting pid 878, tty '': '/bin/umount'
umount: cannot remount /dev/mtdblock3 read-only
umount: cannot umount /mnt: Device or resource busy
starting pid 880, tty '': '/sbin/swapoff'
The system is going down NOW!
Sending SIGTERM to all processes
Terminating on signal 15
Connect time 0.3 minutes.
Sent 0 bytes, received 4 bytes.
Script /etc/ppp/ip-down started (pid 882)
sent [LCP TermReq id=0x2 "User request"]
Script /etc/ppp/ip-down finished (pid 882), status = 0x1
rcvd [LCP TermAck id=0x2]
Connection terminated.
Sending SIGKILL to all processes
Requesting system reboot
Restarting system.
.
PMON2000 MIPS Initializing. Standby...
ERRORPC=7ffff7ff CONFIG=00030470
PRID=00004200
Init SDRAM Done!
Init caches...
gc32101 caches found
Init caches done, cfg = 00030470
press gb to boot
presss h for help
Copy PMON to execute location...
a1040000
copy text section done.
Copy PMON to execute location done.
sp=80ffc000Uncompressing Bios.....................OK,Booting Bios
FREQ
DONE
DEVI
ENVI
MAPV
in envinit
nvram=bfc00000
NVRAM@bfc7f000
STDV
80100000: memory between 82fff400-83000000 is already been allocated,heap is t
SBDD
DINI
P12PCIH
AHB2PCI
setting up 1 bus
PCI bus 0 slot 1: probe...completed
PCI bus 0 slot 2: probe...completed
PCI bus 0 slot 3: probe...completed
PCI bus 0 slot 4: probe...completed
PCI bus 0 slot 5: probe...completed
PCI bus 0 slot 6: probe...completed
PCI bus 0 slot 7: probe...completed
PCI bus 0 slot 8: probe...completed
PCI bus 0 slot 9: probe...completed
PCI bus 0 slot 10: probe...completed
PCI bus 0 slot 11: probe...completed
PCI bus 0 slot 12: probe...completed
PCI bus 0 slot 13: probe...completed
PCI bus 0 slot 14: probe...completed
PCI bus 0 slot 15: probe...completed
PCI bus 0 slot 16: probe...completed
PCI bus 0 slot 17: probe...completed
PCI bus 0 slot 18: probe...completed
PCI bus 0 slot 19: probe...completed
PCI bus 0 slot 20: probe...completed
PCI bus 0 slot 21: probe...completed
PCI bus 0 slot 22: probe...completed
PCI bus 0 slot 23: probe...completed
PCI bus 0 slot 24: probe...completed
PCI bus 0 slot 25: probe...completed
PCI bus 0 slot 26: probe...completed
PCI bus 0 slot 27: probe...completed
PCI bus 0 slot 28: probe...completed
PCI bus 0 slot 29: probe...completed
PCI bus 0 slot 30: probe...completed
PCI bus 0 slot 31: probe...completed
PCIS
PCIR
PCIW
* GC_SOC_I2C_PRER_LO=0x64
* GC_SOC_I2C_PRER_HI=0x0
* GC_SOC_I2C_CTR=0x80
NETI
RTCL
PCID
begin fb_init
cfb_console init,fb=a00c21d0
CONSOLE_SIZE 614400
after fb_init
in configure
mainbus0 (root)
localbus0 at mainbus0
dmfe0 at localbus0: address ba:98:76:64:32:19
in if attach
loopdev0 at mainbus0pcibr0 at mainbus0
pci0 at pcibr0 bus 0
out configure
Keyboard reset failed, no ACK
devconfig done.
ifinit done.
domaininit done.
init_proc....
network configure 'dmfe0:192.168.1.112'
bootp=8000bbd0
rx ring b6348
tx ring b63c8
DE4X5_BMR= fe000000
DE4X5_TPD= 0
DE4X5_RRBA= b6348
|
你的网卡驱动有问题阿。。。。
启动的时候不插网线看看看。
如果手上有源码的话,在kernel 里把网卡驱动屏蔽掉。
启动的时候不插网线看看看。
如果手上有源码的话,在kernel 里把网卡驱动屏蔽掉。
|
如果把最后几十行的回溯线索和寄存器上下文看懂了,就找到问题根源了,实在不行去内核社区问问吧
Call Trace:
[ ] dump_stack+0x18/0x44
[ ] local_bh_enable+0x54/0xa0
[ ] destroy_conntrack+0x12c/0x264
[ ] __kfree_skb+0x270/0x288
[ ] dmfe_start_xmit+0x2d4/0x320
[ ] __qdisc_run+0xc4/0x220
[ ] dev_queue_xmit+0x1d8/0x2d4
[ ] neigh_resolve_output+0x2e4/0x338
[ ] neigh_update+0x340/0x410
[ ] arp_process+0x850/0x9c4
[ ] arp_rcv+0x12c/0x15c
[ ] netif_receive_skb+0x2f4/0x324
[ ] process_backlog+0xe4/0x2c8
[ ] net_rx_action+0xb8/0x208
[ ] __do_softirq+0x70/0xf8
[ ] do_softirq+0x5c/0x90
[ ] do_IRQ+0x24/0x34
[ ] ret_from_irq+0x0/0x10
只知道回调线索打印出来的提示:
前面是寄存器,中间是函数线索,后面是偏移量
连起来就看不懂了
Call Trace:
[ ] dump_stack+0x18/0x44
[ ] local_bh_enable+0x54/0xa0
[ ] destroy_conntrack+0x12c/0x264
[ ] __kfree_skb+0x270/0x288
[ ] dmfe_start_xmit+0x2d4/0x320
[ ] __qdisc_run+0xc4/0x220
[ ] dev_queue_xmit+0x1d8/0x2d4
[ ] neigh_resolve_output+0x2e4/0x338
[ ] neigh_update+0x340/0x410
[ ] arp_process+0x850/0x9c4
[ ] arp_rcv+0x12c/0x15c
[ ] netif_receive_skb+0x2f4/0x324
[ ] process_backlog+0xe4/0x2c8
[ ] net_rx_action+0xb8/0x208
[ ] __do_softirq+0x70/0xf8
[ ] do_softirq+0x5c/0x90
[ ] do_IRQ+0x24/0x34
[ ] ret_from_irq+0x0/0x10
只知道回调线索打印出来的提示:
前面是寄存器,中间是函数线索,后面是偏移量
连起来就看不懂了