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

From: Jerome Chantelauze (jerome.chantelauze@finix.eu.org)
Date: Wed May 28 2003 - 00:47:24 EST


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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/