You are not logged in.

#1 2014-09-12 09:53:29

cvniekerk
Member
Registered: 2014-09-11
Posts: 1

Failed to open system journal: Invalid argument

What does this mean and how does this affect the system? It is displayed during bootup.

Here is the dmesg:

root@stamp9g20evb:~# dmesg
Initializing cgroup subsys cpu
Linux version 3.0.86 (emss@precise64) (gcc version 4.7.3 20130205 (prerelease) (Linaro GCC 4.7-2013.02-01) ) #2 PREEMPT Tue May 20 14:11:20 SAST 2014
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: taskit Stamp9G20
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 16384
free_area_init_node: node 0, pgdat c03da78c, node_mem_map c03ef000
  Normal zone: 128 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 16256 pages, LIFO batch:3
[XXX] STARTED stamp9g20evb_board
Clocks: CPU 396 MHz, master 132 MHz, main 18.432 MHz
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: console=ttyS0,115200 mem=64M mtdparts=atmel_nand:128k(bootstrap)ro,256k(uboot)ro,128k(env1)ro,128k(env2)ro,2M(linux),-(root) rw root=/dev/mtdblock5 rootfstype=jffs2
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60900k/60900k available, 4636k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xc4800000 - 0xfee00000   ( 934 MB)
    lowmem  : 0xc0000000 - 0xc4000000   (  64 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0025000   ( 116 kB)
      .text : 0xc0025000 - 0xc03b94d4   (3666 kB)
      .data : 0xc03ba000 - 0xc03dae00   ( 132 kB)
       .bss : 0xc03dae24 - 0xc03ee0e0   (  77 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptible hierarchical RCU implementation.
NR_IRQS:192
AT91: 96 gpio irqs in 3 banks
Console: colour dummy device 80x30
console [ttyS0] enabled
Calibrating delay loop... 197.01 BogoMIPS (lpj=985088)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
Initializing cgroup subsys cpuacct
Initializing cgroup subsys devices
Initializing cgroup subsys freezer
Initializing cgroup subsys blkio
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
NET: Registered protocol family 16
[XX] emss_rcmu_board detected
AT91: Power Management (with slow clock mode)
AT91: Starting after user reset
bio: create slab <bio-0> at 0
Switching to clocksource pit
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
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.
JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
fuse init (API version 7.16)
msgmni has been set to 118
io scheduler noop registered (default)
atmel_usart.0: ttyS0 at MMIO 0xfefff200 (irq = 1) is a ATMEL_SERIAL
atmel_usart.1: ttyS1 at MMIO 0xfffb0000 (irq = 6) is a ATMEL_SERIAL
atmel_usart.2: ttyS2 at MMIO 0xfffb4000 (irq = 7) is a ATMEL_SERIAL
atmel_usart.3: ttyS3 at MMIO 0xfffb8000 (irq = 8) is a ATMEL_SERIAL
atmel_usart.5: ttyS4 at MMIO 0xfffd4000 (irq = 24) is a ATMEL_SERIAL
atmel_usart.4: ttyS5 at MMIO 0xfffd0000 (irq = 23) is a ATMEL_SERIAL
brd: module loaded
loop: module loaded
atmel_nand atmel_nand: No DMA support for NAND access.
ONFI flash detected
ONFI param page 0 valid
NAND device: Manufacturer ID: 0x2c, Chip ID: 0xa1 (Micron MT29F1G08ABC)
Scanning device for bad blocks
Bad eraseblock 714 at 0x000005940000
Bad eraseblock 742 at 0x000005cc0000
6 cmdlinepart partitions found on MTD device atmel_nand
Creating 6 MTD partitions on "atmel_nand":
0x000000000000-0x000000020000 : "bootstrap"
0x000000020000-0x000000060000 : "uboot"
0x000000060000-0x000000080000 : "env1"
0x000000080000-0x0000000a0000 : "env2"
0x0000000a0000-0x0000002a0000 : "linux"
0x0000002a0000-0x000008000000 : "root"
MACB_mii_bus: probed
eth0: Atmel MACB at 0xfffc4000 irq 21 (00:50:c2:cd:a8:99)
eth0: attached PHY driver [Generic PHY] (mii_bus:phy_addr=ffffffff:01, irq=-1)
rtc-at91sam9 at91_rtt.0: rtc core: registered at91_rtt as rtc0
rtc-at91sam9 at91_rtt.0: rtc0: SET TIME!
Driver for 1-wire Dallas network protocol.
AT91SAM9 Watchdog enabled (heartbeat=15 sec, nowayout=0)
TCP cubic registered
NET: Registered protocol family 17
Registering the dns_resolver key type
registered taskstats version 1
rtc-at91sam9 at91_rtt.0: hctosys: unable to read the hardware clock
VFS: Mounted root (jffs2 filesystem) on device 31:5.
devtmpfs: mounted
Freeing init memory: 116K
>systemd[1]: systemd 195 running in system mode. (+PAM -LIBWRAP -AUDIT -SELINUX +IMA +SYSVINIT -LIBCRYPTSETUP +GCRYPT +ACL +XZ; angstrom)
NET: Registered protocol family 10
>systemd[1]: Inserted module 'ipv6'
>systemd[1]: Set hostname to <stamp9g20evb>.
>systemd[1]: [/lib/systemd/system/ntpd.service:14] Unknown lvalue 'Restart' in section 'Install'. Ignoring.
>systemd[1]: [/lib/systemd/system/ntpd.service:15] Unknown lvalue 'RestartSec' in section 'Install'. Ignoring.
>systemd[1]: Expecting device dev-ttyS0.device...
>systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
>systemd[1]: Started Forward Password Requests to Wall Directory Watch.
>systemd[1]: Starting Remote File Systems.
>systemd[1]: Reached target Remote File Systems.
>systemd[1]: Starting Syslog Socket.
>systemd[1]: Listening on Syslog Socket.
>systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
>systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
>systemd[1]: Starting Delayed Shutdown Socket.
>systemd[1]: Listening on Delayed Shutdown Socket.
>systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
>systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
>systemd[1]: Starting udev Kernel Socket.
>systemd[1]: Listening on udev Kernel Socket.
>systemd[1]: Starting udev Control Socket.
>systemd[1]: Listening on udev Control Socket.
>systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
>systemd[1]: Starting Swap.
>systemd[1]: Reached target Swap.
>systemd[1]: Expecting device dev-mmcblk0p1.device...
>systemd[1]: Starting Journal Socket.
>systemd[1]: Listening on Journal Socket.
>systemd[1]: Starting Syslog.
>systemd[1]: Reached target Syslog.
>systemd[1]: Started File System Check on Root Device.
>systemd[1]: Starting Remount Root and Kernel File Systems...
>systemd[1]: Starting Load Kernel Modules...
>systemd[1]: Started Set Up Additional Binary Formats.
>systemd[1]: Started Apply Kernel Variables.
>systemd[1]: Mounting Debug File System...
>systemd[1]: Mounted Huge Pages File System.
>systemd[1]: Starting Journal Service...
>systemd[1]: Started Journal Service.
>systemd[1]: Started Machine ID first boot configure.
>systemd[1]: Mounted POSIX Message Queue File System.
>systemd[1]: Starting udev Kernel Device Manager...
>systemd[1]: Starting udev Coldplug all Devices...
>systemd[1]: Started Remount Root and Kernel File Systems.
>systemd[1]: Started Load Kernel Modules.
>systemd[1]: Mounted Debug File System.
>systemd[1]: Started EMSS data file system creation.
>systemd[1]: Mounted Configuration File System.
>systemd[1]: Mounting FUSE Control File System...
>systemd[1]: Starting Local File Systems (Pre).
>systemd[1]: Reached target Local File Systems (Pre).
>systemd[1]: Mounting /tmp...
>systemd[1]: Starting Load Random Seed...
>systemd-udevd[930]: starting version 195
mmc0: host does not support reading read-only switch. assuming write-enable.
mmc0: new SDHC card at address aaaa
mmcblk0: mmc0:aaaa SU04G 3.69 GiB
 mmcblk0: p1
i2c-gpio i2c-gpio.0: using pins 80 (SDA) and 81 (SCL)
>systemd-journald[927]: Received SIGUSR1
industrialio: module is from the staging directory, the quality is unknown, you have been warned.
>systemd-journald[927]: Failed to open system journal: Invalid argument
ring_sw: module is from the staging directory, the quality is unknown, you have been warned.
ad799x: module is from the staging directory, the quality is unknown, you have been warned.
eth0: no IPv6 routers present
Trying 100/FULL
eth0: link up (100/Full)
>systemd-journald[927]: Received SIGUSR1
>systemd-journald[927]: Failed to open system journal: Invalid argument

Here is the systemd-journald.service file:

#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.

[Unit]
Description=Journal Service
Documentation=man:systemd-journald.service(8) man:journald.conf(5)
DefaultDependencies=no
Requires=systemd-journald.socket
After=systemd-journald.socket syslog.socket
Before=sysinit.target

[Service]
ExecStart=//lib/systemd/systemd-journald
Restart=always
RestartSec=0
NotifyAccess=all
StandardOutput=null
CapabilityBoundingSet=CAP_SYS_ADMIN CAP_DAC_OVERRIDE CAP_SYS_PTRACE CAP_SYSLOG CAP_AUDIT_CONTROL CAP_CHOWN CAP_DAC_READ_SEARCH CAP_FOWNER CAP_SETUID CAP_SETGID

# Increase the default a bit in order to allow many simultaneous
# services being run since we keep one fd open per service.
LimitNOFILE=16384

and the systemd-journal-flush.service file

#  This file is part of systemd.
#
#  systemd is free software; you can redistribute it and/or modify it
#  under the terms of the GNU Lesser General Public License as published by
#  the Free Software Foundation; either version 2.1 of the License, or
#  (at your option) any later version.

[Unit]
Description=Trigger Flushing of Journal to Persistent Storage
Documentation=man:systemd-journald.service(8) man:journald.conf(5)
DefaultDependencies=no
Requires=systemd-journald.service
After=systemd-journald.service local-fs.target remote-fs.target
Before=systemd-user-sessions.service

[Service]
ExecStart=/bin/systemctl kill --kill-who=main --signal=SIGUSR1 systemd-journald.service
Type=oneshot

Offline

#2 2014-09-12 15:25:42

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: Failed to open system journal: Invalid argument

Is this Arch Linux? Your Kernel is kind of old isn't it? Arch doesn't support partial upgrades, so is there a reason the system is not up-to-date?

Also, have you searched for the cause in the Wiki?, Google? The forums? What did you find?

Since it's your first post, I don't know if you've seen:

https://wiki.archlinux.org/index.php/Fo … troduction
https://wiki.archlinux.org/index.php/Fo … pport_ONLY


Matt

"It is very difficult to educate the educated."

Offline

Board footer

Powered by FluxBB