From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Anil Veerabhadrappa" Subject: Re: BUG: bnx2i: scheduling while atomic while modprobing bnx2i module Date: Fri, 11 Sep 2009 05:33:36 -0700 Message-ID: <1252672416.27482.13.camel@anilgv-desktop> References: <10381252638771@webmail104.yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit Return-path: Received: from mms2.broadcom.com ([216.31.210.18]:2638 "EHLO mms2.broadcom.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752326AbZIKMdj (ORCPT ); Fri, 11 Sep 2009 08:33:39 -0400 In-Reply-To: <10381252638771@webmail104.yandex.ru> Sender: linux-scsi-owner@vger.kernel.org List-Id: linux-scsi@vger.kernel.org To: Sergey Temerkhanov Cc: "linux-scsi@vger.kernel.org" This should be resolved by a patch from 3 weeks ago. reference: http://kerneltrap.org/mailarchive/linux-scsi/2009/8/15/6319303 On Thu, 2009-09-10 at 20:12 -0700, Sergey Temerkhanov wrote: > 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 _storage 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 _storage 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 > -- > To unsubscribe from this list: send the line "unsubscribe linux-scsi" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >