I am facing "init: Caught abort, core dumped" error. My previous session was abnormally, I can't use chown command anymore so I decided to reboot instance. After that I am not able to connect to my instance such as: FTP, SSH, HTTP,...
Any help is highly appreciated. Thank you.
Below is the debug information:
Security Group/Inbound rules:
SSH TCP 22 0.0.0.0/0
Custom TCP Rule TCP 6379 0.0.0.0/0
Custom TCP Rule TCP 20 - 21 0.0.0.0/0
MYSQL/Aurora TCP 3306 0.0.0.0/0
System log
[ 0.542891] system 00:0a: [io 0x10c0-0x1141] has been reserved
[ 0.546055] system 00:0a: [io 0xb044-0xb047] has been reserved
[ 0.562153] pnp: PnP ACPI: found 11 devices
[ 0.564613] ACPI: bus type PNP unregistered
[ 0.572377] NET: Registered protocol family 2
[ 0.575233] TCP established hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.579056] TCP bind hash table entries: 8192 (order: 5, 131072 bytes)
[ 0.582540] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.586028] TCP: reno registered
[ 0.588038] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.591141] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.594521] NET: Registered protocol family 1
[ 0.597119] pci 0000:00:00.0: Limiting direct PCI/PCI transfers
[ 0.600918] pci 0000:00:01.0: PIIX3: Enabling Passive Release
[ 0.604369] pci 0000:00:01.0: Activating ISA DMA hang workarounds
[ 0.607967] Trying to unpack rootfs image as initramfs...
[ 0.718203] Freeing initrd memory: 7568K (ffff880037128000 - ffff88003788c000)
[ 0.722384] microcode: CPU0 sig=0x306f2, pf=0x1, revision=0x25
[ 0.725593] microcode: Microcode Update Driver: v2.00 <tigran#aivazian.fsnet.co.uk>, Peter Oruba
[ 0.730349] Scanning for low memory corruption every 60 seconds
[ 0.733871] Initialise system trusted keyring
[ 0.736471] audit: initializing netlink socket (disabled)
[ 0.739493] type=2000 audit(1465401459.804:1): initialized
[ 0.764309] HugeTLB registered 2 MB page size, pre-allocated 0 pages
[ 0.768478] zbud: loaded
[ 0.770334] VFS: Disk quotas dquot_6.5.2
[ 0.772689] Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.776375] fuse init (API version 7.22)
[ 0.778891] msgmni has been set to 1979
[ 0.781208] Key type big_key registered
[ 0.783615] Key type asymmetric registered
[ 0.786105] Asymmetric key parser 'x509' registered
[ 0.789020] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.793062] io scheduler noop registered
[ 0.795340] io scheduler deadline registered (default)
[ 0.798232] io scheduler cfq registered
[ 0.800522] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 0.803515] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 0.807047] ipmi message handler version 39.2
[ 0.809587] input: Power Button as /devices/LNXSYSTM:00/LNXPWRBN:00/input/input0
[ 0.813836] ACPI: Power Button [PWRF]
[ 0.816069] input: Sleep Button as /devices/LNXSYSTM:00/LNXSLPBN:00/input/input1
[ 0.820266] ACPI: Sleep Button [SLPF]
[ 0.822513] GHES: HEST is not enabled!
[ 0.825051] xen:grant_table: Grant tables using version 1 layout
[ 0.828290] Grant table initialized
[ 0.830431] Cannot get hvm parameter CONSOLE_EVTCHN (18): -22!
[ 0.833531] Serial: 8250/16550 driver, 32 ports, IRQ sharing enabled
[ 0.862542] 00:09: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A
[ 0.867617] Linux agpgart interface v0.103
[ 0.870829] brd: module loaded
[ 0.873228] loop: module loaded
[ 0.890155] scsi0 : ata_piix
[ 0.892133] scsi1 : ata_piix
[ 0.894276] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc100 irq 14
[ 0.898888] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc108 irq 15
[ 0.905590] libphy: Fixed MDIO Bus: probed
[ 0.910411] tun: Universal TUN/TAP device driver, 1.6
[ 0.914535] tun: (C) 1999-2004 Max Krasnyansky <maxk#qualcomm.com>
[ 0.918333] PPP generic driver version 2.4.2
[ 0.921391] xen_netfront: Initialising Xen virtual ethernet driver
[ 0.928165] blkfront: xvda: barrier or flush: disabled; persistent grants: disabled; indirect descriptors: enabled;
[ 0.937276] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.941871] ehci-pci: EHCI PCI platform driver
[ 0.949195] ehci-platform: EHCI generic platform driver
[ 0.953430] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.962458] ohci-pci: OHCI PCI platform driver
[ 0.965396] ohci-platform: OHCI generic platform driver
[ 0.971784] uhci_hcd: USB Universal Host Controller Interface driver
[ 0.976112] xvda: xvda1
[ 0.979714] i8042: PNP: PS/2 Controller [PNP0303:PS2K,PNP0f13:PS2M] at 0x60,0x64 irq 1,12
[ 0.991661] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 0.997716] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 1.003550] mousedev: PS/2 mouse device common for all mice
[ 1.011100] input: AT Translated Set 2 keyboard as /devices/platform/i8042/serio0/input/input2
[ 1.020401] rtc_cmos 00:04: rtc core: registered rtc_cmos as rtc0
[ 1.027103] rtc_cmos 00:04: alarms up to one day, 114 bytes nvram, hpet irqs
[ 1.035508] device-mapper: uevent: version 1.0.3
[ 1.040913] device-mapper: ioctl: 4.27.0-ioctl (2013-10-30) initialised: dm-devel#redhat.com
[ 1.051822] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.058681] TCP: cubic registered
[ 1.063519] NET: Registered protocol family 10
[ 1.069695] NET: Registered protocol family 17
[ 1.073197] Key type dns_resolver registered
[ 1.077170] Loading compiled-in X.509 certificates
[ 1.081258] Loaded X.509 cert 'Magrathea: Glacier signing key: eb178a95d58f38dba12bad4c52c4257e44d6ab5b'
[ 1.087311] registered taskstats version 1
[ 1.091799] Key type trusted registered
[ 1.096566] Key type encrypted registered
[ 1.100313] AppArmor: AppArmor sha1 policy hashing enabled
[ 1.103846] IMA: No TPM chip found, activating TPM-bypass!
[ 1.107882] xenbus_probe_frontend: Device with no driver: device/vfb/0
[ 1.111994] regulator-dummy: disabling
[ 1.114532] Magic number: 4:633:992
[ 1.117234] rtc_cmos 00:04: setting system clock to 2016-06-08 15:57:40 UTC (1465401460)
[ 1.122820] BIOS EDD facility v0.16 2004-Jun-25, 0 devices found
[ 1.126485] EDD information not available.
[ 1.130561] Freeing unused kernel memory: 1336K (ffffffff81d20000 - ffffffff81e6e000)
[ 1.135758] Write protecting the kernel read-only data: 12288k
[ 1.139873] Freeing unused kernel memory: 764K (ffff880001741000 - ffff880001800000)
[ 1.146004] Freeing unused kernel memory: 680K (ffff880001b56000 - ffff880001c00000)
Loading, please wait...
[ 1.164161] systemd-udevd[127]: starting version 204
[ 1.201493] FDC 0 is a S82078B
[ 1.720163] tsc: Refined TSC clocksource calibration: 2400.001 MHz
[ 2.231369] input: ImExPS/2 Generic Explorer Mouse as /devices/platform/i8042/serio1/input/input4
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
[ 2.768599] EXT4-fs (xvda1): mounted filesystem with ordered data mode. Opts: (null)
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
[ 2.935267] random: init urandom read with 50 bits of entropy available
[ 2.952875] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 2.962946] init: Caught abort, core dumped
[ 2.969045] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 2.977031] init: Caught abort, core dumped
[ 2.980696] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 2.990614] init: Caught abort, core dumped
[ 2.996620] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.007815] init: Caught abort, core dumped
[ 3.014989] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.024113] init: Caught abort, core dumped
[ 3.029120] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.039051] init: Caught abort, core dumped
[ 3.048685] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.056654] init: Caught abort, core dumped
[ 3.061955] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.070040] init: Caught abort, core dumped
[ 3.074703] init: Error while reading from descriptor: Bad file descriptor
[ 3.084192] init: Error while reading from descriptor: Bad file descriptor
[ 3.093818] init: hostname main process (232) terminated with status 6
[ 3.104508] init: plymouth-ready (startup) main process (234) terminated with status 6
[ 3.116246] init: plymouth-upstart-bridge main process (236) terminated with status 6
[ 3.121501] init: plymouth-upstart-bridge main process ended, respawning
[ 3.125653] init: hwclock main process (238) terminated with status 6
[ 3.129604] init: startpar-bridge (hostname--started) main process (240) terminated with status 6
[ 3.135151] init: startpar-bridge (plymouth-ready-startup-started) main process (242) terminated with status 6
[ 3.141536] init: startpar-bridge (plymouth-upstart-bridge--started) main process (244) terminated with status 6
[ 3.148329] init: startpar-bridge (hwclock--started) main process (246) terminated with status 6
[ 3.155105] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.160461] init: Caught abort, core dumped
[ 3.164776] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.170217] init: Caught abort, core dumped
[ 3.174056] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.179238] init: Caught abort, core dumped
[ 3.182793] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.187965] init: Caught abort, core dumped
[ 3.191571] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.196793] init: Caught abort, core dumped
[ 3.200371] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.205572] init: Caught abort, core dumped
[ 3.208767] init: Error while reading from descriptor: Bad file descriptor
[ 3.213044] init: mountall main process (248) terminated with status 6
[ 3.217088] init: plymouth-upstart-bridge main process (250) terminated with status 6
[ 3.222039] init: plymouth-upstart-bridge main process ended, respawning
[ 3.226206] init: startpar-bridge (hostname--stopped) main process (252) terminated with status 6
[ 3.231580] init: startpar-bridge (plymouth-ready-startup-stopped) main process (254) terminated with status 6
[ 3.237557] init: startpar-bridge (hwclock--stopped) main process (256) terminated with status 6
[ 3.242929] init: startpar-bridge (plymouth-upstart-bridge--started) main process (258) terminated with status 6
[ 3.249824] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.254931] init: Caught abort, core dumped
[ 3.260290] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.265684] init: Caught abort, core dumped
[ 3.269716] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.274919] init: Caught abort, core dumped
[ 3.278016] init: mountall post-stop process (260) terminated with status 6
[ 3.282172] init: plymouth-upstart-bridge main process (262) terminated with status 6
[ 3.287058] init: plymouth-upstart-bridge main process ended, respawning
[ 3.291077] init: startpar-bridge (plymouth-upstart-bridge--started) main process (264) terminated with status 6
[ 3.298045] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.303209] init: Caught abort, core dumped
[ 3.306718] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.311799] init: Caught abort, core dumped
[ 3.315426] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.320534] init: Caught abort, core dumped
[ 3.324123] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.329210] init: Caught abort, core dumped
[ 3.332798] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.338020] init: Caught abort, core dumped
[ 3.346092] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.354719] init: Caught abort, core dumped
[ 3.357845] init: Error while reading from descriptor: Bad file descriptor
[ 3.363173] init: startpar-bridge (mountall--stopped) main process (266) terminated with status 6
[ 3.368653] init: plymouth-upstart-bridge main process (268) terminated with status 6
[ 3.373544] init: plymouth-upstart-bridge main process ended, respawning
[ 3.377674] init: console-setup main process (270) terminated with status 6
[ 3.381866] init: plymouth-stop pre-start process (272) terminated with status 6
[ 3.386388] init: startpar-bridge (plymouth-upstart-bridge--started) main process (274) terminated with status 6
[ 3.391654] init: startpar-bridge (console-setup--started) main process (276) terminated with status 6
[ 3.397076] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.401471] init: Caught abort, core dumped
[ 3.404960] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.409384] init: Caught abort, core dumped
[ 3.412704] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.417322] init: Caught abort, core dumped
[ 3.420578] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.425259] init: Caught abort, core dumped
[ 3.428457] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.433261] init: Caught abort, core dumped
[ 3.436836] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.442134] init: Caught abort, core dumped
[ 3.445087] init: Error while reading from descriptor: Bad file descriptor
[ 3.448841] init: mountall-shell main process (278) terminated with status 6
[ 3.454603] init: plymouth-upstart-bridge main process (280) terminated with status 6
[ 3.458953] init: plymouth-upstart-bridge main process ended, respawning
[ 3.462361] init: startpar-bridge (mountall-shell--started) main process (282) terminated with status 6
[ 3.467302] init: startpar-bridge (console-setup--stopped) main process (284) terminated with status 6
[ 3.472558] init: startpar-bridge (plymouth-stop--stopped) main process (286) terminated with status 6
[ 3.477480] init: startpar-bridge (plymouth-upstart-bridge--started) main process (288) terminated with status 6
[ 3.483404] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.488006] init: Caught abort, core dumped
[ 3.491530] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.496242] init: Caught abort, core dumped
[ 3.499631] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.504472] init: Caught abort, core dumped
[ 3.507167] init: Error while reading from descriptor: Bad file descriptor
[ 3.510698] init: mountall-shell post-stop process (290) terminated with status 6
[ 3.514794] init: plymouth-upstart-bridge main process (292) terminated with status 6
[ 3.519126] init: plymouth-upstart-bridge main process ended, respawning
[ 3.522557] init: startpar-bridge (plymouth-upstart-bridge--started) main process (294) terminated with status 6
[ 3.528606] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.533055] init: Caught abort, core dumped
[ 3.536730] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.541202] init: Caught abort, core dumped
[ 3.544488] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.549003] init: Caught abort, core dumped
[ 3.551674] init: startpar-bridge (mountall-shell--stopped) main process (296) terminated with status 6
[ 3.556728] init: plymouth-upstart-bridge main process (298) terminated with status 6
[ 3.561282] init: plymouth-upstart-bridge main process ended, respawning
[ 3.564718] init: startpar-bridge (plymouth-upstart-bridge--started) main process (300) terminated with status 6
[ 3.570904] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.575284] init: Caught abort, core dumped
[ 3.578682] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.583252] init: Caught abort, core dumped
[ 3.585978] init: plymouth-upstart-bridge main process (302) terminated with status 6
[ 3.590346] init: plymouth-upstart-bridge main process ended, respawning
[ 3.593936] init: startpar-bridge (plymouth-upstart-bridge--started) main process (304) terminated with status 6
[ 3.599965] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.604452] init: Caught abort, core dumped
[ 3.607744] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.612131] init: Caught abort, core dumped
[ 3.614808] init: plymouth-upstart-bridge main process (306) terminated with status 6
[ 3.619110] init: plymouth-upstart-bridge main process ended, respawning
[ 3.622701] init: startpar-bridge (plymouth-upstart-bridge--started) main process (308) terminated with status 6
[ 3.628533] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.632958] init: Caught abort, core dumped
[ 3.636221] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.640687] init: Caught abort, core dumped
[ 3.643362] init: plymouth-upstart-bridge main process (310) terminated with status 6
[ 3.647784] init: plymouth-upstart-bridge main process ended, respawning
[ 3.651340] init: startpar-bridge (plymouth-upstart-bridge--started) main process (312) terminated with status 6
[ 3.657232] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.661688] init: Caught abort, core dumped
[ 3.664970] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.669342] init: Caught abort, core dumped
[ 3.672046] init: plymouth-upstart-bridge main process (314) terminated with status 6
[ 3.676342] init: plymouth-upstart-bridge respawning too fast, stopped
[ 3.679769] init: startpar-bridge (plymouth-upstart-bridge--started) main process (316) terminated with status 6
[ 3.685787] init: error.c:219: Assertion failed in _nih_error_raise_system: errno > 0
[ 3.690230] init: Caught abort, core dumped
[ 3.692862] init: startpar-bridge (plymouth-upstart-bridge--stopped) main process (318) terminated with status 6
[ 95.808134] random: nonblocking pool is initialized
Related
I am trying to use the PCF85063A RTC device on a Toradex Colibry i.MX7D processor.
Used Setup:
Colibri iMX7D 1 GB V1.1A
Kernel 5.4.161-5.6.0-devel+git.0f0011824921
For this, I created an own DTS file. Here’s the relevant DTS change:
&i2c4 {
status = "okay";
/* PCF85063A real time clock on carrier board */
pcf_rtc: pcf85063a#51 {
compatible = "nxp,pcf85063a";
reg = <0x51>;
interrupt-parent = <&gpio1>;
interrupts = <1 IRQ_TYPE_EDGE_FALLING>;
wakeup-source;
};
};
I enabled the driver in the kernel configuration, recompiled the kernel and modules and deployed them.
CONFIG_RTC_DRV_PCF85063=y
The output of dmesg after booting the system is as follows, which looks good to me at first glance:
~$ dmesg | grep rtc
[ 1.071396] rtc-pcf85063 3-0051: wake irq already initialized
[ 1.293186] rtc rtc0: failed to enable irq wake
[ 1.303787] rtc-pcf85063 3-0051: registered as rtc0
[ 1.309405] snvs_rtc 30370000.snvs:snvs-rtc-lp: registered as rtc1
[ 1.757462] rtc-pcf85063 3-0051: setting system clock to 2022-11-28T15:33:09 UTC (1669649589)
But one block within dmesg output makes me think that something is wrong initialized:
[ 1.056406] ------------[ cut here ]------------
[ 1.061047] WARNING: CPU: 0 PID: 1 at drivers/base/power/wakeirq.c:30 dev_pm_attach_wake_irq.constprop.0+0xd0/0xd4
[ 1.071396] rtc-pcf85063 3-0051: wake irq already initialized
[ 1.077140] Modules linked in:
[ 1.080203] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 5.4.161-5.6.0-devel+git.0f0011824921 #1
[ 1.088726] Hardware name: Freescale i.MX7 Dual (Device Tree)
[ 1.094495] [<8010eaf8>] (unwind_backtrace) from [<8010bb1c>] (show_stack+0x10/0x14)
[ 1.102248] [<8010bb1c>] (show_stack) from [<80914d84>] (dump_stack+0x90/0xa4)
[ 1.109480] [<80914d84>] (dump_stack) from [<8090c38c>] (__warn+0xbc/0xd8)
[ 1.116363] [<8090c38c>] (__warn) from [<8090c42c>] (warn_slowpath_fmt+0x84/0x98)
[ 1.123856] [<8090c42c>] (warn_slowpath_fmt) from [<8058b538>] (dev_pm_attach_wake_irq.constprop.0+0xd0/0xd4)
[ 1.133780] [<8058b538>] (dev_pm_attach_wake_irq.constprop.0) from [<8058b688>] (dev_pm_set_wake_irq+0x40/0x70)
[ 1.143879] [<8058b688>] (dev_pm_set_wake_irq) from [<8065d670>] (pcf85063_probe+0x204/0x2f4)
[ 1.152414] [<8065d670>] (pcf85063_probe) from [<8065ed90>] (i2c_device_probe+0xac/0x2c4)
[ 1.160601] [<8065ed90>] (i2c_device_probe) from [<8057e950>] (really_probe+0x24c/0x488)
[ 1.168701] [<8057e950>] (really_probe) from [<8057ed54>] (driver_probe_device+0x78/0x1c4)
[ 1.176974] [<8057ed54>] (driver_probe_device) from [<8057f100>] (device_driver_attach+0x58/0x60)
[ 1.185854] [<8057f100>] (device_driver_attach) from [<8057f1bc>] (__driver_attach+0xb4/0x154)
[ 1.194473] [<8057f1bc>] (__driver_attach) from [<8057cad8>] (bus_for_each_dev+0x64/0x90)
[ 1.202659] [<8057cad8>] (bus_for_each_dev) from [<8057db18>] (bus_add_driver+0x16c/0x208)
[ 1.210931] [<8057db18>] (bus_add_driver) from [<8057fa34>] (driver_register+0x74/0x108)
[ 1.219029] [<8057fa34>] (driver_register) from [<8065f68c>] (i2c_register_driver+0x3c/0xac)
[ 1.227474] [<8065f68c>] (i2c_register_driver) from [<80102670>] (do_one_initcall+0x44/0x194)
[ 1.236009] [<80102670>] (do_one_initcall) from [<80e00e64>] (kernel_init_freeable+0x148/0x1e4)
[ 1.244716] [<80e00e64>] (kernel_init_freeable) from [<80914f2c>] (kernel_init+0x8/0x110)
[ 1.252900] [<80914f2c>] (kernel_init) from [<801010e8>] (ret_from_fork+0x14/0x2c)
[ 1.260469] Exception stack(0xb0093fb0 to 0xb0093ff8)
[ 1.265525] 3fa0: 00000000 00000000 00000000 00000000
[ 1.273707] 3fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[ 1.281888] 3fe0: 00000000 00000000 00000000 00000000 00000013 00000000
[ 1.288511] ---[ end trace 2ff9b5ad99dcb9b6 ]---
[ 1.293186] rtc rtc0: failed to enable irq wake
[ 1.303787] rtc-pcf85063 3-0051: registered as rtc0
[ 1.309405] snvs_rtc 30370000.snvs:snvs-rtc-lp: registered as rtc1
[ 1.315738] i2c /dev entries driver
Then, when using the RTC device several times, everything looks good.
~$ echo +10 > /sys/class/rtc/rtc0/wakealarm
I can see, that changes to the alarm are reflected in the corresponding registers (it works as expected).
~$ i2cdump -f -y -r 0x0-0xf 3 0x51 b
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: 00 00 00 00 40 36 15 28 01 11 22 40 36 15 28 80 ....#6?(??"#6?(?
I can repeat this commands as much as I like… …but when I enter the suspend mode, the behavior changes!
~$ echo +10 > /sys/class/rtc/rtc0/wakealarm
~$ systemctl suspend
After the 10s, the system resumes. But now, I am no more able to activate a new alarm:
~$ echo +10 > /sys/class/rtc/rtc0/wakealarm
-sh: echo: write error: Permission denied
And dumping i2c device looks very strange…
~$ i2cdump -f -y -r 0x0-0xf 3 0x51 b
0 1 2 3 4 5 6 7 8 9 a b c d e f 0123456789abcdef
00: XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XX XXXXXXXXXXXXXXXX
…and the output of dmesg is as follows (there seems to be an exception with the RTC driver):
--- snip ---
[ 287.991068] OOM killer enabled.
[ 287.994212] Restarting tasks ...
[ 288.018896] usbmisc_imx 30b10200.usbmisc: vbus is error [ 288.027546] usbmisc_imx 30b10200.usbmisc: Error occurs during detection: -22 [ 288.040850] done.
[ 288.045136] PM: suspend exit
[ 288.188113] irq 66: nobody cared (try booting with the "irqpoll" option)
[ 288.194832] CPU: 0 PID: 1 Comm: systemd Tainted: G W O 5.4.161-5.6.0-devel+git.0f0011824921 #1
[ 288.204571] Hardware name: Freescale i.MX7 Dual (Device Tree) [ 288.210341] [<8010eaf8>] (unwind_backtrace) from [<8010bb1c>] (show_stack+0x10/0x14) [ 288.218092] [<8010bb1c>] (show_stack) from [<80914d84>] (dump_stack+0x90/0xa4) [ 288.225320] [<80914d84>] (dump_stack) from [<8090ca54>] (__report_bad_irq+0x3c/0xc0) [ 288.233071] [<8090ca54>] (__report_bad_irq) from [<8016ea20>] (note_interrupt+0x264/0x2b0) [ 288.241341] [<8016ea20>] (note_interrupt) from [<8016b728>] (handle_irq_event_percpu+0x58/0x64)
[ 288.250045] [<8016b728>] (handle_irq_event_percpu) from [<8016b778>] (handle_irq_event+0x44/0x68) [ 288.258921] [<8016b778>] (handle_irq_event) from [<8016f468>] (handle_level_irq+0xb4/0x140) [ 288.267278] [<8016f468>] (handle_level_irq) from [<8016a868>] (generic_handle_irq+0x24/0x34) [ 288.275723] [<8016a868>] (generic_handle_irq) from [<80518614>] (mxc_gpio_irq_handler+0x48/0x164) [ 288.284603] [<80518614>] (mxc_gpio_irq_handler) from [<80519214>] (mx3_gpio_irq_handler+0x60/0xac) [ 288.293567] [<80519214>] (mx3_gpio_irq_handler) from [<8016a868>] (generic_handle_irq+0x24/0x34) [ 288.302355] [<8016a868>] (generic_handle_irq) from [<8016ae6c>] (__handle_domain_irq+0x5c/0xb0) [ 288.311058] [<8016ae6c>] (__handle_domain_irq) from [<80506fbc>] (gic_handle_irq+0x4c/0x90) [ 288.319413] [<80506fbc>] (gic_handle_irq) from [<80101e10>] (__irq_usr+0x50/0x80) [ 288.326895] Exception stack(0xb0093fb0 to 0xb0093ff8)
[ 288.331950] 3fa0: 00832870 76f699cc 0000006f 0000006f
[ 288.340131] 3fc0: 00832848 008191c8 80000000 fffffffa 007ff6d8 007ff6d8 7ed5aa4c 76f699cc [ 288.348310] 3fe0: 76fb6d6c 7ed5a9f0 76f1b4ad 76ce70a0 600f0030 ffffffff [ 288.354922] handlers:
[ 288.357200] [<e0ffacc5>] irq_default_primary_handler threaded [<c40163d5>] pcf85063_rtc_handle_irq [ 288.366168] Disabling IRQ #66 [ 288.434623] systemd-journald[171]: Successfully sent stream file descriptor to service manager.
--- snip ---
Can anyone help me to get the external RTC running also after a suspend/resume change? Any help would be greatly appreciated.
Cheers
Update:
I am aware that both the internal (snvs_rtc) and external (PCF85063) RTCs are used. It would be enough to use only the external RTC, but I have not managed to disable it. When it is disabled, the system no longer boots and this last dmesg message appears:
[ OK ] Mounted /var/volatile.
Starting Load/Save Random Seed...
[ 6.396724] systemd-journald[173]: Successfully sent stream file descriptor to service manager.
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started Load/Save Random Seed.
I have disabled it with following code in the DTS:
&snvs_rtc {
status = "disabled";
};
This part from dmesg you claim is good is actually not:
[ 1.071396] rtc-pcf85063 3-0051: wake irq already initialized
[ 1.293186] rtc rtc0: failed to enable irq wake
Which is the warning splat you get in the full dmesg.
Are you sure about the RTC interrupt being connected on gpio1 1? It seems this GPIO is already used as a wakeup interrupt by another driver.
Note that the wakeup-source; property is not needed when you have an interrupt defined.
I have am335x related customized board and kernel(4.4.16) source code
I configure the FTDI module driver. so after kernel start successfully I attach ftdi converter to usb port and then type lsmod command to check module list
Module Size Used by Not tainted
cp210x 15164 0
usbserial 34545 1 cp210x
bridge 87777 0
stp 2111 1 bridge
llc 5184 2 bridge,stp
usb_f_rndis 21887 2
usb_f_ecm 9211 2
u_ether 11816 2 usb_f_rndis,usb_f_ecm
libcomposite 42715 16 usb_f_rndis,usb_f_ecm
musb_dsps 9418 0
musb_hdrc 72752 1 musb_dsps
omap_aes_driver 19511 0
omap_sham 22202 0
omap_rng 4212 0
rng_core 7198 1 omap_rng
musb_am335x 1547 0 [permanent]
How usb serial module(cp210x) load automatically ??
I share dmesg log ( FTDI converter connect)
root#arm:~# dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Initializing cgroup subsys cpuset
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 4.4.16 (hiten#hi10) (gcc version 5.4.0 20160609 (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.9) ) #1 SMP PREEMPT RT Fri Jul 10 12:56:15 IST 2020
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=50c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: TI AM335x BeagleBone Black
[ 0.000000] cma: Reserved 24 MiB at 0x9e000000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 130816
[ 0.000000] free_area_init_node: node 0, pgdat c0ab8c00, node_mem_map dfa6d000
[ 0.000000] Normal zone: 1150 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 130816 pages, LIFO batch:31
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (neon )
[ 0.000000] PERCPU: Embedded 13 pages/cpu #dfa2b000 s21408 r8192 d23648 u53248
[ 0.000000] pcpu-alloc: s21408 r8192 d23648 u53248 alloc=13*4096
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129666
[ 0.000000] Kernel command line: console=ttyS0,115200 mem=511M bootlogo=9FF00000 fbcon=rotate:1 root=/dev/mmcblk1p2 rootfstype=ext4 rw rootwait verify=n lpj=1990656 quiet
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 481260K/523264K available (6874K kernel code, 427K rwdata, 3432K rodata, 316K init, 697K bss, 17428K reserved, 24576K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xe0000000 - 0xff800000 ( 504 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xdff00000 ( 511 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf800000 - 0xbfe00000 ( 6 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0a18d40 (10308 kB)
[ 0.000000] .init : 0xc0a19000 - 0xc0a68000 ( 316 kB)
[ 0.000000] .data : 0xc0a68000 - 0xc0ad2f60 ( 428 kB)
[ 0.000000] .bss : 0xc0ad5000 - 0xc0b8376c ( 698 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] RCU restricting CPUs from NR_CPUS=2 to nr_cpu_ids=1.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=1
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000012] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000025] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000031] OMAP clocksource: timer1 at 24000000 Hz
[ 0.000699] clocksource_probe: no matching clocksources found
[ 0.000864] Console: colour dummy device 80x30
[ 0.001029] Calibrating delay loop (skipped) preset value.. 995.32 BogoMIPS (lpj=1990656)
[ 0.001034] pid_max: default: 32768 minimum: 301
[ 0.001139] Security Framework initialized
[ 0.001146] Yama: becoming mindful.
[ 0.001174] AppArmor: AppArmor disabled by boot time parameter
[ 0.001207] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001212] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.001950] Initializing cgroup subsys io
[ 0.001968] Initializing cgroup subsys memory
[ 0.002000] Initializing cgroup subsys devices
[ 0.002011] Initializing cgroup subsys freezer
[ 0.002021] Initializing cgroup subsys net_cls
[ 0.002030] Initializing cgroup subsys perf_event
[ 0.002038] Initializing cgroup subsys net_prio
[ 0.002048] Initializing cgroup subsys pids
[ 0.002146] CPU: Testing write buffer coherency: ok
[ 0.002508] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.002644] Setting up static identity map for 0x80008240 - 0x8000828c
[ 0.035264] Brought up 1 CPUs
[ 0.035289] SMP: Total of 1 processors activated (995.32 BogoMIPS).
[ 0.035296] CPU: All CPU(s) started in SVC mode.
[ 0.036747] devtmpfs: initialized
[ 0.059499] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.078583] omap_hwmod: debugss: _wait_target_disable failed
[ 0.133203] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.136912] pinctrl core: initialized pinctrl subsystem
[ 0.138947] NET: Registered protocol family 16
[ 0.142301] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.155201] cpuidle: using governor ladder
[ 0.167193] cpuidle: using governor menu
[ 0.172759] OMAP GPIO hardware version 0.1
[ 0.173271] GPIO line 61 (EMMC ResetN) hogged as output/high
[ 0.185683] No ATAGs?
[ 0.185711] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.236748] edma 49000000.edma: TI EDMA DMA engine driver
[ 0.241697] SCSI subsystem initialized
[ 0.242030] usbcore: registered new interface driver usbfs
[ 0.242101] usbcore: registered new interface driver hub
[ 0.242255] usbcore: registered new device driver usb
[ 0.242759] pps_core: LinuxPPS API ver. 1 registered
[ 0.242769] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti#linux.it>
[ 0.242800] PTP clock support registered
[ 0.243769] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[ 0.248208] Bluetooth: Core ver 2.21
[ 0.248263] NET: Registered protocol family 31
[ 0.248271] Bluetooth: HCI device and connection manager initialized
[ 0.248289] Bluetooth: HCI socket layer initialized
[ 0.248302] Bluetooth: L2CAP socket layer initialized
[ 0.248360] Bluetooth: SCO socket layer initialized
[ 0.251264] NetLabel: Initializing
[ 0.251276] NetLabel: domain hash size = 128
[ 0.251282] NetLabel: protocols = UNLABELED CIPSOv4
[ 0.251341] NetLabel: unlabeled traffic allowed by default
[ 0.252067] clocksource: Switched to clocksource timer1
[ 0.265931] NET: Registered protocol family 2
[ 0.266738] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.266797] TCP bind hash table entries: 4096 (order: 4, 114688 bytes)
[ 0.266919] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.266996] UDP hash table entries: 256 (order: 2, 16384 bytes)
[ 0.267027] UDP-Lite hash table entries: 256 (order: 2, 16384 bytes)
[ 0.267253] NET: Registered protocol family 1
[ 0.271871] RPC: Registered named UNIX socket transport module.
[ 0.271886] RPC: Registered udp transport module.
[ 0.271893] RPC: Registered tcp transport module.
[ 0.271900] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.273009] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[ 0.275531] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.275650] audit: initializing netlink subsys (disabled)
[ 0.275729] audit: type=2000 audit(0.272:1): initialized
[ 0.290633] zbud: loaded
[ 0.291309] VFS: Disk quotas dquot_6.6.0
[ 0.291584] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.299866] NFS: Registering the id_resolver key type
[ 0.299928] Key type id_resolver registered
[ 0.299937] Key type id_legacy registered
[ 0.299973] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[ 0.299989] Installing knfsd (copyright (C) 1996 okir#monad.swb.de).
[ 0.300916] jffs2: version 2.2. (NAND) (SUMMARY) �© 2001-2006 Red Hat, Inc.
[ 0.301791] fuse init (API version 7.23)
[ 0.316180] gfs2: GFS2 installed
[ 0.316682] ceph: loaded (mds proto 32)
[ 0.322967] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)
[ 0.327217] io scheduler noop registered
[ 0.327235] io scheduler deadline registered
[ 0.327519] io scheduler cfq registered (default)
[ 0.329111] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.332836] wkup_m3_ipc 44e11324.wkup_m3_ipc: could not get rproc handle
[ 0.334316] Serial: 8250/16550 driver, 6 ports, IRQ sharing disabled
[ 0.337613] console [ttyS0] disabled
[ 0.337700] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
[ 0.350727] console [ttyS0] enabled
[ 0.351614] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 159, base_baud = 3000000) is a 8250
[ 0.352530] 481aa000.serial: ttyS5 at MMIO 0x481aa000 (irq = 160, base_baud = 3000000) is a 8250
[ 0.353934] [drm] Initialized drm 1.1.0 20060810
[ 0.354607] usbcore: registered new interface driver udl
[ 0.357236] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 0.357250] [drm] No driver support for vblank timestamp query.
[ 0.371907] Console: switching to colour frame buffer device 60x50
[ 0.393964] tilcdc 4830e000.lcdc: fb0: frame buffer device
[ 0.404111] [drm] Initialized tilcdc 1.0.0 20121205 on minor 1
[ 0.409864] brd: module loaded
[ 0.450406] loop: module loaded
[ 0.518959] nbd: registered device at major 43
[ 0.533794] rbd: loaded
[ 0.536747] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 0.547606] Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011)
[ 0.554322] eql: Equalizer2002: Simon Janes (simon#ncm.com) and David S. Miller (davem#redhat.com)
[ 0.556912] tun: Universal TUN/TAP device driver, 1.6
[ 0.556927] tun: (C) 1999-2004 Max Krasnyansky <maxk#qualcomm.com>
[ 0.608083] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 0.608102] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[ 0.610363] libphy: 4a101000.mdio: probed
[ 0.610390] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Marvell 88E1510
[ 0.611148] cpsw 4a100000.ethernet: Detected MACID = 70:b3:d5:ac:10:4f
[ 0.612787] PPP generic driver version 2.4.2
[ 0.613119] PPP BSD Compression module registered
[ 0.613135] PPP Deflate Compression module registered
[ 0.613164] PPP MPPE Compression module registered
[ 0.613183] NET: Registered protocol family 24
[ 0.614806] aoe: AoE v85 initialised.
[ 0.615625] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.615673] ehci-platform: EHCI generic platform driver
[ 0.615871] ehci-omap: OMAP-EHCI Host Controller driver
[ 0.616630] usbcore: registered new interface driver usb-storage
[ 0.617151] mousedev: PS/2 mouse device common for all mice
[ 0.618236] TI-am335x-tsc TI-am335x-tsc: ti,charge-delay not specified
[ 0.618771] input: ti-tsc as /devices/platform/ocp/44e0d000.tscadc/TI-am335x-tsc/input/input0
[ 0.620600] i2c /dev entries driver
[ 0.622290] input: tps65217_pwr_but as /devices/platform/ocp/44e0b000.i2c/i2c-0/0-0024/input/input1
[ 0.646687] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[ 0.647205] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 0.648549] rtc-pcf8523 0-0068: rtc core: registered rtc-pcf8523 as rtc0
[ 0.648777] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 0.649761] omap_i2c 4802a000.i2c: bus 1 rev0.11 at 400 kHz
[ 0.657728] omap_wdt: OMAP Watchdog Timer Rev 0x01: initial timeout 60 sec
[ 0.657889] Bluetooth: HCI UART driver ver 2.3
[ 0.657901] Bluetooth: HCI UART protocol H4 registered
[ 0.657908] Bluetooth: HCI UART protocol BCSP registered
[ 0.657915] Bluetooth: HCI UART protocol LL registered
[ 0.657922] Bluetooth: HCI UART protocol ATH3K registered
[ 0.657929] Bluetooth: HCI UART protocol Three-wire (H5) registered
[ 0.658052] Bluetooth: HCI UART protocol BCM registered
[ 0.658060] Bluetooth: HCI UART protocol QCA registered
[ 0.658167] usbcore: registered new interface driver btusb
[ 0.658183] Bluetooth: Generic Bluetooth SDIO driver ver 0.1
[ 0.658484] cpuidle: enable-method property 'ti,am3352' found operations
[ 0.659014] pinctrl-single 44e10800.pinmux: pin 44e10960.0 already requested by 48030000.spi; cannot claim for 48060000.mmc
[ 0.670282] pinctrl-single 44e10800.pinmux: pin-88 (48060000.mmc) status -22
[ 0.677372] pinctrl-single 44e10800.pinmux: could not request pin 88 (44e10960.0) from group pinmux_mmc1_pins on device pinctrl-single
[ 0.689602] omap_hsmmc 48060000.mmc: Error applying setting, reverse things back
[ 0.697212] omap_hsmmc 48060000.mmc: Got CD GPIO
[ 0.761972] hidraw: raw HID events driver (C) Jiri Kosina
[ 0.762621] usbcore: registered new interface driver usbhid
[ 0.762633] usbhid: USB HID core driver
[ 0.762916] ashmem: initialized
[ 0.763496] remoteproc0: wkup_m3 is available
[ 0.763508] remoteproc0: Note: remoteproc is still under development and considered experimental.
[ 0.763516] remoteproc0: THE BINARY FORMAT IS NOT YET FINALIZED, and backward compatibility isn't yet guaranteed.
[ 0.775946] NET: Registered protocol family 10
[ 0.784008] mip6: Mobile IPv6
[ 0.784114] NET: Registered protocol family 17
[ 0.784340] Bluetooth: RFCOMM TTY layer initialized
[ 0.784363] Bluetooth: RFCOMM socket layer initialized
[ 0.784400] Bluetooth: RFCOMM ver 1.11
[ 0.784424] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[ 0.784431] Bluetooth: BNEP filters: protocol multicast
[ 0.784454] Bluetooth: BNEP socket layer initialized
[ 0.784465] Bluetooth: HIDP (Human Interface Emulation) ver 1.2
[ 0.784479] Bluetooth: HIDP socket layer initialized
[ 0.784603] Key type dns_resolver registered
[ 0.784631] Key type ceph registered
[ 0.789158] libceph: loaded (mon/osd proto 15/24)
[ 0.789180] mpls_gso: MPLS GSO support
[ 0.789479] omap_voltage_late_init: Voltage driver support not added
[ 0.798672] PM: Cannot get wkup_m3_ipc handle
[ 0.803209] ThumbEE CPU extension supported.
[ 0.803244] Registering SWP/SWPB emulation handler
[ 0.804385] registered taskstats version 1
[ 0.804515] zswap: loaded using pool lzo/zbud
[ 0.806233] Key type encrypted registered
[ 0.812447] PM: bootloader does not support rtc-only!
[ 0.813305] remoteproc0: powering up wkup_m3
[ 0.813329] remoteproc0: Booting fw image am335x-pm-firmware.elf, size 219735
[ 0.813589] remoteproc0: remote processor wkup_m3 is now up
[ 0.813651] wkup_m3_ipc 44e11324.wkup_m3_ipc: CM3 Firmware Version = 0x191
[ 0.814393] input: user_keys as /devices/platform/user_keys/input/input2
[ 0.815635] rtc-pcf8523 0-0068: setting system clock to 2020-07-11 05:00:37 UTC (1594443637)
[ 0.815678] of_cfs_init
[ 0.815739] of_cfs_init: OK
[ 0.822445] PM: Hibernation image not present or could not be loaded.
[ 0.823031] mmc1: MAN_BKOPS_EN bit is not set
[ 0.824413] Waiting for root device /dev/mmcblk1p2...
[ 0.831058] mmc1: new high speed MMC card at address 0001
[ 0.836641] mmcblk1: mmc1:0001 DG4008 7.28 GiB
[ 0.841304] mmcblk1boot0: mmc1:0001 DG4008 partition 1 4.00 MiB
[ 0.846114] mmcblk1boot1: mmc1:0001 DG4008 partition 2 4.00 MiB
[ 0.847520] mmcblk1: p1 p2 p3 p4
[ 1.159609] EXT4-fs (mmcblk1p2): recovery complete
[ 1.160189] EXT4-fs (mmcblk1p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.160260] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 1.164510] devtmpfs: mounted
[ 1.164913] Freeing unused kernel memory: 316K (c0a19000 - c0a68000)
[ 1.366410] random: systemd urandom read with 26 bits of entropy available
[ 1.696671] systemd[1]: Configuration file /lib/systemd/system/Sheepapp.service is marked executable. Please remove executable permission bits. Proceeding anyway.
[ 1.770250] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[ 1.770531] systemd[1]: Found ordering cycle on basic.target/start
[ 1.770555] systemd[1]: Found dependency on sysinit.target/start
[ 1.770578] systemd[1]: Found dependency on systemd-update-utmp.service/verify-active
[ 1.770597] systemd[1]: Found dependency on basic.target/start
[ 1.770616] systemd[1]: Breaking ordering cycle by deleting job systemd-update-utmp.service/verify-active
[ 1.770635] systemd[1]: Job systemd-update-utmp.service/verify-active deleted to break ordering cycle starting with basic.target/start
[ 1.783320] systemd[1]: Found ordering cycle on basic.target/start
[ 1.783347] systemd[1]: Found dependency on sysinit.target/start
[ 1.783369] systemd[1]: Found dependency on systemd-tmpfiles-setup-dev.service/start
[ 1.783388] systemd[1]: Found dependency on basic.target/start
[ 1.783407] systemd[1]: Breaking ordering cycle by deleting job systemd-tmpfiles-setup-dev.service/start
[ 1.783425] systemd[1]: Job systemd-tmpfiles-setup-dev.service/start deleted to break ordering cycle starting with basic.target/start
[ 1.795594] systemd[1]: Found ordering cycle on basic.target/start
[ 1.795617] systemd[1]: Found dependency on sysinit.target/start
[ 1.795638] systemd[1]: Found dependency on systemd-journald.service/start
[ 1.795657] systemd[1]: Found dependency on Sheepapp.service/start
[ 1.795673] systemd[1]: Found dependency on basic.target/start
[ 1.795690] systemd[1]: Breaking ordering cycle by deleting job systemd-journald.service/start
[ 1.795709] systemd[1]: Job systemd-journald.service/start deleted to break ordering cycle starting with basic.target/start
[ 1.937935] systemd-udevd[169]: starting version 215
[ 2.058270] EXT4-fs (mmcblk1p2): re-mounted. Opts: errors=remount-ro
[ 2.127552] systemd[1]: Found ordering cycle on systemd-journald.service/start
[ 2.127595] systemd[1]: Found dependency on Sheepapp.service/start
[ 2.127618] systemd[1]: Found dependency on basic.target/start
[ 2.127637] systemd[1]: Found dependency on sysinit.target/start
[ 2.127655] systemd[1]: Found dependency on systemd-journald.service/start
[ 2.127673] systemd[1]: Unable to break cycle
[ 2.146209] systemd[1]: Requested transaction contains an unfixable cyclic ordering dependency: Transaction order is cyclic. See system logs for details.
[ 2.146280] systemd[1]: systemd-journald.socket failed to queue service startup job (Maybe the service file is missing or not a non-template unit?): Transaction order is cyclic. See system logs for d.
[ 2.146631] systemd[1]: Unit systemd-journald.socket entered failed state.
[ 3.250733] 47401300.usb-phy supply vcc not found, using dummy regulator
[ 3.265076] 47401b00.usb-phy supply vcc not found, using dummy regulator
[ 3.409115] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[ 3.759452] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[ 3.794250] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[ 3.814816] FAT-fs (mmcblk1p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 4.138771] systemd[1]: Found ordering cycle on systemd-journald.service/start
[ 4.138814] systemd[1]: Found dependency on Sheepapp.service/start
[ 4.138835] systemd[1]: Found dependency on basic.target/start
[ 4.138855] systemd[1]: Found dependency on sysinit.target/start
[ 4.138874] systemd[1]: Found dependency on systemd-journald.service/start
[ 4.138892] systemd[1]: Unable to break cycle
[ 4.145467] systemd[1]: Requested transaction contains an unfixable cyclic ordering dependency: Transaction order is cyclic. See system logs for details.
[ 4.145536] systemd[1]: systemd-journald-dev-log.socket failed to queue service startup job (Maybe the service file is missing or not a non-template unit?): Transaction order is cyclic. See system lo.
[ 4.145716] systemd[1]: Unit systemd-journald-dev-log.socket entered failed state.
[ 4.807371] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 4.807395] musb-hdrc: MHDRC RTL version 2.0
[ 4.807404] musb-hdrc: setup fifo_mode 4
[ 4.807422] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 4.821829] musb-hdrc: ConfigData=0xde (UTMI-8, dyn FIFOs, bulk combine, bulk split, HB-ISO Rx, HB-ISO Tx, SoftConn)
[ 4.821851] musb-hdrc: MHDRC RTL version 2.0
[ 4.821860] musb-hdrc: setup fifo_mode 4
[ 4.821874] musb-hdrc: 28/31 max ep, 16384/16384 memory
[ 4.825460] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver
[ 4.825504] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 1
[ 4.828480] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 4.828502] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 4.828512] usb usb1: Product: MUSB HDRC host driver
[ 4.828521] usb usb1: Manufacturer: Linux 4.4.16 musb-hcd
[ 4.828530] usb usb1: SerialNumber: musb-hdrc.1.auto
[ 4.832531] hub 1-0:1.0: USB hub found
[ 4.832621] hub 1-0:1.0: 1 port detected
[ 5.220327] usb 1-1: new full-speed USB device number 2 using musb-hdrc
[ 5.273232] net eth0: initializing cpsw version 1.12 (0)
[ 5.273255] net eth0: initialized cpsw ale version 1.4
[ 5.273264] net eth0: ALE Table size 1024
[ 5.276187] net eth0: phy found : id is : 0x1410dd1
[ 5.285327] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 5.379690] usb 1-1: New USB device found, idVendor=10c4, idProduct=ea60
[ 5.379714] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5.379724] usb 1-1: Product: CP2102 USB to UART Bridge Controller
[ 5.379734] usb 1-1: Manufacturer: Silicon Labs
[ 5.379743] usb 1-1: SerialNumber: 0001
[ 5.523791] usbcore: registered new interface driver usbserial
[ 5.537093] usbcore: registered new interface driver usbserial_generic
[ 5.557186] usbserial: USB Serial support registered for generic
[ 5.592264] usbcore: registered new interface driver cp210x
[ 5.604265] usbserial: USB Serial support registered for cp210x
[ 5.604443] cp210x 1-1:1.0: cp210x converter detected
[ 5.607466] usb 1-1: cp210x converter now attached to ttyUSB0
[ 6.203786] systemd-logind[344]: New seat seat0.
[ 6.245462] systemd-logind[344]: Watching system buttons on /dev/input/event1 (tps65217_pwr_but)
[ 7.006953] random: nonblocking pool is initialized
[ 7.086270] EXT4-fs (mmcblk1p4): 1 truncate cleaned up
[ 7.086295] EXT4-fs (mmcblk1p4): recovery complete
[ 7.090937] EXT4-fs (mmcblk1p4): mounted filesystem with ordered data mode. Opts: (null)
[ 7.720936] using random self ethernet address
[ 7.720963] using random host ethernet address
[ 7.742781] using random self ethernet address
[ 7.742808] using random host ethernet address
[ 7.758850] usb0: HOST MAC 70:b3:d5:ac:10:52
[ 7.759434] usb0: MAC 70:b3:d5:ac:10:50
[ 7.764019] usb1: HOST MAC 70:b3:d5:ac:10:53
[ 7.768399] usb1: MAC 70:b3:d5:ac:10:51
[ 10.849087] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts to load br_netfilter if you need this.
[ 10.865462] device usb0 entered promiscuous mode
[ 10.877359] device usb1 entered promiscuous mode
[ 10.894547] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[ 10.905536] IPv6: ADDRCONF(NETDEV_UP): usb1: link is not ready
[ 10.918051] IPv6: ADDRCONF(NETDEV_UP): br0: link is not ready
root#arm:~#
CTRL-A Z for help | 115200 8N1 | NOR | Minicom 2.7 | VT102 | Offline | ttyUSB0
As you can see in the dmesg output:
[ 5.379690] usb 1-1: New USB device found, idVendor=10c4, idProduct=ea60
Looking that up, e.g. here:
https://www.google.com/search?q=usb%20vendor%20id%2010c4
Tells you that it's a "Silicon Labs" USB device, who also make the CP2102.
The log does not identify other devices (ignore the linux kernel root hub).
So either you have also a CP2102 attached (and the FTDI is not properly connected) or the device you think is a FTDI based device, is not.
In addition you can identify currently enumerated devices using the lsusb command.
The automatic loading is usually done by udev or a similar user space daemon/mechanism. A decent explanation can be found e.g. here: https://lwn.net/Articles/740455/
I have a Raspberry 3 Model B which has a BCM43438 wireless LAN and Bluetooth Low Energy (BLE) on board and recently installed Ubuntu 20.04 LTS. Thanks in advance for looking and let me know if Ubuntu 20.04 on RPI3 does not support wifi at this time.
I've read a few posts saying look for the /etc/network/interfaces file but I have no such file on the computer:
ubuntu#ubuntu:/etc/network$ ls -laFioh
total 32K
767 drwxr-xr-x 6 root 4.0K Dec 3 16:18 ./
59 drwxr-xr-x 115 root 12K May 24 00:54 ../
768 drwxr-xr-x 2 root 4.0K May 23 22:57 if-down.d/
770 drwxr-xr-x 2 root 4.0K May 24 00:20 if-post-down.d/
772 drwxr-xr-x 2 root 4.0K May 24 00:20 if-pre-up.d/
775 drwxr-xr-x 2 root 4.0K May 23 23:08 if-up.d/
When querying the hardware I get the following:
ubuntu#ubuntu:~$ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.0.10.243 netmask 255.255.255.0 broadcast 10.0.10.255
inet6 2600:8802:5700:4e9::17ef prefixlen 128 scopeid 0x0<global>
inet6 fe80::ba27:ebff:fe9e:342b prefixlen 64 scopeid 0x20<link>
inet6 2600:8802:5700:4e9:ba27:ebff:fe9e:342b prefixlen 64 scopeid 0x0<global>
ether b8:27:eb:9e:34:2b txqueuelen 1000 (Ethernet)
RX packets 12903 bytes 3076937 (3.0 MB)
RX errors 0 dropped 1448 overruns 0 frame 0
TX packets 4753 bytes 1548962 (1.5 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 360 bytes 27732 (27.7 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 360 bytes 27732 (27.7 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
ubuntu#ubuntu:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
Here is (edited for post length) dmesg:
ubuntu#ubuntu:/etc/network/if-up.d$ ifconfig -a | dmesg
[ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[ 0.000000] Linux version 5.4.0-1011-raspi (buildd#bos02-arm64-055) (gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)) #11-Ubuntu SMP Fri May 8 07:43:33 UTC 2020 (Ubuntu 5.4.0-1011.11-raspi 5.4.34)
[ 0.000000] Machine model: Raspberry Pi 3 Model B Rev 1.2
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] Reserved memory: created CMA memory pool at 0x0000000037400000, size 64 MiB
[ 0.000000] OF: reserved mem: initialized node linux,cma, compatible id shared-dma-pool
[ 0.000000] On node 0 totalpages: 242688
[ 0.000000] DMA zone: 3792 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 242688 pages, LIFO batch:63
[ 0.000000] percpu: Embedded 32 pages/cpu s92120 r8192 d30760 u131072
[ 0.000000] pcpu-alloc: s92120 r8192 d30760 u131072 alloc=32*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Detected VIPT I-cache on CPU0
[ 0.000000] CPU features: detected: ARM erratum 845719
[ 0.000000] CPU features: kernel page table isolation forced ON by KASLR
[ 0.000000] CPU features: detected: Kernel page table isolation (KPTI)
[ 0.000000] CPU features: detected: ARM erratum 843419
[ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 238896
[ 0.000000] Kernel command line: coherent_pool=1M 8250.nr_uarts=1 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2708_fb.fbswap=1 smsc95xx.macaddr=B8:27:EB:9E:34:2B vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 net.ifnames=0 dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait fixrtc quiet splash
[ 0.000000] Dentry cache hash table entries: 131072 (order: 8, 1048576 bytes, linear)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 7, 524288 bytes, linear)
[ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[ 0.000000] Memory: 829544K/970752K available (11772K kernel code, 1234K rwdata, 4232K rodata, 6144K init, 1070K bss, 75672K reserved, 65536K cma-reserved)
[ 0.000000] random: get_random_u64 called from kmem_cache_open+0x38/0x3e0 with crng_init=0
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] ftrace: allocating 38918 entries in 153 pages
[ 0.000000] rcu: Hierarchical RCU implementation.
[ 0.000000] Tasks RCU enabled.
[ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 25 jiffies.
[ 0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[ 0.000000] arch_timer: cp15 timer(s) running at 19.20MHz (phys).
[ 0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[ 0.000006] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[ 0.000259] Console: colour dummy device 80x25
[ 0.000286] printk: console [tty1] enabled
[ 0.000346] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=76800)
[ 0.000365] pid_max: default: 32768 minimum: 301
[ 0.000675] LSM: Security Framework initializing
[ 0.000740] Yama: becoming mindful.
[ 0.000870] AppArmor: AppArmor initialized
[ 0.001143] Mount-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.001174] Mountpoint-cache hash table entries: 2048 (order: 2, 16384 bytes, linear)
[ 0.001272] *** VALIDATE tmpfs ***
[ 0.002123] *** VALIDATE proc ***
[ 0.002726] Disabling memory control group subsystem
[ 0.002810] *** VALIDATE cgroup1 ***
[ 0.002824] *** VALIDATE cgroup2 ***
[ 0.004609] ASID allocator initialised with 32768 entries
[ 0.004842] rcu: Hierarchical SRCU implementation.
[ 0.007381] EFI services will not be available.
[ 0.008566] smp: Bringing up secondary CPUs ...
[ 0.009828] Detected VIPT I-cache on CPU1
[ 0.009895] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[ 0.011639] Detected VIPT I-cache on CPU2
[ 0.011687] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[ 0.013379] Detected VIPT I-cache on CPU3
[ 0.013424] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[ 0.013911] smp: Brought up 1 node, 4 CPUs
[ 0.013923] SMP: Total of 4 processors activated.
[ 0.013936] CPU features: detected: 32-bit EL0 Support
[ 0.013949] CPU features: detected: CRC32 instructions
[ 0.020184] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[ 0.020196] CPU: All CPU(s) started at EL2
[ 0.020299] alternatives: patching kernel code
[ 0.022694] devtmpfs: initialized
[ 0.037343] Enabled cp15_barrier support
[ 0.037374] Enabled setend support
[ 0.038045] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 7645041785100000 ns
[ 0.038073] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[ 0.041727] pinctrl core: initialized pinctrl subsystem
[ 0.042605] DMI not present or invalid.
[ 0.043595] NET: Registered protocol family 16
[ 0.051797] DMA: preallocated 1024 KiB pool for atomic allocations
[ 0.051833] audit: initializing netlink subsys (disabled)
[ 0.052166] audit: type=2000 audit(0.048:1): state=initialized audit_enabled=0 res=1
[ 0.053055] cpuidle: using governor ladder
[ 0.053107] cpuidle: using governor menu
[ 0.053801] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[ 0.054258] Serial: AMBA PL011 UART driver
[ 0.057099] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[ 0.072352] raspberrypi-firmware soc:firmware: Attached to firmware from 2020-02-12 12:38, variant start
[ 0.076366] raspberrypi-firmware soc:firmware: Firmware hash is 53a54c770c493957d99bf49762dfabc4eee00e45
[ 0.141228] bcm2835-dma 3f007000.dma: DMA legacy API manager, dmachans=0x1
[ 0.144632] iommu: Default domain type: Translated
[ 0.146755] SCSI subsystem initialized
[ 0.147103] libata version 3.00 loaded.
[ 0.147383] usbcore: registered new interface driver usbfs
[ 0.147442] usbcore: registered new interface driver hub
[ 0.147573] usbcore: registered new device driver usb
[ 0.148025] pps_core: LinuxPPS API ver. 1 registered
[ 0.148035] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti#linux.it>
[ 0.148061] PTP clock support registered
[ 0.148431] EDAC MC: Ver: 3.0.0
[ 0.150257] NetLabel: Initializing
[ 0.150269] NetLabel: domain hash size = 128
[ 0.150277] NetLabel: protocols = UNLABELED CIPSOv4 CALIPSO
[ 0.150375] NetLabel: unlabeled traffic allowed by default
[ 0.151661] clocksource: Switched to clocksource arch_sys_counter
[ 0.273752] *** VALIDATE bpf ***
[ 0.274312] VFS: Disk quotas dquot_6.6.0
[ 0.274440] VFS: Dquot-cache hash table entries: 512 (order 0, 4096 bytes)
[ 0.274605] *** VALIDATE ramfs ***
[ 0.275419] AppArmor: AppArmor Filesystem Enabled
[ 0.275758] simple-framebuffer 3eaf0000.framebuffer: framebuffer at 0x3eaf0000, 0x10a800 bytes, mapped to 0x(____ptrval____)
[ 0.275776] simple-framebuffer 3eaf0000.framebuffer: format=a8r8g8b8, mode=656x416x32, linelength=2624
[ 0.276413] Console: switching to colour frame buffer device 82x26
[ 0.281022] simple-framebuffer 3eaf0000.framebuffer: fb0: simplefb registered!
[ 0.295933] tcp_listen_portaddr_hash hash table entries: 512 (order: 1, 8192 bytes, linear)
[ 0.295977] TCP established hash table entries: 8192 (order: 4, 65536 bytes, linear)
[ 0.296094] TCP bind hash table entries: 8192 (order: 5, 131072 bytes, linear)
[ 0.296289] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.296548] UDP hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.296601] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes, linear)
[ 0.296928] NET: Registered protocol family 1
[ 0.296963] NET: Registered protocol family 44
[ 0.296984] PCI: CLS 0 bytes, default 64
[ 0.297351] Trying to unpack rootfs image as initramfs...
[ 1.310272] Freeing initrd memory: 28784K
[ 1.312081] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[ 1.312256] kvm [1]: IPA Size Limit: 40bits
[ 1.313553] kvm [1]: Hyp mode initialized successfully
[ 1.317894] Initialise system trusted keyrings
[ 1.317956] Key type blacklist registered
[ 1.318274] workingset: timestamp_bits=46 max_order=18 bucket_order=0
[ 1.328818] zbud: loaded
[ 1.331807] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 1.333293] fuse: init (API version 7.31)
[ 1.333464] *** VALIDATE fuse ***
[ 1.333481] *** VALIDATE fuse ***
[ 1.373876] Key type asymmetric registered
[ 1.373892] Asymmetric key parser 'x509' registered
[ 1.373983] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 243)
[ 1.374368] io scheduler mq-deadline registered
[ 1.380355] bcm2708_fb soc:fb: FB found 1 display(s)
[ 1.385548] bcm2708_fb soc:fb: Registered framebuffer for display 0, size 656x416
[ 1.469838] Serial: 8250/16550 driver, 1 ports, IRQ sharing enabled
[ 1.472384] bcm2835-rng 3f104000.rng: hwrng registered
[ 1.473038] vc-mem: phys_addr:0x00000000 mem_base=0x3ec00000 mem_size:0x40000000(1024 MiB)
[ 1.474044] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[ 1.474439] cacheinfo: Unable to detect cache hierarchy for CPU 0
[ 1.966042] loop: module loaded
[ 1.969071] spi-bcm2835 3f204000.spi: could not get clk: -517
[ 1.971483] libphy: Fixed MDIO Bus: probed
[ 1.971531] tun: Universal TUN/TAP device driver, 1.6
[ 1.972035] PPP generic driver version 2.4.2
[ 1.972336] usbcore: registered new interface driver lan78xx
[ 1.972411] usbcore: registered new interface driver smsc95xx
[ 1.972453] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.972482] ehci-pci: EHCI PCI platform driver
[ 1.972547] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.972582] ohci-pci: OHCI PCI platform driver
[ 1.972634] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.972831] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 2.186906] Core Release: 2.80a
[ 2.186920] Setting default values for core params
[ 2.186949] Finished setting default values for core params
[ 2.400133] Using Buffer DMA mode
[ 2.400144] Periodic Transfer Interrupt Enhancement - disabled
[ 2.400153] Multiprocessor Interrupt Enhancement - disabled
[ 2.400165] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 2.400184] Dedicated Tx FIFOs mode
[ 2.401079] WARN::dwc_otg_hcd_init:1072: FIQ DMA bounce buffers: virt = ffff800010556000 dma = 0x00000000f7510000 len=9024
[ 2.401109] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
Interrupt/Control Split Transaction hack enabled
[ 2.401120] dwc_otg: Microframe scheduler enabled
[ 2.401162] WARN::hcd_init_fiq:496: MPHI regs_base at ffff80001007d000
[ 2.401231] dwc_otg 3f980000.usb: DWC OTG Controller
[ 2.401266] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[ 2.401332] dwc_otg 3f980000.usb: irq 9, io mem 0x00000000
[ 2.401384] Init: Port Power? op_state=1
[ 2.401393] Init: Power Port (0)
[ 2.401774] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.04
[ 2.401790] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.401804] usb usb1: Product: DWC OTG Controller
[ 2.401818] usb usb1: Manufacturer: Linux 5.4.0-1011-raspi dwc_otg_hcd
[ 2.401831] usb usb1: SerialNumber: 3f980000.usb
[ 2.402670] hub 1-0:1.0: USB hub found
[ 2.402738] hub 1-0:1.0: 1 port detected
[ 2.403580] dwc_otg: FIQ enabled
[ 2.403590] dwc_otg: NAK holdoff enabled
[ 2.403599] dwc_otg: FIQ split-transaction FSM enabled
[ 2.403614] Module dwc_common_port init
[ 2.404408] mousedev: PS/2 mouse device common for all mice
[ 2.404996] i2c /dev entries driver
[ 2.408010] bcm2835-wdt bcm2835-wdt: Broadcom BCM2835 watchdog timer
[ 2.408297] device-mapper: uevent: version 1.0.3
[ 2.408713] device-mapper: ioctl: 4.41.0-ioctl (2019-09-16) initialised: dm-devel#redhat.com
[ 2.408963] bcm2835-cpufreq: min=600000 max=1200000
[ 2.411208] sdhci: Secure Digital Host Controller Interface driver
[ 2.411213] sdhci: Copyright(c) Pierre Ossman
[ 2.411577] mmc-bcm2835 3f300000.mmcnr: could not get clk, deferring probe
[ 2.411939] sdhost-bcm2835 3f202000.mmc: could not get clk, deferring probe
[ 2.412049] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.414057] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.414194] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.414991] vchiq: vchiq_init_state: slot_zero = (____ptrval____)
[ 2.418173] drop_monitor: Initializing network drop monitor service
[ 2.418914] NET: Registered protocol family 10
[ 2.460979] Segment Routing with IPv6
[ 2.461071] NET: Registered protocol family 17
[ 2.461278] Key type dns_resolver registered
[ 2.461876] registered taskstats version 1
[ 2.461932] Loading compiled-in X.509 certificates
[ 2.471617] Loaded X.509 cert 'Build time autogenerated kernel key: 2b0c993598f9ffc45348fe691c2d17c0cab9b970'
[ 2.471798] zswap: loaded using pool lzo/zbud
[ 2.472116] Key type ._fscrypt registered
[ 2.472121] Key type .fscrypt registered
[ 2.501207] cryptd: max_cpu_qlen set to 1000
[ 2.607939] Indeed it is in host mode hprt0 = 00021501
[ 2.693627] random: fast init done
[ 2.710992] Key type big_key registered
[ 2.762921] Key type encrypted registered
[ 2.762951] AppArmor: AppArmor sha1 policy hashing enabled
[ 2.762984] ima: No TPM chip found, activating TPM-bypass!
[ 2.763014] ima: Allocated hash algorithm: sha1
[ 2.763042] ima: No architecture policies found
[ 2.772506] printk: console [ttyS0] disabled
[ 2.772557] 3f215040.serial: ttyS0 at MMIO 0x0 (irq = 61, base_baud = 31250000) is a 16550
[ 2.778456] printk: console [ttyS0] enabled
[ 2.779024] bcm2835-power bcm2835-power: Broadcom BCM2835 power domains driver
[ 2.782201] mmc-bcm2835 3f300000.mmcnr: mmc_debug:0 mmc_debug2:0
[ 2.782211] mmc-bcm2835 3f300000.mmcnr: DMA channel allocated
[ 2.799679] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.808101] sdhost: log_buf # (____ptrval____) (ebcc4000)
[ 2.829576] usb 1-1: New USB device found, idVendor=0424, idProduct=9514, bcdDevice= 2.00
[ 2.829585] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.830092] hub 1-1:1.0: USB hub found
[ 2.830179] hub 1-1:1.0: 5 ports detected
[ 2.856496] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[ 2.858071] hctosys: unable to open rtc device (rtc0)
[ 2.858506] of_cfs_init
[ 2.858622] of_cfs_init: OK
[ 2.869359] Freeing unused kernel memory: 6144K
[ 2.877944] Checked W+X mappings: passed, no W+X pages found
[ 2.877955] Run /init as init process
[ 2.917209] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.920196] mmc0: new high speed SDHC card at address 0001
[ 2.921176] mmcblk0: mmc0:0001 SD32G 29.3 GiB (quirks 0x80000000)
[ 2.924046] mmcblk0: p1 p2
[ 2.969634] random: systemd-udevd: uninitialized urandom read (16 bytes read)
[ 3.123722] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 3.144196] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00, bcdDevice= 2.00
[ 3.144210] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.147118] smsc95xx v1.0.6
[ 3.207434] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:9e:34:2b
[ 3.830336] usb_phy_generic phy: phy supply vcc not found, using dummy regulator
[ 3.940418] random: crng init done
[ 3.940425] random: 7 urandom warning(s) missed due to ratelimiting
[ 4.055733] mmc1: error -110 whilst initialising SDIO card
[ 8.055717] mmc1: error -110 whilst initialising SDIO card
[ 8.134713] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 9.259806] systemd[1]: System time before build time, advancing clock.
[ 9.353840] systemd[1]: Inserted module 'autofs4'
[ 9.465573] systemd[1]: systemd 245.4-4ubuntu3 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
[ 9.466660] systemd[1]: Detected architecture arm64.
[ 9.560839] systemd[1]: Set hostname to <ubuntu>.
[ 10.939306] systemd[1]: /lib/systemd/system/dbus.socket:5: ListenStream= references a path below legacy directory /var/run/, updating /var/run/dbus/system_bus_socket → /run/dbus/system_bus_socket; please update the unit file accordingly.
[ 11.322186] systemd[1]: Created slice system-modprobe.slice.
[ 11.341802] systemd[1]: Listening on Network Service Netlink Socket.
[ 11.536895] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 11.556519] systemd[1]: Starting Apply Kernel Variables...
[ 11.564954] systemd[1]: modprobe#drm.service: Succeeded.
[ 11.567305] systemd[1]: Finished Load Kernel Module drm.
[ 11.571435] systemd[1]: Finished Remount Root and Kernel File Systems.
[ 11.573773] systemd[1]: Mounted Kernel Configuration File System.
[ 11.593020] systemd[1]: Condition check resulted in Rebuild Hardware Database being skipped.
[ 11.593308] systemd[1]: Condition check resulted in Platform Persistent Storage Archival being skipped.
[ 11.606500] systemd[1]: Starting Load/Save Random Seed...
[ 11.625818] systemd[1]: Starting Create System Users...
[ 11.634244] systemd[1]: Mounted FUSE Control File System.
[ 11.708756] systemd[1]: Finished Apply Kernel Variables.
[ 11.716806] systemd[1]: Finished Load/Save Random Seed.
[ 11.745901] systemd[1]: Finished Create System Users.
[ 11.765450] systemd[1]: Starting Create Static Device Nodes in /dev...
[ 11.853725] systemd[1]: Finished Create Static Device Nodes in /dev.
[ 11.872599] systemd[1]: Starting udev Kernel Device Manager...
[ 11.975918] systemd[1]: Finished Set the console keyboard layout.
[ 11.989425] systemd[1]: Finished Monitoring of LVM2 mirrors, snapshots etc. using dmeventd or progress polling.
[ 12.130267] systemd[1]: Started udev Kernel Device Manager.
[ 12.295740] systemd[1]: Started Journal Service.
[ 12.331312] systemd-journald[699]: Received client request to flush runtime journal.
[ 12.338368] systemd-journald[699]: File /var/log/journal/3514f49f5a9540e08799a3236ffb69fb/system.journal corrupted or uncleanly shut down, renaming and replacing.
[ 15.447028] vc_sm_cma: module is from the staging directory, the quality is unknown, you have been warned.
[ 15.447847] vc_sm_cma: module verification failed: signature and/or required key missing - tainting kernel
[ 15.449312] bcm2835_vc_sm_cma_probe: Videocore shared memory driver
[ 15.449326] [vc_sm_connected_init]: start
[ 15.450053] [vc_sm_connected_init]: installed successfully
[ 15.483330] mc: Linux media interface: v0.10
[ 15.543700] videodev: Linux video capture interface: v2.00
[ 15.624819] bcm2835_mmal_vchiq: module is from the staging directory, the quality is unknown, you have been warned.
[ 15.647282] bcm2835_v4l2: module is from the staging directory, the quality is unknown, you have been warned.
[ 18.803843] alua: device handler registered
[ 18.809440] emc: device handler registered
[ 18.816655] rdac: device handler registered
[ 21.052015] audit: type=1400 audit(1585761833.787:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine" pid=1122 comm="apparmor_parser"
[ 21.052047] audit: type=1400 audit(1585761833.787:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=1122 comm="apparmor_parser"
[ 21.071424] audit: type=1400 audit(1585761833.803:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="lsb_release" pid=1120 comm="apparmor_parser"
[ 21.075311] audit: type=1400 audit(1585761833.807:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/ippusbxd" pid=1121 comm="apparmor_parser"
[ 21.080322] audit: type=1400 audit(1585761833.815:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe" pid=1126 comm="apparmor_parser"
[ 21.080352] audit: type=1400 audit(1585761833.815:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="nvidia_modprobe//kmod" pid=1126 comm="apparmor_parser"
[ 21.120841] audit: type=1400 audit(1585761833.855:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/sbin/tcpdump" pid=1127 comm="apparmor_parser"
[ 21.133913] audit: type=1400 audit(1585761833.867:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=1123 comm="apparmor_parser"
[ 21.133957] audit: type=1400 audit(1585761833.867:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=1123 comm="apparmor_parser"
[ 21.133976] audit: type=1400 audit(1585761833.867:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=1123 comm="apparmor_parser"
[ 29.389895] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 30.921666] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0xCDE1
[ 1503.818761] lp: driver loaded but no devices found
[ 1503.897593] st: Version 20160209, fixed bufsize 32768, s/g segs 256
[ 1548.482170] lp: driver loaded but no devices found
[ 2134.819517] lp: driver loaded but no devices found
And here is hwinfo --short:
ubuntu#ubuntu:/etc/network/if-up.d$ sudo hwinfo --short
cpu:
CPU
CPU
CPU
CPU
network:
eth0 Standard Microsystems SMSC9512/9514 Fast Ethernet Adapter
network interface:
eth0 Ethernet network interface
lo Loopback network interface
disk:
/dev/mmcblk0 Disk
partition:
/dev/mmcblk0p1 Partition
/dev/mmcblk0p2 Partition
usb controller:
ARM USB controller
hub:
Linux Foundation 2.0 root hub
Standard Microsystems SMC9514 Hub
memory:
Main Memory
unknown:
PS/2 Controller
flow this steps to config:
1 install network tools
sudo apt-get install net-tools
2 start wifi
sudo ifconfig wlan0 up
3 edit wifi config
sudo nano /etc/netplan/50-cloud-init.yaml
4 apply config
sudo iwconfig wlan0 power off
sudo netplan --debug try
sudo netplan --debug generate
sudo netplan --debug apply
On my embedded system there is a Real Time Clock (RTC) connected to uart 2.
21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 59, base_baud = 5000000) is a IMX
I have written a rtc kernel driver that uses filp_open("/dev/ttymxc1", O_RDWR | O_NOCTTY | O_SYNC, 0) to communicate with the RTC. After I boot and log in everything works great. hwclock does what it is supposed to. The problem is during boot the filp_open returns a -2 /* ENOENT - No such file or directory */.
silhouettestar2_rtc rtc.24: RTC-SilhouetteStar2: file open error = -2
My rtc_read_time function is getting called twice during boot and both times the same error is returned. Dmesg is showing me the uart drivers are loaded before the RTC driver. I have the suspition that ttymxc1 is not enabled yet. Can ttymxc1 get enabled when the driver is loaded like the console? Is there another interface that can be used in the kernel module to communicate directly with ttymxc1?
$> dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.14.79+g5dcba44 (schustercp#Ubuntu-Dev2) (gcc version 4.9.2 (GCC) ) #1 SMP Tue May 1 15:46:06 NZST 2018
[ 0.000000] CPU: ARMv7 Processor [412fc09a] revision 10 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: ARANZ SilhouetteStar with i.MX6 Solo/DualLite
[ 0.000000] cma: dma_contiguous_reserve(limit 50000000)
[ 0.000000] cma: dma_contiguous_reserve: reserving 256 MiB for global area
[ 0.000000] cma: cma_declare_contiguous(size 10000000, base 00000000, limit 50000000 alignment 00000000)
[ 0.000000] cma: CMA: reserved 256 MiB at 40000000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 262144
[ 0.000000] free_area_init_node: node 0, pgdat 807cf000, node_mem_map af777000
[ 0.000000] DMA zone: 2048 pages used for memmap
[ 0.000000] DMA zone: 0 pages reserved
[ 0.000000] DMA zone: 262144 pages, LIFO batch:31
[ 0.000000] PERCPU: Embedded 7 pages/cpu #af754000 s8192 r8192 d12288 u32768
[ 0.000000] pcpu-alloc: s8192 r8192 d12288 u32768 alloc=8*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 260096
[ 0.000000] Kernel command line: console=ttymxc0,115200,115200 quiet coherent_pool=180M root=/dev/mmcblk0p2 rootwait ro rootfstype=ext4
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 768360K/1048576K available (5516K kernel code, 233K rwdata, 1876K rodata, 336K init, 399K bss, 280216K reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
vector : 0xffff0000 - 0xffff1000 ( 4 kB)
fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
vmalloc : 0xc0800000 - 0xff000000 (1000 MB)
lowmem : 0x80000000 - 0xc0000000 (1024 MB)
pkmap : 0x7fe00000 - 0x80000000 ( 2 MB)
modules : 0x7f000000 - 0x7fe00000 ( 14 MB)
.text : 0x80008000 - 0x80740534 (7394 kB)
.init : 0x80741000 - 0x80795000 ( 336 kB)
.data : 0x80796000 - 0x807d04a0 ( 234 kB)
.bss : 0x807d04a8 - 0x8083448c ( 400 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=2, Nodes=1
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[ 0.000000] RCU: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=2
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] L2C-310 erratum 769419 enabled
[ 0.000000] L2C-310 enabling early BRESP for Cortex-A9
[ 0.000000] L2C-310 cache controller enabled, 16 ways, 512 kB
[ 0.000000] L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x72450000
[ 0.000000] Switching to timer-based delay loop
[ 0.000008] sched_clock: 32 bits at 3000kHz, resolution 333ns, wraps every 1431655765682ns
[ 0.000980] Calibrating delay loop (skipped), value calculated using timer frequency.. 6.00 BogoMIPS (lpj=30000)
[ 0.000992] pid_max: default: 32768 minimum: 301
[ 0.001165] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.001175] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.007102] CPU: Testing write buffer coherency: ok
[ 0.007371] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 0.007450] Setting up static identity map for 0x1053ef70 - 0x1053efc8
[ 0.008959] CPU1: Booted secondary processor
[ 0.008987] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 0.009096] Brought up 2 CPUs
[ 0.009107] SMP: Total of 2 processors activated (12.00 BogoMIPS).
[ 0.009112] CPU: All CPU(s) started in SVC mode.
[ 0.009757] devtmpfs: initialized
[ 0.013214] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 0.026956] pinctrl core: initialized pinctrl subsystem
[ 0.027224] regulator-dummy: no parameters
[ 0.027501] NET: Registered protocol family 16
[ 0.028182] cma: cma_alloc(cma 8081d358, count 46080, align 8)
[ 0.048082] cma: cma_alloc(): returned afd77000
[ 0.730786] DMA: preallocated 184320 KiB pool for atomic coherent allocations
[ 0.731204] cpuidle: using governor ladder
[ 0.731211] cpuidle: using governor menu
[ 0.731330] CPU identified as i.MX6DL, silicon rev 1.1
[ 0.731428] Use WDOG1 as reset source
[ 0.739809] syscon 20c8000.anatop: regmap [mem 0x020c8000-0x020c8fff] registered
[ 0.740120] vdd1p1: 800 <--> 1375 mV at 1100 mV
[ 0.740430] vdd3p0: 2800 <--> 3150 mV at 3000 mV
[ 0.740789] vdd2p5: 2000 <--> 2750 mV at 2400 mV
[ 0.741128] vddarm: 725 <--> 1450 mV at 1150 mV
[ 0.750683] vddpu: 725 <--> 1450 mV at 1150 mV
[ 0.751032] vddsoc: 725 <--> 1450 mV at 1175 mV
[ 0.753291] syscon 20e0000.iomuxc-gpr: regmap [mem 0x020e0000-0x020e0037] registered
[ 0.755630] syscon 21bc000.ocotp-ctrl: regmap [mem 0x021bc000-0x021bffff] registered
[ 0.759444] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 0.759452] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 0.761410] imx6dl-pinctrl 20e0000.iomuxc: initialized IMX pinctrl driver
[ 0.770481] bio: create slab <bio-0> at 0
[ 0.772859] mxs-dma 110000.dma-apbh: initialized
[ 0.773567] brcm_osc_reg: 3300 mV
[ 0.773828] brcm_reg: 3300 mV
[ 0.774027] 3P3V: 3300 mV
[ 0.774234] usb_otg_vbus: 5000 mV
[ 0.774490] reg_boost_aux: 5000 mV
[ 0.774760] reg_cam: 2800 mV
[ 0.775451] SCSI subsystem initialized
[ 0.775631] libata version 3.00 loaded.
[ 0.775880] usbcore: registered new interface driver usbfs
[ 0.775941] usbcore: registered new interface driver hub
[ 0.776035] usbcore: registered new device driver usb
[ 0.776192] usbphy_nop1.10 supply vcc not found, using dummy regulator
[ 0.776258] usbphy_nop2.11 supply vcc not found, using dummy regulator
[ 0.777491] i2c i2c-0: IMX I2C adapter registered
[ 0.777866] i2c i2c-1: IMX I2C adapter registered
[ 0.777974] Linux video capture interface: v2.00
[ 0.778018] pps_core: LinuxPPS API ver. 1 registered
[ 0.778023] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti#linux.it>
[ 0.778042] PTP clock support registered
[ 0.790721] imx-ipuv3 2400000.ipu: IPU DMFC NORMAL mode: 1(0~1), 5B(4,5), 5F(6,7)
[ 0.791800] mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 driver probed
[ 0.791811] mxc_mipi_csi2 21dc000.mipi_csi: i.MX MIPI CSI2 dphy version is 0x3130302a
[ 0.791874] MIPI CSI2 driver module loaded
[ 0.791942] Advanced Linux Sound Architecture Driver Initialized.
[ 0.792873] Switched to clocksource mxc_timer1
[ 0.794795] NET: Registered protocol family 2
[ 0.795497] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.795576] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.795703] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.795843] TCP: reno registered
[ 0.795855] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.795892] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.796150] NET: Registered protocol family 1
[ 0.796438] RPC: Registered named UNIX socket transport module.
[ 0.796444] RPC: Registered udp transport module.
[ 0.796448] RPC: Registered tcp transport module.
[ 0.796453] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.796908] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
[ 0.798888] Bus freq driver module loaded
[ 0.799778] futex hash table entries: 512 (order: 3, 32768 bytes)
[ 0.808299] zbud: loaded
[ 0.808637] VFS: Disk quotas dquot_6.5.2
[ 0.808935] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.811123] NFS: Registering the id_resolver key type
[ 0.811162] Key type id_resolver registered
[ 0.811166] Key type id_legacy registered
[ 0.811398] fuse init (API version 7.22)
[ 0.811899] msgmni has been set to 2012
[ 0.814579] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 250)
[ 0.814589] io scheduler noop registered
[ 0.814593] io scheduler deadline registered
[ 0.814814] io scheduler cfq registered (default)
[ 0.816425] imx-sdma 20ec000.sdma: no iram assigned, using external mem
[ 0.816443] cma: cma_alloc(cma 8081d358, count 1, align 0)
[ 0.817803] cma: cma_alloc(): returned afedf000
[ 0.817851] cma: cma_alloc(cma 8081d358, count 1, align 0)
[ 0.818412] cma: cma_alloc(): returned afedf020
[ 0.818460] imx-sdma 20ec000.sdma: no event needs to be remapped
[ 0.818600] cma: cma_alloc(cma 8081d358, count 1, align 0)
[ 0.819179] cma: cma_alloc(): returned afedf040
[ 0.819292] cma: cma_release(page afedf040)
[ 0.819306] imx-sdma 20ec000.sdma: loaded firmware 3.1
[ 0.822617] imx-sdma 20ec000.sdma: initialized
[ 0.823223] Serial: IMX driver
[ 0.823492] 2020000.serial: ttymxc0 at MMIO 0x2020000 (irq = 58, base_baud = 5000000) is a IMX
[ 0.823637] console [ttymxc0] enabled
[ 0.824366] 21e8000.serial: ttymxc1 at MMIO 0x21e8000 (irq = 59, base_baud = 5000000) is a IMX
[ 0.824836] 21f0000.serial: ttymxc3 at MMIO 0x21f0000 (irq = 61, base_baud = 5000000) is a IMX
[ 0.825166] serial: Freescale lpuart driver
[ 0.826280] imx sema4 driver is registered.
[ 0.826321] [drm] Initialized drm 1.1.0 20060810
[ 0.826690] [drm] Initialized vivante 1.0.0 20120216 on minor 0
[ 0.834551] brd: module loaded
[ 0.838664] loop: module loaded
[ 0.840265] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.840342] usbcore: registered new interface driver usb-storage
[ 0.841090] 2184800.usbmisc supply vbus-wakeup not found, using dummy regulator
[ 0.844951] cma: cma_alloc(cma 8081d358, count 1, align 0)
[ 0.845655] cma: cma_alloc(): returned afedf040
[ 0.847848] mousedev: PS/2 mouse device common for all mice
[ 0.848631] silhouettestar2_rtc rtc.24: RTC-SilhouetteStar2 Probe
[ 0.848669] silhouettestar2_rtc rtc.24: RTC-SilhouetteStar2 Get Time
[ 0.848703] silhouettestar2_rtc rtc.24: RTC-SilhouetteStar2: file open error = -2
[ 0.855154] silhouettestar2_rtc rtc.24: rtc core: registered rtc.24 as rtc0
[ 0.855195] i2c /dev entries driver
[ 0.856658] imx2-wdt 20bc000.wdog: IMX2+ Watchdog Timer enabled. timeout=60s (nowayout=0)
[ 0.856898] sdhci: Secure Digital Host Controller Interface driver
[ 0.856902] sdhci: Copyright(c) Pierre Ossman
[ 0.856907] sdhci-pltfm: SDHCI platform and OF driver helper
[ 0.858740] cma: cma_alloc(cma 8081d358, count 1, align 0)
[ 0.859396] cma: cma_alloc(): returned afedf060
[ 0.859450] mmc1: no vqmmc regulator found
[ 1.162907] mmc1: SDHCI controller on 2190000.usdhc [2190000.usdhc] using ADMA
[ 1.165494] cma: cma_alloc(cma 8081d358, count 1, align 0)
[ 1.170216] cma: cma_alloc(): returned afedf080
[ 1.172928] mmc0: no vqmmc regulator found
[ 1.173269] 2194000.usdhc supply card-external-vcc not found, using dummy regulator
[ 1.186120] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[ 1.187813] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.189509] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[ 1.192539] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1.195577] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[ 1.245767] mmc1: new high speed SDIO card at address 0001
[ 1.272904] mmc0: SDHCI controller on 2194000.usdhc [2194000.usdhc] using ADMA
[ 1.273425] galcore: clk_get vg clock failed, disable vg!
[ 1.273446] Galcore version 5.0.11.25762
[ 1.322143] mmc0: host does not support reading read-only switch. assuming write-enable.
[ 1.329647] mmc0: new high speed SDHC card at address 0007
[ 1.330377] mmcblk0: mmc0:0007 SD08G 7.21 GiB
[ 1.334584] mmcblk0: p1 p2 p3 p4 < p5 p6 p7 >
[ 1.594994] mxc_vdoa 21e4000.vdoa: i.MX Video Data Order Adapter(VDOA) driver probed
[ 1.595518] mxc_vpu 2040000.vpu: VPU initialized
[ 1.596267] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.843486] caam 2100000.caam: Instantiated RNG4 SH0
[ 2.087961] caam 2100000.caam: Instantiated RNG4 SH1
[ 2.087973] caam 2100000.caam: device ID = 0x0a160100 (Era 4)
[ 2.087983] caam 2100000.caam: job rings = 2, qi = 0
[ 2.088433] cma: cma_alloc(cma 8081d358, count 1, align 0)
[ 2.089464] cma: cma_alloc(): returned afedf160
[ 2.089504] cma: cma_alloc(cma 8081d358, count 1, align 0)
[ 2.090342] cma: cma_alloc(): returned afedf180
[ 2.113030] cma: cma_alloc(cma 8081d358, count 1, align 0)
[ 2.113915] cma: cma_alloc(): returned afedf1a0
[ 2.113953] cma: cma_alloc(cma 8081d358, count 1, align 0)
[ 2.114797] cma: cma_alloc(): returned afedf1c0
[ 2.145816] caam algorithms registered in /proc/crypto
[ 2.149413] caam_jr 2101000.jr0: registering rng-caam
[ 2.152441] snvs-secvio 20cc000.caam-snvs: violation handlers armed - non-secure state
[ 2.152733] usbcore: registered new interface driver usbhid
[ 2.152738] usbhid: USB HID core driver
[ 2.155249] TCP: cubic registered
[ 2.155950] NET: Registered protocol family 10
[ 2.156836] sit: IPv6 over IPv4 tunneling driver
[ 2.157536] NET: Registered protocol family 17
[ 2.157597] 8021q: 802.1Q VLAN Support v1.8
[ 2.157647] Key type dns_resolver registered
[ 2.158776] Registering SWP/SWPB emulation handler
[ 2.159338] reg_cam: disabling
[ 2.159354] regulator-dummy: disabling
[ 2.159603] imx mcc test is registered.
[ 2.159961] silhouettestar2_rtc rtc.24: RTC-SilhouetteStar2 Get Time
[ 2.159997] silhouettestar2_rtc rtc.24: RTC-SilhouetteStar2: file open error = -2
[ 2.166212] silhouettestar2_rtc rtc.24: hctosys: unable to read the hardware clock
[ 2.174066] ALSA device list:
[ 2.174070] No soundcards found.
[ 2.193357] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.193388] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 2.197512] devtmpfs: mounted
[ 2.198079] Freeing unused kernel memory: 336K (80741000 - 80795000)
[ 2.430273] random: systemd: uninitialized urandom read (16 bytes read, 21 bits of entropy available)
[ 2.443943] systemd[1]: systemd 219 running in system mode. (-PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT -GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
[ 2.444442] systemd[1]: Detected architecture arm.
[ 2.445565] systemd[1]: Set hostname to <SilhouetteStar_2010-01_L16X00000>.
[ 2.452569] random: systemd: uninitialized urandom read (16 bytes read, 21 bits of entropy available)
[ 2.452687] systemd[1]: Initializing machine ID from random generator.
[ 2.453256] systemd[1]: Installed transient /etc/machine-id file.
[ 2.466457] random: systemd: uninitialized urandom read (16 bytes read, 21 bits of entropy available)
[ 2.495941] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 22 bits of entropy available)
[ 2.559118] random: systemd: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
[ 2.559338] random: systemd: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
[ 2.560660] random: systemd: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
[ 2.560977] random: systemd: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
[ 2.561545] random: systemd: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
[ 2.566338] random: systemd: uninitialized urandom read (16 bytes read, 24 bits of entropy available)
[ 2.694349] systemd[1]: Cannot add dependency job for unit org.freedesktop.resolve1.busname, ignoring: Unit org.freedesktop.resolve1.busname failed to load: No such file or directory.
[ 2.697889] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 2.697956] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 2.698137] systemd[1]: Reached target Remote File Systems.
[ 2.698192] systemd[1]: Starting Remote File Systems.
[ 2.698407] systemd[1]: Created slice Root Slice.
[ 2.698467] systemd[1]: Starting Root Slice.
[ 2.698705] systemd[1]: Listening on Journal Socket (/dev/log).
[ 2.698763] systemd[1]: Starting Journal Socket (/dev/log).
[ 2.698974] systemd[1]: Listening on Journal Socket.
[ 2.699052] systemd[1]: Starting Journal Socket.
[ 2.699212] systemd[1]: Listening on Syslog Socket.
[ 2.699265] systemd[1]: Starting Syslog Socket.
[ 2.719414] systemd[1]: Listening on Journal Audit Socket.
[ 2.719659] systemd[1]: Listening on udev Kernel Socket.
[ 2.719721] systemd[1]: Starting udev Kernel Socket.
[ 2.719986] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[ 2.720046] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[ 2.720262] systemd[1]: Listening on udev Control Socket.
[ 2.720319] systemd[1]: Starting udev Control Socket.
[ 2.720707] systemd[1]: Listening on networkd rtnetlink socket.
[ 2.720767] systemd[1]: Starting networkd rtnetlink socket.
[ 2.721055] systemd[1]: Created slice System Slice.
[ 2.721138] systemd[1]: Starting System Slice.
[ 2.722708] systemd[1]: Starting Journal Service...
[ 2.723314] systemd[1]: Mounted Debug File System.
[ 2.723825] systemd[1]: Mounted Huge Pages File System.
[ 2.724328] systemd[1]: Created slice system-serial\x2dgetty.slice.
[ 2.724394] systemd[1]: Starting system-serial\x2dgetty.slice.
[ 2.728044] systemd[1]: Started Load Kernel Modules.
[ 2.728352] systemd[1]: Mounted Configuration File System.
[ 2.729944] systemd[1]: Starting Apply Kernel Variables...
[ 2.732610] systemd[1]: Mounting FUSE Control File System...
[ 2.733011] systemd[1]: Mounted POSIX Message Queue File System.
[ 2.736793] systemd[1]: Starting udev Coldplug all Devices...
[ 2.737450] systemd[1]: Created slice system-getty.slice.
[ 2.737564] systemd[1]: Starting system-getty.slice.
[ 2.739864] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[ 2.740495] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[ 2.740614] systemd[1]: Starting system-systemd\x2dfsck.slice.
[ 2.743319] systemd[1]: Starting Remount Root and Kernel File Systems...
[ 2.775409] systemd[1]: Mounting Temporary Directory...
[ 2.778634] systemd[1]: Created slice User and Session Slice.
[ 2.778700] systemd[1]: Starting User and Session Slice.
[ 2.778800] systemd[1]: Started Setup Virtual Console.
[ 2.779737] systemd[1]: Started Dispatch Password Requests to Console Directory Watch.
[ 2.779797] systemd[1]: Starting Dispatch Password Requests to Console Directory Watch.
[ 2.779877] systemd[1]: Reached target Paths.
[ 2.779918] systemd[1]: Starting Paths.
[ 2.780229] systemd[1]: Created slice system-wpa_supplicant.slice.
[ 2.780276] systemd[1]: Starting system-wpa_supplicant.slice.
[ 2.780472] systemd[1]: Listening on Delayed Shutdown Socket.
[ 2.780518] systemd[1]: Starting Delayed Shutdown Socket.
[ 2.780604] systemd[1]: Reached target Swap.
[ 2.780647] systemd[1]: Starting Swap.
[ 2.780729] systemd[1]: Reached target Slices.
[ 2.780772] systemd[1]: Starting Slices.
[ 2.781935] systemd[1]: Started Create list of required static device nodes for the current kernel.
[ 2.793687] systemd[1]: Mounted FUSE Control File System.
[ 2.793859] systemd[1]: Mounted Temporary Directory.
[ 2.823354] systemd[1]: Started Apply Kernel Variables.
[ 2.834004] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 2.862172] systemd[1]: Started Remount Root and Kernel File Systems.
[ 2.882042] systemd[1]: Started udev Coldplug all Devices.
[ 2.958417] systemd[1]: Started Rebuild Hardware Database.
[ 2.958548] systemd[1]: Started First Boot Wizard.
[ 2.958620] systemd[1]: Started Create System Users.
[ 2.960200] systemd[1]: Starting Create Static Device Nodes in /dev...
[ 2.960396] systemd[1]: Started Rebuild Dynamic Linker Cache.
[ 2.996235] systemd[1]: Started Journal Service.
[ 3.498541] mxc_v4l_open: Mxc Camera no sensor ipu0/csi0
[ 3.635806] cfg80211: Calling CRDA to update world regulatory domain
[ 3.816727] random: nonblocking pool is initialized
[ 3.881444] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Jan 23 2013 17:47:32 version 5.90.195.114 FWID 01-f9e7e464
[ 4.188236] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
[ 4.377138] systemd-journald[144]: Received request to flush runtime journal from PID 1
[ 4.534245] EXT4-fs (mmcblk0p6): mounted filesystem with ordered data mode. Opts: (null)
[ 4.933892] using random self ethernet address
[ 4.933906] using random host ethernet address
[ 4.934572] usb0: HOST MAC 6e:9f:55:e3:b3:86
[ 4.934626] usb0: MAC 9a:2d:f9:b9:90:d9
[ 4.934659] using random self ethernet address
[ 4.934668] using random host ethernet address
[ 4.934708] g_ether gadget: Ethernet Gadget, version: Memorial Day 2008
[ 4.934714] g_ether gadget: g_ether ready
[ 5.337972] IPv6: ADDRCONF(NETDEV_UP): usb0: link is not ready
[ 5.982973] mxc_v4l2_master_attach: ipu0:/csi0 mipi attached ov5640_mipi:mxc_v4l2_cap0
[ 5.983000] camera ov5640_mipi is found
[ 8.459218] g_ether gadget: high-speed config #1: CDC Ethernet (ECM)
[ 8.460691] IPv6: ADDRCONF(NETDEV_CHANGE): usb0: link becomes ready
[ 11.674988] cma: cma_alloc(cma 8081d358, count 1, align 0)
[ 11.676195] cma: cma_alloc(): returned afedf1e0
[ 11.676250] cma: cma_alloc(cma 8081d358, count 20, align 5)
[ 11.676940] cma: cma_alloc(): returned afedf400
[ 11.677386] cma: cma_alloc(cma 8081d358, count 1, align 0)
[ 11.678082] cma: cma_alloc(): returned afedf200
I am trying to boot linux kernel on cpu1.
For this was written small bootloader that copy real mode part to 0x10200 and protected mode part to 0x100000, than just did jump (on cpu1) to 0x10200.
And got next error:
[ 0.001000] Freeing SMP alternatives memory: 32K (ffffffff8200a000 - ffffffff82012000)
[ 0.001000] ..TIMER: vector=0x30 apic1=0 pin1=0 apic2=-1 pin2=-1
[ 0.001000] ..MP-BIOS bug: 8254 timer not connected to IO-APIC
[ 0.001000] ...trying to set up timer (IRQ0) through the 8259A ...
[ 0.001000] ..... (found apic 0 pin 0) ...
[ 0.001000] ....... failed.
[ 0.001000] ...trying to set up timer as Virtual Wire IRQ...
[ 0.001000] ..... failed.
[ 0.001000] ...trying to set up timer as ExtINT IRQ...
[ 0.002000] ..... failed :(.
[ 0.002000] Kernel panic - not syncing: IO-APIC + timer doesn't work! Boot with apic=debug and send a report. Then try booting with the 'noapic' option.
[ 0.002000]
[ 0.002000] CPU: 0 PID: 1 Comm: swapper/0 Not tainted 4.1.27+ #52
[ 0.002000] Hardware name: , BIOS Bochs 01/01/2007
[ 0.002000] 0000000000000000 ffff88001e8dbd28 ffffffff818c4a73 ffffffff81ba8888
[ 0.002000] 0000000000000008 ffff88001e8dbda8 ffffffff818c1231 ffff88001e8dbd48
[ 0.002000] ffffffff00000008 ffff88001e8dbdb8 ffff88001e8dbd58 ffffffff81f24ee1
[ 0.002000] Call Trace:
[ 0.002000] [<ffffffff818c4a73>] dump_stack+0x4d/0x63
[ 0.002000] [<ffffffff818c1231>] panic+0xb6/0x1e4
[ 0.002000] [<ffffffff81f24ee1>] ? timer_irq_works+0x28/0x57
[ 0.002000] [<ffffffff81f25acf>] setup_IO_APIC+0x56c/0x71a
[ 0.002000] [<ffffffff81f247e1>] apic_bsp_setup+0x87/0x96
[ 0.002000] [<ffffffff81f229dc>] native_smp_prepare_cpus+0x232/0x270
[ 0.002000] [<ffffffff81f1507e>] kernel_init_freeable+0x91/0x21a
[ 0.002000] [<ffffffff818be210>] ? rest_init+0x80/0x80
[ 0.002000] [<ffffffff818be219>] kernel_init+0x9/0xf0
[ 0.002000] [<ffffffff818cee52>] ret_from_fork+0x42/0x70
[ 0.002000] [<ffffffff818be210>] ? rest_init+0x80/0x80
[ 0.002000] ---[ end Kernel panic - not syncing: IO-APIC + timer doesn't work! Boot with apic=debug and send a report. Then try booting with the 'noapic' option.
[ 0.002000]
Is it some limitation for running linux kernel on other cpu (in my case cpu1) except cpu0?