> > while playing around ifconfig.c, I needed to use gdb(1) on the generated
> > binary :
> >
> > z6po:ifconfig# make clean ; make DEBUG_FLAGS=-ggdb && make install
> > [...]
> > install -s -o root -g wheel -m 555 ifconfig /sbin
> > install -o root -g wheel -m 444 ifconfig.8.gz /usr/shar
On Fri, Sep 24, 2004 at 03:23:21PM +1000, Phillip Crumpler wrote:
> Hi hackers,
>
> A few questions re. ifunit and struct ifnet/ieee80211com, if anyone can
> help me out:
>
> I assume that for a wireless interface ifunit will return a pointer to a
> struct ieee80211com. Is there any way to tell
Hi hackers,
A few questions re. ifunit and struct ifnet/ieee80211com, if anyone can
help me out:
I assume that for a wireless interface ifunit will return a pointer to a
struct ieee80211com. Is there any way to tell which of these I have, so
I don't try to access ieee80211com members in a struc
On 2004-09-21 15:47, Jeremie Le Hen <[EMAIL PROTECTED]> wrote:
> Hi,
>
> while playing around ifconfig.c, I needed to use gdb(1) on the generated
> binary :
>
> z6po:ifconfig# make clean ; make DEBUG_FLAGS=-ggdb && make install
> [...]
> install -s -o root -g wheel -m 555 ifconfig /sbin
>
On Tue, Sep 21, 2004 at 03:47:07PM +0200, Jeremie Le Hen wrote:
> Hi,
>
> while playing around ifconfig.c, I needed to use gdb(1) on the generated
> binary :
>
> z6po:ifconfig# make clean ; make DEBUG_FLAGS=-ggdb && make install
> [...]
> install -s -o root -g wheel -m 555 ifconfig /sbin
On Fri, 24 Sep 2004 09:01, Tim Pushor wrote:
> Theres' really nothing to port. I just want to output various things at
> different points in the bootup process, and again when the system is
> safe to shut off.
I mean test the basics in a place that's easy to debug.
> How painful is it to open/use
Hi,
while playing around ifconfig.c, I needed to use gdb(1) on the generated
binary :
z6po:ifconfig# make clean ; make DEBUG_FLAGS=-ggdb && make install
[...]
install -s -o root -g wheel -m 555 ifconfig /sbin
install -o root -g wheel -m 444 ifconfig.8.gz /usr/share/man/man8
As you ca
On Thursday 23 September 2004 04:29 am, Danny Braniss wrote:
> > On Wednesday 22 September 2004 04:58 am, Danny Braniss wrote:
> > > could some acpi expert shed some light?
> > >
> > > -current panics on boot with BIOS default settings (Suspend Mode is S3)
> > > fix: set Power Management/Suspend Mo
On Thu, 2004-09-23 at 10:46, Guy Helmer wrote:
> Has anyone done a FreeBSD driver for this card or patched if_em.c for it?
The Niagara "driver" is really just the em driver with a character
device to handle the user land utility.
I have ported the basic functionality of the Niagara cdev to FreeBS
I'm looking at the Interface Masters Niagara 2250 dual gig passthrough
NIC for a filtering system. It has a watchdog timer that can bypass the
interfaces if the software fails to update the timer. Interface
Masters' web site claims FreeBSD 4 support, but when asked they were
only able to prov
Hi,
On Thu, Sep 23, 2004 at 09:57:25PM +1000, Phillip Crumpler wittered thus:
> Anyone else has similar problems? BMS@ reported ditching the Centrino
> card in his T40 but didn't mention if he replaced it with something else.
I used an official IBM Atheros part, so I didn't run into this problem
On Thu, 23 Sep 2004 04:18, Tim Pushor wrote:
> My question is, I would really like to be able to display various things
> during startup, shutdown, and once shutdown is complete to the LCD. I
> assume I would have to modify the kernel for this. I done lots of C
> programming, and hardware interface
Hi hackers,
I originally submitted this question on 'questions' but didn't receive
much response.
I am planning on putting a small 16x2 line LCD panel (crystalfontz 633)
on a FreeBSD system, and writing a small application to control and
display various things via the LCD and buttons. This is f
Hello!
A Google search for the Subject brought up a recent thread on this list.
We have an amd64 system running 5.3-BETA5, with almost-working amdpm0:
amdpm0: port
0xe0-0xff,0xb400-0xb41f irq 19 at device 7.2 on pci0
amdpm0: could not map i/o space
device_attach: amdpm0 attach returned 6
The p
> inspired me to look at my resolve.conf one more time and try using names
> instead of ip numbers.
Sorry, not quite clear here, but numbers must come from somewhere,
if not resolv.conf, then /etc/hosts or local named + maybe via root
servers whose numeric addresses are themselves compiled into l
Gordon David wrote:
Hello,
I have a question. Anyone would like to tell me how to execute a user
process or shell script in the kernel?
As we know, the kernel forks a process named initproc and executes
/sbin/init, etc. If I want to execute a user level process, such as a
simple printf("Hello wor
Hello hackers,
Wanting to try out Sam Leffler's wireless layer back-port I tried to
replace the Intel miniPCI wireless card in my Thinkpad T41 (2373) with
an Atheros based one. I had a Netgear WAG311 handy - these are an
Atheros miniPCI wireless NIC on a PCI carrier - so I levered the top off
>
> I'm not sure that you get some performance with this method, usually
> an application allocates memory, makes syscall and tells how many bytes
> the kernel (the module) can store in this memory. But I don't see
> the complete picture, so may be you can't use this standard approach.
>
Thats
On Thu, Sep 23, 2004 at 11:38:28AM +0200, Niels Heinen wrote:
> The module buffers packets and currently copies it into user memory
> when its system call interface is used. At the moment my user space
> application is the one that allocates the memory. I want the memory
> to be allocated by th
Hi all,
I'm working on a kernel module that I want to use to copy packet
data, obtained trough the phil hooks, to user space memory.
The module buffers packets and currently copies it into user memory
when its system call interface is used. At the moment my user space
application is the one tha
On Thu, Sep 23, 2004 at 08:18:14AM +, Gordon David wrote:
> Kqueue is a good method to notify the user. But I want the code in the
> kernel directly calls a user program.
This is Very, Very Hard indeed, because it's not something supported by
the system, but it should be possible. Look at cre
> On Wednesday 22 September 2004 04:58 am, Danny Braniss wrote:
> > could some acpi expert shed some light?
> >
> > -current panics on boot with BIOS default settings (Suspend Mode is S3)
> > fix: set Power Management/Suspend Mode to S1 in BIOS
> >
> > disabling ACPI on boot is not good, since this
From: "Bjoern A. Zeeb" <[EMAIL PROTECTED]>
To: Gordon David <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: execute a user process in the kernel
Date: Thu, 23 Sep 2004 08:02:18 + (UTC)
On Thu, 23 Sep 2004, Gordon David wrote:
> That's the point. I do not want the userland program to che
On Thu, 23 Sep 2004, Gordon David wrote:
> That's the point. I do not want the userland program to check /dev/fooctl
> from time to time. I want the kernel to notify the userland program
> instead. So how shall I do it? Maybe linker_load_file is a better way.
man 2 kqueue ?
--
Bjoern A. Zeeb
> On Wed, Sep 22, 2004 at 08:49:11AM +, Gordon David wrote:
> > Hello,
> >
> > I have a question. Anyone would like to tell me how to execute a
> > user process or shell script in the kernel?
>
> You probably really don't want to do this and if you do, there is
> likely a better approach.
Readi
25 matches
Mail list logo