Re: system hangs after logging into gdm

From: Ivan Klymenko <fidaj_at_ukr.net>
Date: Tue, 12 Oct 2010 11:35:42 +0300
В Mon, 11 Oct 2010 08:37:05 -0700
Garrett Cooper <gcooper_at_FreeBSD.org> пишет:

> On Mon, Oct 11, 2010 at 2:04 AM, Andriy Gapon <avg_at_icyb.net.ua> wrote:
> > on 11/10/2010 10:59 Ivan Klymenko said the following:
> >> В Sun, 10 Oct 2010 15:37:55 -0700
> >> Garrett Cooper <gcooper_at_FreeBSD.org> пишет:
> >>
> >>> On Sun, Oct 10, 2010 at 3:08 PM, Ivan Klymenko <fidaj_at_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_at_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?
> 
>     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.
> 
> > 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.
> 
>     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
_at__at_ -13,6 +13,67 _at__at_
 #include "nv.h"
 #include "nv-freebsd.h"
 
+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)
+{                       
+	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 = STAILQ_FIRST(&queue->tq_queue);
+		STAILQ_REMOVE_HEAD(&queue->tq_queue, ta_link);
+		pending = task->ta_pending;
+		task->ta_pending = 0;
+		task->ta_running = tpp;
+		*tpp = task;
+		TQ_UNLOCK(queue);
+
+		task->ta_func(task->ta_context, pending);
+
+		TQ_LOCK(queue);
+		*tpp = NULL;
+		wakeup(task);
+	}
+}
+
 MALLOC_DEFINE(M_NVIDIA, "nvidia", "NVIDIA memory allocations");
 TASKQUEUE_DEFINE_THREAD(nvidia);
 
_at__at_ -332,7 +393,8 _at__at_
 
 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 Project.
Oct 12 01:06:57 nonamehost kernel: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
Oct 12 01:06:57 nonamehost kernel: The Regents of the University of California. 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_at_nonamehost:/usr/obj/usr/src/sys/GENERIC 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     T7250  _at_ 2.00GHz (1994.48-MHz K8-class CPU)
Oct 12 01:06:57 nonamehost kernel: Origin = "GenuineIntel"  Id = 0x6fd  Family = 6  Model = f  Stepping = 13
Oct 12 01:06:57 nonamehost kernel: Features=0xbfebfbff<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=0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>
Oct 12 01:06:57 nonamehost kernel: AMD Features=0x20100800<SYSCALL,NX,LM>
Oct 12 01:06:57 nonamehost kernel: AMD Features2=0x1<LAHF>
Oct 12 01:06:57 nonamehost kernel: TSC: P-state invariant
Oct 12 01:06:57 nonamehost kernel: real memory  = 2147483648 (2048 MB)
Oct 12 01:06:57 nonamehost kernel: avail memory = 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 Detected: 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 motherboard
Oct 12 01:06:57 nonamehost kernel: Cuse4BSD v0.1.13 _at_ /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> iomem 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 Hz 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 3579545 Hz quality 1000
Oct 12 01:06:57 nonamehost kernel: acpi_timer0: <24-bit timer at 3.579545MHz> 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 0xef00-0xef7f mem 0xfd000000-0xfdffffff,0xe0000000-0xefffffff,0xfa000000-0xfbffffff irq 16 at device 0.0 on pci1
Oct 12 01:06:57 nonamehost kernel: acpi_video0: <ACPI video extension> on vgapci0
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_enable_busmaster
Oct 12 01:06:57 nonamehost kernel: vgapci0: child nvidia0 requested pci_enable_io
Oct 12 01:06:57 nonamehost kernel: vgapci0: child nvidia0 requested pci_enable_io
Oct 12 01:06:57 nonamehost kernel: uhci0: <Intel 82801H (ICH8) USB controller USB-D> port 0x6f20-0x6f3f irq 20 at device 26.0 on pci0
Oct 12 01:06:57 nonamehost kernel: uhci0: LegSup = 0x2f00
Oct 12 01:06:57 nonamehost kernel: usbus0: <Intel 82801H (ICH8) USB controller USB-D> on uhci0
Oct 12 01:06:57 nonamehost kernel: uhci1: <Intel 82801H (ICH8) USB controller USB-E> port 0x6f00-0x6f1f irq 21 at device 26.1 on pci0
Oct 12 01:06:57 nonamehost kernel: uhci1: LegSup = 0x2f00
Oct 12 01:06:57 nonamehost kernel: usbus1: <Intel 82801H (ICH8) USB controller USB-E> on uhci1
Oct 12 01:06:57 nonamehost kernel: ehci0: <Intel 82801H (ICH8) USB 2.0 controller 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 controller USB2-B> on ehci0
Oct 12 01:06:57 nonamehost kernel: hdac0: <Intel 82801H High Definition Audio 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 28.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 28.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 driver attached)
Oct 12 01:06:57 nonamehost kernel: pcib4: <ACPI PCI-PCI bridge> at device 28.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 28.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. 0x00c002> 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, 100baseTX, 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 controller USB-A> port 0x6f80-0x6f9f irq 20 at device 29.0 on pci0
Oct 12 01:06:57 nonamehost kernel: uhci2: LegSup = 0x2f00
Oct 12 01:06:57 nonamehost kernel: usbus3: <Intel 82801H (ICH8) USB controller USB-A> on uhci2
Oct 12 01:06:57 nonamehost kernel: uhci3: <Intel 82801H (ICH8) USB controller USB-B> port 0x6f60-0x6f7f irq 21 at device 29.1 on pci0
Oct 12 01:06:57 nonamehost kernel: uhci3: LegSup = 0x2f00
Oct 12 01:06:57 nonamehost kernel: usbus4: <Intel 82801H (ICH8) USB controller USB-B> on uhci3
Oct 12 01:06:57 nonamehost kernel: uhci4: <Intel 82801H (ICH8) USB controller USB-C> port 0x6f40-0x6f5f irq 22 at device 29.2 on pci0
Oct 12 01:06:57 nonamehost kernel: uhci4: LegSup = 0x2f00
Oct 12 01:06:57 nonamehost kernel: usbus5: <Intel 82801H (ICH8) USB controller USB-C> on uhci4
Oct 12 01:06:57 nonamehost kernel: ehci1: <Intel 82801H (ICH8) USB 2.0 controller 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 controller USB2-A> on ehci1
Oct 12 01:06:57 nonamehost kernel: pcib6: <ACPI PCI-PCI bridge> at device 30.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 Interface> mem 0xf9aff800-0xf9afffff irq 19 at device 1.0 on pci3
Oct 12 01:06:57 nonamehost kernel: fwohci0: OHCI version 1.10 (ROM=0)
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 ports.
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 fwohci0
Oct 12 01:06:57 nonamehost kernel: fwe0: <Ethernet over FireWire> on firewire0
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 _at_ 0xfffe00000000, S400, maxrec 2048
Oct 12 01:06:57 nonamehost kernel: sbp0: <SBP-2/SCSI over FireWire> on firewire0
Oct 12 01:06:57 nonamehost kernel: dcons_crom0: <dcons configuration ROM> on 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=0x00000000, SelfID Count=1, CYCLEMASTER mode
Oct 12 01:06:57 nonamehost kernel: pci3: <base peripheral, SD host controller> at device 1.1 (no driver attached)
Oct 12 01:06:57 nonamehost kernel: pci3: <base peripheral> at device 1.2 (no driver attached)
Oct 12 01:06:57 nonamehost kernel: pci3: <base peripheral> at device 1.3 (no driver attached)
Oct 12 01:06:57 nonamehost kernel: pci3: <base peripheral> at device 1.4 (no driver attached)
Oct 12 01:06:57 nonamehost kernel: isab0: <PCI-ISA bridge> at device 31.0 on 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 31.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-0x6eff 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, Port 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> on 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)> port 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-0x71,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=0x300>
Oct 12 01:06:57 nonamehost kernel: vga0: <Generic ISA VGA> at port 0x3c0-0x3df 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 Control> 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 Control> 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 Hz 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 <= 0 cable IRM irm(0)  (me) 
Oct 12 01:06:57 nonamehost kernel: firewire0: bus manager 0 
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 
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 Analog> at cad 0 nid 1 on hdac0
Oct 12 01:06:57 nonamehost kernel: pcm1: <HDA Sigmatel STAC9228X PCM #1 Analog> at cad 0 nid 1 on hdac0
Oct 12 01:06:57 nonamehost kernel: pcm2: <HDA Sigmatel STAC9228X PCM #2 Digital> at cad 0 nid 1 on hdac0
Oct 12 01:06:57 nonamehost kernel: uhub0: 2 ports with 2 removable, self powered
Oct 12 01:06:57 nonamehost kernel: uhub1: 2 ports with 2 removable, self powered
Oct 12 01:06:57 nonamehost kernel: uhub3: 2 ports with 2 removable, self powered
Oct 12 01:06:57 nonamehost kernel: uhub4: 2 ports with 2 removable, self powered
Oct 12 01:06:57 nonamehost kernel: uhub5: 2 ports with 2 removable, self powered
Oct 12 01:06:57 nonamehost kernel: uhub2: 4 ports with 4 removable, self powered
Oct 12 01:06:57 nonamehost kernel: uhub6: 6 ports with 6 removable, self powered
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 lun 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, UDMA6, 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 sectors: 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=0
Oct 12 01:06:57 nonamehost kernel: Trying to mount root from ufs:/dev/ada0s1a
Oct 12 01:06:57 nonamehost savecore: first and last dump headers disagree on /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 on /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) _at_ /usr/src/sys/kern/vfs_bio.c:2659
Oct 12 01:07:00 nonamehost kernel: 2nd 0xffffff0005ef6600 dirhash (dirhash) _at_ /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: 
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: 
Oct 12 01:07:00 nonamehost kernel: kdb_backtrace() at 
Oct 12 01:07:00 nonamehost kernel: kdb_backtrace+0x37
Oct 12 01:07:01 nonamehost kernel: 
Oct 12 01:07:01 nonamehost kernel: _witness_debugger() at _witness_debugger+0x2e
Oct 12 01:07:01 nonamehost kernel: witness_checkorder() at witness_checkorder+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_acquire+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 
Oct 12 01:07:01 nonamehost kernel: syscallenter+0x1aa
Oct 12 01:07:01 nonamehost kernel: 
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 = 0x8007316cc, rsp = 0x7fffffffe788, rbp = 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=0x24 ascq=0x00 
Oct 12 01:07:02 nonamehost kernel: (probe0:ata0:0:0:0): TEST UNIT READY. CDB: 0 0 0 0 0 0 
Oct 12 01:07:02 nonamehost kernel: (probe0:ata0:0:0:0): CAM status: SCSI Status 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 READY 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> Removable CD-ROM SCSI-0 device 
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=1031540kB.
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 != 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=51<READY,DSC,ERROR> error=4<ABORTED> LBA=0
Oct 12 01:07:16 nonamehost kernel: ugen4.2: <A4Tech> at usbus4 (disconnected)
Oct 12 01:07:16 nonamehost kernel: ums0: at uhub4, port 2, addr 2 (disconnected)
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=0
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 structure (filedesc structure) _at_ /usr/src/sys/kern/kern_descrip.c:1133
Oct 12 01:07:52 nonamehost kernel: 2nd 0xffffff004696edb8 ufs (ufs) _at_ /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_checkorder+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+0x67
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), rip = 0x800e90aac, rsp = 0x7fffffffe878, rbp = 0x8010686d0 ---


what I do next? :(
Received on Tue Oct 12 2010 - 06:35:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:08 UTC