panic 6.1-PRERELEASE
I had a panic on 6.1-Prerelease, cvsup from from 12 Feb 2006 This is a dual PIII HP server I can provide the kernel.debug and vmcore on request. backtrace and dmesg following : This GDB was configured as i386-marcel-freebsd. Unread portion of the kernel message buffer: Fatal trap 12: page fault while in kernel mode cpuid = 1; apic id = 00 fault virtual address = 0x58 fault code = supervisor write, page not present instruction pointer = 0x20:0xc07a050c stack pointer = 0x28:0xeb76cad4 frame pointer = 0x28:0xeb76cb04 code segment= base 0x0, limit 0xf, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags= interrupt enabled, resume, IOPL = 0 current process = 28892 (python) was py24-BitTorrent-devel-4.2.0,1 trap number = 12 panic: page fault cpuid = 1 Uptime: 10d15h49m19s Dumping 1023 MB (2 chunks) chunk 0: 1MB (157 pages) ... ok chunk 1: 1023MB (261872 pages) 1007 991 975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 143 127 111 95 79 63 47 31 15 #0 doadump () at pcpu.h:165 165 pcpu.h: No such file or directory. in pcpu.h (kgdb) bt #0 doadump () at pcpu.h:165 #1 0xc06dc582 in boot (howto=260) at /usr/src/sys/kern/kern_shutdown.c:399 #2 0xc06dc974 in panic (fmt=0xc0940955 %s) at /usr/src/sys/kern/kern_shutdown.c:555 #3 0xc08f338c in trap_fatal (frame=0xeb76ca94, eva=0) at /usr/src/sys/i386/i386/trap.c:836 #4 0xc08f3032 in trap_pfault (frame=0xeb76ca94, usermode=0, eva=88) at /usr/src/sys/i386/i386/trap.c:744 #5 0xc08f2bcd in trap (frame= {tf_fs = -993591288, tf_es = 40, tf_ds = 40, tf_edi = 0, tf_esi = 0, tf_ebp = -344536316, tf_isp = -344536384, tf_ebx = -344535936, tf_edx = -344535664, tf_ecx = 0, tf_eax = 8, tf_trapno = 12, tf_err = 2, tf_eip = -1065745140, tf_cs = 32, tf_eflags = 66183, tf_esp = -344535936, tf_ss = -344536340}) at /usr/src/sys/i386/i386/trap.c:434 #6 0xc08dc61a in calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc07a050c in ip_ctloutput (so=0x8, sopt=0xeb76cc80) at /usr/src/sys/netinet/ip_output.c:1210 #8 0xc07b156f in tcp_ctloutput (so=0xc4e31c84, sopt=0xeb76cc80) at /usr/src/sys/netinet/tcp_usrreq.c:1038 #9 0xc07266a7 in sosetopt (so=0xc4e31c84, sopt=0xeb76cc80) at /usr/src/sys/kern/uipc_socket.c:1560 #10 0xc072d339 in kern_setsockopt (td=0xc4c7fd80, s=8, level=8, name=8, val=0xbfbfb540, valseg=UIO_USERSPACE, valsize=0) at /usr/src/sys/kern/uipc_syscalls.c:1351 #11 0xc072d23e in setsockopt (td=0x8, uap=0xeb76cd90) at /usr/src/sys/kern/uipc_syscalls.c:1307 #12 0xc08f37b0 in syscall (frame= {tf_fs = 135397435, tf_es = 59, tf_ds = 135397435, tf_edi = 164415488, tf_esi = 191289660, tf_ebp = -1077955248, tf_isp = -344535708, tf_ebx = 708570616, tf_edx = 58, tf_ecx = -1077955984, tf_eax = 105, tf_trapno = 0, tf_err = 2, tf_eip = 673883487, tf_cs = 51, tf_eflags = 514, tf_esp = -1077955308, tf_ss = 59}) at /usr/src/sys/i386/i386/trap.c:981 #13 0xc08dc66f in Xint0x80_syscall () at /usr/src/sys/i386/i386/exception.s:200 #14 0x0033 in ?? () Previous frame inner to this frame (corrupt stack?) dmesg: Copyright (c) 1992-2006 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 6.1-PRERELEASE #4: Sun Feb 12 20:23:08 CET 2006 ACPI APIC Table: PTLTDAPIC Timecounter i8254 frequency 1193182 Hz quality 0 CPU: Intel Pentium III (789.10-MHz 686-class CPU) Origin = GenuineIntel Id = 0x686 Stepping = 6 Features=0x383fbffFPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE real memory = 1073676288 (1023 MB) avail memory = 1041567744 (993 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 1 cpu1 (AP): APIC ID: 0 ioapic0 Version 1.1 irqs 0-15 on motherboard ioapic1 Version 1.1 irqs 16-31 on motherboard npx0: [FAST] npx0: math processor on motherboard npx0: INT 16 interface acpi0: PTLTD HWPC20A on motherboard acpi0: Power Button (fixed) can't fetch resources for \\_SB_.PCI0.ISA_.SIO_.LPT_ - AE_AML_INVALID_RESOURCE_TYPE Timecounter ACPI-safe frequency 3579545 Hz quality 1000 acpi_timer0: 32-bit timer at 3.579545MHz port 0x1208-0x120b on acpi0 cpu0: ACPI CPU on acpi0 cpu1: ACPI CPU on acpi0 pcib0: ACPI Host-PCI bridge port 0xcf8-0xcff on acpi0 pci0: ACPI PCI bus on pcib0 fxp0: Intel 82559 Pro/100 Ethernet port 0x1800-0x183f mem 0xf4001000-0xf4001fff,0xf410-0xf41f irq 17 at device 3.0 on pci0 miibus0: MII bus on fxp0 inphy0: i82555 10/100 media interface on miibus0 inphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto fxp0: Ethernet address: 00:03:47:3a:97:a5 fxp1: Intel 82559 Pro/100 Ethernet port
rip2 ospf: freebsd 6.0
hi liste I'm looking for a dynamic routing (rip2, ospf) solution under freebsd 6.0. currently, I've always known zebra which exists in freebsd ports collection. do have a better idea? ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
fs check on ext3
Hi all, i want partition a disk on freebsd but now the disk is ext3 partition and i need backup a data and later create a fbsd slide i do: mount_ext2fs /dev/ad5 /disktmp mount_ext2fs: /dev/ad5: Operation not permitted this because the disk need a a fs check is there a tool for check ext3 fs on freebsd? Thanks! Pol ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: device atapicam - causes huge slowdown
Adam Retter [EMAIL PROTECTED] wrote: FreeBSD funkalicious.home.dom 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #8: Thu Feb 23 23:24:57 GMT 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/funkalicious i386 I have a fairly straight-forward kernel config (see below) I think, yet if I enable device atapicam, and buildkernel and installkernel and reboot, the system starts up fine until it get's to finding disks and then it goes incredibly slowly, takes about 5 minutes to get to harvesting interupts and so on and so on, I think it will eventually get to the login prompt, but I havent been tolerant to wait that long 15 minutes. If I dont use device atapicam the system is perfect, but I could really do with enabling it, for CD/DVD writting purposes... If you don't use device atapicam you can kldload atapicam.ko later. You could try it to see if it makes a difference. Fabian -- http://www.fabiankeil.de/ signature.asc Description: PGP signature
Re: fs check on ext3
You can use the ext2fs tool to fsck it. FreeBSD only supports ext2fs, but ext3fs is backwards compatible with ext2fs. ext3fs just add's the journaling support. You can use the ext2fs fsck tool from /usr/ports/sysutils/e2fsprogs On Fri, 2006-02-24 at 10:57 +0100, Pol Hallen wrote: Hi all, i want partition a disk on freebsd but now the disk is ext3 partition and i need backup a data and later create a fbsd slide i do: mount_ext2fs /dev/ad5 /disktmp mount_ext2fs: /dev/ad5: Operation not permitted this because the disk need a a fs check is there a tool for check ext3 fs on freebsd? Thanks! Pol ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: rip2 ospf: freebsd 6.0
From [EMAIL PROTECTED] Fri Feb 24 09:48:08 2006 Date: Fri, 24 Feb 2006 10:47:18 +0100 From: [EMAIL PROTECTED] To: freebsd-stable@freebsd.org Subject: rip2 ospf: freebsd 6.0 hi liste I'm looking for a dynamic routing (rip2, ospf) solution under freebsd 6.0. currently, I've always known zebra which exists in freebsd ports collection. do have a better idea? If RIPv2 is enough, there's routed in the base distribution. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: fs check on ext3
On Friday 24 February 2006 04:57, Pol Hallen wrote: Hi all, i want partition a disk on freebsd but now the disk is ext3 partition and i need backup a data and later create a fbsd slide i do: mount_ext2fs /dev/ad5 /disktmp mount_ext2fs: /dev/ad5: Operation not permitted Are you sure that's the correct device name? Unless the filesystem really is on the beginning of the raw disk, you probably want a slice number after ad5. Do an fdisk ad5 To see what slices are on the disk, and then use the appropriate device name (e.g. /dev/ad5s1). JN ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Hyperactive pagezero
On a very loaded web server (httpd processes are huge because PHP uses lots of shared memory) the pagezero process seems to constantly take up to 30% of CPU time (this is 2-CPU SMP machine): PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 12 root1 171 52 0K 8K RUN0 220.0H 35.74% idle: cpu0 61 root1 -16 -135 0K 8K pgzero 0 679:47 27.83% pagezero 35199 www 1 1220 71132K 42140K CPU1 1 0:35 26.56% httpd 35541 www 1 960 51452K 22452K select 0 0:21 15.14% httpd 11 root1 171 52 0K 8K RUN1 192.5H 14.94% idle: cpu1 35391 www 1 200 63368K 34272K lockf 0 1:02 3.56% httpd 35467 www 1 970 50772K 20768K select 0 0:23 2.05% httpd 35447 www 1 980 51724K 22956K select 0 0:04 1.76% httpd 35390 www 1 200 51140K 22708K lockf 0 0:27 1.37% httpd 44 root1 -44 -163 0K 8K WAIT 1 161:04 1.27% swi1: net This is: FreeBSD myserver.net 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #2: Sun Feb 5 00:07:27 CET 2006 I have 'aj' linked as /etc/malloc.conf. Any ideas on why this is so? 30% CPU just seems way too much for such thing. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SSH login takes very long time...sometimes
On Fri, 24 Feb 2006 11:50:25 +0900 Hajimu UMEMOTO [EMAIL PROTECTED] wrote: Hi, Hello On Thu, 23 Feb 2006 23:57:27 +0200 Rostislav Krasny [EMAIL PROTECTED] said: rosti Your patch fixed the problem, thank you. Thank you for testing. I'll commit it later. Excellent! What about RES_DFLRETRY decreasing from 4 to 2? Does it need more testing or discussion? rosti But during my tests I've found rosti another form of doubling bug in getaddrinfo(). To test the getaddrinfo() rosti behavior I used a program that is attached to this email. rosti If hints.ai_socktype == 0 then the getaddrinfo() does the lookup twice, rosti even if DNS is reachable. If the latter is the case, returned linked rosti list is twice as large than it should be. The hints.ai_socktype seems rosti to have the same influence when hints.ai_family is PF_INET6 or rosti PF_UNSPEC too. No, it is expected behavior of getaddrinfo(3). If hints.ai_socktype is zero, getaddrinfo(3) returns the entries for all available socktypes. Though getaddrinfo(3) returns doubled linkd list, getaddrinfo(3) does DNS lookup just once for all. If you don't want it, you need to specify appropriate socktype explicitly. Ok. It was just not clear when I read the manual and saw, by tcpdump, two for example 'A? yahoo.com.' requests to a reachable DNS. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Processes started inside a jail are only visible outside the jail
Hi Vlad, See your sysctl.conf per this entries: sysctl -ad | grep bsd.see security.bsd.see_other_gids: Unprivileged processes may see subjects/objects with different real gid security.bsd.see_other_uids: Unprivileged processes may see subjects/objects with different real uid Ricardo A. Reis UNIFESP Unix and Network Admin 6.1-PRERELEASE Inside the jail: [EMAIL PROTECTED] / # /usr/local/sbin/lighttpd -f /usr/local/etc/lighttpd.conf [EMAIL PROTECTED] / # [EMAIL PROTECTED] / # ps ax | grep light 55816 p0 S+J0:00.00 grep light [EMAIL PROTECTED] / # Outside the jail: [EMAIL PROTECTED] / # ps ax | grep light 6263 ?? S 0:47.85 /usr/local/sbin/lighttpd -f /usr/local/etc/lighttpd.conf 81204 ?? SJ 0:00.01 /usr/local/sbin/lighttpd -f /usr/local/etc/lighttpd.conf 85151 pa S+ 0:00.00 grep light [EMAIL PROTECTED] / # There are two lighttpd instances - the host runs one as well. The other one is the one started from within the jail. I don't know where to start investigating from. -- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SSH login takes very long time...sometimes
Hi, On Fri, 24 Feb 2006 15:51:53 +0200 Rostislav Krasny [EMAIL PROTECTED] said: rosti Excellent! What about RES_DFLRETRY decreasing from 4 to 2? Does it need rosti more testing or discussion? It seems reasonable to me, and there are no objection here. So, I've just committed both into HEAD. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan [EMAIL PROTECTED] [EMAIL PROTECTED],jp.}FreeBSD.org http://www.imasy.org/~ume/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Processes started inside a jail are only visible outside the jail
On 2/24/06, Vlad GALU [EMAIL PROTECTED] wrote: On 2/24/06, Ricardo A. Reis [EMAIL PROTECTED] wrote: Hi Vlad, See your sysctl.conf per this entries: sysctl -ad | grep bsd.see security.bsd.see_other_gids: Unprivileged processes may see subjects/objects with different real gid security.bsd.see_other_uids: Unprivileged processes may see subjects/objects with different real uid They were set to 0, indeed. But I ran ps in the jail as root. I should be seeing that process. For all other processes it seems to work as expected. Only lighttpd manifests this symptom. I had mac_seeotheruids active. When I deactivated it, the problem went away. Strange ... I changed my settings as follows: -- cut here -- security.mac.seeotheruids.specificgid: 0 security.mac.seeotheruids.specificgid_enabled: 1 security.mac.seeotheruids.primarygroup_enabled: 0 security.mac.seeotheruids.enabled: 1 -- and here -- Now root can see all processes, even within the jail. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SSH login takes very long time...sometimes
On Sat, Feb 25, 2006 at 02:08:21AM +0900, Hajimu UMEMOTO wrote: On Fri, 24 Feb 2006 15:51:53 +0200 Rostislav Krasny [EMAIL PROTECTED] said: rosti Excellent! What about RES_DFLRETRY decreasing from 4 to 2? Does it need rosti more testing or discussion? It seems reasonable to me, and there are no objection here. So, I've just committed both into HEAD. IMHO the only principal reservation about changing RES_DFLRETRY was that its effect was unobvious due to the bug you've just fixed. Now all should be OK. Thank you a lot! To Rostislav: Could you do now, with the resolver fixes applied, the following experiment: find how many dead nameservers in resolv.conf it takes for sshd to start timing out a connection to it? There is still your PR open on this issue, so we should see whether the default for LoginGraceTime needs a change, too. Thanks! -- Yar ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Processes started inside a jail are only visible outside the jail
On 2/24/06, Ricardo A. Reis [EMAIL PROTECTED] wrote: Hi Vlad, See your sysctl.conf per this entries: sysctl -ad | grep bsd.see security.bsd.see_other_gids: Unprivileged processes may see subjects/objects with different real gid security.bsd.see_other_uids: Unprivileged processes may see subjects/objects with different real uid They were set to 0, indeed. But I ran ps in the jail as root. I should be seeing that process. For all other processes it seems to work as expected. Only lighttpd manifests this symptom. I had mac_seeotheruids active. When I deactivated it, the problem went away. Strange ... Ricardo A. Reis UNIFESP Unix and Network Admin 6.1-PRERELEASE Inside the jail: [EMAIL PROTECTED] / # /usr/local/sbin/lighttpd -f /usr/local/etc/lighttpd.conf [EMAIL PROTECTED] / # [EMAIL PROTECTED] / # ps ax | grep light 55816 p0 S+J0:00.00 grep light [EMAIL PROTECTED] / # Outside the jail: [EMAIL PROTECTED] / # ps ax | grep light 6263 ?? S 0:47.85 /usr/local/sbin/lighttpd -f /usr/local/etc/lighttpd.conf 81204 ?? SJ 0:00.01 /usr/local/sbin/lighttpd -f /usr/local/etc/lighttpd.conf 85151 pa S+ 0:00.00 grep light [EMAIL PROTECTED] / # There are two lighttpd instances - the host runs one as well. The other one is the one started from within the jail. I don't know where to start investigating from. -- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED] -- If it's there, and you can see it, it's real. If it's not there, and you can see it, it's virtual. If it's there, and you can't see it, it's transparent. If it's not there, and you can't see it, you erased it. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: mount_smbfs trouble after cvsup
On Wed, Feb 22, 2006 at 11:04:54AM +, Gavin Atkinson wrote: On Tue, 2006-02-21 at 19:29 +0800, Tai-hwa Liang wrote: On Tue, 21 Feb 2006, Bachilo Dmitry wrote: I've cvsuped from 6.0 to 6.1-PRERELEASE and now I can't mount NT's shares with password. It worked fine before, but after cvsup i get mount_smbfs: unable to open connection: syserr = Authentication error and in /var/log/messages I get Feb 21 14:51:24 notebook kernel: netsmb_dev: loaded Feb 21 14:51:27 notebook kernel: smb_encrypt: password encryption is not available Feb 21 14:51:27 notebook kernel: smb_ntencrypt: password encryption is not available As far as I see, there is no option in mount_smbfs to disable password options NETSMBCRYPTO in kernel configuartion file. encryption, so I'm just stuck, what should I do? Thanks in advance. http://lists.freebsd.org/pipermail/freebsd-current/2006-January/059823.html Is there a reason this change was made? And is there a reason why The change wasn't against NETSMBCRYPTO, it just corrected the way kernel modules get their options. NETSMBCRYPTO is not in GENERIC? To me, it seems that breaking smbfs between releases within 6.x violates POLA... I suspect a large number of people (myself included) have always used smbfs for passworded shares and it's just worked. This issue is under investigation by the Release Engineers and yours truly. I'm sorry my change to the kernel module framework caused the confusion, but so the whole issue has got attention at last. Of course, it must be fixed before 6.1-R. In the meanwhile, I'd like to hear about any reservations on making NETSMBCRYPTO the default case for netsmb/smbfs. Thanks! -- Yar ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
HEADSUP: new ath and hal
I've mfc'd the v0.9.16.16 hal and related driver and rate control changes. The new hal has support for the latest parts so once again all pci/cardbus cards should work (modulo the few cards based on the pre-11n mimo part). If you hit issues please be sure to provide at least the following info: 1. card mac+phy revs; dmesg|grep ath typically provides that 2. ifconfig of the interface 3. steps to reproduce the problem if possible There are still changes pending mfc but they should only affect ap mode. I'm primarily interested in verifying station and adhoc mode operation. Sam ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Any issues?
Greetings, I synced up both my source and ports trees 4 days ago and as I haven't built a kernel for about 5mos. coupled with the security issues that have developed since then. I want to (re)build both kernel and and already installed ports on my SMP box. So before I do it, I wanted to know if there have been any issues with the source that I should know about before I take the plunge. Thank you for all your time and consideration. --Chris This message was brought to you by the H.R. Communications Corp., Webmail Internet Messaging System. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any issues?
At 05:14 PM 24/02/2006, Chris wrote: Greetings, I synced up both my source and ports trees 4 days ago and as I haven't built a kernel for about 5mos. coupled with the security issues that have developed since then. I want to (re)build both kernel and and already installed ports on my SMP box. So before I do it, I wanted to know if there have been any issues with the source that I should know about before I take the plunge. A lot has changed since 4 months, and things have been quite stable on my SMP RELENG_6 boxes. However, perhaps you are using some hardware that others are not using and perhaps you might run into some issues as a result. Post a dmesg to show what gear you are running. ---Mike ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any issues?
Greetings, Here's a dmesg (see attached). Thanks. --Chris Quoting Mike Tancsa [EMAIL PROTECTED]: At 05:14 PM 24/02/2006, Chris wrote: Greetings, I synced up both my source and ports trees 4 days ago and as I haven't built a kernel for about 5mos. coupled with the security issues that have developed since then. I want to (re)build both kernel and and already installed ports on my SMP box. So before I do it, I wanted to know if there have been any issues with the source that I should know about before I take the plunge. A lot has changed since 4 months, and things have been quite stable on my SMP RELENG_6 boxes. However, perhaps you are using some hardware that others are not using and perhaps you might run into some issues as a result. Post a dmesg to show what gear you are running. ---Mike This message was brought to you by the H.R. Communications Corp., Webmail Internet Messaging System. dmesg.today Description: Binary data ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any issues?
Greetings, My mailer blew the last posting. Here's another attempt at posting the dmesg... Quoting Mike Tancsa [EMAIL PROTECTED]: At 05:14 PM 24/02/2006, Chris wrote: Greetings, I synced up both my source and ports trees 4 days ago and as I haven't built a kernel for about 5mos. coupled with the security issues that have developed since then. I want to (re)build both kernel and and already installed ports on my SMP box. So before I do it, I wanted to know if there have been any issues with the source that I should know about before I take the plunge. A lot has changed since 4 months, and things have been quite stable on my SMP RELENG_6 boxes. However, perhaps you are using some hardware that others are not using and perhaps you might run into some issues as a result. Post a dmesg to show what gear you are running. ---Mike This message was brought to you by the H.R. Communications Corp., Webmail Internet Messaging System. dmesg.today Description: Binary data ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Disk I/O system hang on 5.4-RELEASE-p8 i386
Kris Kennaway writes: | On Thu, Feb 23, 2006 at 04:44:46PM -0600, Greg Rivers wrote: | On Thu, 23 Feb 2006, Michael R. Wayne wrote: | | Been fighting this for a while. We have an older server, running | 5.4-RELEASE-p8 i386 and used primarily for email, which hangs every | couple of weeks. The hang seems to be in the disk I/O system; pings | succeed, and I can continue get a login: prompt on the console until | I enter a login at which the response stops. | [snip] | | I think you're seeing the UFS deadlock I reported last November for | RELENG_6. See the thread beginning at | http://lists.freebsd.org/pipermail/freebsd-stable/2005-November/019979.html | | I believe this issue has made it onto the show-stopper list for | 6.1-RELEASE and is being actively worked on. | | It's on the todo list, but I don't think it's being worked on yet. | The main problem is that we need a way to reproduce it on command. | I'd forgotten that snapshots are involved, so maybe it's just a matter | of running lots of mksnap_ffs while I/O is in progress. FWIW, I found a problem when creating snapshots in that it could exhaust available buffers and wedge: Index: ffs_snapshot.c === RCS file: /usr/local/cvsroot/freebsd/src/sys/ufs/ffs/ffs_snapshot.c,v retrieving revision 1.112 diff -u -p -r1.112 ffs_snapshot.c --- ffs_snapshot.c 9 Jan 2006 20:42:18 - 1.112 +++ ffs_snapshot.c 24 Feb 2006 23:02:19 - @@ -336,6 +336,8 @@ restart: if (error) goto out; bawrite(nbp); + if (cg % 10 == 0) + ffs_syncvnode(vp, MNT_WAIT); } /* * Copy all the cylinder group maps. Although the @@ -357,6 +360,8 @@ restart: goto out; error = cgaccount(cg, vp, nbp, 1); bawrite(nbp); + if (cg % 10 == 0) + ffs_syncvnode(vp, MNT_WAIT); if (error) goto out; } Fixed this problem for me. Doug A. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
No important but...
Hi all It's not important (maybe not event a bug), but I just want to report I run FreeBSD stable with PAE kernel on SMP (two proc) AMD Opteron on FreeBSD i386 version. I've this when I use top PID USERNAME THR PRI NICE SIZERES STATE C TIME WCPU COMMAND 88552 root1 1190 14180K 13564K CPU1 0 2:46 102.07% xctfc I don't known it's normal to have more than 100% on one cpu ... Regards. -- Albert SHIH Universite de Paris 7 (Denis DIDEROT) U.F.R. de Mathematiques. Heure local/Local time: Sat Feb 25 01:23:56 CET 2006 ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
open office 20 fails to build
hello all I am having problems building openoffice 2.0 port [EMAIL PROTECTED] uname -a FreeBSD rachel.computerking.ca 6.1-PRERELEASE FreeBSD 6.1-PRERELEASE #1: Thu Feb 23 17:08:07 MST 2006 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC i386 here is error output 06 /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/solver/680/unxfbsd.pro/lib/uriproc.uno.so 0x2805b000 /libexec/ld-elf.so.1 Heap at VM Abort: Heap def new generation total 576K, used 122K [0x2cfe, 0x2d08, 0x2d4c) eden space 512K, 24% used [0x2cfe, 0x2cffebd0, 0x2d06) from space 64K, 0% used [0x2d06, 0x2d06, 0x2d07) to space 64K, 0% used [0x2d07, 0x2d07, 0x2d08) tenured generation total 1408K, used 0K [0x2d4c, 0x2d62, 0x30fe) the space 1408K, 0% used [0x2d4c, 0x2d4c, 0x2d4c0200, 0x2d62) compacting perm gen total 4096K, used 895K [0x30fe, 0x313e, 0x34fe) the space 4096K, 21% used [0x30fe, 0x310bfdc0, 0x310bfe00, 0x313e) Local Time = Fri Feb 24 17:31:00 2006 Elapsed Time = 0 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.2-p8-rmvg_08_feb_2006_22_56 mixed mode) # # An error report file has been saved as hs_err_pid5116.log. # Please refer to the file for further information. # Abort (core dumped) dmake: Error code 134, while making '../../unxfbsd.pro/lib/uno_services.rdb' dmake: '../../unxfbsd.pro/lib/uno_services.rdb' removed. '---* tg_merge.mk *---' ERROR: Error 65280 occurred while making /usr/ports/editors/openoffice.org-2.0/work/OOA680_m1/testtools/source/bridgetest dmake: Error code 1, while making 'build_instsetoo_native' '---* tg_merge.mk *---' *** Error code 255 Stop in /usr/ports/editors/openoffice.org-2.0. -- Computer King/CaNMail http://www.computerking.ca http://www.canmail.org Sales, Service, and Hosting Email, Data, and Web Packages Ask about web design specials Affiliates http://www.computerking.ca/pages/links/affiliates/affiliates.htm Maybe Computer Science should be in the College of Theology. -- R. S. Barton ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SSH login takes very long time...sometimes
On Fri, 24 Feb 2006 20:40:07 +0300 Yar Tikhiy [EMAIL PROTECTED] wrote: To Rostislav: Could you do now, with the resolver fixes applied, the following experiment: find how many dead nameservers in resolv.conf it takes for sshd to start timing out a connection to it? There is still your PR open on this issue, so we should see whether the default for LoginGraceTime needs a change, too. Thanks! The maximum number of name servers those the resolver will work with is MAXNS, which currently is 3. With three unreachable name servers in resolv.conf I successfully connected from other, not patched, FreeBSD 6.1-PRERELEASE by ssh without touching LoginGraceTime. I've got the password prompt after about 48.5 seconds, according to a stop watch in my cell phone :-) I also tested telnet connection and it worked properly in that situation. However I was unable to connect by ftp, even with only one unreachable name server in resolv.conf. I got following error: 421 Service not available, remote server timed out. Connection closed I've found the problem in both: ftpd(8) and ftp(1). In the ftpd(8) a getaddrinfo() is called in two places with hints.ai_socktype == 0 and hints.ai_family == PF_UNSPEC. In the ftp(1) a command reply timeout is only 60 seconds. Those things are what I've changed to fix the problem. Two diffs are attached to this email. The ftpd.c.diff extends -4 and -6 ftpd options. So if this patch is good, the ftpd(8) manual page and the default /etc/inetd.conf should also be changed appropriately. Although I changed two getaddrinfo() calls in ftpd.c, only first of them is really called on default FreeBSD configuration, when /etc/ftphosts isn't existing yet. So there might be a need of additional increase of the command reply timeout in ftp.c. Or better if this timeout could be configurable by some new ftp(1) option, with 120 seconds by default. --- libexec/ftpd/ftpd.c.origWed Feb 8 18:54:05 2006 +++ libexec/ftpd/ftpd.c Sat Feb 25 00:30:26 2006 @@ -239,7 +239,7 @@ } #ifdef VIRTUAL_HOSTING -static void inithosts(void); +static void inithosts(int); static void selecthost(union sockunion *); #endif static void ack(char *); @@ -424,7 +424,7 @@ } #ifdef VIRTUAL_HOSTING - inithosts(); + inithosts(family); #endif if (daemon_mode) { @@ -663,7 +663,7 @@ */ static void -inithosts(void) +inithosts(int family) { int insert; size_t len; @@ -689,7 +689,8 @@ memset(hints, 0, sizeof(hints)); hints.ai_flags = AI_CANONNAME; - hints.ai_family = AF_UNSPEC; + hints.ai_family = family; + hints.ai_socktype = SOCK_STREAM; if (getaddrinfo(hrp-hostname, NULL, hints, res) == 0) hrp-hostinfo = res; hrp-statfile = _PATH_FTPDSTATFILE; @@ -759,9 +760,10 @@ /* NOTREACHED */ } - hints.ai_flags = 0; - hints.ai_family = AF_UNSPEC; + /* If no flag, assign hints.ai_flags to zero! */ hints.ai_flags = AI_PASSIVE; + hints.ai_family = family; + hints.ai_socktype = SOCK_STREAM; if (getaddrinfo(vhost, NULL, hints, res) != 0) goto nextline; for (ai = res; ai != NULL ai-ai_addr != NULL; --- contrib/lukemftp/src/ftp.c.orig Tue May 17 06:11:25 2005 +++ contrib/lukemftp/src/ftp.c Sat Feb 25 01:42:19 2006 @@ -406,7 +406,7 @@ for (line = 0 ;; line++) { dig = n = code = 0; cp = current_line; - while (alarmtimer(60),((c = getc(cin)) != '\n')) { + while (alarmtimer(120),((c = getc(cin)) != '\n')) { if (c == IAC) { /* handle telnet commands */ switch (c = getc(cin)) { case WILL: @@ -447,7 +447,7 @@ if (verbose) { if (reply_timeoutflag) fputs( -421 Service not available, remote server timed out. Connection closed\n, +421 Service not available, remote server timed out. Connection closed.\n, ttyout); else if (reply_abrtflag) fputs( ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: open office 20 fails to build
# The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.2-p8-rmvg_08_feb_2006_22_56 mixed mode) This problem has been fixed in revision 1.4.2p8_3 of java/jdk14, committed on 11th February. Upgrade your JDK to the current revision and try building OOo again. - Bartosz PS: There is a separate list for OOo related discussions, [EMAIL PROTECTED] You should use that instead of [EMAIL PROTECTED] ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Any issues?
Chris wrote: Greetings, I synced up both my source and ports trees 4 days ago and as I haven't built a kernel for about 5mos. coupled with the security issues that have developed since then. I want to (re)build both kernel and and already installed ports on my SMP box. First off, It's important to note that with FreeBSD you should not just build and install a new kernel every N months. FreeBSD is a complete operating system, so it's important that you follow the procedure in /usr/src/UPDATING to keep your whole system up to date. As for ports, you really only need to update the ports that have newer versions in the tree. Within a major release version number (like the 6.x branch) it's hardly ever necessary to rebuild all your ports. If I may, I'd like to suggest that you take a look at ports/sysutils/portmaster, which is a script I wrote to help make managing your installed ports easier. hth, Doug -- This .signature sanitized for your protection ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
5.4-STABLE hangs every few days
Hi all, Been having problems with my Tyan Thunder i7500 (S2720) dual Xeon running -STABLE: it's hanging every couple of days. I couldn't find any specific fixes on the lists, but I did come across some instructions about breaking into the debugger from a serial console. I built a kernel with the following options: DDB, KDB, WITNESS BREAK_TO_DEBUGGER (INVARIANTS wouldn't build). When it hangs, there seems to be no response - no network activity (pings), no response from the keyboard/mouse, but I *am* able to break into the debugger. I ran show pcpu, ps, show threads, show alllocks, show lockedvnods and saved the output. What do I do with the data to further troubleshoot my problems? Thanks. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.4-STABLE hangs every few days
On Fri, Feb 24, 2006 at 06:47:49PM -0700, Brad Waite wrote: Hi all, Been having problems with my Tyan Thunder i7500 (S2720) dual Xeon running -STABLE: it's hanging every couple of days. I couldn't find any specific fixes on the lists, but I did come across some instructions about breaking into the debugger from a serial console. I built a kernel with the following options: DDB, KDB, WITNESS BREAK_TO_DEBUGGER (INVARIANTS wouldn't build). Perhaps you forgot INVARIANT_SUPPORT. Kris pgpDSbvxnnmZ8.pgp Description: PGP signature
Re: 5.4-STABLE hangs every few days
Kris Kennaway wrote: On Fri, Feb 24, 2006 at 06:47:49PM -0700, Brad Waite wrote: Hi all, Been having problems with my Tyan Thunder i7500 (S2720) dual Xeon running -STABLE: it's hanging every couple of days. I couldn't find any specific fixes on the lists, but I did come across some instructions about breaking into the debugger from a serial console. I built a kernel with the following options: DDB, KDB, WITNESS BREAK_TO_DEBUGGER (INVARIANTS wouldn't build). Perhaps you forgot INVARIANT_SUPPORT. Thanks, Kris. I didn't know I needed it (just going by some instructions on the list). What does INVARIANTS do, anyway? Will it help troubleshoot this problem? ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: 5.4-STABLE hangs every few days
On Fri, Feb 24, 2006 at 06:59:17PM -0700, Brad Waite wrote: Kris Kennaway wrote: On Fri, Feb 24, 2006 at 06:47:49PM -0700, Brad Waite wrote: Hi all, Been having problems with my Tyan Thunder i7500 (S2720) dual Xeon running -STABLE: it's hanging every couple of days. I couldn't find any specific fixes on the lists, but I did come across some instructions about breaking into the debugger from a serial console. I built a kernel with the following options: DDB, KDB, WITNESS BREAK_TO_DEBUGGER (INVARIANTS wouldn't build). Perhaps you forgot INVARIANT_SUPPORT. Thanks, Kris. I didn't know I needed it (just going by some instructions on the list). What does INVARIANTS do, anyway? Will it help troubleshoot this problem? Yes, it enables lots of runtime checks, so it's quite important when trying to diagnose kernel problems. Kris pgpfb8maosOKY.pgp Description: PGP signature
Kernel build failure
Can someone shed some light on the following error? rm -f .depend GPATH GRTAGS GSYMS GTAGS CC=cc make -f ../../../dev/aic7xxx/aicasm/Makefile MAKESRCPATH=../../../dev/aic7xxx/aicasm Warning: Object directory not changed from original /usr/src/sys/i386/compile/CUSTOM-SMP cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. -I../../../dev/aic7xxx/aicasm -c aicasm_gram.c ../../../dev/aic7xxx/aicasm/aicasm_gram.y:1933: error: conflicting types for 'yyerror' aicasm_gram.c:3133: error: previous implicit declaration of 'yyerror' was here *** Error code 1 Stop in /usr/src/sys/i386/compile/CUSTOM-SMP. *** Error code 1 Stop in /usr/src/sys/i386/compile/CUSTOM-SMP. ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: FreeBSD 6.1-BETA2/FreeBSD 5.5-BETA2 Available
I tried 6.1-BETA2 on my dual Opteron PC, on which Solaris 10 is working very well. :) M/B RIOWORKS HDAMD (nForce 3 chipset) CPU AMD Opteron(tm) Processor 240 x2 Mem 1GB HDD U320 scsi drive (I forgot and Solaris does not show) SCSIAdaptec 39320A-R (I don't use RAID) I booted with bootonly.iso. But after the message, Waiting 5 seconds for SCSI devices to settle the PC stacks and ScreenLock key is no use. Can I use serial console to record the boot messages? Thanks. -- NAKAJI Hiroyuki ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: Kernel build failure
Robert Uzzi schrieb: Can someone shed some light on the following error? rm -f .depend GPATH GRTAGS GSYMS GTAGS CC=cc make -f ../../../dev/aic7xxx/aicasm/Makefile MAKESRCPATH=../../../dev/aic7xxx/aicasm Warning: Object directory not changed from original /usr/src/sys/i386/compile/CUSTOM-SMP cc -O2 -fno-strict-aliasing -pipe -nostdinc -I/usr/include -I. -I../../../dev/aic7xxx/aicasm -c aicasm_gram.c ../../../dev/aic7xxx/aicasm/aicasm_gram.y:1933: error: conflicting types for 'yyerror' aicasm_gram.c:3133: error: previous implicit declaration of 'yyerror' was here *** Error code 1 Stop in /usr/src/sys/i386/compile/CUSTOM-SMP. *** Error code 1 Stop in /usr/src/sys/i386/compile/CUSTOM-SMP. Tried rm -R /usr/obj? Björn ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: SSH login takes very long time...sometimes
Hi, On Sat, 25 Feb 2006 02:42:46 +0200 Rostislav Krasny [EMAIL PROTECTED] said: rosti I've found the problem in both: ftpd(8) and ftp(1). In the ftpd(8) a rosti getaddrinfo() is called in two places with hints.ai_socktype == 0 and rosti hints.ai_family == PF_UNSPEC. In the ftp(1) a command reply timeout is rosti only 60 seconds. Those things are what I've changed to fix the problem. rosti Two diffs are attached to this email. The ftpd.c.diff extends -4 and -6 rosti ftpd options. So if this patch is good, the ftpd(8) manual page and the rosti default /etc/inetd.conf should also be changed appropriately. For your ftpd.c.diff, I like your idea to reduce redundant query. It is enough to query just appropriate address family. In inetd mode, we know the address family already. So, we don't need to rely on the -4/-6 option. The following diff is against ftpd.c with your patch applied: --- ftpd.c.rostiSat Feb 25 15:41:52 2006 +++ ftpd.c Sat Feb 25 16:01:46 2006 @@ -423,10 +423,6 @@ main(int argc, char *argv[], char **envp } } -#ifdef VIRTUAL_HOSTING - inithosts(family); -#endif - if (daemon_mode) { int *ctl_sock, fd, maxfd = -1, nfds, i; fd_set defreadfds, readfds; @@ -456,6 +452,10 @@ main(int argc, char *argv[], char **envp sa.sa_handler = reapchild; (void)sigaction(SIGCHLD, sa, NULL); +#ifdef VIRTUAL_HOSTING + inithosts(family); +#endif + /* * Open a socket, bind it to the FTP port, and start * listening. @@ -525,6 +525,14 @@ main(int argc, char *argv[], char **envp syslog(LOG_ERR, getpeername (%s): %m,argv[0]); exit(1); } + +#ifdef VIRTUAL_HOSTING + family = his_addr.su_family; + if (his_addr.su_family == AF_INET6 + IN6_IS_ADDR_V4MAPPED(his_addr.su_sin6.sin6_addr)) + family = AF_INET; + inithosts(family); +#endif } gotchild: For ftp.c.diff, how about considering adding new option for timeout? However, I'm still in doubt. I cannot think it is usual situation that there are unreachable IP addresses in /etc/resolv.conf. Sincerely, -- Hajimu UMEMOTO @ Internet Mutual Aid Society Yokohama, Japan [EMAIL PROTECTED] [EMAIL PROTECTED],jp.}FreeBSD.org http://www.imasy.org/~ume/ ___ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to [EMAIL PROTECTED]