Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Mar 2009 12:15:15 +0100
From:      spara <spara@online.fr>
To:        freebsd-stable@freebsd.org
Subject:   Re: Page fault panic in scioctl and console-kit-daemon
Message-ID:  <DB49F4B8-9E0E-4219-BB58-04F6644D10A5@online.fr>

next in thread | raw e-mail | index | archive | help
Hello,
I'm experiencing the same =
(http://www.mail-archive.com/freebsd-stable@freebsd.org/msg101997.html=20=

) after updating to last hald in 6.4-STABLE.
Anyone tried to fix it with the Kostik Belousov patch as in =
http://lists.freebsd.org/pipermail/freebsd-current/2008-January/082581.htm=
l=20
  ?
Any other fix ?

cheers
---------------original message-----------------
Hello everybody, I'm reporting a problem that looks _very_ similar to =20=

one reported on freebsd-current@ last year, by Pawel Worach: =
http://lists.freebsd.org/pipermail/freebsd-current/2008-January/082581.htm=
l=20
  My system is a 6.4-STABLE, with up-to-date /usr/src and /usr/ports: =20=

$ uname -a FreeBSD diavoletto 6.4-STABLE FreeBSD 6.4-STABLE #19: Mon =20
Feb 16 12:01:24 CET 2009 r...@diavoletto:/usr/obj/usr/src/sys/GENERIC =20=

i386 In /etc/rc.conf I have the following lines: > dbus_enable=3D"YES" > =
=20
hald_enable=3D"YES" Every time dbus is started, if consolekit-0.3.0 is =20=

installed then a page fault occurs just after the login screen is =20
shown. If I "make deinstall" the port in single-user-mode, then the =20
system boots and works fine. If I boot with consolekit uninstalled, =20
then install it and restart dbus, I get a panic. I'm reporting here =20
the same information that Pawel Worach reported last year for his =20
problem. Please tell me if I can provide any more information; this is =20=

my very first problem report here! =20
----8=20
<--------8<--------8<--------8<--------8<--------8<--------8<--------- =20=

Script started on Fri Feb 20 12:47:10 2009 # cd /usr/obj/usr/src/sys/=20
GENERIC # kgdb kernel.debug /var/crash/vmcore.0 GNU gdb 6.1.1 =20
[FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free =20
software, covered by the GNU General Public License, and you are =20
welcome to change it and/or distribute copies of it under certain =20
conditions. Type "show copying" to see the conditions. There is =20
absolutely no warranty for GDB. Type "show warranty" for details. This =20=

GDB was configured as "i386-marcel-freebsd"... Unread portion of the =20
kernel message buffer:   Fatal trap 12: page fault while in kernel =20
mode fault virtual address =3D 0x4 fault code =3D supervisor read, page =20=

not present instruction pointer =3D 0x20:0xc09dfaef stack pointer =3D =20=

0x28:0xe85a8bf8 frame pointer =3D 0x28:0xe85a8c40 code segment =3D base =20=

0x0, limit 0xfffff, type 0x1b =3D DPL 0, pres 1, def32 1, gran 1 =20
processor eflags =3D interrupt enabled, resume, IOPL =3D 0 current =
process =20
=3D 14500 (console-kit-daemon) trap number =3D 12 panic: page fault =20
Uptime: 30m41s Dumping 1471 MB (2 chunks) chunk 0: 1MB (155 pages) ... =20=

ok chunk 1: 1471MB (376496 pages) (CTRL-C to abort) 1455 1439 1423 =20
1407 (CTRL-C to abort) 1391 1375 1359 1343 1327 1311 1295 1279 1263 =20
1247 1231 1215 1199 1183 1167 1151 1135 1119 1103 1087 1071 1055 1039 =20=

1023 1007 991 975 959 943 927 911 895 879 863 847 831 815 799 783 767 =20=

751 735 719 703 687 671 655 639 623 607 591 575 559 543 527 511 495 =20
479 463 447 431 415 399 383 367 351 335 319 303 287 271 255 239 223 =20
207 191 175 159 143 127 111 95 79 63 47 31 15 Reading symbols from /=20
boot/kernel/linux.ko...done. Loaded symbols for /boot/kernel/linux.ko =20=

Reading symbols from /boot/kernel/snd_hda.ko...done. Loaded symbols =20
for /boot/kernel/snd_hda.ko Reading symbols from /boot/kernel/=20
sound.ko...done. Loaded symbols for /boot/kernel/sound.ko Reading =20
symbols from /boot/kernel/acpi.ko...done. Loaded symbols for /boot/=20
kernel/acpi.ko Reading symbols from /usr/local/modules/fuse.ko...done. =20=

Loaded symbols for /usr/local/modules/fuse.ko Reading symbols from /=20
boot/kernel/green_saver.ko...done. Loaded symbols for /boot/kernel/=20
green_saver.ko #0 doadump () at pcpu.h:165 165 __asm __volatile("movl %=20=

%fs:0,%0" : "=3Dr" (td)); (kgdb) backtrace #0 doadump () at pcpu.h:165 =20=

#1 0xc072b274 in boot (howto=3D260) at =
/usr/src/sys/kern/kern_shutdown.c:=20
410 #2 0xc072b5a6 in panic (fmt=3D0xc0a66e6f "%s") at /usr/src/sys/kern/=20=

kern_shutdown.c:566 #3 0xc0a02f2c in trap_fatal (frame=3D0xe85a8bb8, =20
eva=3D0) at /usr/src/sys/i386/i386/trap.c:838 #4 0xc0a02c32 in =20
trap_pfault (frame=3D0xe85a8bb8, usermode=3D0, eva=3D4) at =
/usr/src/sys/i386/=20
i386/trap.c:745 #5 0xc0a027e2 in trap (frame=3D {tf_fs =3D 8, tf_es =3D =
40, =20
tf_ds =3D 40, tf_edi =3D 9, tf_esi =3D -977926144, tf_ebp =3D =
-396719040, =20
tf_isp =3D -396719132, tf_ebx =3D -1061927328, tf_edx =3D -978051584, =
tf_ecx =20
=3D 2000, tf_eax =3D 0, tf_trapno =3D 12, tf_err =3D 0, tf_eip =3D =
-1063388433, =20
tf_cs =3D 32, tf_eflags =3D 66182, tf_esp =3D -978051584, tf_ss =3D =20
-977926144}) at /usr/src/sys/i386/i386/trap.c:435 #6  0xc09ec99a in =20
calltrap () at /usr/src/sys/i386/i386/exception.s:139 #7 0xc09dfaef in =20=

scioctl (dev=3D0xc5b63200, cmd=3D9, data=3D0xe85a8cbc "\n", flag=3D1, =20=

td=3D0xc6416900) at /usr/src/sys/dev/syscons/syscons.c:1060 #8 =20
0xc06f489c in giant_ioctl (dev=3D0xc5b63200, cmd=3D0, data=3D0x0, =
fflag=3D0, =20
td=3D0x0) at /usr/src/sys/kern/kern_conf.c:330 #9 0xc06c8f19 in =20
devfs_ioctl_f (fp=3D0xc60fdc60, com=3D537163270, data=3D0xe85a8cbc, =20
cred=3D0xc7845280, td=3D0xc6416900) at =
/usr/src/sys/fs/devfs/devfs_vnops.c:=20
480 #10 0xc0755007 in ioctl (td=3D0xc6416900, uap=3D0xe85a8d04) at =
file.h:=20
265 #11 0xc0a03302 in syscall (frame=3D ---Type <return> to continue, or =
=20
q <return> to quit--- {tf_fs =3D 59, tf_es =3D 59, tf_ds =3D 59, tf_edi =
=3D =20
10, tf_esi =3D 134714152, tf_ebp =3D -1081716952, tf_isp =3D -396718748, =
=20
tf_ebx =3D 134627884, tf_edx =3D 135049216, tf_ecx =3D -1, tf_eax =3D =
54, =20
tf_trapno =3D 12, tf_err =3D 2, tf_eip =3D 675581607, tf_cs =3D 51, =
tf_eflags =20
=3D 642, tf_esp =3D -1081717012, tf_ss =3D 59}) at =
/usr/src/sys/i386/i386/=20
trap.c:984 #12 0xc09ec9ef in Xint0x80_syscall () at /usr/src/sys/i386/=20=

i386/exception.s:200 #13 0x00000033 in ?? () Previous frame inner to =20
this frame (corrupt stack?) (kgdb) frame 7 #7 0xc09dfaef in scioctl =20
(dev=3D0xc5b63200, cmd=3D9, data=3D0xe85a8cbc "\n", flag=3D1, =
td=3D0xc6416900) =20
at /usr/src/sys/dev/syscons/syscons.c:1060 1060 scp =3D =20
sc_get_stat(SC_DEV(sc, i)); (kgdb) print sc $1 =3D (sc_softc_t *) =20
0xc0ba20c0 (kgdb) print *sc $2 =3D {unit =3D 0, config =3D 768, flags =3D =
=20
196608, keyboard =3D 1, kbd =3D 0xc59fc700, adapter =3D 0, adp =3D =
0xc0b7e3a0, =20
initial_mode =3D 24, first_vty =3D 0, vtys =3D 16, dev =3D 0xc0b9a440, =
cur_scp =20
=3D 0xc0b9a300, new_scp =3D 0xc0b9a300, old_scp =3D 0xc0b9a300, =20
delayed_next_scr =3D 0, font_loading_in_progress =3D 0 '\0', =20
switch_in_progress =3D 0 '\0', videoio_in_progress =3D 0 '\0', =20
write_in_progress =3D 0 '\0', blink_in_progress =3D 0 '\0', =20
scrn_time_stamp =3D 1841, dflt_curs_attr =3D { flags =3D 0, base =3D 1, =
height =20
=3D 2}, curs_attr =3D {flags =3D 0, base =3D 1, height =3D 2}, scr_map =3D=
 =20
"\000\001\002\003\004\005\006\a\b\t\n\v\f\r=20
\016=20
\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037 !=20=

\"#$%&'()*+,-./0123456789:;<=3D>?...@abcdefghijklmnopqrstuvwxyz[\=20
\]^_`abcdefghijklmnopqrstuvwxyz{|}~=20
\177=20
\200=20
\201=20
\202=20
\203=20
\204=20
\205=20
\206=20
\207=20
\210=20
\211=20
\212=20
\213=20
\214=20
\215=20
\216=20
\217\220\221\222\223\224\225\226\227\230\231\232\233\234\235\236\237 =A1=A2=
=20
=A3=A4=A5=A6=A7=A8=A9=AA=AB=AC =AE=AF=B0=B1=B2=B3=B4=B5=B6=B7=B8=B9=BA=BB=BC=
=BD=BE=BF=C0=C1=C2=C3=C4=C5=C6=C7"..., scr_rmap =3D =20
"\000\001\002\003\004\005\006\a\b\t\n\v\f\r=20
\016=20
\017\020\021\022\023\024\025\026\027\030\031\032\033\034\035\036\037 !=20=

\"#$%&'()*+,-./0123456789:;<=3D>?...@abcdefghijklmnopqrstuvwxyz[\=20
\]^_`abcdefghijklmnopqrstuvwxyz{|}~=20
\177=20
\200=20
\201=20
\202=20
\203=20
\204=20
\205=20
\206=20
\207=20
\210=20
\211=20
\212=20
\213=20
\214=20
\215=20
\216=20
\217\220\221\222\223\224\225\226\227\230\231\232\233\234\235\236\237 =A1=A2=
=20
=A3=A4=A5=A6=A7=A8=A9=AA=AB=AC =AE=AF=B0=B1=B2=B3=B4=B5=B6=B7=B8=B9=BA=BB=BC=
=BD=BE=BF=C0=C1=C2=C3=C4=C5=C6=C7"..., palette =3D =20
"\000\000\000\000\000=A8\000=A8\000\000=A8=A8=A8\000\000=A8\000=A8=A8=A8\0=
00=A8=A8=A8\000\000T=20
\000\000=FC\000=A8T\000=A8=FC=A8\000T=A8\000=FC=A8=A8T=A8=A8=FC\000T\000\0=
00T=A8\000=FC\000\000=FC=A8=A8T=20
\000=A8T=A8=A8=FC\000=A8=FC=A8\000TT\000T=FC\000=FCT\000=FC=FC=A8TT=A8T=FC=
=A8=FCT=A8=FC=FCT\000\000T\000=A8T=A8=20
\000T=A8=A8=FC\000\00---Type <return> to continue, or q <return> to =
quit--- =20
0=FC\000=A8=FC=A8\000=FC=A8=A8T\000TT\000=FCT=A8TT=A8=FC=FC\000T=FC\000=FC=
=FC=A8T=FC=A8=FCTT\000TT=A8T=FC=20
\000T=FC=A8=FCT\000=FCT=A8=FC=FC\000=FC=FC=A8TTTTT=FCT=FCTT=FC=FC=FCTT=FCT=
=FC=FC=FCT=FC=FC=FC=FC||=FC\234|=FC=BC"..., =20
fonts_loaded =3D 8, font_8 =3D 0xc0b97ce0 "", font_14 =3D 0xc0b984e0 "", =
=20
font_16 =3D 0xc0b992e0 "", font_22 =3D 0x0, cursor_char =3D 7 '\a', =20
mouse_char =3D 208 '=D0'} (kgdb) list 1055 s =3D spltty(); 1056 error =3D =
=20
sc_clean_up(sc->cur_scp); 1057 splx(s); 1058 if (error) 1059 return =20
error; 1060 scp =3D sc_get_stat(SC_DEV(sc, i)); 1061 if (scp =3D=3D =
scp->sc-=20
 >cur_scp) 1062 return 0; 1063 error =3D tsleep(&scp->smode, PZERO | =20
PCATCH, "waitvt", 0); 1064 return error; (kgdb) print i $3 =3D 9 (kgdb) =20=

print sc->dev $4 =3D (struct cdev **) 0xc0b9a440 (kgdb) print *sc->dev =20=

$5 =3D (struct cdev *) 0xc5b52100 (kgdb) print **sc->dev $6 =3D {si_priv =
=3D =20
0xc5b52100, si_flags =3D 4, si_atime =3D {tv_sec =3D 1235125168, tv_nsec =
=3D =20
0}, si_ctime =3D {tv_sec =3D 1235125168, tv_nsec =3D 0}, si_mtime =3D { =
tv_sec =20
=3D 1235125168, tv_nsec =3D 0}, si_uid =3D 0, si_gid =3D 0, si_mode =3D =
384, =20
si_cred =3D 0x0, si_drv0 =3D 0, si_refcount =3D 2, si_list =3D {le_next =
=3D 0x0, =20
le_prev =3D 0xc5b52238}, si_clone =3D {le_next =3D 0x0, le_prev =3D =
0x0}, =20
si_children =3D {lh_first =3D 0x0}, si_siblings =3D {le_next =3D 0x0, =
le_prev =20
=3D 0x0}, si_parent =3D 0x0, si_name =3D 0xc5b52178 "ttyv0", si_drv1 =3D =
=20
0xc0b9a300, si_drv2 =3D 0x0, si_devsw =3D 0xc0b44660, si_iosize_max =3D =20=

65536, si_usecount =3D 2, si_threadcount =3D 2, __si_u =3D { __sit_tty =3D=
 =20
0xc5b58400, __sid_snapdata =3D 0xc5b58400},    __si_namebuf =3D "ttyv0", =
=20
'\0' <repeats 58 times>} (kgdb) print sc->first_vty $7 =3D 0 (kgdb) =20
----8=20
<--------8<--------8<--------8<--------8<--------8<--------8<--------- =20=

-- rigo http://rigo.altervista.org=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DB49F4B8-9E0E-4219-BB58-04F6644D10A5>