Re: Location of syscall wrappers

2008-02-07 Thread Erik Mouw
On Thu, Feb 07, 2008 at 02:12:38PM +0530, Rajat Jain wrote: > Hi, > > > > > Use syscall(SYSTEM_CALL_NUMBER, arg1, arg2, arg3); > > > > _syscall3() macro are are not supported nowadays. > > > > http://lkml.org/lkml/2007/7/5/314 > > > > Who is supposed to provide syscall()?? C library? Where do

Re: Accessing static variable from outside

2007-06-17 Thread Erik Mouw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 A: http://en.wikipedia.org/wiki/Top_post Q: Were do I find info about this thing called top-posting? A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoy

Re: Floating point in kernel

2007-04-24 Thread Erik Mouw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Apr 24, 2007 at 02:07:38PM +0530, Daniel Rodrick wrote: > I've always read that although it isn't completely forbidden, but > kernel code shouldn't use floating point arithmetic. It is not > recommended, but surely looks possible. > > So just

Re: PCI config space doubt

2007-04-24 Thread Erik Mouw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Apr 24, 2007 at 03:20:01PM +0530, Rajat Jain wrote: > >On Tue, Apr 24, 2007 at 12:03:32PM +0530, Rajat Jain wrote: > >> Does Linux assign the resources to PCI devices? Or is it done by PCI > >> firmware? > > > >Yes. > > I'm sorry but I could n

Re: Threading in linux

2007-04-24 Thread Erik Mouw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Apr 24, 2007 at 12:08:40PM +0530, Rick Brown wrote: > I read that the kernel does not differentiate between threads and > processes. Correct. > That means, we can say that on a Linux system, the > threading is purely provided by user level t

Re: PCI config space doubt

2007-04-24 Thread Erik Mouw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, Apr 24, 2007 at 12:03:32PM +0530, Rajat Jain wrote: > Does Linux assign the resources to PCI devices? Or is it done by PCI > firmware? Yes. Erik - -- They're all fools. Don't worry. Darwin may be slow, but he'll eventually get them. -- Ma

Re: Automatically loading kernel modules at bootup

2007-03-29 Thread Erik Mouw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, Mar 29, 2007 at 09:22:45PM +0530, Daniel Rodrick wrote: > How do I make sure that my kernel module gets loaded automatically on > system bootup? Depends. Hotplug/udev will automatically load modules for devices in plug-and-play busses (PCI, US

Re: mmaping device memory into userspace.

2007-03-28 Thread Erik Mouw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, Mar 28, 2007 at 09:45:52AM +0530, Daniel Rodrick wrote: > If we map device memory into user space using mmap(), the user will be > able to do read / write into device using normal memory handling > routines, right? Right. > But as mentioned i

Re: not getting command prompt at the console

2007-02-22 Thread Erik Mouw
On Thu, Feb 22, 2007 at 04:20:08PM +0530, Raseel Bhagat wrote: > On 2/22/07, Erik Mouw <[EMAIL PROTECTED]> wrote: > >Run a getty on the serial device (I suppose you're using a serial > >port). > >Could be that the serial driver changed or that you forgot to co

Re: not getting command prompt at the console

2007-02-22 Thread Erik Mouw
On Thu, Feb 22, 2007 at 03:19:10PM +0530, Rajat Jain wrote: > Hi All, > > I just finished porting linux kernel 2.6.15 to a MIPS based board. The > board now boots up beautifully ... and here is the console log: [...] > Next, I expected to see a command prompt which never comes. At this > point i