Hi,
I am trying to debug a KLD using serial GDB but it keeps hanging..
ie I will enter the debugger OK, and generally everything will work OK
for a while, but then I'll want to do another command and it will just
sit there in the ttyin state :-/
It is sometimes recoverable but that requires
Hi,
I'm trying to write a driver for a serial card - it is fairly simple,
but I'm having trouble with some conversions from the Linux driver :)
In the Linux driver there is stuff like -
if ((rc = pcibios_read_config_byte(bus, dev_fn, PCI_DC_SIO_PORT,
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
Hi,
Here are my test news. The -O bug doesn't happen with
gcc295 from ports !
I tried all these FLAGS, but noone of them was creating the
problems we see with -O :
Optimization Options
-fcaller-saves -fcse-follow-jumps -fcse-skip-blocks
-fdelayed-branch -felide-constructors
STABLE is broken too, but in a different manner. I just added -O and
then this happened.
[algo] :testing inplace_merge #1() (weak) ... eh_test in free(): warning: junk
pointer, too high to make sense
eh_test in free(): warning: junk pointer, too high to make sense
eh_test in free(): warning:
Mit freundlichen Grüßen / Best Regards
Joerg Wagner
_
Fa. Arxes NCC AG
IM-CAS-CCC-PCH
Tel.: +49 214/30-31000
Fax:
E-Mail: [EMAIL PROTECTED]
Internet : http://www.bayer-ag.de
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe
I removed now #undef DEFAULT_VTABLE_THUNKS and set again #define
DWARF2_UNWIND_INFO 1 in the port. The -O tests still succeeded.
All cpp* files are the same in the port and our system compilers.
And ideas and pointers which subsystems I could test for this breakage ?
Martin
To Unsubscribe:
On Tue, Mar 12, 2002 at 11:32:25PM -0800, Terry Lambert wrote:
The POSIX specification itself is a better reference for
POSIX. The copy I have is old, and the Single Unix
Specifications I have (the Go Solo 2, and the earlier Draft
of the Spec. 1770 from the UNIX International FTP site
- Original Message -
From: Martin Vana [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, March 12, 2002 3:55 PM
Subject: firewall and ports
hi,
I sit behind a tough firewall, and none of the ports in port collection
is able to fetch files need for install.
How could I overcome
On Mon, 2002-03-11 at 00:47, BOUWSMA Beery wrote:
Thanks! I'm pleased to report that I applied your patch to my
-stable source, and now I'm able to `make buildworld' with my
rw unionfs mount of my local hacks, atop a ro nullfs mount with
unaltered source, which I'm doing right now.
The
In article [EMAIL PROTECTED] you wrote:
On Tue, Mar 12, 2002 at 04:38:42PM +0200, Vladimir Terziev wrote:
I have to configure a box, which has to run different startup
scrips on behalf of loaded kernel and kernel modules at startup.
[...]
How can I understand, when the startup scripts
Craig Rodrigues wrote:
The Single UNIX Specification, Version 3 was released recently,
incorporating POSIX 1003.1-2001.
I think the standard is available for free (unlike the older POSIX standards)
on the web:
http://www.unix-systems.org/version3/
Thanks for the pointer.
The RT stuff is
* Farooq Mela [EMAIL PROTECTED] [020313 11:38] wrote:
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,
Exception-handling is broken with -O in -stable, and has been for years.
FreeBSD is one of the few systems that use setjmp/longjmp stack unwinds
to implement exceptions, so when the GCC folks broke that path, it was
never fixed. There are supposedly patches floating around that fix the
problem,
»¶ÓÄú·¢±íÄúµÄ¹Ûµã [EMAIL PROTECTED]
Changchun-mh2.gif
Description: Binary data
»¶ÓÄú·¢±íÄúµÄ¹Ûµã [EMAIL PROTECTED]
Changchun-mh2.gif
Description: Binary data
I am having some memory allocation woes in my FreeBSD kernel
device driver. I allocate DMAable memory with something like:
retval = bus_dma_tag_create
...
(1 20),
1,
(1 20),
...
which seems to succeed/work. But when I attempt to release the
On Wed, Mar 13, 2002 at 12:15:34PM -0800, Ed Hall wrote:
Exception-handling is broken with -O in -stable, and has been for years.
FreeBSD is one of the few systems that use setjmp/longjmp stack unwinds
to implement exceptions, so when the GCC folks broke that path, it was
never fixed. There
Thanks for the reply Mark, I tracked my problem down. In
'bus_dmamem_alloc', 'contigmalloc' is used if the size is
greater than PAGE_SIZE. However, in 'bus_dmamem_free'
the same PAGE_SIZE check is performed, but nothing is
done for the case where the size is greater than PAGE_SIZE.
So I then
We are using a set of patches that were part of gcc 2.95.3_test3.
Do you have a sample program in which exceptions are still broken on
FreeBSD 4.5?
cd /usr/ports/devel/stlport
make install
cd work/STL*/test/eh
add -O to gcc-freebsd.mk
gmake -f gcc-freebsd.mk clean
gmake -f gcc-freebsd.mk
Hi everybody,
I am making my own set of administrative tools and i have one little
questions :
whitch tool i should use to encrypt data ?
are the story about the security of pgp (seems to be a whole, I don't
beleive it ) thrue ?
is there somethings better ( i wish just encrypt some
Thanks for the reply Mark, I tracked my problem down. In
'bus_dmamem_alloc', 'contigmalloc' is used if the size is
greater than PAGE_SIZE. However, in 'bus_dmamem_free'
the same PAGE_SIZE check is performed, but nothing is
done for the case where the size is greater than PAGE_SIZE.
On Wed, Mar 13, 2002 at 02:08:55PM +0100, Martin Blapp wrote:
I removed now #undef DEFAULT_VTABLE_THUNKS and set again #define
DWARF2_UNWIND_INFO 1 in the port. The -O tests still succeeded.
All cpp* files are the same in the port and our system compilers.
And ideas and pointers which
Hi Kris,
Did you pursue my suggestion of comparing recent patches in the port
and in the source tree?
Easy to say, hard to do. STABLE is broken as current is, and it seems that
4.4 and 4.3 are also broken for the STLport test.
This is a very difficult thing to do for someone that does not
On Wed, Mar 13, 2002 at 11:42:46PM +0100, Martin Blapp wrote:
Hi Kris,
Did you pursue my suggestion of comparing recent patches in the port
and in the source tree?
Easy to say, hard to do. STABLE is broken as current is, and it seems that
4.4 and 4.3 are also broken for the STLport
Kris,
fixes things, or at least identify a list of possible changes which
others can test.
How can I compile gcc without doing a make world ?
Martin
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the body of the message
(sorry for the delay in following-up to this thread; when the Big Blue
Room is cloudless and approaching 25 degrees at this time of year, I feel
an uncontrollable craving to lock myself in that room most of the day)
I wrote:
Hmmm, a few weeks ago I did some totally unscientific testing,
i see that in 4.5 ipaddr/netmask/defaultrouter are
necessary parameters for scripted install.cfg installations (in my case,
pxe). how does one go about using dhcp instead? if i'm using pxeboot
to install multiple system simultaneously over nfs, i can't have them all using
the same ip. in
cd /usr/src/gnu/usr.bin/cc
make
make install
On Wed, 13 Mar 2002, Martin Blapp wrote:
Kris,
fixes things, or at least identify a list of possible changes which
others can test.
How can I compile gcc without doing a make world ?
Martin
To Unsubscribe: send mail to [EMAIL
hw.busfrequency = 133326902
hw.cpufrequency = 66700
hw.cachelinesize = 32
hw.l1icachesize = 32768
hw.l1dcachesize = 32768
hw.l2settings = -2147483648
hw.l2cachesize = 262144
Assuming that some or all of this information can be derived on x86 /
alpha / sparc, how useful do folks think it
* Jordan Hubbard [EMAIL PROTECTED] [020313 15:56] wrote:
hw.busfrequency = 133326902
hw.cpufrequency = 66700
hw.cachelinesize = 32
hw.l1icachesize = 32768
hw.l1dcachesize = 32768
hw.l2settings = -2147483648
hw.l2cachesize = 262144
Assuming that some or all of this information can be
Greg Johnson wrote:
Thanks for the reply Mark, I tracked my problem down. In
'bus_dmamem_alloc', 'contigmalloc' is used if the size is
greater than PAGE_SIZE. However, in 'bus_dmamem_free'
the same PAGE_SIZE check is performed, but nothing is
done for the case where the size is greater than
Alfred Perlstein wrote:
* Jordan Hubbard [EMAIL PROTECTED] [020313 15:56] wrote:
[ ... ]
Assuming that some or all of this information can be derived on x86 /
alpha / sparc, how useful do folks think it would be to have this
information be available from sysctl space? I personally would
On Wed, Mar 13, 2002 at 04:25:00PM -0800, Terry Lambert wrote:
This was actually discussed a while back (a month or two ago).
It got really bogged down when someone pointed out that
they were running CPUs with different clock rates in their
SMP box, just to see what the net effect would be.
On Wed, 13 Mar 2002, Brooks Davis wrote:
On Wed, Mar 13, 2002 at 04:25:00PM -0800, Terry Lambert wrote:
This was actually discussed a while back (a month or two ago).
It got really bogged down when someone pointed out that
they were running CPUs with different clock rates in their
Wouldn't it make the most sense to just have the
hw.cpu#
stuff you mentioned in email? That's the easiest way to understand
the data as a user at least.
Later,
George
--
George V. Neville-Neil [EMAIL PROTECTED]
Neville-Neil Consulting
On Wed, Mar 13, 2002 at 11:49:52PM +0100, Martin Blapp wrote:
Kris,
fixes things, or at least identify a list of possible changes which
others can test.
How can I compile gcc without doing a make world ?
cd /usr/src/gnu/usr.bin/cc make all
Kris
msg32812/pgp0.pgp
On Wed, 13 Mar 2002, Jordan Hubbard wrote:
hw.busfrequency = 133326902
hw.cpufrequency = 66700
hw.freq.{bus,cpu}
hw.cachelinesize = 32
hw.l1icachesize = 32768
hw.l1dcachesize = 32768
hw.l2settings = -2147483648
hw.l2cachesize = 262144
hw.cache.size.line
hw.cache.size.l1.i
On Wed, 13 Mar 2002, Brooks Davis wrote:
On Wed, Mar 13, 2002 at 04:25:00PM -0800, Terry Lambert wrote:
This was actually discussed a while back (a month or two ago).
It got really bogged down when someone pointed out that
they were running CPUs with different clock rates in their
hw.busfrequency = 133326902
hw.cpufrequency = 66700
hw.cachelinesize = 32
hw.l1icachesize = 32768
hw.l1dcachesize = 32768
hw.l2settings = -2147483648
hw.l2cachesize = 262144
Assuming that some or all of this information can be derived on x86 /
alpha / sparc, how useful do folks
Matthew Emmerton wrote:
This was actually discussed a while back (a month or two ago).
It got really bogged down when someone pointed out that
they were running CPUs with different clock rates in their
SMP box, just to see what the net effect would be. THe
problem was, of
I wrote:
: This problem should exist in -current since I think FreeBSD finally drops
^^
That should be shouldn't. I shouldn't post in a hurry (like I'm doing
now).
-Ed
To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-hackers in the
In message: [EMAIL PROTECTED]
Mike Silbersack [EMAIL PROTECTED] writes:
:
: On Tue, 12 Mar 2002, Terry Lambert wrote:
:
: I'm glad the non-8:1 ratio works. I thought that it should;
: the only suspicious code, from my point of vies, was the frag
: mask calculation. And I had a
In message: [EMAIL PROTECTED]
Daniel O'Connor [EMAIL PROTECTED] writes:
: In the Linux driver there is stuff like -
: if ((rc = pcibios_read_config_byte(bus, dev_fn, PCI_DC_SIO_PORT,
: nport)) != PCIBIOS_SUCCESSFUL) break;
:
: And
In message: [EMAIL PROTECTED]
Ed Hall [EMAIL PROTECTED] writes:
: Exception-handling is broken with -O in -stable, and has been for years.
: FreeBSD is one of the few systems that use setjmp/longjmp stack unwinds
: to implement exceptions, so when the GCC folks broke that path, it was
Hi,
I am trying to port a program called Katie -
http://www.netcraft.com.au/geoffrey/katie/ from Linux. It comprises of a
bunch of Perl scripts and some embedded C which talk to a Postgres
server and provide a transparent repository file system..
(Please, no vomiting)
I have got it to build and
M. Warner Losh wrote:
In message: [EMAIL PROTECTED]
Ed Hall [EMAIL PROTECTED] writes:
: Exception-handling is broken with -O in -stable, and has been for years.
: FreeBSD is one of the few systems that use setjmp/longjmp stack unwinds
: to implement exceptions, so when the GCC
On Thu, 2002-03-14 at 18:11, M. Warner Losh wrote:
: However this just ends up printing 0.
:
: (PCI_DC_SIO_PORT is 0x2f)
Do you have the right dev?
bcr = pci_read_config(sp-sc-dev, CB_PCI_BRIDGE_CTRL, 2);
is what I use in the pccard bridge pci driver and it works.
I believe
Ok, there are two rather serious problems with this patch:
(1) When you use a MAP_PRIVATE mapping, modifications to the mapped memory
are backed by swap, not by the file. That is what MAP_PRIVATE does
by definition.
(2) You can't safely use MAP_SHARED unless you
Oops. I'm sorry! This was an email all the from last october! I didn't
mean to resurrect the thread :-)
-Matt
:ehlo.
:
: I was told that diff format I used is unappropriate for most cases,
: so I redo it in unified (-u) format.
:
: Purpose:
50 matches
Mail list logo