euglug.org

[작성자:] admin

  • [Eug-lug] grrrr…. damn computers!



    Linux Rocks!Tue Jan 4 12:40:08 PST 2005

    On Tuesday 04 January 2005 05:23 pm, larry price wrote:
    : On Tue, 4 Jan 2005 14:42:23 -0500, Linux Rocks!
    :
    : <linux at rocksolidnetworks.com> wrote:
    : > This is my hardware:
    : >
    : > ASUS P4R800-V Deluxe motherboard.
    : > onboard SATA/IDE Raid controller (SIS 180)
    : >
    : >
    : > I have slack installed on a 160 GB disk, on the other IDE controller, and
    : > have built many kernels, and tried many stock kernels (including
    : > ataraid.i). Ive compiled sata_sis (the driver for sis 180) modules, and
    : > in the kernel. Ive compiled libata into the kernel, and modules.
    : > Ive tried dmraid (and device mapper). I get "No Sofware RAID disks"
    : > message. I dont even know how these drives will appear exactly, but none
    : > of the kernels Ive used, or modules Ive loaded have shown the 2 raid
    : > disks in dmesg (but it does show the controller loading, and 2 controller
    : > channels.)
    : >
    : > So, Im also confused about what is software raid, soft-hardware raid...
    : > It sholdnt be that hard to setup!! but yet it is.
    :
    : usually to setup a hardware raid you'll need to run the manufacturers
    : provided tool to register the disks and format the RAID partitions,
    : once you've done that the disks should show up if you have working
    : drivers.
    
    yeah, I did that in xp, and it was working. 
    
    Part of the issue is that its not a true hardware controller. Nearest I can 
    tell, its what they call fakeraid. from what Ive read, it should be able to 
    be used as a hardware raid with the sata_sis driver, but I havnt seen that 
    yet. Another part of the problem is that the controller runs SATA, and IDE, 
    and most ifnot all the docs ive read dont talk about setting up ide drives.
    
    
    I can also set it up as just software raid (bypassing the raid bios i guess). 
    but i havnt see that working under linux yet either.
    
    also, I should mention, Ive tried removing the raid (in the raid bios), to use 
    them as regular disks (which btw is mentioned in that sis SATA RAID manual), 
    and I still cant see the disks...
     
    Im not sure where they will appear, some docs I read mention /dev/ataraid, 
    some /dev/md, or even /dev/hde, /dev/hdg. but ive seen none of that(although 
    I have seen md, and ataraid in my dev dir...)
    
    :
    : Software RAID uses the host computer to manage all the parity checking etc.
    : But since you have the hardware ...
    
    yeah, from what Ive read, the linux software raid works better than these 
    types of raid controllers... Right now, id settle for working! but i would 
    like to compare and see for myself.
    
    If I can figure out how to access the disks at all, it will be easier!
    
    :
    : you might want to check this manual
    : http://www.sis.com/support/faq/SATA_RAID_manual.pdf
    yep, read that. I have it on the computer for quick reference.... I aslo have 
    all the other pdf's from sis, and asus related to this board. 
    
    
    : _______________________________________________
    : EUGLUG mailing list
    : euglug at euglug.org
    : http://www.euglug.org/mailman/listinfo/euglug
    
    -- 
    Let's call it an accidental feature.
    	-- Larry Wall
    
    
  • [Eug-lug] grrrr…. damn computers!



    Linux Rocks!Tue Jan 4 11:42:23 PST 2005

    So, Im still trying to backup my laptop, and thats being a pain in the ass... 
    kbear keeps barfing on me.. getting real tired if that, but whats pissing me 
    off more is this damn raid setup. I still havnt gotten linux to see the 
    drives. I have tested it in windows xp, and the hardware does work. 
    
    This is my hardware:
    
    ASUS P4R800-V Deluxe motherboard.
    onboard SATA/IDE Raid controller (SIS 180)
    
    Ive tried so much stuff I cant list it all, but a summary of what ive tried 
    is:
    Knoppix boot cd (with various boot params) ... no luck
    Gentoo minimal install CD
    Custom Gentoo CD (gen2raid)
    Slackware 10
    
    I have slack installed on a 160 GB disk, on the other IDE controller, and have 
    built many kernels, and tried many stock kernels (including ataraid.i). Ive 
    compiled sata_sis (the driver for sis 180) modules, and in the kernel. Ive 
    compiled libata into the kernel, and modules. 
    Ive tried dmraid (and device mapper). I get "No Sofware RAID disks" message.
    I dont even know how these drives will appear exactly, but none of the kernels 
    Ive used, or modules Ive loaded have shown the 2 raid disks in dmesg (but it 
    does show the controller loading, and 2 controller channels.)
    
    So, Im also confused about what is software raid, soft-hardware raid... It 
    sholdnt be that hard to setup!! but yet it is.
    
    To compund things, Ive read so many docs relating (but not quite right for my 
    setup,) some docs are 2 years old, some dont use my hardware, some use my 
    controller, but not ide, ... its been really frustrating.
    
    So, It seems the current issue is that I simply cannot see these drive under 
    linux. once I can see the drives, I may actually be able to use them.
    If someone has a clue how/what I need to do... please let me know...
    
    
    Jamie
    
    
    
    -- 
    > You know you are "there" when you are known by your first name, and
    > are recognized.
    > Lemmie see, there is Madonna, and Linus, and ..... help me out here!
    Bill ? ;-)
    	-- From some postings on comp.os.linux.misc
    
    
  • [Eug-lug] Borrow a Pyrometer?



    Bob MillerTue Jan 4 08:26:05 PST 2005

    I was caught out by the Reply-To: field.  Sorry for wasting your time,
    everybody.
    
    Bob Miller wrote:
    
    > Thank you!
    > 
    > I put your thermometer by your front door yesterday afternoon.
    > Did you get it?
    > 
    > Didn't mean to keep it so long, but you said you never used it...
    > Anyway, thanks again.
    > 
    > -- 
    > Bob Miller                              K<bob>
    > kbobsoft software consulting
    > http://kbobsoft.com                     kbob at jogger-egg.com
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    
    -- 
    Bob Miller                              K<bob>
    kbobsoft software consulting
    http://kbobsoft.com                     kbob at jogger-egg.com
    
  • [Eug-lug] Borrow a Pyrometer?



    Bob MillerTue Jan 4 08:23:57 PST 2005

    Ken Barber wrote:
    
    > I have an electronic thermometer, used when I was in the refrigeration/air 
    > conditioning trade, that is specifically designed to be used for reading the 
    > temperature of flowing air among other things.
    
    Thank you!
    
    I put your thermometer by your front door yesterday afternoon.
    Did you get it?
    
    Didn't mean to keep it so long, but you said you never used it...
    Anyway, thanks again.
    
    -- 
    Bob Miller                              K<bob>
    kbobsoft software consulting
    http://kbobsoft.com                     kbob at jogger-egg.com
    
  • [Eug-lug] To Horst-Q/colours



    larry priceTue Jan 4 07:01:03 PST 2005

    Well, it's only useful if you are needing to copy a set of symlinks
    from one directory to another, the real value comes in knowing the
    basic parts and combining them to do useful things on the spur of the
    moment.
    
    for instance the incantation I used can be broken down into it's
    components like so
    
    1. find searches  a given directory for files that are links and runs
    ls -l on them to get the full file names of both the link and it's
    target,
    
    2. it's output is piped to sed, line by line, and for each line a
    regular expression is used to write a line 'ln -s target linkname'
    
    3. this is saved in a file named tmp which is then evaluated, and then erased.
    
    the final effect of all this is to make a copy of every symbolic link
    in one directory in another directory. while writing this post, I
    realized it woul be possible to simplify the regex even further by
    using an invocation of ln that only used the target
    
    On Tue, 04 Jan 2005 12:07:33 +0000, walter fry <kd7kpa at hotmail.com> wrote:
    > I have pencil on paper copied this command string and thought it wiser to
    > ask whether this might be destructive if I entered this as is...is it ok to
    > use?
    > 
    > >From: "T. Joseph CARTER" <knghtbrd at bluecherry.net>
    > >Reply-To: Eugene Unix and Gnu/Linux User Group <euglug at euglug.org>
    > >To: larry price <laprice at gmail.com>,Eugene Unix and Gnu/Linux User Group
    > ><euglug at euglug.org>
    > >Subject: Re: [Eug-lug] To Horst-Q/colours
    > >Date: Mon, 3 Jan 2005 23:20:55 -0800
    > >
    > >On Tue, Jan 04, 2005 at 12:56:22AM -0500, larry price wrote:
    > > > On Mon, 3 Jan 2005 21:17:38 -0800, T. Joseph CARTER
    > > > <knghtbrd at bluecherry.net> wrote:
    > > > > They say Linux is free if your time has no value.  For the time
    > >invested,
    > > > > though, you learn about a set of tools that are largely the same ones
    > >that
    > > > > were developed 35 years ago for getting serious work done, and are
    > >still
    > > > > some of the most effective tools for that purpose.  The UNIX shell
    > > > > environment is at times a scary thing for new users, but once you get
    > >the
    > > > > hang of it and how easily you can do most anything you want with it, I
    > > > > think you'll be hard pressed to imagine anything else as worthwhile,
    > >even
    > > > > if it does seem simpler for the time being.
    > > >
    > > > Keep at it, and you might find yourself doing things like this
    > > >
    > > > find /usr/blah/ -type l -exec ls -l {} \; | sed 's/^.* \([^ ].*\) ->
    > > > \(.*\)/ln -s \2 \/usr\/foo\/\1' > tmp; eval tmp; rm tmp
    > > >
    > > > I actually used something like that earlier today, it made sense in
    > >context.
    > >
    > >You're missing a / there before > tmp, and that's disgusting(!) and
    > >clever.  ;)
    > >
    > >_______________________________________________
    > >EUGLUG mailing list
    > >euglug at euglug.org
    > >http://www.euglug.org/mailman/listinfo/euglug
    > 
    > _________________________________________________________________
    > On the road to retirement? Check out MSN Life Events for advice on how to
    > get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
    > 
    > _______________________________________________
    > EUGLUG mailing list
    > euglug at euglug.org
    > http://www.euglug.org/mailman/listinfo/euglug
    > 
    
    
    -- 
    http://Zoneverte.org -- information explained
    Do you know what your IT infrastructure does?
    
  • [Eug-lug] To Horst-Q/colours



    walter fryTue Jan 4 04:07:33 PST 2005

    I have pencil on paper copied this command string and thought it wiser to 
    ask whether this might be destructive if I entered this as is...is it ok to 
    use?
    
    >From: "T. Joseph CARTER" <knghtbrd at bluecherry.net>
    >Reply-To: Eugene Unix and Gnu/Linux User Group <euglug at euglug.org>
    >To: larry price <laprice at gmail.com>,Eugene Unix and Gnu/Linux User Group 
    ><euglug at euglug.org>
    >Subject: Re: [Eug-lug] To Horst-Q/colours
    >Date: Mon, 3 Jan 2005 23:20:55 -0800
    >
    >On Tue, Jan 04, 2005 at 12:56:22AM -0500, larry price wrote:
    > > On Mon, 3 Jan 2005 21:17:38 -0800, T. Joseph CARTER
    > > <knghtbrd at bluecherry.net> wrote:
    > > > They say Linux is free if your time has no value.  For the time 
    >invested,
    > > > though, you learn about a set of tools that are largely the same ones 
    >that
    > > > were developed 35 years ago for getting serious work done, and are 
    >still
    > > > some of the most effective tools for that purpose.  The UNIX shell
    > > > environment is at times a scary thing for new users, but once you get 
    >the
    > > > hang of it and how easily you can do most anything you want with it, I
    > > > think you'll be hard pressed to imagine anything else as worthwhile, 
    >even
    > > > if it does seem simpler for the time being.
    > >
    > > Keep at it, and you might find yourself doing things like this
    > >
    > > find /usr/blah/ -type l -exec ls -l {} \; | sed 's/^.* \([^ ].*\) ->
    > > \(.*\)/ln -s \2 \/usr\/foo\/\1' > tmp; eval tmp; rm tmp
    > >
    > > I actually used something like that earlier today, it made sense in 
    >context.
    >
    >You're missing a / there before > tmp, and that's disgusting(!) and
    >clever.  ;)
    >
    >_______________________________________________
    >EUGLUG mailing list
    >euglug at euglug.org
    >http://www.euglug.org/mailman/listinfo/euglug
    
    _________________________________________________________________
    On the road to retirement? Check out MSN Life Events for advice on how to 
    get there! http://lifeevents.msn.com/category.aspx?cid=Retirement
    
    
  • [Eug-lug] To Horst-Q/colours



    T. Joseph CARTERMon Jan 3 23:20:55 PST 2005

    On Tue, Jan 04, 2005 at 12:56:22AM -0500, larry price wrote:
    > On Mon, 3 Jan 2005 21:17:38 -0800, T. Joseph CARTER
    > <knghtbrd at bluecherry.net> wrote:
    > > They say Linux is free if your time has no value.  For the time invested,
    > > though, you learn about a set of tools that are largely the same ones that
    > > were developed 35 years ago for getting serious work done, and are still
    > > some of the most effective tools for that purpose.  The UNIX shell
    > > environment is at times a scary thing for new users, but once you get the
    > > hang of it and how easily you can do most anything you want with it, I
    > > think you'll be hard pressed to imagine anything else as worthwhile, even
    > > if it does seem simpler for the time being.
    > 
    > Keep at it, and you might find yourself doing things like this 
    > 
    > find /usr/blah/ -type l -exec ls -l {} \; | sed 's/^.* \([^ ].*\) ->
    > \(.*\)/ln -s \2 \/usr\/foo\/\1' > tmp; eval tmp; rm tmp
    > 
    > I actually used something like that earlier today, it made sense in context.
    
    You're missing a / there before > tmp, and that's disgusting(!) and
    clever.  ;)
    
    
  • [Eug-lug] To Horst-Q/colours



    larry priceMon Jan 3 21:56:22 PST 2005

    On Mon, 3 Jan 2005 21:17:38 -0800, T. Joseph CARTER
    <knghtbrd at bluecherry.net> wrote:
    > They say Linux is free if your time has no value.  For the time invested,
    > though, you learn about a set of tools that are largely the same ones that
    > were developed 35 years ago for getting serious work done, and are still
    > some of the most effective tools for that purpose.  The UNIX shell
    > environment is at times a scary thing for new users, but once you get the
    > hang of it and how easily you can do most anything you want with it, I
    > think you'll be hard pressed to imagine anything else as worthwhile, even
    > if it does seem simpler for the time being.
    
    Keep at it, and you might find yourself doing things like this 
    
    find /usr/blah/ -type l -exec ls -l {} \; | sed 's/^.* \([^ ].*\) ->
    \(.*\)/ln -s \2 \/usr\/foo\/\1' > tmp; eval tmp; rm tmp
    
    I actually used something like that earlier today, it made sense in context.
    
    
    -- 
    http://Zoneverte.org -- information explained
    Do you know what your IT infrastructure does?
    
  • [Eug-lug] To Horst-Q/colours



    T. Joseph CARTERMon Jan 3 21:17:38 PST 2005

    On Tue, Jan 04, 2005 at 03:03:36AM +0000, walter fry wrote:
    > thanks 4 your interest.. My text.ed is GDM2 (gnome ver.=2.5.90.2 last 
    > up.d.=2/12/4 ) I was using the right click in the fedora main screen which 
    > says "open terminal" and that gives me a command line where I entered " ls 
    > -lh " this gives me the permissions some text.. and some stuff in colour, 
    > that is what got my interest, I wanted to know what it meant, and I was 
    > wondering from where this colour coding was controled.
    
    The ls command has some colour information stored internally if you use
    the --color or --color=auto option to ls (your distribution is probably
    set up to use --color=auto by default), but there is a command which
    allows you to configure the colours, named appropriately "dircolors".
    
    The way to run this command is "eval `dircolors`" (note the backticks)
    either at the command prompt or in your ~/.bash_profile..  "man dircolors"
    will tell you a bit more about the program and show you a little more
    about using it.  To see what the config file for dircolors would look
    like, use "dircolors --print-database | less" (the output is long, and
    less will let you scroll up and down easily--it's like the dos command
    more, except better..)
    
    You can really tweak the output of ls in a lot of cool ways.  My standard
    ls alias is "ls -F --color=auto", which uses both colour output for
    interactive usage and adds an extra character for special files to help
    you know what they are.  You'll probably recognize the numbers used in the
    config file as being the same as the ones used by \e[<whatever>m code in
    the message from this weekend, but I'll repeat the numbers below so that
    you have the information in this context.
    
    
    > That stuff about escape sequences is totally puzzeling to me
    > particularly since I could not find any reference in any of my books.
    > perhaps I'm just not smart enough to know how to look it up.
    
    The escape sequences are a bit archaic, depend a bit on your terminal type
    (though there is a standard set that works on nearly all terminals you'll
    ever encounter), and is a throwback to the days when people had several
    monitors and keyboards connected to a single big computer through serial
    ports (and even further back than that actually!)  All you need to know to
    configure dircolors are the numbers for the m code:
    
    	30	black
    	31	red
    	32	green
    	33	brown
    	34	blue
    	35	magenta
    	36	cyan
    	37	lt grey
    
    Add ;1 to that these to make the colour brighter:
    
    	30;1	dark grey
    	31;1	bright red
    	32;1	bright green
    	33;1	yellow
    	34;1	bright blue
    	35;1	bright magenta
    	36;1	bright cyan
    	37;1	white
    
    Instead of the using 30s, use 40s for background colour.  That's all you
    should need to know for dircolors.
    
    > There is soooo much stuff in there,  sometimes I wonder if it is really
    > worth the trouble and frustration, to spend so much time in front of a
    > dumb box of rocks and make such slow progress. It might be wiser to go
    > back to my 286 where I was better than I am here.          
    
    They say Linux is free if your time has no value.  For the time invested,
    though, you learn about a set of tools that are largely the same ones that
    were developed 35 years ago for getting serious work done, and are still
    some of the most effective tools for that purpose.  The UNIX shell
    environment is at times a scary thing for new users, but once you get the
    hang of it and how easily you can do most anything you want with it, I
    think you'll be hard pressed to imagine anything else as worthwhile, even
    if it does seem simpler for the time being.
    
    
  • [Eug-lug] Newsletter from O’Reilly UG Program, January 3



    T. Joseph CARTERMon Jan 3 20:36:17 PST 2005

    [.. Resisting the urge to make snarky comments on XP Annoyances ..]
    
    On Mon, Jan 03, 2005 at 05:09:41PM -0800, Marsee Henon wrote:
    > ***"Make" Subscriptions Now Available!
    > The annual subscription price for four issues is $34.95.  When you
    > subscribe with this link, you'll get a free issue--the first one plus four
    > more for $34.95. So subscribe for yourself or friends with our very best
    > offer for charter subscribers: five volumes for the cost of four.
    > Subscribe at:
    > https://www.pubservice.com/MK/Subnew.aspx?PC=MK&PK=M5ZUGLA
    
    This looks really cool.  Could you possibly arrange a sample of the first
    issue to pass around at a euglug meeting?  (kbob, are you still managing
    that stuff?)  Now that we have a consistent meeting place once again, that
    sort of thing becomes feasable.  I know I'm not the only gadget fiddler on
    the list, and Jamie has offered euglug convenient library shelf space mere
    inches from where people are meeting.  =)