Re: system call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Nitin

On Sat, Apr 9, 2016 at 5:03 PM, Nitin Varyani <varyani.nitin1@xxxxxxxxx> wrote:
> Neither of the solution is working.
> @ Pranay: kernel is not booting after making the changes you have mentioned.
> somethings like
> "dropping to shell
> initramfs:"
> is displayed on booting.

I don't think this is related to the changes you made. I would advise
you just build the sources for your
distro and try to get to boot the kernel you compiled. Perhaps some
steps you might have missed specific to your
distro?

>
>
> On Thu, Apr 7, 2016 at 1:08 PM, Pranay Srivastava <pranjas@xxxxxxxxx> wrote:
>>
>> Nitin
>>
>>
>> On Thu, Apr 7, 2016 at 11:53 AM, Nitin Varyani <varyani.nitin1@xxxxxxxxx>
>> wrote:
>> >
>> > Hi,
>> >       I want to implement a system call as explained in Linux kernel
>> > development by Robert Love.
>> >
>> > He does three things
>> >  adding entry to entry.S
>> > adding entry to asm/unistd.h
>> > and adding the system call code to sched.c
>> >
>> >
>> > and then make + make install
>> >
>> > I do not want to implement for all architectures but only for my PC
>> > which is 64 bit. I am not able to locate files entry. S and unistd.h which
>> > he is telling in his tutorial.
>> > Please help me out to figure out the exact steps. Please also mention
>> > the linux kernel version I should use.
>> >
>>
>> Please refer this. I wrote this quite a while back but should be good to
>> go.
>>
>>
>> http://codewithkernel.blogspot.my/2014/06/adding-new-system-call-in-linux-x86-and.html
>>
>> > Nitin
>> >
>> > _______________________________________________
>> > Kernelnewbies mailing list
>> > Kernelnewbies@xxxxxxxxxxxxxxxxx
>> > http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>> >
>>
>>
>>
>> --
>>         ---P.K.S
>
>



-- 
        ---P.K.S

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



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux