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: [current tinderbox] failure on sparc64/sparc64
(Ollivier Robert)
2. Re: Hang on boot - "ATAPI_RESET no interrupt" with DVD+RW
(Samuel Tardieu)
3. vmnet.ko missing - but it's there! - vmware and crashes
(Ben Paley)
4. Re: vmnet.ko missing - but it's there! - vmware and crashes
(Scott Long)
5. FAILURE - ATAPI_RESET no interrupt in newer current (Andreas Kohn)
6. RE: fetch hangs, part 2 (Robert Watson)
7. Re: FAILURE - ATAPI_RESET no interrupt in newer current
(Conrad J. Sabatier)
8. Re: [amd64] System lockups still continuing (Conrad J. Sabatier)
9. Re: [amd64] Sound breakage with snd_ich driver
(Conrad J. Sabatier)
10. Re: 5.3-RELEASE TODO (Frode Nordahl)
11. Re: I/O or Threading Suffer (jesk)
12. Re: FAILURE - ATAPI_RESET no interrupt in newer current
(Andreas Kohn)
13. Re: I/O or Threading Suffer (Dennis Berger)
14. Re: 5.3-RELEASE TODO (Robert Watson)
15. NATD no longer works for outgoing PPTP VPN? (Mike Jakubik)
16. Re: Excellent job on the firewire support! (Greg 'groggy' Lehey)
17. Re: Excellent job on the firewire support! (Hidetoshi Shimokawa)
18. Re: Excellent job on the firewire support! (Julian Elischer)
19. Re: Ok, who broke interface autoconfiguration? (Andrew Gallatin)
20. Re: Ok, who broke interface autoconfiguration? (Chuck Swiger)
21. Re: Excellent job on the firewire support! (Marcel Moolenaar)
22. Re: Ok, who broke interface autoconfiguration? (Andrew Gallatin)
23. Re: [amd64] System lockups still continuing (Conrad J. Sabatier)
24. Re: Ok, who broke interface autoconfiguration? (Daniel O'Connor)
25. Re: Ok, who broke interface autoconfiguration? (Daniel O'Connor)
26. Re: I/O or Threading Suffer (Dan Nelson)
27. Fatal double fault (Jun Kuriyama)
28. Using -current on a Fujitsu Lifebook N5010 (no Atheros
802.11, no Ethernet, + hard freezes) (Jake Hamby)
29. Re: 5.3-RELEASE TODO (Frode Nordahl)
30. Re: sk0 patch (Tomas Randa)
31. Re: vmnet.ko missing - but it's there! - vmware and crashes
(Ben Paley)
32. Re: Using -current on a Fujitsu Lifebook N5010 (no Atheros
802.11, no Ethernet, + hard freezes) (Julian Elischer)
----------------------------------------------------------------------
Message: 1
Date: Wed, 21 Jul 2004 00:02:05 +0200
From: Ollivier Robert <roberto@keltia.freenix.fr>
Subject: Re: [current tinderbox] failure on sparc64/sparc64
To: current@freebsd.org, sparc64@freebsd.org
Message-ID: <20040720220205.GA72249@tara.freenix.org>
Content-Type: text/plain; charset=us-ascii
According to FreeBSD Tinderbox:
> ===> usr.sbin/ntp
> ===> usr.sbin/ntp/libntp
> make: don't know how to make authencrypt.c. Stop
> *** Error code 2
>
> Stop in /tinderbox/CURRENT/sparc64/sparc64/src/usr.sbin/ntp.
> *** Error code 1
I can't reproduce on panther.freebsd.org :( Has anyone an idea of what's
going on? authencrypt.c doesn't even exist on 4.2.0. Stale .depend?
--
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr
Darwin snuadh.freenix.org Kernel Version 7.4.0: Wed May 12 16:58:24 PDT 2004
------------------------------
Message: 2
Date: 21 Jul 2004 00:18:50 +0200
From: Samuel Tardieu <sam@rfc1149.net>
Subject: Re: Hang on boot - "ATAPI_RESET no interrupt" with DVD+RW
To: freebsd-current@freebsd.org
Message-ID: <87fz7m1fw5.fsf@beeblebrox.rfc1149.net>
Content-Type: text/plain; charset=us-ascii
>>>>> "Brian" == Brian Rogers <burpmaster@truffula.net> writes:
Brian> Since last night and continuing today, the kernel from -CURRENT
Brian> usually hangs during boot. Safe mode worked once, but the
Brian> second time it didn't work. I now got in through single-user
Brian> mode, so it appears to just work every once in a while,
Brian> randomly.
Same from me with a kernel/world from Thu Jul 15 20:37:42 CEST
2004. With or without CD in the reader/writer. I have to remove the
device (I cannot test at another place on the bus at this is in a
laptop) to make the laptop boot. It was working fine with 5.2.1.
Sam
--
Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/sam
------------------------------
Message: 3
Date: Tue, 20 Jul 2004 23:55:41 +0100
From: Ben Paley <ben@spooty.net>
Subject: vmnet.ko missing - but it's there! - vmware and crashes
To: "freebsd -current@" <freebsd-current@freebsd.org>
Message-ID: <200407202355.41867.ben@spooty.net>
Content-Type: text/plain; charset="us-ascii"
Hello,
I'm getting a total crash every time I try to run vmware. This is my system:
bash-2.05b$ uname -a
FreeBSD potato.hogsedge.net 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue Jun 22
07:07:08 BST 2004 root@potato.hogsedge.net:/usr/obj/usr/src/sys/POTATO
i386
bash-2.05b$ pkg_info | grep vmware
vmware3-3.2.1.2242_7,1 A virtual machine emulator - a full PC in a window
For a while I was getting some sort of network error: vmware would start as
long as all the network stuff was disabled, but if I tried to have a
host-only connection (I haven't even bothered trying a bridged connection) it
wouldn't run (that is, vmware itself would run fine, but the virtual machine
wouldn't boot, and I'd get an error message about networking - sorry I didn't
make a note of it).
So I did
portupgrade -fR vmware3
and after a lot of waiting around I tried again: now I get a complete crash
(can't even change to another terminal and kill x) whenever I try to start
vmware.
On boot, I get this message:
kldload: can't load /usr/local/lib/vmware/modules/vmnet.ko: No such file or
directory
in amongst all the other system stuff, but I also get this:
-bash-2.05b# locate vmnet.ko
/usr/local/lib/vmware/modules/vmnet.ko
even after updating the locate database.
Any ideas what's going wrong?
Thanks a lot,
Ben
------------------------------
Message: 4
Date: Tue, 20 Jul 2004 16:59:37 -0600
From: Scott Long <scottl@freebsd.org>
Subject: Re: vmnet.ko missing - but it's there! - vmware and crashes
To: Ben Paley <ben@spooty.net>
Cc: "freebsd -current@" <freebsd-current@freebsd.org>
Message-ID: <40FDA3D9.7070806@freebsd.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Ben Paley wrote:
> Hello,
>
> I'm getting a total crash every time I try to run vmware. This is my system:
>
> bash-2.05b$ uname -a
> FreeBSD potato.hogsedge.net 5.2-CURRENT FreeBSD 5.2-CURRENT #0: Tue Jun 22
> 07:07:08 BST 2004 root@potato.hogsedge.net:/usr/obj/usr/src/sys/POTATO
> i386
> bash-2.05b$ pkg_info | grep vmware
> vmware3-3.2.1.2242_7,1 A virtual machine emulator - a full PC in a window
>
> For a while I was getting some sort of network error: vmware would start as
> long as all the network stuff was disabled, but if I tried to have a
> host-only connection (I haven't even bothered trying a bridged connection) i
t
> wouldn't run (that is, vmware itself would run fine, but the virtual machine
> wouldn't boot, and I'd get an error message about networking - sorry I didn'
t
> make a note of it).
>
> So I did
>
> portupgrade -fR vmware3
>
> and after a lot of waiting around I tried again: now I get a complete crash
> (can't even change to another terminal and kill x) whenever I try to start
> vmware.
>
> On boot, I get this message:
>
> kldload: can't load /usr/local/lib/vmware/modules/vmnet.ko: No such file or
> directory
This message is misleading. It likely means that the vmnet.ko binary
failed to link successfully into the kernel due to missing symbols.
Look on the system console when this happens and see what it says.
>
> in amongst all the other system stuff, but I also get this:
>
> -bash-2.05b# locate vmnet.ko
> /usr/local/lib/vmware/modules/vmnet.ko
>
> even after updating the locate database.
>
> Any ideas what's going wrong?
Recompile the vmnet.ko binary from source and see if that helps.
Scott
------------------------------
Message: 5
Date: Wed, 21 Jul 2004 01:02:43 +0200
From: Andreas Kohn <andreas.kohn@gmx.net>
Subject: FAILURE - ATAPI_RESET no interrupt in newer current
To: freebsd-current@freebsd.org
Message-ID: <1090364563.728.3.camel@klamath.syndrom23.de>
Content-Type: text/plain; charset="us-ascii"
Hi,
today I updated my -CURRENT from ~July 5 to July 20 sources. After
reboot with the new kernel, I saw this:
ata1-master: FAILURE - ATAPI_RESET no interrupt
acd0: CDRW <TOSHIBA DVD-ROM SD-R1002> at ata1-master WDMA2
With the old kernel, die FAILURE message was not there, but the acd0 was
running in WDMA2 mode as well.
This is a
atapci0: <VIA 8235 UDMA133 controller> port
0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 17.1 on pci0
controller.
Is this message to be expected, or should I worry about anything?
Regards,
Andreas Kohn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040721/
205f38c7/attachment-0001.bin
------------------------------
Message: 6
Date: Tue, 20 Jul 2004 19:18:26 -0400 (EDT)
From: Robert Watson <rwatson@freebsd.org>
Subject: RE: fetch hangs, part 2
To: Darren Pilgrim <dmp@bitfreak.org>
Cc: 'Matt White' <matt+list.sw.freebsd.current@publicly.neglect.us>
Message-ID:
<Pine.NEB.3.96L.1040720191736.9228F-100000@fledge.watson.org>
Content-Type: TEXT/PLAIN; charset=US-ASCII
On Tue, 20 Jul 2004, Darren Pilgrim wrote:
> I've been having the same (or a similar problem). Fetching the distfile
> for a port will hang. I poked some more at this and found that all the
> sites fetch is hanging on successfully negotiate the TCP connection then
> go dead without closing the connection. My workaround has been to edit
> the Makefile and remove the offending site from MASTER_SITES or manually
> fetch from ftp.freebsd.org.
Could you try disabling TCP SACK and see if things "get better"? It's one
of the things that has changed in the TCP code recently. This could well
be a user space fetch issue, but it would be worth trying it to see, if
only to rule it out.
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org Principal Research Scientist, McAfee Research
>
> > From: Matt White
> >
> > Thanks, but it looks like those are the default settings, so I'm guessing
> > setting that's not going to help me. It's probably better to figure out
> > what's wrong here anyway so we can use whatever settings we want. If I
> > don't hear anything more, I'll try to get a ktrace tonight.
> >
> >
> > -Matt
> >
> > --On Sunday, July 18, 2004 1:48 PM -0500 "Conrad J. Sabatier"
> > <conrads@cox.net> wrote:
> >
> > >
> > > On 18-Jul-2004 Matt White wrote:
> > >> I looked in the archives and saw that a couple of others also had
> > >> this
> > >> problem. Fetch is getting distributions for ports and it'll just
> > >> hang.
> > >> Killing the build and restarting it will usually cause it to advance.
> > >> Did
> > >> any of you guys who saw this problem before come up with a solution?
> > >
> > > I found that changing my buffer size settings made all the difference.
> > > I had been using the following in /etc/sysctl.conf:
> > >
> > > net.inet.tcp.recvspace=131072
> > > net.inet.tcp.sendspace=65536
> > >
> > > Changing them to:
> > >
> > > net.inet.tcp.recvspace=65536
> > > net.inet.tcp.sendspace=32768
> > >
> > > Solved the problem.
>
>
> _______________________________________________
> 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"
>
------------------------------
Message: 7
Date: Tue, 20 Jul 2004 18:22:29 -0500 (CDT)
From: "Conrad J. Sabatier" <conrads@cox.net>
Subject: Re: FAILURE - ATAPI_RESET no interrupt in newer current
To: Andreas Kohn <andreas.kohn@gmx.net>
Cc: freebsd-current@freebsd.org
Message-ID: <XFMail.20040720182229.conrads@cox.net>
Content-Type: text/plain; charset=us-ascii
On 20-Jul-2004 Andreas Kohn wrote:
> Hi,
>
> today I updated my -CURRENT from ~July 5 to July 20 sources. After
> reboot with the new kernel, I saw this:
>
> ata1-master: FAILURE - ATAPI_RESET no interrupt
> acd0: CDRW <TOSHIBA DVD-ROM SD-R1002> at ata1-master WDMA2
>
> With the old kernel, die FAILURE message was not there, but the acd0
> was running in WDMA2 mode as well.
The mode seems to have no bearing on this issue; I get the same in
either PIO4 or WDMA2 modes.
> This is a
> atapci0: <VIA 8235 UDMA133 controller> port
> 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 17.1 on
> pci0 controller.
>
> Is this message to be expected, or should I worry about anything?
I'm seeing the same (and this is not the first time someone has
reported this, either).
The drive works normally, it seems, at least for a while. Last night,
I tried playing a DVD in mplayer, and it worked fine until the whole
machine suddenly hung. Hard to say whether or not this is an
ata/atapi issue, or maybe due to the other, well-known preemption
problem that's being discussed here lately.
--
Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"
------------------------------
Message: 8
Date: Tue, 20 Jul 2004 18:27:39 -0500 (CDT)
From: "Conrad J. Sabatier" <conrads@cox.net>
Subject: Re: [amd64] System lockups still continuing
To: Kevin Oberman <oberman@es.net>
Cc: freebsd-current@freebsd.org
Message-ID: <XFMail.20040720182739.conrads@cox.net>
Content-Type: text/plain; charset=us-ascii
On 20-Jul-2004 Kevin Oberman wrote:
[ re: lockup problem ]
> The problem is not specific to ULE or 4BSD. A fix was checked in last
> night, so cvsup and rebuild might just fix it. Early reports are that
> the patch resolves the problem, but the author is not sure that this
> is a complete fix.
Yes, I updated the kernel as soon as I saw the commit. Had one lockup
since, while playing a DVD in mplayer. This may or may not be related,
as I'm seeing the weirdness re: ata interrupt timeouts here still.
On the plus side, I've had no other lockups, and sound hasn't gone
buggo, either (pcm timeout, channel dead), like it was before (at least,
not yet).
So, I'd say the patch does seem to help, but not sure yet if it's a
100% solution.
--
Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"
------------------------------
Message: 9
Date: Tue, 20 Jul 2004 18:32:07 -0500 (CDT)
From: "Conrad J. Sabatier" <conrads@cox.net>
Subject: Re: [amd64] Sound breakage with snd_ich driver
To: Steve Roome <stephen_roome@pepcross.com>
Cc: freebsd-multimedia@freebsd.org
Message-ID: <XFMail.20040720183207.conrads@cox.net>
Content-Type: text/plain; charset=us-ascii
On 20-Jul-2004 Steve Roome wrote:
> On Tue, Jul 20, 2004 at 06:55:02AM -0500, Conrad J. Sabatier wrote:
>> That, as well as whatever is still causing these:
>>
>> ad0: TIMEOUT - WRITE_DMA retrying (2 retries left) LBA=123971136
>
> Is it a SIL3112 SATA controller ? IIRC someone (not mentioning any
> names) was claiming it was broken silicon - although to be fair it
> doesn't "break" the same way under windows xp.
No, mine uses the nVidia nForce3 chipset:
atapci0: <nVidia nForce3 UDMA133 controller> port
0xffa0-0xffaf,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 8.0 on pci0
One oddity that I hadn't previously mentioned is that I can't get UDMA
higher than 100 on this machine. Don't know if that's a limitation of
the drive, or the cable, or what:
ad0: 190782MB <ST3200822A> [387621/16/63] at ata0-master UDMA100
> Getting it fixed would be nice though.
Yes, it would be. :-)
--
Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"
------------------------------
Message: 10
Date: Wed, 21 Jul 2004 01:33:10 +0200
From: Frode Nordahl <frode@nordahl.net>
Subject: Re: 5.3-RELEASE TODO
To: Bj?rn Gr?nvall<bg@sics.se>
Cc: re@freebsd.org
Message-ID: <297F948A-DAA5-11D8-B5B9-000A95A9A574@nordahl.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On Jul 16, 2004, at 11:17, Bj�rn Gr�nvall wrote:
> PR bin/61718 fixes a bunch of bugs in rpc.lockd, please try it.
Yes, rpc.lockd is useless without this patch.
Can someone please commit it?
Mvh,
Frode
------------------------------
Message: 11
Date: Wed, 21 Jul 2004 01:46:12 +0200
From: "jesk" <jesk@killall.org>
Subject: Re: I/O or Threading Suffer
To: <freebsd-current@freebsd.org>
Cc: Robert Watson <rwatson@freebsd.org>
Message-ID: <056801c46eb3$bd0e2a40$45fea8c0@turbofresse>
Content-Type: text/plain; charset="iso-8859-1"
hi,
i figured out that the performanceloss only really occur if the process is
heavily writing on the filesystem.
dd if=/dev/zero of=/dev/null bs=128k doesnt hurt much in responsetime
of parallel processes, but when dd operates on the filesystem with of=foo
every process will be affect in executiontime.
a simple ps or ls meanwhile dding onto the disk will be hang for dozen of
seconds.
i tested it with 4BSD and ULE with and without Preemption.
------------------------------
Message: 12
Date: Wed, 21 Jul 2004 01:47:08 +0200
From: Andreas Kohn <andreas.kohn@gmx.net>
Subject: Re: FAILURE - ATAPI_RESET no interrupt in newer current
To: conrads@cox.net
Cc: freebsd-current@freebsd.org
Message-ID: <1090367228.728.7.camel@klamath.syndrom23.de>
Content-Type: text/plain; charset="us-ascii"
On Wed, 2004-07-21 at 01:22, Conrad J. Sabatier wrote:
> On 20-Jul-2004 Andreas Kohn wrote:
> > Hi,
> >
> > today I updated my -CURRENT from ~July 5 to July 20 sources. After
> > reboot with the new kernel, I saw this:
> >
> > ata1-master: FAILURE - ATAPI_RESET no interrupt
> > acd0: CDRW <TOSHIBA DVD-ROM SD-R1002> at ata1-master WDMA2
> >
> > With the old kernel, die FAILURE message was not there, but the acd0
> > was running in WDMA2 mode as well.
>
> The mode seems to have no bearing on this issue; I get the same in
> either PIO4 or WDMA2 modes.
>
> > This is a
> > atapci0: <VIA 8235 UDMA133 controller> port
> > 0xfc00-0xfc0f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 17.1 on
> > pci0 controller.
> >
> > Is this message to be expected, or should I worry about anything?
>
> I'm seeing the same (and this is not the first time someone has
> reported this, either).
>
> The drive works normally, it seems, at least for a while. Last night,
> I tried playing a DVD in mplayer, and it worked fine until the whole
> machine suddenly hung. Hard to say whether or not this is an
> ata/atapi issue, or maybe due to the other, well-known preemption
> problem that's being discussed here lately.
Thank you.
The thing is, I have absolutely no problems with this drive. It's just
that this message is new, and so made me wonder a little :)
Regards,
--
Andreas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040721/
68bf27c4/attachment-0001.bin
------------------------------
Message: 13
Date: Wed, 21 Jul 2004 01:56:42 +0200
From: Dennis Berger <db@nipsi.de>
Subject: Re: I/O or Threading Suffer
To: jesk <jesk@killall.org>
Cc: freebsd-current@freebsd.org
Message-ID: <20040720235642.GA42120@nipsi.home.net>
Content-Type: text/plain; charset=us-ascii
On Wed, Jul 21, 2004 at 01:46:12AM +0200, jesk wrote:
> hi,
> i figured out that the performanceloss only really occur if the process is
> heavily writing on the filesystem.
> dd if=/dev/zero of=/dev/null bs=128k doesnt hurt much in responsetime
> of parallel processes, but when dd operates on the filesystem with of=foo
> every process will be affect in executiontime.
> a simple ps or ls meanwhile dding onto the disk will be hang for dozen of
> seconds.
>
> i tested it with 4BSD and ULE with and without Preemption.
yep same thing here, it seems the process ( the "ps" one) doesn't get cputime
or something strange.
-db
>
>
> _______________________________________________
> 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"
------------------------------
Message: 14
Date: Tue, 20 Jul 2004 20:18:38 -0400 (EDT)
From: Robert Watson <rwatson@freebsd.org>
Subject: Re: 5.3-RELEASE TODO
To: Frode Nordahl <frode@nordahl.net>
Cc: Bj?rn Gr?nvall<bg@sics.se>
Message-ID:
<Pine.NEB.3.96L.1040720201727.12507B-100000@fledge.watson.org>
Content-Type: TEXT/PLAIN; charset=ISO-8859-1
On Wed, 21 Jul 2004, Frode Nordahl wrote:
> On Jul 16, 2004, at 11:17, Bj�rn Gr�nvall wrote:
>
> > PR bin/61718 fixes a bunch of bugs in rpc.lockd, please try it.
>
> Yes, rpc.lockd is useless without this patch.
>
> Can someone please commit it?
It looks like much if not all of it was committed on 20040716; commit
message below. Are any specific things that appear to be missing that
weren't merged?
Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org Principal Research Scientist, McAfee Research
revision 1.17
date: 2004/07/16 12:50:10; author: mr; state: Exp; lines: +1 -1
After talking to Colin,
apply the patch of bin/61718 (which should include/elimatate kern/61122
also).
It seems to fix a few annoying bugs.
PR: bin/61718, kern/61122
Submitted by: bg@sics.se ohartman@mail.physik.uni-mainz.de
----------------------------
revision 1.18
date: 2004/07/16 19:30:59; author: mr; state: Exp; lines: +0 -0
Forced commit to actually list the changes of bin/61718, as requested by
sam.
The attached patch fixes a number of problems present in rpc.lockd.
1)
Nfslocklist_head.lf_first is overwritten because of an off-by-one-bug
that happens when clnt_cache_next_to_use is incorrectly incremented.
2)
'struct sockaddr *addr' inside 'struct file_lock' is set to point to
the result from svc_getrpccaller(). This value is malloc:ed inside the
rpc libraries and is free:ed when clnt_destroy() is called. Fix,
maintain a copy of the result.
3)
The loop inside retry_blockingfilelocklist() that uses 3 pointers ifl,
nfl, and pfl thrashes the list pointed to by
blockedlocklist_head.lf_first. Fix, use a simpler loop. The new loop
does not preserve list order but the order is immaterial anyways. See
also revison 1.6-1.7 and kern/61122.
4)
struct file_lock
char client_name[SM_MAXSTRLEN];
and
struct host
char name[SM_MAXSTRLEN];
Be careful to not create open (non 0 terminated) C strings and later
passing them to e.g syslog. Fix, make sure that the strings are always
terminated with 0. When at it, move the strings to the end of the
structs and make them variable length. This saves about 1000 bytes for
every malloc:ed struct.
5)
The newfl = malloc(sizeof(struct file_lock)) memory was never properly
bzero:ed.
Minor changes:
A)
Nlmtonlm4(0) made assumptions about struct layouts.
B)
Don't close stdout and stderr when debugging (-d option).
C)
Remove unused pid_t locker and int fd in struct file_lock.
D)
s/printf/debuglog/
E)
Remove redundant sleep(1) and call to debuglog().
Cheers,
Bj<F6>rn
------------------------------
Message: 15
Date: Tue, 20 Jul 2004 20:32:42 -0400 (EDT)
From: "Mike Jakubik" <mikej@rogers.com>
Subject: NATD no longer works for outgoing PPTP VPN?
To: freebsd-current@freebsd.org, freebsd-net@freebsd.org
Message-ID: <1407.192.168.0.200.1090369962.squirrel@192.168.0.200>
Content-Type: text/plain;charset=iso-8859-1
Hello,
I have recently discovered, after long periods of trying to debug a VPN
server, that i can not establish PPTP VPN connections any more. The
culprit seems to be natd not forwarding GRE properly. I have tried adding
a 'redirect_proto gre' option to natd, but same behaviour occurs. I could
swear that not too long ago all my PPTP connection worked fine, as i have
a few clients defined in my windows pc. I have tried 3 different VPN
server, ranging from Windows 2000 server to FBSD with MPD, none work.
Plugging Internet directly to my PC works fine. Here is what the setup
looks like:
Me (Windows XP) FreeBSD 5-C w/ NATD Internet VPN server
192.168.0.200 192.168.0.1 69.193.41.53 66.11.183.182
Here is rc.conf
---
gateway_enable="YES"
natd_enable="YES"
natd_interface="xl0"
natd_flags="-f /etc/natd.conf"
Here is natd.conf:
---
interface xl0
dynamic yes
use_sockets yes
same_ports yes
redirect_port tcp win2000:3389 3389
#redirect_proto gre win2000
And here is a log from natd -v when trying to estabish a VPN connection
(it looks like GRE is not being aliased correctly, windows pc just sits at
'Verifying username...'):
---
natd[32158]: Aliasing to 69.193.41.53, mtu 1500 bytes
Out {default} 0000ffff[TCP] [TCP] 192.168.0.200:1108 ->
66.11.183.182:1723 aliased to
[TCP] 69.193.41.53:1108 -> 66.11.183.182:1723
In {default} 0000ffff[TCP] [TCP] 66.11.183.182:1723 -> 69.193.41.53:1108
aliased to
[TCP] 66.11.183.182:1723 -> 192.168.0.200:1108
Out {default} 0000ffff[TCP] [TCP] 192.168.0.200:1108 ->
66.11.183.182:1723 aliased to
[TCP] 69.193.41.53:1108 -> 66.11.183.182:1723
In {default} 0000ffff[TCP] [TCP] 66.11.183.182:1723 -> 69.193.41.53:1108
aliased to
[TCP] 66.11.183.182:1723 -> 192.168.0.200:1108
Out {default} 0000ffff[TCP] [TCP] 192.168.0.200:1108 ->
66.11.183.182:1723 aliased to
[TCP] 69.193.41.53:1108 -> 66.11.183.182:1723
In {default} 0000ffff[TCP] [TCP] 66.11.183.182:1723 -> 69.193.41.53:1108
aliased to
[TCP] 66.11.183.182:1723 -> 192.168.0.200:1108
In {default} 0000ffff[47] [47] 66.11.183.182 -> 69.193.41.53 aliased to
[47] 66.11.183.182 -> 69.193.41.53
Out {default} 0000ffff[TCP] [TCP] 192.168.0.200:1108 ->
66.11.183.182:1723 aliased to
[TCP] 69.193.41.53:1108 -> 66.11.183.182:1723
Out {default} 0000ffff[47] [47] 192.168.0.200 -> 66.11.183.182 aliased to
[47] 192.168.0.200 -> 66.11.183.182
In {default} 0000ffff[TCP] [TCP] 66.11.183.182:1723 -> 69.193.41.53:1108
aliased to
[TCP] 66.11.183.182:1723 -> 192.168.0.200:1108
Out {default} 0000ffff[47] [47] 192.168.0.200 -> 66.11.183.182 aliased to
[47] 192.168.0.200 -> 66.11.183.182
In {default} 0000ffff[47] [47] 66.11.183.182 -> 69.193.41.53 aliased to
[47] 66.11.183.182 -> 69.193.41.53
In {default} 0000ffff[47] [47] 66.11.183.182 -> 69.193.41.53 aliased to
[47] 66.11.183.182 -> 69.193.41.53
Out {default} 0000ffff[47] [47] 192.168.0.200 -> 66.11.183.182 aliased to
[47] 192.168.0.200 -> 66.11.183.182
In {default} 0000ffff[47] [47] 66.11.183.182 -> 69.193.41.53 aliased to
[47] 66.11.183.182 -> 69.193.41.53
In {default} 0000ffff[47] [47] 66.11.183.182 -> 69.193.41.53 aliased to
[47] 66.11.183.182 -> 69.193.41.53
Out {default} 0000ffff[47] [47] 192.168.0.200 -> 66.11.183.182 aliased to
[47] 192.168.0.200 -> 66.11.183.182
In {default} 0000ffff[47] [47] 66.11.183.182 -> 69.193.41.53 aliased to
[47] 66.11.183.182 -> 69.193.41.53
In {default} 0000ffff[47] [47] 66.11.183.182 -> 69.193.41.53 aliased to
[47] 66.11.183.182 -> 69.193.41.53
Out {default} 0000ffff[47] [47] 192.168.0.200 -> 66.11.183.182 aliased to
[47] 192.168.0.200 -> 66.11.183.182
In {default} 0000ffff[47] [47] 66.11.183.182 -> 69.193.41.53 aliased to
[47] 66.11.183.182 -> 69.193.41.53
In {default} 0000ffff[47] [47] 66.11.183.182 -> 69.193.41.53 aliased to
[47] 66.11.183.182 -> 69.193.41.53
Out {default} 0000ffff[47] [47] 192.168.0.200 -> 66.11.183.182 aliased to
[47] 192.168.0.200 -> 66.11.183.182
In {default} 0000ffff[47] [47] 66.11.183.182 -> 69.193.41.53 aliased to
[47] 66.11.183.182 -> 69.193.41.53
In {default} 0000ffff[TCP] [TCP] 66.11.183.182:1723 -> 69.193.41.53:1108
aliased to
[TCP] 66.11.183.182:1723 -> 192.168.0.200:1108
Out {default} 0000ffff[TCP] [TCP] 192.168.0.200:1108 ->
66.11.183.182:1723 aliased to
[TCP] 69.193.41.53:1108 -> 66.11.183.182:1723
In {default} 0000ffff[TCP] [TCP] 66.11.183.182:1723 -> 69.193.41.53:1108
aliased to
[TCP] 66.11.183.182:1723 -> 192.168.0.200:1108
In {default} 0000ffff[TCP] [TCP] 66.11.183.182:1723 -> 69.193.41.53:1108
aliased to
[TCP] 66.11.183.182:1723 -> 192.168.0.200:1108
Out {default} 0000ffff[TCP] [TCP] 192.168.0.200:1108 ->
66.11.183.182:1723 aliased to
[TCP] 69.193.41.53:1108 -> 66.11.183.182:1723
In {default} 0000ffff[TCP] [TCP] 66.11.183.182:1723 -> 69.193.41.53:1108
aliased to
[TCP] 66.11.183.182:1723 -> 192.168.0.200:1108
Thank You.
------------------------------
Message: 16
Date: Wed, 21 Jul 2004 10:08:50 +0930
From: Greg 'groggy' Lehey <grog@FreeBSD.org>
Subject: Re: Excellent job on the firewire support!
To: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
Cc: simokawa@freebsd.org
Message-ID: <20040721003850.GD78419@wantadilla.lemis.com>
Content-Type: text/plain; charset="us-ascii"
On Tuesday, 20 July 2004 at 11:41:52 +0900, Hidetoshi Shimokawa wrote:
> (sorry for resending)
>
> At Sun, 18 Jul 2004 21:04:53 +0100,
> Doug Rabson wrote:
>>> 2) Is dcons usable after a panic (ie, DDB or KDB_TRACE)? Or is it
>>> only usable for remote-gdb?
>>
>> Dcons provides two full duplex streams - one for console and one for
>> gdb. You can use DDB on the console just like normal.
>
> It's designed for such panic/debugging situation.
> Actually, it's rather inefficient for usual situation
> but the speed of FireWire hide the problem ;-)
I think that the most spectacular use of firewire is debugging a
completely hung system. If you've already attached, the debugger can
still access the memory of a system which isn't reacting *at all*.
Obviously you can't continue execution, but just seeing what's in
memory is a great advantage.
On the other hand, it was my understanding that marcel's new kernel
debugging framework broke firewire debugging. What's the current
status there?
Greg
--
Note: I discard all HTML mail unseen.
Finger grog@FreeBSD.org for PGP public key.
See complete headers for address and phone numbers.
-------------- 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/20040721/
4ddbfe5b/attachment-0001.bin
------------------------------
Message: 17
Date: Wed, 21 Jul 2004 09:58:37 +0900
From: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
Subject: Re: Excellent job on the firewire support!
To: "Greg 'groggy' Lehey" <grog@FreeBSD.org>
Cc: simokawa@freebsd.org
Message-ID: <877jsyp45e.wl@tora.nunu.org>
Content-Type: text/plain; charset=US-ASCII
At Wed, 21 Jul 2004 10:08:50 +0930,
Greg 'groggy' Lehey wrote:
> On the other hand, it was my understanding that marcel's new kernel
> debugging framework broke firewire debugging. What's the current
> status there?
I've already adjust the interface for remote gdb.
See rev 1.14 of /sys/dev/dcons.c.
For the debugging with /dev/fwmem(or /dev/mem), it seems that
you need to use gdb in ports or "remote gdb wrapper" which marcel
posted freebsd-arch@. I don't know whether the default gdb will
support /dev/(k)mem debugging or not.
/\ Hidetoshi Shimokawa
\/ simokawa@sat.t.u-tokyo.ac.jp
PGP public key: http://www.sat.t.u-tokyo.ac.jp/~simokawa/pgp.html
------------------------------
Message: 18
Date: Tue, 20 Jul 2004 18:03:59 -0700
From: Julian Elischer <julian@elischer.org>
Subject: Re: Excellent job on the firewire support!
To: "Greg 'groggy' Lehey" <grog@freebsd.org>
Cc: simokawa@freebsd.org
Message-ID: <40FDC0FF.30901@elischer.org>
Content-Type: text/plain; charset=us-ascii; format=flowed
Greg 'groggy' Lehey wrote:
>On Tuesday, 20 July 2004 at 11:41:52 +0900, Hidetoshi Shimokawa wrote:
>
>
>>(sorry for resending)
>>
>>At Sun, 18 Jul 2004 21:04:53 +0100,
>>Doug Rabson wrote:
>>
>>
>>>>2) Is dcons usable after a panic (ie, DDB or KDB_TRACE)? Or is it
>>>> only usable for remote-gdb?
>>>>
>>>>
>>>Dcons provides two full duplex streams - one for console and one for
>>>gdb. You can use DDB on the console just like normal.
>>>
>>>
>>It's designed for such panic/debugging situation.
>>Actually, it's rather inefficient for usual situation
>>but the speed of FireWire hide the problem ;-)
>>
>>
>
>I think that the most spectacular use of firewire is debugging a
>completely hung system. If you've already attached, the debugger can
>still access the memory of a system which isn't reacting *at all*.
>Obviously you can't continue execution, but just seeing what's in
>memory is a great advantage.
>
>On the other hand, it was my understanding that marcel's new kernel
>debugging framework broke firewire debugging. What's the current
>status there?
>
He helped "Mr Firewire" get it going again the next day...
>
>Greg
>--
>Note: I discard all HTML mail unseen.
>Finger grog@FreeBSD.org for PGP public key.
>See complete headers for address and phone numbers.
>
>
------------------------------
Message: 19
Date: Tue, 20 Jul 2004 21:06:17 -0400 (EDT)
From: Andrew Gallatin <gallatin@cs.duke.edu>
Subject: Re: Ok, who broke interface autoconfiguration?
To: Martin Blapp <mb@imp.ch>
Cc: Mike Silbersack <silby@silby.com>
Message-ID: <16637.49545.42904.484648@grasshopper.cs.duke.edu>
Content-Type: text/plain; charset=us-ascii
Martin Blapp writes:
>
> Hi all,
>
> >From my side, nothing has changed. The last commit to dhclient
> happened about 2 1/2 month ago.
>
> I can cvsup to the lastest current tomorrow and try
> dhcp out on my wi0 card.
This is still happening to me.. I filed a PR so that it does not get
lost. http://www.freebsd.org/cgi/query-pr.cgi?pr=69361
I think the key might be the dhcp server message: " unknown lease 0.0.0.0."
Thanks,
Drew
------------------------------
Message: 20
Date: Tue, 20 Jul 2004 21:35:58 -0400
From: Chuck Swiger <cswiger@mac.com>
Subject: Re: Ok, who broke interface autoconfiguration?
To: Andrew Gallatin <gallatin@cs.duke.edu>
Cc: current@freebsd.org
Message-ID: <40FDC87E.7070602@mac.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Andrew Gallatin wrote:
[ ... ]
> I think the key might be the dhcp server message: " unknown lease 0.0.0.0.
"
If memory serves, the ISC DHCP software can become petulant and confused by
its own leases file if/when internal structures change in size. Perhaps try
"rm /var/db/dhc*.leases" and see whether that fixes things.
--
-Chuck
------------------------------
Message: 21
Date: Tue, 20 Jul 2004 18:39:22 -0700
From: Marcel Moolenaar <marcel@xcllnt.net>
Subject: Re: Excellent job on the firewire support!
To: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>
Cc: Greg 'groggy' Lehey <grog@FreeBSD.org>
Message-ID: <20040721013922.GA39137@dhcp50.pn.xcllnt.net>
Content-Type: text/plain; charset=us-ascii
On Wed, Jul 21, 2004 at 09:58:37AM +0900, Hidetoshi Shimokawa wrote:
> At Wed, 21 Jul 2004 10:08:50 +0930,
> Greg 'groggy' Lehey wrote:
> > On the other hand, it was my understanding that marcel's new kernel
> > debugging framework broke firewire debugging. What's the current
> > status there?
>
> I've already adjust the interface for remote gdb.
> See rev 1.14 of /sys/dev/dcons.c.
>
> For the debugging with /dev/fwmem(or /dev/mem), it seems that
> you need to use gdb in ports or "remote gdb wrapper" which marcel
> posted freebsd-arch@. I don't know whether the default gdb will
> support /dev/(k)mem debugging or not.
Yes, it will.
--
Marcel Moolenaar USPA: A-39004 marcel@xcllnt.net
------------------------------
Message: 22
Date: Tue, 20 Jul 2004 21:40:21 -0400 (EDT)
From: Andrew Gallatin <gallatin@cs.duke.edu>
Subject: Re: Ok, who broke interface autoconfiguration?
To: Chuck Swiger <cswiger@mac.com>
Cc: current@freebsd.org
Message-ID: <16637.51589.728466.696044@grasshopper.cs.duke.edu>
Content-Type: text/plain; charset=us-ascii
Chuck Swiger writes:
> Andrew Gallatin wrote:
> [ ... ]
> > I think the key might be the dhcp server message: " unknown lease 0.0.0
.0."
>
> If memory serves, the ISC DHCP software can become petulant and confused by
> its own leases file if/when internal structures change in size. Perhaps tr
y
> "rm /var/db/dhc*.leases" and see whether that fixes things.
>
Yes, it does. But I haven't build world on the amd64 in weeks, so
nothing has changed size there.
Drew
------------------------------
Message: 23
Date: Tue, 20 Jul 2004 21:01:21 -0500 (CDT)
From: "Conrad J. Sabatier" <conrads@cox.net>
Subject: Re: [amd64] System lockups still continuing
To: freebsd-current@freebsd.org
Message-ID: <XFMail.20040720210121.conrads@cox.net>
Content-Type: text/plain; charset=us-ascii
On 20-Jul-2004 Conrad J. Sabatier wrote:
>
> [ re: lockup problem ]
>
> Yes, I updated the kernel as soon as I saw the commit. Had one
> lockup since, while playing a DVD in mplayer. This may or may not be
> related, as I'm seeing the weirdness re: ata interrupt timeouts here
> still.
>
> On the plus side, I've had no other lockups, and sound hasn't gone
> buggo, either (pcm timeout, channel dead), like it was before (at
> least, not yet).
Oh well, sound just croaked again. :-( Looks like the pcm timeout
really is probably a completely separate issue.
Time for another reboot. :-)
--
Conrad J. Sabatier <conrads@cox.net> -- "In Unix veritas"
------------------------------
Message: 24
Date: Wed, 21 Jul 2004 14:12:54 +0930
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
Subject: Re: Ok, who broke interface autoconfiguration?
To: freebsd-current@freebsd.org
Cc: Chuck Swiger <cswiger@mac.com>
Message-ID: <200407211412.54225.doconnor@gsoft.com.au>
Content-Type: Text/Plain; charset="iso-8859-1"
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 21 Jul 2004 11:05, Chuck Swiger wrote:
> Andrew Gallatin wrote:
> [ ... ]
>
> > I think the key might be the dhcp server message: " unknown lease
> > 0.0.0.0."
>
> If memory serves, the ISC DHCP software can become petulant and confused by
> its own leases file if/when internal structures change in size. Perhaps
> try "rm /var/db/dhc*.leases" and see whether that fixes things.
I see it get confused when nothing gets changed.
It sits there for $longtime (might be forever, not sure). The only fix I have
found is to kill it, delete dhclient.leases and re-run it..
(This is on IA32)
- --
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFA/fRO5ZPcIHs/zowRAlWhAKCZ1rN9aY5Gs4b3D+19ETjIgW/i/QCeMvRp
kC9+ABfRn9B+drWsnNOjcOY=
=V5WA
-----END PGP SIGNATURE-----
------------------------------
Message: 25
Date: Wed, 21 Jul 2004 14:12:54 +0930
From: "Daniel O'Connor" <doconnor@gsoft.com.au>
Subject: Re: Ok, who broke interface autoconfiguration?
To: freebsd-current@freebsd.org
Cc: Chuck Swiger <cswiger@mac.com>
Message-ID: <200407211412.54225.doconnor@gsoft.com.au>
Content-Type: Text/Plain; charset="iso-8859-1"
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Wed, 21 Jul 2004 11:05, Chuck Swiger wrote:
> Andrew Gallatin wrote:
> [ ... ]
>
> > I think the key might be the dhcp server message: " unknown lease
> > 0.0.0.0."
>
> If memory serves, the ISC DHCP software can become petulant and confused by
> its own leases file if/when internal structures change in size. Perhaps
> try "rm /var/db/dhc*.leases" and see whether that fixes things.
I see it get confused when nothing gets changed.
It sits there for $longtime (might be forever, not sure). The only fix I have
found is to kill it, delete dhclient.leases and re-run it..
(This is on IA32)
- --
Daniel O'Connor software and network engineer
for Genesis Software - http://www.gsoft.com.au
"The nice thing about standards is that there
are so many of them to choose from."
-- Andrew Tanenbaum
GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)
iD8DBQFA/fRO5ZPcIHs/zowRAlWhAKCZ1rN9aY5Gs4b3D+19ETjIgW/i/QCeMvRp
kC9+ABfRn9B+drWsnNOjcOY=
=V5WA
-----END PGP SIGNATURE-----
------------------------------
Message: 26
Date: Tue, 20 Jul 2004 23:48:17 -0500
From: Dan Nelson <dnelson@allantgroup.com>
Subject: Re: I/O or Threading Suffer
To: jesk <jesk@killall.org>
Cc: freebsd-current@freebsd.org
Message-ID: <20040721044816.GA56020@dan.emsphone.com>
Content-Type: text/plain; charset=us-ascii
In the last episode (Jul 21), jesk said:
> i figured out that the performanceloss only really occur if the
> process is heavily writing on the filesystem. dd if=/dev/zero
> of=/dev/null bs=128k doesnt hurt much in responsetime of parallel
> processes, but when dd operates on the filesystem with of=foo every
> process will be affect in executiontime. a simple ps or ls meanwhile
> dding onto the disk will be hang for dozen of seconds.
Ah. now that's a different story. You're out of the control of the
process scheduler and into the disk. I don't suppose you're using an
IDE/ATA disk with no tagged queueing? :) Run "dmesg | grep depth.queue"
to see how many requests can be queued up on your disk at once.
That dd is stuffing lots of dirty data into the disk cache, and all the
other processes have to wait in line to get their I/Os done. You'll
see much better results from a SCSI disk (with usual queue depths
between 32 and 64), and even better results from a multi-disk hardware
RAID array (which will have a large write cache).
--
Dan Nelson
dnelson@allantgroup.com
------------------------------
Message: 27
Date: Wed, 21 Jul 2004 13:54:40 +0900
From: Jun Kuriyama <kuriyama@imgsrc.co.jp>
Subject: Fatal double fault
To: Current <freebsd-current@FreeBSD.org>
Message-ID: <7m4qo29cz3.wl@black3.imgsrc.co.jp>
Content-Type: text/plain; charset=US-ASCII
# I've reinstalled on fresh HDD.
On recent (yesterday's) kernel+world with GENERIC kernel.
Fatal double fault:
eip = 0xc063c457
esp = 0xde421fec
ebp = 0xde4221c0
cpuid = 1; apic id = 01
panic: double fault
cpuid = 1;
KDB: enter: panic
[thread 100040]
Stopped at kdb_enter+0x2b: nop
db> trace
kdb_enter(c07d25ef) at kdb_enter+0x2b
panic(c07f151f,c07f16c0,1,0,0) at panic+0x131
dblfault_handler(c086dfec,1,60,c34d5000,c088f7c8) at dblfault_handler+0x7a
--
Jun Kuriyama <kuriyama@imgsrc.co.jp> // IMG SRC, Inc.
<kuriyama@FreeBSD.org> // FreeBSD Project
------------------------------
Message: 28
Date: Tue, 20 Jul 2004 23:32:19 -0700
From: Jake Hamby <jhamby@anobject.com>
Subject: Using -current on a Fujitsu Lifebook N5010 (no Atheros
802.11, no Ethernet, + hard freezes)
To: freebsd-current@freebsd.org, freebsd-mobile@freebsd.org
Message-ID: <40FE0DF3.4030008@anobject.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
I recently purchased a new notebook (a Fujitsu Lifebook N5010, a model
which I can highly recommend as a desktop replacement) and decided to
try installing FreeBSD-CURRENT on it instead of Gentoo Linux, which is
the UNIX that I would normally install. Here are some of the issues I
faced in terms of missing kernel support for this laptop.
1) Ethernet chipset not recognized.
This laptop uses the SiS 648 chipset and includes a 10/100 Ethernet port
with a Realtek 8139-compatible interface. More specifically, it is
vendor id 0x10EC (Realtek), device id 0x8139 on PCI device 00:07.0,
recognized as type 'RTL-8100B/8139D' by the Linux 8139too driver.
What is even stranger is that this card shows up in a DOS-based hardware
scan (using AIDA from the Ultimate Boot CD), but not in the output of
pciconf. Nor does it show up in the dmesg output, even as an unknown
device.
2) Version of Atheron 802.11a/b/g driver is too old.
With the version of the ath driver in CURRENT, I get this output:
ath0: [GIANT-LOCKED]
ath0: mac 5.6 phy 4.1 5ghz radio 3.6
ath0: unable to collect channel list from hal
device_attach: ath0 attach returned 22
ath0: <Atheros 5212> mem 0xec010000-0xec01ffff irq 11 at device 10.0 on pci0
The problem is inside of the portion of the code which is delivered only
in binary form. Fortunately for you all, I spent the last five or six
days hacking on it and was able to integrate the latest version of the
Linux Atheros hal code from http://madwifi.sourceforge.net/, as well as
the necessary changes to the driver code provided as source. You can
download my merged version from here:
http://www.anobject.com/jehamby/atheros_driver.tar.bz2
If anyone else has a WiFi adapter with an Atheros AR5210, AR5211, or
AR5212 chip, please download it and check it out (the replacement files
will go in the right places if extracted into /usr/src). In addition to
offering support for the newer cards, the updated version of the driver
has these changes compared to the version in -current.
* New tunables:
hw.ath.xchanmode (enable extended channels, default enabled)
hw.ath.rateinterval (rate ctl interval in ms, default 1 second)
hw.ath.ctlpkt_type (control pkt type to filter, which only has an
effect in terms of handling control packets which would otherwise be
rejected as too short, and which I've never seen but added the code from
the Linux version anyway)
* Added automatic rate control adjustment. For 802.11b, starts at the
highest negotiated rate, otherwise, for 11g and 11a, starts "in the
middle" at 24Mb or 36Mb, then steps up or down over time using the
error/retry count for feedback.
* Now uses four transmission queues of varying priority instead of one:
WME_AC_BE (highest), WME_AC_BK, WME_AC_VI, and WME_AC_VO (lowest).
There is code in the Linux version to support QOS and insert outgoing
packets into queue by priority, but I couldn't find the equivalent of
the priority field from Linux's sk_buff struct in FreeBSD's equivalent
ieee80211_frame struct. Currently all outgoing packets go to WME_AC_BE,
except packets of type IEEE80211_FC0_TYPE_MGT, which go to WME_AC_VO.
* Enabled multi-rate retry if the MAC supports it.
* Added a mutex lock around several ath_*() functions that did not have
one before. The Linux version only uses locks around the xmit buffer
and the xmit queues, while the current FreeBSD version also uses a
global mutex around several functions. I am getting random hard freezes
(see bug #3) and I don't know if there are any additional locking issues
that might be causing this. This driver is relatively complex,
consisting of several callouts that run at various intervals (normally,
calibration every 30 seconds and rate control every second) as well as
interrupt handling and other entry points, so I couldn't find any other
driver to use as an example.
* changed the format of the structures returned by the SIOCGATHSTATS and
SIOCGATHDIAG ioctls. You will have to recompile "athstats" from
/usr/src/tools/tools/ath if you use that utility for debugging.
3) Random freezes
After an average of 30-40 minutes of heavy usage, I get random system
freezes. I am typically running XFree86 and downloading something or
reading web pages at the time it happens. More disturbingly, I am
occasionally seeing files get renamed, for example
/usr/src/UPDATING.64BIT became /usr/src/UPDATING.64BTT. This happens
with or without WITNESS, with INVARIANTS enabled, with or without ACPI,
and with or without SMP. I am using SCHED_ULE and no PREEMPTION.
I had been hoping that I could dump the memory to a partition and get
some debugging information from the core using gdb, but it doesn't work.
I have a dumpdev setting in my /etc/rc.conf but when the system
hangs, it hangs. I recently read about FireWire remote debugging, which
sounds pretty cool. I have a desktop PC with FireWire currently running
Gentoo Linux. Can someone point me to information about how to do this?
I assume that I would need to set up a FreeBSD installation on that
machine first? How likely is it that this will provide any useful
information for a random system hard lockup?
4) ACPI is not working correctly.
ACPI support is incomplete. I can suspend the system with "zzz", but
then there is no way to wake it back up. The power button turns the
machine on but then it hangs in a CPU loop (I can tell b/c the cooling
fan goes on) with a blank screen. Sometimes the output of "apm" gives
correct results (good enough for the GNOME battery status applet,
although suspending through APM gives a hard freeze), while other times
I get this output (giving an empty battery icon for GNOME):
APM version: 1.2
APM Management: Disabled
AC Line status: on-line
Battery Status: charging
Remaining battery life: invalid value (0xffffffff)
Remaining battery time: unknown
Number of batteries: 1
Battery 0:
not present
5) DRI is not working.
This laptop has a Radeon Mobility 9600 (M10) NP chip (ChipID = 0x4e50),
which runs XFree86 using the vesa driver, or with the radeon driver in
the XFree86 4.3.99.15 snapshot, which gives me this error:
(WW) RADEON(0): Direct rendering not yet supported on Radeon 9500/9700
and newer cards
I get no error when loading the radeon kernel module, but no output
either, and no drm0 message in dmesg. Is there any possibility that the
9600 will be supported by a future version of XFree86? I have already
written ATI suggesting they release a FreeBSD version of their
proprietary Linux driver, but they probably won't.
Attached output:
---------------
Here is the output from /usr/sbin/pciconf -lv:
agp0@pci0:0:0: class=0x060000 card=0x122710cf chip=0x06481039 rev=0x51
hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)'
device = 'SiS648 Host-to-PCI Bridge'
class = bridge
subclass = HOST-PCI
pcib1@pci0:1:0: class=0x060400 card=0x00000000 chip=0x00031039 rev=0x00
hdr=0x01 vendor = 'Silicon Integrated Systems (SiS)'
device = 'SiS648FX Virtual PCI to PCI Bridge (AGP)'
class = bridge
subclass = PCI-PCI
isab0@pci0:2:0: class=0x060100 card=0x00000000 chip=0x00081039 rev=0x25
hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)'
device = 'SiS PCI to ISA Bridge (LPC Bridge)'
class = bridge
subclass = PCI-ISA
atapci0@pci0:2:5: class=0x01018a card=0x122b10cf chip=0x55131039
rev=0x00 hdr=0x00
vendor = 'Silicon Integrated Systems (SiS)'
device = 'SiS5513 EIDE Controller (A,B step)'
class = mass storage
subclass = ATA
none0@pci0:2:6: class=0x070300 card=0x122910cf chip=0x70131039 rev=0xa0
hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)'
device = 'SiS7013 HSP56 MR, PCtel Serial Wave Device (Modem Riser)'
class = simple comms
pcm0@pci0:2:7: class=0x040100 card=0x122a10cf chip=0x70121039 rev=0xa0
hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)'
device = 'SiS7012 PCI Audio Accelerator'
class = multimedia
subclass = audio
ohci0@pci0:3:0: class=0x0c0310 card=0x122b10cf chip=0x70011039 rev=0x0f
hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)'
device = 'SiS5597/8 Universal Serial Bus Controller'
class = serial bus
subclass = USB
ohci1@pci0:3:1: class=0x0c0310 card=0x122b10cf chip=0x70011039 rev=0x0f
hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)'
device = 'SiS5597/8 Universal Serial Bus Controller'
class = serial bus
subclass = USB
none1@pci0:3:2: class=0x0c0320 card=0x122b10cf chip=0x70021039 rev=0x00
hdr=0x00 vendor = 'Silicon Integrated Systems (SiS)'
device = 'SiS7002 USB 2.0 Enhanced Host Controller'
class = serial bus
subclass = USB
cbb0@pci0:9:0: class=0x060700 card=0x122c10cf chip=0xac8e104c rev=0x00
hdr=0x02 vendor = 'Texas Instruments (TI)'
class = bridge
subclass = PCI-CardBus
cbb1@pci0:9:1: class=0x060700 card=0x122c10cf chip=0xac8e104c rev=0x00
hdr=0x02 vendor = 'Texas Instruments (TI)'
class = bridge
subclass = PCI-CardBus
fwohci0@pci0:9:2: class=0x0c0010 card=0x122d10cf chip=0x802e104c
rev=0x00 hdr=0x00
vendor = 'Texas Instruments (TI)'
class = serial bus
subclass = FireWire
none2@pci0:9:3: class=0x018000 card=0x122e10cf chip=0xac8f104c rev=0x00
hdr=0x00 vendor = 'Texas Instruments (TI)'
class = mass storage
ath0@pci0:10:0: class=0x020000 card=0x123410cf chip=0x0013168c rev=0x01
hdr=0x00 vendor = 'Atheros Communications Inc.'
device = 'AR5213 802.11a/b/g Wireless Adapter'
class = network
subclass = ethernet
none3@pci1:0:0: class=0x030000 card=0x122810cf chip=0x4e501002 rev=0x00
hdr=0x00 vendor = 'ATI Technologies Inc.'
device = 'Radeon Mobility M10 NP (RV350)'
class = display
subclass = VGA
And here is the boot output from dmesg:
Copyright (c) 1992-2004 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.2-CURRENT #2: Tue Jul 20 22:51:21 PDT 2004
root@atheros:/usr/obj/ATHEROS
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 3.00GHz (3000.12-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,C
MOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Hyperthreading: 2 logical CPUs
real memory = 534708224 (509 MB)
avail memory = 517746688 (493 MB)
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <PTLTD RSDT> on motherboard
acpi0: [GIANT-LOCKED]
acpi0: Power Button (fixed)
unknown: I/O range not supported
unknown: I/O range not supported
acpi_ec0: <Embedded Controller: GPE 0x1e> port 0x66,0x62 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x8008-0x800b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_tz1: <Thermal Zone> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_acad0: <AC Adapter> on acpi0
acpi_cmbat0: <Control Method Battery> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <SiS 648 host to AGP bridge> mem 0xe8000000-0xebffffff at device
0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pcib1: could not get PCI interrupt routing table for \\_SB_.PCI0.AGP_ -
AE_NOT_FOUND
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 2.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <SiS 962/963 UDMA133 controller> port
0x1000-0x100f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 2.5 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <simple comms> at device 2.6 (no driver attached)
pcm0: <SiS 7012> port 0x1800-0x187f,0x1c00-0x1cff irq 11 at device 2.7
on pci0
pcm0: [GIANT-LOCKED]
pcm0: <Unknown AC97 Codec (id = 0x83847666)>
ohci0: <SiS 5571 USB controller> mem 0xec000000-0xec000fff irq 11 at
device 3.0
on pci0
ohci0: [GIANT-LOCKED]
usb0: OHCI version 1.0, legacy support
usb0: SMM does not respond, resetting
usb0: <SiS 5571 USB controller> on ohci0
usb0: USB revision 1.0
uhub0: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 3 ports with 3 removable, self powered
ohci1: <SiS 5571 USB controller> mem 0xec001000-0xec001fff irq 11 at
device 3.1
on pci0
ohci1: [GIANT-LOCKED]
usb1: OHCI version 1.0, legacy support
usb1: SMM does not respond, resetting
usb1: <SiS 5571 USB controller> on ohci1
usb1: USB revision 1.0
uhub1: SiS OHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 3 ports with 3 removable, self powered
pci0: <serial bus, USB> at device 3.2 (no driver attached)
cbb0: <PCI-CardBus Bridge> irq 11 at device 9.0 on pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <PCI-CardBus Bridge> irq 11 at device 9.1 on pci0
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
fwohci0: <1394 Open Host Controller Interface> mem
0xec004000-0xec007fff,0xec003800-0xec003fff irq 11 at device 9.2 on pci0
fwohci0: [GIANT-LOCKED]
fwohci0: OHCI version 1.10 (ROM=0)
fwohci0: No. of Isochronous channels is 4.
fwohci0: EUI64 00:00:0e:10:00:08:cb:47
fwohci0: Phy 1394a available S400, 2 ports.
fwohci0: Link S400, max_rec 2048 bytes.
firewire0: <IEEE1394(FireWire) bus> on fwohci0
fwohci0: Initiate bus reset
fwohci0: node_id=0xc800ffc0, gen=1, CYCLEMASTER mode
firewire0: 1 nodes, maxhop <= 0, Not found IRM capable node
pci0: <mass storage> at device 9.3 (no driver attached)
pci0: <network, ethernet> at device 10.0 (no driver attached)
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model GlidePoint, device ID 0
fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xdc000-0xdffff on isa0
sc0: <System console> on isa0
sc0: VGA <16 virtual consoles, flags=0x200>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
Timecounter "TSC" frequency 3000117916 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 57231MB <FUJITSU MHT2060AT> [116280/16/63] at ata0-master UDMA100
ata1-master: FAILURE - ATAPI_RESET no interrupt
acd0: DVDR <TOSHIBA DVD-ROM SDR6112F> at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s3a
--
Jake Hamby
------------------------------
Message: 29
Date: Wed, 21 Jul 2004 08:43:11 +0200
From: Frode Nordahl <frode@nordahl.net>
Subject: Re: 5.3-RELEASE TODO
To: Robert Watson <rwatson@freebsd.org>
Cc: Bj?rn Gr?nvall<bg@sics.se>
Message-ID: <3C1E0353-DAE1-11D8-B5B9-000A95A9A574@nordahl.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
On Jul 21, 2004, at 02:18, Robert Watson wrote:
>
> On Wed, 21 Jul 2004, Frode Nordahl wrote:
>
>> On Jul 16, 2004, at 11:17, Bj�rn Gr�nvall wrote:
>>
>>> PR bin/61718 fixes a bunch of bugs in rpc.lockd, please try it.
>>
>> Yes, rpc.lockd is useless without this patch.
>>
>> Can someone please commit it?
>
> It looks like much if not all of it was committed on 20040716; commit
> message below. Are any specific things that appear to be missing that
> weren't merged?
It seems like I jumped the gun here and missed the fact that it was
committed not long ago.
Sorry about the noise :-/
Mvh,
Frode Nordahl
> Robert N M Watson FreeBSD Core Team, TrustedBSD Projects
> robert@fledge.watson.org Principal Research Scientist, McAfee
> Research
------------------------------
Message: 30
Date: Wed, 21 Jul 2004 08:48:35 +0200
From: Tomas Randa <lists@hosting50.cz>
Subject: Re: sk0 patch
To: current@freebsd.org
Message-ID: <1090392514.2407.18.camel@ares.af.czu.cz>
Content-Type: text/plain
Problem is the same, if there is a high load on interface, net card stop
working... :(
On Tue, 2004-07-20 at 14:21, Bjoern A. Zeeb wrote:
> On Tue, 20 Jul 2004, Tomas Randa wrote:
>
> Hi,
>
> > Thanks, but patch not working for my
> >
> > skc0@pci2:9:0: class=0x020000 card=0xe0001458 chip=0x432011ab rev=0x13
> > hdr=0x00
> > vendor = 'Marvell Semiconductor (Was: Galileo Technology Ltd)'
> > device = '88E8001 Gigabit 32-bit Ethernet Controller with
> > Integrated PHY'
>
> so what is your problem then ?
--
Tomas Randa <lists@hosting50.cz>
------------------------------
Message: 31
Date: Wed, 21 Jul 2004 07:58:53 +0100
From: Ben Paley <ben@spooty.net>
Subject: Re: vmnet.ko missing - but it's there! - vmware and crashes
To: Scott Long <scottl@freebsd.org>
Cc: "freebsd -current@" <freebsd-current@freebsd.org>
Message-ID: <200407210758.53856.ben@spooty.net>
Content-Type: text/plain; charset="iso-8859-1"
On Tuesday 20 July 2004 23:59, Scott Long wrote:
> Recompile the vmnet.ko binary from source and see if that helps.
I remade the whole thing, in the end, and now at least I'm not getting crashes
(at least, I think I remade the module... I did make and make install and so
on in /usr/ports/emulators/vmware3/ , but I couldn't see how to compile
vmnet.ko on its own).
On boot I still get this:
Additional ABI support: linux.
Starting cron.
Local package initialization:link_elf: symbol linux_ioctl_register_handler
undefined
kldload: can't load /usr/local/lib/vmware/modules/vmnet.ko: No such file or
directory
Jul 21 07:41:04 potato kernel: vmmon: Module vmmon: registered with major=200
minor=0 tag=$Name: build-570 (3.2.x mvm) $
vmnet1: Ethernet address: 00:bd:51:0a:00:01
Jul 21 07:41:04 potato kernel: vmmon: Module vmmon: initialized
VMwareStarting apache2.
mysqld rtc.
I guess the link_elf line doesn't look good, is it connected?Vmware starts ok,
then when I try to boot the vm I get this:
Could not query bridging status on /dev/vmnet1: Invalid argument
Failed to configure ethernet0.
in a dialog, and this from the console:
linux: pid 718 (vmware): ioctl fd=10, cmd=0x8940 ('\x89',64) is not
implemented
linux: pid 718 (vmware): ioctl fd=10, cmd=0x89f9 ('\x89',249) is not
implemented
Jul 21 07:43:59 potato kernel: vmmon: Vmx86_ReleaseVM: unlocked pages: 0,
unlock
ed dirty pages: 0
Thanks a lot for your help,
Ben
------------------------------
Message: 32
Date: Wed, 21 Jul 2004 00:04:22 -0700
From: Julian Elischer <julian@elischer.org>
Subject: Re: Using -current on a Fujitsu Lifebook N5010 (no Atheros
802.11, no Ethernet, + hard freezes)
To: Jake Hamby <jhamby@anobject.com>
Cc: freebsd-current@freebsd.org
Message-ID: <40FE1576.10206@elischer.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Jake Hamby wrote:
> I recently purchased a new notebook (a Fujitsu Lifebook N5010, a
> model which I can highly recommend as a desktop replacement) and
> decided to try installing FreeBSD-CURRENT on it instead of Gentoo
> Linux, which is the UNIX that I would normally install. Here are
> some of the issues I faced in terms of missing kernel support for
> this laptop.
>
> 1) Ethernet chipset not recognized.
>
> This laptop uses the SiS 648 chipset and includes a 10/100 Ethernet
> port with a Realtek 8139-compatible interface. More specifically, it
> is vendor id 0x10EC (Realtek), device id 0x8139 on PCI device
> 00:07.0, recognized as type 'RTL-8100B/8139D' by the Linux 8139too
> driver.
>
> What is even stranger is that this card shows up in a DOS-based
> hardware scan (using AIDA from the Ultimate Boot CD), but not in the
> output of pciconf. Nor does it show up in the dmesg output, even as
> an unknown device.
probably an unsupported bridge between it and the CPU..
I'll let the bus enumeration types handle that..
>
> 2) Version of Atheron 802.11a/b/g driver is too old.
This is something for sam@freebsd.org.
give him a ping.
>
> With the version of the ath driver in CURRENT, I get this output:
>
> ath0: [GIANT-LOCKED] ath0: mac 5.6 phy 4.1 5ghz radio 3.6 ath0:
> unable to collect channel list from hal device_attach: ath0 attach
> returned 22 ath0: <Atheros 5212> mem 0xec010000-0xec01ffff irq 11 at
> device 10.0 on pci0
>
> The problem is inside of the portion of the code which is delivered
> only in binary form. Fortunately for you all, I spent the last five
> or six days hacking on it and was able to integrate the latest
> version of the Linux Atheros hal code from
> http://madwifi.sourceforge.net/, as well as the necessary changes to
> the driver code provided as source. You can download my merged
> version from here:
>
> http://www.anobject.com/jehamby/atheros_driver.tar.bz2
>
[...]
>
> * Now uses four transmission queues of varying priority instead of
> one: WME_AC_BE (highest), WME_AC_BK, WME_AC_VI, and WME_AC_VO
> (lowest). There is code in the Linux version to support QOS and
> insert outgoing packets into queue by priority, but I couldn't find
> the equivalent of the priority field from Linux's sk_buff struct in
> FreeBSD's equivalent ieee80211_frame struct. Currently all outgoing
> packets go to WME_AC_BE, except packets of type
> IEEE80211_FC0_TYPE_MGT, which go to WME_AC_VO.
FreeBSD would store that information in what is called an mbuf tag.
A separate small chunk of ram tagged onto teh first mbuf of the packet.
This is relatively new and there is only just starting to be some
use of it.. Official QOS support in the kernel does not exist yet.
(though there are some sporadic users of priority tags here and there
it is not general yet.)
>
[...]
>
> 3) Random freezes
>
> After an average of 30-40 minutes of heavy usage, I get random system
> freezes. I am typically running XFree86 and downloading something
> or reading web pages at the time it happens. More disturbingly, I am
> occasionally seeing files get renamed, for example
> /usr/src/UPDATING.64BIT became /usr/src/UPDATING.64BTT. This happens
> with or without WITNESS, with INVARIANTS enabled, with or without
> ACPI, and with or without SMP. I am using SCHED_ULE and no
> PREEMPTION.
you are not alone.. I think you just chose a bad moment to
jump into -current
:-/
>
> I had been hoping that I could dump the memory to a partition and get
> some debugging information from the core using gdb, but it doesn't
> work. I have a dumpdev setting in my /etc/rc.conf but when the system
> hangs, it hangs. I recently read about FireWire remote debugging,
> which sounds pretty cool. I have a desktop PC with FireWire
> currently running Gentoo Linux. Can someone point me to information
> about how to do this? I assume that I would need to set up a FreeBSD
> installation on that machine first? How likely is it that this will
> provide any useful information for a random system hard lockup?
it's not impossible that it could but it'd behard to knw for sure.
Yes youd need a matching FreeBSD system with sources and the debug
version of the kernel to use as a source of symbols.
>
> 4) ACPI is not working correctly.
>
> ACPI support is incomplete. I can suspend the system with "zzz", but
> then there is no way to wake it back up. The power button turns the
> machine on but then it hangs in a CPU loop (I can tell b/c the
> cooling fan goes on) with a blank screen. Sometimes the output of
> "apm" gives correct results (good enough for the GNOME battery status
> applet, although suspending through APM gives a hard freeze), while
> other times I get this output (giving an empty battery icon for
> GNOME):
>
> APM version: 1.2 APM Management: Disabled AC Line status: on-line
> Battery Status: charging Remaining battery life: invalid value
> (0xffffffff) Remaining battery time: unknown Number of batteries: 1
> Battery 0: not present
>
> 5) DRI is not working.
>
> This laptop has a Radeon Mobility 9600 (M10) NP chip (ChipID =
> 0x4e50), which runs XFree86 using the vesa driver, or with the radeon
> driver in the XFree86 4.3.99.15 snapshot, which gives me this error:
>
> (WW) RADEON(0): Direct rendering not yet supported on Radeon
> 9500/9700 and newer cards
yeah Well that isn't freeBSD specific.. looked at X.org?
>
> I get no error when loading the radeon kernel module, but no output
> either, and no drm0 message in dmesg. Is there any possibility that
> the 9600 will be supported by a future version of XFree86? I have
> already written ATI suggesting they release a FreeBSD version of
> their proprietary Linux driver, but they probably won't.
interstingly, if it is a XFree86 "driver" it may work
as they are supposed to not use any services outside of the XF86 server.
If it is a kernel device driver the, yes the'd need to do a lot of work..
------------------------------
_______________________________________________
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 69, Issue 7
**********************************************
--
[35mEvariste Galois[m:
[33m�����呛��樱������蔷������,����直前......[m
[m[32m�� ��源:������� bbs.ustc.edu.cn [FROM: 210.45.72.234][m