compiling NATA

Thomas E. Spanjaard tgen at
Tue Feb 27 03:17:21 PST 2007

Rodion Turlac wrote:
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?)
That one's not really useful, irrelevant :).

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
Hmm, no IRQs, even though it does use the legacy io ports.

        Thomas E. Spanjaard
        tgen at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00028.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: OpenPGP digital signature"
URL: <>

More information about the Kernel mailing list