Public bug reported:

On 20.04(focal) ga-kernel and 18.04 (hwe-kernel). To make.bcache would
fail as below if the back devices are large than 1024G ( 1025 would
fail, but not 1024 ).

[  727.756453] bcache: register_bdev() error nvme12n1: cannot allocate memory
[  727.756456] bcache: register_bcache() error : failed to register device
[  727.756471] bcache: bcache_device_free() bcache device (NULL gendisk) stopped

There are fix in 5.9 kernel and it can work after install 5.9 kernel on
20.04. The 5.9 kernel are download it from: https://kernel.ubuntu.com
/~kernel-ppa/mainline/v5.9.16/

The similar bug report can be found at
https://bugzilla.redhat.com/show_bug.cgi?id=1783075.

It might related to back device type. it was tested on "Lenov SR665
Server" and "Intel P4510 4.0TB U.2 NVMe SSD", the caching disk are
"Intel P4800X 375GB U.2 NVMe SSD".

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: Incomplete


** Tags: bionic focal ga-kernel hwe-kernel

** Tags added: bionic focal ga-kernel hwe-kernel

** Description changed:

  On 20.04(focal) ga-kernel and 18.04 (hwe-kernel). To make.bcache would
- fail as below if the back devices are large than 1024G ( 102% fail, but
- 1024 did not).
+ fail as below if the back devices are large than 1024G ( 1025 would
+ fail, but not 1024 ).
  
  [  727.756453] bcache: register_bdev() error nvme12n1: cannot allocate memory
  [  727.756456] bcache: register_bcache() error : failed to register device
  [  727.756471] bcache: bcache_device_free() bcache device (NULL gendisk) 
stopped
  
- 
- There are fix in 5.9 kernel and it can work after install 5.9 kernel on 
20.04. The 5.9 kernel are download it from: 
https://kernel.ubuntu.com/~kernel-ppa/mainline/v5.9.16/  
+ There are fix in 5.9 kernel and it can work after install 5.9 kernel on
+ 20.04. The 5.9 kernel are download it from: https://kernel.ubuntu.com
+ /~kernel-ppa/mainline/v5.9.16/
  
  The similar bug reports are
  https://bugzilla.redhat.com/show_bug.cgi?id=1783075.
  
  It might related to back device type. We tested on "Lenov SR665 Server"
  and "Intel P4510 4.0TB U.2 NVMe SSD", the caching disk are "Intel P4800X
  375GB U.2 NVMe SSD".

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1909518

Title:
  bcache register_bdev() error  cannot allocate memory

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to