Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

"I prefer rogues to imbeciles, because they sometimes take a rest." -- Alexandre Dumas (fils)


computers / alt.os.linux.ubuntu / Re: OS freezes when copying to USB

SubjectAuthor
* OS freezes when copying to USBJoerg Walther
+* Re: OS freezes when copying to USBMarkus Robert Kessler
|`* Re: OS freezes when copying to USBJoerg Walther
| `- Re: OS freezes when copying to USBJoerg Walther
+* Re: OS freezes when copying to USBPaul
|`- Re: OS freezes when copying to USBJoerg Walther
+* Re: OS freezes when copying to USBstepore
|`- Re: OS freezes when copying to USBJoerg Walther
`* Re: OS freezes when copying to USBAnssi Saari
 `- Re: OS freezes when copying to USBJoerg Walther

1
OS freezes when copying to USB

<v0v8uihvrj4mn8tm37t9jt32ulmh49oe6o@joergwalther.my-fqdn.de>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=3879&group=alt.os.linux.ubuntu#3879

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx36.iad.POSTED!not-for-mail
From: joerg.walther@magenta.de (Joerg Walther)
Newsgroups: alt.os.linux.ubuntu
Subject: OS freezes when copying to USB
Message-ID: <v0v8uihvrj4mn8tm37t9jt32ulmh49oe6o@joergwalther.my-fqdn.de>
X-Newsreader: Forte Agent 6.00/32.1186
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 16
X-Complaints-To: abuse@easynews.com
Organization: Easynews - www.easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Sun, 03 Mar 2024 14:38:23 +0100
X-Received-Bytes: 1247
 by: Joerg Walther - Sun, 3 Mar 2024 13:38 UTC

When copying larger files to any USB drive on a Thinkpad T480 with
Ubuntu 22.04 it quite often happens that the OS completely freezes and
the PC has to be restarted by switching it off and on again.
This seems to be an old problem, I found this bug report:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1208993?comments=all
which starts with 13.04, but the last comments are about 22.04. Are
there any ideas how I can fix this? Has this been fixed in 23.10 or will
it be fixed in 24.04?
Thanks for any input on this.

-jw-

--

And now for something completely different...

Re: OS freezes when copying to USB

<us4228$328rb$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=3880&group=alt.os.linux.ubuntu#3880

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: no_reply@dipl-ing-kessler.de (Markus Robert Kessler)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: OS freezes when copying to USB
Date: Mon, 4 Mar 2024 08:51:21 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 17
Message-ID: <us4228$328rb$1@dont-email.me>
References: <v0v8uihvrj4mn8tm37t9jt32ulmh49oe6o@joergwalther.my-fqdn.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Mon, 4 Mar 2024 08:51:21 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="baa55780b42c74a6a66b8e2e926da1f4";
logging-data="3220331"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19Gddj9oM88KOOYSP+Ul0WE"
User-Agent: Pan/0.149 (Bellevue; 4c157ba git@gitlab.gnome.org:GNOME/pan.git)
Cancel-Lock: sha1:uqo6BVgS9cQ8L/NZbFngJvnNhhs=
 by: Markus Robert Kessle - Mon, 4 Mar 2024 08:51 UTC

On Sun, 03 Mar 2024 14:38:23 +0100 Joerg Walther wrote:

> When copying larger files to any USB drive on a Thinkpad T480 with
> Ubuntu 22.04 it quite often happens that the OS completely freezes and
> the PC has to be restarted by switching it off and on again.
> This seems to be an old problem, I found this bug report:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1208993?
comments=all
> which starts with 13.04, but the last comments are about 22.04. Are
> there any ideas how I can fix this? Has this been fixed in 23.10 or will
> it be fixed in 24.04?
> Thanks for any input on this.

Does the OS "come back" when disconnecting / unplugging the drive?

BR,
Markus

Re: OS freezes when copying to USB

<us4k0i$3630k$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=3881&group=alt.os.linux.ubuntu#3881

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: nospam@needed.invalid (Paul)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: OS freezes when copying to USB
Date: Mon, 4 Mar 2024 08:57:36 -0500
Organization: A noiseless patient Spider
Lines: 35
Message-ID: <us4k0i$3630k$1@dont-email.me>
References: <v0v8uihvrj4mn8tm37t9jt32ulmh49oe6o@joergwalther.my-fqdn.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Injection-Date: Mon, 4 Mar 2024 13:57:38 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="6a0abe7b5fb7fec5c32ae6a8078f6773";
logging-data="3345428"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+7TyxULA1lx8Y1T4WrwVvMT4Jgw6nL62I="
User-Agent: Ratcatcher/2.0.0.25 (Windows/20130802)
Cancel-Lock: sha1:k5pgYKRtuPgqtH8f/i8OEqa2pHQ=
Content-Language: en-US
In-Reply-To: <v0v8uihvrj4mn8tm37t9jt32ulmh49oe6o@joergwalther.my-fqdn.de>
 by: Paul - Mon, 4 Mar 2024 13:57 UTC

On 3/3/2024 8:38 AM, Joerg Walther wrote:
> When copying larger files to any USB drive on a Thinkpad T480 with
> Ubuntu 22.04 it quite often happens that the OS completely freezes and
> the PC has to be restarted by switching it off and on again.
> This seems to be an old problem, I found this bug report:
> https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1208993?comments=all
> which starts with 13.04, but the last comments are about 22.04. Are
> there any ideas how I can fix this? Has this been fixed in 23.10 or will
> it be fixed in 24.04?
> Thanks for any input on this.
>
> -jw-
>

There are potentially lots of levels of write caching to disable.

Will require more research.

The hdparm thing, might only be useful for some benchmarking activity,
rather than general disk usage.

https://stackoverflow.com/questions/20215516/disabling-disk-cache-in-linux

Maybe something like down the end of this thread.

https://unix.stackexchange.com/questions/637598/how-to-truly-disable-the-write-cache-functionin-dmesg-in-ubuntu-for-an-externa

"edit your /etc/fstab ... mount option sync"

Normally, a memory based cache for write, does not occupy so much space,
that it causes swapping to disk. That would be bad. As if we're forced
to write synchronously to flush the write cache, and at the same time
we need to swap for some reason... will that even work ?

Paul

Re: OS freezes when copying to USB

<9qlbuil7n29vrv7ae7u72v9jpjvod969ep@joergwalther.my-fqdn.de>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=3882&group=alt.os.linux.ubuntu#3882

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!tncsrv06.tnetconsulting.net!3.us.feeder.erje.net!feeder.erje.net!npeer.as286.net!npeer-ng0.as286.net!peer03.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx45.iad.POSTED!not-for-mail
From: joerg.walther@magenta.de (Joerg Walther)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: OS freezes when copying to USB
Message-ID: <9qlbuil7n29vrv7ae7u72v9jpjvod969ep@joergwalther.my-fqdn.de>
References: <v0v8uihvrj4mn8tm37t9jt32ulmh49oe6o@joergwalther.my-fqdn.de> <us4228$328rb$1@dont-email.me>
X-Newsreader: Forte Agent 6.00/32.1186
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 14
X-Complaints-To: abuse@easynews.com
Organization: Easynews - www.easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Mon, 04 Mar 2024 15:15:10 +0100
X-Received-Bytes: 1096
 by: Joerg Walther - Mon, 4 Mar 2024 14:15 UTC

Markus Robert Kessler wrote:

>> Thanks for any input on this.
>
>Does the OS "come back" when disconnecting / unplugging the drive?

I have to try this the next time it happens.

-jw-

--

And now for something completely different...

Re: OS freezes when copying to USB

<v9pbuil2chru0glirinnapocidhvfm5u5p@joergwalther.my-fqdn.de>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=3883&group=alt.os.linux.ubuntu#3883

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx10.iad.POSTED!not-for-mail
From: joerg.walther@magenta.de (Joerg Walther)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: OS freezes when copying to USB
Message-ID: <v9pbuil2chru0glirinnapocidhvfm5u5p@joergwalther.my-fqdn.de>
References: <v0v8uihvrj4mn8tm37t9jt32ulmh49oe6o@joergwalther.my-fqdn.de> <us4228$328rb$1@dont-email.me> <9qlbuil7n29vrv7ae7u72v9jpjvod969ep@joergwalther.my-fqdn.de>
X-Newsreader: Forte Agent 6.00/32.1186
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 14
X-Complaints-To: abuse@easynews.com
Organization: Easynews - www.easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Mon, 04 Mar 2024 16:14:24 +0100
X-Received-Bytes: 1065
 by: Joerg Walther - Mon, 4 Mar 2024 15:14 UTC

Joerg Walther wrote:

>>Does the OS "come back" when disconnecting / unplugging the drive?
>
>I have to try this the next time it happens.

Just tried: It does not come back.

-jw-

--

And now for something completely different...

Re: OS freezes when copying to USB

<ubpbui1hn4egsjim6et7e5lqojdc0itoe7@joergwalther.my-fqdn.de>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=3884&group=alt.os.linux.ubuntu#3884

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx10.iad.POSTED!not-for-mail
From: joerg.walther@magenta.de (Joerg Walther)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: OS freezes when copying to USB
Message-ID: <ubpbui1hn4egsjim6et7e5lqojdc0itoe7@joergwalther.my-fqdn.de>
References: <v0v8uihvrj4mn8tm37t9jt32ulmh49oe6o@joergwalther.my-fqdn.de> <us4k0i$3630k$1@dont-email.me>
X-Newsreader: Forte Agent 6.00/32.1186
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 14
X-Complaints-To: abuse@easynews.com
Organization: Easynews - www.easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Mon, 04 Mar 2024 16:16:16 +0100
X-Received-Bytes: 1100
 by: Joerg Walther - Mon, 4 Mar 2024 15:16 UTC

Paul wrote:

>Maybe something like down the end of this thread.

Right, so I disabled the write cache via udev rule, which unfortunately
did not help. Note that the system is not out of memory, I have 32GB and
at the time this happened barely a quarter of it was in use.

-jw-

--

And now for something completely different...

Re: OS freezes when copying to USB

<us619d$3inpr$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=3889&group=alt.os.linux.ubuntu#3889

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: stepore@be.here.now (stepore)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: OS freezes when copying to USB
Date: Mon, 4 Mar 2024 18:50:21 -0800
Organization: A noiseless patient Spider
Lines: 8
Message-ID: <us619d$3inpr$1@dont-email.me>
References: <v0v8uihvrj4mn8tm37t9jt32ulmh49oe6o@joergwalther.my-fqdn.de>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Injection-Date: Tue, 5 Mar 2024 02:50:21 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="f124a8bb7a79ad28443a2deb675a804d";
logging-data="3759931"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+YkaUNs/Kn1anW5KM2mA5P"
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
Thunderbird/102.4.2
Cancel-Lock: sha1:Qfu0/iL1B+LiW2tTTy6SlPRW4CM=
In-Reply-To: <v0v8uihvrj4mn8tm37t9jt32ulmh49oe6o@joergwalther.my-fqdn.de>
Content-Language: en-US
 by: stepore - Tue, 5 Mar 2024 02:50 UTC

On 3/3/24 05:38, Joerg Walther wrote:
> When copying larger files to any USB drive on a Thinkpad T480 with
> Ubuntu 22.04 it quite often happens that the OS completely freezes and
> the PC has to be restarted by switching it off and on again.

I assume this is dragging/dropping (copy/paste) files in a GUI?
Does same happen from shell, using cp or rsync?

Re: OS freezes when copying to USB

<sm0msrdf5ku.fsf@lakka.kapsi.fi>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=3890&group=alt.os.linux.ubuntu#3890

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: anssi.saari@usenet.mail.kapsi.fi (Anssi Saari)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: OS freezes when copying to USB
Date: Tue, 05 Mar 2024 10:25:37 +0200
Organization: An impatient and LOUD arachnid
Lines: 9
Message-ID: <sm0msrdf5ku.fsf@lakka.kapsi.fi>
References: <v0v8uihvrj4mn8tm37t9jt32ulmh49oe6o@joergwalther.my-fqdn.de>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Info: dont-email.me; posting-host="da62d09b300c2765fbf7bda67b993f05";
logging-data="3862893"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Erq+CUFEuRhCFWJoYHoih"
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
Cancel-Lock: sha1:SUvbvlP8OMWyDZbQV7ByDwAhzYI=
sha1:tjewNaTXtUK/X5UDuvU6AOkBf+E=
 by: Anssi Saari - Tue, 5 Mar 2024 08:25 UTC

Joerg Walther <joerg.walther@magenta.de> writes:

> When copying larger files to any USB drive on a Thinkpad T480 with
> Ubuntu 22.04 it quite often happens that the OS completely freezes and
> the PC has to be restarted by switching it off and on again.

You mean your PC crashes when copying data to USB? I would think that's
a hardware issue. If it doesn't happen in some other flavor of Linux,
then maybe it's something in Ubuntu.

Re: OS freezes when copying to USB

<s0eeuih12rrmlqf4sap1v104tv4t6u4qva@joergwalther.my-fqdn.de>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=3891&group=alt.os.linux.ubuntu#3891

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!peer03.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx48.iad.POSTED!not-for-mail
From: joerg.walther@magenta.de (Joerg Walther)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: OS freezes when copying to USB
Message-ID: <s0eeuih12rrmlqf4sap1v104tv4t6u4qva@joergwalther.my-fqdn.de>
References: <v0v8uihvrj4mn8tm37t9jt32ulmh49oe6o@joergwalther.my-fqdn.de> <us619d$3inpr$1@dont-email.me>
X-Newsreader: Forte Agent 6.00/32.1186
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 18
X-Complaints-To: abuse@easynews.com
Organization: Easynews - www.easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Tue, 05 Mar 2024 16:20:33 +0100
X-Received-Bytes: 1253
 by: Joerg Walther - Tue, 5 Mar 2024 15:20 UTC

stepore wrote:

>> When copying larger files to any USB drive on a Thinkpad T480 with
>> Ubuntu 22.04 it quite often happens that the OS completely freezes and
>> the PC has to be restarted by switching it off and on again.
>
>I assume this is dragging/dropping (copy/paste) files in a GUI?
>Does same happen from shell, using cp or rsync?

It does not matter, it happens in GUI (Double Commander) and in the
terminal.

-jw-

--

And now for something completely different...

Re: OS freezes when copying to USB

<n2eeuidnhof5plv70gdh616bbr5e5ripsr@joergwalther.my-fqdn.de>

  copy mid

https://www.rocksolidbbs.com/computers/article-flat.php?id=3892&group=alt.os.linux.ubuntu#3892

  copy link   Newsgroups: alt.os.linux.ubuntu
Path: i2pn2.org!i2pn.org!weretis.net!feeder8.news.weretis.net!feeder1-2.proxad.net!proxad.net!feeder1-1.proxad.net!193.141.40.65.MISMATCH!npeer.as286.net!npeer-ng0.as286.net!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!fx48.iad.POSTED!not-for-mail
From: joerg.walther@magenta.de (Joerg Walther)
Newsgroups: alt.os.linux.ubuntu
Subject: Re: OS freezes when copying to USB
Message-ID: <n2eeuidnhof5plv70gdh616bbr5e5ripsr@joergwalther.my-fqdn.de>
References: <v0v8uihvrj4mn8tm37t9jt32ulmh49oe6o@joergwalther.my-fqdn.de> <sm0msrdf5ku.fsf@lakka.kapsi.fi>
X-Newsreader: Forte Agent 6.00/32.1186
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 25
X-Complaints-To: abuse@easynews.com
Organization: Easynews - www.easynews.com
X-Complaints-Info: Please be sure to forward a copy of ALL headers otherwise we will be unable to process your complaint properly.
Date: Tue, 05 Mar 2024 16:22:57 +0100
X-Received-Bytes: 1646
 by: Joerg Walther - Tue, 5 Mar 2024 15:22 UTC

Anssi Saari wrote:

>> When copying larger files to any USB drive on a Thinkpad T480 with
>> Ubuntu 22.04 it quite often happens that the OS completely freezes and
>> the PC has to be restarted by switching it off and on again.
>
>You mean your PC crashes when copying data to USB? I would think that's
>a hardware issue.

Probably not because it happens when the USB drive is connected to a
USB2 port als well as a USB3 port, it's unlikely that two USB
controllers are defective.

>If it doesn't happen in some other flavor of Linux,
>then maybe it's something in Ubuntu.

The link in my original message points to a bug filed with Ubuntu years
ago, it may be this bug and I am looking for a fix or a workaround.

-jw-

--

And now for something completely different...

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor