2003-05-27 19:31:45

by Marcelo Tosatti

[permalink] [raw]
Subject: Linux 2.4.21-rc5


Hi,

Mainly due to a IDE DMA problem which would happen on boxes with lots of
RAM, here is -rc5.

As I always ask, please test.


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

Alan Cox <[email protected]>:
o 1: (trivial) Fix the formatting of your ide hack
o 2: =scsi option fails in some cases
o 3: IDE DMA
o add the via ide ident
o fix the siimage mmio stuff

Andi Kleen <[email protected]>:
o Fix 32bit ioctl holes
o Fix context switch bug on x86-64
o Prefetch workaround for csum-copy

Benjamin Herrenschmidt <[email protected]>:
o PPC Documentation/Configure.help fix

Marcelo Tosatti <[email protected]>:
o Changed EXTRAVERSION to -rc5


2003-05-27 20:37:09

by Mitch

[permalink] [raw]
Subject: Re: Linux 2.4.21-rc5


It's be nice if we could also have the definition of
PCI_DEVICE_ID_VIA_8237 ?

make[4]: Entering directory
`/usr/src/linux-2.4/testing/linux-2.4.20/drivers/ide/pci'
gcc -D__KERNEL__ -I/usr/src/linux-2.4/testing/linux-2.4.20/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -malign-functions=4 -I../ -nostdinc -iwithprefix include -DKBUILD_BASENAME=via82cxxx -c -o via82cxxx.o via82cxxx.c
via82cxxx.c:77: `PCI_DEVICE_ID_VIA_8237' undeclared here (not in a function)
via82cxxx.c:77: initializer element is not constant
via82cxxx.c:77: (near initialization for `via_isa_bridges[0].id')
make[4]: *** [via82cxxx.o] Error 1
make[4]: Leaving directory `/usr/src/linux-2.4/testing/linux-2.4.20/drivers/ide/pci'
make[3]: *** [first_rule] Error 2
make[3]: Leaving directory `/usr/src/linux-2.4/testing/linux-2.4.20/drivers/ide/pci'
make[2]: *** [_subdir_pci] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4/testing/linux-2.4.20/drivers/ide'
make[1]: *** [_subdir_ide] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4/testing/linux-2.4.20/drivers'
make: *** [_dir_drivers] Error 2

---------- Forwarded message ----------
Date: 2003-05-27 19:41:16
From: Marcelo Tosatti <marcelo () conectiva ! com ! br>
To: [email protected]
Subject: Linux 2.4.21-rc5


Hi,

Mainly due to a IDE DMA problem which would happen on boxes with lots of
RAM, here is -rc5.

As I always ask, please test.


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

Alan Cox <[email protected]>:
o 1: (trivial) Fix the formatting of your ide hack
o 2: =scsi option fails in some cases
o 3: IDE DMA
o add the via ide ident
o fix the siimage mmio stuff

Andi Kleen <[email protected]>:
o Fix 32bit ioctl holes
o Fix context switch bug on x86-64
o Prefetch workaround for csum-copy

Benjamin Herrenschmidt <[email protected]>:
o PPC Documentation/Configure.help fix

Marcelo Tosatti <[email protected]>:
o Changed EXTRAVERSION to -rc5


2003-05-27 20:42:06

by Alex Romosan

[permalink] [raw]
Subject: Re: Linux 2.4.21-rc5

Marcelo Tosatti <[email protected]> writes:

> Mainly due to a IDE DMA problem which would happen on boxes with lots of
> RAM, here is -rc5.
>
> As I always ask, please test.

i get the following error:

make[5]: Entering directory `/usr/src/linux/drivers/ide/pci'
gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -I../ -nostdinc -iwithprefix include -DKBUILD_BASENAME=via82cxxx -c -o via82cxxx.o via82cxxx.c
via82cxxx.c:77: error: `PCI_DEVICE_ID_VIA_8237' undeclared here (not in a function)
via82cxxx.c:77: error: initializer element is not constant
via82cxxx.c:77: error: (near initialization for `via_isa_bridges[0].id')
via82cxxx.c:77: error: initializer element is not constant
via82cxxx.c:77: error: (near initialization for `via_isa_bridges[0]')
via82cxxx.c:78: error: initializer element is not constant
via82cxxx.c:78: error: (near initialization for `via_isa_bridges[1]')
via82cxxx.c:79: error: initializer element is not constant
via82cxxx.c:79: error: (near initialization for `via_isa_bridges[2]')
via82cxxx.c:80: error: initializer element is not constant
via82cxxx.c:80: error: (near initialization for `via_isa_bridges[3]')
via82cxxx.c:81: error: initializer element is not constant
via82cxxx.c:81: error: (near initialization for `via_isa_bridges[4]')
via82cxxx.c:82: error: initializer element is not constant
via82cxxx.c:82: error: (near initialization for `via_isa_bridges[5]')
via82cxxx.c:83: error: initializer element is not constant
via82cxxx.c:83: error: (near initialization for `via_isa_bridges[6]')
via82cxxx.c:84: error: initializer element is not constant
via82cxxx.c:84: error: (near initialization for `via_isa_bridges[7]')
via82cxxx.c:85: error: initializer element is not constant
via82cxxx.c:85: error: (near initialization for `via_isa_bridges[8]')
via82cxxx.c:86: error: initializer element is not constant
via82cxxx.c:86: error: (near initialization for `via_isa_bridges[9]')
via82cxxx.c:87: error: initializer element is not constant
via82cxxx.c:87: error: (near initialization for `via_isa_bridges[10]')
via82cxxx.c:88: error: initializer element is not constant
via82cxxx.c:88: error: (near initialization for `via_isa_bridges[11]')
via82cxxx.c:89: error: initializer element is not constant
via82cxxx.c:89: error: (near initialization for `via_isa_bridges[12]')
via82cxxx.c:90: error: initializer element is not constant
via82cxxx.c:90: error: (near initialization for `via_isa_bridges[13]')
via82cxxx.c:91: error: initializer element is not constant
via82cxxx.c:91: error: (near initialization for `via_isa_bridges[14]')
via82cxxx.c:92: error: initializer element is not constant
via82cxxx.c:92: error: (near initialization for `via_isa_bridges[15]')
via82cxxx.c:93: error: initializer element is not constant
via82cxxx.c:93: error: (near initialization for `via_isa_bridges[16]')
via82cxxx.c:94: error: initializer element is not constant
via82cxxx.c:94: error: (near initialization for `via_isa_bridges[17]')
via82cxxx.c:95: error: initializer element is not constant
via82cxxx.c:95: error: (near initialization for `via_isa_bridges[18]')
make[5]: *** [via82cxxx.o] Error 1
make[5]: Leaving directory `/usr/src/linux/drivers/ide/pci'
make[4]: *** [first_rule] Error 2
make[4]: Leaving directory `/usr/src/linux/drivers/ide/pci'
make[3]: *** [_subdir_pci] Error 2
make[3]: Leaving directory `/usr/src/linux/drivers/ide'
make[2]: *** [_subdir_ide] Error 2
make[2]: Leaving directory `/usr/src/linux/drivers'
make[1]: *** [_dir_drivers] Error 2
make[1]: Leaving directory `/usr/src/linux'
make: *** [stamp-build] Error 2

this compiled in -rc4.

--alex--

--
| I believe the moment is at hand when, by a paranoiac and active |
| advance of the mind, it will be possible (simultaneously with |
| automatism and other passive states) to systematize confusion |
| and thus to help to discredit completely the world of reality. |

2003-05-27 21:04:53

by Marc-Christian Petersen

[permalink] [raw]
Subject: Re: Linux 2.4.21-rc5

On Tuesday 27 May 2003 22:48, [email protected] wrote:

Hi Mitch,

> It's be nice if we could also have the definition of
> PCI_DEVICE_ID_VIA_8237 ?
here it is.

ciao, Marc


Attachments:
(No filename) (171.00 B)
VIA_8237-fix.patch (736.00 B)
Download all attachments

2003-05-27 21:22:35

by Alan

[permalink] [raw]
Subject: Re: Linux 2.4.21-rc5

On Maw, 2003-05-27 at 21:53, Alex Romosan wrote:
> i get the following error:
>
> make[5]: Entering directory `/usr/src/linux/drivers/ide/pci'
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -I../ -nostdinc -iwithprefix include -DKBUILD_BASENAME=via82cxxx -c -o via82cxxx.o via82cxxx.c
> via82cxxx.c:77: error: `PCI_DEVICE_ID_VIA_8237' undeclared here (not in a function)
> via82cxxx.c:77: error: initializer element is not constant

Doh .. my fault



Attachments:
a1 (1.24 kB)

2003-05-27 21:32:22

by Adrian Bunk

[permalink] [raw]
Subject: Re: Linux 2.4.21-rc5

On Tue, May 27, 2003 at 11:17:09PM +0200, Marc-Christian Petersen wrote:
> On Tuesday 27 May 2003 22:48, [email protected] wrote:
>
> Hi Mitch,
>
> > It's be nice if we could also have the definition of
> > PCI_DEVICE_ID_VIA_8237 ?
> here it is.

I'd propose the following patch instead that also removes the duplicated
PCI_DEVICE_ID_VIA_8377_0 :


--- linux-2.4.21-rc5-full/include/linux/pci_ids.h.old 2003-05-27 23:34:50.000000000 +0200
+++ linux-2.4.21-rc5-full/include/linux/pci_ids.h 2003-05-27 23:36:57.000000000 +0200
@@ -1026,10 +1026,10 @@
#define PCI_DEVICE_ID_VIA_8233C_0 0x3109
#define PCI_DEVICE_ID_VIA_8361 0x3112
#define PCI_DEVICE_ID_VIA_8233A 0x3147
-#define PCI_DEVICE_ID_VIA_P4X333 0x3168
-#define PCI_DEVICE_ID_VIA_8235 0x3177
-#define PCI_DEVICE_ID_VIA_8377_0 0x3189
+#define PCI_DEVICE_ID_VIA_P4X333 0x3168
+#define PCI_DEVICE_ID_VIA_8235 0x3177
#define PCI_DEVICE_ID_VIA_8377_0 0x3189
+#define PCI_DEVICE_ID_VIA_8237 0x3227
#define PCI_DEVICE_ID_VIA_86C100A 0x6100
#define PCI_DEVICE_ID_VIA_8231 0x8231
#define PCI_DEVICE_ID_VIA_8231_4 0x8235


> ciao, Marc


cu
Adrian

--

"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed

2003-05-27 21:42:14

by Marcelo Tosatti

[permalink] [raw]
Subject: Re: Linux 2.4.21-rc5



On Tue, 27 May 2003, Alex Romosan wrote:

> Marcelo Tosatti <[email protected]> writes:
>
> > Mainly due to a IDE DMA problem which would happen on boxes with lots of
> > RAM, here is -rc5.
> >
> > As I always ask, please test.
>
> i get the following error:
>
> make[5]: Entering directory `/usr/src/linux/drivers/ide/pci'
> gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=athlon -I../ -nostdinc -iwithprefix include -DKBUILD_BASENAME=via82cxxx -c -o via82cxxx.o via82cxxx.c
> via82cxxx.c:77: error: `PCI_DEVICE_ID_VIA_8237' undeclared here (not in a function)

Get the latest BK tree.

I will have to release -rc6 (will probably do later tonight, maybe
something else shows up).

2003-05-27 22:22:49

by Carl-Daniel Hailfinger

[permalink] [raw]
Subject: [PATCH] IDE config correctness (was: Linux 2.4.21-rc5)

===== drivers/ide/Config.in 1.32 vs edited =====
--- 1.32/drivers/ide/Config.in Tue May 27 15:24:35 2003
+++ edited/drivers/ide/Config.in Wed May 28 00:28:21 2003
@@ -63,7 +63,7 @@
dep_tristate ' NS87415 chipset support' CONFIG_BLK_DEV_NS87415 $CONFIG_BLK_DEV_IDEDMA_PCI
dep_tristate ' OPTi 82C621 chipset enhanced support (EXPERIMENTAL)' CONFIG_BLK_DEV_OPTI621 $CONFIG_EXPERIMENTAL
dep_tristate ' PROMISE PDC202{46|62|65|67} support' CONFIG_BLK_DEV_PDC202XX_OLD $CONFIG_BLK_DEV_IDEDMA_PCI
- dep_bool ' Special UDMA Feature' CONFIG_PDC202XX_BURST $CONFIG_BLK_DEV_PDC202XX_OLD $CONFI_BLK_DEV_IDEDMA_PCI
+ dep_mbool ' Special UDMA Feature' CONFIG_PDC202XX_BURST $CONFIG_BLK_DEV_PDC202XX_OLD $CONFIG_BLK_DEV_IDEDMA_PCI
dep_tristate ' PROMISE PDC202{68|69|70|71|75|76|77} support' CONFIG_BLK_DEV_PDC202XX_NEW $CONFIG_BLK_DEV_IDEDMA_PCI
if [ "$CONFIG_BLK_DEV_PDC202XX_OLD" = "y" -o "$CONFIG_BLK_DEV_PDC202XX_OLD" = "m" -o "$CONFIG_BLK_DEV_PDC202XX_NEW" = "y" -o "$CONFIG_BLK_DEV_PDC202XX_NEW" = "m" ]; then
bool ' Special FastTrak Feature' CONFIG_PDC202XX_FORCE


Attachments:
ide-special-udma-feature2.diff (1.11 kB)

2003-05-28 05:30:56

by Jerome Chantelauze

[permalink] [raw]
Subject: Re: Linux 2.4.21-rc5: [RESENT PATCH] kernel with Old ide hard disk only support doesn't build.

On Tue, May 27, 2003 at 04:41:16PM -0300, Marcelo Tosatti wrote:
>
> Hi,
>
> Mainly due to a IDE DMA problem which would happen on boxes with lots of
> RAM, here is -rc5.
>
> As I always ask, please test.

Hi,

Kernel 2.4.21-rc5 with CONFIG_BLK_DEV_HD_ONLY=y still doen't build (it
doesn't build since 2.4.21-rc3).

I resend this patch which shoud fix the problem.

*** drivers/ide/Makefile.orig Wed May 28 07:33:33 2003
--- drivers/ide/Makefile Wed May 28 07:34:03 2003
***************
*** 19,24 ****
--- 19,26 ----
obj-m :=
ide-obj-y :=

+ subdir-$(CONFIG_BLK_DEV_HD_ONLY) += legacy
+
subdir-$(CONFIG_BLK_DEV_IDE) += legacy ppc arm raid pci

# First come modules that register themselves with the core


FYI, here is the error message:

make -C ide
make[2]: Entering directory `/usr/src/linux-2.4.21-rc5/drivers/ide'
make all_targets
make[3]: Entering directory `/usr/src/linux-2.4.21-rc5/drivers/ide'
rm -f idedriver.o
ld -m elf_i386 -r -o idedriver.o legacy/idedriver-legacy.o
ld: cannot open legacy/idedriver-legacy.o: No such file or directory
make[3]: *** [idedriver.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.21-rc5/drivers/ide'
make[2]: *** [first_rule] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.21-rc5/drivers/ide'
make[1]: *** [_subdir_ide] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.21-rc5/drivers'
make: *** [_dir_drivers] Error 2

Best regards.
--
Jerome Chantelauze

2003-05-28 07:57:10

by Olaf Dietrich

[permalink] [raw]
Subject: Re: Linux 2.4.21-rc5

Attached are two tiny type-related fixes for
2.4.21-rc5 to avoid compiler warnings.

Olaf


Attachments:
(No filename) (90.00 B)
type-fix.diff (1.15 kB)
Download all attachments