打印
[ZLG-ARM]

求教一个reboot问题

[复制链接]
3604|2
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
uuaa|  楼主 | 2012-2-23 14:12 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
boot, TE, ST, AC, ev
请教众版友,我用的nxp lpc3250,reboot命令卡死在某处(Kernel panic - not syncing: Fatal exception in interrupt),不能重启,但是直接按ARM板上的复位键是可以重启的,这是什么原因,怎么解决?
-----------------------------------------------------
[root@zlg /]# reboot
starting pid 626, tty '': '/etc/rc.d/rcS stop'
[root@zlg /]# Stopping the ssh server:
Stopping the port mapper:
Stopping inetd:
Unmounting filesystems
umount: tmpfs busy - remounted read-only
udevd[271]: delete_path: rmdir(/dev/.udev/failed) failed: Read-only file system
udevd[271]: delete_path: rmdir(/dev/.udev/queue) failed: Read-only file system
insmod: cannot insert 'zlg-sja1000.ko': File exists
udevd[271]: delete_path: rmdir(/dev/.udev/failed) failed: Read-only file system
The system is going down NOW!
Sending SIGTERM to all processes
udevd[271]: delete_path: rmdir(/dev/.udev/failed) failed: Read-only file system
udevd[271]: delete_path: rmdir(/dev/.udev/queue) failed: Read-only file system
Requesting system reboot
Restarting system.

U-Boot 2010.06 (Sep 20 2010 - 15:37:58)
I2C:   ready
DRAM:  64 MiB
NAND:  256 MiB
In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0
NAND read: device 0 offset 0x200000, size 0x14a564
Reading data from 0x340000 -- 97% complete. 1353060 bytes read: OK
Boot with zImage
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Linux version 2.6.27.8 (chenxibing@localhost.localdomain) (gcc version 4.3.2 (crosstool-NG-1.3.1) ) #399 PREEMPT Thu Sep 16 14:27:00 CST 2010
CPU: ARM926EJ-S [41069264] revision 4 (ARMv5TEJ), cr=0005b177
Machine: M3200 EVB Board
Memory policy: ECC disabled, Data cache writeback
CPU0: D VIVT write-back cache
CPU0: I cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
CPU0: D cache: 32768 bytes, associativity 4, 32 byte lines, 256 sets
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: ubi.mtd=4 root=ubi0:rootfs rootfstype=ubifs console=ttyS0,115200 mem=64M, monitor=0,
set the correct value for monitor in U-Boot:
        monitor         LCD PANEL
        0               QVGA LCD PANEL
        1               WVGA LCD PANEL
monitor=0
PID hash table entries: 256 (order: 8, 1024 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 61992KB available (2572K code, 193K data, 96K init)
Calibrating delay loop... 103.83 BogoMIPS (lpj=519168)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 288 bytes
i2c /dev entries driver
NET: Registered protocol family 16
LPC32XX DMA driver
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
NetWinder Floating Point Emulator V0.97 (double precision)
msgmni has been set to 121
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
CLCD: ZHIYUAN LCD hardware, QVGA portrait display
Console: switching to colour frame buffer device 40x30
Serial: 8250/16550 driver4 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0x40090000 (irq = 9) is a 16550A
console [ttyS0] enabled
serial8250.0: ttyS1 at MMIO 0x40080000 (irq = 7) is a 16550A
serial8250.0: ttyS2 at MMIO 0x40088000 (irq = 8) is a 16550A
serial8250.0: ttyS3 at MMIO 0x40098000 (irq = 10) is a 16550A
lpc32xx_hsuart.0: ttyTX0 at MMIO 0x40014000 (irq = 26) is a lpc32xx_hsuart
loop: module loaded
###ABING SLC_TAC = 0x34223422
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 0 at 0x00000000
Bad eraseblock 1 at 0x00020000
Bad eraseblock 2 at 0x00040000
Bad eraseblock 3 at 0x00060000
Bad eraseblock 4 at 0x00080000
Bad eraseblock 5 at 0x000a0000
Bad eraseblock 6 at 0x000c0000
Creating 5 MTD partitions on "lpc32xx_nand":
0x00000000-0x00180000 : "boot"
0x00180000-0x001c0000 : "prms"
0x00200000-0x00600000 : "kernel"
0x00600000-0x01600000 : "safefs"
0x01600000-0x10000000 : "rootfs"
UBI: attaching mtd4 to ubi0
UBI: physical eraseblock size:   131072 bytes (128 KiB)
UBI: logical eraseblock size:    129024 bytes
UBI: smallest flash I/O unit:    2048
UBI: sub-page size:              512
UBI: VID header offset:          512 (aligned 512)
UBI: data offset:                2048
UBI: attached mtd4 to ubi0
UBI: MTD device name:            "rootfs"
UBI: MTD device size:            234 MiB
UBI: number of good PEBs:        1872
UBI: number of bad PEBs:         0
UBI: max. allowed volumes:       128
UBI: wear-leveling threshold:    4096
UBI: number of internal volumes: 1
UBI: number of user volumes:     1
UBI: available PEBs:             0
UBI: total number of reserved PEBs: 1872
UBI: number of PEBs reserved for bad PEB handling: 18
UBI: max/mean erase counter: 1/0
UBI: background thread "ubi_bgt0d" started, PID 227
mice: PS/2 mouse device common for all mice
input: LPC32xx Touchscreen as /class/input/input0
###ABING pcf8563_init 358
rtc-pcf8563 1-0051: chip found, driver version 0.4.3
rtc-pcf8563 1-0051: rtc core: registered rtc-pcf8563 as rtc0
epc-ds2460 0-0040: chip found, driver version 1.0.0
PNX4008-WDT: PNX4008 Watchdog Timer: heartbeat 19 sec
Advanced Linux Sound Architecture Driver Version 1.0.17.
ASoC version 0.13.2
UDA1380 Audio Codec 0.6<6>ALSA device list:
  No soundcards found.
TCP cubic registered
VFP support v0.3: implementor 41 architecture 1 part 10 variant 9 rev 1
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0004000
[00000000] *pgd=00000000
Internal error: Oops: 5 [#1] PREEMPT
Modules linked in:
CPU: 0    Not tainted  (2.6.27.8 #399)
PC is at __lpc32xx_eth_interrupt+0x1bc/0x334
LR is at handle_IRQ_event+0x44/0x84
pc : [<c0163a10>]    lr : [<c00649e0>]    psr: 80000013
sp : c3819cd0  ip : c3819d00  fp : c3819cfc
r10: 00000000  r9 : c02ab458  r8 : 00000002
r7 : 0000000f  r6 : c38f3360  r5 : c38f3000  r4 : 0000000a
r3 : bf800000  r2 : 00000000  r1 : c38f3000  r0 : 0000001d
Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
Control: 0005b17f  Table: 80004000  DAC: 00000017
Process swapper (pid: 1, stack limit = 0xc3818268)
Stack: (0xc3819cd0 to 0xc381a000)
9cc0:                                     00000000 c396d300 00000000 00000000
9ce0: 0000001d 00000002 c3818000 40000013 c3819d1c c3819d00 c00649e0 c0163864
9d00: c02ac7c4 0000001d c396d300 00000003 c3819d3c c3819d20 c006617c c00649ac
9d20: c3819ee8 c02ac7c4 0000001d 00000000 c3819d5c c3819d40 c0020048 c00660b8
9d40: c3819d7c ffffffff f4008000 20000000 c3819ddc c3819d60 c00208c4 c0020010
9d60: 00000000 f4008000 00000000 00000000 c006580c c02ac7c4 00000000 c02ac16c
9d80: 0000001d c396d300 40000013 c3819ddc c3819d80 c3819da8 c00657e8 c00650d0
9da0: 60000013 ffffffff c48b6fff c02ac7d8 00000000 c396d300 0000001d 00000000
9dc0: c0163854 00000000 c38f3000 c38f3000 c3819e0c c3819de0 c0065204 c0064eb0
9de0: 0000001d c38f3000 c02a9000 c38f3360 0000001d 00000000 00000000 c02a8aa8
9e00: c3819e54 c3819e10 c0162e9c c006517c c38f3000 c02a8aa8 00000000 c02a8aa0
9e20: c02b396c c02b3630 c3819e44 c02a8aa8 c02a8b54 c02a8aa8 c02b396c c02b3630
9e40: 00000000 00000000 c3819e64 c3819e58 c015a800 c0162d40 c3819e84 c3819e68
9e60: c0159a28 c015a7f0 c02a8aa8 c02a8b54 c02b396c c3819eac c3819ea4 c3819e88
9e80: c0159b4c c0159960 00000000 00000000 c0159afc c02b396c c3819ed4 c3819ea8
9ea0: c015924c c0159b0c c0119754 c3803dd8 c3803dd8 c02a8af0 00000000 c001a014
9ec0: c02b396c c396e5c0 c3819ee4 c3819ed8 c0159864 c0159208 c3819f14 c3819ee8
9ee0: c0158ac8 c0159854 c02772e4 c3819ef8 c0119a30 c001a008 c001a014 c02b396c
9f00: 00000000 00000001 c3819f3c c3819f18 c0159d60 c0158a30 c3819f34 c001a008
9f20: c001a014 c0013a88 00000000 00000001 c3819f4c c3819f40 c015abf4 c0159cbc
9f40: c3819f5c c3819f50 c0013a9c c015ab8c c3819fd4 c3819f60 c00202d8 c0013a98
9f60: c3819f8c c3819f70 c00d04a0 c00d0170 c3819f00 c3832e60 c00d05a4 c3819f96
9f80: c3819fbc c3819f90 c0066bfc c00d0430 c3819fac 3539e318 00000000 00000000
9fa0: 00000060 c001a014 00000000 00000000 c3819fd4 c001a008 c001a014 00000000
9fc0: 00000000 00000000 c3819ff4 c3819fd8 c0008418 c0020298 00000000 00000001
9fe0: 00000000 00000000 00000000 c3819ff8 c0041830 c00083a4 00ff00ff 00ff00ff
Backtrace:
[<c0163854>] (__lpc32xx_eth_interrupt+0x0/0x334) from [<c00649e0>] (handle_IRQ_event+0x44/0x84)
[<c006499c>] (handle_IRQ_event+0x0/0x84) from [<c006617c>] (handle_level_irq+0xd4/0x164)
r7:00000003 r6:c396d300 r5:0000001d r4:c02ac7c4
[<c00660a8>] (handle_level_irq+0x0/0x164) from [<c0020048>] (__exception_text_start+0x48/0x64)
r6:00000000 r5:0000001d r4:c02ac7c4
[<c0020000>] (__exception_text_start+0x0/0x64) from [<c00208c4>] (__irq_svc+0x44/0xd0)
Exception stack(0xc3819d60 to 0xc3819da8)
9d60: 00000000 f4008000 00000000 00000000 c006580c c02ac7c4 00000000 c02ac16c
9d80: 0000001d c396d300 40000013 c3819ddc c3819d80 c3819da8 c00657e8 c00650d0
9da0: 60000013 ffffffff
r6:20000000 r5:f4008000 r4:ffffffff
[<c0064ea0>] (setup_irq+0x0/0x2cc) from [<c0065204>] (request_irq+0x98/0xc0)
[<c006516c>] (request_irq+0x0/0xc0) from [<c0162e9c>] (lpc32xx_net_drv_probe+0x16c/0x624)
[<c0162d30>] (lpc32xx_net_drv_probe+0x0/0x624) from [<c015a800>] (platform_drv_probe+0x20/0x24)
[<c015a7e0>] (platform_drv_probe+0x0/0x24) from [<c0159a28>] (driver_probe_device+0xd8/0x1ac)
[<c0159950>] (driver_probe_device+0x0/0x1ac) from [<c0159b4c>] (__driver_attach+0x50/0x74)
r7:c3819eac r6:c02b396c r5:c02a8b54 r4:c02a8aa8
[<c0159afc>] (__driver_attach+0x0/0x74) from [<c015924c>] (bus_for_each_dev+0x54/0x90)
r6:c02b396c r5:c0159afc r4:00000000
[<c01591f8>] (bus_for_each_dev+0x0/0x90) from [<c0159864>] (driver_attach+0x20/0x28)
r7:c396e5c0 r6:c02b396c r5:c001a014 r4:00000000
[<c0159844>] (driver_attach+0x0/0x28) from [<c0158ac8>] (bus_add_driver+0xa8/0x210)
[<c0158a20>] (bus_add_driver+0x0/0x210) from [<c0159d60>] (driver_register+0xb4/0x140)
r8:00000001 r7:00000000 r6:c02b396c r5:c001a014 r4:c001a008
[<c0159cac>] (driver_register+0x0/0x140) from [<c015abf4>] (platform_driver_register+0x78/0x94)
r8:00000001 r7:00000000 r6:c0013a88 r5:c001a014 r4:c001a008
[<c015ab7c>] (platform_driver_register+0x0/0x94) from [<c0013a9c>] (lpc32xx_net_init+0x14/0x1c)
[<c0013a88>] (lpc32xx_net_init+0x0/0x1c) from [<c00202d8>] (do_one_initcall+0x50/0x180)
[<c0020288>] (do_one_initcall+0x0/0x180) from [<c0008418>] (kernel_init+0x84/0xf4)
r8:00000000 r7:00000000 r6:00000000 r5:c001a014 r4:c001a008
[<c0008394>] (kernel_init+0x0/0xf4) from [<c0041830>] (do_exit+0x0/0x7e8)
r5:00000000 r4:00000000
Code: ea00004b e0863107 e59322b4 e59f3170 (e5920000)
Kernel panic - not syncing: Fatal exception in interrupt

相关帖子

沙发
ty新气象| | 2012-2-23 16:04 | 只看该作者
:L,看得我眼花缭乱。留印看结果。

使用特权

评论回复
板凳
fq1110| | 2012-2-29 09:54 | 只看该作者
跟着学习,希望有大侠能帮忙分析。

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

0

主题

1

帖子

0

粉丝