Re: Linux 2.2.18pre24

2000-12-01 Thread Andrea Arcangeli

On Wed, Nov 29, 2000 at 03:01:59PM -0700, Tom Rini wrote:
> As Dave Miller pointed out, DEV_MAC_HID sysctl conflicts with the RAID patches

That's right but OTOH I'd simply declare the sysctl-by-number interface dead
for new introduced sysctl. We need to preserve backwards compatibility of
course but that's not a problem. I'd preferred if we killed it completly (just
providing backwards compatibility) during the 2.4.x cycle. Only reliable
way to use new sysctl is sysctl-by-name IMHO.

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Linux 2.2.18pre24

2000-12-01 Thread Andrea Arcangeli

On Wed, Nov 29, 2000 at 03:01:59PM -0700, Tom Rini wrote:
 As Dave Miller pointed out, DEV_MAC_HID sysctl conflicts with the RAID patches

That's right but OTOH I'd simply declare the sysctl-by-number interface dead
for new introduced sysctl. We need to preserve backwards compatibility of
course but that's not a problem. I'd preferred if we killed it completly (just
providing backwards compatibility) during the 2.4.x cycle. Only reliable
way to use new sysctl is sysctl-by-name IMHO.

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Linux 2.2.18pre24

2000-11-30 Thread Andrea Arcangeli

On Thu, Nov 30, 2000 at 11:26:43AM -0700, Tom Rini wrote:
> Right.  But the problem here was a new, unused sysctl-by-number, conflicted
> with an old-but-not-integrated sysctl-by-number that is used. :)  The only

Who is using it? Not even the raid developers cared to take the
sysctl-by-number consistent between 2.4.0-test12-pre2 and 2.2.x raid 0.90
so nobody should be using it in first place.

Furthmore since the number 4 is the official one for raid/md, DEV_MAC_HID=3
isn't really colliding with the raid sysctl, but DEV_MAC_HID=3 is still wrong
because is it should be =5 to be consistent with 2.4.x...

2.2.x RAID 0.90:

 enum {
DEV_CDROM=1,
-   DEV_HWMON=2
+   DEV_HWMON=2,
+   DEV_MD=3
 };
[..]
+/* /proc/sys/dev/md */
+enum {
+   DEV_MD_SPEED_LIMIT=1
 };


2.2.18pre24:

enum {
DEV_CDROM=1,
DEV_HWMON=2,
DEV_MAC_HID=3
};

2.4.0-test12-pre2:

enum {
DEV_CDROM=1,
DEV_HWMON=2,
DEV_PARPORT=3,
DEV_RAID=4,
DEV_MAC_HID=5
};
[..]
/* /proc/sys/dev/raid */
enum {
DEV_RAID_SPEED_LIMIT_MIN=1,
DEV_RAID_SPEED_LIMIT_MAX=2
};

As we can clearly see nobody cares about the sysctl-by-number interface because
it generates collisions too easily so it should be declared obsolete and nobody
should use it anymore. sysctl-by-name is less performant but it doesn't
generate binary-level collisions so easily and in turn it's a big win for open
source projects where everybody has some tons of unofficial patches applied
(raid 0.90 in this case).

Andrea
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.tux.org/lkml/



Re: Linux 2.2.18pre24

2000-11-29 Thread Tom Rini

On Wed, Nov 29, 2000 at 02:09:59AM +, Alan Cox wrote:

...
> 2.2.18pre21
...
> o Resnchronize Apple PowerMac codebase(Paul Mackerras & co)
> o Merge powermac tree fixes into usb
> o Powermac input device handling changes

As Dave Miller pointed out, DEV_MAC_HID sysctl conflicts with the RAID patches
which are in much wider use.  And as nothing yet uses this sysctl, I've
attached a patch vs pre24 which changes the number from 3 to 5 (which is what
2.4.0-testX uses.)

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/


--- linux/include/linux/sysctl.h.orig   Wed Nov 29 15:01:09 2000
+++ linux/include/linux/sysctl.hWed Nov 29 15:01:25 2000
@@ -435,7 +435,7 @@
 enum {
DEV_CDROM=1,
DEV_HWMON=2,
-   DEV_MAC_HID=3
+   DEV_MAC_HID=5
 };
 
 /* /proc/sys/dev/cdrom */



Re: Linux 2.2.18pre24

2000-11-29 Thread Tom Rini

On Wed, Nov 29, 2000 at 02:09:59AM +, Alan Cox wrote:

...
 2.2.18pre21
...
 o Resnchronize Apple PowerMac codebase(Paul Mackerras  co)
 o Merge powermac tree fixes into usb
 o Powermac input device handling changes

As Dave Miller pointed out, DEV_MAC_HID sysctl conflicts with the RAID patches
which are in much wider use.  And as nothing yet uses this sysctl, I've
attached a patch vs pre24 which changes the number from 3 to 5 (which is what
2.4.0-testX uses.)

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/


--- linux/include/linux/sysctl.h.orig   Wed Nov 29 15:01:09 2000
+++ linux/include/linux/sysctl.hWed Nov 29 15:01:25 2000
@@ -435,7 +435,7 @@
 enum {
DEV_CDROM=1,
DEV_HWMON=2,
-   DEV_MAC_HID=3
+   DEV_MAC_HID=5
 };
 
 /* /proc/sys/dev/cdrom */



Linux 2.2.18pre24

2000-11-28 Thread Alan Cox


2.2.18pre24
o   Expose put_unused_fd for modules(Andi Kleen)
o   Fix the ps/2 mouse probe I hope (me)
o   Fix crash in cosa driver(Jan Kasprzak)
o   Fix procfs negative seek offset error reporting (HJ Lu)
o   Fix ext2 file limit constraints (Andrea Arcangeli)
o   Fix lockf corner cases  (Andi Kleen, me)
o   Fix NCPfs date limits   (Igor Zhbanov)
o   Update DRM  (Chip Salzenberg)
o   Fix missing Alpha includes  (Matt Wilson)
o   Fix missing symbols on alpha(Matt Wilson)
 
2.2.18pre23
o   Fix alpha compile problem   (Herbert Xu)
o   Scan DMI bios data to find broken laptops   (me)
o   Fix megaraid module symbols (Michael Marxmeier)
o   Fix visor/OHCI problem  (Gerg Kroah-Hartman)
o   Fix sysctl_jiffies compile bug  (Tomasz K³oczko)
o   Init mic input low to avoid feedback(Pete Zaitcev)
o   Fix typo in acenic headers  (Val Henson)
o   David Woodhouse has moved   (David Woodhouse)
o   Compaq raid driver update   (Charles White)
o   Fix aha1542 scribbles on errors (Phil Stracchino)
o   Update Advansys driver to v3.3D (Bob Frey)
o   Fix maestro ioctl locking   (Zach Brown)
o   Formatting cleanup for setup.c  (Dave Jones)
o   Fix FAT32 bugs on Alpha (Bill Nottingham)

2.2.18pre22
o   Fix HZ assumption in USB hub driver (Oleg Drokin)
o   Fix ndisc range check on ipv6   (Dave Miller)
o   Clear other fields in qcam VIDIOCGWIN return(Damion de Soto)
o   Fix sparc64 includes for socket.h   (Solar Designer)
o   ELF platform was misset for Pentium IV  (Mikael Pettersson)
o   ADMTek 985 ident was wrong  (Lee Bradshaw)
o   Fix filemark status test on scsi tape   (Robin Miller)
o   Fix file/block when spacing to tape beginning   (Kai Maiksara)
o   Small ISDN documentation fixes  (Kai Germaschewski)
o   Resync icn driver with core isdn tree   (Kai Germaschewski)
o   Fix isdn loopback driver(Kai Germaschewski)
o   Fix small leaks in lockd(Trond Myklebust)
o   Add Pentium IV rep nop, ident etc   (Various folks,
 notably HPA and
 Linda Wang)
o   Update sparc default config (Dave Miller)
o   Hopefully properly fix the megaraid problem (Willy Tarreau, AMI
 and others)
o   Resync tcp bits with Dave   (Dave Miller)
o   Make cpqarray provide randomness(Nigel Metheringham)
o   Fix wavefront symbols bug   (Carlos E. Gorges)
o   Fix acenic jumbo handling when flushing ring(Val Henson)
o   Fix ace_set_mac_addr for littleendian hosts (Stephen Hack)
o   Fix assorted typos in the kernel(Andries Brouwer)
o   EEPro100 fixes  (Dragan Stancevic)
o   Fix hisax _setup crash case (David Woodhouse)
o   Fix small cdrom driver bugs (Jens Axboe)
o   Fix remaining vmalloc corner cases  (Ben LaHaise)
o   Update USB maintainers  (Greg Kroah-Hartman)
o   Fix matroxfb doc bug(Pavel Rabel)
o   Fix setscheduler lock inversion (Andrew Morton)
o   Fix scsi unload/sg ioctl oops   (Paul Clements)

2.2.18pre21
o   Environment controller update for sparc (Eric Brower)
o   No italian translation for config.help  (Andrea Ferraris)
o   Fix type error in buz driver(Pete Zaitcev)
o   Resnchronize Apple PowerMac codebase(Paul Mackerras & co)
o   Merge powermac tree fixes into usb
o   Powermac input device handling changes
o   Fix console switch fonts
o   S/390 merge (IBM S/390 folks)
(Merge grunt work done by Kurt Roeckx)
o   Make knfsd TCP an option(me)
o   Drop cisco info packets (0x2000)(Ivan Passos)
o   Add belkin USB serial cable (William Greathouse)

2.2.18pre20
o   Fix ide-probe SMP build error   (Ian Morgan)
o   Fix appletalk physical layer ioctl handling (Andi Kleen)
o  

Linux 2.2.18pre24

2000-11-28 Thread Alan Cox


2.2.18pre24
o   Expose put_unused_fd for modules(Andi Kleen)
o   Fix the ps/2 mouse probe I hope (me)
o   Fix crash in cosa driver(Jan Kasprzak)
o   Fix procfs negative seek offset error reporting (HJ Lu)
o   Fix ext2 file limit constraints (Andrea Arcangeli)
o   Fix lockf corner cases  (Andi Kleen, me)
o   Fix NCPfs date limits   (Igor Zhbanov)
o   Update DRM  (Chip Salzenberg)
o   Fix missing Alpha includes  (Matt Wilson)
o   Fix missing symbols on alpha(Matt Wilson)
 
2.2.18pre23
o   Fix alpha compile problem   (Herbert Xu)
o   Scan DMI bios data to find broken laptops   (me)
o   Fix megaraid module symbols (Michael Marxmeier)
o   Fix visor/OHCI problem  (Gerg Kroah-Hartman)
o   Fix sysctl_jiffies compile bug  (Tomasz K³oczko)
o   Init mic input low to avoid feedback(Pete Zaitcev)
o   Fix typo in acenic headers  (Val Henson)
o   David Woodhouse has moved   (David Woodhouse)
o   Compaq raid driver update   (Charles White)
o   Fix aha1542 scribbles on errors (Phil Stracchino)
o   Update Advansys driver to v3.3D (Bob Frey)
o   Fix maestro ioctl locking   (Zach Brown)
o   Formatting cleanup for setup.c  (Dave Jones)
o   Fix FAT32 bugs on Alpha (Bill Nottingham)

2.2.18pre22
o   Fix HZ assumption in USB hub driver (Oleg Drokin)
o   Fix ndisc range check on ipv6   (Dave Miller)
o   Clear other fields in qcam VIDIOCGWIN return(Damion de Soto)
o   Fix sparc64 includes for socket.h   (Solar Designer)
o   ELF platform was misset for Pentium IV  (Mikael Pettersson)
o   ADMTek 985 ident was wrong  (Lee Bradshaw)
o   Fix filemark status test on scsi tape   (Robin Miller)
o   Fix file/block when spacing to tape beginning   (Kai Maiksara)
o   Small ISDN documentation fixes  (Kai Germaschewski)
o   Resync icn driver with core isdn tree   (Kai Germaschewski)
o   Fix isdn loopback driver(Kai Germaschewski)
o   Fix small leaks in lockd(Trond Myklebust)
o   Add Pentium IV rep nop, ident etc   (Various folks,
 notably HPA and
 Linda Wang)
o   Update sparc default config (Dave Miller)
o   Hopefully properly fix the megaraid problem (Willy Tarreau, AMI
 and others)
o   Resync tcp bits with Dave   (Dave Miller)
o   Make cpqarray provide randomness(Nigel Metheringham)
o   Fix wavefront symbols bug   (Carlos E. Gorges)
o   Fix acenic jumbo handling when flushing ring(Val Henson)
o   Fix ace_set_mac_addr for littleendian hosts (Stephen Hack)
o   Fix assorted typos in the kernel(Andries Brouwer)
o   EEPro100 fixes  (Dragan Stancevic)
o   Fix hisax _setup crash case (David Woodhouse)
o   Fix small cdrom driver bugs (Jens Axboe)
o   Fix remaining vmalloc corner cases  (Ben LaHaise)
o   Update USB maintainers  (Greg Kroah-Hartman)
o   Fix matroxfb doc bug(Pavel Rabel)
o   Fix setscheduler lock inversion (Andrew Morton)
o   Fix scsi unload/sg ioctl oops   (Paul Clements)

2.2.18pre21
o   Environment controller update for sparc (Eric Brower)
o   No italian translation for config.help  (Andrea Ferraris)
o   Fix type error in buz driver(Pete Zaitcev)
o   Resnchronize Apple PowerMac codebase(Paul Mackerras  co)
o   Merge powermac tree fixes into usb
o   Powermac input device handling changes
o   Fix console switch fonts
o   S/390 merge (IBM S/390 folks)
(Merge grunt work done by Kurt Roeckx)
o   Make knfsd TCP an option(me)
o   Drop cisco info packets (0x2000)(Ivan Passos)
o   Add belkin USB serial cable (William Greathouse)

2.2.18pre20
o   Fix ide-probe SMP build error   (Ian Morgan)
o   Fix appletalk physical layer ioctl handling (Andi Kleen)
o