Yadd mit aktuellem CVS möglich?

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
Therket
Interessierter
Interessierter
Beiträge: 32
Registriert: Dienstag 7. August 2007, 20:23

Yadd mit aktuellem CVS möglich?

Beitrag von Therket »

Hi!

Mich hats mal wieder gepackt und ich wollte mal wieder ein funktionierende YADD-Umgebung aufbauen.
Verwendet habe ich die yBuild-Skripte ohne Patches (bzw. testweise mal den Busybox-1.9.0 Patch eingespielt, aber wieder zurückgerollt).

Ich hab schon das Forum durchwühlt, aber nichts konkretes gefunden, ihr könnt mir bestimmt sagen, wo da der Wurm drin iss.

Danke im Voraus
Jens

PS: Welches Prog verwendet ihr, um unter Windows ans Serial Log zu kommen (der Rechner, der mit der dbox verdrahtet ist, ist nunmal Windows)?

Code: Alles auswählen

debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.1  mID 03
debug: feID 00    enxID 03
debug: fpID 52     dsID 01-25.45.09.08.00.00-ed
debug: HWrev 41  FPrev 0.23
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: Unknown RFC1048-tag debug: 3 debug: 4 debug: c0 debug: a8 debug: 2 debug:
 1 debug: 
debug: Unknown RFC1048-tag debug: 6 debug: 4 debug: c0 debug: a8 debug: 2 debug:
 7a debug: 
debug: Unknown RFC1048-tag debug: 11 debug: 23 debug: 2f debug: 68 debug: 6f deb
ug: 6d debug: 65 debug: 2f debug: 74 debug: 68 debug: 72 debug: 75 debug: 73 deb
ug: 74 debug: 65 debug: 72 debug: 2f debug: 74 debug: 75 debug: 78 debug: 62 deb
ug: 6f debug: 78 debug: 2f debug: 64 debug: 62 debug: 6f debug: 78 debug: 32 deb
ug: 2f debug: 63 debug: 64 debug: 6b debug: 72 debug: 6f debug: 6f debug: 74 deb
ug: 
debug: Got BOOTP reply from Server IP 192.168.2.122, My IP 192.168.2.12
debug: Sending TFTP-request for file u-boot
debug: Got Block #0050debug: Got Block #0100debug: Got Block #0150debug: Got Block #0200debug: Got Block #0250will verify ELF image, start= 0x800000, size= 142728
verify sig: 262
boot net: boot file has no valid signature
Branching to 0x40000


U-Boot 1.2.0 (Tuxbox) (Feb 12 2008 - 20:38:05)

CPU:   PPC823ZTnnB2 at 66 MHz: 2 kB I-Cache 1 kB D-Cache
Board: DBOX2, Sagem, BMon V1.1
       Watchdog enabled
I2C:   ready
DRAM:  32 MB
FLASH:  8 MB
FB:    ready
LCD:   ready
In:    serial
Out:   serial
Err:   serial
Net:   SCC ETHERNET
BOOTP broadcast 1
DHCP client bound to address 192.168.2.12
Using SCC ETHERNET device
TFTP from server 192.168.2.122; our IP address is 192.168.2.12
Filename 'kernel-cdk'.
Load address: 0x100000
Loading: *Using SCC ETHERNET device
File transfer via NFS from server 192.168.2.122; our IP address is 192.168.2.12
Filename '/home/therket/tuxbox/dbox2/cdkroot/var/tuxbox/boot/boot.conf'.
Load address: 0x100000
Loading: **** ERROR: File lookup fail

done
can't find boot.conf
BOOTP broadcast 1
DHCP client bound to address 192.168.2.12
Using SCC ETHERNET device
TFTP from server 192.168.2.122; our IP address is 192.168.2.12
Filename 'kernel-cdk'.
Load address: 0x100000
Loading: *Using SCC ETHERNET device
TFTP from server 192.168.2.122; our IP address is 192.168.2.12
Filename 'logo-lcd'.
Load address: 0x100000
Loading: *
TFTP error: 'No such file or directory' (0)
can't find logo
BOOTP broadcast 1
DHCP client bound to address 192.168.2.12
Using SCC ETHERNET device
TFTP from server 192.168.2.122; our IP address is 192.168.2.12
Filename 'kernel-cdk'.
Load address: 0x100000
Loading: *Using SCC ETHERNET device
TFTP from server 192.168.2.122; our IP address is 192.168.2.12
Filename 'logo-fb'.
Load address: 0x100000
Loading: *
TFTP error: 'No such file or directory' (0)
can't find logo

Options:
  1: console on ttyS0
  2: console on fb0
  3: console on null
Select option (1-3), other keys to stop autoboot:  1  0 
BOOTP broadcast 1
DHCP client bound to address 192.168.2.12
Using SCC ETHERNET device
TFTP from server 192.168.2.122; our IP address is 192.168.2.12
Filename 'kernel-cdk'.
Load address: 0x100000
Loading: *Using SCC ETHERNET device
TFTP from server 192.168.2.122; our IP address is 192.168.2.12
Filename 'kernel-cdk'.
Load address: 0x100000
Loading: *#################################################################
	 #################################################################
	 ###############################
done
Bytes transferred = 824118 (c9336 hex)
............................................................... done
Un-Protected 63 sectors
## Booting image at 00100000 ...
   Image Name:   dbox2
   Image Type:   PowerPC Linux Kernel Image (gzip compressed)
   Data Size:    824054 Bytes = 804.7 kB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Uncompressing Kernel Image ... OK
Linux version 2.4.36-dbox2 (therket@TUbuntu) (gcc version 3.4.6) #1 Tue Feb 12 
20:39:48 CET 2008
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/nfs rw nfsroot=/home/therket/tuxbox/dbox2/cdkroo
t ip=192.168.2.12:192.168.2.122:192.168.2.1:255.255.255.0:::off console=ttyS0,96
00
Decrementer Frequency = 247500000/60
m8xx_wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)
m8xx_wdt: keep-alive trigger installed (PITC: 0x2000)
Console: colour dummy device 80x25
Calibrating delay loop... 65.74 BogoMIPS
Memory: 30456k available (1400k kernel code, 444k data, 68k init, 0k highmem)
Dentry cache hash table entries: 4096 (order: 3, 32768 bytes)
Inode cache hash table entries: 2048 (order: 2, 16384 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 1024 (order: 0, 4096 bytes)
Page-cache hash table entries: 8192 (order: 3, 32768 bytes)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
JFFS2 version 2.2. (NAND) (C) 2001-2003 Red Hat, Inc.
squashfs: version 3.0 (2006/03/15) Phillip Lougher
i2c-core.o: i2c core module version 2.6.1 (20010830)
i2c-dev.o: i2c /dev entries driver module version 2.6.1 (20010830)
CPM UART driver version 0.04
ttyS0 at 0x0280 is on SMC1 using BRGttyS1 at 0x0380 is on SMC2 using BRG2
pty: 256 Unix98 ptys configured
eth0: CPM ENET Version 0.2.dbox2 on SCC2, 00:50:9c:**:**:**
loop: loaded (max 8 devices)
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
D-Box 2 flash memory: Found 2 x16 devices at 0x0 in 32-bit bank
 Amd/Fujitsu Extended Query Table at 0x0040
number of CFI chips: 1
cfi_cmdset_0002: Disabling erase-suspend-program due to code brokenness.
Creating 6 MTD partitions on "D-Box 2 flash memory":
0x00000000-0x00020000 : "BR bootloader"
0x00020000-0x00040000 : "FLFS (U-Boot)"
0x00040000-0x006a0000 : "root (rootfs)"
0x006a0000-0x00800000 : "var (jffs2)"
0x00020000-0x00800000 : "Flash without bootloader"
0x00000000-0x00800000 : "Complete Flash"
Linux video capture interface: v1.00
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
IP-Config: Complete:
      device=eth0, addr=192.168.2.12, mask=255.255.255.0, gw=192.168.2.1,
     host=192.168.2.12, domain=, nis-domain=(none),
     bootserver=192.168.2.122, rootserver=192.168.2.122, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Looking up port of RPC 100003/2 on 192.168.2.122
Looking up port of RPC 100005/1 on 192.168.2.122
VFS: Mounted root (nfs filesystem).
Mounted devfs on /dev
Freeing unused kernel memory: 68k init
init started: BusyBox v1.7.2 (2008-02-12 21:28:30 CET)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
mount: mounting /dev/ide/host0/bus0/target0/lun0/part2 on /hdd failed: No such d
evice
ifup: can't open '/var/run/ifstate': Permission denied
touch: /etc/modules.conf: Permission denied
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
/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
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
/etc/init.d/rcS: line 271: cannot create /etc/issue.net: Permission denied
ln: /dev/dvb/adapter0/demux1: No such file or directory
ln: /dev/dvb/adapter0/dvr1: No such file or directory
mkdir: cannot create directory '/var/log': Permission denied
Nov 28 07:36:23 dbox syslog.info syslogd started: BusyBox v1.7.2
Starting the automounter
mkdir: cannot create directory '/var/lock': Permission denied
modprobe: Can't open dependencies file /lib/modules/2.4.36-dbox2/modules.dep (No
 such file or directory)
Nov 28 07:36:25 dbox daemon.crit automount[105]: failed to create Nov 28 07:36:2
5 dbox daemon.warn exportfs[115]: /etc/exports [2]: exportfs: /etc/exports [2]: 
Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/hdd".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x

Nov 28 07:36:25 dbox daemon.err exportfs[115]: can't open /var/libexportfs: can'
t open /var/lib/nfs/rmtab for reading
exportfs: could not open /var/lib/nfs/xtab for locking
exportfs: could not open /var/lib/nfs/etab for locking
exportfs: can't lock /var/lib/nfs/etab for writing
exportfs: could not open /var/lib/nfs/xtab for locking
exportfs: can't lock /var/lib/nfs/xtab for writing
rpc.mountd: chdir(/var/lib/nfs) failed: No such file or directory
rpc.nfsd: chdir(/var/lib/nfs) failed: No such file or directory

Please press Enter to activate this console. Thu Jan  1 01:00:00 CET 1970
$Id: sectionsd.cpp,v 1.259 2008/01/12 16:57:22 seife 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 file or directory
[sectionsd] open dmx: No such file or directory
[eitThread] pid 141 start
[sectionsd] open dmx: No such file or directory
[sectionsd] open dmx: No such file or directory
[sectionsd] open dmx: No such file or directory
[ConfigFile] Unable to open file /var/tuxbox/config/timerd.conf for reading.
[camd] /dev/dvb/adapter0/ca0: No such file or directory
$Id: zapit.cpp,v 1.405 2008/01/03 11:05:31 seife Exp $
[ConfigFile] Unable to open file /var/tuxbox/config/zapit/zapit.conf for reading
.
[frontend] uncommitted_switch_mode 0
[frontend.cpp:CFrontend:61] /dev/dvb/adapter0/frontend0: No such file or directo
ry
[sectionsd] getUTC: open: No such file or directory
/var/tuxbox/config/zapit/services.xml: No such file or directory
[audio.cpp:CAudio:37] /dev/dvb/adapter0/audio0: No such file or directory
[video.cpp:CVideo:33] /dev/dvb/adapter0/video0: No such file or directory
[aviaext.cpp:CAViAext:37] /dev/dbox/aviaEXT: No such file or directory
$Id: controld.cpp,v 1.130 2008/01/03 11:09:27 seife Exp $

[sectionsd] getUTC: open: No such file or directory
[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 file or directory
[controld] /dev/dbox/avs0: No such file or directory
[controld] /dev/dbox/avs0: No such file or directory
[controld] /dev/dbox/event0: No such file or directory
[controld]: ROUTEVIDEO v1 = 1 a1 = 1 v2 = 1 a2 = 1 v3 = 1 a3 = 1 fblk=1
[controld] /dev/dbox/avs0: No such file or directory
[controld] /dev/dbox/saa0: No such file or directory
[controld] /dev/dbox/saa0: No such file or directory
[controld] format: 4:3(LB)
[controld] /dev/dbox/avs0: No such file or directory
[controld] /dev/dbox/saa0: No such file or directory
[sectionsd] getUTC: open: No such file or directory
[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...
[ConfigFile] Unable to open file /var/tuxbox/config/nhttpd.conf for reading.
[ConfigFile] Unable to open file /var/tuxbox/config/nhttpd.conf for writing.
[yhttpd] Webserver starting...
[sectionsd] getUTC: open: No such file or directory
[sectionsd] getUTC: open: No such file or directory
starting /bin/neutrino
[sectionsd] getUTC: open: No such file or directory
[neutrino] frameBuffer Instance created
/dev/fb/0: No such file or directory
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 file or directory
[sectionsd] getUTC: open: No such file or directory
[sectionsd] getUTC: open: No such file or directory
starting /bin/neutrino
[neutrino] frameBuffer Instance created
/dev/fb/0: No such file or directory
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...
[sectionsd] getUTC: open: No such file or directory
[camd] /dev/dvb/adapter0/ca0: No such file or directory
[sectionsd] getUTC: open: No such file or directory
starting /bin/neutrino
[neutrino] frameBuffer Instance created
/dev/fb/0: No such file or directory
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...
[sectionsd] getUTC: open: No such file or directory
[camd] /dev/dvb/adapter0/ca0: No such file or directory
[sectionsd] getUTC: open: No such file or directory
starting /bin/neutrino
[neutrino] frameBuffer Instance created
/dev/fb/0: No such file or directory
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...
[sectionsd] getUTC: open: No such file or directory
[camd] /dev/dvb/adapter0/ca0: No such file or directory
[sectionsd] getUTC: open: No such file or directory
starting /bin/neutrino
[neutrino] frameBuffer Instance created
/dev/fb/0: No such file or directory
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...
...
...
...
Houdini
Developer
Beiträge: 2183
Registriert: Mittwoch 10. Dezember 2003, 07:59

Re: Yadd mit aktuellem CVS möglich?

Beitrag von Houdini »

Dein nfs share ist von der dbox aus nicht schreibbar
wie sieht denn deine exports Datei aus?
bellum
bbs-Maintainer
Beiträge: 282
Registriert: Montag 23. Oktober 2006, 22:13

Re: Yadd mit aktuellem CVS möglich?

Beitrag von bellum »

Therket hat geschrieben: PS: Welches Prog verwendet ihr, um unter Windows ans Serial Log zu kommen (der Rechner, der mit der dbox verdrahtet ist, ist nunmal Windows)?
Hi Therket,
ich benutze gerne PuTTY. Das unterstützt ab der Version 0.60 zusätzlich zu Telnet und ssh auch Serielle Verbindungen.

Gruß bellum
Therket
Interessierter
Interessierter
Beiträge: 32
Registriert: Dienstag 7. August 2007, 20:23

Re: Yadd mit aktuellem CVS möglich?

Beitrag von Therket »

Hi!

Die Meldung mit "touch modules.conf" hab ich bislang übersehen bzw. nicht für das Problem gehalten, da vorher die ganze "modules.dep" Meldungen kommen.

Ich denke, dass meine exports so passt:

Code: Alles auswählen

/home/therket/tuxbox dbox(rw,no_subtree_check) 
/home/therket/tuxbox/dbox2/cdkroot dbox(rw,no_subtree_check)
Aber Du hast Recht, wenn ich das in dem Flash-Image mit

Code: Alles auswählen

mount -t nfs -o rw,soft,udp,nolock,async,rsize=8192,wsize=8192 192.168.2.122:/home/therket/tuxbox/dbox2/cdkroot /mnt/custom
mounte, dann bekomme ich beim versuch, eine Datei auf dem Share zu "touchen", eine "Permission denied" - Fehlermeldung.

Ich weiß zwar noch nicht, warum das nicht hinhaut, aber ich habe wieder einen Ansatz, wonach ich suchen kann :-)
Edit: Hmm, nu bin ich doch wieder bei null. Schreiben kann ich mittlerweile über NFS (es lag an den Dateisystemberechtigungen), aber YADD bootet immer noch (gleiches Log wie oben).


Achja, die Datei "modules.dep" existiert wirklich nicht, ist das richtig so?

Danke
Jens
Houdini
Developer
Beiträge: 2183
Registriert: Mittwoch 10. Dezember 2003, 07:59

Re: Yadd mit aktuellem CVS möglich?

Beitrag von Houdini »

Stichwort: no_root_squash
Therket
Interessierter
Interessierter
Beiträge: 32
Registriert: Dienstag 7. August 2007, 20:23

Re: Yadd mit aktuellem CVS möglich?

Beitrag von Therket »

Ich danke Dir vielmals!

Endlich mal wieder ein funktionierendes YADD :-)

Gruß
Jens