Hi hackers,
I have got an HP DL 385 dual opteron system,
with 2 on-board broadcom network cards.
If I use more NICs, I have to have ACPI turned on.
But if the ACPI is turned on, kernel does not boot,
this is an error message:
panic: npx: can't get ports
Does anybody knows a solution for that ?
Hi there,
Recently I tried to make a transparent web proxy on a machine
that run in bridging mode. At last, I decided to make a patch.
Here it is for those who want to do the same.
One interface should be given an IP address so squid may do
a requests. Squid listens on 127.0.0.1:8080.
I am using pf
Hi John,
thanks for commiting my previous boot2.c patch.
I would appreciate any hint about the following problem.
I am using 5.3, sources from 1 Dec 2004.
The environment I am using is this: ATA disk has one partition
with one file, /kernel. /kernel has MFS root filesystem.
there is no /boot/loade
> The best you can do is search your mountpoints and see whether any of
> them has a "/kernel" file. The bootblock (and loader) uses the BIOS to
> read the kernel file, so it's possible that the device may not even be
> accessible from the running system. If, for example, you booted off a
> flopp
> You don't say which version you are running, but in 5.x booting without
> the loader is not supported in any way shape or form.
>
> -- Brooks
Well I am booting 5.2 -current, yes, without the loader.
The image is here:
http://oasis.uptsoft.com/~devnull/floppy.img
MFS root is embedded into a ker
, 2004 at 11:15:16AM -0500, Dan Nelson wrote:
> In the last episode (Aug 17), Sergey Lyubka said:
> > How would one know the actual boot device after kernel successfully
> > booted ?
>
> The kern.bootfile sysctl points to the kernel file that was loaded,
> according to th
How would one know the actual boot device
after kernel successfully booted ?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Discussion on -current, "read vs mmap", explained this.
If userland process does pre-fault allocated memory, ng_mmq
appears to be considerably faster than pcap:
# ./benchmark rl0 /dev/mmq15 2
desc rcvd droppedseen totlen ppstime (sec)
mmq 76865 0 20
> Does the ng_hub cause the packet to be copied? If so you've
> still got the same number of copies as vanilla BPF.
ng_hub does copy a packets. But, this does not explain the test results.
the benchmark works like this:
1. connect ng_mmq node to ng_hub
2. run benchmark for mmq
3. open pcap devi
Hi Ed,
> I did my benchmark by increasing the packet rate until I found
> the point at which packets started to be dropped.
A bit offtopic - what traffic generator you use ?
> In my testing I found the call to microtime() to be quite
> expensive. (It will vary depending on which timecounter is
>
3. is it OK to have no mutexes for ringbuffer operations ?
The ng_mmq code, as well as the benchmark code, are at
http://oasis.uptsoft.com/~devnull/ng_mmq/
Setup instructions are at
http://oasis.uptsoft.com/~devnull/ng_mmq/README
--
Sergey Lyubka, Network Security Consultant
NetFort T
hackers,
I am running snort on 5.2.1-RELEASE, and I am getting high
dropped packets rate. traffic is quiet, about 1kpps, the box runs on xeon
processor, intel gigabit NICs (em driver), system load is low:
CPU states: 1.9% user, 5.1% nice, 1.6% system, 4.7% interrupt, 86.8% idle
Mem: 121M Activ
not sure is it the correct list to ask,
but let give it a try.
I was using etherboot to boot the diskless station.
The kernel copied over the network find, but then I
saw no kernel messages on the console.
I put some debug messages into etherboot code, confirmed that
kernel was actually called. I
Absolutely.
thanks, that helps!
On Wed, Dec 03, 2003 at 02:23:18AM -0800, Lev Walkin wrote:
>
> -pg on your system implies static linking. dlopen() is not available in
> statically linked binaries on FreeBSD and many other systems.
>
> Consider building your binary dynamic by making sure there i
Below is a little snipper that tries to dlopen(argv[1]).
It works fine until it is compiled with profiling support, -pg flag.
Compiled with -pg, dlopen() reports "Service unavailable".
How to fix that ?
-sergey
#include
#include
#include
int main(int argc, char *argv[])
{
void *ha
; program to do find this out about itself);
>
> 2) Have a thread wait for a specified amount of computer time (not
> actual time so nanosleep won't work).
>
> I looked at the man pages, but all I could find was runtime which seems
> only to be accessible from the kernel.
--
o get a publisher to bite.
>
> That's why we have the developers' handbook online, specifically so
> things can be updated quickly. And it's difficult to get more text
> for that; the people who can write that text are busy writing code.
--
Sergey Lyubka
Asita T
Lions wrote a book far long ago, and it is still worth reading.
Why?
Because he didn't just show the code, he showed the concepts.
Describing, say, how to call malloc() is a stupid thing. This can
be outdated tomorrow.
But describing the concept, how kernel malloc interface has being
developed in
development
> environment of choice I thought I would start here.
--
Sergey Lyubka
Asita Technologies Int, Galway, Ireland
:wq
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
On Thu, Jun 27, 2002 at 11:04:29AM -0700, Julian Elischer wrote:
> try
>
> call boot 0
>
> sometimes you need to do it more than once (?)
>
>
> On Thu, 27 Jun 2002, Danny Braniss wrote:
Aha.
Thanks for all.
May be this should be mentioned in ddb manpage ?
the page fault in kernel mode occurs.
is it any way to sync discs before reset ?
--
Sergey Lyubka
Asita Technologies Int, Galway, Ireland
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
Oh, got it.
That's because of paging is set up.
Thanks Tony !
-sergey
p.s. btw, btext executes in protected mode, not in real.
since the link is up now, you can refer to the article ,
that is described well there.
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers
> >From my own notes:
>
> The address of the "begin" symbol is pushed onto the stack,
> and the btext() function returns ...not to its
ere's no need to jump.
Thanks,
-sergey
--
Sergey Lyubka
Asita Technologies Int, Galway, Ireland
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
On Mon, Jul 23, 2001 at 04:16:00PM -0700, John Baldwin wrote:
> That's its purpose, to provide a mini-kenrel for the loader so we can write the
> loader in C and not assembly. (gcc doesn't do well with generating code for
> real mode).
can't you do it at the moment ? write client in C
25 matches
Mail list logo