Re: How to contribute to latest -rc kernel?

2013-11-28 Thread Arvid Brodin
On 2013-11-28 09:11, Bjørn Mork wrote: > Arvid Brodin writes: > >> I thought the subsystem -next trees was for the next release of Linux? I.e., >> what >> goes into the net-next tree now will find its way into mainline at the next >> release window, for linux-3.14-r

Re: How to contribute to latest -rc kernel?

2013-11-27 Thread Arvid Brodin
On 2013-11-27 02:20, Fan Du wrote: > > > On 2013年11月26日 05:17, Arvid Brodin wrote: >> Hi, >> >> How would I go ahead to send a patch for the latest -rc kernel? >> >> Specifically: >> >> * What tree to diff against? (Linus'?) >&g

How to contribute to latest -rc kernel?

2013-11-26 Thread Arvid Brodin
th iproute. Strictly speaking this isn't a bug fix, but the driver is going to be quite useless without iproute support, and that won't be there until this fix is in the kernel. -- Arvid Brodin | Consultant (Linux) ALTEN | Knarrarnäsgatan 7 | SE-164 40 Kista | Sweden arvid.bro...@alten.

Re: git pull fails on linux-next (out of memory)

2012-04-17 Thread Arvid Brodin
On 2012-03-31 08:50, Srivatsa Bhat wrote: > Hi, > > On Sat, Mar 31, 2012 at 3:40 AM, Arvid Brodin <mailto:arvid.bro...@enea.com>> wrote: > > Arvid Brodin wrote: > > On 2012-03-06, I cloned linux-next: > > > > $ git clone > git:/

Re: git pull fails on linux-next (out of memory)

2012-03-30 Thread Arvid Brodin
Arvid Brodin wrote: > On 2012-03-06, I cloned linux-next: > > $ git clone git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git > linux-next-20120306 > > > I now want to update this repository before posting patches, to make sure > they still apply cleanl

git pull fails on linux-next (out of memory)

2012-03-30 Thread Arvid Brodin
o-date? (I've had the same problem before and used that "solution".) Or is there some other way to do this? Perhaps there is a way to perform the pull a little bit at a time, e.g. pull linux-next-20120313, linux-next-20120320 etc? -- Arvid Brodin Enea Services Stockholm AB - sin

(struct spi_transfer)->rx_buf == (struct spi_transfer)->tx_buf?

2011-08-26 Thread Arvid Brodin
t incoming bytes overwrites queued bytes? -- Arvid Brodin Enea Services Stockholm AB ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Is it possible to relocate a kernel page in physical memory?

2011-08-19 Thread Arvid Brodin
Jeff Haran wrote: >> -Original Message- >> From: kernelnewbies-boun...@kernelnewbies.org [mailto:kernelnewbies- >> boun...@kernelnewbies.org] On Behalf Of Arvid Brodin >> Sent: Friday, August 19, 2011 10:35 AM >> To: kernelnewbies@kernelnewbies.org >> S

Is it possible to relocate a kernel page in physical memory?

2011-08-19 Thread Arvid Brodin
" a kernel page in physical memory? -- Arvid Brodin Enea Services Stockholm AB ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Build scatterlist covering a process' text segment?

2011-06-16 Thread Arvid Brodin
Mulyadi Santosa wrote: > Hi... > > On Sat, May 28, 2011 at 04:58, Arvid Brodin wrote: >> Ok. And looking at e.g. sg_set_buf(), the scatterlist expects a kernel >> virtual >> address (it uses virt_to_page() on its "buf" parameter internally, which >

Re: How to use the cryptographic API (e.g. md5 checksum)?

2011-05-27 Thread Arvid Brodin
Peter Teoh wrote: > On Tue, May 24, 2011 at 6:43 AM, Arvid Brodin wrote: >> Hi, >> >> I want to perform an md5 checksum on a process' text segment (I create a file >> /proc//text_checksum that, when read, should give the md5sum). >> >> The crypto

Re: Build scatterlist covering a process' text segment?

2011-05-27 Thread Arvid Brodin
Mulyadi Santosa wrote: > On 26/05/2011, Arvid Brodin wrote: >> Am I correct in that the addresses in (struct task_struct).mm->start_code >> and >> ->end_code belong to the address space of the process whose task_struct I'm >> looking >> at? > &g

Re: Build scatterlist covering a process' text segment?

2011-05-25 Thread Arvid Brodin
Arvid Brodin wrote: > Hi, > > How do I build a scatterlist covering the text segment of a process? I have > found (struct task_struct).mm->start_code and ->end_code, that gives the > address > (in some - unknown to me - address space) of the text segment. Since m

Build scatterlist covering a process' text segment?

2011-05-23 Thread Arvid Brodin
sglist: sg_init_one(&sg, task->mm->start_code, ); failed miserably, I'm guessing these addresses need to be converted to some address space compatible with sg_init_one()/sg_set_buf() before use? (I probably need to search for pages containing these addresses?) Thanks, Arvid Brodin Enea

How to use the cryptographic API (e.g. md5 checksum)?

2011-05-23 Thread Arvid Brodin
d in include/linux/crypto.h as some kind of wrapper functions, but lack documentation. Also, Google has not been my friend here. Thanks, Arvid Brodin Enea Services Stockholm AB ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://list

Re: Debug kernel panic with gdb?

2011-03-25 Thread Arvid Brodin
Arvid Brodin wrote: > Hi, > > I'm trying to debug a kernel panic (something like this): > > Unable to handle kernel NULL pointer dereference at virtual address 0014 > ptbr = 93959000 pgd = 93a0a000 > Oops: Kernel access of bad area, sig: 11 [#1] > FRAME_POI

Debug kernel panic with gdb?

2011-03-24 Thread Arvid Brodin
ne void spin_lock_bh(spinlock_t *lock) 289 { The problem is that the line reported is totally wrong (this being very unhelpful and confusing indeed - it tool me awhile to realise this!). I've also tried to use gdb from the avr32 toolchain with the same result. Is there a way to get thi

Re: inconsistent lock state on call to kmem_cache_zalloc()

2011-03-17 Thread Arvid Brodin
Daniel Baluta wrote: > On Thu, Mar 17, 2011 at 10:59 PM, Arvid Brodin wrote: >> Hi, >> >> Daniel Baluta wrote: >>> Hello, >>> >>>> The call to kmem_cache_zalloc() never returns; the printk() text on the >>>> line >>>>

Re: inconsistent lock state on call to kmem_cache_zalloc()

2011-03-17 Thread Arvid Brodin
c? I'm using the flags passed to the urb_enqueue() function; a printk reveals the value is 16, which would be GFP_NOIO if I read include/linux/gfp.h correctly. > thanks, > Daniel. Thanks, Arvid Brodin Enea Services Stockholm AB ___

inconsistent lock state on call to kmem_cache_zalloc()

2011-03-17 Thread Arvid Brodin
rt_init+0x218/0x528 [<9016e672>] hub_thread+0x5aa/0xa38 [<900358c6>] kthread+0x58/0x62 [<90027c4a>] do_exit+0x0/0x43e which seems very weird to me, since it looks like isp1760_irq() gets called even though I thought I had disabled interrupts with spin_lock_irqsave() in isp1760_urb

Re: Another ISP1761 / FTDI / serial problem

2011-02-08 Thread Arvid Brodin
Sorry, this was intended for the linux-usb list. -- Arvid Arvid Brodin wrote: > Hi! > > I get weird problems when I use a null modem cable between the two ports > on a FT232BM (2-port FTDI USB-to-serial converter) with an isp1761 host > controller. The same thing does not happ

Another ISP1761 / FTDI / serial problem

2011-02-08 Thread Arvid Brodin
renb -parodd cs8 hupcl -cstopb cread clocal -crtscts -ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany -imaxbel -iutf8 opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0 isig icanon iexten echo echoe echok -echonl -noflsh -xcase

"inconsistent lock state"

2011-01-27 Thread Arvid Brodin
ave(...); ... spin_unlock() ... spin_lock() ... spin_unlock_irqrestore(...); } in both non-irq and softirq contexts. Could this be a problem? If I understand correctly, spin_lock() and spin_unlock() does not touch irq settings, so the usage abov

How to create "dev" files in sysfs?

2011-01-19 Thread Arvid Brodin
folder, and not under /sys/class/. Perhaps this is more correct? The source for 8250 is ~223K in 14 different files so I have not been able to decode how they do this. (Please CC me directly if you respond!) Thanks for reading all this, Arvid Brodin Enea Services Stockholm AB ___