On Thu, 30 Jul 2015 16:03:51 -0700, Nicholas Murphy said:
Yes, Iâve read all the disclaimers against accessing files in the kernel,
but
I want to set up a shared memory segment between a kernel module and one or
more user processes, and /dev/shm seems like a good way to do that.
Is there
On Tue, 04 Aug 2015 12:23:18 -0700, Nicholas Murphy said:
How do I debug the __init function (that is called on module load)?
Is your .init function actually doing so much odd stuff that a few
carefully placed printk() calls aren't sufficient?
pgpAYpKItGKDg.pgp
Description: PGP signature
On Tue, 11 Aug 2015 17:48:16 -, Sasha Mckinsey said:
What should be the next steps besides looking for a job.
That's for *you* to decide, not for us to suggest.
Do authors go around asking What sort of book should I write? No - because
unless the author was interested in writing a gothic
On Fri, 07 Aug 2015 22:38:11 -, Nestor Waldyd said:
but all this *withouth* success.
You really need to be more specific regarding its failure to succeed.
Did you run a tcpdump to see the traffic?
How far did it get? Did it pxeboot? Did it successfully DHCP itself
an address, or did it
On Sun, 26 Jul 2015 13:05:37 +0530, Yogesh Chaudhari said:
However, is there a place which documents which maintainers(and/or
sub-systems) accept checkpatch(or other cleanup related) patches and
who will reject them outright? Wouldn't it be good to have this
documented, especially given that
On Tue, 21 Jul 2015 15:49:22 -0300, Lucas Tanure said:
Hi,
This company released a obfuscated kernel module in GPL 2.
http://www.incentivespro.com/downloads.html
So, they didn't release the code at all. This is ok ?
This against the law ?
We're code hackers here.
If the
On Wed, 22 Jul 2015 10:30:47 +0300, Meyer Lansky said:
I would like to improve the code, but has not found a practical method of
finding errors.
Bugs in the scheduler almost always manifest in one of two ways:
1) Truly spectacular crashes or hangs where you *know* you've found a bug.
2) Find
On Tue, 21 Jul 2015 20:13:48 -, Jeff Haran said:
But it seems to me that if it builds, then theyâve released the code.
No - the GPLv2 says:
The source code for a work means the preferred form of the work for
making modifications to it. For an executable work, complete source
code means
On Thu, 23 Jul 2015 12:31:18 +0530, Amit Gupta said:
Configuration file: /etc/hostapd.conf
[ 199.672712] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
Failed to update rate sets in kernel module
[ 199.687566] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
Using interface
On Mon, 13 Jul 2015 13:11:57 -0400, Robert P. J. Day said:
actually, one area of low-hanging fruit is the Documentation/
directory, which could always use some attention. documentation is
always getting out of date, so pick a subsystem and clean up the docs.
Good catch, I'll add it to my
On Wed, 15 Jul 2015 12:26:29 +0530, bineet said:
I need to check setting done for WM8850 wolfson audio codec chip. I tried
browsing linux code, but couldn't find any clue.
Could someone please help with the same?
Hmm.. are you sure it's an audio codec chip?
WMB8850 appears to be an entire
On Fri, 17 Jul 2015 10:48:53 +0200, Martin Knappe said:
Very easy:
On Fri, 17 Jul 2015 11:40:00 +0200, Martin Knappe said:
Like so:
On Fri, 17 Jul 2015 11:44:34 +0200, Martin Knappe said:
Sorry, have to correct my solution. You need to add cleanupState = 0
just before the finish, like so:
I
On Mon, 13 Jul 2015 12:13:28 +0530, Mayur Patil said:
I just want to know like other Open source projects is there a thing in
linux kernel as Low hanging fruits.
The Linux kernel has been worked over by professional programmers for more
than a decade, and as a result the number of things
On Thu, 12 Nov 2015 02:55:40 +, "Gavin O'Leary" said:
> What is this warning about? How do I go about fixing it?
>
> Thank you,
Let's cut-n-paste 2 more lines out of the file:
613 /* Allocate the rxmeta */
614 rxmeta = kzalloc(sizeof(struct p80211_rxmeta),
On Thu, 12 Nov 2015 16:44:35 -0800, Greg KH said:
> On Thu, Nov 12, 2015 at 03:15:41AM -0700, Robert P. J. Day wrote:
> > module_param_array_named(quirks, quirks_param, charp, NULL, 0444);
> > MODULE_PARM_DESC(quirks, "Add/modify USB HID quirks by specifying "
>
> You can add a runtime quirk to
On Tue, 17 Nov 2015 14:01:19 +0900, Naver said:
> hi,
> i want to use a script in kernel, but i can't use this.
> in my terminal.
> yoon@pc:~/project/aosp/kernel/linux/scripts$ ./checkpatch.pl sortextable.c
> Must be run from the top-level dir. of a kernel tree
$ cd ~/project/aosp/kernel/linux
$
On Mon, 02 Nov 2015 13:57:10 +0800, Nan Xiao said:
> I add "CONFIG_MODULE_SIG=n" at the beginning of Makefile, and rebuild
> the module.
> Could anyone give some clues on this issue? Thanks in advance!
Did you *also* both rebuild and reboot into the new kernel that has
MODULE_SIG=n?
On Sat, 03 Oct 2015 19:37:54 -0700, Sean Bollin said:
> I'm interested in getting started doing kernel dev.
Why? Fame? Fortune? It's a chick magnet? You're totally pissed off
because suspend/resume is wonky on your laptop?
If you *really* want to help, just get yourself a copy of the linux-next
On Thu, 09 Jul 2015 17:56:15 -, Mohit . said:
I would like to know what do statements like the following mean
- Have knowledge of Protocols such as TCP/IP, IPSec, IPV6 or SSL
Does it mean to have a theoretical view of the facets which constitute the
protocol which can be done by
On Mon, 07 Sep 2015 12:10:56 +0530, Pria Mn said:
> return valid dentry value. My requirement is to fetch directory name from
> filepath.
First off, unless this is a class assignment, your *requirement* isn't
to fetch a directory name.
Fetching the directory name is a *solution* you're thinking
On Tue, 08 Sep 2015 20:08:57 -0600, Yacdaniel Hurtado GarcC-a said:
> atm i get this kernel version: 4.2.0-rc8 i dont know if i am doing
> something wrong.Thanks
You may or may not be doing something wrong. But you're probably
no longer doing the Eudyptula challenge. :)
pgp7sH4uoAi2S.pgp
On Thu, 10 Sep 2015 15:09:42 +0800, Rock Lee said:
> union thread_union init_thread_union __init_task_data =
>
> { INIT_THREAD_INFO(init_task) };
'gcc -E' to see what this expands to. All may not be as it seems. :)
pgpbElrwkwUP7.pgp
Description: PGP signature
On Thu, 10 Sep 2015 17:41:51 +0800, tianlilai said:
> When I set the ACPI=on on the cmdline,and the OS can not boot(If set
> ACPI=off, The system is OK). The attachmemt file is the booting log. Would
> help me slove this ploblem? Thanks very much.
> Note:kernel version v2.6.18,and the arch
On Sat, 12 Sep 2015 16:04:43 -0300, Lucas Tanure said:
> I'm testing the linux-next tree and I got this stack:
>
> [2.158054] Call Trace:
> [2.158058] [] dump_stack+0x4b/0x72
> [2.158061] [] warn_slowpath_common+0x82/0xc0
> [2.158063] [] warn_slowpath_null+0x1a/0x20
> [
On Sun, 13 Sep 2015 14:09:21 -0300, Lucas Tanure said:
> I would like some tips about how debug a issue with linux-next.
> I'm trying to find things to do in kernel, and the first thing is boot the
> linux-next tree.
> How I can find the commit that create the problem, since every commit that
>
On Sun, 13 Sep 2015 23:40:22 +0530, Mayur Patil said:
> if I want to get started with Linux Kernel Development then is it feasible
> that
> I can do all my experiments on Virtual Machine as on Linux my Internet
> dongle does not work, I am asking in terms of performance and efficiency.
A very
On Tue, 15 Sep 2015 22:40:50 +0300, Ran Shalit said:
> Hello,
>
> I need to implement mmap for non-volatile memory chip (NVRAM).
> I already did something simple, but now I understand that it is not complete:
> The nvram need to be unlock and locked after finishing the memory task
> of read/write.
On Thu, 10 Sep 2015 07:52:49 +0300, Kevin Wilson said:
> (void) myFunc(param1);
>
> I did not encounter such cases in the kernel code that I read, thus far.
>
> On the other hand, I did not saw in the kernel coding style doc
> anything which prohibits such usage.
>
> If I remember, using (void)
On Sun, 13 Sep 2015 21:21:35 -0700, Greg KH said:
> On Mon, Sep 14, 2015 at 09:03:53AM +0530, Ronit Halder wrote:
> > In drivers/staging/android/ion/ion.c in line 1475 and 1493 gfp_flag
> > is set to -1
>
> No, that's not what the code does, please read it again.
My guess is it's making some
On Fri, 02 Oct 2015 18:11:53 +0200, Gilles Chanteperdrix said:
> TRACE_IRQFLAGS is broken with the I-pipe patch. At least on ARM. The
> visible result is LOCKDEP false positives, but there may be some
> more subtle kernel data structures corruption due to the fact that
> the TRACE_IRQFLAFGS code
On Mon, 28 Sep 2015 09:58:21 +1300, vibnwis said:
> Thanks for sharing. Being a newbie, I would have to have some sort faith
> until it is proven otherwise. Hence, I am tasked to get the TRACE_IRQFLAGS
> turn off. Once, I have got it done and the results would tell us if the
> patches were fine
On Mon, 28 Sep 2015 11:42:34 +1300, vibnwis said:
> > See the difference?
> The kernel I work is for Pandaboard. Hence NVidia will not in the picture.
The point is that one explanation gives a lot more confidence and understanding
than the other. I'll let you figure out for yourself which the
On Mon, 28 Sep 2015 10:14:47 +0800, Teoh Choon Zone said:
> > Have you tried the above with 8972 to instead of 9000.
> Yes, but nothing above 8144 works.
It's possible it's a defective design, and is crippled so it can manage
8144 but not the 9000 most chipsets can do. The fact that 8144 works
On Sun, 27 Sep 2015 12:06:49 +1300, vibnwis said:
> Setting DEBUG_KERNEL->n will unset L1 [=0]
> and
And. Right.
> setting IRQSOFF_TRACER [=y] || TRACING_SUPPORT [=n] || FTRACE [= n] will
> unset L2 [=0]
In your first post, you had implied that you had tried doing one or
the other, not
On Mon, 28 Sep 2015 19:59:41 -0300, "Daniel." said:
> The real thing is a driver to nrf24l01+ driver from Nordic. I may use this
> non copying aproach to exchange lot of frames without copying. This would
> improve driver's performance. :)
There is already well-developed zero-copy code for
On Thu, 24 Sep 2015 17:25:15 +0300, Kevin Wilson said:
> Hi,
>
> When a method parameter in a kernel module is not used, we do not get
> any warning (as opposed to a variable which is not used).
>
> Is there any compilation flag which enables getting warning in such a case ?
No, and it's unclear
On Fri, 18 Sep 2015 17:04:03 +0300, Rami Rosen said:
> Well, there are rare cases in the kernel when you add (void) before calling
> the method. For example, if the method returns int or other type and you
> want to emphasize that you are aware of that and deliberately not check the
> return
On Thu, 24 Sep 2015 20:03:53 -, Rob Groner said:
> However, it won't build for me (openssl/bio.h is missing) after a cloning.
That's for userspace code. You need to install openssl-devel (or whatever
your distro calls the development headers/libraries).
pgp95vt1jxO3y.pgp
Description: PGP
On Tue, 01 Dec 2015 18:45:51 -0600, Victor Rodriguez said:
> Despite the fact that this is not a well formulated question.
Exactly why it's hard to give a good answer. It *really* depends on
what aspect you're interested in - I/O bandwidth, throughput, latency,
or other. What I currently do at
On Thu, 24 Dec 2015 19:29:11 -0500, Ruben Safir said:
> On 12/24/2015 01:43 PM, valdis.kletni...@vt.edu wrote:
> > The only *real* fix is to go to a non-querty keyboard.
>
> No, retraining and reprogramming the user is not a solution.
Then you're stuck with a control key where it's difficult for
On Sat, 26 Dec 2015 10:39:04 -0500, "Robert P. J. Day" said:
> if i start with the latest git kernel repo, it *looks* like i can
> use the /boot/config-4.2.8-200.fc22.x86_64 config file as a starting
> point, copy it in as .config, then:
>
> $ make allmodconfig
> $ make localmodconfig
How
On Thu, 24 Dec 2015 10:41:36 -0500, Ruben Safir said:
> EMACs might work better if they took LISP out of it and adopted it for a
> QWERTY keyboard
Doing something about the keymappings would probably help, as currently a
lot of the most common sequences require use of weaker fingers (in
On Tue, 24 Nov 2015 06:30:22 +, Ramon Fried said:
> I'm currently debugging a ISP DMA issue in a kernel module.
> For debugging, I would like to dump buffers to a file on run time.
> The buffers are quite big, 1MB at least.
The *other* question is how *often* you plan to do this. Doing it
On Thu, 26 Nov 2015 10:46:24 +0200, Kevin Wilson said:
> 13 sub version of the 4.1 kernel:
> 4.1.1
> 4.1.2
> .
>
>
> 4.1.13
This is a string of 13 patchesets that came out *AFTER* v4.1 was released.
> git tag | grep 4.1
> I get:
> v4.1
> v4.1-rc1
> v4.1-rc2
> v4.1-rc3
> v4.1-rc4
>
On Tue, 07 Jun 2016 02:27:03 +0530, Shyam Saini said:
> To choose best optimized code, i need to first compile them and then
> disassemble the compiled code, where a change in single line would make a
> significant difference in the performance.
Note that due to things like cache line misses,
On Mon, 30 May 2016 19:58:14 +0530, Muni Sekhar said:
> Hi,
>
> I need to configure blacklisting few kernel modules in multiple
> customer test systems.
>
> For this I added an entries in the /etc/modprobe.d/blacklist.conf and
> generated an initramfs image.
>
> All our test systems are having an
On Tue, 31 May 2016 23:05:57 +0200, johan...@johannesthoma.com said:
Looks good overall, far from the ugliest driver I've seen. I spotted one
locking bug, and a few small typos etc, noted inline...
> From: Johannes Thoma
>
> The HC-SR04 is an ultrasonic distance
On Wed, 01 Jun 2016 08:19:20 +0530, Munagala Naresh said:
> We are integrating one sensor driver in to LE platform. After adding sensor
> driver, it is creating device @ /sys/bus/iio/devices/iio:device0,1,2.
> Sensor driver makes use of IIO subsystem framework. We are not seeing iio
> device
On Wed, 01 Jun 2016 12:18:55 +0800, "FrankYu" said:
> How can I read the content?
I admit confusion. The content of what? And read it from where? Userspace?
int fd = open ("/dev/iio:whatever",yadda yadda);
int rc = read(fd, , sizeof(buffer);
Same as reading any other device.
If you mean
On Wed, 01 Jun 2016 13:58:20 +0800, you said:
> Sorry, I mean the mail's content
> I can not read the mail, there's only a *.bin file attached
You have a defective mail reader, which is unable to recognize
a digital signature. There's been an Internet standard for that
since 1995, so there's
On Wed, 10 Feb 2016 11:56:40 +0100, Ricardo Ribalda Delgado said:
> I did not explain myself well.
>
> By thread I mean kernel thread, and user thread.
>
> What i want to get is a back trace of ALL the programs running in user
> and kernel space.
See what happens when you do 'echo t >
On Wed, 24 Feb 2016 14:20:23 +0200, Ran Shalit said:
> Maybe the last suggestion will be the most practical if this issue
> can't be resolved, which means that I will use one file for all logs,
> in which each line will have its own tag string according to the
> application.
No, what you do is
On Wed, 24 Feb 2016 09:36:54 +0200, Ran Shalit said:
> I am trying to write to rsyslog from application.
> With openlog(..., LOG_USER), it works fine and I find the log in
> /var/log/user.log (it is defines in /etc/rsyslog.d/50-defaults.conf )
> But we need to enable different applications to
On Mon, 29 Feb 2016 14:41:34 +0800, Navy Cheng said:
> pci_unregister_driver() should be used once dgnc module exit. It has
> nothing to do with dgnc_NumBoards. Remove the judgment of dgnc_NumBoards to
> avoid pci_unregister_driver() is not used when dgnc_NumBoards is 0.
> - if
On Mon, 29 Feb 2016 11:47:16 +0100, Martin Houry said:
> I have made some research and I could't find a library who can give
> me interfaces's statistics like max/min/average bandwidth, jitter, ...
>
> Do you know a way to do this?
What problem are you trying to solve from within the kernel with
For some reason, I'm not seeing posts I send to the list.
(Has somebody changed the list config, or is there something more
subtle going on?)
___
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
On Thu, 21 Jan 2016 08:51:08 -0800, John Locke said:
> * Nice levels are multiplicative, with a gentle 10% change for every
> * nice level changed. I.e. when a CPU-bound task goes from nice 0 to
> * nice 1, it will get ~10% less CPU time than another CPU-bound task
Note the ~ indicating
On Mon, 15 Feb 2016 16:06:54 +, Rob Groner said:
> > bjorn@nemi:/usr/local/src/git/linux$ git show 4662e82b2cb41
> > commit 4662e82b2cb41c60826e50474dd86dd5c6372b0c
> > Author: Bruce Allan
> > Date: Tue Aug 26 18:37:06 2008 -0700
> Using the blame I see that it
On Tue, 16 Feb 2016 10:18:26 +0530, Nitin Varyani said:
> 1) Sending process context via network
Note that this is a non-trivial issue by itself. At a *minimum*,
you'll need all the checkpoint-restart code. Plus, if the process
has any open TCP connections, *those* have to be migrated without
On Tue, 16 Feb 2016 09:42:52 +0100, Dominik Dingel said:
> I wouldn't see things that dark. Also this is an interesting puzzle.
Just pointing out *very real* issues that will require solution, unless
you add strict bounds like "cannot be using network connections".
Heck, even open files get
On Wed, 17 Feb 2016 10:21:35 +0530, Nitin Varyani said:
> Actually it is a master's thesis research project as of now. I am ready to
> boil down to the most basic implementation of distributed linux kernel.
> Assume there is no network connection and no open files. We can drop even
> more
>>> My question is, is it OK to fix all occurrences of error A across the files
>> inside drivers/staging/wilc1000 as one patch and all occurrences of error B
>> across all files inside drivers/staging/wilc1000 as a second patch?
Most maintainers would be perfectly OK with that. And I'm pretty
On Sun, 21 Feb 2016 17:34:38 -0500, Ruben Safir said:
> > ASCII?
No.
> Content-Type: text/plain; charset=GBK
> Content-Transfer-Encoding: base64
It claims to be some mostly-nonstandard variety of Chinese.
https://en.wikipedia.org/wiki/GBK
pgpMip6_fPR6X.pgp
Description: PGP signature
On Thu, 11 Feb 2016 14:56:32 +0100, Ricardo Ribalda Delgado said:
> > What problem are you trying to solve by getting a trace of everything?
> > (Hint -
> > what meaning does a userspace stack traceback have if you're looking at
> > the corresponding kernel stack trace?)
>
> I was doing:
>
> cat
On Fri, 11 Mar 2016 18:32:39 +0530, Ronit Halder said:
> How can I create a initramfs file without dracut from the files in an
> installed system in fedora?
If you're hell-bent on doing something unsupported, remember that dracut
is just an easily understood python script, so you can just follow
On Thu, 31 Mar 2016 06:09:13 -, Hrushit Parikh said:
> The linux kernel of my repo is 4.5.0-rc+. I copied the existing .config file
> from /boot to my source tree and ran 1. make olddefconfig, 2. make 3. make
> modules_install install.
You probably wanted to use 'make oldconfig' rather than
On Tue, 05 Apr 2016 15:29:25 -0400, Wenda Ni said:
> I come across the following code in a kernel module code.
> u32 rxe_icrc_hdr(struct rxe_pkt_info *pkt, struct sk_buff *skb)
Is this an out-of-tree module, or an older kernel?
The current linux-next tree has zero occurences of 'rxe_icrc_hdr'
On Mon, 21 Mar 2016 10:33:44 +0530, Nitin Varyani said:
> Sub-task 1: Until now, parent process cannot control the pid of the forked
> child. A pid gets assigned as a sequential number by the kernel at the time
> the process is forked . I want to modify kernel in such a way that parent
> process
On Mon, 21 Mar 2016 09:53:47 +0800, å¼ äº said:
> The code is just for learning block driver
THe kernel doesn't know that. You call a routine with the wrong
parameters, it will not work properly.
pgp60L5FwYLA3.pgp
Description: PGP signature
___
On Mon, 21 Mar 2016 16:01:41 +0530, Nitin Varyani said:
> I am running a master user-level process at Computer 1 which sends a
> process context like code, data, registers, PC, etc as well as *"pid"* to
> slave processes running at other computers. The responsibility of the slave
> process is to
On Tue, 22 Mar 2016 16:51:44 +0530, Shashank Khasare said:
> These two threads share same address space, file descriptor tables, parent
> pid etc.
> Whenever user thread wants to make syscall, it would post the information
> about syscall number & arguments
> to syscall in common shared page.
On Wed, 23 Mar 2016 16:06:37 +0530, shubham k said:
> I want to work on x86 architecture. I am not sure how to go about unit
> testing. I can use qemu for testing but i find kernel on x86 architecture
> too big to compile. How i can get the smaller size kernel on x86
> architecture?
'make
On Sun, 20 Mar 2016 02:07:29 -0700, Nitin Varyani said:
> The linux kernel attaches a pid to newly forked process. I want to
> create a facility by which a process has the option of attaching a new pid
> to its child which is not in the pid space.
Not at all sure what you mean by "not in
On Fri, 25 Mar 2016 23:00:48 -0300, "Daniel." said:
> 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
On Sun, 20 Mar 2016 16:38:12 +0800, å¼ äº said:
> My memory disk block driver was compiled successfully.
> But when I insmod my module, initialisation stall at add_disk in =
> setup_dev function.
> int major = 0;
Are you positive that this is both safe and usable?
pgpOvdXw4jw1a.pgp
On Fri, 04 Mar 2016 13:02:02 +0800, Navy Cheng said:
> Hi,
>
> When I read the code of list_del(), I find LIST_POISON1 and LIST_POISON2:
>
> static inline void list_del(struct list_head *entry)
> {
> __list_del(entry->prev, entry->next);
> entry->next = LIST_POISON1;
>
On Mon, 07 Mar 2016 16:08:01 -0500, Kenneth Adam Miller said:
> Can't release it. It looks a lot like this though:
Note that you're going to have a *really* hard time shipping hardware
with a legal Linux driver you can't release source for. You probably
want to talk to your corporate legal
On Mon, 07 Mar 2016 13:07:14 +0530, Nitin Varyani said:
> Where is the stack pointer for the current process stored in linux?
In the stack pointer register, of course. (And if the code was compiled
with -fomit-stack-pointer there isn't even one. :)
The fun and games starts when you talk about
On Thu, 31 Mar 2016 10:04:47 -0230, Roger H Newell said:
> I think I may have stumbled upon a USB bug. Before I send it off to
Looks like an apparmor bug, not USB. Quite likely the same problem as these
guys hit, as the traceback is the same:
On Thu, 31 Mar 2016 13:55:57 -0230, nick said:
> >>> In the fs/file_table.c file as from the root directory of your kernel
> >>> tree change in the function,
> >>> get_empty_flip change these lines:
> >>> if (unlikely(error)) {
> >>> file_free(f);
> >>>
On Thu, 31 Mar 2016 09:30:01 -0700, John Johansen said:
> hrmm, the only thing apparmor is doing in this kernel here is a kzalloc and
> assigning it to f_security, expanding out the aa_alloc_file_context
> abstraction (which should probably just be dropped) we get.
>
> file->f_security =
On Thu, 31 Mar 2016 14:59:51 -0230, Roger H Newell said:
> I reverted the previous change, and applied the if(f) test in
> file_free. There are no error messages in dmseg and I can mount the
> USB device.
That's because Nick's patch is *still* wrong, as the *real* problem
appears to be a memory
On Thu, 31 Mar 2016 15:46:51 -0230, Roger H Newell said:
> I had a look inside the .config I used to compile this kernel.
> I think I found the information you're looking for.
>
> # CONFIG_KASAN is not set
> # CONFIG_SLAB is not set
> CONFIG_SLUB=y
> # CONFIG_SLOB is not set
Well, that cuts down
On Tue, 26 Apr 2016 15:31:51 +0200, Silvan Jegen said:
> A simple but naive approach would be a grep command like this.
>
> grep "function_pointer =" `find . -iname '*.c' -o -iname '*.h'`
Two better ways:
grep -r "function_pointer =' [A-Za-z]*
find * -name '*.[ch]' | xargs grep 'function
On Tue, 10 May 2016 16:58:26 -0400, "Robert P. J. Day" said:
> not sure who it was (maybe even valdis) who once said, "Saying you
> want to get into kernel programming but have no idea where to start so
> can someone give you suggestions is like saying you want to write a
> book but don't know
On Wed, 11 May 2016 12:26:17 +0800, "Aric" said:
> But for each board, it have dedicated kernel code package. For example, what
> I want to do first, it I can write kernel drivers and kernel code freely. I
> can
> easily add a I2C (AT24C02) device and finished its driver in a short time.
Wel,
On Tue, 17 May 2016 20:29:12 +0800, walkerlala said:
> Can I just disable interrupts from hardwares? I know that, at the very
> beginning, the kernel disable interrupt for convenient. So I wonder
> whether we can do thing like this.
Sure you can do that.
But then, how do you get the kernel's
On Tue, 17 May 2016 12:41:44 +0530, Ronit Halder said:
> Hi,
>
> Where in the memory kernel is located in the boot time?
During which exact phase of the boot, and does it actually matter? And
physical or virtual address?
(Hint: If you're not the bootstrap that unpacks the compressed kernel
On Tue, 17 May 2016 13:09:03 -0700, Michael Harless said:
> > Eeek, why? What is keeping you from moving to a newer kernel version?
> > Why is sticking with 3.14 a good idea for anyone?
> >
>
> It's mainly due to certifications and testing and our upgrade process. My
> wish would be to update
On Fri, 13 May 2016 10:34:13 +0200, Greg KH said:
> On Thu, May 12, 2016 at 07:14:42PM +0800, Aric wrote:
> > Yeah, that sounds good. Who know Greg's e-mail,or where to find him?
>
> http://lmgtfy.com/?q=greg+kh+email+address
I see what you did there. :)
pgpdig_kTn7qx.pgp
Description: PGP
On Mon, 16 May 2016 10:44:56 +0200, Youcun Liu said:
>u64 cache_miss_rate; // the new variable I insert
> Besides, I also have trouble in finding out how to feed data into the new
> variable from user level application.
Three comments:
1) cache_miss_rate is probably a poor thing to
On Fri, 13 May 2016 21:08:46 +0800, "Aric" said:
> Why nerver toppost?
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 on usenet and in e-mail?
Now do you understand?
On Tue, 10 May 2016 10:58:43 +0800, "Aric" said:
> I'm a newcomer, hope to learn linux kernel together. How can I contribute to
> kernel programming? Any good tutorials and tranings ? Why so silence this
> mail-alias.
Step 0: Figure out *why* you want to contribute. The answer you seek
depends
On Fri, 15 Apr 2016 09:18:32 -0700, Greg KH said:
> Within the kernel, yes, you can use lots of different types for the same
> "real" variable size, but you shouldn't, just use the well-known and
> common types "u8" and you will be fine. Those other ones are there due
> to code being brought in
On Mon, 18 Apr 2016 06:29:21 -0400, "Robert P. J. Day" said:
> that makes sense -- a *minimal* bootable system for recovery and
> troubleshooting. but not a fully independent previous install.
No, it's a *complete* system - your kernel boot image, /, /usr, /var, and
whatever other file systems
On Wed, 20 Apr 2016 22:27:27 -, Ramon Fried said:
> I'm developing a driver for a rather weird serial controller hardware.
> The HW allows the host to put it in low power state.
> The command for entering low power is an ASCII message sent in-band.
Do you happen to have the contact info for
On Sun, 17 Apr 2016 10:47:55 -0400, "Robert P. J. Day" said:
> i figure this is as good a place as any to ask ... is anyone here
> aware of anyone using a linux config and install that, for the
> purposes of reliability or high availability or whatever you want to
> call it, relies on a second,
On Tue, 21 Feb 2017 12:35:33 +1100, "Tobin C. Harding" said:
> If a reviewer makes a suggestion and one intends on making the change
> as suggested is it required (normal protocol) to reply stating that
> the you understand their suggestion and intend on implementing it or
> is this just noise.
On Sun, 12 Feb 2017 17:45:58 +0330, Ali Aminian said:
> I was heard that amdgpu pro is user space driver and the kernel space
> part (amdgpu) is merged into Linux kernel. And that means amdgpu pro
> should work on all kernels above 4.3. But why amdgpu pro does not work
> on kernel 4.10?
What do
On Mon, 13 Feb 2017 23:10:39 +, Andrey Utkin said:
> On Mon, Feb 13, 2017 at 12:29:04PM +1100, Tobin Harding wrote:
> > I don't want to make any more noise than I already have
>
> Not a big deal.
> Don't worry about that unless you repeatedly receive strong suggestions
> to never submit
601 - 700 of 1018 matches
Mail list logo