Vger 2.2.5 kernel not working without IDE
alois_fertl at TalkNet.de
Fri Apr 9 06:24:14 EST 1999
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.
[[ 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. ]]
More information about the Linuxppc-dev