<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi Members of linuxppc,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'm working on XUPV2P board with Virtex II Pro FPGA device.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I written a kernel module for LED device. I got that module run successfuly on ML403 board having Virtex 4 FPGA.I have not make any change in my source code, because I don't feel any change is required.</DIV>
<DIV>&nbsp;</DIV>
<DIV>On XUP board when I run "insmod xilinx_led.ko" command on my target board, I got following message.</DIV>
<DIV>&nbsp;</DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff># insmod xilinx_led.ko<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><B><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>Oops: kernel access of bad area, sig: 11 [#1]<o:p></o:p></FONT></SPAN></B></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>PREEMPT<o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>NIP: d1006190 LR: d1006188 CTR: 00000000<o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>REGS: c0705db0 TRAP: 0300<SPAN style="mso-spacerun: yes">&nbsp;&nbsp; </SPAN>Not tainted<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>(2.6.23xlnx)<o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>MSR: 00029030 &lt;EE,ME,IR,DR&gt;<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>CR: 24000024<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>XER: 00000000<o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>DEAR: 0000004c, ESR: 00000000<o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>TASK = c04c63d0[186] 'insmod' THREAD: c0704000<o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>GPR00: d1006188 c0705e60 c04c63d0 00000000 000000d0 00000001 00000000 c0220ae0<o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>GPR08: c006c60c 00000000 00000001 c04553f0 026f4bac 100b4260 d1003288 d1007668<o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>GPR16: d1003288 d1003238 0000fff1 0000fff2 0000004c 00000000 d100762c c003e94c<o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>GPR24: d1002e02 00000018 d1002000 00000019 d1000000 d1007598 d10077c8 00000000<o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>NIP [d1006190] xilinx_ml403_led_setup+0x174/0x1dc [xilinx_led]<o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>LR [d1006188] xilinx_ml403_led_setup+0x16c/0x1dc [xilinx_led]<o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>Call Trace:<o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>[c0705e60] [d1006188] <STRONG>xilinx_ml403_led_setup</STRONG>+0x16c/0x1dc [xilinx_led] <B>(unreliable)<o:p></o:p></B></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>[c0705e90] [c0040be0] sys_init_module+0x120c/0x12f8<o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>[c0705f40] [c0002c10] ret_from_syscall+0x0/0x3c<o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>Instruction dump:<o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>48000819 3d20d100 39297620 913f003c 93bf0040 3c800fc0 60840001 7fe3fb78<o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>38a00001 48000805 813e0014 7c7f1b78 &lt;80e9004c&gt; 3c60d100 3c80d100 80bc77c8<o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Note: After above output when I execute "lsmod" command. I observed that led device is tainted.<o:p></o:p></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>~ # lsmod<o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>Module<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN>Size<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Used by<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp; </SPAN>Tainted: G<o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>xilinx_led<SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN><SPAN style="mso-spacerun: yes">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN>6172<SPAN style="mso-spacerun: yes">&nbsp; </SPAN>1<o:p></o:p></FONT></SPAN></DIV>
<P class=MsoNormal style="MARGIN: 0in 0in 0pt; mso-pagination: none; mso-layout-grid-align: none"><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><FONT color=#0000ff>~ #<o:p></o:p></FONT></SPAN></DIV>
<DIV>
<DIV>&nbsp;</DIV></DIV>
<DIV>What I understood from above message is that there is a problem in registering the device in function <STRONG><FONT color=#0000ff>xilinx_ml403_led_setup( ). </FONT></STRONG></DIV>
<DIV><STRONG><FONT color=#0000ff></FONT></STRONG>&nbsp;</DIV>
<DIV><FONT color=#000000>Anyone can help me out to solve this problem?</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV>Rajendra</DIV></td></tr></table><br>


      <!--1--><hr size=1></hr> Cricket on your mind? Visit the ultimate cricket website. <a href="http://in.rd.yahoo.com/tagline_cricket_1/*http://beta.cricket.yahoo.com"> Enter now!</a>