LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-05-2010, 10:43 AM   #151
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470

ok
thx

err...what os' do you have hdd installed to your 2 netbooks?
windows or what?
how many computers you got and what they are?

I'm just curious
 
Old 07-05-2010, 11:09 AM   #152
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Thumbs up

Today I have uploaded the new and improved nFluxOS arch and slackware
versions.
These two versions fix the persistent usb problems and I hope maybe I also
fixed some of the locales problems too, I hope

they also now come as a .zip file with iso, md5sum, and some info files too
Please read the README, it regards the persistency issues with squashfs 4.0

Slackware version now includes the sawfish desktop module
on the iso! ARCH version already had it

The new downloads are here
http://multidistro.com/downloads/newdownloads.html

and changelog/news
http://www.multidistro.com/news.html

Last edited by linus72; 07-05-2010 at 11:10 AM.
 
Old 07-05-2010, 12:44 PM   #153
lq_asking
Member
 
Registered: May 2010
Location: Berlin
Posts: 82

Rep: Reputation: 16
Quote:
Originally Posted by linus72 View Post
ok
thx

err...what os' do you have hdd installed to your 2 netbooks?
windows or what?
how many computers you got and what they are?

I'm just curious
One homebuilt PC-Box: Gigabyte GA-EP45-UDLR (Intel P45 chipset) mobo with Intel Q9400 CPU(4 cores), graphics-card: MSI N210-MD512H (NVidia G210 chip), 4GB RAM HDD's: 2x250GB 2,5", 1x500GB 3,5". The 2,5"-drives can be internally connected as SATA-drives via dockingstation or as external drives connected via eSATA- or USB 2.0-interface. 3,5" drive is externally connected over eSATA- or USB 2.0-interface.

I own one Samsung NC10.
Installed OS'there: Windows XP, Antix 8.5, Ubuntu Studio Lucid with Abogani's realtime-kernel, FluxFlux-SL 2009.
 
Old 07-06-2010, 04:08 AM   #154
lq_asking
Member
 
Registered: May 2010
Location: Berlin
Posts: 82

Rep: Reputation: 16
new nFluxOS-ARCH-2010.05-i686-j4 and german keyboad setting

@linus72
The X-Server freezes again in your new ARCH-edition.

We have to narrow down the problem.

I propose for a test to put into the rootcopy-folder this:

/mnt/liv/mnt/sdb1/nFluxOS_Csq4/rootcopy/etc/rc.conf
Code:
LOCALE="de_DE.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="Europe/Berlin"
KEYMAP="de-latin1-nodeadkeys"
CONSOLEFONT="default8x16"
CONSOLEMAP=
USECOLOR="yes"
- nothing else.

Please boot the live-stick into the console mode- but without persistent store. Then login and start the desktop. Please report whether it freezes with you or not.
 
Old 07-06-2010, 06:57 AM   #155
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Mmmm
I cant reproduce the freezing lq_asking

and you mean
Code:
/mnt/liv/mnt/sdb1/nFluxOS_archj4/rootcopy/etc/rc.conf
?

I tried several things and no freezing

I also found some other stuff too

/etc/profile.d/slax.sh

/etc/profile.d/lang.sh

/etc/profile.d/locale.sh

maybe those have to be in /rootcopy too made out for de, etc?
not sure

and, again, the slack one does not freeze when you do as above?
 
Old 07-06-2010, 07:10 AM   #156
lq_asking
Member
 
Registered: May 2010
Location: Berlin
Posts: 82

Rep: Reputation: 16
Quote:
Originally Posted by linus72 View Post
Mmmm
I cant reproduce the freezing lq_asking

and you mean
Code:
/mnt/liv/mnt/sdb1/nFluxOS_archj4/rootcopy/etc/rc.conf
?
Sorry, you are right. I meant ".../nFluxOS_archj4/..."
Quote:
I tried several things and no freezing
How did you manage?
Quote:
I also found some other stuff too

/etc/profile.d/slax.sh

/etc/profile.d/lang.sh

/etc/profile.d/locale.sh

maybe those have to be in /rootcopy too made out for de, etc?
not sure
I shall try that.
Quote:
and, again, the slack one does not freeze when you do as above?
Didn't try yet. Would guess it doesn't.
 
Old 07-06-2010, 07:33 AM   #157
lq_asking
Member
 
Registered: May 2010
Location: Berlin
Posts: 82

Rep: Reputation: 16
Quote:
Originally Posted by linus72 View Post
I also found some other stuff too
...
/etc/profile.d/lang.sh

/etc/profile.d/locale.sh
Changing the obvious variables to de_DE.utf8 has no positive effect.
 
Old 07-06-2010, 07:36 AM   #158
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
no, I can't get anything to freeze or not work right...
this is perplexing...

when you boot up in non-persistent mode and it freezes, does cntrl-alt-f1 get you back to console or no?
if it does get you back to console
issue

dmesg > output.txt
nano output.txt

and see if you see any errors, etc

does it freeze as soon as X starts or when?
 
Old 07-06-2010, 08:33 AM   #159
lq_asking
Member
 
Registered: May 2010
Location: Berlin
Posts: 82

Rep: Reputation: 16
Quote:
when you boot up in non-persistent mode and it freezes, does cntrl-alt-f1 get you back to console or no?
if it does get you back to console
issue
Absolutely no reaction on anything like that.

So, I compared two subsequent dmesg.log-files.
The first one was from a clean reboot. The second from the necessary hard reset after a desktop-freeze.

The only difference of both files is this:
Code:
...
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sda9): mounted filesystem with ordered data mode
->
EXT3-fs (sdb2): recovery required on readonly filesystem
EXT3-fs (sdb2): write access will be enabled during recovery
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sdb2): orphan cleanup on readonly fs
ext3_orphan_cleanup: deleting unreferenced inode 79967
ext3_orphan_cleanup: deleting unreferenced inode 79966
ext3_orphan_cleanup: deleting unreferenced inode 79965
ext3_orphan_cleanup: deleting unreferenced inode 79964
ext3_orphan_cleanup: deleting unreferenced inode 79963
ext3_orphan_cleanup: deleting unreferenced inode 79962
ext3_orphan_cleanup: deleting unreferenced inode 79961
ext3_orphan_cleanup: deleting unreferenced inode 79960
ext3_orphan_cleanup: deleting unreferenced inode 79959
ext3_orphan_cleanup: deleting unreferenced inode 79958
ext3_orphan_cleanup: deleting unreferenced inode 79957
ext3_orphan_cleanup: deleting unreferenced inode 79955
ext3_orphan_cleanup: deleting unreferenced inode 79954
EXT3-fs (sdb2): 13 orphan inodes deleted
EXT3-fs (sdb2): recovery complete
<-
EXT3-fs (sdb2): mounted filesystem with ordered data mode
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sdb2): using internal journal
EXT3-fs (sdb2): mounted filesystem with ordered data mode
udev: starting version 158
It shows (difference shown between arrows) the expected cleanup of the corrupted EXT3-journal because of the missing sync of the persistent store on /dev/sdb2 before the hard reset.

Last edited by lq_asking; 07-06-2010 at 09:03 AM.
 
Old 07-07-2010, 06:16 AM   #160
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Thats not good!

my bad; I'm gonna suspend the ARCH iso's till I get it fixed...

Ritchie may have found the solution via Slax's "cleanup" script
found in /root/linux-live-6.3.0_x86/initrd/

Update
doing as below it seems to work for mine on usb

EDIT: Grab /bin/ash from the slackware nfluxos .!!
Transfer slackware /bin/ash to nFluxOS_archj4/rootcopy/bin
and put the rc.shutdown from below in nFluxOS_archj4/rootcopy/etc

edited out- dont change /bin/ash to /bin/bash in /mnt/live/cleanup
do as above

here is the modified /etc/rc.shutdown with cleanup script run highlighted

Code:
#!/bin/bash
#
# /etc/rc.shutdown
#

. /etc/rc.conf
. /etc/rc.d/functions

run_hook shutdown_start

# avoid staircase effect
/bin/stty onlcr

echo " "
printhl "Initiating Shutdown..."
echo " "

# avoid NIS hanging syslog-ng on shutdown by unsetting the domainname
if [ -x /bin/domainname ]; then
/bin/domainname ""
fi

if [ -x /etc/rc.local.shutdown ]; then
/etc/rc.local.shutdown
fi

# Find daemons NOT in the DAEMONS array. Shut these down first
if [ -d /var/run/daemons ]; then
for daemon in $(/bin/ls -1t /var/run/daemons); do
if ! in_array $daemon ${DAEMONS[@]}; then
stop_daemon $daemon
fi
done
fi
# Shutdown daemons in reverse order
let i=${#DAEMONS[@]}-1
while [ $i -ge 0 ]; do
if [ "${DAEMONS[$i]:0:1}" != '!' ]; then
ck_daemon ${DAEMONS[$i]#@} || stop_daemon ${DAEMONS[$i]#@}
fi
let i=i-1
done

# Terminate all processes
stat_busy "Sending SIGTERM To Processes"
run_hook shutdown_prekillall
/sbin/killall5 -15 &> /dev/null
/bin/sleep 5
stat_done

stat_busy "Sending SIGKILL To Processes"
/sbin/killall5 -9 &> /dev/null
/bin/sleep 1
stat_done

run_hook shutdown_postkillall

stat_busy "Saving Random Seed"
RANDOM_SEED=/var/lib/misc/random-seed
[ -d $(dirname $RANDOM_SEED) ] || mkdir -p $(dirname $RANDOM_SEED)
: > $RANDOM_SEED
/bin/chmod 0600 $RANDOM_SEED
POOL_FILE=/proc/sys/kernel/random/poolsize
if [ -r $POOL_FILE ]; then
POOL_SIZE=$(/bin/cat $POOL_FILE)
else
POOL_SIZE=512
fi
/bin/dd if=/dev/urandom of=$RANDOM_SEED count=1 bs=$POOL_SIZE &> /dev/null
stat_done

stat_busy "Saving System Clock"
if [ "$TIMEZONE" != "" -a -e "/usr/share/zoneinfo/$TIMEZONE" ]; then
/bin/rm -f /etc/localtime
/bin/cp "/usr/share/zoneinfo/$TIMEZONE" /etc/localtime
fi

HWCLOCK_PARAMS="--systohc"
if [ "$HARDWARECLOCK" = "UTC" ]; then
HWCLOCK_PARAMS="$HWCLOCK_PARAMS --utc"
elif [ "$HARDWARECLOCK" = "localtime" ]; then
HWCLOCK_PARAMS="$HWCLOCK_PARAMS --localtime"
else
HWCLOCK_PARAMS=""
fi
if [ -n "$HWCLOCK_PARAMS" ]; then
/sbin/hwclock $HWCLOCK_PARAMS
fi
stat_done

# removing psmouse module to fix some reboot issues on newer laptops
/sbin/modprobe -r psmouse >/dev/null 2>&1

# Write to wtmp file before unmounting
/sbin/halt -w

stat_busy "Deactivating Swap"
/sbin/swapoff -a
stat_done

# Run any local shutdown scripts:
if [ /mnt/live/cleanup ]; then
  cd /mnt/live
  exec ./cleanup <dev/console >dev/console 2>&1
fi

stat_busy "Unmounting Filesystems"
/bin/umount -a -r -t noramfs,notmpfs,nosysfs,noproc,nodevtmpfs -O no_netdev
stat_done

# Kill non-root encrypted partition mappings
if [ -f /etc/crypttab -a -n "$(/bin/grep -v ^# /etc/crypttab | /bin/grep -v ^$)" ]; then
stat_busy "Deactivating encrypted volumes:"
# Arch cryptsetup packages traditionally contained the binaries
# /usr/sbin/cryptsetup
# /sbin/cryptsetup.static
# By default, initscripts used the /sbin/cryptsetup.static.
# Newer packages will only have /sbin/cryptsetup and no static binary
# This ensures maximal compatibility with the old and new layout
if [ -x /sbin/cryptsetup ]; then
CS=/sbin/cryptsetup
elif [ -x /usr/sbin/cryptsetup ]; then
CS=/usr/sbin/cryptsetup
else
CS=/sbin/cryptsetup.static
fi
do_uncrypt() {
if [ $# -ge 3 ]; then
if [ -b /dev/mapper/$1 ] ;then
stat_append "${1}.."
$CS remove $1 >/dev/null 2>&1
if [ $? -ne 0 ]; then
stat_append "failed "
else
stat_append "ok "
fi
fi
fi
}
while read line; do
eval do_uncrypt "$line"
done /dev/null 2>&1
stat_done
fi
fi

stat_busy "Remounting Root Filesystem Read-only"
/bin/mount -n -o remount,ro /
stat_done

run_hook shutdown_poweroff

# Power off or reboot
if [ "$RUNLEVEL" = "0" ]; then
printsep
printhl "${C_H2}POWER OFF"
/sbin/poweroff -d -f -h -i
else
printsep
printhl "${C_H2}REBOOTING"
# if kexec is installed and a kernel is loaded, use it
[ -x /sbin/kexec ] && /sbin/kexec -e > /dev/null 2>&1
/sbin/reboot -d -f -i
fi

# End of file
# vim: set ts=2 sw=2 noet:
so put that in /rootcopy/etc/rc.shutdown and tell me if it works
it worked for the x86_64 arch one I made and I'm gonna test the j4 arch x86 too

Last edited by linus72; 07-07-2010 at 06:46 AM.
 
Old 07-08-2010, 02:23 AM   #161
lq_asking
Member
 
Registered: May 2010
Location: Berlin
Posts: 82

Rep: Reputation: 16
Quote:
Originally Posted by lq_asking View Post
Absolutely no reaction on anything like that.

So, I compared two subsequent dmesg.log-files.
The first one was from a clean reboot. The second from the necessary hard reset after a desktop-freeze.

The only difference of both files is this:
Code:
...
->
EXT3-fs (sdb2): recovery required on readonly filesystem
EXT3-fs (sdb2): write access will be enabled during recovery
kjournald starting.  Commit interval 5 seconds
EXT3-fs (sdb2): orphan cleanup on readonly fs
ext3_orphan_cleanup: deleting unreferenced inode 79967
...
EXT3-fs (sdb2): 13 orphan inodes deleted
EXT3-fs (sdb2): recovery complete
<-
...
It shows (difference shown between arrows) the expected cleanup of the corrupted EXT3-journal because of the missing sync of the persistent store on /dev/sdb2 before the hard reset.
Quote:
Originally Posted by linus72 View Post
Thats not good!

my bad; I'm gonna suspend the ARCH iso's till I get it fixed...

Ritchie may have found the solution via Slax's "cleanup" script
... solution of what?
Quote:
Originally Posted by linus72 View Post
...
- dont change /bin/ash to /bin/bash in /mnt/live/cleanup
do as above

here is the modified /etc/rc.shutdown with cleanup script run highlighted

Code:
#!/bin/bash
#
# /etc/rc.shutdown
#

. /etc/rc.conf
...
# End of file
# vim: set ts=2 sw=2 noet:
so put that in /rootcopy/etc/rc.shutdown and tell me if it works
it worked for the x86_64 arch one I made and I'm gonna test the j4 arch x86 too
@linus72

Do we converse on the same matter?

I didn't see any error in dmesg.log after rebooting from a normal - non-frozen - system state.

The orphaned inodes shown above were only a result of the forced hardreset after a system-freezing and I did expect them!

I can't see a causal connection of rc.shutdown and the system-freezing after starting X.

So I expected what I got:

1) clean dmesg.logs with and without rc.shutdown and /bin/ash in rootcopy when shutting down normally

2) freezing when starting X with and without rc.shutdown!
 
Old 07-08-2010, 06:21 AM   #162
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
hey lq_asking
I did misinterpret your post a bit
but its cause I was tryin to figure out why the ARCH one is not umountinng the device
it's booting from(usb)
the ARCH version seems screwy and I dont know if it's harmful to my/your hard drive or usb's
as its not cleanly unmounting at reboot/shutdown
thats why the cleanup script is maybe needed
I spent all day yesterday trying to debug and integrate the cleanup script into
arch's rc.shutdown with no success.

As for the freezing I really am at a loss on that too
as I cannot reproduce it

It could be something to do with how xorg is interpreting the German stuff or
a number of things probably...
and you said it also freezes in Vesa mode too?

and its doing it on 2 different computers too right?
that means it's something to do with ARCH; as you also said the Slackware one wasn't freezing?

Did you compare the xorg.conf's between the ARCH and slack versions after doing xconf?

did you try using a working xorg.conf from another distro that doesn't freeze?

So, also when using the rc.shutdown, etc as above on my computers it wont shutdown
just reboots...?!

I'm at a loss as how to fix the ARCH one...it's got issues.
weird also how the squashfs 3.4 version of the ARCH one didn't have any of these problems!
 
Old 07-08-2010, 08:37 PM   #163
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
OK
I think I found issue with new iso's was new udev, etc
so I reinstalled the older 3.4 squashfs arch version
added the new kernel,etc
and held back udev, udev-compat and udisks and cut a liveusb
and no issues at shutdown, mounts, etc

now, if this one still freezes, then I will downgrade Xorg to the one
the 3.4 version has
cool?

you said the older squashfs 3.4 version was working as far as German stuff right?
 
Old 07-11-2010, 08:31 AM   #164
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
Aha!
ARCH has changed their initscripts and I think I can now fix the ARCH versions
as I upgraded to "testing" and it installed
"initscripts-2010.07-1-i686.pkg.tar.xz"

which has fixed the problem with the rootfs thing

"mount before
Code:
rootfs on / type rootfs (rw)
/dev/root on / type ext3 (rw,relatime,errors=continue,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=380932k,nr_inodes=95233,mode=755)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw)
shm on /dev/shm type tmpfs (rw)
now, issuing "mount" I get
Code:
[root@nflux SQ40]# mount
/dev/root on / type ext3 (rw,relatime,errors=continue,data=ordered)
devtmpfs on /dev type devtmpfs (rw,relatime,size=479236k,nr_inodes=119809,mode=755)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
devpts on /dev/pts type devpts (rw)
shm on /dev/shm type tmpfs (rw,nosuid,nodev)
So, I'm gonna upgrade the ARCH version to "testing", as nFluxOS is all about the testing versions, etc

Last edited by linus72; 07-11-2010 at 09:05 AM.
 
Old 07-13-2010, 07:00 PM   #165
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,573

Original Poster
Rep: Reputation: 470Reputation: 470Reputation: 470Reputation: 470Reputation: 470
I would like to announce the new Slackware-based
nFluxOS-SC-x86_64 version based on
Slackware x86_64 Current as of today, 07/13/2010

Its pretty sparse and has no office apps, etc
some basic stuff it does have

ddrescue
testdisk
gparted
pcmanfm
leafpad
lxterminal
rox-filer
fbpanel
fluxbox
wicd
gslapt

it also has
Alien Bob's Multilib packages
32bit firefox
32bit flashplugin

sbopkg

Makes a nice rescue cd/usb with eye-candy to boot
Installable to hard drive and is remasterable into whatever you want as the modified Linux-live-6.3.0x86_64 is in the /root folder

this also features some of the minor things I am going to be doing in the next i686 version
including the USB persistent wizard and other small things.

It was built on my old HP a810n amd athlon64 3300+

Only account is root
username: root
password: toor

also no GDM or Slim, just "startx"
use "xconf" as root to autoconfigure X
it runs xconf by default in all boot options except vesa and debug mode

Does not include kernel source, if you want that see here
http://multidistro.com/NFLUXNEW/SQ4/kkits/kkits.html

PKG list
http://multidistro.com/NFLUXNEW/SQ4/pkgs64.txt

Download here at bottom
http://multidistro.com/NFLUXNEW/SQ4/slack.html

heres boot menu and desktop
Attached Thumbnails
Click image for larger version

Name:	boot.jpg
Views:	20
Size:	60.1 KB
ID:	4107   Click image for larger version

Name:	slk64.jpg
Views:	19
Size:	87.7 KB
ID:	4108  

Last edited by linus72; 07-13-2010 at 07:27 PM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux-oriented Intro Programming book? Munchkinguy Programming 8 10-16-2007 02:56 AM
LXer: Announcing Foresight Linux 0.9.9 LXer Syndicated Linux News 0 12-18-2006 02:21 AM
LXer: Announcing Foresight Linux 0.9.8.3 LXer Syndicated Linux News 0 10-30-2006 07:21 AM
LXer: Mobile audio editing powered by Linux, thanks to Trinity DAW LXer Syndicated Linux News 0 07-12-2006 12:03 AM
Announcing Slackware Linux 9.0! jeremy Slackware 1 03-20-2003 09:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:01 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration