linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Richard B. Johnson" <root@chaos.analogic.com>
To: Jeff Garzik <jgarzik@mandrakesoft.com>
Cc: David Howells <dhowells@cambridge.redhat.com>,
	linux-kernel@vger.kernel.org
Subject: Re: [LONG RANT] Re: Linux stifles innovation...
Date: Mon, 19 Feb 2001 10:58:36 -0500 (EST)	[thread overview]
Message-ID: <Pine.LNX.3.95.1010219101720.30581A-100000@chaos.analogic.com> (raw)
In-Reply-To: <Pine.LNX.3.96.1010219085405.17842F-100000@mandrakesoft.mandrakesoft.com>

On Mon, 19 Feb 2001, Jeff Garzik wrote:

> On Mon, 19 Feb 2001, David Howells wrote:
> > I suspect part of the problem with commercial driver support on Linux is that
> > the Linux driver API (such as it is) is relatively poorly documented
> 
> In-kernel documentation, agreed.
> 
> _Linux Device Drivers_ is a good reference for 2.2 and below.
> 
> > and seems
> > to change almost on a week-by-week basis anyway. I've done my share of chasing
> > the current kernel revision with drivers that aren't part of the kernel tree:
> > by the time you update the driver to work with the current kernel revision,
> > there's a new one out, and the driver doesn't compile with it.
> 
> This is entirely in your imagination.  Driver APIs are stable across the
> stable series of kernels: 2.0.0 through 2.0.38, 2.2.0 through 2.2.18,
> 2.4.0 through whatever.
> 
> 	Jeff
> 

One of the latest module killers was the opaque type, "THIS_MODULE",
put at the beginning of struct file_operations. This happened between
2.4.0 and 2.4.x.  So it's not "imagination".

It is well understood that there will be changes to the driver APIs, but
some could be better thought out to accomplish what must be accomplished,
but at the same time, minimize the code changes to existing drivers.

While on the subject of compatibility, I just put 1 gb of memory in
one of my machines at home this weekend, with 256 mb sticks now costing
under $US 80, I figured it was about time. The machine would not boot
with Linux 2.4.1 just Uncompressing .... then nothing. I had to remove one
memory stick. I recompiled with "high memory" enabled, CONFIG_HIGHMEM4G.

I was unable to use the new kernel because the drivers I need for
`initrd` all had undefined symbols relating to some high memory stuff.
This, in spite of the fact that I did:

cp .config ..
make clean
make distclean
cp ../.config
make oldconfig
make dep
make bzImage
make modules
make modules_install

I can't understand how changes in memory management could possibly
affect drivers! They should not care where memory comes from! If
a driver, calling kmalloc() or whatever, needs to know anything
about where the pages made available were stashed, then something's
broken, plain and simple.

Also, with 4 gb of address space in ix86 machines, we should not
have any problems accessing memory until the sum of all the
RAM, plus the sum of all the address-space needed for PCI resources,
plus anything below 1 megabyte, plus the physical memory required
for PTEs and kernel resources, starts to get near 4 gb. Presently,
the address limit without "highmem hacks" is less than 1 gb. This
needs some work.  It looks as though somebody guessed that 'PAGE_OFFSET'
imposed some kind of limit. It doesn't as long as it's summed, not ORed
(some early code I looked at ORed in PAGE_OFFSET in several places,
destroying the linearity of address arithmetic).

Cheers,
Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).

"Memory is like gasoline. You use it up when you are running. Of
course you get it all back when you reboot..."; Actual explanation
obtained from the Micro$oft help desk.



  parent reply	other threads:[~2001-02-19 15:59 UTC|newest]

Thread overview: 148+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-15 17:49 Linux stifles innovation fsnchzjr
2001-02-15 17:55 ` Stephen Frost
2001-02-15 18:04 ` Mark Haney
2001-02-15 19:49   ` David D.W. Downey
2001-02-15 20:20     ` Alan Olsen
2001-02-15 20:42       ` dave
2001-02-15 21:17         ` Richard B. Johnson
2001-02-15 20:43       ` [OTP] " David D.W. Downey
2001-02-15 22:31       ` Bill Wendling
2001-02-15 22:37         ` William T Wilson
2001-02-16 12:45       ` Rik van Riel
2001-02-16 15:10         ` James Sutherland
2001-02-16 16:02           ` Mark Haney
2001-02-16 16:26             ` David Woodhouse
2001-02-16 16:30               ` Mark Haney
2001-02-16 19:23           ` David D.W. Downey
2001-02-16 20:18             ` James Sutherland
2001-02-17  0:03               ` Carlos Fernandez Sanz
2001-02-17  0:35                 ` Dan Hollis
2001-02-17  0:41                   ` Michael H. Warfield
2001-02-17  1:52                     ` Dan Hollis
2001-02-17  2:20                     ` XOR [ was: Linux stifles innovation... ] David Relson
2001-02-17  2:32                       ` Dan Hollis
2001-02-17  8:16                       ` Jonathan Morton
2001-02-17 13:16                       ` David Relson
2001-02-17 18:12                       ` brian
2001-02-18  2:01                         ` Dan Hollis
2001-02-17  9:08                     ` Linux stifles innovation James Sutherland
2001-02-17 12:45                     ` Henning P. Schmiedehausen
2001-02-17  9:05                 ` James Sutherland
2001-02-17  0:04     ` LA Walsh
2001-02-16  9:26 ` Helge Hafting
2001-02-16  9:36   ` James Sutherland
2001-02-16 12:44     ` Helge Hafting
2001-02-16 17:40     ` Joseph Pingenot
2001-02-16 14:25 ` Andrew Scott
2001-02-16 19:48   ` Jesse Pollard
2001-02-16 22:27   ` Dennis
2001-02-16 22:20     ` Alan Cox
2001-02-17 12:37       ` [LONG RANT] " Henning P. Schmiedehausen
2001-02-17 13:37         ` Russell King
2001-02-17 19:15           ` Henning P . Schmiedehausen
2001-02-17 22:03             ` Felix von Leitner
2001-02-18 11:54               ` Henning P. Schmiedehausen
2001-02-18 12:26                 ` Henning P. Schmiedehausen
2001-02-18 13:43                 ` Russell King
2001-02-18  9:27             ` Russell King
2001-02-17 19:20           ` Jacob Luna Lundberg
2001-02-18  1:06             ` Peter Samuelson
2001-02-18  4:15             ` Ben Ford
2001-02-17 18:48         ` Jonathan Morton
2001-02-19  9:24         ` Helge Hafting
2001-02-19 10:53         ` Werner Almesberger
2001-02-19 11:07           ` Jeff Garzik
2001-02-19 11:28             ` Nicholas Knight
2001-02-19 11:36               ` David Lang
2001-02-19 12:53                 ` Nicholas Knight
2001-02-19 11:47               ` Jeff Garzik
2001-02-19 12:57                 ` Nicholas Knight
2001-02-19 12:00             ` Werner Almesberger
2001-02-19 12:15             ` Henning P . Schmiedehausen
2001-02-19 16:04               ` Paul Jakma
2001-02-19 16:07               ` Alan Cox
2001-02-19 14:15             ` Jes Sorensen
2001-02-20 23:39             ` Brian May
2001-02-19 11:59           ` Henning P . Schmiedehausen
2001-02-19 13:11             ` Werner Almesberger
2001-02-19 14:07               ` David Howells
2001-02-19 14:55                 ` Jeff Garzik
2001-02-19 15:53                   ` Mikulas Patocka
2001-02-19 16:26                     ` Jeff Garzik
2001-02-19 19:11                       ` The lack of specification (was Re: [LONG RANT] Re: Linux stifles innovation... ) Mikulas Patocka
2001-02-19 20:02                         ` Eric W. Biederman
2001-02-19 20:17                         ` Albert D. Cahalan
2001-02-19 21:18                           ` Mikulas Patocka
2001-02-19 21:34                           ` The lack of specification Russell King
2001-02-19 21:47                             ` Eli Carter
2001-02-19 15:58                   ` Richard B. Johnson [this message]
2001-02-19 16:14                     ` [LONG RANT] Re: Linux stifles innovation Jeff Garzik
2001-02-19 16:26                     ` Alan Cox
2001-02-19 21:57                     ` Keith Owens
2001-02-19 19:27             ` Andre Hedrick
2001-02-17 16:54       ` Francois Romieu
2001-02-16 22:31     ` Dan Hollis
2001-02-16 22:51     ` David D.W. Downey
2001-02-16 22:59     ` Linux stifles innovation... [way O.T.] John Cavan
2001-02-16 23:07     ` Linux stifles innovation Mike A. Harris
2001-02-16 23:45       ` Matt D. Robinson
2001-02-16 23:46         ` Mike A. Harris
2001-02-17  0:15           ` Matt D. Robinson
2001-02-17  0:34             ` Werner Almesberger
2001-02-17  0:54               ` Matt D. Robinson
2001-02-17  1:58                 ` Werner Almesberger
2001-02-17 12:41       ` Henning P. Schmiedehausen
2001-02-17 17:51         ` Robert Read
     [not found]         ` <Pine.LNX.3.96.1010217145415.31128A-100000@orion.hq.dalalu.fr>
2001-02-17 18:40           ` Henning P . Schmiedehausen
2001-02-17  0:01     ` Alan Olsen
2001-02-17  0:10     ` rjd
2001-02-17  1:34     ` Neal Dias
2001-02-17  2:05     ` Augustin Vidovic
2001-02-17 12:46       ` Henning P. Schmiedehausen
2001-02-17 13:13         ` Roeland Th. Jansen
2001-02-21 23:00       ` Dr. Kelsey Hudson
2001-02-21 23:17         ` Augustin Vidovic
2001-02-22  1:08           ` Dr. Kelsey Hudson
2001-02-22  0:09       ` Jonathan Morton
2001-02-22  0:21         ` Alan Cox
2001-02-23 12:14         ` Wakko Warner
2001-02-23 12:31           ` David Weinehall
2001-02-27  8:48             ` Geert Uytterhoeven
2001-02-17  7:20     ` Mike Pontillo
2001-02-17 16:11       ` [OT]Re: " Gregory Maxwell
2001-02-17  7:39     ` Vesselin Atanasov
2001-02-17 19:08     ` Dennis
2001-02-17 19:08       ` Mohammad A. Haque
2001-02-17 20:47       ` Alan Cox
2001-02-24 21:11       ` Dennis
2001-02-24 21:06         ` Alan Cox
2001-02-17 19:11     ` Dennis
2001-02-17 19:36       ` Francois Romieu
2001-02-17 20:48       ` Alan Cox
2001-02-17 19:24     ` Dennis
2001-02-17 19:38     ` Dennis
2001-02-17 20:01       ` Michael Bacarella
2001-02-17 20:11         ` James A. Sutherland
2001-02-17 19:56     ` Linux stifles innovation... [way O.T.] Dennis
2001-02-17 20:28       ` Michael H. Warfield
2001-02-18 11:25         ` Henning P. Schmiedehausen
2001-02-18 15:32           ` John Cavan
2001-02-18  0:13       ` Gerhard Mack
2001-02-17 20:05     ` Linux stifles innovation Dennis
2001-02-17 20:05       ` James A. Sutherland
2001-02-17 20:14       ` Michael H. Warfield
2001-02-18 10:57         ` Henning P. Schmiedehausen
2001-02-17 20:28       ` Alan Olsen
2001-02-21 23:48         ` Dr. Kelsey Hudson
2001-02-17 22:07       ` Felix von Leitner
2001-02-17 20:08     ` Dennis
2001-02-17 20:22       ` Michael H. Warfield
2001-02-17 20:41       ` Gregory Maxwell
2001-02-18 10:59         ` Henning P. Schmiedehausen
2001-02-18 21:02           ` Bob Taylor
2001-02-17 22:38       ` Andre Hedrick
2001-02-17 23:07         ` Michael H. Warfield
2001-02-18 15:20       ` Stefan Smietanowski
2001-02-18  0:51     ` Peter Samuelson
2001-02-16 23:33   ` Hristo Doichev
2001-02-16 17:25 ` Byron Albert

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=Pine.LNX.3.95.1010219101720.30581A-100000@chaos.analogic.com \
    --to=root@chaos.analogic.com \
    --cc=dhowells@cambridge.redhat.com \
    --cc=jgarzik@mandrakesoft.com \
    --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).