Re: Kernelupdate

Uwe Wagner <[email protected]>
Newsgroups spline.eisxen
Organization spline
Message-ID <[email protected]>
Hallo Heinz-Peter,

>>> Es ist lange her, dass ich einen Xen-3 genutzt habe. Aber das sollte
>>> gehen:
>>>
>>> xm delete <Name_der_domU>
>>> xm create <Name_der_domU>
>>>
>>> Evtl. musst Du auch den gesamten Pfad zur Konfig angeben, aber ich
>>> meine, dass das beim 3er noch nicht erforderlich war.
>>
>> Ohne Pfad zu Config geht es nicht.
>
> Ok.
>
>> Leider kommt hier aber die Fehlermeldung
>> "Internal error: Had a bootloader specified, but no disks are bootable."
>>
>> Nun bin genau soweit wie vorher.
>> Die domU ist weg
>
> Hm, nö, weg ist sie nicht - sie startet nur nicht, wohl wegen eines
> Konfigurationsfehlers.
>
> Dann also beim Start
>
> xm create -c /pfad/zur/domU-Konfig
>
> damit man sieht, wo es klemmt.
--------------------------------------------------------
eisxen #
eisxen # xm create -c /etc/config.d/xmdomu-eisfair1-2
Using config file "/etc/config.d/xmdomu-eisfair1-2".
Could not start console

eisxen #
--------------------------------------------------------

> Und zeige bitte mal Deine Konfig.

bitteschön
#-------------------------------------------------------------------------------
# /etc/default.d/xmdomu - Default configuration for xen domU
#
# Creation:     21.05.2005 fw
# Last Update:  $Id: xmdomu 30939 2012-05-28 19:53:21Z sk $
#
# Copyright (c) 2007 the eisfair team, team(at)eisfair(dot)org
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#-------------------------------------------------------------------------------


#------------------------------------------------------------------------------
# VM configuration
#------------------------------------------------------------------------------

AUTO_START='no'                        # start this domain when starting 
xend
IS_FLI4L='no'                          # is this a fli4l domain?

#FLI4L_OPTS='base'          # OPTs for this fli4l domU

HVM='no'                               # e.g. for windows
VNC_PASS='eis'
USE_CUSTOM_KERNEL='no'                 # shall a custom kernel be used?
KERNEL='/data/kernel3.2.54-eisfair-1-VIRT/kernel'
                                        # path to the kernel
INITRD='/data/kernel3.2.54-eisfair-1-VIRT/initrd-empty-26'           # 
path to the initrd
ROOT_DEVICE='/dev/hda1'                # will be append to kernel cmdline
KERNEL_PARAMS='ro quiet console=tty1 irqpoll'
                                        # opt. kernel parameters
MEMORY='512'                           # memory which will be allocated 
for the VM
VCPUS='1'                              # number of virtual cpus
LOCALTIME='yes'                        # use domU its own timezone?
BOOT='c'                               # boot device needed for HVM
DISK_N='3'
DISK_1_TYPE='phy'                      # file = filesystem image, phy = 
physical device of the host system
DISK_1_SUBTYPE='hdd'                   # hdd = map to hvm as disk, cd = 
map to hvm as cd
DISK_1_UNAME='/dev/vg/eisfair1-2'      # path to the image file or 
physical devicename on the host system e.g. hda1
#DISK_1_MAP_TO='hda1'                   # map UNAME to this devicename 
in the VM
DISK_1_MAP_TO='xvda1'                   # map UNAME to this devicename 
in the VM
DISK_1_MODE='w'                        # ro = read-only, w = read-write

DISK_2_TYPE='phy'                      # file = filesystem image, phy = 
physical device of the host system
DISK_2_SUBTYPE='hdd'                   # hdd = map to hvm as disk, cd = 
map to hvm as cd
DISK_2_UNAME='/dev/vg/eisfair1-2-swap' # path to the image file or 
physical devicename on the host system e.g. hda1
#DISK_2_MAP_TO='hda2'                   # map UNAME to this devicename 
in the VM
DISK_2_MAP_TO='xvda2'                   # map UNAME to this devicename 
in the VM
DISK_2_MODE='w'                        # ro = read-only, w = read-write

DISK_3_TYPE='phy'
DISK_3_UNAME='/dev/vg/webdata'
#DISK_3_MAP_TO='hda3'
DISK_3_MAP_TO='xvda3'
DISK_3_MODE='w'

VIF_N='1'
VIF_1_MAC=''                           # mac address of the virtual 
network interface
VIF_1_BRIDGE='1'                       # bridge ID defined in XEN_BRIDGE_*

VIF_2_MAC=''                           # mac address of the virtual 
network interface
VIF_2_BRIDGE='2'                       # bridge ID defined in XEN_BRIDGE_*

VIF_3_MAC=''                           # mac address of the virtual 
network interface
VIF_3_BRIDGE='3'                       # bridge ID defined in XEN_BRIDGE_*

PCI_N='0'
PCI_1_ID='0000:00:11.5'                # assign pci id to this domain
LEGACY_N='0'
LEGACY_1_IRQ='7'
LEGACY_1_IOPORT='0378-037a'

#-------------------------------------------------------------------------------------


>> und nach Update über das Setup habe ich wieder den
>> alten Kernel.
>
> Was genau(!) machst Du da?

einfach über Setup-Menü des Xen den Punkt "Update Kernel Modules" aufrufen
----------------------------------------------------------------
root@eisxen 
                    base: 2.3.9  eiskernel: 1.0.2
┌─────────────────────────────┐
│ eisfair setup  5..          │
├───┌────────────────────────────────────┐
│ 1 │ Administration of Package Xen  2.. │
│ 2 ├───┌───────────────────────────────┐┤
│ 3 │ 1 │ domU Administration  5..      ││
│ 4 │ 2 ├───┌──────────────────────────────────────────┐
│ 5 │ 3 │ 1 │ Administration of domain eisfair1-2  3.. │
│ 6 │ 4 │ 2 ├──────────────────────────────────────────┤
│   │ 5 │ 3 │ 1   Edit Configuration                   │
│ 0 │   │ 4 │ 2   Manage Domain eisfair1-2             │
└───│ 0 │ 5 │ 3   Update Kernel Modules                │
     └───│ 6 │ 4   Delete Domain eisfair1-2             │
         │   │                                          │
         │ 0 │ 0   Return                               │
         └───└──────────────────────────────────────────┘
-----------------------------------------------------------------

leider weiß ich nicht welche Scripte da ablaufen.


>> An meinem fli4l werde ich erstmal nichts ändern.
>> Die domU mit fli4l läuft prima in der Version 3.6.2, wenn auch mit einem
>> sehr alten Kernel (2.6.16.52-xen).
>> Den habe ich mal irgendwann hier gefunden. Bei diesem war aber der
>> passende Treiber für die Netzwerkkarte eingebaut.
>
> Ok, Deine Entscheidung.
> Allerdings bringen die Virt-Kernel der aktuellen Version sicher auch mit
> was Du brauchst.
>
>> Außerdem sind die Tage des fli4l leider gezählt, da die Telekom bald auf
>> VOIP umstellt und ich dann gezwungen bin auf Fritz!Box als Router
>> auszuweichen.
>
> Das ist kein "Entweder-Oder"!
>
>> Notwendig, da ich Hausintern aus mehreren Gründen eine ISDN-Anlage
>> weiterbetreiben möchte und deshalb die Umsetzung von VOIP auf S0-Bus
>> erfolgen muss.
>
> Ja, das verstehe ich. Du hast aber zwei Möglichkeiten:
>
> 1. Du klemmst den fli hinter die Fritte und überlässt ihm weiterhin das
> Routing im LAN. Eine Anleitung für die Konfig gibt es in den HowTos.
>
> 2. Du lässt alles wie es ist (sofern Du nicht ein neues Modem brauchst
> ;-) ), öffnest im fli den Port 5060, hängst eine einfache FB mit S0-Bus
> (5012 o. 7170) in Dein LAN und nutzt sie als VOIP-ISDN-Gateway.

Das klingt nach einem guten Plan, da werde ich nochmal damit befassen.


Gruß Uwe
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.