How to login Mate in serial console?

I need to login ubuntu mate (raspberry pi 3) in serial console(with ttyS0).
Currently, the uart only print out these:

[    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.38-v7+ ([email protected]) (gcc version 4.9.3 (crosstool-NG crosstool-ng-1.22.0-88-g8460611) ) #938 SMP Thu Dec 15 15:22:21 6
[    0.000000] CPU: ARMv7 Processor [410fd034] revision 4 (ARMv7), cr=10c5383d
[    0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[    0.000000] Machine model: Raspberry Pi 3 Model B Rev 1.2
[    0.000000] cma: Reserved 8 MiB at 0x3d800000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] [bcm2709_smp_init_cpus] enter (9520->f3003010)
[    0.000000] [bcm2709_smp_init_cpus] ncores=4
[    0.000000] PERCPU: Embedded 13 pages/cpu @bcef6000 s22592 r8192 d22464 u53248
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 251720
[    0.000000] Kernel command line: 8250.nr_uarts=1 dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2709.boardrev=0xa22082 bcm2709.seriat
[    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: 987784K/1015808K available (6357K kernel code, 432K rwdata, 1716K rodata, 476K init, 764K bss, 19832K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xbe800000 - 0xff800000   (1040 MB)
[    0.000000]     lowmem  : 0x80000000 - 0xbe000000   ( 992 MB)
[    0.000000]     modules : 0x7f000000 - 0x80000000   (  16 MB)
[    0.000000]       .text : 0x80008000 - 0x807ea688   (8074 kB)
[    0.000000]       .init : 0x807eb000 - 0x80862000   ( 476 kB)
[    0.000000]       .data : 0x80862000 - 0x808ce250   ( 433 kB)
[    0.000000]        .bss : 0x808d1000 - 0x809901ec   ( 765 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] Architected 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.000017] Switching to timer-based delay loop, resolution 52ns
[    0.000186] Console: colour dummy device 80x30
[    0.000213] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.000225] pid_max: default: 32768 minimum: 301
[    0.000409] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.000417] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.001007] Disabling cpuset control group subsystem
[    0.001027] Initializing cgroup subsys io
[    0.001047] Initializing cgroup subsys memory
[    0.001075] Initializing cgroup subsys devices
[    0.001087] Initializing cgroup subsys freezer
[    0.001099] Initializing cgroup subsys net_cls
[    0.001127] CPU: Testing write buffer coherency: ok
[    0.001171] ftrace: allocating 21237 entries in 63 pages
[    0.028852] CPU0: update cpu_capacity 1024
[    0.028876] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[    0.028884] [bcm2709_smp_prepare_cpus] enter
[    0.028985] Setting up static identity map for 0x8240 - 0x8274
[    0.029990] [bcm2709_boot_secondary] cpu:1 started (0) 18
[    0.030146] [bcm2709_secondary_init] enter cpu:1
[    0.030175] CPU1: update cpu_capacity 1024
[    0.030178] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[    0.030389] [bcm2709_boot_secondary] cpu:2 started (0) 17
[    0.030520] [bcm2709_secondary_init] enter cpu:2
[    0.030531] CPU2: update cpu_capacity 1024
[    0.030534] CPU2: thread -1, cpu 2, socket 0, mpidr 80000002
[    0.030726] [bcm2709_boot_secondary] cpu:3 started (0) 17
[    0.030819] [bcm2709_secondary_init] enter cpu:3
[    0.030830] CPU3: update cpu_capacity 1024
[    0.030833] CPU3: thread -1, cpu 3, socket 0, mpidr 80000003
[    0.030864] Brought up 4 CPUs
[    0.030876] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.030881] CPU: All CPU(s) started in HYP mode.
[    0.030885] CPU: Virtualization extensions available.
[    0.031258] devtmpfs: initialized
[    0.036943] VFP support v0.3: implementor 41 architecture 3 part 40 variant 3 rev 4
[    0.037125] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.037507] pinctrl core: initialized pinctrl subsystem
[    0.037802] NET: Registered protocol family 16
[    0.041823] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.045464] bcm2709: Mini UART enabled
[    0.045490] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.045496] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.045576] Serial: AMBA PL011 UART driver
[    0.045648] uart-pl011 3f201000.uart: could not find pctldev for node /soc/[email protected]/uart0_pins, deferring probe
[    0.045743] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.089835] bcm2835-dma 3f007000.dma: DMA legacy API manager at f3007000, dmachans=0x1
[    0.090144] SCSI subsystem initialized
[    0.090244] usbcore: registered new interface driver usbfs
[    0.090290] usbcore: registered new interface driver hub
[    0.090341] usbcore: registered new device driver usb
[    0.098453] raspberrypi-firmware soc:firmware: Attached to firmware from 2016-12-09 15:12
[    0.124910] clocksource: Switched to clocksource arch_sys_counter
[    0.148725] FS-Cache: Loaded
[    0.148900] CacheFiles: Loaded
[    0.155180] NET: Registered protocol family 2
[    0.155697] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.155755] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.155850] TCP: Hash tables configured (established 8192 bind 8192)
[    0.155920] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.155944] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.156070] NET: Registered protocol family 1
[    0.156255] RPC: Registered named UNIX socket transport module.
[    0.156261] RPC: Registered udp transport module.
[    0.156265] RPC: Registered tcp transport module.
[    0.156270] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.156883] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 7 counters available
[    0.157577] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.164300] VFS: Disk quotas dquot_6.6.0
[    0.164460] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.165642] FS-Cache: Netfs 'nfs' registered for caching
[    0.166109] NFS: Registering the id_resolver key type
[    0.166138] Key type id_resolver registered
[    0.166143] Key type id_legacy registered
[    0.167366] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.167440] io scheduler noop registered
[    0.167449] io scheduler deadline registered (default)
[    0.167476] io scheduler cfq registered
[    0.168883] BCM2708FB: allocated DMA memory fdc10000
[    0.168899] BCM2708FB: allocated DMA channel 0 @ f3007000
[    0.172403] Console: switching to colour frame buffer device 82x26
[    0.174075] Serial: 8250/16550 driver, 1 ports, IRQ sharing disabled
[    0.174599] console [ttyS0] disabled
[    0.174639] 3f215040.uart: ttyS0 at MMIO 0x3f215040 (irq = 59, base_baud = 31250000) is a 16550
[    0.905239] console [ttyS0] enabled
[    0.909032] KGDB: Registered I/O driver kgdboc
[    0.935293] bcm2835-rng 3f104000.rng: hwrng registered
[    0.940544] vc-cma: Videocore CMA driver
[    0.944517] vc-cma: vc_cma_base      = 0x00000000
[    0.949296] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    0.954766] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    0.960356] vc-mem: phys_addr:0x00000000 mem_base=0x3ea00000 mem_size:0x3f000000(1008 MiB)
[    0.976405] brd: module loaded
[    0.984016] loop: module loaded
[    0.987813] vchiq: vchiq_init_state: slot_zero = 0xbdc80000, is_master = 0
[    0.995984] Loading iSCSI transport class v2.0-870.
[    1.001282] usbcore: registered new interface driver smsc95xx
[    1.007151] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.213162] Core Release: 2.80a
[    1.216366] Setting default values for core params
[    1.221238] Finished setting default values for core params
[    1.427098] Using Buffer DMA mode
[    1.430454] Periodic Transfer Interrupt Enhancement - disabled
[    1.436371] Multiprocessor Interrupt Enhancement - disabled
[    1.442018] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.446440] Dedicated Tx FIFOs mode
[    1.450160] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xbdc04000 dma = 0xfdc04000 len=9024
[    1.460150] FIQ FSM acceleration enabled for :
[    1.460150] Non-periodic Split Transactions
[    1.460150] Periodic Split Transactions
[    1.460150] High-Speed Isochronous Endpoints
[    1.460150] Interrupt/Control Split Transaction hack enabled
[    1.482851] WARN::hcd_init_fiq:413: FIQ on core 1 at 0x8044844c
[    1.488851] WARN::hcd_init_fiq:414: FIQ ASM at 0x804487bc length 36
[    1.495206] WARN::hcd_init_fiq:439: MPHI regs_base at 0xbe87e000
[    1.501332] dwc_otg 3f980000.usb: DWC OTG Controller
[    1.506387] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    1.513811] dwc_otg 3f980000.usb: irq 62, io mem 0x00000000
[    1.519501] Init: Port Power? op_state=1
[    1.523471] Init: Power Port (0)
[    1.526852] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.533734] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.541065] usb usb1: Product: DWC OTG Controller
[    1.545840] usb usb1: Manufacturer: Linux 4.4.38-v7+ dwc_otg_hcd
[    1.551927] usb usb1: SerialNumber: 3f980000.usb
[    1.557043] hub 1-0:1.0: USB hub found
[    1.560857] hub 1-0:1.0: 1 port detected
[    1.565362] usbcore: registered new interface driver usb-storage
[    1.571587] mousedev: PS/2 mouse device common for all mice
[    1.577688] bcm2835-cpufreq: min=1200000 max=1200000
[    1.582862] sdhci: Secure Digital Host Controller Interface driver
[    1.589143] sdhci: Copyright(c) Pierre Ossman
[    1.593740] sdhost: log_buf @ bdc07000 (fdc07000)
[    1.654923] mmc0: sdhost-bcm2835 loaded - DMA enabled (>1)
[    1.662530] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[    1.668456] mmc-bcm2835 3f300000.mmc: DMA channel allocated
[    1.712410] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.714968] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.715179] ledtrig-cpu: registered to indicate activity on CPUs
[    1.715243] hidraw: raw HID events driver (C) Jiri Kosina
[    1.715342] usbcore: registered new interface driver usbhid
[    1.715343] usbhid: USB HID core driver
[    1.715635] Initializing XFRM netlink socket
[    1.715651] NET: Registered protocol family 17
[    1.715729] Key type dns_resolver registered
[    1.716023] Registering SWP/SWPB emulation handler
[    1.716439] registered taskstats version 1
[    1.716548] vc-sm: Videocore shared memory driver
[    1.716553] [vc_sm_connected_init]: start
[    1.726340] vc_vchi_sm_init: failed to open VCHI service (-1)
[    1.726340] [vc_sm_connected_init]: failed to initialize shared memory service
[    1.726343] [vc_sm_connected_init]: end - returning -1
[    1.727508] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 87, base_baud = 0) is a PL011 rev2
[    1.727703] of_cfs_init
[    1.727755] of_cfs_init: OK
[    1.764981] Indeed it is in host mode hprt0 = 00021501
[    1.816444] Waiting for root device /dev/mmcblk0p2...
[    1.821731] mmc0: new high speed SDHC card at address 0002
[    1.827679] mmcblk0: mmc0:0002 USD00 14.9 GiB
[    1.833133]  mmcblk0: p1 p2
[    1.852079] mmc1: queuing unknown CIS tuple 0x80 (2 bytes)
[    1.859149] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.866214] mmc1: queuing unknown CIS tuple 0x80 (3 bytes)
[    1.874480] mmc1: queuing unknown CIS tuple 0x80 (7 bytes)
[    1.935076] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    1.943308] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    1.944925] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    1.945016] Indeed it is in host mode hprt0 = 00001101
[    1.962587] devtmpfs: mounted
[    1.966053] Freeing unused kernel memory: 476K (807eb000 - 80862000)
[    1.994156] mmc1: new high speed SDIO card at address 0001
[    2.145120] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    2.151924] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.159639] hub 1-1:1.0: USB hub found
[    2.163492] hub 1-1:1.0: 5 ports detected
[    2.268104] systemd[1]: System time before build time, advancing clock.
[    2.392607] NET: Registered protocol family 10
[    2.409048] random: systemd: uninitialized urandom read (16 bytes read, 71 bits of entropy available)
[    2.421292] systemd[1]: systemd 229 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL)
[    2.439951] systemd[1]: Detected architecture arm.
[    2.444935] usb 1-1.1: new high-speed USB device number 3 using dwc_otg

Welcome to Ubuntu 16.04.2 LTS!

[    2.475630] systemd[1]: Set hostname to <zlr-desktop>.
[    2.522138] random: systemd: uninitialized urandom read (16 bytes read, 72 bits of entropy available)
[    2.531410] random: systemd-cryptse: uninitialized urandom read (16 bytes read, 72 bits of entropy available)
[    2.554675] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 72 bits of entropy available)
[    2.565358] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    2.570947] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 72 bits of entropy available)
[    2.571124] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 72 bits of entropy available)
[    2.592545] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.595082] smsc95xx v1.0.4
[    2.620129] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 74 bits of entropy available)
[    2.656987] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:ef:2c:db
[    2.765659] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 78 bits of entropy available)
[    2.833101] random: systemd: uninitialized urandom read (16 bytes read, 79 bits of entropy available)
[    2.842600] random: systemd: uninitialized urandom read (16 bytes read, 79 bits of entropy available)
[    2.904954] usb 1-1.5: new high-speed USB device number 4 using dwc_otg
[    3.024049] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[    3.045357] systemd[1]: Created slice User and Session Slice.
[    3.047401] usb 1-1.5: New USB device found, idVendor=0480, idProduct=a004
[    3.047406] usb 1-1.5: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[    3.047409] usb 1-1.5: Product: External USB HDD
[    3.047414] usb 1-1.5: Manufacturer: Toshiba
[    3.047417] usb 1-1.5: SerialNumber: 201102273817
[    3.049158] usb-storage 1-1.5:1.0: USB Mass Storage device detected
[    3.085853] scsi host0: usb-storage 1-1.5:1.0
[  OK  ] Created slice User and Session Slice.
[    3.115028] systemd[1]: Reached target Remote File Systems (Pre).
[  OK  ] Reached target Remote File Systems (Pre).
[    3.144988] systemd[1]: Reached target Remote File Systems.
[  OK  ] Reached target Remote File Systems.
[    3.175183] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    3.235102] systemd[1]: Mounting POSIX Message Queue File System...
         Mounting POSIX Message Queue File System...
[    3.294000] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    3.325288] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    3.355437] systemd[1]: Created slice system-serial\x2dgetty.slice.
[  OK  ] Created slice system-serial\x2dgetty.slice.
[    3.384998] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    3.405073] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    3.435056] systemd[1]: Listening on fsck to fsckd communication Socket.
[  OK  ] Listening on fsck to fsckd communication Socket.
[    3.465310] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[  OK  ] Created slice system-systemd\x2dfsck.slice.
[    3.525166] systemd[1]: Starting Nameserver information manager...
         Starting Nameserver information manager...
[    3.555171] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    3.585019] systemd[1]: Reached target Encrypted Volumes.
[  OK  ] Reached target Encrypted Volumes.
[    3.615047] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    3.635111] systemd[1]: Started Trigger resolvconf update for networkd DNS.
[  OK  ] Started Trigger resolvconf update for networkd DNS.
[    3.695328] systemd[1]: Starting Set console keymap...
         Starting Set console keymap...
[    3.717485] systemd[1]: Starting Uncomplicated firewall...
         Starting Uncomplicated firewall...
[    3.747865] systemd[1]: Mounting Debug File System...
         Mounting Debug File System...
[    3.775580] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[  OK  ] Set up automount Arbitrary Executab...ats File System Automount Point.
[    3.865474] systemd[1]: Starting Load Kernel Modules...
         Starting Load Kernel Modules...
[    3.886948] systemd[1]: Started Read required files in advance.
[    3.893593] i2c /dev entries driver
32m  OK  ] Started Read required files in advance.
[    3.918678] systemd[1]: Listening on Journal Socket (/dev/log).
[    3.925485] media: Linux media interface: v0.10
m  OK  ] Listening on Journal Socket (/dev/log).
[    3.949326] Linux video capture interface: v2.00
[    3.975298] bcm2835_v4l2: Failed to open VCHI service connection (status=-1)
[    3.985506] systemd[1]: Starting Journal Service...
         Starting Journal Service...
[    4.007240] systemd[1]: Starting Create list of required static device nodes for the current kernel...
         Starting Create list of required st... nodes for the current kernel...
[    4.035104] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    4.119895] systemd[1]: Mounted Debug File System.
[  OK  ] Mounted Debug File System.
[    4.145238] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[    4.175404] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Started Set console keymap.
[  OK  ] Started Uncomplicated firewall.
[FAILED] Failed to start Load Kernel Modules.
See 'systemctl status systemd-modules-load.service' for details.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[  OK  ] Started Nameserver information manager.
[  OK  ] Reached target Network (Pre).
         Starting Create Static Device Nodes in /dev...
         Mounting Configuration File System...
         Starting Apply Kernel Variables...
[  OK  ] Mounted Configuration File System.
[  OK  ] Started Create Static Device Nodes in /dev.
[  OK  ] Started Apply Kernel Variables.
         Starting udev Kernel Device Manager...
[  OK  ] Started udev Kernel Device Manager.
[  OK  ] Reached target Sound Card.
         Starting LSB: Switch to ondemand cp...(unless shift key is pressed)...
         Starting File System Check on Root Device...
[  OK  ] Started File System Check Daemon to report status.
[  OK  ] Started File System Check on Root Device.
[  OK  ] Started LSB: Switch to ondemand cpu...r (unless shift key is pressed).
         Starting Remount Root and Kernel File Systems...
[  OK  ] Started Remount Root and Kernel File Systems.
         Starting Load/Save Random Seed...
         Starting Flush Journal to Persistent Storage...
[  OK  ] Reached target Local File Systems (Pre).
         Starting udev Coldplug all Devices...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started udev Coldplug all Devices.
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Started Dispatch Password Requests to Console Directory Watch.
[  OK  ] Found device External_USB_HDD 6.
         Mounting /mnt/seafile...
[  OK  ] Found device /dev/ttyS0.
[  OK  ] Mounted /mnt/seafile.
[  OK  ] Found device /dev/mmcblk0p1.
         Starting File System Check on /dev/mmcblk0p1...
[  OK  ] Listening on Load/Save RF Kill Switch Status /dev/rfkill Watch.
[  OK  ] Started File System Check on /dev/mmcblk0p1.
         Starting Load/Save RF Kill Switch Status...
         Mounting /boot...
[  OK  ] Mounted /boot.
[  OK  ] Started Load/Save RF Kill Switch Status.
[  OK  ] Reached target Local File Systems.
         Starting Tell Plymouth To Write Out Runtime Data...
         Starting LSB: AppArmor initialization...
         Starting Set console font and keymap...
         Starting Create Volatile Files and Directories...
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Create Volatile Files and Directories.
[  OK  ] Started LSB: AppArmor initialization.
         Starting Raise network interfaces...
         Starting Update UTMP about System Boot/Shutdown...
         Starting Network Time Synchronization...
[  OK  ] Started Set console font and keymap.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Reached target System Initialization.
[  OK  ] Started CUPS Scheduler.
[  OK  ] Reached target Paths.
[  OK  ] Listening on CUPS Scheduler.
[  OK  ] Listening on Avahi mDNS/DNS-SD Stack Activation Socket.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Listening on UUID daemon activation socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
         Starting Initialize hardware monitoring sensors...
         Starting Modem Manager...
[  OK  ] Started Avahi DNS Configuration Daemon.
         Starting Avahi mDNS/DNS-SD Stack...
         Starting SSHGuard...
[  OK  ] Started Regular background program processing daemon.
         Starting LSB: triggerhappy hotkey daemon...
         Starting System Logging Service...
         Starting LSB: Speech Dispatcher...
         Starting SSH key generation on first startup...
[  OK  ] Started CUPS Scheduler.
         Starting LSB: Set the CPU Frequency Scaling governor to "ondemand"...
[  OK  ] Started D-Bus System Message Bus.
[  OK  ] Started Avahi mDNS/DNS-SD Stack.
[  OK  ] Started Make remote CUPS printers available locally.
         Starting Prefer timesyncd over ntpd...
         Starting Save/Restore Sound Card State...
         Starting Restore /etc/resolv.conf i...re the ppp link was shut down...
         Starting LSB: Record successful boot for GRUB...
         Starting Permit User Sessions...
         Starting Network Manager...
         Starting rng-tools.service...
         Starting Login Service...
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started Daily apt activities.
[  OK  ] Started Run anacron jobs.
[  OK  ] Started Run certbot twice daily.
[  OK  ] Reached target Timers.
[  OK  ] Created slice system-getty.slice.
[  OK  ] Started System Logging Service.
[  OK  ] Started SSHGuard.
[  OK  ] Started SSH key generation on first startup.
[  OK  ] Started Prefer timesyncd over ntpd.
[  OK  ] Started Restore /etc/resolv.conf if...fore the ppp link was shut down.
[  OK  ] Started LSB: Record successful boot for GRUB.
[  OK  ] Started Permit User Sessions.
[  OK  ] Started rng-tools.service.
[  OK  ] Started Initialize hardware monitoring sensors.
[  OK  ] Started Save/Restore Sound Card State.
[  OK  ] Started Raise network interfaces.
[  OK  ] Started LSB: triggerhappy hotkey daemon.
[  OK  ] Started LSB: Speech Dispatcher.
[  OK  ] Started LSB: Set the CPU Frequency Scaling governor to "ondemand".
[  OK  ] Started Network Manager.
[  OK  ] Started Login Service.
         Starting Network Manager Script Dispatcher Service...
         Starting Network Manager Wait Online...
[  OK  ] Stopped LSB: Start NTP daemon.
         Starting Authenticate and Authorize Users to Run Privileged Tasks...
[  OK  ] Reached target Network.
         Starting MySQL Community Server...
[  OK  ] Started Unattended Upgrades Shutdown.
         Starting LSB: lm-sensors daemon...
         Starting OpenBSD Secure Shell server...
[  OK  ] Started Network Manager Script Dispatcher Service.
[  OK  ] Started OpenBSD Secure Shell server.
[  OK  ] Started LSB: lm-sensors daemon.
[  OK  ] Started Authenticate and Authorize Users to Run Privileged Tasks.
[  OK  ] Started Modem Manager.
         Starting Hostname Service...
[  OK  ] Started Hostname Service.
         Starting WPA supplicant...
[  OK  ] Started WPA supplicant.
[  OK  ] Started MySQL Community Server.
[  OK  ] Stopped LSB: Start NTP daemon.
[  OK  ] Started Network Manager Wait Online.
[  OK  ] Reached target Network is Online.
         Starting LSB: Start Tomcat....
         Starting /etc/rc.local Compatibility...
         Starting LSB: Apache2 web server...
         Starting LSB: disk temperature monitoring daemon...
         Starting LSB: A self-hosted Git service written in Go....
[  OK  ] Started LSB: disk temperature monitoring daemon.
[  OK  ] Started LSB: A self-hosted Git service written in Go..
[  OK  ] Started OpenBSD Secure Shell server.
[   17.502331] rc.local[934]: Starting ssh (via systemctl): ssh.service.
[  OK  ] Started LSB: Apache2 web server.
[  OK  ] Started LSB: Start Tomcat..
[  OK  ] Created slice User Slice of zlr.
         Starting User Manager for UID 1000...
[  OK  ] Started Session c1 of user zlr.
[  OK  ] Started User Manager for UID 1000.
         Starting Cleanup of Temporary Directories...
[  OK  ] Started Cleanup of Temporary Directories.

And no login interface show to me. What should I do to login system with serial console?

ps:
ubuntu for raspberry pi can login with serial console,what’s the different between ubuntu and ubuntu mate for rapsberry pi?

Something is messing with that stage of the boot process.

Boot into the Live CD, mount your Pi system partition and manually delete the contents of /tmp.
Do not delete the contents of /var/tmp – boot is not trying to delete anything from that directory.

Try to boot normally again.

Live CD? There is no such option in raspberry pi. And why try to delete contents of /tmp?
ps:currently , the system runs ok but no login box in serial console

I apologize. I have no knowledge of how the Pi functions and just assumed a complete similarity to a normal PC. The above just read as the boot process halting during the cleanup of temporary files (a normal boot process on a PC) and went along with my assumption.

Disregard my post.