Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Sep 2005 20:16:24 +1000
From:      Michael VInce <mv@roq.com>
To:        "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
Cc:        freebsd-amd64@FreeBSD.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: FAST_IPSEC on EMT64 / AMD64
Message-ID:  <432A9B78.8020906@roq.com>
In-Reply-To: <432567EF.2060800@roq.com>
References:  <4324E06A.4090400@roq.com>	<20050912054858.GA28647@xor.obsecurity.org>	<Pine.BSF.4.53.0509120718260.46635@e0-0.zab2.int.zabbadoz.net> <432567EF.2060800@roq.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Michael VInce wrote:

> Bjoern A. Zeeb wrote:
>
>> On Mon, 12 Sep 2005, Kris Kennaway wrote:
>>
>>  
>>
>>> On Mon, Sep 12, 2005 at 11:56:58AM +1000, Michael VInce wrote:
>>>   
>>>
>>>> Hi guys,
>>>> I am getting a Intel Xeon based EMT64 server as a gateway that may in
>>>> the future do some VPN,
>>>> I wondered if the EMT64 servers could run FAST_IPSEC under AMD64 
>>>> FreeBSD.
>>>> With these options below compiled into the kernel I was able to boot
>>>> FreeBSD with no panics if I booted into single user mode and then just
>>>> did 'exit'  to go back to regular boot, otherwise it would panic as if
>>>> it was an AMD64 CPU.
>>>>     
>>>
>>> You forgot to include details of the panic.
>>>   
>>
>>
>> That would be really good to know.
>>
>> Then we'd finally know more than was given in
>> http://www.freebsd.org/cgi/query-pr.cgi?pr=amd64/73211
>>  
>>
>
> Sorry instead of getting a core dump I grabbed a FreeBSD AMD64 beta4 
> 6.0 ISO and put it on this server.
> But I do have some good news in what I found.
> Recompiled FAST_IPSEC into the kernel and rebooted it, it came up fine..
> So then put in some ipsec security policies into /etc/ipsec.conf
> ipsec_enable="YES"
> and ran /etc/rc.d/ipsec start
> and it ran fine.
> I then installed ipsec-tools and loaded up the racoon daemon this also 
> triggers a panic on my FreeBSD AMD64 6.0 laptop with out FAST_IPSEC 
> being compiled into the kernel and its loaded up fine.
> This looks all completely solid. I haven't been able to panic the 
> server with a full VPN configuration activated.
> The only thing I haven't done is tested if the IPSEC VPN actually can 
> work.
>
> This is no mistake this is AMD64 kernel FreeBSD with FAST_IPSEC I just 
> cheated using the Intel EMT64
>
> Regards,
> Mike
>
> beast# /sbin/sysctl -a | grep ipsec
>  ipsecpolicy    16     4K       -      520  256
> ipsecrequest     2     1K       -        4  256
>    ipsec-reg     3     1K       -       24  32
> net.inet.ipsec.def_policy: 1
> net.inet.ipsec.esp_trans_deflev: 1
> net.inet.ipsec.esp_net_deflev: 1
> net.inet.ipsec.ah_trans_deflev: 1
> net.inet.ipsec.ah_net_deflev: 1
> net.inet.ipsec.ah_cleartos: 1
> net.inet.ipsec.ah_offsetmask: 0
> net.inet.ipsec.dfbit: 0
> net.inet.ipsec.ecn: 0
> net.inet.ipsec.debug: 0
> net.inet.ipsec.esp_randpad: -1
> net.inet.ipsec.crypto_support: 0
> net.inet6.ipsec6.def_policy: 1
> net.inet6.ipsec6.esp_trans_deflev: 1
> net.inet6.ipsec6.esp_net_deflev: 1
> net.inet6.ipsec6.ah_trans_deflev: 1
> net.inet6.ipsec6.ah_net_deflev: 1
> net.inet6.ipsec6.ecn: 0
> net.inet6.ipsec6.debug: 0
> net.inet6.ipsec6.esp_randpad: -1
> beast# uname -a
> FreeBSD beast 6.0-BETA4 FreeBSD 6.0-BETA4 #0: Mon Sep 12 20:40:05 UTC 
> 2005     root@beast:/usr/obj/usr/src/sys/GENERIC_IPSEC  amd64
>
> _______________________________________________
> freebsd-amd64@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-amd64
> To unsubscribe, send any mail to "freebsd-amd64-unsubscribe@freebsd.org"

I am back,
I still would like to see this bug fixed (and I assume other people do 
as well :)
The server in my above email appears to be working fine using FAST_IPSEC 
on AMD64 is a Dell 2850 (Beast)

But on a Dell 1850 it crashes as usual, here is a dump on AMD64 6.0 
Beta4 cvsuped from beta3 ISO install. I still don't know why it appears 
to be working fine on a 2850 but not on any other machine in the world?

This machine below is a Dell 1850 EMT64 with FAST_IPSEC compiled into it 
with some rules in /etc/ipsec.conf
I can get panics from starting ipsec or starting racoon ipsec-tools. The 
I have listed 2 dumps here the first one is from racoon and the one 
below is from setkey ( starting ipsec )

I don't really know much about doing this stuff so I have just run some 
of the commands in the kernel debug handbook example. This dump was 
triggered from starting racoon.

This is from a usb2serial console output from the server.

cd /usr/obj/usr/src/sys/GENERIC_IPSEC/
tank# kgdb kernel.debug /usr/crash/vmcore.7
[GDB will not be able to debug user-mode threads: 
/usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd".

Unread portion of the kernel message buffer:
0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 591 (racoon)
panic: from debugger
cpuid = 0
Uptime: 4m23s
Dumping 2047 MB (2 chunks)
  chunk 0: 1MB (156 pages) ... ok
  chunk 1: 2047MB (523968 pages) 2031 2015 1999 1983 1967 1951 1935 1919 
1903 1887 1871 1855 1839 1823 1807 1791 1775 1759 1743 1727 1711 1695 
1679 1663 1647 1631 1615 1599 1583 1567 1551 1535 1519 1503 1487 1471 
1455 1439 1423 1407 1391 1375 1359 1343 1327 1311 1295 1279 1263 1247 
1231 1215 1199 1183 1167 1151 1135 1119 1103 1087 1071 1055 1039 1023 
1007 991 975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 
719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 
431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 
143 127 111 95 79 63 47 31 15

#0  doadump () at pcpu.h:172
172             __asm __volatile("movq %%gs:0,%0" : "=r" (td));
(kgdb) list
167     static __inline struct thread *
168     __curthread(void)
169     {
170             struct thread *td;
171
172             __asm __volatile("movq %%gs:0,%0" : "=r" (td));
173             return (td);
174     }
175     #define curthread (__curthread())
176
(kgdb) backtrace
#0  doadump () at pcpu.h:172
#1  0xffffffff803b8ccc in boot (howto=260) at 
/usr/src/sys/kern/kern_shutdown.c:399
#2  0xffffffff803b876b in panic (fmt=0xffffffff805faac2 "from debugger") 
at /usr/src/sys/kern/kern_shutdown.c:555
#3  0xffffffff801aa1c2 in db_panic (addr=0, have_addr=0, count=0, 
modif=0x0) at /usr/src/sys/ddb/db_command.c:435
#4  0xffffffff801aa705 in db_command_loop () at 
/usr/src/sys/ddb/db_command.c:349
#5  0xffffffff801ac573 in db_trap (type=-1270872608, code=0) at 
/usr/src/sys/ddb/db_main.c:221
#6  0xffffffff803d5799 in kdb_trap (type=12, code=0, 
tf=0xffffffffb44007a0) at /usr/src/sys/kern/subr_kdb.c:473
#7  0xffffffff8059bf0e in trap_fatal (frame=0xffffffffb44007a0, 
eva=18446742975788145024) at /usr/src/sys/amd64/amd64/trap.c:656
#8  0xffffffff8059c2a3 in trap_pfault (frame=0xffffffffb44007a0, 
usermode=0) at /usr/src/sys/amd64/amd64/trap.c:581
#9  0xffffffff8059c4b9 in trap (frame=
      {tf_rdi = -2140943745, tf_rsi = 256, tf_rdx = -1270871712, tf_rcx 
= -2142535110, tf_r8 = 64, tf_r9 = -1097921406592, tf_rax = 0, tf_rbx = 
2152432187, tf_rbp = -1270871728, tf_r10 = -2139154144, tf_r11 = 
-1270871552, tf_r12 = 57, tf_r13 = 0, tf_r14 = 0, tf_r15 = 0, tf_trapno 
= 12, tf_addr = -3413406822, tf_flags = -2140901446, tf_err = 0, tf_rip 
= -2142535096, tf_cs = 8, tf_rflags = 66178, tf_rsp = -1270871968, tf_ss 
= 16})
    at /usr/src/sys/amd64/amd64/trap.c:360
#10 0xffffffff80589dfb in calltrap () at 
/usr/src/sys/amd64/amd64/exception.S:168
#11 0xffffffff8063ca7f in wi_pccard_products ()
#12 0x0000000000000100 in ?? ()
#13 0xffffffffb4400960 in ?? ()
#14 0xffffffff804b823a in kdebug_mbuf (m0=0x0) at 
/usr/src/sys/netipsec/key_debug.c:670
#15 0xffffffff80442d60 in raw_usend (so=0x0, flags=0, m=0x0, nam=0x0, 
control=0x0, td=0x0) at /usr/src/sys/net/raw_usrreq.c:263
#16 0xffffffff804b8d2a in key_send (so=0x0, flags=0, m=0x0, nam=0x0, 
control=0x0, td=0x0) at /usr/src/sys/netipsec/keysock.c:532
#17 0xffffffff803fdde4 in sosend (so=0xffffff005f41dc08, addr=0x0, 
uio=0xffffffffb4400a80, top=0xffffff006076e700, control=0x0, flags=0,
    td=0xffffff005ec8d980) at /usr/src/sys/kern/uipc_socket.c:829
#18 0xffffffff80404d54 in kern_sendit (td=0xffffff005ec8d980, s=5, 
mp=0xffffffffb4400b50, flags=0, control=0x0, segflg=16)
    at /usr/src/sys/kern/uipc_syscalls.c:772
#19 0xffffffff80405f16 in sendit (td=0xffffff005ec8d980, s=5, 
mp=0xffffffffb4400b50, flags=0) at /usr/src/sys/kern/uipc_syscalls.c:712
#20 0xffffffff804062d4 in sendto (td=0x0, uap=0x0) at 
/usr/src/sys/kern/uipc_syscalls.c:830
#21 0xffffffff8059cc72 in syscall (frame=
      {tf_rdi = 5, tf_rsi = 5677936, tf_rdx = 16, tf_rcx = 0, tf_r8 = 0, 
tf_r9 = 0, tf_rax = 133, tf_rbx = 5677952, tf_rbp = 2, tf_r10 = 4, 
tf_r11 = 582, tf_r12 = 5677936, tf_r13 = 7, tf_r14 = 5, tf_r15 = 0, 
tf_trapno = 12, tf_addr = 4292816, tf_flags = 0, tf_err = 2, tf_rip = 
34372796060, tf_cs = 43, tf_rflags = 582, tf_rsp = 140737488349928, 
tf_ss = 35}) at /usr/src/sys/amd64/amd64/trap.c:797
#22 0xffffffff80589f98 in Xfast_syscall () at 
/usr/src/sys/amd64/amd64/exception.S:270
#23 0x0000000000000005 in ?? ()
#24 0x000000000056a370 in ?? ()
#25 0x0000000000000010 in ?? ()
#26 0x0000000000000000 in ?? ()
#27 0x0000000000000000 in ?? ()
#28 0x0000000000000000 in ?? ()
#29 0x0000000000000085 in ?? ()
#30 0x000000000056a380 in ?? ()
#31 0x0000000000000002 in ?? ()
#32 0x0000000000000004 in ?? ()
#33 0x0000000000000246 in ?? ()
#34 0x000000000056a370 in ?? ()
#35 0x0000000000000007 in ?? ()
#36 0x0000000000000005 in ?? ()
#37 0x0000000000000000 in ?? ()
#38 0x000000000000000c in ?? ()
#39 0x00000000004180d0 in ?? ()
#40 0x0000000000000000 in ?? ()
#41 0x0000000000000002 in ?? ()
#42 0x0000000800c73e9c in ?? ()
#43 0x000000000000002b in ?? ()
#44 0x0000000000000246 in ?? ()
#45 0x00007fffffffeae8 in ?? ()
#46 0x0000000000000023 in ?? ()
#47 0x00007fffffff5b50 in ?? ()
#48 0x0000000000000023 in ?? ()
#49 0x0000000000000000 in ?? ()
#50 0x0000000000000000 in ?? ()
#51 0x0000000000000000 in ?? ()
#52 0x0000000000000000 in ?? ()
#53 0x0000000000000000 in ?? ()
#54 0x0000000000000000 in ?? ()
#55 0x0000000000000000 in ?? ()
#56 0x0000000000000000 in ?? ()
#57 0x000000005f4dd000 in ?? ()
#58 0x0000000000000001 in ?? ()
#59 0x0000000000000000 in ?? ()
#60 0xffffff005e696340 in ?? ()
#61 0xffffff007b9b74c0 in ?? ()
#62 0xffffffffb4400260 in ?? ()
#63 0xffffffffb4400238 in ?? ()
#64 0xffffff005ec8d980 in ?? ()
#65 0xffffffff803cd10a in sched_switch (td=0x56a380, newtd=0x56a370, 
flags=5) at /usr/src/sys/kern/sched_4bsd.c:973
Previous frame inner to this frame (corrupt stack?)

Here is the serial console output from doing '/etc/rc.d/ipsec start' 
with some rules in /etc/ipsec.conf
Fatal trap 12: page fault while in kernel mode
cpuid = 1; apic id = 01
fault virtual address   = 0xffffffff3489ab9a
fault code              = supervisor read, page not present
instruction pointer     = 0x8:0xffffffff804b8248
stack pointer           = 0x10:0xffffffffb43e2850
frame pointer           = 0x10:0xffffffffb43e2950
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 615 (setkey)
[thread pid 615 tid 100159 ]
Stopped at      kdebug_mbuf+0x88:

db> panic
panic: from debugger
cpuid = 0
Uptime: 14m39s
Dumping 2047 MB (2 chunks)
  chunk 0: 1MB (156 pages) ... ok
  chunk 1: 2047MB (523968 pages) 2031 2015 1999 1983 1967 1951 1935 1919 
1903 1887 1871 1855 1839 1823 1807 1791 1775 1759 1743 1727 1711 1695 
1679 1663 16k

Dump complete

tank# kgdb kernel.debug /usr/crash/vmcore.8
kgdb kernel.debug /usr/crash/vmcore.8
[GDB will not be able to debug user-mode threads: 
/usr/lib/libthread_db.so: Undefined symbol "ps_pglobal_lookup"]
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain 
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "amd64-marcel-freebsd".

Unread portion of the kernel message buffer:
fff804b8248
stack pointer           = 0x10:0xffffffffb43e2850
frame pointer           = 0x10:0xffffffffb43e2950
code segment            = base 0x0, limit 0xfffff, type 0x1b
                        = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags        = interrupt enabled, resume, IOPL = 0
current process         = 615 (setkey)
panic: from debugger
cpuid = 0
Uptime: 14m39s
Dumping 2047 MB (2 chunks)
  chunk 0: 1MB (156 pages) ... ok
  chunk 1: 2047MB (523968 pages) 2031 2015 1999 1983 1967 1951 1935 1919 
1903 1887 1871 1855 1839 1823 1807 1791 1775 1759 1743 1727 1711 1695 
1679 1663 1647 1631 1615 1599 1583 1567 1551 1535 1519 1503 1487 1471 
1455 1439 1423 1407 1391 1375 1359 1343 1327 1311 1295 1279 1263 1247 
1231 1215 1199 1183 1167 1151 1135 1119 1103 1087 1071 1055 1039 1023 
1007 991 975 959 943 927 911 895 879 863 847 831 815 799 783 767 751 735 
719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 479 463 447 
431 415 399 383 367 351 335 319 303 287 271 255 239 223 207 191 175 159 
143 127 111 95 79 63 47 31 15

#0  doadump () at pcpu.h:172
172             __asm __volatile("movq %%gs:0,%0" : "=r" (td));

(kgdb) list
167     static __inline struct thread *
168     __curthread(void)
169     {
170             struct thread *td;
171
172             __asm __volatile("movq %%gs:0,%0" : "=r" (td));
173             return (td);
174     }
175     #define curthread (__curthread())
176
(kgdb) backtrace
#0  doadump () at pcpu.h:172
#1  0xffffffff803b8ccc in boot (howto=260) at 
/usr/src/sys/kern/kern_shutdown.c:399
#2  0xffffffff803b876b in panic (fmt=0xffffffff805faac2 "from debugger") 
at /usr/src/sys/kern/kern_shutdown.c:555
#3  0xffffffff801aa1c2 in db_panic (addr=0, have_addr=0, count=0, 
modif=0x0) at /usr/src/sys/ddb/db_command.c:435
#4  0xffffffff801aa705 in db_command_loop () at 
/usr/src/sys/ddb/db_command.c:349
#5  0xffffffff801ac573 in db_trap (type=-1270995488, code=0) at 
/usr/src/sys/ddb/db_main.c:221
#6  0xffffffff803d5799 in kdb_trap (type=12, code=0, 
tf=0xffffffffb43e27a0) at /usr/src/sys/kern/subr_kdb.c:473
#7  0xffffffff8059bf0e in trap_fatal (frame=0xffffffffb43e27a0, 
eva=18446742975772514688) at /usr/src/sys/amd64/amd64/trap.c:656
#8  0xffffffff8059c2a3 in trap_pfault (frame=0xffffffffb43e27a0, 
usermode=0) at /usr/src/sys/amd64/amd64/trap.c:581
#9  0xffffffff8059c4b9 in trap (frame=
      {tf_rdi = -2140943745, tf_rsi = 256, tf_rdx = -1270994592, tf_rcx 
= -2142535110, tf_r8 = 64, tf_r9 = -1097937036928, tf_rax = 0, tf_rbx = 
2152432187, tf_rbp = -1270994608, tf_r10 = -2139154144, tf_r11 = 
-1270994432, tf_r12 = 57, tf_r13 = 0, tf_r14 = 0, tf_r15 = 0, tf_trapno 
= 12, tf_addr = -3413529702, tf_flags = -2140901446, tf_err = 0, tf_rip 
= -2142535096, tf_cs = 8, tf_rflags = 66178, tf_rsp = -1270994848, tf_ss 
= 16})
    at /usr/src/sys/amd64/amd64/trap.c:360
#10 0xffffffff80589dfb in calltrap () at 
/usr/src/sys/amd64/amd64/exception.S:168
#11 0xffffffff8063ca7f in wi_pccard_products ()
#12 0x0000000000000100 in ?? ()
#13 0xffffffffb43e2960 in ?? ()
#14 0xffffffff804b823a in kdebug_mbuf (m0=0x0) at 
/usr/src/sys/netipsec/key_debug.c:670
#15 0xffffffff80442d60 in raw_usend (so=0x0, flags=0, m=0x0, nam=0x0, 
control=0x0, td=0x0) at /usr/src/sys/net/raw_usrreq.c:263
#16 0xffffffff804b8d2a in key_send (so=0x0, flags=0, m=0x0, nam=0x0, 
control=0x0, td=0x0) at /usr/src/sys/netipsec/keysock.c:532
#17 0xffffffff803fdde4 in sosend (so=0xffffff005ef219a0, addr=0x0, 
uio=0xffffffffb43e2a80, top=0xffffff00608a0e00, control=0x0, flags=0,
    td=0xffffff005dda5980) at /usr/src/sys/kern/uipc_socket.c:829
#18 0xffffffff80404d54 in kern_sendit (td=0xffffff005dda5980, s=4, 
mp=0xffffffffb43e2b50, flags=0, control=0x0, segflg=16)
    at /usr/src/sys/kern/uipc_syscalls.c:772
#19 0xffffffff80405f16 in sendit (td=0xffffff005dda5980, s=4, 
mp=0xffffffffb43e2b50, flags=0) at /usr/src/sys/kern/uipc_syscalls.c:712
#20 0xffffffff804062d4 in sendto (td=0x0, uap=0x0) at 
/usr/src/sys/kern/uipc_syscalls.c:830
#21 0xffffffff8059cc72 in syscall (frame=
      {tf_rdi = 4, tf_rsi = 5320768, tf_rdx = 16, tf_rcx = 0, tf_r8 = 0, 
tf_r9 = 0, tf_rax = 133, tf_rbx = 5320784, tf_rbp = 0, tf_r10 = 4, 
tf_r11 = 5320704, tf_r12 = 5320768, tf_r13 = 7, tf_r14 = 4, tf_r15 = 0, 
tf_trapno = 12, tf_addr = 5320704, tf_flags = 0, tf_err = 2, tf_rip = 
34367663772, tf_cs = 43, tf_rflags = 514, tf_rsp = 140737488349848, 
tf_ss = 35}) at /usr/src/sys/amd64/amd64/trap.c:797
#22 0xffffffff80589f98 in Xfast_syscall () at 
/usr/src/sys/amd64/amd64/exception.S:270
#23 0x0000000000000004 in ?? ()
#24 0x0000000000513040 in ?? ()
#25 0x0000000000000010 in ?? ()
#26 0x0000000000000000 in ?? ()
#27 0x0000000000000000 in ?? ()
#28 0x0000000000000000 in ?? ()
#29 0x0000000000000085 in ?? ()
#30 0x0000000000513050 in ?? ()
#31 0x0000000000000000 in ?? ()
#32 0x0000000000000004 in ?? ()
#33 0x0000000000513000 in ?? ()
#34 0x0000000000513040 in ?? ()
#35 0x0000000000000007 in ?? ()
#36 0x0000000000000004 in ?? ()
#37 0x0000000000000000 in ?? ()
#38 0x000000000000000c in ?? ()
#39 0x0000000000513000 in ?? ()
#40 0x0000000000000000 in ?? ()
---Type <return> to continue, or q <return> to quit---
#41 0x0000000000000002 in ?? ()
#42 0x000000080078ee9c in ?? ()
#43 0x000000000000002b in ?? ()
#44 0x0000000000000202 in ?? ()
#45 0x00007fffffffea98 in ?? ()
#46 0x0000000000000023 in ?? ()
#47 0x00007fffffffd4d8 in ?? ()
#48 0x0000000000000023 in ?? ()
#49 0x0000000000000000 in ?? ()
#50 0x0000000000000000 in ?? ()
#51 0x0000000000000000 in ?? ()
#52 0x0000000000000000 in ?? ()
#53 0x0000000000000000 in ?? ()
#54 0x0000000000000000 in ?? ()
#55 0x0000000000000000 in ?? ()
#56 0x0000000000000000 in ?? ()
#57 0x000000005f9ba000 in ?? ()
#58 0x0000000000000001 in ?? ()
#59 0x0000000000000000 in ?? ()
#60 0xffffff005e4aa9c0 in ?? ()
#61 0xffffff007b9b74c0 in ?? ()
#62 0xffffffffb43e2260 in ?? ()
#63 0xffffffffb43e2238 in ?? ()
#64 0xffffff005dda5980 in ?? ()
#65 0xffffffff803cd10a in sched_switch (td=0x513050, newtd=0x513040, 
flags=4) at /usr/src/sys/kern/sched_4bsd.c:973
Previous frame inner to this frame (corrupt stack?)



Here is my dmesg for the Dell 1850

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 6.0-BETA4 #0: Fri Sep 16 01:52:30 UTC 2005
    root@tank:/usr/obj/usr/src/sys/GENERIC_IPSEC
WARNING: WITNESS option enabled, expect reduced performance.
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Xeon(TM) CPU 3.20GHz (3192.22-MHz K8-class CPU)
  Origin = "GenuineIntel"  Id = 0xf43  Stepping = 3
  
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>
  Features2=0x641d<SSE3,RSVD2,MON,DS_CPL,CNTX-ID,CX16,<b14>>
  AMD Features=0x20100800<SYSCALL,NX,LM>
  Hyperthreading: 2 logical CPUs
real memory  = 2147221504 (2047 MB)
avail memory = 2062241792 (1966 MB)
ACPI APIC Table: <DELL   PE BKC  >
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
ioapic0: Changing APIC ID to 2
ioapic1: Changing APIC ID to 3
ioapic1: WARNING: intbase 32 != expected base 24
ioapic2: Changing APIC ID to 4
ioapic2: WARNING: intbase 64 != expected base 56
ioapic0 <Version 2.0> irqs 0-23 on motherboard
ioapic1 <Version 2.0> irqs 32-55 on motherboard
ioapic2 <Version 2.0> irqs 64-87 on motherboard
acpi0: <DELL PE BKC> on motherboard
acpi0: Power Button (fixed)
pci_link0: <ACPI PCI Link LNKA> irq 11 on acpi0
pci_link1: <ACPI PCI Link LNKB> irq 3 on acpi0
pci_link2: <ACPI PCI Link LNKC> irq 7 on acpi0
pci_link3: <ACPI PCI Link LNKD> irq 10 on acpi0
pci_link4: <ACPI PCI Link LNKE> on acpi0
pci_link5: <ACPI PCI Link LNKF> on acpi0
pci_link6: <ACPI PCI Link LNKG> on acpi0
pci_link7: <ACPI PCI Link LNKH> irq 5 on acpi0
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> at device 2.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pcib2: <ACPI PCI-PCI bridge> at device 0.0 on pci1
pci2: <ACPI PCI bus> on pcib2
amr0: <LSILogic MegaRAID 1.51> mem 
0xd80f0000-0xd80fffff,0xdfde0000-0xdfdfffff irq 46 at device 14.0 on pci2
amr0: <LSILogic PERC 4e/Si> Firmware 521S, BIOS H430, 256MB RAM
pcib3: <ACPI PCI-PCI bridge> at device 0.2 on pci1
pci3: <ACPI PCI bus> on pcib3
pcib4: <ACPI PCI-PCI bridge> at device 4.0 on pci0
pci4: <ACPI PCI bus> on pcib4
pcib5: <PCI-PCI bridge> at device 0.0 on pci4
pci5: <PCI bus> on pcib5
em0: <Intel(R) PRO/1000 Network Connection, Version - 2.1.7> port 
0xecc0-0xecff mem 0xdfae0000-0xdfafffff irq 16 at device 4.0 on pci5
em0: Ethernet address: 00:0e:0c:73:d4:f2
em0:  Speed:N/A  Duplex:N/A
em1: <Intel(R) PRO/1000 Network Connection, Version - 2.1.7> port 
0xec80-0xecbf mem 0xdfac0000-0xdfadffff irq 17 at device 4.1 on pci5
em1: Ethernet address: 00:0e:0c:73:d4:f3
em1:  Speed:N/A  Duplex:N/A
pcib6: <PCI-PCI bridge> at device 0.2 on pci4
pci6: <PCI bus> on pcib6
pcib7: <ACPI PCI-PCI bridge> at device 5.0 on pci0
pci7: <ACPI PCI bus> on pcib7
pcib8: <ACPI PCI-PCI bridge> at device 0.0 on pci7
pci8: <ACPI PCI bus> on pcib8
em2: <Intel(R) PRO/1000 Network Connection, Version - 2.1.7> port 
0xdcc0-0xdcff mem 0xdf7e0000-0xdf7fffff irq 64 at device 7.0 on pci8
em2: Ethernet address: 00:14:22:15:ff:4b
em2:  Speed:N/A  Duplex:N/A
pcib9: <ACPI PCI-PCI bridge> at device 0.2 on pci7
pci9: <ACPI PCI bus> on pcib9
em3: <Intel(R) PRO/1000 Network Connection, Version - 2.1.7> port 
0xccc0-0xccff mem 0xdf5e0000-0xdf5fffff irq 65 at device 8.0 on pci9
em3: Ethernet address: 00:14:22:15:ff:4c
em3:  Speed:N/A  Duplex:N/A
pcib10: <ACPI PCI-PCI bridge> at device 6.0 on pci0
pci10: <ACPI PCI bus> on pcib10
uhci0: <Intel 82801EB (ICH5) USB controller USB-A> port 0xace0-0xacff 
irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801EB (ICH5) USB controller USB-A> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <Intel 82801EB (ICH5) USB controller USB-B> port 0xacc0-0xacdf 
irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801EB (ICH5) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801EB (ICH5) USB controller USB-C> port 0xaca0-0xacbf 
irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801EB (ICH5) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
ehci0: <EHCI (generic) USB 2.0 controller> mem 0xdff00000-0xdff003ff irq 
23 at device 29.7 on pci0
ehci0: [GIANT-LOCKED]
usb3: EHCI version 1.0
usb3: companion controllers, 2 ports each: usb0 usb1 usb2
usb3: <EHCI (generic) USB 2.0 controller> on ehci0
usb3: USB revision 2.0
uhub3: Intel EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub3: 6 ports with 6 removable, self powered
uhub4: vendor 0x413c product 0xa001, class 9/0, rev 2.00/0.00, addr 2
uhub4: multiple transaction translators
uhub4: 2 ports with 2 removable, self powered
pcib11: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci11: <ACPI PCI bus> on pcib11
pci11: <display, VGA> at device 13.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH5 UDMA100 controller> port 
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xfc00-0xfc0f at device 31.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
fdc0: <floppy drive controller> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0
sio0: type 16550A, console
orm0: <ISA Option ROMs> at iomem 
0xc0000-0xcafff,0xcb000-0xcbfff,0xce800-0xcf7ff,0xec000-0xeffff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
ppc0: cannot reserve I/O port range
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x100>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ucom0: Prolific Technology Inc. USB-Serial Controller, rev 1.10/3.00, addr 2
Timecounters tick every 1.000 msec
Fast IPsec: Initialized Security Association Processing.
acd0: DVDROM <HL-DT-STDVD-ROM GDR8082N/0106> at ata0-master UDMA33
amrd0: <LSILogic MegaRAID logical drive> on amr0
amrd0: 139900MB (286515200 sectors) RAID 1 (optimal)
ses0 at amr0 bus 0 target 6 lun 0
ses0: <PE/PV 1x2 SCSI BP 1.0> Fixed Processor SCSI-2 device
ses0: SAF-TE Compliant Device
SMP: AP CPU #1 Launched!
Trying to mount root from ufs:/dev/amrd0s1a
WARNING: / was not properly dismounted
em2: link state changed to UP
em3: link state changed to UP

Cheers,
Mike




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?432A9B78.8020906>