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

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 ;)

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

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

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

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: /* turn of swap device */ static int

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 sys/systm.h: extern int nswap; /* size of swap space */ in vm/vm_swap.c: static int nswap; /* first block after the interleaved devs */ Is the extern pointing

nswap

2003-01-16 Thread Mark Santcroos
-static? Thanks 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 SantcroosRIPE Network Coordination

Re: vmware reads disk on non-sector boundary

2002-10-03 Thread Mark Santcroos
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/TTM To Unsubscribe: send mail

Re: vmware reads disk on non-sector boundary

2002-10-03 Thread Mark Santcroos
in 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/mark/New

Re: vmware reads disk on non-sector boundary

2002-10-03 Thread Mark Santcroos
, 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 SantcroosRIPE Network Coordination Centre http://www.ripe.net/home/mark/New Projects

Re: ACPI programming under FreeBSD?

2002-10-02 Thread Mark Santcroos
://www.gis.net/~craigr [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe freebsd-hackers in the body of the message -- Mark SantcroosRIPE Network Coordination Centre http://www.ripe.net/home/mark/New Projects Group/TTM #define KELVIN_TO_CELSIUS

Re: vmware reads disk on non-sector boundary

2002-09-26 Thread Mark Santcroos
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://www.ripe.net/home/mark

vmware reads disk on non-sector boundary

2002-09-25 Thread Mark Santcroos
) 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 in the body

Re: vmware reads disk on non-sector boundary

2002-09-25 Thread Mark Santcroos
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 RIPE Network Coordination Centre http://www.ripe.net

Re: vmware reads disk on non-sector boundary

2002-09-25 Thread Mark Santcroos
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 myself. Thanks Mark -- Mark Santcroos

Re: VMware 3 on FreeBSD?

2002-09-02 Thread Mark Santcroos
-- 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
to make 10 buildworlds (without -j, that triggers panics in pmap code). Bye the way, I'm experiencing this since about 4-5 months. All hackers, please help to track this down. Is it P4 specific or not? Mark -- Mark Santcroos RIPE Network Coordination Centre http

Re: Memory corruption in CURRENT

2002-08-22 Thread Mark Santcroos
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 Network Coordination Centre http

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
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.net/home

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 RIPE

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 theater :-) btw, how does the report that using

Re: Memory corruption in CURRENT

2002-08-22 Thread Mark Santcroos
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 Group/TTM To Unsubscribe: send mail to [EMAIL PROTECTED] with unsubscribe

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? -- Mark Santcroos

Re: Memory corruption in CURRENT

2002-08-22 Thread Mark Santcroos
) 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 -- Mark Santcroos RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New Projects Group/TTM

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 addressed to kt ;-) -- Mark Santcroos

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) Athlon with no problems at all... Can

Re: projects?

2002-06-21 Thread Mark Santcroos
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 Unsubscribe: send mail

Re: projects?

2002-06-21 Thread Mark Santcroos
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 PROTECTED

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. I tried current,stable

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 mail

Re: Recommend a laptop for FreeBSD

2002-04-19 Thread Mark Santcroos
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 there. Mark -- Mark Santcroos RIPE

Re: kernel panic: vm_object_reference

2002-03-27 Thread Mark Santcroos
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 RIPE Network Coordination Centre http://www.ripe.net/home/mark/ New

Re: please remove blank line

2002-03-06 Thread Mark Santcroos
): /* 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 freebsd-hackers

Re: RS232/V24 Driver

2002-03-05 Thread Mark Santcroos
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 RIPE Network Coordination Centre http

Re: a daemon C skeleton

2002-02-15 Thread Mark Santcroos
] _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp. 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

[PATCH] nmdm fixes

2002-02-06 Thread Mark Santcroos
://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 Santcroos RIPE Network

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. Or is it maybe possible from ddb to move

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 unsubscribe freebsd

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 CTLALTESC to drop into the debugger. On Tue, 30 Oct 2001, Andrew R. Reiter wrote: On Tue, 30 Oct 2001, Mark Santcroos wrote: :How can I see in what

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 -- Mark

Re: Junior Kernel Hacker task: improve vnode-v_tag

2001-09-04 Thread Mark Santcroos
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.ripe.net/home/mark/ New Projects Group

Re: import NetBSD rc system

2001-06-11 Thread Mark Santcroos
-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
[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 beast that kinda can do extra things

Re: Biometric security?

2001-01-23 Thread Mark Santcroos
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 RIPE Network

Re: adding an address family

2001-01-17 Thread Mark Santcroos
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 time because it was my first PCI driver) Mark -- Mark Santcroos RIPE Network Coordination Centre PGP KeyID: 1024/0x3DCBEB8D PGP

Re: [IrDA] adding new network stack

2001-01-17 Thread Mark Santcroos
into -CURRENT sooner or later? (If it doesn't interfere with other code) Within a day or so I hope to release my first pieces of code. In the next day I will try to insert a little netgraph code into it. Mark -- Mark Santcroos RIPE Network Coordination Centre PGP KeyID: 1024

adding an address family

2001-01-16 Thread Mark Santcroos
or 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

Re: adding an address family

2001-01-16 Thread Mark Santcroos
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 RIPE Network

Re: adding an address family

2001-01-16 Thread Mark Santcroos
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 Santcroos RIPE Network Coordination Centre PGP KeyID: 1024

new kld style

2000-11-16 Thread Mark Santcroos
uot; 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 To Unsubsc