Re: dump and restore
Malcolm Kay wrote: On Sat, 19 Jul 2008 06:51 am, Peter Boosten wrote: The /usr/ partition was 74Gb, and it took (according to dump 52631 seconds (~ 14.5 hours) to copy. Both disks are IDE, in the same machine on different IDE controllers. The time for dump/restore normally depends more on the occupancy of the partition than its actual size. This is one reason why we avoid using dd for this purpose as we must then copy the entire 74Gb rather than just that used. Hmmm, I didn't even know it was possible to dump a partition unmounted. Try that next time then. The actual partition size was ~200GB, but around 74Gb data. Thanks all for your answers. Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: freebsd-update says -p3, but i've got -p2
Manolis Kiagias wrote: Mark Boolootian wrote: Hi folks, I've done a couple of fresh installs on 7.0-RELEASE today, and subsequently run freebsd-update. freebsd-update reports: The following files will be updated as part of updating to 7.0-RELEASE-p3: /boot/kernel/kernel /boot/kernel/kernel.symbols /usr/bin/dig /usr/bin/host /usr/bin/nslookup /usr/bin/nsupdate /usr/include/netinet/tcp.h /usr/lib/libssh.a /usr/lib/libssh.so.4 /usr/lib/libssh_p.a /usr/sbin/dnssec-signzone /usr/sbin/lwresd /usr/sbin/named /usr/sbin/named-checkconf /usr/sbin/named-checkzone /usr/sbin/named-compilezone /usr/sbin/sshd /usr/src/sys/conf/newvers.sh /usr/src/sys/netinet/tcp.h /usr/src/sys/netinet/tcp_output.c which leads me to conclude I've got -p3, including the BIND update. However 'uname -a' says something else: FreeBSD mumble.ucsc.edu 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed Jun 18 07:33:20 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 And although /usr/sbin/named has been updated, it appears not to have been upgraded: $ /usr/sbin/named -v BIND 9.4.2 Thoughts? You've got p3, don't worry. There was no kernel update in p3, hence you got the p2 GENERIC kernel. If you want uname to actually show p3, you will have to recompile your kernel, using something like this (assuming you got the kernel sources installed and intend to keep using GENERIC): cd /usr/src make buildkernel installkernel KERNCONF=GENERIC and then reboot However the only difference will be in the -p number, nothing else so you don't have to do it. FWIW, the /usr/src/sys/conf/newvers.sh contains the -p number you see in uname, and this changes everytime freebsd-update fetches updates - whether they include kernel updates or not. Some people (especially those responsible for large number of machines) will recompile the kernel anyway, so they can easily see their patchlevel using uname. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Another way I'm TRYING to get into the habit of doing, to find the patches applied to a system is to make a dir, such as something like /root/updates In this directory I place all the *.asc and *.diff or *.patch files that apply to the updates. This way the uname can give me some very good information, but the patches and updates I've received (either via freebsd-update or via rebuilding world) have been recorded, and it's on a host-by-host basis this way too. I hope this helps anybody in their administration tasks. --Tim ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Problem in checking machine architecture
Eitan Shefi wrote: I have a host with FreeBSD 7.0-RELEASE (64 bit) installed. How do I check the host's architecture ? When I run: "uname -m" the output is: "amd64" When I run: "sysctl -a | less" and search for: "CPU" I see that: "hw.model: Intel(R) Xeon(R) CPU5140 @ 2.33GHz ... hw.machine_arch: amd64" So, is this host's architecture is: Intel or AMD I'm confused about it. Can someone help ? Thanks, Eitan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Just like AMD made i686 processors. What's the "I" stand for? Intel came out with the 8086-686 class processors first, and AMD picked up that architecture. AMD came out with 64-bit architecture first so the platform is commonly referred to as amd64. Does this help? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
freebsd-questions@freebsd.org
[This is all that I was able to write down]Debug message screen output: DEBUG: deviceTry: attempting to open /dev/cuad0 deviceTry: open of /dev/cuad1 failed [This pattern follows to number 15 for both messages. I am going to assume zero here because of the way the items are listed in grub from 0] Found a disk device named ad4 Executing command '/stand/gunzip /tmp/.doc/doc.tmp' Command '/stand/gunzip /tmp/.doc/doc.tmp' returns a status of 0 [I set the sizes at 1g for /, 1286M swap, 768 /tmp, 2738 /var, 20G /usr, 4981 unallocated] Scan dev ad4 for root filesystem scan dev ad4 for swap partition [chose all distributions to extract at this time.] Dist Masks: Dists f, Srcs: 3f Kernels: f Xserver: f [ftp chosen as method of installing] Executing command '/stand/gunzip /tmp/.doc/doc.tmp' Command '/stand/gunzip /tmp/.doc/doc.tmp' returns a status of 0 Init routine called for network device dc0 wrote ot /etc/resolv.conf wrote out /etc/hosts hostname= 'ftp.freebsd.org' dir = '/' port#='21' Notify:Looking up host ftp.freebsd.org StartingDNS Looking up hostname, ftp.freebsd.org, using getaddrinfo (AI_NUMERICHOST) Looking up hostname, ftp.freebsd.org, using getaddrinfo() Found DNS entry for ftp.freebsd.org successfully InstallCommit: System state is 'init' [The base extracts at this point and begins to hang with chunk 23 of 36. I hit CTRL+C to reinstate the media. Keyboard responsive] User generated interrupt [Base installs to 26 of 36 this time then hangs] [At the end of every chunk was "PORT command successful, Consider using PASV"] {Last two lines of crash at 26/36:} "Sending: RETR base/base.ba Sending: QUIT" {CTRL+C repeated, switched to ftp1.freebsd.org as base repository] OK. -Current directory is /pub/FreeBSD/releases/amd64/7.0-RELEASE Sending CWD / Sending CWD /pub/FreeBSD/snapshots/amd64 RETRE base/base.ba opening BINARY mode data connection for base/base.bs Sending: QUIT [sysinstall message is "FTP chdir to ftp://ftp.freebsd.org// returned error status: connection in wrong state"] Shutdown called for network device dc0 ifconfig dc0 down executing command 'ifconfig dc0 down' returns status of 0 Deleting default route Executing command 'route -n delete default' delete net default command 'route -n delete default' returns status of 0 disrtExtractTarball: path "base" dist "base" trdist "base" my_dir "/" is_base No FTP connection open, cant get file base/base.inf distExtraTarball: fname base/base.inf fp:0x0, intr : 1 mediaDevice:0x7c9962 Init routine called for network device dc0 [I typed "ifconfig dc0 up" on tty4 about this time] A DHCP Inetrface, should already be up Network initialized successfully hostname= 'ftp.freebsd.org' dir = '/' port#='21' Notify:Looking up host ftp1.freebsd.org StartingDNS Looking up hostname, ftp1.freebsd.org, using getaddrinfo (AI_NUMERICHOST) Looking up hostname, ftp1.freebsd.org, using getaddrinfo route: writing to routing socket: No such process delete net default: not in table Command 'route -n delete default' returns status of 1 distExtraTarball: fname base/base.inf fp:0x0, intr : 1 mediaDevice:0x0 [repeats the same each time I initialize. hard shutdown forced] previous 2 posts by me stated system was freezing. I'm going to assume that with every "ifconfig dc0 down" and "route -n delete default" the "connecting to ftp.freebsd.org" was having trouble connecting. I have a directory of /.snap, /cdrom, /dist, /dev, /etc, /stand, /tmp, /usr, /var now installed on the disk. No passwords or accounts created. _ Use video conversation to talk face-to-face with Windows Live Messenger. http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dump and restore
On Sat, 19 Jul 2008 06:51 am, Peter Boosten wrote: > Hi all, > > My harddisk was failing and I wanted the data copied to > another disk, but since my original wouldn't boot, I installed > a minimal FreeBSD on the new disk, mounted the old partitions > under /mnt and copied from the original to the new partitions > by using: > > dump 0af - /dev/ad2s1[adef] | restore xf - > > (the partitions adef where done one by one) > > The /usr/ partition was 74Gb, and it took (according to dump > 52631 seconds (~ 14.5 hours) to copy. Both disks are IDE, in > the same machine on different IDE controllers. > The time for dump/restore normally depends more on the occupancy of the partition than its actual size. This is one reason why we avoid using dd for this purpose as we must then copy the entire 74Gb rather than just that used. > Is it normal for a backup/restore to take this long? Or could > this be due to my failing disk? > > Peter Malcolm ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Video Card Info
Warren Liddell writes: > im looking to purchase the NVIDIA 8800GTX PCI Express Video Card an was > wondering if anyone has heard or know of any issues within FreeBSD with this > particular video card ? I use an Nvidia 8800GT in a Mac Pro running -STABLE with the xf86-video-nv-2.1.8 driver from ports back when I last upgraded and it works fine. The driver info in my Xorg.0.log doesn't explicitly mention the 8800GTX though. However, there is an entry for it in the 2.1.9 nv_driver.c (which is what's currently in the port tree). I'm driving a dual-link monitor (30" Dell 3007-WFP) and needed to hack 2.1.8 to re-enable dual-link support that the author had disabled because it would work reliably in some situations and not at all in others (depending on how the bios initialized the card, if I understand his response). In 2.1.9 he made re-enabling the support a xorg.conf configuration option (see the Changelog entry for 5/9). g. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Video Card Info
Warren Liddell writes: > im looking to purchase the NVIDIA 8800GTX PCI Express Video Card > an was wondering if anyone has heard or know of any issues within > FreeBSD with this particular video card ? To the best of my knowledge is it hardware-copatible with the base system. However: the drivers for X work, but don't use anywhere close to the card's potential. (Search the various FreeBSD lists for "nvidia driver".) Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Video Card Info
im looking to purchase the NVIDIA 8800GTX PCI Express Video Card an was wondering if anyone has heard or know of any issues within FreeBSD with this particular video card ? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: To Kris Kennaway and others::FreeBSD hangs on install; kernel crashes, machine freezes
On Fri, 18 Jul 2008 23:25:31 + Desmond Chapman <[EMAIL PROTECTED]> wrote: > > lock order reversal (sleepable after nonsleepable) > 1st 0xfffe62dce040 bufwait (bufwait) @ /usr/src/sys/kern/ufs > trap 0, rip = 0, rsp = 0xfffe4000dd30, rbp = 0 --- > (About this time the machine hangs and is unresponsive) > Stacj trace goes through the file systems > before the above eror I have, fork_trampoline at fork_trampoline+0xee > > Install errors"7.0-RELEASE" cannot be found on this server. > I recieved the exact same error with every ftp server I tried. > Now, I am writing this email using debian. It isn't my hardware. > I have tried 7.0, 6.3, and 8.0 RELEASES and I have tried settingh the > value to "any." I have downloaded torrents, tried different methods > of burning the iso. I have tried CD install, ftp install, ftp > through http install. I had 7.0 on here, it crashed, I needed to > replace it. Since FreeBSD is no longer on this disk, I can't give you > the output to dmesg, /var/log or any other log. Now, if Mr Kennaway > doubts me, he is welcome to come to my house and watch the same > messages roll down the screen, while the install fails. 8.0 RELEASES? -- Best regards, Chris () ascii ribbon campaign - against html e-mail /\ www.asciiribbon.org - against proprietary attachments "There's no place like 127.0.0.1" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: To Kris Kennaway and others::FreeBSD hangs on install; kernel crashes, machine freezes
Desmond Chapman wrote: lock order reversal (sleepable after nonsleepable) 1st 0xfffe62dce040 bufwait (bufwait) @ /usr/src/sys/kern/ufs trap 0, rip = 0, rsp = 0xfffe4000dd30, rbp = 0 --- (About this time the machine hangs and is unresponsive) Stacj trace goes through the file systems before the above eror I have, fork_trampoline at fork_trampoline+0xee We need the whole thing. Install errors"7.0-RELEASE" cannot be found on this server. I recieved the exact same error with every ftp server I tried. Now, I am writing this email using debian. It isn't my hardware. I have tried 7.0, 6.3, and 8.0 RELEASES and I have tried settingh the value to "any." I have downloaded torrents, tried different methods of burning the iso. I have tried CD install, ftp install, ftp through http install. I had 7.0 on here, it crashed, I needed to replace it. Since FreeBSD is no longer on this disk, I can't give you the output to dmesg, /var/log or any other log. Now, if Mr Kennaway doubts me, he is welcome to come to my house and watch the same messages roll down the screen, while the install fails. That you are experiencing a problem is not in question. That you are completely failing to submit a useful bug report is the issue. We cannot guess what your errors are if you won't tell us! Saying "it has an error" provides no information, no matter how many times you repeat it. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: "Invalid credentials" errors using pam_ldap on FreeBSD
Quoting "Stephen Allen" <[EMAIL PROTECTED]>: Hello, I'm pretty sure I've done all the necessary steps to be able to ssh to my FreeBSD box using pam_ldap, but I'm getting "Invalid credentials" errors whenever I try (I can successfully perform an ldapsearch operation though). Here are snippets from my config: [/etc/nsswitch.conf] passwd: files ldap [/etc/pam.d/sshd] authsufficient /usr/local/lib/pam_ldap.so authrequiredpam_unix.so [/usr/local/etc/ldap.conf] base o=brookes uri ldap://ldap.brookes.ac.uk:389/ scope one And here is the error: Jul 18 19:19:41 vh1a9f58 sshd[19601]: pam_ldap: error trying to bind as user "uid=p0036343,o=Brookes" (Invalid credentials) Incidentally, the following ldapsearch query _IS_ successful, and returns me some details about user 'jsmith' ldapsearch -H ldap://ldap.brookes.ac.uk -b 'o=brookes' -x -W -D 'uid=me,o=Brookes' uid=jsmith Try to increase the log level in nss_ldap.conf, debug = , and check /var/log/debug.log. man nss_ldap(5). --per ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
To Kris Kennaway and others::FreeBSD hangs on install; kernel crashes, machine freezes
lock order reversal (sleepable after nonsleepable) 1st 0xfffe62dce040 bufwait (bufwait) @ /usr/src/sys/kern/ufs trap 0, rip = 0, rsp = 0xfffe4000dd30, rbp = 0 --- (About this time the machine hangs and is unresponsive) Stacj trace goes through the file systems before the above eror I have, fork_trampoline at fork_trampoline+0xee Install errors"7.0-RELEASE" cannot be found on this server. I recieved the exact same error with every ftp server I tried. Now, I am writing this email using debian. It isn't my hardware. I have tried 7.0, 6.3, and 8.0 RELEASES and I have tried settingh the value to "any." I have downloaded torrents, tried different methods of burning the iso. I have tried CD install, ftp install, ftp through http install. I had 7.0 on here, it crashed, I needed to replace it. Since FreeBSD is no longer on this disk, I can't give you the output to dmesg, /var/log or any other log. Now, if Mr Kennaway doubts me, he is welcome to come to my house and watch the same messages roll down the screen, while the install fails. _ Time for vacation? WIN what you need- enter now! http://www.gowindowslive.com/summergiveaway/?ocid=tag_jlyhm___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: disk encryption; hidden containers
On Fri, 18 Jul 2008, Greg Larkin wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chad Perrin wrote: | On Fri, Jul 18, 2008 at 10:01:54PM +0100, RW wrote: |> On Fri, 18 Jul 2008 21:06:57 +0100 |> RW <[EMAIL PROTECTED]> wrote: |> |>> On Fri, 18 Jul 2008 09:56:24 -0600 |>> Chad Perrin <[EMAIL PROTECTED]> wrote: |>> |>>> My preliminary searches on the subject suggest that neither GBDE nor |>>> GELI encryption offers hidden volume/container capabilities. |>> Are you talking about steganography? |> Sorry, I guess you're talking about volumes hidden in the unused space |> on a filesystem. I don't think there's anything. I'm not sure |> what the status of truecrypt is, I've heard some talk about it running |> on freebsd eventually. |> |> It would be a start for geli to be able to encrypt its metadata. | | So, are those basically my choices -- either wait for GBDE or GELI to | acquire that capability, or write it myself (which is not something I'm | prepared to do right now)? Bummer. | | Well . . . or wait for something else like TrueCrypt to get ported to | FreeBSD, I suppose. | Hi Chad, There is a beta version of the TrueCrypt 5.1a port out there. See: http://lists.freebsd.org/pipermail/freebsd-ports/2008-May/048432.html. I tried it in a VMware virtual machine a couple of months ago and it hung pretty consistently when copying files into the container. It's entirely possible that the problem was related to the virtual environment, so YMMV. What VMWare version were you using and what OS and version hosted the VM? I only ask as I have been searching for this myself. Currently, I am using a commercial product under Linux and Windoes called BestCrypt by Jetico (http://www.jetico.com). I have VMware installed currently under Windoes Vista. VMware version is 6.0.4-93057. I haven't had any issues thus far running a number of FreeBSD guest OSes. If your version is less than what I'm running, I would be willing to install and test. -d ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: disk encryption; hidden containers
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chad Perrin wrote: | On Fri, Jul 18, 2008 at 10:01:54PM +0100, RW wrote: |> On Fri, 18 Jul 2008 21:06:57 +0100 |> RW <[EMAIL PROTECTED]> wrote: |> |>> On Fri, 18 Jul 2008 09:56:24 -0600 |>> Chad Perrin <[EMAIL PROTECTED]> wrote: |>> |>>> My preliminary searches on the subject suggest that neither GBDE nor |>>> GELI encryption offers hidden volume/container capabilities. |>> Are you talking about steganography? |> Sorry, I guess you're talking about volumes hidden in the unused space |> on a filesystem. I don't think there's anything. I'm not sure |> what the status of truecrypt is, I've heard some talk about it running |> on freebsd eventually. |> |> It would be a start for geli to be able to encrypt its metadata. | | So, are those basically my choices -- either wait for GBDE or GELI to | acquire that capability, or write it myself (which is not something I'm | prepared to do right now)? Bummer. | | Well . . . or wait for something else like TrueCrypt to get ported to | FreeBSD, I suppose. | Hi Chad, There is a beta version of the TrueCrypt 5.1a port out there. See: http://lists.freebsd.org/pipermail/freebsd-ports/2008-May/048432.html. I tried it in a VMware virtual machine a couple of months ago and it hung pretty consistently when copying files into the container. It's entirely possible that the problem was related to the virtual environment, so YMMV. Best regards, Greg - -- Greg Larkin http://www.sourcehosting.net/ http://www.FreeBSD.org/ - The Power To Serve -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIgRju0sRouByUApARAv+YAJ9tD3AZfXeFjJlwX3jdAu37obGAxQCeMcwL Xo+7frfIpY05QUfrYD1geGw= =ebWS -END PGP SIGNATURE- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: disk encryption; hidden containers
On Fri, Jul 18, 2008 at 10:01:54PM +0100, RW wrote: > On Fri, 18 Jul 2008 21:06:57 +0100 > RW <[EMAIL PROTECTED]> wrote: > > > On Fri, 18 Jul 2008 09:56:24 -0600 > > Chad Perrin <[EMAIL PROTECTED]> wrote: > > > > > My preliminary searches on the subject suggest that neither GBDE nor > > > GELI encryption offers hidden volume/container capabilities. > > > > Are you talking about steganography? > > Sorry, I guess you're talking about volumes hidden in the unused space > on a filesystem. I don't think there's anything. I'm not sure > what the status of truecrypt is, I've heard some talk about it running > on freebsd eventually. > > It would be a start for geli to be able to encrypt its metadata. So, are those basically my choices -- either wait for GBDE or GELI to acquire that capability, or write it myself (which is not something I'm prepared to do right now)? Bummer. Well . . . or wait for something else like TrueCrypt to get ported to FreeBSD, I suppose. -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] Alan Perlis: "LISP programmers know the value of everything and the cost of nothing." pgpzUXl7rG9Ph.pgp Description: PGP signature
Re: dump and restore
since my original wouldn't boot, I installed a minimal FreeBSD on the new disk, mounted the old partitions under /mnt and copied from the original to the new partitions by using: dump 0af - /dev/ad2s1[adef] | restore xf - (the partitions adef where done one by one) The /usr/ partition was 74Gb, and it took (according to dump 52631 seconds (~ 14.5 hours) to copy. Both disks are IDE, in the same machine on different IDE controllers. Is it normal for a backup/restore to take this long? Or could this be due to my failing disk? if you don't use softdeps on destination disk - it will. or if it had so slow reads because of hardware problem. rather be happy it succeeded :) if your disk is failing ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: USB pen drive quirk not working
You need to remove the directory under /usr/obj that matches your source. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dump and restore
On Fri, Jul 18, 2008 at 11:21:26PM +0200, Peter Boosten wrote: > Hi all, > > My harddisk was failing and I wanted the data copied to another disk, > but since my original wouldn't boot, I installed a minimal FreeBSD on > the new disk, mounted the old partitions under /mnt and copied from the > original to the new partitions by using: > > dump 0af - /dev/ad2s1[adef] | restore xf - > > (the partitions adef where done one by one) > > The /usr/ partition was 74Gb, and it took (according to dump 52631 > seconds (~ 14.5 hours) to copy. Both disks are IDE, in the same machine > on different IDE controllers. > > Is it normal for a backup/restore to take this long? Or could this be > due to my failing disk? When dumping to a file it should not take this long. But in this case it might be that dump is waiting for restore, since the space in a pipe is not infinite. Also, when dumping mounted partitions you should use the -L flag with dump. But in a case like this there is little reason to mount the old partitions. If the failing disk was giving trouble, you might find errors in /var/log/messages. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgpmKtzKlogpz.pgp Description: PGP signature
Re: FTP build of FreeBSD release 7 amd64 hangs
Desmond Chapman wrote: It stops in docs and refuses to build. I'm behind a router. This error has occured six times in the past twelve hours. Any idea of what may be causing it? No, sorry. Could be anything. Kris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
dump and restore
Hi all, My harddisk was failing and I wanted the data copied to another disk, but since my original wouldn't boot, I installed a minimal FreeBSD on the new disk, mounted the old partitions under /mnt and copied from the original to the new partitions by using: dump 0af - /dev/ad2s1[adef] | restore xf - (the partitions adef where done one by one) The /usr/ partition was 74Gb, and it took (according to dump 52631 seconds (~ 14.5 hours) to copy. Both disks are IDE, in the same machine on different IDE controllers. Is it normal for a backup/restore to take this long? Or could this be due to my failing disk? Peter -- http://www.boosten.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: disk encryption; hidden containers
On Fri, 18 Jul 2008 21:06:57 +0100 RW <[EMAIL PROTECTED]> wrote: > On Fri, 18 Jul 2008 09:56:24 -0600 > Chad Perrin <[EMAIL PROTECTED]> wrote: > > > My preliminary searches on the subject suggest that neither GBDE nor > > GELI encryption offers hidden volume/container capabilities. > > Are you talking about steganography? Sorry, I guess you're talking about volumes hidden in the unused space on a filesystem. I don't think there's anything. I'm not sure what the status of truecrypt is, I've heard some talk about it running on freebsd eventually. It would be a start for geli to be able to encrypt its metadata. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
FTP build of FreeBSD release 7 amd64 hangs
It stops in docs and refuses to build. I'm behind a router. This error has occured six times in the past twelve hours. Any idea of what may be causing it? _ With Windows Live for mobile, your contacts travel with you. http://www.windowslive.com/mobile/overview.html?ocid=TXT_TAGLM_WL_mobile_072008___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sendmail rulesets [OFFTOPIC]
On Fri, Jul 18, 2008 at 01:18:53PM -0700, Chuck Swiger wrote: > Hola, Efren-- > > On Jul 18, 2008, at 12:02 PM, Efren Bravo wrote: > > Someone can tell me where can I find a dedicated book or material of > > sendmail's rulesets? > >http://www.sendmail.org/documentation/books > > The O'Reily _sendmail_ book is the most comprehensive about writing > and debugging rulesets, although it is also rumored to have caused the > deforestation of a small country due to it's size and page count. Of > course, the online documentation and FAQ available right there is > probably enough for most people to get started. > > [ Note: Having paid my dues and done my own share of sendmail ruleset > hackery in the misty days of yore, I'm not sure I'd be willing to > repeat that level of effort in the modern era where Postfix exists ] I'll second that. I find Postfix much easier to live with. The following is a translation from something that I saved from a Dutch UNIX forum some years ago ;-) Hacking sendmail.cf... It's easier and less painfull to amputate your own leg with a pocket knife. Roland -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) pgp4p669MuZ2x.pgp Description: PGP signature
Re: quick question regarding jails.
On Fri, Jul 18, 2008 at 1:46 AM, Wojciech Puchar <[EMAIL PROTECTED]> wrote: >> >> Just wondering if a box has 2 Ethernet cards with each card going to a >> different gateway/network, is it possible to stick a jail on the machine >> listening on one network interface and routing data out one >> card/network/gatway while the rest of the system uses the other port and >> gateway/network. > > yes - no problem For most values of "yes". For others, the answer is "It depends." Yes, you can configure daemons running on the host to bind to one interface, and configure daemons running on the jail to bind to a different interface. However, host <-> jail communications occur over loopback and "routing data" between the two, if that's the question being asked, has its limitations. I brought up this problem just recently. http://docs.freebsd.org/cgi/getmsg.cgi?fetch=407605+0+archive/2008/freebsd-questions/20080713.freebsd-questions To sum up, if jail host running at 10.0.0.1 connects to a jail running at 10.0.0.2, the traffic will occur over lo0, and BOTH endpoints of that connection will use the jail (10.0.0.2) address. To my mind, that can be problematic. You can modify the routing table so that a host -> jail connection exits an actual interface (and uses that interface's IP address). However, this offers limited usefulness as you can't do the same on the jail side (there's only one routing table to speak of), and return traffic won't be seen on that interface. The above applies irrespective of whether the jail host and the jail are on the same or different network, or on the same or different NICs. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Sendmail rulesets [OFFTOPIC]
Hola, Efren-- On Jul 18, 2008, at 12:02 PM, Efren Bravo wrote: Someone can tell me where can I find a dedicated book or material of sendmail's rulesets? http://www.sendmail.org/documentation/books The O'Reily _sendmail_ book is the most comprehensive about writing and debugging rulesets, although it is also rumored to have caused the deforestation of a small country due to it's size and page count. Of course, the online documentation and FAQ available right there is probably enough for most people to get started. [ Note: Having paid my dues and done my own share of sendmail ruleset hackery in the misty days of yore, I'm not sure I'd be willing to repeat that level of effort in the modern era where Postfix exists ] Regards, -- -Chuck ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: disk encryption; hidden containers
On Fri, 18 Jul 2008 09:56:24 -0600 Chad Perrin <[EMAIL PROTECTED]> wrote: > My preliminary searches on the subject suggest that neither GBDE nor > GELI encryption offers hidden volume/container capabilities. Are you talking about steganography? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
"Invalid credentials" errors using pam_ldap on FreeBSD
Hello, I'm pretty sure I've done all the necessary steps to be able to ssh to my FreeBSD box using pam_ldap, but I'm getting "Invalid credentials" errors whenever I try (I can successfully perform an ldapsearch operation though). Here are snippets from my config: [/etc/nsswitch.conf] passwd: files ldap [/etc/pam.d/sshd] authsufficient /usr/local/lib/pam_ldap.so authrequiredpam_unix.so [/usr/local/etc/ldap.conf] base o=brookes uri ldap://ldap.brookes.ac.uk:389/ scope one And here is the error: Jul 18 19:19:41 vh1a9f58 sshd[19601]: pam_ldap: error trying to bind as user "uid=p0036343,o=Brookes" (Invalid credentials) Incidentally, the following ldapsearch query _IS_ successful, and returns me some details about user 'jsmith' ldapsearch -H ldap://ldap.brookes.ac.uk -b 'o=brookes' -x -W -D 'uid=me,o=Brookes' uid=jsmith I'm really stumped on this one... can anyone help please? Many thanks, Steve :) -- ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: disk encryption; hidden containers
softoware would you recommend for use with FreeBSD to provide hidden containers? could you please explain what "hidden container" is? AFAIK geli do exactly that - hidden partition, unless you know to run geli and what is the password ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Sendmail rulesets [OFFTOPIC]
Hi, Someone can tell me where can I find a dedicated book or material of sendmail's rulesets? Thanks in advance, Efren. ¿No te gusta tu dirección de correo? Consigue una que te guste de verdad - millones de direcciones de correo disponibles en Yahoo! http://es.docs.yahoo.com/mail/nueva_direccion.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
> Subject: resizing partiton on FBSD-7.0 amd64
> Date: Thu, 17 Jul 2008 12:52:45 -0300 > From: luizbcampos <[EMAIL PROTECTED]> > To:[EMAIL PROTECTED] > Subject: resizing partiton on FBSD-7.0 amd64 > Message-ID: <[EMAIL PROTECTED]> > I used all my disk with FBSD and now I need to lower the >partition with no data loss. Does anyone know how to do it? I wonder if one could: - add a 2nd disk and format and make fs and mount - tar up the entire contents of / (everything except / assuming that / is separate slice) to second disk. - blow away 1st disk. re-partition it as desired. - re-install freebsd and then untar what was originally tarred from second disk onto 1st disk. assuming that / is on separate slice. -- with kind regards, dg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: USB pen drive quirk not working
David Gurvich wrote: I'm sure someone else knows better, but there is a Makefile in /usr/src/sys. Perhaps it's enough to 'make cam' there. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" Thanks for reply David. I get eco# make cam `cam' is up to date. even though it's not. Now I'm off for a few days without computer so I'll look further when I'm back. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
disk encryption; hidden containers
My preliminary searches on the subject suggest that neither GBDE nor GELI encryption offers hidden volume/container capabilities. Are there any plans for implementing this in the future? What disk encryption softoware would you recommend for use with FreeBSD to provide hidden containers? -- Chad Perrin [ content licensed PDL: http://pdl.apotheon.org ] C. Hoare: "Two ways of constructing software: (1) make it so simple that there are obviously no bugs, (2) make it so complicated that there are no obvious bugs. Making it simple is far more difficult." pgphAUtWgHb8n.pgp Description: PGP signature
freebsd library loading question
I'm hoping this is the right place to ask: I'm working on something in FreeBSD 7.0 (i386) and GCC: I'm getting the following error when executing a program: dlerror -> Invalid shared object handle 0x0 the full context is: DEBUG: ../include/ctypeless_dyn_unix.h(00310) ->Loading library: ctypeless.so Error loading ctypeless library: -1 dlerror -> Invalid shared object handle 0x0 which comes from the lines: int ret = 0; if(!dlname) dlname = "ctypeless.so"; CT_DEBUG1("Loading library: %s\n\n", dlname); void *dlhandle = dlopen(dlname, RTLD_NOW | RTLD_GLOBAL); if(dlerror()) { printf("Error loading ctypeless library: %d\n dlerror -> %s\n", test, dlerror()); return -1; } Am I correct in assuming this is because the program is not finding the library? I tried putting the ctypeless.so library in /usr/local/lib, but that did not fix the issue. Any suggestions on what I'm doing wrong (or a better place to ask)? Thanks, -Jim Stapleton ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkgsrc vs ports
At 2008-07-18T13:41:08+02:00, Eduardo Morras wrote: > Ejem, it's the 1st April joke > >>Enjoy, >>Raghavendra. Indeed :-) I thought it could be enjoyed even now. Raghavendra. -- N. Raghavendra <[EMAIL PROTECTED]> | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: log size handling
Zbigniew Szalbot wrote: Hello, Matthew Seaman: Correct. Although you may want to add '30' as the 8th field -- that means 'send signal 30 (SIGUSR1) to apache instead of SIGHUP' -- SIGUSR1 causes apache to do a graceful restart rather than abruptly killing and restarting everything: http://httpd.apache.org/docs/2.2/stopping.html You'll need to experiment though -- if your user HTTP connections are long-lived, you can end up with apache appending data to a rotated logfile that it still has an open file descriptor on. The file will be unlinked once the gzip compression has run. Now, writing to an unlinked file is allowed under Unix, but once that apache child process terminates and releases the descriptor the data will disappear into the ether, so you can lose log entries. Thank you very much Matthew! Just one final question. When the apache child process finally terminates, will apache start logging to a new log? Or will it be writing into the ether until it gets restarted? Thanks again! I appreciate your help. The restart process with apache is that all the child processes are shutdown -- either straight away (for a plain restart) or once they've finished their current bit of work (fora graceful restart). As the child process shuts down, it closes all the file descriptors used for logging. Ultimately the master process will respawn itself -- in the event of a graceful restart this may occur before all of the old child processes have closed down. I'm not sure if the master process actually logs anything much, but even if it doesn't this will similarly close and then reopen all file descriptors. The renewed master process then starts up a whole new set of child processes, each of which will open up new logging connections. Now, if logging direct to a file, apache will open the file by name. As newsyslog has just moved away the old file and created a new file with the appropriate name, this means that all log output from the new apache processes will go into the new log file. Which is what you want. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: pkgsrc vs ports
At 09:38 18/07/2008, you wrote: At 2008-07-18T01:15:10-04:00, Ansar Mohammed wrote: > Is there some definitive comparison between the ports collection and > netbsd's pkgsrc? Perhaps this could be a starter: "FreeBSD and NetBSD's pkgsrc: A strategic synergy for awesomeness", http://lists.freebsd.org/pipermail/freebsd-ports/2007-April/039802.html Ejem, it's the 1st April joke Enjoy, Raghavendra. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: log size handling
Hello, Matthew Seaman: Correct. Although you may want to add '30' as the 8th field -- that means 'send signal 30 (SIGUSR1) to apache instead of SIGHUP' -- SIGUSR1 causes apache to do a graceful restart rather than abruptly killing and restarting everything: http://httpd.apache.org/docs/2.2/stopping.html You'll need to experiment though -- if your user HTTP connections are long-lived, you can end up with apache appending data to a rotated logfile that it still has an open file descriptor on. The file will be unlinked once the gzip compression has run. Now, writing to an unlinked file is allowed under Unix, but once that apache child process terminates and releases the descriptor the data will disappear into the ether, so you can lose log entries. Thank you very much Matthew! Just one final question. When the apache child process finally terminates, will apache start logging to a new log? Or will it be writing into the ether until it gets restarted? Thanks again! I appreciate your help. -- Zbigniew Szalbot www.LCWords.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: log size handling
Zbigniew Szalbot wrote: Hello, Matthew Seaman: Do I have to rotate them myself via a script in crontab? There are several ways to do this. Here's three in addition to the script that someone else just posted: * Use the 'G' option to newsyslog. 'G' says that the filename field of newsyslog.conf actually contains a shell globbing pattern (wildcard) and files matching that should be rotated and compressed. So would something like this work? /var/log/site-*.log 644 12*$M1D0 GZC /var/run/httpd.pid Many thanks in advance! Correct. Although you may want to add '30' as the 8th field -- that means 'send signal 30 (SIGUSR1) to apache instead of SIGHUP' -- SIGUSR1 causes apache to do a graceful restart rather than abruptly killing and restarting everything: http://httpd.apache.org/docs/2.2/stopping.html You'll need to experiment though -- if your user HTTP connections are long-lived, you can end up with apache appending data to a rotated logfile that it still has an open file descriptor on. The file will be unlinked once the gzip compression has run. Now, writing to an unlinked file is allowed under Unix, but once that apache child process terminates and releases the descriptor the data will disappear into the ether, so you can lose log entries. Cheers, Matthew -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW signature.asc Description: OpenPGP digital signature
Re: log size handling
Hello, Matthew Seaman: Do I have to rotate them myself via a script in crontab? There are several ways to do this. Here's three in addition to the script that someone else just posted: * Use the 'G' option to newsyslog. 'G' says that the filename field of newsyslog.conf actually contains a shell globbing pattern (wildcard) and files matching that should be rotated and compressed. So would something like this work? /var/log/site-*.log 644 12*$M1D0 GZC /var/run/httpd.pid Many thanks in advance! -- Zbigniew Szalbot www.LCWords.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pseudoterminals question
--- On Fri, 7/18/08, Unga <[EMAIL PROTECTED]> wrote: > 2) As per FAQ, > http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html: > "10.19.1 > Build and install a new kernel with the line in the > configuration file: > device pty N > where N is the number of requested pseudoterminals." > Ok, I tried to recompile the kernel. I have modified the GENERIC as follows: device pty 64 # Pseudo-ttys (telnet etc) Here is the compilation result: config: /usr/src/sys/i386/conf/GENERIC:268: syntax error *** Error code 1 So what is the correct syntax? Regards Unga ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
updating ghostscript-gpl with portupgrade
Hi, I want to update ports and when I try I see this error # portversion -l '<' freetype2 < ghostscript-gpl < # portupgrade -arR ** Makefile possibly broken: print/ghostscript-gpl: "Makefile", line 132: warning: drivers incompatible with WITHOUT_X11 will be removed automatically ghostscript-gpl-8.62_3 /usr/local/sbin/portupgrade:1468:in `get_pkgname': Makefile broken (MakefileBrokenError) from /usr/local/sbin/portupgrade:622:in `main' from /usr/local/sbin/portupgrade:613:in `each' from /usr/local/sbin/portupgrade:613:in `main' from /usr/local/sbin/portupgrade:588:in `catch' from /usr/local/sbin/portupgrade:588:in `main' from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `call' from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `parse_in_order' from /usr/local/lib/ruby/1.8/optparse.rb:1299:in `catch' ... 6 levels... from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize' from /usr/local/sbin/portupgrade:229:in `new' from /usr/local/sbin/portupgrade:229:in `main' from /usr/local/sbin/portupgrade:2208 I use FreeBSD 7 with up to date ports without X11. I don't have anything in make.conf except Perl lines. How can I update these ports? CC to me please. Ivaylo Bonev ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: quick question regarding jails.
Just wondering if a box has 2 Ethernet cards with each card going to a different gateway/network, is it possible to stick a jail on the machine listening on one network interface and routing data out one card/network/gatway while the rest of the system uses the other port and gateway/network. yes - no problem I hope that makes sense. TIA cheers cya Andrew -- Network Administrator / Manager Webzone Internet 1st Floor (Oakley Street Entrance) 167 Grote Street Adelaide SA, 5000 Phone 1300 303 932 Fax 08 8221 6204 Email [EMAIL PROTECTED] [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Time and Date configuration Gnome 2.22.3 FreeBSD 7.0
Hello Everyone, I am not sure if this is the correct mailing list to post this to, so my appologies in advance if it is not. I am requesting specific information here, so please respect this by NOT doing the following: 1) I do not want to read any me too replies in this thread, as they are pointless and a waste of space, not to meantion a waste of everyones time. 2) I am not interested in work arounds, just a specific fix to the issue that I am having. I have done a search on google, and according to the search on the mailing list here, using time, and gnome there are no results. I am having issues specifically with the Time and Date configuration in gnome 2.22.3 on freebsd 7.0-RELEASE-p2 What is happening, is if you click on System>Administration>Time and date, when it comes up all options are greyed out. This means that from within gnome, you are not able to set it up to sync with a time server, or even manually change the time and date. This was working, though with some of the updates to the ports collection I am not exactly sure when it stopped working. I have used cvsup to update the ports collection and have also used the standard-supfile to update the src list (leaving it at src-all). I have removed gnome by: pkg_deinstall -R x11/gnome2 and also by using: pkg_deinstall -Rf x11/gnome2 I have used pkgdb -F to fix any inconsistancies. I have deleted the .gconf .gconfd .gnome2 .gnome2_private directories. No matter what I have tried the issue still remains. Is there something else I need to delete in order to purge all of gnome, and start totally from scratch? I have followed ALL of the faq for de-installing gnome. What I want is to be able to adjust the time and date from within gnome as you are meant to be able to. Yes I am fully aware of the command line options. This is a work around and NOT a fix. A listing of uname -a is: FreeBSD freebsd 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #3: Fri Jul 4 20:43:40 NZST 2008 /usr/obj/usr/src/sys/CUSTOM amd64 Regards, Christopher ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: need help with boot forth
Victor Sudakov wrote: > > I am setting up a jumpstart server for networked FreeBSD installation > (tftp only). My /tftpboot/boot/loader.rc is rather simple: > > load /boot/kernel > load /boot/acpi.ko > load -t mfs_root /boot/mfsroot > set vfs.root.mountfrom="ufs:/dev/md0c" > boot > > It works fine with a custom kernel (with statically compiled in device > hints). > > However, I would like to use a stock kernel, so I need to tftp download > device.hints and set the kernel environment accordingly. Could you > please help me with the loader.rc code that will do that? I have found out that putting device hints into loader.rc in the form of loader environment variables: set hint.fdc.0.at="isa" set hint.fdc.0.port="0x3F0" set hint.fdc.0.irq="6" set hint.fdc.0.drq="2" set hint.fd.0.at="fdc0" set hint.fd.0.drive="0" set hint.fd.1.at="fdc0" set hint.fd.1.drive="1" set hint.ata.0.at="isa" set hint.ata.0.port="0x1F0" set hint.ata.0.irq="14" does the job. However, if some Forth guru shows me how to tftp download and parse /tftpboot/boot/device.hints, I'd be most grateful. -- Victor Sudakov, VAS4-RIPE, VAS47-RIPN sip:[EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkgsrc vs ports
At 2008-07-18T01:15:10-04:00, Ansar Mohammed wrote: > Is there some definitive comparison between the ports collection and > netbsd's pkgsrc? Perhaps this could be a starter: "FreeBSD and NetBSD's pkgsrc: A strategic synergy for awesomeness", http://lists.freebsd.org/pipermail/freebsd-ports/2007-April/039802.html Enjoy, Raghavendra. -- N. Raghavendra <[EMAIL PROTECTED]> | http://www.retrotexts.net/ Harish-Chandra Research Institute | http://www.mri.ernet.in/ See message headers for contact and OpenPGP information. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
quick question regarding jails.
Howdy all, Just wondering if a box has 2 Ethernet cards with each card going to a different gateway/network, is it possible to stick a jail on the machine listening on one network interface and routing data out one card/network/gatway while the rest of the system uses the other port and gateway/network. I hope that makes sense. TIA cheers cya Andrew -- Network Administrator / Manager Webzone Internet 1st Floor (Oakley Street Entrance) 167 Grote Street Adelaide SA, 5000 Phone 1300 303 932 Fax 08 8221 6204 Email [EMAIL PROTECTED] [EMAIL PROTECTED] ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"