Hi,
Did you try disabling PnP in your BIOS? This is the exact same
message I was getting with my onboard sound card (YMF724F) until I
disabled PnP in the bios, after which it worked great.
HTH,
Farooq
> mithril wrote:
>
> Hi Everyone,
> [snip]
> pcm0: port 0xd000-0xd0ff mem 0xdd00-0xdd00
Farooq Mela wrote:
> region, but it will get a SIGBUS if it tries to write to it. It would
> be better to return -1 and set errno to EFAULT than to have this brain
> damage imho.
eep... that should be EINVAL... maybe i can be forgiven, though, given
the time at which i wrote th
Hi,
WRT to Terry's email, I initialized the file by writing N nul ('\0')
bytes to it.
Alfred Perlstein wrote:
> Have you tried the mapping with PROT_READ as well? I don't think
> most arches allow for access without PROT_READ along with PROT_WRITE.
Oops.. and I even read the thread a little whi
Alfred Perlstein wrote:
>
> * Farooq Mela <[EMAIL PROTECTED]> [020312 13:01] wrote:
> >
> > Rather than the usual recv() to a fixed size buffer, write() to the
> > file descriptor, loop, etc. However when I try to do this recv gives
> > me back an EFAULT (bad
Hi -hackers,
In trying to increase throughput in a file transfer application I am
working on, I wondered if it was possible to do something like (code
of course edited for brevity):
/* file_fd points to a regular file which is filled with SIZE nul
bytes */
map_addr = mmap(NULL, size, PROT_WRITE,
Hello -hackers,
I've got a bit of a problem getting the linux gdb (out of
ports/devel/linux_devtools) to read core files generated by linux
binaries. Specifically, I'm trying to track down a problem that first
appeared in FreeBSD 4.4-RC which causes any of my hardware-accelerated
linux binaries
Hello,
Sometimes when I burn data CD's from ISO's at 12x speed like so:
# burncd -f /dev/acd1c -s 12 data file.iso fixate
The fixate fails, and I believe it is because the CD-R has not yet
spun down from the burn phase. The problem doesn't occur when the
burn is done at a lower speed. The fix
;
> 4.3-RELEASE comes with an agp device. Simply add agp_load="YES" to your
> /boot/loader.conf file, or device agp to your kernel config file. It
> only supports certain AGP bridges though, look in /usr/src/sys/pci/agp*
> for more info.
>
> On Thu, Jul 19, 2001 at 04:48:0
Hi hackers@,
What is the status of the /dev/agpgart device? (I'm running 4.3-STABLE
with a recent cvsup). Is it working, perhaps using a compatible
interface with the linux device the of the same name (I can dream
can't I ;-) ? I ask because I recently tried compiling Utah-GLX with
AGP accelera
Terry Lambert wrote:
>
> cc -S is your friend.
Right, well that can certainly help, but what gcc generates can be
dependant on calling convention, optimization setting, &c &c, and
though the code generated in one particular scenario may not be an
absolute indicator of it's behavior. In other wor
Hi -hackers,
I'm developing some assembly routines that are called from a C library
under FreeBSD. Some of these routines do not return anything (ie,
prototyped in C, their return type is 'void'). Does the compiler
expect that the asm routines that don't return anything will preserve
the value
Jim Durham wrote:
> Are you running gnome desktop? I've been thrashing with esd and it sounds
> somewhat similar. lsof reports that /dev/dsp is not open to any process,
> but if you try to run timidity, it says "/dev/dsp busy". I have killed esd
> and made it work, but not always. I don't know wha
Hi -hackers,
Several people have made it known to me that games such as Quake2
which ran fine with sound under the 4.2 kernel are not able to have
sound in 4.3. I have verified this myself - with quake2 under 4.3
ktrace reports that opening /dev/dsp fails with EBUSY - even though
nothing is usin
Kevin Day wrote:
>
> Is there a simple way that I can lookup a symbol name(by address) during
> runtime?
man dlopen.
--
farooq <[EMAIL PROTECTED]>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
"Heimes, Rene" wrote:
> other question - whats the (freeware) ids of your choice / "state of the
> art" for freeBSD?
try /usr/ports/security/snort. Next time send questions like this to
the -questions mailing list.
--
farooq <[EMAIL PROTECTED]>
To Unsubscribe: send mail to [EMAIL PROTECTED]
wi
Hey -hackers,
I am wondering why some operating systems use the macro _ANSI_SOURCE
while others (ie Linux) use _ANSI_C_SOURCE to indicate that the source
compiled is ANSI-compliant (and similarly with _POSIX_SOURCE and
_POSIX_C_SOURCE). I have neither copies of the ANSI nor POSIX spec,
and I don'
Jonathan Lemon wrote:
> It was introduced with 4.1; I believe the correct __FreeBSD_version
> to use is 41000.
> --
> Jonathan
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-hackers" in the body of the message
Great, thanks. I figured you'd be the authority on thi
Will Andrews wrote:
> was introduced a loong time ago, and it was subsequently
> obsoleted two years ago in favor of .
>
> The CVS logs will indicate which __FreeBSD_version you need for
> kqueue(). I imagine the number is around 45.
Thanks. Maybe the documentation for FreeBSD_version in
/
Hi -hackers,
Just a quick question.
What value of __FreeBSD_version should I require for kqueue? (I mean
) - was it introduced in 4.1 or 4.2 (memory fails me)?
TIA,
--
farooq <[EMAIL PROTECTED]>
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of th
Alfred Perlstein wrote:
> > We haven't applied wakeup_one() to select() yet? (I think I've argued
> > about this before.)
> >
> > Someone get cracking! :)
>
> I'm not sure it's possible without redesigning the way select works.
>
Perhaps its not possible, as I'm not very familiar with the way k
Greywolf wrote:
> # struct {\
> # int8_t pad[ (sizeof (register_t) < sizeof (x)) \
> # ? 0 \
> # : sizeof (register_t) - sizeof (x)];\
> I thought ?: were evaluated at run-time, not compile-time?
siz
Alfred Perlstein wrote:
> You're too optimistic. _Every_ gcc release is supposed to "fix
> some bugs in the optimizer".
Yeah, that's given, everything of course isn't fixed, not even close,
and there's may even be some new problems introduced. But I was
interested in the fixes anyway. What I was
Howdy,
GCC 2.95.3 was just released. I did notice that there are some bug fixes
in the optimizer, and some various other fixes etc. Considering the
recent discussion about incorrect code generation due to -O2 and above,
are there any plans to import this new release into the FreeBSD source
tree?
Jordan DeLong wrote:
> I was thinking of just getting a sintable array and making a few simple
> functions, so the whole of libm doesn't need to be statically linked into the
> module (from my understanding, once loaded, this module wont ever get paged out,
> and thus it'd be _bad_ for it to be bi
Alfred Perlstein wrote:
> Is '__dead2' a GNU C thing? or is in any sort of standard?
See /usr/include/sys/cdefs.h
__dead2 is defined to __attribute__((__noreturn__)) if a suitable
version of GCC is being used.
> Generally there's some resistance to putting GNU C specific
> code into the base
Alfred Perlstein wrote:
>
> * Farooq Mela <[EMAIL PROTECTED]> [010304 11:18] wrote:
> >
> > Hi,
> >
> > Could someone with CVS write access make the following change in
> > pthread.h
> >
> > void pthread_exit __P((void *));
> >
> &
Hi,
Could someone with CVS write access make the following change in
pthread.h
void pthread_exit __P((void *));
to
void pthread_exit __P((void *)) __dead2;
as this function doesnt return and gcc is giving me some annoying
warnings ;-)
BTW, what is the standard mechanism for submitting a pa
Alfred Perlstein wrote:
>
> * Farooq Mela <[EMAIL PROTECTED]> [010222 23:52] wrote:
> >
> > This is not what I am arguing. I gave a simple example of an xmalloc
> > function which does just print an error and exit. However, I've written
> > many large app
Peter Seebach wrote:
>
> In message <[EMAIL PROTECTED]>, Farooq Mela writes:
> >Of course I realize that allocating memory can fail. That is why I use
> >xmalloc and friends - so that I can avoid having to check for failure
> >each time I want to allocate memory.
Peter Seebach wrote:
> It is a mistake to believe that you "don't have to worry about running
> out of memory". You should always check, every time, and exit as gracefully
> as you can.
>
> -s
Of course I realize that allocating memory can fail. That is why I use
xmalloc and friends - so that
Hi,
Usually when I write programs, I have functions such as the following:
void *
xmalloc(size_t size)
{
void *p;
if ((p=malloc(size))==NULL) {
fprintf(stderr, "out of memory\n");
exit(1);
}
return(p);
}
void *
xrealloc(void *ptr,
David:
I believe that links on CD-ROM are handled using RockRidge extensions,
which basically has plain text files named "00_TRANS.TBL" in each
directory which contains links to other files on the CD. I don't know
all the details and specifics, but you should probably consult your CD
recording so
32 matches
Mail list logo