summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSven Vermeulen <swift@gentoo.org>2006-08-02 17:10:38 +0000
committerSven Vermeulen <swift@gentoo.org>2006-08-02 17:10:38 +0000
commit9187f4c52bf9b51c300545df001dd5ae1c98d0b7 (patch)
tree5984ec4063164c4a20740b2da6aeaa4d9b48a90a /content
parentSome files (diff)
downloadkbase-9187f4c52bf9b51c300545df001dd5ae1c98d0b7.tar.gz
kbase-9187f4c52bf9b51c300545df001dd5ae1c98d0b7.tar.bz2
kbase-9187f4c52bf9b51c300545df001dd5ae1c98d0b7.zip
Forgot the rest too, damnid
svn path=/; revision=3
Diffstat (limited to 'content')
-rw-r--r--content/html/rootfs-unknown00.html83
-rw-r--r--content/html/styles.css56
-rw-r--r--content/xsl/kbase.xsl92
3 files changed, 231 insertions, 0 deletions
diff --git a/content/html/rootfs-unknown00.html b/content/html/rootfs-unknown00.html
new file mode 100644
index 0000000..4a86056
--- /dev/null
+++ b/content/html/rootfs-unknown00.html
@@ -0,0 +1,83 @@
+<?xml version="1.0"?>
+<html xmlns="http://www.w3.org/1999/xhtml"><head><title>Unable to mount root fs on unknown-block(0,0)</title><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/><link href="styles.css" rel="stylesheet" type="text/css"/><style type="text/css"/></head><body><h1>Unable to mount root fs on unknown-block(0,0)</h1>
+
+<p xmlns=""><b>Maintainers:</b>
+ swift
+</p>
+<p xmlns=""><b>Keywords:</b>
+ boot
+ kernel
+ kernel panic
+</p>
+<h2 xmlns="">Synopsis</h2>
+
+<p xmlns="">
+When you boot up your Gentoo system, you receive the following error before you
+receive the Gentoo-specific start-up:
+</p>
+
+<pre xmlns="">
+VFS: Cannot open root device "hda3" or unknow-block(0,0)
+Please append a correct "root=" boot option
+Kernel Panic: VFS: Unable to mount root fs on unknown-block(0,0)
+</pre>
+
+
+<h2 xmlns="">Environment</h2>
+
+<p xmlns="">
+This occurs when booting a new kernel or after a change in the bootloader
+configuration.
+</p>
+
+
+<h2 xmlns="">Analysis</h2>
+
+<p xmlns="">
+When the Linux kernel has been booted and finished all its initial
+configuration, it tries to mount the root filesystem. It uses the root boot
+parameter to find out what the root filesystem is:
+</p>
+
+<pre xmlns="">
+(Example from a grub.conf):
+kernel /kernel-2.6.10-gentoo-r5 root=/dev/hda3
+</pre>
+
+<p xmlns="">
+As the Linux kernel doesn't understand a string like "/dev/hda3" it translates
+it to a set of numbers, called a major and minor number. In this error, the
+major is zero, which is an illegal value. This occurs when the kernel has not
+detected any hardware that can be called after the root device you told it to
+boot (in the example: /dev/hda3).
+</p>
+
+<p xmlns="">
+The error occurs when the kernel did not load the support driver it needs.
+</p>
+
+
+<h2 xmlns="">Solution</h2>
+
+<p xmlns="">
+There are three possible reasons for this issue to occur: you did not select the
+correct support when configuring the kernel, the support for your disk is built
+as a module and you are not using an initial root device or your hardware does
+not identify itself as /dev/hda3.
+</p>
+
+<p xmlns="">
+Make sure that your kernel configuration has support for the correct controller
+(which governs your disk) and that it is built in the kernel, not as a module.
+Otherwise your kernel would need to be able to mount the disk to find the module
+to ... mount the disk.
+</p>
+
+<p xmlns="">
+If all that fails, double check if your controller really identifies the disk as
+you think it does. Some Serial ATA controllers identify disks as IDE (hd),
+others as SCSI (sd).
+</p>
+
+
+</body></html>
diff --git a/content/html/styles.css b/content/html/styles.css
new file mode 100644
index 0000000..ab9460a
--- /dev/null
+++ b/content/html/styles.css
@@ -0,0 +1,56 @@
+body{
+ font-size: 1em;
+ font-family: "Lucida Grande", Verdana, sans-serif;
+ color: #333;
+ width: 40em;
+ border-left: 1px #888 dotted;
+ background: #F7F7F7;
+
+}
+
+h1{
+ color:#A77272;
+ text-decoration: none;
+ border-bottom: 1px #A77272 solid;
+ margin: 7px 15px 2px 15px;
+ font: 1.5em Trebuchet MS, sans-serif
+}
+
+h2{
+ color: #727664;
+ font: 1.2em "Lucida Grande", Verdana, sans-serif;
+ border-bottom: 1px #A77272 dashed;
+ letter-spacing: 1px;
+ padding: 5px;
+ margin: 10px;
+}
+
+h3{
+ color: #727664;
+ font: 1.1em "Lucida Grande", Verdana, sans-serif;
+ letter-spacing: 1px;
+ padding: 5px;
+ margin-left: 15px;
+}
+
+p{
+ padding: 3px 15px;
+ text-align: justify;
+ color: #555;
+ margin: 0;
+ line-height: 1.5em;
+}
+
+pre {
+ margin-left: 20px;
+}
+
+a,
+a:link,
+a:visited,
+a:active,
+acronym{
+ color: #000;
+ border-bottom: 1px #000 dotted;
+ text-decoration: none;
+}
diff --git a/content/xsl/kbase.xsl b/content/xsl/kbase.xsl
new file mode 100644
index 0000000..2078d95
--- /dev/null
+++ b/content/xsl/kbase.xsl
@@ -0,0 +1,92 @@
+<?xml version="1.0"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
+
+<xsl:template match="issue">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title><xsl:value-of select="title"/></title>
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
+ <link href="styles.css" rel="stylesheet" type="text/css" />
+ <style type="text/css">
+ <!--
+ -->
+ </style>
+</head>
+<body>
+
+<h1><xsl:value-of select="title"/></h1>
+
+<xsl:apply-templates />
+</body>
+</html>
+
+</xsl:template>
+
+<xsl:template match="synopsis">
+
+<h2>Synopsis</h2>
+
+<xsl:apply-templates />
+
+</xsl:template>
+
+<xsl:template match="environment">
+
+<h2>Environment</h2>
+
+<xsl:apply-templates />
+
+</xsl:template>
+
+<xsl:template match="analysis">
+
+<h2>Analysis</h2>
+
+<xsl:apply-templates />
+
+</xsl:template>
+
+<xsl:template match="solution">
+
+<h2>Solution</h2>
+
+<xsl:apply-templates />
+
+</xsl:template>
+
+<xsl:template match="p">
+<p>
+<xsl:apply-templates />
+</p>
+</xsl:template>
+
+<xsl:template match="e">
+<em><xsl:apply-templates/></em>
+</xsl:template>
+
+<xsl:template match="uri">
+<a href="{@link}"><xsl:value-of select="."/></a>
+</xsl:template>
+
+<xsl:template match="pre">
+<pre>
+<xsl:apply-templates/>
+</pre>
+</xsl:template>
+
+<xsl:template match="maintainers">
+<p>
+<b>Maintainers:</b> <xsl:apply-templates/>
+</p>
+</xsl:template>
+
+<xsl:template match="keywords">
+<p>
+<b>Keywords:</b> <xsl:apply-templates/>
+</p>
+</xsl:template>
+
+<xsl:template match="title"/>
+
+</xsl:stylesheet>
+