Re: load address of the kernel

2008-10-07 Thread Roman Mashak
Hello 2008/10/7 Mitul Modi <[EMAIL PROTECTED]>: > on which perticular board u r working on? This is ARM926EJ-S based board, by its hardware design close to ARM/versatile, so took the latter to clone. > have you check the config.mk file in board/{board} specific folder. > > in this file you have

Re: load address of the kernel

2008-10-07 Thread Mitul Modi
hi roman, on which perticular board u r working on? have you check the config.mk file in board/{board} specific folder. in this file you have to define TEXT_BASE which is the address to load the uboot. as per my understanding first stage of boot loader will load 2nd stage to this address. if

Re: how fork returns value

2008-10-07 Thread Peter Teoh
thank you Rene for the in-depth discussion. On Wed, Oct 8, 2008 at 1:56 AM, Rene Herman <[EMAIL PROTECTED]> wrote: > On 07-10-08 17:55, Peter Teoh wrote: > >> thank you for the answer. next question (out of curiosity, sorry if >> it is overstretching the OP) is in architecture without any MMU, >

Re: PCI wireless LAN card with driver source avilable

2008-10-07 Thread Peter Teoh
On page 2 of this: http://ubuntuforums.org/showthread.php?t=528709 it seemed it is solved. Check it out - the source code is verified still downloadable. On Tue, Oct 7, 2008 at 7:27 PM, Kalpesh Rathod <[EMAIL PROTECTED]> wrote: > Hi, > > I am looking for a PCI wireless LAN card for which drive

Re: file system performance in linux

2008-10-07 Thread Greg Freemyer
Putting kernelnewbies back in the cc line. (please don't drop linux kernel mailing lists from replies) On Tue, Oct 7, 2008 at 2:56 PM, pradeepkumar soman <[EMAIL PROTECTED]> wrote: > Hi Greg, > I am working with UDF file system(block size of 4KB) in Linux. I > tried to read a 1GB file

Re: how fork returns value

2008-10-07 Thread Rene Herman
On 07-10-08 17:55, Peter Teoh wrote: thank you for the answer. next question (out of curiosity, sorry if it is overstretching the OP) is in architecture without any MMU, what does syscall like fork() get translate into? Please note that this is not something generic for a (fork-implementing)

network packets and netif_rx()

2008-10-07 Thread Andrea Gasparini
Hi, I'm having some problems in developing the receiving part of a ethernet driver. That's my first experience on a eth driver, so it could be a really dumb thing. My interrupt handler does exactly as said by 'LinuxNetworkInternals' and is similar to the dm9000 driver. I'm testing all that stu

Re: how fork returns value

2008-10-07 Thread Peter Teoh
thank you for the answer. next question (out of curiosity, sorry if it is overstretching the OP) is in architecture without any MMU, what does syscall like fork() get translate into? the fact that fork() does not exists on non-MMU is discussed everywhere, but then how is it replaced? For examp

Re: question on linux elf image

2008-10-07 Thread mahaveer darade
1 reason in context of i386 is while boot-process ( in real mode ) cpu has 4+16 bit address space giving access to only 1MB. so some of the early boot loaders were not able to load kernels. thats why they came up with compressed kernel images. CMIIW Thanks, Mahaveer On Tue, Oct 7, 2008 at 8:20 PM

Re: question on linux elf image

2008-10-07 Thread Sri Ram K Vemulpali
Hi all, The reason is, I tried without compressing. I made elf image and did not execute (make bzimage) and copied all the kernel and symbols to /boot dir and modified config file and tried to boot the kernel. I got two errors 1. insufficient memory 2. did not boot. What is the reason. thank y

PCI wireless LAN card with driver source avilable

2008-10-07 Thread Kalpesh Rathod
Hi, I am looking for a PCI wireless LAN card for which driver source code and datasheet for the chip (intel.,atheros, broadcom or other) is available. for following card from belkin, http://catalog.belkin.com/IWCatProductPage.process?Product_Id=136479 AFAIK, the datasheet is not available in pub

Re: Page Replacement Code

2008-10-07 Thread mahaveer darade
Hi Go though the vmscan.c file under mm directory. clear & clean documentation would not be there on net. u will have to browse code. function to start with would be shrink_all_memory(). There will be different functions written to reclaim pages from different objects like dentry_cache, slab, inact

Re: Page Replacement Code

2008-10-07 Thread shyam Burkule
Explore mark_page_accessed(), refill_inactive_zone(). The most impotent read UTLK 15 and 17 chapters On Tue, Oct 7, 2008 at 3:28 PM, Sukanto Ghosh <[EMAIL PROTECTED]>wrote: > Hi, > > Can someone tell me where (path) can i find the page replacement code > in current linux version ? > > Also, any d

Page Replacement Code

2008-10-07 Thread Sukanto Ghosh
Hi, Can someone tell me where (path) can i find the page replacement code in current linux version ? Also, any document that explains the current algorithm in detail ? -- Regards, Sukanto Ghosh -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [EMAIL PROTECTE

Re: how fork returns value

2008-10-07 Thread Rene Herman
On 07-10-08 06:02, Peter Teoh wrote: 2. lsmod will list all the modules loaded. I printk() the "current", and each running module have its own task struct ptr value. But ps cannot see any of them. But I supposed they should be on the schedulable list of task-struct right? Or may be not?

Re: how fork returns value

2008-10-07 Thread Rene Herman
On 07-10-08 10:15, Peter Teoh wrote: In general, I am just trying to understand what are the entities that can be schedule on the runqueue. Threads (ie, things with a task_struct). So yes -- if you specifically create a thread, such as with kthread_run(), that thread is scheduled. (and it's

Re: how fork returns value

2008-10-07 Thread Peter Teoh
Thank you Rene, On Tue, Oct 7, 2008 at 3:33 PM, Rene Herman <[EMAIL PROTECTED]> wrote: > On 07-10-08 06:02, Peter Teoh wrote: > >> 2. lsmod will list all the modules loaded. I printk() the "current", >> and each running module have its own task struct ptr >> value. But ps cannot see any of the

Re: question on linux elf image

2008-10-07 Thread Henrik Austad
On Monday 06 October 2008 22:53:10 Sri Ram K Vemulpali wrote: > hi all, > > I have a doubt? why is that kernel has to be compress the image file to > copy to boot dir, to boot the kernel. I did not get why we do compressing > image file after we compile the kernel code. Any answers would be hel