UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Observer rdpatel55
Observer
3,292 Views
Registered: ‎04-02-2009

problem in inserting kernel module on XUPV2P board

Jump to solution

Hi Friends

 

I'm trying to insert a kernel module written for a real led device driver for XUPV2P board.

Here is the log message after running "insmod xilinx_led.ko" command

 

# insmod xilinx_led.ko

Oops: kernel access of bad area, sig: 11 [#1]

PREEMPT

**bleep**: d1006190 LR: d1006188 CTR: 00000000

REGS: c0705db0 TRAP: 0300 Not tainted (2.6.23xlnx)

MSR: 00029030 <EE,ME,IR,DR> CR: 24000024 XER: 00000000

DEAR: 0000004c, ESR: 00000000

TASK = c04c63d0[186] 'insmod' THREAD: c0704000

GPR00: d1006188 c0705e60 c04c63d0 00000000 000000d0 00000001 00000000 c0220ae0

GPR08: c006c60c 00000000 00000001 c04553f0 026f4bac 100b4260 d1003288 d1007668

GPR16: d1003288 d1003238 0000fff1 0000fff2 0000004c 00000000 d100762c c003e94c

GPR24: d1002e02 00000018 d1002000 00000019 d1000000 d1007598 d10077c8 00000000

**bleep** [d1006190] xilinx_ml403_led_setup+0x174/0x1dc [xilinx_led]

LR [d1006188] xilinx_ml403_led_setup+0x16c/0x1dc [xilinx_led]

Call Trace:

[c0705e60] [d1006188] xilinx_ml403_led_setup+0x16c/0x1dc [xilinx_led] (unreliable)

[c0705e90] [c0040be0] sys_init_module+0x120c/0x12f8

[c0705f40] [c0002c10] ret_from_syscall+0x0/0x3c

Instruction dump:

48000819 3d20d100 39297620 913f003c 93bf0040 3c800fc0 60840001 7fe3fb78

38a00001 48000805 813e0014 7c7f1b78 <80e9004c> 3c60d100 3c80d100 80bc77c8


Note: After above output when I execute "lsmod" command. I observed that led device is tainted.


~ # lsmod

Module Size Used by Tainted: G

xilinx_led 6172 1

~ #

 

 

Can anyone help me out?

 

Your help is highly appriciated.

 

Raj 

 

 

0 Kudos
1 Solution

Accepted Solutions
Observer rdpatel55
Observer
3,776 Views
Registered: ‎04-02-2009

Re: problem in inserting kernel module on XUPV2P board

Jump to solution

Hello Everyone,

 

Problem is debug by myself.

 

I'm able to insert my kernel module at run time.

 

 

-rdpatel 

0 Kudos
1 Reply
Observer rdpatel55
Observer
3,777 Views
Registered: ‎04-02-2009

Re: problem in inserting kernel module on XUPV2P board

Jump to solution

Hello Everyone,

 

Problem is debug by myself.

 

I'm able to insert my kernel module at run time.

 

 

-rdpatel 

0 Kudos