Re: expanding amd64 past the 1TB limit

2013-07-11 Thread Neel Natu
Hi Chris, On Sun, Jul 7, 2013 at 11:42 PM, Chris Torek wrote: > Here is a final (I hope) version of the patch. I dropped the > config option, but I added code to limit the "real" size of the > direct map PDEs. The end result is that on small systems, this > ties up 14 more pages (15 from increa

Re: dynamically calculating NKPT [was: Re: huge ktr buffer]

2013-02-05 Thread Neel Natu
Hi Konstantin, On Tue, Feb 5, 2013 at 7:14 AM, Konstantin Belousov wrote: > On Mon, Feb 04, 2013 at 03:05:15PM -0800, Neel Natu wrote: >> Hi, >> >> I have a patch to dynamically calculate NKPT for amd64 kernels. This >> should fix the various issues that people pointed

Re: dynamically calculating NKPT [was: Re: huge ktr buffer]

2013-02-05 Thread Neel Natu
Hi Matthew, On Tue, Feb 5, 2013 at 7:45 AM, wrote: > On Tue, Feb 5, 2013 at 7:14 AM, Konstantin Belousov > wrote: >> On Mon, Feb 04, 2013 at 03:05:15PM -0800, Neel Natu wrote: >>> Hi, >>> >>> I have a patch to dynamically calculate NKPT for amd64 k

dynamically calculating NKPT [was: Re: huge ktr buffer]

2013-02-04 Thread Neel Natu
Hi, I have a patch to dynamically calculate NKPT for amd64 kernels. This should fix the various issues that people pointed out in the email thread. Please review and let me know if there are any objections to committing this. Also, thanks to Alan (alc@) for reviewing and providing feedback on th

Re: stop_cpus_hard when multiple CPUs are panicking from an NMI

2012-11-15 Thread Neel Natu
Hi, On Thu, Nov 15, 2012 at 3:41 PM, Attilio Rao wrote: > On Thu, Nov 15, 2012 at 10:58 PM, Ryan Stone wrote: >> At work we have some custom watchdog hardware that sends an NMI upon >> expiry. We've modified the kernel to panic when it receives the watchdog >> NMI. I've been trying the "stop_s

Re: MD ROOT and image size limitation (makes kernel panic)

2011-05-16 Thread Neel Natu
Hi, On Mon, May 16, 2011 at 11:36 AM, wrote: > I have a 4 GB or ram, so why kernel panic with my MD ROOT, if larger then > ~40 MB? > I've tried to split up root in 20MB image and usr in 160 MB > Via loader.conf root becomes md0 and usr md1 and panic occurs even when > they are split > > I had to

Re: Exporting kernel symbols

2011-01-23 Thread Neel Natu
Hi Ali, On Sat, Jan 22, 2011 at 7:20 PM, Ali Mashtizadeh wrote: > Hi Folks, > > I tried to build a geom kernel module that uses the alq(9) facility to > log some data. The module builds fine but it seems that the kernel > isn't exporting the alq(9) symbols. Could someone point me how I can > expo

Re: How to read non-physical memory?

2011-01-23 Thread Neel Natu
Hi Alexandr, On Sun, Jan 23, 2011 at 7:56 AM, Alexandr Matveev wrote: > Hello. > >  When FreeBSD boots with 'boot -v' it show SMAP: > SMAP type=01 base= len=0009d800 > SMAP type=02 base=0009d800 len=2800 > SMAP type=02 base=000e len=

Re: PATCH: fix bogus error message "bus_dmamem_alloc failed to align memory properly"

2010-09-28 Thread Neel Natu
Hi John, On Tue, Sep 28, 2010 at 6:36 AM, John Baldwin wrote: > On Monday, September 27, 2010 5:13:03 pm Neel Natu wrote: >> Hi John, >> >> Thanks for reviewing this. >> >> On Mon, Sep 27, 2010 at 8:04 AM, John Baldwin wrote: >> > On Friday, Sep

Re: PATCH: fix bogus error message "bus_dmamem_alloc failed to align memory properly"

2010-09-27 Thread Neel Natu
Hi John, Thanks for reviewing this. On Mon, Sep 27, 2010 at 8:04 AM, John Baldwin wrote: > On Friday, September 24, 2010 9:00:44 pm Neel Natu wrote: >> Hi, >> >> This patch fixes the bogus error message from bus_dmamem_alloc() about >> the buffer not being aligned pro

PATCH: fix bogus error message "bus_dmamem_alloc failed to align memory properly"

2010-09-24 Thread Neel Natu
Hi, This patch fixes the bogus error message from bus_dmamem_alloc() about the buffer not being aligned properly. The problem is that the check is against a virtual address as opposed to the physical address. contigmalloc() makes guarantees about the alignment of physical addresses but not the vi

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

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

PATCH: pciconf -a

2010-07-23 Thread Neel Natu
Hi, This patch makes "pciconf -a" do the right thing as opposed to always failing with this message: pciconf: ioctl(PCIOCATTACHED): Inappropriate ioctl for device Any objections if I commit this? best Neel Index: sys/dev/pci/pci_user.c ==