NSA325v2 - No IPv6 Address assigned.

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

NSA325v2 - No IPv6 Address assigned.

Postby 9tawan » Sat Mar 23, 2019 12:51 am

Hi,

I've just noticed that my NAS does not have IPv6 address.

$this->bbcode_second_pass_code('', '#ip -6 address
#')

return nothing.

When I tried to ping with IPv6 address, the error 'Address family for hostname not supported' shows.

$this->bbcode_second_pass_code('', '# ping ff02::1%eth0
ping: ff02::1%eth0: Address family for hostname not supported')

I've digged through dmesg and found nothing. However when I look at the journal on the last few boots before, I found that there are assertion on the last boot I can open the journal (boot #-5). Older boot is not available.

$this->bbcode_second_pass_code('', 'journalctl -b -5 | grep v6
Sep 15 03:21:56 alarm kernel: mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
Sep 15 03:21:56 alarm kernel: mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 5c:f4:ab:e7:c9:cb
Sep 15 03:22:01 alarm kernel: mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
Nov 15 02:30:50 alarm kernel: mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
Nov 15 02:49:04 alarm systemd-networkd[212]: eth0: Gained IPv6LL
Nov 15 02:49:04 alarm systemd-networkd[212]: Assertion 'link->dhcp6_client' failed at ../systemd-stable/src/network/networkd-link.c:1632, function link_acquire_ipv6_conf(). Aborting.
Nov 15 02:49:05 alarm systemd-networkd[1820]: eth0: Gained IPv6LL')

In the next boot, this assertion failed has gone entirely. There is on Gained IPv6LL in the journal at all too.

$this->bbcode_second_pass_code('', '# journalctl -b -4 | grep v6
Sep 15 03:21:56 alarm kernel: mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4
Sep 15 03:21:56 alarm kernel: mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 5c:f4:ab:e7:c9:cb
Sep 15 03:22:02 alarm kernel: mv643xx_eth_port mv643xx_eth_port.0 eth0: link down
Sep 15 03:22:06 alarm kernel: mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabled
')

I don't think there's configuration change on this machine. However the software/kernal was updated a few times along the way. Is there any changes on the kernel/kernel module that might course this ?
9tawan
 
Posts: 5
Joined: Sun Dec 06, 2015 8:01 pm

Re: NSA325v2 - No IPv6 Address assigned.

Postby summers » Sat Mar 23, 2019 7:23 am

I,be just done an update on my nsa325, and after reboot IPv6 came up fine. I,m about to head out - but when I get back I,ll check some more.
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: NSA325v2 - No IPv6 Address assigned.

Postby summers » Sat Mar 23, 2019 5:33 pm

OK just back. Can you try $this->bbcode_second_pass_code('', 'lsmod') I get
$this->bbcode_second_pass_code('', '[summers@nas ~]$ lsmod
Module Size Used by
cfg80211 551533 0
rfkill 16962 2 cfg80211
8021q 18279 0
nft_reject_inet 1559 1
nf_reject_ipv4 2364 1 nft_reject_inet
nf_reject_ipv6 2810 1 nft_reject_inet
nft_reject 1587 1 nft_reject_inet
nft_ct 8622 2
nf_tables_set 23173 1
nft_masq_ipv4 1103 1
nft_masq 1320 1 nft_masq_ipv4
nft_chain_nat_ipv4 1060 2
nf_nat_ipv4 5239 2 nft_chain_nat_ipv4,nft_masq_ipv4
nf_nat 14184 1 nf_nat_ipv4
nf_conntrack 87215 5 nft_ct,nft_masq,nft_masq_ipv4,nf_nat_ipv4,nf_nat
nf_defrag_ipv6 6998 1 nf_conntrack
nf_defrag_ipv4 1524 1 nf_conntrack
nf_tables 100566 32 nft_ct,nft_chain_nat_ipv4,nft_reject,nf_tables_set,nft_masq,nft_reject_inet,nft_masq_ipv4
nfnetlink 5552 1 nf_tables
btrfs 1332143 1
xor 4225 1 btrfs
zstd_compress 172290 1 btrfs
rtc_pcf8563 6342 0
raid6_pq 87334 1 btrfs
zstd_decompress 55114 1 btrfs
cdc_acm 17090 0
cdc_ether 5346 0
usbnet 20077 1 cdc_ether
mii 5373 1 usbnet
marvell_cesa 31383 0
i2c_mv64xxx 8110 0
ip_tables 11147 0
x_tables 16467 1 ip_tables
ipv6 411967 37 nf_reject_ipv6')

Some of those you don't need, usbnet and cdc_ether are my beagles on usb ethernet. btrfs is my back up file system. nf* is for the firewall between beagles and the router. So other than those you should have most of the rest - so check.

My guess is you are missing ipv6 ...
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm

Re: NSA325v2 - No IPv6 Address assigned.

Postby 9tawan » Sat Mar 23, 2019 8:10 pm

$this->bbcode_second_pass_quote('summers', 'M')y guess is you are missing ipv6 ...


Your guess is right. In fact, my lsmod return nothing.

So basically, my kernel was older version than the modules. This happens because the boot partition is not mounted at the time I updated the kernel. The kernel inside the boot partition is not get updated. After I replace the module in the boot partition, IPv6 is back.

Well it is quite embarrasing :oops: :oops:

Thank you for your help.
9tawan
 
Posts: 5
Joined: Sun Dec 06, 2015 8:01 pm

Re: NSA325v2 - No IPv6 Address assigned.

Postby summers » Sun Mar 24, 2019 9:03 am

I guess you have the original file system layout with an ext2 /boot partition? Alas that was needed because the uboot that came with the box, only understands ext2. However if you update the uboot, that can access ext4; so I removed the /boot partition and went to just one big /. That makes maintenance easier.

Guess the only hassle with this, is only easy way to do this, is after updating uboot - to pull the hdd and rewrite it in the new format on a second machine.
summers
 
Posts: 984
Joined: Sat Sep 06, 2014 12:56 pm


Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 10 guests