mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Maciej Babinski <maciej@imsa.edu>
To: Patrick Mochel <mochel@osdl.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.5.41 oops on reboot
Date: Wed, 9 Oct 2002 03:39:42 -0500	[thread overview]
Message-ID: <20021009033942.A5419@imsa.edu> (raw)
In-Reply-To: <Pine.LNX.4.44.0210081734060.16276-100000@cherise.pdx.osdl.net>; from mochel@osdl.org on Tue, Oct 08, 2002 at 05:35:17PM -0700

This patch alone doesn't fix it, but the big one does. Thanks!
												-Maciej

On Tue, Oct 08, 2002 at 05:35:17PM -0700, Patrick Mochel wrote:
> This has been reported a couple of times, and I posted a patch yesterday 
> that should fix this. Could you try this (must more narrow-focused) patch 
> and let me know if it fixes the problem?
> 
> Thanks
> 
> 	-pat
> 
> ChangeSet@1.696.19.1, 2002-10-07 09:52:31-07:00, mochel@osdl.org
>   IDE: only register drives that are present with the driver core.
> 
> diff -Nru a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c
> --- a/drivers/ide/ide-probe.c	Mon Oct  7 12:19:16 2002
> +++ b/drivers/ide/ide-probe.c	Mon Oct  7 12:19:16 2002
> @@ -986,8 +986,8 @@
>  			 "%s","IDE Drive");
>  		disk->disk_dev.parent = &hwif->gendev;
>  		disk->disk_dev.bus = &ide_bus_type;
> -		device_register(&disk->disk_dev);
> -
> +		if (hwif->drives[unit].present)
> +			device_register(&disk->disk_dev);
>  		hwif->drives[unit].disk = disk;
>  	}
>  
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at  http://www.tux.org/lkml/

      reply	other threads:[~2002-10-09  8:34 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-09  0:26 Maciej Babinski
2002-10-09  0:35 ` Patrick Mochel
2002-10-09  8:39   ` Maciej Babinski [this message]

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=20021009033942.A5419@imsa.edu \
    --to=maciej@imsa.edu \
    --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®