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

Re: 2.4.19 kernel panic



Hi, 
I have downloaded the latest version of USB driver, but the "Kernel panic" 
occures again. I have used the ksymoops to debug the message, but it didn't 
help me. I am sending you the output of ksymoops in attachment. May be, you 
find what's wrong and give me advice please.

Best regards
 Karel Sin











Dne st 29. říjen 2003 10:10 jste napsal(a):
> 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!
[faust@pcd400y devboard_lx]$ ksymoops -v os/linux/vmlinux -K -L -O -m os/linux/S
ystem.map
ksymoops 2.4.3 on i686 2.4.18-6mdk.  Options used
     -v os/linux/vmlinux (specified)
     -K (specified)
     -L (specified)
     -O (specified)
     -m os/linux/System.map (specified)

Reading Oops report from the terminal
Oops: 0002
IRP: c0006b62 SRP: c0059a80 DCCR: 00000484 USP: 00000000 MOF: 00000000
 r0: 00000002  r1: c01038e0   r2: c02d0000  r3: c01038e8
 r4: c02d1fc8  r5: 0000000c   r6: 00000002  r7: 00000003
 r8: b0000098  r9: c02d1fd0  r10: 00000000 r11: c02d1fc8
r12: c01004a4 r13: c01038ec oR10: 00000000
R_MMU_CAUSE: 00001100
Process swapper (pid: 1, stackpage=c02d0000)

Stack from c02d1e5c:
       c00083e8 c02d1f9c c0057d22 c0057e7e c02d1fc8 00000000 00000000 00000000
       c00d6044 00000002 c02d1f58 c0057f4a c02d1f58 c0002000 c00083e8 c005b20a
       b0000098 00000003 00000002 0000000c c02d1fc8 c01038e8 c02d1f58 c0002000
Call Trace: [<c00083e8>] [<c0057d22>] [<c0057e7e>] [<c0057f4a>] [<c00083e8>] [<c005b20a>] [<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!Oops: 0002
IRP: c0006b62 SRP: c0059a80 DCCR: 00000484 USP: 00000000 MOF: 00000000
Using defaults from ksymoops -t elf32-i386 -a i386
 r0: 00000002  r1: c01038e0   r2: c02d0000  r3: c01038e8
 r4: c02d1fc8  r5: 0000000c   r6: 00000002  r7: 00000003
 r8: b0000098  r9: c02d1fd0  r10: 00000000 r11: c02d1fc8
r12: c01004a4 r13: c01038ec oR10: 00000000
Process swapper (pid: 1, stackpage=c02d0000)
Stack from c02d1e5c:
       c00083e8 c02d1f9c c0057d22 c0057e7e c02d1fc8 00000000 00000000 00000000
       c00d6044 00000002 c02d1f58 c0057f4a c02d1f58 c0002000 c00083e8 c005b20a
       b0000098 00000003 00000002 0000000c c02d1fc8 c01038e8 c02d1f58 c0002000
Call Trace: [<c00083e8>] [<c0057d22>] [<c0057e7e>] [<c0057f4a>] [<c00083e8>] [<c005b20a>] [<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

>>EIP; c0006b62 <add_wait_queue+16/24>   <=====
>>IRP; c0006b62 <add_wait_queue+16/24>
>>SRP; c0059a80 <__down+2e/66>
>>DCCR; 00000484 Before first symbol
>>USP; 00000000 Before first symbol
>>MOF; 00000000 Before first symbol
>>r1; c01038e0 <usb_bus_list_lock+0/14>
>>r2; c02d0000 <_end+114520/644520>
>>r3; c01038e8 <usb_bus_list_lock+8/14>
>>r4; c02d1fc8 <_end+1164e8/644520>
>>r8; b0000098 Before first symbol
>>r9; c02d1fd0 <_end+1164f0/644520>
>>r11; c02d1fc8 <_end+1164e8/644520>
>>r12; c01004a4 <blk_dev+8864/956c>
>>r13; c01038ec <usb_bus_list_lock+c/14>
Trace; c00083e8 <printk+0/14c>
Trace; c0057d22 <show_stack+0/90>
Trace; c0057e7e <show_registers+cc/146>
Trace; c0057f4a <die_if_kernel+34/46>
Trace; c00083e8 <printk+0/14c>
Trace; c005b20a <do_page_fault+202/2b0>
Trace; c005b004 <handle_mmu_bus_fault+b4/b8>
Trace; c0057b42 <mmu_bus_fault+28/30>
Trace; c0059a80 <__down+2e/66>
Trace; c0006b62 <add_wait_queue+16/24>
Trace; c007363c <usb_register+50/98>
Trace; c00736b8 <usb_scan_devices+34/90>
Trace; c007367e <usb_register+92/98>
Trace; c0004086 <init+a/10c>
Trace; c0057c8c <kernel_thread+1c/28>
Code;  c0006b56 <add_wait_queue+a/24>
00000000 <_EIP>:
Code;  c0006b56 <add_wait_queue+a/24>
   0:   6b 96 08 92 04 a1 6d      imul   $0x6d,0xa1049208(%esi),%edx
Code;  c0006b5c <add_wait_queue+10/24>
   7:   ae                        scas   %es:(%edi),%al
Code;  c0006b5e <add_wait_queue+12/24>
   8:   04 a1                     add    $0xa1,%al
Code;  c0006b60 <add_wait_queue+14/24>   <=====
   a:   e9 9b e9 ab 0c            jmp    cabe9aa <_EIP+0xcabe9aa> ccac5500 <END_OF_CODE+c2c5500/????>   <=====
Code;  c0006b64 <add_wait_queue+18/24>
   f:   b1 ed                     mov    $0xed,%cl
Code;  c0006b66 <add_wait_queue+1a/24>
  11:   db ed                     fucomi %st(5),%st
Code;  c0006b68 <add_wait_queue+1c/24>
  13:   9b                        fwait
ystem.map
ksymoops 2.4.3 on i686 2.4.18-6mdk.  Options used
     -v os/linux/vmlinux (specified)
ystem.map