bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: grub segfaulting


From: Barry deFreese
Subject: Re: grub segfaulting
Date: Mon, 01 Jun 2009 10:52:55 -0400
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

Samuel Thibault wrote:
Barry deFreese, le Sun 31 May 2009 10:03:32 -0400, a écrit :
Even if I run the unmodified version I get segfaults with the
following error on the console:

end_request: I/O error, dev 02:00, sector 0

Any clue on what could be causing that?

Doesn't gdb give you a backtrace?

Samuel

Yes, sorry, I meant to post this yesterday.

#0 0x0804b520 in grub_memmove (to=0x12ae480, from=0x12b5200, len=4096)
at char_io.c:1298
d0 = 2752
d1 = 19617600
d2 = 19589568
#1 0x0804cdbc in rawread (drive=128, sector=68364, byte_offset=0,
byte_len=4096, buf=0x12ae480 "") at disk_io.c:281
sector_num = 68355
length = 19152896
num_sect = 54
track = 68355
size = 4096
bufaddr = 0x12b5200 ""
slen = 8
sectors_per_vtrack = 63
sector_size_bits = <value optimized out>
#2 0x0804e2ac in devread (sector=68364, byte_offset=0, byte_len=4096,
buf=0x12ae480 "") at disk_io.c:327
No locals.
#3 0x0804e5b5 in ext2_rdfsb (fsblock=1, buffer=<value optimized out>)
at fsys_ext2fs.c:331
No locals.
#4 0x0804eb42 in ext2fs_dir (dirname=0x125ac61 "boot") at fsys_ext2fs.c:793
current_ino = 2
updir_ino = 2
str_chk = 18817012
linkbuf = "hS\026\001▒\215#\001\000@+\001Ⱥ*\001▒▒▒▒▒▒▒▒▒\215#\001g▒\000\000x9\002\000▒\205\037\001\001\000\000\000{R\026\001\000~\000\000\000~\000\000\000@+\001▒*\001▒\234\004\b\005\000\000\000\000@+\001\000~\000\000\005\000\000\0008▒*\001\005\000\000\000\000~\000\000\000~\000\000\200\000\000\000\005\000\000\0008▒*\001\211\235\004\b\005", '\0' <repeats 15 times>, "9\016\006\0018y\006\001x▒*\001▒*\004\001\r\000\000\000\000@+\0014▒*\0018▒*\001\017▒\004\b4▒*\001\000\002\000\000\000@$\001\000\000\000\000\000\002\000\000\210▒*\001▒▒\004\b4▒*\001\000@+\001\000"...
link_count = 0
rest = 0x125ac65 ""
ch = 47 '/'
loc = 0
map = <value optimized out>
dp = <value optimized out>
#5 0x0804dab4 in grub_open (filename=0x125ac60 "/boot") at disk_io.c:1649
ptr = 0xffffffff <Address 0xffffffff out of bounds>
tmp = 19578600
list_addr = <value optimized out>
#6 0x0805dfa3 in dump_func (arg=0x125ac59 "(hd0,1)/boot", flags=1)
at builtins.c:1245
to = 0x125ac72 "/tmp/grub_stage1"
fp = <value optimized out>
c = <value optimized out>
#7 0x0805e6ec in enter_cmdline (heap=0x125ac54 "dump (hd0,1)/boot", forever=1)
at cmdline.c:173
builtin = (struct builtin *) 0x80691b0
arg = 0x1 <Address 0x1 out of bounds>
#8 0x08057c4f in cmain () at stage2.c:1119
builtin = <value optimized out>
state = 195
prev_config_len = 8388608
prev_menu_len = -24968191
cmdline = 0x0
default_file = <value optimized out>
i = <value optimized out>
is_opened = <value optimized out>
#9 0x0804c2f0 in init_bios_info () at common.c:336
max_addr = <value optimized out>
cont = <value optimized out>
memtmp = <value optimized out>
addr = 19246164
drive = 129
#10 0x0804a5c3 in doit.5701 () at asmstub.c:141
env_for_exit = {{__jmpbuf = {-1, 19152904, 16928356, 16928152,
19578864, 134522260}, __mask_was_saved = 0, __saved_mask = 0}}
save_char = -1
serial_device = 0x0
serial_fd = -1
apm_bios_info = {version = 0, cseg = 0, offset = 0, cseg_16 = 0,
dseg_16 = 0, cseg_len = 0, cseg_16_len = 0, dseg_16_len = 0}
grub_scratch_mem = 0x1244000 ""
install_partition = 131072
linux_text_len = 0
ascii_key_map = {0 <repeats 129 times>}
linux_data_tmp_addr = 0x0
console_current_color = 0
boot_drive = 0
device_map = (char **) 0x80769b8
io_map = {0 <repeats 128 times>}
version_string = "0.97"
config_file = "/boot/grub/menu.lst", '\0' <repeats 108 times>
linux_data_real_addr = 0x0
bios_key_map = {0 <repeats 129 times>}
disks = (struct geometry *) 0x80751b0
saved_entryno = 0


Thanks,

Barry





reply via email to

[Prev in Thread] Current Thread [Next in Thread]