Hi,
I'm working on a project and might do multiple making - I'm afraid if
things go wrong. How to keep a backup of the current kernel?
Thanks
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
Before even trying to do any development, I think that you need to
learn about GRUB (or what bootloader you are using) and how to be able
to chose from multiple kernels when booting.
On Tue, May 27, 2014 at 7:56 AM, Nada Saif nada.sa...@gmail.com wrote:
Hi,
I'm working on a project and might
Hi All,
You can try following steps to checkout to the latest stable kernel.
# First clone to the current release.
git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
linux-stable
cd linux-stable
# Create local branch stable
git checkout -b stable
# Added a remote git
Hi,
I want to process a copy operation from file sent from user space - this
copying should be inside the kernel..
I read about using filp_open , will this help me ?
Thanks,
Nada
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
On 27-05-14 08:56:27, Nada Saif wrote:
I'm working on a project and might do multiple making - I'm afraid if
things go wrong. How to keep a backup of the current kernel?
Just use the packet management of your distribution to build and install
new kernels. Under normal circumstances you'd then
On Tue, 27 May 2014 10:19:37 +0300, Nada Saif said:
I want to process a copy operation from file sent from user space - this
copying should be inside the kernel..
Why? What problem are you trying to solve by doing this? This is almost
certainly a bad design, for a number of reasons.
And
how about call_usermodehelper?
On Tue, May 27, 2014 at 3:19 PM, Nada Saif nada.sa...@gmail.com wrote:
Hi,
I want to process a copy operation from file sent from user space - this
copying should be inside the kernel..
I read about using filp_open , will this help me ?
Thanks,
Nada
On Tue, May 27, 2014 at 12:49 PM, Nada Saif nada.sa...@gmail.com wrote:
Hi,
I want to process a copy operation from file sent from user space - this
copying should be inside the kernel..
I read about using filp_open , will this help me ?
I guess you want to open the files inside kernel and
On Tue, 27 May 2014 00:16:52 -0700, Anand Moon said:
Please share your thoughts on this.
I'd do it slightly differently, by keeping a master copy of Linus's
tree, and a separate tree for the -stable additions (and other separate
trees for linux-next or whatever else you feel like...)
I keep my
Hi Validis,
Thanks for this new approach.
-Anand Moon
On Tuesday, May 27, 2014 2:07 PM, valdis.kletni...@vt.edu
valdis.kletni...@vt.edu wrote:
On Tue, 27 May 2014 00:16:52 -0700, Anand Moon said:
Please share your thoughts on this.
I'd do it slightly differently, by keeping a master copy
On Tue, May 27, 2014 at 3:05 PM, Nada Saif nada.sa...@gmail.com wrote:
Hi Srivastava,
Thanks for your answer.
I want to make a backup of any opened file.. whenever the file is opened or
updated , it's reflected on its backup..
Hmm, not really done this but i guess you need inotify hooks and
Hi Augusto,
But there will be other packets also coming from the network like if some
one is browsing the net on mozilla.
I only want to trace the send() calls that i have used in my code,is that
possible?
Regards
On Tue, May 27, 2014 at 3:49 AM, Augusto Mecking Caringi
Hi!
Goal, when the user do :
# head -1 /dev/miscdrv
The driver prints: Hello World!
Steps:
# Make
# insmod misc.ko
# head -1 /dev/miscdrv
Why my driver doesn't work ?
What is worg with my read operation?
static ssize_t
misc_drv_read(struct file *filp, char __user * buf, size_t count, loff_t
Lucas Tanure tan...@linux.com writes:
What is worg with my read operation?
static ssize_t
misc_drv_read(struct file *filp, char __user * buf, size_t count, loff_t *
offp){
int nbytes;
char * string = hello World;
nbytes = copy_to_user(buf, string, 12);
return nbytes;
}
So, My misc_drv_read returns 0, and it's ok. So why the command head didn't
get the string ?
--
Lucas Tanure
+55 (19) 988176559
On Tue, May 27, 2014 at 9:59 AM, Bjørn Mork bj...@mork.no wrote:
Lucas Tanure tan...@linux.com writes:
What is worg with my read operation?
static ssize_t
Lucas Tanure tan...@linux.com writes:
So, My misc_drv_read returns 0, and it's ok. So why the command head didn't
get the string ?
You told it that it got a string with length 0. And that's what it printed.
Bjørn
___
Kernelnewbies mailing list
Wow, many thanks.
So the read operation should return the total number of bytes, not a
true/false int.
I need to read more about this operations.
Thanks
--
Lucas Tanure
+55 (19) 988176559
On Tue, May 27, 2014 at 10:05 AM, Bjørn Mork bj...@mork.no wrote:
Lucas Tanure tan...@linux.com writes:
Hi!
On Die, 2014-05-27 at 10:09 -0300, Lucas Tanure wrote:
Wow, many thanks.
So the read operation should return the total number of bytes, not a
true/false int.
The syscall here (done by `head`) is read() ...
I need to read more about this operations.
.. and the drivers .read function is
On Tue, May 27, 2014 at 04:35:13AM -0400, valdis.kletni...@vt.edu wrote:
On Tue, 27 May 2014 00:16:52 -0700, Anand Moon said:
Please share your thoughts on this.
I'd do it slightly differently, by keeping a master copy of Linus's
tree, and a separate tree for the -stable additions (and
On Tue, May 27, 2014 at 8:31 AM, Robert Clove cloverob...@gmail.com wrote:
But there will be other packets also coming from the network like if some
one is browsing the net on mozilla.
I only want to trace the send() calls that i have used in my code,is that
possible?
Robert,
You must
On Tue, 27 May 2014 07:28:34 -0700, Greg KH said:
So are you doing this as root? Because you should never do kernel
development as root, just put kernel source trees in your home directory
somewhere, like under ~/linux/
No, I'm not doing the builds as root. /usr/src has been fixed to be
owned
Have you try the git archive instead of git clone? , if you do not need the
history this git option rocks
On Tue, May 27, 2014 at 11:16 AM, valdis.kletni...@vt.edu wrote:
On Tue, 27 May 2014 07:28:34 -0700, Greg KH said:
So are you doing this as root? Because you should never do kernel
On Tue, 27 May 2014 11:28:19 -0500, Victor Rodriguez said:
Have you try the git archive instead of git clone? , if you do not need the
history this git option rocks
That has the same problem as 'clone --depth 1' - you can't bisect using
the resulting tree.
pgplGNsmTr6Xg.pgp
Description: PGP
I think it is good for you to read LDD3 or google some corresponding
materials at first.
2014-05-27 20:48 GMT+08:00 Lucas Tanure tan...@linux.com:
Hi!
Goal, when the user do :
# head -1 /dev/miscdrv
The driver prints: Hello World!
Steps:
# Make
# insmod misc.ko
# head -1 /dev/miscdrv
24 matches
Mail list logo