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
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: What's the status of the USB stack port?
> On Sat, 01 Sep 2012 11:44:47 +0200, 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
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: 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
> > 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
> Of course, and overseen in the same manner. > Open source, open security. > Regards, I think the DragonFly website needs serious updating too. It seems like the "Goals" section has disappeared. We need to help people understand other programmers why they should choose to work on DragonFlyBSD instead of (FREE|NET|OPEN) BSD Minix3 is becoming very popular right now to work on. (looking at their git, i counted at least 8 frequent contributors). I think it's because their goals are stated loud and clear: highly-reliable bsd-like microkernel 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.
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
> 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
> 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
> We need to employ the various skills and knowledge types within the > already established community. > Why go outside to gain benefits that we may well already possess? > > Employ already existing assets to maximum potential, before assuming > further overhead. > Regards, All I'm saying the doors should be open to anyone.
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
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: 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: dragonfly site nntp server dead?
Why not use a message board and an RSS service?
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.
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 - http://platform.twitter.com/widgets/tweet_button.html?url=http%3A%2F%2Fwww.shiningsilence.com%2Fdbsdlog%2F2012%2F03%2F28%2F9471.html&counturl=http%3A%2F%2Fwww.shiningsilence.com%2Fdbsdlog%2F2012%2F03%2F28%2F9471.html&count=horizontal&text=ldconfig%20search%20path%20change: " style="width:97px; height:20px;"> on every post on the page. This is causing slowdowns in both IE and Chrome, but particularly chrome. Petr
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
Re: Is Facebook indexing this mailing list?
It won't be this because right after I signed up it asked me to connect to my email, but it said "Facebook doesn't yet know how to connect to your provider" Petr > Maybe your mail provider index the addresses for you, as gmail do, and > facebook imported that auto-contacts. > > I recreated my facebook profile some months ago and I haven't found > mailing-list folks. > > 2011/9/29 : >> 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! >> >> > > > > -- > Il reggiseno e uno strumento politico: separa la destra dalla > sinistra, solleva le masse e attira i popoli. >
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
What are the objectives for DF 3.0?
Other than the GSoC projects, and assuming that the next release will be 3.0 and not 2.12? 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
Autodetecting fs in mount cmd
I wish we could just do: mount /dev/acd0 /mnt/cd and it would find out what filesystem is on acd0 and succeed(like in Linux) instead of specifying the type on the command line. Is this hard to do? Petr
Re: HAMMER and bad disk sectors
> You will get read errors. EIO for any related files/directories. > It may or may not be able to reallocate them but HAMMER does not keep > a bad-block table. media errors generally mean the media must be > replaced. If the media error occurs in a bad place, like a bitmap or > undo record, the filesystem will be knocked down to read-only mode. Do you think it might be useful to have a bad block table? It may take days for a new hard drive to arrive, and sometimes the only choice is to keep the box running for the time being. 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
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?
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: Updating corecode's nvidia driver
> I'm also interested in Nvidia driver under DFBSD like you. Have you > solved the trouble? Hi Vitaly, Please use the same thread. I would like to receive some tutoring from one of the devs. i've never done any low level work like that, although I am comfortable in C++ (and mostly C too). I would like to fix whatever's broken and then update the actual NVIDIA driver to the latest. If I can manage to do it successfuly, I can then try to maintain it as corecode is clearly busy and it would be a great exercise for me, but like I said I need some tutoring. 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
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: 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
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: 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
Re: Looking for some programming tasks to do
> Please don't use C++ arbitrarily. C will do fine for all those projects > as far as I can tell and is the preferred way. > Even for userland? Petr
Re: Looking for some programming tasks to do
> I have been doing my best to maintain the projects pages with tasks > for all skill levels, you will definitely find something on one of > them. > > http://www.dragonflybsd.org/docs/developer/ProjectsPage/ > http://www.dragonflybsd.org/docs/developer/researchprojectspage/ > http://www.dragonflybsd.org/docs/developer/Code_Bounties/ > http://www.dragonflybsd.org/docs/developer/gsocprojectspage/ Cool, is there any objections to C++ in userland? I know C++ in kernel is considered a no-no in Linux, is it the same in DF? Thanks, 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?
> 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: 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?
> 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: Is it time to dump disklabel and use GPT instead?
> Also, if Linux wants to import *BSD's block devices, > that's > a Linux problem, not *BSD's. I think that "some" Unix interoperability should be a long term goal for any Unix system. When you have a recognized standard like GPT, using it seems to be the right thing to do, instead of developing another solution that is incompatible with everything else on the market. You're not going to get Linux to change because of BSD, it's the other way around. At least in regards to interoperability. Technical merit, maybe. I might signup for GSoC 2011. Do I have to be a student? Petr
Re: Is it time to dump disklabel and use GPT instead?
> What evidence do you have of newcomers being "more than often" turned > away by having to use "archaic tools"? I visit a couple of Linux forums, and while the word "DragonFly" surely seems to have picked up some usage in the recent months, I also hear that they go somewhere else after a brief experience setting it up. Majority of these people seem try DragonFly because of HAMMER and their aim is to setup a "backup" box. > If they want DragonFly only on their whole disk, they can just let the > installer install DragonFly to the whole disk without having to use > either fdisk or disklabel. >From what I hear, people prefer to use a separate hard disk(s) instead of using the one on which they installed DragonFly initially to store their backups. So they cannot avoid fdisk and disklabel. It made me think, what advantage do we get by over-complicating things with disklabels, sectors, offsets etc? They are things that, I feel, majority of *nix users don't wanna hear about these days. I've used *BSD for a few years and while i never really had problems with disklabel(except once), it does seem kind of cool to "partition a slice", it is redundant at the same time especially now that GPT is here and it does work with existing BIOSes. I blasted away a DF disklabel by accident once(installing FreeBSD on another slice) and I didnt have backups and I managed to recover my data only partially, sure my fault..i didnt have a backup, but on the other hand I blame the disklabel to be too easy to stuff up. As I mentioned earlier, another issue they seem to find, is the non-availability of choosing BASH during the install. - So, what is the real world advantage of using disklabel, that can't be done with GPT on 99.99% of all OS install? that is worth breaking compatibility with other *BSDs - each BSD implements disklabel differently- and other OSs like Linux - doesn't use disklabel at all but for Linux to support reading/writing to HAMMER or UFS, it would have to implement some basic disklabel support. Petr
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
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: 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
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: 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
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
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
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.
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: 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
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
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
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
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: 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
> > : > :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: 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: mount nfs from freebsd 7: protocol not supported
Hmmm, I think I resolved this. Im not sure whether thats a bug or a feature in freebsd 7 but essentially what happened was that the directory where I was trying to mount the share used to have solaris nfs4 mounted on it before, and for some reason when I tried to mount_nfs the directory this time with DragonFly nfs3, it kept trying to mount it using nfs4 even when i specified that I want -2 or -3. !! 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: 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
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: 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
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: Updating USB stack from FBSD 8.x and others
I'll try FBSD8 and see if my keyboard works. 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
> 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
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.
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
Re: Updating USB stack from FBSD 8.x and others
> I don't know if non-profit would help us here - people would have to pay > money to the non-profit entity, which would then hire someone (Alexander) > to do the work. Once money gets involved with an official organization, > the processes have to be very clear and very fair. We'd probably need to > move to a grant application process like what the FreeBSD Foundation does > now. > > We're fine with this informal volunteer process we have now, as a way to > move money between individuals. I've seen open source non-profits end up > with problems because money gets awarded to individual developers in a > not-too-clear way and other developers get hurt, emotionally and > financially. I know what you mean, but being able to use such contributions for tax deductions would surely encourage more people to contribute. Petr
Re: Updating USB stack from FBSD 8.x and others
> 2009/12/12, 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
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?
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 :)
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?
Ok, but does the nvidia driver work with devfs? petr
Re: Which graphics card for dual display?
Thanks, Is the nvidia wrapper up to date with the devfs work? Petr
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
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
Re: Hammer question about pruning
In regards to existing hammer instalations that run the initial HAMMER release, do I have to upgrade to HAMMER WIP? Petr > > :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 > > Yup, it should. Remember, each PFS (if you have more then one) is > separately configured for prune-min. > > -Matt > Matthew Dillon > >
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
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: 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
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
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
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