Date: Thu, 09 Oct 2014 08:47:35 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 194265] New: Using arcconf on FreeBSD 11 Current Causes Segmentation Fault Message-ID: <bug-194265-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194265 Bug ID: 194265 Summary: Using arcconf on FreeBSD 11 Current Causes Segmentation Fault Product: Ports Tree Version: Latest Hardware: amd64 OS: Any Status: Needs Triage Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: pete@valar.uk.net CC: michael@fuckner.net CC: michael@fuckner.net Hello, This report is concerning arcconf from /usr/ports/sysutils/arcconf. When run as shown below there is no output except for "Segmentation fault (core dumped)". My RAID controller is an Adaptec 3405 model. # arcconf getconfig 1 al Running arcconf without any arguments or options displays a list of options as expected beginning with the text shown below. | UCLI | Adaptec by PMC uniform command line interface | UCLI | Version 1.6 (B21062) | UCLI | (C) Adaptec by PMC 2003-2014 | UCLI | All Rights Reserved This issue was previously fixed as can be seen in bug report 189668 but seems to have resurfaced albeit in a slightly different form. When the issue first occurred in report 189668 my server would drop to a DB prompt and my SSH session would be terminated. Now I just get the "Segmentation fault (core dumped)" message. Incidentally my email address has now changed to pete@valar.uk.net. If it helps at all, here is some gdb output on the core file. # gdb GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "amd64-marcel-freebsd". (gdb) core arcconf.core Core was generated by `arcconf'. Program terminated with signal 11, Segmentation fault. #0 0x00000000005bb00d in ?? () (gdb) bt #0 0x00000000005bb00d in ?? () #1 0x000000080201858c in ?? () #2 0x00007fffffffebf8 in ?? () #3 0x01007fffffffc810 in ?? () #4 0x00000008020cf288 in ?? () #5 0x00007fffffffe094 in ?? () #6 0x0000000500675358 in ?? () #7 0x0000000000000000 in ?? () (gdb) quit Here are some more details about my system and kernel. FreeBSD 11.0-CURRENT #0 r272734 amd64 Custom kernel: /usr/obj/usr/src/sys/PETEKERN20141008 The only changes I've made are below: (the "Wireless NIC cards" section is completely commented) options ALTQ options ALTQ_CBQ # Class Bases Queuing (CBQ) options ALTQ_RED # Random Early Detection (RED) options ALTQ_RIO # RED In/Out options ALTQ_HFSC # Hierarchical Packet Scheduler (HFSC) options ALTQ_PRIQ # Priority Queuing (PRIQ) options ALTQ_NOPCC # Required for SMP build device lagg The same reported issue occurs on an unmodified GENERIC kernel. I've also tried to apply the previously created patch but to me it seems like it's already been included. # cd # vim aac_patch # cd /sys/dev/aac ; patch < /root/aac_patch Hmm... Looks like a unified diff to me... The text leading up to this was: -------------------------- |Index: aac.c |=================================================================== |--- aac.c (revision 266123) |+++ aac.c (working copy) -------------------------- Patching file aac.c using Plan A... Reversed (or previously applied) patch detected! Assume -R? [y] y Hunk #1 succeeded at 1408. Hmm... Ignoring the trailing garbage. done # arcconf getconfig 1 al Segmentation fault (core dumped) Hopefully the information above is sufficient but please don't hesitate to contact me (pete@valar.uk.net) if you require further information or test results. Thanks for your time. Regards, Pete. --- Comment #1 from Bugzilla Automation <bugzilla@FreeBSD.org> --- Maintainers CC'd -- You are receiving this mail because: You are the assignee for the bug.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194265-13>