Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Dec 2012 13:15:22 -0500
From:      Chris Ross <cross+freebsd@distal.com>
To:        Marius Strobl <marius@alchemy.franken.de>
Cc:        freebsd-sparc64@freebsd.org
Subject:   Re: Changes to kern.geom.debugflags?
Message-ID:  <A947C892-5379-4F70-BFA0-0A7AB94DF0C6@distal.com>
In-Reply-To: <8D01A854-97D9-4F1F-906A-7AB59BF8850B@distal.com>
References:  <7AA0B5D0-D49C-4D5A-8FA0-AA57C091C040@distal.com> <6A0C1005-F328-4C4C-BB83-CA463BD85127@distal.com> <20121225232507.GA47735@alchemy.franken.de> <8D01A854-97D9-4F1F-906A-7AB59BF8850B@distal.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Dec 27, 2012, at 10:43 AM, Chris Ross wrote:
>>> FreeBSD/sparc64 ZFS boot block
>   Boot path:   /pci@1c,600000/scsi@2/disk@1,0:a
> Consoles: Open Firmware console =20
> ERROR: Last Trap: Division by Zero
>=20
> {1} ok ctrace
> No saved state
> {1} ok=20
>=20
> Anything else you can suggest to get debugging information out of =
zfsloader?

  So, I've started with the tiring process of "printf debugging".  I =
have gotten out of
the loader code, and can show that it's inside of the call to the zfs =
devsw dv_init()
call where it's failing.

>> FreeBSD/sparc64 ZFS boot block
    Boot path:   /pci@1c,600000/scsi@2/disk@1,0:a
Consoles: Open Firmware console =20
Goo 1
Goo 2
Looking at dp 0x236970 (block), dv_init of 0x11f320
Calling dv_init()
Back from dv_init()
Looking at dp 0x234e10 (net), dv_init of 0x1082c0
	net0: (net0)
Calling dv_init()
Back from dv_init()
Looking at dp 0x236088 (zfs), dv_init of 0x11cbe0
Calling dv_init()
ERROR: Last Trap: Division by Zero

{1} ok=20

  Next, I guess I'll have to find out where the code for that is, and =
work there.
If anyone has any ideas or can assist, please let me know.

                              - Chris




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A947C892-5379-4F70-BFA0-0A7AB94DF0C6>