Strange PAM message
Hello guys, has anyone got these messages : Oct 16 11:24:54 coruscant sshd[2690]: User root from 89.211.244.245 not allowed because none of user's groups are listed in AllowGroups Oct 16 11:24:55 coruscant sshd[2690]: fatal: Internal error: PAM auth succeeded when it should have failed FYI, I have a sshd server prohibiting root logins so the second log made me think about a possible break-in attempt and maybe a succeeding one :-( Any idea about what these messages mean ? Fred -- Ce serait beau, l'honneteté d'un avocat qui demanderait la condamnation de son client ! -+- Jules Renard -+- ___ 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: libxul compilation problem
2010/10/15 Rob Farmer rfar...@predatorlabs.net: 2010/10/15 Fernando Apesteguía fernando.apesteg...@gmail.com: The process being killed is cc1plus while compiling libxul. I'm running a stock 8.1-RELEASE GENERIC kernel on amd64 platform. The machine has 1Gb of physical memory and 256MB for swap (I have had this setup for quite a long time and have always kept my system up to date using the ports infrastructure without problems). 1.25 GB of total memory is rather low these days, especially if you were compiling with X or other things running (you didn't say one way or another). For a large port like this you are probably going to need more swap - Mozilla stuff is not know for being light on resources. Thanks for the reply. I didn't run X or whatsoever. That's why I think I should have enough memory. In fact after getting that error, I rebooted so I could update the ports from a fresh running system (nothing cached or so). But even in that case, I'm getting the same error. Any VM tuning I can try? Thanks. -- Rob Farmer ___ 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: no sound with ALC888
On 10/15/10 18:52, Bernt Hansson wrote: 2010-10-14 21:28, O. Hartmann skrev: Running most recent FreeBSD 8.1-STABLE on a P45/ICH10 based ASUS motherboard. There is no sound. dmesg output reports two HDA devices, one located on a Radeon HD4830 graphics board and one located on the ICH10 chipset. Setting hw.snd.default_unit=1 in /etc/sysctl.conf or manually does not solve the problem. 'cat /dev/sndstat' reports this: FreeBSD Audio Driver (newpcm: 64bit 2009061500/amd64) Installed devices: pcm0:HDA ATI R6xx HDMI PCM #0 HDMI (play) pcm1:HDA Analog Devices AD1988B PCM #0 Analog (play/rec) default pcm2:HDA Analog Devices AD1988B PCM #1 Analog (play) pcm3:HDA Analog Devices AD1988B PCM #2 Digital (play) (dmesg output: hdac0:ATI RV770 High Definition Audio Controller mem 0xfe7fc000-0xfe7f irq 17 at device 0.1 on pci1 hdac0: HDA Driver Revision: 20100226_0142 hdac0: [ITHREAD] hdac1:Intel 82801JI High Definition Audio Controller mem 0xfe6f8000-0xfe6fbfff irq 22 at device 27.0 on pci0 hdac1: HDA Driver Revision: 20100226_0142 hdac1: [ITHREAD] hdac0: HDA Codec #0: ATI R6xx HDMI pcm0:HDA ATI R6xx HDMI PCM #0 HDMI at cad 0 nid 1 on hdac0 hdac1: HDA Codec #0: Realtek ALC888 pcm1:HDA Realtek ALC888 PCM #0 Analog at cad 0 nid 1 on hdac1 pcm2:HDA Realtek ALC888 PCM #1 Analog at cad 0 nid 1 on hdac1 pcm3:HDA Realtek ALC888 PCM #2 Digital at cad 0 nid 1 on hdac1 pcm4:HDA Realtek ALC888 PCM #3 Digital at cad 0 nid 1 on hdac1) This is what I have hdac0: ATI SB600 High Definition Audio Controller mem 0xfe024000-0xfe027fff irq 16 at device 20.2 on pci0 hdac0: HDA Driver Revision: 20100226_0142 hdac0: [ITHREAD] hdac0: HDA Codec #0: Realtek ALC888 hdac1: ATI (Unknown) High Definition Audio Controller mem 0xfdffc000-0xfdff irq 19 at device 0.1 on pci1 hdac1: HDA Driver Revision: 20100226_0142 hdac1: [ITHREAD] hdac1: HDA Codec #0: ATI R6xx HDMI pcm0: HDA Realtek ALC888 PCM #0 Analog at cad 0 nid 1 on hdac0 pcm1: HDA Realtek ALC888 PCM #1 Analog at cad 0 nid 1 on hdac0 pcm2: HDA Realtek ALC888 PCM #2 Digital at cad 0 nid 1 on hdac0 pcm3: HDA ATI R6xx HDMI PCM #0 HDMI at cad 0 nid 1 on hdac1 Try putting this in rc.local: kldload snd_hda If you put it in boot/loader.conf sound won't work, at least not for me. I tried windows 7 on the box, no problem, sound is all right. VLC on freebsd doesn't do any sound output. When using a legacy PCI sound card (M-Audio Revolution 5.1), sound is present. I do not have any idea what the muting of the device could trigger. Any suggestions? What is the output of the command mixer Please email, too, since I'm not subscribing 'questions'. Thanks. Oliver Setting 'hw.snd.default_unit=2' didn't do anything. The driver(s) 'sound' and 'snd_hda' are compiled into the kernel. The output of 'mixer' looked good for the device in question, all HDMI/ATi R600/R700 related devices had two lines of devices while device number '1' had several, like this: Mixer vol is currently set to 100:100 Mixer pcm is currently set to 75:75 Mixer speaker is currently set to 75:75 Mixer line is currently set to 75:75 Mixer mic is currently set to 0:0 Mixer mix is currently set to 0:0 Mixer rec is currently set to 75:75 Mixer igainis currently set to 0:0 Recording source: mic Well, one problem vanished: after rebooting the box and prior to this extracting the PCI sound card, using sound on the rear plugs is a sexpected, but there is no sound on the front plugs (while Windows 7 shows on both sources sound). Oliver ___ 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: libxul compilation problem
2010/10/16 Fernando Apesteguía fernando.apesteg...@gmail.com: I didn't run X or whatsoever. That's why I think I should have enough memory. In fact after getting that error, I rebooted so I could update the ports from a fresh running system (nothing cached or so). But even in that case, I'm getting the same error. Any VM tuning I can try? I'm not really knowledgeable about that kind of thing. However, the port is marked MAKE_JOBS_SAFE which means that it will try to run multiple compiler instances in parallel, to speed things up if you have multiple CPUs/cores. You can try running with make -DDISABLE_MAKE_JOBS to just run one at a time - maybe you have enough memory for that but not multiple jobs at once? -- Rob Farmer ___ 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
old automake removal
Recently I did my usual ports upgrade by using portsnap . The pkg_version program shows that automake-1.9 and automake-1.10 and no longer current, but for some reason the message comparison failed shows up when I check the ports versions. I've tried pkgdb -u to update the database, but I still get this message each time I run pkg_version. I've also done the portsclean -DD program, but the warning is still there. How do I clean this up? ___ 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 obtain which interrupt take whole CPU
Hi #systat -v 1 usersLoad 0,99 1,03 1,01 16 окт 18:21 Mem:KBREALVIRTUAL VN PAGER SWAP PAGER Tot Share TotShareFree in out in out Act 1417004756 426408 6172 82400 count All 2217007588 258159616556 pages Proc:Interrupts r p d s w Csw Trp Sys Int Sof Fltcow2122 total 35 9495 64 1892 11k1zfodatkbd0 1 ozfod ata0 14 34,2%Sys 47,3%Intr 3,4%User 0,0%Nice 15,1%Idle%ozfod ata1 15 ||||||||||| daefr sis0 19 =prcfr 2122 cpu0:timer 3 dtbuf totfr Namei Name-cache Dir-cache 41680 desvn react Callshits %hits % 34874 numvn pdwak 7 7 100 9651 frevn pdpgs intrn Disks ad0103632 wire KB/t 0,00 63940 act tps 0247412 inact MB/s 0,0012 cache %busy 0 82388 free How to obtain which interrupt take whole CPU? -- mailto:kes-...@yandex.ru ___ 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
Is chinese/ibus-chewing port broken?
Hello, When I select Chinese - Chewing and press some bopomofo keys (pretty much any a-z keys) I don't see the prompt with these bopomofo letters. I think this is wrong -- bopomofo should be displayed along with the final word selection. I have these relevant ports installed: zh-ibus-chewing-1.3.5.20100706 ibus-1.3.5 ibus-m17n-1.3.0 ibus-qt-1.3.0 8.1-STABLE kde4 Thank you, Yuri ___ 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: old automake removal
On Sat, 16 Oct 2010, Arthur Barlow wrote: Recently I did my usual ports upgrade by using portsnap . The pkg_version program shows that automake-1.9 and automake-1.10 and no longer current, but for some reason the message comparison failed shows up when I check the ports versions. I've tried pkgdb -u to update the database, but I still get this message each time I run pkg_version. I've also done the portsclean -DD program, but the warning is still there. How do I clean this up? Comparison failed means you have an installed port that no longer exists in the ports tree. There's no way to compare the installed version to the (nonexistent) ports tree version. It's harmless, but you can use pkg_delete(1) to remove those obsolete installed automake ports. ___ 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
chromium crashes
Hi, I tried to run chromium as browser today but it crashes immediately: ... [1016/211130:WARNING:base/debug_util_posix.cc(228)] Don't know how to do this The program 'chrome' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAccess (attempt to access private resource denied)'. (Details: serial 741 error_code 10 request_code 139 minor_code 1) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) ma...@yokozuna:~% opera opera [crash logging]: Can't read kernel memory: : /dev/mem: Permission denied opera [crash logging]: CRASH!! no name got signal SIGSEGV at address 298C9B5D ... Has anyone else has this too? Thanks in advance. Regards, Marco -- He who has imagination without learning has wings but no feet. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Is it a good idea to use DHCP for point to point connections ?
On Thu, Oct 14, 2010 at 10:56 AM, Jerome Herman jher...@dichotomia.frwrote It is indeed a lot easier. Unfortunatly it cannot be used in this case. Basically it is an hotel that is already wired in CAT.6. We ant the clients to be able to connect through wire without resorting to routers or DSL modem, with just DHCP set up. The hotel is composed of 33 small residences connected with fiber. The idea is to avoid the part where we buy 33 layer3 switches at 3000$ a piece. Jerome Herman I work for a hotel as well and we ended up going with a 3rd party solution due to our chain's requirements, particularly the no need for the end user to have to do ANY network configuring on their end requirement being the most difficult. We ended up going with a hospitality gateway from Ethostream as they were the cheapest (between $1100 and $2600 depending on which gateway you pick). They also do 24/7 tech support which is another requirement of our chain. I can say that i'm very impressed with both their gateway (we went with the dual WAN gateway since having two separate connections is yet another of our chain's requirements) and their tech support as they're not just your typical script readers from my limited dealings with them. I tried for many moons to get something open source working for us. pfSense came close but there's still end user config required. Our chain requires that no matter if the guest has a static IP or DHCP set, no matter what their DNS servers are, no matter what (if any) proxy they have set, they have to have connectivity with those settings. I'm not sure how the Ethostream gateway does it yet (i'm looking into it though, just for interest's sake, we're going to keep them regardless) but it works. As for switches (we have 114 wired rooms plus meeting rooms plus some WAPs) we bought 3 Netgear FS750T2's as they are fairly cheap ($330-ish CAD) and are somewhat managed (they do port or tag based VLANs). Contact me off list if you want more info on Ethostream. Mark ___ 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: old automake removal
On Sat, Oct 16, 2010 at 12:16 PM, Warren Block wbl...@wonkity.com wrote: On Sat, 16 Oct 2010, Arthur Barlow wrote: Recently I did my usual ports upgrade by using portsnap . The pkg_version program shows that automake-1.9 and automake-1.10 and no longer current, but for some reason the message comparison failed shows up when I check the ports versions. I've tried pkgdb -u to update the database, but I still get this message each time I run pkg_version. I've also done the portsclean -DD program, but the warning is still there. How do I clean this up? Comparison failed means you have an installed port that no longer exists in the ports tree. There's no way to compare the installed version to the (nonexistent) ports tree version. It's harmless, but you can use pkg_delete(1) to remove those obsolete installed automake ports. That did work. I assumed that since the package was gone it wouldn't show up, but it was still in the system. ___ 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: chromium crashes
Quoth Marco Beishuizen on Saturday, 16 October 2010: Hi, I tried to run chromium as browser today but it crashes immediately: ... [1016/211130:WARNING:base/debug_util_posix.cc(228)] Don't know how to do this The program 'chrome' received an X Window System error. This probably reflects a bug in the program. The error was 'BadAccess (attempt to access private resource denied)'. (Details: serial 741 error_code 10 request_code 139 minor_code 1) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) ma...@yokozuna:~% opera opera [crash logging]: Can't read kernel memory: : /dev/mem: Permission denied opera [crash logging]: CRASH!! no name got signal SIGSEGV at address 298C9B5D ... Has anyone else has this too? Thanks in advance. Regards, Marco -- He who has imagination without learning has wings but no feet. ___ 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 I'm running chromium fine on 8.1-STABLE amd64 It does give the Don't know how to do this warning, but then proceeds OK. -- Sterling (Chip) Camden| sterl...@camdensoftware.com | 2048D/3A978E4F http://camdensoftware.com | http://chipstips.com| http://chipsquips.com pgprQCuR07Lyc.pgp Description: PGP signature
Transmission Queue Length
Hello, I have a question regarding the variable ifq_maxlength. Is there any way that I can tune that variable? If yes, can you please tell me how and also specify the maximum value of that variable. Vishwanadh Raparthi Graduate Student, Louisiana State University, Baton Rouge, LA-70802 ___ 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
gnome
when i exit X environment , the console show : xauth: (argv):1: bad display name yanxinyou.org:0 in remove command my /etc/rc.conf hostname=yanxinyou.org ifconfig_re0=DHCP linux_enable=YES my /etc/hosts ::1 localhost localhost.my.domain 127.0.0.1 localhost localhost.my.domain ___ 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
Build Perl with newer version of Berkeley/Sleepycat/Oracle DB -- How?
The subject line says it all... well... pretty much. I have Sleepycat/Oracle DB 4.something installed, and I really would like to rebuild and reinstall the standard DB_File package so as to get it to use the 4.something version of DB, rather than the 1.85 version that's in my libc.a. But I really have no idea how to go about this, so any hints would be apreciated. Oh! And one other thing. I was just running a modest sized new Perl program I've been writing that uses DB_File and that ties a %hash to a Berkeley DB file. Basically, I've debugged it and it _had_ seemed to be working well, but I just ran it on a bit more input data and this time, Perl itself crashed rather mysteriously. I'm including the gdb traceback for the resulting perl5.8.9.core corefile, in case anybody wants to speculate on the case here, or maybe help me to kill whatever bug caused this. (Should the Perl interpreter EVER crash with a SIGSEGV?) = (gdb) where #0 0x2828f70d in arc4random_addrandom () from /lib/libc.so.7 #1 0x2828bafd in dbopen () from /lib/libc.so.7 #2 0x2828a4ff in __srget () from /lib/libc.so.7 #3 0x2828bbc9 in dbopen () from /lib/libc.so.7 #4 0x2828a21f in __srget () from /lib/libc.so.7 #5 0x2828d290 in __hash_open () from /lib/libc.so.7 #6 0x282ef5f2 in XS_DB_File_STORE () from /usr/local/lib/perl5/5.8.9/mach/auto/DB_File/DB_File.so #7 0x280fbaf2 in Perl_pp_entersub () from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so #8 0x280fa245 in Perl_runops_standard () from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so #9 0x280f2d80 in S_call_body () from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so #10 0x280f54bc in Perl_call_sv () from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so #11 0x280f5da4 in Perl_call_method () from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so #12 0x280ea8b7 in S_magic_methcall () from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so #13 0x280eac8a in Perl_magic_setpack () from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so #14 0x280ed3c8 in Perl_mg_set () from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so #15 0x28103078 in Perl_pp_sassign () from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so #16 0x280fa245 in Perl_runops_standard () from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so #17 0x280f6304 in perl_run () from /usr/local/lib/perl5/5.8.9/mach/CORE/libperl.so #18 0x0804892e in main () (gdb) quit ___ 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
UDP packet spoofed LAN source address?
This is really more of a networking question. I'm wondering, in a typical scenario, for example my server is in a data center with a typical colocation company. I am editing someone else's code, and this code handles incoming UDP packets. The code handles UDP packets that have a source address being from the LAN differently. It gives those packets special treatment. To check whether a source address is a LAN address, it does the typical checks for 10.0.0.0, 172.16.0.0, 192.168.0.0, 127.0.0.0, and it also checks every assinged IP address with netmask to see if the source address on the UDP packet came from that network. My question is - how possible (in these typical environments) is it to send a UDP packet from far away that claims to have a source address being a LAN address? Will such a packet typically make it to my server, or will a router along the way stop it from arriving? Maybe, is there a simple 10 line C program that I can run and compile to check if this scenario is possible on _my_ server? - Nerius ___ 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