Hi again!
Also, in addition to problems described in my previous letter, I have two other ones (I can install Sculpt to a flash stick, though, so this is not so big problem):
1) Sculpt boots (only with x86_32 case, so far) fine until the desktop, it detects my Intel Gigabit LAN and Intel wifi just fine, and the network interface is up and assigned an IP. Also, it correctly detects the size of my 750 GB hard disk (actually, 698 GB, because 1 GB == 1024^3 bytes, not 1000^3 bytes). But the Leitzentrale lists only first three partitions, not all ones (see the screenshot below).
My hard disk partitioning scheme is the following: [1]. The 1st primary partition is a 64 GB FAT32 partition. I tried to use it as a Genode partition, but Sculpt has problems mounting it, for some reason. The extended partition contains the following logical partitions within it:
1) a 3 GB HPFS partition with OS/2 2) another 3 GB HPFS partition (empty) 3) a 420 GB JFS partition, shared by OS/2 and Linux 4) 40 GB Linux swap partition 5) a 55 GB Linux ext3 partition 6) a 10 GB BeFS Haiku partition 7) a 90 GB freespace
[2] is the Sculpt log (I commented-out the routing rules in the config file, so all logs go to the Core LOG service)
[3] is the Sculpt screenshot when loaded, LAN interface up, and there was an attempt to mount a FAT32 partition.
So, there are two problems: 1) Sculpt fails to mount a FAT32 partition 2) part_blk seems to detect not all existing partitions.
The hard disk is a Seagate with a 4096 bytes physical sector, though, it is not aligned at 4096-byte boundary, but aligned on a cylinder boundary (which is a requirement for OS/2). So, I'd suspect some alignment problems here. Also, hard disk geometry in partition table is 127 sectors per track, 255 heads, -- maybe this could cause some problems too? Though, several OS'es had no problems seeing and mounting partitions. I tried Linux, OS/2, Haiku, KolibriOS, ReactOS, WinXP -- all these have no problems with seeing or mounting partitions.
So, any help would be appreciated.
[1] Hard disk partitioning: ------------------------------------------------------------ Disk /dev/sda: 698,7 GiB, 750156374016 bytes, 1465149168 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disklabel type: dos Disk identifier: 0xdf5ee156
Device Boot Start End Sectors Size Id Type /dev/sda1 * 127 134235824 134235698 64G c W95 FAT32 (LBA) /dev/sda4 134235825 1271305559 1137069735 542,2G 5 Extended /dev/sda5 134235952 140550899 6314948 3G 7 HPFS/NTFS/exFAT /dev/sda6 140551027 146865974 6314948 3G 7 HPFS/NTFS/exFAT /dev/sda7 146866102 1054131749 907265648 432,6G 7 HPFS/NTFS/exFAT /dev/sda8 1054131877 1136065799 81933923 39,1G 82 Linux swap / Solaris /dev/sda9 1136065927 1250314596 114248670 54,5G 83 Linux /dev/sda10 1250320207 1271305559 20985353 10G 7 HPFS/NTFS/exFAT ------------------------------------------------------------
[2] Sculpt boot log: sculpt-nova32.log (attached) [3] A screenshot when booted: ftp://osfree.org/upload/img/20190308_001.jpg
WBR, valery
Hello Valery,
- Sculpt boots (only with x86_32 case, so far) fine until the desktop, it
detects my Intel Gigabit LAN and Intel wifi just fine, and the network interface is up and assigned an IP. Also, it correctly detects the size of my 750 GB hard disk (actually, 698 GB, because 1 GB == 1024^3 bytes, not 1000^3 bytes). But the Leitzentrale lists only first three partitions, not all ones (see the screenshot below).
My hard disk partitioning scheme is the following: [1]. The 1st primary partition is a 64 GB FAT32 partition. I tried to use it as a Genode partition, but Sculpt has problems mounting it, for some reason. The extended partition contains the following logical partitions within it:
- a 3 GB HPFS partition with OS/2
- another 3 GB HPFS partition (empty)
- a 420 GB JFS partition, shared by OS/2 and Linux
- 40 GB Linux swap partition
- a 55 GB Linux ext3 partition
- a 10 GB BeFS Haiku partition
- a 90 GB freespace
Could you please give commit [1] a try. It should fix your problem regarding the missing EBR entries.
[1] https://github.com/cnuke/genode/commit/e95e0d1b747bac1bfc41a7781b
To use it in the Sculpt, please cherry-pick the commit and make the following changes to _repos/gems/run/sculpt.run_:
build { server/part_block } append boot_modules { part_block }
Regards Josef
Josef Söntgen wrote:
Hello Valery,
- Sculpt boots (only with x86_32 case, so far) fine until the desktop, it
detects my Intel Gigabit LAN and Intel wifi just fine, and the network interface is up and assigned an IP. Also, it correctly detects the size of my 750 GB hard disk (actually, 698 GB, because 1 GB == 1024^3 bytes, not 1000^3 bytes). But the Leitzentrale lists only first three partitions, not all ones (see the screenshot below).
My hard disk partitioning scheme is the following: [1]. The 1st primary partition is a 64 GB FAT32 partition. I tried to use it as a Genode partition, but Sculpt has problems mounting it, for some reason. The extended partition contains the following logical partitions within it:
- a 3 GB HPFS partition with OS/2
- another 3 GB HPFS partition (empty)
- a 420 GB JFS partition, shared by OS/2 and Linux
- 40 GB Linux swap partition
- a 55 GB Linux ext3 partition
- a 10 GB BeFS Haiku partition
- a 90 GB freespace
Could you please give commit [1] a try. It should fix your problem regarding the missing EBR entries.
[1] https://github.com/cnuke/genode/commit/e95e0d1b747bac1bfc41a7781b
To use it in the Sculpt, please cherry-pick the commit and make the following changes to _repos/gems/run/sculpt.run_:
build { server/part_block } append boot_modules { part_block }
I cherry-picked your commit, and tried it on my machine, now it seems to be fixed, at least, now I see all my 10 partitions shown, with correct sizes!
Thanks for the fix! Now I should be able to create a separate partition for Genode, and it will see it. (Though, there's still a problem with the FAT driver, failing to mount a FAT32 partition, but it is not related to part_blk).
WBR, valery
Regards Josef
Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users