Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 2010 11:35:42 +0300
From:      Ivan Klymenko <fidaj@ukr.net>
To:        Garrett Cooper <gcooper@FreeBSD.org>
Cc:        freebsd-current@freebsd.org, Andriy Gapon <avg@icyb.net.ua>
Subject:   Re: system hangs after logging into gdm
Message-ID:  <20101012113542.5eaf5321@ukr.net>
In-Reply-To: <AANLkTimj_8wGieDMjimRoRbrj8=xwkhHtVOfECVyN3FJ@mail.gmail.com>
References:  <20101011105904.70dd7e7f@ukr.net> <4CB2D317.9010004@icyb.net.ua> <AANLkTimj_8wGieDMjimRoRbrj8=xwkhHtVOfECVyN3FJ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
=D0=92 Mon, 11 Oct 2010 08:37:05 -0700
Garrett Cooper <gcooper@FreeBSD.org> =D0=BF=D0=B8=D1=88=D0=B5=D1=82:

> On Mon, Oct 11, 2010 at 2:04 AM, Andriy Gapon <avg@icyb.net.ua> wrote:
> > on 11/10/2010 10:59 Ivan Klymenko said the following:
> >> =D0=92 Sun, 10 Oct 2010 15:37:55 -0700
> >> Garrett Cooper <gcooper@FreeBSD.org> =D0=BF=D0=B8=D1=88=D0=B5=D1=82:
> >>
> >>> On Sun, Oct 10, 2010 at 3:08 PM, Ivan Klymenko <fidaj@ukr.net>
> >>> wrote:
> >>>> Hi!
> >>>>
> >>>> My system has an svn r213507
> >>>>
> >>>> FreeBSD nonamehost 9.0-CURRENT FreeBSD 9.0-CURRENT #0 r213507:
> >>>> Sun Oct 10 22:43:18 EEST 2010
> >>>> root@nonamehost:/usr/obj/usr/src/sys/mk9 amd64
> >>>>
> >>>> after upgrading to r213666 my system hangs after logging into gdm
> >>>>
> >>>> had to go back to r213507
> >>>
> >>> What video driver are you using?
> >>> -Garrett
> >>
> >> NVIDIA Driver Version: 260.19.06
> >>
> >> but Xorg successfully starts and GDM login screen appears
> >> system hangs after a few seconds after entering the password ...
> >> I noticed the following: gvfsd does not create a directory of the
> >> form / var/tmp/gvfs-<username>-<hash> may hang system due to gvfsd?
>=20
>     That seems a bit interesting.
>     The other thing you can do is start running a binary search on the
> breakage because you have a range of good versions vs bad versions to
> look through.
>=20
> > If you can access the system remotely or quickly switch to console,
> > then you should be able to examine state of your system and get
> > some facts.
>=20
>     If you have ddb compiled into the kernel (and you should) try
> CTRL-ALT-ESC after the lockup. You may also want to try KGDB instead,
> which would require a serial connection (RS-232 or IEEE-1394).
> HTH,
> -Garrett

--I have updated the source code to r213666
--rebuilt and reinstall: world and kernel GENERIC
--reinstall nvidia driver with my patch:

#####################
--- src/nvidia_os.c.orig	2010-09-15 01:26:27.000000000 +0300
+++ src/nvidia_os.c	2010-09-15 01:27:51.000000000 +0300
@@ -13,6 +13,67 @@
 #include "nv.h"
 #include "nv-freebsd.h"
=20
+struct taskqueue {
+        STAILQ_HEAD(, task)     tq_queue;
+        const char              *tq_name;
+        taskqueue_enqueue_fn    tq_enqueue;
+        void                    *tq_context;
+        struct task             *tq_running;
+        struct mtx              tq_mutex;
+        struct thread           **tq_threads;
+        int                     tq_tcount;
+        int                     tq_spin;
+        int                     tq_flags;
+};
+
+static void taskqueue_run(struct taskqueue *, struct task **);
+
+static __inline void
+TQ_LOCK(struct taskqueue *tq)
+{
+        if (tq->tq_spin)
+    	    mtx_lock_spin(&tq->tq_mutex);
+        else
+            mtx_lock(&tq->tq_mutex);
+}
+
+static __inline void
+TQ_UNLOCK(struct taskqueue *tq)
+{
+       if (tq->tq_spin)
+          mtx_unlock_spin(&tq->tq_mutex);
+       else
+          mtx_unlock(&tq->tq_mutex);
+}
+
+static void
+taskqueue_run(struct taskqueue *queue, struct task **tpp)
+{                      =20
+	struct task *task;
+	int pending;
+
+	mtx_assert(&queue->tq_mutex, MA_OWNED);
+	while (STAILQ_FIRST(&queue->tq_queue)) {
+	/*
+	* Carefully remove the first task from the queue and
+	* zero its pending count.
+	*/
+		task =3D STAILQ_FIRST(&queue->tq_queue);
+		STAILQ_REMOVE_HEAD(&queue->tq_queue, ta_link);
+		pending =3D task->ta_pending;
+		task->ta_pending =3D 0;
+		task->ta_running =3D tpp;
+		*tpp =3D task;
+		TQ_UNLOCK(queue);
+
+		task->ta_func(task->ta_context, pending);
+
+		TQ_LOCK(queue);
+		*tpp =3D NULL;
+		wakeup(task);
+	}
+}
+
 MALLOC_DEFINE(M_NVIDIA, "nvidia", "NVIDIA memory allocations");
 TASKQUEUE_DEFINE_THREAD(nvidia);
=20
@@ -332,7 +393,8 @@
=20
 RM_STATUS NV_API_CALL os_flush_work_queue(void)
 {
-    taskqueue_run(taskqueue_nvidia);
+//    taskqueue_run(taskqueue_nvidia);
+    taskqueue_run(taskqueue_nvidia, &taskqueue_nvidia->tq_running);
     return RM_OK;
 }
#####################

--reboo
--authorization window will appear gdm
--i choose a user, enter a password and press "Enter"
--takes a few seconds and my system hangs
--I press CTRL + ALT + ESC, but nothing happens
:(

Here are some of the messages log at this loading:

Oct 12 01:06:57 nonamehost syslogd: kernel boot file is /boot/kernel/kernel
Oct 12 01:06:57 nonamehost kernel: Copyright (c) 1992-2010 The FreeBSD Proj=
ect.
Oct 12 01:06:57 nonamehost kernel: Copyright (c) 1979, 1980, 1983, 1986, 19=
88, 1989, 1991, 1992, 1993, 1994
Oct 12 01:06:57 nonamehost kernel: The Regents of the University of Califor=
nia. All rights reserved.
Oct 12 01:06:57 nonamehost kernel: FreeBSD is a registered trademark of The=
 FreeBSD Foundation.
Oct 12 01:06:57 nonamehost kernel: FreeBSD 9.0-CURRENT #0 r213666: Tue Oct =
12 00:23:58 EEST 2010
Oct 12 01:06:57 nonamehost kernel: ivan@nonamehost:/usr/obj/usr/src/sys/GEN=
ERIC amd64
Oct 12 01:06:57 nonamehost kernel: WARNING: WITNESS option enabled, expect =
reduced performance.
Oct 12 01:06:57 nonamehost kernel: CPU: Intel(R) Core(TM)2 Duo CPU     T725=
0  @ 2.00GHz (1994.48-MHz K8-class CPU)
Oct 12 01:06:57 nonamehost kernel: Origin =3D "GenuineIntel"  Id =3D 0x6fd =
 Family =3D 6  Model =3D f  Stepping =3D 13
Oct 12 01:06:57 nonamehost kernel: Features=3D0xbfebfbff<FPU,VME,DE,PSE,TSC=
,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,=
FXSR,SSE,SSE2,SS,HTT,TM,PBE>
Oct 12 01:06:57 nonamehost kernel: Features2=3D0xe3bd<SSE3,DTES64,MON,DS_CP=
L,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
Oct 12 01:06:57 nonamehost kernel: AMD Features=3D0x20100800<SYSCALL,NX,LM>
Oct 12 01:06:57 nonamehost kernel: AMD Features2=3D0x1<LAHF>
Oct 12 01:06:57 nonamehost kernel: TSC: P-state invariant
Oct 12 01:06:57 nonamehost kernel: real memory  =3D 2147483648 (2048 MB)
Oct 12 01:06:57 nonamehost kernel: avail memory =3D 2032889856 (1938 MB)
Oct 12 01:06:57 nonamehost kernel: Event timer "LAPIC" quality 400
Oct 12 01:06:57 nonamehost kernel: ACPI APIC Table: <DELL   M08    >
Oct 12 01:06:57 nonamehost kernel: FreeBSD/SMP: Multiprocessor System Detec=
ted: 2 CPUs
Oct 12 01:06:57 nonamehost kernel: FreeBSD/SMP: 1 package(s) x 2 core(s)
Oct 12 01:06:57 nonamehost kernel: cpu0 (BSP): APIC ID:  0
Oct 12 01:06:57 nonamehost kernel: cpu1 (AP): APIC ID:  1
Oct 12 01:06:57 nonamehost kernel: ioapic0: Changing APIC ID to 2
Oct 12 01:06:57 nonamehost kernel: ioapic0 <Version 2.0> irqs 0-23 on mothe=
rboard
Oct 12 01:06:57 nonamehost kernel: Cuse4BSD v0.1.13 @ /dev/cuse
Oct 12 01:06:57 nonamehost kernel: kbd1 at kbdmux0
Oct 12 01:06:57 nonamehost kernel: acpi0: <DELL M08    > on motherboard
Oct 12 01:06:57 nonamehost kernel: hpet0: <High Precision Event Timer> iome=
m 0xfed00000-0xfed003ff on acpi0
Oct 12 01:06:57 nonamehost kernel: Timecounter "HPET" frequency 14318180 Hz=
 quality 900
Oct 12 01:06:57 nonamehost kernel: Event timer "HPET" frequency 14318180 Hz=
 quality 550
Oct 12 01:06:57 nonamehost kernel: Event timer "HPET1" frequency 14318180 H=
z quality 440
Oct 12 01:06:57 nonamehost kernel: acpi0: reservation of 0, 9f000 (3) failed
Oct 12 01:06:57 nonamehost kernel: acpi0: reservation of 100000, 7fd6d800 (=
3) failed
Oct 12 01:06:57 nonamehost kernel: Timecounter "ACPI-fast" frequency 357954=
5 Hz quality 1000
Oct 12 01:06:57 nonamehost kernel: acpi_timer0: <24-bit timer at 3.579545MH=
z> port 0x1008-0x100b on acpi0
Oct 12 01:06:57 nonamehost kernel: cpu0: <ACPI CPU> on acpi0
Oct 12 01:06:57 nonamehost kernel: cpu1: <ACPI CPU> on acpi0
Oct 12 01:06:57 nonamehost kernel: pcib0: <ACPI Host-PCI bridge> port 0xcf8=
-0xcff on acpi0
Oct 12 01:06:57 nonamehost kernel: pci0: <ACPI PCI bus> on pcib0
Oct 12 01:06:57 nonamehost kernel: pcib1: <ACPI PCI-PCI bridge> at device 1=
.0 on pci0
Oct 12 01:06:57 nonamehost kernel: pci1: <ACPI PCI bus> on pcib1
Oct 12 01:06:57 nonamehost kernel: vgapci0: <VGA-compatible display> port 0=
xef00-0xef7f mem 0xfd000000-0xfdffffff,0xe0000000-0xefffffff,0xfa000000-0xf=
bffffff irq 16 at device 0.0 on pci1
Oct 12 01:06:57 nonamehost kernel: acpi_video0: <ACPI video extension> on v=
gapci0
Oct 12 01:06:57 nonamehost kernel: nvidia0: <GeForce 8400M GS> on vgapci0
Oct 12 01:06:57 nonamehost kernel: vgapci0: child nvidia0 requested pci_ena=
ble_busmaster
Oct 12 01:06:57 nonamehost kernel: vgapci0: child nvidia0 requested pci_ena=
ble_io
Oct 12 01:06:57 nonamehost kernel: vgapci0: child nvidia0 requested pci_ena=
ble_io
Oct 12 01:06:57 nonamehost kernel: uhci0: <Intel 82801H (ICH8) USB controll=
er USB-D> port 0x6f20-0x6f3f irq 20 at device 26.0 on pci0
Oct 12 01:06:57 nonamehost kernel: uhci0: LegSup =3D 0x2f00
Oct 12 01:06:57 nonamehost kernel: usbus0: <Intel 82801H (ICH8) USB control=
ler USB-D> on uhci0
Oct 12 01:06:57 nonamehost kernel: uhci1: <Intel 82801H (ICH8) USB controll=
er USB-E> port 0x6f00-0x6f1f irq 21 at device 26.1 on pci0
Oct 12 01:06:57 nonamehost kernel: uhci1: LegSup =3D 0x2f00
Oct 12 01:06:57 nonamehost kernel: usbus1: <Intel 82801H (ICH8) USB control=
ler USB-E> on uhci1
Oct 12 01:06:57 nonamehost kernel: ehci0: <Intel 82801H (ICH8) USB 2.0 cont=
roller USB2-B> mem 0xfed1c400-0xfed1c7ff irq 22 at device 26.7 on pci0
Oct 12 01:06:57 nonamehost kernel: usbus2: EHCI version 1.0
Oct 12 01:06:57 nonamehost kernel: usbus2: <Intel 82801H (ICH8) USB 2.0 con=
troller USB2-B> on ehci0
Oct 12 01:06:57 nonamehost kernel: hdac0: <Intel 82801H High Definition Aud=
io Controller> mem 0xfebfc000-0xfebfffff irq 21 at device 27.0 on pci0
Oct 12 01:06:57 nonamehost kernel: hdac0: HDA Driver Revision: 20100226_0142
Oct 12 01:06:57 nonamehost kernel: pcib2: <ACPI PCI-PCI bridge> at device 2=
8.0 on pci0
Oct 12 01:06:57 nonamehost kernel: pci11: <ACPI PCI bus> on pcib2
Oct 12 01:06:57 nonamehost kernel: pcib3: <ACPI PCI-PCI bridge> at device 2=
8.1 on pci0
Oct 12 01:06:57 nonamehost kernel: pci12: <ACPI PCI bus> on pcib3
Oct 12 01:06:57 nonamehost kernel: pci12: <network> at device 0.0 (no drive=
r attached)
Oct 12 01:06:57 nonamehost kernel: pcib4: <ACPI PCI-PCI bridge> at device 2=
8.3 on pci0
Oct 12 01:06:57 nonamehost kernel: pci13: <ACPI PCI bus> on pcib4
Oct 12 01:06:57 nonamehost kernel: pcib5: <ACPI PCI-PCI bridge> at device 2=
8.5 on pci0
Oct 12 01:06:57 nonamehost kernel: pci9: <ACPI PCI bus> on pcib5
Oct 12 01:06:57 nonamehost kernel: bge0: <Broadcom BCM5906 A2, ASIC rev. 0x=
00c002> mem 0xf9bf0000-0xf9bfffff irq 17 at device 0.0 on pci9
Oct 12 01:06:57 nonamehost kernel: bge0: CHIP ID 0x0000c002; ASIC REV 0x0c;=
 CHIP REV 0xc0; PCI-E
Oct 12 01:06:57 nonamehost kernel: miibus0: <MII bus> on bge0
Oct 12 01:06:57 nonamehost kernel: brgphy0: <BCM5906 10/100baseTX PHY> PHY =
1 on miibus0
Oct 12 01:06:57 nonamehost kernel: brgphy0:  10baseT, 10baseT-FDX, 100baseT=
X, 100baseTX-FDX, auto
Oct 12 01:06:57 nonamehost kernel: bge0: Ethernet address: 00:1c:23:f9:bb:5f
Oct 12 01:06:57 nonamehost kernel: uhci2: <Intel 82801H (ICH8) USB controll=
er USB-A> port 0x6f80-0x6f9f irq 20 at device 29.0 on pci0
Oct 12 01:06:57 nonamehost kernel: uhci2: LegSup =3D 0x2f00
Oct 12 01:06:57 nonamehost kernel: usbus3: <Intel 82801H (ICH8) USB control=
ler USB-A> on uhci2
Oct 12 01:06:57 nonamehost kernel: uhci3: <Intel 82801H (ICH8) USB controll=
er USB-B> port 0x6f60-0x6f7f irq 21 at device 29.1 on pci0
Oct 12 01:06:57 nonamehost kernel: uhci3: LegSup =3D 0x2f00
Oct 12 01:06:57 nonamehost kernel: usbus4: <Intel 82801H (ICH8) USB control=
ler USB-B> on uhci3
Oct 12 01:06:57 nonamehost kernel: uhci4: <Intel 82801H (ICH8) USB controll=
er USB-C> port 0x6f40-0x6f5f irq 22 at device 29.2 on pci0
Oct 12 01:06:57 nonamehost kernel: uhci4: LegSup =3D 0x2f00
Oct 12 01:06:57 nonamehost kernel: usbus5: <Intel 82801H (ICH8) USB control=
ler USB-C> on uhci4
Oct 12 01:06:57 nonamehost kernel: ehci1: <Intel 82801H (ICH8) USB 2.0 cont=
roller USB2-A> mem 0xfed1c000-0xfed1c3ff irq 20 at device 29.7 on pci0
Oct 12 01:06:57 nonamehost kernel: usbus6: EHCI version 1.0
Oct 12 01:06:57 nonamehost kernel: usbus6: <Intel 82801H (ICH8) USB 2.0 con=
troller USB2-A> on ehci1
Oct 12 01:06:57 nonamehost kernel: pcib6: <ACPI PCI-PCI bridge> at device 3=
0.0 on pci0
Oct 12 01:06:57 nonamehost kernel: pci3: <ACPI PCI bus> on pcib6
Oct 12 01:06:57 nonamehost kernel: fwohci0: <1394 Open Host Controller Inte=
rface> mem 0xf9aff800-0xf9afffff irq 19 at device 1.0 on pci3
Oct 12 01:06:57 nonamehost kernel: fwohci0: OHCI version 1.10 (ROM=3D0)
Oct 12 01:06:57 nonamehost kernel: fwohci0: No. of Isochronous channels is =
4.
Oct 12 01:06:57 nonamehost kernel: fwohci0: EUI64 32:4f:c0:00:1c:e5:20:70
Oct 12 01:06:57 nonamehost kernel: fwohci0: Phy 1394a available S400, 1 por=
ts.
Oct 12 01:06:57 nonamehost kernel: fwohci0: Link S400, max_rec 2048 bytes.
Oct 12 01:06:57 nonamehost kernel: firewire0: <IEEE1394(FireWire) bus> on f=
wohci0
Oct 12 01:06:57 nonamehost kernel: fwe0: <Ethernet over FireWire> on firewi=
re0
Oct 12 01:06:57 nonamehost kernel: if_fwe0: Fake Ethernet address: 32:4f:c0=
:e5:20:70
Oct 12 01:06:57 nonamehost kernel: fwe0: Ethernet address: 32:4f:c0:e5:20:70
Oct 12 01:06:57 nonamehost kernel: fwip0: <IP over FireWire> on firewire0
Oct 12 01:06:57 nonamehost kernel: fwip0: Firewire address: 32:4f:c0:00:1c:=
e5:20:70 @ 0xfffe00000000, S400, maxrec 2048
Oct 12 01:06:57 nonamehost kernel: sbp0: <SBP-2/SCSI over FireWire> on fire=
wire0
Oct 12 01:06:57 nonamehost kernel: dcons_crom0: <dcons configuration ROM> o=
n firewire0
Oct 12 01:06:57 nonamehost kernel: dcons_crom0: bus_addr 0x2064000
Oct 12 01:06:57 nonamehost kernel: fwohci0: Initiate bus reset
Oct 12 01:06:57 nonamehost kernel: fwohci0: fwohci_intr_core: BUS reset
Oct 12 01:06:57 nonamehost kernel: fwohci0: fwohci_intr_core: node_id=3D0x0=
0000000, SelfID Count=3D1, CYCLEMASTER mode
Oct 12 01:06:57 nonamehost kernel: pci3: <base peripheral, SD host controll=
er> at device 1.1 (no driver attached)
Oct 12 01:06:57 nonamehost kernel: pci3: <base peripheral> at device 1.2 (n=
o driver attached)
Oct 12 01:06:57 nonamehost kernel: pci3: <base peripheral> at device 1.3 (n=
o driver attached)
Oct 12 01:06:57 nonamehost kernel: pci3: <base peripheral> at device 1.4 (n=
o driver attached)
Oct 12 01:06:57 nonamehost kernel: isab0: <PCI-ISA bridge> at device 31.0 o=
n pci0
Oct 12 01:06:57 nonamehost kernel: isa0: <ISA bus> on isab0
Oct 12 01:06:57 nonamehost kernel: atapci0: <Intel ICH8M UDMA100 controller=
> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x6fa0-0x6faf irq 16 at device 3=
1.1 on pci0
Oct 12 01:06:57 nonamehost kernel: ata0: <ATA channel 0> on atapci0
Oct 12 01:06:57 nonamehost kernel: ahci0: <Intel ICH8M AHCI SATA controller=
> port 0x6eb0-0x6eb7,0x6eb8-0x6ebb,0x6ec0-0x6ec7,0x6ec8-0x6ecb,0x6ee0-0x6ef=
f mem 0xfebfb800-0xfebfbfff irq 17 at device 31.2 on pci0
Oct 12 01:06:57 nonamehost kernel: ahci0: AHCI v1.10 with 3 3Gbps ports, Po=
rt Multiplier not supported
Oct 12 01:06:57 nonamehost kernel: ahcich0: <AHCI channel> at channel 0 on =
ahci0
Oct 12 01:06:57 nonamehost kernel: ahcich1: <AHCI channel> at channel 2 on =
ahci0
Oct 12 01:06:57 nonamehost kernel: pci0: <serial bus, SMBus> at device 31.3=
 (no driver attached)
Oct 12 01:06:57 nonamehost kernel: acpi_lid0: <Control Method Lid Switch> o=
n acpi0
Oct 12 01:06:57 nonamehost kernel: acpi_button0: <Power Button> on acpi0
Oct 12 01:06:57 nonamehost kernel: acpi_button1: <Sleep Button> on acpi0
Oct 12 01:06:57 nonamehost kernel: acpi_acad0: <AC Adapter> on acpi0
Oct 12 01:06:57 nonamehost kernel: battery0: <ACPI Control Method Battery> =
on acpi0
Oct 12 01:06:57 nonamehost kernel: acpi_tz0: <Thermal Zone> on acpi0
Oct 12 01:06:57 nonamehost kernel: atkbdc0: <Keyboard controller (i8042)> p=
ort 0x60,0x64,0x62,0x66 irq 1 on acpi0
Oct 12 01:06:57 nonamehost kernel: atkbd0: <AT Keyboard> irq 1 on atkbdc0
Oct 12 01:06:57 nonamehost kernel: kbd0 at atkbd0
Oct 12 01:06:57 nonamehost kernel: atkbd0: [GIANT-LOCKED]
Oct 12 01:06:57 nonamehost kernel: psm0: <PS/2 Mouse> irq 12 on atkbdc0
Oct 12 01:06:57 nonamehost kernel: psm0: [GIANT-LOCKED]
Oct 12 01:06:57 nonamehost kernel: psm0: model GlidePoint, device ID 0
Oct 12 01:06:57 nonamehost kernel: atrtc0: <AT realtime clock> port 0x70-0x=
71,0x72-0x77 irq 8 on acpi0
Oct 12 01:06:57 nonamehost kernel: attimer0: <AT timer> port 0x40-0x43,0x50=
-0x53 irq 2 on acpi0
Oct 12 01:06:57 nonamehost kernel: Timecounter "i8254" frequency 1193182 Hz=
 quality 0
Oct 12 01:06:57 nonamehost kernel: orm0: <ISA Option ROMs> at iomem 0xc0000=
-0xcd7ff,0xcd800-0xcffff on isa0
Oct 12 01:06:57 nonamehost kernel: sc0: <System console> at flags 0x100 on =
isa0
Oct 12 01:06:57 nonamehost kernel: sc0: VGA <16 virtual consoles, flags=3D0=
x300>
Oct 12 01:06:57 nonamehost kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x=
3df iomem 0xa0000-0xbffff on isa0
Oct 12 01:06:57 nonamehost kernel: ppc0: cannot reserve I/O port range
Oct 12 01:06:57 nonamehost kernel: est0: <Enhanced SpeedStep Frequency Cont=
rol> on cpu0
Oct 12 01:06:57 nonamehost kernel: p4tcc0: <CPU Frequency Thermal Control> =
on cpu0
Oct 12 01:06:57 nonamehost kernel: est1: <Enhanced SpeedStep Frequency Cont=
rol> on cpu1
Oct 12 01:06:57 nonamehost kernel: p4tcc1: <CPU Frequency Thermal Control> =
on cpu1
Oct 12 01:06:57 nonamehost kernel: Timecounter "TSC" frequency 1994477390 H=
z quality 800
Oct 12 01:06:57 nonamehost kernel: Timecounters tick every 1.000 msec
Oct 12 01:06:57 nonamehost kernel: firewire0: 1 nodes, maxhop <=3D 0 cable =
IRM irm(0)  (me)=20
Oct 12 01:06:57 nonamehost kernel: firewire0: bus manager 0=20
Oct 12 01:06:57 nonamehost kernel: usbus0: 12Mbps Full Speed USB v1.0
Oct 12 01:06:57 nonamehost kernel: usbus1: 12Mbps Full Speed USB v1.0
Oct 12 01:06:57 nonamehost kernel: usbus2: 480Mbps High Speed USB v2.0
Oct 12 01:06:57 nonamehost kernel: usbus3: 12Mbps Full Speed USB v1.0
Oct 12 01:06:57 nonamehost kernel: usbus4: 12Mbps Full Speed USB v1.0
Oct 12 01:06:57 nonamehost kernel: usbus5: 12Mbps Full Speed USB v1.0
Oct 12 01:06:57 nonamehost kernel: usbus6: 480Mbps High Speed USB v2.0
Oct 12 01:06:57 nonamehost kernel: ugen0.1: <Intel> at usbus0
Oct 12 01:06:57 nonamehost kernel: uhub0: <Intel UHCI root HUB, class 9/0, =
rev 1.00/1.00, addr 1> on usbus0
Oct 12 01:06:57 nonamehost kernel: ugen1.1: <Intel> at usbus1
Oct 12 01:06:57 nonamehost kernel: uhub1: <Intel UHCI root HUB, class 9/0, =
rev 1.00/1.00, addr 1> on usbus1
Oct 12 01:06:57 nonamehost kernel: ugen2.1: <Intel> at usbus2
Oct 12 01:06:57 nonamehost kernel: uhub2: <Intel EHCI root HUB, class 9/0, =
rev 2.00/1.00, addr 1> on usbus2
Oct 12 01:06:57 nonamehost kernel: ugen3.1: <Intel> at usbus3
Oct 12 01:06:57 nonamehost kernel: uhub3: <Intel UHCI root HUB, class 9/0, =
rev 1.00/1.00, addr 1> on usbus3
Oct 12 01:06:57 nonamehost kernel: ugen4.1: <Intel> at usbus4
Oct 12 01:06:57 nonamehost kernel: uhub4: <Intel UHCI root HUB, class 9/0, =
rev 1.00/1.00, addr 1> on usbus4
Oct 12 01:06:57 nonamehost kernel: ugen5.1: <Intel> at usbus5
Oct 12 01:06:57 nonamehost kernel: uhub5: <Intel UHCI root HUB, class 9/0, =
rev 1.00/1.00, addr 1> on usbus5
Oct 12 01:06:57 nonamehost kernel: ugen6.1: <Intel> at usbus6
Oct 12 01:06:57 nonamehost kernel: uhub6: <Intel EHCI root HUB, class 9/0, =
rev 2.00/1.00, addr 1> on usbus6
Oct 12 01:06:57 nonamehost kernel: acd0: DVDR <PBDS DVD+/-RW DS-8W1P/BD1B> =
at ata0-master UDMA33=20
Oct 12 01:06:57 nonamehost kernel: hdac0: HDA Codec #0: Sigmatel STAC9228X
Oct 12 01:06:57 nonamehost kernel: hdac0: HDA Codec #1: Conexant (Unknown)
Oct 12 01:06:57 nonamehost kernel: pcm0: <HDA Sigmatel STAC9228X PCM #0 Ana=
log> at cad 0 nid 1 on hdac0
Oct 12 01:06:57 nonamehost kernel: pcm1: <HDA Sigmatel STAC9228X PCM #1 Ana=
log> at cad 0 nid 1 on hdac0
Oct 12 01:06:57 nonamehost kernel: pcm2: <HDA Sigmatel STAC9228X PCM #2 Dig=
ital> at cad 0 nid 1 on hdac0
Oct 12 01:06:57 nonamehost kernel: uhub0: 2 ports with 2 removable, self po=
wered
Oct 12 01:06:57 nonamehost kernel: uhub1: 2 ports with 2 removable, self po=
wered
Oct 12 01:06:57 nonamehost kernel: uhub3: 2 ports with 2 removable, self po=
wered
Oct 12 01:06:57 nonamehost kernel: uhub4: 2 ports with 2 removable, self po=
wered
Oct 12 01:06:57 nonamehost kernel: uhub5: 2 ports with 2 removable, self po=
wered
Oct 12 01:06:57 nonamehost kernel: uhub2: 4 ports with 4 removable, self po=
wered
Oct 12 01:06:57 nonamehost kernel: uhub6: 6 ports with 6 removable, self po=
wered
Oct 12 01:06:57 nonamehost kernel: ugen6.2: <OmniVision Technologies, Inc. =
-2640-07.07.20.3> at usbus6
Oct 12 01:06:57 nonamehost kernel: ada0 at ahcich0 bus 0 scbus1 target 0 lu=
n 0
Oct 12 01:06:57 nonamehost kernel: ada0: <ST9320325AS 0001SDM1> ATA-8 SATA =
2.x device
Oct 12 01:06:57 nonamehost kernel: ada0: 300.000MB/s transfers (SATA 2.x, U=
DMA6, PIO 8192bytes)
Oct 12 01:06:57 nonamehost kernel: ada0: Command Queueing enabled
Oct 12 01:06:57 nonamehost kernel: ada0: 305245MB (625142448 512 byte secto=
rs: 16H 63S/T 16383C)
Oct 12 01:06:57 nonamehost kernel: SMP: AP CPU #1 Launched!
Oct 12 01:06:57 nonamehost kernel: WARNING: WITNESS option enabled, expect =
reduced performance.
Oct 12 01:06:57 nonamehost kernel: ugen4.2: <A4Tech> at usbus4
Oct 12 01:06:57 nonamehost kernel: ums0: <A4Tech PS2+USB Mouse, class 0/0, =
rev 1.10/0.02, addr 2> on usbus4
Oct 12 01:06:57 nonamehost kernel: ums0: 8 buttons and [XYZ] coordinates ID=
=3D0
Oct 12 01:06:57 nonamehost kernel: Trying to mount root from ufs:/dev/ada0s=
1a
Oct 12 01:06:57 nonamehost savecore: first and last dump headers disagree o=
n /dev/ada0s1b
Oct 12 01:06:57 nonamehost savecore: unsaved dumps found but not saved
Oct 12 01:06:57 nonamehost savecore: first and last dump headers disagree o=
n /dev/ada0s1b
Oct 12 01:06:57 nonamehost savecore: unsaved dumps found but not saved
Oct 12 01:07:00 nonamehost kernel: lock order reversal:
Oct 12 01:07:00 nonamehost kernel: 1st 0xffffff807a670af8 bufwait (bufwait)=
 @ /usr/src/sys/kern/vfs_bio.c:2659
Oct 12 01:07:00 nonamehost kernel: 2nd 0xffffff0005ef6600 dirhash (dirhash)=
 @ /usr/src/sys/ufs/ufs/ufs_dirhash.c:283
Oct 12 01:07:00 nonamehost kernel: KDB: stack backtrace:
Oct 12 01:07:00 nonamehost kernel:=20
Oct 12 01:07:00 nonamehost kernel: db_trace_self_wrapper() at db_trace_self=
_wrappe
Oct 12 01:07:00 nonamehost kernel: r+0x2a
Oct 12 01:07:00 nonamehost kernel:=20
Oct 12 01:07:00 nonamehost kernel: kdb_backtrace() at=20
Oct 12 01:07:00 nonamehost kernel: kdb_backtrace+0x37
Oct 12 01:07:01 nonamehost kernel:=20
Oct 12 01:07:01 nonamehost kernel: _witness_debugger() at _witness_debugger=
+0x2e
Oct 12 01:07:01 nonamehost kernel: witness_checkorder() at witness_checkord=
er+0xa94
Oct 12 01:07:01 nonamehost kernel: _sx_xlock() at _sx_xlock+0x55
Oct 12 01:07:01 nonamehost kernel: ufsdirhash_acquire() at ufsdirhash_acqui=
re+0x33
Oct 12 01:07:01 nonamehost kernel: ufsdirhash_add() at ufsdirhash_add+0x19
Oct 12 01:07:01 nonamehost kernel: ufs_direnter() at ufs_direnter+0x8b4
Oct 12 01:07:01 nonamehost kernel: ufs_mkdir() at ufs_mkdir+0x41f
Oct 12 01:07:01 nonamehost kernel: VOP_MKDIR_APV() at VOP_MKDIR_APV+0x93
Oct 12 01:07:01 nonamehost kernel: kern_mkdirat() at kern_mkdirat+0x270
Oct 12 01:07:01 nonamehost kernel: syscallenter() at=20
Oct 12 01:07:01 nonamehost kernel: syscallenter+0x1aa
Oct 12 01:07:01 nonamehost kernel:=20
Oct 12 01:07:01 nonamehost kernel: syscall() at syscall+0x4c
Oct 12 01:07:01 nonamehost kernel: Xfast_syscall() at Xfast_syscall+0xe2
Oct 12 01:07:01 nonamehost kernel: --- syscall (136, FreeBSD ELF64, mkdir),=
 rip =3D 0x8007316cc, rsp =3D 0x7fffffffe788, rbp =3D 0x800c07050 ---
Oct 12 01:07:01 nonamehost root: /etc/rc: WARNING: failed to start webcamd
Oct 12 01:07:01 nonamehost kernel: acd0: FAILURE - INQUIRY ILLEGAL REQUEST =
asc=3D0x24 ascq=3D0x00=20
Oct 12 01:07:02 nonamehost kernel: (probe0:ata0:0:0:0): TEST UNIT READY. CD=
B: 0 0 0 0 0 0=20
Oct 12 01:07:02 nonamehost kernel: (probe0:ata0:0:0:0): CAM status: SCSI St=
atus Error
Oct 12 01:07:02 nonamehost kernel: (probe0:ata0:0:0:0): SCSI status: Check =
Condition
Oct 12 01:07:02 nonamehost kernel: (probe0:ata0:0:0:0): SCSI sense: NOT REA=
DY asc:3a,0 (Medium not present)
Oct 12 01:07:02 nonamehost kernel: cd0 at ata0 bus 0 scbus3 target 0 lun 0
Oct 12 01:07:02 nonamehost kernel: cd0: <PBDS DVD+-RW DS-8W1P BD1B> Removab=
le CD-ROM SCSI-0 device=20
Oct 12 01:07:02 nonamehost kernel: cd0: 33.000MB/s transfers
Oct 12 01:07:02 nonamehost kernel: cd0: Attempt to query device size failed=
: NOT READY, Medium not present
Oct 12 01:07:02 nonamehost kernel: kqemu version 0x00010400
Oct 12 01:07:02 nonamehost kernel: kqemu: KQEMU installed, max_locked_mem=
=3D1031540kB.
Oct 12 01:07:02 nonamehost kernel: sdhci0: <RICOH R5C822 SD> mem 0xf9aff400=
-0xf9aff4ff irq 18 at device 1.1 on pci3
Oct 12 01:07:02 nonamehost kernel: sdhci0: 1 slot(s) allocated
Oct 12 01:07:02 nonamehost kernel: GEOM: md0: geometry does not match label=
 (1h,63s !=3D 1h,1s).
Oct 12 01:07:03 nonamehost kernel: fuse4bsd: version 0.3.9-pre1, FUSE ABI 7=
.8
Oct 12 01:07:04 nonamehost kernel: acd0: FAILURE - ATA_IDENTIFY status=3D51=
<READY,DSC,ERROR> error=3D4<ABORTED> LBA=3D0
Oct 12 01:07:16 nonamehost kernel: ugen4.2: <A4Tech> at usbus4 (disconnecte=
d)
Oct 12 01:07:16 nonamehost kernel: ums0: at uhub4, port 2, addr 2 (disconne=
cted)
Oct 12 01:07:19 nonamehost kernel: ugen4.2: <A4Tech> at usbus4
Oct 12 01:07:19 nonamehost kernel: ums0: <A4Tech PS2+USB Mouse, class 0/0, =
rev 1.10/0.02, addr 2> on usbus4
Oct 12 01:07:19 nonamehost kernel: ums0: 8 buttons and [XYZ] coordinates ID=
=3D0
Oct 12 01:07:23 nonamehost avahi-daemon[2043]: WARNING: No NSS support for =
mDNS detected, consider installing nss-mdns!
Oct 12 01:07:52 nonamehost kernel: lock order reversal:
Oct 12 01:07:52 nonamehost kernel: 1st 0xffffff0019f5f248 filedesc structur=
e (filedesc structure) @ /usr/src/sys/kern/kern_descrip.c:1133
Oct 12 01:07:52 nonamehost kernel: 2nd 0xffffff004696edb8 ufs (ufs) @ /usr/=
src/sys/kern/vfs_subr.c:4176
Oct 12 01:07:52 nonamehost kernel: KDB: stack backtrace:
Oct 12 01:07:52 nonamehost kernel: db_trace_self_wrapper() at db_trace_self=
_wrapper+0x2a
Oct 12 01:07:52 nonamehost kernel: kdb_backtrace() at kdb_backtrace+0x37
Oct 12 01:07:52 nonamehost kernel: _witness_debugger() at _witness_debugger=
+0x2e
Oct 12 01:07:52 nonamehost kernel: witness_checkorder() at witness_checkord=
er+0xa94
Oct 12 01:07:52 nonamehost kernel: __lockmgr_args() at __lockmgr_args+0x138c
Oct 12 01:07:52 nonamehost kernel: ffs_lock() at ffs_lock+0x8c
Oct 12 01:07:52 nonamehost kernel: VOP_LOCK1_APV() at VOP_LOCK1_APV+0x9b
Oct 12 01:07:52 nonamehost kernel: _vn_lock() at _vn_lock+0x44
Oct 12 01:07:52 nonamehost kernel: knlist_remove_kq() at knlist_remove_kq+0=
x67
Oct 12 01:07:52 nonamehost kernel: knote_fdclose() at knote_fdclose+0x177
Oct 12 01:07:52 nonamehost kernel: kern_close() at kern_close+0xe9
Oct 12 01:07:52 nonamehost kernel: syscallenter() at syscallenter+0x1aa
Oct 12 01:07:52 nonamehost kernel: syscall() at syscall+0x4c
Oct 12 01:07:52 nonamehost kernel: Xfast_syscall() at Xfast_syscall+0xe2
Oct 12 01:07:52 nonamehost kernel: --- syscall (6, FreeBSD ELF64, close), r=
ip =3D 0x800e90aac, rsp =3D 0x7fffffffe878, rbp =3D 0x8010686d0 ---


what I do next? :(



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20101012113542.5eaf5321>