[Kernel-packages] [Bug 1746340] Re: Samsung SSD corruption (fsck needed)

2023-01-16 Thread Anthony Durity
I've hit this "bug". I've a nice Clevo ODM based laptop and luckily I
have two nvme drives in it so it's not a show-stopper for me but obv.
it's a concern. I have an Intel one which is the boot drive and a
Samsung one which is the data drive. I have a dual-boot setup. So two
data points to note. The Intel nvme works in both Windows and Linux. The
Samsung works in Windows, but not in Linux. When I say that it doesn't
work in Linux I should say that the system brings the drive up, I can
mount it read-write, everything looks good but as soon as I try and
write files to it it craps out with nothing written:

[369.798910] nvme nvme0: controller is down; will reset: CSTS=0x, 
PCI_STATUS=0x10
[369.798916] nvme nvme0: Does your device have a faulty power saving mode 
enabled?
[369.798918] nvme nvme0: Try "nvme_core.default_ps_max_latency_us=0 
pcie_aspm=off" and report a bug
[369.870912] nvme :01:00.0: enabling device ( -> 0002)
[369.871064] nvme nvme0: Removing after probe failure status: -19
[369.890931] nvme0n1: detected capacity change from 1953525168 to 0

Output of `dmesg` attached.

** Attachment added: "omg_dmesg_b0rked.txt"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1746340/+attachment/5641705/+files/omg_dmesg_b0rked.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1746340

Title:
  Samsung SSD corruption (fsck needed)

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Ubuntu 4.13.0-21.24-generic 4.13.13

  
  I have a Razer Blade Stealth 2016. The first Ubuntu I installed was Ubuntu 
17.04, which gave me this error after 2 weeks of usage. After that, I installed 
16.04 and used it for MONTHS without any problems, until it produced the same 
error this week. I think it has to do with the ubuntu updates, because I did 
one recently and one today, just before this problem. Could be a coincidence 
though.

  I notice the error when I try to save something on disk and it says me
  that the disk is in read-only mode:

  lz@lz:/var/log$ touch something
  touch: cannot touch 'something': Read-only file system

  
  lz@lz:/var/log$ cat syslog
  Jan 29 01:07:39 lz kernel: [62984.375393] EXT4-fs error (device nvme0n1p2): 
ext4_find_entry:1442: inode #26607929: comm updatedb.mlocat: checksumming 
directory block 0

  
  lz@lz:/var/log$ dmesg
  [62984.375393] EXT4-fs error (device nvme0n1p2): ext4_find_entry:1442: inode 
#26607929: comm updatedb.mlocat: checksumming directory block 0
  [62984.377374] Aborting journal on device nvme0n1p2-8.
  [62984.379343] EXT4-fs (nvme0n1p2): Remounting filesystem read-only
  [62984.379516] EXT4-fs error (device nvme0n1p2): ext4_find_entry:1442: inode 
#26607929: comm updatedb.mlocat: checksumming directory block 0
  [62984.381486] EXT4-fs error (device nvme0n1p2): ext4_find_entry:1442: inode 
#26607929: comm updatedb.mlocat: checksumming directory block 0
  [62984.383484] EXT4-fs error (device nvme0n1p2): ext4_find_entry:1442: inode 
#26607929: comm updatedb.mlocat: checksumming directory block 0
  [62984.385469] EXT4-fs error (device nvme0n1p2): ext4_find_entry:1442: inode 
#26607929: comm updatedb.mlocat: checksumming directory block 0
  [62984.387278] EXT4-fs error (device nvme0n1p2): ext4_find_entry:1442: inode 
#26607929: comm updatedb.mlocat: checksumming directory block 0
  [62984.389262] EXT4-fs error (device nvme0n1p2): ext4_find_entry:1442: inode 
#26607929: comm updatedb.mlocat: checksumming directory block 0
  [62984.391252] EXT4-fs error (device nvme0n1p2): ext4_find_entry:1442: inode 
#26607929: comm updatedb.mlocat: checksumming directory block 0
  [62984.393341] EXT4-fs error (device nvme0n1p2): ext4_find_entry:1442: inode 
#26607929: comm updatedb.mlocat: checksumming directory block 0
  [63285.618078] audit: type=1400 audit(1517195560.393:63): apparmor="DENIED" 
operation="capable" profile="/usr/sbin/cupsd" pid=22495 comm="cupsd" 
capability=12  capname="net_admin"

  Rebooting the ubuntu will give me a black terminal where I can run
  fsck /dev/nvm30n1p2 (something like that) and it fill fix a lot of
  orphaned inodes. The majority of time it boots back to the Ubuntu
  working good, but some times it boots to a broken ubuntu (no images,
  lots of things broken). I have to reinstall ubuntu then.

  Every time I reinstall my Ubuntu, I have to try lots of times until it
  installs without an Input/Output error. When it installs, I can use it
  for some hours without having the problem, but if I run the software
  updates, it ALWAYS crashes and enters in read-only mode, specifically
  in the part that is installing kernel updates.

  I noticed that Ubuntu installs updates automatically when they're for
  security reasons. Could this be the reason my Ubuntu worked for months
  without the problem, but then an update was applied and it broke?

  I thought that this bug was happening:
  https://bugs.launchpad.net/

[Kernel-packages] [Bug 1503655] Re: Kernel bug in eventpoll_release_file+0x46/0xa0 with 3.13.0-66.107

2015-10-09 Thread Anthony Durity
This bug bit me also. Quite a rarity, I'd say.

3.19.0-31.35 low latency kernel from vivid-proposed.

Agreed that caveat emptor because of enabling proposed repo. But I think
this hang on log in may be a first? I was perplexed at first until I
realised it must have been a bad kernel. Pressed ESC frantically on boot
and selected previous kernel.

I have a hunch that some users may enable proposed repo without knowing
how to deal with the possible consequences.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1503655

Title:
  Kernel bug in eventpoll_release_file+0x46/0xa0 with 3.13.0-66.107

Status in linux package in Ubuntu:
  Confirmed
Status in linux-lts-utopic package in Ubuntu:
  Invalid
Status in linux source package in Trusty:
  Fix Committed
Status in linux-lts-utopic source package in Trusty:
  Fix Committed
Status in linux source package in Vivid:
  Fix Committed
Status in linux-lts-utopic source package in Vivid:
  Invalid
Status in linux source package in Wily:
  Confirmed
Status in linux-lts-utopic source package in Wily:
  Invalid

Bug description:
  With the latest kernel in trusty-proposed I seem to get panics on my
  X230 laptop:

  BUG: unable to handle kernel paging request at fff8
  IP: [] eventpoll_release_file+0x46/0xa0
  PGD 1c11067 PUD 1c13067 PMD 0 
  Oops:  [#1] SMP 
  Modules linked in: snd_hrtimer ip6table_filter ip6_tables ebtable_nat ebt
  CPU: 1 PID: 1939 Comm: pulseaudio Not tainted 3.13.0-66-generic #107-Ubun
  Hardware name: LENOVO 2324CTO/2324CTO, BIOS G2ET94WW (2.54 ) 04/30/2013
  task: 8800c2068000 ti: 8800c4826000 task.ti: 8800c4826000
  RIP: 0010:[]  [] eventpoll_release_fi
  RSP: 0018:8800c4827e78  EFLAGS: 00010286
  RAX:  RBX: ffb7 RCX: 000f
  RDX: 0100 RSI:  RDI: 81c72e80
  RBP: 8800c4827ea0 R08:  R09: 0004
  R10: 880210471e61 R11: 0206 R12: ffa8
  R13: 880210471e61 R14: 8800c4bc6c00 R15: 8800c4acc8f0
  FS:  7f3dbedd6740() GS:88021e24() knlGS:0
  CS:  0010 DS:  ES:  CR0: 80050033
  CR2: fff8 CR3: ce1da000 CR4: 001407e0
  Stack:
  8800c4acc840 0008 880210471e61 8800c4bc6c00
  8800c4afdc00 8800c4827ee8 811c00aa 
  8800c2068000  81ebb680 8800c2068620
  Call Trace:
  [] __fput+0x24a/0x260
  [] fput+0xe/0x10
  [] task_work_run+0xa7/0xe0
  [] do_notify_resume+0x97/0xb0
  [] int_signal+0x12/0x17
  Code: 00 41 56 41 55 41 54 53 e8 68 37 52 00 49 8b 07 48 8b 08 49 39 c7 4
  RIP  [] eventpoll_release_file+0x46/0xa0
  RSP 
  CR2: fff8
  ---[ end trace f2ee3b43ddaf4bd4 ]---

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1503655/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp