From patchwork Sat Mar 14 02:29:24 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Fietkau X-Patchwork-Id: 450138 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from arrakis.dune.hu (arrakis.dune.hu [78.24.191.176]) (using TLSv1.1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id E115C1400B7 for ; Sat, 14 Mar 2015 13:29:42 +1100 (AEDT) Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id EE27728064B; Sat, 14 Mar 2015 03:29:02 +0100 (CET) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on arrakis.dune.hu X-Spam-Level: X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00,RDNS_NONE autolearn=no version=3.3.2 Received: from arrakis.dune.hu (localhost [127.0.0.1]) by arrakis.dune.hu (Postfix) with ESMTP id 0F79F28064B; Sat, 14 Mar 2015 03:29:01 +0100 (CET) Received: from nf.local (unknown [178.162.209.130]) by arrakis.dune.hu (Postfix) with ESMTPSA; Sat, 14 Mar 2015 03:29:01 +0100 (CET) Message-ID: <55039D04.3020500@openwrt.org> Date: Sat, 14 Mar 2015 03:29:24 +0100 From: Felix Fietkau User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Russell Senior , John Crispin References: <87oaobj26j.fsf@husum.klickitat.com> <55005C64.2000700@openwrt.org> <877functcp.fsf@husum.klickitat.com> <550082E8.5060508@openwrt.org> <87385bcp6b.fsf@husum.klickitat.com> <5502E027.3060407@openwrt.org> <87y4n08njh.fsf@husum.klickitat.com> In-Reply-To: <87y4n08njh.fsf@husum.klickitat.com> Cc: openwrt-devel@lists.openwrt.org Subject: Re: [OpenWrt-Devel] [PATCH] x86: update to kernel 3.18 X-BeenThere: openwrt-devel@lists.openwrt.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: OpenWrt Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: openwrt-devel-bounces@lists.openwrt.org Sender: "openwrt-devel" On 2015-03-14 00:50, Russell Senior wrote: >>>>>> "John" == John Crispin writes: > > John> Hi Russel, can you also send a boot log of the failing soekris so > John> we can see if we have an idea on how to fix it ? > > The failure is on Soekris net48xx (I am testing net4826, specifically). > > Typically, the boot either hangs or resets immediately after Grub attempts to boot > the kernel, after: > > Booting `OpenWrt' > > > If I: > a) use the serial console to 'edit' the boot option, then launch with Ctrl-x; > > or > > b) edit (e.g. by mounting /dev/sda1 at /mnt and then > vi /mnt/boot/grub/grub.cfg) grub.cfg to remove the first two lines: > > serial --unit=0 --speed=19200 --word=8 --parity=no --stop=1 > terminal_input serial; terminal_output serial > > then it boots and runs mostly normally. There may be a clock problem, > as the boot seems slow. The bootlog after employing option (b) above, > looks like this: > > https://personaltelco.net/~russell/net4826-after-grub.cfg-edit-boot.log Please try this: --- a/target/linux/x86/image/Makefile +++ b/target/linux/x86/image/Makefile @@ -32,7 +32,7 @@ GRUB_SERIAL:=$(call qstrip,$(CONFIG_GRUB_SERIAL)) ifneq ($(GRUB_SERIAL),) GRUB_CONSOLE_CMDLINE += console=$(GRUB_SERIAL),$(CONFIG_GRUB_BAUDRATE)n8 - GRUB_SERIAL_CONFIG := serial --unit=0 --speed=$(CONFIG_GRUB_BAUDRATE) --word=8 --parity=no --stop=1 + GRUB_SERIAL_CONFIG := serial --unit=0 --speed=$(CONFIG_GRUB_BAUDRATE) --word=8 --parity=no --stop=1 --rtscts=off GRUB_TERMINALS += serial endif