Re: hammer version-upgrade

2010-10-12 Thread Justin C. Sherrill
On Tue, October 12, 2010 10:52 pm, Pierre Abbat wrote:
> I'm running Hammer version 1, and can go up to 4. Should I upgrade, and
> how long does it take?

I recall upgrades taking little time (measured in seconds, generally, not
minutes or hours).  Yes, you should upgrade - bugs are fixed and you
should have noticeably better performance.

I never had a problem with upgrades, but if it's with data you absolutely
can't lose, make sure it's backed up.



hammer version-upgrade

2010-10-12 Thread Pierre Abbat
I'm running Hammer version 1, and can go up to 4. Should I upgrade, and how 
long does it take?

Pierre
-- 
Jews use a lunisolar calendar; Muslims use a solely lunar calendar.


Re: ACPI

2010-10-12 Thread Pierre Abbat
On Tuesday 12 October 2010 01:09:27 Sascha Wildner wrote:
> No, I looks like an older single core CPU. But it has hyperthreading
> (HTT feature), so it is definitely worth a try.

I turned on SMP and APIC_IO and got a panic during boot. I turned them off, 
leaving only the 686 CPU enabled, and it boots. I haven't tried SMP without 
APIC_IO.

Pierre
-- 
lo ponse be lo mruli po'o cu ga'ezga roda lo ka dinko


Re: Linux Emulation Docs

2010-10-12 Thread Chris Turner

Siju George wrote:

On Tue, Oct 12, 2010 at 6:00 AM, Siju George  wrote:


dfly-vmsrv# /compat/linux/sbin/ldconfig -a
/compat/linux/sbin/ldconfig: invalid option -- a
Try `ldconfig --help' or `ldconfig --usage' for more information.
dfly-vmsrv#

what could have gone wrong?


my mind :)

I think the '-a' is how it used to work & how I just typed it -
try without.

also - I've since discovered that the rc script takes care of this -
however, if you're coming up 'from scratch' - e.g. didn't enable,
etc - it needs to be run & cant hurt anyhow.

good luck with your tests

- Chris


Re: Wget Coredumps

2010-10-12 Thread Francois Tigeot
On Tue, Oct 12, 2010 at 02:58:26PM -0500, Tyler Mills wrote:
> [r...@rtgbox] % gdb wget www.google.com
[...]
> Program received signal SIGSEGV, Segmentation fault.
> 0x000800ab27e4 in libintl_dcigettext () from /usr/pkg/lib/libintl.so.3
> (gdb)
> 
> On latest build from master:
> 
> DragonFly rtgbox.pavlovmedia.corp 2.7-DEVELOPMENT DragonFly
> v2.7.3.1279.gf2e93-DEVELOPMENT #1: Tue Oct 12 13:39:29 CDT 2010
> r...@rtgbox.pavlovmedia.corp:/usr/obj/usr/src/sys/X64_SMP  x86_64
> 
> Any ideas what would cause this?

There's a bug in gettext-lib, it truncates some pointers to 32-bit on
DragonFly/x86-64 if you use non-default locales.

More details (and the fix) can be found in this PR: 
http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=43879

This is starting to become a FAQ.
Any idea how to get the patches in this problem report committed to pkgsrc ?

-- 
Francois Tigeot


Wget Coredumps

2010-10-12 Thread Tyler Mills
[r...@rtgbox] % gdb wget www.google.com
  (/root)
GNU gdb (GDB) 7.0
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-dragonfly".
For bug reporting instructions, please see:
...
Reading symbols from /usr/pkg/bin/wget...(no debugging symbols found)...done.
/root/www.google.com: No such file or directory.
(gdb) run
Starting program: /usr/pkg/bin/wget

Program received signal SIGSEGV, Segmentation fault.
0x000800ab27e4 in libintl_dcigettext () from /usr/pkg/lib/libintl.so.3
(gdb)

On latest build from master:

DragonFly rtgbox.pavlovmedia.corp 2.7-DEVELOPMENT DragonFly
v2.7.3.1279.gf2e93-DEVELOPMENT #1: Tue Oct 12 13:39:29 CDT 2010
r...@rtgbox.pavlovmedia.corp:/usr/obj/usr/src/sys/X64_SMP  x86_64

Any ideas what would cause this?

Thanks
Tyler

-- 
A state, is called the coldest of all cold monsters. Coldly lieth it
also; and this lie creepeth from its mouth: "I, the state, am the
people."


Re: Intel CPU question

2010-10-12 Thread Tim Darby
Thanks everyone, looks like it's AMD for me.

Tim


On Tue, Oct 12, 2010 at 8:41 AM, Matthew Dillon  wrote:

> :On Tue, Oct 12, 2010 at 12:09:51AM +0200, Antonio Huete Jimenez wrote:
> :>
> :> I recently bought a Phenom X6 1055T in a Gigabyte 880GA-UD3H
> :> motherboard, and besides ACPI, everything I've used _seems_ to work
> :> fine. I haven't done much testing yet though.
> :> For example, I have NOT tested the audio card or run Xorg on it :)
> :>
> :> 2010/10/11 Tim Darby >:
> :> > Does DragonFly support Core I7 or is AMD a safer choice?  I'm ready to
> build
> :> > a high end multi-core box and was wondering what my options are.
> :> >  Known-to-work motherboard suggestions would also be greatly
> appreciated.
> :
> :AMD is a safer bet, there's too much complexity on the Intel side
> nowadays.
> :
> :This Gigabyte board is a good choice; you should try to get an AMD880
> chipset
> :based board, everything just works including Xorg.
> :
> :--
> :Francois Tigeot
>
> I'm pretty happy with the gigabyte board.  There are still some issues
>with AHCI but mostly pertaining to host-swap and external enclosures.
>All I feel are fixable even if I have to depart from the AHCI spec
>a bit as a special case.
>
>-Matt
> Matthew Dillon
>
>


Re: Firefox still crashes; ACPI

2010-10-12 Thread Matthew Dillon

:On Monday 11 October 2010 20:49:44 Matthew Dillon wrote:
:> We finally found it, thanks in part to the added assertions and your
:> reporting of the assertion that occured.  The problem should be gone
:> on the latest master.
:
:Glad I could help!
:
:I'm still getting a kernel trap if I boot with ACPI enabled, and I can't get a 
:dump because it happens before the dump device is set. Can I put some 
:assertions in the kernel to figure that out? 
:http://bugs.dragonflybsd.org/issue1559
:
:Pierre

It looks like a VM86 BIOS call is blowing up.  If that is the
case it would be nearly impossible to track down.

-Matt
Matthew Dillon 



Re: Firefox still crashes; ACPI

2010-10-12 Thread Matthew Dillon
You could try disabling ACPI subsystems and hopefully it won't crash,
and then reenabling one at a time until it crashes.

Could someone post all the ACPI keywords / loader.conf line for that?

-Matt
Matthew Dillon 



Re: Intel CPU question

2010-10-12 Thread Matthew Dillon
:On Tue, Oct 12, 2010 at 12:09:51AM +0200, Antonio Huete Jimenez wrote:
:> 
:> I recently bought a Phenom X6 1055T in a Gigabyte 880GA-UD3H
:> motherboard, and besides ACPI, everything I've used _seems_ to work
:> fine. I haven't done much testing yet though.
:> For example, I have NOT tested the audio card or run Xorg on it :)
:> 
:> 2010/10/11 Tim Darby :
:> > Does DragonFly support Core I7 or is AMD a safer choice?  I'm ready to 
build
:> > a high end multi-core box and was wondering what my options are.
:> >  Known-to-work motherboard suggestions would also be greatly appreciated.
:
:AMD is a safer bet, there's too much complexity on the Intel side nowadays.
:
:This Gigabyte board is a good choice; you should try to get an AMD880 chipset
:based board, everything just works including Xorg.
:
:-- 
:Francois Tigeot

I'm pretty happy with the gigabyte board.  There are still some issues
with AHCI but mostly pertaining to host-swap and external enclosures.
All I feel are fixable even if I have to depart from the AHCI spec
a bit as a special case.

-Matt
Matthew Dillon 



Re: Firefox Crashes continously , xulrunner & bzip2 core dump available on leaf

2010-10-12 Thread Siju George
On Tue, Oct 12, 2010 at 5:12 AM, Antonio Huete Jimenez
 wrote:
> Hi Siju,
>
> Last night there was a commit with regards to a nmalloc issue that
> caused some crashes with firefox among other things. Check
> (http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ebe0d3612773443a8bf0158503b9597cf70acd03)
>
> So you may want to update to latest master and give it a try :)
>

Thanks I did that. It is working fine on the GENERIC.MP kernel I
compiled as well :-)
Firefox seems to be faster than that I had on my archlinux too.

thanks a million :-D

--Siju


Re: Linux Emulation Docs

2010-10-12 Thread Siju George
On Tue, Oct 12, 2010 at 6:00 AM, Siju George  wrote:
>
>
> dfly-vmsrv# /compat/linux/sbin/ldconfig -a
> /compat/linux/sbin/ldconfig: invalid option -- a
> Try `ldconfig --help' or `ldconfig --usage' for more information.
> dfly-vmsrv#
>
> what could have gone wrong?
>

that 's ok.

I got linux emulation working.
will test nswrapper plugin tomorrow and let you know


thanks :-)

--Siju


Re: mount question

2010-10-12 Thread Alex Hornung

 Hi Andrei,

BSDs use disklabels on top of what one calls partitions. DragonFly in 
particular uses disklabel64 which Linux has no support for as far as I know.


So the structure would be:

---
| Partition
|   --
|   | disklabel partition
|   |
|   --
|   | disklabel partition
|   |
|   --
---
| Partition
| 


Kind regards,
Alex Hornung

On 12/10/2010 11:02, Andrei Lomov wrote:

I had installed DragonFly 2.6.3 on 40Gb IDE ATA slave drive (on second (ATA)
controller)

During DragonFly installation it ask to set ufs instead of hummer (in view
of lesser 50 Gb drive space) and I agree.

I don't install any bsd boot loaders preferring to setup lilo.

In linux fdisk, bsd partition looks fine:
# fdisk /dev/hdb
...
Disk /dev/hdb: 40.0 GB, 40020664320 bytes
256 heads, 63 sectors/track, 4846 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes
Disk identifier: 0x

Device Boot  Start End  Blocks   Id  System
/dev/hdb1   *   1484639078112+  a5  FreeBSD



To configure lilo I try to mount bsd partition from linux
but it fails:

# mount -t ufs -o ufstype=44bsd /dev/hdb1 bsd
mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail  or so

I'm newbie in bsd and need an advice

Thanks in advance

--
Andrei






Re: ACPI

2010-10-12 Thread Pierre Abbat
On Tuesday 12 October 2010 01:09:27 Sascha Wildner wrote:
> No, I looks like an older single core CPU. But it has hyperthreading
> (HTT feature), so it is definitely worth a try.

Will try it, but not till tonight at least. I have to bring the laptop to the 
office.

> Also, does the box have the latest BIOS available from Dell installed?

Don't know. I got it used from a friend.

> Yes, our handbook lingers in a permanent state of unupdatedness. If you
> see errors, the best thing is to just be bold and fix them yourself.
> That would be a great help to us, if more people do it.

I'll try, but I don't know what exactly the change was. There's now 
a /boot/kernel/ directory with both the kernel and the modules; before the 
kernel was /boot/kernel and the modules were in /boot/modules/?

Pierre
-- 
li ze te'a ci vu'u ci bi'e te'a mu du
li ci su'i ze te'a mu bi'e vu'u ci


mount question

2010-10-12 Thread Andrei Lomov

I had installed DragonFly 2.6.3 on 40Gb IDE ATA slave drive (on second (ATA)
controller)

During DragonFly installation it ask to set ufs instead of hummer (in view
of lesser 50 Gb drive space) and I agree.

I don't install any bsd boot loaders preferring to setup lilo.

In linux fdisk, bsd partition looks fine:
# fdisk /dev/hdb
...
Disk /dev/hdb: 40.0 GB, 40020664320 bytes
256 heads, 63 sectors/track, 4846 cylinders
Units = cylinders of 16128 * 512 = 8257536 bytes
Disk identifier: 0x

   Device Boot  Start End  Blocks   Id  System
/dev/hdb1   *   1484639078112+  a5  FreeBSD



To configure lilo I try to mount bsd partition from linux 
but it fails:

# mount -t ufs -o ufstype=44bsd /dev/hdb1 bsd
mount: wrong fs type, bad option, bad superblock on /dev/hdb1,
   missing codepage or helper program, or other error
   In some cases useful info is found in syslog - try
   dmesg | tail  or so

I'm newbie in bsd and need an advice

Thanks in advance

--
Andrei




Re: Linux Emulation Docs

2010-10-12 Thread Siju George
On Tue, Oct 12, 2010 at 2:34 AM, Chris Turner
 wrote:
>
>
> See the discussion thread on the docs@ list from 9/2010 entitled
>
> "Flash-related docs on the site"
>
> (created against 2.6 / i386 / ff 3.6 / pkgsrc Q1 / flash9)
>

Thanks :-)
I am following the steps

>So - step one: setup your linux emulation environment:
>
>- install multimedia/libflashsupport which should pull in the full
>  linux setup::
>
>
>  # cd /usr/pkgsrc/multimedia/libflashsupport
>  # bmake package clean
>

===> Building binary package for libflashsupport-1.0.2098nb1
=> Creating binary package
/usr/pkgsrc/packages/All/libflashsupport-1.0.2098nb1.tgz
===> Cleaning for libflashsupport-1.0.2098nb1
dfly-vmsrv# pkg_info | grep libflashsupport
libflashsupport-1.0.2098nb1 Additional Interface Support for Linux Flash Player
dfly-vmsrv#


>
>- configure DF for running linux binaries::
>
>   - load the linux emulator::
>  # kldload linux
>

# kldload linux
kldload: can't load linux: File exists

perhaps it is because I have

linux_enable=yes

in /etc/rc.conf


>  # kldload aac_linux # note - not sure if needed.. why not?
>

dfly-vmsrv# kldload aac_linux
dfly-vmsrv#

>- mount linprocfs::
>  # mount -t linprocfs none /usr/pkg/emul/linux/proc
>

dfly-vmsrv# mount -t linprocfs none /usr/pkg/emul/linux/proc

yes in df -h i have

linprocfs 4.0K   4.0K 0B   100%/usr/pkg/emul/linux/proc

now :-)

BUT the next step fails :-(

>- run linux ldconfig to setup the linux-side linker paths::
> # /compat/linux/sbin/ldconfig -a
>

dfly-vmsrv# /compat/linux/sbin/ldconfig -a
/compat/linux/sbin/ldconfig: invalid option -- a
Try `ldconfig --help' or `ldconfig --usage' for more information.
dfly-vmsrv#

what could have gone wrong?

thanks :-)

--Siju


Re: Firefox Crashes continously , xulrunner & bzip2 core dump available on leaf

2010-10-12 Thread Antonio Huete Jimenez
Hi Siju,

Last night there was a commit with regards to a nmalloc issue that
caused some crashes with firefox among other things. Check
(http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ebe0d3612773443a8bf0158503b9597cf70acd03)

So you may want to update to latest master and give it a try :)

-- 
Cheers,
Antonio Huete


2010/10/12 Siju George :
> On Tue, Oct 12, 2010 at 11:45 AM, Siju George  wrote:
>> Hi,
>>
>> Firefox installed from Q2 packages using pkgin started crashing on my
>> GENERIC.MP i386 kernel.
>>
>
> Sorry I did not include the kernel version
>
>  2.7-DEVELOPMENT DragonFly v2.7.3.1266.g2f677-DEVELOPMENT #0: Mon Oct
> 11 12:35:00 IST 2010
>
> Any way I am compiling a GENERIC kernel without SMP to see if I can
> reproduce the issue
>
> thanks
>
> --Siju
>



Re: Firefox Crashes continously , xulrunner & bzip2 core dump available on leaf

2010-10-12 Thread Siju George
On Tue, Oct 12, 2010 at 11:45 AM, Siju George  wrote:
> Hi,
>
> Firefox installed from Q2 packages using pkgin started crashing on my
> GENERIC.MP i386 kernel.
>

Sorry I did not include the kernel version

 2.7-DEVELOPMENT DragonFly v2.7.3.1266.g2f677-DEVELOPMENT #0: Mon Oct
11 12:35:00 IST 2010

Any way I am compiling a GENERIC kernel without SMP to see if I can
reproduce the issue

thanks

--Siju