Kernel Newbies archive on lore.kernel.org
 help / Atom feed
From: Elias Kouskoumvekakis <eliaskousk@gmail.com>
To: Yacov Simhony <ysimhony@gmail.com>
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: Help: using the scull driver
Date: Tue, 11 Jun 2019 22:52:54 +0300
Message-ID: <CAAkou89pVqgh6TQ5jGpx3KhyfCoGSmgOe138A7b5FhrDhHgRUw@mail.gmail.com> (raw)
In-Reply-To: <20190611185844.GB25511@yacov-PR601-VR603>

[-- Attachment #1.1: Type: text/plain, Size: 808 bytes --]

On Tue, Jun 11, 2019 at 9:59 PM Yacov Simhony <ysimhony@gmail.com> wrote:

>
> I've tried to port the code to run with my linux version, but I got
> stuck when it comes to exchange the old semaphores with the newly
> introduced mutexes.
>
> I also tried to install linux version 2.6.35 on my machine, but I could
> compile the code. I assume it's related to the gcc version, but I don't
> know how to handle this.
>
> Can you give me some advice here?
>

Hi Yacov,

you can use the following repository which contains updated code for recent
kernels. I tested it last year and IIRC it was working fine.

https://github.com/martinezjavier/ldd3

It is now possibly a bit out of date for the 5.1 kernel, but whatever you
encounter will probably be easier to fix than the original code of the book.

Best,
Elias

[-- Attachment #1.2: Type: text/html, Size: 1308 bytes --]

<div dir="ltr"><div dir="ltr">On Tue, Jun 11, 2019 at 9:59 PM Yacov Simhony &lt;<a href="mailto:ysimhony@gmail.com">ysimhony@gmail.com</a>&gt; wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><br>I&#39;ve tried to port the code to run with my linux version, but I got<br>
stuck when it comes to exchange the old semaphores with the newly<br>
introduced mutexes.<br>
<br>
I also tried to install linux version 2.6.35 on my machine, but I could<br>
compile the code. I assume it&#39;s related to the gcc version, but I don&#39;t<br>
know how to handle this.<br>
<br>
Can you give me some advice here?<br></blockquote><div><br></div><div>Hi Yacov, </div><div><br></div><div>you can use the following repository which contains updated code for recent kernels. I tested it last year and IIRC it was working fine.</div><div><br></div><div><a href="https://github.com/martinezjavier/ldd3">https://github.com/martinezjavier/ldd3</a><br></div><div><br></div><div>It is now possibly a bit out of date for the 5.1 kernel, but whatever you encounter will probably be easier to fix than the original code of the book.</div><div><br></div><div>Best,</div><div>Elias</div><div><br></div></div></div>

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

      reply index

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-11 18:58 Yacov Simhony
2019-06-11 19:52 ` Elias Kouskoumvekakis [this message]

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAAkou89pVqgh6TQ5jGpx3KhyfCoGSmgOe138A7b5FhrDhHgRUw@mail.gmail.com \
    --to=eliaskousk@gmail.com \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=ysimhony@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Kernel Newbies archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kernelnewbies/0 kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ https://lore.kernel.org/kernelnewbies \
		kernelnewbies@kernelnewbies.org kernelnewbies@archiver.kernel.org
	public-inbox-index kernelnewbies


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernelnewbies.kernelnewbies


AGPL code for this site: git clone https://public-inbox.org/ public-inbox