Using CD with WC causes CheckDisk at following boot of PC

28 views
Skip to first unread message

Jan Overbeek

unread,
Jan 12, 2012, 10:01:37 PM1/12/12
to webc-...@googlegroups.com

Hello,

 

I noticed that after using a bootable CD with WC, version 10.2 and also 11.0, at the next boot of the PC from the HDD (using a bootable floppy with the PLOP-bootmanager), the PC starts with the message that the C and D partition needs to be checked (so a CheckDisk).

This behavior worries me. If WC is not touching the HDD, why is the PC then starting with this check, something must have been changed on the HDD.

 

Is the a possible explanation?

 

 

PS

To stop WC I have to push the PC-out-button (a power-down).  

Then I push this PC-button again to start the PC again, however then with a bootable floppy with the PLOP-bootmanager (I cannot open de CD-tray when WC is active).

From the PLOP-bootmanager, which shows all bootable options, I then boot through the HDD. Then the CD-tray opens again.

 

Can you not include in your WC to stop/exit WC, and then offering to open the CD-tray and remove the bootable-CD. So then I do not have to power-down the PC to stop WC.

 

 

Best Regards

Jan

Kai Hendry

unread,
Jan 14, 2012, 3:20:00 AM1/14/12
to webc-...@googlegroups.com
On 13 January 2012 11:01, Jan Overbeek <jjm.ov...@chello.nl> wrote:
> This behavior worries me. If WC is not touching the HDD, why is the PC then
> starting with this check, something must have been changed on the HDD.

This behaviour would worry me too Jan. Can anyone confirm this?

The only thing I can think that maybe doing this is a udev script I
dropped in more than a month ago that automounts disks it finds on
insertion.

This was to realise the "upload photos at Internet cafe" use case.

Tbh I have had nightmares about this, since it opens an attack vector.
Hence I've fell short of blogging / announcing this loudly, which is
really bad of me. I wanted to make sure at least it mount files
without execute permissions, to somehow circumvent people have uxterm
on their disk and somehow (I'm not sure how, but I'm thinking
"security in depth"), executing it.

> Can you not include in your WC to stop/exit WC, and then offering to open
> the CD-tray and remove the bootable-CD. So then I do not have to power-down
> the PC to stop WC.

I think this can be fixed by removing "quickreboot" option from the
boot command line.

I quickly built a version without udev scripts and quickreboot, please
give it a try:
http://custom.webconverger.com/overbeek.iso

Let me know if you can reproduce the disk issue, then I will know it's
not udev at least. Thank you!


Kind regards,

Stewart

unread,
Jan 14, 2012, 10:52:21 AM1/14/12
to Webconverger Users
> > This behavior worries me. If WC is not touching the HDD, why is the PC then
> > starting with this check, something must have been changed on the HDD.
>
> This behaviour would worry me too Jan. Can anyone confirm this?
>

I had heard one person mention the same thing. At the time I was too
busy to look into it, and besides had told them to not have a HDD in
the system they were using for the Kiosk, and to remove it, which
"removed" the problem.

Stewart

janjm.o...@gmail.com

unread,
Jan 14, 2012, 5:47:53 PM1/14/12
to webc-...@googlegroups.com
Hello Mr. Hendry,

(This is a second effort to give my result, the first one did not show up after ending my Google-session)

Really cool, to have a distro with my name. I an honored.

I used overbeek.iso several times (repeatedly booting into WC followed by booting into my HDD). I performed several actions at my HDD-sessions (CCleaner, virus-scanning, even a GParted-session to change a small and minor partition to another format).
I did not have any ChkDsk-event. So a better situation.


However I now had another odd experience.
I have had 2 instances where WC seemed to have lost the internet connection.
At the first I had booted into WC and left it 5-10 minutes without using. I then entered a keyword into the Google-window to find the site I wanted to go to. Nothing happened, and the Google-icon in this window was gone. I clicked X to renew the session, then the WC-screen got blank, and the Google-icon also stayed gone. Several clicking on X did not change this.
I then rebooted into my HDD. I then had a normal working internet connection.
Later after another boot into WC, I had the same in-responsiveness (the Google-icon was gone). However now after clicking X the normal working internet reappeared.
I hope your new website-appearance is OK?


Now the power-down/WC-CD removing/rebooting isuue.
When I push the power-down-button on my PC (WC does not have a power-down/reboot window?) WC indeed opens the CD-tray.
However after the enter-button my PC powers down. So I have to push the power-button again to power up for booting into my HDD.
At closing the WC-session after removing the CD I prefer the get a choice to really power-down or reboot into my HDD.
It is maybe a minor issue but it annoyances me.

The coming days I will test the ChkDsk-issue further.
I wish you luck with your WC-coding.

Jan

Kai Hendry

unread,
Jan 16, 2012, 3:19:04 AM1/16/12
to webc-...@googlegroups.com
On 15 January 2012 06:47, <janjm.o...@gmail.com> wrote:
> I did not have any ChkDsk-event. So a better situation.

Ok I've permanently removed the offending udev automounting code:
http://anonscm.debian.org/gitweb/?p=debian-live/config-webc.git;a=commitdiff;h=ea18dff8af2b6800c580b70ce4219aacae9dae73

I don't know if there is a way of writing that udev script, so it only
mount on insertion of a disk.

> However I now had another odd experience.

> Later after another boot into WC, I had the same in-responsiveness (the
> Google-icon was gone). However now after clicking X the normal working
> internet reappeared.

I need some time to try reproduce this.

> Now the power-down/WC-CD removing/rebooting isuue.
> When I push the power-down-button on my PC (WC does not have a
> power-down/reboot window?) WC indeed opens the CD-tray.
> However after the enter-button my PC powers down. So I have to push the
> power-button again to power up for booting into my HDD.
> At closing the WC-session after removing the CD I prefer the get a choice to
> really power-down or reboot into my HDD.
> It is maybe a minor issue but it annoyances me.

Tbh I think it's more annoying for most to have a dialog to eject the
CD, so I am not keen to make ejecting the CD default behaviour. Or
what do others think?

Kind regards,

Guttorm Flatabø

unread,
Jan 16, 2012, 3:42:59 AM1/16/12
to webc-...@googlegroups.com
On Mon, Jan 16, 2012 at 9:19 AM, Kai Hendry <hen...@webconverger.com> wrote:
Ok I've permanently removed the offending udev automounting code:
http://anonscm.debian.org/gitweb/?p=debian-live/config-webc.git;a=commitdiff;h=ea18dff8af2b6800c580b70ce4219aacae9dae73

I don't know if there is a way of writing that udev script, so it only
mount on insertion of a disk.

Too bad, but it is important that Windows disks and such aren't touched. However, for dedicated kiosks it will usually not matter if disks are touched, as everything will be dedicated to the kiosk anyhow. 
 
Tbh I think it's more annoying for most to have a dialog to eject the
CD, so I am not keen to make ejecting the CD default behaviour. Or
what do others think?

On dedicated kiosks you obviously do not want to remove the boot media before shutting down. I say you keep the current setting as default.

--
Guttorm

Kai Hendry

unread,
Jan 17, 2012, 10:15:27 AM1/17/12
to webc-...@googlegroups.com
On 16 January 2012 16:19, Kai Hendry <hen...@webconverger.com> wrote:
> I need some time to try reproduce this.

I've run a 11.0 instance all day on my X201 Thinkpad connected by wifi
and it was stable, however I think judging by the `dmesg` log it
re-associated with the AP once or twice. I suspect your hardware is
flaky. There are unfortunately a lot of poor quality wireless
equipment in the market.

I highly recommend TP-LINK equipment given a choice.

You can debug by going into debug mode and tailing the logs. Perhaps
you can see where the problem is.


Kind regards,

janjm.o...@gmail.com

unread,
Jan 17, 2012, 4:19:10 PM1/17/12
to webc-...@googlegroups.com
Thanks for your efforts.

I have not experienced any unresponsiveness any more after my report (above).
So it can be because of something trivial (however 2x on one evening?).

The ChkDsk-events also did not reappear any more. So your change of code not to touch the HDD seems OK (still it would be interesting, for you, to understand what caused the ChkDsk, touching the HDD should not result in this?).

Exit of the WC-session (on my PC) by a power-down, is not a real deal-breaker.

So succes with your WC effort.

Jan

Guttorm Flatabø

unread,
Jan 19, 2012, 3:56:07 AM1/19/12
to webc-...@googlegroups.com
Exit of the WC-session (on my PC) by a power-down, is not a real deal-breaker.

You can easily make Webconverger behave like other live CD's by removing the quickreboot boot option.


--
Guttorm

Kai Hendry

unread,
Jan 19, 2012, 11:25:09 PM1/19/12
to webc-...@googlegroups.com
On 18 January 2012 05:19, <janjm.o...@gmail.com> wrote:
> The ChkDsk-events also did not reappear any more. So your change of code not
> to touch the HDD seems OK (still it would be interesting, for you, to
> understand what caused the ChkDsk, touching the HDD should not result in
> this?).

ChkDsk probably does some raw dd style checking whilst mount opens the
filesystem for use and probably writes something to the metadata.


I think I need to establish a poll whether people want/need to upload
from Webconverger. In order to warrant looking into how to only mount
inserted disks, as opposed to what udev discovers. :)

Kind regards,

Stewart

unread,
Jan 19, 2012, 11:42:22 PM1/19/12
to Webconverger Users
On Jan 19, 8:25 pm, Kai Hendry <hen...@webconverger.com> wrote:
> I think I need to establish a poll whether people want/need to upload
> from Webconverger. In order to warrant looking into how to only mount
> inserted disks, as opposed to what udev discovers. :)

Why not give them a boot option? "mountdrives=true" if they want it,
or false/nothing (default) if they don't. One of the strengths of
webconverger is the ability to do simple, yet useful, options quickly
and easily.

Kai Hendry

unread,
Jan 19, 2012, 11:45:34 PM1/19/12
to webc-...@googlegroups.com
On 20 January 2012 12:42, Stewart <xen...@gmail.com> wrote:
> Why not give them a boot option? "mountdrives=true" if they want it,
> or false/nothing (default) if they don't. One of the strengths of
> webconverger is the ability to do simple, yet useful, options quickly
> and easily.

Good suggestion. Kind of worried http://webconverger.org/boot is
getting a bit crazy.


I was thinking of having more of a menu on the boot screen, so people
could choose language et al. But with all the options, it turns into
some UI nightmare. :)

Kai Hendry

unread,
Jan 29, 2012, 5:39:41 AM1/29/12
to webc-...@googlegroups.com
Just followed up with udev upsteam and I'm evidently doing it all
wrong trying to mount via udev. _sigh_

http://www.spinics.net/lists/hotplug/msg05324.html

Some things in Linux suck a lot.

Kind regards,

Matthijs Kooijman

unread,
Jan 29, 2012, 7:14:56 AM1/29/12
to webc-...@googlegroups.com
Hey Kai,

> Just followed up with udev upsteam and I'm evidently doing it all
> wrong trying to mount via udev. _sigh_

Perhaps pydsm might help (just stumbled upon it, haven't actually tried
it yet)?

http://pysdm.sourceforge.net/

Gr.

Matthijs

signature.asc

Kai Hendry

unread,
Jan 30, 2012, 9:50:13 AM1/30/12
to webc-...@googlegroups.com
On 29 January 2012 20:14, Matthijs Kooijman <matt...@stdin.nl> wrote:
> http://pysdm.sourceforge.net/

Python, sourceforge and CVS aren't good signs. :) Will look.

I think I should study http://www.chromium.org/chromium-os sources and
maybe even BSDs to see how they tackle these sorts problems.


Anyway, I plan to release 11.2 very soon without mounting support.


Kind regards,

Kai Hendry

unread,
Feb 1, 2012, 10:47:17 PM2/1/12
to webc-...@googlegroups.com
On 30 January 2012 22:50, Kai Hendry <hen...@webconverger.com> wrote:
> Anyway, I plan to release 11.2 very soon without mounting support.

The release is delayed for Iceweasel (Firefox) 10 to hit and give it
some testing with
https://github.com/Webconverger/iceweasel-webconverger

http://www.mozilla.org/en-US/firefox/10.0/releasenotes/

Was pleased to see 1155 new 11.0 users last month.
http://ping.webconverger.org/2012-01.txt

I think 11.2 will be much better, tempted to call it 12. :)

Reply all
Reply to author
Forward
0 new messages