Bug #1518

CD/DVD long boot time / unclear log

Added by corecode almost 5 years ago. Updated 5 months ago.

Status:ClosedStart date:
Priority:NormalDue date:
Assignee:tuxillo% Done:

0%

Category:Other
Target version:3.8.0

Description

The CD/DVD uses mount_mfs to create a writable directory structure. Unfortunately mount_mfs copies all overlayed files instantaneously, leading to a very long boot time.

Additionally, the mounts happen after fsck prints some error about /dev/cd0a, so one could get the impression that the system is somehow fsck'ing the CD.

signature.asc (901 Bytes) corecode, 03/03/2014 11:34 PM

signature.asc (901 Bytes) corecode, 03/03/2014 11:47 PM

Associated revisions

Revision 9a705213
Added by tuxillo 5 months ago

rc.d/root - Remove unnecessary 'mount /' call.

UFS and HAMMER do not emit an error when trying to mount
an already mounted root fileystem but cd9660 does.
That's why this wasn't producing any error message on
already installed systems.

While booting the LiveCD you could see:

cd9660: /dev/vcd0: Invalid argument

Reported-by: corecode
DragonFly-bug: <http://bugs.dragonflybsd.org/issues/1518>

This commit closes #1518

Revision cb1409a6
Added by tuxillo 4 months ago

rc.d/root - Remove unnecessary 'mount /' call.

UFS and HAMMER do not emit an error when trying to mount
an already mounted root fileystem but cd9660 does.
That's why this wasn't producing any error message on
already installed systems.

While booting the LiveCD you could see:

cd9660: /dev/vcd0: Invalid argument

Reported-by: corecode
DragonFly-bug: <http://bugs.dragonflybsd.org/issues/1518>

This commit closes #1518

History

#1 Updated by tuxillo 5 months ago

  • Description updated (diff)
  • Category set to Other
  • Assignee changed from 0 to tuxillo
  • Target version set to 3.8.0

Grab.

#2 Updated by tuxillo 5 months ago

  • Status changed from New to In Progress

Hi,

Measured with a SATA DVD drive using a normal CD. Boot time: 1 minute 57 secs.

Cheers,
Antonio Huete

#3 Updated by tuxillo 5 months ago

  • Status changed from In Progress to Closed

Closing this one.

#4 Updated by corecode 5 months ago

Wait, 2 minutes is good?

On 03/04/2014 01:25 AM, wrote:
> Issue #1518 has been updated by tuxillo.
>
> Status changed from In Progress to Closed
>
> Closing this one.
>
> ----------------------------------------
> Bug #1518: CD/DVD long boot time / unclear log
> http://bugs.dragonflybsd.org/issues/1518#change-11872
>
> * Author: corecode
> * Status: Closed
> * Priority: Normal
> * Assignee: tuxillo
> * Category: Other
> * Target version: 3.8.0
> ----------------------------------------
> The CD/DVD uses mount_mfs to create a writable directory structure. Unfortunately mount_mfs copies all overlayed files instantaneously, leading to a very long boot time.
>
> Additionally, the mounts happen after fsck prints some error about /dev/cd0a, so one could get the impression that the system is somehow fsck'ing the CD.
>
>
>

#5 Updated by swildner 5 months ago

On Tue, 04 Mar 2014 08:34:45 +0100,
<> wrote:

> Issue #1518 has been updated by corecode.
>
> File signature.asc added
>
> Wait, 2 minutes is good?

Is trying to improve it really worth the effort? ISOs are mostly used for
VMs it seems and most people use our USB images.

Sascha

#6 Updated by corecode 5 months ago

That's a better reason :)

On 03/04/2014 08:46 AM, wrote:
> Issue #1518 has been updated by swildner.
>
>
> On Tue, 04 Mar 2014 08:34:45 +0100,
> <> wrote:
>
>> Issue #1518 has been updated by corecode.
>>
>> File signature.asc added
>>
>> Wait, 2 minutes is good?
> Is trying to improve it really worth the effort? ISOs are mostly used for
> VMs it seems and most people use our USB images.
>
> Sascha
>
> ----------------------------------------
> Bug #1518: CD/DVD long boot time / unclear log
> http://bugs.dragonflybsd.org/issues/1518#change-11876
>
> * Author: corecode
> * Status: Closed
> * Priority: Normal
> * Assignee: tuxillo
> * Category: Other
> * Target version: 3.8.0
> ----------------------------------------
> The CD/DVD uses mount_mfs to create a writable directory structure. Unfortunately mount_mfs copies all overlayed files instantaneously, leading to a very long boot time.
>
> Additionally, the mounts happen after fsck prints some error about /dev/cd0a, so one could get the impression that the system is somehow fsck'ing the CD.
>
> ---Files--------------------------------
> signature.asc (901 Bytes)
>
>

Also available in: Atom PDF