axe CPU_UPGRADE_HW_CACHE from i386 specific code

2005-03-25 Thread Mark Santcroos
It looks like CPU_UPGRADE_HW_CACHE is only used in PC98, so it can be removed from all I386 specific code. Any objections to the following patch? Mark Index: conf/options.i386 === RCS file: /usr/cvs/src/sys/conf/options.i386,v retr

Re: Simulate device-file in userland?

2004-07-27 Thread Mark Santcroos
On Sun, Jul 25, 2004 at 06:57:00PM +0200, Jan Branbergen wrote: Content-Description: body > i was wondering if it is possible to simulate a device-file ( for example a serial > port or videograbbing device ) in userland? You may want to look at ng_device. Be prepared for rough edges though ;) M

Re: obtaining a kernel crash dump

2004-05-19 Thread Mark Santcroos
On Wed, May 19, 2004 at 04:34:42PM +0300, Nick Strebkov wrote: > I can't obtain a crash dump. Can you, on a clean -current, break into DDB and force a panic by simply typing "panic" ? Please report whether the kernel dumps core in this case. Some systems have problems with ATA that prevents them

diff included in commit mail

2004-03-11 Thread Mark Santcroos
Hi, I know it was discussed once somewhere, but I can't find the thread in question. What I would like to be able to do is see the actual commit included in the mail. I know it can't be done at the moment the message arrives, as that is before it arrives in my cvs tree. On my machine I have the

DEVICE_IDENTIFY(9)

2004-03-05 Thread Mark Santcroos
The above manpage documents the return values, but it is a void function. Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Power Patches

2004-01-06 Thread Mark Santcroos
On Sat, Jan 03, 2004 at 06:47:13PM -0800, Nate Lawson wrote: > I get a panic on my T23 due to the ATA driver not being detected so no > rootvp. Same here on a Dell Latitude C640. Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman

early write to pci conf register

2003-10-21 Thread Mark Santcroos
What is the earliest point in the boot process that I can write to a pci conf registers of a pci device? I would like to disable some sub devices before they get probed. Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/fr

Re: nswap

2003-01-21 Thread Mark Santcroos
On Tue, Jan 21, 2003 at 01:33:01AM -0800, David Schultz wrote: > Thus spake Mark Santcroos <[EMAIL PROTECTED]>: > > Yes, that is also what I meant. We now have a swapoff() system call that > > does all the work itself. > > > > My idea was to split that up

Re: nswap

2003-01-21 Thread Mark Santcroos
*/ } /* turn off all swap devices */ int swapoff_all() { int index; struct swdevt *sp; for (sp = swdevt, index = 0; index < nswdev; index++, sp++) swapoff_one(sp); } So the swapoff() system call would call swapoff_one() and my code in kern/kern_swsuspend.c would call swapo

Re: nswap

2003-01-20 Thread Mark Santcroos
On Fri, Jan 17, 2003 at 03:27:29PM -0800, David Schultz wrote: > Thus spake Mark Santcroos <[EMAIL PROTECTED]>: > > in : > > extern int nswap; /* size of swap space */ > > > > in : > > static int nswap; /* first block after the interleaved devs */

nswap

2003-01-16 Thread Mark Santcroos
Mark -- Mark SantcroosRIPE Network Coordination Centre http://www.ripe.net/home/mark/New Projects Group/TTM To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

closing all fd's in ng_device before node removal

2002-11-05 Thread Mark Santcroos
In a kernel driver, is is possible to get the list of open fd's on a "dev_t" entry? I can probably do it using a double administration by storing all accesses to open() and close() but I would rather not. Any input appreciated! Mark -- Mark Santcroos

Re: vmware reads disk on non-sector boundary

2002-10-03 Thread Mark Santcroos
an do such a thing in GEOM in the future? Is this something you will be doing yourself Poul, or is it just that you are saying that it is possible? If not, I really would like to help to get vmware back, but I don't know anything more about GEOM than "option\t\tGEOM". Mark -- Mark

Re: vmware reads disk on non-sector boundary

2002-10-03 Thread Mark Santcroos
mind was less quick and more dirty than I expected ;-) What was the reason for the removal of block devices anyway? It would be nice if you would tell me some background about that.. :) Mark -- Mark SantcroosRIPE Network Coordination Centre http://www.ripe.net/home/mar

Re: vmware reads disk on non-sector boundary

2002-10-03 Thread Mark Santcroos
k and in that case it will enlarge the read() to the next sector boundary. I have it working in the kernel but I have problems returning the right read buffer to userland. Mark -- Mark SantcroosRIPE Network Coordination Centre http://www.ripe.net/home/mark/New Projects Group

Re: ACPI programming under FreeBSD?

2002-10-02 Thread Mark Santcroos
t; kind of work? > > Thanks. > -- > Craig Rodrigues > http://www.gis.net/~craigr > [EMAIL PROTECTED] > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-hackers" in the body of the message -- Mark Santcroos

Re: vmware reads disk on non-sector boundary

2002-09-26 Thread Mark Santcroos
thing I have to find out is the check to see whether it is a read on a raw device or not. I strongly prefer to do the check in linux_read and not in the disk layer code. (It would be easier, but not cleaner) Mark -- Mark Santcroos RIPE Network Coordination Centre http:

Re: vmware reads disk on non-sector boundary

2002-09-25 Thread Mark Santcroos
is. It should be possible > to do the equivalent of a vn device that accepts misalligned > accesses and reblocks them, but I'll leave that to those whose > job it is to finish. Hi Julian, That was the background info I was looking for. I might try to do the remapping my

Re: vmware reads disk on non-sector boundary

2002-09-25 Thread Mark Santcroos
[freebsd-emulation@ bcc'ed] On Wed, Sep 25, 2002 at 07:47:48PM +0200, Mark Santcroos wrote: > A fact is that vmware did work up until a few months. I didn't do a binary > search yet. That is last resort... Anyone running a -current of several months old and using vmware2? If so

Re: vmware reads disk on non-sector boundary

2002-09-25 Thread Mark Santcroos
months? By looking at the code history it seems so indeed. Do you have an idea what might have 'covered' this though? A fact is that vmware did work up until a few months. I didn't do a binary search yet. That is last resort... Mark -- Mark Santcroos

vmware reads disk on non-sector boundary

2002-09-25 Thread Mark Santcroos
c) at syscall+0x2ca Xint0x80_syscall() at Xint0x80_syscall+0x1d -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers"

Re: VMware 3 on FreeBSD?

2002-09-02 Thread Mark Santcroos
n mine. Mark -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: Memory corruption in CURRENT

2002-08-22 Thread Mark Santcroos
On Thu, Aug 22, 2002 at 05:21:54AM -0700, Terry Lambert wrote: > Mark Santcroos wrote: > > On Thu, Aug 22, 2002 at 01:41:13PM +0200, Soeren Schmidt wrote: > > > Sure, but I dont have the problem :) I can buildworld for days on my > > > (heavily overclocked btw) Ath

Re: Memory corruption in CURRENT

2002-08-22 Thread Mark Santcroos
On Thu, Aug 22, 2002 at 01:55:42PM +0200, Soeren Schmidt wrote: > > Can you revert back to the system compiler and also compile your kernel > > with this options and do some buildworlds again? > > I already use the system compiler... That's why the message was addres

Re: Memory corruption in CURRENT

2002-08-22 Thread Mark Santcroos
> > Sure, but I dont have the problem :) I can buildworld for days on my > (heavily overclocked btw) Athlon with no problems at all... > > -S?ren > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-current" in the body of the message

Re: Memory corruption in CURRENT

2002-08-22 Thread Mark Santcroos
On Thu, Aug 22, 2002 at 04:31:02AM -0700, Terry Lambert wrote: > If it's a 3-for-3 workaround, then I probably need to take the > discussion offline with Peter Wemm, and come up with a permanent > fix. There was something with non-disclosure, am I right? --

Re: Memory corruption in CURRENT

2002-08-22 Thread Mark Santcroos
ight report, not yelling halleluja yet ;-) It's doing the 2nd buildworld now. Do you also want me to try to split up the disabling of the two options? Mark -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Gro

Re: Memory corruption in CURRENT

2002-08-22 Thread Mark Santcroos
On Thu, Aug 22, 2002 at 03:17:03AM -0700, Terry Lambert wrote: > Mark Santcroos wrote: > > On Thu, Aug 22, 2002 at 02:33:57AM -0700, Terry Lambert wrote: > > > options DISABLE_PSE > > > options DISABLE_PG_G > > > > Coming up next in this theate

Re: Memory corruption in CURRENT

2002-08-22 Thread Mark Santcroos
On Thu, Aug 22, 2002 at 02:33:57AM -0700, Terry Lambert wrote: > options DISABLE_PSE > options DISABLE_PG_G Coming up next in this theater :-) btw, how does the report that using the other compiler fixed everything for KT fit in? -- Mark Santcroos

Re: Memory corruption in CURRENT

2002-08-22 Thread Mark Santcroos
On Thu, Aug 22, 2002 at 02:38:25AM -0700, Terry Lambert wrote: > Alternatively, rather than those options, try losing 512M of > the RAM... I note they are all 1G boxes. No, mine is 256MB. Mark -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.ne

Re: Memory corruption in CURRENT

2002-08-22 Thread Mark Santcroos
Hi Martin, As you know this problem for longer, did you already try to make the problem a bit more reproducable / narrowed down? If not, we really should try to, that will be the first step in fixing it. Mark -- Mark Santcroos RIPE Network Coordination Centre http

Re: Memory corruption in CURRENT

2002-08-22 Thread Mark Santcroos
of course > maybe wrong). After dropping "-g" from kernel compiling I hadn't a problem > again on -stable. (At the moment I do not have -current on a P-IV, the > motherboard is a Fujitsu-Siemens) I will try that asap. Mark -- Mark Santcroos RIPE

Re: Memory corruption in CURRENT

2002-08-22 Thread Mark Santcroos
;I'): > > case HASH('`', 'O'): > > case HASH('`', 'U'): > > > > The file is correct after a reboot, so the corruption was limited to the > > copy cached in RAM. > > Thats memory corruption. I'm also not able a

Re: projects?

2002-06-21 Thread Mark Santcroos
might have a reverse situation, so some hooks to both these layers would come in handy, that was my point. Mark -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubscribe: send mail to [EMAIL PROT

Re: projects?

2002-06-21 Thread Mark Santcroos
duplicate the whole stack in the netgraph node or would it be relatively easy to hook it up to the existing ip and tcp code? Just wondering. Mark -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubs

Re: kernel booting diff between boot2 and loader

2002-06-12 Thread Mark Santcroos
On Tue, Jun 11, 2002 at 03:26:28AM +0200, Mark Santcroos wrote: > I wonder what is different in booting the kernel from loader(8) and from > boot2. > > In vmware2 I am not able to boot the kernel from boot2, it hangs after > loading the kernelfile. Using loader it goes fine. &g

kernel booting diff between boot2 and loader

2002-06-10 Thread Mark Santcroos
, until I wanted to use etherboot, where I ofcourse can't use loader. Any help or insight into this will be gladly accepted :-) Mark -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubscribe: send

Re: Recommend a laptop for FreeBSD

2002-04-19 Thread Mark Santcroos
> driver support to take advantage of the 3D hardware acceleration. I'm > leaning toward the Dell Dimension line of laptops, if you can recommend > a better --name brand-- machine please let me know as well. This is a faq on freebsd-mobile. Read the archives

Re: kernel panic: vm_object_reference

2002-03-27 Thread Mark Santcroos
"foolproof" programming > > but I should return something like busy FS > > How would that be different from not forcing it ? That (or something similar) should be returned to the process accessing the unmounted fs, not the umount itself. Mark -- Mark Santcroos

Re: please remove blank line

2002-03-06 Thread Mark Santcroos
es. style(9): /* Insert an empty line if the function has no local variables. */ Mark -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe fr

Re: RS232/V24 Driver

2002-03-05 Thread Mark Santcroos
f not, are there ways to analyze the protocol by a > > monitor or whatever technique appropriate? > > You might take a look at ports/comms/snooper Better try: http://www.gphoto.org/ because afaik this model is already supported :-) -- Mark Santcroos R

Re: a daemon C skeleton

2002-02-15 Thread Mark Santcroos
> > . > > > > thanks in advance, > > Kirill Magdalinin > [EMAIL PROTECTED] > > _ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. > > > To Unsubscribe: send mail to [EM

[PATCH] nmdm fixes

2002-02-06 Thread Mark Santcroos
ease review the patch at: http://www.ripe.net/home/mark/files/nmdm.diff I would appreciate any feedback ranging from: 'hey, you should do it like this!' to 'committed!'. I only used/tested this on -CURRENT btw. Thanks to Julian for writing the driver initially. Mark -- Mark San

Re: debugging question

2001-10-31 Thread Mark Santcroos
Ah great. Thanks alot! Mark On Wed, Oct 31, 2001 at 01:11:07AM -0800, Julian Elischer wrote: > Mark Santcroos wrote: > > > > Thats what I already said in my email :) > > > > I was hoping that there is some way to dump the codepath of the kernel. > > > &

Re: debugging question

2001-10-30 Thread Mark Santcroos
report on -current in the coming days. On Tue, Oct 30, 2001 at 03:38:45PM -0800, Julian Elischer wrote: > when the system is looping, hit > to drop into the debugger. > > On Tue, 30 Oct 2001, Andrew R. Reiter wrote: > > > On Tue, 30 Oct 2001, Mark Santcroos wrote: > >

debugging question

2001-10-30 Thread Mark Santcroos
hope that there is another way then to place printf's everywhere. Thanks Mark -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscri

debugging vmware3 linux binary

2001-09-28 Thread Mark Santcroos
, the vmware program itself is only shipped as a Linux binary. Did the vmware2 binary ran flawlessly on FreeBSD, the vmware3 one does not. My question now: how the hell can I track this down? (ktrace doesn't seem to provide any valuable input, but maybe I overlook something) Thanks Mark

Re: Junior Kernel Hacker task: improve vnode->v_tag

2001-09-04 Thread Mark Santcroos
; > Well, that is just too bad, because IS_LOCKING_VFS is wrong then. That's what the line of comment above it said ;) /* * [dfr] Kludge until I get around to fixing all the vfs locking. */ Mark -- Mark Santcroos RIPE Network Coordination Centre http://www.ri

Re: Proposed Utility - detach(1)

2001-08-26 Thread Mark Santcroos
AIL PROTECTED] > with "unsubscribe freebsd-hackers" in the body of the message -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: import NetBSD rc system

2001-06-11 Thread Mark Santcroos
t; In message <[EMAIL PROTECTED]> Mark Santcroos writes: > : What is the difference between the present rc scheme and the NetBSD one? > > The NetBSD rc scheme, in a nutshell, put each thing into its own file > and does order dependencies automatically. Ours is one big monolithic

Re: import NetBSD rc system

2001-06-11 Thread Mark Santcroos
Do YOU Yahoo!? > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-hackers" in the body of the message -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM To Unsu

Re: Biometric security?

2001-01-23 Thread Mark Santcroos
ected screensaver rather than typing in my password all the time... Hi, Compaq has some cheap devices for workstations at around $100. The API you can find at www.bioapi.org. Mark ps. if you get me a device, I might be interested in writing a driver ;) -- Mark Santcroos

Re: [IrDA] adding new network stack

2001-01-17 Thread Mark Santcroos
n module, to be able to develop outside the tree. (I'm fairly new to FreeBSD/CVS so I do not know an easy way to work on a cvstree and keep it up to date(when your changes don't get uploaded) at the same time) I don't know what is the normal behaviour, but maybe it's possib

Re: adding an address family

2001-01-17 Thread Mark Santcroos
ne thing I will look at tonight is an old Tulip laptop I have laying around somewhere. It has an infrared port, but I have no idea what chipset. My driver is strongly based on the OBOE driver from Linux, so porting the other drivers should not be a big problem probably. (This one costed me a bit more

Re: adding an address family

2001-01-16 Thread Mark Santcroos
more. The reason I ask it is this: Is it wise to implement my protocol based on Netgraph (so I can do it as a kernel module), or should I just build it into the kernel? I know; A lot of questions, but I sure need the help :-) (And wouldn't it be cool if we would have IrDA support?) Mark -- Mark

Re: adding an address family

2001-01-16 Thread Mark Santcroos
h code. Is this likely going to replace all the implementations of the current supported network protocols? In other words, is netgraph the right way to go for me, or should I rather focus on the more static part and drop the idea of implementing it as a kernel module? Mark -- Mark Santcroos

adding an address family

2001-01-16 Thread Mark Santcroos
is the code not ready for that? Thanks Mark -- Mark Santcroos RIPE Network Coordination Centre PGP KeyID: 1024/0x3DCBEB8D PGP Fingerprint: BB1E D037 F29D 4B40 0B26 F152 795F FCAB 3DCB EB8D To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-ha

new kld style

2000-11-16 Thread Mark Santcroos
quot; style. Or explain me if I'm missing something :-) [or even tell me that I should not worry about this] Regards, Mark -- Mark Santcroos RIPE Network Coordination Centre PGP KeyID: 1024/0x3DCBEB8D PGP Fingerprint: BB1E D037 F29D 4B40 0B26 F152 795F FCAB 3DCB EB8D