Umesh writes:
> This is followed by a display of register values (show_regs).
> It show that IRQs and FIQs are OFF, and surprisingly, Mode: USER_26.
> I expected it to be SVC_32/USER_32 since I have CONFIG_CPU_32 enabled.
> Also I could not find a place where the kernel changes the cpsr to put
> ARM in USER_26 mode.

The most important thing you can do is:

1. report the version of the kernel you're seeing this problem with
2. lookup the values of PC and LR in the System.map file corresponding
   with the running kernel, and list the entries (2 or 3) around them.
(this is to try to confirm whether the fault did actually happen in
get_fiq_regs).

Secondly, make sure that you're passing a valid kernel buffer in to 
get_fiq_regs().

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

_______________________________________________
http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm

Reply via email to