Re: Kernel developer proccess

2023-04-25 Thread Denis Kirjanov
On 3/22/23 02:20, Panagiotis Filippakopoulos wrote: > Hello. I would like to ask, what your advise would be to a person that > wants to get in the kernel development industry, without having a coputer > science degree. I attended some classes for computer science, but due to > some difficulties

Re: pr_info in driver question

2022-07-06 Thread Denis Kirjanov
the current log level Any other suggestions perhaps? Thanks, Andrew. On Wed, Jul 06, 2022 at 10:53:12AM +0300, Denis Kirjanov wrote: On 7/6/22 09:47, A mp wrote: Hi everyone, My name is Andrew. Recently, I went through the Linux Foundations intro to kernel development course. As part

Re: pr_info in driver question

2022-07-06 Thread Denis Kirjanov
On 7/6/22 09:47, A mp wrote: Hi everyone, My name is Andrew. Recently, I went through the Linux Foundations intro to kernel development course. As part of the course, it gets us to put a print statement inside of the uvcvideo driver, recompile the kernel and then load the module and check

Re: CONFIG_CC_STACKPROTECTOR_STRONG

2019-07-09 Thread Denis Kirjanov
On Tuesday, July 9, 2019, Muni Sekhar wrote: > On Tue, Jul 9, 2019 at 10:56 PM Denis Kirjanov wrote: > > > > > > > > On Tuesday, July 9, 2019, Muni Sekhar wrote: > >> > >> Hi All, > >> > >> > >> My Kernel is built wi

Re: CONFIG_CC_STACKPROTECTOR_STRONG

2019-07-09 Thread Denis Kirjanov
On Tuesday, July 9, 2019, Muni Sekhar wrote: > Hi All, > > > My Kernel is built with the following options: > > > > CONFIG_CC_STACKPROTECTOR=y > > CONFIG_CC_STACKPROTECTOR_STRONG=y > > > > > > We use out-of-tree kernel modules in our project and I need to measure the > performance of it by using

Re: Out-of-tree module build in a dedicated build directory.

2018-03-15 Thread Denis Kirjanov
On 3/15/18, Aleksei Fedotov wrote: >>> It looks like passing O= or KBUILD_OUTPUT= doesn't work for out of tree >>> modules. > >> It doesn't? It should, what is the result when you try to do that? > > It is trying to use path specified in O= as path to the pre-build > kernel and

Re: Decoding Stack from kernel OOPS message

2018-02-13 Thread Denis Kirjanov
On 2/13/18, Matwey V. Kornilov wrote: > Hi all, > > I have to following message in the logs. What I know is how to convert > 'Code' section to assembler or how to convert function/offset to source > code line. Now I wonder how to use stack and register dumps. Given I >

Re: Mapping of virtual to physical addresses

2017-03-22 Thread Denis Kirjanov
On 3/22/17, Stefan Tatschner wrote: > Hallo everybody, > > currently I am trying to understand the internal memory allocation > mechanisms of the kernel. I am particularly interested in the > translation of virtual memory addresses to physical addresses. > Additionally,

Re: dma_alloc_coherent

2016-02-05 Thread Denis Kirjanov
On 2/5/16, Ran Shalit wrote: > Hello, > > I read the readme about dma API, but still don't understand how it > should be used > It is said that dma_alloc_coherent is responsible for allocating the > buffer. > > 1. But how to trigger the dma transaction to start ? > 2. Is

Re: [PowerPC] - Define error in arch/arch/powerpc/boot/io.h ??

2014-07-24 Thread Denis Kirjanov
On 7/24/14, Lucas Tanure tan...@linux.com wrote: Hi, Line 2 of arch/arch/powerpc/boot/io.h : 1 #ifndef _IO_H 2 #define __IO_H 3 4 #include types.h Should be _IO_H, not __IO_H. I'm right ? Yes Thanks -- Lucas Tanure +55 (19) 988176559 -- Regards, Denis

Re: hi , question function of net_rx(struct net_device *dev)

2014-07-18 Thread Denis Kirjanov
On 7/18/14, lx lxlenovos...@gmail.com wrote: hi : the source code of net_rx(struct net_device *dev) is: http://lxr.oss.org.cn/source/drivers/net/ethernet/cirrus/cs89x0.c#L670 I can't understand codes about malloc buffer. ## 684 /* Malloc

Re: Add Data to packet header

2014-07-16 Thread Denis Kirjanov
CCing the list On 7/16/14, Denis Kirjanov kirja...@gmail.com wrote: On 7/16/14, Robert Clove cloverob...@gmail.com wrote: Please don't reply privately skb is the new skb and size is the size of the variable that i will push in new header For eg: struct my_head_struct { int

Re: Decoding a Linux kernel oops panic due to DMAR error

2014-02-03 Thread Denis Kirjanov
On 2/3/14, Ahmed A ahmedc...@yahoo.com wrote: Hello, I have a server with onboard Intel 10G ports (82599). When I load the kernel module driver for these ports, everything is fine, I can see the newly created ethX devices using ip addr show. However, after I assign an IP address, and right

Re: Getting started on Linux Kernel Development

2013-05-31 Thread Denis Kirjanov
Yeah, now you have to find a problem which people are trying to solve... Keep searching a mailing lists. and that's the only way you will be able to figure out what you can fix or improve. On 5/31/13, Daniel Hamacher danielhamacher...@gmail.com wrote: Greetings. My name is Daniel and I am

Re: location of inbuilt system call implementation

2013-03-11 Thread Denis Kirjanov
Check for the SYSCALL_DEFINE[0-6] macros. commit 1a94bc34768e463a93cb3751819709ab0ea80a01 Author: Heiko Carstens heiko.carst...@de.ibm.com Date: Wed Jan 14 14:13:59 2009 +0100 [CVE-2009-0029] System call wrapper infrastructure From: Martin Schwidefsky schwidef...@de.ibm.com By

Re: Max open file limit

2012-12-05 Thread Denis Kirjanov
#define INR_OPEN_CUR 1024 /* Initial setting for nfile rlimits */ On 12/5/12, Vijay Chauhan kernel.vi...@gmail.com wrote: Hello, How many files a process can open at a time? Is it configurable? I found following in the kernel code: .. .max_fds= NR_OPEN_DEFAULT, .. ..

Re: Max open file limit

2012-12-05 Thread Denis Kirjanov
Look at the include/asm-generic/resource.h On 12/5/12, Denis Kirjanov kirja...@gmail.com wrote: #define INR_OPEN_CUR 1024 /* Initial setting for nfile rlimits */ On 12/5/12, Vijay Chauhan kernel.vi...@gmail.com wrote: Hello, How many files a process can open at a time

Re: kernel stack memory

2012-09-13 Thread Denis Kirjanov
At the moment of forking a new process do_fork() creates a new stack for the task by using alloc_thread_info_node(): struct page *page = alloc_pages_node(node, THREADINFO_GFP, THREAD_SIZE_ORDER); On 9/13/12, Rajat Sharma fs.ra...@gmail.com

Re: Mult core cpus - SMP

2012-09-13 Thread Denis Kirjanov
Yes, for example IBM 970MP CPU: • Dual processors on a single chip – Each processor has its own dedicated storage subsystem, including a 1 MB L2 cache per core. – Each processor has its own dedicated resets, external interrupt, thermal diode, and voltage plane (common logic is powered on). –

Re: download the source code of some commands

2012-06-21 Thread Denis Kirjanov
How does it related to the kernel? On 6/21/12, 王哲 wangzhe5...@gmail.com wrote: Hi all: I want to see some source code of some commands,for example,halt,reboot,uptime,and so on. but i don't kown where to download? can you give me some advice? Thanks in advance! -- Regards,

Re: thread_info address calculation

2011-09-16 Thread Denis Kirjanov
It's the same thing as you read: THREAD size is 8kb so the operation looks like the following: current_stack_pointer ~(8191) == current_stack_pointet 0xFE00 (last 13 bits are 0) On Fri, Sep 16, 2011 at 3:38 PM, Vijay Chauhan kernel.vi...@gmail.com wrote: Hi list, I would like to know how

Re: Gsoc participation

2011-03-14 Thread Denis Kirjanov
Also uml (user mode linux) doesn't work on many architectures. Actually I've started porting it to PowerPC... On Mon, Mar 14, 2011 at 6:46 PM, Javier Martinez Canillas martinez.jav...@gmail.com wrote: There was written that Only the ARM and x86 architectures are currently supported. Does it

Re: How to identity processor architecture

2011-01-27 Thread Denis Kirjanov
On Thu, Jan 27, 2011 at 10:27 PM, mindentropy mindentr...@gmail.com wrote: On Thursday 27 Jan 2011 12:15:47 pm Mulyadi Santosa wrote: On Thu, Jan 27, 2011 at 13:40, prabhu prab...@msys-tech.com wrote: No, because 32bit code will tell the datatype size and i think pointer variable depends on