Messages in this thread | | | Subject | Re: keyboard problem with 2.6.6 | From | Sau Dan Lee <> | Date | 06 Jun 2004 11:43:47 +0200 |
| |
>>>>> "Valdis" == Valdis Kletnieks <Valdis.Kletnieks@vt.edu> writes:
Valdis> On Fri, 04 Jun 2004 22:33:41 +0300, Denis Vlasenko said: >> Using shell scripts instead of 'standard' init etc is way more >> configurable. As an example, my current setup at home: >> >> My kernel params are:
Valdis> Yes. Those are *YOUR* config setup parameters, that happen Valdis> to work with *your* specific configuration when everything Valdis> is operational. Some problems:
Valdis> 1) Not all the world uses initrd....
Does ever /etc/rcS.d/* require initrd?
Moreover, not all the world uses a keyboard, either.
Valdis> 2) I hope your /script/mount_root will Do The Right Thing Valdis> if the mount fails because it needs an fsck, for example. Valdis> Answering those 'y' and 'n' prompts can be a problem if Valdis> your keyboard isn't working yet..
Things even worse can happen, too, such as harddisk dying. In those problematic situations, you'd rather boot a failsafe partition, or a rescue floppy, or Knoppix CD.
Valdis> 3) Bonus points if you can explain how to, *without* a Valdis> working keyboard, modify that /linuxrc on your initrd to Valdis> deal with the situation where your keyboard setup is wrong Valdis> (think "booting with borrowed keyboard because your usual Valdis> one just suffered a carbonated caffeine overdose")...
How do you do the same if you had only SCSI disks, but the SCSI modules are not loaded or compiled in?
Valdis> There's a *BASIC* bootstrapping problem here - if you move Valdis> "initialize and handle the keyboard" into userspace, you Valdis> then *require* that a significantly larger chunk of Valdis> userspace be operational in order to be able to even type Valdis> at the machine. If you're trying to recover a *broken* Valdis> userspace, it gets a lot harder.
Valdis> And the embedded people who use Valdis> "init=/onlyprogramthateverruns" are going to have a Valdis> significant collective cow about this....
Does embedded systems always have a keyboard?
-- Sau Dan LEE 李守敦(Big5) ~{@nJX6X~}(HZ)
E-mail: danlee@informatik.uni-freiburg.de Home page: http://www.informatik.uni-freiburg.de/~danlee
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |