Re: Messages from rc-scripts are not displayed at all

2006-06-07 Thread Sergei Mozhaisky
Hello. The problem is much more complex, I suppose. Not only rc-scripts messages aren't display, there are no messages at all, from any scripts and programs, started between kernel boot and login prompt. Strange. - What does ls -la /dev/console show? 0 crw--- 1 root wheel 0,23

Re: Messages from rc-scripts are not displayed at all

2006-06-07 Thread Doug Barton
Do you have a /boot.config file? If so, delete it. Also, try enabling console logging in /etc/syslog.conf, and see if you get anything there. hth, Doug -- This .signature sanitized for your protection ___ freebsd-stable@freebsd.org mailing list

Re: How can I know which files a proccess is accessing?

2006-06-07 Thread Peter Jeremy
On Tue, 2006-Jun-06 18:16:39 -0300, Eduardo Meyer wrote: On 6/6/06, David Wolfskill [EMAIL PROTECTED] wrote: You may find the lsof port useful for answering such questions. I tried it, but it seems that I found some limitations: lsof: no local file space at PID 16543 I don't know that exact

Re: Error while 'make buildworld' in terminal.o

2006-06-07 Thread Peter Jeremy
On Wed, 2006-Jun-07 10:03:12 +0900, ?? ??? wrote: After that, I was re-synchronise /usr/src by cvsup whith tag 'src-all'. Gave command`s: # make cleandepends # make cleanworld Possibly there's some buildworld output inside your /usr/src tree. Try deleting /usr/obj and then

Re[2]: Error while 'make buildworld' in terminal.o

2006-06-07 Thread Марков Дмитрий Владимирович
Peter On Wed, 2006-Jun-07 10:03:12 +0900, ?? ??? wrote: After that, I was re-synchronise /usr/src by cvsup whith tag 'src-all'. Gave command`s: # make cleandepends # make cleanworld Peter Possibly there's some buildworld output inside your /usr/src tree. Peter Try deleting

Yet another LOR

2006-06-07 Thread Václav Haisman
Hi, I've yet another LOR to report. -- Vaclav Haisman Jun 6 21:14:08 logout kernel: lock order reversal: (sleepable after non-sleepable) Jun 6 21:14:08 logout kernel: 1st 0xc45651f8 inp (tcpinp) @ /usr/src/sys/netinet/tcp_usrreq.c:1029 Jun 6 21:14:08 logout kernel: 2nd 0xc3a2f9a4 user map

Re: LOR in vnode interlock and system map

2006-06-07 Thread Bjoern A. Zeeb
On Mon, 29 May 2006, Václav Haisman wrote: See attached file. The kernel is todays CVS 6.1. lock order reversal: 1st 0xc3d4bb1c vnode interlock (vnode interlock) @ sys/kern/vfs_subr.c:2218 2nd 0xc1043144 system map (system map) @ sys/vm/vm_kern.c:295 added with LOR ID 188:

Re: LOR in vnode interlock and system map

2006-06-07 Thread Bjoern A. Zeeb
On Mon, 29 May 2006, Konstantin Belousov wrote: lock order reversal: 1st 0xc1a018f0 vnode interlock (vnode interlock) @ /usr/home/kostik/work/b= sd/sys/kern/vfs_subr.c:2449 2nd 0xc0c43144 system map (system map) @ /usr/home/kostik/work/bsd/sys/vm/= vm_kern.c:295 added with LOR ID 189:

reading process memory

2006-06-07 Thread Tofik Suleymanov
Hello, folks I believe that it is possible to read contents of the memory used/utilized by a process (assuming right privileges). First i've tried to do this through procfs by reading 'mem' property of the given process, but no success. Maybe there is another way of doing such things ? Any

Re: Yet another LOR

2006-06-07 Thread Bjoern A. Zeeb
On Wed, 7 Jun 2006, Václav Haisman wrote: I've yet another LOR to report. lock order reversal: (sleepable after non-sleepable) 1st 0xc45651f8 inp (tcpinp) @ sys/netinet/tcp_usrreq.c:1029 2nd 0xc3a2f9a4 user map (user map) @ sys/vm/vm_map.c:2997 added with LOR ID 190:

Re: MySQL, ntpd, and kern.timecounter

2006-06-07 Thread Lowell Gilbert
John Nielsen [EMAIL PROTECTED] writes: I have a FreeBSD 6.1 machine set up as a web and MySQL database server. Since the application is a bit database-intensive, I followed several of the MySQL tuning recommendations from this page: http://wikitest.freebsd.org/MySQL One of those was to

Re: How can I know which files a proccess is accessing?

2006-06-07 Thread Eduardo Meyer
# ps 16543 PID TT STAT TIME COMMAND 16543 ?? S 0:02.43 /usr/local/sbin/httpd -k start -DSSL Any tuning would do the job? Are you running with tightened up security that might prevent fstat from accessing /dev/kmem? I don't know fstat failures from experience or what causes

Re: Error while 'make buildworld' in terminal.o

2006-06-07 Thread Lowell Gilbert
Марков Дмитрий Владимирович [EMAIL PROTECTED] writes: A was synchronise my source to RELENG_5_3 by cvsup. That branch is no longer active. The release engineers are not necessarily paying attention to it. cc -O2 -pipe -DINFODIR=\/usr/share/info:/usr/local/info:/usr/X11R6/info:.\

Re: MySQL, ntpd, and kern.timecounter

2006-06-07 Thread John Nielsen
On Wednesday 07 June 2006 08:15, Lowell Gilbert wrote: John Nielsen [EMAIL PROTECTED] writes: I have a FreeBSD 6.1 machine set up as a web and MySQL database server. Since the application is a bit database-intensive, I followed several of the MySQL tuning recommendations from this page:

Re: How can I know which files a proccess is accessing?

2006-06-07 Thread pete wright
On 6/6/06, Darren Pilgrim [EMAIL PROTECTED] wrote: Eduardo Meyer wrote: Hello, I need to know which files under /var a proccess (httpd here) is acessing. It is not logs because I have a different partition for logs. gstat tells me that slice ad0s1h (my /var) is 100% frequently, and in

Re: Dual Opteron system will not run SMP

2006-06-07 Thread Pete French
If just non-ACPI isnt sufficient, the other thing SAFE does is turn off disk DMA. I have an as-yet unreleased system that has this same type of issue, and the problem is that two PCI device ID's are not recognized, so maybe that will be your problem. So, I got around to booting the system

Re: reading process memory

2006-06-07 Thread James Riendeau
How are you defining assuming right privileges? The only way you're going to be able to read another processes address space is in the kernel. Even a process running as root is not able to read another process's data. One of the principle responsibilities of the OS is to manage the

Re: reading process memory

2006-06-07 Thread Tofik Suleymanov
James Riendeau wrote: How are you defining assuming right privileges? assuming uid 0 The only way you're going to be able to read another processes address space is in the kernel.Even a process running as root is not able to read another process's data. how does gdb then reads for example

ad4: FAILURE - out of memory in start

2006-06-07 Thread Mike Jakubik
Today i noticed this in the log of one of my systems. Does any one know what this means? The system has been up for over a month with no problems. --- Copyright (c) 1992-2006 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the

Re: Yet another LOR

2006-06-07 Thread Robert Watson
On Wed, 7 Jun 2006, Bjoern A. Zeeb wrote: On Wed, 7 Jun 2006, Václav Haisman wrote: I've yet another LOR to report. lock order reversal: (sleepable after non-sleepable) 1st 0xc45651f8 inp (tcpinp) @ sys/netinet/tcp_usrreq.c:1029 2nd 0xc3a2f9a4 user map (user map) @ sys/vm/vm_map.c:2997

carp with IPv6 broken on 6.1

2006-06-07 Thread Philippe Pegon
Hi, it seems that carp is really broken on FreeBSD 6.1 when an inet6 address is configured on a carp interface. Other persons observed the same symptoms. I filled a pr : kern/98622 thanks -- Philippe Pegon ___ freebsd-stable@freebsd.org mailing list

Re: How can I know which files a proccess is accessing?

2006-06-07 Thread Robert Watson
On Tue, 6 Jun 2006, Eduardo Meyer wrote: I need to know which files under /var a proccess (httpd here) is acessing. It is not logs because I have a different partition for logs. gstat tells me that slice ad0s1h (my /var) is 100% frequently, and in fact with fstat I can see a number of httpd

Re: Yet another LOR

2006-06-07 Thread Václav Haisman
Robert Watson wrote, On 7.6.2006 19:46: On Wed, 7 Jun 2006, Bjoern A. Zeeb wrote: On Wed, 7 Jun 2006, Václav Haisman wrote: I've yet another LOR to report. lock order reversal: (sleepable after non-sleepable) 1st 0xc45651f8 inp (tcpinp) @ sys/netinet/tcp_usrreq.c:1029 2nd 0xc3a2f9a4

Re: How can I know which files a proccess is accessing?

2006-06-07 Thread Lowell Gilbert
Eduardo Meyer [EMAIL PROTECTED] writes: My wish is that fstat had an option to show file name instead of inodes :) For those who pointed me using find(1) looking for inum from the output of fstat(1), thank you; it is a very heavy loading option (disk usage increases around 30% while doing

Re: How can I know which files a proccess is accessing?

2006-06-07 Thread Michael Hall
On Wed, Jun 07, 2006 at 08:20:03AM -0700, pete wright wrote: On 6/6/06, Darren Pilgrim [EMAIL PROTECTED] wrote: Eduardo Meyer wrote: Hello, I need to know which files under /var a proccess (httpd here) is acessing. It is not logs because I have a different partition for logs.

Re: Yet another LOR

2006-06-07 Thread Max Laier
On Wednesday 07 June 2006 19:46, Robert Watson wrote: On Wed, 7 Jun 2006, Bjoern A. Zeeb wrote: On Wed, 7 Jun 2006, Václav Haisman wrote: I've yet another LOR to report. lock order reversal: (sleepable after non-sleepable) 1st 0xc45651f8 inp (tcpinp) @ sys/netinet/tcp_usrreq.c:1029

6.1-R ? 6-Stable ? 5.5-R ?

2006-06-07 Thread Albert Shih
Hi all. I'm come back to ask you some question about what release I can use. I've nfs server running 6-Stable (5 April 2006) with some trouble but ... well approx stable. But today he crash again (after ~1.5 mounth). Now I'm like have some advise : 1/ I can upgrade to 6.1-Release,

pf buggy on 6.1-STABLE?

2006-06-07 Thread Mark Morley
Hi folks, Wondering if this rings any bells for anyone: After upgrading a handful of web servers from FreeBSD 4.11 with ipfw to 6.1-STABLE with pf, customers started reporting that occasionally their server side scripts would fail to connect to the SQL servers (which are still 4.11 and are

Re: reading process memory

2006-06-07 Thread Diomidis Spinellis
Tofik Suleymanov wrote: The only way you're going to be able to read another processes address space is in the kernel.Even a process running as root is not able to read another process's data. Incorrect; see this example: $ sed -e 's/this/that/' [1] 87345 $ /bin/su Password: # dd

Re: reading process memory

2006-06-07 Thread David Nugent
Tofik Suleymanov wrote: Thank you for brief and altogether extensive explanation of the case.The thing i wanted to do is to read let's say portions of memory where .bss and .data block of a running program reside. is that possible ? Yes. Debuggers offer this functionality, for example. man