Koozali.org: home of the SME Server

7.1. and Via C3

ElFroggio

7.1. and Via C3
« on: May 26, 2007, 02:32:40 AM »
I have a small computer with a Via C3 CPU. I installed 7.1 with sme586, and it worked. I finally run an yum update; signal-event post-upgrade; signal-event reboot.

Now it dies on the boot. Yum updated the kernel for the 586 CPU to a 686 kernel.

How can I fix it?

Thanks

Offline skydivers

  • *
  • 178
  • +0/-0
7.1. and Via C3
« Reply #1 on: May 26, 2007, 11:10:36 AM »
Aren't you able at boot to load the previous kernel?

ElFroggio

7.1. and Via C3
« Reply #2 on: May 26, 2007, 05:04:44 PM »
No,

It freezes at the boot.

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
7.1. and Via C3
« Reply #3 on: May 26, 2007, 09:26:39 PM »
Quote from: "ElFroggio"
No,

It freezes at the boot.
Are you able to get to the boot screen? If so press any key and observe the list. What are the available kernels?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

ElFroggio

7.1. and Via C3
« Reply #4 on: May 26, 2007, 11:17:48 PM »
I get in that order:

CentOS (2.6.9-55.EL))
CentOS (2.6.9-55.ELsmp)
CentOS (2.6.9-42.0.10.ELsmp)
CentOS (2.6.9-42.0.10.EL)
SME Server (2.6.9-42.0.3.ELsmp)
SME Server-up (2.6.9-42.0.3.EL)

with CentOS (2.6.9-55.ELsmp) being the default

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
7.1. and Via C3
« Reply #5 on: May 27, 2007, 05:25:36 PM »
Quote from: "ElFroggio"
I get in that order:

CentOS (2.6.9-55.EL))
CentOS (2.6.9-55.ELsmp)
CentOS (2.6.9-42.0.10.ELsmp)
CentOS (2.6.9-42.0.10.EL)
SME Server (2.6.9-42.0.3.ELsmp)
SME Server-up (2.6.9-42.0.3.EL)

with CentOS (2.6.9-55.ELsmp) being the default
Something definatley went wrong then. You should not do kernel upgrades from the CentOS repositories, SME Server has it's own repositories. Normally the kernels from the CentOS repositories should be excluded by yum automatically if you have the proper version of SME Server (7.1.x) and the correct repositories enabled (see http://wiki.contribs.org/SME_Server:Documentation:FAQ#Which_repositories_should_be_enabled).

The proper kernel should be one of the SME Server kernels, it depends on your architecture if you should have the smp (dual processor) or the up (one processor) kernel. I don;t know if this sticks after a reboot though, if not you will have to manually reconfigure your bootloader, but we can do that later. First try a reboot and select the proper SME Server kernel.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline SARK devs

  • *****
  • 2,806
  • +1/-0
    • http://sarkpbx.com
7.1. and Via C3
« Reply #6 on: May 27, 2007, 07:50:54 PM »
Hello Froggio

I don't know why you have the Centos kernels, however even if you had the sme-server variants you would still have trouble at inital boot after a YUM upgrade.

We also run C3's and the later Nehemiahs - they won't run the SMP kernel.  Unfortunately after a YUM update, the smp kernel is always set as the default in grub.conf.  

Simply boot up to the penguin splash screen and press the space bar.  Then choose the non smp kernel - (we currently use 2.6.9-42.0.10.EL) and your box should come up OK.

Best

Selintra

ElFroggio

7.1. and Via C3
« Reply #7 on: May 27, 2007, 08:14:43 PM »
Here the /etc/yum.conf

Code: [Select]
#------------------------------------------------------------
#              !!DO NOT MODIFY THIS FILE!!
#
# Manual changes will be lost when this file is regenerated.
#
# Please read the developer's guide, which is available
# at http://wiki.contribs.org/development/
#
# Copyright (C) 1999-2006 Mitel Networks Corporation
#------------------------------------------------------------
[main]
cachedir=/var/cache/yum
debuglevel=2
distroverpkg=centos-release
exactarch=1
http_caching=packages
installonlypkgs=kernel kernel-smp kernel-hugemem kernel-enterprise kernel-debug kernel-unsupported kern
el-smp-unsupported kernel-hugemem-unsupported
logfile=/var/log/yum/yum.log
obsoletes=1
plugins=1
reposdir=
tolerant=1

[addons]
enabled=0
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=addons
#baseurl=http://mirror.centos.org/centos/4/addons/$basearch
name=CentOS - addons
gpgcheck=1
enablegroups=0

[base]
enabled=1
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
#baseurl=http://mirror.centos.org/centos/4/os/$basearch
name=CentOS - os
gpgcheck=1
enablegroups=0
exclude=kernel kernel-smp mkinitrd mdadm initscripts

[centosplus]
enabled=0
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
#baseurl=http://mirror.centos.org/centos/4/centosplus/$basearch
name=CentOS - centosplus
gpgcheck=1
enablegroups=0

[contrib]
enabled=0
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
#baseurl=http://mirror.centos.org/centos/4/contrib/$basearch
name=CentOS - contrib
gpgcheck=1
enablegroups=0

[extras]
enabled=0
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
#baseurl=http://mirror.centos.org/centos/4/extras/$basearch
name=CentOS - extras
gpgcheck=1
enablegroups=0

[smeaddons]
enabled=1
mirrorlist=file:///etc/yum.repos.d/mirrors-smeaddons
#baseurl=http://mirror.contribs.org/smeserver/releases/7/smeaddons/$basearch
name=SME Server - addons
gpgcheck=1
enablegroups=1

[smedev]
enabled=0
mirrorlist=file:///etc/yum.repos.d/mirrors-smedev
#baseurl=http://mirror.contribs.org/smeserver/releases/7/smedev/$basearch
name=SME Server - dev
gpgcheck=1
enablegroups=1

[smeos]
enabled=1
mirrorlist=file:///etc/yum.repos.d/mirrors-smeos
#baseurl=http://mirror.contribs.org/smeserver/releases/7/smeos/$basearch
name=SME Server - os
gpgcheck=1
enablegroups=1

[smetest]
enabled=0
mirrorlist=file:///etc/yum.repos.d/mirrors-smetest
#baseurl=http://mirror.contribs.org/smeserver/releases/7/smetest/$basearch
name=SME Server - test
gpgcheck=1
enablegroups=1

[smeupdates]
enabled=1
mirrorlist=file:///etc/yum.repos.d/mirrors-smeupdates
#baseurl=http://mirror.contribs.org/smeserver/releases/7/smeupdates/$basearch
name=SME Server - updates
gpgcheck=1
enablegroups=1

[smeupdates-testing]
enabled=0
mirrorlist=file:///etc/yum.repos.d/mirrors-smeupdates-testing
#baseurl=http://mirror.contribs.org/smeserver/releases/7/smeupdates-testing/$basearch
name=SME Server - updates testing
gpgcheck=1
enablegroups=1

[updates]
enabled=1
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
#baseurl=http://mirror.centos.org/centos/4/updates/$basearch
name=CentOS - updates
gpgcheck=1
enablegroups=0
exclude=kernel kernel-smp mkinitrd mdadm initscripts


This is from the Via C3 box. It was a 7.1 iso, with the update performed [no customization done].
The enabled repos are:
Code: [Select]
base
smeaddons
smeos
smeupdates
updates

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
7.1. and Via C3
« Reply #8 on: May 27, 2007, 08:24:46 PM »
Quote from: "ElFroggio"
The enabled repos are:
Code: [Select]
base
smeaddons
smeos
smeupdates
updates
Those are OK. Were you able to boot one of the SME Server kernels?
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

ElFroggio

7.1. and Via C3
« Reply #9 on: May 27, 2007, 09:14:47 PM »
Switching to the non-smp worked.