Questions tagged [linux-kernel]
This tag is for questions about the internals of the Linux kernel itself - particularly about use or configuration of kernel modules or drivers.
492
questions
0
votes
1
answer
308
views
user not able to access the file which has privilege via group
I am facing the below problem in linux kernel 2.6.18-7.1
I created user "BBC" using adduser -D after this /etc/passwd contains "BBC:x:1010:1010:Linux User,,,:/home/BBC:/bin/sh"
I created group "...
3
votes
1
answer
300
views
Should I compile the linux kernel in the git repository itself?
This is about common practices. I have a git repository containing the linux kernel. Now I want to build this linux kernel. Should I copy the sources outside the git repository and then build the ...
4
votes
2
answers
18k
views
How do I set up grub2 with Xen?
I am booting a new Xen kernel and it all goes fine up until some point during the boot process when the machine reboots without warning. Unfortunately, I don't see errors flash up just before that ...
1
vote
1
answer
428
views
Building the Linux kernel: compute intensive or disk I/O intensive?
I am trying to explain some results that I got from a recent benchmarking experiment. For that I need to know whether compiling the Linux kernel is a compute intensive task or a disk I/O intensive ...
0
votes
1
answer
570
views
Linux kernel compilation taking over 4 GB of temporary disk space
I am trying to compile linux kernel 2.6 and am shocked to see it is taking over 4 Gigs of disk space. It is also taking around 80 minutes to compile. Is it normal ? Or am I doing something wrong ?
...
2
votes
3
answers
6k
views
How does route -n work in Linux?
I can understand the output of strace route -n, but does route really read any of the files in /proc to get the routing table? Also, if the routes and IP addresses are stored under /proc, why doesn't ...
0
votes
1
answer
217
views
How to extract architecture part from kernel naming
I kept bumping into it all the time, only now when I need it I can't find it anywhere! What architecture is the kernel of my machine?
2.6.18-194.el5
0
votes
1
answer
3k
views
Kernel panic when trying to setup rootfs over NFS on ARM board
I have a ARM board on which I am trying to configure NFS so that the rootfs will be mounted over a network. How can I resolve this?
My server configuration:
OS: Scientific Linux 6.0
My NFS shares:
...
10
votes
2
answers
19k
views
how to totally clear the filesytem's cache on linux?
In a performance test, I want to bypass the influence of cache of linux system (including page cache/inode cache and so on).
I have tried O_DIRECT flag, but it's turned out that direct I/O is still "...
1
vote
1
answer
2k
views
Setting /proc/sys/vm/overcommit_memory to 1 and then exhausting addresses
As I understand it, setting /proc/sys/vm/overcommit_memory to 1 is supposed to make sure malloc always succeeds, and set the OOM killer loose if there's an actual memory problem.
I'm wondering what ...
0
votes
0
answers
90
views
Unified file system across Windows and Linux for type-2 hypervisor
Is there anyway to map a Windows disk partition( c:/, d:/) to Linux (running as guest on top of Windows host Type-2 hypervisor)?
There are few solution like a shared folder in VirtualBox, however, ...
0
votes
1
answer
759
views
Ubuntu is running in low-graphics mode
This error appears during Ubuntu 10.04 start up and I can run in low graphics mode. I tried to install the NVIDIA driver and then it works but when I reboot Ubuntu this error appears:
(EE) NVIDIA(0): ...
0
votes
1
answer
421
views
What's new in Linux 3.0? [closed]
Linus Torvalds just announced that he's releasing version 3.0-rc7. So what's new in Linux 3.0 when it comes to:
Architecture
Stability
Security
Hardware support
etc
2
votes
2
answers
3k
views
Out of space while bulding Linux kernel
I am trying to build Linux kernel. I am getting out of space after a while. I unpacked it in /usr/src directory. It seems I have plenty of space. Can you please let me know what can be done about it. ...
34
votes
5
answers
70k
views
What does "sudo -s" actually do?
I am using ubuntu 10.04.
I notice that after I run in terminal:
sudo -s
The prompt changed from:
my_user@my_hostname
to:
root@my_hostname
Seems it changed to root privilege.
But when I check the ...