Comment 12 for bug 160104

Revision history for this message
Brendan Cully (bcully) wrote : Re: [Bug 160104] Re: iscsitarget kernel module compile fails in event.c:98

On Sunday, 25 November 2007 at 10:51, Alvin Cura wrote:
> Hi Brendan,
>
> Further up in this bug, I attached a diff of event.c. Changing line
> 98 of event.c in accordance with the diff will do the trick.
>
> This will be fixed in the future, I'm working that out now (learning
> pbuilder and experimenting with doing things properly). But if you're
> in patient, you can try to fix it the same way I have.
>
> Procedurally, the following:
>
> # apt-get install iscsitarget-source
> # cd /usr/src
> # tar jxvf iscsitarget.tar.bz2
> # vi modules/iscsitarget-module/kernel/event.c
> <make the change to line 98>
> # mv iscsitarget.tar.bz2 iscsitarget.tar.bz2.ORIG
> # tar jcvf iscsitarget.tar.bz2 modules/
>
> After this, module assistant will work.
>
> # m-a a-i iscsitarget

Thank you, this worked fine!