Nonaktif

2013-06-06 Thread team_chota
Nonaktiv notivikation
Sent from my BlackBerry®
powered by Sinyal Kuat INDOSAT
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Nonaktif

2013-06-06 Thread team_chota
Nonaktiv notivikation
Sent from my BlackBerry®
powered by Sinyal Kuat INDOSAT
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


mini express cards supported by freebsd

2013-06-06 Thread david coder

i need a mini express wifi card for a thinkpad laptop.  does anybody know of
one that is supported by freebsd?  the aironet card i have is too fat.

thx,

david coder
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: I'm having big problems with Broadcom NIC (gbe0) on HP ProLiant DL380p 128GB Ram, NIC model HP Ethernet 1Gb 4-port 331FLR, after installed it cannot use a ping command, sometime it can do that but

2013-06-06 Thread Jason Birch
Please include your question as email content, not subject.

http://serverfault.com/questions/361673/hp-nc107i-bcm5723-on-freebsd-9
Indicates
you may be able to set

hw.bge.allow_asf="0"

in /boot/loader.conf. Try this, and if the problem persists, please reply
with more information (FreeBSD version, etc).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


I'm having big problems with Broadcom NIC (gbe0) on HP ProLiant DL380p 128GB Ram, NIC model HP Ethernet 1Gb 4-port 331FLR, after installed it cannot use a ping command, sometime it can do that but sho

2013-06-06 Thread Surat Sodchuen
Surat Sodchuen
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Panic/reboot while trying to install 9.1 on a HP Proliant DL580G5

2013-06-06 Thread Shane Ambler

On 06/06/2013 23:41, Ewald Jenisch wrote:


Here's what I tried so far:

o) Updating BIOS, array-controller, iLO to the latest version
o) Booting the installation DVD in safe-mode
o) Booting the installatino DVD verbose mode
o) Escaping to the loader prompt, entering
 kern.eventtimer.periodic=1
 kern.eventtimer.timer="LAPIC"
and booting the install-DVD with these settings
(I once could boot and older HP-server using these settings, so
I tried them here too)



("FreeBSD-install-crash-HP-Proliant-DL580-G5-04.jpg" shows the actual
panic/stacktrace)


Just guessing from what I see -

The panic is "No usable event timer found!"
Have you tried kern.eventtimer.periodic=0 or other values for 
kern.eventtimer.timer?

Is the panic the same without the loader adjustments?

Can you boot into single user mode?
what does sysctl kern.eventtimer.choice show?

Does it boot 8.3 ?

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


Re: Error building math/sage

2013-06-06 Thread Michael Gass
On Thu, Jun 06, 2013 at 09:41:46AM -0500, Michael Gass wrote:
> Trying to build math/sage-5.9_1 from ports.  Everything builds
> except sage itself.  
> 
> Here is the system info.
> 
> FreeBSD dc7800.home.net 9.1-STABLE FreeBSD 9.1-STABLE #0 r251294: Mon Jun  3 
> 17:52:11 CDT 2013 root@:/usr/obj/usr/src/sys/HP20130603  amd64
> 
> Here is /etc/make.conf
> 
> CPUTYPE?=core2
> WITH_PKGNG=yes
> # added by use.perl 2013-06-03 21:30:08
> PERL_VERSION=5.14.2
> TEX_DEFAULT=texlive
> 
> Here is output from the build (sorry for any control chars in script).
> Error is around 120 lines down.
> 
> port_dbdir=/var/db/ports

..removed lines..

> use_pkgng=yes
> ***
> make: illegal option -- -
> usage: make [-BPSXeiknpqrstv] [-C directory] [-D variable]
>   [-d flags] [-E variable] [-f makefile] [-I directory]
>   [-j max_jobs] [-m directory] [-V variable]
>   [variable=value] [target ...]
> 
> real  0m0.001s
> user  0m0.000s
> sys   0m0.001s
> ***
> Error building Sage.
> 
> The following package(s) may have failed to build:
> tail: /usr/ports/math/sage/work/sage-5.9/logs/pkgs/*.log: No such file or 
> directory
> 
> The build directory may contain configuration files and other potentially
> helpful information. WARNING: if you now run 'make' again, the build
> directory will, by default, be deleted. Set the environment variable
> SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this.
> 
> gmake: *** [build] Error 1
> *** [do-build] Error code 1
> 
> Stop in /usr/ports/math/sage.
> *** [build] Error code 1
> 
> Any suggestions?
> 
> 

Got it to install.  Kept getting the above problem when usning portmaster.
So I did a make clean in the sage directory and then make install clean.
That did it.

Mike Gass

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


problems build webkit-gtk2

2013-06-06 Thread fddi

webkit-gtk2 fails

FreeBSD 9.1 sparc64

any hints ?
thank you

===>  Building for webkit-gtk2-1.8.3_1
  GENgenerate-webkit2-forwarding-headers
  GENgenerate-webkittestrunner-forwarding-headers
  GENgenerate-webkittestrunner-forwarding-headers
  GENgenerate-webkit2-forwarding-headers
gmake  all-am

gmake[1]: Entering directory 
`/usr/src/ports/www/webkit-gtk2/work/webkit-1.8.3'

test ! -d ./Source/WebKit/gtk/po || \
 mkdir -p ./Source/WebKit/gtk/po
  CXX 
Source/JavaScriptCore/runtime/libjavascriptcoregtk_1_0_la-NumberPrototype.lo

test ! -f ./Source/WebKit/gtk/po/webkit-2.0.pot || \
  test -z "Source/WebKit/gtk/po/ar.mo Source/WebKit/gtk/po/bg.mo 
Source/WebKit/gtk/po/cs.mo Source/WebKit/gtk/po/de.mo 
Source/WebKit/gtk/po/el.mo Source/WebKit/gtk/po/en_CA.mo 
Source/WebKit/gtk/po/en_GB.mo Source/WebKit/gtk/po/eo.mo 
Source/WebKit/gtk/po/es.mo Source/WebKit/gtk/po/et.mo 
Source/WebKit/gtk/po/eu.mo Source/WebKit/gtk/po/fr.mo 
Source/WebKit/gtk/po/gl.mo Source/WebKit/gtk/po/gu.mo 
Source/WebKit/gtk/po/he.mo Source/WebKit/gtk/po/hu.mo 
Source/WebKit/gtk/po/id.mo Source/WebKit/gtk/po/it.mo 
Source/WebKit/gtk/po/ko.mo Source/WebKit/gtk/po/lt.mo 
Source/WebKit/gtk/po/lv.mo Source/WebKit/gtk/po/mr.mo 
Source/WebKit/gtk/po/nb.mo Source/WebKit/gtk/po/nl.mo 
Source/WebKit/gtk/po/pa.mo Source/WebKit/gtk/po/pl.mo 
Source/WebKit/gtk/po/pt.mo Source/WebKit/gtk/po/pt_BR.mo 
Source/WebKit/gtk/po/ru.mo Source/WebKit/gtk/po/sl.mo 
Source/WebKit/gtk/po/sr.mo Source/WebKit/gtk/po/s...@latin.mo 
Source/WebKit/gtk/po/sv.mo Source/WebKit/gtk/po/uk.mo 
Source/WebKit/gtk/po/vi.mo Source/WebKit/gtk/po/zh_CN.mo" || gmake 
Source/WebKit/gtk/po/ar.mo Source/WebKit/gtk/po/bg.mo 
Source/WebKit/gtk/po/cs.mo Source/WebKit/gtk/po/de.mo 
Source/WebKit/gtk/po/el.mo Source/WebKit/gtk/po/en_CA.mo 
Source/WebKit/gtk/po/en_GB.mo Source/WebKit/gtk/po/eo.mo 
Source/WebKit/gtk/po/es.mo Source/WebKit/gtk/po/et.mo 
Source/WebKit/gtk/po/eu.mo Source/WebKit/gtk/po/fr.mo 
Source/WebKit/gtk/po/gl.mo Source/WebKit/gtk/po/gu.mo 
Source/WebKit/gtk/po/he.mo Source/WebKit/gtk/po/hu.mo 
Source/WebKit/gtk/po/id.mo Source/WebKit/gtk/po/it.mo 
Source/WebKit/gtk/po/ko.mo Source/WebKit/gtk/po/lt.mo 
Source/WebKit/gtk/po/lv.mo Source/WebKit/gtk/po/mr.mo 
Source/WebKit/gtk/po/nb.mo Source/WebKit/gtk/po/nl.mo 
Source/WebKit/gtk/po/pa.mo Source/WebKit/gtk/po/pl.mo 
Source/WebKit/gtk/po/pt.mo Source/WebKit/gtk/po/pt_BR.mo 
Source/WebKit/gtk/po/ru.mo Source/WebKit/gtk/po/sl.mo 
Source/WebKit/gtk/po/sr.mo Source/WebKit/gtk/po/s...@latin.mo 
Source/WebKit/gtk/po/sv.mo Source/WebKit/gtk/po/uk.mo 
Source/WebKit/gtk/po/vi.mo Source/WebKit/gtk/po/zh_CN.mo

In file included from Source/JavaScriptCore/runtime/Structure.h:34,
 from Source/JavaScriptCore/runtime/ScopeChain.h:25,
 from Source/JavaScriptCore/runtime/JSObject.h:33,
 from Source/JavaScriptCore/runtime/JSWrapperObject.h:25,
 from Source/JavaScriptCore/runtime/NumberObject.h:24,
 from Source/JavaScriptCore/runtime/NumberPrototype.h:24,
 from Source/JavaScriptCore/runtime/NumberPrototype.cpp:23:
Source/JavaScriptCore/runtime/PropertyMapHashTable.h: In member function 
'JSC::PropertyMapEntry* JSC::PropertyTable::table()':
Source/JavaScriptCore/runtime/PropertyMapHashTable.h:556: warning: cast 
from 'unsigned int*' to 'JSC::PropertyMapEntry*' increases required 
alignment of target type
Source/JavaScriptCore/runtime/PropertyMapHashTable.h: In member function 
'const JSC::PropertyMapEntry* JSC::PropertyTable::table() const':
Source/JavaScriptCore/runtime/PropertyMapHashTable.h:562: warning: cast 
from 'unsigned int*' to 'const JSC::PropertyMapEntry*' increases 
required alignment of target type
./Source/JavaScriptCore/wtf/text/ASCIIFastPath.h: In function 'bool 
WTF::charactersAreAllASCII(const CharacterType*, size_t) [with 
CharacterType = LChar]':

./Source/JavaScriptCore/wtf/text/WTFString.h:493:   instantiated from here
./Source/JavaScriptCore/wtf/text/ASCIIFastPath.h:84: warning: cast from 
'const LChar*' to 'const WTF::MachineWord*' increases required alignment 
of target type
./Source/JavaScriptCore/wtf/text/ASCIIFastPath.h: In function 'bool 
WTF::charactersAreAllASCII(const CharacterType*, size_t) [with 
CharacterType = UChar]':

./Source/JavaScriptCore/wtf/text/WTFString.h:495:   instantiated from here
./Source/JavaScriptCore/wtf/text/ASCIIFastPath.h:84: warning: cast from 
'const UChar*' to 'const WTF::MachineWord*' increases required alignment 
of target type
./Source/JavaScriptCore/wtf/Vector.h: In member function 'T* 
WTF::VectorBuffer::inlineBuffer() [with T = 
JSC::Identifier, long unsigned int inlineCapacity = 20ul]':
./Source/JavaScriptCore/wtf/Vector.h:380:   instantiated from 
'WTF::VectorBuffer::VectorBuffer() [with T = 
JSC::Identifier, long unsigned int inlineCapacity = 20ul]'
./Source/JavaScriptCore/wtf/Vector.h:491:   instantiated from 
'WTF::Vector::Vector() [with T = JSC::Identifier, 
lon

Re: System Calls that do DNS

2013-06-06 Thread Doug Hardie

On 3 June 2013, at 22:21, Doug Hardie  wrote:

> 
> On 3 June 2013, at 20:39, staticsafe  wrote:
> 
>> On Mon, Jun 03, 2013 at 07:57:07PM -0700, Doug Hardie wrote:
>>> I have an unusual situation.  A program is doing a DNS lookup and often the 
>>> IP address has no reverse DNS entries.  As a result the program hangs for 
>>> several timeouts.  The call is not being made directly in its code, but is 
>>> occurring in a system call.  There are no specific calls to DNS, its 
>>> something else doing it.  I have been trying to track down which system 
>>> call is doing it, but without success so far.  I have tried syslog calls 
>>> around each of the system calls I thought might be the culprit, but my 
>>> guessing is not very good.  How can I identify the system call that is 
>>> calling DNS?  If I can find it, I hopefully can find another way to do 
>>> whatever it does that does not involve a reverse DNS lookup.
>>> 
>>> 
>> 
>> Use truss:
>> http://www.freebsd.org/cgi/man.cgi?query=truss
>> 
>> The truss utility traces the system calls called by the specified
>> process or program.
>> -- 
>> staticsafe
>> O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
>> Please don't top post - http://goo.gl/YrmAb
>> Don't CC me! I'm subscribed to whatever list I just posted on.
>> 
> 
> Unfortunately truss does not show anything more than ktrace.  I know what is 
> going out on the internet connection.  Its a plain old reverse DNS request.  
> The question is what library module (probably not a system call now that I 
> think about it) is making that request.  Interestingly enough, adding the IP 
> address with a dummy name in /etc/hosts causes the reverse request to succeed 
> and there are no time delays.  So whatever module it is, is not using bind.  
> Bind doesn't check the hosts files as far as I can tell.
> ___

After considering all the advice I received, the method I found that worked was 
to start the process and when it entered the reverse DNS timeout, quickly find 
the process ID and do a gdb on that process.  Then a where command showed the 
entire stack which included all the module calls.  I had to rebuild the process 
with debugging first.

The IPv6 API when getting the client information will also do a reverse DNS 
lookup unless you specifically tell it not to do so.  Changing that eliminated 
the lookup and the timeouts.

Thanks to all.

-- Doug
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


ctl-alt-esc not taking me to kernel debugger

2013-06-06 Thread i2u2yn902
Is ctl-alt-esc "working" for others on 8.x & 9.x?

See
http://forums.freebsd.org/showthread.php?t=40111
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Error building math/sage

2013-06-06 Thread Michael Gass
Trying to build math/sage-5.9_1 from ports.  Everything builds
except sage itself.  

Here is the system info.

FreeBSD dc7800.home.net 9.1-STABLE FreeBSD 9.1-STABLE #0 r251294: Mon Jun  3 
17:52:11 CDT 2013 root@:/usr/obj/usr/src/sys/HP20130603  amd64

Here is /etc/make.conf

CPUTYPE?=core2
WITH_PKGNG=yes
# added by use.perl 2013-06-03 21:30:08
PERL_VERSION=5.14.2
TEX_DEFAULT=texlive

Here is output from the build (sorry for any control chars in script).
Error is around 120 lines down.

===>  Found saved configuration for sage-5.9_1
===>   sage-5.9_1 depends on file: /usr/local/sbin/pkg - found
===> Fetching all distfiles required by sage-5.9_1 for building
===>  Extracting for sage-5.9_1
=> SHA256 Checksum OK for sage-5.9.tar.
===>  Patching for sage-5.9_1
Patching cephes-2.8.p1:
applying spkg-install
Patching eclib-20120830:
applying src_libsrc_eclib_interface.h
Patching maxima-5.29.1.p1:
applying src_interfaces_xmaxima_Makefile.in
Patching pycrypto-2.1.0:
applying patches_src.libtom.tomcrypt_pk.h
applying spkg-install
Patching python-2.7.3.p6:
applying src_Doc_library_fcntl.rst
applying src_Modules__ctypes_libffi_configure
applying src_Modules_fcntlmodule.c
applying src_Python_thread_pthread.h
applying src_setup.py
Patching sage-5.9:
applying doc_common_builder.py
Patching sympow-1.018.1.p11:
applying src_disk.c
===>   sage-5.9_1 depends on executable: bash - found
===>   sage-5.9_1 depends on file: /usr/local/share/texmf-var/web2c/tex/tex.fmt 
- found
===>   sage-5.9_1 depends on executable: gmake - found
===>   sage-5.9_1 depends on executable: gcc46 - found
===>   sage-5.9_1 depends on file: /usr/local/bin/as - found
===>   sage-5.9_1 depends on file: /usr/local/bin/autoconf-2.69 - found
===>   sage-5.9_1 depends on shared library: atlas - found
===>   sage-5.9_1 depends on shared library: lapack - found
===>   sage-5.9_1 depends on shared library: jpeg - found
===>   sage-5.9_1 depends on shared library: tk86 - found
===>   sage-5.9_1 depends on shared library: iconv.3 - found
===>  Configuring for sage-5.9_1
===>  Building for sage-5.9_1
mkdir -p logs
cd spkg && \
"../spkg/pipestatus" \
"env SAGE_PARALLEL_SPKG_BUILD='' ./install all 2>&1" \
"tee -a ../logs/install.log"
make: illegal option -- -
usage: make [-BPSXeiknpqrstv] [-C directory] [-D variable]
[-d flags] [-E variable] [-f makefile] [-I directory]
[-j max_jobs] [-m directory] [-V variable]
[variable=value] [target ...]
*** ALL ENVIRONMENT VARIABLES BEFORE BUILD: ***
ADDR2LINE=/usr/local/bin/addr2line
ALWAYS_SCRUB_DISTFILES=dopt
AR=/usr/local/bin/ar
ARCH=/usr/local/bin/ar
AS=/usr/local/bin/as
AUTOCONF=/usr/local/bin/autoconf-2.69
AUTOCONF_DIR=/usr/local/share/autoconf-2.69
AUTOCONF_VERSION=2.69
AUTOHEADER=/usr/local/bin/autoheader-2.69
AUTOIFNAMES=/usr/local/bin/ifnames-2.69
AUTOM4TE=/usr/local/bin/autom4te-2.69
AUTORECONF=/usr/local/bin/autoreconf-2.69
AUTOSCAN=/usr/local/bin/autoscan-2.69
AUTOUPDATE=/usr/local/bin/autoupdate-2.69
BACKUP=bopt
BSD_INSTALL_DATA=install  -o root -g wheel -m 444
BSD_INSTALL_LIB=install  -s -o root -g wheel -m 444
BSD_INSTALL_MAN=install  -o root -g wheel -m 444
BSD_INSTALL_PROGRAM=install  -s -o root -g wheel -m 555
BSD_INSTALL_SCRIPT=install  -o root -g wheel -m 555
CC=gcc46
CFLAGS=-pipe -march=core2 
-Wl,-rpath=/usr/ports/math/sage/work/sage-5.9/local/lib 
-Wl,-rpath=/usr/local/lib/gcc46
CONFIG_DONE_SAGE=1
CPP=cpp46
CPPFILT=/usr/local/bin/c++filt
CPPFLAGS=
CXX=g++46
CXXFLAGS=-pipe -march=core2 
-Wl,-rpath=/usr/ports/math/sage/work/sage-5.9/local/lib 
-Wl,-rpath=/usr/local/lib/gcc46 
-Wl,-rpath=/usr/ports/math/sage/work/sage-5.9/local/lib  
-Wl,-rpath=/usr/local/lib/gcc46
DISPLAY_LIST=
DISTDIR=/usr/ports/distfiles/
DI_FILES=/tmp/f-65716-DI-FILES.ahBRYhX0
DOT_SAGE=/usr/ports/math/sage/work/sage-5.9/tmp/.sage
F77=gfortran46
FFLAGS=-pipe -march=core2 
-Wl,-rpath=/usr/ports/math/sage/work/sage-5.9/local/lib  
-Wl,-rpath=/usr/local/lib/gcc46
GPROF=/usr/local/bin/gprof
HOME=/root
IPC_SAVE=/tmp/f-65716-IPC_SAVE.p1jz1M0L
LD=/usr/local/bin/ld
LDFLAGS=-Wl,-rpath=/usr/ports/math/sage/work/sage-5.9/local/lib  
-Wl,-rpath=/usr/local/lib/gcc46
LIBDIR=/usr/lib
LOCALBASE=/usr/local
LOCALBASE_COMPAT=/usr/local/lib/compat/pkg
LOGNAME=root
MAIL=/var/mail/root
MAKE=/usr/bin/make -j2
MAKEFLAGS= --jobserver-fds=3,4 -j -- CONFIG_DONE_SAGE=1 SYSTEMVERSION= 
OSVERSION=901504 OSREL=9.1 OPSYS=FreeBSD ARCH=/usr/local/bin/ar
MAKELEVEL=1
MAKEOVERRIDES=${-*-command-variables-*-}
MANPREFIX=/usr/local
MFLAGS=- --jobserver-fds=3,4 -j
MOTIFLIB=-L/usr/local/lib -lXm -lXp
NM=/usr/local/bin/nm
NO_DEP_UPDATES=no_dep_updates
NO_LINT=YES
OBJCOPY=/usr/local/bin/objcopy
OBJDUMP=/usr/local/bin/objdump
OPSYS=FreeBSD
OSREL=9.1
OSVERSION=901504
PACKAGES=/usr/ports/packages
PATH=/usr/ports/math/sage/work/sage-5.9/spkg/bin:/usr/ports/math/sage/work/sage-5.9/local/bin:/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/loc

Re: Boot hangs in single-user mode

2013-06-06 Thread Andrew Hamilton-Wright

[ Condensation of earlier comments below ]

On 2013-06-06, at 11:18 AM, Polytropon wrote:

> On Thu, 6 Jun 2013 10:24:52 -0300, Andrew Hamilton-Wright wrote:
>> 
>> When I get to the point where the root filesystem is mounted,
>> it hangs right after printing the message:
>> Trying to mount root from ufs:/dev/ada0s1a
> 
> Have you tried hitting the RETURN key several times?
...
> It's important to identify if the system is _really_ hanging,
> or if the message "just isn't visible"...

I did try that -- I have seen that behaviour before too.  I tried hitting return
a half-dozen times, and have additionally tried waiting (up to 20 min) to
see if it would come back, to no avail.


>> Interestingly, there seems to be a bit of a sequence issue,
>> as I have also seen the mount message appear before the audio
>> system comes up, so occasionally, the last item printed is:
>> pcm0:   on uaudio0
> 
> This seems to indicate that the system is still responding,
> i. e., the kernel is "up and running". Whenever "new" hardware
> is detected, the kernel will issue a console message.

That is a good point -- I will try plugging in an external USB device
at this point, and see what happens then.  It certainly appears that
the system is generally running to me, as well.  I should also mention
that the system does respond nicely to [CTRL]-[ALT]-[DEL], which
triggers the expected reboot process.


>> I am rebooting the machine at the moment as I wish to ensure
>> that I know which physical disk is ada2, so want to boot the
>> machine without it plugged in.
> 
> A suggestion: I tend to keep a tendency to use labels instead
> of device names to identify disks. This is handy in case you're

This is an excellent idea.  I do follow some variant of this (however
work at a high enough level of paranoia that I want to be able to
perform the "did the right drive disappear when I unplugged it"
check just to ensure that I wasn't asleep when making up the labels.
;-)


Thanks for the suggestions -- I will keep looking at it, and will try
adding a USB device once this restore eventually completes.

Thanks,
Andrew.

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


Re: Boot hangs in single-user mode

2013-06-06 Thread Polytropon
On Thu, 6 Jun 2013 10:24:52 -0300, Andrew Hamilton-Wright wrote:
> 
> Strangely, it seems that I cannot boot single user, either
> using "boot -s" from the boot loader, or using the boot menu. 
> When I get to the point where the root filesystem is mounted,
> it hangs right after printing the message:
> Trying to mount root from ufs:/dev/ada0s1a

Have you tried hitting the RETURN key several times? I've
seen what you've described once (I think on a FreeBSD 5
system): The prompt

Enter full pathname of shell or RETURN for /bin/sh: _

would not appear, but the system was still responding.
Hitting RETURN made that prompt visible and the SUM shell
prompt was properly displayed.

It's important to identify if the system is _really_ hanging,
or if the message "just isn't visible"...



> Interestingly, there seems to be a bit of a sequence issue,
> as I have also seen the mount message appear before the audio
> system comes up, so occasionally, the last item printed is:
> pcm0:   on uaudio0

This seems to indicate that the system is still responding,
i. e., the kernel is "up and running". Whenever "new" hardware
is detected, the kernel will issue a console message.

For example, on my home system the detection of the built-in
USB is sometimes a bit slow, so its messages appear "later on"
in the booting sequence, _after_ the initial kernel messages
(e. g., during firewall initialisation).



> I suspect that this may be a race condition of some kind, as
> yesterday I am sure I successfully booted to single-user while
> trying to solve a separate problem.

Try some more. :-)



> I am rebooting the machine at the moment as I wish to ensure
> that I know which physical disk is ada2, so want to boot the
> machine without it plugged in.

A suggestion: I tend to keep a tendency to use labels instead
of device names to identify disks. This is handy in case you're
running some kind of RAID configuration or use striping and
mirroring. Mark the disks with numbers and colors, as you prefer
(for example this nomenclature: color = stripe, number = mirror),
to reflect "being element of a stripe" and "being one of the
mirrors of N" properties both by the label (software) and the
physical disk (hardware). So you can _directly_ deduct from
a label (for example of a disk that is reported as failing)
like "red 2" that the disk is the 2nd mirror disk in the "red"
stripe, and _which_ physical disk is it? The one with a red "2"
on it. :-)





-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: USB can't mount msdosfs drive

2013-06-06 Thread Joseph Mays

Just checking the obvious: you're sure this particular disk is showing
up as da2, right?


Yes.

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


Re: USB can't mount msdosfs drive

2013-06-06 Thread Lowell Gilbert
"Joseph Mays"  writes:

>> If you do a ls /dev/da* What does it show.
>
> root@warehouse:/root # ls -la /dev/da*
> crw-r-  1 root  operator0, 123 Jun  4 17:08 /dev/da0
> crw-r-  1 root  operator0, 124 Jun  4 17:08 /dev/da0s1
> crw-r-  1 root  operator0, 131 Jun  4 17:08 /dev/da1
> crw-r-  1 root  operator0, 132 Jun  4 17:08 /dev/da1s1
> crw-r-  1 root  operator0, 138 Jun  4 17:08 /dev/da2
> crw-r-  1 root  operator0, 108 Jun  5 15:11 /dev/da2s1
> crw-r-  1 root  operator0, 154 Jun  4 17:08 /dev/da3
> crw-r-  1 root  operator0, 155 Jun  4 17:08 /dev/da3s1
> crw-r-  1 root  operator0, 152 Jun  4 12:08 /dev/da3s2

Just checking the obvious: you're sure this particular disk is showing
up as da2, right?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Panic/reboot while trying to install 9.1 on a HP Proliant DL580G5

2013-06-06 Thread Ewald Jenisch
Hi,

Several days ago I got a HP Proliant DL580 G5 that I wanted to install
FreeBSD 9.1 (64bit) on - till now without any success :-(.

Symptoms: Upon booting off the installation DVD the system freezes
(when running the installation "non-verbose") or installation stops
with a panic followed by an automatic reboot.

Here's what I tried so far:

o) Updating BIOS, array-controller, iLO to the latest version
o) Booting the installation DVD in safe-mode 
o) Booting the installatino DVD verbose mode
o) Escaping to the loader prompt, entering
kern.eventtimer.periodic=1
kern.eventtimer.timer="LAPIC"
   and booting the install-DVD with these settings
   (I once could boot and older HP-server using these settings, so 
   I tried them here too)

Nothing of this helped - the system just freezes/crashes in an early
stage even before the actual installer starts.

I uploaded screenshots to a server so you can see what's happening:

http://www.jenisch.at/HP-Proliant-DL580-G5-Installation-Crash/FreeBSD-install-crash-HP-Proliant-DL580-G5-01.jpg
http://www.jenisch.at/HP-Proliant-DL580-G5-Installation-Crash/FreeBSD-install-crash-HP-Proliant-DL580-G5-02.jpg
http://www.jenisch.at/HP-Proliant-DL580-G5-Installation-Crash/FreeBSD-install-crash-HP-Proliant-DL580-G5-03.jpg
http://www.jenisch.at/HP-Proliant-DL580-G5-Installation-Crash/FreeBSD-install-crash-HP-Proliant-DL580-G5-04.jpg

("FreeBSD-install-crash-HP-Proliant-DL580-G5-04.jpg" shows the actual
panic/stacktrace)

Anybody seen this before?

Any known cure against this problem?

Thanks much in advance for any clue,
-ewald
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: USB can't mount msdosfs drive

2013-06-06 Thread Joseph Mays

If you do a ls /dev/da* What does it show.


root@warehouse:/root # ls -la /dev/da*
crw-r-  1 root  operator0, 123 Jun  4 17:08 /dev/da0
crw-r-  1 root  operator0, 124 Jun  4 17:08 /dev/da0s1
crw-r-  1 root  operator0, 131 Jun  4 17:08 /dev/da1
crw-r-  1 root  operator0, 132 Jun  4 17:08 /dev/da1s1
crw-r-  1 root  operator0, 138 Jun  4 17:08 /dev/da2
crw-r-  1 root  operator0, 108 Jun  5 15:11 /dev/da2s1
crw-r-  1 root  operator0, 154 Jun  4 17:08 /dev/da3
crw-r-  1 root  operator0, 155 Jun  4 17:08 /dev/da3s1
crw-r-  1 root  operator0, 152 Jun  4 12:08 /dev/da3s2

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


Boot hangs in single-user mode

2013-06-06 Thread Andrew Hamilton-Wright

Strangely, it seems that I cannot boot single user, either using "boot -s" from 
the boot loader, or using the boot menu.  When I get to the point where the 
root filesystem is mounted, it hangs right after printing the message:
Trying to mount root from ufs:/dev/ada0s1a

Interestingly, there seems to be a bit of a sequence issue, as I have also seen 
the mount message appear before the audio system comes up, so occasionally, the 
last item printed is:
pcm0:   on uaudio0

If I boot normally, however, I can consistently reach a login prompt.

I suspect that this may be a race condition of some kind, as yesterday I am 
sure I successfully booted to single-user while trying to solve a separate 
problem.


In case the separate problem (failed disk) is relevant, the general situation 
is this:
- four disk machine:  ada0 (/, /usr, /tmp, /var); ada1 (/research -- data 
only), ada2 (/home), ada3 (/data -- also data only)
- the disk ada2 has failed
- in preparing to replace ada2, I have commented out all references to it from 
/etc/fstab

I am rebooting the machine at the moment as I wish to ensure that I know which 
physical disk is ada2, so want to boot the machine without it plugged in.  I 
seem to have trouble booting at all with ada2 missing and ada3 still attached, 
but can boot to multiuser with no problems in either of these two configuration:

- all disks (including the faulty one) plugged in, with ada2 references removed 
from /etc/fstab
- ada2 and ada3 not physically plugged in, and all references to either removed 
from /etc/fstab

Neither combination allows me to boot single-user.


While I can clearly go ahead with my disk replacement, this is not only strange 
and annoying, but potentially problematic.

Has anyone else seen anything like this?  I notice that there are several 
messages (dating back to 2004) in the list indicating 'hang after "Trying to 
mount root"' or 'hang after sbin_init' (which is the message that will be seen 
when booting single-user in "verbose mode").

Thoughts?  Ideas?

Thanks,
Andrew.

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


Re: poudriere keeps rebuilding apache22 on every run

2013-06-06 Thread Vincent Hoffman
On 05/06/2013 16:45, Arthur Chance wrote:
> On 06/05/13 16:06, Vincent Hoffman wrote:
>> I'm not certain if this is the best place to ask but I seem to be having
>> issues with apache22 and poudriere.
>>
>> on every run I get
>>
>> >> Creating the reference jail... done
>> >> Mounting system devices for 8amd64-default
>> >> Mounting ports/packages/distfiles
>> >> Mounting packages from:
>> /usr/local/poudriere_data/packages/8amd64-default
>> >> Mounting /var/db/ports from:
>> /usr/local/etc/poudriere.d/8amd64-options
>> >> Logs:
>> /usr/local/poudriere_data/logs/bulk/8amd64-default/2013-06-05_12:55:43
>> >> Appending to make.conf:
>> /usr/local/etc/poudriere.d/8amd64-make.conf
>> /etc/resolv.conf ->
>> /usr/local/poudriere_data/build/8amd64-default/ref/etc/resolv.conf
>> >> Starting jail 8amd64-default
>> >> Calculating ports order and dependencies
>> >> Sanity checking the repository
>> >> Options changed, deleting: apache22-2.2.24.txz
>>
>>
>> the options were set a while back and havent changed.
>> root@bsdpkgbuild:~ # ls -la
>> /usr/local/etc/poudriere.d/8amd64-options/apache22/
>> total 13
>> drwxr-xr-x2 root  wheel 3 May 21 17:44 .
>> drwxr-xr-x  241 root  wheel   242 Jun  4 22:41 ..
>> -rw-r--r--1 root  wheel  3191 May 21 17:44 options
>> root@bsdpkgbuild:~ #
>>
>> any suggestions? Its not a big problem but it means that apache and
>> everything that depends on it gets rebuild every time poudriere runs.
>
> I get similar problems, but it's often a random subset of packages.
> Usually the ones that take a long time to build :-(
>
for me I tracked it down to my somehow having
OPTIONS_FILE_SET+=PROXY_FTP
OPTIONS_FILE_SET+=PROXY_HTTP

but not
OPTIONS_FILE_SET+=PROXY
in my apache22/options file
not sure how that happened but it meant that what the package got built
with wasnt what i had in my options file, thus rebuilding every time.

Vince
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"