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. Re: USB Mouse not working on Thinkpad R40, works under WinXP
(Marc van Kempen)
2. Error while "buildkernel" with latest cvsup src - 5.2.1
(Drew Broadley)
3. Re: (continued) XFree86 problem? (AK)
4. Re: Error while "buildkernel" with latest cvsup src - 5.2.1
(Simon L. Nielsen)
5. Re: vr0: couldn't map memory/ports (Alexandre "Sunny" Kovalenko)
6. Does ipl.ko require INET6? (AK)
7. Re: ** HEADS UP ** GDB detached from the 5-CURRENT build
(Craig Rodrigues)
8. -current error (Liam J. Foy)
9. Re: USB Mouse not working on Thinkpad R40, works under WinXP
(Anish Mistry)
10. Re: read vs. mmap (or io vs. page faults) (Dan Nelson)
11. kldload random.ko panics -CURRENT (Tai-hwa Liang)
12. Resource allocation problem [Re: vr0: couldn't map
memory/ports] (Andrey Smirnov)
13. Re: Loader failure when booting from CompactFlash (M. Warner Losh)
14. Re: How to catch interrupt (M. Warner Losh)
15. Re: Error in /usr/src/Makefile.inc1 (Mike Jakubik)
16. Re: Wireless support for the Netgear WG311T? (Josef Karthauser)
17. Wireless support for the Netgear WG311T? (Josef Karthauser)
18. Missing man-pages (Ulrich Spoerlein)
19. Re: Wireless support for the Netgear WG311T? (David Malone)
20. Re: Wireless support for the Netgear WG311T? (Mark Dixon)
21. Re: Wireless support for the Netgear WG311T? (David Malone)
22. Re: Wireless support for the Netgear WG311T? (StefanE?er)
23. Re: read vs. mmap (or io vs. page faults) (Matthew Dillon)
24. Re: How to determine the L2 cache size on non-AMD CPUs
(automatic page queue color tuning)? (Alexander Leidinger)
25. Re: -current error (Kris Kennaway)
26. Re: -current error (Ceri Davies)
27. Re: -current error (Kris Kennaway)
28. Entropy device is blocked. Dance fandango on keyboard to
unblock. (Rostislav Krasny)
29. Re: -current error (Ceri Davies)
30. [TEST] natd multipath patches (Poul-Henning Kamp)
31. Re: [TEST] natd multipath patches (Simon L. Nielsen)
32. Re: [TEST] natd multipath patches (Poul-Henning Kamp)
33. Re: -current build failure -not seen on the list (Max Laier)
34. Re: Missing man-pages (Julian Elischer)
35. IPSEC on -current [was: -current build failure] (Kim Culhan)
36. Re: -current error (Liam J. Foy)
37. Re: -current error (Ceri Davies)
----------------------------------------------------------------------
Message: 1
Date: Sun, 20 Jun 2004 14:05:03 +0200
From: Marc van Kempen <marc@bowtie.nl>
Subject: Re: USB Mouse not working on Thinkpad R40, works under WinXP
To: Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
Cc: freebsd-current@freebsd.org
Message-ID: <40D57D6F.4050209@bowtie.nl>
Content-Type: text/plain; charset=us-ascii; format=flowed
Tai-hwa Liang wrote:
> On Mon, 14 Jun 2004, Marc van Kempen wrote:
>
>>Hi,
>>
>>I just bought a new usb mouse (Genius Powerscroll Eye U+P, optical
>>mouse), and while my other USB mouse works fine under FreeBSD -current
>>(about two months old), this one doesn't.
>
>
> I have the similar problem on both -STABLE and -CURRENT. Mine is an "ELECOM
> M-MAPP1KHBK" optical mouse, which can be probed by ums.ko and usbd; however,
> I found no mouse event from /dev/ums0 while moving, clicking or wheel
> scrolling the mouse.
>
I can also confirm that it still doesn't work on a very recent -current
(16 June).
Any USB experst out there who want to comment on this?
Regards,
Marc.
------------------------------
Message: 2
Date: Mon, 21 Jun 2004 01:05:08 +1200
From: Drew Broadley <drew@corrupt.co.nz>
Subject: Error while "buildkernel" with latest cvsup src - 5.2.1
To: current@freebsd.org
Message-ID: <40D58B84.7080201@corrupt.co.nz>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
rm -f hack.c
sh /usr/src/sys/conf/newvers.sh EVOn800v
cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs
-Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
-Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I.
-I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica
-I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter
-I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath
-I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm
-D_KERNEL -include opt_global.h -fno-common -finline-limit=8000
-mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding
-Werror vers.c
linking kernel
if_ath.o(.text+0x6c): In function `ath_attach':
: undefined reference to `ath_hal_attach'
if_ath.o(.text+0x2c2f): In function `ath_tx_start':
: undefined reference to `ath_hal_computetxtime'
if_ath.o(.text+0x2c8c): In function `ath_tx_start':
: undefined reference to `ath_hal_computetxtime'
if_ath.o(.text+0x2ca9): In function `ath_tx_start':
: undefined reference to `ath_hal_computetxtime'
if_ath.o(.text+0x2ccb): In function `ath_tx_start':
: undefined reference to `ath_hal_computetxtime'
if_ath.o(.text+0x3caf): In function `ath_getchannels':
: undefined reference to `ath_hal_init_channels'
if_ath.o(.text+0x3cfc): In function `ath_getchannels':
: undefined reference to `ath_hal_mhz2ieee'
if_ath.o(.data+0x20): undefined reference to `sysctl__hw_ath_children'
if_ath.o(.data+0x60): undefined reference to `sysctl__hw_ath_children'
if_ath.o(.data+0xa0): undefined reference to `sysctl__hw_ath_children'
if_ath.o(.data+0x100): undefined reference to `sysctl__hw_ath_children'
if_ath.o(.data+0x160): undefined reference to `sysctl__hw_ath_children'
if_ath.o(.data+0x1a0): more undefined references to
`sysctl__hw_ath_children' follow
if_ath_pci.o(.text+0xae): In function `ath_pci_probe':
: undefined reference to `ath_hal_probe'
*** Error code 1
Stop in /usr/obj/usr/src/sys/EVOn800v.
*** Error code 1
Stop in /usr/src.
*** Error code 1
Stop in /usr/src.
------------------------------
Message: 3
Date: Sun, 20 Jun 2004 17:39:10 +0400
From: AK <lesha@intercaf.ru>
Subject: Re: (continued) XFree86 problem?
To: freebsd-current@freebsd.org
Cc: Kris Kennaway <kris@obsecurity.org>
Message-ID: <200406201739.10541.lesha@intercaf.ru>
Content-Type: text/plain; charset="koi8-r"
Greetings!
Here are some new stats for the memory problem.
I was not using machine heavily this days, so it is just 300+ Megs.
It is after doing some rendering in Blender
(problem is not Blender related, as I have just installed it yestrday)
top:
up 0+15:13:59
2032 root 97 0 342M 231M select 13:36 1.66% 1.66% XFree86
xrestop:
Monitoring 25 clients. XErrors: 0
Pixmaps: 8943K total, Other: 190K total, All: 9133K total
# dmesg | grep agp
agp0: <Intel 82845G (845G GMCH) SVGA controller> mem
0xdff80000-0xdfffffff,0xd0000000-0xd7ffffff irq 11 at device 2.0 on pci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
# dmesg | grep VESA
VESA: v3.0, 8000k memory, flags:0x1, mode table:0xc07904a0 (1000040)
VESA: Intel(r)845G/845GL/845GE/845GV Graphics Chip Accelerated VGA BIOS
# cat /proc/2032/map
0x8048000 0x81bd000 230 251 0xc2262ef4 r-x 2 1 0x0 COW NC vnode /usr/X11R6/bin
/XFree86
0x81bd000 0x81ee000 7 0 0xc3382630 rw- 1 0 0x2180 COW NNC vnode /usr/X11R6/bin
/XFree86
0x81ee000 0x8201000 18 0 0xc3365948 rw- 1 0 0x2180 COW NNC swap -
0x8201000 0x8a9a000 631 0 0xc24da738 rwx 1 0 0x2180 COW NNC swap -
0x8a9a000 0x8c68000 265 0 0xc26028c4 rwx 1 0 0x2180 COW NNC swap -
0x8c68000 0x1533e000 24913 0 0xc2516dec rwx 1 0 0x2180 NCOW NNC swap -
0x281bd000 0x281d9000 18 0 0xc1041420 r-x 126 60 0x4 COW NC vnode /libexec/ld-
elf.so.1
0x281d9000 0x281da000 1 0 0xc33ad084 rw- 1 0 0x2180 COW NC vnode /libexec/ld-e
lf.so.1
0x281da000 0x281df000 5 0 0xc2986e70 rw- 1 0 0x2180 COW NNC swap -
0x281df000 0x281f0000 7 0 0xc25f3a50 rwx 1 0 0x2180 COW NNC swap -
0x281f0000 0x281fa000 5 0 0xc1db5318 r-x 59 28 0x0 COW NC vnode /lib/libz.so.2
0x281fa000 0x281fb000 0 0 0xc33b2ef4 r-x 1 0 0x2180 COW NC vnode /lib/libz.so.
2
0x281fb000 0x281fd000 0 0 0xc33a5b58 rwx 1 0 0x2180 COW NC vnode /lib/libz.so.
2
0x281fd000 0x28211000 17 0 0xc1cf7ef4 r-x 65 32 0x0 COW NC vnode /lib/libm.so.
2
0x28211000 0x28212000 0 0 0xc33ad39c r-x 1 0 0x2180 COW NC vnode /lib/libm.so.
2
0x28212000 0x28216000 1 0 0xc33a5ce4 rwx 1 0 0x2180 COW NNC vnode /lib/libm.so
2
0x28216000 0x282cb000 50 0 0xc25cfce4 r-x 1 0 0x2180 COW NC vnode /lib/libc.so
5
0x282cb000 0x282cc000 1 0 0xc33b2630 r-x 1 0 0x2180 COW NC vnode /lib/libc.so.
5
0x282cc000 0x282d2000 4 0 0xc25ed000 rwx 1 0 0x2180 COW NNC vnode /lib/libc.so
5
0x282d2000 0x282e5000 3 0 0xc25f3000 rwx 1 0 0x2180 COW NNC swap -
0x282e9000 0x28349000 18 0 0xc2625d68 rwx 4 0 0x180 NCOW NNC device -
0x28349000 0x283c9000 5 0 0xc2625d68 rwx 4 0 0x180 NCOW NNC device -
0x283c9000 0x283d9000 16 0 0xc2625d68 rwx 4 0 0x180 NCOW NNC device -
0x28400000 0x30400000 32768 0 0xc2625d68 rwx 4 0 0x180 NCOW NNC device -
0x30400000 0x30430000 48 0 0xc283139c rwx 3 0 0x190 NCOW NNC swap -
0x30430000 0x30490000 65 0 0xc317d420 rwx 3 0 0x190 NCOW NNC swap -
0x30600000 0x30636000 53 0 0xc3217420 rwx 1 0 0x2180 NCOW NNC swap -
0xbfba0000 0xbfbe0000 10 0 0xc3175000 rwx 1 0 0x2180 NCOW NNC swap -
0xbfbe0000 0xbfc00000 31 0 0xc2602420 rwx 1 0 0x2180 COW NNC default -
as far I understand value in 3rd column is memory pages, which are 4k in size
so totally we have 59190 memory pages x 4k = 236760k / 1024 = 231.2M
it exactly matches top's RES column
How do I get information about all memory process uses, including memory in sw
ap?
AL.
------------------------------
Message: 4
Date: Sun, 20 Jun 2004 15:40:13 +0200
From: "Simon L. Nielsen" <simon@FreeBSD.org>
Subject: Re: Error while "buildkernel" with latest cvsup src - 5.2.1
To: Drew Broadley <drew@corrupt.co.nz>
Cc: current@freebsd.org
Message-ID: <20040620134013.GB826@zaphod.nitro.dk>
Content-Type: text/plain; charset="us-ascii"
On 2004.06.21 01:05:08 +1200, Drew Broadley wrote:
> rm -f hack.c
> sh /usr/src/sys/conf/newvers.sh EVOn800v
> cc -c -O -pipe -Wall -Wredundant-decls -Wnested-externs
> -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Winline
> -Wcast-qual -fformat-extensions -std=c99 -nostdinc -I- -I.
> -I/usr/src/sys -I/usr/src/sys/contrib/dev/acpica
> -I/usr/src/sys/contrib/altq -I/usr/src/sys/contrib/ipfilter
> -I/usr/src/sys/contrib/pf -I/usr/src/sys/contrib/dev/ath
> -I/usr/src/sys/contrib/dev/ath/freebsd -I/usr/src/sys/contrib/ngatm
> -D_KERNEL -include opt_global.h -fno-common -finline-limit=8000
> -mno-align-long-strings -mpreferred-stack-boundary=2 -ffreestanding
> -Werror vers.c
> linking kernel
> if_ath.o(.text+0x6c): In function `ath_attach':
> : undefined reference to `ath_hal_attach'
Sounds like you have included ath but not ath_hal in your kernel
configuration? If that's not the case you need to include more
details, e.g. like your kernel configuration file.
--
Simon L. Nielsen
FreeBSD Documentation Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040620/
7ad52ab0/attachment-0001.bin
------------------------------
Message: 5
Date: Sun, 20 Jun 2004 10:05:20 -0400
From: "Alexandre \"Sunny\" Kovalenko" <Alex.Kovalenko@verizon.net>
Subject: Re: vr0: couldn't map memory/ports
To: Andrey Smirnov <smir@delit.net>
Cc: current@freebsd.org
Message-ID: <1087740319.865.8.camel@RabbitsDen>
Content-Type: text/plain
On Fri, 2004-06-18 at 08:50, Andrey Smirnov wrote:
> Hello!
>
> Upgrading my notebook from Mar 19 -CURRENT to Jun 16 revealed a problem:
>
> vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0x1400-0x14ff irq 10 at
> device 18.0 on pci0
> vr0: couldn't map ports/memory
> device_attach: vr0 attach returned 6
>
> The same thing happens to firewire, it doesn't bother me much.
> Relevant lines about vr0 from Mar 19 kernel say:
>
> vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0x1400-0x14ff irq 10 at
> device 18.0 on pci0
> vr0: Ethernet address: 00:40:ca:bf:f0:87
> miibus0: <MII bus> on vr0
> ukphy0: <Generic IEEE 802.3u media interface> on miibus0
> ukphy0: OUI 0x004063, model 0x0032, rev. 8
> ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
> vr0: bpf attached
>
> It seems to me this is something with resource allocation, I tried
> setting 'OS' in BIOS to 'DOS' / 'Win XP' without any visible difference.
>
> Other devices work OK (including ndis0, nvidia0). In my tests I disabled
> all kernel modules (sound, nvidia), although this doesn't change
> anything. Booting with ACPI disabled also doesn't change anything.
>
> Good news are that now (with Jun 16) power button works and I'm able to
> switch off my notebook without 'shutdown -p now'.
>
> I put verbose dmesg with Mar 19, Jun 16 kernel and acpidump -t -d output
> here:
>
> http://images.delit.net/dmesg.bad.v
> http://images.delit.net/dmesg.good.v
> http://images.delit.net/acpi.asl.bz2
>
> Thanks,
> Andrey.
> _______________________________________________
> 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"
-CURRENT from June 18th
sunny:RabbitsDen>dmesg | grep vr
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xd800-0xd8ff mem
0xdffffe00-0xdffffeff irq 11 at device 18.0 on pci0
miibus0: <MII bus> on vr0
vr0: Ethernet address: 00:40:45:13:93:fc
vr0: [GIANT-LOCKED]
If you would like the full config or full dmesg, let me know.
Alexandre "Sunny" Kovalenko.
------------------------------
Message: 6
Date: Sun, 20 Jun 2004 19:11:21 +0400
From: AK <lesha@intercaf.ru>
Subject: Does ipl.ko require INET6?
To: freebsd-current@freebsd.org
Message-ID: <200406201911.21044.lesha@intercaf.ru>
Content-Type: text/plain; charset="us-ascii"
Hello, everyone!
# kldload ipl
link_elf: symbol in6_cksum undefined
Does it mean that INET6 is a must for ipl to work?
AL.
(currently rebuilding kernel with INET6, which I don't need)
------------------------------
Message: 7
Date: Sun, 20 Jun 2004 11:15:16 -0400
From: Craig Rodrigues <rodrigc@crodrigues.org>
Subject: Re: ** HEADS UP ** GDB detached from the 5-CURRENT build
To: Don Bowman <don@sandvine.com>
Cc: "'freebsd-current@freebsd.org'" <freebsd-current@freebsd.org>
Message-ID: <20040620151516.GA90547@crodrigues.org>
Content-Type: text/plain; charset=us-ascii
On Thu, Jun 17, 2004 at 02:42:49PM -0400, Don Bowman wrote:
> I think the 2004-05-25 snapshot is no longer present. I'm
> trying with 20040617 instead.
>
> #SNAPDATE= 2004-05-25
> SNAPDATE= 20040617
Hi,
I had to do this in order to get gdb6 to compile:
--- ./files/freebsd-uthread.c.orig Sun Jun 20 11:08:24 2004
+++ ./files/freebsd-uthread.c Sun Jun 20 11:10:56 2004
@@ -720,9 +720,9 @@
/* Fork an inferior process, and start debugging it with /proc. */
static void
-freebsd_uthread_create_inferior (char *exec_file, char *allargs, char **env)
+freebsd_uthread_create_inferior (char *exec_file, char *allargs, char **env,
int from_tty)
{
- child_ops.to_create_inferior (exec_file, allargs, env);
+ child_ops.to_create_inferior (exec_file, allargs, env, from_tty);
if (PIDGET(inferior_ptid) && freebsd_uthread_active)
{
--- ./Makefile.orig Sun Jun 20 11:08:13 2004
+++ ./Makefile Sun Jun 20 11:10:17 2004
@@ -6,7 +6,7 @@
# $FreeBSD: ports/devel/gdb6/Makefile,v 1.30 2004/06/14 08:33:19 obrien Exp $
#
-SNAPDATE= 2004-05-25
+SNAPDATE= 2004-06-15
SNAPVER= ${SNAPDATE:S/-//g}
PORTNAME= gdb
--- ./distinfo.orig Sun Jun 20 11:08:19 2004
+++ ./distinfo Sun Jun 20 11:10:27 2004
@@ -1,2 +1,2 @@
-MD5 (gdb+dejagnu-weekly-20040525.tar.bz2) = 24078282c8e0432fdbba03a027edc858
-SIZE (gdb+dejagnu-weekly-20040525.tar.bz2) = 16845309
+MD5 (gdb+dejagnu-weekly-20040615.tar.bz2) = 4ddf67fd458e5e9b742fa17809130047
+SIZE (gdb+dejagnu-weekly-20040615.tar.bz2) = 16885944
--
Craig Rodrigues
http://crodrigues.org
rodrigc@crodrigues.org
------------------------------
Message: 8
Date: Sun, 20 Jun 2004 16:20:18 +0100
From: "Liam J. Foy" <liamfoy@sepulcrum.org>
Subject: -current error
To: current@freebsd.org
Message-ID: <20040620162018.0046d736.liamfoy@sepulcrum.org>
Content-Type: text/plain; charset=US-ASCII
Hey guys,
Am getting a strange build error on current(1 day old). The error is:
[snip]
ln -fs /usr/obj/usr/src/i386/lib/libz.so.2 /usr/obj/usr/src/i386/usr/lib/libz.
so
1 error
*** Error code 2
1 error
*** Error code 2
1 error
*** Error code 2
Any of you guys know a solution for this?
Thanks in advance,
--
-Liam Foy
http://liamfoy.kerneled.org
"Do only what only you can do."
------------------------------
Message: 9
Date: Sun, 20 Jun 2004 11:31:10 -0400
From: Anish Mistry <mistry.7@osu.edu>
Subject: Re: USB Mouse not working on Thinkpad R40, works under WinXP
To: freebsd-current@freebsd.org
Cc: Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
Message-ID: <200406201131.18562.mistry.7@osu.edu>
Content-Type: Text/Plain; charset="iso-8859-1"
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sunday 20 June 2004 05:09 am, Tai-hwa Liang wrote:
> On Mon, 14 Jun 2004, Marc van Kempen wrote:
> > Hi,
> >
> > I just bought a new usb mouse (Genius Powerscroll Eye U+P, optical
> > mouse), and while my other USB mouse works fine under FreeBSD -current
> > (about two months old), this one doesn't.
>
> I have the similar problem on both -STABLE and -CURRENT. Mine is an "ELECOM
> M-MAPP1KHBK" optical mouse, which can be probed by ums.ko and usbd;
> however, I found no mouse event from /dev/ums0 while moving, clicking or
> wheel scrolling the mouse.
>
> > The mouse is recognized (I see the entry in /var/log/messages) and usbd
> > is running and forking off a moused (moused -p /dev/ums0 -I
> > /var/run/...). X is configured to work with sysmouse (and this works
> > with my other USB mouse), but both on the text console and in X the
> > pointer doesn't move and buttons don't work.
>
> Same here: the usbd detected the mouse, but neither the console
> pointer(moused) nor the XFree86 responded to the mouse movement.
>
I'm working on importing the NetBSD sources (this particular part of the code
has been out of sync for a while, so it's going to take a bit of time) which
I believe may fix this problem. You might want to search the hardware list
for a small patch by Markus Wild (Fix for Logitech DiNovo cordless mouse)
that might fix this problem.
- --
Anish Mistry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFA1a3FxqA5ziudZT0RAoBfAJ4n3ILw9eBq1hZh6yFU0Wh7hlW9UACg1fTe
1II6JfPB6ePrXXmtXTrAOjU=
=CupK
-----END PGP SIGNATURE-----
------------------------------
Message: 10
Date: Sun, 20 Jun 2004 10:41:20 -0500
From: Dan Nelson <dnelson@allantgroup.com>
Subject: Re: read vs. mmap (or io vs. page faults)
To: Mikhail Teterin <mi+kde@aldan.algebra.com>
Cc: questions@freebsd.org
Message-ID: <20040620154120.GC5040@dan.emsphone.com>
Content-Type: text/plain; charset=us-ascii
In the last episode (Jun 20), Mikhail Teterin said:
> I expected the second way to be faster, as it is supposed to avoid
> one memory copying (no user-space buffer). But in reality, on a
> CPU-bound (rather than IO-bound) machine, using mmap() is
> considerably slower. Here are the tcsh's time results:
>
> Single Pentium2-400MHz running 4.8-stable:
> ------------------------------------------
> stdio: 56.837u 34.115s 2:06.61 71.8% 66+193k 11253+0io 3pf+0w
> mmap: 72.463u 7.534s 2:34.62 51.7% 5+186k 105+0io 22328pf+0w
>
> Dual Pentium2 Xeon 450MHz running recent -current:
> --------------------------------------------------
> stdio: 36.557u 29.395s 3:09.88 34.7% 10+165k 32646+0io 0pf+0w
> mmap: 42.052u 7.545s 2:02.25 40.5% 10+169k 16+0io 15232pf+0w
>
> On the IO-bound machine, using mmap is only marginally faster:
>
> Single Pentium4M (Centrino 1GHz) runing recent -current:
> --------------------------------------------------------
> stdio: 27.195u 8.280s 1:33.02 38.1% 10+169k 11221+0io 1pf+0w
> mmap: 26.619u 3.004s 1:23.59 35.4% 10+169k 47+0io 19463pf+0w
>
> Notice the last two columns in time's output -- why is page-faulting a
> page in -- on-demand -- so much slower then read()-ing it? I even tried
> inserting ``madvise(buffer, file_size, MADV_SEQUENTIAL)'' between the
> mmap() and the process() -- made difference at all (or made the mmap()
> take slightly longer)...
MADV_SEQUENTIAL just lets the system expire already-read blocks from
its cache faster, so it won't help much here. read() should cause some
prefetching to occur, but it obviously doesn't work all the time or
else inblock wouldn't have been as high as 11000. For sequential
access I would have expected read() to have been able to prefetch
almost every block before the userland process needed it.
--
Dan Nelson
dnelson@allantgroup.com
------------------------------
Message: 11
Date: Mon, 21 Jun 2004 00:01:04 +0800 (CST)
From: Tai-hwa Liang <avatar@mmlab.cse.yzu.edu.tw>
Subject: kldload random.ko panics -CURRENT
To: freebsd-current@freebsd.org
Message-ID: <040620234141A.22488@www.mmlab.cse.yzu.edu.tw>
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hi,
Apparently, loading the module random.ko in -CURRENT always panics the
kernel unless the random device was not compiled in the kernel.
With a 5.2-RELEASE kernel, the panic message was:
WARNING: Driver mistake: destroy_dev on ....
don't do that
With recent GENERIC kernel cvsup'ed on Jun-20-2004:
can't re-use a leaf (gengateinterval)!
can't re-use a leaf (bins)!
can't re-use a leaf (fastthresh)
can't re-use a leaf (slowthresh)
can't re-use a leaf (slowoverthersh)
panic: mutex "random reseed" 0xc0a2dcc0 already initialized.
cpuid = 0;
Debugger("panic")
stop at Debugger + 0x46: xchgl %ebx, in_Debugger.0
db>
Since I always left random as a kernel module and load it in loader.conf,
the system always panics if I forget to unload the module before booting
the latest GENERIC kernel(for testing purpose). I'm aware of that the answer
may be "don't do it, use static compiled random device instead!" However,
shouldn't there be any foot-shooting prevention mechanism in the random
device?
I'm wondering about why this module loading panicked instead of bailing out
with something like "kldload: can't load random: File exists?"
------------------------------
Message: 12
Date: Sun, 20 Jun 2004 20:07:15 +0400
From: Andrey Smirnov <smir@delit.net>
Subject: Resource allocation problem [Re: vr0: couldn't map
memory/ports]
To: "Alexandre \"Sunny\" Kovalenko" <Alex.Kovalenko@verizon.net>
Cc: current@freebsd.org
Message-ID: <40D5B633.3050202@delit.net>
Content-Type: text/plain; charset=us-ascii; format=flowed
Alexandre "Sunny" Kovalenko wrote:
>>Upgrading my notebook from Mar 19 -CURRENT to Jun 16 revealed a problem:
>>
>>vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0x1400-0x14ff irq 10 at
>>device 18.0 on pci0
>>vr0: couldn't map ports/memory
>>device_attach: vr0 attach returned 6
>>
>
> -CURRENT from June 18th
>
> sunny:RabbitsDen>dmesg | grep vr
> vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xd800-0xd8ff mem
> 0xdffffe00-0xdffffeff irq 11 at device 18.0 on pci0
> miibus0: <MII bus> on vr0
> vr0: Ethernet address: 00:40:45:13:93:fc
> vr0: [GIANT-LOCKED]
>
> If you would like the full config or full dmesg, let me know.
>
> Alexandre "Sunny" Kovalenko.
>
Thanks, but it doesn't help me much. My card also works with old kernel,
so it's not broken. But I suppose there's something with resource
allocation, that prevents my card to allocate its ports. So I think it's
a bug (?) in FreeBSD or some bug in my BIOS... But i've already upgraded
it to latest version.
Thanks,
Andrey.
------------------------------
Message: 13
Date: Sun, 20 Jun 2004 10:55:08 -0600 (MDT)
From: "M. Warner Losh" <imp@bsdimp.com>
Subject: Re: Loader failure when booting from CompactFlash
To: avleeuwen@piwebs.com
Cc: freebsd-current@freebsd.org
Message-ID: <20040620.105508.30170319.imp@bsdimp.com>
Content-Type: Text/Plain; charset=us-ascii
In message: <25271.212.83.93.49.1087477105.squirrel@winston.piwebs.com>
avleeuwen@piwebs.com writes:
: Is there something strange about the BIOS of this PC that requires special
: options for the bootloader? If not, is there a way to stop the system from
: rebooting so that I can see the error message?
You got the geometry of the CF wrong. Fix that and try again. I wish
that I could be more helpful, but I've had this error hundreds of
times and it was always the geometry in the fdisk being wrong.
Warner
------------------------------
Message: 14
Date: Sun, 20 Jun 2004 11:08:16 -0600 (MDT)
From: "M. Warner Losh" <imp@bsdimp.com>
Subject: Re: How to catch interrupt
To: rik@cronyx.ru
Cc: freebsd-current@freebsd.org
Message-ID: <20040620.110816.26780069.imp@bsdimp.com>
Content-Type: Text/Plain; charset=us-ascii
In message: <40D2E22A.40702@cronyx.ru>
Roman Kurakin <rik@cronyx.ru> writes:
: Ok. Thanks for information. I guess I need to remove this code from my
: driver.
: This code is part of cx(4) and ctau(4) drivers. These cards are legacy
: ISA cards,
: IRQ line could be set any (from a definite set). The only reason why we
: probe
: for IRQ is to write to the user messages that IRQ is not functional -
: most probable
: it is assigned fot PCI/PNP. After we add this code calls to our tech
: support with
: question why device is not working (due to this reason) decreased twice.
You can also use the watchdog timeout to good effect. When the
operation is done, you reset the watchdog. When the timeout happens,
you know that you don't have a working interrupt... It won't happen
at probe time, but will happen at a useful time (the first time the
user tries to use it).
Warner
------------------------------
Message: 15
Date: Sun, 20 Jun 2004 13:30:00 -0400 (EDT)
From: "Mike Jakubik" <mikej@rogers.com>
Subject: Re: Error in /usr/src/Makefile.inc1
To: "Doug White" <dwhite@gumbysoft.com>
Cc: Mike Jakubik <mikej@rogers.com>
Message-ID: <2923.192.168.0.200.1087752600.squirrel@192.168.0.200>
Content-Type: text/plain;charset=iso-8859-1
Doug White said:
> On Thu, 17 Jun 2004, Mike Jakubik wrote:
>
>> Cvsuped at Thu Jun 17 01:02:37 EDT 2004
>>
>> ---
>>
>> root@lappy:/usr/src# make buildworld
>> "Makefile.inc1", line 65: Malformed conditional (${TARGET_ARCH} ==
>> "alpha")
>> "Makefile.inc1", line 65: Need an operator
>> "Makefile.inc1", line 67: if-less endif
>> "Makefile.inc1", line 67: Need an operator
>> make: fatal errors encountered -- cannot continue
>> *** Error code 1
>
> You usually get this if you have a severly outdated make. Check the
> system time for accuracy, then try "make ALWAYS_CHECK_MAKE=yes
> buildworld".
My last buildworld prior to this was on Fri May 28 21:38:52 EDT 2004. My
clock is also synchronized every week, so its fairly accurate. This
problem went away after an update to the file about a day after, so i
guess it was just a typo in the file.
Thanks.
------------------------------
Message: 16
Date: Sun, 20 Jun 2004 14:54:34 +0100
From: Josef Karthauser <joe@tao.org.uk>
Subject: Re: Wireless support for the Netgear WG311T?
To: current@freebsd.org, net@freebsd.org
Message-ID: <20040620135433.GA769@genius.tao.org.uk>
Content-Type: text/plain; charset="us-ascii"
On Sun, Jun 20, 2004 at 02:39:36PM +0100, Josef Karthauser wrote:
> Dear wireless geeks,
>
> The ath manual pages says that we support the Netgear WG311 and the
> WG511T, but do we also support the WG311T? (Is the T significant?).
>
> Many thanks if you know the answer to this question.
I should have said that the atheros web site states that the 511T and
the 311T use the same chipset, which is the AR5002G, but that the
FreeBSD manual page states that the 511T uses the AR5212 chipset and
doesn't mention the AR5002G by name at all. Addionally the atheros web
site doesn't mention a WG311 card at at all, only a HA311, WAG311 and
WG311T.
Joe
--
Josef Karthauser (joe@tao.org.uk) http://www.josef-k.net/
FreeBSD (cvs meister, admin and hacker) http://www.uk.FreeBSD.org/
Physics Particle Theory (student) http://www.pact.cpes.sussex.ac.uk/
================ An eclectic mix of fact and theory. =================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040620/
2dbc5856/attachment-0001.bin
------------------------------
Message: 17
Date: Sun, 20 Jun 2004 14:39:36 +0100
From: Josef Karthauser <joe@tao.org.uk>
Subject: Wireless support for the Netgear WG311T?
To: current@freebsd.org, net@freebsd.org
Message-ID: <20040620133936.GA791@genius.tao.org.uk>
Content-Type: text/plain; charset="us-ascii"
Dear wireless geeks,
The ath manual pages says that we support the Netgear WG311 and the
WG511T, but do we also support the WG311T? (Is the T significant?).
Many thanks if you know the answer to this question.
Regards,
Joe
--
Josef Karthauser (joe@tao.org.uk) http://www.josef-k.net/
FreeBSD (cvs meister, admin and hacker) http://www.uk.FreeBSD.org/
Physics Particle Theory (student) http://www.pact.cpes.sussex.ac.uk/
================ An eclectic mix of fact and theory. =================
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040620/
6acd9cc7/attachment-0001.bin
------------------------------
Message: 18
Date: Sun, 20 Jun 2004 19:48:41 +0200
From: Ulrich Spoerlein <q@uni.de>
Subject: Missing man-pages
To: freebsd-current@freebsd.org
Message-ID: <20040620174841.GB68087@galgenberg.net>
Content-Type: text/plain; charset="us-ascii"
Hello,
I need to give a small presentation containing Netgraph, and in reading
through the man-pages I found some of them missing. I hacked together a
small one-liner looking for KLDs/Binaries without man-page
Note: I would be good (IMHO) to have MLINKS for xl->if_xl,
emu10k1->snd_em10k1 ...
% (find /bin /sbin /usr/bin /usr/sbin /boot/kernel -type f -perm +111 | \
sed 's/.ko$//; s/snd_//; s/if_//' | xargs -n1 basename | \
xargs -n1 -J % man -w %) 2>&1 | grep "No manual entry" | \
sed 's/No manual entry for//' | sort
3dfx
aac_linux
ad1816
ahc_eisa
ahc_pci
aout
apm_saver
arcnet
bktr_mem
blank_saver
bzip2recover
c++filt
callbootd
cd9660
cd9660_iconv
cm
cmi
coda
coda5
cryptodev
cs4281
daemon_saver
digi
digi_CX
digi_CX_PCI
digi_EPCX
digi_EPCX_PCI
digi_Xe
digi_Xem
digi_Xr
dragon_saver
ds1
elf2aout
elink
es137x
ess
fade_saver
fire_saver
fm801
fsck_4.2bsd
fsck_ufs
gdbreplay
geom_apple
geom_bde
geom_bsd
geom_ccd
geom_fox
geom_gpt
geom_mbr
geom_pc98
geom_sunlabel
geom_vol_ffs
green_saver
hea_pci
hfa
hfa_pci
ibcs2
ibcs2_coff
ic
ich
infokey
init.bak
ip_mroute
kernel
ksu
lessecho
lesspipe.sh
libiconv
libmbpool
libmchain
logo_saver
maestro
msdosfs_iconv
mss
ncp
nfsclient
nfsserver
ng_eiface
ng_fec
ng_gdemux
ng_sync_ar
ng_sync_sr
ngatmbase
ntfs
ntfs_iconv
ntptimeset
nullfs
nwfs
oltr
pcfclock
pecoff
portalfs
post-grohtml
pps
pre-grohtml
protoize
raidframe
rain_saver
rpc.ypupdated
s3
sb16
sb8
scsi_low
smbfs
smbios
snake_saver
solo
splash_bmp
splash_pcx
star_saver
sunlabel
sysvmsg
sysvsem
sysvshm
t4dwave
udf
udf_iconv
umapfs
umct
unionfs
via8233
via82c686
vibes
warp_saver
There are of course many false positives, for example the KLD nullfs is
for mount_nullfs which has a manpage. And there are false negatives,
because snd_driver is not documented (but there is driver(9)). In the
end, there are many KLDs and binaries without any manpage. It would be
nice, if the respective maintainers could provide these.
Ulrich Spoerlein
--
PGP Key ID: F0DB9F44 Get it while it's hot!
PGP Fingerprint: F1CE D062 0CA9 ADE3 349B 2FE8 980A C6B5 F0DB 9F44
"They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety." -- Benjamin Franklin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040620/
01739ffe/attachment-0001.bin
------------------------------
Message: 19
Date: Sun, 20 Jun 2004 18:52:05 +0100
From: David Malone <dwmalone@maths.tcd.ie>
Subject: Re: Wireless support for the Netgear WG311T?
To: Josef Karthauser <joe@tao.org.uk>, current@freebsd.org,
net@freebsd.org
Message-ID: <20040620175205.GA13235@walton.maths.tcd.ie>
Content-Type: text/plain; charset=us-ascii
On Sun, Jun 20, 2004 at 02:54:34PM +0100, Josef Karthauser wrote:
> I should have said that the atheros web site states that the 511T and
> the 311T use the same chipset, which is the AR5002G, but that the
I know someone with a 511T, and it works with the ath driver, I
believe. I also have a WAG511, which also works with the ath driver.
The WG511 and WG311 a non-Atheros chipset and so you'd have to try
project evil.
> FreeBSD manual page states that the 511T uses the AR5212 chipset and
> doesn't mention the AR5002G by name at all. Addionally the atheros web
> site doesn't mention a WG311 card at at all, only a HA311, WAG311 and
> WG311T.
I think that's 'cos they are a different chipset all together.
David.
------------------------------
Message: 20
Date: Sun, 20 Jun 2004 19:09:44 +0100
From: Mark Dixon <mark@markdnet.demon.co.uk>
Subject: Re: Wireless support for the Netgear WG311T?
To: freebsd-current@freebsd.org
Message-ID: <200406201909.46015.mark@markdnet.demon.co.uk>
Content-Type: text/plain; charset="iso-8859-1"
On Sunday 20 Jun 2004 18:52, David Malone wrote:
>
> > FreeBSD manual page states that the 511T uses the AR5212 chipset and
> > doesn't mention the AR5002G by name at all. Addionally the atheros web
> > site doesn't mention a WG311 card at at all, only a HA311, WAG311 and
> > WG311T.
>
> I think that's 'cos they are a different chipset all together.
I'm fairly sure I have a WG311 and that works fine with the atheros driver.
--
Mark
'If it compiles, ship it'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040620/
19ac8569/attachment-0001.bin
------------------------------
Message: 21
Date: Sun, 20 Jun 2004 19:10:30 +0100
From: David Malone <dwmalone@maths.tcd.ie>
Subject: Re: Wireless support for the Netgear WG311T?
To: Mark Dixon <mark@markdnet.demon.co.uk>
Cc: freebsd-current@freebsd.org
Message-ID: <20040620181030.GA13446@walton.maths.tcd.ie>
Content-Type: text/plain; charset=us-ascii
On Sun, Jun 20, 2004 at 07:09:44PM +0100, Mark Dixon wrote:
> > I think that's 'cos they are a different chipset all together.
>
> I'm fairly sure I have a WG311 and that works fine with the atheros driver.
Sorry, you're right - the WG311 is a Atheros one, It's the WG511
that isn't.
David.
------------------------------
Message: 22
Date: Sun, 20 Jun 2004 20:30:04 +0200
From: StefanE?er<se@FreeBSD.org>
Subject: Re: Wireless support for the Netgear WG311T?
To: Josef Karthauser <joe@tao.org.uk>, current@freebsd.org,
net@freebsd.org
Message-ID: <20040620183004.GB94851@StefanEsser.FreeBSD.org>
Content-Type: text/plain; charset=us-ascii
On 2004-06-20 14:54 +0100, Josef Karthauser <joe@tao.org.uk> wrote:
> On Sun, Jun 20, 2004 at 02:39:36PM +0100, Josef Karthauser wrote:
> > The ath manual pages says that we support the Netgear WG311 and the
> > WG511T, but do we also support the WG311T? (Is the T significant?).
AFAIK, the WG311T and WG511T use an enhanced Atheros chip with
improved S/N ratio. (The Netgear web site talks about improved
antenna technology, but I don't see what's special about that
antenna at all. There used to be a more specific technical data
sheet, which talked about the improved sensitivity and S/N of the
new radio, and I guess that's what actually makes the difference.
I also seem to remember some article on "www.smallnetbuilder.com"
that talked about a new Atheros chip set with increased range back
in September 2003. Hmmm, might have been:
http://www.smallnetbuilder.com/News_story_328.php
Since the chips are covered by a shield on the Mini-PCI (a second
one, the PCI card has another shield around the Mini-PCI card), I
can't tell what chips are actually used.
> I should have said that the atheros web site states that the 511T and
> the 311T use the same chipset, which is the AR5002G, but that the
> FreeBSD manual page states that the 511T uses the AR5212 chipset and
> doesn't mention the AR5002G by name at all. Addionally the atheros web
> site doesn't mention a WG311 card at at all, only a HA311, WAG311 and
> WG311T.
See: http://www.netgear.com/products/prod_details.php?prodID=236
The WG311T definitely works, both with the Atheros driver and with
the NDIS wrapper. I've unsoldered the Mini-PCI from the PCI carrier
and have used it to replace the Centrino WLAN card in my Dell D800.
I can provide boot messages (with either driver), if there is any
interest ...
Regards, STefan
------------------------------
Message: 23
Date: Sun, 20 Jun 2004 11:35:11 -0700 (PDT)
From: Matthew Dillon <dillon@apollo.backplane.com>
Subject: Re: read vs. mmap (or io vs. page faults)
To: Mikhail Teterin <mi+kde@aldan.algebra.com>
Cc: questions@freebsd.org
Message-ID: <200406201835.i5KIZBeJ026532@apollo.backplane.com>
:Hello!
:
:I'm writing a message-digest utility, which operates on file and
:can use either stdio:
:
: while (not eof) {
: char buffer[BUFSIZE];
: size = read(.... buffer ...);
: process(buffer, size);
: }
:
:or mmap:
:
: buffer = mmap(... file_size, PROT_READ ...);
: process(buffer, file_size);
:
:I expected the second way to be faster, as it is supposed to avoid
:one memory copying (no user-space buffer). But in reality, on a
:CPU-bound (rather than IO-bound) machine, using mmap() is considerably
:slower. Here are the tcsh's time results:
read() is likely going to be faster because it does not involve any
page fault overhead. The VM system only faults 16 or so pages ahead
which is only 64KB, so the fault overhead is very high for the data rate.
Why does the extra copy not matter? Well, it's fairly simple, actually.
It's because your buffer is smaller then the L1 cache, and/or also simply
because the VM fault overhead is higher then it would take to copy
an extra 64KB.
read() loops typically use buffer sizes in the 8K-46K range. L1 caches
are typically 16K (for celeron class cpus) through 64K, or more for
higher end cpus. L2 caches are typically 256K-1MB, or more. The copy
bandwidth from or to the L1 cache is usually around 10x faster then main
memory and the copy bandwidth from or two L2 cache is usually
around 4x faster. (Note that I'm talking copy bandwidth here, not random
access. The L1 cache is ~50x faster or more for random access).
So the cost of the extra copy in a read() loop using a reasonable buffer
size (~8K-64K) (L1 or L2 access) is virtually nil compared to the cost
of accessing the kernel's buffer cache (which involves main memory
accesses for files > L2 cache).
:On the IO-bound machine, using mmap is only marginally faster:
:
: Single Pentium4M (Centrino 1GHz) runing recent -current:
: --------------------------------------------------------
:stdio: 27.195u 8.280s 1:33.02 38.1% 10+169k 11221+0io 1pf+0w
:mmap: 26.619u 3.004s 1:23.59 35.4% 10+169k 47+0io 19463pf+0w
Yes, because it's I/O bound. As long as the kernel queues some readahead
to the device it can burn those cpu cycles on whatever it wants without
really effecting the transfer rate.
:I this how things are supposed to be, or will mmap() become more
:efficient eventually? Thanks!
:
: -mi
It's hard to say. mmap() could certainly be made more efficient, e.g.
by faulting in more pages at a time to reduce the actual fault rate.
But it's fairly difficult to beat a read copy into a small buffer.
-Matt
Matthew Dillon
<dillon@backplane.com>
------------------------------
Message: 24
Date: Sun, 20 Jun 2004 21:28:41 +0200
From: Alexander Leidinger <Alexander@Leidinger.net>
Subject: Re: How to determine the L2 cache size on non-AMD CPUs
(automatic page queue color tuning)?
To: John Polstra <jdp@polstra.com>
Cc: Bruce M Simpson <bms@spc.org>
Message-ID: <20040620212841.70071aa4@Magellan.Leidinger.net>
Content-Type: text/plain; charset=US-ASCII
On Wed, 16 Jun 2004 09:35:40 -0700 (PDT)
John Polstra <jdp@polstra.com> wrote:
[misc/cpuid]
> Yes, but it gives working code that generally shows how to get the
> information. Here's a link to an Intel document "Intel(R) Processor
> Idientification and the CPUID Instruction" that covers the newer CPUs:
>
> http://www.intel.com/design/Xeon/applnots/24161825.pdf
Thanks, based upon the docs from Intel I've a version up and running
now:
---snip---
FreeBSD 5.2-CURRENT #34: Sun Jun 20 21:04:28 CEST 2004
root@M87.Leidinger.net:/system/usr_src/sys/i386/compile/M87
Using 16 colors for the VM-PQ tuning (512, 8)
Preloaded elf kernel "/boot/kernel/kernel" at 0xc08a9000.
[...]
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2405.46-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf29 Stepping = 9
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA
,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Hyperthreading: 2 logical CPUs
Extended features=0x4400<CID>
Instruction TLB: 4-KB, 2-MB or 4-MB pages, fully associative, 64 entries
Data TLB: 4-KB or 4-MB pages, fully associative, 64 entries
1st-level data cache: 8-KB, 4-way set associative, sectored cache, 64-byte lin
e size
Trace cache: 12K-uops, 8-way set associative
2nd-level cache: 512-KB, 8-way set associative, sectored cache, 64-byte line s
ize
real memory = 1073676288 (1023 MB)
---snip---
>From a feature point of view I don't have anything on my TODO list for
this patch (I need to test the universe and fixup some '#if 0' parts).
If someone wants to play a little bit with it, it's at
http://www.Leidinger.net/FreeBSD/current-patches/pq.diff
It should also take a L3 cache into account, if available.
It would be nice if someone could review it. I'm not entirely satisfied
with the identcpu.c part, but I don't know enough of the big picture of
the kernel to provide a cleaner patch. Hints/suggestions are welcome.
Bye,
Alexander.
--
I'm available to get hired (preferred in .lu).
http://www.Leidinger.net Alexander @ Leidinger.net
GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7
------------------------------
Message: 25
Date: Sun, 20 Jun 2004 12:30:34 -0700
From: Kris Kennaway <kris@obsecurity.org>
Subject: Re: -current error
To: "Liam J. Foy" <liamfoy@sepulcrum.org>
Cc: current@freebsd.org
Message-ID: <20040620193034.GA20980@xor.obsecurity.org>
Content-Type: text/plain; charset="us-ascii"
On Sun, Jun 20, 2004 at 04:20:18PM +0100, Liam J. Foy wrote:
> Hey guys,
>
> Am getting a strange build error on current(1 day old). The error is:
>
> [snip]
> ln -fs /usr/obj/usr/src/i386/lib/libz.so.2 /usr/obj/usr/src/i386/usr/lib/lib
z.so
> 1 error
That's not an error..are you using make -j?
Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040620/
e54f4f30/attachment-0001.bin
------------------------------
Message: 26
Date: Sun, 20 Jun 2004 20:34:45 +0100
From: Ceri Davies <ceri@submonkey.net>
Subject: Re: -current error
To: Kris Kennaway <kris@obsecurity.org>
Cc: "Liam J. Foy" <liamfoy@sepulcrum.org>
Message-ID: <20040620193445.GE435@submonkey.net>
Content-Type: text/plain; charset="us-ascii"
On Sun, Jun 20, 2004 at 12:30:34PM -0700, Kris Kennaway wrote:
> On Sun, Jun 20, 2004 at 04:20:18PM +0100, Liam J. Foy wrote:
> > Hey guys,
> >
> > Am getting a strange build error on current(1 day old). The error is:
> >
> > [snip]
> > ln -fs /usr/obj/usr/src/i386/lib/libz.so.2 /usr/obj/usr/src/i386/usr/lib/l
ibz.so
> > 1 error
>
> That's not an error..are you using make -j?
I've just seen this with -j2; it goes away if you drop the -j.
Ceri
--
It is not tinfoil, it is my new skin. I am a robot.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040620/
da821aaa/attachment-0001.bin
------------------------------
Message: 27
Date: Sun, 20 Jun 2004 12:40:10 -0700
From: Kris Kennaway <kris@obsecurity.org>
Subject: Re: -current error
To: Ceri Davies <ceri@submonkey.net>, Kris Kennaway
<kris@obsecurity.org>, "Liam J. Foy" <liamfoy@sepulcrum.org>,
current@freebsd.org
Message-ID: <20040620194009.GA21177@xor.obsecurity.org>
Content-Type: text/plain; charset="us-ascii"
On Sun, Jun 20, 2004 at 08:34:45PM +0100, Ceri Davies wrote:
> On Sun, Jun 20, 2004 at 12:30:34PM -0700, Kris Kennaway wrote:
> > On Sun, Jun 20, 2004 at 04:20:18PM +0100, Liam J. Foy wrote:
> > > Hey guys,
> > >
> > > Am getting a strange build error on current(1 day old). The error is:
> > >
> > > [snip]
> > > ln -fs /usr/obj/usr/src/i386/lib/libz.so.2 /usr/obj/usr/src/i386/usr/lib
/libz.so
> > > 1 error
> >
> > That's not an error..are you using make -j?
>
> I've just seen this with -j2; it goes away if you drop the -j.
It may be a race condition..you'd have to check the scrollback for the
real error.
Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040620/
fd06baec/attachment-0001.bin
------------------------------
Message: 28
Date: Sun, 20 Jun 2004 12:40:58 -0700 (PDT)
From: Rostislav Krasny <rosti_bsd@yahoo.com>
Subject: Entropy device is blocked. Dance fandango on keyboard to
unblock.
To: freebsd-current@freebsd.org
Message-ID: <20040620194058.9394.qmail@web14805.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii
Hello all.
I already reported this problem at 19 April 2004 but it is not fixed
yet. You can find my original report and a reply to it there:
http://lists.freebsd.org/pipermail/freebsd-current/2004-April/025991.html
http://lists.freebsd.org/pipermail/freebsd-current/2004-April/026036.html
When I tried to install the latest i386/5.2-CURRENT-20040619-JPSNAP
snapshot the problem happened again. Does somebody know when this
problem would be fixed?
Thanks
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
------------------------------
Message: 29
Date: Sun, 20 Jun 2004 20:45:23 +0100
From: Ceri Davies <ceri@submonkey.net>
Subject: Re: -current error
To: Kris Kennaway <kris@obsecurity.org>
Cc: "Liam J. Foy" <liamfoy@sepulcrum.org>
Message-ID: <20040620194523.GF435@submonkey.net>
Content-Type: text/plain; charset="us-ascii"
On Sun, Jun 20, 2004 at 12:40:10PM -0700, Kris Kennaway wrote:
> On Sun, Jun 20, 2004 at 08:34:45PM +0100, Ceri Davies wrote:
> > On Sun, Jun 20, 2004 at 12:30:34PM -0700, Kris Kennaway wrote:
> > > On Sun, Jun 20, 2004 at 04:20:18PM +0100, Liam J. Foy wrote:
> > > > Hey guys,
> > > >
> > > > Am getting a strange build error on current(1 day old). The error is:
> > > >
> > > > [snip]
> > > > ln -fs /usr/obj/usr/src/i386/lib/libz.so.2 /usr/obj/usr/src/i386/usr/l
ib/libz.so
> > > > 1 error
> > >
> > > That's not an error..are you using make -j?
> >
> > I've just seen this with -j2; it goes away if you drop the -j.
>
> It may be a race condition..you'd have to check the scrollback for the
> real error.
Agreed - I was more interested in getting a world built at the time,
unfortunately; I did quickly page up a few screens worth and couldn't
see anything interesting, but wasn't looking too hard. I'll try again
shortly once I've installed world.
Ceri
--
It is not tinfoil, it is my new skin. I am a robot.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040620/
04392b0f/attachment-0001.bin
------------------------------
Message: 30
Date: Sun, 20 Jun 2004 21:47:10 +0200
From: Poul-Henning Kamp <phk@phk.freebsd.dk>
Subject: [TEST] natd multipath patches
To: current@freebsd.org, net@freebsd.org
Message-ID: <93004.1087760830@critter.freebsd.dk>
I have worked a bit more on my natd multipath patches and they are now
known to "basically work".
If you have multiple xDSL lines or two modems to different ISPs or
cable and xDSL etc. then grab:
http://phk.freebsd.org/misc/natd
And try it out on your FreeBSD -current firewall.
Please test and report success/failures/ideas/patches.
--
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: 31
Date: Sun, 20 Jun 2004 21:55:12 +0200
From: "Simon L. Nielsen" <simon@FreeBSD.org>
Subject: Re: [TEST] natd multipath patches
To: Poul-Henning Kamp <phk@phk.freebsd.dk>
Cc: current@freebsd.org
Message-ID: <20040620195512.GG826@zaphod.nitro.dk>
Content-Type: text/plain; charset="us-ascii"
On 2004.06.20 21:47:10 +0200, Poul-Henning Kamp wrote:
> If you have multiple xDSL lines or two modems to different ISPs or
> cable and xDSL etc. then grab:
>
> http://phk.freebsd.org/misc/natd
I think http://phk.freebsd.dk/misc/natd/ will work better :-).
--
Simon L. Nielsen
FreeBSD Documentation Team
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040620/
8afcf324/attachment-0001.bin
------------------------------
Message: 32
Date: Sun, 20 Jun 2004 21:58:07 +0200
From: "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Subject: Re: [TEST] natd multipath patches
To: "Simon L. Nielsen" <simon@FreeBSD.org>
Cc: current@FreeBSD.org
Message-ID: <93263.1087761487@critter.freebsd.dk>
In message <20040620195512.GG826@zaphod.nitro.dk>, "Simon L. Nielsen" writes:
>
>--MGu/vTNewDGZ7tmp
>Content-Type: text/plain; charset=us-ascii
>Content-Disposition: inline
>Content-Transfer-Encoding: quoted-printable
>
>On 2004.06.20 21:47:10 +0200, Poul-Henning Kamp wrote:
>
>> If you have multiple xDSL lines or two modems to different ISPs or
>> cable and xDSL etc. then grab:
>>
>> http://phk.freebsd.org/misc/natd
>
>I think http://phk.freebsd.dk/misc/natd/ will work better :-).
yeah, of course...
--
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: 33
Date: Sun, 20 Jun 2004 22:09:59 +0200
From: Max Laier <max@love2party.net>
Subject: Re: -current build failure -not seen on the list
To: freebsd-current@freebsd.org
Cc: Kim Culhan <w8hdkim@yahoo.com>
Message-ID: <200406202209.59939.max@love2party.net>
Content-Type: text/plain; charset="iso-8859-1"
On Saturday 19 June 2004 21:08, Kim Culhan wrote:
> Is anyone seeing this:
>
> contrib/altq -I../../../contrib/ipfilter -I../../../contrib/pf
> -I../../../contrib/dev/ath -I../../../contrib/dev/ath/freebsd
> -I../../../contrib/ngatm -D_KERNEL -include opt_global.h -fno-common
> -finline-limit=8000 -mno-align-long-strings
> -mpreferred-stack-boundary=2 -ffreestanding -Werror
> ../../../netinet/in_proto.c
> In file included from ../../../netinet/in_proto.c:91:
> ../../../contrib/pf/net/pfvar.h:55: error: redefinition of `union
> sockaddr_union'
> *** Error code 1
>
> Is my build environment hosed ?
No, this is a problem when you add both:
options FAST_IPSEC
and device pfsync
Attached patch is a quick-fix. I will investigate a more final solution. Sorry
for the delay.
--
Best regards, | mlaier@freebsd.org
Max Laier | ICQ #67774661
http://pf4freebsd.love2party.net/ | mlaier@EFnet
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sockaddr_union.diff
Type: text/x-diff
Size: 595 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040620/
ba7e80ae/sockaddr_union-0001.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: signature
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040620/
ba7e80ae/attachment-0001.bin
------------------------------
Message: 34
Date: Sun, 20 Jun 2004 13:18:53 -0700 (PDT)
From: Julian Elischer <julian@elischer.org>
Subject: Re: Missing man-pages
To: Ulrich Spoerlein <q@uni.de>
Cc: freebsd-current@freebsd.org
Message-ID:
<Pine.BSF.4.21.0406201315440.23541-100000@InterJet.elischer.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Sun, 20 Jun 2004, Ulrich Spoerlein wrote:
> Hello,
>
> I need to give a small presentation containing Netgraph, and in reading
> through the man-pages I found some of them missing. I hacked together a
> small one-liner looking for KLDs/Binaries without man-page
>
> Note: I would be good (IMHO) to have MLINKS for xl->if_xl,
> emu10k1->snd_em10k1 ...
>
> % (find /bin /sbin /usr/bin /usr/sbin /boot/kernel -type f -perm +111 | \
> sed 's/.ko$//; s/snd_//; s/if_//' | xargs -n1 basename | \
> xargs -n1 -J % man -w %) 2>&1 | grep "No manual entry" | \
> sed 's/No manual entry for//' | sort
ng_eiface
ng_fec
ng_gdemux
ng_sync_ar
ng_sync_sr
ngatmbase
ng_fec has a man page being committed by coincidence today.
ng_sync_sr is a is a variant of if_sr which has a man page (man 4 sr)
ng_sync_ar is a variant of if_ar which has a man page (man 4 ar)
------------------------------
Message: 35
Date: Sun, 20 Jun 2004 14:02:44 -0700 (PDT)
From: Kim Culhan <w8hdkim@yahoo.com>
Subject: IPSEC on -current [was: -current build failure]
To: freebsd-current@freebsd.org
Cc: Max Laier <max@love2party.net>
Message-ID: <20040620210244.67785.qmail@web50704.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii
--- Max Laier <max@love2party.net> wrote:
> On Saturday 19 June 2004 21:08, Kim Culhan wrote:
> > ../../../contrib/pf/net/pfvar.h:55: error: redefinition of `union
> > sockaddr_union'
> > *** Error code 1
> >
> > Is my build environment hosed ?
>
> No, this is a problem when you add both:
> options FAST_IPSEC
> and device pfsync
>
> Attached patch is a quick-fix. I will investigate a more final
> solution. Sorry
> for the delay.
Thats great Max, thanks muchly.
As we're on the topic, what is the -current state of IPSEC ?
Googling the net shows lots of examples using gif devices and
running racoon.
Is this still the way to go on -current ?
If its not the most up-to-date method, any pointers to
the Right Thing are very greatly appreciated.
-kim
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
------------------------------
Message: 36
Date: Sun, 20 Jun 2004 22:16:15 +0100
From: "Liam J. Foy" <liamfoy@sepulcrum.org>
Subject: Re: -current error
To: Ceri Davies <ceri@submonkey.net>
Cc: current@freebsd.org
Message-ID: <20040620221615.07d92001.liamfoy@sepulcrum.org>
Content-Type: text/plain; charset=US-ASCII
On Sun, 20 Jun 2004 20:45:23 +0100
Ceri Davies <ceri@submonkey.net> wrote:
> On Sun, Jun 20, 2004 at 12:40:10PM -0700, Kris Kennaway wrote:
> > On Sun, Jun 20, 2004 at 08:34:45PM +0100, Ceri Davies wrote:
> > > On Sun, Jun 20, 2004 at 12:30:34PM -0700, Kris Kennaway wrote:
> > > > On Sun, Jun 20, 2004 at 04:20:18PM +0100, Liam J. Foy wrote:
> > > > > Hey guys,
> > > > >
> > > > > Am getting a strange build error on current(1 day old). The error i
s:
> > > > >
> > > > > [snip]
> > > > > ln -fs /usr/obj/usr/src/i386/lib/libz.so.2 /usr/obj/usr/src/i386/usr
/lib/libz.so
> > > > > 1 error
> > > >
> > > > That's not an error..are you using make -j?
> > >
> > > I've just seen this with -j2; it goes away if you drop the -j.
> >
> > It may be a race condition..you'd have to check the scrollback for the
> > real error.
>
> Agreed - I was more interested in getting a world built at the time,
> unfortunately; I did quickly page up a few screens worth and couldn't
> see anything interesting, but wasn't looking too hard. I'll try again
> shortly once I've installed world.
Thanks guys I have solved the problem with your suggestions. I am curious
to why it says to do this in the handbook then ?
>
> Ceri
> --
> It is not tinfoil, it is my new skin. I am a robot.
>
--
-Liam Foy
http://liamfoy.kerneled.org
"Do only what only you can do."
------------------------------
Message: 37
Date: Sun, 20 Jun 2004 22:38:26 +0100
From: Ceri Davies <ceri@submonkey.net>
Subject: Re: -current error
To: "Liam J. Foy" <liamfoy@sepulcrum.org>
Cc: current@freebsd.org
Message-ID: <20040620213826.GG435@submonkey.net>
Content-Type: text/plain; charset="us-ascii"
On Sun, Jun 20, 2004 at 10:16:15PM +0100, Liam J. Foy wrote:
> On Sun, 20 Jun 2004 20:45:23 +0100
> Ceri Davies <ceri@submonkey.net> wrote:
>
> > On Sun, Jun 20, 2004 at 12:40:10PM -0700, Kris Kennaway wrote:
> > > On Sun, Jun 20, 2004 at 08:34:45PM +0100, Ceri Davies wrote:
> > > > On Sun, Jun 20, 2004 at 12:30:34PM -0700, Kris Kennaway wrote:
> > > > > On Sun, Jun 20, 2004 at 04:20:18PM +0100, Liam J. Foy wrote:
> > > > > > Hey guys,
> > > > > >
> > > > > > Am getting a strange build error on current(1 day old). The error
is:
> > > > > >
> > > > > > [snip]
> > > > > > ln -fs /usr/obj/usr/src/i386/lib/libz.so.2 /usr/obj/usr/src/i386/u
sr/lib/libz.so
> > > > > > 1 error
> > > > >
> > > > > That's not an error..are you using make -j?
> > > >
> > > > I've just seen this with -j2; it goes away if you drop the -j.
> > >
> > > It may be a race condition..you'd have to check the scrollback for the
> > > real error.
> >
> > Agreed - I was more interested in getting a world built at the time,
> > unfortunately; I did quickly page up a few screens worth and couldn't
> > see anything interesting, but wasn't looking too hard. I'll try again
> > shortly once I've installed world.
I've reproduced it, but there's no error in the 23 screens of scrollback
I have available. I have to hit the sack now; will have another go
tomorrow.
> Thanks guys I have solved the problem with your suggestions. I am curious
> to why it says to do this in the handbook then ?
It can be faster. The handbook should also say to try without it if it
causes an error.
Ceri
--
It is not tinfoil, it is my new skin. I am a robot.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040620/
0ce7fc2b/attachment.bin
------------------------------
_______________________________________________
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 65, Issue 24
***********************************************
--
[35mEvariste Galois[m:
[33m�����呛��樱������蔷������,����直前......[m
[m[36m�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234][m