/usr/src/sys/config/GENERIC.MP:76: unknown option APIC_IO

2010-11-08 Thread Siju George
Hi,

Got this error while compiling my SMP kernel with old KERNCONF.

===
dfly-vmsrv# make buildkernel KERNCONF=GENERIC.MP

--
 Kernel build for GENERIC.MP started on Mon Nov  8 13:35:54 IST 2010
--
=== GENERIC.MP
rm -rf /usr/obj/usr/src/sys/GENERIC.MP
mkdir -p /usr/obj/usr/src/sys
cd /usr/src/sys/config;
PATH=/usr/obj/usr/src/ctools_i386_i386/usr/sbin:/usr/obj/usr/src/ctools_i386_i386/usr/bin:/usr/obj/usr/src/ctools_i386_i386/bin:/usr/obj/usr/src/ctools_i386_i386/usr/games:/usr/obj/usr/src/btools_i386/usr/sbin:/usr/obj/usr/src/btools_i386/usr/bin:/usr/obj/usr/src/btools_i386/bin:/usr/obj/usr/src/btools_i386/usr/games
config  -d /usr/obj/usr/src/sys/GENERIC.MP  /usr/src/sys/config/GENERIC.MP
/usr/src/sys/config/GENERIC.MP:76: unknown option APIC_IO
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.
dfly-vmsrv# git describe
v2.7.3-1468-gc4ce4f8
dfly-vmsrv# git pull
Already up-to-date.
dfly-vmsrv#


I see a few APIC related commits is it related to that?

thanks :-)

--Siju


Re: /usr/src/sys/config/GENERIC.MP:76: unknown option APIC_IO

2010-11-08 Thread Jan Lentfer
On Mon, 8 Nov 2010 13:37:16 +0530, Siju George sgeorge...@gmail.com
wrote:
 Hi,
 
 Got this error while compiling my SMP kernel with old KERNCONF.

You need to remove that option, it is a sysctl tunable now (see commit
messages).

Jan

-- 
professional: http://www.oscar-consult.de
private: http://neslonek.homeunix.org/drupal/


Re: /usr/src/sys/config/GENERIC.MP:76: unknown option APIC_IO

2010-11-08 Thread Siju George
On Mon, Nov 8, 2010 at 1:46 PM, Jan Lentfer jan.lent...@web.de wrote:
 On Mon, 8 Nov 2010 13:37:16 +0530, Siju George sgeorge...@gmail.com
 wrote:
 Hi,

 Got this error while compiling my SMP kernel with old KERNCONF.

 You need to remove that option, it is a sysctl tunable now (see commit
 messages).


Thanks :-)

--Siju


gupnp-simple-igd.c:290: error: 'AF_INET6' undeclared (first use in this function) for pkgsrc dragonfly-2010Q3 pidgin

2010-11-08 Thread Siju George
Hi,

Compiling for pidgin on 2.9 dragonfly-2010Q3 I get the following error

===
=== Building for gupnp-igd-0.1.7
/usr/pkg/bin/gmake  all-recursive
gmake[1]: Entering directory
`/usr/pkgobj/bootstrap/work/pkgsrc/net/gupnp-igd/work/gupnp-igd-0.1.7'
Making all in libgupnp-igd
gmake[2]: Entering directory
`/usr/pkgobj/bootstrap/work/pkgsrc/net/gupnp-igd/work/gupnp-igd-0.1.7/libgupnp-igd'
echo #include \glib-object.h\  gupnp-simple-igd-marshal.c.tmp
echo #include \gupnp-simple-igd-marshal.h\  gupnp-simple-igd-marshal.c.tmp
glib-genmarshal --body --prefix=_gupnp_simple_igd_marshal
./gupnp-simple-igd-marshal.list  gupnp-simple-igd-marshal.c.tmp
mv gupnp-simple-igd-marshal.c.tmp gupnp-simple-igd-marshal.c
glib-genmarshal --header --prefix=_gupnp_simple_igd_marshal
./gupnp-simple-igd-marshal.list  gupnp-simple-igd-marshal.h.tmp
mv gupnp-simple-igd-marshal.h.tmp gupnp-simple-igd-marshal.h
/usr/pkg/bin/gmake  all-am
gmake[3]: Entering directory
`/usr/pkgobj/bootstrap/work/pkgsrc/net/gupnp-igd/work/gupnp-igd-0.1.7/libgupnp-igd'
  CC gupnp-simple-igd.lo
gupnp-simple-igd.c: In function 'validate_ip_address':
gupnp-simple-igd.c:287: error: 'AF_INET' undeclared (first use in this function)
gupnp-simple-igd.c:287: error: (Each undeclared identifier is reported only once
gupnp-simple-igd.c:287: error: for each function it appears in.)
gupnp-simple-igd.c:290: error: 'AF_INET6' undeclared (first use in
this function)
gmake[3]: *** [gupnp-simple-igd.lo] Error 1
gmake[3]: Leaving directory
`/usr/pkgobj/bootstrap/work/pkgsrc/net/gupnp-igd/work/gupnp-igd-0.1.7/libgupnp-igd'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/usr/pkgobj/bootstrap/work/pkgsrc/net/gupnp-igd/work/gupnp-igd-0.1.7/libgupnp-igd'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/pkgobj/bootstrap/work/pkgsrc/net/gupnp-igd/work/gupnp-igd-0.1.7'
gmake: *** [all] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/net/gupnp-igd
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/net/gupnp-igd
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/multimedia/farsight2
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/chat/pidgin
dfly-vmsrv#

==

What could be the problem?

thanks

--Siju


Recommend me an AGP card for DragonFly

2010-11-08 Thread Max Herrgard

Hi list,

I feel it's time to get something faster than my old Matrox G450 to run 
with the DragonFly box. Any recommendations? I don't want to upgrade to 
PCIe yet as I would need to build a completly new box for that. And I 
want 3D acceleration in X. I will probably do some ghetto silent cooling 
thing, so not a too hot chip ;-)


So, what are you using? Just need a few pointers so I know what to look 
for in the used market.



Thanks,
Max


Re: Recommend me an AGP card for DragonFly

2010-11-08 Thread Steve O'Hara-Smith
On Mon, 08 Nov 2010 09:56:41 +0100
Max Herrgard herrg...@gmail.com wrote:

 Hi list,
 
 I feel it's time to get something faster than my old Matrox G450 to run 
 with the DragonFly box. Any recommendations? I don't want to upgrade to 
 PCIe yet as I would need to build a completly new box for that. And I 
 want 3D acceleration in X. I will probably do some ghetto silent cooling 
 thing, so not a too hot chip ;-)

You're probably pretty much OK with almost any AGP ATI card, I've
had good results with a couple of 9200SE cards, an old All-In-Wonder
(Hercules branded) and an X1650 - that last is probably a bit too hot
though (fan on card and an extra power connector).

-- 
Steve O'Hara-Smith  |   Directable Mirror Arrays
C:WIN  | A better way to focus the sun
The computer obeys and wins.|licences available see
You lose and Bill collects. |http://www.sohara.org/


Re: Recommend me an AGP card for DragonFly

2010-11-08 Thread Max Herrgard

Steve O'Hara-Smith wrote:

On Mon, 08 Nov 2010 09:56:41 +0100
Max Herrgardherrg...@gmail.com  wrote:


Hi list,

I feel it's time to get something faster than my old Matrox G450 to run
with the DragonFly box. Any recommendations? I don't want to upgrade to
PCIe yet as I would need to build a completly new box for that. And I
want 3D acceleration in X. I will probably do some ghetto silent cooling
thing, so not a too hot chip ;-)


You're probably pretty much OK with almost any AGP ATI card, I've
had good results with a couple of 9200SE cards, an old All-In-Wonder
(Hercules branded) and an X1650 - that last is probably a bit too hot
though (fan on card and an extra power connector).



Okay, that sounds great. I'll see what I can find.

Thank you,
Max


Re: gupnp-simple-igd.c:290: error: 'AF_INET6' undeclared (first use in this function) for pkgsrc dragonfly-2010Q3 pidgin

2010-11-08 Thread Alex Hornung
Some extra info on the issue, since I just ran into the same problem
building 'empathy':

6:28:00 alex-laptop:/usr/pkgsrc/net/gupnp-igd dragonfly-2010Q3
# grep -R socket\.h *
Binary file work/.buildlink/lib/libdbus-1.a matches
Binary file work/.buildlink/lib/libproxy.so.0 matches
Binary file work/.buildlink/lib/libproxy.a matches
Binary file work/.buildlink/lib/libproxy.so.0.0.0 matches
Binary file work/.buildlink/lib/libproxy.so matches
work/.buildlink/.buildlink_glib2_done:/usr/pkg/include/glib/glib-2.0/gio/gsocket.h
work/.buildlink/.buildlink_libsoup24_done:/usr/pkg/include/libsoup-2.4/libsoup/soup-socket.h
work/.buildlink/include/gcrypt.h:# include sys/socket.h
work/.buildlink/include/libsoup-2.4/libsoup/soup-portability.h:#include
sys/socket.h
work/.buildlink/include/libsoup-2.4/libsoup/soup-enum-types.h:/*
enumerations from soup-socket.h */
work/.buildlink/include/libsoup-2.4/libsoup/soup.h:#include
libsoup/soup-socket.h
work/.buildlink/include/glib/glib-2.0/gio/gsocketconnection.h:#include
gio/gsocket.h
work/.buildlink/include/glib/glib-2.0/gio/gio.h:#include gio/gsocket.h
work/.buildlink/include/python2.6/pyconfig.h:/* struct sockaddr_storage
(sys/socket.h) */
work/.buildlink/include/python2.6/pyconfig.h:/* Define to 1 if you have
the sys/socket.h header file. */
work/.buildlink/include/python2.6/pyconfig.h:/* Define to `int' if
sys/socket.h does not define. *


On 11/08/10 08:41, Siju George wrote:
 Hi,
 
 Compiling for pidgin on 2.9 dragonfly-2010Q3 I get the following error
 
 ===
 === Building for gupnp-igd-0.1.7
 /usr/pkg/bin/gmake  all-recursive
 gmake[1]: Entering directory
 `/usr/pkgobj/bootstrap/work/pkgsrc/net/gupnp-igd/work/gupnp-igd-0.1.7'
 Making all in libgupnp-igd
 gmake[2]: Entering directory
 `/usr/pkgobj/bootstrap/work/pkgsrc/net/gupnp-igd/work/gupnp-igd-0.1.7/libgupnp-igd'
 echo #include \glib-object.h\  gupnp-simple-igd-marshal.c.tmp
 echo #include \gupnp-simple-igd-marshal.h\  
 gupnp-simple-igd-marshal.c.tmp
 glib-genmarshal --body --prefix=_gupnp_simple_igd_marshal
 ./gupnp-simple-igd-marshal.list  gupnp-simple-igd-marshal.c.tmp
 mv gupnp-simple-igd-marshal.c.tmp gupnp-simple-igd-marshal.c
 glib-genmarshal --header --prefix=_gupnp_simple_igd_marshal
 ./gupnp-simple-igd-marshal.list  gupnp-simple-igd-marshal.h.tmp
 mv gupnp-simple-igd-marshal.h.tmp gupnp-simple-igd-marshal.h
 /usr/pkg/bin/gmake  all-am
 gmake[3]: Entering directory
 `/usr/pkgobj/bootstrap/work/pkgsrc/net/gupnp-igd/work/gupnp-igd-0.1.7/libgupnp-igd'
   CC gupnp-simple-igd.lo
 gupnp-simple-igd.c: In function 'validate_ip_address':
 gupnp-simple-igd.c:287: error: 'AF_INET' undeclared (first use in this 
 function)
 gupnp-simple-igd.c:287: error: (Each undeclared identifier is reported only 
 once
 gupnp-simple-igd.c:287: error: for each function it appears in.)
 gupnp-simple-igd.c:290: error: 'AF_INET6' undeclared (first use in
 this function)
 gmake[3]: *** [gupnp-simple-igd.lo] Error 1
 gmake[3]: Leaving directory
 `/usr/pkgobj/bootstrap/work/pkgsrc/net/gupnp-igd/work/gupnp-igd-0.1.7/libgupnp-igd'
 gmake[2]: *** [all] Error 2
 gmake[2]: Leaving directory
 `/usr/pkgobj/bootstrap/work/pkgsrc/net/gupnp-igd/work/gupnp-igd-0.1.7/libgupnp-igd'
 gmake[1]: *** [all-recursive] Error 1
 gmake[1]: Leaving directory
 `/usr/pkgobj/bootstrap/work/pkgsrc/net/gupnp-igd/work/gupnp-igd-0.1.7'
 gmake: *** [all] Error 2
 *** Error code 2
 
 Stop.
 bmake: stopped in /usr/pkgsrc/net/gupnp-igd
 *** Error code 1
 
 Stop.
 bmake: stopped in /usr/pkgsrc/net/gupnp-igd
 *** Error code 1
 
 Stop.
 bmake: stopped in /usr/pkgsrc/multimedia/farsight2
 *** Error code 1
 
 Stop.
 bmake: stopped in /usr/pkgsrc/chat/pidgin
 dfly-vmsrv#
 
 ==
 
 What could be the problem?
 
 thanks
 
 --Siju


How to test and debug Dragonfly BSD?

2010-11-08 Thread Marcin Ropa
Hello,

A few weeks ago I decided to spend my free time working on dfbsd and i
started digging in code. I have experience as developer but there
everything is new for me and probably I will have to spend many time
before i will be helpful for the project. :)
I have my first question.: How do you organize your work on DragonFly
BSD? I am not going to ask you about your editor but how do you run,
test and debug your code. Do you use VirtualBox, qemu or seperate
machine? Does VirtualBox run on dfbsd or you run VirtualBox on another
system, e.g.: FreeBSD and this is your development platform?
I know you are busy, but if you find time please give me some hints
how to organize work on operating system.

thanks a lot and
Greeting

Marcin


Re: How to test and debug Dragonfly BSD?

2010-11-08 Thread Sdävtaker
DragonflyBSD got Virtual Kernels, those are a tool to run kernels over
kernel and debug them.
In the documentation site:
http://www.dragonflybsd.org/docs/documentation/
there is a section for developer where you can read about codeing
standards, tools, repository handling, most what you need is there :-)
VBox doesnt run in DFBSD as far as i know and it had some tricks to
make DFBSD work in a VBox too, there is a reported bug to oracle that
never  was fixed and give troubles time to time (if you use it with
no-acpi, probably the only issue you will have is a necesity for
reboot after turn on, it works for me that way, no idea why, turn on,
it halts, soft reset, it workssome kind of Vudu for sure).
Also, check the irc, most the developers are there most the time :-)
Enjoy the project, there is a lot of fascinating things going on
Damian

On Mon, Nov 8, 2010 at 17:07, Marcin Ropa marcinr...@gmail.com wrote:
 Hello,

 A few weeks ago I decided to spend my free time working on dfbsd and i
 started digging in code. I have experience as developer but there
 everything is new for me and probably I will have to spend many time
 before i will be helpful for the project. :)
 I have my first question.: How do you organize your work on DragonFly
 BSD? I am not going to ask you about your editor but how do you run,
 test and debug your code. Do you use VirtualBox, qemu or seperate
 machine? Does VirtualBox run on dfbsd or you run VirtualBox on another
 system, e.g.: FreeBSD and this is your development platform?
 I know you are busy, but if you find time please give me some hints
 how to organize work on operating system.

 thanks a lot and
 Greeting

 Marcin




-- 
http://dfbsd.trackbsd.org.ar


Re: How to test and debug Dragonfly BSD?

2010-11-08 Thread John Marino

Hi Sdävtaker,
Apparently your experience differs from mine.  I've been running 
Dragonfly i386 and Dragonfly x86_64 within Virtualbox for a year now, 
and it works great.  I've had no issues whatsoever, and that's on host 
machines of both windows and Solaris.  We've even found and fixed a 
couple of bugs in Dfly due to running it inside vbox.


I think your vbox information might be a bit obsolete, or maybe there is 
something wrong with your instance of it.


It requires no tricks.  I recommend that one picks FreeBSD or 64-bit 
FreeBSD as the OS when they create the machine.


Regards,
John


On 11/8/2010 9:25 PM, Sdävtaker wrote:

DragonflyBSD got Virtual Kernels, those are a tool to run kernels over
kernel and debug them.
In the documentation site:
http://www.dragonflybsd.org/docs/documentation/
there is a section for developer where you can read about codeing
standards, tools, repository handling, most what you need is there :-)
VBox doesnt run in DFBSD as far as i know and it had some tricks to
make DFBSD work in a VBox too, there is a reported bug to oracle that
never  was fixed and give troubles time to time (if you use it with
no-acpi, probably the only issue you will have is a necesity for
reboot after turn on, it works for me that way, no idea why, turn on,
it halts, soft reset, it workssome kind of Vudu for sure).
Also, check the irc, most the developers are there most the time :-)
Enjoy the project, there is a lot of fascinating things going on
Damian

On Mon, Nov 8, 2010 at 17:07,Marcin Ropa  marcinr...@gmail.com  wrote:

Hello,

A few weeks ago I decided to spend my free time working on dfbsd and i
started digging in code. I have experience as developer but there
everything is new for me and probably I will have to spend many time
before i will be helpful for the project. :)
I have my first question.: How do you organize your work on DragonFly
BSD? I am not going to ask you about your editor but how do you run,
test and debug your code. Do you use VirtualBox, qemu or seperate
machine? Does VirtualBox run on dfbsd or you run VirtualBox on another
system, e.g.: FreeBSD and this is your development platform?
I know you are busy, but if you find time please give me some hints
how to organize work on operating system.

thanks a lot and
Greeting

Marcin








Re: How to test and debug Dragonfly BSD?

2010-11-08 Thread Sdävtaker
last time i checked was like 1, maybe 2 months ago, i will try again
with 2.8 to see what happens.
Damian

On Mon, Nov 8, 2010 at 17:33, John Marino dragonfly...@marino.st wrote:
 Hi Sdävtaker,
 Apparently your experience differs from mine.  I've been running Dragonfly
 i386 and Dragonfly x86_64 within Virtualbox for a year now, and it works
 great.  I've had no issues whatsoever, and that's on host machines of both
 windows and Solaris.  We've even found and fixed a couple of bugs in Dfly
 due to running it inside vbox.

 I think your vbox information might be a bit obsolete, or maybe there is
 something wrong with your instance of it.

 It requires no tricks.  I recommend that one picks FreeBSD or 64-bit FreeBSD
 as the OS when they create the machine.

 Regards,
 John


 On 11/8/2010 9:25 PM, Sdävtaker wrote:

 DragonflyBSD got Virtual Kernels, those are a tool to run kernels over
 kernel and debug them.
 In the documentation site:
 http://www.dragonflybsd.org/docs/documentation/
 there is a section for developer where you can read about codeing
 standards, tools, repository handling, most what you need is there :-)
 VBox doesnt run in DFBSD as far as i know and it had some tricks to
 make DFBSD work in a VBox too, there is a reported bug to oracle that
 never  was fixed and give troubles time to time (if you use it with
 no-acpi, probably the only issue you will have is a necesity for
 reboot after turn on, it works for me that way, no idea why, turn on,
 it halts, soft reset, it workssome kind of Vudu for sure).
 Also, check the irc, most the developers are there most the time :-)
 Enjoy the project, there is a lot of fascinating things going on
 Damian

 On Mon, Nov 8, 2010 at 17:07,Marcin Ropa  marcinr...@gmail.com  wrote:

 Hello,

 A few weeks ago I decided to spend my free time working on dfbsd and i
 started digging in code. I have experience as developer but there
 everything is new for me and probably I will have to spend many time
 before i will be helpful for the project. :)
 I have my first question.: How do you organize your work on DragonFly
 BSD? I am not going to ask you about your editor but how do you run,
 test and debug your code. Do you use VirtualBox, qemu or seperate
 machine? Does VirtualBox run on dfbsd or you run VirtualBox on another
 system, e.g.: FreeBSD and this is your development platform?
 I know you are busy, but if you find time please give me some hints
 how to organize work on operating system.

 thanks a lot and
 Greeting

 Marcin








-- 
http://dfbsd.trackbsd.org.ar



Re: How to test and debug Dragonfly BSD?

2010-11-08 Thread Alex Hornung
Hi Marcin,

first off I'd recommend you join the IRC channel on efnet,
#dragonflybsd. Most committers hang out there and it's the easiest way
to get some initial help (and probably any help).

There are a number of solutions that people use to develop DragonFly,
ranging from purely virtual using VMWare, VirtualBox or kvm/qemu
(kqemu?) to dedicated physical test machines. I personally have an
installation on my laptop and also develop using VMWare on my desktop.
As someone already mentioned, DragonFly offers vkernels which are a
nice way to develop kernel stuff without any complications as machines
not booting, etc... everything except hardware drivers, of course.

Debugging of kernel issues usually occurs via a kernel core dump or,
sometimes, by debugging a vkernel with gdb.

Hope that helps,
Alex Hornung


On 8 November 2010 20:07, Marcin Ropa marcinr...@gmail.com wrote:
 Hello,

 A few weeks ago I decided to spend my free time working on dfbsd and i
 started digging in code. I have experience as developer but there
 everything is new for me and probably I will have to spend many time
 before i will be helpful for the project. :)
 I have my first question.: How do you organize your work on DragonFly
 BSD? I am not going to ask you about your editor but how do you run,
 test and debug your code. Do you use VirtualBox, qemu or seperate
 machine? Does VirtualBox run on dfbsd or you run VirtualBox on another
 system, e.g.: FreeBSD and this is your development platform?
 I know you are busy, but if you find time please give me some hints
 how to organize work on operating system.

 thanks a lot and
 Greeting

 Marcin



Intel Corporation 82801G (ICH7 Family) audio device not detected after compiling in support to the kernel

2010-11-08 Thread Siju George
Hi,

My sound device is

Audio device: Intel Corporation 82801G (ICH7 Family) High Definition
Audio Controller

This is the hardware info from  archlinux

http://pastie.org/1283753

I compiled the kernel with these options added

#Audio
device  pcm
device  snd_ich
device  pnpbios

But

# grep pcm /var/run/dmesg.boot

Shows nothing after reboot.

The kernel version is

2.9-DEVELOPMENT DragonFly v2.7.3.1468.gc4ce4-DEVELOPMENT #2: Mon Nov
8 14:12:03 IST 2010

also I tried

dfly-vmsrv# kldload snd_ich.ko
kldload: can't load snd_ich.ko: File exists

I was following

http://www.dragonflybsd.org/docs/handbook/handbook-sound-setup/

So don't know where I missed :-(


DragonFly dmesg is here

http://pastie.org/1283743

need tips :-)

thanks :-D

--Siju