All of lore.kernel.org
 help / color / mirror / Atom feed
From: Matthias Ferdinand <bcache@mfedv.net>
To: tang.junhui@zte.com.cn
Cc: linux-bcache@vger.kernel.org
Subject: Re: kernel hangs and crashes with 4.15 (also 4.13, 4.14)
Date: Mon, 12 Feb 2018 11:55:05 +0100	[thread overview]
Message-ID: <20180212105505.yjslxpfdhm5bnh2r@xoff> (raw)
In-Reply-To: <20180212094105.gm5x7njjlaqsnrmi@xoff>

[-- Attachment #1: Type: text/plain, Size: 1633 bytes --]

On Mon, Feb 12, 2018 at 10:41:05AM +0100, Matthias Ferdinand wrote:
> On Mon, Feb 12, 2018 at 04:57:52PM +0800, tang.junhui@zte.com.cn wrote:
> > From: Tang Junhui <tang.junhui@zte.com.cn>
> > 
> > 
> > Hello Matthias,
> > 
> > What kind of caching mode do you use? Writeback or Writethrough?
> 
> Hi, thanks for looking into this.
> 
> This is with writeback caching (haven't tried writethrough yet).
> 
> Some more info about the disk drives used:
> 
> # ls -l /dev/disk/by-id  | grep -v -- -part | grep -v wwn-
> total 0
> lrwxrwxrwx 1 root root  9 Feb  8 00:48 ata-INTEL_SSDSC2BA200G4_BTHV7374017P200MGN -> ../../sdf
> lrwxrwxrwx 1 root root  9 Feb  8 00:48 ata-WDC_WD2005FBYZ-01YCBB2_WD-WMC6N0K0SHRT -> ../../sdc
> lrwxrwxrwx 1 root root  9 Feb  8 00:48 ata-WDC_WD2005FBYZ-01YCBB2_WD-WMC6N0K2KNK4 -> ../../sda
> lrwxrwxrwx 1 root root  9 Feb  8 00:48 ata-WDC_WD2005FBYZ-01YCBB2_WD-WMC6N0K5KHNS -> ../../sdb
> lrwxrwxrwx 1 root root  9 Feb  8 00:48 ata-WDC_WD2005FBYZ-01YCBB2_WD-WMC6N0K7212Z -> ../../sde
> lrwxrwxrwx 1 root root  9 Feb  8 00:48 usb-Samsung_Flash_Drive_0352315110002396-0:0 -> ../../sdd

More de-obfuscation:
   - Intel SSD DC S3710 SATA 200GB for caching
   - WD Gold SATA 2TB for backing device

I now also tested with alternatives writethrough and with "hdparm -W 1",
they also crash.

Perhaps more relevant: fio is started immediately after setup of md
raid and bcache, while md sync speed is set very low:

    echo "1" >/sys/block/md127/md/sync_speed_min
    echo "1" >/sys/block/md127/md/sync_speed_max


I attached the script I use for producing the crashes, hope this helps.

Regards
Matthias Ferdinand

[-- Attachment #2: crash-with-fio.sh --]
[-- Type: application/x-sh, Size: 1700 bytes --]

  reply	other threads:[~2018-02-12 10:55 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-02-12  8:57 kernel hangs and crashes with 4.15 (also 4.13, 4.14) tang.junhui
2018-02-12  9:41 ` Matthias Ferdinand
2018-02-12 10:55   ` Matthias Ferdinand [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-02-12 11:29 tang.junhui
2018-02-08 20:22 Matthias Ferdinand

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20180212105505.yjslxpfdhm5bnh2r@xoff \
    --to=bcache@mfedv.net \
    --cc=linux-bcache@vger.kernel.org \
    --cc=tang.junhui@zte.com.cn \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.