Re: need some help with debugging

2007-07-31 Thread Thomas Petazzoni
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 -- Thom

Re: need some help with debugging

2007-07-31 Thread Mulyadi Santosa
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 alw

Re: need some help with debugging

2007-07-31 Thread Bernd Schubert
Thomas Petazzoni wrote: > Hi, > > Le Tue, 31 Jul 2007 13:58:33 +0200, > Bernd Schubert <[EMAIL PROTECTED]> a écrit : > >> [ 4754.961940] >> [] :bonding:bond_check_dev_link+0xcd/00 > > This function does: > > static int (* ioctl)(struct net_device *, struct ifreq *, int); > [...] > ioctl = sl

Re: need some help with debugging

2007-07-31 Thread Bernd Schubert
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 reprod

Re: need some help with debugging

2007-07-31 Thread Thomas Petazzoni
Hi, Le Tue, 31 Jul 2007 13:58:33 +0200, Bernd Schubert <[EMAIL PROTECTED]> a écrit : > [ 4754.961940] > [] :bonding:bond_check_dev_link+0xcd/00 This function does: static int (* ioctl)(struct net_device *, struct ifreq *, int); [...] ioctl = slave_dev->do_ioctl; [...] IOCTL(slave_dev, &ifr, S

Re: need some help with debugging

2007-07-31 Thread Macnish
Bernd Schubert escreveu: 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 w

need some help with debugging

2007-07-31 Thread Bernd Schubert
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. Her