A workable RSS feed for BSDTalk ?
Hi, Is there any workable RSS feeds for BSDTalk channel ? Both *.blogspot.com and *.feedburner.com are blocked in my country. -- Best Regards, Aaron Lewis - PGP: 0xDFE6C29E ( http://pgp.mit.edu/ ) Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: A workable RSS feed for BSDTalk ?
Hi, Is there any workable RSS feeds for BSDTalk channel ? Eiher of *.blogspot.com and *.feedburner.com work just fine Both *.blogspot.com and *.feedburner.com are blocked in my country. Oh. you need a feed you can access in ${UNNAMED_COUNTRY}. And, apparently the State of 'Confusion'. Hint: if you don't specify the coutry, nobody has a _hope_ of being able what might be 'not blocked' here. Sorry man , it's China , and the evil GFW reset all connections it disparages. -- Best Regards, Aaron Lewis - PGP: 0xDFE6C29E ( http://pgp.mit.edu/ ) Finger Print: 9482 448F C7C3 896C 1DFE 7DD3 2492 A7D0 DFE6 C29E ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Weird Problems with User Home Directory , Asking for help
$ sudo tail -f /var/log/auth.log login: _secure_path: cannot stat /home/frozen/.login_conf: Permission denied // Strange , pay attention to user permissions below This means that the ownership/permissions of one of the directories in the path up to /home/frozen is wrong. Implied is that it is possible for non-root to substitute their own copy of /home/frozen/.login_conf somehow. What's the output from: ls -ld / /home (Add /usr/home to that list if /home is a sym-link) Is there anything unusual about how the filesystem is mounted? Oops , it's a symbol link. [fro...@*** ~]$ ls -ld / /home /usr/home drwxr-xr-x 19 root wheel 512 Mar 23 07:48 / lrwxr-xr-x 1 root wheel8 Dec 3 14:34 /home - usr/home drwxr-x--- 4 root wheel 512 Mar 23 07:39 /usr/home I've just read sth. about Biba Model , `no read down, no write up' , It's default installation with a Custom Kernel , MAC enabled. Attached Kernel Config File. // I don't know why `stat' function fails .. $ ls -ld /home/frozen drwxr-xr-x 3 frozen frozen 512 Mar 5 22:36 /home/frozen/ $ ls -lah /home/frozen/.login_conf -rw-r--r-- 1 frozen frozen 171 Dec 3 14:34 /home/frozen/.login_conf BTW: ssh login with user frozen is fine. Which is a little disconcerting, because ssh is pretty anal about file permissions itself, but it isn't triggering the problem here. Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkuosQkACgkQ8Mjk52CukIyL+QCgib3JZkMQDsa1JmKg8rqFiIIp EIYAniLNsh/lMANiJsFSbdx8oekEpMNR =NlkH -END PGP SIGNATURE- -- Best Regards, Aaron Lewis - PGP: 0x4A6D32A0 FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0 irc: A4r0n on freenode cpu I686_CPU ident AARON # To statically compile in device wiring instead of /boot/device.hints #hints GENERIC.hints # Default places to look for devices. # Use the following to compile in values accessible to the kernel # through getenv() (or kenv(1) in userland). The format of the file # is 'variable=value', see kenv(1) # # env GENERIC.env makeoptions DEBUG=-g# Build kernel with gdb(1) debug symbols options SCHED_ULE # ULE scheduler options PREEMPTION # Enable kernel thread preemption options INET# InterNETworking options INET6 # IPv6 communications protocols options SCTP# Stream Control Transmission Protocol options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options UFS_GJOURNAL# Enable gjournal-based UFS journaling options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFSLOCKD# Network Lock Manager options NFS_ROOT# NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS# Pseudo-filesystem framework options GEOM_PART_GPT # GUID Partition Tables. options GEOM_LABEL # Provides labelization options COMPAT_43TTY# BSD 4.3 TTY compat (sgtty) options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options COMPAT_FREEBSD6 # Compatible with FreeBSD6 options COMPAT_FREEBSD7 # Compatible with FreeBSD7 options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options STACK # stack(9) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options P1003_1B_SEMAPHORES # POSIX-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real
Weird Problems with User Home Directory , Asking for help
Hello BSD hackers, I have a strange problems with user's home directory , if i log in through ssh , everything's fine. But on virtual terminals , it tolds me: no home directory Logging in with home dir / Does anyone has any ideas ? Here's some debug information = % grep aaron /etc/passwd aaron:*:1001:1001:frozen:/home/aaron:/usr/local/bin/bash % ls -ladh /home/aaron/ drwxr-xr-x 3 aaron aaron 512B Mar 5 22:36 /home/aaron -- Best Regards, Aaron Lewis - PGP: 0x4A6D32A0 FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0 irc: A4r0n on freenode ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Weird Problems with User Home Directory , Asking for help
Matthew Seaman wrote: On 22/03/2010 07:11:23, Aaron Lewis wrote: Hello BSD hackers, I have a strange problems with user's home directory , if i log in through ssh , everything's fine. But on virtual terminals , it tolds me: no home directory Logging in with home dir / Does anyone has any ideas ? Here's some debug information = % grep aaron /etc/passwd aaron:*:1001:1001:frozen:/home/aaron:/usr/local/bin/bash % ls -ladh /home/aaron/ drwxr-xr-x 3 aaron aaron 512B Mar 5 22:36 /home/aaron What are the settings for ChallengeResponseAuthentication UsePam in your /etc/ssh/sshd_config? Nothing found , or commented out. What are the contents of /etc/pam.d/login and /etc/pam.d/sshd ? # grep -v -e ^# /etc/pam.d/sshd | sed '/^$/d' authsufficientpam_opie.sono_warn no_fake_prompts authrequisitepam_opieaccess.sono_warn allow_local authrequiredpam_unix.sono_warn try_first_pass accountrequiredpam_nologin.so accountrequiredpam_login_access.so accountrequiredpam_unix.so sessionrequiredpam_permit.so passwordrequiredpam_unix.sono_warn try_first_pass # grep -v -e ^# /etc/pam.d/login | sed '/^$/d' authsufficientpam_self.sono_warn authincludesystem accountrequisitepam_securetty.so accountrequiredpam_nologin.so accountincludesystem sessionincludesystem passwordincludesystem It's all fresh install , did i do something wrong ? It's really strange .. never met before. Cheers, Matthew -- Best Regards, Aaron Lewis - PGP: 0x4A6D32A0 FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0 irc: A4r0n on freenode ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Weird Problems with User Home Directory , Asking for help
Looks like i found the problem , i thought i've made a mistake. I shouldn't use `pw user add aaron' right ? That won't create user home directory , when i found i've got no home directory. So at that time , i created it and change the owner to my user. $ sudo tail -f /var/log/auth.log login: _secure_path: cannot stat /home/frozen/.login_conf: Permission denied // Strange , pay attention to user permissions below // I don't know why `stat' function fails .. $ ls -ld /home/frozen drwxr-xr-x 3 frozen frozen 512 Mar 5 22:36 /home/frozen/ $ ls -lah /home/frozen/.login_conf -rw-r--r-- 1 frozen frozen 171 Dec 3 14:34 /home/frozen/.login_conf BTW: ssh login with user frozen is fine. Matthew Seaman wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22/03/2010 12:46:06, Aaron Lewis wrote: Matthew Seaman wrote: On 22/03/2010 07:11:23, Aaron Lewis wrote: Hello BSD hackers, I have a strange problems with user's home directory , if i log in through ssh , everything's fine. But on virtual terminals , it tolds me: no home directory Logging in with home dir / Does anyone has any ideas ? Here's some debug information = % grep aaron /etc/passwd aaron:*:1001:1001:frozen:/home/aaron:/usr/local/bin/bash % ls -ladh /home/aaron/ drwxr-xr-x 3 aaron aaron 512B Mar 5 22:36 /home/aaron What are the settings for ChallengeResponseAuthentication UsePam in your /etc/ssh/sshd_config? Nothing found , or commented out. Commented out means using the default setting -- which is 'yes' for both of those. ie. sshd is using the PAM system. Which means that PAM is probably working just fine. What are the contents of /etc/pam.d/login and /etc/pam.d/sshd ? # grep -v -e ^# /etc/pam.d/sshd | sed '/^$/d' authsufficientpam_opie.sono_warn no_fake_prompts authrequisitepam_opieaccess.sono_warn allow_local authrequiredpam_unix.sono_warn try_first_pass accountrequiredpam_nologin.so accountrequiredpam_login_access.so accountrequiredpam_unix.so sessionrequiredpam_permit.so passwordrequiredpam_unix.sono_warn try_first_pass These are also the default settings for sshd -- which as you say is working. # grep -v -e ^# /etc/pam.d/login | sed '/^$/d' authsufficientpam_self.sono_warn authincludesystem accountrequisitepam_securetty.so accountrequiredpam_nologin.so accountincludesystem sessionincludesystem passwordincludesystem Again, this is the default for login. I should have asked you for the contents of /etc/pam.d/system as well, but if you say it's not been modified I'll believe you. H... It's all fresh install , did i do something wrong ? It's really strange .. never met before. Something is a bit fubar somewhere, yes. From the symptoms you described, the immediate suspect would be the PAM system, but there are no obvious configuration problems with what you've shown me. Is there anything notable in /var/log/auth.log from the failed console logins? Can you try gratuitously creating another user account and seeing if that is affected in the same way, or indeed if it makes any difference to the original user account? Cheers, Matthew - -- Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate Kent, CT11 9PW -BEGIN PGP SIGNATURE- Version: GnuPG/MacGPG2 v2.0.14 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAkunhDoACgkQ8Mjk52CukIwzBQCfccc1KXwscGDrHV2wn5Zr8xnO pMAAnjJVpjZc39wczR4u8nYo/Kxpvivl =3oJZ -END PGP SIGNATURE- -- Best Regards, Aaron Lewis - PGP: 0x4A6D32A0 FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0 irc: A4r0n on freenode ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Weird Problems with User Home Directory , Asking for help
Oh , thanks Adam , i shouldn't be so lazy , I'll check that page. Adam Vande More wrote: On Mon, Mar 22, 2010 at 6:47 PM, Aaron Lewis aaron.lewis1...@gmail.com mailto:aaron.lewis1...@gmail.com wrote: Looks like i found the problem , i thought i've made a mistake. I shouldn't use `pw user add aaron' right ? That won't create user home directory , when i found i've got no home directory. So at that time , i created it and change the owner to my user. $ sudo tail -f /var/log/auth.log login: _secure_path: cannot stat /home/frozen/.login_conf: Permission denied // Strange , pay attention to user permissions below // I don't know why `stat' function fails .. $ ls -ld /home/frozen drwxr-xr-x 3 frozen frozen 512 Mar 5 22:36 /home/frozen/ $ ls -lah /home/frozen/.login_conf -rw-r--r-- 1 frozen frozen 171 Dec 3 14:34 /home/frozen/.login_conf BTW: ssh login with user frozen is fine. Maybe you could bottom post? Thanks, http://www.freebsd.org/doc/handbook/mac-troubleshoot.html -- Adam Vande More -- Best Regards, Aaron Lewis - PGP: 0x4A6D32A0 FingerPrint EA63 26B2 6C52 72EA A4A5 EB6B BDFE 35B0 4A6D 32A0 irc: A4r0n on freenode ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
How to get hints of software installed by Ports ?
Hi, I installed some software from ports today , and it outputs some useful information when finished. e.g where its config file is Due to some mistakes , i lost these important information , how do i see it again ? Is there any tricks to show out it directly ? I don't want to install it again .. Any ideas will appreciate ;-) -- Best Regards, Aaron Lewis - PGP: 0xA476D2E9 irc: A4r0n on freenode ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
[SOLVED] Re: How to get hints of software installed by Ports ?
Jonathan McKeown wrote: On Friday 05 March 2010 16:20:36 Aaron Lewis wrote: Hi, I installed some software from ports today , and it outputs some useful information when finished. e.g where its config file is Due to some mistakes , i lost these important information , how do i see it again ? Is there any tricks to show out it directly ? I don't want to install it again .. Any ideas will appreciate ;-) pkg_info -D ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Thanks Jonathan , it helps. -- Best Regards, Aaron Lewis - PGP: 0xA476D2E9 irc: A4r0n on freenode ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
[SOLVED] Re: How to get hints of software installed by Ports ?
Randal L. Schwartz wrote: Jonathan == Jonathan McKeown j.mcke...@ru.ac.za writes: Jonathan pkg_info -D I like pkg_info -DL 'port*', because it also shows *where* things got installed... sometimes, I can't find the conf files. :) Yeah , that helps. -- Best Regards, Aaron Lewis - PGP: 0xA476D2E9 irc: A4r0n on freenode ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Suitable laptop for FreeBSD?
On 3/3/2010 1:48 AM, Andreas Davour wrote: I am thinking of buying a new laptop, and want one which will work fine with FBSD. Anyone have any suggestions? It must have a connector for a external screen (i.e. a projector when doing presentations), wireless, ~15 screen, lots of memory, and optical unit, and preferable a long battery time (i.e. CPU speed is not that important). Webpages, own experiences or any other comparisons available? Please cc me if answering. /andreas You May want to checkout this list: http://laptop.bsdgroup.de/freebsd/ Here's some suggestions , don't choose ATI video cards. ( No UNIX Drivers .. ) Well , i'm on ThinkPad R400 , ATI Mobile HD 3400 and an integrated Video Card , FBSD doesn't boot when i switched to ATI Video card. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Suitable laptop for FreeBSD?
Programmer In Training wrote: On 03/03/10 16:15, Aaron Lewis wrote: snip Here's some suggestions , don't choose ATI video cards. ( No UNIX Drivers .. ) Well , i'm on ThinkPad R400 , ATI Mobile HD 3400 and an integrated Video Card , FBSD doesn't boot when i switched to ATI Video card. Is this only true of more recent ATI devices, or is this only affecting laptops with ATI cards? I only ask because I'm running an ATI card for my desktop with no problems. If this is true for more recent ATI cards only, this puts a crimp in my plans for my super-computer. Yeah , it's too new, the open-source driver will not support it. Well , that's because my Thinkpad has two video card , one ATI , one Intel integrated card. The Default OS is Vista , it supports switch between these two without changing BIOS settings. But i kick windows off my laptop , i'm using Linux with ATI card someway ;-) So in my BIOS , i disabled intel integrated video card , only use ATI. Then FBSD hangs after boot menu , can't load kernel ;- ( Strongly recommand you try out NVIDIA , at least it has FreeBSD and Solaris drivers ATI has a bad support for Linux/UNIX .. -- Best Regards, Aaron Lewis - PGP: 0xA476D2E9 irc: A4r0n on freenode ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Suitable laptop for FreeBSD?
Umm... that's incorrect. Maybe you mean ATI doesn't supply closed drivers for FreeBSD (although they do have Linux drivers, I think). Well , the opensource ati driver doesn't work for me , no matter linux or FreeBSD , it crashes I've read the documents , and found my ATI is on the support list , but it just don't work ;-( Are you saying the R400 has both integrated and discrete video cards? Lenovo's web site doesn't seem very oriented to telling potential customers details about their newer computers. -Warren Block * Rapid City, South Dakota USA I bought it in china , you'll had to know R400 has lots of types , mine is 2784a18. Of course you can choose to buy an energy-save laptop , which has on independent Video Cards , Just an build-in intel Video Card , it's better for power saving someway. -- Best Regards, Aaron Lewis - PGP: 0xA476D2E9 irc: A4r0n on freenode ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Compiler Flags problem with core2 CPU
[r...@meilk /usr/src/sys/i386/compile/AARON]# make CC='cc' make -f ../../../dev/aic7xxx/aicasm/Makefile MAKESRCPATH=../../../dev/aic7xxx/aicasm Warning: Object directory not changed from original /usr/src/sys/i386/compile/AARON cc -O2 -pipe -march=i686 -ffast-math -mfpmath=sse -O3 -nostdinc -I/usr/include -I. -I../../../dev/aic7xxx/aicasm -std=gnu99 -fstack-protector -Wsystem-headers -Werror -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -Wredundant-decls -Wno-pointer-sign -c ../../../dev/aic7xxx/aicasm/aicasm.c cc1: warnings being treated as errors ../../../dev/aic7xxx/aicasm/aicasm.c:1: warning: SSE instruction set disabled, using 387 arithmetics *** Error code 1 It's interesting something can work with SSE instruction , while some are not , Warnings are treated as errors , if we can safely disable it in some specific occasions. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Suitable laptop for FreeBSD?
Bas v.d. Wiel wrote: Aaron Lewis wrote: Umm... that's incorrect. Maybe you mean ATI doesn't supply closed drivers for FreeBSD (although they do have Linux drivers, I think). Well , the opensource ati driver doesn't work for me , no matter linux or FreeBSD , it crashes I've read the documents , and found my ATI is on the support list , but it just don't work ;-( Are you saying the R400 has both integrated and discrete video cards? Lenovo's web site doesn't seem very oriented to telling potential customers details about their newer computers. -Warren Block * Rapid City, South Dakota USA I bought it in china , you'll had to know R400 has lots of types , mine is 2784a18. Of course you can choose to buy an energy-save laptop , which has on independent Video Cards , Just an build-in intel Video Card , it's better for power saving someway. It's very strange that your machine should crash so early in its boot process. I don't own any ATI hardware so I'm not entirely sure on this, but my impression is that booting into the console should work with just about any kind of video hardware. Does Windows actually work with the ATI card? I'm beginning to suspect broken hardware here.. Bas ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org Yeah , when i enable Switchable Video Card in BIOS , my Linux won't start X11 , fglrx driver doesn't allow me to do so , it tell me directly to disable this feature , and must turn to Discrete Card Mode. And if i do so , after boot menu , right after the progress bar , ( not the boot loader ) i don't know how to describe this , it just hangs at prompt when i press enter. I think it's because my ATI Video Card is kind of special , it has Switchable Video Card ability , some new features , even ATI official linux driver can't really handle this , and for BSD , it even don't boot. -- Best Regards, Aaron Lewis - PGP: 0xA476D2E9 irc: A4r0n on freenode ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
[SOLVED] Compiler Flags problem with core2 CPU
James Phillips wrote: I laughed at your question because I remember reading somewhere that using aggressive optimization options is a good way to find compiler bugs. I think that extends of optimizations for new CPU architectures as well. I also heard kernel code avoids MMX instructions for some reason: it may have to do with interrupt handling (fewer registers=faster?). x86 (and AMD64) processors are backwards compatible, so you don't strictly need the latest instructions. Regards, James Phillips Ah , i've just read it may not be safe to use MMX and SSE instructions in kernel code. So my CFLAGS is much too agressive , i'll notice this. Thank you all. -- Best Regards, Aaron Lewis - PGP: 0xA476D2E9 irc: A4r0n on freenode ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Compiler Flags problem with core2 CPU
Hi, I gonna recompile kernel for my core2 CPU , so i'd like to pass some flags to gcc. Kinds of -march=core2 , i tried to modify /etc/make.conf e.gCFLAGS += -march=core2 -O20 -ffast-math -mfpmath=sse But it fails .. bad arch switch , core2 cpu is not supported ? And is that useful to let gcc select cpu specified asm code ? -- Best Regards, Aaron Lewis - PGP: 0xA476D2E9 irc: A4r0n on freenode ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Compiler Flags problem with core2 CPU
Really ? It's bad to use custom flags to compile kernel , why do you think so ? I'd like to know more about this : ) So setting optimize compiler flags is only useful for userland stuff ? Paul B Mahol wrote: On 2/28/10, Aaron Lewis aaron.lewis1...@gmail.com wrote: Hi, I gonna recompile kernel for my core2 CPU , so i'd like to pass some flags to gcc. Kinds of -march=core2 , i tried to modify /etc/make.conf e.gCFLAGS += -march=core2 -O20 -ffast-math -mfpmath=sse But it fails .. bad arch switch , core2 cpu is not supported ? It is bad idea to compile kernel with custom flags. And gcc in FreeBSD doesn't know about core2, use 'native' if you must. And is that useful to let gcc select cpu specified asm code ? Only for some userland stuff like openssl. -- Best Regards, Aaron Lewis - PGP: 0xA476D2E9 irc: A4r0n on freenode ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
About FreeBSD hardware compatibility?
Hi, I'm a freebsd lovers , i wonna install fbsd7.1 to my laptop (IBM Thinkpad R400 a18). There's no available informations on laptop compatibility lists. So do you have any solutions to make a quick check if everything will work? I know Solaris has a Install_check tool which will give a list whether a hardware has solaris drivers ,third-part driver or not supported. Does Fbsd has something likely? Thk in advance! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org