compiling NATA

Rodion Turlac vasilich at
Tue Feb 27 00:06:20 PST 2007

Thomas E. Spanjaard wrote:
Strange, could you post a backtrace?

Sorry for delay, I should prepare to degug.

(gdb) bt
#0  Debugger (msg=0x26 <Address 0x26 out bounds>)
    at /usr/src/sys/platform/pc32/db_interface.c:330
#1  0xc04d9df90 in scgetc (sc=0xc064d360, flags=2)
    at /uusr/src/sys/dev/misc/syscons/syscons.c:3134
#2  0xc04d5263 in dckbdevent (thiskbd=0x05454a0, event=0, arg=0xc064d360)
#3  0xc04c74f2 in atkbd_intr (kbd=0xc06454a0, arg=0x0)
    at /usr/src/sys/dev/misc/kbd/atkbd.c:439
#4  0xc05022bf inatkdb_isa_intr (arg=0z20)
    at /usr/src/sys/dev/misc/kbd/atkbd_isa.c:138
#5  0xc02affeb in ithread_handler (arg=0x21)
    at /usr/src/sys/sys/kern/kern_intr.c:766
#6  0xc02d5a38 in lwk_create (func=0x26, arg=0x26, tdp=0xc0613cd0, 
template=0x26, tdflags=Cannot access memory at address 0x18)
    at /usr/src/sys/kern/lwk_thread.c:1289
Previous frame inner to this frame (corrupt stack?)

Kernel config NATA with such options
options		PCI_MAP_FIXUP
#options	ATA_STATIC_ID
dmesg output
atapci0: <Intel ICH5 UDMA100 controller> port 0xffa0-0xffaf,0x376, 
0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 0> on atapci0
ad0: 19092MB <WDC WD200EB-00CSF0 04.01B04> at ata0-master UDMA100
ad1: 114473MB <Seagate ST3120814A 3.AAH> at ata0-slave UDMA100
acd0: CDROM <CD-532E-B/1.0A> at ata1-master PIO4
acd1: DMA limited to UDMA33, controller found non ATA66 cacble
acd0: CDRRW <ASUS CB-5216A/1.06> at ata1-slave UDMA33
Mounting root from ufs:/dev/ad1s2a
Feb 26 23:36:15 init: fatal signal: Segmentation fault

More information about the Kernel mailing list