PROBLEM: missing "drivers/hotplug" tree in 2.4.14 and the 2.4.15-patch

From: Dietmar Schmidt (D.Schmidt@aquadetox.com)
Date: Sat Nov 24 2001 - 15:00:50 EST


Hello,

I'm running 2.4.14 on top of a SuSE Linux 7.3 distribution. I took the
complete sources myself from kernel.org corr. to an older Latest-Is Announce.

Installing, configuring, compiling and all went fine with 2.4.14 so far...
(in fact it works fine for me although SuSE-Kernels in some way differ from
orginal sources...)

My /proc/version (although I don't think it important for the further problem
description...) gives:

> Linux version 2.4.14 (root@sirius) (gcc version 2.95.3 20010315 (SuSE))

Today I downloaded patch-2.4.15 and applied it. As I suggest it went okay as
no Hmm..'s came up.

When trying to configure the 2.4.15 kernel (using "make menuconfig") from an
konsole within kde the latter crashed.

Checking for the cause /var/log/messages gave:

> Nov 24 19:06:31 sirius kernel: Out of Memory: Killed process 2595 (kdeinit).
> Nov 24 19:06:37 sirius kernel: Out of Memory: Killed process 2593 (kdeinit).
> Nov 24 19:06:39 sirius kernel: Out of Memory: Killed process 2604 (kdeinit).

Oops I thought ...but no Oops'ses were to be found anywhere.... Looking to
/var/log/warn gave the same massages but no further hint...

As my 2.4.14 has full featured kernel debugging switched on I don't really
suggest a kernel problem....

Checking /usr/src/linux/menuconfig.log gave something like...

> Path drivers/hotplug not found ....

Searching for this dir showed up it's really missing within the 2.4.15 tree.

Argueing wether the patch really succeed in the end I looked to the
uncompressed "patch-2.4.15" file and found that indeed it wanted to patch
some files inside the "drivers/hotplug" dir of the 2.4.14 tree.

But searching the 2.4.14 tree I couldn't find this drivers/hotplug dir either
.... !!!!! So what ...2.4.14 works fine anyway .... and it's a complete
download from kernel.org .... !!!!

Anyhow I tried to work this around by checking the 2.4.14 Makefiles resp.
config.in's and comparing them to 2.4.15 .... so I uncommented line 187 in
the main Makefile of 2.4.15

> DRIVERS-$(CONFIG_HOTPLUG_PCI) += drivers/hotplug/vmlinux-obj.o

and starting from line 235 within "arch/i386/config.in" of 2.4.15

> if [ "$CONFIG_HOTPLUG" = "y" ] ; then
> source drivers/pcmcia/Config.in
> # source drivers/hotplug/Config.in # does not exist
> else
> define_bool CONFIG_PCMCIA n
> # define_bool CONFIG_HOTPLUG_PCI n # makes problem too
> fi

By that I was able to sucessfully run "make menuconfig" so far (without
further crash).

Furthermore within this I disabled CONFIG_HOTPLUG (although I have some
USB-devices). (My complete .config is appended at the end...)

Anyhow I had no success due to "make dep" aborts with

> make[4]: Leaving directory `/usr/src/linux-2.4.15/drivers/fc4'
> make -C hotplug fastdep
> make: Entering an unknown directory
> make: *** hotplug: Datei oder Verzeichnis nicht gefunden. Stop.
> make: Leaving an unknown directory
> make[3]: *** [_sfdep_hotplug] Error 2
> make[3]: Leaving directory `/usr/src/linux-2.4.15/drivers'
> make[2]: *** [fastdep] Error 2
> make[2]: Leaving directory `/usr/src/linux-2.4.15/drivers'
> make[1]: *** [_sfdep_drivers] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.15'
> make: *** [dep-files] Error 2

that's for me so far. I'm not to firm with the kernel to tell you more as for
now. For me I layed work down with 2.4.15 for following future kernel.org
anouncements where I suggest the problem to be fixed some time...

I hope this info is helpful for you...



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



This archive was generated by hypermail 2b29 : Fri Nov 30 2001 - 21:00:17 EST