All of lore.kernel.org
 help / color / mirror / Atom feed
From: Laszlo Ersek <lersek@redhat.com>
To: Michael Chang <mchang@suse.com>
Cc: Andrei Borzenkov <arvidjaar@gmail.com>,
	grub-devel@gnu.org, edk2-devel@lists.sourceforge.net,
	mmazur@kernel.pl
Subject: Re: [edk2] [PATCH 2/2] efinet: fix lost packets due to active MNP instances
Date: Wed, 22 Apr 2015 12:50:19 +0200	[thread overview]
Message-ID: <55377CEB.5010501@redhat.com> (raw)
In-Reply-To: <20150422095747.GA31573@linux-dsax.tai.apac.novell.com>

On 04/22/15 11:57, Michael Chang wrote:
> On Tue, Apr 21, 2015 at 02:30:17PM +0200, Laszlo Ersek wrote:
>> On 04/21/15 08:49, Michael Chang wrote:
>>> On Tue, Apr 21, 2015 at 02:12:54PM +0800, Michael Chang wrote:
>>
>>>> 3. Even I can add the card open earler before hadling the dhcpv6
>>>> packets, it will freeze at grub_efi_open_protocol if the option in use
>>>> is GRUB_EFI_OPEN_PROTOCOL_BY_EXCLUSIVE. I was actually using
>>>> GRUB_EFI_OPEN_PROTOCOL_GET_PROTOCOL in the entire test and am running
>>>> out of idea how to deal with that diversity.
>>
>>> For #3, I'm not trying to get the log from OVMF ..
>>
>> I guess that's "now trying", not "not trying".
>>
>> Pass
>>
>>   -debugcon file:debug.log -global isa-debugcon.iobase=0x402
>>
>> to QEMU, for saving the debug log.
>>
>> Also, the debug log mask is set in PcdDebugPrintErrorLevel in the DSC
>> files. For the meaning of the individual bits, see
>> "MdePkg/Include/Library/DebugLib.h".
> 
> Hi Laszlo,
> 
> Please check attachment.

Oh... I didn't mean I could help with this problem, using the log file.
I'm not that familiar with grub in the first place, and I don't really
have the time for this right now. I just mentioned the options because I
wasn't sure what was blocking your attempt to get the debug log from
OVMF. I assumed that if you had the log, you'd know what to look for.

> debug-exclusive.log: open SNP with exclusive, IPv6 PXE booting fails in
> grub2 and falls into grub rescue mode immediately. (no freeze).
> 
> debug-no-exclusive.log: open without exclusive, IPv6 PXE booting succeed
> into normal mode and can see the boot menu.
> 
> I didn't see freeze this time, maybe because I rebuilt OVMF from different
> version.
> 
> The debug mask bits was set to
> gEfiMdePkgTokenSpaceGuid.PcdDebugPrintErrorLevel|0x8040404F
> 
> (added version + net to default mask).
> 
> But interestingly, I didn't see much difference in the logs, probably
> debug output not really enabled ?

The debug mask can only enable debug messages that already exist in the
code. If there's some kind of crash and you'd like to track the way
there closely, you'll probably have to add a bunch of DEBUGs yourself,
to the network drivers in edk2.

Thanks
Laszlo


  reply	other threads:[~2015-04-22 10:50 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-19  8:01 [PATCH 1/2] efidisk: move device path helpers in core for efinet Andrei Borzenkov
2015-04-19  8:01 ` [PATCH 2/2] efinet: fix lost packets due to active MNP instances Andrei Borzenkov
2015-04-20  6:30   ` Michael Chang
2015-04-21  6:12     ` [edk2] " Michael Chang
2015-04-21  6:49       ` Michael Chang
2015-04-21 12:30         ` Laszlo Ersek
2015-04-22  9:57           ` Michael Chang
2015-04-22 10:50             ` Laszlo Ersek [this message]
2015-04-25 14:12       ` Andrei Borzenkov
2015-04-27  6:42         ` Michael Chang
2015-04-29 13:47         ` Vladimir 'φ-coder/phcoder' Serbinenko
2015-05-07 17:39           ` Andrei Borzenkov
2015-04-26  6:42       ` Andrei Borzenkov
2015-04-26 10:44         ` Andrei Borzenkov
2015-04-27  6:47         ` Michael Chang
2015-04-28  6:03           ` Michael Chang
2015-04-28  8:45             ` Michael Chang
2015-04-29 15:42 ` [PATCH 1/2] efidisk: move device path helpers in core for efinet Vladimir 'phcoder' Serbinenko
2015-05-07 14:53 ` Vladimir 'φ-coder/phcoder' Serbinenko

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=55377CEB.5010501@redhat.com \
    --to=lersek@redhat.com \
    --cc=arvidjaar@gmail.com \
    --cc=edk2-devel@lists.sourceforge.net \
    --cc=grub-devel@gnu.org \
    --cc=mchang@suse.com \
    --cc=mmazur@kernel.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.