I have simple program which is accessing a high addr in user mode, and during execution it is receiving SIGBUS.
I know in 32bit linux user process shouldn't touch the high address, but i want to know which part of kernel code is issuing a SIGBUS to this user process.
Hello all,
I wrote some experimental Linux module. I know that this not good idea to implementing networking software in kernel and if we consider production way this is very dangerous but maybe this code help somebody to solve some problems in kernel prgramming. That is why I decided to show you my soft.
It is required to write software irq (120) handler and register it.
But request_irq return -38 (ENOSYS). How can I do it?
Hi ALL,
I am not sure whether I can post my queries about the net filters here. But any mere info would be helpful for me to do a fix.
I have observed a strange problem with FTP Port command with NAT in router.
My setup looks like,
FTP CLIENT --------->(LAN) ROUTER ---------->(WAN) FTP SERVER
Hi all,
I am using wireless tools version 29. I am finding it difficult to use iwconfig power command.
I give:
iwconfig [wlanif] power off -- this works
./iwconfig eth1 power 500m unicast --this also works
but when I try to set the value of timeout or period..
------------------------------------------------
# ./iwconfig eth1 power timeout 300
I am using the function page_address to get the virtual address of a page using its pointer. I am using kernel 2.6.24 and page_address has been exported. However, when I make a call to page_address in my kernel module, it does not allow me to use it, saying, "Implict declaration of page_address".
Is there any other way, I can get the virtual address of a page from a pointer to its structure
Greetings!
The problem, is 2 VMWare with an identical kernel, at loading of the module of a kernel, it is loaded to different addresses in different kernels, how it to correct? Thanks.
Hi,
As far as I understand, Linux uses the COW optimization so parent and child process share the same address space, till one of them writes to it, at which point the kernel creates a copy of the page written to. This is done through the function do_wp_page which in turn calls cow_user_page.
I have a requirement to allow a user space application be able to memory map to some of the data buffers within a network driver.
As far as I can see, I will need to make the network driver register as a character device driver as well so that I can eventually get an entry under "/dev" and then I can use file I/O to open and perform the memory map.
Hello,
how to find out the real cause of kjournald writing to block device, even if there are no write requests from other programs except kjournald?
For that to be said I used
echo 1 > /proc/sys/vm/block_dump and watched messages...
I am using Igmp from http://sourceforge.net/projects/igmpproxy to control mroute setting.
I post some data from my system.
-----------------------------------------------------
/tmp # cat /proc/net/ip_mr_vif
Interface BytesIn PktsIn BytesOut PktsOut Flags Local Remote
0 lan 0 0 0 0 00000 C0A80001 00000000
I am trying to add a system under linux-2.6.28+.
I can successfully do this by adding the system call code to the kernel source tree.
But, since it will take a relative long time to compile the kernel,
I would like to put the real work into a loadable linux module.
Therefore, I am trying to do the following tricks:
----------------------------------------
I am working on MIPS processor.
The linux is using tlb-r4k.
I couldn't understand what is the format to modify each TLB entry in table.
I have a Gyration Keyboard and Remote combo (GYAM1600CKUS, GYR3101US) that work off the same USB wireless transmitter. When I suspend the pc to S3, pressing a button on the keyboard will wakeup the pc, however, no buttons on the remote will wakeup the pc. Could this be a problem caused by two interfaces being on the same USB device? If not, any other suggestions? Thanks