linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Linux v2.4.19-rc5
@ 2002-08-01  6:38 Marcelo Tosatti
  2002-08-01  7:49 ` Jens Axboe
                   ` (4 more replies)
  0 siblings, 5 replies; 96+ messages in thread
From: Marcelo Tosatti @ 2002-08-01  6:38 UTC (permalink / raw)
  To: lkml


One of the -rc4 fixes was not correct and -rc4 missed an important SMP
race "fix" on the block layer.


Summary of changes from v2.4.19-rc4 to v2.4.19-rc5
============================================

<davem@redhat.com> (02/08/01 1.662)
	[PATCH] Correct openprom fix

	   <davem@redhat.com> (02/07/31 1.661)
	   	[PATCH] Add missing check to openprom driver

<akpm@zip.com.au> (02/08/01 1.663)
	[PATCH] disable READA

<marcelo@plucky.distro.conectiva> (02/08/01 1.664)
	Change EXTRAVERSION to -rc5


^ permalink raw reply	[flat|nested] 96+ messages in thread
* Re: [PATCH] pdc20265 problem.
@ 2002-08-02 19:05 Bartlomiej Zolnierkiewicz
  2002-08-02 23:05 ` Marcelo Tosatti
  0 siblings, 1 reply; 96+ messages in thread
From: Bartlomiej Zolnierkiewicz @ 2002-08-02 19:05 UTC (permalink / raw)
  To: Nick Orlov; +Cc: lkml


> Just FYI,
>
> before these "#ifdef" fixes it was treated as OFF_BOARD unless
> CONFIG_PDC202XX_FORCE is set. (now it's inverted)

This should be fixed.

>
> And my point is that it does not matter how physically this controller
> installed - onboard or offboard. Idea is that we should have control

It is not on/offboard case. It is primary/secondary boot device case.

> which controller should be treated as "primary" (ide0/1) and which as
> "secondary" (ide2/3). I don't see/know how we can do it unless we mark
> one of controllers ON_BOARD and another OFF_BOARD and play with
> CONFIG_BLK_DEV_OFFBOARD.

Yes.

> And also I don't believe that this is good idea to treat one of Promises
> so differently.

Once again - on some machines it is primary IDE (booting one), so we have
to give user possibility for 'onboarding' it. However it should depend on
CONFIG_PDC202XX_FORCE... hmm... but on others it is offboard so distro
compiled kernels might have problem here :\.

Regards
--
Bartlomiej


^ permalink raw reply	[flat|nested] 96+ messages in thread
* Re: [PATCH] pdc20265 problem.
@ 2002-08-06 10:28 Petr Vandrovec
  0 siblings, 0 replies; 96+ messages in thread
From: Petr Vandrovec @ 2002-08-06 10:28 UTC (permalink / raw)
  To: Bill Davidsen; +Cc: Marcelo Tosatti, Nick Orlov, lkml, b.zolnierkiewitz

On  5 Aug 02 at 23:48, Bill Davidsen wrote:
> On Sat, 3 Aug 2002, Bartlomiej Zolnierkiewicz wrote:
> 
> > And second problem is that 20265 is used as primary onboard
> > sometimes and sometimes as offboard (another config option?).
> 
> Can that not be configured at boot time with ide0=xxx or similar? I'm
> clearly missing why it would matter on or off board as long as the
> controller(s) were checked in the right order.

Make me favor, and extend ide0=<port> to also allow 
ide0=pci<slotnumber>.primary or .secondary... Until then
I do not know port address in advance (my board also uses
20265 as secondary ATA host, and I was really surprised what happened
to my /dev/hde after upgrade).
                                        Petr Vandrovec
                                        vandrove@vc.cvut.cz
                                        

^ permalink raw reply	[flat|nested] 96+ messages in thread
* Re: [PATCH] pdc20265 problem.
@ 2002-08-07  7:54 Adam J. Richter
  2002-08-07 11:41 ` Alan Cox
  2002-08-07 16:32 ` Thunder from the hill
  0 siblings, 2 replies; 96+ messages in thread
From: Adam J. Richter @ 2002-08-07  7:54 UTC (permalink / raw)
  To: nick.orlov; +Cc: davidsen, linux-kernel

Nick Orlov writes:
>But wouldn't it be a cleaner solution if we will have _compile_ time
>option that by default is turned on in order to handle rare cases,
>and _can_ be turned off in order to handle _most_ cases without any
>boot-time options?

	You might not see them on linux-kenrel, but there are
lots of Linux users that are not comfortable compiling a custom
kernel (or even competent to do so), but are a bit more willing
to edit files and rerun a boot configuration utility like lilo.

	Linux users in the "I'm not a sysadmin" crowd (?) probably
don't care about the scan order of the pdc20265 IDE controller,
but people in the "I'm a sysadmin, not a programmer" crowd
may have legitimiate reasons to.

Adam J. Richter     __     ______________   575 Oroville Road
adam@yggdrasil.com     \ /                  Milpitas, California 95035
+1 408 309-6081         | g g d r a s i l   United States of America
                         "Free Software For The Rest Of Us."

^ permalink raw reply	[flat|nested] 96+ messages in thread
* Re: [PATCH] pdc20265 problem.
@ 2002-08-07 10:20 Petr Vandrovec
  2002-08-07 23:04 ` Bill Davidsen
  0 siblings, 1 reply; 96+ messages in thread
From: Petr Vandrovec @ 2002-08-07 10:20 UTC (permalink / raw)
  To: Adam J. Richter; +Cc: davidsen, linux-kernel, nick.orlov

On  7 Aug 02 at 0:54, Adam J. Richter wrote:
> Nick Orlov writes:
> >But wouldn't it be a cleaner solution if we will have _compile_ time
> >option that by default is turned on in order to handle rare cases,
> >and _can_ be turned off in order to handle _most_ cases without any
> >boot-time options?
> 
>     Linux users in the "I'm not a sysadmin" crowd (?) probably
> don't care about the scan order of the pdc20265 IDE controller,
> but people in the "I'm a sysadmin, not a programmer" crowd
> may have legitimiate reasons to.

But such "I'm not a sysadmin" people will be very surprised that their
promise was IDE2 in 2.2.x, it was IDE2 in 2.4.18, it is IDE2 in 2.5.30,
and now - oops - it is IDE0 in 2.4.19. Broken, I'd say.

There is an CONFIG_BLK_DEV_OFFBOARD option (apparently unused...),
so use this one, if some distribution must force ide0= to promise 
if their installer cannot find master disk on /dev/hde. But changing
behavior for no reason - especially in the middle of stable series -
is IMHO unacceptable. 

Fortunately I use 2.5.30's IDE for real work ;-)
                                                Petr Vandrovec
                                                vandrove@vc.cvut.cz
                                                

^ permalink raw reply	[flat|nested] 96+ messages in thread
* Re: [PATCH] pdc20265 problem.
@ 2002-08-07 18:39 Adam J. Richter
  2002-08-07 19:33 ` Thunder from the hill
  0 siblings, 1 reply; 96+ messages in thread
From: Adam J. Richter @ 2002-08-07 18:39 UTC (permalink / raw)
  To: linux-kernel; +Cc: alan, thunger, vandrove

On Wed, 2002-08-07 at 10:47, Alan Cox wrote:
>On Wed, 2002-08-07 at 08:54, Adam J. Richter wrote:
>>       Linux users in the "I'm not a sysadmin" crowd (?) probably
>> don't care about the scan order of the pdc20265 IDE controller,
>> but people in the "I'm a sysadmin, not a programmer" crowd
>> may have legitimiate reasons to.
>
>The non sysadmin people care that is has not change, and generally
>prefer that its the same ordering as windows seems to use. Once you go
>to modular IDE it gets trickier. Certainly if you load modules the usual
>bets are off (as with scsi)
[...]

And Petr Vandrovec wrote:
| But such "I'm not a sysadmin" people will be very surprised that their
| promise was IDE2 in 2.2.x, it was IDE2 in 2.4.18, it is IDE2 in 2.5.30,
| and now - oops - it is IDE0 in 2.4.19. Broken, I'd say.

	I was not expresing an opinion on what the default
ordering should be.

	There seemed to be agreement that no single ordering would
make all users happy and that there should be some way of changing
the ordering.  The post that I replied to discussed and module
arguments versus a compile time flag.  All that I was saying was
that providing arguments would probably be more useful for the
population that might care about this issue, as they might not be
comfortable having to rebuild custom kernels (or supporting another
kernel in their site, I should add now).

I might as well address the response from "Thunder from the hill" as well;
: Oh, that's really no problem. You can reduce the programm to choosing a 
: simple list entry and clicking a button. Anything can be made easy via the 
: proper frontend. (And BTW, one should always be both - (sys|net)admin and 
: "programmer".)

	That would require the distribution provider to double
the number of precompiled kernels or module trees that they ship
and support.  That would be a lot more work than implementing a
module option and a boot option and use a lot more space, for no
substatial advantages that I'm aware of.

Adam J. Richter     __     ______________   575 Oroville Road
adam@yggdrasil.com     \ /                  Milpitas, California 95035
+1 408 309-6081         | g g d r a s i l   United States of America
                         "Free Software For The Rest Of Us."

^ permalink raw reply	[flat|nested] 96+ messages in thread
* Re: [PATCH] pdc20265 problem.
@ 2002-08-08 12:45 Petr Vandrovec
  2002-08-08 13:02 ` Andre Hedrick
  0 siblings, 1 reply; 96+ messages in thread
From: Petr Vandrovec @ 2002-08-08 12:45 UTC (permalink / raw)
  To: Andre Hedrick
  Cc: Nick Orlov, B.Zolnierkiewicz, Marcelo Tosatti, linux-kernel, davidsen

On  8 Aug 02 at 3:50, Andre Hedrick wrote:
> On Wed, 7 Aug 2002, Bill Davidsen wrote:
> 
> > I would just as soon use a boot option as to try and make it a compile
> > option, and I think that many people just use a compiled kernel and never
> > change, which argues for a reasonable default (most pdc20265) ARE
> > currently offboard, and an easy way to change it.
> 
> There are ZERO pdc20265's offboard, only pdc20267's were in both options.
> This is the direct asic packaging.  Thus all pdc20265 have the right to be
> listed as onboard.  If you have a pdc20265 on an add-on card please send
> me a digital photo so I can question promise as to why.

They are on the mainboard, but mainboard has also (in my case VIA) IDE
chipset on the shelf, and BIOS shows everywhere (autodetection, IDE config)
that VIA is the primary chipset, and PDC ('UDMA100' interface in the BIOS)
is an additional, optional, interface. So forcing PDC20265 as primary is 
a bug - it is not consistent with BIOS, it is not consistent with Windows, 
and it is not consistent with other Linux versions.

Up to now nobody showed me mainboard which has PDC20265, but which does
not have other IDE chipset integrated in the southbridge, or at least
mainbord with BIOS which names disks connected to the PDC primary/secondary
master/slave. It is 3rd/4th channel on all mainboards I ever saw.
                                                    Petr Vandrovec
                                                    vandrove@vc.cvut.cz
                                                    

^ permalink raw reply	[flat|nested] 96+ messages in thread
* Re: [PATCH] pdc20265 problem.
@ 2002-08-08 16:48 Petr Vandrovec
  2002-08-08 17:30 ` Andre Hedrick
  0 siblings, 1 reply; 96+ messages in thread
From: Petr Vandrovec @ 2002-08-08 16:48 UTC (permalink / raw)
  To: Andre Hedrick
  Cc: Nick Orlov, B.Zolnierkiewicz, Marcelo Tosatti, linux-kernel, davidsen

On  8 Aug 02 at 6:02, Andre Hedrick wrote:
> 
> There are mainboard out there designed specifically to boot off the third
> party host.  I have one with the pdc20265 on it.  So if you mainboard is

Vendor + motherboard name, please.

> produced by some lame OEM who is trying to grant first access to the addon
> host chip by playing silly devfn/bus ordering games you get what you
> bought.  Yeah there are cheesy crap-mainboard oem's that play this game.

Uhh? Changing boot order in the BIOS must NOT change what ide0 is.

What are you smoking? It would completely screw my system that if I
decide to boot from secondary channel, it magically becomes ide0. If
Linux would behave this way, I could never tell which disk will get which
name until I boot. What if I boot from floppy? Then IDE interfaces will 
become numbered from ide1, because of there was no IDE boot device?
Should we also swap hda with hdb if I boot my system from primary slave?

And I did not found anything about ide0 in documents you provided.

And BTW, my board is A7V from Asus. Manual refers to VIA interface
as 'primary/secondary channels', and to PDC as 'UDMA100 interface'(s).
And PDC is always run in the native mode, IRQ14/15 is not wired to the
PDC chip at all.

I always thought that if there is IDE interface at the 0x1F0 in the
system, it will become ide0, and if there is interface at the 0x170,
it will become ide1 (and simillary for ISA-based tertiary/quaterniary). 
After this step unused ide* interfaces are populated with native PCI IDE 
interfaces, starting at ide0, and going up...
                                            Petr Vandrovec
                                            vandrove@vc.cvut.cz
                                            

^ permalink raw reply	[flat|nested] 96+ messages in thread
* Re: [PATCH] pdc20265 problem.
@ 2002-08-08 18:22 Petr Vandrovec
  2002-08-08 18:35 ` Andre Hedrick
  0 siblings, 1 reply; 96+ messages in thread
From: Petr Vandrovec @ 2002-08-08 18:22 UTC (permalink / raw)
  To: Andre Hedrick
  Cc: Nick Orlov, B.Zolnierkiewicz, Marcelo Tosatti, linux-kernel, davidsen

On  8 Aug 02 at 10:30, Andre Hedrick wrote:
> 
> http://www.tyan.com/products/html/thunderlet.html

Page 40 of manual: choose Onboard IDE or FastTrak ATA-100/RAID.
OnboardIDE means Serverworks, FastTrak means PDC20265.
BIOS settings for primary/secondary disk relate to the Serverworks
channels.

> http://www.tyan.com/products/html/tiger200t.html

Page 11: Primary/secondary IDE: VIA, RAID primary/secondary: PDC.
Page 33: Primary/secondary IDE settings relate to the VIA.

> http://www.tyan.com/products/html/trinityi845e.html

Page 5: Integrated PCI IDE (it talks about i845 internal) +
integrated IDE RAID (20267, so no relevance here). Page 28:
primary/secondary disables i845, not PDC.

> http://www.tyan.com/products/html/trinitygcsl.html

Serverworks, with IDE. Serverworks IDE is primary.
RAID is 20267, so no relevance. Manual not available yet.

> http://www.epox.com/html/english/products/motherboard/ep-d3va.htm

VIA onboard, HPT370 RAID. Connectors of RAID marked IDE3/IDE4.

> http://www.epox.com/html/english/products/motherboard/ep-8k3a.htm

8k3a has no RAID. 8k3a+ has PDC20267. Primary IDE is from VIA,
RAID is additional...

> http://www.supermicro.com/PRODUCT/MotherBoards/VIA/370DDE.htm

Manual unavailable from the web (404 Page not found after clicking
on manual). Picture shows IDE #1/IDE #2 (VIA) and IDE RAID #1/#2.
Besides that it has PDC20267, so it has no relevance to this discussion.

> http://www.supermicro.com/PRODUCT/MotherBoards/VIA/P3TDDE.htm

Manual page #10: IDE1/IDE2 for VIA, IDE RAID #1/#2 for PDC.
Page 14: 2 IDE bus master interfaces support UDMA/100 (listed first),
2 IDE RAID connectors (listed later). Page 49: IDE primary/secondary
settings relate to the VIA.
 
> all know better, are wiser, empower w/ megalmania (sp) and gawd knows what
> else.  Please next time, do your homework before you attempt to call me
> on these issues.  Do the two word "Native" and "Compatablity" in ATA-ATAPI
> have meaning?  This will help you go a long way.

I did my homework. I still believe that there is NO MAINBOARD with
PDC20265, and without southbridge IDE - be it VIA, SiS, Intel or Nvidia.
All motherboards you listed have PDC (or HPT) as an additional controller,
and manual always refers to southbridge as IDE#1/IDE#2, while PDC
is referred as IDE RAID#1/#2, or even as IDE#3/IDE#4.

If you tried to prove that PDC20265 should never be ide0/ide1, then
we are on the same boat.
                                                Petr Vandrovec
                                                vandrove@vc.cvut.cz
                                                
P.S.: Both Tyan and Epox should make their ftp servers much, much faster...
                                                

^ permalink raw reply	[flat|nested] 96+ messages in thread

end of thread, other threads:[~2002-08-12  1:41 UTC | newest]

Thread overview: 96+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-01  6:38 Linux v2.4.19-rc5 Marcelo Tosatti
2002-08-01  7:49 ` Jens Axboe
2002-08-01  7:14   ` Marcelo Tosatti
2002-08-01  8:10     ` Jens Axboe
2002-08-01  9:02       ` Andrew Morton
2002-08-01  8:58         ` Jens Axboe
2002-08-01 14:45         ` Steven Cole
2002-08-01 18:57           ` Andrew Morton
2002-08-01 20:15     ` Steven Cole
2002-08-06  3:46       ` Bill Davidsen
2002-08-06  4:30         ` Andrew Morton
2002-08-06 14:07           ` Steven Cole
2002-08-06 14:20             ` Rik van Riel
2002-08-06 17:12             ` Andrew Morton
2002-08-06  5:42         ` Jens Axboe
2002-08-06  8:30           ` Adrian Bunk
2002-08-06  8:48             ` Jens Axboe
2002-08-06 10:31           ` Lincoln Dale
2002-08-06 12:59         ` Rik van Riel
2002-08-07  1:09           ` Bill Davidsen
2002-08-07  2:54             ` Steven Cole
2002-08-07 22:30               ` Bill Davidsen
2002-08-07 22:39                 ` Rik van Riel
2002-08-07 23:44                   ` Bill Davidsen
2002-08-07 23:53                     ` Rik van Riel
2002-08-09 17:46                       ` Bill Davidsen
2002-08-09 19:27                         ` Rik van Riel
2002-08-01  7:55 ` Keith Owens
2002-08-01  8:10   ` Jens Axboe
2002-08-04  6:50   ` H. Peter Anvin
2002-08-01 11:32 ` Willy TARREAU
2002-08-01 13:54   ` Alan Cox
2002-08-01 12:48     ` Willy TARREAU
2002-08-01 12:12 ` Linux v2.4.19-rc5 - APM bug Willy TARREAU
2002-08-01 13:32   ` [PANIC] APM bug with -rc4 and -rc5 Willy TARREAU
2002-08-01 14:55     ` Alan Cox
2002-08-01 13:56       ` Willy Tarreau
2002-08-01 15:24         ` Willy Tarreau
2002-08-01 16:53           ` Alan Cox
2002-08-01 16:41             ` Willy Tarreau
2002-08-01 20:35             ` [PATCH] solved APM bug with -rc5 Willy TARREAU
2002-08-01 20:52               ` Richard Gooch
2002-08-01 20:54                 ` Richard Gooch
2002-08-01 21:17                   ` Willy TARREAU
2002-08-01 22:37                     ` Alan Cox
2002-08-01 20:58                 ` Dave Jones
2002-08-01 22:16               ` Alan Cox
2002-08-01 21:07                 ` Willy Tarreau
2002-08-01 21:47                   ` Linus Torvalds
2002-08-02  0:12                 ` [PATCH] solved APM bug with -rc5 (take 2) Willy TARREAU
2002-08-02  1:47 ` [PATCH] pdc20265 problem Nick Orlov
2002-08-02  2:29   ` Nick Orlov
2002-08-02 12:27   ` Alan Cox
2002-08-02 12:52     ` Nick Orlov
2002-08-02 14:00       ` Bartlomiej Zolnierkiewicz
2002-08-02 14:45         ` Nick Orlov
2002-08-02 19:05 Bartlomiej Zolnierkiewicz
2002-08-02 23:05 ` Marcelo Tosatti
2002-08-03  0:55   ` Bartlomiej Zolnierkiewicz
2002-08-03  0:08     ` Marcelo Tosatti
2002-08-03  1:22     ` Nick Orlov
2002-08-03 13:41       ` Alan Cox
2002-08-06  3:48     ` Bill Davidsen
2002-08-06  4:33       ` Nick Orlov
2002-08-07  3:09         ` Bill Davidsen
2002-08-07  3:56           ` Nick Orlov
2002-08-07 18:30             ` Andre Hedrick
2002-08-07 20:27               ` Tomas Szepe
2002-08-07 22:46             ` Bill Davidsen
2002-08-08 10:50               ` Andre Hedrick
2002-08-08 17:42                 ` Nick Orlov
2002-08-08 18:02                   ` Andre Hedrick
2002-08-09  6:44                     ` Marcin Dalecki
2002-08-12  1:37                       ` Andre Hedrick
2002-08-09 17:16                 ` Bill Davidsen
2002-08-06 10:28 Petr Vandrovec
2002-08-07  7:54 Adam J. Richter
2002-08-07 11:41 ` Alan Cox
2002-08-07 23:08   ` Bill Davidsen
2002-08-08 10:49     ` Zwane Mwaikambo
2002-08-07 16:32 ` Thunder from the hill
2002-08-07 10:20 Petr Vandrovec
2002-08-07 23:04 ` Bill Davidsen
2002-08-07 18:39 Adam J. Richter
2002-08-07 19:33 ` Thunder from the hill
2002-08-07 21:11   ` Alan Cox
2002-08-07 20:02     ` Thunder from the hill
2002-08-07 23:40       ` Alan Cox
2002-08-08 12:45 Petr Vandrovec
2002-08-08 13:02 ` Andre Hedrick
2002-08-08 16:48 Petr Vandrovec
2002-08-08 17:30 ` Andre Hedrick
2002-08-08 18:22 Petr Vandrovec
2002-08-08 18:35 ` Andre Hedrick
2002-08-09  6:47   ` Marcin Dalecki
2002-08-12  1:24     ` Andre Hedrick

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).