Thomas Petazzoni wrote:
Hi,
Thanks for your answer.
Le Mon, 30 Jul 2007 17:01:43 +0530,
Vivek Kutal [EMAIL PROTECTED] a écrit :
You could just reset the present bit of the pages that you want to
remap. Now the next access to these pages will generate a fault and
your nopage() will be
Hi,
from time to time I see oopses which are rather hard to debug, at least gdb
is not able to figure out which file:line the crashed function belongs to.
Well, finding out the file:function() is not difficult using grep, kscope,
etc, but this doesn't help me to know where it crashed there.
Hi,
Le Tue, 31 Jul 2007 13:58:33 +0200,
Bernd Schubert [EMAIL PROTECTED] a écrit :
[ 4754.961940] IRQ
[880f08f9] :bonding:bond_check_dev_link+0xcd/00
This function does:
static int (* ioctl)(struct net_device *, struct ifreq *, int);
[...]
ioctl = slave_dev-do_ioctl;
[...]
Thomas Petazzoni wrote:
Hi,
Le Tue, 31 Jul 2007 13:58:33 +0200,
Bernd Schubert [EMAIL PROTECTED] a écrit :
[ 4754.961940] IRQ
[880f08f9] :bonding:bond_check_dev_link+0xcd/00
This function does:
static int (* ioctl)(struct net_device *, struct ifreq *, int);
[...]
ioctl =
Macnish wrote:
I don't know if it is the case here, but sometimes printk is your best
friend on debug task.
If it happens on our test cluster, certainly, I'm using printk quite
extensively here, but this was on a customer system. Neither can we reboot
the system there easily, nor can I
Hi Bernd...
Just trying to share some thoughts here..
Two things I saw in your stack trace:
1. The crash (probably) happened when the kernel was executing interrupt
handler. In that case, the code path is somewhat irregular. I mean,
since interrupt handling could happen anytime, it doesn't
Hi,
Le Tue, 31 Jul 2007 15:24:15 +0200,
Bernd Schubert [EMAIL PROTECTED] a écrit :
I don't think so, ioctl is checked first
if (ioctl) {
...
}
This test only checks that 'ioctl != NULL', it doesn't check if ioctl
points to some real existing code.
Sincerly,
Thomas
--
Thomas
Como criador e responsável pelo desenvolvimento das Linhagens Engenho e Juíz
especializado da Raça Fila Brasileiro comunico a vocês que no endereço
www.linhagemengenho.com está disponível documentário fotográfico e vídeos
que retratam a nossa criação e trabalho genético para melhoria e preservação
Hello,
I am writing a block device driver to access Secure Digital (SD) cards over
an SPI interface for an embedded (ppc) product.
If the SD card is removed while it is still mounted, the kernel will
continue to generate read and write requests for the driver, which it
obviously can't
Hi,
I am writing new system calls for a security project, and I was
wondering if there is any way to specify whether they will be accessible
from user space or kernel space. Basically, I am writing a monitor that
writes to a buffer, and I would like to be able to use this both in the
Most likely you don't have the correct libraries in compile path. Post
your Makefile with the errors you are getting and someone would be able
to help you.
Dinesh
Jug Venkatesh wrote:
Hi,
I am writing new system calls for a security project, and I was
wondering if there is any way to
On Tue, 2007-07-31 at 14:08 -0400, Jug Venkatesh wrote:
Hi,
I am writing new system calls for a security project, and I was
wondering if there is any way to specify whether they will be accessible
from user space or kernel space.
System calls are by definition called only from user-space.
On Tue, Jul 31, 2007 at 02:08:55PM -0400, Jug Venkatesh wrote:
Hi,
I am writing new system calls for a security project
Um, you might want to stop right there :)
Are you _sure_ you need a new system call?
, and I was wondering if
there is any way to specify whether they will be
I've been looking online to try and find the location of the source code
to the pthread library on fedora, and other than pthread.h, i'm getting
nowhere. Any help would be appreciated. Additionally, can anyone tell me
how exactly the pthread library performs scheduling, and how it relates
to
Hi,
How is your program supposed to know that you have a syscall with that name
??..Did you defined the _syscalln() macro correctly in your program
? ...See adding a system call chapter from the book UKL.
Hope that helps
On 7/31/07, Greg KH [EMAIL PROTECTED] wrote:
On Tue, Jul 31,
On 8/1/07, Jug Venkatesh [EMAIL PROTECTED] wrote:
I've been looking online to try and find the location of the source code
to the pthread library on fedora, and other than pthread.h, i'm getting
nowhere. Any help would be appreciated. Additionally, can anyone tell me
how exactly the pthread
hi, all,
i am porting user code to kernel code.
in user code pthreads is used i want respective kernel routine in
kernel.pthread_mutex_t and PTHREAD_MUTEX_INITIALIZER is used in user code.
Send instant messages to your online friends http://uk.messenger.yahoo.com
Hi,
On 7/31/07, Jug Venkatesh [EMAIL PROTECTED] wrote:
Hi,
I am writing new system calls for a security project, and I was
wondering if there is any way to specify whether they will be accessible
from user space or kernel space. Basically, I am writing a monitor that
writes to a buffer, and
Hi Jug,
On 7/31/07, Jug Venkatesh [EMAIL PROTECTED] wrote:
I've been looking online to try and find the location of the source code
to the pthread library on fedora, and other than pthread.h, i'm getting
The implementation of the pthread library is called NPTL.
It is part of GNU libc. If you
19 matches
Mail list logo