RC Script

2009-01-08 Thread abhish agarwal
Hi All, I am trying to capture all console messages at boot up in a file so for that i thought i should change my rc script but it is read only it does not let me change, please tell me a way to capture all messages. I want to follow boot up sequence and want to check any error message at boot

Problem with romfs

2009-01-08 Thread Stephane Lambert
Hi all, I'm trying to boot kernel 2.6.19 in a new architecture and I have a problem concerning romfs. During compilation I've created a section .romfs which contains romfs.img. I have checked with GDB and I found correctly the magic number -rom1fs- at the expected location. But I don't

Re: RC Script

2009-01-08 Thread Erik Mouw
On Thu, 8 Jan 2009 12:11:44 +0530 (IST) abhish agarwal abhish_...@yahoo.co.in wrote: I am trying to capture all console messages at boot up in a file so for that i thought i should change my rc script but it is read only it does not let me change, Maybe you are not root? please tell me a

Re: Problem with romfs

2009-01-08 Thread Syed Khader
VFS: Cannot open root device ram0 or unknown-block(0,0) Please append a correct root= boot option AFAIK, /dev/ram0 has (1,0) as major/minor device numbers. Does your /dev nodes get populated properly while generating your romfs? -syed -- To unsubscribe from this list: send an email with

RE: limiting kernel memory

2009-01-08 Thread Rajat Jain
Hi, I am working on mips-64bit multi-core with 4GB RAM/8GB RAM, my question how do,I strict kernel to use only 2GB Physical RAM or Kernel should use only 2GB Physical RAM. Pass mem=2G as kernel command line parameter. Thanks, Rajat -- To unsubscribe from this list:

Re: Looking for guidance on large memory allocation strategy

2009-01-08 Thread Syed Khader
addr = ioremap(0xC780, 8*1024*1024); printk(KERN_NOTICE %08X\n, addr); Why are you using virtual address here? You should use your PHYS_OFFSET+120M(or 0x7800 ) as the first arg above. -syed -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to

Re: Problem with romfs

2009-01-08 Thread Stephane Lambert
Syed Khader a écrit : VFS: Cannot open root device ram0 or unknown-block(0,0) Please append a correct root= boot option AFAIK, /dev/ram0 has (1,0) as major/minor device numbers. Does your /dev nodes get populated properly while generating your romfs? -syed -- To unsubscribe from this

Re: Disk Space

2009-01-08 Thread Rune V. Sjøen
Lets try this again... The values in /sys/block/dev/size also contains this information even if it is not mounted, no ? Like /sys/block/hda/size and /sys/block/hda/hda1/size On Sun, Jan 4, 2009 at 7:57 AM, rohit vashist rohitvashist2...@gmail.com wrote: Hi Can we know the disk space of any

Re: keyboard input

2009-01-08 Thread Mulyadi Santosa
Hi On Sat, Dec 27, 2008 at 12:25 AM, Elias Kopsiaftis yemi...@gmail.com wrote: How does linux handle keyboard input? I dont mean how the interrupt works, I mean where does it store the keystrokes? Is there some global buffer that it just puts them in until someone reads from it? I did some

Re: usleep() in ioctl

2009-01-08 Thread Mulyadi Santosa
Hi On Thu, Jan 8, 2009 at 9:43 PM, Bruce Rowen bro...@aoc.nrao.edu wrote: Hello, I've been deferring a problem I ran into a few months back and I figure a new year is a good time to readdress it. I have a loadable module that controls some hardware. Within this hardware are various bits

Re: Copying Data Blocks

2009-01-08 Thread Sandeep K Sinha
Hi Greg, On Wed, Jan 7, 2009 at 9:03 PM, Greg Freemyer greg.freem...@gmail.com wrote: On Wed, Jan 7, 2009 at 5:48 AM, Rohit Sharma imreckl...@gmail.com wrote: On Wed, Jan 7, 2009 at 12:44 PM, Manish Katiyar mkati...@gmail.com wrote: On Wed, Jan 7, 2009 at 12:17 PM, Sandeep K Sinha

Re: timer interrupt

2009-01-08 Thread Microbit_Ubuntu
Hi list, First of all, in the meantime I discovered that it's NOT the timer code... A simple module entry and exit with a printk() will cause a (very) occasional fault in free_module(). It seems the problem is solved by using modpost through make. I've scoured on Google but I can't seem to

Re: Copying Data Blocks

2009-01-08 Thread Greg Freemyer
On Thu, Jan 8, 2009 at 12:55 PM, Sandeep K Sinha sandeepksi...@gmail.com wrote: Hi Greg, So if I understand your high level desire, you want to write a filesystem re-org (or defrag or something) that works one file at a time. You have to do it in the kernel because you want to control the

Re: Copying Data Blocks

2009-01-08 Thread Greg Freemyer
Both a top post and bottom post. == Top Post Lost the context for this, but looking at your site: http://code.google.com/p/fscops/ I see a very valuable HSM goal, but I don't see the biggest user of future HSM implementations. Namely servers that add SSD drives as even faster / more expensive

Re: Copying Data Blocks

2009-01-08 Thread Greg Freemyer
HSM guys, Looking at your website, I don't see a way to join a mailing list. http://code.google.com/p/fscops/ Is there one? I added in fsc...@gmail.com under the assumption is was a list. Anyway, if you have a list I'd like to join it. Greg -- Greg Freemyer Litigation Triage Solutions

file locking

2009-01-08 Thread Sime, Don (DSime)
Where does slabinfo get the number used to initialize: num_objs (Version: 2.0) total-objs (version: 1.1 (SMP)) for file_lock_cache?