sparc64/72962: [sysinstall] Sysinstall panics on sparc64
if/dev/cd0 present
Andrew Belashov
bel at orel.ru
Tue Oct 26 03:10:36 PDT 2004
The following reply was made to PR sparc64/72962; it has been noted by GNATS.
From: Andrew Belashov <bel at orel.ru>
To: freebsd-gnats-submit at FreeBSD.org
Cc: Ken Smith <kensmith at cse.Buffalo.EDU>
Subject: Re: sparc64/72962: [sysinstall] Sysinstall panics on sparc64 if /dev/cd0
present
Date: Tue, 26 Oct 2004 14:03:56 +0400
The additional debug information: backtrace, local variables.
root at jail# uname -a
FreeBSD jail.localdomain 5.3-BETA7 FreeBSD 5.3-BETA7 #11: Thu Oct 14
13:02:53 MSD 2004 bel at bel.localdomain:/usr/obj/usr/src/sys/SUNC3D sparc64
root at jail# gdb sysinstall
GNU gdb 6.1.1 [FreeBSD]
[...]
This GDB was configured as "sparc64-marcel-freebsd"...
(gdb) b open_disk.c:270
Breakpoint 1 at 0x1241f0: file /usr/src/lib/libdisk/open_disk.c, line 270.
(gdb) run
[...]
Breakpoint 1, Int_Open_Disk (name=0x2726e0 "cd0", conftxt=0x27e81c "0")
at /usr/src/lib/libdisk/open_disk.c:270
270 if ((hd * sc) == 0)
(gdb) p d[0].chunks[0]
$1 = {next = 0x0, part = 0x296280, disk = 0x296180, offset = 0, size = 0,
end = -1, sname = 0x2727a0 "-", name = 0x2732b0 "cd0", oname = 0x0,
type = whole, subtype = 0, flags = 0, private_free = 0, private_clone = 0,
private_data = 0x0}
(gdb) bt full
#0 Int_Open_Disk (name=0x2726e0 "cd0", conftxt=0x27e81c "0")
at /usr/src/lib/libdisk/open_disk.c:270
d = (struct disk *) 0x296180
i = 0
p = 0x27e81e "DISK da0 36420075008 512 hd 255 sc 63"
q = 0x27e844 "1 SUN da0g 23126791680 512 i 6 o 13290324480 sc 107 hd 27 alt 2\n
1 SUN da0f 10738759680 512 i 5 o 2551564800 sc 107 hd 27 alt 2\n
1 SUN da0e 1073875968 512 i 4 o 1477688832 sc 107 hd 27 alt 2\n
1 SUN da0d "...
r = 0x27e81b ""
a = 0x27e81c "0"
b = 0x27e81a "0"
n = 0x0
t = 0x143000 "-8s %-16s %-8s 0x%02x %s"
sn = 0x0
o = 0
len = 0
off = 1084322560
l = 320
s = 2048
ty = 3
sc = 0
hd = 0
alt = 0
lo = {0, 0, 0, 0, -1, 8787503075792, 8787503079264, 1082666696, 3, 0}
#1 0x0000000000121438 in Open_Disk (name=0x2726e0 "cd0")
at /usr/src/lib/libdisk/disk.c:102
conftxt = 0x27e800 "0"
txtsize = 486
#2 0x00000000001081b8 in deviceGetAll ()
at /usr/src/usr.sbin/sysinstall/devices.c:460
c1 = (Chunk *) 0x2726e0
d = (Disk *) 0x0
i = 0
i = 71
j = 0
fd = 2565856
s = 0
ifc = {ifc_len = 64, ifc_ifcu = {ifcu_buf = 0x7fdffffe360 "hme0",
ifcu_req = 0x7fdffffe360}}
ifptr = (struct ifreq *) 0x2726e0
end = (struct ifreq *) 0x7fdffffdf60
buffer = "hme0\000\000\002f\000\000\000\000\000\000\002f\020\002\000\000??ca\000
\000\000\000\000\000\000\000lo0\000\000\000\002f\000\000\000\000\000\000\002f",
'\0' <repeats 18 times>, "\a?????", '\0' <repeats 45 times>, "&?\000\000\000\000\000\000
\000\000=\000\000\000\000\000\000\000\004\000\000\000\000@\204??", '\0' <repeats 15 times>,
" \000\000\a????A\000\000\000\000@\204?x\000\000\000
\000@'\004\000\000\000\000\000@'\006\000\000\000\000\000@'\b\000\000\000\000\000\000\000
\0017\000\000\000T\000\000\022\000\000\000\000\000@'\n\000\000\000\000\000\000\000\000
\003\000\000\000\000\000&?\000\000\000\000\000@\204?d"...
names = (char **) 0x27e600
#3 0x00000000001144fc in main (argc=1, argv=0x7fdffffec18)
at /usr/src/usr.sbin/sysinstall/main.c:130
choice = 0
scroll = 0
curr = 0
max = 0
status = -6112
(gdb)
More information about the freebsd-sparc64
mailing list