Linux-2.6.14 transplant: NET: Registered protocol family 1 stuck

Publisher:Xiaohan521Latest update time:2016-03-02 Source: eefocusKeywords:linux-2.6.14 Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere
After modifying the kernel source code and adding the yaffs source code, I started make and the following error occurred:
U-Boot 1.1.6 (Mar 21 2012 - 07:03:29)


DRAM:  64 MB
Flash:  2 MB
NAND:  256 MiB
*** Warning - bad CRC or NAND, using default environment


In:    serial
Out:   serial
Err:   serial
Hit any key to stop autoboot:  0 


NAND read: device 0 offset 0x240000, size 0x200000
 2097152 bytes read: OK
## Booting from zImage at 30008000 ---by ce123


Starting kernel ...


Uncompressing Linux...................................................................................... done, booting the kernel.
Linux version 2.6.14 (root@czu) (gcc version 3.4.1) #2 Wed Dec 19 22:34:57 CST 2012

CPU: ARM920Tid(wb) [41129200] revision 0 (ARMv4T)
Machine: SMDK2440
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C2440: core 405.600 MHz, memory 101.400 MHz, peripheral 50.700 MHz
S3C2410 Clocks, (c) 2004 Simtec Electronics
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
CPU0: D VIVT write-back cache
CPU0: I cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
CPU0: D cache: 16384 bytes, associativity 64, 32 byte lines, 8 sets
Built 1 zonelists
Kernel command line: noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
irq: clearing pending ext status 00000200
irq: clearing subpending status 00000002
PID hash table entries: 512 (order: 9, 8192 bytes)
timer tcon=00500000, tcnt a509, tcfg 00000200,00000000, usec 00001e4c
Console: colour dummy device 80x30
Dentry cache hash table entries: 16384 (order: 4, 65536 bytes)
Inode-cache hash table entries: 8192 (order: 3, 32768 bytes)
Memory: 64MB = 64MB total
Memory: 62080KB available (2210K code, 453K data, 104K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
softlockup thread 0 started up.
NET: Registered protocol family 16
S3C2410 Power Management, (c) 2004 Simtec Electronics
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C2440: Clock Support, UPLL 48.000 MHz, DVS off
S3C2410 DMA Driver, (c) 2003-2004 Simtec Electronics
DMA channel 0 at c4800000, irq 33
DMA channel 1 at c4800040, irq 34
DMA channel 2 at c4800080, irq 35
DMA channel 3 at c48000c0, irq 36
NetWinder Floating Point Emulator V0.97 (double precision)
JFFS version 1.0, (C) 1999, 2000  Axis Communications AB
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
yaffs Dec 19 2012 20:52:49 Installing. 
lp: driver loaded but no devices found
S3C2410 RTC, (c) 2004 Simtec Electronics
ppdev: user-space parallel port driver
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing enabled
s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
loop: loaded (max 8 devices)
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
BAST NOR-Flash Driver, (c) 2004 Simtec Electronics
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2410-nand: mapped registers at c4a00000
s3c2410-nand: timing: Tacls 20ns, Twrph0 60ns, Twrph1 20ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0xda (Samsung NAND 256MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 1945 at 0x0f320000
Creating 3 MTD partitions on "NAND 256MiB 3,3V 8-bit":
0x00000000-0x00080000 : "Board_uboot"
0x00240000-0x00440000 : "Board_kernel"
0x00440000-0x0ff80000 : "Board_yaffs2"
mice: PS/2 mouse device common for all mice
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 99 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
NET: Registered protocol family 2
IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
TCP established hash table entries: 4096 (order: 2, 16384 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
TCP reno registered
TCP bic registered
NET: Registered protocol family 1(停在这有3-5分钟,之后才输出后面的信息)
VFS: Mounted root (jffs filesystem).
Freeing init memory: 104K
Warning: unable to open an initial console.
Failed to execute /linuxrc.  Attempting defaults...
Kernel panic - not syncing: No init found.  Try passing init= option to kernel.
 
From the information behind the red line, we can see that VFS is installing the jffs file system, but we want to install the yaffs2 file system. This is where the problem lies.
Make menuconfig, remove jffs! The difficulty of this problem is that the information behind the red will take a long time to appear, and it is difficult to locate the error without looking at the information behind!
Keywords:linux-2.6.14 Reference address:Linux-2.6.14 transplant: NET: Registered protocol family 1 stuck

Previous article:linux-2.6.14 Mount NFS file system
Next article:Linux kernel compilation error

Recommended ReadingLatest update time:2024-11-16 21:38

Knowledge of I2C (VI) -- S3C2440 uses I2C interface to access EEPROM
        After reading and understanding the official I2C protocol document, let's use s3c2440 and EEPROM to verify it.         I originally wanted to use the SDA and SCL pins of s3c2440 to multiplex as GPIO to simulate, but I couldn't figure it out after a week without an oscilloscope, so I gave up in the end. I even
[Microcontroller]
Knowledge of I2C (VI) -- S3C2440 uses I2C interface to access EEPROM
Understanding of S3C2440 clock settings
Understanding of S3C2440 clock settings 1) Relationship between FLCK, HCLK and PCLK S3C2440 has three clocks: FLCK, HCLK and PCLK The manual says P7-8: FCLK is used by ARM920T, core clock, main frequency. HCLK is used for AHB bus, which is used by the ARM920T, the memory controller, the interrupt controller, t
[Microcontroller]
Understanding of S3C2440 clock settings
S3C2440 Mini 2440 DMA mode to achieve Uart (serial port) communication
After a long time, I finally completed the DMA method to realize serial communication. Using DMA is not very difficult, but the configuration of DCONn is more complicated and the understanding of several modes is more difficult.   DMA service mode: single service & whole service. In the former mode, a DMA request co
[Microcontroller]
How to use ARM serial port (UART) (S3C2440)
UART Overview Universal Asynchronous Receiver and Transmitter (UART) Working mode: serial, full-duplex. Only 3 wires are needed: TXD (transmit data), RXD (receive data), GND. Data transmission process: It was originally high level (idle state) The sender pulls the level low and holds it for 1 bit, which is the sta
[Microcontroller]
How to use ARM serial port (UART) (S3C2440)
s3c2440 stack allocation (fl2440 bare metal stack)
//2440INIT.S ;The location of stacks UserStack EQU (_STACK_BASEADDRESS-0x3800) ;0x33ff4800 ~ SVCStack EQU (_STACK_BASEADDRESS-0x2800) ;0x33ff5800 ~ UndefStack EQU (_STACK_BASEADDRESS-0x2400) ;0x33ff5c00 ~ AbortStack EQU (_STACK_BASEADDRESS-0x2000) ;0x33ff6000 ~ IRQStack EQU (_STACK_BASEADDRESS-0x1000) ;0x33ff7000 ~
[Microcontroller]
s3c2440 SDRAM
SDRAM (Synchronous Dynamic Random Access Memory) is also commonly referred to as memory. Memory is the execution space of code. Taking a PC as an example, the program is stored in the hard disk in the form of a file. The program is loaded into the memory by the operating system before running. Since the memory is RA
[Microcontroller]
s3c2440 SDRAM
S3C2440 naked SDRAM
First install ADS1.2, which is mainly used to compile and debug programs for ARM processors. All the source programs below will be compiled by ADS and eventually linked into executable files, i.e. .bin files. The following program mainly initializes SDRAM first, then jumps the program to SDRAM and lights up 4 LEDs.
[Microcontroller]
s3c2440 LCD screen driver (built-in kernel) linux-4.1.24
It comes with some driver configuration information. Just modify this part to support different LCD screens - /arch/arm/mach-s3c24xx/mach-smdk2440.c The other part is in /drivers/video/fbdev/s3c2410fb.c First turn on the debugging function so that the kernel can output this information when it starts, or use dmesg
[Microcontroller]
s3c2440 LCD screen driver (built-in kernel) linux-4.1.24
Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号