Port-xen archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kernel error messages when attempting hvm instance



Michael Litchard wrote:
> This confuses me. For example, the instructions I find tell me to edit
> /etc/ttys. But I'm not sure how to do this considering the
> circumstances. The iso won't boot you see. I needed to do this so I
> could easily log kernel output to help debug the problem. Do I need to
> mount the iso and then change files? There's no way to do this with
> just using the xm config file?

Ah, so you are in a chicken-egg situation.

The way out of this is to boot from an iso which is pre-configured for
serial console like this one:

ftp://ftp.netbsd.org/pub/NetBSD-daily/HEAD/200808220002Z/amd64/installation/cdrom/boot-com.iso

Use the other iso from where you can access the install sets.

Christoph


> 
> On Mon, Aug 25, 2008 at 11:47 AM, Christoph Egger
> <Christoph_Egger%gmx.de@localhost> wrote:
>> Michael Litchard wrote:
>>> Oh I forgot to mention that the HVM instance in this case is the
>>> latest -current iso for amd. Any suggestions on how to configure it to
>>> listen in on the correct serial port would be appreciated
>> In an HVM guest you configure the serial console the same way as if it
>> were running native.
>>
>> Christoph
>>
>>
>>> On Mon, Aug 25, 2008 at 10:48 AM, Luke S Crawford <lsc%prgmr.com@localhost> 
>>> wrote:
>>>> "Michael Litchard" <michael%schmong.org@localhost> writes:
>>>>
>>>>> Could someone tell me how to configure serial for hvm? The kernel goes
>>>>> into the debugger during boot of my hvm instance and I'd like to
>>>>> capture the output prior. The user's manual mentions the serial
>>>>> keyword, but gives no examples for usage afaik.
>>>> last time I screwed with it,
>>>>
>>>> serial='pty'
>>>>
>>>> (in the xm config file)
>>>> along with whatever incantation you need to get the guest HVM OS to use
>>>> com1 as the serial console made xm console work as I expected.
>>>>
>>>> (I told the OS to use a 115200 bps com1, 8n1, though I'm not sure how much
>>>> those settings matter.)
>>>>
>>



Home | Main Index | Thread Index | Old Index