Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××.net>
To: gentoo-user@l.g.o, Ralph Seichter <m16+gentoo@×××××××××××.net>
Subject: Re: [gentoo-user] Nameserver lookups fail on virtual server after Kernel upgrade from version 4.9 to 4.12
Date: Mon, 21 Aug 2017 06:14:18
Message-Id: 3B2D3BB9-2EBD-4C29-9168-18903E5176DF@stfw.net
In Reply to: Re: [gentoo-user] Nameserver lookups fail on virtual server after Kernel upgrade from version 4.9 to 4.12 by Ralph Seichter
1 Ah, so silentoldconfig is effectively the same as old config. I've not use it before and must have been confusing it with olddefconfig. Sorry for the noise.
2
3 Does your old kernel still work ad before? Just wondering if another update could have caused this.
4
5 On 20 August 2017 15:25:56 EEST, Ralph Seichter <m16+gentoo@×××××××××××.net> wrote:
6 >On 20.08.2017 08:17, Neil Bothwick wrote:
7 >
8 >> I'd try again with a clean kernel tree but using make oldconfig. It's
9 >> possible the automagic stuff answered n somewhere where you need a y.
10 >
11 >As https://wiki.gentoo.org/wiki/Kernel/Upgrade/en#make_silentoldconfig
12 >describes, "make silentoldconfig" (which I used) asks for a decision
13 >for
14 >all newly introduced kernel options.
15 >
16 >Most default to "no" anyway, but I have painstakingly read each of the
17 >new descriptions to figure out if I might need the options. I've done
18 >it
19 >several times, and I still cannot figure out if I missed anything. Here
20 >is a subset of the options I have configured, perhaps you can spot if
21 >something is amiss? Of course, grep VIRT is not exactly the most
22 >precise
23 >approach...
24 >
25 > ### Server 1 (high volume traffic)
26 > $ grep VIRT .config | sort
27 > CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y
28 > CONFIG_BLK_MQ_VIRTIO=y
29 > # CONFIG_DEBUG_VIRTUAL is not set
30 > # CONFIG_DMA_VIRT_OPS is not set
31 > CONFIG_DMA_VIRTUAL_CHANNELS=y
32 > # CONFIG_DRM_VIRTIO_GPU is not set
33 > # CONFIG_FB_VIRTUAL is not set
34 > CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
35 > CONFIG_HW_RANDOM_VIRTIO=y
36 > CONFIG_PARAVIRT_CLOCK=y
37 > # CONFIG_PARAVIRT_DEBUG is not set
38 > CONFIG_PARAVIRT_SPINLOCKS=y
39 > # CONFIG_PARAVIRT_TIME_ACCOUNTING is not set
40 > CONFIG_PARAVIRT=y
41 > CONFIG_SCSI_VIRTIO=y
42 > # CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set
43 > # CONFIG_VIRT_DRIVERS is not set
44 > CONFIG_VIRTIO_BALLOON=m
45 > # CONFIG_VIRTIO_BLK_SCSI is not set
46 > CONFIG_VIRTIO_BLK=y
47 > CONFIG_VIRTIO_CONSOLE=y
48 > # CONFIG_VIRTIO_INPUT is not set
49 > # CONFIG_VIRTIO_MMIO is not set
50 > CONFIG_VIRTIO_NET=y
51 > CONFIG_VIRTIO_PCI_LEGACY=y
52 > CONFIG_VIRTIO_PCI=y
53 > CONFIG_VIRTIO=y
54 > CONFIG_VIRT_TO_BUS=y
55 > # CONFIG_VIRTUALIZATION is not set
56 >
57 >I have since updated a second virtual Gentoo server to Kernel 4.12.
58 >This
59 >server sees a lot less network traffic, but after a couple of hours it
60 >runs into the same timeouts when attempting to contact resolvers.
61 >Kernel
62 >settings include:
63 >
64 > ### Server 2 (low volume traffic)
65 > $ grep VIRT .config | sort
66 > CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y
67 > CONFIG_BLK_MQ_VIRTIO=y
68 > # CONFIG_DEBUG_VIRTUAL is not set
69 > # CONFIG_DMA_VIRT_OPS is not set
70 > CONFIG_DMA_VIRTUAL_CHANNELS=y
71 > # CONFIG_DRM_VIRTIO_GPU is not set
72 > # CONFIG_FB_VIRTUAL is not set
73 > CONFIG_HAVE_VIRT_CPU_ACCOUNTING_GEN=y
74 > CONFIG_HW_RANDOM_VIRTIO=y
75 > CONFIG_PARAVIRT_CLOCK=y
76 > # CONFIG_PARAVIRT_DEBUG is not set
77 > CONFIG_PARAVIRT_SPINLOCKS=y
78 > # CONFIG_PARAVIRT_TIME_ACCOUNTING is not set
79 > CONFIG_PARAVIRT=y
80 > CONFIG_SCSI_VIRTIO=y
81 > # CONFIG_VIRT_CPU_ACCOUNTING_GEN is not set
82 > # CONFIG_VIRT_DRIVERS is not set
83 > CONFIG_VIRTIO_BALLOON=m
84 > # CONFIG_VIRTIO_BLK_SCSI is not set
85 > CONFIG_VIRTIO_BLK=y
86 > CONFIG_VIRTIO_CONSOLE=y
87 > # CONFIG_VIRTIO_INPUT is not set
88 > # CONFIG_VIRTIO_MMIO is not set
89 > CONFIG_VIRTIO_NET=y
90 > CONFIG_VIRTIO_PCI_LEGACY=y
91 > CONFIG_VIRTIO_PCI=y
92 > CONFIG_VIRTIO=y
93 > CONFIG_VIRT_TO_BUS=y
94 > CONFIG_VIRTUALIZATION=y
95 >
96 >As you can see, I used CONFIG_VIRTUALIZATION=y in this case, even
97 >though
98 >I believe this only affects running as a VM host. I carried this option
99 >over from the previous 4.9 kernel.
100 >
101 >-Ralph
102
103 --
104 Sent from my Android device with K-9 Mail. Please excuse my brevity.

Replies

Subject Author
Re: [gentoo-user] Nameserver lookups fail on virtual server after Kernel upgrade from version 4.9 to 4.12 Ralph Seichter <m16+gentoo@×××××××××××.net>