Programming :: Netlink Sockets In Kernel And Ethernet Driver - Kernel Crash

Aug 31, 2010

I write the network driver. Transmission of packets in user space I do through netlink socket`s. In user space there is a handling of packets and their transmission on other device (however, it isn't important).

Problem in that any time, packets through the driver in system, and is reverse, are transferred normally. But then there comes the moment when the kernel crash. If to look in syslog it seems to me that comes deadlock. Also I think that it is related with netlink socket`s.

I can't find the information on that anywhere how correctly to use netlink socket`s in kernel space. Can at you will any a reason into the account of synchronization of sockets and the driver in kernel space?

I can give the driver code if it is necessary.

View 2 Replies


ADVERTISEMENT

Red Hat :: Install Ethernet Adapter Driver - Not Finding Kernel-devel Or Kernel-headers

Aug 30, 2010

I'm attempting to install the driver for my atheros AR8131 PCI-E Gigabit Ethernet adapter (in my Lenovo laptop) on my newly installed RHEL5 system (it's not currently being recognized).

I tried using: 'make install' but hit an error "Makefile:61: *** Linux kernel source not found."

After this, I tried: 'sudo yum install kernel-devel kernel-headers'

To rectify this, but hit this error "No package kernel-devel available" (and the same for the headers). What should I do?

View 5 Replies View Related

Programming :: Delete The Default Gateway Via NETLINK Kernel API?

Apr 15, 2010

I am looking for a way to delete the systems default gateway from the routing table via the NETLINK API.Unfortunately, the documentation I found about NETLINK is incomplete.There are some basics (communicating with the kernel, reading the routing table) but not much more.Does anyone know the packet format for deleting a routing table entry, especially deleting the default gateway? I can set or change the default gateway with the following parameters (there are more, but I left out all the non-essential ones):

NL-Msg Header:
nlmsg_flags = NLM_F_REQUEST | NLM_F_CREATE;
nlmsg_type = RTM_NEWROUTE;

[code]....

View 1 Replies View Related

General :: Using Netlink Sockets To Get MAC Address?

Jul 7, 2010

I am trying to retrieve an interface's MAC address using netlink address. I got to a point, where I am able to parse the reply for 'RTM_GETLINK' till 'case IFLA_ADDRESS'. After that, I have no idea to print the MAC address.

View 1 Replies View Related

Fedora :: Nvidia 8600m Gt Driver Fc12 - Kernel Automatically Will Change To Be A Pae Kernel?

Jul 4, 2010

my problem is on installing nvidia driver on fc12 32bit but, first of all, as i understood the pae kernel requires more than 4gb of ram,i have a 2.2 ghz cpu with 2 gb ram,but when i run command:uname -r it answers: 2.6.31.5-127.PAE [i have fc12 32 bit] when we try to download linux we have a 32bit edition or 64bit edition,do we have an edition which is only for pae? or when we install for example the 32bit edition on a computer with more than 4gb of ram then the kernel automatically will change to be a pae kernel??

View 10 Replies View Related

Ubuntu Installation :: ATI Driver And New Kernel 2.6.35 Kernel - No Longer Work

Nov 24, 2010

With the recent upgrade kernel, my ATI driver can no longer work. After upgrading to the new kernel, upon reboot I would get stuck at the "checking battery status" and can't boot into kubuntu.

I'm running Kubuntu 10.10 64 on intel i5 with radeon hd 4870.

So I thought I messed something up since I was fooling around with conky script the day before. I did a clean install of kubuntu 10.10 64 and reset all my settings and my files. At this point, everything works smoothly and I can reboot multiple times without a problem.

I proceeded to install the Radeon catalyst driver following the documentation, which worked perfectly for me on the previous kernel. After rebooting, I can no longer get pass the "checking battery state" black screen. I had to boot into safe book, uninstall all fglrx and also delete xorg.conf to be able to boot back in normally.

View 5 Replies View Related

Debian Installation :: Kernel Liquorix And Nvidia Driver / Error Doesn't Found The Kernel Source Tree?

Oct 1, 2010

I installed the latest kernel liquorix (2.6.35) but when i want to install the Nvidia driver downloaded on the Nvidia website (256.53), i have an error message because Nvidia doesn't found the kernel source tree.

I install linux-image-2.6.35-6.dmz.2-liquorix-686_2.6.35-16_i386.deb, linux-headers-2.6.35-6.dmz.2-liquorix-686_2.6.35-16_i386.deb and build-essential. I don't understand why the installation doesn't works.

View 1 Replies View Related

Networking :: Packet Generation - Info On Sockets In Kernel Level?

Jul 14, 2011

I am learning about net filters and I am practicing some sample programs on it. I am very new to this and I have a general query. I got the packet to a desired function using PRE_ROUTING hook. Now how do I frame a packet from this point? I am just trying to simulate a echo client server program in the kernel level using these hooks. Any useful info on sockets in the kernel level?

View 1 Replies View Related

Ubuntu :: Program Kernel Modules And Smoothly Transition In Device Driver Programming?

Apr 27, 2011

i am trying learn to program linux kernel modules and smoothly transition in device driver programming. I have a year and a half worth of programming in C and have been using linux for years!! But my question is how do i compile a module? I got as far as coding it but am stuck as of now.

View 2 Replies View Related

Ubuntu :: Can't Detect Broadcom Netlink BCM57785 Gigabit Ethernet PCIe

Aug 5, 2011

I'just installed ubuntu 10.04 LTS on my new laptop(ACER aspire 5750). Ubuntu installed perfectly. Every things working ok but, it can't able to detect my CABLE MODEM.

View 1 Replies View Related

General :: Build Broadcom Netlink BCM5787M Onboard Ethernet Cards (x2)

Apr 13, 2010

I would like to get my Slackware 11 to work with the Broadcom NetLink BCM5787 onboard Ethernet Cards (x2). I have downloaded the tg3 driver from the Broadcom site. I copied and extracted the driver onto the Linux harddisk. When I wanted to build it I got the message, tg3_compat.h: error : redefinition of 'msecs_to_jiffies'previous delay.h : error: definition 'msecs_to jiffies" was here"

View 3 Replies View Related

Debian :: Compiling Kernel - 2.6.26 Version Of Kernel Doesn't Longer Exist In Kernel.org Website

Sep 16, 2010

i'm using this guide videos - howto: debian linux kernel compilation, part 1 and the author says i need kernel 2.6.26 this version of kernel doesnt longer exist in kernel.org website and the only 2.6.26 i found is a patch here. should i use the patch? or download another version of kernel?

View 2 Replies View Related

Fedora :: Kernel Crash In F14 64 Bit / Solve This?

Dec 26, 2010

The best word that suits me to introduce is I am a novice! :-) but it is the difficult part get over with the new things and learnings!

Well once such situation made me introduce me to you is "Kernel Crash". I've recently installed Fedora 14 64 bit version on my HP HDX premium series, since then this Kernel crash is chasing me down! code...

View 2 Replies View Related

OpenSUSE Network :: Crash Of NIC Cause Of Kernel?

May 9, 2011

Since I updated the Kernel I have the problem that the NIC crashes, with following failure:

May 9 08:53:26 server kernel: [ 292.704044] ------------[ cut here ]------------
May 9 08:53:26 server kernel: [ 292.704054] WARNING: at /usr/src/packages/BUILD/kernel-desktop-2.6.37.6/linux-2.6.37/net/sched/sch_generic.c:258 dev_watchdog+0x233/0x240()

[code]...

View 6 Replies View Related

Ubuntu :: 9.10 Custom Kernel V.2.6.33 Crash?

Apr 2, 2010

I wasn't using my laptop for at least a few hours, but when I looked at it, it had seemed to crash. I am hoping to figure out what caused this, and to prevent it from happening again. I believe it has something to do with drm or b43 as that is what I could decipher from the screen. I have checked some logs and found nothing irregular. I do not want this to happen again. I am running kernel 2.6.33.1 with no patches and a custom config tailored to my processor. The reason I am running 2.6.33.1 is because of support for my Wifi.

View 5 Replies View Related

General :: Kernel Crash After Install / Fix It?

Jun 25, 2011

After installation of Red Hat Linux Enterprise Server 5 on to my desktop computer
i got d below error and it can not booting to next screen, on da sreen displaying dat, code...

memory for crash kernel (0x0 to 0x0) not within permissible range

View 5 Replies View Related

CentOS 5 :: Livecd Kernel Crash Every Day

Nov 29, 2009

I using only Livecd CentOS 5.4 and my system crash in day about ~3-5 times , so I tired and want to know why this happen. (before I used live-cd 5.3 about 3 weeks and this problem still was. info : Linux livecd. localdomain 2.6.18-164.el5 #1 SMP Thu Sep 3 03:33:56 EDT 2009 i686 athlon i386 GNU/Linux.I load system perfect and If I just browsing then I will have crash after 5 hours latter , but if I install wine , xmms,lame,xmms-mp3,k3b-mp3,flash-plugin and after installing software I will look movies from internet , or lisining music on xmms mp3 format - my system UPTIME max will be ~30 minutes or less..And I want to ask, or in Live-cd I can start Firewall ? Becouse I think it's not started and then I try to ENABLE its looks like not responding.

View 1 Replies View Related

Fedora :: Keep Getting Notices That There Is Some Sort Of Kernel Crash ?

Nov 25, 2009

I just installed it on my ancient IBM T-42 thinkpad, and am completely satisfied.

However, I want to help fedora get better.

I keep getting notices that there is some sort of kernel crash.

See cut and paste below.

When I try to use the automatic bug reporting, it fails to do it.

I have attached a screenshot of what happens when it doesn't report it.

View 1 Replies View Related

Fedora :: Kernel Module Crash With Sound?

Dec 21, 2009

Sound disappears as soon as I try to use an application e.g. News Video Fox, CNN, BBC or playing a video disk or cd disk, and a kernel module crash is reported (listed below from logs) After this happens no sound, and the desktop freezes (X11 only Linux is fine). Restarting X obviously do not solve the problem.

It seems that Fedora 12 has sever problems with Intel Sound cards.

I guess it is not really a Kernel developers problem but more the authors for the sound module causing the crash. I already reported it through the popup to "kernel-oops" by clicking on the "black screen" popup reporting the crash on FC12.

Here follows the logs containing the crash info.

WARNING: at sound/pci/hda/hda_intel.c:565 azx_send_cmd+0x36/0x1df [snd_hda_intel]() (Tainted: G W )
Hardware name: Macmini2,1
BUG?

[Code]....

View 2 Replies View Related

Ubuntu Installation :: Crash During 2.6.31-20 Kernel Update

Mar 8, 2010

Running Karmic on my laptop, I get very occasional kernel panics (suspect it has something to do with the Broadcom WiFi because it only seems to happen with heavy network traffic or HDD access), but just my lucky, this time it Panic'd on me during my recent update -> linux-kernel 2.6.31-20. My system still 'works', but I get the following when doing any other updates, now:

Code:
sudo dpkg --configure -a
[sudo] password for tango:
Setting up linux-image-2.6.31-20-generic (2.6.31-20.57) ...
dpkg (subprocess): unable to execute installed post-installation script: Exec format error
dpkg: error processing linux-image-2.6.31-20-generic (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-2.6.31-20-generic; however:
Package linux-image-2.6.31-20-generic is not configured yet.
dpkg: error processing linux-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 2.6.31.20.33); however:
Package linux-image-generic is not configured yet.
dpkg: error processing linux-generic (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
linux-image-2.6.31-20-generic
linux-image-generic
linux-generic

Now I cannot seem to get rid of that, and of course, I am stuck in the prior version. Granted everything 'works' - but it bothers me. What's the best way to go about tracking down and hashing out a problem like this?

View 4 Replies View Related

Debian :: Liquorix Kernel 2.6.36-2.dmz.2 686 Icedove Crash

Dec 20, 2010

I'm using Squeeze and icedove and iceweasel and I've installed the package linux-image-2.6.36-2.dmz.2-liquorix-686. It works fine on my Dell 1521 Inspiron laptop with only one exception. If I'm surfing the web or checking my mail via a wired internet connection I'm fine... if I'm surfing the web or checking my mail via a wifi connection everything is fine... but if I happen to forget to connect to a wifi connection, and I'm in a situation where a wired connection is not available, I can start iceweasel (it doesn't do anything constructive), but checking my mail with icedove (simply starting the program) crashes my computer.

If I boot up with the 2.6.32-5 kernel, the one that's in the regular debian repository, I can not duplicate the crash. Somewhere I read that the liquorix kernels are optimized for a desktop computer. Is this my problem? Is it something else?

During the crash my screen goes to a text console and I see syslogd messages on the screen -- which I cannot reproduce here.

View 3 Replies View Related

General :: Kernel Dumps To The Wrong /var/crash?

May 2, 2011

I'm running Scientific Linux 5.5 (equivalent to CentOS 5.5), and over the past two weeks, I have had a problem with my root partition filling up, preventing anyone from logging into the server.After searching for large files, and finding none, I was mystified when du told me that the root partition had only 660 MB of disk space used, whilst df showed it full. The problem was this: the /var/crash directory had been filled up by an 8GB crash file. Now, I'm a 'proper' sysadmin and make sure that /var has its own mount point, so the crash should not have touched the root partition at all. Except it did - instead of writing to /var/crash on /dev/mapper/VolGroup00-LogVol04 which is mounted as /var, it wrote the file to /dev/md0 directly, so when all the file systems were mounted, those files were hidden under the mounted /var.

View 4 Replies View Related

General :: Segmentation Fault - Kernel Crash

Feb 24, 2011

My system is running with powerpc and linux, i am facing some kernel crash problem.

I have pasted the trace and log

(1) Display the backtrace for the thread that crashed.

(2) Display argument parameters and local variables for the thread.

View 3 Replies View Related

Server :: Apache Crash - No Listening Sockets Available

May 23, 2011

Code:
[Sun May 22 04:02:06 2011] [notice] SIGHUP received. Attempting to restart
(98) Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs

Above message is from /etc/httpd/logs/error_log.1. Saturday morning I reinstall my server. After finish, no error. I can access my HTTP server. Monday morning it has crashed. I don't know what is the meaning about this message.

View 2 Replies View Related

Fedora :: F14 Kernel Crash And Hard Freeze - Hang

Jun 9, 2011

I have a fresh installation from the demo ISO image of F14 running on an Acer TravelMate 4200. The system is a Dual Boot with win Vista. Windows Vista runs without any problems but when using F14 a kernal crash constantly occurs and it then hard freezes or hangs and the machine needs to be cold booted. There is nothing in particular that I am doing either, the problem happens when the machine is idol or when I am working in various apps.

The F14 system is completely up to date running kernel version 2.6.35.13-91.fc14.i686. The following error below is from the automatic bug reporting tool and I have reported this using the tool:

Package: kernel
Latest Crash:Sat 04 Jun 2011 14:55:00
Command: not_applicable
Reason: BUG: unable to handle kernel NULL pointer dereference at 000000f8
Comment: None
Bug Reports:

View 2 Replies View Related

General :: Unable Kernel Crash Dumps In Debian?

May 8, 2011

I want to enable kernel crash dumps for my Debian 5.0.7 machine. The kernel version is 2.2.26 amd64.How can I configure this?

View 1 Replies View Related

Ubuntu :: Crash In Kernel During Boot (but System Boots)?

Apr 27, 2010

I have a custom compiled kernel which seems to work OK. However, during boot, I get:

Apr 27 21:16:14 poni kernel: eth0: Tigon3 [partno(BCM95784M) rev 5784100] (PCI Express) MAC address 00:21:70:90:2d:6c
Apr 27 21:16:14 poni kernel: eth0: attached PHY is 5784 (10/100/1000Base-T Ethernet)

[code]....

System continues to boot OK and everything seems to work fine as I expect. I am not sure what the above causes. It looks related to USB, but I am not sure. lsusb gives:

Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

[code]....

View 3 Replies View Related

General :: Memory For Crash Kernel Not Within Permissible Range?

Jan 18, 2010

How do I get rid of this message during boot. I have tried the system-config-kdump command but it gives me a "no command found" reply. I am using CentOS 5.4

View 1 Replies View Related

General :: Memory For Crash Kernel Not In Permissible Range?

Nov 24, 2010

I'm using centos 5.4 on an Hp Compaq 500B, 4GB ram,I have just installed centos when i try to boot the pc it says "memory for crash kernel not in permissible range, pci not using mmconfig" then it shuts down after a while.

View 1 Replies View Related

General :: Memory For Crash Kernel Not Within Permissible Range

Mar 18, 2010

I've installed LINUX for the very first time and when i rebooted it, i found this message on my screen "Memory for crashkernel notwithin permissible range" I tried all my attempt like given memory to kernel with this command "crashkernel=64M@16M" but no luck... Finally i tried to boot into single user mode might be it helped me..but same results

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved