Re: [lfs-support] halt does not turn off computer

2016-07-07 Thread Dutch Ingraham
On Thu, Jul 07, 2016 at 09:01:16PM -0300, Marcos Pansani wrote:
> I appeal to you once again.
> 
> After finishing the book LFS 7.9-systemd and after starting the system.
> This working correctly, but when I give the command "halt" to turn off the
> computer, after the message on the console, the computer does not turn off,
> I have to press the power button to turn off the CPU.
> 
> If I press the power button on the CPU without writing the halt command, it
> turns off the regular computer.
> 
> I know it's a kernel configuration but I can not find what is missing 
> 
> Can you help me
> 
> I am pasting a part of the kernel configuration that I would be where the
> ACPI configuration:


See man(8) halt, poweroff; you need the -p flag to poweroff.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Flashing message on the console

2016-07-07 Thread Rob
Marcos Pansani  wrote:
> From time to time on the island, is popping up a message that I believe is a
> log or warning that a certain USB device connects or disconnects ...

You can turn this off by editing
/etc/sysconfig/console
and changing loglevel to 4.
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] Flashing message on the console

2016-07-07 Thread Marcos Pansani
>From time to time on the island, is popping up a message that I believe is a
log or warning that a certain USB device connects or disconnects ...

This happens with keyboard and mouse.

It keeps popping up like so:

Jul 07 20:28:21 lfs kernel: usb 1-1.3: USB disconnect, device number 3
Jul 07 20:28:22 lfs kernel: usb 1-1.3: new low-speed USB device using number
5 ehci-pci
Jul 07 20:28:22 lfs kernel: input: Lenovo USB Optical Mouse the
/devices/pci:00/:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/0003: 17EF:
6019.0005 / input / input18
Jul 07 20:28:22 lfs kernel: hid-generic 0003: 17EF: 6019.0005: input,
hidraw0: USB HID Mouse v1.11 [Lenovo USB Optical Mouse] on USB-: 00:
1a.0-1.3 / input0

The keyboard and mouse works normal, only the message that irritates
appearing all the time ...

Would anyone know how disabilito this ???

Thank you

Marcos
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] halt does not turn off computer

2016-07-07 Thread Glendon Blount
Try "shutdown now" my experience with halt is that it just brings down the
run levels
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] halt does not turn off computer

2016-07-07 Thread Marcos Pansani
I appeal to you once again.

After finishing the book LFS 7.9-systemd and after starting the system.
This working correctly, but when I give the command "halt" to turn off the
computer, after the message on the console, the computer does not turn off,
I have to press the power button to turn off the CPU.

If I press the power button on the CPU without writing the halt command, it
turns off the regular computer.

I know it's a kernel configuration but I can not find what is missing 

Can you help me

I am pasting a part of the kernel configuration that I would be where the
ACPI configuration:

#
# Power management and ACPI options
#
CONFIG_ARCH_HIBERNATION_HEADER=y
CONFIG_SUSPEND=y
CONFIG_SUSPEND_FREEZER=y
CONFIG_HIBERNATE_CALLBACKS=y
CONFIG_HIBERNATION=y
CONFIG_PM_STD_PARTITION=""
CONFIG_PM_SLEEP=y
CONFIG_PM_SLEEP_SMP=y
# CONFIG_PM_AUTOSLEEP is not set
# CONFIG_PM_WAKELOCKS is not set
CONFIG_PM=y
CONFIG_PM_DEBUG=y
# CONFIG_PM_ADVANCED_DEBUG is not set
# CONFIG_PM_TEST_SUSPEND is not set
CONFIG_PM_SLEEP_DEBUG=y
CONFIG_PM_TRACE=y
CONFIG_PM_TRACE_RTC=y
# CONFIG_WQ_POWER_EFFICIENT_DEFAULT is not set
CONFIG_ACPI=y
CONFIG_ACPI_LEGACY_TABLES_LOOKUP=y
CONFIG_ARCH_MIGHT_HAVE_ACPI_PDC=y
CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT=y
# CONFIG_ACPI_DEBUGGER is not set
CONFIG_ACPI_SLEEP=y
# CONFIG_ACPI_PROCFS_POWER is not set
CONFIG_ACPI_REV_OVERRIDE_POSSIBLE=y
# CONFIG_ACPI_EC_DEBUGFS is not set
CONFIG_ACPI_AC=y
CONFIG_ACPI_BATTERY=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_VIDEO=y
CONFIG_ACPI_FAN=y
CONFIG_ACPI_DOCK=y
CONFIG_ACPI_CPU_FREQ_PSS=y
CONFIG_ACPI_PROCESSOR_IDLE=y
CONFIG_ACPI_PROCESSOR=y
CONFIG_ACPI_HOTPLUG_CPU=y
# CONFIG_ACPI_PROCESSOR_AGGREGATOR is not set
CONFIG_ACPI_THERMAL=y
# CONFIG_ACPI_CUSTOM_DSDT is not set
# CONFIG_ACPI_INITRD_TABLE_OVERRIDE is not set
# CONFIG_ACPI_DEBUG is not set
# CONFIG_ACPI_PCI_SLOT is not set
CONFIG_X86_PM_TIMER=y
CONFIG_ACPI_CONTAINER=y
CONFIG_ACPI_HOTPLUG_IOAPIC=y
# CONFIG_ACPI_SBS is not set
# CONFIG_ACPI_HED is not set
# CONFIG_ACPI_CUSTOM_METHOD is not set
# CONFIG_ACPI_BGRT is not set
# CONFIG_ACPI_REDUCED_HARDWARE_ONLY is not set
# CONFIG_ACPI_NFIT is not set
CONFIG_HAVE_ACPI_APEI=y
CONFIG_HAVE_ACPI_APEI_NMI=y
# CONFIG_ACPI_APEI is not set
# CONFIG_ACPI_EXTLOG is not set
# CONFIG_PMIC_OPREGION is not set
# CONFIG_SFI is not set
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] dmesg does not create .log

2016-07-07 Thread Thanos Baloukas

On 07/07/2016 05:02 μμ, Marcos Pansani wrote:

OK folks

After compiling the LFS 7.9-systemd, and after the first boot, I noticed
that is not created the kernel log file in the var / log folder.

The dmesg has been properly installed by util-linux package, when I go
with the dmesg command in the console, it shows on the screen the log
boot, but the file would have to be created in the folder var / log does
not exist 

Does anyone know how to solve?, The file is very useful to look for
problems in the sitema boot.

Thank you

Marcos



The explanation for that is in /var/log/README

--
Thanos
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] Error kernel panic LFS 7.9-systemd - RESOLVED

2016-07-07 Thread Marcos Pansani
managed to solve the problem, I have the habit of always using the .config
file of the last kernel compiled in the previous book not to be
reconfiguring the whole kernel again.

I used the make command defconfig without taking the previous kernel
configuration and finally del boot the LFS \ o /

Something he took the old man who hurt the success of the boot.

It was just bad kernel set that was giving this error.

Thank you all.

Marcos
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


[lfs-support] dmesg does not create .log

2016-07-07 Thread Marcos Pansani
OK folks

After compiling the LFS 7.9-systemd, and after the first boot, I noticed
that is not created the kernel log file in the var / log folder.

The dmesg has been properly installed by util-linux package, when I go with
the dmesg command in the console, it shows on the screen the log boot, but
the file would have to be created in the folder var / log does not exist


Does anyone know how to solve?, The file is very useful to look for
problems in the sitema boot.

Thank you

Marcos
-- 
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style


Re: [lfs-support] Error kernel panic LFS 7.9-systemd

2016-07-07 Thread Thanos Baloukas

On 07/07/2016 06:00 πμ, Marcos Pansani wrote:

All right with you...

I continue with kernel panic issue after compiling LFS 7.9-systemd.

I started again from scratch and redid the book again, but I did not
succeed ... :(

I continue with the errors in the boot:

Starting Init: / sbin / init exists but could not execute it (error -8)
Starting Init: / bin / sh exists but could not execute it (error -8)
kernel panic -not syncing: not working init found. Try passing init =
option to kernel

I went with the following commands in the chroot:

root: / # ldd / bin / sh
 linux-vdso.so.1 (0x7ffc126cd000)
 libreadline.so.6 => /lib/libreadline.so.6 (0x7f7d8ff64000)
 libhistory.so.6 => /lib/libhistory.so.6 (0x7f7d8fd5c000)
 libncursesw.so.6 => /lib/libncursesw.so.6 (0x7f7d8faf2000)
 libdl.so.2 => /lib/libdl.so.2 (0x7f7d8f8ee000)
 libc.so.6 => /lib/libc.so.6 (0x7f7d8f54d000)
 /lib64/ld-linux-x86-64.so.2 (0x7f7d901a9000)
root: / # ldd / sbin / init
 linux-vdso.so.1 (0x7ffd4a567000)
 libcap.so.2 => /lib/libcap.so.2 (0x7f9951232000)
 librt.so.1 => /lib/librt.so.1 (0x7f995102a000)
 libattr.so.1 => /lib/libattr.so.1 (0x7f9950e26000)
 libkmod.so.2 => /lib/libkmod.so.2 (0x7f9950c11000)
 libmount.so.1 => /lib64/libmount.so.1 (0x7f99509cb000)
 libpthread.so.0 => /lib/libpthread.so.0 (0x7f99507ae000)
 libc.so.6 => /lib/libc.so.6 (0x7f995040d000)
 /lib64/ld-linux-x86-64.so.2 (0x7f9951436000)
 liblzma.so.5 => /lib/liblzma.so.5 (0x7f99501e8000)
 libz.so.1 => /lib/libz.so.1 (0x7f994ffcf000)
 libblkid.so.1 => /lib64/libblkid.so.1 (0x7f994fd8f000)
 libuuid.so.1 => /lib64/libuuid.so.1 (0x7f994fb8b000)

That appears to be all satisfied ...

I tried running the init by chroot, the following message appears:

root: / # init
Could not find an alternative telinit implementation to spawn.

Does this help in something to try to unravel this mystery?

Is it by chance, some kernel configuration could interfere with this error?

Thank you

Marcos



There are some weird spaces in the error messages and the commands:

Starting Init: / sbin / init exists but could not execute it (error -8)
root: / # ldd / bin / sh

Where do they come from?

Pierre suggested to run the file command but you must have missed that.
file /lib/systemd/systemd
file /bin/bash

Error 8 is exec format error
What is the host? Is it x86-64?
The relevant kernel CONFIGs must be

CONFIG_64BIT=y
CONFIG_X86_64=y
CONFIG_X86=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"

Are the settings root= in /boot/grub/grub.cfg
and / (root partition) in /etc/fstab consistent?
That's all I can think of.

--
Thanos
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Do not top post on this list.

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

http://en.wikipedia.org/wiki/Posting_style