Linux-Misc Digest #546, Volume #26 Thu, 14 Dec 00 14:13:01 EST
Contents:
Re: Anybody know how to get an answering machine running on Linux? (webbgroup)
Mandrake 7.2, High security -- cannot su? ("Jonathan G. Campbell")
Re: LINUX MANDRAKE HELP (Robert Wiegand)
Re: where is boot.b ("Tauno Voipio")
Dual processor advantage? (John Dixon)
Dual processor advantage? (John Dixon)
Possible alternative to RPMs? (Andre-John Mas)
Gnome-ALSA no sound. KDE Ok ("frank")
Kernel recompile lost sound (Steve Stuart)
Re: Dual processor advantage? ("NoOne")
File locks between Linux and HP-UX 11.0 (Michael Madden)
Q: can't load library 'libdl.so.1'? ("Jonathan G. Campbell")
Re: Possible alternative to RPMs? (Rod Smith)
Re: Kernel ("Peter T. Breuer")
Re: Mandrake 7.2, High security -- cannot su? (Bill Unruh)
Re: Possible alternative to RPMs? (Bill Unruh)
Re: Dual processor advantage? (Floyd Davidson)
Re: RedHat 7.0 up2date ¿?
Linux and cooling fan ("Eric")
Re: IP Alias does not seem to work on 6.2 RH ("Steve Wolfe")
Re: Kernel won't mount raid0 ([EMAIL PROTECTED])
----------------------------------------------------------------------------
From: webbgroup <[EMAIL PROTECTED]>
Crossposted-To: alt.linux,alt.os.linux,comp.os.linux
Subject: Re: Anybody know how to get an answering machine running on Linux?
Date: Thu, 14 Dec 2000 14:56:45 GMT
I have read the manual but it say to record the greeting file using vm
I used the syntax >vm record greeting.file
But it looked like it didn't do anything when I was pressed ENTER. It
didn't prompt me to start talking or anything.
I also looked at the file afterwards as well and the size was zero. So
I know it didn't do anything.
Any Ideas guys??
In article <[EMAIL PROTECTED]>,
Vladimir Florinski <[EMAIL PROTECTED]> wrote:
> [EMAIL PROTECTED] wrote:
> >
> > I know about the mgetty tutorial, but does anybody know of any
> > tutorials on how to get an answering machine running on Linux?? I
have
> > Redhat 7.0 and I also have mgetty as well.
> >
> > Much is appreciated if you know of some software that is already out
> > there or of a url I can look at.
> >
>
> http://alpha.greenie.net/vgetty
>
> --
>
> Vladimir
>
--
^*
0 0 Happy Holidays!!
( V )
Sent via Deja.com
http://www.deja.com/
------------------------------
From: "Jonathan G. Campbell" <[EMAIL PROTECTED]>
Subject: Mandrake 7.2, High security -- cannot su?
Date: Thu, 14 Dec 2000 16:29:42 +0000
I've been experimenting with Mandrake 7.2 (on the whole, quite
satisfactory -- especially as it can configure my i810 on-board graphics
and the on-board sound).
However, twice now, after selecting the 'high' security option, I've had
to reinstall because I cannot log on as root (via su, or otherwise).
Any ideas?
TIA,
Jon C.
--
Jonathan G Campbell, Computer Science, Queen's University
Belfast, BT7 1NN Tel +44 (0)28 90 274623 [EMAIL PROTECTED]
http://www.cs.qub.ac.uk/~J.Campbell/
------------------------------
From: Robert Wiegand <[EMAIL PROTECTED]>
Subject: Re: LINUX MANDRAKE HELP
Date: Thu, 14 Dec 2000 09:42:06 -0600
Daniel Bechard wrote:
>
> Hi!
>
> I'm new at Linux
>
> I had install Corel Linux and I would like to remove it and install
> Linux Mandrake 7.2.
>
> How should I do this? Should I delete the Corel Partition and
> reformate the disk for Mandrake?
This would certainly work, but you really don't have to delete
the partitions if you want to keep your current partitioning.
A reformat is all you really need, and I believe you can do that
during the Mandrake installation.
--
Regards,
Bob Wiegand [EMAIL PROTECTED]
------------------------------
From: "Tauno Voipio" <[EMAIL PROTECTED]>
Subject: Re: where is boot.b
Date: Thu, 14 Dec 2000 16:35:24 GMT
<[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]...
> hi, i just ran into this myself
> if boot.b is deleted, re-install lilo
> in other words, get the rpm off the cd and type rpm -Uvh lilo* --force
>
> re-config your /etc/lilo.conf
> run /sbin/lilo -t -v to verify that you lilo script is good
> if it is, run /sbin/lilo -v
>
> boot.b is the lilo boot sector
>
> i hope this helps
> charles
>
> On Wed, 13 Dec 2000 12:49:52 -0800, "mark"
> <[EMAIL PROTECTED]> wrote:
>
> >Hi all,
> >I compiled the kernel today and when i tried to run lilo i got this error
> >message:
> >Fatal: boot.b no such file or directory.
> >I may have deleted this file by accident from /boot.
> >is there is a way i can recreate this file ?
> >what is the way out ?
> >
The normal location for LILO second stage loader is /boot/boot.b.
If it is lost, LILO needs to be reloaded from the setup CD.
Tauno Voipio
tauno voipio @ iki fi
------------------------------
From: John Dixon <[EMAIL PROTECTED]>
Subject: Dual processor advantage?
Date: Thu, 14 Dec 2000 08:37:59 -0800
I have a relatively old ibm box with a Pentium Pro 180mhz processor.
The motherboard has provision for a second processor, and I see that the
Linux kernel can be configured for SMP. Would I see any improvement in
performance if I installed a second processor? I am using Mandrake 7.2
with the 2.2.17 kernel.
------------------------------
From: John Dixon <[EMAIL PROTECTED]>
Subject: Dual processor advantage?
Date: Thu, 14 Dec 2000 08:38:08 -0800
I have a relatively old ibm box with a Pentium Pro 180mhz processor.
The motherboard has provision for a second processor, and I see that the
Linux kernel can be configured for SMP. Would I see any improvement in
performance if I installed a second processor? I am using Mandrake 7.2
with the 2.2.17 kernel.
------------------------------
From: Andre-John Mas <[EMAIL PROTECTED]>
Subject: Possible alternative to RPMs?
Date: Thu, 14 Dec 2000 16:34:02 GMT
Hi,
Installing software both with RPMs and manually has led me to realize
that there are a few problems with using RPMs. The most noteable one
is that if you add a library manually then the RPM installer will
believe that you don't have the library, even if you do. Another one
is that it limits you to how you install applications - either you
install in its predefined path or you install it manually. I must
admit that I like the IRIX approach where you install applications
in the directory /usr/apps/<app name>, rather than the /usr/local/
approach which makes for a nightmare in deinstalling software if
the RPM DB gets corrupted - this is a personal choice which RPMs
don't allow me to choose.
The approach I would like to see is one where each application comes
with an XML file describing the installation and is located at the
base of the app's install directory, for example if my app is installed
in /usr/apps/<app name>, the description file would be:
/usr/apps/<app name>/.<app name>.adf (adf = App Description File)
This approach would allow for a decentralized installation process,
that also make life a little simpler for manual installation ( of
course build scripts would provide support for thi feature ) and would
mean that the file system can be scanned to discover any application
that hadn't registered itself with an RPM like DB. The filter
'.*.adf' would be scanned for, it is important that the central part of
he description file is variable, as this allows many .adf file to exist
in the same directory, in cases where the applications share the same
install dir. This idea is currently in its primilinary stages, but I
feel that it is at a point where it can be openly discussed to bring
it to the point of implementation.
Andre
--
http://www.bigfoot.com/~ajmas/
Sent via Deja.com
http://www.deja.com/
------------------------------
From: "frank" <[EMAIL PROTECTED]>
Subject: Gnome-ALSA no sound. KDE Ok
Date: Thu, 14 Dec 2000 16:41:01 GMT
Hi:
I have a weird problem. I compiled and installed ALSA driver under KDE
environment and they work just fine. I am using RH 6.2. Now I installed
the latest Gnome and I log in with Gnome environment. My sound is gone. If
I switch back to KDE, the sound is still there. I tried amixer under Gnome
as well, but still no sound. Do you have any clue? Your help is great
appreciated.
Frank
------------------------------
Date: Thu, 14 Dec 2000 11:43:09 -0500
From: Steve Stuart <[EMAIL PROTECTED]>
Subject: Kernel recompile lost sound
Hello all,
I recompiled the 6.2 RedHat (kernel ver. 2.2.14) to run Pentium
III code. Seems I've lost my sound in the process. I've a
SoundBlaster Live which is configured for modular loading in the
menuconfig.
If I "modprobe emu10k1", I get a bunch of unresolved symbol
errors. Any idea what went wrong. Rest of the system is running
great.
Unresolved symbols:
remap_page_range
__wake_up
kmalloc
boot_cpu_data
interruptible_sleep_on
__pollwait
kfree
__verify_write
mem_map
printk
Thanks for help
Steve
w8an@w8an_DOT_net (you know what to do)
·¸¸·´¯`·¸¸·´¯`·¸¸·´¯`·¸¸·´¯`·¸¸·´¯`·¸¸·
http://www.w8an.net
------------------------------
From: "NoOne" <[EMAIL PROTECTED]>
Subject: Re: Dual processor advantage?
Date: Thu, 14 Dec 2000 12:07:31 -0500
"John Dixon" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]...
> I have a relatively old ibm box with a Pentium Pro 180mhz processor.
> The motherboard has provision for a second processor, and I see that the
> Linux kernel can be configured for SMP. Would I see any improvement in
> performance if I installed a second processor? I am using Mandrake 7.2
> with the 2.2.17 kernel.
Sure will. I run a dual P166 and its snappier then my old P233.
Your results will vary, but with the price of PPro's/Pentium Socket 7 in the
gutter
it should be well worth it.
------------------------------
From: Michael Madden <[EMAIL PROTECTED]>
Subject: File locks between Linux and HP-UX 11.0
Date: Thu, 14 Dec 2000 11:06:44 -0600
We are running into odd file locking problems between our NFS
server which is running on Redhat 6.2 - kernel 2.2.16 and
HP-UX clients. When a HP-UX 11 client requests a file lock
on a NFS V2 filesystem on linux, we get the following error:
Getting Locking status on build.log...failed -> errno: 46
The following scenarios work fine, but the HP-UX 11.0 clients
fail.
Server Client
====== ======
Linux Linux
Linux Irix 5.3
Linux HP-UX 10.20
Any help would be appreciated.
Thanks,
Michael Madden
--
Michael Madden
Systems Engineer
Computerized Medical Systems
[EMAIL PROTECTED]
------------------------------
From: "Jonathan G. Campbell" <[EMAIL PROTECTED]>
Subject: Q: can't load library 'libdl.so.1'?
Date: Thu, 14 Dec 2000 18:37:33 +0000
As you know from other posts, I've just installed Mandrake 7.2.
I have a problem when attempting to run Adobe Acrobat reader, I get:
... can't load library 'libdl.so.1'
Any ideas on what I need to load; or a workaround?
TIA,
Jon C.
--
Jonathan G Campbell, Computer Science, Queen's University
Belfast, BT7 1NN Tel +44 (0)28 90 274623 [EMAIL PROTECTED]
http://www.cs.qub.ac.uk/~J.Campbell/
------------------------------
Reply-To: [EMAIL PROTECTED]
From: [EMAIL PROTECTED] (Rod Smith)
Subject: Re: Possible alternative to RPMs?
Date: Thu, 14 Dec 2000 17:38:40 GMT
In article <91aspq$vsv$[EMAIL PROTECTED]>,
Andre-John Mas <[EMAIL PROTECTED]> writes:
> Hi,
>
> Installing software both with RPMs and manually has led me to realize
> that there are a few problems with using RPMs. The most noteable one
> is that if you add a library manually then the RPM installer will
> believe that you don't have the library, even if you do.
You can work around this when installing software that depends on the
library by using the --nodeps flag. I really can't think of any way
around this limitation. A package could conceivably look for specific
files, but if the files are installed in some non-standard directory,
they'd be missed, and the filenames alone might not contain the
information needed to identify the files, so the software might think
something's installed when in fact it's an old version, a too-new
version, etc. If this is a real problem, you could always compile your
own libraries and then create an RPM of them, which you could install
over the "manual" installation.
> Another one
> is that it limits you to how you install applications - either you
> install in its predefined path or you install it manually.
Not necessarily. Some RPMs use relocatable paths, set with the
--relocate parameter. This is pretty rare, but there are packages that
use it.
> I must
> admit that I like the IRIX approach where you install applications
> in the directory /usr/apps/<app name>, rather than the /usr/local/
> approach which makes for a nightmare in deinstalling software if
> the RPM DB gets corrupted - this is a personal choice which RPMs
> don't allow me to choose.
Most RPMs don't install in /usr/local. The Linux FHS reserves
/usr/local for locally-compiled packages, if I understand correctly, so
precompiled RPMs shouldn't be using it. In fact, your complaint here
isn't against RPMs, but against the FHS.
--
Rod Smith, [EMAIL PROTECTED]
http://www.rodsbooks.com
Author of books on Linux & multi-OS configuration
------------------------------
From: "Peter T. Breuer" <[EMAIL PROTECTED]>
Crossposted-To: comp.os.linux.setup,comp.os.linux
Subject: Re: Kernel
Date: Thu, 14 Dec 2000 15:03:27 +0100
In comp.os.linux.setup Chris Ahlstrom <[EMAIL PROTECTED]> wrote:
> "Peter T. Breuer" wrote:
> Linux Magazine says that Linus has said the new 2.4 kernel should
> be posted by the end of December at the latest.
He said something like that last year too.
Peter
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: Mandrake 7.2, High security -- cannot su?
Date: 14 Dec 2000 18:06:29 GMT
In <[EMAIL PROTECTED]> "Jonathan G. Campbell" <[EMAIL PROTECTED]> writes:
]I've been experimenting with Mandrake 7.2 (on the whole, quite
]satisfactory -- especially as it can configure my i810 on-board graphics
]and the on-board sound).
]However, twice now, after selecting the 'high' security option, I've had
]to reinstall because I cannot log on as root (via su, or otherwise).
Well, it is high security, and su is a potential security hole. You can
probably log on as root from the console. They probably removed the suid
bit from su under high security.
------------------------------
From: [EMAIL PROTECTED] (Bill Unruh)
Subject: Re: Possible alternative to RPMs?
Date: 14 Dec 2000 18:15:50 GMT
In <91aspq$vsv$[EMAIL PROTECTED]> Andre-John Mas <[EMAIL PROTECTED]> writes:
]Installing software both with RPMs and manually has led me to realize
]that there are a few problems with using RPMs. The most noteable one
]is that if you add a library manually then the RPM installer will
]believe that you don't have the library, even if you do. Another one
That is what eitehr the force or the nodeps flag to rpm is for. If you
really believe that a dependency is satisfied on your system, just use
--nodeps to ask rpm not to worry about dependencies.
]is that it limits you to how you install applications - either you
]install in its predefined path or you install it manually. I must
Well, you could use --relocate and --badreloc
to put them whereever you wanted.
Read
man rpm
]admit that I like the IRIX approach where you install applications
]in the directory /usr/apps/<app name>, rather than the /usr/local/
]approach which makes for a nightmare in deinstalling software if
]the RPM DB gets corrupted - this is a personal choice which RPMs
]don't allow me to choose.
So, make sure you keep a backup copy of the Rpm database. HOw in the
world can anything deinstall if no record is kept of where it was
installed. Any system will be toast if its database is lost.
]The approach I would like to see is one where each application comes
]with an XML file describing the installation and is located at the
]base of the app's install directory, for example if my app is installed
]in /usr/apps/<app name>, the description file would be:
And how would the system know what weirdness you found nicer? Someone
else might want to install everything in
/bunny/rabit/goes/into/his/hole
You need a central database.
] /usr/apps/<app name>/.<app name>.adf (adf = App Description File)
]This approach would allow for a decentralized installation process,
]that also make life a little simpler for manual installation ( of
]course build scripts would provide support for thi feature ) and would
]mean that the file system can be scanned to discover any application
]that hadn't registered itself with an RPM like DB. The filter
]'.*.adf' would be scanned for, it is important that the central part of
]he description file is variable, as this allows many .adf file to exist
]in the same directory, in cases where the applications share the same
]install dir. This idea is currently in its primilinary stages, but I
]feel that it is at a point where it can be openly discussed to bring
]it to the point of implementation.
You can take any package and make it into an rpm package. You just need
to learn the rpm spec file syntax. But in your system the user wouldhave
to learn your adf syntax. NO difference ( except maybe to the inventor).
Having cut my teath on SunOS, where everything had to be done manually,
I love rpm.
------------------------------
From: Floyd Davidson <[EMAIL PROTECTED]>
Subject: Re: Dual processor advantage?
Date: 14 Dec 2000 08:26:46 -0900
John Dixon <[EMAIL PROTECTED]> wrote:
>I have a relatively old ibm box with a Pentium Pro 180mhz processor.
>The motherboard has provision for a second processor, and I see that the
>Linux kernel can be configured for SMP. Would I see any improvement in
>performance if I installed a second processor? I am using Mandrake 7.2
>with the 2.2.17 kernel.
It depends on what you use the box for. If it is a heavily
loaded server running many processes, there will be a
significant improvement. But it will not make your editor seem
any faster at all! It also won't make anything that is disk i/o
intensive move along any faster either. And it can't make any
one single process run faster on a box that has nothing else
running.
But for example, with "make" you can use the -j option to allow
make to run more than one job at a time, and since many large
compiles require a lot of disk activity, the cpu (even on a
single cpu box) can be working on a different job when one of
them is doing disk i/o.
The time required to compile the Linux kernel can be drastically
reduced on an SMP box by letting make run in more than one
directory at a time and doing more than one compile in each
directory.
--
Floyd L. Davidson <http://www.ptialaska.net/~floyd>
Ukpeagvik (Barrow, Alaska) [EMAIL PROTECTED]
------------------------------
From: <[EMAIL PROTECTED]>
Subject: Re: RedHat 7.0 up2date ¿?
Date: Thu, 14 Dec 2000 18:30:08 -0000
Hi,
I have exactly the same problem. When the update stops (14% for me) it
spits out this error (if you run it from the console):
Retrieving list of all available packages...
Removing installed packages from list of updates...
100.0%
Removing packages marked to skip from list...
100.0%
Getting headers for available packages...
100.0%
Removing packages with files marked to skip from list...
Traceback (innermost last):
File "/usr/sbin/up2date", line 394, in ?
main()
File "/usr/sbin/up2date", line 377, in main
sys.exit(batchRun(onlyList, pkgNames, fullUpdate))
File "/usr/sbin/up2date", line 139, in batchRun
updated, skipped = up2date.getUpdatedPackageList(printit, percent)
File "/usr/share/rhn/up2date/up2date.py", line 897, in
getUpdatedPackageList
progressCallback)
File "/usr/share/rhn/up2date/up2date.py", line 854, in
removeSkipFilesPackages
FromList
if checkModified(h, f_i):
File "/usr/share/rhn/up2date/up2date.py", line 773, in checkModified
installedHdr = installedHeader(hdr['name'])
File "/usr/share/rhn/up2date/up2date.py", line 162, in installedHeader
for index in db.findbyname(pkgName):
rpm.error: error reading from database
So I thought it was a RPM problem. I ran rpm --rebuilddb, but nothing
happened... any ideas anyone?
Also, not sure it's related. I am not able to update Gnome Helix code
anymore.
Thanks
Alberto
Miguel Angel wrote:
>
>
> Well , My up2date RedHat app don't work , it stop at 11% of the remove of
> skips packages.
>
> I update to the latest version , but it don't work .
>
> Some boy can help me ,please ?
>
> Thanks
>
>
--
Posted via CNET Help.com
http://www.help.com/
------------------------------
From: "Eric" <[EMAIL PROTECTED]>
Subject: Linux and cooling fan
Date: Thu, 14 Dec 2000 13:45:26 -0500
I have a new Compaq Presario 1700T laptop which I installed RH 6.2 on
(ending a sentence with a preposition is something up with which I will not
put).
Soon after, the hard drive crashed (it rattled when it got quite hot, and
then would not boot until after cool down). I sent it to Compaq for repair,
and they replaced the hard drive. They also replaced the mother board,
which made me wonder if something was wrong with the fan controller. The
computer would get really hot, whether in Windows or Linux.
Is there any chance the Linux is screwing up the fan control, or bypassing
the fan altogether? Seems like a very low level mother board/BIOS thing,
but that is way beyond my area of expertise.
tia,
Eric
------------------------------
From: "Steve Wolfe" <[EMAIL PROTECTED]>
Subject: Re: IP Alias does not seem to work on 6.2 RH
Date: Thu, 14 Dec 2000 11:54:33 -0700
> Thanks. That works on the 3rd machine, but not on the fourth...
>
> 1044:nimitz(** ROOT **):/lib/modules/2.2.15# ifconfig eth0:1
> 192.168.1.127
> SIOCSIFADDR: No such device
> SIOCSIFFLAGS: No such device
>
> It definately has a twinked kernel. I shall have to dive into that
> I suppose and try and figure out that they did. It does not have
> a module file for ipaliasing.
> --
It's pretty easy - go into networking options, and enable 'ip aliasing',
and recompile.
steve
------------------------------
From: [EMAIL PROTECTED]
Crossposted-To:
alt.os.linux.mandrake,alt.os.linux.slackware,alt.uu.comp.os.linux.questions,comp.os.linux.development.system,comp.os.linux.networking,comp.os.linux.hardware,comp.os.linux.setup,linux.dev.kernel
Subject: Re: Kernel won't mount raid0
Date: Thu, 14 Dec 2000 19:05:21 GMT
Reply-To: [EMAIL PROTECTED]
I boot Software Raid1 (mirroring) and it works well.
Support for this included setting the partition types as fd (Raid
Autodetect) with fdisk, Compiling ALL raid support in the kernel,
including boot support, and Following the instructions here:
http://www.linuxdoc.org/HOWTO/Boot+Root+Raid+LILO.html
It took me over 72 hours to figure stuff out, but I am comfortable
with it now. I will be going into production with bootable Raid 1.
It wasn't the setup that was difficult, it was recovering from
simulated failures that was time consuming.
I am still looking into ide, vm and raid patches as I am not sure
which is the most reliable kernel/patch configuration, but I know that
I haven't had any problems with 2.2.17-21.
I have found the simplest and quickest way to react to a single drive
failure in bootable Raid 1 is to do the following:
SWITCHING FROM RAID 1 TO NON-RAID
--Note, this procedure includes a dos-bootdisk with loadlin.exe and a
functional kernel that works with your hardware. It also assumes that
you are familiar with partitioning, and have knowledge of the linux
boot process. It also assumes use of the ext2 filesystem.
1) convert raid partitions to 83 with fdisk
2) remove /etc/raidtab
3) modify /etc/fstab to mount non-raid partitions
4) modify /etc/lilo.conf to non-raid bootable configuration and
execute lilo
5) reboot
If you cannot access your filesystems since your bootable raid device
is busy, or you are in maintenance mode and the filesystem is read
only, you can use the rescue option of the distro cd, or a
root-bootdisk to mount the filesystems. I do not recommend the use of
Tom's root-bootdisk to do any of this with because of the older
libraries and filesystem versions.
I realize that linux raid has hot add and hot remove features, but I
do not have hot swap hardware and I also have not been able to
overcome the issue of /dev/md0 being busy when trying to do a raidstop
or a partition table modification, so inevitably, a reboot is
necessary, IMO, with bootable raid 1.
My current configuration is Mandrake-7.2 with the Mandrake kernel
2.2.17-21.
Tyan Tiger 133 VIA Chipset
Dual PII-400 in SMP mode
640MB PC-133
(2) 3Com905c 10/100's
(1) Dec21040 Tulip
(2) Western Digial 20GB hard disks (ATA-33) Raid 1
(1) Adaptec 2940U
(2) Seagate Baracuda 4GB hard disks Raid 1 (Boot)
Nvidia TNT2 AGP v.95 driver
Voodoo II PCI
Sound Blaster 32 ISA w/IDE
48x Cd-Rom
Zip drive
My best suggestion is if you are going to play with Software Raid on
Linux, then backup all of your directories to a separate drive that
you can restore from. Ideally, be doing this with a test box and not a
production machine.
Best regards and many thanks to Michael Robinton for a well written
HOWTO.
Charles Wilkins MCNE MCP A+
On Mon, 4 Dec 2000 09:33:06 +0100, "Peter T. Breuer"
<[EMAIL PROTECTED]> wrote:
>In comp.os.linux.misc Stephan A Suerken <[EMAIL PROTECTED]> wrote:
>> "Peter T. Breuer" <[EMAIL PROTECTED]> writes:
>>> In comp.os.linux.misc Stephan A Suerken <[EMAIL PROTECTED]> wrote:
>>> > /dev/md0 raid0,16k,0,802eab69 /dev/hda3 /dev/hdc2
>>> > oo Kernel 2.2.18pre23 and Kernel 2.2.17pre6 (both tried), with the
>>> > necessary RAID options (raid0, boot) enabled. Not as modules of course.
>>> > image = /vmlinuz
>>> > label = Orlok_Kernel
>>> > root = /dev/md0
>>> > read-only
>>> > vga=4
>>> > append="md=0,0,16,0,/dev/hda3,/dev/hdc2"
>>>
>>> waaaaaaaaaaah. Raid mirror root. Bad bad bad. Can you really do this?
>
>> No! Good (tm) idea! ;) However, I never talked of mirror mode.
>
>Oh, raid0 isn't mirror? What is it then? Oh, I see, raid1 is simple
>mirroring and raid0 is striping. Sorry, I really only use linear mode
>in earnest, so I forgot.
>
>> There is support to boot linear and striped (raid0) arrays since
>> 2.2.x. I can really do this. Or, that is, I should really ought to be
>> able to be doing this ;).
>
>Yes, I know. However, very few people are doing so, and I doubt if
>anyone is doing so on a pre-release kernel. Go back and try it on some
>other kernels.
>
>>> > ---
>>> > EXT2-fs error (device md(9,0)): ext2_check_descriptors: Block bitmap for group
>64 not
>>> > in group (block 3670038)!
>
>That block is very far upstream for a root device! Your root is at
>least 60MB in size. Well, I suppose that's OK.
>
>>> > EXT2-fs: group descriptors corrupted!
>>> > ---
>>>
>>> Yes, well, not surprised. Go find a kernel that is guaranteed to do
>>> raid mirror root,
>
>> As said above. All kernels >=2.2.0. There is only the uncertainty of
>> me being able to read or not.
>
>And whether or not it's been messed up in the pre-release you are
>looking at.
>
>>> CONFIG_BLK_DEV_MD=y
>>> CONFIG_MD_MIRRORING=y
>>> CONFIG_MD_BOOT=y
>
>> I don't need MD_MIRRORING (raid0 only), although I actually have it in
>> the kernel. As for the rest, I have it all of course.
>
>> Imho, there must be some slight difference in creating the /dev/md0
>> device between doing it from userspace via raidtools, or directly in
>
>Well, did you say you chunked at 16? 1KB chunks would be normal if the
>device file system has 1KB blocksize.
>
>> the kernel via boot options. The second imho most likely thing is that
>> I give the wrong chunk size factor. Kernel's md.txt isn't really clear
>> about that.
>
>It shouldn't matter, provided your whole device size is a multiple, of
>course.
>
>Why are you striping root? I can't think of an advantage. Root is
>essentially only read once for daemons and libs and stays in memory
>thereafter, so you don't get a speed up. There would be an advantage
>(robustness) in having a mirrored root.
>
>Peter
------------------------------
** FOR YOUR REFERENCE **
The service address, to which questions about the list itself and requests
to be added to or deleted from it should be directed, is:
Internet: [EMAIL PROTECTED]
You can send mail to the entire list by posting to comp.os.linux.misc.
Linux may be obtained via one of these FTP sites:
ftp.funet.fi pub/Linux
tsx-11.mit.edu pub/linux
sunsite.unc.edu pub/Linux
End of Linux-Misc Digest
******************************