ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Evgeny Sinelnikov <sin@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] Ограничения сборочницы для virtualbox-6.1.14 и выше
Date: Mon, 28 Dec 2020 22:40:53 +0400
Message-ID: <CAK42-GpgaNh23189XNCVM5zCBgQabc03FYbKV3z5wzxTq-tWcg@mail.gmail.com> (raw)
In-Reply-To: <20201228181538.GA26722@altlinux.org>

пн, 28 дек. 2020 г. в 22:15, Dmitry V. Levin <ldv@altlinux.org>:
>
> On Mon, Dec 28, 2020 at 10:09:47PM +0400, Evgeny Sinelnikov wrote:
> [...]
> > Я бы предложил исключить из проверки файлы с расширением *.r0, даже
> > если это ELF. Или дать возможность исключать из проверки файлы в
> > спекфайле. Ещё один вариант - это как-то откатить код апстрима до
> > предыдущего, но там, ой как, всё непросто.
>
> Вопрос, предоставляют ли эти /usr/lib64/virtualbox/*.r0 какие-нибудь
> символы для других файлов, зависимости которых видит сборочница?

Ну, вот так это выглядит.
http://git.altlinux.org/tasks/264125/logs/events.2.1.log

$ file VMMR0.r0 VBoxDDR0.r0
VMMR0.r0:    ELF 64-bit LSB shared object, x86-64, version 1 (SYSV),
dynamically linked, stripped
VBoxDDR0.r0: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV),
dynamically linked, stripped

$ ldd VMMR0.r0 VBoxDDR0.r0
VMMR0.r0:
        statically linked
VBoxDDR0.r0:
        statically linked

sin@xpi tmp $ nm -D VMMR0.r0 | grep -v ' U ' | wc
   1287    3861   53297
sin@xpi tmp $ nm -D VMMR0.r0 | grep -v ' U ' | head
0000000000082fa0 T APICGetTpr
0000000000082f50 T APICSetTpr
0000000000084550 T APICUpdatePendingInterrupts
0000000000159fe0 T ASMCpuIdExSlow
0000000000159ef0 T ASMGetXcr0
0000000000159f1d T ASMMemFirstMismatchingU8
0000000000159f10 T ASMMemFirstNonZero
0000000000159ed0 T ASMXRstor
0000000000085e20 T CPUMDeactivateGuestDebugState
0000000000085ea0 T CPUMGetGuestCodeBits
sin@xpi tmp $ nm -D VMMR0.r0 | grep -v ' U ' | tail
0000000000121010 T _Z17pgmR0GstRealEnterP6GVMCPUy
0000000000123790 T _Z18pgmR0Gst32BitEnterP6GVMCPUy
00000000001237c0 T _Z18pgmR0GstAMD64EnterP6GVMCPUy
0000000000158f60 T _Z19IntNetR0IfAbortWaitjP13SUPDRVSESSIONb
0000000000055810 T _Z20GMMR0QueryStatisticsP8GMMSTATSP13SUPDRVSESSIONP3GVM
0000000000055b30 T _Z20GMMR0ResetStatisticsPK8GMMSTATSP13SUPDRVSESSIONP3GVM
000000000012f1d0 T
_Z37pgmR0BthPAEPAETrap0eHandlerGuestFaultP6GVMCPUP15PGMPTWALKGSTPAEy
000000000012f180 T
_Z39pgmR0BthPAE32BitTrap0eHandlerGuestFaultP6GVMCPUP17PGMPTWALKGST32BITy
000000000012f130 T
_Z41pgmR0Bth32Bit32BitTrap0eHandlerGuestFaultP6GVMCPUP17PGMPTWALKGST32BITy
000000000012f550 T
_Z41pgmR0BthAMD64AMD64Trap0eHandlerGuestFaultP6GVMCPUP17PGMPTWALKGSTAMD64y

sin@xpi tmp $ nm -D VBoxDDR0.r0| grep -v ' U ' | wc
     24      72     931
sin@xpi tmp $ nm -D VBoxDDR0.r0| grep -v ' U ' | head
000000000001d360 T drvIntNetUp_AllocBuf
000000000001d2f0 T drvIntNetUp_BeginXmit
000000000001d890 T drvIntNetUp_EndXmit
000000000001d710 T drvIntNetUp_FreeBuf
000000000001d770 T drvIntNetUp_SendBuf
000000000001d8a0 T drvIntNetUp_SetPromiscuousMode
0000000000024a40 T drvNetShaperUp_AllocBuf
0000000000024a00 T drvNetShaperUp_BeginXmit
0000000000024b50 T drvNetShaperUp_EndXmit
0000000000024b10 T drvNetShaperUp_FreeBuf
sin@xpi tmp $ nm -D VBoxDDR0.r0| grep -v ' U ' | tail
000000000000c950 T flashMMIOWrite
000000000000a1c0 T ModuleInit
000000000000a1d0 T ModuleTerm
0000000000025ca0 T ohciMmioWrite
000000000001bb60 T ox958IrqReq
0000000000013a10 T rtcIOPortRead
0000000000013cb0 T rtcIOPortWrite
000000000001b560 T serialIrqReq
000000000000fe70 T vgaLbfAccessPfHandler
000000000000fe90 T vgaLFBAccessHandler

Это символы для модулей в виртуальном пространстве ядра. Связующий клей такой.


-- 
Sin (Sinelnikov Evgeny)

  reply	other threads:[~2020-12-28 18:40 UTC|newest]

Thread overview: 45+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-28 12:39 Valery Sinelnikov
2020-12-28 12:57 ` Dmitry V. Levin
2020-12-28 13:50   ` Anton V. Boyarshinov
2020-12-28 14:00     ` Антон Мидюков
2020-12-28 14:14       ` Anton V. Boyarshinov
2020-12-28 14:11     ` Dmitry V. Levin
2020-12-28 14:24       ` Anton V. Boyarshinov
2020-12-28 14:30         ` Dmitry V. Levin
2020-12-28 14:36           ` Anton V. Boyarshinov
2020-12-28 14:42             ` Dmitry V. Levin
2020-12-28 14:51               ` Anton V. Boyarshinov
2020-12-28 15:01                 ` Dmitry V. Levin
2020-12-28 20:39                   ` Alexey V. Vissarionov
2020-12-29 11:07                     ` Ivan A. Melnikov
2020-12-29 12:28                       ` Alexey V. Vissarionov
2020-12-29  8:19                   ` Anton V. Boyarshinov
2020-12-28 14:52               ` Dmitry V. Levin
2020-12-28 14:59                 ` Anton V. Boyarshinov
2020-12-28 15:02                   ` Anton V. Boyarshinov
2020-12-28 15:07                     ` Dmitry V. Levin
2020-12-28 20:41                       ` Alexey V. Vissarionov
2020-12-28 15:05                   ` Dmitry V. Levin
2020-12-29  8:21                     ` Anton V. Boyarshinov
2020-12-28 14:57       ` Dmitry V. Levin
2020-12-28 15:01         ` Anton V. Boyarshinov
2020-12-28 15:38         ` Andrey Savchenko
2020-12-28 17:13           ` Dmitry V. Levin
2020-12-28 18:09               ` Evgeny Sinelnikov
2020-12-28 18:15                 ` Dmitry V. Levin
2020-12-28 18:40                   ` Evgeny Sinelnikov [this message]
2020-12-28 19:30                     ` Dmitry V. Levin
2020-12-28 22:23                       ` Dmitry V. Levin
2020-12-29  4:23                         ` Alexey V. Vissarionov
2020-12-29  7:21                           ` Anton Farygin
2020-12-29  8:51                           ` Dmitry V. Levin
2020-12-29  9:25                             ` Alexey V. Vissarionov
2020-12-29 10:34                               ` Dmitry V. Levin
2020-12-29  9:55                             ` Anton Farygin
2020-12-29 14:55                               ` [devel] exception for ocaml .cmxs files Dmitry V. Levin
2020-12-30 10:14                                 ` Anton Farygin
2020-12-28 20:30                 ` [devel] Ограничения сборочницы для virtualbox-6.1.14 и выше Alexey V. Vissarionov
2020-12-29  8:18                   ` Anton V. Boyarshinov
2020-12-29  8:31                     ` Alexey V. Vissarionov
2020-12-29 10:02                       ` Andrey Savchenko
2020-12-29  8:16           ` Anton V. Boyarshinov

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=CAK42-GpgaNh23189XNCVM5zCBgQabc03FYbKV3z5wzxTq-tWcg@mail.gmail.com \
    --to=sin@altlinux.org \
    --cc=devel@lists.altlinux.org \
    /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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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