lkml.org 
[lkml]   [2006]   [Jun]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Can't Mount CF-Card on boot of 2.6.15 Kernel on EPIA - VFS: Cannot open root device
Date

Am 12.06.2006 um 21:09 schrieb Jan Engelhardt:

> Hm. Maybe http://lkml.org/lkml/2005/2/26/92 (updated version for
> 2.6.16/.17 below) can help you.
>
> diff --fast -Ndpru linux-2.6.17-rc6~/block/genhd.c linux-2.6.17-rc6
> +/block/genhd.c
> --- linux-2.6.17-rc6~/block/genhd.c 2006-06-06 02:57:02.000000000
> +0200
> +++ linux-2.6.17-rc6+/block/genhd.c 2006-06-08 22:29:16.607058000
> +0200
> @@ -214,6 +214,52 @@ struct gendisk *get_gendisk(dev_t dev, i
> return kobj ? to_disk(kobj) : NULL;
> }
>
> +/*
> + * printk a full list of all partitions - intended for
> + * places where the root filesystem can't be mounted and thus
> + * to give the victim some idea of what went wrong
> + */
> +void printk_all_partitions(void)
> +{
[snip]

Am 13.06.2006 um 08:44 schrieb Markus Biermaier:
> make targz-pkg
> block/genhd.c: In function `printk_all_partitions':
> block/genhd.c:240: Warnung: implicit declaration of function
> `mutex_lock'
> block/genhd.c:240: error: `block_subsys_lock' undeclared (first use
> in this function)
> block/genhd.c:240: error: (Each undeclared identifier is reported
> only once
> block/genhd.c:240: error: for each function it appears in.)
> block/genhd.c:273: Warnung: implicit declaration of function
> `mutex_unlock'
> make[3]: *** [block/genhd.o] Error 1
> make[2]: *** [block] Error 2
> make[1]: *** [targz-pkg] Error 2
> make: *** [targz-pkg] Error 2

Hello Jan,

to get the function "printk_all_partitions" compiled I simply
commented out "mutex_lock" and "mutex_unlock"...

So the result before the boot-panic is:

...
here are the partitions available:
2100 500472 hde driver: ide-disk
2101 500440 hde1
...
What does this mean?

Markus

-
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/

\
 
 \ /
  Last update: 2006-06-13 09:51    [W:0.092 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site