Re: What's the status of the USB stack port?
Thanks for your offer! I am currently caught up in getting my PhD submitted. Once that is done and I have settled in at my new work space I will finish the port pretty quickly I guess. I also thank Sascha for putting the effort in to get USB into master. I guess by the end of September you will be able to use the USB stack as a replacement for the old one. Great, at the point where you feel people should start testing it, i'll give it a try. Thanks, Petr
What's the status of the USB stack port?
Hi all, Last time I heard there was someone working on the port. I'd be willing to test (my dragonfly installation is long not used because my USB peripherals - keyboard etc are not working with the existing USB stack) Cheers, Petr
Re: What's the status of the USB stack port?
On Sat, 01 Sep 2012 11:44:47 +0200, elekktrett...@exemail.com.au wrote: Hi all, Last time I heard there was someone working on the port. I'd be willing to test (my dragonfly installation is long not used because my USB peripherals - keyboard etc are not working with the existing USB stack) What we have so far is in Markus' branch: http://gitweb.dragonflybsd.org/~profmakx/dragonfly.git/shortlog/refs/heads/usb It will be brought in before the 3.2 release (I'm working on that). Thanks Sascha! Petr
Re: What's the status of the USB stack port?
One more thing, Can you give me some instructions on compiling a kernel with the new usb stack? Petr
Re: Unable to mount hammer file system Undo failed
I am NOT talking about background fsck which is implemented in FreeBSD and i turn this off. I am talking about just not doing fsck of every filesystem after crash. And doing it within same day but when pause is not a problem. This is legitimate method with UFS+softupdates. Then explain this: Every now and then when the OS crashed it would leave truncated files that wouldn't be recovered until fsck ran. Background fsck is another abomination. I remember once I had a truncated file that got written to before fsck repaired it and it caused data loss on that file.
Re: Unable to mount hammer file system Undo failed
This was under FreeBSD but DragonFly UFS is no different. My main problem had been with ffs_fsck. At one point my machine was randomly crashing due to a bad power supply. Everytime I started up, did an hour of work, then crash, then 30-40 minutes for fsck to run, and an hour later do it all over again. I'd rather use Linux/ext3 than any UFS ever again.
Re: donation : money : small amount : recurring
I think you can make recurring through PayPal. What about a donation button the the DragonFly homepage? That's great! If you'd like, I could set up a small system for the website so people can make recurring donations. Cheers, Jelle
Re: donation : money : small amount : recurring
You're right. I forgot about SFC. You see, there are ways. But even if DragonFly wanted to register as non-profit on it's own. Sure it's complex and time consuming, but it's been _10_ years.
Re: donation : money : small amount : recurring
Even considering that a non-profit registration is necessary? Because majority of people, including me, consider donating for the specific reason of reducing personal taxes. I'd rather pay $100 to DragonFlyBSD than to Uncle Sam.
Re: donation : money : small amount : recurring
Even considering that a non-profit registration is necessary? Furthermore, in my experience, companies(who have naturally much bigger capital) will only ever donate to non-profits, to reduce their own tax burden.
Re: donation : money : small amount : recurring
I never said it was easy to get non-profit company status. Matt runs this project. Anything that happens is his decision. All I'm saying is that more ways need to be exploited to attract funding and skills to move this project further quicker, otherwise it's forever going to be just a research project. If Matt needs legal advice to setup non-profit, i'm sure majority of people on this mailing list would be able to send a few bucks.(provided there was a way to do it)
Re: donation : money : small amount : recurring
We need to state why DragonFly's goals are superior. Why should people give their precious time and money to our cause instead of theirs? Majority of *nix users still don't know much, if anything, about DragonFly. I don't mean superior to minix in particular, but superior to other Unix-like operating systems.
Re: donation : money : small amount : recurring
We don't really have a mechanism for that, cause we don't have a path for that money. If you want to save up some money, there is: I have a feeling that Dragonfly is cutting itself out of extra funding and possibly developers. A lot of people might want to donate money for tax reasons. For example Minix3 that just went BSD, i looked at their website and they are paying at least 2-3 full time developers.
Re: donation : money : small amount : recurring
It's been over 10 years since DragonFly forked off FreeBSD. While the progress is still happening at a reasonable pace, I think it's time to step it up and get the OS more out there. Otherwise it's always going to be just a research project. Justin is doing a great job promoting DF via DBSDLog but more funding is really the key.
Re: dragonfly site nntp server dead?
Why not use a message board and an RSS service?
dbsdlog takes ridiculously long time to load
While inspecting the html code to see whats causing it to load for about 3 minutes i found this - iframe allowtransparency=true frameborder=0 scrolling=no src=http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.shiningsilence.com%2Fdbsdlog%2F2012%2F03%2F28%2F9471.htmlamp;counturl=http%3A%2F%2Fwww.shiningsilence.com%2Fdbsdlog%2F2012%2F03%2F28%2F9471.htmlamp;count=horizontalamp;text=ldconfig%20search%20path%20change: style=width:97px; height:20px;/iframe on every post on the page. This is causing slowdowns in both IE and Chrome, but particularly chrome. Petr
Re: dbsdlog takes ridiculously long time to load
Just as an addition to my previous post - click on the twitter link and have a look how much code that single iframe button fetches.
Is anyone still using gcc 4.1 on master?
Is it time to get rid of it? It seems like a waste of space/compile time. Maybe replace it with clang-3? Is anyone using GCC 4.1 over 4.4? Petr
Is Facebook indexing this mailing list?
I just opened up a new Facebook account with this email address and, went to People who you may know and I found all the familiar names - Matt Dillon, Jan Lentfer, Sascha Wildner, Michael Neumann, Sephe, Alex Hornung, Hasso Tepper and others. I thought thats kinda cool!
Re: Want to learn about DF kernel
Hi, Can someone please tell me where are kernel config options stored? I'm renaming USB to OLDUSB. Thanks, Petr
Re: pkgsrc and DragonFly current DragonFly 2.9/x86_64 2011-03-11 15:00
Thats quite a few packages not building (around 800) since the switch, at least in comparison to previous bulk build. Is any other BSD using GCC 4.4? Petr
HAMMER and bad disk sectors
What does HAMMER do about bad sectors? Does it mark them as corrupt, and allow system to function normally? Petr
What is peculiar about our math.h implementation?
I'm trying to compile LDC (D compiler for LLVM), I fixed most errors, but this one puzzles me: /home/petr/sources/ldc/dmd2/root/port.c: In static member function 'static int Port::isNan(double)': /home/petr/sources/ldc/dmd2/root/port.c:382: error: '::isnan' has not been declared /home/petr/sources/ldc/dmd2/root/port.c: In static member function 'static int Port::isNan(long double)': /home/petr/sources/ldc/dmd2/root/port.c:393: error: '::isnan' has not been declared /home/petr/sources/ldc/dmd2/root/port.c: In static member function 'static int Port::isInfinity(double)': /home/petr/sources/ldc/dmd2/root/port.c:427: error: '::isinf' has not been declared The math.h header is definitely included Any ideas? Petr
Re: What is peculiar about our math.h implementation?
I'm trying to compile LDC (D compiler for LLVM), I fixed most errors, but this one puzzles me: /home/petr/sources/ldc/dmd2/root/port.c: In static member function 'static int Port::isNan(double)': /home/petr/sources/ldc/dmd2/root/port.c:382: error: '::isnan' has not been declared /home/petr/sources/ldc/dmd2/root/port.c: In static member function 'static int Port::isNan(long double)': /home/petr/sources/ldc/dmd2/root/port.c:393: error: '::isnan' has not been declared /home/petr/sources/ldc/dmd2/root/port.c: In static member function 'static int Port::isInfinity(double)': /home/petr/sources/ldc/dmd2/root/port.c:427: error: '::isinf' has not been declared Interestingly, if I change the code to call __isnand and __isnanl and __isinfd it works fine. Why wouldn't calling the macros work?
Updating corecode's nvidia driver
Currently gives a compile error upon running make In file included from nvidia_ctl.c:14: nv-freebsd.h:267: error: field 'rsel' has incomplete type nv-freebsd.h: In function 'pmap_mapdev_attr': nv-freebsd.h:351: error: too few arguments to function 'kmem_alloc_nofault' nvidia_ctl.c: At top level: nvidia_ctl.c:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'nvidia_ctl_poll' nvidia_ctl.c:26: error: unknown field 'd_poll' specified in initializer nvidia_ctl.c:26: error: 'nvidia_ctl_poll' undeclared here (not in a function) nvidia_ctl.c:86: warning: 'struct dev_poll_args' declared inside parameter list nvidia_ctl.c:86: warning: its scope is only this definition or declaration, which is probably not what you want nvidia_ctl.c:87: warning: no previous prototype for 'nvidia_ctl_poll' nvidia_ctl.c: In function 'nvidia_ctl_poll': nvidia_ctl.c:88: error: dereferencing pointer to incomplete type nvidia_ctl.c:105: warning: implicit declaration of function 'selrecord' nvidia_ctl.c:105: warning: nested extern declaration of 'selrecord' nvidia_ctl.c:106: error: dereferencing pointer to incomplete type nvidia_ctl.c:109: error: dereferencing pointer to incomplete type Is this too difficult to unbreak? I just had a look at nv-freebsd.h:267 and it's defining a variable rsel of type struct selinfo, but I have no idea where that's coming from. Any clues? Thanks, Petr
Re: Updating corecode's nvidia driver
Well, the poll stuff is easy We don't have poll support in the kernel anymore, you need to rewrite those as kq filters. See any other driver for details. I figured as much. Can you please point me to a specific place in the source code where I can learn about kq filters, and maybe even show me the old way and the new way next to each other for comparison? I've managed to unbreak couple of the problems but now Im stuck on nvidia_ctl.c:86: warning: 'struct dev_poll_args' declared inside parameter list Thanks, Petr
How to expand HAMMER running under LVM?
I mean some equivalent of growfs for HAMMER. Im aware of hammer volume-add /dev/diskname, but it seems kind of redundant with LVM since it's supposed to manage the volumes on behalf of HAMMER. Lets say I have an LVM volume to which i add a disk to expand it, how should i grow the filesystem? via volume-add? Maybe Im wrong. thanks Petr
Re: NVIDIA/nouveau
I know that the NVIDIA driver works, but I did have to do some slight tweaking with corecode on the IRC channel before I got it to fully work. This was with my GTS 250 and a while ago though on 2.4 ;) Wish you the best of luck with this endeavor. Can you please tell us the tweaks? Some of us might want to use it. Thanks, Petr
Re: Hammer filesystem
Am 03.11.2010 22:11, schrieb Steve: I've obviously read that it's intended for a minimum filesystem size of 50GB, but if I wanted to try it out on a smaller size what sort of problems am I likely to see? Filesystem filling up very quickly. You could try to reduce the amount of historic data to minimize that effect, check man hammer on viconfig. Jan The biggest consumer of spaces is pkgsrc work directories I find. We should provide a better default mk.conf that uses /usr/obj/pkgsrc and symlink's the per-package work directory to that instead of unpacking directly in the package directory. I think the variable is called WKROBJ_DIR in mk.conf or something like that. There's another one to enable the symlink functionality that I can't remember. Petr
Re: git: nrelease - gui - Change window manager, cpdup additional directories
Personally, I think a GUI install should come with full fledged desktop GUI (either KDE, Gnome or XFCE another) instead of a window manager as they are on their own quite useless. I think fvwm is probably worst choice even as a window manager only as any modification requires user to learn the bit cryptic fvwmrc language. A full fledged desktop like KDE4 would also allow us to nail out bugs related to desktop usage and building from pkgsrc quicker as more people would be reporting. Just saying... Petr
Is anyone going to benchmark 2.8?
This release has had substantial work on SMP scaling. It would be great to see the actual performance increase with MySQL and PostgreSQL in DragonFly 2.8 versus FreeBSD 8/9 versus NetBSD 5. Is anyone planning to do this? Petr
Re: Suggestion for hammer cleanup
What about hammerd? * Starts when system starts * Wakes up every 10 seconds or so to check current system load/memory usage to estimate if its appropriate to run a cleanup operation at this time. * Can have a text file configuration where you can specify maximum size(GB) of history per PFS or % of disk space * Remembers last time it was run (stores information on disk in some text file) * Maybe it can detect if it's a laptop and running on battery to defer cleanup till power is plugged in? The daemon itself would be fairly inexpensive to run. Petr
Suggestion for hammer cleanup
I think we definitely must have hammer cleanup not depending on periodic. Especially laptop/workstation users, since they may be running only couple of hours a day. The system should be able to automatically initiate hammer cleanup whenever it's been more than 1 day/x hours since last time it was run. It doesn't matter if its day or night. Suggestions? Petr
Re: Is the DRM stuff done?
I don't think it is committable at this stage. After the release I will have to spend a few days and see how much can be salvaged. A good chunk of the work was syncing up code from FreeBSD and we should be able to get that in but the actual linux GEM API and mmap()ing... that doesn't look committable to me. Hmm that's sad. I was under the impression that all the GSoC projects went really well. What seems to be the problem with the GEM API? Petr
Is the DRM stuff done?
When will it be committed? Will the Nouveau(open source nvidia drivers) Xorg driver work with our implementation? Petr
Looking for some programming tasks to do
I've been learning C++ for about a year now(own about 5 books on it), and I also started doing a couple of projects in the language at work, but I feel I need to use/understand plain C a bit more. Is there any projects on DragonFly that are easy enough that I can pickup? Few hundred lines of code? Petr
Re: Why did you choose DragonFly?
On Mon, Sep 20, 2010 at 01:33:28PM -0600, Samuel J. Greear wrote: What has drawn you to use the DragonFly BSD operating system and/or participate in its development by following this list? Technical features, methodologies, something about the community? I suspect the HAMMER filesystem to be the popular choice, but what other features affect or do you see affecting your day to day life as an administrator, developer, or [insert use case here], now or in the future? I've used FreeBSD at work since 4.11. I switched from Linux. I came across the DF homepage and found it interesting, then joined all the mailing lists and never left. What I enjoyed most over the years is the technical discussions. I very much like the openness of the developer team to try new ideas, and general politeness to users. Not that using DragonFly has always been a smooth ride, especially at the start I had all kinds of issues with it which progressively got fixed, but the community has kept me in and Im glad because its been a worthy ride since 1.2 when I begun using it. In particular I'd like to thank Justin for running the blog its one of the most visited websites for me over the last 5 or so years. Petr
Re: dma command
I'm running Ubuntu 10.04 and I've installed with apt DragonFly Mail Agent package (dma). dma man page is the same that dragonflybsd dma man page, but I want to know how I must send mail with dma command. Sorry I don't know anything about DMA, but here is a question for the devs: is DMA ready for prime time ie. replace sendmail for local mail delivery so that sendmail can be removed from the base? PEtr
Re: Is it time to dump disklabel and use GPT instead?
Yes, it's students-only. Don't wait! Start now. It'll be difficult, but nothing worthwhile is ever easy. So I have to be a uni student or something like that? Petr
Re: DragonflyBSD GEOM? (Re: Is it time to dump disklabel and use GPT instead?)
If someone wants to write a really nice gpt partition editor that pops you into vi or emacs or whatever then I would be more amendable to using gpt as a default. But if all we have is command-line list/add/remove junk, then no. Can you give me some pointers as for where to start looking for more information on our implementation of GPT? How much low level stuff is involved in writing such an editor? Petr
Re: Is it time to dump disklabel and use GPT instead?
Given that's it's going to be a year until the next one, I wouldn't wait on any work you may want to do; a new GPT editor could be finished in less time, I would guess. Doah, I haven't been a student for 5 years :)
Re: Is it time to dump disklabel and use GPT instead?
Well, there are two parts to GPT. There is the partition table standard and then there is the BIOS support. If you mean booting from a GPT compatibility slice without needing the BIOS support then it is probably doable. This. I've come across a few people (Linux users wanting to try DragonFly because of HAMMER) who ultimately go somewhere else because of difficulty to setup partitions(both fdisk and disklabel are difficult to use). Another reason being we don't have BASH in the base which Linux users like. They do get turned off with TCSH, I dont mind it but Im not a Linux user. To setup a HAMMER filesystem requires at least 4 steps: 1) fdisk 2) disklabel 3) newfs_hammer 4) Create PFSs Disklabel seems to be largely redundant to GPT just for the sake of BSDism. Im not in favour of making things more user-friendly just for the sake of it, but this also seems to be a logical step forward. Petr
Is it time to dump disklabel and use GPT instead?
It seems that a lot of new comers get a really annoyed(and more than often turn away altogether) with the fact that they have to use archaic programs like disklabel to setup partitions. Wouldn't it be better to simply dump it, and use GPT partitions instead? Petr
Re: Is it time to dump disklabel and use GPT instead?
If by dump it you mean default to GPT style partitioning, I think that is valid discussion. I would say yes, standardization here seems to be a net positive. Yes thats what I mean. Instead of disklabel partitions like ad0s1*, only use GPT partitions ie. ad0p* - note the change from s to p - since calling partitions slices will no longer be necessary as well. Petr
Re: Is it time to dump disklabel and use GPT instead?
DragonFly could really lead the way here amongst the BSDs who all use some version of disklabel. Can DF boot from a GPT partition? If so the next thing would be teaching it to boot from such a partition without a disklabel present. For example: /boot ... /dev/da0p0 / ... /dev/da0p1 /usr ... /dev/da0p2 /var ... /dev/da0p3 and so-on. Its simple and elegant and will not confuse everyone who is new the BSDs. Petr
Re: Networking problem - Just how to do this?
Do you have a second NIC in the DF box? The ASA5505 is a firewall security device and not a router therefore do not make the mistake in believing it will behave like a router. Cisco ASA's are persnickety devices and will only VPN from an insecure to a secure interface. If your DF box had a second NIC that you could put on the ASA's secure interface (LAN) then you could VPN via the ASA. This is not optimal and only based on the assumption that you do not want to relocate the DF box completely behind the ASA which is the other option. I hope that helps. Yes thats what I thought pretty much. The box has a second NIC so I just used that. Petr
One NIC with multiple IP addresses on different networks?
Hi, I know this would work ie. ifconfig bge0 202.111.111.111 255.255.255.0 ifconfig bge0 alias 202.111.111.112 255.255.255.255 note they are on the same network. What if the alias was on a 203.xxx.xxx.xxx? Would that work? What would the netmask be in such case? Thanks, Petr
Networking problem - Just how to do this?
The situation is like this: DF Box is on a public IP - 1.1.1.2 - The box is connected to a switch, and the switch is connected to the upstream router - 1.1.1.1 Now, I've also connected another router(Cisco ASA 5505) to the switch. Its also got a public IP - 1.1.1.3 - and the router will be used to establish VPN connections to another network on the internet. The problem is I dont have a private network, the DF box is on a public IP. So I aliased the network interface on the DF Box and gave it a private IP: 10.0.0.2/24. I'm kind of at loss as what to do next. Has anyone been in a similar situation? Worst come worst i'll have to run another cable to the second NIC on the DF Box and split the topology physically. Thanks, Petr
sysbench threading performance problems
Hi, Im trying to benchmark DF with sysbench and got 2 issues: The cpu and OLTP (using mysql) benchmarks are ridiculously slow. ie. with one thread they take minutes to complete while on freebsd its a matter of seconds. Can someone verify this? I dont know if its sysbench or DragonFly bug. Petr
Re: sysbench threading performance problems
However whats interesting is DF performance in the fileio/seqrd benchmark with one thread. DF seems to be about 4 times slower. But when you add 2nd thread it almost catches up with FBSD.
changing to x86_64 from i386
Hi guys, Is there a non-complicated way to change/cross-compile kernel and userland to 64bit from a 32bit installation? Thanks, Petr
Re: changing to x86_64 from i386
Unfortunately no. We'd need 32 bit emulation support in the 64 bit kernel to be able to boot the 32-bit filesystem image with a 64-bit kernel and we don't have it. The best solution is a completely fresh install using the 64-bit img/iso. Doing an upgrade in place would be difficult. You would have to boot from a 64-bit usb key and then installworld/installkernel the update, but beyond that the system likely has 32 bit binaries strewn all over the place (e.g. installed pkgsrc stuff) and cleaning it all out could take forever. The fresh install really is the best choice. Thanks Matt! Petr
Hammer: recovering a directory
Hi all, How does one recover a directory. ie. a database directory that has many files at a specific time?. How can I guesstimate the right transaction ID created approximately 5 minutes( or 5 hours ago) so that I may recover the directory? Is there any tool to display all transaction ids on the file system between specific times? Thanks, Petr
kde-workspace4 on DragonFly
Hi, I've been trying to update my workstation to kde4 but the last package kde-workspace4 fails to build with this error: http://avalon.dragonflybsd.org/reports/20091123.0451/kdebase-workspace4-4.3.1/build.log Is this difficult to fix? Thanks, Petr
RE: kde-workspace4 on DragonFly
It would be good if someone could make sure that this patch *REALLY* makes its way upstream now, as I don't have the time right now to follow up on this. Thanks, Im compiling now. Maybe the patch should check for DragonFly so it doesnt break on FreeBSD. Petr
Re: mount nfs from freebsd 7: protocol not supported
: :The DragonFly box is the server, and Ive forced the FBSD nfs clients to :use TCP. : :Is this the right setup? : :Petr You should use TCP no matter what the client/server is. I though FreeBSD defaulted to tcp now (as do we in 2.5+). FreeBSD 7 default is definitely UDF. Dunno bout 8. Petr
Re: Issues with 3G of ram fixed for 64 bit builds
x86_64 now works properly with 3G of ram. Bounce buffers in the kernel were broken due to an incorrect #define. I guess this could be why ciss on x86_64 (machine also has 5GB RAM) halts the boot process. Petr
Re: mount nfs from freebsd 7: protocol not supported
Now that you have it working, if you are doing more then just playing a bit with it please be sure to use a TCP mount and not a UDP mount. Particularly between FreeBSD 7 and any recent DragonFly. A DragonFly client is capable of queueing upwards of 50+ RPCs to the server concurrently and UDP mounts will blow up (basically throw data away due to the socket buffers not being anywhere near large enough, causing stalls). The DragonFly box is the server, and Ive forced the FBSD nfs clients to use TCP. Is this the right setup? Petr
Re: Updating USB stack from FBSD 8.x and others
Just out of curiosity, what's wrong with BTX + loader? It's working quite well for me, and I like the fact that it is scriptable so you can do whatever you want, e.g. create your own menus and so on. (Admittedly FORTH is not the most intuitive language to program in, but you get used to it.) Hardware. I've had 2 keyboards now(USB wireless) that simply dont work in loader. So chainloading wont help. Meanwhile they work perfect in GRUB. I would expect plenty more keyboards to be made that will not work. Its a hassle that need not be. And in regards to scripts and making menu the way you want. Editing grub menu is super easy, but you know. A nice graphical DragonFly logo in grub would also lighten things up. Common, its the 21st century. ASCII logos may have been cool in the 80's but now its more like cliche. Seeing that a goal of DragonFly is write unix technologies of the new century, I think a graphical boot menu is a must. Even OpenSolaris now uses grub.
Re: Updating USB stack from FBSD 8.x and others
The problem with USB keyboards was fixed in FreeBSD recently. Since DragonFly bascially shares the same loader, maybe it's time to sync it to FreeBSD. Can you point me to a specific commit(s) ? http://www.secnetix.de/olli/FreeBSD/vloader/screenshot6.png This is an actual screen shot from the loader menu while booting up DragonFly within qemu. It requires a patched loader. If anybody is interested to give it a try, here are instructions (also for DragonFly): http://wiki.freebsd.org/OliverFromme/BootLoaderTest Nice! Petr
HAMMER: recovering directory?
So we know that we can recover files. What if a directory(lets say it contains 3000 files) is accidently deleted or the files are overwritten, but it doesnt exist in the last snapshot (ie. I created it today). How can we recover that? Thanks, Petr
Re: Updating USB stack from FBSD 8.x and others
I'll try FBSD8 and see if my keyboard works. Petr
Re: HAMMER: recovering directory?
Or if we set prune-min to 3 days. Lets say someone modifies a database and we want to recover the directory containing the database files at exactly the state it was 4 hours ago (before the changes were made) How can I do that?
Re: HAMMER: recovering directory?
Note, that you don't have to call hammer synctid youself, as every 30 seconds the filesystem is synced to disk. Assuming you know the transaction id, but what if you dont know? Petr
mount nfs from freebsd 7: protocol not supported
Hi all, There has been a lot of NFS changes recently so maybe its related. I can mount an NFS share on the DF box, but when I try to mount it from FBSD 7 it gives me: mount_nfs: /usr/local/www/aubill/public/invoices: Protocol not supported Any ideas? My nfs server flags are -t -u -n 4 Petr
Re: mount nfs from freebsd 7: protocol not supported
Are you using NFSv4? As far as I know we don't support it; only v2 and v3. No, I tried(on the FBSD box) using mount_nfs -2, mount_nfs -3 practically everything but cant get past the error. Interestingly when i do try to mount it, it showmounts shows that its mounted. This problem is really really urgent. Petr
Re: mount nfs from freebsd 7: protocol not supported
So I changed the server to only serve TCP clients. And I ran this on the client: mount_nfs -3 -T xxx.xxx.xxx.xxx:/usr/aubill/invoices /usr/local/www/aubill/public/invoices And now im getting this: nfs server xxx.xxx.xxx.xxx:/usr/aubill/invoices: not responding it keeps repeating itself and I cant kill the mount_nfs process!
Re: Updating USB stack from FBSD 8.x and others
2009/12/12, elekktrett...@exemail.com.au elekktrett...@exemail.com.au: Hi all, 1) I think we desperately need to bring our USB stack into reality. Is anyone working on bringing in the new FreeBSD USB code or maybe one from other BSDs? How difficult would it be? Lets dicuss. I am going to port FreeBSD 8 stack. Excellent! Anyone else willing to put in some $$$? Matt, Hows it going with getting the non-profit status for DragonFly? It'd be great if any financial contributions would also be tax deductable. Cheers, petr
NVIDIA driver question
Hi Simon, Just a question about your nvidia driver port. Does it work on x86_64? I know the FreeBSD driver is only for i386 but your driver is a port so Im not sure. Thanks, Petr
Updating USB stack from FBSD 8.x and others
Hi all, 1) I think we desperately need to bring our USB stack into reality. Is anyone working on bringing in the new FreeBSD USB code or maybe one from other BSDs? How difficult would it be? Lets dicuss. 2) BTX: i have been recently bitten by this thing again and I would really like to see GRUB + multiboot in, BTX and loader out. I would be willing to contribute up to $500 USD for each, maybe others will put in some $$$ too. Cheers, Petr
Goals page suggestion
Hi Justin and everyone, It would be very cool if someone updated the goals page on the dragonfly site with information on the status of each of the goals/projects. Petr
Ruby 1.9 -whats happening here?
Hi guys, I may have had perhaps a wishful thinking that pkgsrc contains Ruby 1.9, which I found that it doesnt. So i went and compiled it from source manually. Compile went ok but when I try to install the rmagick gem, I get this error: == Mon 05Oct09 23:07:21 This installation of RMagick 2.12.0 is configured for Ruby 1.9.1 (i386-dragonfly2.4.1) and ImageMagick 6.5.5 Q16 == make gcc -I. -I/usr/local/include/ruby-1.9.1/i386-dragonfly2.4.1 -I/usr/local/include/ruby-1.9.1/ruby/backward -I/usr/local/include/ruby-1.9.1 -I. -DRUBY_EXTCONF_H=\extconf.h\ -I/usr/pkg/include/ImageMagick -fPIC -I/usr/pkg/include/ImageMagick -ormmontage.o -c rmmontage.c In file included from /usr/local/include/ruby-1.9.1/ruby/ruby.h:1125, from /usr/local/include/ruby-1.9.1/ruby.h:32, from rmagick.h:27, from rmmontage.c:9: /usr/local/include/ruby-1.9.1/ruby/missing.h:109: error: expected identifier or '(' before 'sizeof' /usr/local/include/ruby-1.9.1/ruby/missing.h:109: error: expected ')' before '?' token The code in missing.h is: #ifndef HAVE_ISNAN RUBY_EXTERN int isnan(double); #endif Im not a C programmer, but can I get some clues on how to fix this? By the way, any ideas why Ruby 1.9 isnt yet in pkgsrc nor in pkgsrc-wip? Its in FreeBSD ports and works very well. I searched through netbsd mailing lists and couldnt find an answer. Ruby 1.9.1 is production ready. Thanks, Petr
Re: Which graphics card for dual display?
Hi Simon, Ive installed the nvidia driver on this box, following the instructions in the README. But when running startx I get NVIDIA: failed to set MTRR, at 0xd00 256MB (WC) Is this a problem? X seems to start normally. But no nvidia logo appears. Thanks, Petr
Re: Which graphics card for dual display?
Ok, but does the nvidia driver work with devfs? petr
Re: Which graphics card for dual display?
Is the current git repo still at: git://ww2.fs.ei.tum.de/~corecode/nvidia.git I looked at the doco and it still says to create static devs for nvidia. Thanks, Petr
Re: Which graphics card for dual display?
Excellent! Didnt know that, I was only going by the old repo. Monday I will be install DragonFly on the new workstation: nvidia 9800 with dual DVIs and 2x 21.5 inch HD displays :)
Which graphics card for dual display?
Im going to be setting up a new workstation with 2x 19inch LCD displays using DVI. Which graphics card should I get that would work well in DF, any ideas? Petr
Re: Which graphics card for dual display?
Thanks, Is the nvidia wrapper up to date with the devfs work? Petr
pkgsrc in git?
Hi all, Now that we've been using git, do you think it may be a good idea to create a git mirror of pkgsrc? Petr
Hammer question about pruning
Hi all, Im thinking about deploying DragonFly as a storage server. Company I work for needs fine snapshot/versioning granularity and I think Hammer would be good for that. The situation is like this: they want daily snapshots, but they want to keep every modification of files/databases since the last snapshot for at least 3 days. Is this as easy as configuring the pruning in hammer cleanup to 3d? Should reblocking still be done daily or also every 3 days? Thanks, Petr
Re: Hammer question about pruning
Thanks Matt, So if I set the prune-min to 3 days, and use even the default PFS config (1 day snapshot, 1 day prune, 1 day reblock) it will just work? Excellent! Petr
Updated to latest master and have a problem
Hi all, Ive updated my machine to the latest master to try devfs. Ive run buildworld,installworld,buildkernel,installkernel and make upgrade and then restarted and I get the mountroot prompt saying this: hammer_mount: volume /dev/ad4s1b has an invalid header Root mount failed: 79 mountroot What did i do wrong and what can I do to fix this? Was I supposed to rm /dev before running make upgrade or something like that? Petr
Re: Updated to latest master and have a problem
My bad, I was using ad4s1a for root, then found its actually ad4s1d. Ive booted now and im trying to get kdm/Xorg to start. Any ideas? It gives me IO Error in XOpenDisplay. Petr
Re: Updated to latest master and have a problem
Futher updates. I have found this is a problem with the nvidia-driver wrapper. Simon: Is this something you have to update in the wrapper or can I do it on my own? Xorg is complaining that /dev/nvidiactl is missing and it failed to load the nvidia driver. Question about sound: is it now possible to be playing multiple sounds at one time without having to give each application a different /dev/dsp* device? Thanks, Petr
Corporate spying hackng problem
Hi all, Company that I work for has had a major intrusion into their billing system most likely by one of their competitors and they deleted about half a million $ worth of invoices. They used a chinese proxy server to avoid being tracked. The IP address of the proxy is 119.119.231.1. It blocks all incoming ports and ping, im curious is there any way to find out the name of the company/person who ownes this IP? Cheers, Petr
Re: HEADS UP - devfs integration in master this weekend
I cant wait. I think devfs is really important, with so much static nodes in /dev its really a mess. Just a side question, when HAMMER becomes network aware (disks spanning/replicating over network in a cluster), will it be possible to mount disks on other DragonFly servers like mount_hammer /dev/disk_on_the_network /mnt/mydisk and it will just know that disk_on_the_network is a disk on a different server that is part of the cluster? This will be the greatest release yet no doubt. Cheers, Petr
Re: Master release schedule changes, major feature list - September 2009
If all of this makes it to 2.4, then I think this will be the biggest release since 1.0A! Petr
Re: Very weird problem with amavisd-new crashing
Ok, the problem seems to be with libc_r. switching to libthread_xu works. perl makes this error: neptune# Fatal error 'mutex is on list' at line ? in file /usr/src/lib/libc_r/uthread/uthread_mutex.c (errno = ?) Fatal error 'mutex is on list' at line ? in file /usr/src/lib/libc_r/uthread/uthread_mutex.c (errno = ?) Fatal error 'mutex is on list' at line ? in file /usr/src/lib/libc_r/uthread/uthread_mutex.c (errno = ?) Fatal error 'mutex is on list' at line ? in file /usr/src/lib/libc_r/uthread/uthread_mutex.c (errno = ?) Fatal error 'mutex is on list' at line ? in file /usr/src/lib/libc_r/uthread/uthread_mutex.c (errno = ?)
Re: Very weird problem with amavisd-new crashing
There is no coredump. I suppose to enable core dumping I have to recompile perl with -g Cflag? Or else how? I've run amavisd with perl -w (debug option) and it produced this: neptune# amavisd my variable $result_ref masks earlier declaration in same scope at /usr/pkg/sbin/amavisd line 2847. Name Amavis::Conf::CC_TEMPFAIL used only once: possible typo at /usr/pkg/sbin/amavisd line 198. Subroutine new redefined at (eval 78) line 26. Subroutine get redefined at (eval 78) line 113. Subroutine set redefined at (eval 78) line 128. my variable $errn masks earlier declaration in same scope at (eval 82) line 129. Prototype mismatch: sub Encode::Unicode::UTF7::decode ($$;$) vs none at /usr/pkg/lib/perl5/5.8.0/Encode/Unicode/UTF7.pm line 77. could the last line be the culprit? Petr
hammer: big file changes very often
Hi, Ive just been thinking about this thing. what if i had a lets say 1gb database file which changes at least every 30 seconds. if sync is run every 30 seconds, i would effectively create 2880 historical copies of the same 1gb file every day. This would equal to almost 3TB of history every day. I think its safe to assume that most people dont have 3TB of space. How would you have to configure hammer to only keep one copy a week(without creating 3TB of history every day) or not keep any copy of this file at all? Petr
hammer: big file changes very often
Hi, Ive just been thinking about this thing. what if i had a lets say 1gb database file which changes at least every 30 seconds. if sync is run every 30 seconds, i would effectively create 2880 historical copies of the same 1gb file every day. This would equal to almost 3TB of history every day. I think its safe to assume that most people dont have 3TB of space. How would you have to configure hammer to only keep one copy a week(without creating 3TB of history every day) or not keep any copy of this file at all? Petr
Lockless kernel failed?
I'm looking at the SoC page at the wiki for LockLess Kernel, and it says Summer Of Code failed, is it true? Its a pity as it was the single one SoC project Ive been really looking forward to. :(
Re: Ruby crash on DragonFly
Is it reproducable? Does the code in the view crash every time? 100% reproducable. Im gonna run a few tests (older 1.x rails version on DF, and on fbsd 6.2). It seems the same problem happens when i use render_component(), so i dont think its just LDAP problem. I find that this happens: 1) @zones = client.zones in controller = works 2) -||- in view with fcgid = crash 3) -||- in view in plain cgi = work 4) -||- in view using render_component and plain cgi = crash I was using 3) for quite a while (i knew bout this problem for ages) but now i need to put it into production and use fcgid and im stuck. Petr
Re: Ruby crash on DragonFly
In regards to not being able to compile ruby again, i ran ktrace on bmake and this is what i got when it halts on compiling bigdecimal. 85350 bmakeRET vfork 85383/0x14d87 85350 bmakeCALL wait4(0x,0xbfbfec40,invalid0,0) 85350 bmakeRET wait4 85383/0x14d87 85350 bmakeCALL pipe 85350 bmakeRET pipe 3 85350 bmakeCALL vfork 85350 bmakeRET vfork 85384/0x14d88 85350 bmakeCALL close(0x4) 85350 bmakeRET close 0 85350 bmakeCALL read(0x3,0xbfbfdf90,0x400) 85350 bmakeRET read 355/0x163 85350 bmakeCALL read(0x3,0xbfbfdf90,0x400) 85350 bmakeRET read 0 85350 bmakeCALL close(0x3) 85350 bmakeRET close 0 85350 bmakeCALL wait4(0x,0xbfbfdf74,invalid0,0) 85350 bmakeRET wait4 85384/0x14d88 85350 bmakeCALL vfork 85350 bmakeRET vfork 85385/0x14d89 85350 bmakeCALL wait4(0x,0xbfbfec40,invalid0,0) 85350 bmakeRET wait4 85385/0x14d89 85350 bmakeCALL munmap(0x28172000,0x1000) 85350 bmakeRET munmap 0 85350 bmakeCALL vfork 85350 bmakeRET vfork 85411/0x14da3 85350 bmakeCALL wait4(0x,0xbfbfec40,invalid0,0) 85350 bmakeRET wait4 85411/0x14da3 85350 bmakeCALL vfork 85350 bmakeRET vfork 85412/0x14da4 85350 bmakeCALL wait4(0x,0xbfbfecb0,invalid0,0) 85350 bmakeRET wait4 85412/0x14da4 85350 bmakeCALL vfork 85350 bmakeRET vfork 85413/0x14da5 85350 bmakeCALL wait4(0x,0xbfbfecb0,invalid0,0) 85350 bmakeRET wait4 85413/0x14da5 85350 bmakeCALL vfork 85350 bmakeRET vfork 85414/0x14da6 85350 bmakeCALL wait4(0x,0xbfbfecb0,invalid0,0) 85350 bmakeRET wait4 85414/0x14da6 85350 bmakeCALL vfork 85350 bmakeRET vfork 85415/0x14da7 85350 bmakeCALL wait4(0x,0xbfbfecb0,invalid0,0) 85350 bmakeRET wait4 85415/0x14da7 85350 bmakeCALL vfork 85350 bmakeRET vfork 85416/0x14da8 85350 bmakeCALL wait4(0x,0xbfbfed90,invalid0,0) 85350 bmakeRET wait4 85416/0x14da8 85350 bmakeCALL vfork 85350 bmakeRET vfork 85417/0x14da9 85350 bmakeCALL wait4(0x,0xbfbfed90,invalid0,0) 85350 bmakeRET wait4 85417/0x14da9 85350 bmakeCALL pipe 85350 bmakeRET pipe 3 85350 bmakeCALL vfork 85350 bmakeRET vfork 85418/0x14daa 85350 bmakeCALL close(0x4) 85350 bmakeRET close 0 85350 bmakeCALL read(0x3,0xbfbfe150,0x400) 85350 bmakeRET read 355/0x163 85350 bmakeCALL read(0x3,0xbfbfe150,0x400) 85350 bmakeRET read 0 85350 bmakeCALL close(0x3) 85350 bmakeRET close 0 85350 bmakeCALL wait4(0x,0xbfbfe134,invalid0,0) 85350 bmakeRET wait4 85418/0x14daa 85350 bmakeCALL pipe 85350 bmakeRET pipe 3 85350 bmakeCALL vfork 85350 bmakeRET vfork 85419/0x14dab 85350 bmakeCALL close(0x4) 85350 bmakeRET close 0 85350 bmakeCALL read(0x3,0xbfbfe150,0x400) 85350 bmakeRET read 355/0x163 85350 bmakeCALL read(0x3,0xbfbfe150,0x400) 85350 bmakeRET read 0 85350 bmakeCALL close(0x3) 85350 bmakeRET close 0 85350 bmakeCALL wait4(0x,0xbfbfe134,invalid0,0) 85350 bmakeRET wait4 85419/0x14dab 85350 bmakeCALL vfork 85350 bmakeRET vfork 85420/0x14dac 85350 bmakeCALL wait4(0x,0xbfbfee00,invalid0,0) 85350 bmakePSIG SIGINT caught handler=0x804b380 mask=0x0 code=0x0 85350 bmakeRET wait4 RESTART 85350 bmakeCALL lstat(0x28346b80,0xbfbfe9c8) 85350 bmakeNAMI barrier 85350 bmakeRET lstat -1 errno 2 No such file or directory 85350 bmakeCALL exit(0x2)
Re: Ruby crash on DragonFly
Is it reproducable? Does the code in the view crash every time? 100% reproducable. Im gonna run a few tests (older 1.x rails version on DF, and on fbsd 6.2). It seems the same problem happens when i use render_component(), so i dont think its just LDAP problem. I find that this happens: 1) @zones = client.zones in controller = works 2) -||- in view with fcgid = crash 3) -||- in view in plain cgi = work 4) -||- in view using render_component and plain cgi = crash I was using 3) for quite a while (i knew bout this problem for ages) but now i need to put it into production and use fcgid and im stuck. Petr
Re: Ruby crash on DragonFly
Is it reproducable? Does the code in the view crash every time? 100% reproducable. Im gonna run a few tests (older 1.x rails version on DF, and on fbsd 6.2). It seems the same problem happens when i use render_component(), so i dont think its just LDAP problem. I find that this happens: 1) @zones = client.zones in controller = works 2) -||- in view with fcgid = crash 3) -||- in view in plain cgi = work 4) -||- in view using render_component and plain cgi = crash I was using 3) for quite a while (i knew bout this problem for ages) but now i need to put it into production and use fcgid and im stuck. Petr
Re: Ruby crash on DragonFly
Is it reproducable? Does the code in the view crash every time? Ok it seems to be DF specific as in FreeBSD loading Zones from the view works just fine in all cases. ok now the interesting thing is, if i put the code into a partial it crashes with both cgi and fcgid, but in plain view(without partial or component) it crashes only with fcgid. i guess its not related to fcgid, but it maybe just causes it to crash more often.
Re: Ruby crash on DragonFly
Is it reproducable? Does the code in the view crash every time? 100% reproducable. Im gonna run a few tests (older 1.x rails version on DF, and on fbsd 6.2). It seems the same problem happens when i use render_component(), so i dont think its just LDAP problem. I find that this happens: 1) @zones = client.zones in controller = works 2) -||- in view with fcgid = crash 3) -||- in view in plain cgi = work 4) -||- in view using render_component and plain cgi = crash I was using 3) for quite a while (i knew bout this problem for ages) but now i need to put it into production and use fcgid and im stuck. Petr
One thing ive been wondering for a long while
How does one list all diskdrives connected to the system (the ones mounted AND unmounted) on a BSD system without looking at dmesg? Normally, id look into dmesg to find that ie. my usb drive is on da0 or da1, but there must be a much better way to find out. Cheers, Petr
Re: NFS question
I usually tell NFS to do a background mount by specifying the 'bg' option. Making operations interruptable with the 'intr' option is also a good idea in certain cases. For example: fubar:/usr/doc /usr/docnfs ro,bg,intr 0 0 fubar:/sources/HEAD/usr/srcnfs ro,bg,intr 0 0 Great, thanks a lot! Btw, Which man page contains doco for all the options? Petr