public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Peter Osterlund <petero2@telia.com>
To: Alessandro Suardi <alessandro.suardi@oracle.com>
Cc: linux-kernel@vger.kernel.org, mochel@geena.pdx.osdl.net
Subject: Re: 2.5.19 OOPS in pcmcia setup code
Date: 01 Jun 2002 11:03:02 +0200	[thread overview]
Message-ID: <m2bsavpe0p.fsf@ppro.localdomain> (raw)
In-Reply-To: <3CF6843C.6090101@oracle.com>

Alessandro Suardi <alessandro.suardi@oracle.com> writes:

> decoded oops follows, 100% reproducable.
> 
> Dell Latitude CPxJ750GT, PIII-750, Xircom RBEM56G100-TX,
>   kernel compiled with GCC 3.1. NB, 2.5.18 compiled with
>   GCC 3.1 works fine.
> 
> I tried recompiling with RH7.3 GCC but I still get an oops
>   on boot - I can't decode it since it scrolls maybe a dozen
>   screenfuls before stopping, so here's the GCC 3.1 one:

My laptop also oopses on boot, but this patch makes things work again:

--- drivers/pci/hotplug.c.old	Sat Jun  1 10:53:53 2002
+++ drivers/pci/hotplug.c	Sat Jun  1 10:52:05 2002
@@ -61,7 +61,7 @@
 	struct list_head *ln;
 
 	for(ln=pci_bus_type.drivers.next; ln != &pci_bus_type.drivers; ln=ln->next) {
-		struct pci_driver *drv = list_entry(ln, struct pci_driver, node);
+		struct pci_driver *drv = list_entry(ln, struct pci_driver, driver.bus_list);
 		if (drv->remove && pci_announce_device(drv, dev))
 			break;
 	}

-- 
Peter Osterlund - petero2@telia.com
http://w1.894.telia.com/~u89404340

  reply	other threads:[~2002-06-01  9:03 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-30 19:57 2.5.19 OOPS in pcmcia setup code Alessandro Suardi
2002-06-01  9:03 ` Peter Osterlund [this message]
2002-06-01 21:19   ` Peter Osterlund

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=m2bsavpe0p.fsf@ppro.localdomain \
    --to=petero2@telia.com \
    --cc=alessandro.suardi@oracle.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mochel@geena.pdx.osdl.net \
    /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