Re: ZFS: I/O error - blocks larger than 16777216 are not supported

2018-06-20 Thread KIRIYAMA Kazuhiko
At Wed, 20 Jun 2018 23:34:48 -0400,
Allan Jude wrote:
> 
> On 2018-06-20 21:36, KIRIYAMA Kazuhiko wrote:
> > Hi all,
> > 
> > I've been reported ZFS boot disable problem [1], and found
> > that this issue occers form RAID configuration [2]. So I
> > rebuit with RAID5 and re-installed 12.0-CURRENT
> > (r333982). But failed to boot with:
> > 
> > ZFS: i/o error - all block copies unavailable
> > ZFS: can't read MOS of pool zroot
> > gptzfsboot: failed to mount default pool zroot
> > 
> > FreeBSD/x86 boot
> > ZFS: I/O error - blocks larger than 16777216 are not supported
> > ZFS: can't find dataset u
> > Default: zroot/<0x0>:
> > 
> > In this case, the reason is "blocks larger than 16777216 are
> > not supported" and I guess this means datasets that have
> > recordsize greater than 8GB is NOT supported by the
> > FreeBSD boot loader(zpool-features(7)). Is that true ?
> > 
> > My zpool featues are as follows:
> > 
> > # kldload zfs
> > # zpool import 
> >pool: zroot
> >  id: 13407092850382881815
> >   state: ONLINE
> >  status: The pool was last accessed by another system.
> >  action: The pool can be imported using its name or numeric identifier and
> > the '-f' flag.
> >see: http://illumos.org/msg/ZFS-8000-EY
> >  config:
> > 
> > zroot   ONLINE
> >   mfid0p3   ONLINE
> > # zpool import -fR /mnt zroot
> > # zpool list
> > NAMESIZE  ALLOC   FREE  EXPANDSZ   FRAGCAP  DEDUP  HEALTH  ALTROOT
> > zroot  19.9T   129G  19.7T - 0% 0%  1.00x  ONLINE  /mnt
> > # zpool get all zroot
> > NAME   PROPERTY  VALUE  
> >SOURCE
> > zroot  size  19.9T  
> >-
> > zroot  capacity  0% 
> >-
> > zroot  altroot   /mnt   
> >local
> > zroot  healthONLINE 
> >-
> > zroot  guid  13407092850382881815   
> >default
> > zroot  version   -  
> >default
> > zroot  bootfszroot/ROOT/default 
> >local
> > zroot  delegationon 
> >default
> > zroot  autoreplace   off
> >default
> > zroot  cachefile none   
> >local
> > zroot  failmode  wait   
> >default
> > zroot  listsnapshots off
> >default
> > zroot  autoexpandoff
> >default
> > zroot  dedupditto0  
> >default
> > zroot  dedupratio1.00x  
> >-
> > zroot  free  19.7T  
> >-
> > zroot  allocated 129G   
> >-
> > zroot  readonly  off
> >-
> > zroot  comment   -  
> >default
> > zroot  expandsize-  
> >-
> > zroot  freeing   0  
> >default
> > zroot  fragmentation 0% 
> >-
> > zroot  leaked0  
> >default
> > zroot  feature@async_destroy enabled
> >local
> > zroot  feature@empty_bpobj   active 
> >local
> > zroot  feature@lz4_compress  active 
> >local
> > zroot  feature@multi_vdev_crash_dump enabled
> >local
> > zroot  feature@spacemap_histogramactive 
> >local
> > zroot  feature@enabled_txg   active 
> >local
> > zroot  feature@hole_birthactive 
> >local
> > zroot  feature@extensible_datasetenabled
> >local
> > zroot  feature@embedded_data active  

Re: ZFS: I/O error - blocks larger than 16777216 are not supported

2018-06-20 Thread Toomas Soome



> On 21 Jun 2018, at 06:34, Allan Jude  wrote:
> 
> On 2018-06-20 21:36, KIRIYAMA Kazuhiko wrote:
>> Hi all,
>> 
>> I've been reported ZFS boot disable problem [1], and found
>> that this issue occers form RAID configuration [2]. So I
>> rebuit with RAID5 and re-installed 12.0-CURRENT
>> (r333982). But failed to boot with:
>> 
>> ZFS: i/o error - all block copies unavailable
>> ZFS: can't read MOS of pool zroot
>> gptzfsboot: failed to mount default pool zroot
>> 
>> FreeBSD/x86 boot
>> ZFS: I/O error - blocks larger than 16777216 are not supported
>> ZFS: can't find dataset u
>> Default: zroot/<0x0>:
>> 
>> In this case, the reason is "blocks larger than 16777216 are
>> not supported" and I guess this means datasets that have
>> recordsize greater than 8GB is NOT supported by the
>> FreeBSD boot loader(zpool-features(7)). Is that true ?
>> 
>> My zpool featues are as follows:
>> 
>> # kldload zfs
>> # zpool import 
>>   pool: zroot
>> id: 13407092850382881815
>>  state: ONLINE
>> status: The pool was last accessed by another system.
>> action: The pool can be imported using its name or numeric identifier and
>>the '-f' flag.
>>   see: http://illumos.org/msg/ZFS-8000-EY
>> config:
>> 
>>zroot   ONLINE
>>  mfid0p3   ONLINE
>> # zpool import -fR /mnt zroot
>> # zpool list
>> NAMESIZE  ALLOC   FREE  EXPANDSZ   FRAGCAP  DEDUP  HEALTH  ALTROOT
>> zroot  19.9T   129G  19.7T - 0% 0%  1.00x  ONLINE  /mnt
>> # zpool get all zroot
>> NAME   PROPERTY  VALUE   
>>   SOURCE
>> zroot  size  19.9T   
>>   -
>> zroot  capacity  0%  
>>   -
>> zroot  altroot   /mnt
>>   local
>> zroot  healthONLINE  
>>   -
>> zroot  guid  13407092850382881815
>>   default
>> zroot  version   -   
>>   default
>> zroot  bootfszroot/ROOT/default  
>>   local
>> zroot  delegationon  
>>   default
>> zroot  autoreplace   off 
>>   default
>> zroot  cachefile none
>>   local
>> zroot  failmode  wait
>>   default
>> zroot  listsnapshots off 
>>   default
>> zroot  autoexpandoff 
>>   default
>> zroot  dedupditto0   
>>   default
>> zroot  dedupratio1.00x   
>>   -
>> zroot  free  19.7T   
>>   -
>> zroot  allocated 129G
>>   -
>> zroot  readonly  off 
>>   -
>> zroot  comment   -   
>>   default
>> zroot  expandsize-   
>>   -
>> zroot  freeing   0   
>>   default
>> zroot  fragmentation 0%  
>>   -
>> zroot  leaked0   
>>   default
>> zroot  feature@async_destroy enabled 
>>   local
>> zroot  feature@empty_bpobj   active  
>>   local
>> zroot  feature@lz4_compress  active  
>>   local
>> zroot  feature@multi_vdev_crash_dump enabled 
>>   local
>> zroot  feature@spacemap_histogramactive  
>>   local
>> zroot  feature@enabled_txg   active  
>>   local
>> zroot  feature@hole_birthactive  
>>   local
>> zroot  feature@extensible_datasetenabled 
>>   local
>> zroot  feature@embedded_data active  
>>   local
>> zroot  feature@bookmarks enabled 

Re: ZFS: I/O error - blocks larger than 16777216 are not supported

2018-06-20 Thread Allan Jude
On 2018-06-20 21:36, KIRIYAMA Kazuhiko wrote:
> Hi all,
> 
> I've been reported ZFS boot disable problem [1], and found
> that this issue occers form RAID configuration [2]. So I
> rebuit with RAID5 and re-installed 12.0-CURRENT
> (r333982). But failed to boot with:
> 
> ZFS: i/o error - all block copies unavailable
> ZFS: can't read MOS of pool zroot
> gptzfsboot: failed to mount default pool zroot
> 
> FreeBSD/x86 boot
> ZFS: I/O error - blocks larger than 16777216 are not supported
> ZFS: can't find dataset u
> Default: zroot/<0x0>:
> 
> In this case, the reason is "blocks larger than 16777216 are
> not supported" and I guess this means datasets that have
> recordsize greater than 8GB is NOT supported by the
> FreeBSD boot loader(zpool-features(7)). Is that true ?
> 
> My zpool featues are as follows:
> 
> # kldload zfs
> # zpool import 
>pool: zroot
>  id: 13407092850382881815
>   state: ONLINE
>  status: The pool was last accessed by another system.
>  action: The pool can be imported using its name or numeric identifier and
> the '-f' flag.
>see: http://illumos.org/msg/ZFS-8000-EY
>  config:
> 
> zroot   ONLINE
>   mfid0p3   ONLINE
> # zpool import -fR /mnt zroot
> # zpool list
> NAMESIZE  ALLOC   FREE  EXPANDSZ   FRAGCAP  DEDUP  HEALTH  ALTROOT
> zroot  19.9T   129G  19.7T - 0% 0%  1.00x  ONLINE  /mnt
> # zpool get all zroot
> NAME   PROPERTY  VALUE
>  SOURCE
> zroot  size  19.9T
>  -
> zroot  capacity  0%   
>  -
> zroot  altroot   /mnt 
>  local
> zroot  healthONLINE   
>  -
> zroot  guid  13407092850382881815 
>  default
> zroot  version   -
>  default
> zroot  bootfszroot/ROOT/default   
>  local
> zroot  delegationon   
>  default
> zroot  autoreplace   off  
>  default
> zroot  cachefile none 
>  local
> zroot  failmode  wait 
>  default
> zroot  listsnapshots off  
>  default
> zroot  autoexpandoff  
>  default
> zroot  dedupditto0
>  default
> zroot  dedupratio1.00x
>  -
> zroot  free  19.7T
>  -
> zroot  allocated 129G 
>  -
> zroot  readonly  off  
>  -
> zroot  comment   -
>  default
> zroot  expandsize-
>  -
> zroot  freeing   0
>  default
> zroot  fragmentation 0%   
>  -
> zroot  leaked0
>  default
> zroot  feature@async_destroy enabled  
>  local
> zroot  feature@empty_bpobj   active   
>  local
> zroot  feature@lz4_compress  active   
>  local
> zroot  feature@multi_vdev_crash_dump enabled  
>  local
> zroot  feature@spacemap_histogramactive   
>  local
> zroot  feature@enabled_txg   active   
>  local
> zroot  feature@hole_birthactive   
>  local
> zroot  feature@extensible_datasetenabled  
>  local
> zroot  feature@embedded_data active   
>  local
> zroot  feature@bookmarks enabled  
>  local
> zroot  feature@filesystem_limits enabled  
>  local
> zroot  feature@large_b

Re: Tool Chain Migration: objdump users, please test llvm-objdump

2018-06-20 Thread Alexander Richardson
On Wed, 20 Jun 2018 at 16:50 Brooks Davis  wrote:

> On Wed, Jun 20, 2018 at 10:46:46AM -0400, Ed Maste wrote:
> > Work is in progress to migrate fully to modern and permissively
> > licensed components for the tool chain. This includes moving away from
> > the three obsolete binutils components that are still in the base
> > system (as, ld, objdump). objdump is a tool to report information
> > about binary objects (such as headers, symbols, etc.), is not required
> > as a build tool, and in any case many uses of objdump are better
> > served by readelf.
> >
> > For FreeBSD 12 I intend to remove GNU objdump 2.17.50. PR 229046[1] is
> > open to track tasks related to its removal, and users who need GNU
> > objdump can install an up-to-date version from the ports tree or the
> > binutils package.
> >
> > That said, llvm includes a somewhat equivalent llvm-objdump, and it is
> > built by default in FreeBSD now. If llvm-objdump's command line option
> > support and output format is "close enough" to GNU objdump for most
> > users we may decide to install it as /usr/bin/objdump. Therefore, I
> > would like to ask users of GNU objdump in FreeBSD to give llvm-objdump
> > a try. Please let me know if it works for your uses, or describe
> > deficiencies that you found.
>
> I think we've changed our flag us in CheriBSD to accommodate llvm-objdump
> so at least a few months ago flag compatibility was poor.  The output is
> different, but fine for my uses (producing human readable assembly
> output).
>
>
When I made the change to use llvm-objdump in CheriBSD I had to change the
objdump flags from -xrsSd to -r -s -p -S -d -h -l -t.

This is because llvm-objdump doesn't support the -x option and doesn't
accept joined single-character options. I've been meaning to submit a patch
upstream for -x but haven't got around to it yet.
Otherwise the only noticeable change was that creating a full dump of any
binary is MUCH faster.

Alex
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


ZFS: I/O error - blocks larger than 16777216 are not supported

2018-06-20 Thread KIRIYAMA Kazuhiko
Hi all,

I've been reported ZFS boot disable problem [1], and found
that this issue occers form RAID configuration [2]. So I
rebuit with RAID5 and re-installed 12.0-CURRENT
(r333982). But failed to boot with:

ZFS: i/o error - all block copies unavailable
ZFS: can't read MOS of pool zroot
gptzfsboot: failed to mount default pool zroot

FreeBSD/x86 boot
ZFS: I/O error - blocks larger than 16777216 are not supported
ZFS: can't find dataset u
Default: zroot/<0x0>:

In this case, the reason is "blocks larger than 16777216 are
not supported" and I guess this means datasets that have
recordsize greater than 8GB is NOT supported by the
FreeBSD boot loader(zpool-features(7)). Is that true ?

My zpool featues are as follows:

# kldload zfs
# zpool import 
   pool: zroot
 id: 13407092850382881815
  state: ONLINE
 status: The pool was last accessed by another system.
 action: The pool can be imported using its name or numeric identifier and
the '-f' flag.
   see: http://illumos.org/msg/ZFS-8000-EY
 config:

zroot   ONLINE
  mfid0p3   ONLINE
# zpool import -fR /mnt zroot
# zpool list
NAMESIZE  ALLOC   FREE  EXPANDSZ   FRAGCAP  DEDUP  HEALTH  ALTROOT
zroot  19.9T   129G  19.7T - 0% 0%  1.00x  ONLINE  /mnt
# zpool get all zroot
NAME   PROPERTY  VALUE  
   SOURCE
zroot  size  19.9T  
   -
zroot  capacity  0% 
   -
zroot  altroot   /mnt   
   local
zroot  healthONLINE 
   -
zroot  guid  13407092850382881815   
   default
zroot  version   -  
   default
zroot  bootfszroot/ROOT/default 
   local
zroot  delegationon 
   default
zroot  autoreplace   off
   default
zroot  cachefile none   
   local
zroot  failmode  wait   
   default
zroot  listsnapshots off
   default
zroot  autoexpandoff
   default
zroot  dedupditto0  
   default
zroot  dedupratio1.00x  
   -
zroot  free  19.7T  
   -
zroot  allocated 129G   
   -
zroot  readonly  off
   -
zroot  comment   -  
   default
zroot  expandsize-  
   -
zroot  freeing   0  
   default
zroot  fragmentation 0% 
   -
zroot  leaked0  
   default
zroot  feature@async_destroy enabled
   local
zroot  feature@empty_bpobj   active 
   local
zroot  feature@lz4_compress  active 
   local
zroot  feature@multi_vdev_crash_dump enabled
   local
zroot  feature@spacemap_histogramactive 
   local
zroot  feature@enabled_txg   active 
   local
zroot  feature@hole_birthactive 
   local
zroot  feature@extensible_datasetenabled
   local
zroot  feature@embedded_data active 
   local
zroot  feature@bookmarks enabled
   local
zroot  feature@filesystem_limits enabled
   local
zroot  feature@large_blocks  enabled
   local
zroot  feature@sha512enabled
   local
zroot  feature@skein enabled
   loca

Re: [CFT] tinderbox/universe building clang once

2018-06-20 Thread Bryan Drewery
On 6/20/2018 2:08 PM, Bryan Drewery wrote:
> https://people.freebsd.org/~bdrewery/patches/universe-one-clang.diff
> 
> This will build clang once if any of the targets specified (or
> defaulted) require bootstrapping clang.
> 

The longterm plan does include making 'TARGET=arch1 make buildworld' and
'TARGET=arch2 make buildworld' both use the same compiler and various
other build tools. For now this patch only addresses tinderbox/universe
so we can have some progress. I had another implementation that covered
the buildworld case but it was getting too complex and causing conflicts
with other people's work. I'll improve this over time.

> It probably has some issues with LLD_BOOTSTRAP in some cases. It could
> be improved more in the future for reusing more of the tools built but I
> think this is good enough for now as it saves the majority of the time
> in the bootstrap phases on clang.
> 
> This won't work for GCC unless it learns convenient -target support.
> Its needed --sysroot support was also broken until some recent work from
> John Baldwin but I'm not sure if that has been committed yet.
> 
> Also FYI WITH_SYSTEM_LINKER support is now in to avoid building libclang
> for lld on archs that have LLD_BOOTSTRAP set.
> 
> I'm putting this out for testing since tinderbox/universe take so long
> and I can't possibly test all workflows with it myself.
> 


-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


Re: Tool Chain Migration: objdump users, please test llvm-objdump

2018-06-20 Thread Shawn Webb
On Wed, Jun 20, 2018 at 07:31:21PM -0400, Ed Maste wrote:
> On 20 June 2018 at 18:25, Shawn Webb  wrote:
> >
> > Would you like me to quantify the compilation breakages due to the
> > full llvm toolchain switch? If so, I can do that after July 12th.
> 
> Thanks Shawn, right now I'm interested specifically in llvm-objdump,
> with the goal of sorting it out in advance of FreeBSD 12.
> 
> I think it's a worthwhile endeavour to quantify the breakage from
> using all of the LLVM tools though, and if you're able to triage the
> issues and submit LLVM, FreeBSD, or upstream port issues as
> appropriate that would be much appreciated. (It's just not yet on the
> critical path for me.)

Sounds good. Can you ping me again after July 12th?

Also, if Tor is available for you, the amd64 Poudriere web UI is
accessible via a Tor v3 Onion Service:
http://3jkjhrvkdbdkqisnwhdpe4afh2j2g3suhsfcewiemsyk5ecd6gadmxyd.onion:8081/index.html

Thanks,

-- 
Shawn Webb
Cofounder and Security Engineer
HardenedBSD

Tor-ified Signal:+1 443-546-8752
Tor+XMPP+OTR:latt...@is.a.hacker.sx
GPG Key ID:  0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE


signature.asc
Description: PGP signature


Re: Tool Chain Migration: objdump users, please test llvm-objdump

2018-06-20 Thread Ed Maste
On 20 June 2018 at 18:25, Shawn Webb  wrote:
>
> Would you like me to quantify the compilation breakages due to the
> full llvm toolchain switch? If so, I can do that after July 12th.

Thanks Shawn, right now I'm interested specifically in llvm-objdump,
with the goal of sorting it out in advance of FreeBSD 12.

I think it's a worthwhile endeavour to quantify the breakage from
using all of the LLVM tools though, and if you're able to triage the
issues and submit LLVM, FreeBSD, or upstream port issues as
appropriate that would be much appreciated. (It's just not yet on the
critical path for me.)
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Tool Chain Migration: objdump users, please test llvm-objdump

2018-06-20 Thread Shawn Webb
On Wed, Jun 20, 2018 at 10:46:46AM -0400, Ed Maste wrote:
> Work is in progress to migrate fully to modern and permissively
> licensed components for the tool chain. This includes moving away from
> the three obsolete binutils components that are still in the base
> system (as, ld, objdump). objdump is a tool to report information
> about binary objects (such as headers, symbols, etc.), is not required
> as a build tool, and in any case many uses of objdump are better
> served by readelf.
> 
> For FreeBSD 12 I intend to remove GNU objdump 2.17.50. PR 229046[1] is
> open to track tasks related to its removal, and users who need GNU
> objdump can install an up-to-date version from the ports tree or the
> binutils package.
> 
> That said, llvm includes a somewhat equivalent llvm-objdump, and it is
> built by default in FreeBSD now. If llvm-objdump's command line option
> support and output format is "close enough" to GNU objdump for most
> users we may decide to install it as /usr/bin/objdump. Therefore, I
> would like to ask users of GNU objdump in FreeBSD to give llvm-objdump
> a try. Please let me know if it works for your uses, or describe
> deficiencies that you found.

In preparation for Cross-DSO CFI support, HardenedBSD switched to
llvm-ar, llvm-nm, and llvm-objdump on 12-CURRENT/arm64 with commit
a3db6f9006499b55c2042faccd0ed6a6777b9d9f (22 Dec 2017).

There are some issues with the ports tree, but I haven't quantified
them, yet. All high-visibility applications (firefox, apache, nginx,
openvpn, etc.) all work with a full llvm toolchain (again: llvm-ar,
llvm-nm, and llvm-objdump).

Some applications break during runtime and not build time. Certain
pidgin plugins break, for example, at runtime due to a full llvm
toolchain, but compile just fine.

Would you like me to quantify the compilation breakages due to the
full llvm toolchain switch? If so, I can do that after July 12th.

Thanks,

-- 
Shawn Webb
Cofounder and Security Engineer
HardenedBSD

Tor-ified Signal:+1 443-546-8752
Tor+XMPP+OTR:latt...@is.a.hacker.sx
GPG Key ID:  0x6A84658F52456EEE
GPG Key Fingerprint: 2ABA B6BD EF6A F486 BE89  3D9E 6A84 658F 5245 6EEE


signature.asc
Description: PGP signature


[CFT] tinderbox/universe building clang once

2018-06-20 Thread Bryan Drewery
https://people.freebsd.org/~bdrewery/patches/universe-one-clang.diff

This will build clang once if any of the targets specified (or
defaulted) require bootstrapping clang.

It probably has some issues with LLD_BOOTSTRAP in some cases. It could
be improved more in the future for reusing more of the tools built but I
think this is good enough for now as it saves the majority of the time
in the bootstrap phases on clang.

This won't work for GCC unless it learns convenient -target support.
Its needed --sysroot support was also broken until some recent work from
John Baldwin but I'm not sure if that has been committed yet.

Also FYI WITH_SYSTEM_LINKER support is now in to avoid building libclang
for lld on archs that have LLD_BOOTSTRAP set.

I'm putting this out for testing since tinderbox/universe take so long
and I can't possibly test all workflows with it myself.

-- 
Regards,
Bryan Drewery



signature.asc
Description: OpenPGP digital signature


mount_smbfs stack overflow issue with long hostnames

2018-06-20 Thread Eric Joyner
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228354

Can someone look at fixing this for 12? Non-gracefully handling long names
is a pretty bad bug.

- Eric
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Re: Tool Chain Migration: objdump users, please test llvm-objdump

2018-06-20 Thread Brooks Davis
On Wed, Jun 20, 2018 at 10:46:46AM -0400, Ed Maste wrote:
> Work is in progress to migrate fully to modern and permissively
> licensed components for the tool chain. This includes moving away from
> the three obsolete binutils components that are still in the base
> system (as, ld, objdump). objdump is a tool to report information
> about binary objects (such as headers, symbols, etc.), is not required
> as a build tool, and in any case many uses of objdump are better
> served by readelf.
> 
> For FreeBSD 12 I intend to remove GNU objdump 2.17.50. PR 229046[1] is
> open to track tasks related to its removal, and users who need GNU
> objdump can install an up-to-date version from the ports tree or the
> binutils package.
> 
> That said, llvm includes a somewhat equivalent llvm-objdump, and it is
> built by default in FreeBSD now. If llvm-objdump's command line option
> support and output format is "close enough" to GNU objdump for most
> users we may decide to install it as /usr/bin/objdump. Therefore, I
> would like to ask users of GNU objdump in FreeBSD to give llvm-objdump
> a try. Please let me know if it works for your uses, or describe
> deficiencies that you found.

I think we've changed our flag us in CheriBSD to accommodate llvm-objdump
so at least a few months ago flag compatibility was poor.  The output is
different, but fine for my uses (producing human readable assembly
output).

-- Brooks


signature.asc
Description: PGP signature


Tool Chain Migration: objdump users, please test llvm-objdump

2018-06-20 Thread Ed Maste
Work is in progress to migrate fully to modern and permissively
licensed components for the tool chain. This includes moving away from
the three obsolete binutils components that are still in the base
system (as, ld, objdump). objdump is a tool to report information
about binary objects (such as headers, symbols, etc.), is not required
as a build tool, and in any case many uses of objdump are better
served by readelf.

For FreeBSD 12 I intend to remove GNU objdump 2.17.50. PR 229046[1] is
open to track tasks related to its removal, and users who need GNU
objdump can install an up-to-date version from the ports tree or the
binutils package.

That said, llvm includes a somewhat equivalent llvm-objdump, and it is
built by default in FreeBSD now. If llvm-objdump's command line option
support and output format is "close enough" to GNU objdump for most
users we may decide to install it as /usr/bin/objdump. Therefore, I
would like to ask users of GNU objdump in FreeBSD to give llvm-objdump
a try. Please let me know if it works for your uses, or describe
deficiencies that you found.

[1] https://bugs.freebsd.org/229046
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"


Page fault in udp_usrreq.c:823

2018-06-20 Thread Peter Holm
20180620 10:32:47 all (1/1): udp.sh
Kernel page fault with the following non-sleepable locks held:
shared rw udpinp (udpinp) r = 0 (0xf80bbc808d78) locked @ 
netinet/in_pcb.c:2398
stack backtrace:
#0 0x80c00733 at witness_debugger+0x73
#1 0x80c01b11 at witness_warn+0x461
#2 0x81075763 at trap_pfault+0x53
#3 0x81074d7a at trap+0x2ba
#4 0x8105076c at calltrap+0x8
#5 0x80dd21b0 at udp_ctlinput+0x50
#6 0x80d3081d at icmp_input+0x96d
#7 0x80d316d7 at ip_input+0x3f7
#8 0x80cc0a92 at netisr_dispatch_src+0xa2
#9 0x80ca3ebe at ether_demux+0x16e
#10 0x80ca5377 at ether_nh_input+0x427
#11 0x80cc0a92 at netisr_dispatch_src+0xa2
#12 0x80ca437f at ether_input+0x8f
#13 0x80cbc500 at iflib_rxeof+0xc90
#14 0x80cb6b6f at _task_fn_rx+0x7f
#15 0x80bdd209 at gtaskqueue_run_locked+0x139
#16 0x80bdcf88 at gtaskqueue_thread_loop+0x88
#17 0x80b54514 at fork_exit+0x84


Fatal trap 12: page fault while in kernel mode
cpuid = 10; apic id = 0a
fault virtual address = 0x8
fault code  = supervisor read data, page not present
instruction pointer = 0x20:0x80dd2423
stack pointer = 0x0:0xfe4a5500
frame pointer = 0x0:0xfe4a55a0
code segment  = base 0x0, limit 0xf, type 0x1b
   = DPL 0, pres 1, long 1, def32 0, gran 1
processor eflags = interrupt enabled, resume, IOPL = 0
current process  = 0 (if_io_tqg_10)
[ thread pid 0 tid 100069 ]
Stopped at  udp_common_ctlinput+0x263:  cmpq$0,0x8(%rax)
db>

Details @ https://people.freebsd.org/~pho/stress/log/udp_usrreq.txt

-- 
Peter
___
freebsd-current@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org"