Modul Menü

Wer ist online?

Insgesamt sind 3 Besucher online: 1 registrierter, 0 unsichtbare und 2 Gäste
Der Besucherrekord liegt bei 226 Besuchern, die am 8. Jul 2012, 14:25 gleichzeitig online waren.

Mitglieder: Google [Bot]

basierend auf den aktiven Besuchern der letzten 5 Minuten

Statistik

113 Beiträge


Geburtstage

Heute hat kein Mitglied Geburtstag Geburtstage in den nächsten 3 Tagen: lomdar67 (46)

Kalender

<< Juni 2013 >>
Mo Di Mi Do Fr Sa So
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

Fest u. Feiertage Kalender-Ereignisse

Anstehende Termine:

Kernel 3, Xen und Dom0

Alles zum Thema Xen

Moderator: Moderatoren Team

Re: Kernel 3, Xen und Dom0

Beitragvon frickelpit » 29. Mär 2012, 12:20

@ snorri
Laut der Kernel-Config von trikolon ist der 3.3er eigentlich auf AMD-Systeme optimiert. Dein System ist Intel, wie kann es sein das dein Prozessor jetzt erstmalig ordentlich erkannt wird?

28W mit der in deiner Signatur genannten Hardware erscheinen mir extrem wenig. Mein System mit i3-530, 8GB RAM, H55 Chipsatz, 1xIntel PRO/1000 PT Dual Port NIC, 1x miniPCIe WLAN-Karte und einer 2,5"-HD braucht mit Kernel 3.3.0-trunk-amd64 ca. 45W. Die 3 verbauten Lüfter dürften zusammen ca. 3 - 4 Watt ausmachen. Wären dann nach meiner Rechnung immer noch 13W Differenz zu dem von dir genannten Wert.

Gruß
Pit
Hardware: Kontron 986LCD-M/mITX, Intel Core2 Duo Mobile T7400, 3GB RAM, 3 NICs (1GB Realtek RTL8111B),
3 x SATA 2,5" HD's, Fritz!X USB v1.0, Netgear Switch G608 + ADSL2 Modem DM111PB, Case HFX micro
Software: ctsrv-3.01 mit waldi kernel 2.6.18.dfsg.1-24+xen.1 (64Bit-Dom0+32-Bit-Domus), Endian 2.2RC3,
Capisuite, ISDNutils, Samba PDC +CUPS, Scalix mit Webaccess+Outlook-Connector, WLAN DMZ, OpenVPN+Certs
Energieverbrauch: Vollast 60W, Idle 41W, Standby 4W, externes Netzteil Travla FSP120 + PicoPSU-120-WI-25
frickelpit
Moderator
Moderator
 
Beiträge: 620
Registriert: 10. Aug 2005, 11:56

Re: Kernel 3, Xen und Dom0

Beitragvon snorri » 29. Mär 2012, 12:29

..... hm ich kann nur sagen so wie es ist ..... hatte damals aber bei dem test nur eine Netzwerkkarte drin und 2 onboard und eine HD


und die CPU ist vorher nicht erkannt worden jedenfalls nicht wenn ich xen 4.1.2 gestartet habe, auf dem Monitor kamm beim Starten immer eine Fehlermeldung!

CPU nicht erkannt oder so ...
Intel Xeon E3-1260L, 4x 2.40GHz 45W, Supermicro X9SCM-F , 16GB Reg. ECC Ram, 1x4Port Intel Netzwerkkarte, 1x SSD 30GB, 2x 120GB SSD, 1x 750GB WESTERN DIGITAL Caviar Green, 1x 2TB WESTERN DIGITAL RE4,
Wlan: Zyxel Access Point (wird wenn ich außer Haus bin Abgeschaltet)
Server Dom0 mit xen 4.2.1 und Ubuntu 12.04 & Kernel 3.5.*, DomU: Ipfire, Samba und diverse andere (in Arbeit) ;-)
1x Testserver mit Intel CPU ...
snorri
Power User
Power User
 
Beiträge: 161
Registriert: 22. Okt 2008, 11:51
Wohnort: Zeesen City

Re: Kernel 3, Xen und Dom0

Beitragvon frickelpit » 29. Mär 2012, 14:06

@trikolon
Dein Kernel hatte bei mir keinen nennenswerten Effekt auf den Stromverbrauch (ca. 44W).

Gruß
Pit
Hardware: Kontron 986LCD-M/mITX, Intel Core2 Duo Mobile T7400, 3GB RAM, 3 NICs (1GB Realtek RTL8111B),
3 x SATA 2,5" HD's, Fritz!X USB v1.0, Netgear Switch G608 + ADSL2 Modem DM111PB, Case HFX micro
Software: ctsrv-3.01 mit waldi kernel 2.6.18.dfsg.1-24+xen.1 (64Bit-Dom0+32-Bit-Domus), Endian 2.2RC3,
Capisuite, ISDNutils, Samba PDC +CUPS, Scalix mit Webaccess+Outlook-Connector, WLAN DMZ, OpenVPN+Certs
Energieverbrauch: Vollast 60W, Idle 41W, Standby 4W, externes Netzteil Travla FSP120 + PicoPSU-120-WI-25
frickelpit
Moderator
Moderator
 
Beiträge: 620
Registriert: 10. Aug 2005, 11:56

Re: Kernel 3, Xen und Dom0

Beitragvon trikolon » 29. Mär 2012, 16:04

Danke fürs testen fricklpit!
Woran machst du aus, dass er für AMD optimiert ist? ist ansich die gleiche config wie die debian default, nur intel mce is deaktiviert.

gruß
trikolon
Power User
Power User
 
Beiträge: 180
Registriert: 28. Jul 2007, 13:36

Re: Kernel 3, Xen und Dom0

Beitragvon frickelpit » 29. Mär 2012, 18:48

Wenn man z.B. als CPU nen Intel DualCore auswählt verschwinden einige der AMD typischen Konfigs. Die sind, was für dich auch Sinn macht, eben all noch drin und angewählt ;)

Zum Stromverbrauch gibts auf Phoronix einige böse Worte zum Thema.

Gruß
Pit
Hardware: Kontron 986LCD-M/mITX, Intel Core2 Duo Mobile T7400, 3GB RAM, 3 NICs (1GB Realtek RTL8111B),
3 x SATA 2,5" HD's, Fritz!X USB v1.0, Netgear Switch G608 + ADSL2 Modem DM111PB, Case HFX micro
Software: ctsrv-3.01 mit waldi kernel 2.6.18.dfsg.1-24+xen.1 (64Bit-Dom0+32-Bit-Domus), Endian 2.2RC3,
Capisuite, ISDNutils, Samba PDC +CUPS, Scalix mit Webaccess+Outlook-Connector, WLAN DMZ, OpenVPN+Certs
Energieverbrauch: Vollast 60W, Idle 41W, Standby 4W, externes Netzteil Travla FSP120 + PicoPSU-120-WI-25
frickelpit
Moderator
Moderator
 
Beiträge: 620
Registriert: 10. Aug 2005, 11:56

Re: Kernel 3, Xen und Dom0

Beitragvon trikolon » 29. Mär 2012, 19:27

AChso, ja klar, hab eben Generic-x86-64 gelassen, folglich ist beides drinnen.
trikolon
Power User
Power User
 
Beiträge: 180
Registriert: 28. Jul 2007, 13:36

Re: Kernel 3, Xen und Dom0

Beitragvon trikolon » 29. Mär 2012, 19:32

Zum Powermanagement: Ja das war zu erwarten. Der artikel is zwar schon etwas her, aber viel wird in den 4 Monaten nicht passiert sein. Aber dafür hat man eben auch keine n Einzelrechner herumstehen, sondern nur einen mit n VMs.

Is jetzt nicht toll, aber könnte schlimmer sein.

Wenns interessiert:
AMD Athlon 2 605e (45 watt)
gigabyte 890FXA-UD5
WD scorpia 320 2,5 zoll sata
2 x samsung 1 tb
wlan karte
ati radeon hd 5450 (für Bluerays reichts) unter einer ubuntu hvm mit xbmc.
netzteil: 300 watt.

nächste schritte: pico psu und evtl die Firewall/Gateway inkl AP auszulagern. das würde unterm strich wohl 20 watt bringen da, die eine 1 gb karte alleien 8 watt braucht.

achja, powertop unter der Dom0 bringt sie zum freezen.. :-/

Gruß
trikolon
Power User
Power User
 
Beiträge: 180
Registriert: 28. Jul 2007, 13:36

Re: Kernel 3, Xen und Dom0

Beitragvon frickelpit » 30. Mär 2012, 08:22

Sind die 45 Watt für das Gesamtsystem?

Gruß
Pit
Hardware: Kontron 986LCD-M/mITX, Intel Core2 Duo Mobile T7400, 3GB RAM, 3 NICs (1GB Realtek RTL8111B),
3 x SATA 2,5" HD's, Fritz!X USB v1.0, Netgear Switch G608 + ADSL2 Modem DM111PB, Case HFX micro
Software: ctsrv-3.01 mit waldi kernel 2.6.18.dfsg.1-24+xen.1 (64Bit-Dom0+32-Bit-Domus), Endian 2.2RC3,
Capisuite, ISDNutils, Samba PDC +CUPS, Scalix mit Webaccess+Outlook-Connector, WLAN DMZ, OpenVPN+Certs
Energieverbrauch: Vollast 60W, Idle 41W, Standby 4W, externes Netzteil Travla FSP120 + PicoPSU-120-WI-25
frickelpit
Moderator
Moderator
 
Beiträge: 620
Registriert: 10. Aug 2005, 11:56

Re: Kernel 3, Xen und Dom0

Beitragvon Carsten » 30. Mär 2012, 09:18

Moin,

ich möchte meinen Hintern niocht drauf verwetten, aber ich meine mich daran zu erinnern, dass Powermanagement in den Dom0 Anteil
des PVOPS Kernels noch gar nicht eingebaut wurde. Ansonsten ist der Artikel die übliche Flamewar Geschichte KVM vs. XEN. Wen es
interessiert...Will man PCI/PICe Karten durchreichen, nimmt man halt Xen.

Ich benutze noh den alten 2.6.32er Kernel von Jeremy als Dom0. Der hat das Powermanagement reingepatcht. Die DomUs sind bei mir
mittlerweile fast alle auf 3.3.0. Nur die DomU für den VDR läuft unter 2.6.34 mit old-style XenLinux, weil ansonsten durch einen Bug
das Bounce-Buffering doppelt gemacht wird und die Last sich verdoppelt. Das versuche ich gerade mit Konrad auf die Reihe zu bekommen,
der ist aber gerade Vater geworden und kümmert sich zunächst um wichtigeres und dann sit da ja noch Xen 4.2.

Gemessen habe ich schon lange nicht mehr. Athlon II X3 400e auf einem AM2 Board, das zieht naturgemäß immer mehr als mit einem
AM3 Board. Aber findet mal eines mit onboard Grafik und mindestens 2xPCIe und 3xPCI. Außerderm habe ich echt keine Lust Geld dafür
auszugeben, denn funktional bringt mir das ja gar nichts. Die Boards kosten heute einen 100er. Da kann ich mein altes ja 10 Jahre
betreiben bevor es sich rentiert.

GrC.

P.S.: Achtung, ich sehe gerade, dass meine Signatur nicht aktuell ist. Ich habe wieder das Gigabyte Board eingebaut und nehme eine
3,5" Systemplatte, muss ich mal wieder updaten. Das BIOSTAR board war nicht stabil. War einer meiner verzweifelten Versuche ein
Board zu finden, was Strom spart und ggf. mehr als 4 SATA Anschlüsse bietet.

2.P.S.: So, ist auf Stand.
Hardware: Gigabyte GA-M56S-S3, AMD Athlon II X3 400e (Xen ondemand govenor), 8GB, 3 NICs (2 x Pro 1000/GT, 1 x nVidia onboard),
Platten: 2xHD154UI, 2xHD204UI, 1 x DVD-ROM JLMS XJ-HD165H, 3 x DVB-C (2 x Satelco Easywatch, 1 x KNC One), Switch GS716T
Software: Xen 4.1.2 / Kernel 2.6.32.46 (Dom0), 3.3.0 (DomU), 2.6.34.7 (VDR DomU), IPFire, Zarafa, VDR 1.7.21 (HD), mt-daapd
Clients: 2xHauppauge MVP with vomp, Rokulabs Soundbridge, Atom/ION Client mit OpenELEC und XBMC-PVR Eden
Carsten
Golden User
Golden User
 
Beiträge: 843
Registriert: 20. Aug 2005, 15:54

Re: Kernel 3, Xen und Dom0

Beitragvon trikolon » 30. Mär 2012, 13:48

Sind die 45 Watt für das Gesamtsystem?

schön wärs. ne das ist der TDP des CPU. Insgesamt komme ich im idle auf ca 86 watt (gemessen mit dem 3.2.x debian kernel).
trikolon
Power User
Power User
 
Beiträge: 180
Registriert: 28. Jul 2007, 13:36

Re: Kernel 3, Xen und Dom0

Beitragvon snorri » 31. Mär 2012, 15:17

@ Trikolon

erst mal nochmal Danke für deinen 3.3er kernel

hier mal ein kurzer Zwischenbericht:

mit orginal 3.2 kernel und xen 4.1.2

dmesg | grep cpu

[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] setup_percpu: NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:8 nr_node_ids:1
[ 0.000000] PERCPU: Embedded 28 pages/cpu @ffff8801ee40c000 s82304 r8192 d24192 u114688
[ 0.000000] pcpu-alloc: s82304 r8192 d24192 u114688 alloc=28*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7
[ 3.405759] Xen: using vcpuop timer interface
[ 3.412930] Initializing cgroup subsys cpuacct
[ 3.449067] NMI watchdog disabled (cpu0): hardware events not enabled
[ 3.449390] NMI watchdog disabled (cpu1): hardware events not enabled
[ 3.449667] NMI watchdog disabled (cpu2): hardware events not enabled
[ 3.449931] NMI watchdog disabled (cpu3): hardware events not enabled
[ 3.450206] NMI watchdog disabled (cpu4): hardware events not enabled
[ 3.450469] NMI watchdog disabled (cpu5): hardware events not enabled
[ 3.450742] NMI watchdog disabled (cpu6): hardware events not enabled
[ 3.451011] NMI watchdog disabled (cpu7): hardware events not enabled
[ 11.824466] XENBUS: Unable to read cpu state



mit kernel 3.3 und xen4.1.3rc1

dmesg | grep cpu
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] setup_percpu: NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:8 nr_node_ids:1
[ 0.000000] PERCPU: Embedded 28 pages/cpu @ffff88003fecb000 s82304 r8192 d24192 u114688
[ 0.000000] pcpu-alloc: s82304 r8192 d24192 u114688 alloc=28*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7
[ 3.279067] Xen: using vcpuop timer interface
[ 3.288092] Initializing cgroup subsys cpuacct
[ 3.322903] NMI watchdog disabled (cpu0): hardware events not enabled
[ 3.323412] NMI watchdog disabled (cpu1): hardware events not enabled
[ 10.543984] XENBUS: Unable to read cpu state


mit kernel 3.3 und xen4.1.2

dmesg | grep cpu
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] setup_percpu: NR_CPUS:512 nr_cpumask_bits:512 nr_cpu_ids:8 nr_node_ids:1
[ 0.000000] PERCPU: Embedded 27 pages/cpu @ffff8801ee625000 s81280 r8192 d21120 u110592
[ 0.000000] pcpu-alloc: s81280 r8192 d21120 u110592 alloc=27*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [0] 4 [0] 5 [0] 6 [0] 7
[ 3.480290] Xen: using vcpuop timer interface
[ 3.487379] Initializing cgroup subsys cpuacct

:)

und das beste ist, nach einen Eintrag in die grub.cfg -> xen-pciback.permissive xen-pciback.hide=(00:19.0) reassign_resources

# dmesg | grep seizing
[ 3.333234] pciback 0000:00:19.0: seizing device

:mrgreen: =D>


Ich habe heute mal gemessen, ohne Netzwerklast,mit 1DomU, mit 2 Platten verbrauch 81W mit Kernel 3.3 und xen4.1.2

...ist immer noch billiger als ein Mietserver :wink:
Intel Xeon E3-1260L, 4x 2.40GHz 45W, Supermicro X9SCM-F , 16GB Reg. ECC Ram, 1x4Port Intel Netzwerkkarte, 1x SSD 30GB, 2x 120GB SSD, 1x 750GB WESTERN DIGITAL Caviar Green, 1x 2TB WESTERN DIGITAL RE4,
Wlan: Zyxel Access Point (wird wenn ich außer Haus bin Abgeschaltet)
Server Dom0 mit xen 4.2.1 und Ubuntu 12.04 & Kernel 3.5.*, DomU: Ipfire, Samba und diverse andere (in Arbeit) ;-)
1x Testserver mit Intel CPU ...
snorri
Power User
Power User
 
Beiträge: 161
Registriert: 22. Okt 2008, 11:51
Wohnort: Zeesen City

Re: Kernel 3, Xen und Dom0

Beitragvon tob » 4. Apr 2012, 21:49

ich bin dabei xen mit ubuntu 12.04 zu testen...

allerdings bleibt bei mir der xen bootvorgang direkt hängen:

Disc information:
Found 0 MBR signatures
Found 0 EDD information structures
xen-e801 RAM map:

... usable
... usable

System RAM: 3034MB


woran kann das liegen?

ich habe auch mehr als die 3043 MB RAM installier... hat das damit was zu tun?


Beste Grüße
tob
Starter
Starter
 
Beiträge: 3
Registriert: 4. Apr 2012, 21:33

Re: Kernel 3, Xen und Dom0

Beitragvon trikolon » 5. Apr 2012, 09:12

puh so auf die schnell kann ich dazu nichts sagen. poste bite mal welche HW du verwendest, welche XEN Version, welchen Kernel, wie sieht deine grub config aus. dann können wir weiter forschen.

gruß
trikolon
Power User
Power User
 
Beiträge: 180
Registriert: 28. Jul 2007, 13:36

Re: Kernel 3, Xen und Dom0

Beitragvon tob » 6. Apr 2012, 13:24

okay hier ein paar mehr details:

System:

FX8120
Asus M5A99X Evo
Sapphire Radeon HD6870 1024MB
SSD
2x4 GB GeiL DDR3

ubuntu 12.04
3.2.0-22-generic
xen 4.1-amd64

und hier noch meine grub-config:

Code: Alles auswählen
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
  insmod efi_gop
  insmod efi_uga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_gpt
  insmod ext2
  set root='(hd0,gpt2)'
  search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
  set locale_dir=($root)/boot/grub/locale
  set lang=de_DE
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
   set gfxpayload="$1"
   if [ "$1" = "keep" ]; then
      set vt_handoff=vt.handoff=7
   else
      set vt_handoff=
   fi
}
if [ ${recordfail} != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, mit Linux 3.2.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
   recordfail
   gfxmode $linux_gfx_mode
   insmod gzio
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt2)'
   search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
   linux   /boot/vmlinuz-3.2.0-22-generic root=UUID=334c5ac7-19ee-40be-99f5-057b400d808b ro   quiet splash $vt_handoff
   initrd   /boot/initrd.img-3.2.0-22-generic
}
menuentry 'Ubuntu, mit Linux 3.2.0-22-generic (Wiederherstellungsmodus)' --class ubuntu --class gnu-linux --class gnu --class os {
   recordfail
   insmod gzio
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt2)'
   search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
   echo   'Linux 3.2.0-22-generic wird geladen …'
   linux   /boot/vmlinuz-3.2.0-22-generic root=UUID=334c5ac7-19ee-40be-99f5-057b400d808b ro recovery nomodeset
   echo   'Initiale Ramdisk wird geladen …'
   initrd   /boot/initrd.img-3.2.0-22-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, mit Linux 3.2.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
   recordfail
   gfxmode $linux_gfx_mode
   insmod gzio
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt2)'
   search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
   linux   /boot/vmlinuz-3.2.0-21-generic root=UUID=334c5ac7-19ee-40be-99f5-057b400d808b ro   quiet splash $vt_handoff
   initrd   /boot/initrd.img-3.2.0-21-generic
}
menuentry 'Ubuntu, mit Linux 3.2.0-21-generic (Wiederherstellungsmodus)' --class ubuntu --class gnu-linux --class gnu --class os {
   recordfail
   insmod gzio
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt2)'
   search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
   echo   'Linux 3.2.0-21-generic wird geladen …'
   linux   /boot/vmlinuz-3.2.0-21-generic root=UUID=334c5ac7-19ee-40be-99f5-057b400d808b ro recovery nomodeset
   echo   'Initiale Ramdisk wird geladen …'
   initrd   /boot/initrd.img-3.2.0-21-generic
}
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
submenu "Xen 4.1-amd64" {
menuentry 'Ubuntu GNU/Linux, mit Xen 4.1-amd64 und Linux 3.2.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os --class xen {
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt2)'
   search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
   echo   'Xen 4.1-amd64 wird geladen …'
   multiboot   /boot/xen-4.1-amd64.gz placeholder 
   echo   'Linux 3.2.0-22-generic wird geladen …'
   module   /boot/vmlinuz-3.2.0-22-generic placeholder root=UUID=334c5ac7-19ee-40be-99f5-057b400d808b ro  quiet splash
   echo   'Initiale Ramdisk wird geladen …'
   module   /boot/initrd.img-3.2.0-22-generic
}
menuentry 'Ubuntu GNU/Linux, mit Xen 4.1-amd64 und Linux 3.2.0-22-generic (Wiederherstellungsmodus)' --class ubuntu --class gnu-linux --class gnu --class os --class xen {
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt2)'
   search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
   echo   'Xen 4.1-amd64 wird geladen …'
   multiboot   /boot/xen-4.1-amd64.gz placeholder
   echo   'Linux 3.2.0-22-generic wird geladen …'
   module   /boot/vmlinuz-3.2.0-22-generic placeholder root=UUID=334c5ac7-19ee-40be-99f5-057b400d808b ro single
   echo   'Initiale Ramdisk wird geladen …'
   module   /boot/initrd.img-3.2.0-22-generic
}
menuentry 'Ubuntu GNU/Linux, mit Xen 4.1-amd64 und Linux 3.2.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os --class xen {
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt2)'
   search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
   echo   'Xen 4.1-amd64 wird geladen …'
   multiboot   /boot/xen-4.1-amd64.gz placeholder 
   echo   'Linux 3.2.0-21-generic wird geladen …'
   module   /boot/vmlinuz-3.2.0-21-generic placeholder root=UUID=334c5ac7-19ee-40be-99f5-057b400d808b ro  quiet splash
   echo   'Initiale Ramdisk wird geladen …'
   module   /boot/initrd.img-3.2.0-21-generic
}
menuentry 'Ubuntu GNU/Linux, mit Xen 4.1-amd64 und Linux 3.2.0-21-generic (Wiederherstellungsmodus)' --class ubuntu --class gnu-linux --class gnu --class os --class xen {
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt2)'
   search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
   echo   'Xen 4.1-amd64 wird geladen …'
   multiboot   /boot/xen-4.1-amd64.gz placeholder
   echo   'Linux 3.2.0-21-generic wird geladen …'
   module   /boot/vmlinuz-3.2.0-21-generic placeholder root=UUID=334c5ac7-19ee-40be-99f5-057b400d808b ro single
   echo   'Initiale Ramdisk wird geladen …'
   module   /boot/initrd.img-3.2.0-21-generic
}
}
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt2)'
   search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
   linux16   /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt2)'
   search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
   linux16   /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
  if sleep --verbose --interruptible 5 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###


nach dem Auswählen von XEN im Grub Bootmenü erscheint folgendes:

"Warning: no console will be available to OSLinux 3.2.0.22-generic wird geladen
Initiale Ramdisk wird geladen _


und dann bleibt das ganze hängen wie oben beschrieben..
tob
Starter
Starter
 
Beiträge: 3
Registriert: 4. Apr 2012, 21:33

Re: Kernel 3, Xen und Dom0

Beitragvon snorri » 10. Apr 2012, 10:37

tob hat geschrieben:okay hier ein paar mehr details:

System:

FX8120
Asus M5A99X Evo
Sapphire Radeon HD6870 1024MB
SSD
2x4 GB GeiL DDR3

ubuntu 12.04
3.2.0-22-generic
xen 4.1-amd64

und hier noch meine grub-config:

Code: Alles auswählen
#
# DO NOT EDIT THIS FILE
#
# It is automatically generated by grub-mkconfig using templates
# from /etc/grub.d and settings from /etc/default/grub
#

### BEGIN /etc/grub.d/00_header ###
if [ -s $prefix/grubenv ]; then
  set have_grubenv=true
  load_env
fi
set default="0"
if [ "${prev_saved_entry}" ]; then
  set saved_entry="${prev_saved_entry}"
  save_env saved_entry
  set prev_saved_entry=
  save_env prev_saved_entry
  set boot_once=true
fi

function savedefault {
  if [ -z "${boot_once}" ]; then
    saved_entry="${chosen}"
    save_env saved_entry
  fi
}

function recordfail {
  set recordfail=1
  if [ -n "${have_grubenv}" ]; then if [ -z "${boot_once}" ]; then save_env recordfail; fi; fi
}

function load_video {
  insmod efi_gop
  insmod efi_uga
  insmod video_bochs
  insmod video_cirrus
}

insmod part_gpt
insmod ext2
set root='(hd0,gpt2)'
search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
if loadfont /usr/share/grub/unicode.pf2 ; then
  set gfxmode=auto
  load_video
  insmod gfxterm
  insmod part_gpt
  insmod ext2
  set root='(hd0,gpt2)'
  search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
  set locale_dir=($root)/boot/grub/locale
  set lang=de_DE
  insmod gettext
fi
terminal_output gfxterm
if [ "${recordfail}" = 1 ]; then
  set timeout=-1
else
  set timeout=10
fi
### END /etc/grub.d/00_header ###

### BEGIN /etc/grub.d/05_debian_theme ###
set menu_color_normal=white/black
set menu_color_highlight=black/light-gray
if background_color 44,0,30; then
  clear
fi
### END /etc/grub.d/05_debian_theme ###

### BEGIN /etc/grub.d/10_linux ###
function gfxmode {
   set gfxpayload="$1"
   if [ "$1" = "keep" ]; then
      set vt_handoff=vt.handoff=7
   else
      set vt_handoff=
   fi
}
if [ ${recordfail} != 1 ]; then
  if [ -e ${prefix}/gfxblacklist.txt ]; then
    if hwmatch ${prefix}/gfxblacklist.txt 3; then
      if [ ${match} = 0 ]; then
        set linux_gfx_mode=keep
      else
        set linux_gfx_mode=text
      fi
    else
      set linux_gfx_mode=text
    fi
  else
    set linux_gfx_mode=keep
  fi
else
  set linux_gfx_mode=text
fi
export linux_gfx_mode
if [ "$linux_gfx_mode" != "text" ]; then load_video; fi
menuentry 'Ubuntu, mit Linux 3.2.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os {
   recordfail
   gfxmode $linux_gfx_mode
   insmod gzio
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt2)'
   search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
   linux   /boot/vmlinuz-3.2.0-22-generic root=UUID=334c5ac7-19ee-40be-99f5-057b400d808b ro   quiet splash $vt_handoff
   initrd   /boot/initrd.img-3.2.0-22-generic
}
menuentry 'Ubuntu, mit Linux 3.2.0-22-generic (Wiederherstellungsmodus)' --class ubuntu --class gnu-linux --class gnu --class os {
   recordfail
   insmod gzio
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt2)'
   search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
   echo   'Linux 3.2.0-22-generic wird geladen …'
   linux   /boot/vmlinuz-3.2.0-22-generic root=UUID=334c5ac7-19ee-40be-99f5-057b400d808b ro recovery nomodeset
   echo   'Initiale Ramdisk wird geladen …'
   initrd   /boot/initrd.img-3.2.0-22-generic
}
submenu "Previous Linux versions" {
menuentry 'Ubuntu, mit Linux 3.2.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os {
   recordfail
   gfxmode $linux_gfx_mode
   insmod gzio
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt2)'
   search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
   linux   /boot/vmlinuz-3.2.0-21-generic root=UUID=334c5ac7-19ee-40be-99f5-057b400d808b ro   quiet splash $vt_handoff
   initrd   /boot/initrd.img-3.2.0-21-generic
}
menuentry 'Ubuntu, mit Linux 3.2.0-21-generic (Wiederherstellungsmodus)' --class ubuntu --class gnu-linux --class gnu --class os {
   recordfail
   insmod gzio
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt2)'
   search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
   echo   'Linux 3.2.0-21-generic wird geladen …'
   linux   /boot/vmlinuz-3.2.0-21-generic root=UUID=334c5ac7-19ee-40be-99f5-057b400d808b ro recovery nomodeset
   echo   'Initiale Ramdisk wird geladen …'
   initrd   /boot/initrd.img-3.2.0-21-generic
}
}
### END /etc/grub.d/10_linux ###

### BEGIN /etc/grub.d/20_linux_xen ###
submenu "Xen 4.1-amd64" {
menuentry 'Ubuntu GNU/Linux, mit Xen 4.1-amd64 und Linux 3.2.0-22-generic' --class ubuntu --class gnu-linux --class gnu --class os --class xen {
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt2)'
   search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
   echo   'Xen 4.1-amd64 wird geladen …'
   multiboot   /boot/xen-4.1-amd64.gz placeholder 
   echo   'Linux 3.2.0-22-generic wird geladen …'
   module   /boot/vmlinuz-3.2.0-22-generic placeholder root=UUID=334c5ac7-19ee-40be-99f5-057b400d808b ro  quiet splash
   echo   'Initiale Ramdisk wird geladen …'
   module   /boot/initrd.img-3.2.0-22-generic
}
menuentry 'Ubuntu GNU/Linux, mit Xen 4.1-amd64 und Linux 3.2.0-22-generic (Wiederherstellungsmodus)' --class ubuntu --class gnu-linux --class gnu --class os --class xen {
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt2)'
   search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
   echo   'Xen 4.1-amd64 wird geladen …'
   multiboot   /boot/xen-4.1-amd64.gz placeholder
   echo   'Linux 3.2.0-22-generic wird geladen …'
   module   /boot/vmlinuz-3.2.0-22-generic placeholder root=UUID=334c5ac7-19ee-40be-99f5-057b400d808b ro single
   echo   'Initiale Ramdisk wird geladen …'
   module   /boot/initrd.img-3.2.0-22-generic
}
menuentry 'Ubuntu GNU/Linux, mit Xen 4.1-amd64 und Linux 3.2.0-21-generic' --class ubuntu --class gnu-linux --class gnu --class os --class xen {
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt2)'
   search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
   echo   'Xen 4.1-amd64 wird geladen …'
   multiboot   /boot/xen-4.1-amd64.gz placeholder 
   echo   'Linux 3.2.0-21-generic wird geladen …'
   module   /boot/vmlinuz-3.2.0-21-generic placeholder root=UUID=334c5ac7-19ee-40be-99f5-057b400d808b ro  quiet splash
   echo   'Initiale Ramdisk wird geladen …'
   module   /boot/initrd.img-3.2.0-21-generic
}
menuentry 'Ubuntu GNU/Linux, mit Xen 4.1-amd64 und Linux 3.2.0-21-generic (Wiederherstellungsmodus)' --class ubuntu --class gnu-linux --class gnu --class os --class xen {
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt2)'
   search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
   echo   'Xen 4.1-amd64 wird geladen …'
   multiboot   /boot/xen-4.1-amd64.gz placeholder
   echo   'Linux 3.2.0-21-generic wird geladen …'
   module   /boot/vmlinuz-3.2.0-21-generic placeholder root=UUID=334c5ac7-19ee-40be-99f5-057b400d808b ro single
   echo   'Initiale Ramdisk wird geladen …'
   module   /boot/initrd.img-3.2.0-21-generic
}
}
### END /etc/grub.d/20_linux_xen ###

### BEGIN /etc/grub.d/20_memtest86+ ###
menuentry "Memory test (memtest86+)" {
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt2)'
   search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
   linux16   /boot/memtest86+.bin
}
menuentry "Memory test (memtest86+, serial console 115200)" {
   insmod part_gpt
   insmod ext2
   set root='(hd0,gpt2)'
   search --no-floppy --fs-uuid --set=root 334c5ac7-19ee-40be-99f5-057b400d808b
   linux16   /boot/memtest86+.bin console=ttyS0,115200n8
}
### END /etc/grub.d/20_memtest86+ ###

### BEGIN /etc/grub.d/30_os-prober ###
if [ "x${timeout}" != "x-1" ]; then
  if sleep --verbose --interruptible 5 ; then
    set timeout=0
  fi
fi
### END /etc/grub.d/30_os-prober ###

### BEGIN /etc/grub.d/40_custom ###
# This file provides an easy way to add custom menu entries.  Simply type the
# menu entries you want to add after this comment.  Be careful not to change
# the 'exec tail' line above.
### END /etc/grub.d/40_custom ###

### BEGIN /etc/grub.d/41_custom ###
if [ -f  $prefix/custom.cfg ]; then
  source $prefix/custom.cfg;
fi
### END /etc/grub.d/41_custom ###


nach dem Auswählen von XEN im Grub Bootmenü erscheint folgendes:

"Warning: no console will be available to OSLinux 3.2.0.22-generic wird geladen
Initiale Ramdisk wird geladen _


und dann bleibt das ganze hängen wie oben beschrieben..



@ top mal so eine Idee, das du mal im Bios nachgesehen ob alles richtig eingestellt ist?

Bei mir lief Ubuntu mit Orginal-Pakete.
Intel Xeon E3-1260L, 4x 2.40GHz 45W, Supermicro X9SCM-F , 16GB Reg. ECC Ram, 1x4Port Intel Netzwerkkarte, 1x SSD 30GB, 2x 120GB SSD, 1x 750GB WESTERN DIGITAL Caviar Green, 1x 2TB WESTERN DIGITAL RE4,
Wlan: Zyxel Access Point (wird wenn ich außer Haus bin Abgeschaltet)
Server Dom0 mit xen 4.2.1 und Ubuntu 12.04 & Kernel 3.5.*, DomU: Ipfire, Samba und diverse andere (in Arbeit) ;-)
1x Testserver mit Intel CPU ...
snorri
Power User
Power User
 
Beiträge: 161
Registriert: 22. Okt 2008, 11:51
Wohnort: Zeesen City

VorherigeNächste

Zurück zu Xen

Wer ist online?

Mitglieder: Google [Bot]

cron