Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Some errors on dmesg
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
lunita
n00b
n00b


Joined: 06 Feb 2011
Posts: 39

PostPosted: Sun Oct 14, 2018 2:49 pm    Post subject: Some errors on dmesg Reply with quote

Hi all!

I've installed Gentoo on a Macbook Air 13,3'', from 2012 and is working but I want to clean up some errors that appear on boot. All the disk is dedicated to Gentoo, I wiped out OS X.

The kernel version used is 4.14.65, from gentoo-sources.

First of all, after GRUB menu has gone and start booting initramfs and kernel, I see this:

Code:

[    0.041004] ACPI: BIOS _OSI(Darwin) query honored via DMI
[    0.041413] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.041584] ACPI Error: Needed type [Reference], found [Integer] ffff9f6125b00678 (20170728/exresop-103)
[    0.041592] ACPI Exception: AE_AML_OPERAND_TYPE, While resolving operands for [OpcodeName unavailable] (20170728/dswexec-461)
[    0.041597] ACPI Error: Method parse/execution failed \_PR.CPU0._PDC, AE_AML_OPERAND_TYPE (20170728/psparse-550)


I was reviewing over and over the kernel and I don't see anything related to this, I suppose the problem is in GRUB config options or in initramfs, because after this error appears, it hangs for a couple of seconds and after I see the "vgchange" present in initramfs.



A second issue I'd to fix is remove this verbosity about disks found:

Code:

[    4.761757] EXT4-fs (dm-0): mounted filesystem with ordered data mode. Opts: (null)
[    5.045264] scsi 6:0:0:0: Direct-Access     APPLE    SD Card Reader   2.00 PQ: 0 ANSI: 0
[    5.045493] sd 6:0:0:0: Attached scsi generic sg1 type 0
[    5.046889] sd 6:0:0:0: [sdb] Attached SCSI removable disk


I've reviewed all the debug, early_printk options in kernel and are disabled. Which option I missed when compiling kernel?

Code:

[    4.719724] random: lvm: uninitialized urandom read (4 bytes read)
[    5.138465] random: lvm: uninitialized urandom read (4 bytes read)
[    6.034638] random: udevd: uninitialized urandom read (16 bytes read)
[    6.035055] random: udevd: uninitialized urandom read (16 bytes read)
[    6.035084] random: udevd: uninitialized urandom read (16 bytes read)
[    6.056264] udevd[3124]: starting eudev-3.2.5


About this, I've read that urandom starts after udev, and that could be the problem, but I don't want to mess with OpenRC and changing the order of services.


Someone has faced any of this 3 issues??? Any help would be appreciated.

Some info:

Grub CMD Line:
Code:

[    0.000000] Linux version 4.14.65-gentoo (root@rhaegal) (gcc version 7.3.0 (Gentoo 7.3.0-r3 p1.4)) #17 SMP Sun Oct 14 02:09:19 CEST 2018
[    0.000000] Command line: BOOT_IMAGE=/vmlinuz-4.14.65-gentoo root=/dev/mapper/rhaegal-root ro quiet dolvm rootfstype=ext4


Config:
[url]
https://pastebin.com/d6bHaCaC
[/url]

efibootmgr:
Code:

efibootmgr  -v
BootCurrent: 0001
Timeout: 5 seconds
BootOrder: 0001,0080
Boot0001* gentoo   HD(2,GPT,d36ae9cd-c754-4fa1-bf6b-872349b1f26b,0x1800,0x40000)/File(\EFI\gentoo\grubx64.efi)
Boot0080* Mac OS X   PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)/HD(3,GPT,d9f92be9-a2b8-458f-a33b-57787ddfbd5d,0x3a2a1158,0x135f28)
Boot0081* Mac OS X   PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)/HD(2,GPT,5983527b-18df-47e1-8ac3-7100f3b0d495,0x64028,0x3a23d130)
Boot0082*    PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)/HD(2,GPT,5983527b-18df-47e1-8ac3-7100f3b0d495,0x64028,0x3a23d130)
BootFFFF*    PciRoot(0x0)/Pci(0x1f,0x2)/Sata(0,0,0)/HD(2,GPT,00002d80-42b4-0000-3464-00000f0b0000,0x64028,0x3a23d138)/File(\System\Library\CoreServices\boot.efi)


Maybe is a recent kernel for HW from 6 years ago, I can test a older kernel, but I don't know which version test. I have a white screen during 5 seconds before GRUB menu appears, it can be related to the first issue?

KR
Back to top
View user's profile Send private message
n05ph3r42
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jul 2016
Posts: 134

PostPosted: Sun Oct 14, 2018 7:49 pm    Post subject: Reply with quote

You can play with
Code:
CONFIG_X86_VERBOSE_BOOTUP

and
Code:
CONFIG_CONSOLE_LOGLEVEL_DEFAULT
CONFIG_MESSAGE_LOGLEVEL_DEFAULT

kernel options to remove messages

As for ACPI "error" - AFAIK its BIOS/UEFI related, and you wont able to fix this, except you have tunable ACPI options in your BIOS/UEFI.

P.S. no need in older kernel. You should be able to remove all messages via methods described.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54244
Location: 56N 3W

PostPosted: Sun Oct 14, 2018 8:12 pm    Post subject: Reply with quote

lunita,

Turn off CONFIG_WARN_ALL_UNSEEDED_RANDOM to mute the uninitialized urandom read warnings.
They will still happen but you won't be informed.

If you don't want to see dmesg scroll by during boot, put quiet on the kernel command line.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
lunita
n00b
n00b


Joined: 06 Feb 2011
Posts: 39

PostPosted: Sun Oct 14, 2018 8:31 pm    Post subject: Reply with quote

Hi NeddySeagoon, n05ph3r42

Thanks for your replies!

That's my kernel lines related to your tips and debug/early strings (kernel_debug is related to "Expert" enabled option, it seems I can't disable it:
Code:

egrep -i '(verbose|loglevel|unseeded|early|debug)' /usr/src/linux/.config
CONFIG_ARCH_SUPPORTS_DEBUG_PAGEALLOC=y
CONFIG_FIX_EARLYCON_MEM=y
# CONFIG_DEBUG_BLK_CGROUP is not set
# CONFIG_CGROUP_DEBUG is not set
# CONFIG_DEBUG_PERF_USE_VMALLOC is not set
CONFIG_HAVE_DMA_API_DEBUG=y
CONFIG_X86_DEBUGCTLMSR=y
CONFIG_GENERIC_EARLY_IOREMAP=y
# CONFIG_DEBUG_HOTPLUG_CPU0 is not set
# CONFIG_PM_DEBUG is not set
# CONFIG_ACPI_DEBUGGER is not set
# CONFIG_ACPI_EC_DEBUGFS is not set
# CONFIG_ACPI_DEBUG is not set
# CONFIG_PCIEASPM_DEBUG is not set
# CONFIG_PCI_DEBUG is not set
# CONFIG_IP_ROUTE_VERBOSE is not set
# CONFIG_IP_DCCP_CCID2_DEBUG is not set
# CONFIG_IP_DCCP_CCID3_DEBUG is not set
# CONFIG_IP_DCCP_DEBUG is not set
# CONFIG_RDS_DEBUG is not set
# CONFIG_CAN_DEBUG_DEVICES is not set
# CONFIG_LIB80211_DEBUG is not set
# CONFIG_MAC80211_DEBUG_MENU is not set
# CONFIG_DEBUG_DRIVER is not set
# CONFIG_DEBUG_DEVRES is not set
# CONFIG_DEBUG_TEST_DRIVER_REMOVE is not set
# CONFIG_MTD_PMC551_DEBUG is not set
# CONFIG_PNP_DEBUG_MESSAGES is not set
# CONFIG_CB710_DEBUG is not set
CONFIG_CB710_DEBUG_ASSUMPTIONS=y
# CONFIG_AIC7XXX_DEBUG_ENABLE is not set
CONFIG_AIC7XXX_DEBUG_MASK=0
# CONFIG_AIC79XX_DEBUG_ENABLE is not set
CONFIG_AIC79XX_DEBUG_MASK=0
# CONFIG_AIC94XX_DEBUG is not set
# CONFIG_SCSI_MVSAS_DEBUG is not set
# CONFIG_SCSI_DEBUG is not set
# CONFIG_SCSI_OSD_DEBUG is not set
# CONFIG_ATA_VERBOSE_ERROR is not set
# CONFIG_BCACHE_DEBUG is not set
# CONFIG_BCACHE_CLOSURES_DEBUG is not set
# CONFIG_DM_DEBUG is not set
# CONFIG_DM_DEBUG_BLOCK_MANAGER_LOCKING is not set
# CONFIG_VXGE_DEBUG_TRACE_ALL is not set
CONFIG_MLX4_DEBUG=y
# CONFIG_B43_DEBUG is not set
CONFIG_B43LEGACY_DEBUG=y
# iwl3945 / iwl4965 Debugging Options
# CONFIG_IWLEGACY_DEBUG is not set
# Debugging Options
# CONFIG_IWLWIFI_DEBUG is not set
# CONFIG_HISAX_DEBUG is not set
# CONFIG_ISDN_CAPI_CAPIDRV_VERBOSE is not set
# CONFIG_GIGASET_DEBUG is not set
# CONFIG_NVM_DEBUG is not set
CONFIG_SERIAL_EARLYCON=y
# CONFIG_I2C_DEBUG_CORE is not set
# CONFIG_I2C_DEBUG_ALGO is not set
# CONFIG_I2C_DEBUG_BUS is not set
# CONFIG_PPS_DEBUG is not set
# CONFIG_DEBUG_PINCTRL is not set
# CONFIG_POWER_SUPPLY_DEBUG is not set
# CONFIG_HWMON_DEBUG_CHIP is not set
# CONFIG_SSB_DEBUG is not set
# CONFIG_BCMA_DEBUG is not set
# CONFIG_REGULATOR_DEBUG is not set
# CONFIG_VIDEO_ADV_DEBUG is not set
# CONFIG_USB_PWC_DEBUG is not set
# CONFIG_DRM_DEBUG_MM is not set
# CONFIG_DRM_DEBUG_MM_SELFTEST is not set
# drm/i915 Debugging
# CONFIG_DRM_I915_DEBUG is not set
# CONFIG_DRM_I915_SW_FENCE_DEBUG_OBJECTS is not set
# CONFIG_DRM_I915_DEBUG_VBLANK_EVADE is not set
# CONFIG_SND_VERBOSE_PROCFS is not set
# CONFIG_SND_VERBOSE_PRINTK is not set
# CONFIG_SND_DEBUG is not set
# CONFIG_USB_WUSB_CBAF_DEBUG is not set
# CONFIG_USB_STORAGE_DEBUG is not set
# CONFIG_USB_SERIAL_DEBUG is not set
# CONFIG_MMC_DEBUG is not set
# CONFIG_EDAC_DEBUG is not set
# CONFIG_RTC_DEBUG is not set
# CONFIG_DMADEVICES_DEBUG is not set
# CONFIG_EXT4_DEBUG is not set
# CONFIG_JBD2_DEBUG is not set
# CONFIG_FSCACHE_DEBUG is not set
# CONFIG_CACHEFILES_DEBUG is not set
# CONFIG_NTFS_DEBUG is not set
CONFIG_JFFS2_FS_DEBUG=0
# CONFIG_UFS_DEBUG is not set
# CONFIG_DLM_DEBUG is not set
CONFIG_CONSOLE_LOGLEVEL_DEFAULT=1
CONFIG_MESSAGE_LOGLEVEL_DEFAULT=1
# CONFIG_DEBUG_INFO is not set
# CONFIG_DEBUG_FS is not set
CONFIG_DEBUG_SECTION_MISMATCH=y
# CONFIG_DEBUG_FORCE_WEAK_PER_CPU is not set
CONFIG_DEBUG_KERNEL=y
# Memory Debugging
# CONFIG_DEBUG_PAGEALLOC is not set
# CONFIG_DEBUG_RODATA_TEST is not set
# CONFIG_DEBUG_OBJECTS is not set
# CONFIG_DEBUG_SLAB is not set
CONFIG_HAVE_DEBUG_KMEMLEAK=y
# CONFIG_DEBUG_KMEMLEAK is not set
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_VM is not set
CONFIG_ARCH_HAS_DEBUG_VIRTUAL=y
# CONFIG_DEBUG_VIRTUAL is not set
# CONFIG_DEBUG_MEMORY_INIT is not set
# CONFIG_DEBUG_PER_CPU_MAPS is not set
CONFIG_HAVE_DEBUG_STACKOVERFLOW=y
# CONFIG_DEBUG_STACKOVERFLOW is not set
# CONFIG_DEBUG_SHIRQ is not set
# Debug Lockups and Hangs
CONFIG_SCHED_DEBUG=y
# CONFIG_DEBUG_TIMEKEEPING is not set
# Lock Debugging (spinlocks, mutexes, etc...)
# CONFIG_DEBUG_RT_MUTEXES is not set
# CONFIG_DEBUG_SPINLOCK is not set
# CONFIG_DEBUG_MUTEXES is not set
# CONFIG_DEBUG_WW_MUTEX_SLOWPATH is not set
# CONFIG_DEBUG_LOCK_ALLOC is not set
# CONFIG_DEBUG_ATOMIC_SLEEP is not set
# CONFIG_DEBUG_LOCKING_API_SELFTESTS is not set
# CONFIG_WARN_ALL_UNSEEDED_RANDOM is not set
# CONFIG_DEBUG_KOBJECT is not set
# CONFIG_DEBUG_LIST is not set
# CONFIG_DEBUG_PI_LIST is not set
# CONFIG_DEBUG_SG is not set
# CONFIG_DEBUG_NOTIFIERS is not set
# CONFIG_DEBUG_CREDENTIALS is not set
# RCU Debugging
# CONFIG_RCU_EQS_DEBUG is not set
# CONFIG_DEBUG_WQ_FORCE_RR_CPU is not set
# CONFIG_DEBUG_BLOCK_EXT_DEVT is not set
# CONFIG_DMA_API_DEBUG is not set
# CONFIG_X86_VERBOSE_BOOTUP is not set
# CONFIG_EARLY_PRINTK is not set
# CONFIG_DEBUG_WX is not set
# CONFIG_DEBUG_TLBFLUSH is not set
# CONFIG_CPA_DEBUG is not set
# CONFIG_DEBUG_ENTRY is not set
# CONFIG_DEBUG_NMI_SELFTEST is not set
# CONFIG_X86_DEBUG_FPU is not set
# CONFIG_PUNIT_ATOM_DEBUG is not set


I assumed LOGLEVEL is the less verbose as the number is smaller, so 1 should be the better for my intention.

My grub line includes "quiet", I assume that's Neddy was talking about. That's the new line I'm testing on:

Code:

GRUB_CMDLINE_LINUX="quiet dolvm rootfstype=ext4 video=vesafb:mtrr:3,ywrap vga=0x037f console=tty1 acpi_backlight=vendor acpi_osi=!!"


KR,[/code]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum