Re: Ipfilter pre-Vendor Import Issue

2013-07-09 Thread John Baldwin
ropriate. This is our _standard_ practice for dealing with this stuff. This is how all the OpenSolaris bits for Dtrace and ZFS are handled (except that they end up in a cddl directory instead of contrib). GENERIC / LINT builds can include things from sys/contrib just fine, so ipfilter won't be

Re: Fixing X220 Video The Right Way (and trying to apply the same fix to X121e)

2013-07-09 Thread John Baldwin
} > Else > { So this is the \_SB_.PCI0.GFX0 device. However, you should kldload acpi_video and see if it already attaches to this device (devinfo -v can be helpful here as it will show the ACPI handle of the parent of the acpi_video de

Re: Ipfilter pre-Vendor Import Issue

2013-07-09 Thread John Baldwin
All your checkouts and merges should be done using svn.FreeBSD.org, not a local mirror. That might explain your merge problem. Also, if you are just updating the existing vendor branch and not updating it to a newer version I'm not sure you really need the @NN part for the bootstrap

Re: using ConnectX card as Ethernet (mlxen)

2013-07-09 Thread John Baldwin
On Monday, September 24, 2012 12:37:30 pm John Nielsen wrote: > I have a machine running "FreeBSD 10.0-CURRENT #0 r240887" amd64 with two ConnectX (InfiniBand) cards. Relevant bits of dmesg and pciconf -lv below. The cards are connected directly to a 10GB Ethernet switch so I nee

Re: Filesystem wedges caused by r251446

2013-07-09 Thread John Baldwin
m doesn't deadlock it's perfectly useable so long > as you don't touch the file that's wedged. A lot of the time the > userland process is unkillable, but often it is killable. How do > I get from from the PID to where the FS is stuck in

Re: No SD card Reader support

2013-07-02 Thread John Hixson
On Wed, Jul 03, 2013 at 01:16:19AM +, Mike C. wrote: > > Hi, > > According to the windows drivers info on Acer's page, my laptop internal > SD card reader vendor is "Realtek". > > I'm not being able to use the card reader but I'm not sure how to debug > this... > > I see nothing in dmesg re

Re: request for your comments on release documentation

2013-06-27 Thread John Nielsen
On Jun 12, 2013, at 11:49 AM, Hiroki Sato wrote: > I would like your comments on release notes for each release. > Although I have been working on editing them for years, the workflow > is still not optimal and sometimes delay of the preparation became an > obstacle for release process. I would

Re: gccmakedep fix - 20130619

2013-06-18 Thread John Marino
ot it better to submit via PR (GNATS) rather than a mailing list? That's what PRs are for... John ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "

Re: copyin()/copyout() constraints ?

2013-06-14 Thread John Baldwin
On Friday, June 14, 2013 12:38:12 pm Luigi Rizzo wrote: > On Fri, Jun 14, 2013 at 12:07:29PM -0400, John Baldwin wrote: > > On Wednesday, June 12, 2013 2:36:52 pm Alfred Perlstein wrote: > > > On 6/12/13 11:01 AM, Luigi Rizzo wrote: > > > > hi, > > > >

Re: copyin()/copyout() constraints ?

2013-06-14 Thread John Baldwin
can hold anything you want since it's basically a memcpy at that point. Various sysctl handlers that need to hold locks while writing things out use sysctl_wire_old_buffer() for exactly this reason. -- John Baldwin ___ freebsd-current@freebsd.o

Re: Fixing X220 Video The Right Way

2013-06-14 Thread John Baldwin
On Thursday, March 07, 2013 9:13:38 pm matt wrote: > On 02/28/13 09:09, John Baldwin wrote: > > On Thursday, February 28, 2013 8:15:46 am matt wrote: > >> On 02/27/13 12:27, John Baldwin wrote: > >>> On Wednesday, February 27, 2013 1:35:43 pm matt wrote: > >

Re: Handle kernel module crashes

2013-06-10 Thread John Baldwin
is the approach of FreeBSD and devs about that. You don't know what the module might have corrupted by the time you crash. It is also quite hard to isolate a crash to a specific module. Many modules operate on data that is shared with the rest of the system, so just be

Re: FreeBSD-HEAD gets stuck on vnode operations

2013-05-20 Thread John Baldwin
n 'unwind' the locking dependencies from there. > > Sorry, now I get it, let's see if I can find the locked vnodes and the > thread that owns them... You can use 'show lock v_interlock>' to find an owning thread and then use 'show sleepchain '. If you ar

Re: panic: pmap_promote_pde: page table page is out of range in r235646

2013-05-20 Thread John Baldwin
ch makes it impossible to install the packages on it (xorg, ... etc. > all compiled on my "master site"; > > what can I do? The only diff between the computers real difference > between the computers is that this 4th one has 2 CPU... Is there a chance you have a hardware issue (

Re: files disappearing from ls on NFS

2013-05-20 Thread John Baldwin
y one block, which contains zeros starting from > 0x200. > > Note that I don't do anything else on that machine during that time. To be clear, you are still seeing zero'd data in your printfs? Also, it seems like it is passing the wrong size now? Can yo

Re: Fix amd64 ddb hardware watchpoints for SMP

2013-05-20 Thread John Baldwin
then. This looks fine to me. It would be nice to fix i386 as well to be consistent. I would commit the new DDB commands as a separate patch from the watchpoint fixes. -- John Baldwin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/

Re: Tell me how to increase the virtual disk with ZFS?

2013-05-11 Thread John-Mark Gurney
Alexander Yerenkow wrote this message on Sat, May 11, 2013 at 18:13 +0300: > zpools or increase/decrease UFS partitions. growfs(8) NAME growfs -- grow size of an existing ufs file system HISTORY The growfs utility first appeared in FreeBSD 4.4. -- John-Mark Gur

Re: FreeBSD & Intel AMT

2013-05-09 Thread John Baldwin
On Thursday, May 09, 2013 4:34:16 am Kamil Czekirda wrote: > Do you have any ideas to resolve the problem? I have no idea what part of e1000 common code deals with AMT/IPMI and what you might need to do to make this work. I was hoping Jack would be be able to respond here. > 2013/4/2

Re: clang static analyzer page: scripts

2013-05-05 Thread John Smith
On Sun, May 5, 2013 at 2:26 PM, Ulrich Spörlein wrote: > > Committed to svn://svn.freebsd.org/base/user/uqs/scan-world as of > r250268. > Thanks. > > I'm not sure they are a good basis for said project, however, > Ill take a lo

clang static analyzer page: scripts

2013-05-05 Thread John Smith
hanks. Regards, John Smith. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: No ATA disks on 9.1

2013-05-03 Thread John Baldwin
On Friday, May 03, 2013 1:53:35 pm Alex Keda wrote: > 03.05.2013 20:41, John Baldwin пишет: > > On Thursday, May 02, 2013 4:18:45 pm Alex Keda wrote: > >> see begin in: > >> http://lists.freebsd.org/pipermail/freebsd-current/2012- November/038000.html > > >

Re: No ATA disks on 9.1

2013-05-03 Thread John Baldwin
ion(dev), reg); } else { start = rman_get_start(res); pci_write_bar(dev, pm, start); -- John Baldwin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: panic: in_pcblookup_local (?)

2013-05-02 Thread John Baldwin
On Thursday, May 02, 2013 1:53:47 pm Ian FREISLICH wrote: > John Baldwin wrote: > > On Thursday, May 02, 2013 7:25:08 am Robert N. M. Watson wrote: > > > > > > On 2 May 2013, at 11:42, Glen Barber wrote: > > > > > > > Hmm. Perhaps it w

Re: LOR: two vfs_bio.c:3070, ufs_dirhash.c:284 and vfs_mount.c:851, vfs_subr.c:2167

2013-05-02 Thread John Baldwin
7fffccc8, rbp = 0x7fffcce0 --- The are both old and known. The bufwait one is documented in ufs_dirhash.c and is a false positive. -- John Baldwin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: panic: in_pcblookup_local (?)

2013-05-02 Thread John Baldwin
ight be seeing a software memory corruption bug of some sort. Other users have reported this (Ian Lepore), and Peter Wemm can now reproduce these at will as well, so I think this is a software bug. What might be easiest if we can't figure this out from the crashdump is just to bisect the of

Re: panic: in_pcblookup_local (?)

2013-05-02 Thread John Baldwin
to work in an environment where I had to largely do post-mortem analysis, I had to get a gdb environment that was close to as functional. Also, using kgdb on a live system to obtain info is less invasive than ddb (doesn't halt the system), and you can easily add new scripts to generate use

Re: panic: in_pcblookup_local (?)

2013-05-01 Thread John Baldwin
ce gdb6'. You can then run 'ps' to get a good ps listing that includes threads. You can also use 'thread apply all bt' to get stacktraces of all threads in kgdb. I believe there is an 'allpcpu' command that is similar to 'show allpcpu' in D

Re: panic: in_pcblookup_local (?)

2013-05-01 Thread John Baldwin
On Tuesday, April 30, 2013 5:19:08 pm Glen Barber wrote: > On Tue, Apr 30, 2013 at 04:53:13PM -0400, John Baldwin wrote: > > Try 'p phd' to start. INP_PCBPORTHASH is a macro, so you will > > have to do it by hand: > > > > 'p pcbinfo->ipi_p

Re: panic: in_pcblookup_local (?)

2013-04-30 Thread John Baldwin
On Monday, April 29, 2013 8:35:52 pm Glen Barber wrote: > On Mon, Apr 29, 2013 at 12:24:06PM -0400, John Baldwin wrote: > > On Sunday, April 28, 2013 12:02:56 am Glen Barber wrote: > > > On Sat, Apr 27, 2013 at 10:17:32AM +0200, Ian FREISLICH wrote: > > > > Hi >

Re: panic: in_pcblookup_local (?)

2013-04-29 Thread John Baldwin
*/ > 1436 porthash = > &pcbinfo->ipi_porthashbase[INP_PCBPORTHASH(lport, > 1437 pcbinfo->ipi_porthashmask)]; > 1438 LIST_FOREACH(phd, porthash, phd_hash) { > 1439 if (phd->phd_port == lport)

Re: FreeBSD & Intel AMT

2013-04-29 Thread John Baldwin
spect driver, but it's similar like on Linux. > Can you show us the way to resolve this problem? While the e1000 drivers share the same common code, there are some differences in the OS-dependent bits (e.g. if_igb.c, etc.). I've cc'd Jack Vogel who maintains the e1000 dr

Re: Atheros 9287 - no carrier . revision 249623.

2013-04-18 Thread John Baldwin
d to shuffle the IRQs assigned to the PCI links around. That should all be moot since you are using the APIC anyway. -- John Baldwin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe,

Re: Atheros 9287 - no carrier . revision 249623.

2013-04-18 Thread John Baldwin
On Thursday, April 18, 2013 11:22:38 am Adrian Chadd wrote: > Ok, the relevant / interesting bit:s. John, any ideas? Only that this means absolutely nothing? These are the values the BIOS wrote into the registers which we use as hints about whether or not ACPI lies about which interrupts

Re: ipfilter(4) needs maintainer

2013-04-12 Thread John Hixson
On Fri, Apr 12, 2013 at 11:31:09PM -0600, Scott Long wrote: > > On Apr 12, 2013, at 7:43 PM, Rui Paulo wrote: > > > On 2013/04/11, at 13:18, Gleb Smirnoff wrote: > > > >> Lack of maintainer in a near future would lead to bitrot due to changes > >> in other areas of network stack, kernel APIs,

Re: Intel D2500CC motherboard and strange RS232/UART behavior

2013-04-12 Thread John Baldwin
On Thursday, April 11, 2013 5:37:48 pm Poul-Henning Kamp wrote: > In message <201304111050.37055@freebsd.org>, John Baldwin writes: > > >> Though if these ports don't have the logic that the AST cards did to > >> share the IRQ, that'd make it hard...

Re: Intel D2500CC motherboard and strange RS232/UART behavior

2013-04-11 Thread John Baldwin
On Thursday, April 11, 2013 3:01:40 am John-Mark Gurney wrote: > John Baldwin wrote this message on Wed, Apr 10, 2013 at 10:16 -0400: > > On Wednesday, April 10, 2013 3:04:15 am Poul-Henning Kamp wrote: > > > In message <1424327083.20130410103...@serebryakov.spb.ru>, Le

Re: Intel D2500CC motherboard and strange RS232/UART behavior

2013-04-11 Thread John-Mark Gurney
John Baldwin wrote this message on Wed, Apr 10, 2013 at 10:16 -0400: > On Wednesday, April 10, 2013 3:04:15 am Poul-Henning Kamp wrote: > > In message <1424327083.20130410103...@serebryakov.spb.ru>, Lev Serebryakov > writ > > es: > > >Hello, Poul-Henning. > >

Re: Intel D2500CC motherboard and strange RS232/UART behavior

2013-04-10 Thread John Baldwin
On Wednesday, April 10, 2013 2:28:38 am Lev Serebryakov wrote: > Hello, John. > You wrote 10 апреля 2013 г., 0:58:22: > > >> Problem is, that every uart device now is independent from each > >> other in good "OOP" style, and it looks like interrupt sharing

Re: Intel D2500CC motherboard and strange RS232/UART behavior

2013-04-10 Thread John Baldwin
port" device, bot not > >>> exactly. > >PHK> That is what the puc(4) driver does... > > Yes, for PCI devices only :( > > Yes, it needs to learn to do it from hints for ISA. No, that is that not the right hammer for this. This isn't a single ISA dev

Re: Intel D2500CC motherboard and strange RS232/UART behavior

2013-04-09 Thread John Baldwin
On Tuesday, April 09, 2013 4:44:51 pm Lev Serebryakov wrote: > Hello, John. > You wrote 10 апреля 2013 г., 0:08:09: > > JB> When did it ever work? > Problem is, that every uart device now is independent from each > other in good "OOP" style, and it looks like in

Re: Intel D2500CC motherboard and strange RS232/UART behavior

2013-04-09 Thread John Baldwin
When did it ever work? > God, you made me remember ISA interrupt sharing. I thought the main > source of evilness is edge shared interrupts? Right, and ISA are edge and active-hi, so generally not shareable. Lev, Can you assign different interrupts via the BIOS somehow? -- John Baldw

Re: gptzfsboot problem on HP P410i Smart Array

2013-04-04 Thread John Baldwin
On Thursday, April 04, 2013 12:16:32 pm Andriy Gapon wrote: > on 19/03/2013 18:20 John Baldwin said the following: > > Yes, we likely could start using that, we would just need to ensure it has some > > sort of minimum size. However, maybe it would always have that minimum size

Re: rc.subr: disabling globbing while processing devfs rules

2013-04-01 Thread John Baldwin
On Monday, April 01, 2013 3:56:01 pm Jilles Tjoelker wrote: > On Mon, Apr 01, 2013 at 02:06:50PM -0400, John Baldwin wrote: > > Why not use 'local -' instead of the $- magic? That is: > > > devfs_rulesets_from_file() > > { > >local file

Re: rc.subr: disabling globbing while processing devfs rules

2013-04-01 Thread John Baldwin
{ while read line > do > @@ -1360,6 +1365,7 @@ devfs_rulesets_from_file() > break > fi > done } < $file > + case $_opts in *f*) ;; *) set +f ;; esac > return $_err > } Why not use 'local -' instead of t

Re: call suspend_cpus() under smp_ipi_mtx

2013-04-01 Thread John Baldwin
gt; disabled and can be moved to AcpiLeaveSleepState. This is after the _BFS and > _GTS support was removed. > > What do you think? > Thank you. Hmm, I think intr_table_lock used to be a spin lock at some point. I don't remember why we changed it to a regular mutex. It may be that

Re: Any objections/comments on axing out old ATA stack?

2013-03-28 Thread John-Mark Gurney
se, you might choose to not include USB, but use ATA, or not use umass, but the rest of USB... Someone on a list was talking about trying to get FreeBSD down on a really small system, 16MB ram... /me thinks of the old wd driver. -- John-Mark Gurney Voice: +1 415 22

Re: compilation error with WITHOUT_ED_CRYPTO

2013-03-23 Thread John-Mark Gurney
deeptech71 wrote this message on Fri, Mar 22, 2013 at 15:55 +0100: > The obvious fix: widen the scope of ``#ifdef DES'': Thanks, committed in r248656. -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All th

Re: mountroot event

2013-03-20 Thread John Baldwin
quot;real" root. I think your change is fine. -- John Baldwin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: gptzfsboot problem on HP P410i Smart Array

2013-03-19 Thread John Baldwin
at 1MB is too small. A minimum size of 16MB might handle that case correctly while using the first extended region in the common case. > Additionally, in the case of zfsboot I think that we do not use memory above > 1MB > for anything else besides the heap. You load either /boot/zfsloader or the kernel there. -- John Baldwin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: NewNFS vs. oldNFS for 10.0?

2013-03-15 Thread John Baldwin
On Friday, March 15, 2013 11:24:32 am Andre Oppermann wrote: > On 15.03.2013 14:46, John Baldwin wrote: > > On Friday, March 15, 2013 9:40:56 am Andre Oppermann wrote: > >> Hi Rick, all, > >> > >> is there a plan to decide for one NFS implementation for FreeB

Re: NewNFS vs. oldNFS for 10.0?

2013-03-15 Thread John Baldwin
y and being in a position of still using 8.x with oldNFS in production, I would prefer to not remove it quite yet. -- John Baldwin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubs

Re: reservation of n, n (3) failed

2013-03-15 Thread John Baldwin
failed You can ignore those. acpi is trying to reserve the addresses used for RAM as system resources, but the ram0 driver has already done so. -- John Baldwin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: pidfile_open incorrectly returns EAGAIN when pidfile is locked

2013-03-14 Thread John Baldwin
On Thursday, March 14, 2013 4:21:02 pm Pawel Jakub Dawidek wrote: > On Thu, Mar 14, 2013 at 10:11:07AM -0700, Chuck Swiger wrote: > > Hi-- > > > > On Mar 14, 2013, at 9:50 AM, John Baldwin wrote: > > > On Thursday, March 14, 2013 12:29:58 pm Pawel Jakub Dawidek wrot

Re: pidfile_open incorrectly returns EAGAIN when pidfile is locked

2013-03-14 Thread John Baldwin
On Thursday, March 14, 2013 12:29:58 pm Pawel Jakub Dawidek wrote: > On Thu, Mar 14, 2013 at 09:42:40AM -0400, John Baldwin wrote: > > On Thursday, March 14, 2013 4:44:20 am Pawel Jakub Dawidek wrote: > > > On Thu, Mar 14, 2013 at 08:28:25AM +0100, Dirk Engling wrote: > > &

Re: pidfile_open incorrectly returns EAGAIN when pidfile is locked

2013-03-14 Thread John Baldwin
ar *path, mode_t mode, pid_t *pidptr = -1; if (errno == 0 || errno == EAGAIN) errno = EEXIST; - } + } else if (errno == EWOULDBLOCK) +

Re: pidfile_open incorrectly returns EAGAIN when pidfile is locked

2013-03-13 Thread John Baldwin
if (errno == EWOULDBLOCK) { + if (pidptr == NULL) + pidptr = &dummy; count = 20; rqtp.tv_sec = 0; rqtp.tv_nsec = 500; -- John Baldwin ___

Re: using multiple interfaces for same Network Card

2013-03-12 Thread John-Mark Gurney
.d/netif start" if you don't want to reboot, but I've never done that.. I've just rebooted, since this is my router and I want to make sure it comes up... Good luck... > On Tue, Mar 12, 2013 at 11:39 PM, John-Mark Gurney wrote: > > > Yasir hussan wrote this message o

Re: FULL_PREEMPTION

2013-03-12 Thread John Baldwin
er enabling it in HEAD only just as we do with INVARIANTS, etc. However, when it was added it was never intended to be used for production. -- John Baldwin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: using multiple interfaces for same Network Card

2013-03-12 Thread John-Mark Gurney
oadcast 10.0.1.255 > > media: Ethernet autoselect (1000baseT ) > > status: active > > > > These are both the same thing. Is there any particular reason that > > you want multiple interfaces? I can't see a use for it beyond "it's > > what

Re: r247839: broken pipe - for top, sudo and ports

2013-03-06 Thread John Baldwin
cum commits? It broke some other stuff initially related to fd passing, so I don't think it is beyond imagination that it broke something with UNIX domain sockets in general. -- John Baldwin ___ freebsd-current@freebsd.org mailing list http://lists.

Re: Fixing X220 Video The Right Way

2013-02-28 Thread John Baldwin
On Thursday, February 28, 2013 8:15:46 am matt wrote: > On 02/27/13 12:27, John Baldwin wrote: > > On Wednesday, February 27, 2013 1:35:43 pm matt wrote: > >> On 02/27/13 09:00, John Baldwin wrote: > >>> If that is true, it's because your BIOS is lying. Do you

Re: CPU0: Local APIC error 0x80

2013-02-27 Thread John Baldwin
On Wednesday, February 27, 2013 1:17:40 pm matt wrote: > On 02/27/13 09:08, John Baldwin wrote: > > On Sunday, February 24, 2013 2:57:32 pm matt wrote: > >> What does this mean exactly? > >> > >> Whenever I call/evaluate certain ACPI paths, this gets printed o

Re: Fixing X220 Video The Right Way

2013-02-27 Thread John Baldwin
On Wednesday, February 27, 2013 1:35:43 pm matt wrote: > On 02/27/13 09:00, John Baldwin wrote: > > If that is true, it's because your BIOS is lying. Do you have a URL to > > your ASL lying around already? > Too big for pastebin :( +500k > > h

Re: CPU0: Local APIC error 0x80

2013-02-27 Thread John Baldwin
IC_ESR_ILLEGAL_REGISTER 0x0080 It means something wrote to an invalid lapic register. It is probably a bug in your BIOS, yes. -- John Baldwin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-curre

Re: Fixing X220 Video The Right Way

2013-02-27 Thread John Baldwin
On Tuesday, February 26, 2013 9:32:33 pm matt wrote: > On 02/26/13 10:46, John Baldwin wrote: > > On Monday, February 25, 2013 11:20:29 pm matt wrote: > >> On 02/25/13 18:33, Adrian Chadd wrote: > >>> [101232] acpi_video0: on vgapci0 > >>> found Internal

Re: Fixing X220 Video The Right Way

2013-02-26 Thread John Baldwin
evice in the ACPI namespace. Thus, the specific handle assigned by ACPI is for the exact PCI location of the requisite vgapci device. If your BIOS lies it is hard for us to do anything useful, at least automatically. Do the other devices in your system that have _DOD

Re: [patch] i386 pmap sysmaps_pcpu[] atomic access

2013-02-26 Thread John Baldwin
On Monday, February 25, 2013 7:47:47 am Olivier Houchard wrote: > On Mon, Feb 25, 2013 at 07:09:20PM +1300, Andrew Turner wrote: > > On Thu, 21 Feb 2013 10:43:49 -0500 > > John Baldwin wrote: > > > > > On Thursday, February 21, 2013 7:53:52 am Svatopluk Kraus wrote

Re: Fixing X220 Video The Right Way

2013-02-25 Thread John Baldwin
el like that is definitely the wrong way. > A tunable for an acpi_video override might be useful, but it still > leaves potentially the wrong path in vgapci's IVARs. > > Is there a better place to "correct" the ACPI_PATH that gets stored in > vgapci's ivar? Is

Re: r245741 (clang as cc) can not build binaries for GEODE processor

2013-02-22 Thread John-Mark Gurney
-current broken on pre-PPro machines (w/ work around) http://www.freebsd.org/cgi/mid.cgi?20130201170737.gp1...@funkthat.com The work around is to use gcc which will not emit the cmov instructions... -- John-Mark Gurney Voice: +1 415 225 5579 "Al

Re: -CURRENT userland regression

2013-02-21 Thread John-Mark Gurney
sr/obj/usr/src/sys/GENERIC amd64 And I haven't installworld yet... so somehow supporting the AES instructions in gcc causes the kernel to miscompile... I'm now going to diff the two kernels to find out what's different... -- John-Mark Gurney

Re: r247095 Boot Failure

2013-02-21 Thread John-Mark Gurney
, not userland) and figure out which part of the system.. But clearly, we are still using gcc somehow in our kernel builds... If I don't figure out what it is in a few hours, I'll back out the change... -- John-Mark Gurney Voice: +1 415 225 5579

Re: [patch] i386 pmap sysmaps_pcpu[] atomic access

2013-02-21 Thread John Baldwin
On Thursday, February 21, 2013 7:53:52 am Svatopluk Kraus wrote: > On Wed, Feb 20, 2013 at 4:22 PM, John Baldwin wrote: > > On Wednesday, February 20, 2013 7:31:08 am Svatopluk Kraus wrote: > >> On Tue, Feb 19, 2013 at 7:51 PM, Konstantin Belousov > >> wrote: > >

Re: -CURRENT userland regression

2013-02-21 Thread John Baldwin
still trying to find out which revision have broke the stuff. > > I ran into this earlier today. Selecting "safe mode" in the boot loader > menu seems to work around the problem on my system. Now I will not > reboot until I see a fix for this in head :-) "safe

Re: [patch] i386 pmap sysmaps_pcpu[] atomic access

2013-02-20 Thread John Baldwin
On Wednesday, February 20, 2013 2:27:39 pm Konstantin Belousov wrote: > On Wed, Feb 20, 2013 at 10:22:29AM -0500, John Baldwin wrote: > > On Wednesday, February 20, 2013 7:31:08 am Svatopluk Kraus wrote: > > > On Tue, Feb 19, 2013 at 7:51 PM, Konstantin Belousov > > >

Re: [patch] i386 pmap sysmaps_pcpu[] atomic access

2013-02-20 Thread John Baldwin
rthread has to be atomic. If your read of curthread looks like: mov , r0 add , r0 ld r0, r1 Then that will indeed break. Alpha used a fixed register for 'pcpu_reg' (as does ia64 IIRC). OTOH, you might also be

Re: Unable to build audio/sox: undefined reference to 'open_memstream'

2013-02-19 Thread John Baldwin
a -lm > ./.libs/libsox.so: undefined reference to `open_memstream' I'm guessing it thinks that we have open_memstream() because someone added fmemopen() recently. I have an implementation of open_memstream() that I will commit soon. -- John Baldwin _

Re: ports include /etc/src.conf? i.e. graphics/libfpx

2013-02-15 Thread John-Mark Gurney
/usr/share/mk is for use by projects outside /usr/src... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ freebsd-current@freebsd.org mailing

Re: the latest version of Clang/LLVM for the world and kernel

2013-02-15 Thread John-Mark Gurney
t(&object, 0, sizeof object); > > or > > memset(&pointer, 0, sizeof *pointer); > > but apparently it is difficult to choose the right one. :) I assume you mean: memset(pointer, 0, sizeof *pointer); :) -- John-Mark Gurney

Re: [PATCH] open_memstream() and open_wmemstream()

2013-02-15 Thread John Baldwin
On Friday, February 15, 2013 10:10:12 am Jilles Tjoelker wrote: > On Wed, Feb 13, 2013 at 11:44:19AM -0500, John Baldwin wrote: > > On Thursday, February 07, 2013 4:12:22 pm Jilles Tjoelker wrote: > > > On Tue, Feb 05, 2013 at 03:46:43PM -0500, John Baldwin wrote: >

Re: Time to kill fdc ?

2013-02-15 Thread John Baldwin
On Thursday, February 14, 2013 9:45:22 pm Adrian Chadd wrote: > On 14 February 2013 13:35, John Baldwin wrote: > > > ISA bounces anything above 16GB. They are bouncing. I know it works for > > some > > people as I fixed a bug in the ISA bounce buffer code somewhat

Re: Time to kill fdc ?

2013-02-14 Thread John Baldwin
works for some people as I fixed a bug in the ISA bounce buffer code somewhat recentish: http://svnweb.freebsd.org/base?view=revision&revision=233675 -- John Baldwin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/

Re: building custom kernel on -current: unknown option "COMPAT_LINUX"

2013-02-14 Thread John Baldwin
. The > modules seems to build fine without having to > fiddle about with kernel config jiggerypokey. COMPAT_LINUX will work on amd64 eventually and will be used for 64-bit Linux binaries (COMPAT_LINUX32 is to run Linux/i386 binaries on FreeBSD/amd64). -- John Baldwin ___

Re: [PATCH] open_memstream() and open_wmemstream()

2013-02-13 Thread John Baldwin
On Thursday, February 07, 2013 4:12:22 pm Jilles Tjoelker wrote: > On Tue, Feb 05, 2013 at 03:46:43PM -0500, John Baldwin wrote: > > I've written an implementation of open_memstream() and > > open_wmemstream() along with a set of regression tests. I'm pretty > > s

Re: compiling libc and libthr with debugging?

2013-02-07 Thread John Baldwin
ints at the directory holding the custom libc. -- John Baldwin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

[PATCH] open_memstream() and open_wmemstream()

2013-02-05 Thread John Baldwin
partially parsed character we aren't going to get the rest of it. http://www.FreeBSD.org/~jhb/patches/open_memstream.patch -- John Baldwin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To un

Re: CURRENT: Broken on > r246222?

2013-02-04 Thread John Baldwin
ee on screen is > > p4tcc3: on cpu3 > > then the system run dark and reboots without any notice (kernel doesn't > have debugging switched on so far, will do this after Monday). I don't think there are any known issues. Can you narrow it down to

-current broken on pre-PPro machines (w/ work around)

2013-02-01 Thread John-Mark Gurney
ou use gcc instead of clang... A bug has been filed: http://llvm.org/bugs/show_bug.cgi?id=15115 -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ freebsd

Re: PATCH: display MSI-X table and pba offsets from "pciconf -c"

2013-02-01 Thread John Baldwin
e_bar); > >> - else > >> - printf("in maps 0x%x and 0x%x", table_bar, pba_bar); > >> + if (table_bar == pba_bar) { > >> + printf("in map 0x%x[0x%x][0x%x]",

Re: x11/nvidia-driver build fails in head @r246115

2013-01-30 Thread John Baldwin
instead of one of the headers on HEAD. (and this is my fault) Alexey, can you patch the port for that? -- John Baldwin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mai

Re: Why don't we check for preemption when we unlend priority?

2013-01-29 Thread John Baldwin
rio) > td->td_priority = prio; > if (prio < tdq->tdq_lowpri) > tdq->tdq_lowpri = prio; > - else if (tdq->tdq_lowpri == oldpri) > + else if (tdq->tdq_lowpri == oldpri) { > t

Re: acpi resume related patch

2013-01-28 Thread John Baldwin
On Saturday, January 26, 2013 9:18:57 am Andriy Gapon wrote: > on 25/01/2013 18:08 Andriy Gapon said the following: > > on 25/01/2013 15:51 John Baldwin said the following: > >> On Friday, January 25, 2013 3:43:33 am Andriy Gapon wrote: > >>> > >>> If y

Re: some questions on kern_linker and pre-loaded modules

2013-01-28 Thread John Baldwin
oth in the kernel and in the preloaded file and > the module has a module event handler (modeventhand_t), then the handler will > registered and called twice. Yes, I think it is too hard at present to safely allow a linker file to override the same module in a kernel, so the duplic

Re: acpi resume related patch

2013-01-25 Thread John Baldwin
d. It should also be registered before any of the I/O APICs are by the design of the local_apic.c code. -- John Baldwin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to &quo

Re: [PATCH] Variable-size ioctl data handling

2013-01-22 Thread John Baldwin
nothing else, the length should be a size_t instead of an int. -- John Baldwin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: -current broken in acpi/iasl

2013-01-18 Thread John-Mark Gurney
27;t test it. Look at "buildworld is broken ?" thread Looks like this broken when jkim imported the latest ACPICA code base: https://svnweb.freebsd.org/base?view=revision&revision=245582 I've forward the tinderbox failure to him, so hopefully he'll fix

[PATCH] Adjust 'ps H' to include kthread names by default

2013-01-17 Thread John Baldwin
rgv(char **, char *, size_t); +const char *fmt_argv(char **, char *, char *, size_t); double getpcpu(const KINFO *); char*kvar(KINFO *, VARENT *); char*label(KINFO *, VARENT *); -- John Baldwin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: [RFC] support -b when starting gdb

2013-01-16 Thread John Baldwin
ial port.) I think adding -b is fine. -- John Baldwin ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"

Re: Clang warning patches

2013-01-15 Thread John-Mark Gurney
John-Mark Gurney wrote this message on Tue, Jan 15, 2013 at 15:10 -0800: > hiren panchasara wrote this message on Tue, Jan 15, 2013 at 07:52 -0800: > > http://www.strugglingcoder.info/patches/clang_warnings_dev_bktr.txt > > This patch does not look correct at all... It is simpl

Re: Clang warning patches

2013-01-15 Thread John-Mark Gurney
on? What is the warning that we are fixing here? -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not." ___ freebsd-current@freebsd.org mailing list http://list

Re: [PATCH] Add rusage reporting to procstat

2013-01-15 Thread John Baldwin
On Monday, January 14, 2013 5:44:42 pm Konstantin Belousov wrote: > On Mon, Jan 14, 2013 at 04:39:17PM -0500, John Baldwin wrote: > > This patch adds a new -r flag to dump the resource usage information (what you > > would get from getrusage() or wait()) for a given process.

<    7   8   9   10   11   12   13   14   15   16   >