You are not logged in.

#1 2018-10-05 23:21:36

9233
Member
Registered: 2015-02-01
Posts: 36

[SOLVED] Random ro remount | sysrq: SysRq : Emergency Remount

Hi guys!

In the last couple of weeks I had the following behaviour occur  a few times:
1) / gets reoumted to r/o
I always notice this quite quickly because stuff stops working, vim won't save my files, etc.

2) Then I check with mount and indeed, / is ro:

/dev/mapper/vgssd-root on / type ext4 (ro,noatime,discard)

3) When I try to remount it, it says:

# mount -o remount,rw /
mount: /mnt not mounted already, or bad option

4) Meanwhile dmesg shows this:

[10998.002815] usb 2-2: USB disconnect, device number 14               # everything still fine
[33391.844673] sysrq: SysRq : Emergency Remount R/O                     # ro remount begins
[33391.875505] EXT4-fs (dm-2): re-mounted. Opts: (null)
[33391.893026] Emergency Remount complete
[33407.399458] EXT4-fs (dm-2): ext4_writepages: jbd2_start: 13312 pages, ino 11796679; err -30
[33407.399473] EXT4-fs (dm-2): ext4_writepages: jbd2_start: 13312 pages, ino 11796679; err -30
[33422.759354] EXT4-fs (dm-2): ext4_writepages: jbd2_start: 13312 pages, ino 11796679; err -30
[33438.119189] EXT4-fs (dm-2): ext4_writepages: jbd2_start: 13312 pages, ino 11796679; err -30
[33453.479028] EXT4-fs (dm-2): ext4_writepages: jbd2_start: 13312 pages, ino 11796679; err -30
[33468.838859] EXT4-fs (dm-2): ext4_writepages: jbd2_start: 13312 pages, ino 11796679; err -30
[...]
[33607.077469] EXT4-fs (dm-2): ext4_writepages: jbd2_start: 13312 pages, ino 11796706; err -30
[33607.077484] EXT4-fs (dm-2): ext4_writepages: jbd2_start: 13312 pages, ino 3678603; err -30
[33607.077490] EXT4-fs (dm-2): ext4_writepages: jbd2_start: 13312 pages, ino 4458513; err -30
[33607.077504] EXT4-fs (dm-2): ext4_writepages: jbd2_start: 13312 pages, ino 11796679; err -30
[33611.617658] EXT4-fs (dm-2): Couldn't remount RDWR because of unprocessed orphan inode list.  Please umount/remount instead
[33618.045107] EXT4-fs (dm-2): Couldn't remount RDWR because of unprocessed orphan inode list.  Please umount/remount instead
[33622.437271] EXT4-fs (dm-2): ext4_writepages: jbd2_start: 13312 pages, ino 11796706; err -30
[33622.437293] EXT4-fs (dm-2): ext4_writepages: jbd2_start: 13312 pages, ino 3678603; err -30

5) Reboot fixes everything, laptop works perfectly for  1-2 weeks

System Info:
- Newest Kernel, no custom kernel Stuff
- ext4 on LVM on LUKS
- Fairly Old Lite-on SSD (4+ Years), but extended SMART Test says SSD is fine
- Intel i7 4th gen

Any ideas, other than a dying SSD? Is there any better way to test the SSD besides SMART?

Thanks!

Last edited by 9233 (2018-10-06 10:27:26)

Offline

#2 2018-10-06 00:02:35

loqs
Member
Registered: 2014-03-06
Posts: 17,309

Re: [SOLVED] Random ro remount | sysrq: SysRq : Emergency Remount

[33391.844673] sysrq: SysRq : Emergency Remount R/O                     # ro remount begins

This seems to show the remount was in response to sysrq see Keyboard_shortcuts.

Offline

#3 2018-10-06 10:26:29

9233
Member
Registered: 2015-02-01
Posts: 36

Re: [SOLVED] Random ro remount | sysrq: SysRq : Emergency Remount

loqs wrote:
[33391.844673] sysrq: SysRq : Emergency Remount R/O                     # ro remount begins

This seems to show the remount was in response to sysrq see Keyboard_shortcuts.

I did consider this initially, but it seemed extremely unlikely, due to how I was used to invoke the Sysrq combinations on my old keyboard.
However, I did not consider that on my new keyboard I only need to press PrtSc+Alt (which are neighbouring  keys) and {r,e,i,s,u,b}.
Dumb oversight on my side wink
Thanks!

Offline

Board footer

Powered by FluxBB