From owner-freebsd-bugs Thu Jan 23 11:10: 7 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CDC3F37B401 for ; Thu, 23 Jan 2003 11:10:02 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2F6C43F43 for ; Thu, 23 Jan 2003 11:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0NJA1NS020921 for ; Thu, 23 Jan 2003 11:10:01 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0NJA1ex020920; Thu, 23 Jan 2003 11:10:01 -0800 (PST) Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C25D37B401 for ; Thu, 23 Jan 2003 11:08:20 -0800 (PST) Received: from eugene.ath.cx (pD950BC12.dip.t-dialin.net [217.80.188.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0101E43E4A for ; Thu, 23 Jan 2003 11:08:19 -0800 (PST) (envelope-from root@eugene.ath.cx) Received: from eugene.ath.cx (smmsp@localhost [127.0.0.1]) by eugene.ath.cx (8.12.6/8.12.5) with ESMTP id h0NJBN0n012659 for ; Thu, 23 Jan 2003 20:11:23 +0100 (CET) (envelope-from root@eugene.ath.cx) Received: (from root@localhost) by eugene.ath.cx (8.12.6/8.12.5/Submit) id h0NJBMBL012658; Thu, 23 Jan 2003 20:11:22 +0100 (CET) Message-Id: <200301231911.h0NJBMBL012658@eugene.ath.cx> Date: Thu, 23 Jan 2003 20:11:22 +0100 (CET) From: Charlie Root To: FreeBSD-gnats-submit@FreeBSD.org Subject: i386/47412: fdisk core dumps (gdb) with gbde disc Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 47412 >Category: i386 >Synopsis: fdisk core dumps (gdb) with gbde disc >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 23 11:10:01 PST 2003 >Closed-Date: >Last-Modified: >Originator: Charlie & >Release: FreeBSD 5.0-RELEASE i386 >Organization: >Environment: System: FreeBSD astarte.localnet 5.0-RELEASE FreeBSD 5.0-RELEASE #0: Wed Jan 22 01:13:18 CET 2003 root@ast arte.localnet:/usr/obj/usr/src/sys/ASTARTE i386 >Description: astarte# gdb fdisk fdisk.core 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"... Core was generated by `fdisk'. Program terminated with signal 8, Arithmetic exception. #0 0x0804a86d in __divdi3 () (gdb) bt full #0 0x0804a86d in __divdi3 () No symbol table info available. #1 0x0804a74a in __divdi3 () No symbol table info available. #2 0x080495e2 in get_params () at fdisk.c:797 error = 1 u = 512 o = 1243627520 #3 0x08049243 in open_disk (flag=0) at fdisk.c:733 st = {st_dev = 16842496, st_ino = 86, st_mode = 8608, st_nlink = 1, st_uid = 0, st_gid = 5, st_rdev = 1040, st_atimespec = {tv_sec = 1043287750, tv_nsec = 817712000}, st_mtimespec = { tv_sec = 1043287750, tv_nsec = 817712000}, st_ctimespec = {tv_sec = 1043287750, tv_nsec = 817712000}, st_size = 0, st_blocks = 0, st_blksize = 4096, st_flags = 0, st_gen = 0, st_lspare = 0, st_birthtimespec = {tv_sec = -1, tv_nsec = -1}} rwmode = 0 p = 0 s = 0x0 #4 0x08048339 in main (argc=0, argv=0x0) at fdisk.c:316 sb = {st_dev = 0, st_ino = 0, st_mode = 0, st_nlink = 0, st_uid = 0, st_gid = 0, st_rdev = 0, st_atimespec = {tv_sec = 0, tv_nsec = 0}, st_mtimespec = {tv_sec = 0, tv_nsec = 0}, st_ctimespec = { tv_sec = 0, tv_nsec = 0}, st_size = 0, st_blocks = 0, st_blksize = 0, st_flags = 0, st_gen = 0, st_lspare = 0, st_birthtimespec = {tv_sec = 0, tv_nsec = 0}} c = 1 i = 0 partition = -1 partp = (struct dos_partition *) 0x0 #5 0x08048135 in _start () No symbol table info available. (gdb) quit astarte# ---- dmesg follows: Copyright (c) 1992-2003 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 5.0-RELEASE #0: Wed Jan 22 01:13:18 CET 2003 root@astarte.localnet:/usr/obj/usr/src/sys/ASTARTE Preloaded elf kernel "/boot/kernel/kernel" at 0xc03bc000. Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 274910603 Hz CPU: Pentium II/Pentium II Xeon/Celeron (274.91-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x634 Stepping = 4 Features=0x80f9ff real memory = 301989888 (288 MB) avail memory = 289304576 (275 MB) Initializing GEOMetry subsystem Pentium Pro MTRR support enabled npx0: on motherboard npx0: INT 16 interface Using $PIR table, 7 entries at 0xc00fdeb0 pcib0: at pcibus 0 on motherboard pci0: on pcib0 agp0: mem 0xe0000000-0xe3ffffff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at device 7.2 (no driver attached) pci0: at device 7.3 (no driver attached) vr0: port 0xd400-0xd4ff mem 0xe9001000-0xe90010ff irq 10 at device 14.0 on pci0 vr0: Ethernet address: 00:50:ba:1d:79:86 miibus0: on vr0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcm0: port 0xd800-0xd81f irq 5 at device 15.0 on pci0 pci0: at device 16.0 (no driver attached) orm0: