Hi,
I'm in the process to reduce the Fedora s390x kernel's size and build
time by disabling drivers for devices that can't appear on the
mainframe. But I'm getting 2 kinds of errors
first is
...
+ echo '# s390'
+ cat .config
+ CheckConfigs configs/kernel-4.11.0-s390x.config temp-kernel-4.11.0-s390x.config
+ ./check_configs.awk configs/kernel-4.11.0-s390x.config temp-kernel-4.11.0-s390x.config
+ '[' -s .mismatches ']'
+ echo 'Error: Mismatches found in configuration files'
Error: Mismatches found in configuration files
+ cat .mismatches
Found # CONFIG_HID is not set, after generation, had CONFIG_HID m in Fedora tree
Found # CONFIG_HWMON is not set, after generation, had CONFIG_HWMON m in Fedora tree
Found # CONFIG_I2C is not set, after generation, had CONFIG_I2C m in Fedora tree
Found # CONFIG_NEW_LEDS is not set, after generation, had CONFIG_NEW_LEDS y in Fedora
tree
+ exit 1
This is after setting the options ^^^ to "N" in their files under
baseconfig/s390x/.
the second one is
...
+ rm temp-kernel-4.11.0-ppc64p7.config
+ for i in '*.config'
+ cat kernel-4.11.0-s390x.config
+ mv kernel-4.11.0-s390x.config .config
++ head -1 .config
++ cut -b 3-
+ Arch=s390
+ make ARCH=s390 listnewconfig
+ grep -E '^CONFIG_'
+ '[' -s .newoptions ']'
+ cat .newoptions
CONFIG_RESET_CONTROLLER
+ exit 1
This is after disabling all Ethernet drivers (drivers/net/ethernet)
except Mellanox
What am I doing wrong or what else I must change?
Dan