From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sergey Temerkhanov Subject: BUG: bnx2i: scheduling while atomic while modprobing bnx2i module Date: Fri, 11 Sep 2009 07:12:51 +0400 Message-ID: <10381252638771@webmail104.yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from forward14.yandex.ru ([95.108.130.92]:40856 "EHLO forward14.yandex.ru" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752590AbZIKDTS (ORCPT ); Thu, 10 Sep 2009 23:19:18 -0400 Received: from webmail104.yandex.ru (webmail104.yandex.ru [95.108.130.7]) by forward14.yandex.ru (Yandex) with ESMTP id 9AF362680AA6 for ; Fri, 11 Sep 2009 07:12:51 +0400 (MSD) Received: from localhost (localhost.localdomain [127.0.0.1]) by webmail104.yandex.ru (Yandex) with ESMTP id 8D0CD36E8001 for ; Fri, 11 Sep 2009 07:12:51 +0400 (MSD) Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: linux-scsi@vger.kernel.org Hi! I'm getting the scheduling while atomic bug while modprobing bnx2i module on 2.6.31. Here's the report from kernel: Broadcom NetXtreme II iSCSI Driver bnx2i v2.0.1d (Mar 25, 2009) iscsi: registered transport (bnx2i) BUG: scheduling while atomic: modprobe/9170/0x00000002 Modules linked in: bnx2i(+) libiscsi scsi_transport_iscsi nfsd bnep rfcomm l2cap bluetooth snd_pcm_oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device ip6table_filter ip6_tables ipt_LOG xt_recent xt_state xt_tcpudp iptable_filter iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables x_tables cpufreq_powersave cnic uio ipv6 snd_hda_codec_atihdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec bnx2 shpchp snd_hwdep psmouse snd_pcm pci_hotplug snd_timer pcspkr wmi snd firewire_ohci firewire_core soundcore rtc thermal snd_page_alloc asus_atk0110 processor button tg3 libphy fuse nfs auth_rpcgss nfs_acl lockd sunrpc raid10 raid1 raid0 md_mod dm_bbr dm_snapshot dm_mirror dm_region_hash dm_log dm_mod scsi_wait_scan sl811_hcd usbhid ohci_hcd uhci_hcd usb_s torage usb_libusual ehci_hcd usbcore scsi_transport_fc sx8 cciss sata_mv ahci sata_nv sata_sil24 sata_sil pata_jmicron pata_atiixp pata_amd Pid: 9170, comm: modprobe Not tainted 2.6.31-gentoo #4 Call Trace: [] ? thread_return+0x1cc/0x6c4 [] ? schedule_timeout+0x1c5/0x200 [] ? enqueue_task_fair+0x4b/0xe0 [] ? wait_for_common+0x17c/0x1b0 [] ? default_wake_function+0x0/0x40 [] ? kthread_create+0xa8/0x160 [] ? scsi_error_handler+0x0/0x640 [] ? up+0x26/0x80 [] ? dev_set_name+0x5d/0x80 [] ? sysfs_find_dirent+0x3d/0x70 [] ? kobject_init+0x3c/0xd0 [] ? __kmalloc+0xca/0x140 [] ? device_initialize+0x33/0xb0 [] ? scsi_host_alloc+0x29d/0x330 [] ? iscsi_host_alloc+0x30/0x100 [libiscsi] [] ? bnx2i_alloc_hba+0x36/0x6e0 [bnx2i] [] ? bnx2i_ulp_init+0x30/0x170 [bnx2i] [] ? cnic_register_driver+0x111/0x184 [cnic] [] ? bnx2i_mod_init+0x0/0xe4 [bnx2i] [] ? bnx2i_mod_init+0x77/0xe4 [bnx2i] [] ? bnx2i_mod_init+0x0/0xe4 [bnx2i] [] ? do_one_initcall+0x45/0x1c0 [] ? sys_init_module+0x107/0x260 [] ? system_call_fastpath+0x16/0x1b scsi8 : Broadcom Offload iSCSI Initiator BUG: scheduling while atomic: modprobe/9170/0x00000002 Modules linked in: bnx2i(+) libiscsi scsi_transport_iscsi nfsd bnep rfcomm l2cap bluetooth snd_pcm_oss snd_mixer_oss snd_seq_oss snd_seq_midi_event snd_seq snd_seq_device ip6table_filter ip6_tables ipt_LOG xt_recent xt_state xt_tcpudp iptable_filter iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_tables x_tables cpufreq_powersave cnic uio ipv6 snd_hda_codec_atihdmi snd_hda_codec_realtek snd_hda_intel snd_hda_codec bnx2 shpchp snd_hwdep psmouse snd_pcm pci_hotplug snd_timer pcspkr wmi snd firewire_ohci firewire_core soundcore rtc thermal snd_page_alloc asus_atk0110 processor button tg3 libphy fuse nfs auth_rpcgss nfs_acl lockd sunrpc raid10 raid1 raid0 md_mod dm_bbr dm_snapshot dm_mirror dm_region_hash dm_log dm_mod scsi_wait_scan sl811_hcd usbhid ohci_hcd uhci_hcd usb_s torage usb_libusual ehci_hcd usbcore scsi_transport_fc sx8 cciss sata_mv ahci sata_nv sata_sil24 sata_sil pata_jmicron pata_atiixp pata_amd Pid: 9170, comm: modprobe Not tainted 2.6.31-gentoo #4 Call Trace: [] ? thread_return+0x1cc/0x6c4 [] ? sched_clock_cpu+0x7f/0x290 [] ? task_rq_lock+0x57/0xb0 [] ? sched_clock_cpu+0x7f/0x290 [] ? schedule_timeout+0x1c5/0x200 [] ? enqueue_task_fair+0x4b/0xe0 [] ? wait_for_common+0x17c/0x1b0 [] ? default_wake_function+0x0/0x40 [] ? kthread_create+0xa8/0x160 [] ? worker_thread+0x0/0x260 [] ? pcpu_alloc_area+0x2aa/0x330 [] ? pcpu_alloc+0x478/0x4c0 [] ? create_workqueue_thread+0x53/0xa0 [] ? __create_workqueue_key+0x1b6/0x220 [] ? __kmalloc+0xca/0x140 [] ? scsi_add_host+0x134/0x260 [] ? bnx2i_alloc_hba+0x402/0x6e0 [bnx2i] [] ? bnx2i_ulp_init+0x30/0x170 [bnx2i] [] ? cnic_register_driver+0x111/0x184 [cnic] [] ? bnx2i_mod_init+0x0/0xe4 [bnx2i] [] ? bnx2i_mod_init+0x77/0xe4 [bnx2i] [] ? bnx2i_mod_init+0x0/0xe4 [bnx2i] [] ? do_one_initcall+0x45/0x1c0 [] ? sys_init_module+0x107/0x260 [] ? system_call_fastpath+0x16/0x1b Regards, Sergey Temerkhanov