You are not logged in.

#1 2012-10-19 17:50:15

BHReach
Member
Registered: 2008-12-28
Posts: 21

Starting sshd During Installation Causes Kernel Panic and Reboot?

I posted this here instead of the Installation forum because I am new to Arch Linux. I am following the Beginner's Guide and here are my notes so far upto the point where the system crashes. Any help would be appreciated.

My hardware:

BIOSTAR TA970XE mobo, 8GB Kingston RAM KHX1600C9D3K2/8GX, AMD FX-4100 CPU, ASUS ENGT430/DI/1GD3(LP) Nvidia based graphics card, using an USB hub for the flash drive if that matters.

Arch Linux 2012-10-06 installation

bit torrent download of archlinux-2012.10.06-dual.iso

copy to USB flash drive

dd if=archlinux-2012.10.06-dual.iso of=/dev/sde bs=4M

Set bios to boot from Flash drive.

Select i686 from Arch boot menu

Setup the Live Environment to use SSH:

ip link

wlan0 identified by default.

In managed mode by default.

ip link set wlan0 up

iw wlan0 scan |less

to see AP's in range

iw wlan0 connect alpha

Attaches to AP.

Assign IP address and default route

ip addr add 192.168.0.25/24 dev wlan0
ip route add default via 192.168.0.65

Add OpenDNS servers:

echo 'nameserver 208.67.220.220' >/etc/resolv.conf
echo 'nameserver 208.67.221.221' >>/etc/resolv.conf

rc.d start sshd ->doesn't work, because rc.d command does not exist?

# Don't do this, it crashes the system!!!!!!!!!!  /etc/rc.d/sshd start
# Don't do this, it crashes the system!!!!!!!!!!  systemctl start sshd.service

systemctl enable sshd.socket (this doesn't work either, but doesn't crash the system)

passwd

Login via ssh from remote computer (doesn't work).

Offline

#2 2012-10-19 21:01:24

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Starting sshd During Installation Causes Kernel Panic and Reboot?

Please use code tags when posting code (easier to read this way).

Since last month's release, the Arch Linux ISO is using systemd: http://www.archlinux.org, so rc.d is considered deprecated. This should've worked:

# systemctl start sshd.service

Try the x86_64 entry instead of i686 (maybe there's a bug in the openssh-6.1p1-2-i686.pkg.tar.xz package).


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#3 2012-10-23 16:38:56

BHReach
Member
Registered: 2008-12-28
Posts: 21

Re: Starting sshd During Installation Causes Kernel Panic and Reboot?

Update:

I tried the X86_64 and ssh did work with it but I need to install the 32 bit version.

I burned the iso to a CD and it would not boot, it crashed twice during the boot sequence. I had recently installed new RAM and sometimes the RAM doesn't make good contact the 1st time you install it so I tried re-seating the 2 sticks of RAM and I swapped sockets as well. I also ran Mem86+ for 10+ hours with no errors.

I tried the 32 bit version again thinking if the error occurred, I would try to capture the output and analyze it. This time sshd worked. I went on with the installation. I was learning how to partition my HD for lvm use with a UEFI BIOS when the system crashed.

I had been getting random system crashes for the last 2 months with increasing frequency. I had replaced most of the computer with new parts, all that remained of the old parts was the CPU. I usually do not suspect a faulty CPU because I cannot recall having one fail during its warranty period, this one had been in service only 2 months when the crashes started; however, it now looks like the CPU was the problem. I ran all the CPU stress tests on the Ultimate Boot CD and they all crashed with a kernel panic within 1-2 seconds of starting.

I requested RMA for the CPU and ordered another CPU to use until the defective one is replaced. I should have it within a few days and I will attempt to install Arch again.

Offline

#4 2012-10-23 19:59:59

DSpider
Member
From: Romania
Registered: 2009-08-23
Posts: 2,273

Re: Starting sshd During Installation Causes Kernel Panic and Reboot?

That's unfortunate. Whenever the CPU is stressed, it requires more power (watts). And if it crashes, the PSU is usually the culprit.

I doubt that it's a problem with dust build-up if you opened it recently.


I tried the X86_64 and ssh did work with it but I need to install the 32 bit version.

https://wiki.archlinux.org/index.php/Ar … _64-bit.3F

You should be able to chroot into a 32 bit system, but not the other way around.


"How to Succeed with Linux"

I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).

Offline

#5 2012-10-27 21:18:48

BHReach
Member
Registered: 2008-12-28
Posts: 21

Re: Starting sshd During Installation Causes Kernel Panic and Reboot?

DSpider wrote:

That's unfortunate. Whenever the CPU is stressed, it requires more power (watts). And if it crashes, the PSU is usually the culprit.

I doubt that it's a problem with dust build-up if you opened it recently.

I got my new CPU yesterday, it has been running over 24 hrs now and no random crashes. I tried all the things that made it crash before but no crashes. Looks like it was a bad CPU.

I have Arch core installed, now I have to figure out what is installed and add the rest of the programs I use to it.

https://wiki.archlinux.org/index.php/Ar … _64-bit.3F

You should be able to chroot into a 32 bit system, but not the other way around.

I would  prefer to install a 64 bit system but I have a problem with one essential piece of software. It is a Java application. I tried it with all 4 JVMs (Sun 1.6 jdk, Oracle 1.7 jdk, icedtea 6 and 7). With all four 32 bit JVMs, it runs 24/7 without any problems. With the "6" version 64 bit JVMs, it crashes. Depending on what functionality I am using, it can crash every few minutes which makes it unusable. With the "7" version 64 bit JVMs, it doesn't crash but there are interface glitches that make it difficult to use. For example, sometimes when I click on an edit box, it does not get focus so I cannot enter text into the box.

I had not considered a chroot solution but that has a drawback similar to using a VM solution i.e., maintaining 2 OSes. I run a VM with Windows XP 32 bit and I considered trying it on that but have not gotten around to it. The simplest solution it to install 32 bit Linux for everything, I know it works with that. The best solution is if the developers fixed it so it worked as well on the 64 bit JVMs as it does with the 32 bit. I don't really have what I consider to be an optimal solution right now.

I think I will install 64 bit Arch and try the latest JVMs, possibly the problems have been corrected.

Offline

#6 2012-10-27 21:23:21

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: Starting sshd During Installation Causes Kernel Panic and Reboot?

Never heard of a bad CPU before.  Wondering what kind of control you have over various inboard voltages in your BIOS.  Anyway, see the stress article on the wiki: https://wiki.archlinux.org/index.php/Stress_Test

Offline

#7 2012-10-27 22:44:33

BHReach
Member
Registered: 2008-12-28
Posts: 21

Re: Starting sshd During Installation Causes Kernel Panic and Reboot?

I have been building my own computer systems for the last 15-20 years and this is the 1st CPU I have had go bad within the manufacturer's warranty period. If you look at the reviews on Newegg, a small number of people receive CPUs DOA.

Both mobos the CPU was in have over clocking capability, you can adjust both the voltage and frequency of the RAM and CPU. I did reduce the frequency of the RAM when the problem 1st began, but it did not solve the problem. All the voltages were within a few hundreths of a volt of their nominal values, there was nothing unusual.

I think this is a case of Infant Mortality. It is usually caused by a small defect in the crystal lattice structure of the semiconductor material. It is small enough to pass Quality Control tests but after a small amount of use, the normal heat stress causes the defect to worsen and the component malfunction.

That article on stress testing is very interesting. Ultimate Boot CD has Mersenne Prime Test and Memtest86+. The new CPU runs the stress tests without a problem, the defective CPU could not.

Offline

Board footer

Powered by FluxBB