Forum: PC Hard- und Software Debian - PXE boot - nfs server - tftp server --- > Verbindungsabbrüche


von andy (Gast)


Lesenswert?

Hallo zusammen,
ich hab ein Gerät so konfiguriert, das ich über das Netzwerk ein Debian 
System booten kann.

Nun hab ich jedoch das Problem, das es z.b bei der Installation einer 
Oberfläche wie lxde bzw. xfce4 über apt-get dann irgendwann zu 
Verbindungsabbrüche zum nfs Server kommt.

Zudem habe ich festgestellt, das dann auf einmal der Ram des Servers 
"256 MB" voll ist.

Ich hatte sogar die Netzwerkkarte von 1000 mbit full auf 100 mbit full 
umgestellt, aber das Problem ist dasselbe.

ethtool -s eth1 speed 100 duplex full autoneg off



Hier die Configdateien:

/etc/fstab:

/dev/sda4      /diskless        ext3   defaults          0 0

also die vierte Partition meiner Festplatte "hängt über USB 2.0 am 
Gerät", wird nach /diskless gemounted.

/etc/exports

/diskless/images 
*(rw,no_root_squash,no_all_squash,async,no_subtree_check)

in /diskless/images liegen meine bootbaren Debianversionen.


# /etc/default/tftpd-hpa
RUN_DAEMON="yes"
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/diskless/"
TFTP_ADDRESS="0.0.0.0:69"
TFTP_OPTIONS="--secure"




pxelinux.cfg/default:

DISPLAY boot.txt

DEFAULT v1-686

LABEL v1-686
        kernel images/v1-686/boot/vmlinuz-2.6.32-5-686
        append vga=normal 
initrd=images/v1-686/boot/initrd.img-2.6.32-5-686 aufs=nfs 
nfsroot=192.168.3.1:/diskless/images/v1-686 --


PROMPT 1
TIMEOUT 0




Ich hab echt keine Ahnung, weshalb es zu Verbindungsabbrüchen 
kommt....vielleicht weis von Euch ja jemand bescheid.

ich bin echt ratlos.

Cu andy

von KlausK (Gast)


Lesenswert?

Hallo andy,

andy schrieb:
> also die vierte Partition meiner Festplatte "hängt über USB 2.0 am
> Gerät", wird nach /diskless gemounted.

sda(!) ist eine USB-Platte? Hm. Vielleicht ist die nicht schnell genug, 
und Du rennst irgendwo in einen Timeout. Was sagen dmesg und /var/log? 
Wie ist der Zustand des Netzwerks -- probier doch 'mal einen Floodping 
mit vielen großen Paketen ((sudo) ping -f -s 1500 -c 10000 
<destination>).

> LABEL v1-686
>         kernel images/v1-686/boot/vmlinuz-2.6.32-5-686
>         append vga=normal
> initrd=images/v1-686/boot/initrd.img-2.6.32-5-686 aufs=nfs
> nfsroot=192.168.3.1:/diskless/images/v1-686 --

Äh, vielleicht ist das der Eingabe hier geschuldet, aber die Zeilen 
"initrd" und "nfsroot" gehören in die Zeile von "append" (oder ein 
maskierender Backslash vor die Zeilenumbrüche). Ist das in der 
betreffenden Datei so?

Mir sind ähnliche Phänomene zum Beispiel von den uralten VIA Epia-Boards 
in Mini-ITX bekannt, die einen VIA Rhine II und 800MHz-C3-CPUs an Bord 
hatten. Von Sheevaplugs und IGEL 132-Terminals kenne ich so etwas 
hingegen nicht. Kannst Du etwas mehr zur Hardware von Client und Server 
sagen?

HTH,
Klaus

von andy (Gast)


Lesenswert?

Hi,
das Geräte ist eine Iomega iconnect, welches einen Arm als Cpu hat.
Das gleiche Phänomen hatte ich ebenfalls bei der Seagate Dockstar gehabt 
"ebenfalls arm Architektur".

Wenn ich jedoch die Winterm 3150se hergenommen hatte,was nur 128 mb ram 
hat, lief dies vernünftig.

Daher weis ich halt nicht an was es liegt.
Ich hatte sogar schon anstelle von dem atftpd tftp-hpa installiert.

Also die ping Ausgabe, mit größeren u. etlichen Paketen die ich zu 
iconnect schicke "Die Netzwerkkarte der iconnect läuft gerade mit 1000 
mbit Fullduplex:

root@debian-n150:/# ping -f -s 1500 -c 10000 192.168.3.1
PING 192.168.3.1 (192.168.3.1) 1500(1528) bytes of data.

--- 192.168.3.1 ping statistics ---
10000 packets transmitted, 10000 received, 0% packet loss, time 10325ms
rtt min/avg/max/mdev = 0.792/0.908/2.164/0.042 ms, ipg/ewma 1.032/0.914 
ms
root@debian-n150:/# ping -f -s 1500 -c 100000 192.168.3.1
PING 192.168.3.1 (192.168.3.1) 1500(1528) bytes of data.

--- 192.168.3.1 ping statistics ---
100000 packets transmitted, 100000 received, 0% packet loss, time 
103643ms
rtt min/avg/max/mdev = 0.783/0.908/4.131/0.043 ms, ipg/ewma 1.036/0.914 
ms


und die Ping-Ausgabe, wenn ich die Netzwerkkarte mit 100 mbit Full 
Duplex konfiguriere:

root@debian-n150:/# ping -f -s 1500 -c 10000 192.168.3.1
PING 192.168.3.1 (192.168.3.1) 1500(1528) bytes of data.

--- 192.168.3.1 ping statistics ---
10000 packets transmitted, 10000 received, 0% packet loss, time 12292ms
rtt min/avg/max/mdev = 1.016/1.094/4.388/0.067 ms, ipg/ewma 1.229/1.083 
ms
root@debian-n150:/# ping -f -s 1500 -c 100000 192.168.3.1
PING 192.168.3.1 (192.168.3.1) 1500(1528) bytes of data.

--- 192.168.3.1 ping statistics ---
100000 packets transmitted, 100000 received, 0% packet loss, time 
125973ms
rtt min/avg/max/mdev = 1.012/1.101/15.338/0.092 ms, pipe 2, ipg/ewma 
1.259/1.101 ms


wo könnte das Problem liege?

Das andere was mich halt stört, ist die Tatsache das der Ram 
vollgeballert wird.
Aber warum?

Vielleicht könnte mir jemand von Euch doch noch weiterhelfen

Cu andy

von andy (Gast)


Lesenswert?

Achso....wegen der Festplatte.
Auf der Festplatte befindet sich das Debian-Grundsystem auf /dev/sda2.
Die Festplatte hängt an einem USB 2.0 Controller und die Festplatte hat 
160 GB.

dmesg:
Linux version 2.6.37 (root@debian-n150) (gcc version 4.4.1 (Sourcery G++ 
Lite 2010q1-188) ) #5 P$
CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=00053977
CPU: VIVT data cache, VIVT instruction cache
Machine: Marvell RD-88F6281 Reference Board
Memory policy: ECC disabled, Data cache writeback
On node 0 totalpages: 65536
free_area_init_node: node 0, pgdat c057e14c, node_mem_map c0651000
  Normal zone: 512 pages used for memmap
  Normal zone: 0 pages reserved
  Normal zone: 65024 pages, LIFO batch:15
pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
pcpu-alloc: [0] 0
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 
65024
Kernel command line: console=ttyS0,115200 root=/dev/sda2 rootdelay=10
PID hash table entries: 1024 (order: 0, 4096 bytes)
Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
Memory: 256MB = 256MB total
Memory: 253392k/253392k available, 8752k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xffc00000 - 0xffe00000   (   2 MB)
    vmalloc : 0xd0800000 - 0xfe800000   ( 736 MB)
    lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
      .init : 0xc0008000 - 0xc002e000   ( 152 kB)
      .text : 0xc002e000 - 0xc0550854   (5259 kB)
      .data : 0xc0552000 - 0xc05842c0   ( 201 kB)
SLUB: Genslabs=13, HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
Preemptable hierarchical RCU implementation.
        RCU-based detection of stalled CPUs is disabled.
        Verbose stalled-CPUs detection is disabled.
NR_IRQS:114
Console: colour dummy device 80x30
Calibrating delay loop... 992.87 BogoMIPS (lpj=4964352)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
NET: Registered protocol family 16
Kirkwood: MV88F6281-A0, TCLK=200000000.
Feroceon L2: Enabling L2
Feroceon L2: Cache support initialised.
initial MPP regs: 21111111 00003311 33331100 33333333 00000333 00000000 
00000000
  final MPP regs: 21111111 00003311 33331100 33333333 00000333 00000000 
00000000
Kirkwood PCIe port 0:
link up
PCI: bus0 uses PCIe port 0
pci 0000:00:00.0: [11ab:6281] type 0 class 0x000580
pci 0000:00:00.0: reg 10: [mem 0xf1000000-0xf10fffff 64bit pref]
pci 0000:00:00.0: reg 18: [mem 0x00000000-0x0fffffff]
pci 0000:00:00.0: supports D1 D2
pci 0000:00:01.0: [168c:002b] type 0 class 0x000280
pci 0000:00:01.0: reg 10: [mem 0x40000000-0x4000ffff 64bit]
pci 0000:00:01.0: supports D1
pci 0000:00:01.0: PME# supported from D0 D1 D3hot
pci 0000:00:01.0: PME# disabled
PCI: bus0: Fast back to back transfers disabled
pci 0000:00:01.0: BAR 0: assigned [mem 0xe0000000-0xe000ffff 64bit]
pci 0000:00:01.0: BAR 0: set to [mem 0xe0000000-0xe000ffff 64bit] (PCI 
address [0xe0000000-0xe00$
bio: create slab <bio-0> at 0
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
cfg80211: Calling CRDA to update world regulatory domain
Switching to clocksource orion_clocksource
NET: Registered protocol family 2
IP route cache hash table entries: 2048 (order: 1, 8192 bytes)
TCP established hash table entries: 8192 (order: 4, 65536 bytes)
TCP bind hash table entries: 8192 (order: 3, 32768 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
TCP reno registered
UDP hash table entries: 256 (order: 0, 4096 bytes)
UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
NET: Registered protocol family 1
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PCI: CLS 32 bytes, default 32
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
JFS: nTxBlock = 1979, nTxLock = 15837
msgmni has been set to 494
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
serial8250.0: ttyS0 at MMIO 0xf1012000 (irq = 33) is a 16550A
console [ttyS0] enabled
brd: module loaded
loop: module loaded
ONFI flash detected
NAND device: Manufacturer ID: 0xad, Chip ID: 0xdc (Hynix 
���������������������������������������$
Scanning device for bad blocks
Creating 3 MTD partitions on "orion_nand":
0x000000000000-0x000000100000 : "u-boot"
0x000000100000-0x000000300000 : "uImage"
0x000000300000-0x000020000000 : "root"
MV-643xx 10/100/1000 ethernet driver version 1.4
mv643xx_eth smi: probed
net eth0: port 0 with MAC address 00:d0:b8:0c:ca:4d
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
orion-ehci orion-ehci.0: Marvell Orion EHCI
orion-ehci orion-ehci.0: new USB bus registered, assigned bus number 1
orion-ehci orion-ehci.0: irq 19, io mem 0xf1050000
orion-ehci orion-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver ums-datafab
mice: PS/2 mouse device common for all mice
input: gpio-keys as /devices/platform/gpio-keys/input/input0
rtc-mv rtc-mv: rtc core: registered rtc-mv as rtc0
i2c /dev entries driver
cpuidle: using governor ladder
cpuidle: using governor menu
mv_xor_shared mv_xor_shared.0: Marvell shared XOR driver
mv_xor_shared mv_xor_shared.1: Marvell shared XOR driver
mv_xor mv_xor.0: Marvell XOR: ( xor cpy )
mv_xor mv_xor.1: Marvell XOR: ( xor fill cpy )
mv_xor mv_xor.2: Marvell XOR: ( xor cpy )
mv_xor mv_xor.3: Marvell XOR: ( xor fill cpy )
Registered led device: led_level
Registered led device: power_blue_led
Registered led device: power_red_led
Registered led device: usb_1_led
Registered led device: usb_2_led
Registered led device: usb_3_led
Registered led device: usb_4_led
Registered led device: otb_led
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
oprofile: hardware counters not available
oprofile: using timer interrupt.
ip_tables: (C) 2000-2006 Netfilter Core Team
arp_tables: (C) 2002 David S. Miller
TCP cubic registered
NET: Registered protocol family 17
lib80211: common routines for IEEE802.11 drivers
lib80211_crypt: registered algorithm 'NULL'
Registering the dns_resolver key type
Gating clock of unused units
before: 0x00dfc3dd
 after: 0x00c701cd
registered taskstats version 1
rtc-mv rtc-mv: setting system clock to 2012-03-16 23:30:32 UTC 
(1331940632)
Waiting 10sec before mounting root device...
usb 1-1: new high speed USB device using orion-ehci and address 2
hub 1-1:1.0: USB hub found
hub 1-1:1.0: 4 ports detected
usb 1-1.1: new high speed USB device using orion-ehci and address 3
usb-storage 1-1.1:1.0: Quirks match for vid 067b pid 2507: 110
scsi0 : usb-storage 1-1.1:1.0
usb 1-1.4: new high speed USB device using orion-ehci and address 4
scsi 0:0:0:0: Direct-Access     SAMSUNG  HM160HC          LQ10 PQ: 0 
ANSI: 0
sd 0:0:0:0: Attached scsi generic sg0 type 0
sd 0:0:0:0: [sda] Adjusting the sector count from its reported value: 
312581808
sd 0:0:0:0: [sda] 312581807 512-byte logical blocks: (160 GB/149 GiB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Adjusting the sector count from its reported value: 
312581808
sd 0:0:0:0: [sda] Assuming drive cache: write through
 sda: sda1 sda2 sda3 sda4
sd 0:0:0:0: [sda] Adjusting the sector count from its reported value: 
312581808
sd 0:0:0:0: [sda] Assuming drive cache: write through
sd 0:0:0:0: [sda] Attached SCSI disk
VFS: Mounted root (ext2 filesystem) on device 8:2.
Freeing init memory: 152K
ath: EEPROM regdomain: 0x65
ath: EEPROM indicates we should expect a direct regpair map
ath: Country alpha2 being used: 00
ath: Regpair used: 0x65
ieee80211 phy0: Selected rate control algorithm 'ath9k_rate_control'
Registered led device: ath9k-phy0::radio
Registered led device: ath9k-phy0::assoc
Registered led device: ath9k-phy0::tx
Registered led device: ath9k-phy0::rx
ieee80211 phy0: Atheros AR9285 Rev:2 mem=0xd0a80000, irq=9
ASIX USB Ethernet Adapter:v4.2.0 22:32:01 Mar 13 2012
<6>    http://www.asix.com.tw
eth%d: status ep1in, 8 bytes period 11
eth1: register 'asix' at usb-orion-ehci.0-1.4, ASIX AX88178 USB 2.0 
Ethernet, 00:0e:c6:89:20:4f
usbcore: registered new interface driver asix
Adding 195580k swap on /dev/sda3.  Priority:-1 extents:1 across:195580k
EXT3-fs: barriers not enabled
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda4): using internal journal
EXT3-fs (sda4): recovery complete
EXT3-fs (sda4): mounted filesystem with writeback data mode
eth0: link up, 100 Mb/s, full duplex, flow control disabled
eth1: rxqlen 0 --> 5
eth1: ax88178 - Link status is: 0
eth1: kevent 4 scheduled
eth1: ax88178 - Link status is: 1
NET: Registered protocol family 10
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
svc: failed to register lockdv1 RPC service (errno 97).
NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state recovery 
directory
NFSD: starting 90-second grace period
sshd (1468): /proc/1468/oom_adj is deprecated, please use 
/proc/1468/oom_score_adj instead.
nf_conntrack version 0.5.0 (3961 buckets, 15844 max)
eth1: no IPv6 routers present
eth0: no IPv6 routers present
wlan0: no IPv6 routers present
eth1: ax88178 - Link status is: 0
eth1: kevent 4 scheduled
eth1: ax88178 - Link status is: 1


hm wlan0 befindet sich im AP Modus....
Jeder Client der sich mit der iconnect verbindet erhält seine Daten so 
das er surfen kann.
eth0 ist mit dem Schulrouter verbunden
eth1 hängt an einer 1000 mbit switch

und an dieser Switch hab ich momentan mein Netbook angeschlossen.

An der Switch kann es nicht liegen, da ich ja die winterm 3150se damals 
auch an dieser Switch hatte.

cu andy

von andy (Gast)


Lesenswert?

könnte mir echt keiner helfen?

von (prx) A. K. (prx)


Lesenswert?

Ziemlich spezielles Problem in ziemlich unpassendem Forum - oh Wunder.

Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.