reproduceable panic remounting vinum fs's in single mode

Joan Picanyol lists-freebsd-stable at biaix.org
Tue Oct 28 11:51:55 PST 2003


* Joan Picanyol <lists-freebsd-stable at biaix.org> [20031028 19:53]:
> * Kris Kennaway <kris at obsecurity.org> [20031028 19:15]:
> > Are you using modules, or is vinum statically compiled into your
> > kernel?
> Preloaded elf module "vinum.ko" at 0xc04a709c.
I've followed the procedure at
http://www.vinumvm.org/vinum/how-to-debug.html, and now I have some more
symbols (look at #28, #29 and #30). Unfortunately, the output of 'f 1'
does not have de "vinum debug" line in it, I don't know if it should (I
was going from singleuser to multiuser when the panic took place).  My
debug environment is (long lines):

(20:38:06 </var/crash>) 0 $ ls -al
total 284536
drwx------  2 joan  wheel        512 Oct 28 20:31 .
drwxrwxr-x  9 root  wheel        512 Oct 28 11:57 ..
-rw-------  1 joan  wheel         60 Oct 28 20:35 .asf
lrwx------  1 joan  wheel         14 Oct 28 20:29 .gdbinit -> .gdbinit.crash
-rw-------  1 joan  wheel         77 Oct 28 20:29 .gdbinit.crash
-rw-------  1 joan  wheel      15196 Oct 28 20:29 .gdbinit.kernel
-rw-------  1 joan  wheel         80 Oct 28 20:29 .gdbinit.serial
-rw-------  1 joan  wheel       8729 Oct 28 20:29 .gdbinit.vinum
-rw-------  1 joan  wheel        557 Oct 28 20:29 .gdbinit.vinum.paths
-rw-r--r--  1 joan  wheel          2 Oct 28 18:49 bounds
-rw-r--r--  1 joan  wheel    2925320 Oct 28 18:22 kernel.0
-rw-r--r--  1 root  wheel    2925320 Oct 28 18:49 kernel.1
-rwx------  1 joan  wheel   10857762 Oct 28 20:30 kernel.debug
-rw-r--r--  1 joan  wheel          5 Oct 28 12:50 minfree
-rw-------  1 joan  wheel  536870912 Oct 28 18:22 vmcore.0
-rw-r--r--  1 root  wheel  536870912 Oct 28 18:49 vmcore.1
(20:41:20 </var/crash>) 0 $ cat .asf 
add-symbol-file /modules/vinum.ko $file->address+0x00006c74
(20:41:25 </var/crash>) 0 $ file /modules/vinum.ko 
/modules/vinum.ko: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), not stripped
(20:41:27 </var/crash>) 0 $ objdump --section-headers /modules/vinum.ko | grep text
  3 .rel.text     00003ed0  000021cc  000021cc  000021cc  2**2
  7 .text         0000be44  00006c74  00006c74  00006c74  2**2

qvb
-- 
pica


More information about the freebsd-stable mailing list