public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: md device files missing at boot time
@ 2007-07-05  9:16 Ingo Freund
  2007-07-05 13:15 ` [seems to be SOLVED] " Ingo Freund
  0 siblings, 1 reply; 3+ messages in thread
From: Ingo Freund @ 2007-07-05  9:16 UTC (permalink / raw)
  To: linux-kernel

Hi folks,

I could temporarily only read your answers in archives.
Thank you for your reaction.
Hopefully this answer doesn't break the thread.
If it does:
sorry for it, there were some mail mail problems
which stopped our server receiving mails from this list
and the list auto-unsubscribed me and stopped sending mails :-(
But it is all fixed now.

@Kay
How did you build the initramfs image? /sbin/mkinitrd?

Did you add md support to the image?

Both "Yes".
included modules are (in opensuses /etc/sysconfig/kernel:
INITRD_MODULES="raid1 md reiserfs sym53c8xx pata_serverworks edd"



@J.A. Magallon
yes the partitions in question are all typed "fd"

neither all-drivers-compiled-into-the-kernel nor the
module using version work.
The only difference I find is the exit to an emergency shell
when using modules via initrd while the "only kernel version"
stops commentless when it is time to use /dev/md0 for the first
time.

"dmesg" is not found after exiting to the shell.
I can only post the content of a log file which was written
into the initramfs (which seems to be also a trace of the
in and output of the emergency console).

Content of the log file (/var/log/boot.msg):

Boot logging started on /dev/tty1(/dev/console) at Thu Jul  5 06:36:35 2007

Creating device nodes with udev
Loading md-mod
Loading raid1
Loading sym53c8xx
Loading libata
Loading pata_serverworks
Loading edd
Loading reiserfs
Waiting for device /dev/md0 to appear: ..............................not found -- exiting to /bin/sh
sh: no job control in this shell
$ dmesg
sh: dmesg: command not found
$ fdisk
sh: fdisk: command not found
$ ls /bin
bash  cat  chmod  date  ipconfig.sh  ln  ls  mkdir  mknod  mount  pidof  rm  run-init  sed  sh  sleep  true  umount
...

Question: is the order "creating dev nodes with udev" and after
that "loading the modules" correct?


Thanks - Ingo.



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

* [seems to be SOLVED] Re: md device files missing at boot time
  2007-07-05  9:16 md device files missing at boot time Ingo Freund
@ 2007-07-05 13:15 ` Ingo Freund
  2007-07-07 17:58   ` Jan Engelhardt
  0 siblings, 1 reply; 3+ messages in thread
From: Ingo Freund @ 2007-07-05 13:15 UTC (permalink / raw)
  To: linux-kernel

On 05.07.2007 11:16, Ingo Freund wrote (please find the answer below the original text):
> Hi folks,
> 
> I could temporarily only read your answers in archives.
> Thank you for your reaction.
> Hopefully this answer doesn't break the thread.
> If it does:
> sorry for it, there were some mail mail problems
> which stopped our server receiving mails from this list
> and the list auto-unsubscribed me and stopped sending mails :-(
> But it is all fixed now.
> 
> @Kay
> How did you build the initramfs image? /sbin/mkinitrd?
> 
> Did you add md support to the image?
> 
> Both "Yes".
> included modules are (in opensuses /etc/sysconfig/kernel:
> INITRD_MODULES="raid1 md reiserfs sym53c8xx pata_serverworks edd"
> 
> 

@Kay
there was a hidden hint in your text.
"mkinitrd -f md"  made it at least for boot with initramfs

Thanks - Ingo.


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

* Re: [seems to be SOLVED] Re: md device files missing at boot time
  2007-07-05 13:15 ` [seems to be SOLVED] " Ingo Freund
@ 2007-07-07 17:58   ` Jan Engelhardt
  0 siblings, 0 replies; 3+ messages in thread
From: Jan Engelhardt @ 2007-07-07 17:58 UTC (permalink / raw)
  To: Ingo Freund; +Cc: linux-kernel


On Jul 5 2007 15:15, Ingo Freund wrote:
>On 05.07.2007 11:16, Ingo Freund wrote (please find the answer below the original text):
>> Hi folks,
>> 
>> I could temporarily only read your answers in archives.
>> Thank you for your reaction.
>> Hopefully this answer doesn't break the thread.
>> If it does:
>> sorry for it, there were some mail mail problems
>> which stopped our server receiving mails from this list
>> and the list auto-unsubscribed me and stopped sending mails :-(
>> But it is all fixed now.
>> 
>> @Kay
>> How did you build the initramfs image? /sbin/mkinitrd?
>> 
>> Did you add md support to the image?
>> 
>> Both "Yes".
>> included modules are (in opensuses /etc/sysconfig/kernel:
>> INITRD_MODULES="raid1 md reiserfs sym53c8xx pata_serverworks edd"
>> 
>> 
>
>@Kay
>there was a hidden hint in your text.
>"mkinitrd -f md"  made it at least for boot with initramfs

That's rather a hack.

I suppose your problem is that mdadm is not inside the initrd.
(gzip -cd /boot/initrd | cpio -t)
Make sure /etc/fstab lists an md device, then mdadm should be added
automatically.


	Jan
-- 

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

end of thread, other threads:[~2007-07-07 17:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-05  9:16 md device files missing at boot time Ingo Freund
2007-07-05 13:15 ` [seems to be SOLVED] " Ingo Freund
2007-07-07 17:58   ` Jan Engelhardt

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