linux-um archives
 help / color / mirror / Atom feed
From: Ritesh Raj Sarraf <rrs@researchut.com>
To: linux-um@lists.infradead.org
Cc: Anton Ivanov <anton.ivanov@cambridgegreys.com>
Subject: uml segfault during I/O
Date: Thu, 17 Oct 2019 17:07:35 +0530	[thread overview]
Message-ID: <a1307b17bd3f51d84d9195760492d1ef284b6382.camel@researchut.com> (raw)


[-- Attachment #1.1: Type: text/plain, Size: 2580 bytes --]

This happens on the 5.2 Linux kernel with Debian patches on top.
The configs details are:

Linux Host: 5.2 (Debian)
Linux UML: 5.2 (Debian)

This tends to happen very easily when doing good amount of I/O, in this
case, doing an `apt upgrade`


[  OK  ] Started Update UTMP about System Runlevel Changes.
NET: Registered protocol family 10
Segment Routing with IPv6
random: crng init done

Modules linked in: ipv6 crc_ccitt
Pid: 870, comm: kworker/0:1H Not tainted 5.2.17
RIP: 0033:[<00000000607e9c03>]
RSP: 000000009d40fde0  EFLAGS: 00010297
RAX: 0000000000000000 RBX: 0000000000004801 RCX: 000000009d40fe30
RDX: 0000000000000001 RSI: 000000009dbc35c0 RDI: 0000000000000000
RBP: 000000009d40fe30 R08: 0000000c00000204 R09: 8080808080808080
R10: fefefefefefefeff R11: 0000000000000246 R12: 0000000000000000
R13: 000000009dbc35c0 R14: 000000009dbc3608 R15: 000000009dbb9800
Kernel panic - not syncing: Segfault with no mm
CPU: 0 PID: 870 Comm: kworker/0:1H Not tainted 5.2.17 #2
Workqueue: kblockd blk_mq_requeue_work
Stack:
 00000000 100000000000001 607d4425 00000001
 9dbc35c0 00000000 00000000 00000000
 9dbb9800 607d44e9 9d40fe30 9d40fe30
Call Trace:
 [<607d4425>] ? blk_mq_sched_insert_request+0x0/0xff
 [<607d44e9>] ? blk_mq_sched_insert_request+0xc4/0xff
 [<607d4425>] ? blk_mq_sched_insert_request+0x0/0xff
 [<607d07c6>] ? blk_mq_requeue_work+0xd0/0x133
 [<60434285>] ? process_one_work+0x1e4/0x34c
 [<60431fd0>] ? move_linked_works+0x0/0x4f
 [<609791f0>] ? __schedule+0x0/0x41d
 [<6043569f>] ? wq_worker_running+0xd/0x2f
 [<60431fd0>] ? move_linked_works+0x0/0x4f
 [<60435362>] ? worker_thread+0x324/0x45e
 [<6043215f>] ? set_pf_worker+0x0/0x5e
 [<604167c7>] ? get_signals+0x0/0xa
 [<60439485>] ? __kthread_parkme+0x4a/0x94
 [<60421a53>] ? do_exit+0x0/0x948
 [<6043503e>] ? worker_thread+0x0/0x45e
 [<604399aa>] ? kthread+0x198/0x1a0
 [<603fea08>] ? new_thread_handler+0x82/0xb8

/home/rrs/bin/uml-debian: line 8: 16743 Aborted                 (core dumped) linux ubd0=~/rrs-home/Libvirt-Images/uml.img eth0=daemon mem=1024M rw
 16:58 ♒ ॐ   ☹ 😟=> 134  


And the linux process remains stray on the host machine.

rrs      18159  0.0  0.0 1057692 11496 ?       Ss   16:57   0:00 linux ubd0=/home/rrs/rrs-home/Libvirt-Images/uml.img eth0=daemon mem=1024M rw
rrs      18187  0.0  0.0 1057704 11496 ?       Ss   16:57   0:00 linux ubd0=/home/rrs/rrs-home/Libvirt-Images/uml.img eth0=daemon mem=1024M rw

-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

[-- Attachment #2: Type: text/plain, Size: 152 bytes --]

_______________________________________________
linux-um mailing list
linux-um@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-um

             reply	other threads:[~2019-10-17 11:37 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-17 11:37 Ritesh Raj Sarraf [this message]
     [not found] ` <1ccf27d8-6b6a-7d08-acef-93077f07511b@cambridgegreys.com>
2019-10-17 13:30   ` uml segfault during I/O Ritesh Raj Sarraf
2019-10-17 13:33     ` Anton Ivanov
2019-10-17 15:03       ` Anton Ivanov
2019-10-17 16:29         ` Anton Ivanov
2019-10-18  7:35           ` Anton Ivanov
2019-10-18  8:57             ` Johannes Berg
2019-10-18  9:13               ` Anton Ivanov
2019-10-18  9:49                 ` Anton Ivanov
2019-10-18  9:55             ` Anton Ivanov
2019-10-18 10:51               ` Anton Ivanov
2019-10-28 16:51                 ` Anton Ivanov

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=a1307b17bd3f51d84d9195760492d1ef284b6382.camel@researchut.com \
    --to=rrs@researchut.com \
    --cc=anton.ivanov@cambridgegreys.com \
    --cc=linux-um@lists.infradead.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox