[OpenIndiana-discuss] Hipster bus errors when globbing

Udo Grabowski (IMK) udo.grabowski at kit.edu
Tue Sep 4 14:04:46 UTC 2018


This was weird. Activating smartd started this weirdness, the SSD's
spewed hard errors as hell, as smartd doesn't obviously understand
how to access them correctly (although they are listed as supported).
On every access, a new smartd started, disabling the service did not
help. After a while, some resources got sparse, causing the tcsh to
misbehave. Killing the smartds the hard way and then starting a new
shell finally stopped the madness.
So smartd is somehow seriously broken. On access, I get messages
entries:

Sep  4 15:48:20 imksunth7 ahci: [ID 296163 kern.warning] WARNING: ahci0: ahci 
port 1 has task file error
Sep  4 15:48:20 imksunth7 ahci: [ID 687168 kern.warning] WARNING: ahci0: ahci 
port 1 is trying to do error recovery
Sep  4 15:48:20 imksunth7 ahci: [ID 693748 kern.warning] WARNING: ahci0: ahci 
port 1 task_file_status = 0x451
Sep  4 15:48:20 imksunth7 ahci: [ID 332577 kern.warning] WARNING: ahci0: the 
below command (s) on port 1 are aborted
Sep  4 15:48:20 imksunth7 ahci: [ID 117845 kern.warning] WARNING: satapkt 
0xfffffea55b270e70: cmd_reg = 0xb0 features_reg = 0x0 sec_count_msb = 0x0 
lba_low_msb = 0x4f lba_mid_msb = 0x4f lba_high_msb = 0x0 sec_count_lsb = 0x0 
lba_low_lsb = 0x0 lba_mid_lsb = 0x4f lba_high_lsb = 0xc2 device_reg = 0x0 
addr_type = 0x4 cmd_flags = 0x12
Sep  4 15:48:20 imksunth7 ahci: [ID 657156 kern.warning] WARNING: ahci0: error 
recovery for port 1 succeed

and hard errors logged. Using the pedestrians approach
'smartctl -a -dsat,12 /dev/rdsk/cxxxx'  works without any problems.
The SSDs are SAMSUNG-MZ7KM240HAGR-00005 240 GB.

On 04/09/2018 15:37, Udo Grabowski (IMK) wrote:
> I see bus errors when doing things as simple as ls *  or rm * in tcsh on
> current Hipster (something wrong in libc ?):
>
>> ::stack
> libc.so.1`chainsearch+0x3d(fffffd7feefa0210, fffffd7fffdf9e60, fffffd7fffdf9cac)
> libc.so.1`_collate_lookup+0xce(fffffd7feefa0210, fffffd7fffdf9e60,
> fffffd7fffdf9dbc, fffffd7fffdf9db4, 0, fffffd7fffdf9da8)
> libc.so.1`wcscoll_l+0x37f(fffffd7fffdf9e60, fffffd7fffdf9e20, fffffd7feee31c00)
> libc.so.1`strcoll_l+0xf0(138d0b0, 13c0320, fffffd7feee31c00)
> libc.so.1`strcoll+0x31(138d0b0, 13c0320)
> libc.so.1`qsort+0x6bb(13d9860, 63, 8, 44b760)
> glob+0x48e()
> libglob+0xfa()
> globall+0xc2()
> doexec+0x19b()
> execute+0xa01()
> execute+0xce8()
> process+0x43d()
> main+0x11f0()
> _start_crt+0x83()
> _start+0x18()
>


-- 
Dr.Udo Grabowski   Inst.f.Meteorology & Climate Research IMK-ASF-SAT
http://www.imk-asf.kit.edu/english/sat.php
KIT - Karlsruhe Institute of Technology           http://www.kit.edu
Postfach 3640,76021 Karlsruhe,Germany T:(+49)721 608-26026 F:-926026



More information about the openindiana-discuss mailing list