Re: single, comprehensive kernel data types document?

2016-04-21 Thread Josh Cartwright
On Thu, Apr 21, 2016 at 08:51:04AM -0400, Rob Groner wrote: > On Thu, 2016-04-21 at 11:51 +0900, Greg KH wrote: > > On Wed, Apr 20, 2016 at 04:37:07PM -0400, Rob Groner wrote: > > > Sorry if this isn't related, it seemed like it was... > > > > > > I recently discovered one of our drivers isn't wri

Re: Kernel gets deadlocked during smp booting

2015-06-17 Thread Josh Cartwright
On Wed, Jun 17, 2015 at 12:09:10PM +0530, AYAN KUMAR HALDER wrote: > > Could you post the full backtrace (straight from the kernel log)? > The backtrace has been obtained from a debugger, not from the kernel > log (as the kernel has been deadlocked). The backtrace is as follows:- Unfortunately, th

Re: SOC: Zedboard: Driver question

2014-06-13 Thread Josh Cartwright
On Thu, Jun 12, 2014 at 04:39:25PM +0300, amit mehta wrote: > We are working on a school project in which we are trying to develop a > audio mixer on Zedboard (Development board from Digilent). We have > developed the IP and have integrated it with the overall hardware > using Programmable logic. T

Re: "Time police" - best way to submit?

2014-04-18 Thread Josh Cartwright
On Wed, Apr 16, 2014 at 02:27:50PM -0700, Henry Hallam wrote: > Hi, my name is Henry and I'm a kernel newbie. Hello, Henry. > Recently plagued by a perplexing issue where *something* would step > the clock on an important server by exactly 5 minutes at infrequent, > unpredictable intervals, I put

Re: Question about using spinlock to synchronize between kernel driver and an interrupt handler

2014-02-01 Thread Josh Cartwright
On Sat, Feb 01, 2014 at 01:32:49AM -0800, anish singh wrote: > On Sat, Feb 1, 2014 at 1:15 AM, m silverstri > wrote: > > By driver code , I mean the code which set the register values and > > wait till the values is set (via an interrupt handler) before > > continues doing something else > ok so y

Re: down_interruptible() return non-zero value once signal is received and trying down_interruptible again in loop return value is always non-zero

2013-10-20 Thread Josh Cartwright
On Fri, Oct 18, 2013 at 05:56:41PM +0530, Mushtaq Khan wrote: > Hi, > > In kernel driver, using Semaphore to block on resources (Descriptors and > memory). > Semaphore is initialized in locking state using call "init_MTEX_LOCKED()", > when resources are not available process calls down_interruptib

Re: Check live Virtual Address to Physical Address mappings

2013-04-19 Thread Josh Cartwright
On Fri, Apr 19, 2013 at 02:17:58PM +0530, Shraddha Kamat wrote: > I want to see live Virtual Addr. to Physical Addr. mappings for a > process. is it possible to see such mappings ( for e.g. under /proc > etc ..). You may be interested in Documentation/vm/pagemap.txt, which documents the format of

Re: Question about applying a kernel patch with "git am" received from a mailing list

2012-11-20 Thread Josh Cartwright
On Tue, Nov 20, 2012 at 07:53:57PM +0200, Kevin Wilson wrote: > On Tue, Nov 20, 2012 at 7:39 PM, Josh Cartwright wrote: > > On Tue, Nov 20, 2012 at 07:24:28PM +0200, Kevin Wilson wrote: > > > Hi, > > > I am following some kernel mailing lists (netdev and others). >

Re: Question about applying a kernel patch with "git am" received from a mailing list

2012-11-20 Thread Josh Cartwright
On Tue, Nov 20, 2012 at 07:24:28PM +0200, Kevin Wilson wrote: > Hi, > I am following some kernel mailing lists (netdev and others). > I want to be able to save recent patches and to apply the against a git tree. > > I tried using MUTT client for this. I save the patch (which is almost > always inl

Re: DEFINE Macro

2012-01-06 Thread Josh Cartwright
On Thu, Jan 05, 2012 at 07:32:48PM -0800, Fredrick wrote: > Hi, > > I am not able to understand the DEFINE macro used in > arch/powerpc/kernel/asm-offsets.c > > I suppose the DEFINE is present in > include/linux/kbuild.h > where it says > #define DEFINE(sym, val) \ > asm volatile("\n->"

Re: GPIO driver module for Jetway NF98 board

2011-12-29 Thread Josh Cartwright
On Wed, Dec 28, 2011 at 06:03:32PM +0100, Joan Pau Beltran wrote: > Thank you very much for your response. > It brings up a lot of useful information. Great, glad it helped! *snip* > Al 22/12/11 01:15, En/na Josh Cartwright ha escrit: > > On Wed, Dec 21, 2011 at 06:34:58PM

Re: GPIO driver module for Jetway NF98 board

2011-12-21 Thread Josh Cartwright
(resend, sorry for spam) On Wed, Dec 21, 2011 at 06:34:58PM +0100, Joan Pau Beltran wrote: > Hi everyone, > > I did not find any existing driver for the GPIO port of the Jetway > NF98 mini-itx board, so I would like to write a module for that, > using the gpiolib interface. > > Since the board doc

Re: can i simply "re-version" the kernel down to 2.x?

2011-08-05 Thread Josh Cartwright
the returned version. Something like this: --- /dev/null 2011-08-02 20:23:03.358999850 -0500 +++ b/trapuname.c 2011-08-05 22:45:02.0 -0500 @@ -0,0 +1,43 @@ +/* trapuname: tool to fake uname release + * Copyright (C) 2011 Josh Cartwright + * + * This program is free software; you

Re: how does fork() copy threads of a process in multi-processor (SMP)

2011-03-10 Thread Josh Cartwright
On Thu, Mar 10, 2011 at 11:55:35PM +0700, Mulyadi Santosa wrote: > Hi... > > On Thu, Mar 10, 2011 at 22:05, lalit mohan tripathi > wrote: > > I've a general question: In Multiprocessor (Multi-Core) (SMP) > > environment how does fork system call (do_fork() related code) > > maintain the synchr

Re: To schedule a process?

2011-02-27 Thread Josh Cartwright
On Sun, Feb 27, 2011 at 07:16:31AM -0800, kashish bhatia wrote: > Suppose if I wrote a simple c program but I want to execute this program > everyday at a > specific time ( say at 12 p.m) . > > > Is there any command by which I can schedule the execution of any > process(a.out in this case)? Th