Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can Somebody Explain this message please
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
OldTango
l33t
l33t


Joined: 21 Feb 2004
Posts: 718

PostPosted: Sun Mar 07, 2004 8:53 pm    Post subject: Can Somebody Explain this message please Reply with quote

I am getting a message during booting that I don't understand how to fix.

Right after
*Starting syslog-ng.....
seq: invaild floating point argument:
Try 'seq --help' for more information.
*Setting DNS domainname to....yadayada

Now I tried the help for seq but that really wasn,t much help as I have no clue what to allpy it to.

Can somebody point me in the right direction please.......

Thanks
Back to top
View user's profile Send private message
irf2003
Veteran
Veteran


Joined: 10 Sep 2003
Posts: 1078

PostPosted: Sun Mar 07, 2004 9:20 pm    Post subject: Reply with quote

I am not familiar with syslog-ng, try another one, like
metalog, or msyslog, metalog is fine. e.g:
Code:

emerge -C syslog-ng
emerge metalog

having said the above, it was my assumption that it is an issue
with syslog-ng.
can you post your /etc/make.conf file, of interest are
your C(XX)FLAGS
or better still the output of
Code:

emerge info

let's see what you have, and we can go on from here
??
hth
Back to top
View user's profile Send private message
bengi
n00b
n00b


Joined: 11 Nov 2003
Posts: 67
Location: East Sussex, UK

PostPosted: Mon Mar 08, 2004 4:41 pm    Post subject: Reply with quote

Hi,

I'm having exactly the same problem,

Quote:
Right after
*Starting syslog-ng.....
seq: invaild floating point argument:
Try 'seq --help' for more information.


I don't think the problem is with syslog-ng as I have unemerged it and the message is still there, the message also appears when shutting down just after the Sending all processes the kill signal message.

My emerge info is:-

Code:
bertha root # emerge info
Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.4-rc2-love1)
=================================================================
System uname: 2.6.4-rc2-love1 i686 Pentium III (Coppermine)
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa avi berkdb cdr crypt cups dvd encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg libg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline samba sdl slang spell ssl svga tcpd truetype x86 xml2 xmms xv zlib"


Any help would be much appreciated.
Back to top
View user's profile Send private message
OldTango
l33t
l33t


Joined: 21 Feb 2004
Posts: 718

PostPosted: Mon Mar 08, 2004 7:49 pm    Post subject: Reply with quote

It wasn't caused by syslog-ng. After I decided to dig into it deeper, and reading the last dmesg I noticed a couple of other errrors. Which were basicly as follows.

unable to register PCM OSS
unable to register some other OSS device.
RamDisk can,t find bootsplash image at :0

Now I am using a monolithic kernel. The gentoo-dev-sources-2.6.3-r2. I have all the sound drivers and Alsa as well as OSS built into the kernel. I thought maybe the OSS part was causing the problem and it very well may have been doing it. However after rebuilding the kernel and removing the OSS stuff, my sound no longer functioned., and the message was still there.

Also I wanted to have a nice bootslpash screen so I followed the little how to in the forums on how to get it working. And was able to sort of make it work right. However I noticed that a boot@ link or some kind of link appeared in my boot partition. It made me think that I had done something installing the bootsplash that caused the segmentation fault.

Well after almost hosing my whole system being a total noob I deleted this boot@ link from my boot partition and the default link folder in my /etc/bootsplash, (i think it was there) WARNING DO NOT MAKE THIS MISTAKE unless you are perpared to work out how to recover from it. Because after doing this little manuevor my system would no longer boot to any O/S.

After the recovery process I removed the link to /usr/src/linux, emerge sync, world update, re-emerged my kernel sources and made sure it was patched in the process. I rebuilt the kernel as before, all sound built into the kernel including OSS. Installed the new kernel build and rebooted the system. My system was back in business with errors gone and sound working perfectly. I do not yet have a working bootsplash and untill I have a lot more info that is up to date I won't have one either......... :cry:

The only other thing of note is that I have tried on a few occasions to install gnucash without success. It constantly fails and after it is emerged I get emerge errors. A waring that three errors exsit and to do a emerge --verbose to view the errors. It is painfuly clear that this program will not run on a 2.6 kernel as an ebuild. Also I bootstraped this system to optimize it to my system hardware and to make sure it had the lastest tools necessary for future use. Every time I have tried to emerge gnucash it has emerged severl other programs that are major downgrades to the ones already on my system, and it never installs sucessfully. I think the powers that be should remove this program as a ebuild.

So I belive this error was caused by a bad bootsplash install (my kernel is currantly booting fine with out that boot@ link in the boot partition) or a corupted gnucash install. or maybe just a corupt kernel build. I would like to here from others on this matter just to see if there is any thing simular to their builds and maybe we can track down the exact cause of this error.


Last edited by OldTango on Mon Mar 08, 2004 8:05 pm; edited 1 time in total
Back to top
View user's profile Send private message
OldTango
l33t
l33t


Joined: 21 Feb 2004
Posts: 718

PostPosted: Mon Mar 08, 2004 8:01 pm    Post subject: Reply with quote

benji

Did you write that make.conf or was it written by the system during the install. I am just wondering because mine is like 3 (+ my USE flags) lines long and has been that way sense my bootstrap process. It seems to me that I need to work on that config to better support my system.
Back to top
View user's profile Send private message
bengi
n00b
n00b


Joined: 11 Nov 2003
Posts: 67
Location: East Sussex, UK

PostPosted: Mon Mar 08, 2004 9:03 pm    Post subject: Reply with quote

The text above is not my make.conf, it is the result of typing "emerge info". With my make.conf, I copied the make.conf.example file and modified it to my needs. I can post it here if you like. If you post your "emerge info" here we could compare setups. I also have noticed that the error only occurs when the bootsplash daemon is started or stopped, if I prevent it from starting at boot by removing it from the default runlevel it is gone. I would be interested to know what kernel sources (which is shown in emerge info) you are running and what version of the bootsplash software you are using also.
Back to top
View user's profile Send private message
OldTango
l33t
l33t


Joined: 21 Feb 2004
Posts: 718

PostPosted: Mon Mar 08, 2004 9:33 pm    Post subject: Reply with quote

Well that was some nice information and here is my emerge info
Code:

Portage 2.0.50-r1 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.3-gentoo-r 2)
=================================================================
System uname: 2.6.3-gentoo-r2 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.3.13
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.7.7
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-tbird -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/s hare/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-tbird -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/ ftp://gentoo.ccccom.com ftp  ://gentoo.netnitco.net/pub/mirrors/gentoo/source/ http://mirrors.tds.net/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow X apm arts avi berkdb bonobo cdr crypt cups encode esd foomaticdb gb gdbm gif gnome gphoto gpm gtk gtk+-2.0.0 gtk2 gtkhtml guile imagemagick imlib ja va jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg mysql ncurses nls oggvor bis opengl oss pam pdflib perl png ppds python quicktime readline sdl slang spel l sse ssl svga tcpd tiff truetype wmf x86 xml2 xmms xv zlib"


where can i find the bootsplash info you would like to see?

Also based on your results it would appear thart the bootsplash may be causing the problem.
Back to top
View user's profile Send private message
bengi
n00b
n00b


Joined: 11 Nov 2003
Posts: 67
Location: East Sussex, UK

PostPosted: Mon Mar 08, 2004 11:46 pm    Post subject: Reply with quote

If you enter "emerge -p bootsplash" that should say the version it would emerge and the version you are currently running in square brackets at the end of the line.
Back to top
View user's profile Send private message
OldTango
l33t
l33t


Joined: 21 Feb 2004
Posts: 718

PostPosted: Tue Mar 09, 2004 12:11 am    Post subject: Reply with quote

I am running bootsplash-0.6-r9, at least I think I am. The emerge -p just shows 1 ver and it has an R in the ebuild brackets.

I am also curious if you also followed the gentoo forum tutorial for the bootsplash install.
Back to top
View user's profile Send private message
bengi
n00b
n00b


Joined: 11 Nov 2003
Posts: 67
Location: East Sussex, UK

PostPosted: Tue Mar 09, 2004 12:45 am    Post subject: Reply with quote

Yep, I also followed that. I am running bootsplash version 0.6-r11 - which is the latest version in portage. I also notice slight screen corruptions if I have bootsplash added to the default runlevel when I press F2 to switch from silent to verbose mode.
Back to top
View user's profile Send private message
OldTango
l33t
l33t


Joined: 21 Feb 2004
Posts: 718

PostPosted: Tue Mar 09, 2004 1:40 am    Post subject: Reply with quote

Hi

I comfirmed the above mentioned installed version of the bootsplash I have, using.
Code:

qpkg -I -v | grep bootsplash


I almost forgot about that nifty little tool................... :)

I am positive at this point that the segmentation fault is caused by the bootsplash install, and I am going to do a lot more reading of the installed Documentation before attempting to make it work again. I also am not sure when that tutorial was last updated, but I noticed the original date was almost a year ago. I think I will make a post on that thread and see if anyone else has had the same problem and if there is a answer to it. At any rate I am going to go back to it to do some more reading to the follow up posts.
Back to top
View user's profile Send private message
tredman2
Apprentice
Apprentice


Joined: 06 Dec 2002
Posts: 169
Location: Holiday, FL

PostPosted: Fri Mar 12, 2004 1:32 pm    Post subject: seq error in bootup Reply with quote

Quick fix here.

The problem is in the bootsplash.conf file in /etc/conf.d. There's a setting called BOOTSPLASH_TTYS that is commented out. By default, the value is the same as RC_TTY_NUMBER. However, for some reason, on my machine RC_TTY_NUMBER isn't defined, or isn't defined correctly. Therefore, when /etc/init.d/bootsplash issues the command:
Code:
test -z "${BOOTSPLASH_TTYS}" && BOOTSPLASH_TTYS=`seq 0 "${RC_TTY_NUMBER"`
, the embedded seq command has a problem with the current value of RC_TTY_NUMBER and takes a header into the drink.

The fix for this is to go into /etc/conf.d/bootsplash and uncomment the BOOTSPLASH_TTYS line.

Tim
_________________
Tim
"I drank what?" - Socrates, 399 BCE
Back to top
View user's profile Send private message
bengi
n00b
n00b


Joined: 11 Nov 2003
Posts: 67
Location: East Sussex, UK

PostPosted: Fri Mar 12, 2004 7:04 pm    Post subject: Reply with quote

Nice one, cheers Tim
Back to top
View user's profile Send private message
tredman2
Apprentice
Apprentice


Joined: 06 Dec 2002
Posts: 169
Location: Holiday, FL

PostPosted: Sat Mar 13, 2004 2:05 am    Post subject: seq error in bootup Reply with quote

I actually have another machine, also running bootsplash but with an older bootsplash.conf file. In the older file, there's no such mention of RC_TTY_NUMBER. So the only thing I can figure is that it's a new addition to the package. After doing an upgrade of the software, it looks like it appeared somewhere between 0.6-r9 and 0.6-r11, so it appears to be fairly recent.

However, I still haven't found out where RC_TTY_NUMBER comes from. Just out of curiosity, and after finding nothing at all on Google about it, I started a system-wide grep for the term. Seeing as how it's a 300Mhz PII with about 6G of used drive space, I'll wait a bit and let you know what I find.

Tim
_________________
Tim
"I drank what?" - Socrates, 399 BCE
Back to top
View user's profile Send private message
OldTango
l33t
l33t


Joined: 21 Feb 2004
Posts: 718

PostPosted: Sat Mar 13, 2004 11:26 pm    Post subject: Reply with quote

Thanks for your imput Tim. It is very helpful. Well after a few days of digging into this and tweaking this and that I discovered where I was having problems. The first problem was that I had complied into my kernel both the logo and the splash option..... :oops: The second was in fact a bad bootsplash.conf. At some point I had upgraded from r9 to r11 and during the conf updates the conf was hosed some how, most likely buy me. I also discoverd for myself, (as I have'nt seen this info posted anyplace on the forums except by me in another thread), is that you can not use a color depth greater than 64k.......ie use 0x317 instead of 0x318 for a 1024x768 screen. My splash was working just not displaying the image because of me setting it to 16m. Being the noob that I am it never dawned of me I couldn't use this setting. The seq faults were being cause by a bad bootsplash install and nothing more. After I reset my color depth to the correct setting I downgraded to r9 again and simply over the old conf's, replaced my initrd file in /boot and rebooted. Everything is working great now. To confirm r9 does not have that RC_TTY_NUMBER, line in the config, I checked on that. The only other thing to note is that when making the initrd link to your /boot do it from / and not from boot. Though I haven't comfirmed this I think if you do it from /boot it creates a boot@ link in /boot, that is a link to /boot itself and than require you to add initrd=/boot/initrd-????x????. I created my link from / and all I required on that grub line was initrd=/initrd-1024x768. If I placed /boot in the line gurb would not boot the kernel and I had to chroot back in to fix the problem.

Sorry to be so long winded.......................Thanks All
Back to top
View user's profile Send private message
tredman2
Apprentice
Apprentice


Joined: 06 Dec 2002
Posts: 169
Location: Holiday, FL

PostPosted: Sun Mar 14, 2004 6:33 pm    Post subject: Bootsplash Reply with quote

Well, as far as I can tell, the powers that be have backed up bootsplash to -r9. It may be that there were more issues than just the RC_TTY_NUMBER, and that would certainly jive with some of the issues that you were having.

Tim
_________________
Tim
"I drank what?" - Socrates, 399 BCE
Back to top
View user's profile Send private message
soroh6
Apprentice
Apprentice


Joined: 07 Nov 2002
Posts: 232

PostPosted: Wed Mar 24, 2004 8:23 pm    Post subject: Reply with quote

Hm, I updated to most recent in portage a couple days ago (0.6-r11) and had the seq error, merely uncommented the BOOTSPLASH_TTYS and it works fine now. (thanks, tredman)
_________________
:: soroh -*~
Back to top
View user's profile Send private message
Abraxas
l33t
l33t


Joined: 25 May 2003
Posts: 814

PostPosted: Thu Mar 25, 2004 8:51 am    Post subject: Reply with quote

soroh6 wrote:
Hm, I updated to most recent in portage a couple days ago (0.6-r11) and had the seq error, merely uncommented the BOOTSPLASH_TTYS and it works fine now. (thanks, tredman)


I took a different approach and changed the reference to RC_TTY_NUMBER in /etc/init.d/bootsplash to 5. It basically does the same thing but it still doesn't answer the question as to why RC_TTY_NUMBER does not return a valid number. I think that maybe possibley the config file changed and no longer uses RC_TTY_NUMBER and I did not overwrite it with the new version when I upgraded. I'm going to re-emerge and see what happens.
_________________
Time makes more converts than reason. - Thomas Paine
Travel is fatal to prejudice, bigotry, and narrow-mindedness, and many of our people need it sorely on these accounts. - Mark Twain
Back to top
View user's profile Send private message
tredman2
Apprentice
Apprentice


Joined: 06 Dec 2002
Posts: 169
Location: Holiday, FL

PostPosted: Thu Mar 25, 2004 1:28 pm    Post subject: Bootsplash Reply with quote

Well, I haven't really looked at any details, but -r11 was re-keyword-masked, so my system downgraded back to -r9. However, just this week, -r11 was unmasked and seems to be working fine without the line commented out, though I really haven't paid too much attention to it.

Tim
_________________
Tim
"I drank what?" - Socrates, 399 BCE
Back to top
View user's profile Send private message
JesseP
n00b
n00b


Joined: 23 Feb 2003
Posts: 11

PostPosted: Mon Mar 29, 2004 12:08 am    Post subject: Reply with quote

RC_TTY_NUMBER is part of baselayout-1.8.6.13-r1, which is currently unstable. See https://bugs.gentoo.org/show_bug.cgi?id=45924 for details about the problem and how it has been addressed.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum