Kernel V4

Hi guys prob a silly question...
i only just read now that linux kernel v4 was released about 11 days ago...can any distros upgrade there kernel to 4 or only specific ones?

Is there really a huge benefit in doing so?

should i just lookup the information in the distros web site?


Similar Content



A Kernel Thread Shares The Open Files From A User Thread

Hi all,

In my work, I'd like to spawn separate kernel threads (tasks) to execute syscall asynchronously. Specifically, a user thread issues a syscall, goes into kernel, save the syscall number and arguments somewhere in the kernel address space, but does not execute the syscall. A kernel thread which is different from the user thread, will fetch the syscall number and arguments to execute the syscall on behalf of the user thread.
But for file operations such as read, the kernel thread is not aware of the open files of the user threads. For example, if the user thread opens a file and get a file descriptor, then it issue a read() syscall. The kernel thread cannot execute the read() on behalf of the user thread by just using the file descriptor. Thus I need some way to allow the kernel thread share the open files information with the user thread, such that the kernel thread will have the context of the open file to execute read(). I tried to pass the files_struct of the user thread's task_struct to the kernel thread, but it didn't help, read() returns a EFAULT error.
Can anyone give me some suggestions on how to make a kernel thread share the open files with a user thread? Or more straightforward how to execute the read() syscall in the example above in kernel thread? Thank you very much!

--Louis

Is It Time For A Modem Funeral?

I have a USB fax modem, and it logs the following errors when turned on.

I know it is impossible to know for sure, but think it is hardware related? Any chance to salvage?

Also, what are the steps to start troubleshooting?

Thanks

Code:
Jan 17 14:38:26 devserver kernel: generic-usb 0003:0461:4D0F.0066: input,hidraw2: USB HID v1.11 Mouse [PixArt USB Optical Mouse] on usb-0000:00:1a.0-1.2/input0
Jan 17 14:38:41 devserver kernel: usb 3-1: new full speed USB device number 24 using xhci_hcd
Jan 17 14:38:41 devserver kernel: usb 3-1: device descriptor read/all, error -71
Jan 17 14:38:41 devserver kernel: usb 3-1: new full speed USB device number 25 using xhci_hcd
Jan 17 14:38:41 devserver kernel: usb 3-1: device descriptor read/all, error -71
Jan 17 14:38:41 devserver kernel: usb 3-1: new full speed USB device number 26 using xhci_hcd
Jan 17 14:38:41 devserver kernel: usb 3-1: device descriptor read/8, error -71
Jan 17 14:38:41 devserver kernel: usb 3-1: device descriptor read/8, error -71
Jan 17 14:38:41 devserver kernel: usb 3-1: new full speed USB device number 27 using xhci_hcd
Jan 17 14:38:41 devserver kernel: usb 3-1: device descriptor read/8, error -71
Jan 17 14:38:42 devserver kernel: usb 3-1: device descriptor read/8, error -71
Jan 17 14:38:42 devserver kernel: hub 3-0:1.0: unable to enumerate USB device on port 1

HowTo: Compile/Install Linux Kernel 3.19 On Debian Jessie

Would anyone be willing to share their knowledge on: How to compile and install Linux Kernel 3.19 in Debian jessie?

So the new kernel is out and I've been patiently waiting for its release for the support of Microsoft Surface peripherals. I recently switched over to Debian because I'm not fond of some of the moves Ubuntu is making. So thats the short story, and fundamentally unimportant to the question.

Considering my lack of experience with Linux, or should I say others extensive experience, please be as detailed as you care to be. I did end up finding instructions containing 4 or so lines with 3 or so words in each line, buried in some website, but the information wasn't sufficient for me to follow. Needless to say those instructions were for someone who didn't need the specific terminal commands which I certainly do.

amd64

Thank You.

Preempt_rt Install Over Ubuntu 14.04

Hi everyone (i hope this is the right section)

Im trying to install the RT patch preempt_rt 3.18.9 im running Ubuntu 14.04 with kernel v 3.16

i installed the rt patch "patch-3.18.9-rt5.patch" and also a new kernel "3.18.9" i patched the patch file with

patch -p1 < patch-3.18.9.patch

but there is somthing i don't know about linking folders of old kernel and new kernel, i searched about it and found

rm -rf linux && ln -s /usr/src/linux-3.18.9 linux && cd /usr/src/linux

then

make oldconfig

then

make menuconfig

i selected Full preemptive kernel then

make

then this error

cc1: some warnings being treated as errors make[2]: * [kernel/locking/locktorture.o] Error 1 make[1]: * [kernel/locking] Error 2 make: *** [kernel] Error 2


So..... Any help?? can someone walk me through this

or any other real time patch, Thanx.. plzzzzzz

Topic - What Is Linux Kernel And How To Upgrade To Linux Stable Kernel 3.18.1

What Is Linux Kernel?

Those who don't know what is the Linux Kernel they should know it because Linux kernel is the essential part of any Linux operating system. It is responsible for resource allocation, low-level hardware interfaces, security, simple communications, basic file system management, and more. Written from scratch by Linus Torvalds (with help from various developers), Linux is a clone of the UNIX operating system. It is geared towards POSIX and Single UNIX Specification compliances.

Latest Stable Linux Kernel Version 3.18.1
It's been a quiet week, and the patch from rc7 is tiny, so 3.18 is out.
I'd love to say that we've figured out the problem that plagues 3.17 for a couple of people, but we haven't. At the same time, there's absolutely no point in having everybody else twiddling their thumbs when a couple of people are actively trying to bisect an older issue, so holding up the release just didn't make sense. Especially since
that would just have then held things up entirely over the holiday break.
So the merge window for 3.19 is open, and DaveJ will hopefully get his bisection done (or at least narrow things down sufficiently that we have that "Ahaa" moment) over the next week. But in solidarity with Dave (and to make my life easier too let's try to avoid introducing any _new_ nasty issues, ok?]

To read all the changes and bugs fixed Download the changelog below -
Changelog

Why to Upgrade to the Latest Linux kernel

Recently in December Linux Kernel version 3.18.1 has been released and announced by Linus Torvalds. If you are using Ubuntu 14.04/14.10 or Linux Mint or any other debian/Ubuntu based then you can update to the latest kernel 3.18.1 to fix bugs, increase performance and security of the system.


Install Linux Kernel 3.18.1

Because it is not available via PPA, the needed deb packages of Kernel 3.18.1 are available via kernel.ubuntu.com. Follow the instructions for your system’s architecture exactly, in order to get a successful installation.

To install or update Latest Stable Kernel 3.18.1 on Ubuntu 15.04 vivid vervet, Ubuntu 14.10 Utopic Unicorn, Ubuntu 14.04 Trusty Tahr (LTS) , Linux Mint 17.1 Rebecca, Linux Mint 17 Qiana, Pinguy OS 14.04, Elementary OS 0.3 Freya, Elementary OS 0.2 Luna, Peppermint Five, Deepin 2014, LXLE 14.04, Linux Lite 2.0, Linux Lite 2.2 and other Ubuntu derivative systems, open a new Terminal window and bash (get it?) in the following commands:


For Linux system 32 bit :

Pass the following commands in the terminal to download the kernel file.

$ wget http://kernel.ubuntu.com/~kernel-ppa...170637_all.deb

$ wget http://kernel.ubuntu.com/~kernel-ppa...70637_i386.deb

$ wget http://kernel.ubuntu.com/~kernel-ppa...70637_i386.deb

Install Linux Kernel 3.18.1


$ sudo dpkg -i linux-headers-3.18.1*.deb linux-image-3.18.1*.deb

Atfer install complete, update grub and reboot your computer and choose new kernel in grub :

$ sudo update-grub
$ sudo reboot

For Linux system 64 bit :

$ wget http://kernel.ubuntu.com/~kernel-ppa...170637_all.deb

$ wget http://kernel.ubuntu.com/~kernel-ppa...0637_amd64.deb

$ wget http://kernel.ubuntu.com/~kernel-ppa...0637_amd64.deb

Install Linux Kernel 3.18.1

$ sudo dpkg -i linux-headers-3.18.1*.deb linux-image-3.18.1*.deb

Atfer install complete, update grub and reboot your computer and choose new kernel in grub :

$ sudo update-grub
$ sudo reboot

How To Uninstall Linux Kernel 3.18.1

If you come across any problem after installing/upgrading to linux kernel, can uninstall the newly installed kernel and switch back to old kernel.

$ sudo apt-get remove 'linux-headers-3.18.1*' 'linux-image-3.18.1*'

Kernel Updates -LInux Mint 17.1 W/Cinnamon

I'm new to Linux and have a question regarding the updating of Linux Kernels.

Should I wait until a kernel update is offered through the update manager, or should I go and get an updated kernel from the update manager/view/linux kernels?

What Is The Cause Of Nouveau Freezing At Boot LiveMedium And What Is The Best Fix?

Hello.

I am a newcomer to Linux, coming from Windows, desktop PC user. I already have a few months' experience with Ubuntu and Mint. I can handle some basic terminal commands, but I prefer the GUI whenever possible.

I'm not an IT specialist, far from it. Just a normal average computer user who can read a few things if they are understandable enough, and wants a decent operating system. So please speak to me in simple human terms, I can handle high tech jargon only so much. Thanks.

I have 2 main questions:

1. I've encountered problems when booting from LiveCD (written to USB) with both Mint and Lubuntu. The boot menu appeared but when I pressed any of the “try live” or “install” options, the screen froze with garbled checkerd pixels. Web searching for solutions, I found the thing with accessing special boot options and adding kernel parameters like 'nomodeset' and 'noaccel' and doing that I could proceed with installation. Then, after installing proprietary drivers, everything was fine.

This is not the first time this happened. As far as I understand this is related to the nouveau driver.

Does this happen only with some distros, like, for example, Ubuntu and its derivatives, or is it a larger problem from the main Linux kernel? From what I've read on some forums, such problems happened with other graphic cards as well, and it seems to be an old problem as old as 2011 if not older.

Why nothing could have been done to fix these issues so far? Couldn't all distros use some option from boot menu to either go with simple safe vesa graphics mode or a text based helpful install that might guide the user afterwards in downloading the proprietary drivers if s/he desires?...

And what is the main cause of the problem? Nvidia not doing FOSS drivers? Nouveau not being flexible enough? Linux kernel not keeping up? Particular distros that don't care about adding an extra boot option? A combination of all these? What is to be done? Would switching to other distro help in this regard? how would I know which distros use nouveau and which don't?

2. I'd like to look into other distros as well. What I need is stability, meaning as bug free as possible, as few apps hanging or crashing as possible, while still being user friendly. But no rolling realeases, please. I want to update the system without fear that I won't boot into desktop – again!

I need distros that come with multimedia codecs, Flash and stuff out of the box and also an easy option to install the proprietary video card graphics driver. I am all for FOSS, but for now I'm also being realistic, and unfortunately have to go with proprietary drivers.

What recommendations do you have?

Thank you.

Changing McBSP Registers In Embedded Linux Kernel On Beagleboard XM

Hi everybody,

I hope this is the rate place for this question on which gives me a realy hard time.
I have a Beagleboard xM running Ubuntu (installed via Matlab Simulink Support Package), which is connected to a CS42448 audiocodecboard. To communicate with that codec I will have to change the McBSP-Registers on the DM3730 Processor, which is of the OMAP3 Family. (If it helps: McBSP is nothing else then the I2S-Version of Texas Instruments, which is a bus for serial audio data)

To do so I think I will have to change the kernel, but how can I find the right files and how can I change the kernel? The Kernel I'm running is 3.2.0-23-omap
Furthermore I could find in 'usr/src/linux-headers-3.2.0-23/sound/soc/omap/' a makefile and the Kconfig which includes the following (and much more)

-config OMAP_MCBSP
tristate
depends on ARCH_OMAP

config SND_OMAP_SOC_MCBSP
tristate
select OMAP_MCBSP

I don't want to post to much and I can't really tell what information is relevant and what not. I'm quite new to linux and would be really really happy if you guys could give a few tipps and tricks or probably a ruff list of things I have to do, to change these Register to what I want them to be.

Thank you very much allready!

Regards,

Lenni

Which Disk Is Ata1.00?

Hi! I have a failing disk and the kernel messages are the following:
Code:
Απρ 01 15:07:02 Arch kernel: ata1: lost interrupt (Status 0x50)
Απρ 01 15:07:03 Arch kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
Απρ 01 15:07:03 Arch kernel: ata1.00: failed command: WRITE DMA
Απρ 01 15:07:03 Arch kernel: ata1.00: cmd ca/00:08:20:32:6a/00:00:00:00:00/e4 tag 0 dma 4096 out
                                         res 40/00:00:4b:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
Απρ 01 15:07:03 Arch kernel: ata1.00: status: { DRDY }
Απρ 01 15:07:03 Arch kernel: ata1: soft resetting link
Απρ 01 15:07:03 Arch kernel: ata1.00: LPM support broken, forcing max_power
Απρ 01 15:07:03 Arch kernel: ata1.00: LPM support broken, forcing max_power
Απρ 01 15:07:03 Arch kernel: ata1.00: configured for UDMA/133
Απρ 01 15:07:03 Arch kernel: ata1.01: configured for UDMA/133
Απρ 01 15:07:03 Arch kernel: ata1: EH complete
Απρ 01 15:09:19 Arch kernel: ata1: lost interrupt (Status 0x50)
Απρ 01 15:09:20 Arch kernel: ata1.00: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen
Απρ 01 15:09:20 Arch kernel: ata1.00: failed command: READ DMA EXT
Απρ 01 15:09:20 Arch kernel: ata1.00: cmd 25/00:20:e8:b2:fd/00:00:18:00:00/e0 tag 0 dma 16384 in
                                         res 40/00:00:4b:4f:c2/00:00:00:00:00/00 Emask 0x4 (timeout)
Απρ 01 15:09:20 Arch kernel: ata1.00: status: { DRDY }
Απρ 01 15:09:20 Arch kernel: ata1: soft resetting link
Απρ 01 15:09:20 Arch kernel: ata1.00: LPM support broken, forcing max_power
Απρ 01 15:09:20 Arch kernel: ata1.00: LPM support broken, forcing max_power
Απρ 01 15:09:20 Arch kernel: ata1.00: configured for UDMA/133
Απρ 01 15:09:20 Arch kernel: ata1.01: configured for UDMA/133
Απρ 01 15:09:20 Arch kernel: ata1: EH complete

I have 2 disks: sda, sdb. Which disk is it referring to?

Thanks a lot

Confusing Tutorials: Which One To Follow?

Hi everyone,
I'm planing to join the development team of Linux kernel. As the first step, I started to clone git repo of the linux-next that I found two contradictory tutorials:

https://www.kernel.org/doc/man-pages/linux-next.html

https://github.com/gregkh/kernel-tut...rnel_patch.txt

Which one should I follow?

Thanks.