On 03/11/15 at 04:38pm, Minfei Huang wrote:
On 03/11/15 at 02:10pm, Dave Young wrote:
On 03/10/15 at 06:48pm, Minfei Huang wrote:
In order to enhance kdump to support ipv6, support the static ip with ipv6, which ipv4 has supported already.
Due to the different format with ipv4 and ipv6, dracut uses bracket"[]" to quote the ipv6 address to identify it in the 2nd kernel.
Looks good to me except one question below: Do we need fixup dev name with prefix kdump- in ipv6 path?
You means to fixup the $_srcaddr, if the ipv6 address is local-link?
Network will use command "ip -6 addr add fe80::5054:ff:fe0e:d5a8/64 dev eth1" to add the local-link. So it is fine for the ipv6 address without the prefix "kdump-".
Ok, so we will pass right kdump-ethX to 2nd kernel in other place then dracut will assign an ip to it, if this is the case. I'm fine with it.
Thanks Dave