Unable to reach hosts outside my subnet after initial install
After a fresh installation of freeBSD 7.0, I am unable to communicate with any hosts beyond the local subnet. All important values (gateway, netmask,etc) were copied from other unix hosts on the same subnet. Presumably I've either failed to include something important or there is a conflict. Details follow... thanks for any assistance, ed %uname -a FreeBSD newdewey.soe.berkeley.edu 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERICi386 here's the current net config: newdewey# ifconfig xl0: flags=8843 metric 0 mtu 1500 options=9 ether 00:01:02:c1:b6:fb inet 128.32.157.5 netmask 0xff00 broadcast 128.32.157.255 media: Ethernet autoselect (100baseTX ) status: active plip0: flags=108810 metric 0 mtu 1500 lo0: flags=8049 metric 0 mtu 16384 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x3 inet6 ::1 prefixlen 128 inet 127.0.0.1 netmask 0xff00 Here's the contents of /etc/rc.conf: newdewey# more rc.conf # -- sysinstall generated deltas -- # Thu May 22 21:45:55 2008 # Created: Thu May 22 21:45:55 2008 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. defaultrouter="128.32.157.1" hostname="newdewey.soe.berkeley.edu" ifconfig_xl0="inet 128.32.157.5 netmask 255.255.255.0" inetd_enable="YES" linux_enable="YES" # -- sysinstall generated deltas -- # Tue May 27 19:42:16 2008 router_flags="-q" router="/sbin/routed" router_enable="YES" %netstat -r Routing tables Internet: DestinationGatewayFlagsRefs Use Netif Expire defaultfast2-2.inr-240-mu UGS 0 1088xl0 localhost localhost UH 0 905lo0 128.32.157.0 link#1 UC 00xl0 fast2-2.inr-240-mu 00:0c:86:7a:75:c0 UHLW20xl0 1197 dewey 08:00:2b:86:6e:ca UHLW1 77xl0 1144 tolman-18.LIPS.Ber 00:0a:95:b1:e7:fe UHLW10xl0 Finally, the current situation is that I can ping hosts on the 128.32.157.* subnet, but not anything beyond. newdewey# ping google.com PING google.com (64.233.187.99): 56 data bytes ^C --- google.com ping statistics --- 5 packets transmitted, 0 packets received, 100.0% packet loss newdewey# ping dewey.soe.berkeley.edu PING dewey.soe.berkeley.edu (128.32.157.3): 56 data bytes 64 bytes from 128.32.157.3: icmp_seq=0 ttl=64 time=0.360 ms 64 bytes from 128.32.157.3: icmp_seq=1 ttl=64 time=0.320 ms ^C --- dewey.soe.berkeley.edu ping statistics --- 2 packets transmitted, 2 packets received, 0.0% packet loss round-trip min/avg/max/stddev = 0.320/0.340/0.360/0.020 ms ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD and User Security
On Jun 12, 2008, at 3:24 PM, David Naylor wrote: This is a general enquiry. What had sparked my interest in this subject is the above mentioned article. In this case it is a workstation used to access and manage account and cash flows. The threat would be anyone gaining access to 'divert' funds to incorrect accounts, for obvious personal gains. How much money are we talking about? If it is billions of NZD that is one thing, if it is thousands of NZD that is another. The question is would someone with resources make a concerted effort to specifically target your system? If so, you should hire a local professional. If your concern is more about the kinds of wide spread automated attacks, then really it's just a matter of doing the basic sorts of things. Disabling root SSH logins, have your perimeter firewall check for unusual out-bound traffic, and of course, keeping the system properly updated. Specifically, the two threats would be remote attach (such as spyware being deployed, or gaining remote access) I haven't played around with it, but you might want to look at Mandatory Access Control (described in the Handbook). It's something that has been on my "to learn" list for a while, but I am getting through that list very slowly. From what you've said, it sounds like you are talking about a multi-user system. Something like MAC really may be the best approach to preventing individual users from being tricked into doing stupid things. or physical access (in which case keeping the username and password safe will be the only option? Assuming their is no compromise on the human side) For a typical machine, physical access means all access. If I have physical access to a machine, I may be able to boot it from my own boot media (a CD for example) and then read everything on the hard disks. I could remove the disks and copy them. I could install a physical keystroke logger between the keyboard and the box. There really is a lot that can be done with physical access. So if you have reason to believe that attackers would have physical access to the machine, you should use encrypted file systems. Note that with both MAC and encrypted file systems you run an increased risk of locking yourself out of the system by accident. So what measures you wish to take, with their additional costs and risks, depends on a careful and realistic view of what the threats are. I've enjoyed this discussion. Cheers, -j ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is FreeBSD suitable for my thinkpad T61 ?
[EMAIL PROTECTED] wrote: For example, I think the installation and local language support(I need to read and input Chinese frequently) of ubuntu may be better than FreeBSD. I believe most of those sorts of enhancements would be provided by the applications or desktop environment. Gnome or KDE should have similar language support regardless of OS. However, you may have to enable language-specific features when building each port - run 'make config' before building to be sure there aren't any optional but disabled options related to language support. There are also language specific ports of some applications - check the ports tree in /usr/ports/chinese/ for information (after installing). --Andrew smime.p7s Description: S/MIME Cryptographic Signature
Re: Tried to symlink /etc to another disk, now stuck
Steve Bertrand wrote: If the disk type is known, it is as simple as typing the appropriate location of the root fs at that prompt and the system will come up. I don't remember about FreeBSD 4, but last time I dealt with a broken fstab on FreeBSD 6 I could just press tab to get a list of valid block devices. Then, I could just try each one until it worked - very useful for when you move IDE cabling around and the drive numbers change. --Andrew smime.p7s Description: S/MIME Cryptographic Signature
Re: sendmail: stat=Deferred: Can't assign requested address
greetings, derek, much appreciated the prompt reply On Wed, Jun 11, 2008 at 12:43:42PM -0500, Derek Ragona wrote: > At 06:36 AM 6/11/2008, jonathan michaels wrote: bit of history trimed for brevity > >in teh freebsd.mc/sendmail.mc and a 'make install' to cover all > >bases. > > > >i treied to restart teh mailqueue ... no luck .. grrr > > > > and then an entry into the mailertable > > > >. esmpt:mail.caamora.com.au > > > >again did the make whatever thingie and ... tried to post, > >again this defered post business .. can't asign .. > > > >there is something going on here that i donot understand .. > >some enlightenment would be appreciated, please. > > > >the few bits i found in yahoosearch engine, google resfuses me > >access still but yahoo i can use. i looked uo the error message > >and turned up this one endrt refereing to teh linux incedent, i > >have a copy of bat book ed 1 it just says it exists, same for > >smart_host mail_hub macros. > > > >is there some way to fix this short of upgrading and mvoing to > >postfix ?? i don't have teh needed stuff to do that just yet > >(me and hardware issues) > > > >it looks like i've missed somethings but i don't know enough > >about freebsd v6.x to know even where to start to look for this > >one .. aside from this i have another v6.2 host that also was > >doing the same thing but after i copied a working set of > >sendmail configs and restarted sendmail it work properly except > >teh it dosent forward the "charlie root" mail from teh > >maintenece events (at 2 am. 3 am and 4 am from teh /etc/cron > >events) the mail itesm just sit in teh /var/mail/root folder > > > >it has taken me just under 6 mnths to get this far, i've come > >to teh end of my rope and am seriously thinking of going back > >to freebsd v2.2.5 .. > > > >regards/appreciations/much graciousnessess > > > >jonathan > > You need to have in /etc/mail/mailertable: > .caamora.com.au esmpt:mail.caamora.com.au > and rebuild mailertable.db should not the "esmpt:" rather be "esmtp:" most of teh literature that i have read recently says it the esmtp way .. i live with dsylexia amongst other neurological disabilities and need to double/triple/add a few more time to check things before i am confident of success (not failing) based on 'spelling' alone. > In /etc/mail/domaintable: > mail.caamora.com.au > and rebuild domaintable.db i used to run a uucp mail service for several clients back in teh fidonet days (internet to fidonet gateway) and this made sence then, now i fali to understand the need .. i just do not know and would appreciate a bit of an explanation please .. mail.caamora.com.au is an alias (in the dns file and /etc/hosts) for the machine seaholm.caamora.com.au which is the primary mailserver for the domain .caamora.com.au ... is not tthe domaintable used to remap an old domain to a new domain name after some soprt of a change or to use names in 'rule 3' mappings .. if i have missunderstood my readings i apoloise, i am new to sendmail fiddlings, i set it up ten years ago and it worked i now have to relearn who and why .. my disabilities have gotten a bit worse because of teh medicines i need to take and this makes learning a bit on teh harder side .. but not impossible > in /etc/mail/local-host-names: > caamora.com.au check, it was done long time ago > and double check your MX record and /etc/hosts i looked at my dns files and found a small disaprity from a name change about 2 years ago, i made teh change in teh main file but forgot to carry it into teh reverse lookup file, g. as for the MX records they have been much teh same for about 15 years, i like long term stability makes for peace of mind , the down side is that when things go wrong like this, it is a nightmare to recall what, how did/done way back when the system was built/changed last .. makes for lots of work sometimes. > Once that is all done, execute: > /etc/rc.sendmail stop > wait until all instances die then: > /etc/rc.sendmail start ok .. did teh checks, made teh changes, even the domaintable, though i don;t understand how it works, the only thing i don't do as you wrote was teh esmpt .. i used teh more popular esmtp ?? apart from fixing teh esmtp mistype i did it all and checked teh mx host my dns setup and still its dead in teh water, still defering all mail out from this box. might it have some thing to do with this line in teh sendmail config line it is commented out ?? the one reference that i found on teh world wide internet made some sort of reference to this being the cause in the linux machine that had a similar issue back in 2003 ??? # SMTP client options #O ClientPortOptions=Family=inet, Address=0.0.0.0 what would happen if i uncommented this line in teh sendmail.cf file ? also, what use are teh sendmail config files that are named /etc/mail/host,name.cf when i forst installed freebsd in this machine it built these files and since then nothing has touched the two files .. what are t
Re: Tried to symlink /etc to another disk, now stuck
To the OP...if you know what your disk type is, you CAN get it to continue to mount root at the mountroot prompt. Furthering that, you can also fsck and mount your other disk mountpoints in order to gain access to your editing binaries. I'm sorry to reply to my own posts, but I'd like to point out that this exact scenario is a very good reason as to why I make either a digital or printout copy of my /etc/fstab file of every machine I run. Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Tried to symlink /etc to another disk, now stuck
Steve Bertrand wrote: Dan Nelson wrote: I'm off to try it. I've got a system here with a da device. I'll fsck up /etc/fstab, reboot, and report back with the appropriate mountroot> prompt entry... # cat /etc/fstab # DeviceMountpoint FStype Options Dump Pass# /dev/da0a / ufs rw,noatime 1 1 md /tmpmfs rw,-s32M,nosuid,noatime 0 0 (..snip..) ..change /etc/fstab to mount root to /dev/ad15a, reboot: mountroot> # mountroot>ufs:/dev/da0a {ENTER} ...machine boots up. To the OP...if you know what your disk type is, you CAN get it to continue to mount root at the mountroot prompt. Furthering that, you can also fsck and mount your other disk mountpoints in order to gain access to your editing binaries. There is no need to use an external resource to boot the machine from if you are already aware that the only thing that got fsck'd up is the mountpoints in the fstab (or, like in this case, the file was unavailable entirely). The disk structure is still the same, and the system can see this with manual intervention. OP: at the mountroot> prompt, try this: ufs:/dev/ad0s1a and see if you get anywhere. Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Tried to symlink /etc to another disk, now stuck
Dan Nelson wrote: To make a long story shorter, is there any hope for getting a privileged user account on this machine to move /etc back to where it should be? It may be easiest to boot a live CD (FreeSBIE, or a FreeBSD-7 install disc 1 should work), mount both of your hard drives from it, and put /etc back where it belongs that way. This is a very good point, but in this case, if its only /etc that has been relocated, the system is at mountroot> because fstab can't be found. If the disk type is known, it is as simple as typing the appropriate location of the root fs at that prompt and the system will come up. Under single user, the OP would have full access to everything to revert the changes (perhaps other disk areas with binaries may have to be mounted manually as well)... I'm off to try it. I've got a system here with a da device. I'll fsck up /etc/fstab, reboot, and report back with the appropriate mountroot> prompt entry... Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Tried to symlink /etc to another disk, now stuck
In the last episode (Jun 12), Glenn Gillis said: > I think I did just about the worst thing I could do to my > organization's FreeBSD-4.11 email server today: > > I was trying to free up space on the root disk and attempted to copy > the /etc directory to another disk, /new/etc, then delete and symlink > the old location to the new: > > $ sudo cp -Rp /etc /new/etc > $ sudo rm -rd /etc/; sudo ln -s /new/etc /etc > > Of course, with the sudoers file in the original /etc directory, the > first "sudo" command to remove the /etc directory disabled the second > "sudo" command's ability to run. > > Now, I cannot log in as a privileged user to copy or move /new/etc > back to /etc. (Because the password files were also in /etc.) I've > tried booting into Single User mode with "boot -s" at the boot > prompt, only to receive a "mountroot>" prompt wanting to know where > to find the root filesystem. I've also tried booting from my > installation distribution, but can't get out of the installation > without the machine rebooting. > > To make a long story shorter, is there any hope for getting a > privileged user account on this machine to move /etc back to where it > should be? It may be easiest to boot a live CD (FreeSBIE, or a FreeBSD-7 install disc 1 should work), mount both of your hard drives from it, and put /etc back where it belongs that way. -- Dan Nelson [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: Stripe sizes with gstripe
On Jun 12, 2008, at 3:21 PM, Kirk Strauser wrote: Does gstripe read an entire stripe at a time? If so, why do that instead of just reading a few requested blocks? If not, then is there any advantage to large stripes? Apparently it won't read anything larger than your stripe size which defaults to a miserable 4k. Doesn't appear the driver collects multiple pending reads and merges them into one transaction. Don't know if ATA/SATA allows that or not, believe it was called "scatter/gather" in SCSI. Built a gstripe volume a while back and played with various stripe sizes trying to maximize KB/t as shown in "systat -v" during massive file read/writes. A stripe size of 131072 (128k bytes) was the best I could get at about 43 KB/t. About 25 MB/sec each on two drives that are capable of 4x that on a Mac Pro (about 55 MB/sec single drive on inner tracks to 100 MB/sec on outer, reading with md5). Anyway, throughput was terrible with the default 4k stripe. If there is a tuning knob that I have missed, would appreciate being told what. IIRC vinum's default stripe was about 87.5kB and "systat -v" reported transactions of that size. -- David Kelly N4HHE, [EMAIL PROTECTED] Whom computers would destroy, they must first drive mad. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: IPv6 jails for FreeBSD (6.* preferably)
Daniel Gerzo wrote: Tuesday, June 3, 2008, 8:27:56 PM, you wrote: does patch exist for it? http://sources.zabbadoz.net/freebsd/jail.html Trying to apply the aforementioned patches, I ran into this during buildkernel. I'll remove src, re csup and rebuild and try again. If there is a more appropriate list for this, please let me know... build# uname -a FreeBSD build.ibctech.ca 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Fri Feb 29 11:53:16 EST 2008 root@:/usr/obj/usr/src/sys/GENERIC i386 /usr/src/sys/kern/kern_jail.c: In function 'jail': /usr/src/sys/kern/kern_jail.c:174: error: 'ip4' undeclared (first use in this function) /usr/src/sys/kern/kern_jail.c:174: error: (Each undeclared identifier is reported only once /usr/src/sys/kern/kern_jail.c:174: error: for each function it appears in.) /usr/src/sys/kern/kern_jail.c:179: error: 'ip6' undeclared (first use in this function) cc1: warnings being treated as errors /usr/src/sys/kern/kern_jail.c:227: warning: label 'e_free_ip' defined but not used *** Error code 1 Stop in /usr/obj/usr/src/sys/GENERIC. *** Error code 1 Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Tried to symlink /etc to another disk, now stuck
Glenn Gillis wrote: Now, I cannot log in as a privileged user to copy or move /new/etc back to /etc. (Because the password files were also in /etc.) I've tried booting into Single User mode with "boot -s" at the boot prompt, only to receive a "mountroot>" prompt wanting to know where to find the root filesystem. What type of disk(s) do you have in the box? I can't remember the exact syntax of the mountroot prompt, but I'll break one of my machines here to 'remind' myself if you know what driver you use for your root partition. ad (IDE) ar (RAID) da (SCSI) ...etc. Steve ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Tried to symlink /etc to another disk, now stuck
I think I did just about the worst thing I could do to my organization's FreeBSD-4.11 email server today: I was trying to free up space on the root disk and attempted to copy the /etc directory to another disk, /new/etc, then delete and symlink the old location to the new: $ sudo cp -Rp /etc /new/etc $ sudo rm -rd /etc/; sudo ln -s /new/etc /etc Of course, with the sudoers file in the original /etc directory, the first "sudo" command to remove the /etc directory disabled the second "sudo" command's ability to run. Now, I cannot log in as a privileged user to copy or move /new/etc back to /etc. (Because the password files were also in /etc.) I've tried booting into Single User mode with "boot -s" at the boot prompt, only to receive a "mountroot>" prompt wanting to know where to find the root filesystem. I've also tried booting from my installation distribution, but can't get out of the installation without the machine rebooting. To make a long story shorter, is there any hope for getting a privileged user account on this machine to move /etc back to where it should be? -- Glenn Gillis ELAW U.S. Information Technology Manager Environmental Law Alliance Worldwide http://www.elaw.org ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is FreeBSD suitable for my thinkpad T61 ?
Wojciech Puchar wrote: Is FreeBSD going to enhance himself on the desktop ? It seems that FreeBSD i don't understand your question. FreeBSD can run any unix program, be in "server program" or "desktop program" whatever "desktop" means for you. there is nothing to be enhanced. I beg to differ. There is far more desktop particularly multimedia development in Linux - lots more people and much wider range of interests. Programs that are not available for FreeBSD include Cinelerra, projectM and (I think, but please prove me wrong) the climateprediction.net BOINC project. If you only want applications that are in the ports tree (and the vast majority are) chances are they are pretty current and work well, in which case FreeBSD makes an easy to maintain, fast, stable desktop. It depends how much of a hacker you are. If you want out-of-the-box and you don't mind kde then choose between pcbsd or desktopbsd. If you want out-of-the-box and gnome I think you are out of luck. If you don't mind diy FreeBSD is your toolbox. There was a discussion about this in questions a while back. Look for subject FreeBSD & Linux distro. Chris ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" No virus found in this incoming message. Checked by AVG. Version: 8.0.100 / Virus Database: 270.3.0/1499 - Release Date: 6/12/2008 7:13 AM ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: multiple ntpd processes
On Thu, Jun 12, 2008 at 02:17:46PM -0700, Nerius Landys wrote: > I'm running FreeBSD 7.0, and I have 'ntpd_enable="YES"' in my /etc/rc.conf. > Every time I reboot my server, I get two ntpd processes: > > [EMAIL PROTECTED] ps -U root | grep ntpd > PID TT STAT TIME COMMAND > 571 ?? Ss 0:00.12 /usr/sbin/ntpd -c /etc/ntp.conf -p > /var/run/ntpd.pid > 686 ?? S 0:00.00 /usr/sbin/ntpd -c /etc/ntp.conf -p > /var/run/ntpd.pid This is normal. ntpd spawns a secondary process to check timesyncs on startup. Have a look at the parent-child links with "ps l". It goes away after it has decided which time-source to use. -- Jonathan Chen <[EMAIL PROTECTED]> -- "In mathematics you don't understand things. You just get used to them." - Johann von Neumann ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Intel Dual PRO/1000 Nic - Setup of shared code failed
On Jun 12, 2008, at 6:38 PM, Robert Huff wrote: Christopher Sean Hilton writes: I can try that later but given that the em driver is already in the kernel I don't expect it to bear fruit. However, can you do a kldstat on your machine with the em card? It will tell me if there is some firmware module or something that I'm missing. huff@>> kldstat Id Refs AddressSize Name 1 47 0xc040 4b9868 kernel (/boot/kernel/kernel) 22 0xc08ba000 29820linux.ko (/boot/kernel/linux.ko) 31 0xc08e4000 2839cif_em.ko (/boot/kernel/if_em.ko) 41 0xc090d000 24b4 accf_http.ko (/boot/kernel/accf_http.ko) 51 0xc091 6a808acpi.ko (/boot/kernel/acpi.ko) 61 0xc4e76000 7000 linprocfs.ko (/boot/kernel/linprocfs.ko) 71 0xc5207000 1f000nfsserver.ko (/boot/kernel/nfsserver.ko) 81 0xc5239000 a000 nfslockd.ko (/boot/kernel/nfslockd.ko) 91 0xc5244000 f000 krpc.ko (/boot/kernel/krpc.ko) P.S. In digging around on Google I found kern/117926 in the Bug tracking system. That machine has a ASUS P4B motherboard. Doesn't look like there's a firmware module though. Thanks -- Chris Chris Hilton e: chris|at|vindaloo| dot|com "The pattern juggler lifts his hand; The orchestra begin. As slowly turns the grinding wheel in the court of the crimson king." -- Ian McDonald / Peter Sinfield ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Intel Dual PRO/1000 Nic - Setup of shared code failed
Christopher Sean Hilton writes: > I can try that later but given that the em driver is already in the > kernel I don't expect it to bear fruit. However, can you do a kldstat > on your machine with the em card? It will tell me if there is some > firmware module or something that I'm missing. huff@>> kldstat Id Refs AddressSize Name 1 47 0xc040 4b9868 kernel (/boot/kernel/kernel) 22 0xc08ba000 29820linux.ko (/boot/kernel/linux.ko) 31 0xc08e4000 2839cif_em.ko (/boot/kernel/if_em.ko) 41 0xc090d000 24b4 accf_http.ko (/boot/kernel/accf_http.ko) 51 0xc091 6a808acpi.ko (/boot/kernel/acpi.ko) 61 0xc4e76000 7000 linprocfs.ko (/boot/kernel/linprocfs.ko) 71 0xc5207000 1f000nfsserver.ko (/boot/kernel/nfsserver.ko) 81 0xc5239000 a000 nfslockd.ko (/boot/kernel/nfslockd.ko) 91 0xc5244000 f000 krpc.ko (/boot/kernel/krpc.ko) > P.S. In digging around on Google I found kern/117926 in the Bug > tracking system. That machine has a ASUS P4B motherboard. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Intel Dual PRO/1000 Nic - Setup of shared code failed
On Jun 12, 2008, at 4:43 PM, Robert Huff wrote: Christopher Sean Hilton writes: I just got an Intel Dual gigabit nic that I planned to use with FreeBSD 7-STABLE. I'm using this on FreeBSD 7.0-CURRENT #1: Sat Apr 19 23:17:00 EDT 2008 i386 with no problems. Sounds cool. I had one going in an older laptop as early as 5.x- STABLE I'm pretty sure it's strongly supported by FreeBSD. Actually, the code is cotributed/maintained by Intel. Did you have to do anything special to get it going? huff@>> more /boot/loader.conf | grep _em if_em_load="YES" Your mileage may vary. Yeah, my first instinct was to assume that the em driver isn't in the GENERIC kernel to so I did this: # kldload -v if_em Which promptly fired back a bunch of errors about duplicate symbols. At that time I figured that the em module is already loaded into the GENERIC kernel. This was confirmed by doing: # grep '^device.*em' /usr/src/sys/i386/conf/GENERIC device mly # Mylex AcceleRAID/eXtremeRAID device em # Intel PRO/1000 adapter Gigabit Ethernet Card device nge # NatSemi DP83820 gigabit Ethernet ... I can try that later but given that the em driver is already in the kernel I don't expect it to bear fruit. However, can you do a kldstat on your machine with the em card? It will tell me if there is some firmware module or something that I'm missing. -- Chris P.S. In digging around on Google I found kern/117926 in the Bug tracking system. Chris Hilton e: chris|at|vindaloo| dot|com "The pattern juggler lifts his hand; The orchestra begin. As slowly turns the grinding wheel in the court of the crimson king." -- Ian McDonald / Peter Sinfield ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sound card
Thank you all for your replies. It was snd_ich. And sorry for the double post to the list. Despite having the list option "Receive your own posts to the list" set, it seems when I send messages to [EMAIL PROTECTED] I don't get my own copy. I reread the mailing list info on the freebsd.org page and it said to send messages to [EMAIL PROTECTED] so I thought the option to send to [EMAIL PROTECTED] must have been removed and only to [EMAIL PROTECTED] must be working now. Strangely, when I send to [EMAIL PROTECTED], I get my own copy. Joey On Thu, Jun 12, 2008 at 1:45 PM, <[EMAIL PROTECTED]> wrote: > Joey, > More than likely snd_ich but best bet is to: > kldunload snd_driver > kldload snd_ich > dmesg > if pcm0 doesn't load then: > kldload snd_hda > > Jeff >> >> Hi, >> >> I'm trying to determine what sound card a notebook has. There are >> three relevant dmesg lines below, but looking at freebsd's hardware >> notes, I can't tell whether I should use the snd_ich(4) driver for an >> Intel ICH4 card, the snd_hda(4) driver for an 82801 card or a sigmatel >> card. Any suggestions? >> >> >> %cat /var/run/dmesg.boot| grep pcm >> pcm0: port 0xee00-0xeeff,0xe000-0xe03f mem >> 0xffaff800-0xffaff9ff,0xffaff400-0xffaff4ff irq 4 at device 31.5 on >> pci0 >> pcm0: [ITHREAD] >> pcm0: >> >> Thanks, >> >> Joey >> ___ >> 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]"
multiple ntpd processes
I'm running FreeBSD 7.0, and I have 'ntpd_enable="YES"' in my /etc/rc.conf. Every time I reboot my server, I get two ntpd processes: [EMAIL PROTECTED] ps -U root | grep ntpd PID TT STAT TIME COMMAND 571 ?? Ss 0:00.12 /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid 686 ?? S 0:00.00 /usr/sbin/ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid When I run '/etc/rc.d/ntpd stop' it kills the first process in the output above but leaves the second one. I must manually kill this second process and then run '/etc/rc.d/ntpd start' to get ntpd to function normally, otherwise [while there are 2 processes running] ntpd does not seem to keep the clock in sync. Please help. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: multiple ntpd processes
In addition, here are the contents of my /etc/ntp.conf file: server 0.us.pool.ntp.org server 1.us.pool.ntp.org server 2.us.pool.ntp.org server 3.us.pool.ntp.org restrict default kod nomodify notrap nopeer noquery I'm running FreeBSD 7.0, and I have 'ntpd_enable="YES"' in my /etc/rc.conf. > Every time I reboot my server, I get two ntpd processes: > > [EMAIL PROTECTED] ps -U root | grep ntpd > PID TT STAT TIME COMMAND > 571 ?? Ss 0:00.12 /usr/sbin/ntpd -c /etc/ntp.conf -p > /var/run/ntpd.pid > 686 ?? S 0:00.00 /usr/sbin/ntpd -c /etc/ntp.conf -p > /var/run/ntpd.pid > > When I run '/etc/rc.d/ntpd stop' it kills the first process in the output > above but leaves the second one. I must manually kill this second process > and then run '/etc/rc.d/ntpd start' to get ntpd to function normally, > otherwise [while there are 2 processes running] ntpd does not seem to keep > the clock in sync. Please help. > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Samba & FreeBSD
At 03:36 PM 6/12/2008, white list wrote: hope to be in the right place, I'm seeking help join a FreeBSD 6.2 machine to a ADS Windows 2008. when I execute "net ads join -U Administrator" I get a "/libexec/ld-elf.so.1: /usr/lib/libkrb5.so.8: Undefined symbol "init_error_table" error message. [global] dos charset = cp866 unix charset = koi8-r display charset = koi8-r workgroup = LAB realm = LAB.NET server string = SambaServer security = ADS password server = SAFAD.LAB.NET log file = /var/log/samba/log.%m max log size = 50 socket options = SO_RCVBUF=8192 SO_SNDBUF=8192 logon script = %U.bat logon path = \\%L\Profiles\%U os level = 33 preferred master = No local master = No domain master = No dns proxy = No wins server = safad.lab.net idmap uid = 600-2 winbind separator = / winbind enum users = Yes winbind enum groups = Yes winbind use default domain = Yes inherit acls = Yes map acl inherit = Yes map archive = No store dos attributes = Yes this is my global configuration, Thanks, Augustin, _ I believe this is an upgraded FreeBSD system, You need to rebuild samba so it is linked to the correct libraries. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Upgrading a System from Freebsd6.2 to 6.3
On Thursday 12 June 2008, Martin McCormick wrote: > Can I upgrade a system from 6.2 to 6.3 by changing the > > *default tag=RELENG_6_2 > line in my cvs-supfile to > *default tag=RELENG_6_3 > > Then, I just do the usual remaking of the world and > kernel. Yep! Be sure to check in /usr/src/UPDATING to see if there are any special gotchas. -- Kirk Strauser signature.asc Description: This is a digitally signed message part.
Samba & FreeBSD
hope to be in the right place, I'm seeking help join a FreeBSD 6.2 machine to a ADS Windows 2008. when I execute "net ads join -U Administrator" I get a "/libexec/ld-elf.so.1: /usr/lib/libkrb5.so.8: Undefined symbol "init_error_table" error message. [global] dos charset = cp866 unix charset = koi8-r display charset = koi8-r workgroup = LAB realm = LAB.NET server string = SambaServer security = ADS password server = SAFAD.LAB.NET log file = /var/log/samba/log.%m max log size = 50 socket options = SO_RCVBUF=8192 SO_SNDBUF=8192 logon script = %U.bat logon path = \\%L\Profiles\%U os level = 33 preferred master = No local master = No domain master = No dns proxy = No wins server = safad.lab.net idmap uid = 600-2 winbind separator = / winbind enum users = Yes winbind enum groups = Yes winbind use default domain = Yes inherit acls = Yes map acl inherit = Yes map archive = No store dos attributes = Yes this is my global configuration, Thanks, Augustin, ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Intel Dual PRO/1000 Nic - Setup of shared code failed
Christopher Sean Hilton writes: > >> I just got an Intel Dual gigabit nic that I planned to use with > >> FreeBSD 7-STABLE. > > > >I'm using this on > > > > FreeBSD 7.0-CURRENT #1: Sat Apr 19 23:17:00 EDT 2008 i386 > > > > > >with no problems. > > Sounds cool. I had one going in an older laptop as early as 5.x-STABLE > I'm pretty sure it's strongly supported by FreeBSD. Actually, the code is cotributed/maintained by Intel. > Did you have to do anything special to get it going? huff@>> more /boot/loader.conf | grep _em if_em_load="YES" Your mileage may vary. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Intel Dual PRO/1000 Nic - Setup of shared code failed
On Jun 12, 2008, at 4:03 PM, Robert Huff wrote: Christopher Sean Hilton writes: I just got an Intel Dual gigabit nic that I planned to use with FreeBSD 7-STABLE. I'm using this on FreeBSD 7.0-CURRENT #1: Sat Apr 19 23:17:00 EDT 2008 i386 with no problems. Sounds cool. I had one going in an older laptop as early as 5.x-STABLE I'm pretty sure it's strongly supported by FreeBSD. Did you have to do anything special to get it going? -- Chris Chris Hilton tildeChris -- http://myblog.vindaloo.com email -- chris/at/vindaloo/ dot/com .~ ~ .--.~ ~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~. "I'm on the outside looking inside, What do I see? Much confusion, disillution, all around me." -- Ian McDonald / Peter Sinfield ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Upgrading a System from Freebsd6.2 to 6.3
Can I upgrade a system from 6.2 to 6.3 by changing the *default tag=RELENG_6_2 line in my cvs-supfile to *default tag=RELENG_6_3 Then, I just do the usual remaking of the world and kernel. I don't know if I missed it, but I did not even find the word 'upgrade' in the handbook table of contents. I have a string of 6.2 systems that need to be 6.3 and can't be down for much more than the reboot time. #*default tag=. *default tag=RELENG_6_2 *default host=cvsup15.us.freebsd.org *default prefix=/usr *default base=/var/db *default release=cvs delete use-rel-suffix src-all Thsnks. Martin McCormick WB5AGZ Stillwater, OK Systems Engineer OSU Information Technology Department Network Operations Group ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD and User Security
On Thursday 12 June 2008 18:43:40 you wrote: > On Jun 12, 2008, at 8:19 AM, David Naylor wrote: > > I think this argument is rather mute, just because there are no > > programs > > exploiting security vulnerabilities does not been there are not > > vulnerabilities, > > But it is far from moot if you are interested in the actual threat > against your system. In a sense, using a less popular OS is a form of > "security by obscurity" which is not to be heavily relied on, but > still it does make a real, practical, difference in the case that you > described. Very true, however having a large scale usage of FreeBSD (for example, if a government were to adopt it) would bring pressure to bare. For anything but such a large scale adoption in the medium to long term then it is a valuable 'asset'. > > and a determined cracker would create his own program. > > You have not articulated what you are trying to defend against. Do > you anticipate determined crackers going after your particular system > and what resources will such attackers have? We can't talk about a > system being "secure" in general, but the question needs to be framed > in terms of "secure against what". This is a general enquiry. What had sparked my interest in this subject is the above mentioned article. In this case it is a workstation used to access and manage account and cash flows. The threat would be anyone gaining access to 'divert' funds to incorrect accounts, for obvious personal gains. Specifically, the two threats would be remote attach (such as spyware being deployed, or gaining remote access) or physical access (in which case keeping the username and password safe will be the only option? Assuming their is no compromise on the human side) > > That said I hope there are, actually, no vulnerabilities. > > That is demanding too much. What you need to hope for is a > combination of "no known unpatched vulnerabilities at the moment" and > more importantly "procedures and practices to keep things that way". > As Bruce Schneier likes to say, "Security is not a product but a > process". The vast majority of actual system compromises involve > failure of system administrators to keep systems patched and follow > good security practices. Good point! Thank goodness for automatic signed incremental updates (that actually work) Leason: always keep your system up-to-date! (With security patches) > One reason that I switched from Linux to FreeBSD is that I find it > much easier to maintain FreeBSD, particularly in terms of security > updates. I have been responsible for Linux machines that did get > rooted because I was having problems keeping them up-to-date for a > variety of reasons. > > > [Security through obscurity is just an illusion] > > In your post you mentioned concern about spyware. It is not an > illusion that FreeBSD has not been targeted by spyware writers while > Windows has. Even if some of that is the consequence of security by > obscurity, it is no illusion. Of course we need to understand that > those security benefits from obscurity are fragile, but we shouldn't > dismiss it entirely. Point taken. > Again, what sorts of benefits such things may add (or subtract) > depends on the nature of the attacker. Thank you for your feedback David signature.asc Description: This is a digitally signed message part.
Stripe sizes with gstripe
Does gstripe read an entire stripe at a time? If so, why do that instead of just reading a few requested blocks? If not, then is there any advantage to large stripes? -- Kirk Strauser signature.asc Description: This is a digitally signed message part.
Intel Dual PRO/1000 Nic - Setup of shared code failed
Christopher Sean Hilton writes: > I just got an Intel Dual gigabit nic that I planned to use with > FreeBSD 7-STABLE. I'm using this on FreeBSD 7.0-CURRENT #1: Sat Apr 19 23:17:00 EDT 2008 i386 with no problems. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Rsync From FreeBSD To Windows
Tim Daneliuk wrote: > I have an smbfs share that mounts at boot time on a 6.3-STABLE system. > I want to rsync from a FreeBSD directory to the Windows share. For > reasons I seem to not be able to discover, rsync insists on copying > every file, every time. The exact command is: > > rsync -va /FreeBSD-dir-tree /windows-mount > > I have tried -O -no-p without success. > > I'm guessing this is a problem mapping the filesystem semantics from > FreeBSD to SMB so that rsync always thinks the files on the > destination SMB share are out of date, but I cannot seem to find the > right magic to overcome this. > > > Ideas? (And TIA), Inevitably, as soon as I posted this, I finally discovered the problem, which is worth describing here to save other people the same suffering: 1) The problem occurs when the SMB mount is a FAT formatted drive. In this case, it was a USB drive plugged into the WinXP machine being used as removable backup medium. 2) The problem occurs because the FAT file entry has insufficient resolution to maintain exactly the same timestamp as FreeBSD. i.e., FreeBSD (and I presume Linux or other Unix variants) have a finer timestamp resolution than does FAT. 3) The fix is to tell rsync to not be so fussy about exact timestamp matches: rsync -va --modify-window=1 src dest 4) This assumes that the FreeBSD server and the Windows machine hosting the share are more-or-less synchronized to the correct absolute time. If they are not, the --modify-window= parameter may have to be larger to accommodate the difference in what each machine thinks the "correct time" is. -- Tim Daneliuk [EMAIL PROTECTED] PGP Key: http://www.tundraware.com/PGP/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Rsync From FreeBSD To Windows
I have an smbfs share that mounts at boot time on a 6.3-STABLE system. I want to rsync from a FreeBSD directory to the Windows share. For reasons I seem to not be able to discover, rsync insists on copying every file, every time. The exact command is: rsync -va /FreeBSD-dir-tree /windows-mount I have tried -O -no-p without success. I'm guessing this is a problem mapping the filesystem semantics from FreeBSD to SMB so that rsync always thinks the files on the destination SMB share are out of date, but I cannot seem to find the right magic to overcome this. Ideas? (And TIA), -- Tim Daneliuk [EMAIL PROTECTED] PGP Key: http://www.tundraware.com/PGP/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: question about posting to FreeBSD mailing lists
Novembre wrote: I tried to telnet to smtp.gmail.com, but it didn't work. Is that what you meant? Pretty much. The problem you're having is caused partially by being unable to manually set headers in many mail clients. If you have a server with Sendmail set up which can send outbound email you might be able to do it that way as well, by copying the message from the web and then sending the whole text instead of just the body. --Andrew smime.p7s Description: S/MIME Cryptographic Signature
Re: Poor read() performance, and I can't profile it
On Wednesday 11 June 2008, Chuck Swiger wrote: > If your data files are small enough to fit into 2GB of address space, > try using mmap() and then treat the file(s) as an array of records or > memoblocks or whatever, and let the VM system deal with paging in the > parts of the file you need. Otherwise, don't fread() 1 record at a > time, read in at least a (VM page / sizeof(record)) number of records > at a time into a bigger buffer, and then process that in RAM rather > than trying to fseek in little increments. During a marathon session last night, I did just that. I changed the sequential reads in the "outer" file to fread many records at a time. Then I switched to mmap() for the random-access file. The results were much better, with good CPU usage and only 3 times the wall clock runtime: [EMAIL PROTECTED] date; time /tmp/cdbf /tmp/invoice.dbf >/dev/null; date Thu Jun 12 13:56:49 CDT 2008 /tmp/cdbf /tmp/invoice.dbf > /dev/null 29.00s user 11.16s system 56% cpu 1:11.03 total Thu Jun 12 13:58:00 CDT 2008 [EMAIL PROTECTED] date; time /tmp/cdbf ~pgsql/data/frodumps/xbase/invoice.dbf invid ln >/dev/null; date Thu Jun 12 14:10:57 CDT 2008 /tmp/cdbf ~pgsql/data/frodumps/xbase/invoice.dbf invid ln > /dev/null 38.14s user 6.21s system 23% cpu 3:05.13 total Thu Jun 12 14:14:02 CDT 2008 > Also, if you're malloc'ing and freeing buf & memohead with every > iteration of the loop, you're just thrashing the malloc system; > instead, allocate your buffers once before the loop, and reuse them > (zeroize or copy new data over the previous results) instead. Also done. I'd gotten some technical advice from Slashdot (which speaks volumes for my clueless, granted) that made it sound like a good idea. I changed almost all the mallocs into static buffers. I'm still offering that shell account to anyone who wants to take a peek. :-) -- Kirk Strauser signature.asc Description: This is a digitally signed message part.
Re: question about posting to FreeBSD mailing lists
Novembre wrote: > On Mon, Jun 9, 2008 at 6:59 AM, Tore Lund <[EMAIL PROTECTED]> wrote: > >> Novembre wrote: >>> Hi, >>> >>> Is there any way to answer the posts in the mailing lists if one is not >>> subscribed to the list and does not receive them in his mailbox? From >> time >>> to time, I see posts which I can actually answer and contribute to, but >>> since I'm not subscribed to the lists, even if I post an answer to the >>> person asking the question and CC it to the list, it doesn't regroup with >>> other posts on the same topic. Is there any way around this? >> Besides what Randy wrote, several mailing lists are mirrored to >> newsgroups. I subscribe to muc.lists.freebsd.questions, even though I >> am subscribed to the list. (I prefer not to receive all that stuff as >> e-mail.) When answering a post, I have to edit the addresses, but my >> answer is then threaded properly. >> -- >> Tore > > I'm sorry, but I didn't quite get it. Do you mean that if I subscribe to the > newsgroup which mirrors the list, and if I answer the question in the > newsgroup, then it will be shown properly in the freebsd mailing lists as > well? I mean, is the mirroring one way or both-ways? The mirroring is one-way only. What I do in Thunderbird is to hit "Reply to All", delete the address lines beginning with "muc*" and add the address line "To: freebsd-questions@freebsd.org". I believe you said you were using a browser, so I don't know if what I describe can be done through some web site. But it works fine for me in Thunderbird, and it will probably work fine in any other newsreader. -- Tore ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: question about posting to FreeBSD mailing lists
On Tue, Jun 10, 2008 at 10:17 AM, Andrew Berry <[EMAIL PROTECTED]> wrote: > On 10-Jun-08, at 12:10 AM, Novembre wrote: > > So to be more specific, how can I answer to a post from a mailing list >> from >> within my, e.g., GMail or Yahoo! mailboxes? >> > > You might be able to use telnet to open a connection to Google's SMTP > servers, and paste the entire message, headers included, into the > transmission. You'd have to know how to manually use SMTP and hope that > Google accepts email from your machine. You could also look into writing a > script in (Perl or Python would be good) to allow you to do it yourself, so > you would have control over most of the headers. > > --Andrew I tried to telnet to smtp.gmail.com, but it didn't work. Is that what you meant? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: question about posting to FreeBSD mailing lists
On Mon, Jun 9, 2008 at 6:59 AM, Tore Lund <[EMAIL PROTECTED]> wrote: > Novembre wrote: > > Hi, > > > > Is there any way to answer the posts in the mailing lists if one is not > > subscribed to the list and does not receive them in his mailbox? From > time > > to time, I see posts which I can actually answer and contribute to, but > > since I'm not subscribed to the lists, even if I post an answer to the > > person asking the question and CC it to the list, it doesn't regroup with > > other posts on the same topic. Is there any way around this? > > Besides what Randy wrote, several mailing lists are mirrored to > newsgroups. I subscribe to muc.lists.freebsd.questions, even though I > am subscribed to the list. (I prefer not to receive all that stuff as > e-mail.) When answering a post, I have to edit the addresses, but my > answer is then threaded properly. > -- > Tore > > I'm sorry, but I didn't quite get it. Do you mean that if I subscribe to the newsgroup which mirrors the list, and if I answer the question in the newsgroup, then it will be shown properly in the freebsd mailing lists as well? I mean, is the mirroring one way or both-ways? Thanks :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD and User Security
But it is far from moot if you are interested in the actual threat against your system. In a sense, using a less popular OS is a form of "security by obscurity" which is not to be heavily relied on, but still it does make a real, practical, difference in the case that you described. FreeBSD is "unfortunately" quite popular OS, but yes - much less popular than linux, not to mention windoze. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
ZFS mount points
What precautions could I take to prevent users from writing to a portion of a ZFS mount point that might fill up the underlying filesystem that wouldn't impede writes to that ZFS mount point. For example: /foo/bar/volume If some program accidentally started writing to /foo/bar, as far as I understand, it would end up filling / and not the zpool. I could re-do this so that /zpool1 was /foo to mitigate this - though I've already established production mounts pointing to /foo/bar/volume (which is actually zpool1/volume). Would changing zpool1 to /dce create havoc, since I'm NFS exporting /foo/bar/volume. Thanks. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Asus A7V-E and ACPI.
I'm running a Fileserver on a now ancient Asus A7V-E box. Until last week this box ran FreeBSD 6.2 and it worked okay. Now it runs 7.0- STABLE. Before last night I had a pair of PCI Dec Tulip Nics in it. I've since replaced that with a Dual Intel Pro/100 (yes, 100, not 1000 if you saw my other post). My problem is with ACPI. When I boot the box with ACPI enabled it cannot allocate all the resources needed for both tulip nics. When I boot the box without ACPI, it can allocate the resources to make everything work but I cannot reboot or shutdown the box. I'd like some suggestions about how I can either tune the box so that the shutdown commands work right with ACPI enabled. I'd accept some suggestions about how to get the box to properly allocate resources with ACPI disabled. Currently the box works because I've reduced the resources by using a Dual Nic but if the time comes that I have to add some other resources I'd like to have some options. -- Chris Chris Hilton tildeChris -- http://myblog.vindaloo.com email -- chris/at/vindaloo/ dot/com .~ ~ .--.~ ~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~.--.~~. "I'm on the outside looking inside, What do I see? Much confusion, disillution, all around me." -- Ian McDonald / Peter Sinfield ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Intel Dual PRO/1000 Nic - Setup of shared code failed
I just got an Intel Dual gigabit nic that I planned to use with FreeBSD 7-STABLE. On startup neither of the Nics attach to the kernel. They give up with an error message of: "Setup of shared code failed" I hunted around on Google for this last night and found something about the cards working okay so long as I turned off BSM but I couldn't find any reference to what BSM was or how to turn it off. I'd like to get this card working in my FreeBSD box. Any help would be appreciated. -- Chris Below is the uname -a and startup log from the server. $ uname -a FreeBSD hoth.vindaloo.com 7.0-STABLE FreeBSD 7.0-STABLE #2: Wed May 28 16:20:00 EDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 Here's the logs from the server. Jun 11 22:41:22 hoth syslogd: kernel boot file is /boot/kernel/kernel Jun 11 22:41:22 hoth kernel: Copyright (c) 1992-2008 The FreeBSD Project. Jun 11 22:41:22 hoth kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 Jun 11 22:41:22 hoth kernel: The Regents of the University of California. All rights reserved. Jun 11 22:41:22 hoth kernel: FreeBSD is a registered trademark of The FreeBSD Foundation. Jun 11 22:41:22 hoth kernel: FreeBSD 7.0-STABLE #2: Wed May 28 16:20:00 EDT 2008 Jun 11 22:41:22 hoth kernel: [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC Jun 11 22:41:22 hoth kernel: Timecounter "i8254" frequency 1193182 Hz quality 0 Jun 11 22:41:22 hoth kernel: CPU: AMD Duron(tm) Processor (908.09-MHz 686-class CPU) Jun 11 22:41:22 hoth kernel: Origin = "AuthenticAMD" Id = 0x631 Stepping = 1 Jun 11 22:41:22 hoth kernel: Features = 0x183f9ff < FPU ,VME ,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR> Jun 11 22:41:22 hoth kernel: AMD Features=0xc0440800,MMX +,3DNow!+,3DNow!> Jun 11 22:41:22 hoth kernel: real memory = 1073659904 (1023 MB) Jun 11 22:41:22 hoth kernel: avail memory = 1037058048 (989 MB) Jun 11 22:41:22 hoth kernel: kbd1 at kbdmux0 Jun 11 22:41:22 hoth kernel: ath_hal: 0.9.20.3 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413) Jun 11 22:41:22 hoth kernel: acpi0: on motherboard Jun 11 22:41:22 hoth kernel: acpi0: [ITHREAD] Jun 11 22:41:22 hoth kernel: acpi0: Power Button (fixed) Jun 11 22:41:22 hoth kernel: acpi0: reservation of 0, a (3) failed Jun 11 22:41:22 hoth kernel: acpi0: reservation of 10, 3ff0 (3) failed Jun 11 22:41:22 hoth kernel: Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 Jun 11 22:41:22 hoth kernel: acpi_timer0: <24-bit timer at 3.579545MHz> port 0xe408-0xe40b on acpi0 Jun 11 22:41:22 hoth kernel: cpu0: on acpi0 Jun 11 22:41:22 hoth kernel: acpi_throttle0: on cpu0 Jun 11 22:41:22 hoth kernel: acpi_button0: on acpi0 Jun 11 22:41:22 hoth kernel: pcib0: port 0xcf8-0xcff on acpi0 Jun 11 22:41:22 hoth kernel: pci0: on pcib0 Jun 11 22:41:22 hoth kernel: agp0: host to PCI bridge> on hostb0 Jun 11 22:41:22 hoth kernel: agp0: aperture size is 256M Jun 11 22:41:22 hoth kernel: pcib1: at device 1.0 on pci0 Jun 11 22:41:22 hoth kernel: pci1: on pcib1 Jun 11 22:41:22 hoth kernel: vgapci0: port 0xd800-0xd8ff mem 0xfa00-0xfaff,0xf980-0xf9800fff irq 11 at device 0.0 on pci1 Jun 11 22:41:22 hoth kernel: isab0: at device 7.0 on pci0 Jun 11 22:41:22 hoth kernel: isa0: on isab0 Jun 11 22:41:22 hoth kernel: atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xb800-0xb80f at device 7.1 on pci0 Jun 11 22:41:22 hoth kernel: ata0: on atapci0 Jun 11 22:41:22 hoth kernel: ata0: [ITHREAD] Jun 11 22:41:22 hoth kernel: ata1: on atapci0 Jun 11 22:41:22 hoth kernel: ata1: [ITHREAD] Jun 11 22:41:22 hoth kernel: uhci0: port 0xb400-0xb41f irq 5 at device 7.2 on pci0 Jun 11 22:41:22 hoth kernel: uhci0: [GIANT-LOCKED] Jun 11 22:41:22 hoth kernel: uhci0: [ITHREAD] Jun 11 22:41:22 hoth kernel: usb0: on uhci0 Jun 11 22:41:22 hoth kernel: usb0: USB revision 1.0 Jun 11 22:41:22 hoth kernel: uhub0: 1.00/1.00, addr 1> on usb0 Jun 11 22:41:22 hoth kernel: uhub0: 2 ports with 2 removable, self powered Jun 11 22:41:22 hoth kernel: uhci1: port 0xb000-0xb01f irq 5 at device 7.3 on pci0 Jun 11 22:41:22 hoth kernel: uhci1: [GIANT-LOCKED] Jun 11 22:41:22 hoth kernel: uhci1: [ITHREAD] Jun 11 22:41:22 hoth kernel: usb1: on uhci1 Jun 11 22:41:22 hoth kernel: usb1: USB revision 1.0 Jun 11 22:41:22 hoth kernel: uhub1: 1.00/1.00, addr 1> on usb1 Jun 11 22:41:22 hoth kernel: uhub1: 2 ports with 2 removable, self powered Jun 11 22:41:22 hoth kernel: ohci0: mem 0xf900-0xf9000fff irq 5 at device 12.0 on pci0 Jun 11 22:41:22 hoth kernel: ohci0: [GIANT-LOCKED] Jun 11 22:41:22 hoth kernel: ohci0: [ITHREAD] Jun 11 22:41:22 hoth kernel: usb2: OHCI version 1.0 Jun 11 22:41:22 hoth kernel: usb2: on ohci0 Jun 11 22:41:22 hoth kernel: usb2: USB revision 1.0 Jun 11 22:41:22 hoth kernel: uhub2: 1.00/1.00, addr 1> on usb2 Jun 11 22:41:22 hoth kernel: uhub2: 3 ports with 3 removable, self powered Jun 11 22:41:22
Re: use a specific php.ini for php cli
On Jun 12, 5:24 pm, AlexW474 <[EMAIL PROTECTED]> wrote: > On Jun 4, 3:31 pm, Bill Moran <[EMAIL PROTECTED]> wrote: > > > > > In response to Nicolas Letellier <[EMAIL PROTECTED]>: > > > > Hello. > > > > I would like to know if it is possible to have anotherphp.ini forphp > > > command line? I have aphp.ini with many restrictions (open_basedir, > > > disabled functions, etc...) used byapache(and mod_php). > > > > I would like to user anotherphp.ini file forphpcommand line (I don't > > > want to have disabled functions or safe_mode for command linephp). > > > > I use php5 in the port tree. > > >From 'manphp': > > >--php-ini path|file > >-c path|file Look forphp.ini file in the directory path or use > > the > > specified file > > You can use this > instruction:http://www.witsuite.com/support/knowledge-base/manual-installation/in... > > It clearly shows how to use differentphp.ini forApachePHPandPHP > CLI. > You can even create a few bat files with different environment. BTW, this instruction is for Windows, but the approach is suitable for FreeBSD as well. > > Regards, > Alex > ___ > [EMAIL PROTECTED] mailing > listhttp://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]"
Re: sound card
Joey, More than likely snd_ich but best bet is to: kldunload snd_driver kldload snd_ich dmesg if pcm0 doesn't load then: kldload snd_hda Jeff Hi, I'm trying to determine what sound card a notebook has. There are three relevant dmesg lines below, but looking at freebsd's hardware notes, I can't tell whether I should use the snd_ich(4) driver for an Intel ICH4 card, the snd_hda(4) driver for an 82801 card or a sigmatel card. Any suggestions? %cat /var/run/dmesg.boot| grep pcm pcm0: port 0xee00-0xeeff,0xe000-0xe03f mem 0xffaff800-0xffaff9ff,0xffaff400-0xffaff4ff irq 4 at device 31.5 on pci0 pcm0: [ITHREAD] pcm0: Thanks, Joey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" pgp4zJLF9gg0i.pgp Description: PGP Digital Signature
Re: new hardware - compatible?
> Intel Quad Core Extreme 3Ghz, LGA775 > Asus P5K-E Motherboard (P35 chipset, Onboard LAN) I have the same motherboard, and it runs great on 7.0-RELEASE (amd64). I do not, however, use the onboard ethernet controller. I use a pair of em cards, so I can't speak to the Marvell Gigabit chipset and whether it works or not. The onboard ethernet on the Asus P5B is an re, and works fine in 7-STABLE. I also recently put a SATA DVD-RW into this box, which works well with atapicam (for cdrecord/growisofs), but it doesn't work with burncd. Not a huge deal, but just an FYI. Here is my dmesg and pciconf -l -v output. Note that the ICH9 controller shows up as "Intel AHCI controller", but it works great (full performance). Thanks, Josh dmesg: Copyright (c) 1992-2008 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 7.0-RELEASE #0: Tue Mar 25 22:23:29 EDT 2008 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PFLOG Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: Intel(R) Core(TM)2 Quad CPUQ6600 @ 2.40GHz (3204.04-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x6fb Stepping = 11 Features=0xbfebfbff Features2=0xe3bd AMD Features=0x20100800 AMD Features2=0x1 Cores per package: 4 usable memory = 4286599168 (4088 MB) avail memory = 4125327360 (3934 MB) ACPI APIC Table: FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 cpu2 (AP): APIC ID: 2 cpu3 (AP): APIC ID: 3 ioapic0 irqs 0-23 on motherboard netsmb_dev: loaded acpi0: on motherboard acpi0: [ITHREAD] acpi0: Power Button (fixed) acpi0: reservation of 0, a (3) failed acpi0: reservation of 10, cff0 (3) failed Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 acpi_hpet0: iomem 0xfed0-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 900 cpu0: on acpi0 ACPI Warning (tbutils-0243): Incorrect checksum in table [OEMB] - 8C, should be 84 [20070320] coretemp0: on cpu0 cpu1: on acpi0 coretemp1: on cpu1 cpu2: on acpi0 coretemp2: on cpu2 cpu3: on acpi0 coretemp3: on cpu3 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 pcib1: irq 16 at device 1.0 on pci0 pci1: on pcib1 vgapci0: mem 0xfd00-0xfdff,0xd000-0xdfff,0xfc00-0xfcff irq 16 at device 0.0 on pci1 uhci0: port 0xc800-0xc81f irq 16 at device 26.0 on pci0 uhci0: [GIANT-LOCKED] uhci0: [ITHREAD] usb0: on uhci0 usb0: USB revision 1.0 uhub0: on usb0 uhub0: 2 ports with 2 removable, self powered uhci1: port 0xc880-0xc89f irq 21 at device 26.1 on pci0 uhci1: [GIANT-LOCKED] uhci1: [ITHREAD] usb1: on uhci1 usb1: USB revision 1.0 uhub1: on usb1 uhub1: 2 ports with 2 removable, self powered uhci2: port 0xcc00-0xcc1f irq 18 at device 26.2 on pci0 uhci2: [GIANT-LOCKED] uhci2: [ITHREAD] usb2: on uhci2 usb2: USB revision 1.0 uhub2: on usb2 uhub2: 2 ports with 2 removable, self powered ehci0: mem 0xfbfffc00-0xfbff irq 18 at device 26.7 on pci0 ehci0: [GIANT-LOCKED] ehci0: [ITHREAD] usb3: EHCI version 1.0 usb3: companion controllers, 2 ports each: usb0 usb1 usb2 usb3: on ehci0 usb3: USB revision 2.0 uhub3: on usb3 uhub3: 6 ports with 6 removable, self powered pcib2: irq 17 at device 28.0 on pci0 pci3: on pcib2 pcib3: irq 17 at device 28.4 on pci0 pci2: on pcib3 atapci0: port 0xdc00-0xdc07,0xd880-0xd883,0xd800-0xd807,0xd480-0xd483,0xd400-0xd40f mem 0xfeafe000-0xfeaf irq 16 at device 0.0 on pci2 atapci0: [ITHREAD] atapci0: AHCI called from vendor specific driver atapci0: AHCI Version 01.00 controller with 2 ports detected ata2: on atapci0 ata2: [ITHREAD] ata3: on atapci0 ata3: [ITHREAD] ata4: on atapci0 ata4: [ITHREAD] uhci3: port 0xc080-0xc09f irq 23 at device 29.0 on pci0 uhci3: [GIANT-LOCKED] uhci3: [ITHREAD] usb4: on uhci3 usb4: USB revision 1.0 uhub4: on usb4 uhub4: 2 ports with 2 removable, self powered uhci4: port 0xc400-0xc41f irq 19 at device 29.1 on pci0 uhci4: [GIANT-LOCKED] uhci4: [ITHREAD] usb5: on uhci4 usb5: USB revision 1.0 uhub5: on usb5 uhub5: 2 ports with 2 removable, self powered uhci5: port 0xc480-0xc49f irq 18 at device 29.2 on pci0 uhci5: [GIANT-LOCKED] uhci5: [ITHREAD] usb6: on uhci5 usb6: USB revision 1.0 uhub6: on usb6 uhub6: 2 ports with 2 removable, self powered ehci1: mem 0xfbfff800-0xfbfffbff irq 23 at device 29.7 on pci0 ehci1: [GIANT-LOCKED] ehci1: [ITHREAD] usb7: EHCI version 1.0 usb7: companion controllers, 2 ports each: usb4 usb5 usb6 usb7: on ehci1 usb7: USB revision 2.0 uhub7: on usb7 uhub7: 6 ports with 6 removable, self powered pcib4: at device 30.0 on pci0 pci4: on pcib4 em0: port 0xec00-0xec3f mem 0xfebe-0xfebf,0xfebc-0xfebd irq 17 at device 1.0 on pci4 em0: Ethernet address: 00:0e:0c:6c:b9:16 em0: [FILTER] em1: port 0xe880-0xe8bf mem 0xfeb
Re: sound card
Joey Mingrone wrote: Hi, I'm trying to determine what sound card a notebook has. There are three relevant dmesg lines below, but looking at freebsd's hardware notes, I can't tell whether I should use the snd_ich(4) driver for an Intel ICH4 card, the snd_hda(4) driver for an 82801 card or a sigmatel card. Any suggestions? %cat /var/run/dmesg.boot| grep pcm pcm0: port 0xee00-0xeeff,0xe000-0xe03f mem 0xffaff800-0xffaff9ff,0xffaff400-0xffaff4ff irq 4 at device 31.5 on pci0 pcm0: [ITHREAD] pcm0: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html Especially: If you are not sure which driver to use, you may try to load the snd_driver module: # kldload snd_driver This is a metadriver loading the most common device drivers at once. This speeds up the search for the correct driver. 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: Nanobsd on a CD-ROM
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 J. Porter Clark wrote: | On Thu, Jun 12, 2008 at 04:40:25PM +0200, Pietro Cerutti wrote: |> J. Porter Clark wrote: |> | Is it possible to build a CD-ROM with a bootable NanoBSD on it? |> | If so, how? |> |> Yes, Section 2.2 of |> |> http://www.freebsd.org/doc/en/articles/nanobsd/index.html | | Well, no, because I can't do this: | | # dd if=_.disk.full of=/dev/acd0 bs=64k | | If I do this: | | % cdrecord -v -immed driveropts=burnfree dev=1,0,0 -data _.disk.full Try with burncd | burncd -f /dev/acd0 data _.disk.full fixate | | then try to boot the machine from the CD-R, I get a "-" cursor | for a second or two, then it switches over to the hard disks to | boot from. | | Okay, it's possible I messed up the compilation options or | something. Is the cdrecord command above the correct procedure | to use to build a bootable nanobsd CD-R? | - -- Pietro Cerutti [EMAIL PROTECTED] PGP Public Key: http://gahr.ch/pgp -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkhRVNQACgkQwMJqmJVx945fSwCg0AmvDiM+ygiTun1hbqAY4n2d DtAAn0avabwFvirbzBwMF2lfn1/CTnng =RZKx -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: FreeBSD and User Security
On Jun 12, 2008, at 8:19 AM, David Naylor wrote: I think this argument is rather mute, just because there are no programs exploiting security vulnerabilities does not been there are not vulnerabilities, But it is far from moot if you are interested in the actual threat against your system. In a sense, using a less popular OS is a form of "security by obscurity" which is not to be heavily relied on, but still it does make a real, practical, difference in the case that you described. and a determined cracker would create his own program. You have not articulated what you are trying to defend against. Do you anticipate determined crackers going after your particular system and what resources will such attackers have? We can't talk about a system being "secure" in general, but the question needs to be framed in terms of "secure against what". That said I hope there are, actually, no vulnerabilities. That is demanding too much. What you need to hope for is a combination of "no known unpatched vulnerabilities at the moment" and more importantly "procedures and practices to keep things that way". As Bruce Schneier likes to say, "Security is not a product but a process". The vast majority of actual system compromises involve failure of system administrators to keep systems patched and follow good security practices. One reason that I switched from Linux to FreeBSD is that I find it much easier to maintain FreeBSD, particularly in terms of security updates. I have been responsible for Linux machines that did get rooted because I was having problems keeping them up-to-date for a variety of reasons. [Security through obscurity is just an illusion] In your post you mentioned concern about spyware. It is not an illusion that FreeBSD has not been targeted by spyware writers while Windows has. Even if some of that is the consequence of security by obscurity, it is no illusion. Of course we need to understand that those security benefits from obscurity are fragile, but we shouldn't dismiss it entirely. Again, what sorts of benefits such things may add (or subtract) depends on the nature of the attacker. Cheers, -j ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: sound card
On Thu 2008-06-12 12:28:06 UTC-0300, Joey Mingrone ([EMAIL PROTECTED]) wrote: > I'm trying to determine what sound card a notebook has. There are > three relevant dmesg lines below, but looking at freebsd's hardware > notes, I can't tell whether I should use the snd_ich(4) driver for an > Intel ICH4 card, the snd_hda(4) driver for an 82801 card or a sigmatel > card. Any suggestions? I think the idea is to look at /dev/sndstat: DING! [EMAIL PROTECTED] [~]cat /dev/sndstat FreeBSD Audio Driver (newpcm) Installed devices: pcm0: at io 0xd800, 0xdc40 irq 10 bufsz 16384 kld snd_ich (1p/1r/1v channels duplex default) 2:00 [EMAIL PROTECTED] [~]grep snd_ich /boot/loader.conf snd_ich_load="YES" > %cat /var/run/dmesg.boot| grep pcm > pcm0: port 0xee00-0xeeff,0xe000-0xe03f mem > 0xffaff800-0xffaff9ff,0xffaff400-0xffaff4ff irq 4 at device 31.5 on > pci0 > pcm0: [ITHREAD] > pcm0: ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: new hardware - compatible?
On Thu, 12 Jun 2008 09:35:39 -0400 Brad Mettee <[EMAIL PROTECTED]> wrote: > Intel Quad Core Extreme 3Ghz, LGA775 > Asus P5K-E Motherboard (P35 chipset, Onboard LAN) > 4G Kingston DDR 2 RAM (PC2 6400) > Seagate 500G, SATA 2, 7200RPM > GeForce 7200GS 128MB 32-bit GDDR2 PCI-E x16 Video Card (basically a > cheap vid card) > Samsung SATA CD-ROM One important note may be that you will probably want to use the 64-bit version of FreeBSD (called AMD64) to use all that RAM. However, as far as I know, the proprietary nvidia drivers will not work in 64-bit mode. Since you don't seem to be aiming at massive graphics performance, perhaps the open source drivers will suffice? / Robert ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: FreeBSD + ZFS on a production server?
pseudo-filesystem) if you want no protection, mirrored or raidz. Isn't it a pity that the fbsd implementation of ZFS lacks such a feature. Your anti stories of ZFS often show these aspects. Almost none of your comments on zfs are valid in Solaris. AFAIK on solaris set copies= and what i told before is the same. am i wrong? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
determining sound card device from /var/run/dmesg.boot
Hi, I'm trying to determine what sound card a notebook has. There are three relevant dmesg lines below, but looking at freebsd's hardware notes, I can't tell whether I should use the snd_ich(4) driver for an Intel ICH4 card, the snd_hda(4) driver for an 82801 card or a sigmatel card. Any suggestions? %cat /var/run/dmesg.boot| grep pcm pcm0: port 0xee00-0xeeff,0xe000-0xe03f mem 0xffaff800-0xffaff9ff,0xffaff400-0xffaff4ff irq 4 at device 31.5 on pci0 pcm0: [ITHREAD] pcm0: Thanks, Joey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dell wireless
Do a lookup on what pciconf -lv says...then do a search on Google to find the chipset driver. "Bono Vince Malum" -Camilo > I didn't find nothing about this card on web!!! > > Is there any generic driver? What's the chipset? Maybe > Intel? > __ 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]"
sound card
Hi, I'm trying to determine what sound card a notebook has. There are three relevant dmesg lines below, but looking at freebsd's hardware notes, I can't tell whether I should use the snd_ich(4) driver for an Intel ICH4 card, the snd_hda(4) driver for an 82801 card or a sigmatel card. Any suggestions? %cat /var/run/dmesg.boot| grep pcm pcm0: port 0xee00-0xeeff,0xe000-0xe03f mem 0xffaff800-0xffaff9ff,0xffaff400-0xffaff4ff irq 4 at device 31.5 on pci0 pcm0: [ITHREAD] pcm0: Thanks, Joey ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: new hardware - compatible?
Brad Mettee wrote: Hi all, I'm new to FreeBSD and don't have a lot of time to go digging through archives/info to find answers, so excuse this if it's a "noob" question. It's an emergency server build, and needs to be solid and fast. Will FreeBSD have any problems running on the following hardware? Which would be better FreeBSD 6.3 or 7? Intel Quad Core Extreme 3Ghz, LGA775 Asus P5K-E Motherboard (P35 chipset, Onboard LAN) 4G Kingston DDR 2 RAM (PC2 6400) Seagate 500G, SATA 2, 7200RPM GeForce 7200GS 128MB 32-bit GDDR2 PCI-E x16 Video Card (basically a cheap vid card) Samsung SATA CD-ROM Thanks in advance. (I've been building/running x86 boxes since DOS 3.3, just haven't had need of *nix environment yet, so I'm not total noob) If you are a total "noob" as you put it, you will have to put considerable amounts of time into this, understanding basic UNIX / FreeBSD concepts and such. May I suggest you start reading the handbook right away: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook Concerning the compatibility of your hardware, read the release notes: http://www.freebsd.org/releases/7.0R/hardware.html (I suggest you go with FreeBSD 7 unless there is any specific reason not to) The specs seem ok to me. The graphics card is unimportant for a server (nvidia cards work OK in general) and according to the specs you have a Marvel LAN supported by the msk(4) driver. It should work fine. To use your 4Gb RAM efficiently, go with the 64bit version of FreeBSD (known as "amd64") ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Nanobsd on a CD-ROM
On Thu, Jun 12, 2008 at 04:40:25PM +0200, Pietro Cerutti wrote: > > J. Porter Clark wrote: > | Is it possible to build a CD-ROM with a bootable NanoBSD on it? > | If so, how? > > Yes, Section 2.2 of > > http://www.freebsd.org/doc/en/articles/nanobsd/index.html Well, no, because I can't do this: # dd if=_.disk.full of=/dev/acd0 bs=64k If I do this: % cdrecord -v -immed driveropts=burnfree dev=1,0,0 -data _.disk.full then try to boot the machine from the CD-R, I get a "-" cursor for a second or two, then it switches over to the hard disks to boot from. Okay, it's possible I messed up the compilation options or something. Is the cdrecord command above the correct procedure to use to build a bootable nanobsd CD-R? -- J. Porter Clark <[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: FreeBSD + ZFS on a production server?
On Thu, 2008-06-12 at 13:37 +0200, Wojciech Puchar wrote: > for example you can't select per file (or at least - per > pseudo-filesystem) if you want no protection, mirrored or raidz. Isn't it a pity that the fbsd implementation of ZFS lacks such a feature. Your anti stories of ZFS often show these aspects. Almost none of your comments on zfs are valid in Solaris. But hey, what the heck, use what you want. I don't write for SUN, I use ZFS on all systems and it never disappointed me. It's blazingly fast, very flexible, configurable. Stripes, mirrors, it's all so easy. It will be even better in time. Conclusion: Wojciech Puchar is against zfs. so what. I belong to the pro's fwiw. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD and User Security
On Wed, Jun 11, 2008 at 10:25:32PM +0200, David Naylor wrote: > > Hi All, > > Today I read an article describing how my government had lost ZAR200 000 000 > from fraud. This is just under $25 000 000. The article credited this loss > largely due to the use of spyware. > > My question is how secure is FreeBSD (including KDE, GNOME and XFCE) to > attacks, including cracking and spyware. In addition, is there anyway to > prevent a user from executing a program that is not owned by root (i.e. any > program installed by the user), this would prevent spyware being installed > (assuming root has been properly locked down) and subsequently run. > > If anyone, in addition, has answers for Linux and *BSD it would be great to > know as well. You might want to have a look at using a restricted shell for users. I know bash & pdksh have a restricted mode. A quick look at the manpages for sh & csh suggests they don't. Bash and pdksh are in ports. Can't tell you which is best as I haven't used either in restricted mode. > > Best Regards > > David Regards, -- Frank Contact info: http://www.shute.org.uk/misc/contact.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is FreeBSD suitable for my thinkpad T61 ?
On Thu, Jun 12, 2008 at 04:40:36PM +0800, [EMAIL PROTECTED] wrote: > Jerry McAllister wrote: > >On Wed, Jun 11, 2008 at 08:50:36PM +0800, [EMAIL PROTECTED] wrote: > > > >>Hi all, > >> > >>I brought a new ThinkPad T61 for work, the hardware is as follows: > >> > >>T7300(2GHz), 2GB RAM, 120GB 5400rpm HD, 15.4in 1680x1050 LCD, 128MB > >>nVIDIA Quadro NVS 140M, CDRW/DVDRW, Intel 802.11agn(n-disabled), > >>Bluetooth, Modem, 1Gb Ethernet, UltraNav, Secure chip, Intel Turbo, 9c > >>Li-Ion, > >> > >>My current working involves scientific calculation and programming. I'm > >>from a linux background(redhat, debian, ubuntu), but after some googling > >>and comparison, I found FreeBSD more stable and I want to try FreeBSD. I > >>am tired of a dual-boot system, so I want to just install FreeBSD or > >>another linux distribution(maybe ubuntu) on my notebook. > >> > >>My questions are: > >>1) Can FreeBSD work well with my hardware? The display card, CDRW/DVDRW, > >>wireless, Ethernet and battery managment are the most important. > >> > >>2) I have read the FreeBSD Handbook. According to Chapter 10: Linux > >>Binary Compatibility, it seems that FreeBSD lacks support of many > >>commercial softwares such as MATLAB, Oracle, Mathematica. Is the linux > >>binary compatibility stable enough for work ? > > > >It should run FreeBSD just fine. Check the hardware compatibility > >lists to check for specific peripherals. > > > >The Linux compatibility layer worked well. Should be no problem. > > > >jerry > > > >>Thanks a lot. > > Thank you guys. > > I will try to install FreeBSD on a second hard disk to have a test. > > Is FreeBSD going to enhance himself on the desktop ? It seems that FreeBSD > focuses mainly on server, while Linux has improved a lot in the past a few > years both on server and desktop. But I'm still eager to try FreeBSD on my > notebook :P What FreeBSD focuses on is being an Operating System - a foundation platform for what you want to run. There are plenty of desktop utilities that you can easily install to get the environment you wish. But, FreeBSD does not decide for you which to use. For example, I prefer a fairly simple desktop without a lot of extra garbage in my way. So, I just use Afterstep. Some people seem to need the security blanket feeling of all that extra junk. KDE and Gnome are a couple of desktops lots of people use. Whichever you want, they are in the ports system for easy install. Learn to use the ports system. It makes FreeBSD very powerful as a desktop as well as a server. jerry > > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is FreeBSD suitable for my thinkpad T61 ?
Wojciech Puchar wrote: Is FreeBSD going to enhance himself on the desktop ? It seems that FreeBSD i don't understand your question. FreeBSD can run any unix program, be in "server program" or "desktop program" whatever "desktop" means for you. there is nothing to be enhanced. For example, I think the installation and local language support(I need to read and input Chinese frequently) of ubuntu may be better than FreeBSD. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Nanobsd on a CD-ROM
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 J. Porter Clark wrote: | Is it possible to build a CD-ROM with a bootable NanoBSD on it? | If so, how? | Yes, Section 2.2 of http://www.freebsd.org/doc/en/articles/nanobsd/index.html - -- Pietro Cerutti [EMAIL PROTECTED] PGP Public Key: http://gahr.ch/pgp -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) iEYEAREKAAYFAkhRNVgACgkQwMJqmJVx9464GACffZgUQfMvugbKkIqSwifTcZRY wssAn21f0/DRX+ooPdHRvDNWHcA+AXVb =JElR -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: use a specific php.ini for php cli
On Jun 4, 3:31 pm, Bill Moran <[EMAIL PROTECTED]> wrote: > In response to Nicolas Letellier <[EMAIL PROTECTED]>: > > > Hello. > > > I would like to know if it is possible to have anotherphp.ini forphp > > command line? I have aphp.ini with many restrictions (open_basedir, > > disabled functions, etc...) used byapache(and mod_php). > > > I would like to user anotherphp.ini file forphpcommand line (I don't > > want to have disabled functions or safe_mode for command linephp). > > > I use php5 in the port tree. > >From 'manphp': > >--php-ini path|file >-c path|file Look forphp.ini file in the directory path or use the > specified file You can use this instruction: http://www.witsuite.com/support/knowledge-base/manual-installation/install-php.php#configure-php-to-use-in-command-prompt It clearly shows how to use different php.ini for Apache PHP and PHP CLI. You can even create a few bat files with different environment. Regards, Alex ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: How
> I had a question concerning how to, suggest a feature in freebsd. But I did > not know who to email, I am very new to this open-source feel, and was just > wondering who, or where I post a suggestion. You have the right mailing list, so go ahead with your question/comment. Just know that if you are suggesting a feature in FreeBSD and are not a programmer yourself, a lot will depend on how involved the feature is and whether you can get someone to work on it. At least in this circumstance, "if you want a lot you have to give a lot". SC ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: new hardware - compatible?
Brad Mettee wrote: Hi all, I'm new to FreeBSD and don't have a lot of time to go digging through archives/info to find answers, so excuse this if it's a "noob" question. It's an emergency server build, and needs to be solid and fast. Will FreeBSD have any problems running on the following hardware? Which would be better FreeBSD 6.3 or 7? Intel Quad Core Extreme 3Ghz, LGA775 Asus P5K-E Motherboard (P35 chipset, Onboard LAN) 4G Kingston DDR 2 RAM (PC2 6400) Seagate 500G, SATA 2, 7200RPM GeForce 7200GS 128MB 32-bit GDDR2 PCI-E x16 Video Card (basically a cheap vid card) Samsung SATA CD-ROM All these components will work. I have not tested the Geforce 7200, but I doubt that it will give you any problems. Pascal Clermont Thanks in advance. (I've been building/running x86 boxes since DOS 3.3, just haven't had need of *nix environment yet, so I'm not total noob) Brad Mettee PC HotShots, Inc. Baltimore, MD (410) 426-7617 -> Let us bring out the *Power* of your PCs. <- -> Custom Business Software Solutions since 1991 <- visit http://www.pchotshots.com for information about our company. ___ 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]"
Fwd: twe0 interrupt storm
Hi, I have problem on FreeBSD 6.2, 7.0 with 3ware 8006-2LP RAID-1 controller: Model 8006-2LP Serial # L018501C7271467 Firmware FE8S 1.05.00.068 Driver1.50.01.002 BIOS BE7X 1.08.00.048 Monitor ME7X 1.01.00.040 Memory Installed 512 kB # of Ports2 # of Drives 2 # of Units1 Jun 11 21:38:00 gans kernel: twe0: <3ware Storage Controller. Driver version 1.50.01.002> port 0xe800-0xe80f mem 0xfebffc00-0xfebffc0f,0xfe00-0xfe7f irq 20 at device 2.0 on pci3 Jun 11 21:38:00 gans kernel: twe0: [GIANT-LOCKED] Jun 11 21:38:00 gans kernel: twe0: [ITHREAD] Jun 11 21:38:00 gans kernel: twe0: 2 ports, Firmware FE8S 1.05.00.068, BIOS BE7X 1.08.00.048 /var/log/messages Jun 10 14:51:36 gans kernel: interrupt storm detected on "irq21:"; throttling interrupt source Jun 10 14:52:07 gans last message repeated 31 times Jun 10 14:54:08 gans last message repeated 121 times Jun 10 15:04:09 gans last message repeated 598 times Jun 10 15:14:10 gans last message repeated 599 times Jun 10 15:24:11 gans last message repeated 600 times Jun 10 15:34:12 gans last message repeated 598 times Jun 10 15:44:13 gans last message repeated 598 times Jun 10 15:54:14 gans last message repeated 600 times Jun 10 16:04:15 gans last message repeated 600 times Jun 10 16:14:16 gans last message repeated 599 times Jun 10 16:24:17 gans last message repeated 598 times [EMAIL PROTECTED] /home/sg]# vmstat -w 5 procs memory page disk faults cpu r b w avmfre flt re pi pofr sr tw0 in sy cs us sy id 8 3 0 5389M 220M 1410 23 5 3 809 1762 0 11200 1377 3451 26 15 59 7 5 0 5505M 139M 16909 188 1 0 11025 0 81 565387 182791 30440 68 18 14 1 6 0 5468M 158M 19244 35 1 0 19469 0 42 563246 217685 7941 75 22 3 6 3 0 5276M 235M 23078 7 1 0 27426 0 135 555198 118844 73807 33 20 47 0 0 0 5177M 283M 9636 3 1 0 20972 0 108 564052 144113 6643 29 14 57 5 0 0 5176M 284M 8968 7 0 0 8607 0 22 567849 143837 6767 27 12 60 9 1 0 5199M 268M 14417 0 0 0 25905 0 31 567551 249480 6951 48 22 29 1 3 0 5341M 201M 8095 16 25 0 5087 0 112 565233 63826 6777 28 8 63 1 4 0 5356M 184M 30195 11 2 0 38720 0 95 560968 137901 52156 71 22 7 1 3 0 5266M 225M 13461 2 1 0 15518 0 46 564340 101664 9105 33 13 54 [EMAIL PROTECTED] /home/sg]# vmstat -i interrupt total rate irq1: atkbd0 4 0 irq16: ohci0 1 0 irq17: ohci1 ohci3 1 0 irq18: ohci2 ohci4 1 0 irq21: twe0 38629583391 101980 cpu0: timer757587412 1999 cpu1: timer757587403 1999 Total40144758213 105980 I have recompiled kernel to 6.2-STABLE, 7.0-RELEASE, 7.0-RELEASE-p1, 7.0-STABLE but error persists. System work good for some time (few days) and than vmstat -i irq20; rate increases from 60-90 to 10+ and than system hangs. After reboot system work good for some time. I have replaced sever, moved disks to another server with same hardware (and controller), and error persists. Kind Regards ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
new hardware - compatible?
Hi all, I'm new to FreeBSD and don't have a lot of time to go digging through archives/info to find answers, so excuse this if it's a "noob" question. It's an emergency server build, and needs to be solid and fast. Will FreeBSD have any problems running on the following hardware? Which would be better FreeBSD 6.3 or 7? Intel Quad Core Extreme 3Ghz, LGA775 Asus P5K-E Motherboard (P35 chipset, Onboard LAN) 4G Kingston DDR 2 RAM (PC2 6400) Seagate 500G, SATA 2, 7200RPM GeForce 7200GS 128MB 32-bit GDDR2 PCI-E x16 Video Card (basically a cheap vid card) Samsung SATA CD-ROM Thanks in advance. (I've been building/running x86 boxes since DOS 3.3, just haven't had need of *nix environment yet, so I'm not total noob) Brad Mettee PC HotShots, Inc. Baltimore, MD (410) 426-7617 -> Let us bring out the *Power* of your PCs. <- -> Custom Business Software Solutions since 1991 <- visit http://www.pchotshots.com for information about our company. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Static NAT and PAT on FreeBSD 6.2
On Wed, 11 Jun 2008 13:17:11 -0400 Matt Brennan <[EMAIL PROTECTED]> wrote: > I have continued to experiment and am still running into the same issues. > Anyone? > > -Matt > > On Sun, Jun 1, 2008 at 5:33 PM, Matt Brennan <[EMAIL PROTECTED]> wrote: > > > Hi All, > > > > I am running FreeBSD 6.2-release. I have been running PAT via natd > > and ipfw for some time now and it runs great. However, I continue to > > try and employ static NAT on this router, and as soon as I do so all > > other clients lose routing. My natd.conf is as below: > > > > unregistered_only > > use_sockets > > log_ipfw_denied > > redirect_address 10.100.1.2 66.92.79.20 > > alias_address 66.92.79.89 > > > > Whenever I run with this configuration all clients except the > > static'ed one lose routing out of the building. I have tried switching > > the order of the alias_address and redirect_address. > > > > Any help is appreciated. > > > > -Matt On rereading natd(8) and my natd.conf I wondered if you mightn't need: target_address 255.255.255.255 # unmapped go to alias_address but expect you'd get a more useful response to this over on freebsd-net@ cheers, Ian ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: dell wireless
On Thursday 12 June 2008 08:07:12 tholoko wrote: > I didn't find nothing about this card on web!!! > > Is there any generic driver? What's the chipset? Maybe Intel? > > THanks! > > Philippe Schottey wrote: > > Hello, > > > > I just bought a dell inspiron 1525. > > Included is a Dell™ Wireless 1395 802.11b/g Mini-Card - Europe > > Can this card be used on FreeBSD? > > Is there a specific procedure to follow? > > > > Thanks, > > > > Philippe Schottey Nope .. not an intel .. those cards pack a sad, sad, sad, Broadcom BCM4328 chipset ... More info in here. http://linux.dell.com/wiki/index.php/Tech/Wireless/Truemobile_ndiswrapper Just in case .. the best way to google up this kind of stuff is via www.google.com/linux or www.google.com/bsd .. using a search criteria like: inspiron 1525 lspci or so .. Blessings -- Gonzalo Nemmi ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How
Austin Evans writes: > I had a question concerning how to, suggest a feature in > freebsd. But I did not know who to email, I am very new to this > open-source feel, and was just wondering who, or where I post a > suggestion. One possibility: 1) Propose it here. Perhaps it's already been done and hiding under another name; perhaps someone is currently working on it; perhaps there are good reasons why it's never going to happen. 2) Once it's passed through the crucible, write it up as a PR - "http://www.freebsd.org/support/bugreports.html";, probably as a Miscellaneous Non-Critical Change-Request. Robert Huff ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Installing FreeBSD
On 12 Jun 2008 , Telpiz Sorin entreated about "Installing FreeBSD": > tried several times to install 7.0-RELEASE x amd64 on my > friend's machine that is eqiupped with hard drive manufactured by > Samsung. The hard drive (master) appears to have SATA interface, > nonetheless SYSINSTALL regognizes it as ad04! Besides, SYSINSTALL > complains about the disk's geometry . The text console works very > slowly, though the machine (ASUS motherboard) has 2 Gigs of RAM > and a good GeForce video board. For comparison, my old IBM machine ( > PentiumII , 128Mb RAM , 16Mb video memory ) runs Free BSD much more > faster. Could you help us fix the trouble? Best regards and much > thanks. sorin at [EMAIL PROTECTED] I had this with my Linux box at home. The solution is to change the CMOS setting for the drive mode to 'enhanced' (on my motherboard at any rate). If you use the compatibility mode then the chipset maps the SATA drives to the 'IDE' space and speed will be limited to somewhere around PIO4 (-: in my experience, sysinstall ALWAYS complains about geometry and I always just leave it and it always just works. YMMV -- DA Fo rsythNetwork Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD and User Security
On Wednesday 11 June 2008 23:47:43 you wrote: > On Wed, Jun 11, 2008 at 10:25:32PM +0200, David Naylor wrote: > > Hi All, > > > > Today I read an article describing how my government had lost ZAR200 000 > > 000 from fraud. This is just under $25 000 000. The article credited > > this loss largely due to the use of spyware. > > > > My question is how secure is FreeBSD (including KDE, GNOME and XFCE) to > > attacks, including cracking and spyware. > > That is a very broad question without a simple answer. It depends among > other things on the purpose of the machine and the knowledge of the > administrator. > > E.g, if you are creating a workstation that doesn't run externally > accessible servers you could configure the firewall to block all > incoming new connection requests. That will go a long way toward > safeguarding the machine against network attacks. > > There is no way to safeguard a machine that an attacker has physical > access to; he could e.g. steal the harddisk and read your data at his > leisure (unless it is encrypted on-disk, e.g. with geli(8)). Also, no OS > can defend against social engineering attacks. > > I would not worry overly much about spyware. Most if not all of those > are windows binaries. Also, unix mail clients as a rule do not execute > scripts embedded in mail messages. I think this argument is rather mute, just because there are no programs exploiting security vulnerabilities does not been there are not vulnerabilities, and a determined cracker would create his own program. That said I hope there are, actually, no vulnerabilities. [Security through obscurity is just an illusion] > > In addition, is there anyway to > > prevent a user from executing a program that is not owned by root (i.e. > > any program installed by the user), this would prevent spyware being > > installed (assuming root has been properly locked down) and subsequently > > run. > > You could mount /home and other partitions where users have write access > like /tmp with the noexec option. Note that that wouldn't block the > execution of scripts, just binaries. Excellent idea, that would work just fine :-). I think /var/tmp should be added to the list. If a script is run using #!/bin/sh would that then be executable with noexec (i.e. running "./example.sh" instead of "sh ./example.sh) Thank you to everyone who has replied, it was been informative. Regards David signature.asc Description: This is a digitally signed message part.
Re: linux_sys_futex: unknown op 128
i c, will do that, thank you!! TFC On Thu, Jun 12, 2008 at 7:30 AM, Aline de Freitas <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Em Thursday 12 June 2008 07:55:55 Tsu-Fan Cheng escreveu: >> hi all, >> i have this weird log in my /var/log/messages, it keeps showing >> >> Jun 12 06:53:36 kernel: linux_sys_futex: unknown op >> Jun 12 06:53:36 kernel: 128 >> Jun 12 06:53:36 kernel: linux_sys_futex: unknown op 128 >> >> and it seems to have something to do with my flash plugin, as I kill >> npviewer, this message goes away, does anyone know why?? thanks !! >> ___ >> freebsd-questions@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >> To unsubscribe, send any mail to >> "[EMAIL PROTECTED]" > > You may be running linux_base-f8 with 7.0-RELEASE, isn't it? > > linux_base-f8 uses some futex functions present only in STABLE. To get rid of > it you could update to 7-STABLE, or, as I do, just copy linux_futex.c and > linux_futex.h from CURRENT or STABLE into sys/compat/linux and rebuild your > kernel, while keep using 7.0-RELEASE. > > - -- > Aline de Freitas - Chave pública: ID DE632016 / keys.indymedia.org > gpg --keyserver keys.indymedia.org --recv-keys DE632016 > -BEGIN PGP SIGNATURE- > Version: GnuPG v2.0.9 (FreeBSD) > > iEYEARECAAYFAkhRCOgACgkQhLRvs95jIBb/9ACeL1s+OZcl8S0FE+esZdBJi7OA > ZFIAmgKUaN0VsW4XIze8AV5x/xrmS7Tt > =Ivf3 > -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]" > ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
How
I had a question concerning how to, suggest a feature in freebsd. But I did not know who to email, I am very new to this open-source feel, and was just wondering who, or where I post a suggestion. ~Austin ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD and User Security
of "interesting non-essentials"? It's been a few years since bios were delivered in socketed ROMs/EPROMs (readable by a standalone device, independently of their own operation) or since sources were typically published :) now they are standard devices too, just not socketed, you may unsolder and check ;) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: linux_sys_futex: unknown op 128
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Em Thursday 12 June 2008 07:55:55 Tsu-Fan Cheng escreveu: > hi all, > i have this weird log in my /var/log/messages, it keeps showing > > Jun 12 06:53:36 kernel: linux_sys_futex: unknown op > Jun 12 06:53:36 kernel: 128 > Jun 12 06:53:36 kernel: linux_sys_futex: unknown op 128 > > and it seems to have something to do with my flash plugin, as I kill > npviewer, this message goes away, does anyone know why?? thanks !! > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" You may be running linux_base-f8 with 7.0-RELEASE, isn't it? linux_base-f8 uses some futex functions present only in STABLE. To get rid of it you could update to 7-STABLE, or, as I do, just copy linux_futex.c and linux_futex.h from CURRENT or STABLE into sys/compat/linux and rebuild your kernel, while keep using 7.0-RELEASE. - -- Aline de Freitas - Chave pública: ID DE632016 / keys.indymedia.org gpg --keyserver keys.indymedia.org --recv-keys DE632016 -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhRCOgACgkQhLRvs95jIBb/9ACeL1s+OZcl8S0FE+esZdBJi7OA ZFIAmgKUaN0VsW4XIze8AV5x/xrmS7Tt =Ivf3 -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: Installing FreeBSD
tried several times to install 7.0-RELEASE x amd64 on my friend's machine that is eqiupped with hard drive manufactured by Samsung. The hard drive (master) appears to have SATA interface, nonetheless SYSINSTALL regognizes it as ad04! what do you expect to be recognized as? it's OK The text console works very slowly, for this i have no idea.___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: FreeBSD + ZFS on a production server?
ZFS is very nice, but slightly over-hyped imho. not slightly and not only over-hyped. it's definitely far from being for storage as "VM is for memory". for example you can't select per file (or at least - per pseudo-filesystem) if you want no protection, mirrored or raidz. you must have disks dedicated for raidz, disks dedicated for mirrored storage and disks dedicated for unprotected storage. it's inflexible and not much usable. actually - much less usable than "legacy" gmirror/gstripe/gconcat+bsdlabel. one of my systems have 8 disks. 80% of data doesn't need any protection, it's just a need for a lot of space, other 20 needs to be mirrored. this 80% of data is used in high bandwidth/low seeks style (only big files). i simply partitioned every disk on 2 partitions, every first is used to make gmirror+gstripe device, every second is used to make gconcat device, and i have what i need WITH BALANCED LOAD. with ZFS i would have to make first 2 drives as mirror, another 6 for unprotected storage, having LOTS of seeks on first 2 drives and very little seeks on other 6 drives. the system would be unable to support the load. to say more: zfs set copies could be usable to selectively mirror given data while not mirroring other (using unprotected storage for ZFS). but it's broken. it writes N copies under write, but don't remake copies in case of failure! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Installing FreeBSD
tried several times to install 7.0-RELEASE x amd64 on my friend's machine that is eqiupped with hard drive manufactured by Samsung. The hard drive (master) appears to have SATA interface, nonetheless SYSINSTALL regognizes it as ad04! Besides, SYSINSTALL complains about the disk's geometry . The text console works very slowly, though the machine (ASUS motherboard) has 2 Gigs of RAM and a good GeForce video board. For comparison, my old IBM machine ( PentiumII , 128Mb RAM , 16Mb video memory ) runs Free BSD much more faster. Could you help us fix the trouble? Best regards and much thanks. sorin at [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: dell wireless
I didn't find nothing about this card on web!!! Is there any generic driver? What's the chipset? Maybe Intel? THanks! Philippe Schottey wrote: > > Hello, > > I just bought a dell inspiron 1525. > Included is a Dell™ Wireless 1395 802.11b/g Mini-Card - Europe > Can this card be used on FreeBSD? > Is there a specific procedure to follow? > > Thanks, > > Philippe Schottey > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "[EMAIL PROTECTED]" > > -- View this message in context: http://www.nabble.com/dell-wireless-tp16023485p17797413.html Sent from the freebsd-questions mailing list archive at Nabble.com. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
linux_sys_futex: unknown op 128
hi all, i have this weird log in my /var/log/messages, it keeps showing Jun 12 06:53:36 kernel: linux_sys_futex: unknown op Jun 12 06:53:36 kernel: 128 Jun 12 06:53:36 kernel: linux_sys_futex: unknown op 128 and it seems to have something to do with my flash plugin, as I kill npviewer, this message goes away, does anyone know why?? thanks !! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD and User Security
On Thu, Jun 12, 2008 at 01:03:00AM -0700, [EMAIL PROTECTED] wrote: > > How do you know that the bios has not been reflashed by a virus, > > trojan, or rootkit? > > For that matter, how do you know that the *original* bios was free > of "interesting non-essentials"? It's been a few years since bios > were delivered in socketed ROMs/EPROMs (readable by a standalone > device, independently of their own operation) or since sources were > typically published :) Check out http://www.gensw.com and the book _BIOS Disassembly Ninjutsu Uncovered_. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: FreeBSD + ZFS on a production server?
Anders Häggström wrote: > I plan to install a web server for production use and ZFS looks very > interesting, especially since it has built-in support for RAID and > checksum. ZFS is very nice, but slightly over-hyped imho. However, some of the hype is warranted and for some use cases ZFS is a much better fit than UFS. Despite what Wojciech Puchar says, ZFS checksumming can be very useful. I recently had two drives in a hardware RAID-5 array (8 x 1 TB on a Highpoint RocketRAID 2340) develop unreadable sectors seemingly at the same time. I'm not sure what caused it but the end result was a broken/unavailable array. To make a long story short I managed to get the drives to remap the bad sectors and bring the array back online. Since I had ZFS on the array I didn't have to wait for fsck to run (takes a very long time on a 7 TB array and requires a LOT of memory to even work), and after the pool had been scrubbed I had a list of files with bad checksums that I could restore from backup. With UFS I would have had silent data corruption. Beware, there have been reports of mmap not working properly together with ZFS. I'm not sure if this is still a problem and if it would affect a typical web server. It does not seem to affect any of my fileservers (exporting NFS). /Daniel Eriksson ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is FreeBSD suitable for my thinkpad T61 ?
Is FreeBSD going to enhance himself on the desktop ? It seems that FreeBSD i don't understand your question. FreeBSD can run any unix program, be in "server program" or "desktop program" whatever "desktop" means for you. there is nothing to be enhanced. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: reboot after panic : page fault for two consecutive days nowwith FreeBSD stable 7.0
I had a similar problem when I tried to use kgdb to diagnose a page fault. I found that it worked fine on another vmcore from the next crash - without any knowledge of the subject, I assume that sometimes when FreeBSD crashed it was unable to write a correct vmcore? Anyway, try it again with other vmcores; I did not specifically enable debugging in the kernel but still got a sensible trace. Yours, Mark > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of eculp > Sent: 11 June 2008 20:23 > To: Kris Kennaway > Cc: [EMAIL PROTECTED] > Subject: Re: reboot after panic : page fault for two > consecutive days nowwith FreeBSD stable 7.0 > > Quoting "Kris Kennaway" <[EMAIL PROTECTED]>: > > > eculp wrote: > >> This is on a relatively new Dell dualcore with 4G of ram > running up > >> to date stable. I'm not on site so I have no idea what might be > >> provoking these crashes. In fact in many years of running > FreeBSD > >> I've not seen something just happen like this. It is a > >> simi-production machine that cvsups daily and builds and > installs a > >> new world and kernel. Ports are updated about once a week and > >> haven't seen any issues previously. It has been running > 24/7 since > >> new, about 8 months. > >> > >> 3 files were generated info, bounds and vmcore. The info > file follows: > >> > >> Dump header from device /dev/mfid0s1b > >> Architecture: i386 > >> Architecture Version: 2 > >> Dump Length: 341225472B (325 MB) > >> Blocksize: 512 > >> Dumptime: Wed Jun 11 12:34:24 2008 > >> Hostname: casasponti.net > >> Magic: FreeBSD Kernel Dump > >> Version String: FreeBSD 7.0-STABLE #258: Tue Jun 10 > 05:54:42 CDT 2008 > >>[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ENCONTACTO > >> Panic String: page fault > >> Dump Parity: 2395754794 > >> Bounds: 2 > >> Dump Status: good > >> > >> the vmcore is about 300M so I'm not attaching it;) I could put it > >> on line at a moments notice. I think that what I need is > probably > >> a crash course on debugging a crash and I really don't know where > >> to start since after over 10 years with freebsd I've never needed > >> it. Any help, suggestions, etc. would be greatly appreciated. > > > > See the developers' handbook chapter on kernel debugging. > > Thanks Kris. I did that and I'm assuming that since > debugging was not > enabled in my kernel I got: > > /usr/obj/usr/src/sys/ENCONTACTO # kgdb kernel.debug > /var/crash/vmcore.2 > GNU gdb 6.1.1 [FreeBSD] > Copyright 2004 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public > License, and you are > welcome to change it and/or distribute copies of it under > certain conditions. > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show > warranty" for details. > This GDB was configured as "i386-marcel-freebsd"... > Cannot access memory at address 0x0 > (kgdb) > > I assume it will only work with the new kernel because the > kernel.debug only got to Cannot access memory at address 0x4b55. > Which means I have to wait for another crash. > > I have already compiled a new kernelwith debuging and will reboot > tonight to install the kernel and hopefully will never need > to test it. > > Thanks for your help, > > ed > > > > > However, panics that "suddenly" start happening frequently on a > > system that has been stable for a while with no OS or workload > > changes made, are usually due to the hardware starting to fail. > > > > Kris > > > > ___ > 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]"
Re: Is FreeBSD suitable for my thinkpad T61 ?
On Thu, Jun 12, 2008 at 10:40 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Jerry McAllister wrote: >> >> On Wed, Jun 11, 2008 at 08:50:36PM +0800, [EMAIL PROTECTED] wrote: >> >>> Hi all, >>> >>> I brought a new ThinkPad T61 for work, the hardware is as follows: >>> >>> T7300(2GHz), 2GB RAM, 120GB 5400rpm HD, 15.4in 1680x1050 LCD, 128MB >>> nVIDIA Quadro NVS 140M, CDRW/DVDRW, Intel 802.11agn(n-disabled), Bluetooth, >>> Modem, 1Gb Ethernet, UltraNav, Secure chip, Intel Turbo, 9c Li-Ion, >>> >>> My current working involves scientific calculation and programming. I'm >>> from a linux background(redhat, debian, ubuntu), but after some googling and >>> comparison, I found FreeBSD more stable and I want to try FreeBSD. I am >>> tired of a dual-boot system, so I want to just install FreeBSD or another >>> linux distribution(maybe ubuntu) on my notebook. >>> >>> My questions are: >>> 1) Can FreeBSD work well with my hardware? The display card, CDRW/DVDRW, >>> wireless, Ethernet and battery managment are the most important. >>> >>> 2) I have read the FreeBSD Handbook. According to Chapter 10: Linux >>> Binary Compatibility, it seems that FreeBSD lacks support of many commercial >>> softwares such as MATLAB, Oracle, Mathematica. Is the linux binary >>> compatibility stable enough for work ? >> >> It should run FreeBSD just fine. Check the hardware compatibility >> lists to check for specific peripherals. >> >> The Linux compatibility layer worked well. Should be no problem. >> >> jerry >> >>> Thanks a lot. > > Thank you guys. > > I will try to install FreeBSD on a second hard disk to have a test. > > Is FreeBSD going to enhance himself on the desktop ? It seems that FreeBSD > focuses mainly on server, while Linux has improved a lot in the past a few > years both on server and desktop. But I'm still eager to try FreeBSD on my > notebook :P > I am able to compile world and kernel and the temperature of the cores is never higher than 67. I find it stable. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD and User Security
> > It is my understanding that since 1995 all computers must have > > a hardware back door that permits undetectable access by the > > government to the computer. This capability can be implemented > > using System Monitor(Maintenance) Mode which is built into all > > x86 computers now. It would appear that, if you are connected > > to the internet, the government has access to your computer. > > if it were true, this "system maintenance mode" would have to > access your network card in parallel with main OS without making > conflicts A near-trivial exercise in virtualization, provided it knows what kind of card is in use and what addresses it occupies, which is rather easy if the "card" is in fact built onto the mainboard. Of course, it is also trivial to defeat it by using an add-in card instead of the one on the mainboard, esp. a card whose design did not exist when the bios was written. Cycles consumed by SMM might also explain why some PCs' clocks seem to run slower than real time ... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Is FreeBSD suitable for my thinkpad T61 ?
Jerry McAllister wrote: On Wed, Jun 11, 2008 at 08:50:36PM +0800, [EMAIL PROTECTED] wrote: Hi all, I brought a new ThinkPad T61 for work, the hardware is as follows: T7300(2GHz), 2GB RAM, 120GB 5400rpm HD, 15.4in 1680x1050 LCD, 128MB nVIDIA Quadro NVS 140M, CDRW/DVDRW, Intel 802.11agn(n-disabled), Bluetooth, Modem, 1Gb Ethernet, UltraNav, Secure chip, Intel Turbo, 9c Li-Ion, My current working involves scientific calculation and programming. I'm from a linux background(redhat, debian, ubuntu), but after some googling and comparison, I found FreeBSD more stable and I want to try FreeBSD. I am tired of a dual-boot system, so I want to just install FreeBSD or another linux distribution(maybe ubuntu) on my notebook. My questions are: 1) Can FreeBSD work well with my hardware? The display card, CDRW/DVDRW, wireless, Ethernet and battery managment are the most important. 2) I have read the FreeBSD Handbook. According to Chapter 10: Linux Binary Compatibility, it seems that FreeBSD lacks support of many commercial softwares such as MATLAB, Oracle, Mathematica. Is the linux binary compatibility stable enough for work ? It should run FreeBSD just fine. Check the hardware compatibility lists to check for specific peripherals. The Linux compatibility layer worked well. Should be no problem. jerry Thanks a lot. Thank you guys. I will try to install FreeBSD on a second hard disk to have a test. Is FreeBSD going to enhance himself on the desktop ? It seems that FreeBSD focuses mainly on server, while Linux has improved a lot in the past a few years both on server and desktop. But I'm still eager to try FreeBSD on my notebook :P ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xRAID disks....
On 12 Jun 2008 , DA Forsyth entreated about "Re: xRAID disks": > hmmm, thinking now the gmirror create/remove route will probably > work. let me try it on a blankish disk and see this appears to be the answer to the question: how to stop ar recognizing a disk that used to be on a raid controller doing a 'gmirror label gm0 /dev/ad1' filled the last sector with data, and 'gmirror clear /dev/ad1' reset it all to zero now to try it on the big disk with data on it... YES: it works, and the data slice is still there, and the commands happen a lot faster than a dd with a skip parameter sidenote: to see the last sector use sysinstall's fdisk to see the data for the disk. you'll see something like Disk name: ad3FDISK Geometry: 38913 cyls/255 heads/63 sectors = 625137345 sectors Offset Size(ST)End Name PType Desc Subtype 0 63 62- 12 unused0 63 625137282 625137344ad3s1 8freebsd 165 625137345 5103 625142447- 12 unused0 ^ you want that number in a dd commmand like this dd if=/dev/ad3 skip=625142447 | hd -v Thanks to all for the pointers -- DA Fo rsythNetwork Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD and User Security
> How do you know that the bios has not been reflashed by a virus, > trojan, or rootkit? For that matter, how do you know that the *original* bios was free of "interesting non-essentials"? It's been a few years since bios were delivered in socketed ROMs/EPROMs (readable by a standalone device, independently of their own operation) or since sources were typically published :) ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Effects of CPUTYPE
> [image removed] > > Re: Effects of CPUTYPE > > Wojciech Puchar > > to: > > freebsd-questions, parish > > 2008-06-11 20:31 > > Sent by: > > [EMAIL PROTECTED] > > > > In my personal opinion, the small gain you get is more than > > > overwhelmed by the big pain you get from setting CPUTYPE. > > > > I'm setting CPUTYPE on all of my machines for many years, > > without the slightest problems. No pain at all. They're > > all kinds of different processors, c3-2 (VIA), athlon64, > > and so on. In some cases the difference is very noticable. > > exactly like me. i set it everywhere, no problems. > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "[EMAIL PROTECTED]" I had the opposite problem: I could not build the world/kernel until I set CPUTYPE to "c3-2" (or "c3"). It was a brand new VIA EDEN-EX 1.5GHz with no other things installed but a copy of the 7.0-RELEASE-p1 source. (I did not have compile problems when I installed the 6.2 on a similar machine) I set CPUTYPE in /etc/make.conf. I think it is only used by the gcc compiler so it will probably only make a difference if you compile ports or from source. Compiling the kernel/world with CPUTYPE=c3-2 I think I see an improved boot time. I do not know of other gains as the server idles most of the time so I do not really care as long as it is stable. I never did try to time the kernel and world builds. :-) Torben Medmindre andet er angivet ovenfor: / Unless Otherwise Stated Above: IBM Danmark A/S Nymøllevej 91 2800 Kongens Lyngby, Danmark CVR nr.: 65305216 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: FreeBSD and User Security
David It is my understanding that since 1995 all computers must have a hardware back door that permits undetectable access by the government to the computer. This capability can be implemented using System Monitor(Maintenance) Mode which is built into all x86 computers now. It would appear that, if you are connected to the internet, the government has access to your computer. if it were true, this "system maintenance mode" would have to access your network card in parallel with main OS without making conflicts ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: two monitors, two displays, one PC
In the last 4 months I bought a new monitor to replace the one that clunked out in me. I am currently using it with an old PS2 type keyboard and mouse attached to a creaky old desktop that will eventually be replaced. Likely I will want to replace it with a laptop with wifi and a lot more memory and hard drive so that I can take it with me. Can I still use the old monitor as a second display? Can this be done? Is it done? What are the issues? Xorg support 2 monitors. be default you will simply get two X displays (:0.0 and :0.1), first default, and use second by DISPLAY=:0.1 program or you may use Xinerama in X11 that creates one virtual display from two. if you have 2 monitors, two keyboards and two mice, you may use it as 2-use system with patched X11, i made a patch but a long time ago, it will not work ouf of the box with new Xorg ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: OT: lots of IPv6 DNS requests
Nameservers are hitting an address of yours. Therefore something is probably handing out your address. Somebody (that would be me) has looked up the address in question and even looked up the nameserver which is handing out that address in a glue record. A simple problem EASILY solved. thank all for help. i asked the registrar (gdynia.pl) to fix a problem with one of their DNS keeping very old data with dns3 still in place. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xRAID disks....
On 10 Jun 2008 , Erik Trulsson entreated about "Re: xRAID disks": > On Tue, Jun 10, 2008 at 04:56:07PM +0200, Wojciech Puchar wrote: > > > > > > The pair of ex-RAID disks are ad1 and ad2 and obviously are no longer > > > a raid pair, yet 'something' is telling the ar() driver to try and > > > pair them and failing because there is no raid hardware in that box. > > > > there are no "raid hardware" on most devices. it's just marketing hype. > > Most (cheap) RAID controllers do almost everything in software. Some do have > hardware support. this was not a cheap card, it is an Adaptec 2400A. 4 disks. It can do RAID5 too but I never tried that, having needed 2 mirror pairs instead. the new motherboard is an Intel D965 with 6 SATA sockets, 4 of which are now supporting the new RAID5 array (4x400Gb disks). whether is is the RAID hardware or just because it is SATA2, it is damn fast compared to IDE. pleased so far. oh, not booting off this, it is just data (and the old IDE mirror disks must now work in the non RAID backup server) -- DA Fo rsythNetwork Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: xRAID disks....
On 10 Jun 2008 , Erik Trulsson entreated about "Re: xRAID disks": > > I suspect the raidinfo is stored on the disk somewhere and a suitable > > 'dd' command can erase it. but where and how? > > That kind of information is usually stored last on the disk (where it is > least likely to be overwritten by filesystems, partitioning info, or boot > loaders), so if you overwrite the last couple of KBs on those disks you will > probably be fine. > (If you want to be certain you can always use 'dd' to nuke all the > information on the disk. That will take longer time, but you get the extra > advantage of testing all the blocks on the disk so that they work > correctly.) > > For the first you could do something like: > dd if=/dev/zero of=/dev/ad1 bs=1m skip=76318 > which should overwrite the last MB of ad1 with zeros. I tried to overwrite just the last sector, but though dd reported success (and took ages, seems it has to do a read for every skipped sector) the data was still there when I used dd to display it. I have just done a search for sector editing software but I cannot find anything in ports. Starting to think of writing some C... how hard can it be just to seek to a given sector and scribble zeros on it? so then I did this (overwrite last megabyte)and that did in fact zero the last megabyte, taking away the raid info AND all the partition info. not exactly what I wanted but I was going to repartition anyway. but I now have another disk with data and raid info on it and will need a way to nondestructively remove the raid info there. I did try the suggestion of 'atacontrol' but it did nothing, I also tried 'gmirror clear' but that gives an error message, maybe I should first create a gmirror then clear it. or maybe try the 'forget' command hmmm, thinking now the gmirror create/remove route will probably work. let me try it on a blankish disk and see -- DA Fo rsythNetwork Supervisor Principal Technical Officer -- Institute for Water Research http://www.ru.ac.za/institutes/iwr/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"