From: Christoph Lameter <cl@linux.com>
To: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>,
Andrew Morton <akpm@linux-foundation.org>,
Pekka Enberg <penberg@kernel.org>,
David Rientjes <rientjes@google.com>,
Linux MM <linux-mm@kvack.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Vladimir Davydov <vdavydov@parallels.com>
Subject: Re: BUG: enable_cpucache failed for radix_tree_node, error 12 (was: Re: [PATCH v3 9/9] slab: remove BAD_ALIEN_MAGIC)
Date: Fri, 8 Aug 2014 06:50:39 -0500 (CDT) [thread overview]
Message-ID: <alpine.DEB.2.11.1408080649430.14841@gentwo.org> (raw)
In-Reply-To: <CAMuHMdVHmmct=BC=WXFJWeizYp+S706WjvNi=powYsJkarKUhw@mail.gmail.com>
[-- Attachment #1: Type: TEXT/PLAIN, Size: 310 bytes --]
On Fri, 8 Aug 2014, Geert Uytterhoeven wrote:
>
> > Of possible, could you check whether page_to_nid(page) returns
> > only 0 or not?
>
> It returns 0 or 1.
Ok this is broken on m68k. CONFIG_NUMA is required for this to work. If
the arch code does this despite !CONFIG_NUMA then lots of things should
break.
[-- Attachment #2: Type: APPLICATION/OCTET-STREAM, Size: 5535 bytes --]
Linux version 3.16.0-atari-09694-geaf4843385e3 (geert@ramsan) (gcc version 4.1.2 20061115 (prerelease) (Ubuntu 4.1.1-21)) #53 Fri Aug 8 09:44:14 CEST 2014
Saving 154 bytes of bootinfo
console [debug0] enabled
Atari hardware found: VIDEL STDMA-SCSI ST_MFP YM2149 PCM CODEC DSP56K SCC ANALOG_JOY BLITTER IDE TT_CLK FDC_SPEED
*** m68k_memoffset = 0x00000000
*** m68k_virt_to_node_shift = 23
m68k_setup_node: node = 0 (start 0x00000000 size 0x00e00000)
i = 0, end = 1
m68k_setup_node: node = 1 (start 0x01000000 size 0x10000000)
i = 2, end = 33
On node 0 totalpages: 3584
free_area_init_node: node 0, pgdat 0036dac4, node_mem_map 0040b000
DMA zone: 32 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 3584 pages, LIFO batch:0
On node 1 totalpages: 65536
free_area_init_node: node 1, pgdat 0036e3b4, node_mem_map 0042f090
DMA zone: 576 pages used for memmap
DMA zone: 0 pages reserved
DMA zone: 65536 pages, LIFO batch:15
NatFeats found (ARAnyM, 1.0)
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 2 zonelists in Zone order, mobility grouping on. Total pages: 68512
Kernel command line: root=/dev/hda1 video=atafb:tthigh debug=par console=tty0 BOOT_IMAGE=vmlinux
PID hash table entries: 2048 (order: 1, 8192 bytes)
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Sorting __ex_table...
Memory: 268440K/276480K available (2710K kernel code, 307K rwdata, 644K rodata, 148K init, 168K bss, 8040K reserved)
Virtual kernel memory layout:
vector : 0x0036d5b4 - 0x0036d9b4 ( 1 KiB)
kmap : 0xd0000000 - 0xf0000000 ( 512 MiB)
vmalloc : 0x11800000 - 0xd0000000 (3048 MiB)
lowmem : 0x00000000 - 0x11000000 ( 272 MiB)
.init : 0x00398000 - 0x003bd000 ( 148 KiB)
.text : 0x00001000 - 0x002a691c (2711 KiB)
.data : 0x002a9600 - 0x0039750c ( 952 KiB)
.bss : 0x0036d4c0 - 0x0039750c ( 169 KiB)
NR_IRQS:141
Console: colour dummy device 80x25
console [tty0] enabled
Calibrating delay loop... 188.82 BogoMIPS (lpj=944128)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
devtmpfs: initialized
NET: Registered protocol family 16
SCSI subsystem initialized
NET: Registered protocol family 2
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP: reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
nfhd8: found device with 2118816 blocks (512 bytes)
nfhd8: AHDI p1 p2
nfeth: API 5
eth0: nfeth addr:192.168.0.1 (192.168.0.2) HWaddr:00:41:45:54:48:30
futex hash table entries: 256 (order: -1, 3072 bytes)
VFS: Disk quotas dquot_6.5.2
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
msgmni has been set to 524
Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
io scheduler noop registered
io scheduler cfq registered (default)
atafb_init: start
atafb_init: initializing Falcon hw
atafb: screen_base 00670000 phys_screen_base 670000 screen_len 311296
Determined 640x480, depth 4
virtual 640x972
Console: switching to colour frame buffer device 80x30
fb0: frame buffer device, using 304K of video memory
Non-volatile memory driver v1.3
Atari floppy driver: max. HD, track buffering
Probing floppy drive(s):
fd0
brd: module loaded
loop: module loaded
Uniform Multi-Platform E-IDE driver
ide: Falcon IDE controller
Probing IDE interface ide0...
hda: Sarge m68k, ATA DISK drive
ide0 at 0xfff00000 on irq 15 (serialized)
ide-gd driver 1.18
hda: max request size: 128KiB
hda: 2118816 sectors (1084 MB) w/256KiB Cache, CHS=2102/16/63
hda: AHDI hda1 hda2
ide-cd driver 5.00
scsi0: options CAN_QUEUE=8 CMD_PER_LUN=1 SCAT-GAT=0 TAGGED-QUEUING=no HOSTID=7 generic options AUTOSENSE REAL DMA SCSI-2 TAGGED QUEUING generic release=7
scsi host0: Atari native SCSI
blk_queue_max_segments: set to minimum 1
blk_queue_max_segments: set to minimum 1
blk_queue_max_segments: set to minimum 1
blk_queue_max_segments: set to minimum 1
blk_queue_max_segments: set to minimum 1
blk_queue_max_segments: set to minimum 1
blk_queue_max_segments: set to minimum 1
ne ne (unnamed net_device) (uninitialized): NE*000 ethercard probe at 0x300:
not found (no reset ack).
ne ne (unnamed net_device) (uninitialized): ne.c: No NE*000 card found at i/o = 0x300
mousedev: PS/2 mouse device common for all mice
input: Atari Keyboard as /devices/virtual/input/input0
TCP: cubic registered
NET: Registered protocol family 17
NET: Registered protocol family 15
Key type dns_resolver registered
/scratch/geert/linux/linux-m68k/drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
EXT4-fs (hda1): mounting ext3 file system using the ext4 subsystem
EXT4-fs (hda1): mounted filesystem with ordered data mode. Opts: (null)
VFS: Mounted root (ext3 filesystem) readonly on device 3:1.
Freeing unused kernel memory: 148K (00398000 - 003bd000)
random: nonblocking pool is initialized
Adding 137800k swap on /dev/hda2. Priority:-1 extents:1 across:137800k
EXT4-fs (hda1): re-mounted. Opts:
EXT4-fs (hda1): re-mounted. Opts: errors=remount-ro
next prev parent reply other threads:[~2014-08-08 11:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-07 11:52 Geert Uytterhoeven
2014-08-07 12:36 ` Joonsoo Kim
2014-08-07 12:53 ` Geert Uytterhoeven
2014-08-07 13:03 ` Joonsoo Kim
2014-08-08 7:19 ` Joonsoo Kim
2014-08-08 8:56 ` Geert Uytterhoeven
2014-08-08 11:50 ` Christoph Lameter [this message]
2014-08-08 12:06 ` Geert Uytterhoeven
2014-08-08 14:11 ` Christoph Lameter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.DEB.2.11.1408080649430.14841@gentwo.org \
--to=cl@linux.com \
--cc=akpm@linux-foundation.org \
--cc=geert@linux-m68k.org \
--cc=iamjoonsoo.kim@lge.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=penberg@kernel.org \
--cc=rientjes@google.com \
--cc=vdavydov@parallels.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox