Fwd: Mail delivery failed: returning message to sender

2024-03-24 Thread daniel watson
eporting-MTA: dns; shelob.surriel.com > > Action: failed > Final-Recipient: > rfc822;kernelnewbies-confirm+dad8ab63e98c6c9aaa9b98b31156bcabb0d31...@kernelnewbies.org > Status: 5.0.0 > > From: daniel watson > Subject: Re: Your confirmation is required to join the

Re: screening patch here before sending to devs

2023-03-28 Thread Daniel Watson
that's exciting! that means i can read it to see what is involved. thanks for prompting me to check on whether it was possible. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org

Re: screening patch here before sending to devs

2023-03-28 Thread Daniel Watson
On Tue, Mar 28, 2023 at 09:57:52AM +0200, Greg KH wrote: > Are you sure that it is even possible to change this from the operating > system while the system is running? It might be restricted only to the > BIOS settings. it is possible! it has already been done.

Re: screening patch here before sending to devs

2023-03-28 Thread Daniel Watson
On Tue, Mar 28, 2023 at 09:03:17AM +0200, Lukas Bulwahn wrote: > Hi Daniel, Hi! thanks for pre-reviewing! > > Sometimes patches show up multiple times in lore.kernel.org archives, > as some mailing list add further footers, so the same content sent is > recorded sligh

screening patch here before sending to devs

2023-03-27 Thread Daniel Watson
! To: Greg Kroah-Hartman ,linux-stag...@lists.linux.dev,linux-ker...@vger.kernel.org Subject: [PATCH] staging: rtl8723bs: move { onto opening line of if Checkpatch flagged this as a fixable style error. Signed-off-by: Daniel Watson --- drivers/staging/rtl8723bs/include/rtw_recv.h | 9 +++-- 1

Re: Time: new clocksource

2021-12-05 Thread Daniel Lezcano
On 06/12/2021 07:00, Muni Sekhar wrote: > On Sat, Dec 4, 2021 at 3:18 AM Daniel Lezcano > wrote: >> >> Hi Sekhar, >> >> On 03/12/2021 17:50, Muni Sekhar wrote: >>> Hi All, >>> >>> We have a Digital PLL with 64 bit timer counter har

Re: Time: new clocksource

2021-12-03 Thread Daniel Lezcano
Hi Sekhar, On 03/12/2021 17:50, Muni Sekhar wrote: > Hi All, > > We have a Digital PLL with 64 bit timer counter hardware and the > counter is accessible from the CPU over the PCIe bus. > > Is it possible to add this timer counter hardware as new clocksource > driver? To do this, can someone

how do you find the subsystem of a file?

2021-08-30 Thread daniel watson
i wrote a patch that got rejected because it did not apply cleanly to the tree of greg kh https://lkml.org/lkml/2021/8/18/304 the file i modified is drivers/staging/rtl8723bs/include/rtl8192c_recv.h get_maintainer.pl gave me the list of emails to send the patch to, and i used it for that

surround complex macros in ()

2021-08-26 Thread daniel watson
let me know if this is the right place to ask. i recently tried to make a commit adding parentheses around a macro value. https://lore.kernel.org/linux-staging/20210817043038.ga9...@challenge-bot.com/ it was rejected as "This is not a real change that is needed." at first, i thought this meant

Re: how do you find the subsystem of a file?

2021-08-21 Thread daniel watson
On Sat, Aug 21, 2021 at 12:30:27AM -0700, daniel watson wrote: > i wrote a patch that got rejected because it did not apply cleanly to > the tree of greg kh > https://lkml.org/lkml/2021/8/18/304 > > the file i modified is > drivers/staging/rtl8723bs/include/rtl8192c_recv.h >

Re: How to make /dev/ttyACM0 (and friends) exclusive?

2020-10-10 Thread Daniel Santos
; EOF Very evil indeed.  I have a lot of strange devices attached to serial ports or emulating USB CDC ACM devices, and this cost me a lot of time.  The funny thing is that I went CDC ACM (on one device) instead of raw URBs because I thought it would save me time, but I spent much longer trying to figure this

Re: Could we use jprobe to skip kprboed function

2019-02-26 Thread Daniel Baluta
e jprobe is likely to be removed unless it was already. https://lwn.net/Articles/735667/ thanks, daniel. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Problem of compiling linux2.6.11.12 kernel

2018-08-05 Thread Daniel.
Try with gcc 4 you may get it from AUR Em dom, 5 de ago de 2018 23:07, He Huanyu escreveu: > As you know,4.x version is so complex. And > it‘s difficult to read the source code for newbies like me. > > Of course one of the most important reasons is that I am reading > 《UNDERSTANDING THE LINUX

Re: what network driver routines are invoked via "ifup" and "ifdown"?

2018-07-31 Thread Daniel.
I guess you're looking for net_device_ops https://elixir.bootlin.com/linux/latest/source/include/linux/netdevice.h#L874 Follow the comments, the definition is following it! Regards, 2018-07-31 9:35 GMT-03:00 : > > first time poking around network drivers, and i'm wondering what > platform

Re: Kernel API's for ADC

2018-07-25 Thread Daniel Baluta
he sysfs interface for IIO is described here: https://www.kernel.org/doc/Documentation/ABI/testing/sysfs-bus-iio thanks, Daniel. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Need Suggestions

2018-07-18 Thread Daniel.
> > It's OK.. just remember to trim out the non-important stuff next time. :) > Okay! Thanks! > ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: Need Suggestions

2018-07-18 Thread Daniel.
Em qua, 18 de jul de 2018 20:10, escreveu: > On Wed, 18 Jul 2018 14:29:41 -0700, Dave Stevens said: > > On Wed, 18 Jul 2018 18:19:05 -0300 "Daniel." > wrote: > > > > > > Hi Athul... > > > > This is my collegemate's writ

Re: Need Suggestions

2018-07-18 Thread Daniel.
2018-07-18 1:39 GMT-03:00 inventsekar : > Hi Athul... > This is my collegemate's writing, ... This will solve all your > confusions > > --- > > The most important quality that you need to inculcate if you want to do > any kernel space programming is "Patience" (or persistence if you will). >

Re: Leaving I/O pressure with memory!? How to do it?

2018-07-06 Thread Daniel.
: > On Fri, 06 Jul 2018 08:26:52 -0300, "Daniel." said: > > > I'll try using a disk on memory (residing on a tmpfs mount) for improving > > this. Good idea! > > Of course, actually getting the data *onto* the tmpfs will involve a lot > of I/O, and > it do

Re: Leaving I/O pressure with memory!? How to do it?

2018-07-06 Thread Daniel.
:21 PM, escreveu: On Thu, 05 Jul 2018 19:30:22 -0300, "Daniel." said: > Sometime we have a machine that we work on and that is really really slow > when doing I/O. I know that kernel will use memory to avoid doing I/O, and > that it would be a kind of conservative in avoidin

Leaving I/O pressure with memory!? How to do it?

2018-07-05 Thread Daniel.
Hi everybody! This is a long doubt mine. And usually I want to apply this to testing machines that would not be a problem if crashed or destroyed at all. For the cases where I don't really care about the risks. In another words, not production at all. Sometime we have a machine that we work on

Re: Will RT patches be merged in main line?

2018-05-29 Thread Daniel.
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

Will RT patches be merged in main line?

2018-05-28 Thread Daniel.
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

Re: New to the Kernel Newbie

2018-05-21 Thread Daniel Baluta
-labs.github.io/master/labs/kernel_modules.html Hope this helps. thanks, Daniel. On Mon, May 21, 2018 at 12:24 PM, Janakiramireddy Tamma <janakiram...@gmail.com> wrote: > Hello, > > I am completely new to the kernel newbie, can some one help me where can I > get started. > > Th

Re: Add IIO example to the kernelnewbies wiki

2018-05-09 Thread Daniel Baluta
Sure, you can do that. Nice to see that you are using Diolan DLN-2 adapter. thanks, Daniel. On Mon, Apr 2, 2018 at 8:06 PM, Gaston Gonzalez <gasc...@gmail.com> wrote: > Hi, > > I'm testing an AD7746 eval board using a Diolan DLN-2 adapter. I wrote > some basic notes abou

Re: Building separate files for a kernel module

2018-04-18 Thread 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 kernel. 2018-04-09 14:19 GMT-03:00 Martin Galvan : > 2018-04-05 12:02

Re: Building separate files for a kernel module

2018-04-18 Thread Daniel.
except if it's GPL too* 2018-04-18 12:57 GMT-03:00 Daniel. <danielhi...@gmail.com>: > 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

Announce Linux kernel labs project

2018-02-15 Thread Daniel Baluta
nux kernel Documentation system: https://github.com/linux-kernel-labs/linux To view the generated Linux kernel labs documentation have a look at: https://linux-kernel-labs.github.io/ We kindly appreciate your feedback, directly here or via Issues/Pull Requests on github. than

Re: Linux Kernel contains only C code?

2018-02-02 Thread Daniel.
at 11:11 AM, Daniel. <danielhi...@gmail.com> wrote: > > I'm just curious. What problems in kernel involves parsing? > > $ find -name *.[yl] > ./drivers/scsi/aic7xxx/aicasm/aicasm_scan.l > ./drivers/scsi/aic7xxx/aicasm/aicasm_gram.y > ./drivers/scsi/aic7xxx/aicasm/aicasm_m

Re: Linux Kernel contains only C code?

2018-02-02 Thread Daniel.
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

Re: how to hard hang the kernel from userspace?

2017-12-08 Thread Daniel Walker
On 12/07/2017 06:40 PM, valdis.kletni...@vt.edu wrote: > On Thu, 07 Dec 2017 15:12:15 -0800, Daniel Walker said: > >> So typically you have a process which updates the watchdog periodically >> which I call a petting process. As I said the purpose is to trigger the >&

how to hard hang the kernel from userspace?

2017-12-07 Thread Daniel Walker
and to each cpu in the system, but that just resulted in lots of rcu warnings. The goal is to make the watchdog trigger by starving out the watchdog petting process. Anyone have any ideas? I'd rather not make a kernel module. Thanks, Daniel ___ Kernelnewb

Re: Debugging a kernel freeze

2017-12-01 Thread Daniel.
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

Re: Updating LDD3

2017-10-24 Thread Daniel.
You're welcome! On Oct 24, 2017 10:38 AM, "Ozgur" <okara...@yandex.com> wrote: > > Hello, > > 24.10.2017, 15:31, "Daniel." <danielhi...@gmail.com>: > > Here it is https://github.com/martinezjavier/ldd3 > > Regards > > > oh, it's ve

Re: Updating LDD3

2017-10-24 Thread Daniel.
Here it is https://github.com/martinezjavier/ldd3 Regards On Oct 24, 2017 9:58 AM, "Ozgur" <okara...@yandex.com> wrote: > Hello Daniel, > > 24.10.2017, 14:50, "Daniel." <danielhi...@gmail.com>: > > There is a repo at github with all the samples do

Re: Updating LDD3

2017-10-24 Thread Daniel.
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/)

Re: Don't know where to start linux kernel programming

2017-08-23 Thread Daniel.
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

Re: How to make per process firewall ?

2017-04-18 Thread Daniel.
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

Software and Hardware interrupt in top command

2017-04-18 Thread Daniel.
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

Re: How to browse the code

2017-04-13 Thread Daniel.
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. >

Re: Problem in loading module of Software trigger

2017-03-27 Thread Daniel Baluta
on there, create it using mknod /dev/iio:device0 c major minor. The major and minor can be found in /sys/bus/iio/devices/iio:device0/dev file/ > getting following error:- > Failed to retrieve event fd > > Same with all other events. > > This is working fine for me: &

Re: Kernel function sequence

2016-12-15 Thread Daniel.
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 >>

Re: easiest way to deactivate a driver at boot time?

2016-12-15 Thread Daniel.
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

Re: Kernelnewbies Digest, Vol 73, Issue 3

2016-12-03 Thread Daniel.
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

Re: disable input event device

2016-12-03 Thread Daniel.
it can be used* 2016-12-03 16:58 GMT-02:00 Daniel. <danielhi...@gmail.com>: > 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 <ransha...@gmail.com>: &

Re: disable input event device

2016-12-03 Thread Daniel.
gt;> >> >> On Sat, Dec 3, 2016 at 7:48 PM, Daniel. <danielhi...@gmail.com> wrote: >>> >>> Is blacklisting it an option?? >>> >> >> I think not, because blacklist is only for loaded modules, Right ? >> While in android Linux, seems t

Re: disable input event device

2016-12-03 Thread Daniel.
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

Re: Cannot boot to compiled kernel

2016-11-10 Thread Daniel.
2016-11-10 2:48 GMT-02:00 Daniel Bokser <dan.bok...@gmail.com>: > >> On Nov 8, 2016, at 5:50 AM, Andrey Skvortsov <andrej.skvort...@gmail.com> >> wrote: >> >> On 16-11-07 23:26, Daniel Bokser wrote: >>> >>>> On Nov 3, 2016, at 11:

Re: Cannot boot to compiled kernel

2016-11-09 Thread Daniel Bokser
> On Nov 8, 2016, at 5:50 AM, Andrey Skvortsov <andrej.skvort...@gmail.com> > wrote: > > On 16-11-07 23:26, Daniel Bokser wrote: >> >>> On Nov 3, 2016, at 11:22 AM, Matias Mucciolo <mmucci...@suteba.org.ar> >>> wrote: >>> >>>

Re: Cannot boot to compiled kernel

2016-11-07 Thread Daniel Bokser
> On Nov 3, 2016, at 11:22 AM, Matias Mucciolo <mmucci...@suteba.org.ar> wrote: > > > > On Thursday 03 November 2016 00:56:21 Daniel. wrote: >> 2016-11-02 9:27 GMT-02:00 Quentin Lambert <lambert.quen...@gmail.com>: >> >>> Hi, >>> O

Re: Cannot boot to compiled kernel

2016-11-02 Thread Daniel.
2016-11-02 9:27 GMT-02:00 Quentin Lambert <lambert.quen...@gmail.com>: > 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 (

Cannot boot to compiled kernel

2016-11-02 Thread Daniel Bokser
t even run commands. Tried also USB keyboard to no avail. I also have a bunch of "Unknown symbol" errors from scsi_mod which fill most of the screen. I'm thinking the RAM disk is bad, but not sure. No amount of Google-fu was able to help me out with this one. Any help would be app

Re: omap watchdog

2016-10-27 Thread Daniel.
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

Re: What subsystem!?

2016-10-25 Thread Daniel.
t; On Tue, 25 Oct 2016 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

Re: QEMU?

2016-10-19 Thread Daniel.
Did you see this? http://fedoraproject.org/wiki/Features/VirtioSerial Regards, 2016-10-19 14:24 GMT-02:00 Kenneth Adam Miller <kennethadammil...@gmail.com>: > That doesn't work for our use case. We have special hardware for our use > case. > > > On Oct 19, 2016 12:21 PM

Re: QEMU?

2016-10-19 Thread Daniel.
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

Re: SocketCAN Driver

2016-10-17 Thread Daniel.
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. <danielhi...@gmail.com>: > CAN dr

Re: SocketCAN Driver

2016-10-17 Thread Daniel.
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

Re: Char device write repeating

2016-10-04 Thread Daniel.
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

Re: Linux Kernel Based Research Projects

2016-10-04 Thread Daniel Baluta
On Tue, Oct 4, 2016 at 4:08 AM, Robert P. J. Day <rpj...@crashcourse.ca> wrote: > On Sun, 2 Oct 2016, Daniel Baluta wrote: > >> On Sun, Oct 2, 2016 at 2:54 PM, Shyam Saini <mayhs11sa...@gmail.com> wrote: >> > Hi everyone, >> > >> > I'm final

Re: Linux Kernel Based Research Projects

2016-10-03 Thread Daniel Baluta
ics in my case :). Also, note that this is not a trivial task :), but I think it worths the effort. See here the discussion with people who worked on porting it to x86_64. https://marc.info/?l=lguest=131810934128197=2 thanks, Daniel. ___ Kernelnewbies mailing list Kerneln

Re: Linux Kernel Based Research Projects

2016-10-02 Thread Daniel Baluta
est code this week at LinuxCon Europe [2] Porting it on x86_64 or any other architecture will be a very cool project but I warn you it won't be trivial :). thanks, Daniel. [1] http://lguest.ozlabs.org/ [2] http://sched.co/7o92 ___ Kernelnewb

Re: SMP on different cores.

2016-09-22 Thread Daniel.
s/iMX6/iMX7/ 2016-09-22 10:04 GMT-03:00 Daniel. <danielhi...@gmail.com>: > 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 <g...@kroah.com>: >> On Thu, Se

What causes a recv syscall for a socket to sometimes return less than the request len?

2016-09-21 Thread Daniel Ellis
Howdy, I understand that data fragmentation happens across TCP packets, and in my case that is what is happening. The packets I'm seeing usually run around 1450 in length, and are always cut into two packets at the 1400 mark. This works fine most of the time, since the call to recv is being

Re: RF class driver

2016-09-21 Thread Daniel.
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. <danielhi...@gmail.com>: > 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

Re: RF class driver

2016-09-21 Thread Daniel.
> same type of hardware as the RF 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.&

Re: RF class driver

2016-09-21 Thread Daniel.
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:

ndo_start_xmit what to return when packet is too big!?

2016-09-19 Thread Daniel.
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

Re: Getting stacktrace for userspace applications on crash(SIGSEGV)

2016-09-12 Thread Daniel.
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 <johan...@johannesthoma.com>: > Hi, > > Am 10.09.16 um 05:18 schrieb Daniel.: >> >> Yeap it is. The protoco

Re: Extend device driver?

2016-09-10 Thread Daniel.
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

Re: Getting stacktrace for userspace applications on crash(SIGSEGV)

2016-09-09 Thread Daniel.
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

Getting stacktrace for userspace applications on crash(SIGSEGV)

2016-09-09 Thread Daniel.
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.

Re: Request Chinese mail list and FrontPage

2016-09-06 Thread Daniel.
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

Re: Network unreachable error when sending mail from mutt

2016-09-05 Thread Daniel.
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

Re: Kernel Panic - not syncing: Attempted to kill init! exitcode=0x0000000b

2016-08-22 Thread Daniel.
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

Re: doubt on schedule_work() - work task getting scheduled lately

2016-08-05 Thread Daniel.
ftrace :) 2016-08-05 4:22 GMT-03:00 Muni Sekhar <munisekhar...@gmail.com>: > On Mon, Aug 1, 2016 at 6:34 PM, Daniel. <danielhi...@gmail.com> wrote: >> Did you tried ftrace? >> https://www.kernel.org/doc/Documentation/trace/ftrace.txt >> >> I've be

spi device probe not carring device tree pointer, how to troubleshoot?

2016-08-04 Thread Daniel.
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.github.co

Re: How to debug ethernet driver ?

2016-08-04 Thread Daniel Baluta
transmit/recieve packets to/from ip stack ? > > Any tips for debugging and testing a new ethernet driver will be appreciated, You can start by testing the loopback mode (perhaps). Also, use wireshark or tcpdump for capturing the packets. Daniel.

Re: Stupid question regarding bogomips and udelay()

2016-08-02 Thread Daniel.
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,

Re: doubt on schedule_work() - work task getting scheduled lately

2016-08-01 Thread Daniel.
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 <munisekhar...@gmail.com>: > On Fri, Jul 29, 2016 at 9:05 PM, Daniel. <danielhi...@gmail.com> wrote: >&g

Re: doubt on schedule_work() - work task getting scheduled lately

2016-07-29 Thread Daniel.
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

Interrutp from USB I/O Expander.

2016-07-19 Thread Daniel.
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

Re: pushing other commits upstream

2016-07-18 Thread Daniel Baluta
On Mon, Jul 18, 2016 at 1:49 AM, Alexander Couzens wrote: > Hi, > > I would like to push patches from somebody else upstream. > I'm talking of commits of the TI's beagleboard repo [1]. > > What do I need to take care of? Well, basically apply the patch from beagleboard repo into

Re: spi can't read more than 64 bytes

2016-07-06 Thread Daniel.
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

Linux Regulator userspace-consumer driver binding

2016-06-24 Thread Daniel Steger
the userspace-consumer driver to the regulator under test? Would it be more appropriate to use the userspace-consumer driver or virtual driver? Thank you, Daniel ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org

Re: What is the point of this function?

2016-06-22 Thread Daniel.
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

Re: looking for tutorials

2016-06-21 Thread Daniel Baluta
g the code for lguest: http://lxr.free-electrons.com/source/drivers/lguest It has very good documentation and it covers a lot of OS fundamental blocks. Daniel. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: [PATCH] HC-SR04 ultrasonic ranger IIO driver

2016-06-01 Thread Daniel Baluta
o mailing list (linux-...@vger.kernel.org ) thanks, Daniel. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: How to enable IIO driver in 3.18 kernel

2016-06-01 Thread Daniel Baluta
G_DEVTMPFS=y" and > "CONFIG_DEVTMPFS_MOUNT=y". Please don't use top posting. You can look into /sys/bus/iio/devices/iio:device0/dev and get the MAJOR and MINOR, then create the device node manually, using: mknod /dev/iio:device0 c MAJOR MINOR Not sure why are you mentioning /pr

Re: make oldconfig forces HWMON to be inbuilt

2016-05-25 Thread Daniel Baluta
pport. Then press "?" to find more info about CONFIG_HWMON symbol. Look for "Selected by". thanks, Daniel. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: git send-email

2016-05-22 Thread Daniel Baluta
On Sun, May 22, 2016 at 2:29 PM, Tobin Harding wrote: > Workflow - > > $ git format-patch -s -1 > > add patch comment then > > $ git send-email > > Question please - > > Who should the email be sent to without having a 'To' address repeated in the > CC > field generated by `git

Re: if block style when condition spams to multiple lines.

2016-05-20 Thread Daniel Baluta
On Thu, May 19, 2016 at 9:07 PM, Daniel. <danielhi...@gmail.com> wrote: > What is the preferred way to ident if statement when the condition > spams to multiple lines, ex: > > if (cond1 && > cond2 && > cond3) { > ... > ... >

if block style when condition spams to multiple lines.

2016-05-19 Thread Daniel.
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

Re: Is there anyone on MAC kernel

2016-05-11 Thread Daniel Baluta
ue and how did you try to fix it? Daniel. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Re: i2c driver develpment with diolan DLN-2 / ACPI?

2016-04-30 Thread Daniel Baluta
On Sat, Apr 30, 2016 at 6:10 PM, Martin Kepplinger <mart...@posteo.de> wrote: > Am 2016-04-27 um 13:51 schrieb Daniel Baluta: >> On Wed, Apr 27, 2016 at 2:36 PM, Martin Kepplinger <mart...@posteo.de> wrote: >>> Hi roberta or anyone who uses a diolan i2c/spi bridge d

Re: i2c driver develpment with diolan DLN-2 / ACPI?

2016-04-27 Thread Daniel Baluta
;, mma8652 }, > + { "MMA8653", mma8653 }, > + { "FXLS8471", fxls8471 }, > + { }, > +}; > +MODULE_DEVICE_TABLE(acpi, mma8452_acpi_match); > + > static const struct i2c_device_id mma8452_id[] = { > { "mma8451", mma8451 }, > { "mma8452", mma8452 }, > @@ -1684,6 +1722,7 @@ static struct i2c_driver mma8452_driver = { > .driver = { > .name = "mma8452", > .of_match_table = of_match_ptr(mma8452_dt_ids), > + .acpi_match_table = ACPI_PTR(mma8452_acpi_match), > .pm = _pm_ops, > }, > .probe = mma8452_probe, This looks fine to me. Daniel. ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

Res: anyone aware of a high availability setup that relies on fully redundant install?

2016-04-17 Thread Daniel
‎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.  ‎

Re: single, comprehensive kernel data types document?

2016-04-15 Thread Daniel.
2016-04-15 10:55 GMT-03:00 Greg KH <g...@kroah.com>: > 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 ioct

Re: Adding new protocol to linux.

2016-03-28 Thread Daniel.
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

Res: Adding new protocol to linux.

2016-03-26 Thread Daniel
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, &g

  1   2   3   >