Skip to contentSkip to conversation

Linux 2.6.9-ac1

PATCH In review Alan Cox 4 participants 5 messages Oct 21, 2004 Kbuild

lore
Share & tools
lore

Alan Cox

author
#0 lore raw

For those who need the various patches and bits I've been doing. Also if people have small, clearly correct fixes to real problems in 2.6.9 that ought to go into a production 2.6.9 series kernel please mail me a copy and I'll merge those so we don't get the 2.6.8.1 audio ripping mess again.

ftp://ftp.kernel.org/pub/linux/kernel/people/alan/linux-2.6/2.6.9/

2.6.9-ac1

Security Fixes
o Set VM_IO on areas that are temporarily (Alan Cox)
marked PageReserved (Serious bug)
o Lock ide-proc against driver unload (Alan Cox)
(very low severity)

Bug Fixes
o Working IDE locking (Alan Cox)
| And a great deal of review by Bartlomiej
o Handle E7xxx boxes with USB legacy flaws (Alan Cox)

Functionality
o Allow booting with "irqpoll" or "irqfixup" (Alan Cox)
on systems with broken IRQ tables.
o Support for setuid core dumping in some (Alan Cox)
environments (off by default)
o Support for drives that don't report geometry
o IT8212 support (raid and passthrough) (Alan Cox)
o Allow IDE to grab all unknown generic IDE (Alan Cox)
devices (boot with "all-generic-ide")
o Restore PWC driver (Luc Saillard)

Other
o Small pending tty clean-up to moxa (Alan Cox)
o Put VIA Velocity (tm) adapters under gigabit (VIA)

#1 lore raw

PATCH 1/1 2.6.9-ac1: invalid SUBLEVEL

<-- snip -->

$ make
  CHK     include/linux/version.h
expr: non-numeric argument
make[1]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK     include/linux/compile.h
  CC      kernel/power/swsusp.o
kernel/power/swsusp.c: In function `init_header':
kernel/power/swsusp.c:327: parse error before `;'
kernel/power/swsusp.c: In function `sanity_check':
kernel/power/swsusp.c:1074: parse error before `)'
make[2]: *** [kernel/power/swsusp.o] Error 1
make[1]: *** [kernel/power] Error 2
make: *** [kernel] Error 2
$ cat 
include/linux/version.h 
#define UTS_RELEASE "2.6.9-ac1"
#define LINUX_VERSION_CODE
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
$ 

<-- snip -->

Proposed fix:

Makefile renamed from Makefile.old +2 -2
@@ -1,7 +1,7 @@
 VERSION = 2
 PATCHLEVEL = 6
-SUBLEVEL = 9-ac1
-EXTRAVERSION =
+SUBLEVEL = 9
+EXTRAVERSION = -ac1
 NAME=AC 1
 
 # *DOCUMENTATION*
author
#2 lore raw

Re: [patch] 2.6.9-ac1: invalid SUBLEVEL

Makefile line 5

Quoted 7 lines · Adrian Bunk

VERSION = 2
PATCHLEVEL = 6

Makefile renamed from Makefile.old +2 -2
-SUBLEVEL = 9-ac1
-EXTRAVERSION =
+SUBLEVEL = 9
+EXTRAVERSION = -ac1
 NAME=AC 1

Doh I'm -amazed- that worked for me. Fixed in my tree, I'll go and hide in a corner for a bit.

#3 lore raw

Re: [patch] 2.6.9-ac1: invalid SUBLEVEL

Quoted 10 lines · Alan Cox

Makefile line 5

Quoted 7 lines · Adrian Bunk

VERSION = 2
PATCHLEVEL = 6

Makefile renamed from Makefile.old +2 -2
-SUBLEVEL = 9-ac1
-EXTRAVERSION =
+SUBLEVEL = 9
+EXTRAVERSION = -ac1
 NAME=AC 1

Doh I'm -amazed- that worked for me. Fixed in my tree

Here is some old shell-code I wrote for my kernel updating script: It was especially written because you tend to forget this.

test_version () {
# Sometimes Alan forgets to update the EXTRAVERSION in the Makefile; # then you destroy the previous version and the script fails :S cd $pwd/linux-$latest_stable
# if EXTRAVERSION is for mm but not the current one.
if [ -z "$(grep "EXTRAVERSION = -$mm_rest" Makefile)" \
-a -z "$(grep "EXTRAVERSION = .*mm" Makefile)" ]; then warning 'Warning: I had to edit the versionnumber in the Makefile!' grep "EXTRAVERSION =" Makefile
perl -pi -e "s#^EXTRAVERSION.*\n#EXTRAVERSION = -$mm_rest\n#" \
Makefile || error
grep "EXTRAVERSION =" Makefile
fi
}

Quoted 1 line

I'll go and hide in a corner for a bit.

I think it is a better idea you add some checks to the script you use to generate that patch.

# Han

#4 lore raw

Re: [patch] 2.6.9-ac1: invalid SUBLEVEL

In reply to Alan Cox
Quoted 11 lines · Alan Cox

Makefile line 5

Quoted 7 lines · Adrian Bunk

VERSION = 2
PATCHLEVEL = 6

Makefile renamed from Makefile.old +2 -2
-SUBLEVEL = 9-ac1
-EXTRAVERSION =
+SUBLEVEL = 9
+EXTRAVERSION = -ac1
 NAME=AC 1

Doh I'm -amazed- that worked for me. Fixed in my tree, I'll go and hide in a corner for a bit.

I think we can forgive you Alan, clearly you're out of practise 8-)

Dave