Re: A query regarding sysrq-trigger

2010-01-16 Thread microbit
Hi, On Fri, 15 Jan 2010 16:02:02 -0800, Nagaprabhanjan Bellari wrote: > Hi, > > We had a problem where we were trying to debug why events/0 was taking 98% > of CPU time. I found that writing a ‘t’ to /proc/sysrq-trigger will > dump the > stack traces of all processes. Unfortunately, events/0 was

Is now : how to send HID kbd to tty1

2010-01-14 Thread microbit
On Tue, 2010-01-12 at 21:02 +1100, Microbit_Ubuntu wrote: As follow up, On Tue, 2010-01-12 at 17:53 +1100, Microbit_Ubuntu wrote: Hi all, I've recently started using USB keyboard on my embedded SAM9-L9260 board. Part reason is that I can send certain "hard" codes that are less practical to send v

Fwd: Mail delivery failed: returning message to sender

2010-01-14 Thread microbit
...@development> Content-Type: text/plain; charset="UTF-8" Organization: Microbit Date: Wed, 13 Jan 2010 16:11:23 +1100 Message-ID: <1263359483.1940.8.ca...@development> Mime-Version: 1.0 X-Mailer: Evolution 2.28.1 Content-Transfer-Encoding: 7bit Received-SPF: On Tue, 2010-01-

Re: 32 bit processors / 64 bit processors

2009-11-07 Thread microbit
Hi all, I've already covered all of this in an earlier post, but here goes again anyway : On Sat, 07 Nov 2009 15:40:16 +0530, hmthalib wrote: > nidhi mittal hada wrote: >> Can someone come and please clarify -- it finally >> above chain of mail raises more confusion as conflict stays till end. >

Re: 32 bit processors / 64 bit processors

2009-10-23 Thread microbit
Hi, On Thu, 22 Oct 2009 23:58:20 -0700, C wrote: >> Well, IMHO the processor does not decide or even know the size of >> virtual address space. > Ofcourse it does. How else do you think it translates a virtual > address to a physical address? Virtual addresses are simply what the > software 'sees

Re: 32 bit processors / 64 bit processors

2009-10-21 Thread microbit
On Wed, 21 Oct 2009 13:13:03 +0530, askb wrote: > On Wed, 2009-10-21 at 11:09 +0530, Siddu wrote: >> >> >> On Wed, Oct 21, 2009 at 8:32 AM, Rick Brown >> wrote: >> Hi, >> >> Firstly, I'm trying to understand what exactly characterizes a >> procesor or an operati

Re: @listadmin: i got blacklisted

2009-10-15 Thread microbit
Hallo Mensch0815, Does that mean you are human #0815 ? Sounds rather Kafkaesque :-) :-) B rgds Kris On Thu, 15 Oct 2009 09:25:32 -0400, Anand Arumugam wrote: > You message just came thru via the newbies email list... > > On Thu, Oct 15, 2009 at 7:58 AM, Matze wrote: > >> This message is for

Re: C question

2009-10-09 Thread microbit
Hi, On Thu, 8 Oct 2009 11:13:32 +0530, sandeep lahane wrote: > On Thu, Oct 8, 2009 at 8:32 AM, mayur nande wrote: > >> Hi Rick, >> >> Some days ago i had the same question in my mind. While going through >> "The >> Linux Kernel Architecture" book (by Wolfgang Mauerer), i got the answer: >> >> T

Re: kernel boot delay

2009-09-11 Thread microbit
Hi, On Fri, 11 Sep 2009 10:25:55 +0400, Denis Kirjanov wrote: > Hi dear list. > I encountered the following problem: from time to time I see a delay when > booting the kernel (~30s). It doesn't happen regularly. > I would like to ask you for advice as to what may be the reason for such > behavior

Re: Ip address assignment

2009-09-08 Thread microbit
Hi, On Tue, 8 Sep 2009 01:10:48 -0700, "Vivek Subbarao" wrote: > Hi, > > > > The ip address assigned through ifconfig is not persistent. Why is the > behaviour so? Instead of editing files to add persistent addresses why > not make ifconfig add persistent addresses? Is there a drawback to thi

Re: CONFIG_DEBUG_INFO versus not

2009-08-02 Thread microbit
Hi Robert, On Sat, 1 Aug 2009 12:28:48 +0530, Siddu wrote: > On Fri, Jul 31, 2009 at 2:48 AM, Robert P. J. Day > wrote: > >> >> as a followup to my earlier post, here's something i want to >> clarify. there's a difference in how much symbol-based debugging you >> can do based on whether you co

Re: 答复: Ecartis command results: appsub kernelnewbies fuxinr...@skyworth.com 4A71650B:26CF.1:xrearyarjovrf

2009-07-30 Thread microbit
On Thu, 30 Jul 2009 18:07:18 +0800, 付新荣 wrote: > hi,everybody. > I don't know why use the "stmia sp, {r0, lr}" instruction rather than > "stmda sp, {r0, lr}" in the macros "vector_stub" defined in file > "arch/arm/kernel/entry-armv.S". > > becaue the "sp" register is point to the kernel sta

Re: some question about mount usb flash

2009-07-30 Thread microbit
Hi ! On Thu, 30 Jul 2009 15:07:52 +0800, loody wrote: > Hi: > 2009/7/30 loody : >> Dear all: >> I try to mount usb flash on my embedded system. >> But I get the error message as "Invalid argument". >> (I attach the log at the end of letter) >> From the log, it seems scsi driver address the usb fl

Re: How to manually trigger an interrupt

2009-07-28 Thread microbit
On Wed, 29 Jul 2009 04:24:05 +1000, wrote: > On Tue, 28 Jul 2009 22:24:42 +0530, H M Thalib wrote: >> Hi, >> >> Is it possible to trigger any interrupt in Linux without actually it is >> happening. I want to test whether my modules interrupt handler is >> working properly - without the hardwar

Re: How to manually trigger an interrupt

2009-07-28 Thread microbit
On Tue, 28 Jul 2009 22:24:42 +0530, H M Thalib wrote: > Hi, > > Is it possible to trigger any interrupt in Linux without actually it is > happening. I want to test whether my modules interrupt handler is > working properly - without the hardware interrupt occurring. Hi, The only way to have a

Re: Integrating kernel module code into kernel source tree.

2009-07-27 Thread microbit
On Mon, 27 Jul 2009 17:28:21 +0400, Denis Borisevich wrote: > 2009/7/27 Siddu : >> >> >> On Mon, Jul 27, 2009 at 6:22 PM, Denis Borisevich >> wrote: >>> >> Thank you for reply but I think you got me wrong. I don't want to >>> >> submit my driver to mainline kernel. I just want to integrate it wit

Re: How to make USB to work dynamically

2009-06-25 Thread microbit
Hi Arjun, > I am trying to make USB work dynamically on an OMAP board which has a > USB OTG controller. The board has a mini-AB receptacle. Is this the Beagle board you're referring to ? If so, are you happy with it ? I've been considering getting Beagle, because (AFAIK) TI's OMAP is so far the

Re: The biggest continual physical memory we can get during the kernel running?

2009-03-30 Thread microbit
I'm not sure about Linux (and am curious) but in C this is defined by the heap size. The heap normally is located between the end of (i)data and the lowest the stack(s) can/might go (assuming a full descending stack). This is decided at link time and is runtime constant. Also note that - regardles

Re: Ftrace

2009-03-19 Thread microbit
Hi, > TASK_RUNNING does not necessary means that the task is currently running > on a cpu. It means that it is ready to run or running. I haven't used ftrace yet, but from using commercial RTOSs on microcontrollers I had gotten used to the terminology : "RUNNABLE". I think that's a more appropria

Re: Wait for two clock ticks

2009-03-05 Thread microbit
On Thu, 5 Mar 2009 18:37:12 -0600, Asim wrote: > I would like a processor independent solution. I figured out > cpu_frquency/HZ *2 should give me the answer. That will be hard. You could rely on a free running timer, but then you are tied to variations in HW again. (although that would be the mos

Re: About Kernel preemption and kernel mode stack

2009-03-05 Thread microbit
> Anyway in any case how does shell get the 'd' or anything from the > keyboard? > What are the exact steps? I'm a Linux kernel newbie, (although I have heavy embedded MCU coding background) but I can help with the general approach of this scenario. First, it's important to note that any interrupt

Re: Char device driver. Illegal seek.

2009-03-05 Thread microbit
> Then what is nonseekable_open() for? But that's not part of the ANSI file I/O. I gave this as a caveat. I'm not familiar with this nonseekable option (and I can't actually see the benefit of it in a proper file stream). But you did specify use of your own char device driver - I think. Perhaps yo

Re: Char device driver. Illegal seek.

2009-03-05 Thread microbit
I presume that llseek results from a seek() call ? A seek() call implies (to me) the use of higher layer file I/O streams. I don't think there's a way to inhibit the high level library from wanting to call seek(). Also, note that some specific fread()/fwrite() sequences need a flush, or at least a

Re: configuring AirLink101 Wireless PCI network adapter - AWLH3028- RHEL5.3 or 5.0

2009-03-01 Thread microbit
On a first approach these might help : 1. To make sure that you're talking to the adapter type 'ifconfig'. Any wlanX devices already installed or eth0, disable them with : ifconfig down - where is eth0 and so on. Do this until you only have 'lo' left in ifconfig then activate your PCI

Re: Probelm simulating usb-ethernet controller in gadget/ether.c

2009-01-16 Thread microbit
Hi, I can't say 100% for sure your enumeration is broken, but it certainly seems that way. Before you debug too deep into the ECM or ACM side of your CDC, try using USB Snoopy or some such on the enum process. 1. How can I ascertain that the enumeration has happened properly? The dmesg log of th