Group membership above 15 of them
Hi, I would like to have users with more than 15 groups. The default kern.ngroups: is 16 by default and readonly, and not even /etc/sysctl.conf allows to modify it after reboot, although securelevel is -1. I read somewhere that I need the modify the source and rebuild world for this. If I put myself into more than 15 groups I cannot login anymore and only sshd[52178]: initgroups(username,100): Invalid argument message in the syslog warns me about this - I think more warnings needed at some other point since you can easily lock out yourself from a remote system. So what steps should I take to let this configuration work. Isn't there an easier way then rebuild wolrd ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
php5-mbstring (5.1.1) compile error on amd64 r5.4
Hi everyone, yesterday I wanted to upgrade the ports. I cvsupped and run portupgrade. Today I have realized that the mbstring extension is out of order. After some investigation I found that even though in the /usr/ports/lang/php5/Makefile I read PORTVERSION= 5.1.1, /usr/ports$ make search name=php5 reports : Port: php5-5.0.4_2 Path: /usr/ports/lang/php5 Info: PHP Scripting Language (Apache Module and CLI) Maint: [EMAIL PROTECTED] B-deps: apache-1.3.33_1 bison-1.75_2 expat-1.95.8_1 gettext-0.14.4 libiconv-1.9.2_1 libxml2-2.6.19 m4-1.4.3 perl-5.8.6_2 pkgconfig-0.17.2 R-deps: apache-1.3.33_1 expat-1.95.8_1 libiconv-1.9.2_1 libxml2-2.6.19 perl-5.8.6_2 pkgconfig-0.17.2 WWW:http://www.php.net/ so I made make fetchindex manually and solved this issue, but Im wondering why it didn't made this automatically so back to the main problem issuing a make in /usr/ports/converters/php5-mbstring results: cc -DNOT_RUBY -DHAVE_CONFIG_H -I. -I/usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring -DPHP_ATOM_INC -I/usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring/include -I/usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring/main -I/usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring/oniguruma -I/usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring/libmbfl -I/usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring/libmbfl/mbfl -DHAVE_CONFIG_H -O -pipe -c /usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring/oniguruma/regerror.c -fPIC -DPIC -o oniguruma/.libs/regerror.o In file included from /usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring/oniguruma/regerror.c:37: /usr/include/varargs.h:34:2: #error " is obsolete with this version of GCC." /usr/include/varargs.h:35:2: #error "Change your code to use instead." so if I correct line 37 of regerror.c from varargs.h to stdarg.h I got another error: cc -DNOT_RUBY -DHAVE_CONFIG_H -I. -I/usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring -DPHP_ATOM_INC -I/usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring/include -I/usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring/main -I/usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring -I/usr/local/include/php -I/usr/local/include/php/main -I/usr/local/include/php/TSRM -I/usr/local/include/php/Zend -I/usr/local/include/php/ext -I/usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring/oniguruma -I/usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring/libmbfl -I/usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring/libmbfl/mbfl -DHAVE_CONFIG_H -O -pipe -c /usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring/oniguruma/regerror.c -fPIC -DPIC -o oniguruma/.libs/regerror.o /usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring/oniguruma/regerror.c: In function `onig_error_code_to_str': /usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring/oniguruma/regerror.c:189: error: syntax error before "va_dcl" /usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring/oniguruma/regerror.c:197: error: syntax error before "__builtin_stdarg_start" /usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring/oniguruma/regerror.c:264: error: syntax error before "va_dcl" /usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring/oniguruma/regerror.c:268: error: redefinition of parameter 's' /usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring/oniguruma/regerror.c:187: error: previous definition of 's' was here /usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring/oniguruma/regerror.c:272: error: syntax error before "__builtin_stdarg_start" *** Error code 1 Stop in /usr/ports/converters/php5-mbstring/work/php-5.1.1/ext/mbstring. *** Error code 1 I did successfull upgrade on completly different machine (SMP i386 - 5.3) the machine with problems: uname -a FreeBSD 5.4-RELEASE-p7 FreeBSD 5.4-RELEASE-p7 #0: Fri Sep 9 16:42:21 CEST 2005 /usr/src/sys/amd64/compile/kernel amd64 Any clue ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Failover cluster for webserver with dynamic content ?
No answer for days ... does it mean it can not be done correctly ? On sze, 2005-04-20 at 12:49 +0200, Feczak Szabolcs wrote: > On k, 2005-04-19 at 17:21 -0400, Paul Mather wrote: > > to what you describe using geom_gate for the remote component. See > > ggated(8) and ggatec(8) for how to set up an use a geom_gate provider. > > > Note that the geom_mirror + geom_gate synchronisation would be one-way. > > Bad luck, I would like to have something that creates a layer over the > two volume of the machines, and when this higher layer accessed both > execute the requested operation. > > Anyway one step further, my question is > How can I create a failover cluster with two machines > for a freebsd webserver with dynamic content > runing apache with php, and postgresql. > > I read about CARP, but more experienced people advised me to use > DNS-LB since its more reliable with service type pings (HTTP GET) > than simple is the machine answers for TCP SYN. They made a point with > that to me. > > Im trying to syncronize the postgresql database with Slony, no luck > yet, all the examples I found describing master and slave on the > same machine. I got slony communicate between the two, but on updates > nothing happens on the slave. I access the master on unix socket, > maybe other type of access needed .. hm I will see > > If on failure the switching is done with DNS-LB and the SQL is in sync > Im nearly OK, but since I have file uploads on the webserver as well, > I need a shared volume which available to both of them and after > one is out the other still has access to the data. > > Maybe Im complettly wrong I have no clear ideas about what happens > when this ... and what happens whan that ... scenarios > > All I want is a higher availability with two machines than one > and without messing up the consistency of the data of course. > Im not after chasing nearly 100% ... the policy/expectation is > if one fails the other should automatically continue the > serving data (nearly there) where the other stopped. > > If anyone did something like that, and aware of some solution without > buying expensive HA hardware, please share us. > Hope this is possible at all. > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Failover cluster for webserver with dynamic content ?
On k, 2005-04-19 at 17:21 -0400, Paul Mather wrote: > to what you describe using geom_gate for the remote component. See > ggated(8) and ggatec(8) for how to set up an use a geom_gate provider. > Note that the geom_mirror + geom_gate synchronisation would be one-way. Bad luck, I would like to have something that creates a layer over the two volume of the machines, and when this higher layer accessed both execute the requested operation. Anyway one step further, my question is How can I create a failover cluster with two machines for a freebsd webserver with dynamic content runing apache with php, and postgresql. I read about CARP, but more experienced people advised me to use DNS-LB since its more reliable with service type pings (HTTP GET) than simple is the machine answers for TCP SYN. They made a point with that to me. Im trying to syncronize the postgresql database with Slony, no luck yet, all the examples I found describing master and slave on the same machine. I got slony communicate between the two, but on updates nothing happens on the slave. I access the master on unix socket, maybe other type of access needed .. hm I will see If on failure the switching is done with DNS-LB and the SQL is in sync Im nearly OK, but since I have file uploads on the webserver as well, I need a shared volume which available to both of them and after one is out the other still has access to the data. Maybe Im complettly wrong I have no clear ideas about what happens when this ... and what happens whan that ... scenarios All I want is a higher availability with two machines than one and without messing up the consistency of the data of course. Im not after chasing nearly 100% ... the policy/expectation is if one fails the other should automatically continue the serving data (nearly there) where the other stopped. If anyone did something like that, and aware of some solution without buying expensive HA hardware, please share us. Hope this is possible at all. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
gmirror on local + nfs volume
I have read about this some months ago on the list, but I can not find it now. Can someone explain how to make a Geom mirror with one local and one remote component ? (so basicly syncronize two volumes between machines automagically) Thanks ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
NFS4 server
is there a well tested nfs4 server for freebsd out there ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Geometry and Mirror
I just do not get this. I have read the manual and Im still in the fog I used to install FreeBSD and when it came to fdisk, I have ignored the following warning: "WARNING: A gemotry of 310101/16/63 for ad0 is incorrect, using a more likely geometry. If this geometry is incorrect or you are unsure as to wheteher or not it is correct please consult the Hardware Guide int the doc submenu or use the (G)eom command to change it now" It was no problem at all, since when I have started to use raid mirror with g(eom)mirror. The problem came when after reboot the system recognized different C/H/S values for the identical disks. According to dmesg it was either 310098/16/63, or sometimes: 310101/16/63 The BIOS setting was autodetect for both drives. And gmirror complained, that one drive is smaller then the other, so the mirror has been destroyed ... I thought I should dig this up, since its realy uneasy situation. The fdisk warning advises to read the Hardware Guide in the doc submenu, though this section doesn't have a word about geometry. The Handbook Allocating Disk Space chapter says: "FreeBSD does not use the BIOS, and does not know the ``logical BIOS drive mapping''. This can lead to very perplexing situations, especially when drives are physically identical in geometry, and have also been made as data clones of one another. When using FreeBSD, always restore the BIOS to natural drive numbering before installing FreeBSD, and then leave it that way. If you need to switch drives around, then do so, but do it the hard way, and open the case and move the jumpers and cables." Peplexing situations ... and realy Sysinstal/fdisk says "Remember: you need to enter whatever your BIOS thinks the geometry is!" Ok, bios can think 3 things: 65535/16/255 CHS 4095/240/255 Large 16643/255/63 LBA If I say CHS or Large values at the geom prompt, I receive the same message: "WARNING: A gemotry of xxx/xxx/xxx is incorrect". Only the LBA values are accepted, though 16643/255/63 results 130551 Mb, which is much lower than 152625 Mb with the propused 19457/255/63 values by fdisk. I thought I accept the values 19457/255/63, and it stores this somewhere, though on next sysinstall it still complains about this. So what mode (CHS,LBA,Large) should I set in the BIOS (autodetect seems to be riksy ...) ? What geometry should I use in sysinstall/fdisk ? Will this geometry warning always come ? Will dmesg output ever display a correct value instead of 310098/16/63 ? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Identical physical drives reported different to have different size by dmesg
ad0: 190781MB [387618/16/63] at ata0-master UDMA100 ad1: 190782MB [387621/16/63] at ata1-master UDMA100 What can be the problem ? The drives should have the same parameters ... I have tried to override Cylinder numbers with fdisk -i without luck ... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ncplist s kernel panic on 5.3-Release
Im having problems with ncpfs on 5.3-release ... The problem was noticed after a 4.10 to 5.3 upgrade. I have installed another 5.3 from scratch and recompiled the stock GENERIC config with IPX support as follows: /sys/i386/conf/IPX include GENERIC options IPX issued the make kernel in the /usr/src after cvsup to 5.3-RELEASE-p2 after reboot installed the latest ncplib-1.3.4 from ports ifconfig xl0 ipx 0x8020001 kldload ncp ncplist s I got then: Fatal trap 12: page fault while in kernel mode fault virtual address = 0x0 fault code = supervisor read, page not present instruction pointer = 0x8:0xc062bb7a stack pointer = 0x10:0xd0850bb8 frame pointer = 0x10:0xd0850bb8 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= interrupt enabled, resume, IOPL = 0 current process = 479 (ncplist) trap number = 12 panic: page fault The server on the other side of the network is a Novel Netware 4.11 default install with nds and bindery enabled. If I do not configure the convinient ipx network on xl0 I got ncplist s Can't find any file server without kernel panic Any thoughts on this ? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Routing help with arp or zebra -> BRIDGE
so the answer to myself If I would like to connect two physical nets without subnetting I must use bridging. The following commands solve the problem: sysctl net.link.ether.bridge=1 sysctl net.link.ether.bridge_cfg=fxp0,fxp1 > 2004-11-29, h keltezéssel 17:02-kor Feczak Szabolcs ezt írta: > > Hi there, > > > > I have the following network env. (IPs are not real though similar) > > > > (INTERNET) - [? ? ? ?] Internet GW (cisco) [195.223.41.1] - switch - > > > > hosts connected to the switch like 195.223.41.10 195.223.41.119 etc. > > probably in the /24 range or maybe it uses classless routing I do > > not realy know > > > > My host/router is connected to this switch as well > > > > [195.223.41.14/28 fxp0] inner gw [195.223.41.161/28 fxp1] > > > > I have hosts connected to this innergw in the 195.223.41.160/28 network > > like 195.223.41.163 for example > > > > > > of course this setup doesn't work promptly, but If I do > > on the inner-gw the following > > > > ifconfig fxp1 down > > route delete 195.223.41.163 > > ifconfig fxp0 alias 195.223.41.163/32 > > > > ping 195.223.41.163 from the other side of the internet > > of course it works since Internet GW forwards the packet > > to its switched interface, than arp request and response > > on the innergw fxp0 interface > > Now the Cisco router has 195.223.41.163 in its arp cache > > so now I do the following on the innergw > > > > ifconfig fxp0 -alias 195.223.41.163 > > ifconfig fxp1 up > > > > ping 195.223.41.163 > > whoala it works .. I can reach my machine behind the > > innergw > > > > for 4 hours, then cisco clears this entry from its arp > > cache and no more fun. > > > > I have tried to do something with arp host hwaddr pub command, > > but its trying to advertise things on the inner interface > > so its no good. > > > > I know the best would be a static route entry on the cisco > > to route all packets in the 195.223.41.160/28 network to > > the innergw interface. > > > > Sadly I do not have access to the cisco router and its admin > > is nearly unreachable and make him do things is even harder. > > > > So my question is ... is it possible to do the trick with > > some arp magic, or do I need zebra to talk rip or sg. with > > the cisco, so I can advertise my subnet ? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Routing help with arp or zebra
Hi there, I have the following network env. (IPs are not real though similar) (INTERNET) - [? ? ? ?] Internet GW (cisco) [195.223.41.1] - switch - hosts connected to the switch like 195.223.41.10 195.223.41.119 etc. probably in the /24 range or maybe it uses classless routing I do not realy know My host/router is connected to this switch as well [195.223.41.14/28 fxp0] inner gw [195.223.41.161/28 fxp1] I have hosts connected to this innergw in the 195.223.41.160/28 network like 195.223.41.163 for example of course this setup doesn't work promptly, but If I do on the inner-gw the following ifconfig fxp1 down route delete 195.223.41.163 ifconfig fxp0 alias 195.223.41.163/32 ping 195.223.41.163 from the other side of the internet of course it works since Internet GW forwards the packet to its switched interface, than arp request and response on the innergw fxp0 interface Now the Cisco router has 195.223.41.163 in its arp cache so now I do the following on the innergw ifconfig fxp0 -alias 195.223.41.163 ifconfig fxp1 up ping 195.223.41.163 whoala it works .. I can reach my machine behind the innergw for 4 hours, then cisco clears this entry from its arp cache and no more fun. I have tried to do something with arp host hwaddr pub command, but its trying to advertise things on the inner interface so its no good. I know the best would be a static route entry on the cisco to route all packets in the 195.223.41.160/28 network to the innergw interface. Sadly I do not have access to the cisco router and its admin is nearly unreachable and make him do things is even harder. So my question is ... is it possible to do the trick with some arp magic, or do I need zebra to talk rip or sg. with the cisco, so I can advertise my subnet ? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
best hardware for SATA on 5.3
I have an Abit NF7 board and I have purchased 2 SATA hard disk, and extended the board with an STLab card wich uses the Sil 3112A chip. This card has an OTP EPROM, so bios version 4.2.12 is not updateable. I have TIMEOUT - WRITE_DMA errors during drive access. I have read in the archives that this controller is a piece of crap, so I have decided to get rid of it and buy another pci extension card or another motherboard, which has onboard sata ports. Looks like another motherboard is a better choice, since I need 2 ports and a these kind of SATA IO cards are nearly in the same pricerange as a completly new motherboard. I thought about Asus A7V600, but I also read that someone had problems with the onboard VIA 8237 SATA150 controller as well on 5.2.1 So my question is: What should I buy to be sure that I will not run into problems but smoothly use my two SATA hard drive on 5.3 Release or Stable ? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
extending concat vinum array
Hi I have the following concatenated array: 3 drives: D vinumdrive0 State: up /dev/ad2A: 0/152627 MB (0%) D vinumdrive1 State: up /dev/ad3A: 0/152627 MB (0%) D vinumdrive2 State: up /dev/ad1A: 0/152627 MB (0%) 1 volumes: V vol State: up Plexes: 1 Size:447 GB 1 plexes: P vol.p0 C State: up Subdisks: 3 Size:447 GB 3 subdisks: S vol.p0.s0 State: up D: vinumdrive0 Size:149 GB S vol.p0.s1 State: up D: vinumdrive1 Size:149 GB S vol.p0.s2 State: up D: vinumdrive2 Size:149 GB it had olny the first two drives before, and it was operational when I issue growfs it dumps core: new file systemsize is: 234436157 frags Warning: 251796 sector(s) cannot be allocated. Segmentation fault (core dumped) fsck says BAD SUPER BLOCK: VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE /dev/vinum/vol: CANNOT FIGURE OUT FILE SYSTEM PARTITION any ideas to solve it ? -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
mount nwfs share over tcp/ip
there is not too much about native IP access in the manpage, only that the -A should be used I guess parametered with the IP, but I hav no success # ifconfig xl0f2 ipx 0x8021 # IPXrouted -q # netstat -rf ipx Routing tables IPX: DestinationGatewayFlagsNetif Expire default8021.105abc6f5 UG xl0f2 8021.* 8021.a5e3efe20 U xl0f2 # ncplist s Visible servers (from SZABO-SERVER-BAJCSY): NameNetworkNode Port --- SZABO-SERVER-BAJCSY 37DC:0001:0451 # mount_nwfs -U admin -S SZABO-SERVER-BAJCSY -A 192.168.0.101 -V DATA /mnt/nwfs Netware password: mount_nwfs: cannot login to server SZABO-SERVER-BAJCSY: syserr = Connection refused ?? # ping 192.168.0.101 PING 192.168.0.101 (192.168.0.101): 56 data bytes 64 bytes from 192.168.0.101: icmp_seq=0 ttl=128 time=0.134 ms ^C --- 192.168.0.101 ping statistics --- 1 packets transmitted, 1 packets received, 0% packet loss round-trip min/avg/max/stddev = 0.134/0.134/0.134/0.000 ms Interesting ports on 192.168.0.101: PORT STATE SERVICE 7/tcp open echo 7/udp open echo 9/tcp open discard 9/udp open discard 19/tcp open chargen 19/udp open chargen 161/udp open snmp 520/udp open route -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Login to Netware NDS ?
Dan Nelson dnelson at allantgroup.com wrote: > See the mount_nwfs and ncplogin manpages. ncplib was merged into the > base system long ago. I have checked, but nothing about NDS there ... More things here that I do not understand ipx setting # grep ipx /etc/rc.conf ifconfig_xl0f2_ipx="ipx 0x8021" ipxrouted_flags="-q" ipxrouted_enable="YES" latest release # uname -a FreeBSD backup.sdi.hu 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #2: Wed Aug 18 20:08:14 CEST 2004 [EMAIL PROTECTED]:/mnt/data/obj/mnt/data/cvs/src/sys/BACKUP i386 after boot ipxrouted starts # ps uaxw| grep IPXrouted root 74 0.0 0.2 944 572 ?? Ss5:28PM 0:00.00 IPXrouted -q root 208 0.0 0.3 1092 660 p0 S+5:30PM 0:00.00 grep IPXrouted routing tables are not so right .. # netstat -rf ipx Routing tables IPX: DestinationGatewayFlagsNetif Expire 8021.* 8021.a5e3efe20 U xl0f2 I can't see the server # ncplist s Can't attach to a nearest server Serverlog says error Aug 26 17:32:36 backup IPXrouted[74]: DELETEservice 0278 TREE addr 37dc#0:0:0:0:0:1.4006 metric 16 Aug 26 17:32:36 backup IPXrouted[74]: DELETEservice 026B TREE addr 37dc#0:0:0:0:0:1.0005 metric 16 Aug 26 17:32:36 backup IPXrouted[74]: DELETEservice 0004 SZABO-SERVER-BAJCSY addr 37dc#0:0:0:0:0:1.0451 metric 16 Aug 26 17:33:07 backup /kernel: ncp_send: error 51 for server SZABO-SERVER-BAJCSY Aug 26 17:33:07 backup /kernel: Aug 26 17:33:07 backup /kernel: Aug 26 17:33:07 backup /kernel: ncp_send: error 51 for server SZABO-SERVER-BAJCSY restart IPXrouted # killall -9 IPXrouted # IPXrouted -q Routing gets better # netstat -rf ipx Routing tables IPX: DestinationGatewayFlagsNetif Expire default8021.105abc6f5 UG xl0f2 8021.* 8021.a5e3efe20 U xl0f2 So finally I can see it # ncplist s Visible servers (from SZABO-SERVER-BAJCSY): NameNetworkNode Port --- SZABO-SERVER-BAJCSY 37DC:0001:0451 and the volumes # ncplist v SZABO-SERVER-BAJCSY Mounted volumes on server SZABO-SERVER-BAJCSY: Number Name -- --- 0 SYS 1 DATA mount it (bindery) # mount_nwfs -U admin -S SZABO-SERVER-BAJCSY -V DATA /mnt/nwfs Netware password: go to one of the dirs in the mount # cd /mnt/nwfs/xxx I have a file here already # ls /mnt/nwfs/xxx aliases Would like to copy here another one # cp /etc/make.conf . /mnt/nwfs/xxx cp: ./make.conf: Unknown error: 35207 error ... about the rights # ls -ld . /mnt/nwfs/xxx drwxr-xr-x 1 root wheel 16384 Aug 26 17:42 . about the mount # mount | grep nwfs /SZABO-SERVER-BAJCSY:ADMIN/DATA on /mnt/nwfs (nwfs) more errors ... Aug 26 17:51:20 backup /kernel: ncp_send: error 4 for server SZABO-SERVER-BAJCSY Aug 26 17:51:20 backup /kernel: Aug 26 17:51:20 backup /kernel: Aug 26 17:51:20 backup /kernel: ncp_send: error 4 for server SZABO-SERVER-BAJCSY Aug 26 17:53:20 backup IPXrouted[281]: ADD dst 37dc#0:0:0:0:0:0, router 8021#0:10:5a:bc:6f:56, metric 1, ticks 2, flags UP|GATEWAY state CHANGED Aug 26 17:53:20 backup IPXrouted[281]: ADD service 0004 SZABO-SERVER-BAJCSY addr 37dc#0:0:0:0:0:1.0451 metric 1 Aug 26 17:53:20 backup IPXrouted[281]: ADD service 026B TREE addr 37dc#0:0:0:0:0:1.0005 metric 1 Aug 26 17:53:20 backup IPXrouted[281]: ADD service 0278 TREE addr 37dc#0:0:0:0:0:1.4006 metric 1 it is a fresh install of netware 4.11 btw > You could also run Netware NFS on your Netware > server and access it via regular NFS mounts on Unix. First, Is this free ? Second, Is this ok with Netware 4.11 ? I have heard some weeks ago that there is a port in the tree which can mount nwfs shares through the nfs calls or something on the client side, but I can not recall its name -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // __
Login to Netware NDS ?
Is it possible somehow to log in to netware nds from freebsd ? ncplip doesn't support it and this project is discontinued according to the maintainer ... Any stable way to access netware shares ? Im having problems with the accessibility even with bindery http://www.freebsd.org/cgi/query-pr.cgi?pr=65920 -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Freebsd 4.10 ncplogin + Netware 4.11 = nwerr 89fc
When Im trying to log into the netware server, I got nwerr = 89fc, which according to this source code http://debian.fapeal.br/debian/pool/main/n/ncpfs/ncpfs_2.2.0.18-10.diff means Unknown server, (even though this source is from a linux distro, I think the netware error codes are more or less the same, but maybe Im wrong). Its a bit wierd, since the ipx configuration looks ok, I can see the server in ncplist and I can ipxping it. I use the same login information (user,tree,servername,password) to access the server as on win, which works see http://www.szabokft.hu/netware.jpg I had success with ipx and ncpfs in the past on fbsd on another system, so Im confused with this. Any help appreciated, here are some more info to figure it out Novel Netware config: File Server Name: SZABO-SERVER-BAJCSY IPX Internal Network number: 37DC Node Address: 0001 Frame Type: VIRTUAL_LAN LAN protocol: IPX network 37DC Compaq NetFlex-3 & Netelligent Ethernet HSM Version 2.45 March 25, 1999 Hardware setting: Slot 10001, I/O ports 2c20h to 2c2fh, Interrupt Ah Node Address: 00508BA0F270 Frame type: ETHERNET_802.2 Board Name: CPQNF3_1_E82 LAN protocol: IPX network 8021 Compaq NetFlex-3 & Netelligent Ethernet HSM Version 2.45 March 25, 1999 Hardware setting: Slot 10001, I/O ports 2c20h to 2c2fh, Interrupt Ah Node Address: 00508BA0F270 Frame type: ETHERNET_802.3 Board Name: CPQNF3_1_E82 LAN protocol: IPX network 8031 Freebsd config and commands I have tried: # ifconfig xl0f2 xl0f2: flags=8843 mtu 1500 ipx 8021H.a5e3efe20 inet6 fe80::20a:5eff:fe3e:fe20%xl0f2 prefixlen 64 scopeid 0xa ether 00:0a:5e:3e:fe:20 # netstat -fipx -r Routing tables IPX: DestinationGatewayFlagsNetif Expire default8021.508ba0f27 UG xl0f2 8021.* 8021.a5e3efe20 U xl0f2 8031.* 8021.508ba0f27 UG xl0f2 # ncplist s Visible servers (from SZABO-SERVER-BAJCSY): NameNetworkNode Port --- SZABO-SERVER-BAJCSY 37DC:0001:0451 # ipxping -c 3 SZABO-SERVER-BAJCSY Ping SZABO-SERVER-BAJCSY (37dc.1H.9086H): 8 data bytes 8 bytes received: seq=0 time=0.256 ms 8 bytes received: seq=1 time=0.233 ms 8 bytes received: seq=2 time=0.212 ms --- SZABO-SERVER-BAJCSY ping statistics --- 3 packets sent, 3 received, 0% packets loss round-trip min/avg/max = 0.212/0.234/0.256 # ncplogin -S SZABO-SERVER-BAJCSY -U user28 -T SZABO-SERVER-BAJCSY-TREE Netware password: ncplogin: Could not login to server SZABO-SERVER-BAJCSY: nwerr = 89fc # uname -a FreeBSD backup.sdi.hu 4.10-RELEASE-p2 FreeBSD 4.10-RELEASE-p2 #2: Wed Aug 18 20:08:14 CEST 2004 [EMAIL PROTECTED]:/mnt/data/obj/mnt/data/cvs/src/sys/BACKUP i386 # pkg_info| grep ncp ncplib-1.3.4Client for Novell NetWare servers dmesg attached in txt -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ACPI debug layer 0x0 debug level 0x0 Copyright (c) 1992-2004 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 4.10-RELEASE-p2 #2: Wed Aug 18 20:08:14 CEST 2004 [EMAIL PROTECTED]:/mnt/data/obj/mnt/data/cvs/src/sys/BACKUP Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1830014130 Hz CPU: AMD Athlon(tm) XP 2500+ (1830.01-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x6a0 Stepping = 0 Features=0x383fbff AMD Features=0xc040 real memory = 268369920 (262080K bytes) avail memory = 256397312 (250388K bytes) Preloaded elf kernel "kernel" at 0xc046c000. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 11 entries at 0xc00fce20 acpi0: on motherboard acpi0: power button is handled as a fixed feature programming model. Timecounter "ACPI-fast" frequency 3579545 Hz acpi_cpu0: on acpi0 acpi_button0: on acpi0 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pci0: (vendor=0x10de, dev=0x01eb) at 0.1 pci0: (vendor=0x10de, dev=0x01ee) at 0.2 pci0: (vendor=0x10de, dev=0x01ed) at 0.3 pci0: (vendor=0x10de, dev=0x01ec) at 0.4 pci0: (vendor=0x10de, dev=0x01ef) at 0.5 isab0: at device 1.0 on pci0 isa0: on isab0 pci0: (vendor=0x10de, dev=0x0064) at 1.1 irq 5 ohci0: mem 0xe0003000-0xe0003fff irq 10 at device 2.0 on pci0 usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: (0x10de) OHCI root hub, class 9/0, rev 1.00/
firewall on cdrom
Any similar projects like closedbsd out there ? -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: ipv6 basic problem
On Tue, Jun 15, 2004 at 08:00:23PM +0900, Byung-hee H. wrote: > Tue, Jun 15, 2004 at 12:04:29PM +0200 > Feczak Szabolcs <[EMAIL PROTECTED]> wrote: > > # ping6 ::1 > > PING6(56=40+8+8 bytes) ::1 --> ::1 > > ping6: sendmsg: No route to host > > > > Any hint why it is not working ? > > thanks > > > If you can not obtain native IPv6 address, try to connect via 6to4. > But, 6to4 IPv6 address depends on IPv4 address. This means that you have to > reconfigure your tunnel every time after your IPv4 address changes. no, the problem was that I couldn't even ping the loopback interface, and the problem was solved by commenting the following line out from the kernelconfig #optionsIPFILTER_DEFAULT_BLOCK #block all packets by default -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ipv6 basic problem
# netstat -f inet6 -rn Internet6: Destination Gateway Flags Netif Expire ::/96 ::1 UGRSlo0 ::1 ::1 UH lo0 :::0.0.0.0/96 ::1 UGRSlo0 fe80::/10 ::1 UGRSlo0 fe80::%fxp0/64link#1UC fxp0 fe80::202:b3ff:fed7:3453%fxp0 00:02:b3:d7:34:53 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#2UHL lo0 ff01::/32 ::1 U lo0 ff02::/16 ::1 UGRSlo0 ff02::%fxp0/32link#1UC fxp0 ff02::%lo0/32 ::1 UC lo0 # ifconfig lo0 lo0: flags=8049 mtu 16384 inet 127.0.0.1 netmask 0xff00 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 # ping6 ::1 PING6(56=40+8+8 bytes) ::1 --> ::1 ping6: sendmsg: No route to host Any hint why it is not working ? thanks -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Rsync over SMBFS - bad filedescriptor
Bad file descriptor occurs while Im trying to rsync from smbfs the files are mounted as the following //[EMAIL PROTECTED]/HDD$ on /mnt/smbfs (smbfs, read-only) kern.maxfiles is set to 32768 kern.maxfilesperproc is set to 16384 smb.conf, although it might not makes a difference as a client set to socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=4096 SO_RCVBUF=4096 uname -a FreeBSD localhost 4.10-RC FreeBSD 4.10-RC #1: Wed Apr 28 20:00:41 CEST 2004 [EMAIL PROTECTED]:/mnt/data/obj/mnt/data/cvs/src/sys/MYKERNEL i386 ## Issuing the following: # rsync -HLlruv --delete /mnt/smbfs/data/UJKIEG2/ /home/feczo/test building file list ... readdir(00101/TOBBEF2.DBF): (9) Bad file descriptor readdir(11102/tobbef2.dbf): (9) Bad file descriptor readdir(44401/tobbef2.dbf): (9) Bad file descriptor readdir(44402/tobbef2.dbf): (9) Bad file descriptor readdir(66601/TOBBEF2.DBF): (9) Bad file descriptor readdir(88802/TOBBEF2.DBF): (9) Bad file descriptor done IO error encountered - skipping file deletion wrote 30912 bytes read 20 bytes 61864.00 bytes/sec total size is 9405275 speedup is 304.06 rsync error: some files could not be transferred (code 23) at main.c(632) ## generates an error ## reading and copy the file is okay though # cp /mnt/smbfs/data/UJKIEG2/11102/tobbef2.dbf /home/feczo/test2/1 # cp /mnt/smbfs/data/UJKIEG2/44401/tobbef2.dbf /home/feczo/test2/2 # cp /mnt/smbfs/data/UJKIEG2/44402/tobbef2.dbf /home/feczo/test2/3 # cp /mnt/smbfs/data/UJKIEG2/66601/TOBBEF2.DBF /home/feczo/test2/4 # cp /mnt/smbfs/data/UJKIEG2/88802/TOBBEF2.DBF /home/feczo/test2/5 # find /home/feczo/test2 ~ ## after copy the files are there ... /home/feczo/test2 /home/feczo/test2/1 /home/feczo/test2/1/tobbef2.dbf /home/feczo/test2/2 /home/feczo/test2/2/tobbef2.dbf /home/feczo/test2/3 /home/feczo/test2/3/tobbef2.dbf /home/feczo/test2/4 /home/feczo/test2/4/TOBBEF2.DBF /home/feczo/test2/5 /home/feczo/test2/5/TOBBEF2.DBF Any ideas why ? -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Serious NWFS problems ...
On Fri, Apr 23, 2004 at 08:49:18PM +0200, Feczak Szabolcs wrote: > 4.9-Beta and 5.2.1 has this fixed, saidly 5.2.1 produces > critical kernel panic with ncpmount, so my only choice > currently is 4.9-Beta ... but If I can't resolve these > problems ... maybe none :( I ment 4.10-Beta here ... -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Serious NWFS problems ...
On Sat, Apr 24, 2004 at 01:39:14AM +0930, Malcolm Kay wrote: > This command should always give an error. If > /mnt/nwfs does not exist you can't create > /mnt/nwfs/., and if /mnt/nwfs exist then so will > /mnt/nwfs/. That was the point, to make the os admit, that it exist, so $ mkdir /mnt/nwfs/. mkdir: /mnt/nwfs/.: File exists It claims that it exist $ file /mnt/nwfs/. /mnt/nwfs/.: can't stat `/mnt/nwfs/.' (No such file or directory). It claims that it does not exist -> Confusion Anyhow, the most confusing thing is that it produces this thing : $ mount | grep nwfs /NWSERVER:ADMIN/SDI on /mnt/nwfs (nwfs) So I have the fs mounted, fine $ file /mnt/nwfs/. /mnt/nwfs/.: directory Lets check if the /mnt/nwfs/. reference works .. Since it returns that it is a directory fstat was successfull $ rm /mnt/nwfs/* rm: /mnt/nwfs/DESKTOP.AFP: is a directory rm: /mnt/nwfs/Icon: Unknown error: 35216 rm: /mnt/nwfs/Network Trash Folder: is a directory rm: /mnt/nwfs/a: is a directory rm: /mnt/nwfs/agica: is a directory rm: /mnt/nwfs/baby: is a directory rm: /mnt/nwfs/data: is a directory rm: /mnt/nwfs/deleted.sav: is a directory rm: /mnt/nwfs/fokonyv: is a directory rm: /mnt/nwfs/test: is a directory rm: /mnt/nwfs/x: is a directory Lets delete the files in the root path of the mount, but not the directories, we got some errors, but it is okay to be so $ cp /tmp/testfile1 /mnt/nwfs Lets copy a normal ascii file to the root dir of the mount $ file /mnt/nwfs/. /mnt/nwfs/.: can't stat `/mnt/nwfs/.' (No such file or directory). and whoala we have problem So it claims that it does not exist, at least the mount is unreachable $ cd /mnt/nwfs $ ls ls: .: No such file or directory And realy it is not Wait a few seconds here, and I got: $ ls DESKTOP.AFP agica fokonyv Iconbabytest Network Trash Folderdatatestfile1 a deleted.sav x $ file /mnt/nwfs/. /mnt/nwfs/.: directory So now it exist and reports that it is a directory reachable again But If I do not issue ls or the thing just a little bit lower explained here I got back an error from the file /mnt/nwfs/. command as many times I issue it unless I remount it or make the os rethink this with ls or file command trick. The above process can be repeated unlimited times, and produces the error in every case -> Thats good at least it is consequent and not a random error Looks like after file operations, the kernel or ncpmount does not refresh the stats on the fs, or has problem with it, since it can not access it for some seconds ... It always makes to behave the mounted fs right instatly If I issue the file /mnt/nwfs/a/../. which is in theory should be equivalent to file /mnt/nwfs/. but in practice it doesn't since, the first one restores the normal behaviour of the filesystem, the second one in the errorous state only returns en error (after first command is issued, the second also works, but If I issue the second one first it claims that it does not exist) You may wonder why Im I refering to /mnt/nwfs as /mnt/nwfs/. because the problem comes from, that I can not rsync it some times and rsync needs to access this directory in the above form. > I see that ncpmount is commonly used in Linux > I've been using mount_nwfs on 4.5, 4.7, 4.8 and 4.9 > releases from the standard installation without > problems. Well good maybe I will have a look with 4.9-Release again, saidly it can be only a test, since Im not able to use 4.9-Release for my purposes, as I mentioned I have to reach samba volumes as well, and 4.9-Release has the file lock problem http://www.freebsd.org/cgi/query-pr.cgi?pr=64719 4.9-Beta and 5.2.1 has this fixed, saidly 5.2.1 produces critical kernel panic with ncpmount, so my only choice currently is 4.9-Beta ... but If I can't resolve these problems ... maybe none :( I try to recompile my kenrel with higher HZ value thats my only idea at the moment -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Serious NWFS problems ...
Ok here gets realy interesting : $ mount /mnt/nwfs/ $ mount | grep nwfs /NWSERVER:ADMIN/SDI on /mnt/nwfs (nwfs) $ file /mnt/nwfs/. /mnt/nwfs/.: directory $ rm /mnt/nwfs/* rm: /mnt/nwfs/DESKTOP.AFP: is a directory rm: /mnt/nwfs/Icon: Unknown error: 35216 rm: /mnt/nwfs/Network Trash Folder: is a directory rm: /mnt/nwfs/a: is a directory rm: /mnt/nwfs/agica: is a directory rm: /mnt/nwfs/baby: is a directory rm: /mnt/nwfs/data: is a directory rm: /mnt/nwfs/deleted.sav: is a directory rm: /mnt/nwfs/fokonyv: is a directory rm: /mnt/nwfs/test: is a directory rm: /mnt/nwfs/x: is a directory $ cp /tmp/testfile1 /mnt/nwfs # yayy problem here $ file /mnt/nwfs/. /mnt/nwfs/.: can't stat `/mnt/nwfs/.' (No such file or directory). # here we use a little trick $ file /mnt/nwfs/a/../. /mnt/nwfs/a/../.: directory # and whoola its readable again $ file /mnt/nwfs/. /mnt/nwfs/.: directory - If after problem I go inside the /mnt/nwfs dir and repeat ls several times I got: $ file /mnt/nwfs/. /mnt/nwfs/.: can't stat `/mnt/nwfs/.' (No such file or directory). $ cd /mnt/nwfs $ ls ls: .: No such file or directory $ ls ls: .: No such file or directory $ ls ls: .: No such file or directory $ ls ls: .: No such file or directory $ ls DESKTOP.AFP a datatest Iconagica deleted.sav testfile2 Network Trash Folderbabyfokonyv x $ hm strange ... Kernel is compiled with options HZ=1000 Can be this the problem ? -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Serious NWFS problems ...
It gets more interesting: $ mkdir /mnt/nwfs/. mkdir: /mnt/nwfs/.: File exists $ file /mnt/nwfs/. /mnt/nwfs/.: can't stat `/mnt/nwfs/.' (No such file or directory). Looks like we realy have problem with nwfs here ;( Any ideas to solve ? -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Serious NWFS problems ...
Oh btw, it is 4.10-BETA, since 4.9-RELEASE I had problems with smbfs see here : http://www.freebsd.org/cgi/query-pr.cgi?pr=64719 So I have to act as a samba and netware client. I have also tried 5.x, but 5.x freezes with ncpmount ... Any ideas appreciated ... Thanks -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Serious NWFS problems ...
Hi, The problem first occured with rsync : link_stat "/mnt/nwfs/." failed: No such file or directory rsync error: some files could not be transferred (code 23) at main.c(632) But I have figured out that is not rsync specific problem, I can reproduce the error, with basic system tools, such as cp Here it is: /NWSERVER:ADMIN/SDI is mounted on /mnt/nwfs (nwfs) First test: $ file /mnt/nwfs/. /mnt/nwfs/.: directory # that is okay so far $ ls -l /tmp/testfile* -rw-r--r-- 1 root wheel 2525 Apr 23 15:06 /tmp/testfile1 -rw-r--r-- 1 root wheel 2525 Apr 23 15:06 /tmp/testfile2 $ file /tmp/testfile* /tmp/testfile1: ASCII English text /tmp/testfile2: ASCII English text $ cp /tmp/testfile1 /mnt/nwfs $ cp /tmp/testfile2 /mnt/nwfs # here something wicked happend, since : $ file /mnt/nwfs/. /mnt/nwfs/.: can't stat `/mnt/nwfs/.' (No such file or directory). Second test: $ ls -l /mnt/nwfs/a total 16 drwxr-xr-x 1 root wheel 16384 Apr 23 14:28 b $ rm /mnt/nwfs/a/* zsh: sure you want to delete all the files in /mnt/nwfs/a [yn]? y rm: /mnt/nwfs/a/b: is a directory $ umount /mnt/nwfs umount: unmount of /mnt/nwfs failed: Device busy $ umount /mnt/nwfs # Second umnount is successeded # though if I execute rm, than sleep 2 for example, then # first umount also fails -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re2: IPX 802.2 nwfs - works
In my last mail I have copy-pasted some trash, so here is the good one # ifconfig vr0f2 ipx 2 # ifconfig vr0f2 vr0f2: flags=8843 mtu 1500 ipx 2H.c6ee8155b inet6 fe80::20c:6eff:fee8:155b%vr0f2 prefixlen 64 tentative scopeid 0x5 ether 00:0c:6e:e8:15:5b # IPXrouted # netstat -rnf ipx Routing tables IPX: DestinationGatewayFlagsNetif Expire 1.*2.c08843ae UG vr0f2 2.*2.c6ee8155bU vr0f2 2db6ebf8.* 2.c08843ae UG vr0f2 # ncplist s Visible servers (from SERVER1): NameNetworkNode Port --- SERVER1 2DB6EBF8:0001:0451 # ncplist v server1 Mounted volumes on server SERVER1: Number Name -- --- 0 SYS 1 SDI -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: IPX 802.2 nwfs - works
On Thu, Apr 08, 2004 at 03:34:26PM +0200, Joost Bekkers wrote: > > # ifconfig vr0 ipx 2 > > AFAIK this sets ipx network 2 on ETHERNET_II framing, your server > is doing ETHERNET_802.2 And when I compile in 802.2 and ef not, is this the same situation ? > To be sure of which network number you should use, type 'config' > on the netware console and look for the nic connected to the segment > your client is connected to. That was a good idea, thanks. It helped. > FYI: you can use the -f option in netstat to filter a protocol (netstat -rnf ipx) so I have recompiled the kernel with ef again and did # ifconfig vr0f2 ipx 2 ifconfig vr0f2 IPXrouted netstat -rnf ipx ncplist s # ifconfig vr0f2 vr0f2: flags=8843 mtu 1500 ipx 2H.c6ee8155b inet6 fe80::20c:6eff:fee8:155b%vr0f2 prefixlen 64 tentative scopeid 0x5 ether 00:0c:6e:e8:15:5b # IPXrouted # netstat -rnf ipx Routing tables IPX: DestinationGatewayFlagsNetif Expire 1.*2.c08843ae UG vr0f2 2.*2.c6ee8155bU vr0f2 2db6ebf8.* 2.c08843ae UG vr0f2 # ncplist s Visible servers (from SERVER1): NameNetworkNode Port --- SERVER1 2DB6EBF8:0001:0451 ncplist v server1 Mounted volumes on server SERVER1: Number Name -- --- 0 SYS 1 SDI so it worked thanks -- _(_)_ (_. o_)F3CZ0 : the ipx and netware lama (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: IPX 802.2 nwfs
On Thu, Apr 08, 2004 at 03:08:04PM +0200, Joost Bekkers wrote: > While your linux box is using number 2 Linux box is a client as well, server is on network 2DB6EBF8 as I see it out, but maybe Im wrong > Try 'ifconfig vr0f2 ipx 2' Meanwhile someone advised to get rid of multiframe types compile only 802.2 in, so I did: # ifconfig vr0 ipx 2 # netstat -rn | grep -A 3 IPX IPX: DestinationGatewayFlagsNetif Expire 2.*2.c6ee8155bU vr0 # ncplist s Can't find any file server # -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
IPX 802.2 nwfs
I would like to access an old netware fileserver I have follewed, the instructions on http://people.freebsd.org/~bp/ipxen.html 4.9 GENERIC config + the followings: optionsNCP #NetWare Core protocol optionsNWFS#NetWare filesystem optionsIPX #IPX/SPX communications protocols device ef # Multiple ethernet frames support optionsETHER_II# enable Ethernet_II frame optionsETHER_8023 # enable Ethernet_802.3 (Novell) frame optionsETHER_8022 # enable Ethernet_802.2 frame optionsETHER_SNAP # enable Ethernet_802.2/SNAP frame I did ifconfig vr0f2 ipx 0 ifconfig vr0f2 vr0f2: flags=8843 mtu 1500 ipx 0.c6ee8155b inet6 fe80::20c:6eff:fee8:155b%vr0f2 prefixlen 64 scopeid 0x5 ether 00:0c:6e:e8:15:5b netstat -rn IPX: DestinationGatewayFlagsNetif Expire default*.c6ee8155bU vr0f2 ncplist s Can't find any file server Although I can reach it from a linux box : ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:04:75:71:E9:C4 inet addr:192.168.0.217 Bcast:192.168.0.255 Mask:255.255.255.0 IPX/Ethernet 802.2 addr:0002:00047571E9C4 slist Known NetWare File Servers Network Node Address -- SERVER1 2DB6EBF8 0001 Any ideas ? -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 5.2 to 5.greater
On Tue, Apr 06, 2004 at 04:07:58PM -0400, Osmany Guirola Cruz wrote: > It's possible do and upgrade from realease 5.2 to 5.2.1 or 5.3 or 5.4 etc etc etc. > I dont want download more RELEASE ISOS , i just want do an installation and then > upgrade it. I am thinking in the use of CTM for the ports . is it possible ? It is. I just did an upgrade today, cvsup the sources, than make world -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
5.3 current from cvs
How can I get the latest bugs ? :) Can I ? Is it available ? Anyone who have info what to put into the supfile mail me... Thanks -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
5.2.1 ncplist s -> kernel panic
http://www.mail-archive.com/[EMAIL PROTECTED]/msg60154.html Im having nearly the same thing as the above thread ... Though I have RELEASE not rc, any solution for this yet ? I would like to use samba and ncpfs on the machine and looks like smaba is buggy on 4.9, and ok on 5.2.1 see th PR by me : http://www.freebsd.org/cgi/query-pr.cgi?pr=64719 though ncpfs seems to be broken in 5.2.1 critical ... any suggestions ? -- _(_)_ (_. o_)F3CZ0 (_,) http://feczo.nmi.rulez.org ()__ // // ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Interrupts percentage high + packetloss
Hi, there is a gw on 100mbit bandwidth, and interrupt is damn high on it even though the bandwidth utilization is only about 20%, and it is an AMD 2Ghz machine with 0,5Gb of DDR Ram though the network card is a D-Link DL10050 (one pci card with 4 ports), so maybe this is the problem, you will let me know I have queried with some commands the system stats, let me know if someone interested in any other details and which command gives me the result. Any ideas why is this percentage so high ? Or how can I see this in more detail ? I wouldn't be excited about it, but packet loss occour (I can see if I ping the machine from outside network), it's running a quake server behind this gw and it has quiet much amount of "LAG" last pid: 1162; load averages: 0.42, 0.10, 0.03up 0+03:10:57 21:53:35 30 processes: 2 running, 28 sleeping CPU states: 36.7% user, 0.0% nice, 10.5% system, 37.5% interrupt, 15.2% idle Mem: 10M Active, 12M Inact, 22M Wired, 10M Buf, 456M Free Swap: 1024M Total, 1024M Free I have checked with trafshow It was 2680 pkt/sec 2128450 bytes/sec so about 2mbyte/sec ~20mbit netstat NameMtu Network Address Ipkts IerrsOpkts Oerrs Coll ste0* 1500 00:05:5d:e6:0c:3d0 00 0 0 ste1 1500 00:05:5d:e6:0c:3e 5978838 0 6481883 0 0 ste1 1500 localnet/21 gw.localnet 13771 - 5785 - - ste2 1500 00:05:5d:e6:0c:3f76912 065964 0 0 ste2 1500 dmz/21 gw.dmz 554 - 6339 - - ste3 1500 00:05:5d:e6:0c:40 6606007 0 6035123 0 0 ste3 1500 outside www.dmz44190 -41819 - - ste3 1500 gwgw 3536 -0 - - lo0 163844 04 0 0 lo0 16384 your-net localhost.localnet 0 -0 - - iostat tty ad0 acd0 cpu tin tout KB/t tps MB/s KB/t tps MB/s us ni sy in id 0 137 15.95 0 0.00 0.00 0 0.00 0 0 0 6 94 here is the dmesg output Copyright (c) 1992-2003 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 5.1-RELEASE #0: Mon Jun 30 17:47:48 GMT 2003 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/kernelke Preloaded elf kernel "/boot/kernel/kernel" at 0xc038b000. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 1797286592 Hz CPU: AMD Athlon(tm) XP 2200+ (1797.29-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x681 Stepping = 1 Features=0x383fbff AMD Features=0xc040 real memory = 536805376 (511 MB) avail memory = 517505024 (493 MB) Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface pcibios: BIOS version 2.10 Using $PIR table, 11 entries at 0xc00fdeb0 pcib0: at pcibus 0 on motherboard pci0: on pcib0 pci0: at device 0.1 (no driver attached) pci0: at device 0.2 (no driver attached) pci0: at device 0.3 (no driver attached) pci0: at device 0.4 (no driver attached) pci0: at device 0.5 (no driver attached) isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) pcib1: at device 8.0 on pci0 pci1: on pcib1 pcib2: at device 6.0 on pci1 pci2: on pcib2 ste0: port 0xd000-0xd07f irq 11 at device 4.0 on pci2 ste0: Ethernet address: 00:05:5d:e6:0c:3d miibus0: on ste0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ste1: port 0xd400-0xd47f irq 5 at device 5.0 on pci2 ste1: Ethernet address: 00:05:5d:e6:0c:3e miibus1: on ste1 ukphy1: on miibus1 ukphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ste2: port 0xd800-0xd87f irq 12 at device 6.0 on pci2 ste2: Ethernet address: 00:05:5d:e6:0c:3f miibus2: on ste2 ukphy2: on miibus2 ukphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto ste3: port 0xdc00-0xdc7f irq 10 at device 7.0 on pci2 ste3: Ethernet address: 00:05:5d:e6:0c:40 miibus3: on ste3 ukphy3: on miibus3 ukphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pci1: at device 10.0 (no driver attached) atapci0: port 0xf000-0xf00f at device 9.0 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pcib3: at device 30.0 on pci0 pci3: on pcib3 orm0: at iomem 0xc-0xc7fff on isa0 atkbdc0: at port 0x64,0x60 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 unknown: can't assign resources (port) Timecounters tick every 10.000 msec ipfw2 initialized, divert disabled, rule-based forwarding enabled, default to deny, logging unlimited DUMMYNET initialized (011031) IP Filter: v3.4.31 initialized. Default = pass all, Logging = enabled ad0: 57277MB [116374/16/63] at ata0-master UDMA133 ac