[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: 2.4.19 kernel panic



Hi!

The message seams to indicate an invalid pointer derefernce cpia or in USB. Do
you have the latest USB driver? To debug the message you can use ksymoops.
Something like this:

ksymoops -v os/linux/vmlinux -K -L -O -m os/linux/System.map

copy&paste the text from Oops: 0002 to Kernel panic: Attempted to kill init!.

ksymoops will then print the callstack where the error occured.

/Mikael

-----Original Message-----
From: owner-dev-etrax@xxxxxxx.com">mailto:owner-dev-etrax@xxxxxxx.com] On Behalf Of Karel Šín
Sent: Wednesday, October 29, 2003 10:02 AM
To: dev-etrax
Subject: 2.4.19 kernel panic


Hi

I have compiled the kernel 2.4.19, but after ./ktest the devboard don't work 
and it is not possible to connect it. The Ethernet LED doesn't blink and it 
is pernamently shining and there are "Kernel panic" in the message through 
COM while booting. 

Does anybody know where can be problem?

Regards
 Karel Sin

Boot message:

SET_REGISTER
0xB0000038
0x00001EF3
PACKET_INFO
0xC0004000
0x00206000
Checksum of file is 0x0E4CE774
JUMP
0xC0004000
Linux version 2.4.19 (root@xxxxxxx.96 20000427 
(experimental)) #11 St xmj 22 09:44:31 CEST 2003
ROM fs in RAM, size 1015808 bytes
Setting up paging and the MMU.
On node 0 totalpages: 1024
zone(0): 1024 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Linux/CRIS port on ETRAX 100LX (c) 2001, 2002 Axis Communications AB
Kernel command line: root=/dev/mtdblock3
ds1302: RTC not found.
Enabling watchdog...
Calibrating delay loop... 99.53 BogoMIPS
Memory: 5856k/8192k available (791k kernel code, 2336k reserved, 246k data, 
32k init)
kmem_create: Forcing size word alignment - mm_struct
kmem_create: Forcing size word alignment - filp
Dentry cache hash table entries: 1024 (order: 0, 8192 bytes)
Inode cache hash table entries: 1024 (order: 0, 8192 bytes)
kmem_create: Forcing size word alignment - inode_cache
Mount-cache hash table entries: 1024 (order: 0, 8192 bytes)
kmem_create: Forcing size word alignment - bdev_cache
kmem_create: Forcing size word alignment - cdev_cache
Buffer-cache hash table entries: 2048 (order: 0, 8192 bytes)
Page-cache hash table entries: 2048 (order: 0, 8192 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
kmem_create: Forcing size word alignment - sock
Initializing RT netlink socket
Starting kswapd
kmem_create: Forcing size word alignment - file lock cache
JFFS version 1.0, (C) 1999, 2000  Axis Communications AB
kmem_create: Forcing size word alignment - jffs_node
kmem_create: Forcing size word alignment - blkdev_requests
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Linux video capture interface: v1.00
V4L-Driver for Vision CPiA based cameras v0.7.4
usb.c: registered new driver cpia
Unable to handle kernel NULL pointer dereference at virtual address 00000000
Oops: 0002
IRP: c0006b62 SRP: c0059a80 DCCR: 00000484 USP: 00000000 MOF: 00000000
 r0: 00000002  r1: c01018e0   r2: c027c000  r3: c01018e8
 r4: c027dfc8  r5: 0000000c   r6: 00000002  r7: 00000003
 r8: b0000098  r9: c027dfd0  r10: 00000000 r11: c027dfc8
r12: c01004a4 r13: c01018ec oR10: 00000000
R_MMU_CAUSE: 00001100
Process swapper (pid: 1, stackpage=c027c000)

Stack from c027de5c:
       c00083e8 c027df9c c0057d22 c0057e7e c027dfc8 00000000 00000000 
00000000 
       c00d49a8 00000002 c027df58 c0057f4a c027df58 c0002000 c00083e8 
c005b20a 
       b0000098 00000003 00000002 0000000c c027dfc8 c01018e8 c027df58 
c0002000 
Call Trace: [<c00083e8>] [<c0057d22>] [<c0057e7e>] [<c0057f4a>] [<c00083e8>] 
[<c005b20a>] [<c000bdb0>] 
       [<c000bcd6>] [<c000ba8c>] [<c00589d0>] [<c0057fec>] [<c005b004>] 
[<c0057b42>] [<c0059a80>] [<c0006b62>] 
       [<c007363c>] [<c00736b8>] [<c007367e>] [<c0004086>] [<c0057c8c>] 
Code: 6b 96 08 92 04 a1 6d ae 04 a1 e9 9b (e9) ab 0c b1 ed db ed 9b 3c 56 7f 
b6 
Kernel panic: Attempted to kill init!