On Wed, Jul 11, 2018 at 10:30:28AM +0100, John Whitmore wrote:
> I only learning the ropes, and might have missed the memo on the use of enums
> so forgive me. I have looked at
> https://www.kernel.org/doc/html/v4.10/process/coding-style.html#macros-enums-and-rtl
> but that didn't answer my
On Tue, Jul 10, 2018 at 10:51:34PM +0800, bing zhu wrote:
> Thank you ,I use this func for both kernel and user ,result are same.
> void *memcpy(void *dest, const void *src, size_t n)
> {
> long d0, d1, d2;
> asm volatile(
> "rep ; movsq\n\t"
> "movq %4,%%rcx\n\t"
> "rep ; movsb\n\t"
> : "=" (d0),
On Tue, Jul 10, 2018 at 12:08:25PM +0530, Sriram wrote:
> Hi,
>
> I m working on linux-3.12.19 kernel.
Wow that is old. And unsupported and obsolete and very very very
insecure. Please work on updating to a newer kernel version that the
community can help you out with (like 4.14 or 4.17).
If
On Tue, Jul 10, 2018 at 12:50:21PM +0800, bing zhu wrote:
> I agree !,just i think the problem is still there,memcpy is indeed faster in
> kernel than in user,i've tried both ways .
Make sure you are actually using the same code for memcpy in both
places. Do not rely on your libc or the kernel
On Mon, Jul 02, 2018 at 08:58:16AM +0100, Justin Skists wrote:
>
> > On 01 July 2018 at 13:44 bing zhu wrote:
> >
> >
> > Dear Sir/Ma'am
> > Thank you for your time ,i'm a student new to linux kernel.at present ,i'd
> > like to create a kernel thread
> > say use kthread_create func ,my
A: http://en.wikipedia.org/wiki/Top_post
Q: Were do I find info about this thing called top-posting?
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
A: No.
Q: Should I
On Wed, Jun 27, 2018 at 01:52:55PM +0800, kipade wrote:
> Hi, all
>
> As my question, would kernel destroy deivces struct if there were no matched
> driver attached on it?
No, only when the device is removed from the system does that structure
get destroyed.
greg k-h
On Mon, Jun 25, 2018 at 12:17:06AM +0530, Abhinav Misra wrote:
> Hi Guys,
>
> I want to know how the irq number is derived in linux kernel.
It all depends on your platform. It either comes from the firmware/bios
or it is in the device tree information. The kernel itself doesn't know
this
On Wed, Jun 20, 2018 at 02:36:52PM +0800, kipade wrote:
> Now, most of kernel device are initialized by its driver according by
> what described within device tree block. Here, the dtb was parsed
> and used during kernel booting. If so, I want to load a device driver
> after kernel booting using
On Sat, Jun 09, 2018 at 05:17:45PM +0530, Subhashini Rao Beerisetty wrote:
> My question related to backward compatibility is: If an API’s signature
> changed from kernel version x.y.z onwards, does the mainline tree code uses
> the below mentioned logic?
>
>
> #if LINUX_VERSION_CODE >=
On Mon, Jun 04, 2018 at 03:55:34PM +0530, Mahesh Sivapuram wrote:
> Hello All,
>
> We are facing an issue with 3.10.65 kernel + RT69 patch on a 12core xeon.
First off, that is a very old and "obsolete" kernel version. As you are
probably stuck at that version due to a support contract, I
On Mon, Jun 04, 2018 at 01:12:48PM +0200, Christoph Böhmwalder wrote:
> Hi,
>
> I'm not sure how on-topic this is on this list, but I have a question
> regarding a device driver design issue.
>
> For our Bachelor's project my team and I are tasked to optimize an
> existing hardware solution. The
On Sat, Jun 02, 2018 at 05:23:20PM +0100, Justin Skists wrote:
> Hi,
>
> What is the kernel policy on using "extern" to share variables between
> source files in a module?
>
> I've been looking at one subsystem in staging [that shares variables quite a
> bit] to becoming familar with it, and
On Fri, Jun 01, 2018 at 04:51:45PM -0300, Fabio Rafael da Rosa wrote:
> Hi all,
>
> I was preparing patch to fix the use of load/unload drm_driver hooks and use
> drm_dev_alloc and drm_register. When I was preparing the patch, I run
> checkpath and got a warning regarding SPDX tag identifier for
On Wed, May 30, 2018 at 09:13:46PM +0300, Ozgur Kara wrote:
>
>
> 30.05.2018, 21:08, "valdis.kletni...@vt.edu" :
> > On Wed, 30 May 2018 10:37:25 -0700, you said:
> >
> >> First, theoretical, I suppose: what were the reasons to effectively
> >> disable dynamic loading of LSM ?
> >
> > Because
On Wed, May 30, 2018 at 10:37:25AM -0700, Alexander Ivanov wrote:
> On Wed, 30 May 2018 13:25 -0400, valdis.kletni...@vt.edu wrote:
> > What question do you have about it?
>
> There are a couple, actually :)
> First, theoretical, I suppose: what were the reasons to effectively
> disable dynamic
On Wed, May 30, 2018 at 01:25:20PM -0400, valdis.kletni...@vt.edu wrote:
> On Wed, 30 May 2018 10:16:13 -0700, Alexander Ivanov said:
> > Hi All,
> > What would be right place to ask questions about LSM?
>
> linux-security-module
>
> is where that development was done, but that list was last
On Mon, May 28, 2018 at 11:07:06PM -0400, Hugo Lefeuvre wrote:
> Hi,
>
> I've started to take a look at TODO entries in the staging drivers
> subtree and found some issues in pi433 I'd like to work on. Before
> starting to prepare my patch, I tried to check the LKML and the bug
> tracker to make
On Wed, May 23, 2018 at 10:01:49AM +0300, Ozgur Kara wrote:
>
>
> 23.05.2018, 09:48, "Greg KH" <g...@kroah.com>:
> > On Wed, May 23, 2018 at 09:26:31AM +0300, Ozgur Kara wrote:
> >> I think seen the drivers/staging section in the kernel source.
> &
On Wed, May 23, 2018 at 09:26:31AM +0300, Ozgur Kara wrote:
> I think seen the drivers/staging section in the kernel source.
Yes, starting out with drivers/staging/*/TODO is always a good idea.
> for example, some new generation embedded modules and electronic devices
> don't work on Linux.
On Tue, May 22, 2018 at 10:25:51PM -0400, Hugo Lefeuvre wrote:
> Hi,
>
> I've been reading documentation about linux drivers development for
> quite a while now, but never did anything really useful of it. Lack of
> time, but most importantly lack of projects to apply this knowledge.
> Now I've
On Sat, May 12, 2018 at 11:14:50PM +0530, Divanshu Singh wrote:
> Respected Reader
>
> I am a long time Linux user. I am a full-time web developer but I have some
> knowledge of C, C++ and bit of x86 assembly.
>
> I have 4 Linux system at my home - a MacBook Air, 2 HP and 1 Dell and
> recently I
On Wed, May 09, 2018 at 12:31:45AM +0530, Sumit Kumar wrote:
> Hi,
>
> Can someone please confirm if this maintainer's list if up to date :
> https://github.com/torvalds/linux/blob/master/MAINTAINERS
Yes. But use the git.kernel.org version please, who knows what is on
github :)
greg k-h
On Thu, May 03, 2018 at 08:08:48PM +0530, Muni Sekhar wrote:
> Hi All,
>
> I’m trying to understand how user mode buffer is written to low level
> serial hardware registers.
>
> For this I read the kernel code and I came to know that from user mode
> write() API lands into kernel’s tty_write()
On Mon, Apr 30, 2018 at 08:13:11PM +0530, Pritam Bankar wrote:
> Hi,
>
> My question is, do all the code of interrupt handler in system call
> gets executed in interrupt context?
No.
> System calls generate software interrupts.
Some do, some do not. It all depends :)
> So when I do open()
On Sun, Apr 22, 2018 at 11:25:13PM +0530, Sumit Kumar wrote:
> Hi Alex,
>
> Thanks a lot for the quick response.
>
> I installed flex and bison. Now the errors have gone away but there are
> still some warnings:
>
> sumitsum@sumit-personal:~/Documents/linux_kernel/git/kernels/staging$ make
>
On Fri, Apr 20, 2018 at 11:39:10PM +0800, Yubin Ruan wrote:
> On 2018-04-19 13:28, valdis.kletni...@vt.edu wrote:
> > On Thu, 19 Apr 2018 16:58:40 +0800, sizel said:
> > > How can I disable compile optimization in kernel for friendly
> > > debugging, Thanks
> >
> > First off, there are parts
On Thu, Apr 05, 2018 at 10:08:14PM +0530, Muni Sekhar wrote:
> Hi All,
>
>
> I’ve an uart hardware implemented on Xilinx FPGA image and it connects
> to host CPU(Intel based chip) on PCIe bus in Linux platform.
>
>
> The following parameters were fixed or varied when measuring the UART
>
On Thu, Apr 05, 2018 at 11:49:36AM -0300, Martin Galvan wrote:
> 2018-04-05 2:26 GMT-03:00 :
> > On Wed, 04 Apr 2018 18:29:21 -0300, Martin Galvan said:
> >
> >> PS: Yes, I'm aware I could just add $(bar-objs) to mydriver-y and
> >> avoid building bar.a, but I really need
On Fri, Mar 23, 2018 at 05:47:01PM +0530, MUHAMMED ASAD P T wrote:
> Hi all,
>
>
>
> We didn't connect our i2c device with our board. But kernel driver
>
> subsystem calls the probe function from driver code. How to debug the
>
> issue.
>
>
>
> our observation is as follows,
>
>
>
On Fri, Mar 16, 2018 at 04:48:52PM +0530, MUHAMMED ASAD P T wrote:
> Do you have a pointer to the source of your driver anywhere to see if it
> even can be built into the kernel?
>
>
> [Reply] For module, we use module_init(), I am looking for the kernel
> functions for built-in driver.
On Fri, Mar 16, 2018 at 01:23:38PM +0530, MUHAMMED ASAD P T wrote:
> Hi,
>
>
>
> We need to add the driver as 'built in' in kernel. We had changed in kernel
> configuration for our custom driver. But, when the kernel is booted up, it is
> not calling the driver. what are the necessary steps
On Thu, Mar 15, 2018 at 05:39:36PM +0100, Aleksei Fedotov wrote:
> > If for some reason make modules did not create module.symvers then try:
> >
> > cd /home/lexa/linux
> > make
> > [wait a few minutes as it builds some scripts and starts building
> > kernel code...]
> >
On Thu, Mar 15, 2018 at 11:27:05AM -0400, Aruna Hewapathirane wrote:
> On Thu, Mar 15, 2018 at 10:52 AM, Aruna Hewapathirane <
> aruna.hewapathir...@gmail.com> wrote:
>
> >
> >
> >>
> >> But the issue remain the same:
> >> $ make
> >> make -C /home/lexa/linux M=/home/lexa/module
> >>
On Thu, Mar 15, 2018 at 02:33:31PM +0100, Aleksei Fedotov wrote:
> >> It looks like passing O= or KBUILD_OUTPUT= doesn't work for out of tree
> >> modules.
>
> > It doesn't? It should, what is the result when you try to do that?
>
> It is trying to use path specified in O= as path to the
On Thu, Mar 15, 2018 at 01:14:57PM +0100, Aleksei Fedotov wrote:
> Hello,
>
> I have a question regarding building of out-of-tree kernel modules in
> separate build directory.
>
> I have a source tree containing two out-of-tree kernel modules which is spread
> in two directories, module1 and
On Wed, Mar 14, 2018 at 12:32:21PM -0400, valdis.kletni...@vt.edu wrote:
> > > 4. How to keep the device's state consistent when we kill a process when
> > > it
> > > is invoking a system call?
> > Sorry, I did not get your point.
>
> That's *totally* device dependent. The things a driver needs
On Tue, Mar 13, 2018 at 08:52:01AM -0700, Joe Smith wrote:
> By conformant I mean for example that it has to compile or if the
> patch consists of a series of patches each patch applied individually
> should compile. That is a lot of work for something that is just being
> presented to ask for an
On Mon, Mar 12, 2018 at 03:48:52PM -0700, Joe Smith wrote:
> Thanks, Greg and Valdis.
> An RFC patch by definition is not intended for submission. In cases
> where the design is involved and the developer needs early input, why
> go through all the hassle. The community could say I do not like it
On Mon, Mar 12, 2018 at 03:56:31PM -0400, valdis.kletni...@vt.edu wrote:
> On Mon, 12 Mar 2018 12:26:38 -0700, Joe Smith said:
> > I understand the guidelines for submitting a PATCH and they are quite
> > rigorous. What about submitting an RFC, since RFC is just to get early
> > comments do I have
On Thu, Mar 08, 2018 at 12:54:50AM +0800, haolee.swjtu wrote:
> Hi,
>
> The upstream developers may reply to you in 1-3 days, so I think they have
> ignored your patch. You can send it again.
Please give the maintainers 1-2 weeks to get to a patch. After that
it's safe to resend. Not 1-3 days,
On Mon, Mar 05, 2018 at 03:35:24PM +, Alex Arvelaez wrote:
> On Mar 5, 2018 6:30 AM, Bernd Petrovitsch wrote:
> >
> > On Mon, 2018-03-05 at 02:35 +, Alex Arvelaez wrote:
> > [...]
> > > Device makers don't love updating their devices, I don't see how you
> > >
On Mon, Mar 05, 2018 at 07:20:35AM -0500, Ruben Safir wrote:
> On 03/05/2018 06:29 AM, Bernd Petrovitsch wrote:
> > And why should "we" (whoever that is) fix the problems of others?
> >
> > The upstream can't do anything directly if the downstream simply
> > refuses to update (if there are fixes
On Mon, Mar 05, 2018 at 01:15:03AM -0500, Ruben Safir wrote:
> On 03/05/2018 01:00 AM, Greg KH wrote:
> > "How many security issues were those systems
> > vulnerable to over that period of time? All of them."
>
>
> So I'm understanding. And yet, the k
On Sun, Mar 04, 2018 at 10:14:58PM -0500, Ruben Safir wrote:
> Advice? Who am I to give advice? On the face of it, I would say they
> need to harden the kernel base release. But I am not qualified to give
> anyone advice. If a kernel can't be reasonably secure in a 2 year
> period, as a
On Sun, Mar 04, 2018 at 05:25:41PM -0500, valdis.kletni...@vt.edu wrote:
> On Sun, 04 Mar 2018 21:54:03 +0100, Greg KH said:
>
> > To be fair, the next 4.1.y release to come out in a few days should have
> > almost all of these issues resolved. So as long as you are keeping y
On Sun, Mar 04, 2018 at 11:16:40PM -0500, Ruben Safir wrote:
> On 03/04/2018 11:07 PM, Alex Arvelaez wrote:
> > easy: set up a cronjob to do it for you.
>
> no, it won't work. It requires supervision
Then you are doing it wrong :)
___
Kernelnewbies
On Sun, Mar 04, 2018 at 03:20:48PM -0500, Ruben Safir wrote:
> On 03/04/2018 01:31 PM, valdis.kletni...@vt.edu wrote:
> > Note that saying "The CPU isn't vulnerable to Meltdown/Spectre, therefor
> > the 4.1 kernel is OK" is *incredibly* wrong.
> >
> > For the record, since 4.1 came out, there's
On Sun, Mar 04, 2018 at 01:31:04PM -0500, valdis.kletni...@vt.edu wrote:
> On Sun, 04 Mar 2018 06:59:46 +, tali.pe...@nuvoton.com said:
> > It is not secure because it is not fixed for these issues:
> > https://meltdownattack.com/
>
> Note that saying "The CPU isn't vulnerable to
On Thu, Mar 01, 2018 at 02:49:05PM +0530, techi eth wrote:
> I am just trying to know why 4.1 kernel is insecure ? I have try to look
> but not able to get right answer.
>
> Could you please give me hint or link. I only see it is going to EOL by May
> 2018.
>
>
On Mon, Feb 26, 2018 at 01:19:41PM -0800, Dave Stevens wrote:
> it makes me curious Greg. The little board *might* easily and lots of
> other little boards *definitely will* be put into IoT gadgets for which
> no updates are realistically available but whose owners will want to
> use them as long
On Mon, Feb 26, 2018 at 05:49:42PM +0100, Bjørn Mork wrote:
> Greg KH <g...@kroah.com> writes:
>
> > For a full description on this whole thing, please see this post where I
> > describe how the kernel developers treat "security" bugs, and how to
> >
On Mon, Feb 26, 2018 at 04:24:34PM +0100, Piotr Figiel wrote:
> Hi,
>
> 2018-02-26 15:16 GMT+01:00 Greg KH <g...@kroah.com>:
> > On Mon, Feb 26, 2018 at 02:15:53PM +0100, Piotr Figiel wrote:
> >> 2018-02-24 16:50 GMT+01:00 Greg KH <g...@kroah.com>:
> >>
On Mon, Feb 26, 2018 at 02:15:53PM +0100, Piotr Figiel wrote:
> Hi,
>
> 2018-02-24 16:50 GMT+01:00 Greg KH <g...@kroah.com>:
> > Also note that the 4.1 kernel is very old and obsolete and insecure, and
> > should NOT be used for any devices in the year 2038.
>
>
On Sat, Feb 24, 2018 at 07:29:35PM +0530, techi eth wrote:
> I am trying on 32 Bit micro board with ubifs file system with Linux Kernel
> 4.1.
And in your testing, did you find any problems?
Also note that the 4.1 kernel is very old and obsolete and insecure, and
should NOT be used for any
On Thu, Feb 22, 2018 at 09:35:30AM -0800, Alexander Ivanov wrote:
>
>
>
>
> On Thu, 22 Feb 2018 18:05 +0100, Greg KH <g...@kroah.com> wrote:
> > On Thu, Feb 22, 2018 at 08:44:20AM -0800, Alexander Ivanov wrote:
> > > Greg,
> > >
> > > On
On Thu, Feb 22, 2018 at 08:44:20AM -0800, Alexander Ivanov wrote:
> Greg,
>
> On Thu, 22 Feb 2018 08:56 +0100, Greg KH <g...@kroah.com> wrote:
> > On Wed, Feb 21, 2018 at 03:36:44PM -0800, Alexander Ivanov wrote:
> > > Hi All,
> > >
> > > I have u
On Wed, Feb 21, 2018 at 03:36:44PM -0800, Alexander Ivanov wrote:
> Hi All,
>
> I have udev rule defined on a
>
> DEVPATH="/dev/mydev0",..., ACTION="remove", ..., RUN+="/path/to/script"
>
> When does /path/to/script is executed in respect to module's remove() and
> exit() ?
A module's
On Tue, Feb 20, 2018 at 12:53:26PM +0530, Ivid Suvarna wrote:
> Hi All,
>
> Facing below warning backtrace during resume from suspend to disk. I
> am using 4.1.15 freescale kernel.
4.1.15 is a kernel that is very old and obsolete (released almost 3
years ago, and tens of thousands of changes
On Tue, Feb 13, 2018 at 01:00:39PM -0500, Demi Obenour wrote:
> Not sure. The NetMap team at least told me that upstream didn't want their
> code. This might be because NetMap requires special vendor-provided (but
> still open source, if I understand correctly) drivers for optimum
> performance,
On Mon, Feb 12, 2018 at 12:48:11PM -0500, Demi Obenour wrote:
> Why haven't NetMap or MegaPipe been merged? I am wondering because they
> seem to be big wins for performance, but neither has been upstreamed.
Has anyone actually submitted the patches upstream? That's usually the
first step :)
On Thu, Feb 08, 2018 at 07:24:09PM -0200, Gustavo Leite wrote:
> 2018-02-08 11:48 GMT-02:00 Greg KH <g...@kroah.com>:
> > Sure, please feel free to send a patch to do so.
>
> This is my first time in the process. Please tell me if I'm
> doing something wrong.
>
>
On Thu, Feb 08, 2018 at 06:10:59PM +0100, jjDaNiMoTh wrote:
> Hello everyone,
>
> There is an example of LTE netdevice in the Linux source tree?
>
> In particular, I would like to know if there is any device driver that
> implements the layers required by the 3GPP standard. I imagine that it
>
On Thu, Feb 08, 2018 at 09:39:31AM +0530, Neil Thomas wrote:
> Hi,
>
> I want to share information between two kernel modules (Kernel version 4.0
> or above). What are the ways of communication between kernel modules in
> Linux.
What have you tried that did not work out?
> Please list out the
On Thu, Feb 08, 2018 at 11:13:26AM -0200, Gustavo Leite wrote:
> Hello,
>
> In the file Documentation/process/howto.rst there is an URL to a
> mailing list called "kernel-mentors". However, when accessed, it says
> that this list does not exist. Should this be removed from the
> documentation?
On Fri, Feb 02, 2018 at 04:37:55PM +0200, Jani Nikula wrote:
> On Fri, 02 Feb 2018, Greg KH <gre...@linuxfoundation.org> wrote:
> > On Fri, Feb 02, 2018 at 12:44:38PM +0200, Jani Nikula wrote:
> >>
> >> +Knut, Fengguang
> >>
> >> On Fri, 02 F
On Fri, Feb 02, 2018 at 12:44:38PM +0200, Jani Nikula wrote:
>
> +Knut, Fengguang
>
> On Fri, 02 Feb 2018, Greg KH <gre...@linuxfoundation.org> wrote:
> > - If clang now builds the kernel "cleanly", yes, I want to take
> > warning fixes in the s
On Fri, Feb 02, 2018 at 10:56:36AM +0100, Lukas Bulwahn wrote:
> On Fri, 2 Feb 2018, Jani Nikula wrote:
>
> > Being brutally honest, please write shorter reports and shorter emails
> > to the lists.
> >
> > The static analysis reports are welcome, but only when 1) we didn't
> > already fix it in
On Thu, Feb 01, 2018 at 11:52:18PM +0530, Ivid Suvarna wrote:
> Hi All,
>
> I was going through usb serial driver console related source code
> (drivers/usb/serial/console.c) in linux kernel and came across
> "usb_console_write" function and was wondering if any usb serial
> convertor drivers
On Thu, Feb 01, 2018 at 06:33:30PM +0100, Ozan Alpay wrote:
> Dear Rodrigo Vivi, Ville Syrjälä,
>
> My name is Ozan Alpay, and I am a student mentored by Lukas Bulwahn. We
> intend to use static analysis tools on the kernel source to identify,
> analyze and report issues. As a very first step,
On Thu, Feb 01, 2018 at 05:49:13PM +0100, Augusto Mecking Caringi wrote:
> On Thu, Feb 1, 2018 at 5:37 PM, Aruna Hewapathirane
> wrote:
> >> On Fri, Jan 26, 2018 at 1:58 AM, inventsekar
> >> wrote:
> >> Hi all, ...
> >
> >> 1. May i know,
On Mon, Jan 29, 2018 at 01:00:10PM -0500, Jeffrey Walton wrote:
> On Mon, Jan 29, 2018 at 12:33 PM, Greg KH <g...@kroah.com> wrote:
> > On Mon, Jan 29, 2018 at 12:16:19PM -0500, Jeffrey Walton wrote:
> >> ...
> >> It would be nice if they moved away from UB and im
On Mon, Jan 29, 2018 at 12:16:19PM -0500, Jeffrey Walton wrote:
> On Mon, Jan 29, 2018 at 10:41 AM, Augusto Mecking Caringi
> wrote:
> > On Fri, Jan 26, 2018 at 2:12 PM, wrote:
> >> On Fri, 26 Jan 2018 05:53:20 -0500, Ruben Safir said:
> >>>
On Fri, Jan 26, 2018 at 12:30:46PM -0800, Joe Smith wrote:
> Hi,
>
> I am running Ubuntu 16.04. I built and booted the latest kernel. Now
> the crash binary does not work, neither a panic is saved. What is the
> procedure to use crash with the latest unreleased kernel.
There was a recent fix for
On Fri, Jan 26, 2018 at 02:07:08PM +0100, Frank Smith wrote:
> Dear list,
>
> I am a bit confused with upgrading my kernel to a newer minor version.
>
> My current kernel 4.14 is from
> https://git.kernel.org/pub/scm/linux/kernel/git/
> torvalds/linux.git , but there are no minor tags
On Thu, Jan 25, 2018 at 12:46:01PM +0530, Muni Sekhar wrote:
> On Wed, Jan 24, 2018 at 8:53 PM, Greg KH <g...@kroah.com> wrote:
> > On Wed, Jan 24, 2018 at 08:43:56PM +0530, Muni Sekhar wrote:
> >> On Wed, Jan 24, 2018 at 6:52 PM, Greg KH <g...@kroah.com> wrote:
>
On Wed, Jan 24, 2018 at 08:43:56PM +0530, Muni Sekhar wrote:
> On Wed, Jan 24, 2018 at 6:52 PM, Greg KH <g...@kroah.com> wrote:
> > On Wed, Jan 24, 2018 at 06:46:06PM +0530, Muni Sekhar wrote:
> >> Hi All,
> >>
> >> Does Linux kernel tree has any standard
On Wed, Jan 24, 2018 at 06:46:06PM +0530, Muni Sekhar wrote:
> Hi All,
>
> Does Linux kernel tree has any standard utilities to test any low
> level UART driver?
What do you mean by "low level UART driver"?
Have you tried one of the many different userspace serial port tools?
Those are usually
On Tue, Jan 16, 2018 at 11:55:45AM -0500, Ruben Safir wrote:
> I doesn't matter that much when you can't root the devices...
What do you mean, it's trivial to root almost any shipping Android
device today given the fact that they do not run up-to-date kernel
versions :)
You aren't trying hard
On Tue, Jan 16, 2018 at 10:15:39PM +0530, inventsekar wrote:
> Hi...
>
> I tried searching but no luck.
> Can you please suggest how Linux kernel was modified and became Android?!
It did not.
Android devices use the Linux kernel, with only a very tiny set of
patches on top of it, just like any
On Mon, Jan 15, 2018 at 06:04:54PM +0530, Shyam Saini wrote:
> Hi Everyone,
>
> I have subscribed multiple mailing lists.
>
> My question is how do kernel developers and other users manage their
> emails on daily basis
> considering the fact that we receive hundreds of mails everyday.
>
> One
On Thu, Jan 11, 2018 at 04:53:54AM +, Douglas Su wrote:
>
> > Probably has something to do with the fact that vger doesn't like sources
> > that send text/html. Find a provider that lets you send text/plain mail.
>
> Outlook permits its user to send text/plain mail. I think I should consult
On Wed, Jan 10, 2018 at 08:37:42AM +, Douglas Su wrote:
> vger.kernel.org gave this error:
> Hello [40.92.4.67], for your MAIL FROM address policy
> analysis reported: Your address is not liked source for email.
>
> I searched Mail list FAQ, but still have no idea.
On Fri, Jan 05, 2018 at 07:12:04PM +, Nick Warne wrote:
> Hi all,
>
> Rather than bother the main kernel list with what is going on, does anybody
> know if the latest source code on kernel.org contains the patches, or do I
> need to apply externally?
On Tue, Dec 19, 2017 at 06:33:51PM +0530, Harsha Sharma wrote:
> Hello,
> I'm working on a task in netfilter and trying to compile linux-kernel
> pulled from nf-next tree.
> https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git
> but fail with these errors.
> make--
> Kernel:
On Sun, Dec 17, 2017 at 09:23:45PM +0100, Greg KH wrote:
> On Sun, Dec 17, 2017 at 08:24:36PM +0100, Martin Kaiser wrote:
> > Dear all,
> >
> > I tried to submit a patch for 4.14 that was already accepted upstream
> > and is in linux-next and the 4.15-rcs.
> >
On Sun, Dec 17, 2017 at 08:24:36PM +0100, Martin Kaiser wrote:
> Dear all,
>
> I tried to submit a patch for 4.14 that was already accepted upstream
> and is in linux-next and the 4.15-rcs.
>
> To understand how this should be done, I looked at
>
On Fri, Dec 15, 2017 at 08:16:45PM +0800, Shiyao MA wrote:
> Hi,
>
> http://elixir.free-electrons.com/linux/latest/source/include/uapi/linux/taskstats.h#L107
>
> Why the field is taskstats. ac_sched aligned as 8 ?
Think about the field layout in memory if that variable was _not_
aligned as 8.
On Wed, Dec 13, 2017 at 11:01:57PM -0800, Rajasekaran Chandrasekaran wrote:
> Hi,
>
>
> In our multi-core x86 based system that is running 3.4.19 version of
> kernel, hrtimer_interrupt (called from apic_timer_interrupt) keeps looping
> in hardirq for atleast 1.6 seconds. We use tsc as our clock
On Sun, Dec 10, 2017 at 11:21:46PM +0800, Shiyao MA wrote:
> Hi,
>
> I wonder the header separation rule in kernel.
> To make this question concrete, for example, let's targeting genetlink.h
>
> It can be found in:
>
> http://elixir.free-electrons.com/linux/latest/source/include/net/genetlink.h
On Fri, Dec 08, 2017 at 08:47:42PM +0800, Shiyao MA wrote:
> Hi,
>
> I come across this code:
> http://elixir.free-electrons.com/linux/latest/source/drivers/scsi/scsi_netlink.c#L128
>
> other fields such as .cbmutex, .bind, etc are not initialized.
>
> Since the object =cfg= is of automatic
On Sat, Dec 02, 2017 at 10:28:13AM +0100, Mathieu Malaterre wrote:
> Hi,
>
> On Sat, Dec 2, 2017 at 2:46 AM, wrote:
> > On Fri, 01 Dec 2017 20:21:36 +, Chris Obbard said:
> >
> >> The drivers I’m releasing probably don’t belong in the kernel
> >
> > Again: Why
On Mon, Nov 27, 2017 at 06:26:04PM +0100, John Smith wrote:
> CMD18 Multiblockread and CMD17 Single block read are failing during driver
> initialisation sequence.. I can not figure out, what the problem is. These
> CMDs
> return with -84, which means:
>
> * EILSEQ Basic format problem
On Sat, Nov 18, 2017 at 02:09:31PM -0500, Demi Marie Obenour wrote:
> Async system calls move the thread pool to the kernel. The kernel has
> system-wide information and perform optimizations regarding e.g.
> scheduling and threadpool size that userspace cannot. Furthermore,
> the kernel
On Sat, Nov 18, 2017 at 01:07:30PM +0100, Fabian Baumanis wrote:
> Hi there,
>
> this morning i created my first patch for the Linux kernel.
> It fixes a style issue which was reported by using checkpatch.pl on
> drivers/staging/comedi/drivers/adl_pci9118.c
>
> Although it's a very small patch,
On Wed, Nov 15, 2017 at 09:16:35PM -0500, Demi Marie Obenour wrote:
> I am looking to write my first driver. This driver will create a single
> character device, which can be opened by any user. The device will
> support one ioctl:
>
> long ioctl_syscall(int fd, long syscall, long
On Mon, Oct 16, 2017 at 09:37:17PM +1100, Tobin C. Harding wrote:
> What is the correct way to write code that is conditionally compiled
> depending on 32/64 bit?
Not to write code that is dependent on such a thing in the first place
:)
> I found
>
> CONFIG_X86_64
> CONFIG_64BIT
>
> Do we
On Wed, Oct 11, 2017 at 08:38:52PM +0530, Pintu Kumar wrote:
> Yes, I have seen many documentation and also the existing repos under
> selftests.
> But my requirement is little different.
> I think my requirement is some what similar to futex repo.
> Currently I am trying to under it. But still I
On Tue, Oct 10, 2017 at 01:15:11PM +0530, Pintu Kumar wrote:
> Hi All,
>
> Is anybody familiar with ktests of selftests framework under: tool/testing/ ?
> I have some queries.
>
> 1) What is the difference between ktests and selftests ? How to choose ?
It depends on what you want to do, but
On Tue, Oct 10, 2017 at 10:17:09AM +1100, Tobin C. Harding wrote:
> Hi,
>
> I would like to create a boot time variable i.e a variable that is set once
> at boot time. Variable
> does not need to be globally accessible. (actually I am using two variables).
static foo = 42;
should be all you
401 - 500 of 1185 matches
Mail list logo