Hello Everyone,
Some hours ago I've installed Sculpt OS on my HDD through DD tool using ubuntu flashed from bootable USB.
Now, the system flashes without any errors and everything seems cool, but there is only one problem: I am not able to apport any permanent modification to the OS, everything seems to live in RAM, I have also followed the section "Making customizations permanent" here[1], but also without clicking into the ram fs filesystem bottoms the /config/ folder resets itself after the reboot.
Any Hints? Obviously, I would like to have a desktop OS that isn't volatile.
(Sorry for the possibly dumb question but I've never had such types of problems)
NOTE: Sculpt perfectly supports the hardware of my computer.
[1] https://genode.org/documentation/articles/sculpt-20-02
Regards. Edoardo Mantovani, 2021 ---
Edoardo Mantovani Independent security researcher email: Baseband@cpan.org Urbino, Italy
On 2/19/21 1:08 PM, Edoardo Mantovani wrote:
Hello Everyone,
Some hours ago I've installed Sculpt OS on my HDD through DD tool using ubuntu flashed from bootable USB.
Now, the system flashes without any errors and everything seems cool, but there is only one problem: I am not able to apport any permanent modification to the OS, everything seems to live in RAM, I have also followed the section "Making customizations permanent" here[1], but also without clicking into the ram fs filesystem bottoms the /config/ folder resets itself after the reboot.
Any Hints? Obviously, I would like to have a desktop OS that isn't volatile.
(Sorry for the possibly dumb question but I've never had such types of problems)
NOTE: Sculpt perfectly supports the hardware of my computer.
[1] https://genode.org/documentation/articles/sculpt-20-02
Regards. Edoardo Mantovani, 2021
Edoardo Mantovani Independent security researcher email: Baseband@cpan.org Urbino, Italy
Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users
FWIW, i think this happened to me too. I thought maybe i made a mistake, but i didn't know what/how. That's why i stopped testing when i did.
Hi Edoardo,
"Making customizations permanent" here[1], but also without clicking into the ram fs filesystem bottoms the /config/ folder resets itself after the reboot.
Any Hints? Obviously, I would like to have a desktop OS that isn't volatile.
(Sorry for the possibly dumb question but I've never had such types of problems)
just a wild guess: Do you happen to have activated the "Use" button at the RAM fs node? If yes, Sculpt will use the RAM file system for the depot and nothing will be permanent. Only one "Use" button can be active at a time. As long as you use the RAM fs for your depot, no other "Use" button will be presented. You have to click on the "Use" button again to un-use the file system.
You have to click on the "Storage" node instead. Your hard disk should show up. Select the 3rd partition and click on the "Use" button there. But before doing that, I'd recommend clicking on the "Expand" button to let the partition expand to the full capacity of your hard disk.
This document is outdated. Better take the current version as reference.
https://genode.org/documentation/articles/sculpt-20-08
Cheers Norman
Hi Norman, Thanks for the reply, but I have tried Also this before, result: storage doesn't show anything. (See the photo, I've modified it because was excessively heavy) Regards, Edoardo Mantovani
Il giorno ven 19 feb 2021 alle ore 21:47 Norman Feske < norman.feske@genode-labs.com> ha scritto:
Hi Edoardo,
"Making customizations permanent" here[1], but also without clicking into the ram fs filesystem bottoms the /config/ folder resets itself after the reboot.
Any Hints? Obviously, I would like to have a desktop OS that isn't
volatile.
(Sorry for the possibly dumb question but I've never had such types of
problems)
just a wild guess: Do you happen to have activated the "Use" button at the RAM fs node? If yes, Sculpt will use the RAM file system for the depot and nothing will be permanent. Only one "Use" button can be active at a time. As long as you use the RAM fs for your depot, no other "Use" button will be presented. You have to click on the "Use" button again to un-use the file system.
You have to click on the "Storage" node instead. Your hard disk should show up. Select the 3rd partition and click on the "Use" button there. But before doing that, I'd recommend clicking on the "Expand" button to let the partition expand to the full capacity of your hard disk.
This document is outdated. Better take the current version as reference.
https://genode.org/documentation/articles/sculpt-20-08
Cheers Norman
-- Dr.-Ing. Norman Feske Genode Labs
https://www.genode-labs.com · https://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users
That sounds like a lack of support for your SATA controller. I've seen that on my own computers.
On Sun, Feb 21, 2021, 1:04 AM Edoardo Mantovani < mantovani.edoardo18@gmail.com> wrote:
Hi Norman, Thanks for the reply, but I have tried Also this before, result: storage doesn't show anything. (See the photo, I've modified it because was excessively heavy) Regards, Edoardo Mantovani
Il giorno ven 19 feb 2021 alle ore 21:47 Norman Feske < norman.feske@genode-labs.com> ha scritto:
Hi Edoardo,
"Making customizations permanent" here[1], but also without clicking into the ram fs filesystem bottoms the /config/ folder resets itself after the reboot.
Any Hints? Obviously, I would like to have a desktop OS that isn't
volatile.
(Sorry for the possibly dumb question but I've never had such types of
problems)
just a wild guess: Do you happen to have activated the "Use" button at the RAM fs node? If yes, Sculpt will use the RAM file system for the depot and nothing will be permanent. Only one "Use" button can be active at a time. As long as you use the RAM fs for your depot, no other "Use" button will be presented. You have to click on the "Use" button again to un-use the file system.
You have to click on the "Storage" node instead. Your hard disk should show up. Select the 3rd partition and click on the "Use" button there. But before doing that, I'd recommend clicking on the "Expand" button to let the partition expand to the full capacity of your hard disk.
This document is outdated. Better take the current version as reference.
https://genode.org/documentation/articles/sculpt-20-08
Cheers Norman
-- Dr.-Ing. Norman Feske Genode Labs
https://www.genode-labs.com · https://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users
--
Edoardo Mantovani *Independent security researcher* *email: *Baseband@cpan.org Urbino, Italy _______________________________________________ Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users
Hello, Yes, I had a similar idea of why the hdd cannot ne accessed from Sculpt, bit alla other hardwares fit perfectly with the OS. I al using an elitebook 2540p.
Il giorno lunedì 22 febbraio 2021, Nobody III hungryninja101@gmail.com ha scritto:
That sounds like a lack of support for your SATA controller. I've seen that on my own computers.
On Sun, Feb 21, 2021, 1:04 AM Edoardo Mantovani < mantovani.edoardo18@gmail.com> wrote:
Hi Norman, Thanks for the reply, but I have tried Also this before, result: storage doesn't show anything. (See the photo, I've modified it because was excessively heavy) Regards, Edoardo Mantovani
Il giorno ven 19 feb 2021 alle ore 21:47 Norman Feske < norman.feske@genode-labs.com> ha scritto:
Hi Edoardo,
"Making customizations permanent" here[1], but also without clicking into the ram fs filesystem bottoms the /config/ folder resets itself after the reboot.
Any Hints? Obviously, I would like to have a desktop OS that isn't
volatile.
(Sorry for the possibly dumb question but I've never had such types of
problems)
just a wild guess: Do you happen to have activated the "Use" button at the RAM fs node? If yes, Sculpt will use the RAM file system for the depot and nothing will be permanent. Only one "Use" button can be active at a time. As long as you use the RAM fs for your depot, no other "Use" button will be presented. You have to click on the "Use" button again to un-use the file system.
You have to click on the "Storage" node instead. Your hard disk should show up. Select the 3rd partition and click on the "Use" button there. But before doing that, I'd recommend clicking on the "Expand" button to let the partition expand to the full capacity of your hard disk.
This document is outdated. Better take the current version as reference.
https://genode.org/documentation/articles/sculpt-20-08
Cheers Norman
-- Dr.-Ing. Norman Feske Genode Labs
https://www.genode-labs.com · https://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users
--
Edoardo Mantovani *Independent security researcher* *email: *Baseband@cpan.org Urbino, Italy _______________________________________________ Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users
Hello, Yes, I had a similar idea of why the hdd cannot be accessed from Sculpt, but all other hardwares fit perfectly with the OS. I am using an elitebook 2540p.
Il giorno lunedì 22 febbraio 2021, Edoardo Mantovani < mantovani.edoardo18@gmail.com> ha scritto:
Hello, Yes, I had a similar idea of why the hdd cannot ne accessed from Sculpt, bit alla other hardwares fit perfectly with the OS. I al using an elitebook 2540p.
Il giorno lunedì 22 febbraio 2021, Nobody III hungryninja101@gmail.com ha scritto:
That sounds like a lack of support for your SATA controller. I've seen that on my own computers.
On Sun, Feb 21, 2021, 1:04 AM Edoardo Mantovani < mantovani.edoardo18@gmail.com> wrote:
Hi Norman, Thanks for the reply, but I have tried Also this before, result: storage doesn't show anything. (See the photo, I've modified it because was excessively heavy) Regards, Edoardo Mantovani
Il giorno ven 19 feb 2021 alle ore 21:47 Norman Feske < norman.feske@genode-labs.com> ha scritto:
Hi Edoardo,
"Making customizations permanent" here[1], but also without clicking into the ram fs filesystem bottoms the /config/ folder resets itself after the reboot.
Any Hints? Obviously, I would like to have a desktop OS that isn't
volatile.
(Sorry for the possibly dumb question but I've never had such types
of problems)
just a wild guess: Do you happen to have activated the "Use" button at the RAM fs node? If yes, Sculpt will use the RAM file system for the depot and nothing will be permanent. Only one "Use" button can be active at a time. As long as you use the RAM fs for your depot, no other "Use" button will be presented. You have to click on the "Use" button again to un-use the file system.
You have to click on the "Storage" node instead. Your hard disk should show up. Select the 3rd partition and click on the "Use" button there. But before doing that, I'd recommend clicking on the "Expand" button to let the partition expand to the full capacity of your hard disk.
This document is outdated. Better take the current version as reference.
https://genode.org/documentation/articles/sculpt-20-08
Cheers Norman
-- Dr.-Ing. Norman Feske Genode Labs
https://www.genode-labs.com · https://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users
--
Edoardo Mantovani *Independent security researcher* *email: *Baseband@cpan.org Urbino, Italy _______________________________________________ Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users
--
Edoardo Mantovani *Independent security researcher* *email: *Baseband@cpan.org Urbino, Italy
Hello Edoardo,
I am using an elitebook 2540p.
have you already inspected the /report/log (e.g., via the inspect shell)? Look out for any output of the ahci driver. Did it report anything? Do you see an error? If its not too much trouble, you may "exfiltrate" the file from the Sculpt system by copying it to a USB stick and post it here.
Also the content of /report/drivers/block_devices and /report/drivers/pci_devices may be insightful. The former is presumably empty in your case since no storage device was detected. The latter gives the exact information about the devices (including the SATA controller) present in your machine.
Cheers Norman
Hello Norman,
here there are the 2 log text files, as you predicted, the block_devices file is blank. Regards, Edoardo Mantovani, 2021
Il giorno lun 22 feb 2021 alle ore 09:47 Norman Feske < norman.feske@genode-labs.com> ha scritto:
Hello Edoardo,
I am using an elitebook 2540p.
have you already inspected the /report/log (e.g., via the inspect shell)? Look out for any output of the ahci driver. Did it report anything? Do you see an error? If its not too much trouble, you may "exfiltrate" the file from the Sculpt system by copying it to a USB stick and post it here.
Also the content of /report/drivers/block_devices and /report/drivers/pci_devices may be insightful. The former is presumably empty in your case since no storage device was detected. The latter gives the exact information about the devices (including the SATA controller) present in your machine.
Cheers Norman
-- Dr.-Ing. Norman Feske Genode Labs
https://www.genode-labs.com · https://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users
There was a regression in the SATA driver a while back, when the driver was rewritten, and my AMD B450 SATA controller stopped working. I tried to find it back then, but couldn't. I drifted away from Genode development after that, but I still follow the project.
On Mon, Feb 22, 2021, 9:58 AM Edoardo Mantovani < mantovani.edoardo18@gmail.com> wrote:
Hello Norman,
here there are the 2 log text files, as you predicted, the block_devices file is blank. Regards, Edoardo Mantovani, 2021
Il giorno lun 22 feb 2021 alle ore 09:47 Norman Feske < norman.feske@genode-labs.com> ha scritto:
Hello Edoardo,
I am using an elitebook 2540p.
have you already inspected the /report/log (e.g., via the inspect shell)? Look out for any output of the ahci driver. Did it report anything? Do you see an error? If its not too much trouble, you may "exfiltrate" the file from the Sculpt system by copying it to a USB stick and post it here.
Also the content of /report/drivers/block_devices and /report/drivers/pci_devices may be insightful. The former is presumably empty in your case since no storage device was detected. The latter gives the exact information about the devices (including the SATA controller) present in your machine.
Cheers Norman
-- Dr.-Ing. Norman Feske Genode Labs
https://www.genode-labs.com · https://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users
--
Edoardo Mantovani *Independent security researcher* *email: *Baseband@cpan.org Urbino, Italy _______________________________________________ Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users
Hello Edoardo,
your SATA PCI devices seem to use a programming interface that's not AHCI compatible.
<device bdf="0:1f.2" vendor_id="0x8086" device_id="0x3b2e" class_code="0x1018a" bridge="no" cap="0x1" cap="0x13"/> <device bdf="0:1f.5" vendor_id="0x8086" device_id="0x3b2d" class_code="0x10185" bridge="no" cap="0x1" cap="0x13"/>
For AHCI compatibility the class code has to be 0x0106xx. Your devices use 0101xx which is "IDE interface" [1] [2] [3] and Genode does not support this.
[1] https://pci-ids.ucw.cz/read/PD/01/01 [2] https://pci-ids.ucw.cz/read/PD/01/01/8a [3] https://pci-ids.ucw.cz/read/PD/01/01/85
Regards
Hello Christian, Thanks for your reply, by the way, I would like to have a desktop computer where I can run Sculpt without any error, which computer you suggest for that? I am not a big expert of PCI ports.
Regards, Edoardo Mantovani
Il giorno mar 23 feb 2021 alle ore 06:39 Christian Helmuth christian.helmuth@genode-labs.com ha scritto:
Hello Edoardo,
your SATA PCI devices seem to use a programming interface that's not AHCI compatible.
<device bdf="0:1f.2" vendor_id="0x8086" device_id="0x3b2e" class_code="0x1018a" bridge="no" cap="0x1" cap="0x13"/> <device bdf="0:1f.5" vendor_id="0x8086" device_id="0x3b2d" class_code="0x10185" bridge="no" cap="0x1" cap="0x13"/>
For AHCI compatibility the class code has to be 0x0106xx. Your devices use 0101xx which is "IDE interface" [1] [2] [3] and Genode does not support this.
[1] https://pci-ids.ucw.cz/read/PD/01/01 [2] https://pci-ids.ucw.cz/read/PD/01/01/8a [3] https://pci-ids.ucw.cz/read/PD/01/01/85
Regards
Christian Helmuth Genode Labs
https://www.genode-labs.com/ · https://genode.org/ https://twitter.com/GenodeLabs · /ˈdʒiː.nəʊd/
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users
Hello,
from looking at the log, one can see that the AHCI driver is not even started, which makes sense when comparing the reported PCI class IDs against the code of the driver manager that selects the driver [1].
[1] https://github.com/genodelabs/genode/blob/master/repos/gems/src/app/driver_m...
It may be worth checking the BIOS settings for SATA-related options. I can vaguely remember having seen BIOS options for selecting legacy support versus AHCI.
Cheers Norman
On 23.02.21 06:39, Christian Helmuth wrote:
Hello Edoardo,
your SATA PCI devices seem to use a programming interface that's not AHCI compatible.
<device bdf="0:1f.2" vendor_id="0x8086" device_id="0x3b2e" class_code="0x1018a" bridge="no" cap="0x1" cap="0x13"/> <device bdf="0:1f.5" vendor_id="0x8086" device_id="0x3b2d" class_code="0x10185" bridge="no" cap="0x1" cap="0x13"/>
For AHCI compatibility the class code has to be 0x0106xx. Your devices use 0101xx which is "IDE interface" [1] [2] [3] and Genode does not support this.
[1] https://pci-ids.ucw.cz/read/PD/01/01 [2] https://pci-ids.ucw.cz/read/PD/01/01/8a [3] https://pci-ids.ucw.cz/read/PD/01/01/85
Regards
Hello Norman and Hello Christian,
Thanks for your support! After some work, I was able to set the AHCI mode for the SATA, now the "Storage" button in Sculpt works excellent. This thread can be closed, I think. Regards and still thanks, Edoardo Mantovani, 2021
Il giorno mar 23 feb 2021 alle ore 09:45 Norman Feske norman.feske@genode-labs.com ha scritto:
Hello,
from looking at the log, one can see that the AHCI driver is not even started, which makes sense when comparing the reported PCI class IDs against the code of the driver manager that selects the driver [1].
[1] https://github.com/genodelabs/genode/blob/master/repos/gems/src/app/driver_m...
It may be worth checking the BIOS settings for SATA-related options. I can vaguely remember having seen BIOS options for selecting legacy support versus AHCI.
Cheers Norman
On 23.02.21 06:39, Christian Helmuth wrote:
Hello Edoardo,
your SATA PCI devices seem to use a programming interface that's not AHCI compatible.
<device bdf="0:1f.2" vendor_id="0x8086" device_id="0x3b2e" class_code="0x1018a" bridge="no" cap="0x1" cap="0x13"/> <device bdf="0:1f.5" vendor_id="0x8086" device_id="0x3b2d" class_code="0x10185" bridge="no" cap="0x1" cap="0x13"/>
For AHCI compatibility the class code has to be 0x0106xx. Your devices use 0101xx which is "IDE interface" [1] [2] [3] and Genode does not support this.
[1] https://pci-ids.ucw.cz/read/PD/01/01 [2] https://pci-ids.ucw.cz/read/PD/01/01/8a [3] https://pci-ids.ucw.cz/read/PD/01/01/85
Regards
-- Dr.-Ing. Norman Feske Genode Labs
https://www.genode-labs.com · https://genode.org
Genode Labs GmbH · Amtsgericht Dresden · HRB 28424 · Sitz Dresden Geschäftsführer: Dr.-Ing. Norman Feske, Christian Helmuth
Genode users mailing list users@lists.genode.org https://lists.genode.org/listinfo/users