* Vger 2.2.5 kernel not working without IDE
@ 1999-04-08 20:24 Alois Fertl
0 siblings, 0 replies; only message in thread
From: Alois Fertl @ 1999-04-08 20:24 UTC (permalink / raw)
To: Cort Dougan; +Cc: LinuxppcDev
playing with recent vger 2.2.5 kernels from CVS on samba I found out
that kernels built without IDE support (CONFIG_BLK_DEV_IDE not set)
will no longer boot on prep_hardware.
The reason is asm-ppc/ide.h which redefines the inb and outb macros
to use the ISA-I/O base from ppc_ide_md.io_base. The whole ppc_ide_md
structure is only initialized if IDE support is configured.
For the kernel this means that after including asm-ppc/ide.h all
following inb/outb operations access wrong locations which results in
the kernel not booting at all.
Question is if these undefs and redefs for inb/outb inb_p/outb_p in
ide.h are really required or if they can go away.
I dropped this lines and than tested recompiled IDE and non-IDE kernels
which both woirked fine for me.
Alois
[[ This message was sent via the linuxppc-dev mailing list. Replies are ]]
[[ not forced back to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting. ]]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1999-04-08 20:24 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-04-08 20:24 Vger 2.2.5 kernel not working without IDE Alois Fertl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).