Re: INTR_FILTER?

2009-02-02 Thread Andriy Gapon
on 02/02/2009 14:17 Rui Paulo said the following: > > On 2 Feb 2009, at 12:01, Andriy Gapon wrote: > > >> I may be wrong but this could auto-magically improve some cases where >> there are shared interrupts between drivers with ithreads. In this case, >> I think, th

kobj methods (DEVMETHOD) that have differing signatures (in src/sys)

2009-02-04 Thread Andriy Gapon
o the list of files and line numbers where KOBJ methods are set with functions that have differing signatures: http://www.icyb.net.ua/~avg/kobj_method_sigs.txt List of the most common issues can be found at the first link. Hope this is useful. -- Andriy

NO_WERROR vs kernel builds

2009-02-04 Thread Andriy Gapon
= on make's command line to catch a certain kind of warnings in bulk instead of one by one. This was not obvious. -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: kobj methods (DEVMETHOD) that have differing signatures (in src/sys)

2009-02-05 Thread Andriy Gapon
on 04/02/2009 22:11 M. Warner Losh said the following: > In message: <4989e87b.5010...@icyb.net.ua> > Andriy Gapon writes: > : > : This based on the (much) earlier proposal described here: > : http://lists.freebsd.org/pipermail/freebsd-arch/2008-April/007982.ht

Super I/O driver

2009-02-06 Thread Andriy Gapon
serland or GPIO? Something similar to led(4), but more generic (and supporting 'I' as well 'O'). -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send an

i386: rtc, nvram and the upper bank

2009-02-06 Thread Andriy Gapon
cess methods. I already have some code for 1-4 (used on a running system). -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: i386: rtc, nvram and the upper bank

2009-02-06 Thread Andriy Gapon
on 06/02/2009 17:10 Danny Braniss said the following: > take a look in: > http://www.cs.huji.ac.il/~danny/ftp/freebsd/gpio/ > it's a primitive hack/attempt :-) Thanks a lot! P.S. I guess you intended to reply to my other post ("SuperIO blah blah"

(openbsd) sensors framework

2009-02-06 Thread Andriy Gapon
advance. -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: NO_WERROR vs kernel builds

2009-02-06 Thread Andriy Gapon
on 04/02/2009 21:19 Andriy Gapon said the following: > It seems that kernel builds ignore NO_WERROR. > Is this on purpose or by accident? > > I think that this happens because of the following lines in > sys/conf/kern.pre.mk: > > .if ${CC} != "icc" > C

superio and "shared" io port

2009-02-10 Thread Andriy Gapon
forwarding non-magic accesses to the fdc. I wonder what is the best way to handle this double-use of an io port with newbus isa code. -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

a little bit of c++ in kernel [module]

2009-02-10 Thread Andriy Gapon
with such interest. P.S. no, I am not interested in re-writing the whole kernel in c++ or any discussion on that topic, I am interested in a small controlled injection. -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.o

generalizing fd allocation code to id allocation

2009-02-11 Thread Andriy Gapon
t addr 0x%02x\n", addr); map[NDSLOT(addr)] &= ~NDBIT(addr); } Essentially this is almost a copy/paste. -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: generalizing fd allocation code to id allocation

2009-02-11 Thread Andriy Gapon
My nose has just been rubbed into alloc_unr(9) :) Thanks, Roman! on 11/02/2009 14:53 Andriy Gapon said the following: > Guys, > > anybody has ideas (or code) for generalizing code in > sys/kern/kern_descrip.c for managing fd-s ("small" integer numbers)? > > I m

Re: a little bit of c++ in kernel [module]

2009-02-11 Thread Andriy Gapon
you have to write any other run-time support code or platform glue code (besides new/delete)? 3. I assume virtual inheritance can be used in kernel code? do you use it? Thank you again! -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list htt

userland driver?

2009-02-11 Thread Andriy Gapon
is to go through /dev/mem, /dev/io, /dev/pci, but I am thinking about something that would allow to plug into newbus framework from userland. -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd

Re: a little bit of c++ in kernel [module]

2009-02-12 Thread Andriy Gapon
on 11/02/2009 23:51 Christoph Mallon said the following: > Aniruddha Bohra schrieb: >> On Wed, Feb 11, 2009 at 8:25 AM, Andriy Gapon wrote: [snip] >>> 3. I assume virtual inheritance can be used in kernel code? do you >>> use it? > > Virtual inheritence needs

booting/loading a tool, not kernel

2009-02-16 Thread Andriy Gapon
ow to get to a loader menu without pre-loading anything? -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: booting/loading a tool, not kernel

2009-02-17 Thread Andriy Gapon
directory to put such tools? >> What would be a good way to add a sub-menu for such tools? >> >> Also, my current approach means that loader still first loads a standard >> kernel and its modules and then replaces them with memetest86. How to >> get to a loader m

Re: booting/loading a tool, not kernel

2009-02-17 Thread Andriy Gapon
on 17/02/2009 14:00 Daniel O'Connor said the following: > On Tuesday 17 February 2009 21:45:19 Andriy Gapon wrote: >> on 17/02/2009 12:25 Nick Hibma said the following: >>> You are aware of nextboot(8)? That you could use to specify the 'kernel' >>> to loa

ieee working group on c++ posix bindings

2009-03-02 Thread Andriy Gapon
ncies, and incompatibilities. https://www.redhat.com/mailman/listinfo/posix-c++-wg -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-h

ln: posixly confused

2009-03-03 Thread Andriy Gapon
I also read this: http://www.opengroup.org/onlinepubs/009695399/utilities/ln.html I think that the text there (and in ln(1)) implies what I expected, but this is not spelled out clearly. I am confused. -- Andriy Gapon ___ freebsd-hackers@freebsd.org m

Re: ln: posixly confused

2009-03-03 Thread Andriy Gapon
on 03/03/2009 20:32 Nate Eldredge said the following: > On Tue, 3 Mar 2009, Andriy Gapon wrote: > >> >> Test case. >> Preparation: >> $ mkdir linktest >> $ cd linktest >> $ mkdir some_dir >> $ mkdir other_dir >> The test: >>

intpm: multiple salves, collision ??

2009-03-13 Thread Andriy Gapon
: error = 8, status = 0x8 That is, PIIX4_SMBHSTSTAT_BUSC translated to SMB_ECOLLI. Error can not be reproduced if only one slave is accessed, no matter in what patterns. -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http

Re: intpm: multiple salves, collision ??

2009-03-13 Thread Andriy Gapon
on 13/03/2009 15:27 Andriy Gapon said the following: > I observe some quite odd behavior with intpm(4). > I have a program that access two slaves at a high rate (no sleeps or > long calculations). The typical pattern of access is: > 1. SMB_WRITEB slave1 reg1 > 2. SMB_READB

Re: intpm: multiple salves, collision [solved]

2009-03-13 Thread Andriy Gapon
on 13/03/2009 16:29 Andriy Gapon said the following: > > Sorry for the noise, the problem seems to be in misbehavior on part of one of > the > slaves used by the original program. I wrote a minimalistic test program and > ran > it for several different combinations of slave

Re: usb keyboard dying at loader prompt

2009-03-18 Thread Andriy Gapon
I would like to report that I am no longer seeing the issue in the subject line. The problem was fixed by the recent commits of jhb ( I tested stable/7). -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman

fdc io ports

2009-03-23 Thread Andriy Gapon
g is that I am hacking on a driver for a Super I/O chip that actually uses 0x3f0 and 0x3f1 ports and there is a resource conflict with fdc when ACPI is disabled. It's not an issue, but I thought that we could free up those ports. -- Andriy Gapon __

Re: Switching to SMM with FreeBSD 6.2 onwards

2009-03-27 Thread Andriy Gapon
, "dN" (port)); >>> } >>> Take a look at machine/cpufunc.h >>> My goal is to switch the processor to SMM by triggering SMI from userland. >> >> Probably this will work. >> So what do you want ask about that? > > One thing that comes

Re: Switching to SMM with FreeBSD 6.2 onwards

2009-03-27 Thread Andriy Gapon
on 27/03/2009 15:47 Won De Erick said the following: > --- On Fri, 3/27/09, Andriy Gapon wrote: >> on 27/03/2009 12:35 Ivan Voras said the following: >>> One thing that comes to my mind is this: >>> http://invisiblethingslab.com/resources/misc09/smm_cache_fun.pdf >

hot-attach SATA drive

2009-03-30 Thread Andriy Gapon
new disk showed up. Then I finally rebooted, the disk showed up OK. Question: was hot-attach expected to work? Is there a limitation in hardware or in our driver? Note: I attached the drive to a regular SATA port, not eSATA. -- Andriy Gapon

Re: hot-attach SATA drive

2009-03-30 Thread Andriy Gapon
on 30/03/2009 14:14 Alexander Motin said the following: > Andriy Gapon wrote: >> Recently I tried to hot-attach a SATA drive to a running system. >> Controller is ICH9 in AHCI mode. Physically/electronically everything went >> smoothly, the drive spun-up. Then I tried to det

watchdog: hw+sw?

2009-04-02 Thread Andriy Gapon
er in reasonable time. Suggestions, opinions? Thank you! -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: watchdog: hw+sw?

2009-04-07 Thread Andriy Gapon
(b) it wastes more time if sw wd is not able to fire. Since using sw and hw watchdogs together makes more sense in unattended scenarios, I think that approach #2 may be better. IMO, attended scenarios should use sw wd exclusively. -- Andriy Gapon ___ freeb

smart self-test vs 7200.12/ich9r/ahci

2009-04-09 Thread Andriy Gapon
I wonder if anybody has an issue like I do: http://thread.gmane.org/gmane.linux.utilities.smartmontools/6354 Does anybody has guesses/clues about what might be happening? -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http

Re: smart self-test vs 7200.12/ich9r/ahci

2009-04-13 Thread Andriy Gapon
on 12/04/2009 22:02 Sean Bruno said the following: > On Thu, 2009-04-09 at 16:24 +0300, Andriy Gapon wrote: >> I wonder if anybody has an issue like I do: >> http://thread.gmane.org/gmane.linux.utilities.smartmontools/6354 >> >> Does anybody has guesses/clues ab

Re: smart self-test vs 7200.12/ich9r/ahci

2009-04-13 Thread Andriy Gapon
on 13/04/2009 18:48 Sean Bruno said the following: > On Mon, 2009-04-13 at 10:06 +0300, Andriy Gapon wrote: >> Smart self test never completing. > > The "self-test" never goes beyond "90%" complete? Yes, exactly. Even for the short one, which is supposed to c

Re: smart self-test vs 7200.12/ich9r/ahci

2009-04-14 Thread Andriy Gapon
on 13/04/2009 18:51 Andriy Gapon said the following: > on 13/04/2009 18:48 Sean Bruno said the following: >> The "self-test" never goes beyond "90%" complete? > > Yes, exactly. Even for the short one, which is supposed to complete in 1 > minute: A

ac97 interface q

2009-04-15 Thread Andriy Gapon
ced to use the interface properly (i.e. attempt to detect error conditions) or should the interface be dumbed down to its caller's expectations? My ultimate goal is to make all implementations have exactly the signature mandated by the interface. -- Andriy Gapon _

Re: C99: Suggestions for style(9)

2009-05-05 Thread Andriy Gapon
ically distinct entities" [as to be different variables]. But they are sufficiently related to be used in the same function. -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: Definition of NULL

2009-05-05 Thread Andriy Gapon
y be used (with some known limitations). -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: Reading acpi memory from a driver attached to hostb

2009-07-20 Thread Andriy Gapon
but logically they can share data or otherwise cooperate. /sys/dev/cpufreq/ichss.c prior to rev. 177041 used to be like that. -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: distributed scm+freebsd svn?

2009-07-27 Thread Andriy Gapon
ng, I have to use svn for doing "official" (svn) MFCs. Local MFCs via git always stay local. P.S. I am looking for a distributed solution (mercurial, bazaar?) that won't take away what I have with git, but would correctly work with svn mergeinfo. -- Andriy Gapon ___

GA-MA780G-UD3H motherboard

2009-08-25 Thread Andriy Gapon
is email. Meanwhile, if you interested in any information about this motherboard - data dumps, outputs from tools, etc - please let me know, I will try my best to provide that. -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.fre

AMD SB700 watchdog driver?

2009-08-25 Thread Andriy Gapon
Anybody has any code for AMD SB700 watchdog driver? I see that there is none in FreeBSD and I'd like to write one. So I could re-use anything that you have for a faster start. In any case, I expect the driver to be rather simple. -- Andriy

AMD SB700 SMBus controller driver

2009-08-25 Thread Andriy Gapon
bility of forced or auto-detected polling mode and support for PCI id of SB700 SMBus controller and its peculiarities. -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscrib

GA-MA780G-UD3H hardware monitoring

2009-08-25 Thread Andriy Gapon
some data. I am not sure if the data is entirely correct, but it looks sane/reasonable. Still I would like to not only monitor temperatures, voltages and fan speeds, but even to be able to control fan speed. Any links, pointers, ideas, code would be very appreciated! -- Andriy

Re: GA-MA780G-UD3H motherboard

2009-08-26 Thread Andriy Gapon
g to see a dmesg as a starting point. Please see http://people.freebsd.org/~avg/ga-ma780g-ud3h/ Replying to the other email - I use amd64 arch. -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ha

Re: AMD SB700 SMBus controller driver

2009-08-26 Thread Andriy Gapon
upt 20 - doesn't work 5. force polling mode - seems to work -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

enable ECC in OS code?

2009-08-26 Thread Andriy Gapon
y ECC setup (nor there is any option to control that) - would it be possible to turn on ECC from OS code? Or is it too late in the game already? -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/fr

heci: a new driver for review and testing

2009-10-14 Thread Andriy Gapon
are not copyrightable at all? I added a bunch of comments to those file describing the constants and structs. -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, se

Re: heci: a new driver for review and testing

2009-10-14 Thread Andriy Gapon
on 15/10/2009 00:25 Robert Noland said the following: > On Wed, 2009-10-14 at 20:12 +0300, Andriy Gapon wrote: >> Some time ago I posted some ideas about HECI/MEI driver for FreeBSD: >> http://docs.freebsd.org/cgi/mid.cgi?4968E9A1.3080006 >> >> I actually got around to

Re: heci: a new driver for review and testing

2009-10-14 Thread Andriy Gapon
on 15/10/2009 00:35 Robert Noland said the following: > On Wed, 2009-10-14 at 20:12 +0300, Andriy Gapon wrote: >> Some time ago I posted some ideas about HECI/MEI driver for FreeBSD: >> http://docs.freebsd.org/cgi/mid.cgi?4968E9A1.3080006 >> >> I actually got around to

SB7xx watchdog: new driver for review and testing

2009-10-18 Thread Andriy Gapon
oesn't have anything else ACPI-ish in it, so I decided that it doesn't belong under acpica/ or acpi_support/. Am I correct about this? Anything else you would like to report or comment or advise to me. Thank you very much for your help. -- Andriy Gapon

Re: SB7xx watchdog: new driver for review and testing

2009-10-18 Thread Andriy Gapon
on 18/10/2009 23:10 Andriy Gapon said the following: > Please review and/or test a new driver for watchdog driver included into AMD ^-hardware Oh, and please note things marked with XXX and TODO in the code. -- Andriy Ga

special key (combo) for switching to K_XLATE

2009-10-18 Thread Andriy Gapon
else if (KEYCHAR(c) == 0xe0) + e0 = 1; + } return KEYCHAR(c); +} /* if scroll-lock pressed allow history browsing */ if (!ISGRAPHSC(scp) && scp->history && scp->status & SLKED) { -- Andriy Gapon _

Re: SB7xx watchdog: new driver for review and testing

2009-10-19 Thread Andriy Gapon
on 19/10/2009 14:17 Rui Paulo said the following: > On 18 Oct 2009, at 21:10, Andriy Gapon wrote: > >> Please review and/or test a new driver for watchdog driver included >> into AMD SB7xx: >> http://people.freebsd.org/~avg/amdsbwd.tgz >> I have tested this driver

Re: SB7xx watchdog: new driver for review and testing

2009-10-19 Thread Andriy Gapon
I have put updated version of the driver (C file only) here: http://people.freebsd.org/~avg/amdsbwd.c Please let me know how it looks now. Thank you! -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman

Re: SB7xx watchdog: new driver for review and testing

2009-10-19 Thread Andriy Gapon
on 19/10/2009 18:47 Rui Paulo said the following: > On 19 Oct 2009, at 16:41, Andriy Gapon wrote: > >> >> I have put updated version of the driver (C file only) here: >> http://people.freebsd.org/~avg/amdsbwd.c > > Looks good to me. Thank you for the review and t

Re: heci: a new driver for review and testing

2009-11-10 Thread Andriy Gapon
on 09/11/2009 22:34 Gavin Atkinson said the following: > On Wed, 14 Oct 2009, Andriy Gapon wrote: >> Some time ago I posted some ideas about HECI/MEI driver for FreeBSD: >> http://docs.freebsd.org/cgi/mid.cgi?4968E9A1.3080006 >> >> I actually got around to implementin

Re: heci: a new driver for review and testing

2009-11-10 Thread Andriy Gapon
on 10/11/2009 13:54 Andriy Gapon said the following: > on 09/11/2009 22:34 Gavin Atkinson said the following: >> Secondly, I get a panic on module unlaod. I haven't spent any time >> looking at this, if you haven't fixed it yet let me know and I'll look >>

Re: heci: a new driver for review and testing

2009-11-11 Thread Andriy Gapon
on 10/11/2009 20:42 Gavin Atkinson said the following: > On Tue, 10 Nov 2009, Andriy Gapon wrote: >> on 10/11/2009 13:54 Andriy Gapon said the following: >>> on 09/11/2009 22:34 Gavin Atkinson said the following: >> I think I've found one bug in the heci code tha

Re: ukbd attachment and root mount

2009-12-02 Thread Andriy Gapon
on 28/11/2008 15:12 Andriy Gapon said the following: > on 27/11/2008 15:23 Andriy Gapon said the following: >> I increased debug level in uhub and also switched mouse and keyboard >> ports hoping that order might matter. It didn't. >> >> Here's fresh usbdevs ou

Re: Superpages on amd64 FreeBSD 7.2-STABLE

2009-12-08 Thread Andriy Gapon
s section is either already removed or is going to be. -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: Strange network issue in freebsd 8

2010-01-28 Thread Andriy Gapon
on 28/01/2010 05:03 sam said the following: > that s why I 've been so in doubt using freebsd AMD64 release. Why again? -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ha

Re: Strange problem with 8-stable, VMWare vSphere 4 & AMD CPUs (unexpected shutdowns)

2010-02-10 Thread Andriy Gapon
hat, or has an idea why this happens. Wild guess - try disabling superpages in the guests. -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: Strange problem with 8-stable, VMWare vSphere 4 & AMD CPUs (unexpected shutdowns)

2010-02-10 Thread Andriy Gapon
on 10/02/2010 19:05 Ivan Voras said the following: > On 02/10/10 17:05, Andriy Gapon wrote: >> on 10/02/2010 17:36 Ivan Voras said the following: >>> It looks like I've stumbled upon a bug in vSphere 4 (recent update) with >>> FreeBSD/amd64 8.0/8-stable (but not 7.

Re: System() returning ECHILD error on FreeBSD 7.2

2010-02-10 Thread Andriy Gapon
ndler would effectively 'reap' the child and thus wait*() in system would rightfully return ECHILD (perhaps after doing EINTR iteration of the loop). -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/

Re: Strange problem with 8-stable, VMWare vSphere 4 & AMD CPUs (unexpected shutdowns)

2010-02-10 Thread Andriy Gapon
ters for certain processor features. We don't do anything that strays from specifications. -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any ma

Re: Strange problem with 8-stable, VMWare vSphere 4 & AMD CPUs (unexpected shutdowns)

2010-02-10 Thread Andriy Gapon
on 10/02/2010 20:26 Ivan Voras said the following: > On 10 February 2010 19:10, Andriy Gapon wrote: >> on 10/02/2010 20:03 Ivan Voras said the following: >>> When you say "very unique" is it in the "it is not Linux or Windows" >>> sense or do we do

Re: southbridge recognition

2010-03-10 Thread Andriy Gapon
ine vendor of device 0:0:0. Something like: dev = pci_find_bsf(0, 0, 0); pci_get_vendorid(dev); With all the checks and stuff. Please keep in mind that there could be other vendors too (e.g. nvidia). Also, access to the upper RTC NVRAM bank may be disabled in chipset configura

Re: southbridge recognition

2010-03-10 Thread Andriy Gapon
y Two last patches are on top of the intel-rtc-nvram.diff patch, not against the clean tree. -- Andriy Gapon diff --git a/sys/dev/pci/fixup_pci.c b/sys/dev/pci/fixup_pci.c index 13fc4b1..566e503 100644 --- a/sys/dev/pci/fixup_pci.c +++ b/sys/dev/pci/fixup_pci.c @@ -52,6 +52,7 @@ __FBS

Re: ATA 4K sector issues

2010-03-17 Thread Andriy Gapon
Did you mean to say gpart(1)? :) AFAIK, the tool(s) do not auto-align on 4K boundaries, but they give user an ability to do that by hand. Besides, some 4K sector disks lie that they have 512 sectors. -- Andriy Gapon ___ freebsd-hackers@freebsd.org ma

Re: nroff -man, .An Aq formatting

2010-03-21 Thread Andriy Gapon
my terminal (rxvt-unicode) has trouble displaying them. > > Does anybody know a workaround for this? > -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

WARNING pid ... (VBoxSVC): ioctl sign-extension ioctl ffffffffc4a81502

2010-03-25 Thread Andriy Gapon
I know too little to suggest a resolution. P.S. it seems that Mac OS X is in the same boat as FreeBSD, perhaps other BSDs too. -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubsc

Re: WARNING pid ... (VBoxSVC): ioctl sign-extension ioctl ffffffffc4a81502

2010-03-26 Thread Andriy Gapon
much. Sorry for not checking the upstream repository first. -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

periodically save current time to time-of-day hardware

2010-03-26 Thread Andriy Gapon
-* * Generic routines to convert between a POSIX date * (seconds since 1/1/1970) and yr/mo/day/hr/min/sec -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers

Re: periodically save current time to time-of-day hardware

2010-03-26 Thread Andriy Gapon
on 26/03/2010 17:12 Ed Schouten said the following: > * Andriy Gapon wrote: >> +timeout(periodic_resettodr, NULL, 1800 * hz); > > By the way, wouldn't it be a little nicer to use callout(9)? I don't know :-) I see that timeout is deprecated and is unsafe in some res

Re: periodically save current time to time-of-day hardware

2010-03-26 Thread Andriy Gapon
on 26/03/2010 17:44 Dag-Erling Smørgrav said the following: > Andriy Gapon writes: >> What do you think about the following patch or something similar? > > I've wondered for years why we didn't already do this. > >> Also, I am aware that the period should

Re: periodically save current time to time-of-day hardware

2010-03-30 Thread Andriy Gapon
e a callout > schedule a task for taskqueue_thread). Guys, do you think that periodic saving of system clock to hardware and making resettodr asynchronous are dependent issues? Or are they orthogonal and can be implemented independently? -- Andriy Gapon

Re: Dynamic ticks in FreeBSD

2010-03-31 Thread Andriy Gapon
till in progress/plans? Also, I am not sure if the code handles the case when a new 'soonest' callout is scheduled after we already decided when to fire the next LAPIC timer interrupt. Thank you very much again! Please keep up the good work :) -- Andriy Gapon __

Re: howto make 8.0-RELEASE-i386-disc1.iso

2010-04-03 Thread Andriy Gapon
questions like this, there is freebsd-questions@ -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: periodically save current time to time-of-day hardware

2010-04-06 Thread Andriy Gapon
on 30/03/2010 19:43 Andriy Gapon said the following: > > do you think that periodic saving of system clock to hardware and making > resettodr > asynchronous are dependent issues? Or are they orthogonal and can be > implemented > independently? A new version

Re: virtual drive errors

2010-04-07 Thread Andriy Gapon
cksize each time the * CD device is opened. This is because the CD can change, * and therefore the blocksize might change. Or alternatively, the assignments could be moved past the bailout label. Will you be able to test this patch using your scenario with already installed FreeBSD? Or perhaps by creating your own bootable/live FreeBSD CD? -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: periodically save current time to time-of-day hardware

2010-04-15 Thread Andriy Gapon
on 06/04/2010 15:47 Andriy Gapon said the following: > on 30/03/2010 19:43 Andriy Gapon said the following: >> do you think that periodic saving of system clock to hardware and making >> resettodr >> asynchronous are dependent issues? Or are they orthogonal and c

towards fixing intermingled dmesg

2010-04-17 Thread Andriy Gapon
} +} + /* * Read and mark as read a character from a message buffer. * Returns the character, or -1 if no characters are available. -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hac

Re: Fwd: mkuzip and/or geom_uzip changes?

2010-04-18 Thread Andriy Gapon
re my work-in-progress article on my toying with some LiveCD creation methods: http://wiki.freebsd.org/AvgLiveCD -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, sen

Re: Loading a KLM at boot time (issues)

2010-04-18 Thread Andriy Gapon
r reports from kernel linker too. -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

Re: Fwd: mkuzip and/or geom_uzip changes?

2010-04-19 Thread Andriy Gapon
on 18/04/2010 13:21 Garrett Cooper said the following: > On Sun, Apr 18, 2010 at 12:52 AM, Andriy Gapon wrote: >> on 18/04/2010 06:11 Yoshihiro Ota said the following: >>> If you want to make a bootable FreeBSD CD, take a look at >>> freesbie in ports. That's w

Re: RevLin OS: Help wanted

2010-04-23 Thread Andriy Gapon
ives to Linux and specifically for your interest in FreeBSD. Is it based on some technical aspects, or license, or something else? Thanks a lot! -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listin

[Fwd: rc.d/root: handle filesystems with r/o support only]

2010-04-28 Thread Andriy Gapon
There was no excitement over the proposed patch on rc@, perhaps more luck here :-) Original Message Subject: rc.d/root: handle filesystems with r/o support only Date: Sat, 17 Apr 2010 22:16:30 +0300 From: Andriy Gapon To: freebsd...@freebsd.org Could you please review the

working with PCI config registers (extensively)

2006-06-07 Thread Andriy Gapon
. Basically things that should not matter in practice :-) -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

using smbus from within kernel-land

2006-06-07 Thread Andriy Gapon
sically, outer loop tries to loop over all smbus devices/units I could imagine (0-127), inner loop checks identity registers/commands against expected values. Currently I check only one slave address, but I plan to add an intermediate loop that will loop over all possible 127 slave addresses.

Re: working with PCI config registers (extensively)

2006-06-09 Thread Andriy Gapon
on 09/06/2006 08:35 M. Warner Losh said the following: > In message: <[EMAIL PROTECTED]> > Andriy Gapon <[EMAIL PROTECTED]> writes: > : > : I am writing a driver for some PCI hardware that does not have any IO > : ports or IO memory (and thus does not have a

in-flight timer(s) recalibration

2006-06-09 Thread Andriy Gapon
ently selected) timecounter ? -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

apic detection

2006-06-14 Thread Andriy Gapon
What is proper way to check from a driver/module if APIC is being used ? Or even narrower, if local APIC timer is being used ? -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To

Re: apic detection

2006-06-15 Thread Andriy Gapon
on 15/06/2006 20:10 John Baldwin said the following: > On Wednesday 14 June 2006 12:33, Andriy Gapon wrote: >> What is proper way to check from a driver/module if APIC is being used ? >> Or even narrower, if local APIC timer is being used ? > > There isn't currently

vop_stratgey name

2006-07-04 Thread Andriy Gapon
Maybe this question rather belongs to -questions (or -ancient-history), but I thought I'd get a better chance here. I wonder why vop_strategy is named that, what meaning of "strategy" is used here ? I mean this is a read-or-write function for block devices, why "strategy&qu

Re: [kde-freebsd] virtualbox file dialog problem

2013-08-28 Thread Andriy Gapon
on 18/07/2013 10:06 Andriy Gapon said the following: > on 18/07/2013 03:25 Greg Rivers said the following: >> On Wed, 17 Jul 2013, Andriy Gapon wrote: >> >>> I run virtualbox in KDE environment. A while ago (can't say exactly when) I >>> started to have a

Re: [kde-freebsd] virtualbox file dialog problem

2013-08-28 Thread Andriy Gapon
on 28/08/2013 15:09 Andriy Gapon said the following: > Now a description of the problem. > > 1. VirtualBox executable is installed setuid root. Apparently, when it is run > it does some privileged things and then drops all of the uids and gids (real, > effective and saved) ba

Re: Fatal trap 12 going from 8.2 to 8.4 with ZFS

2013-08-29 Thread Andriy Gapon
g if anyone can suggest what I should try to get this working? > I used freebsd-update to upgrade, and this was after the first > "freebsd-update install" where it installs the kernel. -- Andriy Gapon ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

<    1   2   3   4   5   6   7   >