Currently if acpi=off option enabled Porteus starts with this error:
RTNETLINK1 answer: No such file or directory
acpid: error talking to the kernel via netlink
For Porteus `acpi=off` have to be implemented correсtly in boot scripts and described in documentation.
1. Patching current Porteus boot scripts:
Current /etc/rc.d/rc.M
Code: Select all
67 # Start ACPI daemon:
68 [ -x /etc/rc.d/rc.acpid ] && /usr/sbin/acpid -n &
Need to add checking before start acpid, if not equial acpi=off then start daemon
Change to /etc/rc.d/rc.M:
Code: Select all
67 # Start ACPI daemon:
68 if ! egrep -qo " acpi=off( |\$)" /proc/cmdline; then
69 [ -x /etc/rc.d/rc.acpid ] && /usr/sbin/acpid -n &
70 fi
Code: Select all
4# Start acpid:
5 acpid_start() {
6 if [ -x /usr/sbin/acpid -a -d /proc/acpi ]; then
7 echo "Starting ACPI daemon: /usr/sbin/acpid"
8 /usr/sbin/acpid
9 fi
Code: Select all
4# Start acpid:
5 acpid_start() {
6 if ! egrep -qo " acpi=off( |\$)" /proc/cmdline; then
7 if [ -x /usr/sbin/acpid -a -d /proc/acpi ]; then
8 echo "Starting ACPI daemon: /usr/sbin/acpid"
9 /usr/sbin/acpid
10 fi
11 else
12 echo "ACPI daemon: it seems acpi=off boot parametr used."
13 fi
2. Please add descr. of acpi=off option to Porteus boot/docs/cheatcodes.txt:
After 'zram=some_value%':
Code: Select all
acpi=off
... disable ACPI on boot stage, may use with debug option.
Correct value is only `off`
Example: 'acpi=off'