FreeBSD stürzt gnadenlos bei Filesharing ab

SpecialAgent

BSD Trainee
Hey,

also vorab: Der Server mit FreeBSD 6.1 läuft eigentlich einwandfrei und sehr stabil, hab den Kernel schon oft kompiliert, burnP6 läuft, uptime hat er schon 48 Stunden mitgemacht, etc... Ich habe das System von einem Single Prozzi auf ein SMB System mit zwei P3s aufgerüstet. Funktioniert alles eigentlich wunderbar....

nur... ich hab auf dem Server ein paar DVD Images, die ich jetzt über netatalk oder über samba auf meinem MacBook brennen wollte. Vor dem Umbau lief diese Lösung einwandfrei und sehr stabil.

Und jetzt hängt sich FreeBSD komplett auf, so dass ich einen Neustart machen muss. Unter Netatalk bekomme ich noch nicht mal eine Fehlermeldung, habe es dann mit Samba probiert und er ist auch abgestürzt, dabei stand auf der root konsole folgende

Fehlermeldungen:

Code:
kosh smbd[1306]: [date] lib/util_spck.c:write_data(562)
kosh smbd[1306]: [date]  write_data: write_data : write failure in writing to client IP Adresse. Error Broken pipe
kosh smbd[1306]: [date] lib/util_sock.c:send_smb(769)
kosh smbd[1306]: [date] Error writing 4 bytes to client. -1. (Broken pipe)

date = aktuelle Uhrzeit.

Kann es sein dass es am Speicher liegt? Aber es kommt nur bei dem Filesharing vor. Die Festplatten sollten eigentlich auch in Ordnung sein. Alle Ports sind auf dem aktuellstem stand und netatalk hatte ich auch nochmal neu compilieren lassen und neu installiert, hat aber nix gebracht.

Achja, wenn ich über netatalk ein Image erst auf das MacBook ziehe meckert er nich..

Hat jemand einen Rat?

Danke.

DMESG:

Code:
Copyright (c) 1992-2006 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 6.1-RELEASE-p4 #0: Fri Aug 25 19:25:48 CEST 2006
    martin@kosh.esry.local:/usr/obj/usr/src/sys/SMP
MPTable: <OEM00000 PROD00000000>
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (997.16-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x68a  Stepping = 10
  Features=0x387fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,PN,MMX,FXSR,SSE>
real memory  = 536870912 (512 MB)
avail memory = 515850240 (491 MB)
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Assuming intbase of 0
ioapic0 <Version 1.1> irqs 0-23 on motherboard
kbd1 at kbdmux0
cpu0 on motherboard
cpu1 on motherboard
pcib0: <MPTable Host-PCI bridge> pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
agp0: <VIA 82C691 (Apollo Pro) host to PCI bridge> mem 0xf0000000-0xf3ffffff at device 0.0 on pci0
pcib1: <PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci0: <display, VGA> at device 6.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C686B UDMA100 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xd400-0xd40f at device 7.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
uhci0: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 12 at device 7.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xdc00-0xdc1f irq 12 at device 7.3 on pci0
uhci1: [GIANT-LOCKED]
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
pci0: <bridge> at device 7.4 (no driver attached)
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xe000-0xe03f mem 0xf6202000-0xf6202fff,0xf6000000-0xf60fffff irq 10 at device 13.0 on pci0
miibus0: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> on miibus0
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp0: Ethernet address: 00:e0:81:21:6f:3c
fxp1: <Intel 82559 Pro/100 Ethernet> port 0xe400-0xe43f mem 0xf6201000-0xf6201fff,0xf6100000-0xf61fffff irq 11 at device 14.0 on pci0
miibus1: <MII bus> on fxp1
inphy1: <i82555 10/100 media interface> on miibus1
inphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fxp1: Ethernet address: 00:e0:81:21:6f:3d
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xc7fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
fdc0: <Enhanced floppy controller> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: [FAST]
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0c01> can't assign resources (memory)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0501> can't assign resources (port)
unknown: <PNP0400> can't assign resources (port)
Timecounters tick every 1.000 msec
ad0: 114473MB <WDC WD1200BB-00GUA0 08.02D08> at ata0-master UDMA100
ad1: 286188MB <Maxtor 6L300R0 BAJ41G20> at ata0-slave UDMA100
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/ad0s1a
WARNING: / was not properly dismounted
WARNING: /tmp was not properly dismounted
WARNING: /usr was not properly dismounted
/usr: mount pending error: blocks 0 files 8
WARNING: /var was not properly dismounted
WARNING: /usr/home/martin was not properly dismounted
/usr/home/martin: mount pending error: blocks 16 files 4

tail /var/log/messages:

Code:
Aug 28 22:55:00 kosh kernel: WARNING: / was not properly dismounted
Aug 28 22:55:00 kosh kernel: WARNING: /tmp was not properly dismounted
Aug 28 22:55:00 kosh kernel: WARNING: /usr was not properly dismounted
Aug 28 22:55:00 kosh kernel: /usr: mount pending error: blocks 0 files 8
Aug 28 22:55:00 kosh kernel: WARNING: /var was not properly dismounted
Aug 28 22:55:00 kosh kernel: WARNING: /usr/home/martin was not properly dismounted
Aug 28 22:55:00 kosh kernel: /usr/home/martin: mount pending error: blocks 16 files 4
Aug 28 22:55:11 kosh afpd[803]: main: atp_open: Protocol not supported
Aug 28 22:56:19 kosh fsck: /dev/ad0s1d: 28 files, 3113 used, 250702 free (30 frags, 31334 blocks, 0.0% fragmentation)
Aug 28 23:00:38 kosh afpd[1130]: Warning: No CNID scheme for volume /home/martin. Using default.

df -hi:

Code:
Filesystem     Size    Used   Avail Capacity iused    ifree %iused  Mounted on
/dev/ad0s1a    193M     78M    100M    44%    2418    23436    9%   /
devfs          1.0K    1.0K      0B   100%       0        0  100%   /dev
/dev/ad0s1d    496M    6.1M    450M     1%      27    65763    0%   /tmp
/dev/ad0s1f    106G     89G    8.7G    91%  204112 14186158    1%   /usr
/dev/ad0s1e    965M    149M    739M    17%   17221   124089   12%   /var
/dev/ad1s1d    271G    229G     20G    92%  388060 36305954    1%   /usr/home/martin

Sonst noch was interessant?
 
ich hab das gleiche problem, habe samba und per netatalk afp shares serviert, aber neuerdings stürzt der server ab wenn ich z.B. daten vom einen afp share auf den anderen kopiere.
ich frage mich ob diese meldung was damit zu tun hat.
meinserver afpd[869]: main: atp_open: Protocol not supported

€: ok habe jetzt netatalk im kernel, Yamagi meinte das könnte mit billigen switches zu tun habe.
 
Zuletzt bearbeitet:
Bei mir hängt sich der Rechner nicht auf, aber ich kenne das Problem, dass bei vielen Torrents oder auch bei afp das Netzwerk zusammenbricht. Schuld sind bei mir 3 billige Switche in Reihe hintereinander...

ssn's Fehlermeldung bekommt man in den Griff, wenn man netatalk im Kernel aktiviert.
 
aber dass ein billiger switch daran schuld sein soll dass mein komplettes freebsd abschmiert nur weil ich daten von einem afp share lese oder was draufkopiere?

Checking for core dump on /dev/ad0s1b...
savecore: reboot after panic: double fault
savecore: no dump, not enough free space on device (950930 available, need 1048130)
savecore: unsaved dumps found but not saved
Feb 20 08:40:31 x-serva savecore: reboot after panic: double fault
 
Zuletzt bearbeitet:
Hey,

also vorab: Der Server mit FreeBSD 6.1 läuft eigentlich einwandfrei und sehr stabil, hab den Kernel schon oft kompiliert, burnP6 läuft, uptime hat er schon 48 Stunden mitgemacht, etc... Ich habe das System von einem Single Prozzi auf ein SMB System mit zwei P3s aufgerüstet. Funktioniert alles eigentlich wunderbar....

nur... ich hab auf dem Server ein paar DVD Images, die ich jetzt über netatalk oder über samba auf meinem MacBook brennen wollte. Vor dem Umbau lief diese Lösung einwandfrei und sehr stabil.

Und jetzt hängt sich FreeBSD komplett auf, so dass ich einen Neustart machen muss. Unter Netatalk bekomme ich noch nicht mal eine Fehlermeldung, habe es dann mit Samba probiert und er ist auch abgestürzt, dabei stand auf der root konsole folgende

Fehlermeldungen:

tail /var/log/messages:

Code:
Aug 28 22:55:00 kosh kernel: WARNING: / was not properly dismounted
Aug 28 22:55:00 kosh kernel: WARNING: /tmp was not properly dismounted
Aug 28 22:55:00 kosh kernel: WARNING: /usr was not properly dismounted
Aug 28 22:55:00 kosh kernel: /usr: mount pending error: blocks 0 files 8
Aug 28 22:55:00 kosh kernel: WARNING: /var was not properly dismounted
Aug 28 22:55:00 kosh kernel: WARNING: /usr/home/martin was not properly dismounted
Aug 28 22:55:00 kosh kernel: /usr/home/martin: mount pending error: blocks 16 files 4
Aug 28 22:55:11 kosh afpd[803]: main: atp_open: Protocol not supported
Aug 28 22:56:19 kosh fsck: /dev/ad0s1d: 28 files, 3113 used, 250702 free (30 frags, 31334 blocks, 0.0% fragmentation)
Aug 28 23:00:38 kosh afpd[1130]: Warning: No CNID scheme for volume /home/martin. Using default.

Sonst noch was interessant?

Boote mal im Singeusermode und führe einen /sbin/fsck aus. Deine Festplatten waren/sind nicht ganz sauber...
 
Zurück
Oben