Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jul 2003 23:23:11 +0200
From:      Morten Rodal <morten@rodal.no>
To:        current@freebsd.org
Subject:   libkse crash and sched ule?
Message-ID:  <20030703212311.GA599@atlantis.rodal.no>

next in thread | raw e-mail | index | archive | help

--DKU6Jbt7q3WqK7+M
Content-Type: multipart/mixed; boundary="Nq2Wo0NMKNjxTN9z"
Content-Disposition: inline


--Nq2Wo0NMKNjxTN9z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I updated to the latest sources early today (CEST time) and install
rtld-elf with libmap support in order to give KSE another try.
However upon starting the Mozilla Firebird executable with very simple
/etc/libmap.conf:

  libc_r.so.5     libkse.so.1
  libc_r.so       libkse.so

the computer starts to dump core in the background (I haven't got a
serial cable right here) and then reboots.  Apart from stripping all
the devices I haven't got from GENERIC kernel I have added SCHED_ULE.

Is there a know problem with using SCHED_ULE and KSE?

--=20
Morten Rodal


--Nq2Wo0NMKNjxTN9z
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="crash.3"
Content-Transfer-Encoding: quoted-printable

Script started on Thu Jul  3 23:12:23 2003
# gdb -k kernel.3 vmcore.3
GNU gdb 5.2.1 (FreeBSD)
Copyright 2002 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 condition=
s.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-undermydesk-freebsd"...
panic: page fault
panic messages:
---
Fatal trap 12: page fault while in kernel mode
fault virtual address	=3D 0x0
fault code		=3D supervisor write, page not present
instruction pointer	=3D 0x8:0xc01cab3e
stack pointer	        =3D 0x10:0xd6607c28
frame pointer	        =3D 0x10:0xd6607c34
code segment		=3D base 0x0, limit 0xfffff, type 0x1b
			=3D DPL 0, pres 1, def32 1, gran 1
processor eflags	=3D interrupt enabled, resume, IOPL =3D 0
current process		=3D 15 (random)
trap number		=3D 12
panic: page fault
Stack backtrace:

syncing disks, buffers remaining... 3868 3868 3868 3868 3868 3868 3868 3868=
 3868 3868 3868 3868 3868 3868 3868 3868 3868 3868 3868 3868=20
giving up on 2042 buffers
Uptime: 8h40m25s
Dumping 511 MB
ata0: resetting devices ..
done
 16 32 48 64 80 96 112 128 144 160 176 192 208 224 240 256 272 288 304 320 =
336 352 368 384 400 416 432 448 464 480 496
---
Reading symbols from /usr/obj/usr/src/sys/atlantis/modules/usr/src/sys/modu=
les/linux/linux.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/atlantis/modules/usr/src/sys/module=
s/linux/linux.ko.debug
Reading symbols from /boot/kernel/snd_ich.ko...done.
Loaded symbols for /boot/kernel/snd_ich.ko
Reading symbols from /boot/kernel/snd_pcm.ko...done.
Loaded symbols for /boot/kernel/snd_pcm.ko
Reading symbols from /usr/obj/usr/src/sys/atlantis/modules/usr/src/sys/modu=
les/acpi/acpi.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/atlantis/modules/usr/src/sys/module=
s/acpi/acpi.ko.debug
Reading symbols from /usr/obj/usr/src/sys/atlantis/modules/usr/src/sys/modu=
les/nfsclient/nfsclient.ko.debug...done.
Loaded symbols for /usr/obj/usr/src/sys/atlantis/modules/usr/src/sys/module=
s/nfsclient/nfsclient.ko.debug
Reading symbols from /boot/kernel/nvidia.ko...done.
Loaded symbols for /boot/kernel/nvidia.ko
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
240	/usr/src/sys/kern/kern_shutdown.c: No such file or directory.
	in /usr/src/sys/kern/kern_shutdown.c
(kgdb) bt
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:240
#1  0xc01c3b57 in boot (howto=3D256) at /usr/src/sys/kern/kern_shutdown.c:3=
72
#2  0xc01c3f19 in panic () at /usr/src/sys/kern/kern_shutdown.c:550
#3  0xc03034b2 in trap_fatal (frame=3D0xd6607be8, eva=3D0)
    at /usr/src/sys/i386/i386/trap.c:836
#4  0xc0302a73 in trap (frame=3D
      {tf_fs =3D -1070071784, tf_es =3D -995885040, tf_ds =3D -698351600, t=
f_edi =3D -1054896880, tf_esi =3D -1009368448, tf_ebp =3D -698319820, tf_is=
p =3D -698319852, tf_ebx =3D -1009357536, tf_edx =3D 0, tf_ecx =3D -1006848=
832, tf_eax =3D 0, tf_trapno =3D 12, tf_err =3D 2, tf_eip =3D -1071862978, =
tf_cs =3D 8, tf_eflags =3D 66118, tf_esp =3D -1054893920, tf_ss =3D 0}) at =
/usr/src/sys/i386/i386/trap.c:256
#5  0xc02f3668 in calltrap () at {standard input}:96
#6  0xc01cc73f in mi_switch () at /usr/src/sys/kern/kern_synch.c:524
#7  0xc01cbe23 in msleep (ident=3D0xc0370960, mtx=3D0x0, priority=3D160, wm=
esg=3D0x0,=20
    timo=3D10) at /usr/src/sys/kern/kern_synch.c:259
#8  0xc0167d61 in random_kthread (arg=3D0x0)
    at /usr/src/sys/dev/random/randomdev.c:330
#9  0xc01ad780 in fork_exit (callout=3D0xc0167cf0 <random_kthread>, arg=3D0=
x0,=20
    frame=3D0x0) at /usr/src/sys/kern/kern_fork.c:794
(kgdb) quit
# exit

Script done on Thu Jul  3 23:12:37 2003

--Nq2Wo0NMKNjxTN9z--

--DKU6Jbt7q3WqK7+M
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)

iD8DBQE/BJ6/bWe1Cy11WVsRAi3MAKDhOvrAFy/Hup8XgObWyqn2S+6WtwCeMkfP
5/9ok3s2FhReMqsbIFe5nx0=
=SBZp
-----END PGP SIGNATURE-----

--DKU6Jbt7q3WqK7+M--



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