sk problems still present in 5.3

2004-11-07 Thread Goran Gajic
Hi,
I have installed 5.3-RELEASE FreeBSD on dual amd64 with 4Gb ram and 
problem with sk driver is still present. At least system is no longer
crashing, but when I try file copy from server (eiter via nfs or ftp) sk0 
hangs with message: sk0 watchdog timeout. It makes no difference if kernel 
is compiled with option SMP or not and debug.mpasafenet set to 0 or 1 also 
makes no difference. Since I have no problems with sk0 on single PIV
machine I thought that this might be some amd64 related problem so
on same amd64 I have installed 5.3-RELEASE i386 but problem still exists. 
Problem is not bi-directional since I can copy files to server either via 
ftp or nfs but copying from server causes sk hangs.

Regards,
Goran Gajic
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: sk problems still present in 5.3

2004-11-07 Thread Goran Gajic

From all patches submited I have found that only sk_jfree locking
makes some difference (no more kernel crashes) but problem
with copying from (not to) server over NFS or ftp is still bringig
sk into hang state and sk watchdog timeouts :(
skc0:  port 0x3000-0x30ff mem  
0xd830-0xd8303fff irq 29 at device 6.0 on pci3
skc0: SK-9521 V2.0 10/100/1000Base-T Adapter
sk0:  on skc0
sk0: Ethernet address: 00:00:5a:9c:d9:6b
miibus2:  on sk0

Regards,
gg.
On Sun, 7 Nov 2004, Bjoern A. Zeeb wrote:
On Sun, 7 Nov 2004, Goran Gajic wrote:
Hi,
I have installed 5.3-RELEASE FreeBSD on dual amd64 with 4Gb ram and
problem with sk driver is still present
check the archives; to get an overview perhaps start at
http://sources.zabbadoz.net/freebsd/if_sk.html
--
Bjoern A. Zeeb  bzeeb at Zabbadoz dot NeT
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


HTT/SMP does not start 2nd processor

2005-05-10 Thread Goran Gajic
 following
# line to enable it (connects to the sio and/or ppc drivers):
#device puc
# PCI Ethernet NICs.
device  em  # Intel PRO/1000 adapter Gigabit Ethernet Card
# PCI Ethernet NICs that use the common MII bus controller code.
# NOTE: Be sure to keep the 'device miibus' line in order to use these NICs!
device  miibus  # MII bus support
device  fxp
# Pseudo devices.
device  loop# Network loopback
device  mem # Memory and kernel memory devices
device  io  # I/O device
device  random  # Entropy device
device  ether   # Ethernet support
device  sl  # Kernel SLIP
device  ppp # Kernel PPP
device  tun # Packet tunnel.
device  pty # Pseudo-ttys (telnet etc)
device  md  # Memory "disks"
device  gif # IPv6 and IPv4 tunneling
device  faith   # IPv6-to-IPv4 relaying (translation)
# The Bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of enabling this!
# Note that 'bpf' is required for DHCP.
device  bpf # Berkeley packet filter
options IPFILTER
If you need more info I would be glad to help.
Regards,
Goran Gajic
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


IPF 4.1.8

2005-05-12 Thread Goran Gajic

Hi,
Have you tried building it from source? There is INSTALL.FreeBSD. First 
you have to run BSD/kupgrade and then recompile your kernel with options 
IPFILTER. If you have  tried compiling it on AMD64 here is patch that 
solves problem:

--- ip_frag.c   Tue Mar  8 13:51:04 2005
+++ ip_frag.c   Tue Mar  8 14:53:46 2005
@@ -391,7 +398,7 @@
 WRITE_ENTER(&ipf_ipidfrag);
 fra = ipfr_newfrag(fin, 0, ipfr_ipidtab);
 if (fra != NULL) {
-   fra->ipfr_data = (void *)ipid;
+   fra->ipfr_data = (void *)(intptr_t)ipid;
 *ipfr_ipidtail = fra;
 fra->ipfr_prev = ipfr_ipidtail;
 ipfr_ipidtail = &fra->ipfr_next;
@@ -576,7 +583,7 @@
 READ_ENTER(&ipf_ipidfrag);
 ipf = fr_fraglookup(fin, ipfr_ipidtab);
 if (ipf != NULL)
-   id = (u_32_t)ipf->ipfr_data;
+   id = (u_32_t)(intptr_t)ipf->ipfr_data;
 else
 id = 0x;
 RWLOCK_EXIT(&ipf_ipidfrag);
gg.

Hi
I`ve tried to import IPF 4.1.8 into freebsd-stable (5.4). It's first time I
tried something similar. Problem is, that the kernel fails to compile (it
needs somewhere 3 parameters, but gets only 2... or what). I followed  the
readme for freebsd-5. Any help ?
Jan Sebosik
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ipnat + SMP = kernel panic in 5.4-STABLE

2005-05-12 Thread Goran Gajic

Hi,
I have reported kernel panic on Dell 1600SC with 5.4-RELEASE but it is 
related to ipnat  from IPFILTER V3.4.35. Without SMP everything seems to 
work fine. But when  I turn on SMP and do ping -f one of ip addresses that 
is maped to outside interface produces kernel panic or lock hard (no 
response to ping or keyboard).

Regards,
gg.
p.s. I had few enteries like:
map fxp0 192.168.1.11/32 -> x.y.z.q/32
now I have moved them on another UP machine.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


FreeBSD 5.4: Is it generally unstable?

2005-06-08 Thread Goran Gajic


pgsql# uptime
 9:35PM  up 235 days, 11:12, 1 user, load averages: 1.40, 1.17, 1.11
pgsql# uname -v
FreeBSD 5.2.1-RELEASE #0: Wed Jul 28 18:02:39 CEST 2004 [EMAIL 
PROTECTED]:/usr/src/sys/i386/compile/PGSQL


I gues uptime would be even greater if I didn't have power failure and UPS
was empty. So far with 5.4 I have experienced problems on Dell Power Edge
1650SC (but that problem seems to be gone with HTT disabled and I did 
cvsup few times after installing RELEASE). I'm running many heavy loaded 
servers on 5.4 and I think that it is stable. Sometimes I'm thinking about 
running 6.0-CURRENT on production servers :))


Regards,
gg.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RPCPROG_NFS: RPC: Port mapper failure - RPC: Unable to receive

2005-06-09 Thread Goran Gajic



Hi,

I have upgraded fresh installed 5.4-RELEASE to 5.4-STABLE today. With 5.4R 
I was able to mount nfs from another 5.4R box. But after I did cvsup and 
buildworld and buildkernel today, I'm no longer able to use nfs. This is 
what I get when I try mount:


RPCPROG_NFS: RPC: Port mapper failure - RPC: Unable to receive

This message is what I get whenever I try mounting anything with nfs no 
matter is it exported or not or no matter does host exists or not like 
this:


hosting# mount 10.10.10.10:/backup /mnt
[udp] 10.10.10.10:/backup: RPCPROG_NFS: RPC: Port mapper failure - RPC: 
Unable to receive

^C
hosting# mount 1.1.1.1:/blabla /mnt
[udp] 1.1.1.1:/blabla: RPCPROG_NFS: RPC: Port mapper failure - RPC: Unable 
to receive

^C
hosting# mount 255.255.255.255:/blabla /mnt
[udp] 255.255.255.255:/blabla: RPCPROG_NFS: RPC: Port mapper failure - 
RPC: Unable to receive

^C
hosting#



Regards,
gg.


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RPCPROG_NFS: RPC: Port mapper failure - RPC: Unable to receive

2005-06-09 Thread Goran Gajic


I can also confirm that mount of NFS exports works ok with uipc_socket.c 
v1.208.2.18 - so there are some problems with v1.208.2.19


Regards,
gg.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


changes to src/sys/kern/uipc_socket2.c

2005-06-10 Thread Goran Gajic


Latest change to uipc_socket2.c fixed my problem with start of apache2 in
chroot enviroment. Whenever I reboot 5.4 I was forced to manualy do:

chroot /CHROOT/APACHE /usr/local/apache2/bin/httpd -D SSL

no matter I already had that line in rc.local. Now that problem is also 
gone.


Regards,
gg.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


LSI SATA-150-6 Raid support

2005-06-10 Thread Goran Gajic



Can anyone tell me what is status of support of drivers for LSI Logic
SATA 150-6 RAID controllers? I have seen news from May,11 that LSI will
support FreeBSD 5.4 but I was not able to find drivers for 5.4R on their 
site. I'm trying to install 5.4R on Fujitsu Siemens RX200S2 which has this

SATA but 5.4R sees disks ad4 and ad6 although I have configured controller
to use raid 1.

Regards.
gg.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: LSI SATA-150-6 Raid support

2005-06-10 Thread Goran Gajic




On Fri, 10 Jun 2005, [EMAIL PROTECTED] wrote:


Goran Gajic wrote:




Can anyone tell me what is status of support of drivers for LSI Logic
SATA 150-6 RAID controllers? I have seen news from May,11 that LSI will
support FreeBSD 5.4 but I was not able to find drivers for 5.4R on their 
site. I'm trying to install 5.4R on Fujitsu Siemens RX200S2 which has this

SATA but 5.4R sees disks ad4 and ad6 although I have configured controller
to use raid 1.

Regards.
gg.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"



hi - it is fully supported by os - check hardware notes 
http://www.freebsd.org/releases/5.4R/hardware-i386.html#DISK and news 
section.

next time do not post on two lists please



Sorry, I was little bit confused. Fujitsu Siemens RX100 S2 has some LSI 
SATA software raid controller. I suppose that is reason why it is not 
registered as amrd. It is also not listed in pciconf -lv.


Regards,
gg.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


NFS on 5.4

2005-06-13 Thread Goran Gajic



I have noticed same behaviour on latest 5.4-STABLE which
has nfs mounts. I'm running squid on that machine (but both NFS
exports are on Linux-2.6.12-rc5):

# netstat -m
4294964710 mbufs in use
2824/25600 mbuf clusters in use (current/max)
0/20/6656 sfbufs in use (current/peak/max)
5001 KBytes allocated to network
0 requests for sfbufs denied
0 requests for sfbufs delayed
247 requests for I/O initiated by sendfile
1454 calls to protocol drain routines

5.4-STABLE FreeBSD 5.4-STABLE #2: Sat Jun 11 02:26:09 CEST 2005

Regards,
gg.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


NFS on 5.4

2005-06-13 Thread Goran Gajic


Ups, I forgot:

#vmstat -z | grep Mbuf
MbufClust:  2048,25600,   4934,  0,  9085312
Mbuf:256,0,   4995,855, 199904149

Regards,
gg.

___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD -STABLE servers repeatedly crashing

2005-06-28 Thread Goran Gajic


Hi,

I have something like 20 boxes (Dell Power Edge 370, Fujitsu-Siemens 
PRIMERGY 200 and couple of dual AMD64 Fujitsu-Siemens) servers running 
5.4-STABLE. So far, only machine that I have experienced freezing and was 
unable to get droped into KDB or to get any sort of vmcore was Dell Power 
Edge 1600SC (dual Xeon 2.4GHz with 4Gb). I have noticed that since it was 
running squid-2.5 linked to pthread when I have switched to oops which was 
compiled on 5.2.1 and linked to libc_r that machine stoped crashing (HTT 
disabled, IPFILTER also disabled configuration GENERIC). However, I have 
decided to experiment and upgraded to 6.0-CURRENT and so far I haven't 
experienced any problems - except one panic caused by linux.ko and running 
edonkeyclc for linux (it was just experiment to see if it will work on 
6.0-CURRENT). I suppose that there might be some problems related to SMP 
on 5.4 and I don't know what for are you using problematic servers and I 
don't know if it is smart to use 6.0-CURRENT but so far I have positive 
experince with it on problematic server and would rather stay with FBSD 
then switching to NetBSD or OpenBSD.


Regards,
gg.
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD -STABLE servers repeatedly crashing

2005-06-28 Thread Goran Gajic



Some people suggested so - pf is supposed to be faster then IPFILTER.
However if you are experiencing machine freezing like I did on 5.4-STABLE
I'm not sure this will help - if nothing else helps try 6.0-CURRENT. I've 
also noticed that it is running much faster with all debuging enabled 
then regular 5.4-STABLE on same hardware...



Regards,
gg.



On Tue, 28 Jun 2005, Matt Juszczak wrote:




With what you're saying, maybe my problem is that I use IPFILTER and maybe it 
isn't an SMP problem?  Should I switch to PF?


-Matt


___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


PAE-SMP compilation problem

2005-11-22 Thread Goran Gajic



Hi,

I don't know if this is known, but when I have tried compiling PAE kernel
with SMP enabled on 6.0-RELEASE I've got this mistake:

cc -c -O -pipe  -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes 
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -fformat-extensions 
-std=c99 -g -nostdinc -I-  -I. -I../../.. -I../../../contrib/dev/acpica 
-I../../../contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf 
-I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd 
-I../../../contrib/ngatm -I../../../dev/twa -D_KERNEL 
-DHAVE_KERNEL_OPTION_HEADERS -include opt_global.h -fno-common 
-finline-limit=8000 --param inline-unit-growth=100 --param 
large-function-growth=1000  -mno-align-long-strings 
-mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 
-ffreestanding -Werror  ../../../dev/hptmv/entry.c

../../../dev/hptmv/entry.c: In function `fOsBuildSgl':
../../../dev/hptmv/entry.c:2476: warning: cast to pointer from integer of 
different size

../../../dev/hptmv/entry.c: In function `hpt_io_dmamap_callback':
../../../dev/hptmv/entry.c:2606: warning: cast to pointer from integer of 
different size

../../../dev/hptmv/entry.c: In function `OsSendCommand':
../../../dev/hptmv/entry.c:2758: warning: cast to pointer from integer of 
different size

*** Error code 1

Stop in /usr/src/sys/i386/compile/PAE-SMP.

I have added nodev hptmv in PAE config in /usr/src/sys/i386/conf/PAE together 
with option SMP (only two changes I have made to PAE config file).



Regards,
Goran Gajic
___
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"