> - start the installation from the DVD image, pass
>   options "-kd" to the installation kernel, e.g.
> with this "extra" setting in the config file
> 
> extra = '/platform/i86xpv/kernel/amd64/unix -kd -
>  nowin -B install_media=cdrom'
> 
> - start the domU.
> In kmdb, set a breakpoint in the hsfs module, start
>  the kernel,
>  patch "do_schedio"
> 
>   ::bp hsfs`_init
> ::cont
>   do_schedio/W 0
> ::cont

That totally worked, thank you very much.

I have now successfully installed a svn_77 based DomU from dvd iso.

I did a minimal/core system install. My DomU configuration files can be found 
at the end of this message.




At first, the network interface (xnf0) didn't work:
_________________________________________________________________
# xm create -c solaris-install
...
Using install cd in /dev/dsk/c0d6p0
Using RPC Bootparams for network configuration information.
Attempting to configure interface xnf0...
Skipped interface xnf0
Reading ZFS config: done.
...
_________________________________________________________________

"Skipped interface" it said. Other than that, my boot messages were exactly 
identical to yours.




In the setup, doing "Networked: Yes" obviously didn't work, so I installed with 
"Networked: No" and completed the installation, then booted into the fresh 
install, and applied the "TCP/UDP Checksum" fix:
_________________________________________________________________
# echo "set xnf:xnf_cksum_offload = 0" >> /etc/system
# bootadm update-archive
updating /platform/i86pc/boot_archive...this may take a minute
updating /platform/i86pc/amd64/boot_archive...this may take a minute
# reboot
_________________________________________________________________
(I boot with pygrub, ramdisk = '/platform/i86pc/boot_archive')




Don't know if that fix is necessary for svn77 but it didn't bring xnf0 to life:
_________________________________________________________________
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 
index 1
        inet 127.0.0.1 netmask ff000000
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 
index 1
        inet6 ::1/128
# ifconfig xnf0 dhcp
Dec 14 21:14:25 solaris /sbin/dhcpagent[368]: insert_pif: SIOCGLIFINDEX for 
xnf0: No such device or address
ifconfig: xnf0: interface does not exist or cannot be managed using DHCP
# ifconfig xnf0 plumb
# ifconfig xnf0 dhcp
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 
index 1
        inet 127.0.0.1 netmask ff000000
xnf0: flags=201004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS> mtu 1500 
index 2
        inet 192.168.0.95 netmask ffffff00 broadcast 192.168.0.255
        ether ed:b7:8e:10:3b:b7
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 
index 1
        inet6 ::1/128
# ping 192.168.0.1
no answer from 192.168.0.1
# ping 192.168.0.100
no answer from 192.168.0.100
#
_________________________________________________________________




I also tried with:
# ifconfig xnf0 plumb
# ifconfig 192.168.0.230 netmask 255.255.255.0 up

Still no ping.


I was using this in the DomU config:
vif = [ 'mac=ed:b7:8e:10:3b:b7, bridge=xenbr0' ]

And this behaved exactly the same:
vif = [ 'mac=ed:b7:8e:10:3b:b7' ]

Then, for some mysterious reason, this worked:
vif = [ '' ]



I still have to do that "plumb" thing, but it works: 
_________________________________________________________________
# ifconfig xnf0 dhcp
Dec 14 20:35:03 solaris /sbin/dhcpagent[367]: insert_pif: SIOCGLIFINDEX for 
xnf0: No such device or address
ifconfig: xnf0: interface does not exist or cannot be managed using DHCP
# ifconfig xnf0 plumb
# ifconfig xnf0 192.168.0.230 netmask 255.255.255.0 up
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 
index 1
        inet 127.0.0.1 netmask ff000000
xnf0: flags=201000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4,CoS> mtu 1500 index 2
        inet 192.168.0.230 netmask ffffff00 broadcast 192.168.0.255
        ether 0:16:3e:2e:40:72
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 
index 1
        inet6 ::1/128
# ping 192.168.0.1
192.168.0.1 is alive
# ping 192.168.0.100
192.168.0.100 is alive
# reboot
...
...
# ifconfig xnf0 plumb
# ifconfig xnf0 dhcp
# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 
index 1
        inet 127.0.0.1 netmask ff000000
xnf0: flags=201004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4,CoS> mtu 1500 
index 2
        inet 192.168.0.95 netmask ffffff00 broadcast 192.168.0.255
        ether 0:16:3e:25:ca:f2
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 
index 1
        inet6 ::1/128
# ping 192.168.0.1
192.168.0.1 is alive
# ping 192.168.0.100
192.168.0.100 is alive
# ftp 192.168.0.1
Connected to 192.168.0.1.
220 (vsFTPd 2.0.5)
Name (192.168.0.1:root):
_________________________________________________________________




Then I tried with
vif = [ 'mac=00:11:22:33:44:55' ]

And it worked too, with the "plumb" trick.


I don't know (yet) exactly what that "plumb" thing is or what it does. I found 
it here:
http://osdir.com/ml/solaris.opensolaris.xen/2006-10/msg00005.html
http://blogs.sun.com/frankc/entry/run_hcts_4_0_on




Here's my DomU config files:
_________________________________________________________________
# cat /etc/xen/solaris-install
name = 'solaris'
memory = '768'
disk = [ 'file:/xen/iso/sol-nv-b77-x86-dvd.iso,6:cdrom,r', 
'file:/xen/solaris/disk,0,w' ]

#vif = [ '' ]
#vif = [ 'mac=ed:b7:8e:10:3b:b7' ]
vif = [ 'mac=ed:b7:8e:10:3b:b7, bridge=xenbr0' ]

on_shutdown = 'destroy'
on_reboot = 'destroy'
on_crash = 'destroy'

bootloader = 'pygrub'
kernel = '/boot/platform/i86xpv/kernel/unix'
ramdisk = '/boot/x86.miniroot'
extra = '/platform/i86xpv/kernel/unix -kd - nowin -B install_media=cdrom'


# cat /etc/xen/solaris-boot
name = 'solaris'
memory = '768'
disk = [ 'file:/xen/solaris/disk,0,w' ]

vif = [ '' ]
#vif = [ 'mac=ed:b7:8e:10:3b:b7' ]
#vif = [ 'mac=ed:b7:8e:10:3b:b7, bridge=xenbr0' ]

on_shutdown = 'destroy'
on_reboot = 'destroy'
on_crash = 'destroy'

bootloader = 'pygrub'
kernel = '/platform/i86xpv/kernel/unix'
ramdisk = '/platform/i86pc/boot_archive'
root = '/dev/dsk/c0d0s0'
_________________________________________________________________
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to