Skip to contentSkip to conversation

Kernel 2.4.5 dumped on executing Ghostscript.

DISCUSSION Nikunj A. Dadhania 2 participants 2 messages Jul 4, 2001 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi,

I am using v2.4.5 with patch-2.4.5-rmk7 and diff-2.4.5-rmk7-np1 patches

Earlier i used v2.4.2 with patch-2.4.2-rmk2 and diff-2.4.2-rmk2-np2 patches.

And I also patched the kernel with mtd.
I am using jffs2 on the flash. Earlier i used jffs2 with 2.4.2 with no problems, but since i have switched to 2.4.5 I m getting lot of messages like this:

jffs2_scan_empty(): Empty block at 0xXXXXXXXX end at 0xXXXXXXXX (with 0x20031985)! Marking dirty

I partitioned jffs2 using 2.4.2. Is this the reason of this warnings? Sometimes it gives kernel panic also during giving warnings.

The dump follows:

--------------------------------------------------------------------------

jffs2_scan_empty(): Empty block at 0x017c0000 ends at 0x017c0000 (with 0x20031985)! Marking dirty

Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0204000
*pgd = 00000000, *pmd = 00000000
Internal error: Oops: 0
CPU: 0
pc : [<00000000>]    lr : [<c02ba578>]

sp : c01fddb0 ip : 00000007 fp : c01fde18
r10: 017ff740 r9 : c01fde54 r8 : c01e8ac4
r7 : 00000000 r6 : c032c940 r5 : 00000000 r4 : c01fdcd0 r3 : 00000000 r2 : 00000019 r1 : 00000000 r0 : 00000000
Flags: nzcv IRQs on FIQs on Mode USER_26 Segment kernel
Control: C020717F Table: C020717F DAC: 0000001D Process swapper (pid: 1, stackpage=c01fd000)

Kernel panic: Attempted to kill init!

---------------------------------------------------------------------------

Please guide me in this regard.

Thanks in advance.

regards,

Nikunj A. Dadhania

PS: I am not subscribed to the list. Please reply personally.

#1 lore raw
Quoted 6 lines · Nikunj A. Dadhania
Unable to handle kernel NULL pointer dereference at virtual address 00000000
pgd = c0204000
*pgd = 00000000, *pmd = 00000000
Internal error: Oops: 0
CPU: 0
pc : [<00000000>]    lr : [<c02ba578>]
Quoted 9 lines

sp : c01fddb0 ip : 00000007 fp : c01fde18
r10: 017ff740 r9 : c01fde54 r8 : c01e8ac4
r7 : 00000000 r6 : c032c940 r5 : 00000000 r4 : c01fdcd0 r3 : 00000000 r2 : 00000019 r1 : 00000000 r0 : 00000000
Flags: nzcv IRQs on FIQs on Mode USER_26 Segment kernel
Control: C020717F Table: C020717F DAC: 0000001D Process swapper (pid: 1, stackpage=c01fd000)

Kernel panic: Attempted to kill init!

Where's the rest of the dump? Eg, code line, backtrace, stack, etc? These are _vital_ to interpret what went wrong. Also, it'd be good if you could supply the corresponding System.map file for the exact kernel you were running (or alternatively use ksymoops to decode the values in [< >], or look them up yourself and post the results here).

Note that if you're sending the System.map file, the mailing list has a limit of 40KB per message, so you may have to compress it.
_____

  |_____| ------------------------------------------------- ---+---+-
  |   |        Russell King       [email protected]      --- ---
  | | | |            http://www.arm.linux.org.uk/            /  /  |
  | +-+-+                                                     --- -+-
  /   |               THE developer of ARM Linux              |+| /|\
 /  | | |                                                     ---  |
    +-+-+ -------------------------------------------------  /\\\  |