From: "Michael A. Kangin" <mak@cea.ru> To: ALT Linux Sisyphus discussion list <sisyphus@altlinux.ru> Subject: [sisyphus] Забавная такая компиляция модулей ВМВари Date: Wed, 11 May 2005 22:04:12 +0400 Message-ID: <200505112204.12733.mak@cea.ru> (raw) Здравствуйте. Взгромоздившись-таки на ядро 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
next reply other threads:[~2005-05-11 18:04 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2005-05-11 18:04 Michael A. Kangin [this message] 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
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200505112204.12733.mak@cea.ru \ --to=mak@cea.ru \ --cc=sisyphus@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
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