Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

"bfq", ignoring: Invalid argument

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
Linubie
Guru
Guru
User avatar
Posts: 418
Joined: Fri Jun 11, 2004 6:52 pm

"bfq", ignoring: Invalid argument

  • Quote

Post by Linubie » Thu Oct 09, 2025 12:01 pm

Hi all,

from journalctl -b0
I get this error on boot

Code: Select all

Okt 09 13:26:27 gentupe (udev-worker)[307]: sdf: /usr/lib/udev/rules.d/60-io-scheduler.rules:31 Failed to write ATTR{/sys/devices/pci0000:00/0000:00:01.2/0000:02:00.1/ata6/host5/target5:0:0/5:0:0:0/block/sdf/queue/scheduler}="bfq", ignoring: Invalid argument

Code: Select all

smartctl -a /dev/sdf
smartctl 7.5 2025-04-30 r5714 [x86_64-linux-6.12.41-gentoo] (local build)
Copyright (C) 2002-25, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate BarraCuda 3.5 (SMR)
Device Model:     ST2000DM008-2UB102
Serial Number:    WFL8SDAH
LU WWN Device Id: 5 000c50 0fa9eda72
Firmware Version: 0001
User Capacity:    2.000.398.934.016 bytes [2,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Form Factor:      3.5 inches
TRIM Command:     Available
Device is:        In smartctl database 7.3/5528
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Thu Oct  9 13:44:08 2025 CEST
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:                (    0) seconds.
Offline data collection
capabilities:                    (0x73) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        No Offline surface scan supported.
                                        Self-test supported.
                                        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:        (   1) minutes.
Extended self-test routine
recommended polling time:        ( 199) minutes.
Conveyance self-test routine
recommended polling time:        (   2) minutes.
SCT capabilities:              (0x30a5) SCT Status supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   077   064   006    Pre-fail  Always       -       50198492
  3 Spin_Up_Time            0x0003   097   097   000    Pre-fail  Always       -       0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -       564
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000f   071   060   045    Pre-fail  Always       -       13859409
  9 Power_On_Hours          0x0032   099   099   000    Old_age   Always       -       1699h+06m+37.402s
 10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -       180
183 Runtime_Bad_Block       0x0032   099   099   000    Old_age   Always       -       1
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -       0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -       0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -       1 1 1
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -       0
190 Airflow_Temperature_Cel 0x0022   068   061   040    Old_age   Always       -       32 (Min/Max 23/34)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       6
193 Load_Cycle_Count        0x0032   098   098   000    Old_age   Always       -       4069
194 Temperature_Celsius     0x0022   032   040   000    Old_age   Always       -       32 (0 21 0 0 0)
195 Hardware_ECC_Recovered  0x001a   077   064   000    Old_age   Always       -       50198492
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -       0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -       1175h+11m+26.403s
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -       3195635314
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -       1994327740

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      1698         -

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.

The above only provides legacy SMART information - try 'smartctl -x' for more
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Top
druggo
Guru
Guru
Posts: 342
Joined: Wed Sep 24, 2003 9:21 am
Location: Hangzhou
Contact:
Contact druggo
Website

  • Quote

Post by druggo » Thu Oct 09, 2025 12:54 pm

have you enable the CONFIG_IOSCHED_BFQ in the kernel config ?
AMD FX-8300 / Loongson-2f (lemote-yeeloong)
Top
Linubie
Guru
Guru
User avatar
Posts: 418
Joined: Fri Jun 11, 2004 6:52 pm

  • Quote

Post by Linubie » Thu Oct 09, 2025 3:05 pm

no I haven't

Code: Select all

cat .config | grep CONFIG_IOSCHED_BFQ
# CONFIG_IOSCHED_BFQ is not set
So i guess I better have to enable?

thx
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Top
Hu
Administrator
Administrator
Posts: 24403
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Thu Oct 09, 2025 3:11 pm

What is your goal? Did you intend to use BFQ on the device sdf? If yes, then you need to enable BFQ support before you can use it. Do you like the current I/O scheduler and just want the error message to go away? If yes, change your configuration so it stops trying to set BFQ on that device.
Top
Linubie
Guru
Guru
User avatar
Posts: 418
Joined: Fri Jun 11, 2004 6:52 pm

  • Quote

Post by Linubie » Thu Oct 09, 2025 3:30 pm

Hu wrote:What is your goal? Did you intend to use BFQ on the device sdf? If yes, then you need to enable BFQ support before you can use it. Do you like the current I/O scheduler and just want the error message to go away? If yes, change your configuration so it stops trying to set BFQ on that device.
Yes it's the second option I don't know what BFQ is good for.
Seeing red error warnings in my logs triggers me to be honstest. :O)
But if the option is an andvantage on my system for some kind I am eager to hear and learn about. On that drive there is portage.

thank you for your help
Mircosoft software is like having sex with a stranger, you always have to be careful not to get infected with something...
Top
grknight
Retired Dev
Retired Dev
Posts: 2567
Joined: Fri Feb 20, 2015 9:36 pm

  • Quote

Post by grknight » Thu Oct 09, 2025 4:13 pm

If you don't like the rules from /usr/lib/udev/rules.d/60-io-scheduler.rules, copy it to /etc/udev/rules.d/60-io-scheduler.rules and edit it. /etc rules supersede the ones in /usr/lib of the same name.
Top
Post Reply

6 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic