Edenyard | 1 Oct 2005 13:56
Picon
Favicon

Re: Running Slack from CF-IDE adaptor


Armando Vega <synan <at> rilinux.hr> wrote:

> You are aware thet cf cards have limited I/O cycles, and that slack has 
> excessive logging that will eat up those cycles in like an hour or so?

	Slack shouldn't do any logging (or any other writing) at all to the CF if it's 
mounted read-only, should it? That's the plan, anyway, which should also mean 
that it doesn't ming losing power without being unmounted and also it won't do a 
time-consuming file-system check every time it boots. Quick booting is another 
of my criteria.

Cowboy <curt <at> spam-o-matic.net> wrote:

>  Trending in the direction of an embedded system ?
>  You don't need 1 gig flash. What's available today is enough, but you
>  will need lots of RAM !
>  You *could* run a SLAX system from flash now.
>  Like SLAX, you could also roll your own. 
>  BOOT from the flash, but run entirely from RAM, just like the CD systems,
>  such as SLAX ( based on Slackware 10.1 last I looked )

	Yes! Embedded is really what I want, except that it seemed more cost-effective 
to use a standard desktop-PC motherboard and other parts. Size isn't critical 
but quick booting, resilience to power removal and reliable unattended operation 
all are.

	I suppose that the thing I most want to know is how fast the PC will boot with 
CF as the storage medium. I've heard that they're VERY slow but I don't know 
whether that's a reliable opinion.
(Continue reading)

Emon | 2 Oct 2005 16:07
Picon
Favicon

ACPI problem

Hello everyone

I am running Slackware 10.2 (kernen version
2.6.13-Emon08). It is a custom compiled kernel. I
can't get ACPI working; the power switch doesn't turn
off my PC!! I have got acpid-1.0.4-i486-2 installed
and during bootup my PC displays the following message

**************
Starting ACPI daemon /ser/sbin/acpid.
**************

So I tried this

**********************
root <at> magic-box:~# tail -f /var/log/acpid
[Sun Oct  2 01:35:37 2005] starting up
[Sun Oct  2 01:35:37 2005] 2 rules loaded
[Sun Oct  2 01:38:57 2005] exiting
[Sun Oct  2 01:40:29 2005] starting up
[Sun Oct  2 01:40:30 2005] 2 rules loaded
[Sun Oct  2 02:20:18 2005] exiting
[Sun Oct  2 16:38:01 2005] starting up
[Sun Oct  2 16:38:01 2005] 2 rules loaded
[Sun Oct  2 18:33:20 2005] starting up
[Sun Oct  2 18:33:20 2005] 2 rules loaded
************************

Regardless of how many times I press the power button,
it just keeps showing me the above 8 lines of output
(Continue reading)

Cowboy | 2 Oct 2005 20:52

Re: Running Slack from CF-IDE adaptor

On Saturday 01 October 2005 07:56 am, Edenyard wrote:
>
>Armando Vega <synan <at> rilinux.hr> wrote:
>
>> You are aware thet cf cards have limited I/O cycles, and that slack has 
>> excessive logging that will eat up those cycles in like an hour or so?
>
>	Slack shouldn't do any logging (or any other writing) at all to the CF if it's 
>mounted read-only, should it?

 It will attempt to log to wherever things like /etc/syslog.conf tell it to.
 Systems like Slax and Knoppix tend to "log" to a file in RAM.
 It all goes away when power does.

>That's the plan, anyway, which should also mean  
>that it doesn't ming losing power without being unmounted and also it won't do a 
>time-consuming file-system check every time it boots.

 If the system is configured correctly, yes, just like a LiveCD.
 Shutdown on the stuff I do, is virtually non-existant. Just power off.
 It's all ephemeral anyway, so a "proper" shutdown is irrelevent.

 Once I know the system is what I want it to be, I remove the fsck stuff and
 take it out of the boot scripts also, because it's truly unnecessary.
 Since nothing is ( or can be ) written back to CD, there's no point.

 One one I did, it's possible to mount a real hard drive under the virtual
 file system, and in this case, simply powering off is a bad idea, without
 first unmounting the hard drive.

(Continue reading)

Grant | 2 Oct 2005 22:44

Re: ACPI problem

On Sunday 02 October 2005 15:07, Emon wrote:
> Hello everyone

Hi!

> I am running Slackware 10.2 (kernen version
> 2.6.13-Emon08). It is a custom compiled kernel. I
> can't get ACPI working; the power switch doesn't turn
> off my PC!! 

> # CONFIG_ACPI_BUTTON is not set

Try re-compiling with the ACPI_BUTTON option as a module and then 
modprobe/insmod it  <at>  boot.

:)
--

-- 
Grant
LinuxUser 288282 (http://counter.li.org)
ICQ #209696206
Hugo González Monteverde | 3 Oct 2005 22:52

Re: Running Slack from CF-IDE adaptor

You need to do both read-only and no-timestamp... even though data is 
read only, metadata could change, thus  updating the CF data.

mount -o ro noatime

Hugo

Edenyard wrote:
> 
>     Slack shouldn't do any logging (or any other writing) at all to the 
> CF if it's mounted read-only, should it? That's the plan, anyway, which 
> should also mean that it doesn't ming losing power without being 
> unmounted and also it won't do a time-consuming file-system check every 
> time it boots. Quick booting is another of my criteria.
> 
Dexter Filmore | 4 Oct 2005 02:51
Picon
Picon

Re: Running Slack from CF-IDE adaptor


Well, a CF on an IDE adapter will be seen just like an ordinary hard disk,
but the CF card will die after... umm.. well, I guess 1 week at best,
probably sooner due to cell wearout from I/O. Flash only takes 100000
rewrites at best, even minix can do that within no time.

But, you might have heard of the firewall Linux IPCop - was Slack based once
iirc and now is LFS based, but anyway, there's a mkflash script that adapts
the logging and such so it's written into a ramdisk and synced every two
hours with the flash module.

Should be a start.

On Wed, 28 Sep 2005 17:40:24 +0100
Edenyard <mail <at> edenyard.co.uk> wrote:

> Has anyone ever tried using a compact flash card (connected to motherboard via 
> CF-IDE adaptor) as a storage medium for a Slackware system. I'd like to build a 
> 'solid-state' Slack system (mainly so that it will survive power cuts without 
> being properly shut down first). I've heard tales of woe that Linux won't 
> readily boot via CF-IDE adaptors, though....
> 

--

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d--(+) <at>  s-:+ a- C+++(++++) UL+>++++ P+>++ L+++>++++ E-- W++ N o? K-
w--(---) !O M+ V- PS++(+) PE(-) Y+ PGP(-) t++(---) <at>  5 X+(++) R+(++) tv--(+) <at>  
b+(+++) DI+++ D G++ e* h>++ r%>* y?
------END GEEK CODE BLOCK------
(Continue reading)

Edenyard | 4 Oct 2005 08:18
Picon
Favicon

Re: Running Slack from CF-IDE adaptor

Cowboy <curt <at> spam-o-matic.net> wrote:

>  Here's what *I* would do.

(snip)

>  Hope this helps.....

Yes - that's a huge help and was exactly the sort of guidance I was 
hoping for. I'll work through the ideas and see what gives.

Thanks again,

Gerald.
Dexter Filmore | 4 Oct 2005 12:54
Picon
Picon

bash, konsole, line wrapping


What is this? in Konsole sometimes lines are not properly wrapped, like
there's no line feed and the beginning of the original line gets overwritten
instead and when moving the cursor back the line is shifted one char to the
left and the like. 

Dex

--

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d--(+) <at>  s-:+ a- C+++(++++) UL+>++++ P+>++ L+++>++++ E-- W++ N o? K-
w--(---) !O M+ V- PS++(+) PE(-) Y+ PGP(-) t++(---) <at>  5 X+(++) R+(++) tv--(+) <at>  
b+(+++) DI+++ D G++ e* h>++ r%>* y?
------END GEEK CODE BLOCK------

http://www.againsttcpa.com - nothing fights like the opposition
Cowboy | 5 Oct 2005 00:44

Re: Running Slack from CF-IDE adaptor

On Tuesday 04 October 2005 02:18 am, Edenyard wrote:
>Cowboy <curt <at> spam-o-matic.net> wrote:
>
>>  Here's what *I* would do.
>
>(snip)
>
>>  Hope this helps.....
>
>Yes - that's a huge help and was exactly the sort of guidance I was 
>hoping for. I'll work through the ideas and see what gives.

 Good deal !
 I actually started nosing around a bit, and although I have the ability
 to create and write flash, I don't have a test machine to boot from it !

 I, too, am starting to see a market for a solid state machine, no moving parts
 in my area of expertise.
 That means that after I find an i386 based system with no fans and such,
 no hard drives, no CD, but with serial and ethernet, and probably with
 plugs for video, keyboard, and monitor, I'll be acquiring a flash/ide adapter,
 but I'm not there yet.

--

-- 
Cowboy

http://cowboys.homeip.net

A billion here, a couple of billion there -- first thing you know it
adds up to be real money.
(Continue reading)

Steven Saner | 5 Oct 2005 00:59

Re: Running Slack from CF-IDE adaptor

On Tue, Oct 04, 2005 at 06:44:44PM -0400, Cowboy wrote:
> On Tuesday 04 October 2005 02:18 am, Edenyard wrote:
> >Cowboy <curt <at> spam-o-matic.net> wrote:
> >
> >>  Here's what *I* would do.
> >
> >(snip)
> >
> >>  Hope this helps.....
> >
> >Yes - that's a huge help and was exactly the sort of guidance I was 
> >hoping for. I'll work through the ideas and see what gives.
> 
>  Good deal !
>  I actually started nosing around a bit, and although I have the ability
>  to create and write flash, I don't have a test machine to boot from it !
> 
>  I, too, am starting to see a market for a solid state machine, no moving parts
>  in my area of expertise.
>  That means that after I find an i386 based system with no fans and such,
>  no hard drives, no CD, but with serial and ethernet, and probably with
>  plugs for video, keyboard, and monitor, I'll be acquiring a flash/ide adapter,
>  but I'm not there yet.

I haven't really followed this thread, so forgive me if I say
something already said. For hardware, you might want to look at:
http://www.soekris.com/.

Steve

(Continue reading)


Gmane