Re: Earlier Linux Code...

2023-05-26 Thread arshad hussain
On Fri, 26 May, 2023, 11:59 am Deepak Goel, wrote: > Hello > > I am a newbie. > > Is it possible to find the linux code of earlier versions like > 0.1,0.2,...1.0, 1.1...? > The Art of Linux kernel design by Yang is based on v0.1 kernel version and is an very interesting read. That said, look

[PATCH 1/1] staging: erofs: Add function comment for erofs/super.c

2019-03-12 Thread arshad hussain
Re-sending. Previous patch I put in very old kernel-newbies address. Subject: [PATCH 1/1] staging: erofs: Add function comment for erofs/super.c This patch adds functions comment for file erofs/super.c in sphinx format. Signed-off-by: Arshad Hussain --- drivers/staging/erofs/super.c | 133

Re: Virtual Memory map

2017-12-13 Thread arshad hussain
On Wed, Dec 13, 2017 at 1:58 PM, Damian Tometzki wrote: > Hello, > > On more question. The second example: > > 8000 - 87ff (=43 bits) guard hole, reserved for > hypervisor > > > What are the relation between the Bits (=43bits) and the Adresse

Re: Virtual Memory map

2017-12-12 Thread arshad hussain
On Wed, Dec 13, 2017 at 12:44 AM, Damian Tometzki wrote: > Hello all, > > i have a short question: > > How are the bits (in brackets) calculated in the virtual memory map ? > > for example the first line (=47 bits) > > Virtual memory map with 4 level page tables: > >

Re: Virtual Address Space

2016-10-01 Thread Arshad Hussain
On 30-Sep-2016, at 10:10 pm, Román Martínez wrote: > Hi, > > I compile main.s and it generates main.o. With objdump I can see: > > <_start>: >0: b8 01 00 00 00 mov$0x1,%eax >5: bb 00 00 00 00 mov$0x0,%ebx >a: cd 80

Re: Virtual Address Space

2016-09-29 Thread arshad hussain
> On 28-Sep-2016, at 10:36 am, Madhu K wrote: > > Hi All, The support comes right through from the architecture. Linear address: Also virtual address. This is Address CPU can address. This is 0 - 4GB under 32bit architecture. Physical address: This are actual memory

Re: kmalloc size limit?

2016-08-21 Thread arshad hussain
> On 19-Aug-2016, at 11:51 pm, Muni Sekhar wrote: > > Hi All, > > I would like to know what is the maximum size limit for kmalloc() API > to return a valid memory? AFAIK, on x86 the largest allocation is 1024 pages. It boils down to 4MB. > Does the size limit varies

Re: Bios , Mbr, Grub

2016-07-06 Thread arshad hussain
> On 04-Jul-2016, at 2:30 pm, Gnoleba GNOGBO wrote: > > Hi ! > > I had read a lot of book and link about initialization of the boot starting > of linux. > > I read that , after the post by the bios the mbr is loaded in memory which > routine load this sector ? This is

Re: Mapping of Filename to allocated blocks

2016-04-27 Thread arshad hussain
On Thu, Apr 28, 2016 at 7:28 AM, Manoj Rao wrote: > Hi All, > > I'm looking for a way to get a filename associated with a given physical > block (ideally what I'd like is a mapping of filename <=> all the allocated > blocks for this file). If you have not done already,

Re: Understanding the mapping of physical memory to kernel address space

2015-03-12 Thread Arshad Hussain
On 12-Mar-2015, at 10:02 am, Sunny Shah shahsunny...@gmail.com wrote: Hello, This is my first mail on this list, so please let me know if I'm erring. I'm reading Bovet and Cesati's Understanding the Linux Kernel, specifically the chapter Memory Addressing, sub-section Kernel Page

Re: Difference between System.map and /proc/kallsyms

2015-03-09 Thread Arshad Hussain
On 08-Mar-2015, at 11:00 pm, Jamal md.jamalmohiud...@gmail.com wrote: Hi.. After reading Documentation on System.map, i understood that , whenever an oops happens the following addresses will be converted to its function name by klogd daemon using System.map. Now when we have

Re: Replacing -custom in my New Kernel development configuration

2015-02-12 Thread Arshad Hussain
:37 PM, Arshad Hussain arshad.su...@gmail.com wrote: On 11-Feb-2015, at 11:18 pm, Vinícius Tinti viniciusti...@gmail.com wrote: On Wed, Feb 11, 2015 at 3:42 PM, s.rawat imsaurabhra...@gmail.com wrote: Hello, I recently built the 3.18.5 kernel according to instruction on the linuxkernel

Re: Replacing -custom in my New Kernel development configuration

2015-02-11 Thread Arshad Hussain
On 11-Feb-2015, at 11:18 pm, Vinícius Tinti viniciusti...@gmail.com wrote: On Wed, Feb 11, 2015 at 3:42 PM, s.rawat imsaurabhra...@gmail.com wrote: Hello, I recently built the 3.18.5 kernel according to instruction on the linuxkernel newbie page .I used /sbin/installkernel script to install

Re: Query about /proc/meminfo

2014-12-12 Thread Arshad Hussain
On 10-Dec-2014, at 10:18 pm, PRAJAPATI MEHUL mehulprajapati2...@gmail.com wrote: Hi, -I am currently working on one embedded development board. -I have ported 3.0.31 kernel with my personal patches on it. -When I am trying to insert my module, it fails to allocate 4MB memory using

Re: Spinlocks schedule_timeout

2013-12-25 Thread arshad hussain
On Wed, Dec 25, 2013 at 3:29 PM, SaNtosh kuLkarni santosh.yesop...@gmail.com wrote: Hi, I wanted to verify/clarify if using schedule_timeout after acquiring a spinlock is safe?. No it is not safe. schedule_timeout is sleepy function and it is wrong to sleep when holding a spin lock. So

Re: BSP and the kernel

2013-09-18 Thread arshad hussain
On Wed, Sep 18, 2013 at 6:20 PM, Mandeep Sandhu mandeepsandhu@gmail.com wrote: BSP stands for board support packageso it'll contain stuff to make the kernel run on that specific h/w (eg: header files detailing the memory map of the attached devices etc.). If you have a builtin

Re: Difference x86 and x86_64

2012-12-24 Thread arshad hussain
On Sun, Dec 23, 2012 at 9:28 PM, Shraddha Kamat sh200...@gmail.com wrote: I used x86 - bzImage to boot my machine and 'uname -a' shows this :- Linux phx4 3.7.1 #3 SMP Sun Dec 23 16:28:20 IST 2012 x86_64 x86_64 x86_64 GNU/Linux where I see x86_64 arch (and not x86_64) ??? What is the