From: Peter Osterlund <petero2@telia.com>
To: Alessandro Suardi <alessandro.suardi@oracle.com>
Cc: linux-kernel@vger.kernel.org, Patrick Mochel <mochel@osdl.org>
Subject: Re: 2.5.4-pre1 (decoded) oops on boot in device_create_file
Date: 07 Feb 2002 23:22:36 +0100 [thread overview]
Message-ID: <m2bsf1hqz7.fsf@ppro.localdomain> (raw)
In-Reply-To: <3C61DCE5.6D05CF90@oracle.com>
In-Reply-To: <3C61DCE5.6D05CF90@oracle.com>
Alessandro Suardi <alessandro.suardi@oracle.com> writes:
> Must be my time of the year - first the kmem_cache_create one in
> 2.5.3-pre[45], now this one (should happen about PCI allocation
> of one of the Xircom CardBus resources):
I had the same problem with 2.5.4-pre2. The patch below makes my
laptop able to boot again, but I don't know if the patch is correct.
--- linux/drivers/pcmcia/cardbus.c.old Thu Feb 7 23:09:54 2002
+++ linux/drivers/pcmcia/cardbus.c Thu Feb 7 23:17:45 2002
@@ -281,6 +281,10 @@
pci_setup_device(dev);
+ strcpy(dev->dev.name, dev->name);
+ strcpy(dev->dev.bus_id, dev->slot_name);
+ device_register(&dev->dev);
+
/* FIXME: Do we need to enable the expansion ROM? */
for (r = 0; r < 7; r++) {
struct resource *res = dev->resource + r;
--
Peter Osterlund - petero2@telia.com
http://w1.894.telia.com/~u89404340
next prev parent reply other threads:[~2002-02-07 22:23 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-07 1:48 Alessandro Suardi
2002-02-07 22:22 ` Peter Osterlund [this message]
2002-02-07 22:28 ` Patrick Mochel
2002-02-08 0:10 ` Alessandro Suardi
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=m2bsf1hqz7.fsf@ppro.localdomain \
--to=petero2@telia.com \
--cc=alessandro.suardi@oracle.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mochel@osdl.org \
/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
all inboxes | Powered by JetHome®