You are not logged in.

#1 2005-12-17 12:54:07

osigen
Member
From: cynic tub
Registered: 2005-06-18
Posts: 36
Website

Kernel 2.6.14 shot me again!

Hi Guys,

I 've broken my RAID 1 Arch 0.7.1-pre system with Kernel 2.6.14 and then I 've installed a well working Arch 0.7.1-pre (fake 0.7.1. due to I used ftp installation) RAID 1 with Kernel 2.6.13 (Thanks to Judd's wiki RAID instructions)

Everything was working like a harm before the coming of the damn Kernel 2.6.14 upgrade (pacman -Syu)

Here is the disaster! (my holidays goes off)

mount : Mounting /dev/root on /new-root failed: No such file or directory
pivot-root : No such file or directory
umount : /initrd: No such file or directory
BusyBox v.1.01
/bin/sh : can't access tty: job control turned off

I have try initrd26.img and initrd26-full.img

I can't fix it... I have no patient for a fresh installation and fixing too many configuration files again.

How can I revert back to my old (working) Kernel 2.6.13?
Is it easy to have a working 2.6.14 system?

I am currently running on a second hd with Ubuntu.

Today's crash remember me the old blue screens of MS stuff!
I need a bottle of wine immediately wink

ps: I apologize about my English   :oops:


"What we cannot speak about we must pass over in silence" L. Wittgenstein

Offline

#2 2005-12-17 14:13:09

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Kernel 2.6.14 shot me again!

Did you edit mkinitrd.conf?

http://wiki.archlinux.org/index.php/Initrd

There's a line that says

REMOVE_RAID=1

and you have to change it to

REMOVE_RAID=

as well as a line saying

# If you use software RAID for your root device (must be /dev/md0) then
# list all the devices that belong to your /dev/md0 array here
#    eg, RAID_DEVICES="/dev/hda3 /dev/hdc3"
RAID_DEVICES=

Make sure you fill that out too.

Then you run mkinitrd auto.

Offline

#3 2005-12-17 17:52:52

osigen
Member
From: cynic tub
Registered: 2005-06-18
Posts: 36
Website

Re: Kernel 2.6.14 shot me again!

I read initrd instructions from arch wiki. The point is that my system is NOT ACCESSIBLE

After booting running ls reports:

bin dev etc lib linuxrc new_root proc sys

There is NO VI editor :shock: and shell :shock:
/etc contains only the fstab file
It is obvious we have a fake system here generated by initrd.

Just a confirm. When running from Knoppix live cd everything is there!
I can see that /mnt/sda3/etc/mkinitrd.conf has RAID and DM to 1.    Unfortunatelly I can't write the mkinitrd.conf via Knoppix root console and VIM.

In conclusion:
All my files are still there but I can't edit them. Initrd starts a fake system and I don't know how to ASSEMBLE the RAID manually (mdadm) to edit the configuration files.

I am not expert, I think myself ... lost in the space.


"What we cannot speak about we must pass over in silence" L. Wittgenstein

Offline

#4 2005-12-17 18:07:54

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Kernel 2.6.14 shot me again!

Why can't you edit your files from Knoppix?  I do it all the time when I bork my system.  Make sure you mount your sda3 in read/write mode - knoppix mounts them in read-only by default.

Offline

#5 2005-12-18 08:40:34

osigen
Member
From: cynic tub
Registered: 2005-06-18
Posts: 36
Website

Re: Kernel 2.6.14 shot me again!

I 've edited the mkinitrd.conf on the 2 mirrors (/dev/sda3 /dev/sdb3)
but I can't run mkinitrd auto due to damn kernel 2.6.14 (full img) doesn't setup md0, so there is NO mdadm or vi or nano to use.


Two days lost for a NON-WELL TESTED upgrade and my system is OFF again.
I would like to leave ARCH PERMANENTLY.

Have you any suggestion for a reliable linux distro that supports RAID1 and has a superior support?
PAID SUPPORT is OK!

I think Ubuntu doesn't support raid. What about OpenSuse?
Any suggestion is appreciated


"What we cannot speak about we must pass over in silence" L. Wittgenstein

Offline

#6 2005-12-18 09:41:26

cs25x
Member
Registered: 2004-05-04
Posts: 150

Re: Kernel 2.6.14 shot me again!

to make a ro drive rw

mount -o remount,rw /dev/whatever

Then in vi or nano or something, you make your change and write it. vi commands are i to insert text, esc to drop out of insert mode, and :wq to write and quit. Note the ":" before wq. nano, I just hit cntrl x and say yes.
Your old kernel will be in /var/cache/pacman/pkg ( with any luck ) to reload that, you cd and use pacman or srcpac -U kernel..... Your grief is an example why it is best to use a boot partition, and always save /lib/modules/whatever before a kernel upgrade. It is also unwise to put your new kernel as the first entry in a grub menu.


--(*(cs25x--));

Offline

#7 2005-12-20 00:40:49

Bysshe
Member
Registered: 2004-12-10
Posts: 271

Re: Kernel 2.6.14 shot me again!

Man, I hate to see you go 'cause of a funky kernel.  Not that we're long-lost friends or anything, but I'd rather you just specify with pacman that the kernel not be upgraded with -Syu command when you get your system working again. 

Some of us like to break our systems.  Like me.  I don't mind it since I take it as an opportunity to learn about Linux.   You should wait for people like me to break their systems, (and there's lots of us), and see how they fixed it.  Then you have the steps needed to do what you have to when you decide to upgrade the kernel.   Kernel upgrading isn't always the best thing to do, anyway.  It usually fixes minor bugs, and adds support for odds and ends.   I fondly remember that kernel upgrades often break things with all distributions of Linux, at one time or another.    But consider Arch currently is under heavy development, from what I can tell.  Big changes have happened recently, and the kernel has broken several people because of completely new components.  Not saying Arch is perfect, but it's the nature of the beast with Linux, if you're upgrading the kernel from your blind spot.   

No distribution requires you to be on the bleeding edge with the kernel, or really anything.   I think you should be able to find in the wiki or in pacman manual how to disable upgrading the kernel by -Syu command.
I strongly suggest it, as I take this type of aggrivation would drive you to drinking.... :twisted:

Offline

#8 2005-12-20 00:44:35

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Kernel 2.6.14 shot me again!

osigen wrote:

Have you any suggestion for a reliable linux distro that supports RAID1 and has a superior support?
PAID SUPPORT is OK!

I think Ubuntu doesn't support raid. What about OpenSuse?
Any suggestion is appreciated

Locking due to flame bait...

Offline

Board footer

Powered by FluxBB