busybox utility

2011-11-22 Thread naveen yadav
Dear all, I am checking busybox utility, Is there any other package available similar to busybox which  we can use in embedded system . Thanks ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: busybox utility

2011-11-22 Thread Thomas Petazzoni
Le Tue, 22 Nov 2011 14:05:14 +0530, naveen yadav yad.nav...@gmail.com a écrit : I am checking busybox utility, Is there any other package available similar to busybox which  we can use in embedded system . This question is not kernel-related, so it shouldn't be posted on linux-kernel@ or

Re: LPC bus access howto

2011-11-22 Thread Andre Haupt
On Mon, Nov 21, 2011 at 05:53:30PM +0100, Guillaume Knispel wrote: On Mon, 21 Nov 2011 17:01:29 +0100 Andre Haupt an...@bitwigglers.org wrote: Hi all, We have a FPGA which will be connected to the LPC bus. This FPGA will provide some GPIO functionality, a rotary encoder, etc. Now

Re: how set_user_nice() function is called

2011-11-22 Thread Enes Albay - انس الباى
Thanks for reply. I also asked that set_user_nice where and when is called(file and line). I think it is not called after each forking operation, isn't it? Could you give calling order between functions from do_fork() like that func1()-func2()-... Regards. On Mon, Nov 21, 2011 at 3:59 AM,

x86 kernel build chain - how bzImage gets created

2011-11-22 Thread Graeme Russ
Hi All, Hopefully this will help demystify the build process Notation: primary input file (file size in bytes) | + additional input file | * command | \- output file (file size in bytes) The file sizes are arbitrary and are based on the current configuration options I have set for a

Re: x86 kernel build chain - how bzImage gets created

2011-11-22 Thread Daniel Baluta
On Tue, Nov 22, 2011 at 12:46 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi All, Hopefully this will help demystify the build process Notation: primary input file (file size in bytes)  |  + additional input file  |  * command  |  \- output file (file size in bytes) The file sizes

Re: x86: Executing a raw vmlinux image (embedded environment)

2011-11-22 Thread Graeme Russ
Thanks syed, Ok, I did a little more digging... On 22/11/11 16:34, sk.syed2 wrote: /vmlinux2,629,659 bytes /vmlinux.o 2,889,050 bytes /arch/i386/boot/bzImage 1,104,864

Re: x86 kernel build chain - how bzImage gets created

2011-11-22 Thread Graeme Russ
Hi Daniel On 22/11/11 21:59, Daniel Baluta wrote: On Tue, Nov 22, 2011 at 12:46 PM, Graeme Russ graeme.r...@gmail.com wrote: Hi All, Hopefully this will help demystify the build process Notation: primary input file (file size in bytes) | + additional input file | * command | \-

RE: a few questions regarding acpi and kernel configuration

2011-11-22 Thread Pritam Bankar
Hi, To cut down drivers you should configure your .config file in your source. You will have to recompile kernel. For pata you have , CONFIG_PATA_AMD=y CONFIG_PATA_OLDPIIX=y CONFIG_PATA_SCH=y This can be set to n instead of y to remover support of pata. This can be done to other modules also.

Re: Path for STOLEN Packets!!!

2011-11-22 Thread shivanth
On 11/22/2011 1:26 PM, Kesava Srinivas wrote: Hi , Even after lot of google; didn't get the accurate answer for this. After STEALING Packets (NF_STOLEN); want to send the Manipulated Packet (added extra header) to some of the available net devices. Please let me know what is the Function that

Re:

2011-11-22 Thread Jimmy Pan
Sorry for the spam here, my email account was stolen. On Mon, Nov 21, 2011 at 11:22 PM, Jimmy Pan dsp...@gmail.com wrote: ..Do you want to feel something new? Do you want to feel new unforgettable sensations? This is for you! http://un-ocean.fr/p.g.php?wellink_friend_id=14ox0

Re: x86 kernel build chain - how bzImage gets created

2011-11-22 Thread Mulyadi Santosa
On Tue, Nov 22, 2011 at 17:46, Graeme Russ graeme.r...@gmail.com wrote: Hi All, Hopefully this will help demystify the build process Hi! Wow great man! I deeply suggest to write that into kernelnewbies wiki too Once again, great job! -- regards, Mulyadi Santosa Freelance Linux

Serial console temporarily garbled

2011-11-22 Thread Neil Baylis
I'm working on an embedded system running a 2.6.32 kernel originally derived from RHEL6. The hardware architecture is similar to a PC. The device is a specialized server. It uses an 8250 compatible serial port for the console. When it's booting up, everything looks fine until it initializes the

Re: Serial console temporarily garbled

2011-11-22 Thread Dave Hylands
Hi Neil, On Tue, Nov 22, 2011 at 10:20 AM, Neil Baylis neil.bay...@gmail.com wrote: I'm working on an embedded system running a 2.6.32 kernel originally derived from RHEL6. The hardware architecture is similar to a PC. The device is a specialized server. It uses an 8250 compatible serial

Re: Serial console temporarily garbled

2011-11-22 Thread Neil Baylis
My apologies for the confusion, I meant ttyS0. I mistyped when composing the email. Neil On Tue, Nov 22, 2011 at 10:43 AM, Dave Hylands dhyla...@gmail.com wrote: Hi Neil, On Tue, Nov 22, 2011 at 10:20 AM, Neil Baylis neil.bay...@gmail.com wrote: I'm working on an embedded system running a

GPL-only symbol Error

2011-11-22 Thread Sengottuvelan S
Hi All, Basically, I am developing a kernel module named xyz.ko and my MODULE_LICENSE is Proprietary. I have got an error GPL-incompatible module xyz.ko uses GPL-only symbols. I am having trouble identifying it. How to avoid this error in during MODPOST?. Is there any way to avoid this error?

RE: GPL-only symbol Error

2011-11-22 Thread Jeff Haran
From: kernelnewbies-boun...@kernelnewbies.org [mailto:kernelnewbies-boun...@kernelnewbies.org] On Behalf Of Sengottuvelan S Sent: Tuesday, November 22, 2011 1:49 PM To: Kernel Newbies Subject: GPL-only symbol Error Hi All, Basically, I am developing a kernel module named xyz.ko and

Re: GPL-only symbol Error

2011-11-22 Thread Sengottuvelan S
Hi Jeff, I have few symbols with this error especially - sock_recv_timestamp(). Is there way to refer this or similar API in my module with MODULE_LICENSE is Proprietary. How do I know equavalent non-EXPORT_SYMBOL_GPL APIs to achieve similar functionality. Regards Sengottuvelan.S On Tue, Nov 22,

RE: GPL-only symbol Error

2011-11-22 Thread Jeff Haran
From: Sengottuvelan S [mailto:sengottuvela...@gmail.com] Sent: Tuesday, November 22, 2011 2:09 PM To: Jeff Haran Cc: Kernel Newbies Subject: Re: GPL-only symbol Error Hi Jeff,   I have few symbols with this error especially - sock_recv_timestamp(). Is there way to refer this or similar API in

Re: GPL-only symbol Error

2011-11-22 Thread Greg KH
On Tue, Nov 22, 2011 at 02:08:59PM -0800, Sengottuvelan S wrote: Hi Jeff,   I have few symbols with this error especially - sock_recv_timestamp(). Is there way to refer this or similar API in my module with MODULE_LICENSE is Proprietary. How do I know equavalent non-EXPORT_SYMBOL_GPL  APIs

Re: GPL-only symbol Error

2011-11-22 Thread Greg KH
On Tue, Nov 22, 2011 at 02:35:24PM -0800, Jeff Haran wrote: I've seen others when faced with this who build their own kernels from sources just modify the problematic EXPORT_SYMBOL_GPL()s to EXPORT_SYMBOL()s. I don't know if that is legal. I wouldn't do it personally. Consult a lawyer before

RE: GPL-only symbol Error

2011-11-22 Thread Jeff Haran
-Original Message- From: Greg KH [mailto:g...@kroah.com] Sent: Tuesday, November 22, 2011 2:44 PM To: Jeff Haran; Sengottuvelan S; Kernel Newbies Subject: Re: GPL-only symbol Error On Tue, Nov 22, 2011 at 02:35:24PM -0800, Jeff Haran wrote: I've seen others when faced with this

Re: GPL-only symbol Error

2011-11-22 Thread Greg KH
On Tue, Nov 22, 2011 at 04:34:21PM -0800, Jeff Haran wrote: Just curious, can you provide links to these cases? No kernel cases ever became public, but the SAMBA team have lots of public cases where they have successfully handled this type of case. I've read the COPYING file at the top of the

Re: GPL-only symbol Error

2011-11-22 Thread Graeme Russ
Hi Jeff, On Wed, Nov 23, 2011 at 11:34 AM, Jeff Haran jha...@bytemobile.com wrote: -Original Message- From: Greg KH [mailto:g...@kroah.com] Sent: Tuesday, November 22, 2011 2:44 PM To: Jeff Haran; Sengottuvelan S; Kernel Newbies Subject: Re: GPL-only symbol Error On Tue, Nov 22,

Re: GPL-only symbol Error

2011-11-22 Thread Guillaume Knispel
On Tue, 22 Nov 2011 17:21:46 -0800 Jeff Haran jha...@bytemobile.com wrote: -Original Message- From: Graeme Russ [mailto:graeme.r...@gmail.com] Sent: Tuesday, November 22, 2011 5:10 PM To: Jeff Haran Cc: Greg KH; Sengottuvelan S; Kernel Newbies Subject: Re: GPL-only symbol

Re: GPL-only symbol Error

2011-11-22 Thread Greg Freemyer
On Tue, Nov 22, 2011 at 8:21 PM, Jeff Haran jha...@bytemobile.com wrote: Graeme, Perhaps, but that's not what I asked about. It seems to me the essence of GPL is that it grants people the right to modify GPL sources like the Linux kernel in any way they want so long as they make those

RE: GPL-only symbol Error

2011-11-22 Thread Jeff Haran
-Original Message- From: Guillaume Knispel [mailto:gknis...@proformatique.com] Sent: Tuesday, November 22, 2011 5:40 PM To: Jeff Haran Cc: Graeme Russ; Greg KH; Sengottuvelan S; Kernel Newbies Subject: Re: GPL-only symbol Error On Tue, 22 Nov 2011 17:21:46 -0800 Jeff Haran

RE: GPL-only symbol Error

2011-11-22 Thread Jeff Haran
-Original Message- From: Greg Freemyer [mailto:greg.freem...@gmail.com] Sent: Tuesday, November 22, 2011 5:57 PM To: Jeff Haran Cc: Graeme Russ; Greg KH; Sengottuvelan S; Kernel Newbies Subject: Re: GPL-only symbol Error On Tue, Nov 22, 2011 at 8:21 PM, Jeff Haran

Re: GPL-only symbol Error

2011-11-22 Thread Greg KH
On Tue, Nov 22, 2011 at 05:21:46PM -0800, Jeff Haran wrote: Perhaps, but that's not what I asked about. It seems to me the essence of GPL is that it grants people the right to modify GPL sources like the Linux kernel in any way they want so long as they make those changes available to whoever

Re: GPL-only symbol Error

2011-11-22 Thread Greg KH
On Tue, Nov 22, 2011 at 06:10:27PM -0800, Jeff Haran wrote: But it doesn't do anybody any good to spread misinformation about this topic, particularly with regard to what is and isn't legal. I agree, please don't continue it, but rather, consult a lawyer if you have further questions. greg k-h

Re: busybox utility

2011-11-22 Thread naveen yadav
Dear Friends thanks for reply, I post on Kernel newbies since i could not found any good place to post. We do not want to use busybox due to its licence and security issue. So is there any alternate to busybox .. Thanks On Wed, Nov 23, 2011 at 12:22 AM, Thomas Petazzoni

Re: busybox utility

2011-11-22 Thread Mandeep Sandhu
I post on Kernel newbies since i could not found any good place to post. We do not want to use busybox due to its licence and security issue. What security issue are you concerned about? Can you explain your concern a little more. Also, if you have some busybox specific question, ppl on the

plz help with the serial port pgm....

2011-11-22 Thread shibin k reeny
rs232 read pgm is not working when i connect in loopback but write is wroking plz help... pgm #include stdio.h #include stdlib.h #include string.h #include unistd.h #include fcntl.h #include termios.h #define _POSIX_SOURCE 1 #define BAUDRATEB9600 #define MODEMDEVICE/dev/ttyS1

Re: plz help with the serial port pgm....

2011-11-22 Thread Dave Hylands
Hi shibin On Tue, Nov 22, 2011 at 9:48 PM, shibin k reeny shibinkre...@gmail.com wrote: rs232 read pgm is not working when i connect in loopback but write is wroking plz help... Rather than trying to debug your program, I'll point you at this document: