Re: gjournal....
* Karl Denninger <[EMAIL PROTECTED]> [080329 20:10] wrote: > Hi folks; > > Wondering about the various pros and cons of using the "gjournal" GEOM > provider... and if you can "promote" and existing system using it, or > whether you need to build something anew. > > The scenario is a fairly busy and large system with PostgreSQL database data > on it. The data is currently on a 2-disk gmirror pair to provide data > safety in the event of a disk failure. > > I am using softupdates right now. > > If I'm reading the docs correctly, I can't put gjournal in use on the > existing filesystem, and need to effectively build a new disk structure then > copy over the data onto it. > > Can you boot from a gjournal'd root? > > Ideas please, pros and cons of the various alternatives, etc. thanks! > If you're using a database then it shouldn't matter what meta data provider you use "all that much" with the exception of temporary tables. Basically, SU and gjournal both provide for meta data consistency, something that a database rarely needs as it rarely creates/deletes files often. -- - Alfred Perlstein ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Missing manual pages (e.g. aio_fsync)
Carlos A. M. dos Santos wrote: Hello, It seems that the manual page of aio_fsync is missing, at least in FreeBSD 7.0-STABLE. I have some questions regarding this: 1. Is there somebody working on a man page for aio_fsync? 2. Is there a list of missing manual pages? 3. What is the current status of POSIX and Unix Specification? Is there any agreement with IEEE or Open Group allowing to cut-and-paste from, say, http://www.opengroup.org/onlinepubs/009695399/functions/aio_fsync.html? The way open source usually works is, it takes longer for someone to write these questions and wait for a response, than it does to just get your sleeves rolled up and run in, guns blazing, and write the man page. Of course then it's easy to waste time doing something someone already did, but that way you get experience doing it, that is after all how open source works. They ain't exactly difficult to write. Doesn't really matter what you do, as long as you do something and I myself do well to remember the How It Works(tm) formula from time to time. I believe there is such an agreement but you need to check with others or use the handy CVSweb commit history(tm) for other pages e.g. clock_gettime to check what you can and cannot lift. cheers BMS ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Texas Instruments Card Reader.
On Sun, Mar 30, 2008 at 3:58 AM, M. Warner Losh <[EMAIL PROTECTED]> wrote: > In message: <[EMAIL PROTECTED]> > Da Rock <[EMAIL PROTECTED]> writes: > : Did anyone end up getting this to work? I'm suffering the same woes... > > Which device is this, specifically? > > Warner It is an SD, MS/Pro, MMC, SM and XD card reader. It is recognized by the Linux "sdhci" driver. There was an email thread some time ago discussing an homonymous driver for FreeBSD: http://lists.freebsd.org/pipermail/freebsd-drivers/2006-September/000243.html http://lists.freebsd.org/pipermail/freebsd-drivers/2006-September/000248.html -- Carlos A. M. dos Santos ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: amd(8) aborting on file server running FBSD 6.3
Lee Damon wrote: > Any help with this would be greatly appreciated. No one has home > directories right now because this is the main homedir server in the lab. I have recently updated by 7.0-PRERELEASE box to 7.0-STABLE and amd(8) has crashed at least twice since then (it was not the case with 7.0-PRE). I am using it only for removable USB devices on my laptop, therefore it is not used all the time. My backtrace shows crash in dlopen() in a similar way yours, but I am not sure whether my debug symbols are right (generated after the crash). Do you have any certain way to reproduce the problem? amd works fine most of the time (although seldom used). --Marcin ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Draugs tev iesaka streetsoul.lv
Sveiciens! Tavs draugs ir pieteicis tevi kļūt par sav�jo sav�jo ne parast� apģ�rbu veikal� www.streetsoul.lv Ja v�l nezini par mums, tad dodies uz interneta veikalu www.streetsoul.lv vai ielas veikalu Rīg�, T�rbatas iel� 85 (http://www.streetsoul.lv/streetstore/). Kļūsti par sav�jo streetsoul.lv veikal�! Izveido savu kontu un sa�em zem�kas cenas k� arī liel�kas atlaides! Lai izveidotu savu kontu, spied vai iekop� p�rlūkprogramm� šo linku: http://www.streetsoul.lv/register/ Turpm�k sav� e-past� redz�si veikala jaun�s preces un zi�as par akcij�m, atlaid�m un cit�m aktivit�t�m, kuras veic streetsoul. Baudi Dzīvi, Ģ�rbies Brīvi !!! :) Streetsoul.lv Ja rodas k�di jaut�jumi, droši sazinies ar mums: [EMAIL PROTECTED] vai pa t�lruni 67 145 100; www.streetsoul.lv P.S. Ja v�lies atteikties no streetsoul zi�u v�stuļu sa�emšanas, tev no sava e-pasta j�nosūta tukša zi�a uz adresi [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gjournal....
On Sun, Mar 30, 2008 at 02:06:17AM -0700, Alfred Perlstein wrote: > * Karl Denninger <[EMAIL PROTECTED]> [080329 20:10] wrote: > > Hi folks; > > > > Wondering about the various pros and cons of using the "gjournal" GEOM > > provider... and if you can "promote" and existing system using it, or > > whether you need to build something anew. > > > > The scenario is a fairly busy and large system with PostgreSQL database data > > on it. The data is currently on a 2-disk gmirror pair to provide data > > safety in the event of a disk failure. > > > > I am using softupdates right now. > > > > If I'm reading the docs correctly, I can't put gjournal in use on the > > existing filesystem, and need to effectively build a new disk structure then > > copy over the data onto it. > > > > Can you boot from a gjournal'd root? > > > > Ideas please, pros and cons of the various alternatives, etc. thanks! > > > > If you're using a database then it shouldn't matter what meta data > provider you use "all that much" with the exception of temporary > tables. > > Basically, SU and gjournal both provide for meta data consistency, > something that a database rarely needs as it rarely creates/deletes > files often. > I'm looking at this more from a performance standpoint. Is there a performance advantage to using gjournal over a "normal" UFS/UFS2 filesystem with softupdates? -- -- Karl Denninger ([EMAIL PROTECTED]) Internet Consultant & Kids Rights Activist http://www.denninger.netMy home on the net - links to everything I do! http://scubaforum.org Your UNCENSORED place to talk about DIVING! http://genesis3.blogspot.comMusings Of A Sentient Mind ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Panic with usb serial
Vince wrote: > Jeremy Chadwick wrote: > Regarding the USB serial adapter, I was supplied it though work a while > back. I believe from my rather fuzzy memory we got it though these guys > http://www.usbnow.co.uk/Cables-USB_to_RS232_Cables/c1_23/index.html > Although I wouldn't swear to it. I'll have an ask if anyone remembers on > monday. Can you post a fragment of dmesg output? I am interested whether you attach it to the ohci or uhci controller. --Marcin ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gjournal....
* Karl Denninger <[EMAIL PROTECTED]> [080330 09:17] wrote: > On Sun, Mar 30, 2008 at 02:06:17AM -0700, Alfred Perlstein wrote: > > > > If you're using a database then it shouldn't matter what meta data > > provider you use "all that much" with the exception of temporary > > tables. > > > > Basically, SU and gjournal both provide for meta data consistency, > > something that a database rarely needs as it rarely creates/deletes > > files often. > > > > I'm looking at this more from a performance standpoint. > > Is there a performance advantage to using gjournal over a "normal" UFS/UFS2 > filesystem with softupdates? I think that SU will be faster, but that's just a semi-educated guess. -- - Alfred Perlstein ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
rl driver error?
I have got system with rl and re cards. This system functiones as gateway, rl - internet re - intranet. Periodically I have ping: sendto: No buffer space available on rl card! on logs I have Mar 30 22:23:02 xxx kernel: rl0: watchdog timeout Mar 30 22:23:32 xxx last message repeated 6 times This could be improved by reboting the system, that very bad, as it network gateway! Some ideas? System FreeBSD 7.0 , compiled from RELENG_7_0_0 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: gjournal....
Karl Denninger wrote: Is there a performance advantage to using gjournal over a "normal" UFS/UFS2 filesystem with softupdates? Short answer - no. Long answer - maybe, in very specific scenarios which are probably not possible in real world usage. For PostgreSQL and similar advanced databases that do their own journaling (WAL), it generally doesn't make sense to add another layer of journaling. signature.asc Description: OpenPGP digital signature
Re: why does my apache-worker broke after upgrade to 6_3_RELEASE?
Anton - Valqk wrote: Hi group, does anyone has idea why the [EMAIL PROTECTED] upgrade to latest 6_3_RELEASE broke my apache-worker?!??? In logs I get: Fatal error 'kse_exit() failed for system scope thread' at line 1215 in file /usr/src/lib/libpthread/thread/thr_kern.c (errno = 22) I don't think it's a suggested behavior? This broke my apache for christ sake!!! Not pretty sure about all other threaded apps. after 10 times I've rebuilded my port from scratch and seeing that it's not a problem with this, I've found a solution: adding in /etc/libmap.conf [httpd] libpthread.so.2 libthr.so.2 libpthread.so libthr.so Since many people (including myself) have upgraded from 6.something to 6.3-RELEASE without problems, it's probably something specific to your own system. Have you tried rebuilding world instead of port? What does `ldd /usr/local/sbin/httpd` say when you remove libmap.conf? Here's what it says on one of my 6.3 systems: > ldd /usr/local/sbin/httpd /usr/local/sbin/httpd: libm.so.4 => /lib/libm.so.4 (0x80068c000) libaprutil-1.so.2 => /usr/local/lib/libaprutil-1.so.2 (0x8007a8000) libexpat.so.6 => /usr/local/lib/libexpat.so.6 (0x8008c) libiconv.so.3 => /usr/local/lib/libiconv.so.3 (0x8009e2000) libapr-1.so.2 => /usr/local/lib/libapr-1.so.2 (0x800bd3000) libcrypt.so.3 => /lib/libcrypt.so.3 (0x800cfa000) libpthread.so.2 => /lib/libpthread.so.2 (0x800e13000) libc.so.6 => /lib/libc.so.6 (0x800f3e000) What is your result? Try `ident /lib/libpthread.so.2`, here's my result (amd64): > ident /lib/libpthread.so.2 /lib/libpthread.so.2: $FreeBSD: src/lib/csu/amd64/crti.S,v 1.7 2004/03/21 01:39:01 peter Exp $ $FreeBSD: src/lib/csu/amd64/crtn.S,v 1.6 2004/03/21 01:39:01 peter Exp $ $FreeBSD: src/lib/libpthread/thread/thr_pselect.c,v 1.5 2003/12/09 02:20:56 davidxu Exp $ $FreeBSD: src/lib/libpthread/thread/thr_connect.c,v 1.2 2003/12/09 23:40:27 deischen Exp $ $FreeBSD: src/lib/libpthread/thread/thr_accept.c,v 1.2 2003/12/09 23:40:27 deischen Exp $ $FreeBSD: src/lib/libpthread/thread/thr_sigaltstack.c,v 1.2 2004/01/02 00:38:42 davidxu Exp $ $FreeBSD: src/lib/libpthread/thread/thr_printf.c,v 1.4 2004/02/10 20:42:33 cperciva Exp $ $FreeBSD: src/lib/libpthread/thread/thr_kern.c,v 1.116.2.1 2006/03/16 23:29:07 deischen Exp $ $FreeBSD: src/lib/libpthread/arch/amd64/amd64/enter_uts.S,v 1.5 2004/07/31 01:53:21 davidxu Exp $ $FreeBSD: src/lib/libpthread/arch/amd64/amd64/context.S,v 1.7.8.1 2006/03/16 23:29:06 deischen Exp $ $FreeBSD: src/lib/libc/gen/sigsetops.c,v 1.8 2002/02/01 00:57:29 obrien Exp $ $FreeBSD: src/lib/libc/string/bcopy.c,v 1.6 2003/10/26 03:55:58 peter Exp $ $FreeBSD: src/lib/libc/string/bzero.c,v 1.2 2002/03/22 21:53:19 obrien Exp $ $FreeBSD: src/lib/libc/string/memset.c,v 1.8 2002/09/01 21:53:46 robert Exp $ $FreeBSD: src/lib/libc/amd64/sys/cerror.S,v 1.14 2005/04/21 12:47:08 kan Exp $ $FreeBSD: src/lib/libc/string/memcpy.c,v 1.2 2002/03/22 21:53:19 obrien Exp $ $FreeBSD: src/lib/libc/string/bcopy.c,v 1.6 2003/10/26 03:55:58 peter Exp $ $FreeBSD: src/lib/libc/string/memset.c,v 1.8 2002/09/01 21:53:46 robert Exp $ $FreeBSD: src/lib/libc/string/strcpy.c,v 1.7 2002/09/06 11:24:06 tjr Exp $ $FreeBSD: src/lib/libc/string/strlen.c,v 1.4 2002/03/21 18:44:54 obrien Exp $ Also, are you sure as to what you upgraded to? Are your kernel and world in sync? KSE was removed from 8-CURRENT so it could be a problem if you somehow got binaries or libraries from 8-CURRENT. anywayz, can anyone answer me plz why did I get to this state? If nothing obvious pops up from the above, you could maybe create an archive of all files ldd says are loaded by httpd so developers can take a look at it. signature.asc Description: OpenPGP digital signature
Azureus + 7-STABLE == Slow download + No Upload
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is anyone running Azureus on 7-STABLE and getting decent performance from it? I just upgraded to 7-STABLE, installed /usr/ports/java/jdk15 (instead of diablo) so that it uses libthr (checked with ldd), and now I'm barely able to get one downloaded, let alone multiple, and almost nothing uploaded ... I've added: "-Djava.net.preferIPv4Stack=true" to /usr/local/bin/azureus, but, from reading the jdk15 makefile, IPv6 is only enabled if/when you do WITH_IPV6, and I don't have that in my make.conf file, therefore this shouldn't affect anything ... I have nothing in my /etc/libmap.conf file ... So, if there a problem, or am I missing something? - -- Marc G. FournierHub.Org Hosting Solutions S.A. (http://www.hub.org) Email . [EMAIL PROTECTED] MSN . [EMAIL PROTECTED] Yahoo . yscrappy Skype: hub.orgICQ . 7615664 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.4 (FreeBSD) iD8DBQFH8Ddc4QvfyHIvDvMRApPKAKCU1c+VVRqKK9mGpbuTnSlL9+i1SwCggocA szQk1lVKoHLT9D2P7uAF7Zw= =q1vl -END PGP SIGNATURE- ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: rl driver error?
On Sun, Mar 30, 2008 at 10:56:18PM +0400, wrote: > I have got system with rl and re cards. This system functiones as gateway, > rl - internet re - > intranet. Periodically I have > ping: sendto: No buffer space available > on rl card! > on logs I have > Mar 30 22:23:02 xxx kernel: rl0: watchdog timeout > Mar 30 22:23:32 xxx last message repeated 6 times > This could be improved by reboting the system, that very bad, as it network > gateway! > Some ideas? > > System FreeBSD 7.0 , compiled from RELENG_7_0_0 Please try attached patch and let me know how it goes. -- Regards, Pyun YongHyeon --- sys/pci/if_rl.c.orig2008-03-03 13:15:08.0 +0900 +++ sys/pci/if_rl.c 2008-03-31 14:16:02.0 +0900 @@ -1117,17 +1117,19 @@ * datasheet makes absolutely no mention of this and * RealTek should be shot for this. */ - if ((uint16_t)(rxstat >> 16) == RL_RXSTAT_UNFINISHED) + total_len = rxstat >> 16; + if (total_len == RL_RXSTAT_UNFINISHED) break; - if (!(rxstat & RL_RXSTAT_RXOK)) { + if (!(rxstat & RL_RXSTAT_RXOK) || + total_len < ETHER_MIN_LEN || + total_len > ETHER_MAX_LEN + ETHER_VLAN_ENCAP_LEN) { ifp->if_ierrors++; rl_init_locked(sc); return; } /* No errors; receive the packet. */ - total_len = rxstat >> 16; rx_bytes += total_len + 4; /* @@ -1244,8 +1246,6 @@ if (RL_LAST_TXMBUF(sc) == NULL) sc->rl_watchdog_timer = 0; - else if (sc->rl_watchdog_timer == 0) - sc->rl_watchdog_timer = 5; } static void @@ -1326,27 +1326,32 @@ goto done_locked; #endif - for (;;) { - status = CSR_READ_2(sc, RL_ISR); + status = CSR_READ_2(sc, RL_ISR); + if (status == 0 || status == 0x || (status & RL_INTRS) == 0) + goto done_locked; + + /* Disable interrupts. */ + CSR_WRITE_2(sc, RL_IMR, 0); + + for (; (status & RL_INTRS) != 0;) { /* If the card has gone away, the read returns 0x. */ if (status == 0x) break; - if (status != 0) - CSR_WRITE_2(sc, RL_ISR, status); - if ((status & RL_INTRS) == 0) - break; - if (status & RL_ISR_RX_OK) + CSR_WRITE_2(sc, RL_ISR, status); + if ((status & (RL_ISR_RX_OK | RL_ISR_RX_ERR)) != 0) rl_rxeof(sc); - if (status & RL_ISR_RX_ERR) - rl_rxeof(sc); - if ((status & RL_ISR_TX_OK) || (status & RL_ISR_TX_ERR)) + if ((status & (RL_ISR_TX_OK | RL_ISR_TX_ERR)) != 0) rl_txeof(sc); if (status & RL_ISR_SYSTEM_ERR) { rl_reset(sc); rl_init_locked(sc); } + status = CSR_READ_2(sc, RL_ISR); } + /* Enable interrupts. */ + CSR_WRITE_2(sc, RL_IMR, RL_INTRS); + if (!IFQ_DRV_IS_EMPTY(&ifp->if_snd)) rl_start_locked(ifp); ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "[EMAIL PROTECTED]"