<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE style="DISPLAY: none" type=text/css><!-- P {margin-top:0;margin-bottom:0;} --></STYLE>
<!-- flashmail style begin -->
<STYLE type=text/css>
body {border-width:0;margin:0}
img {border:0;margin:0;padding:0}
</STYLE>
<BASE target=_blank><!-- flashmail style end -->
<META name=GENERATOR content="MSHTML 11.00.10586.545"></HEAD>
<BODY
style="BORDER-LEFT-WIDTH: 0px; FONT-SIZE: 10.5pt; FONT-FAMILY: times new roman; BORDER-RIGHT-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; COLOR: #000000; MARGIN: 12px; LINE-HEIGHT: 1.5; BORDER-TOP-WIDTH: 0px"
marginheight="0" marginwidth="0">
<DIV>Hello:</DIV>
<DIV> </DIV>
<DIV>debug drivers/media/usb/as102/as102_usb_drv.c //Add '&' twice on 117
and 135.</DIV>
<DIV> </DIV>
<DIV>Also, there is no need for you to install that kernel by you own. You can
download the virtualbox img directly.</DIV>
<DIV><A
href="http://www.litmus-rt.org/tutor16/litmus-2016.1.qcow.gz">http://www.litmus-rt.org/tutor16/litmus-2016.1.qcow.gz</A></DIV>
<DIV> </DIV>
<DIV><STATIONERY>
<DIV>
<STYLE type=text/css>
body {
font-size:12.1pt; font-family:simsun,serif;
}
</STYLE>
<!-- flashmail style begin -->
<STYLE type=text/css> <!--@import url(D:\网易闪电邮\\data\scrollbar.css); -->
blockquote {
margin-top:0; margin-bottom:0; margin-left:2em;
}
body {
padding:0; margin:0;
}
</STYLE>
<BASE target=_blank><!-- flashmail style end -->
<META name=GENERATOR content="MSHTML 11.00.9600.17207"><STATIONERY>
<DIV>
<STYLE type=text/css>
body {
font-size:12.1pt; font-family:simsun,serif;
}
</STYLE>
<!-- flashmail style begin -->
<STYLE type=text/css> <!--@import url(D:\网易闪电邮\\data\scrollbar.css); -->
blockquote {
margin-top:0; margin-bottom:0; margin-left:2em;
}
body {
padding:0; margin:0;
}
</STYLE>
<BASE target=_blank><!-- flashmail style end -->
<META name=GENERATOR content="MSHTML 11.00.9600.16521"><STATIONERY>
<DIV>
<STYLE type=text/css>
body {
font-size:12.1pt; font-family:simsun,serif;
}
</STYLE>
<!-- flashmail style begin -->
<STYLE type=text/css> <!--@import url(D:\网易闪电邮\\data\scrollbar.css); -->
blockquote {
margin-top:0; margin-bottom:0; margin-left:2em;
}
body {
padding:0; margin:0;
}
</STYLE>
<BASE target=_blank><!-- flashmail style end -->
<META name=GENERATOR content="MSHTML 11.00.9600.16521"><STATIONERY>
<DIV>
<STYLE type=text/css>
body {
font-size:12.1pt; font-family:simsun,serif;
}
</STYLE>
<!-- flashmail style begin -->
<STYLE type=text/css> <!--@import url(D:\网易闪电邮\\data\scrollbar.css); -->
blockquote {
margin-top:0; margin-bottom:0; margin-left:2em;
}
body {
padding:0; margin:0;
}
</STYLE>
<BASE target=_blank><!-- flashmail style end -->
<META name=GENERATOR content="MSHTML 11.00.9600.16518"><STATIONERY>
<DIV>
<DIV
style="WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; COLOR: rgb(0,0,17); FONT: 13px Tahoma; LETTER-SPACING: normal; TEXT-INDENT: 2em; -webkit-text-stroke-width: 0px"
align=right><FONT face="Times New Roman">Best Wishes!</FONT></DIV>
<DIV
style="WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; COLOR: rgb(0,0,17); FONT: 13px Tahoma; LETTER-SPACING: normal; TEXT-INDENT: 2em; -webkit-text-stroke-width: 0px"
align=right><FONT face=宋体><I><BR></I></FONT></DIV>
<DIV
style="WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; COLOR: rgb(0,0,17); FONT: 13px Tahoma; LETTER-SPACING: normal; TEXT-INDENT: 2em; -webkit-text-stroke-width: 0px"
align=right><FONT face=宋体><I><BR></I></FONT></DIV>
<DIV
style="WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; COLOR: rgb(0,0,17); FONT: 13px Tahoma; LETTER-SPACING: normal; TEXT-INDENT: 2em; -webkit-text-stroke-width: 0px"
align=right><FONT face="Times New Roman"><I>You Sincerely!</I></FONT></DIV>
<DIV
style="WHITE-SPACE: normal; WORD-SPACING: 0px; TEXT-TRANSFORM: none; COLOR: rgb(0,0,17); FONT: 13px Tahoma; LETTER-SPACING: normal; TEXT-INDENT: 2em; -webkit-text-stroke-width: 0px"
align=right><FONT
face="Times New Roman"></FONT> </DIV></DIV></STATIONERY></DIV></STATIONERY></DIV></STATIONERY></DIV></STATIONERY></DIV></STATIONERY></DIV>
<DIV> </DIV>
<DIV style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; COLOR: #c0c0c0"
align=left>2016-09-09
<HR id=SignNameHR
style="BORDER-TOP: #c0c0c0 1px solid; HEIGHT: 1px; BORDER-RIGHT: 0px; WIDTH: 122px; BORDER-BOTTOM: 0px; BORDER-LEFT: 0px"
align=left>
<SPAN id=_FlashSignName>shijunjie92</SPAN> </DIV>
<HR
style="BORDER-TOP: #c0c0c0 1px solid; HEIGHT: 1px; BORDER-RIGHT: 0px; BORDER-BOTTOM: 0px; BORDER-LEFT: 0px">
<BLOCKQUOTE id=ntes-flashmail-quote
style="FONT-SIZE: 10pt; FONT-FAMILY: Verdana; PADDING-LEFT: 0px; MARGIN-LEFT: 0px">
<DIV><STRONG>发件人:</STRONG>NICHOLAS ALLAN KLEPP <nickbk@uga.edu></DIV>
<DIV><STRONG>发送时间:</STRONG>2016-09-09 17:03</DIV>
<DIV><STRONG>主题:</STRONG>Re: [LITMUS^RT] Kernel Instillation</DIV>
<DIV><STRONG>收件人:</STRONG>"litmus-dev@lists.litmus-rt.org"<litmus-dev@lists.litmus-rt.org></DIV>
<DIV><STRONG>抄送:</STRONG></DIV>
<DIV> </DIV>
<DIV>
<DIV id=divtagdefaultwrapper
style="FONT-SIZE: 12pt; FONT-FAMILY: Calibri,Arial,Helvetica,sans-serif; COLOR: #000000; BACKGROUND-COLOR: #ffffff">
<P>Forgive my questions if they are elementary or naive. I am a bit out of my
depth with Linux Kernel instillation, but I very much desire to learn.
<BR></P>
<P><BR></P>
<P>I have cloned into the github source repo. I have not tried to patch
against my previously downloaded 4.1.32 Linux kernel source code, as I believe
the Litmus source is a complete kernel source code if cloned from the source
repo? Please correct me if I am mistaken. <BR></P>
<P><BR></P>
<P>After I have configured the kernel with "<SPAN
style='FONT-FAMILY: "Courier New",monospace'>make menuconfig</SPAN>" I make
the kernel image with "<SPAN style='FONT-FAMILY: "Courier New",monospace'>make
bzImage</SPAN>". Next I try to make the modules with "<SPAN
style='FONT-FAMILY: "Courier New",monospace'>make modules</SPAN>" and I am
presented with this error: <BR></P>
<P><BR></P>
<P></P>
<DIV><SPAN style='FONT-FAMILY: "Courier New",monospace'>In file included from
include/linux/printk.h:275:0,</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>
from include/linux/kernel.h:13,</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>
from drivers/media/usb/as102/as102_usb_drv.c:16:</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>drivers/media/usb/as102/as102_usb_drv.c:
In function ‘as102_usb_xfer_cmd’:</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>include/linux/dynamic_debug.h:86:3:
error: incompatible type for argument 2 of ‘__dynamic_dev_dbg’</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>
__dynamic_dev_dbg(&descriptor, dev, fmt, \</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'> ^</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>include/linux/device.h:1115:2:
note: in expansion of macro ‘dynamic_dev_dbg’</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'> dynamic_dev_dbg(dev,
format, ##__VA_ARGS__); \</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'> ^</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>drivers/media/usb/as102/as102_usb_drv.c:117:3:
note: in expansion of macro ‘dev_dbg’</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>
dev_dbg(bus_adap->usb_dev->dev,</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'> ^</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>include/linux/dynamic_debug.h:53:6:
note: expected ‘const struct device *’ but argument is of type ‘struct
device’</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'> void
__dynamic_dev_dbg(struct _ddebug *descriptor, const struct device
*dev,</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>
^</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>include/linux/dynamic_debug.h:86:3:
error: incompatible type for argument 2 of ‘__dynamic_dev_dbg’</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>
__dynamic_dev_dbg(&descriptor, dev, fmt, \</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'> ^</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>include/linux/device.h:1115:2:
note: in expansion of macro ‘dynamic_dev_dbg’</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'> dynamic_dev_dbg(dev,
format, ##__VA_ARGS__); \</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'> ^</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>drivers/media/usb/as102/as102_usb_drv.c:135:3:
note: in expansion of macro ‘dev_dbg’</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>
dev_dbg(bus_adap->usb_dev->dev,</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'> ^</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>include/linux/dynamic_debug.h:53:6:
note: expected ‘const struct device *’ but argument is of type ‘struct
device’</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'> void
__dynamic_dev_dbg(struct _ddebug *descriptor, const struct device
*dev,</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>
^</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>scripts/Makefile.build:258:
recipe for target 'drivers/media/usb/as102/as102_usb_drv.o'
failed</SPAN><BR><SPAN style='FONT-FAMILY: "Courier New",monospace'>make[4]:
*** [drivers/media/usb/as102/as102_usb_drv.o] Error 1</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>scripts/Makefile.build:403:
recipe for target 'drivers/media/usb/as102' failed</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>make[3]: ***
[drivers/media/usb/as102] Error 2</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>scripts/Makefile.build:403:
recipe for target 'drivers/media/usb' failed</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>make[2]: *** [drivers/media/usb]
Error 2</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>scripts/Makefile.build:403:
recipe for target 'drivers/media' failed</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>make[1]: *** [drivers/media]
Error 2</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>Makefile:946: recipe for target
'drivers' failed</SPAN><BR><SPAN
style='FONT-FAMILY: "Courier New",monospace'>make: *** [drivers] Error
2</SPAN><BR></DIV><BR>
<P></P>
<P>Have I made some mistake? Thanks for any help you are able to offer! - Nick
<BR></P><BR>
<DIV style="COLOR: rgb(0,0,0)">
<DIV>
<HR tabIndex=-1 style="WIDTH: 98%; DISPLAY: inline-block">
<DIV id=x_divRplyFwdMsg dir=ltr><FONT style="FONT-SIZE: 11pt" color=#000000
face="Calibri, sans-serif"><B>From:</B> litmus-dev-bounces@lists.litmus-rt.org
<litmus-dev-bounces@lists.litmus-rt.org> on behalf of Björn Brandenburg
<bbb@mpi-sws.org><BR><B>Sent:</B> Friday, September 9, 2016 6:04
AM<BR><B>To:</B> litmus-dev@lists.litmus-rt.org<BR><B>Subject:</B> Re:
[LITMUS^RT] Kernel Instillation</FONT>
<DIV> </DIV></DIV></DIV><FONT size=2><SPAN style="FONT-SIZE: 10pt">
<DIV class=PlainText><BR>> On 08 Sep 2016, at 22:17, NICHOLAS ALLAN KLEPP
<nickbk@uga.edu> wrote:<BR>> <BR>> Hello! Could you please explain
the meaning of "plan to use Litmus^RT for development" as it is used in the
instillation Wiki? If I would like to write a scheduling module should I work
from the source repository or is it sufficient to simply patch as per the
instillation Wiki? Thanks! - Nick <BR><BR>Hi Nick,<BR><BR>yes, your should
clone the repos; writing a new plugin is exactly what’s meant by
“development.” If you want to hack the kernel or liblitmus: clone the git
repos. If you just want to compile what we’ve released, it’s fine to use the
tarballs.<BR><BR>Best,<BR>Björn<BR><BR><BR><BR>_______________________________________________<BR>litmus-dev
mailing list<BR>litmus-dev@lists.litmus-rt.org<BR><A id=LPlnk418606
href="https://lists.litmus-rt.org/listinfo/litmus-dev">https://lists.litmus-rt.org/listinfo/litmus-dev</A><BR></DIV></SPAN></FONT></DIV></DIV></DIV></BLOCKQUOTE></BODY></HTML>