From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262369AbVDLLmK (ORCPT ); Tue, 12 Apr 2005 07:42:10 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262361AbVDLLjm (ORCPT ); Tue, 12 Apr 2005 07:39:42 -0400 Received: from fire.osdl.org ([65.172.181.4]:12254 "EHLO smtp.osdl.org") by vger.kernel.org with ESMTP id S262340AbVDLLiq convert rfc822-to-8bit (ORCPT ); Tue, 12 Apr 2005 07:38:46 -0400 Date: Tue, 12 Apr 2005 04:37:36 -0700 From: Andrew Morton To: Norbert Preining Cc: linux-kernel@vger.kernel.org, linux1394-devel@lists.sourceforge.net, Patrick Mochel Subject: Re: firewire and/or sbp2 problem with rc2-mm3, but not rc2-mm2 Message-Id: <20050412043736.7fec243e.akpm@osdl.org> In-Reply-To: <20050412111859.GA29765@gamma.logic.tuwien.ac.at> References: <20050412111859.GA29765@gamma.logic.tuwien.ac.at> X-Mailer: Sylpheed version 1.0.0 (GTK+ 1.2.10; i386-vine-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Norbert Preining wrote: > > Hi Andrew! Hi 1394 developers! > > I have a bit of a problem with firewire. WIth 2.6.12-rc2-mm3 it does not > recognize my external hard disk any more: > > I use an external hard disk via firewire, and when I plug it in I get: > vmunix: sbp2: $Rev: 1219 $ Ben Collins > vmunix: Device not ready. Make sure there is a disc in the drive. > > With -mm2 it was working, also with older kernels. There are no 1394 changes in 2.6.12-rc2-mm3. > Now, there is also a problem with removing modules: > > I remove sbp2, works. > > Then I try to remove ohci1394 and it stucks: It's not very obvious who called wait_for_completion() here. Possibly driver_unregister(), but it's way up the stack. You might get a better trace if you enable CONFIG_FRAME_POINTER. Still. I assume this is some interaction between 1394 and Pat's new device management work. > vmunix: rmmod D C036EBC0 0 5310 5175 (NOTLB) > vmunix: cec79de8 00200246 cec79dd0 c036ebc0 cec79e18 d9c40500 dec808ec df7923bc > vmunix: 00000941 f7ae5f13 0000004d cf8dea90 cf8debb8 defc4058 cec78000 cec78000 > vmunix: cec79e3c c0305e08 00000000 cf8dea90 c0117bb0 00000000 00000000 defc4150 > vmunix: Call Trace: > vmunix: [] wait_for_completion+0x78/0xf0 > vmunix: [] default_wake_function+0x0/0x10 > vmunix: [] class_dev_release+0x64/0x70 > vmunix: [] default_wake_function+0x0/0x10 > vmunix: [] kobject_cleanup+0x8b/0xa0 > vmunix: [] __nodemgr_remove_host_dev+0x0/0x10 [ieee1394] > vmunix: [] device_del+0x1b/0x80 > vmunix: [] device_unregister+0x8/0x10 > vmunix: [] nodemgr_remove_ne+0x70/0x90 [ieee1394] > vmunix: [] __nodemgr_remove_host_dev+0x8/0x10 [ieee1394] > vmunix: [] device_for_each_child+0x33/0x50 > vmunix: [] nodemgr_remove_host_dev+0x12/0x40 [ieee1394] > kernel: [exit_notify+766/2080] exit_notify+0x2fe/0x820 > vmunix: [] __unregister_host+0xc7/0xd0 [ieee1394] > vmunix: [] autoremove_wake_function+0x0/0x50 > vmunix: [] highlevel_remove_host+0x3b/0x70 [ieee1394] > vmunix: [] hpsb_remove_host+0x38/0x60 [ieee1394] > vmunix: [] ohci1394_pci_remove+0x60/0x230 [ohci1394] > vmunix: [] sysfs_hash_and_remove+0xd5/0x105 > vmunix: [] pci_device_remove+0x28/0x30 > vmunix: [] device_release_driver+0x7f/0x90 > vmunix: [] __remove_driver+0x5/0x10 > vmunix: [] driver_for_each_device+0x45/0x60 > vmunix: [] driver_detach+0x13/0x15 > vmunix: [] __remove_driver+0x0/0x10 > vmunix: [] bus_remove_driver+0x26/0x40 > vmunix: [] driver_unregister+0xb/0x20 > vmunix: [] pci_unregister_driver+0xb/0x20 > vmunix: [] ohci1394_cleanup+0x0/0xa [ohci1394] > vmunix: [] sys_delete_module+0x12d/0x160 > vmunix: [] unmap_vma_list+0x1a/0x30 > vmunix: [] do_munmap+0xfa/0x130 > vmunix: [] sys_munmap+0x40/0x70 > vmunix: [] syscall_call+0x7/0xb > kernel: [do_futex+53/144] do_futex+0x35/0x90 > > > Best wishes > > Norbert > > ------------------------------------------------------------------------------- > Dr. Norbert Preining Università di Siena > sip:preining@at43.tuwien.ac.at +43 (0) 59966-690018 > gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094 > ------------------------------------------------------------------------------- > TINGRITH (n.) > The feeling of silver paper against your fillings. > --- Douglas Adams, The Meaning of Liff