From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1VoghZ-0001iV-7h for mharc-grub-devel@gnu.org; Thu, 05 Dec 2013 16:43:17 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36016) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoghS-0001hv-GI for grub-devel@gnu.org; Thu, 05 Dec 2013 16:43:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VoghL-0005el-Lk for grub-devel@gnu.org; Thu, 05 Dec 2013 16:43:10 -0500 Received: from gmmr5.centrum.cz ([2a00:da80:0:502::4]:44257) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VoghL-0005ee-Ak for grub-devel@gnu.org; Thu, 05 Dec 2013 16:43:03 -0500 Received: from gm-as2.cent (unknown [10.32.3.102]) by gmmr5.centrum.cz (Postfix) with ESMTP id 9F1B540A for ; Thu, 5 Dec 2013 22:35:42 +0100 (CET) Received: by gm-as2.cent (Postfix, from userid 65534) id 84B336533B59D; Thu, 5 Dec 2013 22:35:42 +0100 (CET) X-Original-From: starous@volny.cz X-Envelope-To: grub-devel@gnu.org X-Original-IP: 193.86.90.90 Received: from [192.168.6.11] (unknown [193.86.90.90]) by gm-smtp1.centrum.cz (Postfix) with ESMTPX id 0741760049960 for ; Thu, 5 Dec 2013 22:34:48 +0100 (CET) Message-ID: <52A0F180.7010003@volny.cz> Date: Thu, 05 Dec 2013 22:34:56 +0100 From: =?windows-1252?Q?Ale=9A_Nesrsta?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: The development of GNU GRUB Subject: Re: [grub-devel] loongson-2f mini-pc (fuloong) elf image generation. References: <51F522F1.1030507@volny.cz> <51F524DE.4040903@volny.cz> <5238AD0C.60608@gmail.com> <526D5531.7030601@gmail.com> <526D7190.2090305@volny.cz> <526D9702.4060403@gmail.com> <52700009.1020903@volny.cz> <52741C88.8090803@volny.cz> <5274243E.3080101@gmail.com> <5276F585.6020701@gmail.com> <5288B0D6.3030005@volny.cz> In-Reply-To: X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:da80:0:502::4 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Dec 2013 21:43:16 -0000 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi Javier, I went through this e-mail thread and I noted one possibly interesting thing: You sent debug output file ttyUSB0_new.txt at 27.10.2013. There is one very interesting part: the begin of this file - there are these lines: " Now booting the Boot with GNU GRUB2 Loading file: (wd0,0)/grub.elf (elf) 0x801ffb60/296284 =08 + Entry address is 801ffb60 Boot with parameters: console=3Dtty no_auto_cmd ..." followed by dump of CPU registers. This text is not part of GRUB debug output - it is probably console or debug output of pmon which you are using to load GRUB. It is interesting that this serial output is probably working also in time when GRUB is loaded and executed - I have such feeling from the line= s " ... =1B[H=1B[J=1B[1;1H=1B[7mWelcome to GRUB! =1B[merror: variable `prefix' isn't set. =1B[m=1B[merror: serial port `com0' isn't found. error: terminal `console' isn't found. " which probably mean that the GRUB serial driver is not properly loaded and working - but output to serial line was still working! So, I have maybe very stupid idea - try please: - - keep the modification in misc.c suggested by Vladimir - - modify your grub.cfg in this way: ... ### BEGIN /etc/grub.d/00_header ### #serial #terminal_output console serial debug=3Dall insmod ehci insmod ohci insmod usb_keyboard ls ... i.e. disable the GRUB serial driver and console redirection. What will be serial debug output in this case? BR, Ales P.S. Sorry if this e-mail will appear twice in ML - I had some problem with e-mail client... Dne 17.11.2013 19:31, Javier Vasquez napsal(a): > On 11/17/13, Ale=9A Nesrsta wrote: >> ... Did you change something else than misc.c? >=20 > No, please see attached diff. >=20 > Thanks, >=20 >=20 >=20 > _______________________________________________ Grub-devel mailing > list Grub-devel@gnu.org=20 > https://lists.gnu.org/mailman/listinfo/grub-devel >=20 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iF4EAREIAAYFAlKg8YAACgkQT72HYprvCNFXmAD8C37giDj1iaRI5KRaJMrOWz+i +xOF5k9CZ2Z8OlYFQAYA+wd+Ow02LyzTge4bD5WeLid7ExLPMzMThg/Y83MNmo8g =3DL7CJ -----END PGP SIGNATURE-----