Sponsored Content
Full Discussion: kernel functions issue!
Operating Systems Linux kernel functions issue! Post 302241751 by vineykr on Tuesday 30th of September 2008 06:45:56 AM
Old 09-30-2008
kernel functions issue!

Hello All,

I'm new to linux programming and this is my first post.I am porting ethernet driver from Linux2.4 to Linux2.6 for Xscale, after modifications I am able to install the driver.
Now when i assign the address to my device using ifconfig, kenerl is going to panic. Stack trace is showing it is due to NULL pointer dereference in recalc_sigpending(). Replacing it by signal_pending(current) saves that. I could not figure out te difference, since both will ultimately access only one kernel data structure i.e. current.
Could anyone please throw light onto it?

I have given relevant details hopefully, but if some important information is missing, please point out. I would improve in my subsequent posts.

Thanks in advance for any help.
 

10 More Discussions You Might Find Interesting

1. Red Hat

New kernel Issue

root@pr # iptables -L modprobe: QM_MODULES: Function not implemented modprobe: QM_MODULES: Function not implemented modprobe: Can't locate module ip_tables iptables v1.2.8: can't initialize iptables table `filter': iptables who? (do you need to insmod?) Perhaps iptables or your kernel... (5 Replies)
Discussion started by: prashant_ohol
5 Replies

2. Red Hat

kernel compilation: ncurses issue

Hi, While trying to build the linux kernel - 2.6.24.2, i get the following error message during initial phase(make menuconfig) : scripts/kconfig/lxdialog/dialog.h:32:20: error: curses.h: No such file or directory <=== In file included from scripts/kconfig/lxdialog/checklist.c:24: It seems... (1 Reply)
Discussion started by: amit4g
1 Replies

3. UNIX for Advanced & Expert Users

kernel functions issue!

Hello All, I'm new to linux programming and this is my first post.I am porting ethernet driver from Linux2.4 to Linux2.6 for Xscale, after modifications I am able to install the driver. Now when i assign the address to my device using ifconfig, kenerl is going to panic. Stack trace is showing... (0 Replies)
Discussion started by: vineykr
0 Replies

4. Solaris

Issue with kernel patch installation...

I tried to install the kernel patch 118855-36 in my x86 machine which has Solaris 10 installed. Find below the error message.... #patchadd 118855-36 Checking patches that you specified for installation. Done! Approved patches will be installed in this order: 118855-36 Executing... (1 Reply)
Discussion started by: paventhan
1 Replies

5. Red Hat

Export functions in kernel module to user Programs

Hi all, I just started working on kernel modules. One query i'm not able to resolve how i can use call any of my function(take example testfunc() ) defined in my loadable kernel module (take example : test.ko) I want to export kernel module functions to user programs. Consider i have... (0 Replies)
Discussion started by: er.tarun.9986
0 Replies

6. Programming

A system hang issue in porting an old fs to kernel 2.6.32.*

Hi, I ported a file system from Kernel version 2.6.18.* to 2.6.32.46 as VFS implementation has changed and prepare_write/commit_write are replaced by write_begin/write_end pairs. Implemented the feature by writing a wrapper for write_begin and write_end and calling original functions for... (0 Replies)
Discussion started by: Praveen_218
0 Replies

7. Programming

can a linux kernel module call libc functions?

can a linux kernel module call libc functions, such as printf(), strcpy(), etc...? (9 Replies)
Discussion started by: vistastar
9 Replies

8. UNIX for Dummies Questions & Answers

Kernel Compilation Issue

I have installed ubuntu 11.04 on my system. After this when I used to give uname -r it showed me kernel version as 2.6.38. Now I had downloaded kernel 2.6.34.12 from kernel.org and installed it using the following steps: make make modules make modules_install make install This created... (2 Replies)
Discussion started by: rupeshkp728
2 Replies

9. Ubuntu

How to run kernel functions in a separate core?

Hello Friends, I am using Ubundu. I want to know how to run kernel functions in a separate core? I know about Taskset and it supports only for the application. Do anybody know any command (or) have any idea about how to do it? Please help me Thank you (3 Replies)
Discussion started by: reksss
3 Replies

10. Shell Programming and Scripting

How to execute functions or initiate functions as command line parameters for below requirement?

I have 7 functions those need to be executed as command line inputs, I tried with below code it’s not executing function. If I run the ./script 2 then fun2 should execute , how to initiate that function I tried case and if else also, how to initiate function from command line if then... (8 Replies)
Discussion started by: saku
8 Replies
MALO(4) 						   BSD Kernel Interfaces Manual 						   MALO(4)

NAME
malo -- Marvell Libertas IEEE 802.11b/g wireless network driver SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file: device malo device pci device wlan device firmware Alternatively, to load the driver as a module at boot time, place the following lines in loader.conf(5): if_malo_load="YES" DESCRIPTION
The malo driver provides support for Marvell Libertas 88W8335 based PCI and Cardbus network adapters. malo supports station and monitor mode operation. Only one virtual interface may be configured at any time. For more information on configuring this device, see ifconfig(8). This driver requires the malofw firmware kernel module be installed before it will work. The firmware files are not publicly available. A port of the firmware can be found at: http://weongyo.org/project/malo/malo-firmware-1.4.tar.gz The firmware kernel module can be installed by extracting the archive and running 'make install clean' in the malo-firmware-1.4 directory. HARDWARE
The following cards are among those supported by the malo driver: Card Chip Bus Standard Netgear WG311v3 88W8335 PCI b/g Tenda TWL542P 88W8335 PCI b/g U-Khan UW-2054i 88W8335 PCI b/g EXAMPLES
Join an existing BSS network (i.e., connect to an access point): ifconfig wlan create wlandev malo0 inet 192.168.0.20 netmask 0xffffff00 Join a specific BSS network with network name ``my_net'': ifconfig wlan create wlandev malo0 ssid my_net up Join a specific BSS network with 64-bit WEP encryption: ifconfig wlan create wlandev malo0 ssid my_net wepmode on wepkey 0x1234567890 weptxkey 1 up SEE ALSO
cardbus(4), pci(4), wlan(4), wlan_ccmp(4), wlan_tkip(4), wlan_wep(4), ifconfig(8), wpa_supplicant(8) HISTORY
The malo device driver first appeared in FreeBSD 7.1. BSD
October 21, 2009 BSD
All times are GMT -4. The time now is 10:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy