Re: HEADS UP: inpcb/inpcbinfo rwlocking: coming to a 7-STABLE branch near you

2008-08-06 Thread Robert Watson
On Wed, 6 Aug 2008, Alfred Perlstein wrote: * David G Lawrence <[EMAIL PROTECTED]> [080805 11:37] wrote: The thrust of this change is to replace the mutexes protecting the inpcb and inpcbinfo data structures with read-write locks (rwlocks). These That's really cool and directly affects m

Re: HEADS UP: inpcb/inpcbinfo rwlocking: coming to a 7-STABLE branch near you

2008-08-06 Thread Alfred Perlstein
* David G Lawrence <[EMAIL PROTECTED]> [080805 11:37] wrote: > > The thrust of this change is to replace the mutexes protecting the inpcb > > and inpcbinfo data structures with read-write locks (rwlocks). These > >That's really cool and directly affects my current work project. I'm > develo

Re: FreeBSD 6.3/amd64: ng_ipacct "Depends on kernel" ?? why? when?

2008-08-06 Thread Eugene Kazarinov
> > So, one gets run on the module you want to load & fails (and prints the > message you see). The next one is run and it understands that file type > so loads it. > I understand now. Thank you a lot again. ___ freebsd-stable@freebsd.org mailing list h

Re: FreeBSD 6.3/amd64: ng_ipacct "Depends on kernel" ?? why? when?

2008-08-06 Thread Daniel O'Connor
On Thu, 7 Aug 2008, Daniel O'Connor wrote: > > So, If I dont want to get error response "kernel: kldload: > > /boot/modules/ng_ipacct.ko: Unsupported file type" in > > /var/log/messages then I could remove /boot/modules/ng_ipacct.ko > > and /boot/modules/linker.hints > > last one containes: > > I t

Re: FreeBSD 6.3/amd64: ng_ipacct "Depends on kernel" ?? why? when?

2008-08-06 Thread Daniel O'Connor
On Thu, 7 Aug 2008, Eugene Kazarinov wrote: > By the way I have one more question to port mantainer (dont know who > is this). run 'make maintainer' in the port directory. > So, as I understand all needed modules loading by kernel "by > default"?! And as I understand, module ng_ipacct.ko is not n

Re: FreeBSD 6.3/amd64: ng_ipacct "Depends on kernel" ?? why? when?

2008-08-06 Thread Eugene Kazarinov
> > > # $FreeBSD: ports/net-mgmt/ng_ipacct/Makefile,v 1.9 2008/06/02 > > NO_PACKAGE= "Depends on kernel" > > > > # $FreeBSD: ports/net-mgmt/ng_ipacct/Makefile,v 1.10 2008/08/05 > > IGNORE= "Depends on kernel" > > > > > > > > Should I change IGNORE to NO_PACKAGE and it should works fine

Re: FreeBSD 6.3/amd64: ng_ipacct "Depends on kernel" ?? why? when?

2008-08-06 Thread Daniel O'Connor
On Thu, 7 Aug 2008, Eugene Kazarinov wrote: > Ok > Let's see > > > There is > /usr/ports/net-mgmt/ng_ipacct/Makefile > > "old" version is > # $FreeBSD: ports/net-mgmt/ng_ipacct/Makefile,v 1.9 2008/06/02 > 16:27:40 skv Exp $ > and containts these lines > > .ifndef PACKAGE_BUILDING > NO_PACKAGE=

Re: Swapping boot disks and getting mountroot>

2008-08-06 Thread Joseph Koshy
> I notice that it finds the device ad4 but then it tries to mount root from > /dev/ad6s1a. I've edited the fstab to have it look for ad4s1a but it still > won't boot. Anyone have any pointers or ideas? Have you tried interrupting the boot sequence and setting new values for the `rootdev' and `r

Re: FreeBSD 6.3/amd64: ng_ipacct "Depends on kernel" ?? why? when?

2008-08-06 Thread Eugene Kazarinov
Ok Let's see There is /usr/ports/net-mgmt/ng_ipacct/Makefile "old" version is # $FreeBSD: ports/net-mgmt/ng_ipacct/Makefile,v 1.9 2008/06/02 16:27:40 skv Exp $ and containts these lines .ifndef PACKAGE_BUILDING NO_PACKAGE= "Depends on kernel" .endif last version is # $FreeBSD: ports/net-m

Re: FreeBSD 6.3/amd64: ng_ipacct "Depends on kernel" ?? why? when?

2008-08-06 Thread Eugene Kazarinov
By the way. I use this kernel config since 5.4-stable, then was 6.0, after that 6.2 and on one server is 6.3-PRERELEASE now. It works. My kernel config is > === > include GENERIC > > options IPFIREWALL > options IPFIREWALL_FORWARD > options IPFIREWALL_VERBOSE >

Re: What is cryptosoft0?

2008-08-06 Thread Sam Leffler
Ulrich Spoerlein wrote: Hi, today I discovered the following dmesg line on my laptop: cryptosoft0: on motherboard and I've not seen this one before, so: what is cryptosoft and should I care? I could imagine it's a pseudo-device by crypto(9) so the API is the same whether crypto hardware is i

FreeBSD 6.3/amd64: ng_ipacct "Depends on kernel" ?? why? when?

2008-08-06 Thread Eugene Kazarinov
Hello again. Situation 1 I have installed 6.3-STABLE-200807-amd64-disc1.iso #cd /usr/ports/net-mgmt/ng_ipacct/ #make install clean it's ok. It has installed. (sorry for my english) next Situation 2 I have installed 6.3-STABLE-200807-amd64-disc1.iso csup it to last src tree. csup it to last por

Re: FreeBSD 6.3/amd64: cvsup: Bus error (core dumped)

2008-08-06 Thread Kris Kennaway
Eugene Kazarinov wrote: nice. After posting I think to get a look to manual if it has changed since last time then I look into and tatata... ;) "*Note:* The implementation of *CVSup* protocol included with the FreeBSD system is called *csup*. It first appeared in FreeBSD 6.2." Well, tha

Re: Using Portupgrade?

2008-08-06 Thread Nic Reveles
Thanks for the help. I went ahead and installed portmaster and followed its instructions for deleting all ports and then reinstalling. 1. portmaster -l > ~/installed-port-list 2. Update your ports tree 3. portmaster --clean-distfiles-all 4. portmaster -Faf 5. pkg_delete '*' 6. rm -rf /usr/local/l

Re: cpufreq(4) panic on RELENG_7 (was: Re: Call for bfe(4) testers.)

2008-08-06 Thread John Baldwin
On Wednesday 06 August 2008 04:06:43 pm Ulrich Spoerlein wrote: > On Mon, 04.08.2008 at 16:07:55 -0400, John Baldwin wrote: > > On Monday 04 August 2008 02:29:19 pm Ulrich Spoerlein wrote: > > > Fatal trap 12: page fault while in kernel mode > > > cpuid = 0; apic id = 00 > > > fault virtual address

Re: FreeBSD 6.3/amd64: cvsup: Bus error (core dumped)

2008-08-06 Thread Eugene Kazarinov
nice. After posting I think to get a look to manual if it has changed since last time then I look into and tatata... ;) "*Note:* The implementation of *CVSup* protocol included with the FreeBSD system is called *csup*. It first appeared in FreeBSD 6.2." 2008/8/7 Eugene Kazarinov <[EMAIL P

Re: FreeBSD 6.3/amd64: cvsup: Bus error (core dumped)

2008-08-06 Thread Kris Kennaway
Eugene Kazarinov wrote: Hello. Dont know is this list right for this topic, but dont know witch one is. So I got 6.3-STABLE-200807-amd64-disc1.iso I have installed it cd /usr/ports/net/cvsup-without-gui/ make install make clean #cvsup some-stable-sup-file Connected to cvsup.xx.ru Bus error

FreeBSD 6.3/amd64: cvsup: Bus error (core dumped)

2008-08-06 Thread Eugene Kazarinov
Hello. Dont know is this list right for this topic, but dont know witch one is. So I got 6.3-STABLE-200807-amd64-disc1.iso I have installed it cd /usr/ports/net/cvsup-without-gui/ make install make clean #cvsup some-stable-sup-file Connected to cvsup.xx.ru Bus error (core dumped) I cant get

Teco Industry is in the business of corn, wheat, paddy, and

2008-08-06 Thread TECO DRYER
vegetable dr Sender: "TECO DRYER" <[EMAIL PROTECTED]> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Date: Thu, 7 Aug 2008 00:12:28 +0300 Message-ID: <[EMAIL PROTECTED]> X-Priority: 3 (Normal) Importance: Normal Teco Industry is in the business of

Re: Max size of one swap slice

2008-08-06 Thread Matthew Dillon
: :See : :http://www.freebsd.org/cgi/getmsg.cgi?fetch=540837+0+/usr/local/www/db/text/2008/freebsd-questions/20080706.freebsd-questions : :Kris Hmm. I see an issue that FreeBSD could correct to reduce wired memory use by the swap system. Your sys/blist.h has this: typedef u

cpufreq(4) panic on RELENG_7 (was: Re: Call for bfe(4) testers.)

2008-08-06 Thread Ulrich Spoerlein
On Mon, 04.08.2008 at 16:07:55 -0400, John Baldwin wrote: > On Monday 04 August 2008 02:29:19 pm Ulrich Spoerlein wrote: > > Fatal trap 12: page fault while in kernel mode > > cpuid = 0; apic id = 00 > > fault virtual address = 0x38 > > fault code = supervisor read, page not present

What is cryptosoft0?

2008-08-06 Thread Ulrich Spoerlein
Hi, today I discovered the following dmesg line on my laptop: cryptosoft0: on motherboard and I've not seen this one before, so: what is cryptosoft and should I care? I could imagine it's a pseudo-device by crypto(9) so the API is the same whether crypto hardware is installed or not. Anyway,

Re: Max size of one swap slice

2008-08-06 Thread Kris Kennaway
Lin Jui-Nan Eric wrote: On Wed, Aug 6, 2008 at 12:46 AM, Chuck Swiger <[EMAIL PROTECTED]> wrote: It's hard to conceive of why you'd want to add so much swap space, anyway-- if you've got programs which actually need to deal with 10s of gigabytes worth of data, then they ought to maintain a small

Swapping boot disks and getting mountroot>

2008-08-06 Thread Lisa Besko
I have a system running FBSD 6.2 release (if I remember correctly) that is running on a Sunfire X2100. The disk boots fine there and I seem to be able to move it to other X2100's. The problem is that I need to move it to a Sunfire X2200. When I move it to the X2200 I get a mountroot> prompt

Status of Linuxulator 2.6.16

2008-08-06 Thread Sabeeh Baig
What's the status of Linuxulator 2.6.16? I believe FreeBSD 7 still uses the older 2.4 version and the 2.6.16 support has to be explicitly enabled. I was hoping to check out Flash 9 via ports. Sabeeh Ahmed Baig ___ freebsd-stable@freebsd.org mailing li

Should PCCARDs (as in not CardBus cards) work on RELENG_7?

2008-08-06 Thread Alexandre "Sunny" Kovalenko
For all the odd reasons I needed to use PCCARD device with my RELENG_7 machine. Upon insertion I have got the message "Card has no function" (full message with hw.pcccard.debug=1 and hw.pccard.cis_debug=1 is below). This behaves similarly with two memory card readers, 3CXM556 modem, 802.11b adapt

Re: PPP doesn't set the correct interface in 7-STABLE

2008-08-06 Thread Mike Tancsa
At 10:16 AM 8/6/2008, Andy Dills wrote: I'm trying to setup pptpd to enable VPN connections. This worked well in all versions of FreeBSD prior to 7. I would turf pptpd and look at mpd51 from the ports. It is far, far better maintained and is quite solid as an LNS as well as PPTP termination

Re: PPP doesn't set the correct interface in 7-STABLE

2008-08-06 Thread Andrew D
Andy Dills wrote: I'm trying to setup pptpd to enable VPN connections. This worked well in all versions of FreeBSD prior to 7. Now, however, the interface in the routing table is incorrectly set to that of the ethernet card, rather than the appropriate tun interface. There is a months-old bu

Re: PPP doesn't set the correct interface in 7-STABLE

2008-08-06 Thread Andrew D
Sorry I should add, in the second 'for' it should start with 0 if you're not using the first interface for another vpn (ie openvpn) or connection (ie dsl/dialup). Andy Dills wrote: I'm trying to setup pptpd to enable VPN connections. This worked well in all versions of FreeBSD prior to 7. No

Re: Stuck in geli

2008-08-06 Thread Jeremy Chadwick
On Wed, Aug 06, 2008 at 09:24:20AM -0500, Sean C. Farley wrote: > On Tue, 5 Aug 2008, Jeremy Chadwick wrote: >> After reading my above Wiki page, I hope you consider disabling >> MatrixRAID and avoiding it entirely on FreeBSD. There are patches to >> address major issues which have been sitting un

Re: busybox and small scripting languages on FreeBSD ? (was Re: 80 Mb / enough for 7.x? OK to delete /stand/ and /modules/ ?)

2008-08-06 Thread Alexandre "Sunny" Kovalenko
On Wed, 2008-08-06 at 22:51 +0800, Adrian Chadd wrote: > 2008/8/3 Alexandre Sunny Kovalenko <[EMAIL PROTECTED]>: > > Tcl? > > Are those sizes stripped? No. They are also from Tcl 8.5 and are *much* larger than that of 8.4. Here is statically built, stripped tclsh8.4: # ls -lh tclsh -rwxr-xr-x

Re: busybox and small scripting languages on FreeBSD ? (was Re: 80 Mb / enough for 7.x? OK to delete /stand/ and /modules/ ?)

2008-08-06 Thread Adrian Chadd
2008/8/3 Alexandre Sunny Kovalenko <[EMAIL PROTECTED]>: > Tcl? Are those sizes stripped? Stripped: * lua-5.1 is 134k * liblua.so.1 is 148k * haserl (using liblua) is 79k * lua cgi, lua socket, sqlite3 (dynlinked to libsqlite3.so.8), ltn12, md5, mime - all up, 450k I'm pretty impressed with lua

PPP doesn't set the correct interface in 7-STABLE

2008-08-06 Thread Andy Dills
I'm trying to setup pptpd to enable VPN connections. This worked well in all versions of FreeBSD prior to 7. Now, however, the interface in the routing table is incorrectly set to that of the ethernet card, rather than the appropriate tun interface. There is a months-old bug report detailing t

Re: Stuck in geli

2008-08-06 Thread Sean C. Farley
On Tue, 5 Aug 2008, Jeremy Chadwick wrote: On Tue, Aug 05, 2008 at 10:45:16AM -0500, Sean C. Farley wrote: Rarely, a geli partition I have freezes a process in bufwait state. It occurs after an ATA timeout message: Aug 5 03:47:13 thor kernel: ad10: TIMEOUT - WRITE_DMA retrying (1 retry left)

Re: Stable SATA pci card for FreeBSD 6.x/7.0

2008-08-06 Thread Jeremy Chadwick
On Wed, Aug 06, 2008 at 02:57:48AM -0700, Jeremy Chadwick wrote: > vmstat -i output should help clear that up, or dmesg output. Sebastiaan has included vmstat -i output in another part of this thread, as well as dmesg output for the ATA disks and controllers: atapci0: port 0xd200-0xd207,0xd300-

Re: Stable SATA pci card for FreeBSD 6.x/7.0

2008-08-06 Thread Sebastiaan van Erk
Bummer, I forgot the dmidecode output. Sorry about that. :-( Regards, Sebastiaan Sebastiaan van Erk wrote: Hi, Ok, those rl1: watchdog timeouts didn't ring a bell with me because I'd seen them before; however a quick grep in the logs (which date back to May 25) show no other watchdog timeou

Re: Stable SATA pci card for FreeBSD 6.x/7.0

2008-08-06 Thread Sebastiaan van Erk
Hi, Ok, those rl1: watchdog timeouts didn't ring a bell with me because I'd seen them before; however a quick grep in the logs (which date back to May 25) show no other watchdog timeout matches. To try and avoid being incomplete again, I'll just attach the full dmesg below. Jeremy Chadwick

Re: Stable SATA pci card for FreeBSD 6.x/7.0

2008-08-06 Thread Jeremy Chadwick
On Wed, Aug 06, 2008 at 11:37:16AM +0200, Sebastiaan van Erk wrote: > Yes, good thing you pointed this out, I hadn't seen those yet: > > Aug 5 11:15:05 piglet kernel: rl1: watchdog timeout > Aug 5 11:15:05 piglet kernel: ad6: TIMEOUT - WRITE_DMA retrying (1 retry > left) LBA=218885455 > Aug 5 1

Re: Stable SATA pci card for FreeBSD 6.x/7.0

2008-08-06 Thread Sebastiaan van Erk
Hi, Thanks again for the detailed reply! See the very bottom of my mail. I don't believe the PSU is the problem, after reviewing your SMART statistics. Ok, I'll stick to the one I have then, for now. My other (on-board) SATA controller is a VIA controller; and I've never had any problems

Re: zfs, raidz, spare and jbod

2008-08-06 Thread Claus Guttesen
> I installed FreeBSD 7 a few days ago and upgraded to the latest stable > release using GENERIC kernel. I also added these entries to > /boot/loader.conf: > > vm.kmem_size="1536M" > vm.kmem_size_max="1536M" > vfs.zfs.prefetch_disable=1 > > Initially prefetch was enabled and I would experience hang

Re: Stable SATA pci card for FreeBSD 6.x/7.0

2008-08-06 Thread Sebastiaan van Erk
Hi, Yes, good thing you pointed this out, I hadn't seen those yet: Aug 5 09:52:53 piglet ntpd[860]: kernel time sync enabled 2001 Aug 5 11:15:05 piglet kernel: rl1: watchdog timeout Aug 5 11:15:05 piglet kernel: ad6: TIMEOUT - WRITE_DMA retrying (1 retry left) LBA=218885455 Aug 5 11:15:05 p

Re: DigiBoard Xem with 2 extenal modules

2008-08-06 Thread Gavin Atkinson
On Mon, 2008-08-04 at 13:49 -0300, Alexandre Biancalana wrote: > On 7/4/08, Alexandre Biancalana <[EMAIL PROTECTED]> wrote: > > On 7/4/08, Gavin Atkinson <[EMAIL PROTECTED]> wrote: > > > It's not a solution, but it may well be a great help in diagnosing where > > > the problem lies: it would b

Fatal trap 12/TIMEOUT - READ_DMA (was Re: Stuck in geli)

2008-08-06 Thread Wayne Sierke
On Tue, 2008-08-05 at 20:30 -0700, Jeremy Chadwick wrote: > This looks like the issue I've been tracking for months now. I'm sorry > the document isn't complete; it's an issue of time... > > http://wiki.freebsd.org/JeremyChadwick/ATA_issues_and_troubleshooting > My experiences with disk timeout

Re: Stable SATA pci card for FreeBSD 6.x/7.0

2008-08-06 Thread Jonathan Groll
On Tue, Aug 05, 2008 at 12:28:40PM +0200, Sebastiaan van Erk wrote: > Hi, > > I'm running FreeBSD 6.3 (I know, I should upgrade), and I just bought an > add-on pci SATA controller for 2 extra SATA disks. > > However, a lot of disk activity on the drives will often cause the > machine to crash a

Re: Max size of one swap slice

2008-08-06 Thread Lin Jui-Nan Eric
On Wed, Aug 6, 2008 at 12:46 AM, Chuck Swiger <[EMAIL PROTECTED]> wrote: > It's hard to conceive of why you'd want to add so much swap space, anyway-- > if you've got programs which actually need to deal with 10s of gigabytes > worth of data, then they ought to maintain a smaller/reasonable-sized >

Re: Query timeouts on FreeBSD 7 over network

2008-08-06 Thread Sebastian Tymków
Hi, I've got similar problem on FreeBSD 6.2 stable. I upgraded bind from 9.4 to 9.5 but it didn't help. Machine has load on level 30-45% CPU and 80%-130% WCPU. Similar machine with FreeBSD 4.x works fine with the same bind version. Best regards, Sebastian Tymkow