[3.0.0.6 (9?) wont shutdown] EDIT: Older 3.x.x.x liquorix kernel ? [SOLVED]
Henkye
Status: Curious
Joined: 28 Oct 2011
Posts: 5
Reply Quote
EDIT:
More problems with 3.0.0.6 liquorix arised.
Question is now:
Is there any older liquorix 3.x.x.x ? If yes, where to get it ?
Until now, liquorix served me very well (thanx !), will be unhappy without it :-(

Old question:
:: Quote ::
Hello guys, first: sry if it's already there somewhere.
I have installed latest liquorix kernel, in customized Ubuntu 11.10 with open box.
To shutdown, using: sudo shutdown -h now, to reboot: sudo shutdown -r now.
Both ends in command line with blinkink cursor, not powering of.
Saying:
:: Code ::

The system is going for halt NOW!
rpcbind: rpcbind terminating on signal. Restart with "rpcbind -w"

Previous liquorix releases was fine. Problem is, i deleted them during cleaning.
Another thing, not 100% sure here. Is this first 3.x.x.x release ? I think i got one 3.x.x.x before this one which worked too. Cant find it anymore. Dont want to go back 2.6
What also confuses me is:

Package saying 3.0.0.6, installed version saying 3.0.0.9. Weird.

Any suggestion appreciated.


< Edited by Henkye :: Nov 3, 11, 6:58 >

Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1122
Reply Quote
That's really strange, the only thing I've made changes to was BFS.

As far as how the versions are related, 3.0.0-6.dmz.1 is the package name I set for the kernel. 3.0.0-9 is the package version - this is what the meta package pivots off of to depend on new different packages, like 3.0.0-8.dmz.1 that might be coming out soon.
Back to top
Henkye
Status: Curious
Joined: 28 Oct 2011
Posts: 5
Reply Quote
Forget to add:
:: Code ::
System:    Host: henk Kernel: 3.0.0-6.dmz.1-liquorix-686 i686 (32 bit, gcc: 4.5.3)
           Desktop Openbox 3.5.0 Distro: Ubuntu 11.10 oneiric
Machine:   Mobo: Gigabyte model: P35-DS4 Bios: Award version: F14 date: 06/19/2009
CPU:       Dual core Intel Core2 CPU 6300 (-MCP-) clocked at 2562.434 MHz
Graphics:  Card: nVidia G73 [GeForce 7600 GS] bus-ID: 01:00.0 X.Org: 1.10.4 driver: nvidia Resolution: 1600x1200@50.0hz
           GLX Renderer: GeForce 7600 GS/PCI/SSE2 GLX Version: 2.1.2 NVIDIA 275.19 Direct Rendering: Yes
Network:   Card: Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller
           driver: r8169 ver: 2.3LK-NAPI port: c000 bus-ID: 04:00.0
Drives:    HDD Total Size: 80.0GB (49.2% used)
Info:      Processes: 133 Uptime: 10:33 Memory: 401.5/2023.7MB Runlevel: 2 Gcc sys: 4.6.1 alt: 4.5 Client: Shell inxi: 1.7.24


Back to top
Henkye
Status: Curious
Joined: 28 Oct 2011
Posts: 5
Reply Quote
The only changes i have in the system except those in synaptic:

/etc/init/tty1.conf:
:: Quote ::
respawn
#exec /sbin/getty -8 38400 tty1
exec /home/henk/.aqemu/bridge & /bin/login -f henk tty1 </dev/tty1 >/dev/tty1 2>&1


Brigde for my KVMs:
/home/henk/.aqemu/bridge:
:: Quote ::
#!/bin/bash
# Setup tun taps
tunctl -t tap0 -g kvm
tunctl -t tap1 -g kvm

# Create the bridge interface.
brctl addbr br0

# Add interfaces to the bridge.
brctl addif br0 eth0
brctl addif br0 tap0
brctl addif br0 tap1

# Zero IP the interfaces.
ip addr flush eth0
ifconfig eth0 0.0.0.0
ifconfig tap0 0.0.0.0
ifconfig tap1 0.0.0.0

# Put up the bridge.
ifconfig br0 10.0.0.1 netmask 255.255.255.0 up
route add default gw 10.0.0.138 metric 1


Forcing soundcards order,added to end of:
/etc/modprobe.d/alsa-base.conf:
:: Quote ::
options snd-ctxfi index=0
options snd-hda-intel index=1


/home/henk/.bash_profile:
:: Quote ::
if [[ -z "$DISPLAY" ]] && [[ $(tty) = /dev/tty1 ]]; then
startx
logout
fi


/etc/sudoers:
:: Quote ::
henk ALL = NOPASSWD: /sbin/shutdown
henk ALL = NOPASSWD: /usr/sbin/pm-suspend


/etc/fstab:
:: Quote ::
UUID=1d30f529-dbf0-4273-a89d-9275c25f7c28 /media/dvojcak ext4 errors=remount-ro 0 1


Also allowed mounting in policy kit, and some autostarts in openbox.

Who knows, maybe i've made here some terrible things which worked so far, but now causing trouble ...
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
Since you have so many changes on your system, some of which could easily have created an issue, the best course for you is to undo the changes one by one with the current kernel, 3.0-8 until the failure to shut down behavior vanishes. In order to discover the true culprit, undo one change, reboot, then try to shutdown again. Repeat until cause is discovered. Don't undo multiple changes because then you wont' know which is the cause. It could also be two of them together.

That would be an easy test to make, since f it shuts down, you know you've found the culprit. Then you can return the other components.

I've uploaded a temp liquorix kernel here for you 3.0.0-6 : smxi.org/sm/kernels/32/3.0.0-6.dmz.1-liquorix-686.zip

that's the zip file of the headers/lmage,. use dpkg to install them directly.

but in general it's best to know the causes if they are due to changes you have made in your system.

Also, in general, please try to break the habit of removing the previous kernel, which is by definition almost always known good and working fine, always leave it, ie, ALWAYS have one alternate kernel installed, it only uses up a 100 mB on your disk, and removing it achieves nothing except for removing the possibility of solving some as of yet unknown future issue. I usually leave 3 or 4, just because it costs me nothing, and if I discover some issue that requires some unknown past kernel to solve, there's no point in removing them for me. New kernels should always be considered as having these potentials, at least:

1. Something that was working breaks
2. Something that was broken works
3. Something that was working breaks, and something else broken works
4. No difference at all
5. An incredibly subtle issue breaks other code, not kernel, that was working, but was working due to an unfixed or unknown bug in some other unknown area, which was fixed for unrelated reasons in the kernel. This would be your case.

This list is not of course inclusive, but should be considered as all that's needed to understand why one does not install only the current latest kernel and trust that was is in essence always a beta type release (all current linux kernel releases, due to the hyperactive speed of kernel releases, must be considered as beta releases until proven otherwise.)
Back to top
aus9
Status: Assistant
Joined: 21 Sep 2008
Posts: 358
Location: Australia
Reply Quote
hi

if testing causes too many time issues for you....you could use smxi to change your default kernel to Debian

It has a slower release cycle so you will lose all the bleeding edge stuff Damentz puts into his kernels.

2) I am a fan of application = PARTIMAGE something that a certain entity at aptosid/sidux detested with some venom....so even more reason for me to use it....he heh.

It has got me out of trouble where you may be the first person to experience a glitch as you are on sid?

Looking at what is removed is not always inclusive....some changes are not detected until reboot after doing a smxi upgrade.


good luck
Back to top
give up
Henkye
Status: Curious
Joined: 28 Oct 2011
Posts: 5
Reply Quote
After reboot marathon (really annoying), only thing i found:
shutdown and reboot works flawlessly only in command line (X not running). Every command or script ran from or during Openbox (X) failed. For example (ran as root):
:: Quote ::
#!/bin/bash
openbox --exit
shutdown -h now

Also disabled some of my "tweaks", as techAdmin adviced. Some are just 2 important for me, to live without them - dont tried them.

:: Quote ::
I've uploaded a temp liquorix kernel here for you 3.0.0-6 : [link]
At time of creating this topic, 3.0.0-6 was my current kernel. 3.0.0-8 same issue. Thx anyway.

Completely agree with techAdmin about backing up previous kernels, this time i had only ubuntu kernel as backup. My fault. Next time ill have backups of both branches.

Last thing ill try is to reinstall nvidia driver, since it was complaining about compiler version. Because, as mentioned before, have another issue: random 1-60seconds freezes.

Again, thanx for everything. I dont blame new liquorix since my system is so customized and even went through dist upgrade process ... But for now, going back to ubuntu's official kernel.
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
What about the 'halt' command?

Just that: halt
no args. This should call shutdown, but give it a try.

This could be an openbox issue, totally unrelated to kernels, and the only reason the liquorix kernel has issues is that it's correctly configured.

I've seen suspend issues with various kernels but never shutdown/reboot issues.

By the way, also try this command: reboot

and see if that works from inside openbox.

Also, it would be useful to see if kde shuts down correctly, or gnome, but you probably don't want to install those so leave that alone.

You're doing a very good job with testing and diagnosis.
Back to top
solved
Henkye
Status: Curious
Joined: 28 Oct 2011
Posts: 5
Reply Quote
:: Quote ::
Last thing ill try is to reinstall nvidia driver, since it was complaining about compiler version.
Wouldn't been so ashamed, if internet wasn't full off: DO NOT COMPILE KERNEL MODULES WITH DIFFERENT GCC VERSION.
4.5 was installed, but wasn't set as default. Changed gcc link in /usr/bin from v4.6 to 4.5 That's it.

Glad i can fly again, instead of walking ! :-)
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4127
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
henk, sgfxi has always checked for,, installed if missing, the proper gcc version, and set the gcc global to use the right one. For this very reason.

It's somewhat astounding to me that in 2011 some of these procedures are still so primitive, but thats why I did the sgfxi thing in the first place.
Back to top
Display posts from previous:   

All times are GMT - 8 Hours