Valhalla Legends Forums Archive | Computer Support Issues | Linux bncsutil?

AuthorMessageTime
BreW
Does anyone out there have a linux bncsutil version?
I kinda need it ^^;;, cause i'll be damned if i have to port all the hashing-stuff on vim...
i would use an actual IDE but i can't, because apparently xorg can't find an input driver matching 'mouse' and 'kbd'... and when I do start it, it's nothing more then a black screen with an X outlined in white in the center. :/
February 18, 2008, 8:39 PM
Barabajagal
Sounds like your Desktop Environment isn't set up correctly. What distro are you using?
February 18, 2008, 9:19 PM
BreW
[quote author=Andy link=topic=17334.msg176496#msg176496 date=1203369584]
Sounds like your Desktop Environment isn't set up correctly. What distro are you using?
[/quote]
I'm using arch with gnome.
February 18, 2008, 10:40 PM
Barabajagal
You sure you installed Gnome correctly?

http://wiki.archlinux.org/index.php/Gnome
February 18, 2008, 10:50 PM
Newby
[quote author=brew link=topic=17334.msg176494#msg176494 date=1203367145]
i would use an actual IDE but i can't
[/quote]

Sounds like you should just use Ubuntu.
February 18, 2008, 11:46 PM
BreW
[quote author=Newby link=topic=17334.msg176501#msg176501 date=1203378411]
Sounds like you should just use Ubuntu.
[/quote]

That was low.

@RealityRipple: That wiki article helped a lot, thanks.
February 19, 2008, 12:19 AM
Barabajagal
What's wrong with Ubuntu? (I like Kubuntu, myself.)
February 19, 2008, 1:06 AM
Explicit[nK]
[quote author=Newby link=topic=17334.msg176501#msg176501 date=1203378411]
[quote author=brew link=topic=17334.msg176494#msg176494 date=1203367145]
i would use an actual IDE but i can't
[/quote]

Sounds like you should just use Ubuntu.
[/quote]

lol.

Try running xorgsetup rather than xorgconfig, then go back and change what you need to manually.
February 19, 2008, 3:16 AM
St0rm.iD
emacs and mono
February 19, 2008, 3:31 AM
BreW
It's not xorg that i'm having trouble with, it's gnome. when i try to run gnome-session I get:
(gnome-session:5745): Gtk-WARNING **: Locale not supported by C library.
           Using the fallback 'C' locale.
(gnome-session:5745): Gtk-WARNING **: cannot open display:

which leads me to believe that the problem is because I do not have the startx command (i can only run xorg by using the command 'X'). If that is the problem, how would i edit what command it uses to start xorg? It's definately in a configuration file somewhere.

But none of this changes the fact that i need the linux version of bncsutil.
February 19, 2008, 9:04 PM
Explicit[nK]
I find Gnome to be a bit excessive. Why not use a different window manager?

xwmconfig, go!
February 20, 2008, 5:00 AM
BreW
Ive got gnome working but it's screwed up somehow: http://img404.imageshack.us/img404/1691/92502659ty8.gif
Shouldn'tve gnome taken over the x windows? The resizing and moving is so ackward, and actually closing a window is impossible. Not to mention that the taskbar and desktops are actual windows as well!
As for the bncsutil linux version, forget it. I'm going to just port over my own.
February 20, 2008, 11:21 PM
Explicit[nK]
[quote author=brew link=topic=17334.msg176565#msg176565 date=1203549695]
Ive got gnome working but it's screwed up somehow: http://img404.imageshack.us/img404/1691/92502659ty8.gif
Shouldn'tve gnome taken over the x windows? The resizing and moving is so ackward, and actually closing a window is impossible. Not to mention that the taskbar and desktops are actual windows as well!
As for the bncsutil linux version, forget it. I'm going to just port over my own.
[/quote]

Change your desktop resolution in your VM. You're trying to run it at the same resolution as what your actual OS's display is, which accounts for why you have to scroll.
February 21, 2008, 12:29 AM
BreW
How is that going to help with gnome's lack of window bars..... I'm perfectly fine scrolling (i usually have it in full screen, but i couldn't screenshot it ;/)

Just wondering, what font is used for most of IRIX? As in the desktop icons et al. in this screenshot: http://www.osnews.com/img/1858/irix1.png
February 21, 2008, 12:41 AM
K
Have you installed the vmware tools?  It installs a display driver that allows the desktop resolution to fit to whatever you size the VMWare window to.

It also looks to me that you've got the gnome panels running, but not the correct window decorator & manager, which is causing the problems you're having with window titles.  I can't really help you resolve it.  I would suggest installing a distribution that requires less fussing in order to get a working gnome/kde/whatever session.

I had modified a version of bncsutil to build on linux a while ago, but the link I posted there no longer works.  I'll have to dig around on my desktop later to see if I still have the source.
February 21, 2008, 4:39 AM
K
[quote author=K link=topic=17334.msg176579#msg176579 date=1203568751]
I had modified a version of bncsutil to build on linux a while ago, but the link I posted there no longer works.  I'll have to dig around on my desktop later to see if I still have the source.
[/quote]

Here it is: http://www.fileshost.com/en/file/35048/bncsutil-tar-gz.html

You'll need to install libgmp to build.

February 21, 2008, 8:29 PM
Newby
[quote author=K link=topic=17334.msg176579#msg176579 date=1203568751]
I can't really help you resolve it.  I would suggest installing a distribution that requires less fussing in order to get a working gnome/kde/whatever session.
[/quote]

I suggested Ubuntu, but he seems to think it's beneath him.
February 21, 2008, 8:58 PM
BreW
[quote author=Newby link=topic=17334.msg176595#msg176595 date=1203627488]
[quote author=K link=topic=17334.msg176579#msg176579 date=1203568751]
I can't really help you resolve it.  I would suggest installing a distribution that requires less fussing in order to get a working gnome/kde/whatever session.
[/quote]

I suggested Ubuntu, but he seems to think it's beneath him.
[/quote]
Is a gui necessary? I just thought i'd install xorg and gnome for kicks.

@K: Thanks! That's exactly what I needed!
February 21, 2008, 10:29 PM
Explicit[nK]
[quote author=brew link=topic=17334.msg176597#msg176597 date=1203632982]
[quote author=Newby link=topic=17334.msg176595#msg176595 date=1203627488]
[quote author=K link=topic=17334.msg176579#msg176579 date=1203568751]
I can't really help you resolve it.  I would suggest installing a distribution that requires less fussing in order to get a working gnome/kde/whatever session.
[/quote]

I suggested Ubuntu, but he seems to think it's beneath him.
[/quote]
Is a gui necessary?
[/quote]

Productivity increases substantially when utilizing an interface as opposed to working within the confines of a terminal.
February 22, 2008, 5:03 AM
Barabajagal
Unless the interface slows down the system...
February 22, 2008, 6:09 AM
Explicit[nK]
[quote author=Andy link=topic=17334.msg176600#msg176600 date=1203660580]
Unless the interface slows down the system...
[/quote]

It'd be understandable in his case since he's trying to run Gnome.

I prefer a minimalist approach, and then start adding features from there.
February 22, 2008, 6:48 AM
Barabajagal
Ya... I always use the old Windows style interfaces...  Hate themes..

I installed vista on a VM... it took 2 and a half hours to install, and another half hour to get it to where I could use the OS because of the bloated GUI.
February 22, 2008, 7:49 AM
BreW
@K or someone who knows:
Is this the reason why i needed libgmp?
It wasn't in the package repository, so i just used make. it compiled fine (into libbncsutil.so) and i compiled my program with gcc blah.c -shared libbncsutil.so -o blah. When i try to run it, i get the error "Segmentation Fault". I'm no gcc expert-- anyone have an idea of what i would have to do?
February 22, 2008, 4:17 PM
iago
Compile it with -g, then run it in gdb:

gdb <programname>
run <parameters>

When it crashes, run "backtrace"

Should tell you what's going on.
February 22, 2008, 4:53 PM
K
If you don't have libgmp installed, it wont compile -- you'll get all sorts of errors about mpz_* not being declared, mpz_t does not name a type, etc.

The problem is that you're linking it wrong.  Try:
[code]
gcc whatever.c -lbncsutil -o whatever
[/code]

The -shared argument is used to create a shared library, not link with one.
February 22, 2008, 4:57 PM
BreW
[quote author=K link=topic=17334.msg176611#msg176611 date=1203699472]
If you don't have libgmp installed, it wont compile -- you'll get all sorts of errors about mpz_* not being declared, mpz_t does not name a type, etc.

The problem is that you're linking it wrong.  Try:
[code]
gcc whatever.c -lbncsutil -o whatever
[/code]

The -shared argument is used to create a shared library, not link with one.
[/quote]
ah, gotcha.

I tried installing libgmp with pacman, but i dont think that actually did anything.
so i downloaded the source and i'm having trouble compiling it-- no scratch that, running the ./configure script.
Here's the output:
[code]
checking build system type... i686-pc-linux-gnuoldld
checking host system type... i686-pc-linux-gnuoldld
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking ABI=32
checking compiler gcc -m32 -O2 -fomit-frame-pointer ... no
checking compiler gcc -O2 -fomit-frame-pointer ... no
checking compiler icc -no-gcc ... no
checking whether cc is gcc... yes
checking compiler cc -m32 -O2 -fomit-frame-pointer ... no
checking compiler cc -O2 -fomit-frame-pointer ... no
configure: error: could not find a working compiler, see config.log for details
[/code]

Here's the config.log:
[code]
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by GNU MP configure 4.2.2, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ./configure

## --------- ##
## Platform. ##
## --------- ##

hostname = brewnet
uname -m = i686
uname -r = 2.6.24-ARCH
uname -s = Linux
uname -v = #1 SMP PREEMPT Sun Feb 10 15:21:33 UTC 2008

/usr/bin/uname -p = unknown
/bin/uname -X    = unknown

/bin/arch              = i686
/usr/bin/arch -k      = unknown
/usr/convex/getsysinfo = unknown
hostinfo              = unknown
/bin/machine          = unknown
/usr/bin/oslevel      = unknown
/bin/universe          = unknown

PATH: /bin
PATH: /usr/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /opt/mozilla/bin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1654: checking build system type
configure:1672: result: i686-pc-linux-gnuoldld
configure:1680: checking host system type
configure:1694: result: i686-pc-linux-gnuoldld
configure:1717: checking for a BSD-compatible install
configure:1772: result: /bin/install -c
configure:1783: checking whether build environment is sane
configure:1826: result: yes
configure:1883: checking for gawk
configure:1899: found /bin/gawk
configure:1909: result: gawk
configure:1919: checking whether make sets $(MAKE)
configure:1939: result: yes
configure:2105: checking whether to enable maintainer-specific portions of Makefiles
configure:2114: result: no
User:
ABI=
CC=
CFLAGS=(unset)
CPPFLAGS=(unset)
MPN_PATH=
GMP:
abilist=32
cclist=gcc icc cc
configure:3794: gcc 2>&1 | grep xlc >/dev/null
configure:3797: $? = 1
configure:3851: checking compiler gcc -m32 -O2 -fomit-frame-pointer
Test compile:
configure:3865: gcc -m32 -O2 -fomit-frame-pointer  conftest.c >&5
collect2: cannot find 'ld'
configure:3868: $? = 1
failed program was:

int main () { return 0; }
configure:4874: result: no
configure:3851: checking compiler gcc -O2 -fomit-frame-pointer
Test compile:
configure:3865: gcc -O2 -fomit-frame-pointer  conftest.c >&5
collect2: cannot find 'ld'
configure:3868: $? = 1
failed program was:

int main () { return 0; }
configure:4874: result: no
configure:3772: icc -c conftest.c >&5
./configure: line 3773: icc: command not found
configure:3775: $? = 127
configure:3794: icc 2>&1 | grep xlc >/dev/null
configure:3797: $? = 1
configure:3851: checking compiler icc -no-gcc
Test compile:
configure:3865: icc -no-gcc  conftest.c >&5
./configure: line 3866: icc: command not found
configure:3868: $? = 127
failed program was:

int main () { return 0; }
configure:4874: result: no
configure:3772: cc -c conftest.c >&5
configure:3775: $? = 0
configure:3778: checking whether cc is gcc
configure:3780: result: yes
configure:3794: cc 2>&1 | grep xlc >/dev/null
configure:3797: $? = 1
configure:3851: checking compiler cc -m32 -O2 -fomit-frame-pointer
Test compile:
configure:3865: cc -m32 -O2 -fomit-frame-pointer  conftest.c >&5
collect2: cannot find 'ld'
configure:3868: $? = 1
failed program was:

int main () { return 0; }
configure:4874: result: no
configure:3851: checking compiler cc -O2 -fomit-frame-pointer
Test compile:
configure:3865: cc -O2 -fomit-frame-pointer  conftest.c >&5
collect2: cannot find 'ld'
configure:3868: $? = 1
failed program was:

int main () { return 0; }
configure:4874: result: no
configure:5112: error: could not find a working compiler, see config.log for details

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=i686-pc-linux-gnuoldld
ac_cv_build_alias=i686-pc-linux-gnuoldld
ac_cv_env_ABI_set=
ac_cv_env_ABI_value=
ac_cv_env_CC_FOR_BUILD_set=
ac_cv_env_CC_FOR_BUILD_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_FOR_BUILD_set=
ac_cv_env_CPP_FOR_BUILD_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_M4_set=
ac_cv_env_M4_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=i686-pc-linux-gnuoldld
ac_cv_host_alias=i686-pc-linux-gnuoldld
ac_cv_path_install='/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ABI=''
ACLOCAL='${SHELL} /root/gmp-4.2.2/missing --run aclocal-1.8'
AMTAR='${SHELL} /root/gmp-4.2.2/missing --run tar'
ANSI2KNR=''
AR=''
AS=''
AUTOCONF='${SHELL} /root/gmp-4.2.2/missing --run autoconf'
AUTOHEADER='${SHELL} /root/gmp-4.2.2/missing --run autoheader'
AUTOMAKE='${SHELL} /root/gmp-4.2.2/missing --run automake-1.8'
AWK='gawk'
BITS_PER_MP_LIMB=''
CALLING_CONVENTIONS_OBJS='x86call.lo x86check$U.lo'
CC=''
CCAS=''
CC_FOR_BUILD=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CPP_FOR_BUILD=''
CXX=''
CXXCPP=''
CXXFLAGS=''
CYGPATH_W='echo'
DEFN_LONG_LONG_LIMB=''
DEFS=''
DLLTOOL=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_STATIC_FALSE=''
ENABLE_STATIC_TRUE=''
EXEEXT=''
EXEEXT_FOR_BUILD=''
GMP_LDFLAGS=''
GMP_NAIL_BITS='0'
HAVE_CLOCK_01=''
HAVE_CPUTIME_01=''
HAVE_GETRUSAGE_01=''
HAVE_GETTIMEOFDAY_01=''
HAVE_HOST_CPU_FAMILY_power='0'
HAVE_HOST_CPU_FAMILY_powerpc='0'
HAVE_SIGACTION_01=''
HAVE_SIGALTSTACK_01=''
HAVE_SIGSTACK_01=''
HAVE_STACK_T_01=''
HAVE_SYS_RESOURCE_H_01=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBCURSES=''
LIBGMPXX_LDFLAGS=''
LIBGMP_DLL=''
LIBGMP_LDFLAGS=''
LIBM=''
LIBM_FOR_BUILD=''
LIBOBJS=''
LIBREADLINE=''
LIBS=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
M4=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='${SHELL} /root/gmp-4.2.2/missing --run makeinfo'
OBJDUMP=''
OBJEXT=''
PACKAGE='gmp'
PACKAGE_BUGREPORT='gmp-bugs@swox.com'
PACKAGE_NAME='GNU MP'
PACKAGE_STRING='GNU MP 4.2.2'
PACKAGE_TARNAME='gmp'
PACKAGE_VERSION='4.2.2'
PATH_SEPARATOR=':'
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
SPEED_CYCLECOUNTER_OBJ='pentium.lo'
STRIP=''
TAL_OBJECT=''
TUNE_SQR_OBJ=''
U=''
U_FOR_BUILD=''
VERSION='4.2.2'
WANT_CXX_FALSE=''
WANT_CXX_TRUE=''
WANT_MPBSD_FALSE=''
WANT_MPBSD_TRUE='#'
WITH_READLINE_01=''
YACC=''
ac_ct_AR=''
ac_ct_AS=''
ac_ct_CC=''
ac_ct_CXX=''
ac_ct_DLLTOOL=''
ac_ct_OBJDUMP=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__leading_dot='.'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnuoldld'
build_alias=''
build_cpu='i686'
build_os='linux-gnuoldld'
build_vendor='pc'
datadir='${prefix}/share'
exec_prefix='NONE'
gmp_srclinks=''
host='i686-pc-linux-gnuoldld'
host_alias=''
host_cpu='i686'
host_os='linux-gnuoldld'
host_vendor='pc'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/root/gmp-4.2.2/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p -- .'
mpn_objects=''
mpn_objs_in_libgmp=''
mpn_objs_in_libmp=''
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define HAVE_HOST_CPU_i686 1
#define PACKAGE "gmp"
#define PACKAGE_BUGREPORT "gmp-bugs@swox.com"
#define PACKAGE_NAME "GNU MP"
#define PACKAGE_STRING "GNU MP 4.2.2"
#define PACKAGE_TARNAME "gmp"
#define PACKAGE_VERSION "4.2.2"
#define VERSION "4.2.2"
#define WANT_FFT 1

configure: exit 1
[/code]
February 22, 2008, 8:35 PM
K
[quote]
configure:3865: gcc -O2 -fomit-frame-pointer  conftest.c >&5
collect2: cannot find 'ld'
[/quote]

This is the problem.  It's looking for the linker 'ld' yet you have no 'ld'.  I'm pretty sure you should have an 'ld' if you have a 'gcc'.  Honestly, install a different distribution.  These are some weird issues you're running into, and it would be much easier to get a friendlier distro than troubleshoot this stuff.
February 22, 2008, 9:15 PM
BreW
arrg! in that case, how would i get ld? it's not in the packages...
February 23, 2008, 12:56 AM
Kp
You didn't install the assembler/linker.  You need to install the binary utilities if you expect to link anything.

Also, it looks like you logged in as root.  Don't do that.
February 23, 2008, 3:51 AM
BreW
Heh. All i needed to do is reinstall binutils, and look at that. i have ld. so i did ./configure, got a bit farther than i did last time, but it errors again. i was missing m4. Fortunately it was easier to find and install then i expected.. so after 10-12 minutes of verbose output, compiling and linking it finally compiled. Wow! So now with libgmp compiled, i went back to compile bncsutil. It came out just fine. I then mv'd it to /usr/bin/ld. Then... when i go back to compile my project (gcc blah.c -lbncsutil -o blah) it gives me the error "collect2: ld terminated with signal 11 [Segmentation fault]". Googling was no help at all, I couldn't find what i was looking for. Help? I'm somewhat lost. All that hard work got me was having ld segfault on linking instead of segfaulting on runtime.

EDIT ** When i tried to do ld -version it gave me a segfault. it's the damn linker itself. WHY?
iago was right. gdb tiem nao ^^;;

[code]
bash-3.2# gdb ld
GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) run -version
Starting program: /usr/bin/ld -version
(no debugging symbols found)

Program received signal SIGSEGV, Segmentation fault.
0x80003316 in __do_global_dtors_aux ()
(gdb) backtrace
#0  0x80003316 in __do_global_dtors_aux ()
#1  0x00000002 in ?? ()
[/code]

It doesn't tell me much. All that I know now is that two addresses aren't what they're supposed to be.

EDIT 2 ***
Oh wow, I pacman -Sy binutils again and it all of a sudden works...? when I get this problem it appears as if the only solution is to reinstall it. Why does it have to be so screwy?
Not only that, but i still get an error. It can't find -lbncsutil, what now?
February 23, 2008, 3:41 PM
K
I suspect doing "mv anything /usr/bin/ld " will cause your linker not to work.  Why would you do that? 

libbncsutil needs to be in /lib /usr/lib /usr/local/lib (etc) or in your LD_LIBRARY_PATH.  You might need to run ldconfig to update any necessary links as well.

February 23, 2008, 5:09 PM
BreW
[quote author=K link=topic=17334.msg176629#msg176629 date=1203786554]
I suspect doing "mv anything /usr/bin/ld " will cause your linker not to work.  Why would you do that? 
[/quote]

oops :D
I saw that (thought it was a directory) right before the 'not found' error message, and i subconciously thought that i had to move it there.

[quote]
libbncsutil needs to be in /lib /usr/lib /usr/local/lib (etc) or in your LD_LIBRARY_PATH.  You might need to run ldconfig to update any necessary links as well.
[/quote]

Let me try that.

EDIT ** well it works! Thanks for all the help, K.
February 23, 2008, 5:18 PM
Kp
Doesn't your distro have a prebuilt package for libgmp? :p

You should probably alias mv to mv -i and be very careful about deleting anything you don't understand.
February 23, 2008, 6:23 PM
BreW
[quote author=Kp link=topic=17334.msg176631#msg176631 date=1203790993]
Doesn't your distro have a prebuilt package for libgmp? :p
[/quote]
Nope.

[quote]
You should probably alias mv to mv -i and be very careful about deleting anything you don't understand.
[/quote]
Good idea :P
February 23, 2008, 6:53 PM
BreW
So, today I finally got a monitor. I figured i would install arch on this tower that i'll hook it up to, right? So i set the bios to boot from the cd, insert the cd, then reboot. It displays this message...
[quote]
Arch Linux
http://www.archlinux.org
Copyright 2002 - 2007 Judd Vinet <jvinet@zeroflux.org>
Distributed under the GNU General Public License (GPL)

ISOLINUX BOOT
Creation Tool: 'mkbootcd' written by Tobias Powalowski <tpowa@archlinux.org>

INSTALLATION / RESCUEBOOT SYSTEM
Arch Linux v0.8 Voodoo
Kernel: 2.6.20-ARCH
Architecture: x86_64
Creation Date: Mo 26. Mär 20:09:55 UTC 2007

Available boot options (no input will boot the install/rescue system):
- 'arch <any_other_boot_option>' to boot the install/rescue system.
- 'arch root=/dev/??? <any_other_boot_option>' to boot into an existing system.
- If you have trouble with IDE drives, use the "ide-legacy" boot option
- If your system hangs during the boot process, any combinations of the
  boot options noapic acpi=off pci=routeirq nosmp may be useful
- 'memtest' to start the memory test program memtest86+.
[/quote]

I type in arch and press enter. You'd expect it to install, right?
Sure! It *almost* installs. It says "Loading vmlinuz", then after a while it says "Loading initrd.img". This is the problem: After it finishes loading (i presume), it reboots. I'm exactly right where i started off, and i can continue doing this ad nauseam. What's the problem?
Note: I'm using a bit of an older system (pentium mmx @ 200mhz, 16384 kb of ram, a cd drive, zip drive, and a floppy drive.) but in theory, it *should* work just fine.
February 24, 2008, 2:30 AM
Newby
Are you passing root as a boot option?
February 24, 2008, 3:27 AM
BreW
[quote author=Newby link=topic=17334.msg176641#msg176641 date=1203823664]
Are you passing root as a boot option?
[/quote]
No.
February 24, 2008, 3:29 AM
Newby
Nice job. Wish I would have quoted your mistake. I guess this will have to do.:P

And no, I would expect it to boot a shell for you to type /arch/setup into. But that's just being picky.

Have you checked this Wiki for possible solutions to your problem?

Better: does it reboot in the exact same amount of time each time? Browsing Google for help I ran across this:

[quote]Now, we need to add an entry to lilo.conf(leave out the initrd line if you don't have one) Be sure to specify your new kernel. The panic=30 line tells linux to reboot in 30 seconds if the kernel chokes.[/quote]

I am not sure if that's the problem (it probably won't be exact, but maybe the loader is set to do something similar) but it's a start I suppose, since there's no other error messages to work with.
February 24, 2008, 4:22 AM
BreW
[me=brew]sighs[/me]
I did mean to say arch, but i was thinking of root at the time. Oh wow, you screenshotted my post? I feel special <3
February 24, 2008, 5:16 AM
Kp
I'm a bit surprised it gets even that far, since you're trying to use a x86_64 installation disc on something that's far too old to have amd64 support.  Use an i586 disc instead.
February 24, 2008, 5:34 AM
BreW
oops! that's what i get for not reading.
February 24, 2008, 5:43 AM
Newby
I feel retarded too. Damnit.
February 24, 2008, 7:17 AM
BreW
Hmm, that doesn't seem to be the problem at all. I tried again with the i686 package (note: it's optimized for the i686 platform, not made specifically for it. i believe it's reverse compatible with any older ix86) with no luck-- it does the same exact thing. Even with the lowmem parameter specified. newby: no, it does not reboot after a specific amount of time, just when it gets to this certain "part". I wouldn't be able to tell you exactly, but it's about 3 3/4ths "dot" lines down of "Loading initrd.img ......." I remember having this problem quite a while ago in vmware too... hmmmmmmm

EDIT**
So i tried installing fbsd, and it does the SAME EXACT THING, except faster. What's going on ? I am using MagicISO to burn the iso images onto disk. Could it make it unbootable or something?
February 24, 2008, 1:54 PM
Kp
Boot the CD in VMware (it can connect physical drives to the guest).  If that works, it's your old hardware.  If it doesn't, your CD is bad.

Choosing an i686 disc may or may not work, depending on distro.  iirc, a Pentium with MMX is an i586, not an i686.  Some distros build the i686 media with instructions that first appeared in Pentium2, so it may not work on an i586.  That's why I told you to get i586.  A lower choice, like i386 or i486 should also work.  However, iirc, recent glibc dropped support for i386.  You now need at least a 486 to run a recent GNU/Linux. ;)
February 24, 2008, 5:03 PM
Newby
[quote author=Kp link=topic=17334.msg176654#msg176654 date=1203872631]
Some distros build the i686 media with instructions that first appeared in Pentium2, so it may not work on an i586.  That's why I told you to get i586.
[/quote]

Unfortunately, it looks like Arch Linux (on this mirror, anyway) only comes with i686 / x86_64 builds. brew may be SOL.

But brew, look: the Ubuntu installer CD is i386! http://www.ubuntu.com/getubuntu lead me to http://ls.releases.ubuntu.com/gutsy/ubuntu-7.10-desktop-i386.iso so I bet you'll get something similar. :)
February 24, 2008, 5:33 PM
BreW
Kp, that was a good idea. I was able to deduce that it infact wasn't my disk, but instead the computer itself. It worked just fine at 32 mb of ram, but did nearly the same thing as the computer i'm trying to install it on with 16 (except vmware gave me a semi-useful error message).
[quote]
Feb 24 15:41:06.828: vcpu-0| [msg.log.error.unrecoverable] VMware Player unrecoverable error: (vcpu-0)
Feb 24 15:41:06.828: vcpu-0| NOT_IMPLEMENTED C:/ob/bora-45731/bora/devices/misc/flashram.c:513
Feb 24 15:41:06.828: vcpu-0| [msg.panic.haveLog] A log file is available in "C:\Documents and Settings\Owner\Desktop\test\vmware.log".  [msg.panic.haveCore] A core file is available in "C:\Documents and Settings\Owner\Application Data\VMware\vmware-vmx-3872.dmp".  [msg.panic.requestSupport.withLogAndCore] Please request support and include the contents of the log file and core file.  [msg.panic.requestSupport.vmSupport]
Feb 24 15:41:06.828: vcpu-0| To collect files to submit to VMware support, run "vm-support.vbs".
Feb 24 15:41:06.828: vcpu-0| [msg.panic.response] We will respond on the basis of your support entitlement.
[/quote]

I think the problem is just my ram (or lack thereof). I wonder where I'm going to find another one of those antiquated ram sticks!
February 24, 2008, 8:46 PM
JoeTheOdd
lol, he wants a linux version of bncsutil but can't configure xorg or his package manager? What's he going to do, program with it?
February 25, 2008, 6:56 AM
BreW
It's easy to tell when joe visited the vL forums, since he manages to leave 4-5 posts of pure stupidity per visit. I guess my thread happened to be the unfortunate victim of one of them.
FYI: I don't know where you're getting your information from, but I'd just like to take this moment out of my time to enlighten you that I can easily configure xorg using the command nano /etc/X11/xorg.conf.
February 25, 2008, 8:18 PM
iago
[quote author=brew link=topic=17334.msg176669#msg176669 date=1203970733]
...nano...
[/quote]
Proof that you shouldn't be on Linux! :P
February 25, 2008, 8:51 PM
Barabajagal
[me=Andy]shudders[/me]
February 25, 2008, 8:54 PM
JoeTheOdd
Brew's post count is 666. Hm.
February 25, 2008, 9:00 PM
Explicit[nK]
[quote author=iago link=topic=17334.msg176672#msg176672 date=1203972713]
[quote author=brew link=topic=17334.msg176669#msg176669 date=1203970733]
...nano...
[/quote]
Proof that you shouldn't be on Linux! :P
[/quote]

I wonder if vi or vim is too complex for him. :(
February 26, 2008, 5:54 AM
Newby
[quote author=Explicit[nK] link=topic=17334.msg176680#msg176680 date=1204005263]
[quote author=iago link=topic=17334.msg176672#msg176672 date=1203972713]
[quote author=brew link=topic=17334.msg176669#msg176669 date=1203970733]
...nano...
[/quote]
Proof that you shouldn't be on Linux! :P
[/quote]

I wonder if vi or vim is too complex for him. :(
[/quote]

Probably. Hence why he's using nano... :P
February 26, 2008, 6:30 AM
BreW
[quote author=iago link=topic=17334.msg176672#msg176672 date=1203972713]
[quote author=brew link=topic=17334.msg176669#msg176669 date=1203970733]
...nano...
[/quote]
Proof that you shouldn't be on Linux! :P
[/quote][me=brew]gasps[/me]
That evidence is quite compelling! It's clear that the defendant, mr. brew, is guilty of taking the easy way out of editing text!
February 26, 2008, 8:21 PM
iago
[quote author=brew link=topic=17334.msg176691#msg176691 date=1204057296]
[quote author=iago link=topic=17334.msg176672#msg176672 date=1203972713]
[quote author=brew link=topic=17334.msg176669#msg176669 date=1203970733]
...nano...
[/quote]
Proof that you shouldn't be on Linux! :P
[/quote][me=brew]gasps[/me]
That evidence is quite compelling! It's clear that the defendant, mr. brew, is guilty of taking the easy way out of editing text!
[/quote]
Funny thing is, to any real Linux person, it is. :P
February 26, 2008, 8:55 PM
Kp
Real Linux users use cat</dev/tty>filename. ;)

[Cue cascading series.]
February 27, 2008, 12:52 AM
Barabajagal
[img]http://imgs.xkcd.com/comics/real_programmers.png[/img] all over again....
February 27, 2008, 1:04 AM
aton
i use linux only and i got bncsutil working with some modifications of mine.
if anyone still needs it, drop me a message, as soon as i can access my hd again i will send it to you.
i also coded warden handling for linux if someone is interested.

and... ubuntu sucks dicks.
October 6, 2008, 2:03 PM
Yegg
[quote author=aton link=topic=17334.msg180080#msg180080 date=1223301782]
i use linux only and i got bncsutil working with some modifications of mine.
if anyone still needs it, drop me a message, as soon as i can access my hd again i will send it to you.
i also coded warden handling for linux if someone is interested.

and... ubuntu sucks dicks.

[/quote]

I think iago already had the warden code already out written in C. IIRC, it wasn't specific to any system.
October 6, 2008, 2:08 PM
MyStiCaL
[quote author=aton link=topic=17334.msg180080#msg180080 date=1223301782]
i use linux only and i got bncsutil working with some modifications of mine.
if anyone still needs it, drop me a message, as soon as i can access my hd again i will send it to you.
i also coded warden handling for linux if someone is interested.

and... ubuntu sucks dicks.

[/quote]

ill be intrested.
October 7, 2008, 5:21 PM

Search