Hi Mike,

I updated to current today i.e. 16th Feb, 2019, and I saw some new behaviour.

- started vmd like this ;

vmd -vvvv -d -f /etc/vm.conf

- created a brandnew disk like this ;

vmctl create alpine1disk1 -s 20G

- Started the vm like this ;

vmctl start alpine1 -m 2G -n uplink -i 1 -d alpine1disk1 -r alpine-virt.iso  -c

- Configured serial console on iso booted vm (appended console=ttyS0,115200 at 
bootloader prompt)

- Configured the iso booted VM for ssh login ;

  OpenRC 0.39.2.7e1d41d609 is starting up Linux 4.19.18-0-virt (x86_64)

* /proc is already mounted
* Mounting /run ... * /run/openrc: creating directory
* /run/lock: creating directory
* /run/lock: correcting owner
* Caching service dependencies ... [ ok ]
* Remounting devtmpfs on /dev ... [ ok ]
* Mounting /dev/mqueue ... [ ok ]
* Mounting modloop  ... * Verifying modloop
[ ok ]
* Mounting security filesystem ... [ ok ]
* Mounting debug filesystem ... [ ok ]
* Mounting persistent storage (pstore) filesystem ... [ ok ]
* Starting busybox mdev ... [ ok ]
* Loading hardware drivers ... [ ok ]
* Loading modules ... [ ok ]
* Setting system clock using the hardware clock [UTC] ... [ ok ]
* Checking local filesystems  ... [ ok ]
* Remounting filesystems ... [ ok ]
* Mounting local filesystems ... [ ok ]
* Configuring kernel parameters ... [ ok ]
* Migrating /var/lock to /run/lock ... [ ok ]
* Creating user login records ... [ ok ]
* Wiping /tmp directory ... [ ok ]
* Setting hostname ... [ ok ]
* Starting busybox syslog ... [ ok ]
* Starting firstboot ... [ ok ]

Welcome to Alpine Linux 3.9
Kernel 4.19.18-0-virt on an x86_64 (/dev/ttyS0)

localhost login: root
Welcome to Alpine!

The Alpine Wiki contains a large amount of how-to guides and general
information about administrating Alpine systems.
See <http://wiki.alpinelinux.org/>.

You can setup the system with the command: setup-alpine

You may change this message by editing /etc/motd.

localhost:~# ifconfig eth0 192.168.192.1 netmask 255.255.255.248
localhost:~# route add default gw 192.168.192.6
localhost:~# adduser me
Changing password for me
New password:
Retype password:
passwd: password for me changed by root
localhost:~# passwd
Changing password for root
New password:
Retype password:
passwd: password for root changed by root
localhost:~# apk add openssh-server
(1/3) Installing openssh-keygen (7.9_p1-r2)
(2/3) Installing openssh-server-common (7.9_p1-r2)
(3/3) Installing openssh-server (7.9_p1-r2)
Executing busybox-1.29.3-r10.trigger
OK: 12 MiB in 26 packages
localhost:~# /etc/init.d/sshd start
* Caching service dependencies ...
[ ok ]
ssh-keygen: generating new host keys: RSA DSA ECDSA ED25519
* Starting sshd ...
[ ok ]
localhost:~#
Welcome to Alpine Linux 3.9
Kernel 4.19.18-0-virt on an x86_64 (/dev/ttyS0)

localhost login: ~.
Password:
Login incorrect
localhost login:
localhost login:

- Exited serial console and login over ssh ;
[email protected]'s password:
Welcome to Alpine!

The Alpine Wiki contains a large amount of how-to guides and general
information about administrating Alpine systems.
See <http://wiki.alpinelinux.org/>.

You can setup the system with the command: setup-alpine

You may change this message by editing /etc/motd.

localhost:~$ su -
Password:
localhost:~# setup-alpine /dev/vda
Available keyboard layouts:
af     be     cn     fi     hu     jp     lt     my     ro     tj
al     bg     cz     fo     ie     ke     lv     ng     rs     tm
am     br     de     fr     il     kg     ma     nl     ru     tr
ara    brai   dk     gb     in     kr     md     no     se     tw
at     by     dz     ge     iq     kz     me     ph     si     ua
az     ca     ee     gh     ir     la     mk     pk     sk     us
ba     ch     epo    gr     is     latam  ml     pl     sy     uz
bd     cm     es     hr     it     lk     mt     pt     th
Select keyboard layout [none]: us
Available variants: us-alt-intl us-altgr-intl us-chr us-colemak 
us-dvorak-alt-intl us-dvorak-classic us-dvorak-intl us-dvorak-l us-dvorak-r 
us-dvorak us-dvp us-euro us-hbs us-intl us-mac us-olpc2 us-rus us-workman-intl 
us-workman us
Select variant []: us-alt-intl
* Caching service dependencies ...                                       [ ok ]
* Setting keymap ...                                                     [ ok ]
Enter system hostname (short form, e.g. 'foo') [localhost]: alpine1
Available interfaces are: eth0.
Enter '?' for help on bridges, bonding and vlans.
Which one do you want to initialize? (or '?' or 'done') [eth0]
Ip address for eth0? (or 'dhcp', 'none', '?') [192.168.192.1]
Netmask? [255.255.255.0] 255.255.2Timeout, server 192.168.192.1 not responding.

- Tried to install to install Alpine to disk but VM died in the step where I 
was about to type the netmask.

- There is a message showing signal 20 this time on stderr ;
vmm_sighdlr: handling signal 20
vmm_sighdlr: terminated vm alpine1 (id 1)

- Longer list of stderr of vmd is copy/pasted below. I am trying to read what 
is signal 20 ;

vcpu_exit_i8253: channel 0 reset, mode=4, start=32767
vcpu_exit_i8253: channel 0 reset, mode=4, start=32767
vcpu_exit_i8253: channel 0 reset, mode=4, start=32767
vcpu_exit_i8253: channel 0 reset, mode=4, start=32767
vcpu_exit_i8253: channel 0 reset, mode=4, start=32767
vcpu_exit_i8253: channel 0 reset, mode=4, start=32767
vcpu_exit_i8253: channel 0 reset, mode=4, start=32767
vcpu_exit_i8253: channel 0 reset, mode=4, start=32767
vcpu_exit_i8253: channel 0 reset, mode=4, start=32767
vcpu_exit_i8253: channel 0 reset, mode=4, start=32767
vcpu_exit_i8253: channel 0 reset, mode=4, start=32767
vmm_sighdlr: handling signal 20
vmm_sighdlr: terminated vm alpine1 (id 1)
vm_remove: vmm vmm_sighdlr removing vm 1 from running config
vm_stop: vmm vmm_sighdlr stopping vm 1
vm_remove: parent vmd_dispatch_vmm removing vm 1 from running config
vm_stop: parent vmd_dispatch_vmm stopping vm 1

Thanks,
; Long

Reply via email to