Re: [RFC] aic94xx: attaching to the sas transport class

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

 



Mike Anderson wrote:
Well this may not be kernel issue, the perception to many users is that
something is wrong with the IO subsystem.  I would agree we know how to
solve this, but I have need seen any distro based mkinitrd scripts
generate an initrd with a "wait for root dev" step.
Does anyone know of a distro initrd / initramfs creation script that has
this support? As a side note I do not understand historically why one
would every want to leave the initrd without a root dev present and end in
an oops.

s/oops/panic/, you mean.

IMO there are two philosophical positions here:

1) "the Linus position": discovery should be in-kernel, because otherwise, users with a missing/screwed initrd will simply not be able to boot.

2) "the purist position": discovery initiated/controlled by userland gives us a LOT more flexibility, and keeps obviously-userspace code out of the kernel.

Both have their merits: The Linus position means all users will boot, but with the disadvantage that the kernel cannot know which SAS WWN is the desired boot device, and other state such as connection/topology parameters. The purist position guarantees you the topology/rootdev/etc. that you want, but you MUST have the necessary initrd glue, otherwise the driver is useless.

A compromise position might be, do discovery in kernel, using hints from userspace IF AVAILABLE.

	Jeff

-
: send the line "unsubscribe linux-scsi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [SCSI Target Devel]     [Linux SCSI Target Infrastructure]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Samba]     [Device Mapper]
  Powered by Linux