Posts: 13
anybodhi
Joined: 26 May 2011
#1
hello

after installing antix m11 on a key in live mode, (using unetbootin see my post
in welcome to antix) with persistence, everything is alright with the exception of shutdown :
when i shutdown from the logout menu, antix desktop closes but the computer freezes
on the console screen and the only way out id a hard reset

can somebody help to investigate this ?

thanks in advance,

ani
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#2
Just to see where the issue might be.
Try logout and at slim login screen type, reboot or halt and then root password (root).
Does it shutdown ok?
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#3
On some of my older gear Laptops,
acpi=force, is needed to shut down all the way in /boot/grub/menu.lst
kernel line.
Posts: 13
anybodhi
Joined: 26 May 2011
#4
anticapitalista wrote:Just to see where the issue might be.
Try logout and at slim login screen type, reboot or halt and then root password (root).
Does it shutdown ok?

can't logout, can't do nothing but a hard reset...

ani
Posts: 13
anybodhi
Joined: 26 May 2011
#5
rokytnji wrote:On some of my older gear Laptops,
acpi=force, is needed to shut down all the way in /boot/grub/menu.lst
kernel line.

hello

thanks for suggestions. i'm not using grub :

i boot from a usb key with extlinux (unetbootin installed), you can read details in my last post
in"welcome to antix".

i wonder wether it is because i installed some extra packages (i use rootfs= cheatcode for the
writable part of the key (2 partitions, ext2) or if the system hangs because of this rootfs= wich
in a way might confuse the kernel [because not using grub ? but what relation ?]

ani
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#6
i boot from a usb key with extlinux (unetbootin installed)
Probably the root cause of problem because of your custom
i installed some extra packages (i use rootfs= cheatcode for the
writable part of the key (2 partitions, ext2) or if the system hangs because of this rootfs= wich
in a way might confuse the kernel [because not using grub ?
So changing parameters by hand are confusing the script. I've learned that Linux scripts can only cover so much of a custom situation. The writer of said code in a script can only cover what he/she knows might arise.
Can't cover all bases when it comes to what a user thinks of tweaking. Hope I am making sense here.

Unfortunately. I am more of a parts changer and minor parts tweaker instead of a full blown machinist when it comes to AntiX. So I don't know what script you need to modify for your particular situation,
Posts: 13
anybodhi
Joined: 26 May 2011
#7
rokytnji wrote:
So changing parameters by hand are confusing the script. I've learned that Linux scripts can only cover so much of a custom situation. The writer of said code in a script can only cover what he/she knows might arise.
Can't cover all bases when it comes to what a user thinks of tweaking. Hope I am making sense here.

Unfortunately. I am more of a parts changer and minor parts tweaker instead of a full blown machinist when it comes to AntiX. So I don't know what script you need to modify for your particular situation,
hi

see what you mean i'm more than that"not too deep in tweaking" not even started with linux live scripts
nevertheless i'd try to find and repair this. perhaps starting again from a fresh install (had problems with antix2usb)

here are some details if anyone is interrested :

----------------------------------------------------------------------------------------------------------------------------------------------------------
after clicking the shutdown button screen displays the remainder of the login dialogs, wich at the last lines show :
.............
Starting Network connection manager: wicd.
mv: cannot stat `/etc/antiX-live/dump-rcS.d/*':No such file or directory
startpar: service(s) returned failure: rc.local... failed!

Welcome to antiX. Powered by Debian Testing and MEPIS.
For cli install, login as root (password=root) and type cli-installer.
Follow the instructions.
antiX login:
................

from here, hard reset is the only way out. as there was an error message about a missing file
i was trying to find more... but found nothing in the logs...

using locate i found (from live, on the""faulty"" key:

code :

root@antiX1:/aufs/home/demo# updatedb
root@antiX1:/aufs/home/demo# locate antiX-live
/linux/etc/antiX-live
/linux/etc/antiX-live/dump-rc3.d
/linux/etc/antiX-live/dump-rc5.d
/linux/etc/antiX-live/dump-rcS.d
/linux/etc/antiX-live/dump-rc3.d/dummy
/linux/etc/antiX-live/dump-rc5.d/dummy
/linux/etc/antiX-live/dump-rcS.d/dummy
/persist-root/etc/.wh.antiX-live
root@antiX1:/aufs/home/demo#

so i suppose there is a problem due to rootfs= ...

key is now formated with 3 parts :
sdb1 -> live installed with unetbootin (ext2) using extlinux (see below)
sdb2 -> homefs (ext2)
sdb3 -> rootfs (ext2)

extlinux.conf as : (i only boot default entry wich i customized)


default menu.c32
prompt 0
menu title UNetbootin
timeout 100

label unetbootindefault
menu label Default
kernel /ubnkern
append initrd=/ubninit quiet lang=fr nosplash noxorg nouveau.modeset=0 acpi=force rootfs=UUID=9e00fb99-a192-46e4-b24c-c34b91aaae8d homefs=UUID=ea77c195-158c-449b-9cc3-5949c2fc3148

label ubnentry0
menu label antiX-desktop
kernel /boot/vmlinuz
append initrd=/boot/initrd.gz quiet nosplash lean noxorg persistent

label ubnentry1
menu label antiX-icewm-no icons
kernel /boot/vmlinuz
append initrd=/boot/initrd.gz quiet nosplash lean noxorg noRox persistent
... up to entry 24 (i do not use 0-->24 so i did not"customize those)
-----------------------------------------------------------------------------------------------------------------------------------------------------------




thanks for helping see you later,

ani
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#8

Code: Select all

Welcome to antiX. Powered by Debian Testing and MEPIS.
For cli install, login as root (password=root) and type cli-installer.
Follow the instructions.
antiX login
As a test. When you get to above prompt. Instead of hard shutdown. Log in as root.

type in

Code: Select all

shutdown -h now
to see if it will shutdown normally from there instead of hard reset. Worth a shot maybe.
Posts: 13
anybodhi
Joined: 26 May 2011

13 Jun 2011, 09:00 #9

rokytnji wrote:

Code: Select all

Welcome to antiX. Powered by Debian Testing and MEPIS.
For cli install, login as root (password=root) and type cli-installer.
Follow the instructions.
antiX login
As a test. When you get to above prompt. Instead of hard shutdown. Log in as root.

type in

Code: Select all

shutdown -h now
to see if it will shutdown normally from there instead of hard reset. Worth a shot maybe.
well i've tried that even typing blind (i was making the supposition only display was hanging if ...)
but no reaction : (logged blind as root and typing"reboot") so i use sysreq + s (synchronizing)
/sysrec + b (reboot).

[the displayed messages are the remainder of booting process...]

any idea about those messages hanging on the console i mentionned before ?
---------------------------------------------------------------------------------------------------------------------------
code :
mv: cannot stat `/etc/antiX-live/dump-rcS.d/*':No such file or directory
startpar: service(s) returned failure: rc.local... failed!
---------------------------------------------------------------------------------------------------------------------------
i searched the logs but did'nt found anything... __{{emoticon}}__

thanks

ani
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#10
That message is not the cause or result of your problem. It is harmless.

Try booting and rebooting with mean lean and Xtralean cheats.
Posts: 13
anybodhi
Joined: 26 May 2011
#11
hi Anticapitalista

i've tried mean lean / Xtralean, there is no change

nevertheless the persistance is ok so i can use my key, some times
i can switch off by pressing power button, this is misteriously not regular
some times i really nead a hard reset (power button maintained pressed
during 5 seconds)
tried on del x300, home made athlon XP based, dell gx 260, result is the same

thanks for everything

ani