databases/php5-odbc vs. libiodbc
Currently the databases/php5-odbc PHP extension is hardcoded to be compiled with unixODBC backend, so the users that have libiodbc installed (as a dependency of kde4 ports, for ex.) can't installed the first 'cause those two ODBC ports conflict with each other. The php-odbc configure script however says (./configure --help) it can be compiled with iODBC support (--with-iodbc=/usr/local), but for some reason simply replacing the configure script arguments for the port (with libiodbc installed from ports) result in nothing being done: the configure script creates the Makefile with empty target, so nothing is built actually. Did anyone have success before with building php5-odbc lniked to iodbc backend? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Writing to ntfs partitions?
try using sysutils/ntfsprogs (as standalone utils set or via sysutils/fusefs-(kmod|libs) if you have 6.0+). ntfs kernel module really doesn't write anything, ntfsprogs also has limitations (man for details) but they're better than nothing -- Regards, Mirya ICQ #313898202 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
opening both tty cua for uplcom(4)
Hello, i'm trying to implement a callback scheme for COM modem via uplcom(4) connector (should be any ucom(4)). I do the same i did for direct COM and Lucent winmodem: 1) calling out (ppp communicates via /dev/cuaX) 2) starting getty on /dev/ttyX 3) it accepts incoming call and starts a script which itself starts ppp -direct on /dev/cuaX That worked fine with cuaa? and cual? (Lucent winmodem devices), but it seems that cuaU?/ttyU? can't be opened the same time, e.g. I've got a kernel message from ucom(4) about IN_USE error on step 3). So is that a bug or am i doing something wrong? -- Regards, Mirya ICQ #313898202 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: midnight commander and ssh sftp
Is there some way to be able to use midnight commander through a SSH tunnel? 1) Use scp/sftp: it's called Shell link... is mc menu (the problem is Password: prompt is displayed somewhere on the mc command line as it seems to be unable to parse it for some reason. So when see it, simply enter the password there refresh the mc panels w/ C-O,C-O) 2) More general solution: if u run 6.0 use sysutils/fusefs-sshfs (http://www.freebsd.org/cgi/cvsweb.cgi/ports/sysutils/fusefs-sshfs/), it provides an scp/sftp link within filesystem layer, so you can use it not only from mc but from any app. The problem it seems to be much slower than plain scp (though uses the same transport), dunno why -- Regards, Mirya ICQ #313898202 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
flash (*.swf)
The problem is to watch macromedia flash movie from FreeBSD box. Some wariants I've tried: 1) GPL flash - works 50/50, sound is broken 2) Wine + macromedia standalone flash player - mostly works, something wrong w/ timing for some movies 3) linuxpluginwrapper + linux-flashplugin6 + (opera|firefox|mozilla) - problem (see below) 4) linuxbase + linux-flashplugin7 + linux-(opera|firefox|mozilla) - same problem (see below) For 3 and 4 as far as the browser (any of firefox,mozila,opera for any of freebsd,linux-compat) starts the macromedia plugin i'm receiving error messages below, firefoxmozilla even coredump after that. firefox says: The program 'Gecko' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 114 error_code 8 request_code 72 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) Opera continues to run but similar messages are found in terminal: motifwrapper: X Error: BadMatch (invalid parameter attributes) motifwrapper: X Error: serial=0x106, request=0x91, request_minor=0x3, resource=0x0 motifwrapper: X Error: BadMatch (invalid parameter attributes) motifwrapper: X Error: serial=0x109, request=0x91, request_minor=0x3, resource=0x3400016 motifwrapper: X Error: BadMatch (invalid parameter attributes) motifwrapper: X Error: serial=0x10c, request=0x91, request_minor=0x3, resource=0x3400016 motifwrapper: X Error: BadMatch (invalid parameter attributes) motifwrapper: X Error: serial=0x113, request=0x91, request_minor=0x3, resource=0x3400016 motifwrapper: X Error: BadMatch (invalid parameter attributes) motifwrapper: X Error: serial=0x116, request=0x91, request_minor=0x3, resource=0x3400016 motifwrapper: X Error: BadMatch (invalid parameter attributes) motifwrapper: X Error: serial=0x119, request=0x91, request_minor=0x3, resource=0x3400016 motifwrapper: X Error: BadMatch (invalid parameter attributes) motifwrapper: X Error: serial=0x11c, request=0x91, request_minor=0x3, resource=0x3400016 motifwrapper: X Error: BadMatch (invalid parameter attributes) motifwrapper: X Error: serial=0x11f, request=0x91, request_minor=0x3, resource=0x3400016 motifwrapper: X Error: BadMatch (invalid parameter attributes) motifwrapper: X Error: serial=0x122, request=0x91, request_minor=0x3, resource=0x3400016 motifwrapper: X Error: BadMatch (invalid parameter attributes) motifwrapper: X Error: serial=0x125, request=0x91, request_minor=0x3, resource=0x3400016 motifwrapper: X Error: BadMatch (invalid parameter attributes) motifwrapper: X Error: serial=0x128, request=0x91, request_minor=0x3, resource=0x3400016 Waiting for someone to help me dealing w/ that. More about the box: = $ X -version = X Window System Version 6.8.2 Release Date: 9 February 2005 X Protocol Version 11, Revision 0, Release 6.8.2 Build Operating System: FreeBSD 6.0 i386 [ELF] Current Operating System: FreeBSD foobar.local 6.0-RELEASE FreeBSD 6.0-RELEASE #2: Wed Nov 2 20:32:27 EET 2005 [EMAIL PROTECTED]:/usr/src/sys/i386/compile/FOOBAR i386 Build Date: 28 August 2005 Before reporting problems, check http://wiki.X.Org to make sure that you have the latest version. Module Loader present = here comes xorg.conf: = Section Module Loaddbe Loadtype1 Loadspeedo Loadfreetype Load glx Load dri EndSection Section Extensions Option Composite Enable EndSection Section Files RgbPath /usr/X11R6/lib/X11/rgb FontPath /usr/X11R6/lib/X11/fonts/TTF/ FontPath /usr/X11R6/lib/X11/fonts/TTF2/ FontPath /usr/X11R6/lib/X11/fonts/URW-TTF/ FontPath /usr/local/OpenOffice.org1.1.5/share/fonts/truetype/ FontPath /usr/X11R6/lib/X11/fonts/koi8-u-gemini/ FontPath /usr/X11R6/lib/X11/fonts/cyr-rfx-koi8-o/ FontPath /usr/X11R6/lib/X11/fonts/cyrillic/ FontPath /usr/X11R6/lib/X11/fonts/URW/ FontPath /usr/X11R6/lib/X11/fonts/dejavu/ FontPath /usr/X11R6/lib/X11/fonts/local/ FontPath /usr/X11R6/lib/X11/fonts/misc/ FontPath /usr/X11R6/lib/X11/fonts/mozilla/ FontPath /usr/X11R6/lib/X11/fonts/75dpi-unicode/:unscaled FontPath /usr/X11R6/lib/X11/fonts/75dpi/:unscaled FontPath /usr/X11R6/lib/X11/fonts/100dpi/:unscaled FontPath /usr/X11R6/lib/X11/fonts/Speedo/ FontPath /usr/local/share/ghostscript/fonts/ FontPath /usr/local/share/fonts/ FontPath /usr/local/share/fonts/amspsfonts/ FontPath /usr/local/share/fonts/cmpsfonts/ FontPath /usr/X11R6/lib/X11/fonts/Type1/ FontPath /usr/X11R6/lib/X11/fonts/75dpi/
6.0 at Compaq Presario 3000: pagefault
I'm trying to run 6.0 at specified laptop model but get in the fact both installation cds (e.g. GENERIC kernels) of 5.1 and 6.0 BETA5 pagefaults after ohci0 identification: ochi0: SiS 5571 USB controller mem 0xf4002000-0xf4002fff at device 3.0 on pci0 Fatal trap 12: page fault while in kernel mode fault virtual address = 0xe6ab2 fault code = supervisor read, page not present instruction pointer = 0x20:0xc00e89a5 stack pointer = 0x28:0xc10209e4 frame pointer = 0x28:0xc10209e4 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 = 0 (swapper) trap number = 12 panic: page fault Uptime: 1s I'm looking for someone had successfuly run FreeBSD in it to share his/her experience with me. The 2nd problme is BIOS is of limited functionality - there's no way to change anything there except for boot order CMOS date. Btw, I can't get why PF is found in swapper (see current process), if i get it right no swapping at that stage of booting -- Regards, Mirya ICQ #313898202 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
X.org/i845 refuses to set an resolution ex. default
Got a problem while setting up a new freebsd box. Got similar configuration in linux box running nearby w/o problems. Here it is (an extract, full attached): Section Module Loaddbe Loadtype1 Loadspeedo Loadfreetype Load glx Load dri EndSection Section Extensions Option Composite Enable EndSection Section Device Identifier Primary Card VendorName Unknown BoardName Intel 845 Driver i810 EndSection Section Screen Identifier Primary Screen Device Primary Card Monitor Primary Monitor DefaultDepth 16 Subsection Display Depth 8 Modes 1280x1024 1152x864 1024x768 800x600 720x576 720x480 640x480 640x400 512x384 480x300 400x300 320x240 320x200 ViewPort0 0 Virtual 0 0 EndSubsection Subsection Display Depth 16 Modes 1280x1024 1152x864 1024x768 800x600 720x576 720x480 640x480 640x400 512x384 480x300 400x300 320x240 320x200 ViewPort0 0 Virtual 0 0 EndSubsection Subsection Display Depth 24 Modes 1024x768 800x600 720x576 720x480 640x480 640x400 512x384 480x300 400x300 320x240 320x200 ViewPort0 0 Virtual 0 0 EndSubsection EndSection And here comes the X.org log (extract): [ ... some more useful modes ... ] Mode: 58 (1280x1024) ModeAttributes: 0x9a WinAAttributes: 0x7 WinBAttributes: 0x0 WinGranularity: 64 WinSize: 64 WinASegment: 0xa000 WinBSegment: 0x0 WinFuncPtr: 0xc0005b77 BytesPerScanline: 5120 XResolution: 1280 YResolution: 1024 XCharSize: 8 YCharSize: 16 NumberOfPlanes: 1 BitsPerPixel: 32 NumberOfBanks: 1 MemoryModel: 6 BankSize: 0 NumberOfImages: 0 RedMaskSize: 8 RedFieldPosition: 16 GreenMaskSize: 8 GreenFieldPosition: 8 BlueMaskSize: 8 BlueFieldPosition: 0 RsvdMaskSize: 8 RsvdFieldPosition: 24 DirectColorModeInfo: 0 PhysBasePtr: 0xf000 LinBytesPerScanLine: 5120 BnkNumberOfImagePages: 0 LinNumberOfImagePages: 0 LinRedMaskSize: 8 LinRedFieldPosition: 16 LinGreenMaskSize: 8 LinGreenFieldPosition: 8 LinBlueMaskSize: 8 LinBlueFieldPosition: 0 LinRsvdMaskSize: 8 LinRsvdFieldPosition: 24 MaxPixelClock: 23000 Mode: 5a (1600x1200) ModeAttributes: 0x9a WinAAttributes: 0x7 WinBAttributes: 0x0 WinGranularity: 64 WinSize: 64 WinASegment: 0xa000 WinBSegment: 0x0 WinFuncPtr: 0xc0005b77 BytesPerScanline: 6400 XResolution: 1600 YResolution: 1200 XCharSize: 8 YCharSize: 16 NumberOfPlanes: 1 BitsPerPixel: 32 NumberOfBanks: 1 MemoryModel: 6 BankSize: 0 NumberOfImages: 0 RedMaskSize: 8 RedFieldPosition: 16 GreenMaskSize: 8 GreenFieldPosition: 8 BlueMaskSize: 8 BlueFieldPosition: 0 RsvdMaskSize: 8 RsvdFieldPosition: 24 DirectColorModeInfo: 0 PhysBasePtr: 0xf000 LinBytesPerScanLine: 6400 BnkNumberOfImagePages: 0 LinNumberOfImagePages: 0 LinRedMaskSize: 8 LinRedFieldPosition: 16 LinGreenMaskSize: 8 LinGreenFieldPosition: 8 LinBlueMaskSize: 8 LinBlueFieldPosition: 0 LinRsvdMaskSize: 8 LinRsvdFieldPosition: 24 MaxPixelClock: 23000 Mode: 5c (1920x1440) ModeAttributes: 0x9a WinAAttributes: 0x7 WinBAttributes: 0x0 WinGranularity: 64 WinSize: 64 WinASegment: 0xa000 WinBSegment: 0x0 WinFuncPtr: 0xc0005b77 BytesPerScanline: 7680 XResolution: 1920 YResolution: 1440 XCharSize: 8 YCharSize: 16 NumberOfPlanes: 1 BitsPerPixel: 32 NumberOfBanks: 1 MemoryModel: 6 BankSize: 0 NumberOfImages: 0 RedMaskSize: 8 RedFieldPosition: 16 GreenMaskSize: 8 GreenFieldPosition: 8 BlueMaskSize: 8 BlueFieldPosition: 0 RsvdMaskSize: 8 RsvdFieldPosition: 24 DirectColorModeInfo: 0 PhysBasePtr: 0xf000 LinBytesPerScanLine: 7680 BnkNumberOfImagePages: 0 LinNumberOfImagePages: 0 LinRedMaskSize: 8 LinRedFieldPosition: 16 LinGreenMaskSize: 8 LinGreenFieldPosition: 8 LinBlueMaskSize: 8 LinBlueFieldPosition: 0 LinRsvdMaskSize: 8 LinRsvdFieldPosition: 24 MaxPixelClock: 23000 (II) I810(0): Primary Monitor: Using hsync range of 30.00-85.00 kHz (II) I810(0): Primary Monitor: Using
Re: ruby18 build err
Got the same problem as this (from archives): Mon Apr 11, Gary Kline kline at tao.thought.org wrote: I need some insight here. The following [BUG] with ./lib/mkmf.rb is causing the latest ruby18 to not build; I think this causes the latest gnome_update script to fault. Does anybody know why mkmf.rb is segv'ing here and how to resolve this problem? -- Gary Kline kline at thought.org www.thought.org Public service Unix [snip] cc -O2 -pipe -fschedule-insns2 -fomit-frame-pointer -funroll-loops-fPIC -I. -I. -c dmyext.c ar rcu libruby18-static.a array.o bignum.o class.o compar.o dir.o dln.o enum.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o dmyext.o cc -O2 -pipe -fschedule-insns2 -fomit-frame-pointer -funroll-loops-fPIC -I. -I. -c main.c cc -O2 -pipe -fschedule-insns2 -fomit-frame-pointer -funroll-loops-fPIC -rpath=/usr/local/lib -rdynamic main.o dmyext.o libruby18-static.a -lcrypt -lm -pthread -o miniruby cc -shared -Wl,-soname,libruby18.so.18 array.o bignum.o class.o compar.o dir.o dln.o enum.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o dmyext.o -lcrypt -lm -pthread -o libruby18.so.18 ./lib/mkmf.rb:314: [BUG] Segmentation fault ruby 1.8.2 (2004-12-25) [i386-freebsd5] Abort trap (core dumped) *** Error code 134 If someone has any information about solving it, plz reply ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
broken threads in qt33
Need an expert view on the problem: 1) got 5.3 w/ qt33 from ports working ok 2) moving to 5.4 - all threaded qt apps start producing Mutex init failure (src/tools/qmutex_unix.cpp in qt33 srcs) on initialization aborting 3) ok, recompiled the port - the apps are strarting ok, but fail on run for different reason: a) most of 'em (e.g. KDE games, kmail) abort w/ message: Fatal error 'Recurse on a private mutex.' at line 988 in file /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 0) Abort trap (core dumped) b)`gwenview` produces endless flow of Wait condition wait failure: Invalid argument messages when trying to scroll its directory listing when it creates thumbnails c) `uic` just hangs up somewhere in endless waiting eating up all the CPU time (no messages) I've made a simple dump of what `kgoldrunner` does w/ 'em see it calling: - QRealMutexPrivate::QRealMutexPrivate(true) // creates recursive mutex - then two locks on that mutex - assert in pthread.so - as you can see from the sources the assertion is rased when mutex has MUTEX_FLAGS_PRIVATE flag set - the problem is that flag seems to be never set in qt sources qt33 is compiled WITH_KDE_PATCHES, but that seems not to be the reason :). Here's .qmake.cache created after configuration stage: CONFIG += nocrosscompiler dlopen_opengl minimal-config small-config medium-config large-config full-config styles tools kernel widgets dialogs iconview workspace net work canvas table xml opengl sql release dll thread largefile stl ipv6 system-mng mng system-jpeg jpeg system-png png gif system-zlib cups nas bigcodecs x11sm xshape xinerama xcursor xrandr xrender xftfreetype tablet xkb dylib create_prl link_prl QMAKESPEC = /usr/local/share/qt/mkspecs/freebsd-g++ QT_SOURCE_TREE = /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.4 QT_BUILD_TREE = /usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.4 QMAKE_ABSOLUTE_SOURCE_ROOT = $$QT_SOURCE_TREE QT_PRODUCT=qt-free styles += windows motif mac platinum sgi cde motifplus kbd-drivers += tty mouse-drivers += pc QMAKE_MOC=/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.4/bin/moc QMAKE_UIC=/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.4/bin/uic -L $$QT_BUILD_TREE/plugins QMAKE_QMAKE=/usr/local/bin/qmake QMAKE_MOC_SRC=/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.4/src/moc INCLUDEPATH+=/usr/local/include/freetype2 QMAKE_LIBS_X11=-lXft -lfreetype -lfontconfig $$QMAKE_LIBS_X11 QMAKE_INCDIR_QT=/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.4/include QMAKE_LIBDIR_QT=/usr/ports/x11-toolkits/qt33/work/qt-x11-free-3.3.4/lib QMAKE_RTLDIR_QT=/usr/X11R6/lib OBJECTS_DIR=.obj/release-shared-mt MOC_DIR=.moc/release-shared-mt QMAKE_LIBS_QT+=-lmng QMAKE_LIBS_QT_THREAD+=-lmng QMAKE_LIBS_QT+=-ljpeg QMAKE_LIBS_QT_THREAD+=-ljpeg QMAKE_LIBS_QT+=-lpng QMAKE_LIBS_QT_THREAD+=-lpng QMAKE_LIBS_QT+=-lz QMAKE_LIBS_QT_THREAD+=-lz QMAKE_LIBS_X11 = -lXinerama $$QMAKE_LIBS_X11 QMAKE_LIBS_X11 = -lXcursor $$QMAKE_LIBS_X11 QMAKE_LIBS_X11 = -lXrandr $$QMAKE_LIBS_X11 QMAKE_LIBS_X11 = -lXrender $$QMAKE_LIBS_X11 QMAKE_LIBS_X11 = -lXi $$QMAKE_LIBS_X11 QMAKE_LIBDIR_FLAGS+= -L/usr/local/lib INCPATH+=/usr/local/include QT_INSTALL_PREFIX=/usr/X11R6 docs.path=/usr/X11R6/share/doc/qt headers.path=/usr/X11R6/include plugins.path=/usr/X11R6/lib/plugins libs.path=/usr/X11R6/lib bins.path=/usr/X11R6/bin data.path=/usr/X11R6/share/qt translations.path=/usr/X11R6/translations QMAKE_CFLAGS+=-fno-exceptions QMAKE_CXXFLAGS+=-fno-exceptions QMAKE_LFLAGS+=-fno-exceptions /etc/make.conf contains: WITH_DEBUG=no WITH_DROPSHADOW=yes CFLAGS=-O2 -pipe -march=pentium2 COPTFLAGS=-O2 -pipe -march=pentium2 NO_CPU_CFLAGS=true NO_COPT_CFLAGS=true /etc/libmap.conf is: libc_r.so.5 libpthread.so.1 libc_r.so libpthread.so If need more info, more experiment results, reply ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
qt33 threading issue after 5.3-5.4
Having qt33 installed from recent ports working failless I've got upgraded 5.3 base to 5.4. After that all threaded qt applications (`kmail`, `uic`, `gwenview`, etc.) fail to start saying: Mutex init failed Plz, give any ideas about fixing it - 'cause I'm totally confused about the reason of the issue - if neither pthread API nor its internal logics has changed between 5.3 5.4 what makes it fail? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
KSE headache: Spinlock called when not threaded
I found out some apps recompiled with KSE libpthread (not from ports, just by myself from original sources) are terminated with this message while worked fine for libc_r; here's the source (lib/libpthread/thr_spinlock.c): void _spinlock(spinlock_t *lck) { struct spinlock_extra *extra; if (!__isthreaded) PANIC(Spinlock called when not threaded.); if (!initialized) PANIC(Spinlocks not initialized.); /* * Try to grab the lock and loop if another thread grabs * it before we do. */ if (lck-fname == NULL) init_spinlock(lck); extra = (struct spinlock_extra *)lck-fname; pthread_mutex_lock(extra-lock); } Removing the 1st check works for most apps, but some of 'em (xmms is the one) hang up there; can anyone tell me what can be wrong there? -- Regards, Mirya ICQ #313898202 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
current wine support for 5.x?
The question to developers: 5.3 is out, but are there plans to make recent wine run on it (AFAIK the main problem is mmap() issue discovered in June release...)? -- Regards, Mirya ICQ #313898202 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Where to send binary packages bugs?
Where to send the bugs (e.g. porters faults, not authors) in binary packages? [EMAIL PROTECTED] seems to be source-ports only maillist. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Viewing *.chm files
Can anybody point me to an application capable to view such files (or extract them into HTMLs)? For those asking what I'm talking about: *.chm is a MSWindows format to keep a set of HTMLs related info (content tree, index) in one compressed package. The Microsoft's util dealing with this format (`hh.exe`) uses MSIExplorer interface to display the chapters, but the problem I face is I can't make the last one work (using `wine`). A great shelf of MSWindows-related (not only) docs is in this format (MSDN lib is an example). The solution is an extractor (rendering the index content tree into 2 HTMLs would be nice feature) or alternative chm-browser based on other browsers (Mozilla, Konqueror, Opera, Galeon, etc.) ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.2.1 FTP install over ISDN com-port ppp
Just switch IPv6 off. I've got such problem when establishing callback dialup connection. Better idea is not to spend your money for low-speed modem connection but buy a distribution CD set. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
2-machines IP network through user-ppp
Can anybody help to configure user(!)-ppp to make such an IP network. E.g. I need the next: 0) I'm not connected to any network 1) somebody calls me, I run ppp (not pppd) (in any way, I use getty) 2) he must log in through PAP with predefined login-password 3) I do !dynamically! assign him IP 10.0.0.2 4) now I need him to see me as 10.0.0.1 back I see him as 10.0.0.2 - so how to make ppp do such NAT? man says it can. If someone can send me such ppp.conf entry template? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
How to optimize UFS/FFS blocks structure
Where're utils to optimize UFS/FFS storage (a.k.a. defragmentation)? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why does `df` lie about free space (it doesn't)
Using tunefs -m. You need to be really careful doing this, and read the man page for tunefs again, particularly the warning about how lowering this number can trash your filesystem's performance. I don't want that, I need to allow using preserved 8% of disk space to a little group of non-root users (for ex. postgres rootty, my unprivileged user), but noone more. How do I do this? PS. You keep on appearing to confuse the notion of free data blocks with free inodes. They're not the same thing: they are two distinct resources and your filesystem can run out of either pretty much independently. inode(5) descrbes inodes as a table of block addresses kinda FAT but with variable block sizes inodes point to. That is. -- - . http://www.ukrpost.net/ IMAP POP3 NNTP RSSNews Unicode. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Why does `df` lie about free space
Thanks, thats what I want. So that means nobody but root can write to that preserved (with `tunefs -m`) space? How can I allow more users to do that? (my mail server crashed on friday, so I didn't receive freebsd digest about this) -- - . http://www.ukrpost.net/ IMAP POP3 NNTP RSSNews Unicode. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Why .tgz packages for 4.x
Don't you know why 4.x packages're distributed tar gzipped for 4.x? pkg_(?:add|update) understands both .tgz/.tbz but the last saves ~20% of my time money while downloading from mirror -- - . http://www.ukrpost.net/ IMAP POP3 NNTP RSSNews Unicode. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Why does `df` lie about free space
That's an old problem, but yesterday I was working with 1.4G UFS2-slice reported by `df` to have 400kb of free space. Alternative calculations (e.g. writing a random file until kernel says no inode's free) give a result of more that 100M (!) unused. Thats about 7% of the whole size! So whats wrong with `df`? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
free DB designer
Does anyone know a freeware database designer (e.g. capable to create nice ir-models) for at least MySQL? Visual SQL Designer can be a good commercial example. Bets regards, Kyryll Mirnenko [EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
parted-like partitions editor for UFS
Is there a Partition Magic (or parted)-like FreeBSD port capable to handle UFS (1,2) partitions FFS slices within it (e.g. moving, resizing merging)? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
using hyperterminal
How is `tip` related to well-known windows' hyperterminal? E.g. can I use hyperterm-to-tip style connection? If they're using different protocols, is there a BSD hyperterminal version? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Where to find e2fsck?
There's very stupid problem when using EXT2[3]FS partitions read-write on FreeBSD that after power failure you have nothing to check it (e.g. apropriate fsck) and can't use it rw any more (I've no linux on my machine for a year, the partition is one left from it's installation) - kernel denies it's mounting rw till it's CLEAR falg is set. So, where to find e2fsck for FreeBSD? One more question: kernel comments're saying ext2fs support is not updated frequently. Is there an alternative ext2fs (and better ext3fs) 3rd party support for FreeBSD? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Partition Magic-like UFS drives manager
I really need UFS / FFS (internal slices) manager able to move merge both BIOS UFS partitions slices inside it. Does anyone know such tool? ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
RE: ISP dialing with callback - def. route problems
Thanks to JJB, callback is set up, e.g. ISP calls back modems answers the call. The most stupid bug was in /etc/ttys: ttyl0 /usr/libexec/getty callback1 dialup on (instead of ttyd0 - for Lucent winmodem driver). Now I've got more sophisticated callback problem. Saying again, when calling directly no such problem exists, as for callback - Windows client ppp seems not to produce any problems, so that's not ISP bugs: [!!!] PPP fails to add default route, e.g. I can see his DNS (gethostbyname(),...) the whole local network (for ex., his HTTP server), but can't reach further. # route get says can't open roure socket, and here's the part of ppp.log (bugs're marked with [HERE!!!] --): tun0: Command: incoming: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 tun0: Command: incoming: add default HISADDR tun0: Command: incoming: set authname MYLOGIN tun0: Command: incoming: set authkey tun0: Command: incoming: set logout ATS0=0 OK ATW OK tun0: Phase: PPP Started (direct mode). tun0: Phase: bundle: Establish tun0: Phase: deflink: closed - opening tun0: Phase: deflink: Connected! tun0: Phase: deflink: opening - carrier tun0: Phase: deflink: /dev/ttyl0: CD detected tun0: Phase: deflink: carrier - lcp tun0: Phase: bundle: Authenticate tun0: Phase: deflink: his = PAP, mine = none tun0: Phase: Pap Output: MYLOGIN tun0: Phase: Pap Input: SUCCESS () tun0: Phase: deflink: lcp - open tun0: Phase: bundle: Network [HERE!!!] -- tun0: Phase: deflink: IPV6CP protocol reject closes IPV6CP ! [HERE!!!] -- tun0: Warning: ff02:4::/32: Change route failed: errno: Network is unreachable Can anybody deal with this? Here's incoming ppp.conf setup: default: set log phase tun chat cbcp command pap ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cual0 set speed 38400 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \\ AT OK-AT-OK ATS0=1 OK ATW OK ATE1Q0 OK \\dATDP\\T TIMEOUT 80 CONNECT set timeout 180# 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) enable vjcomp deflate deflate24 protocomp pred1 accept vjcomp deflate deflate24 protocomp pred1 set urgent udp +53 incoming: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 add default HISADDR set authname MYLOGIN set authkey MYPASSWORD ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ISP dialing with callback
This topic seems to be an elder one, but nobody around couldn't help me. I need to setup ppp (user) to dial to my callback-ISP. Here're useful info: 1). IPS uses PAP authentification. 2). Phone number negotiation is unsupported, I need to send it. When using Windows ppp-dialer (really buggy), everything is OK, so that's not ISP problem. Direct connection authentification goes right, but no incoming call after that. I browsed my logs only strange thing I found is there was no phone number I should send (at least in the readable part, not in the packages sent). Here're my configs (truncated with dummy logins passwords :) - the provider entry is sitel: [ /etc/ppp/ppp.conf ] default: set log phase tun chat cbcp command pap ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cual0 set speed 38400 set dial ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \\ AT OK-AT-OK ATE1Q0 OK \\dATDP\\T TIMEOUT 80 CONNECT set timeout 180# 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) enable vjcomp deflate deflate24 protocomp pred1 accept vjcomp deflate deflate24 protocomp pred1 set urgent udp +53 sitel: set phone 2053203 set authname CALLER set authkey MYPASSWORD set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 add default HISADDR set callback auth cbcp E.164 6661313 set cbcp 6661313 incoming: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.255 set authname CALLER set authkey MYPASSWORD [ /etc/ppp/ppp.secret ] CALLER MYPASSWORD * * 6661313 [ /etc/ttys ] console noneunknown off secure # ttyv0 /usr/libexec/getty Pc cons25u on secure # Virtual terminals ttyv1 /usr/libexec/getty Pc cons25u on secure ttyv2 /usr/libexec/getty Pc cons25u on secure ttyv3 /usr/libexec/getty Pc cons25u on secure ttyv4 /usr/libexec/getty Pc cons25u off secure ttyv5 /usr/libexec/getty Pc cons25u off secure ttyv6 /usr/libexec/getty Pc cons25u off secure ttyv7 /usr/libexec/getty Pc cons25u off secure ttyv8 /usr/X11R6/bin/xdm -nodaemon xtermu off secure # ttyd0 /usr/libexec/getty callback1 dialup on # AND SO ON... [ /etc/gettytab ] default:\ :cb:ce:ck:lc:fd#1000:im=\r\n%s/%m (%h) (%t)\r\n\r\n:sp#1200:\ :if=/etc/issue: # my callback account callback1|38400-baud:\ :np:sp#38400:pp=/etc/ppp/callback.ppp: # AND OTHERS... [ /etc/ppp/callback.ppp ] #!/bin/sh echo !!! Incoming call. Use kill -TERM $$ to kill it... | wall -g wheel exec /usr/sbin/ppp -direct incoming That's all. If have a solution or any experience in setting-up user-ppp callback, reply (workable configs won't be out of place). ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Compiling Linux sources
Does anuyone know how to build linuxsources into linux binaries under FreeBSD (to run them under compat-linux) -- - . http://www.ukrpost.net/ IMAP POP3 NNTP RSSNews Unicode. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: phpMyAdmin not loading MySQL extensions
Hi Tweax, That's not PHPMyAdmin's problem, your PHP can't find dynamic module (and phpMyAdmin seems to dl() PHP's mysql extension). If you've find mysql.so (if have something like mysql.so.4, just link it to mysql.so to make PHP happy: ln -s mysql.so.4 mysql.so ), try to put it into dynamic modules database: ldconfig -m /path/to/mysql/module (often ldconfig -m /usr/local/mysql/lib). Note this directory should be owned by root (chown root:wheel /usr/local/mysql/lib). To do it at boottime, make *.sh script in /usr/local/etc/rc.d put ldconfig... there. That's the thing mysql-client standart package installer does. Best regards, Kyryll mailto:[EMAIL PROTECTED] ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Resizing FreeBSD partitions/filesystems
I have HD splited as folows: [FAT32] [--free-400M--] [FreeBSD] On other hand, FreeBSD partition contains next [SWAP] [/tmp] [/var] [/] (/ contains /usr) I need to add those 400M to / filesystem. The best way, I think, is to move FreeBSD partition to the blank 400M block start, then enlarge FreeBSD partition to tose 400M now laying after it, then enlarge / with growfs as it's the last filesystem. The poblem is that I don't know HOW to do it. First, I can't move FreeBSD partition or add free space to it: DOS Powerquest Magic can't do this, I have no other tools. Second, I've never used growfs and need short description of it (mans're too overloaded). Please, send solutions! Remember, I've nor free space neither fast enough FTP to backup there -- - . http://www.ukrpost.net/ IMAP POP3 NNTP RSSNews Unicode. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]