Xen 4 + openSuse 11.3 = kernel panic (что я делаю не так?)

openSUSE, SUSE Linux Enterprise

Модератор: Модераторы разделов

Аватара пользователя
Deo
Сообщения: 365
ОС: openSuse 12.3

Xen 4 + openSuse 11.3 = kernel panic

Сообщение Deo »

- Поставил пакеты, затребованные Yast->Virtualization->Install Hypervisor and Tools

- добавил в /boot/grub/menu.lst


Код: Выделить всё

title        Xen 4.0, Linux kernel 2.6.34.12
root         (hd0,0)
kernel       /boot/xen.gz dom0_mem=2048M loglvl=all guest_loglvl=all
module       /boot/vmlinuz-xen root=/dev/sda1 ro
module       /boot/initrd-xen


все симлинки выше указывают на реально существующие файлы в /boot :

Код: Выделить всё

-rw-------  1 root root      512 2010-05-15 03:50 backup_mbr
lrwxrwxrwx  1 root root        1 2010-07-16 21:56 boot -> .
-rw-r--r--  1 root root     1236 2010-07-01 18:00 boot.readme
-rw-r--r--  1 root root   112939 2010-07-05 16:43 config-2.6.34-12-desktop
-rw-r--r--  1 root root   113396 2010-07-05 16:34 config-2.6.34-12-pae
-rw-r--r--  1 root root   109842 2010-07-05 17:02 config-2.6.34-12-xen
drwxr-xr-x  2 root root     4096 2010-08-24 23:17 grub
lrwxrwxrwx  1 root root       20 2010-08-20 19:58 initrd -> initrd-2.6.34-12-pae
-rw-r--r--  1 root root  9814399 2010-08-20 19:58 initrd-2.6.34-12-desktop
-rw-r--r--  1 root root 10042985 2010-08-20 19:58 initrd-2.6.34-12-pae
-rw-r--r--  1 root root 10358537 2010-08-24 22:25 initrd-2.6.34-12-xen
lrwxrwxrwx  1 root root       20 2010-08-24 22:25 initrd-xen -> initrd-2.6.34-12-xen
-rw-r--r--  1 root root   419328 2010-08-20 19:58 message
-rw-r--r--  1 root root   415744 2010-05-15 03:50 message_0
-rw-r--r--  1 root root   398336 2008-03-25 20:23 message.old
-rw-r--r--  1 root root   167517 2010-07-05 16:33 symsets-2.6.34-12-default.tar.gz
-rw-r--r--  1 root root   161087 2010-07-05 16:51 symsets-2.6.34-12-desktop.tar.gz
-rw-r--r--  1 root root   165862 2010-07-05 16:49 symsets-2.6.34-12-pae.tar.gz
-rw-r--r--  1 root root   163930 2010-07-05 17:11 symsets-2.6.34-12-xen.tar.gz
-rw-r--r--  1 root root   531137 2010-07-05 16:32 symtypes-2.6.34-12-default.gz
-rw-r--r--  1 root root   523760 2010-07-05 16:50 symtypes-2.6.34-12-desktop.gz
-rw-r--r--  1 root root   527062 2010-07-05 16:47 symtypes-2.6.34-12-pae.gz
-rw-r--r--  1 root root   517947 2010-07-05 17:10 symtypes-2.6.34-12-xen.gz
-rw-r--r--  1 root root   185568 2010-07-05 16:44 symvers-2.6.34-12-desktop.gz
-rw-r--r--  1 root root   186911 2010-07-05 16:35 symvers-2.6.34-12-pae.gz
-rw-r--r--  1 root root   185493 2010-07-05 17:04 symvers-2.6.34-12-xen.gz
-rw-r--r--  1 root root  1666547 2010-07-05 16:28 System.map-2.6.34-12-desktop
-rw-r--r--  1 root root  1537344 2010-07-05 16:14 System.map-2.6.34-12-pae
-rw-r--r--  1 root root  1409539 2010-07-05 16:44 System.map-2.6.34-12-xen
-rw-r--r--  1 root root  4782992 2010-07-05 16:23 vmlinux-2.6.34-12-default.gz
-rw-r--r--  1 root root  5411231 2010-07-05 16:42 vmlinux-2.6.34-12-desktop.gz
-rw-r--r--  1 root root  4918415 2010-07-05 16:33 vmlinux-2.6.34-12-pae.gz
-rw-r--r--  1 root root  3852414 2010-07-05 17:02 vmlinux-2.6.34-12-xen.gz
lrwxrwxrwx  1 root root       21 2010-07-22 23:32 vmlinuz -> vmlinuz-2.6.34-12-pae
-rw-r--r--  1 root root  4292544 2010-07-05 16:29 vmlinuz-2.6.34-12-desktop
-rw-r--r--  1 root root  3899072 2010-07-05 16:15 vmlinuz-2.6.34-12-pae
-rw-r--r--  1 root root  3279434 2010-07-05 16:44 vmlinuz-2.6.34-12-xen
lrwxrwxrwx  1 root root       21 2010-08-24 22:25 vmlinuz-xen -> vmlinuz-2.6.34-12-xen
-rw-r--r--  1 root root   576800 2010-07-06 01:18 xen-4.0.0_21091_05-6.6.gz
lrwxrwxrwx  1 root root       25 2010-08-24 21:27 xen-4.0.gz -> xen-4.0.0_21091_05-6.6.gz
lrwxrwxrwx  1 root root       25 2010-08-24 21:27 xen-4.gz -> xen-4.0.0_21091_05-6.6.gz
-rw-r--r--  1 root root   559955 2010-07-06 01:16 xen-dbg-4.0.0_21091_05-6.6.gz
lrwxrwxrwx  1 root root       29 2010-08-24 21:27 xen-dbg-4.0.gz -> xen-dbg-4.0.0_21091_05-6.6.gz
lrwxrwxrwx  1 root root       29 2010-08-24 21:27 xen-dbg-4.gz -> xen-dbg-4.0.0_21091_05-6.6.gz
lrwxrwxrwx  1 root root       29 2010-08-24 21:27 xen-dbg.gz -> xen-dbg-4.0.0_21091_05-6.6.gz
lrwxrwxrwx  1 root root       25 2010-08-24 21:27 xen.gz -> xen-4.0.0_21091_05-6.6.gz
lrwxrwxrwx  1 root root       27 2010-08-24 21:27 xen-syms -> xen-syms-4.0.0_21091_05-6.6
-rw-r--r--  1 root root  9621588 2010-07-06 01:18 xen-syms-4.0.0_21091_05-6.6
lrwxrwxrwx  1 root root       31 2010-08-24 21:27 xen-syms-dbg -> xen-syms-dbg-4.0.0_21091_05-6.6
-rw-r--r--  1 root root  9197223 2010-07-06 01:16 xen-syms-dbg-4.0.0_21091_05-6.6



при загрузке - за секунду пролетает дамп гипервизора (прочесть не успеваю). Дальше черный экран и мигающий numlock
Железо: MSI 770-G45 + Athlon II x2 x245 + GF 9400GT

что я делаю не так?
моё любимое облачко
Фхтагн! Мозг! Ням-ням! ~ Ктулху про Ленина
Спасибо сказали:
Аватара пользователя
Deo
Сообщения: 365
ОС: openSuse 12.3

Re: Xen 4 + openSuse 11.3 = kernel panic

Сообщение Deo »

сам себя перехитрил...

вот этого достаточно:

Код: Выделить всё

title        Xen 4.0, Linux kernel 2.6.34.12
root         (hd0,0)
kernel       /boot/xen.gz vga=0x31a
module       /boot/vmlinuz-xen root=/dev/sda1 showopts vga=0x31a
module       /boot/initrd-xen


кто-нить пробовал проприетарный NVIDIA драйвер с ним дружить?
иксы стартанули только с nouveau в кошмарном разрешении и с частотой 60 герц на ЭЛТ мониторе... полный вырвиглаз :(
моё любимое облачко
Фхтагн! Мозг! Ням-ням! ~ Ктулху про Ленина
Спасибо сказали:
Аватара пользователя
k0da
Бывший модератор
Сообщения: 6043
Статус: SuSE QA Engineer
ОС: Factory

Re: Xen 4 + openSuse 11.3 = kernel panic

Сообщение k0da »

Deo
А разве яст сам не модифицирует загрузчик?

По NVIDIA в wiki есть информация
Fury in my eyes, sword on my side
Afro on my head, I'm a black Samurai
Number One, I bring my whole nation alive
Escape death, to become immortalized
Спасибо сказали:
Аватара пользователя
Deo
Сообщения: 365
ОС: openSuse 12.3

Re: Xen 4 + openSuse 11.3 = kernel panic

Сообщение Deo »

http://ru.opensuse.org/Use_Nvidia_driver_with_Xen

сделал скрипт

Код: Выделить всё

export IGNORE_XEN_PRESENCE=1
export SYSSRC=/lib/modules/$(uname -r)/source
export SYSOUT=/lib/modules/$(uname -r)/build


запускаю перед стартом Нвидиа инсталлера.

инсталлер валится. лог:

Код: Выделить всё

deo@Jah:~> cat /var/log/nvidia-installer.log
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Sat Aug 28 13:12:16 2010
installer version: 256.44

option status:
  license pre-accepted    : false
  update                  : false
  force update            : false
  expert                  : false
  uninstall               : false
  driver info             : false
  precompiled interfaces  : true
  no ncurses color        : false
  query latest version    : false
  OpenGL header files     : true
  no questions            : false
  silent                  : false
  no recursion            : false
  no backup               : false
  kernel module only      : false
  sanity                  : false
  add this kernel         : false
  no runlevel check       : false
  no network              : false
  no ABI note             : false
  no RPMs                 : false
  no kernel module        : false
  force SELinux           : default
  no X server check       : false
  no cc version check     : false
  force tls               : (not specified)
  X install prefix        : (not specified)
  X library install path  : (not specified)
  X module install path   : (not specified)
  OpenGL install prefix   : (not specified)
  OpenGL install libdir   : (not specified)
  utility install prefix  : (not specified)
  utility install libdir  : (not specified)
  doc install prefix      : (not specified)
  kernel name             : (not specified)
  kernel include path     : (not specified)
  kernel source path      : (not specified)
  kernel output path      : (not specified)
  kernel install path     : (not specified)
  proc mount point        : /proc
  ui                      : (not specified)
  tmpdir                  : /tmp
  ftp mirror              : ftp://download.nvidia.com
  RPM file list           : (not specified)

Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 256.44.
-> There appears to already be a driver installed on your system (version: 256.
   35).  As part of installing this driver (version: 256.44), the existing driv
   er will be uninstalled.  Are you sure you want to continue? ('no' will abort
   installation) (Answer: Yes)
-> Performing CC sanity check with CC="cc".
-> Performing CC version check with CC="cc".
-> Kernel source path: '/lib/modules/2.6.34-12-xen/source'
-> Kernel output path: '/lib/modules/2.6.34-12-xen/build'
ERROR: If you are using a Linux 2.4 kernel, please make sure
       you either have configured kernel sources matching your
       kernel or the correct set of kernel headers installed
       on your system.

       If you are using a Linux 2.6 kernel, please make sure
       you have configured kernel sources matching your kernel
       installed on your system. If you specified a separate
       output directory using either the "KBUILD_OUTPUT" or
       the "O" KBUILD parameter, make sure to specify this
       directory with the SYSOUT environment variable or with
       the equivalent nvidia-installer command line option.

       Depending on where and how the kernel sources (or the
       kernel headers) were installed, you may need to specify
       their location with the SYSSRC environment variable or
       the equivalent nvidia-installer command line option.
ERROR: Installation has failed.  Please see the file
       '/var/log/nvidia-installer.log' for details.  You may find suggestions
       on fixing installation problems in the README available on the Linux
       driver download page at www.nvidia.com.



Код: Выделить всё

deo@Jah:~> ls '/lib/modules/2.6.34-12-xen/source'
arch   COPYING  crypto         drivers   fs       init  Kbuild  kernel  MAINTAINERS  mm   README       REPORTING-BUGS  scripts   sound  usr
block  CREDITS  Documentation  firmware  include  ipc   kdb     lib     Makefile     net  README.SUSE  samples         security  tools  virt

deo@Jah:~> ls '/lib/modules/2.6.34-12-xen/build'
include  Makefile  Module.base  Module.supported  Module.symvers  scripts
моё любимое облачко
Фхтагн! Мозг! Ням-ням! ~ Ктулху про Ленина
Спасибо сказали: