public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Linux 2.4.21-rc5
@ 2003-05-27 19:41 Marcelo Tosatti
  2003-05-27 20:53 ` Alex Romosan
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Marcelo Tosatti @ 2003-05-27 19:41 UTC (permalink / raw)
  To: lkml


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 <alan@lxorguk.ukuu.org.uk>:
  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 <ak@muc.de>:
  o Fix 32bit ioctl holes
  o Fix context switch bug on x86-64
  o Prefetch workaround for csum-copy

Benjamin Herrenschmidt <benh@kernel.crashing.org>:
  o PPC Documentation/Configure.help fix

Marcelo Tosatti <marcelo@freak.distro.conectiva>:
  o Changed EXTRAVERSION to -rc5


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

* Re: Linux 2.4.21-rc5
  2003-05-27 20:53 ` Alex Romosan
@ 2003-05-27 20:36   ` Alan Cox
  2003-05-27 21:53   ` Marcelo Tosatti
  1 sibling, 0 replies; 7+ messages in thread
From: Alan Cox @ 2003-05-27 20:36 UTC (permalink / raw)
  To: Alex Romosan; +Cc: Marcelo Tosatti, lkml

[-- Attachment #1: Type: text/plain, Size: 578 bytes --]

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



[-- Attachment #2: a1 --]
[-- Type: text/x-patch, Size: 1302 bytes --]

diff -u --exclude-from /usr/src/exclude --new-file --recursive linux.21rc4/include/linux/pci_ids.h linux.21rc4-ac1/include/linux/pci_ids.h
--- linux.21rc4/include/linux/pci_ids.h	2003-05-27 13:54:22.000000000 +0100
+++ linux.21rc4-ac1/include/linux/pci_ids.h	2003-05-27 14:17:22.000000000 +0100
@@ -501,6 +501,7 @@
 #define PCI_DEVICE_ID_SI_650		0x0650
 #define PCI_DEVICE_ID_SI_651		0x0651
 #define PCI_DEVICE_ID_SI_652		0x0652
+#define PCI_DEVICE_ID_SI_655		0x0655
 #define PCI_DEVICE_ID_SI_730		0x0730
 #define PCI_DEVICE_ID_SI_630_VGA	0x6300
 #define PCI_DEVICE_ID_SI_730_VGA	0x7300
@@ -1025,11 +1026,13 @@
 #define PCI_DEVICE_ID_VIA_8622		0x3102
 #define PCI_DEVICE_ID_VIA_8233C_0	0x3109
 #define PCI_DEVICE_ID_VIA_8361		0x3112
+#define PCI_DEVICE_ID_VIA_8375		0x3116
 #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_8237_SATA	0x3149
+#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

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

* Re: Linux 2.4.21-rc5
  2003-05-27 19:41 Linux 2.4.21-rc5 Marcelo Tosatti
@ 2003-05-27 20:53 ` Alex Romosan
  2003-05-27 20:36   ` Alan Cox
  2003-05-27 21:53   ` Marcelo Tosatti
  2003-05-27 22:35 ` [PATCH] IDE config correctness (was: Linux 2.4.21-rc5) Carl-Daniel Hailfinger
                   ` (2 subsequent siblings)
  3 siblings, 2 replies; 7+ messages in thread
From: Alex Romosan @ 2003-05-27 20:53 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: lkml

Marcelo Tosatti <marcelo@conectiva.com.br> 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. |

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

* Re: Linux 2.4.21-rc5
  2003-05-27 20:53 ` Alex Romosan
  2003-05-27 20:36   ` Alan Cox
@ 2003-05-27 21:53   ` Marcelo Tosatti
  1 sibling, 0 replies; 7+ messages in thread
From: Marcelo Tosatti @ 2003-05-27 21:53 UTC (permalink / raw)
  To: Alex Romosan; +Cc: lkml



On Tue, 27 May 2003, Alex Romosan wrote:

> Marcelo Tosatti <marcelo@conectiva.com.br> 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).

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

* [PATCH] IDE config correctness (was: Linux 2.4.21-rc5)
  2003-05-27 19:41 Linux 2.4.21-rc5 Marcelo Tosatti
  2003-05-27 20:53 ` Alex Romosan
@ 2003-05-27 22:35 ` Carl-Daniel Hailfinger
  2003-05-28  5:46 ` Linux 2.4.21-rc5: [RESENT PATCH] kernel with Old ide hard disk only support doesn't build Jerome Chantelauze
  2003-05-28  8:10 ` Linux 2.4.21-rc5 Olaf Dietrich
  3 siblings, 0 replies; 7+ messages in thread
From: Carl-Daniel Hailfinger @ 2003-05-27 22:35 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: lkml

[-- Attachment #1: Type: text/plain, Size: 572 bytes --]

Marcelo Tosatti wrote:
> Summary of changes from v2.4.21-rc4 to v2.4.21-rc5
> ============================================
> 
> Alan Cox <alan@lxorguk.ukuu.org.uk>:
>   o 1: (trivial) Fix the formatting of your ide hack

Darn. Everytime I send a patch for drivers/ide/Config.in, someone beats
me to it and my patch causes a conflict. This time with one more bugfix
for the same line.

Fixes:
CONFIG_PDC202XX_BURST was not selectable if CONFIG_BLK_DEV_PDC202XX_OLD=m

CONFIG_PDC202XX_BURST depended on CONFI_BLK_DEV_IDEDMA_PCI, which is a typo.

Please apply,

Carl-Daniel

[-- Attachment #2: ide-special-udma-feature2.diff --]
[-- Type: text/plain, Size: 1141 bytes --]

===== 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

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

* Re: Linux 2.4.21-rc5: [RESENT PATCH] kernel with Old ide hard disk only support doesn't build.
  2003-05-27 19:41 Linux 2.4.21-rc5 Marcelo Tosatti
  2003-05-27 20:53 ` Alex Romosan
  2003-05-27 22:35 ` [PATCH] IDE config correctness (was: Linux 2.4.21-rc5) Carl-Daniel Hailfinger
@ 2003-05-28  5:46 ` Jerome Chantelauze
  2003-05-28  8:10 ` Linux 2.4.21-rc5 Olaf Dietrich
  3 siblings, 0 replies; 7+ messages in thread
From: Jerome Chantelauze @ 2003-05-28  5:46 UTC (permalink / raw)
  To: Marcelo Tosatti; +Cc: linux-kernel

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

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

* Re: Linux 2.4.21-rc5
  2003-05-27 19:41 Linux 2.4.21-rc5 Marcelo Tosatti
                   ` (2 preceding siblings ...)
  2003-05-28  5:46 ` Linux 2.4.21-rc5: [RESENT PATCH] kernel with Old ide hard disk only support doesn't build Jerome Chantelauze
@ 2003-05-28  8:10 ` Olaf Dietrich
  3 siblings, 0 replies; 7+ messages in thread
From: Olaf Dietrich @ 2003-05-28  8:10 UTC (permalink / raw)
  To: linux-kernel; +Cc: Marcelo Tosatti

[-- Attachment #1: Type: text/plain, Size: 90 bytes --]

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

Olaf

[-- Attachment #2: type-fix.diff --]
[-- Type: text/plain, Size: 1174 bytes --]

diff -Nur linux-2.4.21-rc5/drivers/char/agp/agpgart_be.c linux-2.4.21-rc5.n/drivers/char/agp/agpgart_be.c
--- linux-2.4.21-rc5/drivers/char/agp/agpgart_be.c	Wed May 28 08:54:24 2003
+++ linux-2.4.21-rc5.n/drivers/char/agp/agpgart_be.c	Wed May 28 09:32:54 2003
@@ -577,7 +577,7 @@
 	for (page = virt_to_page(table); page <= virt_to_page(table_end); page++)
 		SetPageReserved(page);
 
-	agp_bridge.gatt_table_real = (unsigned long *) table;
+	agp_bridge.gatt_table_real = (u32 *) table;
 	agp_gatt_table = (void *)table;
 #ifdef CONFIG_X86
 	err = change_page_attr(virt_to_page(table), 1<<page_order, PAGE_KERNEL_NOCACHE);
diff -Nur linux-2.4.21-rc5/fs/ext2/balloc.c linux-2.4.21-rc5.n/fs/ext2/balloc.c
--- linux-2.4.21-rc5/fs/ext2/balloc.c	Wed May 28 08:54:37 2003
+++ linux-2.4.21-rc5.n/fs/ext2/balloc.c	Wed May 28 09:18:36 2003
@@ -520,7 +520,7 @@
 	    in_range (tmp, le32_to_cpu(gdp->bg_inode_table),
 		      EXT2_SB(sb)->s_itb_per_group)) {
 		ext2_error (sb, "ext2_new_block",
-			    "Allocating block in system zone - block = %lu",
+			    "Allocating block in system zone - block = %u",
 			    tmp);
 		ext2_set_bit(j, bh->b_data);
 		DQUOT_FREE_BLOCK(inode, 1);

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

end of thread, other threads:[~2003-05-28  7:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-27 19:41 Linux 2.4.21-rc5 Marcelo Tosatti
2003-05-27 20:53 ` Alex Romosan
2003-05-27 20:36   ` Alan Cox
2003-05-27 21:53   ` Marcelo Tosatti
2003-05-27 22:35 ` [PATCH] IDE config correctness (was: Linux 2.4.21-rc5) Carl-Daniel Hailfinger
2003-05-28  5:46 ` Linux 2.4.21-rc5: [RESENT PATCH] kernel with Old ide hard disk only support doesn't build Jerome Chantelauze
2003-05-28  8:10 ` Linux 2.4.21-rc5 Olaf Dietrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox