Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 Apr 2003 06:23:43 -0500
From:      Larry Rosenman <ler@lerctr.org>
To:        "M. Warner Losh" <imp@bsdimp.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Integer Exception/5-CURRENT/cbb related
Message-ID:  <3000000.1049628223@lerlaptop.lerctr.org>
In-Reply-To: <2150000.1049627271@lerlaptop.lerctr.org>
References:  <Pine.UW2.4.53.0304041158580.4232@lerami.lerctr.org> <9400000.1049488982@lerlaptop.iadfw.net> <20030405.213227.60415608.imp@bsdimp.com> <2150000.1049627271@lerlaptop.lerctr.org>

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


--On Sunday, April 06, 2003 06:07:51 -0500 Larry Rosenman <ler@lerctr.org> 
wrote:

> What more can I get?
>
> I did do a list of the instruction pointer in the panic, and it's in the
> cbb driver, on a bus_space_read(IIRC), of 4 bytes, I can get whatever
> you'd like, or put the kernel/vmcore/whatever up.
>
Here is the list I was refering to:

Script started on Sun Apr  6 06:18:00 2003
lerlaptop# gdb -k kernel.1 vmcore.2

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 
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 "i386-undermydesk-freebsd"...
panic: integer divide fault
panic messages:
---
Fatal trap 18: integer divide fault while in kernel mode
instruction pointer	= 0x8:0xc0193d12
stack pointer	        = 0x10:0xd63cecc0
frame pointer	        = 0x10:0xd63cece0
code segment		= base 0x0, limit 0xfffff, type 0x1b
			= DPL 0, pres 1, def32 1, gran 1
processor eflags	= interrupt enabled, IOPL = 0
current process		= 23 (irq11: cbb0 cbb1+++)
trap number		= 18
panic: integer divide fault

syncing disks, buffers remaining... 3541 3537 3537 3537 3537 3537 3537 3537 
3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537 3537
giving up on 1817 buffers
Uptime: 6m0s
Dumping 503 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/LERLAPTOP/modules/usr/src/sys/modules/acpi/acpi.ko.deb
ug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/LERLAPTOP/modules/usr/src/sys/modules/acpi/acpi.ko.deb
ug
Reading symbols from 
/usr/obj/usr/src/sys/LERLAPTOP/modules/usr/src/sys/modules/linux/linux.ko.d
ebug...done.
Loaded symbols for 
/usr/obj/usr/src/sys/LERLAPTOP/modules/usr/src/sys/modules/linux/linux.ko.d
ebug
#0  doadump () at /usr/src/sys/kern/kern_shutdown.c:239
239		dumping++;
(kgdb) l *0xc0193d12
0xc0193d12 is in cbb_intr (/usr/src/sys/dev/pccbb/pccbb.c:277).
272		bus_space_write_4(sc->bst, sc->bsh, reg, val);
273	}
274	
275	static __inline uint32_t
276	cbb_get(struct cbb_softc *sc, uint32_t reg)
277	{
278		return (bus_space_read_4(sc->bst, sc->bsh, reg));
279	}
280	
281	static __inline void
(kgdb) print *sc
No symbol "sc" in current context.
(kgdb) lerlaptop# ^D??exit

Script done on Sun Apr  6 06:19:04 2003

> LER
>
> --On Saturday, April 05, 2003 21:32:27 -0700 "M. Warner Losh"
> <imp@bsdimp.com> wrote:
>
>> In message: <9400000.1049488982@lerlaptop.iadfw.net>
>>             Larry Rosenman <ler@lerctr.org> writes:
>> :     at /usr/src/sys/kern/kern_intr.c:536
>>
>>    536                                  if ((ih->ih_flags & IH_MPSAFE) ==
>> 0)
>>
>> This is very odd.  It doesn't make any sense.
>>
>> Warner
>
>
>
> --
> Larry Rosenman                     http://www.lerctr.org/~ler
> Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
> US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
>
>
>
> _______________________________________________
> freebsd-current@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
>



-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749





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