Changes to kern.geom.debugflags?

Chris Ross cross+freebsd at distal.com
Thu Dec 27 19:20:13 UTC 2012


On Dec 27, 2012, at 10:43 AM, Chris Ross wrote:
>>> FreeBSD/sparc64 ZFS boot block
>   Boot path:   /pci at 1c,600000/scsi at 2/disk at 1,0:a
> Consoles: Open Firmware console  
> ERROR: Last Trap: Division by Zero
> 
> {1} ok ctrace
> No saved state
> {1} ok 
> 
> 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 at 1c,600000/scsi at 2/disk at 1,0:a
Consoles: Open Firmware console  
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 

  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



More information about the freebsd-sparc64 mailing list