Re: bus_setup_intr (9)

2009-02-12 Thread Paolo Pisati
Alexej Sokolov wrote: from man: int bus_setup_intr(device_t dev, struct resource *r, int flags, driver_filter_t filter, driver_intr_t ithread, void *arg, void **cookiep); The function filter returns value of type driver_filter_t (int). This function will run if interrupt

Re: INTR_FILTER?

2009-01-30 Thread Paolo Pisati
Andriy Gapon wrote: INTR_FILTER - what does it do? It doesn't seem to be documented anywhere, but seems to affect interrupt code. for a bit more information about interrupt filtering, see here: http://lists.freebsd.org/pipermail/freebsd-hackers/2007-February/019704.html -- bye, P. __

smbus & i2c: why i2c is not enabled on ich?

2008-09-21 Thread Paolo Pisati
Any reason why i2c mode in not enable in ichsmb? [EMAIL PROTECTED]:0:31:3:class=0x0c0500 card=0x82d81043 chip=0x266a8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '82801FB (ICH6) SMBus Controller' class = serial bus subclass = SMBus [EMAIL PROTEC

Re: Lost interrupts during boot

2007-06-08 Thread Paolo Pisati
> I testing booting with a combo USB/Firewire carbus card, but no interrupts > are > genereated. If I plug the card in when the computer is not cold, it works > fine. Any ideas? Does the cardbus driver generate a dummy interrupt to > make > sure that any outstanding interrupts are cleared? how ol

Re: HEADS UP: interrupt filtering & newbus API breakage

2007-02-21 Thread Paolo Pisati
On Tue, Feb 20, 2007 at 10:17:21AM -0800, Doug Barton wrote: > Paolo Pisati wrote: > > > So, if none as anything against it, i'm going to commit this work on > > Friday 23 around 14:00 UTC, so speak now or forever hold your peace. > > With any kind of luck this is

HEADS UP: interrupt filtering & newbus API breakage

2007-02-20 Thread Paolo Pisati
Hi developers, after re@ approval, i'm ready to commit my first interrupt filtering patch that contains _JUST_ the modification to the newbus API: no new features, no improvement to the interrupt handling, etcetc The patches against a 4 weeks old HEAD are here: http://people.freebsd.org/~piso/in

Re: Intel 945GM chipset support

2006-06-07 Thread Paolo Pisati
e ... > works flawlessly here except for X: there's no agp support for this chipset, that means you have to use vesa. bye -- Paolo Piso's first law: nothing works as expected! ___ freebsd-hackers@freebsd.org mailing list http://lists.freeb

Re: qemu is unusable on my smp box

2006-05-13 Thread Paolo Pisati
On Sat, May 13, 2006 at 02:05:58PM +0200, Ivan Voras wrote: > Paolo Pisati wrote: > > >all these problems occur on a dualcore pentiumd 920 (2.8Ghz), > >2gb ram, intel 945g (X in vesa mode- agp doesn't attach) > >(see dmesg attached), while the exact same freesbie

qemu is unusable on my smp box

2006-05-12 Thread Paolo Pisati
am, intel 945g (X in vesa mode- agp doesn't attach) (see dmesg attached), while the exact same freesbie images runs fine on a 6.1 [EMAIL PROTECTED] 512mb ram and intel 915g (X with i810 and dri). Am i the only one to experience these problems? Is anyone running qemu on a SMP host? -- P

[patch] Redirect and LSNAT support in ipfw

2006-02-18 Thread Paolo Pisati
/~flag/libalias/libalias.tgz There's a detailed readme.txt inside the archive that explains pretty much all you want to know: from installtion process to internals, so read it. Enjoy. -- Paolo ___ freebsd-hackers@freebsd.org mailing list http://lists

EVENTHANDLER and ifaddr_event

2005-12-10 Thread Paolo Pisati
Hi hackers, i'm using EVENTHANDLER(ifaddr_event, ...) to monitor nic address change on FreeBSD 6.x. It's working fine but my callback function is called 2 times per address change, and i don't understand why. Is it the supposed behavior? T

Re: IPFW NATD = NAT POOL

2005-09-22 Thread Paolo Pisati
2.168.0.456 ... ipfw add 100 nat 1 all from any to any via [if0] ipfw add 200 nat 2 all from any to any via [if1] ... so someone will finally test it... :) [*] http://wikitest.freebsd.org/moin.cgi/PaoloPisati -- Paolo ___ freebsd-hackers@freebsd.org m

Summer of Code 2005: Improve Libalias

2005-09-06 Thread Paolo Pisati
ule works both when libalias run as kld or user land lib -something else that i don't remember now... Feel free to report about bugs or design issue, bye -- Paolo ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listi

Re: i915 AGP not supported aka PR kern/80396

2005-05-22 Thread Paolo Pisati
On Sat, May 21, 2005 at 03:17:21PM +0200, Paolo Pisati wrote: > > (i already sent an email to Eric some days ago but i > didn't receive any ack so i try here...) > > can anyone take a look at this? > as the comments say, agp still doesn't > work... > > any

i915 AGP not supported aka PR kern/80396

2005-05-21 Thread Paolo Pisati
27; device = 'RL5c476 CardBus Controller' class= bridge subclass = PCI-CardBus [EMAIL PROTECTED]:1:1: class=0x0c0010 card=0x01881028 chip=0x05521180 rev=0x08 hdr=0x00 vendor = 'Ricoh Co Ltd' device = 'RL5c552 IEEE-1394 Controller' class= serial bus subclass = FireWire [EMAIL PROTECTED]:1:2: class=0x080501 card=0x01881028 chip=0x08221180 rev=0x17 hdr=0x00 vendor = 'Ricoh Co Ltd' class= base peripheral [EMAIL PROTECTED]:3:0: class=0x028000 card=0x27228086 chip=0x42208086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' device = 'PRO/Wireless 2200BG Network Connection' class= network -- Paolo ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Spin down hard disk: any suggestions?

2005-05-07 Thread Paolo Pisati
e annoying when your brand new USB disk starts getting hotter and hotter cause the bloody usb case is too little and there's no air circulation/fan at all... Thanks. -- Paolo ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mai

sysctl stuff and your article in daemon news zine 200305

2004-09-16 Thread Paolo Pisati
l, i know i'm wrong somewhere, but i don't know where... =P I read some sources of geom and random but i couldn't find where's my mistake, hope someone can help me... =P Thank you. -- Paolo Italian FreeBSD User Group: http://www.gufi.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Installing minibsd inside vmware virtual disk

2004-09-14 Thread Paolo Pisati
Entropy device device loop# Network loopback device ether # Ethernet support device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory &

Library (ab)use in kernel land

2004-08-28 Thread Paolo Pisati
As a general rule of thumb, which are the safe libraries we can link against while developing a kernel module? I mean, can i use libc functions? All of them? And what about the other libraries in the base system? Thanks. -- Paolo Italian FreeBSD User Group: http://www.gufi.org

Playing with mbuf in userland

2004-08-22 Thread Paolo Pisati
ese struct from stack to userland? Or should i fake it in userland? Thank you. -- Paolo Italian FreeBSD User Group: http://www.gufi.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send a

Re: Confused about HyperThreading and Performance

2003-11-12 Thread Paolo Pisati
On Wed, Nov 12, 2003 at 02:28:25PM -0500, Daniel Ellard wrote: > > My questions: did you try setting: machdep.cpu_idle_hlt: 1 ? It should help on HTT system. -- Paolo Italian FreeBSD User Group: http://www.gufi.org ___ [EMAIL PROTECTED] m

Ngctl hangs while it tries to connect to my netgraph node

2003-08-29 Thread Paolo Pisati
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/NEWLUXOR i386 -- Paolo GUFI: http://www.gufi.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: new routing protocol

2003-08-20 Thread Paolo Pisati
suse of the stack space will bring your computer down (sooner or later). It would be nice to have a manual of the "for dummies" collection called "writing code in kernel land" aka "be careful! we don't have seat belt here!&quo

Netgraph node, first steps in kernel land and a bloody crash dump

2003-07-31 Thread Paolo Pisati
the modules and it didn't work). Ok, enough for today, i wish someone could shed some light here, cause i really gave up... =( on a side note: [EMAIL PROTECTED] flag]$ man 9 printf No entry for printf in section 9 of the manual [EMAIL PROTECTED] flag]$ what's happened to

[newbie] Allocating memory in kernel land

2003-06-30 Thread Paolo Pisati
? like memory/stack limit, syscall, things thats shouldn't be, and so on. thanks in advance. -- Paolo GUFI: http://www.gufi.org ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"

[Netgraph] Inserting a node in a running net config. (ADSL PPPOE)

2003-06-25 Thread Paolo Pisati
conncet my own node between the pppoe node and the socket node connected to tun0. Is it possibile with a working netgraph net? If not, how can i start the adsl link "by hand"? I mean, is it possible to create by hand the netgraph net and then starts somehow the ppp on it? thanks. -- Pao

Simple question about profiling

2003-02-18 Thread Paolo Pisati
eight [29] [snip] i think this is the beef: what the hell is .mcount?!?! if i read the table correctly, .mcount is the guilty, isn't it? any help or pointer is appreciated, thank you... =) -- Paolo To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers"

Crash dump in attach

2002-10-02 Thread Paolo Pisati
It looks like i've finally achieved my first crash dump: see it in attach thanks -- Paolo Italian FreeBSD User Group: http://www.gufi.org To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Crash dump with attach =P

2002-10-02 Thread Paolo Pisati
sorry... =P -- Paolo Italian FreeBSD User Group: http://www.gufi.org Script started on Wed Oct 2 14:42:26 2002 GNU gdb 4.18 (FreeBSD) Copyright 1998 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or

Crash dump problem

2002-10-01 Thread Paolo Pisati
//vmcore.1.gz savecore: /usr/home/flag//vmcore.1.gz: Illegal seek Oct 1 23:13:22 southcross savecore: /usr/home/flag//vmcore.1.gz: Illegal seek savecore: WARNING: vmcore may be incomplete what's wrong? -- Paolo Italian FreeBSD User Group: http://www.gufi.org To Unsubscribe: send mail to [

coredump incomplete

2002-10-01 Thread Paolo Pisati
I'm trying to reproduce a bug of my system, and create a dump but, just after my system rebooted, at the end of the boot process, savecore found a seek problem or something like that and the vmcore created was of only 10 bytes!!! =P which errors did i make?!?!? -- Paolo Italian Fr

Do u think I can trust memtest from ports?

2002-09-30 Thread Paolo Pisati
If I load the agp module and i run memtest, i got a lot of errors (and in the past i exprienced even system crash), while if i don't load agp module and i run memtest everything is ok: why the agp module gives me these memory problems? bye -- Paolo Italian FreeBSD User Group:

Hey, is there space for a newbie? =)

2002-09-24 Thread Paolo Pisati
ew? -a fs with journaling: some times ago, i would like to develop my own fs with journaling, but right now i could even drop the dream of my own fs and JUST port the xfs/jfs for FreeBSD.. -kgi: is it dead or what? any ideas is welcome =) -- Paolo Italian FreeBSD User Group: http://www.gu

to log the output of rc scripts

2002-09-03 Thread Paolo
I started working on the subject? Thanks! Paolo To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message

Re: A time resolution problem

2002-05-03 Thread Paolo Di Francesco
> Paolo Di Francesco wrote: > > > [SNIP] > > 1 msec. (recompiled the kernel with HZ=10) > > > > in my experience, compiling a kernel with HZ greater than 10.000 (ten > thousand) is uselesss (I even had crash with greater HZ) > > TfH > Yes,

A time resolution problem

2002-05-03 Thread Paolo Di Francesco
Hello hackers, I am trying to write a simple C program that must do some specialized things. The idea is that the program must send packets each T seconds. Ok, I know.. use the sleep, microsleep things, and it works pretty well if the interval is greater than 1 msec. (recompiled the kernel wi

Writing a file system? Docs? Info? Article?

2002-03-28 Thread Paolo Pisati
Sometimes ago, I heard someone wanted to write a fs example (article? howto?) just to teach how to write a real fs under FreeBSD. I'm looking for this kind of info, any good pointer is welcome... -- Paolo Italian FreeBSD User Group: http://www.gufi.org To Unsubscribe: send mail to [

First prg with sysctl

2001-10-13 Thread Paolo Pisati
ib, 5, count, sizeof(int),(void *)NULL, NULL); printf("count: %d\n",*count); } I'm searching the number of interfaces available. thanks. -- Paolo Visit the Italian FreeBSD User Group Site: www.gufi.org To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe fre

Re: systat -vmstat or iostat IO help

2001-03-14 Thread Paolo Losi
d 4.4BSD works I know that the buffer cache management has been merged with the paging system in FreeBSD but I do not know if the above statements still hold true. Thanks Paolo P.S. Matt, your mentoring job is invaluable :) To Unsubscribe: send mail to [EMAIL PROTECTED] with &

problems in pcm driver

2000-12-21 Thread Gian-Paolo D. Musumeci
Hackers, I am trying to sort out some issues with the newpcm driver, and before I go traipsing around the source base I thought I should ask whether anyone has had any luck resolving this (no sense reinventing the wheel). I have a CS461x (which apparently is a 4614, 4622, or 4624) sound chip. I