Re: No way to tell when `long long' is or is not supported?

2002-09-09 Thread David O'Brien
On Sun, Sep 08, 2002 at 11:50:17PM -0400, Garrett Wollman wrote: > Rather than trying to deduce whether `long long' is supported from > other macros, I simply modified the compiler driver to tell us. Looking at GCC on other platforms, "_LONGLONG" seems to be the most preferred symbol. How does t

Re: apm support

2002-09-09 Thread Terry Lambert
Mark Santcroos wrote: > On Sat, Sep 07, 2002 at 07:29:10PM +0200, John Angelmo wrote: > > I'm trying to get some apm support on my laptop. > > I have device apm in my kernelconf > > and apm_enable="YES" in rc.conf > > > > but when I run apm I get: [ ... ] > > what could I be missing? > > That's a

Re: apm support

2002-09-09 Thread Mark Santcroos
> > > Battery status: unknown > > > Remaining battery time: unknown > > > Battery 0: > > > Battery status: unknown > > > Remaining battery time: 0:00:00 > > > APM Capabilities: > > > unknown What does: 'sysctl -a hw.acpi' show? And what does the 'apm' command show when y

Re: apm support

2002-09-09 Thread John Angelmo
On Mon, 9 Sep 2002 10:56:07 +0200 Mark Santcroos <[EMAIL PROTECTED]> wrote: > > > > Battery status: unknown > > > > Remaining battery time: unknown > > > > Battery 0: > > > > Battery status: unknown > > > > Remaining battery time: 0:00:00 > > > > APM Capabilities: > > > >

Re: apm support

2002-09-09 Thread Mark Santcroos
On Mon, Sep 09, 2002 at 11:15:43AM +0200, John Angelmo wrote: > > > > > Battery status: unknown > > > > > Remaining battery time: unknown > > > > > Battery 0: > > > > > Battery status: unknown > > > > > Remaining battery time: 0:00:00 These were all zero because you were plugged

Re: apm support

2002-09-09 Thread John Angelmo
Mark Santcroos wrote: > On Mon, Sep 09, 2002 at 11:15:43AM +0200, John Angelmo wrote: > >>Battery status: unknown >>Remaining battery time: unknown >>Battery 0: >>Battery status: unknown >>Remaining battery time: 0:00:00 > > > These were all zero because

Re: No way to tell when `long long' is or is not supported?

2002-09-09 Thread Christopher Vance
On Mon, Sep 09, 2002 at 01:10:46AM -0700, David O'Brien wrote: : > Rather than trying to deduce whether `long long' is supported from : > other macros, I simply modified the compiler driver to tell us. What's wrong with #include #ifdef LLONG_MAX Surely we get to determine the contents of our o

Re: No way to tell when `long long' is or is not supported?

2002-09-09 Thread Bruce Evans
On Mon, 9 Sep 2002, David O'Brien wrote: > On Sun, Sep 08, 2002 at 11:50:17PM -0400, Garrett Wollman wrote: > > GCC used to define a macro __STRICT_ANSI__ when `-ansi' was given on > > the command line. The current version does not do this, > > It seems to work for me: For me too. I vaguely re

Re: No way to tell when `long long' is or is not supported?

2002-09-09 Thread Bruce Evans
On Mon, 9 Sep 2002, Christopher Vance wrote: > On Mon, Sep 09, 2002 at 01:10:46AM -0700, David O'Brien wrote: > : > Rather than trying to deduce whether `long long' is supported from > : > other macros, I simply modified the compiler driver to tell us. > > What's wrong with > > #include > #ifdef

Re: Release building broken for -current

2002-09-09 Thread Udo Schweigert
On Sun, Sep 08, 2002 at 19:05:08 +0200, John Hay wrote: >> >> when bulding release on -current I get (since a couple of days): >> > >> rm -rf /R/stage/dists > >> mkdir -p /R/stage/dists > >> rolling base/base tarball > >> mtree: line 0: dumpdates: No such file or directory > >> *** Error code 1

Re: Uncommitted dc0 fixes ...

2002-09-09 Thread Stephen McKay
On Wednesday, 4th September 2002, Martin Blapp wrote: >And this patch here together with patch III made the annoying messages (dc0: >failed to force tx and rx to idle mode) go away. And I can use now my card >without to replug the cable over again) I've been meaning to remove the annoying messag

alpha tinderbox failure

2002-09-09 Thread Dag-Erling Smorgrav
-- >>> Rebuilding the temporary build tree -- >>> stage 1: bootstrap tools -- >>> stage 2: cleaning up the object tree

xl_stats_update taking very long

2002-09-09 Thread Harti Brandt
Hi, I have a system that I use for simulation purposes. I have set HZ to 1 and everything is just fine. Except for one thing: the routine xl_stats_update has a mean execution time of 7.6 milliseconds. For my feeling this is far too long (compare to dc_tick, which takes only 1.5 usecs). If I

Kernel hangs during boot - latest cvsup

2002-09-09 Thread Sid Carter
Hi, I compiled the kernel last nite and I haven't been able to boot into the system with that kernel. This is where the kernel hangs vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 Timecounters tick every 10.000 msec --- It p

Re: No way to tell when `long long' is or is not supported?

2002-09-09 Thread Garrett Wollman
< said: > Looking at GCC on other platforms, "_LONGLONG" seems to be the most > preferred symbol. How does this patch look? Works for me. I'd still like to see `-posix' go away, if we're going to be changing freebsd-spec.h further. -GAWollman To Unsubscribe: send mail to [EMAIL PROTECTED] w

Re: No way to tell when `long long' is or is not supported?

2002-09-09 Thread Garrett Wollman
< said: > It seems to work for me: > $ cat foo.c > #ifdef __STRICT_ANSI__ > #error __STRICT_ANSI__ > #endif > $ /usr/bin/cc -ansi foo.c > foo.c:2:2: #error __STRICT_ANSI__ OK, so this is now one of those magic defines that's not shown in the specs and just pulled out thi

Re: Clock runs too fast

2002-09-09 Thread Craig Rodrigues
On Sun, Sep 08, 2002 at 12:16:26PM +0200, Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Craig Rodrigues writes: > >Is there a problem with the ACPI code or with my > >hardware (an ASUS P5A-B motherboard from about 3 or 4 years ago). > > > >How can I default to i8254 as my default tim

Bluetooth stack for FreeBSD

2002-09-09 Thread Maksim Yevmenkin
Hackers, I'm very pleased to announce that another engineering release is available for download at http://www.geocities.com/m_evmenkin/ngbt-fbsd-20020909.tar.gz This release features several major changes and includes support for H4 UART and H2 USB transport layers, Host Controller Inte

Re: Bluetooth stack for FreeBSD

2002-09-09 Thread Poul-Henning Kamp
In message <[EMAIL PROTECTED]>, Maksim Yevmenkin writes: >I still would like to hear from people. I'm extremely >surprised that FreeBSD community seems not interested in >this at all. I got very few replies from few people >(Julian Elischer, Terry Lambert - thanks!) and that's it. Most of us pro

Re: Bluetooth stack for FreeBSD

2002-09-09 Thread Maxim Sobolev
On Mon, Sep 09, 2002 at 07:36:51PM +0200, Poul-Henning Kamp wrote: > In message <[EMAIL PROTECTED]>, Maksim Yevmenkin writes: > > >I still would like to hear from people. I'm extremely > >surprised that FreeBSD community seems not interested in > >this at all. I got very few replies from few peop

Re: alpha tinderbox (fwd)

2002-09-09 Thread Nate Lawson
Anyone else? -- Forwarded message -- Date: Mon, 9 Sep 2002 09:33:44 +0100 From: Doug Rabson <[EMAIL PROTECTED]> To: Nate Lawson <[EMAIL PROTECTED]>, Doug Rabson <[EMAIL PROTECTED]> Subject: Re: alpha tinderbox On Monday 09 September 2002 7:08 am, Nate Lawson wrote: > You offered

Re: acpica-unix-20020829 patches (was Re: Lots of ACPI errors when booting yesterdays CURRENT

2002-09-09 Thread Mark Santcroos
On Thu, Sep 05, 2002 at 03:06:30PM +0900, Mitsuru IWASAKI wrote: > Please try the latest version acpica-unix-20020829, patches for > FreeBSD at: > http://people.freebsd.org/~iwasaki/acpi/acpica-20020815-20020829-test20020905.diff Hi Mitsuru, I applied your patches today and besides the "Revision

Re: alpha tinderbox (fwd)

2002-09-09 Thread Bruce Evans
On Mon, 9 Sep 2002, Nate Lawson wrote: > Anyone else? I might get around to fixing some of the cy dirver problems, but you can easily just remove references to the cy driver from alpha files (the main references have have already been moved from conf/files to conf/files.{i386,pc98}. Bruce To

Please commit syscons fix (Was: Re: syscons in rcng ? - SOLVED)

2002-09-09 Thread Rasmus Skaarup
> > >With the latest changes (1.8, 5th of Sep) to /etc/rc.d/syscons, syscons > > >doesn't get initialized on my 5.0-CURRENT. > > > > > >Have I missed some new configuration options? > > > > Very simple: /usr/src/etc/rc.d/syscons misses line > run_rc_command "$1" Would someone please commit this

Re: ste driver broken

2002-09-09 Thread Doug Ambrisko
Francois Tigeot writes: [ Charset ISO-8859-1 unsupported, converting... ] | Greetings, | | I recently upgraded one machine to a recent -CURRENT, and the NIC | (DLink 550 TX) fails to be properly initialized. | The rest of the system is pretty vanilla : Athlon XP, with Via chipset. | | | Here is

-current panic with IPv6.

2002-09-09 Thread David Malone
I've got the following panic a few times using IPv6 on a recent -current (while scping a file usually): panic: mutex inp not owned at ../../../netinet/tcp_output.c:131 panic: from debugger the trace back seems to involve getting an ICMP message and then calling tcp code. David. #0 0xc

Re: Kernel hangs during boot - latest cvsup

2002-09-09 Thread Vincent Poy
On 9 Sep 2002, Sid Carter wrote: > Hi, > > I compiled the kernel last nite and I haven't been able to boot into the > system with that kernel. This is where the kernel hangs > > > vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 > Timecounters tick every 10.00

$B$7$8$_$H$b$b$N%3%i%\%l!<%7%g%s(J

2002-09-09 Thread sous1@aa.alles.or.jp
‚à‚à‚ª‚Í‚¶‚¯‚Ä‚Ô‚Ç‚¤‚ª‚ä‚ê‚é ‚µ‚¶‚Ý‚Æ‚à‚à‚̃Rƒ‰ƒ{ƒŒ[ƒVƒ‡ƒ“ ƒƒŠ[ƒ^ƒrƒfƒIi‚c‚u‚cjê–å ‚¢‚‚܂ʼnc‹Æ‚Å‚«‚é‚©‚í‚©‚è‚Ü‚¹‚ñ ‚²’•¶‚Í‚¨‘‚߂ɁI http://book-i.net/mutou ì•i—á ­—“`à@–¼ŒÃ‰®’c’n9@­—‚Ì“¹‘ ‚È‚Ç‚È‚Ç132ì•iBD•]”­”„’†I (^-^)/~ƒƒŠ˜F—˜ƒ€ƒg[ To Unsubscribe: send mail to [EMAIL P

Re: Kernel hangs during boot - latest cvsup

2002-09-09 Thread Julian Elischer
On Mon, 9 Sep 2002, Vincent Poy wrote: > On 9 Sep 2002, Sid Carter wrote: > > > Hi, > > > > I compiled the kernel last nite and I haven't been able to boot into the > > system with that kernel. This is where the kernel hangs > > > > > > vga0: at port 0x3c0-0x3df i

pkg_install broken?

2002-09-09 Thread walt
cc -O -pipe -mcpu=pentiumpro -Werror -Wall -Wno-format-y2k -Wno-uninitialized -c /usr/src/usr.sbin/pkg_install/lib/version.c -o version.o building static install library ranlib libinstall.a ===> add cc -O -pipe -mcpu=pentiumpro -I/usr/src/usr.sbin/pkg_install/add/../lib -Werror -Wall -Wno-

Re: Kernel hangs during boot - latest cvsup

2002-09-09 Thread Vincent Poy
On Mon, 9 Sep 2002, Julian Elischer wrote: > On Mon, 9 Sep 2002, Vincent Poy wrote: > > > On 9 Sep 2002, Sid Carter wrote: > > > > > Hi, > > > > > > I compiled the kernel last nite and I haven't been able to boot into the > > > system with that kernel. This is where the kernel hangs > > > > > > -

vnode lock assertion problem in nfs_link()

2002-09-09 Thread Don Lewis
nfs_link() contains the following code: /* * Push all writes to the server, so that the attribute cache * doesn't get "out of sync" with the server. * XXX There should be a better way! */ VOP_FSYNC(vp, cnp->cn_cred, MNT_WAIT, cnp->cn_thread); T

Re: pkg_install broken?

2002-09-09 Thread Maxim Sobolev
OOPS, sorry, this was my fault. I've fixed it already. Thanks for reporting! -Maxim On Mon, Sep 09, 2002 at 02:49:34PM -0700, walt wrote: > cc -O -pipe -mcpu=pentiumpro -Werror -Wall -Wno-format-y2k > -Wno-uninitialized -c /usr/src/usr.sbin/pkg_install/lib/version.c -o > version.o > buildin

Re: Uncommitted dc0 fixes ...

2002-09-09 Thread David O'Brien
On Mon, Sep 09, 2002 at 11:59:08PM +1000, Stephen McKay wrote: > This driver represents a counterintuitive state of affairs. I was impressed > when Bill Paul managed to support so many clone cards with one driver. But > now nobody has enough hardware on hand to test any change properly. There's

Re: vnode lock assertion problem in nfs_link()

2002-09-09 Thread Don Lewis
On 9 Sep, Don Lewis wrote: > nfs_link() contains the following code: > > /* > * Push all writes to the server, so that the attribute cache > * doesn't get "out of sync" with the server. > * XXX There should be a better way! > */ > VOP_FSYNC(vp,

Re: vnode lock assertion problem in nfs_link()

2002-09-09 Thread Robert Watson
On Mon, 9 Sep 2002, Don Lewis wrote: > nfs_link() contains the following code: > > /* > * Push all writes to the server, so that the attribute cache > * doesn't get "out of sync" with the server. > * XXX There should be a better way! > */ > VOP

Re: vnode lock assertion problem in nfs_link()

2002-09-09 Thread Don Lewis
On 9 Sep, Robert Watson wrote: > On Mon, 9 Sep 2002, Don Lewis wrote: >> I think we can probably just lock and unlock vp around the call to >> VOP_FSYNC() ... > > What I'd actually like to do is lock vp on going in to the VOP. I need to > grab the lock in the link() code anyway to do the MAC c

alpha tinderbox failure

2002-09-09 Thread Dag-Erling Smorgrav
-- >>> Rebuilding the temporary build tree -- >>> stage 1: bootstrap tools -- >>> stage 2: cleaning up the object tree

Re: Uncommitted dc0 fixes ...

2002-09-09 Thread Vincent Poy
On Thu, 5 Sep 2002, Martin Blapp wrote: > > When I tried these patches manually handpatching on 08182002 JP > > SNAPSHOT, it took away the error messages like you had mentioned except > > I can ping everything except for the gateway. Also, no other protocols > > would work at all so it seems

Re: apm support

2002-09-09 Thread Vincent Poy
On Mon, 9 Sep 2002, Mark Santcroos wrote: > On Mon, Sep 09, 2002 at 11:15:43AM +0200, John Angelmo wrote: > > > > > > Battery status: unknown > > > > > > Remaining battery time: unknown > > > > > > Battery 0: > > > > > > Battery status: unknown > > > > > > Remaining battery time:

ACPI support (was Re: apm support)

2002-09-09 Thread Mitsuru IWASAKI
[subject was changed] Hi, > WinXP, it was running under ACPI. However, with the GENERIC kernel, the > fan doesn't seem to go on. Is there a way to disable the system from > suspending when the lid is closed? or would adding device apm to the > kernel and then enabling apmd and apm in rc.conf

Re: ACPI support (was Re: apm support)

2002-09-09 Thread Vincent Poy
On Tue, 10 Sep 2002, Mitsuru IWASAKI wrote: Hi Iwasaki-san: > [subject was changed] > > Hi, > > > WinXP, it was running under ACPI. However, with the GENERIC kernel, the > > fan doesn't seem to go on. Is there a way to disable the system from > > suspending when the lid is closed? or would ad

Re: vnode lock assertion problem in nfs_link()

2002-09-09 Thread Don Lewis
On 9 Sep, Robert Watson wrote: > What I'd actually like to do is lock vp on going in to the VOP. I need to > grab the lock in the link() code anyway to do the MAC check. UFS and > others all immediately lock the vnode on entry anyway... Here's a patch to implement this. It compiles and seems