• «
  • 1
  • 2
  • »
  • Pages: 1/2     Go
主题 : 自己重新配置编译的内核 , android 2.2  内核成功挂载NFS根文件系统,但是出现not syncing 复制链接 | 浏览器收藏 | 打印
级别: 新手上路
UID: 34159
精华: 0
发帖: 25
金钱: 125 两
威望: 25 点
综合积分: 50 分
注册时间: 2010-12-11
最后登录: 2012-01-26
楼主  发表于: 2011-12-03 19:43

 自己重新配置编译的内核 , android 2.2  内核成功挂载NFS根文件系统,但是出现not syncing

自己从源码编译的android2.2花了一两星期,现在内核可以成功挂载NFS根文件系统,在init.rc中将有关yaff的mount 语句全部注释掉,然后起动就会出现下面的信息,我也尝试直接在的init.rc 加入命令,起动时可以看到伪命令执行了,说明根文件系统是可以访问的,按照起动过程,他会在根文件夹下建一个些目录,比如MNT等,,我现在就是没有看有新的文件夹产生,,在主机上,这个根目录的权限是777,现在不知道问题出在哪里了!




dm9000 i/o: 0x20000300, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 08:08:11:18:12:27
operating at 100M full duplex mode
Using dm9000 device
File transfer via NFS from server 192.168.15.3; our IP address is 192.168.15.99
Filename '/home/suisou/mini2440/uImage'.
Load address: 0x30008000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ########
done
Bytes transferred = 2033000 (1f0568 hex)
[u-boot@MINI2440]# bootm
## Booting kernel from Legacy Image at 30008000 ...
   Image Name:   mini2440
   Created:      2011-12-03  17:09:45 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2032936 Bytes =  1.9 MB
   Load Address: 30008000
   Entry Point:  30008040
   Verifying Checksum ... OK
   XIP Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux.............................................................
.................................................................. done, booting
the kernel.
Linux version 2.6.32.21 (root@suisou-virtual-machine) (gcc version 4.2.1) #15 Su
n Dec 4 01:08:55 CST 2011
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: MINI2440
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: noinitrd root=/dev/nfs rw nfsroot=192.168.15.3:/home/suisou
/mini2440/root rootwait nfsaddrs=192.168.15.101:192.168.15.3:192.168.15.1:255.25
5.255.0:mini2440:eth0:off console=ttySAC0,115200n8 init=/init mem=64M
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60640KB available (3564K code, 429K data, 124K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:85
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
irq: clearing pending status 02000000
Console: colour dummy device 80x30
console [ttySAC0] enabled
Calibrating delay loop... 201.93 BogoMIPS (lpj=504832)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
MINI2440: Option string mini2440=0tb
MINI2440: 't' ignored, touchscreen not compiled in
MINI2440: LCD [0:240x320] 1:800x480 2:1024x768
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4808000, irq 33
DMA channel 1 at c4808040, irq 34
DMA channel 2 at c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
S3C244X: Clock Support, DVS off
bio: create slab <bio-0> at 0
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
s3c-i2c s3c2440-i2c: slave address 0x10
s3c-i2c s3c2440-i2c: bus frequency set to 98 KHz
s3c-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: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
yaffs Nov 21 2011 11:49:49 Installing.
msgmni has been set to 118
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Console: switching to colour frame buffer device 60x53
fb0: s3c2410fb frame buffer device
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
at24 0-0050: 1024 byte 24c08 EEPROM (writable)
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c24xx-nand s3c2440-nand: Tacls=1, 9ns Twrph0=3 29ns, Twrph1=2 19ns
s3c24xx-nand s3c2440-nand: NAND soft ECC
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)

Creating 4 MTD partitions on "NAND 1GiB 3,3V 8-bit":
0x000000000000-0x000000040000 : "u-boot"
uncorrectable error :
0x000000040000-0x000000060000 : "u-boot-env"
uncorrectable error :
0x000000060000-0x000000560000 : "kernel"
uncorrectable error :
0x000000560000-0x000040000000 : "root"
uncorrectable error :
dm9000 Ethernet Driver, V1.31
dm9000 dm9000: eth%d:  MAC address.
eth0: dm9000e at c486e000,c4872004 IRQ 51 MAC: 08:08:11:18:12:27 (chip)
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usbcore: registered new interface driver libusual
s3c2440-usbgadget s3c2440-usbgadget: S3C2440: increasing FIFO to 128 bytes
gadgetfs: USB Gadget filesystem, version 24 Aug 2004
mice: PS/2 mouse device common for all mice
input: gpio-keys as /devices/platform/gpio-keys/input/input0
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
using rtc device, s3c, for alarms
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
i2c /dev entries driver
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
cpuidle: using governor ladder
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
s3c-sdi s3c2440-sdi: powered down.
s3c-sdi s3c2440-sdi: mmc0 - using pio, sw SDIO IRQ
Registered led device: led1
Registered led device: led2
Registered led device: led3
Registered led device: led4
Registered led device: backlight
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.21.
No device for DAI UDA134X
No device for DAI s3c24xx-i2s
S3C24XX_UDA134X SoC Audio driver
UDA134X SoC Audio Codec
asoc: UDA134X <-> s3c24xx-i2s mapping ok
ALSA device list:
  #0: S3C24XX_UDA134X (UDA134X)
TCP cubic registered
NET: Registered protocol family 17
s3c2410-rtc s3c2410-rtc: setting system clock to 2011-12-03 18:47:39 UTC (132293
8059)
eth0: link down
IP-Config: Complete:
     device=eth0, addr=192.168.15.101, mask=255.255.255.0, gw=192.168.15.1,
     host=mini2440, domain=, nis-domain=(none),
     bootserver=192.168.15.3, rootserver=192.168.15.3, rootpath=
Looking up port of RPC 100003/2 on 192.168.15.3
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
Looking up port of RPC 100005/1 on 192.168.15.3
VFS: Mounted root (nfs filesystem) on device 0:14.
Freeing init memory: 124K
Kernel panic - not syncing: Attempted to kill init!
[<c002cca0>] (unwind_backtrace+0x0/0xe0) from [<c003ab1c>] (panic+0x40/0x134)
[<c003ab1c>] (panic+0x40/0x134) from [<c003d8d0>] (do_exit+0x58/0x578)
[<c003d8d0>] (do_exit+0x58/0x578) from [<c003de74>] (do_group_exit+0x84/0xb8)
[<c003de74>] (do_group_exit+0x84/0xb8) from [<c0046f64>] (get_signal_to_deliver+
0x2ec/0x328)
[<c0046f64>] (get_signal_to_deliver+0x2ec/0x328) from [<c002a3cc>] (do_notify_re
sume+0x64/0x62c)
[<c002a3cc>] (do_notify_resume+0x64/0x62c) from [<c0027f08>] (work_pending+0x1c/
0x20)
级别: 风云使者
UID: 36096
精华: 3
发帖: 2513
金钱: 14075 两
威望: 2815 点
综合积分: 5086 分
注册时间: 2011-01-11
最后登录: 2015-11-15
1楼  发表于: 2011-12-03 20:00

 Re:自己重新配置编译的内核 , android 2.2 内核成功挂载NFS根文件系统,但是出现not syncing

您基于友善给的源码来搞?那是不行滴,可以翻看老帖子,友善板子的安卓貌似到现在还不兼容NFS启动吧,见此:http://www.aiothome.net/read.php?tid-13462.html
极度缺钱,求捐赠……支付宝兼邮箱:huming2207@qq.com
级别: 新手上路
UID: 34159
精华: 0
发帖: 25
金钱: 125 两
威望: 25 点
综合积分: 50 分
注册时间: 2010-12-11
最后登录: 2012-01-26
2楼  发表于: 2011-12-03 20:21

 Re:自己重新配置编译的内核 , android 2.2 内核成功挂载NFS根文件系统,但是出现not syncing

级别: 风云使者
UID: 36096
精华: 3
发帖: 2513
金钱: 14075 两
威望: 2815 点
综合积分: 5086 分
注册时间: 2011-01-11
最后登录: 2015-11-15
3楼  发表于: 2011-12-03 21:32

 Re:自己重新配置编译的内核 , android 2.2 内核成功挂载NFS根文件系统,但是出现not syncing

哦,您是2440用户?
极度缺钱,求捐赠……支付宝兼邮箱:huming2207@qq.com
级别: 新手上路
UID: 34159
精华: 0
发帖: 25
金钱: 125 两
威望: 25 点
综合积分: 50 分
注册时间: 2010-12-11
最后登录: 2012-01-26
4楼  发表于: 2011-12-03 22:33

 Re:自己重新配置编译的内核 , android 2.2 内核成功挂载NFS根文件系统,但是出现not syncing

是呀,MINI2440   1GNAND
*無鈳取玳
级别: 论坛版主
UID: 27
精华: 12
发帖: 5398
金钱: 40120 两
威望: 17929 点
综合积分: 11036 分
注册时间: 2008-01-16
最后登录: 2014-11-22
5楼  发表于: 2011-12-03 22:39

 Re:自己重新配置编译的内核 , android 2.2 内核成功挂载NFS根文件系统,但是出现not syncing

看起来是init进程异常退出了。你可以试试在init.rc里将“loglevel”设成8来输出更多的log。
"If you have an apple and I have an apple and we exchange apples, then you and I will
still each have one apple. But if you have an idea and I have an idea and we exchange
these ideas, then each of us will have two ideas."
级别: 新手上路
UID: 34159
精华: 0
发帖: 25
金钱: 125 两
威望: 25 点
综合积分: 50 分
注册时间: 2010-12-11
最后登录: 2012-01-26
6楼  发表于: 2011-12-03 22:46

 Re:自己重新配置编译的内核 , android 2.2 内核成功挂载NFS根文件系统,但是出现not syncing

试 下,一会儿给结果
级别: 新手上路
UID: 34159
精华: 0
发帖: 25
金钱: 125 两
威望: 25 点
综合积分: 50 分
注册时间: 2010-12-11
最后登录: 2012-01-26
7楼  发表于: 2011-12-03 22:49

 Re:自己重新配置编译的内核 , android 2.2 内核成功挂载NFS根文件系统,但是出现not syncing

把loglevel”设成8,结果也没有更多的LOG出来,现在就是不问题出在哪,还有哪些方法可以得到更多的LOG,找出问题才能找出解决方法呀


Hit any key to stop autoboot:  0
dm9000 i/o: 0x20000300, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 08:08:11:18:12:27
operating at 100M full duplex mode
Using dm9000 device
File transfer via NFS from server 192.168.15.3; our IP address is 192.168.15.99
Filename '/home/suisou/mini2440/uImage'.
Load address: 0x30008000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ########
done
Bytes transferred = 2033000 (1f0568 hex)
[u-boot@MINI2440]# bootm
## Booting kernel from Legacy Image at 30008000 ...
   Image Name:   mini2440
   Created:      2011-12-03  17:09:45 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2032936 Bytes =  1.9 MB
   Load Address: 30008000
   Entry Point:  30008040
   Verifying Checksum ... OK
   XIP Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux.............................................................
.................................................................. done, booting
the kernel.
Linux version 2.6.32.21 (root@suisou-virtual-machine) (gcc version 4.2.1) #15 Su
n Dec 4 01:08:55 CST 2011
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: MINI2440
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: noinitrd root=/dev/nfs nfsroot=192.168.15.3:/home/suisou/mi
ni2440/root rootwait rootfstype=nfs rsize=1024,wsize=1024 nfsaddrs=192.168.15.10
1:192.168.15.3:192.168.15.1:255.255.255.0:mini2440:eth0:off console=ttySAC0,1152
00n8 init=/init mem=64M
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60640KB available (3564K code, 429K data, 124K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:85
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
irq: clearing pending status 02000000
Console: colour dummy device 80x30
console [ttySAC0] enabled
Calibrating delay loop... 201.93 BogoMIPS (lpj=504832)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
MINI2440: Option string mini2440=0tb
MINI2440: 't' ignored, touchscreen not compiled in
MINI2440: LCD [0:240x320] 1:800x480 2:1024x768
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4808000, irq 33
DMA channel 1 at c4808040, irq 34
DMA channel 2 at c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
S3C244X: Clock Support, DVS off
bio: create slab <bio-0> at 0
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
s3c-i2c s3c2440-i2c: slave address 0x10
s3c-i2c s3c2440-i2c: bus frequency set to 98 KHz
s3c-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: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
yaffs Nov 21 2011 11:49:49 Installing.
msgmni has been set to 118
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Console: switching to colour frame buffer device 60x53
fb0: s3c2410fb frame buffer device
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
at24 0-0050: 1024 byte 24c08 EEPROM (writable)
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c24xx-nand s3c2440-nand: Tacls=1, 9ns Twrph0=3 29ns, Twrph1=2 19ns
s3c24xx-nand s3c2440-nand: NAND soft ECC
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)

Creating 4 MTD partitions on "NAND 1GiB 3,3V 8-bit":
0x000000000000-0x000000040000 : "u-boot"
uncorrectable error :
0x000000040000-0x000000060000 : "u-boot-env"
uncorrectable error :
0x000000060000-0x000000560000 : "kernel"
uncorrectable error :
0x000000560000-0x000040000000 : "root"
uncorrectable error :
dm9000 Ethernet Driver, V1.31
dm9000 dm9000: eth%d:  MAC address.
eth0: dm9000e at c486e000,c4872004 IRQ 51 MAC: 08:08:11:18:12:27 (chip)
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usbcore: registered new interface driver libusual
s3c2440-usbgadget s3c2440-usbgadget: S3C2440: increasing FIFO to 128 bytes
gadgetfs: USB Gadget filesystem, version 24 Aug 2004
mice: PS/2 mouse device common for all mice
input: gpio-keys as /devices/platform/gpio-keys/input/input0
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
using rtc device, s3c, for alarms
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
i2c /dev entries driver
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
cpuidle: using governor ladder
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
s3c-sdi s3c2440-sdi: powered down.
s3c-sdi s3c2440-sdi: mmc0 - using pio, sw SDIO IRQ
Registered led device: led1
Registered led device: led2
Registered led device: led3
Registered led device: led4
Registered led device: backlight
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.21.
No device for DAI UDA134X
No device for DAI s3c24xx-i2s
S3C24XX_UDA134X SoC Audio driver
UDA134X SoC Audio Codec
asoc: UDA134X <-> s3c24xx-i2s mapping ok
ALSA device list:
  #0: S3C24XX_UDA134X (UDA134X)
TCP cubic registered
NET: Registered protocol family 17
s3c2410-rtc s3c2410-rtc: setting system clock to 2011-12-03 22:24:10 UTC (132295
1050)
eth0: link down
IP-Config: Complete:
     device=eth0, addr=192.168.15.101, mask=255.255.255.0, gw=192.168.15.1,
     host=mini2440, domain=, nis-domain=(none),
     bootserver=192.168.15.3, rootserver=192.168.15.3, rootpath=
Looking up port of RPC 100003/2 on 192.168.15.3
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
Looking up port of RPC 100005/1 on 192.168.15.3
VFS: Mounted root (nfs filesystem) on device 0:14.
Freeing init memory: 124K
Warning: unable to open an initial console.
Kernel panic - not syncing: Attempted to kill init!
[<c002cca0>] (unwind_backtrace+0x0/0xe0) from [<c003ab1c>] (panic+0x40/0x134)
[<c003ab1c>] (panic+0x40/0x134) from [<c003d8d0>] (do_exit+0x58/0x578)
[<c003d8d0>] (do_exit+0x58/0x578) from [<c003de74>] (do_group_exit+0x84/0xb8)
[<c003de74>] (do_group_exit+0x84/0xb8) from [<c0046f64>] (get_signal_to_deliver+
0x2ec/0x328)
[<c0046f64>] (get_signal_to_deliver+0x2ec/0x328) from [<c002a3cc>] (do_notify_re
sume+0x64/0x62c)
[<c002a3cc>] (do_notify_resume+0x64/0x62c) from [<c0027f08>] (work_pending+0x1c/
0x20)


U-Boot 2010.03 ( 4鏈?18 2010 - 21:39:25)

modified by tekkamanninja (tekkamanninja@163.com)
Love Linux forever!!

I2C:   ready
DRAM:  64 MB
Flash:  2 MB
NAND:  1024 MiB
Video: 240x320x16 20kHz 62Hz
In:    serial
Out:   serial
Err:   serial
USB slave is enable!
Net:   dm9000
U-Boot 2010.03 ( 4鏈?18 2010 - 21:39:25)
modified by tekkamanninja
(tekkamanninja@163.com)
Love Linux forever!!
Hit any key to stop autoboot:  0
dm9000 i/o: 0x20000300, id: 0x90000a46
DM9000: running in 16 bit mode
MAC: 08:08:11:18:12:27
operating at 100M full duplex mode
Using dm9000 device
File transfer via NFS from server 192.168.15.3; our IP address is 192.168.15.99
Filename '/home/suisou/mini2440/uImage'.
Load address: 0x30008000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ########
done
Bytes transferred = 2033000 (1f0568 hex)
[u-boot@MINI2440]# bootm
## Booting kernel from Legacy Image at 30008000 ...
   Image Name:   mini2440
   Created:      2011-12-03  17:09:45 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    2032936 Bytes =  1.9 MB
   Load Address: 30008000
   Entry Point:  30008040
   Verifying Checksum ... OK
   XIP Kernel Image ... OK
OK

Starting kernel ...

Uncompressing Linux.............................................................
.................................................................. done, booting
the kernel.
Linux version 2.6.32.21 (root@suisou-virtual-machine) (gcc version 4.2.1) #15 Su
n Dec 4 01:08:55 CST 2011
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
CPU: VIVT data cache, VIVT instruction cache
Machine: MINI2440
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C24XX Clocks, (c) 2004 Simtec Electronics
S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz
CLOCK: Slow mode (1.500 MHz), fast, MPLL on, UPLL on
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line: noinitrd root=/dev/nfs nfsroot=192.168.15.3:/home/suisou/mi
ni2440/root rootwait rootfstype=nfs rsize=1024,wsize=1024 nfsaddrs=192.168.15.10
1:192.168.15.3:192.168.15.1:255.255.255.0:mini2440:eth0:off console=ttySAC0,1152
00n8 init=/init mem=64M
PID hash table entries: 256 (order: -2, 1024 bytes)
Dentry cache hash table entries: 8192 (order: 3, 32768 bytes)
Inode-cache hash table entries: 4096 (order: 2, 16384 bytes)
Memory: 64MB = 64MB total
Memory: 60640KB available (3564K code, 429K data, 124K init, 0K highmem)
SLUB: Genslabs=11, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Hierarchical RCU implementation.
NR_IRQS:85
irq: clearing subpending status 00000003
irq: clearing subpending status 00000002
irq: clearing pending status 02000000
Console: colour dummy device 80x30
console [ttySAC0] enabled
Calibrating delay loop... 201.93 BogoMIPS (lpj=504832)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
MINI2440: Option string mini2440=0tb
MINI2440: 't' ignored, touchscreen not compiled in
MINI2440: LCD [0:240x320] 1:800x480 2:1024x768
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 Simtec Electronics
DMA channel 0 at c4808000, irq 33
DMA channel 1 at c4808040, irq 34
DMA channel 2 at c4808080, irq 35
DMA channel 3 at c48080c0, irq 36
S3C244X: Clock Support, DVS off
bio: create slab <bio-0> at 0
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
s3c-i2c s3c2440-i2c: slave address 0x10
s3c-i2c s3c2440-i2c: bus frequency set to 98 KHz
s3c-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: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
JFFS2 version 2.2. (NAND) 漏 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
yaffs Nov 21 2011 11:49:49 Installing.
msgmni has been set to 118
alg: No test for stdrng (krng)
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Console: switching to colour frame buffer device 60x53
fb0: s3c2410fb frame buffer device
s3c2440-uart.0: s3c2410_serial0 at MMIO 0x50000000 (irq = 70) is a S3C2440
s3c2440-uart.1: s3c2410_serial1 at MMIO 0x50004000 (irq = 73) is a S3C2440
s3c2440-uart.2: s3c2410_serial2 at MMIO 0x50008000 (irq = 76) is a S3C2440
at24 0-0050: 1024 byte 24c08 EEPROM (writable)
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c24xx-nand s3c2440-nand: Tacls=1, 9ns Twrph0=3 29ns, Twrph1=2 19ns
s3c24xx-nand s3c2440-nand: NAND soft ECC
NAND device: Manufacturer ID: 0xec, Chip ID: 0xd3 (Samsung NAND 1GiB 3,3V 8-bit)

Creating 4 MTD partitions on "NAND 1GiB 3,3V 8-bit":
0x000000000000-0x000000040000 : "u-boot"
uncorrectable error :
0x000000040000-0x000000060000 : "u-boot-env"
uncorrectable error :
0x000000060000-0x000000560000 : "kernel"
uncorrectable error :
0x000000560000-0x000040000000 : "root"
uncorrectable error :
dm9000 Ethernet Driver, V1.31
dm9000 dm9000: eth%d:  MAC address.
eth0: dm9000e at c486e000,c4872004 IRQ 51 MAC: 08:08:11:18:12:27 (chip)
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
s3c2410-ohci s3c2410-ohci: S3C24XX OHCI
s3c2410-ohci s3c2410-ohci: new USB bus registered, assigned bus number 1
s3c2410-ohci s3c2410-ohci: irq 42, io mem 0x49000000
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usbcore: registered new interface driver libusual
s3c2440-usbgadget s3c2440-usbgadget: S3C2440: increasing FIFO to 128 bytes
gadgetfs: USB Gadget filesystem, version 24 Aug 2004
mice: PS/2 mouse device common for all mice
input: gpio-keys as /devices/platform/gpio-keys/input/input0
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2410-rtc s3c2410-rtc: rtc disabled, re-enabling
using rtc device, s3c, for alarms
s3c2410-rtc s3c2410-rtc: rtc core: registered s3c as rtc0
i2c /dev entries driver
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
cpuidle: using governor ladder
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
s3c-sdi s3c2440-sdi: powered down.
s3c-sdi s3c2440-sdi: mmc0 - using pio, sw SDIO IRQ
Registered led device: led1
Registered led device: led2
Registered led device: led3
Registered led device: led4
Registered led device: backlight
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.21.
No device for DAI UDA134X
No device for DAI s3c24xx-i2s
S3C24XX_UDA134X SoC Audio driver
UDA134X SoC Audio Codec
asoc: UDA134X <-> s3c24xx-i2s mapping ok
ALSA device list:
  #0: S3C24XX_UDA134X (UDA134X)
TCP cubic registered
NET: Registered protocol family 17
s3c2410-rtc s3c2410-rtc: setting system clock to 2011-12-03 22:42:38 UTC (132295
2158)
eth0: link down
IP-Config: Complete:
     device=eth0, addr=192.168.15.101, mask=255.255.255.0, gw=192.168.15.1,
     host=mini2440, domain=, nis-domain=(none),
     bootserver=192.168.15.3, rootserver=192.168.15.3, rootpath=
Looking up port of RPC 100003/2 on 192.168.15.3
eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
Looking up port of RPC 100005/1 on 192.168.15.3
VFS: Mounted root (nfs filesystem) on device 0:14.
Freeing init memory: 124K
Warning: unable to open an initial console.
Kernel panic - not syncing: Attempted to kill init!
[<c002cca0>] (unwind_backtrace+0x0/0xe0) from [<c003ab1c>] (panic+0x40/0x134)
[<c003ab1c>] (panic+0x40/0x134) from [<c003d8d0>] (do_exit+0x58/0x578)
[<c003d8d0>] (do_exit+0x58/0x578) from [<c003de74>] (do_group_exit+0x84/0xb8)
[<c003de74>] (do_group_exit+0x84/0xb8) from [<c0046f64>] (get_signal_to_deliver+
0x2ec/0x328)
[<c0046f64>] (get_signal_to_deliver+0x2ec/0x328) from [<c002a3cc>] (do_notify_re
sume+0x64/0x62c)
[<c002a3cc>] (do_notify_resume+0x64/0x62c) from [<c0027f08>] (work_pending+0x1c/
0x20)
级别: 新手上路
UID: 34159
精华: 0
发帖: 25
金钱: 125 两
威望: 25 点
综合积分: 50 分
注册时间: 2010-12-11
最后登录: 2012-01-26
8楼  发表于: 2011-12-03 23:05

 Re:自己重新配置编译的内核 , android 2.2 内核成功挂载NFS根文件系统,但是出现not syncing

我在init.rc最后面加了一句,echo hello
起动时提示
Warning: unable to open an initial console.
init: /init.rc: 182: invalid option 'echo'
Kernel panic - not syncing: Attempted to kill init!

这说明init正常工作,而且根文件系统也是正常的
级别: 新手上路
UID: 34159
精华: 0
发帖: 25
金钱: 125 两
威望: 25 点
综合积分: 50 分
注册时间: 2010-12-11
最后登录: 2012-01-26
9楼  发表于: 2011-12-03 23:11

 Re:自己重新配置编译的内核 , android 2.2 内核成功挂载NFS根文件系统,但是出现not syncing

我把init.rc 中后面的内容全部删掉,只留下几句mkdir ,重起后,可是主机的目录里面却没有出mkdir的目录,是不是与NFS权限有关呀?NFS目录权限中已加入了NO_root_splash,
现在看不到更多的日志,没有头绪
  • «
  • 1
  • 2
  • »
  • Pages: 1/2     Go