d-9 boots but fails reboot

New to Debian (Or Linux in general)? Ask your questions here!

d-9 boots but fails reboot

Postby jamby » 2018-09-11 23:03

Hi

I set up a gigabyte j1900n-d3v mother board with debian 9 to run linuxcnc for a mill. It boots up fine but when I select reboot it shows the gigabit splash then the gurb page but after that it comes to a blinking dash in the upper left corner and never starts?
I have no idea even what to look at?? anyone have a hint?

Thanks
Jim
jamby
 
Posts: 15
Joined: 2018-08-04 22:23

Re: d-9 boots but fails reboot

Postby Head_on_a_Stick » 2018-09-12 05:08

You have the same situation as this poster and I put the same questions to you:

viewtopic.php?p=680942#p680942
User avatar
Head_on_a_Stick
 
Posts: 7904
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: d-9 boots but fails reboot

Postby jamby » 2018-09-12 15:26

Hey

I tried rebooting with systemd.unit=multi-user.target and nomodeset both together and separately and in all cases it comes to the same place, black screen blinking cursor upper left.
right after coming out of editing the grub line there is a flashed message ramdisk, intrad. Or something close on two lines. These are the same lines seen during a normal boot, just after that a message about "failed to connect to lmvetab... scanning instead" appears twice and then "/dev/mapper/ant...." . These appear when the computer boots up normally but it stalls before these during reboot.

on board graphics processor:
VGA compatible controller: Intel Corporation Atom Processor Z36xxx/Z37xxx Series Graphics & Display (rev 0e)
driver: AIGLX: Loaded and initialized i965

Can you reproduce this with Debian stable? Not sure how I could test this? dual-boot? what is debian stable?

Thanks
Jim
jamby
 
Posts: 15
Joined: 2018-08-04 22:23

Re: d-9 boots but fails reboot

Postby Head_on_a_Stick » 2018-09-13 16:47

jamby wrote:Can you reproduce this with Debian stable? Not sure how I could test this? dual-boot? what is debian stable?

That question doesn't actually apply to you, you are already running Debian stable.

jamby wrote:It boots up fine but when I select reboot [...]

So the machine boots successfully from cold but fails to reboot?
User avatar
Head_on_a_Stick
 
Posts: 7904
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: d-9 boots but fails reboot

Postby jamby » 2018-09-13 18:04

"So the machine boots successfully from cold but fails to reboot?"

Correct.

Thanks
Jim
jamby
 
Posts: 15
Joined: 2018-08-04 22:23

Re: d-9 boots but fails reboot

Postby bw123 » 2018-09-14 00:45

jamby wrote:Hi

I set up a gigabyte j1900n-d3v mother board with debian 9 to run linuxcnc for a mill. It boots up fine but when I select reboot it shows the gigabit splash then the gurb page but after that it comes to a blinking dash in the upper left corner and never starts?
I have no idea even what to look at?? anyone have a hint?

Thanks
Jim


It's an odd problem, but I'd probably look at something added to d-9 that is not from the debian repo? Can you reproduce it with other methods of rebooting? ctrl-alt-delete from a tty? systemctl reboot?

Maybe you should describe a little what you mean by, "... I set up a gigabyte j1900n-d3v mother board with debian 9 to run linuxcnc..."

Did you do it like this? if you did, where are the instructions you followed for stretch? Mixing wheezy and stretch would not be good.
http://linuxcnc.org/docs/2.7/html/getti ... uxcnc.html
User avatar
bw123
 
Posts: 3279
Joined: 2011-05-09 06:02
Location: TN_USA

Re: d-9 boots but fails reboot

Postby jamby » 2018-09-14 02:37

I followed the examples here and on the following posts and have debian 9 and linuxcnc.
Its a D9 install with a rtai

https://forum.linuxcnc.org/9-installing ... n-debian-9

heres my /etc/apt/sources.list
#

# deb cdrom:[Debian GNU/Linux 9.5.0 _Stretch_ - Official amd64 NETINST 20180714-10:25]/ stretch contrib main non-free

# deb cdrom:[Debian GNU/Linux 9.5.0 _Stretch_ - Official amd64 NETINST 20180714-10:25]/ stretch contrib main non-free

deb http://ftp.us.debian.org/debian/ stretch main non-free contrib
deb-src http://ftp.us.debian.org/debian/ stretch main non-free contrib

deb http://security.debian.org/debian-security stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security stretch/updates main contrib non-free

# stretch-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free


uname -a
Linux ant 4.9.0-8-rt-amd64 #1 SMP PREEMPT RT Debian 4.9.110-3+deb9u4 (2018-08-21) x86_64 GNU/Linux


Thanks
Jim
jamby
 
Posts: 15
Joined: 2018-08-04 22:23

Re: d-9 boots but fails reboot

Postby Head_on_a_Stick » 2018-09-14 04:10

I think the added source may have b0rked your system...
Code: Select all
grep -v '^#\|^$' /etc/apt/sources.list{,.d/*}

Perhaps ask on the LinuxCNC forums?
User avatar
Head_on_a_Stick
 
Posts: 7904
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: d-9 boots but fails reboot

Postby debiman » 2018-09-14 04:14

so linuxcnc is a software you added to a standard debian install? but it is not in the repos, so you added more sources.
Code: Select all
cat /etc/apt/sources.list.d/*



and you really should look at the logs.
immediately after a failed reboot, and a succesful cold boot:
Code: Select all
journalctl -1

but since i'm not 100% sure about the offset, probably best to just sift through all of it:
Code: Select all
journalctl
and look at the last pages (by date).
btw, i'm not promising i will look through all of it. please at least try to make some sense of it yourself.
User avatar
debiman
 
Posts: 2818
Joined: 2013-03-12 07:18

Re: d-9 boots but fails reboot

Postby jamby » 2018-09-14 13:47

Head
grep -v '^#\|^$' /etc/apt/sources.list{,.d/*}
/etc/apt/sources.list:deb http://ftp.us.debian.org/debian stretch main contrib non-free
/etc/apt/sources.list:deb http://security.debian.org/debian-security stretch/updates main contrib
/etc/apt/sources.list:deb-src http://security.debian.org/debian-security stretch/updates main contrib
grep: /etc/apt/sources.list.d/*: No such file or directory

Debianman
cat /etc/apt/sources.list.d/*
cat: '/etc/apt/sources.list.d/*': No such file or directory


I have rebooted the computer through "System/Shut Down/Restart" and through ssh sudo shutdown -r 0. The result is the same each time, system hangs. I will lookup how to use systemctl.
I will be able to look through the journalctl -l data later today when I return home as I have to leave now for the golf course.

Thanks both of you
Jim
jamby
 
Posts: 15
Joined: 2018-08-04 22:23

Re: d-9 boots but fails reboot

Postby jamby » 2018-09-14 14:51

Well maybe I need to work on this more than my golf game.

Here's the output of the sudo journalctl -l
http://lightbythesea.com/debian/journal.dat

This was run minutes after a unsuccessful reboot.
I tried comparing it to the output after a normal shutdown cold boot and didn't find anything. But I have no idea what I am looking for.

Jim
jamby
 
Posts: 15
Joined: 2018-08-04 22:23

Re: d-9 boots but fails reboot

Postby jamby » 2018-09-14 20:21

Ouch.... while testing the reboot.. suddenly... it was working for about 4 reboots in a row of all kinds systemctl reboot, shutdown -r 0, or thru the gui , and thru ssh. It all worked..... and then it didn't.
Now If I could only remember the sequence of how I got there?

Is it possible that during a reboot some parts of the system are suppose to remain running (networking etc.) that are being shutdown thus not enabling a restart?? Yeah I didn't think so.


Thanks
Jim
jamby
 
Posts: 15
Joined: 2018-08-04 22:23

Re: d-9 boots but fails reboot

Postby debiman » 2018-09-15 09:50

wild guess, some acpi issue.
hard to troubleshoot if "it fixed itself".
btw, i was asking for journalctl -1 (that's 'one', not 'ell'), and i was asking you to at least make an effort to filter out the relevant parts.
this sort of output causes me headaches just like it does you; 7 years of Linux experience have not changed that.
User avatar
debiman
 
Posts: 2818
Joined: 2013-03-12 07:18

Re: d-9 boots but fails reboot

Postby jamby » 2018-09-15 14:23

debman

sudo journalctl -1
journalctl: invalid option -- '1'

Sorry about that
Jim
jamby
 
Posts: 15
Joined: 2018-08-04 22:23

Re: d-9 boots but fails reboot

Postby debiman » 2018-09-16 06:00

my bad, it was supposed to be 'journalctl -b -1'
User avatar
debiman
 
Posts: 2818
Joined: 2013-03-12 07:18

Next

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 3 guests

fashionable