yadd unter linux debian

Anlaufschwierigkeiten? Was ist was? Worum geht's?
satbob
Neugieriger
Neugieriger
Beiträge: 18
Registriert: Mittwoch 14. Januar 2004, 19:53

yadd unter linux debian

Beitrag von satbob »

Hallo

da ich seit Tagen versuche eine yadd unter linux debian zum laufen zu bringen, aber ohne Erfolg, bitte ich Euch um Hilfe.

Meine yadd befindet sich in /home/tuxbox/dbox2
tftproot
yaddroot

minicom läuft mit >>>>> boot net failed
alles hängt an einem switcher inkl. router (fli4l ohne dhcp)



HOSTS

in /etc/hosts eingefügt

192.168.1.11 dbox

BOOTP

in /etc/bootptab eingefügt

dbox:hd=/tftpboot:bf=ppcboot:ha=00509cxxxxxx:ip=192.168.1.11:sa=192.168.1.2:sm=255.255.255.0

TFTP + BOOTP

in /etc/inetd.conf eingefügt

#:BOOT: Tftp service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
bootps dgram udp wait root /usr/sbin/bootpd bootpd -i -t 120 /home/tuxbox/dbox2
tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd --tftpd-timeout 300 --retry-timeout 5 --mcast_port 1753 --mcast_addr 239.255.0.0-255 --maxthread 100 --verbose=5 /home/tuxbox/dbox2/tftpboot

Auf Konsole ausgefürt:
update-inetd --enable bootps
update-inetd --enable tftp
inetd reload


RARP

apt-get install rarpd
in /etc/ethers eingefügt

00:50:9c:xx:xx:xx 192.168.1.11

Auf Konsole ausgefürt:
rarpd -a

NFS

apt-get install nfs-kernel-server

in /etc/exports eingefügt

/home/tuxbox/dbox2 dbox(rw,no_root_squash,async)

Auf Konsole ausgefürt:
/sbin/rpc.statd
/sbin/rpc.lockd
/usr/sbin/rpc.mountd
/usr/sbin/rpc.nfsd
/usr/sbin/rpc.rquotad

Noch als Test
root:/home/tuxbox/dbox2# rpcinfo -p
Program Vers Proto Port
100000 2 tcp 111 portmapper
100000 2 udp 111 portmapper
100024 1 udp 763 status
100024 1 tcp 766 status
100005 1 udp 804 mountd
100005 1 tcp 807 mountd
100005 2 udp 804 mountd
100005 2 tcp 807 mountd
100005 3 udp 804 mountd
100005 3 tcp 807 mountd
100003 2 udp 2049 nfs
100003 3 udp 2049 nfs
100003 2 tcp 2049 nfs
100003 3 tcp 2049 nfs
100021 1 udp 32768 nlockmgr
100021 3 udp 32768 nlockmgr
100021 4 udp 32768 nlockmgr
100021 1 tcp 32773 nlockmgr
100021 3 tcp 32773 nlockmgr
100021 4 tcp 32773 nlockmgr
100011 1 udp 837 rquotad
100011 2 udp 837 rquotad
100011 1 tcp 840 rquotad
100011 2 tcp 840 rquotad

root:/home/tuxbox/dbox2# netstat -a
Aktive Internetverbindungen (Server und stehende Verbindungen)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 *:2049 *:* LISTEN
tcp 0 0 *:32773 *:* LISTEN
tcp 0 0 *:807 *:* LISTEN
tcp 0 0 *:840 *:* LISTEN
tcp 0 0 *:sunrpc *:* LISTEN
tcp 0 0 *:ipp *:* LISTEN
tcp 0 0 *:766 *:* LISTEN
udp 0 0 *:32768 *:*
udp 0 0 *:2049 *:*
udp 0 0 *:804 *:*
udp 0 0 *:bootps *:*
udp 0 0 *:837 *:*
udp 0 0 *:tftp *:*
udp 0 0 *:sunrpc *:*
udp 0 0 *:ipp *:*
udp 0 0 *:760 *:*
udp 0 0 *:763 *:*

root:/home/tuxbox/dbox2# showmount -e
Export list for :
/home/tuxbox/dbox2 dbox

Ich bin mir nicht sicher mit rarpd und nfs.
Ich hoffe das hier jemand Fehler sehen kann.

Danke.

cu satbob
Dietmar
Senior Member
Beiträge: 8282
Registriert: Mittwoch 10. Oktober 2001, 00:00

Beitrag von Dietmar »

--mcast_port 1753 --mcast_addr 239.255.0.0-255
Wasn das?
Nimm doch die Einstellungen von hier: http://www.dietmar-h.net/linux.html
satbob
Neugieriger
Neugieriger
Beiträge: 18
Registriert: Mittwoch 14. Januar 2004, 19:53

Beitrag von satbob »

@Dietmar

bei mir war das alles so, jetzt sieht so aus:

#:BOOT: Tftp service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
bootps dgram udp wait root /usr/sbin/bootpd bootpd -i -t 120 /home/tuxbox/dbox2
tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd /home/tuxbox/dbox2/tftpboot

Auf Konsole ausgeführt:
update-inetd --enable bootps
update-inetd --enable tftp
inetd reload

minicom >:

.debug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
debug: BMon V1.0 mID 01
debug: feID dd gtxID 0b
debug: fpID 5a dsID 01-f5.5f.29.07.00.00-c7
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 #0032

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


U-Boot 0.4.0 (TuxBox) (Oct 16 2003 - 18:02:34)

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.
...

Soll ich alles so einstellen wie im Howto steht, auch bootps ?

Danke

cu satbob
Dietmar
Senior Member
Beiträge: 8282
Registriert: Mittwoch 10. Oktober 2001, 00:00

Beitrag von Dietmar »

bootp ist sogar der wichtigere part, der ruft erst die ppcboot auf.
Was spricht denn /var/log/messages, wird die ppcboot angefordert?
satbob
Neugieriger
Neugieriger
Beiträge: 18
Registriert: Mittwoch 14. Januar 2004, 19:53

Beitrag von satbob »

@Dietmar

Nein, die ppcboot wird nicht angefordet. Ich leg hier ein Teil von der Log. In dieser Zeit habe ich mehrere Versuche gestartet.

Jan 22 13:36:40 bob kernel: NTFS driver v1.1.22 [Flags: R/W MODULE]
Jan 22 13:36:40 bob kernel: capifs: Rev 1.1.4.1
Jan 22 13:36:40 bob kernel: CAPI-driver Rev 1.1.4.1: loaded
Jan 22 13:36:40 bob kernel: capi20: started up with major 68
Jan 22 13:36:40 bob kernel: kcapi: capi20 attached
Jan 22 13:36:40 bob kernel: capi20: Rev 1.1.4.2: started up with major 68 (middleware+capifs)
Jan 22 13:36:40 bob kernel: eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
Jan 22 13:36:40 bob kernel: Linux Kernel Card Services 3.1.22
Jan 22 13:36:40 bob kernel: options: [pci] [cardbus] [pm]
Jan 22 13:36:40 bob kernel: Intel ISA PCIC probe: not found.
Jan 22 13:36:40 bob kernel: Intel ISA PCIC probe: not found.
Jan 22 13:36:41 bob kernel: parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
Jan 22 13:36:41 bob kernel: parport0: irq 7 detected
Jan 22 13:36:41 bob kernel: lp0: using parport0 (polling).
Jan 22 13:36:41 bob kernel: lp0: console ready
Jan 22 13:36:44 bob kernel: apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
Jan 22 13:36:44 bob kernel: apm: overridden by ACPI.
Jan 22 13:36:45 bob kernel: 0: nvidia: loading NVIDIA Linux x86 nvidia.o Kernel Module 1.0-5328 Wed Dec 17 13:54:51 PST 2003
Jan 22 13:37:05 bob kernel: spurious 8259A interrupt: IRQ7.
Jan 22 13:56:39 bob -- MARK --
Jan 22 14:04:55 bob kernel: Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
Jan 22 14:16:39 bob -- MARK --
Jan 22 14:36:39 bob -- MARK --
Jan 22 14:56:39 bob -- MARK --
Jan 22 15:16:39 bob -- MARK --
Jan 22 15:36:39 bob -- MARK --
Jan 22 15:56:39 bob -- MARK --
Jan 22 16:04:27 bob rpc.mountd: export request from 127.0.0.1
Jan 22 16:16:39 bob -- MARK --
Jan 22 16:36:39 bob -- MARK --
Jan 22 16:56:39 bob -- MARK --
Jan 22 17:16:39 bob -- MARK --
Jan 22 17:36:39 bob -- MARK --
Jan 22 17:56:39 bob -- MARK --
Jan 22 18:16:39 bob -- MARK --
Jan 22 18:36:39 bob -- MARK --
Jan 22 18:56:39 bob -- MARK --
Jan 22 19:16:39 bob -- MARK --
Jan 22 19:36:39 bob -- MARK --
Jan 22 19:56:39 bob -- MARK --
Jan 22 20:16:39 bob -- MARK --
Jan 22 20:36:39 bob -- MARK --
Jan 22 20:56:39 bob -- MARK --
Jan 22 21:05:53 bob kernel: hda: dma_timer_expiry: dma status == 0x60
Jan 22 21:05:53 bob kernel: hda: (__ide_dma_test_irq) called while not waiting
Jan 22 21:05:53 bob kernel: hda: status timeout: status=0xd0 { Busy }
Jan 22 21:05:53 bob kernel:
Jan 22 21:05:53 bob kernel: ide0: reset: success
Jan 22 21:16:39 bob -- MARK --
Jan 22 21:36:39 bob -- MARK --
Jan 22 21:56:39 bob -- MARK --
Jan 22 21:57:56 bob kernel: end_request: I/O error, dev 02:00 (floppy), sector 0
Jan 22 21:57:56 bob kernel: cdrom: open failed.
Jan 22 21:57:59 bob kernel: VFS: Can't find ext2 filesystem on dev sr(11,1).
Jan 22 22:16:39 bob -- MARK --
Jan 22 22:36:39 bob -- MARK --
Jan 22 22:56:39 bob -- MARK --
Jan 22 23:16:39 bob -- MARK --
Jan 22 23:36:39 bob -- MARK --

cu satbob
Dietmar
Senior Member
Beiträge: 8282
Registriert: Mittwoch 10. Oktober 2001, 00:00

Beitrag von Dietmar »

Hm, sicher dass dein bootpd läuft?
Sieht jetzt irgendwie nicht so aus.
Was steht denn in der bootptab?
satbob
Neugieriger
Neugieriger
Beiträge: 18
Registriert: Mittwoch 14. Januar 2004, 19:53

Beitrag von satbob »

Hi

jetzt sieht es ein wenig besser aus
minicom >>>:

.debug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
debug: BMon V1.0 mID 01
debug: feID dd gtxID 0b
debug: fpID 5a dsID 01-f5.5f.29.07.00.00-c7
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: Got BOOTP reply from Server IP 192.168.1.2, My IP 192.168.1.11
debug: Sending TFTP-request for file /tftpboot/ppcboot
debug: Sending TFTP-request for file /tftpboot/ppcboot
debug: Sending TFTP-request for file /tftpboot/ppcboot
debug: Sending TFTP-request for file /tftpboot/ppcboot
debug: Sending TFTP-request for file /tftpboot/ppcboot
debug: Sending TFTP-request for file /tftpboot/ppcboot
debug:
TFTP failed, giving up...
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 #0032

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


U-Boot 0.4.0 (TuxBox) (Oct 16 2003 - 18:02:34)

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

Ich glaube bootp ist durch, tftp hängt noch.

Auszug inetd.conf:

bootps dgram udp wait root /usr/sbin/bootpd bootpd -d4 -c /home/tuxbox/dbox2
tftp dgram udp wait nobody. /usr/sbin/tcpd /usr/sbin/in.tftpd /home/tuxbox/dbox2/tftpboot

Auszug bootptab:

dbox:hd=/tftpboot:bf=ppcboot:ha=00509cxxxxxx:ip=192.168.1.11:sa=192.168.1.2:sm=255.255.255.0

Das müsste aber richtig sein.

Danke nochmal, für heute genug, muß morgen in die Frühschicht.

cu bis morgen abend satbob
Dietmar
Senior Member
Beiträge: 8282
Registriert: Mittwoch 10. Oktober 2001, 00:00

Beitrag von Dietmar »

dbox:hd=/tftpboot:bf=ppcboot:
Da jetzt noch den richtigen Pfad zur ppcboot rein, dann bist wieder nen großen Schritt weiter. :wink:
satbob
Neugieriger
Neugieriger
Beiträge: 18
Registriert: Mittwoch 14. Januar 2004, 19:53

Beitrag von satbob »

es geht immer noch nicht

.debug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
debug: BMon V1.0 mID 01
debug: feID dd gtxID 0b
debug: fpID 5a dsID 01-f5.5f.29.07.00.00-c7
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: Got BOOTP reply from Server IP 192.168.1.2, My IP 192.168.1.11
debug: Sending TFTP-request for file /home/tuxbox/dbox2/tftpboot/ppcboot
debug: Sending TFTP-request for file /home/tuxbox/dbox2/tftpboot/ppcboot
debug: Sending TFTP-request for file /home/tuxbox/dbox2/tftpboot/ppcboot
debug: Sending TFTP-request for file /home/tuxbox/dbox2/tftpboot/ppcboot
debug: Sending TFTP-request for file /home/tuxbox/dbox2/tftpboot/ppcboot
debug: Sending TFTP-request for file /home/tuxbox/dbox2/tftpboot/ppcboot
debug:
TFTP failed, giving up...
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 #0032

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


U-Boot 0.4.0 (TuxBox) (Oct 16 2003 - 18:02:34)


inetd.conf Eintrag:

bootps dgram udp wait root /usr/sbin/bootpd bootpd -d4 -c /home/tuxbox/dbox2
tftp dgram udp wait root. /usr/sbin/tcpd /usr/sbin/in.tftpd /home/tuxbox/dbox2/tftpboot


Das ist der richtige Pfad zur ppcboot
/home/tuxbox/dbox2/tftpboot/ppcboot

Was kann ich noch machen?

cu satbob
satbob
Neugieriger
Neugieriger
Beiträge: 18
Registriert: Mittwoch 14. Januar 2004, 19:53

Beitrag von satbob »

es geht immer noch nicht

.debug: DDF: Calibrating delay loop... debug: DDF: 67.79 BogoMIPS
debug: BMon V1.0 mID 01
debug: feID dd gtxID 0b
debug: fpID 5a dsID 01-f5.5f.29.07.00.00-c7
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: Got BOOTP reply from Server IP 192.168.1.2, My IP 192.168.1.11
debug: Sending TFTP-request for file /home/tuxbox/dbox2/tftpboot/ppcboot
debug: Sending TFTP-request for file /home/tuxbox/dbox2/tftpboot/ppcboot
debug: Sending TFTP-request for file /home/tuxbox/dbox2/tftpboot/ppcboot
debug: Sending TFTP-request for file /home/tuxbox/dbox2/tftpboot/ppcboot
debug: Sending TFTP-request for file /home/tuxbox/dbox2/tftpboot/ppcboot
debug: Sending TFTP-request for file /home/tuxbox/dbox2/tftpboot/ppcboot
debug:
TFTP failed, giving up...
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 #0032

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


U-Boot 0.4.0 (TuxBox) (Oct 16 2003 - 18:02:34)


inetd.conf Eintrag:

bootps dgram udp wait root /usr/sbin/bootpd bootpd -d4 -c /home/tuxbox/dbox2
tftp dgram udp wait root. /usr/sbin/tcpd /usr/sbin/in.tftpd /home/tuxbox/dbox2/tftpboot


Das ist der richtige Pfad zur ppcboot
/home/tuxbox/dbox2/tftpboot/ppcboot

Was kann ich noch machen?

cu satbob
satbob
Neugieriger
Neugieriger
Beiträge: 18
Registriert: Mittwoch 14. Januar 2004, 19:53

Beitrag von satbob »

ich wird noch wanhsinig

es will einfach nicht

hier noch ein Mitschnitt aus syslog:
Jan 24 16:42:27 bob bootpd[3384]: recvd pkt from IP addr 0.0.0.0
Jan 24 16:42:27 bob bootpd[3384]: bootptab mtime: Fri Jan 23 19:38:53 2004
Jan 24 16:42:27 bob bootpd[3384]: request from Ethernet address 00:50:9C:xx:xx:xx
Jan 24 16:42:27 bob bootpd[3384]: found 192.168.1.11 (dbox)
Jan 24 16:42:27 bob bootpd[3384]: bootfile="/home/tuxbox/dbox2/tftpboot/ppcboot"
Jan 24 16:42:27 bob bootpd[3384]: vendor magic field is 99.130.83.99
Jan 24 16:42:27 bob bootpd[3384]: sending reply (with RFC1048 options)
Jan 24 16:42:27 bob bootpd[3384]: setarp 192.168.1.11 - 00:50:9C:xx:xx:xx
Jan 24 16:42:27 bob inetd[5650]: getgrnam: : No such group
Jan 24 16:42:27 bob inetd[404]: /usr/sbin/tcpd: exit status 0x1
Jan 24 16:42:27 bob inetd[5651]: getgrnam: : No such group
Jan 24 16:42:27 bob inetd[404]: /usr/sbin/tcpd: exit status 0x1
Jan 24 16:42:27 bob inetd[5652]: getgrnam: : No such group
Jan 24 16:42:27 bob inetd[404]: /usr/sbin/tcpd: exit status 0x1
...
...
Jan 24 16:42:27 bob inetd[5687]: getgrnam: : No such group
Jan 24 16:42:27 bob inetd[404]: /usr/sbin/tcpd: exit status 0x1
Jan 24 16:42:27 bob inetd[5688]: getgrnam: : No such group
Jan 24 16:42:27 bob inetd[404]: /usr/sbin/tcpd: exit status 0x1
Jan 24 16:42:27 bob inetd[404]: tftp/udp server failing (looping), service terminated

bitte noch mal Hilfe

cu satbob
Dietmar
Senior Member
Beiträge: 8282
Registriert: Mittwoch 10. Oktober 2001, 00:00

Beitrag von Dietmar »

Lass den tftpd mal als user tuxbox laufen, oder als root
satbob
Neugieriger
Neugieriger
Beiträge: 18
Registriert: Mittwoch 14. Januar 2004, 19:53

Beitrag von satbob »

yes yes yes!!!



Nachdem ich 3 symlinks erstellt hab (tipp aus anderem forum),ist yadd gestartet.

Die 3 symlinks:

tftpboot /home/tuxbox/dbox2/tftpboot
yaddroot /home/tuxbox/dbox2/yaddroot
dbox2 /home/tuxbox/dbox2

Welche von dennen oder mehrere, muss ich noch auschecken. Bei mir bleiben aber alle 3 bestehen.
Trotz pure freude wird mich das interessieren mit den pfadeingaben, welche absolut oder relativ(habe x möglichkeiten durchprobiert)

Und jetzt wird geyadd

cu satbob 8)