Re: Re: Aqcuiring full path to running process from outside the kernel

2006-08-22 Thread Reko Turja
- Original Message - From: "Sergey Babkin" <[EMAIL PROTECTED]> To: "Lutz Boehne" <[EMAIL PROTECTED]>; Sent: Tuesday, August 22, 2006 8:59 PM Subject: Re: Re: Aqcuiring full path to running process from outside thekernel So why not just change the compiler to put the contents of this

Re: style(9)-like guide for man pages

2006-08-22 Thread Maxim Konovalov
On Mon, 21 Aug 2006, 18:50+0200, Max Laier wrote: > On Monday 21 August 2006 18:26, Kostik Belousov wrote: > > is there style(9)-like guide for writing FreeBSD man pages ? > > "man mdoc" aka GROFF_MDOC(7) is the closest one I can think of. + /usr/share/examples/mdoc/ -- Maxim Konovalov

Re: Aqcuiring full path to running process from outside the kernel

2006-08-22 Thread M. Warner Losh
In message: <[EMAIL PROTECTED]> Sergey Babkin <[EMAIL PROTECTED]> writes: : >From: Lutz Boehne <[EMAIL PROTECTED]> : > : >> but argv[0] is either an absolute path or a path relative to pwd, : >> unless your shell is broken. : > : >One should also consider users breaking argv[0] intentio

Re: SER Core Dumps

2006-08-22 Thread Maxim Sobolev
Dan Nelson wrote: In the last episode (Aug 18), Jean-Michel Hiver said: Kris Kennaway a écrit : On Fri, Aug 18, 2006 at 10:37:43AM +0400, Jean-Michel Hiver wrote: FreeBSD's SER port core dumps when I start it with 'fork=yes' in the config file. The OS is freebsd 6.1, the platform is: Typicall

reiser4 in fbsd

2006-08-22 Thread Meka[ni]
This is not another request for implementing reiser4. I want to do it, just need some help. First, if anyone would like to implement it, i suppose (s)he would contact you. So, is there anyone on this project? If no, what should I read? I`m not using fbsd for ... hm ... years, so I`ve for

Re: LSI-MegaRAID 150-4 BTX Halted on 5.4, 5.5, 6.1

2006-08-22 Thread John Baldwin
On Tuesday 22 August 2006 16:44, Carroll Kong wrote: > > -Original Message- > > From: John Baldwin [mailto:[EMAIL PROTECTED] > > Sent: Tuesday, August 22, 2006 3:07 PM > > To: freebsd-hackers@freebsd.org > > Cc: Carroll Kong > > Subject: Re: LSI-MegaRAID 150-4 BTX Halted on 5.4, 5.5, 6.1 >

Re: 6-STABLE snapshot (background fsck) lock-up

2006-08-22 Thread Eric Anderson
On 08/22/06 15:47, Pawel Jakub Dawidek wrote: On Tue, Aug 22, 2006 at 03:38:15PM -0500, Eric Anderson wrote: Did you get a chance to look at those screenshots? I'm curious to know if you also think it is gjournal related. I've stopped loading gjournal, and I've had no other related deadlocks.

Re: 6-STABLE snapshot (background fsck) lock-up

2006-08-22 Thread Pawel Jakub Dawidek
On Tue, Aug 22, 2006 at 03:38:15PM -0500, Eric Anderson wrote: > Did you get a chance to look at those screenshots? I'm curious to know if > you also think it is gjournal related. I've stopped loading gjournal, and > I've had no other > related deadlocks. I'm out of town tomorrow, I'll try to

RE: LSI-MegaRAID 150-4 BTX Halted on 5.4, 5.5, 6.1

2006-08-22 Thread Carroll Kong
> -Original Message- > From: John Baldwin [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 22, 2006 3:07 PM > To: freebsd-hackers@freebsd.org > Cc: Carroll Kong > Subject: Re: LSI-MegaRAID 150-4 BTX Halted on 5.4, 5.5, 6.1 > > On Tuesday 22 August 2006 00:12, Carroll Kong wrote: > > I am

Re: 6-STABLE snapshot (background fsck) lock-up

2006-08-22 Thread Eric Anderson
On 08/17/06 10:06, Eric Anderson wrote: On 08/17/06 10:04, Kostik Belousov wrote: On Thu, Aug 17, 2006 at 09:53:28AM -0500, Eric Anderson wrote: On 08/17/06 07:30, Eric Anderson wrote: On 08/17/06 07:25, Kostik Belousov wrote: On Thu, Aug 17, 2006 at 07:08:31AM -0500, Eric Anderson wrote: I'v

devfs related panic info

2006-08-22 Thread Eric Anderson
While removing a tape device from an FC fabric, I got a nice panic. I have screen captures posted here: http://www.googlebit.com/freebsd/snapshots/devfs_panic/ This is 6-STABLE (amd64) as of about a week ago. Sorry for the screen captures - that's all I had at the time. I do have a vmcore s

Re: LSI-MegaRAID 150-4 BTX Halted on 5.4, 5.5, 6.1

2006-08-22 Thread John Baldwin
On Tuesday 22 August 2006 00:12, Carroll Kong wrote: > I am trying to install FreeBSD on a new Intel Server SE7230NH1-E using a > PCI-X riser card on the Intel S1475 chassis, pentium D 3.2 gig dual core > proc 940. > > Whenever I try to install using the CDROM for 5.4, 5.5, and 6.1... BTX halts >

Re: get DMI information in kernel

2006-08-22 Thread Stefan Bethke
Am 22.08.2006 um 14:45 schrieb [EMAIL PROTECTED]: How do i get DMI Informations (stuff displayed by dmidecode) in a kernel module? I need some "System Information" like Vendor,Model and OEM String identifying hardware on a Thinkpad. kenv(2) has smbios entries; they're available through gete

Re: Re: Aqcuiring full path to running process from outside the kernel

2006-08-22 Thread Sergey Babkin
>From: Lutz Boehne <[EMAIL PROTECTED]> > >> but argv[0] is either an absolute path or a path relative to pwd, >> unless your shell is broken. > >One should also consider users breaking argv[0] intentionally, e.g. >pointing it to other files which could lead to undesired/unpredictable >behaviour.

Re: LSI-MegaRAID 150-4 BTX Halted on 5.4, 5.5, 6.1

2006-08-22 Thread Freddie Cash
On Mon, August 21, 2006 9:12 pm, Carroll Kong wrote: > I am trying to install FreeBSD on a new Intel Server SE7230NH1-E > using a PCI-X riser card on the Intel S1475 chassis, pentium D 3.2 > gig dual core proc 940. > > Whenever I try to install using the CDROM for 5.4, 5.5, and 6.1... > BTX halts i

Re: Aqcuiring full path to running process from outside the kernel

2006-08-22 Thread Lutz Boehne
but argv[0] is either an absolute path or a path relative to pwd, unless your shell is broken. One should also consider users breaking argv[0] intentionally, e.g. pointing it to other files which could lead to undesired/unpredictable behaviour. Even as a fallback it's probably not wise to tr

Re: Aqcuiring full path to running process from outside the kernel

2006-08-22 Thread Mike Meyer
In <[EMAIL PROTECTED]>, Dag-Erling Smørgrav <[EMAIL PROTECTED]> typed: > Mike Meyer <[EMAIL PROTECTED]> writes: > > In <[EMAIL PROTECTED]>, Dag-Erling Smørgrav <[EMAIL PROTECTED]> typed: > > > You got it the wrong way around. First pass argv[0] to realpath(3), > > > fall back to using $PATH only i

get DMI information in kernel

2006-08-22 Thread m . ehinger
Hello, how do i get DMI Informations (stuff displayed by dmidecode) in a kernel module? I need some "System Information" like Vendor,Model and OEM String identifying hardware on a Thinkpad. Can anybody give me a hint on that? Thanks in advance, Maik ___

Re: About loader(8) forth

2006-08-22 Thread Oliver Fromme
Matteo Riondato <[EMAIL PROTECTED]> wrote: > I'm trying to understand how the loader forth works to see if it's > possible to develop something similar to knoppix boot menu and use it > for FreeSBIE. > Just to have a try, I replaced /boot/beastie.4th with file a > containing only: >

Re: Aqcuiring full path to running process from outside the kernel

2006-08-22 Thread Dag-Erling Smørgrav
Mike Meyer <[EMAIL PROTECTED]> writes: > In <[EMAIL PROTECTED]>, Dag-Erling Smørgrav <[EMAIL PROTECTED]> typed: > > You got it the wrong way around. First pass argv[0] to realpath(3), > > fall back to using $PATH only if realpath(3) fails (which it shouldn't > > unless you've called chdir(2), chro

Re: exception handling in kernel code

2006-08-22 Thread Attilio Rao
2006/8/14, Stanislav Sedov <[EMAIL PROTECTED]>: On Mon, 14 Aug 2006 09:32:57 -0400 John Baldwin <[EMAIL PROTECTED]> mentioned: > > You can make use of pcb_onfault to recover from a page fault, but that's > about it. Kernel code is expected to not generate exceptions. :) > Thanks a lot! I'll try