All of lore.kernel.org
 help / color / mirror / Atom feed
* Boot time warning in today's git.
@ 2018-07-31 17:19 Rob Landley
  0 siblings, 0 replies; 2+ messages in thread
From: Rob Landley @ 2018-07-31 17:19 UTC (permalink / raw)
  To: linux-sh

[-- Attachment #1: Type: text/plain, Size: 1799 bytes --]

My https://github.com/landley/mkroot build (from the attached miniconfig) did:

Freeing unused kernel memory: 116K
This architecture does not have kernel memory protection.
WARNING: CPU: 0 PID: 1 at mm/slub.c:2412 ___slab_alloc.constprop.34+0x196/0x288

CPU: 0 PID: 1 Comm: swapper Not tainted 4.18.0-rc4 #1
PC is at ___slab_alloc.constprop.34+0x196/0x288
PR is at __slab_alloc.constprop.33+0x2a/0x4c
PC  : 8c09adbe SP  : 8f829ea8 SR  : 400080f0
TEA : c0001240
R0  : 8c09ac28 R1  : 8c01cc54 R2  : 8ff750d0 R3  : 00000000
R4  : 8f802780 R5  : 006080c0 R6  : 8c01d79c R7  : 8ff750d0
R8  : 8c011bd8 R9  : 8ff750d0 R10 : 8f802780 R11 : 00008000
R12 : 8c01d79c R13 : 006080c0 R14 : 8f8027fc
MACH: 00000231 MACL: 0ae4849d GBR : 00000000 PR  : 8c09aeda

Call trace:
 [<(ptrval)>] arch_local_irq_restore+0x0/0x24
 [<(ptrval)>] __do_softirq+0xbe/0x1ec
 [<(ptrval)>] __slab_alloc.constprop.33+0x2a/0x4c
 [<(ptrval)>] arch_local_save_flags+0x0/0x8
 [<(ptrval)>] arch_local_irq_restore+0x0/0x24
 [<(ptrval)>] mm_init.isra.6+0xb4/0x104
 [<(ptrval)>] kmem_cache_alloc+0x9c/0xf4
 [<(ptrval)>] arch_local_irq_restore+0x0/0x24
 [<(ptrval)>] mm_init.isra.6+0xb4/0x104
 [<(ptrval)>] mm_init.isra.6+0xb4/0x104
 [<(ptrval)>] __do_execve_file+0x1da/0x5bc
 [<(ptrval)>] kmem_cache_alloc+0x0/0xf4
 [<(ptrval)>] arch_local_irq_restore+0x0/0x24
 [<(ptrval)>] arch_local_save_flags+0x0/0x8
 [<(ptrval)>] do_execve+0x16/0x24
 [<(ptrval)>] arch_local_save_flags+0x0/0x8
 [<(ptrval)>] arch_local_irq_restore+0x0/0x24
 [<(ptrval)>] printk+0x0/0x24
 [<(ptrval)>] kernel_init+0x34/0xec
 [<(ptrval)>] ret_from_kernel_thread+0xc/0x14
 [<(ptrval)>] schedule_tail+0x0/0x54
 [<(ptrval)>] kernel_init+0x0/0xec

---[ end trace b8dd3009d023a164 ]---
8139cp 0000:00:02.0 eth0: link up, 100Mbps, full-duplex, lpa 0x05E1
Type exit when done.


[-- Attachment #2: sh4.miniconf --]
[-- Type: text/plain, Size: 1308 bytes --]

# make ARCH=sh allnoconfig KCONFIG_ALLCONFIG=sh4.miniconf
# make ARCH=sh -j $(nproc)
# boot arch/sh/boot/zImage


CONFIG_CPU_SUBTYPE_SH7751R=y
CONFIG_MMU=y
CONFIG_MEMORY_START=0x0c000000
CONFIG_VSYSCALL=y
CONFIG_SH_FPU=y
CONFIG_SH_RTS7751R2D=y
CONFIG_RTS7751R2D_PLUS=y
CONFIG_SERIAL_SH_SCI=y
CONFIG_SERIAL_SH_SCI_CONSOLE=y

CONFIG_PCI=y
CONFIG_NET_VENDOR_REALTEK=y
CONFIG_8139CP=y

CONFIG_PCI=y
CONFIG_BLK_DEV_SD=y
CONFIG_ATA=y
CONFIG_ATA_SFF=y
CONFIG_ATA_BMDMA=y
CONFIG_PATA_PLATFORM=y

CONFIG_BINFMT_ELF_FDPIC=y
CONFIG_BINFMT_FLAT=y

#CONFIG_SPI=y
#CONFIG_SPI_SH_SCI=y
#CONFIG_MFD_SM501=y

#CONFIG_RTC_CLASS=y
#CONFIG_RTC_DRV_R9701=y
#CONFIG_RTC_DRV_SH=y
#CONFIG_RTC_HCTOSYS=y


# CONFIG_EMBEDDED is not set
CONFIG_EARLY_PRINTK=y
CONFIG_BINFMT_ELF=y
CONFIG_BINFMT_SCRIPT=y
CONFIG_NO_HZ=y
CONFIG_HIGH_RES_TIMERS=y

CONFIG_BLK_DEV=y
CONFIG_BLK_DEV_INITRD=y
CONFIG_RD_GZIP=y

CONFIG_BLK_DEV_LOOP=y
CONFIG_EXT4_FS=y
CONFIG_EXT4_USE_FOR_EXT2=y
CONFIG_VFAT_FS=y
CONFIG_FAT_DEFAULT_UTF8=y
CONFIG_MISC_FILESYSTEMS=y
CONFIG_SQUASHFS=y
CONFIG_SQUASHFS_XATTR=y
CONFIG_SQUASHFS_ZLIB=y
CONFIG_DEVTMPFS=y
CONFIG_DEVTMPFS_MOUNT=y
CONFIG_TMPFS=y
CONFIG_TMPFS_POSIX_ACL=y

CONFIG_NET=y
CONFIG_PACKET=y
CONFIG_UNIX=y
CONFIG_INET=y
CONFIG_IPV6=y
CONFIG_NETDEVICES=y
#CONFIG_NET_CORE=y
#CONFIG_NETCONSOLE=y
CONFIG_ETHERNET=y


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

* Re: Boot time warning in today's git.
@ 2018-08-01  7:27 Geert Uytterhoeven
  0 siblings, 0 replies; 2+ messages in thread
From: Geert Uytterhoeven @ 2018-08-01  7:27 UTC (permalink / raw)
  To: linux-sh

Hi Rob,

On Tue, Jul 31, 2018 at 7:19 PM Rob Landley <rob@landley.net> wrote:
> My https://github.com/landley/mkroot build (from the attached miniconfig) did:
>
> Freeing unused kernel memory: 116K
> This architecture does not have kernel memory protection.
> WARNING: CPU: 0 PID: 1 at mm/slub.c:2412 ___slab_alloc.constprop.34+0x196/0x288

Same one as "Random warning dump during init."
(https://www.spinics.net/lists/linux-sh/msg53148.html).

Fixed by  "[PATCH] sh: remove unneeded constructor."
(https://www.spinics.net/lists/linux-sh/msg53250.html).

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

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

end of thread, other threads:[~2018-08-01  7:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-31 17:19 Boot time warning in today's git Rob Landley
2018-08-01  7:27 Geert Uytterhoeven

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.