Re: Running Linux kernel modules.

2001-01-12 Thread 'Alfred Perlstein'
* Andrew Gallatin <[EMAIL PROTECTED]> [010111 20:13] wrote: > > > On Thursday, January 11, 2001 3:12 PM, Alfred Perlstein > > [SMTP:[EMAIL PROTECTED]] wrote: > > > * Carl Makin <[EMAIL PROTECTED]> [010111 14:52] wrote: > > > > > > > > There are a couple of linux kernel modules that I'd love

Re: YES! laptop installing

2001-01-12 Thread David O'Brien
On Thu, Jan 11, 2001 at 11:41:17PM -0700, Warner Losh wrote: > In message <[EMAIL PROTECTED]> Mark Murray writes: > : My Netgear FA510 (dc0) probes (sorta) but comes up with a crazy > : MAC address, and then doesn't work. It doesn't even go UP. > : > : MAC=00:00:80:00:00:80, FWIW. > > There's ab

Re: Bug in src tree?

2001-01-12 Thread Neil Blakey-Milner
On Fri 2001-01-12 (08:17), electro wrote: > I try to compile a new kernel with the latest source and I always end up > with this (in the end). Any suggestions? > I mean the error message is fun...dont match any know i386 instruction > > cc -c -x > assembler-with-cpp -DLOCORE -O -Wall -Wredund

Re: Head's up: Yarrow-style periodic entropy saving

2001-01-12 Thread Andrzej Bialecki
On Thu, 11 Jan 2001, Doug Barton wrote: > For the sake of those who don't follow commit messages (shame on you!), > here's your fair warning regarding this change. This is the promised update > that periodically (every 3 minutes by default) saves 2k of randomness to a > set of rotating file

Crash dumps during initialisation

2001-01-12 Thread Newton, Harry
How can I get the kernel to make crash dumps if it fails before the 'dumpon' command is issued ? There used to be a line in the kernel configuration file beginning with the keyword 'config' which had options 'dumps on' or 'crash on' but this has gone. Regards, Harry Harry Newton To Unsubscri

Re: sysinstall.8 Breaking buildworld

2001-01-12 Thread Catch-all m-box
Why does sysinstall have to move at all? Whenever I buildworld/installworld, I always go into release/sysinstall and do a make all install, as suggested in handbook/makeworld.html Why can't the man page be included and installed with this? Bap. To Unsubscribe: send mail to [EMAIL PROTECTED]

Re: /boot/kernel/kernel: swap_pager_getswapspace: failed

2001-01-12 Thread Matthew Thyer
Sheldon Hearn wrote: > > On Fri, 12 Jan 2001 00:54:40 +1030, Matthew Thyer wrote: > > > > /boot/kernel/kernel: swap_pager_getswapspace: failed > > > > > > This seems to have started in the last week. > > > > > > > I saw the same problem until I stopped using mfs on /tmp. > > > > Stop using mfs f

Re: /boot/kernel/kernel: swap_pager_getswapspace: failed

2001-01-12 Thread Matthew Thyer
Sheldon Hearn wrote: > > On Fri, 12 Jan 2001 00:54:40 +1030, Matthew Thyer wrote: > > > > /boot/kernel/kernel: swap_pager_getswapspace: failed > > > > > > This seems to have started in the last week. > > > > > > > I saw the same problem until I stopped using mfs on /tmp. > > > > Stop using mfs f

Re: /boot/kernel/kernel: swap_pager_getswapspace: failed

2001-01-12 Thread Sheldon Hearn
On Fri, 12 Jan 2001 22:01:03 +1030, Matthew Thyer wrote: > This seems a bit of a pain. > > Is there anyway to go back (if I'm correct) to a dynamic swap user. > I suppose I'm talking about a real tmpfs ? The way it is now is the way it's always been. Think about what you mean when you say "d

Re: Bug in src tree?

2001-01-12 Thread hubbe snubbe
Nope.. sorry... I now use the correct command(namely make buildkernel) only problem now is that I cant make A succesfully make world before that so my following question is how important is it to get it(the computer) to succesfully boot up? The story is that FreeBSD4.0 boots with out problem but

Re: Fan speed control sony vaio lx800 slimtop

2001-01-12 Thread Peter Dufault
> > Would I have to do anything special to see it? If anyone has any > > other ideas of what to do let me know - I'm wondering if throttling > > down the CPU turns down the fan. > > It's possible that the EC is solely responsible for the fan, or that > Sony decided in their infinite wisdom to do

Re: entropy bikesheds

2001-01-12 Thread Mark Murray
> Start some kind of hardware-managed timer at the earliest possible > opportunity (perhaps start it in the boot loader!), then when you need to > pick up your first seed, read the timer's value and seed your random > generator from that. I have some much more sophisticated code (written by JHB)

Re: YES! laptop installing

2001-01-12 Thread Justin T. Gibbs
>: MAC=00:00:80:00:00:80, FWIW. > >There's about 4 different dc based cards that don't work because they >don't get the nic address right. Well, that's what I think. That is fixed with my cardbus patch set... at least for the xircom. It should be trivial to fix for the others if they store their

Re: sio && serial console in -current?

2001-01-12 Thread Matthew Thyer
Matthew Jacob wrote: > > Something wierd has been happening lately- the serial console on my i386 > machine works fine up until init is forked.. THen the output is mangled, and > one gets replicated and/or mangled stuff. On a reboot I'm getthing things > like: > > Waiting

Re: /boot/kernel/kernel: swap_pager_getswapspace: failed

2001-01-12 Thread Matthew Thyer
Sheldon Hearn wrote: > > On Fri, 12 Jan 2001 22:01:03 +1030, Matthew Thyer wrote: > > > This seems a bit of a pain. > > > > Is there anyway to go back (if I'm correct) to a dynamic swap user. > > I suppose I'm talking about a real tmpfs ? > > The way it is now is the way it's always been. Thin

Re: /boot/kernel/kernel: swap_pager_getswapspace: failed

2001-01-12 Thread Sheldon Hearn
On Sat, 13 Jan 2001 01:46:46 +1030, Matthew Thyer wrote: > > The way it is now is the way it's always been. Think about what you > > mean when you say "dynamic swap user". You want mfs to use more swap > > than you have? :-) > > No I want mfs to grow and shrink its filesystem dynamically. T

Re: cvs commit: src/etc crontab rc src/etc/defaults rc.conf src/etc/mtree BSD.root.dist src/libexec Makefile src/libexec/save-entropy Makefile save-entropy.sh

2001-01-12 Thread Warner Losh
In message <[EMAIL PROTECTED]> Maxim Sobolev writes: : I like this idea, but perhaps it would be nice to have more : fine-grained control over when /dev/random is blocking and when : not. Why not to add sysctl to switch between blocking/non-blocking : behaviour (defaulting to non-blocking), so our

Re: YES! laptop installing

2001-01-12 Thread Warner Losh
In message <[EMAIL PROTECTED]> "Justin T. Gibbs" writes: : >: MAC=00:00:80:00:00:80, FWIW. : > : >There's about 4 different dc based cards that don't work because they : >don't get the nic address right. Well, that's what I think. : : That is fixed with my cardbus patch set... at least for the x

module privlages

2001-01-12 Thread Jason Smethers
Has anyone put any thought into putting restrictions on what a module can modify when loaded into the kernel? If there is, say, ever binary third party driver support and this is provided without source some restrictions on what kernel data this module can link to and modify when loaded might be a

Re: CFR: Generalized power-management interface

2001-01-12 Thread Mitsuru IWASAKI
Hi, I've update the patch based on some comments so far and added wmpm (actually ACPI support for wmapm which is utility for WindowMaker) ports files as a example. http://people.freebsd.org/~iwasaki/acpi/power-20010113.tar.gz http://people.freebsd.org/~iwasaki/acpi/wmpm-20010113.tar.gz Note tha

Any people with 3c905CX cards out there?

2001-01-12 Thread Bill Paul
3Com has yet another revision of the Tornado chipset floating around out there on newer 3c905C adapters. Supposedly, these are marked as 3c905CX and have become available within the last couple of months. I've seen some noise on the Linux mailing lists that seems to indicate that some driver mods

Re: cvs commit: src/etc crontab rc src/etc/defaults rc.conf src/etc/mtree BSD.root.dist src/libexec Makefile src/libexec/save-entropy Makefile save-entropy.sh

2001-01-12 Thread Maxim Sobolev
Warner Losh wrote: > In message <[EMAIL PROTECTED]> Maxim Sobolev writes: > : I like this idea, but perhaps it would be nice to have more > : fine-grained control over when /dev/random is blocking and when > : not. Why not to add sysctl to switch between blocking/non-blocking > : behaviour (defau

Re: Bug in src tree?

2001-01-12 Thread Sheldon Hearn
On Fri, 12 Jan 2001 11:24:38 +0200, Neil Blakey-Milner wrote: > > /tmp/ccmJEqq7.s:822: Error: operands given don't match any known 386 > > instruction > > *** Error code 1 > > > > Stop in /usr/src/sys/compile/PROFESSOR.010110. > > You're not using buildkernel, and thus you don't have the nece

Re: Bug in src tree?

2001-01-12 Thread Neil Blakey-Milner
On Fri 2001-01-12 (21:38), Sheldon Hearn wrote: > > > On Fri, 12 Jan 2001 11:24:38 +0200, Neil Blakey-Milner wrote: > > > > /tmp/ccmJEqq7.s:822: Error: operands given don't match any known 386 > > > instruction > > > *** Error code 1 > > > > > > Stop in /usr/src/sys/compile/PROFESSOR.010110. >

Re: Bug in src tree?

2001-01-12 Thread Will Andrews
[ .. moved to -stable .. ] On Fri, Jan 12, 2001 at 08:17:01AM +0100, electro wrote: > I try to compile a new kernel with the latest source and I always end up > with this (in the end). Any suggestions? > I mean the error message is fun...dont match any know i386 instruction [...] > /tmp/ccmJE

ext2 root filesystem

2001-01-12 Thread John Fremlin
Is it possible to have an ext2 filesystem on /? Sorry if this is a FAQ, but I couldn't find any details after a bit of searching. Two issues come to my inexperienced mind. There is the trouble of booting the kernel. GRUB can grok ext2 so I could use that (or at least, I could probably hack GRUB

Re: YES! laptop installing

2001-01-12 Thread Andrea Campi
On Wed, Jan 10, 2001 at 12:04:17AM -0500, Kenneth Wayne Culver wrote: > This is to let everyone know that right now as I type I am setting up > FreeBSD to start downloading over my cardbus ethernet card. It seems to > work great except it doesn't beep when the card enables, but that's fine > with

unknown devices

2001-01-12 Thread David W . Chapman Jr .
Down near the botton I have some unknown pnp devices, is there any way to figure out what devices they are, they must be motherboard resources because all other devices seem to be accounted for. Copyright (c) 1992-2001 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991,

Re: Running Linux kernel modules.

2001-01-12 Thread Julian Elischer
Andrew Gallatin wrote: > > > > > To handle the multiple open problem, I'm overloading the open and > close system calls. Upon open, I call the native open, then I grovel > around in the process' open file table looking for my special file. > When I find it, I mark fp->f_nextread with a magic n

Re: HEADSUP! New netgraph code coming

2001-01-12 Thread Julian Elischer
Jun Kuriyama wrote: > > Hi Julian, > > I tried netgraph for the first time to work with latest vmware2 port. > > When I try to load netgraph kernel module, it failed with: > > # kldload ng_bridge > kldload: can't load ng_bridge: Exec format error something is terribly broken with the kld load

Re: sio && serial console in -current?

2001-01-12 Thread Matthew Jacob
Interesting theory, but no- that wasn't it. > Matthew Jacob wrote: > > > > Something wierd has been happening lately- the serial console on my i386 > > machine works fine up until init is forked.. THen the output is mangled, and > > one gets replicated and/or mangled stuff. On a reboot I'm get

Re: HEADSUP! New netgraph code coming

2001-01-12 Thread Dag-Erling Smorgrav
Julian Elischer <[EMAIL PROTECTED]> writes: > Jun Kuriyama wrote: > > # kldload ng_bridge > > kldload: can't load ng_bridge: Exec format error > > And /var/log/messages says: > > > > Jan 12 16:27:07 waterblue /boot/kernel/kernel: KLD ng_bridge.ko: depends on >ng_ether - not available > > someth

Re: Running Linux kernel modules.

2001-01-12 Thread Andrew Gallatin
Julian Elischer writes: > > > > Isn't this gross? Is there a better way? > > I think that the better way is to actually have each open have a > different minor number. > i.e. each process opens a different copy. > The way to achieve this best is with cloning devices. > apply within p

Re: RE: Running Linux kernel modules.

2001-01-12 Thread Matt Dillon
:To handle the multiple open problem, I'm overloading the open and :close system calls. Upon open, I call the native open, then I grovel :around in the process' open file table looking for my special file. :When I find it, I mark fp->f_nextread with a magic number, then store :a pointer to the pe

Re: entropy bikesheds

2001-01-12 Thread Nate Williams
> Can we decide this, please - do we want secure startup (which will > take some effort to achieve), or can we say "screw it" and start > insecure like the old system? Can we have both? Ie; by default we are insecure until some point we call an ioctl() that says 'no more, you must get real rando

Re: YES! laptop installing

2001-01-12 Thread Justin T. Gibbs
>: That is fixed with my cardbus patch set... at least for the xircom. >: It should be trivial to fix for the others if they store their >: nic address the same way. > >Interestingly enough, they do. However, of all my cards, the both my >xircom just work w/o this. > >Warner The dc driver would

Re: Running Linux kernel modules.

2001-01-12 Thread Alfred Perlstein
* Andrew Gallatin <[EMAIL PROTECTED]> [010112 15:29] wrote: > > Julian Elischer writes: > > > > > > Isn't this gross? Is there a better way? > > > > I think that the better way is to actually have each open have a > > different minor number. > > i.e. each process opens a different copy.

RE: Broken mmap in current?

2001-01-12 Thread Jeff Roberson
Title: RE: Broken mmap in current? I think I spoke too soon..  I saw thousands of calls to mmap and assumed it was the thousands of read/writes that I was doing.  It's actually for the thousands (8192) of pages that I'm mapping in.  Oddly enough though there are only 3272 calls to my mmap rout

Re: module privlages

2001-01-12 Thread Kris Kennaway
I'm not sure what the point of this would really be..nor how you could enforce it. Perhaps you should submit a proof of concept ;-) Kris On Fri, Jan 12, 2001 at 11:15:09AM -0600, Jason Smethers wrote: > Has anyone put any thought into putting restrictions on what a module > can modify when loade

Anybody else seeing a broken /dev/lpt with SMP on -current?

2001-01-12 Thread Jordan Hubbard
I've actually been seeing this for about 2 months now but only just now got motivated enough to enable crashdumps and get some information on what happens whenver I try to use the printer attached to my (sadly :) -current SMP box: IdlePTD 3682304 initial pcb at 2e70e0 panicstr: page fault panic m

RE: Anybody else seeing a broken /dev/lpt with SMP on -current?

2001-01-12 Thread John Baldwin
On 13-Jan-01 Jordan Hubbard wrote: > I've actually been seeing this for about 2 months now but only just > now got motivated enough to enable crashdumps and get some information > on what happens whenver I try to use the printer attached to my (sadly :) > -current SMP box: > > IdlePTD 3682304 >

Re: Anybody else seeing a broken /dev/lpt with SMP on -current?

2001-01-12 Thread Alfred Perlstein
* John Baldwin <[EMAIL PROTECTED]> [010112 18:56] wrote: > > On 13-Jan-01 Jordan Hubbard wrote: > > I've actually been seeing this for about 2 months now but only just > > now got motivated enough to enable crashdumps and get some information > > on what happens whenver I try to use the printer a

Re: RE: Running Linux kernel modules.

2001-01-12 Thread Andrew Gallatin
Matt Dillon writes: > :To handle the multiple open problem, I'm overloading the open and > :close system calls. Upon open, I call the native open, then I grovel > :around in the process' open file table looking for my special file. > :When I find it, I mark fp->f_nextread with a magic number

Re: Anybody else seeing a broken /dev/lpt with SMP on -current?

2001-01-12 Thread John Baldwin
On 13-Jan-01 Alfred Perlstein wrote: > * John Baldwin <[EMAIL PROTECTED]> [010112 18:56] wrote: >> >> On 13-Jan-01 Jordan Hubbard wrote: >> > I've actually been seeing this for about 2 months now but only just >> > now got motivated enough to enable crashdumps and get some information >> > on wh

Re: RE: Running Linux kernel modules.

2001-01-12 Thread Matt Dillon
: : > Why not just track the opens independantly in the overloading code? : :I'm not sure I know what you mean. I don't just need to track :multiple open/closes, I need to be able to hang a pointer off of :something that I can get at durning an mmap() or ioctl() syscall so :that I can tell wh

Building -STABLE on -CURRENT

2001-01-12 Thread Robert Watson
Sending this to freebsd-stable or freebsd-current was somewhat of a toss-up, but since I expect more committers hang out on -current than -stable, here it is. For the last few days (not sure when it started) I've been unable to build -STABLE on a -CURRENT machine. This has proven a problem for

Data corruption whilst debugging sonar module of ports/graphics/xscreensaver-gtk-3.26 ?

2001-01-12 Thread Matthew Thyer
Both of my main FreeBSD-CURRENT machines cant seem to run the sonar module from xscreensaver-gtk-3.26 for very long. It crashes with a SIGBUS on line 1654 of xscreensaver-3.26/hacks/sonar.c when the sonar sweep gets back around to the first bogie that was ever displayed. Since my home box is XFr

Re: /boot/kernel/kernel: swap_pager_getswapspace: failed

2001-01-12 Thread Matthew Thyer
Sheldon Hearn wrote: > > On Sat, 13 Jan 2001 01:46:46 +1030, Matthew Thyer wrote: > > > > The way it is now is the way it's always been. Think about what you > > > mean when you say "dynamic swap user". You want mfs to use more swap > > > than you have? :-) > > > > No I want mfs to grow and sh

sysinstall.8 bike shed

2001-01-12 Thread Steve Kargl
I've already filed a PR about this. And, yes I know people have discussed this the last day or two, but until the color is chosen can someone please remove the the installation of sysinstall.8 from src/share/man/man8/Makefile. -- Steve ===> share/man/man8 gzip -cn /usr/src/share/man/man8/add

Re: sysinstall.8 bike shed

2001-01-12 Thread Ben Smithurst
Steve Kargl wrote: > I've already filed a PR about this. And, yes > I know people have discussed this the last day or > two, but until the color is chosen can someone > please remove the the installation of sysinstall.8 > from src/share/man/man8/Makefile. ugh, sorry. I forgot to fix that. :-

Re: Data corruption whilst debugging sonar module of ports/graph

2001-01-12 Thread Matthew Thyer
Mike Heffner wrote: > > On 13-Jan-2001 Matthew Thyer wrote: > > | Does anyone recognise where 0xd0d0d0d0 may have come from ? > | > > [snip] > > Read the "Tuning" section of malloc(3). 0xd0 is what allocated and deallocated > memory is set to. xscreensaver is probably not initializing malloc()