Re: Fatal trap 12 going from 8.2 to 8.4 with ZFS

2013-08-31 Thread Dmitry Morozovsky
On Sat, 31 Aug 2013, Dmitry Morozovsky wrote:

> > > I don't have an exact recollection of what is installed by freebsd-update 
> > > - are
> > > *.symbols files installed?
> > 
> > Doesn't look like it. I wonder if I can grab that from a distro site
> > or somewhere?
> 
> it seems so:
> 
> marck@woozle:/pub/FreeBSD/releases/amd64/8.4-RELEASE/kernels> grep -c symbol 
> generic.mtree
> 636
> 
> So, get kernels subdir from the release and extract symbols from them:
> 
> cat generic.?? | tar tvjf - \*.symbols

ah, ``tar xvjf'' of course -- I did test-run

-- 
Sincerely,
D.Marck [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer: ma...@freebsd.org ]

*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- ma...@rinet.ru ***

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: Fatal trap 12 going from 8.2 to 8.4 with ZFS

2013-08-31 Thread Dmitry Morozovsky
On Fri, 30 Aug 2013, Patrick wrote:

> On Fri, Aug 30, 2013 at 1:30 AM, Andriy Gapon  wrote:
> >
> > I don't have an exact recollection of what is installed by freebsd-update - 
> > are
> > *.symbols files installed?
> 
> Doesn't look like it. I wonder if I can grab that from a distro site
> or somewhere?

it seems so:

marck@woozle:/pub/FreeBSD/releases/amd64/8.4-RELEASE/kernels> grep -c symbol 
generic.mtree
636

So, get kernels subdir from the release and extract symbols from them:

cat generic.?? | tar tvjf - \*.symbols

-- 
Sincerely,
D.Marck [DM5020, MCK-RIPE, DM3-RIPN]
[ FreeBSD committer: ma...@freebsd.org ]

*** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- ma...@rinet.ru ***

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: Fatal trap 12 going from 8.2 to 8.4 with ZFS

2013-08-30 Thread Patrick
On Fri, Aug 30, 2013 at 1:30 AM, Andriy Gapon  wrote:
>
> I don't have an exact recollection of what is installed by freebsd-update - 
> are
> *.symbols files installed?

Doesn't look like it. I wonder if I can grab that from a distro site
or somewhere?
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"

___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: Fatal trap 12 going from 8.2 to 8.4 with ZFS

2013-08-30 Thread Patrick
On Fri, Aug 30, 2013 at 1:30 AM, Andriy Gapon  wrote:
>
> I don't have an exact recollection of what is installed by freebsd-update - 
> are
> *.symbols files installed?

Doesn't look like it. I wonder if I can grab that from a distro site
or somewhere?
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: Fatal trap 12 going from 8.2 to 8.4 with ZFS

2013-08-30 Thread Andriy Gapon
on 30/08/2013 11:17 Patrick said the following:
> H...
> 
> (kgdb) list *vdev_mirror_child_select+0x67
> No symbol table is loaded.  Use the "file" command.
> 
> Do I need to build the kernel from source myself? This kernel is what
> freebsd-update installed during part 1 of the upgrade.

I don't have an exact recollection of what is installed by freebsd-update - are
*.symbols files installed?

-- 
Andriy Gapon
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: Fatal trap 12 going from 8.2 to 8.4 with ZFS

2013-08-30 Thread Patrick
On Thu, Aug 29, 2013 at 2:32 PM, Andriy Gapon  wrote:
> on 29/08/2013 19:37 Patrick said the following:
>> I've got a system running on a VPS that I'm trying to upgrade from 8.2
>> to 8.4. It has a ZFS root. After booting the new kernel, I get:
>>
>> Fatal trap 12: page fault while in kernel mode
>> cpuid = 0; apic id = 00
>> fault virtual address   = 0x40
>> fault code  = supervisor read data, page not present
>> instruction pointer = 0x20:0x810d7691
>> stack pointer   = 0x28:0xff81ba60
>> frame pointer   = 0x28:0xff81ba90
>> code segment= base 0x0, limit 0xf, type 0x1b
>> = DPL 0, pres 1, long 1, def32 0, gran 1
>> processor eflags= interrupt enabled, resume, IOPL = 0
>> current process = 1 (kernel)
>> trap number = 12
>> panic: page fault
>> cpuid = 0
>> KDB: stack backtrace:
>> #0 0x8066cb96 at kdb_backtrace+0x66
>> #1 0x8063925e at panic+0x1ce
>> #2 0x809c21d0 at trap_fatal+0x290
>> #3 0x809c255e at trap_pfault+0x23e
>> #4 0x809c2a2e at trap+0x3ce
>> #5 0x809a9624 at calltrap+0x8
>> #6 0x810df517 at vdev_mirror_child_select+0x67
>
> If possible, please run 'kgdb /path/to/8.4/kernel' and then in kgdb do 'list
> *vdev_mirror_child_select+0x67'

H...

(kgdb) list *vdev_mirror_child_select+0x67
No symbol table is loaded.  Use the "file" command.

Do I need to build the kernel from source myself? This kernel is what
freebsd-update installed during part 1 of the upgrade.

Patrick
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"


Re: Fatal trap 12 going from 8.2 to 8.4 with ZFS

2013-08-29 Thread Andriy Gapon
on 29/08/2013 19:37 Patrick said the following:
> I've got a system running on a VPS that I'm trying to upgrade from 8.2
> to 8.4. It has a ZFS root. After booting the new kernel, I get:
> 
> Fatal trap 12: page fault while in kernel mode
> cpuid = 0; apic id = 00
> fault virtual address   = 0x40
> fault code  = supervisor read data, page not present
> instruction pointer = 0x20:0x810d7691
> stack pointer   = 0x28:0xff81ba60
> frame pointer   = 0x28:0xff81ba90
> code segment= base 0x0, limit 0xf, type 0x1b
> = DPL 0, pres 1, long 1, def32 0, gran 1
> processor eflags= interrupt enabled, resume, IOPL = 0
> current process = 1 (kernel)
> trap number = 12
> panic: page fault
> cpuid = 0
> KDB: stack backtrace:
> #0 0x8066cb96 at kdb_backtrace+0x66
> #1 0x8063925e at panic+0x1ce
> #2 0x809c21d0 at trap_fatal+0x290
> #3 0x809c255e at trap_pfault+0x23e
> #4 0x809c2a2e at trap+0x3ce
> #5 0x809a9624 at calltrap+0x8
> #6 0x810df517 at vdev_mirror_child_select+0x67

If possible, please run 'kgdb /path/to/8.4/kernel' and then in kgdb do 'list
*vdev_mirror_child_select+0x67'

> #7 0x810dfacc at vdev_mirror_io_start+0x24c
> #8 0x810f7c52 at zio_vdev_io_start+0x232
> #9 0x810f76f3 at zio_execute+0xc3
> #10 0x810f77ad at zio_wait+0x2d
> #11 0x8108991e at arc_read+0x6ce
> #12 0x8109d9d4 at dmu_objset_open_impl+0xd4
> #13 0x810b4014 at dsl_pool_init+0x34
> #14 0x810c7eea at spa_load+0x6aa
> #15 0x810c90b2 at spa_load_best+0x52
> #16 0x810cb0ca at spa_open_common+0x14a
> #17 0x810a892d at dsl_dir_open_spa+0x2cd
> Uptime: 3s
> Cannot dump. Device not defined or unavailable.
> 
> I've booted back into the 8.2 kernel without any problems, but I'm
> wondering if anyone can suggest what I should try to get this working?
> I used freebsd-update to upgrade, and this was after the first
> "freebsd-update install" where it installs the kernel.


-- 
Andriy Gapon
___
freebsd-hackers@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscr...@freebsd.org"