From invalid.pointer at gmail.com Wed Jul 1 06:02:54 2009 From: invalid.pointer at gmail.com (Manish Jain) Date: Wed Jul 1 06:03:00 2009 Subject: Questions on portmaster Message-ID: <4A4AFC07.6070508@gmail.com> Hi, I am using portmaster on FreeBSD-7.2 to keep my ports up to date. When there are multiple ports to be updated, portmaster will fork off child processes. Does each child start 'make fetch' in the background ? I ask this because the parent process attached to the console reports very low data transfer rates (in the range of 0.7 to 4.0 kBps, while normally I get 30 to 35 kBps). Further, how can portmaster be tuned to automatically ignore ports which are actually marked as IGNORE in the port directory ? This is not covered in the manpage. While doing portmaster -a, I have only managed to stop portmaster from building exactly one port specified with the -x option. Can I get to stop multiple ports from being built ? Is there regular expression support for the -x option ? Thanks for any help. -- Regards Manish Jain invalid.pointer@gmail.com +91-96500-10329 Laast year I kudn't spell Software Engineer. Now I are won. From arek at wup-katowice.pl Wed Jul 1 06:20:21 2009 From: arek at wup-katowice.pl (Arek Czereszewski) Date: Wed Jul 1 06:20:28 2009 Subject: Portaudit strange behavior. Message-ID: <4A4AFC07.6030808@wup-katowice.pl> Hi, On all my servers I have portaudit version 0.5.13 If I try update audit database (by hand or from periodic script) I have: # portaudit -Fd auditfile.tbz 100% of 53 kB 39 kBps portaudit: Database too old. Old database restored. portaudit: Download failed. # When I change ${portaudit_sites="http://portaudit.FreeBSD.org/"} to ${portaudit_sites="http://www.FreeBSD.org/ports/"} Like was in 0.5.12 # portaudit -Fd auditfile.tbz 100% of 56 kB 34 kBps New database installed. Database created: Wed Jul 1 07:40:02 CEST 2009 Update work fine. Anyone have behavior like I have? regards Arek -- Arek Czereszewski arek (at) wup-katowice (dot) pl "UNIX allows me to work smarter, not harder." From sonicy at otenet.gr Wed Jul 1 07:21:53 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Wed Jul 1 07:22:00 2009 Subject: Failing to show 'Password:' prompt Message-ID: <4A4B0E8E.4090501@otenet.gr> This morning my server was unresponsive both from ssh and through http. The only thing that is different on this system on a 1st of month, is a dump job that runs through periodic (on a mostly inactive system). Visiting the console, I discovered the system was still up and displaying login prompt on all vtys, but after typing a username, the password prompt would never appear. Keyboard was responsive and I could even switch between keyboard layouts (English/Greek). Plugging and and unplugging an external USB drive, showed the kernel messages on tty0. Still, I could not get it to display a password prompt and had to hard reboot it. I can't find anything in /var/log/messages either - it stops at 5.25 in the morning. And the dump was not performed either (and there are no traces about it in the log). What kind of crash could cause the password prompt to not display? Ideas? From meslists at yahoo.fr Wed Jul 1 07:32:08 2009 From: meslists at yahoo.fr (dan) Date: Wed Jul 1 07:32:15 2009 Subject: Portaudit strange behavior. In-Reply-To: <4A4AFC07.6030808@wup-katowice.pl> References: <4A4AFC07.6030808@wup-katowice.pl> Message-ID: <200907010931.20410.meslists@yahoo.fr> On Wednesday 01 July 2009 08:02:47 Arek Czereszewski wrote: > Hi, > > On all my servers I have portaudit version 0.5.13 > If I try update audit database (by hand or from periodic script) > I have: > > # portaudit -Fd > auditfile.tbz 100% of 53 kB 39 kBps > portaudit: Database too old. > Old database restored. > portaudit: Download failed. > # > > When I change > > ${portaudit_sites="http://portaudit.FreeBSD.org/"} > to > ${portaudit_sites="http://www.FreeBSD.org/ports/"} > Like was in 0.5.12 > # portaudit -Fd > auditfile.tbz 100% of 56 kB 34 kBps > New database installed. > Database created: Wed Jul 1 07:40:02 CEST 2009 > Update work fine. > > Anyone have behavior like I have? > > regards > Arek Oups ! I experienced the same behaviour this morning, but after that I did not make any change. Waiting for news, d From onemda at gmail.com Wed Jul 1 08:54:30 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Wed Jul 1 08:54:37 2009 Subject: strange ee behaviour In-Reply-To: References: <3a142e750906301603i4088580djed9ce24713dfc541@mail.gmail.com> Message-ID: <3a142e750907010154n8b2417dw4d480876c89ddbca@mail.gmail.com> On 7/1/09, Alexander Best wrote: > i'm running xorg-7.4.2 and x11-wm/awesome on HEAD (r195173). when i run ee > in > the debugger and open another xterm the debugger says "Program exited > normally.". so it's not a program crash i guess. > > Paul B. Mahol schrieb am 2009-07-01: >> On 6/30/09, Alexander Best wrote: >> > hi there, > >> > i'm experiencing this strange `ee` behaviour lately. when i open >> > `ee` in an >> > xterm and open another xterm `ee` simply exits. if i try to enter >> > commands >> > which output to sdtout/stderr like `ls` on the xterm window ee was >> > running >> > on >> > the output is a mess. > >> > i'm running r195173 (HEAD). > >> Can't reproduce. Which X environment do you use? Actually I can, if I resize xterm window, ee will exit. You really should mentioned that you use awesome at first place. -- Paul From arab at tangerine-army.co.uk Wed Jul 1 09:09:15 2009 From: arab at tangerine-army.co.uk (Graeme Dargie) Date: Wed Jul 1 09:09:23 2009 Subject: seti@home In-Reply-To: <3a142e750906301549p2f5e0763mbfea63d60166f3d@mail.gmail.com> References: <3a142e750906301549p2f5e0763mbfea63d60166f3d@mail.gmail.com> Message-ID: <01FB8F39BAD0BD49A6D0DA8F789739295715@Mercury.galaxy.lan.lcl> -----Original Message----- From: Paul B. Mahol [mailto:onemda@gmail.com] Sent: 30 June 2009 23:49 To: Stefan Miklosovic Cc: freebsd-questions@freebsd.org Subject: Re: seti@home On 6/30/09, Stefan Miklosovic wrote: > hi all, > > I would like to install seti@home client to my machine, > There are tutorials on internet how to install it, but it is all > about package called simply "setiathome". I dont see > such package in a port tree. I was searching for similar > one, it seems I found it : > > /usr/ports/astro/boinc-setiathome-enhanced > > If i go to install it, it is about instaling ~30 ports as well, > most of them is xorg related. > > I do not want to install these X related packages at all. > It seems futile to having written "WITHOUT_X11=yes" in > /etc/make.conf. > > Could I have seti@home client without X packages? I think you only need to install boinc-client and download right file(s) from seti webpage. -- Paul _______________________________________________ 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" /usr/ports/astro/boinc-setiathome-enhanced is the correct package to install, I have been running this for some months now and initially I thought the same as yourself about the X stuff ... but you actually need it even if you are running from a shell environment. Regards Graeme From alexbestms at math.uni-muenster.de Wed Jul 1 09:10:19 2009 From: alexbestms at math.uni-muenster.de (Alexander Best) Date: Wed Jul 1 09:10:26 2009 Subject: strange ee behaviour In-Reply-To: <3a142e750907010154n8b2417dw4d480876c89ddbca@mail.gmail.com> Message-ID: oh sorry. i thought this was ee related because there've been some recent changes in the ee src. if it's awesome's fault i'll try to replace the installed version from ports with a svn snapshot. maybe the problem's been fixed already. cheers. Paul B. Mahol schrieb am 2009-07-01: > On 7/1/09, Alexander Best wrote: > > i'm running xorg-7.4.2 and x11-wm/awesome on HEAD (r195173). when i > > run ee > > in > > the debugger and open another xterm the debugger says "Program > > exited > > normally.". so it's not a program crash i guess. > > Paul B. Mahol schrieb am 2009-07-01: > >> On 6/30/09, Alexander Best > >> wrote: > >> > hi there, > >> > i'm experiencing this strange `ee` behaviour lately. when i open > >> > `ee` in an > >> > xterm and open another xterm `ee` simply exits. if i try to > >> > enter > >> > commands > >> > which output to sdtout/stderr like `ls` on the xterm window ee > >> > was > >> > running > >> > on > >> > the output is a mess. > >> > i'm running r195173 (HEAD). > >> Can't reproduce. Which X environment do you use? > Actually I can, if I resize xterm window, ee will exit. > You really should mentioned that you use awesome at first place. From onemda at gmail.com Wed Jul 1 09:12:30 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Wed Jul 1 09:12:37 2009 Subject: strange ee behaviour In-Reply-To: <3a142e750907010154n8b2417dw4d480876c89ddbca@mail.gmail.com> References: <3a142e750906301603i4088580djed9ce24713dfc541@mail.gmail.com> <3a142e750907010154n8b2417dw4d480876c89ddbca@mail.gmail.com> Message-ID: <3a142e750907010212t61001359md700e573147ea00b@mail.gmail.com> On 7/1/09, Paul B. Mahol wrote: > On 7/1/09, Alexander Best wrote: >> i'm running xorg-7.4.2 and x11-wm/awesome on HEAD (r195173). when i run >> ee >> in >> the debugger and open another xterm the debugger says "Program exited >> normally.". so it's not a program crash i guess. >> >> Paul B. Mahol schrieb am 2009-07-01: >>> On 6/30/09, Alexander Best wrote: >>> > hi there, >> >>> > i'm experiencing this strange `ee` behaviour lately. when i open >>> > `ee` in an >>> > xterm and open another xterm `ee` simply exits. if i try to enter >>> > commands >>> > which output to sdtout/stderr like `ls` on the xterm window ee was >>> > running >>> > on >>> > the output is a mess. >> >>> > i'm running r195173 (HEAD). >> >>> Can't reproduce. Which X environment do you use? > > Actually I can, if I resize xterm window, ee will exit. > You really should mentioned that you use awesome at first place. Problems is that ee doesnt handle SIGWINCH properly. ee on FreeBSD is linked with ncurses but new_curse.c from contrib/ee is only file that mentions SIGWINCH and that file is not part of usr.bin/ee/Makefile -- Paul From onemda at gmail.com Wed Jul 1 09:15:38 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Wed Jul 1 09:15:45 2009 Subject: strange ee behaviour In-Reply-To: References: <3a142e750907010154n8b2417dw4d480876c89ddbca@mail.gmail.com> Message-ID: <3a142e750907010215n2d298396x8a5d09fea9bb79b6@mail.gmail.com> On 7/1/09, Alexander Best wrote: > oh sorry. i thought this was ee related because there've been some recent > changes in the ee src. if it's awesome's fault i'll try to replace the > installed version from ports with a svn snapshot. maybe the problem's been > fixed already. This is really ee bug and not awesome fault. It can be reproduced with any window manager that can resize windows. > cheers. > > Paul B. Mahol schrieb am 2009-07-01: >> On 7/1/09, Alexander Best wrote: >> > i'm running xorg-7.4.2 and x11-wm/awesome on HEAD (r195173). when i >> > run ee >> > in >> > the debugger and open another xterm the debugger says "Program >> > exited >> > normally.". so it's not a program crash i guess. > >> > Paul B. Mahol schrieb am 2009-07-01: >> >> On 6/30/09, Alexander Best >> >> wrote: >> >> > hi there, > >> >> > i'm experiencing this strange `ee` behaviour lately. when i open >> >> > `ee` in an >> >> > xterm and open another xterm `ee` simply exits. if i try to >> >> > enter >> >> > commands >> >> > which output to sdtout/stderr like `ls` on the xterm window ee >> >> > was >> >> > running >> >> > on >> >> > the output is a mess. > >> >> > i'm running r195173 (HEAD). > >> >> Can't reproduce. Which X environment do you use? > >> Actually I can, if I resize xterm window, ee will exit. >> You really should mentioned that you use awesome at first place. > > -- Paul From onemda at gmail.com Wed Jul 1 09:21:57 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Wed Jul 1 09:22:06 2009 Subject: Failing to show 'Password:' prompt In-Reply-To: <4A4B0E8E.4090501@otenet.gr> References: <4A4B0E8E.4090501@otenet.gr> Message-ID: <3a142e750907010221w57ae36f0mb427195139784d8@mail.gmail.com> On 7/1/09, Manolis Kiagias wrote: > This morning my server was unresponsive both from ssh and through http. > The only thing that is different on this system on a 1st of month, is a > dump job that runs through periodic (on a mostly inactive system). > > Visiting the console, I discovered the system was still up and > displaying login prompt on all vtys, but after typing a username, the > password prompt would never appear. Keyboard was responsive and I could > even switch between keyboard layouts (English/Greek). Plugging and and > unplugging an external USB drive, showed the kernel messages on tty0. > Still, I could not get it to display a password prompt and had to hard > reboot it. > > I can't find anything in /var/log/messages either - it stops at 5.25 in > the morning. And the dump was not performed either (and there are no > traces about it in the log). > > What kind of crash could cause the password prompt to not display? Ideas? Can you actually log in? Login prompt and password propmt are configurable via gettytab and login.conf.(db) -- Paul From nvass9573 at gmx.com Wed Jul 1 09:29:28 2009 From: nvass9573 at gmx.com (Nikos Vassiliadis) Date: Wed Jul 1 09:29:36 2009 Subject: Failing to show 'Password:' prompt In-Reply-To: <4A4B0E8E.4090501@otenet.gr> References: <4A4B0E8E.4090501@otenet.gr> Message-ID: <4A4B2C64.4040508@gmx.com> Manolis Kiagias wrote: > This morning my server was unresponsive both from ssh and through http. > The only thing that is different on this system on a 1st of month, is a > dump job that runs through periodic (on a mostly inactive system). > > Visiting the console, I discovered the system was still up and > displaying login prompt on all vtys, but after typing a username, the > password prompt would never appear. Keyboard was responsive and I could > even switch between keyboard layouts (English/Greek). Plugging and and > unplugging an external USB drive, showed the kernel messages on tty0. > Still, I could not get it to display a password prompt and had to hard > reboot it. > > I can't find anything in /var/log/messages either - it stops at 5.25 in > the morning. And the dump was not performed either (and there are no > traces about it in the log). > > What kind of crash could cause the password prompt to not display? Ideas? Geia Manoli, A deadlock somewhere in the filesystem code would expose such behavior. Other subsystems may continue to work, but some operations, somehow related to that filesystem code, will wait - forever - for some locks to be released. I've seen such behavior in early RELENG_6 branch with regard to UFS snapshots. Nikos From mike.barnardq at gmail.com Wed Jul 1 09:45:55 2009 From: mike.barnardq at gmail.com (Mike Barnard) Date: Wed Jul 1 09:46:01 2009 Subject: Google Earth on FreeBSD 7.0 Message-ID: <7dc029620907010245p473d53ddoa967addbb4bb0dbe@mail.gmail.com> Hi, I have installed Google Earth via ports but cannot get it to run. If i run it from console, i get this: > googleearth ./googleearth-bin: error while loading shared libraries: libgthread-2.0.so.0: cannot open shared object file: No such file or directory > I have searched for the library it says it cannot find. It is located in /usr/local/lib; /usr/local/lib/libgthread-2.0.so.0 LD_LIBRARY_PATH has that path in its entry. Is there something I am missing. Anybody managed to get it to work? Regards, -- Mike Of course, you might discount this possibility, but remember that one in a million chances happen 99% of the time. ------------------------------------------------------------ From alexbestms at math.uni-muenster.de Wed Jul 1 09:54:07 2009 From: alexbestms at math.uni-muenster.de (Alexander Best) Date: Wed Jul 1 09:54:17 2009 Subject: strange ee behaviour In-Reply-To: <3a142e750907010212t61001359md700e573147ea00b@mail.gmail.com> Message-ID: oh. i see. is this hard to fix? maybe a problem report would be useful? cheers. Paul B. Mahol schrieb am 2009-07-01: > On 7/1/09, Paul B. Mahol wrote: > > On 7/1/09, Alexander Best wrote: > >> i'm running xorg-7.4.2 and x11-wm/awesome on HEAD (r195173). when > >> i run > >> ee > >> in > >> the debugger and open another xterm the debugger says "Program > >> exited > >> normally.". so it's not a program crash i guess. > >> Paul B. Mahol schrieb am 2009-07-01: > >>> On 6/30/09, Alexander Best > >>> wrote: > >>> > hi there, > >>> > i'm experiencing this strange `ee` behaviour lately. when i > >>> > open > >>> > `ee` in an > >>> > xterm and open another xterm `ee` simply exits. if i try to > >>> > enter > >>> > commands > >>> > which output to sdtout/stderr like `ls` on the xterm window ee > >>> > was > >>> > running > >>> > on > >>> > the output is a mess. > >>> > i'm running r195173 (HEAD). > >>> Can't reproduce. Which X environment do you use? > > Actually I can, if I resize xterm window, ee will exit. > > You really should mentioned that you use awesome at first place. > Problems is that ee doesnt handle SIGWINCH properly. > ee on FreeBSD is linked with ncurses but new_curse.c from contrib/ee > is > only file that mentions SIGWINCH and that file is not part of > usr.bin/ee/Makefile From freebsd at edvax.de Wed Jul 1 09:54:27 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Jul 1 09:54:35 2009 Subject: Google Earth on FreeBSD 7.0 In-Reply-To: <7dc029620907010245p473d53ddoa967addbb4bb0dbe@mail.gmail.com> References: <7dc029620907010245p473d53ddoa967addbb4bb0dbe@mail.gmail.com> Message-ID: <20090701115419.164d75ba.freebsd@edvax.de> On Wed, 1 Jul 2009 12:45:52 +0300, Mike Barnard wrote: > LD_LIBRARY_PATH has that path in its entry. Is there something I am missing. If google earth program is a Linux program, have you installed and started the Linux ABI? Maybe the needed library will be required to be located in the /usr/compat/linux/ subtree. > Anybody managed to get it to work? Never tried, sorry. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From mexas at bristol.ac.uk Wed Jul 1 10:57:43 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Wed Jul 1 10:57:56 2009 Subject: gmirror per partition. Was: Re: gmirror gm0 destroyed on shutdown; GPT corrupt In-Reply-To: <10FCC74D-6D46-4112-AD89-BBB4C5933957@mac.com> References: <20090625110253.GA31443@mech-cluster238.men.bris.ac.uk> <10FCC74D-6D46-4112-AD89-BBB4C5933957@mac.com> Message-ID: <20090701105649.GA62596@mech-cluster238.men.bris.ac.uk> On Thu, Jun 25, 2009 at 09:41:13AM -0700, Marcel Moolenaar wrote: > > On Jun 25, 2009, at 4:02 AM, Anton Shterenlikht wrote: > > dev_taste(DEV,mirror/gm0) > > g_part_taste(PART,mirror/gm0) > > > > GEOM: mirror/gm0: the secondary GPT table is corrupt or invalid. > > GEOM: mirror/gm0: using the primary only -- recovery suggested. > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > You created the mirror after the GPT, which means you destroyed > the GPT backup header. gmirror uses the last sector on the disk > for metadata and that by itself is a cause for various problems. > > It's better to use gmirror per partition. Like this? # gmirror label -vb round-robin root /dev/da0p2 gmirror: Can't store metadata on /dev/da0p2: Operation not permitted. # I've read some boot disk gmirror examples, e.g. http://people.freebsd.org/~rse/mirror however, all examples I've seen are for i386, talking about MBR, fdisk and bsdlabel, so these are not directly applicable to ia64. Application of gvinum for boot disk on ia64 is not clear either. It seems gvinum section of the handbook, 21.9, is also based on i386. Please advise many thanks anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From onemda at gmail.com Wed Jul 1 12:12:27 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Wed Jul 1 12:12:34 2009 Subject: strange ee behaviour In-Reply-To: References: <3a142e750907010212t61001359md700e573147ea00b@mail.gmail.com> Message-ID: <3a142e750907010512x20667f5by864bbce6d2c7812@mail.gmail.com> On 7/1/09, Alexander Best wrote: > oh. i see. is this hard to fix? maybe a problem report would be useful? Not hard. Please report problem to freebsd developers because everything points it is FreeBSD problem. > > cheers. > > Paul B. Mahol schrieb am 2009-07-01: >> On 7/1/09, Paul B. Mahol wrote: >> > On 7/1/09, Alexander Best wrote: >> >> i'm running xorg-7.4.2 and x11-wm/awesome on HEAD (r195173). when >> >> i run >> >> ee >> >> in >> >> the debugger and open another xterm the debugger says "Program >> >> exited >> >> normally.". so it's not a program crash i guess. > >> >> Paul B. Mahol schrieb am 2009-07-01: >> >>> On 6/30/09, Alexander Best >> >>> wrote: >> >>> > hi there, > >> >>> > i'm experiencing this strange `ee` behaviour lately. when i >> >>> > open >> >>> > `ee` in an >> >>> > xterm and open another xterm `ee` simply exits. if i try to >> >>> > enter >> >>> > commands >> >>> > which output to sdtout/stderr like `ls` on the xterm window ee >> >>> > was >> >>> > running >> >>> > on >> >>> > the output is a mess. > >> >>> > i'm running r195173 (HEAD). > >> >>> Can't reproduce. Which X environment do you use? > >> > Actually I can, if I resize xterm window, ee will exit. >> > You really should mentioned that you use awesome at first place. > >> Problems is that ee doesnt handle SIGWINCH properly. >> ee on FreeBSD is linked with ncurses but new_curse.c from contrib/ee >> is >> only file that mentions SIGWINCH and that file is not part of >> usr.bin/ee/Makefile > > -- Paul From sonicy at otenet.gr Wed Jul 1 13:08:49 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Wed Jul 1 13:08:57 2009 Subject: Failing to show 'Password:' prompt In-Reply-To: <4A4B2C64.4040508@gmx.com> References: <4A4B0E8E.4090501@otenet.gr> <4A4B2C64.4040508@gmx.com> Message-ID: <4A4B5FD5.1090604@otenet.gr> Nikos Vassiliadis wrote: > Manolis Kiagias wrote: >> This morning my server was unresponsive both from ssh and through >> http. The only thing that is different on this system on a 1st of >> month, is a dump job that runs through periodic (on a mostly inactive >> system). >> >> Visiting the console, I discovered the system was still up and >> displaying login prompt on all vtys, but after typing a username, the >> password prompt would never appear. Keyboard was responsive and I >> could even switch between keyboard layouts (English/Greek). Plugging >> and and unplugging an external USB drive, showed the kernel messages >> on tty0. Still, I could not get it to display a password prompt and >> had to hard reboot it. >> >> I can't find anything in /var/log/messages either - it stops at 5.25 >> in the morning. And the dump was not performed either (and there are >> no traces about it in the log). >> >> What kind of crash could cause the password prompt to not display? >> Ideas? > > Geia Manoli, > > A deadlock somewhere in the filesystem code would expose > such behavior. Other subsystems may continue to work, but > some operations, somehow related to that filesystem code, > will wait - forever - for some locks to be released. > > I've seen such behavior in early RELENG_6 branch with regard > to UFS snapshots. > > Nikos > > Thanks Niko, This is quite possible actually as I was using dump -L and the USB backup disk was still mounted when I looked at the console messages. I'll check the PR database for dump-related problems. From mrkvrg at acm.org Wed Jul 1 14:08:49 2009 From: mrkvrg at acm.org (mfv) Date: Wed Jul 1 14:09:01 2009 Subject: Portaudit strange behavior. In-Reply-To: <4A4AFC07.6030808@wup-katowice.pl> References: <4A4AFC07.6030808@wup-katowice.pl> Message-ID: <200907011008.46084.mrkvrg@acm.org> On Wednesday, 1 July 2009 02:02:47 Arek Czereszewski wrote: > Hi, > > On all my servers I have portaudit version 0.5.13 > If I try update audit database (by hand or from periodic script) > I have: > > # portaudit -Fd > auditfile.tbz 100% of 53 kB 39 kBps > portaudit: Database too old. > Old database restored. > portaudit: Download failed. > # > > When I change > > ${portaudit_sites="http://portaudit.FreeBSD.org/"} > to > ${portaudit_sites="http://www.FreeBSD.org/ports/"} > Like was in 0.5.12 > # portaudit -Fd > auditfile.tbz 100% of 56 kB 34 kBps > New database installed. > Database created: Wed Jul 1 07:40:02 CEST 2009 > Update work fine. > > Anyone have behavior like I have? > > regards > Arek Hello Arek, I've had the same problem for the last few days. Thanks for a temporary solution. Marek From mrkvrg at acm.org Wed Jul 1 15:14:14 2009 From: mrkvrg at acm.org (mfv) Date: Wed Jul 1 15:15:12 2009 Subject: Questions on portmaster In-Reply-To: <4A4AFC07.6070508@gmail.com> References: <4A4AFC07.6070508@gmail.com> Message-ID: <200907011114.10918.mrkvrg@acm.org> On Wednesday, 1 July 2009 02:02:47 Manish Jain wrote: > Hi, > > I am using portmaster on FreeBSD-7.2 to keep my ports up to date. When > there are multiple ports to be updated, portmaster will fork off child > processes. Does each child start 'make fetch' in the background ? I ask > this because the parent process attached to the console reports very low > data transfer rates (in the range of 0.7 to 4.0 kBps, while normally I > get 30 to 35 kBps). > > Further, how can portmaster be tuned to automatically ignore ports which > are actually marked as IGNORE in the port directory ? This is not > covered in the manpage. > > While doing portmaster -a, I have only managed to stop portmaster from > building exactly one port specified with the -x option. Can I get to > stop multiple ports from being built ? Is there regular expression > support for the -x option ? > > Thanks for any help. Hello Manish, Regarding your last point about excluding particular ports I always thought that it would be convenient to have a section in /usr/local/etc/portmaster.rc and/or $HOME/.portmasterrc to identify these particular ports. I prefer to have all this information in one place rather than scattered over many subdirectories. I had the same problem with trying to have multiple instances of "-x" but gave up and used +IGNOREME instead. Some time ago I succeeded with a regular expression but it became overly complicated if more than two ports were to be excluded. Nevertheless, I use portmaster daily and am very pleased with it. With thanks to Doug Barton. Cheers... Marek From mexas at bristol.ac.uk Wed Jul 1 15:30:20 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Wed Jul 1 15:30:27 2009 Subject: Questions on portmaster In-Reply-To: <200907011114.10918.mrkvrg@acm.org> References: <4A4AFC07.6070508@gmail.com> <200907011114.10918.mrkvrg@acm.org> Message-ID: <20090701153007.GA64008@mech-cluster238.men.bris.ac.uk> On Wed, Jul 01, 2009 at 11:14:10AM -0400, mfv wrote: > On Wednesday, 1 July 2009 02:02:47 Manish Jain wrote: > excluded. Nevertheless, I use portmaster daily and am very pleased with it. > > With thanks to Doug Barton. portmaster rules, excellent tool, Doug is a star! -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From alexbestms at math.uni-muenster.de Wed Jul 1 17:05:53 2009 From: alexbestms at math.uni-muenster.de (Alexander Best) Date: Wed Jul 1 17:05:59 2009 Subject: strange ee behaviour In-Reply-To: <3a142e750907010512x20667f5by864bbce6d2c7812@mail.gmail.com> Message-ID: thanks for the help. i submitted a PR (http://www.freebsd.org/cgi/query-pr.cgi?pr=136223). cheers. alex Paul B. Mahol schrieb am 2009-07-01: > On 7/1/09, Alexander Best wrote: > > oh. i see. is this hard to fix? maybe a problem report would be > > useful? > Not hard. Please report problem to freebsd developers because > everything > points it is FreeBSD problem. > > cheers. > > Paul B. Mahol schrieb am 2009-07-01: > >> On 7/1/09, Paul B. Mahol wrote: > >> > On 7/1/09, Alexander Best > >> > wrote: > >> >> i'm running xorg-7.4.2 and x11-wm/awesome on HEAD (r195173). > >> >> when > >> >> i run > >> >> ee > >> >> in > >> >> the debugger and open another xterm the debugger says "Program > >> >> exited > >> >> normally.". so it's not a program crash i guess. > >> >> Paul B. Mahol schrieb am 2009-07-01: > >> >>> On 6/30/09, Alexander Best > >> >>> wrote: > >> >>> > hi there, > >> >>> > i'm experiencing this strange `ee` behaviour lately. when i > >> >>> > open > >> >>> > `ee` in an > >> >>> > xterm and open another xterm `ee` simply exits. if i try to > >> >>> > enter > >> >>> > commands > >> >>> > which output to sdtout/stderr like `ls` on the xterm window > >> >>> > ee > >> >>> > was > >> >>> > running > >> >>> > on > >> >>> > the output is a mess. > >> >>> > i'm running r195173 (HEAD). > >> >>> Can't reproduce. Which X environment do you use? > >> > Actually I can, if I resize xterm window, ee will exit. > >> > You really should mentioned that you use awesome at first place. > >> Problems is that ee doesnt handle SIGWINCH properly. > >> ee on FreeBSD is linked with ncurses but new_curse.c from > >> contrib/ee > >> is > >> only file that mentions SIGWINCH and that file is not part of > >> usr.bin/ee/Makefile From rsmith at xs4all.nl Wed Jul 1 17:25:35 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Wed Jul 1 17:25:42 2009 Subject: Questions on portmaster In-Reply-To: <4A4AFC07.6070508@gmail.com> References: <4A4AFC07.6070508@gmail.com> Message-ID: <20090701172532.GA37269@slackbox.xs4all.nl> On Wed, Jul 01, 2009 at 11:32:47AM +0530, Manish Jain wrote: > > Hi, > > I am using portmaster on FreeBSD-7.2 to keep my ports up to date. When > there are multiple ports to be updated, portmaster will fork off child > processes. Does each child start 'make fetch' in the background ? The fetches are not done in parallel. > I ask > this because the parent process attached to the console reports very low > data transfer rates (in the range of 0.7 to 4.0 kBps, while normally I > get 30 to 35 kBps). This is not enough data to ascertain there is a problem with fetch. If you are fetching from a busy site, or via a busy upstream channel it can be slow. > Further, how can portmaster be tuned to automatically ignore ports which > are actually marked as IGNORE in the port directory ? touch /var/db/pkg//+IGNOREME > This is not covered in the manpage. It is. Look in the FILES section of portmaster(8). 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: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090701/368c8836/attachment.pgp From rjhjr0 at gmail.com Wed Jul 1 17:48:10 2009 From: rjhjr0 at gmail.com (Robert Hall) Date: Wed Jul 1 17:48:17 2009 Subject: Wireless NICs on 7.2 Message-ID: <3d5d3ca90907011048t1a096865iceaa3b82c1af82f4@mail.gmail.com> I've been trying to get a Linksys WMP54G v. 4.1 to work on FBSD 7.2. It sort of works with the ral driver; I can set the ssid and inet and other values, but it won't associate with the access point or establish a useful connection. I've tried compiling ndis drivers for both the Linksys and a Belkin F5D7000 v. 7032 that I bought for my XP box. Both drivers crash the system when they load, leading to a reboot. Groveling through vmcore doesn't give me any clues about why the Belkin ndis crashes. The Linksys crash sends a message that it can't open /compat/ndis/rt2561s.bin. I googled for the firmware files and put them in /compat/ndis, but ndis still crashes. Both cards work fine on the XP box. Has anyone gotten either card to work on 7.2, either by using the ral driver or by compiling an ndis driver? From onemda at gmail.com Wed Jul 1 17:55:38 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Wed Jul 1 17:55:45 2009 Subject: Wireless NICs on 7.2 In-Reply-To: <3d5d3ca90907011048t1a096865iceaa3b82c1af82f4@mail.gmail.com> References: <3d5d3ca90907011048t1a096865iceaa3b82c1af82f4@mail.gmail.com> Message-ID: <3a142e750907011055r3750fd54rb66612a4b110e090@mail.gmail.com> On 7/1/09, Robert Hall wrote: > I've been trying to get a Linksys WMP54G v. 4.1 to work on FBSD 7.2. > It sort of works with the ral driver; I can set the ssid and inet and > other values, but it won't associate with the access point or > establish a useful connection. Does it get any scan results? What kind of AP setup: NONE, WEP, WPA, WPA2 ... ? > > I've tried compiling ndis drivers for both the Linksys and a Belkin > F5D7000 v. 7032 that I bought for my XP box. Both drivers crash the > system when they load, leading to a reboot. Groveling through vmcore > doesn't give me any clues about why the Belkin ndis crashes. The > Linksys crash sends a message that it can't open > /compat/ndis/rt2561s.bin. I googled for the firmware files and put > them in /compat/ndis, but ndis still crashes. Both cards work fine on > the XP box. You are using i386 FreeBSD, right? > Has anyone gotten either card to work on 7.2, either by using the ral > driver or by compiling an ndis driver? > _______________________________________________ > 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" > -- Paul From trey at fastmail.fm Wed Jul 1 18:01:37 2009 From: trey at fastmail.fm (Trey Sizemore) Date: Wed Jul 1 18:01:43 2009 Subject: ANNOUNCE: Custom GNOME-based FreeBSD iso released In-Reply-To: References: <4A4A2025.9020401@otenet.gr> Message-ID: <20090701175109.GA13740@tbook.local> On Tue Jun 30, 2009 09:45AM, Tim Judd wrote: > On 6/30/09, Andrew Gould wrote: > > 2009/6/30 Manolis Kiagias : > >> -----BEGIN PGP SIGNED MESSAGE----- > >> Hash: SHA1 > >> > >> Hey all, > >> > >> Continuing the effort in producing custom FreeBSD builds, I am pleased > >> to announce a GNOME-based one. > >> This includes a complete GNOME 2.26.2 desktop and also the > >> gnome-power-tools and gnome-fifth-toe package collections. > >> > >> As always, feedback is welcome. > >> > >> Manolis Kiagias > > > > It would be interesting to see how much demand exists for an > > installation DVD with KDE 3.5. (KDE lost a large amount of voter > > share in Linux Journal's last Readers' Choice Awards.) > > > > Does anyone know how long KDE 3.5 will be available in the ports? > > (Expecting its eventual demise, I switched to Gnome, then to XFCE4.) > > > > Andrew > > > When I run KDE, I run KDE4. I'm not asking for someone to generate a > KDE3.5 or KDE4 install medium, but where is the line? > > If we make XFCE4, and Gnome2.26, why not Enlightenment, Blackbox, > KDE3.5, KDE4, etc etc etc? > > > > Earlier, I made hints at a webGUI install (the install medium would > boot into X, basic setup (VESA driver @1024x768, 24 [or 16bit] > depth)), run firefox or another lightweight browser (even lynx in the > console if X fails to start) on it's own filesystem or over apache. > Once network configuration is done, you can pull the data sets for > your choice of WM from the internet. > > > I think this has potential, and would offer making it (already started > on it), but I think my statements went on deaf ears when addressed to > the broad public. > > So I'll ask again if anyone else would be interested in this. The > advantage is that on this webGUI install, you can offer it (secured of > course) over the internet for someone more technical to do the install > or configuring, including the same post-install configuration that > sysinstall offers. > > > > Anybody else think it's a good idea? Willing to take suggestions. > Would satisfy my "designing" and "creativity" mindset I'm in right > now. I would definitely like to see something like this. -- Cheers, Trey ---- This wasn't just plain terrible, this was fancy terrible. This was terrible with raisins in it. --Dorothy Parker Darwin tbook.local 9.7.0 i386 13:50 up 2 days, 17:55, 2 users, load averages: 0.54 0.36 0.41 From nullpt at gmail.com Wed Jul 1 18:04:55 2009 From: nullpt at gmail.com (Alexandre Vieira) Date: Wed Jul 1 18:05:03 2009 Subject: scripting tip needed Message-ID: <755cb9fc0907011040o28b82cdbjd5760b139f797050@mail.gmail.com> Hi folks, I'm having a little problem. For exambe in ksh: $ z=0 $ y=1 $ x=aaaa $ eval `echo MACHINE_DISK$z[$y]`=$x $ echo ${MACHINE_DISK0[1]} aaaa My problem is getting back the value of the variable using variables to refer to the variable name (confusing). I.e $MACHINE_DISK$z[$y] . Using ${} works great when you only have a simple array but adding a variable in the middle of the variable name seems to ruin it. $ echo ${MACHINE_DISK0[$y]} aaaa $ echo ${MACHINE_DISK$z[$y]} ksh: ${MACHINE_DISK$z[$y]}: bad substitution Thanks in advance for any tip Cheers From steinex at nognu.de Wed Jul 1 18:14:43 2009 From: steinex at nognu.de (Frank Steinborn) Date: Wed Jul 1 18:15:16 2009 Subject: FreeBSD on Cobalt RaQ 4 Message-ID: <20090701174532.GA14108@nognu.de> Hi! I got a new toy here, a RaQ 4. As this thing has no real BIOS, it was even hard to get a custom Linux distro installed. For long time it was not even possible to use it with a Linux 2.6 kernel. This is resolved in the meantime, so I'm running Gentoo with an unmodified 2.6 at the moment. However, I'm absolutely not at home with Linux and I would *love* to have a FreeBSD on that thingy. As i figured out, there is a ROM on it with a mini-Linux, that will look for an ext2/ext3 filesystem and for an /vmlinux.bz2 on /boot. Then it boots from there. This is really strange and seems to rule out FreeBSD completely. However, I can't believe that noone on earth hadn't FreeBSD running on it :-) Any hint would be appreciated. As an alternative, i could live with OpenBSD/NetBSD too. Cheers :) From rjhjr0 at gmail.com Wed Jul 1 18:20:17 2009 From: rjhjr0 at gmail.com (Robert Hall) Date: Wed Jul 1 18:20:24 2009 Subject: Wireless NICs on 7.2 In-Reply-To: <3a142e750907011055r3750fd54rb66612a4b110e090@mail.gmail.com> References: <3d5d3ca90907011048t1a096865iceaa3b82c1af82f4@mail.gmail.com> <3a142e750907011055r3750fd54rb66612a4b110e090@mail.gmail.com> Message-ID: <3d5d3ca90907011120h35b5e665gee30466ce72097e7@mail.gmail.com> On Wed, Jul 1, 2009 at 1:55 PM, Paul B. Mahol wrote: > On 7/1/09, Robert Hall wrote: >> I've been trying to get a Linksys WMP54G v. 4.1 to work on FBSD 7.2. >> It sort of works with the ral driver; I can set the ssid and inet and >> other values, but it won't associate with the access point or >> establish a useful connection. > > Does it get any scan results? Yes. Scanning seems to work fine. > What kind of AP setup: NONE, WEP, WPA, WPA2 ... ? No security. >> I've tried compiling ndis drivers for both the Linksys and a Belkin >> F5D7000 v. 7032 that I bought for my XP box. Both drivers crash the >> system when they load, leading to a reboot. Groveling through vmcore >> doesn't give me any clues about why the Belkin ndis crashes. The >> Linksys crash sends a message that it can't open >> /compat/ndis/rt2561s.bin. I googled for the firmware files and put >> them in /compat/ndis, but ndis still crashes. Both cards work fine on >> the XP box. BTW, I'm not getting the open file failed message any longer, but the ndis driver still crashes the system. > You are using i386 FreeBSD, right? I should have posted this originally: $ uname -a FreeBSD stamfordbru.krig.net 7.2-RELEASE FreeBSD 7.2-RELEASE #3: Wed Jul 1 11:40:35 EDT 2009 root@stamfordbru.krig.net:/usr/obj/usr/src/sys/STAMFORDBRU0 i386 From chalbersma.12 at westminster-mo.edu Wed Jul 1 18:44:59 2009 From: chalbersma.12 at westminster-mo.edu (Christopher Ryan Halbersma) Date: Wed Jul 1 18:45:05 2009 Subject: Google Earth on FreeBSD 7.0 In-Reply-To: <20090701120020.1C9AF1065675@hub.freebsd.org> References: <20090701120020.1C9AF1065675@hub.freebsd.org> Message-ID: > On Wed, 1 Jul 2009 12:45:52 +0300, Mike Barnard > wrote: >> LD_LIBRARY_PATH has that path in its entry. Is there something I am >> missing. > If google earth program is a Linux program, have you installed and > started the Linux ABI? Maybe the needed library will be required > to be located in the /usr/compat/linux/ subtree. >> Anybody managed to get it to work? > Never tried, sorry. Google earth is working on my box. But I am running 7.2 Release. However it is touchy. It will often crash the X server, it's slow and if I change Virtual Desktops during startup It will crash very fast. CRH From lenzi.sergio at gmail.com Wed Jul 1 18:50:33 2009 From: lenzi.sergio at gmail.com (Sergio de Almeida Lenzi) Date: Wed Jul 1 18:50:41 2009 Subject: ANNOUNCE: Custom GNOME-based FreeBSD iso released In-Reply-To: <20090701175109.GA13740@tbook.local> References: <4A4A2025.9020401@otenet.gr> <20090701175109.GA13740@tbook.local> Message-ID: <1246474224.67734.18.camel@localhost> Em Qua, 2009-07-01 ?s 13:51 -0400, Trey Sizemore escreveu: > On Tue Jun 30, 2009 09:45AM, Tim Judd wrote: > > On 6/30/09, Andrew Gould wrote: > > > 2009/6/30 Manolis Kiagias : > > >> -----BEGIN PGP SIGNED MESSAGE----- > > >> Hash: SHA1 > > >> > > >> Hey all, > > >> > > >> Continuing the effort in producing custom FreeBSD builds, I am pleased > > >> to announce a GNOME-based one. > > >> This includes a complete GNOME 2.26.2 desktop and also the > > >> gnome-power-tools and gnome-fifth-toe package collections. > > >> > > >> As always, feedback is welcome. Humm ... interesting... I am doing the same thing here (for personal use), besides gnome2-fith-toe, and power-tools, ARCH is AMD64 I have: totem-xine (better because of snapshot, and zoom in/out) ffmpeg svn (better libavcodec) dvdstyler 1.7, with wxsvg 1.0R, and ffmpeg svn (new features, new option menus and navigation tools) mencode, mplayer last release (linked against libavcodec, faster, and with swscale, in ffmeg) pgadmin3 (linked to work with UTF8) glib20 patched to solve the evolution slow start. mono 2.4.2 and companies (monodevelop, gnome-subtitles...) jdk1.6p14 (java 1.6 last bsd patches) openoffice 3.2 M50 (last patches from openoffice team avidemux 2.4.2 (better and faster, with last seamonkey software) epiphany linked agains the webkit-gtk (works better for me than the firefox2 render engine) Linux 2.4.2 and F8 (you choose) Flashplugin9 running on AMD64 with few cpu overhead ZFS BASED rootFS , with var, usr, tmp.... on ZFS too GDM version 1.8 whtin the old tools (gdmsetup, conf files....) Xorg last version with working HAL and DBUS (including mouse and keyboard mapping). If there is interest in the FreeBSD community I will try to put an image in internet (ONE pkg_add installs them all). Hope is usefull, S?rgio From keramida at ceid.upatras.gr Wed Jul 1 19:16:35 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Wed Jul 1 19:16:52 2009 Subject: scripting tip needed In-Reply-To: <755cb9fc0907011040o28b82cdbjd5760b139f797050@mail.gmail.com> (Alexandre Vieira's message of "Wed, 1 Jul 2009 18:40:00 +0100") References: <755cb9fc0907011040o28b82cdbjd5760b139f797050@mail.gmail.com> Message-ID: <87tz1wqkmu.fsf@kobe.laptop> On Wed, 1 Jul 2009 18:40:00 +0100, Alexandre Vieira wrote: > Hi folks, > > I'm having a little problem. > > For exambe in ksh: > > $ z=0 > $ y=1 > $ x=aaaa > $ eval `echo MACHINE_DISK$z[$y]`=$x > $ echo ${MACHINE_DISK0[1]} > aaaa > > My problem is getting back the value of the variable using variables to > refer to the variable name (confusing). I.e $MACHINE_DISK$z[$y] . > > Using ${} works great when you only have a simple array but adding a > variable in the middle of the variable name seems to ruin it. > > $ echo ${MACHINE_DISK0[$y]} > aaaa > $ echo ${MACHINE_DISK$z[$y]} > ksh: ${MACHINE_DISK$z[$y]}: bad substitution My own short piece of (slightly off-topic) advice is: ``If you find yourself using arrays in bash, ksh or another shell, now is a *very* good time to consider a more advanced scripting language, like Perl or Python.'' Trying to coerce shell quoting to do a sensible thing with array syntax is error-prone, annoying and --very often-- a waste of your time: Using an interactive language like Python you can actually *test* the code as you are writing it. This is a major win most of the time. From gpeel at thenetnow.com Wed Jul 1 19:25:29 2009 From: gpeel at thenetnow.com (Grant Peel) Date: Wed Jul 1 19:25:36 2009 Subject: Cloning to different disks. Message-ID: Hi all, I have serveral machines that are running different versions of FreeBSD. Each machine only has 1 hard disk, but they all have a CD ROM and USB available. I have built a pristine system with all packages and ports installed that I need. I am now wanting to clone this to all the machines. The dificulty being that they all have various Disk sizes and interfaces (i.e. SCSI 3, SAS, etc). I am wondering how everyone else might handle this situation. BTW, The new build uses a standard Generic kernel, i386 build. I was thinking of: Booting with a live CD, refdisking, labeling, then using dumps from memory stick. Comments please, -Grant From sonicy at otenet.gr Wed Jul 1 19:40:17 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Wed Jul 1 19:40:24 2009 Subject: Cloning to different disks. In-Reply-To: References: Message-ID: <4A4BBB9E.5080008@otenet.gr> Grant Peel wrote: > Hi all, > > I have serveral machines that are running different versions of FreeBSD. > > Each machine only has 1 hard disk, but they all have a CD ROM and USB available. > > I have built a pristine system with all packages and ports installed that I need. > > I am now wanting to clone this to all the machines. The dificulty being that they all have various Disk sizes and interfaces (i.e. SCSI 3, SAS, etc). > > I am wondering how everyone else might handle this situation. BTW, The new build uses a standard Generic kernel, i386 build. > > I was thinking of: > > Booting with a live CD, refdisking, labeling, then using dumps from memory stick. > > Comments please, > > -Grant > Done that and it works. Don't forget also to install the boot blocks. From gpeel at thenetnow.com Wed Jul 1 19:49:06 2009 From: gpeel at thenetnow.com (Grant Peel) Date: Wed Jul 1 19:49:17 2009 Subject: Cloning to different disks. References: <4A4BBB9E.5080008@otenet.gr> Message-ID: <3EFD164553E546D89AD5C16BF66081F5@GRANT> Thanks Sir! What is the easiest way to make sure the new disk is bootable. Also, it just occured to me....we have a few different versions of SCSI drives SCSI-2 SAS etc. Can I assume the the da driver will handle all these OK...ie. should not see any fstab problems? -Grant ----- Original Message ----- From: "Manolis Kiagias" To: "Grant Peel" Cc: Sent: Wednesday, July 01, 2009 3:40 PM Subject: Re: Cloning to different disks. > Grant Peel wrote: >> Hi all, >> >> I have serveral machines that are running different versions of FreeBSD. >> >> Each machine only has 1 hard disk, but they all have a CD ROM and USB >> available. >> >> I have built a pristine system with all packages and ports installed that >> I need. >> >> I am now wanting to clone this to all the machines. The dificulty being >> that they all have various Disk sizes and interfaces (i.e. SCSI 3, SAS, >> etc). >> >> I am wondering how everyone else might handle this situation. BTW, The >> new build uses a standard Generic kernel, i386 build. >> >> I was thinking of: >> >> Booting with a live CD, refdisking, labeling, then using dumps from >> memory stick. >> >> Comments please, >> >> -Grant >> > > Done that and it works. Don't forget also to install the boot blocks. > _______________________________________________ > 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 Wed Jul 1 20:08:00 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jul 1 20:08:09 2009 Subject: Cloning to different disks. In-Reply-To: References: Message-ID: > Each machine only has 1 hard disk, but they all have a CD ROM and USB available. > > I have built a pristine system with all packages and ports installed that I need. > > I am now wanting to clone this to all the machines. The dificulty being that they all have various Disk sizes and interfaces (i.e. SCSI 3, SAS, etc). > there is no difficulty. tar up your set to file, on disk or available on network (NFS for example) boot from live CD, make disklabels, do newfs and untar your set on each machine, then change /etc/rc.conf - like hostname and IP From wojtek at wojtek.tensor.gdynia.pl Wed Jul 1 20:09:08 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jul 1 20:09:15 2009 Subject: Cloning to different disks. In-Reply-To: <3EFD164553E546D89AD5C16BF66081F5@GRANT> References: <4A4BBB9E.5080008@otenet.gr> <3EFD164553E546D89AD5C16BF66081F5@GRANT> Message-ID: > > > What is the easiest way to make sure the new disk is bootable. bsdlabel -B disk (or disks1 and fdisk -B disk if you use MBR partitions at all). > Also, it just occured to me....we have a few different versions of SCSI > drives SCSI-2 SAS etc. this is no difference > > Can I assume the the da driver will handle all these OK...ie. should not see > any fstab problems? just put right device names in fstab. nothing more From wojtek at wojtek.tensor.gdynia.pl Wed Jul 1 20:12:16 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jul 1 20:12:22 2009 Subject: FreeBSD on Cobalt RaQ 4 In-Reply-To: <20090701174532.GA14108@nognu.de> References: <20090701174532.GA14108@nognu.de> Message-ID: > As i figured out, there is a ROM on it with a mini-Linux, that will > look for an ext2/ext3 filesystem and for an /vmlinux.bz2 on /boot. > Then it boots from there. This is really strange and seems to rule out > FreeBSD completely. Looks like you'll have to rewrite /boot/loader sources to 1) access disk with it's "minilinux" interface, or directly by hardware 2) to look like vmlinux image. If it's ELF - should not be a problem, if not - look how linux kernel makefile convert ELF to this format and do the same. This ROM code may do some assumption where to load image in memory. If so - you have to link if to the same address. Not easy way i think but not that difficult if you can write C programs. > > However, I can't believe that noone on earth hadn't FreeBSD running > on it :-) > > Any hint would be appreciated. As an alternative, i could live with > OpenBSD/NetBSD too. i would even prefer linux than those ;) From wojtek at wojtek.tensor.gdynia.pl Wed Jul 1 20:12:57 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jul 1 20:13:03 2009 Subject: gmirror per partition. Was: Re: gmirror gm0 destroyed on shutdown; GPT corrupt In-Reply-To: <20090701105649.GA62596@mech-cluster238.men.bris.ac.uk> References: <20090625110253.GA31443@mech-cluster238.men.bris.ac.uk> <10FCC74D-6D46-4112-AD89-BBB4C5933957@mac.com> <20090701105649.GA62596@mech-cluster238.men.bris.ac.uk> Message-ID: >> It's better to use gmirror per partition. > > Like this? > > # gmirror label -vb round-robin root /dev/da0p2 > gmirror: Can't store metadata on /dev/da0p2: Operation not permitted. isn't that partition accessed by other process or mounted? From wojtek at wojtek.tensor.gdynia.pl Wed Jul 1 20:13:28 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jul 1 20:13:34 2009 Subject: scripting tip needed In-Reply-To: <755cb9fc0907011040o28b82cdbjd5760b139f797050@mail.gmail.com> References: <755cb9fc0907011040o28b82cdbjd5760b139f797050@mail.gmail.com> Message-ID: > > $ echo ${MACHINE_DISK0[$y]} > aaaa > $ echo ${MACHINE_DISK$z[$y]} > ksh: ${MACHINE_DISK$z[$y]}: bad substitution > > Thanks in advance for any tip install bash :) From wojtek at wojtek.tensor.gdynia.pl Wed Jul 1 20:14:49 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Wed Jul 1 20:14:57 2009 Subject: scripting tip needed In-Reply-To: <87tz1wqkmu.fsf@kobe.laptop> References: <755cb9fc0907011040o28b82cdbjd5760b139f797050@mail.gmail.com> <87tz1wqkmu.fsf@kobe.laptop> Message-ID: > Using an interactive language like Python you can actually *test* the > code as you are writing it. This is a major win most of the time. could you explain what you mean? You can and you have to test a code on any language be it bash, ksh python or C From sonicy at otenet.gr Wed Jul 1 20:16:00 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Wed Jul 1 20:16:07 2009 Subject: Cloning to different disks. In-Reply-To: <3EFD164553E546D89AD5C16BF66081F5@GRANT> References: <4A4BBB9E.5080008@otenet.gr> <3EFD164553E546D89AD5C16BF66081F5@GRANT> Message-ID: <4A4BC3FD.7040806@otenet.gr> Grant Peel wrote: > Thanks Sir! > > > What is the easiest way to make sure the new disk is bootable. > > Also, it just occured to me....we have a few different versions of > SCSI drives SCSI-2 SAS etc. > > Can I assume the the da driver will handle all these OK...ie. should > not see any fstab problems? > > -Grant > > For fstab, I would consider labelling the partitions (see http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-glabel.html esp. the example at the end of the section). I am not very familiar with SCSI disks, but all should appear as 'da', the only problem is whether the drivers for the specific SCSI adapters are already in GENERIC. Otherwise, you would need to load them as modules or compile them in a custom kernel. To make sure your new disk is bootable: # fdisk -B -b /boot/boot0 /dev/da0 (use actual device name of course) or if you just need a standard MBR (no custom F1 ... F2 boot menu at start): # fdisk -B -b /boot/mbr /dev/da0 Then install boot1 and boot2 in your boot slice: # bsdlabel -B /dev/da0s1 For more information, see this handbook section: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html From alexbestms at math.uni-muenster.de Wed Jul 1 21:10:49 2009 From: alexbestms at math.uni-muenster.de (Alexander Best) Date: Wed Jul 1 21:10:57 2009 Subject: Gtk-WARNING **: Locale not supported by C library. Message-ID: hi there, i've been getting this warning for ages now: (process:7757): Gtk-WARNING **: Locale not supported by C library. Using the fallback 'C' locale. and really like to get rid of it. i searched google but couldn't find a real solution. my locale settings are: LANG=C LC_CTYPE=de_DE.ISO8859-15 LC_COLLATE=en_GB.ISO8859-15 LC_TIME=de_DE.ISO8859-15 LC_NUMERIC=de_DE.ISO8859-15 LC_MONETARY=de_DE.ISO8859-15 LC_MESSAGES=en_GB.ISO8859-15 LC_ALL= i've tried various settings and the only way to get rid of the warning is settings LANG and LC_ALL to "C". if any of the variables isn't set to C the warning will come up again. the app that is triggering the warning is firefox. the strange thing is that all other gtk apps start without this warning except the acrobat reader which is however a linux app. i thought maybe the problem is being caused by linux-gtk2 port. i'm using the native freebsd firefox version but since i'm using linux plugins in firefox they might be causing the gtk warning. i did a `chroot /compat/linux bash` and ran locale (the linux version). this is the output: locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_MESSAGES to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG=C LC_CTYPE=de_DE.ISO8859-15 LC_NUMERIC=de_DE.ISO8859-15 LC_TIME=de_DE.ISO8859-15 LC_COLLATE=en_GB.ISO8859-15 LC_MONETARY=de_DE.ISO8859-15 LC_MESSAGES=en_GB.ISO8859-15 LC_PAPER="C" LC_NAME="C" LC_ADDRESS="C" LC_TELEPHONE="C" LC_MEASUREMENT="C" LC_IDENTIFICATION="C" LC_ALL= if i set LANG and LC_ALL to "C" under the native freebsd ENV and switch to the linux ENV locale's (linux version) output looks just fine: LANG=C LC_CTYPE="C" LC_NUMERIC="C" LC_TIME="C" LC_COLLATE="C" LC_MONETARY="C" LC_MESSAGES="C" LC_PAPER="C" LC_NAME="C" LC_ADDRESS="C" LC_TELEPHONE="C" LC_MEASUREMENT="C" LC_IDENTIFICATION="C" LC_ALL=C so i guess the GTK warning is in fact being triggered by the linux-gtk2 port. can anybody tell me what's wrong with the linux ENV locale settings? thanks in advance. alex From cwhiteh at onetel.com Wed Jul 1 21:40:51 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Wed Jul 1 21:41:00 2009 Subject: load kernel from different media Message-ID: <4A4BD7E1.8010204@onetel.com> Hi all, I cannot boot my motherboard with the default kernel on 7.2-RELEASE (or any other iso's I have tried). It panics if device sbp is in the kernel. So far I've got things working by putting the hard disk in another machine, installed the OS and rebuilt a kernel without sbp, then returned the disk to my computer. That's ok for a one off install but this machine is supposed to be for messing around. Can I load a kernel from some other media? Eg boot from an install CD, interrupt the boot, load a modified kernel from a usb stick or installed hard drive and continue booting from the CD. At the boot prompt I can list disks with lsdev and I can load and unload a kernel from the media I booted from (obviously) but I can't see how to load a kernel from another disk. I checked man 8 loader and man 8 boot but couldn't see what I wanted, hopefully I didn't just miss it. If the answer is in there I would really appreciate a pointer. Thanks Chris From martin at dc.cis.okstate.edu Wed Jul 1 21:57:41 2009 From: martin at dc.cis.okstate.edu (Martin McCormick) Date: Wed Jul 1 21:57:49 2009 Subject: Oracle, php and a Fog of Confusion oci_connect Message-ID: <200907012157.n61LvUgn094165@dc.cis.okstate.edu> I have a fragment of php code which connects to an external Oracle data base. It looks mostly like: We have had php5 installed on the system in question for a couple of years and just successfully installed linux-oracle-instantclient-sqlplus. The info from php says it understands shared libraries. If I run the code fragment via php using a script starting with #! /usr/local/bin/php I get # Fatal error: Call to undefined function oci_connect() in /usr/home/martin/tmp/qtest on line 4 I am not terribly surprised since, unless a shared library changed, php is the same old php we have had all this time. Basically, I am confused as to what I need to do next to weld the tail on the donkey.:-) Somehow, this all has to fit together to produce the connection to the Oracle server. The linux-oracle-instantclient-sqlplus pkg-descr file says: Oracle instant client - SQLPlus distribution Instant Client allows you to run your applications without installing the standard Oracle client or having an ORACLE_HOME. OCI, OCCI, ODBC, and JDBC applications work without modification, while using significantly less disk space than before. Even SQL*Plus can be used with Instant Client. No recompile, no hassle. Any suggestion? Obviously the php application hasn't gotten wind of the instantclient yet. Martin McCormick Systems Engineer 405 744-7572 Stillwater, OK Information Technology Department Telecommunications Services Group From keramida at ceid.upatras.gr Wed Jul 1 22:12:52 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Wed Jul 1 22:13:00 2009 Subject: scripting tip needed In-Reply-To: (Wojciech Puchar's message of "Wed, 1 Jul 2009 22:02:48 +0200 (CEST)") References: <755cb9fc0907011040o28b82cdbjd5760b139f797050@mail.gmail.com> <87tz1wqkmu.fsf@kobe.laptop> Message-ID: <87k52saz86.fsf@kobe.laptop> On Wed, 1 Jul 2009 22:02:48 +0200 (CEST), Wojciech Puchar wrote: >> Using an interactive language like Python you can actually *test* the >> code as you are writing it. This is a major win most of the time. > > could you explain what you mean? You can and you have to test a code on > any language be it bash, ksh python or C Yes. I mean that one can directly interact with the interpret in a REPL prompt, doing stuff like: >>> import re >>> devre = re.compile(r'(/dev/\S+)\s+(\S+)\s.*$') >>> devre <_sre.SRE_Pattern object at 0x28462780> >>> devre.match('/dev/ad0s1d 1012974 390512 541426 42% /var') <_sre.SRE_Match object at 0x28432e78> >>> devre.match('/dev/ad0s1d 1012974 390512 541426 42% /var').groups() ('/dev/ad0s1d', '1012974') >>> devre = >>> re.compile(r'(/dev/\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+).*$') >>> devre.match('/dev/ad0s1d 1012974 390512 541426 42% /var').groups() ('/dev/ad0s1d', '1012974', '390512', '541426', '42%', '/var') See how I am 'refining' the initial regular expression without ever leaving the Python prompt? That sort of interactivity is entirely lost when you have to edit a file, save it, switch screen(1) windows or type ^Z to background the editor, run a script, watch it fail and repeat. Then I can keep testing bits and pieces of code: >>> from subprocess import Popen, PIPE >>> pipe = Popen(['df', '-k'], shell=False, stdout=PIPE).stdout >>> for l in pipe: ... m = devre.match(l) ... if m: ... print "device %s, size %ld KB" % (m.group(1), long(m.group(2))) ... device /dev/ad0s1a, size 1012974 KB device /dev/ad0s1d, size 1012974 KB device /dev/ad0s1e, size 2026030 KB device /dev/ad0s1f, size 10154158 KB device /dev/ad0s1g, size 284455590 KB device /dev/md0, size 19566 KB >>> So piping df output to a Python bit of code works! That's nice. Then once I have a 'rough idea' of how I want the script to work, I can refactor a bit the repetitive bits: >>> def devsize(line): ... m = devre.match(line) ... if m: ... return (m.group(1), m.group(2)) ... >>> devsize('/dev/ad0s1d 1012974 390512 541426 42% /var') ('/dev/ad0s1d', '1012974') So here's a short function to return a nice 2-item tuple with two values (device name, number of 1 KB blocks). Can we pipe df output through it? >>> pipe = Popen(['df', '-k'], shell=False, stdout=PIPE).stdout >>> pipe = Popen(['df', '-k'], shell=False, stdout=PIPE).stdout >>> map(devsize, pipe.readlines()) [ None, ('/dev/ad0s1a', '1012974'), None, ('/dev/ad0s1d', '1012974'), ('/dev/ad0s1e', '2026030'), ('/dev/ad0s1f', '10154158'), ('/dev/ad0s1g', '284455590'), None, None, None, None, None, None, None, None, None, None, None, None, None, None, ('/dev/md0', '19566'), None] >>> It looks we can do that too, but the tuple list may be more useful if we trim the null items in the process: >>> pipe = Popen(['df', '-k'], shell=False, stdout=PIPE).stdout >>> [t for t in map(devsize, pipe.readlines()) if t] [ ('/dev/ad0s1a', '1012974'), ('/dev/ad0s1d', '1012974'), ('/dev/ad0s1e', '2026030'), ('/dev/ad0s1f', '10154158'), ('/dev/ad0s1g', '284455590'), ('/dev/md0', '19566') ] So there it is. A nice structure, supported by the core of the language, using a readable, easy syntax, and listing all the /dev nodes of my laptop along with their sizes in KBytes. The entire thing was built 'piece by piece', in the same Python session, and I now have not only a 'rough idea' of how the code should work, but also a working copy of the code in my history. Note the complete *lack* of care about how to append to a list, how to create dynamic pairs of devicename-size tuples, how to map all elements of a list through a function, and more importantly the complete and utter lack of any sort of '"${[]}"' quoting for variable names, values, nested expansions, and so on. That's what I am talking about. Shell scripts are nice, but if we are not constrained for some reason to use only /bin/sh or ksh, there's no excuse for wasting hours upon hours to decipher cryptic quoting rules and exceptional edge-cases of "black quoting magic", just to get a short job done. Being able to _easily_ use higher level structures than a plain 'stream of bytes' is nice :) From onemda at gmail.com Wed Jul 1 22:26:53 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Wed Jul 1 22:26:59 2009 Subject: Wireless NICs on 7.2 In-Reply-To: <3d5d3ca90907011120h35b5e665gee30466ce72097e7@mail.gmail.com> References: <3d5d3ca90907011048t1a096865iceaa3b82c1af82f4@mail.gmail.com> <3a142e750907011055r3750fd54rb66612a4b110e090@mail.gmail.com> <3d5d3ca90907011120h35b5e665gee30466ce72097e7@mail.gmail.com> Message-ID: <3a142e750907011526ka68c664s3606fdc9b4ad2889@mail.gmail.com> On 7/1/09, Robert Hall wrote: > On Wed, Jul 1, 2009 at 1:55 PM, Paul B. Mahol wrote: >> On 7/1/09, Robert Hall wrote: >>> I've been trying to get a Linksys WMP54G v. 4.1 to work on FBSD 7.2. >>> It sort of works with the ral driver; I can set the ssid and inet and >>> other values, but it won't associate with the access point or >>> establish a useful connection. >> >> Does it get any scan results? > > Yes. Scanning seems to work fine. And what about TX/RX signal? >> What kind of AP setup: NONE, WEP, WPA, WPA2 ... ? > > No security. > >>> I've tried compiling ndis drivers for both the Linksys and a Belkin >>> F5D7000 v. 7032 that I bought for my XP box. Both drivers crash the >>> system when they load, leading to a reboot. Groveling through vmcore >>> doesn't give me any clues about why the Belkin ndis crashes. The >>> Linksys crash sends a message that it can't open >>> /compat/ndis/rt2561s.bin. I googled for the firmware files and put >>> them in /compat/ndis, but ndis still crashes. Both cards work fine on >>> the XP box. > > BTW, I'm not getting the open file failed message any longer, but the > ndis driver still crashes the system. Could you put backtrace somewhere? http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html >> You are using i386 FreeBSD, right? > > I should have posted this originally: > $ uname -a > FreeBSD stamfordbru.krig.net 7.2-RELEASE FreeBSD 7.2-RELEASE #3: Wed > Jul 1 11:40:35 EDT 2009 > root@stamfordbru.krig.net:/usr/obj/usr/src/sys/STAMFORDBRU0 i386 > _______________________________________________ > 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" > -- Paul From james at tanis.us Wed Jul 1 22:40:04 2009 From: james at tanis.us (james@tanis.us) Date: Wed Jul 1 22:40:11 2009 Subject: Cloning to different disks. In-Reply-To: References: Message-ID: >> Each machine only has 1 hard disk, but they all have a CD ROM and USB >> available. >> >> I have built a pristine system with all packages and ports installed >> that I need. >> >> I am now wanting to clone this to all the machines. The dificulty being >> that they all have various Disk sizes and interfaces (i.e. SCSI 3, SAS, >> etc). >> > there is no difficulty. > > tar up your set to file, on disk or available on network (NFS for example) > > boot from live CD, make disklabels, do newfs and untar your set on each > machine, then change /etc/rc.conf - like hostname and IP If he set up the original on the box with the smallest drive really he need only make an image with dd on to a usb drive, boot to a live disk on the new machine, and write the image to the new disk. On disks with compatible interfaces you could temporarily install the drive and skip the usb portion. After the write he'll need to mount the new drive and modify rc.conf and fstab to the correct settings -- other then that he should be good. No disk(re)labeling needed. Sure you might be out some space if the other drives are substantially bigger but you can always add the partitions later. Depends if time is of the essence or not I guess. From djuatdelta at gmail.com Wed Jul 1 22:58:17 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Wed Jul 1 22:58:24 2009 Subject: POLL: Linux preferences from FreeBSD users Message-ID: QUESTION: Of the various modern Linux distributions, which do you prefer? and why? I'm very interested to see the spread of opinion about Linux distributions from FreeBSD fans. From jon at radel.com Wed Jul 1 23:01:58 2009 From: jon at radel.com (Jon Radel) Date: Wed Jul 1 23:02:06 2009 Subject: POLL: Linux preferences from FreeBSD users In-Reply-To: References: Message-ID: <4A4BEADF.6070900@radel.com> Daniel Underwood wrote: > I'm very interested to see the spread of opinion about Linux > distributions from FreeBSD fans. Why? -- --Jon Radel jon@radel.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3283 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090701/da43ad75/smime-0001.bin From lenzi.sergio at gmail.com Wed Jul 1 23:08:15 2009 From: lenzi.sergio at gmail.com (Sergio de Almeida Lenzi) Date: Wed Jul 1 23:08:23 2009 Subject: load kernel from different media In-Reply-To: <4A4BD7E1.8010204@onetel.com> References: <4A4BD7E1.8010204@onetel.com> Message-ID: <1246489693.68114.23.camel@localhost> Em Qua, 2009-07-01 ?s 22:40 +0100, Chris Whitehouse escreveu: Yes you can. put your kernel (the one that works) on a DVD/CD assume that your rootfs on the HD is on ad0s1a, /usr is on /dev/ad0s1e with all the /boot directory. than boot from dvd/CD with the HD on the machine too. on the startup, hit 6 (number 6). than type: set vfs.root.mountfrom="ufs:ad0s1a" boot -s ==================== the machine will boot from the CD (with the kernel on the CD) than will mount the filesystem / (root) using ufs and the device /dev/ad0s1a once boot, you can mount the / rw..... mount -o rw /dev/ad0s1a /mnt mount /dev/ad0s1e /usr than..... export PATH=/mnt/sbin:/mnt/bin:/usr/sbin:/usr/bin mount -t cd9660 /dev/acd0 /cdrom cd /cdrom tar cf - boot | tar -xpvf - -C /mnt =============== edit /mnt/fstab to match the /(root) fs ..... ==============fstab========= /dev/ad0s1a / ufs rw 1 1 ===================== fastboot the machine will reboot and boot happy on the hd.... hope it can help From bf1783 at googlemail.com Wed Jul 1 23:09:32 2009 From: bf1783 at googlemail.com (b. f.) Date: Wed Jul 1 23:09:39 2009 Subject: Questions on portmaster Message-ID: Manish Jain wrote: >...Does each child start 'make fetch' in the background ? make checksum, yes. >Further, how can portmaster be tuned to automatically ignore ports which >are actually marked as IGNORE in the port directory ? This is not >covered in the manpage. It respects IGNORE (it checks for it in the port Makefile, and also hands off to bsd.port.mk, which respects it). If you mean +IGNOREME, the others have answered your question. >While doing portmaster -a, I have only managed to stop portmaster from >building exactly one port specified with the -x option. Can I get to >stop multiple ports from being built ? Is there regular expression >support for the -x option ? Not in the sense that you mean, at least that I'm aware of. This one of the things that needs improvement. It is a bit awkward, because it uses the shell's built-in POSIX getopts to parse options, and then calls itself recursively. One way you could fix it would be to apply a patch like: --- portmaster.orig 2009-07-01 12:36:14.000000000 -0400 +++ portmaster 2009-07-01 18:55:59.000000000 -0400 @@ -9,7 +9,7 @@ if [ -z "$PARENT_PID" ]; then PARENT_PID=$$ : ${TMPDIR:=/tmp} - UPGRADE_TOOL=portmaster + UPGRADE_TOOL=$0 # /usr/local is needed in the path for make PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin @@ -788,7 +788,11 @@ u) UNATTENDED=uopt; ARGS="-u $ARGS" ;; v) PM_VERBOSE=vopt; ARGS="-v $ARGS" ;; w) SAVE_SHARED=wopt; ARGS="-w $ARGS" ;; - x) EXCL=$OPTARG ;; + x) if [ -z "${OPTARG%%-*}" ]; then + fail 'The -x option requires an argument' + else + EXCL="-x $OPTARG $EXCL" + fi ;; *) echo '' ; echo "===>>> Try ${0##*/} --help"; exit 1 ;; esac done @@ -810,10 +814,7 @@ [ -n "$FETCH_ONLY" -a -n "$NO_RECURSIVE_CONFIG" ] && fail "The -F and -G options are mutually exclusive" if [ -n "$EXCL" ]; then - case "$EXCL" in - -*) fail 'The -x option requires an argument' ;; - *) ARGS="-x $EXCL $ARGS" ;; - esac + ARGS="$EXCL $ARGS" fi #=============== Begin functions for getopts features and main =============== @@ -1461,14 +1462,17 @@ check_exclude () { [ -n "$EXCL" ] || return 0 - case "$1" in - *${EXCL}*) - if [ -n "$PM_VERBOSE" ]; then - echo "===>>> Skipping $1" - echo " because it matches the pattern: *${EXCL}*" - fi - return 1 ;; - esac + for pkgglob in `echo "$EXCL" | sed -e 's#-x##g'` + do + case "$1" in + *${pkgglob}*) + if [ -n "$PM_VERBOSE" ]; then + echo "===>>> Skipping $1" + echo " because it matches the pattern: *${pkgglob}*" + fi + return 1 ;; + esac ; + done return 0 } (Mind the whitespace because of my MUA.) Then you could just use repeated -x flags, each with one and only one package glob that you wanted to exclude. I changed the definition of UPGRADE_TOOL so that you could put this script in your path under another name, say "jainpmaster", and then call it independently of the original portmaster. As usual, I make no claim that this is the best, only, or most elegant way to do this. Regards, b. From chalbersma.12 at westminster-mo.edu Wed Jul 1 23:12:40 2009 From: chalbersma.12 at westminster-mo.edu (Christopher Ryan Halbersma) Date: Wed Jul 1 23:12:47 2009 Subject: POLL: Linux preferences from FreeBSD users In-Reply-To: <20090701230208.EB47F10656C7@hub.freebsd.org> References: <20090701230208.EB47F10656C7@hub.freebsd.org> Message-ID: > QUESTION: Of the various modern Linux distributions, which do you > prefer? and why? None, I'm a BSD kindof guy :). Although Damn Small Linux and Tiny Core are nice ideas. > I'm very interested to see the spread of opinion about Linux > distributions from FreeBSD fans. Indeed why? -- Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ From sfourman at gmail.com Wed Jul 1 23:42:37 2009 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Wed Jul 1 23:42:44 2009 Subject: POLL: Linux preferences from FreeBSD users In-Reply-To: References: Message-ID: <11167f520907011613p15b99cc8tf858704eaf1ec9a0@mail.gmail.com> On Wed, Jul 1, 2009 at 5:58 PM, Daniel Underwood wrote: > QUESTION: Of the various modern Linux distributions, which do you > prefer? and why? > > I'm very interested to see the spread of opinion about Linux > distributions from FreeBSD fans. of all the Linux distros I have tried, the least confusing is Gentoo Gentoo portage is "kinda" like FreeBSD ports they also have another project http://www.sabayonlinux.org/ that is Gentoo based, and I am hoping that one day PC-BSD will grow into what Sabayon now is, but FreeBSD based. in my Opinion, package management is the Big question that all os's have to deal with. things like debian's aptget do not handle upgrades very well. PC-BSD has a Great start on this with "PBI's" Sam Fourman Jr. Fourma Networks From glen.j.barber at gmail.com Wed Jul 1 23:47:43 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Wed Jul 1 23:48:23 2009 Subject: POLL: Linux preferences from FreeBSD users In-Reply-To: References: Message-ID: <4ad871310907011647n5e709c2bk41a3fb4ba99dd580@mail.gmail.com> On Wed, Jul 1, 2009 at 6:58 PM, Daniel Underwood wrote: > QUESTION: Of the various modern Linux distributions, which do you > prefer? and why? > > I'm very interested to see the spread of opinion about Linux > distributions from FreeBSD fans. Although I am hesitant to contribute to what will most certainly turn into a flamewar, I have used Fedora, *buntu, and OpenSuse. Of those 3 distributions, *buntu tends to install the least nonsense -- OpenSuse the most. When I do need linux for something, I try to use some Ubuntu variant as I can have better control over what is installed. Of course, when I can control it, I install FreeBSD, as I have greater control over everything. -- Glen Barber From djuatdelta at gmail.com Wed Jul 1 23:50:48 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Wed Jul 1 23:51:00 2009 Subject: POLL: Linux preferences from FreeBSD users In-Reply-To: <11167f520907011613p15b99cc8tf858704eaf1ec9a0@mail.gmail.com> References: <11167f520907011613p15b99cc8tf858704eaf1ec9a0@mail.gmail.com> Message-ID: > of all the Linux distros I have tried, the least confusing is Gentoo > Gentoo portage is "kinda" like FreeBSD ports Yes, I'd like to give Gentoo a try. From corky1951 at comcast.net Thu Jul 2 00:02:40 2009 From: corky1951 at comcast.net (Charlie Kester) Date: Thu Jul 2 00:02:46 2009 Subject: POLL: Linux preferences from FreeBSD users In-Reply-To: References: <20090701230208.EB47F10656C7@hub.freebsd.org> Message-ID: <20090702000231.GF72216@comcast.net> On Wed 01 Jul 2009 at 16:12:40 PDT Christopher Ryan Halbersma wrote: >>QUESTION: Of the various modern Linux distributions, which do you >>prefer? and why? > >None, I'm a BSD kindof guy Same here, but my other machine is a Mac (still BSD under the hood). From djuatdelta at gmail.com Thu Jul 2 00:23:27 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Thu Jul 2 00:23:34 2009 Subject: boot0 / LILO / GRUB: dual boot FreeBSD and Linux Message-ID: I'm getting a new desktop through my university which will come installed with Windows Vista. Obviously, my first action item will be removing Vista and installing a reasonable OS. Due to the need to be up-and-running immediately with an OS that I'm comfortable with, I'll be installing Linux (probably Ubuntu). But I'd like to set-up FreeBSD also. Which of the boot managers do you suggest I use? Which OS should I install first? Since I've never set-up a FreeBSD/Linux dual-boot system, I don't know what, if any, pitfalls to avoid. I'm hoping some of you will have experience I can learn from. Any relevant advice would be greatly appreciated. TIA, Daniel From keramida at ceid.upatras.gr Thu Jul 2 00:30:34 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Thu Jul 2 00:30:48 2009 Subject: POLL: Linux preferences from FreeBSD users In-Reply-To: (Daniel Underwood's message of "Wed, 1 Jul 2009 18:58:15 -0400") References: Message-ID: <87y6r8x6xl.fsf@kobe.laptop> On Wed, 1 Jul 2009 18:58:15 -0400, Daniel Underwood wrote: > QUESTION: Of the various modern Linux distributions, which do you > prefer? and why? > > I'm very interested to see the spread of opinion about Linux > distributions from FreeBSD fans. Debian is the one I can almost tolerate. There's a special place in hell for the people who write the source of code of horrible, terrifying, ugly things like iptables and the default packaging of GNU Emacs in Debian, but it's the one that I can tune a bit to match my preferences :-) From djuatdelta at gmail.com Thu Jul 2 00:31:59 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Thu Jul 2 00:32:06 2009 Subject: FreeBSD support for 64-bit x86 systems Message-ID: Does FreeBSD currently support 64-bit x86 systems? I've been here, but my knowledge of hardware terminology is too limited to confidently draw conclusions: From glen.j.barber at gmail.com Thu Jul 2 00:34:20 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Thu Jul 2 00:34:27 2009 Subject: FreeBSD support for 64-bit x86 systems In-Reply-To: References: Message-ID: <4ad871310907011734w3e9a7713h83d050b104d9d7ac@mail.gmail.com> On Wed, Jul 1, 2009 at 8:31 PM, Daniel Underwood wrote: > Does FreeBSD currently support 64-bit x86 systems? > > I've been here, but my knowledge of hardware terminology is too > limited to confidently draw conclusions: > amd64 -- Glen Barber From djuatdelta at gmail.com Thu Jul 2 00:37:02 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Thu Jul 2 00:37:09 2009 Subject: FreeBSD support for 64-bit x86 systems In-Reply-To: <4ad871310907011734w3e9a7713h83d050b104d9d7ac@mail.gmail.com> References: <4ad871310907011734w3e9a7713h83d050b104d9d7ac@mail.gmail.com> Message-ID: > amd64 Ah-hah. Thanks! From sfourman at gmail.com Thu Jul 2 00:42:55 2009 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Thu Jul 2 00:43:02 2009 Subject: FreeBSD support for 64-bit x86 systems In-Reply-To: References: Message-ID: <11167f520907011742yed5b160wd37441dce946d353@mail.gmail.com> On Wed, Jul 1, 2009 at 7:31 PM, Daniel Underwood wrote: > Does FreeBSD currently support 64-bit x86 systems? amd64 supports both amd and intel 64bit CPU's right now the big limitation for me is you can not have a Nvidia binary graphics driver on amd64 progress has been made on this front in the last month. Sam Fourman Jr From nlandys at gmail.com Thu Jul 2 00:52:32 2009 From: nlandys at gmail.com (Nerius Landys) Date: Thu Jul 2 00:53:01 2009 Subject: boot0 / LILO / GRUB: dual boot FreeBSD and Linux In-Reply-To: References: Message-ID: <560f92640907011752h784aab0l2e02c3c28b458685@mail.gmail.com> > I'm getting a new desktop through my university which will come > installed with Windows Vista. Obviously, my first action item will be > removing Vista and installing a reasonable OS. Due to the need to be > up-and-running immediately with an OS that I'm comfortable with, I'll > be installing Linux (probably Ubuntu). But I'd like to set-up FreeBSD > also. > > Which of the boot managers do you suggest I use? Which OS should I > install first? Since I've never set-up a FreeBSD/Linux dual-boot > system, I don't know what, if any, pitfalls to avoid. I'm hoping some > of you will have experience I can learn from. Any relevant advice > would be greatly appreciated. > Hi, I'm primarily an Ubuntu Linux user, but I've experimented with FreeBSD desktops and servers quite a bit (servers especially). One thing I found to be really cool is the FreeBSD boot manager. I would strongly recommend using the FreeBSD boot manager because it's completely standalone; it does not depend on any files or data sitting in your partitions. The boot manager sits within the first 512 bytes of your hard drive (the MBR) and it does not need any other data to function. The way it works is simple. Well first a disclaimer. What I describe here, I'm pretty confident that I know what I'm talking about, but there is a chance that my knowledge is wrong. In that case please correct me, someone. The FreeBSD boot manager (I don't know the official name for it off the top of my head), when run, looks at the partitions on the hard drive. It then presents a menu, where you press a function key to select which partition to boot. It basically delegates the booting to the boot record on the partition of your choice. The way to set this up is as follows. Well, I'm sure it's possible to install FreeBSD first and then Linux, but I will describe it the other way. First install Linux normally (well leaving space on your hard drive for a FreeBSD partition, which needs to be primary and not extended). After you install Linux, boot up and do some magic where you install the boot manager (such as Grub or Lilo) onto the boot record of the Linux parttion. Normally the boot manager for Linux will be installed in the MBR, but put it on the partition's boot sector as well. Now install FreeBSD. Install the FreeBSD boot manager. It will not touch the Linux partition at all, the FreeBSD install will only write to the FreeBSD partition and to the MBR. I would not recommend using Grub as a boot manager (for the MBR) because it depends on files sitting on your Linux partition as far as I know. So when you wipe your Linux partition for some reason you won't be able to boot any more. Same goes for Lilo I think. The FreeBSD boot manager does not depend on any data outside of the MBR, so it will continue working properly after you wipe a partition clean. See here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/boot-blocks.html It appears that the boot manager is called boot0. If you ever want to back up your MBR for some reason, which includes the partition table and the boot program, you can do something like this: dd if=/dev/hda of=my-mbr-saved-file bs=512 count=1 where "/dev/hda" would be changed depending on OS and hard disk configuration. Then you can restore the MBR: dd if=my-mbr-saved-file of=/dev/hda bs=512 count=1 But restoring should be done with extreme caution because it will rewrite your partition table and could lead to lost data because of that. I have installed the FreeBSD boot manager by using dd after combining the 446-byte long program with an existing partition table From rjhjr0 at gmail.com Thu Jul 2 01:45:26 2009 From: rjhjr0 at gmail.com (Robert Hall) Date: Thu Jul 2 01:45:33 2009 Subject: Wireless NICs on 7.2 In-Reply-To: <3a142e750907011526ka68c664s3606fdc9b4ad2889@mail.gmail.com> References: <3d5d3ca90907011048t1a096865iceaa3b82c1af82f4@mail.gmail.com> <3a142e750907011055r3750fd54rb66612a4b110e090@mail.gmail.com> <3d5d3ca90907011120h35b5e665gee30466ce72097e7@mail.gmail.com> <3a142e750907011526ka68c664s3606fdc9b4ad2889@mail.gmail.com> Message-ID: <3d5d3ca90907011845g26124a59y9643ef4623610f6@mail.gmail.com> > And what about TX/RX signal? I don't know where to look for that. :) > Could you put backtrace somewhere? > http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html Backtrace from crashing with a Belkin ndis: (kgdb) backtrace #0 doadump () at pcpu.h:196 #1 0xc055bcc3 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc055bece in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc079041c in trap_fatal (frame=0xd5f9571c, eva=0) at /usr/src/sys/i386/i386/trap.c:939 #4 0xc0790680 in trap_pfault (frame=0xd5f9571c, usermode=0, eva=0) at /usr/src/sys/i386/i386/trap.c:852 #5 0xc0790fd9 in trap (frame=0xd5f9571c) at /usr/src/sys/i386/i386/trap.c:530 #6 0xc077dbbb in calltrap () at /usr/src/sys/i386/i386/exception.s:159 #7 0xc32b5239 in BLKWGDv7_sys_drv_data_start () from /boot/modules/BLKWGDv7_sys.ko Previous frame inner to this frame (corrupt stack?) And from a Linksys crash (kgdb) backtrace #0 doadump () at pcpu.h:196 #1 0xc055bcc3 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 #2 0xc055bece in panic (fmt=Variable "fmt" is not available. ) at /usr/src/sys/kern/kern_shutdown.c:574 #3 0xc079041c in trap_fatal (frame=0xd600cb98, eva=382216) at /usr/src/sys/i386/i386/trap.c:939 #4 0xc0790680 in trap_pfault (frame=0xd600cb98, usermode=0, eva=382216) at /usr/src/sys/i386/i386/trap.c:852 #5 0xc0790fd9 in trap (frame=0xd600cb98) at /usr/src/sys/i386/i386/trap.c:530 #6 0xc077dbbb in calltrap () at /usr/src/sys/i386/i386/exception.s:159 #7 0xc329dde6 in rt61_sys_drv_data_start () from /boot/modules/./rt61_sys.ko Previous frame inner to this frame (corrupt stack?) I hope this is what you were asking for. :) From martin at dc.cis.okstate.edu Thu Jul 2 02:16:01 2009 From: martin at dc.cis.okstate.edu (Martin McCormick) Date: Thu Jul 2 02:16:08 2009 Subject: POLL: Linux preferences from FreeBSD users Message-ID: <200907020215.n622Fk0Q022251@dc.cis.okstate.edu> Daniel Underwood writes: > QUESTION: Of the various modern Linux distributions, which do you > prefer? and why? I like Debian and ubuntu which is a Debian distribution but that is not to say that other distributions are poorly done. Part of my preference is nothing more than that is what I started out with for a Linux distribution back around 2001 so I am accustomed to it. I like the Debian installation CD because as a computer user who is blind, I use a serial installation console and both the Debian5 CD and ubuntu Server can be easily started in serial mode. I also do not like any distribution that uses a GUI-based installation method unless there is a text-based method which is still available and easy to start. Debian was also one of the first few distributions to be more conservative about security settings. I work for a university and let's say that it is a good place to find out how weak one's settings are. Anybody who finds a hole will not necessarily tell you, but you will unfortunately find out in due time when the complaints start rolling in from all over the world. All the major distributions now are much better about security so this is not as much of a factor as it used to be. As with many things, your mileage will be determined by what you need to do and how well your particular flavor of Linux does it. All Linux versions use the same kernel but some may modify portions of it for special purposes. The distribution known as grml, for instance, has a set of modules in the kernel to support software speech synthesis. I would love to put it on a certain laptop I have but the laptop has other ideas. grml is a flavor of Debian and, on my laptop, the live CD is dead. Ubuntu's live CD also does software speech synthesis for blind computer users, along with an Orca desktop, but it also needs a pretty hefty system just to boot the live CD. That laptop of mine is a 1-GHZ processor and 256 megs of RAM and it still isn't enough. That live CD is also a dead one on that computer. One thing, though, the ubuntu live CD can seem to find the sound card as I hear the bongo drums in the ubuntu bootup, but then the drums fall silent and the screen goes psychedelic as RAM is exhausted and the system looses sanity. That particular psychedelic trip can only be ended by a forced power-down. The only distribution that does work there is something called "Oralux" whose development stopped around 4 years ago. It has software synthesis and it does talk all right, but the sound card can not record sound and it really is too old to be safe or very useful any more. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Telecommunications Services Group From kalin at el.net Thu Jul 2 04:20:47 2009 From: kalin at el.net (kalin m) Date: Thu Jul 2 04:20:54 2009 Subject: serial modem In-Reply-To: <20090630081731.95f90487.freebsd@edvax.de> References: <4A483CD3.9040304@el.net> <4A48E09D.3000102@beanfield.com> <4A4982DB.8010909@el.net> <20090630081731.95f90487.freebsd@edvax.de> Message-ID: <4A4C356C.7010009@el.net> > But it IS a modem to dial tones and connect to something? > "Net search"... no idea what that could mean. Serial modems usually > don't search for nets... > > Or am I completely misunderstanding you and you're trying to find a > command access to a DSL modem that has a serial line? > it's a gsm/sms modem. i need to get to it to set some settings using AT commands... From invalid.pointer at gmail.com Thu Jul 2 05:06:46 2009 From: invalid.pointer at gmail.com (Manish Jain) Date: Thu Jul 2 05:06:52 2009 Subject: Questions on portmaster In-Reply-To: References: Message-ID: <4A4C4057.5010209@gmail.com> b. f. wrote: > Manish Jain wrote: >> ...Does each child start 'make fetch' in the background ? > > make checksum, yes. > >> Further, how can portmaster be tuned to automatically ignore ports which >> are actually marked as IGNORE in the port directory ? This is not >> covered in the manpage. > > It respects IGNORE (it checks for it in the port Makefile, and also > hands off to bsd.port.mk, which respects it). If you mean +IGNOREME, > the others have answered your question. > >> While doing portmaster -a, I have only managed to stop portmaster from >> building exactly one port specified with the -x option. Can I get to >> stop multiple ports from being built ? Is there regular expression >> support for the -x option ? > > Not in the sense that you mean, at least that I'm aware of. This one > of the things that needs improvement. It is a bit awkward, because it > uses the shell's built-in POSIX getopts to parse options, and then > calls itself recursively. One way you could fix it would be to apply > a patch like: > > --- portmaster.orig 2009-07-01 12:36:14.000000000 -0400 > +++ portmaster 2009-07-01 18:55:59.000000000 -0400 > @@ -9,7 +9,7 @@ > if [ -z "$PARENT_PID" ]; then > PARENT_PID=$$ > : ${TMPDIR:=/tmp} > - UPGRADE_TOOL=portmaster > + UPGRADE_TOOL=$0 > > # /usr/local is needed in the path for make > PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin > @@ -788,7 +788,11 @@ > u) UNATTENDED=uopt; ARGS="-u $ARGS" ;; > v) PM_VERBOSE=vopt; ARGS="-v $ARGS" ;; > w) SAVE_SHARED=wopt; ARGS="-w $ARGS" ;; > - x) EXCL=$OPTARG ;; > + x) if [ -z "${OPTARG%%-*}" ]; then > + fail 'The -x option requires an argument' > + else > + EXCL="-x $OPTARG $EXCL" > + fi ;; > *) echo '' ; echo "===>>> Try ${0##*/} --help"; exit 1 ;; > esac > done > @@ -810,10 +814,7 @@ > [ -n "$FETCH_ONLY" -a -n "$NO_RECURSIVE_CONFIG" ] && > fail "The -F and -G options are mutually exclusive" > if [ -n "$EXCL" ]; then > - case "$EXCL" in > - -*) fail 'The -x option requires an argument' ;; > - *) ARGS="-x $EXCL $ARGS" ;; > - esac > + ARGS="$EXCL $ARGS" > fi > > #=============== Begin functions for getopts features and main =============== > @@ -1461,14 +1462,17 @@ > check_exclude () { > [ -n "$EXCL" ] || return 0 > > - case "$1" in > - *${EXCL}*) > - if [ -n "$PM_VERBOSE" ]; then > - echo "===>>> Skipping $1" > - echo " because it matches the pattern: *${EXCL}*" > - fi > - return 1 ;; > - esac > + for pkgglob in `echo "$EXCL" | sed -e 's#-x##g'` > + do > + case "$1" in > + *${pkgglob}*) > + if [ -n "$PM_VERBOSE" ]; then > + echo "===>>> Skipping $1" > + echo " because it matches the pattern: > *${pkgglob}*" > + fi > + return 1 ;; > + esac ; > + done > return 0 > } > > > (Mind the whitespace because of my MUA.) Then you could just use > repeated -x flags, each with one and only one package glob that you > wanted to exclude. I changed the definition of UPGRADE_TOOL so that > you could put this script in your path under another name, say > "jainpmaster", and then call it independently of the original > portmaster. As usual, I make no claim that this is the best, only, or > most elegant way to do this. > > Regards, > b. > Hello BF/Roland, Thanks for the clarifications. Regarding the download speeds I was getting with portmaster fetches (0.7 kBps to 4.0 kBps), I immediately booted into Windows/Cygwin and did a wget from the same site portmaster was using. The speed I got from wget was ~ 35 kBps. This happened not just once but multiple times. Each time I did this, I had to interrupt portmaster. Finally I managed to get to install the wget port on FreeBSD itself. When I ran wget from FreeBSD, it reported comparable transfer rates (~ 35 kBps) from the same sites as portmaster was using. >> It respects IGNORE (it checks for it in the port Makefile, and also >> hands off to bsd.port.mk, which respects it). I got a curl port from portsnap marked IGNORE. portmaster did not ignore it anywhere near gracefully enough and finally killed off all child processes and itself. The IGNOREME way is fine for me for avoiding multiple ports I know beforehand I do not want to build. But if a portsnap update creates an IGNORE port, portmaster should be skipping it entirely rather than having to kill all child processes and itself. In my experience, this did not happen. Or maybe my system was badly broken already by that time. Anyway, my system became so unpredictable that I had to reinstall FreeBSD. For the moment, I am avoiding portmaster till I can try it out on a dummy PC first. BTW, I also tried portmanager and it segfaulted at the stage of generating a report. Thanks for all the help. Manish Jain invalid.pointer@gmail.com From kalin at el.net Thu Jul 2 05:10:07 2009 From: kalin at el.net (kalin m) Date: Thu Jul 2 05:10:14 2009 Subject: serial modem In-Reply-To: <4A4C356C.7010009@el.net> References: <4A483CD3.9040304@el.net> <4A48E09D.3000102@beanfield.com> <4A4982DB.8010909@el.net> <20090630081731.95f90487.freebsd@edvax.de> <4A4C356C.7010009@el.net> Message-ID: <4A4C40FC.9060607@el.net> nevermind... thanks... kalin m wrote: > >> But it IS a modem to dial tones and connect to something? >> "Net search"... no idea what that could mean. Serial modems usually >> don't search for nets... >> >> Or am I completely misunderstanding you and you're trying to find a >> command access to a DSL modem that has a serial line? >> > > it's a gsm/sms modem. i need to get to it to set some settings using > AT commands... _______________________________________________ > 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 freebsd at edvax.de Thu Jul 2 05:21:34 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Jul 2 05:21:43 2009 Subject: POLL: Linux preferences from FreeBSD users In-Reply-To: References: Message-ID: <20090702072125.6a3e513d.freebsd@edvax.de> On Wed, 1 Jul 2009 18:58:15 -0400, Daniel Underwood wrote: > QUESTION: Of the various modern Linux distributions, which do you > prefer? and why? Actually, I'm not a Linux user. But Linux was my first step into using UNIX on a x86 PC. More than 10 years ago, I started with Slackware Linux, and with the rise of FreeBSD 4.0, I did abandon it. "Modern" Linux distributions don't appeal very much to me, because they are messy: Missing manpages, partially ununderstandable file system hierarchy layout, untidy source code. Ah yes, and I need a very modern PC to run them. No thanks, not my party. That's why I can't tell about them, because I've not used them. The only thing that I observed when playing around with SuSE live CDs was that the Gnome version of their Linux had a much better internationalisation than the KDE version. Set language to "German", and Gnome gives german text and messages most of the time, nearly everywhere. KDE cannot do that. It even gives english error messages. This is what scares Germans who want to try Linux. They cannot stand such complicated computer thingies. :-) > I'm very interested to see the spread of opinion about Linux > distributions from FreeBSD fans. Why? And an addition: I'm not a "FreeBSD fan", I'm a FreeBSD user. I am using it because it serves my needs best, and I am nearly exclusively using it (along with Solaris). -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Thu Jul 2 05:24:10 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Jul 2 05:24:18 2009 Subject: serial modem In-Reply-To: <4A4C356C.7010009@el.net> References: <4A483CD3.9040304@el.net> <4A48E09D.3000102@beanfield.com> <4A4982DB.8010909@el.net> <20090630081731.95f90487.freebsd@edvax.de> <4A4C356C.7010009@el.net> Message-ID: <20090702072407.9ef4b870.freebsd@edvax.de> On Thu, 02 Jul 2009 00:19:56 -0400, kalin m wrote: > > > But it IS a modem to dial tones and connect to something? > > "Net search"... no idea what that could mean. Serial modems usually > > don't search for nets... > > > > Or am I completely misunderstanding you and you're trying to find a > > command access to a DSL modem that has a serial line? > > > > it's a gsm/sms modem. i need to get to it to set some settings using AT > commands... Okay, then I do understand. My advice of using PPP should be fine then. You just have to add somme AT commands you need. PPP can issue them instead of dialing a number and then establish the connection. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From bf1783 at googlemail.com Thu Jul 2 06:29:14 2009 From: bf1783 at googlemail.com (b. f.) Date: Thu Jul 2 06:29:21 2009 Subject: Questions on portmaster In-Reply-To: <4A4C4057.5010209@gmail.com> References: <4A4C4057.5010209@gmail.com> Message-ID: On 7/2/09, Manish Jain wrote: > b. f. wrote: >> Manish Jain wrote: > Regarding the download speeds I was getting with portmaster fetches (0.7 > kBps to 4.0 kBps), I immediately booted into Windows/Cygwin and did a > wget from the same site portmaster was using. The speed I got from wget > was ~ 35 kBps. This happened not just once but multiple times. Each time > I did this, I had to interrupt portmaster. Finally I managed to get to > install the wget port on FreeBSD itself. When I ran wget from FreeBSD, > it reported comparable transfer rates (~ 35 kBps) from the same sites as > portmaster was using. > This has nothing to do with portmaster. Remember, portmaster is just a (sometimes) convenient shell script wrapper for the normal ports infrastructure. What you're probably seeing is either the usual fluctuations in network performance, or the difference between wget and FreeBSD fetch(1), which by default is used for getting distfiles and packages. This is set in bsd.port.mk, and you can override it if you prefer to use something else. See the comments concerning FETCH_BINARY, FETCH_ARGS, FETCH_CMD, FETCH_{BEFORE,AFTER}_ARGS, FETCH_ENV, and FETCH_REGET at the top of bsd.port.mk, or the relevant portion of that script. You can also try tuning your network settings, which can speed things up significantly in some cases. >>> It respects IGNORE (it checks for it in the port Makefile, and also >>> hands off to bsd.port.mk, which respects it). > > I got a curl port from portsnap marked IGNORE. portmaster did not ignore > it anywhere near gracefully enough and finally killed off all child > processes and itself. > Uh, yeah -- but that's another matter. It did IGNORE it, but it just stopped entirely. This is another one of the things that need improvement. portupgrade, by contrast, will keep going, only ignoring the port in question and any ports that depend upon it, but updating the rest. You should be able to patch portmaster to mimic this behavior. > Anyway, my system became so unpredictable that I had to reinstall > FreeBSD. For the moment, I am avoiding portmaster till I can try it out > on a dummy PC first. > Well, something is awry if your system was damaged that badly, and it probably wasn't because of portmaster. In general, few ports ought to damage the base system. You're probably better off trying to remove and then reinstall all of your ports first (the instructions in the portmaster manpage are good in this regard), before reinstalling everything. > BTW, I also tried portmanager and it segfaulted at the stage of > generating a report. > Oh, well. Sounds like a job for .... rnoland@FreeBSD.org. But wait -- who wants to bother him about some tiny piece of port management software when he is heroically staging a single-handed campaign to maintain X11 on FreeBSD? b. From kavin.patel at rentsonic.com Thu Jul 2 06:39:57 2009 From: kavin.patel at rentsonic.com (Kavin Patel) Date: Thu Jul 2 06:40:04 2009 Subject: Audio visual for Open Source Convention Message-ID: <1963f2d9a65e2d0ce314714033689efb@marketing.rentsonic.com> Hello this is Kavin Patel from RentSonic. We are a premier tradeshow equipment supplier. We provide computers and audio/visual rentals to exhibitors across the country. Our focus is on providing the best service and equipment at excellent prices. Our experience assures us of the ability to provide you with the exact equipment and service you require for your tradeshow / expo. Please contact me to discuss how we can provide for your specific needs. While other rental companies have come and gone, our focus on service has gave us to thrive. You can checks us also at www.RENTSONIC.com I will be pleased to assist you in any need you may have in your upcoming show. Place your first order now and receive a $25 Gift Card to STARBUCKS! Use reference rent2day when you check out to receive your discount. You can contact me at 1-877-766-4205 or email me at kavin.patel@rentsonic.com Kavin Patel Operations Manager 1-877-766-4205 Fax: 510-252-1199 RENTSONIC, INC www.RENTSONIC.com ************************************************************ Why Choose RENTSONIC as your rental vendor? -24-hour a day, 7 day a week Technical Support on rentals -Full Service Delivery, Set-Up, Breakdown Nationwide -We Give the Best Service, Equipment, and Support -The only true one-stop-business for Computer & Audio-Visual Rental Rentsonic, LLC P.O Box 3292 Chandler, AZ 85244 Unsubscribe me from this contact list http://marketing.rentsonic.com/unsubscribe.php?M=3837807&C=6acd3edbf0ec7c783b2f57285cd1175d&L=619&N=745 From rock_on_the_web at hotmail.com Thu Jul 2 06:51:10 2009 From: rock_on_the_web at hotmail.com (Da Rock) Date: Thu Jul 2 06:51:17 2009 Subject: X fails to start Message-ID: I'm still having intermittent troubles with getting the freebsd servers seeing my mail servers for my normal maillist subscription, so if I could be cc'd... I'm struggling to get my head around a reasonably severe problem with Xorg - I'm wondering if anyone else is having the same. I've installed Xorg, got it working, started to refine some settings with the wm and other apps for it, and then Xorg refuses to work. My xorg log has only a couple of errors, for reference I'm using the i915 ko with drm: startx: X.Org X Server 1.6.1 Release Date: 2009-4-14 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.2-RELEASE-p1 i386 ... (EE) [drm] Could not set DRM device bus ID. (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI. Setting master MIT-SHM extension disabled due to lack of kernel support Xorg.0.log: ... drmGetBusid returned '' (II) [drm] DRM interface version 1.0 (EE) [drm] Could not set DRM device bus ID. (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI ... (WW) intel(0): drmDropMaster failed: Unknown error: -1 ... (WW) intel(0): PRB0_CTL (0x0001f001) indicates ring buffer enabled (WW) intel(0): Existing errors found in hardware state. ... MIT-SHM extension disabled due to lack of kernel support ... (WW) intel(0): drmDropMaster failed: Unknown error: -1 Because of my communications issues I've been trying to resolve this myself- with no luck. I've been trying to get some more info on this, and it seems to be a huge bug on a lot of linux distros, but noone has a clear response- it all seems to be a secondary issue to whatever their problem is. SO, I then tried to find out how to debug, and ran into ANOTHER issue. I've rebuilt xorg-server with debug (ccflags='-O0 -g3' as per xorg wiki) with no real success, so then I moved to dri and hit this wall: ../../../src/mesa/main/dispatch.o(.text+0xbb90):../../../src/mesa/glapi/glapitemp.h:4951: first defined here ../../../src/mesa/x86/glapi_x86.o(.text+0x4130): In function `glPointParameteri': ../../../src/mesa/x86/glapi_x86.S:1270: multiple definition of `glPointParameteri' ../../../src/mesa/main/dispatch.o(.text+0xc8e0):../../../src/mesa/glapi/glapitemp.h:5256: first defined here ../../../src/mesa/x86/glapi_x86.o(.text+0x4140): In function `glPointParameteriv': ../../../src/mesa/x86/glapi_x86.S:1271: multiple definition of `glPointParameteriv' ../../../src/mesa/main/dispatch.o(.text+0xc940):../../../src/mesa/glapi/glapitemp.h:5266: first defined here mklib: Installing libGL.so.1 libGL.so in ../../../lib mv: rename libGL.so.1 to ../../../lib/libGL.so.1: No such file or directory gmake[2]: *** [../../../lib/libGL.so] Error 1 gmake[2]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.4.4/src/glx/x11' gmake[1]: *** [subdirs] Error 1 gmake[1]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.4.4/src' gmake: *** [default] Error 1 *** Error code 1 Stop in /usr/ports/graphics/dri. The various warnings are in the gallon, but my main problem lay with the mklib error. So I tried to simply copy or rename libGL.so(.1) to make it happy (I couldn't find references in the Makefile(s) after half an hour of examination, so I took a little shortcut). It did, but then the gallon of warnings came back to hit me again- but harder, and so I get another stop in the build. So now I can't get dri back, I can't get X working and I'm losing my patience fast! :) What I can't figure out is what started all this in the first place, because it was working. Unfortunately I was in the midst of several things happening at once, so I can't remember if I rebuilt the kernel, upgraded xorg or both before X failed. As far as I can tell that is only secondary at any rate, as I need to prevent this happening again during upgrades/updates whatever. My main questions here are: 1. How do debug Xorg? The debug flags haven't provided much at all so far (maybe I've done it wrong?) 2. Why can I get the busid failure and Xorg keep going? How do I force it? Where is this problem lying (kmod, driver, server)? Is it critical? 3. Is the MIT-SHM error the cause of my problems? (Or a contributor) 4. What do I need to do about the Mesa library? Is this related to the core issue? Is this a known bug in the port build? I've considered manually debugging the drmGetBusID failure, but I don't exactly relish the idea of going through that much code. I could easily follow the procedures in the wiki, but I'd rather go through ports. I've also just completely removed xorg and started again with the cflags, but it has failed again at the dri port. I hope someone help here... :/ Cheers _________________________________________________________________ Get the latest news, goss and sport Make ninemsn your homepage! http://windowslive.ninemsn.com.au/article.aspx?id=813730 From jwdevel at gmail.com Thu Jul 2 06:57:34 2009 From: jwdevel at gmail.com (jw) Date: Thu Jul 2 06:57:42 2009 Subject: kernel panic on SATA drive Message-ID: I've been having an intermittent problem, wonder if someone on the list has any ideas. First my setup: FreeBSD 7.2-RELEASE (amd64) quad-core Phenom processor mobo: MSI K9N2G Neo chipset: NVIDIA GeForce 8200, which FreeBSD recognizes as nForce (not sure how that works) I have a 3ware RAID card (RAID 1), which is the boot device. A seagate drive connected via SATA A WD external drive via USB I will have the system running fine, then the seagate will apparently fall off the bus, resulting in a panic. The dump fails as well, presumably due to the 3ware driver not being able to handle the panic? not sure... If anyone knows a way I can get the dump to succeed, I'd appreciate that info, too. See below output for details. The first time I had the problem, it would regularly happen when I tried to install a particular port (sudo). Then I changed where the SATA cable was plugged in and tried un/re-plugging the USB external drive and rebooting and managed to get it working (so I thought). One weird aspect of that process is that the BIOS would not even list the SATA drive until I switched it to a different plug... freaked me out a bit. Also during POST it would hang for many seconds, when I had the USB drive plugged in, until I went through my random plugging/unplugging/replugging shenanigans. But now it has happened again, this time while copying lots of files from the USB external drive to the SATA one. Both drives are recognized by BIOS (and FreeBSD) on reboot this time, at least. But I'm hesitant to just 'call it good' - I'd like this to be a stable server (: I manually transcribed the bulk of the output - is there a nicer way to get the output of a kernel panic so I can copy/paste? I didn't find an obvious command, though I'm no FreeBSD guru. If someone could tell me how to get that output, I'd be greatful. ---- output below ---- ad7: FAILURE - device detached g_vfs_done():ad7s1d[WRITE(offset=340978335744, length=16384)]error = 6 g_vfs_done():ad7s1d[WRITE(offset=340978352128, length=16384)]error = 6 /dev: got error 6 while accessing filesystem panic: softdep_deallocate_dependencies: unrecovered I/O error cpuid=2 Uptime: 15h23m39s Physical memory: 7923MB Dumping 733MB: 718 702 686 670 654 638twe0:completion event for nonbusy command twe0: completion event for nonbusy command twe0: completion event for nonbusy command twe0: completion event for nonbusy command twe0: completion event for nonbusy command twe0: completion event for nonbusy command twe0: FATAL STATUS BIT(S) 200000 twe0: status 13207fd2 ### At this point in the log a bunch of output starts getting interleaved, character-by-character even. ### Maybe due to multi-cpus dumping output simultaneously? I don't know... ### eventually... twe0: can't drain AEN queue twe0: controller reset in progress twe0: reset 1 failed ### snip more failing messages twe0: can't reset controller, giving up #Then some more stuff that I haven't written down ---- end log --- So.... any thoughts? Maybe it's just a mobo / chipset compatibility issue? I should have known with a mobo that says "GeForce 8200" for chipset. I thought NVIDIA support was pretty good in FreeBSD though... Do you think recompiling my own kernel would help? Do you think installing a different version of FreeBSD would help? (My main experience is with 6.2) It was quite odd to me that even the BIOS stopped recognizing the SATA drive the first time. Any thoughts on that? Thanks for any feedback -John From j.mckeown at ru.ac.za Thu Jul 2 07:07:10 2009 From: j.mckeown at ru.ac.za (Jonathan McKeown) Date: Thu Jul 2 07:07:18 2009 Subject: POLL: Linux preferences from FreeBSD users In-Reply-To: <20090702072125.6a3e513d.freebsd@edvax.de> References: <20090702072125.6a3e513d.freebsd@edvax.de> Message-ID: <200907020907.08159.j.mckeown@ru.ac.za> On Thursday 02 July 2009 07:21:25 Polytropon wrote: > On Wed, 1 Jul 2009 18:58:15 -0400, Daniel Underwood wrote: > > QUESTION: Of the various modern Linux distributions, which do you > > prefer? and why? > > Actually, I'm not a Linux user. But Linux was my first step into > using UNIX on a x86 PC. More than 10 years ago, I started with > Slackware Linux, and with the rise of FreeBSD 4.0, I did abandon > it. I was wondering if there were any other Slackers out there! I've still got my first Linux distribution, and possibly my first FreeBSD release too: I bought the Walnut Creek 4-CD box of Slackware 3.6 in a little shop in the West End of London, and a couple of years later, the boxed set of FreeBSD 4.5 from either the Linux Emporium or CheapBytes (can't remember which). Jonathan From nico-freebsd-raid-monitoring-20090703 at schottelius.org Thu Jul 2 07:32:17 2009 From: nico-freebsd-raid-monitoring-20090703 at schottelius.org (Nico Schottelius) Date: Thu Jul 2 07:32:25 2009 Subject: FreeBSD Raid Monitoring website moved Message-ID: <20090702071032.GA18288@ikn.schottelius.org> Good morning everybody, the FreeBSD raid monitoring website, which contains a lot information regarding raid monitoring under FreeBSD, has a new home: http://www.nico.schottelius.org/docs/freebsd-raid-monitoring/ If you've additional information or updates, please let me know at nico-freebsd-raid-monitoring-web --at-- schottelius.org. Sincerly, Nico -- Currently moving *.schottelius.org to http://www.nico.schottelius.org/ ... PGP: BFE4 C736 ABE5 406F 8F42 F7CF B8BE F92A 9885 188C -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 197 bytes Desc: Digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090702/4c6ef725/attachment.pgp From onemda at gmail.com Thu Jul 2 10:04:05 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Thu Jul 2 10:04:11 2009 Subject: Wireless NICs on 7.2 In-Reply-To: <3d5d3ca90907011845g26124a59y9643ef4623610f6@mail.gmail.com> References: <3d5d3ca90907011048t1a096865iceaa3b82c1af82f4@mail.gmail.com> <3a142e750907011055r3750fd54rb66612a4b110e090@mail.gmail.com> <3d5d3ca90907011120h35b5e665gee30466ce72097e7@mail.gmail.com> <3a142e750907011526ka68c664s3606fdc9b4ad2889@mail.gmail.com> <3d5d3ca90907011845g26124a59y9643ef4623610f6@mail.gmail.com> Message-ID: <3a142e750907020304tcb3296fy574dfc4b0fd7d875@mail.gmail.com> On 7/2/09, Robert Hall wrote: >> And what about TX/RX signal? > > I don't know where to look for that. :) It is part of scan output. >> Could you put backtrace somewhere? >> http://www.freebsd.org/doc/en/books/developers-handbook/kerneldebug-gdb.html > > Backtrace from crashing with a Belkin ndis: > (kgdb) backtrace > #0 doadump () at pcpu.h:196 > #1 0xc055bcc3 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 > #2 0xc055bece in panic (fmt=Variable "fmt" is not available. > ) at /usr/src/sys/kern/kern_shutdown.c:574 > #3 0xc079041c in trap_fatal (frame=0xd5f9571c, eva=0) at > /usr/src/sys/i386/i386/trap.c:939 > #4 0xc0790680 in trap_pfault (frame=0xd5f9571c, usermode=0, eva=0) at > /usr/src/sys/i386/i386/trap.c:852 > #5 0xc0790fd9 in trap (frame=0xd5f9571c) at > /usr/src/sys/i386/i386/trap.c:530 > #6 0xc077dbbb in calltrap () at /usr/src/sys/i386/i386/exception.s:159 > #7 0xc32b5239 in BLKWGDv7_sys_drv_data_start () from > /boot/modules/BLKWGDv7_sys.ko > Previous frame inner to this frame (corrupt stack?) > > And from a Linksys crash > (kgdb) backtrace > #0 doadump () at pcpu.h:196 > #1 0xc055bcc3 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:418 > #2 0xc055bece in panic (fmt=Variable "fmt" is not available. > ) at /usr/src/sys/kern/kern_shutdown.c:574 > #3 0xc079041c in trap_fatal (frame=0xd600cb98, eva=382216) at > /usr/src/sys/i386/i386/trap.c:939 > #4 0xc0790680 in trap_pfault (frame=0xd600cb98, usermode=0, > eva=382216) at /usr/src/sys/i386/i386/trap.c:852 > #5 0xc0790fd9 in trap (frame=0xd600cb98) at > /usr/src/sys/i386/i386/trap.c:530 > #6 0xc077dbbb in calltrap () at /usr/src/sys/i386/i386/exception.s:159 > #7 0xc329dde6 in rt61_sys_drv_data_start () from > /boot/modules/./rt61_sys.ko > Previous frame inner to this frame (corrupt stack?) > > I hope this is what you were asking for. :) > Does crash happens if you load them after boot? -- Paul From artifexor at gmail.com Thu Jul 2 10:15:26 2009 From: artifexor at gmail.com (Artifex Maximus) Date: Thu Jul 2 10:15:33 2009 Subject: POLL: Linux preferences from FreeBSD users In-Reply-To: References: Message-ID: <9cbf3f070907020247i5a6fefeco736034bd84d0ee67@mail.gmail.com> Hello! On Thu, Jul 2, 2009 at 12:58 AM, Daniel Underwood wrote: > QUESTION: Of the various modern Linux distributions, which do you > prefer? and why? I used to like Slackware but moved to Ubuntu two or three years before. I liked Slackware simplicity but its package system was too simple and then I moved to FreeBSD. Some years before I had found Ubuntu and stayed there for Linux boxes. Some people prefer Debian over Ubuntu but I dislike Debian approach on packages (namely patch the older version as long as you can instead of switch to a newer one). Bye, a From onemda at gmail.com Thu Jul 2 10:16:51 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Thu Jul 2 10:17:01 2009 Subject: X fails to start In-Reply-To: References: Message-ID: <3a142e750907020316o34095c68ua5581b201f206b28@mail.gmail.com> On 7/2/09, Da Rock wrote: > > I'm still having intermittent troubles with getting the freebsd servers > seeing my mail servers for my normal maillist subscription, so if I could be > cc'd... > > I'm struggling to get my head around a reasonably severe problem with Xorg - > I'm wondering if anyone else is having the same. I've installed Xorg, got it > working, started to refine some settings with the wm and other apps for it, > and then Xorg refuses to work. > > My xorg log has only a couple of errors, for reference I'm using the i915 ko > with drm: > > startx: > X.Org X Server 1.6.1 > Release Date: 2009-4-14 > X Protocol Version 11, Revision 0 > Build Operating System: FreeBSD 7.2-RELEASE-p1 i386 > ... > (EE) [drm] Could not set DRM device bus ID. > (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI. > Setting master > MIT-SHM extension disabled due to lack of kernel support > > Xorg.0.log: > ... > drmGetBusid returned '' > (II) [drm] DRM interface version 1.0 > (EE) [drm] Could not set DRM device bus ID. > (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI > ... > (WW) intel(0): drmDropMaster failed: Unknown error: -1 > ... > (WW) intel(0): PRB0_CTL (0x0001f001) indicates ring buffer enabled > (WW) intel(0): Existing errors found in hardware state. > ... > MIT-SHM extension disabled due to lack of kernel support > ... > (WW) intel(0): drmDropMaster failed: Unknown error: -1 > > Because of my communications issues I've been trying to resolve this myself- > with no luck. I've been trying to get some more info on this, and it seems > to be a huge bug on a lot of linux distros, but noone has a clear response- > it all seems to be a secondary issue to whatever their problem is. SO, I > then tried to find out how to debug, and ran into ANOTHER issue. I've > rebuilt xorg-server with debug (ccflags='-O0 -g3' as per xorg wiki) with no > real success, so then I moved to dri and hit this wall: > > ../../../src/mesa/main/dispatch.o(.text+0xbb90):../../../src/mesa/glapi/glapitemp.h:4951: > first defined here > ../../../src/mesa/x86/glapi_x86.o(.text+0x4130): In function > `glPointParameteri': > ../../../src/mesa/x86/glapi_x86.S:1270: multiple definition of > `glPointParameteri' > ../../../src/mesa/main/dispatch.o(.text+0xc8e0):../../../src/mesa/glapi/glapitemp.h:5256: > first defined here > ../../../src/mesa/x86/glapi_x86.o(.text+0x4140): In function > `glPointParameteriv': > ../../../src/mesa/x86/glapi_x86.S:1271: multiple definition of > `glPointParameteriv' > ../../../src/mesa/main/dispatch.o(.text+0xc940):../../../src/mesa/glapi/glapitemp.h:5266: > first defined here > mklib: Installing libGL.so.1 libGL.so in ../../../lib > mv: rename libGL.so.1 to ../../../lib/libGL.so.1: No such file or directory > gmake[2]: *** [../../../lib/libGL.so] Error 1 > gmake[2]: Leaving directory > `/usr/ports/graphics/dri/work/Mesa-7.4.4/src/glx/x11' > gmake[1]: *** [subdirs] Error 1 > gmake[1]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.4.4/src' > gmake: *** [default] Error 1 > *** Error code 1 > > Stop in /usr/ports/graphics/dri. > > The various warnings are in the gallon, but my main problem lay with the > mklib error. So I tried to simply copy or rename libGL.so(.1) to make it > happy (I couldn't find references in the Makefile(s) after half an hour of > examination, so I took a little shortcut). It did, but then the gallon of > warnings came back to hit me again- but harder, and so I get another stop in > the build. > > So now I can't get dri back, I can't get X working and I'm losing my > patience fast! :) > > What I can't figure out is what started all this in the first place, because > it was working. Unfortunately I was in the midst of several things happening > at once, so I can't remember if I rebuilt the kernel, upgraded xorg or both > before X failed. As far as I can tell that is only secondary at any rate, as > I need to prevent this happening again during upgrades/updates whatever. > > My main questions here are: > > 1. How do debug Xorg? The debug flags haven't provided much at all so far > (maybe I've done it wrong?) You can still use xf86-video-vesa even without dri. Debug flags are useful only if Xorg crashed and dropped core. > 2. Why can I get the busid failure and Xorg keep going? How do I force it? > Where is this problem lying (kmod, driver, server)? Is it critical? What kernel modules are loaded? What version of server, Mesa, drivers are installed and how are they installed? > 3. Is the MIT-SHM error the cause of my problems? (Or a contributor) You are using custom kernel without sysv* modules. Not a good idea for X. > 4. What do I need to do about the Mesa library? Is this related to the core > issue? Is this a known bug in the port build? Your environment is highly polluted. > I've considered manually debugging the drmGetBusID failure, but I don't > exactly relish the idea of going through that much code. I could easily > follow the procedures in the wiki, but I'd rather go through ports. > > I've also just completely removed xorg and started again with the cflags, > but it has failed again at the dri port. > > I hope someone help here... :/ -- Paul From rock_on_the_web at hotmail.com Thu Jul 2 11:13:33 2009 From: rock_on_the_web at hotmail.com (Da Rock) Date: Thu Jul 2 11:13:42 2009 Subject: X fails to start In-Reply-To: <3a142e750907020316o34095c68ua5581b201f206b28@mail.gmail.com> References: <3a142e750907020316o34095c68ua5581b201f206b28@mail.gmail.com> Message-ID: > Date: Thu, 2 Jul 2009 12:16:49 +0200 > Subject: Re: X fails to start > From: onemda@gmail.com > To: rock_on_the_web@hotmail.com > CC: freebsd-questions@freebsd.org > > On 7/2/09, Da Rock wrote: > > > > I'm still having intermittent troubles with getting the freebsd servers > > seeing my mail servers for my normal maillist subscription, so if I could be > > cc'd... > > > > I'm struggling to get my head around a reasonably severe problem with Xorg - > > I'm wondering if anyone else is having the same. I've installed Xorg, got it > > working, started to refine some settings with the wm and other apps for it, > > and then Xorg refuses to work. > > > > My xorg log has only a couple of errors, for reference I'm using the i915 ko > > with drm: > > > > startx: > > X.Org X Server 1.6.1 > > Release Date: 2009-4-14 > > X Protocol Version 11, Revision 0 > > Build Operating System: FreeBSD 7.2-RELEASE-p1 i386 > > ... > > (EE) [drm] Could not set DRM device bus ID. > > (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI. > > Setting master > > MIT-SHM extension disabled due to lack of kernel support > > > > Xorg.0.log: > > ... > > drmGetBusid returned '' > > (II) [drm] DRM interface version 1.0 > > (EE) [drm] Could not set DRM device bus ID. > > (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI > > ... > > (WW) intel(0): drmDropMaster failed: Unknown error: -1 > > ... > > (WW) intel(0): PRB0_CTL (0x0001f001) indicates ring buffer enabled > > (WW) intel(0): Existing errors found in hardware state. > > ... > > MIT-SHM extension disabled due to lack of kernel support > > ... > > (WW) intel(0): drmDropMaster failed: Unknown error: -1 > > > > Because of my communications issues I've been trying to resolve this myself- > > with no luck. I've been trying to get some more info on this, and it seems > > to be a huge bug on a lot of linux distros, but noone has a clear response- > > it all seems to be a secondary issue to whatever their problem is. SO, I > > then tried to find out how to debug, and ran into ANOTHER issue. I've > > rebuilt xorg-server with debug (ccflags='-O0 -g3' as per xorg wiki) with no > > real success, so then I moved to dri and hit this wall: > > > > ../../../src/mesa/main/dispatch.o(.text+0xbb90):../../../src/mesa/glapi/glapitemp.h:4951: > > first defined here > > ../../../src/mesa/x86/glapi_x86.o(.text+0x4130): In function > > `glPointParameteri': > > ../../../src/mesa/x86/glapi_x86.S:1270: multiple definition of > > `glPointParameteri' > > ../../../src/mesa/main/dispatch.o(.text+0xc8e0):../../../src/mesa/glapi/glapitemp.h:5256: > > first defined here > > ../../../src/mesa/x86/glapi_x86.o(.text+0x4140): In function > > `glPointParameteriv': > > ../../../src/mesa/x86/glapi_x86.S:1271: multiple definition of > > `glPointParameteriv' > > ../../../src/mesa/main/dispatch.o(.text+0xc940):../../../src/mesa/glapi/glapitemp.h:5266: > > first defined here > > mklib: Installing libGL.so.1 libGL.so in ../../../lib > > mv: rename libGL.so.1 to ../../../lib/libGL.so.1: No such file or directory > > gmake[2]: *** [../../../lib/libGL.so] Error 1 > > gmake[2]: Leaving directory > > `/usr/ports/graphics/dri/work/Mesa-7.4.4/src/glx/x11' > > gmake[1]: *** [subdirs] Error 1 > > gmake[1]: Leaving directory `/usr/ports/graphics/dri/work/Mesa-7.4.4/src' > > gmake: *** [default] Error 1 > > *** Error code 1 > > > > Stop in /usr/ports/graphics/dri. > > > > The various warnings are in the gallon, but my main problem lay with the > > mklib error. So I tried to simply copy or rename libGL.so(.1) to make it > > happy (I couldn't find references in the Makefile(s) after half an hour of > > examination, so I took a little shortcut). It did, but then the gallon of > > warnings came back to hit me again- but harder, and so I get another stop in > > the build. > > > > So now I can't get dri back, I can't get X working and I'm losing my > > patience fast! :) > > > > What I can't figure out is what started all this in the first place, because > > it was working. Unfortunately I was in the midst of several things happening > > at once, so I can't remember if I rebuilt the kernel, upgraded xorg or both > > before X failed. As far as I can tell that is only secondary at any rate, as > > I need to prevent this happening again during upgrades/updates whatever. > > > > My main questions here are: > > > > 1. How do debug Xorg? The debug flags haven't provided much at all so far > > (maybe I've done it wrong?) > > You can still use xf86-video-vesa even without dri. > Debug flags are useful only if Xorg crashed and dropped core. > Nuts! :( > > 2. Why can I get the busid failure and Xorg keep going? How do I force it? > > Where is this problem lying (kmod, driver, server)? Is it critical? > > What kernel modules are loaded? What version of server, Mesa, drivers > are installed > and how are they installed? > KMods: i915.ko drm.ko Xorg Server: 1.6.1 (in the Xorg log) Mesa (not entirely sure now, was current I believe though- I'll have to wait and see once I can build again...) Drivers: (installed or used?) used intel- xorg ports. Incidentally vesa is available, and is failover in the conf, but it doesn't get there. Its also installed via ports. > > 3. Is the MIT-SHM error the cause of my problems? (Or a contributor) > > You are using custom kernel without sysv* modules. Not a good idea for X. > Interesting. Isn't this standard in GENERIC? I have built a kernel, but only GENERIC, which I would have thought had the standard kit in it that comes with a distro on disk. > > 4. What do I need to do about the Mesa library? Is this related to the core > > issue? Is this a known bug in the port build? > > Your environment is highly polluted. > eh? I could use some explanation on this, especially considering my last remedy used in this communication. As per my last comment in the OP, I've run portsclean -C and then removed all ports (something I have the luxury of doing being a new system install), and started again- with the same result. What exactly do I have to clean up to remove the pollution? (This is no reflection on your comment, I'm merely at a loss to know what could be getting in the way here given my situation) > > I've considered manually debugging the drmGetBusID failure, but I don't > > exactly relish the idea of going through that much code. I could easily > > follow the procedures in the wiki, but I'd rather go through ports. > > > > I've also just completely removed xorg and started again with the cflags, > > but it has failed again at the dri port. > > > > I hope someone can help here... :/ > > > -- > Paul _________________________________________________________________ Looking for a place to rent, share or buy this winter? Find your next place with Ninemsn?property http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Edomain%2Ecom%2Eau%2F%3Fs%5Fcid%3DFDMedia%3ANineMSN%5FHotmail%5FTagline&_t=774152450&_r=Domain_tagline&_m=EXT From onemda at gmail.com Thu Jul 2 11:54:24 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Thu Jul 2 11:54:32 2009 Subject: X fails to start In-Reply-To: References: <3a142e750907020316o34095c68ua5581b201f206b28@mail.gmail.com> Message-ID: <3a142e750907020454w73d6cb01v8eba8893a66b2533@mail.gmail.com> On 7/2/09, Da Rock wrote: >> Date: Thu, 2 Jul 2009 12:16:49 +0200 >> Subject: Re: X fails to start >> From: onemda@gmail.com >> To: rock_on_the_web@hotmail.com >> CC: freebsd-questions@freebsd.org >> >> On 7/2/09, Da Rock wrote: >> > >> > I'm still having intermittent troubles with getting the freebsd servers >> > seeing my mail servers for my normal maillist subscription, so if I >> > could be >> > cc'd... >> > >> > I'm struggling to get my head around a reasonably severe problem with >> > Xorg - >> > I'm wondering if anyone else is having the same. I've installed Xorg, >> > got it >> > working, started to refine some settings with the wm and other apps for >> > it, >> > and then Xorg refuses to work. >> > >> > My xorg log has only a couple of errors, for reference I'm using the >> > i915 ko >> > with drm: >> > >> > startx: >> > X.Org X Server 1.6.1 >> > Release Date: 2009-4-14 >> > X Protocol Version 11, Revision 0 >> > Build Operating System: FreeBSD 7.2-RELEASE-p1 i386 >> > ... >> > (EE) [drm] Could not set DRM device bus ID. >> > (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI. >> > Setting master >> > MIT-SHM extension disabled due to lack of kernel support >> > >> > Xorg.0.log: >> > ... >> > drmGetBusid returned '' >> > (II) [drm] DRM interface version 1.0 >> > (EE) [drm] Could not set DRM device bus ID. >> > (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI >> > ... >> > (WW) intel(0): drmDropMaster failed: Unknown error: -1 >> > ... >> > (WW) intel(0): PRB0_CTL (0x0001f001) indicates ring buffer enabled >> > (WW) intel(0): Existing errors found in hardware state. >> > ... >> > MIT-SHM extension disabled due to lack of kernel support >> > ... >> > (WW) intel(0): drmDropMaster failed: Unknown error: -1 >> > >> > Because of my communications issues I've been trying to resolve this >> > myself- >> > with no luck. I've been trying to get some more info on this, and it >> > seems >> > to be a huge bug on a lot of linux distros, but noone has a clear >> > response- >> > it all seems to be a secondary issue to whatever their problem is. SO, I >> > then tried to find out how to debug, and ran into ANOTHER issue. I've >> > rebuilt xorg-server with debug (ccflags='-O0 -g3' as per xorg wiki) with >> > no >> > real success, so then I moved to dri and hit this wall: >> > >> > ../../../src/mesa/main/dispatch.o(.text+0xbb90):../../../src/mesa/glapi/glapitemp.h:4951: >> > first defined here >> > ../../../src/mesa/x86/glapi_x86.o(.text+0x4130): In function >> > `glPointParameteri': >> > ../../../src/mesa/x86/glapi_x86.S:1270: multiple definition of >> > `glPointParameteri' >> > ../../../src/mesa/main/dispatch.o(.text+0xc8e0):../../../src/mesa/glapi/glapitemp.h:5256: >> > first defined here >> > ../../../src/mesa/x86/glapi_x86.o(.text+0x4140): In function >> > `glPointParameteriv': >> > ../../../src/mesa/x86/glapi_x86.S:1271: multiple definition of >> > `glPointParameteriv' >> > ../../../src/mesa/main/dispatch.o(.text+0xc940):../../../src/mesa/glapi/glapitemp.h:5266: >> > first defined here >> > mklib: Installing libGL.so.1 libGL.so in ../../../lib >> > mv: rename libGL.so.1 to ../../../lib/libGL.so.1: No such file or >> > directory >> > gmake[2]: *** [../../../lib/libGL.so] Error 1 >> > gmake[2]: Leaving directory >> > `/usr/ports/graphics/dri/work/Mesa-7.4.4/src/glx/x11' >> > gmake[1]: *** [subdirs] Error 1 >> > gmake[1]: Leaving directory >> > `/usr/ports/graphics/dri/work/Mesa-7.4.4/src' >> > gmake: *** [default] Error 1 >> > *** Error code 1 >> > >> > Stop in /usr/ports/graphics/dri. >> > >> > The various warnings are in the gallon, but my main problem lay with the >> > mklib error. So I tried to simply copy or rename libGL.so(.1) to make it >> > happy (I couldn't find references in the Makefile(s) after half an hour >> > of >> > examination, so I took a little shortcut). It did, but then the gallon >> > of >> > warnings came back to hit me again- but harder, and so I get another >> > stop in >> > the build. >> > >> > So now I can't get dri back, I can't get X working and I'm losing my >> > patience fast! :) >> > >> > What I can't figure out is what started all this in the first place, >> > because >> > it was working. Unfortunately I was in the midst of several things >> > happening >> > at once, so I can't remember if I rebuilt the kernel, upgraded xorg or >> > both >> > before X failed. As far as I can tell that is only secondary at any >> > rate, as >> > I need to prevent this happening again during upgrades/updates whatever. >> > >> > My main questions here are: >> > >> > 1. How do debug Xorg? The debug flags haven't provided much at all so >> > far >> > (maybe I've done it wrong?) >> >> You can still use xf86-video-vesa even without dri. >> Debug flags are useful only if Xorg crashed and dropped core. >> > > Nuts! :( > >> > 2. Why can I get the busid failure and Xorg keep going? How do I force >> > it? >> > Where is this problem lying (kmod, driver, server)? Is it critical? >> >> What kernel modules are loaded? What version of server, Mesa, drivers >> are installed >> and how are they installed? >> > > KMods: > i915.ko > drm.ko > > Xorg Server: 1.6.1 (in the Xorg log) > Mesa (not entirely sure now, was current I believe though- I'll have to wait > and see once I can build again...) > Drivers: (installed or used?) used intel- xorg ports. Incidentally vesa is > available, and is failover in the conf, but it doesn't get there. Its also > installed via ports. You can use vesa if you specify alternative or modify default server layout. But anyway without xorg.conf I can't comment on this. >> > 3. Is the MIT-SHM error the cause of my problems? (Or a contributor) >> >> You are using custom kernel without sysv* modules. Not a good idea for X. >> > > Interesting. Isn't this standard in GENERIC? I have built a kernel, but only > GENERIC, which I would have thought had the standard kit in it that comes > with a distro on disk. Than it is not problem, probably some Xorg way to report errors. >> > 4. What do I need to do about the Mesa library? Is this related to the >> > core >> > issue? Is this a known bug in the port build? >> >> Your environment is highly polluted. >> > > eh? I could use some explanation on this, especially considering my last > remedy used in this communication. As per my last comment in the OP, I've > run portsclean -C and then removed all ports (something I have the luxury of > doing being a new system install), and started again- with the same result. > What exactly do I have to clean up to remove the pollution? (This is no > reflection on your comment, I'm merely at a loss to know what could be > getting in the way here given my situation) Perhaps you forgot to run "make clean"? Just remove whole /usr/local,/usr/ports,/var/db/pkg and update ports tree. Yes, this is very radical approach but I don't know any better way. >> > I've considered manually debugging the drmGetBusID failure, but I don't >> > exactly relish the idea of going through that much code. I could easily >> > follow the procedures in the wiki, but I'd rather go through ports. >> > >> > I've also just completely removed xorg and started again with the >> > cflags, >> > but it has failed again at the dri port. >> > >> > I hope someone can help here... :/ -- Paul From cameron7 at gmail.com Thu Jul 2 12:07:16 2009 From: cameron7 at gmail.com (Cameron Jacobson) Date: Thu Jul 2 12:07:33 2009 Subject: ssl acceleration cards Message-ID: <17b5b2ed0907020507n5a0643c5m2fd4f4bc4e9e255d@mail.gmail.com> Just wondering if anyone knows whether any ssl acceleration cards on the market support the asynchronous or public-key algorithms? Though I've tested cards I know have public key functionality, the driver FreeBSD uses never seems to support the public key algorithms, only improves processing speed on private key functionality. Ultimately my goal here is to speed up HTTPS on my server. Thanks, Cameron From djuatdelta at gmail.com Thu Jul 2 12:15:34 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Thu Jul 2 12:15:40 2009 Subject: boot0 / LILO / GRUB: dual boot FreeBSD and Linux In-Reply-To: <560f92640907011752h784aab0l2e02c3c28b458685@mail.gmail.com> References: <560f92640907011752h784aab0l2e02c3c28b458685@mail.gmail.com> Message-ID: Thanks, this is great! From rock_on_the_web at hotmail.com Thu Jul 2 12:18:28 2009 From: rock_on_the_web at hotmail.com (Da Rock) Date: Thu Jul 2 12:18:36 2009 Subject: X fails to start In-Reply-To: <3a142e750907020454w73d6cb01v8eba8893a66b2533@mail.gmail.com> References: <3a142e750907020316o34095c68ua5581b201f206b28@mail.gmail.com> <3a142e750907020454w73d6cb01v8eba8893a66b2533@mail.gmail.com> Message-ID: > Date: Thu, 2 Jul 2009 13:54:22 +0200 > Subject: Re: X fails to start > From: onemda@gmail.com > To: rock_on_the_web@hotmail.com > CC: freebsd-questions@freebsd.org > > On 7/2/09, Da Rock wrote: > >> Date: Thu, 2 Jul 2009 12:16:49 +0200 > >> Subject: Re: X fails to start > >> From: onemda@gmail.com > >> To: rock_on_the_web@hotmail.com > >> CC: freebsd-questions@freebsd.org > >> > >> On 7/2/09, Da Rock wrote: > >> > > >> > I'm still having intermittent troubles with getting the freebsd servers > >> > seeing my mail servers for my normal maillist subscription, so if I > >> > could be > >> > cc'd... > >> > > >> > I'm struggling to get my head around a reasonably severe problem with > >> > Xorg - > >> > I'm wondering if anyone else is having the same. I've installed Xorg, > >> > got it > >> > working, started to refine some settings with the wm and other apps for > >> > it, > >> > and then Xorg refuses to work. > >> > > >> > My xorg log has only a couple of errors, for reference I'm using the > >> > i915 ko > >> > with drm: > >> > > >> > startx: > >> > X.Org X Server 1.6.1 > >> > Release Date: 2009-4-14 > >> > X Protocol Version 11, Revision 0 > >> > Build Operating System: FreeBSD 7.2-RELEASE-p1 i386 > >> > ... > >> > (EE) [drm] Could not set DRM device bus ID. > >> > (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI. > >> > Setting master > >> > MIT-SHM extension disabled due to lack of kernel support > >> > > >> > Xorg.0.log: > >> > ... > >> > drmGetBusid returned '' > >> > (II) [drm] DRM interface version 1.0 > >> > (EE) [drm] Could not set DRM device bus ID. > >> > (EE) intel(0): [dri] DRIScreenInit failed. Disabling DRI > >> > ... > >> > (WW) intel(0): drmDropMaster failed: Unknown error: -1 > >> > ... > >> > (WW) intel(0): PRB0_CTL (0x0001f001) indicates ring buffer enabled > >> > (WW) intel(0): Existing errors found in hardware state. > >> > ... > >> > MIT-SHM extension disabled due to lack of kernel support > >> > ... > >> > (WW) intel(0): drmDropMaster failed: Unknown error: -1 > >> > > >> > Because of my communications issues I've been trying to resolve this > >> > myself- > >> > with no luck. I've been trying to get some more info on this, and it > >> > seems > >> > to be a huge bug on a lot of linux distros, but noone has a clear > >> > response- > >> > it all seems to be a secondary issue to whatever their problem is. SO, I > >> > then tried to find out how to debug, and ran into ANOTHER issue. I've > >> > rebuilt xorg-server with debug (ccflags='-O0 -g3' as per xorg wiki) with > >> > no > >> > real success, so then I moved to dri and hit this wall: > >> > > >> > ../../../src/mesa/main/dispatch.o(.text+0xbb90):../../../src/mesa/glapi/glapitemp.h:4951: > >> > first defined here > >> > ../../../src/mesa/x86/glapi_x86.o(.text+0x4130): In function > >> > `glPointParameteri': > >> > ../../../src/mesa/x86/glapi_x86.S:1270: multiple definition of > >> > `glPointParameteri' > >> > ../../../src/mesa/main/dispatch.o(.text+0xc8e0):../../../src/mesa/glapi/glapitemp.h:5256: > >> > first defined here > >> > ../../../src/mesa/x86/glapi_x86.o(.text+0x4140): In function > >> > `glPointParameteriv': > >> > ../../../src/mesa/x86/glapi_x86.S:1271: multiple definition of > >> > `glPointParameteriv' > >> > ../../../src/mesa/main/dispatch.o(.text+0xc940):../../../src/mesa/glapi/glapitemp.h:5266: > >> > first defined here > >> > mklib: Installing libGL.so.1 libGL.so in ../../../lib > >> > mv: rename libGL.so.1 to ../../../lib/libGL.so.1: No such file or > >> > directory > >> > gmake[2]: *** [../../../lib/libGL.so] Error 1 > >> > gmake[2]: Leaving directory > >> > `/usr/ports/graphics/dri/work/Mesa-7.4.4/src/glx/x11' > >> > gmake[1]: *** [subdirs] Error 1 > >> > gmake[1]: Leaving directory > >> > `/usr/ports/graphics/dri/work/Mesa-7.4.4/src' > >> > gmake: *** [default] Error 1 > >> > *** Error code 1 > >> > > >> > Stop in /usr/ports/graphics/dri. > >> > > >> > The various warnings are in the gallon, but my main problem lay with the > >> > mklib error. So I tried to simply copy or rename libGL.so(.1) to make it > >> > happy (I couldn't find references in the Makefile(s) after half an hour > >> > of > >> > examination, so I took a little shortcut). It did, but then the gallon > >> > of > >> > warnings came back to hit me again- but harder, and so I get another > >> > stop in > >> > the build. > >> > > >> > So now I can't get dri back, I can't get X working and I'm losing my > >> > patience fast! :) > >> > > >> > What I can't figure out is what started all this in the first place, > >> > because > >> > it was working. Unfortunately I was in the midst of several things > >> > happening > >> > at once, so I can't remember if I rebuilt the kernel, upgraded xorg or > >> > both > >> > before X failed. As far as I can tell that is only secondary at any > >> > rate, as > >> > I need to prevent this happening again during upgrades/updates whatever. > >> > > >> > My main questions here are: > >> > > >> > 1. How do debug Xorg? The debug flags haven't provided much at all so > >> > far > >> > (maybe I've done it wrong?) > >> > >> You can still use xf86-video-vesa even without dri. > >> Debug flags are useful only if Xorg crashed and dropped core. > >> > > > > Nuts! :( > > > >> > 2. Why can I get the busid failure and Xorg keep going? How do I force > >> > it? > >> > Where is this problem lying (kmod, driver, server)? Is it critical? > >> > >> What kernel modules are loaded? What version of server, Mesa, drivers > >> are installed > >> and how are they installed? > >> > > > > KMods: > > i915.ko > > drm.ko > > > > Xorg Server: 1.6.1 (in the Xorg log) > > Mesa (not entirely sure now, was current I believe though- I'll have to wait > > and see once I can build again...) > > Drivers: (installed or used?) used intel- xorg ports. Incidentally vesa is > > available, and is failover in the conf, but it doesn't get there. Its also > > installed via ports. > > You can use vesa if you specify alternative or modify default server layout. > But anyway without xorg.conf I can't comment on this. > > >> > 3. Is the MIT-SHM error the cause of my problems? (Or a contributor) > >> > >> You are using custom kernel without sysv* modules. Not a good idea for X. > >> > > > > Interesting. Isn't this standard in GENERIC? I have built a kernel, but only > > GENERIC, which I would have thought had the standard kit in it that comes > > with a distro on disk. > > Than it is not problem, probably some Xorg way to report errors. > > >> > 4. What do I need to do about the Mesa library? Is this related to the > >> > core > >> > issue? Is this a known bug in the port build? > >> > >> Your environment is highly polluted. > >> > > > > eh? I could use some explanation on this, especially considering my last > > remedy used in this communication. As per my last comment in the OP, I've > > run portsclean -C and then removed all ports (something I have the luxury of > > doing being a new system install), and started again- with the same result. > > What exactly do I have to clean up to remove the pollution? (This is no > > reflection on your comment, I'm merely at a loss to know what could be > > getting in the way here given my situation) > > Perhaps you forgot to run "make clean"? > Just remove whole /usr/local,/usr/ports,/var/db/pkg and update ports tree. > Yes, this is very radical approach but I don't know any better way. > And I thought I was radical! I didn't want to sound ruthless, but I ran pkg_delete -f \* which I believe achieves the same result (and from what I understand so does portsclean -C - only available if you have installed portupgrade as I found out once) and thats how I cleaned my system to start again. For anyone else watching, be very careful if and when you do this- don't reboot or something until you have a grasp of what you have done! :) In my circumstances its impossible to actually blow away the ports system, but I can kill the pkg db - I'm just not entirely sure why. Ports is up to date - ran portsnap twice jic. My only other alternative is to blow away usr/local- in case that may be getting in the way (I don't know exactly how, but I AM getting desperate!). Before I do that I might run make clean in the ports (jic portsclean isn't doing its job properly), and blow away the ports db (hence the options saved). I still don't hold much hope. As for the pollution factor, I'm not sure. This has to be one of the cleanest systems I've setup yet- I'm starting small and building up from there, but I haven't even reached the first landing yet! I've had a lot worse- in fact the system itself is a complete rebuild from the major f***kup I committed before- don't ask what I was thinking, but I did blow away the db dir for pkg AND ports, so updates were impossible, and I didn't even know (or the system) what was actually installed (thank god it was only a desktop!). Definitely a blonde moment... and I'm not even blonde (or female)! Must have been a long day or a late night... :) > >> > I've considered manually debugging the drmGetBusID failure, but I don't > >> > exactly relish the idea of going through that much code. I could easily > >> > follow the procedures in the wiki, but I'd rather go through ports. > >> > > >> > I've also just completely removed xorg and started again with the > >> > cflags, > >> > but it has failed again at the dri port. > >> > > >> > I hope someone can help here... :/ > > -- > Paul _________________________________________________________________ Looking for a place to rent, share or buy this winter? Find your next place with Ninemsn?property http://a.ninemsn.com.au/b.aspx?URL=http%3A%2F%2Fninemsn%2Edomain%2Ecom%2Eau%2F%3Fs%5Fcid%3DFDMedia%3ANineMSN%5FHotmail%5FTagline&_t=774152450&_r=Domain_tagline&_m=EXT From djuatdelta at gmail.com Thu Jul 2 12:27:33 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Thu Jul 2 12:27:39 2009 Subject: POLL: Linux preferences from FreeBSD users In-Reply-To: <20090702072125.6a3e513d.freebsd@edvax.de> References: <20090702072125.6a3e513d.freebsd@edvax.de> Message-ID: >> I'm very interested to see the spread of opinion about Linux >> distributions from FreeBSD fans. > > Why? Good question. Because of the perspective many FreeBSD fans (people who like and use FreeBSD) have toward *NIX OS's. You said it well: > "Modern" Linux distributions don't appeal very much to me, because > they are messy: Missing manpages, partially ununderstandable file > system hierarchy layout, untidy source code. These are things, I'm guessing, that the casual Linux user may not appreciate. Someone who has a great deal of experience with both FreeBSD and various Linux distributions, however, probably would appreciate these things. If I were to poll a sample of individuals who only have experience with, say, Windows and Linux, then the responses would likely represent opinions formed upon a wholly different set of criteria. From mexas at bristol.ac.uk Thu Jul 2 08:37:19 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Thu Jul 2 13:07:05 2009 Subject: gmirror per partition. Was: Re: gmirror gm0 destroyed on shutdown; GPT corrupt In-Reply-To: References: <20090625110253.GA31443@mech-cluster238.men.bris.ac.uk> <10FCC74D-6D46-4112-AD89-BBB4C5933957@mac.com> <20090701105649.GA62596@mech-cluster238.men.bris.ac.uk> Message-ID: <20090702083709.GA66827@mech-cluster238.men.bris.ac.uk> On Wed, Jul 01, 2009 at 10:00:54PM +0200, Wojciech Puchar wrote: > >> It's better to use gmirror per partition. > > > > Like this? > > > > # gmirror label -vb round-robin root /dev/da0p2 > > gmirror: Can't store metadata on /dev/da0p2: Operation not permitted. > isn't that partition accessed by other process or mounted? should it not be mounted? Sorry, I was just following the handbook, but I now understand it is incorrect when it comes to ia64. many thanks anton > _______________________________________________ > 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" -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From deepak.katagade at gmail.com Thu Jul 2 10:53:55 2009 From: deepak.katagade at gmail.com (Deepak Madhusudan) Date: Thu Jul 2 13:15:17 2009 Subject: How to get SystemMemorySize? Message-ID: <6f0f8ee70907020327s4588952eq7281050554a41ac5@mail.gmail.com> Hi All, In linux driver in order to get the system memory size we can get it using the following call. struct sysinfo si; si_meminfo(&si); return (si.tatotalram); Is there any similar call in freebsd to get the following information.Currently i am using freebsd 6.3.Please let me know. Thanks and regards, Deepak From wojtek at wojtek.tensor.gdynia.pl Thu Jul 2 14:02:32 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jul 2 14:02:39 2009 Subject: gmirror per partition. Was: Re: gmirror gm0 destroyed on shutdown; GPT corrupt In-Reply-To: <20090702083709.GA66827@mech-cluster238.men.bris.ac.uk> References: <20090625110253.GA31443@mech-cluster238.men.bris.ac.uk> <10FCC74D-6D46-4112-AD89-BBB4C5933957@mac.com> <20090701105649.GA62596@mech-cluster238.men.bris.ac.uk> <20090702083709.GA66827@mech-cluster238.men.bris.ac.uk> Message-ID: >>> >>> # gmirror label -vb round-robin root /dev/da0p2 >>> gmirror: Can't store metadata on /dev/da0p2: Operation not permitted. >> isn't that partition accessed by other process or mounted? > > should it not be mounted? yes it should not, no matter what architecture. From modulok at gmail.com Thu Jul 2 14:28:02 2009 From: modulok at gmail.com (Modulok) Date: Thu Jul 2 14:28:16 2009 Subject: POLL: Linux preferences from FreeBSD users In-Reply-To: <20090702072125.6a3e513d.freebsd@edvax.de> References: <20090702072125.6a3e513d.freebsd@edvax.de> Message-ID: <64c038660907020728q5b78fb9av1b60591716b9d733@mail.gmail.com> > On Wed, 1 Jul 2009 18:58:15 -0400, Daniel Underwood > wrote: >> QUESTION: Of the various modern Linux distributions, which do you >> prefer? and why? > > "Modern" Linux distributions don't appeal very much to me, because > they are messy: Missing manpages... That and Linux seems to only ever get the abridged version of manual pages. When you compare manual pages for an equivalent commands between FreeBSD and most Linux flavors, it really shows. I noticed this when I went from Debian to FreeBSD. "Finally! Real documentation!" -Modulok- From fbsd at dannysplace.net Thu Jul 2 14:59:38 2009 From: fbsd at dannysplace.net (Danny Carroll) Date: Thu Jul 2 14:59:45 2009 Subject: Strange startup behaviour. Message-ID: <4A4CC4F1.6080303@dannysplace.net> Since I recently started using freebsd as a adsl gateway I have noticed some strange things at startup. /etc/rc.d/natd does not get executed. If I run it manually it works fine but not at boot time. I just rebooted now and (again) had to re-start natd. Looking at the startup scipts I see some strange things. The access time on some scripts is from yesterday. I wonder if someone might have an idea on where I'd start to look at this, or perhaps has seen this behaviour before? The systems is 7.2 P5. # ls -lasut /etc/rc.d/ total 382 2 -r-xr-xr-x 1 root wheel 285 Jul 3 00:17 adjkerntz 2 -r-xr-xr-x 1 root wheel 1763 Jul 3 00:17 random 2 -r-xr-xr-x 1 root wheel 405 Jul 3 00:17 FILESYSTEMS 10 -r-xr-xr-x 1 root wheel 9386 Jul 3 00:17 bluetooth 2 -r-xr-xr-x 1 root wheel 328 Jul 3 00:17 ccd 2 -r-xr-xr-x 1 root wheel 523 Jul 3 00:17 ddb 2 -r-xr-xr-x 1 root wheel 1120 Jul 3 00:17 dumpon 2 -r-xr-xr-x 1 root wheel 383 Jul 3 00:17 early.sh 2 -r-xr-xr-x 1 root wheel 1151 Jul 3 00:17 encswap 2 -r-xr-xr-x 1 root wheel 1248 Jul 3 00:17 fsck 4 -r-xr-xr-x 1 root wheel 2173 Jul 3 00:17 gbde 4 -r-xr-xr-x 1 root wheel 2702 Jul 3 00:17 geli 4 -r-xr-xr-x 1 root wheel 2800 Jul 3 00:17 hostid 2 -r-xr-xr-x 1 root wheel 1780 Jul 3 00:17 initrandom 6 -r-xr-xr-x 1 root wheel 5130 Jul 3 00:17 mdconfig 2 -r-xr-xr-x 1 root wheel 983 Jul 3 00:17 mountcritlocal 2 -r-xr-xr-x 1 root wheel 747 Jul 3 00:17 root 2 -r-xr-xr-x 1 root wheel 260 Jul 3 00:17 swap1 4 -r-xr-xr-x 1 root wheel 3147 Jul 3 00:17 var 2 -r-xr-xr-x 1 root wheel 593 Jul 3 00:17 wpa_supplicant 2 -r-xr-xr-x 1 root wheel 1335 Jul 3 00:17 zfs 4 drwxr-xr-x 2 root wheel 2560 Jul 2 14:20 . 4 drwxr-xr-x 20 root wheel 2560 Jul 2 14:20 .. 2 -r-xr-xr-x 1 root wheel 887 Jul 2 14:17 bgfsck 4 -r-xr-xr-x 1 root wheel 2298 Jul 2 14:17 bridge 2 -r-xr-xr-x 1 root wheel 313 Jul 2 14:17 bsnmpd 2 -r-xr-xr-x 1 root wheel 382 Jul 2 14:17 cron 2 -r-xr-xr-x 1 root wheel 277 Jul 2 14:17 ftp-proxy 2 -r-xr-xr-x 1 root wheel 385 Jul 2 14:17 ftpd 2 -r-xr-xr-x 1 root wheel 1951 Jul 2 14:17 geli2 2 -r-xr-xr-x 1 root wheel 446 Jul 2 14:17 hostapd 2 -r-xr-xr-x 1 root wheel 322 Jul 2 14:17 idmapd 2 -r-xr-xr-x 1 root wheel 367 Jul 2 14:17 inetd 16 -r-xr-xr-x 1 root wheel 15107 Jul 2 14:17 jail 2 -r-xr-xr-x 1 root wheel 1147 Jul 2 14:17 localpkg 4 -r-xr-xr-x 1 root wheel 2462 Jul 2 14:17 mixer 2 -r-xr-xr-x 1 root wheel 1668 Jul 2 14:17 moused 2 -r-xr-xr-x 1 root wheel 283 Jul 2 14:17 msgs 2 -r-xr-xr-x 1 root wheel 350 Jul 2 14:17 othermta 2 -r-xr-xr-x 1 root wheel 528 Jul 2 14:17 securelevel 4 -r-xr-xr-x 1 root wheel 2570 Jul 2 14:17 sendmail 2 -r-xr-xr-x 1 root wheel 933 Jul 2 14:17 sysctl 4 -r-xr-xr-x 1 root wheel 2299 Jul 2 14:17 sshd 6 -r-xr-xr-x 1 root wheel 4552 Jul 2 14:17 syscons 2 -r-xr-xr-x 1 root wheel 1673 Jul 2 14:17 watchdogd 2 -r-xr-xr-x 1 root wheel 745 Jul 2 14:17 ypset 2 -r-xr-xr-x 1 root wheel 755 Jul 2 14:17 ypupdated 2 -r-xr-xr-x 1 root wheel 764 Jul 2 14:17 ypxfrd 2 -r-xr-xr-x 1 root wheel 404 Jul 2 14:17 LOGIN 2 -r-xr-xr-x 1 root wheel 977 Jul 2 14:17 motd 2 -r-xr-xr-x 1 root wheel 713 Jul 2 14:17 mountlate 2 -r-xr-xr-x 1 root wheel 1083 Jul 2 14:17 nscd 2 -r-xr-xr-x 1 root wheel 1268 Jul 2 14:17 ntpd 2 -r-xr-xr-x 1 root wheel 432 Jul 2 14:17 powerd 2 -r-xr-xr-x 1 root wheel 346 Jul 2 14:17 rarpd 4 -r-xr-xr-x 1 root wheel 2400 Jul 2 14:17 rfcomm_pppd_server 2 -r-xr-xr-x 1 root wheel 1684 Jul 2 14:17 rtadvd 2 -r-xr-xr-x 1 root wheel 279 Jul 2 14:17 rwho 2 -r-xr-xr-x 1 root wheel 471 Jul 2 14:17 sdpd 2 -r-xr-xr-x 1 root wheel 286 Jul 2 14:17 timed 2 -r-xr-xr-x 1 root wheel 682 Jul 2 14:17 ugidfw 2 -r-xr-xr-x 1 root wheel 802 Jul 2 14:17 yppasswdd 2 -r-xr-xr-x 1 root wheel 614 Jul 2 14:17 apm 2 -r-xr-xr-x 1 root wheel 784 Jul 2 14:17 apmd 2 -r-xr-xr-x 1 root wheel 333 Jul 2 14:17 bootparams 2 -r-xr-xr-x 1 root wheel 656 Jul 2 14:17 bthidd 2 -r-xr-xr-x 1 root wheel 460 Jul 2 14:17 hcsecd 2 -r-xr-xr-x 1 root wheel 535 Jul 2 14:17 local 2 -r-xr-xr-x 1 root wheel 439 Jul 2 14:17 lpd 2 -r-xr-xr-x 1 root wheel 241 Jul 2 14:17 DAEMON 2 -r-xr-xr-x 1 root wheel 1610 Jul 2 14:17 virecover 2 -r-xr-xr-x 1 root wheel 979 Jul 2 14:17 amd 4 -r-xr-xr-x 1 root wheel 2406 Jul 2 14:17 atm3 2 -r-xr-xr-x 1 root wheel 574 Jul 2 14:17 auditd 2 -r-xr-xr-x 1 root wheel 1703 Jul 2 14:17 cleartmp 2 -r-xr-xr-x 1 root wheel 1237 Jul 2 14:17 dhclient 2 -r-xr-xr-x 1 root wheel 427 Jul 2 14:17 dmesg 2 -r-xr-xr-x 1 root wheel 317 Jul 2 14:17 ipxrouted 2 -r-xr-xr-x 1 root wheel 347 Jul 2 14:17 kadmind 2 -r-xr-xr-x 1 root wheel 313 Jul 2 14:17 kerberos 2 -r-xr-xr-x 1 root wheel 532 Jul 2 14:17 keyserv 2 -r-xr-xr-x 1 root wheel 347 Jul 2 14:17 kpasswdd 2 -r-xr-xr-x 1 root wheel 944 Jul 2 14:17 lockd 2 -r-xr-xr-x 1 root wheel 1035 Jul 2 14:17 mountd 6 -r-xr-xr-x 1 root wheel 4454 Jul 2 14:17 named 2 -r-xr-xr-x 1 root wheel 955 Jul 2 14:17 nfsclient 2 -r-xr-xr-x 1 root wheel 879 Jul 2 14:17 nfsd 2 -r-xr-xr-x 1 root wheel 321 Jul 2 14:17 nfsserver 2 -r-xr-xr-x 1 root wheel 1828 Jul 2 14:17 nisdomain 2 -r-xr-xr-x 1 root wheel 642 Jul 2 14:17 ntpdate 2 -r-xr-xr-x 1 root wheel 586 Jul 2 14:17 pppoed 2 -r-xr-xr-x 1 root wheel 453 Jul 2 14:17 pwcheck 2 -r-xr-xr-x 1 root wheel 601 Jul 2 14:17 quota 2 -r-xr-xr-x 1 root wheel 295 Jul 2 14:17 rpcbind 2 -r-xr-xr-x 1 root wheel 942 Jul 2 14:17 statd 4 -r-xr-xr-x 1 root wheel 2109 Jul 2 14:17 tmp 2 -r-xr-xr-x 1 root wheel 635 Jul 2 14:17 ypbind 2 -r-xr-xr-x 1 root wheel 720 Jul 2 14:17 ypserv 2 -r-xr-xr-x 1 root wheel 243 Jul 2 14:17 SERVERS 2 -r-xr-xr-x 1 root wheel 981 Jul 2 14:17 abi 2 -r-xr-xr-x 1 root wheel 678 Jul 2 14:17 archdep 2 -r-xr-xr-x 1 root wheel 1404 Jul 2 14:17 devfs 2 -r-xr-xr-x 1 root wheel 696 Jul 2 14:17 ipmon 2 -r-xr-xr-x 1 root wheel 1799 Jul 2 14:17 ldconfig 6 -r-xr-xr-x 1 root wheel 6005 Jul 2 14:17 mdconfig2 2 -r-xr-xr-x 1 root wheel 453 Jul 2 14:17 newsyslog 2 -r-xr-xr-x 1 root wheel 1091 Jul 2 14:17 savecore 2 -r-xr-xr-x 1 root wheel 1473 Jul 2 14:17 syslogd 2 -r-xr-xr-x 1 root wheel 339 Jul 2 14:17 NETWORKING 2 -r-xr-xr-x 1 root wheel 952 Jul 2 14:17 accounting 2 -r-xr-xr-x 1 root wheel 1329 Jul 2 14:17 cleanvar 2 -r-xr-xr-x 1 root wheel 453 Jul 2 14:17 devd 2 -r-xr-xr-x 1 root wheel 1036 Jul 2 14:17 ip6fw 4 -r-xr-xr-x 1 root wheel 2196 Jul 2 14:17 ipfilter 2 -r-xr-xr-x 1 root wheel 1557 Jul 2 14:17 ipfw 2 -r-xr-xr-x 1 root wheel 1119 Jul 2 14:17 ipsec 2 -r-xr-xr-x 1 root wheel 1535 Jul 2 14:17 mountcritremote 2 -r-xr-xr-x 1 root wheel 273 Jul 2 14:17 mroute6d 2 -r-xr-xr-x 1 root wheel 378 Jul 2 14:17 mrouted 2 -r-xr-xr-x 1 root wheel 768 Jul 2 14:17 natd 6 -r-xr-xr-x 1 root wheel 4322 Jul 2 14:17 netif 2 -r-xr-xr-x 1 root wheel 1360 Jul 2 14:17 netoptions 4 -r-xr-xr-x 1 root wheel 3790 Jul 2 14:17 network_ipv6 4 -r-xr-xr-x 1 root wheel 2609 Jul 2 14:17 nsswitch 2 -r-xr-xr-x 1 root wheel 1282 Jul 2 14:17 pf 4 -r-xr-xr-x 1 root wheel 2120 Jul 2 14:17 power_profile 4 -r-xr-xr-x 1 root wheel 2280 Jul 2 14:17 ppp 2 -r-xr-xr-x 1 root wheel 1982 Jul 2 14:17 resolv 2 -r-xr-xr-x 1 root wheel 606 Jul 2 14:17 route6d 2 -r-xr-xr-x 1 root wheel 500 Jul 2 14:17 routed 4 -r-xr-xr-x 1 root wheel 2246 Jul 2 14:17 routing 4 -r-xr-xr-x 1 root wheel 2628 Jul 2 14:17 atm2 2 -r-xr-xr-x 1 root wheel 1596 Jul 2 14:17 ip6addrctl 2 -r-xr-xr-x 1 root wheel 1014 Jul 2 14:17 isdnd 2 -r-xr-xr-x 1 root wheel 941 Jul 2 14:17 pflog 2 -r-xr-xr-x 1 root wheel 987 Jul 2 14:17 pfsync 2 -r-xr-xr-x 1 root wheel 536 Jul 2 14:17 addswap 6 -r-xr-xr-x 1 root wheel 4151 Jul 2 14:17 atm1 2 -r-xr-xr-x 1 root wheel 577 Jul 2 14:17 auto_linklocal 4 -r-xr-xr-x 1 root wheel 2630 Jul 2 14:17 hostname 2 -r-xr-xr-x 1 root wheel 1038 Jul 2 14:17 ipfs 2 -r-xr-xr-x 1 root wheel 562 Jul 2 14:17 ipnat 2 -r-xr-xr-x 1 root wheel 660 Jul 2 14:17 kldxref 6 -r-xr-xr-x 1 root wheel 5159 Jul 2 14:17 serial 2 -r-xr-xr-x 1 root wheel 822 Jul 2 14:17 sppp From wmoran at potentialtech.com Thu Jul 2 15:04:01 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Thu Jul 2 15:04:07 2009 Subject: Strange startup behaviour. In-Reply-To: <4A4CC4F1.6080303@dannysplace.net> References: <4A4CC4F1.6080303@dannysplace.net> Message-ID: <20090702110159.8a175688.wmoran@potentialtech.com> In response to Danny Carroll : > Since I recently started using freebsd as a adsl gateway I have noticed > some strange things at startup. > > /etc/rc.d/natd does not get executed. If I run it manually it works > fine but not at boot time. > > I just rebooted now and (again) had to re-start natd. Looking at the > startup scipts I see some strange things. The access time on some > scripts is from yesterday. > > I wonder if someone might have an idea on where I'd start to look at > this, or perhaps has seen this behaviour before? The systems is 7.2 P5. Probably good to attach your rc.conf file, as that's the most likely thing that's wrong, given the information you provided. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From keramida at ceid.upatras.gr Thu Jul 2 15:14:16 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Thu Jul 2 15:14:25 2009 Subject: POLL: Linux preferences from FreeBSD users In-Reply-To: <200907020907.08159.j.mckeown@ru.ac.za> (Jonathan McKeown's message of "Thu, 2 Jul 2009 09:07:08 +0200") References: <20090702072125.6a3e513d.freebsd@edvax.de> <200907020907.08159.j.mckeown@ru.ac.za> Message-ID: <871voz15iz.fsf@kobe.laptop> On Thu, 2 Jul 2009 09:07:08 +0200, Jonathan McKeown wrote: > I was wondering if there were any other Slackers out there! Of course we are still `out there'. I started using a UNIX-like clone on my 386 SX with Slackware, by fetching the floppy disk images. I've abandoned Linux for serious work for years now, but I still have my Infomagic CD-ROMs :) From alex at acatysmoof.com Thu Jul 2 15:53:05 2009 From: alex at acatysmoof.com (Alex Teslik) Date: Thu Jul 2 15:53:12 2009 Subject: intermittent failures with sendmail Message-ID: <20090702143840.M99932@acatysmoof.com> I have sendmail 8.14.2 running on freebsd 7.0: [gouda:root]/var/spool/mqueue# sendmail -d0 < /dev/null Version 8.14.2 Compiled with: DNSMAP LOG MAP_REGEX MATCHGECOS MILTER MIME7TO8 MIME8TO7 NAMED_BIND NETINET NETINET6 NETUNIX NEWDB NIS PIPELINING SASLv2 SCANF STARTTLS TCPWRAPPERS USERDB XDEBUG ============ SYSTEM IDENTITY (after readcf) ============ (short domain name) $w = gouda (canonical domain name) $j = gouda.acatysmoof.com (subdomain name) $m = acatysmoof.com (node name) $k = gouda.acatysmoof.com ======================================================== [gouda:root]/var/spool/mqueue# uname -a FreeBSD gouda.acatysmoof.com 7.0-STABLE-200806 FreeBSD 7.0-STABLE-200806 #0: Mon Jun 30 03:43:40 PDT 2008 alex@XXXXXXX.com:/usr/obj/usr/src/sys/CORE2-STABLE-7 i386 mails sent out to the internet are intermittently causing these error reports in the daily run output: n5UNkYTo069809 23878 Tue Jun 30 16:46 (reply: read error from mail.OOOOOO.net.) n5ULKB0i064252* 7028205 Tue Jun 30 14:20 8BITMIME (timeout writing message to c.mx.mail.yahoo.com.: Broken pipe) n5TM36Jn012370 420 Mon Jun 29 15:03 The yahoo one is particularly puzzling. Most mails make it, but some fail. I can't figure out why. The recipient is valid and they have plenty of space in their account. Sometimes mail to them works with no problem. I checked the sendmail logs and found: Jul 2 03:35:16 gouda sm-mta[40342]: n5ULKB0i064252: SYSERR(root): timeout writing message to b.mx.mail.yahoo.com.: Broken pipe Jul 2 04:23:01 gouda sm-mta[47860]: n5ULKB0i064252: SYSERR(root): timeout writing message to e.mx.mail.yahoo.com.: Broken pipe Jul 2 07:03:05 gouda sm-mta[53788]: n5ULKB0i064252: SYSERR(root): timeout writing message to d.mx.mail.yahoo.com.: Broken pipe I thought it might be an MTU problem: http://anthony.zerosandones.co.uk/?q=node/451 I set my MTU to 1300, but that hasn't helped. [gouda:root]/home/alex/acatysmoof.com/services# ifconfig -a em0: flags=8843 metric 0 mtu 1300 options=19b ether 00:1c:c0:36:85:62 inet 24.205.141.134 netmask 0xfffffffc broadcast 24.205.141.135 media: Ethernet autoselect (100baseTX ) status: active DNS is working fine everywhere, so I don't think thats it. PTR is fine, reverse lookups work fine. I've googled my brains out. Does anyone have any ideas? Thanks, Alex From clarkp at mtmary.edu Thu Jul 2 16:12:32 2009 From: clarkp at mtmary.edu (Peter Clark) Date: Thu Jul 2 16:12:38 2009 Subject: Dependency confusion Message-ID: <4A4CD041.5020006@mtmary.edu> Hello, I have a number of ports installed on my 7.2Release box. When I issue pkg_info I see that I have both db41-4.1.25_4 and db46-4.6.21.4 installed. Is there an easy way to see which program is linked to which db? Is this some sort of redundant listing and I really only have db4.6 installed or can you have both side by side? My real concern is about which db backend my cyrus-imap-23 is linked against. Thank you, Peter From dnelson at allantgroup.com Thu Jul 2 16:48:13 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Thu Jul 2 16:48:20 2009 Subject: Dependency confusion In-Reply-To: <4A4CD041.5020006@mtmary.edu> References: <4A4CD041.5020006@mtmary.edu> Message-ID: <20090702164809.GB4205@dan.emsphone.com> In the last episode (Jul 02), Peter Clark said: > I have a number of ports installed on my 7.2Release box. When I issue > pkg_info I see that I have both db41-4.1.25_4 and db46-4.6.21.4 installed. > Is there an easy way to see which program is linked to which db? Is this > some sort of redundant listing and I really only have db4.6 installed or > can you have both side by side? My real concern is about which db backend > my cyrus-imap-23 is linked against. All the db* ports install files with the version number embedded in them, so you can have multiple versions installed without conflicts. "ldd /path/to/exe" will tell you which library a given binary is linked with, and you can run "pkg_info -R 'db4*'" to determine which ports depend on which versions of db. -- Dan Nelson dnelson@allantgroup.com From wmoran at potentialtech.com Thu Jul 2 16:48:40 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Thu Jul 2 16:48:47 2009 Subject: Dependency confusion In-Reply-To: <4A4CD041.5020006@mtmary.edu> References: <4A4CD041.5020006@mtmary.edu> Message-ID: <20090702124710.73d971d0.wmoran@potentialtech.com> In response to Peter Clark : > > I have a number of ports installed on my 7.2Release box. When I issue > pkg_info I see that I have both db41-4.1.25_4 and db46-4.6.21.4 > installed. Is there an easy way to see which program is linked to which > db? Is this some sort of redundant listing and I really only have db4.6 > installed or can you have both side by side? My real concern is about > which db backend my cyrus-imap-23 is linked against. You can use ldd on the binary to see which libraries it's linked against. Also, if you pkg_delete each of the packages, it will refuse to delete them if they're still used by other packages, and it will tell you which packages are using them. (You can probably do that second one with pkg_info as well, but I don't know the syntax off the top of my head) -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From plaine at gmail.com Thu Jul 2 17:10:05 2009 From: plaine at gmail.com (pepe) Date: Thu Jul 2 17:10:12 2009 Subject: replacing harddisks Message-ID: I have gmirror of two 200GB disks where I have whole /usr f my freebsd 7.2 system. root, /var and /boot are on other disk, but I need to replace those both disks with bigger ones now. To get bigger /usr. So what I'm wondering now is if there is way to take one disk out of mirror (geom) and add bigger. So it would be one 200g and one 640g. And after sync replace other 200g with 640g so there would be two 640g disks. What I don't know is if mirror would still be original 200g or can I get it working full 640g this way? Or do I need to do it some harder way? Like adding both disks, creating mirror of them, copy original mirror with dd to new one and then removing old disks? -- pepe From sonicy at otenet.gr Thu Jul 2 17:54:10 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Thu Jul 2 17:54:18 2009 Subject: replacing harddisks In-Reply-To: References: Message-ID: <4A4CF43E.1080706@otenet.gr> pepe wrote: > I have gmirror of two 200GB disks where I have whole /usr f my freebsd 7.2 > system. root, /var and /boot are on other disk, but I need to replace those > both disks with bigger ones now. To get bigger /usr. So what I'm wondering > now is if there is way to take one disk out of mirror (geom) and add bigger. > So it would be one 200g and one 640g. If you add the 640G in the 200G mirror, it will be used as a 200G. > And after sync replace other 200g with > 640g so there would be two 640g disks. What I don't know is if mirror would > still be original 200g or can I get it working full 640g this way? Or do I > need to do it some harder way? Like adding both disks, creating mirror of > them, copy original mirror with dd to new one and then removing old disks? > > There are probably a couple of way to achieve this, but I would add the new disk as a standalone one, copy (rather dump) contents from the array to it, disconnect the older array, create a gmirror on the new disk, and finally connect the second new disk and resync. You don't need to add both new disks at the same time (you may not even have enough sata connectors) and you don't even have to leave both of the original mirror disks connected while copying the data. It will still work the same if the original array is degraded. From clarkp at mtmary.edu Thu Jul 2 18:06:24 2009 From: clarkp at mtmary.edu (Peter Clark) Date: Thu Jul 2 18:06:31 2009 Subject: Dependency confusion In-Reply-To: <20090702164809.GB4205@dan.emsphone.com> References: <4A4CD041.5020006@mtmary.edu> <20090702164809.GB4205@dan.emsphone.com> Message-ID: <4A4CF71D.5050407@mtmary.edu> Dan Nelson wrote: > In the last episode (Jul 02), Peter Clark said: >> I have a number of ports installed on my 7.2Release box. When I issue >> pkg_info I see that I have both db41-4.1.25_4 and db46-4.6.21.4 installed. >> Is there an easy way to see which program is linked to which db? Is this >> some sort of redundant listing and I really only have db4.6 installed or >> can you have both side by side? My real concern is about which db backend >> my cyrus-imap-23 is linked against. > > All the db* ports install files with the version number embedded in them, so > you can have multiple versions installed without conflicts. "ldd > /path/to/exe" will tell you which library a given binary is linked with, and > you can run "pkg_info -R 'db4*'" to determine which ports depend on which > versions of db. > Thanks Dan and Bill. Dan, ldd and pkg_info -R did the trick. I really appreciate it. Peter From freebsd at celestial.com Thu Jul 2 18:18:02 2009 From: freebsd at celestial.com (Bill Campbell) Date: Thu Jul 2 18:18:09 2009 Subject: POLL: Linux preferences from FreeBSD users In-Reply-To: <9cbf3f070907020247i5a6fefeco736034bd84d0ee67@mail.gmail.com> References: <9cbf3f070907020247i5a6fefeco736034bd84d0ee67@mail.gmail.com> Message-ID: <20090702174900.GA22034@ayn.mi.celestial.com> On Thu, Jul 02, 2009, Artifex Maximus wrote: >Hello! > >On Thu, Jul 2, 2009 at 12:58 AM, Daniel Underwood > wrote: > >> QUESTION: Of the various modern Linux distributions, which do you >> prefer? and why? > >I used to like Slackware but moved to Ubuntu two or three years before. I >liked Slackware simplicity but its package system was too simple and then I >moved to FreeBSD. Some years before I had found Ubuntu and stayed there for >Linux boxes. Some people prefer Debian over Ubuntu but I dislike Debian >approach on packages (namely patch the older version as long as you can >instead of switch to a newer one). We currently use CentOS for servers and Macs for desktops. Over the years we have gone from Caldera->SuSE->CentOS, and I am most comfortable in an RPM environment having used it since 1995 or so. All our server software is built under the OpenPKG portable packaging system whether the system is FreeBSD, Linux, OS X, OpenSolaris, or even SCO OpenServer 5.0.6. Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 Democracy is the theory that the common people know what they want and deserve to get it good and hard. == H.L. Mencken From nullpt at gmail.com Thu Jul 2 18:19:15 2009 From: nullpt at gmail.com (Alexandre Vieira) Date: Thu Jul 2 18:19:23 2009 Subject: scripting tip needed In-Reply-To: <87k52saz86.fsf@kobe.laptop> References: <755cb9fc0907011040o28b82cdbjd5760b139f797050@mail.gmail.com> <87tz1wqkmu.fsf@kobe.laptop> <87k52saz86.fsf@kobe.laptop> Message-ID: <755cb9fc0907021119n26dee870t83ca3d1c9c5c3c90@mail.gmail.com> On Wed, Jul 1, 2009 at 10:07 PM, Giorgos Keramidas wrote: > On Wed, 1 Jul 2009 22:02:48 +0200 (CEST), Wojciech Puchar < > wojtek@wojtek.tensor.gdynia.pl> wrote: > >> Using an interactive language like Python you can actually *test* the > >> code as you are writing it. This is a major win most of the time. > > > > could you explain what you mean? You can and you have to test a code on > > any language be it bash, ksh python or C > > Yes. I mean that one can directly interact with the interpret in a REPL > prompt, doing stuff like: > > >>> import re > >>> devre = re.compile(r'(/dev/\S+)\s+(\S+)\s.*$') > >>> devre > <_sre.SRE_Pattern object at 0x28462780> > >>> devre.match('/dev/ad0s1d 1012974 390512 541426 42% /var') > <_sre.SRE_Match object at 0x28432e78> > >>> devre.match('/dev/ad0s1d 1012974 390512 541426 42% /var').groups() > ('/dev/ad0s1d', '1012974') > >>> devre = > >>> re.compile(r'(/dev/\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+)\s+(\S+).*$') > >>> devre.match('/dev/ad0s1d 1012974 390512 541426 42% /var').groups() > ('/dev/ad0s1d', '1012974', '390512', '541426', '42%', '/var') > > See how I am 'refining' the initial regular expression without ever > leaving the Python prompt? That sort of interactivity is entirely lost > when you have to edit a file, save it, switch screen(1) windows or type > ^Z to background the editor, run a script, watch it fail and repeat. > > Then I can keep testing bits and pieces of code: > > >>> from subprocess import Popen, PIPE > >>> pipe = Popen(['df', '-k'], shell=False, stdout=PIPE).stdout > >>> for l in pipe: > ... m = devre.match(l) > ... if m: > ... print "device %s, size %ld KB" % (m.group(1), > long(m.group(2))) > ... > device /dev/ad0s1a, size 1012974 KB > device /dev/ad0s1d, size 1012974 KB > device /dev/ad0s1e, size 2026030 KB > device /dev/ad0s1f, size 10154158 KB > device /dev/ad0s1g, size 284455590 KB > device /dev/md0, size 19566 KB > >>> > > So piping df output to a Python bit of code works! That's nice. Then > once I have a 'rough idea' of how I want the script to work, I can > refactor a bit the repetitive bits: > > >>> def devsize(line): > ... m = devre.match(line) > ... if m: > ... return (m.group(1), m.group(2)) > ... > >>> devsize('/dev/ad0s1d 1012974 390512 541426 42% /var') > ('/dev/ad0s1d', '1012974') > > So here's a short function to return a nice 2-item tuple with two values > (device name, number of 1 KB blocks). Can we pipe df output through it? > > >>> pipe = Popen(['df', '-k'], shell=False, stdout=PIPE).stdout > >>> pipe = Popen(['df', '-k'], shell=False, stdout=PIPE).stdout > >>> map(devsize, pipe.readlines()) > [ None, ('/dev/ad0s1a', '1012974'), None, ('/dev/ad0s1d', '1012974'), > ('/dev/ad0s1e', '2026030'), ('/dev/ad0s1f', '10154158'), > ('/dev/ad0s1g', '284455590'), None, None, None, None, None, None, > None, None, None, None, None, None, None, None, > ('/dev/md0', '19566'), None] > >>> > > It looks we can do that too, but the tuple list may be more useful if we > trim the null items in the process: > > >>> pipe = Popen(['df', '-k'], shell=False, stdout=PIPE).stdout > >>> [t for t in map(devsize, pipe.readlines()) if t] > [ ('/dev/ad0s1a', '1012974'), ('/dev/ad0s1d', '1012974'), > ('/dev/ad0s1e', '2026030'), ('/dev/ad0s1f', '10154158'), > ('/dev/ad0s1g', '284455590'), ('/dev/md0', '19566') ] > > So there it is. A nice structure, supported by the core of the > language, using a readable, easy syntax, and listing all the /dev nodes > of my laptop along with their sizes in KBytes. > > The entire thing was built 'piece by piece', in the same Python session, > and I now have not only a 'rough idea' of how the code should work, but > also a working copy of the code in my history. > > Note the complete *lack* of care about how to append to a list, how to > create dynamic pairs of devicename-size tuples, how to map all elements > of a list through a function, and more importantly the complete and > utter lack of any sort of '"${[]}"' quoting for variable names, values, > nested expansions, and so on. > > That's what I am talking about. Shell scripts are nice, but if we are > not constrained for some reason to use only /bin/sh or ksh, there's no > excuse for wasting hours upon hours to decipher cryptic quoting rules > and exceptional edge-cases of "black quoting magic", just to get a short > job done. Being able to _easily_ use higher level structures than a > plain 'stream of bytes' is nice :) > > > Guys, I eventually found it with lots of rtfm on variable substitution and such.. [ne@dada~]$ z=0 [ne@dada~]$ y=1 [ne@dada~]$ x=aaa [ne@dada~]$ eval `echo MACHINE_DISK$z[$y]`=$x [ne@dada~]$ echo $(eval echo \${MACHINE_DISK$z[$y]}) aaa [ne@dada~]$ Thanks anyway! -- Alexandre Vieira - nullpt@gmail.com From psteele at webmail.maxiscale.com Thu Jul 2 18:51:16 2009 From: psteele at webmail.maxiscale.com (Peter Steele) Date: Thu Jul 2 18:51:23 2009 Subject: JDK6 for FreeBSD-64? Message-ID: Is there an alternative to Diablo JDK for FreeBSD-64? We've been using this port for a while and it works fine, but some of the tools available in Java distributions for other platforms are not fully implemented in the Diablo port. We're particularly interested in the memory profiling tool jmap. From rjhjr0 at gmail.com Thu Jul 2 18:52:47 2009 From: rjhjr0 at gmail.com (Robert Hall) Date: Thu Jul 2 18:52:54 2009 Subject: Wireless NICs on 7.2 In-Reply-To: <3a142e750907020304tcb3296fy574dfc4b0fd7d875@mail.gmail.com> References: <3d5d3ca90907011048t1a096865iceaa3b82c1af82f4@mail.gmail.com> <3a142e750907011055r3750fd54rb66612a4b110e090@mail.gmail.com> <3d5d3ca90907011120h35b5e665gee30466ce72097e7@mail.gmail.com> <3a142e750907011526ka68c664s3606fdc9b4ad2889@mail.gmail.com> <3d5d3ca90907011845g26124a59y9643ef4623610f6@mail.gmail.com> <3a142e750907020304tcb3296fy574dfc4b0fd7d875@mail.gmail.com> Message-ID: <3d5d3ca90907021152t65160614ne9d3c6b4ce81f671@mail.gmail.com> On Thu, Jul 2, 2009 at 6:04 AM, Paul B. Mahol wrote: > On 7/2/09, Robert Hall wrote: >>> And what about TX/RX signal? >> >> I don't know where to look for that. :) > > It is part of scan output. I don't remember seeing that in the output. I'll put the Linksys back in the FBSD box and look for it. Does it have another name? I can't find it on the ifconfig man page. On the XP box, the Linksys utility says that the transmit rate is 12 Mbps and the receive rate is 5.5 Mbps. When I move the Linksys NIC to the FBSD box, I get: $ ifconfig ral0 list scan SSID BSSID CHAN RATE S:N INT CAPS livingroom 00:13:10:b9:e7:d6 6 54M -93:-95 100 E I think the "54M" is what you're asking for? I looked in man ifconfig and couldn't find TX or RX so I'm guessing that you're asking about the rate at which data is passed. Thanks for your help. From jonc at chen.org.nz Thu Jul 2 19:00:04 2009 From: jonc at chen.org.nz (Jonathan Chen) Date: Thu Jul 2 19:00:11 2009 Subject: JDK6 for FreeBSD-64? In-Reply-To: References: Message-ID: <20090702190000.GA72717@osiris.chen.org.nz> On Thu, Jul 02, 2009 at 11:51:13AM -0700, Peter Steele wrote: > Is there an alternative to Diablo JDK for FreeBSD-64? We've been using > this port for a while and it works fine, but some of the tools available > in Java distributions for other platforms are not fully implemented in > the Diablo port. We're particularly interested in the memory profiling > tool jmap. There's java/jdk16 and the java/openjdk6 ports. However, I don't know whether they support jmap or not. Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "Lots of folks confuse bad management with destiny" - Kin Hubbard From cswiger at mac.com Thu Jul 2 19:25:34 2009 From: cswiger at mac.com (Chuck Swiger) Date: Thu Jul 2 19:25:42 2009 Subject: intermittent failures with sendmail In-Reply-To: <20090702143840.M99932@acatysmoof.com> References: <20090702143840.M99932@acatysmoof.com> Message-ID: Hi-- On Jul 2, 2009, at 8:33 AM, Alex Teslik wrote: > Jul 2 03:35:16 gouda sm-mta[40342]: n5ULKB0i064252: SYSERR(root): > timeout writing message to > b.mx.mail.yahoo.com.: Broken pipe > Jul 2 04:23:01 gouda sm-mta[47860]: n5ULKB0i064252: SYSERR(root): > timeout writing message to > e.mx.mail.yahoo.com.: Broken pipe > Jul 2 07:03:05 gouda sm-mta[53788]: n5ULKB0i064252: SYSERR(root): > timeout writing message to > d.mx.mail.yahoo.com.: Broken pipe > > I thought it might be an MTU problem: > > http://anthony.zerosandones.co.uk/?q=node/451 > > I set my MTU to 1300, but that hasn't helped. > > [gouda:root]/home/alex/acatysmoof.com/services# ifconfig -a > em0: flags=8843 metric 0 mtu > 1300 > options=19b > ether 00:1c:c0:36:85:62 > inet 24.205.141.134 netmask 0xfffffffc broadcast 24.205.141.135 > media: Ethernet autoselect (100baseTX ) > status: active > > DNS is working fine everywhere, so I don't think thats it. PTR is > fine, reverse lookups work fine. > > I've googled my brains out. Does anyone have any ideas? Intermittent network connectivity problems could be a firewall problem or an actual physical connectivity issue. Presumably your ISP can run a line quality test or something for your DSL/cable/T1/whatever link. tcpdump might give some insight, also.... Regards, -- -Chuck From gpeel at thenetnow.com Thu Jul 2 19:37:03 2009 From: gpeel at thenetnow.com (Grant Peel) Date: Thu Jul 2 19:37:18 2009 Subject: Transferring dump files ASCII or BINARY Message-ID: <88A2C55F2383454997EBC477921FC913@GRANT> Hi all, I am attempting to restore a root filesystem I donwloaded this morning. I downloaded it in binary mode, and when I try to restore -rf /usbstick/root.dump I am getting: "Tape is not a dump tape" Should dumps be transfered in BINARY or ASCII mode? Any other insights welcome. Also, should I remove the .snap file in the pristine filesystem before performing the restore? Also, The dump was done on a freebsd 7.2 R machine, and I am using the FreeBSD 7.2 live filesystem CD to do the restores. -Grant From onemda at gmail.com Thu Jul 2 20:14:43 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Thu Jul 2 20:14:51 2009 Subject: Wireless NICs on 7.2 In-Reply-To: <3d5d3ca90907021152t65160614ne9d3c6b4ce81f671@mail.gmail.com> References: <3d5d3ca90907011048t1a096865iceaa3b82c1af82f4@mail.gmail.com> <3a142e750907011055r3750fd54rb66612a4b110e090@mail.gmail.com> <3d5d3ca90907011120h35b5e665gee30466ce72097e7@mail.gmail.com> <3a142e750907011526ka68c664s3606fdc9b4ad2889@mail.gmail.com> <3d5d3ca90907011845g26124a59y9643ef4623610f6@mail.gmail.com> <3a142e750907020304tcb3296fy574dfc4b0fd7d875@mail.gmail.com> <3d5d3ca90907021152t65160614ne9d3c6b4ce81f671@mail.gmail.com> Message-ID: <3a142e750907021314j7dc4dcedv88d8ea83ffd94d5c@mail.gmail.com> On 7/2/09, Robert Hall wrote: > On Thu, Jul 2, 2009 at 6:04 AM, Paul B. Mahol wrote: >> On 7/2/09, Robert Hall wrote: >>>> And what about TX/RX signal? >>> >>> I don't know where to look for that. :) >> >> It is part of scan output. > > I don't remember seeing that in the output. I'll put the Linksys back > in the FBSD box and look for it. Does it have another name? I can't > find it on the ifconfig man page. > > On the XP box, the Linksys utility says that the transmit rate is 12 > Mbps and the receive rate is 5.5 Mbps. > > When I move the Linksys NIC to the FBSD box, I get: > $ ifconfig ral0 list scan > SSID BSSID CHAN RATE S:N INT CAPS > livingroom 00:13:10:b9:e7:d6 6 54M -93:-95 100 E 93 is too low. > > I think the "54M" is what you're asking for? I looked in man ifconfig > and couldn't find TX or RX so I'm guessing that you're asking about > the rate at which data is passed. > > Thanks for your help. > -- Paul From psteele at webmail.maxiscale.com Thu Jul 2 21:32:58 2009 From: psteele at webmail.maxiscale.com (Peter Steele) Date: Thu Jul 2 21:33:05 2009 Subject: JDK6 for FreeBSD-64? References: <20090702190000.GA72717@osiris.chen.org.nz> Message-ID: >There's java/jdk16 and the java/openjdk6 ports. However, I don't know >whether they support jmap or not. The jmap tool in java/jdk16 doesn't appear to be complete either. Has anyone successfully built openjdk6 for FreeBSD? From sfourman at gmail.com Thu Jul 2 21:42:47 2009 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Thu Jul 2 21:42:53 2009 Subject: Grid computing under FreeBSD using jails ... ? In-Reply-To: <20080907213620.02a7143d@ayiin> References: <11167f520809061827n431ca05m22878d51ccec8f3d@mail.gmail.com> <20080907213620.02a7143d@ayiin> Message-ID: <11167f520907021442r735cfb01q141840dbc41333fc@mail.gmail.com> On Sun, Sep 7, 2008 at 6:36 AM, Norberto Meijome wrote: > On Sat, 6 Sep 2008 20:27:10 -0500 > "Sam Fourman Jr." wrote: > >> I am also interested in using FreeBSD as the host in some grid/cloud solution >> I am open to any Ideas anyone has. > > Hey Sam, > do you have any particular grid/cloud/clustering solution in mind? I think > that Sun's grid engine works in FBSD (it is present in ports)... > > /usr/ports > $ make search info=grid\ engine > > There was a similar,but short discussion in this list around August 11th 2008, > Subject 'cluster filesystem', mentioning things like hadoop + gluster on BSD. I know this thread has been dormant for quite some time, but I want to see if anyone has any ideas how how we could do cloud hosting using FreeBSD as the host system. A better way to put it is a FreeBSD Based Amazon EC2. basically a bunch of FreeBSD servers, that are in a cluster, and could host a bunch of Xen Domu's . I am aware that FreeBSD does not yet have Xen dom0 support. but are there any other competing projects to xen that I am unaware of. Sam Fourman Jr. From fbsd at dannysplace.net Thu Jul 2 22:54:52 2009 From: fbsd at dannysplace.net (Danny Carroll) Date: Thu Jul 2 22:55:00 2009 Subject: Strange startup behaviour. In-Reply-To: <20090702110159.8a175688.wmoran@potentialtech.com> References: <4A4CC4F1.6080303@dannysplace.net> <20090702110159.8a175688.wmoran@potentialtech.com> Message-ID: <4A4D3ADA.50601@dannysplace.net> Bill Moran wrote: > Probably good to attach your rc.conf file, as that's the most likely thing > that's wrong, given the information you provided. > That would surprise me. The thing that looked strange to me was that there was a heap of files in /etc/rc.d/ that look like they had not been accessed since the last shutdown of the machine. Here is my rc.conf named_enable="YES" gateway_enable="YES" hostname="nas.lan" keymap="us.iso" sshd_enable="YES" zfs_enable="YES" openntpd_enable="YES" natd_enable="YES" natd_interface="tun0" natd_flags="-f /etc/natd.conf" apache2_enable="YES" apache2_profiles="default backuppc" apache2_default_configfile="/usr/local/etc/apache2/httpd.conf" apache2_backuppc_configfile="/usr/local/etc/apache2/httpd-backuppc.conf" inetd_enable="YES" nmbd_enable="YES" smbd_enable="YES" winbindd_enable="NO" backuppc_enable="YES" rpcbind_enable="YES" nfs_server_enable="YES" mountd_enable="YES" mountd_flags="-n -r" nut_enable="YES" nut_upslog_enable="YES" nut_upsmon_enable="YES" firewall_enable="YES" firewall_logging="YES" firewall_type="custom" firewall_script="/etc/firewall.rules" racoon_enable="NO" pf_enable="NO" # Enable PF (load module if required) pf_rules="/etc/pf.conf" # rules definition file for pf pf_flags="" # additional flags for pfctl startup pflog_enable="NO" # start pflogd(8) pflog_logfile="/var/log/pflog" # where pflogd should store the logfile pflog_flags="" # additional flags for pflogd startup ppp_enable="YES" ppp_mode="ddial" ppp_nat="NO" #For Office subnet ifconfig_fxp0="inet 172.21.5.118 netmask 255.255.255.248" #Lan subnet ifconfig_em0="inet 192.168.10.21 netmask 255.255.255.0 media 1000baseTX mediaopt full-duplex" #Media subnet ifconfig_em1="inet 192.168.1.1 netmask 255.255.255.0 media 100baseTX mediaopt full-duplex" # Wireless lan subnet ifconfig_ath0="inet 192.168.2.1 netmask 255.255.255.0 ssid WIFI wepmode on weptxkey 1 wepkey 1:0xSomeKeyThatIsPrivate channel 4 mode 11g mediaopt hostap" # For the internet PPP0E link ifconfig_fxp1="inet 10.0.0.2 netmask 255.255.255.0 media 100baseTX mediaopt full-duplex" syslogd_flags="-a 172.21.5.0/24:* -a 192.168.10.0/24:*" smartd_enable="YES" doorman_enable="YES" pureftpd_enable="YES" dhcpd_enable="YES" # dhcpd enabled? dhcpd_flags="-q" # command option(s) dhcpd_conf="/usr/local/etc/dhcpd.conf" # configuration file dhcpd_ifaces="ath0 em0 em1" # ethernet interface(s) dhcpd_withumask="022" # file creation mask mysql_enable="YES" asterisk_enable="YES" From wojtek at wojtek.tensor.gdynia.pl Thu Jul 2 23:04:51 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jul 2 23:04:58 2009 Subject: Transferring dump files ASCII or BINARY In-Reply-To: <88A2C55F2383454997EBC477921FC913@GRANT> References: <88A2C55F2383454997EBC477921FC913@GRANT> Message-ID: > I downloaded it in binary mode, and when I try t that's right. > restore -rf /usbstick/root.dump > > I am getting: > > "Tape is not a dump tape" > > Should dumps be transfered in BINARY or ASCII mode? binary. > > Any other insights welcome. there is other problem somewhere else. > > Also, should I remove the .snap file in the pristine filesystem before performing the restore? no need. > > Also, The dump was done on a freebsd 7.2 R machine, and I am using the FreeBSD 7.2 live filesystem CD to do the restores. ALL fine. From wojtek at wojtek.tensor.gdynia.pl Thu Jul 2 23:06:55 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Thu Jul 2 23:07:02 2009 Subject: replacing harddisks In-Reply-To: References: Message-ID: > I have gmirror of two 200GB disks where I have whole /usr f my freebsd 7.2 > system. root, /var and /boot are on other disk, but I need to replace those > both disks with bigger ones now. To get bigger /usr. So what I'm wondering > now is if there is way to take one disk out of mirror (geom) and add bigger. yes. man gmirror gmirror remove , gmirror forget. > So it would be one 200g and one 640g. And after sync replace other 200g with yes. make new (single disk at first) gmirror on new drive, copy data and make it bootable, shutdown, replace other 200G drive, boot from 640G and do gmirror insert From danny at dannysplace.net Fri Jul 3 00:29:39 2009 From: danny at dannysplace.net (Danny Carroll) Date: Fri Jul 3 00:29:48 2009 Subject: Strange startup behaviour. In-Reply-To: <4A4D3ADA.50601@dannysplace.net> References: <4A4CC4F1.6080303@dannysplace.net> <20090702110159.8a175688.wmoran@potentialtech.com> <4A4D3ADA.50601@dannysplace.net> Message-ID: <4A4D4A15.5020006@dannysplace.net> Danny Carroll wrote: > That would surprise me. The thing that looked strange to me was that > there was a heap of files in /etc/rc.d/ that look like they had not been > accessed since the last shutdown of the machine. I think I figured out this behaviour. I believe that the access times are different because at boot time adjkerntz runs and sets the correct time (or rather zone) during boot. The times are 10 hours apart which is the difference between UTC and my time zone. It was a strange co-incidence that I rebooted my machine yesterday twice, the second time was almost 10 hours after the first which is why I was confused. Perhaps if the clock was set to UTC then this would not happen. It still does not explain why /etc/rc.d/natd does not start natd at boot. I also tried copying /etc/rc.d/natd to /usr/local/etc/rc.d in the thought that this was a chicken/egg problem and /usr/local/etc/rc.d scripts might run late enough to work. But I still need to restart natd manually. -D From jonc at chen.org.nz Fri Jul 3 01:36:52 2009 From: jonc at chen.org.nz (Jonathan Chen) Date: Fri Jul 3 01:36:59 2009 Subject: JDK6 for FreeBSD-64? In-Reply-To: References: <20090702190000.GA72717@osiris.chen.org.nz> Message-ID: <20090703013648.GB80860@osiris.chen.org.nz> On Thu, Jul 02, 2009 at 02:32:54PM -0700, Peter Steele wrote: > >There's java/jdk16 and the java/openjdk6 ports. However, I don't know > >whether they support jmap or not. > > The jmap tool in java/jdk16 doesn't appear to be complete either. Has > anyone successfully built openjdk6 for FreeBSD? Yes. However the GUI support under openjdk6 is iffy. % java -version openjdk version "1.6.0-internal" OpenJDK Runtime Environment (build 1.6.0-internal-root_24_may_2009_16_24-b00) OpenJDK 64-Bit Server VM (build 11.0-b17, mixed mode) Cheers. -- Jonathan Chen ---------------------------------------------------------------------- "Only the meek get pinched. The bold survive." - Ferris Bueller From arek at wup-katowice.pl Fri Jul 3 05:25:25 2009 From: arek at wup-katowice.pl (Arek Czereszewski) Date: Fri Jul 3 05:25:32 2009 Subject: Portaudit strange behavior. In-Reply-To: <4A4AFC07.6030808@wup-katowice.pl> References: <4A4AFC07.6030808@wup-katowice.pl> Message-ID: <4A4D9642.2010207@wup-katowice.pl> Hi again, Today portaudit works fine with ${portaudit_sites="http://portaudit.FreeBSD.org/"} Now I need to change this option in portaudit on all servers. Regards Arek -- Arek Czereszewski arek (at) wup-katowice (dot) pl "UNIX allows me to work smarter, not harder." From prad at towardsfreedom.com Fri Jul 3 05:53:40 2009 From: prad at towardsfreedom.com (prad) Date: Fri Jul 3 05:53:49 2009 Subject: POLL: Linux preferences from FreeBSD users References: Message-ID: <20090702225326.424b0f28@gom> On Wed, 1 Jul 2009 18:58:15 -0400 Daniel Underwood wrote: > Of the various modern Linux distributions, which do you > prefer? and why? > we use archlinux (though we've enjoyed debian and the ubuntus). arch is very clean and fast - rather bsd like in fact. it is very well supported by the community - even before you use it: http://wiki.archlinux.org/index.php/Arch_vs_Others -- 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 rjhjr0 at gmail.com Fri Jul 3 06:27:27 2009 From: rjhjr0 at gmail.com (Robert Hall) Date: Fri Jul 3 06:27:34 2009 Subject: Wireless NICs on 7.2 In-Reply-To: <3a142e750907021314j7dc4dcedv88d8ea83ffd94d5c@mail.gmail.com> References: <3d5d3ca90907011048t1a096865iceaa3b82c1af82f4@mail.gmail.com> <3a142e750907011055r3750fd54rb66612a4b110e090@mail.gmail.com> <3d5d3ca90907011120h35b5e665gee30466ce72097e7@mail.gmail.com> <3a142e750907011526ka68c664s3606fdc9b4ad2889@mail.gmail.com> <3d5d3ca90907011845g26124a59y9643ef4623610f6@mail.gmail.com> <3a142e750907020304tcb3296fy574dfc4b0fd7d875@mail.gmail.com> <3d5d3ca90907021152t65160614ne9d3c6b4ce81f671@mail.gmail.com> <3a142e750907021314j7dc4dcedv88d8ea83ffd94d5c@mail.gmail.com> Message-ID: <3d5d3ca90907022327m1858369fp117d1daf3436c876@mail.gmail.com> On Thu, Jul 2, 2009 at 4:14 PM, Paul B. Mahol wrote: >> $ ifconfig ral0 list scan >> SSID ? ? ? ? ? ?BSSID ? ? ? ? ? ? ?CHAN RATE ? S:N ? ? INT CAPS >> livingroom ? ? ?00:13:10:b9:e7:d6 ? ?6 ? 54M -93:-95 ?100 E > > 93 is too low. Paul, I really appreciate your help. I'm obviously not an expert on either wireless networks or radio communication in general. But I doubt the accuracy of the scan. First of all, there's an XP box less than a foot away getting a "very good" signal (according to both the MS and the Belkin utilities), and successfully communicating with the wireless network. When I move the FBSD box and put the XP box in it's place, the XP box continues to report a good signal and continues to communicate with the network. While the XP box is reporting variations in rate and signal, the FBSD box reports no change. Secondly, when I run "ifconfig ral0 up scan", the scan hangs. It never completes or reports results. According to the man page, it's supposed to complete the scan, report the results, and exit. I have to Ctrl-C and run "ifconfig ral0 list scan" to get the results. So I know that at least part of the scan function doesn't work and I know that it's not detecting changes in rate and signal that are being reported by the XP box. 1) The XP box works fine with the Linksys NIC in it. 2) Both the XP and FBSD boxes are Dell Optiplex GX270, so they have identical hardware aside from the wireless NICs. 3) The md5 checksum for the install CD is correct, so I should have a good installation of 7.2 4) I seem to be getting a good signal, good enough to communicate with the network. 5) Both the Belkin and the Linksys work fine in the XP box. 6) The FBSD box always reports the same data, regardless of changes in conditions. 7) If I move the boxes and test them in the same physical location, oriented in the same direction, the XP box works and the FBSD box doesn't. So my guess is that output from a scan is the result of a problem in the driver, and not the result of actual conditions. If I thought I could solve this with a high gain antenna, I'd buy one in a second. But at the moment I have pretty good reason to believe that the problem isn't signal strength. I'd still like to compile a working ndis driver for either the Belkin F5D7000 v.7032 or the Linksys WMP54G v.4.1, if that is possible, or get the ral driver to work with the Linksys. I'd be willing to move from 7.2 to 6.4 if anyone has had success with that. From onemda at gmail.com Fri Jul 3 08:29:29 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Fri Jul 3 08:29:35 2009 Subject: Wireless NICs on 7.2 In-Reply-To: <3d5d3ca90907022327m1858369fp117d1daf3436c876@mail.gmail.com> References: <3d5d3ca90907011048t1a096865iceaa3b82c1af82f4@mail.gmail.com> <3a142e750907011055r3750fd54rb66612a4b110e090@mail.gmail.com> <3d5d3ca90907011120h35b5e665gee30466ce72097e7@mail.gmail.com> <3a142e750907011526ka68c664s3606fdc9b4ad2889@mail.gmail.com> <3d5d3ca90907011845g26124a59y9643ef4623610f6@mail.gmail.com> <3a142e750907020304tcb3296fy574dfc4b0fd7d875@mail.gmail.com> <3d5d3ca90907021152t65160614ne9d3c6b4ce81f671@mail.gmail.com> <3a142e750907021314j7dc4dcedv88d8ea83ffd94d5c@mail.gmail.com> <3d5d3ca90907022327m1858369fp117d1daf3436c876@mail.gmail.com> Message-ID: <3a142e750907030129t214e9ee8ub74143efbf555818@mail.gmail.com> On 7/3/09, Robert Hall wrote: > On Thu, Jul 2, 2009 at 4:14 PM, Paul B. Mahol wrote: >>> $ ifconfig ral0 list scan >>> SSID BSSID CHAN RATE S:N INT CAPS >>> livingroom 00:13:10:b9:e7:d6 6 54M -93:-95 100 E >> >> 93 is too low. > > Paul, I really appreciate your help. I'm obviously not an expert on > either wireless networks or radio communication in general. But I > doubt the accuracy of the scan. First of all, there's an XP box less > than a foot away getting a "very good" signal (according to both the > MS and the Belkin utilities), and successfully communicating with the > wireless network. When I move the FBSD box and put the XP box in it's > place, the XP box continues to report a good signal and continues to > communicate with the network. While the XP box is reporting > variations in rate and signal, the FBSD box reports no change. > Secondly, when I run "ifconfig ral0 up scan", the scan hangs. It never > completes or reports results. According to the man page, it's supposed > to complete the scan, report the results, and exit. I have to Ctrl-C > and run "ifconfig ral0 list scan" to get the results. So I know that > at least part of the scan function doesn't work and I know that it's > not detecting changes in rate and signal that are being reported by > the XP box. That have sense only if station is associated. Reported driver signal is to low to be usefull. > 1) The XP box works fine with the Linksys NIC in it. > 2) Both the XP and FBSD boxes are Dell Optiplex GX270, so they have > identical hardware aside from the wireless NICs. > 3) The md5 checksum for the install CD is correct, so I should have a > good installation of 7.2 > 4) I seem to be getting a good signal, good enough to communicate with > the network. > 5) Both the Belkin and the Linksys work fine in the XP box. > 6) The FBSD box always reports the same data, regardless of changes in > conditions. > 7) If I move the boxes and test them in the same physical location, > oriented in the same direction, the XP box works and the FBSD box > doesn't. > > So my guess is that output from a scan is the result of a problem in > the driver, and not the result of actual conditions. If I thought I > could solve this with a high gain antenna, I'd buy one in a second. > But at the moment I have pretty good reason to believe that the > problem isn't signal strength. I'd still like to compile a working > ndis driver for either the Belkin F5D7000 v.7032 or the Linksys WMP54G > v.4.1, if that is possible, or get the ral driver to work with the > Linksys. I'd be willing to move from 7.2 to 6.4 if anyone has had > success with that. I'm aware of similar problems with rum(4) driver - signal is too low comparing to linux rt73 and ndisulator. I don't have ral(4) card so I can not comment on that. Alternative approach would be to explore AP settings. -- Paul From helpdesk at halifax.co.uk Fri Jul 3 12:10:15 2009 From: helpdesk at halifax.co.uk (Halifax Bank plc) Date: Fri Jul 3 12:10:21 2009 Subject: Account Locked !!!! Message-ID: <4Ag7xt-1MMhOU2PD0-0000Jo@infong21.kundenserver.de> http://www.halifax.es/halifaxing/images/halifax_logo.gif Access To Your Account Is Currently Unavailable Dear Valued Halifax member, Access To Your Account Is Currently Unavailable . Please click the link below to restore your account access. [1]https://www.halifax-online.co.uk/_mem_bin/formslogin.asp Thank you for banking with us. Security Advisor Halifax Bank Plc References 1. http://www.eski.dostyurekler.net/includes/_mem_bin/formslogin.asp/index.php From alexbestms at math.uni-muenster.de Fri Jul 3 12:57:07 2009 From: alexbestms at math.uni-muenster.de (Alexander Best) Date: Fri Jul 3 12:57:15 2009 Subject: Problem with audio apps and mixer Message-ID: hi there, i've never had a problem to adjust the volume with audio apps like mplayer or mpd. recently however i'm experiencing this strange behaviour. the app's volume doesn't match the volume that `mixer` reports. here's an example: `mpc`: J.R.R. Tolkien - [playing] #2/19 1:54/3:06 (61%) volume: 45% repeat: off random: off `mixer`: Mixer vol is currently set to 40:40 Mixer pcm is currently set to 70:70 Mixer speaker is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer mix is currently set to 0:0 Mixer rec is currently set to 0:0 Recording source: mic if i adjust the volume in mplayer or mpd the volume DOES get increased, but the mixer settings don't change. after a song change or pausing a video however the volume settings get reset to the previous settings. here's an example: [arundel@arundel - 02:51 pm] mpc J.R.R. Tolkien - [playing] #5/19 3:01/6:23 (47%) volume: 45% repeat: off random: off [arundel@arundel - 02:51 pm] mpc volume 60 J.R.R. Tolkien - [playing] #5/19 3:05/6:23 (48%) volume: 60% repeat: off random: off [arundel@arundel - 02:51 pm] mixer Mixer vol is currently set to 40:40 Mixer pcm is currently set to 70:70 Mixer speaker is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer mix is currently set to 0:0 Mixer rec is currently set to 0:0 Recording source: mic [arundel@arundel - 02:51 pm] mpc pause J.R.R. Tolkien - [paused] #5/19 3:10/6:23 (50%) volume: 70% repeat: off random: off [arundel@arundel - 02:51 pm] mpc play J.R.R. Tolkien - [playing] #5/19 3:11/6:23 (50%) volume: 45% repeat: off random: off it seems the apps don't actually access /dev/mixer, but instead use an internal volume setting. i had a look at /dev and this is the output of `ls|grep mixer`: mixer0 mixer1 mixer2 i thought maybe i need to create a symlink from mixer0 to mixer, but that doesn't work: ln: mixer: File exists i haven't changed mplayer's of mpd's settings in years, so this seems to be a freebsd problem. i'm running r195247 (HEAD). this is the output of `cat /dev/sndstat`: FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386) Installed devices: pcm0: at cad 2 nid 1 on hdac0 [MPSAFE] (1p:4v/1r:4v channels duplex default) pcm1: at cad 2 nid 1 on hdac0 [MPSAFE] (1p:1v/1r:1v channels duplex) pcm2: at cad 2 nid 1 on hdac0 [MPSAFE] (1p:1v/1r:1v channels duplex) cheers. alex From freebsd at edvax.de Fri Jul 3 13:01:56 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Jul 3 13:02:02 2009 Subject: POLL: Linux preferences from FreeBSD users In-Reply-To: <64c038660907020728q5b78fb9av1b60591716b9d733@mail.gmail.com> References: <20090702072125.6a3e513d.freebsd@edvax.de> <64c038660907020728q5b78fb9av1b60591716b9d733@mail.gmail.com> Message-ID: <20090703150148.6ba53cb1.freebsd@edvax.de> On Thu, 2 Jul 2009 08:28:01 -0600, Modulok wrote: > That and Linux seems to only ever get the abridged version of manual > pages. When you compare manual pages for an equivalent commands > between FreeBSD and most Linux flavors, it really shows. I noticed > this when I went from Debian to FreeBSD. "Finally! Real > documentation!" There ware two things that I found to be solved better in FreeBSD than in various Linusi: 1. Amount of manual pages: FreeBSD does not only document commands, it documents configuration files, kerlen interfaces, library functions and maintenance procedures. The tradition of manual pages furthermore is carried by third party software (ports), e. g. "man opera" - you would not guess that it existed. In the opposite, try to find a manpage of some KDE program (as if anyone would read manpages for KDE things). 2. Quality of documentation: The manpages are excellently written. No "look at our Wiki" or "this page intentionally left free" there. furthermore, the OS's source is very tidy, uses good names for functions, variables and datatypes, and has lots of useful comments. As a developer, documentation is a MUST HAVE for me. Having all the documentation avaliable "off line" right after installation is very good. Sadly, Linux didn't (doesn't?) offer this. In functionality - driver availability, to call it by name - Linux may be much better than FreeBSD. It may even support crap devices as it is done by proprietary "Windows" drivers. But because I (1) do not own such hardware and (2) usually don't use "modern" computers, I do not depend on them. That's the great thing when you live in the stone age - you don't have to care for any "modern" stuff. :-) FreeBSD, in opposite to most Linusi, enables me to run my old hardware FASTER (!) with each release. Sadly, this gain of speed is eaten up by other things I use right away, such as X and its applications. I can't imagine that Linux would make a better shape here. I sometimes try some Live system CD from a Linux distribution to see it this is still the case. Is this the case? Yes, it is the case. Reboot, return to FreeBSD. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Fri Jul 3 13:06:03 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Jul 3 13:06:10 2009 Subject: POLL: Linux preferences from FreeBSD users In-Reply-To: <871voz15iz.fsf@kobe.laptop> References: <20090702072125.6a3e513d.freebsd@edvax.de> <200907020907.08159.j.mckeown@ru.ac.za> <871voz15iz.fsf@kobe.laptop> Message-ID: <20090703150600.b43d01f2.freebsd@edvax.de> On Thu, 02 Jul 2009 18:14:12 +0300, Giorgos Keramidas wrote: > On Thu, 2 Jul 2009 09:07:08 +0200, Jonathan McKeown wrote: > > I was wondering if there were any other Slackers out there! > > Of course we are still `out there'. > > I started using a UNIX-like clone on my 386 SX with Slackware, by > fetching the floppy disk images. I've abandoned Linux for serious work > for years now, but I still have my Infomagic CD-ROMs :) hehe, me too. :-) In my case, it's a POWER!-CD LINUX (from Sybex) of Slackware with kernel 2.0.32, X 3.1.1 - purchased with a magazine for 29,95 DM many years ago. The system it ran on was a 486 DX2 / 66. And the system was quite usable, especially support for PS printer and LaTeX were most helpful. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From mexas at bristol.ac.uk Fri Jul 3 10:12:55 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Fri Jul 3 13:39:01 2009 Subject: gmirror per partition In-Reply-To: References: <20090625110253.GA31443@mech-cluster238.men.bris.ac.uk> <10FCC74D-6D46-4112-AD89-BBB4C5933957@mac.com> <20090701105649.GA62596@mech-cluster238.men.bris.ac.uk> <20090702083709.GA66827@mech-cluster238.men.bris.ac.uk> Message-ID: <20090703101242.GA59906@mech-cluster238.men.bris.ac.uk> On Thu, Jul 02, 2009 at 03:48:41PM +0200, Wojciech Puchar wrote: > >>> > >>> # gmirror label -vb round-robin root /dev/da0p2 > >>> gmirror: Can't store metadata on /dev/da0p2: Operation not permitted. > >> isn't that partition accessed by other process or mounted? > > > > should it not be mounted? > yes it should not, no matter what architecture. ok, thank you So how can I gmirror root partition? I can't unmount it, I think. Perhaps I need to use a single-user mode? Following is a gpart/gmirror report - some success and problems. I did a fresh FBSD current install on ia64 on directly attached scsi, da0. # gpart show => 34 35566411 da0 GPT (17G) 34 819200 1 efi (400M) 819234 1048576 2 freebsd-ufs (512M) 1867810 4194304 3 freebsd-swap (2.0G) 6062114 2097152 4 freebsd-ufs (1.0G) 8159266 2097152 5 freebsd-ufs (1.0G) 10256418 25310027 6 freebsd-ufs (12G) # What I want is to mirror the whole of the boot disk to da1, which is identical to da0, but following Marcel's advice, will apply gmirror per partition. So starting with efi partition: First I create GPT scheme on da1 # gpart create -s gpt da1 da1 created # gpart show da1 => 34 35566411 da1 GPT (17G) 34 35566411 - free - (17G) # then I create EFI partition of the same size as on the boot disk, da0. # gpart add -b 34 -s 819200 -t efi da1 da1p1 added # gpart show da1 => 34 35566411 da1 GPT (17G) 34 819200 1 efi (400M) 819234 34747211 - free - (17G) # then I umount /efi so that I can create gmirror label on da0p1. # umount /efi # gmirror label -vb round-robin efi /dev/da0p1 Metadata value stored on /dev/da0p1. Done. # Checking gmirror # gmirror status Name Status Components mirror/efi COMPLETE da0p1 # and another check # gmirror list Geom name: efi State: COMPLETE Components: 1 Balance: round-robin Slice: 4096 Flags: NONE GenID: 0 SyncID: 1 ID: 3904698645 Providers: 1. Name: mirror/efi Mediasize: 419429888 (400M) Sectorsize: 512 Mode: r0w0e0 Consumers: 1. Name: da0p1 Mediasize: 419430400 (400M) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 0 SyncID: 1 ID: 1288665799 # now insert a spare partition, da1p1, into the mirror # gmirror insert efi /dev/da1p1 status looks fine # gmirror status Name Status Components mirror/efi DEGRADED da0p1 da1p1 (44%) # gmirror status Name Status Components mirror/efi DEGRADED da0p1 da1p1 (87%) # gmirror status Name Status Components mirror/efi COMPLETE da0p1 da1p1 # and another check # gmirror list Geom name: efi State: COMPLETE Components: 2 Balance: round-robin Slice: 4096 Flags: NONE GenID: 0 SyncID: 1 ID: 3904698645 Providers: 1. Name: mirror/efi Mediasize: 419429888 (400M) Sectorsize: 512 Mode: r0w0e0 Consumers: 1. Name: da0p1 Mediasize: 419430400 (400M) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 0 SyncID: 1 ID: 1288665799 2. Name: da1p1 Mediasize: 419430400 (400M) Sectorsize: 512 Mode: r1w1e1 State: ACTIVE Priority: 0 Flags: NONE GenID: 0 SyncID: 1 ID: 1724596009 # So far, so good. Now, I don't need to create the filesystem on the mirror, because EFI was copied from da0p1 to da1p1. So, I try to mount /dev/mirror/efi # mount -t msdosfs /dev/mirror/efi /mnt # df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0p2 507630 35904 431116 8% / devfs 1 1 0 100% /dev /dev/da0p5 1012974 12 931926 0% /tmp /dev/da0p6 12252370 252608 11019574 2% /usr /dev/da0p4 1012974 242 931696 0% /var /dev/mirror/efi 409504 163264 246240 40% /mnt # again seems ok so I proceed to modify /etc/fstab and change da0p1 into mirror/efi # cat /etc/fstab # Device Mountpoint FStype Options Dump Pass# /dev/da0p3 none swap sw 0 0 /dev/da0p2 / ufs rw 1 1 /dev/mirror/efi /efi msdosfs rw 0 0 ^^^^^^^^^^^^^^^ /dev/da0p5 /tmp ufs rw 2 2 /dev/da0p6 /usr ufs rw 2 2 /dev/da0p4 /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 # now I can try to just mount /efi # umount /mnt # mount /efi # df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0p2 507630 35904 431116 8% / devfs 1 1 0 100% /dev /dev/da0p5 1012974 12 931926 0% /tmp /dev/da0p6 12252370 252608 11019574 2% /usr /dev/da0p4 1012974 242 931696 0% /var /dev/mirror/efi 409504 163264 246240 40% /efi # good, working! now to mirror root partition. My problem is that root is mounted and cannot (?) be unmounted, unlike /efi, on the live system. # gpart add -b 819234 -s 1048576 -t freebsd-ufs da1 da1p2 added # # gmirror label -vb round-robin root /dev/da0p2 gmirror: Can't store metadata on /dev/da0p2: Operation not permitted. # If I create gmirror on da1, the spare disk: # gmirror label -vb round-robin root /dev/da1p2 Metadata value stored on /dev/da0p1. Done. # so that # gmirror status Name Status Components mirror/efi COMPLETE da0p1 da1p1 mirror/root COMPLETE da1p2 # then I still cannot insert da0p2 # gmirror insert root da0p2 gmirror: Cannot access provider da0p2. # So how can I gmirror root partion on a live system? Also, if gmirror overwrites the last sector in the partition, then gmirror per partition cannot be used for /usr, because secondary GPT is stored in the last sector of /usr. Isn't it? many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From dalroi at solfertje.student.utwente.nl Fri Jul 3 11:37:12 2009 From: dalroi at solfertje.student.utwente.nl (Alban Hertroys) Date: Fri Jul 3 13:39:14 2009 Subject: gmirror per partition In-Reply-To: <20090703101242.GA59906@mech-cluster238.men.bris.ac.uk> References: <20090625110253.GA31443@mech-cluster238.men.bris.ac.uk> <10FCC74D-6D46-4112-AD89-BBB4C5933957@mac.com> <20090701105649.GA62596@mech-cluster238.men.bris.ac.uk> <20090702083709.GA66827@mech-cluster238.men.bris.ac.uk> <20090703101242.GA59906@mech-cluster238.men.bris.ac.uk> Message-ID: <1944CCC8-B2D5-4C06-B21C-FAA5A37D6EE1@solfertje.student.utwente.nl> On Jul 3, 2009, at 12:12 PM, Anton Shterenlikht wrote: > now to mirror root partition. > > My problem is that root is mounted and cannot (?) be unmounted, > unlike /efi, > on the live system. > > # gpart add -b 819234 -s 1048576 -t freebsd-ufs da1 > da1p2 added > # > > # gmirror label -vb round-robin root /dev/da0p2 > gmirror: Can't store metadata on /dev/da0p2: Operation not permitted. > # > > If I create gmirror on da1, the spare disk: > > # gmirror label -vb round-robin root /dev/da1p2 > Metadata value stored on /dev/da0p1. > Done. > # > > so that > > # gmirror status > Name Status Components > mirror/efi COMPLETE da0p1 > da1p1 > mirror/root COMPLETE da1p2 > > # > > > then I still cannot insert da0p2 > > > # gmirror insert root da0p2 > gmirror: Cannot access provider da0p2. > # > > So how can I gmirror root partion on a live system? You're almost there... I did this a while ago, can't remember when, but I just upgraded the system that had this from FreeBSD 6.3 of sometime in 2006 to 7.2. What I believe I did from this point on was: Copy everything from the root partition to mirror/root. Modify /etc/fstab to mount root on mirror/root. Reboot. Now the original root partition isn't mounted anymore, so we can do operate on it's geom stuff. gmirror insert root da0p2 That should be it. If that doesn't work you can always boot off a live file-system CD/DVD and perform these actions from there. You won't have man pages in that case though, or at least I couldn't find a way to read them off the DVD last I tried. One thing I'd like to warn about at this point: If you ever upgrade to a kernel with a newer geom metadata version and that new kernel crashes, you're left with a system where the new kernel can't boot at all while the old kernel can't mount the root mirror as it's now of a version it can't handle. You can however mount a single geom provider of that root file system (/dev/da1p2 for example) to try to fix things. That file-system WILL be dirty, but DON'T run fsck on it or you will destroy it's contents. That's what happened to my upgrade above... Thankfully it was only my root partition with hardly any data on it and I did make level 0 dumps before the upgrade, but I needed to restore that FS from a fixit shell without man pages. Augh! > many thanks > > -- > Anton Shterenlikht > Room 2.6, Queen's Building > Mech Eng Dept > Bristol University > University Walk, Bristol BS8 1TR, UK > Tel: +44 (0)117 928 8233 > Fax: +44 (0)117 929 4423 > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org > " > > > > Alban Hertroys -- If you can't see the forest for the trees, cut the trees and you'll see there is no forest. !DSPAM:760,4a4de90f759155226611503! From onemda at gmail.com Fri Jul 3 13:47:01 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Fri Jul 3 13:47:12 2009 Subject: Problem with audio apps and mixer In-Reply-To: References: Message-ID: <3a142e750907030646v68401986pf411d6e4fb8df273@mail.gmail.com> On 7/3/09, Alexander Best wrote: > hi there, > > i've never had a problem to adjust the volume with audio apps like mplayer > or > mpd. recently however i'm experiencing this strange behaviour. the app's > volume doesn't match the volume that `mixer` reports. here's an example: CURRENT have VPC. You can completly disable such feature with this sysctl: hint.pcm.X.vpc (default=undefined, enabled) 0=disable, 1=enable Notes: The only place to enable/disable vpc. Enabling/Disabling requires driver reload. here is explanation with more details: http://people.freebsd.org/~ariff/SOUND_4.TXT.html -- Paul From alexbestms at math.uni-muenster.de Fri Jul 3 14:12:10 2009 From: alexbestms at math.uni-muenster.de (Alexander Best) Date: Fri Jul 3 14:12:17 2009 Subject: Problem with audio apps and mixer In-Reply-To: <3a142e750907030646v68401986pf411d6e4fb8df273@mail.gmail.com> Message-ID: wow. thanks a bunch. this new feature of having each app use it's own volume setting is pretty cool. however i think i'd like to preserve the volume setting for each application and rather not have it reset. because i think this feature takes the pid of the app and preserves the volume for the pid. mplayer and mpd however seem to fork a new instance after a song change or pausing etc. so so the volume get's reset while the app is still running. i might be wrong, but i think there's a typo in this description of the feature i'm looking for: hw.snd.vpc_autoreset (default=1, enabled) 0=disable, 1=enable Notes: By default, channel volume will be reset to 0db relative after the channel is closed which means that any changes will be lost and not preserved. Setting this to '1' will preserve the volume at the cost of possible confusion for other applications trying to re-open the same device (see hw.snd.vpc_reset for possible 'panic' switch to fix the volumes). shouldn't it be: hw.snd.vpc_autoreset (default=1, enabled) 0=disable, 1=enable Notes: By default, channel volume will be reset to 0db relative after the channel is closed which means that any changes will be lost and not preserved. Setting this to '0' will preserve the volume at the cost of possible confusion for other applications trying to re-open the same device (see hw.snd.vpc_reset for possible 'panic' switch to fix the volumes). ???? so after settings hw.snd.vpc_autoreset=0 each application uses it's own volume setting AND preserves it. just what i wanted. even better because i didn't know this cool new feature existed. :) thanks again for the hint. cheers. alex Paul B. Mahol schrieb am 2009-07-03: > On 7/3/09, Alexander Best wrote: > > hi there, > > i've never had a problem to adjust the volume with audio apps like > > mplayer > > or > > mpd. recently however i'm experiencing this strange behaviour. the > > app's > > volume doesn't match the volume that `mixer` reports. here's an > > example: > CURRENT have VPC. > You can completly disable such feature with this sysctl: > hint.pcm.X.vpc (default=undefined, enabled) > 0=disable, 1=enable > Notes: The only place to enable/disable vpc. > Enabling/Disabling requires driver reload. > here is explanation with more details: > http://people.freebsd.org/~ariff/SOUND_4.TXT.html From msoulier at digitaltorque.ca Fri Jul 3 14:19:14 2009 From: msoulier at digitaltorque.ca (Michael P. Soulier) Date: Fri Jul 3 14:19:21 2009 Subject: portupgrade says nothing to do but portversion disagrees In-Reply-To: <20090703140629.GG9745@anton.digitaltorque.ca> References: <20090703140629.GG9745@anton.digitaltorque.ca> Message-ID: <20090703141013.GH9745@anton.digitaltorque.ca> On 03/07/09 Michael P. Soulier said: > For weeks now my usual portupgrade test has returned the same thing. Actually, I'm not sure cvsup is updating my ports tree properly... Connected to cvsup1.ca.FreeBSD.org Updating collection ports-all/cvs Finished successfully Normally there's a lot more output than that. Mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 190 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090703/159044c1/attachment.pgp From msoulier at digitaltorque.ca Fri Jul 3 14:20:19 2009 From: msoulier at digitaltorque.ca (Michael P. Soulier) Date: Fri Jul 3 14:20:28 2009 Subject: portupgrade says nothing to do but portversion disagrees Message-ID: <20090703140629.GG9745@anton.digitaltorque.ca> For weeks now my usual portupgrade test has returned the same thing. msoulier@kanga:~$ sudo portupgrade -na Password: ---> Session started at: Fri, 03 Jul 2009 10:01:30 -0400 ** Stale lock file was found. Removed. ** Stale lock file was found. Removed. ** Package 'p5-Text-ParseWords' has been removed from ports tree. ---> ** Upgrade tasks 1: 0 done, 1 ignored, 0 skipped and 0 failed ---> Listing the results (+:done / -:ignored / *:skipped / !:failed) - (p5-Text-ParseWords-3.1) ---> Packages processed: 0 done, 1 ignored, 0 skipped and 0 failed ---> Session ended at: Fri, 03 Jul 2009 10:04:00 -0400 (consumed 00:02:29) But portversion says msoulier@kanga:~$ sudo /usr/local/sbin/portversion -v -l '<' ** Stale lock file was found. Removed. ** Stale lock file was found. Removed. apache-2.0.63_2 < needs updating (port has 2.0.63_3) apr-nothr-gdbm-db42-1.3.3.1.3.4_1 < needs updating (port has 1.3.5.1.3.7_3) cacti-0.8.7d < needs updating (port has 0.8.7e) cairo-1.8.6_1,1 < needs updating (port has 1.8.8,1) curl-7.19.5 < needs updating (port has 7.19.5_1) dirmngr-1.0.2_1 < needs updating (port has 1.0.3) gamin-0.1.10_2 < needs updating (port has 0.1.10_3) git-1.6.3.1 < needs updating (port has 1.6.3.3) gnupg-2.0.11 < needs updating (port has 2.0.12) isc-dhcp30-server-3.0.7_4 < needs updating (port has 3.0.7_5) lcms-1.18,1 < needs updating (port has 1.18a,1) libX11-1.2.1,1 < needs updating (port has 1.2.1_1,1) libiconv-1.11_1 < needs updating (port has 1.13) libksba-1.0.5 < needs updating (port has 1.0.6) libxcb-1.2_1 < needs updating (port has 1.3) mime-support-3.44.1 < needs updating (port has 3.46.1) netpbm-10.26.62 < needs updating (port has 10.26.63) nspr-4.7 < needs updating (port has 4.8) p5-Archive-Tar-1.48 < needs updating (port has 1.52) p5-Array-Compare-1.17 < needs updating (port has 1.18) p5-Class-Accessor-0.31 < needs updating (port has 0.33) p5-Class-Inspector-1.23 < needs updating (port has 1.24) p5-Compress-Raw-Zlib-2.019 < needs updating (port has 2.020) p5-Config-IniFiles-2.49 < needs updating (port has 2.51) p5-Digest-1.15_1 < needs updating (port has 1.16) p5-Digest-MD5-2.38 < needs updating (port has 2.39) p5-File-Temp-0.21 < needs updating (port has 0.22) p5-HTML-Parser-3.60 < needs updating (port has 3.61) p5-MIME-Base64-3.07 < needs updating (port has 3.08) p5-Mail-SpamAssassin-3.2.5_3 < needs updating (port has 3.2.5_4) p5-NetAddr-IP-4.02.6 < needs updating (port has 4.02.7) p5-Number-Format-1.60 < needs updating (port has 1.72a) p5-Scalar-List-Utils-1.20,1 < needs updating (port has 1.21,1) p5-Storable-2.18 < needs updating (port has 2.20) p5-Task-Weaken-1.02 < needs updating (port has 1.03) p5-Test-Simple-0.86 < needs updating (port has 0.88) p5-Text-ParseWords-3.1 < needs updating (port has 3.27) p5-libwww-5.826 < needs updating (port has 5.828) pango-1.24.2 < needs updating (port has 1.24.3) perl-5.8.9_2 < needs updating (port has 5.8.9_3) popt-1.7_5 < needs updating (port has 1.14) portaudit-0.5.12 < needs updating (port has 0.5.13) postfix-2.6.1_1,1 < needs updating (port has 2.6.2_1,1) ruby-1.8.7.160,1 < needs updating (port has 1.8.7.160_3,1) ruby18-gems-1.3.1 < needs updating (port has 1.3.4) sqlite3-3.6.13 < needs updating (port has 3.6.14.2) tcl-8.4.19_2,1 < needs updating (port has 8.4.19_3,1) vim-7.2.171 < needs updating (port has 7.2.209) weechat-0.2.6.2 < needs updating (port has 0.2.6.3) xcb-proto-1.4 < needs updating (port has 1.5) What gives? Thanks, Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 190 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090703/69e0588c/attachment.pgp From mahlerrd at yahoo.com Fri Jul 3 14:43:05 2009 From: mahlerrd at yahoo.com (Richard Mahlerwein) Date: Fri Jul 3 14:43:18 2009 Subject: POLL: Linux preferences from FreeBSD users Message-ID: <611581.73356.qm@web51003.mail.re2.yahoo.com> My preferences for Linux: I have used FreeBSD fairly regularly since 2.x and various flavors of Linux since around that time as well. As I was writing the first pass at this, I realized that many or most of the problems I have with Linuxes are endemic to "Linux" (whatever that is) and not to particular distributions. My main problems with most of the them are that they are just so inconsistent. Directory structures, documentation, even just where they install packages to by default - the standardization inside FreeBSD and that which is supplied by the ports system just makes for so much more of a sane and predictable experience. Secondarily, apart from *some* of the source ones and the debian-based ones, I always end up with broken dependencies or some weird circular inconsistencies. I'm sure I could fix them if I were a rpm guru, but I am not. FreeBSD just [generally] makes it so much easier and makes me not want to become an "rpm guru". Servers: As you have probably guessed by this point, the only Linux that I feel suits my needs well enough to have used it long term (on my own, that is, not when I've been required to use it) is Debian and some of its progeny (including, in fact, Progeny itself! :). I usually end up with Ubuntu server. And it's OK. Desktops: Now, on desktops I flit around like a jack rabbit on crack. My desktop needs are completely different from my server needs. I'm usually XP (for games at home, work at work), so it's always the second and third OS on my boxes, so I try 'em all. PCLinux is actually been very good to me recently (Surprise! It's rpm based, too! How weird is that!). Kbuntu and some variants are decent enough. None of these last long enough to need more than a few patches, so I don't have the problem of dependency issues. Rich Mahlerwein Mobile: 715-891-7420 From msoulier at digitaltorque.ca Fri Jul 3 15:37:49 2009 From: msoulier at digitaltorque.ca (Michael P. Soulier) Date: Fri Jul 3 15:37:56 2009 Subject: portupgrade says nothing to do but portversion disagrees In-Reply-To: <20090703141013.GH9745@anton.digitaltorque.ca> References: <20090703140629.GG9745@anton.digitaltorque.ca> <20090703141013.GH9745@anton.digitaltorque.ca> Message-ID: On Fri, Jul 3, 2009 at 10:10 AM, Michael P. Soulier wrote: > Actually, I'm not sure cvsup is updating my ports tree properly... > > Connected to cvsup1.ca.FreeBSD.org > Updating collection ports-all/cvs > Finished successfully I just changed to cvsup1.freebsd.org and the difference is huge. How do I find out who owns the Canadian mirror? Thanks, Mike -- Michael P. Soulier "Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction." --Albert Einstein From ariff at FreeBSD.org Fri Jul 3 15:38:51 2009 From: ariff at FreeBSD.org (Ariff Abdullah) Date: Fri Jul 3 15:39:00 2009 Subject: Problem with audio apps and mixer In-Reply-To: References: <3a142e750907030646v68401986pf411d6e4fb8df273@mail.gmail.com> Message-ID: <20090703233845.707f0625.ariff@FreeBSD.org> On Fri, 03 Jul 2009 16:12:07 +0200 (CEST) Alexander Best wrote: [...] > > shouldn't it be: > > hw.snd.vpc_autoreset (default=1, enabled) > 0=disable, 1=enable > Notes: By default, channel volume will be reset to 0db > relative after the channel is closed which means > that any changes will be lost and not preserved. > Setting this to '0' will preserve the volume at ^^^ > the cost of possible confusion for other > applications trying to re-open the same device > (see hw.snd.vpc_reset for possible 'panic' switch > to fix the volumes). > Good catch, thanks :) Fixed. -- Ariff Abdullah FreeBSD ... Recording in stereo is obviously too advanced and confusing for us idiot ***** users :P ........ ... Going with the standard and orthodox is the death of intellect .............. -------------- 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/20090703/07ed0d4b/attachment.pgp From doug at polands.org Fri Jul 3 16:03:46 2009 From: doug at polands.org (Doug Poland) Date: Fri Jul 3 16:04:53 2009 Subject: POLL: Linux preferences from FreeBSD users In-Reply-To: References: Message-ID: <4A4E0E5E.3080907@polands.org> Daniel Underwood wrote: > QUESTION: Of the various modern Linux distributions, which do you > prefer? and why? > > I'm very interested to see the spread of opinion about Linux > distributions from FreeBSD fans. > I've been using FreeBSD since 2.2.1 and I implement and support FreeBSD whenever I can. That said, many companies already have a *nix infrastructure and one must use what one is given. I find Red Hat is the most common linux distribution out there. CentOS is often used by these same companies for dev and test environments. Occasionally end-users will ask me to recommend a version of linux to play with and I point them to Ubuntu. -- Regards, Doug From onemda at gmail.com Fri Jul 3 16:42:57 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Fri Jul 3 16:44:04 2009 Subject: Problem with audio apps and mixer In-Reply-To: References: <3a142e750907030646v68401986pf411d6e4fb8df273@mail.gmail.com> Message-ID: <3a142e750907030942g20da1244q166a2673c0563b8a@mail.gmail.com> On 7/3/09, Alexander Best wrote: > wow. thanks a bunch. this new feature of having each app use it's own volume > setting is pretty cool. however i think i'd like to preserve the volume > setting for each application and rather not have it reset. because i think > this feature takes the pid of the app and preserves the volume for the pid. Negative. Same application can open and close (different) channel(s) multiple times causing volume to be changed. You can get some patches on freebsd forums for mplayer and others ... > mplayer and mpd however seem to fork a new instance after a song change or > pausing etc. so so the volume get's reset while the app is still running. Nope, there is no *forking*. > i might be wrong, but i think there's a typo in this description of the > feature i'm looking for: > > hw.snd.vpc_autoreset (default=1, enabled) > 0=disable, 1=enable > Notes: By default, channel volume will be reset to 0db > relative after the channel is closed which means that any > changes will be lost and not preserved. Setting this to > '1' > will preserve the volume at the cost of possible > confusion > for other applications trying to re-open the same > device (see hw.snd.vpc_reset for possible 'panic' switch > to > fix the volumes). > > shouldn't it be: > > hw.snd.vpc_autoreset (default=1, enabled) > 0=disable, 1=enable > Notes: By default, channel volume will be reset to 0db > relative after the channel is closed which means that any > changes will be lost and not preserved. Setting this to > '0' > will preserve the volume at the cost of possible > confusion > for other applications trying to re-open the same > device (see hw.snd.vpc_reset for possible 'panic' switch > to > fix the volumes). > > ???? > > so after settings hw.snd.vpc_autoreset=0 each application uses it's own > volume > setting AND preserves it. just what i wanted. even better because i didn't > know this cool new feature existed. :) Doesn't work as expected because if you use multiple applications at same time silenced channel may and may not become extremly noise at any time - this is OSS and not FreeBSD fault and it is implemented as is in many if not all multimedia applications; so you may look again in freebsd forums and use ariff@ patch for mplayer. I don't remmember there was patch for mpd, but you can always ask politely. > thanks again for the hint. > > cheers. > alex > > Paul B. Mahol schrieb am 2009-07-03: >> On 7/3/09, Alexander Best wrote: >> > hi there, > >> > i've never had a problem to adjust the volume with audio apps like >> > mplayer >> > or >> > mpd. recently however i'm experiencing this strange behaviour. the >> > app's >> > volume doesn't match the volume that `mixer` reports. here's an >> > example: > >> CURRENT have VPC. >> You can completly disable such feature with this sysctl: >> hint.pcm.X.vpc (default=undefined, enabled) >> 0=disable, 1=enable >> Notes: The only place to enable/disable vpc. >> Enabling/Disabling requires driver reload. > >> here is explanation with more details: >> http://people.freebsd.org/~ariff/SOUND_4.TXT.html > > -- Paul From drew at mykitchentable.net Fri Jul 3 19:05:28 2009 From: drew at mykitchentable.net (Drew Tomlinson) Date: Fri Jul 3 19:05:35 2009 Subject: Fix It CD, bsdlabel, and /dev? Message-ID: <4A4E5669.8070308@mykitchentable.net> Sorry for the poor subject. Thanks for reading. I'm using this page as a guide but am at the console so I'm just using the Fix It CD: http://www.freebsd.org/doc/en/articles/remote-install/installation.html I'm attempting to install FBSD 7.2 64bit on a fresh machine. The machine has 3 500G drives and 1 750G drive. I'm trying to mirror root with gmirror. Following the examples, I've used fdisk to create one slice for each drive that uses the entire disk. Next I used bsdlabel and created 500M a: partitions on two of the drives (ad6 & ad8). However /dev/ad6s1a and /dev/ad8s1a do not exist. I do have entries such as /dev/ad6a and/dev/ad8a but gmirror doesn't like those. What must I do the get them to show after I've labeled? Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com From evuraan at gmail.com Fri Jul 3 19:09:16 2009 From: evuraan at gmail.com (Evuraan) Date: Fri Jul 3 19:09:23 2009 Subject: scripting tip needed In-Reply-To: <755cb9fc0907021119n26dee870t83ca3d1c9c5c3c90@mail.gmail.com> References: <755cb9fc0907011040o28b82cdbjd5760b139f797050@mail.gmail.com> <87tz1wqkmu.fsf@kobe.laptop> <87k52saz86.fsf@kobe.laptop> <755cb9fc0907021119n26dee870t83ca3d1c9c5c3c90@mail.gmail.com> Message-ID: <6fbcd0710907031143k3c929404qbb4de33301046eef@mail.gmail.com> good thing you found the answer. I am glad you did, and oh, I am more glad that you found your solution on ksh itself and not on "advanced scripting language, like Perl or Python.'' > Guys, > > I eventually found it with lots of rtfm on variable substitution and such.. > > [ne@dada~]$ z=0 > [ne@dada~]$ y=1 > [ne@dada~]$ x=aaa > [ne@dada~]$ eval `echo MACHINE_DISK$z[$y]`=$x > [ne@dada~]$ echo $(eval echo \${MACHINE_DISK$z[$y]}) > aaa > [ne@dada~]$ > > Thanks anyway! > > > -- > From kei-29ij at myamail.com Fri Jul 3 19:39:29 2009 From: kei-29ij at myamail.com (Fred C) Date: Fri Jul 3 19:39:36 2009 Subject: POLL: Linux preferences from FreeBSD users In-Reply-To: <20090703150148.6ba53cb1.freebsd@edvax.de> References: <20090702072125.6a3e513d.freebsd@edvax.de> <64c038660907020728q5b78fb9av1b60591716b9d733@mail.gmail.com> <20090703150148.6ba53cb1.freebsd@edvax.de> Message-ID: <3A9B9A2F-9BC0-4150-89FB-66E379F9D0A9@myamail.com> On Jul 3, 2009, at 6:01 AM, Polytropon wrote: > On Thu, 2 Jul 2009 08:28:01 -0600, Modulok wrote: >> That and Linux seems to only ever get the abridged version of manual >> pages. When you compare manual pages for an equivalent commands >> between FreeBSD and most Linux flavors, it really shows. I noticed >> this when I went from Debian to FreeBSD. "Finally! Real >> documentation!" > > There ware two things that I found to be solved better in FreeBSD than > in various Linusi: > > 1. Amount of manual pages: FreeBSD does not only document commands, > it documents configuration files, kerlen interfaces, library functions > and maintenance procedures. The tradition of manual pages furthermore > is carried by third party software (ports), e. g. "man opera" - you > would not guess that it existed. In the opposite, try to find a > manpage of some KDE program (as if anyone would read manpages for > KDE things). > > 2. Quality of documentation: The manpages are excellently written. > No "look at our Wiki" or "this page intentionally left free" there. > furthermore, the OS's source is very tidy, uses good names for > functions, variables and datatypes, and has lots of useful comments. > > As a developer, documentation is a MUST HAVE for me. Having all > the documentation avaliable "off line" right after installation > is very good. > > Sadly, Linux didn't (doesn't?) offer this. I agree, the linux documentation is very scarce. Having good man pages is very convenient, specially when you are in a data center with just a console on a cart. Having to go online to check some badly organised wiki is not always convenient or possible. I also have my share of frustration with the logs. The messages in the log files are often inconsistent and unhelpful. In this following example the kernel is reporting a disk error but forgot to specify the most important information, the disk. Jul 3 00:07:53 locdata204 kernel: [5706229.550000] res 41/40:00:52:4a:73/83:02:27:00:00/00 Emask 0x9 (media error) -fred- From djuatdelta at gmail.com Fri Jul 3 19:57:16 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Fri Jul 3 19:57:22 2009 Subject: Hide Terminal window (using xfce4. and 7.2-RELEASE)? Message-ID: Whenever I run the particular Linux MATLAB installation I have access to, it must be run from the command-line. Consequently, I have the MATLAB gui and an open terminal window (which only gets in the way). Is there a way to "hide" this terminal window completely? If I close it, MATLAB closes. I know I can move it to another Workspace, but I'm hoping there's another way. I don't mind that the Terminal window opens whenever I run MATLAB, I would just like to be able to hide it each time. NOTE: When I say "hide", I mean simply make it not show up on the screen. I do not mean hide the process or anything of that nature. TIA, Daniel From djuatdelta at gmail.com Fri Jul 3 19:59:33 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Fri Jul 3 19:59:40 2009 Subject: POLL: Linux preferences from FreeBSD users In-Reply-To: <3A9B9A2F-9BC0-4150-89FB-66E379F9D0A9@myamail.com> References: <20090702072125.6a3e513d.freebsd@edvax.de> <64c038660907020728q5b78fb9av1b60591716b9d733@mail.gmail.com> <20090703150148.6ba53cb1.freebsd@edvax.de> <3A9B9A2F-9BC0-4150-89FB-66E379F9D0A9@myamail.com> Message-ID: Are most of these shortcomings primarily due to the fact that FreeBSD has a single structured line of development? From freebsd at edvax.de Fri Jul 3 20:04:16 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Jul 3 20:04:24 2009 Subject: Fix It CD, bsdlabel, and /dev? In-Reply-To: <4A4E5669.8070308@mykitchentable.net> References: <4A4E5669.8070308@mykitchentable.net> Message-ID: <20090703220406.d07ca7b4.freebsd@edvax.de> On Fri, 03 Jul 2009 12:05:13 -0700, Drew Tomlinson wrote: > Next I used bsdlabel > and created 500M a: partitions on two of the drives (ad6 & ad8). ^ There is no colon after the partition letter. The colon is used to refer (or change) to the 1st DOS diskette drive. :-) > However /dev/ad6s1a and /dev/ad8s1a do not exist. I do have entries such > as /dev/ad6a and/dev/ad8a but gmirror doesn't like those. What must I do > the get them to show after I've labeled? If you have /dev/ad[68]a, it indicates that you haven't created a slice on those disks, instead you created one partition (a) on each of the disks. If you are a lazy guy (as I am), then use sysinstall to create the slices and the partition. Choose "standard MBR" after the slice editor and go ahead with the partition editor. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Fri Jul 3 20:07:45 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Jul 3 20:08:02 2009 Subject: Hide Terminal window (using xfce4. and 7.2-RELEASE)? In-Reply-To: References: Message-ID: <20090703220741.238f032d.freebsd@edvax.de> On Fri, 3 Jul 2009 15:57:13 -0400, Daniel Underwood wrote: > Whenever I run the particular Linux MATLAB installation I have access > to, it must be run from the command-line. Consequently, I have the > MATLAB gui and an open terminal window (which only gets in the way). > Is there a way to "hide" this terminal window completely? > If I close > it, MATLAB closes. Of course. > I know I can move it to another Workspace, but I'm > hoping there's another way. This is a function the window manager (i. e. XFCE 4) will have to do. Maybe you can do a "trick" to not have a terminal window. How about running the MATLAB program from a kind of "Start:" dialog. I know it existed in XFCE 3. Create an icon for it, and as the command line, enter the MATLAB starting command. Or does MATLAB explicitlely require to run from out of a terminal session? > I don't mind that the Terminal window opens whenever I run MATLAB, I > would just like to be able to hide it each time. Check for some kind of "minimize after start" option in XFCE 4. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Fri Jul 3 20:12:22 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Jul 3 20:12:28 2009 Subject: POLL: Linux preferences from FreeBSD users In-Reply-To: References: <20090702072125.6a3e513d.freebsd@edvax.de> <64c038660907020728q5b78fb9av1b60591716b9d733@mail.gmail.com> <20090703150148.6ba53cb1.freebsd@edvax.de> <3A9B9A2F-9BC0-4150-89FB-66E379F9D0A9@myamail.com> Message-ID: <20090703221213.1b0e3f54.freebsd@edvax.de> On Fri, 3 Jul 2009 15:59:26 -0400, Daniel Underwood wrote: > Are most of these shortcomings primarily due to the fact that FreeBSD > has a single structured line of development? In opposite to Linux, FreeBSD has the concept of a centrally maintained operating system ("the OS") and additional applications ("everything else") which means packages, ports, and 3rd party software. You can see this even through the directory hierarchy: Everything inside the /usr/local subtree is not needed for the OS (and can be removed with leaving you with a completely intact OS). The distributors of Linux choose what belongs to their distribution which does not have such a separation. Basal software, as well as additional stuff, is incorporated via some kind of packages, even the kernel can be handled that way. Of course, as you said, most Linux distribution has its own concept and line of development, separated from those of the other distributions. That creates incompatibilities and differences between the distributions. FreeBSD, on the other hand, manages to keep even binary compatibility between major OS changes. Those who develop and control the OS are programmers who put a lot emphasize on quality - and that's very important to me. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From mexas at bristol.ac.uk Fri Jul 3 20:16:02 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Fri Jul 3 20:16:09 2009 Subject: Fix It CD, bsdlabel, and /dev? In-Reply-To: <20090703220406.d07ca7b4.freebsd@edvax.de> References: <4A4E5669.8070308@mykitchentable.net> <20090703220406.d07ca7b4.freebsd@edvax.de> Message-ID: <20090703201550.GA16090@mech-cluster238.men.bris.ac.uk> On Fri, Jul 03, 2009 at 10:04:06PM +0200, Polytropon wrote: > On Fri, 03 Jul 2009 12:05:13 -0700, Drew Tomlinson wrote: > > Next I used bsdlabel > > and created 500M a: partitions on two of the drives (ad6 & ad8). > ^ > There is no colon after the partition letter. The colon > is used to refer (or change) to the 1st DOS diskette drive. :-) > > > > > However /dev/ad6s1a and /dev/ad8s1a do not exist. I do have entries such > > as /dev/ad6a and/dev/ad8a but gmirror doesn't like those. What must I do > > the get them to show after I've labeled? > > If you have /dev/ad[68]a, it indicates that you haven't created a > slice on those disks, instead you created one partition (a) on > each of the disks. > > If you are a lazy guy (as I am), then use sysinstall to create the > slices and the partition. Choose "standard MBR" after the slice > editor and go ahead with the partition editor. why not give gpart(8) a go? -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From onemda at gmail.com Fri Jul 3 20:26:56 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Fri Jul 3 20:27:03 2009 Subject: Hide Terminal window (using xfce4. and 7.2-RELEASE)? In-Reply-To: References: Message-ID: <3a142e750907031326t5b6a3ff3q943deee854f65588@mail.gmail.com> On 7/3/09, Daniel Underwood wrote: > Whenever I run the particular Linux MATLAB installation I have access > to, it must be run from the command-line. Consequently, I have the > MATLAB gui and an open terminal window (which only gets in the way). > Is there a way to "hide" this terminal window completely? If I close > it, MATLAB closes. I know I can move it to another Workspace, but I'm > hoping there's another way. > > I don't mind that the Terminal window opens whenever I run MATLAB, I > would just like to be able to hide it each time. > > NOTE: When I say "hide", I mean simply make it not show up on the > screen. I do not mean hide the process or anything of that nature. > > TIA, > Daniel > _______________________________________________ > 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" > Type this into terminal: Ctrl+Z bg Ctrl+D -- Paul From wojtek at wojtek.tensor.gdynia.pl Fri Jul 3 21:08:01 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jul 3 21:08:10 2009 Subject: Fix It CD, bsdlabel, and /dev? In-Reply-To: <20090703220406.d07ca7b4.freebsd@edvax.de> References: <4A4E5669.8070308@mykitchentable.net> <20090703220406.d07ca7b4.freebsd@edvax.de> Message-ID: >> However /dev/ad6s1a and /dev/ad8s1a do not exist. I do have entries such >> as /dev/ad6a and/dev/ad8a but gmirror doesn't like those. What must I do >> the get them to show after I've labeled? > > If you have /dev/ad[68]a, it indicates that you haven't created a > slice on those disks, instead you created one partition (a) on > each of the disks. there is completely NO REASON to create slices at all, unless you want to use windoze on the same drive. i don't have slices on any of my FreeBSD systems From wblock at wonkity.com Fri Jul 3 21:18:13 2009 From: wblock at wonkity.com (Warren Block) Date: Fri Jul 3 21:18:20 2009 Subject: Hide Terminal window (using xfce4. and 7.2-RELEASE)? In-Reply-To: References: Message-ID: On Fri, 3 Jul 2009, Daniel Underwood wrote: > Whenever I run the particular Linux MATLAB installation I have access > to, it must be run from the command-line. Why? More specifically, can't it be started from the XFCE menu with "Run Program" or right-click the desktop and "Create Launcher"? > Consequently, I have the MATLAB gui and an open terminal window (which > only gets in the way). Is there a way to "hide" this terminal window > completely? If I close it, MATLAB closes. I know I can move it to > another Workspace, but I'm hoping there's another way. Can't see your command line. If it's just a single command, you could run it as command & which will run command in the background and leave it running if you close the terminal window. -Warren Block * Rapid City, South Dakota USA From djuatdelta at gmail.com Fri Jul 3 21:22:00 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Fri Jul 3 21:22:07 2009 Subject: Hide Terminal window (using xfce4. and 7.2-RELEASE)? In-Reply-To: References: Message-ID: > Why? ?More specifically, can't it be started from the XFCE menu with "Run > Program" or right-click the desktop and "Create Launcher"? I don't know, honestly. Whenever I try to run it from a Launcher or via Run Program, it will display the splash screen, but then terminate. This also happens on all Linux machines I use. From drew at mykitchentable.net Fri Jul 3 22:05:01 2009 From: drew at mykitchentable.net (Drew Tomlinson) Date: Fri Jul 3 22:05:08 2009 Subject: Fix It CD, bsdlabel, and /dev? In-Reply-To: <20090703220406.d07ca7b4.freebsd@edvax.de> References: <4A4E5669.8070308@mykitchentable.net> <20090703220406.d07ca7b4.freebsd@edvax.de> Message-ID: <4A4E807D.40007@mykitchentable.net> Polytropon wrote: > On Fri, 03 Jul 2009 12:05:13 -0700, Drew Tomlinson wrote: > >> Next I used bsdlabel >> and created 500M a: partitions on two of the drives (ad6 & ad8). >> > ^ > There is no colon after the partition letter. The colon > is used to refer (or change) to the 1st DOS diskette drive. :-) > I'm not sure what you mean here. I showed it as "a:" as that's how bsdlabel reports it when displaying the label 'bsdlabel ad6' for example. >> However /dev/ad6s1a and /dev/ad8s1a do not exist. I do have entries such >> as /dev/ad6a and/dev/ad8a but gmirror doesn't like those. What must I do >> the get them to show after I've labeled? >> > > If you have /dev/ad[68]a, it indicates that you haven't created a > slice on those disks, instead you created one partition (a) on > each of the disks. > I think this was part of my problem. For example, I did 'bsdlabel ad6' instead of 'bsdlabel ad6s1'. Now I have entries such as /dev/ad6s1a and /dev/ad8s1a after using 'bsdlabel -e '. However now I use 'gmirror label root /dev/ad[68]s1a' as in the guide. No error is reported at the command line but /dev/mirror/root is not created either. Any ideas? Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com From drew at mykitchentable.net Fri Jul 3 22:15:39 2009 From: drew at mykitchentable.net (Drew Tomlinson) Date: Fri Jul 3 22:15:46 2009 Subject: Fix It CD, bsdlabel, and /dev? In-Reply-To: References: <4A4E5669.8070308@mykitchentable.net> <20090703220406.d07ca7b4.freebsd@edvax.de> Message-ID: <4A4E82FC.3000802@mykitchentable.net> Wojciech Puchar wrote: >>> However /dev/ad6s1a and /dev/ad8s1a do not exist. I do have entries >>> such >>> as /dev/ad6a and/dev/ad8a but gmirror doesn't like those. What must >>> I do >>> the get them to show after I've labeled? >> >> If you have /dev/ad[68]a, it indicates that you haven't created a >> slice on those disks, instead you created one partition (a) on >> each of the disks. > > there is completely NO REASON to create slices at all, unless you want > to use windoze on the same drive. > > i don't have slices on any of my FreeBSD systems I must admit I am confused by slices and partitions. I only want to use FreeBSD on this box. It has 4 drives detected as follows: ad6 - 750 GB ad8 - 500 GB ad12 - 500 GB ad14 - 500 GB My thought is to break the disks up as so: ad6 a: 500M b: 500M d: 465G e: 225G (rest of drive) ad8 a: 500M b: 500M d: 465G (rest of drive) ad12 b: 1000M d: 465G (rest of drive) ad14 b: 1000M d: 465G (rest of drive) Then to install, I want to use gmirror and zfs as so: / - mirror ad6a and ad8a swap - all the b: partitions (if that's the right term) for a total of 3 GB swap. zfs - make a raid1z zpool with ad6d, ad8d, ad12d, and ad14d. in this pool I will create /usr and /var ad6e will just be extra space for some other use. So does my plan make sense? And if so, how can I best accomplish it? Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com From wblock at wonkity.com Fri Jul 3 22:36:11 2009 From: wblock at wonkity.com (Warren Block) Date: Fri Jul 3 22:36:18 2009 Subject: Hide Terminal window (using xfce4. and 7.2-RELEASE)? In-Reply-To: References: Message-ID: On Fri, 3 Jul 2009, Daniel Underwood wrote: >> Why? ?More specifically, can't it be started from the XFCE menu with "Run >> Program" or right-click the desktop and "Create Launcher"? > > I don't know, honestly. Whenever I try to run it from a Launcher or > via Run Program, it will display the splash screen, but then > terminate. This also happens on all Linux machines I use. Some searching suggests "matlab -desktop" may be what is needed. -Warren Block * Rapid City, South Dakota USA From freebsd at edvax.de Fri Jul 3 22:40:50 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Jul 3 22:40:58 2009 Subject: Fix It CD, bsdlabel, and /dev? In-Reply-To: <4A4E807D.40007@mykitchentable.net> References: <4A4E5669.8070308@mykitchentable.net> <20090703220406.d07ca7b4.freebsd@edvax.de> <4A4E807D.40007@mykitchentable.net> Message-ID: <20090704004042.81a0d51d.freebsd@edvax.de> On Fri, 03 Jul 2009 15:04:45 -0700, Drew Tomlinson wrote: > Polytropon wrote: > > On Fri, 03 Jul 2009 12:05:13 -0700, Drew Tomlinson wrote: > > > >> Next I used bsdlabel > >> and created 500M a: partitions on two of the drives (ad6 & ad8). > >> > > ^ > > There is no colon after the partition letter. The colon > > is used to refer (or change) to the 1st DOS diskette drive. :-) > > > > I'm not sure what you mean here. I showed it as "a:" as that's how > bsdlabel reports it when displaying the label 'bsdlabel ad6' for example. Of course you're correct: bsdlabel shows "a:". In terminology, when refering to a partition, it's usually said "partition a" or "partition ad6s1a" instead of "partition a:". The convention "a:" - "drive letters" - is very common in DOS, as well as in other "modern" MICROS~1 products. In fact, I was just joking, as when people are asking questions about a "/home folder" or "hard discs". Terminology. :-) > I think this was part of my problem. For example, I did 'bsdlabel ad6' > instead of 'bsdlabel ad6s1'. Now I have entries such as /dev/ad6s1a and > /dev/ad8s1a after using 'bsdlabel -e '. As Wojciech mentioned, the *need* to have a slice on a disk is mostly not there when you're using BSD only - there's no problem if you don't have a slice, but just one partition covering the whole disk. Then you just operate on this partition. You can even newfs the whole disk without making a partition. In this case, the c partition - "the whole disk" - is used, and you can omit the c. If you newfs ad6, you end up with a formatted ad6 partition ad6c, which is equivalent to ad6. But that's going off-topic. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From bsd-unix at embarqmail.com Fri Jul 3 22:48:33 2009 From: bsd-unix at embarqmail.com (Randy Pratt) Date: Fri Jul 3 22:48:41 2009 Subject: Hide Terminal window (using xfce4. and 7.2-RELEASE)? In-Reply-To: References: Message-ID: <20090703182829.9f0d6199.bsd-unix@embarqmail.com> On Fri, 3 Jul 2009 17:21:58 -0400 Daniel Underwood wrote: > > Why? ?More specifically, can't it be started from the XFCE menu with "Run > > Program" or right-click the desktop and "Create Launcher"? > > I don't know, honestly. Whenever I try to run it from a Launcher or > via Run Program, it will display the splash screen, but then > terminate. This also happens on all Linux machines I use. I'm not familar with MATLAB but you may find ports/sysutils/screen helpful. See http://www.gnu.org/software/screen/ for more information. I use it for starting some programs in a detached mode but they can be reattached at any time. HTH, Randy From freebsd at edvax.de Fri Jul 3 23:04:45 2009 From: freebsd at edvax.de (Polytropon) Date: Fri Jul 3 23:04:52 2009 Subject: Hide Terminal window (using xfce4. and 7.2-RELEASE)? In-Reply-To: <20090703182829.9f0d6199.bsd-unix@embarqmail.com> References: <20090703182829.9f0d6199.bsd-unix@embarqmail.com> Message-ID: <20090704010437.0b190d39.freebsd@edvax.de> On Fri, 3 Jul 2009 18:28:29 -0400, Randy Pratt wrote: > I'm not familar with MATLAB but you may find ports/sysutils/screen > helpful. See http://www.gnu.org/software/screen/ for more > information. I use it for starting some programs in a detached > mode but they can be reattached at any time. There's a tool called "detach" included in the ports. It allows you to start a process and then keep it running independent of the existence of its starting shell or your login shell. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From djuatdelta at gmail.com Fri Jul 3 23:27:46 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Fri Jul 3 23:27:52 2009 Subject: Hide Terminal window (using xfce4. and 7.2-RELEASE)? In-Reply-To: References: Message-ID: > Some searching suggests "matlab -desktop" may be what is needed. Yep, that did it! Thanks! From mexas at bristol.ac.uk Fri Jul 3 22:26:06 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Sat Jul 4 01:00:49 2009 Subject: SUCCESS: Re: gmirror per partition In-Reply-To: <1944CCC8-B2D5-4C06-B21C-FAA5A37D6EE1@solfertje.student.utwente.nl> References: <20090625110253.GA31443@mech-cluster238.men.bris.ac.uk> <10FCC74D-6D46-4112-AD89-BBB4C5933957@mac.com> <20090701105649.GA62596@mech-cluster238.men.bris.ac.uk> <20090702083709.GA66827@mech-cluster238.men.bris.ac.uk> <20090703101242.GA59906@mech-cluster238.men.bris.ac.uk> <1944CCC8-B2D5-4C06-B21C-FAA5A37D6EE1@solfertje.student.utwente.nl> Message-ID: <20090703222558.GA32365@mech-cluster238.men.bris.ac.uk> On Fri, Jul 03, 2009 at 01:18:28PM +0200, Alban Hertroys wrote: > On Jul 3, 2009, at 12:12 PM, Anton Shterenlikht wrote: > > > now to mirror root partition. > > > > My problem is that root is mounted and cannot (?) be unmounted, > > unlike /efi, > > on the live system. > > > > # gpart add -b 819234 -s 1048576 -t freebsd-ufs da1 > > da1p2 added > > # > > > > # gmirror label -vb round-robin root /dev/da0p2 > > gmirror: Can't store metadata on /dev/da0p2: Operation not permitted. > > # > > > > If I create gmirror on da1, the spare disk: > > > > # gmirror label -vb round-robin root /dev/da1p2 > > Metadata value stored on /dev/da0p1. > > Done. > > # > > > > so that > > > > # gmirror status > > Name Status Components > > mirror/efi COMPLETE da0p1 > > da1p1 > > mirror/root COMPLETE da1p2 > > > > # > > > > > > then I still cannot insert da0p2 > > > > > > # gmirror insert root da0p2 > > gmirror: Cannot access provider da0p2. > > # > > > > So how can I gmirror root partion on a live system? > > You're almost there... I did this a while ago, can't remember when, > but I just upgraded the system that had this from FreeBSD 6.3 of > sometime in 2006 to 7.2. > > What I believe I did from this point on was: > > Copy everything from the root partition to mirror/root. > Modify /etc/fstab to mount root on mirror/root. > Reboot. > > Now the original root partition isn't mounted anymore, so we can do > operate on it's geom stuff. > > gmirror insert root da0p2 > > That should be it. > If that doesn't work you can always boot off a live file-system CD/DVD > and perform these actions from there. You won't have man pages in that > case though, or at least I couldn't find a way to read them off the > DVD last I tried. > > One thing I'd like to warn about at this point: > If you ever upgrade to a kernel with a newer geom metadata version and > that new kernel crashes, you're left with a system where the new > kernel can't boot at all while the old kernel can't mount the root > mirror as it's now of a version it can't handle. > You can however mount a single geom provider of that root file system > (/dev/da1p2 for example) to try to fix things. > That file-system WILL be dirty, but DON'T run fsck on it or you will > destroy it's contents. That's what happened to my upgrade above... > > Thankfully it was only my root partition with hardly any data on it > and I did make level 0 dumps before the upgrade, but I needed to > restore that FS from a fixit shell without man pages. Augh! thank you, that was helpful. I think I've got it, but it's a bit more complex on ia64 because /boot is a symlink to /efi/boot, which is a separate partition. Anyway, I've got: # gmirror status Name Status Components mirror/efi COMPLETE da0p1 da1p1 mirror/root COMPLETE da0p2 da1p2 mirror/swap COMPLETE da0p3 da1p3 mirror/var COMPLETE da1p4 da0p4 mirror/tmp COMPLETE da1p5 da0p5 mirror/usr DEGRADED da1p6 da0p6 (24%) # I'll try to write up my experience and post later. thanks again -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From atheer.elobadi at gmail.com Sat Jul 4 03:09:53 2009 From: atheer.elobadi at gmail.com (Atheer Elobadi) Date: Sat Jul 4 03:09:59 2009 Subject: can't get atheros ar2413 to connect under freebsd 7.2 Message-ID: <9a537e0c0907031944h66e783fdsfccc832aa9e4fa80@mail.gmail.com> hello, I've been trying to set my wireless card under Freebsd 7.2-RELEASE, but no success (it worked fine on 7.0).. would appreciate some advice in /boot/loader.conf: if_ath_load="YES" wlan_tkip_load="YES" wlan_scan_ap_load="YES" wlan_scan_sta_load="YES" in: /etc/wpa_supplicant.conf: network={ ssid="Myssid" key_mgmt=WPA-PSK psk="MySharedPhrase" } and in /etc/rc.conf: ifconfig_ath0="WPA DHCP" then i run /etc/rc.d/netif start it gives up.... ** by the way.. ifconfig ath0 up scan gives nothing.. not even an error message.. what shall i do ?? thanks From noc at hdk5.net Sat Jul 4 03:30:52 2009 From: noc at hdk5.net (Al Plant) Date: Sat Jul 4 03:30:59 2009 Subject: FreeBSD 7.2 o/s on a flash stick Message-ID: <4A4ECCEB.2020502@hdk5.net> Aloha Gurus. All the gogle-ing I did does not give a current status on or how-to on installing FreeBSD 7.2 on a flash stick on one slice with the default partions. I want to boot from it on a mini lap top ( no CD ) and use it like the hd inside. I see plenty of how-to's on loading Flash sticks for installing on other boxes and using a 2 slice flash to load FreeBSD onto other duplicate boxes again. All I need is to have a FreeBSD o/s on the stick so I can use it instead of the OS on the existing laptop. I'm sure I saw on this list where somebody did this successfully but I cant find it. Any help is appreciated. Thanks. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From doug at safeport.com Sat Jul 4 03:42:41 2009 From: doug at safeport.com (doug@safeport.com) Date: Sat Jul 4 03:42:49 2009 Subject: Fix It CD, bsdlabel, and /dev? In-Reply-To: <4A4E82FC.3000802@mykitchentable.net> References: <4A4E5669.8070308@mykitchentable.net> <20090703220406.d07ca7b4.freebsd@edvax.de> <4A4E82FC.3000802@mykitchentable.net> Message-ID: On Fri, 3 Jul 2009, Drew Tomlinson wrote: > Wojciech Puchar wrote: >>>> However /dev/ad6s1a and /dev/ad8s1a do not exist. I do have entries such >>>> as /dev/ad6a and/dev/ad8a but gmirror doesn't like those. What must I do >>>> the get them to show after I've labeled? >>> >>> If you have /dev/ad[68]a, it indicates that you haven't created a >>> slice on those disks, instead you created one partition (a) on >>> each of the disks. >> >> there is completely NO REASON to create slices at all, unless you want to >> use windoze on the same drive. >> >> i don't have slices on any of my FreeBSD systems > > I must admit I am confused by slices and partitions. I only want to use > FreeBSD on this box. It has 4 drives detected as follows: > Try http://www.freebsdwiki.net/ and search for 'disk partitions' Sections on Hard Disk Partition Sizes Partitioning Tips and Tricks should be helpful. You can adapt these concepts to suit how your system is to be used and to take advantage of the hardware you have. From fbsd1 at a1poweruser.com Sat Jul 4 04:15:11 2009 From: fbsd1 at a1poweruser.com (Fbsd1) Date: Sat Jul 4 04:15:29 2009 Subject: FreeBSD 7.2 o/s on a flash stick In-Reply-To: <4A4ECCEB.2020502@hdk5.net> References: <4A4ECCEB.2020502@hdk5.net> Message-ID: <4A4ED740.5020601@a1poweruser.com> Al Plant wrote: > Aloha Gurus. > > All the gogle-ing I did does not give a current status on or how-to on > installing FreeBSD 7.2 on a flash stick on one slice with the default > partions. I want to boot from it on a mini lap top ( no CD ) and use it > like the hd inside. > > I see plenty of how-to's on loading Flash sticks for installing on other > boxes and using a 2 slice flash to load FreeBSD onto other duplicate > boxes again. > > All I need is to have a FreeBSD o/s on the stick so I can use it > instead of the OS on the existing laptop. > > I'm sure I saw on this list where somebody did this successfully but I > cant find it. > > Any help is appreciated. Thanks. > > ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 > + http://hawaiidakine.com + http://freebsdinfo.org + > + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + > < email: noc@hdk5.net > > "All that's really worth doing is what we do for others."- Lewis Carrol > > _______________________________________________ > 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" > > Hi Al The way i have done this in 7.0 7.1 and 7.2 is to boot off the cd1 install cd and do a normal install to my 1gb flash stick. A 1gb flash stick is to small for the default slice sizes. You will have to manually allocate the / /usr /var /swap sizes. I also found it usefully to set the boot flag when allocating the whole flash stick. A 2gb or larger flash stick allows you to take the auto-allocate option for / /usr /var /swap sizes. Keep in mind that your /var log files can fill up you flash stick real quick and lock up your system. If your running this flash stick 7/24 then rotate them more often deleting the oldest one. It's as simple as that. From kelly.terry.jones at gmail.com Sat Jul 4 04:50:12 2009 From: kelly.terry.jones at gmail.com (Kelly Jones) Date: Sat Jul 4 04:50:18 2009 Subject: VT100 FreeBSD spreadsheet with data manipulation connections Message-ID: <26face530907032143pd3ccd8es1db753d02d3de382@mail.gmail.com> I'm looking for a "command-line" (VT100) FreeBSD spreadsheet that has data manipulation connections. That is: other applications can edit the spreadsheet (via some API), and the spreadsheet can run commands when cells are edited. My goal: create a VT100 spreadsheet-like interface to sqlite3 (and maybe other dbs). -- 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 freebsd-questions at pp.dyndns.biz Sat Jul 4 09:47:17 2009 From: freebsd-questions at pp.dyndns.biz (=?ISO-8859-1?Q?Morgan_Wesstr=F6m?=) Date: Sat Jul 4 09:47:27 2009 Subject: FreeBSD 7.2 o/s on a flash stick In-Reply-To: <4A4ED740.5020601@a1poweruser.com> References: <4A4ECCEB.2020502@hdk5.net> <4A4ED740.5020601@a1poweruser.com> Message-ID: <4A4F2335.6080104@pp.dyndns.biz> Fbsd1 wrote: > Al Plant wrote: >> Aloha Gurus. >> >> All the gogle-ing I did does not give a current status on or how-to on >> installing FreeBSD 7.2 on a flash stick on one slice with the default >> partions. I want to boot from it on a mini lap top ( no CD ) and use >> it like the hd inside. >> > Hi Al > > The way i have done this in 7.0 7.1 and 7.2 is to boot off the cd1 > install cd and do a normal install to my 1gb flash stick. A 1gb flash > stick is to small for the default slice sizes. You will have to manually > allocate the / /usr /var /swap sizes. I also found it usefully to set > the boot flag when allocating the whole flash stick. A 2gb or larger > flash stick allows you to take the auto-allocate option for / /usr /var > /swap sizes. Keep in mind that your /var log files can fill up you flash > stick real quick and lock up your system. If your running this flash > stick 7/24 then rotate them more often deleting the oldest one. It's as > simple as that. I usually find it easier and faster to do this the manual way. You need the DVD iso image with the live filesystem. Boot from it and enter the fixit shell. Create one bootable slice covering the whole USB-stick: # fdisk -BI /dev/da0 Create one bootable BSD partition covering the whole slice: # bsdlabel -B -w /dev/da0s1 Create the filesystem and give it a label you can refer to in fstab: # newfs -U -L FreeBSDonUSB /dev/da0s1a Mount it: # mount /dev/da0s1a /mnt Extract at a minimum base and the generic kernel: # DESTDIR=/mnt /dist/7.2-RELEASE/base/install.sh # DESTDIR=/mnt /dist/7.2-RELEASE/kernels/install.sh generic Delete the empty default kernel directory and move the generic kernel into its place: # rmdir /mnt/boot/kernel # mv /mnt/boot/GENERIC /mnt/boot/kernel Create /etc/fstab: # echo '/dev/ufs/FreeBSDonUSB / ufs rw,noatime 1 1' > /mnt/etc/fstab Load the necessary kernel module at boot: # echo 'geom_label_load="YES"' > /mnt/boot/loader.conf Create /etc/rc.conf. Adjust and add to your own needs: # echo 'ifconfig_DEFAULT="DHCP"' > /mnt/etc/rc.conf # echo 'hostname="freebsd"' >> /mnt/etc/rc.conf # echo 'keymap="swedish.iso"' >> /mnt/etc/rc.conf # echo 'sshd_enable="YES"' >> /mnt/etc/rc.conf Set the time zone: # cp /mnt/usr/share/zoneinfo/Europe/Stockholm /mnt/etc/localtime Set the root password in the new environment: # chroot /mnt /bin/sh # passwd root # exit Now exit SYSINSTALL and reboot. I hope I haven't missed anything. I think geom_label is unnecessary in FreeBSD 7+ but it doesn't hurt. Also remember that the displayed time is dependent on whether your computer's CMOS clock is UTC or local time. Maybe someone has a nice trick to correct for both options. Finally some credit to the guide I learned this from: http://typo.submonkey.net/articles/2006/04/13/installing-freebsd-on-usb-stick-episode-2 I actually do all my FreeBSD installs this way nowadays but I use gmirror instead of the label. Regards Morgan Wesstr?m From utisoft at googlemail.com Sat Jul 4 12:49:41 2009 From: utisoft at googlemail.com (Chris Rees) Date: Sat Jul 4 12:49:51 2009 Subject: FreeBSD support for 64-bit x86 systems In-Reply-To: <11167f520907011742yed5b160wd37441dce946d353@mail.gmail.com> References: <11167f520907011742yed5b160wd37441dce946d353@mail.gmail.com> Message-ID: 2009/7/2 Sam Fourman Jr. : > On Wed, Jul 1, 2009 at 7:31 PM, Daniel Underwood wrote: >> Does FreeBSD currently support 64-bit x86 systems? > > amd64 supports both amd and intel 64bit CPU's > > right now the big limitation for me is you can not > have a Nvidia binary graphics driver on amd64 > > progress has been made on this front in the last month. > Really? Can I have a link please?? I really want to migrate... Chris -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in a mailing list? From jmc-freebsd2 at milibyte.co.uk Sat Jul 4 12:52:49 2009 From: jmc-freebsd2 at milibyte.co.uk (Mike Clarke) Date: Sat Jul 4 12:52:56 2009 Subject: Firefox 3.5 mutex error Message-ID: <200907041352.28788.jmc-freebsd2@milibyte.co.uk> I can't get firefox-3.5,1 to run on my 6.4 system. It fails with the message "Fatal error 'Recurse on a private mutex.' at line 986 in file /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 13)". My ports tree was updated 2 days ago and I ran portupgrade -a afterwards. -- Mike Clarke From miwi at FreeBSD.org Sat Jul 4 13:16:12 2009 From: miwi at FreeBSD.org (Martin Wilke) Date: Sat Jul 4 13:16:20 2009 Subject: Firefox 3.5 mutex error In-Reply-To: <200907041352.28788.jmc-freebsd2@milibyte.co.uk> References: <200907041352.28788.jmc-freebsd2@milibyte.co.uk> Message-ID: <20090704125939.GA1224@bsdcrew.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sat, Jul 04, 2009 at 01:52:28PM +0100, Mike Clarke wrote: > > I can't get firefox-3.5,1 to run on my 6.4 system. It fails with the > message "Fatal error 'Recurse on a private mutex.' at line 986 in > file /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 13)". > > My ports tree was updated 2 days ago and I ran portupgrade -a > afterwards. it's a pulseaudio problem, not a ff3.5 problem :(. > > -- > Mike Clarke > _______________________________________________ > 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" > - -- +-----------------------+-------------------------------+ | PGP : 0xB1E6FCE9 | Jabber : miwi(at)BSDCrew.de | | Skype : splash_111 | Mail : miwi(at)FreeBSD.org | +-----------------------+-------------------------------+ | Mess with the Best, Die like the Rest! | +-----------------------+-------------------------------+ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkpPUjsACgkQdLJIhLHm/OnZ8QCfVOnkEOXl0fyDfPfF+/2DYvvt 6qYAn3G9gfWiBPQkw/eQiXBR1QUNtQou =cNtw -----END PGP SIGNATURE----- From peo at intersonic.se Sat Jul 4 14:49:36 2009 From: peo at intersonic.se (Per olof Ljungmark) Date: Sat Jul 4 14:49:44 2009 Subject: Annoying problem with apache22 / php5 - how to investigate? Message-ID: <4A4F6841.3020408@intersonic.se> Hi, We run 7-STABLE and apache22 with php5 serving pages from a webmail app (Horde). Randomly (as it seems at least), there is a 500 (Internal server error) and a blank page is presented to the user like [04/Jul/2009:15:19:37 +0200] "GET /services/portal/sidebar.php?httpclient=1 HTTP/1.1" 500 - There are no other messages in the logs, not even with LogLevel debug. The problem has survived several both OS and port upgrades and I really need to track this down now. Question: What OS tools would be the best to further analyze this? Someone with more exparience running this combo perhaps would know? Thanks a lot! -- per From freebsd at celestial.com Sat Jul 4 14:59:24 2009 From: freebsd at celestial.com (Bill Campbell) Date: Sat Jul 4 14:59:30 2009 Subject: VT100 FreeBSD spreadsheet with data manipulation connections In-Reply-To: <26face530907032143pd3ccd8es1db753d02d3de382@mail.gmail.com> References: <26face530907032143pd3ccd8es1db753d02d3de382@mail.gmail.com> Message-ID: <20090704145922.GA22560@ayn.mi.celestial.com> On Fri, Jul 03, 2009, Kelly Jones wrote: >I'm looking for a "command-line" (VT100) FreeBSD spreadsheet that has >data manipulation connections. One that I have used off and on for years is ``sc''. It's simple, and stores data in fairly simple ascii files. Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way Voice: (206) 236-1676 Mercer Island, WA 98040-0820 Fax: (206) 232-9186 Skype: jwccsllc (206) 855-5792 The man who does not read good books has no advantage over the man who can't read them. -- Mark Twain From drew at mykitchentable.net Sat Jul 4 15:03:22 2009 From: drew at mykitchentable.net (Drew Tomlinson) Date: Sat Jul 4 15:03:28 2009 Subject: FixIt CD Tool Availability Message-ID: <4A4F6F28.5090508@mykitchentable.net> I've booted from 7.2-RELEASE-amd64-livefs.iso and am trying to use gmirror and zfs. The command 'gmirror label root ad8a ad6a' does not return an error but no device is created in /dev/mirror The command 'zpool create data raid1z ad14d ad12d ad8d ad6d' gives me an error about the ZFS library being unavailable. Are these tools supposed to work when using the Fix It CD? If not, does 7.2-RELEASE-amd64-disc1.iso have these tools? Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com From martinrame at yahoo.com Sat Jul 4 15:44:29 2009 From: martinrame at yahoo.com (=?iso-8859-1?Q?Leonardo_M=2E_Ram=E9?=) Date: Sat Jul 4 15:44:37 2009 Subject: X Terminals problem Message-ID: <414333.33809.qm@web35603.mail.mud.yahoo.com> In my newly installed 7.2-STABLE, any X Terminal (xterm, xfce's Terminal, eterm,...) is working in the wrong way, specially while I use vim (v. 7.2.209) in text mode (gvim works ok), it can't scroll, when I try to move the cursor after the last line on the screen, the status bar shows that the position is changing, but the screen doesn't scrolls. Another issue is if I write a long line in the X terminal, instead of adding a LF at the end and continuing in the next line, it starts at the beginning of the same line. My system's data: uname -a: FreeBSD inspiron.local 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Xorg -version: X.Org X Server 1.6.0 Release Date: 2009-2-25 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.2-PRERELEASE i386 env: SSH_AGENT_PID=1128 GLADE_PIXMAP_PATH=: TERM=xterm SHELL=/bin/bash WINDOWID=25165828 USER=martin GLADE_MODULE_PATH=: SSH_AUTH_SOCK=/tmp/ssh-DCZmP4l6vx/agent.1127 SESSION_MANAGER=local/inspiron.local:/tmp/.ICE-unix/1136,inet6/inspiron.local:54435,inet/inspiron.local:54631 PAGER=/usr/bin/less FTP_PASSIVE_MODE=YES MAIL=/var/mail/martin PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/martin/bin BLOCKSIZE=K PWD=/usr/home/martin/doc EDITOR=/usr/local/bin/vim SHLVL=1 HOME=/home/martin GTK_PATH=:/usr/local/lib/gtk-2.0 LOGNAME=martin XDG_DATA_DIRS=/usr/share:/usr/local/share DBUS_SESSION_BUS_ADDRESS=unix:path=/var/tmp/dbus-g7d508SA96,guid=4488a97081aa02f88f1101ab4a4f700b WINDOWPATH=9 DISPLAY=:0.0 GLADE_CATALOG_PATH=: LIBGLADE_MODULE_PATH=:/usr/local/lib/libglade/2.0 COLORTERM=Terminal _=/usr/bin/env OLDPWD=/usr/home/martin Does anyone faced the same problems?, any workaround?. Leonardo M. Ram? http://leonardorame.blogspot.com From cwhiteh at onetel.com Sat Jul 4 17:25:43 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Sat Jul 4 17:25:53 2009 Subject: run_interrupt_driven_hooks: still waiting... for xpt_config In-Reply-To: <4A106E2E.9040807@onetel.com> References: <4A0F457F.6010606@onetel.com> <4A106E2E.9040807@onetel.com> Message-ID: <4A4F9095.2060705@onetel.com> Chris Whitehouse wrote: > Chris Whitehouse wrote: > >> I'm trying to install on a new motherboard ASUS M3N78-EM. While booting >> from CD I'm getting >> >> run_interrupts_driven_hooks: still waiting after 60 seconds for xpt_config >> >> This is repeated a few times then installation stops and the machine >> stops responding. >> > > After some trial and error the problem seems to be device sbp in the > kernel config file. Comment that out and rebuild kernel and it boots. The blinding obvious workaround is to disbable firewire in the BIOS doh! Then I can boot from CD and install to hard disk, boot from hard disk and build a custom kernel without device sbp, reboot and enable firewire again. I can _even_ kldload sbp I discover. http://www.freebsd.org/cgi/query-pr.cgi?pr=136327 Chris From cwhiteh at onetel.com Sat Jul 4 17:26:15 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Sat Jul 4 17:26:21 2009 Subject: load kernel from different media In-Reply-To: <1246489693.68114.23.camel@localhost> References: <4A4BD7E1.8010204@onetel.com> <1246489693.68114.23.camel@localhost> Message-ID: <4A4F90B2.4020006@onetel.com> Sergio de Almeida Lenzi wrote: > Em Qua, 2009-07-01 ?s 22:40 +0100, Chris Whitehouse escreveu: > > > Yes you can. > put your kernel (the one that works) on a DVD/CD > assume that your rootfs on the HD is on ad0s1a, /usr is on /dev/ad0s1e > with all the /boot directory. > than boot from dvd/CD > with the HD on the machine too. > > on the startup, hit 6 (number 6). > than type: > set vfs.root.mountfrom="ufs:ad0s1a" > boot -s > ==================== > the machine will boot from the CD (with the kernel on the CD) > than will mount the filesystem / (root) using ufs and the > device /dev/ad0s1a > once boot, you can mount the / rw..... > mount -o rw /dev/ad0s1a /mnt > mount /dev/ad0s1e /usr > > than..... > export PATH=/mnt/sbin:/mnt/bin:/usr/sbin:/usr/bin > mount -t cd9660 /dev/acd0 /cdrom > cd /cdrom > tar cf - boot | tar -xpvf - -C /mnt > =============== > edit /mnt/fstab to match the /(root) fs ..... > ==============fstab========= > /dev/ad0s1a / ufs rw 1 1 > ===================== > fastboot > the machine will reboot and boot happy on the hd.... > > hope it can help > _______________________________________________ > 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" > Hi sergio thanks for your reply. I've been playing around with bootable pen drives cd's and hard disks with varying degrees of breakage :) however now i"ve found the workaround for the original problem which is simply to disable firewire in the BIOS. cheers Chris From johnpollock at bellsouth.net Sat Jul 4 18:34:07 2009 From: johnpollock at bellsouth.net (John Pollock) Date: Sat Jul 4 18:35:39 2009 Subject: ifconfig & routing Message-ID: <1246731969.4452.12.camel@ice.rarepenguin.org> Greets, Here's my delemma - Im running FreeBSD 7.1 - that was setup with its normal host area and added via ezjail (2) jails. Out of jail #2, I run a IRCD for a local christian group. I also installed a old-school BBS in jail #2, and it works great, connects and works fine. But, since I wish to run a few old DOS programs that are DOORS. It recommends I install it where it can reach "X", the windows server. Then I'll have a shot at utilizing doscmd to get them to work. No matter how many times I install and reinstall it it fires up, but cant seem to access it via telnet either locally or from outside my computer via telnet. For further info, my system setup is the internet goes through my DSL/ROUTER set in BRIDGE MODE, to my DLINK wireless router. My jail #2 is set to PRIVATE IP 192.168.0.103 - jail #1 set to 192.168.0.102 and host part of computer set to 192.168.0.100. Any help suggestions greatly appreciated. JP =========== netstat -rn results below: $ netstat -rn Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.0.1 UGS 0 3082 vr0 127.0.0.1 127.0.0.1 UH 0 0 lo0 192.168.0.0/24 link#1 UC 0 0 vr0 192.168.0.1 00:0d:88:9f:e2:5f UHLW 2 986 vr0 1102 192.168.0.100 00:0e:a6:a0:db:24 UHLW 1 4 lo0 192.168.0.102 00:0e:a6:a0:db:24 UHLW 1 12 lo0 192.168.0.103 00:0e:a6:a0:db:24 UHLW 1 57562 lo0 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UHL lo0 fe80::%lo0/64 fe80::1%lo0 U lo0 fe80::1%lo0 link#3 UHL lo0 ff01:3::/32 fe80::1%lo0 UC lo0 ff02::%lo0/32 fe80::1%lo0 UC lo0 =================================== ifconfig results below: $ ifconfig vr0: flags=8843 metric 0 mtu 1500 options=2808 ether 00:0e:a6:a0:db:24 inet 192.168.0.100 netmask 0xffffff00 broadcast 192.168.0.255 inet 192.168.0.103 netmask 0xffffff00 broadcast 192.168.0.255 inet 192.168.0.102 netmask 0xffffff00 broadcast 192.168.0.255 media: Ethernet autoselect (100baseTX ) status: active plip0: flags=108810 metric 0 mtu 1500 lo0: flags=8049 metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff000000 $ From talon at lpthe.jussieu.fr Sat Jul 4 19:31:13 2009 From: talon at lpthe.jussieu.fr (Michel Talon) Date: Sat Jul 4 19:31:22 2009 Subject: FixIt CD Tool Availability Message-ID: <20090704190652.GA44670@lpthe.jussieu.fr> Drew Tomlinson wrote: > The command 'gmirror label root ad8a ad6a' does not return an error but > no device is created in /dev/mirror > > The command 'zpool create data raid1z ad14d ad12d ad8d ad6d' gives me > an error about the ZFS library being unavailable. > > Are these tools supposed to work when using the Fix It CD? If not, does > 7.2-RELEASE-amd64-disc1.iso have these tools? One can load kernel modules from the fixit cdrom, but as far as i remember this requires some manipulations. What i do is, from the fixit prompt: chroot /mnt2 to go to the full system available on the cdrom under /mnt2. But then required things are missing, so i do further: mount -t devfs devfs /dev because access to /dev is frequently required, and for commodity set -o emacs (to have shell history and editing) export PAGER=more (to be able to access man pages) After that one has a more or less standard environment. Sometimes one needs a writable filesystem, for example for accessing internet (dhclient, resolv.conf, etc.) mount -t tmpfs tmpfs /tmp does that. It would be nice to have a shell script on the fixit cdrom doing similar things automatically when one accesses fixit. In your case i suspect appropriate kernel modules were not loaded and commands failed silently. -- Michel TALON From bferrell at baywinds.org Sat Jul 4 20:13:25 2009 From: bferrell at baywinds.org (Bruce Ferrell) Date: Sat Jul 4 20:13:32 2009 Subject: Annoying problem with apache22 / php5 - how to investigate? In-Reply-To: <4A4F6841.3020408@intersonic.se> References: <4A4F6841.3020408@intersonic.se> Message-ID: <4A4FB7E0.3040809@baywinds.org> Per olof Ljungmark wrote: > Hi, > > We run 7-STABLE and apache22 with php5 serving pages from a webmail app > (Horde). > > Randomly (as it seems at least), there is a 500 (Internal server error) > and a blank page is presented to the user like > > [04/Jul/2009:15:19:37 +0200] "GET > /services/portal/sidebar.php?httpclient=1 HTTP/1.1" 500 - > > There are no other messages in the logs, not even with LogLevel debug. > The problem has survived several both OS and port upgrades and I really > need to track this down now. > > Question: What OS tools would be the best to further analyze this? > Someone with more exparience running this combo perhaps would know? > > Thanks a lot! > > -- > per I'd look in the Apache error_log From exemys at exemys.com Sat Jul 4 20:19:09 2009 From: exemys at exemys.com (Exemys) Date: Sat Jul 4 20:19:17 2009 Subject: WiFi + Inputs and Outputs (Digital and Analog) Message-ID: This is a message in multipart MIME format. Your mail client should not be displaying this. Consider upgrading your mail client to view this message correctly. From tonyrieser at gmail.com Sat Jul 4 22:43:58 2009 From: tonyrieser at gmail.com (Antonio Rieser) Date: Sat Jul 4 22:44:10 2009 Subject: Webcam problem - pwc Message-ID: <58a2fd890907041512h215b1de6r94e8f4afea28ede8@mail.gmail.com> Hi, I'm trying to get a Logitech QuickCam Notebook to work with FreeBSD 7.1 on an Acer Aspire 1680 laptop. I installed the pwcbsd port, but when I run pwcview -d /dev/ugen0 (where the camera is), I get the error: Failed to get current picture info: Invalid Argument. Does anyone have any ideas? The dmesg line relative to the camera is ugen0: on uhub1 Thanks in advance, and all the best, Tony From perrin at apotheon.com Sat Jul 4 23:02:27 2009 From: perrin at apotheon.com (Chad Perrin) Date: Sat Jul 4 23:02:34 2009 Subject: POLL: Linux preferences from FreeBSD users In-Reply-To: <87y6r8x6xl.fsf@kobe.laptop> References: <87y6r8x6xl.fsf@kobe.laptop> Message-ID: <20090704225615.GB29316@kokopelli.hydra> On Thu, Jul 02, 2009 at 03:30:30AM +0300, Giorgos Keramidas wrote: > On Wed, 1 Jul 2009 18:58:15 -0400, Daniel Underwood wrote: > > QUESTION: Of the various modern Linux distributions, which do you > > prefer? and why? > > > > I'm very interested to see the spread of opinion about Linux > > distributions from FreeBSD fans. > > Debian is the one I can almost tolerate. Ditto. I've been through dozens of Linux distributions, and Debian is still my favorite. I am *not* talking about Ubuntu, mind you -- that's not really Debian any longer. Much of what I like most about Debian was screwed gently with a chainsaw by the Ubuntu team. Of course, that's only "almost tolerate", as you said. Even Debian annoys the crap out of me, now that I've gotten familiar enough with FreeBSD to realize what I was missing. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Olin Shivers: "I object to doing things that computers can do." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090704/afd9c6be/attachment.pgp From peo at intersonic.se Sat Jul 4 23:05:14 2009 From: peo at intersonic.se (Per olof Ljungmark) Date: Sat Jul 4 23:05:28 2009 Subject: Annoying problem with apache22 / php5 - how to investigate? In-Reply-To: <4A4FB7E0.3040809@baywinds.org> References: <4A4F6841.3020408@intersonic.se> <4A4FB7E0.3040809@baywinds.org> Message-ID: <4A4FE025.5070100@intersonic.se> Bruce Ferrell wrote: > > Per olof Ljungmark wrote: >> Hi, >> >> We run 7-STABLE and apache22 with php5 serving pages from a webmail app >> (Horde). >> >> Randomly (as it seems at least), there is a 500 (Internal server error) >> and a blank page is presented to the user like >> >> [04/Jul/2009:15:19:37 +0200] "GET >> /services/portal/sidebar.php?httpclient=1 HTTP/1.1" 500 - >> >> There are no other messages in the logs, not even with LogLevel debug. >> The problem has survived several both OS and port upgrades and I really >> need to track this down now. >> >> Question: What OS tools would be the best to further analyze this? >> Someone with more exparience running this combo perhaps would know? >> >> Thanks a lot! >> >> -- >> per > > I'd look in the Apache error_log > I've looked, as stated above. Even with LogLevel debug there is not a trace. Likewise, I have E_ALL set in php.ini. So, I need to dig deeper inte the workings of Apache with the aid of the right tools. From dan at langille.org Sat Jul 4 23:10:11 2009 From: dan at langille.org (Dan Langille) Date: Sat Jul 4 23:10:18 2009 Subject: The FreeBSD Diary: 2009-07-04 Message-ID: <20090704231001.EED2D509E1@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 . RECENT ARTICLES: 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 : Creating your own Certificate Authority How to create a CA and generate your own SSL certificates http://freebsddiary.org/openvpn-easy-rsa.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 5-Oct : Removing dead mailing lists from Mailman Mailing lists can outlive their usefulness http://freebsddiary.org/mailman-removing-dead-lists.php?2 30-Aug : gmirror - recovering from a failed HDD an HDD failed. gmirror to the rescue. http://freebsddiary.org/gmirror-failure.php?2 6-Jul : ezjail - A jail administration framework This makes jails easier http://freebsddiary.org/ezjail.php?2 24-Jun : Adding gmirror to an existing installation Adding RAID-1 to an existing FreeBSD 7 installation http://freebsddiary.org/gmirror.php?2 20-Mar : ThinkPad x61s Unpacking the box, installing PC-BSD http://freebsddiary.org/thinkpad-x61s.php?2 17-Mar : Using two monitors with X.org The GeForce 8600 GT with two monitors http://freebsddiary.org/xorg-two-screens.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From ottk at zzz.ee Sat Jul 4 23:25:54 2009 From: ottk at zzz.ee (Ott =?iso-8859-1?q?K=F6stner?=) Date: Sat Jul 4 23:26:01 2009 Subject: Firefox 3.5 mutex error In-Reply-To: <200907041352.28788.jmc-freebsd2@milibyte.co.uk> References: <200907041352.28788.jmc-freebsd2@milibyte.co.uk> Message-ID: <200907050225.48247.ottk@zzz.ee> On Saturday 04 July 2009 3:52:28 pm Mike Clarke wrote: > I can't get firefox-3.5,1 to run on my 6.4 system. It fails with the > message "Fatal error 'Recurse on a private mutex.' at line 986 in > file /usr/src/lib/libpthread/thread/thr_mutex.c (errno = 13)". > > My ports tree was updated 2 days ago and I ran portupgrade -a > afterwards. BTW, just installed it. Seems to work great! First, updated everything FF35 depends on. You can check the dependencies: # portversion -vR firefox-3.5,1 Make sure You do # portsdb -U before 'portversion' and after you have downloaded new ports. Greetings! O.K. From roys1012 at gmail.com Sat Jul 4 23:37:05 2009 From: roys1012 at gmail.com (Roy Stuivenberg) Date: Sat Jul 4 23:37:13 2009 Subject: sysctl gnome2 Message-ID: <1246750593.4447.6.camel@rs-unix.roycs.nl> Hello, Sometimes when I send a message with pidgin, or evolution, the application shuts down. Is there an option with sysctl, that would prevent this to happen? I'm running FreeBSD 7.2 stable - gnome2 Regards, Roy. From rwmaillists at googlemail.com Sun Jul 5 00:05:55 2009 From: rwmaillists at googlemail.com (RW) Date: Sun Jul 5 00:06:01 2009 Subject: sysctl gnome2 In-Reply-To: <1246750593.4447.6.camel@rs-unix.roycs.nl> References: <1246750593.4447.6.camel@rs-unix.roycs.nl> Message-ID: <20090705010549.09e37036@gumby.homeunix.com> On Sun, 05 Jul 2009 01:36:33 +0200 Roy Stuivenberg wrote: > Hello, > > Sometimes when I send a message with pidgin, or evolution, the > application shuts down. > Is there an option with sysctl, that would prevent this to happen? sysctl is an interface to the kernel, it doesn't know anything about third-party, high-level applications. The behaviour you describe sounds more like a bug than a feature, but if there is a way to turn it off it will be in the gnome or application configuration. From bferrell at baywinds.org Sun Jul 5 00:54:54 2009 From: bferrell at baywinds.org (Bruce Ferrell) Date: Sun Jul 5 00:55:01 2009 Subject: Annoying problem with apache22 / php5 - how to investigate? In-Reply-To: <4A4FE025.5070100@intersonic.se> References: <4A4F6841.3020408@intersonic.se> <4A4FB7E0.3040809@baywinds.org> <4A4FE025.5070100@intersonic.se> Message-ID: <4A4FF9D9.2010006@baywinds.org> Per olof Ljungmark wrote: > Bruce Ferrell wrote: >> >> Per olof Ljungmark wrote: >>> Hi, >>> >>> We run 7-STABLE and apache22 with php5 serving pages from a webmail app >>> (Horde). >>> >>> Randomly (as it seems at least), there is a 500 (Internal server error) >>> and a blank page is presented to the user like >>> >>> [04/Jul/2009:15:19:37 +0200] "GET >>> /services/portal/sidebar.php?httpclient=1 HTTP/1.1" 500 - >>> >>> There are no other messages in the logs, not even with LogLevel debug. >>> The problem has survived several both OS and port upgrades and I really >>> need to track this down now. >>> >>> Question: What OS tools would be the best to further analyze this? >>> Someone with more exparience running this combo perhaps would know? >>> >>> Thanks a lot! >>> >>> -- >>> per >> >> I'd look in the Apache error_log >> > > I've looked, as stated above. Even with LogLevel debug there is not a > trace. Likewise, I have E_ALL set in php.ini. > > So, I need to dig deeper inte the workings of Apache with the aid of the > right tools. You're not looking at an Apache problem, but a PHP problem. 500 is the error code for a failed CGI script/program. Try executing the php from the command line. i.e. Go to where ever /services/portal/sidebar.php is and execute: ./sidebar.php httpclient=1 See what, if any, errors are thrown that way. PHP is notorious for not sending good errors into the logs or to STDERR. From kalle.moller at gmail.com Sun Jul 5 00:00:08 2009 From: kalle.moller at gmail.com (=?ISO-8859-1?Q?Kalle_M=F8ller?=) Date: Sun Jul 5 01:27:20 2009 Subject: svn client from subversion Message-ID: <8250ac3f0907041631i5570f69l5aff0dd477540a8d@mail.gmail.com> Hi I'm used to the client that follow devel/subversion - Is it possible to only install the client on a server. (I got 4 servers and only 1 needs the subversion backend etc.. but the 3 others need the client) -- Med Venlig Hilsen Kalle R. M?ller From noc at hdk5.net Sun Jul 5 02:39:22 2009 From: noc at hdk5.net (Al Plant) Date: Sun Jul 5 02:39:29 2009 Subject: SanDisk FreeBSD 7.2 p1 install Message-ID: <4A501259.4050500@hdk5.net> Aloha, Thanks for the help from the list on installing FreeBSD 7.2 on a Sandisk USB Flash drive. I was able to install the basic FreeBSD files and it rebooted. I used the 7.2 that Manolis created. However there were errors with trying to load the install for xorg. This new xorg is the same version that I have not been able to get to work on my test box either with a regular HDD. That said everything else seems to be there as expected. Thanks for that p1 version for speeding up a default install. I have the test box trying to load an xorg from the main server to correct this issue for me. I will report on if that cures the problem. On the download of 7.2 p1 it said CD-DVD iso. but I think the file is too big for a CD. The only errors were about xorg and associated libs. Can anyone enlighten me on this?. Again thanks to the FreeBSD list support we are making progress. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From noc at hdk5.net Sun Jul 5 03:53:59 2009 From: noc at hdk5.net (Al Plant) Date: Sun Jul 5 03:54:06 2009 Subject: SanDisk FreeBSD 7.2 p1 install In-Reply-To: <4A501259.4050500@hdk5.net> References: <4A501259.4050500@hdk5.net> Message-ID: <4A5023D5.1090106@hdk5.net> Al Plant wrote: > Aloha, > > Thanks for the help from the list on installing FreeBSD 7.2 on a Sandisk > USB Flash drive. I was able to install the basic FreeBSD files and it > rebooted. I used the 7.2 that Manolis created. However there were errors > with trying to load the install for xorg. This new xorg is the same > version that I have not been able to get to work on my test box either > with a regular HDD. > > That said everything else seems to be there as expected. Thanks for that > p1 version for speeding up a default install. > > I have the test box trying to load an xorg from the main server to > correct this issue for me. I will report on if that cures the problem. > On the download of 7.2 p1 it said CD-DVD iso. but I think the file is > too big for a CD. The only errors were about xorg and associated libs. > Can anyone enlighten me on this?. > > Again thanks to the FreeBSD list support we are making progress. > > > ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 > + http://hawaiidakine.com + http://freebsdinfo.org + > + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + > < email: noc@hdk5.net > > "All that's really worth doing is what we do for others."- Lewis Carrol > > _______________________________________________ > 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" > ################### Aloha... I was able to install Xorg and xfce on the HP Mini under FreeBSD 7.2 Sysinstall from main FreeBSD server. Mouse (touch pad) works as root just fine on the screen under Sysinstall tester, but not as user under Xorg. Anybody had success with getting touchpad mouse to work on a netbook. This HP Mini is similar to Ausus EEE. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From malathiramya at gmail.com Sun Jul 5 04:00:18 2009 From: malathiramya at gmail.com (malathi selvaraj) Date: Sun Jul 5 04:00:25 2009 Subject: good morning to all Message-ID: My system is rebooting contiguously, i show some error message after rebooting like 1.Enter full path of shell or RETURN for /bin/sh: After change the rc.conf file also i can't get GUI. Thanks in advance s.Malathi From keramida at ceid.upatras.gr Sun Jul 5 05:08:17 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Sun Jul 5 05:08:25 2009 Subject: svn client from subversion In-Reply-To: <8250ac3f0907041631i5570f69l5aff0dd477540a8d@mail.gmail.com> ("Kalle =?iso-8859-1?Q?M=F8ller=22's?= message of "Sun, 5 Jul 2009 01:31:31 +0200") References: <8250ac3f0907041631i5570f69l5aff0dd477540a8d@mail.gmail.com> Message-ID: <87tz1rvhs2.fsf@kobe.laptop> On Sun, 5 Jul 2009 01:31:31 +0200, Kalle M?ller wrote: > I'm used to the client that follow devel/subversion - Is it possible > to only install the client on a server. (I got 4 servers and only 1 > needs the subversion backend etc.. but the 3 others need the client) What do you mean by 'the subversion backend'? The svn(1) command line utility _needs_ some of the backend libraries to be able to access a subversion repository. Remove those, and it is going to lose a fair amount of functionality. From aryeh.friedman at gmail.com Sun Jul 5 05:09:17 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Sun Jul 5 05:09:24 2009 Subject: good morning to all In-Reply-To: References: Message-ID: <4A50357B.6040204@gmail.com> malathi selvaraj wrote: > My system is rebooting contiguously, i show some error message after > rebooting like > 1.Enter full path of shell or RETURN for /bin/sh: > After change the rc.conf file also i can't get GUI. > > > > Thanks in advance > s.Malathi > _______________________________________________ > 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" > > There is a syntex error (or command that failed in your /etc/rc.*) From unga888 at yahoo.com Sun Jul 5 05:32:37 2009 From: unga888 at yahoo.com (Unga) Date: Sun Jul 5 05:32:43 2009 Subject: firefox 3.5 exited on signal 12 Message-ID: <890393.14729.qm@web57004.mail.re3.yahoo.com> Hi all I have installed firefox 3.5,1 port (make install clean) on FreeBSD 7.2 i386. Firefox crashes when it try to display Theora video (http://www-cs-faculty.stanford.edu/~nick/theora-soccer/) with following message on logs: kernel: pid 1106 (firefox-bin), uid 1001: exited on signal 12 (core dumped) Do others experience it? Is there a fix for this? Best regards Unga From glen.j.barber at gmail.com Sun Jul 5 06:34:07 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Jul 5 06:34:15 2009 Subject: Annoying problem with apache22 / php5 - how to investigate? In-Reply-To: <4A4FF9D9.2010006@baywinds.org> References: <4A4F6841.3020408@intersonic.se> <4A4FB7E0.3040809@baywinds.org> <4A4FE025.5070100@intersonic.se> <4A4FF9D9.2010006@baywinds.org> Message-ID: <4ad871310907042334o79824c77k7bc76930286afc86@mail.gmail.com> On Sat, Jul 4, 2009 at 8:54 PM, Bruce Ferrell wrote: > > > Per olof Ljungmark wrote: >> Bruce Ferrell wrote: >>> >>> Per olof Ljungmark wrote: >>>> Hi, >>>> >>>> We run 7-STABLE and apache22 with php5 serving pages from a webmail app >>>> (Horde). >>>> >>>> Randomly (as it seems at least), there is a 500 (Internal server error) >>>> and a blank page is presented to the user like >>>> >>>> [04/Jul/2009:15:19:37 +0200] "GET >>>> /services/portal/sidebar.php?httpclient=1 HTTP/1.1" 500 - >>>> >>>> There are no other messages in the logs, not even with LogLevel debug. >>>> The problem has survived several both OS and port upgrades and I really >>>> need to track this down now. >>>> >>>> Question: What OS tools would be the best to further analyze this? >>>> Someone with more exparience running this combo perhaps would know? >>>> >>>> Thanks a lot! >>>> >>>> -- >>>> per >>> >>> I'd look in the Apache error_log >>> >> >> I've looked, as stated above. Even with LogLevel debug there is not a >> trace. Likewise, I have E_ALL set in php.ini. >> >> So, I need to dig deeper inte the workings of Apache with the aid of the >> right tools. > > > You're not looking at an Apache problem, but a PHP problem. 500 is the > error code for a failed CGI script/program. Try executing the php from > the command line. i.e. Go to where ever > /services/portal/sidebar.php is and execute: > > ./sidebar.php httpclient=1 > > See what, if any, errors are thrown that way. > > PHP is notorious for not sending good errors into the logs or to STDERR. > Worse yet, this doesn't have to be a PHP problem... You can create an .htaccess file containing 'FAIL' and it will generate an 500 response. -- Glen Barber From glen.j.barber at gmail.com Sun Jul 5 06:47:03 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Jul 5 06:47:10 2009 Subject: good morning to all In-Reply-To: References: Message-ID: <4ad871310907042346i4e330fd4r98cb81f517beba2b@mail.gmail.com> A more helpful subject would be nice. On Sun, Jul 5, 2009 at 12:00 AM, malathi selvaraj wrote: > My system is rebooting contiguously, i show some error message after > rebooting like > 1.Enter full path of shell or RETURN for /bin/sh: > After change the rc.conf file also i can't get GUI. > > What did you change in rc.conf? It appears the system is booting into single-user mode. -- Glen Barber From ottk at zzz.ee Sun Jul 5 08:10:25 2009 From: ottk at zzz.ee (Ott =?iso-8859-1?q?K=F6stner?=) Date: Sun Jul 5 08:10:33 2009 Subject: firefox 3.5 exited on signal 12 In-Reply-To: <890393.14729.qm@web57004.mail.re3.yahoo.com> References: <890393.14729.qm@web57004.mail.re3.yahoo.com> Message-ID: <200907051110.19029.ottk@zzz.ee> On Sunday 05 July 2009 8:32:35 am Unga wrote: > I have installed firefox 3.5,1 port (make install clean) on FreeBSD 7.2 i386. Firefox crashes when it try to display Theora video (http://www-cs-faculty.stanford.edu/~nick/theora-soccer/) with following message on logs: > kernel: pid 1106 (firefox-bin), uid 1001: exited on signal 12 (core dumped) > > Do others experience it? Is there a fix for this? Same here. It crashes... pid 26921 (firefox-bin), uid 1001: exited on signal 12 Greetings, Ott K?stner From peo at intersonic.se Sun Jul 5 08:27:52 2009 From: peo at intersonic.se (Per olof Ljungmark) Date: Sun Jul 5 08:27:59 2009 Subject: Annoying problem with apache22 / php5 - how to investigate? In-Reply-To: <4A4FF9D9.2010006@baywinds.org> References: <4A4F6841.3020408@intersonic.se> <4A4FB7E0.3040809@baywinds.org> <4A4FE025.5070100@intersonic.se> <4A4FF9D9.2010006@baywinds.org> Message-ID: <4A506403.60305@intersonic.se> Bruce Ferrell wrote: > > Per olof Ljungmark wrote: >> Bruce Ferrell wrote: >>> Per olof Ljungmark wrote: >>>> Hi, >>>> >>>> We run 7-STABLE and apache22 with php5 serving pages from a webmail app >>>> (Horde). >>>> >>>> Randomly (as it seems at least), there is a 500 (Internal server error) >>>> and a blank page is presented to the user like >>>> >>>> [04/Jul/2009:15:19:37 +0200] "GET >>>> /services/portal/sidebar.php?httpclient=1 HTTP/1.1" 500 - >>>> >>>> There are no other messages in the logs, not even with LogLevel debug. >>>> The problem has survived several both OS and port upgrades and I really >>>> need to track this down now. >>>> >>>> Question: What OS tools would be the best to further analyze this? >>>> Someone with more exparience running this combo perhaps would know? >>>> >>>> Thanks a lot! >>>> >>>> -- >>>> per >>> I'd look in the Apache error_log >>> >> I've looked, as stated above. Even with LogLevel debug there is not a >> trace. Likewise, I have E_ALL set in php.ini. >> >> So, I need to dig deeper inte the workings of Apache with the aid of the >> right tools. > > > You're not looking at an Apache problem, but a PHP problem. 500 is the > error code for a failed CGI script/program. Try executing the php from > the command line. i.e. Go to where ever > /services/portal/sidebar.php is and execute: > > ./sidebar.php httpclient=1 > > See what, if any, errors are thrown that way. > > PHP is notorious for not sending good errors into the logs or to STDERR. > You're right, I will see whatever logging I can squeeze out from the script handling. It's really annoying it's an intermittent problem... Thanks! From freebsd-questions-local at be-well.ilk.org Sun Jul 5 13:05:48 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Sun Jul 5 13:05:56 2009 Subject: firefox 3.5 exited on signal 12 In-Reply-To: <890393.14729.qm@web57004.mail.re3.yahoo.com> (Unga's message of "Sat\, 4 Jul 2009 22\:32\:35 -0700 \(PDT\)") References: <890393.14729.qm@web57004.mail.re3.yahoo.com> Message-ID: <44tz1rb7q3.fsf@lowell-desk.lan> Unga writes: > I have installed firefox 3.5,1 port (make install clean) on FreeBSD 7.2 i386. Firefox crashes when it try to display Theora video (http://www-cs-faculty.stanford.edu/~nick/theora-soccer/) with following message on logs: > kernel: pid 1106 (firefox-bin), uid 1001: exited on signal 12 (core dumped) > > Do others experience it? Is there a fix for this? You may need sem(4) loaded. It's a module, so you can try it out without rebuilding your kernel. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From atheer.elobadi at gmail.com Sun Jul 5 13:09:49 2009 From: atheer.elobadi at gmail.com (Atheer Elobadi) Date: Sun Jul 5 13:09:55 2009 Subject: can't get atheros ar2413 to connect under freebsd 7.2 In-Reply-To: <9a537e0c0907031944h66e783fdsfccc832aa9e4fa80@mail.gmail.com> References: <9a537e0c0907031944h66e783fdsfccc832aa9e4fa80@mail.gmail.com> Message-ID: <9a537e0c0907050609l30c20244l8f3005831d12fe58@mail.gmail.com> please help ... On Sat, Jul 4, 2009 at 4:44 AM, Atheer Elobadi wrote: > hello, > I've been trying to set my wireless card under Freebsd 7.2-RELEASE, but no > success (it worked fine on 7.0).. would appreciate some advice > > > in /boot/loader.conf: > > if_ath_load="YES" > wlan_tkip_load="YES" > wlan_scan_ap_load="YES" > wlan_scan_sta_load="YES" > > > in: /etc/wpa_supplicant.conf: > > network={ > ssid="Myssid" > key_mgmt=WPA-PSK > psk="MySharedPhrase" > } > > > and in /etc/rc.conf: > > ifconfig_ath0="WPA DHCP" > > > then i run /etc/rc.d/netif start > it gives up.... > > ** by the way.. ifconfig ath0 up scan gives nothing.. not even an error > message.. what shall i do ?? > > thanks > > From atheer.elobadi at gmail.com Sun Jul 5 13:10:00 2009 From: atheer.elobadi at gmail.com (Atheer Elobadi) Date: Sun Jul 5 13:10:07 2009 Subject: can't get atheros ar2413 to connect under freebsd 7.2 In-Reply-To: <9a537e0c0907050609l30c20244l8f3005831d12fe58@mail.gmail.com> References: <9a537e0c0907031944h66e783fdsfccc832aa9e4fa80@mail.gmail.com> <9a537e0c0907050609l30c20244l8f3005831d12fe58@mail.gmail.com> Message-ID: <9a537e0c0907050609p1c8cab79h6eda9d5c7d650cba@mail.gmail.com> On Sun, Jul 5, 2009 at 3:09 PM, Atheer Elobadi wrote: > please help ... > > On Sat, Jul 4, 2009 at 4:44 AM, Atheer Elobadi wrote: > >> hello, >> I've been trying to set my wireless card under Freebsd 7.2-RELEASE, but no >> success (it worked fine on 7.0).. would appreciate some advice >> >> >> in /boot/loader.conf: >> >> if_ath_load="YES" >> wlan_tkip_load="YES" >> wlan_scan_ap_load="YES" >> wlan_scan_sta_load="YES" >> >> >> in: /etc/wpa_supplicant.conf: >> >> network={ >> ssid="Myssid" >> key_mgmt=WPA-PSK >> psk="MySharedPhrase" >> } >> >> >> and in /etc/rc.conf: >> >> ifconfig_ath0="WPA DHCP" >> >> >> then i run /etc/rc.d/netif start >> it gives up.... >> >> ** by the way.. ifconfig ath0 up scan gives nothing.. not even an >> error message.. what shall i do ?? >> >> thanks >> >> > From glen.j.barber at gmail.com Sun Jul 5 13:25:00 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Jul 5 13:25:08 2009 Subject: can't get atheros ar2413 to connect under freebsd 7.2 In-Reply-To: <9a537e0c0907031944h66e783fdsfccc832aa9e4fa80@mail.gmail.com> References: <9a537e0c0907031944h66e783fdsfccc832aa9e4fa80@mail.gmail.com> Message-ID: <4ad871310907050624o4467dbf0n756c8c6b99b9d3eb@mail.gmail.com> On Fri, Jul 3, 2009 at 10:44 PM, Atheer Elobadi wrote: > hello, > I've been trying to set my wireless card under Freebsd 7.2-RELEASE, but no > success (it worked fine on 7.0).. would appreciate some advice > > > in /boot/loader.conf: > > if_ath_load="YES" > wlan_tkip_load="YES" > wlan_scan_ap_load="YES" > wlan_scan_sta_load="YES" > > > in: /etc/wpa_supplicant.conf: > > network={ > ? ? ssid="Myssid" > ? ? key_mgmt=WPA-PSK > ? ? psk="MySharedPhrase" > } > > > and in /etc/rc.conf: > > ifconfig_ath0="WPA DHCP" > > > then i run ? ?/etc/rc.d/netif start > it gives up.... > Is wpa_supplicant running? > ** by the way.. ifconfig ath0 up scan ? ?gives nothing.. ?not even an error > message.. what shall i do ?? > What is the output from `ifconfig ath0' ? -- Glen Barber From glen.j.barber at gmail.com Sun Jul 5 14:56:03 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Jul 5 14:56:10 2009 Subject: can't get atheros ar2413 to connect under freebsd 7.2 In-Reply-To: <9a537e0c0907050751p505a66ack42f95b247eb9e6c1@mail.gmail.com> References: <9a537e0c0907031944h66e783fdsfccc832aa9e4fa80@mail.gmail.com> <4ad871310907050624o4467dbf0n756c8c6b99b9d3eb@mail.gmail.com> <9a537e0c0907050751p505a66ack42f95b247eb9e6c1@mail.gmail.com> Message-ID: <4ad871310907050755l936431eicf18bc1308d199c8@mail.gmail.com> On Sun, Jul 5, 2009 at 10:51 AM, Atheer Elobadi wrote: > output from 'ifconfig ath0': > > ath0: flags=8843 metric 0 mtu > 1500 > ???????? ether "00:19:7d:be:8c:65 > media: IEEE 802.11 Wireless thernet autoselect (autoselect) > status: no carrier > ssid "" channel 13 (2472 Mhz 11g) > authmode open privacy OFF txpower 31.5 bmiss 7 scanvalid 60 bgscan > bgscanintvl 300 mgscanidle 250 roam:rssi11g 7 roam: rate11g 5 > protmode CTS burst bintval 0 > > when 'ifconfig ath0 authmode wpa' : > ieee80211_load_module: load the wlan_xauth module by hand for now. > ifcondif: SIOCS80211: Invalid argument > > i tried to 'kldload wlan_xauth' then 'ifconfig ath0 authmode wpa': (i don't > know if this is necessary) Ideally, it should load any dependent modules. > then 'ifconfig ath0' : > > ath0: flags=8843 metric 0 mtu > 1500 > ???????? ether "00:19:7d:be:8c:65 > ???????? media: IEEE 802.11 Wireless thernet autoselect (autoselect) > ???????? status: no carrier > ????????? ssid "" channel 13 (2472 Mhz 11g) > ??????? authmode 802.1x privacy MIXED deftxkey UNDEF txpower 31.5 bmiss 7 > ??????? scanvalid 60 bgscan bgscan bgscanintvl 300 mgscanidle 250 > roam:rssi11g 7 > ??????? roam: rate11g 5 protmode CTS burst bintval 0 > I hate asking this, because it shouldn't "fix" problems -- it only masks what is underlying -- but, when was your last reboot? With ifconfig_ath0="WPA DHCP" in rc.conf, this will automatically start wpa_supplicant. Before rebooting, you could also try: /etc/rc.d/netif restart; dhclient ath0 -- Glen Barber From informatique.src at gmail.com Sun Jul 5 16:48:45 2009 From: informatique.src at gmail.com (insrc) Date: Sun Jul 5 16:48:52 2009 Subject: how to do a live migration of a freebsd box to another box with rsync Message-ID: <98be5f7b0907050918k3b316120t491ddd5257be24f3@mail.gmail.com> Hi, I'm used to migrate GNU/Linux system from one box to another by booting the second box with a liveCD (like systemrescueCD for example) and by copying the "/" filesystem (using the ssh transport) with rsync. I would like to do the same for BSD system but i have two issues: - as the UFS write support is still experimental in the Linux kernel, it seems that i've to use a BSD liveCD but i can't find one :-/ I heard about frenzy ( http://frenzy.org.ua/en/ ) but the homepage says that the project is no longer maintained ! - i'm wondering how to restore the bootloader after copying the files on the second box. On linux, i can use the grub-install script to do the job but i'm a bit lost on FreeBSD :-) Thanks for your help ! From atheer.elobadi at gmail.com Sun Jul 5 17:27:04 2009 From: atheer.elobadi at gmail.com (Atheer Elobadi) Date: Sun Jul 5 17:27:11 2009 Subject: Fwd: can't get atheros ar2413 to connect under freebsd 7.2 In-Reply-To: <9a537e0c0907050751p505a66ack42f95b247eb9e6c1@mail.gmail.com> References: <9a537e0c0907031944h66e783fdsfccc832aa9e4fa80@mail.gmail.com> <4ad871310907050624o4467dbf0n756c8c6b99b9d3eb@mail.gmail.com> <9a537e0c0907050751p505a66ack42f95b247eb9e6c1@mail.gmail.com> Message-ID: <9a537e0c0907051027u59d8949cw7f4abffca76d9c51@mail.gmail.com> ---------- Forwarded message ---------- From: Atheer Elobadi Date: Sun, Jul 5, 2009 at 4:51 PM Subject: Re: can't get atheros ar2413 to connect under freebsd 7.2 To: Glen Barber output from 'ifconfig ath0': ath0: flags=8843 metric 0 mtu 1500 ether "00:19:7d:be:8c:65 media: IEEE 802.11 Wireless thernet autoselect (autoselect) status: no carrier ssid "" channel 13 (2472 Mhz 11g) authmode open privacy OFF txpower 31.5 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 mgscanidle 250 roam:rssi11g 7 roam: rate11g 5 protmode CTS burst bintval 0 when 'ifconfig ath0 authmode wpa' : ieee80211_load_module: load the wlan_xauth module by hand for now. ifcondif: SIOCS80211: Invalid argument i tried to 'kldload wlan_xauth' then 'ifconfig ath0 authmode wpa': (i don't know if this is necessary) then 'ifconfig ath0' : ath0: flags=8843 metric 0 mtu 1500 ether "00:19:7d:be:8c:65 media: IEEE 802.11 Wireless thernet autoselect (autoselect) status: no carrier ssid "" channel 13 (2472 Mhz 11g) authmode 802.1x privacy MIXED deftxkey UNDEF txpower 31.5 bmiss 7 scanvalid 60 bgscan bgscan bgscanintvl 300 mgscanidle 250 roam:rssi11g 7 roam: rate11g 5 protmode CTS burst bintval 0 ** On Sun, Jul 5, 2009 at 3:24 PM, Glen Barber wrote: > On Fri, Jul 3, 2009 at 10:44 PM, Atheer Elobadi > wrote: > > hello, > > I've been trying to set my wireless card under Freebsd 7.2-RELEASE, but > no > > success (it worked fine on 7.0).. would appreciate some advice > > > > > > in /boot/loader.conf: > > > > if_ath_load="YES" > > wlan_tkip_load="YES" > > wlan_scan_ap_load="YES" > > wlan_scan_sta_load="YES" > > > > > > in: /etc/wpa_supplicant.conf: > > > > network={ > > ssid="Myssid" > > key_mgmt=WPA-PSK > > psk="MySharedPhrase" > > } > > > > > > and in /etc/rc.conf: > > > > ifconfig_ath0="WPA DHCP" > > > > > > then i run /etc/rc.d/netif start > > it gives up.... > > > > Is wpa_supplicant running? > > > ** by the way.. ifconfig ath0 up scan gives nothing.. not even an > error > > message.. what shall i do ?? > > > > What is the output from `ifconfig ath0' ? > > > -- > Glen Barber > From ottk at zzz.ee Sun Jul 5 20:02:24 2009 From: ottk at zzz.ee (Ott =?iso-8859-1?q?K=F6stner?=) Date: Sun Jul 5 20:02:31 2009 Subject: SOLVED (Re: firefox 3.5 exited on signal 12) In-Reply-To: <200907051110.19029.ottk@zzz.ee> References: <890393.14729.qm@web57004.mail.re3.yahoo.com> <200907051110.19029.ottk@zzz.ee> Message-ID: <200907052302.13358.ottk@zzz.ee> On Sunday 05 July 2009 11:10:18 am Ott K?stner wrote: > On Sunday 05 July 2009 8:32:35 am Unga wrote: > > > I have installed firefox 3.5,1 port (make install clean) on FreeBSD 7.2 i386. Firefox crashes when it try to display Theora video (http://www-cs-faculty.stanford.edu/~nick/theora-soccer/) with following message on logs: > > kernel: pid 1106 (firefox-bin), uid 1001: exited on signal 12 (core dumped) > > > > Do others experience it? Is there a fix for this? > > Same here. It crashes... > pid 26921 (firefox-bin), uid 1001: exited on signal 12 Rebuilt kernel with options ????????P1003_1B_SEMAPHORES?????# POSIX-style semaphores Now it plays Theora video and does not crash any more. :) Greetings, Ott K?stner From doug at polands.org Sun Jul 5 20:10:10 2009 From: doug at polands.org (Doug Poland) Date: Sun Jul 5 20:10:18 2009 Subject: Bridge network device for VirtualBox Message-ID: <4A51089F.1030005@polands.org> Hello, I'm experimenting with the new VirtualBox port and wand to implement a bridged network interface on the FreeBSD host. Could someone point me to some docs that may assist me? BTW, the handbook advanced networking section, http://www.freebsd.org/doc/en/books/handbook/network-bridging.html, doesn't seem to apply to this application. Thanks! -- Regards, Doug From keramida at ceid.upatras.gr Sun Jul 5 20:31:12 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Sun Jul 5 20:31:21 2009 Subject: SOLVED (Re: firefox 3.5 exited on signal 12) In-Reply-To: <200907052302.13358.ottk@zzz.ee> ("Ott =?iso-8859-1?Q?K=F6stn?= =?iso-8859-1?Q?er=22's?= message of "Sun, 5 Jul 2009 23:02:13 +0300") References: <890393.14729.qm@web57004.mail.re3.yahoo.com> <200907051110.19029.ottk@zzz.ee> <200907052302.13358.ottk@zzz.ee> Message-ID: <87tz1qna7o.fsf@kobe.laptop> On Sun, 5 Jul 2009 23:02:13 +0300, Ott K?stner wrote: > On Sunday 05 July 2009 11:10:18 am Ott K?stner wrote: >> On Sunday 05 July 2009 8:32:35 am Unga wrote: >> >> > I have installed firefox 3.5,1 port (make install clean) on FreeBSD >> > 7.2 i386. Firefox crashes when it try to display Theora video >> > (http://www-cs-faculty.stanford.edu/~nick/theora-soccer/) with >> > following message on logs: >> > >> > kernel: pid 1106 (firefox-bin), uid 1001: exited on signal 12 (core dumped) >> > >> > Do others experience it? Is there a fix for this? >> >> Same here. It crashes... >> pid 26921 (firefox-bin), uid 1001: exited on signal 12 > > Rebuilt kernel with > options ????????P1003_1B_SEMAPHORES?????# POSIX-style semaphores > > Now it plays Theora video and does not crash any more. :) You can load sem.ko to the same effect, FWIW. The UPDATING entry for firefox3-devel mentions this in the following part: 20090628: AFFECTS: users of www/firefox3-devel AUTHOR: gecko@FreeBSD.org If your Firefox crashes with the following message while viewing a HTML5 page: "Bad system call (core dumped)" you need to load the sem module (kldload sem). To load sem on every boot put the following into your /boot/loader.conf: sem_load="YES" From atheer.elobadi at gmail.com Sun Jul 5 20:39:02 2009 From: atheer.elobadi at gmail.com (Atheer Elobadi) Date: Sun Jul 5 20:39:10 2009 Subject: Fwd: can't get atheros ar2413 to connect under freebsd 7.2 In-Reply-To: <9a537e0c0907051027u59d8949cw7f4abffca76d9c51@mail.gmail.com> References: <9a537e0c0907031944h66e783fdsfccc832aa9e4fa80@mail.gmail.com> <4ad871310907050624o4467dbf0n756c8c6b99b9d3eb@mail.gmail.com> <9a537e0c0907050751p505a66ack42f95b247eb9e6c1@mail.gmail.com> <9a537e0c0907051027u59d8949cw7f4abffca76d9c51@mail.gmail.com> Message-ID: <9a537e0c0907051338o5c551489kcffee9d59f60e83c@mail.gmail.com> please .. someone .. ---------- Forwarded message ---------- From: Atheer Elobadi Date: Sun, Jul 5, 2009 at 7:27 PM Subject: Fwd: can't get atheros ar2413 to connect under freebsd 7.2 To: freebsd-questions@freebsd.org ---------- Forwarded message ---------- From: Atheer Elobadi Date: Sun, Jul 5, 2009 at 4:51 PM Subject: Re: can't get atheros ar2413 to connect under freebsd 7.2 To: Glen Barber output from 'ifconfig ath0': ath0: flags=8843 metric 0 mtu 1500 ether "00:19:7d:be:8c:65 media: IEEE 802.11 Wireless thernet autoselect (autoselect) status: no carrier ssid "" channel 13 (2472 Mhz 11g) authmode open privacy OFF txpower 31.5 bmiss 7 scanvalid 60 bgscan bgscanintvl 300 mgscanidle 250 roam:rssi11g 7 roam: rate11g 5 protmode CTS burst bintval 0 when 'ifconfig ath0 authmode wpa' : ieee80211_load_module: load the wlan_xauth module by hand for now. ifcondif: SIOCS80211: Invalid argument i tried to 'kldload wlan_xauth' then 'ifconfig ath0 authmode wpa': (i don't know if this is necessary) then 'ifconfig ath0' : ath0: flags=8843 metric 0 mtu 1500 ether "00:19:7d:be:8c:65 media: IEEE 802.11 Wireless thernet autoselect (autoselect) status: no carrier ssid "" channel 13 (2472 Mhz 11g) authmode 802.1x privacy MIXED deftxkey UNDEF txpower 31.5 bmiss 7 scanvalid 60 bgscan bgscan bgscanintvl 300 mgscanidle 250 roam:rssi11g 7 roam: rate11g 5 protmode CTS burst bintval 0 ** On Sun, Jul 5, 2009 at 3:24 PM, Glen Barber wrote: > On Fri, Jul 3, 2009 at 10:44 PM, Atheer Elobadi > wrote: > > hello, > > I've been trying to set my wireless card under Freebsd 7.2-RELEASE, but > no > > success (it worked fine on 7.0).. would appreciate some advice > > > > > > in /boot/loader.conf: > > > > if_ath_load="YES" > > wlan_tkip_load="YES" > > wlan_scan_ap_load="YES" > > wlan_scan_sta_load="YES" > > > > > > in: /etc/wpa_supplicant.conf: > > > > network={ > > ssid="Myssid" > > key_mgmt=WPA-PSK > > psk="MySharedPhrase" > > } > > > > > > and in /etc/rc.conf: > > > > ifconfig_ath0="WPA DHCP" > > > > > > then i run /etc/rc.d/netif start > > it gives up.... > > > > Is wpa_supplicant running? > > > ** by the way.. ifconfig ath0 up scan gives nothing.. not even an > error > > message.. what shall i do ?? > > > > What is the output from `ifconfig ath0' ? > > > -- > Glen Barber > From freebsd at edvax.de Sun Jul 5 20:49:52 2009 From: freebsd at edvax.de (Polytropon) Date: Sun Jul 5 20:49:59 2009 Subject: Num Lock key in X, PF keys, involves xmodmap, xev Message-ID: <20090705224943.693740a6.freebsd@edvax.de> Dear list, since I moved to a new keyboard, I have some trouble. Everything except the Num Lock functionality works fine. Let me explain: The keyboard is a BOSCOM PS/2 keyboard (with 122 keys, intended for 5250 operations on a PC) that contains a keyboard controller, so the keyboard can simply be attached to the PC. THis is how the keyboard looks like: http://www.ioconnections.com/images/products/bos_5250keyboard_black.jpg It's a very nice one, so I want to use it instead of my Sun USB keyboard because it has more and better keys. Think about the IBM model M. Same mechanics. The keyboard can operate in two different modes, which are selected by a jumper inside the keyboard (where the LEDs are located). In "jumper mode", keys operate like their caption (the key cap) indicates it. For example, the keys on the left generate SysRq, Print, Escape and so on. Some of them generate composed characters, this means when I press a key, the keyboard sends a key combination, such as Alt+F3 for the key or Shift+F1 for F13. Quite useless. In "no jumper mode", each key sends a unique keycode. Some keys do not do what their key cap says, but that's no problem because the caps can be re-arranged. And I've got enough space keycaps with very nice captions from other keyboards, so it's no problem to make my own layout be represented correctly by the key caps. This is the mode I need. Using the xev program, I could easily find out which keys generate which keycode, so I made a .xmodmaprc and assigned names to the different keys according to what I intended them to use. For example, F13 .. F24 now are described as F13 .. F24, so they can be assigned several actions by the means of the window manager, i. e. WindowMaker - easy game, e. g. starting programs or issuing a window arrangement command (front, background, roll up, hide, lock screen and so on). On the numerical keypad, I have a comma as well as a dot - in Germany, the comma is the decimal delimiter, so it's not possible to type IPs on the numeric keypad only. But now, I can do things like "192.168.1.1,192.168.1.2" all within the numerical keypad. Now my problem: I can't get the Num Lock to work. First of all, I checked which keycode would be generated when I press the key I want to have as Num Lock - it's the one placed where it should be on the standard 102 keys model, numerical keypad, upper left. This is the xev output when the key is pressed: KeyPress event, serial 27, synthetic NO, window 0x1800001, root 0x73, subw 0x0, time 1285024705, (76,91), root:(355,651), state 0x0, keycode 9 (keysym 0xff7f, Num_Lock), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False The keycode 9 (former Escape, I think) has been assigned to the key symbol Num_Lock by this entry in .xmodmaprc (file attached, I hope): ! Num keycode 9 = Num_Loc The comment, preceeded by "!", states what is on the key cap, to make finding them easier. The problem is: Pressing this key doesn't change the Num state. So I checked "man xmodmap" and found out that there are modes that can be changed by certain keys. % xmodmap xmodmap: up to 3 keys per modifier, (keycodes in parentheses): shift Shift_L (0x32), Shift_R (0x3e) lock Caps_Lock (0x42) control Control_L (0x25), Control_R (0x6d) mod1 Alt_L (0x40), Meta_L (0x9c) mod2 Num_Lock (0x4d) mod3 mod4 Super_L (0x7f), Hyper_L (0x80) mod5 Mode_switch (0x5d), ISO_Level3_Shift (0x71), ISO_Level3_Shift (0x7c) This output states that Num_Lock toggles "mod2" - is this the Num mode? I checked it through this command: % xmodmap -e "add mod2 = Num_Lock" Ha! Pressing this key toggles Num now. Fine. No, not fine. Problem: The keys on the left as well as the 2nd row of function keys does not work anymore. If I switch off Num, they work again. Huh? I didn't have that on the Sun keyboard, there using the keys on the left (which I assigned F13 .. F27) always worked, no matter if Num was on or off. However, xev tells me that the correct symbols are emitted when I press the key, but the actions that have been assigned don't work anymore. So, for example, F13 doesn't launch Opera anymore. KeyPress event, serial 27, synthetic NO, window 0x1800001, root 0x73, subw 0x0, time 1285459063, (175,3), root:(362,537), state 0x10, keycode 181 (keysym 0xffca, F13), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False But when I turn Num off and press F13, it works again. And as I said, I didn't have such kind of behaviour with the Sun model. Basically, I'm doing the same. What am I doing wrong here? What am I missing? Ideas, anyone? =^_^= PS. Follow-up question: What xmodmap is for X, that is WHAT for the console (text mode)? Would be nice to make the keyboard work properly at VTs, too. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...Fr -------------- next part -------------- ! ESC / DefF keycode 134 = Escape ! A-Abf / Abruf keycode 210 = F25 ! PsAus keycode 219 = F26 ! Linie / Pos1 keycode 111 = F27 ! Pause / E-Lö keycode 220 = F28 ! bSDef / DrDef keycode 221 = F29 ! Eing Lösch keycode 110 = F30 ! Bed-hilfe / Hex keycode 205 = F31 ! Aufz Mode / Pause keycode 207 = F32 ! Wiedgabe / Test keycode 204 = F33 ! ^a keycode 170 = Insert ! I<- / Zoom keycode 99 = Home ! Bild ^ keycode 105 = Prior ! a° / aaa° keycode 103 = Delete ! ->I keycode 106 = End ! Bild v keycode 107 = Next ! ^ keycode 98 = Up ! <- keycode 100 = Left ! v keycode 97 = Down ! -> keycode 102 = Right ! keycode 104 = Down ! Num keycode 9 = Num_Lock ! / keycode 78 = KP_Divide ! * keycode 63 = KP_Multiply ! - keycode 112 = KP_Subtract ! . keycode 82 = period ! <-J keycode 86 = KP_Add ! Daten Freigabe keycode 108 = KP_Enter ! Anford / Ungült keycode 181 = F13 ! Nachricht / Antw keycode 126 = F14 ! Fmt Wechs / Instr keycode 182 = F15 ! Zeile just keycode 190 = F16 ! Druck / S-Abf keycode 191 = Print ! FAusW Ausw Roll / Test keycode 192 = Scroll_Lock ! Pause / Untbr keycode 193 = Pause ! Dup keycode 198 = F20 ! Such keycode 199 = F21 ! Vers / Kop keycode 200 = F22 ! Holen keycode 201 = F23 ! Zu keycode 203 = F24 From beat at FreeBSD.org Sun Jul 5 20:59:49 2009 From: beat at FreeBSD.org (Beat Gaetzi) Date: Sun Jul 5 21:00:24 2009 Subject: Bridge network device for VirtualBox In-Reply-To: <4A51089F.1030005@polands.org> References: <4A51089F.1030005@polands.org> Message-ID: <4A510F9D.80100@FreeBSD.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Doug Poland wrote: > Hello, > > I'm experimenting with the new VirtualBox port and wand to implement a > bridged network interface on the FreeBSD host. Could someone point me > to some docs that may assist me? Only NAT networking is available at the moment. I've updated the wiki page a few minutes ago with some other not working features: http://wiki.freebsd.org/VirtualBox Maybe this helps. Beat -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.10 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkpRD50ACgkQQMW893dCSds8tgCeKo/KfNf6hFxFoukleDz8VMUY u5IAn2Y2ehvs3xp1cYOTDPQ6AzWhDjRu =8h0U -----END PGP SIGNATURE----- From perryh at pluto.rain.com Sun Jul 5 21:01:15 2009 From: perryh at pluto.rain.com (perryh@pluto.rain.com) Date: Sun Jul 5 21:01:23 2009 Subject: how to do a live migration of a freebsd box to another box with rsync In-Reply-To: <98be5f7b0907050918k3b316120t491ddd5257be24f3@mail.gmail.com> References: <98be5f7b0907050918k3b316120t491ddd5257be24f3@mail.gmail.com> Message-ID: <4a5112ed.tAHCrnQwY61w5Xnr%perryh@pluto.rain.com> insrc wrote: > it seems that i've to use a BSD liveCD but i can't find one :-/ www.freesbie.org The site is not responding for me ATM, but the text is cached here: http://74.125.155.132/search?q=cache:WjK0Anp5tb4J:www.freesbie.org/+freesbie+freebsd&hl=en&gl=us&strip=1 From miwi at FreeBSD.org Sun Jul 5 21:11:15 2009 From: miwi at FreeBSD.org (Martin Wilke) Date: Sun Jul 5 21:11:22 2009 Subject: Bridge network device for VirtualBox In-Reply-To: <4A51089F.1030005@polands.org> References: <4A51089F.1030005@polands.org> Message-ID: <20090705205302.GE11773@bsdcrew.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sun, Jul 05, 2009 at 03:10:07PM -0500, Doug Poland wrote: > Hello, > > I'm experimenting with the new VirtualBox port and wand to implement a > bridged network interface on the FreeBSD host. Could someone point me > to some docs that may assist me? BTW, the handbook advanced networking > section, > http://www.freebsd.org/doc/en/books/handbook/network-bridging.html, > doesn't seem to apply to this application. That's true, bridge network isn't ported yet: http://wiki.freebsd.org/VirtualBox - - Martin > > Thanks! > > -- > Regards, > Doug > _______________________________________________ > 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" > - -- +-----------------------+-------------------------------+ | PGP : 0xB1E6FCE9 | Jabber : miwi(at)BSDCrew.de | | Skype : splash_111 | Mail : miwi(at)FreeBSD.org | +-----------------------+-------------------------------+ | Mess with the Best, Die like the Rest! | +-----------------------+-------------------------------+ -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (FreeBSD) iEYEARECAAYFAkpREq4ACgkQdLJIhLHm/OkubACgvqZSvG+ovtKM6KPT1apj/S2X N4IAnRxXx+j8TCoDTQNDD+lqzmJO3HtT =S5KO -----END PGP SIGNATURE----- From onemda at gmail.com Sun Jul 5 21:17:21 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Sun Jul 5 21:17:27 2009 Subject: can't get atheros ar2413 to connect under freebsd 7.2 In-Reply-To: <9a537e0c0907051338o5c551489kcffee9d59f60e83c@mail.gmail.com> References: <9a537e0c0907031944h66e783fdsfccc832aa9e4fa80@mail.gmail.com> <4ad871310907050624o4467dbf0n756c8c6b99b9d3eb@mail.gmail.com> <9a537e0c0907050751p505a66ack42f95b247eb9e6c1@mail.gmail.com> <9a537e0c0907051027u59d8949cw7f4abffca76d9c51@mail.gmail.com> <9a537e0c0907051338o5c551489kcffee9d59f60e83c@mail.gmail.com> Message-ID: <3a142e750907051417m65162841sa2eae53e53fbfc3f@mail.gmail.com> On 7/5/09, Atheer Elobadi wrote: > please .. someone .. Data you provided is worthless. -- Paul From atheer.elobadi at gmail.com Sun Jul 5 21:25:41 2009 From: atheer.elobadi at gmail.com (Atheer Elobadi) Date: Sun Jul 5 21:25:48 2009 Subject: can't get atheros ar2413 to connect under freebsd 7.2 In-Reply-To: <3a142e750907051417m65162841sa2eae53e53fbfc3f@mail.gmail.com> References: <9a537e0c0907031944h66e783fdsfccc832aa9e4fa80@mail.gmail.com> <4ad871310907050624o4467dbf0n756c8c6b99b9d3eb@mail.gmail.com> <9a537e0c0907050751p505a66ack42f95b247eb9e6c1@mail.gmail.com> <9a537e0c0907051027u59d8949cw7f4abffca76d9c51@mail.gmail.com> <9a537e0c0907051338o5c551489kcffee9d59f60e83c@mail.gmail.com> <3a142e750907051417m65162841sa2eae53e53fbfc3f@mail.gmail.com> Message-ID: <9a537e0c0907051425x172494dfo4b9b57346671498a@mail.gmail.com> what data should i provide.. i'm sorry... but i'm new at this On Sun, Jul 5, 2009 at 11:17 PM, Paul B. Mahol wrote: > On 7/5/09, Atheer Elobadi wrote: > > please .. someone .. > > Data you provided is worthless. > > -- > Paul > From noc at hdk5.net Sun Jul 5 21:46:16 2009 From: noc at hdk5.net (Al Plant) Date: Sun Jul 5 21:46:24 2009 Subject: SanDisk FreeBSD 7.2 p1 install In-Reply-To: <4A5023D5.1090106@hdk5.net> References: <4A501259.4050500@hdk5.net> <4A5023D5.1090106@hdk5.net> Message-ID: <4A511F27.10907@hdk5.net> Al Plant wrote: > Al Plant wrote: >> Aloha, >> >> Thanks for the help from the list on installing FreeBSD 7.2 on a >> Sandisk USB Flash drive. I was able to install the basic FreeBSD files >> and it rebooted. I used the 7.2 that Manolis created. However there >> were errors with trying to load the install for xorg. This new xorg is >> the same version that I have not been able to get to work on my test >> box either with a regular HDD. >> >> That said everything else seems to be there as expected. Thanks for >> that p1 version for speeding up a default install. >> >> I have the test box trying to load an xorg from the main server to >> correct this issue for me. I will report on if that cures the problem. >> On the download of 7.2 p1 it said CD-DVD iso. but I think the file is >> too big for a CD. The only errors were about xorg and associated libs. >> Can anyone enlighten me on this?. >> >> Again thanks to the FreeBSD list support we are making progress. >> >> >> ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 >> + http://hawaiidakine.com + http://freebsdinfo.org + >> + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + >> < email: noc@hdk5.net > >> "All that's really worth doing is what we do for others."- Lewis Carrol >> >> _______________________________________________ >> 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" >> > ################### > > Aloha... > > I was able to install Xorg and xfce on the HP Mini under FreeBSD 7.2 > Sysinstall from main FreeBSD server. > > Mouse (touch pad) works as root just fine on the screen under Sysinstall > tester, but not as user under Xorg. Anybody had success with getting > touchpad mouse to work on a netbook. This HP Mini is similar to Ausus EEE. > > > > ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 > + http://hawaiidakine.com + http://freebsdinfo.org + > + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + > < email: noc@hdk5.net > > "All that's really worth doing is what we do for others."- Lewis Carrol > > _______________________________________________ > 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" > ################ Aloha Gurus.... SOLVED; HP Mini xorg. with XFCE 3. If you set hald_enable="YES" and dbus_enable="YES" in /etc/rc.conf it finds and sets the correct settings and the mouse works. Hal is improving nicely. Thanks. I discovered that in the HP Mini netbook FreeBSD 7.2 unfortunately does not recognize the Nic's either hard wired or Wlan. Anone know how to find what nics are in this HP MIni? There are no instructions about this with the unit. And I have had no help on the HP Forums. Any body know how I can detect these chips under FreeBSD 7.2. Thanks ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From freebsd at edvax.de Sun Jul 5 21:58:09 2009 From: freebsd at edvax.de (Polytropon) Date: Sun Jul 5 21:58:16 2009 Subject: SanDisk FreeBSD 7.2 p1 install In-Reply-To: <4A511F27.10907@hdk5.net> References: <4A501259.4050500@hdk5.net> <4A5023D5.1090106@hdk5.net> <4A511F27.10907@hdk5.net> Message-ID: <20090705235800.d899e5b2.freebsd@edvax.de> On Sun, 05 Jul 2009 11:46:15 -1000, Al Plant wrote: > I discovered that in the HP Mini netbook FreeBSD 7.2 unfortunately does > not recognize the Nic's either hard wired or Wlan. Anone know how to > find what nics are in this HP MIni? There are no instructions about this > with the unit. And I have had no help on the HP Forums. > > Any body know how I can detect these chips under FreeBSD 7.2. The command # pciconf -lv should list you all the devices the kernel detects, no matter if a driver is attached (means: will usually work then) or not. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From freebsd at edvax.de Sun Jul 5 22:02:22 2009 From: freebsd at edvax.de (Polytropon) Date: Sun Jul 5 22:02:29 2009 Subject: Num Lock key in X, PF keys, involves xmodmap, xev In-Reply-To: <20090705224943.693740a6.freebsd@edvax.de> References: <20090705224943.693740a6.freebsd@edvax.de> Message-ID: <20090706000219.bd6c9871.freebsd@edvax.de> Additional information, just recognized: When Num Lock is on (as described in my first message), some window manager functions don't work anymore: When doubleclicking on a title bar, the window does not roll up. When pressing Alt and dragging a window with the left mouse button, the window does not move. If Num Lock is switched off, it works as intended. With Num Lock on, other things still work, such as pressing Ctrl and Shift and double- clicking on the title bar maximizes the window (Ctrl alone maximizes vertically, and Shift horizontally). Pressing Alt and clicking left on the title bar sets the window into the background. (For most of these functionalities, I'd like to use the 2x5 keys on the left as I did it with the Sun keyboard.) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From kelly.terry.jones at gmail.com Sun Jul 5 22:38:45 2009 From: kelly.terry.jones at gmail.com (Kelly Jones) Date: Sun Jul 5 22:39:39 2009 Subject: VT100 FreeBSD spreadsheet with data manipulation connections In-Reply-To: <20090704145922.GA22560@ayn.mi.celestial.com> References: <26face530907032143pd3ccd8es1db753d02d3de382@mail.gmail.com> <20090704145922.GA22560@ayn.mi.celestial.com> Message-ID: <26face530907051538u627be350v3c8b6b007baafb37@mail.gmail.com> On 7/4/09, Bill Campbell wrote: > On Fri, Jul 03, 2009, Kelly Jones wrote: >>I'm looking for a "command-line" (VT100) FreeBSD spreadsheet that has >>data manipulation connections. > > One that I have used off and on for years is ``sc''. It's > simple, and stores data in fairly simple ascii files. Does sc have 'hooks' that let it read cell values from other applications and/or run commands when a cell value is updated? -- 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 martinrame at yahoo.com Sun Jul 5 22:52:44 2009 From: martinrame at yahoo.com (=?iso-8859-1?Q?Leonardo_M=2E_Ram=E9?=) Date: Sun Jul 5 22:52:52 2009 Subject: SOLVED (Re: X Terminals problem) In-Reply-To: <414333.33809.qm@web35603.mail.mud.yahoo.com> References: <414333.33809.qm@web35603.mail.mud.yahoo.com> Message-ID: <942243.14281.qm@web35606.mail.mud.yahoo.com> The problem was a vimrc copied from a Windows machine to /usr/local/share/vim/vimrc containing this long statusline: set statusline=%F%m%r%h%w\ [FORMAT=%{&ff}]\ [TYPE=%Y]\ [ASCII=\%03.3b]\ [HEX=\%02.2B]\ [POS=%04l,%04v][%p%%]\ [LEN=%L] set laststatus=2 Leonardo M. Ram? http://leonardorame.blogspot.com ----- Original Message ---- From: Leonardo M. Ram? To: freebsd-questions@freebsd.org Sent: Saturday, July 4, 2009 12:17:48 PM Subject: X Terminals problem In my newly installed 7.2-STABLE, any X Terminal (xterm, xfce's Terminal, eterm,...) is working in the wrong way, specially while I use vim (v. 7.2.209) in text mode (gvim works ok), it can't scroll, when I try to move the cursor after the last line on the screen, the status bar shows that the position is changing, but the screen doesn't scrolls. Another issue is if I write a long line in the X terminal, instead of adding a LF at the end and continuing in the next line, it starts at the beginning of the same line. My system's data: uname -a: FreeBSD inspiron.local 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Xorg -version: X.Org X Server 1.6.0 Release Date: 2009-2-25 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.2-PRERELEASE i386 env: SSH_AGENT_PID=1128 GLADE_PIXMAP_PATH=: TERM=xterm SHELL=/bin/bash WINDOWID=25165828 USER=martin GLADE_MODULE_PATH=: SSH_AUTH_SOCK=/tmp/ssh-DCZmP4l6vx/agent.1127 SESSION_MANAGER=local/inspiron.local:/tmp/.ICE-unix/1136,inet6/inspiron.local:54435,inet/inspiron.local:54631 PAGER=/usr/bin/less FTP_PASSIVE_MODE=YES MAIL=/var/mail/martin PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/home/martin/bin BLOCKSIZE=K PWD=/usr/home/martin/doc EDITOR=/usr/local/bin/vim SHLVL=1 HOME=/home/martin GTK_PATH=:/usr/local/lib/gtk-2.0 LOGNAME=martin XDG_DATA_DIRS=/usr/share:/usr/local/share DBUS_SESSION_BUS_ADDRESS=unix:path=/var/tmp/dbus-g7d508SA96,guid=4488a97081aa02f88f1101ab4a4f700b WINDOWPATH=9 DISPLAY=:0.0 GLADE_CATALOG_PATH=: LIBGLADE_MODULE_PATH=:/usr/local/lib/libglade/2.0 COLORTERM=Terminal _=/usr/bin/env OLDPWD=/usr/home/martin Does anyone faced the same problems?, any workaround?. Leonardo M. Ram? http://leonardorame.blogspot.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 onemda at gmail.com Sun Jul 5 22:58:15 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Sun Jul 5 22:58:22 2009 Subject: can't get atheros ar2413 to connect under freebsd 7.2 In-Reply-To: <9a537e0c0907051425x172494dfo4b9b57346671498a@mail.gmail.com> References: <9a537e0c0907031944h66e783fdsfccc832aa9e4fa80@mail.gmail.com> <4ad871310907050624o4467dbf0n756c8c6b99b9d3eb@mail.gmail.com> <9a537e0c0907050751p505a66ack42f95b247eb9e6c1@mail.gmail.com> <9a537e0c0907051027u59d8949cw7f4abffca76d9c51@mail.gmail.com> <9a537e0c0907051338o5c551489kcffee9d59f60e83c@mail.gmail.com> <3a142e750907051417m65162841sa2eae53e53fbfc3f@mail.gmail.com> <9a537e0c0907051425x172494dfo4b9b57346671498a@mail.gmail.com> Message-ID: <3a142e750907051558g11a0c289g60a82e9a93adfd2f@mail.gmail.com> On 7/5/09, Atheer Elobadi wrote: > what data should i provide.. i'm sorry... but i'm new at this Run wpa_supplicant with debug flags ... Try with wlandebug(8) if it is not PBKAC. -- Paul From martinrame at yahoo.com Sun Jul 5 23:00:08 2009 From: martinrame at yahoo.com (=?iso-8859-1?Q?Leonardo_M=2E_Ram=E9?=) Date: Sun Jul 5 23:00:15 2009 Subject: Speeding up Xorg on Dell Inspiron 1525 In-Reply-To: <3a142e750907051417m65162841sa2eae53e53fbfc3f@mail.gmail.com> References: <9a537e0c0907031944h66e783fdsfccc832aa9e4fa80@mail.gmail.com> <4ad871310907050624o4467dbf0n756c8c6b99b9d3eb@mail.gmail.com> <9a537e0c0907050751p505a66ack42f95b247eb9e6c1@mail.gmail.com> <9a537e0c0907051027u59d8949cw7f4abffca76d9c51@mail.gmail.com> <9a537e0c0907051338o5c551489kcffee9d59f60e83c@mail.gmail.com> <3a142e750907051417m65162841sa2eae53e53fbfc3f@mail.gmail.com> Message-ID: <235961.249.qm@web35601.mail.mud.yahoo.com> I'm running 7.2-RELEASE i386 on a Dell Inspiron 1525. This laptop has an Intel GM965 Mobile graphics card, and while X performance is acceptable, it feels slow compared to Windows XP installed on another partition on the same machine. Does anyone has this same computer? What can I do to improve the performance of X?. These are the relevant parts of my xorg.conf: Section "Module" Load "dbe" Load "dri" Load "dri2" Load "extmod" Load "glx" Load "record" Load "freetype" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional Option "DRI" "true" # [] Option "RenderAccel" "true" Option "AGPFastWrite" "on" Option "UseFBDev" "true" VideoRam 32000 Identifier "Card0" Driver "intel" VendorName "Intel Corporation" BoardName "Mobile GM965/GL960 Integrated Graphics Controller" BusID "PCI:0:2:0" EndSection Leonardo M. Ram? http://leonardorame.blogspot.com From onemda at gmail.com Sun Jul 5 23:06:08 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Sun Jul 5 23:06:15 2009 Subject: Num Lock key in X, PF keys, involves xmodmap, xev In-Reply-To: <20090706000219.bd6c9871.freebsd@edvax.de> References: <20090705224943.693740a6.freebsd@edvax.de> <20090706000219.bd6c9871.freebsd@edvax.de> Message-ID: <3a142e750907051606gc36f4e4i941bc5b659c7075f@mail.gmail.com> On 7/5/09, Polytropon wrote: > Additional information, just recognized: > > When Num Lock is on (as described in my first message), some window > manager functions don't work anymore: When doubleclicking on a title > bar, the window does not roll up. When pressing Alt and dragging a > window with the left mouse button, the window does not move. If > Num Lock is switched off, it works as intended. With Num Lock on, > other things still work, such as pressing Ctrl and Shift and double- > clicking on the title bar maximizes the window (Ctrl alone maximizes > vertically, and Shift horizontally). Pressing Alt and clicking left > on the title bar sets the window into the background. (For most of > these functionalities, I'd like to use the 2x5 keys on the left as > I did it with the Sun keyboard.) Functionality you are seeking is trivial in fvwm2 case. There is IgnoreModifiers [L][2][5] command. In syscons(4) case available functionality is somehow limited ... -- Paul From noc at hdk5.net Sun Jul 5 23:51:10 2009 From: noc at hdk5.net (Al Plant) Date: Sun Jul 5 23:51:17 2009 Subject: SanDisk FreeBSD 7.2 p1 install In-Reply-To: <20090705235800.d899e5b2.freebsd@edvax.de> References: <4A501259.4050500@hdk5.net> <4A5023D5.1090106@hdk5.net> <4A511F27.10907@hdk5.net> <20090705235800.d899e5b2.freebsd@edvax.de> Message-ID: <4A513C6D.5050006@hdk5.net> Polytropon wrote: > On Sun, 05 Jul 2009 11:46:15 -1000, Al Plant wrote: > >> I discovered that in the HP Mini netbook FreeBSD 7.2 unfortunately does >> not recognize the Nic's either hard wired or Wlan. Anone know how to >> find what nics are in this HP MIni? There are no instructions about this >> with the unit. And I have had no help on the HP Forums. >> >> Any body know how I can detect these chips under FreeBSD 7.2. > > The command > > # pciconf -lv > > should list you all the devices the kernel detects, no matter if > a driver is attached (means: will usually work then) or not. > > > Aloha, Thank you... Yes, that works and shows I have BCM4310 wireless controller. I am new to wireless nic's . How do I load the driver or set this to work under FreeBSD? This FreeBSD is working from a Flash Drive USB using the 7.2 down load that Manolis made for us. The main drive has linux on it and it works with the wlan so I think it will work once I figure how to make FreeBSD see and use it. ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From lists at bertram-scharpf.de Mon Jul 6 01:25:17 2009 From: lists at bertram-scharpf.de (Bertram Scharpf) Date: Mon Jul 6 01:25:24 2009 Subject: how to do a live migration of a freebsd box to another box with rsync In-Reply-To: <98be5f7b0907050918k3b316120t491ddd5257be24f3@mail.gmail.com> References: <98be5f7b0907050918k3b316120t491ddd5257be24f3@mail.gmail.com> Message-ID: <20090706012514.GA31835@marge.bs.l> Hi, Am Sonntag, 05. Jul 2009, 18:18:03 +0200 schrieb insrc: > - as the UFS write support is still experimental in the Linux kernel, it > seems that i've to use a BSD liveCD but i can't find one :-/ I heard about > frenzy ( http://frenzy.org.ua/en/ ) but the homepage says that the project > is no longer maintained ! There is a livefs with the original ISO images: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/ISO-IMAGES/7.2/ I further found DesktopBSD but I didn't try that. I strongly recommend that you build yourself an USB stick. Here's what you need to do: http://typo.submonkey.net/articles/2006/4/13/installing-freebsd-on-usb-stick-episode-2 I went forth, chrooted into the stick and installed Vim, some diagnose/repair tools and an XFCE. I even managed to install Grub and let the user switch the boot process back to the hard disk. Further, I made a second partition named "transfer" formatted with FAT so that I can write some data from a Windows to it. I look enviously at the Grml project and I find it a great pity that there is no BSD equivalent. Bertram -- Bertram Scharpf Stuttgart, Deutschland/Germany http://www.bertram-scharpf.de From erich at apsara.com.sg Mon Jul 6 01:26:37 2009 From: erich at apsara.com.sg (Erich Dollansky) Date: Mon Jul 6 01:28:52 2009 Subject: X Terminals problem In-Reply-To: <414333.33809.qm@web35603.mail.mud.yahoo.com> References: <414333.33809.qm@web35603.mail.mud.yahoo.com> Message-ID: <200907060926.24976.erich@apsara.com.sg> Hi, On 04 July 2009 pm 23:17:48 Leonardo M. Ram? wrote: > In my newly installed 7.2-STABLE, any X Terminal (xterm, xfce's did you install from CD? I upgraded and I did not have this problem. If nothing helps, install 7.1 from CD and do an upgrade via sources. I faced others I have solved afterwards. See my mail regarding dbus and hal. Erich From invalid.pointer at gmail.com Mon Jul 6 01:31:29 2009 From: invalid.pointer at gmail.com (Manish Jain) Date: Mon Jul 6 01:31:36 2009 Subject: Urgent help needed : portmaster dies on py-cairo Message-ID: <4A5153ED.6080604@gmail.com> Hi, This is not a portmaster problem, but a problem of getting py-cairo to build following an update in the ports directory. 3 days back I ran 'portsnap fetch extract'. Then yesterday I ran 'portsnap fetch update' followed immediately by 'portmaster -a -B' After 3-4 hours, portsnap died on graphics/py-cairo saying : cannot find python headers /usr/ports/graphics/py-cairo/work/pycairo-1.8.4/config.log says : configure:4734: cc -E -I/usr/local/include conftest.c conftest.c:10:28: error: ac_nonexistent.h: No such file or directory configure:4741: $? = 1 cd /usr find . -name 'ac_nonexistent.h' #no results py-cairo-1.8.4 needs python2.6. My system has both python2.5 and python2.6 installed, with their headers under /usr/local/include/python2.5 and /usr/local/include/python2.6 respectively. Any help on enabling py-cairo locate the python headers would be greatly appreciated. My system is totally messed up, half of it updated by portmaster and the other half waiting for the update once py-cairo can locate the python headers. -- Regards Manish Jain invalid.pointer@gmail.com From noc at hdk5.net Mon Jul 6 01:36:49 2009 From: noc at hdk5.net (Al Plant) Date: Mon Jul 6 01:36:56 2009 Subject: SanDisk FreeBSD 7.2 p1 install In-Reply-To: <4A513C6D.5050006@hdk5.net> References: <4A501259.4050500@hdk5.net> <4A5023D5.1090106@hdk5.net> <4A511F27.10907@hdk5.net> <20090705235800.d899e5b2.freebsd@edvax.de> <4A513C6D.5050006@hdk5.net> Message-ID: <4A515531.1000706@hdk5.net> Al Plant wrote: > Polytropon wrote: >> On Sun, 05 Jul 2009 11:46:15 -1000, Al Plant wrote: >> >>> I discovered that in the HP Mini netbook FreeBSD 7.2 unfortunately >>> does not recognize the Nic's either hard wired or Wlan. Anone know >>> how to find what nics are in this HP MIni? There are no instructions >>> about this with the unit. And I have had no help on the HP Forums. >>> >>> Any body know how I can detect these chips under FreeBSD 7.2. >> >> The command >> >> # pciconf -lv >> >> should list you all the devices the kernel detects, no matter if >> a driver is attached (means: will usually work then) or not. >> >> >> > Aloha, > > Thank you... > > Yes, that works and shows I have BCM4310 wireless controller. > > I am new to wireless nic's . > How do I load the driver or set this to work under FreeBSD? > > This FreeBSD is working from a Flash Drive USB using the 7.2 down load > that Manolis made for us. The main drive has linux on it and it works > with the wlan so I think it will work once I figure how to make FreeBSD > see and use it. > > ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 > + http://hawaiidakine.com + http://freebsdinfo.org + > + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + > < email: noc@hdk5.net > > "All that's really worth doing is what we do for others."- Lewis Carrol > _______________________________________________ > 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" > ######################### Aloha, I read that the kernel module ndis0 work with wireless devices. Where do I get the original W32 driver.inf for the Broadcom 4310 wireless? ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 + http://hawaiidakine.com + http://freebsdinfo.org + + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + < email: noc@hdk5.net > "All that's really worth doing is what we do for others."- Lewis Carrol From doug at polands.org Mon Jul 6 02:00:41 2009 From: doug at polands.org (Doug Poland) Date: Mon Jul 6 02:00:48 2009 Subject: Bridge network device for VirtualBox In-Reply-To: <4A510F9D.80100@FreeBSD.org> References: <4A51089F.1030005@polands.org> <4A510F9D.80100@FreeBSD.org> Message-ID: <20090706012042.GA15017@polands.org> On Sun, Jul 05, 2009 at 10:39:57PM +0200, Beat Gaetzi wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > Doug Poland wrote: > > Hello, > > > > I'm experimenting with the new VirtualBox port and wand to implement a > > bridged network interface on the FreeBSD host. Could someone point me > > to some docs that may assist me? > > Only NAT networking is available at the moment. I've updated the wiki > page a few minutes ago with some other not working features: > http://wiki.freebsd.org/VirtualBox > > Maybe this helps. > Thanks for the heads-up. -- Regards, Doug From doug at polands.org Mon Jul 6 03:00:03 2009 From: doug at polands.org (Doug Poland) Date: Mon Jul 6 03:00:10 2009 Subject: Bridge network device for VirtualBox In-Reply-To: <20090705205302.GE11773@bsdcrew.de> References: <4A51089F.1030005@polands.org> <20090705205302.GE11773@bsdcrew.de> Message-ID: <4A5168B0.5060205@polands.org> Martin Wilke wrote: > -----BEGIN PGP SIGNED MESSAGE----- > On Sun, Jul 05, 2009 at 03:10:07PM -0500, Doug Poland wrote: >> Hello, >> >> I'm experimenting with the new VirtualBox port and wand to implement a >> bridged network interface on the FreeBSD host. Could someone point me >> to some docs that may assist me? BTW, the handbook advanced networking >> section, >> http://www.freebsd.org/doc/en/books/handbook/network-bridging.html, >> doesn't seem to apply to this application. > > That's true, bridge network isn't ported yet: > > http://wiki.freebsd.org/VirtualBox > Thanks for the heads up. I look forward to trying out the port when it's ready. -- Regards, Doug From huutrong at gmail.com Mon Jul 6 03:27:32 2009 From: huutrong at gmail.com (tang huu trong) Date: Mon Jul 6 03:27:40 2009 Subject: how to enable PAE? Message-ID: <772022930907051956j4273d996vf4c48dfd540343cb@mail.gmail.com> Dear all. i installed FreeBSD 6.4 (version 32bit) to my server with memory 8GB. now i want enable function PAE (physical address extension) in FreeBSD to support 8GB RAM of my server. Please give me a intruction (step by step). cause i am new of freebsd. thanks you very much. From glen.j.barber at gmail.com Mon Jul 6 03:32:21 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon Jul 6 03:32:28 2009 Subject: how to enable PAE? In-Reply-To: <772022930907051956j4273d996vf4c48dfd540343cb@mail.gmail.com> References: <772022930907051956j4273d996vf4c48dfd540343cb@mail.gmail.com> Message-ID: <4ad871310907052032i571afb4axe0dc710d7b2df5be@mail.gmail.com> On Sun, Jul 5, 2009 at 10:56 PM, tang huu trong wrote: > Dear all. > i installed FreeBSD 6.4 (version 32bit) to my server with memory 8GB. now i > want enable function PAE (physical address extension) in FreeBSD to support > 8GB RAM of my server. Please give me a intruction (step by step). cause i am > new of freebsd. thanks you very much. Build the PAE kernel. Read the handbook. It is already documented, step-by-step. http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html -- Glen Barber From bf1783 at googlemail.com Mon Jul 6 03:46:49 2009 From: bf1783 at googlemail.com (b. f.) Date: Mon Jul 6 03:46:56 2009 Subject: Urgent help needed : portmaster dies on py-cairo Message-ID: Manish Jain wrote: >After 3-4 hours, portsnap died on graphics/py-cairo saying : >cannot find python headers I'm guessing you meant "portmaster died" here ... >/usr/ports/graphics/py-cairo/work/pycairo-1.8.4/config.log says : >configure:4734: cc -E -I/usr/local/include conftest.c >conftest.c:10:28: error: ac_nonexistent.h: No such file or directory >configure:4741: $? = 1 >cd /usr >find . -name 'ac_nonexistent.h' >#no results As the name suggests, this header doesn't really exist. It's just a dummy header used during a test in the configure script to see how the compiler reacts when a header isn't there, in preparation for testing for the presence of real headers. That shouldn't be the problem: are you sure the configure script really failed at that point? If so, something is probably wrong with your compiler or toolchain, and that's usually bad news. :( >py-cairo-1.8.4 needs python2.6. My system has both python2.5 and >python2.6 installed, with their headers under >/usr/local/include/python2.5 and /usr/local/include/python2.6 >respectively. Why do you have both versions installed? 2.6 is largely backwards-compatible with 2.5, so why not just rip out 2.5 and use 2.6 exclusively? You'll save some trouble and disk space. Make sure your ports tree is up-to-date, so that PYTHON_DEFAULT_VERSION defaults to python2.6. Then deinstall lang/python25 and reinstall lang/python26. In particular, check to see that /usr/local/bin/python is present is a link to /usr/local/bin/python2.6. If it isn't, then something is wrong -- perhaps you have PYTHON_VERSION or PYTHON_DEFAULT_VERSION defined to the wrong value, or your ports tree is corrupt. Then rebuild all of the ports that depend upon python, and remove any vestige of the old /usr/local/lib/python2.5 directory tree. If you've stale ports that are still wired to use python2.5 for no good reason, you can patch them or their port Makefiles, or put a workaround in make.conf. >Any help on enabling py-cairo locate the python headers would be >greatly appreciated. What is the output of: "make -C /usr/ports/graphics/py-cairo -V CONFIGURE_ENV" If PYTHON is in there, properly defined as the path to the python2.6 binary, and the binary actually exists, then the configure script should succeed. If not, something is wrong. The configure script uses: PYTHON_INCLUDES=`$PYTHON-config --includes 2>/dev/null` to find the proper Python.h. Is /usr/local/bin/python2.6-config missing or broken on your system? What about /usr/local/include/python2.6/Python.h? b. From huutrong at gmail.com Mon Jul 6 03:53:59 2009 From: huutrong at gmail.com (tang huu trong) Date: Mon Jul 6 03:54:06 2009 Subject: error when complie kernel. Message-ID: <772022930907052053u32c4abctb4616c87750e90cf@mail.gmail.com> Dear all. i got a problem while complie my kernel to support PAE. below is my process. 1 - cp /usr/src/sys/i386/GENERIC /root/kernels/MYKERNEL 2 - cd /usr/src/sys/i386 3 - ln -s /root/kernels/MYKERNEL 4 - vi /usr/src/sys/i386/MYKERNEL 5 - add line "options PAE" 6 - save configure file. 7 - cd /usr/src 8 - make buildkernel KERNCONF=MYKERNEL and system start to complie the kernel, but i got the error like this while complie: /usr/src/sys/dev/advansys/advansys.c: In function `adv_action': /usr/src/sys/dev/advansys/advansys.c:260: warning: cast from pointer to integer of different size *** 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. please help me fix this. thanks you very much. From glen.j.barber at gmail.com Mon Jul 6 04:07:15 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon Jul 6 04:07:22 2009 Subject: error when complie kernel. In-Reply-To: <772022930907052053u32c4abctb4616c87750e90cf@mail.gmail.com> References: <772022930907052053u32c4abctb4616c87750e90cf@mail.gmail.com> Message-ID: <4ad871310907052107y3695cc6aw9ae406bac1d70d90@mail.gmail.com> On Sun, Jul 5, 2009 at 11:53 PM, tang huu trong wrote: > Dear all. > > i got a problem while complie my kernel to support PAE. below is my process. > > 1 - cp /usr/src/sys/i386/GENERIC /root/kernels/MYKERNEL > 2 - cd /usr/src/sys/i386 > 3 - ln -s /root/kernels/MYKERNEL > 4 - vi /usr/src/sys/i386/MYKERNEL > 5 - add line "options ? ? ?PAE" If you read the kernel config for PAE, you would notice there are some options that are unavailable in the PAE kernel. Please reread the kernel config and adjust accordingly. Or, in your custom kernel config, add 'include PAE'. -- Glen Barber From malathiramya at gmail.com Mon Jul 6 04:14:26 2009 From: malathiramya at gmail.com (malathi selvaraj) Date: Mon Jul 6 04:14:34 2009 Subject: good morning to all Message-ID: i have any error like this enter the full path of shell or RETURN fr /bin/sh: after that i reinstall freebsd. and it will working, but now system is not boot, it show error unable to load a kernel .. Thanks in advance S.MALATHI From aryeh.friedman at gmail.com Mon Jul 6 04:22:10 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Mon Jul 6 04:22:18 2009 Subject: good morning to all In-Reply-To: References: Message-ID: <4A517BF1.3000800@gmail.com> malathi selvaraj wrote: > i have any error like this enter the full path of shell or RETURN fr > /bin/sh: > after that i reinstall freebsd. and it will working, but now system is not > boot, it show error unable to load a kernel .. > > > > Thanks in advance > S.MALATHI > _______________________________________________ > 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" > > did you recompile the kernel? From mail25 at bzerk.org Mon Jul 6 07:59:25 2009 From: mail25 at bzerk.org (Ruben de Groot) Date: Mon Jul 6 07:59:32 2009 Subject: how to do a live migration of a freebsd box to another box with rsync In-Reply-To: <98be5f7b0907050918k3b316120t491ddd5257be24f3@mail.gmail.com> References: <98be5f7b0907050918k3b316120t491ddd5257be24f3@mail.gmail.com> Message-ID: <20090706075919.GB78371@ei.bzerk.org> On Sun, Jul 05, 2009 at 06:18:03PM +0200, insrc typed: > Hi, > I'm used to migrate GNU/Linux system from one box to another by booting the > second box with a liveCD (like systemrescueCD for example) and by copying > the "/" filesystem (using the ssh transport) with rsync. > I would like to do the same for BSD system but i have two issues: > - as the UFS write support is still experimental in the Linux kernel, it > seems that i've to use a BSD liveCD but i can't find one :-/ I heard about > frenzy ( http://frenzy.org.ua/en/ ) but the homepage says that the project > is no longer maintained ! > - i'm wondering how to restore the bootloader after copying the files on the > second box. On linux, i can use the grub-install script to do the job but > i'm a bit lost on FreeBSD :-) Assuming you install on the first slice of the first disk (ad0s1), to install the bootloader and bootstrap code: fdisk -B ad0 bsdlabel -B ad0s1 Ruben From nightrecon at verizon.net Mon Jul 6 08:32:39 2009 From: nightrecon at verizon.net (Michael Powell) Date: Mon Jul 6 08:32:46 2009 Subject: error when complie kernel. References: <772022930907052053u32c4abctb4616c87750e90cf@mail.gmail.com> Message-ID: tang huu trong wrote: > Dear all. > > i got a problem while complie my kernel to support PAE. below is my > process. > > 1 - cp /usr/src/sys/i386/GENERIC /root/kernels/MYKERNEL > 2 - cd /usr/src/sys/i386 > 3 - ln -s /root/kernels/MYKERNEL > 4 - vi /usr/src/sys/i386/MYKERNEL > 5 - add line "options PAE" > 6 - save configure file. > 7 - cd /usr/src > 8 - make buildkernel KERNCONF=MYKERNEL > [snip] The above is incorrect procedure. It has been a long time since I converted up to 7.x, so I am looking at the source for 7.2-Release. I would also like to point out that if the processor in your server supports amd64 (Intel calls this EMT64) it is much better to install and run the 64 bit version than PAE. PAE is buggy, slow, inefficient, and many drivers do not work properly. There is a list of buggy drivers in the PAE kernel config file. First, cd to /usr/src and do make clean to remove whatever may have turned up in /usr/obj when the previous attempt failed. Either that or cd to /usr/obj and do rm -rf usr to completely remove any trace of the failed attempt. Make sure there is no "/" in front of usr if you do this! If you examine the /usr/src/sys/i386/conf subdirectory you would see a collection of kernel configuration files. Notice there is one there named "PAE". Since there is already one present why not simply utilize it? So, cd to /usr/src and do the following: make buildkernel KERNCONF=PAE and when that is finished: make installkernel KERNCONF=PAE Then reboot and you will have a PAE kernel. Before you reboot you should read the procedure in the documentation on how to boot from kernel.old should the new kernel fail to boot. The list of steps above indicate that you did not read, or completely understand, the documentation. I would suggest you continue to study the chapter in the Handbook until you have a firm grasp of the material. Once you do, you will be in a better position to customize and/or maintain your machine. I would still advise to NOT use PAE unless you have no other better choice, e.g., your CPU is only 32 bit. -Mike From m.seaman at infracaninophile.co.uk Mon Jul 6 08:48:35 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Mon Jul 6 08:48:43 2009 Subject: good morning to all In-Reply-To: References: Message-ID: <4A51BA54.3050303@infracaninophile.co.uk> malathi selvaraj wrote: > i have any error like this enter the full path of shell or RETURN fr > /bin/sh: > after that i reinstall freebsd. and it will working, but now system is not > boot, it show error unable to load a kernel .. So after the first problem, you reinstalled the system, which worked for a while, but now will not boot because it can't load a kernel image? Hmmm... I guess it's possible for a hardware fault or a disk crash to render your kernel unreadable, but that really is very unlikely unless your whole hard disk has pretty much failed. In which case, you would simply need a new hard drive. Given you're system can read the MBR and the first stages of the boot code, it's clear your disk still has some life left in it. So... far more feasible is that a mistake was made somewhere while you were working on the system. The up side of that is mistakes are usually correctable, once you know where you went wrong. Can you describe what you were doing to the system before it lost the capacity to boot up again? 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: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090706/2fb9ce7c/signature.pgp From malathiramya at gmail.com Mon Jul 6 09:02:39 2009 From: malathiramya at gmail.com (malathi selvaraj) Date: Mon Jul 6 09:02:46 2009 Subject: good afternoon to all Message-ID: how to install freebsd7.2 i got some error like add of package xorg-server-1.6.0.1 aborted.error code 1- please check the debug screen for more info add of package atk-1.26.0 aborted, error code-1 please check the debug screen for more infor i got this type of error during installation time please guide me, how to install the freebad -- S.MALATHI From invalid.pointer at gmail.com Mon Jul 6 09:20:36 2009 From: invalid.pointer at gmail.com (manish jain) Date: Mon Jul 6 09:20:45 2009 Subject: Urgent help needed : portmaster dies on py-cairo In-Reply-To: References: Message-ID: 2009/7/6 b. f. > Manish Jain wrote: > > >After 3-4 hours, portsnap died on graphics/py-cairo saying : > >cannot find python headers > > I'm guessing you meant "portmaster died" here ... > > >/usr/ports/graphics/py-cairo/work/pycairo-1.8.4/config.log says : > >configure:4734: cc -E -I/usr/local/include conftest.c > >conftest.c:10:28: error: ac_nonexistent.h: No such file or directory > >configure:4741: $? = 1 > > > >cd /usr > >find . -name 'ac_nonexistent.h' > >#no results > > As the name suggests, this header doesn't really exist. It's just a > dummy header used during a test in the configure script to see how the > compiler reacts when a header isn't there, in preparation for testing > for the presence of real headers. That shouldn't be the problem: are > you sure the configure script really failed at that point? If so, > something is probably wrong with your compiler or toolchain, and > that's usually bad news. :( > > >py-cairo-1.8.4 needs python2.6. My system has both python2.5 and > >python2.6 installed, with their headers under > >/usr/local/include/python2.5 and /usr/local/include/python2.6 > >respectively. > > Why do you have both versions installed? 2.6 is largely > backwards-compatible with 2.5, so why not just rip out 2.5 and use 2.6 > exclusively? You'll save some trouble and disk space. Make sure your > ports tree is up-to-date, so that PYTHON_DEFAULT_VERSION defaults to > python2.6. Then deinstall lang/python25 and reinstall lang/python26. > In particular, check to see that /usr/local/bin/python is present is a > link to /usr/local/bin/python2.6. If it isn't, then something is > wrong -- perhaps you have PYTHON_VERSION or PYTHON_DEFAULT_VERSION > defined to the wrong value, or your ports tree is corrupt. Then > rebuild all of the ports that depend upon python, and remove any > vestige of the old /usr/local/lib/python2.5 directory tree. If you've > stale ports that are still wired to use python2.5 for no good reason, > you can patch them or their port Makefiles, or put a workaround in > make.conf. > > >Any help on enabling py-cairo locate the python headers would be > >greatly appreciated. > > What is the output of: > > "make -C /usr/ports/graphics/py-cairo -V CONFIGURE_ENV" > > If PYTHON is in there, properly defined as the path to the python2.6 > binary, and the binary actually exists, then the configure script > should succeed. If not, something is wrong. The configure script > uses: > > PYTHON_INCLUDES=`$PYTHON-config --includes 2>/dev/null` to find the > proper Python.h. Is /usr/local/bin/python2.6-config missing or broken > on your system? What about /usr/local/include/python2.6/Python.h? > > b. > Hello B, Thanks for your help. After running pkgdb -F, I find that there hundreds of ports depending on python2.5. Looks to me it will be easier to backup my dstfiles and reinstall the whole system afresh a 3rd time rather than trying to fix the existing ports. This time I will install no packages from the installation media, and build directly from ports instead. The first 2 ports I will build this time will be lang/python26 followed by lang/python. I suppose this should set the systemwide default python version to 2.6. Before I undertake this 3rd attempt, I request a few clarifications so that everything comes out fine this time around. >> something is wrong -- perhaps you have PYTHON_VERSION or PYTHON_DEFAULT_VERSION >> defined to the wrong value, or your ports tree is corrupt. Then >> rebuild all of the ports that depend upon python, and remove any >> vestige of the old /usr/local/lib/python2.5 directory tree. If you've >> stale ports that are still wired to use python2.5 for no good reason, >> you can patch them or their port Makefiles, or put a workaround in >> make.conf. 1) How do I find or set PYTHON_DEFAULT_VERSION ? 2) What workaround would be needed in make.conf to get 2.5-hardwired ports to use 2.6 instead ? Thanks for any help. Regards Manish Jain invalid.pointer@gmail.com From mexas at bristol.ac.uk Mon Jul 6 09:51:29 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Mon Jul 6 09:51:37 2009 Subject: Urgent help needed : portmaster dies on py-cairo In-Reply-To: References: Message-ID: <20090706095121.GA81385@mech-cluster238.men.bris.ac.uk> On Mon, Jul 06, 2009 at 02:50:35PM +0530, manish jain wrote: > 2009/7/6 b. f. > After running pkgdb -F, I find that there hundreds of ports depending on > python2.5. You shouldn't have 2.5 installed at all. It should be upgraded to 2.6 and changes propagated to all dependent ports, see /usr/ports/UPDATE entry from 20090608. I've 99 ports depending on python 2.6, and my update was quite smooth, IIRC. > 1) How do I find or set PYTHON_DEFAULT_VERSION ? > 2) What workaround would be needed in make.conf to get 2.5-hardwired ports > to use 2.6 instead ? I never had to mess with this, and I don't think it is a good idea. What I would probably do in your situation, is delete python2.5 forcefully, reinstall python2.6, and then reinstall any port which complains. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From m.seaman at infracaninophile.co.uk Mon Jul 6 09:54:58 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Mon Jul 6 09:55:05 2009 Subject: Urgent help needed : portmaster dies on py-cairo In-Reply-To: References: Message-ID: <4A51C9E1.4060804@infracaninophile.co.uk> manish jain wrote: > 1) How do I find or set PYTHON_DEFAULT_VERSION ? It's defined in /usr/ports/Mk/bsd.python.mk -- the default is 'python2.6' since 2009-06-08. If you want to use a non-default value you can override the default by adding eg.: PYTHON_DEFAULT_VERSION= python2.5 to /etc/make.conf. You can see what actual value value is used by issuing the following command in any port that uses python: happy-idiot-talk:...ports/graphics/py-cairo:% make -V PYTHON_DEFAULT_VERSION python2.6 Note that 'PYTHON_DEFAULT_VERSION' is the python version any add-on modules will be compiled against. The similar 'PYTHON_VERSION' variable indicates which version of python you'ld get by running the command 'python'. Please read the descriptions at the top of bsd.python.mk for more detail. > 2) What workaround would be needed in make.conf to get 2.5-hardwired ports > to use 2.6 instead ? You can't do it that way. Previously installed ports have to be modified to use py26, as described in the 20090608 entry in /usr/ports/UPDATING: Once the installed Python has been updated to 2.6, by using the method above, it is required to run the upgrade-site-packages target in lang/python to assure that site-packages are made available to the new Python version. If using portupgrade: # cd /usr/ports/lang/python && make upgrade-site-packages If using portmaster: # cd /usr/ports/lang/python && make upgrade-site-packages -DUSE_PORTMASTER The portmaster case can take quite some time to complete due to the lack of cached information that the portupgrade suite uses (specifically pkg_which). This is not the fault of portmaster. 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: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090706/835f1d53/signature.pgp From mexas at bristol.ac.uk Mon Jul 6 10:38:13 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Mon Jul 6 10:38:21 2009 Subject: after some time -> error: can't open display: :0.0 Message-ID: <20090706103803.GB16846@mech-cluster238.men.bris.ac.uk> This is on FBSD 8.0-current i386 with intel 845G video chip, with xorg-server-1.6.1,1 and xdm-1.1.8_1. Initially the server starts fine, but after a while I cannot open any new window, whether it is xterm, xpdf, display, firefox, etc. I get: % xterm & [2] 85659 % No protocol specified xterm Xt error: Can't open display: :0.0 [2] Exit 1 xterm % To fix the problem I have to logout and logon again. What could be causing this behaviour? many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From cwhiteh at onetel.com Mon Jul 6 11:38:05 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Mon Jul 6 11:38:12 2009 Subject: SanDisk FreeBSD 7.2 p1 install In-Reply-To: <4A515531.1000706@hdk5.net> References: <4A501259.4050500@hdk5.net> <4A5023D5.1090106@hdk5.net> <4A511F27.10907@hdk5.net> <20090705235800.d899e5b2.freebsd@edvax.de> <4A513C6D.5050006@hdk5.net> <4A515531.1000706@hdk5.net> Message-ID: <4A51E21A.9090908@onetel.com> Al Plant wrote: > > Aloha, > > I read that the kernel module ndis0 work with wireless devices. > > Where do I get the original W32 driver.inf for the Broadcom 4310 wireless? Either on a CD/DVD that came with the machine or the Broadcom Wireless LAN Driver here if yours is HP 2133 Mini-Notebook http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=3687085&prodTypeId=321957&prodSeriesId=3687084&swLang=8&taskId=135&swEnvOID=1093#11395 it is a self extracting exe file so you either need to run it on a windows machine or it will work in Wine. This is a useful page if you haven't already found it http://www.freebsd.org/doc/en/books/handbook/config-network-setup.html I created an ndis driver using these instructions, unfortunately it caused a panic so I couldn't use it, YMMV. Chris PS if you have problems extracting the files I can do them and send them off list. From wmoran at potentialtech.com Mon Jul 6 13:00:38 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Mon Jul 6 13:00:47 2009 Subject: good afternoon to all In-Reply-To: References: Message-ID: <20090706090035.b0f729ed.wmoran@potentialtech.com> In response to malathi selvaraj : Please choose a better subject line. The repeated "good " subjects you're using have two problems: 1) It's not afternoon in my part of the world. 2) It doesn't tell me if I should read your email or not. There's lots more advice here: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/freebsd-questions/index.html > i got some error like > add of package xorg-server-1.6.0.1 aborted.error code 1- please check the > debug screen for more info > add of package atk-1.26.0 aborted, error code-1 please check the debug > screen for more infor > i got this type of error during installation time My guess would be that you're using a minimal install ISO image, and that you're trying to install packages from CD. There are no packages on the minimal ISOs. If you have a reasonably fast internet connection (i.e., cable/DSL) you'll get more reliable results installing packages from FTP. Or you can get one of the more complete images, such as the DVD image. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From wtf.jlaine at gmail.com Mon Jul 6 13:39:58 2009 From: wtf.jlaine at gmail.com (Jeff Laine) Date: Mon Jul 6 13:40:06 2009 Subject: how to do a live migration of a freebsd box to another box with rsync Message-ID: <20090706133951.GA64502@free.bsd.loc> > Hi, > I'm used to migrate GNU/Linux system from one box to another by booting the > second box with a liveCD (like systemrescueCD for example) and by copying > the "/" filesystem (using the ssh transport) with rsync. > I would like to do the same for BSD system but i have two issues: > - as the UFS write support is still experimental in the Linux kernel, it > seems that i've to use a BSD liveCD but i can't find one :-/ I heard about > frenzy ( http://frenzy.org.ua/en/ ) but the homepage says that the project > is no longer maintained ! > - i'm wondering how to restore the bootloader after copying the files on the > second box. On linux, i can use the grub-install script to do the job but > i'm a bit lost on FreeBSD :-) Hello. The Frenzy distro is still quite usable albeit it was abandoned. ;) Also you can find official FreeBSD liveCD iso here: ftp://ftp.freebsd.org/pub/FreeBSD/releases/i.386/ISO-IMAGES/7.2/7.2-RELEASE-i386-livefs.iso (change arch type according to you platform). -- Best regards, Jeff | "Nobody wants to say how this works. | | Maybe nobody knows ..." | | Xorg.conf(5) | From bf1783 at googlemail.com Mon Jul 6 14:00:01 2009 From: bf1783 at googlemail.com (b. f.) Date: Mon Jul 6 14:00:08 2009 Subject: Urgent help needed : portmaster dies on py-cairo In-Reply-To: References: Message-ID: On 7/6/09, manish jain wrote: > 2009/7/6 b. f. > > After running pkgdb -F, I find that there hundreds of ports depending on > python2.5. Most of these are probably indirectly dependent, and may not be seriously affected. Many, for example, may have been dragged in by xorg's silly dependency on python via libxcb. >Looks to me it will be easier to backup my dstfiles and reinstall > the whole system afresh a 3rd time rather than trying to fix the existing > ports. This time I will install no packages from the installation media, and > build directly from ports instead. The first 2 ports I will build this time > will be lang/python26 followed by lang/python. Sounds good. > I suppose this should set the > systemwide default python version to 2.6. As the others have mentioned, you don't need to do this unless you wish to use a version of python other than 2.6, which is now the default. > 1) How do I find or set PYTHON_DEFAULT_VERSION ? > 2) What workaround would be needed in make.conf to get 2.5-hardwired ports > to use 2.6 instead ? 1) See above. 2) I didn't mean, as Seaman seemed to think, and you may have, that you can use ports built against 2.5 with 2.6. That would only rarely work, and most likely lead to all sorts of problems. Instead you should proceed with your plan, and rebuild all dependent ports via: pkgdb -L pkgdb -F portupgrade -fvrx lang/python26 lang/python26 rm -r /usr/local/lib/python2.5 or rebuild just that subset of ports that are most likely to be broken by the change, via the upgrade-site-packages target in lang/python, as Seaman suggested. What I meant by my original comment was, that if you should happen to want to build a port against 2.6, but find that it is hardwired in the port Makefile via USE_PYTHON to another version or versions, and you don't want to go to the trouble of patching the port Makefile, and then preserving this local modification when you merge in updates to the port tree, you can add a workaround in /etc/make.conf. Say, for example, you see that mail/py-spambayes has: USE_PYTHON= -2.5 in the port Makefile, and you want to install spambayes, but you don't want to have to reinstall python 2.5 or an earlier version of python. If you add: .if${.CURDIR:M*/mail/py-spambayes*} PYTHON_VERSION=python2.6 NO_IGNORE=yes .endif to /etc/make.conf, you can override the spambayes port Makefile without patching it. Now, you are _not_ supposed to do this, and you will probably have to deal with any consequences of such a local change on your own. Many ports have these restrictions for a good reason, but such an override can be occasionally useful. b. From drew at mykitchentable.net Mon Jul 6 14:03:38 2009 From: drew at mykitchentable.net (Drew Tomlinson) Date: Mon Jul 6 14:03:44 2009 Subject: FixIt CD Tool Availability In-Reply-To: <20090704190652.GA44670@lpthe.jussieu.fr> References: <20090704190652.GA44670@lpthe.jussieu.fr> Message-ID: <4A520423.3040602@mykitchentable.net> Michel Talon wrote: > Drew Tomlinson wrote: > >> The command 'gmirror label root ad8a ad6a' does not return an error but >> no device is created in /dev/mirror >> >> The command 'zpool create data raid1z ad14d ad12d ad8d ad6d' gives me >> an error about the ZFS library being unavailable. >> >> Are these tools supposed to work when using the Fix It CD? If not, does >> 7.2-RELEASE-amd64-disc1.iso have these tools? >> > > One can load kernel modules from the fixit cdrom, but as far as i > remember this requires some manipulations. > > What i do is, from the fixit prompt: > chroot /mnt2 > to go to the full system available on the cdrom under /mnt2. But then > required things are missing, so i do further: > mount -t devfs devfs /dev > because access to /dev is frequently required, and for commodity > set -o emacs > (to have shell history and editing) > export PAGER=more > (to be able to access man pages) > After that one has a more or less standard environment. Sometimes one > needs a writable filesystem, for example for accessing internet > (dhclient, resolv.conf, etc.) > mount -t tmpfs tmpfs /tmp > does that. > Thank you for your reply. I performed the steps you suggested above. However I am still stuck. After the above, my chrooted /dev did not have any device nodes so I must have done something wrong. I have also tried booting the DVD but the issues are the same. I guess the guide at http://www.freebsd.org/doc/en/articles/remote-install/installation.html is missing something required for 7.2. > It would be nice to have a shell script on the fixit cdrom doing similar > things automatically when one accesses fixit. > > In your case i suspect appropriate kernel modules were not loaded > and commands failed silently. > I have performed several Gentoo Linux installtions from its LiveCD so I understand the concept of running a system from CD to prepare hard drives and install. However I am missing some piece to make FreeBSDs LiveCD a functional environment. I'm getting frustrated... :) Thanks again for your help, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com From Stefan.Walker at hq.speakeasy.net Mon Jul 6 14:52:56 2009 From: Stefan.Walker at hq.speakeasy.net (Stefan Walker) Date: Mon Jul 6 14:53:03 2009 Subject: Speakeasy Referral Partner Program Message-ID: My name is Stefan Walker. I am trying to develop some referral partners in your region and wanted to see if you would be interested in teaming up with me and Speakeasy. We offer a very nice residual commission of 14%. I have included information about our program. FYI- Attached is an overview on the Speakeasy Partner Opportunity Deliver market-leading telecommunications services to your clients. Help your business customers reduce their telecom costs while enjoying the many benefits of advanced voice and data features. Earn generous commissions from Speakeasy for sales or referrals of broadband and voice services. Speakeasy Partners will receive residual amount of 14% for the life of the contract plus 114% of the one months recurring revenue(MRC). Speakeasy is reaching out to businesses like yours to offer partner opportunities. Please contact me to schedule a conference call to go over the details. FYI- Attached is an overview on the Speakeasy Partner Opportunity Who is Speakeasy? Speakeasy is one of the largest, independent nationwide providers of broadband voice, data, and hosting solutions focused on the needs of small business. Speakeasy offers a range of innovative services including VoIP, T1, OneLink DSL, Managed Hosting, Colocation, and multiple business-grade connectivity options. How long has Speakeasy been in business? Speakeasy has been in business since 1994. Where is Speakeasy located? Speakeasy's corporate Headquarters in based in Seattle, WA with satellite offices in Cupertino, CA, Vienna, VA (NEW) and Dallas, TX. Look forward to hearing from you!!!!! Stefan A. Walker Senior Account Executive Speakeasy Direct > 703-819-8551* Fax > 703-288-0325 Email > stefan.walker@hq.speakeasy.net * Web > www.speakeasy.net Voice * Data * Managed Services From unga888 at yahoo.com Mon Jul 6 15:54:46 2009 From: unga888 at yahoo.com (Unga) Date: Mon Jul 6 15:54:53 2009 Subject: How to modify the default unmount time of automounter (amd)? Message-ID: <761956.13353.qm@web57004.mail.re3.yahoo.com> Hi all I'm using the amd that comes with the FreeBSD 7.2 i386. I want to automatically mount and unmount an USB thumbdrive. Mounting part work well, but the unmounting part does work as specified. I have set "utimeout=1" but amd still take 120 seconds to automatically unmount. cat /etc/rc.conf amd_flags="-a /.amd_mnt -l syslog -x all /media /etc/amd.map" amd_enable="YES" cat /etc/amd.conf [ global ] map_type = file [ /media ] map_name = /etc/amd.map cat /etc/amd.map /defaults type:=host;fs:=${autodir}/${rhost}/host;rhost:=${key} * opts:=rw,grpid,resvport,vers=3,proto=tcp,nosuid,nodev,utimeout=1 thumdrive type:=pcfs;opts:=longname;dev:=/dev/da0s1;fs:=${autodir}/thumdriv I want to automatically unmount of 1 second of inactivity. Have I specified the unmounting incorrectly? Thanks in advance. Best regards Unga From atheer.elobadi at gmail.com Mon Jul 6 15:56:24 2009 From: atheer.elobadi at gmail.com (Atheer Elobadi) Date: Mon Jul 6 15:56:31 2009 Subject: can't get atheros ar2413 to connect under freebsd 7.2 In-Reply-To: <3a142e750907051558g11a0c289g60a82e9a93adfd2f@mail.gmail.com> References: <9a537e0c0907031944h66e783fdsfccc832aa9e4fa80@mail.gmail.com> <4ad871310907050624o4467dbf0n756c8c6b99b9d3eb@mail.gmail.com> <9a537e0c0907050751p505a66ack42f95b247eb9e6c1@mail.gmail.com> <9a537e0c0907051027u59d8949cw7f4abffca76d9c51@mail.gmail.com> <9a537e0c0907051338o5c551489kcffee9d59f60e83c@mail.gmail.com> <3a142e750907051417m65162841sa2eae53e53fbfc3f@mail.gmail.com> <9a537e0c0907051425x172494dfo4b9b57346671498a@mail.gmail.com> <3a142e750907051558g11a0c289g60a82e9a93adfd2f@mail.gmail.com> Message-ID: <9a537e0c0907060856n692285c6q3a0c4358d8a448b8@mail.gmail.com> i run 'wpa_supplicant -ddq -i ath0 -c /etc/wpa_supplicant.conf': Initializing interface 'ath0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'N/A' Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' Priority group 0 id=0 ssid='ALEX' Initializing interface (2) 'ath0' EAPOL: SUPP_PAE entering state DISCONNECTED EAPOL: KEY_RX entering state NO_KEY_RECEIVE EAPOL: SUPP_BE entering state INITIALIZE EAP: EAP entering state DISABLED EAPOL: External notification - portEnabled=0 EAPOL: External notification - portValid=0 Own MAC address: 00:19:7d:be:8c:65 wpa_driver_bsd_set_wpa: enabled=1 wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 wpa_driver_bsd_del_key: keyidx=0 wpa_driver_bsd_del_key: keyidx=1 wpa_driver_bsd_del_key: keyidx=2 wpa_driver_bsd_del_key: keyidx=3 wpa_driver_bsd_set_countermeasures: enabled=0 wpa_driver_bsd_set_drop_unencrypted: enabled=1 Setting scan request: 0 sec 100000 usec Added interface ath0 State: DISCONNECTED -> SCANNING Starting AP scan (broadcast SSID) Trying to get current scan results first without requesting a new scan to speed up initial association Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 0 sec 0 usec Starting AP scan (broadcast SSID) Received 0 bytes of scan results (0 BSSes) Scan results: 0 Selecting BSS from priority group 0 Try to find WPA-enabled AP Try to find non-WPA AP No suitable AP found. Setting scan request: 5 sec 0 usec Starting AP scan (broadcast SSID) and it keeps on like that.. On Mon, Jul 6, 2009 at 12:58 AM, Paul B. Mahol wrote: > On 7/5/09, Atheer Elobadi wrote: > > what data should i provide.. i'm sorry... but i'm new at this > > Run wpa_supplicant with debug flags ... > Try with wlandebug(8) if it is not PBKAC. > > -- > Paul > From onemda at gmail.com Mon Jul 6 16:29:58 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Mon Jul 6 16:30:06 2009 Subject: can't get atheros ar2413 to connect under freebsd 7.2 In-Reply-To: <9a537e0c0907060856n692285c6q3a0c4358d8a448b8@mail.gmail.com> References: <9a537e0c0907031944h66e783fdsfccc832aa9e4fa80@mail.gmail.com> <4ad871310907050624o4467dbf0n756c8c6b99b9d3eb@mail.gmail.com> <9a537e0c0907050751p505a66ack42f95b247eb9e6c1@mail.gmail.com> <9a537e0c0907051027u59d8949cw7f4abffca76d9c51@mail.gmail.com> <9a537e0c0907051338o5c551489kcffee9d59f60e83c@mail.gmail.com> <3a142e750907051417m65162841sa2eae53e53fbfc3f@mail.gmail.com> <9a537e0c0907051425x172494dfo4b9b57346671498a@mail.gmail.com> <3a142e750907051558g11a0c289g60a82e9a93adfd2f@mail.gmail.com> <9a537e0c0907060856n692285c6q3a0c4358d8a448b8@mail.gmail.com> Message-ID: <3a142e750907060929r4c33e313s2bd5b3781f46c123@mail.gmail.com> On 7/6/09, Atheer Elobadi wrote: > i run 'wpa_supplicant -ddq -i ath0 -c /etc/wpa_supplicant.conf': > > Initializing interface 'ath0' conf '/etc/wpa_supplicant.conf' driver > 'default' ctrl_interface 'N/A' bridge 'N/A' > Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' > Reading configuration file '/etc/wpa_supplicant.conf' > Priority group 0 > id=0 ssid='ALEX' > Initializing interface (2) 'ath0' > EAPOL: SUPP_PAE entering state DISCONNECTED > EAPOL: KEY_RX entering state NO_KEY_RECEIVE > EAPOL: SUPP_BE entering state INITIALIZE > EAP: EAP entering state DISABLED > EAPOL: External notification - portEnabled=0 > EAPOL: External notification - portValid=0 > Own MAC address: 00:19:7d:be:8c:65 > wpa_driver_bsd_set_wpa: enabled=1 > wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 > wpa_driver_bsd_del_key: keyidx=0 > wpa_driver_bsd_del_key: keyidx=1 > wpa_driver_bsd_del_key: keyidx=2 > wpa_driver_bsd_del_key: keyidx=3 > wpa_driver_bsd_set_countermeasures: enabled=0 > wpa_driver_bsd_set_drop_unencrypted: enabled=1 > Setting scan request: 0 sec 100000 usec > Added interface ath0 > State: DISCONNECTED -> SCANNING > Starting AP scan (broadcast SSID) > Trying to get current scan results first without requesting a new scan to > speed up initial association > Received 0 bytes of scan results (0 BSSes) > Scan results: 0 > Selecting BSS from priority group 0 > Try to find WPA-enabled AP > Try to find non-WPA AP > No suitable AP found. > Setting scan request: 0 sec 0 usec > Starting AP scan (broadcast SSID) > Received 0 bytes of scan results (0 BSSes) > Scan results: 0 > Selecting BSS from priority group 0 > Try to find WPA-enabled AP > Try to find non-WPA AP > No suitable AP found. > Setting scan request: 5 sec 0 usec > Starting AP scan (broadcast SSID) > > and it keeps on like that.. Does # ifconfig ath0 up and trying several times: # ifconfig ath0 list scan shows any results? Is anthing new displayed on console(vty0) ? -- Paul From informatique.src at gmail.com Mon Jul 6 16:36:08 2009 From: informatique.src at gmail.com (insrc) Date: Mon Jul 6 16:36:15 2009 Subject: how to do a live migration of a freebsd box to another box with rsync In-Reply-To: <20090706133951.GA64502@free.bsd.loc> References: <20090706133951.GA64502@free.bsd.loc> Message-ID: <98be5f7b0907060936i7f4d4576tec8b8b15e15ac703@mail.gmail.com> Hi, Thanks guys, everything worked perfectly ! - For the liveCD, i booted the second box with FreeNAS ( http://www.freenas.org/index.php?lang=fr ) , which include rsync and ssh :-) - Created the partition layout following the official doc http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/disks-adding.html. @Ruben: Thanks for your help btw for restoring the bootloader :-) - Then just rsynced the "/" filesystem excluding the /dev directory. - Ajusted /etc/fstab - Voil? ! Seems easier than a migration of GNU/Linux after all :) Thanks again for your help ! Cheers, From atheer.elobadi at gmail.com Mon Jul 6 16:44:58 2009 From: atheer.elobadi at gmail.com (Atheer Elobadi) Date: Mon Jul 6 16:45:05 2009 Subject: can't get atheros ar2413 to connect under freebsd 7.2 In-Reply-To: <9a537e0c0907060940i2cec141q757110d665680784@mail.gmail.com> References: <9a537e0c0907031944h66e783fdsfccc832aa9e4fa80@mail.gmail.com> <9a537e0c0907050751p505a66ack42f95b247eb9e6c1@mail.gmail.com> <9a537e0c0907051027u59d8949cw7f4abffca76d9c51@mail.gmail.com> <9a537e0c0907051338o5c551489kcffee9d59f60e83c@mail.gmail.com> <3a142e750907051417m65162841sa2eae53e53fbfc3f@mail.gmail.com> <9a537e0c0907051425x172494dfo4b9b57346671498a@mail.gmail.com> <3a142e750907051558g11a0c289g60a82e9a93adfd2f@mail.gmail.com> <9a537e0c0907060856n692285c6q3a0c4358d8a448b8@mail.gmail.com> <3a142e750907060929r4c33e313s2bd5b3781f46c123@mail.gmail.com> <9a537e0c0907060940i2cec141q757110d665680784@mail.gmail.com> Message-ID: <9a537e0c0907060944y18d64751x58433edff2a092fa@mail.gmail.com> sorry, i run 'wlandebug +scan' then i run 'ifconfig ath0 up scan' and this is the output: ath0: ieee80211_start_scan: active scan, duration 2147 483647, desired mode auto, append, nopick, once ath0: scan set 1g, 6g, 11g, 7g, 13g, 2g, 3g, 4g, 5g, 8g, 9g, 10g, 12g dwell min 20 max 200 ath0: scan_next: chan 12g -> 1g [active, dwell min 20 max 200] ath0: scan_next: chan 1g -> 6g [active, dwell min 20 max 200] ath0: scan_next: chan 6g -> 11g [active, dwell min 20 max 200] ath0: scan_next: chan 11g -> 7g [active, dwell min 20 max 200] ath0: scan_next: chan 7g -> 13g [passive, dwell min 20 max 200] ath0: scan_next: chan 13g -> 2g [active, dwell min 20 max 200] ath0: scan_next: chan 2g -> 3g [active, dwell min 20 max 200] ath0: scan_next: chan 3g -> 4g [active, dwell min 20 max 200] ath0: scan_next: chan 4g -> 5g [active, dwell min 20 max 200] ath0: scan_next: chan 5g -> 8g [active, dwell min 20 max 200] ath0: scan_next: chan 8g -> 9g [active, dwell min 20 max 200] ath0: scan_next: chan 9g -> 10g [active, dwell min 20 max 200] ath0: scan_next: chan 10g -> 12g [passive, dwell min 20 max 200] ath0: scan_next: done, [ticks 90658763, dwell min 20 scanend 2238139744] ath0: notify scan done this might be a bit more usefull than the previouse one.. On Mon, Jul 6, 2009 at 6:40 PM, Atheer Elobadi wrote: > tried this several times > # ifconfig ath0 up > # ifconfig ath0 list scan > > still no results .. > > if i run 'ifconfig ath0 scan' with 'wlandebug +debug' on, this is the > output: > > ath0: [ff:ff:ff:ff:ff:ff] send probe req on channel 4 > ath: scan_next: chan 4g -> 5g [active, dwell, min 20 max 200] > ath0: [ff:ff:ff:ff:ff:ff] send probe req on channel 2 > ath: scan_next: chan 2g -> 3g [active, dwell, min 20 max 200] > . > . > it continues on random channels > . > . > ath0: scan_next:done, [ticks 90275855, dwell min 20 scanend 2237756841 > ath0: notify scan done > > > > On Mon, Jul 6, 2009 at 6:29 PM, Paul B. Mahol wrote: > >> On 7/6/09, Atheer Elobadi wrote: >> > i run 'wpa_supplicant -ddq -i ath0 -c /etc/wpa_supplicant.conf': >> > >> > Initializing interface 'ath0' conf '/etc/wpa_supplicant.conf' driver >> > 'default' ctrl_interface 'N/A' bridge 'N/A' >> > Configuration file '/etc/wpa_supplicant.conf' -> >> '/etc/wpa_supplicant.conf' >> > Reading configuration file '/etc/wpa_supplicant.conf' >> > Priority group 0 >> > id=0 ssid='ALEX' >> > Initializing interface (2) 'ath0' >> > EAPOL: SUPP_PAE entering state DISCONNECTED >> > EAPOL: KEY_RX entering state NO_KEY_RECEIVE >> > EAPOL: SUPP_BE entering state INITIALIZE >> > EAP: EAP entering state DISABLED >> > EAPOL: External notification - portEnabled=0 >> > EAPOL: External notification - portValid=0 >> > Own MAC address: 00:19:7d:be:8c:65 >> > wpa_driver_bsd_set_wpa: enabled=1 >> > wpa_driver_bsd_set_wpa_internal: wpa=3 privacy=1 >> > wpa_driver_bsd_del_key: keyidx=0 >> > wpa_driver_bsd_del_key: keyidx=1 >> > wpa_driver_bsd_del_key: keyidx=2 >> > wpa_driver_bsd_del_key: keyidx=3 >> > wpa_driver_bsd_set_countermeasures: enabled=0 >> > wpa_driver_bsd_set_drop_unencrypted: enabled=1 >> > Setting scan request: 0 sec 100000 usec >> > Added interface ath0 >> > State: DISCONNECTED -> SCANNING >> > Starting AP scan (broadcast SSID) >> > Trying to get current scan results first without requesting a new scan >> to >> > speed up initial association >> > Received 0 bytes of scan results (0 BSSes) >> > Scan results: 0 >> > Selecting BSS from priority group 0 >> > Try to find WPA-enabled AP >> > Try to find non-WPA AP >> > No suitable AP found. >> > Setting scan request: 0 sec 0 usec >> > Starting AP scan (broadcast SSID) >> > Received 0 bytes of scan results (0 BSSes) >> > Scan results: 0 >> > Selecting BSS from priority group 0 >> > Try to find WPA-enabled AP >> > Try to find non-WPA AP >> > No suitable AP found. >> > Setting scan request: 5 sec 0 usec >> > Starting AP scan (broadcast SSID) >> > >> > and it keeps on like that.. >> >> Does >> >> # ifconfig ath0 up >> >> and trying several times: >> >> # ifconfig ath0 list scan >> >> shows any results? >> >> Is anthing new displayed on console(vty0) ? >> -- >> Paul >> > > From powergo13 at hotmail.com Mon Jul 6 19:39:51 2009 From: powergo13 at hotmail.com (Ergosky) Date: Mon Jul 6 19:42:56 2009 Subject: processor concern Message-ID: Hi. I want to download and start using FreeBSD but I've investigated about the differences between the processors architecture. My processor has a i686 architecture but there just seems to be a i386 full-arquitecture supported by the OS. I want to know if there's a distribution optimized for my processor's architecture to take full advantage of it's performance. Thanks in advance for your response. From m.e.sanliturk at gmail.com Mon Jul 6 20:06:04 2009 From: m.e.sanliturk at gmail.com (Mehmet Erol Sanliturk) Date: Mon Jul 6 20:06:11 2009 Subject: processor concern In-Reply-To: References: Message-ID: On Mon, Jul 6, 2009 at 3:27 PM, Ergosky wrote: > Hi. I want to download and start using FreeBSD but I've investigated about > the differences between the processors architecture. My processor has a i686 > architecture but there just seems to be a i386 full-arquitecture supported > by the OS. I want to know if there's a distribution optimized for my > processor's architecture to take full advantage of it's performance. Thanks > in advance for your response. > _______________________________________________ > Acronym i386 is used for Intel processors and their equivalents ( for example , AMD ) in 32 bits mode . Acronym amd64 is used for Intel processors and their equivalents ( for example , AMD ) in 64 bits mode . Therefore , please check exact model of your processor whether it can use 64 bits mode or not . Then you may select a suitable distribution . More detailed information may be found in release notes for distributions . Thank you very much . Mehmet Erol Sanliturk From wmoran at potentialtech.com Mon Jul 6 20:07:30 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Mon Jul 6 20:07:38 2009 Subject: processor concern In-Reply-To: References: Message-ID: <20090706160727.4b83e048.wmoran@potentialtech.com> In response to "Ergosky" : > Hi. I want to download and start using FreeBSD but I've investigated about the differences between the processors architecture. My processor has a i686 architecture but there just seems to be a i386 full-arquitecture supported by the OS. I want to know if there's a distribution optimized for my processor's architecture to take full advantage of it's performance. Thanks in advance for your response. There is not such thing as i686 architecture. I assume you mean that you have an i686 processor, which is either i386 or amd64 architecture, depending on how the OS decides to use it. For a desktop system, you probably want to use i386. For a server, amd64 is probably better. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From amvandemore at gmail.com Mon Jul 6 20:08:15 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Mon Jul 6 20:08:21 2009 Subject: processor concern In-Reply-To: References: Message-ID: <6201873e0907061308u47ae124al931f2427f4389850@mail.gmail.com> On Mon, Jul 6, 2009 at 2:27 PM, Ergosky wrote: > Hi. I want to download and start using FreeBSD but I've investigated about > the differences between the processors architecture. My processor has a i686 > architecture but there just seems to be a i386 full-arquitecture supported > by the OS. I want to know if there's a distribution optimized for my > processor's architecture to take full advantage of it's performance. Thanks > in advance for your response. > _______________________________________________ > 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" > i386 fully utilizes i686. If you have/want 64 bit, use amd64 although your choice may have further ramifications down the road. However you can always switch between the two if necessary although it is not particularly easy to do so. -- Adam Vande More From onemda at gmail.com Mon Jul 6 20:12:34 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Mon Jul 6 20:12:40 2009 Subject: can't get atheros ar2413 to connect under freebsd 7.2 In-Reply-To: <9a537e0c0907060944y18d64751x58433edff2a092fa@mail.gmail.com> References: <9a537e0c0907031944h66e783fdsfccc832aa9e4fa80@mail.gmail.com> <9a537e0c0907051027u59d8949cw7f4abffca76d9c51@mail.gmail.com> <9a537e0c0907051338o5c551489kcffee9d59f60e83c@mail.gmail.com> <3a142e750907051417m65162841sa2eae53e53fbfc3f@mail.gmail.com> <9a537e0c0907051425x172494dfo4b9b57346671498a@mail.gmail.com> <3a142e750907051558g11a0c289g60a82e9a93adfd2f@mail.gmail.com> <9a537e0c0907060856n692285c6q3a0c4358d8a448b8@mail.gmail.com> <3a142e750907060929r4c33e313s2bd5b3781f46c123@mail.gmail.com> <9a537e0c0907060940i2cec141q757110d665680784@mail.gmail.com> <9a537e0c0907060944y18d64751x58433edff2a092fa@mail.gmail.com> Message-ID: <3a142e750907061312r159b7749uc1828a8eb28cb099@mail.gmail.com> On 7/6/09, Atheer Elobadi wrote: > sorry, i run 'wlandebug +scan' then i run 'ifconfig ath0 up scan' and this > is the output: Doest ath0 attaches properly? Try changing ath debug flags via sysctl(8) and look for interesting errors. (disable wlandebug flags - they are no more useful) If you have source there is also athdebug and athstats in /usr/src/tools/tools/ath/ -- Paul From cwhiteh at onetel.com Mon Jul 6 20:23:40 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Mon Jul 6 20:23:50 2009 Subject: SanDisk FreeBSD 7.2 p1 install In-Reply-To: <4A523312.9000001@hdk5.net> References: <4A501259.4050500@hdk5.net> <4A5023D5.1090106@hdk5.net> <4A511F27.10907@hdk5.net> <20090705235800.d899e5b2.freebsd@edvax.de> <4A513C6D.5050006@hdk5.net> <4A515531.1000706@hdk5.net> <4A51E050.50107@onetel.com> <4A523312.9000001@hdk5.net> Message-ID: <4A525D3D.90708@onetel.com> Al Plant wrote: > Chris Whitehouse wrote: >> Al Plant wrote: >>> >>> Aloha, >>> >>> I read that the kernel module ndis0 work with wireless devices. >>> >>> Where do I get the original W32 driver.inf for the Broadcom 4310 >>> wireless? >> >> Either on a CD/DVD that came with the machine or the Broadcom Wireless >> LAN Driver here if yours is HP 2133 Mini-Notebook >> >> http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=3687085&prodTypeId=321957&prodSeriesId=3687084&swLang=8&taskId=135&swEnvOID=1093#11395 >> >> >> it is a self extracting exe file so you either need to run it on a >> windows machine or it will work in Wine. >> >> This is a useful page if you haven't already found it >> http://www.freebsd.org/doc/en/books/handbook/config-network-setup.html >> >> I created an ndis driver using these instructions, unfortunately it >> caused a panic so I couldn't use it, YMMV. >> >> Chris >> >> PS if you have problems extracting the files I can do them and send >> them off list. >> >> >> > Aloha Chris, > > Thanks for the help. > > I only have FreeBSD computers here so I havent looked at the CD that > came with the Mini. It doesnt say what os it is. > > It is a HP Mini 1000. In that case you probably want to look for your exact model on this page http://h20180.www2.hp.com/apps/Lookup?h_lang=en&h_cc=us&cc=us&h_page=hpcom&lang=en&h_client=S-A-R163-1&h_pagetype=s-002&h_query=HP+Mini+1000&submit.x=10&submit.y=9 though I checked a few and they all seemed to end up at the same driver so maybe exact model doesn't matter. ndis wants drivers for Windows XP > > It runs Linux (Ubuntu Debian Hybrid for HP) > I am working out of the office today so I will take a look at the > suggested links when I get back. > > > ~Al Plant - Honolulu, Hawaii - Phone: 808-284-2740 > + http://hawaiidakine.com + http://freebsdinfo.org + > + http://aloha50.net - Supporting - FreeBSD 6.* - 7.* - 8.* + > < email: noc@hdk5.net > > "All that's really worth doing is what we do for others."- Lewis Carrol > > From freebsd.lists at fsck.ch Mon Jul 6 21:16:52 2009 From: freebsd.lists at fsck.ch (Tobias Roth) Date: Mon Jul 6 21:16:59 2009 Subject: Mounting a cf card in a pcmcia adapter Message-ID: <4A5262A9.9060506@fsck.ch> Hi This used to work quite some time ago, when there still was pccardd. How does it work these days (with 7.x)? I didn't find any documentation on this. I get as far as cbb0: 16-bit card inserted, but no pccard bus. pccard0: <16-bit PCCard bus> on cbb0 pccard0: (manufacturer=0x0045, product=0x0401, function_type=4) at function 0 pccard0: CIS info: SanDisk, SDP, 5/3 0.6 But then no mountable device shows up. Am I missing a module? I have umass, cbb and pccard loaded, and also tried wuth cardbus instead of pccard. This very system and adapter worked back in the pccardd times. Thanks, t. From vogelke+unix at pobox.com Mon Jul 6 22:33:25 2009 From: vogelke+unix at pobox.com (Karl Vogel) Date: Mon Jul 6 22:33:33 2009 Subject: good morning to all In-Reply-To: <4A51BA54.3050303@infracaninophile.co.uk> (message from Matthew Seaman on Mon, 06 Jul 2009 09:48:20 +0100) Message-ID: <20090706223134.0A4BFBEFD@kev.msw.wpafb.af.mil> >> Earlier, malathi selvaraj wrote: M> after that i reinstall freebsd. and it will working, but now system is M> not boot, it show error unable to load a kernel .. >> On Mon, 06 Jul 2009 09:48:20 +0100, >> Matthew Seaman said: M> So after the first problem, you reinstalled the system, which worked for M> a while, but now will not boot because it can't load a kernel image? This sounds a little like something that happened to me when I built a 7.1 GENERIC kernel. When I did an installworld, I got this: > Can't work out which disk we are booting from. Guessed BIOS device > 0xffffffff not found by probes defaulting to disk0: http://forums.freebsd.org/showthread.php?t=2355 described the problem. It turned out to be a broken boot/loader; the CD had a version that was built before an untested change went into the source. I tried a bootonly CD image, but it came back with "Missing operating system". Fortunately I was able to boot from a backup root partition, copy loader.old to loader, and reboot normally. -- Karl Vogel I don't speak for the USAF or my company Must destroy mankind! (His watch alarm goes off) Ooh, lunchtime! --Homer Simpson, "Homer Goes To College" From roys1012 at gmail.com Tue Jul 7 00:34:47 2009 From: roys1012 at gmail.com (Roy Stuivenberg) Date: Tue Jul 7 00:34:54 2009 Subject: gnome2 - sysctl Message-ID: <1246926849.1763.21.camel@rs-unix.roycs.nl> Hello, Sometimes when I send a message with pidgin, or evolution, the application shuts down. Is there an option with sysctl, that would prevent this to happen? I'm running FreeBSD 7.2 stable - gnome2 Regards, Roy. From martinrame at yahoo.com Tue Jul 7 01:56:52 2009 From: martinrame at yahoo.com (=?iso-8859-1?Q?Leonardo_M=2E_Ram=E9?=) Date: Tue Jul 7 01:56:59 2009 Subject: VirtualBox 2.2.51 Message-ID: <482059.30047.qm@web35608.mail.mud.yahoo.com> Hi, I installed VirtualBox on a FreeBSD 7.2-RELEASE i386 and it works almost all well, but GuestAdditions. When I try to mount GuestAdditions ISO, VBox hangs. If I kill the two VirtualBox processes, then I can't start it again, until I reboot the machine. Anyone can run Guest Additions successfully? uname -a: FreeBSD inspiron.local 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Leonardo M. Ram? http://leonardorame.blogspot.com From martinrame at yahoo.com Tue Jul 7 02:01:35 2009 From: martinrame at yahoo.com (=?iso-8859-1?Q?Leonardo_M=2E_Ram=E9?=) Date: Tue Jul 7 02:01:43 2009 Subject: VirtualBox 2.2.51 In-Reply-To: <482059.30047.qm@web35608.mail.mud.yahoo.com> References: <482059.30047.qm@web35608.mail.mud.yahoo.com> Message-ID: <413565.56912.qm@web35605.mail.mud.yahoo.com> Sorry, I found freebsd-emulation@freebsd.org, I'll ask there. Leonardo M. Ram? http://leonardorame.blogspot.com ----- Original Message ---- From: Leonardo M. Ram? To: freebsd-questions@freebsd.org Sent: Monday, July 6, 2009 10:56:51 PM Subject: VirtualBox 2.2.51 Hi, I installed VirtualBox on a FreeBSD 7.2-RELEASE i386 and it works almost all well, but GuestAdditions. When I try to mount GuestAdditions ISO, VBox hangs. If I kill the two VirtualBox processes, then I can't start it again, until I reboot the machine. Anyone can run Guest Additions successfully? uname -a: FreeBSD inspiron.local 7.2-RELEASE FreeBSD 7.2-RELEASE #0: Fri May 1 08:49:13 UTC 2009 root@walker.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Leonardo M. Ram? http://leonardorame.blogspot.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 communications_msn_cs_ptbr at Microsoft.msn.com Tue Jul 7 05:32:23 2009 From: communications_msn_cs_ptbr at Microsoft.msn.com (Equipe Windows Live) Date: Tue Jul 7 05:33:04 2009 Subject: Ultimo aviso seu email Hotmail sera excluido em ate 24 horas. Message-ID: <200907070504.n6752hR8022858@venkobrasil.com.br> Caso n?o esteja visualizando este e-mail, clique aqui Caro usu?rio, sua caixa de mensagens eletr?nicas ( e-mail ) est? em processo de exclus?o dentro de 48 horas se n?o for efetuada a revalida??o, ele ser? infelizmente deletado do Hotmail. Para sua Tranq?ilidade, voc? pode optar por validar ou cancelar. Siga as instru??es: Revalidar o correio eletr?nico: O processo para revalidar ser? efetuado ap?s a entrada em nosso link, para revalidar, clique abaixo e depois v? em abrir. Revalidar Correio eletr?nico: Ativar Conta Cancelar o correio eletr?nico: Se voc? optar por cancelar, voc? pode esperar 48 horas que ser? automaticamente deletado do sistema, ou clique abaixo e depois v? em abrir. Cancelar o Correio eletr?nico: Cancelar Conta Este e-mail ? apenas informativo, serve unicamente como notifica??o, n?o responda. Equipe Hotmail 2009 Microsoft e seus fornecedores. Todos os direitos reservados From i.tanusheff at procreditbank.bg Tue Jul 7 06:54:28 2009 From: i.tanusheff at procreditbank.bg (Ivailo Tanusheff) Date: Tue Jul 7 06:54:35 2009 Subject: processor concern In-Reply-To: Message-ID: Hi, There is no i686 architecture, most likely it is i386. You better find out two major things: - is your processor a 64bit one; - do you want to use the full 64bit functionality if the prior one is true. If some of the answers is NO, then you should go with i386, which fully covers the architecture. If both answers are YES, them use AMD64, even your processor is Intel. This is an acronym of 64bit processor architecture Regards, Ivailo Tanusheff Deputy Head of IT Department ProCredit Bank (Bulgaria) AD "Ergosky" Sent by: owner-freebsd-questions@freebsd.org 06.07.2009 22:44 To cc Subject processor concern Hi. I want to download and start using FreeBSD but I've investigated about the differences between the processors architecture. My processor has a i686 architecture but there just seems to be a i386 full-arquitecture supported by the OS. I want to know if there's a distribution optimized for my processor's architecture to take full advantage of it's performance. Thanks in advance for your response. _______________________________________________ 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 malathiramya at gmail.com Tue Jul 7 08:47:59 2009 From: malathiramya at gmail.com (malathi selvaraj) Date: Tue Jul 7 08:48:05 2009 Subject: good morning to all Message-ID: i am not able to install freeBSD7.2 i'm getting an error like cn't upload kernel Thanks in advance S.MALATHI From mexas at bristol.ac.uk Tue Jul 7 09:02:46 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Tue Jul 7 09:02:53 2009 Subject: good morning to all In-Reply-To: References: Message-ID: <20090707090239.GA36899@mech-cluster238.men.bris.ac.uk> On Tue, Jul 07, 2009 at 02:17:58PM +0530, malathi selvaraj wrote: > i am not able to install freeBSD7.2 > i'm getting an error like cn't upload kernel what architecture? dmesg output? where are you installing from? exact error message? where are you installing to, what disk? -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From cyb. at gmx.net Tue Jul 7 09:03:04 2009 From: cyb. at gmx.net (Andreas Rudisch) Date: Tue Jul 7 09:03:12 2009 Subject: good morning to all In-Reply-To: References: Message-ID: <20090707110257.173a9baf.cyb.@gmx.net> On Tue, 7 Jul 2009 14:17:58 +0530 malathi selvaraj wrote: > i am not able to install freeBSD7.2 > i'm getting an error like cn't upload kernel What about slowly reading again: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install.html Andreas PS: Like you were told yesterday already, use a better subject line. "Good morning/afternoon/evening" does _not_ help at all. -- GnuPG key : 0x2A573565 | http://www.gnupg.org/howtos/de/ Fingerprint: 925D 2089 0BF9 8DE5 9166 33BB F0FD CD37 2A57 3565 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090707/b33bcadf/attachment.pgp From erich at apsara.com.sg Tue Jul 7 09:06:15 2009 From: erich at apsara.com.sg (Erich Dollansky) Date: Tue Jul 7 09:06:22 2009 Subject: good morning to all In-Reply-To: References: Message-ID: <200907071705.22986.erich@apsara.com.sg> Good Evening, On 07 July 2009 pm 16:47:58 malathi selvaraj wrote: > i am not able to install freeBSD7.2 > i'm getting an error like cn't upload kernel if you could be a bit more specific, we might be able to help. Can't you even boot the CD or does the freshly installed kernel not boot? Erich > > > > Thanks in advance > S.MALATHI > _______________________________________________ > 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 kernel at webrz.net Tue Jul 7 09:40:22 2009 From: kernel at webrz.net (Jos Chrispijn) Date: Tue Jul 7 09:40:28 2009 Subject: FTP Message-ID: <4A531519.4060208@webrz.net> FreeBSD 6.4-STABLE I do an upload to this server (plain ftp, not thru a php script) and every time the upload gets stuck at approx. 1,2 Gb. There is no shortage on capacity on that slice and I don't get a log report on ftp failure. Could you tell me what I can do to, at least, get an idea why these uploads get stuck? Thanks -- Jos Chrispijn From mexas at bristol.ac.uk Tue Jul 7 09:42:54 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Tue Jul 7 09:43:01 2009 Subject: good morning to all In-Reply-To: References: <20090707090239.GA36899@mech-cluster238.men.bris.ac.uk> Message-ID: <20090707094245.GA81092@mech-cluster238.men.bris.ac.uk> On Tue, Jul 07, 2009 at 02:56:35PM +0530, malathi selvaraj wrote: > 1. i use 6000M for installing freebsd7.2 > 2. loading /boot/defaults/loader.conf > unable to load a krnel! > / > can't load'kernal' > Type '?' for a list of commands 'help' for more detailed hlep > OK Did you follow "Standard" installation? did your installation program run fine? Did you get to "Congratulations!" message? How did you partition your 60GB (?) disk? Did you choose auto (A) partitioning scheme? can you post dmesg output when you boot from your FreeBSD 7.2 DVD? -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From mexas at bristol.ac.uk Tue Jul 7 10:28:59 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Tue Jul 7 10:29:07 2009 Subject: good morning to all In-Reply-To: References: <20090707090239.GA36899@mech-cluster238.men.bris.ac.uk> <20090707094245.GA81092@mech-cluster238.men.bris.ac.uk> Message-ID: <20090707102852.GA44208@mech-cluster238.men.bris.ac.uk> On Tue, Jul 07, 2009 at 03:20:45PM +0530, malathi selvaraj wrote: > 1. ya i follow srandarad installation. > 2.during the installation all it run fine > 3.i dn't get congratulations! if you didn't get to "Congratulations" it is likely your installation has failed. Have you read the handbook on this? I would perhaps repeat the installation process and make sure everything goes well, and you get to the very end. > *Dmesg:* > > BTX loader 1.00 BTX version is 1.02 > consoles: internal video/keyboard > BIOS drive c: is disk0 > BIOS 638KB/513984KB available Memory > > FreeBsd/i386 bootstrap loader,Revision 1.1 > (root@walker.cse.buffalo.edu fri may1 06:50 UTC 2009) > unable to load a krnel! > / > can't load'kernal' > Type '?' for a list of commands 'help' for more detailed hlep > OK > > > this message will display when i reboot the system . no I meant when you boot from DVD. When you get the first installation screen, probably choosing the language, do a screen scroll, and post what you see there. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From mexas at bristol.ac.uk Tue Jul 7 11:19:32 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Tue Jul 7 11:19:40 2009 Subject: good morning to all In-Reply-To: References: <20090707090239.GA36899@mech-cluster238.men.bris.ac.uk> <20090707094245.GA81092@mech-cluster238.men.bris.ac.uk> <20090707102852.GA44208@mech-cluster238.men.bris.ac.uk> Message-ID: <20090707111927.GA45697@mech-cluster238.men.bris.ac.uk> On Tue, Jul 07, 2009 at 04:21:51PM +0530, malathi selvaraj wrote: > now i get the congratulations. but it doesn't go for GUL, even i install > gnome in installation time. GUI? I don't use gnome, so cannot advise. Have a look at the handbook, particularly the chapter on X, and try to give more exact technical info, e.g. exactly what you are trying to, exactly what happens, your configuration, etc. -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From mail25 at bzerk.org Tue Jul 7 11:23:48 2009 From: mail25 at bzerk.org (Ruben de Groot) Date: Tue Jul 7 11:23:57 2009 Subject: FTP In-Reply-To: <4A531519.4060208@webrz.net> References: <4A531519.4060208@webrz.net> Message-ID: <20090707112342.GA92816@ei.bzerk.org> On Tue, Jul 07, 2009 at 11:27:53AM +0200, Jos Chrispijn typed: > FreeBSD 6.4-STABLE > I do an upload to this server (plain ftp, not thru a php script) and > every time the upload gets stuck at approx. 1,2 Gb. > There is no shortage on capacity on that slice and I don't get a log > report on ftp failure. Could you tell me what I can do to, at least, get > an idea why these uploads get stuck? Thanks Standard debugging? - increase logging level on the ftp daemon - sniff network traffic - use truss on the server process Ruben From rvdzwet at transip.nl Tue Jul 7 12:35:46 2009 From: rvdzwet at transip.nl (RIck van der Zwet) Date: Tue Jul 7 12:35:54 2009 Subject: FreeBSD HA file cluster possibilities Message-ID: <4A533CEA.7000007@transip.nl> I been (re)searching and reading what the options are with regards to H(igh) A(vailablility) file storage using FreeBSD, but cannot yet find a proper working solution. Any advice welcome! I like to be able to mirror a full identical disk between two server. So in case of hardware failure of server A (Master). Server B (Slave) immediately takes over, without any loss of data. The Network configuration is easy using ucarp/vppr. But the file system is the hard part. Paths I have investigated: a) ggate & gmirror: Export system on Server B to Server A. Use gmirror on Server A to keep identical disks. When the ggated on Server B actually goes down, the whole setup freezes, until the ggated is back up again. Second on network delays gmirror looses, having to sync all over again. Leaving the machine at risk. b) SAN/iSCSI targets/gmirror: [Brainstorm] Have 2 iSCSI storage boxes namely C and D. Have Server A run gmirror on the C and D. And let B pickup on failure? Does this work? c) ssync/rsync: This does not suit the needs as it does not provide realtime mirroring. Causing data-loss on failure. As rsync/ssync does not run in realtime. d) drbd: http://www.drbd.org/ - Does anyone has a working (alternative) setup on FreeBSD? Any other solution/setup I am missing? Using external hardware/software is all-right as long I am able to connect to FreeBSD with it and it leaves no single point of failure. Thanks in advance! /Rick From djuatdelta at gmail.com Tue Jul 7 12:41:29 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Tue Jul 7 12:41:38 2009 Subject: 2 questions: GEOM_LABEL and partition naming Message-ID: Good morning, folks! (At least, it's morning on the east coast of USA) QUESTION 1: Would someone please explain the /var/run/dmesg.boot excerpt below? Note: I have glanced at both of the following links, but at the moment, I do not have time to dig into the documentation and learn all about this. I'm hoping to get enough knowledge to understand what's going on with this excerpt, and then later invest time in deeper learning. [BEGIN excerpt from dmesg.boot] GEOM_LABEL: Label for provider ad0s1a is ufsid/4a0047d615cb402f. GEOM_LABEL: Label for provider ad0s1d is ufsid/4a0047d94598831f. GEOM_LABEL: Label for provider ad0s1e is ufsid/4a0047d8017e2a4d. GEOM_LABEL: Label for provider ad0s1f is ufsid/4a0047d82cde044f. GEOM_LABEL: Label for provider ad0s1g is ufsid/4a0047d6b40e9fa1. Trying to mount root from ufs:/dev/ad0s1a GEOM_LABEL: Label ufsid/4a0047d615cb402f removed. GEOM_LABEL: Label for provider ad0s1a is ufsid/4a0047d615cb402f. GEOM_LABEL: Label ufsid/4a0047d6b40e9fa1 removed. GEOM_LABEL: Label for provider ad0s1g is ufsid/4a0047d6b40e9fa1. GEOM_LABEL: Label ufsid/4a0047d8017e2a4d removed. GEOM_LABEL: Label for provider ad0s1e is ufsid/4a0047d8017e2a4d. GEOM_LABEL: Label ufsid/4a0047d82cde044f removed. GEOM_LABEL: Label for provider ad0s1f is ufsid/4a0047d82cde044f. GEOM_LABEL: Label ufsid/4a0047d94598831f removed. GEOM_LABEL: Label for provider ad0s1d is ufsid/4a0047d94598831f. GEOM_LABEL: Label ufsid/4a0047d615cb402f removed. GEOM_LABEL: Label ufsid/4a0047d6b40e9fa1 removed. GEOM_LABEL: Label ufsid/4a0047d8017e2a4d removed. GEOM_LABEL: Label ufsid/4a0047d82cde044f removed. GEOM_LABEL: Label ufsid/4a0047d94598831f removed. [END excerpt from dmesg.boot] More possibly relevant information: [BEGIN /etc/fstab] # Device Mountpoint FStype Options Dump Pass# /dev/ad0s1b none swap sw 0 0 /dev/ad0s1a / ufs rw 1 1 /dev/ad0s1g /home ufs rw 2 2 /dev/ad0s1e /tmp ufs rw 2 2 /dev/ad0s1f /usr ufs rw 2 2 /dev/ad0s1d /var ufs rw 2 2 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 linproc /usr/compat/linux/proc linprocfs rw 0 0 [END /etc/fstab] [BEGIN output of df command] Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad0s1a 756750 162710 533500 23% / devfs 1 1 0 100% /dev /dev/ad0s1g 23364076 112878 21382072 1% /home /dev/ad0s1e 756750 862 695348 0% /tmp /dev/ad0s1f 10154158 5275158 4066668 56% /usr /dev/ad0s1d 756750 163790 532420 24% /var linprocfs 4 4 0 100% /usr/compat/linux/proc [END output of df command] QUESTION 2: I'm suprised that the device names (from the df output above) do not include "ad0s1b" and "ad0s1c". I thought the naming should follow the model of "ad0s1%" where "%" begins at "a" and continues in alphabetical order for each partition on that device. What am I missing? TIA, Daniel From mister.olli at googlemail.com Tue Jul 7 12:49:46 2009 From: mister.olli at googlemail.com (Mister Olli) Date: Tue Jul 7 12:49:55 2009 Subject: FreeBSD HA file cluster possibilities In-Reply-To: <4A533CEA.7000007@transip.nl> References: <4A533CEA.7000007@transip.nl> Message-ID: <1246970966.3986.23.camel@phoenix.blechhirn.net> Hi, I'm curious about your solution. Let me know if you have one :-) I'm wondering if d) is possible in FreeBSD as from my view it would be the best solution. Wether you use synchronous (assuming you have sufficient bandwith) or asynchronous writes. A wonderful solution would be if AFS would provide in-time replication. However at the moment replication is hand-task in AFS. Another solution would be possible but I'm not sure that it has decent performance. You could use subversion with autoversioning and let it write into a mysql DB (or any other FS that writes into a database) and configure database replication between the two fileservers. Has anyone setup this and is capable of providing information on data throughput? Regards, --- Mr. Olli On Tue, 2009-07-07 at 14:17 +0200, RIck van der Zwet wrote: > I been (re)searching and reading what the options are with regards to > H(igh) A(vailablility) file storage using FreeBSD, but cannot yet find a > proper working solution. Any advice welcome! > > I like to be able to mirror a full identical disk between two server. So > in case of hardware failure of server A (Master). Server B (Slave) > immediately takes over, without any loss of data. The Network > configuration is easy using ucarp/vppr. But the file system is the hard > part. Paths I have investigated: > > a) ggate & gmirror: Export system on Server B to Server A. Use gmirror > on Server A to keep identical disks. When the ggated on Server B > actually goes down, the whole setup freezes, until the ggated is back up > again. Second on network delays gmirror looses, having to sync all over > again. Leaving the machine at risk. > > b) SAN/iSCSI targets/gmirror: [Brainstorm] Have 2 iSCSI storage boxes > namely C and D. Have Server A run gmirror on the C and D. And let B > pickup on failure? Does this work? > > c) ssync/rsync: This does not suit the needs as it does not provide > realtime mirroring. Causing data-loss on failure. As rsync/ssync does > not run in realtime. > > d) drbd: http://www.drbd.org/ - Does anyone has a working (alternative) > setup on FreeBSD? > > > Any other solution/setup I am missing? Using external hardware/software > is all-right as long I am able to connect to FreeBSD with it and it > leaves no single point of failure. > > Thanks in advance! > /Rick > _______________________________________________ > 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 jlawless001 at aol.com Tue Jul 7 05:57:10 2009 From: jlawless001 at aol.com (DJ Lawless) Date: Tue Jul 7 12:52:54 2009 Subject: question Message-ID: <8CBCCDD726FB7B6-137C-1C63@FWM-M35.sysops.aol.com> Hi, Do you need to become a member of freeBSD to get a freeBSD.org email address? if yes how do you become a member? regards, J Lawless? From valentin.bud at gmail.com Tue Jul 7 12:54:27 2009 From: valentin.bud at gmail.com (Valentin Bud) Date: Tue Jul 7 12:54:34 2009 Subject: 2 questions: GEOM_LABEL and partition naming In-Reply-To: References: Message-ID: <139b44430907070554i54e29c4dj6bd633f16c9eba28@mail.gmail.com> On Tue, Jul 7, 2009 at 3:41 PM, Daniel Underwood wrote: > Good morning, folks! (At least, it's morning on the east coast of USA) > > > QUESTION 1: Would someone please explain the /var/run/dmesg.boot excerpt > below? > > Note: I have glanced at both of the following links, but at the > moment, I do not have time to dig into the documentation and learn all > about this. I'm hoping to get enough knowledge to understand what's > going on with this excerpt, and then later invest time in deeper > learning. > > > > [BEGIN excerpt from dmesg.boot] > GEOM_LABEL: Label for provider ad0s1a is ufsid/4a0047d615cb402f. > GEOM_LABEL: Label for provider ad0s1d is ufsid/4a0047d94598831f. > GEOM_LABEL: Label for provider ad0s1e is ufsid/4a0047d8017e2a4d. > GEOM_LABEL: Label for provider ad0s1f is ufsid/4a0047d82cde044f. > GEOM_LABEL: Label for provider ad0s1g is ufsid/4a0047d6b40e9fa1. > Trying to mount root from ufs:/dev/ad0s1a > GEOM_LABEL: Label ufsid/4a0047d615cb402f removed. > GEOM_LABEL: Label for provider ad0s1a is ufsid/4a0047d615cb402f. > GEOM_LABEL: Label ufsid/4a0047d6b40e9fa1 removed. > GEOM_LABEL: Label for provider ad0s1g is ufsid/4a0047d6b40e9fa1. > GEOM_LABEL: Label ufsid/4a0047d8017e2a4d removed. > GEOM_LABEL: Label for provider ad0s1e is ufsid/4a0047d8017e2a4d. > GEOM_LABEL: Label ufsid/4a0047d82cde044f removed. > GEOM_LABEL: Label for provider ad0s1f is ufsid/4a0047d82cde044f. > GEOM_LABEL: Label ufsid/4a0047d94598831f removed. > GEOM_LABEL: Label for provider ad0s1d is ufsid/4a0047d94598831f. > GEOM_LABEL: Label ufsid/4a0047d615cb402f removed. > GEOM_LABEL: Label ufsid/4a0047d6b40e9fa1 removed. > GEOM_LABEL: Label ufsid/4a0047d8017e2a4d removed. > GEOM_LABEL: Label ufsid/4a0047d82cde044f removed. > GEOM_LABEL: Label ufsid/4a0047d94598831f removed. > [END excerpt from dmesg.boot] This are labels: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-glabel.html. > > > More possibly relevant information: > > [BEGIN /etc/fstab] > # Device Mountpoint FStype Options Dump > Pass# > /dev/ad0s1b none swap sw 0 0 > /dev/ad0s1a / ufs rw 1 1 > /dev/ad0s1g /home ufs rw 2 2 > /dev/ad0s1e /tmp ufs rw 2 2 > /dev/ad0s1f /usr ufs rw 2 2 > /dev/ad0s1d /var ufs rw 2 2 > /dev/acd0 /cdrom cd9660 ro,noauto 0 0 > > linproc /usr/compat/linux/proc linprocfs rw 0 0 > [END /etc/fstab] > > [BEGIN output of df command] > Filesystem 1K-blocks Used Avail Capacity Mounted on > /dev/ad0s1a 756750 162710 533500 23% / > devfs 1 1 0 100% /dev > /dev/ad0s1g 23364076 112878 21382072 1% /home > /dev/ad0s1e 756750 862 695348 0% /tmp > /dev/ad0s1f 10154158 5275158 4066668 56% /usr > /dev/ad0s1d 756750 163790 532420 24% /var > linprocfs 4 4 0 100% /usr/compat/linux/proc > [END output of df command] > > > QUESTION 2: I'm suprised that the device names (from the df output > above) do not include "ad0s1b" and "ad0s1c". I thought the naming > should follow the model of "ad0s1%" where "%" begins at "a" and > continues in alphabetical order for each partition on that device. > What am I missing? Partition b is for swap and c represents the entire slice. They will not appear in df output. > > > > TIA, > Daniel > _______________________________________________ > 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" > -- network warrior since 2005 From rwmaillists at googlemail.com Tue Jul 7 13:11:16 2009 From: rwmaillists at googlemail.com (RW) Date: Tue Jul 7 13:11:23 2009 Subject: question In-Reply-To: <8CBCCDD726FB7B6-137C-1C63@FWM-M35.sysops.aol.com> References: <8CBCCDD726FB7B6-137C-1C63@FWM-M35.sysops.aol.com> Message-ID: <20090707141111.1b7b73da@gumby.homeunix.com> On Tue, 07 Jul 2009 01:46:45 -0400 DJ Lawless wrote: > Do you need to become a member of freeBSD to get a freeBSD.org email > address? > > if yes how do you become a member? If you have to ask, it's not going to happen. From wmoran at potentialtech.com Tue Jul 7 13:18:53 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Tue Jul 7 13:19:06 2009 Subject: question In-Reply-To: <8CBCCDD726FB7B6-137C-1C63@FWM-M35.sysops.aol.com> References: <8CBCCDD726FB7B6-137C-1C63@FWM-M35.sysops.aol.com> Message-ID: <20090707091851.30c48a2d.wmoran@potentialtech.com> In response to DJ Lawless : > > Do you need to become a member of freeBSD to get a freeBSD.org email address? Yes. > if yes how do you become a member? Make enough contributions to the project that you get noticed and you'll be invited. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From djuatdelta at gmail.com Tue Jul 7 13:27:44 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Tue Jul 7 13:28:59 2009 Subject: 2 questions: GEOM_LABEL and partition naming In-Reply-To: <139b44430907070554i54e29c4dj6bd633f16c9eba28@mail.gmail.com> References: <139b44430907070554i54e29c4dj6bd633f16c9eba28@mail.gmail.com> Message-ID: Thanks, very helpful! From aryeh.friedman at gmail.com Tue Jul 7 13:55:36 2009 From: aryeh.friedman at gmail.com (Aryeh M. Friedman) Date: Tue Jul 7 13:55:43 2009 Subject: ot: regular expression help Message-ID: <4A5353D1.5010807@gmail.com> I am attempting to make (without the perl expansions) a regular expansion that when used as a delim will split words on any punction/whitespace character *EXCEPT* "$" (for java people I want to feed it into something like this: for(String foo:input.split([insert regex here]) ... From kernel at webrz.net Tue Jul 7 14:41:00 2009 From: kernel at webrz.net (Jos Chrispijn) Date: Tue Jul 7 14:41:07 2009 Subject: FTP In-Reply-To: <20090707112342.GA92816@ei.bzerk.org> References: <4A531519.4060208@webrz.net> <20090707112342.GA92816@ei.bzerk.org> Message-ID: <4A535E81.6030906@webrz.net> Ruben de Groot wrote: > On Tue, Jul 07, 2009 at 11:27:53AM +0200, Jos Chrispijn typed: > > - use truss on the server process > Thanks for your reply; can you explain what you mean with this? Jos Chrispijn From steve at ibctech.ca Tue Jul 7 14:49:00 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Tue Jul 7 14:49:10 2009 Subject: ot: regular expression help In-Reply-To: <4A5353D1.5010807@gmail.com> References: <4A5353D1.5010807@gmail.com> Message-ID: <4A536051.5080304@ibctech.ca> Aryeh M. Friedman wrote: > I am attempting to make (without the perl expansions) a regular > expansion that when used as a delim will split words on any > punction/whitespace character *EXCEPT* "$" (for java people I want to > feed it into something like this: > > for(String foo:input.split([insert regex here]) Since regexs are generally portable, here is a Perl version that splits on any non alpha-num including spaces, but disregards the '$'. (regex between / and /. Even though you said no Perl, I did it anyway ;) my $string = 'hello%wo$rld*ste ve'; print join (', ', (split(/[^\w\$]/, $string))); ...output: hello, wo$rld, ste, ve Steve -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3233 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090707/4e0b4cfe/smime.bin From m.seaman at infracaninophile.co.uk Tue Jul 7 14:49:42 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Tue Jul 7 14:49:50 2009 Subject: ot: regular expression help In-Reply-To: <4A5353D1.5010807@gmail.com> References: <4A5353D1.5010807@gmail.com> Message-ID: <4A536077.1080002@infracaninophile.co.uk> Aryeh M. Friedman wrote: > I am attempting to make (without the perl expansions) a regular > expansion that when used as a delim will split words on any > punction/whitespace character *EXCEPT* "$" (for java people I want to > feed it into something like this: > > for(String foo:input.split([insert regex here]) > ... Well, there's no way to say "all foo except bar" using standard regexes, so you can't use the [:punct:] character class. You'll have to roll your own class. If your input is ASCII then see ispunct(3) for a handy list of all the ascii punctuation characters. I guess you'll need a RE something like this: []!"#%&'\(\)\*\+,\./:;<=>?@[\\^_`{\|}~-[:space:]]+ although that's completely untried, quite likely to not have all the metacharacters properly escaped (exactly what is or isn't a metacharacter depends on the RE implementation you're using) and is probably horribly confused due to the inclusion of '[' '-' and ']' amongst the characters matched in the range. If you're using anything other than ascii, then I suspect you're going to have problems with RE libs anyhow, unless you can somehow use PCRE. The \p{isPunct} and \p{isWhite} escapes for matching unicode punctuation or whitespace is probably what you need. Even so, your best choice would probably be to separately check strings for the presence of $ characters -- maybe transform those $ characters to something else -- and then split on any remaining punctuation characters. 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: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090707/d9896e37/signature.pgp From jhall at socket.net Tue Jul 7 15:37:23 2009 From: jhall at socket.net (Jay Hall) Date: Tue Jul 7 15:37:30 2009 Subject: Adaptec 29320ALP-R and tape drive Message-ID: <22232360-A8C7-4D89-B38C-1CD911BA4591@socket.net> I just installed an Adaptec 29320ALP-R in my FreeBSD 7.2 server. Connected to the card is an HP Ultrium 1/8 G2 tape drive. During the boot sequence, FreeBSD pauses to wait for the SCSI devices to settle. Then, I receive the following message (probe79:ahd0:0:4:0: Probable outgoing LQ CRC error. Retrying command. I have moved the card to a different slot with the same results, replaced the cable, etc. If I do not power on the tape drive, the system will boot normally. Any suggestions would be greatly appreciated. Thanks, Jay From gibbs at scsiguy.com Tue Jul 7 15:59:23 2009 From: gibbs at scsiguy.com (Justin T. Gibbs) Date: Tue Jul 7 15:59:29 2009 Subject: Adaptec 29320ALP-R and tape drive In-Reply-To: <22232360-A8C7-4D89-B38C-1CD911BA4591@socket.net> References: <22232360-A8C7-4D89-B38C-1CD911BA4591@socket.net> Message-ID: <4A536DF2.4070909@scsiguy.com> Go into the card 29320's BIOS and configure your tape drive for non-packetized negotiation. If this works, we can try a few other things in the driver to see if it is possible to get things working in packetized mode. -- Justin Jay Hall wrote: > I just installed an Adaptec 29320ALP-R in my FreeBSD 7.2 server. > Connected to the card is an HP Ultrium 1/8 G2 tape drive. > > During the boot sequence, FreeBSD pauses to wait for the SCSI devices to > settle. Then, I receive the following message > > (probe79:ahd0:0:4:0: Probable outgoing LQ CRC error. Retrying command. > > I have moved the card to a different slot with the same results, > replaced the cable, etc. If I do not power on the tape drive, the > system will boot normally. > > Any suggestions would be greatly appreciated. > > Thanks, > > > Jay > _______________________________________________ > 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 jhall at socket.net Tue Jul 7 16:01:46 2009 From: jhall at socket.net (Jay Hall) Date: Tue Jul 7 16:01:53 2009 Subject: Adaptec 29320ALP-R and tape drive In-Reply-To: <4A536DF2.4070909@scsiguy.com> References: <22232360-A8C7-4D89-B38C-1CD911BA4591@socket.net> <4A536DF2.4070909@scsiguy.com> Message-ID: <05ED8E99-4F4A-44FC-9A24-D6AD627603DE@socket.net> That worked. Would any of the information displayed while booting be helpful at this point? Jay On Jul 7, 2009, at 10:46 AM, Justin T. Gibbs wrote: > Go into the card 29320's BIOS and configure your tape drive for non- > packetized > negotiation. If this works, we can try a few other things in the > driver to see > if it is possible to get things working in packetized mode. > > -- > Justin > > > Jay Hall wrote: >> I just installed an Adaptec 29320ALP-R in my FreeBSD 7.2 server. >> Connected to the card is an HP Ultrium 1/8 G2 tape drive. >> During the boot sequence, FreeBSD pauses to wait for the SCSI >> devices to settle. Then, I receive the following message >> (probe79:ahd0:0:4:0: Probable outgoing LQ CRC error. Retrying >> command. >> I have moved the card to a different slot with the same results, >> replaced the cable, etc. If I do not power on the tape drive, the >> system will boot normally. >> Any suggestions would be greatly appreciated. >> Thanks, >> Jay >> _______________________________________________ >> 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 gibbs at scsiguy.com Tue Jul 7 16:05:20 2009 From: gibbs at scsiguy.com (Justin T. Gibbs) Date: Tue Jul 7 16:05:27 2009 Subject: Adaptec 29320ALP-R and tape drive In-Reply-To: <05ED8E99-4F4A-44FC-9A24-D6AD627603DE@socket.net> References: <22232360-A8C7-4D89-B38C-1CD911BA4591@socket.net> <4A536DF2.4070909@scsiguy.com> <05ED8E99-4F4A-44FC-9A24-D6AD627603DE@socket.net> Message-ID: <4A537220.1000802@scsiguy.com> The pciconf -l line for the controller would be useful. Some other debug data may be useful too, but I'll need to review some code first before I know what more I need. -- Justin Jay Hall wrote: > That worked. Would any of the information displayed while booting be > helpful at this point? > > Jay > On Jul 7, 2009, at 10:46 AM, Justin T. Gibbs wrote: > >> Go into the card 29320's BIOS and configure your tape drive for >> non-packetized >> negotiation. If this works, we can try a few other things in the >> driver to see >> if it is possible to get things working in packetized mode. >> >> -- >> Justin >> >> >> Jay Hall wrote: >>> I just installed an Adaptec 29320ALP-R in my FreeBSD 7.2 server. >>> Connected to the card is an HP Ultrium 1/8 G2 tape drive. >>> During the boot sequence, FreeBSD pauses to wait for the SCSI devices >>> to settle. Then, I receive the following message >>> (probe79:ahd0:0:4:0: Probable outgoing LQ CRC error. Retrying command. >>> I have moved the card to a different slot with the same results, >>> replaced the cable, etc. If I do not power on the tape drive, the >>> system will boot normally. >>> Any suggestions would be greatly appreciated. >>> Thanks, >>> Jay >>> _______________________________________________ >>> 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 kdk at daleco.biz Tue Jul 7 16:07:45 2009 From: kdk at daleco.biz (Kevin Kinsey) Date: Tue Jul 7 16:07:54 2009 Subject: FTP In-Reply-To: <4A535E81.6030906@webrz.net> References: <4A531519.4060208@webrz.net> <20090707112342.GA92816@ei.bzerk.org> <4A535E81.6030906@webrz.net> Message-ID: <4A537274.7080903@daleco.biz> Jos Chrispijn wrote: > Ruben de Groot wrote: >> On Tue, Jul 07, 2009 at 11:27:53AM +0200, Jos Chrispijn typed: >> - use truss on the server process >> > Thanks for your reply; can you explain what you mean with this? > > Jos Chrispijn He's assuming you have control of the FTP server ... $ apropos truss truss(1) - trace system calls ... so you can use the above tool to see what's going on from the server's point of view. HTH, Kevin Kinsey -- Suaviter in modo, fortiter in re. Se non e vero, e ben trovato. From Hans.F.Nordhaug at hiMolde.no Tue Jul 7 16:58:00 2009 From: Hans.F.Nordhaug at hiMolde.no (Hans F. Nordhaug) Date: Tue Jul 7 16:58:08 2009 Subject: Second disks causes invalid partition when booting/no disks found in sysinstall Message-ID: <20090707162754.GA13174@hiMolde.no> Hi! I have been running FreeBSD happily for several years on the same old hardware. 2 weeks ago when I was on vacation one of the disks started to have problems, and 5 days ago the disk just stopped working - far too many read failures to get anything mounted. I got a new disk yesterday (finally home from vacation). The problems started when I tried to install FreeBSD 7.2 - I got "no disks found" from sysinstall all the time. The BIOS reported happily the new master and the old slave/hard drive. OK, I just disconnected the old slave and was able to install FreeBSD on the master. I was thinking/hoping that with the OS in place I should be able to read the old slave (which was one single UFS partition). Anyway, if I connect the old slave/hard drive I get "invalid partition" when booting - argh! What should/can I do? If I run the Live CD (livefs), I of course get "no disks found" ... Regards, Hans Nordhaug PS1! The old setup was running FreeBSD 6.3. PS2! The slave was used for back-up so it's kind of essential that I'm able to read it... PS3! I install the FreeBSD boot manager, but I guess that it doesn't make any difference. From kernel at webrz.net Tue Jul 7 19:02:11 2009 From: kernel at webrz.net (Jos Chrispijn) Date: Tue Jul 7 19:02:17 2009 Subject: FTP In-Reply-To: <4A537274.7080903@daleco.biz> References: <4A531519.4060208@webrz.net> <20090707112342.GA92816@ei.bzerk.org> <4A535E81.6030906@webrz.net> <4A537274.7080903@daleco.biz> Message-ID: <4A539BB8.7070401@webrz.net> Kevin Kinsey wrote: > He's assuming you have control of the FTP server ... > > $ apropos truss > truss(1) - trace system calls > > ... so you can use the above tool to see what's going > on from the server's point of view. Great suggestion, will do! Thanks. -- Jos Chrispijn From sfourman at gmail.com Tue Jul 7 19:29:02 2009 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Tue Jul 7 19:29:09 2009 Subject: Crypt.h In-Reply-To: <48B976DB.3060104@FreeBSD.org> References: <48B976DB.3060104@FreeBSD.org> Message-ID: <11167f520907071229j6abed8fcl2be2f4f91539cbb7@mail.gmail.com> On Sat, Aug 30, 2008 at 11:35 AM, Kris Kennaway wrote: > Patrick Kariuki wrote: >> >> Any ideas how I can get crypt.h from any of Freebsd 7 ports? > > Can you explain what you are trying to do? > > Kris it would appear that I too need crypt.h, I am attempting to see if I can compile cairo-dock (A desktop dock bar like OSX) I downloaded the linux source here: http://download.berlios.de/cairo-dock/cairo-dock-2.0.7.tar.bz2 All i did was download the source, extract it and ./configure && make below a is the bottom part of the compile error, along with my FreeBSD version uname -a FreeBSD 8.0-HEAD-20090601-JPSNAP FreeBSD 8.0-HEAD-20090601-JPSNAP #0: Mon Jun 1 02:48:06 UTC 2009 root@build-i386-fbsd-2.allbsd.org:/usr/obj/i386/usr/src/sys/GENERIC i386 from cairo-dock-draw.c:14: /usr/local/include/gtk-2.0/gtk/gtkitemfactory.h:47: warning: function declaration isn't a prototype mv -f .deps/cairo_dock-cairo-dock-draw.Tpo .deps/cairo_dock-cairo-dock-draw.Po gcc -DHAVE_CONFIG_H -I. -I.. -D_THREAD_SAFE -D_REENTRANT -I/usr/local/include/gtk-2.0 -I/usr/local/lib/gtk-2.0/include -I/usr/local/include/atk-1.0 -I/usr/local/include/cairo -I/usr/local/include/pango-1.0 -I/usr/local/include -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/librsvg-2 -I/usr/local/include/dbus-1.0 -I/usr/local/include/dbus-1.0/include -I/usr/local/include/libxml2 -I/usr/local/include/gtkglext-1.0 -I/usr/local/lib/gtkglext-1.0/include -D_THREAD_SAFE -I/usr/local/include -DHAVE_XEXTEND="1" -DHAVE_LIBCRYPT=1 -DCAIRO_DOCK_SHARE_DATA_DIR=\""/usr/local/share/cairo-dock"\" -DCAIRO_DOCK_SHARE_THEMES_DIR=\""/usr/local/share/cairo-dock/themes"\" -DCAIRO_DOCK_MODULES_DIR=\""/usr/local/lib/cairo-dock"\" -DCAIRO_DOCK_CONF_FILE=\""cairo-dock.conf"\" -DCAIRO_DOCK_LAUNCHER_CONF_FILE=\""launcher.conf"\" -DCAIRO_DOCK_CONTAINER_CONF_FILE=\""container.conf"\" -DCAIRO_DOCK_SEPARATOR_CONF_FILE=\""separator.conf"\" -DCAIRO_DOCK_THEME_CONF_FILE=\""themes.conf"\" -DCAIRO_DOCK_MAIN_DOCK_CONF_FILE=\""main-dock.conf"\" -DCAIRO_DOCK_DEFAULT_ICON_NAME=\""default-icon.svg"\" -DCAIRO_DOCK_DEFAULT_APPLI_ICON_NAME=\""default-icon-appli.svg"\" -DCAIRO_DOCK_DEFAULT_INDICATOR_NAME=\""default-indicator.png"\" -DCAIRO_DOCK_DEFAULT_CLASS_INDICATOR_NAME=\""default-class-indicator.svg"\" -DCAIRO_DOCK_VERSION=\""2.0.7"\" -DCAIRO_DOCK_LOCALE_DIR=\""/usr/local/share/locale"\" -DCAIRO_DOCK_GETTEXT_PACKAGE=\""cairo-dock"\" -DCAIRO_DOCK_ICON=\""cairo-dock.svg"\" -DCAIRO_DOCK_LOGO=\""cairo-dock-logo.png"\" -DCAIRO_DOCK_THEMES_DIR=\""themes"\" -DGL_GLEXT_PROTOTYPES=\""1"\" -std=c99 -O3 -g -ggdb -Wstrict-prototypes -Wextra -Wwrite-strings -Wuninitialized -Werror-implicit-function-declaration -g -O2 -MT cairo_dock-cairo-dock-config.o -MD -MP -MF .deps/cairo_dock-cairo-dock-config.Tpo -c -o cairo_dock-cairo-dock-config.o `test -f 'cairo-dock-config.c' || echo './'`cairo-dock-config.c In file included from /usr/local/include/gtk-2.0/gtk/gtk.h:226, from cairo-dock-config.c:12: /usr/local/include/gtk-2.0/gtk/gtkitemfactory.h:47: warning: function declaration isn't a prototype cairo-dock-config.c:19:19: error: crypt.h: No such file or directory In file included from cairo-dock-draw-opengl.h:9, from cairo-dock-config.c:29: /usr/local/include/GL/glu.h:287: warning: function declaration isn't a prototype cairo-dock-config.c: In function 'cairo_dock_decrypt_string': cairo-dock-config.c:868: error: implicit declaration of function 'encrypt' *** Error code 1 Stop in /usr/home/sfourman/Desktop/cairo-dock-2.0.7/src. *** Error code 1 Stop in /usr/home/sfourman/Desktop/cairo-dock-2.0.7/src. *** Error code 1 Stop in /usr/home/sfourman/Desktop/cairo-dock-2.0.7. *** Error code 1 Stop in /usr/home/sfourman/Desktop/cairo-dock-2.0.7. Sam Fourman Jr. From illoai at gmail.com Tue Jul 7 19:36:36 2009 From: illoai at gmail.com (illoai@gmail.com) Date: Tue Jul 7 19:36:44 2009 Subject: 2 questions: GEOM_LABEL and partition naming In-Reply-To: References: Message-ID: 2009/7/7 Daniel Underwood : > Good morning, folks! ?(At least, it's morning on the east coast of USA) > > > QUESTION 1: Would someone please explain the /var/run/dmesg.boot excerpt below? > > Note: I have glanced at both of the following links, but at the > moment, I do not have time to dig into the documentation and learn all > about this. ?I'm hoping to get enough knowledge to understand what's > going on with this excerpt, and then later invest time in deeper > learning. > > > > [BEGIN excerpt from dmesg.boot] > GEOM_LABEL: Label for provider ad0s1a is ufsid/4a0047d615cb402f. > GEOM_LABEL: Label for provider ad0s1d is ufsid/4a0047d94598831f. > GEOM_LABEL: Label for provider ad0s1e is ufsid/4a0047d8017e2a4d. > GEOM_LABEL: Label for provider ad0s1f is ufsid/4a0047d82cde044f. > GEOM_LABEL: Label for provider ad0s1g is ufsid/4a0047d6b40e9fa1. > Trying to mount root from ufs:/dev/ad0s1a > GEOM_LABEL: Label ufsid/4a0047d615cb402f removed. > GEOM_LABEL: Label for provider ad0s1a is ufsid/4a0047d615cb402f. > GEOM_LABEL: Label ufsid/4a0047d6b40e9fa1 removed. > GEOM_LABEL: Label for provider ad0s1g is ufsid/4a0047d6b40e9fa1. > GEOM_LABEL: Label ufsid/4a0047d8017e2a4d removed. > GEOM_LABEL: Label for provider ad0s1e is ufsid/4a0047d8017e2a4d. > GEOM_LABEL: Label ufsid/4a0047d82cde044f removed. > GEOM_LABEL: Label for provider ad0s1f is ufsid/4a0047d82cde044f. > GEOM_LABEL: Label ufsid/4a0047d94598831f removed. > GEOM_LABEL: Label for provider ad0s1d is ufsid/4a0047d94598831f. > GEOM_LABEL: Label ufsid/4a0047d615cb402f removed. > GEOM_LABEL: Label ufsid/4a0047d6b40e9fa1 removed. > GEOM_LABEL: Label ufsid/4a0047d8017e2a4d removed. > GEOM_LABEL: Label ufsid/4a0047d82cde044f removed. > GEOM_LABEL: Label ufsid/4a0047d94598831f removed. > [END excerpt from dmesg.boot] By default now, geom creates an ufsid label on its ufs partitions (similar idea to linux's uuid scheme). If you choose to not use it (let us say, for instance, as we can clearly see, as no-one could disagree (and 30 other inane Chomskyisms)) by mounting your partitions via their respective bsdlabel names, geom kindly removes them. There has been some debate as to whether this should be silent or not (I think in freebsd-current@), since it is perfectly safe to ignore. It is perfectly safe to ignore. -- -- From tutorial at gawab.com Tue Jul 7 20:36:14 2009 From: tutorial at gawab.com (x) Date: Tue Jul 7 20:36:20 2009 Subject: Can I use porteasy to update ALL currently installed ports? Message-ID: <4A53AB66.4090106@gawab.com> I want to update the sources of all currenntly installed ports present in /usr/ports I use porteasy to install ports (I dont have/want the whole tree). From amvandemore at gmail.com Tue Jul 7 20:54:25 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Tue Jul 7 20:54:32 2009 Subject: FreeBSD HA file cluster possibilities In-Reply-To: <4A533CEA.7000007@transip.nl> References: <4A533CEA.7000007@transip.nl> Message-ID: <6201873e0907071354y453a71edh3e75391b37399fe0@mail.gmail.com> On Tue, Jul 7, 2009 at 7:17 AM, RIck van der Zwet wrote: > I been (re)searching and reading what the options are with regards to > H(igh) A(vailablility) file storage using FreeBSD, but cannot yet find a > proper working solution. Any advice welcome! > > I like to be able to mirror a full identical disk between two server. So in > case of hardware failure of server A (Master). Server B (Slave) immediately > takes over, without any loss of data. The Network configuration is easy > using ucarp/vppr. But the file system is the hard part. Paths I have > investigated: > > a) ggate & gmirror: Export system on Server B to Server A. Use gmirror on > Server A to keep identical disks. When the ggated on Server B actually goes > down, the whole setup freezes, until the ggated is back up again. Second on > network delays gmirror looses, having to sync all over again. Leaving the > machine at risk. > > b) SAN/iSCSI targets/gmirror: [Brainstorm] Have 2 iSCSI storage boxes > namely C and D. Have Server A run gmirror on the C and D. And let B pickup > on failure? Does this work? > > c) ssync/rsync: This does not suit the needs as it does not provide > realtime mirroring. Causing data-loss on failure. As rsync/ssync does not > run in realtime. > > d) drbd: http://www.drbd.org/ - Does anyone has a working (alternative) > setup on FreeBSD? > > > Any other solution/setup I am missing? Using external hardware/software is > all-right as long I am able to connect to FreeBSD with it and it leaves no > single point of failure. > > Thanks in advance! > /Rick > Is there a problem with the DRBD and Heartbeat config? -- Adam Vande More From Hans.F.Nordhaug at hiMolde.no Tue Jul 7 21:51:57 2009 From: Hans.F.Nordhaug at hiMolde.no (Hans F. Nordhaug) Date: Tue Jul 7 21:52:04 2009 Subject: Second disks causes invalid partition when booting/no disks found in sysinstall In-Reply-To: <20090707162754.GA13174@hiMolde.no> References: <20090707162754.GA13174@hiMolde.no> Message-ID: <20090707215153.GA16007@hiMolde.no> * Hans F. Nordhaug [2009-07-07]: > Hi! > > I have been running FreeBSD happily for several years on the same old > hardware. 2 weeks ago when I was on vacation one of the disks started > to have problems, and 5 days ago the disk just stopped working - far > too many read failures to get anything mounted. I got a new disk > yesterday (finally home from vacation). The problems started when I > tried to install FreeBSD 7.2 - I got "no disks found" from sysinstall > all the time. The BIOS reported happily the new master and the old > slave/hard drive. OK, I just disconnected the old slave and was able to > install FreeBSD on the master. I was thinking/hoping that with the OS > in place I should be able to read the old slave (which was one single > UFS partition). Anyway, if I connect the old slave/hard drive I get > "invalid partition" when booting - argh! > > What should/can I do? If I run the Live CD (livefs), I of course get > "no disks found" ... [cut] I did some more tests and: 1) Using only the old slave/hard drive works - it's detected by sysinstall. (The new drive is disconected.) 2) I replaced the FreeBSD boot manager with the standard boot manager, but still the FreeBSD boot manager kicked in unless I disconnected the old slave. This seems to indicate that the old slave also has a FreeBSD boot manager installed... The next obvious step (to me) is to remove the FreeBSD boot manager from the old slave. I guess I can do it with sysinstall, but how? The data on the disk can not be lost... Is there other things I should try? Regards, Hans Nordhaug From chris at darkadsl.ca Tue Jul 7 23:06:10 2009 From: chris at darkadsl.ca (chris@darkadsl.ca) Date: Tue Jul 7 23:06:34 2009 Subject: Hacker problem...Takes down apache? Message-ID: <40db8bb280d58ed7874492a66de0fa86@localhost> I run a virtual hosting server and one of my clients got hacked (weak password in CMS). I was able to capture the php script that the hacker uploaded, as well as some c and perl daemons (one looks to be basically like telnet -- should be fairly harmless due to the restrictive hardware firewall, plus the one I saw relies on a bash shell which I don't have). Also another one looks like a generic network bouncer -- something like netcat. However what I can't figure out is how it is causing interference with Apache (and possibly networking in general). The processes I've seen from this are running as www so I don't see anything to suggest I've been rooted, but how else can it listen something on port 80? It seems to be doing *something* to break Apache in an attempt to hijack it. INITIAL SYMPTOMS * Apache does not come back up from it's nightly log rotation (it segfaults occasionally when it gets a signal "seg fault or similar nasty error detected in the parent process" but I have a script to auto restart so it's not normally a problem). However top/ps/etc. show it as running. SERVER# /usr/local/etc/rc.d/apache22 stop apache22 not running? (check /var/run/httpd.pid). SERVER# /usr/local/etc/rc.d/apache22 start Performing sanity check on apache22 configuration: Syntax OK Starting apache22. (48)Address already in use: make_sock: could not bind to address [::]:80 (48)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs After killing all httpd PIDs I am able to start it, and it runs according to top/ps/etc, but it still does not work. SYMPTOMS * When connecting to port 80 on the web server with a web browser a "page can not be displayed" error. A "lynx 127.0.0.1" give error "Alert!: Unable to access document." However sockstat still shows httpd listening on port 80. * When doing a packet sniff "ngrep host and not port 22" I see what appears to be spammy pages being served up in response to http queries (tho they don't seem to make them to any browser). Even more interestingly, I see http queries for domains/pages I host, but am not accessing from my IP (standard traffic) even tho the ngrep command should restrict to my IP. Also what looks like mysql replication environment variables (this server does not use mysql replication). * Somehow there is a perl process listening on port 80......How can an unprivliged process bind to a low port? www httpd 75975 4 tcp4 *:* *:* www httpd 75975 5 tcp46 *:443 *:* www httpd 75975 6 tcp4 *:* *:* www httpd 75974 3 tcp46 *:80 *:* www httpd 75974 4 tcp4 *:* *:* www httpd 75974 5 tcp46 *:443 *:* www httpd 75974 6 tcp4 *:* *:* www httpd 75973 3 tcp46 *:80 *:* www httpd 75973 4 tcp4 *:* *:* www perl5.8.8 33537 4 tcp4 *:80 *:* www perl5.8.8 33537 6 tcp4 *:443 *:* www perl5.8.8 33537 1431tcp4 *:11457 *:* www perl5.8.8 33537 1432tcp4 :80 58.61.38.19:1569 From bmettee at pchotshots.com Tue Jul 7 23:11:33 2009 From: bmettee at pchotshots.com (Brad Mettee) Date: Tue Jul 7 23:11:40 2009 Subject: Second disks causes invalid partition when booting/no disks found in sysinstall In-Reply-To: <20090707215153.GA16007@hiMolde.no> References: <20090707162754.GA13174@hiMolde.no> <20090707162754.GA13174@hiMolde.no> Message-ID: <4.3.2.7.2.20090707190954.02d6ce88@mail.pchotshots.com> What happens if you put the drive on a secondary controller? (Maybe use the CD-ROM drive cable) With the drive on a separate cable, you should be able to avoid any problems that cable select or jumpers may be causing. At 05:51 PM 7/7/2009, Hans F. Nordhaug wrote: >* Hans F. Nordhaug [2009-07-07]: > > Hi! > > > > I have been running FreeBSD happily for several years on the same old > > hardware. 2 weeks ago when I was on vacation one of the disks started > > to have problems, and 5 days ago the disk just stopped working - far > > too many read failures to get anything mounted. I got a new disk > > yesterday (finally home from vacation). The problems started when I > > tried to install FreeBSD 7.2 - I got "no disks found" from sysinstall > > all the time. The BIOS reported happily the new master and the old > > slave/hard drive. OK, I just disconnected the old slave and was able to > > install FreeBSD on the master. I was thinking/hoping that with the OS > > in place I should be able to read the old slave (which was one single > > UFS partition). Anyway, if I connect the old slave/hard drive I get > > "invalid partition" when booting - argh! > > > > What should/can I do? If I run the Live CD (livefs), I of course get > > "no disks found" ... >[cut] > >I did some more tests and: > >1) Using only the old slave/hard drive works - it's detected by > sysinstall. (The new drive is disconected.) >2) I replaced the FreeBSD boot manager with the standard boot manager, > but still the FreeBSD boot manager kicked in unless I disconnected > the old slave. This seems to indicate that the old slave also has > a FreeBSD boot manager installed... > >The next obvious step (to me) is to remove the FreeBSD boot manager >from the old slave. I guess I can do it with sysinstall, but how? >The data on the disk can not be lost... Is there other things I should >try? > >Regards, >Hans Nordhaug >_______________________________________________ >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" Brad Mettee PC HotShots, Inc. Baltimore, MD (410) 426-7617 -> Let us bring out the *Power* of your PCs. <- -> Custom Business Software Solutions since 1991 <- visit http://www.pchotshots.com for information about our company. From arab at tangerine-army.co.uk Tue Jul 7 23:30:29 2009 From: arab at tangerine-army.co.uk (Graeme Dargie) Date: Tue Jul 7 23:30:37 2009 Subject: VLC server Message-ID: <01FB8F39BAD0BD49A6D0DA8F789739295718@Mercury.galaxy.lan.lcl> Hello List. I was trying to install VLC server from ports, all seemed simple enough till it got to the ffmpeg port, where it stops compiling with the following errors. Your help is greatly appreciated. ===> Building for ffmpeg-2008.07.27_11 cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURC E -I. -I"/usr/ports/multimedia/ffmpeg/work/ffmpeg-2008-07-27" -O2 -fno-strict-al iasing -pipe -O2 -I/usr/local/include/vorbis -I/usr/local/include -fomit-frame-p ointer -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization - Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings - O3 -fno-math-errno -fPIC -DPIC -c -o libavcodec/libamr.o libavcodec/libam r.c libavcodec/libamr.c:80:30: error: amrnb/interf_dec.h: No such file or directory libavcodec/libamr.c:81:30: error: amrnb/interf_enc.h: No such file or directory libavcodec/libamr.c:93: error: field 'mode' has incomplete type libavcodec/libamr.c: In function 'getBitrateMode': libavcodec/libamr.c:100: error: 'MR475' undeclared (first use in this function) libavcodec/libamr.c:100: error: (Each undeclared identifier is reported only onc e libavcodec/libamr.c:100: error: for each function it appears in.) libavcodec/libamr.c:101: error: 'MR515' undeclared (first use in this function) libavcodec/libamr.c:102: error: 'MR59' undeclared (first use in this function) libavcodec/libamr.c:103: error: 'MR67' undeclared (first use in this function) libavcodec/libamr.c:104: error: 'MR74' undeclared (first use in this function) libavcodec/libamr.c:105: error: 'MR795' undeclared (first use in this function) libavcodec/libamr.c:106: error: 'MR102' undeclared (first use in this function) libavcodec/libamr.c:107: error: 'MR122' undeclared (first use in this function) libavcodec/libamr.c:115: warning: return makes integer from pointer without a ca st In file included from libavcodec/libamr.c:533: /usr/local/include/amrwb/dec_if.h: At top level: /usr/local/include/amrwb/dec_if.h:28: warning: redundant redeclaration of 'D_IF_ init' /usr/local/include/amrwb/dec_if.h:26: warning: previous declaration of 'D_IF_ini t' was here libavcodec/libamr.c:699: warning: initialization from incompatible pointer type gmake: *** [libavcodec/libamr.o] Error 1 *** Error code 1 Stop in /usr/ports/multimedia/ffmpeg. *** Error code 1 Stop in /usr/ports/multimedia/ffmpeg. sun3# make ===> Building for ffmpeg-2008.07.27_11 cc -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_ISOC9X_SOURC E -I. -I"/usr/ports/multimedia/ffmpeg/work/ffmpeg-2008-07-27" -O2 -fno-strict-al iasing -pipe -O2 -I/usr/local/include/vorbis -I/usr/local/include -fomit-frame-p ointer -Wdeclaration-after-statement -Wall -Wno-switch -Wdisabled-optimization - Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Wcast-qual -Wwrite-strings - O3 -fno-math-errno -fPIC -DPIC -c -o libavcodec/libamr.o libavcodec/libam r.c libavcodec/libamr.c:80:30: error: amrnb/interf_dec.h: No such file or directory libavcodec/libamr.c:81:30: error: amrnb/interf_enc.h: No such file or directory libavcodec/libamr.c:93: error: field 'mode' has incomplete type libavcodec/libamr.c: In function 'getBitrateMode': libavcodec/libamr.c:100: error: 'MR475' undeclared (first use in this function) libavcodec/libamr.c:100: error: (Each undeclared identifier is reported only onc e libavcodec/libamr.c:100: error: for each function it appears in.) libavcodec/libamr.c:101: error: 'MR515' undeclared (first use in this function) libavcodec/libamr.c:102: error: 'MR59' undeclared (first use in this function) libavcodec/libamr.c:103: error: 'MR67' undeclared (first use in this function) libavcodec/libamr.c:104: error: 'MR74' undeclared (first use in this function) libavcodec/libamr.c:105: error: 'MR795' undeclared (first use in this function) libavcodec/libamr.c:106: error: 'MR102' undeclared (first use in this function) libavcodec/libamr.c:107: error: 'MR122' undeclared (first use in this function) libavcodec/libamr.c:115: warning: return makes integer from pointer without a ca st In file included from libavcodec/libamr.c:533: /usr/local/include/amrwb/dec_if.h: At top level: /usr/local/include/amrwb/dec_if.h:28: warning: redundant redeclaration of 'D_IF_ init' /usr/local/include/amrwb/dec_if.h:26: warning: previous declaration of 'D_IF_ini t' was here libavcodec/libamr.c:699: warning: initialization from incompatible pointer type gmake: *** [libavcodec/libamr.o] Error 1 *** Error code 1 Stop in /usr/ports/multimedia/ffmpeg. *** Error code 1 Stop in /usr/ports/multimedia/ffmpeg. Regards Graeme From esheesle at shadowlair.com Tue Jul 7 23:59:06 2009 From: esheesle at shadowlair.com (Eric Sheesley) Date: Tue Jul 7 23:59:14 2009 Subject: Portupgrade not handling dependencies Message-ID: <4A53DCEC.7050408@shadowlair.com> I've been running Freebsd for several years on one of my primary public facing servers. Currently the server is running Freebsd 7.2. Up until about 2 weeks ago portupgrade always seemed to upgrade ports in the correct order so that any dependencies were built first, allowing all ports to be upgraded properly in one run. For the past 2 weeks though I have to run portupgrade 2-3 times every time I have more than one update because at least 1 port fails due to a dependency(which is seemingly upgraded after it tries to upgrade the other port). What the heck is going on and how do I fix it? Thanks, Eric From bf1783 at googlemail.com Wed Jul 8 00:31:40 2009 From: bf1783 at googlemail.com (b. f.) Date: Wed Jul 8 00:31:47 2009 Subject: Portupgrade not handling dependencies Message-ID: >For the past 2 weeks though I have to run portupgrade 2-3 times every >time I have more than one update because at least 1 port fails due to a >dependency(which is seemingly upgraded after it tries to upgrade the >other port). What the heck is going on and how do I fix it? We obviously can't help you without more information. What ports are failing? What are the dependencies that are out of sequence? What OPTIONS are you using with all of these? Have you overidden anything via pkgtools.conf? Is you ports tree up-to-date, and intact? b. From esheesle at shadowlair.com Wed Jul 8 00:36:51 2009 From: esheesle at shadowlair.com (Eric Sheesley) Date: Wed Jul 8 00:38:22 2009 Subject: Portupgrade not handling dependencies In-Reply-To: References: Message-ID: <4A53EA20.5090500@shadowlair.com> Well, it has been happening with just about every port(no specific ones) that have a dependency which is also being built. An example from today: ===> Registering installation for libtheora-1.0_1 ===> Cleaning for libtheora-1.0_1 ---> Cleaning out obsolete shared libraries [Updating the pkgdb in /var/db/pkg ... - 456 packages found (-0 +1) . done] ---> Skipping 'multimedia/ffmpeg' (ffmpeg-2008.07.27_10) because a requisite package 'libtheora-1.0' () failed (specify -k to force) ** Listing the failed packages (-:ignored / *:skipped / !:failed) - (bsdpan-Acme-Damn-0.04) * multimedia/ffmpeg (ffmpeg-2008.07.27_10) %portupgrade -a ---> Skipping 'bsdpan-Acme-Damn-0.04' because it is held by user (specify -f to force) ---> Upgrading 'ffmpeg-2008.07.27_10' to 'ffmpeg-2008.07.27_11' (multimedia/ffmpeg) ---> Building '/usr/ports/multimedia/ffmpeg' As seen above, libtheora built and installed just fine, but ffmpeg was skipped for some reason. I ran portupgrade -a again and all worked fine. This ways also occuring when I ran portupgrade -arR. Ports tree is updated with cvsup each night. I don't believe I've overridden anything, most especially not in the past 2 weeks when this all started happening. The above is just one example of it happening. It happens almost everyday there is more than one port to upgrade(and different ports each time of course). Thanks again, Eric b. f. wrote: >> For the past 2 weeks though I have to run portupgrade 2-3 times every >> time I have more than one update because at least 1 port fails due to a >> dependency(which is seemingly upgraded after it tries to upgrade the >> other port). What the heck is going on and how do I fix it? > > We obviously can't help you without more information. What ports are > failing? What are the dependencies that are out of sequence? What > OPTIONS are you using with all of these? Have you overidden anything > via pkgtools.conf? Is you ports tree up-to-date, and intact? > > b. From bf1783 at googlemail.com Wed Jul 8 01:07:20 2009 From: bf1783 at googlemail.com (b. f.) Date: Wed Jul 8 01:07:36 2009 Subject: Portupgrade not handling dependencies In-Reply-To: References: <4A53EA20.5090500@shadowlair.com> Message-ID: On 7/8/09, Eric Sheesley wrote: > Well, it has been happening with just about every port(no specific ones) > that have a dependency which is also being built. An example from today: > > ===> Registering installation for libtheora-1.0_1 > ===> Cleaning for libtheora-1.0_1 > ---> Cleaning out obsolete shared libraries > [Updating the pkgdb in /var/db/pkg ... - 456 packages > found (-0 +1) . done] > ---> Skipping 'multimedia/ffmpeg' (ffmpeg-2008.07.27_10) because a > requisite package 'libtheora-1.0' () failed (specify -k to force) > ** Listing the failed packages (-:ignored / *:skipped / !:failed) > - (bsdpan-Acme-Damn-0.04) > * multimedia/ffmpeg (ffmpeg-2008.07.27_10) > %portupgrade -a > ---> Skipping 'bsdpan-Acme-Damn-0.04' because it is held by user > (specify -f to force) > ---> Upgrading 'ffmpeg-2008.07.27_10' to 'ffmpeg-2008.07.27_11' > (multimedia/ffmpeg) > ---> Building '/usr/ports/multimedia/ffmpeg' > I see. In the default /usr/local/etc/pkgtools.conf, there is a sample line (not commented out) that places any port that matches the glob bsdpan-* in HOLD_PKGS, meaning that portupgrade will refuse to handle it. Presumably this is so users can manage their own local tree of Perl ports that aren't in the regular ports tree. I don't do this, so I'm not familiar with how the two interact. But portupgrade seems to have done the right thing here: in the snippet you gave us, it ignored bsdpan-Acme-Damn and proceeded to begin building ffmpeg after updating libtheora -- the only problem seems to be that in the intermediate summary it lists ffmpeg, erroneously, as having been skipped -- but that seems to just be a cosmetic problem, because it then proceeds to start updating it. If later on it refuses to update it, then you've got a problem. In that case, you should try running pkgdb -L pkgdb -F to make sure that your pkgdb is in good shape, and then try your updates again. You might also try instead something like: portupgrade -ax bsdpan-* If that doesn't work, then you may either have to rip out your bsdpan-* ports, or just use a another tool for updating -- portmaster, for example. Or you can roll your own. b. From esheesle at shadowlair.com Wed Jul 8 01:07:45 2009 From: esheesle at shadowlair.com (Eric Sheesley) Date: Wed Jul 8 01:07:52 2009 Subject: Portupgrade not handling dependencies In-Reply-To: References: <4A53EA20.5090500@shadowlair.com> Message-ID: <4A53F15E.2070201@shadowlair.com> Actually, the bsdpan package is not the issue here. I was aware it wouldn't update that(no port for this perl module yet anyway). If you notice, it doesn't proceed to install ffmpeg, i force it to(highlighted by ************): ** Listing the failed packages (-:ignored / *:skipped / !:failed) >> - (bsdpan-Acme-Damn-0.04) >> * multimedia/ffmpeg (ffmpeg-2008.07.27_10) **************>> %portupgrade -a >> ---> Skipping 'bsdpan-Acme-Damn-0.04' because it is held by user >> (specify -f to force) >> ---> Upgrading 'ffmpeg-2008.07.27_10' to 'ffmpeg-2008.07.27_11' >> (multimedia/ffmpeg) It should upgrade ffmpeg automatically, but doesn't and that is the issue. b. f. wrote: > On 7/8/09, Eric Sheesley wrote: >> Well, it has been happening with just about every port(no specific ones) >> that have a dependency which is also being built. An example from today: >> >> ===> Registering installation for libtheora-1.0_1 >> ===> Cleaning for libtheora-1.0_1 >> ---> Cleaning out obsolete shared libraries >> [Updating the pkgdb in /var/db/pkg ... - 456 packages >> found (-0 +1) . done] >> ---> Skipping 'multimedia/ffmpeg' (ffmpeg-2008.07.27_10) because a >> requisite package 'libtheora-1.0' () failed (specify -k to force) >> ** Listing the failed packages (-:ignored / *:skipped / !:failed) >> - (bsdpan-Acme-Damn-0.04) >> * multimedia/ffmpeg (ffmpeg-2008.07.27_10) >> %portupgrade -a >> ---> Skipping 'bsdpan-Acme-Damn-0.04' because it is held by user >> (specify -f to force) >> ---> Upgrading 'ffmpeg-2008.07.27_10' to 'ffmpeg-2008.07.27_11' >> (multimedia/ffmpeg) >> ---> Building '/usr/ports/multimedia/ffmpeg' >> > > I see. In the default /usr/local/etc/pkgtools.conf, there is a sample > line (not commented out) that places any port that matches the glob > bsdpan-* in HOLD_PKGS, meaning that portupgrade will refuse to handle > it. Presumably this is so users can manage their own local tree of > Perl ports that aren't in the regular ports tree. I don't do this, so > I'm not familiar with how the two interact. But portupgrade seems to > have done the right thing here: in the snippet you gave us, it ignored > bsdpan-Acme-Damn and proceeded to begin building ffmpeg after updating > libtheora -- the only problem seems to be that in the intermediate > summary it lists ffmpeg, erroneously, as having been skipped -- but > that seems to just be a cosmetic problem, because it then proceeds to > start updating it. If later on it refuses to update it, then you've > got a problem. In that case, you should try running > > pkgdb -L > pkgdb -F > > to make sure that your pkgdb is in good shape, and then try your > updates again. You might also try instead something like: > > portupgrade -ax bsdpan-* > > If that doesn't work, then you may either have to rip out your > bsdpan-* ports, or just use a another tool for updating -- portmaster, > for example. Or you can roll your own. > > > b. From v.prokofyev at gmail.com Wed Jul 8 01:16:22 2009 From: v.prokofyev at gmail.com (Prokofyev Vladislav) Date: Wed Jul 8 01:16:29 2009 Subject: Portupgrade not handling dependencies In-Reply-To: <4A53EA20.5090500@shadowlair.com> References: <4A53EA20.5090500@shadowlair.com> Message-ID: <46dcef4e0907071746y177bf5e3mb700bdeeb7e90095@mail.gmail.com> 2009/7/8 Eric Sheesley > Well, it has been happening with just about every port(no specific ones) > that have a dependency which is also being built. An example from today: > > ===> Registering installation for libtheora-1.0_1 > ===> Cleaning for libtheora-1.0_1 > ---> Cleaning out obsolete shared libraries > [Updating the pkgdb in /var/db/pkg ... - 456 packages > found (-0 +1) . done] > ---> Skipping 'multimedia/ffmpeg' (ffmpeg-2008.07.27_10) because a > requisite package 'libtheora-1.0' () failed (specify -k to force) > ** Listing the failed packages (-:ignored / *:skipped / !:failed) > - (bsdpan-Acme-Damn-0.04) > * multimedia/ffmpeg (ffmpeg-2008.07.27_10) > %portupgrade -a > ---> Skipping 'bsdpan-Acme-Damn-0.04' because it is held by user > (specify -f to force) > ---> Upgrading 'ffmpeg-2008.07.27_10' to 'ffmpeg-2008.07.27_11' > (multimedia/ffmpeg) > ---> Building '/usr/ports/multimedia/ffmpeg' > > > > As seen above, libtheora built and installed just fine, but ffmpeg was > skipped for some reason. I ran portupgrade -a again and all worked > fine. This ways also occuring when I ran portupgrade -arR. > > Ports tree is updated with cvsup each night. I don't believe I've > overridden anything, most especially not in the past 2 weeks when this > all started happening. The above is just one example of it happening. > It happens almost everyday there is more than one port to upgrade(and > different ports each time of course). > > Thanks again, > Eric > Try to run portsdb -F everytime after cvsup is done. I might be wrong, but it works for me without any problems. -- With best regards, Vladislav Prokofyev From bf1783 at googlemail.com Wed Jul 8 01:26:03 2009 From: bf1783 at googlemail.com (b. f.) Date: Wed Jul 8 01:26:10 2009 Subject: Portupgrade not handling dependencies In-Reply-To: <4A53F15E.2070201@shadowlair.com> References: <4A53EA20.5090500@shadowlair.com> <4A53F15E.2070201@shadowlair.com> Message-ID: On 7/8/09, Eric Sheesley wrote: > Actually, the bsdpan package is not the issue here. I was aware it > wouldn't update that(no port for this perl module yet anyway). > > If you notice, it doesn't proceed to install ffmpeg, i force it > to(highlighted by ************): > Yes, I was too hasty. So this happens with ports other than libtheora, ports that you have no problem installing manually, with make deinstall && make clean install && make clean? And there is never any descriptive message given? "Unknown Build Error" or "Unknown Install Error" or the like? If so, you could try forcibly rebuilding portupgrade and it's dependencies, and see if that fixes the problem. If it doesn't, and you think that your ports tree and INDEX file are okay, there may be a problem with your package database -- /var/db/pkg by default. In which case you may have to clean everything out and rebuild, if you can't find the problem. There have been other problems reported with portupgrade, but it works fine for me, so I think the issue is peculiar to your system. b. From nightrecon at verizon.net Wed Jul 8 01:47:11 2009 From: nightrecon at verizon.net (Michael Powell) Date: Wed Jul 8 01:47:19 2009 Subject: Portupgrade not handling dependencies References: <4A53EA20.5090500@shadowlair.com> <46dcef4e0907071746y177bf5e3mb700bdeeb7e90095@mail.gmail.com> Message-ID: Prokofyev Vladislav wrote: snip] >> As seen above, libtheora built and installed just fine, but ffmpeg was >> skipped for some reason. I ran portupgrade -a again and all worked >> fine. This ways also occuring when I ran portupgrade -arR. >> >> Ports tree is updated with cvsup each night. I don't believe I've >> overridden anything, most especially not in the past 2 weeks when this >> all started happening. The above is just one example of it happening. >> It happens almost everyday there is more than one port to upgrade(and >> different ports each time of course). >> >> Thanks again, >> Eric >> > Try to run portsdb -F everytime after cvsup is done. I might be wrong, but > it > works for me without any problems. What I do is this: csup -L 2 && portsdb -uF && pkgdb -u && portversion And take a peek to see what needs upgrading. Then I just do portupgrade -a and generally most of the time it does OK. I have noticed that it seems to be smoother with less hiccups when run more often so as to only need to update a few at a time rather than waiting until a whole lot of stuff needs updating. The reason I do it in the sequence I do is I believe this way the package database and the INDEX stay in sync. I have noticed some odd behaviors in the last 3 months, or so. So far no catastrophe. But I have seen portupgrade something and then a subsequent run shows this port as being 'newer' than the version it's supposed to be. I've also noticed a few times it seemed like it was upgrading the same version(s) over again. I just chalked this up to the ports system being in a state of flux and it hasn't actually led to any problems so I've just ignored it. -Mike From bf1783 at googlemail.com Wed Jul 8 02:25:13 2009 From: bf1783 at googlemail.com (b. f.) Date: Wed Jul 8 02:25:20 2009 Subject: Portupgrade not handling dependencies Message-ID: > But I have seen portupgrade something and then a subsequent run >shows this port as being 'newer' than the version it's supposed to be. I've portsdb -Fu runs `make fetchindex`, grabbing the INDEX* file from whatever server you've told it to go to, and then rebuilds/updates the portsdb from that. So it's possible that with your csup you've obtained a port that is newer than the one recorded in the INDEX* file, when it was built on the remote server with an older ports tree some time ago. This is usually harmless. If it causes problems, and you can't wait for a fresh INDEX* file to be built remotely, or you have a modified ports tree that departs from the usual one so much that it makes sense to have your own INDEX*, then you can run "make index" in /usr/ports, or wherever your PORTSDIR is, and then portsdb -u. This is usually a lengthy process, unless you've stripped out large parts of your ports tree. >also noticed a few times it seemed like it was upgrading the same version(s) >over again. I just chalked this up to the ports system being in a state of > I've never seen this without an f,r, or R flag. Out of curiosity, do you remember the ports involved? b. From peterpub2 at aboutsupport.com Wed Jul 8 04:24:39 2009 From: peterpub2 at aboutsupport.com (Peter) Date: Wed Jul 8 04:24:46 2009 Subject: VLC server In-Reply-To: <01FB8F39BAD0BD49A6D0DA8F789739295718@Mercury.galaxy.lan.lcl> References: <01FB8F39BAD0BD49A6D0DA8F789739295718@Mercury.galaxy.lan.lcl> Message-ID: <4A541F80.3070506@aboutsupport.com> Graeme Dargie wrote: > Hello List. > Hi, try upgrading the ports tree. Peter From i.tanusheff at procreditbank.bg Wed Jul 8 06:27:27 2009 From: i.tanusheff at procreditbank.bg (Ivailo Tanusheff) Date: Wed Jul 8 06:27:34 2009 Subject: Portupgrade not handling dependencies In-Reply-To: <4A53F15E.2070201@shadowlair.com> Message-ID: Hi, There are few steps I may suggest to you: 1. Update CVS, i.e. use cvsup -L 2 -g 2. cd /usr/ports && make fetchindex 3. portsdb -fr && pkgdb -Ffv 4. portupdate -v -i -a -y If the same problem still exists there is a not so clean step to make: 1. cd multimedia/ffmpeg 2. FORCE_PKG_REGISTER=yes make install clean 3. portsdb -fr && pkgdb -Ffv 4. portupdate -v -i -a -y Repeat the above for every mismatched port. I know, it is not clean, but once you fix all necessary ports - there will be no problems in the future :) Regards, Ivailo Tanusheff Deputy Head of IT Department ProCredit Bank (Bulgaria) AD Eric Sheesley Sent by: owner-freebsd-questions@freebsd.org 08.07.2009 04:09 To "b. f." , freebsd-questions@FreeBSD.org cc Subject Re: Portupgrade not handling dependencies Actually, the bsdpan package is not the issue here. I was aware it wouldn't update that(no port for this perl module yet anyway). If you notice, it doesn't proceed to install ffmpeg, i force it to(highlighted by ************): ** Listing the failed packages (-:ignored / *:skipped / !:failed) >> - (bsdpan-Acme-Damn-0.04) >> * multimedia/ffmpeg (ffmpeg-2008.07.27_10) **************>> %portupgrade -a >> ---> Skipping 'bsdpan-Acme-Damn-0.04' because it is held by user >> (specify -f to force) >> ---> Upgrading 'ffmpeg-2008.07.27_10' to 'ffmpeg-2008.07.27_11' >> (multimedia/ffmpeg) It should upgrade ffmpeg automatically, but doesn't and that is the issue. b. f. wrote: > On 7/8/09, Eric Sheesley wrote: >> Well, it has been happening with just about every port(no specific ones) >> that have a dependency which is also being built. An example from today: >> >> ===> Registering installation for libtheora-1.0_1 >> ===> Cleaning for libtheora-1.0_1 >> ---> Cleaning out obsolete shared libraries >> [Updating the pkgdb in /var/db/pkg ... - 456 packages >> found (-0 +1) . done] >> ---> Skipping 'multimedia/ffmpeg' (ffmpeg-2008.07.27_10) because a >> requisite package 'libtheora-1.0' () failed (specify -k to force) >> ** Listing the failed packages (-:ignored / *:skipped / !:failed) >> - (bsdpan-Acme-Damn-0.04) >> * multimedia/ffmpeg (ffmpeg-2008.07.27_10) >> %portupgrade -a >> ---> Skipping 'bsdpan-Acme-Damn-0.04' because it is held by user >> (specify -f to force) >> ---> Upgrading 'ffmpeg-2008.07.27_10' to 'ffmpeg-2008.07.27_11' >> (multimedia/ffmpeg) >> ---> Building '/usr/ports/multimedia/ffmpeg' >> > > I see. In the default /usr/local/etc/pkgtools.conf, there is a sample > line (not commented out) that places any port that matches the glob > bsdpan-* in HOLD_PKGS, meaning that portupgrade will refuse to handle > it. Presumably this is so users can manage their own local tree of > Perl ports that aren't in the regular ports tree. I don't do this, so > I'm not familiar with how the two interact. But portupgrade seems to > have done the right thing here: in the snippet you gave us, it ignored > bsdpan-Acme-Damn and proceeded to begin building ffmpeg after updating > libtheora -- the only problem seems to be that in the intermediate > summary it lists ffmpeg, erroneously, as having been skipped -- but > that seems to just be a cosmetic problem, because it then proceeds to > start updating it. If later on it refuses to update it, then you've > got a problem. In that case, you should try running > > pkgdb -L > pkgdb -F > > to make sure that your pkgdb is in good shape, and then try your > updates again. You might also try instead something like: > > portupgrade -ax bsdpan-* > > If that doesn't work, then you may either have to rip out your > bsdpan-* ports, or just use a another tool for updating -- portmaster, > for example. Or you can roll your own. > > > b. _______________________________________________ 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 mail25 at bzerk.org Wed Jul 8 06:44:25 2009 From: mail25 at bzerk.org (Ruben de Groot) Date: Wed Jul 8 06:44:32 2009 Subject: FTP In-Reply-To: <4A537274.7080903@daleco.biz> References: <4A531519.4060208@webrz.net> <20090707112342.GA92816@ei.bzerk.org> <4A535E81.6030906@webrz.net> <4A537274.7080903@daleco.biz> Message-ID: <20090708064409.GA2904@ei.bzerk.org> On Tue, Jul 07, 2009 at 11:06:12AM -0500, Kevin Kinsey typed: > Jos Chrispijn wrote: > >Ruben de Groot wrote: > >>On Tue, Jul 07, 2009 at 11:27:53AM +0200, Jos Chrispijn typed: > >> - use truss on the server process > >> > >Thanks for your reply; can you explain what you mean with this? > > > >Jos Chrispijn > > He's assuming you have control of the FTP server ... I wasn't assuming. It's what he said. Ruben From malathiramya at gmail.com Wed Jul 8 06:46:44 2009 From: malathiramya at gmail.com (malathi selvaraj) Date: Wed Jul 8 06:46:52 2009 Subject: unable to install gnome Message-ID: i am not able to install gnome on freeBSD7.2 i try pkg_add -r gnome-desktop and cd /usr/ports/x11/gnome-desktop/ make install clean and i also change the /etc/rc.conf gnome_enable="YES". ERROR MESSAGE: ftp: unable to get ftp://ftp.freebsd.org/pub/freeBsd/ports/i386/packages7.2-release/Latest/gnome-desktop.tbz:noaddress record pkg_add:unable to fetch ftp://ftp.freebsd.org/pub/freeBsd/ports/i386/packages7.2-release/Latest/gnome-desktop.tbzby URL how to solve this problem Thanks in advance S.MALATHI From erich at apsara.com.sg Wed Jul 8 07:05:27 2009 From: erich at apsara.com.sg (Erich Dollansky) Date: Wed Jul 8 07:05:35 2009 Subject: unable to install gnome In-Reply-To: References: Message-ID: <200907081505.02185.erich@apsara.com.sg> Hi, it seems that there is no Internet connection for the machine. Gnome should be on the installation CD. Mount the CD and install it from there. Check the handbook for information of how to configure the network. Erich On 08 July 2009 pm 14:46:42 malathi selvaraj wrote: > i am not able to install gnome on freeBSD7.2 > > i try > pkg_add -r gnome-desktop > and > cd /usr/ports/x11/gnome-desktop/ > make install clean > and i also change the /etc/rc.conf gnome_enable="YES". > > ERROR MESSAGE: > ftp: unable to get > ftp://ftp.freebsd.org/pub/freeBsd/ports/i386/packages7.2-releas >e/Latest/gnome-desktop.tbz:noaddress record > pkg_add:unable to fetch > ftp://ftp.freebsd.org/pub/freeBsd/ports/i386/packages7.2-releas >e/Latest/gnome-desktop.tbzby URL > > how to solve this problem > > > > > > > > Thanks in advance > S.MALATHI > _______________________________________________ > 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 mail25 at bzerk.org Wed Jul 8 07:06:52 2009 From: mail25 at bzerk.org (Ruben de Groot) Date: Wed Jul 8 07:06:59 2009 Subject: FreeBSD HA file cluster possibilities In-Reply-To: <6201873e0907071354y453a71edh3e75391b37399fe0@mail.gmail.com> References: <4A533CEA.7000007@transip.nl> <6201873e0907071354y453a71edh3e75391b37399fe0@mail.gmail.com> Message-ID: <20090708070647.GC2904@ei.bzerk.org> On Tue, Jul 07, 2009 at 03:54:23PM -0500, Adam Vande More typed: > On Tue, Jul 7, 2009 at 7:17 AM, RIck van der Zwet wrote: > > > d) drbd: http://www.drbd.org/ - Does anyone has a working (alternative) > > setup on FreeBSD? > > > > > > Any other solution/setup I am missing? Using external hardware/software is > > all-right as long I am able to connect to FreeBSD with it and it leaves no > > single point of failure. > > > > Thanks in advance! > > /Rick > > > > > Is there a problem with the DRBD and Heartbeat config? Ehm... It doesn't exist in FreeBSD? regards, Ruben From sarumont at sigil.org Wed Jul 8 07:27:50 2009 From: sarumont at sigil.org (Richard Kolkovich) Date: Wed Jul 8 07:27:58 2009 Subject: SATA DVD issues Message-ID: <20090708071020.GA52577@magus.portal.sigil.org> I recently built a new system, and it has a SATA DVD drive in it. Everything appeared to be working at first, but I have run into some issues reading/playing encrypted DVDs as well as burncd. Here's some dmseg output: kldload atapicam: (probe0:ata5:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 (probe0:ata5:0:0:0): CAM Status: SCSI Status Error (probe0:ata5:0:0:0): SCSI Status: Check Condition (probe0:ata5:0:0:0): UNIT ATTENTION asc:28,0 (probe0:ata5:0:0:0): Not ready to ready change, medium may have changed (probe0:ata5:0:0:0): Retrying Command (per Sense Data) kldload acd: cd0 at ata5 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 3.300MB/s transfers cd0: cd present [4162191 x 2048 byte records] GEOM_LABEL: Label for provider cd0 is iso9660/BOURNE_SUPREMACY. Burning via burncd: acd0: FAILURE - SETFEATURES SET TRANSFER MODE status=51 error=4 acd0: FAILURE - unknown CMD (0x4a) timed out acd0: FAILURE - READ_TRACK_INFO ILLEGAL REQUEST asc=0x24 ascq=0x00 Reading an encrypted DVD: acd0: DVDR at ata5-master SATA150 acd0: FAILURE - SETFEATURES SET TRANSFER MODE status=51 error=4 acd0: FAILURE - REPORT_KEY timed out I can read a non-encrypted DVD just fine as well as burn via cdrecord. Anyone have any clues? Not sure if this is a drive incompatibility or a lack of features in the driver... uname: FreeBSD magus 7.2-PRERELEASE FreeBSD 7.2-PRERELEASE #8 Thanks, -- Richard Kolkovich sarumont@sigil.org -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090708/1de2458c/attachment.pgp From mail25 at bzerk.org Wed Jul 8 07:38:19 2009 From: mail25 at bzerk.org (Ruben de Groot) Date: Wed Jul 8 07:38:26 2009 Subject: FreeBSD HA file cluster possibilities In-Reply-To: <4A533CEA.7000007@transip.nl> References: <4A533CEA.7000007@transip.nl> Message-ID: <20090708073814.GD2904@ei.bzerk.org> Hi Rick, On Tue, Jul 07, 2009 at 02:17:46PM +0200, RIck van der Zwet typed: > I been (re)searching and reading what the options are with regards to > H(igh) A(vailablility) file storage using FreeBSD, but cannot yet find a > proper working solution. Any advice welcome! I've sought for proper working solutions as well, and unfortunately found much the same obstacles as you have. a DRBD port to FreeBSD would be great, but I think it would be a lot of work. The way it can recover from a broken mirror makes it a killer app IMO. This is what I ended up doing: - Use application level mirroring where possible - Use rsync where (small) data loss is acceptable - buy dedicated hardware where HA storage is mandatory regards, Ruben From amvandemore at gmail.com Wed Jul 8 07:45:51 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Wed Jul 8 07:45:58 2009 Subject: FreeBSD HA file cluster possibilities In-Reply-To: <20090708070647.GC2904@ei.bzerk.org> References: <4A533CEA.7000007@transip.nl> <6201873e0907071354y453a71edh3e75391b37399fe0@mail.gmail.com> <20090708070647.GC2904@ei.bzerk.org> Message-ID: <6201873e0907080045j6e11a9c8t1b78162beb677337@mail.gmail.com> On Wed, Jul 8, 2009 at 2:06 AM, Ruben de Groot wrote: > On Tue, Jul 07, 2009 at 03:54:23PM -0500, Adam Vande More typed: > > On Tue, Jul 7, 2009 at 7:17 AM, RIck van der Zwet >wrote: > > > > > d) drbd: http://www.drbd.org/ - Does anyone has a working > (alternative) > > > setup on FreeBSD? > > > > > > > > > Any other solution/setup I am missing? Using external hardware/software > is > > > all-right as long I am able to connect to FreeBSD with it and it leaves > no > > > single point of failure. > > > > > > Thanks in advance! > > > /Rick > > > > > > > > > Is there a problem with the DRBD and Heartbeat config? > > Ehm... It doesn't exist in FreeBSD? > > regards, > Ruben > > Sry, my bad. the ggated setup looks promising though, and you could tie it into carp. -- Adam Vande More From arab at tangerine-army.co.uk Wed Jul 8 07:59:24 2009 From: arab at tangerine-army.co.uk (Graeme Dargie) Date: Wed Jul 8 07:59:31 2009 Subject: VLC server In-Reply-To: <4A541F80.3070506@aboutsupport.com> References: <01FB8F39BAD0BD49A6D0DA8F789739295718@Mercury.galaxy.lan.lcl> <4A541F80.3070506@aboutsupport.com> Message-ID: <01FB8F39BAD0BD49A6D0DA8F789739295719@Mercury.galaxy.lan.lcl> -----Original Message----- From: Peter [mailto:peterpub2@aboutsupport.com] Sent: 08 July 2009 05:25 Cc: freebsd-questions@freebsd.org Subject: Re: VLC server Graeme Dargie wrote: > Hello List. > Hi, try upgrading the ports tree. Peter _______________________________________________ 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 did that before I started the install. Regards Graeme From nightrecon at verizon.net Wed Jul 8 08:03:54 2009 From: nightrecon at verizon.net (Michael Powell) Date: Wed Jul 8 08:04:01 2009 Subject: Portupgrade not handling dependencies References: Message-ID: b. f. wrote: >> But I have seen portupgrade something and then a subsequent run >>shows this port as being 'newer' than the version it's supposed to be. >>I've [snip] >>also noticed a few times it seemed like it was upgrading the same >>version(s) over again. I just chalked this up to the ports system being in >>a state of >> > > I've never seen this without an f,r, or R flag. Out of curiosity, do > you remember the ports involved? > Since everything built, installed, and ran correctly I never really payed it much attention. Some time ago, maybe a month or two back, it seemed like Apache 2 and PHP5 were getting rebuilt more often than I was used to seeing in the past. I just figured the ports were getting fine tuned on an almost daily basis and just chalked it up to that. But there was a time or two that Apache "updated" to the same version a few days in a row. After a few iterations it stopped. One example just occurred on my dev web server at home yesterday. I did not see pdflib-7.0.3 listed as needing updating when I ran portversion. Yet when I did portupgrade -a for the couple of others which did need updating I also got pdflib-7.0.3 upgraded to pdflib-7.0.4, even though I did not see it listed by portversion. So now if I run portsdb -uF && pkgdb -u && portversion it will indicate an ">" next to pdflib. Since it has caused no problem of any kind I don't worry about it. Usually when an oddity like this surfaces and I repeat my csup/portsdb/pkgdb and portversion run a day, or two, or three, later it just takes care of itself. Just an oddity which doesn't seem to be harmful. I just figure it's the ports system existing in a fluid state and until or unless something breaks I'm not concerned. -Mike From peterpub2 at aboutsupport.com Wed Jul 8 08:06:37 2009 From: peterpub2 at aboutsupport.com (Peter) Date: Wed Jul 8 08:06:44 2009 Subject: VLC server In-Reply-To: <01FB8F39BAD0BD49A6D0DA8F789739295719@Mercury.galaxy.lan.lcl> References: <01FB8F39BAD0BD49A6D0DA8F789739295718@Mercury.galaxy.lan.lcl> <4A541F80.3070506@aboutsupport.com> <01FB8F39BAD0BD49A6D0DA8F789739295719@Mercury.galaxy.lan.lcl> Message-ID: <4A545387.4020102@aboutsupport.com> Graeme Dargie wrote: > I did that before I started the install. > > Regards > > Graeme > > As a workaround, try to compile ffmpeg first. Make "make config" for ffmpeg and make sure libamr is NOT enabled. It is a workaround but should do the job. Peter From Hans.F.Nordhaug at hiMolde.no Wed Jul 8 10:32:00 2009 From: Hans.F.Nordhaug at hiMolde.no (Hans F. Nordhaug) Date: Wed Jul 8 10:32:08 2009 Subject: Second disks causes invalid partition when booting/no disks found in sysinstall In-Reply-To: <4.3.2.7.2.20090707190954.02d6ce88@mail.pchotshots.com> References: <20090707215153.GA16007@hiMolde.no> <4.3.2.7.2.20090707190954.02d6ce88@mail.pchotshots.com> Message-ID: <20090708103156.GA22263@hiMolde.no> * Brad Mettee [2009-07-08]: > What happens if you put the drive on a secondary controller? (Maybe use the > CD-ROM drive cable) OK, I tried it. > With the drive on a separate cable, you should be able to avoid any > problems that cable select or jumpers may be causing. It's the same problem. The old hard drive is detected as the secondary slave by the BIOS, but I still get "invalid partition" when booting. It's very frustrating. How can adding another drive make FreeBSD detect none of the drives? Before I tried putting the old drive on CD-ROM drive cable, I also entered fixit mode from the LiveFS CD and ran "fdisk -B /dev/ad1" (when only the old slave/drive was connected). It didn't make any difference. What I really wanted to try was to remove the MBR completely from the old slave/drive ... Is there anything I can check/alter on the disks so I can use them at the same time ... Seperately the looked OK - the output from fdisk and disklabel looked sane. Regards, Hans > At 05:51 PM 7/7/2009, Hans F. Nordhaug wrote: > >* Hans F. Nordhaug [2009-07-07]: > >> Hi! > >> > >> I have been running FreeBSD happily for several years on the same old > >> hardware. 2 weeks ago when I was on vacation one of the disks started > >> to have problems, and 5 days ago the disk just stopped working - far > >> too many read failures to get anything mounted. I got a new disk > >> yesterday (finally home from vacation). The problems started when I > >> tried to install FreeBSD 7.2 - I got "no disks found" from sysinstall > >> all the time. The BIOS reported happily the new master and the old > >> slave/hard drive. OK, I just disconnected the old slave and was able to > >> install FreeBSD on the master. I was thinking/hoping that with the OS > >> in place I should be able to read the old slave (which was one single > >> UFS partition). Anyway, if I connect the old slave/hard drive I get > >> "invalid partition" when booting - argh! > >> > >> What should/can I do? If I run the Live CD (livefs), I of course get > >> "no disks found" ... > >[cut] > > > >I did some more tests and: > > > >1) Using only the old slave/hard drive works - it's detected by > > sysinstall. (The new drive is disconected.) > >2) I replaced the FreeBSD boot manager with the standard boot manager, > > but still the FreeBSD boot manager kicked in unless I disconnected > > the old slave. This seems to indicate that the old slave also has > > a FreeBSD boot manager installed... > > > >The next obvious step (to me) is to remove the FreeBSD boot manager > >from the old slave. I guess I can do it with sysinstall, but how? > >The data on the disk can not be lost... Is there other things I should > >try? > > > >Regards, > >Hans Nordhaug From meslists at yahoo.fr Wed Jul 8 11:04:21 2009 From: meslists at yahoo.fr (dan) Date: Wed Jul 8 11:04:28 2009 Subject: portupgrade question Message-ID: <200907081303.29476.meslists@yahoo.fr> Hello, yesterday, having to install kdeadmin, I issued the following command portupgrade -vnyNb -l file kdeadmin-3.5.10 Noting that "n" is negated by "y" (my mistake), the result of this command was + print/cups-base + print/xdvik + print/cm-super + print/teTeX + sysutils/kdeadmin3 but I expected portupgrade to also upgrade some packages on which kdeadmin depends on (required packages ?). Am I wrong somewhere ? Is the order on which the arguments are given relevant ? To get the result I needed, I then issued the following command portupgrade -bRv -l file2 kdeadmin-3.5.10 and the result, as expected, was + converters/libiconv (libiconv-1.13) + audio/libogg (libogg-1.1.3,4) + audio/celt (celt-0.5.2) + audio/libvorbis (libvorbis-1.2.0_3,3) + audio/flac (flac-1.2.1) + devel/glib20 (glib-2.20.3) + audio/libsndfile (libsndfile-1.0.20) + audio/arts (arts-1.5.10_1,1) Thanks, d From numard at meijome.net Wed Jul 8 11:16:37 2009 From: numard at meijome.net (Norberto Meijome) Date: Wed Jul 8 11:16:44 2009 Subject: Grid computing under FreeBSD using jails ... ? In-Reply-To: <11167f520907021442r735cfb01q141840dbc41333fc@mail.gmail.com> References: <11167f520809061827n431ca05m22878d51ccec8f3d@mail.gmail.com> <20080907213620.02a7143d@ayiin> <11167f520907021442r735cfb01q141840dbc41333fc@mail.gmail.com> Message-ID: <20090708204427.1ff7ba00@suspectum.octantis.com.au> On Thu, 2 Jul 2009 16:42:45 -0500 "Sam Fourman Jr." wrote: > On Sun, Sep 7, 2008 at 6:36 AM, Norberto Meijome wrote: > > On Sat, 6 Sep 2008 20:27:10 -0500 > > "Sam Fourman Jr." wrote: > > > >> I am also interested in using FreeBSD as the host in some grid/cloud > >> solution I am open to any Ideas anyone has. > > > > Hey Sam, > > do you have any particular grid/cloud/clustering solution in mind? I think > > that Sun's grid engine works in FBSD (it is present in ports)... > > > > /usr/ports > > $ make search info=grid\ engine > > > > There was a similar,but short discussion in this list around August 11th > > 2008, Subject 'cluster filesystem', mentioning things like hadoop + gluster > > on BSD. > > I know this thread has been dormant for quite some time, but I want to see if > anyone has any ideas how how we could do cloud hosting using FreeBSD > as the host system. > A better way to put it is a FreeBSD Based Amazon EC2. > > basically a bunch of FreeBSD servers, that are in a cluster, and could > host a bunch of > Xen Domu's . I am aware that FreeBSD does not yet have Xen dom0 support. > > but are there any other competing projects to xen that I am unaware of. > > Sam Fourman Jr. Hi Sam, i wish i had a definite answer for you.. my day job has pushed me straight into linux land again... anyway, some thoughts : - eucalyptus , a project that implements, AFAIK, cloud services (on linux), using XEN and/or KVM, API complaint with EC2. would it work w/fbsd? - KVM , there are some mentions of it being implemented as a freebsd kernel module. but not sure how to use it or if it works well. i'd love to hear what solution you come up with good luck, B _________________________ {Beto|Norberto|Numard} Meijome Software isn't released.... it escapes. I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned. From i.tanusheff at procreditbank.bg Wed Jul 8 11:33:52 2009 From: i.tanusheff at procreditbank.bg (Ivailo Tanusheff) Date: Wed Jul 8 11:33:58 2009 Subject: portupgrade question In-Reply-To: <200907081303.29476.meslists@yahoo.fr> Message-ID: Hi, The missing switch is the -R parameter of portupdate. I.e. portupgrade -vnyNbR Regards, Ivailo Tanusheff Deputy Head of IT Department ProCredit Bank (Bulgaria) AD dan Sent by: owner-freebsd-questions@freebsd.org 08.07.2009 14:05 Please respond to meslists@yahoo.fr To freebsd-questions@freebsd.org cc Subject portupgrade question Hello, yesterday, having to install kdeadmin, I issued the following command portupgrade -vnyNb -l file kdeadmin-3.5.10 Noting that "n" is negated by "y" (my mistake), the result of this command was + print/cups-base + print/xdvik + print/cm-super + print/teTeX + sysutils/kdeadmin3 but I expected portupgrade to also upgrade some packages on which kdeadmin depends on (required packages ?). Am I wrong somewhere ? Is the order on which the arguments are given relevant ? To get the result I needed, I then issued the following command portupgrade -bRv -l file2 kdeadmin-3.5.10 and the result, as expected, was + converters/libiconv (libiconv-1.13) + audio/libogg (libogg-1.1.3,4) + audio/celt (celt-0.5.2) + audio/libvorbis (libvorbis-1.2.0_3,3) + audio/flac (flac-1.2.1) + devel/glib20 (glib-2.20.3) + audio/libsndfile (libsndfile-1.0.20) + audio/arts (arts-1.5.10_1,1) Thanks, d _______________________________________________ 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 steve at ibctech.ca Wed Jul 8 12:14:39 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Wed Jul 8 12:14:47 2009 Subject: Hacker problem...Takes down apache? In-Reply-To: <40db8bb280d58ed7874492a66de0fa86@localhost> References: <40db8bb280d58ed7874492a66de0fa86@localhost> Message-ID: <4A548DA7.1080803@ibctech.ca> chris@darkadsl.ca wrote: > > I run a virtual hosting server and one of my clients got hacked (weak > password in CMS). > > I was able to capture the php script that the hacker uploaded, as well as > some c and perl daemons (one looks to be basically like telnet -- should be > fairly harmless due to the restrictive hardware firewall, plus the one I > saw relies on a bash shell which I don't have). Also another one looks like > a generic network bouncer -- something like netcat. However what I can't > figure out is how it is causing interference with Apache (and possibly > networking in general). > > The processes I've seen from this are running as www so I don't see > anything to suggest I've been rooted, but how else can it listen something > on port 80? It seems to be doing *something* to break Apache in an attempt > to hijack it. It is possible that the intruder replaced your httpd daemon with a custom program. Check the timestamps of your normal Apache binary to ensure that it hasn't been tampered with. A common technique I've come across in the past is for an intruder to use obscure and hard-to-spot directory names such as: ... .../ etc, particularly in the /tmp and /var/tmp locations. Also, you should verify the status of ALL binaries that are loaded at startup, to ensure they are all sane. It's quite possible that your web server is simply a patched binary, that may not even be a web server at all. If the timestamp of httpd is different, it may be as simple as restoring the binary from a backup. Also, check your "last" command for logins, check privileged users .history files and check users home directories for any files/directories that appear out of place. /usr/ports/security/tripwire may help you in the future. Good luck! Steve -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3233 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090708/18d346bf/smime.bin From fbsd at brightstar.bomgardner.net Wed Jul 8 12:15:53 2009 From: fbsd at brightstar.bomgardner.net (Gene) Date: Wed Jul 8 12:16:00 2009 Subject: Xorg and Dual Head Video? Message-ID: <20090708121347.M52792@brightstar.bomgardner.net> Hi All: I was wondering if anyone could point me toward any docs, or even better, how-tos on setting up Xorg using dual head video? Thanks, IHN, Gene -- To everything there is a season, And a time to every purpose under heaven. From nealhogan at gmail.com Wed Jul 8 12:46:50 2009 From: nealhogan at gmail.com (Neal Hogan) Date: Wed Jul 8 12:46:57 2009 Subject: Xorg and Dual Head Video? In-Reply-To: <20090708121347.M52792@brightstar.bomgardner.net> References: <20090708121347.M52792@brightstar.bomgardner.net> Message-ID: On Wed, Jul 8, 2009 at 7:16 AM, Gene wrote: > Hi All: > > I was wondering if anyone could point me toward any docs, or even better, > how-tos on setting up Xorg using dual head video? I use xrandr(1). Below is my xorg.conf. HTH. 1 Section "ServerLayout" 2 Identifier "X.org Configured" 3 Screen 0 "Screen0" 0 0 4 InputDevice "Mouse0" "CorePointer" 5 InputDevice "Keyboard0" "CoreKeyboard" 6 EndSection 7 8 Section "Files" 9 ModulePath "/usr/X11R6/lib/modules" 10 FontPath "/usr/X11R6/lib/X11/fonts/misc/" 11 FontPath "/usr/X11R6/lib/X11/fonts/TTF/" 12 FontPath "/usr/X11R6/lib/X11/fonts/OTF" 13 FontPath "/usr/X11R6/lib/X11/fonts/Type1/" 14 FontPath "/usr/X11R6/lib/X11/fonts/100dpi/" 15 FontPath "/usr/X11R6/lib/X11/fonts/75dpi/" 16 EndSection 17 18 Section "Module" 19 Load "GLcore" 20 Load "dbe" 21 Load "dri" 22 Load "extmod" 23 Load "glx" 24 Load "record" 25 Load "xtrap" 26 Load "freetype" 27 Load "type1" 28 EndSection 29 30 Section "InputDevice" 31 Identifier "Keyboard0" 32 Driver "kbd" 33 EndSection 34 35 Section "InputDevice" 36 Identifier "Mouse0" 37 Driver "mouse" 38 Option "Protocol" "wsmouse" 39 Option "Device" "/dev/wsmouse" 40 Option "ZAxisMapping" "4 5 6 7" 41 EndSection 42 43 Section "Monitor" 44 Identifier "Monitor0" 45 VendorName "Lenovo" 46 ModelName "T400" 47 EndSection 48 49 Section "Monitor" 50 Identifier "Monitor1" 51 VendorName "LG" 52 ModelName "Flatron" 53 Option "DPMS" 54 EndSection 55 56 Section "Device" 57 ### Available Driver options are:- 58 ### Values: : integer, : float, : "True"/"False", 59 ### : "String", : " Hz/kHz/MHz" 60 ### [arg]: arg optional 61 #Option "NoAccel" # [] 62 #Option "SWcursor" # [] 63 #Option "ColorKey" # 64 #Option "CacheLines" # 65 #Option "Dac6Bit" # [] 66 #Option "DRI" # [] 67 #Option "NoDDC" # [] 68 #Option "ShowCache" # [] 69 #Option "XvMCSurfaces" # 70 #Option "PageFlip" # [] 71 Identifier "Card0" 72 Driver "intel" 73 VendorName "Intel" 74 BoardName "GM45 Video" 75 BusID "PCI:0:2:0" 76 Option "monitor-T400" "Monitor0" 77 Option "monitor-LG" "Monitor1" 78 EndSection 79 80 Section "Screen" 81 Identifier "Screen0" 82 Device "Card0" 83 #Monitor "Monitor0" 84 SubSection "Display" 85 Viewport 0 0 86 Depth 1 87 EndSubSection 88 SubSection "Display" 89 Viewport 0 0 90 Depth 4 91 EndSubSection 92 SubSection "Display" 93 Viewport 0 0 94 Depth 8 95 EndSubSection 96 SubSection "Display" 97 Viewport 0 0 98 Depth 15 99 EndSubSection 100 SubSection "Display" 101 Viewport 0 0 102 Depth 16 103 EndSubSection 104 SubSection "Display" 105 Virtual 2880 900 106 Viewport 0 0 107 Depth 24 108 EndSubSection 109 EndSection > > Thanks, > > IHN, > Gene > > -- > To everything there is a season, > And a time to every purpose under heaven. > > _______________________________________________ > 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 meslists at yahoo.fr Wed Jul 8 12:51:09 2009 From: meslists at yahoo.fr (dan) Date: Wed Jul 8 12:51:24 2009 Subject: portupgrade question In-Reply-To: References: Message-ID: <200907081450.18010.meslists@yahoo.fr> THat's the point ! isnt that -R implied by -N ? From the portupgrade man page [...] -N --new Install a new port/package when a specified package is not installed. Prior to the installation a new port/package, all the required packages are upgraded. If this option is specified, you can specify a portorigin glob as well as a pkgname glob to specify which port to install. See portsdb(1) for the details of the 'portorigin glob'. [...] :-) d On Wednesday 08 July 2009 13:33:49 Ivailo Tanusheff wrote: > Hi, > > The missing switch is the -R parameter of portupdate. > I.e. portupgrade -vnyNbR > > Regards, > > Ivailo Tanusheff > Deputy Head of IT Department > ProCredit Bank (Bulgaria) AD > > > > > > dan > Sent by: owner-freebsd-questions@freebsd.org > 08.07.2009 14:05 > Please respond to > meslists@yahoo.fr > > > To > freebsd-questions@freebsd.org > cc > > Subject > portupgrade question > > > > > > > Hello, > > yesterday, having to install kdeadmin, I issued the following command > > portupgrade -vnyNb -l file kdeadmin-3.5.10 > > Noting that "n" is negated by "y" (my mistake), the result of this command > was > > + print/cups-base > + print/xdvik > + print/cm-super > + print/teTeX > + sysutils/kdeadmin3 > > but I expected portupgrade to also upgrade some packages on which kdeadmin > > depends on (required packages ?). Am I wrong somewhere ? Is the order on > which the arguments are given relevant ? > > To get the result I needed, I then issued the following command > > portupgrade -bRv -l file2 kdeadmin-3.5.10 > > and the result, as expected, was > > + converters/libiconv (libiconv-1.13) > + audio/libogg (libogg-1.1.3,4) > + audio/celt (celt-0.5.2) > + audio/libvorbis (libvorbis-1.2.0_3,3) > + audio/flac (flac-1.2.1) > + devel/glib20 (glib-2.20.3) > + audio/libsndfile (libsndfile-1.0.20) > + audio/arts (arts-1.5.10_1,1) > > Thanks, > > d > _______________________________________________ > 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 djuatdelta at gmail.com Wed Jul 8 13:15:56 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Wed Jul 8 13:16:07 2009 Subject: Network traffic monitoring: BSD monitor & verifying encryption Message-ID: Hi folks: (1) I'm only used Wireshark and Ethereal to inspect network traffic, and I've only used these on several occasion. Would someone suggest FreeBSD alternatives (console or xserver based? (2) I'm testing my connection to a remote server. The connection is supposed to be encrypted. What's the easiest way to verify that the data is in fact being encrypted? I don't care to validate the encryption itself; I trust that it is working properly, if it's working at all. I just want to know what, if anything, I can look for in the traffic that will indicate encryption (e.g., is the initiation of key-exchanges easy to locate?). From mexas at bristol.ac.uk Wed Jul 8 13:19:30 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Wed Jul 8 13:19:38 2009 Subject: is it safe to reboot while gmirror is rebuilding? Message-ID: <20090708131923.GA20219@mech-cluster238.men.bris.ac.uk> On FBSD 8.0-current ia64 I've gmirror on 63GB partition, which takes quite a long time to rebuild, perhaps 30 min. Is it safe to reboot, or write to this filesystem, while it is being rebuilt (gmirror status DEGRADED) ? many thanks -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From spambox at haruhiism.net Wed Jul 8 13:22:41 2009 From: spambox at haruhiism.net (Kamigishi Rei) Date: Wed Jul 8 13:22:54 2009 Subject: is it safe to reboot while gmirror is rebuilding? In-Reply-To: <20090708131923.GA20219@mech-cluster238.men.bris.ac.uk> References: <20090708131923.GA20219@mech-cluster238.men.bris.ac.uk> Message-ID: <4A549D9F.9030209@haruhiism.net> Anton Shterenlikht wrote: > On FBSD 8.0-current ia64 I've gmirror on 63GB partition, which > takes quite a long time to rebuild, perhaps 30 min. Is it > safe to reboot, or write to this filesystem, while it is > being rebuilt (gmirror status DEGRADED) ? > > Doesn't matter which version it is; gmirror checkpoints the rebuild process so you can safely reboot/write/etc. -- Kamigishi Rei KREI-RIPE From wmoran at potentialtech.com Wed Jul 8 13:23:30 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Wed Jul 8 13:23:38 2009 Subject: is it safe to reboot while gmirror is rebuilding? In-Reply-To: <20090708131923.GA20219@mech-cluster238.men.bris.ac.uk> References: <20090708131923.GA20219@mech-cluster238.men.bris.ac.uk> Message-ID: <20090708092137.3e03f7a4.wmoran@potentialtech.com> In response to Anton Shterenlikht : > On FBSD 8.0-current ia64 I've gmirror on 63GB partition, which > takes quite a long time to rebuild, perhaps 30 min. Is it > safe to reboot, or write to this filesystem, while it is > being rebuilt (gmirror status DEGRADED) ? Yes. Doing so will cause the overall time required to rebuild to take longer, but gmirror will continue to rebuild during normal system activities (such as disk writes and reboots). -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From steve at ibctech.ca Wed Jul 8 13:47:34 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Wed Jul 8 13:47:41 2009 Subject: Network traffic monitoring: BSD monitor & verifying encryption In-Reply-To: References: Message-ID: <4A54A36D.5070104@ibctech.ca> Daniel Underwood wrote: > Hi folks: > > (1) I'm only used Wireshark and Ethereal to inspect network traffic, > and I've only used these on several occasion. Would someone suggest > FreeBSD alternatives (console or xserver based? tcpdump(1). It can save to a pcap file for later review within Wireshark if required. > (2) I'm testing my connection to a remote server. The connection is > supposed to be encrypted. What's the easiest way to verify that the > data is in fact being encrypted? I don't care to validate the > encryption itself; I trust that it is working properly, if it's > working at all. I just want to know what, if anything, I can look for > in the traffic that will indicate encryption (e.g., is the initiation > of key-exchanges easy to locate?). It depends on the traffic type, and the protocol. When in doubt, you could always capture the entire packet, dump them into a file, and then review the data to ensure it isn't in plaintext: # tcpdump -n -i em5 -s 0 -w /var/log/cap.pcap host x.x.x.x and port xxxx Then you can read it back in with tcpdump later, or scp the file to a GUI based workstation and view it in Wireshark (which is my preference). Wireshark displaying SSH traffic will for instance tell you straight-up in the Info field that the packet is "Encrypted response packet len=xxx". It does the same for IPSec etc. Steve -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3233 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090708/eed7eeac/smime.bin From freebsd-questions-local at be-well.ilk.org Wed Jul 8 13:55:55 2009 From: freebsd-questions-local at be-well.ilk.org (Lowell Gilbert) Date: Wed Jul 8 13:56:03 2009 Subject: Hacker problem...Takes down apache? In-Reply-To: <40db8bb280d58ed7874492a66de0fa86@localhost> (chris@darkadsl.ca's message of "Tue\, 07 Jul 2009 15\:50\:06 -0700") References: <40db8bb280d58ed7874492a66de0fa86@localhost> Message-ID: <44bpnv2s9p.fsf@lowell-desk.lan> "chris@darkadsl.ca" writes: > I run a virtual hosting server and one of my clients got hacked (weak > password in CMS). Since you know the machine was hacked, you can't trust *anything* on the machine. If possible, you should rebuild it. If a jail was hacked, replacing that jail may be enough. You might be able to clean up the hack by reverse-engineering it, but you'll never be able to be sure you got everything. -- Lowell Gilbert, embedded/networking software engineer, Boston area http://be-well.ilk.org/~lowell/ From m.seaman at infracaninophile.co.uk Wed Jul 8 14:17:17 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Wed Jul 8 14:17:24 2009 Subject: Network traffic monitoring: BSD monitor & verifying encryption In-Reply-To: References: Message-ID: <4A54AA5E.80706@infracaninophile.co.uk> Daniel Underwood wrote: > Hi folks: > > (1) I'm only used Wireshark and Ethereal to inspect network traffic, > and I've only used these on several occasion. Would someone suggest > FreeBSD alternatives (console or xserver based? wireshark, formerly known as ethereal works just fine on FreeBSD. If you want a console based variant, there's tshark, which is just wireshark without X11 support. All in the ports: net/wireshark, net/tshark As mentioned elsewhere, you can use tcpdump (bundled with the system) to capture traffic that you can later feed into wireshark for analysis. Handy hint: be aware that tcpdump generally only captures the packet headers and not the full packet content. To capture everything add '-s 0' to the tcpdump command line. > (2) I'm testing my connection to a remote server. The connection is > supposed to be encrypted. What's the easiest way to verify that the > data is in fact being encrypted? I don't care to validate the > encryption itself; I trust that it is working properly, if it's > working at all. I just want to know what, if anything, I can look for > in the traffic that will indicate encryption (e.g., is the initiation > of key-exchanges easy to locate?). There are two possibilities: (a) capture session traffic over the wire and from that demonstrate the traffic is encrypted. Unless the plaintext is obviously ascii or otherwise readily identifiable, this might be a bit tricky. Probably the only 100% certain answer is to be able to decrypt the session traffic. (b) connect to the remote network port using eg. netcat (see nc(1)), telnet or 'openssl s_client' -- in the first two cases the idea would be to check that the server would not permit an unencrypted session; for the last case the idea is to check that the connection does handle presenting keys and certs correctly. Obviously this will depend on knowledge of how your particular communications protocol works. 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: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090708/db92d8ef/signature.pgp From djuatdelta at gmail.com Wed Jul 8 14:36:25 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Wed Jul 8 14:36:33 2009 Subject: Network traffic monitoring: BSD monitor & verifying encryption In-Reply-To: <4A54AA5E.80706@infracaninophile.co.uk> References: <4A54AA5E.80706@infracaninophile.co.uk> Message-ID: Thanks for the help. I couldn't find any flags/fields in TCP packets indicated whether encrypted (as in the case of SSH packets). There isn't any, right? From luizbcampos at gmail.com Wed Jul 8 14:55:58 2009 From: luizbcampos at gmail.com (kxorrao) Date: Wed Jul 8 14:56:06 2009 Subject: Wine on FBSD-7.0 amd64. Does it run? Message-ID: What port of wine should I download in order to play 32bit .exe files on FreeBSD-7.0 amd64? Linux wine or Wine? From steve at ibctech.ca Wed Jul 8 15:02:10 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Wed Jul 8 15:02:18 2009 Subject: Network traffic monitoring: BSD monitor & verifying encryption In-Reply-To: References: <4A54AA5E.80706@infracaninophile.co.uk> Message-ID: <4A54B4E8.1040306@ibctech.ca> Daniel Underwood wrote: > Thanks for the help. > > I couldn't find any flags/fields in TCP packets indicated whether > encrypted (as in the case of SSH packets). There isn't any, right? No. TCP (Transport Layer) knows nothing about encryption/encoding, and hence there is no room (or need) within the headers to signify those details. TCP provides reliable data transit, and really nothing more. Encryption happens higher up in the stack, and it is the responsibility of the application (or some function) to do this work. TCP provides the connection, in which you can throw any type of data you please. It does not care what type of data you put into it; it has no way of inherently finding that out. To find out the flags/configuration/techniques used by the application before it stuffs it's data into a packet, you have to read the data after it's been extracted from the packet all the way up near the application layer. Wireshark can 'dissect' each packet for numerous applications and protocols, hence it has the ability to inform you about encryption as in my previous SSH example. That is why I captured the entire packet with tcpdump (via the -s0 flag). If you don't, tcpdump will not capture enough information to decode the packet. Steve -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3233 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090708/b34a58d7/smime.bin From sagara at tomahawk.com.sg Wed Jul 8 16:18:29 2009 From: sagara at tomahawk.com.sg (Sagara Wijetunga) Date: Wed Jul 8 16:18:36 2009 Subject: How to symlink devfs devices? Message-ID: <20090708123342.22660.qmail@us1.tomahawkonline.net> Hi Is it possible to create a symlink to a device and use the symlink in place of the real device name in FreeBSD, especially in version 7.2? 1. A disk /dev/camera -> /dev/da0s1 2. A network device re0 -> lan0 Kind regards Sagara From pschmehl_lists at tx.rr.com Wed Jul 8 16:51:43 2009 From: pschmehl_lists at tx.rr.com (Paul Schmehl) Date: Wed Jul 8 16:51:51 2009 Subject: Xorg and Dual Head Video? In-Reply-To: <20090708121347.M52792@brightstar.bomgardner.net> References: <20090708121347.M52792@brightstar.bomgardner.net> Message-ID: <91766D5F68F5E77E1BE14141@utd65257.utdallas.edu> --On Wednesday, July 08, 2009 07:16:02 -0500 Gene wrote: > > Hi All: > > I was wondering if anyone could point me toward any docs, or even better, > how-tos on setting up Xorg using dual head video? > First make sure Xorg is up to date. Second make sure that hald and dbus are installed and running. This is a working xorg.conf file for a dual head setup on current Xorg (7.4). Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 EndSection Section "ServerFlags" Option "DontZap" "No" Option "AllowEmptyInput" "No" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" FontPath "/usr/local/lib/X11/fonts/bitstream-vera/" FontPath "/usr/local/lib/X11/fonts/TrueType/" EndSection # Make flash work correctly Section "Extensions" Option "Composite" "Off" EndSection Section "Module" Load "GLcore" EndSection Section "DRI" Group 0 Mode 0660 EndSection Section "Monitor" Identifier "Monitor0" VendorName "Dell Computer" ModelName "DELL 2208WFP" EndSection Section "Monitor" Identifier "left" EndSection Section "Monitor" Identifier "right" Option "RightOf" "left" EndSection Section "Device" Identifier "Card0" Driver "radeonhd" VendorName "ATI Technologies Inc" BoardName "RV610" Option "Monitor-DVI-I_1/digital" "left" Option "Monitor-DVI-I_2/digital" "right" BusID "PCI:1:0:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Virtual 3360 1050 EndSubSection EndSection -- Paul Schmehl, Senior Infosec Analyst As if it wasn't already obvious, my opinions are my own and not those of my employer. ******************************************* Check the headers before clicking on Reply. From onemda at gmail.com Wed Jul 8 17:49:32 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Wed Jul 8 17:49:39 2009 Subject: How to symlink devfs devices? In-Reply-To: <20090708123342.22660.qmail@us1.tomahawkonline.net> References: <20090708123342.22660.qmail@us1.tomahawkonline.net> Message-ID: <3a142e750907081049sc76dfd2o4d13d9ea6a2e983c@mail.gmail.com> > > Is it possible to create a symlink to a device and use the symlink in place > of the real device name in FreeBSD, especially in version 7.2? > > 1. A disk > /dev/camera -> /dev/da0s1 devfs.conf(5) > > 2. A network device > re0 -> lan0 same as above, but there is way to completly hide re0: # ifconfig re0 name lan0 -- Paul From m.seaman at infracaninophile.co.uk Wed Jul 8 18:09:14 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Wed Jul 8 18:09:21 2009 Subject: Network traffic monitoring: BSD monitor & verifying encryption In-Reply-To: References: <4A54AA5E.80706@infracaninophile.co.uk> Message-ID: <4A54E0BB.8070405@infracaninophile.co.uk> Daniel Underwood wrote: > Thanks for the help. > > I couldn't find any flags/fields in TCP packets indicated whether > encrypted (as in the case of SSH packets). There isn't any, right? Correct: there isn't anything like that in the TCP headers. Encryption on TCP streams is an application level thing that only affects packet payloads. There are transport layer encryption protocols -- eg. IPSec, OpenVPN, etc. -- but those allow tunnelling TCP streams through them and aren't necessarily TCP themselves. 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: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090708/b5245eb5/signature.pgp From david+dated+1247508956.9ded5f at skytracker.ca Wed Jul 8 18:45:29 2009 From: david+dated+1247508956.9ded5f at skytracker.ca (David Banning) Date: Wed Jul 8 18:45:36 2009 Subject: client control of sendmail Message-ID: <20090708181556.GA32012@skytracker.ca> I have several users who are requesting new mail user accounts and changes to email accounts all the time. I wonder if there is a package that allows a given virtual domain owner to change their email accounts - add, delete and change passwords etc - I am presently using sendmail. From lconrad at Go2France.com Wed Jul 8 19:25:57 2009 From: lconrad at Go2France.com (Len Conrad) Date: Wed Jul 8 19:26:04 2009 Subject: FreeBSD/iSCSI intiator into EMC Clarion target Message-ID: <200907082039.AA266142360@mail.Go2France.com> uname -a FreeBSD xxx 7.1-RELEASE FreeBSD 7.1-RELEASE #0 kldstat Id Refs Address Size Name 1 5 0xc0400000 97f830 kernel 2 1 0xc0d80000 ff18 iscsi_initiator.ko 3 1 0xc0d90000 6a2c4 acpi.ko iscontrol doesn't have -V version and strings doesn't find anything that looks like a version. iscontrol -d -v -t 192.168.78.5 port = 3260 tags = 0 maxluns = 0 iqn = iqn.2005-01.il.ac.huji.cs: maxConnections = 1 maxRecvDataSegmentLength = 65536 maxXmitDataSegmentLength = 65536 maxBurstLength = 131072 firstBurstLength = 65536 defaultTime2Wait = 0 defaultTime2Retain = 0 maxOutstandingR2T = 1 errorRecoveryLevel = 0 targetPortalGroupTag = 0 headerDigest = None,CRC32C dataDigest = None,CRC32C initialR2T = 1 immediateData = 1 dataPDUInOrder = 1 dataSequenceInOrder = 1 sessionType = Normal targetAddress = (null) targetAlias = (null) targetName = (null) initiatorName = (null) initiatorAlias = (null) authMethod = None chapSecret = (null) chapIName = (null) tgtChapName = (null) tgtChapSecret = (null) tgttgtChallengeLen = 0 I-: cmd=0x3 len=301 SessionType=Discovery InitiatorName=iqn.2005-01.il.ac.huji.cs::mr1.xxxx.net MaxBurstLength=131072 HeaderDigest=None,CRC32C DataDigest=None,CRC32C MaxRecvDataSegmentLength=65536 ErrorRecoveryLevel=0 DefaultTime2Wait=0 DefaultTime2Retain=0 DataPDUInOrder=Yes DataSequenceInOrder=Yes MaxOutstandingR2T=1 T-: cmd=0x23 len=281 TargetPortalGroupTag=0 TargetAlias=1576.b3 HeaderDigest=None DataDigest=None MaxRecvDataSegmentLength=65536 MaxBurstLength=Irrelevant DefaultTime2Wait=0 DefaultTime2Retain=0 MaxOutstandingR2T=Irrelevant DataPDUInOrder=Irrelevant DataSequenceInOrder=Irrelevant ErrorRecoveryLevel=0 I-: cmd=0x4 len=16 SendTargets=All recvpdu: Socket is not connected recvpdu failed I-: cmd=0x6 len=0 recvpdu: Socket is not connected recvpdu failed ========== iniatator does work into a FreeBSD/iscsi-target: # iscontrol -c /etc/iscsi.conf -n target0 iscontrol[817]: running iscontrol[817]: (pass3:iscsi0:0:0:0): tagged openings now 0 iscontrol[817]: cam_open_btl: no passthrough device found at 2:0:1 iscontrol[817]: cam_open_btl: no passthrough device found at 2:0:2 iscontrol[817]: cam_open_btl: no passthrough device found at 2:0:3 iscontrol: supervise starting main loop #ll /dev/is* crw------- 1 root wheel 0, 27 Jul 8 13:29 /dev/iscsi crw------- 1 root wheel 0, 103 Jul 8 13:29 /dev/iscsi0 #ll /dev/da* crw-r----- 1 root operator 0, 90 Jul 8 13:29 /dev/da0 crw-r----- 1 root operator 0, 91 Jul 8 13:29 /dev/da0s1 crw-r----- 1 root operator 0, 92 Jul 8 08:30 /dev/da0s1a crw-r----- 1 root operator 0, 93 Jul 8 13:30 /dev/da0s1b crw-r----- 1 root operator 0, 94 Jul 8 13:29 /dev/da0s1c crw-r----- 1 root operator 0, 95 Jul 8 08:29 /dev/da0s1d crw-r----- 1 root operator 0, 96 Jul 8 08:29 /dev/da0s1e crw-r----- 1 root operator 0, 105 Jul 8 13:29 /dev/da1 crw-r----- 1 root operator 0, 106 Jul 8 13:29 /dev/da1s1 crw-r----- 1 root operator 0, 107 Jul 8 13:29 /dev/da1s1c crw-r----- 1 root operator 0, 108 Jul 8 13:29 /dev/da1s1d #mount /dev/da1s1 /iscsitest/ #df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/da0s1a 10154158 141662 9200164 2% / devfs 1 1 0 100% /dev /dev/da0s1d 20308398 1393604 17290124 7% /usr /dev/da0s1e 40622090 292054 37080270 1% /var /dev/da1s1 9907690 2990276 6124800 33% /iscsitest ========= Red Hat Enterprise iscsi initiator connects to EMC SAN target reliably. If we can't get the FreeBSD iniatator working, we'll have to convert several machines from FreeBSD to Linux. Len From rsmith at xs4all.nl Wed Jul 8 19:45:51 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Wed Jul 8 19:45:59 2009 Subject: How to symlink devfs devices? In-Reply-To: <3a142e750907081049sc76dfd2o4d13d9ea6a2e983c@mail.gmail.com> References: <20090708123342.22660.qmail@us1.tomahawkonline.net> <3a142e750907081049sc76dfd2o4d13d9ea6a2e983c@mail.gmail.com> Message-ID: <20090708194548.GA29703@slackbox.xs4all.nl> On Wed, Jul 08, 2009 at 05:49:24PM +0000, Paul B. Mahol wrote: > > > > Is it possible to create a symlink to a device and use the symlink in place > > of the real device name in FreeBSD, especially in version 7.2? > > > > 1. A disk > > /dev/camera -> /dev/da0s1 > devfs.conf(5) Geneally, yes. But not in this case, I think. You don't want any old usb device to be linked to /dev/camera! USB devices are enumerated in the sequence thay are plugged in. So there is no hard guarantee that the camera will always be available as da0s1. It might be da1s1 if another USB drive was plugged in earlier. And not all cameras represent themselves as disk devices (USB mass storage). Lots of modern ones use PTP [http://en.wikipedia.org/wiki/Picture_Transfer_Protocol]. So in this case it might be better to use HAL (via hald(8)) [http://freedesktop.org/wiki/Software/hal]. 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: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090708/3a70e97b/attachment.pgp From jonc at chen.org.nz Wed Jul 8 20:00:31 2009 From: jonc at chen.org.nz (Jonathan Chen) Date: Wed Jul 8 20:00:38 2009 Subject: portupgrade question In-Reply-To: <200907081450.18010.meslists@yahoo.fr> References: <200907081450.18010.meslists@yahoo.fr> Message-ID: <20090708200028.GB58203@osiris.chen.org.nz> On Wed, Jul 08, 2009 at 02:50:17PM +0200, dan wrote: > THat's the point ! > > isnt that -R implied by -N ? > > From the portupgrade man page > > > [...] > -N > --new > Install a new port/package when a specified package is not installed. Prior > to the installation a new port/package, all the required packages are > upgraded. No. Since the dependant package *is* installed. It's just not up to date. -- Jonathan Chen ---------------------------------------------------------------------- "A little learning is a dangerous thing but a lot of ignorance is just as bad." - Bob Edwards From arab at tangerine-army.co.uk Wed Jul 8 20:20:11 2009 From: arab at tangerine-army.co.uk (Graeme Dargie) Date: Wed Jul 8 20:20:18 2009 Subject: VLC server In-Reply-To: <4A545387.4020102@aboutsupport.com> References: <01FB8F39BAD0BD49A6D0DA8F789739295718@Mercury.galaxy.lan.lcl><4A541F80.3070506@aboutsupport.com><01FB8F39BAD0BD49A6D0DA8F789739295719@Mercury.galaxy.lan.lcl> <4A545387.4020102@aboutsupport.com> Message-ID: <01FB8F39BAD0BD49A6D0DA8F78973929571A@Mercury.galaxy.lan.lcl> -----Original Message----- From: Peter [mailto:peterpub2@aboutsupport.com] Sent: 08 July 2009 09:07 To: freebsd-questions@freebsd.org Subject: Re: VLC server Graeme Dargie wrote: > I did that before I started the install. > > Regards > > Graeme > > As a workaround, try to compile ffmpeg first. Make "make config" for ffmpeg and make sure libamr is NOT enabled. It is a workaround but should do the job. Peter _______________________________________________ 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" libamr I assume is the AMR wide and narrowband options, those are both not selected, and it still wont complete. Regards Graeme From rwmaillists at googlemail.com Wed Jul 8 21:20:48 2009 From: rwmaillists at googlemail.com (RW) Date: Wed Jul 8 21:20:56 2009 Subject: portupgrade question In-Reply-To: <20090708200028.GB58203@osiris.chen.org.nz> References: <200907081450.18010.meslists@yahoo.fr> <20090708200028.GB58203@osiris.chen.org.nz> Message-ID: <20090708222041.470ad9e1@gumby.homeunix.com> On Thu, 9 Jul 2009 08:00:28 +1200 Jonathan Chen wrote: > On Wed, Jul 08, 2009 at 02:50:17PM +0200, dan wrote: > > THat's the point ! > > > > isnt that -R implied by -N ? > > > > From the portupgrade man page > > > > > > [...] > > -N > > --new > > Install a new port/package when a specified package is not > > installed. Prior to the installation a new port/package, all the > > required packages are upgraded. > > No. Since the dependant package *is* installed. It's just not up > to date. I don't understand what you're are saying here. My reading of the manpage is the same as Dan's: when you install kdeadmin with portupgrade -N, everything that kdeadmin requires will be upgraded i.e. "brought up to date". From freebsd at edvax.de Wed Jul 8 21:46:12 2009 From: freebsd at edvax.de (Polytropon) Date: Wed Jul 8 21:46:19 2009 Subject: How to symlink devfs devices? In-Reply-To: <20090708123342.22660.qmail@us1.tomahawkonline.net> References: <20090708123342.22660.qmail@us1.tomahawkonline.net> Message-ID: <20090708234603.1bc9b315.freebsd@edvax.de> On Wed, 08 Jul 2009 07:33:42 -0500, "Sagara Wijetunga" wrote: > Hi > > Is it possible to create a symlink to a device and use the symlink in place > of the real device name in FreeBSD, especially in version 7.2? > > 1. A disk > /dev/camera -> /dev/da0s1 > > 2. A network device > re0 -> lan0 That's no problem: Use the "link" statement: "link ", such as link da0s1 camera link re0 lan0 in you /etc/devfs.conf file. See the manual page for this file for more information, or see the example entries in this file. -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From invalid.pointer at gmail.com Thu Jul 9 03:45:12 2009 From: invalid.pointer at gmail.com (Manish Jain) Date: Thu Jul 9 03:45:19 2009 Subject: Urgent help needed : portmaster dies on py-cairo In-Reply-To: References: Message-ID: <4A5567C1.30708@gmail.com> b. f. wrote: > On 7/6/09, manish jain wrote: > >> 2009/7/6 b. f. >> > > >> After running pkgdb -F, I find that there hundreds of ports depending on >> python2.5. >> > > Most of these are probably indirectly dependent, and may not be > seriously affected. Many, for example, may have been dragged in by > xorg's silly dependency on python via libxcb. > > >> Looks to me it will be easier to backup my dstfiles and reinstall >> the whole system afresh a 3rd time rather than trying to fix the existing >> ports. This time I will install no packages from the installation media, and >> build directly from ports instead. The first 2 ports I will build this time >> will be lang/python26 followed by lang/python. >> > > Sounds good. > > >> I suppose this should set the >> systemwide default python version to 2.6. >> > > As the others have mentioned, you don't need to do this unless you > wish to use a version of python other than 2.6, which is now the > default. > > > >> 1) How do I find or set PYTHON_DEFAULT_VERSION ? >> 2) What workaround would be needed in make.conf to get 2.5-hardwired ports >> to use 2.6 instead ? >> > > 1) See above. > 2) I didn't mean, as Seaman seemed to think, and you may have, that > you can use ports built against 2.5 with 2.6. That would only rarely > work, and most likely lead to all sorts of problems. Instead you > should proceed with your plan, and rebuild all dependent ports via: > > pkgdb -L > pkgdb -F > portupgrade -fvrx lang/python26 lang/python26 > rm -r /usr/local/lib/python2.5 > > or rebuild just that subset of ports that are most likely to be broken > by the change, via the upgrade-site-packages target in lang/python, as > Seaman suggested. > > What I meant by my original comment was, that if you should happen to > want to build a port against 2.6, but find that it is hardwired in the > port Makefile via USE_PYTHON to another version or versions, and you > don't want to go to the trouble of patching the port Makefile, and > then preserving this local modification when you merge in updates to > the port tree, you can add a workaround in /etc/make.conf. Say, for > example, you see that mail/py-spambayes has: > > USE_PYTHON= -2.5 > > in the port Makefile, and you want to install spambayes, but you don't > want to have to reinstall python 2.5 or an earlier version of python. > If you add: > > .if${.CURDIR:M*/mail/py-spambayes*} > PYTHON_VERSION=python2.6 > NO_IGNORE=yes > .endif > > to /etc/make.conf, you can override the spambayes port Makefile > without patching it. Now, you are _not_ supposed to do this, and you > will probably have to deal with any consequences of such a local > change on your own. Many ports have these restrictions for a good > reason, but such an override can be occasionally useful. > > b. > > Hi, After a marathon session spread over 2 days, I have managed to set up a new FreeBSD-7.2 installation with all ports (762) up to date. From the gleanings of this conversation and some reading I did myself, I have compiled a small document for what-to-do-after-installation. I would dearly appreciate your comments on the document, and would be extremely glad if my document could be of any help to somebody else too. Please note that portupgrade works much better on my system than portmaster. So the following document assumes/recommends using portupgrade. Here it is. ============================================== Part-1) Immediately after a fresh FreeBSD-7.2#RELEASE install : I assume you will at some stage or the other install a linux port, eg acroread8 or acroread9, linux-ymessenger, etc. Incidentally, unless you have specific needs, prefer acroread8 over acroread9. All following steps are to be executed as root. a) Make sure /etc/rc.conf has at least the following 5 lines. dbus_enable="YES" hald_enable="YES" polkitd_enable="YES" gnome_enable="YES" linux_enable="YES" b) Make sure /boot/loader.conf has at least the following 3 lines. kern.maxdsiz="734003200" linprocfs_load="YES" linsysfs_load="YES" c) Make sure /etc/fstab has at least the following 3 lines. proc /proc procfs rw 0 0 linproc /usr/compat/linux/proc linprocfs rw 0 0 linsys /usr/compat/linux/sys linsysfs rw 0 0 d) Upgrage from python25 to python26 along with all dependent ports as follows : rm -rf /usr/ports 2>/dev/null mkdir -p /usr/ports/distfiles portsnap fetch extract cd /usr/ports/ports-mgmt/portupgrade make deinstall 2>/dev/null make install clean portupgrade -C -r -o lang/python26 lang/python25 portupgrade -rfx python26 python26 pkgdb -F Before doing anything further, reboot. Immediately after reboot, execute Part-2. Part-2) Steps to be followed whenever a significant number new ports/patches are available and you need to ensure your ports as well as your ports directory are up to date : thisdate=`date "+%Y-%m-%n"` rm /root/portupgrade-${thisdate}.log 2>/dev/null portsnap fetch update portupgrade -ace -uRl /root/portupgrade-${thisdate}.log pkgdb -F Note : If you plan to install any linux ports, you should have said yes to 'Linux binary compatibility' at the time you installed FreeBSD. If you didn't, the very first port you need to build is emulators/linux_base-fc4 ============================================== I look forward to your comments and suggestions. Regards Manish Jain invalid.pointer@gmail.com From alexbestms at math.uni-muenster.de Thu Jul 9 04:12:45 2009 From: alexbestms at math.uni-muenster.de (Alexander Best) Date: Thu Jul 9 04:12:52 2009 Subject: Problem with audio apps and mixer In-Reply-To: <3a142e750907030942g20da1244q166a2673c0563b8a@mail.gmail.com> Message-ID: thanks a bunch for all the great info. alex Paul B. Mahol schrieb am 2009-07-03: > On 7/3/09, Alexander Best wrote: > > wow. thanks a bunch. this new feature of having each app use it's > > own volume > > setting is pretty cool. however i think i'd like to preserve the > > volume > > setting for each application and rather not have it reset. because > > i think > > this feature takes the pid of the app and preserves the volume for > > the pid. > Negative. Same application can open and close (different) channel(s) > multiple > times causing volume to be changed. You can get some patches on > freebsd forums > for mplayer and others ... > > mplayer and mpd however seem to fork a new instance after a song > > change or > > pausing etc. so so the volume get's reset while the app is still > > running. > Nope, there is no *forking*. > > i might be wrong, but i think there's a typo in this description of > > the > > feature i'm looking for: > > hw.snd.vpc_autoreset (default=1, enabled) > > 0=disable, 1=enable > > Notes: By default, channel volume will be reset to 0db > > relative after the channel is closed which means > > that any > > changes will be lost and not preserved. Setting > > this to > > '1' > > will preserve the volume at the cost of possible > > confusion > > for other applications trying to re-open the > > same > > device (see hw.snd.vpc_reset for possible > > 'panic' switch > > to > > fix the volumes). > > shouldn't it be: > > hw.snd.vpc_autoreset (default=1, enabled) > > 0=disable, 1=enable > > Notes: By default, channel volume will be reset to 0db > > relative after the channel is closed which means > > that any > > changes will be lost and not preserved. Setting > > this to > > '0' > > will preserve the volume at the cost of possible > > confusion > > for other applications trying to re-open the > > same > > device (see hw.snd.vpc_reset for possible > > 'panic' switch > > to > > fix the volumes). > > ???? > > so after settings hw.snd.vpc_autoreset=0 each application uses it's > > own > > volume > > setting AND preserves it. just what i wanted. even better because i > > didn't > > know this cool new feature existed. :) > Doesn't work as expected because if you use multiple applications at > same time > silenced channel may and may not become extremly noise at any time - > this is > OSS and not FreeBSD fault and it is implemented as is in many if not > all > multimedia applications; so you may look again in freebsd forums and > use > ariff@ patch for mplayer. I don't remmember there was patch for mpd, > but you > can always ask politely. > > thanks again for the hint. > > cheers. > > alex > > Paul B. Mahol schrieb am 2009-07-03: > >> On 7/3/09, Alexander Best wrote: > >> > hi there, > >> > i've never had a problem to adjust the volume with audio apps > >> > like > >> > mplayer > >> > or > >> > mpd. recently however i'm experiencing this strange behaviour. > >> > the > >> > app's > >> > volume doesn't match the volume that `mixer` reports. here's an > >> > example: > >> CURRENT have VPC. > >> You can completly disable such feature with this sysctl: > >> hint.pcm.X.vpc (default=undefined, enabled) > >> 0=disable, 1=enable > >> Notes: The only place to enable/disable vpc. > >> Enabling/Disabling requires driver reload. > >> here is explanation with more details: > >> http://people.freebsd.org/~ariff/SOUND_4.TXT.html From jonc at chen.org.nz Thu Jul 9 04:32:50 2009 From: jonc at chen.org.nz (Jonathan Chen) Date: Thu Jul 9 04:32:57 2009 Subject: portupgrade question In-Reply-To: <20090708222041.470ad9e1@gumby.homeunix.com> References: <200907081450.18010.meslists@yahoo.fr> <20090708200028.GB58203@osiris.chen.org.nz> <20090708222041.470ad9e1@gumby.homeunix.com> Message-ID: <20090708234414.GA62881@osiris.chen.org.nz> On Wed, Jul 08, 2009 at 10:20:41PM +0100, RW wrote: > On Thu, 9 Jul 2009 08:00:28 +1200 > Jonathan Chen wrote: > > > On Wed, Jul 08, 2009 at 02:50:17PM +0200, dan wrote: > > > THat's the point ! > > > > > > isnt that -R implied by -N ? > > > > > > From the portupgrade man page > > > > > > > > > [...] > > > -N > > > --new > > > Install a new port/package when a specified package is not > > > installed. Prior to the installation a new port/package, all the > > > required packages are upgraded. > > > > No. Since the dependant package *is* installed. It's just not up > > to date. > > I don't understand what you're are saying here. My reading of the > manpage is the same as Dan's: when you install kdeadmin with > portupgrade -N, everything that kdeadmin requires will be upgraded i.e. > "brought up to date". My mistake. It may be a regression with portupgrade; or just that the feature in the second sentence has never been implemented due to the overlap with -R -- Jonathan Chen ---------------------------------------------------------------------- "Irrationality is the square root of all evil" - Douglas Hofstadter From rwmaillists at googlemail.com Thu Jul 9 04:52:41 2009 From: rwmaillists at googlemail.com (RW) Date: Thu Jul 9 04:52:49 2009 Subject: How to symlink devfs devices? In-Reply-To: <20090708194548.GA29703@slackbox.xs4all.nl> References: <20090708123342.22660.qmail@us1.tomahawkonline.net> <3a142e750907081049sc76dfd2o4d13d9ea6a2e983c@mail.gmail.com> <20090708194548.GA29703@slackbox.xs4all.nl> Message-ID: <20090708230413.00bf3bc3@gumby.homeunix.com> On Wed, 8 Jul 2009 21:45:48 +0200 Roland Smith wrote: > On Wed, Jul 08, 2009 at 05:49:24PM +0000, Paul B. Mahol wrote: > > > > > > Is it possible to create a symlink to a device and use the > > > symlink in place of the real device name in FreeBSD, especially > > > in version 7.2? > > > > > > 1. A disk > > > /dev/camera -> /dev/da0s1 > > > devfs.conf(5) > > Geneally, yes. But not in this case, I think. You don't want any old > usb device to be linked to /dev/camera! USB devices are enumerated in > the sequence thay are plugged in. So there is no hard guarantee that > the camera will always be available as da0s1. It might be da1s1 if > another USB drive was plugged in earlier. > > And not all cameras represent themselves as disk devices (USB mass > storage). Lots of modern ones use PTP > [http://en.wikipedia.org/wiki/Picture_Transfer_Protocol]. > > So in this case it might be better to use HAL (via hald(8)) > [http://freedesktop.org/wiki/Software/hal] although if it is a standard usb mass storage device, you can mount it via it's msdos volume label, or a generic label written to the device by glabel. Both methods are described in the glabel(8). From frederique at isafeelin.org Thu Jul 9 05:42:12 2009 From: frederique at isafeelin.org (Frederique Rijsdijk) Date: Thu Jul 9 05:42:20 2009 Subject: client control of sendmail In-Reply-To: <20090708181556.GA32012@skytracker.ca> References: <20090708181556.GA32012@skytracker.ca> Message-ID: <4A557F60.8000909@isafeelin.org> On 7/8/2009 8:15 PM, David Banning wrote: > I have several users who are requesting new mail user accounts and > changes to email accounts all the time. I wonder if there is a package > that allows a given virtual domain owner to change their email accounts - > add, delete and change passwords etc - I am presently using sendmail. Postfix with postfixadmin works really well, but you'll have to rebuild the setup. -- Frederique From amvandemore at gmail.com Thu Jul 9 06:11:02 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Thu Jul 9 06:11:09 2009 Subject: Wine on FBSD-7.0 amd64. Does it run? In-Reply-To: References: Message-ID: <6201873e0907082310m14ca17c3r963efe4f682ce380@mail.gmail.com> On Wed, Jul 8, 2009 at 9:32 AM, kxorrao wrote: > What port of wine should I download in order to play 32bit .exe > files on FreeBSD-7.0 amd64? Linux wine or Wine? > > It's not a terribly big port. Compile it and check. Generally if there are problems with port on a specific platform, it will not build. Use regular wine/avoid emulators within emulators if at all possible. -- Adam Vande More From mel.flynn+fbsd.questions at mailing.thruhere.net Thu Jul 9 07:46:26 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Thu Jul 9 07:46:33 2009 Subject: Install guide (Was: Re: Urgent help needed : portmaster dies on py-cairo) In-Reply-To: <4A5567C1.30708@gmail.com> References: <4A5567C1.30708@gmail.com> Message-ID: <200907082346.23648.mel.flynn+fbsd.questions@mailing.thruhere.net> On Wednesday 08 July 2009 19:45:05 Manish Jain wrote: > ============================================== > Part-1) Immediately after a fresh FreeBSD-7.2#RELEASE install : > > I assume you will at some stage or the other install a linux port, eg > acroread8 or acroread9, linux-ymessenger, etc. Incidentally, unless you > have specific needs, prefer acroread8 over acroread9. Adding to assumptions: one wants to use gnome as desktop. > All following steps are to be executed as root. > > a) Make sure /etc/rc.conf has at least the following 5 lines. > dbus_enable="YES" > hald_enable="YES" > polkitd_enable="YES" > gnome_enable="YES" > linux_enable="YES" > > b) Make sure /boot/loader.conf has at least the following 3 lines. > kern.maxdsiz="734003200" This is a) not needed and b) doesn't do anything useful, since the default will still be the compiled default, unless you also set kern.defdsiz. The only thing this does is allow the datasize limit to be raised to 700M, using limits(1), but since the default still is 512M an unaware application will still fail malloc(3) if allocating beyond 512M. > linprocfs_load="YES" > linsysfs_load="YES" Which ports you mention require linsysfs? > c) Make sure /etc/fstab has at least the following 3 lines. > proc /proc procfs > rw 0 0 > linproc /usr/compat/linux/proc linprocfs rw 0 0 > linsys /usr/compat/linux/sys linsysfs rw 0 > 0 Better to use /compat/linux/*. While by default it resides on /usr, it is convenient to be able to change the symlink, for example to test a new linux_base port without wiping the current one or to free up space on the /usr partition. > d) Upgrage from python25 to python26 along with all dependent ports > as follows : > > rm -rf /usr/ports 2>/dev/null Or you can simply not install the ports distribution, since this is the first thing you do. I also don't understand why you install a boatload of packages from CD/DVD only to complicate things by upgrading by my estimate at least 70%. Why not just portsnap and build the leafs? > mkdir -p /usr/ports/distfiles > portsnap fetch extract > cd /usr/ports/ports-mgmt/portupgrade > make deinstall 2>/dev/null > make install clean > portupgrade -C -r -o lang/python26 lang/python25 > portupgrade -rfx python26 python26 > pkgdb -F > > Before doing anything further, reboot. This needs a reason. I don't know any. > Immediately after reboot, execute > Part-2. > > > Part-2) Steps to be followed whenever a significant number new > ports/patches are available and you need to ensure your ports as well as > your ports directory are up to date : > > thisdate=`date "+%Y-%m-%n"` I assume that's %d, since %n is a newline. > rm /root/portupgrade-${thisdate}.log 2>/dev/null > portsnap fetch update > portupgrade -ace -uRl /root/portupgrade-${thisdate}.log > pkgdb -F > > Note : If you plan to install any linux ports, you should have said yes > to 'Linux binary compatibility' at the time you installed FreeBSD. If > you didn't, the very first port you need to build is > emulators/linux_base-fc4 If you use net/skype you will need linux_base-fc6, so again using sysinstall can be a problem. -- Mel From mel.flynn+fbsd.questions at mailing.thruhere.net Thu Jul 9 07:57:11 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Thu Jul 9 07:57:18 2009 Subject: FixIt CD Tool Availability In-Reply-To: <20090704190652.GA44670@lpthe.jussieu.fr> References: <20090704190652.GA44670@lpthe.jussieu.fr> Message-ID: <200907082357.08564.mel.flynn+fbsd.questions@mailing.thruhere.net> On Saturday 04 July 2009 11:06:52 Michel Talon wrote: > Drew Tomlinson wrote: > > The command 'gmirror label root ad8a ad6a' does not return an error but > > no device is created in /dev/mirror > > > > The command 'zpool create data raid1z ad14d ad12d ad8d ad6d' gives me > > an error about the ZFS library being unavailable. > > > > Are these tools supposed to work when using the Fix It CD? If not, does > > 7.2-RELEASE-amd64-disc1.iso have these tools? > > One can load kernel modules from the fixit cdrom, but as far as i > remember this requires some manipulations. The manipulation is far simpler: sysctl kern.module_path=/dist/boot/kernel It's so simple, I don't know why it's not set in the fixit shell. And after battling with gmirror and a faulty IDE cable last weekend, I really hated typing it. -- Mel From meslists at yahoo.fr Thu Jul 9 08:16:50 2009 From: meslists at yahoo.fr (dan) Date: Thu Jul 9 08:17:00 2009 Subject: portupgrade question In-Reply-To: <20090708234414.GA62881@osiris.chen.org.nz> References: <20090708222041.470ad9e1@gumby.homeunix.com> <20090708234414.GA62881@osiris.chen.org.nz> Message-ID: <200907091015.58852.meslists@yahoo.fr> On Thursday 09 July 2009 01:44:14 Jonathan Chen wrote: > On Wed, Jul 08, 2009 at 10:20:41PM +0100, RW wrote: > > On Thu, 9 Jul 2009 08:00:28 +1200 > > > > Jonathan Chen wrote: > > > On Wed, Jul 08, 2009 at 02:50:17PM +0200, dan wrote: > > > > THat's the point ! > > > > > > > > isnt that -R implied by -N ? > > > > > > > > From the portupgrade man page > > > > > > > > > > > > [...] > > > > -N > > > > --new > > > > Install a new port/package when a specified package is not > > > > installed. Prior to the installation a new port/package, all the > > > > required packages are upgraded. > > > > > > No. Since the dependant package *is* installed. It's just not up > > > to date. > > > > I don't understand what you're are saying here. My reading of the > > manpage is the same as Dan's: when you install kdeadmin with > > portupgrade -N, everything that kdeadmin requires will be upgraded i.e. > > "brought up to date". > > My mistake. It may be a regression with portupgrade; or just that the > feature in the second sentence has never been implemented due to the > overlap with -R Ah, I will send anemail to the maintainer, then. Let's investigate a bit more ! ;-) Many Thanks for your answers! d From lists at freebsdonline.com Thu Jul 9 09:11:08 2009 From: lists at freebsdonline.com (ovi freebsd) Date: Thu Jul 9 09:11:16 2009 Subject: Setup Spectra8 (btb878) capture card in FreeBSD Message-ID: <4A55AEE2.2040806@freebsdonline.com> Hi, Anybody uses Spectra 8 (btb878) in FreeBSD? The card model is that: http://www.ituner.com/spectra.htm The manufacturer claims it works 100% under linux using BTTV 878. I wonder if I can make it work under FreeBSD 7.2 After loading the module i got: bktr0: mem 0x93007000-0x93007fff irq 21 at device 8.0 on pci8 bktr0: [GIANT-LOCKED] bktr0: [ITHREAD] bktr0: Warning - card vendor 0xaa0c (model 0x146c) unknown. bktr0: Pinnacle/Miro TV, tuner. bktr1: mem 0x93005000-0x93005fff irq 22 at device 9.0 on pci8 bktr1: [GIANT-LOCKED] bktr1: [ITHREAD] bktr1: Warning - card vendor 0xaa0d (model 0x146d) unknown. bktr1: Pinnacle/Miro TV, tuner. bktr2: mem 0x93003000-0x93003fff irq 23 at device 10.0 on pci8 bktr2: [GIANT-LOCKED] bktr2: [ITHREAD] bktr2: Warning - card vendor 0xaa0e (model 0x146e) unknown. bktr2: Pinnacle/Miro TV, tuner. bktr3: mem 0x93001000-0x93001fff irq 20 at device 11.0 on pci8 bktr3: [GIANT-LOCKED] bktr3: [ITHREAD] bktr3: Warning - card vendor 0xaa0f (model 0x146f) unknown. bktr3: Pinnacle/Miro TV, tuner. I've also loaded: 36 2 0xc6bf1000 2000 bktr_mem.ko 37 3 0xc6c05000 3000 iicbus.ko 38 1 0xc6c09000 4000 iicbb.ko 39 3 0xc6c0d000 2000 smbus.ko 40 1 0xc6c14000 3000 smb.ko 41 1 0xc6c17000 3000 iicsmb.ko 42 1 0xc6be0000 11000 bktr.ko Is something else I can do so my card could be properly detected and to be able to get signal/record on all 4 inputs (none of them are working). uname -a FreeBSD root 7.2-STABLE FreeBSD 7.2-STABLE #2: Sun May 17 22:52:20 EEST 2009 root@localhost:/usr/obj/usr/src/sys/WRK i386 best regards ovi From nicolas at nicoelro.net Thu Jul 9 09:51:13 2009 From: nicolas at nicoelro.net (Nicolas Letellier) Date: Thu Jul 9 09:51:21 2009 Subject: Secure apache with php Message-ID: <20090709113534.43373278@belegost.nicoelro.net> Hello. I want to secure my Apache/PHP environment without : - safe_mode - suphp / suexec So, I found this : http://mpm-itk.sesse.net/ In this page, we can see that a FreeBSD port exists, but I can't find it. What do you thinh about it? This tool seems to be good. Which Apache version do you advice? apache13 apache20 apache22 apache22-peruser-mp Best regards, -- Nicolas From nicolas at nicoelro.net Thu Jul 9 10:22:20 2009 From: nicolas at nicoelro.net (Nicolas Letellier) Date: Thu Jul 9 10:22:26 2009 Subject: Secure apache with php In-Reply-To: References: <20090709113534.43373278@belegost.nicoelro.net> Message-ID: <20090709122212.658bcc24@belegost.nicoelro.net> Le Thu, 9 Jul 2009 13:18:39 +0300, "Reko Turja" a ?crit : > > I want to secure my Apache/PHP environment... > > Full suhosin, both patch and mod for the PHP. IIRC suhosin patch is > optional in PHP port and the mod can be installed via ports. > (http://www.hardened-php.net/suhosin/index.html) > > Apache environment and binaries set up in a jail. > > > Which Apache version do you advice? > > I reckon these days 2.2 would be the best in regards of future > upgrades and development. > > -Reko > Thanks. I already use suhosin patch in mod_php. I have few users on this machine, each use a separate directory (/var/www/user). I do not want to make a jail for each one. That's why mpm-itk seems to be good (instead of safe_mode / open_basedir). Best regards, -- Nicolas From reko.turja at liukuma.net Thu Jul 9 10:36:43 2009 From: reko.turja at liukuma.net (Reko Turja) Date: Thu Jul 9 10:36:50 2009 Subject: Secure apache with php In-Reply-To: <20090709113534.43373278@belegost.nicoelro.net> References: <20090709113534.43373278@belegost.nicoelro.net> Message-ID: > I want to secure my Apache/PHP environment... Full suhosin, both patch and mod for the PHP. IIRC suhosin patch is optional in PHP port and the mod can be installed via ports. (http://www.hardened-php.net/suhosin/index.html) Apache environment and binaries set up in a jail. > Which Apache version do you advice? I reckon these days 2.2 would be the best in regards of future upgrades and development. -Reko From toshi at ruby.ocn.ne.jp Thu Jul 9 10:37:44 2009 From: toshi at ruby.ocn.ne.jp (SAITOU Toshihide) Date: Thu Jul 9 10:37:52 2009 Subject: How can I use BD-RE with UFS on geli? In-Reply-To: <20090415.194548.115922300.toshi@ruby.ocn.ne.jp> References: <20090412.134212.260812222.toshi@ruby.ocn.ne.jp> <20090415.194548.115922300.toshi@ruby.ocn.ne.jp> Message-ID: <20090709.191410.115643704.toshi@ruby.ocn.ne.jp> From: SAITOU Toshihide Subject: Re: How can I use BD-RE with UFS on geli? Date: Wed, 15 Apr 2009 19:45:48 +0900 (JST) > In message: <20090412.134212.260812222.toshi@ruby.ocn.ne.jp> > SAITOU Toshihide writes: >> I tried BD-RE with UFS on geli but didn't success. >> What was wrong the below? > > P.S. BD-RE with UFS is the same result (not usable). > > > 1. format the disk > > dvd+rw-format is failed but after this step the disk is > newfs-able. > > # diskinfo -v /dev/acd0 > /dev/acd0 > 2048 # sectorsize > 8796093020160 # mediasize in bytes (8.0T) > 4294967295 # mediasize in sectors > > # kldload atapicam > # dvd+rw-format /dev/cd0 > # kldunload atapicam > > # diskinfo -v /dev/acd0 > /dev/acd0 > 2048 # sectorsize > 24220008448 # mediasize in bytes (23G) > 11826176 # mediasize in sectors > > 2. newfs > > # newfs /dev/acd0 > > the following message was detected: > > kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 > > > 3. glabel and mount > > > but the disk access frequently failed with these messages > (offset and length is not always the same): > > kernel: acd0: FAILURE - READ_BIG MEDIUM ERROR asc=0x11 ascq=0x05 > kernel: g_vfs_done():label/DailyBackup[READ(offset=2697789440, length=16384)]error = 5 > Since I wrote this message and did something, I rarely see the READ_BIG MEDIUM ERROR error for now, almost ok, thanks. This is something I did JFYI: * firmware update * gnome and related ports update (include devel/fam to devel/gamin change) * sector size change # dd if=/dev/zero bs=2048 count=1 of=/dev/acd0 (new media emits READ_BIG MEDIUM ERROR, maybe inevitable(?)) # geli init -s 4096 /dev/acd0 # geli attach acd0 # dd if=/dev/zero bs=4194304 count=256 of=/dev/acd0.eli 256+0 records in 256+0 records out 1073741824 bytes transferred in 347.738376 secs (3087786 bytes/sec) # newfs -b 65536 -S 4096 /dev/acd0.eli # glabel label -v DailyBackup /dev/acd0.eli # mount /dev/label/DailyBackup /od # tar cf - foo | gzip -9 | dd bs=65536 if=/dev/stdin of=/od/foo.tgz & 18697+2 records in 18697+2 records out 1225348564 bytes transferred in 733.809511 secs (1669846 bytes/sec) The theoretical transfer speed is 4.5MB/s (288 Mbps) so this is slow even I use the x2 BD-RE media and drive but I don't know which part is saturated. Thanks, ---- SAITOU Toshihide From sagara at tomahawk.com.sg Thu Jul 9 10:55:49 2009 From: sagara at tomahawk.com.sg (Sagara Wijetunga) Date: Thu Jul 9 10:55:57 2009 Subject: How to symlink devfs devices? In-Reply-To: <3a142e750907081049sc76dfd2o4d13d9ea6a2e983c@mail.gmail.com> References: <20090708123342.22660.qmail@us1.tomahawkonline.net> <3a142e750907081049sc76dfd2o4d13d9ea6a2e983c@mail.gmail.com> Message-ID: <20090709073741.2427.qmail@us1.tomahawkonline.net> Paul B. Mahol writes: >> >> Is it possible to create a symlink to a device and use the symlink in place >> of the real device name in FreeBSD, especially in version 7.2? >> >> 1. A disk >> /dev/camera -> /dev/da0s1 > > devfs.conf(5) >> >> 2. A network device >> re0 -> lan0 > > same as above, but there is way to completly hide re0: > # ifconfig re0 name lan0 > Hi FreeBSD community Thank you all for replies. Yes, USB Mass Storage devices could be symlinked (may be others too) but ethernet devices cannot be symlinked but ethernet interfaces can be renamed. I have one more question, how do I know what device is attached to an ethernet interface after it is renamed? Regards Sagara From jcigar at ulb.ac.be Thu Jul 9 11:16:00 2009 From: jcigar at ulb.ac.be (Julien Cigar) Date: Thu Jul 9 11:16:08 2009 Subject: Secure apache with php In-Reply-To: <20090709122212.658bcc24@belegost.nicoelro.net> References: <20090709113534.43373278@belegost.nicoelro.net> <20090709122212.658bcc24@belegost.nicoelro.net> Message-ID: <1247136597.2653.15.camel@frodon.be-bif.ulb.ac.be> What I do is running PHP in FastCGI mode (with something like x-cache) with a dedicated user for each webapp for which I have a dedicated script, for example : ========= jcigar@bccm-it ~ % ls -l /usr/local/www/apache22/cgi-bin (...) -rwxr-xr-x 1 www-scar www-scar 202 Oct 27 2008 scar-php-wrapper.fcgi* -rwxr-xr-x 1 www-lwatch www-lwatch 202 Apr 24 12:05 sfa-php-wrapper.fcgi* -rwxr-xr-x 1 www-tapir www-tapir 202 Oct 27 2008 tapir-php-wrapper.fcgi* (...) ========= each .fcgi contain something like : ========= jcigar@bccm-it ~ % cat /usr/local/www/apache22/cgi-bin/scar-php-wrapper.fcgi #!/bin/sh #PHPRC="/path/to/php.ini" #export PHPRC PHP_FCGI_CHILDREN=3 export PHP_FCGI_CHILDREN PHP_FCGI_MAX_REQUESTS=10000 export PHP_FCGI_MAX_REQUESTS exec /usr/local/bin/php-cgi -b 127.0.0.1:5009 ========= you can control how much children have to be fork(), the number of maximum requests per process before it gets killed and re-launched (usefull if a webapp leaks memory), etc Then in your Apache config you put something like : ========= FastCgiExternalServer /usr/local/www/apache22/cgi-bin/scar-php-wrapper.fcgi -host 127.0.0.1:5009 -idle-timeout 1800 SetHandler fastcgi-script Order allow,deny Allow from all AddHandler php-fastcgi .php Action php-fastcgi /cgi-bin/scar-php-wrapper.fcgi ========= hope it helps, best regards, Julien On Thu, 2009-07-09 at 12:22 +0200, Nicolas Letellier wrote: > Le Thu, 9 Jul 2009 13:18:39 +0300, > "Reko Turja" a ?crit : > > > > I want to secure my Apache/PHP environment... > > > > Full suhosin, both patch and mod for the PHP. IIRC suhosin patch is > > optional in PHP port and the mod can be installed via ports. > > (http://www.hardened-php.net/suhosin/index.html) > > > > Apache environment and binaries set up in a jail. > > > > > Which Apache version do you advice? > > > > I reckon these days 2.2 would be the best in regards of future > > upgrades and development. > > > > -Reko > > > Thanks. I already use suhosin patch in mod_php. > > I have few users on this machine, each use a separate directory > (/var/www/user). I do not want to make a jail for each one. > > That's why mpm-itk seems to be good (instead of safe_mode / > open_basedir). > > Best regards, > > > -- 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 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. From sagara at tomahawk.com.sg Thu Jul 9 11:20:07 2009 From: sagara at tomahawk.com.sg (Sagara Wijetunga) Date: Thu Jul 9 11:20:14 2009 Subject: devd configuration questions Message-ID: <20090709080200.3456.qmail@us1.tomahawkonline.net> Hi FreeBSD community I have few questions regarding devd configuration: 1. What is the difference between "attach" or "notify" and when to use them? 2. What are the possible values for "class" in "attach" and "detach" statements? 3. What are the possible values for "subdevice" in "attach" and "detach" statements? 4. What are the possible values for "system", "subsystem", "type" in "notify" statement? Kind regards Sagara From sagara at tomahawk.com.sg Thu Jul 9 11:39:29 2009 From: sagara at tomahawk.com.sg (Sagara Wijetunga) Date: Thu Jul 9 11:39:36 2009 Subject: devd configuration questions In-Reply-To: <20090709080200.3456.qmail@us1.tomahawkonline.net> References: <20090709080200.3456.qmail@us1.tomahawkonline.net> Message-ID: <4A55D88B.1040505@tomahawk.com.sg> Sagara Wijetunga wrote: > Hi FreeBSD community > I have few questions regarding devd configuration: > 1. What is the difference between "attach" or "notify" and when to use > them? > 2. What are the possible values for "class" in "attach" and "detach" > statements? > 3. What are the possible values for "subdevice" in "attach" and > "detach" statements? > 4. What are the possible values for "system", "subsystem", "type" in > "notify" statement? > Kind regards > Sagara Sorry, I forgot to mention, I need above information regarding FreeBSD 7.2 (i386). Regards Sagara From nicolas at nicoelro.net Thu Jul 9 11:43:38 2009 From: nicolas at nicoelro.net (Nicolas Letellier) Date: Thu Jul 9 11:43:47 2009 Subject: Secure apache with php In-Reply-To: <1247136597.2653.15.camel@frodon.be-bif.ulb.ac.be> References: <20090709113534.43373278@belegost.nicoelro.net> <20090709122212.658bcc24@belegost.nicoelro.net> <1247136597.2653.15.camel@frodon.be-bif.ulb.ac.be> Message-ID: <20090709134329.0f86c78b@belegost.nicoelro.net> Le Thu, 09 Jul 2009 12:49:57 +0200, Julien Cigar a ?crit : > What I do is running PHP in FastCGI mode (with something like x-cache) > with a dedicated user for each webapp for which I have a dedicated > script, for example : > > ========= > jcigar@bccm-it ~ % ls -l /usr/local/www/apache22/cgi-bin > (...) > -rwxr-xr-x 1 www-scar www-scar 202 Oct 27 2008 > scar-php-wrapper.fcgi* > -rwxr-xr-x 1 www-lwatch www-lwatch 202 Apr 24 12:05 > sfa-php-wrapper.fcgi* > -rwxr-xr-x 1 www-tapir www-tapir 202 Oct 27 2008 > tapir-php-wrapper.fcgi* > (...) > ========= > > each .fcgi contain something like : > > ========= > jcigar@bccm-it ~ % > cat /usr/local/www/apache22/cgi-bin/scar-php-wrapper.fcgi > #!/bin/sh > > #PHPRC="/path/to/php.ini" > #export PHPRC > > PHP_FCGI_CHILDREN=3 > export PHP_FCGI_CHILDREN > > PHP_FCGI_MAX_REQUESTS=10000 > export PHP_FCGI_MAX_REQUESTS > > exec /usr/local/bin/php-cgi -b 127.0.0.1:5009 > ========= > > you can control how much children have to be fork(), the number of > maximum requests per process before it gets killed and re-launched > (usefull if a webapp leaks memory), etc > > Then in your Apache config you put something like : > > ========= > FastCgiExternalServer /usr/local/www/apache22/cgi-bin/scar-php-wrapper.fcgi > -host 127.0.0.1:5009 -idle-timeout 1800 > > > SetHandler fastcgi-script > > > > Order allow,deny > Allow from all > > AddHandler php-fastcgi .php > Action php-fastcgi /cgi-bin/scar-php-wrapper.fcgi > > ========= > > hope it helps, > > best regards, > Julien > > > On Thu, 2009-07-09 at 12:22 +0200, Nicolas Letellier wrote: > > Le Thu, 9 Jul 2009 13:18:39 +0300, > > "Reko Turja" a ?crit : > > > > > > I want to secure my Apache/PHP environment... > > > > > > Full suhosin, both patch and mod for the PHP. IIRC suhosin patch > > > is optional in PHP port and the mod can be installed via ports. > > > (http://www.hardened-php.net/suhosin/index.html) > > > > > > Apache environment and binaries set up in a jail. > > > > > > > Which Apache version do you advice? > > > > > > I reckon these days 2.2 would be the best in regards of future > > > upgrades and development. > > > > > > -Reko > > > > > Thanks. I already use suhosin patch in mod_php. > > > > I have few users on this machine, each use a separate directory > > (/var/www/user). I do not want to make a jail for each one. > > > > That's why mpm-itk seems to be good (instead of safe_mode / > > open_basedir). > > > > Best regards, > > > > > > When I tested php in cgi, performances were bad. That's why, php_mod is better (in my case != -- Nicolas From jcigar at ulb.ac.be Thu Jul 9 12:33:06 2009 From: jcigar at ulb.ac.be (Julien Cigar) Date: Thu Jul 9 12:33:14 2009 Subject: Secure apache with php In-Reply-To: <20090709134329.0f86c78b@belegost.nicoelro.net> References: <20090709113534.43373278@belegost.nicoelro.net> <20090709122212.658bcc24@belegost.nicoelro.net> <1247136597.2653.15.camel@frodon.be-bif.ulb.ac.be> <20090709134329.0f86c78b@belegost.nicoelro.net> Message-ID: <1247142971.2653.19.camel@frodon.be-bif.ulb.ac.be> On Thu, 2009-07-09 at 13:43 +0200, Nicolas Letellier wrote: > Le Thu, 09 Jul 2009 12:49:57 +0200, > Julien Cigar a ?crit : > > > What I do is running PHP in FastCGI mode (with something like x-cache) > > with a dedicated user for each webapp for which I have a dedicated > > script, for example : > > > > ========= > > jcigar@bccm-it ~ % ls -l /usr/local/www/apache22/cgi-bin > > (...) > > -rwxr-xr-x 1 www-scar www-scar 202 Oct 27 2008 > > scar-php-wrapper.fcgi* > > -rwxr-xr-x 1 www-lwatch www-lwatch 202 Apr 24 12:05 > > sfa-php-wrapper.fcgi* > > -rwxr-xr-x 1 www-tapir www-tapir 202 Oct 27 2008 > > tapir-php-wrapper.fcgi* > > (...) > > ========= > > > > each .fcgi contain something like : > > > > ========= > > jcigar@bccm-it ~ % > > cat /usr/local/www/apache22/cgi-bin/scar-php-wrapper.fcgi > > #!/bin/sh > > > > #PHPRC="/path/to/php.ini" > > #export PHPRC > > > > PHP_FCGI_CHILDREN=3 > > export PHP_FCGI_CHILDREN > > > > PHP_FCGI_MAX_REQUESTS=10000 > > export PHP_FCGI_MAX_REQUESTS > > > > exec /usr/local/bin/php-cgi -b 127.0.0.1:5009 > > ========= > > > > you can control how much children have to be fork(), the number of > > maximum requests per process before it gets killed and re-launched > > (usefull if a webapp leaks memory), etc > > > > Then in your Apache config you put something like : > > > > ========= > > FastCgiExternalServer /usr/local/www/apache22/cgi-bin/scar-php-wrapper.fcgi > > -host 127.0.0.1:5009 -idle-timeout 1800 > > > > > > SetHandler fastcgi-script > > > > > > > > Order allow,deny > > Allow from all > > > > AddHandler php-fastcgi .php > > Action php-fastcgi /cgi-bin/scar-php-wrapper.fcgi > > > > ========= > > > > hope it helps, > > > > best regards, > > Julien > > > > > > On Thu, 2009-07-09 at 12:22 +0200, Nicolas Letellier wrote: > > > Le Thu, 9 Jul 2009 13:18:39 +0300, > > > "Reko Turja" a ?crit : > > > > > > > > I want to secure my Apache/PHP environment... > > > > > > > > Full suhosin, both patch and mod for the PHP. IIRC suhosin patch > > > > is optional in PHP port and the mod can be installed via ports. > > > > (http://www.hardened-php.net/suhosin/index.html) > > > > > > > > Apache environment and binaries set up in a jail. > > > > > > > > > Which Apache version do you advice? > > > > > > > > I reckon these days 2.2 would be the best in regards of future > > > > upgrades and development. > > > > > > > > -Reko > > > > > > > Thanks. I already use suhosin patch in mod_php. > > > > > > I have few users on this machine, each use a separate directory > > > (/var/www/user). I do not want to make a jail for each one. > > > > > > That's why mpm-itk seems to be good (instead of safe_mode / > > > open_basedir). > > > > > > Best regards, > > > > > > > > > > When I tested php in cgi, performances were bad. That's why, php_mod is > better (in my case != > It's not CGI, it's FastCGI. There is no performance loss if you use an opcode cacher (like x-cache). -- 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 No trees were killed in the creation of this message. However, many electrons were terribly inconvenienced. From admin at utahcon.com Thu Jul 9 04:43:08 2009 From: admin at utahcon.com (Adam Barrett) Date: Thu Jul 9 13:30:51 2009 Subject: Utah Open Source Conference Message-ID: <543e75de0907082002i2262237bve00177a6c81727fe@mail.gmail.com> Dear Sir: My name is Adam Barrett and I am with the Utah Open Source Foundation.This coming October we are proud to present our Third Annual Utah Open Source Conference, the premier gathering of 600+ Geeks, Nerds, and just plain folks interested in Open Source and Technology. This year we would like to extend the opportunity to FreeBSD to sponsor our event. I have attached a break down of our Sponsorship packages, which I think you will find are extremely generous. I would suggest that you go with a Diamond package. This will give you the best penetration you can get in our conference. I look forward to seeing FreeBSD at the Utah Open Source Conference this fall! Adam Barrett admin@utahcon.com -------------- next part -------------- A non-text attachment was scrubbed... Name: utosc2009sponsorships.pdf Type: application/pdf Size: 50658 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090709/9d91fa74/utosc2009sponsorships.pdf From lists at jnielsen.net Thu Jul 9 14:05:47 2009 From: lists at jnielsen.net (John Nielsen) Date: Thu Jul 9 14:06:31 2009 Subject: Utah Open Source Conference In-Reply-To: <543e75de0907082002i2262237bve00177a6c81727fe@mail.gmail.com> References: <543e75de0907082002i2262237bve00177a6c81727fe@mail.gmail.com> Message-ID: <200907091005.39392.lists@jnielsen.net> On Wednesday 08 July 2009 23:02:00 Adam Barrett wrote: > Dear Sir: That's your first misconception (of at least two, I'm afraid). freebsd-questions is a mailing list intended for users of FreeBSD to ask questions which can then be answered by other members of the community. > My name is Adam Barrett and I am with the Utah Open Source > Foundation.This coming October we are proud to present our Third > Annual Utah Open Source Conference, the premier gathering of 600+ > Geeks, Nerds, and just plain folks interested in Open Source and > Technology. That's interesting. A link to http://utosc.com would have been helpful here. (I first landed at your blog via http://utahcon.com.) > This year we would like to extend the opportunity to FreeBSD to > sponsor our event. Misconception number two. FreeBSD is an operating system, not a corporation or other human entity. The FreeBSD Project consists mostly of developers and other volunteers, and is likely to have neither motive nor means to sponsor your event. > I have attached a break down of our Sponsorship > packages, which I think you will find are extremely generous. I would > suggest that you go with a Diamond package. This will give you the > best penetration you can get in our conference. See above. While we (and I use the term as a member of the community only, I don't speak for the FreeBSD Project) would like to see the project grow, paying for marketing is probably not the way it is going to happen. On the other hand, if you wanted to offer a "non-profit" booth (gratis) to the FreeBSD Foundation, that would certainly be appropriate and probably well-received. See http://freebsdfoundation.org for contact and other information. > I look forward to seeing FreeBSD at the Utah Open Source Conference this > fall! Maybe someone will show up with a laptop running FreeBSD. Or you could use a FreeBSD box to provide network services for the conference.. JN From nicolas at nicoelro.net Thu Jul 9 14:05:58 2009 From: nicolas at nicoelro.net (Nicolas Letellier) Date: Thu Jul 9 14:06:32 2009 Subject: Secure apache with php In-Reply-To: <1247142971.2653.19.camel@frodon.be-bif.ulb.ac.be> References: <20090709113534.43373278@belegost.nicoelro.net> <20090709122212.658bcc24@belegost.nicoelro.net> <1247136597.2653.15.camel@frodon.be-bif.ulb.ac.be> <20090709134329.0f86c78b@belegost.nicoelro.net> <1247142971.2653.19.camel@frodon.be-bif.ulb.ac.be> Message-ID: <20090709160550.40c9f6c4@belegost.nicoelro.net> Le Thu, 09 Jul 2009 14:36:11 +0200, Julien Cigar a ?crit : > > When I tested php in cgi, performances were bad. That's why, > > php_mod is better (in my case != > > > > It's not CGI, it's FastCGI. > There is no performance loss if you use an opcode cacher (like > x-cache). > And is anyboy use mpm-itk ? I'm interested more with this solution than another php fix (like safe_mode, open_basedir or cgi/fastcie). -- Nicolas From geekounet at poildetroll.net Thu Jul 9 14:36:56 2009 From: geekounet at poildetroll.net (Pierre Guinoiseau) Date: Thu Jul 9 14:37:03 2009 Subject: Secure apache with php In-Reply-To: <20090709160550.40c9f6c4@belegost.nicoelro.net> References: <20090709113534.43373278@belegost.nicoelro.net> <20090709122212.658bcc24@belegost.nicoelro.net> <1247136597.2653.15.camel@frodon.be-bif.ulb.ac.be> <20090709134329.0f86c78b@belegost.nicoelro.net> <1247142971.2653.19.camel@frodon.be-bif.ulb.ac.be> <20090709160550.40c9f6c4@belegost.nicoelro.net> Message-ID: <4A55FCBD.90809@poildetroll.net> Just build www/apache22 with WITH_MPM=itk and you'll have it. :) Then add something like this in each vhost: AssignUserId my_user my_group Nicolas Letellier wrote: > Le Thu, 09 Jul 2009 14:36:11 +0200, > Julien Cigar a ?crit : > >>> When I tested php in cgi, performances were bad. That's why, >>> php_mod is better (in my case != >>> >> It's not CGI, it's FastCGI. >> There is no performance loss if you use an opcode cacher (like >> x-cache). >> > And is anyboy use mpm-itk ? > I'm interested more with this solution than another php fix (like > safe_mode, open_basedir or cgi/fastcie). > -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090709/b90c4c16/signature.pgp From stapleton.41 at gmail.com Thu Jul 9 14:37:41 2009 From: stapleton.41 at gmail.com (Jim) Date: Thu Jul 9 14:37:48 2009 Subject: jail/system crash with mount_unionfs Message-ID: <80f4f2b20907090737w25372a67p39bb0fadffc95183@mail.gmail.com> OS: FreeBSD 7.2 release / Generic kernel I used CSUP to download the source tree, and the RELENG_7_2, no date specified. I didn't rebuild the base OS world/kernel. I have installed a lot of ports on the main system, most of what the jail would need is also already installed - so the distfiles and ports directories are already setup to speed of the install process. I figured I'd save time and effort and use unionfs to allow both systems to use the same ports directory (to be safe, I won't compile things from both systems at the same time, but keeping the same ports directory was fine. I followed the jail creation instructions in the handbook posted on the www.freebsd.org Once the jail was created, I made a script to union the ports directories: ts.org_mount_ports #!/bin/sh mount_unionfs /usr/ports /data/jail/ts.org/usr/ports/ I also have my jail shell startup script: ts.org_shell #!/bin/sh jail -s 2 /data/jail/ts.org/ ts.org.mydomain 192.168.1.83 /bin/sh [sjss@boromir /data/jail]$ ls ts.org/usr/ports [sjss@boromir /data/jail]$ sudo ./ts.org_mount_ports [sjss@boromir /data/jail]$ ls ts.org/usr/ports ... ports directory listing omitted [sjss@boromir /data/jail]$ sudo ./ts.org_shell # cd /usr/ports # ls The base operating system hangs at this point. later: [sjss@boromir /data/jail]$ ls ts.org/usr/ports [sjss@boromir /data/jail]$ cd ts.org/usr/ports [sjss@boromir /data/jail/ts.org/usr/ports]$ cp -rf /usr/ports/* . [sjss@boromir /data/jail/ts.org/usr/ports]$ cd /data/jail [sjss@boromir /data/jail]$ ls ts.org/usr/ports ... ports directory listing omitted [sjss@boromir /data/jail]$ sudo ./ts.org_shell # cd /usr/ports # ls ... ports directory listing omitted As you can see, there is a work around, so I'm not that /bothered/ by this, but it'd be nice to know what's up. Am I doing something wrong? If not, can anyone replicate this? Should I file a bug report? Thanks, -Jim Stapleton From eagletree at hughes.net Thu Jul 9 14:58:44 2009 From: eagletree at hughes.net (Chris) Date: Thu Jul 9 14:58:52 2009 Subject: FreeBSD for a high school class? (long) Message-ID: <368E57AC-8366-46EA-BE1A-5EBB07B64EDC@hughes.net> Sorry for the OT-ness of this. I only work with FreeBSD for servers. Have used it as the sole systems for a business since the late 1900s. Twice I've put up X-Windows machines but we never bothered to use them for one reason or another. Now my son's school is short computers for a High School HTML class I'm going to help teach this fall. The official teacher is excited about FreeBSD since we can use old equipment that is donated. There are two issues. We will not get enough FreeBSD systems up to cover all kids in the class. Some will have to use the 10.4/3 OS-X G3s we already have. For the remainder of systems, I've told them I need a minimum 256GB Ram, 500+Mhz, ~10GB hard drive. I will put Apache on both types of boxes so they have a testing platform, hope to put firefox on each so they have a consistent browser. The confusing thing will be Finder and Textedit, versus whatever I use for a window manager on the FreeBSD systems. The two questions are: 1. Taking the specs into account, what is the window manager that will provide the closest match to the Apple desktop for mouse ops, browsing files/directories, and editing text files. I suppose I should add running Firefox (or a reasonable similar browser that will render HTML and execute Javascript identically). I don't mean cosmetically, just enough that there isn't too much needing to teach a window manager. Finder is relatively invisible from a teaching standpoint as is Textedit, Firefox is going to be reasonably standard (this is going to teach HTML standards, not how to use windowed drag and drop page generation products, they will be using a text editor and working with raw HTML, CSS and JavaScript). But what I don't want to be doing is having some learning vi (even though if this were an advanced class, that is precisely what I'd expect ;-)), while others are using textedit. The course is HTML. Mouse button operations should be close, a window that gives a simple file directory and a text editor that doesn't require learning a character command set would be the target. 2. Am I too lean on the specs for the free AMD/Intel boxes we are requesting parents cough up? The district sadly is being forced to go to windows by the state, and now only has these old antique Macs free and has no Intel/AMD boxes. These will all come from parents of the program and leverage the fact that people like to replace perfectly good boxes because of spyware on windows. I personally still have boxes with less than 100GB RAM and sub-500 mhz processors running 6.x (and I think 7.0) but I use those as firewalls, I've never used a window manager so perhaps my view of FreeBSDs efficiency is optimistic. Are the specs too low for *some* X environment? Constraint: I already broached the subject of putting FreeBSD on the G3s using the PowerPC version. Unfortunately, the 6 Apples are used by another class on OS-X. From glen.j.barber at gmail.com Thu Jul 9 15:07:21 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Thu Jul 9 15:07:28 2009 Subject: FreeBSD for a high school class? (long) In-Reply-To: <368E57AC-8366-46EA-BE1A-5EBB07B64EDC@hughes.net> References: <368E57AC-8366-46EA-BE1A-5EBB07B64EDC@hughes.net> Message-ID: <4ad871310907090807h4603a165n263637770114e9a5@mail.gmail.com> Hi, Chris On Thu, Jul 9, 2009 at 10:58 AM, Chris wrote: > Sorry for the OT-ness of this. I only work with FreeBSD for servers. > Have used it as the sole systems for a business since the late 1900s. > Twice I've put up X-Windows machines but we never bothered to > use them for one reason or another. Now my son's school is short > computers for a High School HTML class I'm going to help teach > this fall. The official teacher is excited about FreeBSD since we can > use old equipment that is donated. > > There are two issues. We will not get enough FreeBSD systems up > to cover all kids in the class. Some will have to use the 10.4/3 OS-X > G3s we already have. For the remainder of systems, I've told them > I need a minimum 256GB Ram, 500+Mhz, ~10GB hard drive. I will > put Apache on both types of boxes so they have a testing platform, > hope to put firefox on each so they have a consistent browser. The > confusing thing will be Finder and Textedit, versus whatever I use for > a window manager on the FreeBSD systems. > > The two questions are: > > 1. Taking the specs into account, what is the window manager that > will provide the closest match to the Apple desktop for mouse ops, > browsing files/directories, and editing text files. I suppose I should > add running Firefox (or a reasonable similar browser that will > render HTML and execute Javascript identically). > Although I will probably be lit on fire for this, I'd have to say KDE3 would probably be the closest. There even is the baghira theme, which mimics the OSX interface. I haven't used either in over a year or so, however. > I don't mean cosmetically, just enough that there isn't too much > needing to teach a window manager. Finder is relatively invisible > from a teaching standpoint as is Textedit, Firefox is going to be > reasonably standard (this is going to teach HTML standards, not > how to use windowed drag and drop page generation products, > they will be using a text editor and working with raw HTML, CSS > and JavaScript). But what I don't want to be doing is having some > learning vi (even though if this were an advanced class, that is > precisely what I'd expect ;-)), while others are using textedit. > The course is HTML. Mouse button operations should be close, > a window that gives a simple file directory and a text editor that > doesn't require learning a character command set would be the > target. > You should begin teaching them Vi now. :) > 2. Am I too lean on the specs for the free AMD/Intel boxes we > are requesting parents cough up? > Are you going to be building apache / xorg / ${YOUR_BROWSER} from ports or installing packages? If from ports, this may be a bit painful as it will take (seemingly) forever to build xorg, etc. > The district sadly is being forced to go to windows by the > state, and now only has these old antique Macs Monopoly, anyone? > free and has no Intel/AMD boxes. These will all come from > parents of the program and leverage the fact that people > like to replace perfectly good boxes because of spyware on > windows. I personally still have boxes with less than 100GB > RAM and sub-500 mhz processors running 6.x (and I think 7.0) > but I use those as firewalls, I've never used a window manager > so perhaps my view of FreeBSDs efficiency is optimistic. Are > the specs too low for *some* X environment? > > Constraint: I already broached the subject of putting FreeBSD > on the G3s using the PowerPC version. Unfortunately, the 6 > Apples are used by another class on OS-X. HTH -- Glen Barber From jerrymc at msu.edu Thu Jul 9 15:10:56 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Thu Jul 9 15:11:05 2009 Subject: FreeBSD for a high school class? (long) In-Reply-To: <368E57AC-8366-46EA-BE1A-5EBB07B64EDC@hughes.net> References: <368E57AC-8366-46EA-BE1A-5EBB07B64EDC@hughes.net> Message-ID: <20090709151000.GF25876@gizmo.acns.msu.edu> On Thu, Jul 09, 2009 at 07:58:21AM -0700, Chris wrote: -> Sorry for the OT-ness of this. I only work with FreeBSD for servers. -> Have used it as the sole systems for a business since the late 1900s. -> Twice I've put up X-Windows machines but we never bothered to -> use them for one reason or another. Now my son's school is short -> computers for a High School HTML class I'm going to help teach -> this fall. The official teacher is excited about FreeBSD since we can -> use old equipment that is donated. -> -> There are two issues. We will not get enough FreeBSD systems up -> to cover all kids in the class. Some will have to use the 10.4/3 OS-X -> G3s we already have. For the remainder of systems, I've told them -> I need a minimum 256GB Ram, 500+Mhz, ~10GB hard drive. I will -> put Apache on both types of boxes so they have a testing platform, -> hope to put firefox on each so they have a consistent browser. The -> confusing thing will be Finder and Textedit, versus whatever I use for -> a window manager on the FreeBSD systems. -> -> The two questions are: -> -> 1. Taking the specs into account, what is the window manager that -> will provide the closest match to the Apple desktop for mouse ops, -> browsing files/directories, and editing text files. I suppose I should -> add running Firefox (or a reasonable similar browser that will -> render HTML and execute Javascript identically). -> -> I don't mean cosmetically, just enough that there isn't too much -> needing to teach a window manager. Finder is relatively invisible -> from a teaching standpoint as is Textedit, Firefox is going to be -> reasonably standard (this is going to teach HTML standards, not -> how to use windowed drag and drop page generation products, -> they will be using a text editor and working with raw HTML, CSS -> and JavaScript). But what I don't want to be doing is having some -> learning vi (even though if this were an advanced class, that is -> precisely what I'd expect ;-)), while others are using textedit. -> The course is HTML. Mouse button operations should be close, -> a window that gives a simple file directory and a text editor that -> doesn't require learning a character command set would be the -> target. -> -> 2. Am I too lean on the specs for the free AMD/Intel boxes we -> are requesting parents cough up? Well, I don't think that you need 256 GB of ram. Probably less than 1 GB, in fact maybe 256 MB will be plenty. 10 GB of hard disk might be a little tight, but if you aren't doing databases and making big permanent sites, but only just small teaching web pages, then you should get by. ////jerry -> -> The district sadly is being forced to go to windows by the -> state, and now only has these old antique Macs -> free and has no Intel/AMD boxes. These will all come from -> parents of the program and leverage the fact that people -> like to replace perfectly good boxes because of spyware on -> windows. I personally still have boxes with less than 100GB -> RAM and sub-500 mhz processors running 6.x (and I think 7.0) -> but I use those as firewalls, I've never used a window manager -> so perhaps my view of FreeBSDs efficiency is optimistic. Are -> the specs too low for *some* X environment? -> -> Constraint: I already broached the subject of putting FreeBSD -> on the G3s using the PowerPC version. Unfortunately, the 6 -> Apples are used by another class on OS-X. -> _______________________________________________ -> 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 sagara at tomahawk.com.sg Thu Jul 9 15:15:26 2009 From: sagara at tomahawk.com.sg (Sagara Wijetunga) Date: Thu Jul 9 15:15:33 2009 Subject: Why this flash drive not detected in devd? Message-ID: <4A560B28.6080705@tomahawk.com.sg> Hi FreeBSD community This is FreeBSD 7.2 on i386. sysctl -a | grep dev.umass dev.umass.1.%desc: Imation Flash Drive, class 0/0, rev 2.00/1.03, addr 3 dev.umass.1.%driver: umass dev.umass.1.%location: port=6 interface=0 dev.umass.1.%pnpinfo: vendor=0x0718 product=0x0081 devclass=0x00 devsubclass=0x00 release=0x0103 sernum="14925B00" intclass=0x08 intsubclass=0x06 dev.umass.1.%parent: uhub4 Following added to /etc/devd.conf: # Imation Flash Drive, class 0/0, rev 2.00/1.03, addr 3 attach 200 { match "vendor" "0x0718"; match "product" "0x0081"; match "serial" "14925B00"; action "touch /tmp/Imation-Flash-Drive-detected"; }; Could I know why the flash drive is not detected on attach? Kind regards Sagara From mister.olli at googlemail.com Thu Jul 9 15:27:09 2009 From: mister.olli at googlemail.com (Mister Olli) Date: Thu Jul 9 15:27:32 2009 Subject: Secure apache with php In-Reply-To: <20090709160550.40c9f6c4@belegost.nicoelro.net> References: <20090709113534.43373278@belegost.nicoelro.net> <20090709122212.658bcc24@belegost.nicoelro.net> <1247136597.2653.15.camel@frodon.be-bif.ulb.ac.be> <20090709134329.0f86c78b@belegost.nicoelro.net> <1247142971.2653.19.camel@frodon.be-bif.ulb.ac.be> <20090709160550.40c9f6c4@belegost.nicoelro.net> Message-ID: <1247153201.4645.2.camel@phoenix.blechhirn.net> Hi, I'm currently using mpm-itk (on debian, but should be replaced with freebsd soon ;-)). I'm quite happy with the solution as it's easy to setup many user accounts for web without ugly access right stuff and all that. apache never made a problem after setup :-) unfortunately I've never had the time to do futher hardening for mpm-itk in special (only 'standard' apache/php hardening is applied). but as I'm planning to keep this setup and extend userbase after move to freebsd I'm curious what your results will be. Regards, --- Mr. Olli On Thu, 2009-07-09 at 16:05 +0200, Nicolas Letellier wrote: > Le Thu, 09 Jul 2009 14:36:11 +0200, > Julien Cigar a ?crit : > > > > When I tested php in cgi, performances were bad. That's why, > > > php_mod is better (in my case != > > > > > > > It's not CGI, it's FastCGI. > > There is no performance loss if you use an opcode cacher (like > > x-cache). > > > And is anyboy use mpm-itk ? > I'm interested more with this solution than another php fix (like > safe_mode, open_basedir or cgi/fastcie). > From eagletree at hughes.net Thu Jul 9 15:30:10 2009 From: eagletree at hughes.net (Chris) Date: Thu Jul 9 15:30:17 2009 Subject: FreeBSD for a high school class? (long) In-Reply-To: <20090709151000.GF25876@gizmo.acns.msu.edu> References: <368E57AC-8366-46EA-BE1A-5EBB07B64EDC@hughes.net> <20090709151000.GF25876@gizmo.acns.msu.edu> Message-ID: On Jul 9, 2009, at 8:10 AM, Jerry McAllister wrote: > On Thu, Jul 09, 2009 at 07:58:21AM -0700, Chris wrote: > -> > -> 2. Am I too lean on the specs for the free AMD/Intel boxes we > -> are requesting parents cough up? > > Well, I don't think that you need 256 GB of ram. Probably > less than 1 GB, in fact maybe 256 MB will be plenty. 10 GB > of hard disk might be a little tight, but if you aren't doing > databases and making big permanent sites, but only just small > teaching web pages, then you should get by. > Doh! All references to RAM in my post should have been MB, not GB. I'm too old to type anymore. > ////jerry > From brentb at beanfield.com Thu Jul 9 15:52:24 2009 From: brentb at beanfield.com (Brent Bloxam) Date: Thu Jul 9 15:52:31 2009 Subject: FreeBSD for a high school class? (long) In-Reply-To: <368E57AC-8366-46EA-BE1A-5EBB07B64EDC@hughes.net> References: <368E57AC-8366-46EA-BE1A-5EBB07B64EDC@hughes.net> Message-ID: <4A561231.3080904@beanfield.com> Chris wrote: > The course is HTML. Mouse button operations should be close, > a window that gives a simple file directory and a text editor that > doesn't require learning a character command set would be the > target. Hi Chris, Maybe look at using Xfce, which is a lightweight window manager based on GTK+ and is available in the ports tree and as a package (from the machine specs, I assume you'll be installing packages). The theme you use for it will impact performance as well, but the default should be fine. For text-editing you can try Mousepad (http://www.xfce.org/projects/mousepad/) and Thunar (http://www.xfce.org/projects/thunar/) for file management From gpeel at thenetnow.com Thu Jul 9 16:01:34 2009 From: gpeel at thenetnow.com (Grant Peel) Date: Thu Jul 9 16:01:42 2009 Subject: Port 6139 Wierdness Message-ID: <860217801A3D481A921B47598CC29E19@GRANT> Hi all, Not sure where else I could post this .... On one server, I am seeing massive numbers of connections from many different addresses to 2 different ips on port 6139. Odd thing, the CPS and Size of the data is very very small. Did many googles, found nothing. Anyone seen this before? Right now I am blocking them with IPFW. -Grant From amvandemore at gmail.com Thu Jul 9 16:02:55 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Thu Jul 9 16:03:08 2009 Subject: FreeBSD for a high school class? (long) In-Reply-To: <4A561231.3080904@beanfield.com> References: <368E57AC-8366-46EA-BE1A-5EBB07B64EDC@hughes.net> <4A561231.3080904@beanfield.com> Message-ID: <6201873e0907090902g56bf9eehb7cef5419dff1bdc@mail.gmail.com> On Thu, Jul 9, 2009 at 10:52 AM, Brent Bloxam wrote: > Chris wrote: > > The course is HTML. Mouse button operations should be close, >> a window that gives a simple file directory and a text editor that >> doesn't require learning a character command set would be the >> target. >> > > > Hi Chris, > > Maybe look at using Xfce, which is a lightweight window manager based on > GTK+ and is available in the ports tree and as a package (from the machine > specs, I assume you'll be installing packages). The theme you use for it > will impact performance as well, but the default should be fine. > > For text-editing you can try Mousepad ( > http://www.xfce.org/projects/mousepad/) and Thunar ( > http://www.xfce.org/projects/thunar/) for file management > > I agree xfce is a good choice. Another thing you may wish to consider is a IDE to develop in. As someone already mentioned, learning vi is invaluable, but sometimes a gui editor is better suited to the task. My newest favorite is Netbeans. It's compatible with a host of different programming and markup languages including html. This will give you a nice gui with syntax highlighting and many other useful features. Most could also be found on vi/vim, but I suspect your students will have an easier time on Netbeans. It wouldn't be snappy on the hardware you mentioned but should be useable. Hopefully you have a better system to build packages on. -- Adam Vande More From sonicy at otenet.gr Thu Jul 9 16:10:10 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Thu Jul 9 16:10:18 2009 Subject: FreeBSD for a high school class? (long) In-Reply-To: <4A561231.3080904@beanfield.com> References: <368E57AC-8366-46EA-BE1A-5EBB07B64EDC@hughes.net> <4A561231.3080904@beanfield.com> Message-ID: <4A561657.4090602@otenet.gr> Brent Bloxam wrote: > Chris wrote: > >> The course is HTML. Mouse button operations should be close, >> a window that gives a simple file directory and a text editor that >> doesn't require learning a character command set would be the >> target. > > > Hi Chris, > > Maybe look at using Xfce, which is a lightweight window manager based > on GTK+ and is available in the ports tree and as a package (from the > machine specs, I assume you'll be installing packages). The theme you > use for it will impact performance as well, but the default should be > fine. > > For text-editing you can try Mousepad > (http://www.xfce.org/projects/mousepad/) and Thunar > (http://www.xfce.org/projects/thunar/) for file management > I second XFCE. I've built similar FreeBSD machines and it will work just fine with 256MB RAM. You may also use some other lightweight manager (fluxbox and the like) although these will not provide needed features (like a file manager) unless you install additional ports. To get a more "Mac OSX" look you may wish to install x11/wbar. As for text editing, I find www/bluefish very nice for HTML. It supports a number of nice features for HTML and is really very easy to use. Since you will be installing lots of underpowered machines, I would suggest you install one and use dump / restore to copy the installation to the other disks. Have a try with my custom XFCE-based DVD at http://freebsd-custom.wikidot.com From rsmith at xs4all.nl Thu Jul 9 16:24:44 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Thu Jul 9 16:24:51 2009 Subject: devd configuration questions In-Reply-To: <20090709080200.3456.qmail@us1.tomahawkonline.net> References: <20090709080200.3456.qmail@us1.tomahawkonline.net> Message-ID: <20090709162441.GA63043@slackbox.xs4all.nl> On Thu, Jul 09, 2009 at 03:02:00AM -0500, Sagara Wijetunga wrote: > Hi FreeBSD community > > I have few questions regarding devd configuration: > > 1. What is the difference between "attach" or "notify" and when to use them? > 2. What are the possible values for "class" in "attach" and "detach" > statements? > > 3. What are the possible values for "subdevice" in "attach" and "detach" > statements? > > 4. What are the possible values for "system", "subsystem", "type" in > "notify" statement? This is all covered in the manual page for devd.conf. 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: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090709/8ba4702e/attachment.pgp From mailing at gaturkey.com Thu Jul 9 16:58:54 2009 From: mailing at gaturkey.com (Global Access Travel) Date: Thu Jul 9 16:59:01 2009 Subject: Fam Trip to TURKEY for $999 (Refundable) Message-ID: <21a84e0dbaf9369e65af00c513f56885@localhost.localdomain> [http://www.turkeycallingus.com/] Exclusive Boutique Enterprise Turkey FAM ISTANBUL - CAPPADOCIA - KONYA - ANTALYA - PAMUKKALE - KUSADASI 9 Nights / 11 Days $999 ? 5 Continents ? 150 Countries Worldwide ? 100.000 Hotels ? Instant Confirmation [http://www.turkeycallingus.com] [http://www.turkeycallingus.com/turkey-fam/TurkeyFam.htm] [http://www.turkeycallingus.com/turkey-fam/TurkeyFamItinerary.htm] [http://www.turkeycallingus.com/turkey-fam/TurkeyFamRates.htm] [http://www.turkeycallingus.com/turkey-fam/TurkeyFamServices.htm] [http://www.turkeycallingus.com/turkey-fam/TurkeyFamHotels.htm] Global Access proudly presents the biggest FAM Trip of the year, teaming with Turkish Airlines and Turkish Ministry of Tourism and Culture. As the host of ASTA IDE 2010 and European Capital of Culture 2010, Turkey is likely to be the one of the most popular destinations in 2010. Those who act early and get to know this beautiful country better will be able to give a better insight to their clients and secure more bookings. Our specially selected travel agents will stay in best hotels in each town, be escorted by professional, top tour guides, taste exceptionally good examples of Turkish Cuisine, and get to know Turkey in elegant way. Join us for a luxury FAM adventure and be our special guest in our beautiful country! COMBINE WITH World Travel Market! One of the biggest travel shows of Europe and the world, WTM, will be held in London between 9-12 November 2009. Combine your London trip with Turkey and benefit from great agent rates to see one of the most popular tourist destinations from USA and Canada. WE WILL REFUND YOUR MONEY BACK ! Upon booking your 20th passenger on a Global Access Travel Service, we will refund you the whole tour price that you?ve paid for the FAM Trip. If you book 20 or more people on a Global Access Travel Service before the FAM Trip starts, then you will travel for free! About Us Global Access Travel (GA) was founded in Turkey by a group of tourism professionals and marketing experts who recognized the needs to offer online services for accommodations, car rentals, and other travel related services to travel agencies. Through its sophisticated online reservation services, GA offers more than 100,000 hotels, motels, resorts, clubs and apartments all around the world. Other services of GA include car rentals, transfers, special tours, luxury services, city breaks, flight tickets and other services such as tailor made tour packages, exhibition organizations, incentives and other travel related services around the globe at competitive rates. [http://www.TurkeyCallingus.com] www.TurkeyCalling.us [http://www.turkeycallingus.com/turkey-calling-contact-us.htm] Global Access Travel Tel: +90 212 258 58 29 Fax: +90 212 258 34 47 E-mail : [mailto:incoming@gaturkey.com] incoming@gaturkey.com Website: [http://www.turkeycallingus.com/] www.TurkeyCalling.Us This message was sent by: FamTrit turkey, N?zhetiye Cad., istanbul, besiktas 34357, Turkey To be removed click here: http://app.icontact.com/icp/mmail-mprofile.pl?r=47131041&l=82243&s=R179&m=578549&c=305227 Forward to a friend: http://app.icontact.com/icp/sub/forward?m=578549&s=47131041&c=R179&cid=305227 From rsmith at xs4all.nl Thu Jul 9 16:59:31 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Thu Jul 9 16:59:48 2009 Subject: Why this flash drive not detected in devd? In-Reply-To: <4A560B28.6080705@tomahawk.com.sg> References: <4A560B28.6080705@tomahawk.com.sg> Message-ID: <20090709165927.GB63043@slackbox.xs4all.nl> On Thu, Jul 09, 2009 at 11:22:16PM +0800, Sagara Wijetunga wrote: > Hi FreeBSD community > > This is FreeBSD 7.2 on i386. > > sysctl -a | grep dev.umass > dev.umass.1.%desc: Imation Flash Drive, class 0/0, rev 2.00/1.03, addr 3 > dev.umass.1.%driver: umass > dev.umass.1.%location: port=6 interface=0 > dev.umass.1.%pnpinfo: vendor=0x0718 product=0x0081 devclass=0x00 > devsubclass=0x00 release=0x0103 sernum="14925B00" intclass=0x08 > intsubclass=0x06 > dev.umass.1.%parent: uhub4 > > Following added to /etc/devd.conf: > # Imation Flash Drive, class 0/0, rev 2.00/1.03, addr 3 > attach 200 { > match "vendor" "0x0718"; > match "product" "0x0081"; > match "serial" "14925B00"; > action "touch /tmp/Imation-Flash-Drive-detected"; > }; > > > Could I know why the flash drive is not detected on attach? The USB subsystem isn't currently equipped to notify devd (technically, the devctl_notify function isn't used in the USB stack). So the only notification you'll get is when devfs creates a device. Since there is no predictable link between a USB device and a disk device, info from the USB stack would be less then usefull. You can check this by reading from /dev/devctrl (when devd is not running, since this device can only be opened by one program at a time) just after you plugged in the device. For my usb thumbdrive I get: cat /dev/devctl !system=DEVFS subsystem=CDEV type=CREATE cdev=pass2 !system=DEVFS subsystem=CDEV type=CREATE cdev=da0 !system=DEVFS subsystem=CDEV type=CREATE cdev=da0s1 !system=DEVFS subsystem=CDEV type=CREATE cdev=msdosfs/RFS1 While sysctl gives: dev.umass.0.%desc: vendor 0x3538 USB Mass Storage Device, class 0/0, rev 2.00/1.00, addr 2 dev.umass.0.%driver: umass dev.umass.0.%location: port=4 interface=0 dev.umass.0.%pnpinfo: vendor=0x3538 product=0x0042 devclass=0x00 devsubclass=0x00 release=0x0100 sernum="000000000004E1" intclass=0x08 intsubclass=0x06 dev.umass.0.%parent: uhub4 So for now, you'll have to match on the creation of da* devices, or labels if you use those. 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: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090709/f2752a85/attachment.pgp From mailing at gaturkey.com Thu Jul 9 16:59:58 2009 From: mailing at gaturkey.com (Global Access Travel) Date: Thu Jul 9 17:00:11 2009 Subject: Fam Trip to TURKEY for $999 (Refundable) Message-ID: <39320fbe1de5d8ce0ab923727989b7a7@localhost.localdomain> [http://www.turkeycallingus.com/] Exclusive Boutique Enterprise Turkey FAM ISTANBUL - CAPPADOCIA - KONYA - ANTALYA - PAMUKKALE - KUSADASI 9 Nights / 11 Days $999 ? 5 Continents ? 150 Countries Worldwide ? 100.000 Hotels ? Instant Confirmation [http://www.turkeycallingus.com] [http://www.turkeycallingus.com/turkey-fam/TurkeyFam.htm] [http://www.turkeycallingus.com/turkey-fam/TurkeyFamItinerary.htm] [http://www.turkeycallingus.com/turkey-fam/TurkeyFamRates.htm] [http://www.turkeycallingus.com/turkey-fam/TurkeyFamServices.htm] [http://www.turkeycallingus.com/turkey-fam/TurkeyFamHotels.htm] Global Access proudly presents the biggest FAM Trip of the year, teaming with Turkish Airlines and Turkish Ministry of Tourism and Culture. As the host of ASTA IDE 2010 and European Capital of Culture 2010, Turkey is likely to be the one of the most popular destinations in 2010. Those who act early and get to know this beautiful country better will be able to give a better insight to their clients and secure more bookings. Our specially selected travel agents will stay in best hotels in each town, be escorted by professional, top tour guides, taste exceptionally good examples of Turkish Cuisine, and get to know Turkey in elegant way. Join us for a luxury FAM adventure and be our special guest in our beautiful country! COMBINE WITH World Travel Market! One of the biggest travel shows of Europe and the world, WTM, will be held in London between 9-12 November 2009. Combine your London trip with Turkey and benefit from great agent rates to see one of the most popular tourist destinations from USA and Canada. WE WILL REFUND YOUR MONEY BACK ! Upon booking your 20th passenger on a Global Access Travel Service, we will refund you the whole tour price that you?ve paid for the FAM Trip. If you book 20 or more people on a Global Access Travel Service before the FAM Trip starts, then you will travel for free! About Us Global Access Travel (GA) was founded in Turkey by a group of tourism professionals and marketing experts who recognized the needs to offer online services for accommodations, car rentals, and other travel related services to travel agencies. Through its sophisticated online reservation services, GA offers more than 100,000 hotels, motels, resorts, clubs and apartments all around the world. Other services of GA include car rentals, transfers, special tours, luxury services, city breaks, flight tickets and other services such as tailor made tour packages, exhibition organizations, incentives and other travel related services around the globe at competitive rates. [http://www.TurkeyCallingus.com] www.TurkeyCalling.us [http://www.turkeycallingus.com/turkey-calling-contact-us.htm] Global Access Travel Tel: +90 212 258 58 29 Fax: +90 212 258 34 47 E-mail : [mailto:incoming@gaturkey.com] incoming@gaturkey.com Website: [http://www.turkeycallingus.com/] www.TurkeyCalling.Us This message was sent by: FamTrit turkey, N?zhetiye Cad., istanbul, besiktas 34357, Turkey To be removed click here: http://app.icontact.com/icp/mmail-mprofile.pl?r=47129463&l=82243&s=6XVJ&m=578549&c=305227 Forward to a friend: http://app.icontact.com/icp/sub/forward?m=578549&s=47129463&c=6XVJ&cid=305227 From rsmith at xs4all.nl Thu Jul 9 17:20:07 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Thu Jul 9 17:20:28 2009 Subject: Wine on FBSD-7.0 amd64. Does it run? In-Reply-To: <6201873e0907082310m14ca17c3r963efe4f682ce380@mail.gmail.com> References: <6201873e0907082310m14ca17c3r963efe4f682ce380@mail.gmail.com> Message-ID: <20090709172004.GC63043@slackbox.xs4all.nl> On Thu, Jul 09, 2009 at 01:10:58AM -0500, Adam Vande More wrote: > On Wed, Jul 8, 2009 at 9:32 AM, kxorrao wrote: > > > What port of wine should I download in order to play 32bit .exe > > files on FreeBSD-7.0 amd64? Linux wine or Wine? > > > > > It's not a terribly big port. Compile it and check. Generally if there are > problems with port on a specific platform, it will not build. Use regular > wine/avoid emulators within emulators if at all possible. The wine port only works on i386: # grep ARCHS /usr/ports/emulators/wine/Makefile ONLY_FOR_ARCHS= i386 If I understood correctly, the problem is that wine is a 32-bit program. See http://wiki.winehq.org/WineOn64bit It would need 32-bit versions of all the libraries that it uses. The FreeBSD ports system doesn't currently isn't equipped to handle this. Not that this would be impossible, but nobody has bothered. The concensus seems (and rightly so IMHO) to be that development effort is better spent cleaning up 32-bit programs so they can run on amd64 natively than providing a 32-bit infrastructure on amd64 when you can easily run 32-bit programs on FreeBSD i386 if necessary. It is possible to use a 32-bit jail on amd64. If you install the ports tree in that jail you could perhaps build wine? I haven't tried this, though. 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: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090709/804adbff/attachment.pgp From sfourman at gmail.com Thu Jul 9 17:29:36 2009 From: sfourman at gmail.com (Sam Fourman Jr.) Date: Thu Jul 9 17:29:42 2009 Subject: Wine on FBSD-7.0 amd64. Does it run? In-Reply-To: <20090709172004.GC63043@slackbox.xs4all.nl> References: <6201873e0907082310m14ca17c3r963efe4f682ce380@mail.gmail.com> <20090709172004.GC63043@slackbox.xs4all.nl> Message-ID: <11167f520907091029u4e7c8b66i11c06794cdc7d4be@mail.gmail.com> > The wine port only works on i386: > > # grep ARCHS /usr/ports/emulators/wine/Makefile > ONLY_FOR_ARCHS= i386 > > If I understood correctly, the problem is that wine is a 32-bit > program. See http://wiki.winehq.org/WineOn64bit > > It would need 32-bit versions of all the libraries that it uses. The > FreeBSD ports system doesn't currently isn't equipped to handle > this. Not that this would be impossible, but nobody has bothered. I know that is must be possible, 64bit Linux's run 32bit wine apps. Gentoo Linux and OpenSuse amd64 editions, work with wine I use one of these two to Play World of Warcraft on my notebook. I Would use FreeBSD but suspend resume on i386 has issues, and no 64bit nvidia, so I am stuck with Linux on my Laptop for the moment. Sam Fourman Jr. From freebsd at edvax.de Thu Jul 9 19:11:19 2009 From: freebsd at edvax.de (Polytropon) Date: Thu Jul 9 19:11:27 2009 Subject: FreeBSD for a high school class? (long) In-Reply-To: <368E57AC-8366-46EA-BE1A-5EBB07B64EDC@hughes.net> References: <368E57AC-8366-46EA-BE1A-5EBB07B64EDC@hughes.net> Message-ID: <20090709211108.7880e5aa.freebsd@edvax.de> On Thu, 9 Jul 2009 07:58:21 -0700, Chris wrote: > 1. Taking the specs into account, what is the window manager that > will provide the closest match to the Apple desktop for mouse ops, > browsing files/directories, and editing text files. I suppose I should > add running Firefox (or a reasonable similar browser that will > render HTML and execute Javascript identically). Maybe XFCE 4 is a good choice: http://xubuntublog.wordpress.com/2008/02/15/design-your-own-desktop-with-xfce-44-part-2/ -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ... From herbert.raimund at gmx.net Thu Jul 9 20:39:28 2009 From: herbert.raimund at gmx.net (herbs) Date: Thu Jul 9 20:39:36 2009 Subject: Xorg - how can I configure this thing?? Message-ID: <20090709202304.GA29940@greencat.langhans.com.pl> Hi Daemons, I am stuck with a fresh installation, FreeBSD 7.2 with the usual X Server environment.. Usually I invoke xorgconfig to set up the hardware I have, like mouse driver, monitor frequency, resolution and so on. The new X server 1.6.0 seems to have some sort of autoconfig. I compiled the /usr/ports/X11-wm/fluxbox - it installs the X Server with Fluxbox. Then I type startx. The twm windowmanager shows up, but accepts no input. Mousepointer stuck, no key input. I cannot even create a /etx/X11/xorg.conf file by invoking ./xorgconfig .. What am I doing wrong? Can anybody give me a hint in the right direction? Thanks! herb langhans -- ******* Herbert Langhans, Warschau ******* Sprachtraining Langhans ******* http://www.langhans.com.pl ******* herbert at langhans.com.pl ******* NIP 526-229-61-51 ******* Regon 014911759 ******* Tel. 603 341 441 From glen.j.barber at gmail.com Thu Jul 9 20:44:18 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Thu Jul 9 20:44:31 2009 Subject: Xorg - how can I configure this thing?? In-Reply-To: <20090709202304.GA29940@greencat.langhans.com.pl> References: <20090709202304.GA29940@greencat.langhans.com.pl> Message-ID: <4ad871310907091344o40ce04f1g4835f3de8ef1cbd0@mail.gmail.com> On Thu, Jul 9, 2009 at 4:23 PM, herbs wrote: > Hi Daemons, > I am stuck with a fresh installation, FreeBSD 7.2 with the usual X Server environment.. > > Usually I invoke xorgconfig to set up the hardware I have, like mouse > driver, monitor frequency, resolution and so on. > > The new X server 1.6.0 seems to have some sort of autoconfig. I compiled > the /usr/ports/X11-wm/fluxbox - it installs the X Server with Fluxbox. > > Then I type startx. > > The twm windowmanager shows up, but accepts no input. Mousepointer > stuck, no key input. > > I cannot even create a /etx/X11/xorg.conf file by invoking ./xorgconfig .. > > What am I doing wrong? Can anybody give me a hint in the right > direction? > Run 'X -configure' then add this to the end: Section "ServerFlags" option "AutoAddDevices" "off" option "AllowEmptyInput" "off" EndSection You can test with 'X -config /root/xorg.conf.new' If it works, copy /root/xorg.conf.new to /etc/X11/xorg.conf HTH -- Glen Barber From djuatdelta at gmail.com Thu Jul 9 20:44:21 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Thu Jul 9 20:44:32 2009 Subject: Xorg - how can I configure this thing?? In-Reply-To: <20090709202304.GA29940@greencat.langhans.com.pl> References: <20090709202304.GA29940@greencat.langhans.com.pl> Message-ID: See 5.4.2 Configuring X11 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-config.html From andrewlylegould at gmail.com Thu Jul 9 20:51:45 2009 From: andrewlylegould at gmail.com (Andrew Gould) Date: Thu Jul 9 20:51:52 2009 Subject: Xorg - how can I configure this thing?? In-Reply-To: <20090709202304.GA29940@greencat.langhans.com.pl> References: <20090709202304.GA29940@greencat.langhans.com.pl> Message-ID: On Thu, Jul 9, 2009 at 3:23 PM, herbs wrote: > Hi Daemons, > I am stuck with a fresh installation, FreeBSD 7.2 with the usual X Server environment.. > > Usually I invoke xorgconfig to set up the hardware I have, like mouse > driver, monitor frequency, resolution and so on. > > The new X server 1.6.0 seems to have some sort of autoconfig. I compiled > the /usr/ports/X11-wm/fluxbox - it installs the X Server with Fluxbox. > > Then I type startx. > > The twm windowmanager shows up, but accepts no input. Mousepointer > stuck, no key input. > > I cannot even create a /etx/X11/xorg.conf file by invoking ./xorgconfig .. > > What am I doing wrong? Can anybody give me a hint in the right > direction? > > Thanks! > herb langhans > Herb, 1. Get to a terminal (ctl-alt-F2 should get you there). 2. Log in as root. 3. Execute: 'Xorg -config' This command should probe your hardware and create a sample xorg.conf file ("xorg.conf.new", I think) in root's home directory. 4. Using your favorite console-based editor, edit the new xorg.conf.new file. In the "ServerLayout" section, add the following: Option "AllowEmptyInput" "false" 5. Save the xorg.conf.new file to /etc/X11/xorg.conf 6. Make sure the following 2 lines are in /etc/rc.conf: hald_enable="YES" dbus_enable="YES" 7. Reboot the computer and test X. Best of luck, Andrew From eagletree at hughes.net Thu Jul 9 21:38:12 2009 From: eagletree at hughes.net (Chris) Date: Thu Jul 9 21:38:19 2009 Subject: FreeBSD for a high school class? (long) In-Reply-To: <368E57AC-8366-46EA-BE1A-5EBB07B64EDC@hughes.net> References: <368E57AC-8366-46EA-BE1A-5EBB07B64EDC@hughes.net> Message-ID: <603C847A-0EA8-45B5-94D9-447872448596@hughes.net> I'm going to top post this because it's not replying to my post. Thanks for the numerous responses on-list and the many others that came off list. I'm going to synopsize what I've received. I'll respond to the questions asked too. I think I'm good to go though and wanted to summarize for the record. XFCE seems to be the consensus with 2 KDE recommendations. One additional suggestion was to use PCBSD or Freesbie. That might make sense but I'm an old dog and have been using the standard FreeBSD for a lot of years. I will fire XFCE up on my test box as soon as I can source upgrade it (I think it's living at 6.2). Disk-wise, the 10GB was questioned. Probably not an issue, I have a few old 40GB drives laying around if a machine comes with less. I was noting a 1999 Compaq came stock with 30GB so it may not be an issue. I adjusted the spec to 20GB. 256MB appears to be acceptable. Only have one computer volunteered thus far at that level, everything is 512 to 2G. Amazing what people have to give up on when running windows ;-). On having apache: It's there to let students see their supplied products work in what looks like the real website for the program they are in. The real site has a superstructure of PERL that handles authentication and calls the many pages they will be providing. The final will be for them to provide real content for given classes in the program and develop each classes webpage. If they have a server running, I can mock the real site without giving them access to the live FreeBSD server (bad idea with a group of mischievous kids!). httpd shouldn't be too much of a drain. vi? Yes it would be great to teach, but a trimester is short and half the kids would be left behind. The head of the program was considering an open-source OS install class for later. That's where vi might come in. Different class, different goals, fewer students will sign up. Installing from ports? Yes, that would be my goal. Just looked on one of my servers and I see XFCE4 in ports so looks good. OSX appearance? Thanks for those suggestions, it's cool that people have developed such but the actual appearance isn't that important. Just same level of application such that class time isn't wasted on differences in platforms. We've already had more systems volunteered than I expected. Ideally, we can forget the Macs altogether. In the last 3 hours, 6 acceptable machines have been volunteered. By fall I imagine we can have 12 and cap registration at that. All on FreeBSD. Thanks very much for all the help. Maybe we'll spawn a new generation of developers ;-). On Jul 9, 2009, at 7:58 AM, Chris wrote: > Sorry for the OT-ness of this. I only work with FreeBSD for servers. > Have used it as the sole systems for a business since the late 1900s. > Twice I've put up X-Windows machines but we never bothered to > use them for one reason or another. Now my son's school is short > computers for a High School HTML class I'm going to help teach > this fall. The official teacher is excited about FreeBSD since we can > use old equipment that is donated. > > There are two issues. We will not get enough FreeBSD systems up > to cover all kids in the class. Some will have to use the 10.4/3 OS-X > G3s we already have. For the remainder of systems, I've told them > I need a minimum 256GB Ram, 500+Mhz, ~10GB hard drive. I will > put Apache on both types of boxes so they have a testing platform, > hope to put firefox on each so they have a consistent browser. The > confusing thing will be Finder and Textedit, versus whatever I use for > a window manager on the FreeBSD systems. > > The two questions are: > > 1. Taking the specs into account, what is the window manager that > will provide the closest match to the Apple desktop for mouse ops, > browsing files/directories, and editing text files. I suppose I should > add running Firefox (or a reasonable similar browser that will > render HTML and execute Javascript identically). > > I don't mean cosmetically, just enough that there isn't too much > needing to teach a window manager. Finder is relatively invisible > from a teaching standpoint as is Textedit, Firefox is going to be > reasonably standard (this is going to teach HTML standards, not > how to use windowed drag and drop page generation products, > they will be using a text editor and working with raw HTML, CSS > and JavaScript). But what I don't want to be doing is having some > learning vi (even though if this were an advanced class, that is > precisely what I'd expect ;-)), while others are using textedit. > The course is HTML. Mouse button operations should be close, > a window that gives a simple file directory and a text editor that > doesn't require learning a character command set would be the > target. > > 2. Am I too lean on the specs for the free AMD/Intel boxes we > are requesting parents cough up? > > The district sadly is being forced to go to windows by the > state, and now only has these old antique Macs > free and has no Intel/AMD boxes. These will all come from > parents of the program and leverage the fact that people > like to replace perfectly good boxes because of spyware on > windows. I personally still have boxes with less than 100GB > RAM and sub-500 mhz processors running 6.x (and I think 7.0) > but I use those as firewalls, I've never used a window manager > so perhaps my view of FreeBSDs efficiency is optimistic. Are > the specs too low for *some* X environment? > > Constraint: I already broached the subject of putting FreeBSD > on the G3s using the PowerPC version. Unfortunately, the 6 > Apples are used by another class on OS-X. > _______________________________________________ > 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 wblock at wonkity.com Thu Jul 9 21:38:19 2009 From: wblock at wonkity.com (Warren Block) Date: Thu Jul 9 21:38:28 2009 Subject: Xorg - how can I configure this thing?? In-Reply-To: <4ad871310907091344o40ce04f1g4835f3de8ef1cbd0@mail.gmail.com> References: <20090709202304.GA29940@greencat.langhans.com.pl> <4ad871310907091344o40ce04f1g4835f3de8ef1cbd0@mail.gmail.com> Message-ID: On Thu, 9 Jul 2009, Glen Barber wrote: > > Run 'X -configure' then add this to the end: > > Section "ServerFlags" > option "AutoAddDevices" "off" > option "AllowEmptyInput" "off" > EndSection The first option is unnecessary in most cases. The second is only needed if you want to configure mouse and keyboard in the xorg.conf file instead of automatically with hal. And either or both lines can go in the ServerLayout section, an additional ServerFlags section is not needed. -Warren Block * Rapid City, South Dakota USA From wblock at wonkity.com Thu Jul 9 21:43:43 2009 From: wblock at wonkity.com (Warren Block) Date: Thu Jul 9 21:43:49 2009 Subject: Xorg - how can I configure this thing?? In-Reply-To: References: <20090709202304.GA29940@greencat.langhans.com.pl> Message-ID: On Thu, 9 Jul 2009, Andrew Gould wrote: > > 1. Get to a terminal (ctl-alt-F2 should get you there). > > 2. Log in as root. > > 3. Execute: 'Xorg -config' > This command should probe your hardware and create a sample > xorg.conf file ("xorg.conf.new", I think) in root's home directory. > > 4. Using your favorite console-based editor, edit the new xorg.conf.new file. > In the "ServerLayout" section, add the following: > Option "AllowEmptyInput" "false" > > 5. Save the xorg.conf.new file to /etc/X11/xorg.conf > > 6. Make sure the following 2 lines are in /etc/rc.conf: > hald_enable="YES" > dbus_enable="YES" Step 4 says "ignore HAL for input configuration, use mouse and keyboard config from xorg.conf" and step 6 sets up HAL. It's best to pick one or the other. The Handbook uses the hal version, making step 4 is unnecessary. -Warren Block * Rapid City, South Dakota USA From glen.j.barber at gmail.com Thu Jul 9 21:52:36 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Thu Jul 9 21:52:43 2009 Subject: Xorg - how can I configure this thing?? In-Reply-To: References: <20090709202304.GA29940@greencat.langhans.com.pl> <4ad871310907091344o40ce04f1g4835f3de8ef1cbd0@mail.gmail.com> Message-ID: <4ad871310907091452j626a3c27w3ef2876d66f5041e@mail.gmail.com> Hi, Warren On Thu, Jul 9, 2009 at 5:37 PM, Warren Block wrote: > On Thu, 9 Jul 2009, Glen Barber wrote: >> >> Run 'X -configure' then add this to the end: >> >> Section "ServerFlags" >> ? ? ? ?option ?"AutoAddDevices" ? ? ? ?"off" >> ? ? ? ?option ?"AllowEmptyInput" ? ? ? "off" >> EndSection > > The first option is unnecessary in most cases. > Most cases, yes. As far as I know, it won't _hurt_ if it is included, but not necessary. > The second is only needed if you want to configure mouse and keyboard in the > xorg.conf file instead of automatically with hal. ?And either or both lines > can go in the ServerLayout section, an additional ServerFlags section is not > needed. > True. I file this in the "works for me" category. -- Glen Barber From herbert.raimund at gmx.net Thu Jul 9 21:53:26 2009 From: herbert.raimund at gmx.net (herbs) Date: Thu Jul 9 21:55:08 2009 Subject: Xorg - how can I configure this thing?? In-Reply-To: References: <20090709202304.GA29940@greencat.langhans.com.pl> <4ad871310907091344o40ce04f1g4835f3de8ef1cbd0@mail.gmail.com> Message-ID: <20090709215624.GA30929@greencat.langhans.com.pl> Glen, Daniel, Andrew, Warren, thanks a ton - will try your tricks carefully and try not to wreck the installation. Is quite a science, the 'easy automatic configuration'. I let you know tomorrow how it worked out Cheers herb langhans -- ******* Herbert Langhans, Warschau ******* Sprachtraining Langhans ******* http://www.langhans.com.pl ******* herbert at langhans.com.pl ******* NIP 526-229-61-51 ******* Regon 014911759 ******* Tel. 603 341 441 From gentoo at tmgcon.com Thu Jul 9 22:49:21 2009 From: gentoo at tmgcon.com (Tom Munro Glass) Date: Thu Jul 9 22:49:27 2009 Subject: How to add a slice and partition to a mirror Message-ID: <200907101012.56788.gentoo@tmgcon.com> I have a FreeBSD 7.2 system that had two 37GB mirrored SCSI drives. These contained a single slice filling the disk with separate partitions for swap, /, /var, /usr and /home. Yesterday one of the drives had a catastrophic failure - no problem, the system still worked on one drive as it is supposed to. I have purchased two new 74GB drives because I need more space. With just the working 37GB drive connected, I ran: # gmirror forget gm0 Then I connected one of the new 74GB drives and ran: # gmirror insert gm0 /dev/da1 and the mirror rebuilt itself correctly, but of course only half of the new drive is being used. I've now removed the 37GB drive and run "gmirror forget gm0" again and the system is running on the new half used 74GB drive. How do I define a new slice and partition to fill the second half of this drive? Regards Tom Munro Glass From mexas at bristol.ac.uk Thu Jul 9 22:52:51 2009 From: mexas at bristol.ac.uk (Anton Shterenlikht) Date: Thu Jul 9 22:52:59 2009 Subject: How to add a slice and partition to a mirror In-Reply-To: <200907101012.56788.gentoo@tmgcon.com> References: <200907101012.56788.gentoo@tmgcon.com> Message-ID: <20090709225246.GA91508@mech-cluster238.men.bris.ac.uk> On Fri, Jul 10, 2009 at 10:12:56AM +1200, Tom Munro Glass wrote: > I have a FreeBSD 7.2 system that had two 37GB mirrored SCSI drives. These > contained a single slice filling the disk with separate partitions for swap, > /, /var, /usr and /home. > > Yesterday one of the drives had a catastrophic failure - no problem, the > system still worked on one drive as it is supposed to. I have purchased two > new 74GB drives because I need more space. > > With just the working 37GB drive connected, I ran: > > # gmirror forget gm0 > > Then I connected one of the new 74GB drives and ran: > > # gmirror insert gm0 /dev/da1 > > and the mirror rebuilt itself correctly, but of course only half of the new > drive is being used. > > I've now removed the 37GB drive and run "gmirror forget gm0" again and the > system is running on the new half used 74GB drive. > > How do I define a new slice and partition to fill the second half of this > drive? what is the output of "gpart gm0" ? -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 928 8233 Fax: +44 (0)117 929 4423 From roys1012 at gmail.com Fri Jul 10 04:08:13 2009 From: roys1012 at gmail.com (Roy Stuivenberg) Date: Fri Jul 10 04:08:20 2009 Subject: npviewer.bin Message-ID: <1247198848.1763.46.camel@rs-unix.roycs.nl> Hello, For a while I'm facing this Issue: Firefox seems to hang, and when I look with the command TOP is see npviewer.bin a few times. My processor makes a lot of noise, and after : pkill npviewer.bin, it stops for a while. Laterly I notice the return of npviewer.bin again, so the pkill is not even working anymore. Hopefully there is a better salutation then pkill ?? Freebsd 7.2 stable / gnome2 Regards, Roy. ---------------- 51366 amsroy 1 106 0 388M 30704K CPU1 1 0:17 46.97% npviewer.bin 51373 amsroy 1 64 0 388M 30700K futex 3 0:07 28.96% npviewer.bin 51374 amsroy 1 66 0 388M 30696K futex 2 0:08 25.98% npviewer.bin 51372 amsroy 1 58 0 388M 30700K futex 0 0:06 23.19% npviewer.bin 30255 amsroy 2 -8 0 38364K 15780K piperd 0 0:00 0.39% gnome-terminal ---------------- From glen.j.barber at gmail.com Fri Jul 10 04:31:47 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Fri Jul 10 04:31:53 2009 Subject: npviewer.bin In-Reply-To: <1247198848.1763.46.camel@rs-unix.roycs.nl> References: <1247198848.1763.46.camel@rs-unix.roycs.nl> Message-ID: <4ad871310907092131r34756d2dy4a620c1751f742da@mail.gmail.com> Hi, Roy On Fri, Jul 10, 2009 at 12:07 AM, Roy Stuivenberg wrote: > Hello, > > For a while I'm facing this Issue: Firefox seems to hang, and when I > look with the command TOP is see npviewer.bin a few times. Could be from multiple flash-based web pages. I don't use flash on FreeBSD, so I cannot confirm how npviewer reacts to multiple embedded flash 'objects'. > My processor makes a lot of noise, and after : pkill npviewer.bin, it > stops for a while. It's probably screaming for help. Hopefully you mean the fan though. > Laterly I notice the return of npviewer.bin again, so the pkill is not > even working anymore. > Hopefully there is a better salutation then pkill ?? > Try killall(1). -- Glen Barber From marcus at blazingdot.com Fri Jul 10 04:43:43 2009 From: marcus at blazingdot.com (Marcus Reid) Date: Fri Jul 10 04:43:51 2009 Subject: Additional sa devices? Message-ID: <20090710041702.GA87873@blazingdot.com> Hi, I just plugged in an old SCSI tape changer, and got the following devices: lrwxr-xr-x 1 root wheel 6 Jul 10 03:28 esa0 -> esa0.0 crw-rw---- 1 root operator 0, 96 May 14 05:43 esa0.0 crw-rw---- 1 root operator 0, 102 May 14 05:43 esa0.1 crw-rw---- 1 root operator 0, 105 May 14 05:43 esa0.2 crw-rw---- 1 root operator 0, 108 May 14 05:43 esa0.3 lrwxr-xr-x 1 root wheel 6 Jul 10 03:28 nsa0 -> nsa0.0 crw-rw---- 1 root operator 0, 95 May 14 05:43 nsa0.0 crw-rw---- 1 root operator 0, 101 May 14 05:43 nsa0.1 crw-rw---- 1 root operator 0, 104 May 14 05:43 nsa0.2 crw-rw---- 1 root operator 0, 107 May 14 05:43 nsa0.3 lrwxr-xr-x 1 root wheel 5 Jul 10 03:28 sa0 -> sa0.0 crw-rw---- 1 root operator 0, 94 Jul 10 03:45 sa0.0 crw-rw---- 1 root operator 0, 100 May 14 05:43 sa0.1 crw-rw---- 1 root operator 0, 103 May 14 05:43 sa0.2 crw-rw---- 1 root operator 0, 106 May 14 05:43 sa0.3 crw-rw---- 1 root operator 0, 93 May 14 05:43 sa0.ctl My question is what the difference is between 'sa0.0' and 'sa0.[1-3]'. I can't seem to find it documented anywhere. Thanks, Marcus From on at cs.ait.ac.th Fri Jul 10 04:52:35 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Fri Jul 10 04:52:43 2009 Subject: Additional sa devices? In-Reply-To: <20090710041702.GA87873@blazingdot.com> (message from Marcus Reid on Thu, 9 Jul 2009 21:17:02 -0700) References: <20090710041702.GA87873@blazingdot.com> Message-ID: <200907100452.n6A4qRpH057553@banyan.cs.ait.ac.th> Hi, > My question is what the difference is between 'sa0.0' and 'sa0.[1-3]'. > I can't seem to find it documented anywhere. >From the top of my head, I think I remember devices sa0.[1-3] would represent different compression mode. Bests, Olivier From sagara at tomahawk.com.sg Fri Jul 10 04:59:37 2009 From: sagara at tomahawk.com.sg (Sagara Wijetunga) Date: Fri Jul 10 04:59:44 2009 Subject: Why this flash drive not detected in devd? In-Reply-To: <20090709165927.GB63043@slackbox.xs4all.nl> References: <4A560B28.6080705@tomahawk.com.sg> <20090709165927.GB63043@slackbox.xs4all.nl> Message-ID: <20090710014128.13958.qmail@us1.tomahawkonline.net> Roland Smith writes: > On Thu, Jul 09, 2009 at 11:22:16PM +0800, Sagara Wijetunga wrote: >> Hi FreeBSD community >> >> This is FreeBSD 7.2 on i386. >> >> sysctl -a | grep dev.umass >> dev.umass.1.%desc: Imation Flash Drive, class 0/0, rev 2.00/1.03, addr 3 >> dev.umass.1.%driver: umass >> dev.umass.1.%location: port=6 interface=0 >> dev.umass.1.%pnpinfo: vendor=0x0718 product=0x0081 devclass=0x00 >> devsubclass=0x00 release=0x0103 sernum="14925B00" intclass=0x08 >> intsubclass=0x06 >> dev.umass.1.%parent: uhub4 >> >> Following added to /etc/devd.conf: >> # Imation Flash Drive, class 0/0, rev 2.00/1.03, addr 3 >> attach 200 { >> match "vendor" "0x0718"; >> match "product" "0x0081"; >> match "serial" "14925B00"; >> action "touch /tmp/Imation-Flash-Drive-detected"; >> }; >> >> >> Could I know why the flash drive is not detected on attach? > > The USB subsystem isn't currently equipped to notify devd (technically, > the devctl_notify function isn't used in the USB stack). So the only > notification you'll get is when devfs creates a device. Since there is > no predictable link between a USB device and a disk device, info from > the USB stack would be less then usefull. > > You can check this by reading from /dev/devctrl (when devd is not > running, since this device can only be opened by one program at a time) > just after you plugged in the device. For my usb thumbdrive I get: > > cat /dev/devctl > !system=DEVFS subsystem=CDEV type=CREATE cdev=pass2 > !system=DEVFS subsystem=CDEV type=CREATE cdev=da0 > !system=DEVFS subsystem=CDEV type=CREATE cdev=da0s1 > !system=DEVFS subsystem=CDEV type=CREATE cdev=msdosfs/RFS1 > > While sysctl gives: > > dev.umass.0.%desc: vendor 0x3538 USB Mass Storage Device, class 0/0, rev 2.00/1.00, addr 2 > dev.umass.0.%driver: umass > dev.umass.0.%location: port=4 interface=0 > dev.umass.0.%pnpinfo: vendor=0x3538 product=0x0042 devclass=0x00 devsubclass=0x00 release=0x0100 sernum="000000000004E1" intclass=0x08 intsubclass=0x06 > dev.umass.0.%parent: uhub4 > > So for now, you'll have to match on the creation of da* devices, or > labels if you use those. > Roland, thanks for the reply. Here is my side info on FreeBSD 7.2: cat /dev/devctl ? at port=6 vendor=0x0718 product=0x0081 devclass=0x00 devsubclass=0x00 release=0x0103 sernum="14925B00" on uhub4 +umass1 vendor=0x0718 product=0x0081 devclass=0x00 devsubclass=0x00 release=0x0103 sernum="14925B00" intclass=0x08 intsubclass=0x06 at port=6 interface=0 vendor=0x0718 product=0x0081 devclass=0x00 devsubclass=0x00 release=0x0103 sernum="14925B00" intclass=0x08 intsubclass=0x06 on uhub4 !system=DEVFS subsystem=CDEV type=CREATE cdev=pass4 !system=DEVFS subsystem=CDEV type=CREATE cdev=da4 !system=DEVFS subsystem=CDEV type=CREATE cdev=da4s1 !system=DEVFS subsystem=CDEV type=CREATE cdev=msdosfs/ I have few questions: 1. Above shows info we need available under '?' and '+' lines. What we need is vendor, product and sernum. Can these be accessed in addition to cdev? 2. Is this issue been fixed in FreeBSD 8.0? 3. Can you or someone think of a patch against FreeBSD 7.2 to provide vendor, product and sernum in addition to cdev? It's very big help someone could extend to us to release Tomahawk Desktop without further delay. Best regards Sagara From dhaneshkk at hotmail.com Fri Jul 10 04:59:44 2009 From: dhaneshkk at hotmail.com (dhaneshk k) Date: Fri Jul 10 04:59:53 2009 Subject: Advise for buying a Refurbished machine Message-ID: Fellow BSDians, I need an advice from FreeBSD users. I would like to buy a refurbished notebook from IBM. Model IBM T60 > I heard T60 series are excellent ? Please see this URL and apecifications of the notebook http://www-304.ibm.com/shop/americas/webapp/wcs/stores/servlet/default/ProductDisplay?productId=4611686018425958881&storeId=1&langId=-1&categoryId=2576396&dualCurrId=73&catalogId=-840 I want to know 1) whether this notebook go well with FreeBSD-7.x versions ? I want to use only FreeBSD on this notebook with X window system + Gnome Desktop, 2) please advice me If I buy this machine is that a wise decision or refurbished machines are of high risk ? any thoughts most welcome. Thanks in advance Dhanesh _________________________________________________________________ Live Search extreme As India feels the heat of poll season, get all the info you need on the MSN News Aggregator http://news.in.msn.com/National/indiaelections2009/aggregator/default.aspx From keramida at ceid.upatras.gr Fri Jul 10 05:27:17 2009 From: keramida at ceid.upatras.gr (Giorgos Keramidas) Date: Fri Jul 10 05:27:25 2009 Subject: Advise for buying a Refurbished machine In-Reply-To: (dhaneshk k.'s message of "Fri, 10 Jul 2009 04:59:43 +0000") References: Message-ID: <87y6qxktjg.fsf@kobe.laptop> On Fri, 10 Jul 2009 04:59:43 +0000, dhaneshk k wrote: > Fellow BSDians, > I need an advice from FreeBSD users. I would like to buy a > refurbished notebook from IBM. > > Model IBM T60 > I heard T60 series are excellent ? I'm using FreeBSD/GNOME as my main environment on a Thinkpad X61s, and my experience so far has been excellent. The *only* bit of hardware that doesn't attach to a working driver is the fingerprint reader, which I don't really have a use for. My loader.conf includes a few thinkpad-specific bits, like: # Intel wireless WiFi Link 4965AGN driver options. legal.intel_iwn.license_ack=1 if_iwn_load="YES" # Autoloaded modules. acpi_ibm_load="YES" snd_hda_load="YES" and I disable the internal Bluetooth support in sysctl.conf: # Disable the internal Bluetooth device of Thinkpad X61s by default. dev.acpi_ibm.0.bluetooth=0 but other than these pretty simple configuration options, everything 'Just Works(TM)' :) One last thing that is worth mentioning: It is not obvious from the webpage you pasted if the T60 you are going to buy uses an Intel or ATI VGA chipset. I generally opt for Intel VGA chipsets, when I have a choice. They tend to work slightly better on the laptop's I've seen so far. > I want to know > 1) whether this notebook go well with FreeBSD-7.x versions ? I want > to use only FreeBSD on this notebook with X window system + Gnome > Desktop, This should work fine. > 2) please advice me If I buy this machine is that a wise decision or > refurbished machines are of high risk ? This is something I cannot really answer. I bought mine from a friend, whom I trusted enough. Depending on the source, there is an inherent risk in buying 'used' parts, but it all boils down to how much you trust the seller. From erich at apsara.com.sg Fri Jul 10 05:37:18 2009 From: erich at apsara.com.sg (Erich Dollansky) Date: Fri Jul 10 05:37:25 2009 Subject: Advise for buying a Refurbished machine In-Reply-To: References: Message-ID: <200907101337.11781.erich@apsara.com.sg> Hi, you must cosinder only one thing. I have seen some of them with horizontal lines in their LCD. I could not find out the real cause if it. Just check it before you get it. I think, you should get a good deal as those machines are robust. Erich On 10 July 2009 pm 12:59:43 dhaneshk k wrote: > Fellow BSDians, > > > I need an advice from FreeBSD users. I would like to buy > a refurbished notebook from IBM. > > Model IBM T60 > I heard T60 series are excellent ? > > Please see this URL and apecifications of the notebook > http://www-304.ibm.com/shop/americas/webapp/wcs/stores/servlet/ >default/ProductDisplay?productId=4611686018425958881&storeId=1&l >angId=-1&categoryId=2576396&dualCurrId=73&catalogId=-840 > > I want to know > 1) whether this notebook go well with FreeBSD-7.x versions ? > > I want to use only FreeBSD on this notebook with X window > system + Gnome Desktop, > > 2) please advice me If I buy this machine is that a wise > decision or refurbished machines are of high risk ? > > > any thoughts most welcome. > > Thanks in advance > Dhanesh > > _______________________________________________________________ >__ Live Search extreme As India feels the heat of poll season, > get all the info you need on the MSN News Aggregator > http://news.in.msn.com/National/indiaelections2009/aggregator/d >efault.aspx_______________________________________________ > 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 gentoo at tmgcon.com Fri Jul 10 05:59:31 2009 From: gentoo at tmgcon.com (Tom Munro Glass) Date: Fri Jul 10 05:59:38 2009 Subject: How to add a slice and partition to a mirror In-Reply-To: <20090709225246.GA91508@mech-cluster238.men.bris.ac.uk> References: <200907101012.56788.gentoo@tmgcon.com> <20090709225246.GA91508@mech-cluster238.men.bris.ac.uk> Message-ID: <200907101758.46002.gentoo@tmgcon.com> On Fri, 10 Jul 2009 10:52:46 Anton Shterenlikht wrote: > On Fri, Jul 10, 2009 at 10:12:56AM +1200, Tom Munro Glass wrote: > > I have a FreeBSD 7.2 system that had two 37GB mirrored SCSI drives. These > > contained a single slice filling the disk with separate partitions for > > swap, /, /var, /usr and /home. > > > > Yesterday one of the drives had a catastrophic failure - no problem, the > > system still worked on one drive as it is supposed to. I have purchased > > two new 74GB drives because I need more space. > > > > With just the working 37GB drive connected, I ran: > > > > # gmirror forget gm0 > > > > Then I connected one of the new 74GB drives and ran: > > > > # gmirror insert gm0 /dev/da1 > > > > and the mirror rebuilt itself correctly, but of course only half of the > > new drive is being used. > > > > I've now removed the 37GB drive and run "gmirror forget gm0" again and > > the system is running on the new half used 74GB drive. > > > > How do I define a new slice and partition to fill the second half of this > > drive? > > what is the output of "gpart gm0" ? Did you mean "gpart list gm0"? This gives: gpart: No such geom: gm0 I'm not sure that gpart is supported by the GENERIC kernel - should I have the GEOM_PART_MBR option set, it isn't currently. Regards Tom From on at cs.ait.ac.th Fri Jul 10 07:03:25 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Fri Jul 10 07:03:32 2009 Subject: Advise for buying a Refurbished machine In-Reply-To: (message from dhaneshk k on Fri, 10 Jul 2009 04:59:43 +0000) References: Message-ID: <200907100703.n6A73MFx058873@banyan.cs.ait.ac.th> Hi, > 2) please advice me If I buy this machine is that a wise decision or > refurbished machines are of high risk ? You have to ponder the fact that notebook are always fragile machines: - they are moved around often, so more subject to miss handeling (a notebook is more likely to fall from your lap than a desktop is likely to fall from your desk) - they are compact, less ventilation, more subject to over heating => component aging faster - they use smaller components, so less robusts I would always buy a new machine if I can. I hope you have a waranty that comes with your refurbished machine. Bests, olivier From mail25 at bzerk.org Fri Jul 10 09:25:03 2009 From: mail25 at bzerk.org (Ruben de Groot) Date: Fri Jul 10 09:25:10 2009 Subject: jail/system crash with mount_unionfs In-Reply-To: <80f4f2b20907090737w25372a67p39bb0fadffc95183@mail.gmail.com> References: <80f4f2b20907090737w25372a67p39bb0fadffc95183@mail.gmail.com> Message-ID: <20090710092457.GA26228@ei.bzerk.org> On Thu, Jul 09, 2009 at 10:37:40AM -0400, Jim typed: > > As you can see, there is a work around, so I'm not that /bothered/ by > this, but it'd be nice to know what's up. Am I doing something wrong? > If not, can anyone replicate this? Should I file a bug report? according to the manpage, unionfs is still buggy in 7.2: BUGS THIS FILE SYSTEM TYPE IS NOT YET FULLY SUPPORTED (READ: IT DOESN'T WORK) AND USING IT MAY, IN FACT, DESTROY DATA ON YOUR SYSTEM. USE AT YOUR OWN RISK. BEWARE OF DOG. SLIPPERY WHEN WET. I'm using nullfs to do what you're trying and it just works. regards, Ruben From peo at intersonic.se Fri Jul 10 12:10:27 2009 From: peo at intersonic.se (Per olof Ljungmark) Date: Fri Jul 10 12:10:35 2009 Subject: Out of memory during request for 32 bytes Message-ID: <4A572FAC.4060107@intersonic.se> Apache web server on 7-STABLE running nagios and OTRS. My problem is I cannot understand what I should increase to satisfy those memory-hungry Perl scripts? Out of memory during request for 32 bytes, total sbrk() is 17192960 bytes! Out of memory during request for 4072 bytes, total sbrk() is 17192960 bytes! Global $r object is not available. Set: PerlOptions +GlobalRequest in httpd.conf at /usr/local/lib/perl5/site_perl/5.8.9/CGI/Carp.pm line 553. Global $r object is not available. Set: PerlOptions +GlobalRequest in httpd.conf at /usr/local/lib/perl5/site_perl/5.8.9/CGI/Carp.pm line 553. -- per From invalid.pointer at gmail.com Fri Jul 10 13:50:49 2009 From: invalid.pointer at gmail.com (Manish Jain) Date: Fri Jul 10 13:50:56 2009 Subject: Strange behaviour on Gnome with FreeBSD-7.2 Message-ID: <4A574734.9060409@gmail.com> Hello, This message was earlier posted to freebsd-gnome, from where there was no response. I am consequently re-posting to freebsd-questions in hope of something better. I had FreeBSD-7.2 on my system a few days back, but had to reinstall it afresh last week. In the new install, I did not install any packages from the distribution media. Instead I built everything from ports. The previous installation used gnome packages from the distribution media itself. There is one problem that I faced with the old installation and am facing with the new installation as well. Upon startx, all font sizes (application, desktop, document, fixed, window title) are always one unit less (in size) compared to what they are set. The moment I right-click on the desktop and select 'Change desktop background', the font sizes get incremented to the correct values everywhere. With the new installation, I am facing additional - and much more serious - problems, maybe on account of something I have missed. 1) Window applications which normally remember their size and position (eg, Nautilus) have lost this capability. Now I have to resize and reposition these windows each time I exec gnome-session from .xinitrc 2) Resizing/repositioning windows happens in slow, jittery movements with the display getting wavy till the window is dropped into its desired size/position 3) Scrolling up and down a window (eg in Firefox3, Nautilus) using the mouse or the scrollbar is painfully slow, with the display again getting highly wavy. If anybody has any clue what could possibly be wrong with my setup, I would be grateful to find out what. Thanks in advance -- Regards Manish Jain invalid.pointer@gmail.com From wojtek at wojtek.tensor.gdynia.pl Fri Jul 10 14:05:27 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jul 10 14:05:34 2009 Subject: Out of memory during request for 32 bytes In-Reply-To: <4A572FAC.4060107@intersonic.se> References: <4A572FAC.4060107@intersonic.se> Message-ID: do uname -a if you are on 32-bit arch you may add kern.dfldsiz=2147483648 kern.maxdsiz=2147483648 to /boot/loader.conf but most likely you'll need to edit /etc/login.conf On Fri, 10 Jul 2009, Per olof Ljungmark wrote: > Apache web server on 7-STABLE running nagios and OTRS. My problem is I > cannot understand what I should increase to satisfy those memory-hungry > Perl scripts? > > Out of memory during request for 32 bytes, total sbrk() is 17192960 bytes! > Out of memory during request for 4072 bytes, total sbrk() is 17192960 bytes! > Global $r object is not available. Set: > PerlOptions +GlobalRequest > in httpd.conf at /usr/local/lib/perl5/site_perl/5.8.9/CGI/Carp.pm line 553. > Global $r object is not available. Set: > PerlOptions +GlobalRequest > in httpd.conf at /usr/local/lib/perl5/site_perl/5.8.9/CGI/Carp.pm line 553. > > -- > per > _______________________________________________ > 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 Jul 10 14:06:44 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jul 10 14:06:50 2009 Subject: Advise for buying a Refurbished machine In-Reply-To: References: Message-ID: > I need an advice from FreeBSD users. I would like to buy a refurbished notebook from IBM. > > Model IBM T60 > I heard T60 series are excellent ? i heard too. but my T23 is :) > > Please see this URL and apecifications of the notebook http://www-304.ibm.com/shop/americas/webapp/wcs/stores/servlet/default/ProductDisplay?productId=4611686018425958881&storeId=1&langId=-1&categoryId=2576396&dualCurrId=73&catalogId=-840 > > I want to know > 1) whether this notebook go well with FreeBSD-7.x versions ? should work. buying used older machine is actually low risk route. newer are usually less compatible. From wojtek at wojtek.tensor.gdynia.pl Fri Jul 10 14:08:26 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jul 10 14:08:33 2009 Subject: Advise for buying a Refurbished machine In-Reply-To: <87y6qxktjg.fsf@kobe.laptop> References: <87y6qxktjg.fsf@kobe.laptop> Message-ID: > My loader.conf includes a few thinkpad-specific bits, like: > > # Intel wireless WiFi Link 4965AGN driver options. > legal.intel_iwn.license_ack=1 > if_iwn_load="YES" > > # Autoloaded modules. > acpi_ibm_load="YES" > snd_hda_load="YES" i needed only last 2 lines on my T31. Anyway acpi_ibm is really useful, like dev.acpi_ibm sysctl node - setting manual/automatic fan speeds etc. > It is not obvious from the webpage you pasted if the T60 you are going > to buy uses an Intel or ATI VGA chipset. I generally opt for Intel VGA At least intels are really supported with open sources. From wojtek at wojtek.tensor.gdynia.pl Fri Jul 10 14:09:46 2009 From: wojtek at wojtek.tensor.gdynia.pl (Wojciech Puchar) Date: Fri Jul 10 14:09:53 2009 Subject: Advise for buying a Refurbished machine In-Reply-To: <200907100703.n6A73MFx058873@banyan.cs.ait.ac.th> References: <200907100703.n6A73MFx058873@banyan.cs.ait.ac.th> Message-ID: > You have to ponder the fact that notebook are always fragile machines: > > - they are moved around often, so more subject to miss handeling (a > notebook is more likely to fall from your lap than a desktop is > likely to fall from your desk) > > - they are compact, less ventilation, more subject to over heating => > component aging faster > > - they use smaller components, so less robusts And the newer notebook is - the more cheaply it's made.. If you have old and new laptop, most probably new one will break first ;) From rswood at therandymon.com Fri Jul 10 14:10:26 2009 From: rswood at therandymon.com (RS Wood) Date: Fri Jul 10 14:10:34 2009 Subject: FTP Server for individual client spaces Message-ID: <1247235024.5167.1324439995@webmail.messagingengine.com> I run a small engineering company* that exchanges large files (CAD, etc.) with clients, and I want to keep the docs off my email server by setting up a stand alone FTP server where each client can upload and download its relevant files. As such, my own users/employees should be able to reach every client?s FTP space but each client should only be able to reach his own. As my users finish a doc, they place it in that client?s FTP directory and the client can log in and get it. As such, I don?t want any form of unauthenticated FTP. I?ve tried different combinations of group names and directory permissions without success, but chrooting users doesn?t seem to solve my problem either, and my two favorite BSD books ? Tiemann et. al. (Unleashed) and Lucas (Absolute) take the same approach the man pages do, in my opinion, which guides you either into an all anonymous system, or a system suitable for organizations such as software distributors in which clients/users authenticate but then all access the same directory (/pub for example). I could use some help conceptualizing this. Is the solution ftpchroot? If so, it?s not clear how I can chroot each potential client into his own directory, as my understanding is that all chrooted users wind up at the same place (like /var/ftp/pub). Or is the solution that each client gets access to his own home directory; if so, how do I ensure my staff has access to each client?s home directory? Lastly, I?ve also been reading up on PureFTP, which seems to have some advanced configuration potential (including LDAP authentication, something else that interests me) but it?s not clear that using an alternative product is indicated here. This seems like something other organizations must have dealt with, so I must be missing something fundamental. Can someone point me in the right direction? Finally, I?m aware FTP has inherent security liabilities as passwords cross the net in clear text, but I?m not convinced casual users on Windows boxes will be able to manage fun stuff like SSH connections or alternative software, like SCP. In my experience, the ?modern? windows user accesses FTP sites using Internet Explorer, which is tremendously underwhelming. As such I am choosing a stand alone box on which no other services are running (mail, X, etc.). Am I right? Or is there some better method that won?t be too complex for the casual Windows user? Thanks advance for the pointers. Randy -- www.therandymon.com *Actually, this is all hypothetical, but I?m learning server admin so I can cross this bridge when the time comes, and having a lot of fun, naturally, since right now my screw ups don?t count! From j.mckeown at ru.ac.za Fri Jul 10 14:27:21 2009 From: j.mckeown at ru.ac.za (Jonathan McKeown) Date: Fri Jul 10 14:27:28 2009 Subject: FTP Server for individual client spaces In-Reply-To: <1247235024.5167.1324439995@webmail.messagingengine.com> References: <1247235024.5167.1324439995@webmail.messagingengine.com> Message-ID: <200907101627.18681.j.mckeown@ru.ac.za> On Friday 10 July 2009 16:10:24 RS Wood wrote: > I run a small engineering company* that exchanges large files (CAD, > etc.) with clients, and I want to keep the docs off my email server by > setting up a stand alone FTP server where each client can upload and > download its relevant files. As such, my own users/employees should be > able to reach every client?s FTP space but each client should only be > able to reach his own. As my users finish a doc, they place it in that > client?s FTP directory and the client can log in and get it. As such, > I don?t want any form of unauthenticated FTP. [snip] > Is the solution ftpchroot? If so, it?s not clear how I can chroot > each potential client into his own directory, as my understanding is > that all chrooted users wind up at the same place (like /var/ftp/pub). > Or is the solution that each client gets access to his own home > directory; if so, how do I ensure my staff has access to each client?s > home directory? I haven't tried this, but man ftpd.conf suggests something along the lines of: chroot chroot /some/path/%u where the second chroot is the ftp class, and %u will be expanded to the username. Make sure all your external users are in ftp class chroot (by putting their usernames in /etc/ftpchroot), and make /some/path group-owned and group-readable by a group all your staff are in (the group ownership of a directory automatically propagates to new directories created below it). Let us know how it goes! Jonathan From steve at ibctech.ca Fri Jul 10 14:30:13 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Fri Jul 10 14:30:20 2009 Subject: FTP Server for individual client spaces In-Reply-To: <1247235024.5167.1324439995@webmail.messagingengine.com> References: <1247235024.5167.1324439995@webmail.messagingengine.com> Message-ID: <4A575070.2050904@ibctech.ca> RS Wood wrote: > I run a small engineering company* that exchanges large files (CAD, > etc.) with clients, and I want to keep the docs off my email server by > setting up a stand alone FTP server where each client can upload and > download its relevant files. As such, my own users/employees should be > able to reach every client???s FTP space but each client should only be > able to reach his own. As my users finish a doc, they place it in that > client???s FTP directory and the client can log in and get it. As such, > I don???t want any form of unauthenticated FTP. > > I???ve tried different combinations of group names and directory > permissions without success, but chrooting users doesn???t seem to solve > my problem either, and my two favorite BSD books ??? Tiemann et. al. > (Unleashed) and Lucas (Absolute) take the same approach the man pages > do, in my opinion, which guides you either into an all anonymous system, > or a system suitable for organizations such as software distributors in > which clients/users authenticate but then all access the same directory > (/pub for example). I could use some help conceptualizing this. > > Is the solution ftpchroot? It works for us, for the users who still need FTP access: # cp /sbin/nologin /sbin/ftp-only # echo "/sbin/ftp-only" >> /etc/shells # adduser homedir == /ftp/username shell == /sbin/ftp-only I then: # cd /ftp/username # rm -r .* # echo "username" >> /etc/ftpchroot Now, you can create staff accounts in the same way, but set their home directory as /ftp. They'll be able to traverse the entire FTP tree from there. Just ensure that the /ftp directory structure is owned by a group that your staff accounts are in, and that all of the sub directories are modded with appropriate permissions. > If so, it???s not clear how I can chroot > each potential client into his own directory, as my understanding is > that all chrooted users wind up at the same place (like /var/ftp/pub). > Or is the solution that each client gets access to his own home > directory; Yes, each to their own home dir. > if so, how do I ensure my staff has access to each client???s > home directory? I'm assuming that your staff will be using FTP as well. Simply assign their home directory to the root FTP directory. > Lastly, I???ve also been reading up on PureFTP, which > seems to have some advanced configuration potential (including LDAP > authentication, something else that interests me) but it???s not clear > that using an alternative product is indicated here. > This seems like something other organizations must have dealt with, so I > must be missing something fundamental. Can someone point me in the > right direction? > > Finally, I???m aware FTP has inherent security liabilities as passwords > cross the net in clear text, but I???m not convinced casual users on > Windows boxes will be able to manage fun stuff like SSH connections or > alternative software, like SCP. Provide them a link to a client software that uses SFTP. I use WinSCP (portable), which defaults to SFTP, and provides the server, username and password fields as soon as it is launched. Hope I didn't miss anything ;) Steve -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3233 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090710/8403b1df/smime.bin From dnelson at allantgroup.com Fri Jul 10 14:39:59 2009 From: dnelson at allantgroup.com (Dan Nelson) Date: Fri Jul 10 14:40:07 2009 Subject: FTP Server for individual client spaces In-Reply-To: <4A575070.2050904@ibctech.ca> References: <1247235024.5167.1324439995@webmail.messagingengine.com> <4A575070.2050904@ibctech.ca> Message-ID: <20090710143954.GE63413@dan.emsphone.com> In the last episode (Jul 10), Steve Bertrand said: > RS Wood wrote: > > Finally, I'm aware FTP has inherent security liabilities as passwords > > cross the net in clear text, but I'm not convinced casual users on > > Windows boxes will be able to manage fun stuff like SSH connections or > > alternative software, like SCP. > > Provide them a link to a client software that uses SFTP. I use WinSCP > (portable), which defaults to SFTP, and provides the server, username and > password fields as soon as it is launched. WinSCP is good. Other nice free SFTP clients are FileZilla (has Windows, OS X and Unix versions) and muCommander (Java so it will run on anything). http://www.winscp.net/ http://www.filezilla-project.org/ http://www.mucommander.com/ -- Dan Nelson dnelson@allantgroup.com From jakub_lach at mailplus.pl Fri Jul 10 15:06:13 2009 From: jakub_lach at mailplus.pl (Jakub Lach) Date: Fri Jul 10 15:06:20 2009 Subject: Xorg - how can I configure this thing?? In-Reply-To: <20090709215624.GA30929@greencat.langhans.com.pl> References: <20090709202304.GA29940@greencat.langhans.com.pl> <4ad871310907091344o40ce04f1g4835f3de8ef1cbd0@mail.gmail.com> <20090709215624.GA30929@greencat.langhans.com.pl> Message-ID: <24428745.post@talk.nabble.com> Hello. "6. Make sure the following 2 lines are in /etc/rc.conf: hald_enable="YES" dbus_enable="YES"" That's not necessary if you (re)configure X server without HAL. Just pointing, since lots of people recommends anybody with input problems to add those lines. It's still possible to run X server without HAL, even the newest one. -best regards, Jakub Lach -- View this message in context: http://www.nabble.com/Xorg---how-can-I-configure-this-thing---tp24417470p24428745.html Sent from the freebsd-questions mailing list archive at Nabble.com. From mail25 at bzerk.org Fri Jul 10 16:27:55 2009 From: mail25 at bzerk.org (Ruben de Groot) Date: Fri Jul 10 16:28:01 2009 Subject: FTP Server for individual client spaces In-Reply-To: <1247235024.5167.1324439995@webmail.messagingengine.com> References: <1247235024.5167.1324439995@webmail.messagingengine.com> Message-ID: <20090710162750.GA30201@ei.bzerk.org> On Fri, Jul 10, 2009 at 03:10:24PM +0100, RS Wood typed: > I run a small engineering company* that exchanges large files (CAD, > etc.) with clients, and I want to keep the docs off my email server by > setting up a stand alone FTP server where each client can upload and > download its relevant files. As such, my own users/employees should be > able to reach every client???s FTP space but each client should only be > able to reach his own. As my users finish a doc, they place it in that > client???s FTP directory and the client can log in and get it. As such, > I don???t want any form of unauthenticated FTP. Do your employees need access through the same ftp server? You could serve them any other way (e.g. internally export the entire ftp tree as an NFS or CIFS share). From lconrad at Go2France.com Fri Jul 10 16:47:38 2009 From: lconrad at Go2France.com (Len Conrad) Date: Fri Jul 10 16:47:44 2009 Subject: dump hangs on 7.1 Message-ID: <200907101829.AA227541664@mail.Go2France.com> FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 CPU: Intel(R) Xeon(R) CPU E5420 @ 2.50GHz (2496.26-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x1067a Stepping = 10 AMD Features=0x20100000 AMD Features2=0x1 Cores per package: 4 real memory = 3484745728 (3323 MB) avail memory = 3405537280 (3247 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 /sbin/dump -0uanL -f - / | ssh dump_images@xxx.net dd of=/var/ftp/dump_images/mx1-root-test dump has completed only once. Several other dumps have all gotten under way, target file is created and increases until the hang. CTRL-C gets back to shell,eg: DUMP: Date of this level 0 dump: Fri Jul 10 10:25:33 2009 DUMP: Date of last level 0 dump: the epoch DUMP: Dumping snapshot of /dev/da0s1d (/usr) to standard output DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 1713942 tape blocks. DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] ^C DUMP: Interrupt received. DUMP: Do you want to abort dump?: ("yes" or "no") Killed by signal 2. DUMP: Broken pipe DUMP: The ENTIRE dump is aborted. Hangs always in Pass IV Plenty of google hits for "dump hang freebsd 7.1" but I can't find one with a solution. Len From corky1951 at comcast.net Fri Jul 10 16:54:39 2009 From: corky1951 at comcast.net (Charlie Kester) Date: Fri Jul 10 16:54:46 2009 Subject: Advise for buying a Refurbished machine In-Reply-To: References: <200907100703.n6A73MFx058873@banyan.cs.ait.ac.th> Message-ID: <20090710165435.GB75160@comcast.net> On Fri 10 Jul 2009 at 07:10:20 PDT Wojciech Puchar wrote: >>You have to ponder the fact that notebook are always fragile machines: >> >>- they are moved around often, so more subject to miss handeling (a >> notebook is more likely to fall from your lap than a desktop is >> likely to fall from your desk) >> >>- they are compact, less ventilation, more subject to over heating => >> component aging faster >> >>- they use smaller components, so less robusts > >And the newer notebook is - the more cheaply it's made.. If you have >old and new laptop, most probably new one will break first ;) In my experience, electronic parts fail within a year of manufacture if they're going to fail at all. Heat-related problems are mainly of two kinds: bad solder joints and parts that are drawing more current than they're spec'd to do. Both kinds of problems usually shake out in the first year. Mechanical problems, otoh, are the bane of portable devices. If I were buying a used notebook, I'd take a close look at the hinges, switches, keyboard and any other moving parts. I'd factor in the cost of a new harddrive as it's very likely to need one -- if not now, soon. I've also had numerous problems with the sockets for the AC adaptor plug. I think that design was intended for stationary devices, not devices that you're holding on your lap and moving around a lot while they're plugged in. (Not to mention tripping over the cord!) After a while they seem to come loose and the plug no longer makes good contact. In one case, I had to open up the machine and resolder the socket to the board. From jpsp at fccn.pt Fri Jul 10 18:33:37 2009 From: jpsp at fccn.pt (=?ISO-8859-1?Q?Jo=E3o_Pagaime?=) Date: Fri Jul 10 18:33:54 2009 Subject: question about a driver - Gigabit - HP NC362i Message-ID: <4A578981.1020701@fccn.pt> hello all any chance of the following NIC working with the latests freeBSD release: Embedded HP NC362i Integrated Dual Port Gigabit Server Adaptor FreeBSD's hardware release notes dont look very promising thanks Jo?o Pagaime From rsmith at xs4all.nl Fri Jul 10 18:49:48 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Fri Jul 10 18:49:56 2009 Subject: Why this flash drive not detected in devd? In-Reply-To: <20090710014128.13958.qmail@us1.tomahawkonline.net> References: <4A560B28.6080705@tomahawk.com.sg> <20090709165927.GB63043@slackbox.xs4all.nl> <20090710014128.13958.qmail@us1.tomahawkonline.net> Message-ID: <20090710184945.GA4323@slackbox.xs4all.nl> On Thu, Jul 09, 2009 at 08:41:28PM -0500, Sagara Wijetunga wrote: > Roland Smith writes: > > On Thu, Jul 09, 2009 at 11:22:16PM +0800, Sagara Wijetunga wrote: > > Hi FreeBSD community > > This is FreeBSD 7.2 on i386. > > sysctl -a | grep dev.umass > dev.umass.1.%desc: Imation Flash Drive, class 0/0, rev 2.00/1.03, addr 3 > dev.umass.1.%driver: umass > dev.umass.1.%location: port=6 interface=0 > dev.umass.1.%pnpinfo: vendor=0x0718 product=0x0081 devclass=0x00 devsubclass=0x00 > release=0x0103 sernum="14925B00" intclass=0x08 intsubclass=0x06 > dev.umass.1.%parent: uhub4 > > Following added to /etc/devd.conf: > 1. Imation Flash Drive, class 0/0, rev 2.00/1.03, addr 3 > attach 200 { > match "vendor" "0x0718"; > match "product" "0x0081"; > match "serial" "14925B00"; > action "touch /tmp/Imation-Flash-Drive-detected"; > }; > > Could I know why the flash drive is not detected on attach? > > The USB subsystem isn't currently equipped to notify devd (technically, > the devctl_notify function isn't used in the USB stack). So the only > notification you'll get is when devfs creates a device. Since there is > no predictable link between a USB device and a disk device, info from > the USB stack would be less then usefull. > > You can check this by reading from /dev/devctrl (when devd is not > running, since this device can only be opened by one program at a time) > just after you plugged in the device. For my usb thumbdrive I get: > > cat /dev/devctl > !system=DEVFS subsystem=CDEV type=CREATE cdev=pass2 > !system=DEVFS subsystem=CDEV type=CREATE cdev=da0 > !system=DEVFS subsystem=CDEV type=CREATE cdev=da0s1 > !system=DEVFS subsystem=CDEV type=CREATE cdev=msdosfs/RFS1 > > While sysctl gives: > > dev.umass.0.%desc: vendor 0x3538 USB Mass Storage Device, class 0/0, rev 2.00/1.00, addr 2 > dev.umass.0.%driver: umass > dev.umass.0.%location: port=4 interface=0 > dev.umass.0.%pnpinfo: vendor=0x3538 product=0x0042 devclass=0x00 devsubclass=0x00 release=0x0100 > sernum="000000000004E1" intclass=0x08 intsubclass=0x06 > dev.umass.0.%parent: uhub4 > > So for now, you'll have to match on the creation of da* devices, or > labels if you use those. > > Roland, thanks for the reply. > > Here is my side info on FreeBSD 7.2: > cat /dev/devctl > ? at port=6 vendor=0x0718 product=0x0081 devclass=0x00 devsubclass=0x00 release=0x0103 > sernum="14925B00" on uhub4 The "?" means "Unknown device detected". See devctl(4). This is _not_ noticed be devd, I think > +umass1 vendor=0x0718 product=0x0081 devclass=0x00 devsubclass=0x00 release=0x0103 > sernum="14925B00" intclass=0x08 intsubclass=0x06 at port=6 interface=0 vendor=0x0718 > product=0x0081 devclass=0x00 devsubclass=0x00 release=0x0103 sernum="14925B00" intclass=0x08 > intsubclass=0x06 on uhub4 Note that while "+" denotes a device creation event, it is for umass1, not for a disk device. > !system=DEVFS subsystem=CDEV type=CREATE cdev=pass4 > !system=DEVFS subsystem=CDEV type=CREATE cdev=da4 > !system=DEVFS subsystem=CDEV type=CREATE cdev=da4s1 > !system=DEVFS subsystem=CDEV type=CREATE cdev=msdosfs/ > > I have few questions: > 1. Above shows info we need available under '?' and '+' lines. What > we need is vendor, product and sernum. Can these be accessed in > addition to cdev? Not currently. The hooks into the USB subsystem are missing. But even if they were there, that info is not very usefull in itself. You also need to know the disk device number that the USB drive gets! If there were hooks in the USB system, you would get _multiple_ events in devd: 1) USB device plugged in. (serial no etc...) 2) pass device created by devfs 3) da devices created by devfs 4) msdodfs/ devices created by devfs. So you would need to remember the first event until the device creation happens. Devd itself has no facilities for that. Sure, you can cobble something together with tempoeary files etc., but that would be fragile. And as I've said before, there is no one-on-one link between a USB device that gets plugged in and the disk device that is assigned to it! > 2. Is this issue been fixed in FreeBSD 8.0? I don't know. The USB stack was rewritten for 8.0. Ask on the -current or -hackers list. > 3. Can you or someone think of a patch against FreeBSD 7.2 to provide > vendor, product and sernum in addition to cdev? It's very big help > someone could extend to us to release Tomahawk Desktop As I explained above, this would not accomplish what you want. Again, maybe you should check out sysutils/hal. 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: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090710/1df2ebbf/attachment.pgp From kurt.buff at gmail.com Fri Jul 10 19:00:05 2009 From: kurt.buff at gmail.com (Kurt Buff) Date: Fri Jul 10 19:00:12 2009 Subject: Asus P5VD2-MX SE mobo and Xorg Message-ID: it-kbuff-fbsd# uname -a FreeBSD it-kbuff-fbsd 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 Can't seem to make it go. Complete contents of xorg.conf below, but symptoms first: I can start X, via 'startx' but the screen hangs - mouse and keyboard are not responsive. I have to ssh in from another machine to kill Xorg. I've installed xfce4, and the box is up to date - I csuped ports yesterday and updated everything. I've looked at /var/log/Xorg.0.log, but don't see anything that looks like a real failure. I've even tried launching xorg and xfce4 as root - no joy. xorg.conf, at /home/kbuff, seems to show the correct video card, so any suggestions welcome. Section "ServerLayout" Identifier "X.org Configured" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndSection Section "Files" ModulePath "/usr/local/lib/xorg/modules" FontPath "/usr/local/lib/X11/fonts/misc/" FontPath "/usr/local/lib/X11/fonts/TTF/" FontPath "/usr/local/lib/X11/fonts/OTF" FontPath "/usr/local/lib/X11/fonts/Type1/" FontPath "/usr/local/lib/X11/fonts/100dpi/" FontPath "/usr/local/lib/X11/fonts/75dpi/" EndSection Section "Module" Load "extmod" Load "record" Load "dbe" Load "glx" Load "dri" Load "dri2" EndSection Section "InputDevice" Identifier "Keyboard0" Driver "kbd" EndSection Section "InputDevice" Identifier "Mouse0" Driver "mouse" Option "Protocol" "auto" Option "Device" "/dev/sysmouse" Option "ZAxisMapping" "4 5 6 7" EndSection Section "Monitor" Identifier "Monitor0" VendorName "Monitor Vendor" ModelName "Monitor Model" EndSection Section "Device" ### Available Driver options are:- ### Values: : integer, : float, : "True"/"False", ### : "String", : " Hz/kHz/MHz" ### [arg]: arg optional #Option "PrintVGARegs" # [] #Option "PrintTVRegs" # [] #Option "I2CScan" # [] #Option "VBEModes" # [] #Option "NoAccel" # [] #Option "AccelMethod" # #Option "ExaNoComposite" # [] #Option "ExaScratchSize" # #Option "SWCursor" # [] #Option "ShadowFB" # [] #Option "Rotate" # [] #Option "VideoRAM" # #Option "ActiveDevice" # [] #Option "BusWidth" # [] #Option "Center" # [] #Option "PanelSize" # [] #Option "ForcePanel" # [] #Option "TVDotCrawl" # [] #Option "TVDeflicker" # #Option "TVType" # [] #Option "TVOutput" # [] #Option "DisableVQ" # [] #Option "DisableIRQ" # [] #Option "EnableAGPDMA" # [] #Option "NoAGPFor2D" # [] #Option "NoXVDMA" # [] #Option "VbeSaveRestore" # [] #Option "DisableXvBWCheck" # [] #Option "MaxDRIMem" # #Option "AGPMem" # Identifier "Card0" Driver "openchrome" VendorName "VIA Technologies, Inc." BoardName "P4M890 [S3 UniChrome Pro]" BusID "PCI:1:0:0" EndSection Section "Screen" Identifier "Screen0" Device "Card0" Monitor "Monitor0" SubSection "Display" Viewport 0 0 Depth 1 EndSubSection SubSection "Display" Viewport 0 0 Depth 4 EndSubSection SubSection "Display" Viewport 0 0 Depth 8 EndSubSection SubSection "Display" Viewport 0 0 Depth 15 EndSubSection SubSection "Display" Viewport 0 0 Depth 16 EndSubSection SubSection "Display" Viewport 0 0 Depth 24 EndSubSection EndSection From ertr1013 at student.uu.se Fri Jul 10 20:00:25 2009 From: ertr1013 at student.uu.se (Erik Trulsson) Date: Fri Jul 10 20:00:32 2009 Subject: question about a driver - Gigabit - HP NC362i In-Reply-To: <4A578981.1020701@fccn.pt> References: <4A578981.1020701@fccn.pt> Message-ID: <20090710194353.GA43852@owl.midgard.homeip.net> On Fri, Jul 10, 2009 at 07:33:37PM +0100, Jo?o Pagaime wrote: > hello all > > any chance of the following NIC working with > the latests freeBSD release: > > Embedded HP NC362i Integrated Dual Port Gigabit Server Adaptor > > FreeBSD's hardware release notes dont look very promising Looks like a quite good chance of it working. That controller is apparently based around Intel's 82576 controller chip, which should be supported by the igb(4) driver. -- Erik Trulsson ertr1013@student.uu.se From djuatdelta at gmail.com Fri Jul 10 20:32:59 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Fri Jul 10 20:33:05 2009 Subject: Matlab running on linux wrapper Message-ID: Will binaries running on the linux binaries wrapper run slower due to having to be run on the linux layer? From steinex at nognu.de Fri Jul 10 20:50:50 2009 From: steinex at nognu.de (Frank Steinborn) Date: Fri Jul 10 20:50:57 2009 Subject: Matlab running on linux wrapper In-Reply-To: References: Message-ID: <20090710205136.GB1860@nognu.de> Daniel Underwood wrote: > Will binaries running on the linux binaries wrapper run slower due to > having to be run on the linux layer? It depends. In most cases, it will just run as fine as on Linux, sometimes it is even faster. The Linux compatibility is no emulation, it just translates syscalls, so you shouldn't notice a performance-hit in 99% of cases... but of course there are corner cases where it could be that the performance of your Linux-binary on FreeBSD is not 100% as fast as Linux. See the Handbook for a deeper understanding of how the Linux compatibility is working :) Cheers, steinex From nightrecon at verizon.net Fri Jul 10 22:51:57 2009 From: nightrecon at verizon.net (Michael Powell) Date: Fri Jul 10 22:52:05 2009 Subject: question about a driver - Gigabit - HP NC362i References: <4A578981.1020701@fccn.pt> <20090710194353.GA43852@owl.midgard.homeip.net> Message-ID: Erik Trulsson wrote: > On Fri, Jul 10, 2009 at 07:33:37PM +0100, Jo?o Pagaime wrote: >> hello all >> >> any chance of the following NIC working with >> the latests freeBSD release: >> >> Embedded HP NC362i Integrated Dual Port Gigabit Server Adaptor >> >> FreeBSD's hardware release notes dont look very promising > > Looks like a quite good chance of it working. > That controller is apparently based around Intel's 82576 controller chip, > which should be supported by the igb(4) driver. > And found in if_igb.c: { 0x8086, E1000_DEV_ID_82576, PCI_ANY_ID, PCI_ANY_ID, 0}, { 0x8086, E1000_DEV_ID_82576_FIBER, PCI_ANY_ID, PCI_ANY_ID, 0}, { 0x8086, E1000_DEV_ID_82576_SERDES, PCI_ANY_ID, PCI_ANY_ID, 0}, So it might work. And if it doesn't because of some minor problem it might be fairly straightforward to get it going as Intel has a driver developer who is plugged into the community. -Mike From kurt.buff at gmail.com Fri Jul 10 23:15:49 2009 From: kurt.buff at gmail.com (Kurt Buff) Date: Fri Jul 10 23:15:55 2009 Subject: Asus P5VD2-MX SE mobo and Xorg In-Reply-To: References: Message-ID: On Fri, Jul 10, 2009 at 12:00, Kurt Buff wrote: > it-kbuff-fbsd# uname -a > FreeBSD it-kbuff-fbsd 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan ?1 > 14:37:25 UTC 2009 > root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC ?i386 > Putting in hald_enable="YES" and commenting out moused_enable="YES" fixed the issue. All these newfangled ways of doing things get confusing at times. Kurt From drew at mykitchentable.net Sat Jul 11 00:07:53 2009 From: drew at mykitchentable.net (Drew Tomlinson) Date: Sat Jul 11 00:08:06 2009 Subject: FixIt CD Tool Availability - SOLVED In-Reply-To: <20090704190652.GA44670@lpthe.jussieu.fr> References: <20090704190652.GA44670@lpthe.jussieu.fr> Message-ID: <4A57D7CC.90104@mykitchentable.net> Michel Talon wrote: > Drew Tomlinson wrote: > >> The command 'gmirror label root ad8a ad6a' does not return an error but >> no device is created in /dev/mirror >> >> The command 'zpool create data raid1z ad14d ad12d ad8d ad6d' gives me >> an error about the ZFS library being unavailable. >> >> Are these tools supposed to work when using the Fix It CD? If not, does >> 7.2-RELEASE-amd64-disc1.iso have these tools? >> > > One can load kernel modules from the fixit cdrom, but as far as i > remember this requires some manipulations. > > What i do is, from the fixit prompt: > chroot /mnt2 > to go to the full system available on the cdrom under /mnt2. But then > required things are missing, so i do further: > mount -t devfs devfs /dev > because access to /dev is frequently required, and for commodity > set -o emacs > (to have shell history and editing) > export PAGER=more > (to be able to access man pages) > After that one has a more or less standard environment. Sometimes one > needs a writable filesystem, for example for accessing internet > (dhclient, resolv.conf, etc.) > mount -t tmpfs tmpfs /tmp > does that. > > It would be nice to have a shell script on the fixit cdrom doing similar > things automatically when one accesses fixit. > > In your case i suspect appropriate kernel modules were not loaded > and commands failed silently. > For the archives, the above works. I don't know what I did wrong the first day I tried. However after walking away for a few days and then starting over, the commands above gave me a functional FixIt environment. Thanks! Cheers, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com From drew at mykitchentable.net Sat Jul 11 00:58:00 2009 From: drew at mykitchentable.net (Drew Tomlinson) Date: Sat Jul 11 00:58:07 2009 Subject: Attempting ZFS Only Install of 7.2 Message-ID: <4A57E38B.5050108@mykitchentable.net> I'm following guides at: http://lulf.geeknest.org/blog/freebsd/Setting_up_a_zfs-only_system/ http://wiki.freebsd.org/AppleMacbook http://menelkir.wordpress.com/2008/07/30/howto-install-freebsd-under-zfs-including-root-part-2/ If I understand correctly, only the first link is about setting up ZFS using gptzfsboot and not a UFS partition so I used it as my primary guide. I've gone through the steps below but can't do the one to copy zpool.cache to my zpool(s). Although the 'zpool import' and 'zpool export' succeed, I can not find zpool.cache (not even using 'find / -iname zpool.cache' anywhere to copy. I've tried rebooting once after skipping this step and got stuck at the boot prompt. Upon rebooting with the LiveDVD and entering FixIt, I did not have any zpools anymore. Not knowing what else to do, I started over from creating zpools. And now I'm here again. The only step left is to copy zpool.cache and I can't. What must I do to ensure that my zpools will survive reboot? I've included my exact steps below for reference. My system has 4 drives. I booted from the LiveDVD, entered the FixIt shell, and partitioned them as follows using gpart: ad6 - 750 GB ad6p1 - 128KB freebsd-boot ad6p2 - 512MB freebsd-zfs ad6p3 - 512MB freebsd-swap ad6p4 - 465GB freebsd-zfs ad6p5 - 233GB freebsd-ufs ad8 - 500 GB ad8p1 - 128KB freebsd-boot ad8p2 - 512MB freebsd-zfs ad8p3 - 512MB freebsd-swap ad8p4 - 465GB freebsd-zfs ad12 - 500 GB ad12p1 - 1024MB freebsd-swap ad12p2 - 465GB freebsd-zfs ad14 - 500 GB ad14p1 - 1024MB freebsd-swap ad14p2 - 465GB freebsd-zfs I used gptzfsboot from the 8.1-Beta1 iso and used a USB key mounted at /tmp/da0 to copy it to the system. Basically I did: gpart bootcode -b /boot/pmbr -p /tmp/da0/gptzfsboot -i 1 ad6 gpart bootcode -b /boot/pmbr -p /tmp/da0/gptzfsboot -i 1 ad8 Next I chrooted into /dist to make a "more normal for me" environment. To get a good environment I performed these commands: 1. chroot /dist 2. mount -t devfs devfs /dev 3. mount -t tmpfs tmpfs /tmp 4. set -o emacs Next I created two zpools: kldload zfs.ko zpool create root mirror /dev/ad6p1 /dev/ad8p1 zpool create data raid1z /dev/ad6p4 /dev/ad8p4 /dev/ad12p2 /dev/ad14p2 Because /root exists, the root zpool was mounted there. However /data doesn't exist and can't be created because FixIt is a read-only file system and thus the error. But in both cases, the zpool was created. Now to unmount zfs:root from /root: zfs umount root To stop zfs automounting for now, I set mount properties on the two zpools: zfs set mountpoint=none root zfs set mountpoint=none data Next I created zfs filesystems for usr and var: zfs create data/usr zfs create data/var I mounted my destination filesystems under /mnt as so: mount -t zfs root /mnt mkdir /mnt/usr mkdir /mnt/var mount -t zfs data/usr /mnt/usr mount -t zfs data/var /mnt/var Next, copy contets of LiveDVD system to destination filesystems: cd / cp -Rv bin boot etc lib libexec root sbin tmp usr var /mnt (Note: I excluded 'rescue' because on the LiveDVD it's 478MB and thus, too large for my 512MB root filesystem. I don't know why it's so big on the LiveDVD because its only around 7MB on a running 7.2 system I checked. I'm excluding and hoping my next 'make world' resolves this.) mkdir /mnt/dev Create/edit /mnt/boot/loader.conf as follows: zfs_load="YES" vfs.root.mountfrom="zfs:tank And now I'm at the part where I'm stuck at copying the zpool.cache file. Help? Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com From invite at scour.com Sat Jul 11 01:23:35 2009 From: invite at scour.com (Scour) Date: Sat Jul 11 01:23:47 2009 Subject: Prudhvi Krishna S's Member Invite Message-ID: <4a57e4cd8c69e@scour.com> Hey there, Not too long ago Prudhvi Krishna S sent you an invite to join the Scour search community and your invite is still open! The Scour search engine is shaped by a community of users just like you, and your contributions are what make it a success! Why use Scour? 1. Get Yahoo, Google and MSN results in one search 2. Vote on result relevancy 3. Read user comments 4. Get paid for searching! Create your profile at http://scour.com/invite/prudhvikrishna/r/ and enjoy searching the web through your favorite search engines. With time, you?ll get paid like these loyal users: http://www.scour.com/leaderboard page. Come and be part of the largest Social Search community and help make the results better! See you soon, The Scour Team www.scour.com This message was sent to you as a friend referral to join scour.com, please feel free to review our http://scour.com/privacy page and our http://scour.com/communityguidelines/antispam page. If you prefer not to receive invitations from ANY scour members, please click here - http://www.scour.com/unsub/e/ZnJlZWJzZC1xdWVzdGlvbnNAZnJlZWJzZC5vcmc= -OR- Write to us at: Scour, Inc., 15303 Ventura Blvd. Suite 860, Sherman Oaks, CA 91403, USA. campaignid: scour200907100002 From modulok at gmail.com Sat Jul 11 02:17:02 2009 From: modulok at gmail.com (Modulok) Date: Sat Jul 11 02:17:10 2009 Subject: Subversion URL for FreeBSD souce... Message-ID: <64c038660907101917g2c037052m6b9e38800bc7ebf9@mail.gmail.com> List, What's the right URL for a subversion checkout of the freeBSD source? For example, svn checkout svn://somewhere/RELENG_7_2_0_RELEASE While I use subversion for personal projects, I've never checked out the FreeBSD sources with it. A kick in the right direction would be great :) Thanks! -Modulok- From glen.j.barber at gmail.com Sat Jul 11 02:22:12 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sat Jul 11 02:22:19 2009 Subject: Subversion URL for FreeBSD souce... In-Reply-To: <64c038660907101917g2c037052m6b9e38800bc7ebf9@mail.gmail.com> References: <64c038660907101917g2c037052m6b9e38800bc7ebf9@mail.gmail.com> Message-ID: <4ad871310907101922q4e8a00a3s6ccd68134e198ad9@mail.gmail.com> On Fri, Jul 10, 2009 at 10:17 PM, Modulok wrote: > List, > > What's the right URL for a subversion checkout of the freeBSD source? > For example, > > svn checkout svn://somewhere/RELENG_7_2_0_RELEASE > > While I use subversion for personal projects, I've never checked out > the FreeBSD sources with it. A kick in the right direction would be > great :) > http://svn.freebsd.org/base/release/7.2.0/ -- Glen Barber From jwdevel at gmail.com Sat Jul 11 04:25:43 2009 From: jwdevel at gmail.com (jw) Date: Sat Jul 11 04:25:49 2009 Subject: Prevent reboot-after-panic behavior? Message-ID: I'm trying to figure out a strange panic issue (see: http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/201842.html). The problem is I generally need to run it overnight in order to reproduce it. By the time I get back to it, the machine has auto-rebooted, losing precious info in ttyv0. I cannot simply analyze a dump because the dump fails (see other thread for that info - possibly a separate issue). I am working on getting the dump to succeed, but in the meantime: Is there a way to turn off the auto-reboot behavior? I found this link: http://www.webhostingtalk.com/showthread.php?t=438372 But it is about turning it *on* and is somewhat old. Is there a way to change the behavior without recompiling the kernel? Thanks -John From glen.j.barber at gmail.com Sat Jul 11 04:49:55 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sat Jul 11 04:50:03 2009 Subject: Prevent reboot-after-panic behavior? In-Reply-To: References: Message-ID: <4ad871310907102149t465eb168r26c6d16b3cea0953@mail.gmail.com> Hi. On Sat, Jul 11, 2009 at 12:25 AM, jw wrote: > I'm trying to figure out a strange panic issue (see: > http://lists.freebsd.org/pipermail/freebsd-questions/2009-July/201842.html). > > The problem is I generally need to run it overnight in order to reproduce it. > By the time I get back to it, the machine has auto-rebooted, losing > precious info in ttyv0. > I cannot simply analyze a dump because the dump fails (see other > thread for that info - possibly a separate issue). > > I am working on getting the dump to succeed, but in the meantime: > > Is there a way to turn off the auto-reboot behavior? > I found this link: http://www.webhostingtalk.com/showthread.php?t=438372 > But it is about turning it *on* and is somewhat old. > > Is there a way to change the behavior without recompiling the kernel? > If you don't have debugging enabled in the kernel (KDB, DDB), no. If you do, you can set the following sysctl to disable automatic reboot on panic: debug.debugger_on_panic: 1 HTH. -- Glen Barber From Toby at IACmusic.com Sat Jul 11 08:53:07 2009 From: Toby at IACmusic.com (Toby@IACmusic.com) Date: Sat Jul 11 08:54:33 2009 Subject: Finally, a song contest that is free to enter. $27, 000+ in prizes too! Message-ID: Hi, IACmusic.com has started a major song contest and this one you can enter for free! &n throwing a party that Got a song be a lot of It's our [1]YEAR OF THE I "Indiependents" Day July 4th!&nb categories to choose from to enter your song in, including Songwri ting. The Grand Prize is a huge package that includes $1000 wor th of musical equipment (whatever you need), 2 weeks stay in a c ondo suite at your choice of a number of US vacation spots, an i Pod Shuffle, and a IAC Prime Perpetual Lifetime membership. But there are also 3 nice prizes in each of 16 categories and you can en exposur competition. He will hit Go [3]here Good luc The Staff at IACmusic.com (the Ind References 1. file://localhost/tmp/3D"htt 2. 3D"http://iacmusic.com/quickSignup.aspx" 3. file://localhost/tmp/3D From dmontalvo at gmail.com Sat Jul 11 09:48:56 2009 From: dmontalvo at gmail.com (Diego Montalvo) Date: Sat Jul 11 09:49:05 2009 Subject: Dynamically Building a Jail? Message-ID: Was wondering if there is a way to dynamically build a predefined jail subsystem using shell script? Thanks in Advance! From modulok at gmail.com Sat Jul 11 10:48:56 2009 From: modulok at gmail.com (Modulok) Date: Sat Jul 11 10:49:02 2009 Subject: Subversion URL for FreeBSD souce... In-Reply-To: <4ad871310907101922q4e8a00a3s6ccd68134e198ad9@mail.gmail.com> References: <64c038660907101917g2c037052m6b9e38800bc7ebf9@mail.gmail.com> <4ad871310907101922q4e8a00a3s6ccd68134e198ad9@mail.gmail.com> Message-ID: <64c038660907110348q240c37aco8d442fca9e5e9f63@mail.gmail.com> Glen, Thank you :) -Modulok- On 7/10/09, Glen Barber wrote: > On Fri, Jul 10, 2009 at 10:17 PM, Modulok wrote: >> List, >> >> What's the right URL for a subversion checkout of the freeBSD source? >> For example, >> >> svn checkout svn://somewhere/RELENG_7_2_0_RELEASE >> >> While I use subversion for personal projects, I've never checked out >> the FreeBSD sources with it. A kick in the right direction would be >> great :) >> > > http://svn.freebsd.org/base/release/7.2.0/ > > -- > Glen Barber > From sagara at tomahawk.com.sg Sat Jul 11 11:54:25 2009 From: sagara at tomahawk.com.sg (Sagara Wijetunga) Date: Sat Jul 11 11:54:32 2009 Subject: Why this flash drive not detected in devd? In-Reply-To: <20090710184945.GA4323@slackbox.xs4all.nl> References: <4A560B28.6080705@tomahawk.com.sg> <20090709165927.GB63043@slackbox.xs4all.nl> <20090710014128.13958.qmail@us1.tomahawkonline.net> <20090710184945.GA4323@slackbox.xs4all.nl> Message-ID: <20090711083609.32515.qmail@us1.tomahawkonline.net> Roland Smith writes: > On Thu, Jul 09, 2009 at 08:41:28PM -0500, Sagara Wijetunga wrote: >> Roland Smith writes: >> >> On Thu, Jul 09, 2009 at 11:22:16PM +0800, Sagara Wijetunga wrote: >> >> Hi FreeBSD community >> >> This is FreeBSD 7.2 on i386. >> >> sysctl -a | grep dev.umass >> dev.umass.1.%desc: Imation Flash Drive, class 0/0, rev 2.00/1.03, addr 3 >> dev.umass.1.%driver: umass >> dev.umass.1.%location: port=6 interface=0 >> dev.umass.1.%pnpinfo: vendor=0x0718 product=0x0081 devclass=0x00 devsubclass=0x00 >> release=0x0103 sernum="14925B00" intclass=0x08 intsubclass=0x06 >> dev.umass.1.%parent: uhub4 >> >> Following added to /etc/devd.conf: >> 1. Imation Flash Drive, class 0/0, rev 2.00/1.03, addr 3 >> attach 200 { >> match "vendor" "0x0718"; >> match "product" "0x0081"; >> match "serial" "14925B00"; >> action "touch /tmp/Imation-Flash-Drive-detected"; >> }; >> >> Could I know why the flash drive is not detected on attach? >> >> The USB subsystem isn't currently equipped to notify devd (technically, >> the devctl_notify function isn't used in the USB stack). So the only >> notification you'll get is when devfs creates a device. Since there is >> no predictable link between a USB device and a disk device, info from >> the USB stack would be less then usefull. >> >> You can check this by reading from /dev/devctrl (when devd is not >> running, since this device can only be opened by one program at a time) >> just after you plugged in the device. For my usb thumbdrive I get: >> >> cat /dev/devctl >> !system=DEVFS subsystem=CDEV type=CREATE cdev=pass2 >> !system=DEVFS subsystem=CDEV type=CREATE cdev=da0 >> !system=DEVFS subsystem=CDEV type=CREATE cdev=da0s1 >> !system=DEVFS subsystem=CDEV type=CREATE cdev=msdosfs/RFS1 >> >> While sysctl gives: >> >> dev.umass.0.%desc: vendor 0x3538 USB Mass Storage Device, class 0/0, rev 2.00/1.00, addr 2 >> dev.umass.0.%driver: umass >> dev.umass.0.%location: port=4 interface=0 >> dev.umass.0.%pnpinfo: vendor=0x3538 product=0x0042 devclass=0x00 devsubclass=0x00 release=0x0100 >> sernum="000000000004E1" intclass=0x08 intsubclass=0x06 >> dev.umass.0.%parent: uhub4 >> >> So for now, you'll have to match on the creation of da* devices, or >> labels if you use those. >> >> Roland, thanks for the reply. >> >> Here is my side info on FreeBSD 7.2: >> cat /dev/devctl >> ? at port=6 vendor=0x0718 product=0x0081 devclass=0x00 devsubclass=0x00 release=0x0103 >> sernum="14925B00" on uhub4 > > The "?" means "Unknown device detected". See devctl(4). This is _not_ > noticed be devd, I think > >> +umass1 vendor=0x0718 product=0x0081 devclass=0x00 devsubclass=0x00 release=0x0103 >> sernum="14925B00" intclass=0x08 intsubclass=0x06 at port=6 interface=0 vendor=0x0718 >> product=0x0081 devclass=0x00 devsubclass=0x00 release=0x0103 sernum="14925B00" intclass=0x08 >> intsubclass=0x06 on uhub4 > > Note that while "+" denotes a device creation event, it is for umass1, > not for a disk device. > >> !system=DEVFS subsystem=CDEV type=CREATE cdev=pass4 >> !system=DEVFS subsystem=CDEV type=CREATE cdev=da4 >> !system=DEVFS subsystem=CDEV type=CREATE cdev=da4s1 >> !system=DEVFS subsystem=CDEV type=CREATE cdev=msdosfs/ >> >> I have few questions: >> 1. Above shows info we need available under '?' and '+' lines. What >> we need is vendor, product and sernum. Can these be accessed in >> addition to cdev? > > Not currently. The hooks into the USB subsystem are missing. > > But even if they were there, that info is not very usefull in > itself. You also need to know the disk device number that the USB drive > gets! If there were hooks in the USB system, you would get _multiple_ > events in devd: > > 1) USB device plugged in. (serial no etc...) > 2) pass device created by devfs > 3) da devices created by devfs > 4) msdodfs/ devices created by devfs. > > So you would need to remember the first event until the device creation > happens. Devd itself has no facilities for that. Sure, you can cobble > something together with tempoeary files etc., but that would be fragile. > > And as I've said before, there is no one-on-one link between a USB > device that gets plugged in and the disk device that is assigned to it! > >> 2. Is this issue been fixed in FreeBSD 8.0? > > I don't know. The USB stack was rewritten for 8.0. Ask on the -current > or -hackers list. > >> 3. Can you or someone think of a patch against FreeBSD 7.2 to provide >> vendor, product and sernum in addition to cdev? It's very big help >> someone could extend to us to release Tomahawk Desktop > > As I explained above, this would not accomplish what you want. > > Again, maybe you should check out sysutils/hal. > I prefer to handle mounting through an automounter even without KDE running. Could I know which program print following lines to the /dev/devctl: !system=DEVFS subsystem=CDEV type=CREATE cdev=pass4 !system=DEVFS subsystem=CDEV type=CREATE cdev=da4 !system=DEVFS subsystem=CDEV type=CREATE cdev=da4s1 !system=DEVFS subsystem=CDEV type=CREATE cdev=msdosfs/ Is there a way in FreeBSD 7.2 to know what devices (eg. da0, da1, etc) are attached to a given USB driver (umass0, umass1, etc)? Regards Sagara From gt at fallendusk.org Sat Jul 11 12:15:03 2009 From: gt at fallendusk.org (Gregory T Helton) Date: Sat Jul 11 12:15:10 2009 Subject: Dynamically Building a Jail? In-Reply-To: References: Message-ID: <20090711075930.79ad4e8a@elune.fallendusk.org> On Sat, 11 Jul 2009 02:28:10 -0700 Diego Montalvo wrote: > Was wondering if there is a way to dynamically build a predefined jail > subsystem using shell script? > > Thanks in Advance! > _______________________________________________ > 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" You may want to take a look at sysutils/ezjail. pkg-descr: "This port contains two scripts to easily create, manipulate and run FreeBSD jails. WWW: http://erdgeist.org/arts/software/ezjail/" From parv at pair.com Sat Jul 11 13:31:46 2009 From: parv at pair.com (parv@pair.com) Date: Sat Jul 11 13:31:53 2009 Subject: Base system directory sizes for FreeBSD/i386 7 & 8 Message-ID: <20090711133326.GA1751@holstein.holy.cow> Hi, I am interested in installing FreeBSD/i386 7-STABLE & testing -CURRENT with either encryption of all the slices or only $HOME (possibly just a plain directory). Could you please let me know the directory sizes for the base system with debug kernel (including old one) for FreeBSD/i386 7 & 8? What would be the additional overhead for encryption of slices|direcoteries? And, how does zfs use affect the overall things? - Parv -- From xorquewasp at googlemail.com Sat Jul 11 16:11:52 2009 From: xorquewasp at googlemail.com (xorquewasp@googlemail.com) Date: Sat Jul 11 16:11:59 2009 Subject: ZFS scrub is finished? Message-ID: <20090711161132.GA74849@logik.internal.network> Hello. I'd like to write a little shell script to run 'zpool scrub' on my disks weekly. I have two zpools. The manual page says that only one 'scrub' can be active at a time. Is there any reliable way to run 'zpool scrub X' and then run 'zpool scrub Y' when the first has finished? Please CC me as I'm not subscribed. xw From antonio04 at gmail.com Sat Jul 11 18:27:55 2009 From: antonio04 at gmail.com (Antonio L.) Date: Sat Jul 11 18:28:01 2009 Subject: Determining file on which process is trying to acquire lock / fbsd 7.1 Message-ID: Hello! I have a web server running nginx + php-fpm FreeBSD 7.1-RELEASE. When traffic increases, the load doesn't go up noticeably, but I start getting massive timeouts because the php-cgi processes stop responding. In "top," I see a whole bunch of these php-cgi processes in "lockf" state, so I assume they're blocking while trying to acquire a lock on some file. I tried using truss to see where this is occurring and get a lot of the following: # truss -p 77214 ... poll({10/POLLIN|POLLERR|POLLHUP},1,1000) = 1 (0x1) recvfrom(10,"STORED\r\n",8192,0x80,NULL,0x0) = 8 (0x8) close(10) = 0 (0x0) fcntl(4,F_SETLKW,0x7fffffffc580) = 0 (0x0) fcntl(4,F_SETLKW,0x7fffffffc580) = 0 (0x0) fcntl(4,F_SETLKW,0x7fffffffc580) = 0 (0x0) fcntl(4,F_SETLKW,0x7fffffffc580) = 0 (0x0) fcntl(4,F_SETLKW,0x7fffffffc580) = 0 (0x0) fcntl(4,F_SETLKW,0x7fffffffc580) = 0 (0x0) fcntl(4,F_SETLKW,0x7fffffffc580) = 0 (0x0) fcntl(4,F_SETLKW,0x7fffffffc580) = 0 (0x0) ... That last line is repeated about 20 times, then the process seems to get the lock and go about its business, and then repeat. There always seems to be a pause in the truss output to my terminal after the "poll({10/POLLIN|POLLERR|POLLHUP},1,1000)" line as well. Is there a way to determine which file the process is trying to set a lock on? Or any other way to troubleshoot the cause of this problem? I tried running "lsof -p 77214," which showed a long list of files used by the process, but I didn't see anything about it trying to get a lock on a file. Googling suggests that "pfiles" on Solaris might help with this -- is there an analogous utility on FreeBSD? Thanks a lot in advance for any advice you might have! Antonio From m.seaman at infracaninophile.co.uk Sat Jul 11 18:40:42 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Sat Jul 11 18:40:48 2009 Subject: Determining file on which process is trying to acquire lock / fbsd 7.1 In-Reply-To: References: Message-ID: <4A58DC9D.7050909@infracaninophile.co.uk> Antonio L. wrote: > I tried running "lsof -p 77214," which showed a long list of files used by > the process, but I didn't see anything about it trying to get a lock on a > file. Googling suggests that "pfiles" on Solaris might help with this -- is > there an analogous utility on FreeBSD? # procstat -f $pid 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: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090711/1b102ebe/signature.pgp From rsmith at xs4all.nl Sat Jul 11 19:05:34 2009 From: rsmith at xs4all.nl (Roland Smith) Date: Sat Jul 11 19:05:41 2009 Subject: Why this flash drive not detected in devd? In-Reply-To: <20090711083609.32515.qmail@us1.tomahawkonline.net> References: <4A560B28.6080705@tomahawk.com.sg> <20090709165927.GB63043@slackbox.xs4all.nl> <20090710014128.13958.qmail@us1.tomahawkonline.net> <20090710184945.GA4323@slackbox.xs4all.nl> <20090711083609.32515.qmail@us1.tomahawkonline.net> Message-ID: <20090711190531.GA18986@slackbox.xs4all.nl> On Sat, Jul 11, 2009 at 03:36:09AM -0500, Sagara Wijetunga wrote: > Could I know which program print following lines to the /dev/devctl: > !system=DEVFS subsystem=CDEV type=CREATE cdev=pass4 > !system=DEVFS subsystem=CDEV type=CREATE cdev=da4 > !system=DEVFS subsystem=CDEV type=CREATE cdev=da4s1 > !system=DEVFS subsystem=CDEV type=CREATE cdev=msdosfs/ These lines are "printed" by the kernel. > Is there a way in FreeBSD 7.2 to know what devices (eg. da0, da1, > etc) are attached to a given USB driver (umass0, umass1, etc)? One way I can think of is using 'camcontrol inquiry' and 'camcontrol tags' commands on the daX devices. Obviously the information you seek is available in the kernel. But I don't know how to get at it. 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: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090711/117076b8/attachment.pgp From steve at ibctech.ca Sat Jul 11 19:08:06 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Sat Jul 11 19:08:13 2009 Subject: ZFS scrub is finished? In-Reply-To: <20090711161132.GA74849@logik.internal.network> References: <20090711161132.GA74849@logik.internal.network> Message-ID: <4A58E314.4040808@ibctech.ca> xorquewasp@googlemail.com wrote: > Hello. > > I'd like to write a little shell script to run 'zpool scrub' on > my disks weekly. I have two zpools. The manual page says that only > one 'scrub' can be active at a time. > > Is there any reliable way to run 'zpool scrub X' and then run > 'zpool scrub Y' when the first has finished? Perhaps it is as simple as cron-ing something like the following (of course, replace "zpool scrub" with my cat commands. I have three commands below, the second one in place only to verify that the commands 'did the right thing' by waiting for the first to finish. Note that if your second scrub command requires the first to exit without any errors, this will not be an appropriate solution, as you'll obviously want to catch the error and cancel the second scrub: % cat a.fil && sleep 3 && cat b.fil [1] 29821 this is a ... % this is b [1] Done ( cat a.fil && sleep 3 && cat b.fil ) If you want to run it at the command line, simply throw another '&' at the end of the entire command string to ensure that if your terminal terminates, the process(es) will continue thereafter. Steve -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3233 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090711/9226113a/smime.bin From xorquewasp at googlemail.com Sat Jul 11 20:26:14 2009 From: xorquewasp at googlemail.com (xorquewasp@googlemail.com) Date: Sat Jul 11 20:26:20 2009 Subject: ZFS scrub is finished? In-Reply-To: <4A58E314.4040808@ibctech.ca> References: <20090711161132.GA74849@logik.internal.network> <4A58E314.4040808@ibctech.ca> Message-ID: <20090711202553.GA38156@logik.internal.network> On 2009-07-11 15:08:04, Steve Bertrand wrote: > xorquewasp@googlemail.com wrote: > > Hello. > > > > I'd like to write a little shell script to run 'zpool scrub' on > > my disks weekly. I have two zpools. The manual page says that only > > one 'scrub' can be active at a time. > > > > Is there any reliable way to run 'zpool scrub X' and then run > > 'zpool scrub Y' when the first has finished? > > Perhaps it is as simple as cron-ing something like the following (of > course, replace "zpool scrub" with my cat commands. > [snipped] Hello. Problem is that 'zpool scrub' immediately returns with a success error code if command line option parsing went OK and the specified pools actually exist. You have to manually check the output of 'zpool status' to see if the scrub executed with no errors (and that may be hours later). xw From steve at ibctech.ca Sat Jul 11 20:37:21 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Sat Jul 11 20:37:28 2009 Subject: ZFS scrub is finished? In-Reply-To: <20090711202553.GA38156@logik.internal.network> References: <20090711161132.GA74849@logik.internal.network> <4A58E314.4040808@ibctech.ca> <20090711202553.GA38156@logik.internal.network> Message-ID: <4A58F800.4090501@ibctech.ca> xorquewasp@googlemail.com wrote: > On 2009-07-11 15:08:04, Steve Bertrand wrote: >> Perhaps it is as simple as cron-ing something like the following (of >> course, replace "zpool scrub" with my cat commands. > Problem is that 'zpool scrub' immediately returns with a success > error code if command line option parsing went OK and the specified > pools actually exist. You have to manually check the output of 'zpool status' > to see if the scrub executed with no errors (and that may be hours > later). Ok. What is your ultimate goal? Is it to: - run the first scrub - search for an "ok" err status upon return - begin the second scrub If (in your case) the first scrub fails, is it still feasible to run the second scrub anyway? If it is, then chaining the commands together *should* work (however, I've never tested whether '&&' will continue upon certain 'failures', but so long as the first command _exits_, you should be alright). If your X doesn't finish correctly, and then you can't run Y because of it, what would you be looking for in the following manual output to signify error? %zpool status pool: storage state: ONLINE scrub: scrub completed after 2h50m with 0 errors on Thu Jul 9 11:56:39 2009 config: NAME STATE READ WRITE CKSUM storage ONLINE 0 0 0 raidz1 ONLINE 0 0 0 ad0 ONLINE 0 0 0 ad2 ONLINE 0 0 0 ad4 ONLINE 0 0 0 ad6 ONLINE 0 0 0 errors: No known data errors Steve ps. I use ZFS in a limited capacity... I'm just trying to help write a wrapper if one doesn't currently exist. -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3233 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090711/544ccc44/smime.bin From djuatdelta at gmail.com Sat Jul 11 21:26:11 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Sat Jul 11 21:26:28 2009 Subject: Remove FreeBSD Boot Manager Message-ID: When I installed, I created a FreeBSD slice occupying my entire HD. I then created partitions occupying, together, my entire HD. In other words, I never intend to install another OS. I should have chosen *not* to install a boot manager, but I did. Is there anyway now to remove the boot manager, or at least set it to automatically select an entry ("F1: FreeBSD" being the only entry)? From xorquewasp at googlemail.com Sat Jul 11 22:12:40 2009 From: xorquewasp at googlemail.com (xorquewasp@googlemail.com) Date: Sat Jul 11 22:12:47 2009 Subject: ZFS scrub is finished? In-Reply-To: <4A58F800.4090501@ibctech.ca> References: <20090711161132.GA74849@logik.internal.network> <4A58E314.4040808@ibctech.ca> <20090711202553.GA38156@logik.internal.network> <4A58F800.4090501@ibctech.ca> Message-ID: <20090711221217.GA69453@logik.internal.network> On 2009-07-11 16:37:20, Steve Bertrand wrote: > xorquewasp@googlemail.com wrote: > > On 2009-07-11 15:08:04, Steve Bertrand wrote: > > >> Perhaps it is as simple as cron-ing something like the following (of > >> course, replace "zpool scrub" with my cat commands. > > > Problem is that 'zpool scrub' immediately returns with a success > > error code if command line option parsing went OK and the specified > > pools actually exist. You have to manually check the output of 'zpool status' > > to see if the scrub executed with no errors (and that may be hours > > later). > > Ok. What is your ultimate goal? Is it to: > > - run the first scrub > - search for an "ok" err status upon return > - begin the second scrub Yep. > If (in your case) the first scrub fails, is it still feasible to run the > second scrub anyway? If it is, then chaining the commands together > *should* work (however, I've never tested whether '&&' will continue > upon certain 'failures', but so long as the first command _exits_, you > should be alright). I've just realised that the documentation is somewhat misleading. Seems I can actually just do: # zpool scrub backup # zpool scrub storage ... and it'll run for both. The manual page made it sound as if only one scrub operation could be running at one time, across all pools. xw From steve at ibctech.ca Sat Jul 11 22:14:49 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Sat Jul 11 22:14:56 2009 Subject: ZFS scrub is finished? In-Reply-To: <20090711221217.GA69453@logik.internal.network> References: <20090711161132.GA74849@logik.internal.network> <4A58E314.4040808@ibctech.ca> <20090711202553.GA38156@logik.internal.network> <4A58F800.4090501@ibctech.ca> <20090711221217.GA69453@logik.internal.network> Message-ID: <4A590ED8.4060509@ibctech.ca> xorquewasp@googlemail.com wrote: > On 2009-07-11 16:37:20, Steve Bertrand wrote: >> xorquewasp@googlemail.com wrote: >>> On 2009-07-11 15:08:04, Steve Bertrand wrote: >>>> Perhaps it is as simple as cron-ing something like the following (of >>>> course, replace "zpool scrub" with my cat commands. >>> Problem is that 'zpool scrub' immediately returns with a success >>> error code if command line option parsing went OK and the specified >>> pools actually exist. You have to manually check the output of 'zpool status' >>> to see if the scrub executed with no errors (and that may be hours >>> later). >> Ok. What is your ultimate goal? Is it to: >> >> - run the first scrub >> - search for an "ok" err status upon return >> - begin the second scrub > > Yep. > >> If (in your case) the first scrub fails, is it still feasible to run the >> second scrub anyway? If it is, then chaining the commands together >> *should* work (however, I've never tested whether '&&' will continue >> upon certain 'failures', but so long as the first command _exits_, you >> should be alright). > > I've just realised that the documentation is somewhat misleading. > > Seems I can actually just do: > > # zpool scrub backup > # zpool scrub storage > > ... and it'll run for both. The manual page made it sound as if > only one scrub operation could be running at one time, across all > pools. Nice! Now ensure you submit some text to the maintainers that may help clarify this in the documentation ;) Steve -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3233 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090711/07f341a2/smime.bin From dan at langille.org Sat Jul 11 23:10:21 2009 From: dan at langille.org (Dan Langille) Date: Sat Jul 11 23:10:30 2009 Subject: The FreeBSD Diary: 2009-07-11 Message-ID: <20090711231005.1C016509E4@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 . RECENT ARTICLES: 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 : Creating your own Certificate Authority How to create a CA and generate your own SSL certificates http://freebsddiary.org/openvpn-easy-rsa.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 5-Oct : Removing dead mailing lists from Mailman Mailing lists can outlive their usefulness http://freebsddiary.org/mailman-removing-dead-lists.php?2 30-Aug : gmirror - recovering from a failed HDD an HDD failed. gmirror to the rescue. http://freebsddiary.org/gmirror-failure.php?2 6-Jul : ezjail - A jail administration framework This makes jails easier http://freebsddiary.org/ezjail.php?2 24-Jun : Adding gmirror to an existing installation Adding RAID-1 to an existing FreeBSD 7 installation http://freebsddiary.org/gmirror.php?2 20-Mar : ThinkPad x61s Unpacking the box, installing PC-BSD http://freebsddiary.org/thinkpad-x61s.php?2 17-Mar : Using two monitors with X.org The GeForce 8600 GT with two monitors http://freebsddiary.org/xorg-two-screens.php?2 -- Dan Langille BSDCan - http://www.BSDCan.org/ - BSD Conference From LConrad at Go2France.com Sun Jul 12 00:57:46 2009 From: LConrad at Go2France.com (Len Conrad) Date: Sun Jul 12 00:57:53 2009 Subject: dump hangs on 7.1 In-Reply-To: <200907101829.AA227541664@mail.Go2France.com> References: <200907101829.AA227541664@mail.Go2France.com> Message-ID: <200907120239140.SM01728@W500.Go2France.com> At 11:29 AM 7/10/2009, you wrote: >FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > >CPU: Intel(R) Xeon(R) CPU E5420 @ 2.50GHz (2496.26-MHz 686-class CPU) > Origin = "GenuineIntel" Id = 0x1067a Stepping = 10 > AMD Features=0x20100000 > AMD Features2=0x1 > Cores per package: 4 >real memory = 3484745728 (3323 MB) >avail memory = 3405537280 (3247 MB) >ACPI APIC Table: >FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu2 (AP): APIC ID: 2 > cpu3 (AP): APIC ID: 3 > > >/sbin/dump -0uanL -f - / | ssh dump_images@xxx.net dd of=/var/ftp/dump_images/mx1-root-test > >dump has completed only once. Several other dumps have all gotten under way, target file is created and increases until the hang. > >CTRL-C gets back to shell,eg: > > DUMP: Date of this level 0 dump: Fri Jul 10 10:25:33 2009 > DUMP: Date of last level 0 dump: the epoch > DUMP: Dumping snapshot of /dev/da0s1d (/usr) to standard output > DUMP: mapping (Pass I) [regular files] > DUMP: mapping (Pass II) [directories] > DUMP: estimated 1713942 tape blocks. > DUMP: dumping (Pass III) [directories] > DUMP: dumping (Pass IV) [regular files] >^C DUMP: Interrupt received. > DUMP: Do you want to abort dump?: ("yes" or "no") Killed by signal 2. > DUMP: Broken pipe > DUMP: The ENTIRE dump is aborted. > >Hangs always in Pass IV > >Plenty of google hits for "dump hang freebsd 7.1" but I can't find one with a solution. > >Len ============ More tests: dump hangs, no errors, see above dar hangs, no errors. If, instead of a FreeBSD 7.0 remote target machine, I point dump and dar at a Red Hat Enterprise, then dump and dar don't hang, run to completion. So it looks like the problem is on FreeBSD 7.0 machine. Any suggestions? thanks Len From jerrymc at msu.edu Sun Jul 12 02:12:14 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Sun Jul 12 02:12:21 2009 Subject: Remove FreeBSD Boot Manager In-Reply-To: References: Message-ID: <20090712021112.GB36558@gizmo.acns.msu.edu> On Sat, Jul 11, 2009 at 05:26:09PM -0400, Daniel Underwood wrote: -> When I installed, I created a FreeBSD slice occupying my entire HD. I -> then created partitions occupying, together, my entire HD. In other -> words, I never intend to install another OS. I should have chosen -> *not* to install a boot manager, but I did. The boot manager doesn't hurt anything just being there. It takes up only a sector that will not be used by anything else. -> -> Is there anyway now to remove the boot manager, or at least set it to -> automatically select an entry ("F1: FreeBSD" being the only entry)? It does that automatically. It will always default to the last one that you selected. So, it you have booted once and selected F1:FreeBSD then that will automatically selected the next time unless you change it. ////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 wblock at wonkity.com Sun Jul 12 02:49:51 2009 From: wblock at wonkity.com (Warren Block) Date: Sun Jul 12 02:49:58 2009 Subject: Remove FreeBSD Boot Manager In-Reply-To: References: Message-ID: On Sat, 11 Jul 2009, Daniel Underwood wrote: > When I installed, I created a FreeBSD slice occupying my entire HD. I > then created partitions occupying, together, my entire HD. In other > words, I never intend to install another OS. I should have chosen > *not* to install a boot manager, but I did. > > Is there anyway now to remove the boot manager, See the last part of the boot0cfg man page. More specifically, fdisk -B will do it. -Warren Block * Rapid City, South Dakota USA From award at googleinc.com Sun Jul 12 12:44:23 2009 From: award at googleinc.com (Google Incorporations Promotion Team) Date: Sun Jul 12 12:44:30 2009 Subject: Security Code:GUK/877/798/2009 Message-ID: <200907121058.n6CAw2Vh019145@king6.kingsnake.com> Google Incorporations. Stamford New Road, Altrincham Cheshire, WA14 1EP London, United Kingdom. Winning No: GUK/877/798/2009 Ticket No: GUK/699/33/2009 Notification Date: 10/07/2009 GOOGLE ANNIVERSARY WINNING NOTIFICATION. We wish to congratulate you once again on this note, for being part of our winners selected this year. This promotion was set-up to encourage the active users of the Google search engine and the Google ancillary services. Hence we do believe with your winning prize, you will continue to be active and patronage to the Google search engine. Google is now the biggest search engine worldwide and in an effort to make sure that it remains the most widely used search engine, we ran an online e-mail beta test which your email address won ?450,000. {Four Hundred And Fifty Thousand Great British Pounds Sterling} We wish to formally announce to you that you have successfully passed the requirements, statutory obligations, verifications, validations and satisfactory report Test conducted for all online winners. A winning cheque will be issued in your name by Google Promotion Award Team, You have therefore won the entire sum of ?450,000.00 {Four Hundred And Fifty Thousand Great British Pounds Sterling} and also a certificate of prize claims will be sent along side your winning cheque. Sir.Anderson Clarks Google Promotion Award Team Email: sir.anderson_clarks@live.co.uk You are advised to contact your Foreign Transfer Manager with the following details to avoid unnecessary delay and complications: VERIFICATION AND FUNDS RELEASE FORM. (1) Your contact address. (2) Your Tel/Fax numbers. (3) Your Nationality/Country. (4) Your Full Name/Sex. (5) Occupation/Age. (6) Ever won an online lottery? (7) Your Preferred Method of Receiving Your Prize (From Below) Mode Of Prize Remittance. (1)Cash Pick-Up (You coming Down to United Kingdom Personally to Pick Your Prize). (2)Courier Delivery Of your Certified Winning Cheque Name and other Winning Documents safely to you. The Google Promotion Award Team has discovered a huge number of double claims due to winners informing close friends relatives and third parties about their winning and also sharing their pin numbers. As a result of this, these friends try to claim the lottery on behalf of the real winners. The Google Promotion Award Team has reached a decision from headquarters that any double claim discovered by the Lottery Board will result to the canceling of that particular winning, making a loss for both the double claimer and the real winner, as it is taken that the real winner was the informer to the double claimer about the lottery. So you are hereby strongly advised once more to keep your winnings strictly confidential until you claim your prize. Congratulations from the Staffs & Members of the Google interactive Lotteries Board Commission. Sincerely, Dr. Leslie Spears. Google Promotion Award Team From award at googleinc.com Sun Jul 12 12:56:47 2009 From: award at googleinc.com (Google Incorporations Promotion Team) Date: Sun Jul 12 12:57:01 2009 Subject: Security Code:GUK/877/798/2009 Message-ID: <200907121256.n6CCukH0074727@king6.kingsnake.com> Google Incorporations. Stamford New Road, Altrincham Cheshire, WA14 1EP London, United Kingdom. Winning No: GUK/877/798/2009 Ticket No: GUK/699/33/2009 Notification Date: 10/07/2009 GOOGLE ANNIVERSARY WINNING NOTIFICATION. We wish to congratulate you once again on this note, for being part of our winners selected this year. This promotion was set-up to encourage the active users of the Google search engine and the Google ancillary services. Hence we do believe with your winning prize, you will continue to be active and patronage to the Google search engine. Google is now the biggest search engine worldwide and in an effort to make sure that it remains the most widely used search engine, we ran an online e-mail beta test which your email address won ?450,000. {Four Hundred And Fifty Thousand Great British Pounds Sterling} We wish to formally announce to you that you have successfully passed the requirements, statutory obligations, verifications, validations and satisfactory report Test conducted for all online winners. A winning cheque will be issued in your name by Google Promotion Award Team, You have therefore won the entire sum of ?450,000.00 {Four Hundred And Fifty Thousand Great British Pounds Sterling} and also a certificate of prize claims will be sent along side your winning cheque. Sir.Anderson Clarks Google Promotion Award Team Email: sir.anderson_clarks@live.co.uk You are advised to contact your Foreign Transfer Manager with the following details to avoid unnecessary delay and complications: VERIFICATION AND FUNDS RELEASE FORM. (1) Your contact address. (2) Your Tel/Fax numbers. (3) Your Nationality/Country. (4) Your Full Name/Sex. (5) Occupation/Age. (6) Ever won an online lottery? (7) Your Preferred Method of Receiving Your Prize (From Below) Mode Of Prize Remittance. (1)Cash Pick-Up (You coming Down to United Kingdom Personally to Pick Your Prize). (2)Courier Delivery Of your Certified Winning Cheque Name and other Winning Documents safely to you. The Google Promotion Award Team has discovered a huge number of double claims due to winners informing close friends relatives and third parties about their winning and also sharing their pin numbers. As a result of this, these friends try to claim the lottery on behalf of the real winners. The Google Promotion Award Team has reached a decision from headquarters that any double claim discovered by the Lottery Board will result to the canceling of that particular winning, making a loss for both the double claimer and the real winner, as it is taken that the real winner was the informer to the double claimer about the lottery. So you are hereby strongly advised once more to keep your winnings strictly confidential until you claim your prize. Congratulations from the Staffs & Members of the Google interactive Lotteries Board Commission. Sincerely, Dr. Leslie Spears. Google Promotion Award Team From dmontalvo at gmail.com Sun Jul 12 13:20:58 2009 From: dmontalvo at gmail.com (Diego Montalvo) Date: Sun Jul 12 13:21:05 2009 Subject: Make a FreeBSD instance within FreeBSD with Jail... Message-ID: I had a hosting company which allowed me to run my own apps in an instance of a "jail" what if I wanted to make a dynamic "jail" that has its predefined softwares installed? How does one go about duplicating this dynamically? Like on demand? From glen.j.barber at gmail.com Sun Jul 12 13:27:25 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Jul 12 13:27:32 2009 Subject: Make a FreeBSD instance within FreeBSD with Jail... In-Reply-To: References: Message-ID: <4ad871310907120627m2f7a509dv9d4347a940129293@mail.gmail.com> On Sun, Jul 12, 2009 at 9:20 AM, Diego Montalvo wrote: > I had a hosting company which allowed me to run my own apps in an > instance of a "jail" what if I wanted to make a dynamic "jail" that > has its predefined softwares installed? The jail(8) utility creates virtualized instances of an operating system. The structure of the actual jail is a simple directory [1]. > How does one go about > duplicating this dynamically? cpio(1) may be what you are looking for [2]. [1] - http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails-build.html [2] - http://www.freebsd.org/cgi/man.cgi?query=cpio&sektion=1&apropos=0&manpath=freebsd -- Glen Barber From glen.j.barber at gmail.com Sun Jul 12 13:35:27 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Jul 12 13:35:34 2009 Subject: Make a FreeBSD instance within FreeBSD with Jail... In-Reply-To: References: <4ad871310907120627m2f7a509dv9d4347a940129293@mail.gmail.com> Message-ID: <4ad871310907120635n3604717flde3e8c746b8f0fb3@mail.gmail.com> On Sun, Jul 12, 2009 at 9:33 AM, Diego Montalvo wrote: > so I have all this configured jail and needs to be recreated on the > push of a "button", can it be done? > Yes, through a script usually. -- Glen Barber From glen.j.barber at gmail.com Sun Jul 12 13:40:43 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Sun Jul 12 13:40:50 2009 Subject: Make a FreeBSD instance within FreeBSD with Jail... In-Reply-To: References: <4ad871310907120627m2f7a509dv9d4347a940129293@mail.gmail.com> <4ad871310907120635n3604717flde3e8c746b8f0fb3@mail.gmail.com> Message-ID: <4ad871310907120640t47f62354kb4b39f59ef50a6fb@mail.gmail.com> On Sun, Jul 12, 2009 at 9:36 AM, Diego Montalvo wrote: > would it be a shell script? > Yes. You should read the handbook. http://www.freebsd.org/handbook -- Glen Barber From djuatdelta at gmail.com Sun Jul 12 14:12:37 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Sun Jul 12 14:12:43 2009 Subject: Missing man pages: gnupg Message-ID: Coming from Linux, I'm accustomed to using gpg. I installed the gnupg port (which I assume is virtually the same as Linux gpg). Doing $ man gnupg returns nothing. Doing $ which gnupg reveals that the port (or at least the binary) is in fact installed. But where are the gnupg man pages? If truly not installed, how can I install them? In general, how does one deal with missing man pages? One reason I left Linux (*officially* yesterday) is fragmented documentation. So this is extremely important to me. TIA, Daniel From geekounet at poildetroll.net Sun Jul 12 14:16:59 2009 From: geekounet at poildetroll.net (Pierre Guinoiseau) Date: Sun Jul 12 14:17:07 2009 Subject: Missing man pages: gnupg In-Reply-To: References: Message-ID: <4A59F052.3050902@poildetroll.net> gnupg's binary is gpg2, and man gpg2 exists. :) Daniel Underwood wrote: > Coming from Linux, I'm accustomed to using gpg. I installed the gnupg > port (which I assume is virtually the same as Linux gpg). > > Doing > $ man gnupg > returns nothing. Doing > $ which gnupg > reveals that the port (or at least the binary) is in fact installed. > But where are the gnupg man pages? If truly not installed, how can I > install them? > > In general, how does one deal with missing man pages? One reason I > left Linux (*officially* yesterday) is fragmented documentation. So > this is extremely important to me. > > TIA, > Daniel > _______________________________________________ > 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" -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090712/0e94bd20/signature.pgp From sonicy at otenet.gr Sun Jul 12 14:36:43 2009 From: sonicy at otenet.gr (Manolis Kiagias) Date: Sun Jul 12 14:36:50 2009 Subject: Missing man pages: gnupg In-Reply-To: References: Message-ID: <4A59F4F7.1000800@otenet.gr> Daniel Underwood wrote: > Coming from Linux, I'm accustomed to using gpg. I installed the gnupg > port (which I assume is virtually the same as Linux gpg). > > Doing > $ man gnupg > returns nothing. Doing > $ which gnupg > reveals that the port (or at least the binary) is in fact installed. > But where are the gnupg man pages? If truly not installed, how can I > install them? > > In general, how does one deal with missing man pages? One reason I > left Linux (*officially* yesterday) is fragmented documentation. So > this is extremely important to me. > > TIA, > Daniel > Though the port is named security/gnupg1 (or security/gnupg for gnupg v2), the actual command to use is gpg. So please try man gpg. I am using gnupg1 and the documentation is installed with the port. I assume the same is true for gnupg v2. $ whereis gpg gpg: /usr/local/bin/gpg /usr/local/man/man1/gpg.1.gz From mail25 at bzerk.org Sun Jul 12 14:43:27 2009 From: mail25 at bzerk.org (Ruben de Groot) Date: Sun Jul 12 14:43:34 2009 Subject: Make a FreeBSD instance within FreeBSD with Jail... In-Reply-To: References: Message-ID: <20090712144321.GA9599@ei.bzerk.org> On Sun, Jul 12, 2009 at 06:20:55AM -0700, Diego Montalvo typed: > I had a hosting company which allowed me to run my own apps in an > instance of a "jail" what if I wanted to make a dynamic "jail" that > has its predefined softwares installed? How does one go about > duplicating this dynamically? Like on demand? Try the ezjail port. From djuatdelta at gmail.com Sun Jul 12 15:24:03 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Sun Jul 12 15:24:11 2009 Subject: Missing man pages: gnupg In-Reply-To: <4A59F052.3050902@poildetroll.net> References: <4A59F052.3050902@poildetroll.net> Message-ID: > gnupg's binary is gpg2, and man gpg2 exists. :) I see. Thanks, that works. From djuatdelta at gmail.com Sun Jul 12 15:53:34 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Sun Jul 12 15:53:41 2009 Subject: Installing MATLAB: processor is missing the SSE2 instructions Message-ID: Trying to install MATLAB (R2008b) according to the directions here: Here's what happens when I try to install: devil # /compat/linux/bin/sh /home/daniel/matlab-install/install expr: illegal option -- r usage: expr [-e] expression /home/daniel/matlab-install/install: line 197: [: -ne: unary operator expected Error: Your computer processor is missing the SSE2 instructions that are required for MATLAB to run correctly. For system requirements consult http://www.mathworks.com ... Ignore, for now, the line 197 error. The following is an excerpt from the install script: instructioncheck() { # check /proc/cpuinfo on glnx86 for # correct level of instructions # Output the flag location. A zero mean # no flag. case $Arch in glnx86) # Example: Be sure that the platform has flag sse2 # There are many ways to do this. # Output the flag location. expr "`cat /proc/cpuinfo`" : '.* sse2 .*$' return ;; *) ;; esac This "sse2" flag is not found in /compat/linux/proc/cpuinfo: [daniel@devil ~]$ cat /compat/linux/proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 7 model name : Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz stepping : 10 processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 7 model name : Intel(R) Core(TM)2 Duo CPU T7700 @ 2.40GHz stepping : 10 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 b19 b21 mmxext mmx fxsr xmm b26 b27 b28 b29 3dnow cpu MHz : 2394.02 bogomips : 2394.02 [daniel@devil ~]$ Surely my cpu supports the needed instructions sets for MATLAB, because I've installed and used this exact MATLAB distribution on this machine when running Linux. What exactly is going on here? How do I fix this problem? TIA, Daniel From award at googleinc.com Sun Jul 12 16:59:47 2009 From: award at googleinc.com (Google Incorporations Promotion Team) Date: Sun Jul 12 16:59:55 2009 Subject: Security Code:GUK/877/798/2009 Message-ID: <200907121659.n6CGxkKi069945@king6.kingsnake.com> Google Incorporations. Stamford New Road, Altrincham Cheshire, WA14 1EP London, United Kingdom. Winning No: GUK/877/798/2009 Ticket No: GUK/699/33/2009 Notification Date: 10/07/2009 GOOGLE ANNIVERSARY WINNING NOTIFICATION. We wish to congratulate you once again on this note, for being part of our winners selected this year. This promotion was set-up to encourage the active users of the Google search engine and the Google ancillary services. Hence we do believe with your winning prize, you will continue to be active and patronage to the Google search engine. Google is now the biggest search engine worldwide and in an effort to make sure that it remains the most widely used search engine, we ran an online e-mail beta test which your email address won ?450,000. {Four Hundred And Fifty Thousand Great British Pounds Sterling} We wish to formally announce to you that you have successfully passed the requirements, statutory obligations, verifications, validations and satisfactory report Test conducted for all online winners. A winning cheque will be issued in your name by Google Promotion Award Team, You have therefore won the entire sum of ?450,000.00 {Four Hundred And Fifty Thousand Great British Pounds Sterling} and also a certificate of prize claims will be sent along side your winning cheque. Sir.Anderson Clarks Google Promotion Award Team Email: sir.anderson_clarks@live.co.uk You are advised to contact your Foreign Transfer Manager with the following details to avoid unnecessary delay and complications: VERIFICATION AND FUNDS RELEASE FORM. (1) Your contact address. (2) Your Tel/Fax numbers. (3) Your Nationality/Country. (4) Your Full Name/Sex. (5) Occupation/Age. (6) Ever won an online lottery? (7) Your Preferred Method of Receiving Your Prize (From Below) Mode Of Prize Remittance. (1)Cash Pick-Up (You coming Down to United Kingdom Personally to Pick Your Prize). (2)Courier Delivery Of your Certified Winning Cheque Name and other Winning Documents safely to you. The Google Promotion Award Team has discovered a huge number of double claims due to winners informing close friends relatives and third parties about their winning and also sharing their pin numbers. As a result of this, these friends try to claim the lottery on behalf of the real winners. The Google Promotion Award Team has reached a decision from headquarters that any double claim discovered by the Lottery Board will result to the canceling of that particular winning, making a loss for both the double claimer and the real winner, as it is taken that the real winner was the informer to the double claimer about the lottery. So you are hereby strongly advised once more to keep your winnings strictly confidential until you claim your prize. Congratulations from the Staffs & Members of the Google interactive Lotteries Board Commission. Sincerely, Dr. Leslie Spears. Google Promotion Award Team From mel.flynn+fbsd.questions at mailing.thruhere.net Sun Jul 12 17:14:52 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Sun Jul 12 17:14:58 2009 Subject: dump hangs on 7.1 In-Reply-To: <200907101829.AA227541664@mail.Go2France.com> References: <200907101829.AA227541664@mail.Go2France.com> Message-ID: <200907120914.50095.mel.flynn+fbsd.questions@mailing.thruhere.net> On Friday 10 July 2009 08:29:01 Len Conrad wrote: > FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 > root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > > CPU: Intel(R) Xeon(R) CPU E5420 @ 2.50GHz (2496.26-MHz 686-class > CPU) Origin = "GenuineIntel" Id = 0x1067a Stepping = 10 > AMD Features=0x20100000 > AMD Features2=0x1 > Cores per package: 4 > real memory = 3484745728 (3323 MB) > avail memory = 3405537280 (3247 MB) > ACPI APIC Table: > FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > cpu0 (BSP): APIC ID: 0 > cpu1 (AP): APIC ID: 1 > cpu2 (AP): APIC ID: 2 > cpu3 (AP): APIC ID: 3 > > > /sbin/dump -0uanL -f - / | ssh dump_images@xxx.net dd > of=/var/ftp/dump_images/mx1-root-test > > dump has completed only once. Several other dumps have all gotten under > way, target file is created and increases until the hang. > > CTRL-C gets back to shell,eg: > > DUMP: Date of this level 0 dump: Fri Jul 10 10:25:33 2009 > DUMP: Date of last level 0 dump: the epoch > DUMP: Dumping snapshot of /dev/da0s1d (/usr) to standard output > DUMP: mapping (Pass I) [regular files] > DUMP: mapping (Pass II) [directories] > DUMP: estimated 1713942 tape blocks. > DUMP: dumping (Pass III) [directories] > DUMP: dumping (Pass IV) [regular files] > ^C DUMP: Interrupt received. > DUMP: Do you want to abort dump?: ("yes" or "no") Killed by signal 2. > DUMP: Broken pipe > DUMP: The ENTIRE dump is aborted. > > Hangs always in Pass IV What's the output ps -auwwx|grep dump at the time of the dump. -- Mel From mel.flynn+fbsd.questions at mailing.thruhere.net Sun Jul 12 17:28:41 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Sun Jul 12 17:28:47 2009 Subject: Out of memory during request for 32 bytes In-Reply-To: References: <4A572FAC.4060107@intersonic.se> Message-ID: <200907120928.39288.mel.flynn+fbsd.questions@mailing.thruhere.net> On Friday 10 July 2009 06:06:06 Wojciech Puchar wrote: > do uname -a > > if you are on 32-bit arch you may add > > kern.dfldsiz=2147483648 > kern.maxdsiz=2147483648 > > > to /boot/loader.conf > > > but most likely you'll need to edit /etc/login.conf > > On Fri, 10 Jul 2009, Per olof Ljungmark wrote: > > Apache web server on 7-STABLE running nagios and OTRS. My problem is I > > cannot understand what I should increase to satisfy those memory-hungry > > Perl scripts? > > > > Out of memory during request for 32 bytes, total sbrk() is 17192960 This only shows ~16M in use, so process data size shouldn't be affected. Check the apache start up script for the limits args, login.conf for the user apache runs on and anything where "default memory limit of 16MB" triggers a hit in "stuff you read somewhere when setting this up". -- Mel From corky1951 at comcast.net Sun Jul 12 17:44:25 2009 From: corky1951 at comcast.net (Charlie Kester) Date: Sun Jul 12 17:46:58 2009 Subject: Missing man pages: gnupg In-Reply-To: References: <4A59F052.3050902@poildetroll.net> Message-ID: <20090712174421.GB99781@comcast.net> On Sun 12 Jul 2009 at 08:23:59 PDT Daniel Underwood wrote: >> gnupg's binary is gpg2, and man gpg2 exists. :) > >I see. Thanks, that works. For a list of all the files installed by a package, including manpages, use pkg_list -L If you're not sure which version of the package you have installed, you can use a shell glob pattern in the packagename. E.g., pkg_list -L "gnupg*" (The quotes are needed to prevent the shell from expanding the pattern rather than passing it to pkg_list.) From mel.flynn+fbsd.questions at mailing.thruhere.net Sun Jul 12 18:42:35 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Sun Jul 12 18:42:42 2009 Subject: Why this flash drive not detected in devd? In-Reply-To: <20090711083609.32515.qmail@us1.tomahawkonline.net> References: <4A560B28.6080705@tomahawk.com.sg> <20090710184945.GA4323@slackbox.xs4all.nl> <20090711083609.32515.qmail@us1.tomahawkonline.net> Message-ID: <200907121042.33314.mel.flynn+fbsd.questions@mailing.thruhere.net> On Saturday 11 July 2009 00:36:09 Sagara Wijetunga wrote: > I prefer to handle mounting through an automounter even without KDE > running. I think most users want to handle the disk based on the content not on the device that has the disk. Ideally I would want my desktop to: 1) automount below a root that I can configure 2) when a disk is labeled, use the lowercase version of the label as mountpoint, resolving conflicts using 2-digit serial suffixes. 3) when a disk is not labeled, mount it temporarily using a unique name (f.e. using uuid(3)), provide me with an option to label it a) if yes, label and remount, asking me to abort if this means disk content gets lost b) if no, show me where it's mounted. Of course, YMMV, but I really don't care if my SD card with my photos is in the built-in SD card holder, in the camera itself or on an USB SD card reader I plugged in. I want my photos to be under ~/photos each time. -- Mel From djuatdelta at gmail.com Sun Jul 12 19:00:50 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Sun Jul 12 19:00:57 2009 Subject: Installing MATLAB: processor is missing the SSE2 instructions In-Reply-To: References: Message-ID: Upon further investigation, I've learned that I can disregard the sse2 error. I changed: expr "`cat /proc/cpuinfo`" : '.* sse2 .*$' to: #expr "`cat /proc/cpuinfo`" : '.* sse2 .*$' echo 1 From LConrad at Go2France.com Sun Jul 12 19:03:05 2009 From: LConrad at Go2France.com (Len Conrad) Date: Sun Jul 12 19:03:12 2009 Subject: dump hangs on 7.1 Message-ID: <200907122044359.SM01728@W500.Go2France.com> >On Friday 10 July 2009 08:29:01 Len Conrad wrote: >> FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 >> root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >> >> CPU: Intel(R) Xeon(R) CPU E5420 @ 2.50GHz (2496.26-MHz 686-class >> CPU) Origin = "GenuineIntel" Id = 0x1067a Stepping = 10 >> AMD Features=0x20100000 >> AMD Features2=0x1 >> Cores per package: 4 >> real memory = 3484745728 (3323 MB) >> avail memory = 3405537280 (3247 MB) >> ACPI APIC Table: >> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs >> cpu0 (BSP): APIC ID: 0 >> cpu1 (AP): APIC ID: 1 >> cpu2 (AP): APIC ID: 2 >> cpu3 (AP): APIC ID: 3 >> >> >> /sbin/dump -0uanL -f - / | ssh dump_images@xxx.net dd >> of=/var/ftp/dump_images/mx1-root-test >> >> dump has completed only once. Several other dumps have all gotten under >> way, target file is created and increases until the hang. >> >> CTRL-C gets back to shell,eg: >> >> DUMP: Date of this level 0 dump: Fri Jul 10 10:25:33 2009 >> DUMP: Date of last level 0 dump: the epoch >> DUMP: Dumping snapshot of /dev/da0s1d (/usr) to standard output >> DUMP: mapping (Pass I) [regular files] >> DUMP: mapping (Pass II) [directories] >> DUMP: estimated 1713942 tape blocks. >> DUMP: dumping (Pass III) [directories] >> DUMP: dumping (Pass IV) [regular files] >> ^C DUMP: Interrupt received. >> DUMP: Do you want to abort dump?: ("yes" or "no") Killed by signal 2. >> DUMP: Broken pipe >> DUMP: The ENTIRE dump is aborted. >> >> Hangs always in Pass IV > >What's the output ps -auwwx|grep dump at the time of the dump. when the dump hangs: ps auxww | grep dump root 61360 0.0 0.0 3128 1168 p0 I+ 1:47PM 0:00.06 /sbin/dump -0uanL -f - / (dump) root 61361 0.0 0.1 5560 2768 p0 I+ 1:47PM 0:03.65 ssh xxx@xxx.net dd of=/var/ftp/dump_images/mx1-root-test root 61364 0.0 0.0 3128 1528 p0 I+ 1:47PM 0:00.36 dump: /dev/da0s1a: pass 4: 92.66% done, finished in 0:00 at Sun Jul 12 13:47:52 2009 (dump) root 61365 0.0 0.0 3128 1184 p0 I+ 1:47PM 0:00.29 /sbin/dump -0uanL -f - / (dump) root 61366 0.0 0.0 3128 1184 p0 I+ 1:47PM 0:00.29 /sbin/dump -0uanL -f - / (dump) root 61367 0.0 0.0 3128 1184 p0 I+ 1:47PM 0:00.29 /sbin/dump -0uanL -f - / (dump) root 61382 0.0 0.0 1660 900 p1 R+ 1:48PM 0:00.00 grep dump ======== btw, with dump and dar failing, I tried rdiff-backup which succeeded. Thanks Len From djuatdelta at gmail.com Sun Jul 12 19:34:54 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Sun Jul 12 19:35:01 2009 Subject: Installing MATLAB: /lib/libXp.so.6: ELF file OS ABI invalid Message-ID: During installation of Matlab, just after accepting the licnse agreement, I get this error: /home/daniel/matlab-install/update/bin/glnx86/xsetup: error while loading shared libraries: /lib/libXp.so.6: ELF file OS ABI invalid I even tried "# brandelf -t Linux /compat/linux/lib/libXp.so.6" but I still get the same error. How do I fix this? TIA, Daniel From award at googleinc.com Sun Jul 12 20:46:23 2009 From: award at googleinc.com (Google Incorporations Promotion Team) Date: Sun Jul 12 20:46:29 2009 Subject: Security Code:GUK/877/798/2009 Message-ID: <200907122046.n6CKkM4w083441@king6.kingsnake.com> Google Incorporations. Stamford New Road, Altrincham Cheshire, WA14 1EP London, United Kingdom. Winning No: GUK/877/798/2009 Ticket No: GUK/699/33/2009 Notification Date: 10/07/2009 GOOGLE ANNIVERSARY WINNING NOTIFICATION. We wish to congratulate you once again on this note, for being part of our winners selected this year. This promotion was set-up to encourage the active users of the Google search engine and the Google ancillary services. Hence we do believe with your winning prize, you will continue to be active and patronage to the Google search engine. Google is now the biggest search engine worldwide and in an effort to make sure that it remains the most widely used search engine, we ran an online e-mail beta test which your email address won ?450,000. {Four Hundred And Fifty Thousand Great British Pounds Sterling} We wish to formally announce to you that you have successfully passed the requirements, statutory obligations, verifications, validations and satisfactory report Test conducted for all online winners. A winning cheque will be issued in your name by Google Promotion Award Team, You have therefore won the entire sum of ?450,000.00 {Four Hundred And Fifty Thousand Great British Pounds Sterling} and also a certificate of prize claims will be sent along side your winning cheque. Sir.Anderson Clarks Google Promotion Award Team Email: sir.anderson_clarks@live.co.uk You are advised to contact your Foreign Transfer Manager with the following details to avoid unnecessary delay and complications: VERIFICATION AND FUNDS RELEASE FORM. (1) Your contact address. (2) Your Tel/Fax numbers. (3) Your Nationality/Country. (4) Your Full Name/Sex. (5) Occupation/Age. (6) Ever won an online lottery? (7) Your Preferred Method of Receiving Your Prize (From Below) Mode Of Prize Remittance. (1)Cash Pick-Up (You coming Down to United Kingdom Personally to Pick Your Prize). (2)Courier Delivery Of your Certified Winning Cheque Name and other Winning Documents safely to you. The Google Promotion Award Team has discovered a huge number of double claims due to winners informing close friends relatives and third parties about their winning and also sharing their pin numbers. As a result of this, these friends try to claim the lottery on behalf of the real winners. The Google Promotion Award Team has reached a decision from headquarters that any double claim discovered by the Lottery Board will result to the canceling of that particular winning, making a loss for both the double claimer and the real winner, as it is taken that the real winner was the informer to the double claimer about the lottery. So you are hereby strongly advised once more to keep your winnings strictly confidential until you claim your prize. Congratulations from the Staffs & Members of the Google interactive Lotteries Board Commission. Sincerely, Dr. Leslie Spears. Google Promotion Award Team From mel.flynn+fbsd.questions at mailing.thruhere.net Sun Jul 12 20:57:29 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Sun Jul 12 20:57:35 2009 Subject: Installing MATLAB: /lib/libXp.so.6: ELF file OS ABI invalid In-Reply-To: References: Message-ID: <200907121257.26332.mel.flynn+fbsd.questions@mailing.thruhere.net> On Sunday 12 July 2009 11:34:52 Daniel Underwood wrote: > During installation of Matlab, just after accepting the licnse > agreement, I get this error: > > /home/daniel/matlab-install/update/bin/glnx86/xsetup: error while > loading shared libraries: /lib/libXp.so.6: ELF file OS ABI invalid > > I even tried "# brandelf -t Linux /compat/linux/lib/libXp.so.6" but I > still get the same error. > > How do I fix this? What's the output of: sysctl compat.linux.osrelease ls /var/db/pkg|grep linux_base -- Mel From mel.flynn+fbsd.questions at mailing.thruhere.net Sun Jul 12 21:04:55 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Sun Jul 12 21:05:04 2009 Subject: dump hangs on 7.1 In-Reply-To: <200907122044359.SM01728@W500.Go2France.com> References: <200907122044359.SM01728@W500.Go2France.com> Message-ID: <200907121304.52880.mel.flynn+fbsd.questions@mailing.thruhere.net> On Sunday 12 July 2009 11:03:00 Len Conrad wrote: > >On Friday 10 July 2009 08:29:01 Len Conrad wrote: > >> FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 > >> root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > >> > >> CPU: Intel(R) Xeon(R) CPU E5420 @ 2.50GHz (2496.26-MHz > >> 686-class CPU) Origin = "GenuineIntel" Id = 0x1067a Stepping = 10 > >> AMD Features=0x20100000 > >> AMD Features2=0x1 > >> Cores per package: 4 > >> real memory = 3484745728 (3323 MB) > >> avail memory = 3405537280 (3247 MB) > >> ACPI APIC Table: > >> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > >> cpu0 (BSP): APIC ID: 0 > >> cpu1 (AP): APIC ID: 1 > >> cpu2 (AP): APIC ID: 2 > >> cpu3 (AP): APIC ID: 3 > >> > >> > >> /sbin/dump -0uanL -f - / | ssh dump_images@xxx.net dd > >> of=/var/ftp/dump_images/mx1-root-test > >> > >> dump has completed only once. Several other dumps have all gotten under > >> way, target file is created and increases until the hang. > >> > >> CTRL-C gets back to shell,eg: > >> > >> DUMP: Date of this level 0 dump: Fri Jul 10 10:25:33 2009 > >> DUMP: Date of last level 0 dump: the epoch > >> DUMP: Dumping snapshot of /dev/da0s1d (/usr) to standard output > >> DUMP: mapping (Pass I) [regular files] > >> DUMP: mapping (Pass II) [directories] > >> DUMP: estimated 1713942 tape blocks. > >> DUMP: dumping (Pass III) [directories] > >> DUMP: dumping (Pass IV) [regular files] > >> ^C DUMP: Interrupt received. > >> DUMP: Do you want to abort dump?: ("yes" or "no") Killed by signal 2. > >> DUMP: Broken pipe > >> DUMP: The ENTIRE dump is aborted. > >> > >> Hangs always in Pass IV > > > >What's the output ps -auwwx|grep dump at the time of the dump. > > when the dump hangs: > > ps auxww | grep dump > > root 61360 0.0 0.0 3128 1168 p0 I+ 1:47PM 0:00.06 /sbin/dump > -0uanL -f - / (dump) > > root 61361 0.0 0.1 5560 2768 p0 I+ 1:47PM 0:03.65 ssh > xxx@xxx.net dd of=/var/ftp/dump_images/mx1-root-test > > root 61364 0.0 0.0 3128 1528 p0 I+ 1:47PM 0:00.36 dump: > /dev/da0s1a: pass 4: 92.66% done, finished in 0:00 at Sun Jul 12 13:47:52 > 2009 (dump) procstat -k 61364 please? Is the percentage always the same for the same disk? If you kill dd on the other side, does dump notice it? -- Mel From LConrad at Go2France.com Sun Jul 12 21:20:55 2009 From: LConrad at Go2France.com (Len Conrad) Date: Sun Jul 12 21:21:03 2009 Subject: dump hangs on 7.1 In-Reply-To: <200907121304.52880.mel.flynn+fbsd.questions@mailing.thruhe re.net> References: <200907122044359.SM01728@W500.Go2France.com> <200907121304.52880.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <200907122302734.SM01728@W500.Go2France.com> At 04:04 PM 7/12/2009, you wrote: >On Sunday 12 July 2009 11:03:00 Len Conrad wrote: >> >On Friday 10 July 2009 08:29:01 Len Conrad wrote: >> >> FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 >> >> root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 >> >> >> >> CPU: Intel(R) Xeon(R) CPU E5420 @ 2.50GHz (2496.26-MHz >> >> 686-class CPU) Origin = "GenuineIntel" Id = 0x1067a Stepping = 10 >> >> AMD Features=0x20100000 >> >> AMD Features2=0x1 >> >> Cores per package: 4 >> >> real memory = 3484745728 (3323 MB) >> >> avail memory = 3405537280 (3247 MB) >> >> ACPI APIC Table: >> >> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs >> >> cpu0 (BSP): APIC ID: 0 >> >> cpu1 (AP): APIC ID: 1 >> >> cpu2 (AP): APIC ID: 2 >> >> cpu3 (AP): APIC ID: 3 >> >> >> >> >> >> /sbin/dump -0uanL -f - / | ssh dump_images@xxx.net dd >> >> of=/var/ftp/dump_images/mx1-root-test >> >> >> >> dump has completed only once. Several other dumps have all gotten under >> >> way, target file is created and increases until the hang. >> >> >> >> CTRL-C gets back to shell,eg: >> >> >> >> DUMP: Date of this level 0 dump: Fri Jul 10 10:25:33 2009 >> >> DUMP: Date of last level 0 dump: the epoch >> >> DUMP: Dumping snapshot of /dev/da0s1d (/usr) to standard output >> >> DUMP: mapping (Pass I) [regular files] >> >> DUMP: mapping (Pass II) [directories] >> >> DUMP: estimated 1713942 tape blocks. >> >> DUMP: dumping (Pass III) [directories] >> >> DUMP: dumping (Pass IV) [regular files] >> >> ^C DUMP: Interrupt received. >> >> DUMP: Do you want to abort dump?: ("yes" or "no") Killed by signal 2. >> >> DUMP: Broken pipe >> >> DUMP: The ENTIRE dump is aborted. >> >> >> >> Hangs always in Pass IV >> > >> >What's the output ps -auwwx|grep dump at the time of the dump. >> >> when the dump hangs: >> >> ps auxww | grep dump >> >> root 61360 0.0 0.0 3128 1168 p0 I+ 1:47PM 0:00.06 /sbin/dump >> -0uanL -f - / (dump) >> >> root 61361 0.0 0.1 5560 2768 p0 I+ 1:47PM 0:03.65 ssh >> xxx@xxx.net dd of=/var/ftp/dump_images/mx1-root-test >> >> root 61364 0.0 0.0 3128 1528 p0 I+ 1:47PM 0:00.36 dump: >> /dev/da0s1a: pass 4: 92.66% done, finished in 0:00 at Sun Jul 12 13:47:52 >> 2009 (dump) > >procstat -k 61364 please? I ran it again, diff pid: procstat -k 67765 PID TID COMM TDNAME KSTACK 67765 100159 dump - mi_switch sleepq_switch sleepq_catch_signals sleepq_wait_sig _sleep sbwait soreceive_generic soreceive soo_read dofileread kern_readv read syscall Xint0x80_syscall >Is the percentage always the same for the same disk? no, it varies widely. >If you kill dd on the other side, does dump notice it? yes, I kill dd on the target, and the dump shows: DUMP: dumping (Pass IV) [regular files] Terminated DUMP: Broken pipe DUMP: The ENTIRE dump is aborted. Len From djuatdelta at gmail.com Sun Jul 12 23:17:15 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Sun Jul 12 23:20:40 2009 Subject: Installing MATLAB: /lib/libXp.so.6: ELF file OS ABI invalid In-Reply-To: <200907121257.26332.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <200907121257.26332.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: $ sysctl compat.linux.osrelease compat.linux.osrelease: 2.4.2 $ ls /var/db/pkg|grep linux_base linux_base-fc-4_14 From ray at stilltech.net Sun Jul 12 23:26:16 2009 From: ray at stilltech.net (Ray) Date: Sun Jul 12 23:26:27 2009 Subject: activate apache mod_rewrite Message-ID: <200907121709.25015.ray@stilltech.net> Hello, I'm running FreeBSD 7.0-RELEASE-p3, amd64 I have never used mod rewrite before, but I am about to be hosting a php website that does use it and I can't figure out how to turn it on. The website was working properly under other hosting. The server has been working properly for over a year with other php websites. I installed apache 2.2 along with php 5.2 from ports. google says that the following lines should appear in httpd.conf LoadModule rewrite_module libexec/apache/mod_rewrite.so AddModule mod_rewrite.c first line does appear, slightly modified LoadModule rewrite_module libexec/apache22/mod_rewrite.so when I try to add the second line, apache won't start. mod_rewrite.so is in the location specified. at the moment I'm guessing I am missing something in httpd-vhosts.conf, but I haven't found a guide for this yet. Any suggestions, manual sections, links appreciated. Ray From djuatdelta at gmail.com Sun Jul 12 23:27:01 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Sun Jul 12 23:27:08 2009 Subject: Installing MATLAB: /lib/libXp.so.6: ELF file OS ABI invalid In-Reply-To: References: <200907121257.26332.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: FYI: I believe initially libXp.so.6 was not located in /compat/linux/lib/, so I copied it there from /usr/local/lib/. I believe I also tried to "brand" the file, but before branding the file and after branding the file I get this same error message. From exemys-mkt at exemys.com Sun Jul 12 23:36:53 2009 From: exemys-mkt at exemys.com (Mkt-Exemys) Date: Sun Jul 12 23:37:03 2009 Subject: Industrial Intelligent Wi-Fi (I2W) Message-ID: <3c2d331c24ff6aeacf1487deff4051bb@www.hostmailing.com> This is a message in multipart MIME format. Your mail client should not be displaying this. Consider upgrading your mail client to view this message correctly. From mel.flynn+fbsd.questions at mailing.thruhere.net Sun Jul 12 23:56:19 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Sun Jul 12 23:56:26 2009 Subject: dump hangs on 7.1 In-Reply-To: <200907122302734.SM01728@W500.Go2France.com> References: <200907122044359.SM01728@W500.Go2France.com> <200907121304.52880.mel.flynn+fbsd.questions@mailing.thruhere.net> <200907122302734.SM01728@W500.Go2France.com> Message-ID: <200907121556.16039.mel.flynn+fbsd.questions@mailing.thruhere.net> On Sunday 12 July 2009 13:20:49 Len Conrad wrote: > At 04:04 PM 7/12/2009, you wrote: > >On Sunday 12 July 2009 11:03:00 Len Conrad wrote: > >> >On Friday 10 July 2009 08:29:01 Len Conrad wrote: > >> >> FreeBSD 7.1-RELEASE #0: Thu Jan 1 14:37:25 UTC 2009 > >> >> root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386 > >> >> > >> >> CPU: Intel(R) Xeon(R) CPU E5420 @ 2.50GHz (2496.26-MHz > >> >> 686-class CPU) Origin = "GenuineIntel" Id = 0x1067a Stepping = 10 > >> >> AMD Features=0x20100000 > >> >> AMD Features2=0x1 > >> >> Cores per package: 4 > >> >> real memory = 3484745728 (3323 MB) > >> >> avail memory = 3405537280 (3247 MB) > >> >> ACPI APIC Table: > >> >> FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs > >> >> cpu0 (BSP): APIC ID: 0 > >> >> cpu1 (AP): APIC ID: 1 > >> >> cpu2 (AP): APIC ID: 2 > >> >> cpu3 (AP): APIC ID: 3 > >> >> > >> >> > >> >> /sbin/dump -0uanL -f - / | ssh dump_images@xxx.net dd > >> >> of=/var/ftp/dump_images/mx1-root-test > >> >> > >> >> dump has completed only once. Several other dumps have all gotten > >> >> under way, target file is created and increases until the hang. > >> >> > >> >> CTRL-C gets back to shell,eg: > >> >> > >> >> DUMP: Date of this level 0 dump: Fri Jul 10 10:25:33 2009 > >> >> DUMP: Date of last level 0 dump: the epoch > >> >> DUMP: Dumping snapshot of /dev/da0s1d (/usr) to standard output > >> >> DUMP: mapping (Pass I) [regular files] > >> >> DUMP: mapping (Pass II) [directories] > >> >> DUMP: estimated 1713942 tape blocks. > >> >> DUMP: dumping (Pass III) [directories] > >> >> DUMP: dumping (Pass IV) [regular files] > >> >> ^C DUMP: Interrupt received. > >> >> DUMP: Do you want to abort dump?: ("yes" or "no") Killed by signal > >> >> 2. DUMP: Broken pipe > >> >> DUMP: The ENTIRE dump is aborted. > >> >> > >> >> Hangs always in Pass IV > >> > > >> >What's the output ps -auwwx|grep dump at the time of the dump. > >> > >> when the dump hangs: > >> > >> ps auxww | grep dump > >> > >> root 61360 0.0 0.0 3128 1168 p0 I+ 1:47PM 0:00.06 > >> /sbin/dump -0uanL -f - / (dump) > >> > >> root 61361 0.0 0.1 5560 2768 p0 I+ 1:47PM 0:03.65 ssh > >> xxx@xxx.net dd of=/var/ftp/dump_images/mx1-root-test > >> > >> root 61364 0.0 0.0 3128 1528 p0 I+ 1:47PM 0:00.36 dump: > >> /dev/da0s1a: pass 4: 92.66% done, finished in 0:00 at Sun Jul 12 > >> 13:47:52 2009 (dump) > > > >procstat -k 61364 please? > > I ran it again, diff pid: > > procstat -k 67765 > PID TID COMM TDNAME KSTACK > 67765 100159 dump - mi_switch sleepq_switch > sleepq_catch_signals sleepq_wait_sig _sleep sbwait soreceive_generic > soreceive soo_read dofileread kern_readv read syscall Xint0x80_syscall It looks like it's waiting ssh/dd to report. Is the same happening when you dump to a local file (on a different partition obviously)? This would rule out inter process communications within dump itself. FYI, I'm using this daily through periodic with a few 7.1-STABLE machines and -current. Although, I do compress (with gzip and bzip2 on faster CPU's) before transfer. The only difference is that I don't use then -n flag to dump. Worth a try, though I doubt the so_receive it's waiting on is because it's unable to notify a human in the operator group. If you're comfortable doing so, you could grab a 7.2-RELEASE livefs CD to see if this issue persists using the dump tools from there, though I don't know of any particular fixes in this area. > >Is the percentage always the same for the same disk? > > no, it varies widely. > > >If you kill dd on the other side, does dump notice it? > > yes, I kill dd on the target, and the dump shows: > > DUMP: dumping (Pass IV) [regular files] > Terminated > DUMP: Broken pipe > DUMP: The ENTIRE dump is aborted. -- Mel From gt at fallendusk.org Sun Jul 12 23:58:15 2009 From: gt at fallendusk.org (Gregory T Helton) Date: Sun Jul 12 23:58:22 2009 Subject: activate apache mod_rewrite In-Reply-To: <200907121709.25015.ray@stilltech.net> References: <200907121709.25015.ray@stilltech.net> Message-ID: <20090712195807.71c6ee6b@elune.fallendusk.org> On Sun, 12 Jul 2009 17:09:24 -0600 Ray wrote: > Hello, > I'm running FreeBSD 7.0-RELEASE-p3, amd64 > I have never used mod rewrite before, but I am about to be hosting a > php website that does use it and I can't figure out how to turn it on. > The website was working properly under other hosting. > > The server has been working properly for over a year with other php > websites. I installed apache 2.2 along with php 5.2 from ports. > > google says that the following lines should appear in httpd.conf > > LoadModule rewrite_module libexec/apache/mod_rewrite.so > AddModule mod_rewrite.c > > first line does appear, slightly modified > LoadModule rewrite_module libexec/apache22/mod_rewrite.so > > when I try to add the second line, apache won't start. > > mod_rewrite.so is in the location specified. > > at the moment I'm guessing I am missing something in > httpd-vhosts.conf, but I haven't found a guide for this yet. > > Any suggestions, manual sections, links appreciated. > Ray > _______________________________________________ > 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" Try with just the LoadModule line. This is the only line I have for mod_rewrite in my httpd.conf, and it is working properly. iirc, the "AddModule" linux is apache 1.x specific. From gt at fallendusk.org Mon Jul 13 00:04:21 2009 From: gt at fallendusk.org (Gregory T Helton) Date: Mon Jul 13 00:04:27 2009 Subject: Installing MATLAB: /lib/libXp.so.6: ELF file OS ABI invalid In-Reply-To: References: <200907121257.26332.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <20090712200413.738b908d@elune.fallendusk.org> On Sun, 12 Jul 2009 19:26:59 -0400 Daniel Underwood wrote: > FYI: > > I believe initially libXp.so.6 was not located in /compat/linux/lib/, > so I copied it there from /usr/local/lib/. I believe I also tried to > "brand" the file, but before branding the file and after branding the > file I get this same error message. > _______________________________________________ > 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 believe you need the libXp.so.6 from linux. (fc4 rpm?) From mel.flynn+fbsd.questions at mailing.thruhere.net Mon Jul 13 00:16:15 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Mon Jul 13 00:16:22 2009 Subject: Installing MATLAB: /lib/libXp.so.6: ELF file OS ABI invalid In-Reply-To: References: Message-ID: <200907121616.12855.mel.flynn+fbsd.questions@mailing.thruhere.net> On Sunday 12 July 2009 11:34:52 Daniel Underwood wrote: > During installation of Matlab, just after accepting the licnse > agreement, I get this error: > > /home/daniel/matlab-install/update/bin/glnx86/xsetup: error while > loading shared libraries: /lib/libXp.so.6: ELF file OS ABI invalid > > I even tried "# brandelf -t Linux /compat/linux/lib/libXp.so.6" but I > still get the same error. > > How do I fix this? On Sunday 12 July 2009 15:26:59 Daniel Underwood wrote: > FYI: > > I believe initially libXp.so.6 was not located in /compat/linux/lib/, > so I copied it there from /usr/local/lib/. I believe I also tried to > "brand" the file, but before branding the file and after branding the > file I get this same error message. That explains a lot. Remove that file and install /usr/ports/x11/linux-xorg- libs. The correct libXp.so.6 should then be installed. The article could use a "pre-requisite" section though. It's not obvious to everyone that the linux emulation uses it's own Xorg. -- Mel From djuatdelta at gmail.com Mon Jul 13 00:30:13 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Mon Jul 13 00:30:20 2009 Subject: Installing MATLAB: /lib/libXp.so.6: ELF file OS ABI invalid In-Reply-To: <200907121616.12855.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <200907121616.12855.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: Thanks Mel, you're a genius! From djuatdelta at gmail.com Mon Jul 13 01:00:42 2009 From: djuatdelta at gmail.com (Daniel Underwood) Date: Mon Jul 13 01:00:51 2009 Subject: MATLAB Installed: SSE2 error encounter upon run Message-ID: Now that Matlab is installed, when I attempt to run matlab I receive the following error: Error: Your computer processor is missing the SSE2 instructions that are required for MATLAB to run correctly. For system requirements consult http://www.mathworks.com ... Any ideas? From ray at stilltech.net Mon Jul 13 01:03:18 2009 From: ray at stilltech.net (Ray) Date: Mon Jul 13 01:03:36 2009 Subject: activate apache mod_rewrite In-Reply-To: <20090712195807.71c6ee6b@elune.fallendusk.org> References: <200907121709.25015.ray@stilltech.net> <20090712195807.71c6ee6b@elune.fallendusk.org> Message-ID: <200907121903.16069.ray@stilltech.net> On July 12, 2009 05:58:07 pm Gregory T Helton wrote: > On Sun, 12 Jul 2009 17:09:24 -0600 > > Ray wrote: > > Hello, > > I'm running FreeBSD 7.0-RELEASE-p3, amd64 > > I have never used mod rewrite before, but I am about to be hosting a > > php website that does use it and I can't figure out how to turn it on. > > The website was working properly under other hosting. > > > > The server has been working properly for over a year with other php > > websites. I installed apache 2.2 along with php 5.2 from ports. > > > > google says that the following lines should appear in httpd.conf > > > > LoadModule rewrite_module libexec/apache/mod_rewrite.so > > AddModule mod_rewrite.c > > > > first line does appear, slightly modified > > LoadModule rewrite_module libexec/apache22/mod_rewrite.so > > > > when I try to add the second line, apache won't start. > > > > mod_rewrite.so is in the location specified. > > > > at the moment I'm guessing I am missing something in > > httpd-vhosts.conf, but I haven't found a guide for this yet. > > > > Any suggestions, manual sections, links appreciated. > > Ray > > _______________________________________________ > > 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" > > Try with just the LoadModule line. This is the only line I have for > mod_rewrite in my httpd.conf, and it is working properly. > > iirc, the "AddModule" linux is apache 1.x specific. > That makes sense, because all the websites that I could find were 4 to 6 years old. > _______________________________________________ > 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" Thanks for the response. The loadmodule line is already there. Is there anything in the httpd-vhosts.conf or anywhere else needed to activate rewrites? thanks, Ray From mel.flynn+fbsd.questions at mailing.thruhere.net Mon Jul 13 01:20:17 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Mon Jul 13 01:20:25 2009 Subject: FreeBSD for a high school class? (long) In-Reply-To: <4ad871310907090807h4603a165n263637770114e9a5@mail.gmail.com> References: <368E57AC-8366-46EA-BE1A-5EBB07B64EDC@hughes.net> <4ad871310907090807h4603a165n263637770114e9a5@mail.gmail.com> Message-ID: <200907121720.14815.mel.flynn+fbsd.questions@mailing.thruhere.net> On Thursday 09 July 2009 07:07:19 Glen Barber wrote: > Hi, Chris > > On Thu, Jul 9, 2009 at 10:58 AM, Chris wrote: > > Sorry for the OT-ness of this. I only work with FreeBSD for servers. > > Have used it as the sole systems for a business since the late 1900s. > > Twice I've put up X-Windows machines but we never bothered to > > use them for one reason or another. Now my son's school is short > > computers for a High School HTML class I'm going to help teach > > this fall. The official teacher is excited about FreeBSD since we can > > use old equipment that is donated. > > > > There are two issues. We will not get enough FreeBSD systems up > > to cover all kids in the class. Some will have to use the 10.4/3 OS-X > > G3s we already have. For the remainder of systems, I've told them > > I need a minimum 256GB Ram, 500+Mhz, ~10GB hard drive. I will > > put Apache on both types of boxes so they have a testing platform, > > hope to put firefox on each so they have a consistent browser. The > > confusing thing will be Finder and Textedit, versus whatever I use for > > a window manager on the FreeBSD systems. > > > > The two questions are: > > > > 1. Taking the specs into account, what is the window manager that > > will provide the closest match to the Apple desktop for mouse ops, > > browsing files/directories, and editing text files. I suppose I should > > add running Firefox (or a reasonable similar browser that will > > render HTML and execute Javascript identically). > > Although I will probably be lit on fire for this, I'd have to say KDE3 > would probably be the closest. There even is the baghira theme, which > mimics the OSX interface. I haven't used either in over a year or so, > however. I remember running KDE3 with firefox-1 on a P-III 900 with 256MB, FBSD 4.x and window switching ('alt-tab') wasn't a joy, being in permanent swap. On the plus side, you could install Quanta, which is more geared to web development, but in default mode is just a fancy text editor with a file tree on the left- hand side of the canvas. I would however, go with firefox2, which is sufficient for your classes and firefox3 will have too much bloat. Opera-9.x is also something you should seriously consider, although part of it's speed comes from using memory aggressively so the 256MB might come into play. It's my primary browser at the moment and I have so far only reported 1 site that is unusable and I'm not sure it was Opera's fault to begin with (in case you're interested: http://www.newsagaya.com/ - hover the shop button). I also had apache running (+ mysqld + php), all for local development. The key is to strip down anything fancy you don't need in the GUI and apache modules. Additionally you could assign them an NFS directory and centralize apache on a server. It is trivial to assign www.$studentname.$class.lan to the webserver IP, mapping the vhost to the NFS directory. A bonus is that students would be able to see each others' work and better understand the client-server model that always comes into play with web development. -- Mel From nightrecon at verizon.net Mon Jul 13 01:29:48 2009 From: nightrecon at verizon.net (Michael Powell) Date: Mon Jul 13 01:29:55 2009 Subject: Industrial Intelligent Wi-Fi (I2W) References: <3c2d331c24ff6aeacf1487deff4051bb@www.hostmailing.com> Message-ID: Mkt-Exemys wrote: > This is a message in multipart MIME format. Your mail client should not > be displaying this. Consider upgrading your mail client to view this > message correctly. > So when are you going to get a clue and use a mail client that doesn't do this? As far as this message pertaining to my mail client, well - only your messages cause this result. Have never seen this with any of the other users of the list(s). -Mike From glen.j.barber at gmail.com Mon Jul 13 01:32:05 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon Jul 13 01:32:12 2009 Subject: Industrial Intelligent Wi-Fi (I2W) In-Reply-To: References: <3c2d331c24ff6aeacf1487deff4051bb@www.hostmailing.com> Message-ID: <4ad871310907121832m5fe690e3w4cd4ae9ead6fff15@mail.gmail.com> On Sun, Jul 12, 2009 at 9:31 PM, Michael Powell wrote: > Mkt-Exemys wrote: > >> This is a message in multipart MIME format. ?Your mail client should not >> be displaying this. Consider upgrading your mail client to view this >> message correctly. >> > > So when are you going to get a clue and use a mail client that doesn't do > this? As far as this message pertaining to my mail client, well - only your > messages cause this result. Have never seen this with any of the other users > of the list(s). > Mark it as spam and move on, please. This is not the first email from this person/bot. -- Glen Barber From nightrecon at verizon.net Mon Jul 13 01:46:16 2009 From: nightrecon at verizon.net (Michael Powell) Date: Mon Jul 13 01:46:24 2009 Subject: activate apache mod_rewrite References: <200907121709.25015.ray@stilltech.net> <20090712195807.71c6ee6b@elune.fallendusk.org> <200907121903.16069.ray@stilltech.net> Message-ID: Ray wrote: > On July 12, 2009 05:58:07 pm Gregory T Helton wrote: >> On Sun, 12 Jul 2009 17:09:24 -0600 >> >> Ray wrote: >> > Hello, >> > I'm running FreeBSD 7.0-RELEASE-p3, amd64 >> > I have never used mod rewrite before, but I am about to be hosting a >> > php website that does use it and I can't figure out how to turn it on. >> > The website was working properly under other hosting. >> > >> > The server has been working properly for over a year with other php >> > websites. I installed apache 2.2 along with php 5.2 from ports. >> > >> > google says that the following lines should appear in httpd.conf >> > >> > LoadModule rewrite_module libexec/apache/mod_rewrite.so [snip] >> >> Try with just the LoadModule line. This is the only line I have for >> mod_rewrite in my httpd.conf, and it is working properly. >> >> iirc, the "AddModule" linux is apache 1.x specific. [snip] > > Thanks for the response. > The loadmodule line is already there. > Is there anything in the httpd-vhosts.conf or anywhere else needed to > activate rewrites? > thanks, > Ray http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html Various ways of utilizing it as it is very flexible, depending on your particular requirements. It usually involves at least a RewriteEngine On directive somewhere. Some can use it in an .htaccess but those who are running multiple vhosts may need something like this for each vhost: RewriteEngine On RewriteOptions Inherit See the section in the docs. Usually there are two other directives used to configure functionality after activating it. You will usually have one, or more, RewriteCond conditions which when evaluated run through a RewriteRule of some kind. Brush up on your Apache regex handling! There are cheat sheets around the web, easily Googled up. mod_rewrite is not easy and can have you pulling your hair out. If you are using a software that requires it the docs should have a cut and paste config that can get you started. Trying to figure it out from scratch without knowing what is needed will be next to impossible. -Mike From nightrecon at verizon.net Mon Jul 13 01:52:38 2009 From: nightrecon at verizon.net (Michael Powell) Date: Mon Jul 13 01:52:45 2009 Subject: Industrial Intelligent Wi-Fi (I2W) References: <3c2d331c24ff6aeacf1487deff4051bb@www.hostmailing.com> <4ad871310907121832m5fe690e3w4cd4ae9ead6fff15@mail.gmail.com> Message-ID: Glen Barber wrote: > > Mark it as spam and move on, please. This is not the first email from > this person/bot. > Will do. Have been putting it off, but I see it spammed out to other lists beside this one. Was wondering if he even knew what he was doing. But I can plonk him. 'Nuff said. -Mike From gt at fallendusk.org Mon Jul 13 01:55:03 2009 From: gt at fallendusk.org (Gregory T Helton) Date: Mon Jul 13 01:55:11 2009 Subject: activate apache mod_rewrite In-Reply-To: <200907121903.16069.ray@stilltech.net> References: <200907121709.25015.ray@stilltech.net> <20090712195807.71c6ee6b@elune.fallendusk.org> <200907121903.16069.ray@stilltech.net> Message-ID: <20090712215440.0fa66872@kitty> On Sun, 12 Jul 2009 19:03:16 -0600 Ray wrote: > On July 12, 2009 05:58:07 pm Gregory T Helton wrote: > > On Sun, 12 Jul 2009 17:09:24 -0600 > > > > Ray wrote: > > > Hello, > > > I'm running FreeBSD 7.0-RELEASE-p3, amd64 > > > I have never used mod rewrite before, but I am about to be > > > hosting a php website that does use it and I can't figure out how > > > to turn it on. The website was working properly under other > > > hosting. > > > > > > The server has been working properly for over a year with other > > > php websites. I installed apache 2.2 along with php 5.2 from > > > ports. > > > > > > google says that the following lines should appear in httpd.conf > > > > > > LoadModule rewrite_module libexec/apache/mod_rewrite.so > > > AddModule mod_rewrite.c > > > > > > first line does appear, slightly modified > > > LoadModule rewrite_module libexec/apache22/mod_rewrite.so > > > > > > when I try to add the second line, apache won't start. > > > > > > mod_rewrite.so is in the location specified. > > > > > > at the moment I'm guessing I am missing something in > > > httpd-vhosts.conf, but I haven't found a guide for this yet. > > > > > > Any suggestions, manual sections, links appreciated. > > > Ray > > > _______________________________________________ > > > 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" > > > > Try with just the LoadModule line. This is the only line I have for > > mod_rewrite in my httpd.conf, and it is working properly. > > > > iirc, the "AddModule" linux is apache 1.x specific. > > > > That makes sense, because all the websites that I could find were 4 > to 6 years old. > > > _______________________________________________ > > 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" > > Thanks for the response. > The loadmodule line is already there. > Is there anything in the httpd-vhosts.conf or anywhere else needed to > activate rewrites? > thanks, > Ray > > > _______________________________________________ > 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 believe it's just enabled, unless it's been disabled in a htaccess file or the httpd-vhosts.conf. Depending on how your script works though, you may need to enable htaccess in the httpd-vhost,conf, or add the rewrite lines to a htaccess file. That's application-specfic though and the documentation for your script should have details on that. From ray at stilltech.net Mon Jul 13 02:39:42 2009 From: ray at stilltech.net (Ray) Date: Mon Jul 13 02:39:51 2009 Subject: activate apache mod_rewrite (solved) In-Reply-To: References: <200907121709.25015.ray@stilltech.net> <200907121903.16069.ray@stilltech.net> Message-ID: <200907122039.40100.ray@stilltech.net> On July 12, 2009 07:47:51 pm Michael Powell wrote: > http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html > > Various ways of utilizing it as it is very flexible, depending on your > particular requirements. It usually involves at least a RewriteEngine On > directive somewhere. Some can use it in an .htaccess but those who are > running multiple vhosts may need something like this for each vhost: > > RewriteEngine On > RewriteOptions Inherit looks like the second line (RewriteOptions Inherit) was missing seems I didn't read this section of of the docs close enough. :( thanks for your help. Ray > > See the section in the docs. Usually there are two other directives used to > configure functionality after activating it. You will usually have one, or > more, RewriteCond conditions which when evaluated run through a RewriteRule > of some kind. Brush up on your Apache regex handling! There are cheat > sheets around the web, easily Googled up. > > mod_rewrite is not easy and can have you pulling your hair out. If you are > using a software that requires it the docs should have a cut and paste > config that can get you started. Trying to figure it out from scratch > without knowing what is needed will be next to impossible. > > -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" From mkhitrov at gmail.com Mon Jul 13 04:10:09 2009 From: mkhitrov at gmail.com (Maxim Khitrov) Date: Mon Jul 13 04:10:16 2009 Subject: ZFS or UFS for 4TB hardware RAID6? Message-ID: <26ddd1750907122047g57c31024h4396c52b2415aaa9@mail.gmail.com> Hello all, I'm about to build a new file server using 3ware 9690SA-8E controller and 4x Western Digital RE4-GP 2TB drives in RAID6. It is likely to grow in the future up to 10TB. I may use FreeBSD 8 on this one, since the release will likely be made by the time this server goes into production. The question is a simple one - I have no experience with ZFS and so wanted to ask for recommendations of that versus UFS2. How stable is the implementation and does it offer any benefits in my setup (described below)? All of the RAID6 space will only be used for file storage, accessible by network using NFS and SMB. It may be split into separate partitions, but most likely the entire array will be one giant storage area that is expanded every time another hard drive is added. The OS and all installed apps will be on a separate software RAID1 array. Given that security is more important than performance, what would be your recommended setup and why? - Max From kingedgar at gmail.com Mon Jul 13 04:37:45 2009 From: kingedgar at gmail.com (Jason Garrett) Date: Mon Jul 13 04:37:52 2009 Subject: Attempting ZFS Only Install of 7.2 In-Reply-To: <4A57E38B.5050108@mykitchentable.net> References: <4A57E38B.5050108@mykitchentable.net> Message-ID: <970380130907122109g4e160373m37259a3c40d48373@mail.gmail.com> >snip I see you tried the zpool import and export, but did you perform `mkdir /boot/zfs` directly before `zpool export tank && zpool import tank` ? I just have to ask because I did not see that specified, and you mention not being able to find zpool.cache. /boot/zfs is where zpool.cache hides out. From madhurjf at gmail.com Mon Jul 13 05:57:40 2009 From: madhurjf at gmail.com (Madhusudan R) Date: Mon Jul 13 05:57:46 2009 Subject: ssh fails with xinetd Message-ID: <8d32a6620907122237v984a518m62e11ce96e3dbda0@mail.gmail.com> Hi, I have a FreeBSD 6.2 system on which inetd was replaced with xinetd. Ever since, I can't seem to get an ssh connection to the box, which was working well with inetd. sshd is not running independently, but is spawned by inetd (or xinetd) when there's a connection request. Here are a few things that changed after bringing xinetd onboard. /etc/rc.conf: ------------------- #inetd_enable="YES" xinetd_enable="YES" xinetd.conf ---------------- service ssh { socket_type = stream wait = no protocol = tcp user = root server = /usr/sbin/sshd port = 22 log_on_failure += USERID } The telnet connections work well with xinetd, though. It's with ssh that I'm seeing the problem. This is what is seen when a local connection is initiated: $ ssh -v diag@127.0.0.1 OpenSSH_4.2p1 FreeBSD-20050903, OpenSSL 0.9.7e-p1 25 Oct 2004 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Connecting to 127.0.0.1 [127.0.0.1] port 22. debug1: Connection established. debug1: identity file /var/home/diag/.ssh/identity type -1 debug1: identity file /var/home/diag/.ssh/id_rsa type -1 debug1: identity file /var/home/diag/.ssh/id_dsa type -1 debug1: ssh_exchange_identification: sshd re-exec requires execution with an absolute path ssh_exchange_identification: Connection closed by remote host Any idea on what's going on? Thanks, Madhu From modulok at gmail.com Mon Jul 13 07:02:40 2009 From: modulok at gmail.com (Modulok) Date: Mon Jul 13 07:02:46 2009 Subject: Copy directory tree as hard links... Message-ID: <64c038660907130002i73a95d9bq9224373b5ff89f08@mail.gmail.com> What is the easiest way to copy a directory tree as hard links? Linux has a nice little 'cp -al' flag combo to do this. The FreeBSD cp(1) manual page says to use pax or tar, but how do I get the ability to rename the file without first creating a destination file? I don't want an archive, just regular directory tree sitting right next to the original, but with a new name ... consisting of of hard links back to the original. For example on linux I could do something like: $ ls foo/ $ cp -al foo bar The result would be a new copy of foo, which takes up no additional space, as all files share the same inodes. Is there an easy way to do this on FreeBSD? Thanks! -Modulok- From m.seaman at infracaninophile.co.uk Mon Jul 13 08:17:29 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Mon Jul 13 08:17:36 2009 Subject: Copy directory tree as hard links... In-Reply-To: <64c038660907130002i73a95d9bq9224373b5ff89f08@mail.gmail.com> References: <64c038660907130002i73a95d9bq9224373b5ff89f08@mail.gmail.com> Message-ID: <4A5AED8A.8050300@infracaninophile.co.uk> Modulok wrote: > What is the easiest way to copy a directory tree as hard links? > > Linux has a nice little 'cp -al' flag combo to do this. The FreeBSD > cp(1) manual page says to use pax or tar, but how do I get the ability > to rename the file without first creating a destination file? I don't > want an archive, just regular directory tree sitting right next to the > original, but with a new name ... consisting of of hard links back to > the original. For example on linux I could do something like: > > $ ls > foo/ > > $ cp -al foo bar > > The result would be a new copy of foo, which takes up no additional > space, as all files share the same inodes. Is there an easy way to do > this on FreeBSD? cpio(1) Unfortunately the man page is pretty useless, and you have to hunt through the info page instead. But something like this should do what you want: # cd /some/dir # find . -depth -type f -print0 | cpio -0pdl /other/dir It's the 'l' (link) option that achieves the desired effect. Note: this should link only files but it will create a parallel structure of sub-directories, so it will use up a bit of space. Actually, now I peruse the man page, pax(1) has very similar functionality, and you could do something like this: # pax -rwl /some/dir /other/dir You might also consider using nullfs mounts. In /etc/fstab: /some/dir /other/dir nullfs rw 0 0 See mount_nullfs(8). 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: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090713/d5a530fc/signature.pgp From mailbox at ezatech.com.au Mon Jul 13 08:17:41 2009 From: mailbox at ezatech.com.au (mailbox@ezatech.com.au) Date: Mon Jul 13 08:17:48 2009 Subject: Cannot addspare in Fbsd 7.0 - Rocketraid Message-ID: Hello all, I had a drive pop on me the other day. I had setup the drives in RAID 1 via the controller ar0: 152627MB HighPoint v2 RocketRAID. I got the replacement drive, plugged it in all good but following the details on the handbook, http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/raid.html, I cannot add the drive to ar0. Ive looked everywhere but cannot find any details on the error. # atacontrol status ar0 ar0: ATA RAID1 status: DEGRADED subdisks: 0 ad8 ONLINE # atacontrol list ATA channel 5: Master: ad10 Serial ATA II Slave: no device present # atacontrol addspare ar0 ad10 atacontrol: ioctl(IOCATARAIDADDSPARE): Device not configured Am I missing something? I looked in the rocketraid bios setup but nothing to change there. Any help appreciated. Ezat From mel.flynn+fbsd.questions at mailing.thruhere.net Mon Jul 13 08:39:09 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Mon Jul 13 08:39:17 2009 Subject: Copy directory tree as hard links... In-Reply-To: <4A5AED8A.8050300@infracaninophile.co.uk> References: <64c038660907130002i73a95d9bq9224373b5ff89f08@mail.gmail.com> <4A5AED8A.8050300@infracaninophile.co.uk> Message-ID: <200907130039.07506.mel.flynn+fbsd.questions@mailing.thruhere.net> On Monday 13 July 2009 00:17:14 Matthew Seaman wrote: > Modulok wrote: > > What is the easiest way to copy a directory tree as hard links? > > > > Linux has a nice little 'cp -al' flag combo to do this. The FreeBSD > > cp(1) manual page says to use pax or tar, but how do I get the ability > > to rename the file without first creating a destination file? I don't > > want an archive, just regular directory tree sitting right next to the > > original, but with a new name ... consisting of of hard links back to > > the original. For example on linux I could do something like: > > > > $ ls > > foo/ > > > > $ cp -al foo bar > > > > The result would be a new copy of foo, which takes up no additional > > space, as all files share the same inodes. Is there an easy way to do > > this on FreeBSD? > > cpio(1) > You might also consider using nullfs mounts. In /etc/fstab: > > /some/dir /other/dir nullfs rw 0 0 > > See mount_nullfs(8). There's one important difference there: rm bar/baz disconnects the hardlink, while with nullfs both foo/baz and bar/baz are gone (assuming rw mount). unionfs would replicate the hardlink behavior with quite a few caveats. -- Mel From ivoras at freebsd.org Mon Jul 13 08:59:26 2009 From: ivoras at freebsd.org (Ivan Voras) Date: Mon Jul 13 08:59:33 2009 Subject: Copy directory tree as hard links... In-Reply-To: <64c038660907130002i73a95d9bq9224373b5ff89f08@mail.gmail.com> References: <64c038660907130002i73a95d9bq9224373b5ff89f08@mail.gmail.com> Message-ID: Modulok wrote: > What is the easiest way to copy a directory tree as hard links? > > Linux has a nice little 'cp -al' flag combo to do this. The FreeBSD It's also present in FreeBSD: -l Create hard links to regular files in a hierarchy instead of copy- ing. From modulok at gmail.com Mon Jul 13 09:14:28 2009 From: modulok at gmail.com (Modulok) Date: Mon Jul 13 09:14:34 2009 Subject: Copy directory tree as hard links... In-Reply-To: References: <64c038660907130002i73a95d9bq9224373b5ff89f08@mail.gmail.com> Message-ID: <64c038660907130214v6838c0dbs6892160e3a402a30@mail.gmail.com> Ivan, Evidently that was introduced in 6.2-RELEASE: "The cp(1) utility now supports a -l option, which causes it to create hardlinks to the source files instead of copying them." Thanks for posting and subsequently drawing my attention to it. Time to upgrade I suppose :) -Modulok- On 7/13/09, Ivan Voras wrote: > Modulok wrote: >> What is the easiest way to copy a directory tree as hard links? >> >> Linux has a nice little 'cp -al' flag combo to do this. The FreeBSD > > It's also present in FreeBSD: > > -l Create hard links to regular files in a hierarchy instead of > copy- > ing. > > _______________________________________________ > 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 mrkwllbnk at googlemail.com Mon Jul 13 12:32:55 2009 From: mrkwllbnk at googlemail.com (Mark Wallbank) Date: Mon Jul 13 12:33:02 2009 Subject: Install from a USB Pen Message-ID: OK I know this has probably been done to death by know and I keep hitting the same problems with the methods I have tried to find on google and I know I could just sacrifice a laptop and do a build to create the image or do a net (pxe) install from another NIX serverbut it does seem to be a bit over the top. Does any body know of an easy way to create a bootable USB install media for 7.2 using either linux or vista (or using an option from the install dvd). I have tried some of the tricks from openBSD and linux to no avail. Any help appreciated... Cheers Mark From jakub_lach at mailplus.pl Mon Jul 13 12:43:02 2009 From: jakub_lach at mailplus.pl (Jakub Lach) Date: Mon Jul 13 12:43:09 2009 Subject: FreeBSD for a high school class? (long) In-Reply-To: <200907121720.14815.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <368E57AC-8366-46EA-BE1A-5EBB07B64EDC@hughes.net> <4ad871310907090807h4603a165n263637770114e9a5@mail.gmail.com> <200907121720.14815.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <24461017.post@talk.nabble.com> Mel Flynn-2 wrote: > > I remember running KDE3 with firefox-1 on a P-III 900 with 256MB, FBSD 4.x > and > window switching ('alt-tab') wasn't a joy, being in permanent swap. > Hello. The key to running KDE3 with PIII is 512MB<=RAM I think. With 768MB RAM and 1400Mhz@1300Mhz PIII I'm not using swap at all (stripped KDE3/7.2-STABLE). I'm runnig opera-devel, firefox35 (fresh ports tree). If memory serves me right, PIII 750/1000Mhz wasn't that bad either. Also, with 512MB it was swapping a little only when compiling something heavy. OO.o could be not usable tho. -best regards, Jakub Lach -- View this message in context: http://www.nabble.com/FreeBSD-for-a-high-school-class--%28long%29-tp24411741p24461017.html Sent from the freebsd-questions mailing list archive at Nabble.com. From gt at fallendusk.org Mon Jul 13 13:21:16 2009 From: gt at fallendusk.org (Gregory T Helton) Date: Mon Jul 13 13:21:23 2009 Subject: Install from a USB Pen In-Reply-To: References: Message-ID: <20090713092107.7b8607df@elune.fallendusk.org> On Mon, 13 Jul 2009 13:02:54 +0100 Mark Wallbank wrote: > OK I know this has probably been done to death by know and I keep > hitting the same problems with the methods I have tried to find on > google and I know I could just sacrifice a laptop and do a build to > create the image or do a net (pxe) install from another NIX serverbut > it does seem to be a bit over the top. Does any body know of an easy > way to create a bootable USB install media for 7.2 using either linux > or vista (or using an option from the install dvd). I have tried some > of the tricks from openBSD and linux to no avail. > Any help appreciated... > Cheers > Mark > _______________________________________________ > 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 am assuming that you don't have access to a freebsd machine to build the image? There's official usb images for 8.0-BETA1. I have (unofficial) iso->img converted 7.2-RELEASE-bootonly for i386/amd64. I've used this method before to build a 8.0-CURRENT snapshot img's, before -BETA1, and it works. http://www.fallendusk.org/freebsd/img/7.2-RELEASE/ Disclaimer: I've not tested these img's at all, so use at your own risk. :) You can copy to a flashdrive using dd on any *nix platform, and I believe there's a ported version of dd for Windows aswell. I can share the source for the iso->img convert script if you, or anyone else, would like. I don't know the original author as it wasn't in the script. From andrewlylegould at gmail.com Mon Jul 13 13:31:47 2009 From: andrewlylegould at gmail.com (Andrew Gould) Date: Mon Jul 13 13:31:54 2009 Subject: July snapshots Message-ID: Does anyone know if any snapshots (iso files at ftp://ftp.freebsd.org/pub/FreeBSD/snapshots/) will created in July? Thanks, Andrew From lenzi.sergio at gmail.com Mon Jul 13 13:32:51 2009 From: lenzi.sergio at gmail.com (Sergio de Almeida Lenzi) Date: Mon Jul 13 13:32:59 2009 Subject: Install from a USB Pen In-Reply-To: References: Message-ID: <1247491962.32289.12.camel@localhost> Em Seg, 2009-07-13 ?s 13:02 +0100, Mark Wallbank escreveu: > OK I know this has probably been done to death by know and I keep > hitting the same problems with the methods I have tried to find on > google and I know I could just sacrifice a laptop and do a build to > create the image or do a net (pxe) install from another NIX serverbut > it does seem to be a bit over the top. Does any body know of an easy > way to create a bootable USB install media for 7.2 using either linux > or vista (or using an option from the install dvd). I have tried some > of the tricks from openBSD and linux to no avail. > Any help appreciated... > Cheers > Mark > _______________________________________________ I did not tested but.... 1) make a FreeBSD cdrom 7.2 (600Mb) 2) a machine with NO HD, 1 pen drive (2gb), CDrom reader 3) boot from the cdrom option 6 4) make sure there is umass on the kernel=> command: load umass 5) command=> boot the machine boots, and should find an "HD" da0 6) choose a lay out of: 50Mb of swap, rest for / 7) choose minimum install than.... INSTALL 8) setup network.... reboot (remove cd from drive) the machine should run on the pen-drive... Hope this whill help. as I have several FreeBSD boxes, here I generate the pen-drive from a cd rom.... 1) insert the pen drive, the machine finds it on da0 2) fdisk -BI (wipe out the pen-drive...) 3) disklabel -wB da0s1 4) newfs da0s1a 5) mount /dev/da0s1a /mnt 6) export DESTDIR=/mnt 7) cd /cdrom (the mount point of the mounted freebsd cdrom...) go to the 7.2-release base 8) sh install.sh 9) create the /etc/fstab... on /mnt.... /dev/da0s1a / ufs rw 1 1 10) test is everything is ok.... => chroot /mnt should work.... then go back => exit 11) go to the kernel directory in the cd.... 7.2-release/kernel sh install.sh generic 12) rm -rf /mnt/boot/kernel 13) mv /mnt/boot/GENERIC /mnt/boot/kernel 14) umount /mnt 15) system should boot. From pp at pp.dyndns.biz Mon Jul 13 13:39:22 2009 From: pp at pp.dyndns.biz (pp@pp.dyndns.biz) Date: Mon Jul 13 13:39:40 2009 Subject: Install from a USB Pen In-Reply-To: References: Message-ID: <4A5B3447.8080106@pp.dyndns.biz> Mark Wallbank wrote: > OK I know this has probably been done to death by know and I keep > hitting the same problems with the methods I have tried to find on > google and I know I could just sacrifice a laptop and do a build to > create the image or do a net (pxe) install from another NIX serverbut > it does seem to be a bit over the top. Does any body know of an easy > way to create a bootable USB install media for 7.2 using either linux > or vista (or using an option from the install dvd). I have tried some > of the tricks from openBSD and linux to no avail. > Any help appreciated... > Cheers > Mark > _______________________________________________ > 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://www.mail-archive.com/freebsd-questions@freebsd.org/msg218298.html /Morgan From chris.chambers at gmx.com Mon Jul 13 15:06:02 2009 From: chris.chambers at gmx.com (Christopher Chambers) Date: Mon Jul 13 15:06:10 2009 Subject: port-upgrade & freebsd-update causing page faults and slow performance Message-ID: <20090713150559.201160@gmx.com> From jalmberg at identry.com Mon Jul 13 16:36:56 2009 From: jalmberg at identry.com (John Almberg) Date: Mon Jul 13 16:37:03 2009 Subject: Should DNS be on same server as webserver? Message-ID: <8195A2D9-F7AC-49F8-969E-A13EDFA3C05A@identry.com> The other day, a FreeBSD 'expert' told me that it is important to have the DNS server for a domain on the same server as the domain's web server. Supposedly, this saves doing tons of DNS look ups over the network. Instead, they are done locally. This makes sense to me, but I wonder if the performance difference is really that significant? -- John From peterpub2 at aboutsupport.com Mon Jul 13 16:44:22 2009 From: peterpub2 at aboutsupport.com (Peter) Date: Mon Jul 13 16:44:29 2009 Subject: OFFTOPIC: HP DL1xx vs IBM x3250 vs DELL R200 Message-ID: <4A5B645C.2090105@aboutsupport.com> Hello, We are about to buy 1U rack mount server for the office. The server room is small and close to meeting room so we have two priorities: 1)Good FreeBSD support. 2) Low noise level (!) Speed is not a priority, system load will be small. Which one will you recommend ? HP DL160G5 E5405 2x1GB 2x250GB NHP-SATA CD-DVD Combo 3y carepack;Quad-Core Intel? Xeon? processor E5405 (2.00 GHz, 80W, 1333MHz FSB);Supports up to 64 GB of PC2-5300 (DDR2-667) and up to 32 GB of PC2-6400 (DDR2-800) fully buffered DIMMs (DDR2-667) with Advanced ECC; Two embedded NC105i PCIe Gigabit Server Adapters;Five USB ports (two front, one internal, two rear);650W Power Supply (Non-Hot Plug, Autoswitching);Rack (1U) VS: IBM x3250 M2 1 x Xeon Q3330 QuadCore 2.66GHz/1333MHz FSB Hyper Threading with EM64T, 6MB Cache, 2x1024MB ECC DDR2, 2 x 250 GB SATA/SAS HDD HotSwap, OpenBay Serial Attached SCSI (SAS) Hot Swap, Integrated RAID-1, 1x351W, DVD/CD-RW, Dual LAN 10/100/1000, 3 year on-site warranty VS: DELL? PowerEdge? R200 1 Quad-Core Intel Xeon Processor X3210 2.13 GHz / 1066 MHz FSB / 8 MB SAS 6/i Integrated RAID Controller Card for SATA and SAS Hard Drives, RAID 0,1 2GB 800MHz ECC Unbuffered DDR-2 SDRAM 2 ? 250GB, SATA, 3.5-inch, 7.2K RPM Hard Drive (Cabled) Slim DVD/CD-RW Combo Drive R200 PCI-E Riser Card (2 x PCI Express slots) dual embedded Broadcom? Gigabit Ethernet NIC Sliding Rack Kit for Dell Racks (Rapid Rails) Prices are almost the same :-) Please recommend. Thanks in advance. Peter From wmoran at potentialtech.com Mon Jul 13 16:50:39 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Mon Jul 13 16:50:47 2009 Subject: Should DNS be on same server as webserver? In-Reply-To: <8195A2D9-F7AC-49F8-969E-A13EDFA3C05A@identry.com> References: <8195A2D9-F7AC-49F8-969E-A13EDFA3C05A@identry.com> Message-ID: <20090713125037.c060b962.wmoran@potentialtech.com> In response to John Almberg : > The other day, a FreeBSD 'expert' told me that it is important to > have the DNS server for a domain on the same server as the domain's > web server. Supposedly, this saves doing tons of DNS look ups over > the network. Instead, they are done locally. > > This makes sense to me, but I wonder if the performance difference is > really that significant? Don't know exactly how he phrased that statement, but it's truthfulness is highly dependent on the situation. It's possible (even recommended) to configure Apache not to do DNS lookups, which makes the statement rather moot. However, as a general rule, it's a good idea to have a fast DNS cache available to systems that will be doing a lot of lookups. In a typical configuration, a web server will do a lot of lookups. It doesn't _have_ to be on the same server, in fact, if you have multiple busy web servers, it's probably a better idea to dedicate a machine to doing DNS caching. Of course, if your hosting provider already provides a set of fast caches for you to use, it's not really necessary for you to set up your own. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From jon at radel.com Mon Jul 13 17:03:34 2009 From: jon at radel.com (Jon Radel) Date: Mon Jul 13 17:03:43 2009 Subject: Should DNS be on same server as webserver? In-Reply-To: <8195A2D9-F7AC-49F8-969E-A13EDFA3C05A@identry.com> References: <8195A2D9-F7AC-49F8-969E-A13EDFA3C05A@identry.com> Message-ID: <4A5B68DC.2070505@radel.com> John Almberg wrote: > > The other day, a FreeBSD 'expert' told me that it is important to have > the DNS server for a domain on the same server as the domain's web > server. Supposedly, this saves doing tons of DNS look ups over the > network. Instead, they are done locally. > > This makes sense to me, but I wonder if the performance difference is > really that significant? In my experience, you're straying well into "it all depends" and "you'll have to benchmark your situation and see" territory. I once walked into a situation where a web server was setup to do a reverse lookup on all log entries, and the DNS servers were on the far end of an overloaded 56 kbps line. That was miserable, stupid slow and quickly cured by setting up a resolving name server on the web server. On the other hand, in situations where my name servers have been on the same high-quality gigE switch as the web servers, I've never noticed an issue, but then I don't run any really high-volume servers. On the third hand (too many years in front of CRTs), Apache and Bind have both had their security issues over the years, and there's something to be said for running them on different servers to reduce both the "all eggs in one basket" factor and the ease of spreading an attack. (Yes, I'm assuming what you're actually running....) If you want performance and security, you might consider running your authoritative dns servers for your domain on a different server, while on your web server you run a light-weight caching dns server reachable only on the loopback interface. -- --Jon Radel jon@radel.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3283 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090713/b0f3ad73/smime.bin From jhelfman at e-e.com Mon Jul 13 17:06:39 2009 From: jhelfman at e-e.com (Jason) Date: Mon Jul 13 17:06:46 2009 Subject: freebsd-update internal server Message-ID: <20090713170632.GA79358@eggman.experts-exchange.com> Hello all, I was wondering if anyone has successfully setup an internal freebsd-update mirror server for binary updates? I see there is a project for freebsd-update-server, but I see it hasn't been fully tested on amd64. I was also curious, if anyone has tested this on amd64, and if so what type of results or suggestions you may have. Haven't found any docs on this on freebsd.org, or in searching the mailing list. Thanks! Jason From mikel.king at olivent.com Mon Jul 13 17:11:17 2009 From: mikel.king at olivent.com (Mikel King) Date: Mon Jul 13 17:11:24 2009 Subject: Should DNS be on same server as webserver? In-Reply-To: <8195A2D9-F7AC-49F8-969E-A13EDFA3C05A@identry.com> References: <8195A2D9-F7AC-49F8-969E-A13EDFA3C05A@identry.com> Message-ID: <4262419A-96DF-4812-8E26-A01CB0D1A8F5@olivent.com> On Jul 13, 2009, at 12:36 PM, John Almberg wrote: > The other day, a FreeBSD 'expert' told me that it is important to > have the DNS server for a domain on the same server as the domain's > web server. Supposedly, this saves doing tons of DNS look ups over > the network. Instead, they are done locally. > > This makes sense to me, but I wonder if the performance difference > is really that significant? > > -- John If you head down this road you might want to only make it a caching DNS server, not your primary or secondary for sure. Unless you are limited on available hardware. Regards, Mikel King CEO, Olivent Technologies Senior Editor, Daemon News Columnist, BSD Magazine 6 Alpine Court, Medford, NY 11763 o: 631.627.3055 skype:mikel.king http://mikelking.com http://twitter.com/mikelking From mahlerrd at yahoo.com Mon Jul 13 17:29:04 2009 From: mahlerrd at yahoo.com (Richard Mahlerwein) Date: Mon Jul 13 17:29:11 2009 Subject: ZFS or UFS for 4TB hardware RAID6? Message-ID: <42310.1585.qm@web51008.mail.re2.yahoo.com> --- On Sun, 7/12/09, Maxim Khitrov wrote: > From: Maxim Khitrov > Subject: ZFS or UFS for 4TB hardware RAID6? > To: "Free BSD Questions list" > Date: Sunday, July 12, 2009, 11:47 PM > Hello all, > > I'm about to build a new file server using 3ware 9690SA-8E > controller > and 4x Western Digital RE4-GP 2TB drives in RAID6. It is > likely to > grow in the future up to 10TB. I may use FreeBSD 8 on this > one, since > the release will likely be made by the time this server > goes into > production. The question is a simple one - I have no > experience with > ZFS and so wanted to ask for recommendations of that versus > UFS2. How > stable is the implementation and does it offer any benefits > in my > setup (described below)? > > All of the RAID6 space will only be used for file storage, > accessible > by network using NFS and SMB. It may be split into > separate > partitions, but most likely the entire array will be one > giant storage > area that is expanded every time another hard drive is > added. The OS > and all installed apps will be on a separate software RAID1 > array. > > Given that security is more important than performance, > what would be > your recommended setup and why? > > - Max Your mileage may vary, but... I would investigate either using more spindles if you want to stick to RAID6, or perhaps using another RAID level if you will be with 4 drives for a while. The reasoning is that there's an overhead with RAID 6 - parity blocks are written to 2 disks, so in a 4 drive combination you have 2 drives with data and 2 with parity. With 4 drives, you could get much, much higher performance out of RAID10 (which is alternatively called RAID0+1 or RAID1+0 depending on the manufacturer and on how accurate they wish to be, and on how they actually implemented it, too). This would also mean 2 usable drives, as well, so you'd have the same space available in RAID10 as your proposed RAID6. I would confirm you can, on the fly, convert from RAID10 to RAID6 after you add more drives. If you can not, then by all means stick with RAID6 now! With 4 1 TB drives (for simpler examples) RAID5 = 3 TB available, 1 TB worth used in "parity". Fast reads, slow writes. RAID6 = 2 TB available, 2 TB worth used in "parity". Moderately fast reads, slow writes. RAID10 = 2 TB available, 2TB in duplicate copies (easier work than parity calculations). Very fast reads, moderately fast writes. When you switch to, say, 8 drives, the numbers start to change a bit. RAID5 = 7TB available, 1 lost. RAID6 = 6TB available, 2 lost. RAID10 = 4TB available, 4 lost. From mahlerrd at yahoo.com Mon Jul 13 17:46:27 2009 From: mahlerrd at yahoo.com (Richard Mahlerwein) Date: Mon Jul 13 17:46:41 2009 Subject: ZFS or UFS for 4TB hardware RAID6? Message-ID: <78927.1741.qm@web51001.mail.re2.yahoo.com> --- On Mon, 7/13/09, Richard Mahlerwein wrote: > From: Richard Mahlerwein > Subject: Re: ZFS or UFS for 4TB hardware RAID6? > To: "Free BSD Questions list" > Date: Monday, July 13, 2009, 1:29 PM > --- On Sun, 7/12/09, Maxim Khitrov > > wrote: > > > From: Maxim Khitrov > > Subject: ZFS or UFS for 4TB hardware RAID6? > > To: "Free BSD Questions list" > > Date: Sunday, July 12, 2009, 11:47 PM > > Hello all, > > > > I'm about to build a new file server using 3ware > 9690SA-8E > > controller > > and 4x Western Digital RE4-GP 2TB drives in RAID6. It > is > > likely to > > grow in the future up to 10TB. I may use FreeBSD 8 on > this > > one, since > > the release will likely be made by the time this > server > > goes into > > production. The question is a simple one - I have no > > experience with > > ZFS and so wanted to ask for recommendations of that > versus > > UFS2. How > > stable is the implementation and does it offer any > benefits > > in my > > setup (described below)? > > > > All of the RAID6 space will only be used for file > storage, > > accessible > > by network using NFS and SMB. It may be split into > > separate > > partitions, but most likely the entire array will be > one > > giant storage > > area that is expanded every time another hard drive > is > > added. The OS > > and all installed apps will be on a separate software > RAID1 > > array. > > > > Given that security is more important than > performance, > > what would be > > your recommended setup and why? > > > > - Max > > Your mileage may vary, but... > > I would investigate either using more spindles if you want > to stick to RAID6, or perhaps using another RAID level if > you will be with 4 drives for a while.? The reasoning > is that there's an overhead with RAID 6 - parity blocks are > written to 2 disks, so in a 4 drive combination you have 2 > drives with data and 2 with parity.? > > With 4 drives, you could get much, much higher performance > out of RAID10 (which is alternatively called RAID0+1 or > RAID1+0 depending on the manufacturer and on how accurate > they wish to be, and on how they actually implemented it, > too). This would also mean 2 usable drives, as well, so > you'd have the same space available in RAID10 as your > proposed RAID6.? > > I would confirm you can, on the fly, convert from RAID10 to > RAID6 after you add more drives.? If you can not, then > by all means stick with RAID6 now! > > With 4 1 TB drives (for simpler examples) > RAID5 = 3 TB available, 1 TB worth used in "parity".? > Fast reads, slow writes. > RAID6 = 2 TB available, 2 TB worth used in "parity".? > Moderately fast reads, slow writes. > RAID10 = 2 TB available, 2TB in duplicate copies (easier > work than parity calculations).? Very fast reads, > moderately fast writes. > > When you switch to, say, 8 drives, the numbers start to > change a bit. > RAID5 = 7TB available, 1 lost. > RAID6 = 6TB available, 2 lost. > RAID10 = 4TB available, 4 lost. > Sorry, consider myself chastised for having missed the "Security is more important than performance" bit. I tend toward solutions that show the most value, and with 4 drives, it seems that I'd stick with the same "data security" only pick up the free speed of RAID10. Change when you get to 6 or more drives, if necessary. For data security, I can't answer for the UFS2 vs. ZFS. For hardware setup, let me amend everything I said above with the following: Since you are seriously focusing on data integrity, ignore everything I said but make sure you have good backups! :) Sorry, -Rich From mkhitrov at gmail.com Mon Jul 13 18:03:20 2009 From: mkhitrov at gmail.com (Maxim Khitrov) Date: Mon Jul 13 18:03:26 2009 Subject: ZFS or UFS for 4TB hardware RAID6? In-Reply-To: <78927.1741.qm@web51001.mail.re2.yahoo.com> References: <78927.1741.qm@web51001.mail.re2.yahoo.com> Message-ID: <26ddd1750907131102y7a75c674n550c50a5af76da0d@mail.gmail.com> On Mon, Jul 13, 2009 at 1:46 PM, Richard Mahlerwein wrote: >> >> Your mileage may vary, but... >> >> I would investigate either using more spindles if you want >> to stick to RAID6, or perhaps using another RAID level if >> you will be with 4 drives for a while.? The reasoning >> is that there's an overhead with RAID 6 - parity blocks are >> written to 2 disks, so in a 4 drive combination you have 2 >> drives with data and 2 with parity. >> >> With 4 drives, you could get much, much higher performance >> out of RAID10 (which is alternatively called RAID0+1 or >> RAID1+0 depending on the manufacturer and on how accurate >> they wish to be, and on how they actually implemented it, >> too). This would also mean 2 usable drives, as well, so >> you'd have the same space available in RAID10 as your >> proposed RAID6. >> >> I would confirm you can, on the fly, convert from RAID10 to >> RAID6 after you add more drives.? If you can not, then >> by all means stick with RAID6 now! >> >> With 4 1 TB drives (for simpler examples) >> RAID5 = 3 TB available, 1 TB worth used in "parity". >> Fast reads, slow writes. >> RAID6 = 2 TB available, 2 TB worth used in "parity". >> Moderately fast reads, slow writes. >> RAID10 = 2 TB available, 2TB in duplicate copies (easier >> work than parity calculations).? Very fast reads, >> moderately fast writes. >> >> When you switch to, say, 8 drives, the numbers start to >> change a bit. >> RAID5 = 7TB available, 1 lost. >> RAID6 = 6TB available, 2 lost. >> RAID10 = 4TB available, 4 lost. >> > > Sorry, consider myself chastised for having missed the "Security is more important than performance" bit. I tend toward solutions that show the most value, and with 4 drives, it seems that I'd stick with the same "data security" only pick up the free speed of RAID10. ?Change when you get to 6 or more drives, if necessary. > > For data security, I can't answer for the UFS2 vs. ZFS. ?For hardware setup, let me amend everything I said above with the following: > > Since you are seriously focusing on data integrity, ignore everything I said but make sure you have good backups! ?:) > > Sorry, > -Rich No problem :) I've been doing some reading since I posted this question and it turns out that the controller will actually not allow me to create a RAID6 array using only 4 drives. 3ware followed the same reasoning as you; with 4 drives use RAID10. I know that you can migrate from one to the other when a 5th disk is added, but RAID10 can only handle 2 failed drives if they are from separate RAID1 groups. In this way, it is just slightly less resilient to failure than RAID6. With this new information, I think I may as well get one more 2TB drive and start with 6TB of RAID6 space. This will be less of a headache later on. - Max From mahlerrd at yahoo.com Mon Jul 13 18:13:59 2009 From: mahlerrd at yahoo.com (Richard Mahlerwein) Date: Mon Jul 13 18:14:06 2009 Subject: ZFS or UFS for 4TB hardware RAID6? Message-ID: <937260.17107.qm@web51002.mail.re2.yahoo.com> --- On Mon, 7/13/09, Maxim Khitrov wrote: > From: Maxim Khitrov > Subject: Re: ZFS or UFS for 4TB hardware RAID6? > To: mahlerrd@yahoo.com > Cc: "Free BSD Questions list" > Date: Monday, July 13, 2009, 2:02 PM > On Mon, Jul 13, 2009 at 1:46 PM, > Richard Mahlerwein > wrote: > >> > >> Your mileage may vary, but... > >> > >> I would investigate either using more spindles if > you want > >> to stick to RAID6, or perhaps using another RAID > level if > >> you will be with 4 drives for a while.? The > reasoning > >> is that there's an overhead with RAID 6 - parity > blocks are > >> written to 2 disks, so in a 4 drive combination > you have 2 > >> drives with data and 2 with parity. > >> > >> With 4 drives, you could get much, much higher > performance > >> out of RAID10 (which is alternatively called > RAID0+1 or > >> RAID1+0 depending on the manufacturer and on how > accurate > >> they wish to be, and on how they actually > implemented it, > >> too). This would also mean 2 usable drives, as > well, so > >> you'd have the same space available in RAID10 as > your > >> proposed RAID6. > >> > >> I would confirm you can, on the fly, convert from > RAID10 to > >> RAID6 after you add more drives.? If you can not, > then > >> by all means stick with RAID6 now! > >> > >> With 4 1 TB drives (for simpler examples) > >> RAID5 = 3 TB available, 1 TB worth used in > "parity". > >> Fast reads, slow writes. > >> RAID6 = 2 TB available, 2 TB worth used in > "parity". > >> Moderately fast reads, slow writes. > >> RAID10 = 2 TB available, 2TB in duplicate copies > (easier > >> work than parity calculations).? Very fast > reads, > >> moderately fast writes. > >> > >> When you switch to, say, 8 drives, the numbers > start to > >> change a bit. > >> RAID5 = 7TB available, 1 lost. > >> RAID6 = 6TB available, 2 lost. > >> RAID10 = 4TB available, 4 lost. > >> > > > > Sorry, consider myself chastised for having missed the > "Security is more important than performance" bit. I tend > toward solutions that show the most value, and with 4 > drives, it seems that I'd stick with the same "data > security" only pick up the free speed of RAID10. ?Change > when you get to 6 or more drives, if necessary. > > > > For data security, I can't answer for the UFS2 vs. > ZFS. ?For hardware setup, let me amend everything I said > above with the following: > > > > Since you are seriously focusing on data integrity, > ignore everything I said but make sure you have good > backups! ?:) > > > > Sorry, > > -Rich > > No problem :) I've been doing some reading since I posted > this > question and it turns out that the controller will actually > not allow > me to create a RAID6 array using only 4 drives. 3ware > followed the > same reasoning as you; with 4 drives use RAID10. > > I know that you can migrate from one to the other when a > 5th disk is > added, but RAID10 can only handle 2 failed drives if they > are from > separate RAID1 groups. In this way, it is just slightly > less resilient > to failure than RAID6. With this new information, I think I > may as > well get one more 2TB drive and start with 6TB of RAID6 > space. This > will be less of a headache later on. > > - Max Just as a question: how ARE you planning on backing this beast up? While I don't want to sound like a worry-wort, I have had odd things happen at the worst of times. RAID cards fail, power supplies let out the magic smoke, users delete items they really want back... *sigh* A bit of reading shows that ZFS, if it's stable enough, has some really great features that would be nice on such a large pile o' drives. See http://wiki.freebsd.org/ZFSQuickStartGuide I guess the last question I'll ask (as any more may uncover my ignorance) is if you need to use hardware RAID at all? It seems both UFS2 and ZFS can do software RAID which seems to be quite reasonable with respect to performance and in many ways seems to be more robust since it is a bit more portable (no specialized hardware). There are others who may respond with better information on that front. I've been a strong proponent of hardware RAID, but have recently begun to realize many of the reasons for that are only of limited validity now. -Rich From jerrymc at msu.edu Mon Jul 13 18:17:42 2009 From: jerrymc at msu.edu (Jerry McAllister) Date: Mon Jul 13 18:17:49 2009 Subject: Should DNS be on same server as webserver? In-Reply-To: <8195A2D9-F7AC-49F8-969E-A13EDFA3C05A@identry.com> References: <8195A2D9-F7AC-49F8-969E-A13EDFA3C05A@identry.com> Message-ID: <20090713181633.GB44024@gizmo.acns.msu.edu> On Mon, Jul 13, 2009 at 12:36:42PM -0400, John Almberg wrote: > The other day, a FreeBSD 'expert' told me that it is important to > have the DNS server for a domain on the same server as the domain's > web server. Supposedly, this saves doing tons of DNS look ups over > the network. Instead, they are done locally. > > This makes sense to me, but I wonder if the performance difference is > really that significant? sounds like someone who does not understand the network. In fact, it is possibly even better for them to be on different machines. This would be for security reasons. Anyway, any DNS lookup results are normally cached on the local machine for some period of time (set by the nameserver). ////jerry > > -- John > _______________________________________________ > 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 drew at mykitchentable.net Mon Jul 13 18:30:21 2009 From: drew at mykitchentable.net (Drew Tomlinson) Date: Mon Jul 13 18:30:28 2009 Subject: Attempting ZFS Only Install of 7.2 In-Reply-To: <970380130907122109g4e160373m37259a3c40d48373@mail.gmail.com> References: <4A57E38B.5050108@mykitchentable.net> <970380130907122109g4e160373m37259a3c40d48373@mail.gmail.com> Message-ID: <4A5B7D28.1080000@mykitchentable.net> Jason Garrett wrote: > >snip > > I see you tried the zpool import and export, but did you perform > `mkdir /boot/zfs` directly before `zpool export tank && zpool import > tank` ? > > I just have to ask because I did not see that specified, and you > mention not being able to find zpool.cache. /boot/zfs is where > zpool.cache hides out. Yes I did. However I figured out my problem. I was chrooted into /dist and the zpool.cache was being written to /boot/zfs (as you mention). But because of the chroot, when I checked /boot/zfs, I was *really* checking /dist/boot/zfs. Thus my problem. :) However I'm still having difficulty. I suspect I don't have a /boot/loader that supports zfs filesystems as I just boot to the 'OK" prompt. An 'lsdev' only shows BIOS devices but I've seen posts on the Net that indicate I should have zfs devices listed there too if I have a proper /boot/loader. I've used the one from both 7.2-RELEASE.iso and 8.0-BETA1.iso but no luck. Do you know of any way I can confirm or deny my suspicion? Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com From mel.flynn+fbsd.questions at mailing.thruhere.net Mon Jul 13 19:05:25 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Mon Jul 13 19:05:32 2009 Subject: Should DNS be on same server as webserver? In-Reply-To: <8195A2D9-F7AC-49F8-969E-A13EDFA3C05A@identry.com> References: <8195A2D9-F7AC-49F8-969E-A13EDFA3C05A@identry.com> Message-ID: <200907131105.22889.mel.flynn+fbsd.questions@mailing.thruhere.net> On Monday 13 July 2009 08:36:42 John Almberg wrote: > The other day, a FreeBSD 'expert' told me that it is important to > have the DNS server for a domain on the same server as the domain's > web server. Supposedly, this saves doing tons of DNS look ups over > the network. Instead, they are done locally. Bogus. A high-performance webserver should not be doing DNS lookups, other then application driven ones, like verification of email domains upon registration. If having hostnames in the live logs is mandatory by some weird company policy or the webserver does not provide a configuration setting to turn this behavior off, then more performance is gained by having the nameserver on the network gateway as the likeliness of cache hits and especially negative cache hits is increased. As others have mentioned, network overhead is negligible. Human noticeable delays are caused by upstream DNS servers slowly or not at all responding when a client IP is being resolved. Secondly, a named cache size depends on available memory. A high performance webserver uses plenty of that, so you wouldn't be able to grow the named cache to "almost caching the entire net" size, which you would be able to on a dedicated machine. -- Mel From mkhitrov at gmail.com Mon Jul 13 19:23:41 2009 From: mkhitrov at gmail.com (Maxim Khitrov) Date: Mon Jul 13 19:23:48 2009 Subject: ZFS or UFS for 4TB hardware RAID6? In-Reply-To: <937260.17107.qm@web51002.mail.re2.yahoo.com> References: <937260.17107.qm@web51002.mail.re2.yahoo.com> Message-ID: <26ddd1750907131223k9e20142n1fbc41e16d82bf87@mail.gmail.com> On Mon, Jul 13, 2009 at 2:13 PM, Richard Mahlerwein wrote: > > --- On Mon, 7/13/09, Maxim Khitrov wrote: > >> From: Maxim Khitrov >> Subject: Re: ZFS or UFS for 4TB hardware RAID6? >> To: mahlerrd@yahoo.com >> Cc: "Free BSD Questions list" >> Date: Monday, July 13, 2009, 2:02 PM >> On Mon, Jul 13, 2009 at 1:46 PM, >> Richard Mahlerwein >> wrote: >> >> >> >> Your mileage may vary, but... >> >> >> >> I would investigate either using more spindles if >> you want >> >> to stick to RAID6, or perhaps using another RAID >> level if >> >> you will be with 4 drives for a while.? The >> reasoning >> >> is that there's an overhead with RAID 6 - parity >> blocks are >> >> written to 2 disks, so in a 4 drive combination >> you have 2 >> >> drives with data and 2 with parity. >> >> >> >> With 4 drives, you could get much, much higher >> performance >> >> out of RAID10 (which is alternatively called >> RAID0+1 or >> >> RAID1+0 depending on the manufacturer and on how >> accurate >> >> they wish to be, and on how they actually >> implemented it, >> >> too). This would also mean 2 usable drives, as >> well, so >> >> you'd have the same space available in RAID10 as >> your >> >> proposed RAID6. >> >> >> >> I would confirm you can, on the fly, convert from >> RAID10 to >> >> RAID6 after you add more drives.? If you can not, >> then >> >> by all means stick with RAID6 now! >> >> >> >> With 4 1 TB drives (for simpler examples) >> >> RAID5 = 3 TB available, 1 TB worth used in >> "parity". >> >> Fast reads, slow writes. >> >> RAID6 = 2 TB available, 2 TB worth used in >> "parity". >> >> Moderately fast reads, slow writes. >> >> RAID10 = 2 TB available, 2TB in duplicate copies >> (easier >> >> work than parity calculations).? Very fast >> reads, >> >> moderately fast writes. >> >> >> >> When you switch to, say, 8 drives, the numbers >> start to >> >> change a bit. >> >> RAID5 = 7TB available, 1 lost. >> >> RAID6 = 6TB available, 2 lost. >> >> RAID10 = 4TB available, 4 lost. >> >> >> > >> > Sorry, consider myself chastised for having missed the >> "Security is more important than performance" bit. I tend >> toward solutions that show the most value, and with 4 >> drives, it seems that I'd stick with the same "data >> security" only pick up the free speed of RAID10. ?Change >> when you get to 6 or more drives, if necessary. >> > >> > For data security, I can't answer for the UFS2 vs. >> ZFS. ?For hardware setup, let me amend everything I said >> above with the following: >> > >> > Since you are seriously focusing on data integrity, >> ignore everything I said but make sure you have good >> backups! ?:) >> > >> > Sorry, >> > -Rich >> >> No problem :) I've been doing some reading since I posted >> this >> question and it turns out that the controller will actually >> not allow >> me to create a RAID6 array using only 4 drives. 3ware >> followed the >> same reasoning as you; with 4 drives use RAID10. >> >> I know that you can migrate from one to the other when a >> 5th disk is >> added, but RAID10 can only handle 2 failed drives if they >> are from >> separate RAID1 groups. In this way, it is just slightly >> less resilient >> to failure than RAID6. With this new information, I think I >> may as >> well get one more 2TB drive and start with 6TB of RAID6 >> space. This >> will be less of a headache later on. >> >> - Max > > Just as a question: how ARE you planning on backing this beast up? ?While I don't want to sound like a worry-wort, I have had odd things happen at the worst of times. ?RAID cards fail, power supplies let out the magic smoke, users delete items they really want back... *sigh* Rsync over ssh to another server. Most of the data stored will never change after the first upload. A daily rsync run will transfer one or two gigs at the most. History is not required for the same reason; this is an append-only storage for the most part. A backup for the previous day is all that is required, but I will keep a weekly backup as well until I start running out of space. > A bit of reading shows that ZFS, if it's stable enough, has some really great features that would be nice on such a large pile o' drives. > > See http://wiki.freebsd.org/ZFSQuickStartGuide > > I guess the last question I'll ask (as any more may uncover my ignorance) is if you need to use hardware RAID at all? It seems both UFS2 and ZFS can do software RAID which seems to be quite reasonable with respect to performance and in many ways seems to be more robust since it is a bit more portable (no specialized hardware). I've thought about this one a lot. In my case, the hard drives are in a separate enclosure from the server and the two had to be connected via SAS cables. The 9690SA-8E card was the best choice I could find for accessing an external SAS enclosure with support for 8 drives. I could configure it in JBOD mode and then use software to create a RAID array. In fact, I will likely do this to compare performance of a hardware vs. software RAID5 solution. The ZFS RAID-Z option does not appeal to me, because the read performance does not benefit from additional drives, and I don't think RAID6 is available in software. For those reasons I'm leaning toward a hardware implementation. If I go the hardware route, I'll try to purchase a backup controller in a year or two. :) > There are others who may respond with better information on that front. I've been a strong proponent of hardware RAID, but have recently begun to realize many of the reasons for that are only of limited validity now. Agreed, and many simple RAID setups (0, 1, 10) will give you much better performance in software. In my case, I have to have some piece of hardware just to get to the drives, and I'm guessing that hardware RAID5/6 will be faster than the closest software equivalent. Maybe my tests will convince me otherwise. - Max From fsb at thefsb.org Mon Jul 13 20:06:26 2009 From: fsb at thefsb.org (Tom Worster) Date: Mon Jul 13 20:08:16 2009 Subject: ZFS or UFS for 4TB hardware RAID6? In-Reply-To: <26ddd1750907131223k9e20142n1fbc41e16d82bf87@mail.gmail.com> Message-ID: On 7/13/09 3:23 PM, "Maxim Khitrov" wrote: > On Mon, Jul 13, 2009 at 2:13 PM, Richard Mahlerwein wrote: > >> I guess the last question I'll ask (as any more may uncover my ignorance) is >> if you need to use hardware RAID at all? It seems both UFS2 and ZFS can do >> software RAID which seems to be quite reasonable with respect to performance >> and in many ways seems to be more robust since it is a bit more portable (no >> specialized hardware). > > I've thought about this one a lot. In my case, the hard drives are in > a separate enclosure from the server and the two had to be connected > via SAS cables. The 9690SA-8E card was the best choice I could find > for accessing an external SAS enclosure with support for 8 drives. > > I could configure it in JBOD mode and then use software to create a > RAID array. In fact, I will likely do this to compare performance of a > hardware vs. software RAID5 solution. if you do, please share any insights that come of it here. From mahlerrd at yahoo.com Mon Jul 13 20:08:58 2009 From: mahlerrd at yahoo.com (Richard Mahlerwein) Date: Mon Jul 13 20:09:54 2009 Subject: ZFS or UFS for 4TB hardware RAID6? Message-ID: <458986.60331.qm@web51004.mail.re2.yahoo.com> --- On Mon, 7/13/09, Maxim Khitrov wrote: > From: Maxim Khitrov > Subject: Re: ZFS or UFS for 4TB hardware RAID6? > To: mahlerrd@yahoo.com > Cc: "Free BSD Questions list" > Date: Monday, July 13, 2009, 3:23 PM > On Mon, Jul 13, 2009 at 2:13 PM, > Richard Mahlerwein > wrote: > > > > --- On Mon, 7/13/09, Maxim Khitrov > wrote: > > > >> From: Maxim Khitrov > >> Subject: Re: ZFS or UFS for 4TB hardware RAID6? > >> To: mahlerrd@yahoo.com > >> Cc: "Free BSD Questions list" > >> Date: Monday, July 13, 2009, 2:02 PM > >> On Mon, Jul 13, 2009 at 1:46 PM, > >> Richard Mahlerwein > >> wrote: > >> >> > >> >> Your mileage may vary, but... > >> >> > >> >> I would investigate either using more > spindles if > >> you want > >> >> to stick to RAID6, or perhaps using > another RAID > >> level if > >> >> you will be with 4 drives for a while.? > The > >> reasoning > >> >> is that there's an overhead with RAID 6 - > parity > >> blocks are > >> >> written to 2 disks, so in a 4 drive > combination > >> you have 2 > >> >> drives with data and 2 with parity. > >> >> > >> >> With 4 drives, you could get much, much > higher > >> performance > >> >> out of RAID10 (which is alternatively > called > >> RAID0+1 or > >> >> RAID1+0 depending on the manufacturer and > on how > >> accurate > >> >> they wish to be, and on how they > actually > >> implemented it, > >> >> too). This would also mean 2 usable > drives, as > >> well, so > >> >> you'd have the same space available in > RAID10 as > >> your > >> >> proposed RAID6. > >> >> > >> >> I would confirm you can, on the fly, > convert from > >> RAID10 to > >> >> RAID6 after you add more drives.? If you > can not, > >> then > >> >> by all means stick with RAID6 now! > >> >> > >> >> With 4 1 TB drives (for simpler > examples) > >> >> RAID5 = 3 TB available, 1 TB worth used > in > >> "parity". > >> >> Fast reads, slow writes. > >> >> RAID6 = 2 TB available, 2 TB worth used > in > >> "parity". > >> >> Moderately fast reads, slow writes. > >> >> RAID10 = 2 TB available, 2TB in duplicate > copies > >> (easier > >> >> work than parity calculations).? Very > fast > >> reads, > >> >> moderately fast writes. > >> >> > >> >> When you switch to, say, 8 drives, the > numbers > >> start to > >> >> change a bit. > >> >> RAID5 = 7TB available, 1 lost. > >> >> RAID6 = 6TB available, 2 lost. > >> >> RAID10 = 4TB available, 4 lost. > >> >> > >> > > >> > Sorry, consider myself chastised for having > missed the > >> "Security is more important than performance" bit. > I tend > >> toward solutions that show the most value, and > with 4 > >> drives, it seems that I'd stick with the same > "data > >> security" only pick up the free speed of RAID10. > ?Change > >> when you get to 6 or more drives, if necessary. > >> > > >> > For data security, I can't answer for the > UFS2 vs. > >> ZFS. ?For hardware setup, let me amend everything > I said > >> above with the following: > >> > > >> > Since you are seriously focusing on data > integrity, > >> ignore everything I said but make sure you have > good > >> backups! ?:) > >> > > >> > Sorry, > >> > -Rich > >> > >> No problem :) I've been doing some reading since I > posted > >> this > >> question and it turns out that the controller will > actually > >> not allow > >> me to create a RAID6 array using only 4 drives. > 3ware > >> followed the > >> same reasoning as you; with 4 drives use RAID10. > >> > >> I know that you can migrate from one to the other > when a > >> 5th disk is > >> added, but RAID10 can only handle 2 failed drives > if they > >> are from > >> separate RAID1 groups. In this way, it is just > slightly > >> less resilient > >> to failure than RAID6. With this new information, > I think I > >> may as > >> well get one more 2TB drive and start with 6TB of > RAID6 > >> space. This > >> will be less of a headache later on. > >> > >> - Max > > > > Just as a question: how ARE you planning on backing > this beast up? ?While I don't want to sound like a > worry-wort, I have had odd things happen at the worst of > times. ?RAID cards fail, power supplies let out the magic > smoke, users delete items they really want back... *sigh* > > Rsync over ssh to another server. Most of the data stored > will never > change after the first upload. A daily rsync run will > transfer one or > two gigs at the most. History is not required for the same > reason; > this is an append-only storage for the most part. A backup > for the > previous day is all that is required, but I will keep a > weekly backup > as well until I start running out of space. > > > A bit of reading shows that ZFS, if it's stable > enough, has some really great features that would be nice on > such a large pile o' drives. > > > > See http://wiki.freebsd.org/ZFSQuickStartGuide > > > > I guess the last question I'll ask (as any more may > uncover my ignorance) is if you need to use hardware RAID at > all?? It seems both UFS2 and ZFS can do software RAID > which seems to be quite reasonable with respect to > performance and in many ways seems to be more robust since > it is a bit more portable (no specialized hardware). > > I've thought about this one a lot. In my case, the hard > drives are in > a separate enclosure from the server and the two had to be > connected > via SAS cables. The 9690SA-8E card was the best choice I > could find > for accessing an external SAS enclosure with support for 8 > drives. > > I could configure it in JBOD mode and then use software to > create a > RAID array. In fact, I will likely do this to compare > performance of a > hardware vs. software RAID5 solution. The ZFS RAID-Z option > does not > appeal to me, because the read performance does not benefit > from > additional drives, and I don't think RAID6 is available in > software. > For those reasons I'm leaning toward a hardware > implementation. > > If I go the hardware route, I'll try to purchase a backup > controller > in a year or two. :) > > > There are others who may respond with better > information on that front.? I've been a strong > proponent of hardware RAID, but have recently begun to > realize many of the reasons for that are only of limited > validity now. > > Agreed, and many simple RAID setups (0, 1, 10) will give > you much > better performance in software. In my case, I have to have > some piece > of hardware just to get to the drives, and I'm guessing > that hardware > RAID5/6 will be faster than the closest software > equivalent. Maybe my > tests will convince me otherwise. > > - Max I'd love to hear about any test results you may get comparing software with hardware raid. From jalmberg at identry.com Mon Jul 13 20:48:03 2009 From: jalmberg at identry.com (John Almberg) Date: Mon Jul 13 20:48:10 2009 Subject: Should DNS be on same server as webserver? In-Reply-To: <200907131105.22889.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <8195A2D9-F7AC-49F8-969E-A13EDFA3C05A@identry.com> <200907131105.22889.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <3677DF1E-A610-4C33-A686-7A015C2D4597@identry.com> On Jul 13, 2009, at 3:05 PM, Mel Flynn wrote: > On Monday 13 July 2009 08:36:42 John Almberg wrote: >> The other day, a FreeBSD 'expert' told me that it is important to >> have the DNS server for a domain on the same server as the domain's >> web server. Supposedly, this saves doing tons of DNS look ups over >> the network. Instead, they are done locally. > > Bogus. A high-performance webserver should not be doing DNS > lookups, other > then application driven ones, like verification of email domains upon > registration. If having hostnames in the live logs is mandatory by > some weird > company policy or the webserver does not provide a configuration > setting to > turn this behavior off, then more performance is gained by having the > nameserver on the network gateway as the likeliness of cache hits and > especially negative cache hits is increased. As others have > mentioned, network > overhead is negligible. Human noticeable delays are caused by > upstream DNS > servers slowly or not at all responding when a client IP is being > resolved. > > Secondly, a named cache size depends on available memory. A high > performance > webserver uses plenty of that, so you wouldn't be able to grow the > named cache > to "almost caching the entire net" size, which you would be able to > on a > dedicated machine. Thanks for all the comments on this topic. Glad I put 'expert' in quotes. I had a feeling... -- John From freebsd at rgbaz.eu Mon Jul 13 20:59:04 2009 From: freebsd at rgbaz.eu (FBSD UG) Date: Mon Jul 13 20:59:11 2009 Subject: ZFS or UFS for 4TB hardware RAID6? In-Reply-To: <26ddd1750907131223k9e20142n1fbc41e16d82bf87@mail.gmail.com> References: <937260.17107.qm@web51002.mail.re2.yahoo.com> <26ddd1750907131223k9e20142n1fbc41e16d82bf87@mail.gmail.com> Message-ID: > >> A bit of reading shows that ZFS, if it's stable enough, has some >> really great features that would be nice on such a large pile o' >> drives. >> >> See http://wiki.freebsd.org/ZFSQuickStartGuide >> >> I guess the last question I'll ask (as any more may uncover my >> ignorance) is if you need to use hardware RAID at all? It seems >> both UFS2 and ZFS can do software RAID which seems to be quite >> reasonable with respect to performance and in many ways seems to be >> more robust since it is a bit more portable (no specialized >> hardware). > > I've thought about this one a lot. In my case, the hard drives are in > a separate enclosure from the server and the two had to be connected > via SAS cables. The 9690SA-8E card was the best choice I could find > for accessing an external SAS enclosure with support for 8 drives. > > I could configure it in JBOD mode and then use software to create a > RAID array. In fact, I will likely do this to compare performance of a > hardware vs. software RAID5 solution. The ZFS RAID-Z option does not > appeal to me, because the read performance does not benefit from > additional drives, and I don't think RAID6 is available in software. > For those reasons I'm leaning toward a hardware implementation. > Hi Maxim, RAID-Z2 is the RAID6 double parity option in ZFS. gr Arno From fernando.apesteguia at gmail.com Mon Jul 13 21:11:35 2009 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Mon Jul 13 21:11:42 2009 Subject: 8.0 BETA1 LOR Message-ID: <1bd550a00907131347j118904b8j4dbc06b538283ae@mail.gmail.com> Hi there, I downloaded FreeBSD 8.0 in order to help testing it. I have found several issues. This is the first one: Jul 13 18:37:43 beastie kernel: lock order reversal: Jul 13 18:37:43 beastie kernel: 1st 0xffffff0007d42ba8 ufs (ufs) @ /usr/src/sys/kern/vfs_mount.c:1199 Jul 13 18:37:43 beastie kernel: 2nd 0xffffff002e007270 devfs (devfs) @ /usr/src/sys/fs/msdosfs/msdosfs_vfsops.c:944 Jul 13 18:37:43 beastie kernel: KDB: stack backtrace: Jul 13 18:37:43 beastie kernel: db_trace_self_wrapper() at db_trace_self_wrapper+0x2a Jul 13 18:37:43 beastie kernel: _witness_debugger() at _witness_debugger+0x2e Jul 13 18:37:43 beastie kernel: witness_checkorder() at witness_checkorder+0x81e Jul 13 18:37:43 beastie kernel: __lockmgr_args() at __lockmgr_args+0xcf3 Jul 13 18:37:43 beastie kernel: vop_stdlock() at vop_stdlock+0x39 Jul 13 18:37:43 beastie kernel: VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b Jul 13 18:37:43 beastie kernel: _vn_lock() at _vn_lock+0x47 Jul 13 18:37:43 beastie kernel: msdosfs_sync() at msdosfs_sync+0x227 Jul 13 18:37:43 beastie kernel: dounmount() at dounmount+0x2ca Jul 13 18:37:43 beastie kernel: unmount() at unmount+0x28a Jul 13 18:37:43 beastie kernel: syscall() at syscall+0x1af Jul 13 18:37:43 beastie kernel: Xfast_syscall() at Xfast_syscall+0xd0 Jul 13 18:37:43 beastie kernel: --- syscall (22, FreeBSD ELF64, unmount), rip = 0x8006a09ac, rsp = 0x7fffffffdc38, rbp = 0 --- Jul 13 18:37:44 beastie gnome-keyring-daemon[61245]: removing removable location: volume_size_4144496640 I got this while trying to unmount a USB device. The unmounting seemed to be fine, all the files were in the device and no corruption occurred. I found a very similar problem (maybe the same) here[1]. Any clues about this? Thanks in advance. PS: Is this the proper list for asking these questions? [1] http://forums.freebsd.org/showthread.php?p=31490 From glen.j.barber at gmail.com Mon Jul 13 21:28:07 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon Jul 13 21:28:16 2009 Subject: 8.0 BETA1 LOR In-Reply-To: <1bd550a00907131347j118904b8j4dbc06b538283ae@mail.gmail.com> References: <1bd550a00907131347j118904b8j4dbc06b538283ae@mail.gmail.com> Message-ID: <4ad871310907131428v533d5187p17fd6536224bcd21@mail.gmail.com> Hi, Fernando 2009/7/13 Fernando Apestegu?a : > Hi there, > > I downloaded FreeBSD 8.0 in order to help testing it. I have found > several issues. This is the first one: > > Jul 13 18:37:43 beastie kernel: lock order reversal: > Jul 13 18:37:43 beastie kernel: 1st 0xffffff0007d42ba8 ufs (ufs) @ > /usr/src/sys/kern/vfs_mount.c:1199 > Jul 13 18:37:43 beastie kernel: 2nd 0xffffff002e007270 devfs (devfs) @ > /usr/src/sys/fs/msdosfs/msdosfs_vfsops.c:944 > Jul 13 18:37:43 beastie kernel: KDB: stack backtrace: > Jul 13 18:37:43 beastie kernel: db_trace_self_wrapper() at > db_trace_self_wrapper+0x2a > Jul 13 18:37:43 beastie kernel: _witness_debugger() at _witness_debugger+0x2e > Jul 13 18:37:43 beastie kernel: witness_checkorder() at witness_checkorder+0x81e > Jul 13 18:37:43 beastie kernel: __lockmgr_args() at __lockmgr_args+0xcf3 > Jul 13 18:37:43 beastie kernel: vop_stdlock() at vop_stdlock+0x39 > Jul 13 18:37:43 beastie kernel: VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b > Jul 13 18:37:43 beastie kernel: _vn_lock() at _vn_lock+0x47 > Jul 13 18:37:43 beastie kernel: msdosfs_sync() at msdosfs_sync+0x227 > Jul 13 18:37:43 beastie kernel: dounmount() at dounmount+0x2ca > Jul 13 18:37:43 beastie kernel: unmount() at unmount+0x28a > Jul 13 18:37:43 beastie kernel: syscall() at syscall+0x1af > Jul 13 18:37:43 beastie kernel: Xfast_syscall() at Xfast_syscall+0xd0 > Jul 13 18:37:43 beastie kernel: --- syscall (22, FreeBSD ELF64, > unmount), rip = 0x8006a09ac, rsp = 0x7fffffffdc38, rbp = 0 --- > Jul 13 18:37:44 beastie gnome-keyring-daemon[61245]: removing > removable location: volume_size_4144496640 > > I got this while trying to unmount a USB device. The unmounting seemed > to be fine, all the files were in the device and no corruption > occurred. I found a very similar problem (maybe the same) here[1]. Any > clues about this? > > > Thanks in advance. > > PS: Is this the proper list for asking these questions? > > [1] http://forums.freebsd.org/showthread.php?p=31490 You can view reported lock order reversals here: http://sources.zabbadoz.net/freebsd/lor.html Questions about the -CURRENT branch should be asked on questions@. -- Glen Barber From glen.j.barber at gmail.com Mon Jul 13 21:37:41 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Mon Jul 13 21:37:49 2009 Subject: 8.0 BETA1 LOR In-Reply-To: <4ad871310907131428v533d5187p17fd6536224bcd21@mail.gmail.com> References: <1bd550a00907131347j118904b8j4dbc06b538283ae@mail.gmail.com> <4ad871310907131428v533d5187p17fd6536224bcd21@mail.gmail.com> Message-ID: <4ad871310907131437p439bc099o243f578e9c6740e6@mail.gmail.com> 2009/7/13 Glen Barber : > Hi, Fernando > > 2009/7/13 Fernando Apestegu?a : >> Hi there, >> >> I downloaded FreeBSD 8.0 in order to help testing it. I have found >> several issues. This is the first one: >> >> Jul 13 18:37:43 beastie kernel: lock order reversal: >> Jul 13 18:37:43 beastie kernel: 1st 0xffffff0007d42ba8 ufs (ufs) @ >> /usr/src/sys/kern/vfs_mount.c:1199 >> Jul 13 18:37:43 beastie kernel: 2nd 0xffffff002e007270 devfs (devfs) @ >> /usr/src/sys/fs/msdosfs/msdosfs_vfsops.c:944 >> Jul 13 18:37:43 beastie kernel: KDB: stack backtrace: >> Jul 13 18:37:43 beastie kernel: db_trace_self_wrapper() at >> db_trace_self_wrapper+0x2a >> Jul 13 18:37:43 beastie kernel: _witness_debugger() at _witness_debugger+0x2e >> Jul 13 18:37:43 beastie kernel: witness_checkorder() at witness_checkorder+0x81e >> Jul 13 18:37:43 beastie kernel: __lockmgr_args() at __lockmgr_args+0xcf3 >> Jul 13 18:37:43 beastie kernel: vop_stdlock() at vop_stdlock+0x39 >> Jul 13 18:37:43 beastie kernel: VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b >> Jul 13 18:37:43 beastie kernel: _vn_lock() at _vn_lock+0x47 >> Jul 13 18:37:43 beastie kernel: msdosfs_sync() at msdosfs_sync+0x227 >> Jul 13 18:37:43 beastie kernel: dounmount() at dounmount+0x2ca >> Jul 13 18:37:43 beastie kernel: unmount() at unmount+0x28a >> Jul 13 18:37:43 beastie kernel: syscall() at syscall+0x1af >> Jul 13 18:37:43 beastie kernel: Xfast_syscall() at Xfast_syscall+0xd0 >> Jul 13 18:37:43 beastie kernel: --- syscall (22, FreeBSD ELF64, >> unmount), rip = 0x8006a09ac, rsp = 0x7fffffffdc38, rbp = 0 --- >> Jul 13 18:37:44 beastie gnome-keyring-daemon[61245]: removing >> removable location: volume_size_4144496640 >> >> I got this while trying to unmount a USB device. The unmounting seemed >> to be fine, all the files were in the device and no corruption >> occurred. I found a very similar problem (maybe the same) here[1]. Any >> clues about this? >> >> >> Thanks in advance. >> >> PS: Is this the proper list for asking these questions? >> >> [1] http://forums.freebsd.org/showthread.php?p=31490 > > You can view reported lock order reversals here: > > http://sources.zabbadoz.net/freebsd/lor.html > > Questions about the -CURRENT branch should be asked on questions@. > This is why multitasking is not generally a good thing. I meant current@. Sorry for the noise. -- Glen Barber From kingedgar at gmail.com Mon Jul 13 22:00:32 2009 From: kingedgar at gmail.com (Jason Garrett) Date: Mon Jul 13 22:00:39 2009 Subject: Attempting ZFS Only Install of 7.2 In-Reply-To: <4A5B7D28.1080000@mykitchentable.net> References: <4A57E38B.5050108@mykitchentable.net> <970380130907122109g4e160373m37259a3c40d48373@mail.gmail.com> <4A5B7D28.1080000@mykitchentable.net> Message-ID: <970380130907131500u2d300ben4ddec327cc54d2b4@mail.gmail.com> On Mon, Jul 13, 2009 at 13:30, Drew Tomlinson wrote: > Jason Garrett wrote: > >> >snip >> >> I see you tried the zpool import and export, but did you perform `mkdir >> /boot/zfs` directly before `zpool export tank && zpool import tank` ? >> >> I just have to ask because I did not see that specified, and you mention >> not being able to find zpool.cache. /boot/zfs is where zpool.cache hides >> out. >> > Yes I did. However I figured out my problem. I was chrooted into /dist > and the zpool.cache was being written to /boot/zfs (as you mention). But > because of the chroot, when I checked /boot/zfs, I was *really* checking > /dist/boot/zfs. Thus my problem. :) > > However I'm still having difficulty. I suspect I don't have a /boot/loader > that supports zfs filesystems as I just boot to the 'OK" prompt. An 'lsdev' > only shows BIOS devices but I've seen posts on the Net that indicate I > should have zfs devices listed there too if I have a proper /boot/loader. > I've used the one from both 7.2-RELEASE.iso and 8.0-BETA1.iso but no luck. > Do you know of any way I can confirm or deny my suspicion? > I am in the same spot you are now. I started the process yesterday but had to quit because it got too late. Apparently the few who have written these guides have gotten it to work, but that still eludes me. I'll post back if I get it working or have any new developments. > > > Thanks, > > Drew > > -- > Be a Great Magician! > Visit The Alchemist's Warehouse > > http://www.alchemistswarehouse.com > > From joseph.bashe at gmail.com Mon Jul 13 22:05:41 2009 From: joseph.bashe at gmail.com (Joseph Bashe) Date: Mon Jul 13 22:05:47 2009 Subject: Problem with make buildworld during upgrade from 7.0-RELEASE to 7.2-RELEASE Message-ID: <6028f3630907131440i6b9993c8uae9251346e610ef3@mail.gmail.com> Hello, I am going thru my first FreeBSD upgrade and it's not going too smoothly. I originally started the upgrade using the "freebsd-update" method. This is what I've done so far (all as root user): PS. I am using a custom kernel. 1. ran "portsnap fetch update" - [success] 2. ran "portupgrade -va" ["portupgrade"not found - i hadn't installed it yet" 3. ran "freebsd-update fetch" [success] (i know this was out of sequence from the guide) 4. installed portupgrade ("make install clean" from the dir in ports) [ssh connection dropped, so i had to login again] 5. installed portupgrade ("make install") [success] then "make clean" [success] 6. ran "portupgrade -va" [long process begins... strangely, several X components install although this is not desired] 7. ran "freebsd-update fetch" again [success] 8. ran "freebsd-update upgrade -r 7.2-RELEASE" [ssh connection dies during "preparing to download files", so i log in again] 9. ran "freebsd-update upgrade -r 7.2-RELEASE" [~27,000 updates..] and of course ssh connection dies during "Fetching 3060 files" although "applying patches" succeeds. A note: these disconnects are not at all common during a normal ssh connection to this computer, it seems due to the resource-intense operations required for updating freebsd. 10. log back in, ran "freebsd-update upgrade -r 7.2-RELEASE" [..success] 11. ran "freebsd-update install" [and of course ssh dies during "Installing updates..."] 12. log back in, ran "freebsd-update install". 13. Then i ran nextboot -k GENERIC and got "/boot/GENERIC doesn't exist". so, i copied kernel.old to /boot/GENERIC 14. Ok, maybe this was the problem. for some reason at this point i decide to run "freebsd-update install" again, and get "no updates are available". 15. Then I run "freebsd-update -r 7.2-RELEASE upgrade" again.. it downloads some patches, but then i get this error: "/usr/sbin/freebsd-update: cannot open files/.gz: No such file or directory" about 100 times.. plus, i get questions like "The following file will be removed, as it no longer exists in FreeBSD 7.2-RELEASE: /boot/device.hints Does this look reasonable (y/n)?" which doesn't look very good. 16. so, i issued a shutdown -r now command and crossed my fingers.. the system is still up, but it hasn't been upgraded (uname still reports 7.0-p11 for booting form the GENERIC kernel, and 7.0-p9 for the custom kernel). on top, make buildworld fails with: "Stop in /usr/src/secure/lib/libssh. *** Error code 1 " every time. and worse, any csup command dies with "/libexec/ld-elf.so.1: /lib/libc.so.7: version FBSD_1.1 required by /lib/libthr.so.3 not found" along with a lot of other commands... any ideas?? Just want to note that I log every keystroke on my servers so just let me know any specifics would help you in diagnosing the problem. Many thanks! -- Joe Bashe From cwhiteh at onetel.com Mon Jul 13 22:56:44 2009 From: cwhiteh at onetel.com (Chris Whitehouse) Date: Mon Jul 13 22:56:51 2009 Subject: partition black magic but no data lost phew! Message-ID: <4A5BBBA9.2030800@onetel.com> Hi, This is from memory (brain not ram) and I can't recreate the steps for reasons which will be obvious, so may not be entirely accurate. I have a sata hard disk which is divided into 2 slices. Slice 1 (ad4s1) is about half the disk and had the remains of a standard install with swap, / , /var, /tmp, /usr. Slice 2 (ad4s2) is the remainder and has a single partition for data, ad4s2d. It was all created with sysinstall and doesn't have anything special like dangerously dedicated. The operating system on this machine is on a second hard disk which is what I booted from. I moved all the data from ad4s1f onto ad4s2d so that I could delete partitions from slice 1 and make a single large partition. I then unmounted all ad4* partitions. I may even have rebooted. sysinstall - Configure - Label allowed me to delete ad4s1a but when I tried to delete the other ad4s1* partitions sysinstall told me I had to set kern.geom.debugflags=16 before I could make changes on a running system . I set kern.geom.debugflags but changes I made in sysinstall did not take effect, the partitions persisted, both as /dev/ad4s1* and as entries in sysinstall At some stage sysinstall core dumped and somewhere else ad4s2d got deleted. I managed to recreate it and didn't lose any data. Next I booted from a pen drive and successfully deleted the partitions from slice 1, being very careful not to delete the partition on slice 2, however when I exited from sysinstall ad4s2d was gone. Again I managed to recreate it and didn't lose any data. The bit that puzzles me is that ad4s2d disappeared twice and the second time I am sure I didn't do any explicit steps to delete it. Did I hit a bug in sysinstall or did I do something wrong? I didn't lose any data in the end but I could easily have done (I know - back up - I'm going to go and buy a nice big external hard disk very soon ;) FreeBSD muji 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Mon Nov 24 20:22:16 EST 2008 root@pcbsdx32-7:/usr/obj/pcbsd-build/cvs/7.0.2-src/sys/PCBSD i386 Everything is sorted now so I am really asking this out of curiousity. Thanks Chris From vogelke+unix at pobox.com Mon Jul 13 23:01:44 2009 From: vogelke+unix at pobox.com (Karl Vogel) Date: Mon Jul 13 23:01:53 2009 Subject: Should DNS be on same server as webserver? In-Reply-To: <4A5B68DC.2070505@radel.com> (message from Jon Radel on Mon, 13 Jul 2009 13:03:24 -0400) Message-ID: <20090713222746.5D519BF05@kev.msw.wpafb.af.mil> >> On Mon, 13 Jul 2009 13:03:24 -0400, >> Jon Radel said: J> Apache and Bind have both had their security issues over the years, and J> there's something to be said for running them on different servers to J> reduce both the "all eggs in one basket" factor and the ease of J> spreading an attack. (Yes, I'm assuming what you're actually J> running....) You can fix the security problems by dumping Bind and using djbdns. It's very easy to set up a caching nameserver without using all the memory on your system. See http://www.lifewithdjbdns.com/ for more. -- Karl Vogel I don't speak for the USAF or my company Smash forehead on keyboard to continue... --Ken Applin From drew at mykitchentable.net Mon Jul 13 23:10:22 2009 From: drew at mykitchentable.net (Drew Tomlinson) Date: Mon Jul 13 23:10:29 2009 Subject: Attempting ZFS Only Install of 7.2 In-Reply-To: <970380130907131500u2d300ben4ddec327cc54d2b4@mail.gmail.com> References: <4A57E38B.5050108@mykitchentable.net> <970380130907122109g4e160373m37259a3c40d48373@mail.gmail.com> <4A5B7D28.1080000@mykitchentable.net> <970380130907131500u2d300ben4ddec327cc54d2b4@mail.gmail.com> Message-ID: <4A5BBEC5.200@mykitchentable.net> Jason Garrett wrote: > > > On Mon, Jul 13, 2009 at 13:30, Drew Tomlinson > wrote: > > Jason Garrett wrote: > > >snip > > I see you tried the zpool import and export, but did you > perform `mkdir /boot/zfs` directly before `zpool export tank > && zpool import tank` ? > > I just have to ask because I did not see that specified, and > you mention not being able to find zpool.cache. /boot/zfs is > where zpool.cache hides out. > > Yes I did. However I figured out my problem. I was chrooted into > /dist and the zpool.cache was being written to /boot/zfs (as you > mention). But because of the chroot, when I checked /boot/zfs, I > was *really* checking /dist/boot/zfs. Thus my problem. :) > > However I'm still having difficulty. I suspect I don't have a > /boot/loader that supports zfs filesystems as I just boot to the > 'OK" prompt. An 'lsdev' only shows BIOS devices but I've seen > posts on the Net that indicate I should have zfs devices listed > there too if I have a proper /boot/loader. I've used the one from > both 7.2-RELEASE.iso and 8.0-BETA1.iso but no luck. Do you know > of any way I can confirm or deny my suspicion? > > > > I am in the same spot you are now. I started the process yesterday but > had to quit because it got too late. Apparently the few who have > written these guides have gotten it to work, but that still eludes me. > I'll post back if I get it working or have any new developments. Well you're doing better than me. I've been at this for about 10 days off and on. :) Cheers, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com From kurt.buff at gmail.com Mon Jul 13 23:17:07 2009 From: kurt.buff at gmail.com (Kurt Buff) Date: Mon Jul 13 23:17:14 2009 Subject: 2nd try Problems with USB KVM Message-ID: I think I munged the To: address before. Apologies if this appears twice... All, I've got a 4-port Belkin KVM, with two machines attached. One is a WinXP box, the other is my FreeBSD box (7.1 Release), with xfce4. When I switch away from the FreeBSD box and then back again, my mouse is no longer responsive, and I have to kill X, and even reboot, to get it back. If anyone has suggestion, I'd appreciate it. I've googled a bit, and am not finding much. However, I am running hal-0.5.11_25 dbus-1.2.4.6 dbus-glib-0.80 and have dbus_enable="YES" hald_enable="YES" in /etc/rc.conf The only thing that I saw in /var/log/messages that looked interesting was this set of lines: Jul 13 15:54:22 it-kbuff-fbsd kernel: uhub5: at uhub0 port 2 (addr 2) disconnected Jul 13 15:54:22 it-kbuff-fbsd kernel: ukbd0: at uhub5 port 1 (addr 3) disconnected Jul 13 15:54:22 it-kbuff-fbsd kernel: ukbd0: detached Jul 13 15:54:22 it-kbuff-fbsd kernel: uhid0: at uhub5 port 1 (addr 3) disconnected Jul 13 15:54:22 it-kbuff-fbsd kernel: uhid0: detached Jul 13 15:54:22 it-kbuff-fbsd kernel: ums0: at uhub5 port 2 (addr 4) disconnected Jul 13 15:54:22 it-kbuff-fbsd kernel: ums0: detached Jul 13 15:54:22 it-kbuff-fbsd kernel: uhid1: at uhub5 port 3 (addr 5) disconnected Jul 13 15:54:22 it-kbuff-fbsd kernel: uhid1: detached Jul 13 15:54:22 it-kbuff-fbsd kernel: uhub5: detached Jul 13 15:54:30 it-kbuff-fbsd moused: unable to open /dev/ums0: No such file or directory Jul 13 15:54:31 it-kbuff-fbsd kernel: uhub5: on uhub0 Jul 13 15:54:31 it-kbuff-fbsd kernel: uhub5: 4 ports with 4 removable, self powered Jul 13 15:54:33 it-kbuff-fbsd root: Unknown USB device: vendor 0x045e product 0x00b4 bus uhub5 Jul 13 15:54:33 it-kbuff-fbsd kernel: ukbd0: on uhub5 Jul 13 15:54:33 it-kbuff-fbsd kernel: kbd2 at ukbd0 Jul 13 15:54:33 it-kbuff-fbsd kernel: uhid0: on uhub5 Jul 13 15:54:33 it-kbuff-fbsd root: Unknown USB device: vendor 0x045e product 0x0040 bus uhub5 Jul 13 15:54:34 it-kbuff-fbsd kernel: ums0: on uhub5 Jul 13 15:54:34 it-kbuff-fbsd kernel: ums0: 3 buttons and Z dir. Jul 13 15:54:34 it-kbuff-fbsd kernel: uhid1: on uhub5 Jul 13 15:54:34 it-kbuff-fbsd kernel: uhid2: on uhub5 Jul 13 15:54:34 it-kbuff-fbsd kernel: uhid2: unexpected endpoint Jul 13 15:54:34 it-kbuff-fbsd kernel: device_attach: uhid2 attach returned 6 Jul 13 15:54:35 it-kbuff-fbsd root: Unknown USB device: vendor 0x10d5 product 0x000d bus uhub5 Jul 13 15:55:08 it-kbuff-fbsd kernel: uhub5: at uhub0 port 2 (addr 2) disconnected Jul 13 15:55:08 it-kbuff-fbsd kernel: ukbd0: at uhub5 port 1 (addr 3) disconnected Jul 13 15:55:08 it-kbuff-fbsd kernel: ukbd0: detached Jul 13 15:55:08 it-kbuff-fbsd kernel: uhid0: at uhub5 port 1 (addr 3) disconnected Jul 13 15:55:08 it-kbuff-fbsd kernel: uhid0: detached Jul 13 15:55:08 it-kbuff-fbsd kernel: ums0: at uhub5 port 2 (addr 4) disconnected Jul 13 15:55:08 it-kbuff-fbsd kernel: ums0: detached Jul 13 15:55:08 it-kbuff-fbsd kernel: uhid1: at uhub5 port 3 (addr 5) disconnected Jul 13 15:55:08 it-kbuff-fbsd kernel: uhid1: detached Jul 13 15:55:08 it-kbuff-fbsd kernel: uhub5: detached Jul 13 15:55:16 it-kbuff-fbsd moused: unable to open /dev/ums0: No such file or directory Help? Kurt From no-spam at people.net.au Tue Jul 14 00:01:20 2009 From: no-spam at people.net.au (Ian) Date: Tue Jul 14 00:01:28 2009 Subject: named startup problems upgrading from 7.1p4 to 7.1p5 or 7.1p6 In-Reply-To: <200906282054.33434.no-spam@people.net.au> References: <200906282054.33434.no-spam@people.net.au> Message-ID: <200907140931.15310.no-spam@people.net.au> On Sun, 28 Jun 2009 20:54:26 Ian wrote: > Hi, I've been meaning to sort this out since the release of 7.1p5, but only > just got around to it - I have an installation of 7.1 that runs bind and > has been working fine up until I tried to update the system to 7.1p5 (using > freebsd-update). As soon as I apply the update & reboot, named loads but > the startup script hangs. > > If I press Ctrl+C, the system continues to boot. If I then run > /etc/rc.d/named start, named starts, but again the script hangs. I can do > DNS lookups while named is running, so it seems to be functioning ok. > I tried adding various echo statements to /etc/rc.d/named and found that > the script seems to run right through. The hang occurs where /etc/rc.subr > echoes out "Starting named" after the named script has run and that's where > things seem to stop! Nothing else that is started by the rc.d scripts > hangs, so I'm guessing /etc/rc.subr is ok. > > I did a diff of /etc/rc.d/named before & after the upgrade from p4 to p5 > (or p6 which has the same issue) and there are no changes to the file. > Nothing seems to be logged anywhere that shows a problem, so I really have > no idea what to check next. > > The only named entry in rc.conf is named_enable="YES". Doing a > freebsd-update rollback restores normal operation and given that bind > actually loads 7 seems to work apart fromthe hanging script, I suspect > there's nothing wrong with my bind configuration. > > Any suggestions? > > Cheers, > -- > Ian > gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc I've never really solved this problem - even running with the default named.conf as a simple caching server didn't change anything. Instead, I rolled back to 7.1p4 & then upgraded to 7.2(p2) and bind works just fine. Cheers, -- Ian gpg key: http://home.swiftdsl.com.au/~imoore/no-spam.asc -------------- 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/20090714/88b9aea4/attachment.pgp From fbsd1 at a1poweruser.com Tue Jul 14 02:17:37 2009 From: fbsd1 at a1poweruser.com (Fbsd1) Date: Tue Jul 14 02:17:44 2009 Subject: Install from a USB Pen In-Reply-To: References: Message-ID: <4A5BEABB.6070802@a1poweruser.com> Mark Wallbank wrote: > OK I know this has probably been done to death by know and I keep > hitting the same problems with the methods I have tried to find on > google and I know I could just sacrifice a laptop and do a build to > create the image or do a net (pxe) install from another NIX serverbut > it does seem to be a bit over the top. Does any body know of an easy > way to create a bootable USB install media for 7.2 using either linux > or vista (or using an option from the install dvd). I have tried some > of the tricks from openBSD and linux to no avail. > Any help appreciated... > Cheers > Mark > _______________________________________________ > 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" > > If your asking how to put the cd1 install contents onto a usb stick and use the sysinstall program to perform the install on the target box then check the archive. It has a post with a script to convert the cd1 install disk to usb stick. But the show stopper is the sysinstall program does not have option for usb stick as install source. There was a bug report submitted 2 years ago pointing out this oversight, but as of 7.2 it has not been corrected. If you think the sysinstall program should have install source option for usb stick them file your own bug report. The more people who file bug reports the more attention this problem will get from the developers. From freebsd at victorstar.com Tue Jul 14 03:42:35 2009 From: freebsd at victorstar.com (Victor Starenky) Date: Tue Jul 14 03:42:41 2009 Subject: Server screwed up (/lib/libc.so.7: Undefined symbol "_nsdispatch") Message-ID: Hi guys, I was running FreeBSD server at home for a few years on an old box for mail, some web and ftp etc. I've been through a number of upgrades even though it's not easy with the box as old as this one (PII 350). Right now I'm at 7.0 Release. Now last weekend something's screwed up there pretty badly and machine is pretty much unusable. The sympthom is that pretty much any command results in the following error: /libexec/ld-elf.so.1: /lib/libc.so.7: Undefined symbol "_nsdispatch" Specifically this is thrown when trying to login (after entering login name) on the console, ssh, ftp. This is also thrown for "fetch"or for "ls -l" (plain ls works). So I'm lucky to have one root session on the console as I can't login at any other... Most recent thing that might have something to do with it would be an (unsuccessful) attempt to portupgrade cups-base. This failed with the error message of wrong cups client. Now this is not new and I have a number of ports that wouldn't upgrade - cups-base, apache for example. But before portupgrade would fail without affecting the system. Same cups-base failed before without any side effects. As I said this might have nothing to do with the errors I'm getting, just most recent my actions. So currently server is not usable - it won't even accept mail (Currier server) with the same error message. I tried portupgrade bash but portupgrade itslef also fails with the same message. I do have one mean of getting new files there through mounted smb directory. I've tried putting all new bash files into /usr/ports/distfiles/bash but portupgrade still fails (just a bit further now). I ran pkg_libchk which shows a bunch of missing libraries, mostly for compat4x-i386-5.3_9 but for example courier also misses one: courier-0.54.0: /usr/local/libexec/filters/perlfilter misses libperl.so At this point I think I'm lost. I'd really rather avoid complete reinstall of the server if possible. I would greatly appreciate any help troubleshooting the libraries. Still hope there is something that can be done other than reinstall. Thanks in advance! Victor From sagara at tomahawk.com.sg Tue Jul 14 03:47:25 2009 From: sagara at tomahawk.com.sg (Sagara Wijetunga) Date: Tue Jul 14 03:47:34 2009 Subject: Why this flash drive not detected in devd? In-Reply-To: <200907121042.33314.mel.flynn+fbsd.questions@mailing.thruhere.net> References: <4A560B28.6080705@tomahawk.com.sg> <20090710184945.GA4323@slackbox.xs4all.nl> <20090711083609.32515.qmail@us1.tomahawkonline.net> <200907121042.33314.mel.flynn+fbsd.questions@mailing.thruhere.net> Message-ID: <20090714002906.6463.qmail@us1.tomahawkonline.net> Mel Flynn writes: > On Saturday 11 July 2009 00:36:09 Sagara Wijetunga wrote: > >> I prefer to handle mounting through an automounter even without KDE >> running. > > I think most users want to handle the disk based on the content not on the > device that has the disk. Ideally I would want my desktop to: > 1) automount below a root that I can configure > 2) when a disk is labeled, use the lowercase version of the label as > mountpoint, resolving conflicts using 2-digit serial suffixes. > 3) when a disk is not labeled, mount it temporarily using a unique name (f.e. > using uuid(3)), provide me with an option to label it > a) if yes, label and remount, asking me to abort if this means disk content > gets lost > b) if no, show me where it's mounted. > > Of course, YMMV, but I really don't care if my SD card with my photos is in > the built-in SD card holder, in the camera itself or on an USB SD card reader > I plugged in. I want my photos to be under ~/photos each time. > -- > Mel Hi Mel Thanks for your feedback. Our Tomahawk Desktop (http://www.tomahawkcomputers.com/) is targeted for end users, from years two (2) onwards :) My son is now two and quarter. He plays music, just drag and drop music files (flac) to Xine, play videos, draw stars, circles, cars, parrots, etc. on Inkscape, see his photos, etc. on Tomahawk Desktop. Here is what we have done five years ago based on Linux and how people used Tomahawk Desktop 1.x series. You plug in your Thumb drive and go to /media/thumdrive and access your thumb drive. Close your app (eg. Konqueror), system automatically unmount the thumb drive for you. An average Tomahawk Desktop 1.x user is not even aware that there is such thing as mount and unmount of devices. Its just plug and play for them. You plug in your camera and go to /media/camera and access your camera. Just drag and drop your photos or videos to your computer or transfer to another thumb drive. Now we have switched to FreeBSD from Linux. We would still like to offer this feature as a minimum for Tomahawk Desktop users. We do not want to tell our users it is not supported on FreeBSD, therefore, you are crippled now. Knowing that a device has been created with the device name da0 or da0s1 is insufficient for us to determine whether that device is a thumb drive, camera, audio player, etc. We need another event to devd once the device (eg. da0, da1, etc) is known with minimum vendor and product ids. For this purpose, we would like to modify the USB sub system. We need help in this regard. I have posted another post to freebsd-stable list titled ?FreeBSD 7.2 USB stack info needed?. Please reply if you do have time. Best regards Sagara From on at cs.ait.ac.th Tue Jul 14 03:52:24 2009 From: on at cs.ait.ac.th (Olivier Nicole) Date: Tue Jul 14 03:52:31 2009 Subject: Server screwed up (/lib/libc.so.7: Undefined symbol "_nsdispatch") In-Reply-To: (message from Victor Starenky on Mon, 13 Jul 2009 23:18:10 -0400) References: Message-ID: <200907140352.n6E3qLTV000813@banyan.cs.ait.ac.th> Hi Victor, > /libexec/ld-elf.so.1: /lib/libc.so.7: Undefined symbol "_nsdispatch" > Specifically this is thrown when trying to login (after entering login name) > on the console, ssh, ftp. > This is also thrown for "fetch"or for "ls -l" (plain ls works). >From the error message and from the diagnostic of ls working without the -l, I would think it has something to do with nss/nsswitch, the part that manage username, uid, gid and passwords. Hence problem with connection (ssh, ftp) mail (it needs to know the username) and even portupgrade that often need to check if a specific user exists for a specific port. Good luck, Olivier From jalmberg at identry.com Tue Jul 14 04:06:28 2009 From: jalmberg at identry.com (John Almberg) Date: Tue Jul 14 04:06:35 2009 Subject: Should DNS be on same server as webserver? In-Reply-To: <20090713222746.5D519BF05@kev.msw.wpafb.af.mil> References: <20090713222746.5D519BF05@kev.msw.wpafb.af.mil> Message-ID: <7DD18C43-5B03-4624-9487-ACC4AFAF000F@identry.com> On Jul 13, 2009, at 6:27 PM, Karl Vogel wrote: >>> On Mon, 13 Jul 2009 13:03:24 -0400, >>> Jon Radel said: > > J> Apache and Bind have both had their security issues over the > years, and > J> there's something to be said for running them on different > servers to > J> reduce both the "all eggs in one basket" factor and the ease of > J> spreading an attack. (Yes, I'm assuming what you're actually > J> running....) > > You can fix the security problems by dumping Bind and using djbdns. > It's very easy to set up a caching nameserver without using all the > memory on your system. See http://www.lifewithdjbdns.com/ for > more. I actually do use djbdns. Super easy to use, once you figure it out. -- John From steve at ibctech.ca Tue Jul 14 04:46:40 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Tue Jul 14 04:46:47 2009 Subject: Should DNS be on same server as webserver? In-Reply-To: <7DD18C43-5B03-4624-9487-ACC4AFAF000F@identry.com> References: <20090713222746.5D519BF05@kev.msw.wpafb.af.mil> <7DD18C43-5B03-4624-9487-ACC4AFAF000F@identry.com> Message-ID: <4A5C0DB3.5090205@ibctech.ca> John Almberg wrote: > > On Jul 13, 2009, at 6:27 PM, Karl Vogel wrote: > >>>> On Mon, 13 Jul 2009 13:03:24 -0400, >>>> Jon Radel said: >> >> J> Apache and Bind have both had their security issues over the years, >> and >> J> there's something to be said for running them on different servers to >> J> reduce both the "all eggs in one basket" factor and the ease of >> J> spreading an attack. (Yes, I'm assuming what you're actually >> J> running....) >> >> You can fix the security problems by dumping Bind and using djbdns. >> It's very easy to set up a caching nameserver without using all the >> memory on your system. See http://www.lifewithdjbdns.com/ for more. > > > I actually do use djbdns. Super easy to use, once you figure it out. ...to run a DNS cache with djbdns, it doesn't take much figuring out: (As root. I just tested this as I wrote it). % pkg_add -r daemontools % pkg_add -r ucspi-tcp % echo 'svscan_enable="YES"' >> /etc/rc.conf % mkdir /var/service % /usr/local/etc/rc.d/svscan.sh start % adduser -q # add a 'dnscache' user. Put user in 'dnscache' group, and set the # users shell to nologin #rinse/repeat for a 'dnslog' user % pkg_add -r djbdns % rehash % dnscache-conf dnscache dnslog /etc/dnscache % ln -s /etc/dnscache /var/service # now edit your /etc/resolv.conf file, so that the first "nameserver" # entry in the list points to 127.0.0.1 __END__ By default, your new cache will only listen on the loopback address (127.0.0.1). There is a single file in /etc/dnscache/root/ip, named 127.0.0.1 If you want this cache to serve internal /24 network queries: % touch /etc/dnscache/root/ip/192.168.0 To restart the service after a change: % svc -t /etc/dnscache To down the cache: % svc -d /etc/dnscache To up the cache: % svc -u /etc/dnscache Note that this is only for the dnscache. Setting up an authoritative server is pretty much just as simple. Note also that I had to do some patching and hacking to make the tinydns web frontend (VegaDNS) allow for IPv6 records properly... that's out of the scope of this mail though (for the record, I use BIND for most things v6). An example of the empty files that allow cache access: amigo# ll /etc/dnscache/root/ip total 0 -rw-r--r-- 1 root wheel 0 Aug 19 2008 127.0.0.1 -rw-r--r-- 1 root wheel 0 Aug 19 2008 208.70.104 -rw-r--r-- 1 root wheel 0 Aug 19 2008 208.70.105 -rw-r--r-- 1 root wheel 0 Aug 19 2008 208.70.106 -rw-r--r-- 1 root wheel 0 Aug 19 2008 208.70.107 -rw-r--r-- 1 root wheel 0 Aug 19 2008 208.70.108 ... Steve -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3233 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090714/aff3884f/smime.bin From onemda at gmail.com Tue Jul 14 04:51:47 2009 From: onemda at gmail.com (Paul B. Mahol) Date: Tue Jul 14 04:51:57 2009 Subject: Server screwed up (/lib/libc.so.7: Undefined symbol "_nsdispatch") In-Reply-To: References: Message-ID: <3a142e750907132151s20477a7ah99fda56dc65fc14e@mail.gmail.com> On 7/14/09, Victor Starenky wrote: > Hi guys, > I was running FreeBSD server at home for a few years on an old box for mail, > some web and ftp etc. I've been through a number of upgrades even though > it's not easy with the box as old as this one (PII 350). Right now I'm at > 7.0 Release. > Now last weekend something's screwed up there pretty badly and machine is > pretty much unusable. > The sympthom is that pretty much any command results in the following error: > /libexec/ld-elf.so.1: /lib/libc.so.7: Undefined symbol "_nsdispatch" There is still /rescue, but you will need to resurect /lib/* files anyway. This can happen only if something was attempting to upgrade/update something and failed for whatever reson yet to be found. > Specifically this is thrown when trying to login (after entering login name) > on the console, ssh, ftp. > This is also thrown for "fetch"or for "ls -l" (plain ls works). > So I'm lucky to have one root session on the console as I can't login at any > other... > Most recent thing that might have something to do with it would be an > (unsuccessful) attempt to portupgrade cups-base. This failed with the error > message of wrong cups client. Now this is not new and I have a number of > ports that wouldn't upgrade - cups-base, apache for example. But before > portupgrade would fail without affecting the system. Same cups-base failed > before without any side effects. > As I said this might have nothing to do with the errors I'm getting, just > most recent my actions. > So currently server is not usable - it won't even accept mail (Currier > server) with the same error message. > I tried portupgrade bash but portupgrade itslef also fails with the same > message. I do have one mean of getting new files there through mounted smb > directory. I've tried putting all new bash files into > /usr/ports/distfiles/bash but portupgrade still fails (just a bit further > now). > I ran pkg_libchk which shows a bunch of missing libraries, mostly for > compat4x-i386-5.3_9 but for example courier also misses one: > courier-0.54.0: /usr/local/libexec/filters/perlfilter misses libperl.so > At this point I think I'm lost. I'd really rather avoid complete reinstall > of the server if possible. > I would greatly appreciate any help troubleshooting the libraries. Still > hope there is something that can be done other than reinstall. > Thanks in advance! > Victor > _______________________________________________ > 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" > -- Paul From steve at ibctech.ca Tue Jul 14 04:55:08 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Tue Jul 14 04:55:16 2009 Subject: Should DNS be on same server as webserver? In-Reply-To: <4A5C0DB3.5090205@ibctech.ca> References: <20090713222746.5D519BF05@kev.msw.wpafb.af.mil> <7DD18C43-5B03-4624-9487-ACC4AFAF000F@identry.com> <4A5C0DB3.5090205@ibctech.ca> Message-ID: <4A5C0FB1.5060204@ibctech.ca> Steve Bertrand wrote: [...snip...] > There is a single file in /etc/dnscache/root/ip, named 127.0.0.1 > > If you want this cache to serve internal /24 network queries: > > % touch /etc/dnscache/root/ip/192.168.0 Need to add some clarification: Adding the new empty file permits queries from the IP range specified in the file name. It does NOT force the server to listen on an IP address that is NOT the loopback. To force the caching server to listen on a network-available IP address, replace 127.0.0.1 with your NICs IP address in the following file: /etc/dnscache/env/IP ...you'll then change /etc/resolv.conf to point to that IP address as your primary "nameserver". The names of the other files that are located within said "env" directory are pretty descriptive, and may be worth looking at as well. Steve -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3233 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090714/670c6d22/smime.bin From desnudopenguino at gmail.com Tue Jul 14 04:58:00 2009 From: desnudopenguino at gmail.com (Adam Townsend) Date: Tue Jul 14 04:58:07 2009 Subject: freebsd-questions Digest, Vol 267, Issue 3 In-Reply-To: <20090713212819.63CAA10656D8@hub.freebsd.org> References: <20090713212819.63CAA10656D8@hub.freebsd.org> Message-ID: <26d677980907132134o5c6d9b95he409015c0244df2a@mail.gmail.com> >>> A bit of reading shows that ZFS, if it's stable enough, has some >>> really great features that would be nice on such a large pile o' >>> drives. >>> >>> See http://wiki.freebsd.org/ZFSQuickStartGuide >>> >>> I guess the last question I'll ask (as any more may uncover my >>> ignorance) is if you need to use hardware RAID at all? It seems >>> both UFS2 and ZFS can do software RAID which seems to be quite >>> reasonable with respect to performance and in many ways seems to be >>> more robust since it is a bit more portable (no specialized >>> hardware). >> >> I've thought about this one a lot. In my case, the hard drives are in >> a separate enclosure from the server and the two had to be connected >> via SAS cables. The 9690SA-8E card was the best choice I could find >> for accessing an external SAS enclosure with support for 8 drives. >> >> I could configure it in JBOD mode and then use software to create a >> RAID array. In fact, I will likely do this to compare performance of a >> hardware vs. software RAID5 solution. The ZFS RAID-Z option does not >> appeal to me, because the read performance does not benefit from >> additional drives, and I don't think RAID6 is available in software. >> For those reasons I'm leaning toward a hardware implementation. >> > > > Hi Maxim, > > RAID-Z2 is the RAID6 double parity option in ZFS. > > > gr > Arno > > I'm planning on doing something like this once I get 2 more 1TB drives. I'm going to try out a zfs RAID-Z not RAID-Z2, but yeah. I've been around openSolaris' docs on zfs & it seems to be really robust, you can export it on one OS and import it on another (incase your root dies, or you want to migrate your disks to another box), you can take "snapshots" which are stored on the drive, but I'm sure you could send those files somewhere to be backed up. And if you have really important files you can create multiple copies of them automatically with ZFS. If you set it up with multiple vdevs, you can get a lot more speed out of disk I/O as well, because if you have like 2 raidz vdevs, it stripes them, so you can pull data faster from both. I can't remember if it was on this or another list, but there was a great discussion about the performance abilities/issues of zfs & they had some good points like not using more than 8 drives per vdev & such. Try it out both ways and see which is best. there are pro's & con's to both, but it all depends on what you need for your solution. & remember raid is not a form of back-up. so if this is for critical information, make sure you back-up as well. Cheers, Bucky From perrin at apotheon.com Tue Jul 14 05:45:16 2009 From: perrin at apotheon.com (Chad Perrin) Date: Tue Jul 14 05:45:24 2009 Subject: turning off the wireless network radio Message-ID: <20090714053849.GB1893@kokopelli.hydra> I'm having a real bitch of a time trying to figure out how to shut down the wireless adapter's radio. The driver module won't unload as long as the adapter is active, and neither ifconfig nor iwicontrol are providing a solution either. I'm using (as you may have guessed by mention of iwicontrol) an Intel wireless adapter, with if_iwi.ko as my driver module. It's an Intel PRO/Wireless 2200BG Network Connection according to pciconf -lv. Thanks in advance. -- Chad Perrin [ original content licensed OWL: http://owl.apotheon.org ] Quoth Peter Norvig: "Use the most natural notation available to solve the problem, and then worry about writing an interpreter for that notation." -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 196 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090714/93c4c969/attachment.pgp From sagara at tomahawk.com.sg Tue Jul 14 06:02:19 2009 From: sagara at tomahawk.com.sg (Sagara Wijetunga) Date: Tue Jul 14 06:02:25 2009 Subject: Server screwed up (/lib/libc.so.7: Undefined symbol "_nsdispatch") In-Reply-To: References: Message-ID: <20090714024358.8095.qmail@us1.tomahawkonline.net> Victor Starenky writes: > Hi guys, > I was running FreeBSD server at home for a few years on an old box for mail, > some web and ftp etc. I've been through a number of upgrades even though > it's not easy with the box as old as this one (PII 350). Right now I'm at > 7.0 Release. > Now last weekend something's screwed up there pretty badly and machine is > pretty much unusable. > The sympthom is that pretty much any command results in the following error: > /libexec/ld-elf.so.1: /lib/libc.so.7: Undefined symbol "_nsdispatch" > Specifically this is thrown when trying to login (after entering login name) > on the console, ssh, ftp. > This is also thrown for "fetch"or for "ls -l" (plain ls works). > So I'm lucky to have one root session on the console as I can't login at any > other... > Most recent thing that might have something to do with it would be an > (unsuccessful) attempt to portupgrade cups-base. This failed with the error > message of wrong cups client. Now this is not new and I have a number of > ports that wouldn't upgrade - cups-base, apache for example. But before > portupgrade would fail without affecting the system. Same cups-base failed > before without any side effects. > As I said this might have nothing to do with the errors I'm getting, just > most recent my actions. > So currently server is not usable - it won't even accept mail (Currier > server) with the same error message. > I tried portupgrade bash but portupgrade itslef also fails with the same > message. I do have one mean of getting new files there through mounted smb > directory. I've tried putting all new bash files into > /usr/ports/distfiles/bash but portupgrade still fails (just a bit further > now). > I ran pkg_libchk which shows a bunch of missing libraries, mostly for > compat4x-i386-5.3_9 but for example courier also misses one: > courier-0.54.0: /usr/local/libexec/filters/perlfilter misses libperl.so > At this point I think I'm lost. I'd really rather avoid complete reinstall > of the server if possible. > I would greatly appreciate any help troubleshooting the libraries. Still > hope there is something that can be done other than reinstall. > Thanks in advance! > Victor Hi Victor What you could do is put it back what is missing/damaged using an live FreeBSD CD and get the base system to work again without any GUI. Regards Sagara From amvandemore at gmail.com Tue Jul 14 06:22:24 2009 From: amvandemore at gmail.com (Adam Vande More) Date: Tue Jul 14 06:22:31 2009 Subject: turning off the wireless network radio In-Reply-To: <20090714053849.GB1893@kokopelli.hydra> References: <20090714053849.GB1893@kokopelli.hydra> Message-ID: <6201873e0907132322q6ac3419fyb8ccee1b2890772e@mail.gmail.com> On Tue, Jul 14, 2009 at 12:38 AM, Chad Perrin wrote: > I'm having a real bitch of a time trying to figure out how to shut down > the wireless adapter's radio. The driver module won't unload as long as > the adapter is active, and neither ifconfig nor iwicontrol are providing > a solution either. > > I'm using (as you may have guessed by mention of iwicontrol) an Intel > wireless adapter, with if_iwi.ko as my driver module. It's an Intel > PRO/Wireless 2200BG Network Connection according to pciconf -lv. > > Thanks in advance. > ipw0@pci0:2:3:0: class=0x028000 card=0x25658086 chip=0x10438086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = 'Intel(R) PRO/Wireless 2100 LAN Card Driver (82801)' class = network kldunload works for me as well. If you turn debug up on ifconfig does that give you any clues? -- Adam Vande More From gortaur at gmail.com Tue Jul 14 08:06:34 2009 From: gortaur at gmail.com (Taras Danko) Date: Tue Jul 14 08:06:41 2009 Subject: gmirror + geli problem : wrong key for mirror/gm0 Message-ID: <89b086450907140035h285b916dm9a199c9b9086e538@mail.gmail.com> Hello to all. I've got a problem setting up the gmirror + geli combination for / under the FreeBSD 7.2-RELEASE. I have successfully created the mirror/gm0 device from "fixit" bsd livecd, then I've initialized the geli provider using the command geli init -b -l 256 -s 4096 -K /usb/gm0.key /dev/mirror/gm0 geli attach -k /usb/gm0.key /dev/mirror/gm0 went successfully as well as detach/re-attach so passphrase and the key is ok. after that I've detached the gm0 and rebooted from the bootable usb-stick, which contained the /boot/ /etc/ and key-file + loader.conf with the following: geli_gm0_keyfile0_load="YES" geli_gm0_keyfile0_type="gm0:geli_keyfile0" geli_gm0_keyfile0_name="/boot/keys/gm0.key" kern.geom.eli.visible_passphrase=1 During the boot process I got a message that mirror/gm0 is created and after that I was asked for my pass-phrase. I've typed the pass-phrase (for the experiment clearance it was "aaa" - without any "special" characters or something) and got an error: GEOM_ELI: wrong key for mirror/gm0 The keyboard is ok - I see all the characters typed (due to visible_passphrase param in my loader.conf) I have disabled the kbdmux device in kernel which was blamed as a geli troublemaker as well. GEOM mirror and eli options as well as cryptodevice are compiled into the kernel. Booting from "fixit" cd again shows that cryptoprovider creates and mounts ok with the mentioned key and passphrase. My guess was to change the "gm0" to mirror/gm0 at geli_ strings of loader.conf file - I've tried that but with no luck (maybe I did it incorrectly) There are really a very few articles over internet describing geli+gmirror combination - so I'll very much appreciate any suggestions! -- wbr, Taras Danko From mail25 at bzerk.org Tue Jul 14 08:16:31 2009 From: mail25 at bzerk.org (Ruben de Groot) Date: Tue Jul 14 08:16:38 2009 Subject: Should DNS be on same server as webserver? In-Reply-To: <4A5C0DB3.5090205@ibctech.ca> References: <20090713222746.5D519BF05@kev.msw.wpafb.af.mil> <7DD18C43-5B03-4624-9487-ACC4AFAF000F@identry.com> <4A5C0DB3.5090205@ibctech.ca> Message-ID: <20090714081624.GA27636@ei.bzerk.org> On Tue, Jul 14, 2009 at 12:46:43AM -0400, Steve Bertrand typed: > John Almberg wrote: > > On Jul 13, 2009, at 6:27 PM, Karl Vogel wrote: > >> > >> You can fix the security problems by dumping Bind and using djbdns. What security problems? This one ? :) http://blogs.zdnet.com/security/?p=2812 > > I actually do use djbdns. Super easy to use, once you figure it out. > > ...to run a DNS cache with djbdns, it doesn't take much figuring out: (snipped rather long installation instructions) To enable DNS cache with bind: echo "named_enable=YES" >>/etc/rc.conf /etc/rc.d/named start Ruben From m.seaman at infracaninophile.co.uk Tue Jul 14 08:24:00 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Tue Jul 14 08:24:07 2009 Subject: ZFS or UFS for 4TB hardware RAID6? In-Reply-To: <42310.1585.qm@web51008.mail.re2.yahoo.com> References: <42310.1585.qm@web51008.mail.re2.yahoo.com> Message-ID: <4A5C4091.3030208@infracaninophile.co.uk> Richard Mahlerwein wrote: > With 4 drives, you could get much, much higher performance out of > RAID10 (which is alternatively called RAID0+1 or RAID1+0 depending on > the manufacturer Uh -- no. RAID10 and RAID0+1 are superficially similar but quite different things. The main differentiator is resilience to disk failure. RAID10 takes the raw disks in pairs, creates a mirror across each pair, and then stripes across all the sets of mirrors. RAID0+1 divides the raw disks into two equal sets, constructs stripes across each set of disks, and then mirrors the two stripes. Read/Write performance is similar in either case: both perform well for the sort of small randomly distributed IO operations you'ld get when eg. running a RDBMS. However, consider what happens if you get a disk failure. In the RAID10 case *one* of your N/2 mirrors is degraded but the other N-1 drives in the array operate as normal. In the RAID0+1 case, one of the 2 stripes is immediately out of action and the whole IO load is carried by the N/2 drives in the other stripe. Now consider what happens if a second drive should fail. In the RAID10 case, you're still up and running so long as the failed drive is one of the N-2 disks that aren't the mirror pair of the 1st failed drive. In the RAID0+1 case, you're out of action if the 2nd disk to fail is one of the N/2 drives from the working stripe. Or in other words, if two random disks fail in a RAID10, chances are the RAID will still work. If two arbitrarily selected disks fail in a RAID0+1 chances are basically even that the whole RAID is out of action[*]. I don't think I've ever seen a manufacturer say RAID1+0 instead of RAID10, but I suppose all things are possible. My impression was that the 0+1 terminology was specifically invented to make it more visually distinctive -- ie to prevent confusion between '01' and '10'. Cheers, Matthew [*] Astute students of probability will point out that this really only makes a difference for N > 4, and for N=4 chances are evens either way that failure of two drives would take out the RAID. -- 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: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090714/49dd7713/signature.pgp From peter at boosten.org Tue Jul 14 08:38:28 2009 From: peter at boosten.org (Peter Boosten) Date: Tue Jul 14 08:38:35 2009 Subject: Should DNS be on same server as webserver? In-Reply-To: <20090714081624.GA27636@ei.bzerk.org> References: <20090713222746.5D519BF05@kev.msw.wpafb.af.mil> <7DD18C43-5B03-4624-9487-ACC4AFAF000F@identry.com> <4A5C0DB3.5090205@ibctech.ca> <20090714081624.GA27636@ei.bzerk.org> Message-ID: <4A5C43F9.2080003@boosten.org> Ruben de Groot wrote: > On Tue, Jul 14, 2009 at 12:46:43AM -0400, Steve Bertrand typed: >> John Almberg wrote: >>> On Jul 13, 2009, at 6:27 PM, Karl Vogel wrote: >>>> You can fix the security problems by dumping Bind and using djbdns. > > What security problems? This one ? :) > http://blogs.zdnet.com/security/?p=2812 > It's the old 'my product is better' discussion: some people like Mercedes, other people BMW, 'American Cars' are always better, and some people like Volvo's. To prove they're right, they try to find why the other products are not as good as theirs, and keep holding onto old bugs and prejudices. I'm a happy bind user for years now (and I use sendmail as well). Peter -- http://www.boosten.org From mrkwllbnk at googlemail.com Tue Jul 14 08:52:22 2009 From: mrkwllbnk at googlemail.com (Mark Wallbank) Date: Tue Jul 14 08:52:29 2009 Subject: Re USB install Message-ID: Thanks for all the help, much appreciated; didn't think the Linux tricks would work from my experience with OBSD. But knew it had to be possible From m.seaman at infracaninophile.co.uk Tue Jul 14 09:03:09 2009 From: m.seaman at infracaninophile.co.uk (Matthew Seaman) Date: Tue Jul 14 09:03:18 2009 Subject: OFFTOPIC: HP DL1xx vs IBM x3250 vs DELL R200 In-Reply-To: <4A5B645C.2090105@aboutsupport.com> References: <4A5B645C.2090105@aboutsupport.com> Message-ID: <4A5C49BC.7030907@infracaninophile.co.uk> Peter wrote: > Hello, > > We are about to buy 1U rack mount server for the office. The server room > is small and close to meeting room so we have two priorities: > > 1)Good FreeBSD support. > 2) Low noise level (!) > > > Speed is not a priority, system load will be small. > > Which one will you recommend ? > > > > HP DL160G5 E5405 2x1GB 2x250GB NHP-SATA CD-DVD Combo 3y > carepack;Quad-Core Intel? Xeon? processor E5405 (2.00 GHz, 80W, 1333MHz > FSB);Supports up to 64 GB of PC2-5300 (DDR2-667) and up to 32 GB of > PC2-6400 (DDR2-800) fully buffered DIMMs (DDR2-667) with Advanced ECC; > Two embedded NC105i PCIe Gigabit Server Adapters;Five USB ports (two > front, one internal, two rear);650W Power Supply (Non-Hot Plug, > Autoswitching);Rack (1U) > > VS: > > IBM x3250 M2 1 x Xeon Q3330 QuadCore 2.66GHz/1333MHz FSB Hyper > Threading with EM64T, 6MB Cache, 2x1024MB ECC DDR2, 2 x 250 GB SATA/SAS > HDD HotSwap, OpenBay Serial Attached SCSI (SAS) Hot Swap, Integrated > RAID-1, 1x351W, DVD/CD-RW, Dual LAN 10/100/1000, 3 year on-site warranty > > VS: > > DELL? PowerEdge? R200 1 > Quad-Core Intel Xeon Processor X3210 2.13 GHz / 1066 MHz FSB / 8 MB SAS > 6/i Integrated RAID Controller Card for SATA and SAS Hard Drives, > RAID 0,1 > 2GB 800MHz ECC Unbuffered DDR-2 SDRAM > 2 ? 250GB, SATA, 3.5-inch, 7.2K RPM Hard Drive (Cabled) > Slim DVD/CD-RW Combo Drive > R200 PCI-E Riser Card (2 x PCI Express slots) > dual embedded Broadcom? Gigabit Ethernet NIC > Sliding Rack Kit for Dell Racks (Rapid Rails) > > > Prices are almost the same :-) > > Please recommend. None of the above are going to be particularly quiet I'm afraid. The main noise source in all cases will be the cooling fans, both in the PSUs and the ones blowing air across the CPU heat sinks. They should all have adaptive fan speed controls -- so the fans work harder when the machine gets hotter -- but the distinction in noise levels is between unbearable and merely loud. Now, if compute performance really isn't your limiting factor, then you may be able to get away with a low-wattage processor such as the Intel Atom -- these can be operated fanless with the right sort of case design. The trick is finding a supplier. Tranquil PC (http://www.tranquilpc.co.uk/) is someone I've seen recommended elsewhere on FreeBSD mailing lists, and I believe their systems are generally FreeBSD compatible, but I have no real confirmation that is the case, just some hearsay on mailing lists. 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: 259 bytes Desc: OpenPGP digital signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090714/379045a3/signature-0001.pgp From randi at freebsd.org Tue Jul 14 09:09:06 2009 From: randi at freebsd.org (Randi Harper) Date: Tue Jul 14 09:09:13 2009 Subject: partition black magic but no data lost phew! In-Reply-To: <4A5BBBA9.2030800@onetel.com> References: <4A5BBBA9.2030800@onetel.com> Message-ID: On Mon, Jul 13, 2009 at 3:56 PM, Chris Whitehouse wrote: > Hi, > > This is from memory (brain not ram) and I can't recreate the steps for > reasons which will be obvious, so may not be entirely accurate. > > I have a sata hard disk which is divided into 2 slices. Slice 1 (ad4s1) is > about half the disk and had the remains of a standard install with swap, / , > /var, /tmp, /usr. Slice 2 (ad4s2) is the remainder and has a single > partition for data, ad4s2d. It was all created with sysinstall and doesn't > have anything special like dangerously dedicated. > > The operating system on this machine is on a second hard disk which is what > I booted from. > > I moved all the data from ad4s1f onto ad4s2d so that I could delete > partitions from slice 1 and make a single large partition. > > I then unmounted all ad4* partitions. I may even have rebooted. > > sysinstall - Configure - Label allowed me to delete ad4s1a but when I tried > to delete the other ad4s1* partitions sysinstall told me I had to set > kern.geom.debugflags=16 before I could make changes on a running system . I > set kern.geom.debugflags but changes I made in sysinstall did not take > effect, the partitions persisted, both as /dev/ad4s1* and as entries in > sysinstall > > At some stage sysinstall core dumped and somewhere else ad4s2d got deleted. > I managed to recreate it and didn't lose any data. > > Next I booted from a pen drive and successfully deleted the partitions from > slice 1, being very careful not to delete the partition on slice 2, however > when I exited from sysinstall ad4s2d was gone. Again I managed to recreate > it and didn't lose any data. > > The bit that puzzles me is that ad4s2d disappeared twice and the second > time I am sure I didn't do any explicit steps to delete it. > > Did I hit a bug in sysinstall or did I do something wrong? I didn't lose > any data in the end but I could easily have done (I know - back up - I'm > going to go and buy a nice big external hard disk very soon ;) > > FreeBSD muji 7.1-PRERELEASE FreeBSD 7.1-PRERELEASE #0: Mon Nov 24 20:22:16 > EST 2008 root@pcbsdx32-7:/usr/obj/pcbsd-build/cvs/7.0.2-src/sys/PCBSD > i386 > > Everything is sorted now so I am really asking this out of curiousity. > > Thanks > > 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" When you booted from the pen drive, was sysinstall running as init? ie: is this the memstick.img from the ftp site or a homebrew disc1.iso->usb image, or did you have freebsd installed to the pen drive? If so, what version? -- randi From randi at freebsd.org Tue Jul 14 09:24:48 2009 From: randi at freebsd.org (Randi Harper) Date: Tue Jul 14 09:24:54 2009 Subject: Install from a USB Pen In-Reply-To: <4A5BEABB.6070802@a1poweruser.com> References: <4A5BEABB.6070802@a1poweruser.com> Message-ID: On Mon, Jul 13, 2009 at 7:17 PM, Fbsd1 wrote: > Mark Wallbank wrote: > >> OK I know this has probably been done to death by know and I keep >> hitting the same problems with the methods I have tried to find on >> google and I know I could just sacrifice a laptop and do a build to >> create the image or do a net (pxe) install from another NIX serverbut >> it does seem to be a bit over the top. Does any body know of an easy >> way to create a bootable USB install media for 7.2 using either linux >> or vista (or using an option from the install dvd). I have tried some >> of the tricks from openBSD and linux to no avail. >> Any help appreciated... >> Cheers >> Mark >> _______________________________________________ >> 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" >> >> >> > > If your asking how to put the cd1 install contents onto a usb stick and use > the sysinstall program to perform the install on the target box then check > the archive. > It has a post with a script to convert the cd1 install disk to usb stick. > But the show stopper is the sysinstall program does not have option for usb > stick as install source. There was a bug report submitted 2 years ago > pointing out this oversight, but as of 7.2 it has not been corrected. > If you think the sysinstall program should have install source option for > usb stick them file your own bug report. The more people who file bug > reports the more attention this problem will get from the developers. > > > > > > _______________________________________________ > 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" > ... or you could just download an official image instead of going to all of that trouble. Check the FTP site, there's a memstick.img if you're down for using with 8 instead of 7. There are currently three PRs about this, and I recently took ownership of them. Filing duplicate bug reports doesn't "get attention", it's just annoying and it makes trying to improve sysinstall that much more difficult because I'll have to spend more time closing these duplicates and less time fixing problems. There has been an email that stated there is USB install support in sysinstall as of 8.0 BETA1, and USB livefs support as of 8.0 BETA2. The PRs for USB support in sysinstall will be updated and closed soon. Don't open new ones. You're welcome! :D -- randi From fernando.apesteguia at gmail.com Tue Jul 14 09:55:25 2009 From: fernando.apesteguia at gmail.com (=?ISO-8859-1?Q?Fernando_Apestegu=EDa?=) Date: Tue Jul 14 09:55:32 2009 Subject: 8.0 BETA1 LOR In-Reply-To: <4ad871310907131437p439bc099o243f578e9c6740e6@mail.gmail.com> References: <1bd550a00907131347j118904b8j4dbc06b538283ae@mail.gmail.com> <4ad871310907131428v533d5187p17fd6536224bcd21@mail.gmail.com> <4ad871310907131437p439bc099o243f578e9c6740e6@mail.gmail.com> Message-ID: <1bd550a00907140255g427e0e65s3e7727899b62406d@mail.gmail.com> 2009/7/13 Glen Barber : > 2009/7/13 Glen Barber : >> Hi, Fernando >> >> 2009/7/13 Fernando Apestegu?a : >>> Hi there, >>> >>> I downloaded FreeBSD 8.0 in order to help testing it. I have found >>> several issues. This is the first one: >>> >>> Jul 13 18:37:43 beastie kernel: lock order reversal: >>> Jul 13 18:37:43 beastie kernel: 1st 0xffffff0007d42ba8 ufs (ufs) @ >>> /usr/src/sys/kern/vfs_mount.c:1199 >>> Jul 13 18:37:43 beastie kernel: 2nd 0xffffff002e007270 devfs (devfs) @ >>> /usr/src/sys/fs/msdosfs/msdosfs_vfsops.c:944 >>> Jul 13 18:37:43 beastie kernel: KDB: stack backtrace: >>> Jul 13 18:37:43 beastie kernel: db_trace_self_wrapper() at >>> db_trace_self_wrapper+0x2a >>> Jul 13 18:37:43 beastie kernel: _witness_debugger() at _witness_debugger+0x2e >>> Jul 13 18:37:43 beastie kernel: witness_checkorder() at witness_checkorder+0x81e >>> Jul 13 18:37:43 beastie kernel: __lockmgr_args() at __lockmgr_args+0xcf3 >>> Jul 13 18:37:43 beastie kernel: vop_stdlock() at vop_stdlock+0x39 >>> Jul 13 18:37:43 beastie kernel: VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b >>> Jul 13 18:37:43 beastie kernel: _vn_lock() at _vn_lock+0x47 >>> Jul 13 18:37:43 beastie kernel: msdosfs_sync() at msdosfs_sync+0x227 >>> Jul 13 18:37:43 beastie kernel: dounmount() at dounmount+0x2ca >>> Jul 13 18:37:43 beastie kernel: unmount() at unmount+0x28a >>> Jul 13 18:37:43 beastie kernel: syscall() at syscall+0x1af >>> Jul 13 18:37:43 beastie kernel: Xfast_syscall() at Xfast_syscall+0xd0 >>> Jul 13 18:37:43 beastie kernel: --- syscall (22, FreeBSD ELF64, >>> unmount), rip = 0x8006a09ac, rsp = 0x7fffffffdc38, rbp = 0 --- >>> Jul 13 18:37:44 beastie gnome-keyring-daemon[61245]: removing >>> removable location: volume_size_4144496640 >>> >>> I got this while trying to unmount a USB device. The unmounting seemed >>> to be fine, all the files were in the device and no corruption >>> occurred. I found a very similar problem (maybe the same) here[1]. Any >>> clues about this? >>> >>> >>> Thanks in advance. >>> >>> PS: Is this the proper list for asking these questions? >>> >>> [1] http://forums.freebsd.org/showthread.php?p=31490 >> >> You can view reported lock order reversals here: >> >> http://sources.zabbadoz.net/freebsd/lor.html >> >> Questions about the -CURRENT branch should be asked on questions@. >> > > This is why multitasking is not generally a good thing. ?I meant current@. OK, thanks. I will have a look at the list. Cheers > > Sorry for the noise. > > > -- > Glen Barber > From milu at dat.pl Tue Jul 14 10:20:32 2009 From: milu at dat.pl (Maciej Milewski) Date: Tue Jul 14 10:20:39 2009 Subject: turning off the wireless network radio In-Reply-To: <20090714053849.GB1893@kokopelli.hydra> References: <20090714053849.GB1893@kokopelli.hydra> Message-ID: <200907141220.25978.milu@dat.pl> Dnia wtorek 14 lipiec 2009 o 07:38:49 Chad Perrin napisa?(a): > I'm having a real bitch of a time trying to figure out how to shut down > the wireless adapter's radio. The driver module won't unload as long as > the adapter is active, and neither ifconfig nor iwicontrol are providing > a solution either. > > I'm using (as you may have guessed by mention of iwicontrol) an Intel > wireless adapter, with if_iwi.ko as my driver module. It's an Intel > PRO/Wireless 2200BG Network Connection according to pciconf -lv. > > Thanks in advance. You can try doing this by software switch: sysctl -a | grep rfkill dev.ath.0.rfkill: 0 This switch should disable radio. I don't know if it is supported by iwi driver but you can try. Cheers, Maciej Milewski From rvdzwet at transip.nl Tue Jul 14 11:55:20 2009 From: rvdzwet at transip.nl (Rick van der Zwet) Date: Tue Jul 14 11:55:28 2009 Subject: FreeBSD HA file cluster possibilities In-Reply-To: <4A533CEA.7000007@transip.nl> References: <4A533CEA.7000007@transip.nl> Message-ID: <4A5C7223.6070808@transip.nl> RIck van der Zwet wrote: > I been (re)searching and reading what the options are with regards to > H(igh) A(vailablility) file storage using FreeBSD, but cannot yet find a > proper working solution. Any advice welcome! > > I like to be able to mirror a full identical disk between two server. So > in case of hardware failure of server A (Master). Server B (Slave) > immediately takes over, without any loss of data. The Network > configuration is easy using ucarp/vppr. But the file system is the hard > part. Paths I have investigated: > > a) ggate & gmirror: Export system on Server B to Server A. Use gmirror > on Server A to keep identical disks. When the ggated on Server B > actually goes down, the whole setup freezes, until the ggated is back up > again. Second on network delays gmirror looses, having to sync all over > again. Leaving the machine at risk. The freezing has come to a end, with the patch attached, but is the patch the right way to go (as C coding is not my strongest point)? To test: # Create backup filesystem & export it serverB$ truncate -s100m /root/ha-slave.img serverB$ echo "192.168.33.41 RW /root/ha-slave.img" > /etc/gg.exports serverB$ ggated # Apply attached patch serverA$ cd /usr/src/sbin/ggate/ggatec serverA$ patch < %%ATTACHED_FILE%% serverA$ make clean install # Local file image serverA$ truncate -s 100m /root/ha-master.img serverA$ mdconfig -t vnode -f /root/ha-master.img #Remote file image serverA$ ggatec create 192.168.33.42 /root/ha-slave.img # Mirror building serverA$ gmirror label hamirror ggate0 md0 serverA$ newfs /dev/mirror/hamirror serverA$ mount /dev/mirror/hamirror /mnt Note: if you have _not_ applied the patch and you kill ggated on machineB you will notice machineA freeze when trying to write to something on /mnt or call `gmirror status'. Same applies if you kill ggatec on machineA without patch. Using net/ucarp I detect failures on serverA and terminate ggated and mount the image on serverB. /Rick -------------- next part -------------- A non-text attachment was scrubbed... Name: ggatec.c.diff Type: text/x-patch Size: 1644 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090714/39b1cd59/ggatec.c.bin From steve at ibctech.ca Tue Jul 14 12:21:09 2009 From: steve at ibctech.ca (Steve Bertrand) Date: Tue Jul 14 12:21:15 2009 Subject: Should DNS be on same server as webserver? In-Reply-To: <4A5C43F9.2080003@boosten.org> References: <20090713222746.5D519BF05@kev.msw.wpafb.af.mil> <7DD18C43-5B03-4624-9487-ACC4AFAF000F@identry.com> <4A5C0DB3.5090205@ibctech.ca> <20090714081624.GA27636@ei.bzerk.org> <4A5C43F9.2080003@boosten.org> Message-ID: <4A5C7839.7030509@ibctech.ca> Peter Boosten wrote: > Ruben de Groot wrote: >> On Tue, Jul 14, 2009 at 12:46:43AM -0400, Steve Bertrand typed: >>> John Almberg wrote: >>>> On Jul 13, 2009, at 6:27 PM, Karl Vogel wrote: >>>>> You can fix the security problems by dumping Bind and using djbdns. >> What security problems? This one ? :) >> http://blogs.zdnet.com/security/?p=2812 >> > > It's the old 'my product is better' discussion: some people like > Mercedes, other people BMW, 'American Cars' are always better, and some > people like Volvo's. I like whatever works in regards to the situation I'm facing ;) We used BIND for years, but with hundreds of domains, I personally had to manage the zones, lest someone made a typo in a zone or a config file. I switched us over to DJBDNS a few years ago, simply for the ability to throw VegaDNS at it in order to provide a safe method to delegate domain management to other staff. Many of our servers are still BIND however. I prefer BIND myself. Some of the BIND servers slave for the djb servers, and others handle other tasks, particularly all of my zones with IPv6 records. > I'm a happy bind user for years now (and I use sendmail as well). I switched from sendmail to Qmail on our core MTAs for the same reasons stated above. At one point, I wrote CGI wrapper applications so staff could manage email accounts, but it just got too much. I standardized on Matt Simerson's Mail Toaster about 6 years ago, simply for the ease-of-management (ie I don't have to do it). To me, the product that is better is the one that removes me from having to use and manage it, and allows me to do other things ;) Steve -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3233 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090714/9f4e010d/smime.bin From desnudopenguino at gmail.com Tue Jul 14 12:37:09 2009 From: desnudopenguino at gmail.com (Adam Townsend) Date: Tue Jul 14 12:37:16 2009 Subject: ZFS or UFS for 4TB hardware RAID6? Message-ID: <26d677980907140537t6797cc40o97bc29768ed2418a@mail.gmail.com> >>> A bit of reading shows that ZFS, if it's stable enough, has some >>> really great features that would be nice on such a large pile o' >>> drives. >>> >>> See http://wiki.freebsd.org/ZFSQuickStartGuide >>> >>> I guess the last question I'll ask (as any more may uncover my >>> ignorance) is if you need to use hardware RAID at all? It seems >>> both UFS2 and ZFS can do software RAID which seems to be quite >>> reasonable with respect to performance and in many ways seems to be >>> more robust since it is a bit more portable (no specialized >>> hardware). >> >> I've thought about this one a lot. In my case, the hard drives are in >> a separate enclosure from the server and the two had to be connected >> via SAS cables. The 9690SA-8E card was the best choice I could find >> for accessing an external SAS enclosure with support for 8 drives. >> >> I could configure it in JBOD mode and then use software to create a >> RAID array. In fact, I will likely do this to compare performance of a >> hardware vs. software RAID5 solution. The ZFS RAID-Z option does not >> appeal to me, because the read performance does not benefit from >> additional drives, and I don't think RAID6 is available in software. >> For those reasons I'm leaning toward a hardware implementation. >> > > > Hi Maxim, > > RAID-Z2 is the RAID6 double parity option in ZFS. > > > gr > Arno > > I'm planning on doing something like this once I get 2 more 1TB drives. I'm going to try out a zfs RAID-Z not RAID-Z2, but yeah. I've been around openSolaris' docs on zfs & it seems to be really robust, you can export it on one OS and import it on another (incase your root dies, or you want to migrate your disks to another box), you can take "snapshots" which are stored on the drive, but I'm sure you could send those files somewhere to be backed up. And if you have really important files you can create multiple copies of them automatically with ZFS. If you set it up with multiple vdevs, you can get a lot more speed out of disk I/O as well, because if you have like 2 raidz vdevs, it stripes them, so you can pull data faster from both. I can't remember if it was on this or another list, but there was a great discussion about the performance abilities/issues of zfs & they had some good points like not using more than 8 drives per vdev & such. If you search this, the hardware list, or hackers list I'm sure it'll pop up. Try it out both ways and see which is best. there are pro's & con's to both, but it all depends on what you need for your solution. Cheers, Bucky ...whoops sent this as a reply to the digest w/o changing the name. I hope it finds the right person now. From peter at boosten.org Tue Jul 14 13:06:16 2009 From: peter at boosten.org (Peter Boosten) Date: Tue Jul 14 13:06:23 2009 Subject: Should DNS be on same server as webserver? In-Reply-To: <4A5C7839.7030509@ibctech.ca> References: <20090713222746.5D519BF05@kev.msw.wpafb.af.mil> <7DD18C43-5B03-4624-9487-ACC4AFAF000F@identry.com> <4A5C0DB3.5090205@ibctech.ca> <20090714081624.GA27636@ei.bzerk.org> <4A5C43F9.2080003@boosten.org> <4A5C7839.7030509@ibctech.ca> Message-ID: <4A5C82BF.80608@boosten.org> Steve Bertrand wrote: > > I like whatever works in regards to the situation I'm facing ;) And that's the best possible reason one could have! ;-) Peter -- http://www.boosten.org From freebsd at victorstar.com Tue Jul 14 13:17:38 2009 From: freebsd at victorstar.com (Victor Starenky) Date: Tue Jul 14 13:17:45 2009 Subject: Server screwed up (/lib/libc.so.7: Undefined symbol "_nsdispatch") In-Reply-To: <20090714024358.8095.qmail@us1.tomahawkonline.net> References: <20090714024358.8095.qmail@us1.tomahawkonline.net> Message-ID: Actually I am running this without GUI (X is a luxury on this machine) .But if I restore it from the live CD I understand that all ports I have will be messed up? So my only option would be to go and install/reinstall all of them from the scratch? Building anything that needs Ruby for example takes like 24 hours on this machine :( Can you think of any way I could try to fix just the damaged part (nss/nsswitch)? Is there any place I could search for the backed up libraries (I think portupgrade would back them up first?). Thanks guys, I really appreciate your help! Victor On Mon, Jul 13, 2009 at 10:43 PM, Sagara Wijetunga wrote: > Victor Starenky writes: > > Hi guys, > I was running FreeBSD server at home for a few years on an old box for > mail, > some web and ftp etc. I've been through a number of upgrades even though > it's not easy with the box as old as this one (PII 350). Right now I'm at > 7.0 Release. > Now last weekend something's screwed up there pretty badly and machine is > pretty much unusable. > The sympthom is that pretty much any command results in the following > error: > /libexec/ld-elf.so.1: /lib/libc.so.7: Undefined symbol "_nsdispatch" > Specifically this is thrown when trying to login (after entering login > name) > on the console, ssh, ftp. > This is also thrown for "fetch"or for "ls -l" (plain ls works). > So I'm lucky to have one root session on the console as I can't login at > any > other... > Most recent thing that might have something to do with it would be an > (unsuccessful) attempt to portupgrade cups-base. This failed with the error > > message of wrong cups client. Now this is not new and I have a number of > ports that wouldn't upgrade - cups-base, apache for example. But before > portupgrade would fail without affecting the system. Same cups-base failed > before without any side effects. > As I said this might have nothing to do with the errors I'm getting, just > most recent my actions. > So currently server is not usable - it won't even accept mail (Currier > server) with the same error message. > I tried portupgrade bash but portupgrade itslef also fails with the same > message. I do have one mean of getting new files there through mounted smb > directory. I've tried putting all new bash files into > /usr/ports/distfiles/bash but portupgrade still fails (just a bit further > now). > I ran pkg_libchk which shows a bunch of missing libraries, mostly for > compat4x-i386-5.3_9 but for example courier also misses one: > courier-0.54.0: /usr/local/libexec/filters/perlfilter misses libperl.so > At this point I think I'm lost. I'd really rather avoid complete reinstall > of the server if possible. > I would greatly appreciate any help troubleshooting the libraries. Still > hope there is something that can be done other than reinstall. > Thanks in advance! > Victor > > Hi Victor > > What you could do is put it back what is missing/damaged using an live > FreeBSD CD and get the base system to work again without any GUI. > > Regards > Sagara > > From roberthuff at rcn.com Tue Jul 14 13:36:54 2009 From: roberthuff at rcn.com (Robert Huff) Date: Tue Jul 14 13:37:01 2009 Subject: module_register: module probe already exists! Message-ID: <19036.35295.177526.232771@jerusalem.litteratus.org> [I'm asking this here and not on current@ because it's not necessarily a CURRENT-limited issue.] After updating one system Current of April 21 to: FreeBSD 8.0-BETA1 #0: Sun Jul 12 18:26:14 EDT 2009 i386 I now get this: jerusalem kernel: module_register: module probe already exists! jerusalem kernel: Module probe failed to register: 17 at the beginning of the hardware probe. The system continues to boot, but this makes me nervous. How do I figure out what module is causing this? The loader.conf has: loader_color="YES" loader_logo=beastie accf_http_load="YES" if_em_load="YES" debug.mpsafenet=1 nvidia_load="YES" linux_load="YES" uscanner_load="YES" sem_load="YES" Respectfully, Robert Huff From sagara at tomahawk.com.sg Tue Jul 14 13:49:23 2009 From: sagara at tomahawk.com.sg (Sagara Wijetunga) Date: Tue Jul 14 13:49:29 2009 Subject: Server screwed up (/lib/libc.so.7: Undefined symbol "_nsdispatch") In-Reply-To: References: <20090714024358.8095.qmail@us1.tomahawkonline.net> Message-ID: <20090714103103.14479.qmail@us1.tomahawkonline.net> Victor Starenky writes: > Actually I am running this without GUI (X is a luxury on this machine) .But > if I restore it from the live CD I understand that all ports I have will be > messed up? You build ports on top of a working base. Now your foundation, aka the base has gone wrong. What you got to do is to get the base working again. Actually the first thing you should try is, to compile the base and the kernel (buildworld, buildkernel, etc) and install them properly. Check every stage complete without any error. If you can reinstall your base without any error, your base is working. Then you can rebuild your ports. If you cannot, recompile your base, ie. if errors develops, then copy necessary libs, etc. from the live CD till your recompile the base completes without errors. > So my only option would be to go and install/reinstall all of them from the > scratch? Building anything that needs Ruby for example takes like 24 hours > on this machine :( This is your last option. Regards Sagara From freebsd at victorstar.com Tue Jul 14 14:00:16 2009 From: freebsd at victorstar.com (Victor Starenky) Date: Tue Jul 14 14:00:23 2009 Subject: Server screwed up (/lib/libc.so.7: Undefined symbol "_nsdispatch") In-Reply-To: <20090714103103.14479.qmail@us1.tomahawkonline.net> References: <20090714024358.8095.qmail@us1.tomahawkonline.net> <20090714103103.14479.qmail@us1.tomahawkonline.net> Message-ID: Sorry for the lame question. But how exactly would I go about recompiling the base?Could you point me to any articles/manuals about it? I'm just trying to understand which steps exactly need to be done and how to do it. Compiling everything would take me a few weeks on this machine :( Thanks again! Victor On Tue, Jul 14, 2009 at 6:31 AM, Sagara Wijetunga wrote: > Victor Starenky writes: > > Actually I am running this without GUI (X is a luxury on this machine) .But > > if I restore it from the live CD I understand that all ports I have will be > > messed up? > > You build ports on top of a working base. Now your foundation, aka the base > has gone wrong. What you got to do is to get the base working again. > > Actually the first thing you should try is, to compile the base and the > kernel (buildworld, buildkernel, etc) and install them properly. Check every > stage complete without any error. If you can reinstall your base without any > error, your base is working. Then you can rebuild your ports. > > If you cannot, recompile your base, ie. if errors develops, then copy > necessary libs, etc. from the live CD till your recompile the base completes > without errors. > > So my only option would be to go and install/reinstall all of them from the > > scratch? Building anything that needs Ruby for example takes like 24 hours > on this machine :( > > This is your last option. > > Regards > Sagara > > From sagara at tomahawk.com.sg Tue Jul 14 14:11:47 2009 From: sagara at tomahawk.com.sg (Sagara Wijetunga) Date: Tue Jul 14 14:11:53 2009 Subject: Server screwed up (/lib/libc.so.7: Undefined symbol "_nsdispatch") In-Reply-To: References: <20090714024358.8095.qmail@us1.tomahawkonline.net> <20090714103103.14479.qmail@us1.tomahawkonline.net> Message-ID: <20090714105327.15008.qmail@us1.tomahawkonline.net> Victor Starenky writes: > Sorry for the lame question. But how exactly would I go about recompiling > the base?Could you point me to any articles/manuals about it? I'm just > trying to understand which steps exactly need to be done and how to do it. > Compiling everything would take me a few weeks on this machine :( > Oops, I just explain is a brain surgery :) Are you sure that you cannot let go your server, erase everything, reinstall and restore from a backup? That's the easiest. Regards Sagara From nvass9573 at gmx.com Tue Jul 14 15:39:52 2009 From: nvass9573 at gmx.com (Nikos Vassiliadis) Date: Tue Jul 14 15:39:59 2009 Subject: module_register: module probe already exists! In-Reply-To: <19036.35295.177526.232771@jerusalem.litteratus.org> References: <19036.35295.177526.232771@jerusalem.litteratus.org> Message-ID: <4A5CA6B9.3040208@gmx.com> Robert Huff wrote: > sem_load="YES" You should remove this line, since it's now built in the GENERIC kernel and hence the warning message. Nikos From freebsd at victorstar.com Tue Jul 14 15:46:00 2009 From: freebsd at victorstar.com (Victor Starenky) Date: Tue Jul 14 15:46:09 2009 Subject: Server screwed up (/lib/libc.so.7: Undefined symbol "_nsdispatch") In-Reply-To: <20090714105327.15008.qmail@us1.tomahawkonline.net> References: <20090714024358.8095.qmail@us1.tomahawkonline.net> <20090714103103.14479.qmail@us1.tomahawkonline.net> <20090714105327.15008.qmail@us1.tomahawkonline.net> Message-ID: That's "restoring from backup" that's non-trivial :PI'd take on the challenge of trying to restore just some pieces if you just point me into the direction of what exactly needs to be done. I'm not asking step-by-steps but rather something along the lines "recompile kernel - here's the link on how to start". I don't want to abuse your help, you've already been very helpful! Thing is - I was in the process of building a new server to replace this guy but one not-so-happy day it didn't boot after unsuccesful update (that's Suse for a change). Meanwhile I wanted to keep mail and stuff running until I finish with that one. Now rebuilding this old machine would take weeks of just CPU time alone. I remember very well the process of putting everything up there in the first place. Thanks again, Victor On Tue, Jul 14, 2009 at 6:53 AM, Sagara Wijetunga wrote: > Victor Starenky writes: > > Sorry for the lame question. But how exactly would I go about recompiling > the base?Could you point me to any articles/manuals about it? I'm just > trying to understand which steps exactly need to be done and how to do it. > Compiling everything would take me a few weeks on this machine :( > > Oops, I just explain is a brain surgery :) > > Are you sure that you cannot let go your server, erase everything, > reinstall and restore from a backup? That's the easiest. > > Regards > Sagara > > From frederique at isafeelin.org Tue Jul 14 15:50:11 2009 From: frederique at isafeelin.org (Frederique Rijsdijk) Date: Tue Jul 14 15:50:19 2009 Subject: Automatic screen lock when leaving desk Message-ID: <4A5CA4F1.6090605@isafeelin.org> Hi, I'm looking for a way to automaticaly lock my X session when I leave my desk. Probably just using 'xlockmore -mode blank' or such. But how to detect? It could be infrared based (heat signature), video based (webcam w/ motion detection) or even mechanical (switch in seat? meh..). And how would FreeBSD interface with such device? Most likely via USB, since my lt doesn't have any serial ports. Any ideas? Experience? -- Frederique From wmoran at potentialtech.com Tue Jul 14 15:52:45 2009 From: wmoran at potentialtech.com (Bill Moran) Date: Tue Jul 14 15:52:52 2009 Subject: Automatic screen lock when leaving desk In-Reply-To: <4A5CA4F1.6090605@isafeelin.org> References: <4A5CA4F1.6090605@isafeelin.org> Message-ID: <20090714115243.e454e09b.wmoran@potentialtech.com> In response to Frederique Rijsdijk : > > I'm looking for a way to automaticaly lock my X session when I leave my > desk. Probably just using 'xlockmore -mode blank' or such. But how to > detect? > > It could be infrared based (heat signature), video based (webcam w/ > motion detection) or even mechanical (switch in seat? meh..). > > And how would FreeBSD interface with such device? Most likely via USB, > since my lt doesn't have any serial ports. > > Any ideas? Experience? Unless your requirements are really as strict as you state, you're probably better off just installing xscreensaver and configuring it to lock the screen after a reasonable amount of inactivity. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/ From glen.j.barber at gmail.com Tue Jul 14 15:54:46 2009 From: glen.j.barber at gmail.com (Glen Barber) Date: Tue Jul 14 15:54:52 2009 Subject: Automatic screen lock when leaving desk In-Reply-To: <4A5CA4F1.6090605@isafeelin.org> References: <4A5CA4F1.6090605@isafeelin.org> Message-ID: <4ad871310907140854gdf08551pa1d9f012e6c15c51@mail.gmail.com> Hi, On Tue, Jul 14, 2009 at 11:32 AM, Frederique Rijsdijk wrote: > Hi, > > I'm looking for a way to automaticaly lock my X session when I leave my > desk. Probably just using 'xlockmore -mode blank' or such. But how to > detect? > > It could be infrared based (heat signature), video based (webcam w/ > motion detection) or even mechanical (switch in seat? meh..). > > And how would FreeBSD interface with such device? Most likely via USB, > since my lt doesn't have any serial ports. > > Any ideas? Experience? > > There was an application about a year or so, Gnome based, that I saw in the Ubuntu repository. I just checked the ports tree, but unfortunately I don't see it. (I searched based on key, not name, because I forget the exact name.) It would connect to bluetooth on a cellular phone / smartphone, and if the bluetooth signal was lost (ie, you walked away) xscreensaver would kick in. -- Glen Barber From mahlerrd at yahoo.com Tue Jul 14 16:23:08 2009 From: mahlerrd at yahoo.com (Richard Mahlerwein) Date: Tue Jul 14 16:23:15 2009 Subject: ZFS or UFS for 4TB hardware RAID6? Message-ID: <719914.10546.qm@web51006.mail.re2.yahoo.com> --- On Tue, 7/14/09, Matthew Seaman wrote: > From: Matthew Seaman > Subject: Re: ZFS or UFS for 4TB hardware RAID6? > To: mahlerrd@yahoo.com > Cc: "Free BSD Questions list" > Date: Tuesday, July 14, 2009, 4:23 AM > Richard Mahlerwein wrote: > > > With 4 drives, you could get much, much higher > performance out of > > RAID10 (which is alternatively called RAID0+1 or > RAID1+0 depending on > > the manufacturer > > Uh -- no.? RAID10 and RAID0+1 are superficially > similar but quite different > things.? The main differentiator is resilience to disk > failure. RAID10 takes > the raw disks in pairs, creates a mirror across each pair, > and then stripes > across all the sets of mirrors.? RAID0+1 divides the > raw disks into two equal > sets, constructs stripes across each set of disks, and then > mirrors the > two stripes. > > Read/Write performance is similar in either case: both > perform well for the sort of small randomly distributed IO > operations you'ld get when eg. > running a RDBMS.? However, consider what happens if > you get a disk failure. > In the RAID10 case *one* of your N/2 mirrors is degraded > but the other N-1 > drives in the array operate as normal.? In the RAID0+1 > case, one of the > 2 stripes is immediately out of action and the whole IO > load is carried by > the N/2 drives in the other stripe. > > Now consider what happens if a second drive should > fail.? In the RAID10 > case, you're still up and running so long as the failed > drive is one of > the N-2 disks that aren't the mirror pair of the 1st failed > drive. > In the RAID0+1 case, you're out of action if the 2nd disk > to fail is one > of the N/2 drives from the working stripe.? Or in > other words, if two > random disks fail in a RAID10, chances are the RAID will > still work.? If > two arbitrarily selected disks fail in a RAID0+1 chances > are basically > even that the whole RAID is out of action[*]. > > I don't think I've ever seen a manufacturer say RAID1+0 > instead of RAID10, > but I suppose all things are possible.? My impression > was that the 0+1 terminology was specifically invented to > make it more visually distinctive > -- ie to prevent confusion between '01' and '10'. > > ??? Cheers, > > ??? Matthew > > [*] Astute students of probability will point out that this > really only > makes a difference for N > 4, and for N=4 chances are > evens either way that failure of two drives would take out > the RAID. > > -- Dr Matthew J Seaman MA, D.Phil.? ? ? > ? ? ? ? ? ???7 > Priory Courtyard > ? ? ? ? ? ? ? ? > ? ? ? ? ? ? ? ? > ? ? ? ? ? ? ? > ???Flat 3 > PGP: http://www.infracaninophile.co.uk/pgpkey? > ???Ramsgate > ? ? ? ? ? ? ? ? > ? ? ? ? ? ? ? ? > ? ? ? ? ? ? ? > ???Kent, CT11 9PW > --- On Tue, 7/14/09, Matthew Seaman wrote: > From: Matthew Seaman > Subject: Re: ZFS or UFS for 4TB hardware RAID6? > To: mahlerrd@yahoo.com > Cc: "Free BSD Questions list" > Date: Tuesday, July 14, 2009, 4:23 AM > Richard Mahlerwein wrote: > > > With 4 drives, you could get much, much higher > performance out of > > RAID10 (which is alternatively called RAID0+1 or > RAID1+0 depending on > > the manufacturer > > Uh -- no. RAID10 and RAID0+1 are superficially > similar but quite different > things. The main differentiator is resilience to disk > failure. RAID10 takes > the raw disks in pairs, creates a mirror across each pair, > and then stripes > across all the sets of mirrors. RAID0+1 divides the > raw disks into two equal > sets, constructs stripes across each set of disks, and then > mirrors the > two stripes. > > Read/Write performance is similar in either case: both > perform well for the sort of small randomly distributed IO > operations you'ld get when eg. > running a RDBMS. However, consider what happens if > you get a disk failure. > In the RAID10 case *one* of your N/2 mirrors is degraded > but the other N-1 > drives in the array operate as normal. In the RAID0+1 > case, one of the > 2 stripes is immediately out of action and the whole IO > load is carried by > the N/2 drives in the other stripe. > > Now consider what happens if a second drive should > fail. In the RAID10 > case, you're still up and running so long as the failed > drive is one of > the N-2 disks that aren't the mirror pair of the 1st failed > drive. > In the RAID0+1 case, you're out of action if the 2nd disk > to fail is one > of the N/2 drives from the working stripe. Or in > other words, if two > random disks fail in a RAID10, chances are the RAID will > still work. If > two arbitrarily selected disks fail in a RAID0+1 chances > are basically > even that the whole RAID is out of action[*]. > > I don't think I've ever seen a manufacturer say RAID1+0 > instead of RAID10, > but I suppose all things are possible. My impression > was that the 0+1 terminology was specifically invented to > make it more visually distinctive > -- ie to prevent confusion between '01' and '10'. > > Cheers, > > Matthew > > [*] Astute students of probability will point out that this > really only > makes a difference for N > 4, and for N=4 chances are > evens either way that failure of two drives would take out > the RAID. Sorry, you are correct. Thanks for clearing that up. I *have,* by the way, stumbled across them a couple of times in the consumer/on-board market, and that's why I tend to remember that and include it even though it's incorrect now. IIRC (which is NOT certain :), I remember once perhaps back around 2000 that a major mag tested some and found that it was only nomenclature differences: all RAID10/1+0/0+1 that were available were all RAID10. And, if I recall, that was back in the PATA days. Anyway, NP. I could also be off my rockers. (Oh, and thanks for the addendum, I actually was following and thinking "...now wait a minute..." and then you clarified that last bit. :) ) From vogelke+unix at pobox.com Tue Jul 14 17:37:17 2009 From: vogelke+unix at pobox.com (Karl Vogel) Date: Tue Jul 14 17:37:31 2009 Subject: Should DNS be on same server as webserver? In-Reply-To: <20090714081624.GA27636@ei.bzerk.org> (message from Ruben de Groot on Tue, 14 Jul 2009 10:16:24 +0200) References: <20090713222746.5D519BF05@kev.msw.wpafb.af.mil> <7DD18C43-5B03-4624-9487-ACC4AFAF000F@identry.com> <4A5C0DB3.5090205@ibctech.ca> <20090714081624.GA27636@ei.bzerk.org> Message-ID: <20090714173644.0B4E8BF06@kev.msw.wpafb.af.mil> >> On Jul 13, 2009, at 6:27 PM, Karl Vogel wrote: K> You can fix the security problems by dumping Bind and using djbdns. >> On Tue, 14 Jul 2009 10:16:24 +0200, Ruben de Groot replied: R> What security problems? This one ? :) R> http://blogs.zdnet.com/security/?p=2812 When BIND offers (and makes good on) a $1,000 bug bounty, I'll be happy to consider its security model the equal of djbdns. -- Karl Vogel I don't speak for the USAF or my company Give me ambiguity, or give me something else. --unknown From jon at radel.com Tue Jul 14 18:00:35 2009 From: jon at radel.com (Jon Radel) Date: Tue Jul 14 18:00:42 2009 Subject: Should DNS be on same server as webserver? In-Reply-To: <20090714173644.0B4E8BF06@kev.msw.wpafb.af.mil> References: <20090713222746.5D519BF05@kev.msw.wpafb.af.mil> <7DD18C43-5B03-4624-9487-ACC4AFAF000F@identry.com> <4A5C0DB3.5090205@ibctech.ca> <20090714081624.GA27636@ei.bzerk.org> <20090714173644.0B4E8BF06@kev.msw.wpafb.af.mil> Message-ID: <4A5CC7BA.9090501@radel.com> Karl Vogel wrote: >>> On Jul 13, 2009, at 6:27 PM, Karl Vogel wrote: > K> You can fix the security problems by dumping Bind and using djbdns. > >>> On Tue, 14 Jul 2009 10:16:24 +0200, Ruben de Groot replied: > R> What security problems? This one ? :) > R> http://blogs.zdnet.com/security/?p=2812 > > When BIND offers (and makes good on) a $1,000 bug bounty, I'll be happy > to consider its security model the equal of djbdns. > It's nice to see that their marketing efforts work on somebody. -- --Jon Radel jon@radel.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3283 bytes Desc: S/MIME Cryptographic Signature Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090714/6c9c21f1/smime.bin From chris.chambers at gmx.com Tue Jul 14 18:26:21 2009 From: chris.chambers at gmx.com (Christopher Chambers) Date: Tue Jul 14 18:26:29 2009 Subject: port-upgrade & freebsd-update causing page faults and slow performance Message-ID: <20090714182616.201180@gmx.com> From mel.flynn+fbsd.questions at mailing.thruhere.net Tue Jul 14 18:35:17 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Tue Jul 14 18:35:24 2009 Subject: Should DNS be on same server as webserver? In-Reply-To: <20090713222746.5D519BF05@kev.msw.wpafb.af.mil> References: <20090713222746.5D519BF05@kev.msw.wpafb.af.mil> Message-ID: <200907141035.15300.mel.flynn+fbsd.questions@mailing.thruhere.net> On Monday 13 July 2009 14:27:46 Karl Vogel wrote: > It's very easy to set up a caching nameserver without using all the > memory on your system. It's much easier to turn your HIGH-performance webserver into a slug, by running stuff you don't need on the same machine. Memory unused by the webserver can then be used by the OS to provide filesystem caching, which indirectly greatly benefits a webserver, much more then a local cache can speed things up. -- Mel From lenzi.sergio at gmail.com Tue Jul 14 19:34:52 2009 From: lenzi.sergio at gmail.com (Sergio de Almeida Lenzi) Date: Tue Jul 14 19:34:59 2009 Subject: Server screwed up (/lib/libc.so.7: Undefined symbol "_nsdispatch") In-Reply-To: References: <20090714024358.8095.qmail@us1.tomahawkonline.net> <20090714103103.14479.qmail@us1.tomahawkonline.net> Message-ID: <1247600086.36735.26.camel@localhost> Em Ter, 2009-07-14 ?s 10:00 -0400, Victor Starenky escreveu: =======OK... ======== you can try this script... it suposes that you have ALL the /usr/src and the GENERIC KERNEL... in a slow machine, it is about 4 hours.... (Pentium 2, 256mb memory, 10Gb disk) FreeBSD 7.0 => FreeBSD 7.2 save the script in the root directory say: updatebsd than.... with all the /usr/src (you can get it from the CD)..... sh updatebsd if it finds a small mistake it will stop. after building the OS, check if everything is ok, and reboot. this script will install the GENERIC KERNEL, so if you have your own kernel, edit the last lines of the code to make your needs ============================================== DEPEND=depend cd /usr/src set -e (cd share/mk;make all install || exit 1) make includes for i in etc share lib libexec secure/lib secure do (cd $i;make ${DEPEND} all install || exit 1) sync done for i in sbin bin usr.sbin usr.bin do (cd $i;make ${DEPEND} all install || exit 1) sync done cd /sys/`uname -m`/conf config GENERIC cd ../compile/GENERIC make ${DEPEND} all install From mel.flynn+fbsd.questions at mailing.thruhere.net Tue Jul 14 19:51:43 2009 From: mel.flynn+fbsd.questions at mailing.thruhere.net (Mel Flynn) Date: Tue Jul 14 19:51:51 2009 Subject: Problem with make buildworld during upgrade from 7.0-RELEASE to 7.2-RELEASE In-Reply-To: <6028f3630907131440i6b9993c8uae9251346e610ef3@mail.gmail.com> References: <6028f3630907131440i6b9993c8uae9251346e610ef3@mail.gmail.com> Message-ID: <200907141151.41050.mel.flynn+fbsd.questions@mailing.thruhere.net> On Monday 13 July 2009 13:40:31 Joseph Bashe wrote: > I am going thru my first FreeBSD upgrade and it's not going too smoothly. I > originally started the upgrade using the "freebsd-update" method. This is > what I've done so far (all as root user): There's a few misconceptions in your understanding of the upgrade process, which I'll try to address below. However, you're also using the wrong sequence of events. You *first* want to update your kernel and base system, only then your ports. > PS. I am using a custom kernel. As such, freebsd-update cannot upgrade your kernel. > 1. ran "portsnap fetch update" - [success] > > 2. ran "portupgrade -va" ["portupgrade"not found - i hadn't installed it > yet" > > 3. ran "freebsd-update fetch" [success] (i know this was out of sequence > from the guide) > > 4. installed portupgrade ("make install clean" from the dir in ports) [ssh > connection dropped, so i had to login again] > > 5. installed portupgrade ("make install") [success] then "make clean" > [success] > > 6. ran "portupgrade -va" [long process begins... strangely, several X > components install although this is not desired] echo WITHOUT_X11=yes >>/etc/make.conf > 7. ran "freebsd-update fetch" again [success] > > 8. ran "freebsd-update