Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Upgrade to 17.1 from 17.0 problem
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
F_
Tux's lil' helper
Tux's lil' helper


Joined: 31 Dec 2006
Posts: 136

PostPosted: Fri Jun 07, 2019 8:52 pm    Post subject: Upgrade to 17.1 from 17.0 problem Reply with quote

Hi everyone,

I'm trying to upgrade to 17.1 from 17.0, but I'm running into an error during the migration. The error message tells me to inspect the backtrace, but I can't seem to find it. Any help would be appreciated.

Code:

# unsymlink-lib --analysis
Analyzing files installed into lib & lib64...

directories that will be moved to /lib/:
        udev
        firmware
        rc
        systemd
        modprobe.d
        gentoo
        bootchart
        netifrc
        (+ 0 files)

directories whose contents will be split between /lib/ and /lib64/:
        dhcpcd

orphan files (not owned by any package) that will be moved to /lib/:
        splash
        cpp
        modules

directories that will be moved to /usr/lib/:
        plan9
        portage
        gcc
        tmpfiles.d
        grub
        python-exec
        kbd
        systemd
        polkit-1
        crda
        jvm
        llvm
        debug
        (+ 1 files)

directories whose contents will be split between /usr/lib/ and /usr/lib64/:
        wine-vanilla-4.0
        ConsoleKit

orphan files (not owned by any package) that will be moved to /usr/lib/:
        avahi
        cracklib_dict.hwm
        cracklib_dict.pwi
        postgresql
        cracklib_dict.pwd
        cups
        pango
        libxslt-plugins
        klibc
        ghostscript
        metasploit

orphan files (not owned by any package) that will be kept in /usr/lib64/:
        liblapack.so
        libdb.a
        libsoftokn3.chk
        liblapack.so.0
        libblas.so
        libpgtypes.so.3
        libpq.so.5.9
        liblapack.so.3
        libfreebl3.chk
        libdb_stl.a
        libblas.so.3
        libdb_sql.a
        libpqwalreceiver.so
        libecpg.so.6
        libblas.a
        libpgtypes.so
        libblas.so.0
        libpq.so
        libdb.so
        libecpg_compat.so
        libpgtypes.so.3.7
        libecpg.so.6.8
        libecpg.so
        libnssdbm3.chk
        liblapack.a
        libdb_stl.so
        libdb_cxx.a
        libecpg_compat.so.3.8
        libdb_sql.so
        libpq.so.5
        libecpg_compat.so.3
        libdb_cxx.so

directories that will be moved to /usr/local/lib/:
        (+ 0 files)

directories whose contents will be split between /usr/local/lib/ and /usr/local/lib64/:

orphan files (not owned by any package) that will be moved to /usr/local/lib/:
        R


The state has been saved and the migration is ready to proceed.
To initiate it, please run:

        /usr/lib/python-exec/python3.6/unsymlink-lib --migrate

Please do not perform any changes to the system at this point.
If you performed any changes, please rerun the analysis.


Code:

# /usr/lib/python-exec/python3.6/unsymlink-lib --migrate
[/lib32] & /lib -> /lib.new ...
cp: error reading '/lib/modules/4.1.12-gentoo/kernel/drivers/infiniband/hw/cxgb4/iw_cxgb4.ko': Input/output error
Non-successful return from cp: 1

An error occurred while creating the "lib.new" directories. Please look
at the backtrace following this message for details. The partially
created "lib.new" directories were left in case they were useful
for determining the cause of the error.

Once you determine the cause of the error and would like to retry,
please use the --force-rollback action to reset your system.


Code:

# unsymlink-lib --force-rollback
Updating: /lib -> lib64 ...
Updating: /usr/lib -> lib64 ...
Updating: /usr/local/lib -> lib64 ...
Removing: /lib.new ...
Removing: /usr/lib.new ...
Removing: /usr/local/lib.new ...


Rollback complete. Your system should now be as before the migration.
Please look into fixing your issues and try again.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13734

PostPosted: Sat Jun 08, 2019 12:52 am    Post subject: Reply with quote

That error handler appears to be a bit too generic. However, we don't need a backtrace for this. We need to understand (1) why you have such old kernel modules still installed and (2) why attempting to read them raised Input/output error. I/O error is generally something that needs to be understood and investigated, not ignored. Start by checking dmesg for warnings from your kernel. Also, run a smartctl -a on the drive(s) involved in your root filesystem. You may want to run a SMART self-test on them too.
Back to top
View user's profile Send private message
F_
Tux's lil' helper
Tux's lil' helper


Joined: 31 Dec 2006
Posts: 136

PostPosted: Tue Jun 11, 2019 7:58 pm    Post subject: Reply with quote

Hu wrote:
That error handler appears to be a bit too generic. However, we don't need a backtrace for this. We need to understand (1) why you have such old kernel modules still installed and (2) why attempting to read them raised Input/output error. I/O error is generally something that needs to be understood and investigated, not ignored. Start by checking dmesg for warnings from your kernel. Also, run a smartctl -a on the drive(s) involved in your root filesystem. You may want to run a SMART self-test on them too.


Hi Hu,

Thanks for your e-mail. I just upgraded my kernel (using genkernel) to linux-4.19.44. The output of that is shown below. I have never used anything besides genkernel, so I'm not sure why or how such old kernel modules are still installed.

dmesg shows some errors, which I've selectively pasted below, and running "smartctl -a /dev/sda" generates no major flags, at least at first glance. Snippets of both are pasted below. How can I tell if these issues (which are few) are related to the issue preventing me from migrating to 17.1?


Code:

/root # smartctl -a /dev/sda
smartctl 7.0 2018-12-30 r4883 [x86_64-linux-4.19.27-gentoo-r1] (local build)
Copyright (C) 2002-18, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     SAMSUNG MZ7PA128HMCD-010L1
Serial Number:    S0MUNEABB15649
Firmware Version: AXM08L1Q
User Capacity:    128,035,676,160 bytes [128 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    Solid State Device
Device is:        Not in smartctl database [for details use: -P showall]
ATA Version is:   ATA8-ACS, ATA/ATAPI-7 T13/1532D revision 1
SATA Version is:  SATA 2.6, 3.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Tue Jun 11 15:26:36 2019 EST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever
                                        been run.
Total time to complete Offline
data collection:                (  840) seconds.
Offline data collection
capabilities:                    (0x5b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        No Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        (  14) minutes.

SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  9 Power_On_Hours          0x0032   098   098   ---    Old_age   Always       -       8530
 12 Power_Cycle_Count       0x0032   099   099   ---    Old_age   Always       -       687
175 Program_Fail_Count_Chip 0x0032   099   099   ---    Old_age   Always       -       1
176 Erase_Fail_Count_Chip   0x0032   100   100   ---    Old_age   Always       -       0
177 Wear_Leveling_Count     0x0013   099   099   ---    Pre-fail  Always       -       18
178 Used_Rsvd_Blk_Cnt_Chip  0x0013   080   080   ---    Pre-fail  Always       -       402
179 Used_Rsvd_Blk_Cnt_Tot   0x0013   081   081   ---    Pre-fail  Always       -       736
180 Unused_Rsvd_Blk_Cnt_Tot 0x0013   081   081   ---    Pre-fail  Always       -       3296
181 Program_Fail_Cnt_Total  0x0032   099   099   ---    Old_age   Always       -       1
182 Erase_Fail_Count_Total  0x0032   100   100   ---    Old_age   Always       -       0
183 Runtime_Bad_Block       0x0013   099   099   ---    Pre-fail  Always       -       1
187 Reported_Uncorrect      0x0032   099   099   ---    Old_age   Always       -       11
190 Airflow_Temperature_Cel 0x0022   067   051   ---    Old_age   Always       -       33
195 Hardware_ECC_Recovered  0x001a   199   199   ---    Old_age   Always       -       11
198 Offline_Uncorrectable   0x0030   100   100   ---    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   253   253   ---    Old_age   Always       -       0
233 Media_Wearout_Indicator 0x003a   199   199   ---    Old_age   Always       -       1259
234 Unknown_Attribute       0x0012   100   100   ---    Old_age   Always       -       0
235 Unknown_Attribute       0x0012   099   099   ---    Old_age   Always       -       86
236 Unknown_Attribute       0x0012   099   099   ---    Old_age   Always       -       130
237 Unknown_Attribute       0x0012   099   099   ---    Old_age   Always       -       294
238 Unknown_Attribute       0x0012   099   099   ---    Old_age   Always       -       736

SMART Error Log Version: 1
ATA Error Count: 4
        CR = Command Register [HEX]
        FR = Features Register [HEX]
        SC = Sector Count Register [HEX]
        SN = Sector Number Register [HEX]
        CL = Cylinder Low Register [HEX]
        CH = Cylinder High Register [HEX]
        DH = Device/Head Register [HEX]
        DC = Device Command Register [HEX]
        ER = Error register [HEX]
        ST = Status register [HEX]
Powered_Up_Time is measured from power on, and printed as
DDd+hh:mm:SS.sss where DD=days, hh=hours, mm=minutes,
SS=sec, and sss=millisec. It "wraps" after 49.710 days.

Error 4 occurred at disk power-on lifetime: 8460 hours (352 days + 12 hours)
  When the command that caused the error occurred, the device was sleeping.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 06 e2 5b a0 e3  Error:

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 10 02 00 00 00 00 00      06:22:48.000  SET FEATURES [Enable SATA feature]
  ec 00 01 00 00 00 00 00      06:22:48.000  IDENTIFY DEVICE
  ef 03 46 00 00 00 00 00      06:22:48.000  SET FEATURES [Set transfer mode]
  ef 10 02 00 00 00 00 00      06:22:48.000  SET FEATURES [Enable SATA feature]
  ec 00 01 00 00 00 00 00      06:22:48.000  IDENTIFY DEVICE

Error 3 occurred at disk power-on lifetime: 8460 hours (352 days + 12 hours)
  When the command that caused the error occurred, the device was sleeping.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 06 e2 5b a0 e3  Error: UNC 6 sectors at LBA = 0x03a05be2 = 60840930

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  c8 00 08 d8 5b a0 03 00      06:22:47.000  READ DMA
  c8 00 08 d0 5b a0 03 00      06:22:47.000  READ DMA
  c8 00 08 c8 5b a0 03 00      06:22:47.000  READ DMA
  c8 00 08 c0 5b a0 03 00      06:22:47.000  READ DMA
  c8 00 08 b8 5b a0 03 00      06:22:47.000  READ DMA

Error 2 occurred at disk power-on lifetime: 8460 hours (352 days + 12 hours)
  When the command that caused the error occurred, the device was sleeping.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 06 e2 5b a0 e3  Error:

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 10 02 00 00 00 00 00      06:11:57.000  SET FEATURES [Enable SATA feature]
  ec 00 01 00 00 00 00 00      06:11:57.000  IDENTIFY DEVICE
  ef 03 46 00 00 00 00 00      06:11:57.000  SET FEATURES [Set transfer mode]
  ef 10 02 00 00 00 00 00      06:11:57.000  SET FEATURES [Enable SATA feature]
  ec 00 01 00 00 00 00 00      06:11:57.000  IDENTIFY DEVICE

Error 1 occurred at disk power-on lifetime: 8460 hours (352 days + 12 hours)
  When the command that caused the error occurred, the device was sleeping.

  After command completion occurred, registers were:
  ER ST SC SN CL CH DH
  -- -- -- -- -- -- --
  40 51 06 e2 5b a0 e3  Error:

  Commands leading to the command that caused the error were:
  CR FR SC SN CL CH DH DC   Powered_Up_Time  Command/Feature_Name
  -- -- -- -- -- -- -- --  ----------------  --------------------
  ef 10 02 00 00 00 00 00      06:11:57.000  SET FEATURES [Enable SATA feature]
  ec 00 01 00 00 00 00 00      06:11:57.000  IDENTIFY DEVICE
  ef 02 00 00 00 00 00 00      06:11:57.000  SET FEATURES [Enable write cache]
  ec 00 01 00 00 00 00 00      06:11:57.000  IDENTIFY DEVICE
  ef 03 46 00 00 00 00 00      06:11:57.000  SET FEATURES [Set transfer mode]

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.



Code:

/root # eselect kernel list
Available kernel symlink targets:
  [1]   linux-4.9.0-gentoo
  [2]   linux-4.9.2-gentoo
  [3]   linux-4.9.9-gentoo
  [4]   linux-4.10.0-gentoo
  [5]   linux-4.10.1-gentoo
  [6]   linux-4.19.27-gentoo-r1 *
  [7]   linux-4.19.37-gentoo
  [8]   linux-4.19.44-gentoo
/root # eselect kernel set 8
/root # genkernel all
* Gentoo Linux Genkernel; Version 3.5.3.3
* Running with options: all
* Using genkernel.conf from /etc/genkernel.conf
* Sourcing arch-specific config.sh from /usr/share/genkernel/arch/x86_64/config.sh ..
* Sourcing arch-specific modules_load from /usr/share/genkernel/arch/x86_64/modules_load ..

* Linux Kernel 4.19.44-gentoo for x86_64...
* .. with config file /usr/share/genkernel/arch/x86_64/generated-config
* mount: /boot mounted successfully!
* kernel: Using config from /usr/share/genkernel/arch/x86_64/generated-config
* kernel: >> Running mrproper...
*         >> Running oldconfig...
* kernel: >> Cleaning...
*         >> Compiling 4.19.44-gentoo bzImage...
*         >> Not installing firmware as requested by configuration FIRMWARE_INSTALL=no...
*         >> Compiling 4.19.44-gentoo modules...
*         >> Installing 4.19.44-gentoo modules (and stripping)
*         >> Generating module dependency data...
* Copying config for successful build to /etc/kernels/kernel-config-x86_64-4.19.44-gentoo
* busybox: >> Using cache
* initramfs: >> Initializing...
*         >> Appending devices cpio data...
*         >> Appending base_layout cpio data...
*         >> Appending auxilary cpio data...
*         >> Copying keymaps
*         >> Appending busybox cpio data...
*         >> Appending modules cpio data...
*         >> Appending blkid cpio data...
*         >> Appending modprobed cpio data...
*         >> Appending linker cpio data...
*         >> Deduping cpio...
*         >> Compressing cpio data (.xz)...
*
* Kernel compiled successfully!
*
* Required Kernel Parameters:
*     root=/dev/$ROOT
*
*     Where $ROOT is the device node for your root partition as the
*     one specified in /etc/fstab
*
* If you require Genkernel's hardware detection features; you MUST
* tell your bootloader to use the provided INITRAMFS file.

* WARNING... WARNING... WARNING...
* Additional kernel cmdline arguments that *may* be required to boot properly...
* With support for several ext* filesystems available, it may be needed to
* add "rootfstype=ext3" or "rootfstype=ext4" to the list of boot parameters.

* Do NOT report kernel bugs as genkernel bugs unless your bug
* is about the default genkernel configuration...
*
* Make sure you have the latest ~arch genkernel before reporting bugs.



Now for some snippets from dmesg. Is it weird that some of these errors say "systemd"? I don't use systemd...

Code:

[    0.021187] ACPI BIOS Warning (bug): 32/64X length mismatch in FADT/Pm1aControlBlock: 16/32 (20180810/tbfadt-569)
[    0.021194] ACPI BIOS Warning (bug): Invalid length for FADT/Pm1aControlBlock: 32, using default 16 (20180810/tbfadt-674)
...
[    2.827986] IPMI System Interface driver.
[    2.828166] ipmi_si: Unable to find any System Interface(s)
...
[    8.253462] e1000: Intel(R) PRO/1000 Network Driver - version 7.3.21-k8-NAPI
[    8.253465] e1000: Copyright (c) 1999-2006 Intel Corporation.
[    8.273530] dca service started, version 1.12.1
[    8.287737] igb: Intel(R) Gigabit Ethernet Network Driver - version 5.4.0-k
[    8.287740] igb: Copyright (c) 2007-2014 Intel Corporation.
[    8.299841] pcnet32: pcnet32.c:v1.35 21.Apr.2008 tsbogend@alpha.franken.de
[    8.333175] sky2: driver version 1.30
[    8.357819] VMware vmxnet3 virtual NIC driver - version 1.4.16.0-k-NAPI
[    8.393543] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[    8.412394] vxge: Copyright(c) 2002-2010 Exar Corp.
[    8.412398] vxge: Driver version: 2.5.3.22640-k
[    8.488583] tulip: Linux Tulip driver version 1.1.15 (Feb 27, 2007)
[    8.528873] ixgbe: Intel(R) 10 Gigabit PCI Express Network Driver - version 5.1.0-k
[    8.528876] ixgbe: Copyright (c) 1999-2016 Intel Corporation.
[    8.537710] ixgb: Intel(R) PRO/10GbE Network Driver - version 1.0.135-k2-NAPI
[    8.537714] ixgb: Copyright (c) 1999-2008 Intel Corporation.
[    8.800645] EXT2-fs (sda4): error: couldn't mount because of unsupported optional features (240)
[    8.808144] EXT4-fs (sda4): mounted filesystem with ordered data mode. Opts: (null)
[    9.847820] random: lvm: uninitialized urandom read (4 bytes read)
[    9.863657] random: lvm: uninitialized urandom read (4 bytes read)
[   11.452995] systemd-udevd[2950]: Invalid rule /etc/udev/rules.d/41-brother-brscan4-libsane-type1.rules:9: unknown key 'SYSFS{idVendor}'
[   11.453388] systemd-udevd[2950]: Invalid rule /etc/udev/rules.d/41-brother-libsane-type1-inst.rules:14: unknown key 'SYSFS{idVendor}'
[   11.466725] systemd-udevd[2950]: Specified group 'render' unknown
[   11.565586] systemd-udevd[2950]: Invalid rule /etc/udev/rules.d/41-brother-brscan4-libsane-type1.rules:9: unknown key 'SYSFS{idVendor}'
[   11.565702] systemd-udevd[2950]: Invalid rule /etc/udev/rules.d/41-brother-libsane-type1-inst.rules:14: unknown key 'SYSFS{idVendor}'
[   11.577550] systemd-udevd[2950]: Specified group 'render' unknown
[   11.862633] ACPI Warning: SystemIO range 0x0000000000001028-0x000000000000102F conflicts with OpRegion 0x0000000000001000-0x000000000000107F (\_SB.PCI0.LPC.PMIO) (20180810/utaddress-213)
[   11.862650] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   11.862656] ACPI Warning: SystemIO range 0x00000000000011C0-0x00000000000011CF conflicts with OpRegion 0x0000000000001180-0x00000000000011FF (\_SB.PCI0.LPC.LPIO) (20180810/utaddress-213)
[   11.862669] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   11.862672] ACPI Warning: SystemIO range 0x00000000000011B0-0x00000000000011BF conflicts with OpRegion 0x0000000000001180-0x00000000000011FF (\_SB.PCI0.LPC.LPIO) (20180810/utaddress-213)
[   11.862684] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   11.862687] ACPI Warning: SystemIO range 0x0000000000001180-0x00000000000011AF conflicts with OpRegion 0x0000000000001180-0x00000000000011FF (\_SB.PCI0.LPC.LPIO) (20180810/utaddress-213)
[   11.862700] ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
[   11.862702] lpc_ich: Resource conflict(s) found affecting gpio_ich
[   11.887691] e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
[   11.887694] e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
[   11.888177] e1000e 0000:00:19.0: Interrupt Throttling Rate (ints/sec) set to dynamic conservative mode
[   11.909536] Non-volatile memory driver v1.3
[   11.963790] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[   11.971919] thinkpad_acpi: ThinkPad ACPI Extras v0.26
[   11.971922] thinkpad_acpi: http://ibm-acpi.sf.net/
[   11.971925] thinkpad_acpi: ThinkPad BIOS 6QET47WW (1.17 ), EC 6QHT29WW-1.10
[   11.971928] thinkpad_acpi: Lenovo ThinkPad X201, model 3680C97
[   11.977475] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
[   11.991226] videodev: Linux video capture interface: v2.00
[   11.996040] thinkpad_acpi: radio switch found; radios are enabled
[   11.996338] thinkpad_acpi: Tablet mode switch found (type: MHKG), currently in laptop mode
[   11.999116] thinkpad_acpi: This ThinkPad has standard ACPI backlight brightness control, supported by the ACPI video driver
[   11.999120] thinkpad_acpi: Disabling thinkpad-acpi brightness events by default...
[   12.036676] intel ips 0000:00:1f.6: CPU TDP doesn't match expected value (found 25, expected 29)
[   12.037267] input: PC Speaker as /devices/platform/pcspkr/input/input8
[   12.040416] intel ips 0000:00:1f.6: failed to get i915 symbols, graphics turbo disabled until i915 loads
[   12.042077] intel ips 0000:00:1f.6: IPS driver initialized, MCP temp limit 90
[   12.046106] thinkpad_acpi: Standard ACPI backlight interface available, not loading native one
[   12.050121] Error: Driver 'pcspkr' is already registered, aborting...
[   12.063612] iwlwifi: unknown parameter '-r' ignored
[   12.063910] Intel(R) Wireless WiFi driver for Linux
[   12.063912] Copyright(c) 2003- 2015 Intel Corporation
[   12.075231] iwlwifi 0000:02:00.0: can't disable ASPM; OS doesn't have ASPM control
[   12.077796] thinkpad_acpi: battery 1 registered (start 0, stop 0)
[   12.077821] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-6000-6.ucode failed with error -2
[   12.077876] iwlwifi 0000:02:00.0: Direct firmware load for iwlwifi-6000-5.ucode failed with error -2
[   12.080141] battery: new extension: ThinkPad Battery Extension
[   12.080361] input: ThinkPad Extra Buttons as /devices/platform/thinkpad_acpi/input/input7
[   12.085298] iwlwifi 0000:02:00.0: loaded firmware version 9.221.4.1 build 25532 op_mode iwldvm
[   12.112534] cryptd: max_cpu_qlen set to 1000
[   12.120223] e1000e 0000:00:19.0 eth0: (PCI Express:2.5GT/s:Width x1) 5c:ff:35:08:da:00
[   12.120229] e1000e 0000:00:19.0 eth0: Intel(R) PRO/1000 Network Connection
[   12.120296] e1000e 0000:00:19.0 eth0: MAC: 9, PHY: 10, PBA No: A002FF-0FF
[   12.221972] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUG disabled
[   12.221978] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEBUGFS disabled
[   12.221982] iwlwifi 0000:02:00.0: CONFIG_IWLWIFI_DEVICE_TRACING disabled
[   12.221987] iwlwifi 0000:02:00.0: Detected Intel(R) Centrino(R) Advanced-N 6200 AGN, REV=0x74
[   12.228675] uvcvideo: Found UVC 1.00 device Integrated Camera (17ef:4816)
[   12.232984] input: Integrated Camera: Integrated C as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.6/1-1.6:1.0/input/input9
[   12.233189] usbcore: registered new interface driver uvcvideo
[   12.233192] USB Video Class driver (1.1.1)
[   12.236942] systemd-udevd[3011]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   12.237102] systemd-udevd[3011]: Could not generate persistent MAC address for bond0: No such file or directory
[   12.238955] systemd-udevd[3001]: link_config: autonegotiation is unset or enabled, the speed and duplex are not writable.
[   12.275587] systemd-udevd[3011]: Process 'net.sh bond0 start' failed with exit code 1.
[   12.313384] ieee80211 phy0: Selected rate control algorithm 'iwl-agn-rs'
[   12.366363] e1000e 0000:00:19.0 enp0s25: renamed from eth0
[   12.393510] pci 0000:00:00.0: Intel HD Graphics Chipset
[   12.393558] pci 0000:00:00.0: detected gtt size: 2097152K total, 262144K mappable
[   12.394143] pci 0000:00:00.0: detected 32768K stolen memory
[   12.394228] [drm] Replacing VGA console driver
[   12.394829] Console: switching to colour dummy device 80x25
[   12.398259] iTCO_vendor_support: vendor-support=0
[   12.398310] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[   12.398312] [drm] Driver supports precise vblank timestamp query.
[   12.399040] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[   12.399422] kvm: VM_EXIT_LOAD_IA32_PERF_GLOBAL_CTRL does not work properly. Using workaround
[   12.403634] iTCO_wdt: Intel TCO WatchDog Timer Driver v1.11
[   12.403710] iTCO_wdt: Found a QM57 TCO device (Version=2, TCOBASE=0x1060)
[   12.403913] iTCO_wdt: initialized. heartbeat=30 sec (nowayout=0)
[   12.409684] iwlwifi 0000:02:00.0 wlp2s0: renamed from wlan0


Thanks for everyone's help here.
Back to top
View user's profile Send private message
Hu
Moderator
Moderator


Joined: 06 Mar 2007
Posts: 13734

PostPosted: Wed Jun 12, 2019 1:38 am    Post subject: Reply with quote

F_ wrote:
I have never used anything besides genkernel, so I'm not sure why or how such old kernel modules are still installed.
If you do not clear old kernel modules, they will remain. They are normally kept in case you need to return to the old kernel. It is your responsibility to remove them at the same time you remove the corresponding kernel.
F_ wrote:
dmesg shows some errors, which I've selectively pasted below, and running "smartctl -a /dev/sda" generates no major flags, at least at first glance.
I disagree with your assessment about smartctl. In my opinion, the only correct output for the error log section is ATA Error Count: 0. Anything else deserves investigation at minimum. Some types of drive failure that are reported here are serious enough to warrant immediate backup and, if under warranty, request for a warranty RMA.
F_ wrote:
How can I tell if these issues (which are few) are related to the issue preventing me from migrating to 17.1?
Migrate the filesystem to a drive that does not have SMART errors, then retry the conversion. I expect the migration will fail due to the error shown in your opening post, though. If you are lucky, any data loss will be confined to files you can easily replace, such as compiled files, source code downloaded from the Internet, etc.
F_ wrote:
Code:
/root # smartctl -a /dev/sda

SMART Attributes Data Structure revision number: 1
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  9 Power_On_Hours          0x0032   098   098   ---    Old_age   Always       -       8530
183 Runtime_Bad_Block       0x0013   099   099   ---    Pre-fail  Always       -       1
187 Reported_Uncorrect      0x0032   099   099   ---    Old_age   Always       -       11
As far as I know, it is never acceptable for a drive in good condition to show anything other than 0 for Reported_Uncorrect.
F_ wrote:
Code:
Error 4 occurred at disk power-on lifetime: 8460 hours (352 days + 12 hours)
These errors occurred about 70 power-on hours before you ran smartctl -a. Depending on your usage pattern, this could be anywhere from 3 days (if the drive is always on) to several weeks (if you only use it a few hours a day).
F_ wrote:
Now for some snippets from dmesg. Is it weird that some of these errors say "systemd"? I don't use systemd...
No, that is normal. This is a known side effect of the systemd project consuming udev.

None of that dmesg output is relevant. Had you rebooted between when the error occurred and when you ran dmesg? dmesg prints the current kernel's ring buffer, so a reboot would wipe away any error logs. You could still get them from syslog though.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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