linux-4.9 核心 debain 8 (jessie)
Starting kernel ...
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.39 ([email protected]) (gcc version 4.7.3 (Ubuntu/Linaro 4.7.3-12ubuntu1) ) #19 SMP Tue Oct 17 21:08:10 CST 2017
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt:Machine model: author linshenghuan
[ 0.000000] cma: Reserved 16 MiB at 0x9e800000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (sgx neon)
[ 0.000000] percpu: Embedded 15 pages/cpu @dfdbd000 s31936 r8192 d21312 u61440
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129412
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=ubi0:rootfs ubi.mtd=5,2048 rootfstype=ubifs rw rootwait=1
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 481516K/522240K available (6144K kernel code, 715K rwdata, 2260K rodata, 1024K init, 8062K bss, 24340K reserved, 16384K 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 - 0xdfe00000 ( 510 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0700000 (7136 kB)
[ 0.000000] .init : 0xc0a00000 - 0xc0b00000 (1024 kB)
[ 0.000000] .data : 0xc0b00000 - 0xc0bb2d34 ( 716 kB)
[ 0.000000] .bss : 0xc0bb4000 - 0xc1393aa8 (8063 kB)
[ 0.000000] Running RCU self tests
[ 0.000000] Hierarchical RCU implementation.
[ 0.000000] RCU lockdep checking is enabled.
[ 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.000020] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000044] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000093] OMAP clocksource: timer1 at 24000000 Hz
[ 0.000606] clocksource_probe: no matching clocksources found
[ 0.001580] Console: colour dummy device 80x30
[ 0.001645] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[ 0.001655] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 0.001663] ... MAX_LOCK_DEPTH: 48
[ 0.001671] ... MAX_LOCKDEP_KEYS: 8191
[ 0.001678] ... CLASSHASH_SIZE: 4096
[ 0.001686] ... MAX_LOCKDEP_ENTRIES: 32768
[ 0.001693] ... MAX_LOCKDEP_CHAINS: 65536
[ 0.001700] ... CHAINHASH_SIZE: 32768
[ 0.001708] memory used by lock dependency info: 5167 kB
[ 0.001716] per task-struct memory footprint: 1536 bytes
[ 0.001754] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[ 0.078667] pid_max: default: 32768 minimum: 301
[ 0.079183] Security Framework initialized
[ 0.079330] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.079343] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.083142] CPU: Testing write buffer coherency: ok
[ 0.084789] CPU0: thread -1, cpu 0, socket -1, mpidr 0
[ 0.084874] Setting up static identity map for 0x80100000 - 0x80100070
[ 0.092611] Brought up 1 CPUs
[ 0.092641] SMP: Total of 1 processors activated (996.14 BogoMIPS).
[ 0.092652] CPU: All CPU(s) started in SVC mode.
[ 0.096975] devtmpfs: initialized
[ 0.139862] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.140793] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.140861] futex hash table entries: 256 (order: 2, 16384 bytes)
[ 0.142927] pinctrl core: initialized pinctrl subsystem
[ 0.148090] NET: Registered protocol family 16
[ 0.154499] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.202549] omap_hwmod: debugss: _wait_target_disable failed
[ 0.258956] cpuidle: using governor ladder
[ 0.258985] cpuidle: using governor menu
[ 0.277470] OMAP GPIO hardware version 0.1
[ 0.318529] omap-gpmc 50000000.gpmc: could not find pctldev for node /ocp/
[ 0.321781] No ATAGs?
[ 0.321805] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.322042] omap4_sram_init:Unable to allocate sram needed to handle errata I688
[ 0.322057] omap4_sram_init:Unable to get sram pool needed to handle errata I688
[ 0.362434] edma 49000000.edma: TI EDMA DMA engine driver
[ 0.366638] SCSI subsystem initialized
[ 0.367368] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/
[ 0.367630] pps_core: LinuxPPS API ver. 1 registered
[ 0.367641] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <[email protected]>
[ 0.367693] PTP clock support registered
[ 0.372652] clocksource: Switched to clocksource timer1
[ 0.483783] NET: Registered protocol family 2
[ 0.485823] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.485927] TCP bind hash table entries: 4096 (order: 5, 147456 bytes)
[ 0.487278] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.487512] UDP hash table entries: 256 (order: 2, 20480 bytes)
[ 0.487705] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes)
[ 0.488614] NET: Registered protocol family 1
[ 0.492123] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[ 0.497294] audit: initializing netlink subsys (disabled)
[ 0.497655] audit: type=2000 audit(0.490:1): initialized
[ 0.501720] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 0.513359] io scheduler noop registered
[ 0.513390] io scheduler deadline registered
[ 0.513528] io scheduler cfq registered (default)
[ 0.515675] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.518851] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[ 0.535552] omap_uart 44e09000.serial: no wakeirq for uart0
[ 0.536312] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a OMAP UART0
[ 1.179538] console [ttyO0] enabled
[ 1.185227] omap_uart 48022000.serial: no wakeirq for uart1
[ 1.191455] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 159, base_baud = 3000000) is a OMAP UART1
[ 1.202852] omap_uart 48024000.serial: no wakeirq for uart2
[ 1.209034] 48024000.serial: ttyO2 at MMIO 0x48024000 (irq = 160, base_baud = 3000000) is a OMAP UART2
[ 1.220231] omap_uart 481a6000.serial: no wakeirq for uart3
[ 1.226500] 481a6000.serial: ttyO3 at MMIO 0x481a6000 (irq = 161, base_baud = 3000000) is a OMAP UART3
[ 1.237677] omap_uart 481a8000.serial: no wakeirq for uart4
[ 1.243942] 481a8000.serial: ttyO4 at MMIO 0x481a8000 (irq = 162, base_baud = 3000000) is a OMAP UART4
[ 1.255101] omap_uart 481aa000.serial: no wakeirq for uart5
[ 1.261279] 481aa000.serial: ttyO5 at MMIO 0x481aa000 (irq = 163, base_baud = 3000000) is a OMAP UART5
[ 1.313357] brd: module loaded
[ 1.342140] loop: module loaded
[ 1.347865] mtdoops: mtd device (mtddev=name/number) must be supplied
[ 1.361978] m25p80 spi1.0: found at25df321a, expected m25p80
[ 1.368687] m25p80 spi1.0: at25df321a (4096 Kbytes)
[ 1.373992] 5 ofpart partitions found on MTD device spi1.0
[ 1.379721] Creating 5 MTD partitions on "spi1.0":
[ 1.384781] 0x000000000000-0x000000020000 : "SPL"
[ 1.397217] 0x000000020000-0x000000080000 : "U-BOOT"
[ 1.407143] 0x000000080000-0x000000090000 : "ENV1"
[ 1.416777] 0x000000090000-0x0000000a0000 : "dtb"
[ 1.426017] 0x0000000a0000-0x000000400000 : "kernel"
[ 1.437822] libphy: Fixed MDIO Bus: probed
[ 1.512711] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 1.519096] davinci_mdio 4a101000.mdio: detected phy mask fffffffa
[ 1.531563] libphy: 4a101000.mdio: probed
[ 1.535950] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver Atheros 8031 ethernet
[ 1.545618] davinci_mdio 4a101000.mdio: phy[2]: device 4a101000.mdio:02, driver Atheros 8031 ethernet
[ 1.556772] cpsw 4a100000.ethernet: Missing dual_emac_res_vlan in DT.
[ 1.563623] cpsw 4a100000.ethernet: Using 1 as Reserved VLAN for 0 slave
[ 1.570737] cpsw 4a100000.ethernet: Missing dual_emac_res_vlan in DT.
[ 1.577506] cpsw 4a100000.ethernet: Using 2 as Reserved VLAN for 1 slave
[ 1.584536] cpsw 4a100000.ethernet: Detected MACID = 98:5d:ad:dc:87:1a
[ 1.596372] cpsw 4a100000.ethernet: cpsw: Detected MACID = 98:5d:ad:dc:87:1c
[ 1.607363] PPP generic driver version 2.4.2
[ 1.613232] i2c /dev entries driver
[ 1.673812] oprofile: using arm/armv7
[ 1.678526] Initializing XFRM netlink socket
[ 1.683326] NET: Registered protocol family 17
[ 1.688059] NET: Registered protocol family 15
[ 1.692764] 8021q: 802.1Q VLAN Support v1.8
[ 1.697738] Key type dns_resolver registered
[ 1.702398] omap_voltage_late_init: Voltage driver support not added
[ 1.709122] sr_dev_init: No voltage domain specified for smartreflex0. Cannot initialize
[ 1.717602] sr_dev_init: No voltage domain specified for smartreflex1. Cannot initialize
[ 1.726826] ThumbEE CPU extension supported.
[ 1.731330] Registering SWP/SWPB emulation handler
[ 1.736408] SmartReflex Class3 initialized
[ 1.768131] omap-gpmc 50000000.gpmc: GPMC revision 6.0
[ 1.773976] gpmc_mem_init: disabling cs 0 mapped at 0x0-0x1000000
[ 1.786127] nand: device found, Manufacturer ID: 0x2c, Chip ID: 0xdc
[ 1.792877] nand: Micron MT29F4G08ABADAWP
[ 1.797058] nand: 512 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[ 1.805082] nand: using OMAP_ECC_BCH8_CODE_HW ECC scheme
[ 1.810770] 1 ofpart partitions found on MTD device omap2-nand.0
[ 1.817089] Creating 1 MTD partitions on "omap2-nand.0":
[ 1.822676] 0x000000000000-0x000020000000 : "rootfs"
[ 2.040973] 11000000.uart: ttyS0 at MMIO 0x11000000 (irq = 35, base_baud = 115200) is a 16550A
[ 2.054663] 11000008.uart: ttyS1 at MMIO 0x11000008 (irq = 36, base_baud = 115200) is a 16550A
[ 2.067448] 11000010.uart: ttyS2 at MMIO 0x11000010 (irq = 37, base_baud = 115200) is a 16550A
[ 2.080215] 11000018.uart: ttyS3 at MMIO 0x11000018 (irq = 38, base_baud = 115200) is a 16550A
[ 2.093142] 11000020.uart: ttyS4 at MMIO 0x11000020 (irq = 35, base_baud = 115200) is a 16550A
[ 2.106864] 11000028.uart: ttyS5 at MMIO 0x11000028 (irq = 36, base_baud = 115200) is a 16550A
[ 2.119587] 11000030.uart: ttyS6 at MMIO 0x11000030 (irq = 37, base_baud = 115200) is a 16550A
[ 2.132274] 11000038.uart: ttyS7 at MMIO 0x11000038 (irq = 38, base_baud = 115200) is a 16550A
[ 2.145130] 11000040.uart: ttyS8 at MMIO 0x11000040 (irq = 35, base_baud = 115200) is a 16550A
[ 2.157734] 11000048.uart: ttyS9 at MMIO 0x11000048 (irq = 36, base_baud = 115200) is a 16550A
[ 2.170337] 11000050.uart: ttyS10 at MMIO 0x11000050 (irq = 37, base_baud = 115200) is a 16550A
[ 2.183267] 11000058.uart: ttyS11 at MMIO 0x11000058 (irq = 38, base_baud = 115200) is a 16550A
[ 2.196189] 11000060.uart: ttyS12 at MMIO 0x11000060 (irq = 35, base_baud = 115200) is a 16550A
[ 2.208939] 11000068.uart: ttyS13 at MMIO 0x11000068 (irq = 36, base_baud = 115200) is a 16550A
[ 2.221654] 11000070.uart: ttyS14 at MMIO 0x11000070 (irq = 37, base_baud = 115200) is a 16550A
[ 2.234780] 11000078.uart: ttyS15 at MMIO 0x11000078 (irq = 38, base_baud = 115200) is a 16550A
[ 2.246791] 10000008.ethernet supply vcc not found, using dummy regulator
[ 2.257373] dm9000 10000008.ethernet: eth2: Invalid ethernet MAC address. Please set using ip
[ 2.266424] eth2: dm9000b at e0281008,e0283028 IRQ 116 MAC: 16:81:75:cf:99:5f (random)
[ 2.275972] 10800010.ethernet supply vcc not found, using dummy regulator
[ 2.285768] dm9000 10800010.ethernet: eth3: Invalid ethernet MAC address. Please set using ip
[ 2.294788] eth3: dm9000b at e0285010,e0287030 IRQ 115 MAC: f2:0c:50:70:24:91 (random)
[ 2.337143] random: fast init done
[ 2.356948] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[ 2.362777] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 2.370316] ubi0: attaching mtd5
[ 4.435923] ubi0: scanning is finished
[ 4.461014] ubi0: attached mtd5 (name "rootfs", size 512 MiB)
[ 4.467181] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[ 4.474388] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 512
[ 4.481383] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[ 4.488678] ubi0: good PEBs: 4096, bad PEBs: 0, corrupted PEBs: 0
[ 4.495058] ubi0: user volume: 1, internal volumes: 1, max. volumes count: 128
[ 4.502625] ubi0: max/mean erase counter: 4/2, WL threshold: 4096, image sequence number: 99566030
[ 4.511979] ubi0: available PEBs: 48, total reserved PEBs: 4048, PEBs reserved for bad PEB handling: 80
[ 4.523010] hctosys: unable to open rtc device (rtc0)
[ 4.528307] sr_init: No PMIC hook to init smartreflex
[ 4.533940] sr_init: platform driver register failed for SR
[ 4.540540] vmmcsd_fixed: disabling
[ 4.545296] ubi0: background thread "ubi_bgt0d" started, PID 69
[ 4.562876] UBIFS (ubi0:0): background thread "ubifs_bgt0_0" started, PID 70
[ 4.594008] UBIFS (ubi0:0): recovery needed
[ 4.673455] UBIFS (ubi0:0): recovery completed
[ 4.678658] UBIFS (ubi0:0): UBIFS: mounted UBI device 0, volume 0, name "rootfs"
[ 4.686484] UBIFS (ubi0:0): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes
[ 4.696884] UBIFS (ubi0:0): FS size: 501301248 bytes (478 MiB, 3948 LEBs), journal size 25141248 bytes (23 MiB, 198 LEBs)
[ 4.708354] UBIFS (ubi0:0): reserved for root: 4952683 bytes (4836 KiB)
[ 4.715292] UBIFS (ubi0:0): media format: w4/r0 (latest is w4/r0), UUID FE1B1D19-7CD0-4CB0-9614-2D941994A8E4, small LPT model
[ 4.728815] VFS: Mounted root (ubifs filesystem) on device 0:14.
[ 4.739341] devtmpfs: mounted
[ 4.744963] Freeing unused kernel memory: 1024K (c0a00000 - c0b00000)
[ 5.074745] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[ 5.091000] systemd[1]: Detected architecture 'arm'.
Welcome to Debian GNU/Linux 8 (jessie)!
[ 5.154295] systemd[1]: Failed to insert module 'ipv6'
[ 5.163576] systemd[1]: Set hostname to <root>.
[ 5.947132] systemd[1]: Cannot add dependency job for unit dbus.socket, ignoring: Unit dbus.socket failed to load: No such file or directory.
[ 5.960821] systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory.
[ 5.987200] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[ 5.997993] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[ 6.006428] systemd[1]: Expecting device dev-ttyO0.device...
Expecting device dev-ttyO0.device...
[ 6.043009] systemd[1]: Starting Remote File Systems (Pre).
[ OK ] Reached target Remote File Systems (Pre).
[ OK ] Reached target Paths.
[ OK ] Set up automount Arbitrary Executable File Formats F...utomount Point.
[ OK ] Reached target Encrypted Volumes.
[ OK ] Reached target Swap.
[ OK ] Created slice Root Slice.
[ OK ] Created slice User and Session Slice.
[ OK ] Listening on /dev/initctl Compatibility Named Pipe.
[ OK ] Listening on Delayed Shutdown Socket.
[ OK ] Listening on Journal Socket (/dev/log).
[ OK ] Listening on udev Control Socket.
[ OK ] Listening on udev Kernel Socket.
[ OK ] Listening on Journal Socket.
[ OK ] Reached target Sockets.
[ OK ] Created slice System Slice.
[ OK ] Created slice system-getty.slice.
[ OK ] Created slice system-serial\x2dgetty.slice.
Mounting POSIX Message Queue File System...
Starting Create Static Device Nodes in /dev...
Starting udev Coldplug all Devices...
Mounting Debug File System...
Starting Load Kernel Modules...
Starting Journal Service...
[ OK ] Started Journal Service.
[ OK ] Reached target Slices.
Starting Remount Root and Kernel File Systems...
[ OK ] Mounted Debug File System.
[ OK ] Mounted POSIX Message Queue File System.
[ OK ] Started Create Static Device Nodes in /dev.
[ OK ] Started Load Kernel Modules.
[ OK ] Started Remount Root and Kernel File Systems.
Starting Load/Save Random Seed...
Mounting Configuration File System...
Starting Apply Kernel Variables...
Starting udev Kernel Device Manager...
[ OK ] Reached target Local File Systems (Pre).
[ OK ] Reached target Local File Systems.
[ OK ] Reached target Remote File Systems.
Starting Trigger Flushing of Journal to Persistent Storage...
Starting Create Volatile Files and Directories...
[ OK ] Mounted Configuration File System.
[ 8.202059] systemd-udevd[104]: starting version 215
[ OK ] Started udev Kernel Device Manager.
[ OK ] Started udev Coldplug all Devices.
[ OK ] Started Load/Save Random Seed.
[ OK ] Started Apply Kernel Variables.
[ 8.590026] systemd-journald[91]: Received request to flush runtime journal from PID 1
[ OK ] Started Trigger Flushing of Journal to Persistent Storage.
[ OK ] Started Create Volatile Files and Directories.
Starting Update UTMP about System Boot/Shutdown...
Starting LSB: Raise network interfaces....
Starting Copy rules generated while the root was ro...
[ OK ] Found device /dev/ttyO0.
[ OK ] Started Copy rules generated while the root was ro.
[FAILED] Failed to start Update UTMP about System Boot/Shutdown.
See 'systemctl status systemd-update-utmp.service' for details.
[DEPEND] Dependency failed for Update UTMP about System Runlevel Changes.
[ OK ] Started LSB: Raise network interfaces..
[ OK ] Reached target Network.
[ OK ] Reached target System Initialization.
[ OK ] Reached target Timers.
[ OK ] Reached target Basic System.
Starting OpenBSD Secure Shell server...
[ OK ] Started OpenBSD Secure Shell server.
Starting Restore /etc/resolv.conf if the system cras...s shut down....
Starting /etc/rc.local Compatibility...
Starting getty on tty2-tty6 if dbus and logind are not available...
Starting Permit User Sessions...
[ OK ] Started Restore /etc/resolv.conf if the system crash...was shut down..
[ OK ] Started /etc/rc.local Compatibility.
[ OK ] Started Permit User Sessions.
Starting Getty on tty2...
[ OK ] Started Getty on tty2.
Starting Getty on tty1...
[ OK ] Started Getty on tty1.
Starting Serial Getty on ttyO0...
[ OK ] Started Serial Getty on ttyO0.
[ OK ] Started getty on tty2-tty6 if dbus and logind are not available.
Starting Getty on tty6...
[ OK ] Started Getty on tty6.
Starting Getty on tty5...
[ OK ] Started Getty on tty5.
Starting Getty on tty4...
[ OK ] Started Getty on tty4.
Starting Getty on tty3...
[ OK ] Started Getty on tty3.
[ OK ] Reached target Login Prompts.
[ OK ] Reached target Multi-User System.
[ OK ] Reached target Graphical Interface.
Debian GNU/Linux 8 root ttyO0
root login:
相關推薦
linux-4.9 核心 debain 8 (jessie)
Starting kernel ... [ 0.000000] Booting Linux on physical CPU 0x0 [ 0.000000] Linux version 4.9.39 ([email protected]) (gcc version 4.7.3 (Ubun
學習Linux-4.12核心網路協議棧(1.8)——網路裝置驅動模組的載入
1.瞭解PCI匯流排 說到網路裝置驅動,就不得不說PCI匯流排,但是這個話題可深可淺,而且網上的資料也是一大堆(比如),但是對於我們來說,目前並不需要掌握很深,下面是網上找的兩張最基本的PCI工作結構圖,雖然PCI總線上可以掛接不同種類的裝置,但我們這裡只要瞭解網路裝置就夠
移植最新的核心linux-4.9到開發板JZ2440全過程筆記
移植最新的核心:linux-4.9 實驗工具: 開發板: JZ2440 移植核心: linux-4.9 下載地址:https://www.kernel.org/pub/linux/kernel/v4.x/linux-4.9.tar.gz 交叉編譯器:4.4.3 下載地址:http://download
《linux裝置驅動開發》,基於最新的linux 4.0核心-----筆記
第二章 Linux 的核心結構及構建 ---->這一章是自己總結的 1、核心結構(主要是下面這幾個部分) 系統呼叫介面<–>System call interface 程序管理<------>Process manag
如何在Linux 4.12核心新增系統呼叫
轉發:http://blog.csdn.net/qq_34911465/article/details/74840024 基本情況 系統版本:CentOS Linux 7 核心版本:linux-4.12 準備操作 1.下載並且解壓開啟資料夾 2.進入資料夾後進入系統呼叫
Linux 4 15核心TCP的重傳佇列變成紅黑樹了
分享一下我老師大神的人工智慧教程!零基礎,通俗易懂!http://blog.csdn.net/jiangjunshow 也歡迎大家轉載本篇文章。分享知識,造福人民,實現我們中華民族偉大復興!  
Linux裝置驅動開發詳解 第3版 (即 Linux裝置驅動開發詳解 基於最新的Linux 4 0核心 )進展同步更
本博實時更新《Linux裝置驅動開發詳解(第3版)》的最新進展。 目前已經完成稿件。 2015
Linux 4.1核心熱補丁成功實踐
最開始公司運維同學反饋,個別宿主機上存在程序CPU峰值使用率異常的現象。而數萬臺機器中只出現了幾例,也就是說萬分之幾的概率。監控產生的些小誤差,不會造成宕機等嚴重後果,很容易就此被忽略了。但我們考慮到這個異常轉瞬即逝、並不易被察覺,可能還存在更多這樣的機器,又或者現在正常將來
Linux 4.7核心針對syncookie效能所做的優化
由於端午節加班攢了兩天調休,週四,五就申請休假了,剛申請下來調休,老婆突然就決定帶著小小西北行了,週五出發,這次是去環青海…休假本為了放鬆,卻成了坑。週四先是去看了《加勒比海盜5》,然後我就覺得這假期不該申請,於公於私我都是政治不正確…其實我想說的是,休假比上班累很多
Linux 4 7核心針對syncookie效能所做的優化
由於端午節加班攢了兩天調休,週四,五就申請休假了,剛申請下來調休,老婆突然就決定帶著小小西北行了,週五出發,這次是去環青海…休假本為了放鬆,卻成了坑。週四先是去看了《加勒比海盜5》,然後我就覺得這假期不該申請,於公於私我都是政治不正確…其實我想說的是,休假比上班累很多!工作日在家裡忍耐老婆拖把在手,抱怨
Linux 4 6核心對TCP REUSEPORT的優化
繁忙了一整天,下班回家總會有些許輕鬆,這是肯定的。時間不等人,只要有剩餘的時間,就想來點自己喜歡的東西。下班的班車上,用手機那令人遺憾的螢幕目睹了Linux 4.6的一些新特性,讓我感興趣的有兩點,第一是關於reuseport的,這也是本文要闡釋的,另外一個是關於KCM(Kernel Connectio
學習Linux-4.12核心網路協議棧(1.6)——協議棧的初始化(inet_init實現過程)
這篇文章主要分析inet_init()函式的實現過程: 1796 static int __init inet_init(void) 1797 { 1798 struct inet_protosw *q; 1799 struct list_head *r;
學習Linux-4.12核心網路協議棧(1.7)——網路裝置的初始化(struct net_device)
在linux的網路裝置裡,其中一個最關鍵的結構體應該要算net_device了,它由對應的網路裝置驅動進行建立和初始化,服務於核心網路子系統。 1. struct net_device 註釋分析 struct net_device這個結構體比較大,在瞭解它之前,我們先看一下
學習Linux-4.12核心網路協議棧(2.1)——介面層加快傳輸速率的特性
前面花了好多篇幅,終於將網路協議棧的初始化相關的內容介紹完了,也就是說完成前面的那些步驟以後,網路協議棧具備了資料包的收發功能。在網路介面層,它只負責資料包的接收與傳送,而不關注資料包在網路層的型別是什麼,所以傳輸速率的快慢往往與介面層的處理有著密切的關係,下面我們來了解一下在提供傳輸速率上面,現在的核心都
學習Linux-4.12核心網路協議棧(2.2)——介面層資料包的接收(上半部)
前面寫了這麼多,終於可以開始分析資料報的傳輸過程了,那我們就愉快的開始吧! 我們知道,一箇中斷處理函式主要分兩個部分,上半部和下半部,這篇文章主要介紹上半部分。 當一個數據包到達的時候,網絡卡驅動會完成接收並且觸發中斷,我們就從這個中斷處理函式開始: 當一箇中斷產生併發送
學習Linux-4.12核心網路協議棧(1.5)——協議棧的初始化(inet_init主要資料結構)
前面瞭解到網路初始化申請了兩塊skb快取記憶體和建立了一個/proc/net/protocols檔案,現在開始重頭戲,網路協議棧的初始化。這篇文章主要介紹網路棧中使用到的主要資料結構。 網路協議棧的核心實現和理論上的分層有些不一樣,在程式碼裡面的分層如下圖: 開始前,
學習Linux-4.12核心網路協議棧(1.4)——協議棧的初始化(proto_init)
這篇文章主要分析proto_init過程,它完成協議相關proc檔案的建立 3241 static __net_initdata struct pernet_operations proto_net_ops = { 3242 .init = proto_init
學習Linux-4.12核心網路協議棧(3.1)——網路層的收包處理
現在我們將進入傳輸層的分析: 在前面我們知道,資料包到達介面層的時候,它會根據ptype_base來查詢包的型別,並根據包的型別交給不同的網路層函式處理,比如ip_recv,icmp_recv等,現在我們就來看看網路層是怎麼處理不同型別的包的: 1. IP私有資訊控制塊
關於召回《Linux裝置驅動開發詳解-基於最新的Linux 4.0核心》的通知
問題描述關於《Linux裝置驅動開發詳解:基於最新的Linux 4.0核心》一書1.華章分社在沒
【Linux】Linux裝置驅動開發詳解:基於最新的Linux 4.0核心
1 Linux裝置驅動概述及開發環境構建 1.1 裝置驅動的作用 驅使硬體裝置行動 1.2 無作業系統時的裝置驅動 典型架構:一個無限迴圈中夾雜著對裝置中斷的檢測或者對裝置的輪詢 1.3 有作業系統時的裝置驅動 併發 、記