|
From: roy b. <roy...@ya...> - 2007-07-13 20:34:23
|
Hi,
I hope this is the right place to send this.
At the start of this week, I downloaded everything to
build Devil-Linux 1.3.4 (2007-07-11).
I unchecked "Run build with nice" in make
menuconfig,Build Configuration.
The first problems I encountered were these three
packages refused to compile: ncftp,syslinux and
quagga. (Fragments of logs at end of message)
So, I edited .config to set CONFIG_NCFTP and
CONFIG_QUAGGA to n.
As I could not find a CONFIG_SYSLINUX I created
/build/tmp/.done_build_syslinux.
I can live without ncftp,syslinux and quagga for now.
I have a MiniItx box a Light cv700a so can boot of
Flash using Grub.
The build works Ok, but I had to copy
/build/tmp/syslinux-3.51/ppmtolss16 to /sbin to get
'make iso' to work as syslinux had not compiled and
installed.
The Light box failed to boot this code, whimpering
about unabe to /dev/loop.
So, I modified mount_cdrom
changing lines like:
mount -o loop=/dev/loop0 -t iso9660
/cd/bootcd.iso.old $1 || return 1
to
losetup /dev/loop0 /cd/bootcd.iso.old
mount -t iso9660 /dev/loop0 $1 || return 1
and prior to each umount adding:
losetup -d /dev/loop0
I think that the mount command can mount loop devices
:-(
The next issue for me is networking.
The Light cv700a uses 3 RealTek ethernet cards
(8139too)
Which fail to work under devil linux.
I have had the network cards, on this box, work under
centos 4.3.
More puzzling is the lack of networking:
root@Devil:~ # ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436
txqueuelen:0
root@Devil:~ # ifconfig eth0
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
(real mac shown)
BROADCAST MULTICAST MTU:1500
txqueuelen:1000
root@Devil:~ # ifconfig eth0 192.168.2.1 netmask
255.255.255.0
root@Devil:~ # ifconfig eth0
eth0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx
(real mac shown)
inet addr: 192.168.2.1 Bcast:192.168.2.255
Mask:255.255.255.0
BROADCAST MULTICAST MTU:1500
txqueuelen:1000
root@Devil:~ # route -n
Kernel IP routing table
Destination Gateway Genmask Flags
Metric Ref Use Iface
root@Devil:~ # route add -net 192.168.2.0/24 dev eth0
SIOCADDRT: Network is down.
I can ping 127.0.0.1 and 192.168.2.1 on the box
locally but can not get any traffic out of the phsical
interface.
I have redhat linux box connected to the Devil Linux
Light CV700a with a cross over cable.
The packet light flashes on the Devil Linux but no
traffic enters the OS.
The redhat box can't see any arp address for the Light
box.
Please help..
I am willing and able to undertake any build testing
that may help
Many Thanks
Roy.
Fragments of logs
-----------------
/build/tmp/LOGS/build/ncftp
~~~~~~~~~~~~~~~~~~~~~~~~~~~
Compiling DStrCat.c.
gcc -D_REENTRANT -D_LARGEFILE64_SOURCE -O2 -W -Wall
-Wno-format-y2k -DLINUX=2
6021 -DLINUX_GLIBC= -DHAVE_CONFIG_H -DLINUX=26021
-DLINUX_GLIBC= -I/build/tmp
/ncftp-3.2.0 -I/build/tmp/ncftp-3.2.0/libncftp
-I/build/tmp/ncftp-3.2.0/sio -
I/build/tmp/ncftp-3.2.0/Strn DStrCat.c -c
In file included from DStrCat.c:1:
syshdrs.h:57: error: expected identifier or '('
before '__extension__'
/build/tmp/LOGS/build/quagga
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[4]: Entering directory
`/build/tmp/quagga-0.99.7/lib'
gcc -DHAVE_CONFIG_H -DSYSCONFDIR=\"/etc/zebra/\" -I.
-I. -I.. -I.. -I.. -I../lib -I/usr/include/net-snmp
-I/usr/include/net-snmp/library -Os
-fno-omit-frame-pointer -g -std=c99 -Wall
-Wsign-compare -Wpointer-arith -Wbad-function-cast
-Wwrite-strings -Wmissing-prototypes
-Wmissing-declarations -Wchar-subscripts -Wcast-qual
-MT network.lo -MD -MP -MF .deps/network.Tpo -c
network.c -fPIC -DPIC -o .libs/network.o
In file included from
/usr/include/linux/rtnetlink.h:5,
from ./zebra.h:165,
from network.c:23:
/usr/include/linux/if_link.h:43: error: expected
specifier-qualifier-list before '__u64'
In file included from
/usr/include/linux/rtnetlink.h:7,
from ./zebra.h:165,
from network.c:23:
/usr/include/linux/neighbour.h:92: error: expected
specifier-qualifier-list before '__u64'
/build/tmp/LOGS/build/syslinux
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gcc -nopie -fno-stack-protector -m32
-fno-stack-protector -mregparm=3 -DREGPARM=3 -W -Wall
-march=i386 -Os -fomit-frame-pointer
-I../libutil/include -I../include -D__COM32__ -c -o
mboot.o mboot.c
mboot.c: In function 'trampoline_start':
mboot.c:870: error: can't find a register in class
'BREG' while reloading 'asm'
===============================
___________________________________________________________
Inbox full of unwanted email? Get leading protection and 1GB storage with All New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html
|