[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: initrd is too fast for md

 Hi Ivan,

On 11/10/2010 05:51 PM, Ivan Jager wrote:
I recently installed testing on a Sun V240 but couldn't set up
md/lvm during the install. I tried to submit an insallation
report, but it doesn't seem to have made it yet. I'll try and
figure out what happened to it.

Anyways, I've been trying to switch the system over to lvm on
raid1, but I'm not sure if I'm running into a bug or just missing
some minor detail or otherwise doing something dumb. The problem
is that /scripts/local-top is running and trynig to set up md
before the hard drives are detected and show up in /dev. After a
while it gives up on waiting for the root filesystem and drops to
a shell.

This could be the same problem that I experienced on HPPA driver not so long ago:

In my case scsi_wait_scan.ko didn't wait for all SCSI disks to be discovered, debian initramfs moved on prematurely and failed miserably. Recompiling the kernel without CONFIG_SCSI_SCAN_ASYNC fixed the problem for me.

Here are the relevant bits of output from the boot process:
[   58.604298] SCSI subsystem initialized
[   58.621553] sym0:<1010-66>  rev 0x1 at pci 0002:00:02.0 irq 27
[   58.623680] sym0: No NVRAM, ID 7, Fast-80, LVD, parity checking
[   58.669694] tg3.c:v3.102 (September 1, 2009)
[   58.676561] sym0: SCSI BUS has been reset.
[   58.676579] scsi0 : sym-2.2.3
[   58.677668] sym1:<1010-66>  rev 0x1 at pci 0002:00:02.1 irq 28
[   58.679907] sym1: No NVRAM, ID 7, Fast-80, LVD, parity checking
[   58.720370] sym1: SCSI BUS has been reset.
[   58.720383] scsi1 : sym-2.2.3
[   58.729629] alim15x3 0001:00:0d.0: IDE controller (0x10b9:0x5229 rev 0xc4)

What SCSI controller / driver have you got? The output looks very similar to my problematic sym53c8xx. It could be a bug in that driver...


Reply to: