Linux SCSI subsystem development
 help / color / mirror / Atom feed
From: "Anil Veerabhadrappa" <anilgv@broadcom.com>
To: Sergey Temerkhanov <temerkhanov@yandex.ru>
Cc: "linux-scsi@vger.kernel.org" <linux-scsi@vger.kernel.org>
Subject: Re: BUG: bnx2i: scheduling while atomic while modprobing bnx2i module
Date: Fri, 11 Sep 2009 05:33:36 -0700	[thread overview]
Message-ID: <1252672416.27482.13.camel@anilgv-desktop> (raw)
In-Reply-To: <10381252638771@webmail104.yandex.ru>

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:
>  [<ffffffff8146d5b8>] ? thread_return+0x1cc/0x6c4
>  [<ffffffff8146e035>] ? schedule_timeout+0x1c5/0x200
>  [<ffffffff8104374b>] ? enqueue_task_fair+0x4b/0xe0
>  [<ffffffff8146ce6c>] ? wait_for_common+0x17c/0x1b0
>  [<ffffffff8104c5a0>] ? default_wake_function+0x0/0x40
>  [<ffffffff8106db88>] ? kthread_create+0xa8/0x160
>  [<ffffffff8135c590>] ? scsi_error_handler+0x0/0x640
>  [<ffffffff81073626>] ? up+0x26/0x80
>  [<ffffffff8134527d>] ? dev_set_name+0x5d/0x80
>  [<ffffffff8115b6bd>] ? sysfs_find_dirent+0x3d/0x70
>  [<ffffffff8129828c>] ? kobject_init+0x3c/0xd0
>  [<ffffffff810e7b0a>] ? __kmalloc+0xca/0x140
>  [<ffffffff81345b03>] ? device_initialize+0x33/0xb0
>  [<ffffffff81357efd>] ? scsi_host_alloc+0x29d/0x330
>  [<ffffffffa057ae50>] ? iscsi_host_alloc+0x30/0x100 [libiscsi]
>  [<ffffffffa058dc46>] ? bnx2i_alloc_hba+0x36/0x6e0 [bnx2i]
>  [<ffffffffa0587180>] ? bnx2i_ulp_init+0x30/0x170 [bnx2i]
>  [<ffffffffa043a141>] ? cnic_register_driver+0x111/0x184 [cnic]
>  [<ffffffffa0595000>] ? bnx2i_mod_init+0x0/0xe4 [bnx2i]
>  [<ffffffffa0595077>] ? bnx2i_mod_init+0x77/0xe4 [bnx2i]
>  [<ffffffffa0595000>] ? bnx2i_mod_init+0x0/0xe4 [bnx2i]
>  [<ffffffff81009075>] ? do_one_initcall+0x45/0x1c0
>  [<ffffffff810891c7>] ? sys_init_module+0x107/0x260
>  [<ffffffff8100c1ab>] ? 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:
>  [<ffffffff8146d5b8>] ? thread_return+0x1cc/0x6c4
>  [<ffffffff81074eff>] ? sched_clock_cpu+0x7f/0x290
>  [<ffffffff81042037>] ? task_rq_lock+0x57/0xb0
>  [<ffffffff81074eff>] ? sched_clock_cpu+0x7f/0x290
>  [<ffffffff8146e035>] ? schedule_timeout+0x1c5/0x200
>  [<ffffffff8104374b>] ? enqueue_task_fair+0x4b/0xe0
>  [<ffffffff8146ce6c>] ? wait_for_common+0x17c/0x1b0
>  [<ffffffff8104c5a0>] ? default_wake_function+0x0/0x40
>  [<ffffffff8106db88>] ? kthread_create+0xa8/0x160
>  [<ffffffff81067fd0>] ? worker_thread+0x0/0x260
>  [<ffffffff810e9b9a>] ? pcpu_alloc_area+0x2aa/0x330
>  [<ffffffff810ea268>] ? pcpu_alloc+0x478/0x4c0
>  [<ffffffff81067f83>] ? create_workqueue_thread+0x53/0xa0
>  [<ffffffff81068a46>] ? __create_workqueue_key+0x1b6/0x220
>  [<ffffffff810e7b0a>] ? __kmalloc+0xca/0x140
>  [<ffffffff813582f4>] ? scsi_add_host+0x134/0x260
>  [<ffffffffa058e012>] ? bnx2i_alloc_hba+0x402/0x6e0 [bnx2i]
>  [<ffffffffa0587180>] ? bnx2i_ulp_init+0x30/0x170 [bnx2i]
>  [<ffffffffa043a141>] ? cnic_register_driver+0x111/0x184 [cnic]
>  [<ffffffffa0595000>] ? bnx2i_mod_init+0x0/0xe4 [bnx2i]
>  [<ffffffffa0595077>] ? bnx2i_mod_init+0x77/0xe4 [bnx2i]
>  [<ffffffffa0595000>] ? bnx2i_mod_init+0x0/0xe4 [bnx2i]
>  [<ffffffff81009075>] ? do_one_initcall+0x45/0x1c0
>  [<ffffffff810891c7>] ? sys_init_module+0x107/0x260
>  [<ffffffff8100c1ab>] ? 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
> 



  reply	other threads:[~2009-09-11 12:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-11  3:12 BUG: bnx2i: scheduling while atomic while modprobing bnx2i module Sergey Temerkhanov
2009-09-11 12:33 ` Anil Veerabhadrappa [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-09-11 14:30 Sergey Temerkhanov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1252672416.27482.13.camel@anilgv-desktop \
    --to=anilgv@broadcom.com \
    --cc=linux-scsi@vger.kernel.org \
    --cc=temerkhanov@yandex.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox