mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@sisk.pl>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Pete Zaitcev <zaitcev@redhat.com>, Andrew Morton <akpm@osdl.org>,
	Kernel development list <linux-kernel@vger.kernel.org>,
	USB development list <linux-usb-devel@lists.sourceforge.net>
Subject: Re: 2.6.18-rc6-mm2: rmmod ohci_hcd oopses on HPC 6325
Date: Wed, 13 Sep 2006 21:24:22 +0200	[thread overview]
Message-ID: <200609132124.23630.rjw@sisk.pl> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0609131441080.6684-100000@iolanthe.rowland.org>

On Wednesday, 13 September 2006 20:44, Alan Stern wrote:
> On Wed, 13 Sep 2006, Rafael J. Wysocki wrote:
> 
> > 'rmmod ohci_hcd' causes the following oops to appear on my HPC 6325 every
> > time (happens also on -rc6-mm1, does not happen on -rc7):
> > 
> > Unable to handle kernel NULL pointer dereference at 0000000000000274 RIP:
> >  [<ffffffff8822c185>] :ohci_hcd:ohci_hub_status_data+0x25/0x27b
> > PGD 35ca9067 PUD 369a4067 PMD 0
> 
> > Call Trace:
> >  [<ffffffff8818e03f>] :usbcore:usb_hcd_poll_rh_status+0x40/0x13b
> >  [<ffffffff8822c01b>] :ohci_hcd:ohci_irq+0xcb/0x210
> >  [<ffffffff8818e78b>] :usbcore:usb_hcd_irq+0x2f/0x5f
> >  [<ffffffff8020ef13>] handle_IRQ_event+0x33/0x66
> >  [<ffffffff802af5f8>] handle_fasteoi_irq+0x9d/0xe3
> >  [<ffffffff80267c85>] do_IRQ+0x104/0x11f
> >  [<ffffffff80259621>] ret_from_intr+0x0/0xa
> > DWARF2 unwinder stuck at ret_from_intr+0x0/0xa
> > 
> > Leftover inexact backtrace:
> > 
> >  <IRQ>  <EOI>  [<ffffffff802ee4ac>] sysfs_hash_and_remove+0x9/0x137
> >  [<ffffffff802eed13>] sysfs_remove_file+0x10/0x12
> >  [<ffffffff8038baf7>] class_device_remove_file+0x12/0x14
> >  [<ffffffff8822aa02>] :ohci_hcd:ohci_stop+0xf5/0x17b
> >  [<ffffffff8818d9d2>] :usbcore:usb_remove_hcd+0xdc/0x114
> >  [<ffffffff8040f8eb>] klist_release+0x0/0x82
> >  [<ffffffff88197f45>] :usbcore:usb_hcd_pci_remove+0x1e/0x7d
> >  [<ffffffff803204d8>] pci_device_remove+0x25/0x3c
> >  [<ffffffff8038b1b5>] __device_release_driver+0x80/0x9c
> >  [<ffffffff8038b617>] driver_detach+0xac/0xee
> >  [<ffffffff8038ad92>] bus_remove_driver+0x75/0x98
> >  [<ffffffff8038b696>] driver_unregister+0x15/0x21
> >  [<ffffffff80320686>] pci_unregister_driver+0x13/0x8e
> >  [<ffffffff8822cd1c>] :ohci_hcd:ohci_hcd_pci_cleanup+0x10/0x12
> >  [<ffffffff8029b281>] sys_delete_module+0x1b5/0x1e6
> >  [<ffffffff8025910e>] system_call+0x7e/0x83
> > 
> > 
> > Code: 8a 98 74 02 00 00 e8 d6 3b 03 f8 48 89 45 d0 41 8b 84 24 e4
> > RIP  [<ffffffff8822c185>] :ohci_hcd:ohci_hub_status_data+0x25/0x27b
> >  RSP <ffffffff805c7e18>
> > CR2: 0000000000000274
> >  <0>Kernel panic - not syncing: Aiee, killing interrupt handler!
> > 
> > where
> > 
> > (gdb) l *ohci_hub_status_data+0x25
> > 0x4185 is in ohci_hub_status_data (drivers/usb/host/ohci-hub.c:316).
> > 311             struct ohci_hcd *ohci = hcd_to_ohci (hcd);
> > 312             int             i, changed = 0, length = 1;
> > 313             int             can_suspend;
> > 314             unsigned long   flags;
> > 315
> > 316             can_suspend = device_may_wakeup(&hcd->self.root_hub->dev);
> > 317             spin_lock_irqsave (&ohci->lock, flags);
> > 318
> > 319             /* handle autosuspended root:  finish resuming before
> > 320              * letting khubd or root hub timer see state changes.
> > 
> > I guess it may be related to the suspend issues?
> 
> No, this is completely separate.  The suspend issue involved ehci-hcd, not 
> ohci-hcd.

Well, on my box it's ohci-hcd too.

> This problem has already been identified by Pete Zaitcev in this thread:
> 
> 	http://marc.theaimsgroup.com/?t=115769512800001&r=1&w=2

Ah, thanks.

> Perhaps Pete has an updated patch to fix the problem.  If not, I could 
> write one.

For now I can use the original Pete's patch, but it would be nice to have a
fix in -mm. ;-)

Greetings,
Rafael


-- 
You never change things by fighting the existing reality.
		R. Buckminster Fuller

  reply	other threads:[~2006-09-13 19:24 UTC|newest]

Thread overview: 58+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-09-12  7:06 2.6.18-rc6-mm2 Andrew Morton
2006-09-12  8:56 ` 2.6.18-rc6-mm2 Andy Whitcroft
2006-09-12  9:02   ` [PATCH] BODGE scsi misc module reference count checks with no MODULE_UNLOAD Andy Whitcroft
2006-09-12  9:19     ` Helge Hafting
2006-09-12  9:24 ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-12 12:54 ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-12 15:42   ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-12 23:25     ` 2.6.18-rc6-mm2 Andrew Morton
2006-09-12 23:34       ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-12 23:37         ` 2.6.18-rc6-mm2 Andrew Morton
2006-09-13  1:58           ` [xfs-masters] 2.6.18-rc6-mm2 David Chinner
2006-09-13  4:26             ` David Chinner
2006-09-13  9:43               ` Michal Piotrowski
2006-09-14  3:59                 ` David Chinner
2006-09-14  8:37                   ` Michal Piotrowski
2006-09-14  8:50                     ` Michal Piotrowski
2006-09-14  8:55                       ` Michal Piotrowski
2006-09-14  9:08                       ` David Chinner
2006-09-14  9:29                         ` Michal Piotrowski
2006-09-14 10:03                           ` Michal Piotrowski
2006-09-14 17:01                             ` Michal Piotrowski
2006-09-15  2:57                               ` David Chinner
2006-09-15  3:48                                 ` Andrew Morton
2006-09-15  5:58                                   ` David Chinner
2006-09-15  8:06                                     ` Michal Piotrowski
2006-09-17 23:01                                       ` David Chinner
2006-09-12 19:11 ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-12 22:03   ` 2.6.18-rc6-mm2 Jiri Slaby
2006-09-12 22:14     ` 2.6.18-rc6-mm2 Jiri Slaby
2006-09-12 20:05 ` [-mm patch] arm build fail: vfpsingle.c Frederik Deweerdt
2006-09-12 18:27   ` Zach Brown
2006-09-12 21:00     ` Frederik Deweerdt
2006-09-12 19:07       ` Zach Brown
2006-09-12 21:31         ` Frederik Deweerdt
2006-09-13 13:58 ` 2.6.18-rc6-mm2: rmmod ohci_hcd oopses on HPC 6325 Rafael J. Wysocki
2006-09-13 16:36   ` Rafael J. Wysocki
2006-09-13 18:44   ` Alan Stern
2006-09-13 19:24     ` Rafael J. Wysocki [this message]
2006-09-13 22:31     ` Pete Zaitcev
2006-09-14 11:19       ` Rafael J. Wysocki
2006-09-15 22:45         ` Pete Zaitcev
2006-09-16 23:02           ` Rafael J. Wysocki
2006-09-19  3:21           ` David Brownell
2006-09-14 11:11 ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-14 15:47   ` 2.6.18-rc6-mm2 Andrew Morton
2006-09-14 21:40   ` 2.6.18-rc6-mm2 Greg KH
2006-09-14 22:17     ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-14 22:36       ` 2.6.18-rc6-mm2 Greg KH
2006-09-15 20:35         ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-15 21:50           ` 2.6.18-rc6-mm2 Greg KH
2006-09-16 12:14             ` 2.6.18-rc6-mm2 Michal Piotrowski
2006-09-17 16:05               ` 2.6.18-rc6-mm2 Greg KH
2006-09-17  9:29 ` 2.6.18-rc6-mm2: __fscache_register_netfs compile error Christian Kujau
2006-09-17  9:37   ` Christian Kujau
2006-09-22 10:33 ` David Howells
2006-09-22 10:39 ` David Howells
2006-09-23 20:38   ` Christian Kujau
2006-09-26  6:58     ` Christian Kujau

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=200609132124.23630.rjw@sisk.pl \
    --to=rjw@sisk.pl \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb-devel@lists.sourceforge.net \
    --cc=stern@rowland.harvard.edu \
    --cc=zaitcev@redhat.com \
    /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

Powered by JetHome