You are not logged in.

#1 2015-03-19 16:53:41

hifi25nl
Member
Registered: 2011-05-07
Posts: 264

Kernel 3.19 very slow plasma 5 and "write SAME failed"

I have just upgraded to kernel 3.19.2-1 and I have two problems (yes, I have updated my nvidia-340xx drivers):

1) Starting plasma 5 is now very slow (and also lxqt)
2) Error message about "WRITE SAME failed. Manually zeroing." (there were discussions about this before, but I could not find a solution for USB)

The archlinux installation is on a Ventura Ultra USB stick.
The system has no problem if I boot with the previous kernel
No new error messages in xsession-errors.

Last edited by hifi25nl (2015-03-19 18:26:16)

Offline

#2 2015-03-21 11:44:33

hifi25nl
Member
Registered: 2011-05-07
Posts: 264

Re: Kernel 3.19 very slow plasma 5 and "write SAME failed"

I was trying to fix this. First

find /sys/devices -name max_write_same_blocks
/sys/devices/pci0000:00/0000:00:1d.7/usb8/8-1/8-1:1.0/host3/target3:0:0/3:0:0:0/scsi_disk/3:0:0:0/max_write_same_blocks
/sys/devices/pci0000:00/0000:00:1d.7/usb8/8-4/8-4:1.3/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0/max_write_same_blocks
/sys/devices/pci0000:00/0000:00:1f.2/ata1/host1/target1:0:0/1:0:0:0/scsi_disk/1:0:0:0/max_write_same_blocks

After I have made a new write-same-disable.conf in /etc/tmpfiles.d/

w /sys/devices/pci0000:00/0000:00:1d.7/usb5/5-1/5-1:1.0/host2/target2:0:0/2:0:0:0/scsi_disk/2:0:0:0/max_write_same_blocks 0
w /sys/devices/pci0000:00/0000:00:1d.7/usb5/5-4/5-4:1.3/host3/target3:0:0/3:0:0:0/scsi_disk/3:0:0:0/max_write_same_blocks 0

Where I have selected only usb (the error message is about /dev/sda1, my USB stick).

However this is not working. I have always this in dmesg:

[   49.453670] sda1: WRITE SAME failed. Manually zeroing.
systemd[1]: Failed to start Create Static Device Nodes in /dev.

The message about Static Device Nodes is new...

Last edited by hifi25nl (2015-03-21 11:44:57)

Offline

Board footer

Powered by FluxBB