From nobody@FreeBSD.org  Fri May  1 20:23:12 2009
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id BC9741065670
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  1 May 2009 20:23:12 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id AB2B08FC17
	for <freebsd-gnats-submit@FreeBSD.org>; Fri,  1 May 2009 20:23:12 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id n41KNCcW050416
	for <freebsd-gnats-submit@FreeBSD.org>; Fri, 1 May 2009 20:23:12 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id n41KNC56050415;
	Fri, 1 May 2009 20:23:12 GMT
	(envelope-from nobody)
Message-Id: <200905012023.n41KNC56050415@www.freebsd.org>
Date: Fri, 1 May 2009 20:23:12 GMT
From: Thomas Schweikle <tps@vr-web.de>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Login: Could not determine audit condition
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         134146
>Category:       bin
>Synopsis:       Login: Could not determine audit condition
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gavin
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri May 01 20:30:00 UTC 2009
>Closed-Date:    Mon May 18 15:29:54 UTC 2009
>Last-Modified:  Mon May 18 15:29:54 UTC 2009
>Originator:     Thomas Schweikle
>Release:        FreeBSD 8.0-CURRENT
>Organization:
>Environment:
FreeBSD yum.tps 8.0-CURRENT FreeBSD 8.0-CURRENT #37: Wed Dec 10 14:18:10 CET 2008     root@yum.tps:/usr/obj/usr/src/sys/YUM  i386
>Description:
Since Apr. 27th, 2009 login does not login valid users. After typing the username and password there is an error message "login: Could not determine audit condition".

Within the logs I only found:
auth.log:Apr 27 23:23:30 yum login: login on ttyv0 as root
auth.log:Apr 27 23:23:30 yum login: ROOT LOGIN (root) ON ttyv0

But I am logged out immedeately again. This is only for logins via console. Not for logins via network. The system isn't accessible any more from console only via network connections.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: gavin 
State-Changed-When: Sat May 2 15:02:36 UTC 2009 
State-Changed-Why:  
To submitter: you say this has been happening since April 27th, 
but you appear to be running a kernel from December.  Can you 
please confirm that you have updated your kernel as well as your 
userland? 


Responsible-Changed-From-To: freebsd-bugs->gavin 
Responsible-Changed-By: gavin 
Responsible-Changed-When: Sat May 2 15:02:36 UTC 2009 
Responsible-Changed-Why:  
Track 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134146 

From: Marten Vijn <info@martenvijn.nl>
To: bug-followup@FreeBSD.org, tps@vr-web.de
Cc:  
Subject: Re: bin/134146: Login: Could not determine audit condition
Date: Sat, 09 May 2009 16:35:06 +0200

 Hi,
 
 I have the same here, after a rebuild to r191935 it worked again
 
 thanks,
 Marten
 
 The old info
 
 %uname -a
 FreeBSD dfd 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Tue Dec 30 20:16:47 CET
 2008     root@dfd:/usr/obj/usr/src/sys/DEV-box  i386
 %
 
 
 %dmesg
 Copyright (c) 1992-2009 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 8.0-CURRENT #0: Tue Dec 30 20:16:47 CET 2008
     root@dfd:/usr/obj/usr/src/sys/DEV-box
 Timecounter "i8254" frequency 1193182 Hz quality 0
 CPU: AMD Athlon(tm) 64 X2 Dual Core Processor 6000+ (3006.28-MHz
 686-class CPU)
   Origin = "AuthenticAMD"  Id = 0x40f33  Stepping = 3
 
 Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
   Features2=0x2001<SSE3,CX16>
   AMD Features=0xea500800<SYSCALL,NX,MMX+,FFXSR,RDTSCP,LM,3DNow!+,3DNow!
 >
   AMD Features2=0x1f<LAHF,CMP,SVM,ExtAPIC,CR8>
   Cores per package: 2
 real memory  = 3354263552 (3198 MB)
 avail memory = 3280052224 (3128 MB)
 ACPI APIC Table: <Nvidia ASUSACPI>
 FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
  cpu0 (BSP): APIC ID:  0
  cpu1 (AP): APIC ID:  1
 ioapic0: Changing APIC ID to 2
 ioapic0 <Version 1.1> irqs 0-23 on motherboard
 kbd1 at kbdmux0
 acpi0: <Nvidia ASUSACPI> on motherboard
 acpi0: [ITHREAD]
 acpi0: Power Button (fixed)
 acpi0: reservation of c7ee0000, 20000 (3) failed
 acpi0: reservation of 0, a0000 (3) failed
 acpi0: reservation of 100000, c7de0000 (3) failed
 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0
 acpi_hpet0: <High Precision Event Timer> iomem 0xfefff000-0xfefff3ff on
 acpi0
 Timecounter "HPET" frequency 25000000 Hz quality 900
 acpi_button0: <Power Button> on acpi0
 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
 pci0: <ACPI PCI bus> on pcib0
 pci0: <memory, RAM> at device 0.0 (no driver attached)
 pci0: <memory, RAM> at device 0.1 (no driver attached)
 pci0: <memory, RAM> at device 0.2 (no driver attached)
 pci0: <memory, RAM> at device 0.3 (no driver attached)
 pci0: <memory, RAM> at device 0.4 (no driver attached)
 pci0: <memory, RAM> at device 0.5 (no driver attached)
 pci0: <memory, RAM> at device 0.6 (no driver attached)
 pci0: <memory, RAM> at device 0.7 (no driver attached)
 vgapci0: <VGA-compatible display> mem
 0xfc000000-0xfcffffff,0xd0000000-0xdfffffff,0xfb000000-0xfbffffff irq 16
 at device 5.0 on pci0
 pci0: <memory, RAM> at device 9.0 (no driver attached)
 isab0: <PCI-ISA bridge> at device 10.0 on pci0
 isa0: <ISA bus> on isab0
 pci0: <serial bus, SMBus> at device 10.1 (no driver attached)
 pci0: <memory, RAM> at device 10.2 (no driver attached)
 ohci0: <OHCI (generic) USB controller> mem 0xfe02f000-0xfe02ffff at
 device 11.0 on pci0
 ohci0: [GIANT-LOCKED]
 ohci0: [ITHREAD]
 usb0: OHCI version 1.0, legacy support
 usb0: <OHCI (generic) USB controller> on ohci0
 usb0: USB revision 1.0
 uhub0: <nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0
 uhub0: 8 ports with 8 removable, self powered
 ehci0: <EHCI (generic) USB 2.0 controller> mem 0xfe02e000-0xfe02e0ff at
 device 11.1 on pci0
 ehci0: [GIANT-LOCKED]
 ehci0: [ITHREAD]
 usb1: EHCI version 1.0
 usb1: companion controller, 8 ports each: usb0
 usb1: <EHCI (generic) USB 2.0 controller> on ehci0
 usb1: USB revision 2.0
 uhub1: <nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb1
 uhub1: 8 ports with 8 removable, self powered
 atapci0: <nVidia nForce MCP51 UDMA133 controller> port
 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf400-0xf40f at device 13.0 on pci0
 ata0: <ATA channel 0> on atapci0
 ata0: [ITHREAD]
 ata1: <ATA channel 1> on atapci0
 ata1: [ITHREAD]
 atapci1: <nVidia nForce MCP51 SATA300 controller> port
 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xe000-0xe00f mem
 0xfe02d000-0xfe02dfff irq 20 at device 14.0 on pci0
 atapci1: [ITHREAD]
 ata2: <ATA channel 0> on atapci1
 ata2: [ITHREAD]
 ata3: <ATA channel 1> on atapci1
 ata3: [ITHREAD]
 atapci2: <nVidia nForce MCP51 SATA300 controller> port
 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xcc00-0xcc0f mem
 0xfe02c000-0xfe02cfff irq 21 at device 15.0 on pci0
 atapci2: [ITHREAD]
 ata4: <ATA channel 0> on atapci2
 ata4: [ITHREAD]
 ata5: <ATA channel 1> on atapci2
 ata5: [ITHREAD]
 pcib1: <ACPI PCI-PCI bridge> at device 16.0 on pci0
 pci1: <ACPI PCI bus> on pcib1
 pci1: <serial bus, FireWire> at device 5.0 (no driver attached)
 pcib2: <PCI-PCI bridge> at device 8.0 on pci1
 pci2: <PCI bus> on pcib2
 ste0: <D-Link DL10050 10/100BaseTX> port 0xbc00-0xbc7f irq 16 at device
 4.0 on pci2
 miibus0: <MII bus> on ste0
 ukphy0: <Generic IEEE 802.3u media interface> PHY 1 on miibus0
 ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 ste0: WARNING: using obsoleted if_watchdog interface
 ste0: Ethernet address: 00:0d:88:68:57:20
 ste0: [ITHREAD]
 ste1: <D-Link DL10050 10/100BaseTX> port 0xb800-0xb87f irq 17 at device
 5.0 on pci2
 miibus1: <MII bus> on ste1
 ukphy1: <Generic IEEE 802.3u media interface> PHY 1 on miibus1
 ukphy1:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 ste1: WARNING: using obsoleted if_watchdog interface
 ste1: Ethernet address: 00:0d:88:68:57:21
 ste1: [ITHREAD]
 ste2: <D-Link DL10050 10/100BaseTX> port 0xb400-0xb47f irq 18 at device
 6.0 on pci2
 miibus2: <MII bus> on ste2
 ukphy2: <Generic IEEE 802.3u media interface> PHY 1 on miibus2
 ukphy2:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 ste2: WARNING: using obsoleted if_watchdog interface
 ste2: Ethernet address: 00:0d:88:68:57:22
 ste2: [ITHREAD]
 ste3: <D-Link DL10050 10/100BaseTX> port 0xb000-0xb07f irq 19 at device
 7.0 on pci2
 miibus3: <MII bus> on ste3
 ukphy3: <Generic IEEE 802.3u media interface> PHY 1 on miibus3
 ukphy3:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
 ste3: WARNING: using obsoleted if_watchdog interface
 ste3: Ethernet address: 00:0d:88:68:57:23
 ste3: [ITHREAD]
 pci0: <multimedia, HDA> at device 16.1 (no driver attached)
 nfe0: <NVIDIA nForce 430 MCP13 Networking Adapter> port 0xc800-0xc807
 mem 0xfe02b000-0xfe02bfff irq 23 at device 20.0 on pci0
 miibus4: <MII bus> on nfe0
 e1000phy0: <Marvell 88E1116 Gigabit PHY> PHY 1 on miibus4
 e1000phy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX,
 1000baseTX-FDX, auto
 nfe0: Ethernet address: 00:1d:60:00:96:a3
 nfe0: [FILTER]
 acpi_tz0: <Thermal Zone> on acpi0
 atrtc1: <AT realtime clock> port 0x70-0x73 on acpi0
 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
 uart0: [FILTER]
 uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0
 uart1: [FILTER]
 cpu0: <ACPI CPU> on acpi0
 powernow0: <PowerNow! K8> on cpu0
 cpu1: <ACPI CPU> on acpi0
 powernow1: <PowerNow! K8> on cpu1
 pmtimer0 on isa0
 sc0: <System console> at flags 0x100 on isa0
 sc0: VGA <16 virtual consoles, flags=0x300>
 vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
 isa0
 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
 atkbd0: <AT Keyboard> irq 1 on atkbdc0
 kbd0 at atkbd0
 atkbd0: [GIANT-LOCKED]
 atkbd0: [ITHREAD]
 atrtc0: <AT Real Time Clock> at port 0x70 irq 8 on isa0
 atrtc0: Warning: Couldn't map I/O.
 atrtc0: Warning: Couldn't map Interrupt.
 ucom0: <Prolific Technology Inc. USB-Serial Controller, class 0/0, rev
 1.10/3.00, addr 2> on uhub0
 Timecounters tick every 1.000 msec
 ad0: 76319MB <WDC WD800JB-00JJC0 05.01C05> at ata0-master UDMA100
 acd0: DVDROM <LITEON DVD-ROM LTD163D/GHR3> at ata1-slave UDMA33
 ad4: 305245MB <SAMSUNG HD321KJ CP100-10> at ata2-master SATA300
 GEOM: ad0s1: geometry does not match label (255h,63s != 16h,63s).
 SMP: AP CPU #1 Launched!
 GEOM: ad4s1: geometry does not match label (255h,63s != 16h,63s).
 Trying to mount root from ufs:/dev/ad4s1a
 ste0: link state changed to UP
 ukbd0: <CHICONY Keyboard NT68P81, class 0/0, rev 1.00/0.01, addr 3> on
 uhub0
 kbd2 at ukbd0
 
 
 
 -- 
 http://martenvijn.nl                 Marten Vijn 
 http://martenvijn.nl/trac/wiki/soas  Sugar on a Stick
 http://bsd.wifisoft.org/nek/         The Network Event Kit
 http://har2009.org                   13th-16th August 
 http://opencommunitycamp.org         26th Jul - 2nd August
 

From: "Thomas Schweikle" <tps@vr-web.de>
To: bug-followup@freebsd.org, tps@vr-web.de
Cc:  
Subject: Re: bin/134146: Login: Could not determine audit condition
Date: Mon, 18 May 2009 09:17:13 +0200

 After solving "http://www.freebsd.org/cgi/query-pr.cgi?pr=130698" this problem disapeared.
 
 
 -- 
 Thomas

From: gazelle11 <gazelle11@gmx.de>
To: bug-followup@freebsd.org, tps@vr-web.de
Cc:  
Subject: Re: bin/134146: Login: Could not determine audit condition
Date: Mon, 18 May 2009 09:10:18 +0200

 Yes, that is right. But for problems with newer kernels have a look at "http://www.freebsd.org/cgi/query-pr.cgi?pr=130698". It is impossible at the moment to use a more actual kernel for this (and other) system since this will render these systems unbootable. None of these kernels after December will boot any more, just not finding slices and labels on disk.
 
 I have compiled, as given as hint, world again on Mai, 18th. No change. Can't login on a local console. ssh works. 
 
 -- 
 Thomas
State-Changed-From-To: feedback->closed 
State-Changed-By: gavin 
State-Changed-When: Mon May 18 15:29:03 UTC 2009 
State-Changed-Why:  
Close, this was caused by kernel/world being out of sync 

http://www.freebsd.org/cgi/query-pr.cgi?pr=134146 
>Unformatted:
