Send freebsd-current mailing list submissions to
freebsd-current@freebsd.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.freebsd.org/mailman/listinfo/freebsd-current
or, via email, send a message with subject or body 'help' to
freebsd-current-request@freebsd.org
You can reach the person managing the list at
freebsd-current-owner@freebsd.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of freebsd-current digest..."
Today's Topics:
1. problems compiling latest -current (Danny Braniss)
2. acd(4) is no longer listed among other disk devices in
vmstat(8) (Maxim Sobolev)
3. Re: acd(4) is no longer listed among other disk devices in
vmstat(8) (Poul-Henning Kamp)
4. Re: acd(4) is no longer listed among other disk devices in
vmstat(8) (Pav Lucistnik)
5. Re: HEADS-UP: GCC 3.4.2 snapshot import is imminent
(Thomas E. Zander)
6. ``need toggle update'' on NetBSD and FreeBSD (Barry Bouwsma)
7. Curious MySQL building problem /w GCC 3.4.2 (Roderick van Domburg)
8. Re: -fformat-extensions broken (Giorgos Keramidas)
9. Re: No cvs-src summary (from me) for the week of July 26 -
Aug 2 (fergus)
10. Sil3114 SATA RAID (yuval levy)
11. Re: about the gcc 3.4.x problems (Geoffrey C. Speicher)
12. Re: HEADS-UP: GCC 3.4.2 snapshot import is imminent
(Alexey Dokuchaev)
13. Re: HEADS-UP: GCC 3.4.2 snapshot import is imminent
(Alexey Dokuchaev)
14. PPPoE problems with latest -CURRENT (Peter Ulrich Kruppa)
15. make zh-xsim ports failed (wsk)
16. Is there still sufficient reason for hw.ata.atapi_dma being 0
by default? (Maxim Sobolev)
17. Re: ffs snapshots & large disks (Eric Masson)
----------------------------------------------------------------------
Message: 1
Date: Fri, 30 Jul 2004 13:55:23 +0300
From: Danny Braniss <danny@cs.huji.ac.il>
Subject: problems compiling latest -current
To: current@freebsd.org
Message-ID: <20040730105524.E733143D39@mx1.FreeBSD.org>
Content-Type: text/plain; charset=us-ascii
Hi,
Since noone is complaining, then it might be that I cross compile - compiling
under stable (4.10) for current, this worked fine till now.
..
./cc_tools -I/r+d/5.2/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc
-I/r+d/5.2/src/gnu/usr.bin/cc/cc1/../../../../contrib/gcc/config -I.
-I/r+d/obj/new-dev/r+d/5.2/src/i386/legacy/usr/include -L/r+d/
obj/new-dev/r+d/5.2/src/i386/legacy/usr/lib -o cc1 main.o c-parse+%DIKED.o
c-lang.o stub-objc.o /r+d/obj/new-dev/r+d/5.2/src/i386/r+d/5.2/src/gnu/usr.bin
/
cc/cc1/../cc_int/libcc_int.a -legacy
/r+d/obj/new-dev/r+d/5.2/src/i386/r+d/5.2/src/gnu/usr.bin/cc/cc1/../cc_int/lib
c
c_int.a(diagnostic.o): In function `fancy_abort':
diagnostic.o(.text+0x81c): multiple definition of `fancy_abort'
/r+d/obj/new-dev/r+d/5.2/src/i386/r+d/5.2/src/gnu/usr.bin/cc/cc1/../cc_int/lib
c
c_int.a(errors.o)(.text+0x194): first defined here
/usr/libexec/elf/ld: Warning: size of symbol `fancy_abort' changed from 25 to
39 in /r+d/obj/new-dev/r+d/5.2/src/i386/r+d/5.2/src/gnu/usr.bin/cc/cc1/../cc_i
n
t/libcc_int.a(diagnostic.o)
/r+d/obj/new-dev/r+d/5.2/src/i386/r+d/5.2/src/gnu/usr.bin/cc/cc1/../cc_int/lib
c
c_int.a(diagnostic.o): In function `trim_filename':
diagnostic.o(.text+0x4f8): multiple definition of `trim_filename'
..
danny
------------------------------
Message: 2
Date: Fri, 30 Jul 2004 14:10:00 +0300
From: Maxim Sobolev <sobomax@portaone.com>
Subject: acd(4) is no longer listed among other disk devices in
vmstat(8)
To: phk@freebsd.org
Cc: current@freebsd.org
Message-ID: <410A2C88.10204@portaone.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Hi,
I've noticed that acd(4) is no longer listed among other disk devices in
vmstat(8). I wonder if it has something to do with conversion to GEOM.
-Maxim
------------------------------
Message: 3
Date: Fri, 30 Jul 2004 12:34:02 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: acd(4) is no longer listed among other disk devices in
vmstat(8)
To: Maxim Sobolev <sobomax@portaone.com>
Cc: current@freebsd.org
Message-ID: <81172.1091183642@critter.freebsd.dk>
In message <410A2C88.10204@portaone.com>, Maxim Sobolev writes:
>Hi,
>
>I've noticed that acd(4) is no longer listed among other disk devices in
>vmstat(8). I wonder if it has something to do with conversion to GEOM.
Yes, probably.
Somebody needs to fix vmstat(8), iostat(8) and systat(8) to look at
the stats inside GEOM instead of the driver stats. It's not very
hard to change, it just takes some work.
--
Poul-Henning Kamp | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG | TCP/IP since RFC 956
FreeBSD committer | BSD since 4.3-tahoe
Never attribute to malice what can adequately be explained by incompetence.
------------------------------
Message: 4
Date: Fri, 30 Jul 2004 13:18:59 +0200
From: Pav Lucistnik <pav@FreeBSD.org>
Subject: Re: acd(4) is no longer listed among other disk devices in
vmstat(8)
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: Maxim Sobolev <sobomax@portaone.com>
Message-ID: <1091186339.45658.30.camel@pav.hide.vol.cz>
Content-Type: text/plain; charset="iso-8859-2"
V p�, 30. 07. 2004 v 12:34, Poul-Henning Kamp p�e:
> >I've noticed that acd(4) is no longer listed among other disk devices in
> >vmstat(8). I wonder if it has something to do with conversion to GEOM.
>
> Yes, probably.
>
> Somebody needs to fix vmstat(8), iostat(8) and systat(8) to look at
> the stats inside GEOM instead of the driver stats. It's not very
> hard to change, it just takes some work.
I also noticed that cd0 (atapicam) reports doubled traffic, ie. 8 MB/s
when there is really only 4 MB/s going.
--
Pav Lucistnik <pav@oook.cz>
<pav@FreeBSD.org>
Sun couldn't care less about Linux other than it now being necessary
in order to be buzzword compliant.
-- Al Dente
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: Toto je =?iso-8859-2?Q?digit=E1ln=EC?=
=?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?=
=?ISO-8859-1?Q?_zpr=E1vy?=
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040730/
f2137e99/attachment-0001.bin
------------------------------
Message: 5
Date: Fri, 30 Jul 2004 13:28:08 +0200
From: "Thomas E. Zander" <riggs@rrr.de>
Subject: Re: HEADS-UP: GCC 3.4.2 snapshot import is imminent
To: Alexander Kabaev <kan@freebsd.org>
Cc: current@freebsd.org
Message-ID: <20040730112808.GD26708@marvin.riggiland.au>
Content-Type: text/plain; charset=iso-8859-15
Hello,
On Tue, 27. Jul 2004, at 2:18 +0000, Alexander Kabaev wrote
according to [HEADS-UP: GCC 3.4.2 snapshot import is imminent]:
> The snapshot will be followed by GCC 3.4.2 release when it is available.
(Sorry in case this is a faq)
Do we actually have plans to include stack smashing protection in a
future gcc commit?
Regards,
Riggs
--
- "[...] I talked to the computer at great length and
-- explained my view of the Universe to it" said Marvin.
--- And what happened?" pressed Ford.
---- "It committed suicide." said Marvin.
------------------------------
Message: 6
Date: Thu, 29 Jul 2004 15:09:33 +0200 (CEST)
From: Barry Bouwsma
<freebsd-misuser@remove-NOSPAM-to-reply.NOSPAM.dyndns.dk>
Subject: ``need toggle update'' on NetBSD and FreeBSD
To: NetBSD Current Users <current-users@netbsd.org>
Cc: FreeBSD Current <current@freebsd.org>
Message-ID: <200407291309.i6TD9XT01583@Mail.NOSPAM.DynDNS.dK>
[keep replies on the list, not to me, to avoid bounces, thanks]
[sent both to NetBSD and FreeBSD, as the code in question originates
in NetBSD]
Howdy.
I've noticed with glee the latest EHCI commits in the NetBSD
source tree, that are supposed to deal with the problem of
toggle updates.
First I merged the latest commits through mid-july into my FreeBSD
4.x system, but apparently still had problems with USB2 umass
devices and the data toggle. This isn't too surprising, as my
source code is a mess, but I made several attempts, based on
the FreeBSD-stable and FreeBSD-current USB code, all with the
same problem.
Finally I installed NetBSD-current, and booted from the USB2
drive as my OS disk. I get the following at boot, but I've
had no problems in minor attempts to pound the disk so far.
umass0 at uhub2 port 1 configuration 1 interface 0
umass0: Maxtor 5000XT v01.00.00, rev 2.00/1.00, addr 2
umass0: using SCSI over Bulk-Only
ehci_idone: need toggle update status=80018d40 nstatus=80008c80
ehci_idone: need toggle update status=80028d40 nstatus=80008c80
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <Maxtor, 5000XT v01.00.00, 0100> disk fixed
sd0: 233 GB, 16383 cyl, 16 head, 63 sec, 512 bytes/sect x 490232832 sectors
Whereas with what should be the same patches in FreeBSD, I
saw the following right before my USB2 drive went to lunch,
well after the boot had completed:
ehci_idone: need toggle update status=cff30d00 nstatus=50000d80
ehci_idone: need toggle update status=4df30d00 nstatus=50000d80
Perhaps this means something to someone.
As I note, I haven't excessively pounded the disk with NetBSD,
though it's survived a minor pummeling, but pretty much any
access to the disk with my patched FreeBSD results in it going
out to lunch.
I don't know if the `need toggle update' message appearing within
the NetBSD boot means anything -- I don't remember seeing it
during the FreeBSD boot, only when the disk went comatose --
but this could be useful info for Julian or whoever is looking
into FreeBSD USB2 support.
As well as a datapoint and kudos to NetBSD, for what it's worth.
Anyway, this is just for information.
thanks
barry bouwsma
------------------------------
Message: 7
Date: Thu, 29 Jul 2004 18:05:53 +0200
From: Roderick van Domburg <r.s.a.vandomburg@student.utwente.nl>
Subject: Curious MySQL building problem /w GCC 3.4.2
To: freebsd-current@freebsd.org
Message-ID: <41092061.7000900@student.utwente.nl>
Content-Type: text/plain; charset=us-ascii; format=flowed
First off, thumbs up for the GCC import. I was awaiting the import to
get a couple of sparc64 boxes up and running!
I know I should normally report this to the maintainer or file a PR, but
since this seems so curious and hot on the heels of the GCC import, I
figured I'd post it here.
I CVSupped and rebuilt a quad Xeon III on July 29th, and it runs just
fine. However, when recompiling MySQL, progressed just came to a halt at:
make all-am
Making all in strings
cc -DDBUG_OFF -O -pipe -march=pentium3 -c `test -f 'strings-x86.s' ||
echo './'`strings-x86.s
0% CPU and virtually no memory in use.
Workaround: compiling strings-x86.s without -pipe. I re-enabled it for
the rest of the build, which is now running in the background and seems
peachy.
No idea what causes it, but here's the report. Should I report it to the
maintainer or the GCC team instead?
Regards,
Roderick
------------------------------
Message: 8
Date: Thu, 29 Jul 2004 19:18:40 +0300
From: Giorgos Keramidas <keramida@ceid.upatras.gr>
Subject: Re: -fformat-extensions broken
To: Lukas Ertl <le@freebsd.org>
Cc: freebsd-current@freebsd.org
Message-ID: <20040729161840.GB4084@orion.daedalusnetworks.priv>
Content-Type: text/plain; charset=us-ascii
On 2004-07-29 14:12, Lukas Ertl <le@freebsd.org> wrote:
> On Thu, 29 Jul 2004, Giorgos Keramidas wrote:
> >cc1: error: unrecognized command line option "-fformat-extensions"
> >2004-07-29 02:11:23 - *** Error code 1
>
> This should be fixed already.
It is, thanks. I've cvsupgged again this morning from my workstation at
work and all works fine.
Sorry for bothering you all with something that's fixed now.
- Giorgos
------------------------------
Message: 9
Date: Thu, 29 Jul 2004 18:34:54 +0100
From: fergus <fergus@cobbled.net>
Subject: Re: No cvs-src summary (from me) for the week of July 26 -
Aug 2
To: current@freebsd.org
Cc: Mark Johnston <mjohnston@skyweb.ca>
Message-ID: <20040729173454.GA89361@eyore.cobbled.net>
Content-Type: text/plain; charset=us-ascii
On 29.07-18:25, Maxime Henrion wrote:
> Mark Johnston wrote:
> > [ ... ] it's just a straightforward business of plowing through
> > the e-mails and doing a little writing.
[ ... ]
> Let me take advantage of this e-mail to thank you for the very nice
> summaries you've been writing. [ ... ]
>
> Enjoy your holidays!
it may be a simple process but everytime it's done it saves me
doing same. add me to the appreciation stack and have an even
better holiday.
--
: fergus cameron : [ .] cobbled :
: ^^^^^^@cobbled.net : [ ~][ ] .net :
------------------------------
Message: 10
Date: Thu, 29 Jul 2004 10:54:47 -0700 (PDT)
From: yuval levy <yuval_levy@yahoo.com>
Subject: Sil3114 SATA RAID
To: freebsd-current@freebsd.org
Message-ID: <20040729175447.37610.qmail@web13901.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii
Good day
Is support for the Sil3114 (as found on Tyan S2882
motherboard) in RAID mode planned for FreeBSD 5.3?
Thanks
YL
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
------------------------------
Message: 11
Date: Thu, 29 Jul 2004 13:56:04 -0400
From: "Geoffrey C. Speicher" <geoff@sea-incorporated.com>
Subject: Re: about the gcc 3.4.x problems
To: Paul Seniura <pdseniura@techie.com>
Cc: freebsd-current@freebsd.org
Message-ID: <20040729175604.GA95628@caribbean.sea-incorporated.com>
Content-Type: text/plain; charset=us-ascii
On Thu, Jul 29, 2004 at 11:47:38AM -0500, Paul Seniura wrote:
>
> Scott Long wrote:
> >On Thu, 29 Jul 2004, Paul Seniura wrote:
> >>
> >> In my neck of the woods 'round here, problems with GCC 3.4.x are
> >> not new. For history's sake if nothing else, please take a look
> >> at a msg thread I started on this list back in April 2004:
> >> <http://docs.FreeBSD.org/cgi/mid.cgi?20040402210539.70E945C3B>
> >>
> >> We were _never_ able to compile kernels with 3.4.x -- there were
> >> too many options & other things that are no longer supported.
> >
> >Most of the problems that you site here and elsewhere have already been
> >resolved. Alexander has spent an _INCREDIBLE_ amount of time on gcc 3.4.
>
> I'm sure he has. Not putting anyone down for the work being done.
> Being able to DISCUSS things with these people is another matter.
> And I'm saying here & now that I feel like I was left out in the cold,
> starting in April 2004.
Paul, let's be realistic here. The src committers have been busy enough
ramping up for 5.3-RELEASE. They don't need to hear "I told you so in
April" and they shouldn't be expected to hold your hand.
GCC-3.4 is in the tree; rejoice and be glad. GCC-3.5 is not even an
issue. Just because Apple is using it doesn't mean everybody should.
Apple has the resources to adopt gcc prereleases early, and thoroughly
test and fix all the problems that they will undoubtedly find.
I'm sorry to hear that you are not happy with your place of employment.
I'm sorry that you can't help out with the system compiler as much as
you'd like. But you must understand that you're the only one who can
remedy these issues, and publicly complaining doesn't help.
Geoff
------------------------------
Message: 12
Date: Fri, 30 Jul 2004 10:58:00 +0700
From: Alexey Dokuchaev <danfe@nsu.ru>
Subject: Re: HEADS-UP: GCC 3.4.2 snapshot import is imminent
To: Alexander Kabaev <kan@FreeBSD.ORG>
Cc: current@FreeBSD.ORG
Message-ID: <20040730035800.GA21238@regency.nsu.ru>
Content-Type: text/plain; charset=us-ascii
On Thu, Jul 29, 2004 at 02:19:19AM +0000, Alexander Kabaev wrote:
> On Tue, Jul 27, 2004 at 05:20:21PM +0700, Max Khon wrote:
> > Hi, Alexander!
> >
> > On Tue, Jul 27, 2004 at 02:18:20AM +0000, Alexander Kabaev wrote:
> >
> > > I am going to do an import of GCC 3.4.x snapshot in approximately
> > > 24 hours. At this time I would like to request anyone planning any
> > > sweeping changes in the tree to pospone them until new GCC is in.
> > > The snapshot will be followed by GCC 3.4.2 release when it is available.
> >
> > Do you plan to enable HANDLE_PRAGMA_PACK_PUSH_POP feature?
> >
> > /fjoe
> Is was too late in the game for me to enable it in this snapshot. I will
> consider doing that in the next GCC update. I do not recall anyone ever
> mentioning this feature to me before, let alone aking me to enable it.
Actually, I did, in private mails to both you and obrien@ few days ago.
I encountered this problem when porting CPP code to FreeBSD recently.
#pragma pack (push/pop) feature is enabled with some major Linux
distributed gcc (Fedora Core is one of them), which increases chances
that we'd have to do something about it, since people tend to write
software, test it under MSVC and Fedora's gcc, see it works there, and
release it. Current solution of converting #pragma pack (push/pop) to
mere pack(n)/pack() could lead to potential problems (read: bugs) and
just isn't The Right Thing(tm).
Since you asked, I also hope you (or someone else) will upgrade manual
page for gcc, since it's really outdated for -CURRENT at this moment.
If memory serves me right, all necessary patches are in existence, and
probably were submitted to our GCC maintainers already.
./danfe
------------------------------
Message: 13
Date: Fri, 30 Jul 2004 11:43:58 +0700
From: Alexey Dokuchaev <danfe@nsu.ru>
Subject: Re: HEADS-UP: GCC 3.4.2 snapshot import is imminent
To: Alexander Kabaev <kan@FreeBSD.org>
Cc: current@FreeBSD.org
Message-ID: <20040730044358.GA35168@regency.nsu.ru>
Content-Type: text/plain; charset=us-ascii
On Fri, Jul 30, 2004 at 04:07:41AM +0000, Alexander Kabaev wrote:
> On Fri, Jul 30, 2004 at 10:58:00AM +0700, Alexey Dokuchaev wrote:
> > On Thu, Jul 29, 2004 at 02:19:19AM +0000, Alexander Kabaev wrote:
> > > On Tue, Jul 27, 2004 at 05:20:21PM +0700, Max Khon wrote:
> > > > Hi, Alexander!
> > > >
> > > > On Tue, Jul 27, 2004 at 02:18:20AM +0000, Alexander Kabaev wrote:
> > > >
> > > > > I am going to do an import of GCC 3.4.x snapshot in approximately
> > > > > 24 hours. At this time I would like to request anyone planning any
> > > > > sweeping changes in the tree to pospone them until new GCC is in.
> > > > > The snapshot will be followed by GCC 3.4.2 release when it is availa
ble.
> > > >
> > > > Do you plan to enable HANDLE_PRAGMA_PACK_PUSH_POP feature?
> > > >
> > > > /fjoe
> > > Is was too late in the game for me to enable it in this snapshot. I will
> > > consider doing that in the next GCC update. I do not recall anyone ever
> > > mentioning this feature to me before, let alone aking me to enable it.
> >
> > Actually, I did, in private mails to both you and obrien@ few days ago.
>
> July 27th, to be exact.
>
> % gcc --version
> gcc (GCC) 3.4.2 [FreeBSD] 20040728
>
> One day before import is what I call 'too late in the game'.
No problem; I would be grateful to see it enabled in official 3.4.2
release imported in some (near?) future.
>
> > I encountered this problem when porting CPP code to FreeBSD recently.
> > #pragma pack (push/pop) feature is enabled with some major Linux
> > distributed gcc (Fedora Core is one of them), which increases chances
> > that we'd have to do something about it, since people tend to write
> > software, test it under MSVC and Fedora's gcc, see it works there, and
> > release it. Current solution of converting #pragma pack (push/pop) to
> > mere pack(n)/pack() could lead to potential problems (read: bugs) and
> > just isn't The Right Thing(tm).
> >
> > Since you asked, I also hope you (or someone else) will upgrade manual
> > page for gcc, since it's really outdated for -CURRENT at this moment.
> > If memory serves me right, all necessary patches are in existence, and
> > probably were submitted to our GCC maintainers already.
>
> Necessary patches, submitted to GCC maintainers are pretty much worthless.
> Let me repeat - new GCC man pages are automatically generated and applying
> patches to that is something I would never do. Whoever touches them
> automatically becomes new GCC documentation maintainer. You have been warned
..
AFAIK, patches in question are against automatic generation
infrastructure, not against resulting documentation. That is, after
being applied, correct and coherent manpages will be generated, just as
you want it to be.
Frankly, I fail to see any technical reason why we have to live with outdate
manpage for that long. Users don't want to visit gcc.gnu.org every time
they want to see command line options, they want to type man gcc and see
the stuff. I've always been under impression that keeping documentation
in sync with the code is FreeBSD's strong points, and gcc mans put a big
shadow on this.
./danfe
------------------------------
Message: 14
Date: Fri, 30 Jul 2004 09:28:05 +0000 (GMT)
From: Peter Ulrich Kruppa <root@pukruppa.net>
Subject: PPPoE problems with latest -CURRENT
To: freebsd-current@freebsd.org
Message-ID: <20040730091525.U484@pukruppa.net>
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hi!
I use my -CURRENT machine to connect with /usr/sbin/ppp to the
internet via a DSL modem (or bridge as some people say).
Since my cvsup yesterday this doesn't work anymore - and what is
even worse I can't see any errror messages:
neither in my ppp.logs nor when I run ppp manually; it just
doen't connect.
I have got a 4.8 -RELEASE on my machine, too. There everything
works as usual - with the same ppp.conf .
Does anyone have a clue what happened?
Thanks,
Uli.
------------------------------
Message: 15
Date: Fri, 30 Jul 2004 17:47:38 +0800
From: wsk <wsk@gddsn.org.cn>
Subject: make zh-xsim ports failed
To: current@freebsd.org
Message-ID: <410A193A.7030009@gddsn.org.cn>
Content-Type: text/plain; charset=gb2312
hi,list:
make xsim failled,it maybe related gcc imported???and any ideas?
===> Building for zh-xsim-0.3.9.4
cd dict; make
c++ char2db.cpp -o char2db -Wall -O2 -I/usr/X11R6/include -DBDB_VERSION4
-DOS_FREEBSD -L/usr/X11R6/lib -L/usr/local/lib -ldb3_cxx
-I/usr/ports/chinese/xsim/work/xsim-0.3.9.4/xsim -I/usr/local/include/db3
In file included from /usr/include/c++/3.4/backward/iostream.h:31,
from /usr/local/include/db3/db_cxx.h:52,
from char2db.cpp:25:
/usr/include/c++/3.4/backward/backward_warning.h:32:2: warning: #warning
This file includes at least one deprecated or antiquated header. Please
consider using one of the 32 headers found in section 17.4.1.2 of the
C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <iostream> instead of the deprecated header
<iostream.h>. To disable this warning use -Wno-deprecated.
char2db.cpp: In function `void build_freq_tab(char*)':
char2db.cpp:80: error: no matching function for call to
`std::basic_filebuf<char, std::char_traits<char> >::open(char*&, const
char[2])'
/usr/include/c++/3.4/bits/fstream.tcc:92: note: candidates are: typename
std::basic_filebuf<_CharT, _Traits>::__filebuf_type*
std::basic_filebuf<_CharT, _Traits>::open(const char*,
std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]
char2db.cpp: In function `int main(int, char**)':
char2db.cpp:160: error: no matching function for call to
`std::basic_filebuf<char, std::char_traits<char> >::open(char*&, const
char[2])'
/usr/include/c++/3.4/bits/fstream.tcc:92: note: candidates are: typename
std::basic_filebuf<_CharT, _Traits>::__filebuf_type*
std::basic_filebuf<_CharT, _Traits>::open(const char*,
std::_Ios_Openmode) [with _CharT = char, _Traits = std::char_traits<char>]
*** Error code 1
Stop in /usr/ports/chinese/xsim/work/xsim-0.3.9.4/plugins/IMs/jianpin/dict.
*** Error code 1
Stop in /usr/ports/chinese/xsim/work/xsim-0.3.9.4/plugins/IMs/jianpin.
*** Error code 1
Stop in /usr/ports/chinese/xsim/work/xsim-0.3.9.4/plugins/IMs.
*** Error code 1
Stop in /usr/ports/chinese/xsim/work/xsim-0.3.9.4/plugins.
*** Error code 1
Stop in /usr/ports/chinese/xsim/work/xsim-0.3.9.4.
*** Error code 1
Stop in /usr/ports/chinese/xsim.
*** Error code 1
Stop in /usr/ports/chinese/xsim.
------------------------------
Message: 16
Date: Fri, 30 Jul 2004 14:59:47 +0300
From: Maxim Sobolev <sobomax@portaone.com>
Subject: Is there still sufficient reason for hw.ata.atapi_dma being 0
by default?
To: sos@freebsd.org, release@freebsd.org, current@freebsd.org
Message-ID: <410A3833.7030502@portaone.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Since high-speed CD-RW/DVD-RW recorders (32x - 52x) are commodity now
IMO it makes sense to review hw.ata.atapi_dma default of 0, since
apparently PIO mode can't support necessary sustained data transfer
rates anymore. For example I had had problems burning RWs on 16-24x with
several drives in PIO mode, which gone when I've switched to DMA.
I easily imagine newbies who make a conclusion that "FreeBSD sucks"
after installing FreeBSD and finding that they can't burn CDs, while
other operating system do it without any problems.
-Maxim
------------------------------
Message: 17
Date: Fri, 30 Jul 2004 14:02:21 +0200
From: Eric Masson <e-masson@kisoft-services.com>
Subject: Re: ffs snapshots & large disks
To: Mailing List FreeBSD Current <freebsd-current@FreeBSD.org>
Message-ID: <86n01hu2ia.fsf@srvbsdnanssv.interne.kisoft-services.com>
Content-Type: text/plain; charset=iso-8859-15
>>>>> "Eric" == Eric Masson <e-masson@kisoft-services.com> writes:
Followup to myself.
Eric> Is there any way to speed up snapshot creation ?
Well, I removed the src directory from vol0 and shut down the machine
via shutdown -p now and everything went fine except i got a lor (similar
to id 006 in page http://sources.zabbadoz.net/freebsd/lor.html) at next
reboot :
Mounting root from ufs:/dev/amrd0s1a
lock order reversal
1st 0xc26bf948 vnode interlock (vnode interlock) @ /usr/src/sys/ufs/ffs/ffs_s
napshot.c:1906
2nd 0xc103a100 system map (system map) @ /usr/src/sys/vm/vm_map.c:2223
KDB: stack backtrace:
kdb_backtrace(0,ffffffff,c08b9568,c08ba7b0,c0848a5c) at kdb_backtrace+0x29
witness_checkorder(c103a100,9,c0804b23,8af) at witness_checkorder+0x544
_mtx_lock_flags(c103a100,0,c0804b23,8af) at _mtx_lock_flags+0x5b
_vm_map_lock(c103a0a0,c0804b23,8af) at _vm_map_lock+0x21
vm_map_remove(c103a0a0,c26e1000,c26e9000,dd04dba0,c074cdc1) at vm_map_remove+0
x1f
kmem_free(c103a0a0,c26e1000,8000,dd04dbb8,c074eb17) at kmem_free+0x25
page_free(c26e1000,8000,22,8000,dd04dbd0) at page_free+0x29
uma_large_free(c26b33c0) at uma_large_free+0x7f
free(c26e1000,c0881ae0,c2667600,0,c265c000) at free+0xe1
ffs_snapshot_unmount(c265c000) at ffs_snapshot_unmount+0xe7
ffs_flushfiles(c265c000,0,c23c2000) at ffs_flushfiles+0x40
softdep_flushfiles(c265c000,0,c23c2000,c26bf738,0) at softdep_flushfiles+0x1e
ffs_unmount(c265c000,8000000,c23c2000,0,0) at ffs_unmount+0x32
dounmount(c265c000,8000000,c23c2000,410a0a31,8c4052) at dounmount+0x1c4
unmount(c23c2000,dd04dd14,2,1,206) at unmount+0x1e0
syscall(2f,2f,2f,804a72f,8052a51) at syscall+0x217
Xint0x80_syscall() at Xint0x80_syscall+0x1f
--- syscall (22, FreeBSD ELF32, unmount), eip = 0x280c32b7, esp = 0xbfbfe51c,
ebp = 0xbfbfe5c8 ---
I then rm'ed the snapshot named snap0 in /vol0/.snap and later shut down
the box via shutdown -p now. syncer process timed out, last message
before stop was "giving up on 41 buffers."
Since last startup, the box is fscking all filesystems (none were marked
clean)
Is this an expected behaviour atm ?
I can offer shell access to the box if needed.
Regards
Eric Masson
--
FG> Quelle rapport entre vendre/acheter des livres et
FG> etre bibliophile?
On n'a pas toujours l'opportunit� de les voler.
-+- FF in <http://www.le-gnu.net> - � l'insu de son plein gr� -+-
------------------------------
_______________________________________________
freebsd-current@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
End of freebsd-current Digest, Vol 70, Issue 16
***********************************************
--
[35mEvariste Galois[m:
[33m�����呛��樱������蔷������,����直前......[m
[m[33m�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234][m