透明水晶 2021-08-11 08:42 采纳率: 96.3%
浏览 102
已结题

nfs挂载最小根文件系统,无法找到rcS文件

问题1:can't run '/etc/init.d/rcS': No such file or directory
问题2:Please press Enter to activate this console.
id: unknown ID 0

运行LOG如下:

U-Boot 1.3.4 (Aug  5 2021 - 08:18:54) for x210@Flyer


CPU:  S5PV210@1000MHz(OK)
        APLL = 1000MHz, HclkMsys = 200MHz, PclkMsys = 100MHz
        MPLL = 667MHz, EPLL = 96MHz
                       HclkDsys = 166MHz, PclkDsys = 83MHz
                       HclkPsys = 133MHz, PclkPsys = 66MHz
                       SCLKA2M  = 200MHz
Serial = CLKUART
Board:   X210BV3S
DRAM:    512 MB
Flash:   8 MB
SD/MMC:  3728MB
In:      serial
Out:     serial
Err:     serial
[LEFT UP] boot mode
checking mode for fastboot ...
Hit any key to stop autoboot:  0
x210 #
x210 #
x210 # ifconfig
Unknown command 'ifconfig' - try 'help'
x210 # printenv
baudrate=115200
ethact=dm9000
ethaddr=00:40:5c:26:0a:5b
mtdpart=80000 400000 3000000
bootdelay=2
filesize=60000
fileaddr=C0008000
gatewayip=192.168.1.253
netmask=255.255.255.0
ipaddr=192.168.1.188
serverip=192.168.1.104
bootcmd=tftp 30008000 zImage;bootm 30008000
bootargs=init=/linuxrc  console=ttySAC2,115200  root=nfs  nfsroot=192.168.1.104:/opt/v210_rootfs  ip=192.168.1.188

Environment size: 379/16380 bytes
x210 # OK

U-Boot 1.3.4 (Aug  5 2021 - 08:18:54) for x210@Flyer


CPU:  S5PV210@1000MHz(OK)
        APLL = 1000MHz, HclkMsys = 200MHz, PclkMsys = 100MHz
        MPLL = 667MHz, EPLL = 96MHz
                       HclkDsys = 166MHz, PclkDsys = 83MHz
                       HclkPsys = 133MHz, PclkPsys = 66MHz
                       SCLKA2M  = 200MHz
Serial = CLKUART
Board:   X210BV3S
DRAM:    512 MB
Flash:   8 MB
SD/MMC:  3728MB
In:      serial
Out:     serial
Err:     serial
[LEFT UP] boot mode
checking mode for fastboot ...
Hit any key to stop autoboot:  0
dm9000 i/o: 0x88000300, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 00:40:5c:26:0a:5b
operating at 100M full duplex mode
TFTP from server 192.168.1.104; our IP address is 192.168.1.188
Filename 'zImage'.
Load address: 0x30008000
Loading: #######################################transmission timeout
T ###################T T #######
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ################transmission timeout
#################################################
         ######################################transmission timeout
T ###T ########################
         #################################################################
         #################################################################
         #################################################################
         ##
done
Bytes transferred = 3669940 (0x37ffb4)
Boot with zImage

Starting kernel ...



Hello, world 0.@Flyer

Uncompressing Linux... done, booting the kernel.
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Linux version 2.6.35.7+ (fly@fly-vm) (gcc version 4.4.1 (Sourcery G++ Lite 2009q3-67) ) #1 PREEMPT Tue Aug 10 00:00:34 CST 2021
[    0.000000] CPU: ARMv7 Processor [412fc082] revision 2 (ARMv7), cr=10c53c7f
[    0.000000] CPU: VIPT nonaliasing data cache, VIPT nonaliasing instruction cache
[    0.000000] Machine: SMDKV210
[    0.000000] @@@@@@@ atags_pointer not null
[    0.000000] @@@@@@@linter#####boot_params:c0000100,mdesc->boot_params:40000002
[    0.000000] Ignoring unrecognised tag 0x41001099
[    0.000000] $$$$$$$$$cmdline:init=/linuxrc  console=ttySAC2,115200  root=nfs  nfsroot=192.168.1.104:/opt/v210_rootfs  ip=192.168.1.188
[    0.000000] Memory policy: ECC disabled, Data cache writeback
[    0.000000] CPU S5PV210/S5PC110 (id 0x43110220)
[    0.000000] S3C24XX Clocks, Copyright 2004 Simtec Electronics
[    0.000000] S5PV210: PLL settings, A=1000000000, M=667000000, E=96000000 V=54000000
[    0.000000] S5PV210: ARMCLK=1000000000, HCLKM=200000000, HCLKD=166750000
[    0.000000] HCLKP=133400000, PCLKM=100000000, PCLKD=83375000, PCLKP=66700000
[    0.000000] sclk_dmc: source is sclk_a2m (0), rate is 200000000
[    0.000000] sclk_onenand: source is hclk_psys (0), rate is 66700000
[    0.000000] sclk: source is mout_mpll (6), rate is 66700000
[    0.000000] sclk: source is mout_mpll (6), rate is 66700000
[    0.000000] sclk: source is mout_mpll (6), rate is 66700000
[    0.000000] sclk: source is mout_mpll (6), rate is 66700000
[    0.000000] sclk_mixer: source is sclk_dac (0), rate is 24000000
[    0.000000] sclk_spdif: source is sclk_audio (0), rate is 24000000
[    0.000000] sclk_fimc: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_fimc: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_fimc: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_cam0: source is xusbxti (1), rate is 12000000
[    0.000000] sclk_cam1: source is ext_xtal (0), rate is 12000000
[    0.000000] sclk_fimd: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_mmc: source is mout_mpll (6), rate is 47642857
[    0.000000] sclk_mmc: source is mout_epll (7), rate is 96000000
[    0.000000] sclk_mmc: source is mout_mpll (6), rate is 47642857
[    0.000000] sclk_mmc: source is mout_epll (7), rate is 96000000
[    0.000000] sclk_mfc: source is sclk_a2m (0), rate is 200000000
[    0.000000] sclk_g2d: source is sclk_a2m (0), rate is 200000000
[    0.000000] sclk: source is sclk_a2m (0), rate is 100000000
[    0.000000] sclk_csis: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_spi: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_spi: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_pwi: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_pwm: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_mdnie: source is ext_xtal (0), rate is 24000000
[    0.000000] sclk_mdnie_pwm: source is ext_xtal (0), rate is 24000000
[    0.000000] s5pv210: 37748736 bytes system memory reserved for mfc at 0x30c0a000
[    0.000000] s5pv210: 37748736 bytes system memory reserved for mfc at 0x40000000
[    0.000000] s5pv210: 25165824 bytes system memory reserved for fimc0 at 0x42400000
[    0.000000] s5pv210: 10137600 bytes system memory reserved for fimc1 at 0x43c00000
[    0.000000] s5pv210: 25165824 bytes system memory reserved for fimc2 at 0x445ab000
[    0.000000] s5pv210: 25165824 bytes system memory reserved for jpeg at 0x45dab000
[    0.000000] s5pv210: 4915200 bytes system memory reserved for fimd at 0x475ab000
[    0.000000] s5pv210: 10485760 bytes system memory reserved for texstream at 0x47a5b000
[    0.000000] s5pv210: 3379200 bytes system memory reserved for pmem_gpu1 at 0x4845b000
[    0.000000] s5pv210: 8388608 bytes system memory reserved for g2d at 0x48794000
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 130048
[    0.000000] Kernel command line: init=/linuxrc  console=ttySAC2,115200  root=nfs  nfsroot=192.168.1.104:/opt/v210_rootfs  ip=192.168.1.188
[    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: 256MB 256MB = 512MB total
[    0.000000] Memory: 327696k/327696k available, 196592k reserved, 0K highmem
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
[    0.000000]     DMA     : 0xff000000 - 0xffe00000   (  14 MB)
[    0.000000]     vmalloc : 0xe0800000 - 0xfc000000   ( 440 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xe0000000   ( 512 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .init : 0xc0008000 - 0xc0033000   ( 172 kB)
[    0.000000]       .text : 0xc0033000 - 0xc06ef000   (6896 kB)
[    0.000000]       .data : 0xc06f0000 - 0xc073d600   ( 310 kB)
[    0.000000] SLUB: Genslabs=9, HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]  RCU-based detection of stalled CPUs is disabled.
[    0.000000]  Verbose stalled-CPUs detection is disabled.
[    0.000000] NR_IRQS:393
[    0.000000] VIC @fd000000: id 0x00041192, vendor 0x41
[    0.000000] VIC @fd010000: id 0x00041192, vendor 0x41
[    0.000000] VIC @fd020000: id 0x00041192, vendor 0x41
[    0.000000] VIC @fd030000: id 0x00041192, vendor 0x41
[    0.000000] mult[140737]
[    0.000000] max_delta_ns[2937815369]
[    0.000000] min_delta_ns[30517]
[    0.000000] rate[32768]
[    0.000000] HZ[256]
[    0.000000] Console: colour dummy device 80x30
[    0.000000] console [ttySAC2] enabled
[    0.510709] Calibrating delay loop... 998.15 BogoMIPS (lpj=1949696)
[    0.594888] pid_max: default: 32768 minimum: 301
[    0.599537] Mount-cache hash table entries: 512
[    0.604272] Initializing cgroup subsys debug
[    0.608247] Initializing cgroup subsys cpuacct
[    0.612660] Initializing cgroup subsys freezer
[    0.617101] CPU: Testing write buffer coherency: ok
[    0.623889] regulator: core version 0.5
[    0.626380] NET: Registered protocol family 16
[    0.635997] S3C Power Management, Copyright 2004 Simtec Electronics
[    0.640802] pmstats at 00000000
[    0.643923] Open OV2655 camema sensor
[    0.781268] smdkc110_setup_clocks: sclk_mmc: source is mout_mpll, rate is 47642857
[    0.787375] smdkc110_setup_clocks: sclk_mmc: source is mout_mpll, rate is 47642857
[    0.794910] smdkc110_setup_clocks: sclk_mmc: source is mout_mpll, rate is 47642857
[    0.802448] smdkc110_setup_clocks: sclk_mmc: source is mout_mpll, rate is 47642857
[    0.809994] smdkv210_nand_io_init
[    0.813655] S5PV210: Initializing architecture
[    0.817997] s3c24xx-pwm s3c24xx-pwm.0: tin at 66700000, tdiv at 66700000, tin=divclk, base 0
[    0.826125] s3c24xx-pwm s3c24xx-pwm.1: tin at 66700000, tdiv at 66700000, tin=divclk, base 8
[    0.834527] s3c24xx-pwm s3c24xx-pwm.2: tin at 66700000, tdiv at 66700000, tin=divclk, base 12
[    0.843019] s3c24xx-pwm s3c24xx-pwm.3: tin at 66700000, tdiv at 66700000, tin=divclk, base 16
[    0.851628] regulator: pd_audio_supply: 5000 mV normal
[    0.856791] regulator: pd_cam_supply: 5000 mV normal
[    0.861802] regulator: pd_tv_supply: 5000 mV normal
[    0.866735] regulator: pd_lcd_supply: 5000 mV normal
[    0.871762] regulator: pd_g3d_supply: 5000 mV normal
[    0.876787] regulator: pd_mfc_supply: 5000 mV normal
[    0.887656] bio: create slab <bio-0> at 0
[    0.890750] SCSI subsystem initialized
[    0.894037] usbcore: registered new interface driver usbfs
[    0.899437] usbcore: registered new interface driver hub
[    0.904755] usbcore: registered new device driver usb
[    0.910081] s3c-i2c s3c2440-i2c.0: i2c-0: S3C I2C adapter
[    0.915300] s3c-i2c s3c2440-i2c.1: i2c-1: S3C I2C adapter
[    0.920610] s3c-i2c s3c2440-i2c.2: i2c-2: S3C I2C adapter
[    0.926113] Advanced Linux Sound Architecture Driver Version 1.0.23.
[    0.932518] Sangoma WANPIPE Router v1.1 (c) 1995-2000 Sangoma Technologies Inc.
[    0.939646] cfg80211: Calling CRDA to update world regulatory domain
[    0.945933] Switching to clocksource clock_source_systimer
[    0.956313] NET: Registered protocol family 2
[    0.959383] IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
[    0.966809] TCP established hash table entries: 16384 (order: 5, 131072 bytes)
[    0.973620] TCP bind hash table entries: 16384 (order: 6, 327680 bytes)
[    0.980356] TCP: Hash tables configured (established 16384 bind 16384)
[    0.986409] TCP reno registered
[    0.989519] UDP hash table entries: 256 (order: 1, 12288 bytes)
[    0.995440] UDP-Lite hash table entries: 256 (order: 1, 12288 bytes)
[    1.001881] NET: Registered protocol family 1
[    1.006312] RPC: Registered udp transport module.
[    1.010763] RPC: Registered tcp transport module.
[    1.015437] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    1.021995] PMU: registered new PMU device of type 0
[    1.026827] wifi power management
[    1.030313] SMDKC110/V210 RTC, (c) 2010 Samsung Electronics
[    1.035755] smdkc110-rtc smdkc110-rtc: rtc disabled, re-enabling
[    1.041832] smdkc110-rtc smdkc110-rtc: rtc core: registered s3c as rtc0
[    1.048332] S5PV210 ADC driver, (c) 2010 Samsung Electronics
[    1.054116] cpuidle: phy_regs_save:0x4fd7c000
[    1.058549] input: s3c-button as /devices/virtual/input/input0
[    1.064066] s3c button Initialized!!
[    1.067732] Loaded driver for PL330 DMAC-0 s3c-pl330
[    1.072557]  DBUFF-64x8bytes Num_Chans-8 Num_Peri-2 Num_Events-32
[    1.078680] Loaded driver for PL330 DMAC-1 s3c-pl330
[    1.083559]  DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[    1.089697] Loaded driver for PL330 DMAC-2 s3c-pl330
[    1.094559]  DBUFF-8x4bytes Num_Chans-8 Num_Peri-32 Num_Events-32
[    1.107389] ashmem: initialized
[    1.109648] NTFS driver 2.1.29 [Flags: R/W].
[    1.113337] JFFS2 version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    1.120359] ROMFS MTD (C) 2007 Red Hat, Inc.
[    1.124536] msgmni has been set to 640
[    1.130725] alg: No test for stdrng (krng)
[    1.133403] io scheduler noop registered
[    1.137288] io scheduler deadline registered
[    1.141511] io scheduler cfq registered (default)
[    1.146863] s3cfb s3cfb: [fb2] dma: 0x475ab000, cpu: 0xe1000000, size: 0x004b0000
[    1.157625] FIMD src sclk = 166750000
[    1.159856] s3cfb s3cfb: registered successfully
[    1.164413] Start display and show logo
[    1.268995] x210 led driver
[    1.336987] PA FB = 0x475AB000, bits per pixel = 32
[    1.340426] screen width=1024 height=600 va=0xd75ab000 pa=0x475ab000
[    1.346726] xres_virtual = 1024, yres_virtual = 1200, xoffset = 0, yoffset = 0
[    1.353914] fb_size=4915200
[    1.356673] Back frameBuffer[0].VAddr=d7803000 PAddr=47803000 size=2457600
[    1.363870] s5pv210-uart.0: s3c2410_serial0 at MMIO 0xe2900000 (irq = 16) is a S3C6400/10
[    1.372004] s5pv210-uart.1: s3c2410_serial1 at MMIO 0xe2900400 (irq = 20) is a S3C6400/10
[    1.380057] s5pv210-uart.2: s3c2410_serial2 at MMIO 0xe2900800 (irq = 24) is a S3C6400/10
[    1.388186] s5pv210-uart.3: s3c2410_serial3 at MMIO 0xe2900c00 (irq = 28) is a S3C6400/10
[    1.400539] brd: module loaded
[    1.404315] loop: module loaded
[    1.406058] pmem_gpu1: 1 init
[    1.409359] Android kernel panic handler initialized (bind=kpanic)
[    1.415559] S3C NAND Driver, (c) 2008 Samsung Electronics
[    1.420580] Unknown NAND Device.
[    1.423723] PPP generic driver version 2.4.2
[    1.428121] PPP Deflate Compression module registered
[    1.432947] PPP BSD Compression module registered
[    1.438353] PPP MPPE Compression module registered
[    1.442402] NET: Registered protocol family 24
[    1.448382] dm9000 Ethernet Driver, V1.31
[    1.452211] eth0: dm9000c at e08f4300,e08f8304 IRQ 42 MAC: 00:09:c0:ff:ec:48 (platform data)
[    1.459401] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.465965] s5p-ehci s5p-ehci: s5pv210 EHCI
[    1.470017] s5p-ehci s5p-ehci: new USB bus registered, assigned bus number 1
[    1.477097] s5p-ehci s5p-ehci: irq 87, io mem 0xec200000
[    1.490356] s5p-ehci s5p-ehci: USB 0.0 started, EHCI 1.00
[    1.494344] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.501044] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.508237] usb usb1: Product: s5pv210 EHCI
[    1.512387] usb usb1: Manufacturer: Linux 2.6.35.7+ ehci_hcd
[    1.518024] usb usb1: SerialNumber: s5pv210
[    1.522616] hub 1-0:1.0: USB hub found
[    1.525936] hub 1-0:1.0: 1 port detected
[    1.529992] Initializing USB Mass Storage driver...
[    1.534758] usbcore: registered new interface driver usb-storage
[    1.540639] USB Mass Storage support registered.
[    1.545496] mice: PS/2 mouse device common for all mice
[    1.550747] S5P Touchscreen driver, (c) 2008 Samsung Electronics
[    1.556508] s3c-ts s3c-ts: Created Median filter len:5 coords:2 dec_threshold:6
[    1.563708] s3c-ts s3c-ts: Created Mean filter len:3 coords:2
[    1.569452] s3c-ts s3c-ts: Created Linear filter coords:2
[    1.574794] s3c-ts s3c-ts: Created zoom filter coords:2
[    1.579986] s3c-ts s3c-ts: 4 filter(s) initialized
[    1.584776] S5P TouchScreen got loaded successfully : 12 bits
[    1.590630] input: S5P TouchScreen as /devices/virtual/input/input1
[    1.597064] [GSLX680] Enter gslX680_ts_init
[    1.601102] input: gslX680 as /devices/platform/s3c2440-i2c.1/i2c-1/1-0040/input/input2
[    1.869278] usb 1-1: new high speed USB device using s5p-ehci and address 2
[    2.003695] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    2.008936] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.016043] usb 1-1: Product: USB2.0 Hub
[    2.020551] hub 1-1:1.0: USB hub found
[    2.023945] hub 1-1:1.0: 4 ports detected
[    4.241609] using rtc device, s3c, for alarms
[    4.244503] i2c /dev entries driver
[    4.248444] Linux video capture interface: v2.00
[    4.252632] gspca: main v2.9.0 registered
[    4.256688] s3c-csis: Samsung MIPI-CSI2 driver probed successfully
[    4.262749] mfc_init: <6>S5PC110 MFC Driver, (c) 2009 Samsung Electronics
[    4.262755]
[    4.271347] S3C JPEG Driver, (c) 2007 Samsung Electronics
[    4.276321] JPEG driver for S5PV210
[    4.280378] i2c i2c-1: attached s5p_ddc into i2c adapter successfully
[    4.286229] S5PC11X HPD Driver, (c) 2009 Samsung Electronics
[    4.292022] S5PC11X CEC Driver, (c) 2009 Samsung Electronics
[    4.297950] usbcore: registered new interface driver uvcvideo
[    4.303178] USB Video Class driver (v0.1.0)
[    4.309297] device-mapper: uevent: version 1.0.3
[    4.315227] device-mapper: ioctl: 4.17.0-ioctl (2010-03-05) initialised: dm-devel@redhat.com
[    4.322283] cpuidle: using governor ladder
[    4.326353] cpuidle: using governor menu
[    4.330210] sdhci: Secure Digital Host Controller Interface driver
[    4.336326] sdhci: Copyright(c) Pierre Ossman
[    4.340887] s3c-sdhci s3c-sdhci.0: clock source 0: hsmmc (133400000 Hz)
[    4.347253] s3c-sdhci s3c-sdhci.0: clock source 1: hsmmc (133400000 Hz)
[    4.353839] s3c-sdhci s3c-sdhci.0: clock source 2: sclk_mmc (47642857 Hz)
[    4.360744] mmc0: SDHCI controller on samsung-hsmmc [s3c-sdhci.0] using ADMA
[    4.367664] s3c-sdhci s3c-sdhci.1: clock source 0: hsmmc (133400000 Hz)
[    4.374203] s3c-sdhci s3c-sdhci.1: clock source 1: hsmmc (133400000 Hz)
[    4.380780] s3c-sdhci s3c-sdhci.1: clock source 2: sclk_mmc (47642857 Hz)
[    4.458017] wifi power enabled
[    4.459695] mmc1: SDHCI controller on samsung-hsmmc [s3c-sdhci.1] using ADMA
[    4.466670] s3c-sdhci s3c-sdhci.2: clock source 0: hsmmc (133400000 Hz)
[    4.473225] s3c-sdhci s3c-sdhci.2: clock source 1: hsmmc (133400000 Hz)
[    4.479808] s3c-sdhci s3c-sdhci.2: clock source 2: sclk_mmc (47642857 Hz)
[    4.486673] mmc2: SDHCI controller on samsung-hsmmc [s3c-sdhci.2] using ADMA
[    4.493617] s3c-sdhci s3c-sdhci.3: clock source 0: hsmmc (133400000 Hz)
[    4.500172] s3c-sdhci s3c-sdhci.3: clock source 1: hsmmc (133400000 Hz)
[    4.506758] s3c-sdhci s3c-sdhci.3: clock source 2: sclk_mmc (47642857 Hz)
[    4.513631] mmc3: SDHCI controller on samsung-hsmmc [s3c-sdhci.3] using ADMA
[    4.521162] usbcore: registered new interface driver hiddev
[    4.526163] usbcore: registered new interface driver usbhid
[    4.531611] usbhid: USB HID core driver
[    4.537037] logger: created 64K log 'log_main'
[    4.540137] logger: created 256K log 'log_events'
[    4.544819] logger: created 64K log 'log_radio'
[    4.549320] logger: created 64K log 'log_system'
[    4.554991] No device for DAI WM8976 HiFi
[    4.557821] s3c64xx_iis_dai_init:s3c64xx-i2s0
[    4.562324] s3c64xx_iis_dev_probe:id0 !!!
[    4.566208] s3c64xx_iis_dai_init:s3c64xx-i2s1
[    4.570856] WM8976 Audio Codec 0.4wm8976_probe: i2c_master_send
[    4.576635] wm8976_init
[    4.617927] mmc0: new high speed MMC card at address 0001
[    4.622076] mmcblk0: mmc0:0001 4FPD3R 3.64 GiB
[    4.626580]  mmcblk0: p1 p2 p3 p4
[    5.291465] mmc2: new high speed SDHC card at address aaaa
[    5.295673] mmcblk1: mmc2:aaaa SS08G 7.40 GiB
[    5.300095]  mmcblk1: p1
[    5.351468] s3c_idma_preallocate_buffer:  VA-e0940000  PA-C0000000  163840bytes
[    5.357586] s3c_preallocate_dma_buffer: VA-ff007000, PA-4FF40000, 131072bytes
[    5.364411] asoc: WM8976 HiFi <-> s3c64xx-i2s0 mapping ok
[    5.373109] ALSA device list:
[    5.374618]   #0: smdkc1000 (WM8976)
[    5.378190] GACT probability NOT on
[    5.381632] Mirror/redirect action on
[    5.385270] u32 classifier
[    5.387935]     Actions configured
[    5.391331] Netfilter messages via NETLINK v0.30.
[    5.396071] nf_conntrack version 0.5.0 (5120 buckets, 20480 max)
[    5.402142] CONFIG_NF_CT_ACCT is deprecated and will be removed soon. Please use
[    5.409363] nf_conntrack.acct=1 kernel parameter, acct=1 nf_conntrack module option or
[    5.417377] sysctl net.netfilter.nf_conntrack_acct=1 to enable it.
[    5.424041] ctnetlink v0.93: registering with nfnetlink.
[    5.428790] xt_time: kernel timezone is -0000
[    5.435098] ip_tables: (C) 2000-2006 Netfilter Core Team
[    5.439034] arp_tables: (C) 2002 David S. Miller
[    5.443601] TCP cubic registered
[    5.446752] NET: Registered protocol family 10
[    5.452969] lo: Disabled Privacy Extensions
[    5.460348] Mobile IPv6
[    5.461309] IPv6 over IPv4 tunneling driver
[    5.467040] sit0: Disabled Privacy Extensions
[    5.472737] ip6tnl0: Disabled Privacy Extensions
[    5.477237] NET: Registered protocol family 17
[    5.480327] NET: Registered protocol family 15
[    5.484762] lib80211: common routines for IEEE802.11 drivers
[    5.490428] ThumbEE CPU extension supported.
[    5.494706] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 2
[    5.502788] regulator_init_complete: disabling pd_mfc_supply
[    5.507873] regulator_init_complete: disabling pd_tv_supply
[    5.513412] regulator_init_complete: disabling pd_cam_supply
[    5.519212] smdkc110-rtc smdkc110-rtc: rtc disabled, re-enabling
[    5.525034] smdkc110-rtc smdkc110-rtc: setting system clock to 2010-01-01 12:03:28 UTC (1262347408)
[    5.535511] FIMC0 registered successfully
[    5.539333] FIMC1 registered successfully
[    5.543308] FIMC2 registered successfully
[    5.546082] <6>S5PC1XX TVOUT Driver, (c) 2009 Samsung Electronics
[    5.552754] s5p-tvout s5p-tvout: hpd status is cable removed
[    6.103759] eth0: link down
[    6.105224] ADDRCONF(NETDEV_UP): eth0: link is not ready
[    6.513791] eth0: link up, 100Mbps, full-duplex, lpa 0x4DE1
[    6.517995] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    7.111467] Sending DHCP requests ..
[   17.017694] .
[   26.822369] ... timed out!
[  102.197907] IP-Config: Retrying forever (NFS root)...
[  102.744218] eth0: link down
[  102.745671] ADDRCONF(NETDEV_UP): eth0: link is not ready
[  103.752061] Sending DHCP requests .
[  104.673910] eth0: link up, 100Mbps, full-duplex, lpa 0x4DE1
[  104.678281] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[  104.755929] , OK
[  104.759858] IP-Config: Got DHCP answer from 0.0.0.0, my address is 192.168.1.102
[  104.766968] IP-Config: Complete:
[  104.769230]      device=eth0, addr=192.168.1.102, mask=255.255.255.0, gw=192.168.1.253,
[  104.777093]      host=192.168.1.102, domain=, nis-domain=(none),
[  104.783085]      bootserver=0.0.0.0, rootserver=192.168.1.104, rootpath=
[  104.790132] DBUG_PORT must not use AFC!
[  104.793888] Looking up port of RPC 100003/2 on 192.168.1.104
[  104.813620] Looking up port of RPC 100005/1 on 192.168.1.104
[  104.945814] VFS: Mounted root (nfs filesystem) on device 0:12.
[  104.950228] Freeing init memory: 172K
can't run '/etc/init.d/rcS': No such file or directory

Please press Enter to activate this console.
id: unknown ID 0
[@192 ]# ls
bin      etc      proc     sys      usr
dev      linuxrc  sbin     tmp      var
[@192 ]# cd /etc/
[@192 etc]# ls
fstab    init.d   inittab  profile
[@192 etc]# cd init.d/
[@192 init.d]# ls
rcS
[@192 init.d]# pwd
/etc/init.d
[@192 init.d]# ls
rcS
[@192 init.d]# cd ..
[@192 etc]# ls
fstab    init.d   inittab  profile
[@192 etc]# cat fstab
# /etc/fstab: static file system information.
#
# Use 'vol_id --uuid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
#       <file system>   <mount point>   <type>  <options>       <dump>  <pass>
        proc                    /proc                   proc    defaults        0               0
        sysfs                   /sys                    sysfs   defaults        0               0
        tmpfs                   /var                    tmpfs   defaults        0               0
        tmpfs                   /tmp                    tmpfs   defaults        0               0
        tmpfs                   /dev                    tmpfs   defaults        0               0

[@192 etc]# cd ..
[@192 ]# ls
bin      etc      proc     sys      usr
dev      linuxrc  sbin     tmp      var
[@192 ]# cd /etc/
[@192 etc]# cd ..
[@192 ]# cd /dev/
[@192 dev]# ls
null
[@192 dev]# cd ..
[@192 ]# ls
bin      etc      proc     sys      usr
dev      linuxrc  sbin     tmp      var
[@192 ]# cd sys/
[@192 sys]# ls
[@192 sys]# cd ..
[@192 ]# ls
bin      etc      proc     sys      usr
dev      linuxrc  sbin     tmp      var
[@192 ]# cd tmp/
[@192 tmp]# ls
[@192 tmp]# cd ..
[@192 ]# ls
bin      etc      proc     sys      usr
dev      linuxrc  sbin     tmp      var
[@192 ]# cd var/
[@192 var]# ls
[@192 var]# cd ..
[@192 ]# ls
bin      etc      proc     sys      usr
dev      linuxrc  sbin     tmp      var
[@192 ]# cd usr/
[@192 usr]# ls
bin   sbin
[@192 usr]# cd bin/
[@192 bin]# ls
[            dumpleases   less         pkill        softlimit    unexpand
[[           eject        logger       pmap         sort         uniq
awk          env          logname      printf       split        unix2dos
basename     envdir       lpq          pscan        ssl_client   unlink
bc           envuidgid    lpr          pstree       strings      unlzma
beep         expand       lsof         pwdx         sum          unshare
blkdiscard   expr         lspci        readlink     sv           unxz
bunzip2      factor       lsscsi       realpath     svc          unzip
bzcat        fallocate    lsusb        renice       svok         uptime
bzip2        fgconsole    lzcat        reset        tac          users
cal          find         lzma         resize       tail         uudecode
chpst        flock        man          rpm2cpio     taskset      uuencode
chrt         fold         md5sum       runsv        tcpsvd       vlock
chvt         free         mesg         runsvdir     tee          volname
cksum        ftpget       microcom     rx           telnet       w
clear        ftpput       mkfifo       script       test         wall
cmp          fuser        mkpasswd     seq          tftp         wc
comm         groups       nc           setfattr     time         wget
crontab      hd           nl           setkeycodes  timeout      which
cryptpw      head         nmeter       setsid       top          who
cut          hexdump      nohup        setuidgid    tr           whoami
dc           hexedit      nproc        sha1sum      traceroute   whois
deallocvt    hostid       nslookup     sha256sum    traceroute6  xargs
diff         id           od           sha3sum      truncate     xxd
dirname      install      openvt       sha512sum    ts           xz
dos2unix     ipcrm        passwd       showkey      tty          xzcat
dpkg         ipcs         paste        shred        ttysize      yes
dpkg-deb     killall      patch        shuf         udhcpc6
du           last         pgrep        smemcap      udpsvd
[@192 bin]# cd ..
[@192 usr]# ls
bin   sbin
[@192 usr]# cd ..
[@192 ]# cd ..
[@192 ]# cd
[@192 ]# ls
bin      etc      proc     sys      usr
dev      linuxrc  sbin     tmp      var
[@192 ]# pwd
/
[@192 ]#


  • 写回答

10条回答 默认 最新

  • 透明水晶 2021-08-12 09:24
    关注

    最终解决办法:
    确认该路径下存在rcS文件,使用VIM工具打开该文件发现显示的是dos格式,应该是unix格式。
    后续,在挂载的机器上使用vi打开该文件,发现行末都多了个"^M",删除掉该字符后,重新挂载就OK了。

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
  • 透明水晶 2021-08-11 09:16
    关注

    最精简的busybox制作的根文件系统,挂载报如下LOG:

    can't run '/etc/init.d/rcS': No such file or directory
    can't open /dev/tty2: No such file or directory
    can't open /dev/tty3: No such file or directory
    can't open /dev/tty4: No such file or directory
    
    Please press Enter to activate this console. / #
    can't open /dev/tty2: No such file or directory
    can't open /dev/tty4: No such file or directory
    can't open /dev/tty3: No such file or directory
    can't open /dev/tty2: No such file or directory
    can't open /dev/tty4: No such file or directory
    can't open /dev/tty3: No such file or directory
    can't open /dev/tty2: No such file or directory
    can't open /dev/tty4: No such file or directory
    can't open /dev/tty3: No such file or directory
    can't open /dev/tty2: No such file or directory
    can't open /dev/tty4: No such file or directory
    can't open /dev/tty3: No such file or directory
    can't open /dev/tty2: No such file or directory
    
    can't open /dev/tty4: No such file or directory
    can't open /dev/tty3: No such file or directory
    
    can't open /dev/tty2: No such file or directory
    
    / #
    can't open /dev/tty4: No such file or directory
    can't open /dev/tty3: No such file or directory
    
    / #
    can't open /dev/tty2: No such file or directory
    
    ————————————————
    版权声明:本文为CSDN博主「透明水晶」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
    原文链接:https://blog.csdn.net/I_feige/article/details/119559520
    
    
    评论
  • 透明水晶 2021-08-11 09:17
    关注

    问题3:运行到此处卡很久

    [    7.111467] Sending DHCP requests ..
    [   17.017694] .
    [   26.822369] ... timed out!
    [  102.197907] IP-Config: Retrying forever (NFS root)...
    
    
    
    评论
  • 透明水晶 2021-08-11 09:21
    关注
    评论
  • 透明水晶 2021-08-11 12:40
    关注
    评论
  • 透明水晶 2021-08-11 12:41
    关注
    
    这个IP的格式也是第一次去详细了解如下(参考别人的文章):
    
    ip参数的格式如下:
    
    ip=<client-ip>:<server-ip>:<gw-ip>:<netmask>:<hostname>:<device>:<autoconf>
    
    client-ip:
    
    你正在使用的这块板子,你要为它设置的ip
    
    server-ip:
    
    提供nfs服务的服务器的ip地址。如不需要NFS服务于板子,则此项可以空置
    
    gw-ip:
    
    网关的ip地址,如果nfs与目标板在同一个网段内,则此项可以空置
    
    netmask:
    
    子网掩码,如此项为空,则子网掩码为默认值255.255.255.0
    
    hostname:
    
    你希望给目标板设置的主机名,在linux的shell中的如bash,命令行最开始有一个形如 blacksword@laptop2:~ $ 这样的一个提示符,blacksword指当前的用户,而laptop2就是一个hostname.此项可以留空
    
    device:
    
    如果目标板上仅一个网卡,且只接了一个PHY,同时电路的设计没有将PHY拉出两个地址来,则此项为空。 如果不指有一个网卡,则可以指定要设置的ip地址是作用于哪一个网卡的。 如指定给第一块网卡,则该参数为eth0. 第二块为eth1,依此类推。
    
    autoconf:
    
    自动配置未明确指定参数的方式,可以是dhcp, rarp, bootp。如果不希望使用自动配置则可以使用off值来关闭  autoconf参数可以独立作用于ip参数,如ip=dhcp即表示由dhcp服务器给内核的ip参数提供所有数据。 ip=off则表示所有参数都不配置,留待系统启动进行配置。
    
    最稳妥而简化的指定静态ip的方法为 ip=<clinet-ip>::::eth0:off  请注意中间冒号的个数。其他各项可以根据自己的实际情况来指定相应的值。
    
    原来一个传给内核的ip参数就这么复杂,
    这里给出我传递的参数形式:
    
    setenv bootargs 'console=ttyO0,115200n8 rw mem=55M@0x80000000 mpurate=1000 mem=128M@0x88000000
    omap_vout.vid1_static_vrfb_alloc=y omapfb.vram=0:4M
    root=/dev/nfs nfsroot=192.168.1.55:/home/BeagleBoard/rootfs ip=192.168.1.56:192.168.1.55:192.168.1.255:255.255.255.0::eth0:off'
    setenv bootcmd 'dhcp;setenv serverip 169.254.7.218;tftpboot;bootm
    ————————————————
    版权声明:本文为CSDN博主「天才2012」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
    原文链接:https://blog.csdn.net/gzzaigcnforever/article/details/8091686
    
    
    评论
  • 透明水晶 2021-08-11 12:59
    关注
    评论
  • 透明水晶 2021-08-11 14:51
    关注

    ** 1.Kernel panic - not syncing: Attempted to kill init!**

      上网搜索了一些相关信息,找到了解决问题的途径。 原因在于:编译内核和busybox使用的编译器是arm-linux-gcc 4.3.2,而这个编译器默认是打开“EABI选项”的,这样编译出来的busybox就是EABI的。但是内核编译的时候,默认是把“EABI选项”关掉的。所以busybox和内核无法正常配合。把“EABI选项”打开,重新编译内核后,一切正常。

      Kernel Features --->

      [*] Use the ARM EABI to compile the kernel

      [*] Allow old ABI binaries to run with this kernel (EXPERIMENTAL) (NEW)

      ---------------------------------------------------------------------------------

     ** 2.启动时提示:cannot run '/etc/init.d/rcS': Permission denied**

      RAMDISK: gzip image found at block 0

      VFS: Mounted root (ext2 filesystem) on device 1:0.

      Freeing init memory: 120K

      cannot run '/etc/init.d/rcS': Permission denied

      (none) login:

      ---rcS需要有执行权限,chmod 777 rcS后就好了。

      ------------------------------------------------------------------------

    **  3.启动时提示输入登录用户及密码:(none) login:**

      RAMDISK: gzip image found at block 0

      VFS: Mounted root (ext2 filesystem) on device 1:0.

      Freeing init memory: 120K

      (none) login:

      -----要求登录认证,我把inittab里的::respawn:-/bin/sh去掉之后就没有了

      --------------------------------------------------------------------------------

      4.提法不能运行文件,是因为shell脚本有非法字符(肉眼看不到,其实不是空格)

      RAMDISK: gzip image found at block 0

      VFS: Mounted root (ext2 filesystem) on device 1:0.

      Freeing init memory: 120K

      cannot run '/etc/init.d/rcS': No such file or directory

      --------rcS是shell脚本文件,我是从网上拷的,所以在行尾可能有多余的非法字符,手动输入后,就开始执行rcS文件的内容了。

      --------------------------------------------------------------------

     ** 5.进不了shell,呈死机状态**

      ::askfirst:/bin/sh

      我在inittab里加上这一句就好了。

    ** 6.有两个文件找不到:**

      mount: mounting tmpfs on /dev/shm failed: No such file or directory

      mount: mounting devpts on /dev/pts failed: No such file or directory

      我们之前建立文件系统的目录结构的时候没有建立这两个目录,重新建一下就好了。

      ---------------------------------------------------------------------------

    **  7.出现提示:/bin/sh: can't access tty; job control turned off**

      Please press Enter to activate this console.

      /bin/sh: can't access tty; job control turned off

      其实只要有这个-表示该shell是login shell就行了。busybox inittab的id字段是用来标识tty的,如果没有明确指明就是tty1即console。

      把::askfirst:/bin/sh改为:::askfirst:-/bin/sh

      可以看看busybox的examples目录下的例子就明白了。

      ----------------------------------------------------------------

      8.通过启启信息发现,profile文件没有执行

      ::askfirst:/bin/sh加了“-”之后,没有执行profile文件的问题也解决了。

      -----------------------------------------------------------------

    **  9.在busybox里设置setenv时,分号“;"输入之后,后面的内容就设置不到环境变量里。**

      解决方法是:在分号前加反斜杠""!

      算是一个有用的小技巧吧

    评论
  • 透明水晶 2021-08-12 09:31
    关注

    问题1:can't run '/etc/init.d/rcS': No such file or directory
    最终解决办法:
    确认该路径下存在rcS文件,使用VIM工具打开该文件发现显示的是dos格式,应该是unix格式。
    后续,在挂载的机器上使用vi打开该文件,发现行末都多了个"^M",删除掉该字符后,重新挂载就OK了。


    问题2:Please press Enter to activate this console.
    id: unknown ID 0
    在根文件系统etc目录下增加group及passwd文件

    评论
  • 透明水晶 2021-08-12 09:38
    关注

    问题:内核运行到此处,卡住半天才跑下来

    [    7.111467] Sending DHCP requests ..
    [   17.017694] .
    [   26.822369] ... timed out!
    [  102.197907] IP-Config: Retrying forever (NFS root)...
    

    解决过程:
    uboot进行如下配置:

    setenv bootargs root=/dev/nfs nfsroot=192.168.1.104:/root/v210_rootfs ip=192.168.1.188:192.168.1.104:192.168.1.253:255.255.255.0::eth0:off  init=/linuxrc console=ttySAC2,115200 
    
    评论
查看更多回答(9条)

报告相同问题?

问题事件

  • 系统已结题 8月20日
  • 已采纳回答 8月12日
  • 修改了问题 8月11日
  • 创建了问题 8月11日

悬赏问题

  • ¥30 宾馆客房管理系统可视化
  • ¥20 unity打光没有照亮物体
  • ¥25 powershell如何拷贝1周前的文件
  • ¥15 询问MYSQL查询SQLSERVER数据表并比较差异后,更新MYSQL的数据表
  • ¥15 关于#前端#的问题,请各位专家解答!
  • ¥15 最小生成树问题 Prim算法和Kruskal算法
  • ¥25 医院住院病人呼叫器设计
  • ¥15 不想和现在的团队合作了,怎么避免他们对程序动手脚
  • ¥20 C语言字符串不区分大小写字典排序相关问题
  • ¥15 关于#python#的问题:我希望通过逆向技术爬取1688搜索页下滑加载的数据