Re: [6.3/PHP5] Right way to add APC?
On Fri, May 16, 2008 at 8:16 AM, Gilles <[EMAIL PROTECTED]> wrote: > Hello > >Before I go ahead and mess with that 6.3 host... I figured I should > ask the experts. > > I'd like to add the APC cache add-on, but I don't know how to do this. > After compiling and installing /usr/ports/www/pecl-APC, should I... > > 1. edit /usr/local/etc/php.ini or /usr/local/etc/php/extensions.ini > 2. and what to put there? > That is supposed to have happened automatically! The extension is supposed to have been added to /usr/local/etc/php/extensions.ini so basically you just need to restart apache (after configuring whatever options you were after). -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Oh My God! They killed init! You Bastards!" --from a /. post ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
mounts: nullfs and unionfs
Hi Guys, $ cd /usr/src $ export D=/jails/src $ export H=/jails/tld/domain/host $ export B=/jails/base $ sudo mkdir -p $D $H B $ sudo make installworld DESTDIR=$D $ sudo make distribution DESTDIR=$D $ sudo rsync -vrlHpEogXtD $D $B $ cd $B $ ln -s usr/home $ cd $B/usr/home $ mkdir pgollucci [/etc/fstab] /dev/ar0s1h /usr/home ufs rw 2 2 /usr/home/pgollucci $H/usr/home/pgollucci nullfs ro 0 0 $B $H unionfs rw,below 0 0 [--end--] So the unionfs [1] mounts work fine; however, I can't see the nullfs mount in the upper layer. I tried doing a layered unionfs mount, and that didn't work either. I'm guessing this is a known issue. Are there plans to solve it ? The only work around I can think of (which does work) is to nullfs mount in the upper layer instead of the lower one. The only problem is that multiples my mounts substantially. For example it would be nice to mount /root/bin, /usr/src, /usr/ports, /usr/home/X (or just /usr/home), devfs in each $H. For the record, I know about ezjail, other tools, and other docs on sharing read only areas with a base (/s). I'm interested in solving it this particular way, if only to learn more. [1] http://www.freebsd.org/news/status/report-2008-01-2008-03.html#UnionFS-Improvements my 8.0-current is new enough to have all these patches in it. FWIW: the unionfs seems very stable atm the moment. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: mounts: nullfs and unionfs
Philip M. Gollucci wrote: FWIW: the unionfs seems very stable atm the moment. $ df -h Filesystem SizeUsed Avail Capacity Mounted /dev/ar0s1h 24G 12G 11G52%/usr/home :/usr/home/jails/base 49G 36G 11G77% /usr/home/jails/net/p6m7g8/builder/zeus Shouldn't the size for the unionfs fs be the same ? I don't see how it can be bigger than the HD. In this particular case, its a RAID-1 (hardware based) of 2x20GB disks. -- Philip M. Gollucci ([EMAIL PROTECTED]) o:703.549.2050x206 Senior System Admin - Riderway, Inc. http://riderway.com / http://ridecharge.com 1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [6.3/PHP5] Right way to add APC?
On Fri, 16 May 2008 10:05:10 +0300, "Odhiambo Washington" <[EMAIL PROTECTED]> wrote: >That is supposed to have happened automatically! The extension is supposed >to have been added to /usr/local/etc/php/extensions.ini > so basically you just need to restart apache (after configuring whatever > options you were after). Thanks, but no trace of it: extension=filter.so extension=hash.so extension=json.so extension=zip.so extension=sockets.so extension=pcre.so extension=pdo.so extension=readline.so extension=session.so extension=ctype.so extension=mhash.so extension=pdo_sqlite.so extension=mbstring.so extension=tokenizer.so extension=xml.so extension=curl.so extension=bz2.so extension=posix.so extension=zlib.so extension=ldap.so extension=mcrypt.so extension=xmlrpc.so extension=xmlwriter.so extension=iconv.so extension=mysql.so extension=simplexml.so extension=spl.so extension=sqlite.so extension=dom.so extension=xmlreader.so extension=mysqli.so extension=ftp.so So should I add it with its fully-qualified path, or should I edit php.ini instead? Thank you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: raid6 on freebsd7 only showing 61GB instead of 4TB
Oliver Howe wrote: > I bought a new storage server and installed freebsd7 onto it. > it came with two raid partitions, one of 32GB which i used > for the o/s and one of 4.7TB which i am planning to use as a > nfs partition. everything went fine during the install, fdisk > said that there was 4.7TB on the second partition which i > labelled "/export". but when the machine booted up and i did > df -h it said that that partition only has 61GB and not 4.7TB As others have pointed out, fdisk is not able to handle partitions this big. You need to: 1. umount /export 2. dd if=/dev/zero of=/dev/da1 bs=64k count=1 3. gpt create /dev/da1 4. gpt add /dev/da1 5. newfs -O2 -U /dev/da1p1 6. edit your /etc/fstab and change /dev/da1s1d to /dev/da1p1 7. mount /export 8. be happy! The GENERIC kernel comes with GEOM_PART_GPT support so there is no need to load any kernel modules or recompile your kernel to get this to work. (Step #2 above is probably overkill. It erases the old disklabel so that your /dev/da1?? devices disappear.) Beware that running fsck on a 4.7TB partition will take a REALLY long time. If you run FreeBSD 7 in 64 bit mode (amd64), and you really should with 16 GB of memory, then I would recommend using ZFS instead of UFS. For ZFS you would do something like this: 1. umount /export 2. dd if=/dev/zero of=/dev/da1 bs=64k count=1 3. zpool create tank /dev/da1 4. edit /boot/loader.conf and add something like this: vm.kmem_size="1024M" vm.kmem_size_max="1024M" vfs.zfs.arc_max="512M" vfs.zfs.prefetch_disable=1 5. edit /etc/rc.conf and add zfs_enable="YES" 6. reboot 7. be happy! (With 16 GB memory you can probably use larger values for slightly better performance in step #4 above.) /Daniel Eriksson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [6.3/PHP5] Right way to add APC?
On Fri, 16 May 2008 09:39:17 +0200, Gilles <[EMAIL PROTECTED]> wrote: >Thanks, but no trace of it: My mistake. I forgot to run "make install" :-/ But then, I haven't had my first cup of java this morning :-) Sorry about that, guys. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: iSCSI initiator
Please clarify these : (1) Is iSCSI initiator not currently implemented for FreeBSD ? no idea. (2) There is no "iSCSI target daemon" currently ? /usr/ports/net/iscsi-target unless you HAVE to interwork with iSCSI, use ggate. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
freebsd-update question
hello, I have updated qith command freebsd-update and hte command freebsd-update fetch shows me I have already hte latest patch level 7.0-RELEASE-p1 anyway uname -a shows me always 7.0-RELEASE #0 how can I do to have uname to show me the correct patch level ? thanks Rick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: freebsd-update question
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of RJ45 Sent: Friday, May 16, 2008 9:29 AM To: freebsd-questions@freebsd.org Subject: freebsd-update question hello, I have updated qith command freebsd-update and hte command freebsd-update fetch shows me I have already hte latest patch level 7.0-RELEASE-p1 anyway uname -a shows me always 7.0-RELEASE #0 how can I do to have uname to show me the correct patch level ? thanks Rick I've noticed this was solved after recompiling the kernel. Maybe it's also another method available, but since I'm using a custom kernel I did not looked for it. Best Regards Catalin Miclaus Network/Security ISP-Data Starcomms Ltd. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd-update question
RJ45 wrote: hello, I have updated qith command freebsd-update and hte command freebsd-update fetch shows me I have already hte latest patch level 7.0-RELEASE-p1 anyway uname -a shows me always 7.0-RELEASE #0 how can I do to have uname to show me the correct patch level ? thanks Rick ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" As another reader already said, this can be "fixed" by recompiling the kernel. In fact, you may notice that this file changes every time freebsd-update fetches new patches: /usr/src/sys/conf/newvers.sh This is responsible for giving your custom kernels the -p1, -p2 and so on designations. It is not however always necessary to recompile the kernel. Some updates do not really contain any changes to kernel code. For example, AFAIR, p1 for 7.0 RELEASE only had some updates for the ssh daemon. In this case recompiling the kernel will only give you the p1 designation, but nothing much else. However this is still useful for people maintaining a number of machines: They can quickly tell which ones are updated and which not. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd-update question
shows me I have already hte latest patch level 7.0-RELEASE-p1 anyway uname -a shows me always 7.0-RELEASE #0 how can I do to have uname to show me the correct patch level ? uname tells you about running kernel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Xorg with multiple cards
Le 15/05/08 à 18:02, Mike Ginsburg téléscripta : > A question to all of your xorg experts. > > I'm running FreeBSD 6.2-RELEASE-p8 with xorg-7.3.1. Up until today I was > running on an PCIe RV280 (9200 Pro) with a dvi splitter to give me 2 > monitors. > > Today I added a 2nd PCI card (Radeon 9260) over VGA. For the life of me I > can't seem to configure my xorg.conf to work with the 2nd card and 3rd > monitor. I have attached a tarball with my working xorg.conf, and my > attempts at configuring the 2nd card (xorg.conf.broken). > > Any and all help is appreciated. If you need more information, please feel > free to ask and I'll provide it. Thank you. Hello, Here is the revelant parts of the configuration I was using with a PCI-E Nvidia card for two monitors (DVI+VGA) and a PCI ATI card for the third monitor: 8<- Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" LeftOf "Screen0" Screen 2 "Screen2" RightOf "Screen0" InputDevice"Keyboard0" "CoreKeyboard" InputDevice"Mouse0" "CorePointer" EndSection Section "ServerFlags" Option "Xinerama" "1" EndSection Section "Monitor" Identifier "FP202W 0" VendorName "Unknown" ModelName "BenQ FP202W" Option "DPMS" EndSection Section "Monitor" Identifier "FP202W 1" VendorName "Unknown" ModelName "BenQ FP202W" Option "DPMS" EndSection Section "Monitor" Identifier "SyncMaster 730BF" HorizSync30-81 VertRefresh 60 Option "DPMS" EndSection Section "Device" Identifier "7300 0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 7300 GS" BusId "PCI:1:0:0" Screen 0 EndSection Section "Device" Identifier "7300 1" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 7300 GS" BusId "PCI:1:0:0" Screen 1 EndSection Section "Device" Driver "ati" Identifier "ATI RageXL" BusId "PCI:6:17:0" EndSection Section "Screen" Identifier "Screen0" Device "7300 0" Monitor"FP202W 0" DefaultDepth24 SubSection "Display" Depth 24 Modes "1680x1050" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "7300 1" Monitor"FP202W 1" DefaultDepth24 SubSection "Display" Depth 24 Modes "1680x1050" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection EndSection Section "Screen" Identifier "Screen2" Device "ATI RageXL" Monitor"SyncMaster 730BF" DefaultDepth 24 SubSection "Display" Depth 24 Modes"1280x1024" "1024x768" "800x600" "640x480" EndSubSection EndSection 8<- I'm not sure, but you could probably do something like this with your two ATI cards. HTH, Baptiste -- Baptiste Grenier | PGP: 0x069112E2 HealthGrid SysAdmin http://healthgrid.org/ pgpVyRLUtU26i.pgp Description: PGP signature
Routing to internet addresses ending with 255
I had this weird problem today, and I would like to know what caused it: I have two home servers, on different locations, on two ADSL lines using dynamic DNS. One is running Debian, the other FreeBSD 7.0-RELEASE. I usually ssh from one to the other. Today, the debian server had a public (internet) IP ending in 255. The FreeBSD 7.0 system refused to communicate with it. Another 6.3 system had no problem. The 6.3 and 7.0 system have identical adsl routers. Trying a traceroute from 7.0, it would seem the debian system was one hop away, which is of course incorrect. I understand that x.x.x.255 is ethernet's broadcast address. However 6.3 had no problem connecting to it, while 7.0 would not. Has something changed in FreeBSD, is this the intended behaviour or a bug? Furthermore, is it valid for my ISP to assign me an address ending in 255? The workaround was of course to ssh from another system, telnet into the router and reboot it so it gets another address. I would still like to know if there is any other solution. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: interrobang and other fun characters
On Thu, May 15, 2008 at 12:51:24AM +0100, Frank Shute wrote: > On Tue, May 13, 2008 at 10:25:37PM -0600, Chad Perrin wrote: > > > > I'm looking for an easier way to insert interrobangs and other non-ASCII > > characters (em-dashes, et cetera) into text on my FreeBSD laptop than by > > way of copy/paste. Any recommendations? A hunt-and-select clicky GUI > > probably wouldn't be any better than just copy/paste, but something like > > holding down Alt while typing 8253 might be an improvement. > > > > You can get multibyte characters in vim, if $TERM is something > sensible like xterm and you use a font with the characters in it. See: I tend to use rxvt-unicode which, judging by my results (see below), must be a "sensible" terminal emulator. > > :help dig > > in vim. E.g: > > ^k DG -> ° (degree) > ^k Cu -> € (euro) (in: iso8859-15) > ^k Co -> © (company) > ^k o: -> ö (o umlaut) > > You can also call them by number but I find the 2 characters easier to > remember. Excellent! This works well for me. Thanks for the tip. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] MacUser, Nov. 1990: "There comes a time in the history of any project when it becomes necessary to shoot the engineers and begin production." pgpG6QYbhV8fh.pgp Description: PGP signature
Re: time drift
Bruce Cran wrote: Volker Jahns wrote: On Thu, May 15, 2008 at 09:53:02PM +0200, Volker Jahns wrote: On Thu, May 15, 2008 at 12:18:57PM -0700, Chuck Swiger wrote: On May 15, 2008, at 11:57 AM, Volker Jahns wrote: FreeBSD 6.2 running on X86 hardware (FSC) shows a remarkable time drift running ntpdate every half hour shows that the system looses about 10-14 sec each time. 15 May 10:06:48 ntpdate[7200]: step time server 192.53.103.108 offset -13.799602 sec 15 May 10:36:48 ntpdate[7515]: step time server 192.53.103.108 offset -12.813941 sec 15 May 11:06:48 ntpdate[7879]: step time server 192.53.103.108 offset -13.651921 sec 15 May 11:36:50 ntpdate[8079]: step time server 192.53.103.108 offset -11.109298 sec 15 May 12:06:50 ntpdate[8289]: step time server 192.53.103.108 offset -11.836499 sec You should also take a look at the output of "sysctl kern.timecounter", and possibly switch to a different mechanism, if the existing choice doesn't work out well for your machine... Thanks for the hint. A few years ago a time drift problem had been observed by a German freebsd user (http://www.freebsd.de/rachive/de-bsd-questions.200304/0643.html). Time drift 15 sec every half hour, ntpd dies away running on his machine. Setting kern.timecounter.hardware to TSC had been recommended as a solution. There's also a FreeBSD PR open about this problem: http://www.freebsd.org/cgi/query-pr.cgi?pr=i386/123462 sysctl -w kern.timecounter.hardware=TSC and then this: 16 May 08:37:01 ntpdate[28819]: adjust time server 192.53.103.108 offset -0.347027 sec 16 May 09:07:00 ntpdate[29258]: adjust time server 192.53.103.108 offset -0.313608 sec 16 May 09:37:00 ntpdate[29492]: adjust time server 192.53.103.108 offset -0.314357 sec 16 May 10:07:00 ntpdate[29826]: adjust time server 192.53.103.108 offset -0.313694 sec 16 May 10:37:00 ntpdate[30203]: adjust time server 192.53.103.108 offset -0.313976 sec 16 May 11:07:00 ntpdate[30886]: adjust time server 192.53.103.108 offset -0.314679 sec (Please note the use of ntpdate is for debugging purposes only, this is _not_ an ntp issue) -- Volker Jahns, [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd-update question
On 5/16/08, Catalin Miclaus <[EMAIL PROTECTED]> wrote: > I've noticed this was solved after recompiling the kernel. > Maybe it's also another method available, but since I'm using a custom > kernel I did not looked for it. I have the same problem here. Uname shows "7.0-RELEASE" after reboot and freebsd-update to 7.0-RELEASE-p1. How to solve this without recompiling kernel? cheers Simon -- XMPP: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Routing to internet addresses ending with 255
On Friday 16 May 2008 12:32:35 Manolis Kiagias wrote: > I had this weird problem today, and I would like to know what caused it: > > I have two home servers, on different locations, on two ADSL lines using > dynamic DNS. One is running Debian, the other FreeBSD 7.0-RELEASE. > > I usually ssh from one to the other. Today, the debian server had a > public (internet) IP ending in 255. The FreeBSD 7.0 system refused to > communicate with it. Another 6.3 system had no problem. The 6.3 and 7.0 > system have identical adsl routers. > > Trying a traceroute from 7.0, it would seem the debian system was one > hop away, which is of course incorrect. > > I understand that x.x.x.255 is ethernet's broadcast address. No, it's not. Since these days IP is classless, a network (and thus its broadcast address) is completely local information, not known to remote hosts. What might look to an external observer as a /24 network, may be something else. For example 213.0.0.255/24 may be the broadcast address for net 213.0.0.0/24, but it's not the broadcast address for net 213.0.0.0/23, which would be 213.0.1.255. Also, regadless of being the broadcast address or not, to the external observer that address is just an IP address. The router of the network will handle specially(will broadcast) the packet if it's destined for the broadcast address. > However 6.3 > had no problem connecting to it, while 7.0 would not. Has something > changed in FreeBSD, is this the intended behaviour or a bug? This looks like a bug. Can you post more info about it? > Furthermore, is it valid for my ISP to assign me an address ending in > 255? Yes, assuming that you speak of a PPP connection. There is no network concept in PPP. The two peer addresses are totally unrelated. For example, a PPP interface configured with 10.0.0.1 --> 172.16.255.255 is perfectly valid configuration. HTH, Nikos ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Routing to internet addresses ending with 255
I have two home servers, on different locations, on two ADSL lines using dynamic DNS. One is running Debian, the other FreeBSD 7.0-RELEASE. I usually ssh from one to the other. Today, the debian server had a public (internet) IP ending in 255. The FreeBSD 7.0 system refused to communicate with it. Another 6.3 system had no problem. The 6.3 and 7.0 doesn't your 7.0 system has same first 3 bytes of IP, and badly set netmask to /24 instead of narrower? i don't think it's freebsd version dependent, unless developers made a bug. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Routing to internet addresses ending with 255
Wojciech Puchar wrote: I have two home servers, on different locations, on two ADSL lines using dynamic DNS. One is running Debian, the other FreeBSD 7.0-RELEASE. I usually ssh from one to the other. Today, the debian server had a public (internet) IP ending in 255. The FreeBSD 7.0 system refused to communicate with it. Another 6.3 system had no problem. The 6.3 and 7.0 doesn't your 7.0 system has same first 3 bytes of IP, and badly set netmask to /24 instead of narrower? i don't think it's freebsd version dependent, unless developers made a bug. all these systems are behind ADSL routers and use NAT. Their internal addresses are in the 192.168.0.X range. I could easily consider this a problem of the (cheap) ADSL routers, but 6 and 7 use the same model (OTOH, there may be different firmware versions). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Routing to internet addresses ending with 255
Nikos Vassiliadis wrote: On Friday 16 May 2008 12:32:35 Manolis Kiagias wrote: I had this weird problem today, and I would like to know what caused it: I have two home servers, on different locations, on two ADSL lines using dynamic DNS. One is running Debian, the other FreeBSD 7.0-RELEASE. I usually ssh from one to the other. Today, the debian server had a public (internet) IP ending in 255. The FreeBSD 7.0 system refused to communicate with it. Another 6.3 system had no problem. The 6.3 and 7.0 system have identical adsl routers. Trying a traceroute from 7.0, it would seem the debian system was one hop away, which is of course incorrect. I understand that x.x.x.255 is ethernet's broadcast address. No, it's not. Since these days IP is classless, a network (and thus its broadcast address) is completely local information, not known to remote hosts. What might look to an external observer as a /24 network, may be something else. For example 213.0.0.255/24 may be the broadcast address for net 213.0.0.0/24, but it's not the broadcast address for net 213.0.0.0/23, which would be 213.0.1.255. Also, regadless of being the broadcast address or not, to the external observer that address is just an IP address. The router of the network will handle specially(will broadcast) the packet if it's destined for the broadcast address. I guessed it would be like this. Thank you for clarifying it. However 6.3 had no problem connecting to it, while 7.0 would not. Has something changed in FreeBSD, is this the intended behaviour or a bug? This looks like a bug. Can you post more info about it? Problem is I've already reset the router that had the .255 address. All other actions had no effect: - Restarting the network interface in 7.0 - Restarting routing / erasing and reconfiguring routing table in 7.0 - Trying the IP address directly instead of the dyndns.org name (clearly not any type of DNS problem) - Restarting the router connected to 7.0 Traceroute gave a result like: traceroute xxx.dyndns.org traceroute to xxx.dyndns.org (xxx.xxx.xxx.255), 64 hops max, 40 byte packets 1 xxx.dyndns.org (xxx.xxx.xxx.255) 1.008 ms 1.084 ms 0.928 ms Clearly wrong, since everything goes through my router: traceroute www.otenet.gr traceroute to www.otenet.gr (62.103.128.215), 64 hops max, 40 byte packets 1 router (192.168.0.55) 1.014 ms 0.948 ms 0.941 ms 2 athe10kt-l1.otenet.net (62.103.129.42) 19.399 ms 20.362 ms 19.892 ms ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd-update question
I know that recompiling the kernel was a way to do it but I Wanted to avoid it. thanks On Fri, 16 May 2008, Simon Jolle wrote: On 5/16/08, Catalin Miclaus <[EMAIL PROTECTED]> wrote: I've noticed this was solved after recompiling the kernel. Maybe it's also another method available, but since I'm using a custom kernel I did not looked for it. I have the same problem here. Uname shows "7.0-RELEASE" after reboot and freebsd-update to 7.0-RELEASE-p1. How to solve this without recompiling kernel? cheers Simon -- XMPP: [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Routing to internet addresses ending with 255
i don't think it's freebsd version dependent, unless developers made a bug. all these systems are behind ADSL routers and use NAT. Their internal addresses are in the 192.168.0.X range. I could easily consider this a problem of the (cheap) ADSL routers, but 6 very likely. yesterday i configured chinese 5 WLAN/LAN switch/routers, it looks like it's software was written by someone during single lunch break ;) i found 2 bugs not even searching much. but - as just a LAN/WLAN bridges they work fine. and 7 use the same model (OTOH, there may be different firmware versions). but WHAT are external IP's of these routers. this is important. if the "problem" host is A.B.C.255 check if routers external IP isn't A.B.C.something ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Routing to internet addresses ending with 255
Wojciech Puchar wrote: i don't think it's freebsd version dependent, unless developers made a bug. all these systems are behind ADSL routers and use NAT. Their internal addresses are in the 192.168.0.X range. I could easily consider this a problem of the (cheap) ADSL routers, but 6 very likely. yesterday i configured chinese 5 WLAN/LAN switch/routers, it looks like it's software was written by someone during single lunch break ;) i found 2 bugs not even searching much. but - as just a LAN/WLAN bridges they work fine. I too, am very well aware of the "quality" of these systems :) and 7 use the same model (OTOH, there may be different firmware versions). but WHAT are external IP's of these routers. this is important. if the "problem" host is A.B.C.255 check if routers external IP isn't A.B.C.something No, I just checked again with DynDNS update logs and all three routers had very different IP addresses at the time I was trying. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Need your Advice for New Dell Servers in connection to FreeBSD?
Hi guys, I need your advice: I am IT manager with a company who is running couple of websites having 2-3 million hits per month each. Present configuratoins is: Dell PowerEdge 2950 (2 processors) 4GB RAM 4 discs (15000rpm SAS 146GB) RAID10 Operating System: FreeBSD Actually, company is planning to buy couple of Dell server. 1. Is Dell is good choice? And which model is the best? 2. How much RAM should be on each machine? How much memory FreeBSD can access and use? 2.1 Company also wants to make Video Clips availible on website, Could it be possible with Apache running on FreeBSD? 3. Which processors should be on the machine? 4. Is 15000rpm SAS is good choice? (Because, websites are using MySQL database too) 5. Which RAID configuration is most secure and fast? I will really appreciate your suggestions With bundle of thanks! VJ -- BR / vj ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [SOLVED] Routing to internet addresses ending with 255
Manolis Kiagias wrote: Wojciech Puchar wrote: i don't think it's freebsd version dependent, unless developers made a bug. all these systems are behind ADSL routers and use NAT. Their internal addresses are in the 192.168.0.X range. I could easily consider this a problem of the (cheap) ADSL routers, but 6 very likely. yesterday i configured chinese 5 WLAN/LAN switch/routers, it looks like it's software was written by someone during single lunch break ;) i found 2 bugs not even searching much. but - as just a LAN/WLAN bridges they work fine. I too, am very well aware of the "quality" of these systems :) and 7 use the same model (OTOH, there may be different firmware versions). but WHAT are external IP's of these routers. this is important. if the "problem" host is A.B.C.255 check if routers external IP isn't A.B.C.something No, I just checked again with DynDNS update logs and all three routers had very different IP addresses at the time I was trying. Checking with the internal log of the router confirmed the suspicions of people answering my question: The adsl router is responsible for the problem with the 255 address. It seems it cuts out these addresses as some kind of "attack". No changes in configuration (firewall, protection and so on) on the router itself disables it. It seems I will have to live with it ;) Oh well... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Routing to internet addresses ending with 255
but WHAT are external IP's of these routers. this is important. if the "problem" host is A.B.C.255 check if routers external IP isn't A.B.C.something No, I just checked again with DynDNS update logs and all three routers had very different IP addresses at the time I was trying. try freebsd 6 (from livecd etc.) in place of freebsd 7 on the same computer. you will check if it's FreeBSD 7 problem (i DO NOT think so) or this crappy router. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
7.0-STABLE panic on AMD64
Hi all - I'm just in the process of replacing an aging Dell system with a cheap Acer AMD64 box with the latest BIOS. I installed 7.0 from the release ISOs, then updated the source-tree via cvsup to the latest 7.0-STABLE this morning. I rebuilt world and the kernel (SANTAFE kernel conf is a plain copy of GENERIC) and I'm still seeing the same issue when I boot: FreeBSD 7.0-STABLE #0: Fri May 16 04:06:56 MDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/SANTAFE Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ (2194.51-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x60fb2 Stepping = 2 Features=0x178bfbff Features2=0x2001 AMD Features=0xea500800 AMD Features2=0x11f Cores per package: 2 real memory = 1878917120 (1791 MB) avail memory = 1828098048 (1743 MB) ACPI APIC Table: AP #1 (PHY# 1) failed! panic y/n? [y] FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 4 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a (3) failed acpi0: reservation of 10, 6fee (3) failed Timecounter "ACPI-safe" frequency 3579545 Hz quality 850 Answering "n" to the panic, boots the system just fine and everything seems to be operational. Would some kind soul know how I can avoid the panic and get to a clean boot? Thanks - Tobias ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to talk to tap(4)
On Thu, 15 May 2008 14:49:26 -0400 "Bob McConnell" <[EMAIL PROTECTED]> wrote: > >>> My code so far: > >>> > >>> - tear along dotted line - > >>> tapFD = open ("/dev/tap0", O_RDWR); > >>> if (tapFD < 0) { > >>>fprintf (stderr, "Failed to open /dev/tap0: %d.\n", tapFD); > >>>exit (2); > >>> } > >>> > >>> fprintf (stderr, "Successfully opened /dev/tap0.\n"); > >>> > >>> unsigned char * buffer = (unsigned char*)malloc(1514); > >>> if (buffer = NULL) { if (buffer == NULL) { > >>>fprintf (stderr, "No memory available.\n"); > >>>close (tapFD); > >>>exit(3); > >>> } > > When I replace the malloc with an automatic array, the > error goes away and I get the data I am looking for. i.e.: > >unsigned char buffer[1514]; > > So why can't I use malloc to create that buffer? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: iSCSI initiator
> > Please clarify these : > (1) Is iSCSI initiator not currently implemented for FreeBSD ? > (2) There is no "iSCSI target daemon" currently ? > Check this post, it has step by step instructions for 6.x: http://www.southernledger.com/blogs/ee99ee/?p=33 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [SOLVED] Routing to internet addresses ending with 255
Checking with the internal log of the router confirmed the suspicions of people answering my question: The adsl router is responsible for the problem with the 255 address. It seems it cuts out these addresses as some kind of "attack". No changes in configuration (firewall, protection and so on) on the router itself disables it. It seems I will have to live with it ;) Oh well... software designed "heard" somewhere that .0 and .255 addresses are not end nodes, and software simply drops all packet like that. please tell what router is it, to warn others. my bet is TP-LINK. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to talk to tap(4)
unsigned char * buffer = (unsigned char*)malloc(1514); is stdlib.h included (i'm asking for sure)? if (buffer = NULL) { if (buffer == NULL) { fprintf (stderr, "No memory available.\n"); close (tapFD); exit(3); } When I replace the malloc with an automatic array, the error goes away and I get the data I am looking for. i.e.: unsigned char buffer[1514]; So why can't I use malloc to create that buffer? anyway not using malloc is good habit :) but it should work anyway. try buffer[0]=buffer[1513]=0; to make sure page is actually allocated. if this help - maybe tap driver is buggy. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Unable to talk to tap(4)
"Bob McConnell" <[EMAIL PROTECTED]> writes: > From: Bob McConnell >>From: Wojciech Puchar The basic setup sequence is: ifconfig tap0 create ifconfig tap0 inet 10.3.4.254/24 route -v add 10.3.4.0/24 10.3.4.254 >>> >>> ifconfig tap0 up >>> >>> ? >>> >> >> 'ifconfig' already showed the interface flag UP. Adding this command >> to the sequence has no effect on it. I also tried 'ifconfig tap0 > promisc'. >> >> Is EFAULT really a memory access exception? >> At this point, I can ping that address and my application can open either /dev/net/tap0 or /dev/tap0. But when I try to read() from > those devices, I have problems. /dev/net/tap0 always returns with errno = 19 (ENODEV - Operation not supported?). /dev/tap0 returns errno = 14 (EFAULT - bad address). At this point, 'ifconfig' shows that the inet address is no longer attached and 'netstat -rn' shows the route I added above has been dropped. I have been searching for several days to find more information > about this device, but have not found anything specific to FreeBSD. All of > the examples and instructions are for Linux or tun(4), both of which are significantly different devices. My code so far: - tear along dotted line - tapFD = open ("/dev/tap0", O_RDWR); if (tapFD < 0) { fprintf (stderr, "Failed to open /dev/tap0: %d.\n", tapFD); exit (2); } fprintf (stderr, "Successfully opened /dev/tap0.\n"); unsigned char * buffer = (unsigned char*)malloc(1514); if (buffer = NULL) { fprintf (stderr, "No memory available.\n"); close (tapFD); exit(3); } > > When I replace the malloc with an automatic array, the > error goes away and I get the data I am looking for. i.e.: > >unsigned char buffer[1514]; > > So why can't I use malloc to create that buffer? Maybe you forgot to include stdlib.h? That could end up with the compiler adjusting the parameters incorrectly. Incidentally, this problem is why casting the return value of malloc is discouraged; the compiler would warn about such a problem if the (completely unnecessary) cast were not present. int lenth = 0; again: lenth = read(tapFD, buffer, 1514); if (lenth < 0) { int error = errno; if (error == EINTR) goto again; fprintf (stderr, "tap read error: %d\n", error); } else { int index; fprintf (stdout, "%d bytes received.\n", lenth); for (index = 0; index < lenth; ++index) { fprintf (stdout, " %02x", buffer[index]); if (index % 16 == 15) fprintf (stdout, "\n"); } fprintf (stdout, "\n"); } close (tapFD); - tear along dotted line - Just in the interest of full disclosure, I am running a stock installation of FreeBSD 7.0 in a VMWare 5.5.4 session on WinXP. > There are also two virtual Ethernet cards, one connected to a host only subnet, the other bridged onto a real Ethernet segment. I am using > IPFW with DummyNet to inject some measure of reality into this system. This is the beginnings of a test bench for several commercial applications. My goal, once I get this device working, is to write > an application for tap(4) that will emulate a few hundred embedded > devices, each opening a socket directly to a server, which currently resides > in another VM session on the host only network. This setup, coupled > with real devices on the external network should give us a much more realistic environment for stress testing our systems. Thank you, Bob McConnell > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" > -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
JRE problem after installing linux-sun-jre1.6.0
Hello, I have installed linux-sun-jre1.6.0 and I have an error stating # java -version /usr/local/linux-sun-jre1.6.0/bin/java: error while loading shared libraries: libjli.so: cannot open shared object file: No such file or directory What do you suggest me to make that work properly - I just need to have a little java app working… Thanks for your support. Gregober ---> PGP ID --> 0x1BA3C2FD bsd @at@ todoo.biz P "Please consider your environmental responsibility before printing this e-mail" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: Unable to talk to tap(4)
From: Wojciech Puchar >> if (buffer = NULL) { >> >> if (buffer == NULL) { >> > anyway not using malloc is good habit :) but it should work anyway. > try The test after the malloc was the problem. I have been working in a poorly designed scripting language for several months where the single '=' is used for comparisons and didn't "see" the difference when I got back into C. Setting a pointer to NULL should always cause an EFAULT. Unfortunately, even 'gcc -Wall' didn't generate an appropriate warning for it. I only use malloc when I won't know how many buffers I need until run time. In this case the application will count records in a configuration file and malloc (1514 * count * 2) bytes, where count can range from 1 to 2000. That becomes an array of buffers, so I can pass just an index or pointer between threads, usually through a mailbox or message queue. It's a simple trick for message passing that I picked up years ago while using the CTASK and XINU kernels. Thanks for all the help, Bob McConnell ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Xorg with multiple cards
Thank you for the response Baptiste. I was under the impression that Xinerama no longer worked with xorg 7.3. I tried setting up my xorg.conf both with and without it, and it seems to be having problems re-defining a device on the same PCI bus (1:0:0). I have it so that X will start up, and the dual-head card loads and 2 of my screens show, but the 3rd screen is still being difficult. Any other input is greatly appreciated. Thanks. Baptiste Grenier wrote: Le 15/05/08 à 18:02, Mike Ginsburg téléscripta : A question to all of your xorg experts. I'm running FreeBSD 6.2-RELEASE-p8 with xorg-7.3.1. Up until today I was running on an PCIe RV280 (9200 Pro) with a dvi splitter to give me 2 monitors. Today I added a 2nd PCI card (Radeon 9260) over VGA. For the life of me I can't seem to configure my xorg.conf to work with the 2nd card and 3rd monitor. I have attached a tarball with my working xorg.conf, and my attempts at configuring the 2nd card (xorg.conf.broken). Any and all help is appreciated. If you need more information, please feel free to ask and I'll provide it. Thank you. Hello, Here is the revelant parts of the configuration I was using with a PCI-E Nvidia card for two monitors (DVI+VGA) and a PCI ATI card for the third monitor: 8<- Section "ServerLayout" Identifier "Layout0" Screen 0 "Screen0" 0 0 Screen 1 "Screen1" LeftOf "Screen0" Screen 2 "Screen2" RightOf "Screen0" InputDevice"Keyboard0" "CoreKeyboard" InputDevice"Mouse0" "CorePointer" EndSection Section "ServerFlags" Option "Xinerama" "1" EndSection Section "Monitor" Identifier "FP202W 0" VendorName "Unknown" ModelName "BenQ FP202W" Option "DPMS" EndSection Section "Monitor" Identifier "FP202W 1" VendorName "Unknown" ModelName "BenQ FP202W" Option "DPMS" EndSection Section "Monitor" Identifier "SyncMaster 730BF" HorizSync30-81 VertRefresh 60 Option "DPMS" EndSection Section "Device" Identifier "7300 0" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 7300 GS" BusId "PCI:1:0:0" Screen 0 EndSection Section "Device" Identifier "7300 1" Driver "nvidia" VendorName "NVIDIA Corporation" BoardName "GeForce 7300 GS" BusId "PCI:1:0:0" Screen 1 EndSection Section "Device" Driver "ati" Identifier "ATI RageXL" BusId "PCI:6:17:0" EndSection Section "Screen" Identifier "Screen0" Device "7300 0" Monitor"FP202W 0" DefaultDepth24 SubSection "Display" Depth 24 Modes "1680x1050" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection EndSection Section "Screen" Identifier "Screen1" Device "7300 1" Monitor"FP202W 1" DefaultDepth24 SubSection "Display" Depth 24 Modes "1680x1050" "1280x1024" "1024x768" "800x600" "640x480" EndSubSection EndSection Section "Screen" Identifier "Screen2" Device "ATI RageXL" Monitor"SyncMaster 730BF" DefaultDepth 24 SubSection "Display" Depth 24 Modes"1280x1024" "1024x768" "800x600" "640x480" EndSubSection EndSection 8<- I'm not sure, but you could probably do something like this with your two ATI cards. HTH, Baptiste Mike Ginsburg Collaborative Fusion, Inc. [EMAIL PROTECTED] 412-422-3463 x4015 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FreeBSD 6.3 Panic
Hello, I've recently started getting kernel panics with a FreeBSD 6.3 machine, using a minimal i386 custom kernel. I don't believe it's a hardware issue as they always seem to coincide with a crash on SqueezeCenter, apparently during heavy usage of the MySQL backend. I'm unable to get a crash dump. After the panic, all I get in the console is, Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 01 fault virtual address = 0x5c05df fault code = supervisor read, page not present instruction pointer = 0x20:0xc05bc0a0 stack pointer = 0x28:0xe8c178e0 frame pointer = 0x28:0xe8c178ec 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 = 50243 (perl) trap number = 12 panic: page fault cpuid = 1 Uptime: 1d20h16m14s Dumping 2021 MB (6 chunks) chunk 0: 1MB (142 pages) ... ok chunk 1: 2021MB (517262 pages) and it then sits apparently indefinitely with no disk activity, and needs a hard reboot. At startup, no dump is found, Checking for core dump on /dev/mirror/gm0s1b... savecore: no dumps found I have "dumpdev=AUTO" in my rc.conf, which gives the message, kernel dumps on /dev/mirror/gm0s1b swapon: adding /dev/mirror/gm0s1b as swap device Is using a gmirrored swap partition for a dump device supported? Can anyone suggest what I should be doing to try to get a crash dump successfully to further diagnose this? Is there anything else relevant I should post? Regards, Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How to get best results from FreeBSD-questions
How to get the best results from FreeBSD questions. === Last update $Date: 2005/08/10 02:21:44 $ This is a regular posting to the FreeBSD questions mailing list. If you got it in answer to a message you sent, it means that the sender thinks that at least one of the following things was wrong with your message: - You left out a subject line, or the subject line was not appropriate. - You formatted it in such a way that it was difficult to read. - You asked more than one unrelated question in one message. - You sent out a message with an incorrect date, time or time zone. - You sent out the same message more than once. - You sent an 'unsubscribe' message to FreeBSD-questions. If you have done any of these things, there is a good chance that you will get more than one copy of this message from different people. Read on, and your next message will be more successful. This document is also available on the web at http://www.lemis.com/questions.html. = Contents: I:Introduction II: How to unsubscribe from FreeBSD-questions III: Should I ask -questions or -hackers? IV: How to submit a question to FreeBSD-questions V:How to answer a question to FreeBSD-questions I: Introduction === This is a regular posting aimed to help both those seeking advice from FreeBSD-questions (the "newcomers"), and also those who answer the questions (the "hackers"). Note that the term "hacker" has nothing to do with breaking into other people's computers. The correct term for the latter activity is "cracker", but the popular press hasn't found out yet. The FreeBSD hackers disapprove strongly of cracking security, and have nothing to do with it. In the past, there has been some friction which stems from the different viewpoints of the two groups. The newcomers accused the hackers of being arrogant, stuck-up, and unhelpful, while the hackers accused the newcomers of being stupid, unable to read plain English, and expecting everything to be handed to them on a silver platter. Of course, there's an element of truth in both these claims, but for the most part these viewpoints come from a sense of frustration. In this document, I'd like to do something to relieve this frustration and help everybody get better results from FreeBSD-questions. In the following section, I recommend how to submit a question; after that, we'll look at how to answer one. II: How to unsubscribe from FreeBSD-questions == When you subscribed to FreeBSD-questions, you got a welcome message from [EMAIL PROTECTED] In this message, amongst other things, it told you how to unsubscribe. Here's a typical message: Welcome to the freebsd-questions@freebsd.org mailing list! If you ever want to unsubscribe or change your options (eg, switch to or from digest mode, change your password, etc.), visit your subscription page at: http://lists.freebsd.org/mailman/options/freebsd-questions/[EMAIL PROTECTED] (obviously, substitute your mail address for "[EMAIL PROTECTED]"). You can also make such adjustments via email by sending a message to: [EMAIL PROTECTED] with the word 'help' in the subject or body (don't include the quotes), and you will get back a message with instructions. You must know your password to change your options (including changing the password, itself) or to unsubscribe. Normally, Mailman will remind you of your freebsd.org mailing list passwords once every month, although you can disable this if you prefer. This reminder will also include instructions on how to unsubscribe or change your account options. There is also a button on your options page that will email your current password to you. Here's the general information for the list you've subscribed to, in case you don't already have it: FREEBSD-QUESTIONS User questions This is the mailing list for questions about FreeBSD. You should not send "how to" questions to the technical lists unless you consider the question to be pretty technical. Normally, unsubscribing is even simpler than the message suggests: you don't need to specify your mail ID unless it is different from the one which you specified when you subscribed. If Majordomo replies and tells you (incorrectly) that you're not on the list, this may mean one of two things: 1. You have changed your mail ID since you subscribed. That's where keeping the original message from majordomo comes in handy. For example, the sample message above shows my mail ID as [EMAIL PROTECTED] Since then, I have changed it to [EMAIL PROTECTED] If I were to try to remove [EMAIL PROTECTED] from the list, it would fail: I would have to specify the name with which I joined. 2. You're subscribed to a mailing list which is subscribed to Fr
"The Complete FreeBSD": errata and addenda
The trouble with books is that you can't update them the way you can a web page or any other online documentation. The result is that most leading edge computer books are out of date almost before they are printed. Unfortunately, The Complete FreeBSD, published by O'Reilly, is no exception. Inevitably, a number of bugs and changes have surfaced. "The Complete FreeBSD" has been through a total of five editions, including its predecessor "Installing and Running FreeBSD". Two of these have been reprinted with corrections. I maintain a series of errata pages. Start at http://www.lemis.com/errata-4.html to find out how to get the errata information. Note also that the book has now been released for free download in PDF form. Instead of downloading the changed pages, you may prefer to download the entire book. See http://www.lemis.com/grog/Documentation/CFBSD/ for more information. Have you found a problem with the book, or maybe something confusing? Please let me know: I'm no longer constantly updating it, but I may be able to help Greg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: [SOLVED] Routing to internet addresses ending with 255
Wojciech Puchar wrote: Checking with the internal log of the router confirmed the suspicions of people answering my question: The adsl router is responsible for the problem with the 255 address. It seems it cuts out these addresses as some kind of "attack". No changes in configuration (firewall, protection and so on) on the router itself disables it. It seems I will have to live with it ;) Oh well... software designed "heard" somewhere that .0 and .255 addresses are not end nodes, and software simply drops all packet like that. please tell what router is it, to warn others. my bet is TP-LINK. Actually, it is a Sagem... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 6.3 Panic
Christopher Key wrote: Can anyone suggest what I should be doing to try to get a crash dump successfully to further diagnose this? Is there anything else relevant I should post? Configure DDB and obtain the traceback from that instead (see the developers handbook) Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
X on Intel GM965 chipset
Hello, I just installed FreeBSD 7.0 on a Dell Vostro 1200. It has Intel's GM965 chipset and I cannot get X to work at the right resolution of 1280x800. I updated and reinstalled the x11-drivers/x11-video-i810 and x11-drivers/x11-intel ports. But X still dies whenever I tell it to use "i810" driver. I am using vesa which gives me 1024x786. The following two places suggest that FreeBSD 7.0 supports GM965 chipsets: [1] http://lists.freebsd.org/pipermail/cvs-src/2007-July/080677.html [2] http://en.wikipedia.org/wiki/Intel_GMA What should I do to get the proper drivers and get X working? Thanks, Nishita -- http://nishita.50webs.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: X on Intel GM965 chipset
On Fri, May 16, 2008 at 10:51 PM, Nishita Desai <[EMAIL PROTECTED]> wrote: > I updated and reinstalled the x11-drivers/x11-video-i810 and > x11-drivers/x11-intel ports. Sorry, that should be xf86-video-i810 and xf86-video-intel. Regards, Nishita ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: X on Intel GM965 chipset
Nishita Desai wrote: On Fri, May 16, 2008 at 10:51 PM, Nishita Desai <[EMAIL PROTECTED]> wrote: I updated and reinstalled the x11-drivers/x11-video-i810 and x11-drivers/x11-intel ports. Sorry, that should be xf86-video-i810 and xf86-video-intel. Regards, Nishita You only need xf86-video-intel and enter "intel" as the Driver in your xorg.conf. I'm running a GM965 at 1440x900 this way. I even think that x11-video-i810 and xf86-video-intel conflict. So best deinstall both and only install xf86-video-intel afterwards. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: X on Intel GM965 chipset
> Nishita Desai writes: Nishita> Hello, Nishita> I just installed FreeBSD 7.0 on a Dell Vostro 1200. It has Intel's Nishita> GM965 chipset and I cannot get X to work at the right resolution of Nishita> 1280x800. Nishita> I updated and reinstalled the x11-drivers/x11-video-i810 and Nishita> x11-drivers/x11-intel ports. But X still dies whenever I tell it to Nishita> use "i810" driver. I am using vesa which gives me 1024x786. Dies with what error ? paste /var/log/Xorg.0.log. BtW, 1280x800 is a widescreen resolution and to get that you might need to patch your BIOS at runtime using '915resolution' port. Nishita> The following two places suggest that FreeBSD 7.0 supports GM965 chipsets: Nishita> [1] http://lists.freebsd.org/pipermail/cvs-src/2007-July/080677.html Nishita> [2] http://en.wikipedia.org/wiki/Intel_GMA Nishita> What should I do to get the proper drivers and get X working? Following is my xorg.conf, and I've DRI working on my Intel G965 laptop. 8<8< Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice"Touchpad0" "CorePointer" InputDevice"Keyboard0" "CoreKeyboard" EndSection Section "Files" RgbPath "/usr/local/share/X11/rgb" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/local/" FontPath "/usr/local/lib/X11/fonts/bitstream-vera/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" EndSection Section "Module" Load "GLcore" Load "dbe" Load "dri" Load "extmod" Load "glx" Load "record" Load "xtrap" Load "freetype" Load "type1" Load "synaptics" EndSection Section "ServerFlags" Option "AllowEmptyInput" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/psm0" Option "ZAxisMapping" "4 5 6 7" EndSection Section "InputDevice" Identifier "Touchpad0" Driver "synaptics" Option "Device" "/dev/psm0" Option "Protocol" "alps" Option "SHMConfig" "on" Option "LeftEdge" "130" Option "RightEdge" "840" Option "TopEdge" "130" Option "BottomEdge" "640" Option "FingerLow" "7" Option "FingerHigh" "8" Option "MaxTapTime" "180" Option "MinTapTime" "110" Option "ClickTime" "0" Option "EmulateMidButtonTime" "75" Option "VertScrollDelta" "20" Option "HorizScrollDelta" "20" Option "MinSpeed" "0.40" Option "MaxSpeed" "0.65" Option "AccelFactor" "0.030" Option "EdgeMotionMinSpeed" "200" Option "EdgeMotionMaxSpeed" "200" Option "UpDownScrolling" "1" Option "CircularScrolling" "1" Option "CircScrollDelta" "0.1" Option "CircScrollTrigger" "3" Option "VertEdgeScroll" "on" Option "Emulate3Buttons" "on" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName"Monitor Model" EndSection Section "Device" Identifier "Card0" Driver "intel" VendorName "Intel Corporation" BoardName "Mobile GM965/GL960 Integrated Graphics Controller" BusID "PCI:0:2:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor"Monitor0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 Virtual 2880 900 EndSubSection EndSection >8>8 In addition to above xorg.conf, I'm also using latest DRM from stuff from CVS from ':pserver:[EMAIL PROTECTED]:/home/ncvs/src/sys/dev/drm' plus graphics/dri port. And this works flawlessly :) . Nishita> Thanks, Nishita> Nishita HTH -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·
Re: X on Intel GM965 chipset
On Fri, May 16, 2008 at 11:04 PM, Dominic Fandrey <[EMAIL PROTECTED]> wrote: > You only need xf86-video-intel and enter "intel" as the Driver in your > xorg.conf. I'm running a GM965 at 1440x900 this way. > > I even think that x11-video-i810 and xf86-video-intel conflict. So best > deinstall both and only install xf86-video-intel afterwards. I cannot pkg_delete nor pkg_deinstall xf86-video-i810. Here's the error: -- pkg_delete: package 'xf86-video-i810-1.7.4' is required by these other packages and may not be deinstalled: xorg-7.3_1 -- And yes, they _do_ conflict. I am unable to install xf86-video-intel. reg., Nishita -- http://nishita.50webs.com/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: X on Intel GM965 chipset
xorg.conf. I'm running a GM965 at 1440x900 this way. I even think that x11-video-i810 and xf86-video-intel conflict. So best deinstall both and only install xf86-video-intel afterwards. I cannot pkg_delete nor pkg_deinstall xf86-video-i810. Here's the error: -- pkg_delete: package 'xf86-video-i810-1.7.4' is required by these other packages and may not be deinstalled: xorg-7.3_1 -- And yes, they _do_ conflict. I am unable to install xf86-video-intel. deinstall xorg xorg-drivers (both are meta-packages) cd /usr/ports/x11-drivers/xorg-drivers make config select drivers you need then make install clean ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: X on Intel GM965 chipset
> Nishita Desai writes: Nishita> On Fri, May 16, 2008 at 11:04 PM, Dominic Fandrey <[EMAIL PROTECTED]> wrote: >> You only need xf86-video-intel and enter "intel" as the Driver in your >> xorg.conf. I'm running a GM965 at 1440x900 this way. >> >> I even think that x11-video-i810 and xf86-video-intel conflict. So best >> deinstall both and only install xf86-video-intel afterwards. Nishita> I cannot pkg_delete nor pkg_deinstall xf86-video-i810. Here's the error: Nishita> -- Nishita> pkg_delete: package 'xf86-video-i810-1.7.4' is required by these other packages Nishita> and may not be deinstalled: Nishita> xorg-7.3_1 Nishita> -- pkg_delete -f xf86-video-i810-1.7.4 ? or make -C /usr/ports/x11-drivers/xf86-video-i810 deinstall ? -- Ashish Shukla आशीष शुक्ल http://wahjava.wordpress.com/ ·-- ·- ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- -- pgp1EXlmJfbj3.pgp Description: PGP signature
RE: Unable to talk to tap(4)
On Fri, 16 May 2008, Bob McConnell wrote: From: Wojciech Puchar if (buffer = NULL) { if (buffer == NULL) { anyway not using malloc is good habit :) but it should work anyway. try The test after the malloc was the problem. I have been working in a :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD 6.3 Panic
Kris Kennaway wrote: Christopher Key wrote: Can anyone suggest what I should be doing to try to get a crash dump successfully to further diagnose this? Is there anything else relevant I should post? Configure DDB and obtain the traceback from that instead (see the developers handbook) Thanks Kris, I've created and installed a kernel with, options KDB options DDB options KDB_UNATTENDED I'll now wait and see if I can reproduce a crash. Regards, Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: X on Intel GM965 chipset
On Fri, May 16, 2008 at 11:27 PM, Wojciech Puchar <[EMAIL PROTECTED]> wrote: > deinstall > > xorg > xorg-drivers (both are meta-packages) > > cd /usr/ports/x11-drivers/xorg-drivers > make config > > select drivers you need > > then make install clean Thank you all. That seems to have done it. reg., Nishita ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ipfw, limit, and lots of connections in FIN_WAIT_2 state
Hi everyone. I use ipfw on one of our servers to help protect against some HTTP attacks we were receiving recently. The rules are very basic but were helping with the type of attack we were receiving: = flush="/sbin/ipfw -q flush" cmd="/sbin/ipfw -q add" $flush $cmd 0001 allow all from any to any via lo0 $cmd 0002 allow all from 127.0.0.1 to 127.0.0.1 $cmd 0003 check-state $cmd 3000 allow tcp from any to me 80 setup limit src-addr 15 $cmd 65003 allow all from any to any = The issue with this setup though is that when "limit" is used and there is a dynamic rule for the traffic, lots of connections build up in the FIN_WAIT_2 state. I have recently seen numbers in the upper hundreds and they stay around for a long time. Without the limiting or dynamic rules I don't recall any noticeable amount of FIN_WAIT_2 connections. This has been causing problems for some visitors because connections from their IP are building up and reaching the limit. The limit part works great, but all the connections shown in ipfw's dynamic rules list for some IPs are in the FIN_WAIT_2 state which is reaching the limit and then not allowing any new traffic in from them. Then websites hosted here appear down and most of the visitors wouldn't have any idea what's going on. The description in the last paragraph of this reply sounds just like the issue: http://lists.freebsd.org/pipermail/freebsd-questions/2007-February/142745.html Are there any things that can be done on the server end to help with this? Thanks in advance for any input. -Mark -- Internet Radio: Party107 (Trance/Electronic) - http://www.party107.com Rock 101.9 The Edge (Rock) - http://www.rock1019.net IRC: MIXXnet IRC Network - irc.mixxnet.net (Nick: MIXX941) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
486 Install??
I have a 486 DEEP GREEN system I would like to put some version of FreeBSD on (I have my reasons). I have other inquiries out on this, but if I correctly recall (and that is a real rusty recall at best), the max memory you could get on one of these beasts was 48MB, unless they made some bigger, recognizable, 72-pin modules. I have 8 MB of hard drive space free for a FreeBSD partition and I am actually running an Intel P24T Overdrive for my CPU. All work fine on the DOS 6.2.2 partition I need to run. Would any version of FreeBSD work with just 48MB of RAM? Or do I need to figure out a way to get more RAM on the board, IF POSSIBLE? Thanks. Tom Simpson Omaha, NE [EMAIL PROTECTED] 402.896.1157 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: another problem ...
I asked Jonathan Chen what was the easiest way to do this. Was it CSup? Also how do I check for the latest version? The manual indicates pkg_version -v does this, but it does not list all ports and in particular not the ones I am interested in which are in /usr/ports/editors. Is there a way to get these? Does one get all the ports at one shot which might be useful as I don't know where I am going wrong. Or just the one? Jonathan Chen wrote: On Thu, May 15, 2008 at 09:58:22PM -0400, John Wynstra wrote: I cleaned up and reran the make install ... +++ ===> openoffice.org-2.3.1 depends on file: /usr/local/bin/perl5.8.8 - found ===> Patching for openoffice.org-2.3.1 You need to update your ports tree. The current version is 2.4.0_5. Please consult the Handbook on how to keep your ports-tree up to date: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 486 Install??
Thomas F Simpson Jr wrote: I have a 486 DEEP GREEN system I would like to put some version of FreeBSD on (I have my reasons). I have other inquiries out on this, but if I correctly recall (and that is a real rusty recall at best), the max memory you could get on one of these beasts was 48MB, unless they made some bigger, recognizable, 72-pin modules. I have 8 MB of hard drive space free for a FreeBSD partition and I am actually running an Intel P24T Overdrive for my CPU. All work fine on the DOS 6.2.2 partition I need to run. Would any version of FreeBSD work with just 48MB of RAM? Or do I need to figure out a way to get more RAM on the board, IF POSSIBLE? Thanks. Tom Simpson Omaha, NE [EMAIL PROTECTED] 402.896.1157 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" I'll have to admit to being curious. Why? (And I'm sorry, but I can't help you. Hope someone else can.) -- Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 486 Install??
Thomas F Simpson Jr wrote: I have a 486 DEEP GREEN system I would like to put some version of FreeBSD on (I have my reasons). I have other inquiries out on this, but if I correctly recall (and that is a real rusty recall at best), the max memory you could get on one of these beasts was 48MB, unless they made some bigger, recognizable, 72-pin modules. I have 8 MB of hard drive space free for a FreeBSD partition and I am actually running an Intel P24T Overdrive for my CPU. All work fine on the DOS 6.2.2 partition I need to run. Would any version of FreeBSD work with just 48MB of RAM? Or do I need to figure out a way to get more RAM on the board, IF POSSIBLE? Thanks. Tom Simpson Omaha, NE [EMAIL PROTECTED] 402.896.1157 You can find the minimum memory requirements for different versions in this post: http://lists.freebsd.org/pipermail/freebsd-doc/2006-August/011029.html Don't know about disk space though. A friend of mine is running a 6.3-RELEASE on a pentium 133 with 48Mb RAM: FreeBSD 6.3-RELEASE-p2 #2: Sat May 10 14:13:20 EEST 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/TEST Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Pentium/P54C (132.63-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping = 12 Features=0x1bf real memory = 50331648 (48 MB) avail memory = 43896832 (41 MB) Intel Pentium detected, installing workaround for F00F bug kbd1 at kbdmux0 Mind you, since you are referring to a 486, I don't believe you will be able to install recent releases. I have installed 4.11 on a 386 though (with 24Mb RAM) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: time drift
Volker Jahns wrote: Bruce Cran wrote: Volker Jahns wrote: On Thu, May 15, 2008 at 09:53:02PM +0200, Volker Jahns wrote: On Thu, May 15, 2008 at 12:18:57PM -0700, Chuck Swiger wrote: On May 15, 2008, at 11:57 AM, Volker Jahns wrote: FreeBSD 6.2 running on X86 hardware (FSC) shows a remarkable time drift running ntpdate every half hour shows that the system looses about 10-14 sec each time. 15 May 10:06:48 ntpdate[7200]: step time server 192.53.103.108 offset -13.799602 sec 15 May 10:36:48 ntpdate[7515]: step time server 192.53.103.108 offset -12.813941 sec 15 May 11:06:48 ntpdate[7879]: step time server 192.53.103.108 offset -13.651921 sec 15 May 11:36:50 ntpdate[8079]: step time server 192.53.103.108 offset -11.109298 sec 15 May 12:06:50 ntpdate[8289]: step time server 192.53.103.108 offset -11.836499 sec You should also take a look at the output of "sysctl kern.timecounter", and possibly switch to a different mechanism, if the existing choice doesn't work out well for your machine... Thanks for the hint. A few years ago a time drift problem had been observed by a German freebsd user (http://www.freebsd.de/rachive/de-bsd-questions.200304/0643.html). Time drift 15 sec every half hour, ntpd dies away running on his machine. Setting kern.timecounter.hardware to TSC had been recommended as a solution. There's also a FreeBSD PR open about this problem: http://www.freebsd.org/cgi/query-pr.cgi?pr=i386/123462 sysctl -w kern.timecounter.hardware=TSC and then this: 16 May 08:37:01 ntpdate[28819]: adjust time server 192.53.103.108 offset -0.347027 sec 16 May 09:07:00 ntpdate[29258]: adjust time server 192.53.103.108 offset -0.313608 sec 16 May 09:37:00 ntpdate[29492]: adjust time server 192.53.103.108 offset -0.314357 sec 16 May 10:07:00 ntpdate[29826]: adjust time server 192.53.103.108 offset -0.313694 sec (Please note the use of ntpdate is for debugging purposes only, this is _not_ an ntp issue) Finally I want to come back to the time drift issue and howto improve it. Setting kern.timecounter.hardware: i8254 machdep.i8254_freq: 1193182 16 May 12:07:01 ntpdate[31752]: adjust time server 192.53.103.108 offset -0.404453 sec 16 May 12:37:00 ntpdate[32425]: adjust time server 192.53.103.108 offset -0.396156 sec 16 May 13:07:01 ntpdate[32787]: adjust time server 192.53.103.108 offset -0.383712 sec 16 May 13:37:01 ntpdate[33126]: adjust time server 192.53.103.108 offset -0.387233 sec Clock is too slow, frequency must be increased. Corrected machdep.i8254_freq from 1193182 to 1193448 16 May 17:37:00 ntpdate[36310]: adjust time server 192.53.103.108 offset -0.033320 sec 16 May 18:07:01 ntpdate[36632]: adjust time server 192.53.103.108 offset -0.053532 sec 16 May 18:37:00 ntpdate[37011]: adjust time server 192.53.103.108 offset -0.043264 sec 16 May 19:07:01 ntpdate[37361]: adjust time server 192.53.103.108 offset -0.055725 sec Time drift is now only about 50 millisecs per half an hour. -- Volker Jahns, [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 486 Install??
I have a 486 DEEP GREEN system I would like to put some version of FreeBSD on (I have my reasons). I have other inquiries out on this, but if I correctly recall (and that is a real rusty recall at best), the max memory you could get on one of these beasts was 48MB, unless they made some bigger, recognizable, 72-pin modules. I have 8 MB of hard drive space free for a FreeBSD partition and I am actually running an Intel P24T Overdrive for my CPU. All work fine on the DOS 6.2.2 partition I need to run. Would any version of FreeBSD work with just 48MB of RAM? Or do I need to figure out a way to get more RAM on the board, IF POSSIBLE? FreeBSD installer runs on 32MB for sure, already installed system with stripped kernel works fine on 16MB and 486. but be aware 486SX is not supported in 6.* ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 486 Install??
I'll have to admit to being curious. Why? (And I'm sorry, but I can't help you. Hope someone else can.) because it works and is useful, as my 2 486 based routers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 486 Install??
Don't know about disk space though. ca 100MB is minimum, but going down to 40MB is absolutely possible with a bit of manual work. probably less. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: AAC driver. No kernel error messages for failed raid5?
Robert Jesacher wrote: On 06.05.2008, at 22:02, Ed Maste wrote: On Tue, May 06, 2008 at 12:44:02PM -0700, Chris St Denis wrote: I pulled out one of the raid5 drives to test the functionality and noticed that FreeBSD didn't seem to notice the disk failure at all. I was expecting kernel messages about it, but got nothing. This is missing functionality in the aac(4) driver. For now about the best you can do is regularly poll the status using Adaptec's CLI tool "arcconf." -ED The tool you need to look into is: sysutils/aaccli . I think arctool is only for arcmsr-devices. unfortunately aaccli doesn't provide the possibility to use it with parameters, so you probably need to use it with an expect-script. On the adaptec 2410SA I activated the "alarm" feature in the controller bios, which helps me, because its a home server but this will not help you if your server is sitting somewhere else. Because of this limitation (and a few other things with the controller) I'm certainly looking for an other solution. In my case a ZFS-based software RAID will suffice, but this might not be desirable for you. Take care & good luck, Robert arcconf from ports works fine. It hangs on exit but does die off eventually and doesn't do any harm sitting in background for a while when run from cron, and from the commandline I can just ^c it. Here is what I used in cron for anyone who is interested: /usr/local/sbin/arcconf GETCONFIG 1 LD | egrep '(name|Status)' It gives results like this which work well. Could probably be incorporated into the daily run output, but I don't know exactly how off hand. Logical device name : Boot mirror Status of logical device : Optimal Logical device name : Data raid5 Status of logical device : Optimal According to arcconf my card doesn't have an audible alarm :( ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: number of partitions
On 15.05.2008, at 19:09, Roland Smith wrote: On Thu, May 15, 2008 at 09:36:06AM -0600, [EMAIL PROTECTED] wrote: looks like I cannot create more than 8 partitions at boot time on a single disk. how to overcome this problem ? thanks Use fdisk to make up to 4 slices on the disk; e.g. ad0 gets ad0s1 to ad0s4. you can then create up to 6 usable partitions on each slice. Roland if you are on 7.0 and your box is equipped for it (memory) you could - and probably should - give ZFS a try. I use it w/o troubles and it really eliminates the partitioning (and other) hassles. Simply put: it is the next big thing in storage ;-) Have a look here: http://wiki.freebsd.org/ZFS take care, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: AAC driver. No kernel error messages for failed raid5?
On 06.05.2008, at 22:02, Ed Maste wrote: On Tue, May 06, 2008 at 12:44:02PM -0700, Chris St Denis wrote: I pulled out one of the raid5 drives to test the functionality and noticed that FreeBSD didn't seem to notice the disk failure at all. I was expecting kernel messages about it, but got nothing. This is missing functionality in the aac(4) driver. For now about the best you can do is regularly poll the status using Adaptec's CLI tool "arcconf." -ED The tool you need to look into is: sysutils/aaccli . I think arctool is only for arcmsr-devices. unfortunately aaccli doesn't provide the possibility to use it with parameters, so you probably need to use it with an expect-script. On the adaptec 2410SA I activated the "alarm" feature in the controller bios, which helps me, because its a home server but this will not help you if your server is sitting somewhere else. Because of this limitation (and a few other things with the controller) I'm certainly looking for an other solution. In my case a ZFS-based software RAID will suffice, but this might not be desirable for you. Take care & good luck, Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 486 Install??
At 01:46 PM 5/16/2008, Thomas F Simpson Jr wrote: I have a 486 DEEP GREEN system I would like to put some version of FreeBSD on (I have my reasons). I have other inquiries out on this, but if I correctly recall (and that is a real rusty recall at best), the max memory you could get on one of these beasts was 48MB, unless they made some bigger, recognizable, 72-pin modules. I have 8 MB of hard drive space free for a FreeBSD partition and I am actually running an Intel P24T Overdrive for my CPU. All work fine on the DOS 6.2.2 partition I need to run. Would any version of FreeBSD work with just 48MB of RAM? Or do I need to figure out a way to get more RAM on the board, IF POSSIBLE? Thanks. Tom Simpson Omaha, NE [EMAIL PROTECTED] 402.896.1157 I have one system running 6.3 with 48 MB ram, but it does freeze from time to time. I believe it does need more ram and is a system slated for replacement. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 486 Install??
402.896.1157 I have one system running 6.3 with 48 MB ram, but it does freeze from time to time. I believe it does need more ram and is a system slated for it doesn't freeze because of that. there are other reason. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: number of partitions
how to do it ? I need to create something like 16 partitions on a disk. you may create up to 4 slices if you use slices at all (i don't) on each you can make 7 partitions (8-one for c) but each partition CAN be partitioned again. so you can make any number of partitions. example of my home system (lots of DVD-sized partitions to make backups easy) [EMAIL PROTECTED] ~]# bsdlabel ad0 # /dev/ad0: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 9180416 164.2BSD0 0 0 b: 200 91804324.2BSD 2048 16384 28384 c: 2344416480unused0 0 # "raw" part, don't edit d: 200 111804324.2BSD 4096 32768 62504 e: 64262928 131804324.2BSD0 0 0 h: 156998288 774433604.2BSD0 0 0 [EMAIL PROTECTED] ~]# bsdlabel ad0e # /dev/ad0e: 8 partitions: #size offsetfstype [fsize bsize bps/cpg] a: 9180416 164.2BSD0 0 0 b: 9180416 91804324.2BSD0 0 0 c: 642629280unused0 0 # "raw" part, don't edit d: 9180416 183608484.2BSD0 0 0 e: 9180416 275412644.2BSD0 0 0 f: 9180416 367216804.2BSD0 0 0 g: 9180416 459020964.2BSD0 0 0 h: 9180416 550825124.2BSD0 0 0 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: AAC driver. No kernel error messages for failed raid5?
In the last episode (May 16), Robert Jesacher said: > On 06.05.2008, at 22:02, Ed Maste wrote: >> On Tue, May 06, 2008 at 12:44:02PM -0700, Chris St Denis wrote: >>> I pulled out one of the raid5 drives to test the functionality and >>> noticed that FreeBSD didn't seem to notice the disk failure at all. >>> I was expecting kernel messages about it, but got nothing. >> >> This is missing functionality in the aac(4) driver. For now about >> the best you can do is regularly poll the status using Adaptec's CLI >> tool "arcconf." >> >> -ED > > The tool you need to look into is: sysutils/aaccli . I think arctool > is only for arcmsr-devices. unfortunately aaccli doesn't provide the > possibility to use it with parameters, so you probably need to use it > with an expect-script. aaccli is most definitely scriptable: $ aaccli "open /readonly aac0 : enclosure show status : disk show smart : container list /full" -- Dan Nelson [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 486 Install??
At 03:23 PM 5/16/2008, Wojciech Puchar wrote: 402.896.1157 I have one system running 6.3 with 48 MB ram, but it does freeze from time to time. I believe it does need more ram and is a system slated for it doesn't freeze because of that. there are other reason. It could be for other reasons, but it still needs to be replaced which is more expedient than tracking down the cause of it freezing. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: AAC driver. No kernel error messages for failed raid5?
Doesn't seem to work with my IBM ServeRAID 8k CLI > open /readonly aac0 Executing: open /readonly=TRUE "aac0" Command Error: current controller software.> Seems a little odd it's referencing a dll (which doesn't exist on the system) Dan Nelson wrote: In the last episode (May 16), Robert Jesacher said: On 06.05.2008, at 22:02, Ed Maste wrote: On Tue, May 06, 2008 at 12:44:02PM -0700, Chris St Denis wrote: I pulled out one of the raid5 drives to test the functionality and noticed that FreeBSD didn't seem to notice the disk failure at all. I was expecting kernel messages about it, but got nothing. This is missing functionality in the aac(4) driver. For now about the best you can do is regularly poll the status using Adaptec's CLI tool "arcconf." -ED The tool you need to look into is: sysutils/aaccli . I think arctool is only for arcmsr-devices. unfortunately aaccli doesn't provide the possibility to use it with parameters, so you probably need to use it with an expect-script. aaccli is most definitely scriptable: $ aaccli "open /readonly aac0 : enclosure show status : disk show smart : container list /full" -- Chris St Denis Programmer SmarttNet (www.smartt.com) Ph: 604-473-9700 Ext. 200 --- "Smart Internet Solutions For Businesses" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: AAC driver. No kernel error messages for failed raid5?
On Fri, May 16, 2008 at 01:52:50PM -0700, Chris St Denis wrote: > Doesn't seem to work with my IBM ServeRAID 8k > > CLI > open /readonly aac0 > Executing: open /readonly=TRUE "aac0" > Command Error: current controller software.> You can avoid this issue by building a kernel with the latest aac(4) driver from RELENG_6/RELENG_7/HEAD, but you're probably better off just using arcconf instead of aaccli. -Ed ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: another problem ...
I think I should use portsnap. # portsnap fetch # portsnap update # since there already is a /usr/ports subtree John Wynstra wrote: I asked Jonathan Chen what was the easiest way to do this. Was it CSup? Also how do I check for the latest version? The manual indicates pkg_version -v does this, but it does not list all ports and in particular not the ones I am interested in which are in /usr/ports/editors. Is there a way to get these? Does one get all the ports at one shot which might be useful as I don't know where I am going wrong. Or just the one? Jonathan Chen wrote: On Thu, May 15, 2008 at 09:58:22PM -0400, John Wynstra wrote: I cleaned up and reran the make install ... +++ ===> openoffice.org-2.3.1 depends on file: /usr/local/bin/perl5.8.8 - found ===> Patching for openoffice.org-2.3.1 You need to update your ports tree. The current version is 2.4.0_5. Please consult the Handbook on how to keep your ports-tree up to date: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: another problem ...
(1) How do I test the version number of this? (2) I did portsnap extract as this was the first time I did this (the previous /usr/ports tree came from the CDROM) (3) I did another make install and it fails with ... mv -f ".libs/libgiofam.expT" ".libs/libgiofam.exp" cc -shared .libs/libgiofam_la-fam-helper.o .libs/libgiofam_la-fam-module.o .libs/libgiofam_la-gfamdirectorymonitor.o .libs/libgiofam_la-gfamfilemonitor.o -Wl,--rpath -Wl,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libintl.so -lgio-2.0 /usr/local/lib/libgobject-2.0.so /usr/local/lib/libglib-2.0.so /usr/local/lib/libfam.so -Wl,-soname -Wl,libgiofam.so -Wl,-retain-symbols-file -Wl,.libs/libgiofam.exp -o .libs/libgiofam.so /usr/bin/ld: cannot find -lgio-2.0 gmake: *** [libgiofam.la] Error 1 *** Error code 2 Stop in /usr/ports/devel/gio-fam-backend. *** Error code 1 Stop in /usr/ports/net/avahi-app. *** Error code 1 Stop in /usr/ports/devel/gnome-vfs. *** Error code 1 Stop in /usr/ports/devel/gnome-vfs. *** Error code 1 Stop in /usr/ports/editors/openoffice.org-2. [root@ /usr/ports/editors/openoffice.org-2]# John Wynstra wrote: I think I should use portsnap. # portsnap fetch # portsnap update # since there already is a /usr/ports subtree John Wynstra wrote: I asked Jonathan Chen what was the easiest way to do this. Was it CSup? Also how do I check for the latest version? The manual indicates pkg_version -v does this, but it does not list all ports and in particular not the ones I am interested in which are in /usr/ports/editors. Is there a way to get these? Does one get all the ports at one shot which might be useful as I don't know where I am going wrong. Or just the one? Jonathan Chen wrote: On Thu, May 15, 2008 at 09:58:22PM -0400, John Wynstra wrote: I cleaned up and reran the make install ... +++ ===> openoffice.org-2.3.1 depends on file: /usr/local/bin/perl5.8.8 - found ===> Patching for openoffice.org-2.3.1 You need to update your ports tree. The current version is 2.4.0_5. Please consult the Handbook on how to keep your ports-tree up to date: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-using.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: 486 Install??
Thanks to all who sent me messages. I think I see where to go, should I need to turn to a FreeBSD. Tom Simpson Mark Busby wrote: Could you do the job with a stripped down system? Like freenas, monowall, nanobsd or tinybsd. All based on the bsd system, and with a little work you can add all the needed ports. Boot from the cd-rom, save config to floppy or usb thumb drive, use all the harddrive for storage. I've been looking into this. If I could just find a boot loader that would give a usb thumb drive boot as an option. */Thomas F Simpson Jr <[EMAIL PROTECTED]>/* wrote: I have a 486 DEEP GREEN system I would like to put some version of FreeBSD on (I have my reasons). I have other inquiries out on this, but if I correctly recall (and that is a real rusty recall at best), the max memory you could get on one of these beasts was 48MB, unless they made some bigger, recognizable, 72-pin modules. I have 8 MB of hard drive space free for a FreeBSD partition and I am actually running an Intel P24T Overdrive for my CPU. All work fine on the DOS 6.2.2 partition I need to run. Would any version of FreeBSD work with just 48MB of RAM? Or do I need to figure out a way to get more RAM on the board, IF POSSIBLE? Thanks. Tom Simpson Omaha, NE [EMAIL PROTECTED] 402.896.1157 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"