Hello. I am really new to linux.
I was wondering whether debugging the kernel with KGDB is possible or not in kernel version 3.x
Hi I am new to linux kernel programming.
To debugging kernel I am using Debian-Squeeze.
Actually "apt-get install gcc" occur some errors in Debian
When I use ifconfig there is no ethernet so that I guess Internet is
unavailable even if there is internet connection
Below is my screenshot from terminal.
Please somebody help me.
Thanks.
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
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.
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?
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?
Hello
I am trying to log the Kernel level PPPd raw PPP messages (version 2.4.2) using Linux kernel 2.6.x to the /etc/syslog or /var/log/messages but the logging is not enabled for some reason.
I pass the kdebug 7 or kdebug 31 to the PPPd using /etc/ppp/options but the Kernel level debug logs are not shown in /proc/kmsg or using klogd or syslogd.
Can anyone please help me to fix this. What might be the problem?
Please reply..
Thanks,
Rakesh
I'm currently reading Brian Wards book: How Linux Works: What Every Superuser Should Know 2nd edition and I'm confused about step 3 in the context of the other steps:
1. The CPU (the actual hardware) interrupts the current process based on an internal timer, switches into kernel mode, and hands control back to the kernel.
2. The kernel records the current state of the CPU and memory, which will be essential to resuming the process that was just interrupted.
3. The kernel performs any tasks that might have come up during the preceding time slice (such as collecting data from input and output, or I/O, operations).
4. The kernel is now ready to let another process run. The kernel analyzes the list of processes that are ready to run and chooses one.
5. The kernel prepares the memory for this new process, and then prepares the CPU.
6. The kernel tells the CPU how long the time slice for the new process will last.
7. The kernel switches the CPU into user mode and hands control of the CPU to the process.
What does he mean preceding time slice as surely the tasks have been completed during the time slice in steps 1-2?
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*'
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
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