Newmake und 2.6er Kernel Problem

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
Liontamer
Klöppelliese
Beiträge: 1644
Registriert: Donnerstag 8. August 2002, 12:51

Newmake und 2.6er Kernel Problem

Beitrag von Liontamer »

Ich wollte einmal ein Image mit dem 2.6er Kernel bauen und testen.

Dazu habe ich

Code: Alles auswählen

./configure --enable-kernel26 --with-cvsdir=$HOME/tuxbox-cvs --prefix=$HOME/tuxbox-cvs/dbox2
und danach

Code: Alles auswählen

make flash-all-all-all
eingegeben.

Daraufhin erhalte ich nach einiger Zeit diesen Fehler:

Code: Alles auswählen

/bin/sh ../libtool --tag=CXX   --mode=compile powerpc-tuxbox-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I..  -I./rfb -I/home/daniel/tuxbox-cvs/dbox2/cdkroot/include/freetype2 -I/home/daniel/tuxbox-cvs/dbox2/cdkroot/include/tuxbox   -I../include -I/home/daniel/tuxbox-cvs/dbox2/cdkroot/include -I/home/daniel/tuxbox-cvs/driver/include -I/home/daniel/tuxbox-cvs/dbox2/cdkroot/include -I/home/daniel/tuxbox-cvs/driver/include    -Wall -pipe -Os -MT fbvnc.lo -MD -MP -MF .deps/fbvnc.Tpo -c -o fbvnc.lo fbvnc.cpp
 powerpc-tuxbox-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I./rfb -I/home/daniel/tuxbox-cvs/dbox2/cdkroot/include/freetype2 -I/home/daniel/tuxbox-cvs/dbox2/cdkroot/include/tuxbox -I../include -I/home/daniel/tuxbox-cvs/dbox2/cdkroot/include -I/home/daniel/tuxbox-cvs/driver/include -I/home/daniel/tuxbox-cvs/dbox2/cdkroot/include -I/home/daniel/tuxbox-cvs/driver/include -Wall -pipe -Os -MT fbvnc.lo -MD -MP -MF .deps/fbvnc.Tpo -c fbvnc.cpp  -fPIC -DPIC -o .libs/fbvnc.o
In file included from fbvnc.cpp:24:
/home/daniel/tuxbox-cvs/driver/include/dbox/fb.h:13: error: conflicting declaration 'typedef struct fb_copyarea fb_copyarea'
/home/daniel/tuxbox-cvs/dbox2/cdk/lib/gcc/powerpc-tuxbox-linux-gnu/3.4.6/../../../../powerpc-tuxbox-linux-gnu/include/linux/fb.h:321: error: 'struct fb_copyarea' has a previous declaration as `struct fb_copyarea'
fbvnc.cpp: In function `void show_pnm_image()':
fbvnc.cpp:1397: warning: unsigned int format, pointer arg (arg 2)
make[3]: *** [fbvnc.lo] Fehler 1
make[3]: Verlasse Verzeichnis '/home/daniel/tuxbox-cvs/apps/tuxbox/plugins/vncviewer'
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlasse Verzeichnis '/home/daniel/tuxbox-cvs/apps/tuxbox/plugins/vncviewer'
make[1]: *** [flash-vncviewer] Fehler 2
make[1]: Verlasse Verzeichnis '/home/daniel/tuxbox-cvs/cdk'
make: *** [/home/daniel/tuxbox-cvs/dbox2/cdkflash/root] Fehler 2
Und nach einem nachmaligem Start:

Code: Alles auswählen

powerpc-tuxbox-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../.. -I../../daemons -I../../src -I/home/daniel/tuxbox-cvs/dbox2/cdkroot/include/tuxbox   -I/home/daniel/tuxbox-cvs/dbox2/cdkroot/include/freetype2 -I/home/daniel/tuxbox-cvs/dbox2/cdkroot/include/tuxbox -I/home/daniel/tuxbox-cvs/dbox2/cdkroot/include/tuxbox   -I/home/daniel/tuxbox-cvs/dbox2/cdkroot/include/tuxbox/mpegtools   -I/home/daniel/tuxbox-cvs/dbox2/cdkroot/include -I/home/daniel/tuxbox-cvs/driver/include -I../../lib   -I/home/daniel/tuxbox-cvs/dbox2/cdkroot/include -I/home/daniel/tuxbox-cvs/driver/include  -Wall -pipe -Os -MT alphasetup.o -MD -MP -MF .deps/alphasetup.Tpo -c -o alphasetup.o alphasetup.cpp
In file included from alphasetup.cpp:56:
/home/daniel/tuxbox-cvs/driver/include/dbox/fb.h:13: error: conflicting declaration 'typedef struct fb_copyarea fb_copyarea'
/home/daniel/tuxbox-cvs/dbox2/cdk/lib/gcc/powerpc-tuxbox-linux-gnu/3.4.6/../../../../powerpc-tuxbox-linux-gnu/include/linux/fb.h:321: error: 'struct fb_copyarea' has a previous declaration as `struct fb_copyarea'
make[5]: *** [alphasetup.o] Fehler 1
make[5]: Verlasse Verzeichnis '/home/daniel/tuxbox-cvs/apps/tuxbox/neutrino/src/gui'
make[4]: *** [all-recursive] Fehler 1
make[4]: Verlasse Verzeichnis '/home/daniel/tuxbox-cvs/apps/tuxbox/neutrino/src/gui'
make[3]: *** [all-recursive] Fehler 1
make[3]: Verlasse Verzeichnis '/home/daniel/tuxbox-cvs/apps/tuxbox/neutrino/src'
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlasse Verzeichnis '/home/daniel/tuxbox-cvs/apps/tuxbox/neutrino'
make[1]: *** [all] Fehler 2
make[1]: Verlasse Verzeichnis '/home/daniel/tuxbox-cvs/apps/tuxbox/neutrino'
make: *** [/home/daniel/tuxbox-cvs/dbox2/cdkflash/root-neutrino] Fehler 2
Houdini
Developer
Beiträge: 2183
Registriert: Mittwoch 10. Dezember 2003, 07:59

Beitrag von Houdini »

war/ist dein $HOME/tuxbox-cvs/dbox2 leer oder gibts da noch 2.4er "Leichen"
Liontamer
Klöppelliese
Beiträge: 1644
Registriert: Donnerstag 8. August 2002, 12:51

Beitrag von Liontamer »

Bin mir nicht sicher, ob da noch was lag oder ob das vom aktuellen make stammt.
Zur sicherheit mache ich grad nocheinmal ein distclean und checke neu aus. Werde mich dann nochmal melden.
Houdini
Developer
Beiträge: 2183
Registriert: Mittwoch 10. Dezember 2003, 07:59

Beitrag von Houdini »

und du musst natürlich auch den 2.6 er Tag des driver directories auschecken
Liontamer
Klöppelliese
Beiträge: 1644
Registriert: Donnerstag 8. August 2002, 12:51

Beitrag von Liontamer »

Ok, ab da versteh ich schon nicht mehr, wie ich da vorgehen muss. Wie check ich das richtig aus?

Jetzt läuft er schon deutlich weiter, bricht aber folgendermaßen ab:

Code: Alles auswählen

  LD      init/built-in.o
  LD      .tmp_vmlinux1
  KSYM    .tmp_kallsyms1.S
  AS      .tmp_kallsyms1.o
  LD      .tmp_vmlinux2
  KSYM    .tmp_kallsyms2.S
  AS      .tmp_kallsyms2.o
  LD      vmlinux.o
  MODPOST vmlinux.o
WARNING: vmlinux.o(.text+0x2030): Section mismatch: reference to .init.text:early_init (between 'start_here' and 'initial_mmu')
WARNING: vmlinux.o(.text+0x2048): Section mismatch: reference to .init.text:machine_init (between 'start_here' and 'initial_mmu')
WARNING: vmlinux.o(.text+0x204c): Section mismatch: reference to .init.text:MMU_init (between 'start_here' and 'initial_mmu')
WARNING: vmlinux.o(.text+0x20a2): Section mismatch: reference to .init.text:start_kernel (between 'start_here' and 'initial_mmu')
WARNING: vmlinux.o(.text+0x20a6): Section mismatch: reference to .init.text:start_kernel (between 'start_here' and 'initial_mmu')
  LD      vmlinux
  SYSMAP  System.map
  SYSMAP  .tmp_System.map
  OBJCOPY arch/ppc/boot/images/vmlinux.bin
  GZIP    arch/ppc/boot/images/vmlinux.gz
  UIMAGE  arch/ppc/boot/images/uImage
Image Name:   Linux-2.6.23-dbox2
Created:      Fri Dec 28 21:50:52 2007
Image Type:   PowerPC Linux Kernel Image (gzip compressed)
Data Size:    925066 Bytes = 903.38 kB = 0.88 MB
Load Address: 0x00000000
Entry Point:  0x00000000
  Image: arch/ppc/boot/images/uImage is ready
  Building modules, stage 2.
  MODPOST 4 modules
  CC      fs/autofs4/autofs4.mod.o
  LD [M]  fs/autofs4/autofs4.ko
  CC      fs/lockd/lockd.mod.o
  LD [M]  fs/lockd/lockd.ko
  CC      fs/nfs/nfs.mod.o
  LD [M]  fs/nfs/nfs.ko
  CC      net/sunrpc/sunrpc.mod.o
  LD [M]  net/sunrpc/sunrpc.ko
make[2]: Verlasse Verzeichnis '/home/daniel/tuxbox-cvs/cdk/linux-2.6.23'
make -C linux-2.6.23 modules_install \
                ARCH=ppc \
                CROSS_COMPILE=powerpc-tuxbox-linux-gnu- \
                INSTALL_MOD_PATH=/home/daniel/tuxbox-cvs/dbox2/cdkflash/root-cramfs
make[2]: Betrete Verzeichnis '/home/daniel/tuxbox-cvs/cdk/linux-2.6.23'
  INSTALL fs/autofs4/autofs4.ko
  INSTALL fs/lockd/lockd.ko
  INSTALL fs/nfs/nfs.ko
  INSTALL net/sunrpc/sunrpc.ko
if [ -r System.map -a -x /sbin/depmod ]; then /sbin/depmod -ae -F System.map -b /home/daniel/tuxbox-cvs/dbox2/cdkflash/root-cramfs -r 2.6.23-dbox2; fi
make[2]: Verlasse Verzeichnis '/home/daniel/tuxbox-cvs/cdk/linux-2.6.23'
make[1]: Verlasse Verzeichnis '/home/daniel/tuxbox-cvs/cdk'
/usr/bin/install -c -m644 linux-2.6.23/arch/ppc/boot/images/uImage /home/daniel/tuxbox-cvs/dbox2/cdkflash/root-cramfs/vmlinuz
make driver targetprefix=/home/daniel/tuxbox-cvs/dbox2/cdkflash/root-cramfs
make[1]: Betrete Verzeichnis '/home/daniel/tuxbox-cvs/cdk'
make -C /home/daniel/tuxbox-cvs/driver \
                KERNEL_LOCATION=/home/daniel/tuxbox-cvs/cdk/linux \
                CROSS_COMPILE=powerpc-tuxbox-linux-gnu-
make[2]: Betrete Verzeichnis '/home/daniel/tuxbox-cvs/driver'
Rules.make:1: /home/daniel/tuxbox-cvs/cdk/linux/Rules.make: No such file or directory
make[2]: *** Keine Regel, um »/home/daniel/tuxbox-cvs/cdk/linux/Rules.make« zu erstellen.  Schluss.
make[2]: Verlasse Verzeichnis '/home/daniel/tuxbox-cvs/driver'
make[1]: *** [driver] Fehler 2
make[1]: Verlasse Verzeichnis '/home/daniel/tuxbox-cvs/cdk'
make: *** [/home/daniel/tuxbox-cvs/dbox2/cdkflash/root-cramfs] Fehler 2
Tommy
Tuxboxer
Tuxboxer
Beiträge: 4332
Registriert: Dienstag 7. Mai 2002, 17:04

Beitrag von Tommy »

da hängste in der depmod Ecke. Poste mal depmod --version

mit der 3.x (2) gehts
---------------------------
Alle weiteren Infos findest Du im WIKI
Bitte vor dem posten Boardregeln lesen und verstehen!
Wie erstelle ich ein Bootlog? Wo finde ich die FAQ?
Liontamer
Klöppelliese
Beiträge: 1644
Registriert: Donnerstag 8. August 2002, 12:51

Beitrag von Liontamer »

Code: Alles auswählen

daniel@Kubuntu-desktop:~$ depmod --version
module-init-tools 3.3-pre2
Striper
Erleuchteter
Erleuchteter
Beiträge: 625
Registriert: Samstag 8. September 2007, 16:17

Beitrag von Striper »

Liontamer hat geschrieben:Ok, ab da versteh ich schon nicht mehr, wie ich da vorgehen muss. Wie check ich das richtig aus?

Code: Alles auswählen

cvs -d anoncvs@cvs.tuxbox.org:/cvs/tuxbox -z3 co -f -r newmake -P .

cvs -qz3 up -dP -r driver_2_6_branch driver/

sh autogen.sh

sh configure --enable-maintainer-mode --with-cvsdir=$HOME/Kernel26/tuxbox_cvs --prefix=$HOME/Kernel26/dbox2 --with-checkImage=rename --enable-kernel26 --enable-ccache

make flash-all-all-all
Damit sollte es klappen. Die Verzeichnisse musst hald noch anpassen im configure.
Liontamer
Klöppelliese
Beiträge: 1644
Registriert: Donnerstag 8. August 2002, 12:51

Beitrag von Liontamer »

Danke, das werde ich mal so probieren.
Liontamer
Klöppelliese
Beiträge: 1644
Registriert: Donnerstag 8. August 2002, 12:51

Beitrag von Liontamer »

Ok, jetzt läuft er fast komplett durch:

Code: Alles auswählen

make -C /home/daniel/kernel26//apps/tuxbox/tools/camd install prefix=/home/daniel/kernel26/dbox2/cdkflash/var-enigma
make[1]: Betrete Verzeichnis '/home/daniel/kernel26/apps/tuxbox/tools/camd'
make[2]: Betrete Verzeichnis '/home/daniel/kernel26/apps/tuxbox/tools/camd'
test -z "/home/daniel/kernel26/dbox2/cdkflash/var-enigma/bin" || /bin/mkdir -p "/home/daniel/kernel26/dbox2/cdkflash/var-enigma/bin"
  /usr/bin/install -c 'camd2' '/home/daniel/kernel26/dbox2/cdkflash/var-enigma/bin/camd2'
make[2]: Für das Ziel »install-data-am« ist nichts zu tun.
make[2]: Verlasse Verzeichnis '/home/daniel/kernel26/apps/tuxbox/tools/camd'
make[1]: Verlasse Verzeichnis '/home/daniel/kernel26/apps/tuxbox/tools/camd'
powerpc-tuxbox-linux-gnu-strip --remove-section=.comment --remove-section=.note /home/daniel/kernel26/dbox2/cdkflash/var-enigma/bin/camd2
[ -x /home/daniel/kernel26/cdk/var-enigma-local.sh ] && /home/daniel/kernel26/cdk/var-enigma-local.sh /home/daniel/kernel26/dbox2/cdkflash /home/daniel/kernel26/cdk || true
/home/daniel/kernel26/dbox2/cdk/bin/mkfs.jffs2 -b -e 131072 -p -r /home/daniel/kernel26/dbox2/cdkflash/var-enigma -o /home/daniel/kernel26/dbox2/cdkflash/var-enigma.jffs2
/home/daniel/kernel26//hostapps/flash/flashmanage.pl -i /home/daniel/kernel26/dbox2/cdkflash/enigma-cramfs.img1x -o build \
                --rootsize=0x660000 \
                --part ppcboot=/home/daniel/kernel26/dbox2/cdkflash/cramfs.flfs1x \
                --part root=/home/daniel/kernel26/dbox2/cdkflash/root-enigma.cramfs \
                --part var=/home/daniel/kernel26/dbox2/cdkflash/var-enigma.jffs2
flashmanage fatal error: File /home/daniel/kernel26/dbox2/cdkflash/root-enigma.cramfs too large (6864896 > 6684672)
make: *** [/home/daniel/kernel26/dbox2/cdkflash/enigma-cramfs.img1x] Fehler 1
Ich deute das so, dass die Partition zu groß fürs Flash ist?

Als Images erhalte ich das hier:

Code: Alles auswählen

daniel@Kubuntu-desktop:~/kernel26/dbox2/cdkflash$ ls -la
insgesamt 75984
drwxr-xr-x 14 daniel daniel    4096 2007-12-29 10:18 .
drwxr-xr-x  6 daniel daniel    4096 2007-12-28 22:26 ..
-rw-r--r--  1 daniel daniel  131072 2007-12-29 09:36 cramfs.flfs1x
-rw-r--r--  1 daniel daniel  131072 2007-12-29 09:36 cramfs.flfs2x
-rw-r--r--  1 daniel daniel  131072 2007-12-29 10:06 jffs2.flfs1x
-rw-r--r--  1 daniel daniel  131072 2007-12-29 10:06 jffs2.flfs2x
-rw-r--r--  1 daniel daniel 8257536 2007-12-29 10:02 neutrino-cramfs.img1x
-rw-r--r--  1 daniel daniel 8257536 2007-12-29 10:02 neutrino-cramfs.img2x
-rw-r--r--  1 daniel daniel 8257536 2007-12-29 10:07 neutrino-jffs2.img1x
-rw-r--r--  1 daniel daniel 8257536 2007-12-29 10:07 neutrino-jffs2.img2x
-rw-r--r--  1 daniel daniel 8257536 2007-12-29 10:05 neutrino-squashfs.img1x
-rw-r--r--  1 daniel daniel 8257536 2007-12-29 10:05 neutrino-squashfs.img2x
drwxr-xr-x 15 daniel daniel    4096 2007-12-29 09:53 root
drwxr-xr-x  3 daniel daniel    4096 2007-12-29 09:40 root-cramfs
drwxr-xr-x  7 daniel daniel    4096 2007-12-29 10:16 root-enigma
drwxr-xr-x 14 daniel daniel    4096 2007-12-29 10:17 root-enigma-cramfs
-rw-r--r--  1 daniel daniel 6864896 2007-12-29 10:18 root-enigma.cramfs
drwxr-xr-x  3 daniel daniel    4096 2007-12-29 10:06 root-jffs2
drwxr-xr-x  8 daniel daniel    4096 2007-12-29 10:01 root-neutrino
drwxr-xr-x 14 daniel daniel    4096 2007-12-29 10:02 root-neutrino-cramfs
-rw-r--r--  1 daniel daniel 6328320 2007-12-29 10:02 root-neutrino.cramfs
drwxr-xr-x 14 daniel daniel    4096 2007-12-29 10:07 root-neutrino-jffs2
-rw-r--r--  1 daniel daniel 8126464 2007-12-29 10:07 root-neutrino.jffs2
drwxr-xr-x 14 daniel daniel    4096 2007-12-29 10:04 root-neutrino-squashfs
-rw-r--r--  1 daniel daniel 5681152 2007-12-29 10:05 root-neutrino.squashfs
drwxr-xr-x  3 daniel daniel    4096 2007-12-29 10:04 root-squashfs
-rw-r--r--  1 daniel daniel  131072 2007-12-29 10:03 squashfs.flfs1x
-rw-r--r--  1 daniel daniel  131072 2007-12-29 10:03 squashfs.flfs2x
drwxr-xr-x  6 daniel daniel    4096 2007-12-29 10:18 var-enigma
-rw-r--r--  1 daniel daniel  131072 2007-12-29 10:18 var-enigma.jffs2
drwxr-xr-x  6 daniel daniel    4096 2007-12-29 10:02 var-neutrino
-rw-r--r--  1 daniel daniel  131072 2007-12-29 10:02 var-neutrino.jffs2
Diese laufen aber nicht. Beim booten bleiben sie mit "loading kernel" im Display hängen. Ich werde nachher mal ein Nullmodem dranhängen und genauer schauen, wo er hängt.
Liontamer
Klöppelliese
Beiträge: 1644
Registriert: Donnerstag 8. August 2002, 12:51

Beitrag von Liontamer »

Hier als Nachtrag das Bootlog:

Code: Alles auswählen

debug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
debug: BMon V1.0  mID 01
debug: feID 7a    gtxID 0b
debug: fpID 5a     dsID 01-d8.13.1b.07.00.00-bc
debug: HWrev X5  SWrev 0.81
debug: B/Ex/Fl(MB) 32/00/08
WATCHDOG reset enabled
dbox2:root> debug: 
BOOTP/TFTP bootstrap loader (v0.3)
debug: 
debug: Transmitting BOOTP request via broadcast
debug: Given up BOOTP/TFTP boot
boot net failed

Flash-FS bootstrap loader (v1.5)

Found Flash-FS superblock version 3.1
Found file /root/platform/nokia-dbox2/kernel/os in Flash-FS
debug: Got Block #0036

will verify ELF image, start= 0x800000, size= 160436
verify sig: 262
Branching to 0x40000


U-Boot 1.2.0 (Tuxbox) (Dec 29 2007 - 10:02:54)

CPU:   PPC823ZTnnA at 67.200 MHz: 2 kB I-Cache 1 kB D-Cache
         *** Warning: CPU Core has Silicon Bugs -- Check the Errata ***
Board: DBOX2, Nokia, BMon V1.0
       Watchdog enabled
I2C:   ready
DRAM:  32 MB
FLASH:  8 MB
Scanning JFFS2 FS: . done.
find_inode failed for name=boot.conf
load: Failed to find inode
FB:    ready
LCD:   ready
In:    serial
Out:   serial
Err:   serial
Net:   SCC ETHERNET
find_inode failed for name=logo-lcd
load: Failed to find inode
ready - can't find logo in flash
find_inode failed for name=logo-fb
load: Failed to find inode
can't find logo in flash

Options:
  1: console on ttyCPM0 (2.6)
  2: console on fb0
  3: console on ttyS0 (2.4)
Select option (1-3), other keys to stop autoboot:  0 
### FS (squashfs) loading 'vmlinuz' to 0x200000
### FS load complete: 940534 bytes loaded to 0x200000
............................................................... done
Un-Protected 63 sectors
## Booting image at 00200000 ...
   Image Name:   Linux-2.6.23-dbox2
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    940470 Bytes = 918.4 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
[    0.000000] Linux version 2.6.23-dbox2 (daniel@Kubuntu-desktop) (gcc version 3.4.6) #2 PREEMPT Sat Dec 29 10:04:08 CET 2007
[    0.000000] Zone PFN ranges:
[    0.000000]   DMA             0 ->     8192
[    0.000000]   Normal       8192 ->     8192
[    0.000000] Movable zone start PFN for each node
[    0.000000] early_node_map[1] active PFN ranges
[    0.000000]     0:        0 ->     8192
[    0.000000] Built 1 zonelists in Zone order.  Total pages: 8128
[    0.000000] Kernel command line: console=ttyCPM0,9600 root=/dev/mtdblock2 rootfstype=squashfs
[    0.000000] PID hash table entries: 128 (order: 7, 512 bytes)
[    0.000000] Decrementer Frequency = 252000000/60
[    0.000000] m8xx_wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)
[    0.000000] m8xx_wdt: keep-alive trigger installed (PITC: 0x12C0)
[    7.456028] Console: colour dummy device 80x25
[    7.456172] cpm_uart: console: compat mode
[    7.456390] console [ttyCPM0] enabled
[    8.465936] Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
[    8.545041] Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    8.634713] Memory: 30356k available (1564k kernel code, 456k data, 64k init, 0k highmem)
[    8.947718] Mount-cache hash table entries: 512
[    9.013324] NET: Registered protocol family 16
[    9.154510] NET: Registered protocol family 2
[    9.286361] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
[    9.366859] TCP established hash table entries: 1024 (order: 1, 8192 bytes)
[    9.448995] TCP bind hash table entries: 1024 (order: 0, 4096 bytes)
[    9.524741] TCP: Hash tables configured (established 1024 bind 1024)
[    9.600597] TCP reno registered
[    9.666663] dbox2: Nokia board detected.
[    9.731524] squashfs: version 3.3 (2007/10/31) Phillip Lougher
[    9.798445] JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
[    9.872280] io scheduler noop registered
[    9.916679] io scheduler deadline registered (default)
[   10.008410] Serial: CPM driver $Revision: 0.02 $
[   10.060745] cpm_uart: WARNING: no UART devices found on platform bus!
[   10.137514] cpm_uart: the driver will guess configuration, but this mode is no longer supported.
[   10.243023] ttyCPM0 at MMIO 0xff000a80 (irq = 20) is a CPM UART
[   10.315309] ttyCPM1 at MMIO 0xff000a90 (irq = 19) is a CPM UART
[   10.403721] loop: module loaded
[   10.442455] Linux video capture interface: v2.00
[   10.499469] D-Box 2 flash driver (size->0x800000 mem->0x10000000)
[   10.572018] D-Box 2 flash memory: Found 2 x16 devices at 0x0 in 32-bit bank
[   10.652663]  Intel/Sharp Extended Query Table at 0x0035
[   10.714818] cfi_cmdset_0001: Erase suspend on write enabled
[   10.781881] Creating 6 MTD partitions on "D-Box 2 flash memory":
[   10.853306] 0x00000000-0x00020000 : "BR bootloader"
[   10.917738] 0x00020000-0x00040000 : "FLFS (U-Boot)"
[   10.979106] 0x00040000-0x006a0000 : "root (squashfs)"
[   11.042588] 0x006a0000-0x00800000 : "var (JFFS2)"
[   11.101853] 0x00020000-0x00800000 : "Flash without bootloader"
[   11.174897] 0x00000000-0x00800000 : "Complete Flash"
[   11.239335] mice: PS/2 mouse device common for all mice
[   11.307390] eth0: CPM ENET Version 0.2 on SCC2, 00:50:9c:1c:fe:f8
[   11.377148] TCP cubic registered
[   11.416089] NET: Registered protocol family 1
[   11.468088] NET: Registered protocol family 17
[   11.534846] VFS: Mounted root (squashfs filesystem) readonly.
[   11.614499] Freeing unused kernel memory: 64k iît
init started: BusyBox v1.7.2 (2007-12-29 09:44:28 CET)
starting pid 103, tty '': '/etc/init.d/rcS'
/bin/makedevices
/etc/init.d/rcS: line 144: modprobe: not found
/proc/bus/tuxbox/vendor: No such file or directory
/proc/bus/tuxbox/vendor: No such file or directory
/proc/bus/tuxbox/model: No such file or directory
/proc/bus/tuxbox/model: No such file or directory
/proc/bus/tuxbox/submodel: No such file or directory
/proc/bus/tuxbox/submodel: No such file or directory
Detected STB:
        Vendor: Unknown
        Model: Unknown Unknown
/etc/init.d/rcS: line 158: modprobe: not found
/etc/init.d/rcS: line 273: modprobe: not found
/etc/init.d/rcS: line 273: modprobe: not found
/etc/init.d/rcS: line 273: modprobe: not found
/etc/init.d/rcS: line 273: modprobe: not found
/etc/init.d/rcS: line 273: modprobe: not found
/etc/init.d/rcS: line 273: modprobe: not found
/etc/init.d/rcS: line 273: modprobe: not found
/etc/init.d/rcS: line 273: modprobe: not found
/etc/init.d/rcS: line 273: modprobe: not found
/etc/init.d/rcS: line 273: modprobe: not found
/etc/init.d/rcS: line 273: modprobe: not found
Starting the automounter
insmod: sunrpc.o: no module by that name found
insmod: lockd.o: no module by that name found
insmod: nfs.o: no module by that name found
insmod: cifs.o: no module by that name found

starting pid 180, tty '': '/etc/init.d/start'
Thu Jan  1 01:00:00 CET 1970
$Id: sectionsd.cpp,v 1.256 2007/12/21 16:26:59 houdini Exp $
[ConfigFile] Unable to open file /var/tuxbox/config/neutrino.conf for reading.
[sectionsd] /var/tuxbox/config/neutrino.conf not found
[sectionsd] Caching max 6000 events
[sectionsd] Caching 14 days
[sectionsd] Caching 6 hours Extended Text
[sectionsd] Events are old 60min after their end time
/var/tuxbox/config/zapit/epgfilter.xml: No such file or directory
/var/tuxbox/config/mybouquets.xml: No such file or directory
[sectionsd] getUTC: open: No such device or address
[sectionsd] open dmx: No such device or address
[sectionsd] open dmx: No such device or address
[sectionsd] open dmx: No such device or address
[sectionsd] open dmx: No such device or address
[ConfigFile] Unable to open file /var/tuxbox/config/timerd.conf for reading.
[camd] /dev/dvb/adapter0/ca0: No such device or address
$Id: zapit.cpp,v 1.404 2007/12/17 09:53:04 seife Exp $
[ConfigFile] Unable to open file /var/tuxbox/config/zapit/zapit.conf for reading.
[frontend] uncommitted_switch_mode 0
[frontend.cpp:CFrontend:60] /dev/dvb/adapter0/frontend0: No such device or address
[sectionsd] getUTC: open: No such device or address
/var/tuxbox/config/zapit/services.xml: No such file or directory
[audio.cpp:CAudio:37] /dev/dvb/adapter0/audio0: No such device or address
[video.cpp:CVideo:33] /dev/dvb/adapter0/video0: No such device or address
[aviaext.cpp:CAViAext:37] /dev/dbox/aviaEXT: No such file or directory
$Id: controld.cpp,v 1.127 2007/07/01 08:40:13 dbluelle Exp $

[ConfigFile] Unable to open file /var/tuxbox/config/controld.conf for reading.
[controld] /var/tuxbox/config/controld.conf not found
/proc/bus/tuxbox/vendor: No such file or directory
[controld] Boxtype detected: (0)
[controld] /dev/dvb/adapter0/video0: No such device or address
[controld] /dev/dbox/event0: No such file or directory
[controld] /dev/dbox/avs0: No such file or directory
[controld] /dev/dbox/avs0: No such file or directory
[controld] caught exception in eventwatchdog!
FATAL: exception not rethrown
[sectionsd] getUTC: open: No such device or address
[yhttpd] Webserver nhttpd/3.1.6 (yhttpd_core/1.2.0)
LCD (/dev/dbox/lcd0): No such file or directory
[LCDFONT] initializing core...
[LCDFONT] adding font /share/fonts/micron.ttf...OK (Micron/Regular)
[LCDFONT] adding font /share/fonts/micron_bold.ttf...OK (Micron/Bold)
[LCDFONT] adding font /share/fonts/pakenham.ttf...OK (Pakenham/Regular)
[LCDFONT] Intializing font cache...
[yhttpd] Webserver starting...
[sectionsd] getUTC: open: No such device or address
neutrino: /lib/libpng12.so.0: no version information available (required by neutrino)
[sectionsd] getUTC: open: No such device or address
[sectionsd] getUTC: open: No such device or address
starting /bin/neutrino
[neutrino] frameBuffer Instance created
/dev/fb/0: No such device
framebuffer not available.
FBIOPUT_VSCREENINFO: Bad file descriptor
FBIOGET_FSCREENINFO: Bad file descriptor
[neutrino] Error while setting framebuffer mode
Neutrino exited with nonzero exit status, restarting...
[camd] /dev/dvb/adapter0/ca0: No such device or address
[sectionsd] getUTC: open: No such device or address
$Id: controld.cpp,v 1.127 2007/07/01 08:40:13 dbluelle Exp $

[ConfigFile] Unable to open file /var/tuxbox/config/controld.conf for reading.
[controld] /var/tuxbox/config/controld.conf not found
/proc/bus/tuxbox/vendor: No such file or directory
[controld] Boxtype detected: (0)
[controld] /dev/dvb/adapter0/video0: No such device or address
[controld] /dev/dbox/avs0: No such file or directory
[controld] /dev/dbox/event0: No such file or directory
[controld] /dev/dbox/avs0: No such file or directory
[controld] caught exception in eventwatchdog!
FATAL: exception not rethrown
neutrino: /lib/libpng12.so.0: no version information available (required by neutrino)
starting /bin/neutrino
[neutrino] frameBuffer Instance created
/dev/fb/0: No such device
framebuffer not available.
[sectionsd] getUTC: open: No such device or address
FBIOPUT_VSCREENINFO: Bad file descriptor
FBIOGET_FSCREENINFO: Bad file descriptor
[neutrino] Error while setting framebuffer mode
Neutrino exited with nonzero exit status, restarting...
[camd] /dev/dvb/adapter0/ca0: No such device or address
$Id: controld.cpp,v 1.127 2007/07/01 08:40:13 dbluelle Exp $
Wobei er in einem permanentem Loop festhängt

Wenn ich dann eine controld.conf einspiele, ändert sich auch nicht viel. Dann loopt er mit:

Code: Alles auswählen

/proc/bus/tuxbox/vendor: No such file or directory
[controld] Boxtype detected: (0)
[controld] /dev/dbox/event0: No such file or directory
[controld] caught exception in eventwatchdog!
FATAL: exception not rethrown
neutrino: /lib/libpng12.so.0: no version information available (required by neutrino)
[sectionsd] getUTC: open: No such device or address
starting /bin/neutrino
[neutrino] frameBuffer Instance created
/dev/fb/0: No such device
framebuffer not available.
FBIOPUT_VSCREENINFO: Bad file descriptor
FBIOGET_FSCREENINFO: Bad file descriptor
[neutrino] Error while setting framebuffer mode
Neutrino exited with nonzero exit status, restarting...
[camd] /dev/dvb/adapter0/ca0: No such device or address
Das Problem liegt dann wohl hier:

Code: Alles auswählen

/etc/init.d/rcS: line 158: modprobe: not found 
Striper
Erleuchteter
Erleuchteter
Beiträge: 625
Registriert: Samstag 8. September 2007, 16:17

Beitrag von Striper »

seife hat geschrieben:modprobe in busybox.config.m4 aktivieren.
Token
Einsteiger
Einsteiger
Beiträge: 383
Registriert: Sonntag 7. April 2002, 14:29

Beitrag von Token »

... genau, das war der selbe fehler den ich auch hatte - schau in den "test-thread", da hat seife gepostet was alles in der config angepasst werden muss.
cu token
sagem-avia600_enx-1xi-cable-telecom
seife
Developer
Beiträge: 4189
Registriert: Sonntag 2. November 2003, 12:36

Beitrag von seife »

Liontamer hat geschrieben:Ok, jetzt läuft er fast komplett durch:

Code: Alles auswählen

/home/daniel/kernel26//hostapps/flash/flashmanage.pl -i /home/daniel/kernel26/dbox2/cdkflash/enigma-cramfs.img1x -o build \
                --rootsize=0x660000 \
                --part ppcboot=/home/daniel/kernel26/dbox2/cdkflash/cramfs.flfs1x \
                --part root=/home/daniel/kernel26/dbox2/cdkflash/root-enigma.cramfs \
                --part var=/home/daniel/kernel26/dbox2/cdkflash/var-enigma.jffs2
flashmanage fatal error: File /home/daniel/kernel26/dbox2/cdkflash/root-enigma.cramfs too large (6864896 > 6684672)
make: *** [/home/daniel/kernel26/dbox2/cdkflash/enigma-cramfs.img1x] Fehler 1
Ich deute das so, dass die Partition zu groß fürs Flash ist?
Ja, aber was baust du auch für einen mist? CRAMFS? Hallo? haben wir bald 2008 oder was? ;-) Über enigma sage ich mal nix ;-)
Liontamer
Klöppelliese
Beiträge: 1644
Registriert: Donnerstag 8. August 2002, 12:51

Beitrag von Liontamer »

Hehe, hast ja recht, was cramfs betrifft.
Enigmal wollte ich halt mal testen, weil ich mit dem Gedanken spiele mir eine Dreambox zuzulegen. und da ist Enigma ja beinahe Standard.

Mir ist jetzt erst aufgefallen, dass ich mit meinen Problemen wohl besser hier aufgehoben wäre: http://forum.tuxbox-cvs.sourceforge.net ... hp?t=46928
Daher werde ich bei weiteren Problemen dort nachfragen.