Kernel Newbies archive on
 help / color / Atom feed
From: Yacov Simhony <>
Subject: Help: using the scull driver
Date: Tue, 11 Jun 2019 21:58:44 +0300
Message-ID: <20190611185844.GB25511@yacov-PR601-VR603> (raw)


I'd like to ask how can I use the scull driver today?
The scull driver appears in the book "Linux Device Drivers, Third

I am using linux vesion 5.1.6

I found the code of scull here:

But, it says there that the code is compatible with linux version 2.6.35.

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?


Kernelnewbies mailing list

             reply index

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

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:

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

  git send-email \
    --in-reply-to=20190611185844.GB25511@yacov-PR601-VR603 \ \ \

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

Kernel Newbies archive on

Archives are clonable:
	git clone --mirror 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/ \
	public-inbox-index kernelnewbies

Newsgroup available over NNTP:

AGPL code for this site: git clone public-inbox