Hi Sebastian,
Thank you for your explanation.
I omit part_blk and get the partition table of my hard disk.
But the L4linux can not use the hard disk.I mean use fdisk command in l4linux just find no device,so I can not mount any partition of my hard disk.
At first I think  I should change some config of l4linux,but I am not sure whether it is the point.

Regards
Yuqing Wang

2013/5/15 Sebastian Sumpf <Sebastian.Sumpf@...1...>
Hi,

On 05/15/2013 10:58 AM, yuqing wang wrote:
> Hi
> i tried ahci_drv.run ,it worked well
> when i tried to use ahci_drv and part_blk making l4linux access to hard
> disk, it failed.
>
> [init -> l4linux] thread=18000 cpu=1
> [init -> l4linux] WARNING: Unknown wrmsr: 0000008b at 6161b1
> [init -> part_blk] Partition 1: LBA 2048 (204800 blocks) type: 7
> [init -> part_blk] Partition 2: LBA 206848 (209730572 blocks) type: 7
> [init -> part_blk] Partition 3: LBA 209938430 (1006979074 blocks) type: f
> [init -> part_blk] Partition 4: LBA 1934756096 (18764976 blocks) type: 7
>
> my hard disk /dev/sda
>
> Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
> 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors
> Units = sectors of 1 * 512 = 512 bytes
> Sector size (logical/physical): 512 bytes / 512 bytes
> I/O size (minimum/optimal): 512 bytes / 512 bytes
> Disk identifier: 0xb673c29c
>
>    Device Boot      Start         End      Blocks   Id  System
> /dev/sda1   *        2048      206847      102400    7  HPFS/NTFS/exFAT
> /dev/sda2          206848   209937419   104865286    7  HPFS/NTFS/exFAT
> /dev/sda3       209938430  1216917503   503489537    f  W95 Ext'd (LBA)
> /dev/sda4      1934756096  1953521071     9382488    7  HPFS/NTFS/exFAT
> /dev/sda5       209938432   517138431   153600000    7  HPFS/NTFS/exFAT
> /dev/sda6       517140480   824340479   153600000    7  HPFS/NTFS/exFAT
> /dev/sda7       824342528  1019652095    97654784   83  Linux
> /dev/sda8      1019654144  1021605887      975872   82  Linux swap / Solaris
> /dev/sda9      1021607936  1216917503    97654784   83  Linux
>
> the part_blk server get the parition of my hard disk (though not
> all),but the l4liunx can not get the partition table

If you want to see the partition table in L4Linux, please omit part_blk
and let L4Linux access the AHCI driver directly. What part_blk does is,
it exposes a 'single' partition as a block device to L4Linux and on a
partition there are no other partitions. It seems that is not what you
want to achieve.

Regards,

Sebastian


--
Sebastian Sumpf
Genode Labs

http://www.genode-labs.com · http://genode.org

Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden
Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth




------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Genode-main mailing list
Genode-main@...12...ceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main