Re: PCI config space is not restored upon resume (macbook pro)

2010-08-04 Thread Oleg Sharoyko
On 3 August 2010 20:25, Oleg Sharoyko wrote: >> I wonder if the bus numbers for PCI-PCI bridges need to be restored on >> resume? >> If they aren't then config transactions won't be routed properly.  You could >> add a pcib_resume() method that prints out the various bus register values >> after

Re: Driver tpm(4) and third party packages for trusted platform modules

2010-08-04 Thread Takanori Watanabe
In message <201008040347.o743leer046...@sana.init-main.com>, wrote: >Quick review and hack: > >1.How about attaching it as acpi child driver? > >In some case, TPM may appear in ACPI namespace (with _HID) and >TPM spec defines ACPI method to handle TPM specific request. > >2. Is identify method need

behaviour changes in mdconfig? or something related?

2010-08-04 Thread Samuel Martín Moro
Hi, I started this thread in the freebsd-questions mailing list. But since I'm quite sure it's not a bsdlabel problem, I might find better answers here. We have a script that buids custom FreeBSD releases. This code works on 4.7, 5.4, 5.5, 6.2, 7.1 and 7.2. I want to make it work with FreeBSD-

Re: behaviour changes in mdconfig? or something related?

2010-08-04 Thread Garrett Cooper
On Wed, Aug 4, 2010 at 5:40 AM, Samuel Martín Moro wrote: > Hi, ... > So, is it possible to / how could I make ${dev}c appear on 8.1, like it was > in previous releases? It's a geom(4) change. Try ${dev} instead of ${dev}c (this should work on all releases, but I could be wrong). HTH, -Garrett

Re: behaviour changes in mdconfig? or something related?

2010-08-04 Thread Bruce Cran
On Wed, 4 Aug 2010 14:40:27 +0200 Samuel Martín Moro wrote: > Since 8.1 (8.0?), after calling bsdlabel, I still have /dev/${dev}a, > but/dev/${dev}c doesn't show up anymore. The 'c' partition is no longer created on FreeBSD 8 - you should use /dev/${dev} instead of /dev/${dev}c : http://www.fre

Re: sched_pin() versus PCPU_GET

2010-08-04 Thread John Baldwin
On Tuesday, August 03, 2010 9:46:16 pm m...@freebsd.org wrote: > On Fri, Jul 30, 2010 at 2:31 PM, John Baldwin wrote: > > On Friday, July 30, 2010 10:08:22 am John Baldwin wrote: > >> On Thursday, July 29, 2010 7:39:02 pm m...@freebsd.org wrote: > >> > We've seen a few instances at work where witn

Re: PCI config space is not restored upon resume (macbook pro)

2010-08-04 Thread John Baldwin
On Wednesday, August 04, 2010 3:13:04 am Oleg Sharoyko wrote: > On 3 August 2010 20:25, Oleg Sharoyko wrote: > > >> I wonder if the bus numbers for PCI-PCI bridges need to be restored on > >> resume? > >> If they aren't then config transactions won't be routed properly. You > >> could > >> add

Re: behaviour changes in mdconfig? or something related?

2010-08-04 Thread Samuel Martín Moro
Indeed, it works using ${dev} instead of ${dev}c Thanks! Samuel Martín Moro {EPITECH.} tek4 CamTrace S.A.S (+033) 1 41 38 37 60 1 Allée de la Venelle 92150 Suresnes FRANCE "Nobody wants to say how this works. Maybe nobody knows ..." Xorg.conf(5) On Wed, Aug 4,

Re: sched_pin() versus PCPU_GET

2010-08-04 Thread mdf
On Wed, Aug 4, 2010 at 2:26 PM, John Baldwin wrote: > On Tuesday, August 03, 2010 9:46:16 pm m...@freebsd.org wrote: >> On Fri, Jul 30, 2010 at 2:31 PM, John Baldwin wrote: >> > On Friday, July 30, 2010 10:08:22 am John Baldwin wrote: >> >> On Thursday, July 29, 2010 7:39:02 pm m...@freebsd.org w

Not getting interrupts from PCI express slot

2010-08-04 Thread Hans Petter Selasky
Hi, I'm not getting any interrupts from a PCI express slot. When I insert a device, no attach event is generated. If the device is present during boot the device is fully detected, but still no IRQ's. Is there anything I can do or test? I'm running 8-stable on amd64. --HPS ___

Re: sched_pin() versus PCPU_GET

2010-08-04 Thread John Baldwin
On Wednesday, August 04, 2010 12:20:31 pm m...@freebsd.org wrote: > On Wed, Aug 4, 2010 at 2:26 PM, John Baldwin wrote: > > On Tuesday, August 03, 2010 9:46:16 pm m...@freebsd.org wrote: > >> On Fri, Jul 30, 2010 at 2:31 PM, John Baldwin wrote: > >> > On Friday, July 30, 2010 10:08:22 am John Bal

Re: Not getting interrupts from PCI express slot

2010-08-04 Thread Neel Natu
Hi, On Wed, Aug 4, 2010 at 10:18 AM, Hans Petter Selasky wrote: > Hi, > > I'm not getting any interrupts from a PCI express slot. When I insert a > device, no attach event is generated. If the device is present during boot the > device is fully detected, but still no IRQ's. Is there anything I ca

Re: Not getting interrupts from PCI express slot

2010-08-04 Thread Hans Petter Selasky
On Wednesday 04 August 2010 21:13:55 Neel Natu wrote: > Hi, > > On Wed, Aug 4, 2010 at 10:18 AM, Hans Petter Selasky wrote: > > Hi, > > > > I'm not getting any interrupts from a PCI express slot. When I insert a > > device, no attach event is generated. If the device is present during > > boot

Re: Not getting interrupts from PCI express slot

2010-08-04 Thread John Baldwin
On Wednesday, August 04, 2010 1:18:53 pm Hans Petter Selasky wrote: > Hi, > > I'm not getting any interrupts from a PCI express slot. When I insert a > device, no attach event is generated. If the device is present during boot the > device is fully detected, but still no IRQ's. Is there anythin

Re: Not getting interrupts from PCI express slot

2010-08-04 Thread Neel Natu
Hi, On Wed, Aug 4, 2010 at 12:29 PM, Hans Petter Selasky wrote: > On Wednesday 04 August 2010 21:13:55 Neel Natu wrote: >> Hi, >> >> On Wed, Aug 4, 2010 at 10:18 AM, Hans Petter Selasky > wrote: >> > Hi, >> > >> > I'm not getting any interrupts from a PCI express slot. When I insert a >> > devic