Re: bin/144214: zfsboot fails on gang block after upgrade to zfs v14

2010-05-27 Thread Andriy Gapon
I think I nailed this problem now. What was additionally needed was the following change: if (!vdev || !vdev->v_read) return (EIO); - if (vdev->v_read(vdev, bp, &zio_gb, offset, SPA_GANGBLOCKSIZE)) + if (vdev->v_read(vdev, NULL, &zio_gb, offset, SPA_GANGBLOCKSI

Re: bin/144214: zfsboot fails on gang block after upgrade to zfs v14

2010-05-27 Thread Robert Noland
Andriy Gapon wrote: I think I nailed this problem now. What was additionally needed was the following change: if (!vdev || !vdev->v_read) return (EIO); - if (vdev->v_read(vdev, bp, &zio_gb, offset, SPA_GANGBLOCKSIZE)) + if (vdev->v_read(vdev, NULL, &zio_gb, of

Re: bin/144214: zfsboot fails on gang block after upgrade to zfs v14

2010-05-27 Thread Doug Rabson
On 27 May 2010 09:35, Andriy Gapon wrote: > > > I think I nailed this problem now. > What was additionally needed was the following change: >if (!vdev || !vdev->v_read) >return (EIO); > - if (vdev->v_read(vdev, bp, &zio_gb, offset, SPA_GANGBLOCKSIZE)) > + if (v

Re: bin/144214: zfsboot fails on gang block after upgrade to zfs v14

2010-05-27 Thread Andriy Gapon
on 27/05/2010 17:40 Doug Rabson said the following: > > Excellent work - thanks for looking into this. I still think its easier > to debug this code in userland using a shim that redirects the zfsboot > i/o calls to simple read system calls... Absolutely! That should much easier. Do you have such

Re: Custom USB layout & sysinstall (Starting FIXIT)

2010-05-27 Thread none none
Still no answer? Hey, there is also a thread: http://forums.freebsd.org/showthread.php?t=14059 ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubs

Re: Custom USB layout & sysinstall (Starting FIXIT)

2010-05-27 Thread Garrett Cooper
On Thu, May 27, 2010 at 3:53 PM, none none wrote: > Still no answer? > > Hey, there is also a thread: > http://forums.freebsd.org/showthread.php?t=14059 Hate to say but you're doing something unsupported, so unless you walk through the process by yourself to figure out where things are going wron

Re: Custom USB layout & sysinstall (Starting FIXIT)

2010-05-27 Thread Ken Smith
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 5/15/10 8:01 AM, none none wrote: > On Sat, May 15, 2010 at 12:14 AM, Ken Smith wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> On 5/14/10 1:16 PM, none none wrote: >>> I've read it, all. >>> What he is proposing, is about building

Re: Custom USB layout & sysinstall (Starting FIXIT)

2010-05-27 Thread Domagoj S.
On Fri, May 28, 2010 at 1:02 AM, Garrett Cooper wrote: > On Thu, May 27, 2010 at 3:53 PM, none none wrote: >> Still no answer? >> >> Hey, there is also a thread: >> http://forums.freebsd.org/showthread.php?t=14059 > > Hate to say but you're doing something unsupported, so unless you walk > throug

Re: Custom USB layout & sysinstall (Starting FIXIT)

2010-05-27 Thread Andrey V. Elsukov
On 28.05.2010 4:27, Domagoj S. wrote: I did found and posted code snippet that is responsible for detecting devices. But I have no C lang knowledge needed to do any coding. I know PHP and JS, ..., so have been observing patterns and echo-ed text/strings to terminal This code doesn't responsible

setfb not work with ipv6

2010-05-27 Thread Vladislav V. Prodan
9.0-CURRENT #0: Sun Apr 11 23:26:21 EEST 2010 amd64 net.my_fibnum: 0 net.add_addr_allfibs: 1 net.fibs: 3 # netstat -rn | grep default defaultXXX.XXX.XXX.254 UGS 0 37594940 tun1 default 2001:5c0:1400:b::27e8 UGS gif0 # setfib 1 ne

Re: setfb not work with ipv6

2010-05-27 Thread Vladislav V. Prodan
Sorry... Instead, "add" to read "change"... # setfib 2 route -n add -inet6 default 2001:470:27:140::1 route: writing to routing socket: File exists add net default: gateway 2001:470:27:140::1: route already in table # setfib 2 route -n change -inet6 default 2001:470:27:140::1 route: writing t