ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Забавная такая компиляция модулей ВМВари
@ 2005-05-11 18:04 Michael A. Kangin
  2005-05-11 18:11 ` Anton D. Kachalov
  0 siblings, 1 reply; 5+ messages in thread
From: Michael A. Kangin @ 2005-05-11 18:04 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Здравствуйте.

Взгромоздившись-таки на ядро 2.6.11-wks26-up-alt2 пришлось и ВМВарьку (4.52 
b.8848) подконфигурить. Но она не хотела: при указании директории с хидерами 
ядра ругалась: "The kernel defined by this directory of header files does not 
have the same address space size as your running kernel.".

Обратно на 2.6.10 откатиться не удалось, потому как хидеры уже всё, не было 
их.

Пришлось разбираться....
Гугление нарыло только одну более-менее адекватную рекомендацию про 1G lowmem 
option (http://bhhdoa.org.au/pipermail/ck/2005-January/002194.html), но ядра 
перекомпилять - это не удел простых смертных...
Решил пойти по максимально идиотскому пути и закомментарил в vmware-config.pl 
эту проверку: 
-------------
   1856   $header_page_offset =~ s/^$pattern \(?0x([0-9a-fA-F]{8,}).*$/$1/;
   1857   if ($header_page_offset =~ /[0-9a-fA-F]{8,}/) {
   1858     # We found a valid page offset
   1859 #    if (defined($gSystem{'page_offset'}) and
   1860 #        not (lc($header_page_offset) eq lc($gSystem{'page_offset'}))) 
{
   1861 #      if ($source eq 'user') {
   1862 #        print wrap('The kernel defined by this directory of header 
files does '
   1863 #                   . 'not have the same address space size as your 
running '
   1864 #                   . 'kernel.' . "\n\n", 0);
   1865 #      }
   1866 #      return '';
   1867 #    }
   1868   }
   1869
   1870   return $answer;
   1871 }

-------------

как ни странно, после этого оно скомпилилось, и что еще более странно, 
работает вроде.


-- 
wbr, Michael A. Kangin

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-05-11 19:02 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-05-11 18:04 [sisyphus] Забавная такая компиляция модулей ВМВари Michael A. Kangin
2005-05-11 18:11 ` Anton D. Kachalov
2005-05-11 18:42   ` Andrey Rahmatullin
2005-05-11 19:02     ` Michael A. Kangin
2005-05-11 18:44   ` Michael A. Kangin

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git