Questions on portmaster
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.poin...@gmail.com +91-96500-10329 Laast year I kudn't spell Software Engineer. Now I are won. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Portaudit strange behavior.
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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Failing to show 'Password:' prompt
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? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Portaudit strange behavior.
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: strange ee behaviour
On 7/1/09, Alexander Best alexbes...@math.uni-muenster.de 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 alexbes...@math.uni-muenster.de 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
RE: s...@home
-Original Message- From: Paul B. Mahol [mailto:one...@gmail.com] Sent: 30 June 2009 23:49 To: Stefan Miklosovic Cc: freebsd-questions@freebsd.org Subject: Re: s...@home On 6/30/09, Stefan Miklosovic miklosovic.free...@gmail.com wrote: hi all, I would like to install s...@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 s...@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-unsubscr...@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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: strange ee behaviour
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 alexbes...@math.uni-muenster.de 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 alexbes...@math.uni-muenster.de 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: strange ee behaviour
On 7/1/09, Paul B. Mahol one...@gmail.com wrote: On 7/1/09, Alexander Best alexbes...@math.uni-muenster.de 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 alexbes...@math.uni-muenster.de 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: strange ee behaviour
On 7/1/09, Alexander Best alexbes...@math.uni-muenster.de 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 alexbes...@math.uni-muenster.de 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 alexbes...@math.uni-muenster.de 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Failing to show 'Password:' prompt
On 7/1/09, Manolis Kiagias son...@otenet.gr 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Failing to show 'Password:' prompt
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Google Earth on FreeBSD 7.0
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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: strange ee behaviour
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 one...@gmail.com wrote: On 7/1/09, Alexander Best alexbes...@math.uni-muenster.de 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 alexbes...@math.uni-muenster.de 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Google Earth on FreeBSD 7.0
On Wed, 1 Jul 2009 12:45:52 +0300, Mike Barnard mike.barna...@gmail.com 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, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
gmirror per partition. Was: Re: gmirror gm0 destroyed on shutdown; GPT corrupt
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: strange ee behaviour
On 7/1/09, Alexander Best alexbes...@math.uni-muenster.de 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 one...@gmail.com wrote: On 7/1/09, Alexander Best alexbes...@math.uni-muenster.de 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 alexbes...@math.uni-muenster.de 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Failing to show 'Password:' prompt
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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Portaudit strange behavior.
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Questions on portmaster
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Questions on portmaster
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: strange ee behaviour
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 alexbes...@math.uni-muenster.de 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 one...@gmail.com wrote: On 7/1/09, Alexander Best alexbes...@math.uni-muenster.de 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 alexbes...@math.uni-muenster.de 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Questions on portmaster
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/name_of_port/+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) pgp4qK8UEAKmn.pgp Description: PGP signature
Wireless NICs on 7.2
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? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Wireless NICs on 7.2
On 7/1/09, Robert Hall rjh...@gmail.com 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-unsubscr...@freebsd.org -- Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ANNOUNCE: Custom GNOME-based FreeBSD iso released
On Tue Jun 30, 2009 09:45AM, Tim Judd wrote: On 6/30/09, Andrew Gould andrewlylego...@gmail.com wrote: 2009/6/30 Manolis Kiagias son...@otenet.gr: -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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
scripting tip needed
Hi folks, I'm having a little problem. For exambe in ksh: $ z=0 $ y=1 $ x= $ eval `echo MACHINE_DISK$z[$y]`=$x $ echo ${MACHINE_DISK0[1]} 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]} $ echo ${MACHINE_DISK$z[$y]} ksh: ${MACHINE_DISK$z[$y]}: bad substitution Thanks in advance for any tip Cheers ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD on Cobalt RaQ 4
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 :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Wireless NICs on 7.2
On Wed, Jul 1, 2009 at 1:55 PM, Paul B. Maholone...@gmail.com wrote: On 7/1/09, Robert Hall rjh...@gmail.com 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 r...@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-unsubscr...@freebsd.org
Re: Google Earth on FreeBSD 7.0
On Wed, 1 Jul 2009 12:45:52 +0300, Mike Barnard mike.barna...@gmail.com 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: ANNOUNCE: Custom GNOME-based FreeBSD iso released
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 andrewlylego...@gmail.com wrote: 2009/6/30 Manolis Kiagias son...@otenet.gr: -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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: scripting tip needed
On Wed, 1 Jul 2009 18:40:00 +0100, Alexandre Vieira nul...@gmail.com wrote: Hi folks, I'm having a little problem. For exambe in ksh: $ z=0 $ y=1 $ x= $ eval `echo MACHINE_DISK$z[$y]`=$x $ echo ${MACHINE_DISK0[1]} 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]} $ 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Cloning to different disks.
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
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-unsubscr...@freebsd.org
Re: Cloning to different disks.
Thanks Sir! What is the easiest way to make sure the new disk is bootable. Also, it just occured to mewe 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 son...@otenet.gr To: Grant Peel gp...@thenetnow.com Cc: freebsd-questions@freebsd.org 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-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cloning to different disks.
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cloning to different disks.
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 mewe 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD on Cobalt RaQ 4
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 ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: gmirror per partition. Was: Re: gmirror gm0 destroyed on shutdown; GPT corrupt
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? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: scripting tip needed
$ echo ${MACHINE_DISK0[$y]} $ echo ${MACHINE_DISK$z[$y]} ksh: ${MACHINE_DISK$z[$y]}: bad substitution Thanks in advance for any tip install bash :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: scripting tip needed
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cloning to different disks.
Grant Peel wrote: Thanks Sir! What is the easiest way to make sure the new disk is bootable. Also, it just occured to mewe 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Gtk-WARNING **: Locale not supported by C library.
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
load kernel from different media
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Oracle, php and a Fog of Confusion oci_connect
I have a fragment of php code which connects to an external Oracle data base. It looks mostly like: ?php //open connection to database $conn = oci_connect(db_name, PASS_WORD, host.name.OKSTATE.EDU); if (!$conn) { $e = oci_error(); print htmlentities($e['message']); exit; } ? 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: scripting tip needed
On Wed, 1 Jul 2009 22:02:48 +0200 (CEST), Wojciech Puchar woj...@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 :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Wireless NICs on 7.2
On 7/1/09, Robert Hall rjh...@gmail.com wrote: On Wed, Jul 1, 2009 at 1:55 PM, Paul B. Maholone...@gmail.com wrote: On 7/1/09, Robert Hall rjh...@gmail.com 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 r...@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-unsubscr...@freebsd.org -- Paul ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Cloning to different disks.
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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
POLL: Linux preferences from FreeBSD users
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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: POLL: Linux preferences from FreeBSD users
Daniel Underwood wrote: I'm very interested to see the spread of opinion about Linux distributions from FreeBSD fans. Why? -- --Jon Radel j...@radel.com smime.p7s Description: S/MIME Cryptographic Signature
Re: load kernel from different media
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/ufsrw11 = 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-unsubscr...@freebsd.org
Re: Questions on portmaster
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.0 -0400 +++ portmaster 2009-07-01 18:55:59.0 -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 - echobecause 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 + echobecause 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: POLL: Linux preferences from FreeBSD users
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/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: POLL: Linux preferences from FreeBSD users
On Wed, Jul 1, 2009 at 5:58 PM, Daniel Underwooddjuatde...@gmail.com 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: POLL: Linux preferences from FreeBSD users
On Wed, Jul 1, 2009 at 6:58 PM, Daniel Underwooddjuatde...@gmail.com 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: POLL: Linux preferences from FreeBSD users
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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: POLL: Linux preferences from FreeBSD users
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). ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
boot0 / LILO / GRUB: dual boot FreeBSD and Linux
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: POLL: Linux preferences from FreeBSD users
On Wed, 1 Jul 2009 18:58:15 -0400, Daniel Underwood djuatde...@gmail.com 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 :-) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
FreeBSD support for 64-bit x86 systems
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: http://www.freebsd.org/platforms/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD support for 64-bit x86 systems
On Wed, Jul 1, 2009 at 8:31 PM, Daniel Underwooddjuatde...@gmail.com 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: http://www.freebsd.org/platforms/ amd64 -- Glen Barber ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD support for 64-bit x86 systems
amd64 Ah-hah. Thanks! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: boot0 / LILO / GRUB: dual boot FreeBSD and Linux
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: FreeBSD support for 64-bit x86 systems
On Wed, Jul 1, 2009 at 7:31 PM, Daniel Underwooddjuatde...@gmail.com 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Wireless NICs on 7.2
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. :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: POLL: Linux preferences from FreeBSD users
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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: serial modem
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-unsubscr...@freebsd.org
Re: Questions on portmaster
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.0 -0400 +++ portmaster 2009-07-01 18:55:59.0 -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 - echobecause 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 + echobecause 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.poin...@gmail.com
Re: serial modem
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-unsubscr...@freebsd.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: POLL: Linux preferences from FreeBSD users
On Wed, 1 Jul 2009 18:58:15 -0400, Daniel Underwood djuatde...@gmail.com 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, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: serial modem
On Thu, 02 Jul 2009 00:19:56 -0400, kalin m ka...@el.net 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, ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org