linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
To: "J.A. Magallon" <jamagallon@able.es>
Cc: Andrew Morton <akpm@osdl.org>,
	linux-kernel@vger.kernel.org, Greg KH <greg@kroah.com>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>
Subject: Re: [PATCH] Re: pdc202xx_old broke boot [was Re: 2.6.9-mm1]
Date: Thu, 28 Oct 2004 00:42:47 +0200	[thread overview]
Message-ID: <58cb370e04102715427f9ccd13@mail.gmail.com> (raw)
In-Reply-To: <1098915592l.20613l.0l@werewolf.able.es>

On Wed, 27 Oct 2004 22:19:52 +0000, J.A. Magallon <jamagallon@able.es> wrote:
> 
> On 2004.10.23, Bartlomiej Zolnierkiewicz wrote:
> > On Fri, 22 Oct 2004 17:21:00 -0700, Andrew Morton <akpm@osdl.org> wrote:
> > > "J.A. Magallon" <jamagallon@able.es> wrote:
> > > >
> > > > Hi all...
> > > >
> > > > On 2004.10.22, Andrew Morton wrote:
> > > > >
> > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.9/2.6.9-mm1/
> > > > >
> > > >
> > > > I upgraded from 2.6.9-rc3-mm3 to 2.6.9-mm1 and the system coould not boot.
> > > > What was before hde now was hda (guess ? root is on hde1...)
> > >
> > > yikes.  Perhaps the PCI scanning order was changed?
> >
> > Fortunately, not. :)
> >
> > What happened is that ide-dev-2.6 tree contains a patch which ignores
> > BIOS settings for Promise controllers but ide-dev-2.6 tree is not in
> > 2.6.9-mm1 (due to syncing with -linus -> temporary breakage).

^

> > > > How can I restore the old behaviour ? Plain 2.6.9 booted. So reconfiguring
> > > > fstab to say / == hda1 will make impossible switch between kernels ...
> >
> > In 2.6.9-mm1 CONFIG_PDC202XX_FORCE option can also be used
> > for pdc202xx_old but pdc202xx_new must be enabled (yes it a bug).
> >
> 
> Is this patch OK ? (against 2.6.9-mm1)

Nice attempt but...

There shoud be either separate config options or no options et all.
ide-dev tree contains the latter fix, I just need to sync/rebuild ide-dev
so akpm can merge it into the next -mm kernel.

> --- linux/drivers/ide/Kconfig.orig      2004-10-26 01:26:09.000000000 +0200
> +++ linux/drivers/ide/Kconfig   2004-10-28 00:15:27.936420036 +0200
> @@ -624,6 +624,8 @@
> 
>           Please read the comments at the top of <file:drivers/ide/pci/ns87415.c>.
> 
> +menu "Promise PDC support"
> +
>  config BLK_DEV_PDC202XX_OLD
>         tristate "PROMISE PDC202{46|62|65|67} support"
>         help
> @@ -648,9 +650,15 @@
> 
>           If unsure, say N.
> 
> +config BLK_DEV_PDC202XX_NEW
> +       tristate "PROMISE PDC202{68|69|70|71|75|76|77} support"
> +
> +config PDC202XX_DUMMY
> +       bool
> +
>  config PDC202XX_BURST
>         bool "Special UDMA Feature"
> -       depends on BLK_DEV_PDC202XX_OLD
> +       depends on BLK_DEV_PDC202XX_OLD || BLK_DEV_PDC202XX_NEW
>         help
>           This option causes the pdc202xx driver to enable UDMA modes on the
>           PDC202xx even when the PDC202xx BIOS has not done so.
> @@ -665,15 +673,20 @@
> 
>           If unsure, say N.
> 
> -config BLK_DEV_PDC202XX_NEW
> -       tristate "PROMISE PDC202{68|69|70|71|75|76|77} support"
> -
> -# FIXME - probably wants to be one for old and for new
>  config PDC202XX_FORCE
>         bool "Enable controller even if disabled by BIOS"
> -       depends on BLK_DEV_PDC202XX_NEW
> +       depends on BLK_DEV_PDC202XX_OLD || BLK_DEV_PDC202XX_NEW
>         help
> -         Enable the PDC202xx controller even if it has been disabled in the BIOS setup.
> +         Enable the PDC202xx controller even if it has been disabled, both
> +         manually in the BIOS setup, or because it has no drive connected.
> +         If you do not force the detection and have other IDE busses
> +         in the box, the device names for your other busses (/dev/hdX)
> +         can change depending on drives being connected to the Promise or not.
> +
> +         If unsure, say Y. This will keep your IDE drive device names
> +         consistent with or without drives connected to the PDC.
> +
> +endmenu
> 
>  config BLK_DEV_SVWKS
>         tristate "ServerWorks OSB4/CSB5/CSB6 chipsets support"
> 
>

  reply	other threads:[~2004-10-27 22:49 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-22 10:20 2.6.9-mm1 Andrew Morton
2004-10-22 10:39 ` 2.6.9-mm1 Christoph Hellwig
2004-10-22 10:54   ` 2.6.9-mm1 Andrew Morton
2004-10-22 11:08     ` 2.6.9-mm1 Christoph Hellwig
2004-10-22 17:26       ` 2.6.9-mm1 Hans Reiser
2004-10-22 19:34       ` 2.6.9-mm1 Roman Zippel
2004-10-27 11:19         ` 2.6.9-mm1 Christoph Hellwig
2004-10-22 15:54   ` 2.6.9-mm1 Chris Wright
2004-10-22 12:23 ` 2.6.9-mm1 Eyal Lebedinsky
2004-10-22 19:26   ` 2.6.9-mm1 Adrian Bunk
2004-10-22 13:39 ` 2.6.9-mm1: pc_debug multiple definitions Adrian Bunk
2004-10-22 23:07   ` Russell King
2004-10-24  3:41   ` Luis R. Rodriguez
2004-10-24  9:33     ` Adrian Bunk
2004-10-24 10:05       ` Luis R. Rodriguez
2004-10-22 13:43 ` [patch] 2.6.9-mm1: usb/serial/console.c compile error Adrian Bunk
2004-10-22 18:08   ` Greg KH
2004-10-22 13:50 ` 2.6.9-mm1: timer_event multiple definition Adrian Bunk
2004-10-22 15:24   ` Christoph Lameter
2004-10-22 19:16     ` Adrian Bunk
2004-10-22 19:21       ` Christoph Lameter
2004-10-25 23:07     ` George Anzinger
2004-10-25 23:32       ` Christoph Lameter
2004-10-22 13:59 ` [patch] 2.6.9-mm1: ISDN hisax_fcpcipnp.c: kill unused variable Adrian Bunk
2004-10-22 15:30 ` 2.6.9-mm1 Jason Baron
2004-10-22 17:24 ` 2.6.9-mm1 Hans Reiser
2004-10-23 19:01   ` 2.6.9-mm1 Hilzinger Marcel
2004-10-23 19:39     ` 2.6.9-mm1 Andrew Morton
2004-10-23 19:49       ` 2.6.9-mm1 Jan Engelhardt
2004-10-24 17:42       ` 2.6.9-mm1 Alex Zarochentsev
2004-10-23 20:28     ` 2.6.9-mm1 Hans Reiser
2004-10-24 14:41   ` 2.6.9-mm1 Dr. Giovanni A. Orlando
2004-10-24 14:41   ` 2.6.9-mm1 Clifford Beshers
2004-10-24 14:45     ` 2.6.9-mm1 Con Kolivas
2004-10-24 14:54       ` 2.6.9-mm1 Clifford Beshers
2004-10-25 19:52   ` 2.6.9-mm1 Bill Davidsen
2004-10-22 21:06 ` 2.6.9-mm1 (compile stats) John Cherry
2004-10-22 22:22 ` 2.6.9-mm1 Chuck Harding
2004-10-24 18:00   ` 2.6.9-mm1 john cooper
2004-10-25 21:24     ` 2.6.9-mm1 Chuck Harding
2004-10-23  0:12 ` pdc202xx_old broke boot [was Re: 2.6.9-mm1] J.A. Magallon
2004-10-23  0:21   ` Andrew Morton
2004-10-23  0:22     ` J.A. Magallon
2004-10-23  0:34     ` Bartlomiej Zolnierkiewicz
2004-10-27 22:19       ` [PATCH] " J.A. Magallon
2004-10-27 22:42         ` Bartlomiej Zolnierkiewicz [this message]
2004-10-23  0:13 ` 2.6.9-mm1 Dominik Karall
2004-10-23 10:37   ` 2.6.9-mm1 Gerd Knorr
2004-10-23  0:44 ` [patch] 2.6.9-mm1: dvb-dibusb.c: remove unused code Adrian Bunk
2004-10-23 10:48   ` Patrick Boettcher
2004-10-23  7:22 ` 2.6.9-mm1 Avuton Olrich
2004-10-23 16:59   ` 2.6.9-mm1 Markus   Törnqvist
2004-10-23 22:03   ` 2.6.9-mm1 Kasper Sandberg
2004-10-25 19:54   ` 2.6.9-mm1 Bill Davidsen
2004-10-23  9:08 ` 2.6.9-mm1 Alexander Nyberg
2004-10-24  8:49   ` 2.6.9-mm1 Andrew Morton
2004-10-23 12:06 ` 2.6.9-mm1 Dominik Karall
2004-10-23 14:37 ` 2.6.9-mm1 Adrian Bunk
2004-10-23 15:55   ` 2.6.9-mm1 Hans Reiser
2004-10-23 16:57     ` 2.6.9-mm1 Markus   Törnqvist
2004-10-24  2:37       ` 2.6.9-mm1 David Masover
2004-10-24  0:47         ` 2.6.9-mm1 Jan Engelhardt
2004-10-24  5:14         ` 2.6.9-mm1 Hans Reiser
2004-10-24 19:40           ` 2.6.9-mm1 David Masover
2004-10-25 20:07           ` 2.6.9-mm1 Bill Davidsen
2004-10-25  0:12 ` 2.6.9-mm1 J.A. Magallon
2004-10-25 11:47 ` 2.6.9-mm1 Arjan van de Ven
2004-10-25 22:31 ` 2.6.9-mm1 Randy.Dunlap
2004-10-25 22:56   ` 2.6.9-mm1 Andrew Morton
2004-10-25 23:14     ` 2.6.9-mm1 Randy.Dunlap
2004-10-25 23:47       ` 2.6.9-mm1 Andrew Morton
2004-10-25 23:36         ` 2.6.9-mm1 Randy.Dunlap
2004-10-26  1:34           ` 2.6.9-mm1 Bartlomiej Zolnierkiewicz
2004-10-26  3:04             ` 2.6.9-mm1 Randy.Dunlap
2004-10-26 15:48               ` 2.6.9-mm1 Randy.Dunlap
2004-10-26 16:40                 ` 2.6.9-mm1 Bartlomiej Zolnierkiewicz
2004-10-26 20:01                   ` 2.6.9-mm1 Randy.Dunlap
2004-10-26  6:49   ` 2.6.9-mm1 Nigel Cunningham
2004-10-26 17:58 ` 2.6.9-mm1 Alexander Nyberg
2004-10-26 20:19   ` 2.6.9-mm1 Andrew Morton
2004-10-31  4:17 ` 2.6.9-mm1 A little build system bug I guess Pedro Larroy
2004-10-31  8:10   ` Sam Ravnborg

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=58cb370e04102715427f9ccd13@mail.gmail.com \
    --to=bzolnier@gmail.com \
    --cc=akpm@osdl.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=greg@kroah.com \
    --cc=jamagallon@able.es \
    --cc=linux-kernel@vger.kernel.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;
as well as URLs for NNTP newsgroup(s).