linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] lvcreate segfault in vg_setup_pointers_for_snapshots
@ 2001-10-03 15:30 Paul Jakma
  2001-10-03 18:22 ` Paul Jakma
  0 siblings, 1 reply; 32+ messages in thread
From: Paul Jakma @ 2001-10-03 15:30 UTC (permalink / raw)
  To: Linux LVM

hi,

running lvcreate consistently segfaults on me, eg:

 /lib/lvm-iop10/lvcreate -L 600M -n var_cache_lv Main_VG


#0  0x4004500b in vg_setup_pointers_for_snapshots (vg=0x8058038)
    at vg_setup_pointers_for_snapshots.c:37
37	      if ( lv_chain_ptr->lv_access & LV_SNAPSHOT_ORG) {
(gdb) bt
#0  0x4004500b in vg_setup_pointers_for_snapshots (vg=0x8058038)
    at vg_setup_pointers_for_snapshots.c:37
#1  0x40045d0d in vg_status_with_pv_and_lv (vg_name=0xbffffbe3 "Main_VG", 
    vg=0xbffff254) at vg_status_with_pv_and_lv.c:63
#2  0x0804abbd in strcpy ()
#3  0x400767c7 in __libc_start_main (main=0x8049370 <strcpy+272>, argc=6, 
    ubp_av=0xbffffaa4, init=0x8048ea8 <_init>, fini=0x804beb0 <_fini>, 
    rtld_fini=0x4000db74 <_dl_fini>, stack_end=0xbffffa9c)
    at ../sysdeps/generic/libc-start.c:129
(gdb) print *vg          
$3 = {vg_name = "Main_VG", '\000' <repeats 120 times>, vg_number = 0, 
  vg_access = 3, vg_status = 5, lv_max = 256, lv_cur = 6, lv_open = 5, 
  pv_max = 256, pv_cur = 2, pv_act = 2, dummy = 0, vgda = 0, pe_size = 8192, 
  pe_total = 3690, pe_allocated = 849, pvg_total = 0, proc = 0x0, pv = {
    0xc7c83800, 0xc7c83a00, 0x0 <repeats 255 times>}, lv = {0xc7c83c00, 
    0xc7c83e00, 0xc65e3000, 0xc65e3200, 0xc65e3400, 0xc65e3600, 
    0x0 <repeats 251 times>}, vg_uuid = "Main_VG", '\000' <repeats 25 times>, 
  dummy1 = "\000\000\000`®ÐÇ`­ÐÇ`¬ÐÇ", '\000' <repeats 184 times>}
(gdb) print *lv_chain_ptr
Cannot access memory at address 0xc7c83c00

and boom...

any fixes for this? i've tried compiling with both RH's compat-egcs 
and gcc-2.96-97 compilers, same result each time.

ta,

--paulj

^ permalink raw reply	[flat|nested] 32+ messages in thread
* Re: [linux-lvm] What have I done!?
@ 2001-10-04  7:06 tim
  0 siblings, 0 replies; 32+ messages in thread
From: tim @ 2001-10-04  7:06 UTC (permalink / raw)
  To: linux-lvm

---------- Original Message ----------------------------------
From: idsfa@visi.com
Reply-To: linux-lvm@sistina.com
Date:  Thu, 4 Oct 2001 00:44:25 -0500

>On Wed, Oct 03, 2001 at 10:54:21PM -0400, Jason A. Lixfeld wrote:
>
>> hdj: read_intr: error=0x04 { DriveStatusError }
>> hdj: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
>> hdj: read_intr: error=0x04 { DriveStatusError }
>> hdj: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
>> hdl: read_intr: error=0x04 { DriveStatusError }
>> hdl: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
>> hdl: read_intr: error=0x04 { DriveStatusError }
>> hdl: read_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
>
>Those are IDE driver errors.  Judging from the drive devices, you
>have quite a few ide controllers.  Did you compile in the drivers
>for all of them?  Some of the cards (and even some on-board chipsets)
>are NOT supported by default.  In particular, Promise & HiPoint
>cards require special kernel compile time options.
>
>What do you see in /proc/ide?
>
>Note that if you compiled the drivers as modules, those modules
>MUST be loaded BEFORE lvm is started.
>
>  Michael Kellen
>  $ fortune -m Kellen
>
>_______________________________________________
>linux-lvm mailing list
>linux-lvm@sistina.com
>http://lists.sistina.com/mailman/listinfo/linux-lvm
>read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>

So far I have no problems with Promise & HiPoint kernel drivers. Please indicate your chipset, cpu and all compiled ide drivers. This will help to see a pattern here.

-Tim.

^ permalink raw reply	[flat|nested] 32+ messages in thread

end of thread, other threads:[~2001-10-05  7:05 UTC | newest]

Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-03 15:30 [linux-lvm] lvcreate segfault in vg_setup_pointers_for_snapshots Paul Jakma
2001-10-03 18:22 ` Paul Jakma
2001-10-03 19:00   ` Paul Jakma
2001-10-03 19:12     ` svetljo
2001-10-03 19:30       ` Andreas Dilger
2001-10-03 19:40         ` svetljo
2001-10-03 19:52           ` Paul Jakma
2001-10-03 20:44             ` svetljo
2001-10-03 19:56         ` Paul Jakma
2001-10-04  0:45         ` Paul Jakma
2001-10-04  2:54           ` [linux-lvm] What have I done!? Jason A. Lixfeld
2001-10-04  3:06             ` Jason A. Lixfeld
2001-10-04  5:44             ` idsfa
2001-10-04 11:00               ` Jason A. Lixfeld
2001-10-04 11:24                 ` Jason A. Lixfeld
2001-10-04 17:33                   ` Andreas Dilger
2001-10-04 17:57                     ` Steven Lembark
2001-10-05  7:05                       ` Heinz J . Mauelshagen
2001-10-04  3:28           ` [linux-lvm] lvcreate segfault in vg_setup_pointers_for_snapshots Jason A. Lixfeld
2001-10-04  3:33             ` Andreas Dilger
2001-10-04  3:46               ` Jason A. Lixfeld
2001-10-04  6:04                 ` Andreas Dilger
2001-10-04  7:05                   ` Sean Burford
2001-10-04 10:31                   ` Paul Jakma
2001-10-04 11:05                     ` Joe Thornber
2001-10-04 14:51                       ` Paul Jakma
2001-10-04 11:38                   ` Jason A. Lixfeld
2001-10-04 14:01                     ` Jason A. Lixfeld
2001-10-04 14:23                       ` Jason A. Lixfeld
2001-10-04 15:57                         ` Jason A. Lixfeld
2001-10-04 20:12                           ` Goetz Bock
  -- strict thread matches above, loose matches on Subject: below --
2001-10-04  7:06 [linux-lvm] What have I done!? tim

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).