the
cause was that the NIC was disabled in BIOS. FreeBSD could still see it, but
something was missing on the low level and any access to the card would lock
up the machine solid...
Best regards,
Andrzej
//
// Andrzej Bialecki [EMAIL
time ago). It's very configurable, and comes
with a lot of examples (among others, and XWindow application to watch
the flows in real-time).
--
Andrzej
//
// Andrzej Bialecki [EMAIL PROTECTED], Chief System Architect
// WebGiro AB
for some hints. :-)
Much appreciated.
Take a look at /usr/src/release/picobsd/tinyware/ns. I went through the
same hoops some time ago... :-)
--
Andrzej
//
// Andrzej Bialecki [EMAIL PROTECTED], Chief System Architect
// WebGiro AB
//
// Andrzej Bialecki [EMAIL PROTECTED], Chief System Architect
// WebGiro AB, Sweden (http://www.webgiro.com)
//
// [EMAIL PROTECTED] FreeBSD developer (http://www.freebsd.org
want. Please take a look at the code in src/sbin/kget - it does
something very similar.
Andrzej
//
// Andrzej Bialecki [EMAIL PROTECTED], Chief System Architect
// WebGiro AB, Sweden (http://www.webgiro.com
On 7 Nov 2000, Dag-Erling Smorgrav wrote:
Josef Karthauser [EMAIL PROTECTED] writes:
# load -t md /filesystemfile
Shouldn't that be 'load -t md_root'?
Actually, it's md_image or mfs_root (see /sys/dev/md/md.c:446). Both of
these are mentioned in md(4).
Andrzej Bialecki
// [EMAIL
e in BTX (bootloader) environment. Never use it when you run
kernel. OTOH, it's very enlightening to look into it and see how you
implement "syscalls" on a bare hardware...
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB,
($200) for working sound in most of laptops
within my reach...
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com)
// ---
// -- FreeBSD: The Power to Serve. http://www.freebsd.org
// --- Small
binary, however you can create a
dynamic executable with no external unresolved references.. I forget how though
:-/
The same way it's done with the kernel nowadays.. Look into your
/sys/compile/WHATEVER/Makefile, and hack.c file there.
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden
(in linux_signal.c:linux_sigaltstack()), and it stopped
complaining, but started eating 100% CPU. At which point I gave up...
Obviously, the matter is more complicated than that - that is, it was
shooting in the dark. I know I don't have kernel threads, I was just
curious where it would bomb out.. :-)
Andrzej Bialecki
HARP docs, because HARP drivers refer to locations in the
binary image..
Also, be sure to set proper encapsulation on both sides of your link
(e.g. LLC/SNAP).
Other than that, the card works perfectly ok for me.
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.w
(or sysctl if you know the OIDs).
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com)
// ---
// -- FreeBSD: The Power to Serve. http://www.freebsd.org
// --- Small Embedded FreeBSD: http
he ability to load arbitrary chunks of data (from
within bootloader) as modules, with similar auto-loading as in the vfs
case, you'll have a good solution.
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.w
have been raised
before now. :(
I understand your concern. I don't think the sky will fall on our heads if
these patches will be integrated after the release. :-) They are more like
a convenience, not a must.
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com
nto upcoming release.
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com)
// ---
// -- FreeBSD: The Power to Serve. http://www.freebsd.org
// --- Small Embedded FreeBSD: http://www.
g VM statistics from post mortem dump).
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com)
// ---
// -- FreeBSD: The Power to Serve. http://www.freebsd.org
// --- Small Embedded FreeBSD: ht
...
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com)
// ---
// -- FreeBSD: The Power to Serve. http://www.freebsd.org
// --- Small Embedded FreeBSD: http://www.freebsd.org/~picobsd
have to. :)
There was a recent discussion (about a month ago) on -current about
delayed ACKs. It's in the archives.
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com)
// ---
// -- FreeBSD
, comments and suggestions are welcome.
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com)
// ---
// -- FreeBSD: The Power to Serve. http://www.freebsd.org
// --- Small Embedded FreeBSD
) spit countless messages to kernel msgbuf, thus overwriting any other
important info.
Is there any interest among people to implement such feature?
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com
at:
http://www.freebsd.org/~abial/spy/README
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com)
// ---
// -- FreeBSD: The Power to Serve. http://www.freebsd.org
// --- Small Embedded
possible local MAC addresses (most user-specified) I can probably
resurrect the code.
Mhmmm... I'm using the code developed by Bill Paul, to change MAC address
via special ioctl. It works just fine for me.
http://www.freebsd.org/~wpaul/setmac.tar.gz
Andrzej Bialecki
// [EMAIL
, then the program invalidates the stack and exits.
Even if that's the case, it's still a userland program that is able to
panic the system. So, no matter what the program does, it's still a bug in
the way we handle aio.
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com
:-) But, it
would definitely be a cool thing.
Feel invited to visit freebsd-small, where we discuss now future
directions for small floppy-based setups (which include installation disks
as well).
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com
to choose a device that sits directly on one of standard buses (like PCI
or ISA), or has intermediate bus abstraction layer in between (like
e.g. ppbus or usb). I would assume that learning the latter would take
more time.
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http
.
Are there any great hacks of FICL that people have done?
/usr/share/examples/bootforth. As well as, of course, /boot/*.4th .
It seems that currently Daniel Sobral is the best source to answer more
advanced questions...
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http
page may be a good place to start. (It's on modern
versions of FreeBSD).
We don't have a libelf though.
Does libbfd provide the functionality you need? (see gdb sources).
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com
nsole instead of curent
vty.
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com)
// ---
// -- FreeBSD: The Power to Serve. http://www.freebsd.org
// --- Small Embedded FreeBSD:
://www.freebsd.org/~abial/ that uses SI_SUB_EXEC.
Is this subsystem id really useful for KLDs? KLDs are loaded when we run
the kldload command and the subsystem ids are sorted at boot time.
This is not quite true. The KLDs can be loaded by the bootloader.
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB
about the same, and I was going to implement them
myself... IMO these patches should go to the tree - without them the work
that Mike Smith put into sysctl infrastructure is much less useful for
average Joe Kernel Hacker...
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http
On Sat, 18 Dec 1999, Peter Wemm wrote:
Andrzej Bialecki wrote:
On Fri, 17 Dec 1999, Arun Sharma wrote:
I have also figured out how to dynamically register sysctl nodes.
The trick is to basically malloc a sysctl_oid and fill in the right
fields and calling sysctl_register_oid
complex type
handled with SYSCTL_PROC (like eg. vm.zone sysctl) you still can decide
what value you return from kernel, and you can ignore any requests to
assign new values.
On Mon, 29 Nov 1999, Andrzej Bialecki wrote:
Yes. See for example linux emulator or my SPY module:
http
On Wed, 8 Dec 1999, Arun Sharma wrote:
On Mon, Nov 29, 1999 at 10:09:35AM +0100, Andrzej Bialecki wrote:
I was thinking about implementing SMP cpu stats using sysctl today and
I have a question - can I create sysctl nodes dynamically ?
i.e.
for (cpu = 0; cpu get_num_cpus
, as the second example shows.
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com)
// ---
// -- FreeBSD: The Power to Serve. http://www.freebsd.org
// --- Small Embedded FreeBSD: http
On Tue, 23 Nov 1999, Joe Greco wrote:
On Fri, 8 Oct 1999, Matthew Dillon wrote:
:
: Adjusting the bytes-per-inode (-i) specification in newfs should not
: pose a problem.
:
:IOW now you say it's ok to use very high values of -i... ;-)
:
:Andrzej Bialecki
attempts to use execve syscall by
root owned processes, and setuid/setgid by any user owned process.
Default mode for other syscalls, used when you add them to monitoring,
is to log all uses with all arguments.
-
Andrzej
with these parameters results in
unkillable process sitting in getblk (it's the first phase of bonnie test
when they use putc() to create the file). It just sits there and doesn't
consume CPU. The OS is 3.3-R.
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com
.
:
:Andrzej Bialecki
Hmmm. It's quite possible, 3.x's getnewbuf() code is pretty nasty. I
have a solution under test for 4.x (current). There simply may not be
anything that can be done for 3.x short of porting current's getnewbuf()
code over, and doing so has been deemed
. With standard 8192/1024 this command creates millions of
inodes which I don't need - what's worse, they cause fsck to run for
hours instead of seconds.
:* and finally, how th above choices affect the FS performance in my case?
:
:Thanks in advance for any insights!
:
:Andrzej Bialecki
production system with non-standard block and fragment
size (e.g. 32768 and 4096)?
* what maximum value can I use for -i (bytes per inode) parmeter? I
aalready tried 16mln ...
* and finally, how th above choices affect the FS performance in my case?
Thanks in advance for any insights!
Andrzej
.
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com)
// ---
// -- FreeBSD: The Power to Serve. http://www.freebsd.org
// --- Small Embedded FreeBSD: http://www.freebsd.org/~picobsd
k properly, but not because of the lack
of persistance or some disagreements on this issue - it's just missing the
SLICE code.
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com)
// ---
// -- FreeBSD:
decrease in weight by NN. If there is any other route to
the same destination with greater weight, the packets are sent that way
instead.
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com
want to. You can take a look at
src/release/picobsd/tinyware/oinit. Or, you can take a look at scripting
abilities in sysinstall, if they are enough for your needs.
Someone correct me if I'm talking out of my a.out ;-)
I thought you were an elf...
Andrzej Bialecki
// ab...@webgiro.com WebGiro
/tinyware/sps to see what i mean).
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com)
// ---
// -- FreeBSD: The Power to Serve. http://www.freebsd.org
// --- Small Embedded FreeBSD: http
/tinyware/sps to see what i mean).
Andrzej Bialecki
// ab...@webgiro.com WebGiro AB, Sweden (http://www.webgiro.com)
// ---
// -- FreeBSD: The Power to Serve. http://www.freebsd.org
// --- Small Embedded FreeBSD: http
it). Is ther
someone else here who is interested in these issues, and using FreeBSD for
that? We could start some info pages, howto's, and perhaps a mailing
list...
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com
it). Is ther
someone else here who is interested in these issues, and using FreeBSD for
that? We could start some info pages, howto's, and perhaps a mailing
list...
Andrzej Bialecki
// ab...@webgiro.com WebGiro AB, Sweden (http://www.webgiro.com
On Tue, 7 Sep 1999, Andrzej Bialecki wrote:
* does the problem affect anything else? I'm not at the console, so I
can't be sure, but the machine appears to be very sluggish over the net.
It seems the sluggishness was caused by two Midnight commanders spinning
like crazy and eating 200% of CPU
, soon
going to the production, so the answer is very important to me. In the
light of upcoming RELEASE I think this is also something worth
investigating.
Thanks!
Andrzej Bialecki
// ab...@webgiro.com WebGiro AB, Sweden (http://www.webgiro.com
On Tue, 7 Sep 1999, Andrzej Bialecki wrote:
* does the problem affect anything else? I'm not at the console, so I
can't be sure, but the machine appears to be very sluggish over the net.
It seems the sluggishness was caused by two Midnight commanders spinning
like crazy and eating 200% of CPU
in the kernel configuration file (see config(8)).
This is useful when the kernel panics before multi-user mode is reached.
Subsequent successful invocations of dumpon will override the compiled in
value.
Hmmm... Wasn't this config line removed in -current? You can do it in
-stable, though.
Andrzej
in the kernel configuration file (see config(8)).
This is useful when the kernel panics before multi-user mode is reached.
Subsequent successful invocations of dumpon will override the compiled in
value.
Hmmm... Wasn't this config line removed in -current? You can do it in
-stable, though.
Andrzej
:
* which cards support it (that have FreeBSD drivers of course)?
* is there some way to set it (I couldn't find any code in the ifconfig
nor in the kernel)?
Thanks!
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com
:
* which cards support it (that have FreeBSD drivers of course)?
* is there some way to set it (I couldn't find any code in the ifconfig
nor in the kernel)?
Thanks!
Andrzej Bialecki
// ab...@webgiro.com WebGiro AB, Sweden (http://www.webgiro.com
found that the two spaces make
I guess they don't teach manual typewriting classes any more :-)
It *had* to be two spaces or you got seriously marked down!
Doesn't apply here in Europe. I vote against putting in too much
starsstripes dependent stuff... ;-)
Andrzej Bialecki
// [EMAIL
found that the two spaces make
I guess they don't teach manual typewriting classes any more :-)
It *had* to be two spaces or you got seriously marked down!
Doesn't apply here in Europe. I vote against putting in too much
starsstripes dependent stuff... ;-)
Andrzej Bialecki
// ab
) that could significantly shorten
time it takes fsck to check big filesystems, let's say 64GB? As it is now,
it's almost unbearable. I naively thought softupdates would (almost)
eliminate the need to do fsck...
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com
naively thought softupdates would (almost)
:eliminate the need to do fsck...
:
:Andrzej Bialecki
Eventually Kirk is planning for softupdates to allow you to run a special
version of fsck in the background to clean up the block bitmap on a live
filesystem. The time frame
) that could significantly shorten
time it takes fsck to check big filesystems, let's say 64GB? As it is now,
it's almost unbearable. I naively thought softupdates would (almost)
eliminate the need to do fsck...
Andrzej Bialecki
// ab...@webgiro.com WebGiro AB, Sweden (http://www.webgiro.com
naively thought softupdates would (almost)
:eliminate the need to do fsck...
:
:Andrzej Bialecki
Eventually Kirk is planning for softupdates to allow you to run a special
version of fsck in the background to clean up the block bitmap on a live
filesystem. The time frame
. No changes
in sources - just edit /etc/pam.conf.
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com)
// ---
// -- FreeBSD: The Power to Serve. http://www.freebsd.org
// --- Small Embedded
On Fri, 20 Aug 1999, Jaye Mathisen wrote:
I completely missed that radius was working with pam. A check of radius
related stuff in the man pages didn't show anything related to PAM, and
...they are on their way - check RELENG_3, i.e. STABLE.
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro
. No changes
in sources - just edit /etc/pam.conf.
Andrzej Bialecki
// ab...@webgiro.com WebGiro AB, Sweden (http://www.webgiro.com)
// ---
// -- FreeBSD: The Power to Serve. http://www.freebsd.org
// --- Small Embedded
On Fri, 20 Aug 1999, Jaye Mathisen wrote:
I completely missed that radius was working with pam. A check of radius
related stuff in the man pages didn't show anything related to PAM, and
...they are on their way - check RELENG_3, i.e. STABLE.
Andrzej Bialecki
// ab...@webgiro.com WebGiro
it -
but I know too little low-level stuff to try implementing it myself...
Any comments? Some code? ;-)
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com)
// ---
// -- FreeBSD: The Power to Serve
it -
but I know too little low-level stuff to try implementing it myself...
Any comments? Some code? ;-)
Andrzej Bialecki
// ab...@webgiro.com WebGiro AB, Sweden (http://www.webgiro.com)
// ---
// -- FreeBSD: The Power to Serve
, i.e., when you have no chance to
issue the dumpon command. Thanks.
This is a common problem recently, it seems.. See my recent postings to
this group (or was it -current?).
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com
, i.e., when you have no chance to
issue the dumpon command. Thanks.
This is a common problem recently, it seems.. See my recent postings to
this group (or was it -current?).
Andrzej Bialecki
// ab...@webgiro.com WebGiro AB, Sweden (http://www.webgiro.com
.
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com)
// ---
// -- FreeBSD: The Power to Serve. http://www.freebsd.org
// --- Small Embedded FreeBSD: http://www.freebsd.org/~picobsd
.
Andrzej Bialecki
// ab...@webgiro.com WebGiro AB, Sweden (http://www.webgiro.com)
// ---
// -- FreeBSD: The Power to Serve. http://www.freebsd.org
// --- Small Embedded FreeBSD: http://www.freebsd.org/~picobsd
? Saving parametric data? That was always the plan, but the
last thing I think anyone wants to do is rewrite the ffs code in Forth.
Ugh.. No, of course not. The former, i.e. saving parameters. I'm still
sane, you know... :-)
Andrzej Bialecki
// ab...@webgiro.com WebGiro AB, Sweden (http
beforehand (under normal OS operation), then from the bootloader we can
read and modify them - I suppose writing to a disk block is much easier
than through the filesystem layer...
Andrzej Bialecki
// [EMAIL PROTECTED] WebGiro AB, Sweden (http://www.webgiro.com
beforehand (under normal OS operation), then from the bootloader we can
read and modify them - I suppose writing to a disk block is much easier
than through the filesystem layer...
Andrzej Bialecki
// ab...@webgiro.com WebGiro AB, Sweden (http://www.webgiro.com
ally disposable, kill whenever you want", and class 1 means "never try
to kill me". Of course, most processes would get some default value, and
superuser could "renice" them to more resistant class.
This way both sides of the discussion would be satisfied :-)
Andrzej Bi
whenever you want, and class 1 means never try
to kill me. Of course, most processes would get some default value, and
superuser could renice them to more resistant class.
This way both sides of the discussion would be satisfied :-)
Andrzej Bialecki
// ab...@webgiro.com WebGiro AB, Sweden (http
kernel
text during boot stage. And where is the file that the
initialized data is defined in? and
3. What's the file name?
If you mean the 'initialized kernel data', then it's stored in the file
/kernel itself (or whatever file you boot from) in section '.data' of the
ELF file.
Andrzej
that we want as DB records.
Andrzej Bialecki
// ab...@webgiro.com WebGiro AB, Sweden (http://www.webgiro.com)
// ---
// -- FreeBSD: The Power to Serve. http://www.freebsd.org
// --- Small Embedded FreeBSD: http
78 matches
Mail list logo