Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2003 20:11:22 +0100 (CET)
From:      Charlie Root <root@eugene.ath.cx>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   i386/47412: fdisk core dumps (gdb) with gbde disc
Message-ID:  <200301231911.h0NJBMBL012658@eugene.ath.cx>

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

>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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,MMX>
real memory  = 301989888 (288 MB)
avail memory = 289304576 (275 MB)
Initializing GEOMetry subsystem
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
Using $PIR table, 7 entries at 0xc00fdeb0
pcib0: <Intel 82443LX (440 LX) host to PCI bridge> at pcibus 0 on motherboard
pci0: <PCI bus> on pcib0
agp0: <Intel 82443LX (440 LX) host to PCI bridge> mem 0xe0000000-0xe3ffffff at device 0.0 on pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pci0: <serial bus, USB> at device 7.2 (no driver attached)
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xd400-0xd4ff mem 0xe9001000-0xe90010ff irq 10 at device 14.0
 on pci0
vr0: Ethernet address: 00:50:ba:1d:79:86
miibus0: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm0: <Creative EMU10K1> port 0xd800-0xd81f irq 5 at device 15.0 on pci0
pci0: <network, ethernet> at device 16.0 (no driver attached)
orm0: <Option ROM> at iomem 0xc0000-0xc7fff on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on isa
0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0303> can't assign resources (port)
unknown: <PNP0a03> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0700> can't assign resources (port)
Timecounters tick every 10.000 msec
ad0: DMA limited to UDMA33, non-ATA66 cable or device
ad0: 14649MB <IBM-DTLA-307015> [29765/16/63] at ata0-master UDMA33
ad1: 1223MB <ST51270A> [2485/16/63] at ata0-slave WDMA2
Mounting root from ufs:/dev/ad0s2a

>How-To-Repeat:

repeats everytime i try fdisk...

btw: /stand/sysinstall only works if i DIT NOT attach a gbde drive...

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:
 fdisk core dumps (gdb) with gbde disc
 From: Charlie & <root>
 Reply-To: Charlie & <root>
 Cc:
 X-send-pr-version: 3.113
 X-GNATS-Notify:
 
 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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