Box hängt bei Kernel laden

Kreuzuebersetzer, Diskussion über Änderungen im Tuxbox-CDK und Tuxbox-CVS
esnold
Beiträge: 2
Registriert: Donnerstag 10. Juli 2003, 22:14

Box hängt bei Kernel laden

Beitrag von esnold »

Hallo zusammen,

habe es jetzt nach vielen Versuchen und eifrigem lesen im Forum geschafft die aktuelle Head-Version zu compilieren und bringe die Box auch dazu über das Netz zu booten.
Scheine aber ein NFS-Problem zu haben. (siehe Log)
debug: DDF: Calibrating delay loop... debug: DDF: 66.76 BogoMIPS
debug: BMon V1.2 mID 03
debug: feID 00 enxID 03
debug: fpID 52 dsID 01-c3.d7.b9.07.00.00-8c
debug: HWrev 21 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: 11 debug: 1c debug: 2f debug: 68 debug: 6f deb
ug: 6d debug: 65 debug: 2f debug: 6a debug: 6f debug: 65 debug: 72 debug: 69 deb
ug: 65 debug: 6b debug: 65 debug: 2f debug: 64 debug: 62 debug: 6f debug: 78 deb
ug: 32 debug: 2f debug: 63 debug: 64 debug: 6b debug: 72 debug: 6f debug: 6f deb
ug: 74 debug:
debug: Got BOOTP reply from Server IP 192.168.1.12, My IP 192.168.1.11
debug: Sending TFTP-request for file u-boot
will verify ELF image, start= 0x800000, size= 143736
verify sig: 262
boot net: boot file has no valid signature
Branching to 0x40000


U-Boot 0.2.3 (TuxBox) (Jun 24 2003 - 11:15:24)

CPU: PPC823ZTnnB2 at 66 MHz: 2 kB I-Cache 1 kB D-Cache
Board: DBOX2, Sagem
Watchdog enabled
I2C: ready
DRAM: 32 MB
FLASH: 8 MB
FB: ready
LCD: ready
In: serial
Out: serial
Err: serial
Net: SCC ETHERNET
Scanning JFFS2 FS: . done.
find_inode failed for name=logo-fb
load: Failed to find inode
can't find logo in flash - try network
BOOTP broadcast 1
DHCP client bound to address 192.168.1.11
DHCP: INVALID STATE
ARP broadcast 1
TFTP from server 192.168.1.12; our IP address is 192.168.1.11
Filename 'logo-fb'.
Load address: 0x100000
Loading: *
TFTP error: 'File not found' (1)
can't find logo
find_inode failed for name=logo-lcd
load: Failed to find inode
ready - can't find logo in flash - try network
BOOTP broadcast 1
DHCP client bound to address 192.168.1.11
DHCP: INVALID STATE
ARP broadcast 1
TFTP from server 192.168.1.12; our IP address is 192.168.1.11
Filename 'logo-lcd'.
Load address: 0x100000
Loading: *
TFTP error: 'File not found' (1)
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: 0
BOOTP broadcast 2
DHCP client bound to address 192.168.1.11
DHCP: INVALID STATE
ARP broadcast 1
TFTP from server 192.168.1.12; our IP address is 192.168.1.11
Filename 'kernel-cdk'.
Load address: 0x100000
Loading: #################################################################
#################################################################
##############
done
Bytes transferred = 734428 (b34dc hex)
..............................................................
Un-Protected 62 sectors
## Booting image at 00100000 ...
Image Name: dbox2
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 734364 Bytes = 717.2 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.20-dbox2 (joerieke@linuxpc) (gcc version 3.2.3) #1 Tue Jun 24
11:21:13 CEST 2003
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=192.168.1.12:/home/joerieke/dbox2/
cdkroot,v3 ip=192.168.1.11:192.168.1.12::255.255.255.0:::off console=ttyS0
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: 30604k available (1284k kernel code, 404k data, 76k 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 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:32:6e:e3
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
CFI: Found no D-Box 2 flash memory device at location zero
Creating 6 MTD partitions on "D-Box 2 flash memory":
0x00000000-0x00020000 : "BR bootloader"
0x00020000-0x00040000 : "flfs (ppcboot)"
0x00040000-0x00700000 : "root (cramfs)"
0x00700000-0x00800000 : "var (jffs2)"
0x00020000-0x00800000 : "flash without bootloader"
0x00000000-0x00800000 : "complete flash"
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
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.1.11, mask=255.255.255.0, gw=255.255.255.255,
host=192.168.1.11, domain=, nis-domain=(none),
bootserver=192.168.1.12, rootserver=192.168.1.12, rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
IPv6 v0.8 for NET4.0
IPv6 over IPv4 tunneling driver
802.1Q VLAN Support v1.7 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Looking up port of RPC 100003/3 on 192.168.1.12
Looking up port of RPC 100005/3 on 192.168.1.12
call_verify: server accept status: 2
call_verify: server accept status: 2
call_verify: server accept status: 2
RPC: garbage, exit EIO
Root-NFS: Server returned error -5 while mounting /home/joerieke/dbox2/cdkroot
VFS: Unable to mount root fs via NFS, trying floppy.
VFS: Cannot open root device "nfs" or 02:00
Please append a correct "root=" boot option
Kernel panic: VFS: Unable to mount root fs on 02:00
<0>Rebooting in 180 seconds..
Boot-Server läuft unter Debian (Woody), Verzeichnis ist freigegeben. Kann das Verzeichnis auch manuell von der Box aus laden, wenn ich sie mit dem AlexW-Image starte.

Ach ja, Box ist Sagem, 1xI

Kann mir jemand helfen?

Danke,
Esnold
MHC
GOD
Beiträge: 409
Registriert: Sonntag 22. Juli 2001, 00:00

Re: Box hängt bei Kernel laden

Beitrag von MHC »

esnold hat geschrieben: ......
Kernel command line: root=/dev/nfs rw nfsroot=192.168.1.12:/home/joerieke/dbox2/
cdkroot,v3
....
call_verify: server accept status: 2

...
dein NFS-Server ist nicht für Version3 ...

nimm das ',v3' aus der command-line raus ... fertig.
cu
emily
Neugieriger
Neugieriger
Beiträge: 3
Registriert: Dienstag 15. Juli 2003, 17:07

Beitrag von emily »

Hallo

habe das gleiche Problem.
Bitte mal genau erklären wo ich das v3 aus der command-line rausnehmen soll.
MHC
GOD
Beiträge: 409
Registriert: Sonntag 22. Juli 2001, 00:00

Beitrag von MHC »

bei u-boot in include/configs

da die dbox2.h
dort dann

Code: Alles auswählen

#define	CONFIG_BOOTCOMMAND							\
	"dhcp; tftp \"$(bootfile)\"; "						\
	"protect off 10040000 107fffff; "					\
        "setenv bootargs root=/dev/nfs rw nfsroot=$(serverip):$(rootpath),v3 "	\
	"ip=$(ipaddr):$(serverip):$(gatewayip):$(netmask):$(hostname)::off "	\
	"console=$(console); "							\
	"bootm"

die ",v3" kann im Prinzip immer raus
und wer es trotzdem haben will machts über dhcpd.conf ...

Code: Alles auswählen

if exists vendor-class-identifier {
		filename "kernel-cdk";
		option root-path "/dbox2/cdkroot,v3";
	} else {
		filename "u-boot";
	}
cu
emily
Neugieriger
Neugieriger
Beiträge: 3
Registriert: Dienstag 15. Juli 2003, 17:07

Beitrag von emily »

Hallo MHC

Besten Dank , schneller gehts bald nicht !!!!!
Mal sehn ob die Yadd nun läuft.

By Emily
esnold
Beiträge: 2
Registriert: Donnerstag 10. Juli 2003, 22:14

Beitrag von esnold »

Hallo MHC,

vielen Dank, hat geholfen, System läuft!
(konnt nur nicht eher testen)

Bis dann
Esnold
emily
Neugieriger
Neugieriger
Beiträge: 3
Registriert: Dienstag 15. Juli 2003, 17:07

Beitrag von emily »

Hallo

komme jetzt hier nicht weiter brauche dringend Hilfe !!!lcome to minicom 1.83.1

OPTIONS: History Buffer, F-key Macros, Search History Buffer, I18n
Compiled on Jul 31 2002, 20:59:15.

Press CTRL-A Z for help on special keys

)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
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: Unknown RFC1048-tag debug: 11 debug: e debug: 2f debug: 64 debug: 62 deb
debug: Got BOOTP reply from Server IP ( PC IP ), My IP ( Box IP )
debug: Sending TFTP-request for file u-boot
will verify ELF image, start= 0x800000, size= 143892
verify sig: 262
boot net: boot file has no valid signature
Branching to 0x40000


U-Boot 0.2.3 (TuxBox) (Jul 17 2003 - 17:56:41)

CPU: PPC823ZTnnB2 at 65.900 MHz: 2 kB I-Cache 1 kB D-Cache
Board: DBOX2, Phillips
Watchdog enabled
I2C: ready
DRAM: 32 MB
FLASH: 8 MB
FB: ready
LCD: ready
In: serial
Out: serial
Err: serial
Net: SCC ETHERNET
Scanning JFFS2 FS: . done.
find_inode failed for name=logo-fb
load: Failed to find inode
can't find logo in flash - try network
BOOTP broadcast 1
DHCP client bound to address ( Box IP )
ARP broadcast 1
TFTP from server ( PC IP ); our IP address is ( Box IP )
Filename 'logo-fb'.
Load address: 0x100000
Loading: ##############
done
Bytes transferred = 70956 (1152c hex)
find_inode failed for name=logo-lcd
load: Failed to find inode
ready - can't find logo in flash - try network
BOOTP broadcast 1
DHCP client bound to address ( Box IP )
ARP broadcast 1
TFTP from server ( PC IP ); our IP address is ( Box IP )
Filename 'logo-lcd'.
Load address: 0x100000
Loading: ##
done
Bytes transferred = 7680 (1e00 hex)

Options:
1: console on ttyS0
2: console on fb0
3: console on null
Select option (1-3), other keys to stop autoboot: 0
BOOTP broadcast 2
DHCP client bound to address ( Box IP )
ARP broadcast 1
TFTP from server ( PC IP ); our IP address is ( Box IP )
Filename 'kernel-cdk'.
Load address: 0x100000
Loading: #################################################################
#################################################################
##############
done
Bytes transferred = 734368 (b34a0 hex)
..............................................................
Un-Protected 62 sectors
## Booting image at 00100000 ...
Image Name: dbox2
Image Type: PowerPC Linux Kernel Image (gzip compressed)
Data Size: 734304 Bytes = 717.1 kB
Load Address: 00000000
Entry Point: 00000000
Verifying Checksum ... OK
Uncompressing Kernel Image ... OK
Linux version 2.4.20-dbox2 (root@box) (gcc version 3.2.3) #1 Fre Jul 11 09:51:33
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=( PC IP ):/dbox2/cdkroot ip=0
Decrementer Frequency = 247125000/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.53 BogoMIPS
Memory: 30604k available (1284k kernel code, 404k data, 76k 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 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, xx:xx:9c:xx:xx:xx
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
D-Box 2 flash driver (size->0x800000 mem->0x10000000)
Creating 6 MTD partitions on "D-Box 2 flash memory":
0x00000000-0x00020000 : "BR bootloader"
0x00020000-0x00040000 : "flfs (ppcboot)"
0x00040000-0x00700000 : "root (cramfs)"
0x00700000-0x00800000 : "var (jffs2)"
0x00020000-0x00800000 : "flash without bootloader"
0x00000000-0x00800000 : "complete flash"
mice: PS/2 mouse device common for all mice
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 2048 bind 4096)
IP-Config: Complete:
device=eth0, addr=( Box IP ), mask=255.255.255.0, gw=255.255.255.255,
host=( Box IP ), domain=, nis-domain=(none),
bootserver=( PC IP ), rootserver=( PC IP ), rootpath=
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
IPv6 v0.8 for NET4.0
IPv6 over IPv4 tunneling driver
802.1Q VLAN Support v1.7 Ben Greear <greearb@candelatech.com>
All bugs added by David S. Miller <davem@redhat.com>
Looking up port of RPC 100003/2 on ( PC IP )
Looking up port of RPC 100005/1 on ( PC IP )
VFS: Mounted root (nfs filesystem).
Mounted devfs on /dev
Freeing unused kernel memory: 76k init
init started: BusyBox v0.61.pre (2003.07.11-07:46+0000) multi-camodprobe: Can'x
/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 locate module dvb-core
ln: /dev/dvb/adapter0/demux1: No such file or directory
ln: /dev/dvb/adapter0/dvr1: No such file or directory

Please press Enter to activate this console. LCD (/dev/dbox/lcd0): No such filey
/dev/dbox/rc0: No such file or directory


dhcp.conf:


subnet 192.168.xxx.0 netmask 255.255.255.0
{
}
host dbox2 {
hardware ethernet xx:xx:xx:xx:xx:xx;
fixed-address ( Box IP );
server-name "( PC IP )";
option root-path "/dbox2/cdkroot";
if exists vendor-class-identifier {
filename "kernel-cdk";
} else {
filename "u-boot";
}
}



/etc/exports


/dbox2 dbox2(rw,no_root_squash)


By Emily
MHC
GOD
Beiträge: 409
Registriert: Sonntag 22. Juli 2001, 00:00

Beitrag von MHC »

sieht so aus als ob die Treiber fehlen ... (host: make .driver )
bzw. nicht gefunden werden (target: depmod -ae )
cu