Re: Regarding high mem

2012-10-17 Thread Chetan Nanda
On Tue, Oct 16, 2012 at 5:47 PM, Kshemendra KP kshemen...@suphalaam.comwrote: On x86 kernel is normally split into 3GB (user) : 1 GB (Kernel) spaces. Kernel can only directly manipulate 1 GB (around 889 MB) from the PAGE_OFFSET (0xC000). The user space memofy below PAGE_OFFSET

Re: Regarding high mem

2012-10-17 Thread Kshemendra KP
On Wed, Oct 17, 2012 at 2:04 PM, Chetan Nanda chetanna...@gmail.com wrote: On Tue, Oct 16, 2012 at 5:47 PM, Kshemendra KP kshemen...@suphalaam.comwrote: On x86 kernel is normally split into 3GB (user) : 1 GB (Kernel) spaces. Kernel can only directly manipulate 1 GB (around 889 MB)

Re: Regarding KGDB setup over serial cable

2012-10-17 Thread Vivek Panwar
Hi Mulyadi, I did some googling and found one clue that i have to change file system in menuconfig file for EXT4 , which support both EXT2 and EXT3 as well, so for that i have enable below features in file systems... # CONFIG_EXT2_FS=n # CONFIG_EXT3_FS=n CONFIG_EXT4_USE_FOR_EXT2 3=Y After

Re: Regarding KGDB setup over serial cable

2012-10-17 Thread Vivek Panwar
HI Mulyadi , Please find below my */proc/mounts* and */etc/fstab* files detail: *mounts:* rootfs / rootfs rw 0 0 none /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0 none /proc proc rw,nosuid,nodev,noexec,relatime 0 0 none /dev devtmpfs rw,relatime,size=1944452k,nr_inodes=486113,mode=755 0 0

why the kernel need define ZONE_HIGHEM

2012-10-17 Thread Fan Yang
HI ALL: I don't knowe why the linux designer need to define the ZONE_HIGHEM, and why they defined it 896M. thanks yangfan ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: Regarding high mem

2012-10-17 Thread Chetan Nanda
On Oct 17, 2012 2:22 PM, Kshemendra KP kshemen...@suphalaam.com wrote: On Wed, Oct 17, 2012 at 2:04 PM, Chetan Nanda chetanna...@gmail.com wrote: On Tue, Oct 16, 2012 at 5:47 PM, Kshemendra KP kshemen...@suphalaam.com wrote: On x86 kernel is normally split into 3GB (user) : 1 GB

quick online tutorial on system calls

2012-10-17 Thread Robert P. J. Day
another in an ongoing series of things i'm just throwing together, mostly to document stuff for my own benefit to use later in courseware when i figure out what to do with it. here's a summary i wrote this morning on system calls, which turned out to be longer than i'd planned (it just kind of

Re: Regarding KGDB setup over serial cable

2012-10-17 Thread Mulyadi Santosa
Hi On Wed, Oct 17, 2012 at 5:26 PM, Vivek Panwar vivekpanwar2...@gmail.com wrote: Hi Mulyadi, I did some googling and found one clue that i have to change file system in menuconfig file for EXT4 , which support both EXT2 and EXT3 as well, so for that i have enable below features in file

Re: why the kernel need define ZONE_HIGHEM

2012-10-17 Thread Mulyadi Santosa
Hi... On Wed, Oct 17, 2012 at 5:39 PM, Fan Yang lljyang...@gmail.com wrote: HI ALL: I don't knowe why the linux designer need to define the ZONE_HIGHEM, and why they defined it 896M. my understanding about ZONE_HIGHMEM is that it is simply a pool of pages, grouped so you can quickly know

Re: quick online tutorial on system calls

2012-10-17 Thread Abhijit Pawar
On 17 Oct 2012 20:31, Robert P. J. Day rpj...@crashcourse.ca wrote: another in an ongoing series of things i'm just throwing together, mostly to document stuff for my own benefit to use later in courseware when i figure out what to do with it. here's a summary i wrote this morning on

memory management with mmap

2012-10-17 Thread Sengottuvelan S
Hi All I am trying to experiment a memory management - allocate memory segments in Kernel space (junk of memory segments using page allocation) so that different user process can use/access it(read/write) using mmap. For example, I have 2 different user space process A,B etc. I have to allocate

Re: Regarding high mem

2012-10-17 Thread Rik van Riel
On 10/17/2012 04:52 AM, Kshemendra KP wrote: One thing not clear to me is, during boot, kernel is copied to 1st MB of the RAM in x86 architecture as this architecture has ISA mem map hole (640k -to 1MB). From 1st BM till 896MB is occupied by the kernel. Then user space will be made

Re: scsi adapter module over block device - need help

2012-10-17 Thread Greg Freemyer
Sorry, dropped kernelnewbies somehow. Please keep them in cc. Your message and my reply below. On Wed, Oct 17, 2012 at 6:46 PM, Greg Freemyer greg.freem...@gmail.com wrote: On Wed, Oct 17, 2012 at 12:06 PM, Dmitry Filippov filippov...@gmail.com wrote: Greg, thank you for reply! Yeah

Re: Online tutorial on system calls

2012-10-17 Thread m k
Hi Robert, I have just joined the mailing list and very new to Kernel so this tutorial is something I'm sure I'll find very useful. Thanks! Cheers M On Thu, Oct 18, 2012 at 3:00 AM, kernelnewbies-requ...@kernelnewbies.orgwrote: Send Kernelnewbies mailing list submissions to

Re: simple scsi device mapper module

2012-10-17 Thread Jack Wang
2012/10/17 Dmitry Filippov filippov...@gmail.com: Hi, Recently i've started with development of kernel module, which uses existing block devices/partitions as backend and represents itself as scsi disk. i've found good start point - scsi_debug module which is in official kernel tree under