Make-initrd development discussion
 help / color / mirror / Atom feed
From: Leonid Krivoshein <klark.devel@gmail.com>
To: make-initrd@lists.altlinux.org
Subject: Re: [make-initrd] master updated
Date: Wed, 24 Apr 2019 03:47:51 +0300
Message-ID: <fd12ec74-c436-3056-f39a-179c4414e025@gmail.com> (raw)
In-Reply-To: <20df48dc-071e-652f-b7df-31395f2a782f@gmail.com>


24.04.2019 02:02, Leonid Krivoshein пишет:
>
> 24.04.2019 01:57, Leonid Krivoshein пишет:
>>
>> 24.04.2019 01:48, Michael A. Kangin пишет:
>>> On 04/23/2019 04:26 PM, Alexey Gladkov wrote:
>>>
>>>> Я обновил master и исправил ряд багов, которые мы обсуждали в личке. 
>>>
>>> Great!
>>>
>>>
>>> - модуль ipv6 теперь добавляется;
>>>
>>
>> Во-во, даже disable_ipv6 не помогает! :-)
>> В смысле он не просто добавляется, v6 таки назначается на интерфейсах.
>>
>
> У-пс. Это я про предыдущую версию. Новую ещё не проверял...
>

В новой disable_ipv6 тоже неправильно сейчас обрабатывается. При 
disable_ipv6 адреса v6 на интерфейсах вообще не должны назначаться. И не 
уверен, что в этом случае должен грузиться модуль ipv6. К слову, он тоже 
знает об этом параметре ядра. Что-то тут не так. В код пока не залезал...

qemu-kvm \
     -no-user-config -nodefaults -cpu host -m 2048 \
     -balloon virtio -vga none -display none \
     -serial stdio -device virtio-rng \
     -netdev user,id=net0,restrict=no \
     -device virtio-net,netdev=net0,id=eth0 \
     -usb -kernel vmlinuz -initrd initrd.img \
     -append 'console=ttyS0,115200 RDSHELL STOP=,mountsrc, ip=dhcp4 
disable_ipv6'

[    0.000000] Linux version 5.0.8-un-def-alt1 
(builder@localhost.localdomain) (gcc version 8.3.1 20190311 (ALT 
Sisyphus 8.3.1-alt2) (GCC)) #1 SMP PREEMPT Wed Apr 17 08:51:44 UTC 2019
[    0.000000] Command line: console=ttyS0,115200 RDSHELL 
STOP=,mountsrc, ip=dhcp4 disable_ipv6
...
(initramfs)$ ls /var/log/udhcp*
/var/log/udhcpc4.eth0.log

(initramfs)$ cat /var/log/udhcpc4.eth0.log
udhcpc: started, v1.28.1
udhcpc: executing /lib/network/udhcpc4.script deconfig
udhcpc: entering listen mode: raw
udhcpc: created raw socket
udhcpc: sending discover
udhcpc: waiting 5 seconds
udhcpc: received a packet
udhcpc: sending select for 10.0.2.15
udhcpc: waiting 5 seconds
udhcpc: received a packet
udhcpc: lease of 10.0.2.15 obtained, lease time 86400
udhcpc: executing /lib/network/udhcpc4.script bound
udhcpc: entering listen mode: none

(initramfs)$ ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue qlen 1000
     link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
     inet 127.0.0.1/8 scope host lo
        valid_lft forever preferred_lft forever
     inet6 ::1/128 scope host
        valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast 
qlen 1000
     link/ether 52:54:00:12:34:56 brd ff:ff:ff:ff:ff:ff
     inet 10.0.2.15/24 brd 10.0.2.255 scope global eth0
        valid_lft forever preferred_lft forever
     inet6 fec0::5054:ff:fe12:3456/64 scope site dynamic
        valid_lft 86368sec preferred_lft 14368sec
     inet6 fe80::5054:ff:fe12:3456/64 scope link
        valid_lft forever preferred_lft forever

(initramfs)$ lsmod
Module                  Size  Used by
hid_generic            16384  0
hid                   135168  1 hid_generic
ipv6                  524288  10
crc_ccitt              16384  1 ipv6
ata_generic            16384  0
pata_acpi              16384  0
ata_piix               36864  0
libata                274432  3 ata_piix,pata_acpi,ata_generic
ide_pci_generic        16384  0
virtio_balloon         20480  0
virtio_net             57344  0
virtio_rng             16384  0
rng_core               16384  1 virtio_rng
net_failover           20480  1 virtio_net
failover               16384  1 net_failover
joydev                 24576  0
uhci_hcd               32768  0
ehci_hcd               61440  0
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
crc32c_intel           24576  0
piix                   16384  0
sha256_ssse3           32768  0
xts                    16384  0
ghash_clmulni_intel    16384  0
i2c_piix4              24576  0
psmouse               147456  0
evdev                  20480  0
input_leds             16384  0
i2c_core               81920  2 psmouse,i2c_piix4
ide_core              139264  2 piix,ide_pci_generic
pcspkr                 16384  0
serio_raw              16384  0
usbcore               253952  2 ehci_hcd,uhci_hcd
virtio_pci             28672  0
virtio_ring            28672  4 
virtio_rng,virtio_balloon,virtio_pci,virtio_net
virtio                 16384  4 
virtio_rng,virtio_balloon,virtio_pci,virtio_net
usb_common             16384  1 usbcore
intel_agp              24576  0
intel_gtt              24576  1 intel_agp
aesni_intel           372736  0
crypto_simd            16384  1 aesni_intel
cryptd                 28672  3 crypto_simd,ghash_clmulni_intel,aesni_intel
glue_helper            16384  1 aesni_intel
floppy                 90112  0
qemu_fw_cfg            16384  0
aes_x86_64             20480  1 aesni_intel
button                 16384  0
dm_crypt               40960  0
nfs                   286720  0
lockd                  98304  1 nfs
grace                  16384  1 lockd
sunrpc                380928  2 lockd,nfs
fscache               409600  1 nfs
af_packet              49152  0
dm_multipath           32768  0
dm_mod                151552  2 dm_crypt,dm_multipath
scsi_dh_rdac           16384  0
scsi_dh_emc            16384  0
scsi_dh_alua           20480  0
scsi_mod              249856  5 
scsi_dh_emc,dm_multipath,scsi_dh_alua,libata,scsi_dh_rdac


-- 
Best regards,
Leonid Krivoshein.



  parent reply	other threads:[~2019-04-24  0:47 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-23 14:26 Alexey Gladkov
2019-04-23 18:57 ` Leonid Krivoshein
2019-04-23 22:48 ` Michael A. Kangin
2019-04-23 22:57   ` Leonid Krivoshein
2019-04-24  0:47       ` Leonid Krivoshein [this message]
2019-04-26 10:05     ` Alexey Gladkov
2019-04-26 10:55       ` Leonid Krivoshein
2019-04-26 11:31         ` Michael Shigorin
2019-04-26 12:21         ` Alexey Gladkov
2019-04-24  1:01 ` Leonid Krivoshein
2019-04-24 10:09   ` Alexey Gladkov
2019-04-24 11:13     ` Leonid Krivoshein
2019-04-26 12:20       ` Alexey Gladkov
2019-04-26 12:32         ` Michael A. Kangin
2019-04-26 12:39           ` Alexey Gladkov
2019-04-26 17:43   ` [make-initrd] Feature multipath is broken (was: Re: master updated) Alexey Gladkov
2019-04-26 17:59     ` [make-initrd] Feature multipath is broken Leonid Krivoshein
2019-04-26 18:23       ` Michael Shigorin
2019-04-26 18:40         ` Leonid Krivoshein
2019-04-26 18:48           ` [make-initrd] NFS root (was: Feature multipath is broken) Michael Shigorin
2019-04-26 19:07             ` [make-initrd] NFS root Leonid Krivoshein
2019-04-26 19:55               ` Michael Shigorin
2019-04-29 17:06                 ` Leonid Krivoshein
2019-04-26 18:50           ` [make-initrd] Feature multipath is broken Alexey Gladkov
2019-04-26 18:43       ` Alexey Gladkov
2019-04-26 18:59         ` Leonid Krivoshein
2019-04-26 19:25           ` Alexey Gladkov
2019-04-24 16:43 ` [make-initrd] master updated Michael A. Kangin
2019-04-24 21:24   ` Alexey Gladkov

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=fd12ec74-c436-3056-f39a-179c4414e025@gmail.com \
    --to=klark.devel@gmail.com \
    --cc=make-initrd@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

Make-initrd development discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/make-initrd/0 make-initrd/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 make-initrd make-initrd/ http://lore.altlinux.org/make-initrd \
		make-initrd@lists.altlinux.org make-initrd@lists.altlinux.ru make-initrd@lists.altlinux.com
	public-inbox-index make-initrd

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


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