Kernelmeldungen nach Update core 104

Anregungen & Feature Requests
Post Reply
G666
Posts: 47
Joined: March 24th, 2016, 10:41 am

Kernelmeldungen nach Update core 104

Post by G666 » September 14th, 2016, 5:11 pm

Hallo,
ich hatte mit meinen USB 3.0 Festplatten und IPFire schon immer irgendwelche Kernel Meldungen aber nur wenn ich große Dateien Schreibe. Nach den Update habe ich jetzt diese Meldungen bei mir.

Kann ich die einfach ignorieren?

Code: Select all

...
18:30:02	kernel: 	ATA command pass through(16): 85 06 20 00 00 00 00 00 00 00 00 00 00 40 94 00
18:30:02	kernel: 	sd 4:0:0:0: [sdb] CDB:
18:30:02	kernel: 	Add. Sense: No additional sense information
18:30:02	kernel: 	sd 4:0:0:0: [sdb]
18:30:02	kernel: 	00 00 00 00 40 50
18:30:02	kernel: 	72 04 00 00 00 00 00 0e 09 0c 00 00 00 00 00 00
18:30:02	kernel: 	Descriptor sense data with sense descriptors (in hex):
18:30:02	kernel: 	Sense Key : Hardware Error [current] [descriptor]
18:30:02	kernel: 	sd 4:0:0:0: [sdb]
18:30:02	kernel: 	Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
18:30:02	kernel: 	sd 4:0:0:0: [sdb]
18:30:02	kernel: 	sd 4:0:0:0: [sdb] Unhandled sense code
18:30:01	kernel: 	ATA command pass through(16): 85 06 20 00 00 00 00 00 00 00 00 00 00 40 e0 00
18:30:01	kernel: 	sd 4:0:0:0: [sdb] CDB:
18:30:01	kernel: 	Add. Sense: No additional sense information
18:30:01	kernel: 	sd 4:0:0:0: [sdb]
18:30:01	kernel: 	00 00 00 00 40 50
18:30:01	kernel: 	72 04 00 00 00 00 00 0e 09 0c 00 00 00 00 00 00
18:30:01	kernel: 	Descriptor sense data with sense descriptors (in hex):
18:30:01	kernel: 	Sense Key : Hardware Error [current] [descriptor]
18:30:01	kernel: 	sd 4:0:0:0: [sdb]
18:30:01	kernel: 	Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
18:30:01	kernel: 	sd 4:0:0:0: [sdb]
18:30:01	kernel: 	sd 4:0:0:0: [sdb] Unhandled sense code
18:30:01	kernel: 	ATA command pass through(16): 85 06 20 00 00 00 00 00 00 00 00 00 00 40 98 00
18:30:01	kernel: 	sd 4:0:0:0: [sdb] CDB:
18:30:01	kernel: 	Add. Sense: No additional sense information
18:30:01	kernel: 	sd 4:0:0:0: [sdb]
18:30:01	kernel: 	00 78 00 00 40 50
18:30:01	kernel: 	72 04 00 00 00 00 00 0e 09 0c 00 00 00 00 00 00
18:30:01	kernel: 	Descriptor sense data with sense descriptors (in hex):
18:30:01	kernel: 	Sense Key : Hardware Error [current] [descriptor]
18:30:01	kernel: 	sd 4:0:0:0: [sdb]
18:30:01	kernel: 	Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
18:30:01	kernel: 	sd 4:0:0:0: [sdb]
18:30:01	kernel: 	sd 4:0:0:0: [sdb] Unhandled sense code
18:30:01	kernel: 	ATA command pass through(16): 85 06 20 00 00 00 00 00 00 00 00 00 00 40 e5 00
18:30:01	kernel: 	sd 4:0:0:0: [sdb] CDB:
18:30:01	kernel: 	Add. Sense: No additional sense information
18:30:01	kernel: 	sd 4:0:0:0: [sdb]
18:30:01	kernel: 	00 78 00 00 40 50
18:30:01	kernel: 	72 04 00 00 00 00 00 0e 09 0c 00 00 00 00 00 00
18:30:01	kernel: 	Descriptor sense data with sense descriptors (in hex):
18:30:01	kernel: 	Sense Key : Hardware Error [current] [descriptor]
18:30:01	kernel: 	sd 4:0:0:0: [sdb]
18:30:01	kernel: 	Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
18:30:01	kernel: 	sd 4:0:0:0: [sdb]
18:30:01	kernel: 	sd 4:0:0:0: [sdb] Unhandled sense code
18:25:01	kernel: 	ATA command pass through(16): 85 06 2c 00 da 00 00 00 00 00 4f 00 c2 00 b0 00
18:25:01	kernel: 	sd 4:0:0:0: [sdb] CDB:
18:25:01	kernel: 	Add. Sense: No additional sense information
18:25:01	kernel: 	sd 4:0:0:0: [sdb]
18:25:01	kernel: 	00 4f 00 c2 00 50
18:25:01	kernel: 	72 04 00 00 00 00 00 0e 09 0c 00 00 00 00 00 00
18:25:01	kernel: 	Descriptor sense data with sense descriptors (in hex):
18:25:01	kernel: 	Sense Key : Hardware Error [current] [descriptor]
18:25:01	kernel: 	sd 4:0:0:0: [sdb]
18:25:01	kernel: 	Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
18:25:01	kernel: 	sd 4:0:0:0: [sdb]
18:25:01	kernel: 	sd 4:0:0:0: [sdb] Unhandled sense code
18:25:01	kernel: 	ATA command pass through(16): 85 06 20 00 00 00 00 00 00 00 00 00 00 40 98 00
18:25:01	kernel: 	sd 4:0:0:0: [sdb] CDB:
18:25:01	kernel: 	Add. Sense: No additional sense information
18:25:01	kernel: 	sd 4:0:0:0: [sdb]
18:25:01	kernel: 	00 78 00 00 40 50
18:25:01	kernel: 	72 04 00 00 00 00 00 0e 09 0c 00 00 00 00 00 00
18:25:01	kernel: 	Descriptor sense data with sense descriptors (in hex):
18:25:01	kernel: 	Sense Key : Hardware Error [current] [descriptor]
18:25:01	kernel: 	sd 4:0:0:0: [sdb]
18:25:01	kernel: 	Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
18:25:01	kernel: 	sd 4:0:0:0: [sdb]
18:25:01	kernel: 	sd 4:0:0:0: [sdb] Unhandled sense code
18:25:01	kernel: 	ATA command pass through(16): 85 06 20 00 00 00 00 00 00 00 00 00 00 40 e5 00
18:25:01	kernel: 	sd 4:0:0:0: [sdb] CDB:
18:25:01	kernel: 	Add. Sense: No additional sense information
18:25:01	kernel: 	sd 4:0:0:0: [sdb]
18:25:01	kernel: 	00 78 00 00 40 50
18:25:01	kernel: 	72 04 00 00 00 00 00 0e 09 0c 00 00 00 00 00 00
18:25:01	kernel: 	Descriptor sense data with sense descriptors (in hex):
18:25:01	kernel: 	Sense Key : Hardware Error [current] [descriptor]
18:25:01	kernel: 	sd 4:0:0:0: [sdb]
18:25:01	kernel: 	Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
18:25:01	kernel: 	sd 4:0:0:0: [sdb]
18:25:01	kernel: 	sd 4:0:0:0: [sdb] Unhandled sense code
18:20:01	kernel: 	ATA command pass through(16): 85 06 2c 00 da 00 00 00 00 00 4f 00 c2 00 b0 00
18:20:01	kernel: 	sd 4:0:0:0: [sdb] CDB:
18:20:01	kernel: 	Add. Sense: No additional sense information
18:20:01	kernel: 	sd 4:0:0:0: [sdb]
18:20:01	kernel: 	00 4f 00 c2 00 50
18:20:01	kernel: 	72 04 00 00 00 00 00 0e 09 0c 00 00 00 00 00 00
18:20:01	kernel: 	Descriptor sense data with sense descriptors (in hex):
18:20:01	kernel: 	Sense Key : Hardware Error [current] [descriptor]
18:20:01	kernel: 	sd 4:0:0:0: [sdb]
18:20:01	kernel: 	Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
18:20:01	kernel: 	sd 4:0:0:0: [sdb]
18:20:01	kernel: 	sd 4:0:0:0: [sdb] Unhandled sense code
18:20:01	kernel: 	ATA command pass through(16): 85 06 20 00 00 00 00 00 00 00 00 00 00 40 98 00
18:20:01	kernel: 	sd 4:0:0:0: [sdb] CDB:
18:20:01	kernel: 	Add. Sense: No additional sense information
18:20:01	kernel: 	sd 4:0:0:0: [sdb]
18:20:01	kernel: 	00 78 00 00 40 50
18:20:01	kernel: 	72 04 00 00 00 00 00 0e 09 0c 00 00 00 00 00 00
18:20:01	kernel: 	Descriptor sense data with sense descriptors (in hex):
18:20:01	kernel: 	Sense Key : Hardware Error [current] [descriptor]
18:20:01	kernel: 	sd 4:0:0:0: [sdb]
18:20:01	kernel: 	Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
18:20:01	kernel: 	sd 4:0:0:0: [sdb]
18:20:01	kernel: 	sd 4:0:0:0: [sdb] Unhandled sense code
18:20:01	kernel: 	ATA command pass through(16): 85 06 20 00 00 00 00 00 00 00 00 00 00 40 e5 00
18:20:01	kernel: 	sd 4:0:0:0: [sdb] CDB:
18:20:01	kernel: 	Add. Sense: No additional sense information
18:20:01	kernel: 	sd 4:0:0:0: [sdb]
18:20:01	kernel: 	00 78 00 00 40 50
18:20:01	kernel: 	72 04 00 00 00 00 00 0e 09 0c 00 00 00 00 00 00
18:20:01	kernel: 	Descriptor sense data with sense descriptors (in hex):
18:20:01	kernel: 	Sense Key : Hardware Error [current] [descriptor]
18:20:01	kernel: 	sd 4:0:0:0: [sdb]
18:20:01	kernel: 	Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
18:20:01	kernel: 	sd 4:0:0:0: [sdb]
18:20:01	kernel: 	sd 4:0:0:0: [sdb] Unhandled sense code
18:15:01	kernel: 	ATA command pass through(16): 85 06 2c 00 da 00 00 00 00 00 4f 00 c2 00 b0 00
18:15:01	kernel: 	sd 4:0:0:0: [sdb] CDB:
18:15:01	kernel: 	Add. Sense: No additional sense information
18:15:01	kernel: 	sd 4:0:0:0: [sdb]
18:15:01	kernel: 	00 4f 00 c2 00 50
18:15:01	kernel: 	72 04 00 00 00 00 00 0e 09 0c 00 00 00 00 00 00
18:15:01	kernel: 	Descriptor sense data with sense descriptors (in hex):
18:15:01	kernel: 	Sense Key : Hardware Error [current] [descriptor]
18:15:01	kernel: 	sd 4:0:0:0: [sdb]
18:15:01	kernel: 	Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
18:15:01	kernel: 	sd 4:0:0:0: [sdb]
18:15:01	kernel: 	sd 4:0:0:0: [sdb] Unhandled sense code
18:15:01	kernel: 	ATA command pass through(16): 85 06 20 00 00 00 00 00 00 00 00 00 00 40 98 00
18:15:01	kernel: 	sd 4:0:0:0: [sdb] CDB:
18:15:01	kernel: 	Add. Sense: No additional sense information
18:15:01	kernel: 	sd 4:0:0:0: [sdb]
18:15:01	kernel: 	00 78 00 00 40 50
18:15:01	kernel: 	72 04 00 00 00 00 00 0e 09 0c 00 00 00 00 00 00
18:15:01	kernel: 	Descriptor sense data with sense descriptors (in hex):
18:15:01	kernel: 	Sense Key : Hardware Error [current] [descriptor]
18:15:01	kernel: 	sd 4:0:0:0: [sdb]
18:15:01	kernel: 	Result: hostbyte=DID_ERROR driverbyte=DRIVER_SENSE
18:15:01	kernel: 	sd 4:0:0:0: [sdb]
18:15:01	kernel: 	sd 4:0:0:0: [sdb] Unhandled sense code
18:15:01	kernel: 	ATA command pass through(16): 85 06 20 00 00 00 00 00 00 00 00 00 00 40 e5 00
18:15:01	kernel: 	sd 4:0:0:0: [sdb] CDB:
18:15:01	kernel: 	Add. Sense: No additional sense information
18:15:01	kernel: 	sd 4:0:0:0: [sdb]
18:15:01	kernel: 	00 78 00 00 40 50
18:15:01	kernel: 	72 04 00 00 00 00 00 0e 09 0c 00 00 00 00 00 00 
...
Last edited by ummeegge on September 15th, 2016, 9:50 am, edited 1 time in total.
Reason: Bitte code tags einfügen das erleichtert die Leserlichkeit
Image

User avatar
Arne.F
Core Developer
Core Developer
Posts: 8044
Joined: May 7th, 2006, 8:57 am
Location: BS <-> NDH
Contact:

Re: Kernelmeldungen nach Update core 104

Post by Arne.F » September 15th, 2016, 12:41 pm

Da die Fehler alle 5 Min kommen würde ich annehmen das die USB-Bridge Probleme mit dem Auslesen der Temperaturwerte über S.M.A.R.T. macht.

Versuch mal was "smartctl -iHA /dev/sdb" ausgibt.
Arne

Support the project on the donation!

Image

Image

Image
PS: I will not answer support questions via email and ignore IPFire related messages on my non IPFire.org mail addresses.

G666
Posts: 47
Joined: March 24th, 2016, 10:41 am

Re: Kernelmeldungen nach Update core 104

Post by G666 » September 15th, 2016, 2:57 pm

Code: Select all

smartctl 6.3 2014-07-26 r3976 [i686-linux-3.14.79-ipfire-pae] (IPFire 2.17)
Copyright (C) 2002-14, Bruce Allen, Christian Franke, http://www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Elements / My Passport (USB)
Device Model:     WDC WD5000BMVU-11A08S0
Serial Number:    WD-WXNZ08N11523
LU WWN Device Id: 5 0014ee 257ba0a19
Firmware Version: 01.01A01
User Capacity:    500,107,862,016 bytes [500 GB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    5400 rpm
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS (minor revision not indicated)
SATA Version is:  SATA 2.6, 3.0 Gb/s
Local Time is:    Thu Sep 15 16:53:16 2016 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART Status command failed: scsi error medium or hardware error (serious)
SMART overall-health self-assessment test result: PASSED
Warning: This result is based on an Attribute check.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_                                                                        FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x002f   200   200   051    Pre-fail  Always       -                                                                               0
  3 Spin_Up_Time            0x0027   153   147   021    Pre-fail  Always       -                                                                               3316
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -                                                                               938
  5 Reallocated_Sector_Ct   0x0033   200   200   140    Pre-fail  Always       -                                                                               0
  7 Seek_Error_Rate         0x002e   100   253   000    Old_age   Always       -                                                                               0
  9 Power_On_Hours          0x0032   096   096   000    Old_age   Always       -                                                                               3262
 10 Spin_Retry_Count        0x0033   100   100   051    Pre-fail  Always       -                                                                               0
 11 Calibration_Retry_Count 0x0032   100   100   000    Old_age   Always       -                                                                               0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -                                                                               727
192 Power-Off_Retract_Count 0x0032   200   200   000    Old_age   Always       -                                                                               392
193 Load_Cycle_Count        0x0032   199   199   000    Old_age   Always       -                                                                               3662
194 Temperature_Celsius     0x0022   113   104   000    Old_age   Always       -                                                                               34
196 Reallocated_Event_Count 0x0032   200   200   000    Old_age   Always       -                                                                               0
197 Current_Pending_Sector  0x0032   200   200   000    Old_age   Always       -                                                                               0
198 Offline_Uncorrectable   0x0030   100   253   000    Old_age   Offline      -                                                                               0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -                                                                               0
200 Multi_Zone_Error_Rate   0x0009   100   253   051    Pre-fail  Offline      -                                                                               0
Eingebaut ist eine 2,5 Zoll HDD am SATA Port und drei USB HDD einmal von WD (USB2.0) und zwei aus alten Laptops (USB 3.0).

Und das stand im der Tages log.

Code: Select all

Kernel und Firewall:

 WARNING:  Kernel Errors Present
    EXT4-fs (sde5): error count since last ...:  1 Time(s)
    EXT4-fs (sde5): initial error at time 14712220 ...:  1 Time(s)
    EXT4-fs (sde5): last error at time 14736412 ...:  1 Time(s)
    Result: hostbyte=DID_ERROR driverbyte=DRIVE ...:  317 Time(s)
    Sense Key : Hardware Error [current] [descr ...:  317 Time(s)

Image

User avatar
FischerM
Community Developer
Community Developer
Posts: 894
Joined: November 2nd, 2011, 12:28 pm

Re: Kernelmeldungen nach Update core 104

Post by FischerM » September 23rd, 2016, 7:57 pm

Hi,

ich reihe mich ein:

Pünktlich mit dem Upgrade auf Core 104 - und auch nach dem Upgrade auf Core 105 - werden in '/var/log/messages' exakt alle fünf Minuten die folgenden "Fehler" protokolliert:

Code: Select all

...
Sep 23 21:30:00 ipfire kernel: sd 0:0:0:0: [sda] Unhandled error code
Sep 23 21:30:00 ipfire kernel: sd 0:0:0:0: [sda]  
Sep 23 21:30:00 ipfire kernel: Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
Sep 23 21:30:00 ipfire kernel: sd 0:0:0:0: [sda] CDB: 
Sep 23 21:30:00 ipfire kernel: ATA command pass through(16): 85 06 20 00 00 00 00 00 00 00 00 00 00 40 e5 00
Sep 23 21:30:00 ipfire kernel: sd 0:0:0:0: [sda] Unhandled error code
Sep 23 21:30:00 ipfire kernel: sd 0:0:0:0: [sda]  
Sep 23 21:30:00 ipfire kernel: Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK
Sep 23 21:30:00 ipfire kernel: sd 0:0:0:0: [sda] CDB: 
Sep 23 21:30:00 ipfire kernel: ATA command pass through(16): 85 06 20 00 00 00 00 00 00 00 00 00 00 40 98 00
...
Das Ganze ist eine reines SCSI-System, welches bis zum Update ohne jegliche Fehlermeldungen lief, die Meldungen habe ich nur durch Zufall beim routinemäßigen Nachschauen gefunden. Zu merken war davon absolut nichts.

Testweise habe ich ein paar der "fünf-Minuten"-cron-Jobs deaktiviert, hatte aber damit bisher leider keinen Erfolg.

'smartctl -iHA /dev/sda' sagt:

Code: Select all

root@ipfire: /var/spool/cron # smartctl -iHA /dev/sda
smartctl 6.5 2016-05-07 r4318 [i686-linux-3.14.79-ipfire-pae] (IPFire 2.19)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Vendor:               IBM
Product:              DDYS-T36950M
Revision:             S96H
User Capacity:        36,703,918,080 bytes [36.7 GB]
Logical block size:   512 bytes
Rotation Rate:        10000 rpm
Logical Unit id:      0x5005076707c1df6e
Serial number:        4FY3P734
Device type:          disk
Transport protocol:   Fibre channel (FCP-2)
Local Time is:        Fri Sep 23 21:37:25 2016 CEST
SMART support is:     Available - device has SMART capability.
SMART support is:     Enabled
Temperature Warning:  Enabled

=== START OF READ SMART DATA SECTION ===
SMART Health Status: OK

Current Drive Temperature:     42 C
Drive Trip Temperature:        85 C

Manufactured in week 46 of year 2001
Specified cycle count over device lifetime:  10000
Accumulated start-stop cycles:  139
Elements in grown defect list: 2
Diese Ausgabe ist, seitdem das System mit Core 73(?) aufgesetzt wurde, mehr oder weniger die Gleiche: keine weiteren "grown defects", keine Schreib-/Lesefehler, kein defektes RAM, nix, die HDD und der Rechner funktionieren normalerweise fehlerlos und unauffällig im 24/7-Betrieb.

Der Fehler hängt daher IMHO mit ziemlicher Sicherheit mit dem neuen Kernel o.ä. zusammen. Allerdings finde ich momentan nix zum Anpacken. Falls also jemand eine Idee hat, woran ich schrauben könnte, wäre ich für eine Rückmeldung oder einen Tipp sehr verbunden.

Viele Grüße,
Matthias

User avatar
FischerM
Community Developer
Community Developer
Posts: 894
Joined: November 2nd, 2011, 12:28 pm

Re: Kernelmeldungen nach Update core 104

Post by FischerM » September 23rd, 2016, 10:22 pm

Ahmt,

ich habe anscheinend den Schuldigen gefunden, aber leider außer zwei Kommentar-Rauten keine tiefergehende Lösung anzubieten. ::)

Stutzig machte mich der absolut exakte fünf Minuten-Abstand der 'sda'-Fehler im Kernel-Log. Viel blieb da nicht übrig - der 'hdparm'-Aufruf in der 'makegraphs' war letztendlich der Verursacher.

Daher habe ich den 'hdparm'-Aufruf in der '/usr/local/bin/makegraphs' auskommentiert und seitdem ist Ruhe im Log:

Code: Select all

...
	$diskstats = `cat /var/run/hddstats-$array[$#array] 2>/dev/null`;
	chomp $diskstats;
	my $newdiskstats = `/usr/bin/iostat -d -t $disk | tail -2 | head -1 | awk '{ print \$5","\$6}'`;
	chomp $newdiskstats;
#	my $status = `hdparm -C /dev/$disk | tail -1 | cut -d: -f2`;
#	chomp $status;
...
Ein händischer Start dieses Befehls in der Konsole liefert im übrigen außer den Kernel-Fehlern nur:

Code: Select all

root@ipfire: / # hdparm -C /dev/sda

/dev/sda:
 drive state is:  unknown
Also auskommentiert und Ruhe ist.

Eine ältere 'hdparm'-Version (9.42) lieferte testweise dasselbe Ergebnis, daran scheint es also nicht zu liegen, es muss was mit spezifischen Core 104/105-Änderungen zu tun haben.

Viele Grüße,
Matthias

User avatar
FischerM
Community Developer
Community Developer
Posts: 894
Joined: November 2nd, 2011, 12:28 pm

Re: Kernelmeldungen nach Update core 104

Post by FischerM » September 23rd, 2016, 10:38 pm

Reported as Bug 11192.

Best,
Matthias

Post Reply