Re: some crashes with VIA VT-310DP (npxdna_xmm(d06e7660) at npxdna_xmm+0x71)
On Thu, Mar 30, 2006 at 12:54:16AM -0500, jared r r spiegel wrote: On Mon, Mar 27, 2006 at 03:11:49PM -0500, jared r r spiegel wrote: i forgot 'show panic' and 'show registers' these three times. this looks totally from outa space! can you please 'x /i' around the softclock+0x22c ? id dna indeed comes from there then there have to be some sort of fpu/xmm/blah instruction there. 10x cu ddb{0} show panic the kernel did not panic ddb{0} show registers ds 0x10 es 0x10 fs 0x58 gs 0x10 edi 0xd06e7660cpu_info_primary esi 0x20 ebp 0xe7d2be68 ebx0 edx 0x2 ecx0 eax0 eip 0xd0491475npxdna_xmm+0x71 cs 0x8 eflags 0x10246 esp 0xe7d2be40 ss0xe7d20010 npxdna_xmm+0x71:movl0x12c(%ebx),%eax ddb{0} trace npxdna_xmm(d06e7660) at npxdna_xmm+0x71 Xdna(d0657b2c,e7d2bef8,d02537f7,2000,0) at Xdna+0x39 softclock(0,58,10,10,10) at softclock+0x22c Xintrsoftclock() at Xintrsoftclock+0x56 --- interrupt --- Xdoreti() at Xdoreti+0x23 --- interrupt --- apm_cpu_idle(0,0,0,0,0) at apm_cpu_idle+0x4a have the machine running on uniprocessor kernel now and it's been stable for past 2 days ( previous max uptime on .mp was always 1d ) we're looking at moving it to 3.9, but trying to root around cvs{@,web} to see if we can find a commit that smells like it might be a fixing winner before going back to an MP kernel again. -- jared [ openbsd 3.9-current GENERIC ( mar 15 ) // i386 ] -- paranoic mickey (my employers have changed but, the name has remained)
Re: Problems with X in OpenBSD (3.9) -current with LCD WideScreen Monitor
Please give some details about the actual model number of the monitor, the exact model of display card etc. If you are using the radeon driver for instance specifying the radeon option for DDC is a good way of getting the mode information correct. Man radeon discusses the DDCMode parameter. Otherwise it may require that you need a ModeLine parameter in the monitor section. I needed to do this on my laptop to get 1920x1200 widescreen mode. (and sorry Nick, reply before coffee is always a bad idea :P) -Andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nick Holland Sent: 30 March 2006 01:43 To: misc Subject: Re: Problems with X in OpenBSD (3.9) -current with LCD WideScreen Monitor Francisco Valladolid wrote: Hi folks. Recently I bougth a new LCD display, it is a ViewSonic 19 WideScreen, i have proble with xorg in -current, for correct display mode only 1024x768 is displayed. The X windows is so wrong. Some have some tips about the X under xorg. This monitor work fine in other OS running xfree86. Unfortunately, you have provided no hard information, so you will get no hard answers. In short, however, you need to hand-tweak your /etc/X11/xorg.conf file, apparently. Under 'Section Monitor', make sure you have accurate HorizSync and VertRefresh lines. Under 'Section Screen', add/alter a couple lines: Default Depth 24 and under 'SubSection Display' add: Modes 1280x1024 (correct the Depth and Modes to the values you want, of course). You may be in business. You may not be, if your video card or X driver is incapable of driving your monitor at the desired depth and resolution, or if there is some other quirk in your hardware we can't see. Or if I'm forgetting something, which is possible. :) You can also try to use DDC, apparently it was default for 3.8, now for 3.9, DDC is disabled by default, and I'm glad (worked great when it worked, sucked big time when it didn't). Nick.
C Compiler Prob
Hi List, maybe can tell me what4s wrong or missing ? Trying to compile an apache 2.0.52 ... configure says ... Platform: sparc64-unknown-openbsd3.8 checking for working mkdir -p... yes APR Version: 0.9.7 checking for chosen layout... apr checking for gcc... egcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. configure failed for srclib/apr Thanks, ...olli
Re: C Compiler Prob
Op 30/3/2006 schreef oliver simon [EMAIL PROTECTED]: Hi List, maybe can tell me what4s wrong or missing ? Trying to compile an apache 2.0.52 ... configure says ... Platform: sparc64-unknown-openbsd3.8 checking for working mkdir -p... yes APR Version: 0.9.7 checking for chosen layout... apr checking for gcc... egcc checking for C compiler default output file name... configure: error: C this should say ``a.out''. You must have been messing around. compiler cannot create executables See `config.log' for more details. config.log should give you some more hints. configure failed for srclib/apr Thanks, ...olli Cheers, Jasper
Re: C Compiler Prob
On Thu, Mar 30, 2006 at 12:49:29PM +0200, oliver simon wrote: checking for C compiler default output file name... configure: error: C compiler cannot create executables Could you please provide us your CFLAGS? -- Oliver Peter, email: [EMAIL PROTECTED], ICQ# 113969174 Worker bees can leave. Even drones can fly away. The Queen is their slave.
Re: C Compiler Prob
...on Thu, Mar 30, 2006 at 12:49:29PM +0200, oliver simon wrote: checking for gcc... egcc egcc? Alex.
Re: C Compiler Prob
Did you install the compXY.tgz? On Thu, Mar 30, 2006 at 12:49:29PM +0200, oliver simon wrote: checking for C compiler default output file name... configure: error: C compiler cannot create executables
Re: C Compiler Prob
Thanks for your answers, @Oliver: Could you please provide us your CFLAGS? Nothing specific set .. only in the myconfigure.sh I do export CC=egcc export CPPFLAGS=-I \ /usr/local/lib/gcc/sparc64-unknown-openbsd3.8/3.4.4/include/ I hoped, it would find some header there, but no success... Btw, no I don4t think it was the comp38.tgz, is there a way to install it ontop of the running system ? Thanks, Oliver Otto Moerbeek wrote: On Thu, 30 Mar 2006, oliver simon wrote: Hi List, maybe can tell me what4s wrong or missing ? Trying to compile an apache 2.0.52 ... configure says ... Platform: sparc64-unknown-openbsd3.8 checking for working mkdir -p... yes APR Version: 0.9.7 checking for chosen layout... apr checking for gcc... egcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. configure failed for srclib/apr Thanks, ...olli This you install the comp set? -Otto -- --- oliver simon, systemadministrator [EMAIL PROTECTED] picturesafe media|data|bank GmbH seelhorststr.44 30175 hannover fon +49 . (0)511 . 28 393 - 31 fax +49 . (0)511 . 28 393 - 10 mobile +49 . (0)160 . 832 9633 - http://www.picturesafe.de/ -
Re: C Compiler Prob
On Thu, Mar 30, 2006 at 02:17:24PM +0200, oliver simon wrote: @Oliver: Could you please provide us your CFLAGS? Nothing specific set .. only in the myconfigure.sh I do export CC=egcc export CPPFLAGS=-I \ /usr/local/lib/gcc/sparc64-unknown-openbsd3.8/3.4.4/include/ You really enjoy pain, right? Why don't you use the gcc which is already shipped with openbsd? Why don't you use the apache which is already shipped with openbsd? I can not imagine that there is someone here who wants to support you. -- Oliver Peter, email: [EMAIL PROTECTED], ICQ# 113969174 Worker bees can leave. Even drones can fly away. The Queen is their slave.
Re: C Compiler Prob
Hi namesake, please see below ... Oliver Peter wrote: On Thu, Mar 30, 2006 at 02:17:24PM +0200, oliver simon wrote: @Oliver: Could you please provide us your CFLAGS? Nothing specific set .. only in the myconfigure.sh I do export CC=egcc export CPPFLAGS=-I \ /usr/local/lib/gcc/sparc64-unknown-openbsd3.8/3.4.4/include/ You really enjoy pain, right? Just sometimes ... and depends on which kind ... :) Why don't you use the gcc which is already shipped with openbsd? Did not find it ... now I know where to look .. comp38.tgz ... Why don't you use the apache which is already shipped with openbsd? Seems it has a bug in 3.8 and sparc64. Just need it for proxying purposes, and exactly that does not work while I tried exactly the same config on a x86 Test-Machine. See my problem some days ago, where nobody seemed to have any knowledge about ... I can not imagine that there is someone here who wants to support you. Getting used to it ... thank you ! Greetings, oliver
Re: C Compiler Prob
On Thu, Mar 30, 2006 at 02:53:44PM +0200, oliver simon wrote: Hi namesake, Hee =) Why don't you use the gcc which is already shipped with openbsd? Did not find it ... now I know where to look .. comp38.tgz ... Do your homework: http://openbsd.org/faq/faq4.html#FilesNeeded -- Oliver Peter, email: [EMAIL PROTECTED], ICQ# 113969174 Worker bees can leave. Even drones can fly away. The Queen is their slave.
Re: C Compiler Prob
On Thu, Mar 30, 2006 at 02:53:44PM +0200, oliver simon wrote: Seems it has a bug in 3.8 and sparc64. Just need it for proxying purposes, and exactly that does not work while I tried exactly the same config on a x86 Test-Machine. See my problem some days ago, where nobody seemed to have any knowledge about ... Addition: I would like to ask you to send a short report when you have compiled it with the standard openbsd-gcc. Furhter it would be interesting if you have the same proxy problem with apache2. Thanks. -- Oliver Peter, email: [EMAIL PROTECTED], ICQ# 113969174 Worker bees can leave. Even drones can fly away. The Queen is their slave.
Re: Errors during start of Xorg on 3.9
You should be using the wrapper script called xorgconfig This should work run as root and double check the /etc/sysctl.conf value machdep.allowaperture. Make sure that is set to 2, this no longer gets set to 2 by answering yes to running X - this is a deliberate decision in 3.9 and has been left out of the scripts to raise awareness of the security issues associated (see man xf86) Search back through the archives and you will see Theo's thoughts about it. -Andy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Swen Simon Sent: 29 March 2006 11:57 To: misc@openbsd.org Subject: Errors during start of Xorg on 3.9 (I was redirected to misc@ from an user, thanks for the hint :) Greetings! I installed OpenBSD 3.9 few hours ago and all works fine, instead of X. I never used Xorg on an OBSD system and generated a new config with Xorg -configure. Following errors appears: (WW) xf86AcquireGART: AGPIOC_ACQUIRE failed (Device busy) (WW) GARTInit: AGPIOC_INFO failed (Device not configured) _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created. _XSERVTransSocketUNIXCreateListener: mkdir(/tmp/.X11-unix) failed, errno = 2 _XSERVTransMakeAllCOTSServerListeners: failed to create listener for local ... FreeFontPath: FPE /usr/X11R6/lib/X11/fonts/misc/ refcount is 2, should be 1; fixing. I googled many hours to fix that, found no solution or hint about that. The permissions on /tmp are correct and should work for other users (can create files in it). It takes also (~) 10 seconds to start the window manager. xorg.conf: http://pastebin.com/628483 Xorg.0.log: http://pastebin.com/628488 dmesg: http://pastebin.com/628493 Anyone else that problems? Hints or solutions are welcome! Thanks. Swen
Re: Errors during start of Xorg on 3.9
Selon Andrew Smith [EMAIL PROTECTED]: machdep.allowaperture. Make sure that is set to 2, this no longer gets set to 2 by answering yes to running X - this is a deliberate decision in 3.9 and has been left out of the scripts to raise awareness of the security issues associated (see man xf86) As far as I understand, machdep.allowaperture _does_ get set to 2 by answering yes to running X. However, while the default answer was set to yes, it is now set to no. -- Antoine
Re: Errors during start of Xorg on 3.9
Antoine, thanks, quite right.. I saw the memo and misread it - the prompt defaults to [no] now. It may be worthwhile double checking the Aperture setting though. -Original Message- From: Antoine Jacoutot [mailto:[EMAIL PROTECTED] Sent: 30 March 2006 15:26 To: Andrew Smith Cc: misc@openbsd.org Subject: Re: Errors during start of Xorg on 3.9 Selon Andrew Smith [EMAIL PROTECTED]: machdep.allowaperture. Make sure that is set to 2, this no longer gets set to 2 by answering yes to running X - this is a deliberate decision in 3.9 and has been left out of the scripts to raise awareness of the security issues associated (see man xf86) As far as I understand, machdep.allowaperture _does_ get set to 2 by answering yes to running X. However, while the default answer was set to yes, it is now set to no. -- Antoine
Re: C Compiler Prob
On 2006-03-30 14:53:44 +0200, oliver simon wrote: Seems it has a bug in 3.8 and sparc64. Just need it for proxying purposes, and exactly that does not work while I tried exactly the same Use squid. It's in ports. Best Martin -- http://www.tm.oneiros.de
Re: some crashes with VIA VT-310DP (npxdna_xmm(d06e7660) at npxdna_xmm+0x71)
On Thu, Mar 30, 2006 at 10:40:24AM +0200, mickey wrote: On Thu, Mar 30, 2006 at 12:54:16AM -0500, jared r r spiegel wrote: On Mon, Mar 27, 2006 at 03:11:49PM -0500, jared r r spiegel wrote: i forgot 'show panic' and 'show registers' these three times. this looks totally from outa space! can you please 'x /i' around the softclock+0x22c ? sure, will totally grab a bunch of examines if it happens again. my thanks for the suggestion ( i'm clearly not the ddb professional ) also received a few recommendations off-list that this all might be clear skies in 3.9 wrt this bug, so we're going to keep on the 3.8 uniproc kernel until sometime this weekend (hope) for a move to 3.9.mp -- depending on the timeline, there might be an opportunity to put the 3.8.mp back on, safeten up the HDs as much as i can, and see if we can tickle that fault to get the examine output jared
How to find memory leak in library/OS?
Is there some simple way to find a memory leak in some OS supplied library? I have a (constantly running) application that grows in a week from 5MB to 15MB in size (VSZ and RSS as reported by ps). The application can be compiled with an optional debugging memory allocator that tracks all (de)allocations to check whether any of its malloc()/free() calls leak memory; according to that tool the application behaves fine. Hence I'm wondering whether there is a memory leak in some library or the OS, which also could be triggered by the way my application uses it (see the recent thread about telldir()/seekdir()). My application uses pthreads and the DNS resolver, the latter by contacting it via UDP: sendto(), recvfrom(). Note: the memory leak seems to be unique to OpenBSD (3.8 and earlier), I can't reproduce it on SunOS 5.9 and others. That's why I'm asking for hints where to look for the leak: is there some simple way to show the allocated memory in the debugger or via system calls and to find out which functions made those allocations?
Intel doc paralyses both xpdf and kpdf at page 16
I'm running KDE 3.4.2 on OpenBSD 3.8 Doc: Intel(r)_VT_for_Direct_IO.pdf from ftp://download.intel.com/technology/computing/vptech/Intel(r)_VT_for_Direct_IO.pdf Possibly relevant error message: /home/daf/Intel}Error: PDF version 1.6 -- xpdf supports version 1.5 (continuing anyway) Both programs freeze and stop responding when I attempt to display page 16 of the doc. Kill -9 seems to be the only way to exit. xpdf is version 3.00p5 Dave Feustel -- Lose, v., experience a loss, get rid of, lose the weight Loose, adj., not tight, let go, free, loose clothing
Re: Intel doc paralyses both xpdf and kpdf at page 16
On Thu, Mar 30, 2006 at 08:40:59AM -0500, Dave Feustel wrote: I'm running KDE 3.4.2 on OpenBSD 3.8 Doc: Intel(r)_VT_for_Direct_IO.pdf from ftp://download.intel.com/technology/computing/vptech/Intel(r)_VT_for_Direct_IO.pdf Possibly relevant error message: /home/daf/Intel}Error: PDF version 1.6 -- xpdf supports version 1.5 (continuing anyway) Both programs freeze and stop responding when I attempt to display page 16 of the doc. Kill -9 seems to be the only way to exit. xpdf is version 3.00p5 Dave Feustel Works fine here with kpdf on current: Qt: 3.3.5 KDE: 3.5.0 KPDF: 0.5
Re: How to find memory leak in library/OS?
On 3/30/06, Claus Assmann [EMAIL PROTECTED] wrote: Is there some simple way to find a memory leak in some OS supplied library? I have a (constantly running) application that grows in a week from 5MB to 15MB in size (VSZ and RSS as reported by ps). The application can be compiled with an optional debugging memory allocator that tracks all (de)allocations to check whether any of its malloc()/free() calls leak memory; according to that tool the application behaves fine. Hence I'm wondering whether there is a memory leak in some library or the OS, which also could be triggered by the way my application uses it (see the recent thread about telldir()/seekdir()). My application uses pthreads and the DNS resolver, the latter by contacting it via UDP: sendto(), recvfrom(). Note: the memory leak seems to be unique to OpenBSD (3.8 and earlier), I can't reproduce it on SunOS 5.9 and others. That's why I'm asking for hints where to look for the leak: is there some simple way to show the allocated memory in the debugger or via system calls and to find out which functions made those allocations? particular to pthreads, if you are using mutexes or somesuch on the stack, you will leak memory. (the lock on the stack is just a pointer, it gets allocated on first use).
Re: How to find memory leak in library/OS?
On 3/30/06, Claus Assmann [EMAIL PROTECTED] wrote: Is there some simple way to find a memory leak in some OS supplied library? I have a (constantly running) application that grows in a week from 5MB to 15MB in size (VSZ and RSS as reported by ps). The application can be compiled with an optional debugging memory allocator that tracks all (de)allocations to check whether any of its malloc()/free() calls leak memory; according to that tool the application behaves fine. Hence I'm wondering whether there is a memory leak in some library or the OS, which also could be triggered by the way my application uses it (see the recent thread about telldir()/seekdir()). My application uses pthreads and the DNS resolver, the latter by contacting it via UDP: sendto(), recvfrom(). Note: the memory leak seems to be unique to OpenBSD (3.8 and earlier), I can't reproduce it on SunOS 5.9 and others. That's why I'm asking for hints where to look for the leak: is there some simple way to show the allocated memory in the debugger or via system calls and to find out which functions made those allocations? http://valgrind.org/ Seems Linux only but it's helpful if you can use your application in Linux. - Toni Spets
Re: How to find memory leak in library/OS?
On Thu, Mar 30, 2006, Ted Unangst wrote: particular to pthreads, if you are using mutexes or somesuch on the stack, you will leak memory. (the lock on the stack is just a pointer, it gets allocated on first use). All mutexes are part of structures that are allocated via malloc(). Would those leak memory too (even if pthread_mutex_destroy() is called)? The application (it's the sendmail X address resolver) uses a new mutex/condition variable for every request in the test that triggers the leaks. Thanks for your answer!
Re: How to find memory leak in library/OS?
On Thu, Mar 30, 2006, Toni Spets wrote: On 3/30/06, Claus Assmann [EMAIL PROTECTED] wrote: Note: the memory leak seems to be unique to OpenBSD (3.8 and earlier), I can't reproduce it on SunOS 5.9 and others. That's why I'm asking ... http://valgrind.org/ Thanks for the suggestion (also made by others), but the leak doesn't show up on Linux either (nor on FreeBSD which has a valgrind port).
Re: How to find memory leak in library/OS?
On 3/30/06, Claus Assmann [EMAIL PROTECTED] wrote: On Thu, Mar 30, 2006, Ted Unangst wrote: particular to pthreads, if you are using mutexes or somesuch on the stack, you will leak memory. (the lock on the stack is just a pointer, it gets allocated on first use). All mutexes are part of structures that are allocated via malloc(). Would those leak memory too (even if pthread_mutex_destroy() is called)? The application (it's the sendmail X address resolver) uses a new mutex/condition variable for every request in the test that triggers the leaks. it should, unless the mutex is held, in which case it returns EBUSY. are you checking for that?
Re: How to find memory leak in library/OS?
On Thu, Mar 30, 2006, Ted Unangst wrote: On 3/30/06, Claus Assmann [EMAIL PROTECTED] wrote: [does pthread_mutex_destroy() clean up properly if the mutex is not on the stack?] it should, unless the mutex is held, in which case it returns EBUSY. are you checking for that? I just added an assertion and it doesn't trigger (as I free/invalidate the whole struct and every access checks a magic token it would have caused an assertion failure anyway). Do you have other suggestions of what I should look for? Thanks!
Re: How to find memory leak in library/OS?
On Thu, 30 Mar 2006, Claus Assmann wrote: Is there some simple way to find a memory leak in some OS supplied library? I have a (constantly running) application that grows in a week from 5MB to 15MB in size (VSZ and RSS as reported by ps). The application can be compiled with an optional debugging memory allocator that tracks all (de)allocations to check whether any of its malloc()/free() calls leak memory; according to that tool the application behaves fine. Hence I'm wondering whether there is a memory leak in some library or the OS, which also could be triggered by the way my application uses it (see the recent thread about telldir()/seekdir()). The approach that I used with smbd to find the telldir()/seekdir() leaks wasn't simple, and it did involve some patience and trial and error, but I'm not sure it was particularly complicated either. Basically, I recompiled smbd to link with the dmalloc library which is designed to augment the system malloc()-type calls. The samba devel team thoughtfully includes developer code to support this -- I simply needed to recompile the app and turn it on. Then I ran the program with the test case that caused it to leak memory and watched the dmalloc output as smbd exitted. This confirmed the leak; dmalloc catches leaks even if the underlying leaking malloc() is buried in a system call -- or at least it did in this case. Unfortunately, dmalloc only reported a stack return address to identify the culprit, so I ended up having to trace through the code and narrow the issue using dmalloc mark and reporting calls. If this is your own code, then this should be significantly easier than tracing samba code -- but I had to go through this step to understand what part of samba was leaking memory. At this point, my assumption was that it was something odd that samba was doing for my particular install. Eventually, once I'd narrowed the leaking code in samba, I ended up attaching to the process using gdb and determing where the return address on the stack was pointing. In my case, that was in the middle of telldir(). If you choose to try dmalloc (dmalloc.com), there are some very nice tutorials on their website for using a debugger to help track memory issues. I also used the internal libc malloc() debug options to help confirm the memory leak, though I wasn't as successful at identifying the leak with it. It did provide another avenue to confirm that the app was leaking. There is test code floating around on the telldir() threads in tech@ that might give you a template for using it, though this may require a recompile of libc to turn on the MALLOC_STATS option. It may be simpler to man malloc to see the easiest method for enabling the memory debugging code buried in libc. Maybe someone else on the list can give some insight into the dump results of the malloc() stats to see if there is a way to determine the caller, maybe in conjunction with gbd? So, that's the approach that worked for me. There may be much simpler approaches and/or tools depending on the code you are working on. I'm far from an expert at this ... Good hunting. - Paul My application uses pthreads and the DNS resolver, the latter by contacting it via UDP: sendto(), recvfrom(). Note: the memory leak seems to be unique to OpenBSD (3.8 and earlier), I can't reproduce it on SunOS 5.9 and others. That's why I'm asking for hints where to look for the leak: is there some simple way to show the allocated memory in the debugger or via system calls and to find out which functions made those allocations?
Re: How to find memory leak in library/OS?
On 3/30/06, Claus Assmann [EMAIL PROTECTED] wrote: Do you have other suggestions of what I should look for? i mentioned the pthread issue because it's something i know about, but otherwise, i think you're going to need an instrumented malloc.
Re: Intel doc paralyses both xpdf and kpdf at page 16
Hallo. On Thu, Mar 30, 2006 at 08:40:59AM -0500, Dave Feustel wrote: I'm running KDE 3.4.2 on OpenBSD 3.8 Doc: Intel(r)_VT_for_Direct_IO.pdf from ftp://download.intel.com/technology/computing/vptech/Intel(r)_VT_for_Direct_I O.pdf Possibly relevant error message: /home/daf/Intel}Error: PDF version 1.6 -- xpdf supports version 1.5 (continuing anyway) Both programs freeze and stop responding when I attempt to display page 16 of the doc. Kill -9 seems to be the only way to exit. xpdf is version 3.00p5 Works fine on OpenBSD 3.8, xpdf 3.00p7. It takes about twenty seconds to display page 17, but 16 is ok. Jonathan Dave Feustel -- Lose, v., experience a loss, get rid of, lose the weight Loose, adj., not tight, let go, free, loose clothing -- | /\ ASCII Ribbon | Jonathan Glaschke - Lorenz-Goertz-Stra_e 71, | \ / Campaign Against | 41238 Moenchengladbach, Germany; | XHTML In Mail | jabber: [EMAIL PROTECTED] | / \ And News | http://jonathan-glaschke.de/ [demime 1.01d removed an attachment of type application/pgp-signature]
Re: How to find memory leak in library/OS?
On Thursday 30 March 2006 1:25 pm, Claus Assmann wrote: On Thu, Mar 30, 2006, Ted Unangst wrote: particular to pthreads, if you are using mutexes or somesuch on the stack, you will leak memory. (the lock on the stack is just a pointer, it gets allocated on first use). All mutexes are part of structures that are allocated via malloc(). Would those leak memory too (even if pthread_mutex_destroy() is called)? The application (it's the sendmail X address resolver) uses a new mutex/condition variable for every request in the test that triggers the leaks. Thanks for your answer! I recently went through a similar exercise looking for leaks in the jvm thread creation and destruction code. The process is simple but tedious. Build a debug version of libc, libpthread and your application. Put a break point on malloc, realloc free. When malloc and realloc are hit, do the finish gdb command and note the returned address on a pad and where it was called from. When free is called cross off the matching address from the list. Whatever is left is the source of your leak. There are things you could do help the process along, like using gdb's 'commands' feature. If you suspect the pthreads library is leaking you could place break points at the malloc / realloc / free calls that your application hits in pthreads (ie break at the calls to malloc in the pthread code, not at malloc itself). -Kurt
auich problem on notebook Asus A3l
Hello , my sound card doesn,t work . I've checked all yours advices but I haven't found solution I don't have PNP options in BIOS an I've checked also boot -c disable pcibios Maybe some kind of patch ? This is my full dmseg OpenBSD 3.8 (GENERIC) #0: Sun Feb 12 01:23:16 CET 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Celeron(R) M processor 1500MHz (GenuineIntel 686-class) 1.50 GHz cpu0: FPU,V86,DE,PSE,TSC,MSR,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,CFLUSH,ACPI,MMX,FXSR,SSE,SSE2,TM,SBF real mem = 258842624 (252776K) avail mem = 229281792 (223908K) using 3185 buffers containing 13045760 bytes (12740K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 03/08/05 apm0 at bios0: Power Management spec V1.2 apm0: AC on, no battery apm0: flags 30102 dobusy 0 doidle 1 pcibios at bios0 function 0x1a not configured bios0: ROM list: 0xc/0xce00! cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82852GM Hub-PCI rev 0x02 Intel 82852GM Memory rev 0x02 at pci0 dev 0 function 1 not configured Intel 82852GM Configuration rev 0x02 at pci0 dev 0 function 3 not configured vga1 at pci0 dev 2 function 0 Intel 82852GM AGP rev 0x02: aperture at 0xf000, size 0x800 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) Intel 82852GM AGP rev 0x02 at pci0 dev 2 function 1 not configured uhci0 at pci0 dev 29 function 0 Intel 82801DB USB rev 0x03: irq 5 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1 at pci0 dev 29 function 1 Intel 82801DB USB rev 0x03: irq 5 usb1 at uhci1: USB revision 1.0 uhub1 at usb1 uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x03: irq 5 usb2 at uhci2: USB revision 1.0 uhub2 at usb2 uhub2: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub2: 2 ports with 2 removable, self powered ehci0 at pci0 dev 29 function 7 Intel 82801DB USB rev 0x03: irq 4 ehci0: timed out waiting for BIOS usb3 at ehci0: USB revision 2.0 uhub3 at usb3 uhub3: Intel EHCI root hub, rev 2.00/1.00, addr 1 uhub3: 6 ports with 6 removable, self powered ppb0 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x83 pci1 at ppb0 bus 1 rl0 at pci1 dev 0 function 0 Realtek 8139 rev 0x10: irq 5 address 00:11:d8:40:91:ab rlphy0 at rl0 phy 0: RTL internal phy cbb0 at pci1 dev 5 function 0 Ricoh 5C476 CardBus rev 0xacpci_intr_map: no mapping for pin A : couldn't map interrupt cbb1 at pci1 dev 5 function 1 Ricoh 5C476 CardBus rev 0xacpci_intr_map: no mapping for pin B : couldn't map interrupt Ricoh 5C552 Firewire rev 0x04 at pci1 dev 5 function 2 not configured ichpcib0 at pci0 dev 31 function 0 Intel 82801DBM LPC rev 0x03: SpeedStep pciide0 at pci0 dev 31 function 1 Intel 82801DBM IDE rev 0x03: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: IC25N030ATMR04-0 wd0: 16-sector PIO, LBA48, 28615MB, 58605120 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 atapiscsi0 at pciide0 channel 1 drive 0 scsibus0 at atapiscsi0: 2 targets cd0 at scsibus0 targ 0 lun 0: ASUS, SCB-2424V, 1.0 SCSI0 5/cdrom removable cd0(pciide0:1:0): using PIO mode 4, Ultra-DMA mode 2 auich0 at pci0 dev 31 function 5 Intel 82801DB AC97 rev 0x03pci_intr_map: no mapping for pin B Intel 82801DB Modem rev 0x03 at pci0 dev 31 function 6 not configured isa0 at ichpcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 sysbeep0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 it0 at isa0 port 0x290/8: IT87 npx0 at isa0 port 0xf0/16: using exception 16 pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo pcic0 at isa0 port 0x3e0/2 iomem 0xd/65536 pcic0 controller 0: Intel 82365SL rev 1 has sockets A and B pcmcia0 at pcic0 controller 0 socket 0 pcmcia1 at pcic0 controller 0 socket 1 pcic0: irq 9, polling enabled biomask ed75 netmask ed75 ttymask fff7 pctr: 686-class user-level performance counters enabled mtrr: Pentium Pro MTRR support dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302 uhidev0 at uhub0 port 1 configuration 1 interface 0 uhidev0: Logitech Optical USB Mouse, rev 2.00/3.40, addr 2, iclass 3/1 ums0 at uhidev0: 3 buttons and Z dir. wsmouse1 at ums0 mux 0
Re: Sys-Admin vs Network Admin
My job doesn't discriminate :) I'm technically a Network admin but my duties are equally split between that, sys ad, and dba. On Mar 27, 2006, at 8:38 PM, Qwerty wrote: Hi All, Would it be fair to say that a Systems Administrator and a Network Administrator are no longer two seperate entities but have become one and the same. Don't the two dabble more and more into each other's business. Thanks Danny __ Get your FREE Central.co.za Email today www.central.co.za
Re: How to find memory leak in library/OS?
Kurt Miller [EMAIL PROTECTED] and others write: Date: Thu, 30 Mar 2006 14:01:55 -0500 From: Kurt Miller [EMAIL PROTECTED] Subject: Re: How to find memory leak in library/OS? In-reply-to: [EMAIL PROTECTED] To: Claus Assmann [EMAIL PROTECTED] Cc: misc@openbsd.org Reply-to: [EMAIL PROTECTED] References: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] On Thursday 30 March 2006 1:25 pm, Claus Assmann wrote: On Thu, Mar 30, 2006, Ted Unangst wrote: particular to pthreads, if you are using mutexes or somesuch on the stack, you will leak memory. (the lock on the stack is just a pointer, it gets allocated on first use). All mutexes are part of structures that are allocated via malloc(). Would those leak memory too (even if pthread_mutex_destroy() is called)? The application (it's the sendmail X address resolver) uses a new mutex/condition variable for every request in the test that triggers the leaks. Thanks for your answer! I recently went through a similar exercise looking for leaks in the jvm thread creation and destruction code. The process is simple but tedious. Build a debug version of libc, libpthread and your application. Put a break point on malloc, realloc free. When malloc and realloc are hit, do the finish gdb command and note the returned address on a pad and where it was called from. When free is called cross off the matching address from the list. Whatever is left is the source of your leak. There are things you could do help the process along, like using gdb's 'commands' feature. If you suspect the pthreads library is leaking you could place break points at the malloc / realloc / free calls that your application hits in pthreads (ie break at the calls to malloc in the pthread code, not at malloc itself). -Kurt This tedious book-keeping process is exactly the thing computers are supposed to be good at doing. I've had a special version of malloc that I've used for years which does this and a few other tricks. It's not exactly elegant, because it requires relinking and usually additional hooks in the application to take full advantage of the leak detection, but when all else fails, I find it worth the trouble. I had forgotten it had pthread locking logic - it might even be thread safe: /afs/umich.edu/group/itd/build/mdw/xmalloc/src/ No real documentation, sorry. -Marcus Watts
Re: Sys-Admin vs Network Admin
Qwerty [EMAIL PROTECTED] writes: Would it be fair to say that a Systems Administrator and a Network Administrator are no longer two seperate entities but have become one and the same. Don't the two dabble more and more into each other's business. I'd say certainly not; in fact the trend seems to be in the opposite direction. I've worked for quite a few big companies in the USA and the most disturbing trend I've seen is the compartmentalization of operations into discrete groups that rarely communicate and are often at odds with one another. The most annoying of these, to me, is the security team. As if security hasn't always been one of the system administrator's core functions. I even wrote a bit of a rant about it, for my company's blog, just last night. I have a feeling it won't be approved for posting. ;) http://deanna.freeshell.org/blog.txt if you're interested. Sorry for the OT. -- deanna
openssh public auth and permissions
OpenBSD 3.7 GENERIC#0 i386 OpenSSH_4.1, OpenSSL 0.9.7d Doing public authentication for a user with example home directory: /var/www/home/myhomedir if there is no public read permissions for home directory example home is set 0751 rwxrwx--x or even 1711 or 1751 the daemon fails reading the file in ~/.ssh/authorized__keys even if the dir .ssh is chmod 755 and the file has world read permissions. The public authentication fails with the error permission denied to read the above file in /var/log/authlog and ssh requests a password. Can u please tell me why Openssh needs read permissions to home + home dir other than x to read a specified world readable file? Any workaround or an answer to this? -Chris
Re: Sys-Admin vs Network Admin
On 3/30/06, Deanna Phillips [EMAIL PROTECTED] wrote: Qwerty [EMAIL PROTECTED] writes: Would it be fair to say that a Systems Administrator and a Network Administrator are no longer two seperate entities but have become one and the same. Don't the two dabble more and more into each other's business. I'd say certainly not; in fact the trend seems to be in the opposite direction. I've worked for quite a few big companies in the USA and the most disturbing trend I've seen is the compartmentalization of operations into discrete groups that rarely communicate and are often at odds with one another. The most annoying of these, to me, is the security team. As if security hasn't always been one of the system administrator's core functions. Certainly, but it really depends on how security-aware those sysadmins are. Here, a security team is necessary to lay the LART upon the heads of those ubiquitous non-IT engineers who have been given sysadmin powers and who haven't a clue about security. It means when I discover a gaping hole in someone's project I don't have to waste my time wielding the LART. Greg
Re: Sys-Admin vs Network Admin
One of them administer systems (might have a hundred of *NIX - and other servers to look after), the other one administers the network (and might have a few hundred network devices, like routers, firewalls, etc.). They might not even see each other for months! Can you see the difference? Ioan Deanna Phillips [EMAIL PROTECTED] 03/31 10:18 am Qwerty [EMAIL PROTECTED] writes: Would it be fair to say that a Systems Administrator and a Network Administrator are no longer two seperate entities but have become one and the same. Don't the two dabble more and more into each other's business. I'd say certainly not; in fact the trend seems to be in the opposite direction. I've worked for quite a few big companies in the USA and the most disturbing trend I've seen is the compartmentalization of operations into discrete groups that rarely communicate and are often at odds with one another. The most annoying of these, to me, is the security team. As if security hasn't always been one of the system administrator's core functions. I even wrote a bit of a rant about it, for my company's blog, just last night. I have a feeling it won't be approved for posting. ;) http://deanna.freeshell.org/blog.txt if you're interested. Sorry for the OT. -- deanna http://www.netcleanse.com
Re: Sys-Admin vs Network Admin
Certainly, but it really depends on how security-aware those sysadmins are. Here, a security team is necessary to lay the LART upon the heads of those ubiquitous non-IT engineers who have been given sysadmin powers and who haven't a clue about security. It means when I discover a gaping hole in someone's project I don't have to waste my time wielding the LART. Greg Oh yeah! And when did you discovered the last security hole in a vendor's application, say Oracle? Would you really blame the sysadmin? Did you advised the corporate management to through out a SAP/PeopleSoft application because you can see hole in their application(s)? Or you talking here about perimeter security, like opening a port on one the firewalls? Ioan
Re: Sys-Admin vs Network Admin
I think it depends on the size of the environment. Large corporate environments will naturally tend to segment and break up into discrete groups (operating systems groups, networking groups, security groups) In smaller environments, it's more natural that admins would need to know something about everything. $.02 PG -- Original message -- From: Deanna Phillips [EMAIL PROTECTED] Qwerty [EMAIL PROTECTED] writes: Would it be fair to say that a Systems Administrator and a Network Administrator are no longer two seperate entities but have become one and the same. Don't the two dabble more and more into each other's business. I'd say certainly not; in fact the trend seems to be in the opposite direction. I've worked for quite a few big companies in the USA and the most disturbing trend I've seen is the compartmentalization of operations into discrete groups that rarely communicate and are often at odds with one another. The most annoying of these, to me, is the security team. As if security hasn't always been one of the system administrator's core functions. I even wrote a bit of a rant about it, for my company's blog, just last night. I have a feeling it won't be approved for posting. ;) http://deanna.freeshell.org/blog.txt if you're interested. Sorry for the OT. -- deanna
Support for new Atheros chips?
Since I'm running out of time, I'll try to compress my last post: Is it likely that my wifi card (se below) will be supported in a (somewhat) near future? I will assume no if I do not get an answer. ath0 at cardbus1 dev 0 function 0 Atheros Communications, Inc., AR5001--, Wireless LAN Reference Card: irq 11 ath0: AR5213 7.9 phy 4.5 rf2112a 5.6: RF radio not supported Thanks, Alexander complete dmesg OpenBSD 3.9-current (GENERIC) #661: Mon Mar 27 03:12:43 MST 2006 [EMAIL PROTECTED]:/usr/src/sys/arch/i386/compile/GENERIC cpu0: Intel(R) Pentium(R) III Mobile CPU 866MHz (GenuineIntel 686-class) 864 MHz cpu0: FPU,V86,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real mem = 670474240 (654760K) avail mem = 604053504 (589896K) using 4278 buffers containing 33628160 bytes (32840K) of memory mainbus0 (root) bios0 at mainbus0: AT/286+(00) BIOS, date 05/16/03, BIOS32 rev. 0 @ 0xffe90 apm0 at bios0: Power Management spec V1.2 apm0: battery life expectancy 100% apm0: AC on, battery charge high, charging, estimated 3:54 hours apm0: flags 30102 dobusy 0 doidle 1 pcibios0 at bios0: rev 2.1 @ 0xf/0x1 pcibios0: PCI IRQ Routing Table rev 1.0 @ 0xfbb90/208 (11 entries) pcibios0: PCI Interrupt Router at 000:31:0 (Intel 82371 ISA and IDE rev 0x00) pcibios0: PCI bus #4 is the last bus bios0: ROM list: 0xc/0x1 cpu0 at mainbus0 pci0 at mainbus0 bus 0: configuration mode 1 (no bios) pchb0 at pci0 dev 0 function 0 Intel 82830MP CPU-I/O-1 rev 0x02 ppb0 at pci0 dev 1 function 0 Intel 82830MP CPU-AGP rev 0x02 pci1 at ppb0 bus 1 vga1 at pci1 dev 0 function 0 ATI Radeon Mobility M6 LY rev 0x00 wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) wsdisplay0: screen 1-5 added (80x25, vt100 emulation) uhci0 at pci0 dev 29 function 0 Intel 82801CA/CAM USB rev 0x01: irq 11 usb0 at uhci0: USB revision 1.0 uhub0 at usb0 uhub0: Intel UHCI root hub, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered ppb1 at pci0 dev 30 function 0 Intel 82801BAM Hub-to-PCI rev 0x41 pci2 at ppb1 bus 2 xl0 at pci2 dev 0 function 0 3Com 3c905C 100Base-TX rev 0x78: irq 11, address 00:06:5b:36:f8:e1 exphy0 at xl0 phy 24: 3Com internal media interface cbb0 at pci2 dev 1 function 0 Texas Instruments PCI1420 CardBus rev 0x00: irq 11 cbb1 at pci2 dev 1 function 1 Texas Instruments PCI1420 CardBus rev 0x00: irq 11 cardslot0 at cbb0 slot 0 flags 0 cardbus0 at cardslot0: bus 3 device 0 cacheline 0x8, lattimer 0x20 pcmcia0 at cardslot0 cardslot1 at cbb1 slot 1 flags 0 cardbus1 at cardslot1: bus 4 device 0 cacheline 0x8, lattimer 0x20 pcmcia1 at cardslot1 ichpcib0 at pci0 dev 31 function 0 Intel 82801CAM LPC rev 0x01: SpeedStep pciide0 at pci0 dev 31 function 1 Intel 82801CAM IDE rev 0x01: DMA, channel 0 configured to compatibility, channel 1 configured to compatibility wd0 at pciide0 channel 0 drive 0: HITACHI_DK23CA-30 wd0: 16-sector PIO, LBA, 28615MB, 58605120 sectors wd0(pciide0:0:0): using PIO mode 4, Ultra-DMA mode 5 pciide0: channel 1 ignored (disabled) auich0 at pci0 dev 31 function 5 Intel 82801CA/CAM AC97 rev 0x01: irq 11, ICH3 AC97 ac97: codec id 0x4352595b (Cirrus Logic CS4205 rev 3) ac97: codec features mic channel, tone, simulated stereo, bass boost, 20 bit DAC, 18 bit ADC, SRS 3D audio0 at auich0 Intel 82801CA/CAM Modem rev 0x01 at pci0 dev 31 function 6 not configured isa0 at ichpcib0 isadma0 at isa0 pckbc0 at isa0 port 0x60/5 pckbd0 at pckbc0 (kbd slot) pckbc0: using irq 1 for kbd slot wskbd0 at pckbd0: console keyboard, using wsdisplay0 pms0 at pckbc0 (aux slot) pckbc0: using irq 12 for aux slot wsmouse0 at pms0 mux 0 pcppi0 at isa0 port 0x61 midi0 at pcppi0: PC speaker spkr0 at pcppi0 lpt0 at isa0 port 0x378/4 irq 7 npx0 at isa0 port 0xf0/16: using exception 16 pccom0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo pccom1 at isa0 port 0x2f8/8 irq 3: ns16550a, 16 byte fifo fdc0 at isa0 port 0x3f0/6 irq 6 drq 2 fd0 at fdc0 drive 0: 1.44MB 80 cyl, 2 head, 18 sec fd1 at fdc0 drive 1: density unknown biomask ef65 netmask ef65 ttymask ffe7 pctr: 686-class user-level performance counters enabled mtrr: Pentium Pro MTRR support ath0 at cardbus1 dev 0 function 0 Atheros Communications, Inc., AR5001--, Wireless LAN Reference Card: irq 11 ath0: AR5213 7.9 phy 4.5 rf2112a 5.6: RF radio not supported uhidev0 at uhub0 port 1 configuration 1 interface 0 uhidev0: A4Tech USB Optical Mouse, rev 1.10/0.01, addr 2, iclass 3/1 ums0 at uhidev0: 7 buttons and Z dir. wsmouse1 at ums0 mux 0 dkcsum: wd0 matches BIOS drive 0x80 root on wd0a rootdev=0x0 rrootdev=0x300 rawdev=0x302
Re: Sys-Admin vs Network Admin
On 3/30/06, Ioan Nemes [EMAIL PROTECTED] wrote: Certainly, but it really depends on how security-aware those sysadmins are. Here, a security team is necessary to lay the LART upon the heads of those ubiquitous non-IT engineers who have been given sysadmin powers and who haven't a clue about security. It means when I discover a gaping hole in someone's project I don't have to waste my time wielding the LART. Greg Oh yeah! And when did you discovered the last security hole in a vendor's application, say Oracle? Would you really blame the sysadmin? Did you advised the corporate management to through out a SAP/PeopleSoft application because you can see hole in their application(s)? Or you talking here about perimeter security, like opening a port on one the firewalls? Huh? I'm not talking about any of the above and I'm not really talking talking about official sysadmins, either. I'm talking about security-ignorant non-computer engineers that have root and no one's going to take root away from them. No need to reply to me, I read the list. Greg
Re: diff: plug telldir/seekdir leaks and more (fwd)
Trying to find testers, see below Yep, count me in. (I installed 3.8 for a local company [instead of a broken W2k box] a while back. Worked well, except Samba panicked regularly - one specific user. After sitting down to watch said user, realised she was saving files into a folder already containing 22,000 files. Avoiding that folder solved the problem totally. I can replicate it on my test boxen here. I believe the issue is related - if not, ignore me, as I am clearly clueless.) Contact me off-list if I can help. Steve http://www.fivetrees.com
OpenBSD 3.8 on HP NC6000
I've recently acquired a NC6000 laptop from HP, which I was going to setup with OpenBSD. My first attempt worked perfectly, had X configured and running as well as a few apps under it. However when I tried to get APM to read the battery status, it simply was not able to do so. I figured the problem had to do with the older BIOS on the laptop, so I download and installed the latest version from the HP web site. The new BIOS now has a battery info page whereas it did not before. This is where things get fun... I tried to boot up my system but OpenBSD crashed almost immediately after the initial boot prompt. Obviously I figured that the BIOS update had something to do with it, but as a test I tried to boot with single user mode - still crashed. Ok, big deal I can just reinstall it... Even when booting off the install CD gives me a crash nearly immediately after startup I don't have any way of capturing the screen, but here are the last few lines: Uhub1 at usb1 Uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 Uhub1: 2 ports with 2 removable, self powered Uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x03: irq 10 Uvm_fault(0xd0gga340, 0x0, 0, 1) - e Fatal page fault in supervisor mode Trap type 6 code 0 eip d02ceebf cs 50 eflags 10202 cr2 4 cpl 40 Panic: trap type 6, code=0, pc=d02ceebf The operating system has halted. Press any key to reboot. The hardware is fine, I've done a test install of Windows XP and Fedora Core 5 on it both of which installed and ran fine... I've been meaning to play with and learn Fedore, so I suppose I could live with it, but frankly I'd rather run OpenBSD... Any ideas as to what this error means and what caused it? Better yet, is there any way to work around it? Thanks, Peter
Firefox with Java and Flash
Hi all, I have installed in my machine both firefox web browser and java plugin (compiled on my own machine). The java plugin works fine with opera, but I'd like to use it with firefox, but I don't know where to put it. Does anyone here from list know where to place the plugins? I've seen the FAQ before, but it only reports about Opera. Thanks -- Joco Salvatti Undergraduating in Computer Science Federal University of Para - UFPA web: http://salvatti.expert.com.br e-mail: [EMAIL PROTECTED]
Re: Sys-Admin vs Network Admin
. No need to reply to me, I read the list. Greg My apologies. Ioan http://www.netcleanse.com
Re: Sys-Admin vs Network Admin
On Tuesday 28 March 2006 04:32, Qwerty wrote: Hi All, Would it be fair to say that a Systems Administrator and a Network Administrator are no longer two seperate entities but have become one and the same. Don't the two dabble more and more into each other's business. I'd say it depends highly on the company you work for and what business it's in. Some distinguish these roles, others do not. I personally am effectively both. --- Lars Hansson
Re: OpenBSD 3.8 on HP NC6000
Peter Bako wrote: I don't have any way of capturing the screen, but here are the last few lines: Uhub1 at usb1 Uhub1: Intel UHCI root hub, rev 1.00/1.00, addr 1 Uhub1: 2 ports with 2 removable, self powered Uhci2 at pci0 dev 29 function 2 Intel 82801DB USB rev 0x03: irq 10 Uvm_fault(0xd0gga340, 0x0, 0, 1) - e Fatal page fault in supervisor mode Trap type 6 code 0 eip d02ceebf cs 50 eflags 10202 cr2 4 cpl 40 Panic: trap type 6, code=0, pc=d02ceebf The operating system has halted. Press any key to reboot. As a wild guess, try boot -c and disable uhci*.
Re: Sys-Admin vs Network Admin
Ioan Nemes [EMAIL PROTECTED] writes: One of them administer systems (might have a hundred of *NIX - and other servers to look after), the other one administers the network (and might have a few hundred network devices, like routers, firewalls, etc.). They might not even see each other for months! Can you see the difference? Of course. Most of the time there is a real need for a separate network team. Network management has very little to do with the day to day maintenance of unix systems. The two can easily be separated. But can you separate unix administration and unix security so easily? The problem I've been seeing is more like this: IT department structures where there are teams for doing nothing managing the web server processes and document roots, teams only for handling identity management and account creation, teams for security, DBA teams that own their special slice of the OS. All teams that never meet or collaborate. I've also worked for a couple of very large organizations that did it the right way - they split teams of sysadmins off according to the projects that they were responsible for, and let them have complete control over them. My suggestion, in the article I linked to previously, was to get rid of this rigid compartmentalization and to pay more attention to systems as a whole. Some single entity, be it a person or a team, needs to have full knowledge and control and ownership of the systems they are responsible for -- and this means security -- or those systems are going to be out of control. To me, the worst part is taking the security responsibility out of the hands of the system administrators and giving it to people who have no responsibility for the systems they are evaluating. This creates an adversarial relationship between the teams, and (this is the part dear to me) it strongly devalues the role of the system administrator. The competent ones will leave, and their replacements will be ever more incompetent, even dangerously so. -- deanna
Re: Sys-Admin vs Network Admin
On 3/31/06, Donald J. Ankney [EMAIL PROTECTED] wrote: My job doesn't discriminate :) I'm technically a Network admin but my duties are equally split between that, sys ad, and dba. Mine Too :-) And I think this is especially true if you work in the smaller companies. Kind Regards -- Siju Oommen George, Network Consultant. HiFX IT MEDIA SERVICES PVT. LTD. http://www.hifx.net
Re: Sys-Admin vs Network Admin
In the small business I am working for, I am both. I administer the firewall and the BSD box which will replace the current windows file server. Unfortunately, because I am new, he wants a professional. I think it's because I constantly remind him that his security needs improvement: better passwords (they're all 4 numbers with 2 lower-case letters at the end), better organization of data for backing up, etc. But boy, will he be shocked to find out how much a professional will charge him per hour! He only paid me 7.50 USD/hour. Where I live, the statistics for network administrators show that the average pay is 30 USD/hour. Sorry, I got off topic. A Qwerty wrote: Hi All, Would it be fair to say that a Systems Administrator and a Network Administrator are no longer two seperate entities but have become one and the same. Don't the two dabble more and more into each other's business. Thanks Danny __ Get your FREE Central.co.za Email today www.central.co.za
Re: Firefox with Java and Flash
do a search of the list archives; I remember somebody asking the same question a few weeks ago and getting flamed for it. The answer was also in there too ;) A Joco Salvatti wrote: Hi all, I have installed in my machine both firefox web browser and java plugin (compiled on my own machine). The java plugin works fine with opera, but I'd like to use it with firefox, but I don't know where to put it. Does anyone here from list know where to place the plugins? I've seen the FAQ before, but it only reports about Opera. Thanks -- Joco Salvatti Undergraduating in Computer Science Federal University of Para - UFPA web: http://salvatti.expert.com.br e-mail: [EMAIL PROTECTED]
rotating apache logs
Hi. What is the best way to rotate apache logs on OpenBSD? Ideally I would like to create a new one at the beginning of each month. I searched my system for logrotate and could not find it. Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
Re: diff: plug telldir/seekdir leaks and more (fwd)
On Fri, 31 Mar 2006, Steve Fairhead wrote: Trying to find testers, see below Yep, count me in. (I installed 3.8 for a local company [instead of a broken W2k box] a while back. Worked well, except Samba panicked regularly - one specific user. After sitting down to watch said user, realised she was saving files into a folder already containing 22,000 files. Avoiding that folder solved the problem totally. I can replicate it on my test boxen here. I believe the issue is related - if not, ignore me, as I am clearly clueless.) Contact me off-list if I can help. Taking the liberty to reply on-list, to draw some attention to this. Yes, the diff is supposed to fix the many files in dir problem in samba. From your post it is not clear if you actually tested the diff (or have used a snapshot, the diff is included in recent snaps). So please try to reproduce this, and report back. While the memroy leak should be gone, there might still be a performance problem with large dirs. I have something up my sleave to solve the potential performance problem as well. -Otto
Re: ADSL with pppoa (over ATM)
My ADSL connection is PPPoA only, which is just PPPoE with ATM. They work at different layers so if you bridge your adsl modem and handle only the ATM part, then openbsd pppoe can do the rest. So this means your ADSL modem will have no public facing IP and reconnecting to it may be tricky once you have set it up. So be careful how you set it up. Can you please post your ppp configuration file? So on the Dlink modem all you just did was to set it on bridge mode. Why it shouldn't work with the 1-port version? I have this (300t) :-( but I upgraded the firmware
Re: Firefox with Java and Flash
On Friday 31 March 2006 03.05, you wrote: Hi all, I have installed in my machine both firefox web browser and java plugin (compiled on my own machine). The java plugin works fine with opera, but I'd like to use it with firefox, but I don't know where to put it. Does anyone here from list know where to place the plugins? I've seen the FAQ before, but it only reports about Opera. Thanks -- Joco Salvatti Undergraduating in Computer Science Federal University of Para - UFPA web: http://salvatti.expert.com.br e-mail: [EMAIL PROTECTED] Is this a question for OpenBSD misc? But how about the plugins directory below the firefox installdir? Or your own plugin dir below ~/.mozilla Check in firefox by typing about:plugins in the url field. /Per-Olov -- GPG keyID: 4DB283CE GPG fingerprint: 45E8 3D0E DE05 B714 D549 45BC CFB4 BBE9 4DB2 83CE
Re: rotating apache logs
On Friday 31 March 2006 09.05, you wrote: Hi. What is the best way to rotate apache logs on OpenBSD? Ideally I would like to create a new one at the beginning of each month. I searched my system for logrotate and could not find it. Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com /etc/newsyslog.conf Like /var/www/logs/access_log644 60*$D0 Z /var/www/logs/httpd.pid SIGUSR1 One log per month sounds like they could grow a bit... I rotate every midnight. /Per-Olov -- GPG keyID: 4DB283CE GPG fingerprint: 45E8 3D0E DE05 B714 D549 45BC CFB4 BBE9 4DB2 83CE