Re: Can add new module without upgrade the kernel?

2015-03-30 Thread Woody Wu
Sorry, I did not write a subject. On Monday, 30 March 2015, Woody Wu narkewo...@gmail.com wrote: Hi, I have a kernel already run on production, but I then realized that I need to add one or two driver to it. But I hope I can avoid to upgrade the kernel image for those already running

Re: Can add new module without upgrade the kernel?

2015-03-30 Thread Adam Lee
On Mon, Mar 30, 2015 at 02:05:33PM +0800, Woody Wu wrote: Sorry, I did not write a subject. On Monday, 30 March 2015, Woody Wu narkewo...@gmail.com wrote: Hi, I have a kernel already run on production, but I then realized that I need to add one or two driver to it.  But I

Re: Can add new module without upgrade the kernel?

2015-03-30 Thread Woody Wu
On Monday, 30 March 2015, Adam Lee adam8...@gmail.com wrote: On Mon, Mar 30, 2015 at 02:05:33PM +0800, Woody Wu wrote: Sorry, I did not write a subject. On Monday, 30 March 2015, Woody Wu narkewo...@gmail.com javascript:; wrote: Hi, I have a kernel already run on

Re:

2015-03-30 Thread Anuz Pratap Singh Tomar
On Mon, Mar 30, 2015 at 5:56 AM, Woody Wu narkewo...@gmail.com wrote: Hi, I have a kernel already run on production, but I then realized that I need to add one or two driver to it. But I hope I can avoid to upgrade the kernel image for those already running products, I hope I can only

Re: Can add new module without upgrade the kernel?

2015-03-30 Thread Woody Wu
On Monday, 30 March 2015, Adam Lee adam8...@gmail.com wrote: On Mon, Mar 30, 2015 at 05:35:23PM +0800, Woody Wu wrote: Thanks and glad to know that. Just be curious, it means, in kernel building, select a driver as M or as EMPTY will put no influence on the resulted kernel image at all,

Re:

2015-03-30 Thread ravi ranjan Mishra
use modprobe may solve your problem. On Mon, Mar 30, 2015 at 5:25 PM, Anuz Pratap Singh Tomar chambilketha...@gmail.com wrote: On Mon, Mar 30, 2015 at 5:56 AM, Woody Wu narkewo...@gmail.com wrote: Hi, I have a kernel already run on production, but I then realized that I need to add one

Questions about the zoned page frame allocator and fix mapped addresses

2015-03-30 Thread Sunny Shah
Hello, I have few more questions from my reading of Understanding the Linux Kernel, chapter Memory Management. - The book says, about releasing page frames to the per CPU cache - no page frame is ever released to the cold cache: the kernel always assumes the freed page frame is hot

Re: Can add new module without upgrade the kernel?

2015-03-30 Thread Greg KH
On Mon, Mar 30, 2015 at 10:58:12PM +0800, Woody Wu wrote: Unfortunately I failed in 'modprobe'. FFC3 3.1.0-ffc3mb-00050-g5874787 # pwd /lib/modules/3.1.0-ffc3mb-00050-g5874787 FFC3 3.1.0-ffc3mb-00050-g5874787 # modprobe tun modprobe: can't load module tun (net/tun.ko): invalid module format

Re: Can add new module without upgrade the kernel?

2015-03-30 Thread Woody Wu
Unfortunately I failed in 'modprobe'. FFC3 3.1.0-ffc3mb-00050-g5874787 # pwd /lib/modules/3.1.0-ffc3mb-00050-g5874787 FFC3 3.1.0-ffc3mb-00050-g5874787 # modprobe tun modprobe: can't load module tun (net/tun.ko): invalid module format FFC3 3.1.0-ffc3mb-00050-g5874787 # modinfo net/tun.ko

Re: Questions about the zoned page frame allocator and fix mapped addresses

2015-03-30 Thread Valdis . Kletnieks
On Mon, 30 Mar 2015 20:25:38 +0530, Sunny Shah said: - The book says, about releasing page frames to the per CPU cache - no page frame is ever released to the cold cache: the kernel always assumes the freed page frame is hot with respect to the hardware cache. What is the reason

Re: Can add new module without upgrade the kernel?

2015-03-30 Thread Sudip Mukherjee
Can you help to give a clue? Thanks in advance! What is the output of uname -a And also the output of dmesg after modprobe fails. Regards Sudip ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: Can add new module without upgrade the kernel?

2015-03-30 Thread Valdis . Kletnieks
On Mon, 30 Mar 2015 22:58:12 +0800, Woody Wu said: FFC3 3.1.0-ffc3mb-00050-g5874787 # pwd Wow. Git bisect gone incredibly wrong? How did you end up running *that* kernel? pgpBRMNZFGE_x.pgp Description: PGP signature ___ Kernelnewbies mailing list

Re: Can add new module without upgrade the kernel?

2015-03-30 Thread Woody Wu
On 31 March 2015 at 01:18, valdis.kletni...@vt.edu wrote: On Mon, 30 Mar 2015 22:58:12 +0800, Woody Wu said: FFC3 3.1.0-ffc3mb-00050-g5874787 # pwd Wow. Git bisect gone incredibly wrong? How did you end up running *that* kernel? Hi, Guys I found out the problem, it's my fault. My

Re: Can add new module without upgrade the kernel?

2015-03-30 Thread Woody Wu
On 30 March 2015 at 23:17, Greg KH g...@kroah.com wrote: On Mon, Mar 30, 2015 at 10:58:12PM +0800, Woody Wu wrote: Unfortunately I failed in 'modprobe'. FFC3 3.1.0-ffc3mb-00050-g5874787 # pwd /lib/modules/3.1.0-ffc3mb-00050-g5874787 FFC3 3.1.0-ffc3mb-00050-g5874787 # modprobe tun modprobe:

How to auto-load kernel module when peripheral

2015-03-30 Thread Woody Wu
Hi, I want my usb-serial converter can be automatically ready to use after it plugged into an USB port. Currently I have to manually do 'modprobe ftdi_sio' before use it, otherwise, no module will be loaded and there is no a /dev/ttyUSB0 appearing. I am using mdev instead of udev in this

Re: How to auto-load kernel module when peripheral

2015-03-30 Thread Adam Lee
On Tue, Mar 31, 2015 at 12:27:50PM +0800, Woody Wu wrote: Hi, I want my usb-serial converter can be automatically ready to use after it plugged into an USB port. Currently I have to manually do 'modprobe ftdi_sio' before use it, otherwise, no module will be loaded and there is no a