On Fri, 07 Mar 2014 21:12:19 +0700, Cao Thanh Phuong said:
> I want to research how to limit root's permission or root's privilege on a
> file or folder.
> So, do anybody know files or codes that are related to root's permission on
> a specific file or folder in linux kernel?
You're proably going
On 01 Mar 2014 10:04:23 +, "Summi" said:
> a) inline functions in .c file --> Will it be correct to have inline function
> declared in .c file? I am speaking with respect to device driver meant for the
> linux kernel. I have a function, which is quite short in terms of function
> body
> and i
On Thu, 06 Mar 2014 15:52:11 +0530, pravin jadav said:
> i want to develop a kernel module that will scan page cache and find the
> pfn of those pages that have a same content in cache and in secondary
> storage like physical disk, so please give me some idea how should i start
> to develop kerne
On Sun, 09 Mar 2014 22:14:24 -0700, m silverstri said:
> I am developing a kernel driver. What should I test to make sure my
> kernel driver is not leaking memory?
1) The brute force method - just add lots of printk's that have
"allocating 25-byte frobozz struct" and "freeing 25-byte frobozz stru
On Tue, 11 Mar 2014 08:01:26 -, Kim Chan said:
> To my understanding, device file is needed when a user program wants to
> access the device and we don't need to generate the device file for us to use
> the device in kernel. Is my understanding correct?
Right. You don't need to generate the
On Tue, 11 Mar 2014 23:54:25 -0300, Flavio Ceolin said:
> Any tip is extremely welcome :)
> [0.820886] List of all partitions:
tip 1: What would you expect to see here that isn't here? That's right,
an output of what partitions it found.
-hda ./buildroot-2013.05/output/images/rootfs.ext2
On Tue, 18 Mar 2014 01:13:28 +0530, sampriti neog said:
> I would like to participate in GOOGLE SUMMER OF CODE 2014 with your
> prestigious organization. I want to propose an idea regarding music files.
Although this, and your proposal regarding scanned files, may be good
ideas, they're both tot
On Tue, 18 Mar 2014 05:17:58 +0530, Jegathesan Durairaj said:
> I am using Linux Kernel Version 2.6.34.6 with powerPC. I knew that KDB was
> merged with Kernel mainline 2.6.35. Hence I need to apply KDB patch with my
> kernel,
Is there a specific reason to not just use 2.6.35? Or an even newer k
On Tue, 18 Mar 2014 11:35:06 +0530, meenakshi aggarwal said:
> Also i want to know the significance of *0x84/0x9c*
>
> " __schedule_bug+*0x84/0x9c*"
That's saying that __schedule_bug is 0x9c bytes long, and we
were at 0x84 bytes into it. So even without a disassembly, we
know we were down toward
On Tue, 18 Mar 2014 09:00:51 -0500, Edson Ticona said:
> What I have done so far is to write a system call for some
> architectures (x86, arm, sparc and microblaze) in order to understand
> how this part of the kernel works.
That's a good learning project. However, GSOC is about learning project
On Tue, 18 Mar 2014 09:48:06 -0500, Edson Ticona said:
> Hi
> I guess I couldn't explain myself very well. Sorry for my english, but
> I was doing that just to understand pretty well everything about the
> system calls. The project is about standardizing system calls between
> architectures.
Good
On Tue, 18 Mar 2014 19:01:50 +0300, Nada Saif said:
> I want to measure thread context switching in c, How I can do that?
What are you trying to measure, exactly, and why? The answer depends on
the details of the question.
However, my first go-to solution would see if 'perf' can cough up the
nu
On Thu, 20 Mar 2014 17:14:57 +0530, pravin jadav said:
> i want to develop linux kernel module that will get PFN of pagecache pages.
> please help me how to develop this kind of kernel module.
What do you intend to do with the page once you find its PFN? It's quite
possible there's already an AP
On Fri, 21 Mar 2014 20:48:22 +0700, Anh Le said:
> I'm studying the CFS scheduler. I'm using ubuntu 13.10 and I assume that
> it's using CFS in it kernel.
>
> I try to see the effect of nice value by running 2 instances of the same
> program (just a while loop of calculations), putting them on the
On Mon, 24 Mar 2014 12:22:58 +0530, sanjeev sharma said:
> Thanks and Let me subscribe so that I can start working on Bugs.
Subscribing to lkml almost guarantees you won't have enough time to
actually work on bugs.
"Note that nobody reads every post in linux-kernel. In fact, nobody who expects
t
On Fri, 21 Mar 2014 16:40:10 +0530, pravin jadav said:
> instead of migrating page cache at remote host, pagecache restore from the
> disk storage before VM resume at remote host.
This will be.. .problematic. The problem is that to do this well,
you really need 2 or more hypervisor hosts that bo
On Tue, 25 Mar 2014 12:54:12 +0530, Saket Sinha said:
> Now this is very cumbersome and we plan to replace it with installing
> a yum plugin through our rpm which allows user to update the kernel
> level dependencies.
dkms is your friend. Look to see how VirtualBox and NVidia use it for their
ke
On Tue, 25 Mar 2014 18:18:35 +0530, Saket Sinha said:
>Its a proprietary driver so its not meant to be the part of
> mainline kernel. :(
Hey Greg - how long did Linux carry around an entire freaking *architecture*
for the Voyager when there were only like 4 systems on the *planet* still in
e
On Thu, 27 Mar 2014 08:55:10 -, Chan Kim said:
> I have this 'unable to handle kernel paging request at virtual address ...'
> when writing to the frame buffer.
That almost certainly means you tried to write to something other than
the actual frame buffer.
pgpO0HuJjfE2i.pgp
Description: PGP
On Thu, 27 Mar 2014 16:04:37 +0530, Ashish said:
> Hi,
>
> I am using MPC8641-HPCN based custom board and able to boot linux at
> MPX clock 400Mhz and core clock 800mhz. When I am increasing core
> frequency ie MPX clock at 400Mhz and core at 1Ghz, kernel stuck.
Step 0: Prove to us that your co
On Thu, 27 Mar 2014 16:55:53 +0530, Sankar P said:
> The size of the "uid" in UNIX is just 16 bits. So what is the way used
> by the Linux [filesystems] to store the GUID in linux to uniquely
> identify an user ?
The filesystem only stores UIDs, not GUIDS for users.
> Were there any proposals in
On Thu, 27 Mar 2014 08:29:32 -0600, Tyrell Keene said:
> make.log (attached) tells me the kernel config is invalid and to make oldconf
ig && make prepare
> I do so but I still get the same error. Any ideas?
What happens if you ignore dkms, and cd to wherever you extracted the
NVidia source tree,
On Fri, 28 Mar 2014 08:49:55 +0530, Kaushal Shriyan said:
> How many lines of code and files and directories in the latest stable
> kernel 3.13.7?
find, xargs, and wc are your friends. For Linus's 'git' tree (3.14-rc8-ish):
[/usr/src/linux] find * -type d | wc -l
2947
[/usr/src/linux] find * -ty
On Fri, 28 Mar 2014 07:25:37 -, ê¹ì°¬ said:
> andcc %l7, 1, %g0
> bne linux_fast_syscall
> Then what is this "andcc %l7, 1, %g0" doing?
Well, I'm not an expert on Sparc assembler, but.. 'andcc' looks like it's
doing an and, and setting the cc (condition code). Then 'bn
On Sat, 29 Mar 2014 18:17:52 +0530, Sankar P said:
> However, there is no guarantee that the data will be actually written
> to disk. I have heard instances where a caching layer in the disk
> tells the filesystem that the data is written but the data was not
> written and there was a power failur
On Tue, 01 Apr 2014 05:57:05 -, Chan Kim said:
> When I'm on a sheel on LCD using USB keyboard, all works fine (except another
> important problem..) but Ctrl-C key doesn't work.
> When I press ctrl-C, '^C' is displayed on the screen (prompt line), but
> doesn't have the effect of killing the
On Wed, 02 Apr 2014 03:02:01 -0700, Anand Moon said:
> But their are too many confilits so no point in continue this way
> I will
> rather find patches from the old kernel and do some reverse engineering
> and apply them to latest stable kernel and lets see it it working.
Did you learn that you'
On Sat, 05 Apr 2014 13:05:42 +0200, Marcello Stanisci said:
> I built a linux kernel 2.6.10.
linux-2.6.10.tar.gz 24-Dec-2004 22:38 44M
Unless it's a really old box, Linux probably isn't sure how to support
it. Remember that in 2004, Intel was still releasing new versions of
the Pentium 4
On Tue, 08 Apr 2014 15:35:29 +0200, Peter Senna Tschudin said:
> I'm not sure that rdtsc registers are synchronized on different CPUs.
There exist Intel multi-core chipsets that explicitly do *not* have
synchronised rdtsc registers.
pgpxoLKfG3GEf.pgp
Description: PGP signature
__
On Tue, 15 Apr 2014 03:26:14 +0530, Arun M Kumar said:
> /home/arun/Dev/practice/Kmodules/Hello_world.c:1:0: error: code model
> 'kernel' not supported in the 32 bit mode
> /home/arun/Dev/practice/Kmodules/Hello_world.c:1:0: sorry, unimplemented:
> 64-bit mode not compiled in
> what could be th
On Wed, 16 Apr 2014 13:57:07 +0200, Martin Kepplinger said:
> I'd like to just read all pr_debug() messages like pr_info().
Did you consider, um, I don't know? Just building a kernel that
doesn't have CONFIG_DYNAMIC_DEBUG turned on?
Or you could read Documentation/dynamic-debug-howto.txt, and fi
On Wed, 16 Apr 2014 14:27:50 -0700, Henry Hallam said:
> 3. Is this sort of thing worth submitting to mainline?
Don't bother doing it unless you have first verified that it
plays nice with xntpd.
pgpc64Z20t6BU.pgp
Description: PGP signature
___
Kernel
On Sat, 19 Apr 2014 13:37:27 -0300, Geyslan Gregório Bem said:
> Maintainers, is there some chance to fix it or a.out is really doomed?
Is there an actual use case for a.out on a modern kernel?
In other wods, is there any reason to really care if it's doomed, since
it's been *years* since that w
On Sun, 20 Apr 2014 19:59:27 -0700, Amber Thrall said:
> I recently built and installed kernel version 3.15.0-rc1 following the
> KernelBuild article on kernelnewbies.org. Everything went smooth and my
> system is running fine. However when performing an update via (sudo yum
> update) the depende
On Tue, 29 Apr 2014 23:44:51 -0400, Adam Fowler said:
> called for my file, just open. When I ran strace I see a write call but it
> is to stdout and not to my file.
Are you write()'ing to the correct file descriptor number?
What is the source code for your userspace, near the open/write/close?
On Thu, 01 May 2014 16:12:43 +0530, Pranay Srivastava said:
> My question is that an Ethernet frame won't be bigger than 1500 bytes
> [correct?]
Incorrect. 10G and faster ethernet support jumbograms. We run our HPC 10G
network with an MTU of 9000 (which is 2 pages and a bit more).
pgpnrPt4x
On Sat, 03 May 2014 11:01:19 -0700, Hettiarachchige Hasitha Shan said:
> In the concept, it is required to obtain the list of neighbors within the
> LAN. I did some research online and I found out that I can obtain IPv4/ IPv6
> neighbors by typing
> in "ip -4 neigh show" or "ip -6 neigh show" in t
On Tue, 06 May 2014 15:51:15 -0700, David Matlack said:
> The patch series is here: https://lkml.org/lkml/2014/5/6/1. So it was
> delivered
> to LKML. But maybe the fanout failed. The messages are _not_ in my spam or
> trash folders. I don't think they were delivered at all.
If you posted it wit
On Wed, 07 May 2014 22:06:14 +0530, Jay Aurabind said:
> When I was building the kernel, I found a warning from drivers/mfd/
> abx500-core.c, that the Frame size is larger than 1024 bytes. Apparently the
> stack frame size can be changed from the config, but my question is, whether
> 1024 bytes lo
On Wed, 07 May 2014 14:19:20 -0700, David Matlack said:
> gmail.com implements DMARC on the receive end. The idea being, gmail sees that
> Sender != From, and silently drops the message (theoretically).
For those playing along at home who don't wear e-mail admin hats, the problem
is that several
On Thu, 08 May 2014 09:24:38 +0530, Jay Aurabind said:
> > Allocating 1K on the stack is indeed evil.
>
> Why would you say evil ? I didnt quite get why you meant by that. Is it
> at some extremes ? 1K is from the default ubuntu 14.04 config.
Some paths in the kernel get very deep stacks (for inst
On Fri, 09 May 2014 17:39:21 +0530, Jay Aurabind said:
> So shouldnt we assume that initial value (somewhere around 6K) should be
> enough since the maximum it went down is only till its 50% mark ?
Depends. Are you of the "we haven't seen it before, so it can't happen"
school of programming, or
On Mon, 28 Apr 2014 17:57:11 +0530, Sivakumar V said:
> I want a requirement to intercept rpc call to nfs(network file system) or
> get hold of nfs
> buffer in kernel space and get data from the buffer to print it.
First thing to do is take a step back.
What problem are you trying to solve by in
On Thu, 08 May 2014 22:49:05 +0530, Prasad Ram said:
> .Even though i am successfully
> boot that kernel i would like to know how to
> choose other kernels which are already installed on your system to boot.
grub and grub2 allow you to list multiple kernels to boot and provi
On Tue, 29 Apr 2014 20:54:41 +0300, Nada Saif said:
> I'm trying to add simple linux system call - I received the following error:
> "No rule to make target 'block ..."
>
> I use kernel 2.6.32 ..
> My system call called "YourFirstName"
>
> Any suggestion to solve the issue ?
Hint: Next time, jus
On Mon, 12 May 2014 15:14:11 +0800, RS said:
>So, how can I get the ZONE_DMA real size ? Is there any kernel functions or
>configuration files ? I want to get the accurate number.
What question are you trying to answer with that number? There's a good
chance that you're looking for something els
On Tue, 13 May 2014 19:38:42 +0530, me storage said:
> at first it run correctly after that again i build the same kernel at this
> time i don't what did i done wrongly it is not working properly .when i am
> starting my system it gives the error like "The System is Running in low
> graphics mode
On Wed, 14 May 2014 16:34:20 +0200, Bernd Petrovitsch said:
> sed -i 's#^/opt/new1.*$#d' file_entries.txt
You don't even need the leading 's'. Just /pattern/d is sufficient.
(And you can even do stuff like /pat1/,/pat2/s/old/new/ which will
change 'old' to 'new', but only from a line t
On Wed, 14 May 2014 21:27:06 +0530, Saket Sinha said:
> char newFileName[PATH_MAX];
> tabFileNew = setmntent(newFileName, "w");
And what is the new file name? You have random trash on the stack here.
(Note that this is C 101 - if you can't debug this on your own, you
probably shouldn't
On Wed, 14 May 2014 22:13:51 +0530, Saket Sinha said:
> I am sending /etc/fstab in fileName to this function and the path to
> be deleted in fullPath
OK.
> char newFileName[PATH_MAX];
This lives on your function call stack. As such, it contains whatever
was in that memory until you change it.
On Thu, 15 May 2014 14:19:25 +0800, Chuck Huang said:
> hi All,
>
> is anyone can explain why kernel do eight times nop in
> arch/arm/boot/compressed/head.S ?
>
> 128 start:
> 129 .type start,#function
> 130 .rept 8
> 131 mov r0, r0
> 132
On Thu, 15 May 2014 09:55:52 +0200, Bernd Petrovitsch said:
> sed -i '/\/opt\/new1/d' file_entries.txt
>
> should do it.
> Just for the match, we do not need, the tailing ".*$" (because it
> matches always).
Actually, you want to use /^\/opt\/new1[ \t]/d because otherwise it will
also delete line
On Sun, 18 May 2014 19:26:19 +0530, me storage said:
> Can any one please tell me how to boot custom kernel with out making any
> changes in the grub.That means i don't to use the custom kernel as default
> one.just i want to run it once.
Add it to grub but don't make it the default entry. Easy.
On Sun, 18 May 2014 11:20:39 -0700, Greg KH said:
> On Sun, May 18, 2014 at 07:20:03PM +0200, Matthias Beyer wrote:
> >
> > Besides, I received this mail about 10 times. Maybe something went
> > wrong somewhere?
>
> The joys of sending email over a cell phone while on a ferry in the
> middle of the
On Mon, 19 May 2014 11:47:23 -, Chan Kim said:
> Is this situation normal? (in the kernel, two different virtual addresses
> pointing to the same physical address.)
Think for a bit how shared libraries are implemented. Then think about how
mmap() of a shared region of a file at different virt
On Tue, 20 May 2014 02:34:14 +0800, Mohammed Gamal said:
> Don't worry, the kernel build system should only recompile the source files
> affected by the change.
You might want to try this in your kernel build tree, and be prepared to be
astounded...
% ls -lt include/generated
% find . -type f -
On Mon, 19 May 2014 17:06:41 -0300, Lucas Tanure said:
> How to get the help for a specific kernel compile option.
> Like, you do a "cat .config" in your .config file and see:
> CONFIG_GENERIC_CALIBRATE_DELAY=y
Run 'make menuconfig'. Once in it, hit / to get a search box.
Enter GENERIC_CALIBRAT
On Tue, 20 May 2014 00:39:26 -, Chan Kim said:
> But still it's confusing. Can two virtual addresses from the "same process"
> (in init process, one for nocache pool, the other not) point to the same
> physical address?
I'm not sure what you're trying to say there. In general, the hardware
ta
On Tue, 20 May 2014 15:55:09 -0500, Jaime Arrocha said:
> I am working on a Proliant server model which have 6 physical pci slots.
> They are going to be used for NICs with either 2 or 4 interfaces and
> installed in an arbitrarily order in the slots. By this I mean that the a
> certain box will o
On Fri, 23 May 2014 04:34:19 -0700, Hettiarachchige Hasitha Shan said:
> The concept includes capturing of packets via the use of libnetfilter and
> apply necessary security implementations. I was able to successfully capture
> packets and extract it relevant data where I store the IP address as un
On Fri, 23 May 2014 08:38:16 -0400, Corey Sheldon said:
> cat /proc/swaps: (should readout)
> /dev/block/zram0 52M (as kb readout most likely)
>
> if it shows a different slice path (/dev/zram0 for example) use swapon
> /that/mapping/path
It won't show /dev/block/zram0 untin you'v
On Sun, 25 May 2014 12:46:46 -, Pietro Paolini said:
> if ((fd = open(FILENAME, O_RDWR) == -1)) {
This sort of whoopsie is why most of the kernel uses this style:
fd = open(FILENAME, O_RDWR);
if (fd == -1) {
It may take an extra line of codde, but greatly reduces the
On Mon, 26 May 2014 12:21:12 +0530, Ramana Reddy said:
> I would like to know how to extract the cifs protocol header from skb
> buffer in the linux
> kernel. I want to parse the cifs header and do some stuff based on the
> content of the header.
Depending what you are trying to do, it may be bes
On Tue, 27 May 2014 03:08:53 +0300, Nada Saif said:
> Why this appear to me when I use make oldconfig :
>
> *** Error during writing of the configuration.
>
> make[2]: *** [silentoldconfig] Error 1
> make[1]: *** [silentoldconfig] Error 2
> mkdir: cannot create directory `arch/x86/syscalls/../incl
On Mon, 26 May 2014 15:04:17 -0300, Lucas Tanure said:
> git clone --depth 1
> git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git
Note that '--depth 1' results in a faster initial download, but it has
a number of disadvatages - you can't clone it into another tree of yours,
no
On Tue, 27 May 2014 10:19:37 +0300, Nada Saif said:
> I want to process a copy operation from file sent from user space - this
> copying should be inside the kernel..
Why? What problem are you trying to solve by doing this? This is almost
certainly a bad design, for a number of reasons.
And ther
On Tue, 27 May 2014 00:16:52 -0700, Anand Moon said:
> Please share your thoughts on this.
I'd do it slightly differently, by keeping a master copy of Linus's
tree, and a separate tree for the -stable additions (and other separate
trees for linux-next or whatever else you feel like...)
I keep my
On Tue, 27 May 2014 07:28:34 -0700, Greg KH said:
> So are you doing this as root? Because you should never do kernel
> development as root, just put kernel source trees in your home directory
> somewhere, like under ~/linux/
No, I'm not doing the builds as root. /usr/src has been fixed to be
own
On Tue, 27 May 2014 11:28:19 -0500, Victor Rodriguez said:
> Have you try the git archive instead of git clone? , if you do not need the
> history this git option rocks
That has the same problem as 'clone --depth 1' - you can't bisect using
the resulting tree.
pgplGNsmTr6Xg.pgp
Description: PGP
On Wed, 28 May 2014 13:28:20 +0530, Saurabh Jain said:
> I was reading the booting process of Linux kernel. I got to know that
> generally the location of MBR is first sector of the bootable device. I
> want to know that whether we can change the location (Starting address ) of
> Master Boot Recor
On Wed, 28 May 2014 21:48:04 +0300, Nada Saif said:
> I created a system call that deals with files - when I try to test the
> system call .
> I got a "killed " message. What this means?
It probably means either your system call or your test program is
buggy and generating a signal along the way.
On Wed, 28 May 2014 12:37:48 -0700, Aaditya Gavandalkar said:
> So considering all these points, is it of any advantage to save on swapping
> time while having all those extra overheads.
The short answer is "it depends". The long answer is "it depends".
Do you have actual numbers that show a sav
On Thu, 29 May 2014 11:13:09 +0800, RS said:
> How to detect the kernel memory overflow errors?
With a sufficiently recent gcc, you can build the kernel
with CONFIG_CC_STACKPROTECTOR=y which will put a canary
value on the stack and check it for corruption.
pgpsJAUnjB0ke.pgp
Description: PGP sign
On Thu, 29 May 2014 13:06:58 +0530, Ramana Reddy said:
> Is there any mechanism to get the payload area after extracting the transport
> header from skb at layer-2.
Step 0: Figure out why you're committing a layering violation and poking
around in the data down at layer 2. Ask yourself if a fragm
On Fri, 30 May 2014 12:32:32 -0700, Vipul Jain said:
> On my system I have /var/core directory created which has 300G space and if
> I fill the /var/core with files say upto 290G and reboot the system and
> after it comes up and delete the files in /var/core and try to reboot the
> system takes 45
On Sat, 31 May 2014 03:45:29 -0300, Raphael S Carvalho said:
> net/netfilter/nfnetlink.c: In function 'nfnetlink_rcv':
> net/netfilter/nfnetlink.c:363:14: warning: unused variable 'net'
> [-Wunused-variable]
> struct net *net = sock_net(skb->sk);
> ^
Of course, the real fun starts
On Mon, 02 Jun 2014 21:23:16 +0530, Saurabh Jain said:
> I am trying to trace Linux kernel booting process for ARM architecture.
> Right now i am doing it manually . I am getting problem in reading assembly
> codes (like in head.s and other files) . Can any body tell me the correct
> way of tracin
On Mon, 02 Jun 2014 20:56:35 +0200, Richard Weinberger said:
> 1. Find out which commit broke the build (i.e. using git bisect)
Any hint on a starting value for 'git bisect good v3.mumble'? :)
pgpeXYL4ntWD9.pgp
Description: PGP signature
___
Kernelnew
On Mon, 02 Jun 2014 21:10:10 +0200, Richard Weinberger said:
> I don't really now. I don't do out-of-tree builds on -next.
> Randy said its there for a few weeks.
A 'v3.14-rc7' or similar tag from Linus's tree is good enough,
as you can't do a sane bisect between (say) next-20140501 and
next-2014
On Tue, 03 Jun 2014 14:23:22 +0800, "jinz...@wingtech.com" said:
> In my code, I include the file , but when compiling the code,
> show the error as "can't find the file or directory asm/system.h". Why??
Probably because either:
1) Your Makefile isn't set up to use the Kbuild architecture, which
On Mon, 02 Jun 2014 19:12:47 -0700, riya khanna said:
> Thanks for pointing this out! I was wondering if it is possible to use
> a remote GPU through /dev/gpu.
No.
The upshot is that whenever you open a character or block special device, it's
handled as a local reference, even if the directory e
On Mon, 02 Jun 2014 20:29:16 -0700, Peter Tosh said:
> function_1()
> {
> do some stuff
> }
>
> my_print_function = function_1
>
> EXPORT_SYMBOL(my_print_function)
No, you want EXPORT_SYMBOL(function_1) here.
> function_t()
> {
> doing different stuff
> }
>
> my_print_fuction = func
On Tue, 03 Jun 2014 22:15:21 +0530, me storage said:
> diff --git a/a.txt b/a.txt
> index 76e499a..c341c1c 100644
> --- a/a.txt
> +++ b/a.txt
> @@ -1,5 +1,5 @@
> this
> is
> a
> -simple
> +slightly more complex file
> file.
>
>
> My doubt is how to create patch file which contains the modifica
On Wed, 04 Jun 2014 11:59:54 +0530, Saurabh Jain said:
> Can anybody tell me the best way to trace Linux kernel Booting sequence ?
Depending what question you're trying to answer, booting with the
commandline parameter 'initcall_debug' may be the right answer.
pgp__KypJEycM.pgp
Description: PG
On Wed, 04 Jun 2014 11:51:25 -0400, Andev said:
> On Wed, Jun 4, 2014 at 12:19 AM, Greg KH wrote:
>
> > have to worry about build times. Or, build on a ram disk, that goes
> > much faster :)
>
> I was actually trying to get this to work the other day. Are there any
> good pointers on how to setup
On Thu, 05 Jun 2014 18:10:06 +0530, Dipanjan Das said:
> Why isn't there a consistent interface for addition of syscall across
> kernel version?
Please read Documentation/stable_api_nonsense.txt for the explanation.
> How will I get to know the method for a specific kernel version officially?
I
On Fri, 06 Jun 2014 12:23:35 -0400, Andev said:
> I am trying to inspect the generated assembly for a function in the
> kernel. Are there any documents explaining how to do this? I want to
> see how it changes when I change the function body.
The same exact way you'd do it for any .o file for use
On Mon, 09 Jun 2014 15:35:20 -0500, Greg Donald said:
> I can boot v3.15.0-rc8 but not v3.15.0 (full kernel panic below).
>
> I tried bisecting, I did
>
> git bisect v3.15 v.3.15-rc8
>
> After 7 compile and reboot cycles I don't think I was able to find the
> bad commit. Every bisection booted wit
On Tue, 10 Jun 2014 08:26:12 -0500, Greg Donald said:
> the end. All 7 of the bisected kernels I built yesterday boot just
> fine.
Just to clarify - did 'git bisect' report a 'first bad commit is '?
Just wondering if the bisect in fact finished, or if you had an 8th bisect
still to do
On Wed, 11 Jun 2014 23:09:05 +0530, Joshi said:
> set_current_state (TASK_INTERRUPTIBLE);
> schedule ();
>
> Is this a sure-shot way of putting a thread to sleep, or are there
> conditions when this may not put the calling thread into sleep?
This will only succeed in guaranteeing the thread sleep
On Wed, 11 Jun 2014 11:58:02 +0530, Prudhvee Narasimha Sadha said:
> I just want to know what I should learn and any suggested books to
> learn kernel programming.
Learn C. Learn C *really* well. Especially the way the Linux kernel
implements object-oriented concepts using callbacks throug
On Thu, 12 Jun 2014 14:32:26 +0800, "jinz...@wingtech.com" said:
> Now we install git on servers, when we use "git clone" to download the code,
> the rate is too slow, how to speed the rate?
a) You can just start it Friday as you leave the office, and it should be
done by the time you get in on Mo
On Thu, 12 Jun 2014 14:44:35 +0800, "jinz...@wingtech.com" said:
> And use "top" command, show the memory has used 90%+, but the CPU just 1%+.
This is not indication of a problem - Linux will intentionally try to keep
potentially useful data cached in memory, so you should *normally* see
memory 90
On Fri, 13 Jun 2014 01:40:34 +0300, Nada Saif said:
> Which email client is best to submit tasks . I use gmail , and I get a
> problem with attachment base64!?
Personally, I use exmh. But that's pretty hardcore fringe. And I'm not
moving off it, because I have somewhere north of 1 million archive
On Thu, 12 Jun 2014 16:23:58 -0700, Ji Li said:
> I happened to find that a static function show up in kernel symbol table:
> Could anyone kindly cast some light?
Hint: 'static' prevents code in other compilation units (basically, other .c
files) from referencing it directly (though they can sti
On Fri, 13 Jun 2014 12:37:18 +0530, AYAN KUMAR HALDER said:
> [ 201.509858] FAT-fs (mmcblk0): Directory bread(block 32768) failed
That smells suspiciously like the driver failing to properly re-init
the card when powering back up from a resume
pgp6v0QjC8CWI.pgp
Description: PGP signature
_
On Sat, 14 Jun 2014 02:38:19 +0800, Chandrasekaran Sivakumar said:
> I wanted to use linked lists in one of my userspace programs in Linux.
Userspace. Remember that word.
> 1. I used the modified version of list implementation given in
> http://isis.poly.edu/kulesh/stuff/src/klist/list.h for my
On Mon, 16 Jun 2014 21:35:20 +0800, Chandrasekaran Sivakumar said:
> Apologies from me. I didn't explain my problem properly. I am working on
> modifying the linux kernel's scheduler framework to include support for
> real-time algorithms. In order to give user inputs such as number of tasks,
> th
On Wed, 18 Jun 2014 07:02:09 -0700, john bougs said:
> Without trying to sound confrontational, why not build it out of tree?
Why not have it build in-tree? That way you can throw it at Greg KH
and get it in (at least) drivers/staging, at which point you no longer
have to do ongoing maintenance t
On Wed, 18 Jun 2014 10:43:42 -0700, Anand Moon said:
> Hi Sanjeev, Please share the steps to configure Thunderbird so that it
> benefits all of us.
% grep -i thunder /usr/src/linux-next/Documentation/email-clients.txt
Thunderbird (GUI)
Thunderbird is an Outlook clone that likes to mangle text, b
301 - 400 of 1172 matches
Mail list logo