Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
* Gentoo on AlphaServer1200 - init not found - WTF?
@ 2005-12-10 16:04 Piotr Hosowicz
  2005-12-20 12:22 ` DEMAINE Benoit-Pierre
  0 siblings, 1 reply; 3+ messages in thread
From: Piotr Hosowicz @ 2005-12-10 16:04 UTC (permalink / raw)


I recently got AS1200 and am trying to install Gentoo on it. I did it 
exactly as it is told in Gentoo installation document. After installing 
the bootloader, reboot fails, here are the messages :


(other stuff ...)
Mounting /proc filesystem
Creating block devices
Creating root device
Mounting root filesystem
mount: error 6 mounting ext3
pivotroot: pivot_root(/sysroot, /sysroot/initrd) failed: 2
Umount /initrd/proc failed: 2
Freeing unused kernel memory: 336k freed
kernel panic - not syncing: No init found. Try passing init= option to 
kernel.

I did everything exactly as in installation doc, except that :

1. My root device is located on /dev/sdc (/dev/sdc1 is swap, and 
/dev/sdc2 is root).

2. I made initrd with my SCSI QLogic board driver, because at first it 
didn't boot even to the point I mention above. I added initrd= option i 
aboot.conf

I tried passing init=/sbin/init, but it doesn't help. The ext3 support 
is compiled directly into the kernel.

WTF? I'd appreciate if someone helps. previously there ws a Debian 
installation on this box, but I want Gentoo.

Piotr Hosowicz
Red Hat Certified Engineer


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Gentoo on AlphaServer1200 - init not found - WTF?
  2005-12-10 16:04 Gentoo on AlphaServer1200 - init not found - WTF? Piotr Hosowicz
@ 2005-12-20 12:22 ` DEMAINE Benoit-Pierre
  2005-12-20 15:11   ` DEMAINE Benoit-Pierre
  0 siblings, 1 reply; 3+ messages in thread
From: DEMAINE Benoit-Pierre @ 2005-12-20 12:22 UTC (permalink / raw)


> mount: error 6 mounting ext3

> 1. My root device is located on /dev/sdc (/dev/sdc1 is swap, and
> /dev/sdc2 is root).

lol, thats most stupid assumption you could do; here are reasons:
- SCSI order may change from kernel to kernel for MANY reasons:
* order to detect SCSI cards
* how IDs are attributed to device by automated process (especially unexpectable
with the Alpha 1200 front plane)
- SCSI PCI card driver not compiled
- swapped cards
- auto swapping ressources by linux kernel due to configuration (cf a bit like 'swap
onboard device' for IDE)

What you know is that your HDD was sdc with the live CD ... does not mean at all it
is still sdc with your new kernel :)

sorry, you cant know until you spent weeks seeking those bugs.

Thats life.

btw, I did not even have the opportunity to go that far since the Install CD itself
does KP for me :)

I just know that from experience with Gentoo on x86, and Debian on 1200.

Just remember that the kernel may alter letters in many ways; especially, the CD can
discover the mother board chain first (due to udev, putting the HDD of front pannel
on sdc, and your kernel may detect the pannel first due to linking of drivers inside
the kernel.

just try any
root=sda
=sdb
=sdc
=sdd (even you think it impossible, still try it).

> 2. I made initrd with my SCSI QLogic board driver, because at first it
> didn't boot even to the point I mention above. I added initrd= option i
> aboot.conf

LOL, you really have that crappy card ?

then you want to read the debian bug #330664
(sorry, too lame to grab exact URL)

first: try removing SMP.

> I tried passing init=/sbin/init, but it doesn't help. The ext3 support
> is compiled directly into the kernel.
> 
> WTF? I'd appreciate if someone helps. previously there ws a Debian
> installation on this box, but I want Gentoo.
> 
> Piotr Hosowicz
> Red Hat Certified Engineer

if Debian was 2.4, Gentoo is 2.6 any way; try back a 2.4 on Gentoo grabbing it
manyally, or better:
use your old Debian kernel, copy /lib/modules to Gentoo, then just alter the root
argument. Thats how I boot Gentoo when I am in hurry and dont fancy compiling Linux :)

Once that works, try your home made kernel on Debian-Alpha.

When thats finish, keep Debian as base for the cross install. Always easier to have
Debian as base rather than any live CD for me.

*************

Try not using SMP on 2.6, other wise, try some 2.4.

-- 
DEMAINE Benoit-Pierre (aka DoubleHP ) http://www.demaine.info/
\_o< If computing were an exact science, IT engineers would not have work >o_/


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Gentoo on AlphaServer1200 - init not found - WTF?
  2005-12-20 12:22 ` DEMAINE Benoit-Pierre
@ 2005-12-20 15:11   ` DEMAINE Benoit-Pierre
  0 siblings, 0 replies; 3+ messages in thread
From: DEMAINE Benoit-Pierre @ 2005-12-20 15:11 UTC (permalink / raw)


-1- remove the quiet option of kernel, and read logs carefully

-2- use 'file' and fsck to check which kind of ext3 used for file system, and see if
required options are active ? ext3 have over 120 options I know of ... Id imagine
that some very special unsupported feature could prevent mounting.

Thought, -2- would VERY strange if it really did happen to you, since ext3 seems to
be designed to be compatible as read only ext2.

-- 
DEMAINE Benoit-Pierre (aka DoubleHP ) http://www.demaine.info/
\_o< If computing were an exact science, IT engineers would not have work >o_/


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-12-20 15:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-10 16:04 Gentoo on AlphaServer1200 - init not found - WTF? Piotr Hosowicz
2005-12-20 12:22 ` DEMAINE Benoit-Pierre
2005-12-20 15:11   ` DEMAINE Benoit-Pierre

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox