lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTikLJW0be+kVgEnAZDbiDMVbYOrA7f5VYs+KHSe_@mail.gmail.com>
Date:	Tue, 23 Nov 2010 20:04:12 +0100
From:	Zimny Lech <napohybelskurwysynom2010@...il.com>
To:	Randy Dunlap <randy.dunlap@...cle.com>
Cc:	Stephen Rothwell <sfr@...b.auug.org.au>,
	linux-next@...r.kernel.org, LKML <linux-kernel@...r.kernel.org>,
	linux-scsi@...r.kernel.org
Subject: Re: linux-next: Tree for November 23

2010/11/23 Randy Dunlap <randy.dunlap@...cle.com>:
> On Tue, 23 Nov 2010 16:43:22 +0100 Zimny Lech wrote:
>
>> Ave
>>
>> 2010/11/23 Stephen Rothwell <sfr@...b.auug.org.au>:
>> > Hi all,
>> >
>> > Changes since 20101122:
>> >
>>
>>
>> Random config generator has failed :)
>
> Hi,
> What do you mean by this?

This is what I get from "make" after "make randconfig".

>  I'm not seeing any randconfig generator problems.
> Are you using any options or inputs to kconfig?

No.

I'm using script below to build kernel - nothing really unusual. Log
and config for this failed build are attached to previous email

import os, sys, time
from hexer_io import *

class BuildKernel:
        def __init__(self, options, config):
                self.options = options
                self.config = config
                self.timestamp = ""

        def generate_timestamp(self):
                self.timestamp = time.strftime("%y-%m-%d-%H-%M-%S",
time.gmtime())
                print("timestamp = " + self.timestamp)

        def check_dirs(self):
                if not os.path.isdir(self.config["KERNEL_DIR"]):
                        print("KERNEL_DIR=" +
self.config["KERNEL_DIR"] + " doesn't exist")
                        sys.exit(1)
                if not os.path.isdir(self.config["KERNEL_OBJ_DIR"]):
                        print("KERNEL_OBJ_DIR=" +
self.config["KERNEL_OBJ_DIR"] + " doesn't exist")
                        sys.exit(1)
                if not os.path.isdir(self.config["HEXER_DIR"] + "/builds/"):
                        os.system("mkdir " + self.config["HEXER_DIR"]
+ "/builds/")

        def kernel_make_mrproper(self):
                print("make mrproper")
                os.system("cd " + self.config["KERNEL_DIR"] + " &&
LANG=\"C\" make mrproper &> /dev/null")
                os.system("cd " + self.config["KERNEL_DIR"] + " &&
LANG=\"C\" make O=" + self.config["KERNEL_OBJ_DIR"] + " mrproper &>
/dev/null")

        def kernel_make_clean(self):
                print("make clean")
                os.system("cd " + self.config["KERNEL_DIR"] + " &&
LANG=\"C\" make O=" + self.config["KERNEL_OBJ_DIR"] + " clean &>
/dev/null")

        def kernel_make_randconfig(self):
                print("make randconfig")
                os.system("cd " + self.config["KERNEL_DIR"] + " &&
LANG=\"C\" make O=" + self.config["KERNEL_OBJ_DIR"] + " randconfig &>
/dev/null")
                os.system("cp " + self.config["KERNEL_OBJ_DIR"] +
"/.config " + self.config["HEXER_DIR"] + "/builds/" + self.timestamp +
"-config")

        def kernel_make(self):
                print("make")
                os.system("cd " + self.config["KERNEL_DIR"] + " &&
LANG=\"C\" make O=" + self.config["KERNEL_OBJ_DIR"] + " &> " +
self.config["HEXER_DIR"] + "/builds/" + self.timestamp + "-buildlog")

        def build_random_kernel(self, loop):
                while True:
                        IOStopFile.get_stop_file(self.config)
                        self.generate_timestamp()
                        #self.kernel_make_clean()
                        self.kernel_make_randconfig()
                        self.kernel_make()
                        if not loop:
                                break

        def build(self):
                self.kernel_make_mrproper()
                if self.options.mode == "brk":
                        self.build_random_kernel(self.options.loop)

        def run(self):
                self.check_dirs()
                self.build()


>
>
>> USB Gadget Support (USB_GADGET) [Y/n/?] y
>>   Debugging messages (DEVELOPMENT) (USB_GADGET_DEBUG) [Y/n/?] y
>>   Debugging information files (DEVELOPMENT) (USB_GADGET_DEBUG_FILES) [N/y/?] n
>>   Debugging information files in debugfs (DEVELOPMENT)
>> (USB_GADGET_DEBUG_FS) [Y/n/?] y
>>   Maximum VBUS Power usage (2-500 mA) (USB_GADGET_VBUS_DRAW) [2] 2
>>   USB Peripheral Controller
>>   > 1. Renesas R8A66597 USB Peripheral Controller (USB_GADGET_R8A66597)
>>     2. Renesas M66592 USB Peripheral Controller (USB_GADGET_M66592)
>>   choice[1-2?]: 1
>>   USB Gadget Drivers
>>     1. Gadget Zero (DEVELOPMENT) (USB_ZERO)
>>     2. Audio Gadget (EXPERIMENTAL) (USB_AUDIO)
>>   > 3. Ethernet Gadget (with CDC Ethernet support) (USB_ETH)
>>     4. Serial Gadget (with CDC ACM and CDC OBEX support) (USB_G_SERIAL)
>>     5. Printer Gadget (USB_G_PRINTER)
>>     6. CDC Composite Device (Ethernet and ACM) (USB_CDC_COMPOSITE)
>>     7. HID Gadget (USB_G_HID)
>>     8. EHCI Debug Device Gadget (USB_G_DBGP)
>>   choice[1-8?]: 3
>>     RNDIS support (USB_ETH_RNDIS) [Y/n/?] (NEW) aborted!
>>
>> Console input/output is redirected. Run 'make oldconfig' to update
>> configuration.
>>
>> make[3]: *** [silentoldconfig] Error 1
>> make[2]: *** [silentoldconfig] Error 2
>> make[1]: *** No rule to make target `include/config/auto.conf', needed
>> by `include/config/kernel.release'.  Stop.
>> make: *** [sub-make] Error 2
>
>
> ---
> ~Randy
> *** Remember to use Documentation/SubmitChecklist when testing your code ***
>



-- 
Slawa!
N.P.S.

Chwała tobie, Szatanie, cześć na wysokościach
Nieba, gdzie królowałeś, chwała w głębokościach
Piekła, gdzie zwyciężony, trwasz w dumnym milczeniu!
Uczyń, niechaj ma dusza spocznie z Tobą w cieniu
Drzewa Wiedzy, gdy swoje konary rozwinie,
Jak sklepienie kościoła, który nie przeminie!
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ