Re: Unbootable memory stick snapshot?
2011-08-29 19:07, Neil Cafferkey skrev: Hi, I can't boot the FreeBSD-9.0-CURRENT-201107-ia64-memstick.img snapshot. From a hexdump, it doesn't appear to have a boot block. Regards, Neil ___ 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 ia64 is for Itanium, if it's an x86_64 you have, you need amd64, even if it's an Intel. ___ 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: source code
2011-04-21 14:58, philippe joffre skrev: Hi , May you help me I'm looking for the code-source FREEBSD please it's possible to send me the links . Thank you in advance . Best regards Philippe ___ 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 ftp://ftp.freebsd.org/pub/FreeBSD/releases/amd64/8.2-RELEASE/src/ or ftp://ftp.freebsd.org/pub/FreeBSD/releases/i386/8.2-RELEASE/src/ These should be the same, but just in case. Note that amd64 also works with Intel's 64 bit processors (x86_64), just as i386 works with AMD's 32 bit processors. Once you've downloaded the source, run the install.sh script. You may need to edit it or change its permissions. ___ 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: bash can not find most of my commands
2011-02-22 17:47, Alokat skrev: On 02/22/11 17:44, Rolf Nielsen wrote: 2011-02-22 17:40, Alokat skrev: Hi, I have changed my shell from csh to bash ... Why? Do you use root as your regular login? But after that I have to call reboot like /sbin/reboot. How can I change that without changing the shell. :) my /root/.profile: PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin export PATH HOME=/root export HOME TERM=${TERM:-cons25} export TERM PAGER=more export PAGER Regards, Alokat ___ 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 It's just for example ... :) I have a non root login for regular stuff. To me the .profile looks ok, and I can't really say why it doesn't work. However, do not use a shell that's not in the base system for root. Some would point security issues, but I don't know much about those when it comes to bash, however, if you need to boot into single user, you may get into troubles with a shell not in base. ___ 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: How to label a GELI device
2011-01-25 19:37, J. Porter Clark skrev: On Tue, Jan 25, 2011 at 07:28:25PM +0100, Rolf Nielsen wrote: X-Spam-Level: 2011-01-25 19:13, J. Porter Clark skrev: On Tue, Jan 25, 2011 at 03:29:37PM +0100, Rolf Nielsen wrote: Correct me if I'm wrong anyone. You need to first label da0s1d e.g. like so glabel label data da0s1d then geli init the labeled device e.g. like so geli init -l 256 -s 4096 label/data Unfortunately, this step overwrites the label. It does not. I just tested it with a file backed md device, and hexdumped it after each step (creating the file, mdconfig it, label the md device and encrypting it). After the first two steps, I got just zeros, after labeling it, I got the last sector containing the label, and after encrypting it, I got the second last sector (i.e. the last sector of the labeled device) containing the eli data and the last secor still containing the label. If it does overwrite the label, you most likely specified the da0s1d to the geli init command. You need to specify label/data (replace data with the name you choose). Ah! That is, in fact, exactly what I did. I didn't realize that the glabeled device was actually shrunk by 1 sector. Thanks! You're welcome. Hope you got it working in the end. :) ___ 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: Digital camera for FreeBSD
2010-07-18 19:06, Polytropon skrev: On Sun, 18 Jul 2010 12:21:42 -0400, Robert Amesroberta...@hotmail.com wrote: If such a thing does exist, can someone recommend a simple point and shoot digital camera that you can connect to a FreeBSD machine via a USB cable and have access to the images via a (presumably MS-DOS based) filesystem? Let me first make sure that I answer correctly: I do interpret your question about a point and shoot digital camera as a question regarding a photo camera primarily, not a movie camera. I hope that's correct. Nearly all cameras work - either by accessing the FAT file system on the card (or internal memory), or by PTP commands - both should be standard, and some cameras can even be switched from one to the other standard. I own the following (digital) cameras, all working with FreeBSD (list position indicates quality, quite): - Canon PowerShot S3 IS - Kodak EasyShare CX6330 - HP PhotoSmart M407 - Mustek MDC 3500 - Aiptec Pencam (AEG Snap 300) Basically, you can use nearly ANY camera with FreeBSD. It's just important that at least ONE of the existing access standards is supported by the camera - USB direct storage access or PTP functionality. (I'm concentrating on USB cameras here, allthough Firewire based cameras should also work, but I don't own any, so I can't be more precise about this interface.) There's also a workaround you should know about: If the camera does NOT allow you to access its files through the camera, you often can eject a SD or CF card. Many PCs today include readers for those media. And if the reader complies to USB standards, it can be used with FreeBSD. My Casio Exilim EX-S12 works perfectly, and identifies itself as a USB Mass Storage device, i.e. it gets a daX device node in /dev. I used to have an Olympus SP-500UZ, which also worked perfectly as a USB Mass Storage device. Neither of those are current models, but I doubt that either Casio or Olympus have stopped supporting USB Mass Storage (IIRC the Casio can be set to either USB Mass Storage or PTP). ___ 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: resize freebsd slice
2010-06-11 19:17, Giorgos Tsiapaliokas skrev: ok,but if i delete this 2 slices then i will delete my entire system.. then should i have to install it from the beggining,but i don't want to do that. ___ 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 Read my previous description of how I would have approached the problem, and the answers shall come to you... In case you don't know how to back up data, read the dump(8) and restore(8) man pages. If you don't have access to any external space, e.g. a USB disk or network access to sufficient storage space, you may need to consider backing up only the important files from the /home partition and personalised config files from /etc and /usr/local/etc to a DVD, reinstall the system from scratch (the installation program lets you delete the s3 and s4 slices and create a new, bigger s3 slice), and then restore the backed up files. If you don't even have a DVD recorder, try accessing the Linux slice. I've never used it myself, but FreeBSD should be able to access ext* file systems, and store the backup there. Do this BEFORE reinstalling. ___ 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: Endianness
On 2010-01-12 22:04, David Kelly wrote: On Tue, Jan 12, 2010 at 12:51:00PM -0800, Rob Farmer wrote: I'm trying to create a port of an application which only works on little endian systems and I'm trying to figure out how to set ONLY_FOR_ARCHS. Wikipedia says PowerPC, Sparc, and IA64 are bi-endian and the OS chooses the mode. I'm not familiar with these platforms - I'm sure it has been answered somewhere, but I can't find it - which FreeBSD archs are little/big endian? Thanks. i386 is little endian. Would expect ia64 to be the same. ia64 (Itanium) hardware has selectable endianess. I've never worked with Itanium in any OS, so I can't say whether FreeBSD supports selecting or is fixed at either little- or bigendian. ___ 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: setlocale command is missing
Daniel Dvořák wrote: Hi, I updated a mc port to the last one, version 4.7.0pre4 and wanted to run mc, but mc display a warning message that the selected display charset or source codeset does not match one set via locale. I have never seen this message since I am a user of mc. Propably it is something new in this new version. The version 4.6.2 does not show you this message durring starting application. I wanted to set my locale, but I found out that command setlocale is missing on FreeBSD 7.2. Files in directory /etc: login.conf, login.conf.db, csh.login and profile are set as HANDBOOK recommends for language localization. My shells are bash, tcsh or zsh, csh for root user. The results are the same. bash: [u...@server ~]$ LC_ALL=ISO-8859-2; export LC_ALL -bash: varování: setlocale: LC_ALL: cannot change locale (ISO-8859-2): No such file or directory zsh: server% setlocale LC_ALL ISO-8859-2 zsh: command not found: setlocale tcsh: setlocale LC_ALL ISO-8859-2 setlocale: Command not found. root csh: server# setlocale LC_ALL ISO-8859-2 setlocale: Command not found. So my simple question is why is setlocale command missing in FreeBSD 7.2 ? And if user could not use locale and setlocale commands like on Linux, how can I solve my problem with new version of MC ? The mc message: Confirmation Chosen display charset (Settings-Display bits) or source codeset (in mcedit ctrl-t) does not match one set via locale. Set correct codeset manually or press Fix it to set locale default. Or set 'don' task again' and press Skip [ ] don't ask again [ Fix it ] [ Skip ] BTW in mc there is not any settings with display bits, there is only options menu with display bits. Wrong help dialogs ? Thank you 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 ls -ld /usr/share/locale/*8859-2 for a list of ISO8859-2 locales. Use the complete name, e.g. cs_CZ.ISO8859-2. To set the above locale in sh and work-alikes use LC_ALL=cs_CZ.ISO8859-2; export LC_ALL (the syntax you tried, but your locale spec was wrong, and that's why it protested). To set the above locale in csh and work-alikes use setenv LC_ALL cs_CZ.ISO8859-2 ___ 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: build 7.x kernel without zfs
Oles Hnatkevych wrote: Hi! Since my installation has 496Mb on root partition, having to kernels (current and old) there becomes pain, only 4Mb free left. How can I build kernel without zfs module, since it consumes 12Mb with symbols? Hi Oles, I'm not sure how to specify which modules not to build, but to build only the modules you need, use MODULES_OVERRIDE in your kernel config file. E.g. the following line will build and install only atapicam and ext2fs. makeoptions MODULES_OVERRIDE=atapicam ext2fs To find out what modules you use, just type kldstat in the console, and add the listed modules to the MODULES_OVERRIDE. You can also specify that you don't want debug symbols built by removing or commenting out the makeoptions DEBUG=-g line. Rolf Nielsen ___ 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 boot invalid partition
Michel Le Cocq wrote: I just dump a real host and try to restore it on a virtual host under kvm. When booting under KVM i see this : Booting From hard Disk... Invalid partition Invalid partition No /boot/loader FreeBSD/i386/Boot Default: 0:ad(0,a)/boot/kernel/kernel boot : If i enter : boot : 0:ad(0,d) it's ok and then : Manual Root Filesystem Specification : Mountroot ufs:/dev/ad0s1d and it's finaly boot. [r...@vbsdio ~]# cat /etc/fstab # Device Mountpoint FStypeOptionsDump Pass# /dev/ad0s1b none swap sw0 0 /dev/ad0s1d / ufs rw1 1 /dev/ad0s1g /local ufs rw2 2 /dev/ad0s1e /usr ufs rw2 2 /dev/ad0s1f /var ufs rw2 2 /dev/acd0/cdrom cd9660ro,noauto 0 0 linproc /compat/linux/proc linprocfs rw0 0 [r...@vbsdio ~]# I need to change my master boot device or anything else. But don't know what to do exactly. Thanks. -- Michel ___ 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 Shouldn't the root fs be on the a partition? ___ 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: Supressing dd output
Noel Jones wrote: On Wed, Dec 23, 2009 at 10:19 PM, Rolf Nielsen listrea...@lazlarlyricon.com wrote: Hello everyone, I'm wondering if there's a way to supress the summary output from dd. I'm working on a backup script, that encrypts the backups, and after encrypting overwrites the unencrypted file several times using dd. I've tried to redirect the output with 21 /dev/null but it doesn't work. Since I run the script from the daily_local variable in periodic.conf, and the script backs up 11 filsystems (ZFS) to separate files, the mail from periodic daily gets ridiculously long, and most of it being dd summaries. I guess I could hack the source code of dd, but I'd prefer not to have to. Has anyone got any ideas? Thanks in advance and Merry Christmas to all of you, Rolf Nielsen Order matters. dd ... /dev/null 21 -- Noel Jones Thanks Noel. I've never considered using that order before. Probably because first time I saw that construct and had it explained to me, it was ordered the way I had it, and I very rarely have any use for it, so I haven't really noticed that my way was wrong; I usually only redirect stdout if anything at all. Anyway, now it works like a charm. Thanks. :) Rolf Nielsen ___ 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: Nvidia amd64 driver (WAS: Root exploit for FreeBSD )
Mario Lobo wrote: On Saturday 12 December 2009 22:44:54 Rolf G Nielsen wrote: Mario Lobo wrote: On Saturday 12 December 2009 21:23:00 Rolf Nielsen wrote: Where's that? The Nvidia site says nothing about it yet, and the makefile for x11/nvidia-driver still says ONLY_FOR_ARCHS=i386. I'm eagerly waiting for it, but I can't find anything other than a forum post (I don't have the address handy at this computer, but I know it's somewhere in the mailing list archive) from Zander at Nvidia corporation saying it's on its way. http://www.nvnews.net/vbulletin/showthread.php?t=142120 Thanks Mario and George. Just installed it and rebooted now. :D You're welcome Rolf! The driver DOES rock, doesn't it? How is it working for you? any instabilities? I am having some issues with virtualbox and KDE4. KDE has 2 options for composite: OpenGL and xRender I have composite enabled with openGl. If any vbox guest (winedows actually) has 3d acceleration enabled, the host freezes completely. only the reset button works ! I have to completely disable 3d accel on the Win guests. But if composite is done with Xrender, the 3d accel on the guests doesn't freeze the host, but I loose a lot of performance, smoothness and most of the desktop effects on KDE. I followed the advice on http://www.nvnews.net/vbulletin/showthread.php?t=58498 to enable HPET and that seemed to improve things on this issue but I still have to keep 3d disabled Other than that, EVERYTHING else works perfectly. nVidia is much superior than my onboard radeon HD 3300, which I unceremoniously dumped for a GeForce 9800 GT. I haven't tested it out that extensively yet. I tried installing games/quake2lnx, and it installs fine, but I get no graphics at all, just a black window, but since I haven't tried it on amd64 before, it might be that it doesn't work well on 64 bit. But since I'm not really a gamer, I don't worry much about it, though it would be fun to get it running. I'm running Windowmaker as my window manager, and it doesn't make use of any OpenGL AFAIK. So basically all I've tested is that xv works for playing video with mplayer and running OpenGL xscreensaver hacks. Both seem to work flawlessly. Compiling the driver was a bit of a hassle, since it depends on Linux compatibilty by default, and I haven't got that enabled. And since I've enabled MODULES_OVERRIDE in my kernel config to include only those modules I actually use, nvidia.ko couldn't find linux.ko. I solved it by commenting out a #define line in nv-freebsd.h. ___ 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: Root exploit for FreeBSD
Mario Lobo wrote: On Saturday 12 December 2009 21:23:00 Rolf Nielsen wrote: Where's that? The Nvidia site says nothing about it yet, and the makefile for x11/nvidia-driver still says ONLY_FOR_ARCHS=i386. I'm eagerly waiting for it, but I can't find anything other than a forum post (I don't have the address handy at this computer, but I know it's somewhere in the mailing list archive) from Zander at Nvidia corporation saying it's on its way. http://www.nvnews.net/vbulletin/showthread.php?t=142120 Thanks Mario and George. Just installed it and rebooted now. :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: make delete-old question
Frank Shute wrote: Hi, Successfully upgraded from 7.2 to 8.0 but had my usual problem when jumping major versions with the make delete-old target. The problem being that it asks me to confirm deletion of each lib/file with a y and a return. I've found that I never say n to any deletion and it becomes very tedious to hammer at the keyboard for hundreds of libs/files. Is there a way to change the Makefile so that they all get deleted with just one y and a return? Or possibly use yes(1) to script it? TIA. Regards, yes | make delete-old ___ 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: 8.0-RELEASE and dangerously dedicated disks
Polytropon wrote: On Wed, 2 Dec 2009 13:09:22 -0500, Jerry McAllister jerr...@msu.edu wrote: Good. Except that in FreeBSD land you are talking about a slice table. To carry things forward consistently, the partition table is within a slice and describes FreeBSD partitions a..h (and more now I guess). Only in MS or Lunix land should primary divisions be called partitions and then they are _primary_ partitions. To be most precise, they are called DOS primary partitions. As far as I know, the need for them has been massively by MICROS~1 operating systems (DOS, Windows). That what FreeBSD calls partitions are subdivions of slices. A partition holds a file system (each), while a slice holds partitions. Those partitions could be compared to what MICROS~1 calls logical volumes inside a DOS extended partition, allthoug that's just a *comparison* and not an exact equivalent. But, even some of the fdisk and other documentation still mucks this up and occasionally refers to slices as partitions. Maybe we can come up with some new terminology like 'blobs' and 'dollops' to get away from the problem. Borrow some artificially created fantasy words from modern KDE or Gnome application development? :-) An idea that follows your inspiration could be: (old) slice = (new) primary partition eq. DOS primary partition (old) partition = (new) secondary partition, alt. (new) subpartition comp. logical volumes inside a DOS extended partition But it would help to get at least FreeBSD's documentation consistent, even if it uses the non-MICROS~1 names for things (which is very fine for me). Note that the limitation to 4 slices per disk - we remember that we are talking about DOS primary partitions here - is grounded in the fact that MICROS~1 stuff doesn't seem to be able to handle more than 4, a legacy restriction from the past. I've not yet tested if it's possible to create e. g. ad0s1, ad0s2, ad0s3, ad0s4 and ad0s5 with FreeBSD, but it should be possible. (Because multi-booting PCs respectively their operating systems eat up primary partitions like coockies, often people complain that they can't install FreeBSD because it requires a primary partition as well. Mostly, people don't have 4 OSes on their disks, but the one or two they often have (e. g. a Linux and a Windows) have already occupied adX0..adX3.) Hi all, Out of curiousity, I just tested to bsdlabel a disk I had lying around. In dangerously dedicated mode. No problem at all. I newfs'd it and mounted it. Also no problem. I haven't tried to boot from it though, but I may do that later, when I have nothing running that can't be halted. I did config -x /boot/kernel/kernel and I noticed that GEOM_PART_BSD was there, though I'm absolutely certain I haven't included it, and if I understand correctly, it shouldn't be there unless explicitly included? I'm running 8.0-RELEASE-p1 amd64 with a custom kernel config. However the kernel config file was more or less copied from 7.2, with just a little tweaking. I guess I should create a new one, using sys/conf/NOTES and sys/amd64/conf/NOTES as guidelines and sys/amd64/conf/GENERIC as template, but I haven't gotten around to that yet. Anyway, is GEOM_PART_BSD supposed to be there (I just checked, and noticed it's in sys/amd64/conf/DEFAULTS) or can I safely remove it? And will it, considering I migrated to gpt and zfs, be meaningful to remove it (e.g. will it make the kernel smaller or have any positive impact on zfs performance)? And should DD disks work except to boot from, or shouldn't they work at all? Sincerely, Rolf Nielsen ___ 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: bash script question
Dánielisz László wrote: I just find out: #!/usr/local/bin/bash export IFS= cuc=$* mkdir cuc Thanks anyway! László From: Dánielisz László laszlo_daniel...@yahoo.com To: freebsd-questions@freebsd.org Sent: Tue, December 1, 2009 8:37:04 PM Subject: bash script question Hello, I'd like to ask how can I read a variable in the same line when I launch a script? For example ./script.sh directory_name, and I want the script to creat the directory called directory_name or whatever I input there. Thank you! László ___ 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 Why are you using bash? To make a shell script as portable as possible, use /bin/sh. Bash is a third party shell, that isn't included in a base installation (you're not using bash as root's shell, are you?). By using /bin/sh, you make sure the script will run without having to install any ports. Try this instead (check the Special parameters section in the sh(1) man page to get the difference between $* and $@ and an explanation as to why I quote the $@). #!/bin/sh mkdir $@ Cheers, Rolf Nielsen ___ 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: bash script question
Gary Kline wrote: On Tue, Dec 01, 2009 at 10:42:10PM +0100, Polytropon wrote: On Tue, 01 Dec 2009 21:06:34 +0100, Rolf G Nielsen laz...@lazlarlyricon.com wrote: Why are you using bash? To make a shell script as portable as possible, use /bin/sh. Bash is a third party shell, that isn't included in a base installation (you're not using bash as root's shell, are you?). By using /bin/sh, you make sure the script will run without having to install any ports. That's a very good advice. Using sh is strongly recommended for maximal portability. Use sh if you're not requiring features that are bash-only. Hi guys, Here's a bash-related question, kind-of. Is there any way to automagically run my .csrhc thru a script and wind up with a bash script? gary -- Polytropon 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 If by Is there any way you mean is it possible, the answer would have to be yes. The next question is most likely has anyone written such a script? and to that question, someone else will have to provide the answer. Rolf Nielsen ___ 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: 7.2-STABLE to 8-R
John wrote: On Tue, Nov 24, 2009 at 05:25:42PM +0100, Pieter de Goeje wrote: On Tuesday 24 November 2009 16:45:14 John wrote: Hello list I've looked high and low for a howto/link showing how to update to 8, to no avail. Is it just a case of the regular buildworld process or are there gotchas because we are crossing major version numbers. You got it right. Just the regular upgrade procedure as documented in /usr/src/UPDATING. The gotcha is that you need to rebuild all ports. If you don't do that you can run in to trouble when you later build a port. I found that usually it is fastest to just take note of which ports you need, delete all existing ports, then after the upgrade reinstall the required ports. Thanks, that's a relief! I looked at the url the other chap posted and it seems to be the same thing although he uses a slightly different syntax and I think he is talking about upgrading in a datacentre, remotely. cheers Just another note or two. If you decide to recompile the ports using portupgrade, portmaster or a similar tool, rather than, as Pieter suggested, deleting them and re-installing, make sure your ports are up to date before upgrading the system. That way you are less likely to run into problems when recompiling them after upgrading. After running mergemaster, do a make delete-old to remove any 7.2 binaries remaining (libraries still in use won't be deleted). I usually do this while still in single user, but I believe it can be done in multi user as well. After upgrading the ports, cd to /usr/src and do a make delete-old-libs. If you upgrade them using portupgrade, portmaster or a similar tool, do the delete-old-libs AFTER all ports are successfully upgraded. The reason for this is that the ports you have installed are still linked to the 7.2 libraries. If you decide to delete all ports, delete them before upgrading the system, then do the delete-old and delete-old-libs before installing any new ports. I usually delete all ports and re-install the essential ones after upgrading, but I've tried the portupgrade approach too, and both have worked well for me. The latter approach is more time consuming, but ensures you have all your ports after the upgrade, while the former approach takes less time and may help get rid of ports you no longer need. Good luck. :) Rolf Nielsen ___ 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: 7.2-STABLE to 8-R
Charlie Kester wrote: On Tue 24 Nov 2009 at 13:09:48 PST Roland Smith wrote: On Tue, Nov 24, 2009 at 05:40:25PM +, John wrote: Regarding ports, I think I'll take the long route. This box is my main machine, my desktop - and so there are a LOT of ports installed. It will be easier to make portmanager rebuild everything in pristine mode. It will take a long time, but I accept this. Before this is done, I run the built-in routines in /usr/ports - clean out */work/* and distfiles. I would _strongly_ advise you to make a list of all your current ports, e.g. with 'portmaster -L ports.list', deleting all ports and re-installing the ports labeled as 'leaf ports' and 'root ports' in ports.list. While portmaster/-manager do their best, they just cannot cover all the corner cases, especially since some ports require extra action (e.g. perl!) There is a good chance you'll end up with a big mess like binaries linked to both 7.x and 8.x libraries or ports failing to build for mysterious reasons. Both have happened to me in the past and are a major PITA to fix. I've done the complete delete/reinstall run a couple of times now on my desktop with ???490 ports installed. Can someone remind me once again, when rebuilding all of my ports, what is the trick for avoiding the options dialogs? I'd like to have this run largely unattended. I seem to recall someone describing a method to go through all of them upfront, rather than having the build process interrupted each time a port wants that input. I know that portupgrade has a batch build option, but unless I'm mistaken, that skips any ports that need interaction to build. ___ 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 With portupgrade give -C to run make make config or -c to run make config-conditional for all tasks before everything else. To skip the config dialogs altogether, specify -DBATCH on the make commandline (-m -DBATCH or -M -DBATCH to portupgrade to append or prepend the -DBATCH to the make commandline). Cheers, Rolf Nielsen ___ 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
PAM and xdm woes
Hi, Every time I start xdm I get the following message on ttyv0, xdm: pam_sm_close_session(): no utmp record for :0 Everything seems to work just fine. I can log in, and everything runs as expected, so it's basically just an annoyance, especially since I don't know whether I should be concerned about security. The only things I've changed from the default xdm config are the size and position of the xconsole window xdm launches and the background (instead of the standard vanilla one, I run an xscreensaver hack), and those are changes I've had for about 10 years without any problems. This error message started showing up quite recently. I believe it happened when upgrading to 8.0, but I'm not sure exactly at what point. I've been running 8.0 since BETA1 and I'm now on RC1, and the message, I believe, started appearing some time at or after upgrading from 7.2-RELEASE-p? to 8.0-BETA1. I've run amd64 for about 2 years, but last week I moved back to i386, because I got tired of waiting for a decent 64 bit nVidia driver. The message has been there in the amd64 version and is still there after moving back to i386, so no change there. I've not changed anything in the PAM configuration; I simply don't know how. So, my questions are: 1. Should I be concerned about it? 2. How do I fix it? If you need any more info, please let me know. I'll be happy to post any config files, e.g. xorg.conf or my KERNCONF file (perhaps I've missed something important in the kernel?) Any help appreciated. Sincerely, Rolf Nielsen ___ 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: Voting for a native i386/amd64 flash player
Leandro F Silva wrote: Hey guys, Let's vote to have a native i386 / amd64 flash player \o/ .. We just have to create an account and voting on the link below =D http://bugs.adobe.com/jira/browse/FP-1060 ___ 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 Where do I vote to have them continue forever not creating a FreeBSD version of that crap? -- Rolf Nielsen ___ 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: Wake up time
Roland Smith wrote: On Mon, Sep 21, 2009 at 10:06:28PM +0200, Anselm Strauss wrote: Hi, anybody knows if it's possible to set BIOS wake up time in FreeBSD. I have a machine I would like to regularly shutdown and wake up at different times depending the on the day of week. The easy and cheap way to accomplish something like that is to put a timer between the machine's power supply and the power outlet, and use a script started at boot to switch the machine off in a controlled fashion after a specified time before the timer runs out. The only inflexibility in this scheme is that timers usually require a time to switch on and a time to switch off. So if you need the time that the machine is awake variable, it won't be as easy. Roland There are such timers, that run over a week rather than just 24 hours, and they can have different times each day. -- Rolf Nielsen ___ 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: please help to uninstall FreeBSD!!!
Raisa Brokhshtut wrote: Hello, My old desktop has FreeBSD that I have never used. One of the friends of my son installed it long ago, but no one used that PC since then. Now I want to get rid of this program and to install Windows. Every time when I boot this PC it prompts for a user login which I don't know. This guy who intalled FreeBSD is not around anymore. Anyway, I would greatly appreciate if you would guide me how to uninstall that program. I don't have windows reskue cd. So I want to completly remove that FreeBSD from my PC and to install the Windows operating system from CD. Thank you Raisa ___ 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 Insert the Windoze install CD and boot off it. When prompted, create an NTFS or a FAT slice covering the whole drive. -- Rolf Nielsen ___ 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: rm -rf and fat fingers
Jimmie James wrote: So here I was, half asleep, removing some old directories as root, and here's what I did...sitting in /home/jimmie after su jim...@jimmiejaz 101 [0] /home/jimmie#rm -rf cd /usr/local/lib (note the space, the PWD is home/jimmie/) Now, a lot of libs went missing from /usr/local/lib. With libchk, last locatedb I've been able to reinstall most of the libs. My ~/ *seems* unaffected, but I'm worried about that, I don't notice anything missing, but I could be wrong. What I'm thinking is the rm -rf found no 'cd' and moved to wipe out /usr/local/lib Would this be a correct assumption? And yes, I sat in the stupid corner with the dunce hat on. Hi Jimmie, Out of curiousity, what were you trying to do when you issued that command? And this reminds me of an equally stupid thing I did a few years ago. I had a directories named share on three different partitions. These were for files that I and my then current gf shared. At one point I wanted to clean them all out, and issued this command: find -s / -type d -name share -exec rm -Rd {}/* \; -exec rm -Rd {}/.* \; Fortunately I had backups. And after that I renamed those share directories to something else. And yes, I too sat in the stupid corner. -- Rolf Nielsen ___ 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: my kernel is not build/install
Кирилл А. Фомин wrote: Здравствуйте, Rolf. In my first mail i attach my config file. Latest i attach full console output. Вы писали 26 июня 2009 г., 23:35:14: Brent Bloxam wrote: fo...@pisem.net wrote: When I make my kernel (make kernel KERNCONF=KERNEL) it stop whith Error code 1 According to Chapter 8.5 of the handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html): 1. Change to the /usr/src directory: # cd /usr/src 2. Compile the kernel: # make buildkernel KERNCONF=MYKERNEL 3. Install the new kernel: # make installkernel KERNCONF=MYKERNEL You need to use `make buildkernel`, not `make kernel` ___ 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 According to the makefile, make kernel does make buildkernel + make installkernel, so that shouldn't be the problem. Your question is very vague. Could you please attach the complete output (or at least the last portion of it, e.g. 10-15 lines or so). First, please do not reply to me only. Put the list on CC, in case somebody else has some insight on the matter. I looked at the kernel config file, but it is pretty difficult to see what is wrong, without either knowing all the options by heart or comparing it to the NOTES files. Moreover, I am sorry, but I cannot find the console output that you say you attached. Either I am blind or it got stripped somewhere on the way. -- Rolf Nielsen ___ 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: my kernel is not build/install
Brent Bloxam wrote: fo...@pisem.net wrote: When I make my kernel (make kernel KERNCONF=KERNEL) it stop whith Error code 1 According to Chapter 8.5 of the handbook (http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-building.html): 1. Change to the /usr/src directory: # cd /usr/src 2. Compile the kernel: # make buildkernel KERNCONF=MYKERNEL 3. Install the new kernel: # make installkernel KERNCONF=MYKERNEL You need to use `make buildkernel`, not `make kernel` ___ 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 According to the makefile, make kernel does make buildkernel + make installkernel, so that shouldn't be the problem. Your question is very vague. Could you please attach the complete output (or at least the last portion of it, e.g. 10-15 lines or so). -- Rolf Nielsen ___ 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: Compiling in sound driver in kernel
Bernt Hansson wrote: Polytropon said the following on 2009-06-12 12:54: On Fri, 12 Jun 2009 04:45:59 +0200, Bernt Hansson be...@bah.homeip.net wrote: Mel Flynn said the following on 2009-06-12 01:23: FreeBSD 7.2-STABLE #0: Thu Jun 11 21:56:24 CEST 2009 r...@fqdn:/usr/obj/usr/src/sys/GENERIC ^^^ Did you edit GENERIC Yes. Added sound and snd_hda Polite note: This is NOT the way to create a custom kernel. The handbook mentions that it's advised to create a copy of GENERIC and work with that. That's what i've done. or did you forget to set KERNCONF during build/installkernel? No. cd /usr/src make buildkernel KERNCONF=GENERIC make installkernel KERNCONF=GENERIC reboot is what I did. No snd_hda If you copied GENERIC to another file and edited that file, then compiled and installed GENERIC, you're obviously not going to get the added drivers. You'll need to replace GENERIC with the name of the file you edited in the KERNCONF variable. It looks understandable (allthough not mentioned in the handbook). Just to be sure, try the recommended approach. If you're not using KERNCONF, GENERIC will be selected automatically. # cd /usr/src/sys/i386/conf # cp GENERIC MYKERNEL (or use any other descriptive name instead of MYKERNEL). edit MYKERNEL and add device sound device snd_hda That's what i added. # cd /usr/src # make buildkernel KERNCONF=MYKERNEL # make installkernel KERNCONF=MYKERNEL # reboot Check /etc/make.conf and /etc/src.conf for any strange values that may be a reason for our strange observations. ___ 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 -- Vänligen / Sincerly, Rolf Nielsen P.S. Om du svarar på detta mail, placera svaret nedanför den tidigare texten, annars kommer ditt svar automatiskt att kasseras, och därför inte bli läst. Svaret kommer också att kasseras automatiskt, och alltså inte bli läst, om det innehåller HTML; skicka alltid e-post som oformaterad text. If you reply to this mail, please put the reply beneath the older text. Otherwise your reply will be automatically discarded, thus it will not be read. Your reply will also be discarded if it contains HTML; always send e-mail as plain text. ___ 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: Modern FreeBSD Installer?
Polytropon wrote: ... There is NO thing that works for everyone, a one size fits all egg-laying wool milk sow; in Germany, we call this eierlegende Wollmilchsau, a device (or system) that does everything under any circumstances, for everyone. People are different, that's why there are many ways to go for them to choose from. In the past, I chose DOS for some things, OS/ES for others, and later on, Linux; today, FreeBSD is my choice. I can't tell what I will use in the future, because I don't know my requirements of tomorrow. Things may change. FreeBSD is an operating system that has so much potential, and can be used in many different fields of work (and play, and entertainment, and learning). One of the reasons it's so versatile is the fact that it runs on minimum conditions, still offering the whole power. You run the same OS on a 150 MHz P1 as you run on a 5 million GHz Uber-server. THAT is modern. :-) Well said. As I've come to expect from Polyptron. And by that, I hope this godforsaken discussion has come to an end. As there's no such thing as an eierlegende Wollmilchsau, there will always be people who object, no matter how things are done, and I cannot see the point in continuing this any further. -- Rolf Nielsen ___ 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: Modern FreeBSD Installer?
Glen Barber wrote: On Sun, Apr 26, 2009 at 7:01 AM, Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: software installation CPU/RAM needs), run the dialog(3) interface. If it's a fast 686, default to a X environment. nonsense. please stop this stupid discussion at all. just use linux or windows (maybe PC-BSD) if it's important for you. This discussion is not about Linux or Windows. It is about a graphical installer. If you are not going to contribute anything useful to the discussion, close your email client. And why is a graphical installer needed or even wanted? As several people, including, I believe, Wojciech, pointed out, it would just make the installation process slower without adding anything useful to functionality. Concentrate on function and flexibility instead of eye candy. And I tend to agree with Polyptron about language. I have several friends who wouldn't dream of using a system that's English only. Simply because they do not understand it well enough. -- Rolf Nielsen ___ 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: Is KDE4 usable on FreeBSD?
Yuri wrote: Wojciech Puchar wrote: it's SLOW and resource hungry - giving nothing else than a good look. that's why i compare it to windoze. and why you need desktop (whatever it means) at all? You need desktop for Unix (Linux) to be adopted by simple users. Also GUI makes life much easier even for advanced users. I don't want to deal command lines/config files for mundane things like finding and setting up wireless networks, playing CDs/DVDs, etc. GUI integrated with desktop would make this much less time consuming. If I need to (re)configure the behaviour of som app or part of the system, I edit the appropriate config file, which takes about a minute or two... If a user of some fancy desktop with lots of whistles and bells wants to do the same, he/she has to browse through an extensive hierarchy of categories and subcategories to get to the setting he/she wants to change. That hierarchy is more than often far from intuitive, so that very same task may take ten minutes or more. In what way is the latter easier than the first? I see none... just window manager is enough, try fvwm2 maybe icewm maybe other etc. not really enough. Unfortunately open source is pretty much a failure when it comes to GUI and desktop. Any kind of GUI, look at ddd for example. Untested development-stage software (like kde4) is being released to the public for some reason. Yuri ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] -- Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Problem with firefox3
Albert Shih wrote: Hi all I've some problem with firefox3, I would like to known if it's me or they are other user to have same problem. Sometime when I want to some website (very classic site) I loose every images, other time I've got something unreadable. Anyone have this kind of problem ? All my ports is up2date. Regards. I experienced the same problems. Mainly with sites using frames, but occasionally with non-framed sites too. I got tired of it, and downgraded to firefox 2. Perhaps there is some tweak that fixes it, but I tried changing every setting without luck. So, I'd bet my money on firefox 2 for the time being. -- Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 486 Install??
Thomas F Simpson Jr wrote: I have a 486 DEEP GREEN system I would like to put some version of FreeBSD on (I have my reasons). I have other inquiries out on this, but if I correctly recall (and that is a real rusty recall at best), the max memory you could get on one of these beasts was 48MB, unless they made some bigger, recognizable, 72-pin modules. I have 8 MB of hard drive space free for a FreeBSD partition and I am actually running an Intel P24T Overdrive for my CPU. All work fine on the DOS 6.2.2 partition I need to run. Would any version of FreeBSD work with just 48MB of RAM? Or do I need to figure out a way to get more RAM on the board, IF POSSIBLE? Thanks. Tom Simpson Omaha, NE [EMAIL PROTECTED] 402.896.1157 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I'll have to admit to being curious. Why? (And I'm sorry, but I can't help you. Hope someone else can.) -- Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Logitech G9 mouse and FreeBSD 7
Nickolay D. Hodyunya wrote: Hi everyone. I'm using Logitech G9 mouse with my freebsd 7.0 box. The problem is that my mouse don't response after I click on additional buttons. The cursor stop moving in both system console and xorg session. I've had the same problem with my G5. When I disabled moused it went away. Edit /etc/devd.conf and search for ums, then comment out (or delete) the entire section. Then edit xorg.conf, go to the mouse section and change the Device to /dev/ums0 and Protocol to auto. Moreover, you may need to put a line that modifies the button numbers of the mouse (xmodmap -e does that) in your .xsession or .xinitrc. (...) -- Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RFC: Article on implementing UFS journaling on desktop PCs
Gabor Kovesdan wrote: Manolis Kiagias escribió: I have just completed an article (mostly how-to) for implementing UFS journaling on a typical desktop PC: http://store.itsyourftp.com/~sonic2000gr/freebsd/gjournal-desktop/article.html It focuses on detailing an easy to follow, repeatable procedure, to install FreeBSD on a typical PC and enable journaling on /usr and possibly /var. I am using this same procedure on my systems. I welcome all feedback, please send me any comments, suggestions and corrections. Nice work like the other one! I won't have time till Monday, but I'd be more then happy to review and commit this article if you can send me the sources. Regards, Gábor Kövesdán ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] The man page for gjournal does not say what unit to use when specifying the journal size with the -s option. Sectors? GB? Anything else? Or is there a default (say sectors) that can be changed by using a suffix, like -s 10G? -- Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: RFC: Article on implementing UFS journaling on desktop PCs
Manolis Kiagias wrote: Rolf G Nielsen wrote: Gabor Kovesdan wrote: Manolis Kiagias escribió: I have just completed an article (mostly how-to) for implementing UFS journaling on a typical desktop PC: http://store.itsyourftp.com/~sonic2000gr/freebsd/gjournal-desktop/article.html It focuses on detailing an easy to follow, repeatable procedure, to install FreeBSD on a typical PC and enable journaling on /usr and possibly /var. I am using this same procedure on my systems. I welcome all feedback, please send me any comments, suggestions and corrections. Nice work like the other one! I won't have time till Monday, but I'd be more then happy to review and commit this article if you can send me the sources. Regards, Gábor Kövesdán ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] The man page for gjournal does not say what unit to use when specifying the journal size with the -s option. Sectors? GB? Anything else? Or is there a default (say sectors) that can be changed by using a suffix, like -s 10G? You are right, although it does say the default is 1Gb. However the jsize option is only available when both data journal are stored on the same provider, and the article does not deal with this, as it uses separate providers for data and journal. I could give this a try on my virtual setup and see what kind of unit is used. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I'm considering using such a setup. And if I decide to give it a go, I'll have to backup, boot from a custom CD I made, make the changes to the disks and restore the backup. Considering that, trying out what unit is used, should only take a fraction of the total time, and it doesn't really scare me to try it. :) I realize my question went to the wrong person, but I simply replied to the mail. My apologies. -- Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Cannot get Script to Run Via Crontab
Christian Walther wrote: Hi, On 16/12/2007, David Goodnature [EMAIL PROTECTED] wrote: [...] The cron message to mail/root ends with: exec: ps2pdf12: not found I am assuming that cron cannot find a path or a config file for ghostscript, but I don't have any idea how to fix this problem. Any help would be appreciated. When calling scripts from cron you only have a very minimal PATH, something that is /bin:/usr/bin. You have two options: Create a Path in Script yourself, and make sure that this is really passed over to the Environment your commands are executed in. Another option is to exec commands with their full qualified pathname. In this case you don't have to care wether or not the path is set up properly. HTH Christian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] It's also possible to define a PATH variable (and other environment variables too, for that matter) in the crontable. Put them at the top of the file, above the actual table. -- Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
xdm woes
Hi, I recently purchased a new computer (well, purchased the components and put them together). The hardware is ASUS P5B Premium, nVIDIA GeForce 8600 GT, 2-channel JMicron JMB 363 PCIe card, Intel Core2 Quad Q6600, six Samsung HD501LJ CR100-10 HDDs striped using gstripe (used for storage), one Samsung SP1614C SW100-30 HDD used as system disk (/, /usr, /var and /home). I'm running 7.0-BETA3 and Xorg 7.3, with the nv driver that comes with Xorg (nVIDIA's own driver refuses to compile with the message that 7.0 -CURRENT aren't supported. Now for my problem. Everything works like a charm, except for one small annoyance. If I run xdm, everything hangs when I log out. The monitor just turns black and i get no response whatsoever for neither the mouse nor the keyboard. The only thing that works is shutting the computer off (by quickly pushing aqnd releasing the power button, so the OS shuts down using ACPI). This happens every time. No matter what window manager I use. But it only happens when I use xdm. If I start X with startx, it shuts down cleanly and returns to the tty from which I ran startx. The only clue I've been able to find about this is in /var/log/xdm.log (which I'm enclosing). I'd be happy to share my xorg.conf and Xorg.0.log files as well (and any other files that might help solving this too for that matter), but because of their sizes I'll only do that on request. I haven't touched any of the X and xdm resource files excpet xorg.conf. my /var/log/xdm.log looks like this (the last line confuses me): X.Org X Server 1.4.0 Release Date: 5 September 2007 X Protocol Version 11, Revision 0 Build Operating System: FreeBSD 7.0-BETA3 i386 Current Operating System: FreeBSD trapper.homedns.org 7.0-BETA3 FreeBSD 7.0-BETA3 #0: Sun Nov 18 02:13:50 CET 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/LAZLAR i386 Build Date: 20 November 2007 05:09:57PM Before reporting problems, check http://wiki.x.org to make sure that you have the latest version. Module Loader present Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown. (==) Log file: /var/log/Xorg.0.log, Time: Tue Nov 20 17:20:57 2007 (==) Using config file: /etc/X11/xorg.conf (II) Module i2c already built-in (II) Module ddc already built-in (II) Module ramdac already built-in The XKEYBOARD keymap compiler (xkbcomp) reports: Warning: Type ONE_LEVEL has 1 levels, but RALT has 2 symbols Ignoring extra symbols Errors from xkbcomp are not fatal to the X server stdin:30:1: error: unterminated #if The XKEYBOARD keymap compiler (xkbcomp) reports: Warning: Duplicate shape name Using last definition Warning: Duplicate shape name Using last definition Warning: Duplicate shape name Using last definition Warning: Duplicate shape name Using last definition Warning: Duplicate shape name Using last definition Warning: Duplicate shape name Using last definition Warning: Duplicate shape name Using last definition Warning: Duplicate shape name Using last definition Warning: Duplicate shape name Using last definition Warning: Duplicate shape name Using last definition Warning: Duplicate shape name Using last definition Warning: Duplicate shape name Using last definition Warning: Duplicate shape name Using last definition Warning: Duplicate shape name Using last definition Warning: Multiple doodads named Using first definition Warning: Multiple doodads named Using first definition Warning: Multiple doodads named Using first definition Warning: Multiple doodads named Using first definition Warning: Multiple doodads named Using first definition Warning: Multiple doodads named Using first definition Errors from xkbcomp are not fatal to the X server xdm info (pid 900): Rescanning both config and servers files xdm error (pid 900): Display :0 is being disabled -- Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: xdm woes
Wojciech Puchar wrote: pushing aqnd releasing the power button, so the OS shuts down using ACPI). This happens every time. No matter what window manager I use. But it only happens when I use xdm. If I start X with startx, it shuts down cleanly and returns to the tty from which I ran startx. how you start xdm? from ttys or manually? strange - anyway I've started it from ttys a few times, but I gave up after a few days. Since then I've tried starting it manually (both with and without the -nodaemon option) every time I've upgraded something related to either the system or X. Last time a few hours ago, just before I wrote my original mail about this, after upgrading xorg-server from 1.4_2,1 to 1.4_3,1. -- Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Congratulations
Federico Lorenzi wrote: On Nov 7, 2007 4:20 PM, Chris [EMAIL PROTECTED] wrote: On Wed, 7 Nov 2007 16:11:52 + (UTC) James Brown [EMAIL PROTECTED] wrote: Message-Id: [EMAIL PROTECTED] Date: Tue, 6 Nov 2007 22:15:50 +0100 (CET) UK NATIONAL e-LOTTERY, ONLINE NOTIFICATION UNIT, HOME OFFICE: 105 FULHAM PALACE RD., W6 8JB, UNITED KINGDOM. REFERENCE NUMBER: NL/096627/33 BATCH NUMBER: 21/506/NLT33 TICKET NUMBER: 04/050612/2029 CASH PRIZE: 715,000 GBP Congratulations, This email serves as a notification that you emerged a winner on our online draws of 2nd November, 2007 in London, United Kingdom. To file for claims, do contact your assigned fiduciary agent with the contact details below providing your Name(s#41; and Reference Number(NL/096627/33#41;: Name: James Brown E-mail:[EMAIL PROTECTED] Tel.: +44 702 406 8940 Once again, congratulations. Yours truly, Sir Earl S. Smith Group Co-ordinator. ... Does that mean I have to share the winnings with everyone on the list?! What?? Don't steal my offer, I replied to him first! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] LOL -- Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: defend from - :() { ::; } ;:
Danielisz Laszlo wrote: Please do not try to execute this: :() { ::; } ;: on your BSD machine. I ask all who already tried it how to defend from this? __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] What does it do? -- Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
PAM issues in -CURRENT
I just installed 7.0-CURRENT (after someone said on this list that it's very stable and there are very few bugs left). So far it seems to work fine, but there's one thing that bothers me. I repeatedly get the following messages in the console: in openpam_dispatch(): pam_nologin.so: no pam_sm_authenticate() in openpam_dispatch(): pam_nologin.so: no pam_sm_setcred() One of those, or sometimes both, appear every time someone logs in, and since I use fetchmail to get mail from several accounts and deliver them locally, and then a local POP3 server from which my mail clients gets the mail, the logins, and thus the warning/error messages, are quite frequent. Now for my actual questions: 1. How severe are those messages? Should I assume that there are security holes? 2. How do I get rid of the messages? No matter how severe they are, I do NOT want them filling up the console. So how could I correct the problem? 2a. Why do those messages appear at all? Could I have done something wrong when building and installing world and/or kernel? -- Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PAM issues in -CURRENT
Mel wrote: On Saturday 01 September 2007 10:54:58 Rolf G Nielsen wrote: I just installed 7.0-CURRENT (after someone said on this list that it's very stable and there are very few bugs left). So far it seems to work fine, but there's one thing that bothers me. I repeatedly get the following messages in the console: in openpam_dispatch(): pam_nologin.so: no pam_sm_authenticate() in openpam_dispatch(): pam_nologin.so: no pam_sm_setcred() One of those, or sometimes both, appear every time someone logs in, and since I use fetchmail to get mail from several accounts and deliver them locally, and then a local POP3 server from which my mail clients gets the mail, the logins, and thus the warning/error messages, are quite frequent. Now for my actual questions: 1. How severe are those messages? Should I assume that there are security holes? Don't think so. I think you didn't recompile PAM-aware software (like fetchmail and qpopper) so PAM warns you they didn't call the proper functions. 2. How do I get rid of the messages? No matter how severe they are, I do NOT want them filling up the console. So how could I correct the problem? Silence it by altering auth.notice to auth.none on the /dev/console line in /etc/syslog.conf and then restart syslogd (/etc/rc.d/syslogd restart). 2a. Why do those messages appear at all? Could I have done something wrong when building and installing world and/or kernel? I think it's mostly the port software. Sshd for instance shouldn't generate this problem. It does it for EVERY login. Also with xdm and login. And I did forcibly recompiled ALL ports. -- Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PAM issues in -CURRENT (supplement)
Mel wrote: On Saturday 01 September 2007 10:54:58 Rolf G Nielsen wrote: I just installed 7.0-CURRENT (after someone said on this list that it's very stable and there are very few bugs left). So far it seems to work fine, but there's one thing that bothers me. I repeatedly get the following messages in the console: in openpam_dispatch(): pam_nologin.so: no pam_sm_authenticate() in openpam_dispatch(): pam_nologin.so: no pam_sm_setcred() One of those, or sometimes both, appear every time someone logs in, and since I use fetchmail to get mail from several accounts and deliver them locally, and then a local POP3 server from which my mail clients gets the mail, the logins, and thus the warning/error messages, are quite frequent. Now for my actual questions: 1. How severe are those messages? Should I assume that there are security holes? Don't think so. I think you didn't recompile PAM-aware software (like fetchmail and qpopper) so PAM warns you they didn't call the proper functions. 2. How do I get rid of the messages? No matter how severe they are, I do NOT want them filling up the console. So how could I correct the problem? Silence it by altering auth.notice to auth.none on the /dev/console line in /etc/syslog.conf and then restart syslogd (/etc/rc.d/syslogd restart). 2a. Why do those messages appear at all? Could I have done something wrong when building and installing world and/or kernel? I think it's mostly the port software. Sshd for instance shouldn't generate this problem. Here's exactly what I've done: 1. I downloaded the sources into a separate source tree (to keep the 6.2 sources if I wanted to roll back), /usr/src7. 2. I copied my kernel config file from /usr/src/sys/i386/conf to /usr/src7/sys/i386/conf. 3. I edited the kernel config file, comparing it to /usr/src7/sys/conf/NOTES and /usr/src7/sys/i386/conf/NOTES, to remove any deprecated options and possibly add new options I might be interested in 4. I edited config files, to temporarily disable autoload of nvidia driver, starting up xdm and some apps such as fetchmail and popd. 5. (leaving out obvious bits, such as mounting and cd'ing) a. make -DALWAYS_CHECK_MAKE buildworld b. make -DALWAYS_CHECK_MAKE KERNCONF=TRAPPER buildkernel c. make -DALWAYS_CHECK_MAKE KERNCONF=TRAPPER KODIR=/boot/testkernel installkernel d. nexkboot -k testkernel (to make sure new kernel would boot) e. reboot f. make -DALWAYS_CHECK_MAKE KERNCONF=TRAPPER installkernel g. reboot into single user h. mergemaster -p i. make -DALWAYS_CHECK_MAKE installworld j. make delete-old k. mergemaster l. reboot 6. Here's when I first noticed those warnings 7. a. portupgrade -fax nvidia-driver b. portupgrade -f nvidia-driver 8. I edited the config files to re-enable what I disabled in 4. 9. reboot. I'd be happy to send anyone my kernel config file, if you think that might be the cause. -- Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: PAM issues in -CURRENT (supplement)
Mel wrote: On Saturday 01 September 2007 14:36:13 Rolf G Nielsen wrote: Mel wrote: On Saturday 01 September 2007 10:54:58 Rolf G Nielsen wrote: I just installed 7.0-CURRENT (after someone said on this list that it's very stable and there are very few bugs left). So far it seems to work fine, but there's one thing that bothers me. I repeatedly get the following messages in the console: in openpam_dispatch(): pam_nologin.so: no pam_sm_authenticate() in openpam_dispatch(): pam_nologin.so: no pam_sm_setcred() One of those, or sometimes both, appear every time someone logs in, and since I use fetchmail to get mail from several accounts and deliver them locally, and then a local POP3 server from which my mail clients gets the mail, the logins, and thus the warning/error messages, are quite frequent. Now for my actual questions: 1. How severe are those messages? Should I assume that there are security holes? Don't think so. I think you didn't recompile PAM-aware software (like fetchmail and qpopper) so PAM warns you they didn't call the proper functions. 2. How do I get rid of the messages? No matter how severe they are, I do NOT want them filling up the console. So how could I correct the problem? Silence it by altering auth.notice to auth.none on the /dev/console line in /etc/syslog.conf and then restart syslogd (/etc/rc.d/syslogd restart). 2a. Why do those messages appear at all? Could I have done something wrong when building and installing world and/or kernel? I think it's mostly the port software. Sshd for instance shouldn't generate this problem. Here's exactly what I've done: 1. I downloaded the sources into a separate source tree (to keep the 6.2 sources if I wanted to roll back), /usr/src7. Aha! [1] k. mergemaster [1] Are you sure temproot was made using /usr/src7 and not /usr/src? I'm pretty sure this is the culprit. The only thing different that I did, was using a cross-partition install (so that machine can boot -stable and -current) and the major diff with that is, that you get a virgin /etc/. Another minor diff is that you're recommended to recompile after booting into -current, however, I still have the auth log from the first boot and did not find any messages similar to yours, which I should have if it's a problem in -current. If you suspect the mergemaster problem: mv /usr/src /usr/src6 ln -s /usr/src7 /usr/src mergemaster Thanks for the tip. I'll give it a go. -- Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: curious root find running
brad clawsie wrote: hi while sitting at my computer tonight i noticed a great deal of disk activity. i found that this process was running: $ ps -auxwww 1463 USER PID %CPU %MEM VSZ RSS TT STAT STARTED TIME COMMAND root 1463 4.3 0.1 1876 1404 ?? D 3:01AM 0:07.26 find /usr -xdev -type f ( -perm -u+x -or -perm -g+x -or -perm -o+x ) ( -perm -u+s -or -perm -g+s ) -print0 any idea why this is running? is it part of a sanctioned background process? thanks! brad ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] It's part of the nightly security check. Check out the periodic(8) man page and the scripts in the subdirectories of /etc/periodic. The command you had running is in /etc/periodic/security/100.chksetuid. -- Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Convince me, please!
Danny Pansters wrote: (...) Hope I did. It's not all that hard to give a to-the-point and honest answer. Now here's some food for thought for all the advocates who found it necessary to answer: It's apparently harder to shut your fat fucking face if you don't have anything useful to contribute. With the notable exceptions of Paul Schmehl, Mario Lobo and a few others, the majority of snide answers here are nothing short of disgraceful. Great way to chase folks away. It's immaterial if its flamebait or not. I for one *am* doing my best to make the FreeBSD desktop nicer and more idiot-proof (KDE in my case) and then to read juvenile remarks about So, telling people to fuck off, just because they have another opinion is what? Mature? how the console is the best thing since sliced bread and other stupid things, well, you know what? It's *you* who are gladly invited to fuck off and move on to something more esoteric if that's what makes you feel important as far as I'm concerned. Gentoo perhaps. Meanwhile, just let the people who *do* matter do their work and don't leave the impression that you are spokespersons for us. I'm not a spokesperson of FreeBSD but I can assure you that the folks who actually do stuff do care about the desktop and you're disgracing and discreding our work. Cheers, Dan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Guis are excellent for graphic tasks; image manipulation, CAD, presentations and such. And in this crowd, I might be considered an anarchist, since I prefer GUI file managers because they can give an overview of the entire directory tree. But I do fail to see the advantage of having a graphical control panel, in which you have to browse through an extensive hierarchy of categories and subcategories just to change your default printer from lpt0 to ulpt0; I'd say that that's what makes people believe that configuring a computer to your own preferences is something that requires a bachelor degree in computer science. And I do fail to see what good comes from loads of silly animations every time you click something; they just consume resources and draw the attention away from the task at hand. Desktop environments are here to stay, I'll grant you that, but they've gone too far: a GUI should help ease the work, but most desktop environments of today (KDE and Gnome, and Windoze for that matter, especially) do the opposite, by directing the attention to all the whistles and bells. -- Sincerly, Rolf Nielsen P.S. Please note, that I'm not telling you to fuck off, I'm just presenting my point of view. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Convince me, please! - too much about GUI
Reid Linnemann wrote: My ten year old niece has been brainwashed by the GUI quagmire. She saw my FreeBSD 6-STABLE console on my amd64 3000+ and wanted to know why i was using such an old computer. She had the visual aspect of the user interface ingrained as a measure of the capabilities of the machine. Granted, it could be only because she's ten, but I think we'd find a lot of people think that something has to have more blinky lights and chrome to be better or faster. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I seriously doubt that it's only because she's ten. A friend of mine (who's 37) defines user-friendliness based on the number of tasks he can complete through a GUI. I used to think like that too, but not any longer. I first tried FreeBSD in 1998, but I couldn't get anything running. I just had no idea how, and I was expecting a nice user-friendly GUI, like Windoze, but without the constant crashes. In 1999 I purchased The complete FreeBSD, 3rd edition with CDs included, and this my second try was a lot more sucessful. I was still after a fancy GUI, but this time I got things working. Not without effort though. Over the years since I first tried FreeBSD, my ideas about ease of use have changed quite a lot. I no longer define user-friendliness based on what I can do in the GUI; actually, I'm often annoyed by all the menus, submenus and all the whistles and bells. It's really a lot easier to edit a text file to change some setting, than browsing through heaps of buttons, drop-down lists and all that. Where most Windoze users find Windoze user-friendly, I find it user-hostile, because it hides the simplest things under tons of graphics. For some applications, like image manipulation, a good GUI is a must (at least that's my point of view), but good doesn't mean complex. And a GUI is certainly not needed for running a computer. My friend, whom I mentioned above, says my computer looks like a green screen from 1970's movies. I once tried to guide him over the phone through downloading a file using Windoze's built-in cli FTP client. He didn't even know that such a procedure was possible; he had the idea, that downloading a file required a graphical progress bar. After the file was downloaded (a GUI FTP client), he said it was the most horrible thing he'd ever done, and had comments about this being the 21st century. So, I doubt your niece's comment was just about her being a child. -- Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
USB mouse issues.
Hi, My new USB mouse (a Logitech G5) works fine both in the console (with moused) and under X (both with moused and directly)... For the most part... However, once in a while it just dies (the lights indicating the DPI setting on top and the lights underneath it goes off and it stops responding). Since, according to the ehci man page, the USB 2.0 driver is quite buggy, I tried disabling it, but the problem didn't go away. I've also tried connecting the mouse to different USB connectors without luck. Every time it happens I get two lines in the /var/log/messages file: Aug 6 01:03:50 trapper kernel: usb1: host controller process error Aug 6 01:03:50 trapper kernel: usb1: host controller halted Now for my questions: Does anyone have any suggestions as to what causes this? The mouse itself? The USB host controllers (then all four controllers on my motherboard are faulty)? Buggy USB driver (if that is the case, both ehci and uhci are buggy)? Any other possibilities, that I haven't considered? I'd apprectiate any help, since this annoys the hell out of me. -- Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: CRT value Absurd
Andrew Greenwood wrote: Jonathan Horne wrote: On Thursday 02 August 2007 13:13:46 Subhro wrote: Hello Folks, Recently I got a HP nc6400 notebook for myself and decided to install FreeBSD on this. My system boots up fine but I am repeatedly getting Errors from ACPI. I am repeatedly getting acpi_tz0: _CRT value is absurd, ignored (256C) How can I solve this problem? I had a similar problem on an HP Pavilion (don't remember the exact model) and I could only get the messages to stop by entering hw.acpi.thermal.polling_rate=0 in /etc/sysctl.conf. I'm sure this isn't the right way to do it, but it worked at least. Thanks Subhro subhru, how is the rest of the install working? we have a lot of 6400s here at my office, and when i tried to install the xorg7.2 ports, i couldnt get xorg to start, and i was wondering how it was going for you. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] I have an HP Pavilion (whose model I don't remember either; it's not printed anywhere on the computer), and I keep getting variuos messages from TZ, but when trying to set that variable, I get sysctl: unknown oid 'hw.acpi.thermal.polling_rate'. I'm running 6.2-RELEASE-p6. Did I miss something, or is that variable introduced in 6-STABLE after 6.2-RELEASE? -- Vänligen / Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Installation problem
Joel Hatton wrote: On Mon, 30 Jul 2007 21:46:44 -0700, Garrett Cooper wrote: Rakhesh is correct. SATA / PATA drives show up under ad[m]s[n][l], where m is the disk number (zero based), n is the slice, aka partition number in the non-BSD (/Solaris?) world, number (zero based), and l is the respective letter for the partition (it can vary depending on the purpose, a being root, b slice, c all of the disk, [d-j?], other values / relevances. SCSI / SAS is almost exactly the same. The only difference is 'ad' is replace with 'da'. There is a difference between SATA and PATA in one respect (and I'm sure I'll be corrected by a developer if my experience is unique). PATA drives appear to be allocated ad0-3, SATA drives begin above that. So, ad4 can (and may in this case) be the first and only fixed disk in the system. This was certainly the case with my last SATA system. cheers, joel ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] If there are PATA channels on the motherboard (which there are on most motherboards, I believe) they're most likely the primary and secondary ATA channels, making the SATA channels the third and above. If you have the ATA_STATIC_ID option in the kernel, the SATA drives will then show up ad ad4 and above, whether or not there are any PATA drives connected. With the ATA_STATIC_ID option the primary master is ad0, primary slave is ad1 and so on, whether or not there are any drives connected. If you remove the ATA_STATIC_ID option, the ATA drives (PATA and SATA) will be assigned the lowest number not in use, so with no PATA drives connected, the first SATA drive will be ad0, the second one will be ad1 and so on. This is my experience, but I'm not a developer, so there may be some twists that I've missed, and if so, I'm sure someone will correct me. :) -- Vänligen / Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ELI passphrase on boot with USB keyboard
Reid Linnemann wrote: Written by Rolf G Nielsen on 07/27/07 16:37 Reid Linnemann wrote: Written by Reid Linnemann on 07/27/07 15:49 Written by Rolf G Nielsen on 07/27/07 15:21 Hi, I recently purchased a new USB keyboard, since my old PS/2 one has seen its best days. This has caused me annoying problems with my ELI disks, though. I have four SATA harddrives, all of which are encrypted using ELI encryption. I've encrypted the raw disks, ad0, ad1, ad2 and ad3. The resulting devices ad0.eli, ad1.eli, ad2.eli and ad3.eli, I've concatenated into a large device, cc0, on which I have several partitions. To get this working, I of course need to boot from a separate device, and for that I use an SD card, which holds a boot directory. With my old PS/2 keyboard, this worked like a charm, but it seems to me, the ukbd driver isnt activated until after the ELI encryption, which means I'm unable to enter the passphrases for the disks, thus I can't get the computer passed the first passphrase prompt. Currently I have both the old keyboard and the new USB one connected. I use the PS/2 one to enter the passphrases, then I put it on the floor under my desk and use the USB keyboard. As you may very well understand, this is quite annoying. Is there a way to get the USB keyboard to work at the point where I enter the passphrases? I've tried to change the keys for the disks to not use a passphrase, but only keyfiles and load them from loader.conf, just as described in the GELI man page (yes I did set the -P option), but that simply will not work (and to be honest, it's not a solution I'd favour); if I set the -b option (ask for passphrase on boot), it still asks for the passphrase, though there is none, and if I set the -B option (don't ask for passphrase on boot), the computer ends up at the mountroot prompt. I'd appreciate any help. Sincerly, Rolf Nielsen Try setting hints.atkbd0.disabled to 1 in the loader, or in the device.hints file. Your usb keyboard may work in early stages with that device hint. Erm, set the hint in the loader _first_, and then only put it in device.hints if it works! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Moreover, the usb keyboard works upto and including the boot menu (I guess the hardware is strictly under BIOS control then, and the kernel doesnt really know if the keboard is usb or ps/2). Then, as soon as the kernel starts probing devices, it stops working. It comes back when daemons have been started. Does usbd have to be running for a usb keyboard to work? If so, could it be worked around? That I don't know. It seems to me that the USB keyboard operates in one of two modes - through the bios or through a device driver. When the system is yet to come up, the PC BIOS is able to talk with the USB keyboard, else you wouldn't be able to type commands in the loader. At some point, I guess the OS aborts talking to the USB keyboard through the BIOS until a driver is loaded. However, I'm not a kernel hacker, so this is only a guess and someone more knowledgeable should respond to the thread at this point. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Reid: No problem. Thanks a lot for your time anyway. :) Anyone: I read in the ukbd man page, the the USB keyboard will be detected after the console driver initializes itself. However, I also noted a macro named UPROTO_BOOT_KEYBOARD in the the /usr/src/sys/dev/usb/ukbd.c file. I'm not a kernel hacker either, and my C skills date back to the late 90's, when I created various simple apps for Windoze, so I can't really see what the macro does (it's obviously a flag of some kind; it's defined as 1). Though its name suggests to me, that it might be possible to make it work when the ELI passphrase is supposed to be entered. If its not possible ( in that case, I hope it will be made possible in a near future release), I'd be willing, as a fallback, to accept a no passphrase solution, but as I also mentioned in my original post, I can't make that work. I did exactly what the geli man page says (I substituted the device names of course). Is the man page complete? Should there be some flags set, that tells the kernel not to ask for a passphrase, and only use the loaded keyfiles? I have ELI support compiled into the kernel, but I've also tried it with the geom_eli KLD, with the exact same result. -- Vänligen / Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: secondary hdd
Cyrus wrote: ok, i origainly had windows xp pro on my machine, i installed freebsd 6.2. my machine has a 40gb seagate disk for o/s, and a 160 gb WD disk for storage. my question is, how do i go about formating the 160 gb, from ntfs to ufs for use in freebsd? and make it automount when system boots? Thank you Cyrus ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] The simplest way if you're new to FreeBSD would be to use sysinstall. Just type sysinstall at the promt in the console. In the menu select Configure, then Fdisk. If you know the device name of the disk in question, you need only select that one in the list that shows up, otherwise select all. You will now see a screen with info about the each disk you selected, one at a time. For the disk(s) you do not want to change, just hit ESC and select None in the list that appears. When you come to the disk you want to use as secondary, select the slices one by one and press D for each one. When all slices have been deleted, just press A, then W. When you're done, go back to the main menu and select Label. Then you will see a screen with all the slices you configured, and available space in each one. Select the one in the secondary disc and press C to create a partition. You'll be asked to enter the desired size of the new partition, and if you want just one partition on the entire disk, just press enter. If you want more than one partition, repeat this until you're satisfied, then make a note the device name(s) created (for instance ad1s1e) and press W. The partition(s) will be formated. I don't think this will make the disk automount, so you'll have to edit your /etc/fstab file, which contains info on all the filesystems to be mounted on boot, one line per entry. This is what an fstab entry looks like /dev/ad1s1e /usr ufsrw22 First is the file system's device node, then under what directory you want it to be mounted, third is the filesystem type (should be ufs for native FreeBSD partitions), fourth is options (rw means read/write, see man fstab for other options). The last two columns should be set to 2, except for the root filesystem (should be 1) and swap, procfs and other specialities (should be 0). Once you're done, save the file and reboot, and you're disc should be automatically mounted. -- Vänligen / Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Tracing mouse events
Does anyone know a utility, that would let me se mouse events in human readable form? I recently bought a new mouse, which moused reports as having 16 buttons, and xmodmap -pp reports 15 buttons. As far as I can see, it doesn't have 15 or 16 physical buttons. If I count the wheel as two buttons, I get 8 or possibly 10: left right (two buttons) pushing the wheel (one button) scrolling the wheel (two buttons) tilting the wheel left or right (two buttons, which I guess are intended for horizontal scrolling) and a thumb button (one button) There are also two buttons, that increase or decrease the resolution of the mouse, but I don't think those generate any mouse events. I'd like to find out which button is which, so I can install an actual xmodmap that I'm happy with. /Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Tracing mouse events
Garrett Cooper wrote: Rolf G Nielsen wrote: Does anyone know a utility, that would let me se mouse events in human readable form? I recently bought a new mouse, which moused reports as having 16 buttons, and xmodmap -pp reports 15 buttons. As far as I can see, it doesn't have 15 or 16 physical buttons. If I count the wheel as two buttons, I get 8 or possibly 10: left right (two buttons) pushing the wheel (one button) scrolling the wheel (two buttons) tilting the wheel left or right (two buttons, which I guess are intended for horizontal scrolling) and a thumb button (one button) There are also two buttons, that increase or decrease the resolution of the mouse, but I don't think those generate any mouse events. I'd like to find out which button is which, so I can install an actual xmodmap that I'm happy with. /Rolf Nielsen Try xev. It captures all X11 input events within a small X widget created box. Beware though -- it captures all input, including mouse movement and keypresses. -Garrett ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Thanks. It did exactly what I was looking for... plus more. But not touching the keyboard isn't too hard, and holding the mouse reasonably still, was something I expected to have to do anyway. :D -- Vänligen / Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ELI passphrase on boot with USB keyboard
Hi, I recently purchased a new USB keyboard, since my old PS/2 one has seen its best days. This has caused me annoying problems with my ELI disks, though. I have four SATA harddrives, all of which are encrypted using ELI encryption. I've encrypted the raw disks, ad0, ad1, ad2 and ad3. The resulting devices ad0.eli, ad1.eli, ad2.eli and ad3.eli, I've concatenated into a large device, cc0, on which I have several partitions. To get this working, I of course need to boot from a separate device, and for that I use an SD card, which holds a boot directory. With my old PS/2 keyboard, this worked like a charm, but it seems to me, the ukbd driver isnt activated until after the ELI encryption, which means I'm unable to enter the passphrases for the disks, thus I can't get the computer passed the first passphrase prompt. Currently I have both the old keyboard and the new USB one connected. I use the PS/2 one to enter the passphrases, then I put it on the floor under my desk and use the USB keyboard. As you may very well understand, this is quite annoying. Is there a way to get the USB keyboard to work at the point where I enter the passphrases? I've tried to change the keys for the disks to not use a passphrase, but only keyfiles and load them from loader.conf, just as described in the GELI man page (yes I did set the -P option), but that simply will not work (and to be honest, it's not a solution I'd favour); if I set the -b option (ask for passphrase on boot), it still asks for the passphrase, though there is none, and if I set the -B option (don't ask for passphrase on boot), the computer ends up at the mountroot prompt. I'd appreciate any help. Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
ELI passphrase on boot with USB keyboard... (supplement)
Forgot to mention, I've also tried a USB to PS/2 adaptor, but with that one, the USB keyboard won't work at all. Rolf Nielsen P.S. I'm sorry about the request for receit for the previous message. I have it activated by default, and forgot to deactivate it. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ELI passphrase on boot with USB keyboard
Reid Linnemann wrote: Written by Reid Linnemann on 07/27/07 15:49 Written by Rolf G Nielsen on 07/27/07 15:21 Hi, I recently purchased a new USB keyboard, since my old PS/2 one has seen its best days. This has caused me annoying problems with my ELI disks, though. I have four SATA harddrives, all of which are encrypted using ELI encryption. I've encrypted the raw disks, ad0, ad1, ad2 and ad3. The resulting devices ad0.eli, ad1.eli, ad2.eli and ad3.eli, I've concatenated into a large device, cc0, on which I have several partitions. To get this working, I of course need to boot from a separate device, and for that I use an SD card, which holds a boot directory. With my old PS/2 keyboard, this worked like a charm, but it seems to me, the ukbd driver isnt activated until after the ELI encryption, which means I'm unable to enter the passphrases for the disks, thus I can't get the computer passed the first passphrase prompt. Currently I have both the old keyboard and the new USB one connected. I use the PS/2 one to enter the passphrases, then I put it on the floor under my desk and use the USB keyboard. As you may very well understand, this is quite annoying. Is there a way to get the USB keyboard to work at the point where I enter the passphrases? I've tried to change the keys for the disks to not use a passphrase, but only keyfiles and load them from loader.conf, just as described in the GELI man page (yes I did set the -P option), but that simply will not work (and to be honest, it's not a solution I'd favour); if I set the -b option (ask for passphrase on boot), it still asks for the passphrase, though there is none, and if I set the -B option (don't ask for passphrase on boot), the computer ends up at the mountroot prompt. I'd appreciate any help. Sincerly, Rolf Nielsen Try setting hints.atkbd0.disabled to 1 in the loader, or in the device.hints file. Your usb keyboard may work in early stages with that device hint. Erm, set the hint in the loader _first_, and then only put it in device.hints if it works! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Thanks. I'll try it next time I reboot (which will be a while). I'm not sure it'll work, though; I've tried a kernel without the atkbd and atkbdc devices compiled in. -- Vänligen / Sincerly, Rolf Nielsen P.S. Om du svarar på detta mail, placera svaret nedanför den tidigare texten, annars kommer ditt svar automatiskt att kasseras, och därför inte bli läst. Svaret kommer också att kasseras automatiskt och alltså inte bli läst, om det innehåller HTML; skicka alltid e-post som oformaterad text. If you reply to this mail, please put the reply beneath the older text. Otherwise your reply will be automatically discarded, thus it will not be read. You reply will also be discarded if it contains HTML; always send e-mail as plain text. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: ELI passphrase on boot with USB keyboard
Reid Linnemann wrote: Written by Reid Linnemann on 07/27/07 15:49 Written by Rolf G Nielsen on 07/27/07 15:21 Hi, I recently purchased a new USB keyboard, since my old PS/2 one has seen its best days. This has caused me annoying problems with my ELI disks, though. I have four SATA harddrives, all of which are encrypted using ELI encryption. I've encrypted the raw disks, ad0, ad1, ad2 and ad3. The resulting devices ad0.eli, ad1.eli, ad2.eli and ad3.eli, I've concatenated into a large device, cc0, on which I have several partitions. To get this working, I of course need to boot from a separate device, and for that I use an SD card, which holds a boot directory. With my old PS/2 keyboard, this worked like a charm, but it seems to me, the ukbd driver isnt activated until after the ELI encryption, which means I'm unable to enter the passphrases for the disks, thus I can't get the computer passed the first passphrase prompt. Currently I have both the old keyboard and the new USB one connected. I use the PS/2 one to enter the passphrases, then I put it on the floor under my desk and use the USB keyboard. As you may very well understand, this is quite annoying. Is there a way to get the USB keyboard to work at the point where I enter the passphrases? I've tried to change the keys for the disks to not use a passphrase, but only keyfiles and load them from loader.conf, just as described in the GELI man page (yes I did set the -P option), but that simply will not work (and to be honest, it's not a solution I'd favour); if I set the -b option (ask for passphrase on boot), it still asks for the passphrase, though there is none, and if I set the -B option (don't ask for passphrase on boot), the computer ends up at the mountroot prompt. I'd appreciate any help. Sincerly, Rolf Nielsen Try setting hints.atkbd0.disabled to 1 in the loader, or in the device.hints file. Your usb keyboard may work in early stages with that device hint. Erm, set the hint in the loader _first_, and then only put it in device.hints if it works! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED] Moreover, the usb keyboard works upto and including the boot menu (I guess the hardware is strictly under BIOS control then, and the kernel doesnt really know if the keboard is usb or ps/2). Then, as soon as the kernel starts probing devices, it stops working. It comes back when daemons have been started. Does usbd have to be running for a usb keyboard to work? If so, could it be worked around? -- Vänligen / Sincerly, Rolf Nielsen ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]