beautypg.com

At8404 fastpath log messages – Kontron AT8404 CLI User Manual

Page 348

background image

AT8404

FASTPATH log messages

Page B - 15

AT8404 CLI Reference Manual

Table 36: Linux BSP Log Message

Component

Message

Cause

Linux BSP

rc = 10

Second message logged at bootup, right after

“Starting code…”. Always logged.

Table 37: OSAPI Linux Log Messages

Component

Message

Cause

OSAPI Linux

osapiNetLinkNeighDump: could not open

socket! - or –
ipstkNdpFlush: could not open socket! – or –
osapiNetlinkDumpOpen: unable to bind

socket! errno = XX

Couldn’t open a “netlink” socket. Make sure

“ARP Daemon support” (CONFIG_ARPD) is

enabled in the Linux kernel, if the

BROADCOM reference kernel binary is not

being used.

OSAPI Linux

ipstkNdpFlush: sending delete failed

Failed when telling the kernel to delete a

neighbor table entry (the message is

incorrect)

OSAPI Linux

unable to open /proc/net/ipv6/conf/default/

hop_limit

IPv6 MIB objects read, but /proc filesystem is

not mounted, or running kernel does not have

IPV6 support

OSAPI Linux

osapimRouteEntryAdd, errno XX adding 0xYY

to ZZ – or –
osapimRouteEntryDelete, errno XX deleting

0xYY from ZZ

Error adding or deleting an IPv4 route (listed in

hex as YY), on the interface with Linux name

ZZ Error code can be looked up in errno.h.

OSAPI Linux

l3intfAddRoute: Failed to Add Route – or –
l3intfDeleteRoute: Failed to Delete Route

Error adding or deleting a default gateway in

the kernel’s routing table (the function is really

osapiRawMRouteAdd()/Delete())

OSAPI Linux

osapiNetIfConfig: ioctl on XX failed: addr:

0xYY, err: ZZ – or –
osapiNetIPSet: ioctl on XX failed: addr:

0x%YY

Failed trying to set the IP address (in hex as

YY) of the interface with Linux name XX, and

the interface does not exist. Sometimes this is

a harmless race condition (e.g. we try to set

address 0 when DHCPing on the network port

(dtl0) at bootup, before it’s created using

TAP).

OSAPI Linux

ping: sendto error

Trouble sending an ICMP echo request

packet for the UI ‘ping’ command. Maybe

there was no route to that network.

OSAPI Linux

Failed to Create Interface

Out of memory at system initialization time.

OSAPI Linux

TAP Unable to open XX

The /dev/tap file is missing, or, if not using the

BRPOADCOM reference kernel binary, the

kernel is missing “Universal TUN/TAP device

driver support” (CONFIG_TUN).

OSAPI Linux

Tap monitor task is spinning on select failures

– then –
Tap monitor select failed: XX

Trouble reading the /dev/tap device, check the

error message XX for details.

OSAPI Linux

Log_Init: log file error - creating new log file

This pertains to the “event log” persistent file

in flash. Either it did not exist, or had a bad

checksum.

OSAPI Linux

Log_Init: Flash (event) log full; erasing

Event log file has been cleared; happens at

boot time.

OSAPI Linux

Log_Init: Corrupt event log; erasing

Event log file had a non-blank entry after a

blank entry; therefore, something was messed

up.