Age | Commit message (Collapse) | Author |
|
This fix solves the problem with indirection. We introduce a symlink
in /live/image/boot pointing to the current default system image. The
pygrub config file in /boot/grub/menu.lst points to the kernel and
initrd files in the default image by using this symlink in the
pathname.
Every time we add, delete or change the default system image, we need
to change this symlink to point to the new default image.
|
|
Previously, the install-image program was adding a line to
/etc/inittab in the image being installed. This change adds a console
entry to the Vyatta config file instead. Because of that entry, the
system automatically generates a console entry for hvc0 in
/etc/inittab at boot time.
I also removed the code in install-image that added a line to
/etc/fstab to mount /proc/xen. This is no longer necessary because
the /etc/init.d/xe-linux-distribution startup script now mounts
/proc/xen.
|
|
|
|
|
|
|
|
Bug 7408
Only set mac address if it is different, and try first with
link up (many drivers allow it).
Don't use hw-id as mac address, hw-id is meant for corelating
names with addresses (in udev).
|
|
Previously, the user could only select the running config file, which
includes any changes the user may have made and saved, plus system
generated changes such as the MAC addresses of ethernet interfaces.
This change allows them to select that file or the system's default
config file.
|
|
(cherry picked from commit c78c504b6a63b2af51ae02f51cf1c447dd945818)
|
|
(cherry picked from commit d891558527fdc077b8c0b37c24cb8b17a2ae7043)
|
|
|
|
interface in the working config before allowing an address to be set on an interface, allows for swapping addresses in the same commit
|
|
|
|
In order to allow username and password parameters in the
corresponding op mode command, we allow username and password to be
specified on the install-image command line.
|
|
|
|
1. Fix thread_per_core -- now a global variable
2. Add documentation about where still broken with offline cpus
3. Break out hamming weight function (might be used to fix #2)
Tested on UP, 4 core x 2 thread, 8 socket (virt) and Multiqueue
and single queue NIC.
|
|
Change to using sysfs to read cpu topology. This makes code more
robust and follow the standard practice of other utilities.
As an added benefit, irq-affinty now handles offline cpu's and
other cases where cpu numbers are not fully populated.
|
|
|
|
On a UP system, there is no "physical-id" in /proc/cpuinfo.
|
|
Rather than reinventing existing code, use library.
|
|
Some single-queue NICs use the multiqueue IRQ naming format
(e.g. eth0-rx-0). We need to select the CPU assignements for these
IRQs using the same algorithm that we use for single-queue NICs using
the standard naming format (e.g. eth0).
|
|
|
|
|
|
|
|
For routing and other applications it is helpful to provide some
mechanism to reserve some set of CPU's and not assign interface
IRQ's to them.
Uses environment variable VYATTA_IRQAFFINITY_BANNED_CPUS
as mechanism similar to irqbalance(8).
|
|
|
|
left over from conversion to new grub.
|
|
|
|
|
|
Multiqueue setup was broken ixgbe because of s/assign/assing/
|
|
|
|
/opt/vyatta/etc/config
|
|
|
|
The script was looking up hostname and setting $LOGFILE, but
these parts are never used in current code.
|
|
|
|
|
|
Bug 7063
Need to convert MAC octets from hex to numeric before doing
math operations.
|
|
Bug 7062
The irq's on Netxen NIC are named:
eth0[0] eth0[1] eth0[2] ...
This confuses the auto IRQ affinity script.
|
|
|
|
The 'terminal' config statement is replaced by terminal_input and
terminal_output.
|
|
Need to pass correct offset for start of root partition
|
|
On tiny disks, then it doesn't make sense to waste space by offsetting
root partition. On big disks, it doesn't hurt and it allows for running
on SSD.
|
|
Bug 7032 (reprise)
Since there are various forms of multi-queue naming, it is better
to just go with the simplest pattern which is to take all the irq's
of form ethX-... and sort them.
|
|
Bug 7032
Fix matchinging of irq's named 'eth0-TxRx-0'. And change the code to
handle any form of IRQ naming of multiqueue that is eth0-xxx-0.
|
|
Parted has magic value '0%' which causes it to choose optimum
alignment (2048 on most disks).
|
|
Redo Bug 7038
The previous change did nothing; the alignment option only reports
alignment, it does not change values. Need to manually reserve space
before root partition.
|
|
Bug 7038
Align the created disk partition for both install-system and initial
install-image.
Note: can't fix existing systems where disk is already partitioned.
They will just have to suffer with poor performance.
|
|
* added /config/scripts/vyatta-postconfig-bootup.script that gets called from
/etc/rc.local. Users/Support can put in any workarounds in the script for
unfixed bugs and enhancements that are not in Vyatta yet. Placing the
script under /config makes sure that changes to the script will be
preserved for the new image
|
|
This script executes scripts lying in the following directory:
/opt/vyatta/bin/sudo-users/check-params-on-reboot.d
Scripts in check-params-on-reboot.d are intended for parameters
that require a reboot to take effect after they are set/changed.
Because of the reboot requirement, underlying value and related
config paramter value can become out-of-sync in couple of cases:
1. change parameter value, don't save config, reboot. Underlying
value is different than the value in config file.
2. install new image; when new image boots, underlying value is
the default Vyatta shipped value not the value in config file.
More info: http://bugzilla.vyatta.com/show_bug.cgi?id=6915#c1
This check-in also adds ipv6_disable_blacklist script in
check-params-on-reboot.d to fix the above mentioned problem
for 'system ipv6 disable' and 'system ipv6 blacklist'
|
|
to push users towards putting scripts in /config/scripts
|
|
|