New answers tagged linux-kernel
0
well the kernel build tree, is the kernel source itself
to get it an "install" it you should:
download kernel you want at www.kernel.org (in your case 3.4.0).
extract to /usr/src
ln -s linux-xxxxx linux
I think you can download it as well via apt like sudo apt-get install linux-source (if you need the 3.4.0 make sure that your debian has it as package)
...
4
The key to what's happening is that it hung in modprobe: it's probably hung trying to load a module for a piece of hardware.
Stuff to try:
add noapic to the kernel command line, and make sure quiet isn't present so you can see what's going on
make sure your laptop's BIOS is at the latest version
if you do manage to figure out which module is causing the ...
2
It seems as if you have a non-standard set of packages on your machine. The version of gcc you have installed is from the testing repo. As the change of dependencies from gcc can be quite long, there are probably many other packages on your machine that come from testing.
There are a few things you could try:
Downgrade gcc. This could be unpleasant due ...
1
Potential issue #1
I found an issue similar to yours covered over in this Server Fault Q&A titled: How to fix “BUG: soft lockup - CPU#0 stuck for 17163091968s”?. Perhaps it's related to your issue as well.
Potential issue #2
Another issue in launchpad, sounds similar to yours. Issue's title: BUG: soft lockup - CPU#0 stuck for 23s! [kworker/0:3:566]; ...
0
(links below are supporting documentation and not necessarily directly related to your question).
As Michael and DavAlPi pointed out some filesystems (like ext4, btrfs and zfs) CRC both files and filesystem metadata.
With ext2, the filesystem is modified with each mount, setting it to "dirty."(this was replaced with needs_recovery in ext3) When it is ...
0
It seems like the cause of the issue is UltraKSM-related. I have no exact proofs at the moment on hands, but it's very likely.
0
That is not (at least not primarily) a VSS feature but a feature of every program you run. If you are lucky. Of course, you cannot force a program to have such a feature. But such a "write back your data" feature would be nice even without snapshots. But I am sure that similar features exist in every serious database for Linux.
0
Try it. I did try CentOS with an uncompressed kernel and it works well with pygrub.
The almost historical reason for the compressed images is that they had to fit on a 1.44 MB Floppy.
Compression is still great if you do a network boot via low banbandwidth network.
0
Quoting:
Issue
RHEL prints messages about processes "blocked for more than 120 seconds" including call trace
Server is hung or unresponsive
Poor system performance, especially under heavy disk I/O
Application is hung in 'D' state for 120 seconds or longer
System is up but hangs on login until reboot
Source: ...
0
If a task is blocked, it waits for resources to become available again.
In your case there was propably either a IO-problem or a contention in the disk-area. Or your system-load was so high that there was not enough CPU-power available to finish the job in time.
I have seen this error from cron, if it tries to start a job in a very busy time.
0
It has been a while since I did cross compilation, but I found this description of doing cross compilation quite clear, YMMV.
Depending on your specific target there might be more specific documentation available online.
I would set up two complete new trees (one for 3.4 and one for 3.8) for compiling the kernel and not use the apt-get command as it will ...
3
UNIX domain sockets and FIFO may share some part of their implementation but they are conceptually very different. FIFO functions at a very low level. One process writes bytes into the pipe and another one reads from it. A UNIX domain socket has the same behaviour than a TCP/IP socket.
A socket is bidirectionnal and can be used by a lot of processes ...
0
A "FIFO" and a "named pipe" is the same thing - though it's quite different from how a shell handles a "pipe" (|) between two commands on the command-line.
A named pipe (FIFO) is a single "file" shared by two programs, where one writes to it and the other read from it... A socket on the other hand is a "connection" between two "files" - which may use a ...
2
GRUB does not have to load the whole kernel into memory. The kernel image is split into two pieces:
The real-mode kernel code, which is small and can be loaded within the 640kB threshold of available memory;
The rest of the kernel, which runs in protected mode and is loaded after the first megabyte of memory.
The bootloader only loads the real-mode ...
0
Can't you just use the most recent stable kernel? If you have old source code for device drivers I think that all you should check is that the device names match (like /dev/eth0 is /dev/enp2s0f0 -> I still don't know why this is any good).
1
Your display manager (lightdm, openbox, etc.) is a child of init which is owned by root. Init isn't set-uid because it's a very special process and is just started with uid of 0. The command ps -eaH gives a structured view of parentage, the relevant bits are:
r 1 ? 00:00:00 init
r 1521 ? 00:00:00 lightdm
r 1531 tty7 00:00:12 Xorg
...
0
/proc is a special pseudo filesystem. From proc(5) (man 5 proc):
The proc file system is a pseudo-file system which is used as an inter-
face to kernel data structures. It is commonly mounted at /proc. Most
of it is read-only, but some files allow kernel variables to be
changed.
I recommend reading the complete man page for an ...
1
Picking a kernel is a constraining problem:
kernel must be new enough to reliably support hardware you're running on (i.e.: NIC drivers)
kernel must be new enough to reliably support software features you're planning to use (i.e.: iptables)
kernel must be new enough to get rid of as many vulnerabilities as possible
kernel must be old enough to be proven ...
2
3.x is just continuation of 2.x - at one point Linus decided that the "x" part of the version is too big. Generally you probably want reasonably recent kernel, probably one marked as "longterm". A lot also depends on your application as well - while remote security holes in kernel are rather scarce, local problems are much more prevalent.
4
I am quoting a comment by Richard Stallman, regarding the decision to roll with the Hurd rather than Linux.
People sometimes ask, ``Why did the FSF develop a new free kernel
instead of using Linux?'' It's a reasonable question. The answer,
briefly, is that that is not the question we faced.
When we started developing the Hurd in 1990, the ...
-4
Linux can not be Unix, since Linux is not conforming to Posix.
So even without political hassle Linux can not meet the design goal for Hurd.
Cite:
"The Hurd is the GNU project's replacement for UNIX, a popular operating system kernel."
Astonishing, that there is a Debian/Hurd-Projekt. But that is possibly a different story...
BTW: Windows (since NT/XP) ...
3
I would take a look a these CentOS howtos to get started. CentOS is the community edition of RHEL. It's pretty much identical to what Red Hat provides in their version of the distro.
I Need to Build a Custom Kernel
I Need the Kernel Source
How To Compile A Kernel - The CentOS Way
1
The ALSA drivers are part of the kernel, and thus depend on the kernel version.
However, in your pipeline, you are not using ALSA drivers.
The ALSA library, PulseAudio, and Jack are all userspace programs that are not affected by the kernel version.
The only kernel drivers used are the FireWire drivers, which did not have any relevant changes recently.
4
You can look for the cpio newc header (starting with 0707010):
$ grep -abo 0707010 vmlinux.bin | head -n1
2531404:0707010
The -a (for all files even binary ones), -b (for byte offset), and -o (for only the matching part (and report the byte offset of the matching part instead of the line containing the matching part)) are non-standard GNU extensions to ...
0
You may explore Linux Tutorial for beginner
This is having 4 sub chapter and good coverage for beginner to start with
-2
The first step is file vmlinux.bin.
Sorry, but "vmlinux.bin: data" usually means so much for this. If file doesn't recognize a file then the standard utilities will not be able to help you.
But from reading the download page it seems that this is the OpenRISC 1000 version of the Linux kernel. Thus it makes perfect sense that file does not recognize it.
I ...
34
There is much documentation and discussion on this on the net.
The short answer that there are deep ideological differences between the GNU project and the Linux kernel projects, which gets in the way of a possible unification.
The focus of the FSF, the organization behind the GNU project, is on ideological purity with respect to the idea of free software. ...
59
GNU will not adopt something as a project unless the developers agree to certain stipulations which bind all official GNU projects.
Currently the linux kernel probably does not fit these restrictions, and there is nothing for Linus T., kernel.org, et al. to gain from placing themselves under the GNU umbrella, and a lot to lose -- the aforementioned binding ...
2
If your glibc is reasonably current, and devpts is set up correctly, there should be no need to invoke the pt_chown helper at all.
You might be running into a known/potential issue removing setuid-root from pt_chown.
grantpt() supported devfs from glibc-2.7, changes were made in glibc-2.11 though so that rather than explicitly checking for ...
Top 50 recent answers are included



