Hi Alex, Thanks again. I did a compile of the debian kernel on my mirabox, then I booted with the modules and uImage. The full bootlog is below. As you can see, the first message about "systemd[1]: CONFIG_CGROUPS was not set" has disappeared, but the line <28>systemd[1]: No control group support available, not creating root group. is still there. I used these CGROUP related kernel compile options: CONFIG_CGROUPS=y # CONFIG_CGROUP_DEBUG is not set CONFIG_CGROUP_NS=y CONFIG_CGROUP_FREEZER=y CONFIG_CGROUP_DEVICE=y # CONFIG_CPUSETS is not set CONFIG_CGROUP_CPUACCT=y CONFIG_RESOURCE_COUNTERS=y # CONFIG_CGROUP_MEM_RES_CTLR is not set CONFIG_CGROUP_SCHED=y CONFIG_FAIR_GROUP_SCHED=y # CONFIG_RT_GROUP_SCHED is not set CONFIG_BLK_CGROUP=y # CONFIG_DEBUG_BLK_CGROUP is not set Also, opensuse gets in an loop with <28>systemd[1]: systemd-udevd.service start request repeated too quickly, refusing to start. <28>systemd[1]: systemd-udevd.service start request repeated too quickly, refusing to start. <28>systemd[1]: systemd-udevd.service start request repeated too quickly, refusing to start. [etc, continuing] Any hints how to continue are very much appreciated. Thanks again, Ge ----------------------------------------
Subject: Re: [opensuse-arm] OpenSUSE 12.3 for armv7 on Mirabox fails Date: Sat, 6 Apr 2013 17:40:03 +0200
On 06.04.2013, at 17:32, G. Heim wrote:
Hi Alex,
Thanks for your fast reply.
----------------------------------------
Subject: Re: [opensuse-arm] OpenSUSE 12.3 for armv7 on Mirabox fails Date: Sat, 6 Apr 2013 17:26:57 +0200
On 06.04.2013, at 16:44, G. Heim wrote:
I have attached a full bootlog below. Basically it reads uImage, then it boots, at some point it says:
<27>systemd[1]: Failed to enumerate cgroup controllers: No such file or directory <30>systemd[1]: systemd 195 running in system mode. (+PAM +LIBWRAP +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ; suse)
Welcome to [0;32mopenSUSE 12.3 (Dartmouth) (armv7hl)[0m!
<27>systemd[1]: Failed to insert module 'autofs4' <30>systemd[1]: Set hostname to
. <28>systemd[1]: CONFIG_CGROUPS was not set when your kernel was compiled. Systems without control groups are not supported. We will now sleep for 10s, and then continue boot-up. Expect breakage and please do not file bugs. Instead fix your kernel and enable CONFIG_CGROUPS. Consult http://0pointer.de/blog/projects/cgroups-vs-cgroups.html for more information. <28>systemd[1]: No control group support available, not creating root group. I don't get this error about this missing setting when I use the same uImage and modules in debian, [...]
CGROUPS are a hard requirement on 12.3. Please enable them in your kernel config :).
Ah. But I don't understand, doesn't debian need it? It is the same uImage as I use for debian which doesn't complain. Or is this opensuse specific?
Maybe openSUSE simply uses a newer version of systemd? Or it compiles it with different options :). But I've ran into the same issue on a different board.
If it is, do you think I can compile uImage using debian with CGROUPS set and then using that uImage & modules for opensuse?
Yes, definitely!
Alex
>Tag MAC [...]:4e:ad:f0 >Tag MAC [...]:4e:ad:f0 Memory policy: ECC disabled, Data cache writealloc Built 1 zonelists in Zone order, mobility grouping off. Total pages: 260096 Kernel command line: console=ttyS0,115200 root=/dev/sdb2 rootwait PID hash table entries: 4096 (order: 2, 16384 bytes) Dentry cache hash table entries: 131072 (order: 7, 524288 bytes) Inode-cache hash table entries: 65536 (order: 6, 262144 bytes) Memory: 512MB 296MB 216MB = 1024MB total Memory: 1032152k/1032152k available, 16424k reserved, 221184K highmem Virtual kernel memory layout: vector : 0xffff0000 - 0xffff1000 ( 4 kB) fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB) DMA : 0xffc00000 - 0xffe00000 ( 2 MB) vmalloc : 0xf3000000 - 0xfa800000 ( 120 MB) lowmem : 0xc0000000 - 0xf2800000 ( 808 MB) pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB) modules : 0xbf000000 - 0xbfe00000 ( 14 MB) .init : 0xc0008000 - 0xc0032000 ( 168 kB) .text : 0xc0032000 - 0xc06c9000 (6748 kB) .data : 0xc06ca000 - 0xc06fec00 ( 211 kB) Hierarchical RCU implementation. RCU-based detection of stalled CPUs is disabled. Verbose stalled-CPUs detection is disabled. NR_IRQS:256 axp_time_init Calibrating delay loop... 1199.30 BogoMIPS (lpj=5996544)
----- full bootlog follows
reading uImage
3586324 bytes read
## Booting kernel from Legacy Image at 06400000 ...
Image Name: Linux-2.6.35.9
Created: 2013-04-06 20:39:30 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 3586260 Bytes = 3.4 MB
Load Address: 00008000
Entry Point: 00008000
Verifying Checksum ... OK
Loading Kernel Image ... OK
OK
Starting kernel ...
Uncompressing Linux... done, booting the kernel.
Initializing cgroup subsys cpu
Linux version 2.6.35.9 (AVALON
ik@anfortas) (gcc version 4.4.5 (Debian 4.4.5-8) ) #1 Sat Apr 6 22:25:10 CEST 2013
CPU: Marvell PJ4Bv7 Processorÿÿ [561f5811] revision 1 (ARMv7), cr=10c53c7f
CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
Machine: Marvell Armada-370
Using UBoot passing parameters structure
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Initializing cgroup subsys ns
Initializing cgroup subsys cpuacct
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys blkio
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
xor: measuring software checksum speed
arm4regs : 1150.800 MB/sec
8regs : 899.600 MB/sec
32regs : 1115.600 MB/sec
xor: using function: arm4regs (1150.800 MB/sec)
NET: Registered protocol family 16
L0 cache Enabled
Speculative Prefetch Disabled
aurora_l2_init
Aurora: Enabling L2
AuroraL2: System L2 cache support initialised
Support IO coherency.
CPU Interface
-------------
SDRAM_CS0 ....base 00000000, size 512MB
SDRAM_CS1 ....base 20000000, size 512MB
SDRAM_CS2 ....disable
SDRAM_CS3 ....disable
DEVICE_CS0 ....base f2000000, size 32MB
DEVICE_CS1 ....no such
DEVICE_CS2 ....no such
DEVICE_CS3 ....no such
PEX0_MEM ....base e0000000, size 32MB
PEX0_IO ....base f1100000, size 1MB
PEX1_MEM ....base e2000000, size 32MB
PEX1_IO ....base f1200000, size 1MB
INTER_REGS ....base d0000000, size 1MB
DMA_UART ....no such
SPI_CS0 ....base f0000000, size 16MB
SPI_CS1 ....no such
SPI_CS2 ....no such
SPI_CS3 ....no such
SPI_CS4 ....no such
SPI_CS5 ....no such
SPI_CS6 ....no such
SPI_CS7 ....no such
BOOT_ROM_CS ....no such
DEV_BOOTCS ....base f5000000, size 16MB
PMU_SCRATCHPAD ....no such
CRYPT0_ENG ....base c8010000, size 64KB
Marvell Armada370 Board-- DB-88F6710-BP Soc: MV6710 A1 LE
LSP version: Armada370_LSP_1.0.2_NQ_p10
Detected Tclk 200000000, SysClk 600000000, FabricClk 600000000
Armada-XP Performance Monitor Unit detected (Marvell ID)!!!
hw perfevents: enabled with Marvell Sheeva-PJ4B PMU driver, 7 counters available
Marvell USB EHCI Host controller #0: e0046600
Marvell USB EHCI Host controller #1: e0046400
pcie is init by steven
pcie is init num= 2
PCI: bus0: Fast back to back transfers enabled
PCI: bus1: Fast back to back transfers disabled
pci 0000:01:01.0: BAR 0: assigned [mem 0xe2000000-0xe200ffff 64bit]
pci 0000:01:01.0: BAR 0: set to [mem 0xe2000000-0xe200ffff 64bit] (PCI address [0xe2000000-0xe200ffff]
pci 0000:01:01.0: BAR 2: assigned [mem 0xe2010000-0xe2010fff 64bit]
pci 0000:01:01.0: BAR 2: set to [mem 0xe2010000-0xe2010fff 64bit] (PCI address [0xe2010000-0xe2010fff]
pci 0000:01:01.0: BAR 4: assigned [mem 0xe2011000-0xe2011fff 64bit]
pci 0000:01:01.0: BAR 4: set to [mem 0xe2011000-0xe2011fff 64bit] (PCI address [0xe2011000-0xe2011fff]
pcie is init
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
raid6: int32x1 126 MB/s
raid6: int32x2 174 MB/s
raid6: int32x4 155 MB/s
raid6: int32x8 151 MB/s
raid6: using algorithm int32x2 (174 MB/s)
Advanced Linux Sound Architecture Driver Version 1.0.23.
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource armada370_clocksource
NET: Registered protocol family 2
IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
TCP bind hash table entries: 65536 (order: 6, 262144 bytes)
TCP: Hash tables configured (established 131072 bind 65536)
TCP reno registered
UDP hash table entries: 512 (order: 1, 8192 bytes)
UDP-Lite hash table entries: 512 (order: 1, 8192 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PMU: registered new PMU device of type 0
NFP (FDB) init 16384 entries, 65536 bytes
NFP (arp) init 16384 entries, 65536 bytes
NFP (fib) init 16384 entries, 65536 bytes
NFP (ct) init 16384 entries, 65536 bytes
cesadev_init(c0010168)
mvCesaInit: channels=1, session=640, queue=64
Switched to NOHz mode on CPU #0
Armada XP hwmon thermal sensor initialized.
Initializing Armada-XP CPU power management (DISABLED)
highmem bounce pool size: 64 pages
squashfs: version 4.0 (2009/01/31) Phillip Lougher
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
SGI XFS with security attributes, large block/inode numbers, no debug enabled
msgmni has been set to 1583
alg: No test for stdrng (krng)
async_tx: api initialized (async)
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Initializing ths8200_init
Initializing dove_adi9889_init
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xd0012000 (irq = 41) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
sata_mv sata_mv.0: version 1.28
sata_mv sata_mv.0: cannot get clkdev
sata_mv sata_mv.0: slots 32 ports 2
scsi0 : sata_mv
scsi1 : sata_mv
ata1: SATA max UDMA/133 irq 55
ata2: SATA max UDMA/133 irq 55
mvSFlashInit ERROR: Unknown SPI flash device!
ERROR: sflash_probe - Failed to initialize the SFlash.
armada-nand armada-nand.0: Initialize HAL based NFC in 8bit mode with DMA Disabled using BCH 4bit ECC
NAND device: Manufacturer ID: 0x2c, Chip ID: 0x38 (Micron NAND 1GiB 3,3V 8-bit)
Creating 3 MTD partitions on "armada-nand":
0x000000000000-0x000000600000 : "UBoot"
0x000000600000-0x000000a00000 : "UImage"
0x000000a00000-0x000040000000 : "Root"
0 - Base 0x00000000 , Size = 0x20000000.
1 - Base 0x20000000 , Size = 0x20000000.
4 - Base 0xf2000000 , Size = 0x02000000.
8 - Base 0xe0000000 , Size = 0x02000000.
9 - Base 0xf1100000 , Size = 0x00100000.
10 - Base 0xe2000000 , Size = 0x02000000.
11 - Base 0xf1200000 , Size = 0x00100000.
12 - Base 0xd0000000 , Size = 0x00100000.
14 - Base 0xf0000000 , Size = 0x01000000.
23 - Base 0xf5000000 , Size = 0x01000000.
25 - Base 0xc8010000 , Size = 0x00010000.
o 2 Giga ports supported
o SKB recycle supported (Enabled)
o NETA acceleration mode 1
o RX Queue support: 8 Queues * 128 Descriptors
o TX Queue support: 8 Queues * 512 Descriptors
o GSO supported
o GRO supported
o Receive checksum offload supported
o Transmit checksum offload supported
o Network Fast Processing (NFP) supported
o NFP Bridging supported
o NFP VLAN Processing supported
o NFP Routing (FIB) supported
o NFP NAT supported
o Driver ERROR statistics enabled
o Driver INFO statistics enabled
o Driver DEBUG statistics enabled
o Switch support enabled
o Loading network interface(s)
o Port 0 is connected to Linux netdevice
giga p=0: mtu=1500, mac=e0027e68
o eth0, ifindex = 2, GbE port = 0
o Port 1 is connected to Linux netdevice
giga p=1: mtu=1500, mac=e0027e68
o eth1, ifindex = 3, GbE port = 1
e1000e: Intel(R) PRO/1000 Network Driver - 1.0.2-k4
e1000e: Copyright (c) 1999 - 2009 Intel Corporation.
e100: Intel(R) PRO/100 Network Driver, 3.5.24-k2-NAPI
e100: Copyright(c) 1999-2006 Intel Corporation
sky2: driver version 1.28
usbcore: registered new interface driver zd1201
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci_marvell ehci_marvell.0: Marvell Orion EHCI
ehci_marvell ehci_marvell.0: new USB bus registered, assigned bus number 1
ehci_marvell ehci_marvell.0: irq 45, io base 0xfbb50100
ehci_marvell ehci_marvell.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
ehci_marvell ehci_marvell.1: Marvell Orion EHCI
ehci_marvell ehci_marvell.1: new USB bus registered, assigned bus number 2
ehci_marvell ehci_marvell.1: irq 46, io base 0xfbb51100
ehci_marvell ehci_marvell.1: USB 2.0 started, EHCI 1.00
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 1 port detected
ata1: SATA link down (SStatus 0 SControl F300)
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
usbcore: registered new interface driver ums-freecom
usbcore: registered new interface driver ums-jumpshot
usbcore: registered new interface driver ums-sddr09
usbcore: registered new interface driver ums-sddr55
mice: PS/2 mouse device common for all mice
rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
i2c /dev entries driver
Linux telephony interface: v1.00
Loading Marvell vpapi device
Loading Marvell tdm device
md: linear personality registered for level -1
md: raid0 personality registered for level 0
md: raid1 personality registered for level 1
md: raid10 personality registered for level 10
md: raid6 personality registered for level 6
md: raid5 personality registered for level 5
md: raid4 personality registered for level 4
cpuidle: using governor ladder
cpuidle: using governor menu
mmc0: mvsdio driver initialized, lacking card detect (fall back to polling)
mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
mv_xor mv_xor.0: Marvell XOR: ( xor )
mv_xor mv_xor.1: Marvell XOR: ( xor )
mmc0: new high speed SDIO card at address 0001
mv_xor mv_xor.2: Marvell XOR: ( cpy )
mv_xor mv_xor.3: Marvell XOR: ( fill cpy )
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
No device for DAI CS42L51
mv88fx_snd mv88fx_snd.0: cannot get clkdev
cs42l51: chipid/revision = fb
asoc: CS42L51 <-> mv88fx-i2s mapping ok
ALSA device list:
#0: mv_i2s (CS42L51)
oprofile: using arm/mrvl_pj4b
nf_conntrack version 0.5.0 (16127 buckets, 64508 max)
ip_tables: (C) 2000-2006 Netfilter Core Team
TCP cubic registered
NET: Registered protocol family 10
ip6_tables: (C) 2000-2006 Netfilter Core Team
IPv6 over IPv4 tunneling driver
usb 1-1: new high speed USB device using ehci_marvell and address 2
NET: Registered protocol family 17
802.1Q VLAN Support v1.8 Ben Greear