suspend/resume [was: Devsummit pictures]
Alexey Dokuchaev
danfe at FreeBSD.org
Fri Aug 31 15:26:55 UTC 2012
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
More information about the freebsd-mobile
mailing list