[Kernel-packages] [Bug 1909518] Re: bcache register_bdev() error cannot allocate memory

2021-02-27 Thread Launchpad Bug Tracker
[Expired for linux (Ubuntu) because there has been no activity for 60
days.]

** Changed in: linux (Ubuntu)
   Status: Incomplete => Expired

-- 
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/1909518

Title:
  bcache register_bdev() error  cannot allocate memory

Status in linux package in Ubuntu:
  Expired

Bug description:
  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".

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1909518/+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


[Kernel-packages] [Bug 1909518] Re: bcache register_bdev() error cannot allocate memory

2020-12-29 Thread Zhanglei Mao
For the 4K sectors, the max limits should be 8T then. (1024G*4096/512)

-- 
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/1909518

Title:
  bcache register_bdev() error  cannot allocate memory

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  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".

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1909518/+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


[Kernel-packages] [Bug 1909518] Re: bcache register_bdev() error cannot allocate memory

2020-12-29 Thread Zhanglei Mao
The command example to change 512 sector to 4K for “Intel P4510 4.0TB
U.2 NVMe SSD”

ubuntu@prdhci01a:~$ sudo nvme id-ns /dev/nvme1 -n 1 -H |grep "LBA Format"
  [3:0] : 0 Current LBA Format Selected
LBA Format  0 : Metadata Size: 0   bytes - Data Size: 512 bytes - Relative 
Performance: 0x2 Good (in use)
LBA Format  1 : Metadata Size: 0   bytes - Data Size: 4096 bytes - Relative 
Performance: 0 Best 

ubuntu@prdhci01a:~$ sudo nvme format /dev/nvme1 -n 1 -l 1
Success formatting namespace:1

ubuntu@prdhci01a:~$ sudo nvme id-ns /dev/nvme1 -n 1 -H |grep "LBA Format"
  [3:0] : 0x1   Current LBA Format Selected
LBA Format  0 : Metadata Size: 0   bytes - Data Size: 512 bytes - Relative 
Performance: 0x2 Good 
LBA Format  1 : Metadata Size: 0   bytes - Data Size: 4096 bytes - Relative 
Performance: 0 Best (in use)
ubuntu@prdhci01a:~$ '

-- 
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/1909518

Title:
  bcache register_bdev() error  cannot allocate memory

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  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".

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1909518/+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


[Kernel-packages] [Bug 1909518] Re: bcache register_bdev() error cannot allocate memory

2020-12-29 Thread Zhanglei Mao
This max 1024G size  applies to the 512byte sector, most NVME ssd can
change ( LBA format ) to 4K and the max limits will be 16T than.

-- 
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/1909518

Title:
  bcache register_bdev() error  cannot allocate memory

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  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".

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1909518/+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


[Kernel-packages] [Bug 1909518] Re: bcache register_bdev() error cannot allocate memory

2020-12-28 Thread Zhanglei Mao
Also, 18.04 ga-kernel worked fine too.

** 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 ( 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 reports are
+ The similar bug report can be found at
  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".
+ 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".

-- 
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/1909518

Title:
  bcache register_bdev() error  cannot allocate memory

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  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".

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1909518/+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