From mboxrd@z Thu Jan 1 00:00:00 1970 From: Noboru Iwamatsu Subject: Re: bug in usbback Date: Mon, 27 Jul 2009 10:18:28 +0900 Message-ID: <4A6D0064.807@jp.fujitsu.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: james.harper@bendigoit.com.au, xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi James, Reconfiguring/Resconfigured states are used to notify the hotplug event, as follows. usb device usbback usbfront --------- ------- -------- Connected Connected | | ---plug&probe--->| | | | Reconfiguring-------------------->| | | | <---------------------Reconfiguring | | | | usbback_do_hotplug() | | | | | Reconfigured-------------------->| | | | | | usbfront_do_hotplug() | | | | |<----------------------Connected | | Connected | | | You mean: - Your version of usbfront NOT respond to Reconfiguring state. It's not bug of original usbfront. - When usbback is in Reconfiguring state and usbfront NOT respond to that, rebooting domU causes the BUG. Is my understanding right? Regards, Noboru James Harper wrote: > I think there is a bug in pvusb when the DomU does not respond to the > XenbusStateReconfiguring state change and is then rebooted. This caused > the following Dom0 (after a long freeze): > > BUG: soft lockup detected on CPU#0! > > Call Trace: > [] softlockup_tick+0xe1/0xef > [] timer_interrupt+0x408/0x466 > [] handle_IRQ_event+0x4d/0x95 > [] __do_IRQ+0xb4/0x127 > [] do_IRQ+0x44/0x4d > [] evtchn_do_upcall+0x1b3/0x26e > [] do_hypervisor_callback+0x1e/0x2c > [] :usbbk:usbbk_schedule+0x1e0/0xa3f > [] autoremove_wake_function+0x0/0x2e > [] keventd_create_kthread+0x0/0x62 > [] :usbbk:usbbk_schedule+0x0/0xa3f > [] keventd_create_kthread+0x0/0x62 > [] kthread+0xd4/0x108 > [] child_rip+0xa/0x12 > [] keventd_create_kthread+0x0/0x62 > [] error_exit+0x0/0x71 > [] kthread+0x0/0x108 > [] child_rip+0x0/0x12 > > FYI, I am trying to get pvusb working under GPLPV and I had never seen > the Reconfiguring/Reconfigured states before and so I wasn't doing > anything with them... > > James > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel