linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 2.6.0-test1-mm1: bad: scheduling while atomic! after removing ohci1394 module
@ 2003-07-16 16:08 Philippe Gramoullé
  2003-07-16 16:36 ` Ben Collins
  0 siblings, 1 reply; 4+ messages in thread
From: Philippe Gramoullé @ 2003-07-16 16:08 UTC (permalink / raw)
  To: linux-kernel; +Cc: Linux IEEE 1394 Devel Mailing List

Hello,

With 2.6.0-test1-mm1, i have the following in my logs after i rmmod'ed the
ohci1394 module:

bad: scheduling while atomic!
Call Trace:
 [<c011c958>] schedule+0x578/0x580
 [<c0108ff2>] copy_thread+0x32/0x250
 [<c011cd0c>] wait_for_completion+0x8c/0xf0
 [<c011c9b0>] default_wake_function+0x0/0x30
 [<c011c9b0>] default_wake_function+0x0/0x30
 [<c012b9e1>] kill_proc_info+0x51/0x80
 [<e0b87665>] nodemgr_remove_host+0x55/0xa0 [ieee1394]
 [<e0b82fba>] highlevel_remove_host+0x8a/0xa0 [ieee1394]
 [<e0b4163d>] ohci1394_pci_remove+0x3d/0x160 [ohci1394]
 [<c018c93e>] sysfs_hash_and_remove+0x4e/0x7c
 [<c022c75b>] pci_device_remove+0x3b/0x40
 [<c0256916>] device_release_driver+0x66/0x70
 [<c025694b>] driver_detach+0x2b/0x40
 [<c0256bae>] bus_remove_driver+0x3e/0x80
 [<c0256fc3>] driver_unregister+0x13/0x2a
 [<c022ca56>] pci_unregister_driver+0x16/0x30
 [<e0b41adf>] ohci1394_cleanup+0xf/0x11 [ohci1394]
 [<c0137d89>] sys_delete_module+0x139/0x170
 [<c014c1e5>] sys_munmap+0x45/0x70
 [<c010b0ab>] syscall_call+0x7/0xb


Should i worry ?

Besides that, IEE1394 works fine with my DV camcorder.

Thanks,

Philippe

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.0-test1-mm1: bad: scheduling while atomic! after removing ohci1394 module
  2003-07-16 16:08 2.6.0-test1-mm1: bad: scheduling while atomic! after removing ohci1394 module Philippe Gramoullé
@ 2003-07-16 16:36 ` Ben Collins
  2003-07-16 16:45   ` Jeff Garzik
  0 siblings, 1 reply; 4+ messages in thread
From: Ben Collins @ 2003-07-16 16:36 UTC (permalink / raw)
  To: Philippe Gramoull?; +Cc: linux-kernel, Linux IEEE 1394 Devel Mailing List

On Wed, Jul 16, 2003 at 06:08:55PM +0200, Philippe Gramoull? wrote:
> Hello,
> 
> With 2.6.0-test1-mm1, i have the following in my logs after i rmmod'ed the
> ohci1394 module:
> 
> bad: scheduling while atomic!
> Call Trace:
>  [<c011c958>] schedule+0x578/0x580
>  [<c0108ff2>] copy_thread+0x32/0x250
>  [<c011cd0c>] wait_for_completion+0x8c/0xf0
>  [<c011c9b0>] default_wake_function+0x0/0x30
>  [<c011c9b0>] default_wake_function+0x0/0x30
>  [<c012b9e1>] kill_proc_info+0x51/0x80
>  [<e0b87665>] nodemgr_remove_host+0x55/0xa0 [ieee1394]
>  [<e0b82fba>] highlevel_remove_host+0x8a/0xa0 [ieee1394]
>  [<e0b4163d>] ohci1394_pci_remove+0x3d/0x160 [ohci1394]
>  [<c018c93e>] sysfs_hash_and_remove+0x4e/0x7c
>  [<c022c75b>] pci_device_remove+0x3b/0x40
>  [<c0256916>] device_release_driver+0x66/0x70
>  [<c025694b>] driver_detach+0x2b/0x40
>  [<c0256bae>] bus_remove_driver+0x3e/0x80
>  [<c0256fc3>] driver_unregister+0x13/0x2a
>  [<c022ca56>] pci_unregister_driver+0x16/0x30
>  [<e0b41adf>] ohci1394_cleanup+0xf/0x11 [ohci1394]
>  [<c0137d89>] sys_delete_module+0x139/0x170
>  [<c014c1e5>] sys_munmap+0x45/0x70
>  [<c010b0ab>] syscall_call+0x7/0xb

So is kill_proc() bad while atomic, e.g. when a module is being removed?
I'll look into it.

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.0-test1-mm1: bad: scheduling while atomic! after removing ohci1394 module
  2003-07-16 16:36 ` Ben Collins
@ 2003-07-16 16:45   ` Jeff Garzik
  2003-07-16 16:53     ` Ben Collins
  0 siblings, 1 reply; 4+ messages in thread
From: Jeff Garzik @ 2003-07-16 16:45 UTC (permalink / raw)
  To: Ben Collins
  Cc: Philippe Gramoull?, linux-kernel, Linux IEEE 1394 Devel Mailing List

On Wed, Jul 16, 2003 at 12:36:48PM -0400, Ben Collins wrote:
> So is kill_proc() bad while atomic, e.g. when a module is being removed?
> I'll look into it.

hmmm, that's a big strange.  During ->remove and module unload, you can
schedule and sleep.

	Jeff



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: 2.6.0-test1-mm1: bad: scheduling while atomic! after removing ohci1394 module
  2003-07-16 16:45   ` Jeff Garzik
@ 2003-07-16 16:53     ` Ben Collins
  0 siblings, 0 replies; 4+ messages in thread
From: Ben Collins @ 2003-07-16 16:53 UTC (permalink / raw)
  To: Jeff Garzik
  Cc: Philippe Gramoull?, linux-kernel, Linux IEEE 1394 Devel Mailing List

On Wed, Jul 16, 2003 at 12:45:06PM -0400, Jeff Garzik wrote:
> On Wed, Jul 16, 2003 at 12:36:48PM -0400, Ben Collins wrote:
> > So is kill_proc() bad while atomic, e.g. when a module is being removed?
> > I'll look into it.
> 
> hmmm, that's a big strange.  During ->remove and module unload, you can
> schedule and sleep.

I'd have to check to make sure the remove callbacks are doing something
stupid in the ieee1394 subsystem, like causing this problem.

-- 
Debian     - http://www.debian.org/
Linux 1394 - http://www.linux1394.org/
Subversion - http://subversion.tigris.org/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2003-07-16 16:39 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-16 16:08 2.6.0-test1-mm1: bad: scheduling while atomic! after removing ohci1394 module Philippe Gramoullé
2003-07-16 16:36 ` Ben Collins
2003-07-16 16:45   ` Jeff Garzik
2003-07-16 16:53     ` Ben Collins

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).