From: Jerome Chantelauze <jerome.chantelauze@finix.eu.org>
To: Marcelo Tosatti <marcelo@conectiva.com.br>
Cc: linux-kernel@vger.kernel.org
Subject: Re: Linux 2.4.21-rc2
Date: Mon, 12 May 2003 23:25:46 +0200 [thread overview]
Message-ID: <20030512212546.GC570@i486X33> (raw)
In-Reply-To: <Pine.LNX.4.55L.0305082213420.9139@freak.distro.conectiva>
On Thu, May 08, 2003 at 10:15:12PM -0300, Marcelo Tosatti wrote:
>
> Hi,
>
> Here goes release canditate 2. The aic7xxx problems should be fixed.
Hi Marcello
Here is a patch I sent to lkml a few days ago. It tries to fix a problem
with 2.4.21-rc1 ide driver Makefile.
drivers/ide/Makefile is broken on 2.4.21-rc2 (it's broken at least since
2.4.421-pre6. 2.4.20 is OK).
I try to build a kernel with Old hard disk (MFM/RLL/IDE) support only
(I don't need the Enhanced IDE/MFM/RLL disk/cdrom/tape/floppy support).
Here is my .config:
#
# ATA/IDE/MFM/RLL support
#
CONFIG_IDE=y
#
# IDE, ATA and ATAPI Block devices
#
# CONFIG_BLK_DEV_IDE is not set
CONFIG_BLK_DEV_HD_ONLY=y
CONFIG_BLK_DEV_HD=y
CONFIG_IDEDMA_AUTO=y
# CONFIG_IDEDMA_IVB is not set
# CONFIG_DMA_NONPCI is not set
CONFIG_BLK_DEV_PDC202XX=y
CONFIG_BLK_DEV_IDE_MODES=y
# CONFIG_BLK_DEV_ATARAID is not set
# CONFIG_BLK_DEV_ATARAID_PDC is not set
# CONFIG_BLK_DEV_ATARAID_HPT is not set
# CONFIG_BLK_DEV_ATARAID_SII is not set
The resulting kernel has no support for ide hard disks:
# ls -l drivers/ide/*.o
-rw-r--r-- 1 root root 8 apr 23 08:56 drivers/ide/idedriver.o
#
The following patch fixes the problem for the x86 arch (sorry, I have no
access to other archs).
*** linux-2.4.21-rc1/drivers/ide/Makefile.orig Wed Apr 23 08:45:48 2003
--- linux-2.4.21-rc1/drivers/ide/Makefile Wed Apr 23 09:20:14 2003
***************
*** 21,26 ****
--- 21,28 ----
subdir-$(CONFIG_BLK_DEV_IDE) += legacy ppc arm raid pci
+ subdir-$(CONFIG_BLK_DEV_HD_ONLY) += legacy
+
# First come modules that register themselves with the core
ifeq ($(CONFIG_BLK_DEV_IDE),y)
***************
*** 50,55 ****
--- 52,60 ----
obj-y += arm/idedriver-arm.o
endif
+ ifeq ($(CONFIG_BLK_DEV_HD_ONLY),y)
+ obj-y += legacy/idedriver-legacy.o
+ endif
ifeq ($(CONFIG_BLK_DEV_IDE),y)
# RAID must be last of all
I used a x86 computer running a debian woody (gcc 2.95.4, glibc 2.2.5)
to build the kernel.
Regards
--
Jerome Chantelauze
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
next prev parent reply other threads:[~2003-05-12 21:10 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-09 1:15 Linux 2.4.21-rc2 Marcelo Tosatti
2003-05-09 3:43 ` Driver ordering from boot: or lilo.conf Mr. James W. Laferriere
2003-05-10 22:21 ` [patch] 2.4.21-rc2: fix sound/kahlua.c .text.exit error Adrian Bunk
2003-05-10 22:29 ` [patch] 2.4.21-rc2: fix ips.c " Adrian Bunk
2003-05-12 18:19 ` Linux v2.4.21-rc2 changelog (was: Linux 2.4.21-rc2) Matthias Andree
2003-05-12 21:25 ` Jerome Chantelauze [this message]
[not found] <fa.m0c9ksl.1ijqph1@ifi.uio.no>
2003-05-09 6:55 ` Linux 2.4.21-rc2 Gregoire Favre
2003-05-09 7:06 ` Anders Karlsson
2003-05-09 7:07 ` Marc-Christian Petersen
2003-05-09 7:31 ` Gregoire Favre
2003-05-09 7:35 ` Marc-Christian Petersen
2003-05-09 7:39 ` Gregoire Favre
2003-05-11 19:08 ` Sven Krohlas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20030512212546.GC570@i486X33 \
--to=jerome.chantelauze@finix.eu.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo@conectiva.com.br \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox