Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp436721pxb; Wed, 18 Aug 2021 06:00:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyZixoSpBKpBTvB+RiGvNQEnhEnK2WnXXfd5aO7Sr/I/iFGsAWlGGQ1JNw0/Ch5AtmB5Ck+ X-Received: by 2002:a05:6e02:104b:: with SMTP id p11mr6014966ilj.21.1629291607160; Wed, 18 Aug 2021 06:00:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629291607; cv=none; d=google.com; s=arc-20160816; b=ljAd7RIuzuZocbjjCZX+eJFTtftkOMSmJHBRvK43XfPvxnHJo3k9jDyY/Jiif2nKiU 3CFSFQFNMEaqf6cCVZ3y1ORaKZHZqzdUwvZxe0E5MfS+lwlFOltsrsHyaHSi2m6WWmg+ arKqJqdr2y6qifY566LB1XJsaFywaIbru7ZXwGhGugxwvOYPA9n+lU5je0r6CLIzxj6r uetujV9Y/PBivaxOFmgbpiR50W4/SL5p41Ju8RgmrHZOZWBSuHMc2fpFGSkI/uLfgzBr 15tYIYIcaIfCjhjE9+WOt3sYQKHFLdp2VfUN1Yhw2Jodp7bQQbHpbuZ62D1o9JUSYO29 XVOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-language :mime-version:user-agent:date:message-id:subject:from:cc:to; bh=qA2LEzsf2XsfYyn8DHFtVdkllWpNZSdG1FZCwN+UCwE=; b=tz/g5Pn8rBgNfMIBY2H392Qa06NbhbNp3p8Z1tpKx8ekOL3zjtaEAN8wxBoM9rr8kj dNgVvaNcE7kn5wuURjQUkT5cT5WYhH9HsU1I+w4a8laDG7wPYTSgHch93U6eSPDDu0mo NuM8TvnUhUzqghM6u566LKlfwKGSpCIaQ7WFwQauBLW9ZuovB7lyb7DSpUfTvqTu1Dnw kbULiG/aIL7cgg8ZOK+cvoi7mQS5/0c9kJQJDAhvWXKR/3NNgXbkXD1k1p2w74thJNJw ysapW5pYwX4jiKCAL3lktB4QXPPZ07VkHtQVuCSztddfOxTORzcU0CbSQZkEzhK6OkAq eLjw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l3si5176348ioq.2.2021.08.18.05.59.55; Wed, 18 Aug 2021 06:00:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236306AbhHRM7R (ORCPT + 99 others); Wed, 18 Aug 2021 08:59:17 -0400 Received: from mx3.molgen.mpg.de ([141.14.17.11]:49257 "EHLO mx1.molgen.mpg.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S236124AbhHRM7Q (ORCPT ); Wed, 18 Aug 2021 08:59:16 -0400 Received: from [141.14.13.3] (g258.RadioFreeInternet.molgen.mpg.de [141.14.13.3]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: pmenzel) by mx.molgen.mpg.de (Postfix) with ESMTPSA id 7CFD561E5FE33; Wed, 18 Aug 2021 14:58:40 +0200 (CEST) To: Jens Axboe Cc: linux-ide@vger.kernel.org, LKML From: Paul Menzel Subject: Failed disk initialization logged as warning `ata3.00: disabled` instead with more severe log level Message-ID: Date: Wed, 18 Aug 2021 14:58:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Dear Linux folks, A disk died on an old system, and is not displayed by `lsblk` anymore after a reboot. I would have expected such an event be logged with a severe level. @moppel:~$ dmesg --level=emerg @moppel:~$ dmesg --level=alert @moppel:~$ dmesg --level=crit @moppel:~$ dmesg --level=err [ 24.450604] ata3.00: failed to set xfermode (err_mask=0x4) [ 39.810617] ata3.00: failed to set xfermode (err_mask=0x4) @moppel:~$ dmesg --level=warn [ 1.039497] ENERGY_PERF_BIAS: Set to 'normal', was 'performance' [ 2.539408] pci 0000:03:00.0: can't disable ASPM; OS doesn't have ASPM control [ 3.088540] ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20200925/utaddress-213) [ 3.114469] ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20200925/utaddress-213) [ 3.140390] ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20200925/utaddress-213) [ 3.166311] ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GPIO) (20200925/utaddress-213) [ 3.192226] lpc_ich: Resource conflict(s) found affecting gpio_ich [ 3.900324] i8042: PNP: PS/2 controller doesn't have KBD irq; using default 1 [ 9.086414] ata3.00: qc timeout (cmd 0x27) [ 9.090618] ata3.00: failed to read native max address (err_mask=0x4) [ 9.097155] ata3.00: HPA support seems broken, skipping HPA handling [ 24.446401] ata3.00: qc timeout (cmd 0xef) [ 24.456189] ata3: limiting SATA link speed to 1.5 Gbps [ 24.461423] ata3.00: limiting speed to UDMA/133:PIO3 [ 39.806416] ata3.00: qc timeout (cmd 0xef) [ 39.816203] ata3.00: disabled The xfermode message is logged as an error, but I have system, where the device is still functional. The actual disabled message is “only” logged as a warning. Is there a way to improve the logging, and log a failed initialization of a disk with a higher level? Maybe even critical or alert? Kind regards, Paul