Re: insmod: error inserting

2008-01-29 Thread Li Zefan
Onkar 写道: let me tell the sequence of step I followed before I got that error : (1) I compiled the kernel with the CONFIG_B44=m option (2) then I booted with this new kernel 2.6.18 (3) at his time lsmod |grep b44 showed b44 (that means module loaded at boot time) (4) then , I removed the

Re: Issue: Migration to 2.6.20 on RHEL

2008-01-29 Thread Mulyadi Santosa
Hi On Jan 29, 2008 1:21 PM, Chetan Nanda [EMAIL PROTECTED] wrote: Yes, quite is present in kernel command line. I have copied that from RHEL command line. BTW, what is the purpose of quite param in command line. To supress messages during kernel booting stage I do not create the

Understanding assembly in linux kernel

2008-01-29 Thread Chetan Nanda
Hi, I am reading linux kernel code (i386/kernel/entry.S) it contains few assembly instruction like: .section __ex_table,a .align 4 .long 1b,syscall_fault .previous .section .fixup,ax .section .rodata,a .pushsection .popsection etc How to understand these assembly statements.

Re: print current date and time in a kernel module

2008-01-29 Thread Gerd Koenig
On Tuesday 29 January 2008, Kathiresan, Lekshmanan wrote: Hi All, I want to print current date and time in a kernel module. 1) do we have direct functions that we could use in kernel? 2) Can get time from epoch using gettimeofday? So, how do I convert it to the current date and

Re: Understanding assembly in linux kernel

2008-01-29 Thread Chetan Nanda
Hi, Thanks for answering ... ~ nandac On Jan 29, 2008 5:06 PM, Luciano Rocha [EMAIL PROTECTED] wrote: On Tue, Jan 29, 2008 at 04:42:49PM +0530, Chetan Nanda wrote: Hi, I am reading linux kernel code (i386/kernel/entry.S) it contains few assembly instruction like: .section __ex_table,a

Processes' kernel stack

2008-01-29 Thread Grob Team
Hi, I was reading the chapter of process Management in the book Linux Kernel Development and I see many references of process's kernel stack. AFAIK, processes don't have stack in the kernel, there is one global stack. However, each process have their thread_info structure at the end of this

FXOEM_Init: error 10001

2008-01-29 Thread amol verule
hi to all ..i am having biometrika fx2000 device for configuring time i am getting this error what is this and how to remove it? i have used 2.6.21kernel and Fx2000 Fingerprint Scanner Linux USB Driver sorce. #FxReset -p 0 FXOEM_Init: error 10001 FXOEM_Version 2.05 FXOEM_OpenChannel: error 116

Re: Understanding assembly in linux kernel

2008-01-29 Thread Luciano Rocha
On Tue, Jan 29, 2008 at 04:42:49PM +0530, Chetan Nanda wrote: Hi, I am reading linux kernel code (i386/kernel/entry.S) it contains few assembly instruction like: .section __ex_table,a .align 4 .long 1b,syscall_fault .previous .section .fixup,ax .section .rodata,a

Printing environment variables for a process

2008-01-29 Thread Manish Katiyar
Hi, Is it possible to print or access the environment variables of a process from kernel module. I know it can be done from userspace, but if there is a running process I don't know if there is any way to access/print the environment of a process from userspace. So I thought if it is possible to

Re: Module.symvers ?????????

2008-01-29 Thread Thomas Petazzoni
Le Tue, 29 Jan 2008 12:50:15 +0530, Onkar [EMAIL PROTECTED] a écrit : What does Module.symvers contain and why is it useful ? This file is generated by the kernel during the compilation. It contains the versioning informations for each symbol of the kernel that is exported (i.e, usable by a