Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 Aug 2012 15:26:55 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Warner Losh <imp@bsdimp.com>
Cc:        bz@FreeBSD.org, mobile@freebsd.org, Hans Petter Selasky <hans.petter.selasky@bitfrost.no>
Subject:   Re: suspend/resume [was: Devsummit pictures]
Message-ID:  <20120831152655.GA18705@FreeBSD.org>
In-Reply-To: <85277024-0DB3-4EAD-94FC-FCF2FA0A0B71@bsdimp.com>
References:  <alpine.BSF.2.00.1208310944290.76284@ai.fobar.qr> <zarafa.50408dde.053d.62c781ff44a4c94b@eric2.bitfrost> <20120831104038.GA69581@FreeBSD.org> <5583C09D-C3D1-4E88-AC77-3E44D420C2EB@bsdimp.com> <20120831141437.GA7316@FreeBSD.org> <85277024-0DB3-4EAD-94FC-FCF2FA0A0B71@bsdimp.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Aug 31, 2012 at 09:07:25AM -0600, Warner Losh wrote:
> On Aug 31, 2012, at 8:14 AM, Alexey Dokuchaev wrote:
> > On Fri, Aug 31, 2012 at 07:58:36AM -0600, Warner Losh wrote:
> That's very odd results.  Perhaps is suggests needing to run many tests?
> 
> keyboard not working means the process isn't reading the data.  Since tty
> switching is working, does breaking in ddb with control escape work (or is
> that alt-escape)?

Ctrl-Alt-Esc.  :-)  Yes, it works, but DDB is so crippled compared to GDB,
it makes debugging a pain.

> > Serial console is practically useless if you have to work via USB-RS232
> > adapter.  "call doadump" also hangs.  So it looks like I have to find
> > firewire machine, revive attilio@'s netdump [1] code, or implement phk@'s
> > soundcard tricks.
> 
> Yes, you need a real serial port, not a usb one to do this.  However, if
> the USB-RS232 is on the other end, it works well (I was using just such a
> setup with gdb the other day).

Unfortunately, it's the other way around: laptop (problematic machine) only
provides USB, while desktop box has both real serial and USB ports.

> Hmmm, call doadump fails, but that means you can get into ddb?

Yes, I can.  However, why doadump fails is another mystery.  I recall
someone reported similar problem with doadump few years ago, but cannot
tell you all the details now.

> Firewire works well, and is very cheap.  I don't know if it works with a
> plug-in card though.

Luckily, this laptop provides 1394 via TI PCI7411 chip, which I presume can
be treated as built-in, not a plug-in one.  However, I presently do not have
another firewire adapter to insert into host machine.

> > [1] http://lists.freebsd.org/pipermail/freebsd-current/2010-October/020405.html
> 
> Now that's cool...

Yes, it is.  Unfortunately, Attilio does not work on this project any
longer.  He kindly offered his help though if someone would be willing to
pick it up.  It's on my list, but I do not know when/if I will have enough
time to gid into it.

./danfe



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120831152655.GA18705>