Re: One-shot-oriented event timers management

2010-08-30 Thread Alexander Motin
Brandon Gooch wrote: > One thing I see: > > Where is *frame pointing to? It isn't initialized in the function, so... Thanks! Fixed. Patch updated. > Also, for those of us testing, should we "reset" our timer settings > back to defaults and work from there[1] (meaning, should we be futzing > arou

Re: One-shot-oriented event timers management

2010-08-30 Thread Gary Jennejohn
On Sun, 29 Aug 2010 16:10:00 +0300 Alexander Motin wrote: > I have actively tested this code for a few days on my amd64 Core2Duo > laptop and i386 Core-i5 desktop system. With C2/C3 states enabled > systems experience only about 100-150 interrupts per second, having HZ > set to 1000. These events

Re: System freezes unexpectly

2010-08-30 Thread Glen Barber
On 8/29/10 9:39 PM, Davide Italiano wrote: >> >> Ok. How about this? >> >> Firefox items: >> 1. What version of Firefox are you using? > > Firefox 3.6.4. Lastest from ports, compiled now. > New install, or did you update firefox from a previous version? If the latter (may be worth trying regard

Re: One-shot-oriented event timers management

2010-08-30 Thread Alexander Motin
Gary Jennejohn wrote: > Hmm. I applied your patches and am now running the new kernel. But I > only installed the new kernel and didn't do make buildworld installworld. > > Mu systat -vm 1 doesn't look anything like yours. I'm seeing about 2300 > interrupts per second and most of those are comi

Re: One-shot-oriented event timers management

2010-08-30 Thread Gary Jennejohn
On Mon, 30 Aug 2010 13:07:38 +0300 Alexander Motin wrote: > Gary Jennejohn wrote: > > Hmm. I applied your patches and am now running the new kernel. But I > > only installed the new kernel and didn't do make buildworld installworld. > > > > Mu systat -vm 1 doesn't look anything like yours. I'

Re: One-shot-oriented event timers management

2010-08-30 Thread Alexander Motin
Gary Jennejohn wrote: > On Mon, 30 Aug 2010 13:07:38 +0300 > Alexander Motin wrote: >> Gary Jennejohn wrote: >>> Ah, I think I see it now. My desktop has only C1 enabled. Is that it? >>> Unfortunately, it appears that only C1 is supported :( >> Yes, as I have said, at this moment empty ticks ski

Re: hexdump(1)/od(1) skip function off-by-one when offset == file length

2010-08-30 Thread Alexander Best
On Sun Aug 29 10, Garrett Cooper wrote: > On Sun, Aug 29, 2010 at 9:27 AM, Alexander Best wrote: > > just discovered this issue while going through some linux mailinglists: > > > > otaku% dd if=/dev/urandom of=testfile bs=1 count=42 > > 42+0 records in > > 42+0 records out > > 42 bytes transferred

Re: Support for WD Advanced Format disks

2010-08-30 Thread Dag-Erling Smørgrav
Ilya Bakulin writes: > So, ad7p1.nop is shifted by 512 bytes and resides right on the > beginning of the physical sector. And it has 4096 "sector" size. Why did you shift the gnop? Did you short jumper 7-8? > For some reason, phybs begins with sector size 8192... I expected it > to begin with 4

Re: One-shot-oriented event timers management

2010-08-30 Thread YAMAMOTO, Taku
On Mon, 30 Aug 2010 13:07:38 +0300 Alexander Motin wrote: > Gary Jennejohn wrote: (snip) > > So, what else did you do to reduce interrupts so much? > > > > Ah, I think I see it now. My desktop has only C1 enabled. Is that it? > > Unfortunately, it appears that only C1 is supported :( > > Yes,

Re: One-shot-oriented event timers management

2010-08-30 Thread Alexander Motin
YAMAMOTO, Taku wrote: > On Mon, 30 Aug 2010 13:07:38 +0300 > Alexander Motin wrote: >> Gary Jennejohn wrote: > (snip) >>> So, what else did you do to reduce interrupts so much? >>> >>> Ah, I think I see it now. My desktop has only C1 enabled. Is that it? >>> Unfortunately, it appears that only C

Re: Support for WD Advanced Format disks

2010-08-30 Thread Dag-Erling Smørgrav
Thiago Damas writes: > "ATA 4K sector issues" > http://lists.freebsd.org/pipermail/freebsd-hackers/2010-March/031154.html Yes, we know. That's what this entire thread (and a zillion others before it) is about. DES -- Dag-Erling Smørgrav - d...@des.no ___

Re: Support for WD Advanced Format disks

2010-08-30 Thread Ilya Bakulin
В Mon, 30 Aug 2010 13:05:37 +0200 Dag-Erling Smørgrav пишет: > Ilya Bakulin writes: > > So, ad7p1.nop is shifted by 512 bytes and resides right on the > > beginning of the physical sector. And it has 4096 "sector" size. > > Why did you shift the gnop? Did you short jumper 7-8? No, 7-8 remained

Re: hexdump(1)/od(1) skip function off-by-one when offset == file length

2010-08-30 Thread Dag-Erling Smørgrav
Alexander Best writes: > *hehehe* that might be true. maybe they've bought the src from AT&T? anyway i > don't think the BSD license restricts you releasing code under a new license. > so what they did seems fine to me. You can release the code under a different license, but you still have to inc

Re: hexdump(1)/od(1) skip function off-by-one when offset == file length

2010-08-30 Thread Alexander Best
On Mon Aug 30 10, Dag-Erling Smørgrav wrote: > Alexander Best writes: > > *hehehe* that might be true. maybe they've bought the src from AT&T? anyway > > i > > don't think the BSD license restricts you releasing code under a new > > license. > > so what they did seems fine to me. > > You can re

Re: Support for WD Advanced Format disks

2010-08-30 Thread Dag-Erling Smørgrav
Ilya Bakulin writes: > Dag-Erling Smørgrav writes: > > Why did you shift the gnop? Did you short jumper 7-8? > No, 7-8 remained as-is. ad7p1 was created using: > #gpart add -t freebsd-ufs -s 10G -b 63 ad7 > > So it begins at sector #63, but physical 4096-block begins at logical > sector 64. Tha

Re: Debugging Loadable Modules Using GDB

2010-08-30 Thread John Baldwin
On Friday, August 27, 2010 4:11:41 pm Alexander Fiveg wrote: > Hi, > from "FreeBSD Developers' Handbook, 10.7 Debugging Loadable Modules Using > GDB": > "... > (kgdb) add-symbol-file /sys/modules/linux/linux.ko 0xc0ae22d0 > ... > " > Actually I couldn't debug my modules using .ko-file. Moreover, I'

Re: System freezes unexpectly

2010-08-30 Thread John Baldwin
On Sunday, August 29, 2010 10:18:48 am Davide Italiano wrote: > Hi. > I'm running 8.1 on my Sony Vaio laptop, with dwm as window manager on > lastest Xorg on ports. > When I'm trying to run firefox3, the system "freezes" unexpectly. I > know that "freezes" is a bit generic but I can't find a more s

Re: System freezes unexpectly

2010-08-30 Thread Andriy Gapon
on 30/08/2010 00:13 do...@freebsd.org said the following: > On 08/29/2010 09:33 AM, Davide Italiano wrote: >>> Can you run firefox from xterm and check for any errors that might be >>> > generated? >>> > >>> > Cheers, >>> > >>> > -- >>> > Glen Barber >>> > >> Tried doing this. But no output. >

Re: System freezes unexpectly

2010-08-30 Thread Garrett Cooper
On Mon, Aug 30, 2010 at 7:10 AM, Andriy Gapon wrote: > on 30/08/2010 00:13 do...@freebsd.org said the following: >> On 08/29/2010 09:33 AM, Davide Italiano wrote: Can you run firefox from xterm and check for any errors that might be >  generated? > >  Cheers, > >  --

Re: Debugging Loadable Modules Using GDB

2010-08-30 Thread Alexander Fiveg
On Mon, Aug 30, 2010 at 08:16:11AM -0400, John Baldwin wrote: > On Friday, August 27, 2010 4:11:41 pm Alexander Fiveg wrote: > > Hi, > > from "FreeBSD Developers' Handbook, 10.7 Debugging Loadable Modules Using > > GDB": > > "... > > (kgdb) add-symbol-file /sys/modules/linux/linux.ko 0xc0ae22d0 >

Re: System freezes unexpectly

2010-08-30 Thread Davide Italiano
removing ~/.mozilla works fine. I think that problem's related to add-on Xmarks I've been installer or to "Restore session" functionality ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe

Re: Debugging Loadable Modules Using GDB

2010-08-30 Thread Andriy Gapon
on 30/08/2010 19:12 Alexander Fiveg said the following: > Yes, the .ko files are loaded automatically. The problem is that they do > not contain debugging info. I have always to load the .kld file in order to > debug a module: хытшзъ > Is there any way to get the all symbols and needed debug info

Re: System freezes unexpectly

2010-08-30 Thread Garrett Cooper
On Mon, Aug 30, 2010 at 9:24 AM, Davide Italiano wrote: > removing ~/.mozilla works fine. I think that problem's related to > add-on Xmarks I've been installer or to "Restore session" > functionality It would have been interesting to capture what `froze' the machine, in particular because it coul

Re: Debugging Loadable Modules Using GDB

2010-08-30 Thread John Baldwin
On Monday, August 30, 2010 12:12:50 pm Alexander Fiveg wrote: > On Mon, Aug 30, 2010 at 08:16:11AM -0400, John Baldwin wrote: > > On Friday, August 27, 2010 4:11:41 pm Alexander Fiveg wrote: > > > Hi, > > > from "FreeBSD Developers' Handbook, 10.7 Debugging Loadable Modules Using > > > GDB": > > >

Re: Debugging Loadable Modules Using GDB

2010-08-30 Thread Alexander Fiveg
On Mon, Aug 30, 2010 at 01:10:37PM -0400, John Baldwin wrote: > On Monday, August 30, 2010 12:12:50 pm Alexander Fiveg wrote: > > On Mon, Aug 30, 2010 at 08:16:11AM -0400, John Baldwin wrote: > > > On Friday, August 27, 2010 4:11:41 pm Alexander Fiveg wrote: > > > > Hi, > > > > from "FreeBSD Deve

Re: [RFR] mtree improvements (take 2)

2010-08-30 Thread David Naylor
On Friday 25 June 2010 22:12:42 David Naylor wrote: > On Friday 25 June 2010 20:01:42 Garrett Cooper wrote: > > On Fri, Jun 25, 2010 at 9:52 AM, David Naylor > > wrote: > > > Hi, > > > > > > I've created a patch that increases the performance of mtree. This is > > > of particular use during a p

Re: Debugging Loadable Modules Using GDB

2010-08-30 Thread John Baldwin
On Monday, August 30, 2010 4:34:04 pm Alexander Fiveg wrote: > On Mon, Aug 30, 2010 at 01:10:37PM -0400, John Baldwin wrote: > > On Monday, August 30, 2010 12:12:50 pm Alexander Fiveg wrote: > > > On Mon, Aug 30, 2010 at 08:16:11AM -0400, John Baldwin wrote: > > > > On Friday, August 27, 2010 4:1