Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2005 10:07:29 +0400
From:      Alex Pivovarov <apivovarov@gmail.com>
To:        freebsd-hackers@freebsd.org
Subject:   Backtrace (Computer reboots after printing CUPS test page on HP LaserJet 1010 USB)
Message-ID:  <426b510c0510192307i6bdfe39ek725315a2bc143f44@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
#Description
After printing CUPS test page from "lynx localhost:631" I get an error
described below and my computer halts. I get this error quite regulary
after printing smth through CUPS (not always but aprox. 50/50).
---------------------------------------------------------------------------=
------
#uname
st1# uname -a

FreeBSD st1.fqdn 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Wed Oct 19
20:52:56 MSD 2005     root@st1.fqdn:/usr/src/sys/i386/compile/st1deb=20
i386
---------------------------------------------------------------------------=
------
#backtrace
st1# kgdb kernel.debug.4 vmcore.4

[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 ar=
e
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-marcel-freebsd".
#0  doadump () at pcpu.h:159
159=09pcpu.h: No such file or directory.
=09in pcpu.h
(kgdb) where
#0  doadump () at pcpu.h:159
#1  0xc0501662 in boot (howto=3D260) at ../../../kern/kern_shutdown.c:410
#2  0xc0501928 in panic (fmt=3D0xc067a977 "from debugger")
    at ../../../kern/kern_shutdown.c:566
#3  0xc045fd91 in db_panic (addr=3D-1068810355, have_addr=3D0, count=3D-1,
    modif=3D0xd5221acc "") at ../../../ddb/db_command.c:435
#4  0xc045fd28 in db_command (last_cmdp=3D0xc06d3584, cmd_table=3D0x0,
    aux_cmd_tablep=3D0xc06a2c34, aux_cmd_tablep_end=3D0xc06a2c38)
    at ../../../ddb/db_command.c:349
#5  0xc045fdf0 in db_command_loop () at ../../../ddb/db_command.c:455
#6  0xc0461985 in db_trap (type=3D12, code=3D0) at ../../../ddb/db_main.c:2=
21
#7  0xc0518cca in kdb_trap (type=3D12, code=3D0, tf=3D0xd5221c5c)
    at ../../../kern/subr_kdb.c:468
#8  0xc0653fc9 in trap_fatal (frame=3D0xd5221c5c, eva=3D0)
    at ../../../i386/i386/trap.c:812
#9  0xc0653d4f in trap_pfault (frame=3D0xd5221c5c, usermode=3D0, eva=3D0)
    at ../../../i386/i386/trap.c:735
#10 0xc065396d in trap (frame=3D
      {tf_fs =3D 24, tf_es =3D 16, tf_ds =3D 16, tf_edi =3D -1068836304,
tf_esi =3D -1050102144, tf_ebp =3D -719184740, tf_isp =3D -719184760, tf_eb=
x
=3D -1050102144, tf_edx =3D 0, tf_ecx =3D -1050102096, tf_eax =3D 0, tf_tra=
pno
=3D 12, tf_err =3D 2, tf_eip =3D -1068810355, tf_cs =3D 8, tf_eflags =3D 66=
118,
tf_esp =3D -719184696, tf_ss =3D -1068836258})
    at ../../../i386/i386/trap.c:425
#11 0xc064416a in calltrap () at ../../../i386/i386/exception.s:140
#12 0x00000018 in ?? ()
#13 0x00000010 in ?? ()
#14 0x00000010 in ?? ()
#15 0xc04ada30 in ulpt_read_cb () at ../../../dev/usb/ulpt.c:822
#16 0xc04ada5e in ulpt_tick (xsc=3D0x10246) at ../../../dev/usb/ulpt.c:835
#17 0xc050d4de in softclock (dummy=3D0x0) at ../../../kern/kern_timeout.c:2=
79
#18 0xc04ed98d in ithread_loop (arg=3D0xc15de280)
    at ../../../kern/kern_intr.c:547
#19 0xc04ecc20 in fork_exit (callout=3D0xc04ed83c <ithread_loop>,
    arg=3D0xc15de280, frame=3D0xd5221d48) at ../../../kern/kern_fork.c:791
#20 0xc06441cc in fork_trampoline () at ../../../i386/i386/exception.s:209
(kgdb) Quit



#Fatal trap
----------------------------------------------------------
Fatal trap 12: page fault while in kernel mode
fault virtual adress    =3D 0x0
fault code              =3D supervisor write, page not present
instruction pointer     =3D 0x8:0xc05b5df9
stack pointer           =3D 0x10:0xe33a5c9c
frame pointer           =3D 0x10:0xe33a5c9c
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 28 (swi5: clock sio)
trap number             =3D 12
panic: page fault
Uptime: 1m5s
-----------------------------------------------------------------

or this one

-----------------------------------------------------------------
Fatal trap 12: page fault while in kernel mode
fault virtual adress    =3D 0x0
fault code              =3D supervisor write, page not present
instruction pointer     =3D 0x8:0xc05b5df9
stack pointer           =3D 0x10:0xe4de6c9c
frame pointer           =3D 0x10:0xe4de6c9c
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 36 (swi5: clock sio)
trap number             =3D 12
panic: page fault
Uptime: 2m59s
------------------------------------------------------------------

#Comp configuration:

soft:
FreeBSD 5.4-RELEASE #2
Kernel: GENERIC
cups-1.1.23.0
cups-base-1.1.23.0_4
cups-lpr-1.1.23.0
cups-pstoraster-8.15
ghostscript-gnu-7.07_13
ghostview-1.5
gsfonts-8.11_2

hardware:
CPU: AMD Athlon(tm) XP 1800+ (1531.03-MHz 686-class CPU) (not overclocked)
Chipset: nVidia nForce 2
RAM: 512MB DDR400 (checked by memtest86 v.3.2 - no errors)
Printer: HP LaserJet 1010 USB



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