Bei mir läuft ein emuliertes Knoppix mit VMWare unter W2K. Zugreifen auf Linux läuft über ein gemapten Netzwerkordner($HOME/dbox2).
Das erstellen einer yadd aus dem aktuellen Head lief problemlos.
Nun das eigentliche Problem.
Starte ich die yadd mit dem BootManager aus Windows über den gemapten Ordner startet die yadd einwandfei.
Packe ich den cdkroot & tftpboot Ordner unter linux zu yadd.tar.gz, schiebe ihn nach Windows entpacke ihn wieder mit den untar utilitis hauts nicht mehr hin.
Packen tu ich unter Linux so:
tar -cvf yadd.tar cdkroot tftpboot
chmod 755 cdkroot -R
chgrp 100 cdkroot -R
chown 500 cdkroot -R
gzip -9 yadd.tar
oder so:
tar cvfj yadd.tar.bz2 cdkroot tftpboot
Entpacke ich yadd.tar.gz aber unter Linux wieder, z.B in einem anderen ordner und boote wieder mit dem Bootmanager über das Netzwerk gehts wieder.
Hier mal ein Bootlog: (Yadd wurde entpackt mit den untar-utilits)
Code: Alles auswählen
debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.0 mID 02
debug: feID 00 enxID 03
debug: fpID 52 dsID 02-46.fe.fd.17.00.00-b5
debug: HWrev 01 FPrev 0.30
debug: B/Ex/Fl(MB) 32/00/08
dbox2:root> debug:
BOOTP/TFTP bootstrap loader (v0.3)
debug:
debug: Transmitting BOOTP request via broadcast
debug: Got BOOTP reply from Server IP 192.168.0.1, My IP 192.168.0.23
debug: Sending TFTP-request for file D/DboxII/tftpboot/ppcboot-yadd
will verify ELF image, start= 0x800000, size= 204200
verify sig: 262
boot net: boot file has no valid signature
Branching to 0x40000
ppcboot 0.6.4 (Jun 24 2002 - 20:39:15)
Initializing...
CPU: PPC823ZTnnB2 at 66 MHz: 2 kB I-Cache 1 kB D-Cache
Board: ### No HW ID - assuming TQM8xxL
DRAM: (faked) 32 MB
Ethernet: 00-50-9c-2c-4d-62
FLASH: 8 MB
LCD driver (KS0713) initialized
BOOTP broadcast 1
TFTP from server 192.168.0.1; our IP address is 192.168.0.23
Filename 'D/DboxII/tftpboot/logo-lcd'.
Load address: 0x130000
Loading: ##
done
LCD logo at: 0x130000 (0x1FD2814 bytes)
BOOTP broadcast 1
TFTP from server 192.168.0.1; our IP address is 192.168.0.23
Filename 'D/DboxII/tftpboot/logo-fb'.
Load address: 0x120000
Loading: ##############
done
FB logo at: 0x0 (0x1FC0000 bytes)
AVIA Frambuffer
Input: serial
Output: serial
1: Console on ttyS0
2: Console on null
3: Console on framebuffer
Select (1-3), other keys to stop autoboot: 0
...............................................................
Un-Protected 63 sectors
BOOTP broadcast 1
TFTP from server 192.168.0.1; our IP address is 192.168.0.23
Filename 'D/DboxII/tftpboot/kernel-yadd'.
Load address: 0x100000
Loading: #######################################################################
###########################################################
done
## Booting Linux kernel at 00100000 ...
Image Name: dbox2
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 660976 Bytes = 645 kB = 0 MB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.22-dbox2 (von alexW) (gcc version 3.2.3) #1 Di Nov 4 11:38:02
CET 2003
On node 0 totalpages: 8192
zone(0): 8192 pages.
zone(1): 0 pages.
zone(2): 0 pages.
Kernel command line: console=ttyS0 ip=bootp root=/dev/nfs rw nfsroot=192.168.0.1
:D/DboxII/cdkroot
WARNING: Frequency is not in HZ. Please consider using a newer bootloader!
WARNING: OLD intfreq = 66 busfreq = 66
WARNING: NEW intfreq = 66000000 busfreq = 66000000
Decrementer Frequency = 247500000/60
mpc8xx-wdt: active wdt found (SWTC: 0xFFFF, SWP: 0x1)
mpc8xx-wdt: keep-alive trigger activated (PITC: 0x2000)
Console: colour dummy device 80x25
Calibrating delay loop... 65.74 BogoMIPS
Memory: 30780k available (1132k kernel code, 388k 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.1. (C) 2001, 2002 Red Hat, Inc., designed by Axis Communications
AB.
i2c-core.o: i2c core module
CPM UART driver version 0.03
ttyS00 at 0x0280 is a SMC
ttyS01 at 0x0380 is a SMC
pty: 256 Unix98 ptys configured
eth0: CPM ENET Version 0.2 on SCC2, 00:50:9c:2c:4d:62
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
D-Box 2 flash memory: Found 2 x16 devices at 0x0 in 32-bit mode
Intel/Sharp Extended Query Table at 0x0035
cfi_cmdset_0001: Erase suspend on write enabled
Using word write method
Creating 6 MTD partitions on "D-Box 2 flash memory":
0x00000000-0x00020000 : "BR bootloader"
0x00020000-0x00040000 : "flfs (ppcboot)"
0x00040000-0x00720000 : "root (cramfs)"
0x00720000-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)
Sending BOOTP requests . OK
IP-Config: Got BOOTP answer from 192.168.0.1, my address is 192.168.0.23
IP-Config: Guessing netmask 255.255.255.0
IP-Config: Complete:
device=eth0, addr=192.168.0.23, mask=255.255.255.0, gw=255.255.255.255,
host=192.168.0.23, domain=, nis-domain=(none),
bootserver=192.168.0.1, rootserver=192.168.0.1, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Looking up port of RPC 100003/2 on 192.168.0.1
Looking up port of RPC 100005/1 on 192.168.0.1
VFS: Mounted root (nfs filesystem).
Mounted devfs on /dev
Freeing unused kernel memory: 68k init
Starting pid 11, console /dev/console: '/etc/init.d/rcS'modprobe: Can't locate m
odule tuxbox
/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
ln: /dev/dvb/adapter0/demux1: No such file or directory
ln: /dev/dvb/adapter0/dvr1: No such file or directory
Starting pid 43, console /dev/console: '/etc/init.d/start'
Please press Enter to activate this console. nfs: server 192.168.0.1 not respond
ing, still trying
nfs: server 192.168.0.1 OK
LCD (/dev/dbox/lcd0): No such file or directory
/dev/input/event0: No such file or directory