All of lore.kernel.org
 help / color / mirror / Atom feed
* bcache: register_cache() error opening sdh2: cannot allocate memory => BUG NULL pointer
@ 2016-02-25  6:18 Marc MERLIN
  2016-02-25  7:29 ` Eric Wheeler
  0 siblings, 1 reply; 5+ messages in thread
From: Marc MERLIN @ 2016-02-25  6:18 UTC (permalink / raw)
  To: linux-bcache

I understand I have an underlying memory problem, but could bcache handle
memory issues and not crash on null pointer?

gargamel:/sys/block/md5/bcache# echo /dev/sdh2 > /sys/fs/bcache/register
gave:
bcache: register_cache() error opening sdh2: cannot allocate memory
BUG: unable to handle kernel NULL pointer dereference at 00000000000009b8
IP: [<ffffffffc05a7e8d>] cache_set_flush+0x102/0x15c [bcache]
PGD 120dff067 PUD 1119a3067 PMD 0 
Oops: 0000 [#1] SMP 
Modules linked in: veth ip6table_filter ip6_tables
(...)
CPU: 4 PID: 3371 Comm: kworker/4:3 Not tainted 4.4.2-amd64-i915-volpreempt-20160213bc1 #3
Hardware name: System manufacturer System Product Name/P8H67-M PRO, BIOS 3904 04/27/2013
Workqueue: events cache_set_flush [bcache]
task: ffff88020d5dc280 ti: ffff88020b6f8000 task.ti: ffff88020b6f8000
RIP: 0010:[<ffffffffc05a7e8d>]  [<ffffffffc05a7e8d>] cache_set_flush+0x102/0x15c [bcache]

Thanks,
Marc
-- 
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems ....
                                      .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/  

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2016-02-26  0:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-25  6:18 bcache: register_cache() error opening sdh2: cannot allocate memory => BUG NULL pointer Marc MERLIN
2016-02-25  7:29 ` Eric Wheeler
2016-02-25 16:44   ` Marc MERLIN
2016-02-25 23:30     ` Eric Wheeler
2016-02-26  0:18       ` Marc MERLIN

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.