Skip to contentSkip to conversation

kgdb/sunhv patch

DISCUSSION David Miller 2 participants 3 messages Aug 3, 2010

lore
Share & tools
lore
#0 lore raw

This change makes no sense.

The hypervisor console is never hooked up to a real "UART" where a kgdb client could be sitting at the other end.

Rather, it's always just a path for characters to and from the hypervisor console device which is a virtual device in the guest system.

#1 lore raw
Quoted 9 lines · David Miller

This change makes no sense.

The hypervisor console is never hooked up to a real "UART" where a kgdb client could be sitting at the other end.

Rather, it's always just a path for characters to and from the hypervisor console device which is a virtual device in the guest system.

I will most certainly drop the patch per your request.

I am not exactly sure how the large Sun systems are hooked up at our lab because I have never actually seen one in person. My understand was that it was hook up something like this:

Developer pc ---> RS232 Terminal Server ---> Big Sun System HV ---> Linux Guest

After using the console polling driver we were able to debug the guest
Linux. It was also using an alternate escape sequence (not sysrq) so
as not to send an interrupt to the hypervisor. In this case you don't
actually need a uart but just an interface down to the guest kernel. It is my understanding you can also now use kdb with this interace.

Jason.

#2 lore raw
In reply to David Miller

From: Jason Wessel <[email protected]>
Date: Tue, 03 Aug 2010 06:58:24 -0500

Quoted 6 lines

I am not exactly sure how the large Sun systems are hooked up at our lab because I have never actually seen one in person. My understand was that it was hook up something like this:

Developer pc ---> RS232 Terminal Server ---> Big Sun System HV ---> Linux Guest

You can access the hypervisor console over the RS232 port, but most of the time people use the ethernet port to access the system console.