Re: DEVFS newbie...

2001-02-02 Thread Warner Losh
In message <[EMAIL PROTECTED]> Julian Elischer writes: : you can't.. what is the major number? : : You don't know because they will be dynamically assigned. : Only the kernel knows. : Eventually, major numbers may go away entirely, (or just be a : comlpetely random meaningless number, present

Re: DEVFS newbie...

2001-02-02 Thread Warner Losh
In message <18334.980748975@critter> Poul-Henning Kamp writes: : >1. Say I want to use DEVFS, what should I change? : : Nothing. Just add DEVFS to your kernel config file. So it updates /dev all by itself? What if I want dev nodes elsewhere in the tree, say for a jail? Warner To Unsubscri

Re: Watch your devfs permissions in driver make_dev calls

2001-02-02 Thread Peter Wemm
Robert Watson wrote: > crw-r--r-- 1 root wheel 78, 0 Dec 31 1969 pci This one may appear harmless, but it is not. It is trivially easy to create an alignment fault (fatal on an alpha) with the userland pciconf tool. We must not allow this to be used by users until the kernel part i

Re: devfs not making vn devices

2001-02-02 Thread Peter Wemm
Doug Barton wrote: > I've been using devfs for a long time without problems. I had > device vn in my kernel conf since the pre-devfs days, and today I needed > to use a vn device to build picobsd. Lo and behold, I don't have any vn > devices of any sort in /dev. I tried 'vnconfig -c /dev/vn0

FreeBSD Security Advisory: FreeBSD-SA-01:20.egos

2001-02-02 Thread FreeBSD Security Advisories
= FreeBSD-SA-01:09Security Advisory FreeBSD, Inc. Topic: Local ego exploit Category: (l)users Ann

RE: devfs not making vn devices

2001-02-02 Thread John Baldwin
On 03-Feb-01 Doug Barton wrote: > I've been using devfs for a long time without problems. I had > device vn in my kernel conf since the pre-devfs days, and today I needed > to use a vn device to build picobsd. Lo and behold, I don't have any vn > devices of any sort in /dev. I tried 'vnconf

Re: about ppp..

2001-02-02 Thread Idea Receiver
On Fri, 2 Feb 2001, Julian Elischer wrote: > Idea Receiver wrote: > > > > On Fri, 26 Jan 2001, Julian Elischer wrote: > > > how 'current' are your systems? > > > when did this behaviour start? > > > (i.e. before or after the latest round of netgraph changes?) > > > > it is before new netgraph

Re: RFC: user-config alt path in Linux emulation

2001-02-02 Thread Marcel Moolenaar
Andrea Campi wrote: > > When running a Linux binary in Linux compat mode, all calls to open(), > readdir() and such, end up calling linux_emul_find() from linux_util.c. > This functions looks for a directory/file with the same name in the > /compat/linux hierarchy. > The net effect is that there

devfs not making vn devices

2001-02-02 Thread Doug Barton
I've been using devfs for a long time without problems. I had device vn in my kernel conf since the pre-devfs days, and today I needed to use a vn device to build picobsd. Lo and behold, I don't have any vn devices of any sort in /dev. I tried 'vnconfig -c /dev/vn0' but it also complained

DEVFS

2001-02-02 Thread Wesley Morgan
With devfs "default" in -current, I have a question about permissions. I know that rc.devfs will set up custom permissions at boot... But what about a device that detaches? When you re-attach, it goes back to the default permissions. This is a bit annoying; is there a workaround for it? Should thi

Patch for non-netgraph bridge code worthy of attention for people experimenting with bridging setups (including ng_bridge)

2001-02-02 Thread Rogier R. Mulhuijzen
I found this while experimenting with both "legacy" bridge and ng_bridge. The bridging code doesn't check its activation everywhere so when I started using an ng_bridge node I started getting weird errors. Patch is rather simple, can someone submit this? DocWilco >Date: Mon, 29 Jan 2

Re: pcm driver and DEVFS

2001-02-02 Thread Brian Somers
> On Fri, Feb 02, 2001 at 04:11:29PM +0900, Yoshihiro Koya wrote: > > Hello, > > > > I did make world a couple days ago. The system was built from cvsup'd > > source on Jan 30: > > >-- > > elf make world started on Tue Jan 30 06:2

Re: Wierd behaviour [UPDATE]

2001-02-02 Thread Ollivier Robert
According to Jake Burkholder: > Are you running a stripped down kernel? or generic? Heavily trimmed down kernel. I can still boot my June, 4th kernel just fine (and it had more things in it). I'm looking at the hints (will try to compile them statically) because it is close to what the comme

Watch your devfs permissions in driver make_dev calls

2001-02-02 Thread Robert Watson
Driver developers! As you probably know by now, Poul-Henning has enabled DEVFS in the GENERIC kernel on FreeBSD 5.0-CURRENT. This is a strong feature and it's great to see it getting brought back to life. However! Many of consumers of make_dev() have chosen their default permissions somewhat

Re: program hangs in thread scheduler

2001-02-02 Thread Jason Evans
On Thu, Feb 01, 2001 at 02:08:54PM -0500, Mike Heffner wrote: > > Is this a problem with the thread scheduler or is this somehow related to the > application? > > (gdb) bt > #0 0x284d74cc in poll () from /usr/lib/libc.so.5 > #1 0x2848ce74 in thread_kern_poll (wait_reqd=1) > at /usr/src/lib

RE: pcm driver and DEVFS

2001-02-02 Thread John Baldwin
On 02-Feb-01 Yoshihiro Koya wrote: > Hello, > > I did make world a couple days ago. The system was built from cvsup'd > source on Jan 30: >>-- > elf make world started on Tue Jan 30 06:23:38 JST 2001 >>

Re: Wierd behaviour [UPDATE]

2001-02-02 Thread Jake Burkholder
> Update to my previous mail: > > trying a PRE_SMPNG kernel doesn't change anything, it still displays > nothing. I've also updated my /boot/loader and bootblocks. > > Still no idea? Are you running a stripped down kernel? or generic? There's a problem with kernels that are too large not boot

Re: about ppp..

2001-02-02 Thread Julian Elischer
Idea Receiver wrote: > > On Fri, 26 Jan 2001, Julian Elischer wrote: > > how 'current' are your systems? > > when did this behaviour start? > > (i.e. before or after the latest round of netgraph changes?) > > it is before new netgraph... > i think the new netgraph cause the same problem as well.

Re: kernel threading: the first steps [patch]

2001-02-02 Thread Julian Elischer
Peter Jeremy wrote: > > On 2001-Jan-27 00:33:23 -0800, Root Dude <[EMAIL PROTECTED]> wrote: > >I've broken the proc structure into 4 structures. > > Leaving aside the issue of whether or your efforts were a waste of time, > I have some comments on the ordering of fields. Since the fields are >

Win a top of the range iMac, Palm Pilot or Discman

2001-02-02 Thread Mailer
      Connect to your future and start 2001 as a winnerWin a top of the r

GET LOANS UP TO $1,000,000 Bad Credit OK!

2001-02-02 Thread vishel
Title: catalyst_mortgage Mortgage Services 4 You Helping To Make Your Dreams Come True What are your immediate dreams? Do you want to Refinance your existing loan, purchase a new home, consolidate your bills, make home improvements

Re: pcm driver and DEVFS

2001-02-02 Thread Alex Kapranoff
On Fri, Feb 02, 2001 at 04:11:29PM +0900, Yoshihiro Koya wrote: > Hello, > > I did make world a couple days ago. The system was built from cvsup'd > source on Jan 30: > >-- > elf make world started on Tue Jan 30 06:23:38 JST 2001

Re: /boot/device.hints file

2001-02-02 Thread Karol Makowski
On Fri, 2001-02-02 at 11:35:21, Graham Wheeler wrote: [cut] > I don't see anything in the manpages or archives about this. Can someone > please enlighten me as to what this file should be? Try /usr/src/UPDATING -- Karol Makowski Market Internetowy Click And Buy sp z o.o. http://www.buy.pl GSM

Wierd behaviour [UPDATE]

2001-02-02 Thread Ollivier Robert
Update to my previous mail: trying a PRE_SMPNG kernel doesn't change anything, it still displays nothing. I've also updated my /boot/loader and bootblocks. Still no idea? -- Ollivier ROBERT -=- Eurocontrol EEC/ITM -=- [EMAIL PROTECTED] FreeBSD caerdonn.eurocontrol.fr 5.0-CURRENT #46: Wed Ja

Re: /boot/device.hints file

2001-02-02 Thread Walter Belgers
Graham Wheeler wrote: > When trying to compile the kernel, I get an error saying I should > install a /boot/device.hints file first. See the /usr/src/UPDATING file: 2825: /boot/device.hints is now required for installkernel to succeed. You should copy GENERIC.hints for your

/boot/device.hints file

2001-02-02 Thread Graham Wheeler
Hi all I just cvsupped to FreeBSD-current yesterday, after running stable for quite a while, mostly because I'd like to try the ACPI support in the hope that I will extend the battery life on my laptop. When trying to compile the kernel, I get an error saying I should install a /boot/device.hint

Please review sh SIGSTOP fix

2001-02-02 Thread Martin Cracauer
Bruce (or other -currenter's) would you please have a look at the following sh fix? My brain is a bit rusty and maybe I overlook a drawback. When a child is receiving SIGSTOP, eval continues with the next command. While that is correct for the interactive case (Control-Z and you get the prompt

RE: Weird behaviour

2001-02-02 Thread Kozlovsky, Marek
Hi, the same with me, but I cvsup'ed FreeBSD3.5-STABLE, make buildworld, make installworld, reboot than the machine boot up, seems to be running, but no services available. The problem is that the machine is a router and I did all the things remotely, so I cannot see console (I'm going there

Weird behaviour

2001-02-02 Thread Ollivier Robert
Hi, I just upgraded with cvsup a June, 4th machine to the latest current and after installworld and buidling a new kernel, the damn thing boots weirdly. After /boot/loader, the kernel seems to boot but doesn't display anything. There's activity on the SCSI bus and on the disks but I can't see an