Is there a way to track signals, specially SIGKILL. I would like to
know if some process dies because reach some resource limit, because
an OMM error or something likewise..
Cheers
--
"Do or do not. There is no try"
Yoda Master
___
Kernelnewbies mai
A new topic to the list :)
- Write netlink api for access with iproute2
Cheers,
2015-05-18 17:21 GMT-03:00 Daniel. :
> Hi all!
>
> I have a driver for nordic nRF24L01+ module:
> http://www.nordicsemi.com/eng/Products/2.4GHz-RF/nRF24L01P
>
> I'm looking for a requirements
Hi all!
I have a driver for nordic nRF24L01+ module:
http://www.nordicsemi.com/eng/Products/2.4GHz-RF/nRF24L01P
I'm looking for a requirements list of what I need to do. For now I have
this topics
- Write driver using kernel NAPI (I already have a driver working with cdev
API)
- Write new protoc
Hi for all,
I have an application running on top of an sd card formated with vfat. This
application is Java and uses ActiveMQ on same vfat sdcard filesystem, the
ActiveMQ generates a huge I/O on sdcard.
I know that SDCards sectors have an specific writing limits. I want to know
if Linux's mmc dri
Hi all,
I'm trying to migrate a driver from board files to device tree. I've
added the gpios to device tree. My device is loaded automatically,
this is nice, but I'm facing problems while getting gpio from device
tree using of_get_property().
Here is the device tree node:
powerfailure {
Hi Victor, the of_get_named_gpio works fine. Thank you so much!
I'll take a look at gpio-poweroff, this should cut my code by half :)
Best regards,
- dhs
2015-08-21 4:10 GMT-03:00 :
> On 15-08-21 12:29:49, victorascr...@gmail.com wrote:
>> On 15-08-20 17:53:27, Daniel. wrot
Hi all,
I'm dealing with a SPI driver and I have a doubt. I need to read and write
data to spi (registers and values) inside interrupt handler. I want to know
if this pattern is safe or if I'll face problems with it.
This code is being added to gpio-mcp23s08.c driver to handle IRQ and save
INTCAP
singh :
>
>
> On Tue, Sep 8, 2015 at 10:19 AM, Daniel. wrote:
>>
>> Hi all,
>>
>> I'm dealing with a SPI driver and I have a doubt. I need to read and write
>> data to spi (registers and values) inside interrupt handler. I want to know
>> if this patte
roller) code/clock/rates etc.
Cheers,
- dhs
2015-09-08 18:23 GMT-03:00 Daniel. :
> Even spi_async sleeps? I thought that spi_async wouldn't sleep :/
>
> I have a board with an MCP23S17 gpio expander that is used as an
> digital input. I need to notify my application every time that an
I also found that we having problems with MCP supply, so this is it! Thanks
anish for your reply!
Cheers,
- dhs
2015-09-09 15:30 GMT-03:00 Daniel. :
> I've checked the iomux configuration, there was some pins miss
> configured. Anyway I'm still losing IRQs. But now I have s
Hi all, I have a doubt about using pointers inside structs that are
passed (as pointers) to ioctl argument. Since pointers passed from
userspace can't be trusted, I need to copy they to kernel before
accessing they. In this case I have a pointer inside a struct that is
passed to the ioctl call also
So a
> #define would be signed, but if you change the type of int tx_siz, be
> careful. Also, likely you don't want negative buffer sizes. size_t or
> uint16_t should suit your purposes.
>
> On Mon, Sep 28, 2015 at 12:51 PM, Daniel. wrote:
>
>> Hi all, I have a doubt abo
ic. I may use this
non copying aproach to exchange lot of frames without copying. This would
improve driver's performance. :)
Best regards!
-dhs
Em 28/09/2015 17:08, "Yann Droneaud" escreveu:
> Hi,
>
> Le lundi 28 septembre 2015 à 13:51 -0300, Daniel. a écrit :
> >
Hi all,
I'm trying to install headers from out-of-tree module. I've writed
this[1] Makefile. I have Kbuild files with header-y tokens poiting for
propper folders and files. When I run "make headers_install" I got
this[2] error message,
[1] http://pastebin.com/9f3kYT8k
[2] http://pastebin.com/yfi
le?
2015-10-07 10:46 GMT-03:00 Daniel. :
> Hi all,
>
> I'm trying to install headers from out-of-tree module. I've writed
> this[1] Makefile. I have Kbuild files with header-y tokens poiting for
> propper folders and files. When I run "make headers_install" I got
hilst/nrf24/src/1b63724a4bcf181568a0970133d1e51a5883ad9f/include/linux/nrf24.h?at=master&fileviewer=file-view-default
Best regards,
2015-10-07 13:09 GMT-03:00 Greg KH :
> On Wed, Oct 07, 2015 at 10:51:25AM -0300, Daniel. wrote:
>> Uhh, as I see from docs, this isn't supported,
>>
>> --- 2.3 Targets
&
Hi everybody!
I'm using an gpio expansion called MCP23s17 from Microchip as a
digital input device. There are 6 input ports at my device. The MCP is
configured to generate an interrupt at input state change (from 0 to
1, or 1 to 0, what ever), the interrupts are disabled on MCP until the
INTCAP re
My boss came to my desk today raiging that I should use more productive
tools for developing. Well I don't want to begin an editor war but, yes, I
use emacs. I used to use vim before but the integration of emacs and gdb
has caught my attention.
To be clear, as "more productive tools" he understand
r big projects. Tried a few LLVM code browsers but none
> was good enough.
> Vim for minor modifications.
>
> Thanks
>
> On Tue, Dec 22, 2015 at 5:27 PM, Daniel. wrote:
>
>> My boss came to my desk today raiging that I should use more productive
>> tools for develop
I rarely use it too, but some times its worth, when you get something that
simply crash, I do a bt to get an starting point :)
Em 22/12/2015 19:43, "Lucas Tanure" escreveu:
> Hi,
>
> No, I don't use gdb inside eclipse. I rarely use gdb.
>
> On Tue, Dec 22, 2
completion..
I'll give vim a second chance :)
Regards
Em 22/12/2015 20:15, "Clemens Gruber"
escreveu:
> Hi Daniel,
>
> > My boss came to my desk today raiging that I should use more productive
> > tools for developing. Well I don't want to begin an editor w
him happy
> and then do the real work using the tried and true command line tools in
> another desktop.
>
>
>
> Good luck,
>
>
>
> Jeff Haran
>
>
>
>
>
>
>
> From: kernelnewbies-boun...@kernelnewbies.org
> [mailto:kernelnewbies-boun...@kernel
Well, no body except Lucas, but I also had never researched for this
like I'm doing right now. I think that the vim is still the more used
editor for C programming on Linux.
Regards
- dhs
2015-12-22 23:18 GMT-02:00 Daniel. :
> Hey Jeff, thanks for the reply, what I realy don't li
startup time. Vim has
everything that a good editor needs, emacs has this a lot of lots of
more, this make it a little fat.
So we have 3 vim users, one emacs and one eclipse so far.
Best Regards,
- dhs
2015-12-23 12:45 GMT-02:00 amit mehta :
> On Wed, Dec 23, 2015 at 3:30 PM, Daniel. wrote:
&g
I had heard about emacs server, but never tried it.. This should fix the
starting time, but not the learning curve :)
Regards,
Em 24/12/2015 09:59, "Andrey Skvortsov"
escreveu:
> On 22 Dec, Daniel. wrote:
> > I was thinking about back to vim, it starts so fast and has everyt
VI EMAC war.
>
> Ruben
>
>
> On Thu, Dec 24, 2015 at 02:59:13PM +0300, Andrey Skvortsov wrote:
> > On 22 Dec, Daniel. wrote:
> > > I was thinking about back to vim, it starts so fast and has everything
> you
> > > need in tree letters, and the completion works out
Is there anybody using cscope inside vim? Is there an alternative
keybinds for the :cs commands?
Regards,
- dhs
2015-12-25 15:14 GMT-02:00 Raymond Jennings :
> On Tue, Dec 22, 2015 at 11:27 AM, Daniel. wrote:
>>
>> My boss came to my desk today raiging that I should use more prod
This is fun: http://vimdoc.sourceforge.net/htmldoc/usr_41.html#script :D
2015-12-28 12:05 GMT-02:00 Fernando Apesteguía :
>
> El 28/12/2015 13:58, "Manuel Pégourié-Gonnard" escribió:
>>
>> Hi,
>>
>> On 28/12/2015 13:28, Daniel. wrote:
>> > Is t
h. While I can get a diff
from file with %!git diff % at vim, I can't jump to modification on
file directly from the patch window. Any ideas on how to achieve this?
Regards,
2015-12-28 17:11 GMT-02:00 Daniel. :
> This is fun: http://vimdoc.sourceforge.net/htmldoc/usr_41.html#script :D
&g
ind (C-M-b), so I'm loking for more alternatives.
Best regards,
2016-01-13 22:37 GMT-02:00 Geyslan G. Bem :
> 2016-01-13 21:23 GMT-03:00 Ismael Luceno :
> > On Thu, Dec 24, 2015 at 11:57:32AM -0200, Daniel. wrote:
> >> I had heard about emacs server, but never tried it.
ded autocompletion to navigate
that mess. Clang parsing seems fast to me, I've tried to avoid it but,
well, it worked fine...
Regards,
2016-01-14 12:26 GMT-02:00 Geyslan G. Bem :
> 2016-01-14 10:06 GMT-03:00 Daniel. :
> > Thanks for the tip, I've past the last month trying vim a
clang is used only for parsing, nothing to do with compilation :)
Here it is :)
2016-01-14 13:35 GMT-02:00 Geyslan G. Bem :
> 2016-01-14 12:23 GMT-03:00 Daniel. :
> > I've tried using semantic mode but it gives me ""# -
> > Arithmetic error"*" all the ti
ops, forget the link:
http://pastebin.com/uQkErV46
Cheers,
2016-01-14 14:28 GMT-02:00 Daniel. :
> clang is used only for parsing, nothing to do with compilation :)
>
> Here it is :)
>
> 2016-01-14 13:35 GMT-02:00 Geyslan G. Bem :
>
>> 2016-01-14 12:23 GMT-03:00 Daniel.
ching for a better keybind. Maybe creating
an sparse keymap and making it active with some avaible keystroke, swithing
window and desabling the keymap when first unknown key is pressed, but I
didn't have time to research on that yet :)
Cheers,
2016-01-14 14:28 GMT-02:00 Daniel. :
> ops, fo
Its autoindentation is a little intrusive, but at the coding style at
kernel.org there is some code that fix that :)
2016-01-14 17:19 GMT-02:00 Geyslan G. Bem :
> 2015-12-22 22:18 GMT-03:00 Daniel. :
> > Hey Jeff, thanks for the reply, what I realy don't like in IDEs is tying
&g
Hi everybody,
I have some code that convert an timeout comming from userspace (in
ms) to jiffies prior passing to wait_event_interrupitible_timeout().
The code looks like this:
unsigned long tout = user.timeout * HZ / 1000; /* convert from ms to jiffie */
int status = wait_event_interruptible_tim
Hi all, I was testing some driver that I have for nRF24L01+.
ATM the driver sends a frame a changes from TX to RX the fastest
possible. The switching from TX to RX is maded at hard IRQ, the
rf_hard_irq() sends one message, two spi_transfers to program the
nRF24L01+ to RX. The messages are sended as
There is Understanding the Linux Kernel, Daniel P. Bovet, Marco Cesati
LKD by Love is a really good book, I love it!
LDD3 can be found at http://www.makelinux.net/ldd3/
I suggest the documentation from the source too:
https://www.kernel.org/doc/Documentation/
Best regards and good reading
Hi everybody,
I'm planing to write a socket API for Nordic's nRF24L01+ and I was
digging on socket code and find all supported protocols at
include/linux/socket.h with all that #define AF_x y. So my questions
are:
1) Is it possible to write a new protocol for linux with an out of
tree module with
realy happens.. I am
wondering if is possible to achieve my goal with and only with out of tree
module. I'm planing to get this merged at main tree anyway, but first I would
like to keep it out ou tree until is ready...
Cheers,
2016-03-26 8:04 GMT-03:00 Rami Rosen :
> Hi Daniel,
>
> Fo
Enviado do meu smartphone BlackBerry 10.
Mensagem original
De: valdis.kletni...@vt.edu
Enviada: sábado, 26 de março de 2016 16:59
Para: Daniel.
Cc: kernelnewbies
Assunto: Re: Adding new protocol to linux.
On Fri, 25 Mar 2016 23:00:48 -0300, "Daniel." said:
> Hi everybody,
>
Hey everybody, I see that sockets, protocols and network device
drivers are pieces of a same puzzle. So after some digging and
thinking I'm considering write the driver in such way that it only
deals with data link layer, no socket bits. It should sit at 2nd OSI
layer and let routing and segmenting
Hi John
stdint.h is part of standard headers (C99?), I think you shouldn't use
standard headers for kernel when
there are such "kernel headers" for same proprose. If the developers
created that specific headers for
kernel, they should have a good reason for it.
I have a pertinent question on this
2016-04-15 10:55 GMT-03:00 Greg KH :
> On Fri, Apr 15, 2016 at 10:09:35AM -0300, Daniel. wrote:
>> I've been using *aways* u8, u16, u32 in kernel code (driver code) and
>> *aways* __u8, __u16, __u32
>> for code that goes to both (usualy ioctl definition headers). What is
This depends on environment proposes. It,s aways a good thing to have a
recovery boot option that can boot a minimum shell to dignoses whats going
wrong but a full instalation for that is even useful?? IMHO is not a good idea,
since you will have to maintain two instalations per hardware.
Yo
What is the preferred way to ident if statement when the condition
spams to multiple lines, ex:
if (cond1 &&
cond2 &&
cond3) {
...
...
}
or
if (cond1 &&
cond2 &&
cond3)
{
...
...
}
or if only one statement inside body
if (cond1 &&
cond2 &&
cond3
The function body you see will be use only when CONFIG_SMP is not
present. Take a look at
https://www.kernel.org/doc/Documentation/CodingStyle
Chapter 20: Conditional Compilation
Regards,
2016-06-21 8:56 GMT-03:00 Andrea Benelli :
> So, it's just an override?
> Why return true and not false?
>
>
Hi, isn't it possible that your hal_frame_read be called again prior
rf_rx_completion_handler is called, and because of this calling
spi_message_init on a spi_message that is in spi queue yet?
2016-07-06 10:25 GMT-03:00 Moti Cohen :
> Hi all,
>
>
>
> I'm trying to write a kernel device driver for
Hi everybody.
I know that there are some GPIO lines that needs sleeping to get
actived/deactived, this is why we have the gpio_cansleep_*()
functions.
So, I'm planing using the Microchip MCP2210 which act as USB->SPI
bridge. The problem is that the SPI slave device has two extra lines,
one for IR
Nice tool @Ricardo!
2016-07-29 10:48 GMT-03:00 Ricardo Ribalda Delgado :
> you can use http://lttng.org/ for analyzing this
>
> Regards!
>
> On Fri, Jul 29, 2016 at 12:44 PM, Pranay Srivastava wrote:
>> On Fri, Jul 29, 2016 at 4:02 PM, Muni Sekhar wrote:
>>> Hi All,
>>>
>>> I have a doubt regard
thing more complex. If not you can enable FTRACE and generate
trace output with delta timestamps on it, event for interrupts :)
Best regards,
2016-08-01 7:32 GMT-03:00 Muni Sekhar :
> On Fri, Jul 29, 2016 at 9:05 PM, Daniel. wrote:
>> Nice tool @Ricardo!
>>
>> 2016-07-
I *guess* that the value is calculated at boot, in real mode (for x86)
when no clock variation takes place. Take a look at the source... :)
http://lxr.free-electrons.com/source/arch/x86/realmode/rm/wakemain.c?v=4.0#L4
It brings me to some io magic which I can't grasp :) good luck!
Regards,
2016
Hi everybody.
I'm trying to get one of my drivers working on top of this[1]. My
driver gets probed but spi->dev.of_node is NULL. Does anybody knows
where spi->dev.of_node gets setted!? Here is a sample [2].
[1] https://github.com/daniel-santos/mcp2210-linux
[2] https://gist.gith
ftrace :)
2016-08-05 4:22 GMT-03:00 Muni Sekhar :
> On Mon, Aug 1, 2016 at 6:34 PM, Daniel. wrote:
>> Did you tried ftrace?
>> https://www.kernel.org/doc/Documentation/trace/ftrace.txt
>>
>> I've been using this to measure some latencies. The problem here is
&
The first process that the *nix starts after booting up is init. The
init process
which has pid 1 live for as long as the host do not reboot. That message
means that something has made init exit prematurely. Check your init.d, systemd
or whatever init system you're using...
Regards,
2016-08-22 9:
I think this is not the best place to ask, you should look for some
network mail list, but, ... this type of message means that the
network layer can't find a route to google's smtp. See if you can ping
that addresses, probally no.. Looking at that timeout message, yes it
seems that you're being tr
I agree with Ruben
We're opensource developers, when we are not happy with something, we
fork it... lol. Still, I'm brazillian and have already found other
brazillians at this list. When I want to talk in portuguese I send a
message directly to they, no problem at all. If you see some good
chinese
Hi everybody,
I'm debugging a library that implement some nasty protocol. This
library is used by some JNI library which exports the native library
to Java world. By the way I'm running on ARMv7.
Well, some times, at random times, that library crashes. The problem
is that I can't get stacktrace.
>
> Regards,
> Rami Rosen
> http://ramirose.wix.com/ramirosen
>
>
> On 9 September 2016 at 21:21, Daniel. wrote:
>> Hi everybody,
>>
>> I'm debugging a library that implement some nasty protocol. This
>> library is used by some JNI library which exports the nativ
e and try ? I used dump_stack() in the past many times and it
>> worked for me. IIRC, kernel hacking->Kernel debugging was selected in
>> my kernekl config, and I did not had to to anything else
>>
>> Regards,
>> Rami Rosen
>> http://ramirose.wix.com/ra
Yeap it is. The protocol takes 4 threads the other are user's threads.
Still, when getting some core dump and fatal error log I was expecting
to get backtrace from the thread responsible for the segmentation
fault? Am I wrong?
Thanks for the help and best regards!!!
2016-09-09 18:42 GMT-03:00 Joh
You may want to look at http://www.signal11.us/oss/hidapi/ too, it has
nice interface to HID device and supports libusb and hidraw backends
(y)
Regards,
2016-09-10 12:14 GMT-03:00 Greg KH :
> On Sat, Sep 10, 2016 at 04:41:34PM +0200, Pol Eyschen wrote:
>> Hi everyone,
>>
>> I want to implement so
Ohhh, I see, Thansk Johannes, now everything make sense. If this was a
post I would mark it as SOLVED :)
Best regards,
2016-09-11 14:39 GMT-03:00 Johannes Thoma :
> Hi,
>
> Am 10.09.16 um 05:18 schrieb Daniel.:
>>
>> Yeap it is. The protocol takes 4 threads the other are use
Hi everybody,
I was looking at network chapter of LDD3. The .ndo_start_xmit member
of struct net_device_ops should return netdev_tx_t which are:
enum netdev_tx {
__NETDEV_TX_MIN = INT_MIN, /* make sure enum is signed */
NETDEV_TX_OK = 0x00,/* driver took care of pa
I have a driver for nRF24L01+ (not L0) I'm planing to submit it to
main line but before that I was trying to make it a network device. My
dificult was to make it fit in the ethernet world since it does not
have anything in common to a network card. This one can be found here:
https://bitbucket.org/
F devices you’re working with, but it is a case
> where a network interface was created for devices that are very different
> than Ethernet.
>
> Shaun
>
> On 9/21/16, 8:43 AM, "kernelnewbies-boun...@kernelnewbies.org on behalf of
> Daniel." danielhi...@gmail.com>
I was trying to make it out-of-tree, but seems not possible or not
easy spottable for me :)
2016-09-21 10:05 GMT-03:00 Daniel. :
> I look into it,
>
> Still I need to patch if_ether.h and add some ETH_P_*
>
> 2016-09-21 9:57 GMT-03:00 Hayward, Shaun :
>> It might be worth
s/iMX6/iMX7/
2016-09-22 10:04 GMT-03:00 Daniel. :
> I know about i.MX6 which has Cortex-A7 + Cortex-M4... but I don't
> think that M4 is handled by Linux but by some RTOS
>
> 2016-09-22 9:17 GMT-03:00 Greg KH :
>> On Thu, Sep 22, 2016 at 04:46:12PM +0530, Madhu K wrote:
&
I know about i.MX6 which has Cortex-A7 + Cortex-M4... but I don't
think that M4 is handled by Linux but by some RTOS
2016-09-22 9:17 GMT-03:00 Greg KH :
> On Thu, Sep 22, 2016 at 04:46:12PM +0530, Madhu K wrote:
>> Hi All,
>>
>> If i want to enable SMP, cores should be of same version( ex: both
>>
Because the libc is calling it again based on what has been passed as
argument and what was received as return value. Here is one example
https://gist.github.com/gkos/5479135. I don't really know if this code is
working since I made it a long time ago.
Regards,
2016-10-04 12:05 GMT-03:00 Greg KH
CAN drivers can be found here;
http://lxr.free-electrons.com/source/drivers/net/can/
The device driver interface is at dev.c
AFAIK the only other files referencing to can outside of drivers/ folder is
http://lxr.free-electrons.com/source/include/uapi/linux/if_ether.h#L120
You may want to look at
If you're dealing with network drivers you will want to know about socket
buffs: http://www.linuxjournal.com/article/1312
LDD3 has a chapter for network drivers too:
http://www.makelinux.net/ldd3/chp-17
Regards :)
2016-10-17 10:22 GMT-02:00 Daniel. :
> CAN drivers can be found he
Why not use networking?
2016-10-19 8:53 GMT-02:00 Kenneth Adam Miller :
> So, we can use qemu within our development system here, but the
> problem is we have something that is a bit specialized in that the
> machines talk to one another over a special interface. It's a bit like
> named pipes, and
Did you see this? http://fedoraproject.org/wiki/Features/VirtioSerial
Regards,
2016-10-19 14:24 GMT-02:00 Kenneth Adam Miller :
> That doesn't work for our use case. We have special hardware for our use
> case.
>
>
> On Oct 19, 2016 12:21 PM, "Daniel." wrote
Hi everybody,
I've been studying linux for some time now. I still see my self as an
begginer, but that's not a bad thing. I struggling to decide what
subsystem to focus right know. I have three options and would like to
know what people think about, since listening (or reading) other
people aways
10:33:47 -0200, "Daniel." said:
>> I've been studying linux for some time now. I still see my self as an
>> begginer, but that's not a bad thing. I struggling to decide what
>> subsystem to focus right know.
>
> I've said it before, and I'll say it
Seems a bug to me, you should post it to linux-omap :)
Regards,
2016-10-27 6:14 GMT-02:00 Cor Peters :
> Hello everybody
>
> I was looking into an issue with the omap-wdt.c. The watchdog driver not is
> reporting a different boot status when a reset is being triggered by the
> watchdog.
>
> >Fro
2016-11-02 9:27 GMT-02:00 Quentin Lambert :
> Hi,
> On 11/02/2016 12:05 PM, Daniel Bokser wrote:
> > Now I am thrown into the recovery shell with an 'Unable to find root
> device /dev/sdc2' (my SSD).
> > The real strange thing is that the (PS/2) keyboard does
2016-11-10 2:48 GMT-02:00 Daniel Bokser :
>
>> On Nov 8, 2016, at 5:50 AM, Andrey Skvortsov
>> wrote:
>>
>> On 16-11-07 23:26, Daniel Bokser wrote:
>>>
>>>> On Nov 3, 2016, at 11:22 AM, Matias Mucciolo
>>>> wrote:
>>>>
Is blacklisting it an option??
Regards,
2016-12-03 15:18 GMT-02:00 Ran Shalit :
>
>
> On Sat, Dec 3, 2016 at 3:15 PM, Greg KH wrote:
>>
>> On Sat, Dec 03, 2016 at 02:43:30PM +0200, Ran Shalit wrote:
>> > Hello,
>> >
>> > Is there some way to disable input event device ?
>> > Maybe a way to disab
Is xinput avaible? I know that it can be use to disable input devices,
but IFAIK android use custom GUI, that is not X...
2016-12-03 16:04 GMT-02:00 Ran Shalit :
>
>
> On Sat, Dec 3, 2016 at 7:59 PM, Ran Shalit wrote:
>>
>>
>>
>> On Sat, Dec 3, 2016 at 7:
it can be used*
2016-12-03 16:58 GMT-02:00 Daniel. :
> Is xinput avaible? I know that it can be use to disable input devices,
> but IFAIK android use custom GUI, that is not X...
>
>
> 2016-12-03 16:04 GMT-02:00 Ran Shalit :
>>
>>
>> On Sat, Dec 3, 2
Some guys are likely to prefer complex tools, but I'm a simple guy. My
first try at debugging is printing. Using pr_debug is not always
possible so ftrace and early printk may be useful. Another tool that
comes with kernel and that is amazing is perf. You may find undercover
bottlenecks with this o
Or maybe using [status = "disabled"] at the device tree. Do you
control the compilation of these device-trees, kernel, drivers and
apps?
2016-12-15 10:20 GMT-02:00 Clemens Gruber :
> On Thu, Dec 15, 2016 at 03:49:01AM -0800, Greg KH wrote:
>> On Thu, Dec 15, 2016 at 04:56:18AM -0500, Robert P. J.
bert P. J. Day :
> On Thu, 15 Dec 2016, Daniel. wrote:
>
>> Or maybe using [status = "disabled"] at the device tree. Do you
>> control the compilation of these device-trees, kernel, drivers and
>> apps?
>
> this sounds like the simplest approach -- u-boot c
There is: https://www.kernel.org/doc/Documentation/trace/ftrace.txt
2016-12-15 0:04 GMT-02:00 Aruna Hewapathirane :
>> How to know at what sequence , what function are being called when
>> kernel starts ? Any way to trace what function calling what ... so on
>> .?
>
> Google is your friend:
>
ctags + cscope + vim
The Makefile has targets for indexing the kernel.. Sometimes "find -exec
grep" helps... I will take a look in opengrok
Em 13/04/2017 7:40 AM, "manty kuma" escreveu:
> Here you can see where sk_buff structure is delared.
> http://androidxref.com/kernel_3.18/xref/include/linu
Hi,
top command show si (sw irq) and hi (hw irq). The linux has
request_threaded_irq(irq, handler, thread_fn, ...) ...
Is `si' the time spend on thread_fn and `hi' the time spend on handler
Regards,
--
“If you're going to try, go all the way. Otherwise, don't even start. ..."
Charles Buk
I think docker or lxc may help you. You run the process(es) in a container
and attach a tap interface to the container, the process inside the
container can only see the attached interface.
Regards,
2017-04-18 4:28 GMT-03:00 Lev Olshvang :
> Hi all,
>
> I would like to constrain process (by name
Go through LDD3: https://lwn.net/Kernel/LDD3/ :)
2017-08-23 6:34 GMT-03:00 Ruben Safir :
> On 08/22/2017 07:26 PM, Greg Freemyer wrote:
> > just send an email to the right address and all the
> > participants in the thread will do a reply-all so you can see the
> > responses without subscribing.?
There is a repo at github with all the samples don't?
On Oct 24, 2017 9:06 AM, "Ozgur" wrote:
> Hello Ryan,
>
> 24.10.2017, 13:58, "Liam Ryan" :
> > I'm currently working through the Linux Device Drivers 3rd edition
> > (https://lwn.net/Kernel/LDD3/) and much of the code is outdated.
> >
> > Rig
Here it is https://github.com/martinezjavier/ldd3
Regards
On Oct 24, 2017 9:58 AM, "Ozgur" wrote:
> Hello Daniel,
>
> 24.10.2017, 14:50, "Daniel." :
>
> There is a repo at github with all the samples don't?
>
>
>
> I think that no, I not see
You're welcome!
On Oct 24, 2017 10:38 AM, "Ozgur" wrote:
>
> Hello,
>
> 24.10.2017, 15:31, "Daniel." :
>
> Here it is https://github.com/martinezjavier/ldd3
>
> Regards
>
>
> oh, it's very good, nice.
> Thank you
>
>
In this scenario I would isolate stuff until find at last the domain of the
problem. You say that it happens after some hours, can it be because of
temperature?, What is the workload?
2017-12-01 12:05 GMT-02:00 Victor Ascroft :
> Hello,
>
> I have a iMX6 running a 4.9 kernel with a custom kernel
I'm just curious. What problems in kernel involves parsing?
On Feb 2, 2018 5:01 AM, wrote:
> On Thu, 01 Feb 2018 11:37:26 -0500, Aruna Hewapathirane said:
>
> > Somethings are not so obvious like what could possibly be a *.y file or
> > *.tc file ? If you type in find -name "*.y" in my case i se
Oh, thank you so much!
I see dtc, the device tree compiler I guess. Parsing is a cool programming
subject but I didn't expect to see parsers in the kernel level, cool, cool!
Regards,
2018-02-02 8:27 GMT-02:00 Augusto Mecking Caringi
:
> On Fri, Feb 2, 2018 at 11:11 AM, Daniel. wrote:
except if it's GPL too*
2018-04-18 12:57 GMT-03:00 Daniel. :
> AFAIK if foo is GPL, you can't link bar to it except if it's GPL to. Doing
> so would be license breaking. If foo is not GPL, you are tainting your
> kernel and would be hard to get help with a tainted kern
AFAIK if foo is GPL, you can't link bar to it except if it's GPL to. Doing
so would be license breaking. If foo is not GPL, you are tainting your
kernel and would be hard to get help with a tainted kernel.
2018-04-09 14:19 GMT-03:00 Martin Galvan :
> 2018-04-05 12:02 GMT-03:00 Greg KH :
> > On Th
Hi everybody.
Does the RT patches have been merged in the main line? or, They will
be merged at all?
I found the RT wiki at
https://wiki.linuxfoundation.org/realtime/documentation/technical_details/start
but can't find if the patches were merged.
Also I have some questions about RT benefits/draw
it. The technical stuff can
be hard to grasp at first... thanks for helping me out!
Cheers,
2018-05-28 21:48 GMT-03:00 :
> On Mon, 28 May 2018 15:04:41 -0300, "Daniel." said:
>
>> Does the RT patches have been merged in the main line? or, They will
>> be merged at all
1 - 100 of 309 matches
Mail list logo