2000-11-13 12:57:49

by Stefan Sassenberg

[permalink] [raw]
Subject: Bug-report: menuconfig

Hi,

I think I detected a bug in Makefile's target "menuconfig".

When I set CONFIG_MD_BOOT to 'y' and then set neither
CONFIG_MD_LINEAR nor CONFIG_MD_STRIPED to 'y' then although
CONFIG_MD_BOOT is not changeable anymore it is always set. This leads
to an error when linking the kernel because of an unresolved symbol
"md_device_setup" (or similar).

The menu items are:
CONFIG_MD_BOOT Boot support (linear, striped)
CONFIG_MD_LINEAR Linear (append) mode
CONFIG_MD_STRIPED RAID-0 (striping) mode

Kernel version is 2.2.16 on an i386.

Regards

Stefan


2000-11-14 05:07:42

by Peter Samuelson

[permalink] [raw]
Subject: Re: Bug-report: menuconfig


Note for future reference: please report configuration and build bugs
to [email protected]. Speaking for myself, I am much more likely
to notice it there, as the volume is a lot lower than l-k. (:

[Stefan Sassenberg]
> When I set CONFIG_MD_BOOT to 'y' and then set neither
> CONFIG_MD_LINEAR nor CONFIG_MD_STRIPED to 'y' then although
> CONFIG_MD_BOOT is not changeable anymore it is always set. This leads
> to an error when linking the kernel because of an unresolved symbol
> "md_device_setup" (or similar).

I cannot reproduce this. Yes, the CONFIG_MD_BOOT option is still
selected while invisible from the menu, but after exiting menuconfig it
does not appear in the .config file.

Can you send me the buggy .config that Menuconfig generated?

Peter