Re: gptzfsboot error using HP Smart Array P410i Controller

看板FB_current作者時間14年前 (2011/08/21 06:32), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串20/40 (看更多)
On 2011-08-18 18:30, Christoph Hoffmann wrote: =2E.. > Changing the order of execution in zfsboot.c main() function to > > [=85] > int > main(void) > { > [=85] > bios_getmem(); > > if (high_heap_size> 0) { > [=85] > bootinfo.bi_version =3D BOOTINFO_VERSION; > bootinfo.bi_size =3D sizeof(bootinfo); > bootinfo.bi_basemem =3D bios_basemem / 1024; > bootinfo.bi_extmem =3D bios_extmem / 1024; > bootinfo.bi_memsizes_valid++; > /* bootinfo.bi_bios_dev =3D dsk->drive; */ > bootinfo.bi_bios_dev =3D *(uint8_t *)PTOV(ARGS); > > dsk =3D malloc(sizeof(struct dsk)); > dsk->drive =3D *(uint8_t *)PTOV(ARGS); > dsk->type =3D dsk->drive& DRV_HARD ? TYPE_AD : TYPE_FD; > dsk->unit =3D dsk->drive& DRV_MASK; > dsk->slice =3D *(uint8_t *)PTOV(ARGS + 1) + 1; > dsk->part =3D 0; > dsk->start =3D 0; > dsk->init =3D 0; > > bootdev =3D MAKEBOOTDEV(dev_maj[dsk->type], > dsk->slice, dsk->unit, dsk->part), > [=85] > > > fixes the problem. Can you please use -save-temps to save the intermediate zfsboot.s files, both before and after you change this order, then post them here? It's easiest to just do: DEBUG_FLAGS=3D-save-temps make -C /usr/src/sys/boot/i386/gptzfsboot clean= all then save /usr/obj/usr/src/sys/boot/i386/gptzfsboot/zfsboot.s somewhere. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"
文章代碼(AID): #1EK3NYjf (FB_current)
討論串 (同標題文章)
完整討論串 (本文為第 20 之 40 篇):
文章代碼(AID): #1EK3NYjf (FB_current)