search for: spa_get_bootprop

Displaying 1 result from an estimated 1 matches for "spa_get_bootprop".

2010 Nov 11
3
Booting fails with `Can not read the pool label'' error
...from the second disk. Unfortunately, this doesn''t work: the kernel panics with Can not read the pool label from <device> spa_import_rootpool: Error 5 I''ve booted under kmdb, set a breakpoint in zfs`zfs_mountroot, and found that this happens because zfs_devid = spa_get_bootprop("diskdevid"); returns NULL. I''ve no idea how/why this can happen, and found no code in the OpenSolaris sources that sets diskdevid for SPARC, so I must assume that this is directly from OBP (there''s only some code in Grub, which of course is irrelevant here). Any sugg...