Some dmesg errors

2002-01-19 Thread Tomasz Paszkowski

Hello,

I've jest cvsuped to recent current and got some errors in dmesg buffer:


1)
Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.0-CURRENT #0: Sat Jan 19 15:53:25 GMT 2002
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/COCOS5
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0358000.
Preloaded elf module "/boot/kernel/acpi.ko" at 0xc03580a8.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 801821689 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (801.82-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x686  Stepping = 6
  
Features=0x387f9ff
WARNING: Driver mistake: make_dev(perfmon) called before SI_SUB_DRIVERS

2)

microuptime() went backwards (509.4041326 -> 508.388712)
microuptime() went backwards (533.4159377 -> 532.512632)


-- 
   _ _    _   __ 
  /  \  | | / /  / \  / \  --- Tomasz Paszkowski --
  | |\ \| | \ \ |/ \||/ \| === IPv4://3646987138 === IPNg://3ffe:8010:88::2 ===
 /_/  \__/  /_/  \_/  \_/   http://plikoskop.pl ---

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



pthread programing

2001-06-13 Thread Tomasz Paszkowski


I was looking for thread-safe version of gethostbyname (), but I didn't
find it. Can someone tell me, does such a function exsist ?

Tomasz Paszkowski

--
 
"Existen dos productos importantes que salieron de Berkeley: LSD y UNIX.
No creemos que esto sea una coincidencia."
-- Jeremy Anderson

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: picking a DB (Re: nvi maintainer?)

2001-07-10 Thread Tomasz Paszkowski

On Mon, Jul 09, 2001 at 05:55:56PM -0400, [EMAIL PROTECTED] wrote:
> Well, it  started out discussing  the next  release of nvi  and promptly
> concluded, that it would require upgrading  dbm. So, now the issue is --
> which db to pick: the currently used (buggy), the DB3 (too restrictive a
> license, IMO), gdbm, or something else (Net or OpenBSD's?).

Does anyone have tried dxstore (http://www.dss.bc.ca/dxstore) ? I'am using
it in few very big projects and it works fine. And of course it has BSD-like
license.

-- 
   _ __   __ 
  /  \  | | / /  / \  / \  --- Tomasz Paszkowski --
  | |\ \| | \ \ |/ \||/ \| === IPv4://3575244866 === IPNg://3ffe:8010:59::2 ===
 /_/  \__/  /_/  \_/  \_/   ( 2B | ~ 2B ) == FF ---

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



open in kernelspace

2000-12-20 Thread Tomasz Paszkowski


 How to open && read file from kernel space. I have seen VOP_[READ,OPEN]
 but i think there's something easiest ?

-- 
   _ __   __ 
  /  \  | | / /  / \  / \  -- Tomasz Paszkowski --- NS88-6BONE 
  | |\ \| | \ \ |/ \||/ \| === BSD is for people who love Unix 
 /_/  \__/  /_/  \_/  \_/  --- Linux is for people who hate Microsoft -



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: open in kernelspace

2000-12-20 Thread Tomasz Paszkowski

On Wed, Dec 20, 2000 at 10:52:05PM +0100, Poul-Henning Kamp wrote:
> > How to open && read file from kernel space. I have seen VOP_[READ,OPEN]
> > but i think there's something easiest ?
> 
> VOP_* is the way to go.

 :(( So I'll have a long night

-- 
   _ __   __ 
  /  \  | | / /  / \  / \  -- Tomasz Paszkowski --- NS88-6BONE 
  | |\ \| | \ \ |/ \||/ \| === BSD is for people who love Unix 
 /_/  \__/  /_/  \_/  \_/  --- Linux is for people who hate Microsoft -



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: open in kernelspace

2000-12-20 Thread Tomasz Paszkowski

On Wed, Dec 20, 2000 at 11:10:53PM +0100, Poul-Henning Kamp wrote:
> Sorry, yes...
> 
> ktrace, various accounting and of course open(2) will be the best 
> places to start.
> 
> In all likely hood you're trying to do something the wrong way
> though...

I'm trying to open file located on /, from kernel module. I have tried
with open, but this function require arguments from user space.

I have find sth easiest vn_open, but still If someone know how to use
open in krenel space please tell me.

-- 
   _ __   __ 
  /  \  | | / /  / \  / \  -- Tomasz Paszkowski --- NS88-6BONE 
  | |\ \| | \ \ |/ \||/ \| === BSD is for people who love Unix 
 /_/  \__/  /_/  \_/  \_/  --- Linux is for people who hate Microsoft -



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



kernel panic

2001-01-04 Thread Tomasz Paszkowski



 Current from 03.01.2001 have kernel panic (GENERIC kernel configuration to),
 when doing /etc/periodic/weekly/310.locate >& /dev/null

-- 
   _ __   __ 
  /  \  | | / /  / \  / \  -- Tomasz Paszkowski --- NS88-6BONE 
  | |\ \| | \ \ |/ \||/ \| === BSD is for people who love Unix 
 /_/  \__/  /_/  \_/  \_/  --- Linux is for people who hate Microsoft -



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



securelevel and sysctl

2001-01-09 Thread Tomasz Paszkowski


 I'am working on module, which catches __sysctl system call, and on
 securelevel grater than 3, refuse any changes of sysctl oids. Are there any
 problems, which might happen after blocking sysctl oids change ?
 AFAIR there is no such application running in user Space,which requires
 ability to change sysctl oids,is there ?

 Secondly I'was thinking about oids,which are needed for user space aplications
 to work. I figured out,that vi use some (I didn't check which one) oid on
 startup, so is there a list of oids used by user space applications ?

-- 
   _ __   __ 
  /  \  | | / /  / \  / \  ------ Tomasz Paszkowski --- NS88-6BONE 
  | |\ \| | \ \ |/ \||/ \| === BSD is for people who love Unix 
 /_/  \__/  /_/  \_/  \_/  --- Linux is for people who hate Microsoft -



To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message