LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1515|回复: 10

内核死活起不来,EPIA主板 【已解决】

[复制链接]
发表于 2010-9-26 18:01:43 | 显示全部楼层 |阅读模式
起不来报错看不出啥意思,不知道哪里问题,帮忙看看!

  1. root (hd0,0)
  2. Filesystem type is ext2fs, partition type 0x83
  3. kernel /kernel-genkernel-x86-2.6.35-gentoo-r8  real_root=/dev/hda2 console=ttyS
  4. 0,38400
  5.    [Linux-bzImage, setup=0x3400, size=0x2c66e0]
  6. initrd /initramfs-genkernel-x86-2.6.35-gentoo-r8
  7.    [Linux-initrd @ 0xb5e8000, 0x1f7263 bytes]

  8. Linux version 2.6.35-gentoo-r8 (root@bt) (gcc version 4.4.3 (Gentoo 4.4.3-r2 p1.2) ) #1 Mon Sep 27 01:18:43 CST 2010
  9. BIOS-provided physical RAM map:
  10. BIOS-e820: 0000000000000000 - 00000000000a0000 (usable)
  11. BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
  12. BIOS-e820: 0000000000100000 - 000000000b7f0000 (usable)
  13. BIOS-e820: 000000000b7f0000 - 000000000b7f3000 (ACPI NVS)
  14. BIOS-e820: 000000000b7f3000 - 000000000b800000 (ACPI data)
  15. BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
  16. Notice: NX (Execute Disable) protection missing in CPU or disabled in BIOS!
  17. DMI 2.2 present.
  18. last_pfn = 0xb7f0 max_arch_pfn = 0x100000
  19. PAT not supported by CPU.
  20. init_memory_mapping: 0000000000000000-000000000b7f0000
  21. RAMDISK: 0b5e8000 - 0b7e0000
  22. ACPI: RSDP 000f67c0 00014 (v00 VIA601)
  23. ACPI: RSDT 0b7f3000 00028 (v01 VIA601 AWRDACPI 42302E31 AWRD 00000000)
  24. ACPI: FACP 0b7f3040 00074 (v01 VIA601 AWRDACPI 42302E31 AWRD 00000000)
  25. ACPI: DSDT 0b7f30c0 029BC (v01 VIA601 AWRDACPI 00001000 MSFT 0100000C)
  26. ACPI: FACS 0b7f0000 00040
  27. 183MB LOWMEM available.
  28.   mapped low ram: 0 - 0b7f0000
  29.   low ram: 0 - 0b7f0000
  30.   node 0 low ram: 00000000 - 0b7f0000
  31.   node 0 bootmap 00001000 - 00002700
  32. (6/32 early reservations) ==> bootmem [0000000000 - 000b7f0000]
  33.   #0 [0000100000 - 000062d5a0]    TEXT DATA BSS ==> [0000100000 - 000062d5a0]
  34.   #1 [000b5e8000 - 000b7e0000]          RAMDISK ==> [000b5e8000 - 000b7e0000]
  35.   #2 [000009f000 - 0000100000]    BIOS reserved ==> [000009f000 - 0000100000]
  36.   #3 [000062e000 - 000063009e]              BRK ==> [000062e000 - 000063009e]
  37.   #4 [0000007000 - 0000033000]          PGTABLE ==> [0000007000 - 0000033000]
  38.   #5 [0000001000 - 0000003000]          BOOTMAP ==> [0000001000 - 0000003000]
  39. Zone PFN ranges:
  40.   DMA      0x00000001 -> 0x00001000
  41.   Normal   0x00001000 -> 0x0000b7f0
  42. Movable zone start PFN for each node
  43. early_node_map[2] active PFN ranges
  44.     0: 0x00000001 -> 0x000000a0
  45.     0: 0x00000100 -> 0x0000b7f0
  46. ACPI: PM-Timer IO Port: 0x4008
  47. Allocating PCI resources starting at b800000 (gap: b800000:f47f0000)
  48. Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 46623
  49. Kernel command line: console=ttyS0,38400 console=tty0
  50. PID hash table entries: 1024 (order: 0, 4096 bytes)
  51. Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
  52. Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
  53. Initializing CPU#0
  54. Memory: 178780k/188352k available (2870k kernel code, 9184k reserved, 1919k data, 340k init, 0k highmem)
  55. virtual kernel memory layout:
  56.     fixmap  : 0xfffe4000 - 0xfffff000   ( 108 kB)
  57.     vmalloc : 0xcbff0000 - 0xfffe2000   ( 831 MB)
  58.     lowmem  : 0xc0000000 - 0xcb7f0000   ( 183 MB)
  59.       .init : 0xc05ae000 - 0xc0603000   ( 340 kB)
  60.       .data : 0xc03cd9f0 - 0xc05ad878   (1919 kB)
  61.       .text : 0xc0100000 - 0xc03cd9f0   (2870 kB)
  62. Checking if this processor honours the WP bit even in supervisor mode...Ok.
  63. Hierarchical RCU implementation.
  64.         Verbose stalled-CPUs detection is disabled.
  65. NR_IRQS:16
  66. Console: colour VGA+ 80x25
  67. console [tty0] enabled
  68. console [ttyS0] enabled
  69. Fast TSC calibration using PIT
  70. Detected 533.382 MHz processor.
  71. Calibrating delay loop (skipped), value calculated using timer frequency.. 1066.76 BogoMIPS (lpj=5333820)
  72. pid_max: default: 32768 minimum: 301
  73. Security Framework initialized
  74. Mount-cache hash table entries: 512
  75. Performance Events:
  76. CPU: Centaur VIA Samuel 2 stepping 03
  77. ACPI: Core revision 20100428
  78. ACPI: setting ELCR to 0020 (from 1c20)
  79. xor: measuring software checksum speed
  80.    8regs     :   413.200 MB/sec
  81.    8regs_prefetch:   496.000 MB/sec
  82.    32regs    :   305.200 MB/sec
  83.    32regs_prefetch:   298.000 MB/sec
  84.    pII_mmx   :   844.800 MB/sec
  85.    p5_mmx    :   716.400 MB/sec
  86. xor: using function: pII_mmx (844.800 MB/sec)
  87. NET: Registered protocol family 16
  88. ACPI: bus type pci registered
  89. dca service started, version 1.12.1
  90. PCI: PCI BIOS revision 2.10 entry at 0xfb3a0, last bus=1
  91. PCI: Using configuration type 1 for base access
  92. bio: create slab <bio-0> at 0
  93. ACPI: Interpreter enabled
  94. ACPI: (supports S0 S5)
  95. ACPI: Using PIC for interrupt routing
  96. PCI: Ignoring host bridge windows from ACPI; if necessary, use "pci=use_crs" and report a bug
  97. ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
  98. pci 0000:00:01.0: PCI bridge to [bus 01-01]
  99. ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
  100. ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 10 11 12 14 15) *0, disabled.
  101. ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
  102. ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 10 11 *12 14 15)
  103. vgaarb: device added: PCI:0000:01:00.0,decodes=io+mem,owns=io+mem,locks=none
  104. vgaarb: loaded
  105. SCSI subsystem initialized
  106. raid6: int32x1     70 MB/s
  107. raid6: int32x2     76 MB/s
  108. raid6: int32x4     63 MB/s
  109. raid6: int32x8     47 MB/s
  110. raid6: mmxx1      168 MB/s
  111. raid6: mmxx2      183 MB/s
  112. raid6: using algorithm mmxx2 (183 MB/s)
  113. PCI: Using ACPI for IRQ routing
  114. Switching to clocksource tsc
  115. pnp: PnP ACPI init
  116. ACPI: bus type pnp registered
  117. pnp: PnP ACPI: found 10 devices
  118. ACPI: ACPI bus type pnp unregistered
  119. system 00:00: [mem 0x000cc000-0x000cffff] has been reserved
  120. system 00:00: [mem 0x000f0000-0x000f7fff] could not be reserved
  121. system 00:00: [mem 0x000f8000-0x000fbfff] could not be reserved
  122. system 00:00: [mem 0x000fc000-0x000fffff] could not be reserved
  123. system 00:00: [mem 0x0b7f0000-0x0b7fffff] could not be reserved
  124. system 00:00: [mem 0xffff0000-0xffffffff] has been reserved
  125. system 00:00: [mem 0x00000000-0x0009ffff] could not be reserved
  126. system 00:00: [mem 0x00100000-0x0b7effff] could not be reserved
  127. system 00:00: [mem 0xfee00000-0xfee00fff] has been reserved
  128. system 00:02: [io  0x04d0-0x04d1] has been reserved
  129. pci 0000:00:01.0: BAR 9: assigned [mem 0x0c000000-0x0c0fffff pref]
  130. pci 0000:01:00.0: BAR 6: assigned [mem 0x0c000000-0x0c00ffff pref]
  131. pci 0000:00:01.0: PCI bridge to [bus 01-01]
  132. pci 0000:00:01.0:   bridge window [io  disabled]
  133. pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe2ffffff]
  134. pci 0000:00:01.0:   bridge window [mem 0x0c000000-0x0c0fffff pref]
  135. NET: Registered protocol family 2
  136. IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
  137. TCP established hash table entries: 8192 (order: 4, 65536 bytes)
  138. TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
  139. TCP: Hash tables configured (established 8192 bind 8192)
  140. TCP reno registered
  141. UDP hash table entries: 256 (order: 0, 4096 bytes)
  142. UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
  143. NET: Registered protocol family 1
  144. pci 0000:00:01.0: disabling DAC on VIA PCI bridge
  145. Trying to unpack rootfs image as initramfs...
  146. Freeing initrd memory: 2016k freed
  147. microcode: no support for this CPU vendor
  148. HugeTLB registered 4 MB page size, pre-allocated 0 pages
  149. VFS: Disk quotas dquot_6.5.2
  150. Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
  151. squashfs: version 4.0 (2009/01/31) Phillip Lougher
  152. msgmni has been set to 353
  153. alg: No test for stdrng (krng)
  154. async_tx: api initialized (async)
  155. Block layer SCSI generic (bsg) driver version 0.4 loaded (major 254)
  156. io scheduler noop registered
  157. io scheduler deadline registered
  158. io scheduler cfq registered (default)
  159. Linux agpgart interface v0.103
  160. VIA Graphics Intergration Chipset framebuffer 2.4 initializing
  161. vga16fb: mapped to 0xc00a0000
  162. Console: switching to colour frame buffer device 80x30
  163. fb0: VGA16 VGA frame buffer device
  164. isapnp: Scanning for PnP cards...
  165. isapnp: No Plug & Play device found
  166. [drm] Initialized drm 1.1.0 20060810
  167. Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
  168. ?贬250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
  169. 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
  170. brd: module loaded
  171. loop: module loaded
  172. Uniform Multi-Platform E-IDE driver
  173. via82cxxx 0000:00:11.1: VIA vt8231 (rev 10) IDE UDMA100
  174. via82cxxx 0000:00:11.1: IDE controller (0x1106:0x0571 rev 0x06)
  175. via82cxxx 0000:00:11.1: not 100% native mode: will probe irqs later
  176.     ide0: BM-DMA at 0xd000-0xd007
  177.     ide1: BM-DMA at 0xd008-0xd00f
  178. hda: Hitachi HTS541680J9AT00, ATA DISK drive
  179. hda: UDMA/100 mode selected
  180. ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
  181. ide1 at 0x170-0x177,0x376 on irq 15
  182. ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
  183. ide-gd driver 1.18
  184. hda: max request size: 512KiB
  185. hda: 156301488 sectors (80026 MB) w/7512KiB Cache, CHS=16383/255/63
  186. hda: cache flushes supported
  187. hda: hda1 hda2 hda3
  188. Loading iSCSI transport class v2.0-870.
  189. iscsi: registered transport (tcp)
  190. via-rhine: Broken BIOS detected, avoid_D3 enabled.
  191. via-rhine.c:v1.10-LK1.4.3 2007-03-06 Written by Donald Becker
  192. ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 11
  193. via-rhine 0000:00:12.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
  194. eth0: VIA Rhine II at 0xe3000000, 00:40:63:de:20:4a, IRQ 11.
  195. eth0: MII PHY found at address 1, status 0x7849 advertising 05e1 Link 0000.
  196. I2O subsystem v1.325
  197. i2o: max drivers = 8
  198. I2O Configuration OSM v1.323
  199. I2O Bus Adapter OSM v1.317
  200. I2O Block Device OSM v1.325
  201. I2O SCSI Peripheral OSM v1.316
  202. I2O ProcFS OSM v1.316
  203. PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
  204. PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
  205. serio: i8042 KBD port at 0x60,0x64 irq 1
  206. mice: PS/2 mouse device common for all mice
  207. IR NEC protocol handler initialized
  208. IR RC5(x) protocol handler initialized
  209. IR RC6 protocol handler initialized
  210. IR JVC protocol handler initialized
  211. IR Sony protocol handler initialized
  212. Linux video capture interface: v2.00
  213. vivi-000: V4L2 device registered as video0
  214. Video Technology Magazine Virtual Video Capture Board ver 0.7.0 successfully loaded.
  215. ACPI: resource vt8231 [io  0x6000-0x607f] conflicts with ACPI region IP3_ [??? 0x0000603a flags 0x5f]
  216. ACPI: If an ACPI driver is available for this device, you should use it instead of the native driver
  217. md: raid0 personality registered for level 0
  218. md: raid1 personality registered for level 1
  219. md: raid6 personality registered for level 6
  220. md: raid5 personality registered for level 5
  221. md: raid4 personality registered for level 4
  222. cpuidle: using governor ladder
  223. ioatdma: Intel(R) QuickData Technology Driver 4.00
  224. input: AT Translated Set 2 keyboard as /class/input/input0
  225. TCP cubic registered
  226. NET: Registered protocol family 17
  227. registered taskstats version 1
  228. BIOS EDD facility v0.16 2004-Jun-25, 1 devices found
  229. Freeing unused kernel memory: 340k freed
  230. Kernel panic - not syncing: Attempted to kill init!
  231. Pid: 1, comm: init Not tainted 2.6.35-gentoo-r8 #1
  232. Call Trace:
  233. [<c03cb00c>] ? printk+0xf/0x11
  234. [<c03caf92>] panic+0x4b/0xb6
  235. [<c011e362>] do_exit+0x54/0x51a
  236. [<c011e86a>] do_group_exit+0x42/0x63
  237. [<c0125e37>] get_signal_to_deliver+0x282/0x293
  238. [<c0103012>] ? do_invalid_op+0x0/0x7b
  239. [<c0101a62>] do_signal+0x58/0x665
  240. [<c0102d1e>] ? do_trap+0x54/0xa1
  241. [<c0112e61>] ? do_page_fault+0x2a8/0x2d7
  242. [<c0112e61>] ? do_page_fault+0x2a8/0x2d7
  243. [<c010889b>] ? do_set_thread_area+0x91/0xa3
  244. [<c0103012>] ? do_invalid_op+0x0/0x7b
  245. [<c0102092>] do_notify_resume+0x23/0x55
  246. [<c03ccb8e>] work_notifysig+0x13/0x25
  247. [<c0103012>] ? do_invalid_op+0x0/0x7b
复制代码
发表于 2010-9-26 19:57:17 | 显示全部楼层
文件系统里面的 init 有问题。
重新编译一下你的系统吧。内核是没有问题的。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-26 20:13:11 | 显示全部楼层
好的,谢谢,我改了CFLAGS,emerge -e world一次试试。
  1. root@F35:~# cat /proc/cpuinfo
  2. processor       : 0
  3. vendor_id       : CentaurHauls
  4. cpu family      : 6
  5. model           : 7
  6. model name      : VIA Samuel 2
  7. stepping        : 3
  8. cpu MHz         : 533.344
  9. cache size      : 64 KB
  10. fdiv_bug        : no
  11. hlt_bug         : no
  12. f00f_bug        : no
  13. coma_bug        : no
  14. fpu             : yes
  15. fpu_exception   : yes
  16. cpuid level     : 1
  17. wp              : yes
  18. flags           : fpu de tsc msr cx8 mtrr pge mmx 3dnow up
  19. bogomips        : 1066.68
  20. clflush size    : 32
  21. power management:
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-26 21:33:25 | 显示全部楼层
不过这个533 Mhz的频率e world可不容易,后天见。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-27 08:08:58 | 显示全部楼层
重新编译了,还是起不来
  1. hda: Hitachi HTS541680J9AT00, ATA DISK drive
  2. hda: UDMA/100 mode selected
  3. ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
  4. ide1 at 0x170-0x177,0x376 on irq 15
  5. ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
  6. ide-gd driver 1.18
  7. hda: max request size: 512KiB
  8. hda: 156301488 sectors (80026 MB) w/7512KiB Cache, CHS=16383/255/63
  9. hda: cache flushes supported
  10. hda: hda1 hda2 hda3
  11. ide-cd driver 5.00
  12. Loading iSCSI transport class v2.0-870.
  13. iscsi: registered transport (tcp)
  14. PNP: PS/2 Controller [PNP0303:PS2K] at 0x60,0x64 irq 1
  15. PNP: PS/2 appears to have AUX port disabled, if this is incorrect please boot with i8042.nopnp
  16. serio: i8042 KBD port at 0x60,0x64 irq 1
  17. mice: PS/2 mouse device common for all mice
  18. md: raid0 personality registered for level 0
  19. md: raid1 personality registered for level 1
  20. md: raid6 personality registered for level 6
  21. md: raid5 personality registered for level 5
  22. md: raid4 personality registered for level 4
  23. cpuidle: using governor ladder
  24. ioatdma: Intel(R) QuickData Technology Driver 4.00
  25. TCP cubic registered
  26. NET: Registered protocol family 17
  27. Using IPI No-Shortcut mode
  28. registered taskstats version 1
  29. Freeing unused kernel memory: 456k freed
  30. Kernel panic - not syncing: Attempted to kill init!
  31. Pid: 1, comm: init Not tainted 2.6.35-gentoo-r8 #1
  32. Call Trace:
  33. [<c0404154>] ? printk+0xf/0x11
  34. [<c04040cf>] panic+0x4b/0xc1
  35. [<c0131e20>] do_exit+0x5c/0x611
  36. [<c013b272>] ? __sigqueue_free+0x2d/0x30
  37. [<c013243f>] do_group_exit+0x6a/0x93
  38. [<c013d753>] get_signal_to_deliver+0x336/0x353
  39. [<c0103223>] ? do_invalid_op+0x0/0x80
  40. [<c0101bfe>] do_signal+0x5a/0x69f
  41. [<c0406f2f>] ? do_trap+0x55/0xa2
  42. [<c04090bf>] ? do_page_fault+0x32f/0x35d
  43. [<c04090bf>] ? do_page_fault+0x32f/0x35d
  44. [<c0109e21>] ? set_tls_desc+0x139/0x142
  45. [<c010a12f>] ? do_set_thread_area+0x92/0xa4
  46. [<c0103223>] ? do_invalid_op+0x0/0x80
  47. [<c0102266>] do_notify_resume+0x23/0x62
  48. [<c0406738>] work_notifysig+0x13/0x1b
  49. [<c0103223>] ? do_invalid_op+0x0/0x80
复制代码
以下是参数,我改了,改成i586了,也把SSE和SSE2去掉了,还是不行。
  1. CFLAGS="-O3  -march=i586 -m3dnow -fomit-frame-pointer -mmmx -pipe"
  2. CXXFLAGS="${CFLAGS}"
  3. CHOST="i686-pc-linux-gnu"
复制代码
回复 支持 反对

使用道具 举报

发表于 2010-9-27 09:01:13 | 显示全部楼层
会不会是/etc/fstab没有对?你的硬盘三个分区hda1~3,你检查看看
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-27 09:20:05 | 显示全部楼层
Post by ziyouwaYJ;2113534
会不会是/etc/fstab没有对?你的硬盘三个分区hda1~3,你检查看看


没错的呀,这个不能错,我检查过了。
我现在用486的编译一次试试。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-27 11:17:32 | 显示全部楼层
终于搞定了,原来真的是I686的问题,换486才行。686上不去。
回复 支持 反对

使用道具 举报

发表于 2010-9-27 15:03:39 | 显示全部楼层
LZ 1楼的这些启动信息是怎么得到的?谢谢。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-9-27 16:03:47 | 显示全部楼层
Post by danielliu;2113570
LZ 1楼的这些启动信息是怎么得到的?谢谢。


我开始也郁闷,一个个抄很费劲。
后来一想,把终端输出到串口上就可以了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表