Chris Webb <chris@xxxxxxxxxxxx> writes: > Reading through the disassembled code and comparing by hand against > disk_part_iter_next(), I think that might be line 144 of block/genhd.c, > where the ptbl->len dereference happens. Sorry to follow up a third time, but I can now confirm this. I slipped -g into CFLAGS in the kernel Makefile and rebuilt genhd.o and then the entire vmlinux. # objdump -S genhd.o [...] 0000000000000da3 <disk_part_iter_next>: * * CONTEXT: * Don't care. */ struct hd_struct *disk_part_iter_next(struct disk_part_iter *piter) { da3: 55 push %rbp da4: 48 89 e5 mov %rsp,%rbp da7: 41 55 push %r13 da9: 41 54 push %r12 dab: 53 push %rbx dac: 48 89 fb mov %rdi,%rbx daf: 48 83 ec 08 sub $0x8,%rsp struct disk_part_tbl *ptbl; int inc, end; /* put the last partition */ disk_put_part(piter->part); db3: 48 8b 7f 08 mov 0x8(%rdi),%rdi [...] e01: 48 be ff ff ff ff 08 mov $0x8ffffffff,%rsi e08: 00 00 00 e0b: 48 b9 00 00 00 00 08 mov $0x800000000,%rcx e12: 00 00 00 e15: eb 50 jmp e67 <disk_part_iter_next+0xc4> end = -1; else end = 0; } else { inc = 1; end = ptbl->len; e17: 8b 42 10 mov 0x10(%rdx),%eax e1a: 41 bd 01 00 00 00 mov $0x1,%r13d e20: eb db jmp dfd <disk_part_iter_next+0x5a> [...] # addr2line -e vmlinux 0xffffffff803f0d77 /tmp/linux-2.6.30.4-p.tmp/block/genhd.c:144 Cheers, Chris, -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html