天嵌 ARM开发社区

 找回密码
 注册
查看: 6925|回复: 21

/etc/rc.d/init.d/httpd: line 16: /sbin/boa: not found

[复制链接]
Andy 发表于 2009-4-12 21:49:21 | 显示全部楼层 |阅读模式
##### EmbedSky BIOS for SKY2440 #####

Start the LINUX now!

Copy linux kernel from 0x00050000 to 0x30008000, size = 0x00200000 ... done.
Uncompressing Linux........................................................................................................... done, booting the kernel.
Linux version 2.6.25.8 (root@localhost.localdomain) (gcc version 3.4.5) #11 Sun Apr 12 21:24:32 CST 2009
CPU: ARM920T [41129200] revision 0 (ARMv4T), cr=c0007177
Machine: SMDK2440
ATAG_INITRD is deprecated; please update your bootloader.
Memory policy: ECC disabled, Data cache writeback
CPU S3C2440A (id 0x32440001)
S3C244X: core 405.000 MHz, memory 101.250 MHz, peripheral 50.625 MHz
S3C24XX 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 in Zone order, mobility grouping on.  Total pages: 16256
Kernel command line:  noinitrd root=/dev/mtdblock2 init=/linuxrc console=ttySAC0
irq: clearing pending status 02000000
irq: clearing subpending status 00000002
PID hash table entries: 256 (order: 8, 1024 bytes)
timer tcon=00000000, tcnt a4ca, tcfg 00000200,00000000, usec 00001e57
Console: colour dummy device 80x30
console [ttySAC0] enabled
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: 61440KB available (3020K code, 262K data, 164K init)
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
net_namespace: 152 bytes
NET: Registered protocol family 16
S3C2410 Power Management, (c) 2004 Simtec Electronics
S3C2440: Initialising architecture
S3C2440: IRQ Support
S3C24XX DMA Driver, (c) 2003-2004,2006 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
S3C244X: Clock Support, DVS off
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
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
NetWinder Floating Point Emulator V0.97 (double precision)
fuse init (API version 7.9)
yaffs Apr  8 2009 17:46:30 Installing.
io scheduler noop registered
io scheduler anticipatory registered (default)
io scheduler deadline registered
io scheduler cfq registered
Failed to allocate video RAM: -12
s3c2410-lcd: probe of s3c2410-lcd failed with error -12
lp: driver loaded but no devices found
ppdev: user-space parallel port driver
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
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
brd: module loaded
loop: module loaded
dm9000 Ethernet Driver
eth%d: Invalid ethernet MAC address.  Please set using ifconfig
eth0: dm9000 at c4802000,c4804004 IRQ 51 MAC: ff:ff:ff:ff:ff:ff
Uniform Multi-Platform E-IDE driver
ide: Assuming 50MHz system bus speed for PIO modes; override with idebus=xx
Driver 'sd' needs updating - please use bus_type methods
Driver 'sr' needs updating - please use bus_type methods
S3C24XX NAND Driver, (c) 2004 Simtec Electronics
s3c2440-nand s3c2440-nand: Tacls=2, 19ns Twrph0=3 29ns, Twrph1=2 19ns
NAND device: Manufacturer ID: 0xec, Chip ID: 0x76 (Samsung NAND 64MiB 3,3V 8-bit)
Scanning device for bad blocks
Bad eraseblock 7 at 0x0001c000
Bad eraseblock 8 at 0x00020000
Bad eraseblock 9 at 0x00024000
Bad eraseblock 10 at 0x00028000
Bad eraseblock 11 at 0x0002c000
Bad eraseblock 12 at 0x00030000
Bad eraseblock 13 at 0x00034000
Bad eraseblock 14 at 0x00038000
Bad eraseblock 15 at 0x0003c000
Bad eraseblock 16 at 0x00040000
Bad eraseblock 17 at 0x00044000
Bad eraseblock 18 at 0x00048000
Bad eraseblock 149 at 0x00254000
Bad eraseblock 150 at 0x00258000
Creating 3 MTD partitions on "NAND 64MiB 3,3V 8-bit":
0x00000000-0x00040000 : "TQ2440_uboot"
0x0004c000-0x0024c000 : "TQ2440_kernel"
0x0024c000-0x03ffc000 : "TQ2440yaffs2"
usbmon: debugfs is not available
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
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
s3c2410_udc: debugfs dir creation failed -19
s3c2440-usbgadget s3c2440-usbgadget: S3C2440: increasing FIFO to 128 bytes
mice: PS/2 mouse device common for all mice
S3C24XX RTC, (c) 2004,2006 Simtec Electronics
s3c2440-i2c s3c2440-i2c: slave address 0x10
s3c2440-i2c s3c2440-i2c: bus frequency set to 98 KHz
s3c2440-i2c s3c2440-i2c: i2c-0: S3C I2C adapter
S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
drivers/hid/usbhid/hid-core.c: v2.6:USB HID core driver
TCP cubic registered
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
end_request: I/O error, dev mtdblock2, sector 64
isofs_fill_super: bread failed, dev=mtdblock2, iso_blknum=16, block=32
yaffs: dev is 32505858 name is "mtdblock2"
yaffs: passed flags ""
yaffs: Attempting MTD mount on 31.2, "mtdblock2"
yaffs: block 2 is marked bad
block 3 is bad
yaffs: block 3 is marked bad
block 4 is bad
yaffs_read_super: isCheckpointed 0
VFS: Mounted root (yaffs filesystem).
Freeing init memory: 164K
eth0: link down
/etc/rc.d/init.d/httpd: line 16: /sbin/boa: not found

Please press Enter to activate this console. eth0: link up, 100Mbps, full-duplex, lpa 0x45E1

[root@EmbedSky /]#
 楼主| Andy 发表于 2009-4-12 21:51:58 | 显示全部楼层
/etc/rc.d/init.d/httpd: line 16: /sbin/boa: not found
这个对系统的运行有没有影响,怎么解决。因为现在我的LCD点不亮,按照Step By Step做开机
LOGO,没有成功。
 楼主| Andy 发表于 2009-4-12 23:13:35 | 显示全部楼层
s3c2410-lcd: probe of s3c2410-lcd failed with error -12
LCD的问题应该是这个,但不知怎解决。
亚瑟王 发表于 2009-4-13 13:14:36 | 显示全部楼层
你的文件系统里面没有添加web服务器的boa文件。应该是你的LCD驱动移植有误。
 楼主| Andy 发表于 2009-4-14 13:54:07 | 显示全部楼层
/etc/rc.d/init.d/httpd: line 16: /sbin/boa: not found

问题解决了,谢谢亚瑟王!

继续打搅大家:请问这个问题怎么解决。
s3c2410-lcd: probe of s3c2410-lcd failed with error -12
在线守候!
g_salamander 发表于 2010-3-20 17:44:06 | 显示全部楼层
本帖最后由 g_salamander 于 2010-3-20 17:59 编辑

我出现的错误也是“/etc/rc.d/init.d/httpd: line 16: /sbin/boa: not found”

但是我从公司提供的文件系统里面复制了boa到我自己做的文件系统里面的啊,而且都是按照教程一步一步做的,不知道这是什么原因。谢谢解答:)
g_salamander 发表于 2010-3-20 21:21:46 | 显示全部楼层
本帖最后由 g_salamander 于 2010-3-20 21:23 编辑

这里还补充下问题,我把boa复制到sbin目录里了的,而且权限设置的是777

[root@EmbedSky /sbin]# ls
AV_test                       fsck                   loadkmap           raidautorun
EmbedSky_wdg       fsck.minix         logread               reboot
adc_test                     getty                  losetup               rmmod
adjtimex                     halt                    lsmod                  route
arm-udptest               hdparm             madplay            runlevel
arp                              hello-c               makedevs          setconsole
backlight                    hello-c++          man                     slattach
beep                           hwclock            mathtest              start-stop-daemon
blkid                            i2c_rw              mdev                   sulogin
boa                             ifconfig              mkfs.minix          swapoff
buttons                       ifdown              mkswap              swapon
camera_test              ifenslave          modprobe           switch_root
depmod                     ifup                    nameif                sysctl
devmem                    init                     net_set                syslogd
fbsplash                    insmod             net_set~              udhcpc
fdisk                           klogd                 pivot_root          vconfig
findfs                         led-player         poweroff             watchdog
freeramdisk              leds                   pthread              zcip
[root@EmbedSky /sbin]# ./boa
-/bin/sh: ./boa: not found        /*这里为什么是not found呢?*/
亚瑟王 发表于 2010-3-22 12:56:46 | 显示全部楼层
你从什么文件系统复制boa到你的文件系统呢?
g_salamander 发表于 2010-3-22 14:46:16 | 显示全部楼层
8# 亚瑟王

是从公司光盘里制作好的root_qtopia_2.2.0_2.6.30.4文件系统里面复制过来的,复制过来运行不了,而且还提示not found。还有个问题我想问一下就是boa运行的时候会用到哪些动态库文件呢?谢谢:)
亚瑟王 发表于 2010-3-22 19:24:39 | 显示全部楼层
那你编译busybox的编译器是4.3.3的吗?你是把boa放到sbin目录下的吗?
g_salamander 发表于 2010-3-22 21:39:14 | 显示全部楼层
本帖最后由 g_salamander 于 2010-3-22 21:41 编辑

10# 亚瑟王


编译是根据教程做的,应该没有问题,系统其他方面都正常.就是不能启动boa,boa我是从公司光盘制作好的文件系统复制到我的文件系统的sbin目录下了的,把我的文件系统下载到开发板在开发板的sbin目录下运行"./boa"提示"not found".但是我看见boa就在sbin里面的啊.汗...我在网上看可能和boa的库文件有关,就是不知道boa运行需要哪些库文件呢?谢谢:)
亚瑟王 发表于 2010-3-23 11:48:05 | 显示全部楼层
你还是没有回答我的问题,我想确认你是用什么编译器编译的文件系统,因为在光盘中的2.6.30.4的文件系统中使用的是4.3.3的编译器编译的boa文件,在Linux移植手册的附录中web服务器的章节,建议你看一下啊。
g_salamander 发表于 2010-3-23 17:52:17 | 显示全部楼层
本帖最后由 g_salamander 于 2010-3-23 18:09 编辑

12# 亚瑟王
恩,我是用的4.3.3的编译器编译的busybox.我还有个问题就是想问下boa运行需要哪几个库文件呢?谢谢:)
hai8108 发表于 2010-3-24 12:25:24 | 显示全部楼层
本帖最后由 hai8108 于 2010-3-24 12:29 编辑

5# Andy

Failed to allocate video RAM: -12
s3c2410-lcd: probe of s3c2410-lcd failed with error -12

我也碰到这个问题,不知道怎么回事?完全按照手册做的,兄弟你现在解决了没有???还有我的用自己配制的linux内核与自己移植的文件系统竟然进不了界面,换成开发板源码linux核与我自己的文件系统就能进!我怀疑就是这个问题产生的结果。。。  
  
亚瑟王,这到底是怎么回事呢??
hai8108 发表于 2010-3-24 12:30:31 | 显示全部楼层
14# hai8108


Failed to allocate video RAM: -12
s3c2410-lcd: probe of s3c2410-lcd failed with error -12
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

i.MX8系列ARM cortex A53 M4 工控板上一条 /1 下一条

Archiver|手机版|小黑屋|天嵌 嵌入式开发社区 ( 粤ICP备11094220号 )

GMT+8, 2024-4-29 06:55 , Processed in 1.062500 second(s), 18 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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