Can't open /lib/modules/xxx

2008-01-24 Thread Cheney Tang
Hi All, I re-compile the kernel under unbuntu, the fs configured with not modular. The steps are guided by README, such as make/make modules_install/mkinitram. Any recommand is welcomed! BR Cheney

Re: Question on Memory Leaks in Module

2008-01-24 Thread Mulyadi Santosa
Hi.. On 1/24/08, sahlot arvind [EMAIL PROTECTED] wrote: That means if I do kmalloc in a module and unload the module without kfree then that memory is lost and kernel wont be able to use that memory in future. Right? Oops! Apologies for repeating the question. Yeah people already have said

Re: FXOEM_OpenChannel: error 116

2008-01-24 Thread Mulyadi Santosa
Hi... On 1/24/08, amol verule [EMAIL PROTECTED] wrote: hi to all i have compiled fx2000 driver for 2.6.21 kernel..i am using debian. for insmod fx2000 i not got any error message but when i tried to initialize it using command #FzReset -p o ^^^ is that o or 0? Could

Question on kernel startup

2008-01-24 Thread sahlot arvind
I compiled kernel for ARM processor. I am trying to trace kernel control flow. I am looking at file arch/arm/kernel/head.S . Code starting with --- __INIT .type stext, #function ENTRY(stext) mov r12, r0 mov r0, #PSR_F_BIT | PSR_I_BIT |

DMESG query

2008-01-24 Thread Onkar
Where does dmesg read from ? directly from the proc file system ??? -- Thanks regards, Onkar Mahajan

Re: DMESG query

2008-01-24 Thread Ravi Kumar
Hi Onkar, There is sys message logger deamon will capture the message printing on the screen and passing into buffer. Regards, Ravi On Wed, 2008-01-23 at 19:26 +0530, Onkar wrote: Where does dmesg read from ? directly from the proc file system ??? -- Thanks regards, Onkar Mahajan --

Porting linux kernel on Xilinx FPGA board

2008-01-24 Thread Rick Brown
Hi, I need to port a customized linux kernel on the latest Xilinx Virtex-5 FPGA based board (PowerPC architecture). However, my question relates more to the Xilinx FPGA technology (EDK etc.) than the kernel. Considering that this is a completely new board, what all EDK related things I'll need

Re: print current date and time in a kernel module

2008-01-24 Thread Manoj Gupta
In my understading, xtime variable stores the current time and date, which has tv_sec - seconds elapsed since January 1, 1970 (UTC) tv_nsec - nanoseconds in the last second - Manoj On Jan 22, 2008 7:34 PM, Erik Mouw [EMAIL PROTECTED] wrote: On Tue, Jan 22, 2008 at 06:17:29PM +0530,

usbmon info

2008-01-24 Thread Davidlohr Bueso A.
Hi all, Does anyone know (and have any examples) of how I can obtain the data captured by the usbmon module without having to look at the /sys/kernel/debug/ files. Is there a userland API for usbmon? I don't want to have to parse a bunch of files to get the information I need. I've been reading

Re: DMESG query

2008-01-24 Thread mahaveer darade
the information returned by the dmesg command is held in memory by the kernel. dmesg reads the buffer called kernel ring buffer which contains the boot-up messages in memory. If the buffer gets filled it overwrites its buffer On Jan 23, 2008 7:26 PM, Onkar [EMAIL PROTECTED] wrote: Where does

Re: Question on kernel startup

2008-01-24 Thread Rene Herman
On 24-01-08 14:02, sahlot arvind wrote: That makes sense. Thanks a lot. So position independent code is one wherein all the branch instructions are PC relative. Right? More the other way around -- if all branches are PC relative you'll get position independent code (codewise that is; it's

Re: Best way to learn assembly ?

2008-01-24 Thread Davidlohr Bueso A.
I once read Jeff Duntemann's Assembly Language Step-by-step when learning asm. Not only is a fun book to read, but you can learn a lot about the memory mechanics of the x86 arquitecture (even if you're not into asm programming). I strongly suggest it.

Re: driver for huawei EC321 CDMA card

2008-01-24 Thread V . Ravikumar
Hi Amol, The following things worked for me in FC-5. First modprobe the driver # modprobe usbserial vendor=0x12d1 product=0x1001 Should get something like this with dmesg Code: # dmesg [ 2315.412106] usbcore: registered new interface driver usbserial [ 2315.412508]

KDB breakpoints

2008-01-24 Thread Onkar
how to put breakpoints in kdb at a function register_filesystem() ?? -- Thanks regards, Onkar Mahajan

Re: usbmon info

2008-01-24 Thread Greg KH
On Thu, Jan 24, 2008 at 10:43:41AM -0300, Davidlohr Bueso A. wrote: Hi all, Does anyone know (and have any examples) of how I can obtain the data captured by the usbmon module without having to look at the /sys/kernel/debug/ files. Is there a userland API for usbmon? I don't want to have

Re: driver for huawei EC321 CDMA card

2008-01-24 Thread Greg KH
On Thu, Jan 24, 2008 at 06:59:00PM +0530, amol verule wrote: hi to all i am using kernel 2.6.21 If you upgrade to a newer kernel, the option driver handles this card automatically, no need to do anything special. thanks, greg k-h -- To unsubscribe from this list: send an email with

Re: hidden Filesystem ???

2008-01-24 Thread Scott Lovenberg
Mulyadi Santosa wrote: Hi... filesystems is something I rarely touch..but I try to deliver ideas.. On Jan 22, 2008 4:26 PM, Onkar [EMAIL PROTECTED] wrote: How do I get the filesystem which is shadowed by another file system ?? For instance , ext3 is mounted on /root mount point. But

Getting list of exported symbols for $ARCH

2008-01-24 Thread Joseph Fannin
Hi! Is there are simple way to get a list of the exported symbols (i.e. with EXPORT_SYMBOL) for a particular kernel arch, preferably without building a kernel for that arch? I'd like to find a definitive way to see if a symbol is exported or not for a particular architechture -- without a full

Re: KDB breakpoints

2008-01-24 Thread Mulyadi Santosa
Hi.. On Jan 24, 2008 11:42 PM, Onkar [EMAIL PROTECTED] wrote: how to put breakpoints in kdb at a function register_filesystem() ?? IIRC, by typing break your func name. Does that work? regards, Mulyadi. -- To unsubscribe from this list: send an email with unsubscribe kernelnewbies to

Re: Question on kernel startup

2008-01-24 Thread sahlot arvind
Rene, If you look at the comment preceding that bit, you'll see it say that the code is mostly (?) position independent and although I don't know ARM assembly nor have an ARM toolchain installed, I bet that if you look at the actual generated code, you'll see it generating the branch target as a

Re: Question on kernel startup

2008-01-24 Thread sahlot arvind
The vast majority of it probably is, some of it isn't and it'll depend on the architecture... So isn't there a thick line that this code is PIC and this is not? What I understand is that on any arch code, which runs before enabling paging unit must be PIC. Is that correct? And one more question -