Re: ad4 detached

From: Alex Keda <admin_at_lissyara.su>
Date: Thu, 18 Sep 2008 11:13:49 +0400
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<READY,DSC,ERROR> 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>
Received on Thu Sep 18 2008 - 05:13:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:35 UTC