euglug.org

[작성자:] admin

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



    Russ JohnsonTue Jan 4 15:33:09 PST 2005

    Linux Rocks! wrote:
    
    >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. 
    >
    >  
    >
    I've had hardware raid controllers that Linux refused to see as raid. It 
    would see each drive individually, and use them that way, even when the 
    raid bios had a raid set up.
    
    Not much help, but that's been my experience with both Promise and Hi 
    Point raid controllers.
    
    My solution was to forget the hardware raid and go with a strictly 
    software raid solution.
    
    Russ
    
  • [Eug-lug] To Horst-Q/colours



    Allen BrownTue Jan 4 15:27:13 PST 2005

    larry price wrote:
    > 
    > 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.
    
    I think the objective can be met more easily and clearly:
    
      (cd /usr/blah; tar -cf - $(find . -type l) ) | (tar -xvf -)
    
    (): creates a subshell. That allows us to change the
      directory that find works in without having find report
      the full path.
    $(): creates a subshell and returns its stdout to the command
      line.  So all of the files that "find" finds become parameters
      to tar.
    find . -type l: gets a list of the symlinks.
    tar -cf -: creats an archive of the symlinks and stuffs it
      to stdout
    |: pipes the stdout of the first tar into the () subshell's stdin
    tar -xvf -: reads the archive from stdin (the subshell)
    
    Bear in mind that this will copy the symlinks exactly.
    If you need to translate the directory they point to,
    you will need to use something more similar to what Larry
    wrote.
    
    > 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.  ;)
    > > >
    
    For my taste, tho, I prefer to eliminate all temporary
    files.  It is almost always possible.
    
    for oldfile in $(cd /usr/blah/; find . -type l); do
      newfile=$(ls -l ${oldfile} | sed 's%^.* \([^ ].*\) -> \(.*\)%\2%')
      ln -s ${newfile} /usr/foo/${oldfile}
    done
    
    Notice that if you wanted to do something funny to the filename,
    such as changing all upper case to lower case you could do
    that by inserting something like this just before the "ln" line.
      oldfile=$(echo ${oldfile} | tr '[A-Z]' '[a-z]')
      newfile=$(echo ${newfile} | tr '[A-Z]' '[a-z]')
    -- 
    Allen Brown
      work: Agilent Technologies      non-work: http://www.peak.org/~abrown/
            allen_brown at agilent.com	            abrown at peak.org
      I'm just preparing my impromptu remarks. --- Sir Winston Churchill
    
  • [Eug-lug] mounting FFS w/ softupdates from Knoppix/Gnoppix



    larry priceTue Jan 4 14:47:10 PST 2005

    My Knotty problem for the week, Has anyone here done this? It seems
    like it should be possible, but the mount_ufs does not seem to work on
    disk slices for which softupdates are turned on.
    
    Not critical as I can create an ext2 partition and share it between
    the two OS but I'd like to minimize the number of different
    incompatible types I need, and I'd like to access my archives from the
    guest OS
    
    -- 
    http://Zoneverte.org -- information explained
    Do you know what your IT infrastructure does?
    
  • [Eug-lug] grrrr…. damn computers!



    Linux Rocks!Tue Jan 4 14:45:08 PST 2005

    On Tuesday 04 January 2005 06:47 pm, Bob Crandell wrote:
    : Linux Rocks! (linux at rocksolidnetworks.com) wrote:
    : > 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.
    : >
    : > : _______________________________________________
    :
    : If that's the same board I fought with for a client, the raid controller is
    : a newer Promise that isn't in the kernel yet.  All I could ever see were
    : the SATA drives as /dev/sd*.  The IDE drives never showed up in the list.
    :
    : The board was highly unstable until the latest BIOS update.
    
    I belivieve its a different board. This one has a SIS 180 Raid controller (2 
    sata + 2 ide), and an ide controller (1 ata 133, 2 ata 100). 
    I dont have any sata drives to test the other part of the controller... but I 
    do have ide drives.
    
    Jamie
    
    :
    : Sorry.
    :
    : --
    : Bob Crandell, CLS, CNS
    : Assured Computing, Inc.
    : When you need to be sure.
    : http://www.assuredcomp.com/
    : P.O. Box 40814
    : Eugene, OR 97404
    : Voice - 541-868-0331
    : FAX - 541-463-1627
    :
    :
    : _______________________________________________
    : 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 14:40:34 PST 2005

    On Tuesday 04 January 2005 06:33 pm, Russ Johnson wrote:
    : Linux Rocks! wrote:
    : >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.
    :
    : I've had hardware raid controllers that Linux refused to see as raid. It
    : would see each drive individually, and use them that way, even when the
    : raid bios had a raid set up.
    :
    : Not much help, but that's been my experience with both Promise and Hi
    : Point raid controllers.
    :
    : My solution was to forget the hardware raid and go with a strictly
    : software raid solution.
    Thats what I will likely do... assuming I can get the drives to work under 
    linux!
    
    Jamie
    :
    : Russ
    : _______________________________________________
    : EUGLUG mailing list
    : euglug at euglug.org
    : http://www.euglug.org/mailman/listinfo/euglug
    
    -- 
    Only wimps use tape backup: _real_ men just upload their important stuff 
    on ftp, and let the rest of the world mirror it ;)
    	-- Linus Torvalds, about his failing hard drive on linux.cs.helsinki.fi
    
    
  • [Eug-lug] Jamie’s RAID not working…. DMESG output.



    Linux Rocks!Tue Jan 4 14:39:38 PST 2005

    Linux version 2.6.10T1 (root at media) (gcc version 3.3.4) #2 SMP Tue Jan 4 
    12:38:33 PST 2005
    BIOS-provided physical RAM map:
     BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
     BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
     BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
     BIOS-e820: 0000000000100000 - 000000003bef0000 (usable)
     BIOS-e820: 000000003bef0000 - 000000003bef3000 (ACPI NVS)
     BIOS-e820: 000000003bef3000 - 000000003bf00000 (ACPI data)
     BIOS-e820: 00000000fec00000 - 0000000100000000 (reserved)
    62MB HIGHMEM available.
    896MB LOWMEM available.
    found SMP MP-table at 000f57d0
    On node 0 totalpages: 245488
      DMA zone: 4096 pages, LIFO batch:1
      Normal zone: 225280 pages, LIFO batch:16
      HighMem zone: 16112 pages, LIFO batch:3
    DMI 2.3 present.
    ACPI: RSDP (v000 RS300                                 ) @ 0x000f7330
    ACPI: RSDT (v001 RS300  AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3bef3000
    ACPI: FADT (v001 RS300  AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3bef3040
    ACPI: MADT (v001 RS300  AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x3bef6940
    ACPI: DSDT (v001 RS300  AWRDACPI 0x00001000 MSFT 0x0100000e) @ 0x00000000
    ACPI: Local APIC address 0xfee00000
    ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
    Processor #0 15:3 APIC version 20
    ACPI: LAPIC (acpi_id[0x01] lapic_id[0x01] enabled)
    Processor #1 15:3 APIC version 20
    ACPI: LAPIC_NMI (acpi_id[0x00] high edge lint[0x1])
    ACPI: LAPIC_NMI (acpi_id[0x01] high edge lint[0x1])
    Using ACPI for processor (LAPIC) configuration information
    Intel MultiProcessor Specification v1.4
        Virtual Wire compatibility mode.
    OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000
    I/O APIC #2 Version 17 at 0xFEC00000.
    Enabling APIC mode:  Flat.  Using 1 I/O APICs
    Processors: 2
    Built 1 zonelists
    Kernel command line: auto BOOT_IMAGE=Linux ro root=301 hde=noprobe hdf=noprobe 
    hdg=noprobe
    ide_setup: hde=noprobe
    ide_setup: hdf=noprobe
    ide_setup: hdg=noprobe
    mapped APIC to ffffd000 (fee00000)
    mapped IOAPIC to ffffc000 (fec00000)
    Initializing CPU#0
    CPU 0 irqstacks, hard=c0528000 soft=c0520000
    PID hash table entries: 4096 (order: 12, 65536 bytes)
    Detected 3208.448 MHz processor.
    Using tsc for high-res timesource
    Console: colour VGA+ 80x25
    Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
    Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
    Memory: 968092k/981952k available (2891k kernel code, 13364k reserved, 1084k 
    data, 224k init, 64448k highmem)
    Checking if this processor honours the WP bit even in supervisor mode... Ok.
    Calibrating delay loop... 6356.99 BogoMIPS (lpj=3178496)
    Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
    CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000
    CPU: After vendor identify, caps:  bfebfbff 00000000 00000000 00000000
    monitor/mwait feature present.
    using mwait in idle threads.
    CPU: Trace cache: 12K uops, L1 D cache: 16K
    CPU: L2 cache: 1024K
    CPU: Physical Processor ID: 0
    CPU: After all inits, caps:        bfebfbff 00000000 00000000 00000080
    Intel machine check architecture supported.
    Intel machine check reporting enabled on CPU#0.
    CPU0: Intel P4/Xeon Extended MCE MSRs (12) available
    CPU0: Thermal monitoring enabled
    Enabling fast FPU save and restore... done.
    Enabling unmasked SIMD FPU exception support... done.
    Checking 'hlt' instruction... OK.
    CPU0: Intel(R) Pentium(R) 4 CPU 3.20GHz stepping 03
    per-CPU timeslice cutoff: 2925.88 usecs.
    task migration cache decay timeout: 3 msecs.
    Booting processor 1/1 eip 2000
    CPU 1 irqstacks, hard=c0529000 soft=c0521000
    Initializing CPU#1
    Calibrating delay loop... 6406.14 BogoMIPS (lpj=3203072)
    CPU: After generic identify, caps: bfebfbff 00000000 00000000 00000000
    CPU: After vendor identify, caps:  bfebfbff 00000000 00000000 00000000
    monitor/mwait feature present.
    CPU: Trace cache: 12K uops, L1 D cache: 16K
    CPU: L2 cache: 1024K
    CPU: Physical Processor ID: 0
    CPU: After all inits, caps:        bfebfbff 00000000 00000000 00000080
    Intel machine check architecture supported.
    Intel machine check reporting enabled on CPU#1.
    CPU1: Intel P4/Xeon Extended MCE MSRs (12) available
    CPU1: Thermal monitoring enabled
    CPU1: Intel(R) Pentium(R) 4 CPU 3.20GHz stepping 03
    Total of 2 processors activated (12763.13 BogoMIPS).
    ENABLING IO-APIC IRQs
    ..TIMER: vector=0x31 pin1=2 pin2=0
    checking TSC synchronization across 2 CPUs: passed.
    Brought up 2 CPUs
    CPU0:
     domain 0: span 03
      groups: 01 02
      domain 1: span 03
       groups: 03
    CPU1:
     domain 0: span 03
      groups: 02 01
      domain 1: span 03
       groups: 03
    NET: Registered protocol family 16
    PCI: PCI BIOS revision 2.10 entry at 0xfb6e0, last bus=2
    PCI: Using configuration type 1
    mtrr: v2.0 (20020519)
    Linux Plug and Play Support v0.97 (c) Adam Belay
    PnPBIOS: Scanning system for PnP BIOS support...
    PnPBIOS: Found PnP BIOS installation structure at 0xc00fc0f0
    PnPBIOS: PnP BIOS version 1.0, entry 0xf0000:0xc120, dseg 0xf0000
    PnPBIOS: 13 nodes reported by PnP BIOS; 13 recorded by driver
    SCSI subsystem initialized
    usbcore: registered new driver usbfs
    usbcore: registered new driver hub
    PCI: Probing PCI hardware
    PCI: Probing PCI hardware (bus 00)
    PCI: Ignoring BAR0-3 of IDE controller 0000:00:14.1
    PCI: Transparent bridge - 0000:00:14.4
    PCI: Using IRQ router default [1002/5833] at 0000:00:00.0
    PCI->APIC IRQ transform: (B0,I13,P0) -> 19
    PCI->APIC IRQ transform: (B0,I19,P0) -> 19
    PCI->APIC IRQ transform: (B0,I19,P0) -> 19
    PCI->APIC IRQ transform: (B0,I19,P0) -> 19
    PCI->APIC IRQ transform: (B0,I20,P0) -> 18
    PCI->APIC IRQ transform: (B0,I20,P1) -> 18
    PCI->APIC IRQ transform: (B1,I5,P0) -> 16
    PCI->APIC IRQ transform: (B2,I3,P0) -> 16
    PCI->APIC IRQ transform: (B2,I3,P0) -> 16
    PCI->APIC IRQ transform: (B2,I4,P0) -> 17
    PCI->APIC IRQ transform: (B2,I9,P0) -> 17
    PCI->APIC IRQ transform: (B2,I10,P0) -> 18
    Machine check exception polling timer started.
    audit: initializing netlink socket (disabled)
    audit(1104855429.668:0): initialized
    highmem bounce pool size: 64 pages
    Installing knfsd (copyright (C) 1996 okir at monad.swb.de).
    Initializing Cryptographic API
    isapnp: Scanning for PnP cards...
    isapnp: No Plug & Play device found
    lp: driver loaded but no devices found
    Linux agpgart interface v0.100 (c) Dave Jones
    serio: i8042 AUX port at 0x60,0x64 irq 12
    serio: i8042 KBD port at 0x60,0x64 irq 1
    Serial: 8250/16550 driver $Revision: 1.90 $ 8 ports, IRQ sharing disabled
    parport: PnPBIOS parport detected.
    parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP(,...)]
    lp0: using parport0 (interrupt-driven).
    io scheduler noop registered
    io scheduler anticipatory registered
    io scheduler deadline registered
    io scheduler cfq registered
    elevator: using anticipatory as default io scheduler
    FDC 0 is a post-1991 82077
    Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
    ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
    Probing IDE interface ide0...
    hda: Maxtor 6Y160P0, ATA DISK drive
    Probing IDE interface ide1...
    hdc: LITE-ON DVDRW LDW-851S, ATAPI CD/DVD-ROM drive
    Probing IDE interface ide2...
    ide2: Wait for ready failed before probe !
    Probing IDE interface ide3...
    ide3: Wait for ready failed before probe !
    Probing IDE interface ide4...
    ide4: Wait for ready failed before probe !
    Probing IDE interface ide5...
    ide5: Wait for ready failed before probe !
    ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
    ide1 at 0x170-0x177,0x376 on irq 15
    hda: max request size: 1024KiB
    hda: 320173056 sectors (163928 MB) w/7936KiB Cache, CHS=19929/255/63
    hda: cache flushes supported
     hda: hda1
    hdc: ATAPI 40X DVD-ROM CD-R/RW drive, 2048kB Cache
    Uniform CD-ROM driver Revision: 3.20
    libata version 1.10 loaded.
    ohci1394: $Rev: 1223 $ Ben Collins <bcollins at debian.org>
    ohci1394: fw-host0: OHCI-1394 1.0 (PCI): IRQ=[17]  MMIO=[e0022000-e00227ff]  
    Max Packet=[2048]
    ieee1394: raw1394: /dev/raw1394 device initialized
    ehci_hcd 0000:00:13.2: PCI device 1002:4345 (ATI Technologies Inc)
    ehci_hcd 0000:00:13.2: irq 19, pci mem 0xe1105000
    ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 1
    ehci_hcd 0000:00:13.2: USB 2.0 initialized, EHCI 1.00, driver 26 Oct 2004
    hub 1-0:1.0: USB hub found
    hub 1-0:1.0: 6 ports detected
    USB Universal Host Controller Interface driver v2.2
    usbcore: registered new driver usblp
    drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
    Initializing USB Mass Storage driver...
    usbcore: registered new driver usb-storage
    USB Mass Storage support registered.
    usbcore: registered new driver usbhid
    drivers/usb/input/hid-core.c: v2.0:USB HID core driver
    mice: PS/2 mouse device common for all mice
    input: AT Translated Set 2 keyboard on isa0060/serio0
    input: ImExPS/2 Generic Explorer Mouse on isa0060/serio1
    Advanced Linux Sound Architecture Driver Version 1.0.6 (Sun Aug 15 07:17:53 
    2004 UTC).
    ALSA device list:
      No soundcards found.
    NET: Registered protocol family 2
    IP: routing cache hash table of 8192 buckets, 64Kbytes
    TCP: Hash tables configured (established 262144 bind 65536)
    ip_conntrack version 2.1 (7671 buckets, 61368 max) - 304 bytes per conntrack
    ip_tables: (C) 2000-2002 Netfilter core team
    ipt_recent v0.3.1: Stephen Frost <sfrost at snowman.net>.  http://snowman.net/
    projects/ipt_recent/
    arp_tables: (C) 2002 David S. Miller
    NET: Registered protocol family 1
    NET: Registered protocol family 17
    Starting balanced_irq
    ReiserFS: hda1: found reiserfs format "3.6" with standard journal
    ieee1394: Host added: ID:BUS[0-00:1023]  GUID[00e01800006091f6]
    ReiserFS: hda1: using ordered data mode
    ReiserFS: hda1: journal params: device hda1, size 8192, journal first block 
    18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
    ReiserFS: hda1: checking transaction log (hda1)
    ReiserFS: hda1: Using r5 hash to sort names
    VFS: Mounted root (reiserfs filesystem) readonly.
    Freeing unused kernel memory: 224k freed
    eth0: Yukon Gigabit Ethernet 10/100/1000Base-T Adapter
          PrefPort:A  RlmtMode:Check Link State
    eth0: network connection up using port A
        speed:           100
        autonegotiation: yes
        duplex mode:     full
        flowctrl:        symmetric
        irq moderation:  disabled
        scatter-gather:  enabled
    
    -- 
    Let's call it an accidental feature.
    	-- Larry Wall
    
    
  • [Eug-lug] grrrr…. damn computers!



    Linux Rocks!Tue Jan 4 14:38:58 PST 2005

    See below...
    On Tuesday 04 January 2005 05:29 pm, Garl Grigsby wrote:
    : Linux Rocks! wrote:
    : >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
    :
    : Jamie,
    :     A common thing that you have to do with the sudo-raid cards is tell
    : the kernel not to probe the bus for the raid cards. Try adding the
    : following to the kernel line in your grub.conf file:
    :
    : hde=noprobe hdg=noprobe
    Seems I read someting like this at one point. I also read about dissbling 
    acpi, apic, and lapic. When I tried disableing acpi, I got a flood of 
    messages in dmesg, and no help. 
    
    Im using lilo, so I added the apppend line 
    append="hde=noprobe hdf=noprob hdg=noprobe"
    
    and it did disable them as you can see here from my dmesg:
    (sorry... not being able to paste..) Ok.. now I can paste...
    
    Kernel command line: auto BOOT_IMAGE=Linux ro root=301 hde=noprobe hdf=noprobe 
    hdg=noprobe
    ide_setup: hde=noprobe
    ide_setup: hdf=noprobe
    ide_setup: hdg=noprobe
    
    :
    : Another option would be to just use software raid. In the testing I've
    : done I have rarely seen much differnce between these lightweight raid
    : controllers and software raid. Now a real hardware raid controller
    : (think 3Ware) is a completely different story.
    
    Thats what Ive been thinking, however, It looks like I wont be able to do 
    either till I can use the drives!
    
    I'll send a message to the list with my current dmesg output.. maybe maybe 
    something will be obvious ? 
    
    BTW, I have searched errors in my dmesg, and Ive found 2 other other people 
    with the same issue, and both posts had no replys with how to fix...
    
    Jamie
    
    :
    : Gar;
    :
    : Garl
    : _______________________________________________
    : 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!



    Garl GrigsbyTue Jan 4 14:29:22 PST 2005

    Linux Rocks! wrote:
    
    >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
    >
    >
    >
    >  
    >
    Jamie,
        A common thing that you have to do with the sudo-raid cards is tell 
    the kernel not to probe the bus for the raid cards. Try adding the 
    following to the kernel line in your grub.conf file:
    
    hde=noprobe hdg=noprobe
    
    Another option would be to just use software raid. In the testing I've 
    done I have rarely seen much differnce between these lightweight raid 
    controllers and software raid. Now a real hardware raid controller 
    (think 3Ware) is a completely different story.
    
    Gar;
    
    Garl
    
  • [Eug-lug] grrrr…. damn computers!



    larry priceTue Jan 4 14:23:20 PST 2005

    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.
    
    Software RAID uses the host computer to manage all the parity checking etc.
    But since you have the hardware ... 
    
    you might want to check this manual
    http://www.sis.com/support/faq/SATA_RAID_manual.pdf
    
  • [Eug-lug] dspam?



    Rob HudsonTue Jan 4 13:07:00 PST 2005

    Anyone familiar with dspam?  I'm having a hard time getting it working 
    with Postfix, either as part of the postfix process or kicked off via 
    procmail.  I'm using Gentoo.  There seems to be a lack of documenatation 
    on setting this up.  If anyone is familiar with it I've got more input. 
      Or if you have a recommendation for a better spam filter I'd be happy 
    to hear it.
    
    -Rob