From owner-freebsd-current@FreeBSD.ORG Thu Sep 18 07:13:52 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0BB571065674 for ; Thu, 18 Sep 2008 07:13:52 +0000 (UTC) (envelope-from admin@lissyara.su) Received: from hosting.lissyara.su (hosting.lissyara.su [77.221.149.162]) by mx1.freebsd.org (Postfix) with ESMTP id B9F388FC17 for ; Thu, 18 Sep 2008 07:13:51 +0000 (UTC) (envelope-from admin@lissyara.su) Received: from [195.93.241.11] (port=64838 helo=lissyara.moskb.local) by hosting.lissyara.su with esmtpa (Exim 4.69 (FreeBSD)) (envelope-from ) id 1KgDi1-0008xX-UO for freebsd-current@freebsd.org; Thu, 18 Sep 2008 11:13:50 +0400 Message-ID: <48D1FFAD.1010702@lissyara.su> Date: Thu, 18 Sep 2008 11:13:49 +0400 From: Alex Keda User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; ru-RU; rv:1.8.1.16) Gecko/20080903 Thunderbird/2.0.0.16 Mnenhy/0.7.5.666 MIME-Version: 1.0 To: FreeBSD Current References: <48C6D4BD.3000302@lissyara.su> In-Reply-To: <48C6D4BD.3000302@lissyara.su> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Description: if spam count > 60 - this is spam X-Spam-Count: 0 X-Descriptions: powered by www.lissyara.su X-Bounce-ID: hosting.lissyara.su Subject: Re: ad4 detached X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Sep 2008 07:13:52 -0000 Alex Keda пишет: > subj. > I update source and build kernel ~3 hour ago. > All OK > I again update source (I not remember, but changes 2-3 files) and > rebuild kernel > When starting network, very speed reboot. > I see only 'ad4 detached' > in loader - unload kernel and load kernel.old - boot OK... Yesterday, I update again. Again errors, but, I have messages and backtrace ======= first boot ========= Starting network: lo0. atapicam3: detached ad4: FAILURE - READ DMA status=51 error=0 Fatal trap 12: page fault while in kernel mode cpu id=1; apic id=01 fault virtual address = 0x0 fault code = supervisor read data, page not present instruction pointer = 0x8:0xffffffff80262d0c stack pointer = 0x10:0xfffffffe40039bb0 frame pointer = 0x10:0xfffffffe40039bf0 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL0, pres 1, long 1, def 32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 3(g_up) [thread pid 3 tid 100010] stoped at ata_completed+0x68c: movzbl (%r9), %esi >db and laptop hangs... ====================================== second boot, single user mode - all OK, I run fsck, and type # exit (I`m not remember - mount or not root file system in 'rw' before go to multiuser mode) After >Starting network: lo0. box stay 2-3 minutes. I press power button, "Space" and "Enter" keys, and have: ACPI Error (evgpe-0848): no handler or method for GPE[1D], disabling event [20070320] ACPI Error (evgpe-0848): no handler or method for GPE[1D], disabling event [20070320] ath0: ath_chan_set:unable to reset channel 6 (2437 Mhz, flags 0x480 hal flags 0xc0), hal status 4294967295 atapicam3: detached subdisk4: detached ad4: detached atapicam2: detached Fatal trap9: general protection fault while in kernel mode cpuid = 0; apic id = 00 instruction pointer = 0x8:0xffffffff8024ae59 stack pointer = 0x10:0xfffffffe40065a50 frame pointer = 0x10:0xfffffffe40065a80 code segment = base 0x0, limit 0чаааааб type 0x1b = DPL 0, pres 1, long 1, def32 0, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 12 (swi6: task queue) [thread pid 12 tid 100018 ] Stoped ad ata_sata_setmode+0x29: mozvl 0xa4(%rax), %eax db> Back trace: db> bt Tracing pid 12 tid 100018 id 0xffffff0002217a20 ata_sata_setmode() at ata_sata_setmode+0x29 ad_init() at ad_init+0x5a ad_reinit() at ad_reinit+0x3c ata_reinit() at ata_reinit+0x288 ata_completed() at ata_completed+0x75 taskqueue_run() at taskqueue_run+0x96 intr_event_execute_handlers() at intr_event_execute_handlers+0x68 ithread_loop() at ithread_loop+0xb2 fork_exit() at fork_exit+0x12a fork_trampoline() at fork_trampoline+0xe --- trap 0, rip = 0, rsp = 0xfffffffe40065d40, rbp = 0 --- db> ================== attempt 3... I boot in single user mode, run fsck, mount root file systems and # mv kernel kernel.bad # mv kernel.old kernel # sync # sync # exit when laptop boot, I see: wlan0: Ethernet address: 00:19:7d:7b:72:82 starting wpa_supplicant. Starting Network: lo0 atapicam3: detached subdisk4: detached ad4: detached atapicam2: detached g_vfs_done():ad4s1a[READ(offset=26222493696, length=12288)]error = 6 vnode_pager_getpages: I/O read error eval: /usr/bin/id: Input/output error g_vfs_done():ad4s1a[READ(offset=25825181696, length=65536)]error = 6 vnode_pager_getpages: I/O read error eval: /sbin/devd: Input/output error g_vfs_done():ad4s1a[READ(offset=26200400064, length=16384)]error = 6 /etc/rc: WARNING: faled to start devd g_vfs_done():ad4s1a[READ(offset=25820741632, length=5632)]error = 6 vnode_pager_getpages: I/O read error /etc/rc.d/ipfw: kldload: Input/output error g_vfs_done():ad4s1a[READ(offset=26200408064, length=16384)]error = 6 /etc/rc: WARNING: Unable to load kernel module ipfw panic: vinvalbuf: dirty bufs cpuid = 0 KDB: enter: panic [thread pid 474 tid 100085] Stoped at kdb_enter+0x3d: movq $0,0x63ede8(%rip) db> I input "bt", and have: Tracing pid 474 tid 100085 td 0xffffff00027556c0 kdb_enter() at kdb_enter+0x3d panic() at panic+0x176 bufobj_invalbuf() at bufobj_invalbuf+0xcd vgonel() at vgonel+0xca vgone() at vgone+0x39 devfs_delete() at devfs_delete+0x196 devfs_populate_loop() at devfs_populate_loop+0x1a2 devfs_populate() at devfs_populate+0x3b devfs_lookup() at devfs_lookup+0x296 VOP_LOOKUP_APV() at VOP_LOOKUP_APV+0x95 lookup() at lookup+0x4b2 namei() at namei+0x43f vn_open_cred() at vn_open_cred+0xb2 kern_openat() kern_openat+0x15e syscall() at syscall+0x1bf Xfast_syscall() at Xfast_syscall+0xab --- syscall (5, FreeBSD ELF64, open), rip = 0x8009999dc, rsp = 0x7fffffffdb28, rbp = 0x2 --- db>