How to run KDM on VNC but not on console

2003-01-29 Thread Rich
Howdy,
I have a server on which I want to grant some users access via VNC. I 
the README.inetd file showed how to run KDM on VNC.  It's pretty slick!

But whenever I start kdm, it starts X and displays It's prompt on tty1.

I don't want KDM to run on the console. This is a server, and I like the 
old fashioned text based login with no X. Is there a way I can limit KDM 
to only run on VNC sessions?

I've looked through the files in /etc/kde2/kdm/ and tried a few things, 
but no luck.

Any help is appreciated!



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Permissions for a FAT partition

2002-10-21 Thread Rich
Howdy all,

I want to change the default permissions of files in a FAT partition. I 
understand that FAT file systems have no concept of permission or 
ownership.  When I mount the partition ownership is set to root and 
permissions are set to 755. This means that only root can write to it. 
I'd like it to be writable by ordinary users.
I've tried fiddling the permissions of the mount point, and options to 
the mount command, but have had no luck.  Anyone know how to make my FAT 
partition writable?

thanks,
Rich


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Looking for a Web link checker that understands https/ssl

2002-12-13 Thread Rich
Subject says it all.

Thanks,
richard


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Can't boot "Kernel panic: No init found"

2003-01-10 Thread Rich
All,
I can no longer boot my Woody laptop. Here are the last few lines of
boot up:

	VFS: Mounted root (ext3 filesystem) readonly.
	Freeing unused kernel momory 208k freed
	kernel panic: No init found. Try passing init= option to kernel.

I use GRUB and have tried adding the kernel parameters 'init=/sbin/init'
and 'init=/bin/bash'. No dice.

Booting older kernels gives the same results.

I've booted with my recovery CD and fsck'ed my file system. No problems
found. I've confirmed that init exists and executes.

I'm stumped.   HELP

Thanks,

Rich B.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Re: Can't boot "Kernel panic: No init found" -- partially solved

2003-01-13 Thread Rich
After many hours of trial and error, and Googling, I finally discovered 
that I had somehow deleted my /lib directory. init wouldn't run, but 
didn't give any usefull error, so the kernel just reported that init was 
missing.

I restored a 6 month old backup, booted with error messages, but 
couldn't log in due to missing pam libs. I found a three month old 
backup and restored it and can now Log in!!!

Now, how can I use Apt and Dpkg to insure I have the newest/correct 
versions of everything?
How can I force re-installation of all my packages since my 3 month old 
backup?
Is that the best way to do it?

I've got a log of most of the updates I've done.

Thanks again,
Rich B

Original post:
>> I can no longer boot my Sarge laptop. Here are the last few lines of
>> boot up:
>>
>> 	VFS: Mounted root (ext3 filesystem) readonly.
>> 	Freeing unused kernel momory 208k freed
>> 	kernel panic: No init found. Try passing init= option to kernel.
>>
>> I use GRUB and have tried adding the kernel parameters 
>>'init=/sbin/init'
>> and 'init=/bin/bash'. No dice.
>>Booting older kernels gives the same results.
>>
>>I've booted with my recovery CD and fsck'ed my file system. No problems
>>found. I've confirmed that init exists and executes.
>>
>>I'm stumped.   HELP



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Can't boot "Kernel panic: No init found" -- partially solved -- MoreQuestions (APT)

2003-01-14 Thread Rich
After many hours of trial and error, and Googling, I finally discovered
that I had somehow deleted my /lib directory. init wouldn't run, but
didn't give any usefull error, so the kernel just reported that init was
missing.

I restored a 6 month old backup, booted with error messages, but
couldn't log in due to missing pam libs. I found a three month old
backup and restored it and can now Log in!!!

Now, how can I use Apt and Dpkg to insure I have the newest/correct
versions of everything?
How can I force re-installation of all my packages since my 3 month old
backup?
Is that the best way to do it?

I've got a log of most of the updates I've done.

Thanks again,
Rich B

Original post:
 >> I can no longer boot my Sarge laptop. Here are the last few lines of
 >> boot up:
 >>
 >> 	VFS: Mounted root (ext3 filesystem) readonly.
 >> 	Freeing unused kernel momory 208k freed
 >> 	kernel panic: No init found. Try passing init= option to kernel.
 >>
 >> I use GRUB and have tried adding the kernel parameters
 >>'init=/sbin/init'
 >> and 'init=/bin/bash'. No dice.
 >>Booting older kernels gives the same results.
 >>
 >>I've booted with my recovery CD and fsck'ed my file system. No problems
 >>found. I've confirmed that init exists and executes.
 >>
 >>I'm stumped.   HELP


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



where is /usr/src.linux???

1999-02-13 Thread rich
I am just now trying to compile my kernel for sound as per Marl Wagnon's
recent suggestions, but lo and behold, no /usr/src/linux and on top
of that, the only directory in my /usr/src directory is REDHAT?!?!?!
What's up here? So I just tried to go to /usr/src and type "make
xconfig" and I get the message "no rule to make target "xconfig". Stop"
I am baffled - please help!

ps - I am running slink, which I freshly installed after vetoing
hamm

Rich


A couple more strange "sound" probs...

1999-02-18 Thread rich
First let me thank everybody that helped me to get my kernel recompiled
and support for sound! I am now running 2.2.1 and everything seems to
work a little more smoothly (maybe?)... anyway, I got my SB Awe64 Gold
working for playing CDs - I added myself to the "audio" group and "disk"
group. A couple of strange problems, however...


xplaycd works fine
BUT xmcd appears briefly, then disappears...

Tkmixer and xmixer work fine as far as CDs go...

gom says no mixer opened (even when I have one of the above mixers
opened - I am missing something?)

xwave will load a .wav file and appear to play it, but no sound...

Any ideas?

Thanks in advance!

Rich


RE: A couple more strange "sound" probs...

1999-02-19 Thread rich
> From: "Paulo J. da Silva e Silva" <[EMAIL PROTECTED]> 
>     
> Rich,
> 
> Could you please send a copy of your /proc/sound in order to make us sure
> everything is working.
> 
> I have just compiled 2.2.1 to give my awe64 sound. Maybe I can remember
> something...
> 
> Paulo


> rich writes:
>  > First let me thank everybody that helped me to get my kernel recompiled 
> and support for sound! I am now running 2.2.1 and everything seems to work a 
> little more smoothly (maybe?)... anyway, I got my SB Awe64 Gold working for 
> playing CDs - I added myself to the "audio" group and "disk"
>  > group. A couple of strange problems, however...
>  > xplaycd works fine
>  > BUT xmcd appears briefly, then disappears...
>  > Tkmixer and xmixer work fine as far as CDs go...
>  > gom says no mixer opened (even when I have one of the above mixers opened 
> - I am missing something?)
>  > xwave will load a .wav file and appear to play it, but no sound...

Here's my proc/sound file...

OSS/Free:3.8s2++-971130
Load type: Driver compiled into kernel
Kernel: Linux monkeyhouse 2.2.1 #3 SMP Wed Feb 17 02:04:39 CST 1999 i586
Config options: 0

Installed drivers: 
Type 1: OPL-2/OPL-3 FM
Type 26: MPU-401 (UART)
Type 2: Sound Blaster
Type 29: Sound Blaster PnP
Type 7: SB MPU-401

Card config: 
Sound Blaster at 0x220 irq 5 drq 1,1
SB MPU-401 at 0x330 irq 5 drq 0
OPL-2/OPL-3 FM at 0x388 drq 0

Audio devices:
0: Sound Blaster 16 (4.16)

Synth devices:
0: Yamaha OPL3

Midi devices:
0: Sound Blaster 16

Timers:
0: System clock

Mixers:
0: Sound Blaster


Getting X-Windows to recognize Truetype fonts...

1999-02-25 Thread rich
Howdy all, 

I'm having trouble getting Netscape and Wordperfect to recognize my
TTFs... I've installed xfstt (it's loaded during boot-up), but when I do
a "xlsfonts | grep ttf" I get nothing... I've also done "ln -s
/dos_c/windows/fonts /usr/share/fonts/truetype/winfonts" as per xfstt
documentation... I know that I'm probably supposed to add the line "xset
fp+ unix/:7101&" to my xinitrc (?), but that doesn't do anything any
ideas?

Thanks in advance,

Rich


size of kernel too big?

1999-02-25 Thread rich
Hello everybody,

I recently compiled kernel 2.2.1 (my 1st attempt), and everything seems
to be going smoothly (except for playing .wav files, but that's another
story...) Anyway, did not put anything into "modules" (is that bad?)...
Now, when I look at my /var/log/messages, I see this...

monkeyhouse kernel: Memory: 30616k/32768k available (1000k kernel code,
416k reserved, 629k data, 44k init)Feb25

Is that saying that my kernel ids 1MB? If it is, is that too big? Will I
make it faster, leaner, smoother, etc bu sticking sound (+anything
else?) into "modules"?

Thanks,

Rich


? Wordperfect use of TrueType fonts ?

1999-02-27 Thread rich
Hello all, 

Thanks to everybody who helped me to get TrueType fonts going...
Netscape is using them right now, and it looks MUCH better anyway,
the fonts are not "seen" ny Wordperfect... is there a way to get WP to
recognize / use my nice new Arial font? (does anyone else think that the
fonts that came w/ WP are the _worst_?)

Thanks in advance,

Rich


Re: PLEASE HELP: Can't access my system....

1999-03-02 Thread rich
>This is a good application for the rescue disk (of the >installation floppy 
>set).  You can alt-F2 to get a console >screen, mount the root partition to 
>/mnt and edit >/mnt/etc/fstab with ae. 
>
>Bob

Thanks - that did it... although it took me a while to figure out that
when the program mounts the FS it mounts it not under /mnt but under
/target....

On Mon, 1 Mar 1999, Rich Hartman wrote:

> Hello,
> 
> I was messing around w/ FSTAB, and apparently erased the "ro" from 
> the "defaults,errors=remount-ro" field of my root filesystem 
> entry Anyway, now I can't login even as root, and get all kinds 
> of boot-up errors 
> 
> I've tried "linux single" at LILO, and I can login, but I can't edit 
> my FSTAB file - it gives me a "read-only" error...
> 
> So how do I fix my FSTAB if "linux single" won't let me do it?
> 
> Thanks to everyone in advance!
> 
> Rich


Statistics/graphing programs for scientists?

1999-03-11 Thread rich
Hello all,

I'm just about to get my doctorate in neuroscience,
and I have have several large databases essential for my dissertation.
For statistical analysis, I use Statistica for windows, and for graphing
my data, I use SigmaPlot for windows. A call to all scientists out there
- are there any native X-based programs that are as good as these?
Although these programs are excellent, I would rather not trust my
dissertation to the OS I have come to call Sir Crash-a-lot... My only
other option is to use a windows emulator (like WINE)...


Thanks in advance,

Rich


does WINE work well enough?

1999-03-11 Thread rich
Hello all,

I have recently become interested in installing WINE to run some
essential WIN-based programs... Anyway, I would like to be able to run
them under linux instead of having to reboot to my ever-crashing Win95
system. Will the debian package of WINE work? The WINE webpage makes it
sound like it works pretty well... 

Thanks in advance,

Rich


Spreadsheet capable of opening CSV files?

1999-03-11 Thread rich
Hello all,

I would also like to be able to use a GUI-based spreadsheet that can
import tab- or comma-delineated files (as far as I can tell, gnumeric
canNOT?) like corel quattro or excel... Is there anything out there?

Thanks,

Rich


Re: Statistics/graphing programs for scientists?

1999-03-11 Thread rich
>I don't know what kind of statistics you do, but try >Octave which is GNU 
>clone of MatLab.  For graph, I use >Python to analyze the data, and PiCTeX to 
>plot and >typeset the graph.
>
>Yours truly,
>William Park

Actually, I looked at Octave and it doesn't seem to be what I'm looking
for (or maybe it is and I just don't know it?)... I need a program that
can handle statistical tests such as ANOVAs, ANCOVAs, MRC, t-tests,
chi-square... that type of stuff (used mainly for determining
statistical differences between groups of subjects)... Can Octave do
that stuff? Someone mentioned that SPSS was ported to Linux - this would
probably be appropriate (although I really can't stand that program)

Thanks again,

Rich


what exactly is a "segmentation fault"?

1999-03-30 Thread rich
Howdy all,

I have just tried my 1st attempt at installing a non-debian package
(multitrack-2.2.tgz). I followed the instructions...

- place file in /usr/local

- tar xvfz multitrack-2.2.tgz

- cd multitrack-2.2

- make install

When I tried to run the program (by typing multitrack), I get a
"segmentation fault" error... I have heard this phrase before, but do
not know what it means... can anyone help, or at least point me in the
right direction?

Thanks in advance,

Rich


Re: what exactly is a "segmentation fault"

1999-03-31 Thread rich
>> When I tried to run the program (by typing multitrack), I get a
>> "segmentation fault" error... I have heard this phrase before, but do
>> not know what it means... can anyone help, or at least point me in the
>> right direction?
 

>A segmentation fault means that the program made an illegal memory
>access.  This can be done in many ways and it is now always the
>author's fault, it could be a library problem.

>First, run ldd /path/to/my program

>Every item in the list should have a left and right side.



Here is what that tells me - it seems like everything is okay?

libvga.so.1 => /usr/lib/libvga.so.1 (0x4000c000)
libvgagl.so.1 => /usr/lib/libvgagl.so.1 (0x40058000)
libX11.so.6 => /usr/lib/libc5-compat/libX11.so.6 (0x40067000)
libm.so.5 => /lib/libm.so.5 (0x40105000)
libc.so.5 => /lib/libc.so.5 (0x4010e000)
libc.so.6 => /lib/libc.so.6 (0x401cc000)
libm.so.6 => /lib/libm.so.6 (0x40271000)
ld-linux.so.2 => /lib/ld-linux.so.2 (0x4028a000)



>Next, run strace -o output program.  At the bottom of the file called
>output you will see some cryptic function calls.  They may offer a
>clue.


... bunch of stuff followed by...
geteuid()   = 0
getuid()= 0
getgid()= 0
getegid()   = 0
getpid()= 1201
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++

Does this tell me anything?

This also seems similar to an error that I get when I try to run
"emusic" - nothing happens until I  ^C, then I get the next message...

Gdk-Message: 
** ERROR **: sigint caught

All other sound stuff seems to work...

Any clues?

also

>Another thing that caused multitrack to "segfault" me was a setting in the
>preferences file  ~/.multitrack/prefs

>I changed this to read:

>#=
># Audio buffers section
>#=
>
>o_nr_buffers = 10
>i_nr_buffers = 10


I don't have this file - I guess because the program hasn't fully run
yet?


Thanks,

Rich


Re: what exactly is a segmentation fault?

1999-04-04 Thread rich

> ldd of "multitrack":
> libvga.so.1 => /usr/lib/libvga.so.1 (0x4000c000)
> libvgagl.so.1 => /usr/lib/libvgagl.so.1 (0x40058000)
> libX11.so.6 => /usr/lib/libc5-compat/libX11.so.6 (0x40067000)
> libm.so.5 => /lib/libm.so.5 (0x40105000)
> libc.so.5 => /lib/libc.so.5 (0x4010e000)
> libc.so.6 => /lib/libc.so.6 (0x401cc000)
> libm.so.6 => /lib/libm.so.6 (0x40271000)
> ld-linux.so.2 => /lib/ld-linux.so.2 (0x4028a000)
> 

>I think depending both on libc5 and libc6 shouldn't be a healthy
>situation. This one seems to be a libc5 program depending on svgalib,
>but maybe you haven't installed the libc5-compatible svgalib libraries
>(package 'svgalib1' in section 'oldlibs') so your program tries to use
>the libc6 ones, resulting in this conflict.

That was it! Thanks

Rich


??? Mysterious recurring problem with X video...

1999-02-05 Thread rich
Hey there everybody,

I've decided to try and figure out a problem (with y'alls help!) that
has bugged me since the days of Bo - setting up my X video. I've tried
reading all of the documentation, but to no avail. Here's my situation:

At 8 bpp, I have no problems (except the normal lame-looking color
dithering)...

At 16 bpp and higher, everything looks good EXCEPT for a thin (roughly
1/2") vertical stripe of the screen (about 3" from the left side, going
from top to bottom) that kind of "shimmers" whenever letters or pictures
are positioned immediately over it (it can't be seen against a "normal"
background)

Here is some crucial setup info:

Sceptre P73 17" monitor
from the manual:
Horizontal: 30-70
Vertical: 50-120
Video bandwidth: 100MHz
Max resolution: 1280x1024

I found a webpage with some info about this monitor... 

it says Horizontal of 24-66 - I put this in the config file and it seems
to work a LITTLE better)

it also says video bandwidth is 110MHz

it also says max resolution is 1280x1024 @ 60Hz, and max flicker-free is
1024x768 @ 76 Hz

>From the config file:
Section "Monitor"
HorizSync   24-66
VertRefresh 50-120
Modeline "1024x768" 85.00 1024 1032 1152 1360 768 784 787 823
Modeline  "800x600" 69.65 800 864 928 1088 600 604 610 640 -hsync -vsync
EndSection

Section "Device"
   BoardName   "ATI Pro Turbo+PC2TV, 3D Rage II+DVD"
EndSection

Section "Screen"
   Driver  "Accel"
   DefaultColorDepth 16
   SubSection "Display"
  Depth16
  Modes"1024x768" "800x600"
   EndSubSection
   SubSection "Display"
  Depth24
  Modes"1024x768" "800x600"
   EndSubSection
   SubSection "Display"
  Depth32
  Modes"1024x768" "800x600"
   EndSubSection
EndSection

ATI 3d Rage II+DVD w/ 4MB video memory

Info from Win'95 video (which runs fine):
1152x864
32bpp
Horiz: 45.9
Vert: 47
refresh rate: 47 Hz

THANKS IN ADVANCE! THIS IS THE LAST THING NEEDED TO HAVE MY SYSTEM
RELATIVELY TROUBLE-FREE!

Rich


* importing files into a Postgresql table *

1999-09-06 Thread rich
Howdy all,

I am in the process of trying to learn SQL and have installed Postgresql
onto my system. Is it possible to import a spreadsheet file (in any
number of formats: CSV, excel, quattro, whatever) into a Postgresql
table? It would be a drag to have to re-enter everything by hand. I have
not been able to find anything in the docs about this.


Thanks in advance,


Rich


What is xemacs-tty?

1999-09-10 Thread rich
Hello,

I just installed XEmacs, and in my Windowmaker menu there now appears:

XEmacs20-nomule
XEmacs20-tty-nomule

What is the tty entry? Why do I have 2 installations of Xemacs when I
only picked 1?

Thanks.

Rich


what are the "standard" programming tools available in Debian?

1999-09-14 Thread rich
Howdy everyone,

I was wondering: what are the tools available in Debian that one would
consider part of the "standard" toolbox of a programmer?

I have programmed for several years in BASIC, and dabbled Fortran and
Pascal. Now I want to learn C, Perl, and (maybe) Java... mostly for
relatively simple tasks around my lab such as coming up with programs to
generate forms for random assignment of experimental groups, taking raw
data and manipulating it in various ways into forms suitable for pasting
into a statistics package and presentation, etc. In addition, I'm trying
to design a lab web-page and would like to be able to have collaboraters
post and retrieve data from an SQL-type system...

My basic question is: for these languages and tasks, what tools would
make my life easier? I know about Gdb, but haven't figured out how to
use it yet... what else does Debian offer me?


Thanks in advance,

Rich


unused libraries reported by binstats

1999-09-14 Thread rich
Hello all,

I ran binstats, which reported that I had 79 "used" libraries, and 118
"unused" libraries... this is after having Debian running since Bo
(1.3). Is there a way to find out which libraries are unused and purge
them?

Thanks,


Rich


Re: what are the "standard" programming tools available in Debian?

1999-09-15 Thread rich
Thanks Seth! It seems lately that many questions go unanswered, much
less answered in such a thorough manner... I'm sure that your advice
will help me...
 
> > Howdy everyone,
> > 
> > I was wondering: what are the tools available in Debian that one would
> > consider part of the "standard" toolbox of a programmer?
> 
> 
> Well, it all depends on the programmer, I suppose. :) You need a good text
> editor. For me, that is vim. (As another debian-user reader pointed out,
> "You can take my Vim when you pry it from my cold, dead hands." Same goes
> for me, but it might be more difficult. :) For others, that might be elvis
> or emacs or whatever else. In any case, you need a good one, one that you
> know well.
> 
> You should have the compiler for whatever language you want to play in. For
> java, you need the jdk. (I think I have all four jdk* packages installed on
> my system..) For C, you need gcc. 
> 
> One thing that I dabbled with over the summer is makefiles -- wonderfully
> amazing things. With the right Makefile you can type :make in vim and it
> will rebuild your source, and jump to the first line with errors, and let
> you step through all the lines with errors. I am sure emacs offers the same
> setup.
> 
> If you want to do much C programming, and you have X window installed, then
> check out ddd -- a GUI frontend to gdb (very much nicer to a newbie such as
> myself) as well as some other debuggers (rumored to also include the java
> debugger, though I haven't tested that.)
> 
> If you want to do Perl programming, well, your Debian system should have
> come with that preinstalled. If you don't know perl, then buy one of two
> books: Learning Perl, by Randal L Swartz (I hope I got that right) or
> Programming Perl, by Tom Christianson and Larry Wall. Which one you buy
> depends on your programming experience. At some point you *will* want
> Programming Perl, so you might as well buy that one, and if it goes over
> your head (like it did mine my first trip through it) grab Learning Perl,
> and then try again. :)
> 
> as for other bits of the toolbox, you need to use manpages, (perldoc has
> perl info, the C ones are harder to find; I don't think there is one manpage
> that lists all the other C-based manpages..) grep, find, and maybe other
> bits too.
> 
> :)


Whay can't GDB or DDD find my source code?

1999-09-15 Thread rich
I am compiling a C program like so

gcc -o -g foo foo.c

alternatively

gcc -o -ggdb foo foo.c

When I run gdb, I get "(no debugging symbols found)"

When I run ddd, I get "GDB cannot find the source code of your program"

I'm running everything from the same directory, and have tried gdb
./foo, etc.

Am I just confused as to what these programs should be doing? At least
they should be able to find the source code, right? Unless there are no
errors, maybe?

Baffled, 

Rich


Re: Why can't GDB or DDD find my source code?

1999-09-15 Thread rich
That was it! Thanks a lot it's so nice when something turns out to
be so simple!

> Do you even have an executable file called 'foo' there? The -o option
> should be immediately followed by the name (which, by your examples is
> either -g or -ggdb). Try compiling with:
> 
> $ gcc -g -o foo foo.c
> 
> Matthew

> Rich wrote:
> > I am compiling a C program like so
> > 
> > gcc -o -g foo foo.c
> > 
> > alternatively
> > 
> > gcc -o -ggdb foo foo.c
> > 
> > When I run gdb, I get "(no debugging symbols found)"
> > 
> > When I run ddd, I get "GDB cannot find the source code of your program"


Re: what are the "standard" programming tools available in Debian?

1999-09-15 Thread rich
Thanks a lot for the great information - I was wondering about what I
needed to give my cheesy little programs a GUI. ncurses will
probably work just fine for me. As far as "make", that's pretty much not
useful for a program using only a single source file, right? Also, what
about LINT? I'm not all that familiar with it, but it sounds like a
syntax checker, or some such thing for C programs? Any other .deb
packages that can make programming easier for a relative newbie?

Brad wrote:
> 
> Also for C, you'll need the header files for any libraries you use. This
> means you want to download the libc6-dev package, the stdc++??-dev
> (??==2.10 for potato, i don't know for slink) if you program in C++. If
> you do X programming, xlib6[g?]-dev is good, as well as the -dev package
> for qt, gtk, or whatever you want. If you'd rather do a GUI in ncurses,
> get that -dev package. And so on and so on and so on ;)
> 
> If you can get them figured out, the GNU autoconf and automake tools are
> wonderful for making a full-featured makefile. For a small, single source
> file project these might be overkill though.
> 
> For C manpages, check the manpages-dev package. Also, remember that the
> 'manual' for some headers is in the header file itself. If worst comes to
> worst, RTFS ;)


Re: spreadsheet (excel, WingzPro)

1999-09-17 Thread rich
I remember reading today / yesterday that someone had problems with
Wingz on a 48MB system... I just downloaded both Wingz and WingzPro,
installed them in under 5 minutes and both run very smoothly and quickly
on my 32MB 200Mhz Pentium I running Slink... The Excel and HTML import /
export functions seem to work flawlessly... Gnumeric (at least the
version packaged for Slink) has a LONG way to go before it comes close
to this (excel compatiblity is very nice when your colleagues all work
w/ macs or windows)... I too did not see a shareware request for $50
(but haven't poured over the docs yet - maybe it's hidden somewhere)...
I also haven't really been able to tell the difference between the Wingz
and the Pro versions

Just my 2 cents on a seemingly pretty cool program (so far, anyway)


correct way to move /usr to a new partition...

1999-09-17 Thread rich
Howdy all,

I have decided that I need more room for my Slink system... my 1GB linux
partition that stores my entire system is now over 80% full... I was
thinking of using another empty 1GB partition (/dev/hdb1 - currently
mounted as /linux2a) for /usr. My thinking is:

1. as root, cp -r -p /usr /linux2a
2. change fstab to mount /dev/hdb1 as /usr (with options set to
"defaults, errors=remount -ro" ???)
3. rm /usr
4. mount -a

My question is, will I get screwed somehow, or is this the "correct" way
to do it?

Thanks in advance,

Rich


Re: Regex and memory gone.. was Re: spreadsheet (excel, WingzPro)

1999-09-17 Thread rich
> >I remember reading today / yesterday that someone had problems with
>  >Wingz on a 48MB system... I just downloaded both Wingz and WingzPro,
>  >installed them in under 5 minutes and both run very smoothly and quickly
>  >on my 32MB 200Mhz Pentium I running Slink... The Excel and HTML import /
>  >export functions seem to work flawlessly... Gnumeric (at least the
> [...]
> 
> Ah, that was me.  Perhaps I set it up wrong?  Wingz complined about not
> having libg++27 and libstdc++27.  Was I wrong to soft-link and ldconfig the
> libg++2.7.2 and libstdc++2.7.2 libs to these?  
> 
> The complaints then vanished and I then got the memory exhausted error from 
> Regex.

I don't know if this will help, but here is the output from "ldd
/usr/local/Wingz3/bin/LINUX/Wingz" on my system:

libm.so.5 => /lib/libm.so.5 (0x4000c000)
libXpm.so.4 => /usr/lib/libc5-compat/libXpm.so.4 (0x40015000)
libXmu.so.6 => /usr/lib/libc5-compat/libXmu.so.6 (0x40023000)
libXext.so.6 => /usr/lib/libc5-compat/libXext.so.6 (0x40035000)
libXt.so.6 => /usr/lib/libc5-compat/libXt.so.6 (0x4004)
libX11.so.6 => /usr/lib/libc5-compat/libX11.so.6 (0x40082000)
libdl.so.1 => /lib/libdl.so.1 (0x4012)
libg++.so.27 => /usr/lib/libc5-compat/libg++.so.27 (0x40123000)
libstdc++.so.27 => /usr/lib/libc5-compat/libstdc++.so.27
(0x4015b000)
libc.so.5 => /lib/libc.so.5 (0x4018c000)
libSM.so.6 => /usr/lib/libc5-compat/libSM.so.6 (0x4024a000)
libICE.so.6 => /usr/lib/libc5-compat/libICE.so.6 (0x40253000)


Re: correct way to move /usr to a new partition..

1999-09-18 Thread rich
> > I have decided that I need more room for my Slink system... my 1GB linux
> > partition that stores my entire system is now over 80% full... I was
> > thinking of using another empty 1GB partition (/dev/hdb1 - currently
> > mounted as /linux2a) for /usr. My thinking is:
> > 
> > 1. as root, cp -r -p /usr /linux2a
> > 2. change fstab to mount /dev/hdb1 as /usr (with options set to
> > "defaults, errors=remount -ro" ???)
> > 3. rm /usr
> 
> I am more cautious -- I would rename /usr to /old_usr rather than delete it.
> No need to paint yourself into a corner you can avoid.. delete it after a
> few days of it running perfectly. :)


That's a good suggestion - my question is: is there a linux utility to
compare directories / files to see if they are the same? Seems like I've
heard of one, but can't remember...


spreadsheet that can open CSV files?

1999-04-15 Thread rich
Hello all,

I would also like to be able to use a GUI-based spreadsheet that can
import tab- or comma-delineated files (as far as I can tell, gnumeric
canNOT?) like corel quattro or excel... Is there anything out there?

Thanks,

Rich


? using "make-kpkg" for modules ?

1999-05-02 Thread rich
Hello all,

I have compiled my kernel using 'make-kpkg' before and found it
relatively painless - as long as I didn't use modules.. Today I tried to
set up module support for my kernel and "modulize" a bunch of stuff, and
I'm having some problems. First, from reading the
/usr/doc/kernel-source-2.2.1/debian.README file, I thought that
'make-kpkg --revision=custom.1.5 kernel_image' was supposed to take care
of the modules. So I did that, installed the .deb package, and rebooted.
Now printing works (I'm pretty sure that lp should be a module now), pon
works (same for ppp support) but sound does not. So I see elsewhere
buried in the documentation that you're also supposed to do 'make-kpkg
--revision=custom.1.5 module_image' I did that, and it spent a couple of
minutes going through the routine, but no modules .deb package was
created (that I could find...). Now if I try that command again, it goes
through a very quick program listing and stops as if it's done... but
still no .deb package... My kernel IS smaller by a couple hundred bytes
now...

Here is what my /proc/modules file says:
ppp_deflate38516   0 (autoclean)
sound  54484   0 (autoclean) (unused)
soundlow 208   0 (autoclean) [sound]
soundcore   2084   3 (autoclean) [sound]
bsd_comp3468   0
ppp17712   2 [ppp_deflate bsd_comp]
slhc4136   1 [ppp]
lp  4268   0 (unused)


What am I doing wrong here?

Thanks in advance...

Rich


? using "make-kpkg" for modules ?

1999-05-03 Thread rich
> You need to do some tweaking to get sound support to work properly as
> a module.  If you don't do anything special, a read request on
> /dev/audio tells the kernel to try to get sound support, so it loads
> the 'sound' module.  Since there's no module installed that can
> provide actual audio data, the read fails.
> 
> My /etc/modutils/sound contains:
> 
> post-install soundcore modprobe -ks sb
> post-install sb modprobe -ks adlib_card
> options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330
> options adlib_card io=0x388
> 
> This has modprobe install the sb module when the kernel loads the
> soundcore module, and then loads the adlib_card module after that.  It 
> also specifies correct I/O, IRQ, and DMA information for the modules,
> which is essential for them to work correctly.


I don't have that file... will creating it do the trick as far as sound
goes? More importantly, hpw do I know that my system is correctly using
modules? Is there a way to check? And why didn't the make-kpkg
--revision=custom.1.5 module_image command produce a .deb file to
install? Was that even needed? I understand the idea of modules, but the
implementation is far from clear, and I've spent a long time wading thru
documentation. Perhaps I just haven't been looking in the right places?
Finally, I have found that to do the steps required to compile the
kernel, I need to be root the whole time. I was under the impression
that I shouldn't have to be for every step, and that 'fakeroot' should
be used for the steps that require root permissions. This didn't work...
Although I have compiled several successful kernels (all w/o module
support), I have had to do it all as root.

Thanks again,

Rich


Re: ? using "make-kpkg" for modules ?

1999-05-03 Thread rich
Shaleh wrote:
> 
> On 03-May-99 rich wrote:
> >> You need to do some tweaking to get sound support to work properly as
> >> a module.  If you don't do anything special, a read request on
> >> /dev/audio tells the kernel to try to get sound support, so it loads
> >> the 'sound' module.  Since there's no module installed that can
> >> provide actual audio data, the read fails.
> >>
> >> My /etc/modutils/sound contains:
> >>
> >> post-install soundcore modprobe -ks sb
> >> post-install sb modprobe -ks adlib_card
> >> options sb io=0x220 irq=5 dma=1 dma16=5 mpu_io=0x330
> >> options adlib_card io=0x388
> >>
> >> This has modprobe install the sb module when the kernel loads the
> >> soundcore module, and then loads the adlib_card module after that.  It
> >> also specifies correct I/O, IRQ, and DMA information for the modules,
> >> which is essential for them to work correctly.
> >
> >
> 
> Ok here goes, blow by blow:
> 
> make menuconfig and setup as usual (if you do make xconfig that is fine too)
> while in config, go into the sound section and enable the modules for the 
> sound
> items needed
> 
> do make-kpkg kernel_image (add --revision if desired) <-- this builds kernel
> and modules
> 
> install the kernel
> 
> cd /etc/modutils and make the sound file as shown above then run 
> update-modules
> (both as root)
> 
> cd /etc and edit conf.modules, make sure auto is the uncommented
> 
> reboot
> 
> all should be well
> 
> as to the make-kpkg as root thing, I simply run sudo make-kpkg and I never
> become root.  fakeroot has not worked for me here.


Well, I just did all of that (there was no "auto" anywhere in the
/etc/conf.modules) and now the boot process gives me messages such as
"modprobe: can't find module sound" and hangs up when it tries to
configure gom... any ideas? Surely there has to be an simpler way to
deal w/ modules, since that is supposedly the "standard" way to set
things up?


wierd boot message about cdrom...

1999-05-23 Thread rich
Howdy all,

I was just browsing through my boot messages when I noticed this string
of text that I'm not sure I've seen before (right at the end of the boot
messages)...

.
.
.
VFS: Disk change detected on device ide1(22,0)
hdc: command error: status=0x51 { DriveReady SeekComplete Error }
hdc: command error: error=0x54
end_request: I/O error, dev 16:00 (hdc), sector 64
ATAPI device hdc:
  Error: Illegal request -- (Sense key=0x05)
  Illegal mode for this track or incompatible medium -- (asc=0x64,
ascq=0x00)
isofs_read_super: bread failed, dev=16:00, iso_blknum=16, block=32
registered device ppp0


Does anyone know if this is bad, what it means, and/or how to fix it?

Thanks in advance,

Rich


???RealPlayer installation???

1999-06-03 Thread rich
Howdy all,

I'm trying to install RealPlayer 5.0 on slink (no .deb package, right?)
- I downloaded the tarball from the RealPlayer site and installed it...
trying to run it, I got:


./rvplayer: can't load library 'libg++.so.27


So I tried to install the libg++27 package, but got this message from
dselect:


Checking system integrity...ok
The following NEW packages will be installed:
  libg++27 
0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0b/236k of archives. After unpacking 523k will be used.
Do you want to continue? [Y/n] 


(Reading database ... E: Sub-process returned an error code
Some errors occurred while unpacking. I'm going to configure the
packages that were installed. This may result in duplicate errors
or errors caused by missing dependencies. This is OK, only the errors
above this message are important. Please fix them and run [I]nstall
again
Press enter to continue.


When I tried to re-install, I get the same message - any ideas?

Thanks in advance

Rich


/dev/lp0 quit after kernel "modulized"...

1999-10-11 Thread rich
Howdy all,

I've had everything working great on my system for a long time, BUT with
EVERYTHING compiled into the kernel - I had trouble a while ago using
make-kpkg... the kernel_image worked fine, but modules_image didn't do
anything but echo back some script... Anyway, I finally used the 'make
modules' 'make modules_install' method, recompiled my kernel with most
stuff as a 'module', and now printing doesn't work:

monkeyhouse:/home/rich# cat temp.txt > /dev/lp0
bash: /dev/lp0: Operation not supported by device

However, the output of 'lsmod' shows that lp and parport are loaded
any ideas?

Module  Size  Used by
lp  4280   0  (autoclean) (unused)
parport 6444   0  (autoclean) [lp]


Thanks in advance,

Rich


my root filesystem is 21.6% non-contiguous...

1999-10-11 Thread rich
Is that bad? most of my other filesystems are in the 1.5% range. This
seems to have happened after I through my /usr directory onto its own
partition... shortly thereafter, I noticed that it was 20.9%. I thought
that it may have been because I just moved a large chunk of it, but
after a couple of weeks, it has gotten larger instead of smaller... do I
have anything to worry about?

Thanks in advance,

Rich


Re: /dev/lp0 quit after kernel "modulized"...

1999-10-12 Thread rich
Mirek:

> Hmm, it not a problem. Add alias:
> 
>alias parport_lowlevel parport_pc
> 
> and all is fine:


I tried that (by adding that line to /etc/modutils/aliases - correct
way?)...

didn't change anything... Can the parallel port be used as a module for
printing?


> monkeyhouse:/home/rich# cat temp.txt > /dev/lp0
> > bash: /dev/lp0: Operation not supported by device
> > 
> > However, the output of 'lsmod' shows that lp and parport are loaded
> > any ideas?
> > 
> > Module  Size  Used by
> > lp  4280   0  (autoclean) (unused)
> > parport 6444   0  (autoclean) [lp]
>


Re: 96M RAM, but free only shows 64M!!!

1998-11-14 Thread rich
if he's using lilo you've gotta add append MEM="96M" or whichever ammount
of mem is installed on your computer. Be sure to add the correct amount or
you're gonna get boot failures :P




-Rich Perow
  -! <[EMAIL PROTECTED]>

On Sat, 14 Nov 1998, Mark Phillips wrote:

> Hi,
> 
> My friend's laptop has 96M of RAM installed.  When it boots, it has a
> message saying that 96M is installed and BIOS setup shows the same thing,
> but when I run "free" under Debian it comes up with:
> 
> # free
>  total   used   free sharedbuffers cached
> Mem: 63384  61728   1656  25776  30420  16084
> -/+ buffers/cache:  15224  48160
> Swap:64508344  64164
> 
> 
> Why does it only think there is 64M?
> 
> Thanks,
> 
> Mark.
> 
> _/\___/~~\
> /~~\_/~~\__/~~\__Mark_Phillips
> /~~\_/[EMAIL PROTECTED]
> /~~\HE___/~~\__/~~\APTAIN_
> /~~\__/~~\
> __
> "They told me I was gullible ... and I believed them!" 
> 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 


Re: 96M RAM, but free only shows 64M!!!

1998-11-14 Thread rich
erf sorry, append="mem=96M", tis been a while




-Rich Perow
  -! <[EMAIL PROTECTED]>

On Sat, 14 Nov 1998, Mark Phillips wrote:

> Hi,
> 
> My friend's laptop has 96M of RAM installed.  When it boots, it has a
> message saying that 96M is installed and BIOS setup shows the same thing,
> but when I run "free" under Debian it comes up with:
> 
> # free
>  total   used   free sharedbuffers cached
> Mem: 63384  61728   1656  25776  30420  16084
> -/+ buffers/cache:  15224  48160
> Swap:64508344  64164
> 
> 
> Why does it only think there is 64M?
> 
> Thanks,
> 
> Mark.
> 
> _/\___/~~\
> /~~\_/~~\__/~~\__Mark_Phillips
> /~~\_/[EMAIL PROTECTED]
> /~~\HE___/~~\__/~~\APTAIN_
> /~~\__/~~\
> __
> "They told me I was gullible ... and I believed them!" 
> 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 


Re: system hang on boot

1998-11-14 Thread rich
ide0: reset: success.
(or something to that effect)

if that was the error you got, you've added too much memory to your
append. 




-Rich Perow
  -! <[EMAIL PROTECTED]>

On Sat, 14 Nov 1998, Sibuyas Bombay wrote:

> hi all !
>   I 81Mb of RAM but had no idea that i was using only the 64Mb of it until 
> that
> post by Mark Phillips.  Anyway, i added the 'append' line to my /etc/lilo.conf
> then run #lilo ... 
>   When i tried restarting my box it would completely halt/hang at the part 
> where
> Linux does partition checks on hda 1, 2 & 3 ... 
>   Heres part of my lilo.conf.  I'd really appreciate it if there's someone who
> can tell me what i did wrong here ...
> 
> #Start Linux bootable partition
>  image = /vmlinuz
>root = /dev/hda3
>append = "mem=81M" #this is what i added
>label = Linux
>read-only
> #End Linux bootable partition
> 
> Sib
> 
> -
> A world of Information. The journey begins here. At Home.
> Internet Cebu's web based mail. http://www.i-mailbox.net
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 


question

1998-11-14 Thread rich
question.. i must of done something a few weeks back and never relized it
messed up. but as of now i can't make any local connections. All network
unreachables. ifconfig shows lo and ppp0 both up and running. Any remote
host can make a connection without a problem, as long as im not 
connecting/pinging localhost from localhost

[EMAIL PROTECTED]:~> su
Password:
[EMAIL PROTECTED]:/usr/home/legacy> ping localhost
PING localhost (127.0.0.1): 56 data bytes

--- localhost ping statistics ---
2 packets transmitted, 0 packets received, 100% packet loss
[EMAIL PROTECTED]:/usr/home/legacy> telnet localhost
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Network is unreachable
[EMAIL PROTECTED]:/usr/home/legacy> 

another thing.. if i made a local mistake would that explain verio
sending me icmp_time_exceeded?  

Nov 13 22:37:22 plink icmpinfo: ICMP_Time_Exceeded < 207.21.100.33
[h3-paix1.ncal.verio.net] > 127.0.0.1 [localhost] sp=34308 dp=23
seq=0xb8f409aa sz=36(+20)

Much apriciated if anyone can help.
 
-Rich Perow
  -! <[EMAIL PROTECTED]>


Re: 96M RAM, but free only shows 64M!!!

1998-11-16 Thread rich
well, when i had 96 meg of ram, my bios was counting the extra to. so when
i added the 98 that the bios showed me, i ran into a boot error which
completly halts the system, this was on 1.3 btw :P

ide0: reset: success.



-Rich Perow
  -! <[EMAIL PROTECTED]>

On Mon, 16 Nov 1998, C.J.LAWSON wrote:

> On Fri, 13 Nov 1998, rich wrote:
> 
> > if he's using lilo you've gotta add append MEM="96M" or whichever ammount
> > of mem is installed on your computer. Be sure to add the correct amount or
> > you're gonna get boot failures :P
> If I remember correctly, it's not boot failures one is to be worried about
> ... the machine will probably boot fine ... It will, on the other hand,
> crash badly sooner or later
>   Not that I am spliting hairs
>   Regards
> 
> > > 
> > > _/\___/~~\
> > > /~~\_/~~\__/~~\__Mark_Phillips
> > > /~~\_/[EMAIL PROTECTED]
> > > /~~\HE___/~~\__/~~\APTAIN_
> > > /~~\__/~~\
> > > __
> > > "They told me I was gullible ... and I believed them!" 
> > > 
> > > 
> > > 
> > > -- 
> > > Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> > > 
> > > 
> > 
> > 
> > -- 
> > Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> > 
> > 
> 
> ---
> Jonathan Lawson 
> Thermal Processes Unit 
> Department of Applied Energy and Optical Diagnostics 
> School of Mechanical Engineering, 
> Cranfield  University, 
> Cranfield, Bedford. UK.  
> email [EMAIL PROTECTED]
>   
> How beautiful upon the mountains are the feet of him that bringeth good 
> tidings, 
>   that publisheth peace; that bringeth good tidings of good, 
>   that publisheth salvation; that saith unto Zion, 
>   Thy God reigneth!
>   
>   Isaiah 
> 52:7
> 
> 


Re: 96M RAM, but free only shows 64M!!!

1998-11-16 Thread rich
i cant exactly remember the damn numbers off the top of my head, this was
almost 6 months ago, sue me already :P



-Rich Perow
  -! <[EMAIL PROTECTED]>

On Mon, 16 Nov 1998, Evan Van Dyke wrote:

> rich wrote:
> > 
> > well, when i had 96 meg of ram, my bios was counting the extra to. so when
> > i added the 98 that the bios showed me, i ran into a boot error which
> > completly halts the system, this was on 1.3 btw :P
> 
> Umm... NOTE HERE:
> 
> 1KB == 2^10 bytes.   that's 1,024.  NOT 1,000.
> 1MB == 2^10 Kbytes.  that's 1,024^2 bytes  or 1,048,576 bytes  Not
> 1,000,000 bytes
> Therefore 96 MB = 96*1,048,576 or  98,304 KiloBytes, or 100,663,296
> Bytes.
> So your bios told you correctly that you had 96 MegaBytes.  :>
> It's just that your definition of a MegaByte was off.
> 
> --Evan
> 
> -- 
> Evan Van Dyke  E-mail: [EMAIL PROTECTED]
> Page: [EMAIL PROTECTED] ICQ#: 15442232
> DNRC's Minister of Lost Internet Packets.   O-
> Amateur Radio Call Sign:  KB8PVE
>"Quoth the Raven...  'Nevermore!'" --Edgar Allen Poe
>"I'll bet that all you can do is watch the ball bounce around the
> screen.
>   --Dilbert to Management
> 


Re: I forget my root password and all password

1998-11-16 Thread rich
ah fun stuff. easy way: 

boot using rescue disk and mount your harddrive, you'll have to run
'passwd root' and set a new pass.



-Rich Perow
  -! <[EMAIL PROTECTED]>

On Mon, 16 Nov 1998, Cest wrote:

> Hallo,
> Anybody can help me, i forget my root password and all user passord, i
> use kernel debian 2.0.34, soo how i can have my root password back.
> 
> Sorry my (bad) English.
> 
> thanks you
> 
> Cest
> 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 


Clarification concerning security of testing on a laptop

2005-01-04 Thread rich
Hi,

I know these type of questions are asked a lot but there's a couple of
things I don't get & I haven't been able to find an answer using google
or searching the message archives.

First up, I'm running testing on my laptop & want some clarification
regarding how secure this is.  I know it is not monitored in any way for
security problems & as such security problems are not fixed on it -
however stable is no good to me since my laptop won't boot any 2.4
kernels, and I like/need to use fairly up-to-date software.

What I don't understand is why it is so horrendously insecure to run
testing - as I understand it when a vulnerability is found, a new
version of the program is normally released which fixes the problem.
This new version is built by the debian team & put into unstable and
then after a bit (do I remember reading somewhere that it used to take
10 days but is now more like 2?) migrates into testing.  Surely that
means the longest you're likely to be vulnerable is 10 days?

I appreciate this is useless for a server, and you've no recourse if you
then get hacked as a result of running vulnerable software, but I don't
see that it is a matter of being totally vulnerable.  Surely it's a
matter of being vulerable for a few days longer than if you were running
stable - something that I would be willing to live with if it let me run
debian on my laptop with up-to-date software.

Thanks for any clarification or thoughts!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Can a particular network card be permenantly bound to an eth'x' number?

2005-01-07 Thread rich
I have several network cards in my laptop - wired lan, wireless lan,
loopback & firewire.  After a recent update (I'm running testing) my
interface numbers all jumped around so that instead of the wired lan
being eth0, it's now eth1 & the firewire is eth0.  What defines what
eth'x' number is given to which network device?  It's a pain having to
change configuration each time they move numbers (as also happens
depending on whether I boot with my wireless cardbus in the slot or
not)!



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



How to prevent modules loading?

2005-01-07 Thread rich
How do I prevent a module loading at startup?  I have a prism-based
wireless card, but have configured it using ndiswrapper so that I can
use WPA.  Although ndiswrapper seems to run before prism (ndiswrapper is
listed in /etc/modules) & therefore configure the card correctly,
prism54 module is still loaded.

How do I prevent this happenning?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Can a particular network card be permenantly bound to an eth'x'number?

2005-01-08 Thread rich
On Fri, 2005-01-07 at 19:26 -0900, Greg Madden wrote:
> On Friday 07 January 2005 01:31 pm, Jim McCloskey wrote:
> > rich <[EMAIL PROTECTED]> wrote:
> > |> I have several network cards in my laptop - wired lan, wireless
> > |> lan, loopback & firewire.  After a recent update (I'm running
> > |> testing) my interface numbers all jumped around so that instead of
> > |> the wired lan being eth0, it's now eth1 & the firewire is eth0. 
> > |> What defines what eth'x' number is given to which network device? 
> > |> It's a pain having to change configuration each time they move
> > |> numbers (as also happens depending on whether I boot with my
> > |> wireless cardbus in the slot or not)!
> >
> > This is just what the ifrename package is for (part of wireless-tools
> > but it's a separate package in Debian).
> >
> > It assigns a user-defined interface-name permanently on the basis of
> > certain static criteria, usually the device's MAC address.
> >
> > I use it on my laptop to ensure that the built-in ethernet adapter
> > is always `nic', one wireless card is always `wlan1', and the second
> > wireless card is always `wlan2'.
> >
> > It's easy to set this up, but if you want a really good detailed
> > account of this and related issues, try:
> >
> >http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/HOTPLUG.txt
> >
> > Jim
> 
> Rant:
> Yes ...but, what is up with giving , or trying, as is the default with 
> Sarge, to give an network interface to firewire ? Until I added the 
> IPW2100 Centrino driver  the firewire driver was always loaded, which 
> prevents the onboard ethernet & PCMCIA from configuring correctly. I 
> would think that firewire would be the 'last' choice to configure as an 
> interface, I have never even seen a firewire nic, but thats just me.
> 
> Thanks for the link though :)

Thanks for all the info - it's been stored for future refernce :)  In
the end I went for the option of just specifying the modules in the
order I wanted in /etc/modules.  This seemed the simplest way to achieve
what I wanted and everything is now fine.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Problems getting all buttons in intellimouse working using imwheel & xmodmap

2005-01-08 Thread rich
I'm trying to get the side buttons working on my ms intellimouse under
sarge.  Previously under yoper, I had set XF86Config-4 to a 7 button
mouse with ZAxisMapping to "6 7", run xmodmap -e "pointer = 1 2 3 6 7 4
5" and then run imwheel to map the side buttons to something useful.
However this isn't working under sarge.  Here's where I'm at:

I'm running on a laptop with a touchpad & a MS intellimouse attached by
USB.  The mouse section of XF86Config-4 looks like this:

Section "InputDevice"
Identifier  "Configured Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/psaux"
Option  "Protocol"  "ImPS/2"
Option  "Emulate3Buttons"   "false"
Option  "Buttons"   "7"
Option  "ZAxisMapping"  "6 7"
EndSection
Section "InputDevice"
Identifier  "Generic Mouse"
Driver  "mouse"
Option  "SendCoreEvents""true"
Option  "Device""/dev/input/mice"
Option  "Protocol"  "ImPS/2"
Option  "Emulate3Buttons"   "false"
Option  "Buttons"   "7"
Option  "ZAxisMapping"  "6 7"
EndSection

The odd thing is that the touchpad doesn't work atall, and
the /dev/psaux device seems to be my USB intellimouse - since changing
the original config of the /dev/psaux mouse from 5 to 7 buttons caused
the scrollwheel on the intellimouse to stop working.

So, question 1 is why does the USB mouse show up as /dev/psaux and can I
change this?  Could this be the cause of my problems (below)?

With this setup xev shows the following button mappings:

left mouse = button 1
click scrollwheel - button 2
right mouse = button 3
scroll down = button 7
scroll up = button 6
left side button = button 2
right side button = button 3

I then run xmodmap -e "pointer = 1 2 3 6 7 4 5"

Now, xev shows left, right & scrollwheel clicks to be the same.  However
the scrolling down now shows as button 7, then if I carry on scrolling
button 5.  Likewise scrolling up shows initally as button 6 then, if I
carry on scrolling, button 4.  The side buttons still act as buttons 2 &
3.  Obviously running imwheel doesn't work because the button mappings
are still messed up.

As an experiment I tried changing the protocol to ExplorerPS/2.  This
time before the xmodmap line, the side buttons acted as buttons 4 and 5.
However after running the xmodmap line, a single scroll up gives a
press/release of both button 4 & 6.  A single scroll down gives
press/releases of buttons 5 and 7.  The side buttons give the same
events as a scroll up or down.

So, why does the xmodmap line not work?  And why does scrolling activate
as 2 buttons?



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Touchpad scrollwheel won't scroll under sarge

2005-01-09 Thread rich
I'm running sarge on my laptop which has a touchpad & a USB mouse.  The
USB mouse works fine (all 7 buttons!) after using xmodmap.  The touchpad
works fine except for the fact that the sroll wheel doesn't scroll.
Using xev, I see a down-scroll being seen as button 2, while an
up-scroll is not detected at all (left/right clicks are seen as buttons
1 & 3).  Here's the input section of XFree86-config-4:

Section "InputDevice"
Identifier  "Generic Mouse"
Driver  "mouse"
Option  "CorePointer"
Option  "Device""/dev/input/mice"
Option  "Protocol"  "ExplorerPS/2"
Option  "Emulate3Buttons"   "false"
Option  "Buttons"   "7"
Option  "ZAxisMapping"  "6 7"
EndSection

Section "InputDevice"
Identifier  "Touchpad"
Driver  "mouse"
Option  "SendCoreEvents""true"
Option  "Device""/dev/psaux"
Option  "Protocol"  "auto"
Option  "Emulate3Buttons"   "false"
#   Option  "Buttons"   "5"
Option  "ZAxisMapping"  "4 5"
EndSection

The protocol is auto-detected as explorerPS/2.  I also had to manually
modprobe the psmouse module - don't know if this is normal or will have
effected anthing?  How do I get the scroll to work?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Touchpad scrollwheel won't scroll under sarge

2005-01-09 Thread rich
I see from some pages on the net that this is a problem with the driver.
Users of synaptics touchpads have a synaptics driver to get  them by,
however I have an Alps touchpad.  I see from the synaptics driver
homepage that the driver ships with a patch to make it work with alps
touchpads, however when I install & use the synaptics driver (using
apt-get) in my XF86Config-4 file, the XFree log says that it can't
detect any synaptics device.  I know I can compile from source, but
looking at the debian changelogs for this package
(http://packages.debian.org/changelogs/pool/main/x/xfree86-driver-synaptics/xfree86-driver-synaptics_0.13.6-2/changelog)
it looks like detection of Alps devices was fixed way back in 0.13.2-1
(I'm using 0.13.6-2).

So, does anyone know if 0.13.6-2 as found in sarge really does detect
alps touchpads, or do I need to compile from source with the alps patch?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Eterm, /dev/null, and segfaults

2000-09-30 Thread rich
Howdy all,

I just installed Slink onto an HP pentium 166 from CD. I'm using
Windowmaker... When I tried to use Eterm as root, it worked... when I
tried to use it as a normal user, it said something about /dev/null and
segfaulted...

/dev/null is set up like so... crw-rw-rw-

xterm, however, worked for both root and normal users.


I then used apt to upgrade to Potato over ethernet Eterm still works
for root, but now when I try to run Eterm OR xterm as normal user,
absolutely nothing happens. No window, no disk-noises, nothing. However,
if I switch to twm, I can get a cheesy-looking xterm. Strange?

I last clue when I log out of Windowmaker, before switching to back
to wdm, a screen of strange SVGA-looking chaotic graphics briefly
flashes - it does NOT do this for root.

Any clues?

Thanks in advance,

Rich



Eterm, /dev/null, and segfaults

2000-09-30 Thread rich
Howdy all,

I just installed Slink onto an HP pentium 166 from CD. I'm using
Windowmaker... When I tried to use Eterm as root, it worked... when I
tried to use it as a normal user, it said something about /dev/null and
segfaulted...

/dev/null is set up like so... crw-rw-rw-

xterm, however, worked for both root and normal users.


I then used apt to upgrade to Potato over ethernet Eterm still works
for root, but now when I try to run Eterm OR xterm as normal user,
absolutely nothing happens. No window, no disk-noises, nothing. However,
if I switch to twm, I can get a cheesy-looking xterm. Strange?

One last clue when I log out of Windowmaker, before switching to
back
to wdm, a screen of strange SVGA-looking chaotic graphics briefly
flashes - it does NOT do this for root.

Any clues?

Thanks in advance,

Rich



installing win98 after everthing else....

2001-03-10 Thread rich
Howdy all,

I've got a "tri-boot" box - linux, win95 and freebsd... I would like to
install win98 and eventually erase win95. I have 2 hard drives
configured as follows:

master:
/dev/hda1   win95
/dev/hda2   freebsd
/dev/hda3   debian root
/dev/hda4   debian swap

slave:
/dev/hdb1   extra ext2  primary
/dev/hdb2   another ext2primary
/dev/hdb3   vfatprimary
/dev/hdb5   vfatlogical
/dev/hdb6   vfatlogical
/dev/hdb7   ext2(/usr)  logical
/dev/hdb8   vfatlogical
/dev/hdb9   vfatlogical
/dev/hdb10  vfatlogical

What I want to do is change /dev/hdb1 to vfat, unplug my master,
configure my slave as master temporarily, install Win98 on /dev/hdb1,
then reassign original master / slave, put Win98 in Lilo and have a
"quad boot" box for awhile whilst I get stuff tranferred from win95 to
win98... my question is, will win98 allow itself to be installed on a
partition of my choosing, or will it just erase everything and install
itself wherever it wants?

Thanks in advance,

Rich



mozilla segfault...

2000-06-11 Thread rich
Howdy all,

I am running Windowmaker on a "pure" potato system. I just grabbed
mozilla using apt, but this is what happens when I try to run it...

> monkeyhouse:~/$ mozilla
> Profile Manager : Profile Wizard and Manager activites : Begin
> Profile Manager : Command Line Options : Begin
> Profile Manager : Command Line Options : End
> ProfileManager : GetProfileDir
> ProfileManager : GetProfileDir
> Profile Manager : Profile Wizard and Manager activites : End
> Segmentation fault

Any ideas?

Thanks in advance,

Rich



home network: will bo play with potato?

2000-03-15 Thread rich
total network newbie here,

I recently acquired a 486dx-33 with 1.4gb hard drive that i want to use
as an x-terminal to connect to my pentium-200 (which runs potato). Is
potato appropriate for a 486? I have an old cd of bo that I thought
would work on the 486, but would I be able to connect to the potato
pentium?

BTW, is it really even feasible to use a 486 to run X programs like
wordperfect and Netscape off of my pentium?


Thanks in advance,

Rich


can't load a library...

2000-03-24 Thread rich
Howdy all,

I'm trying to install a program that relies on libXt.so.6 and
libX11.so.6. Whenever I try to run it I get the message, 'can't load
libXt.so.6'

I've done dpkg -S for both of these and see that xlib6g provides both.
I've got this installed, so can anyone tell me what the problem could
be?

thanks in advance,

rich


obsolete packages after potato upgrade...

2000-01-21 Thread rich
Is it OK to remove all of the packages that dselect calls "obsolete"
after potato upgrade?


/dev/mixer hosed by potato upgrade...

2000-01-22 Thread rich
Howdy,

After upgrading, I cannot turn on my audio mixer anymore:

wmmixer : Unable to open mixer device '/dev/mixer'.
wmmixer : Sorry, no supported channels found.

I have also seen some messages about /dev/dsp being gone, and xwave
says:

cannot access audio device...

Any ideas?

Thanks in advance

Rich


how to see which libraries are currently needed...

2000-01-22 Thread rich
Is there a way to determine which libraries are no longer needed? I have
tons listed by dselect, and I have a feeling that many are no longer
being used...

Rich


audio works, but only as root

2001-08-24 Thread Rich
Howdy all,

I've got my soundblaster card working, with appropriate entries in 
/etc/modutils, but it will not autoload, and I have to do:

su -c "modprobe sb"

to get it to work. My /etc/group entry has:

audio:x:29:rich

so why can't I start sound as my (non-root) self?

Thanks in advance



update-menus fails for normal user, but not for root

2001-08-25 Thread Rich
Howdy all,

not too long ago, update-menus stopped working for me suddenly... now i just 
get a long string similar to the following message:

rm: cannot unlink `/usr/share/applnk/Multimedia/Debian': Permission denied 
ln: creating symbolic link `/usr/share/applnk/Multimedia/Debian/Sound' to 
`/home/rich/.kde/share/applnk/Debian/Sound': Permission denied


it still works when logged in as root, however. I have purged and 
re-installed menu, but it still does the same thing - any ideas?

thanks in advance,

rich



Re: Movie makers for Linux?

2001-10-16 Thread rich
On Wednesday 17 October 2001 01:02, Eric G. Miller wrote:

> ucbmpeg works (more or less).  You have to write a control file and
> it takes a bit of tweaking to get good results, but it's doable.  It
> likes pnm files (though I think it will use png directly as well).

ucbmpeg uses mpeg_encode. it clashes with netpbm. netpbm uses ppmtompeg. Both 
of them take the same configuration file. There are examples in 
/usr/share/doc/ucb-mpeg/mpeg_encode/ I think. 

fame and its friends may be worth pulling if you don't need B frames.

hth
cheers, Rich  



Newbie with apt-get problem

2001-11-17 Thread rich
Hello. I'm a Debian newbie, although I've used it briefly in the past, and
have used Linux for about seven years (mainly RedHat).

I'm using a box that's running Woody and it looks like it's got a problem.
I went to install a package and I'm getting some errors. When I run
apt-get check, here's the output:

  attic:~# apt-get check
  Reading Package Lists... Done
  Building Dependency Tree... Done
  You might want to run `apt-get -f install' to correct these.
  Sorry, but the following packages have unmet dependencies:
kdebase-libs: Depends: kdelibs3 (>= 4:2.2.1-11) but 4:2.1.2-3 is
  installed
kdm: Depends: kdelibs3 (>= 4:2.2.1-11) but 4:2.1.2-3 is installed
libkonq3: Depends: kdelibs3 (>= 4:2.2.1-11) but 4:2.1.2-3 is installed
  E: Unmet dependencies. Try using -f.

So, I tried following those instructions:

  attic:~# apt-get -f install
  Reading Package Lists... Done
  Building Dependency Tree... Done
  Correcting dependencies... Done
  The following extra packages will be installed:
kdelibs3
  3 packages not fully installed or removed.
  Need to get 0B/6758kB of archives. After unpacking 5603kB will be used.
  Do you want to continue? [Y/n] y
  (Reading database ... 17959 files and directories currently installed.)
  Preparing to replace kdelibs3 4:2.1.2-3 (using
  .../kdelibs3_4%3a2.2.1-14_i386.deb) ...
  Unpacking replacement kdelibs3 ...
  Replacing files in old package konqueror ...
  dpkg: error processing
  /var/cache/apt/archives/kdelibs3_4%3a2.2.1-14_i386.deb (--unpack):
   trying to overwrite
  `/usr/share/icons/hicolor/32x32/devices/3floppy_mount.png', which is
  also in package kdebase
  dpkg-deb: subprocess paste killed by signal (Broken pipe)
  Errors were encountered while processing:
   /var/cache/apt/archives/kdelibs3_4%3a2.2.1-14_i386.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

Any clues? I'm not able to install anything at this point...


Thanks,

Rich






mame & quake obsolete?

2001-09-02 Thread Rich
I'm running woody - why have mame and quake both become obsolete? (i could do 
without quake, but mame is a must!)

thanks in advance



adduser - X access?

2001-09-26 Thread Rich
Howdy all,

This is probably a very simple mistake which I am overlooking but I cannot 
find any info - I've added the user"guest" to my home machine so that my 
in-laws can access the internet during the day whilst watching the 
grandkid I was going to set up their X Window session that the only icons 
visible were "pon/poff" and "konqueror" - however, I can't even get into X as 
guest... is this a "group" issue? WDM just flashes to the X-screen briefly 
and then back to WDM. Any other issues to make sure that all they can do is 
connect to the net and save files to their own home directory?

thanks in advance,

rich



Re: Not Resolving on new box

2001-10-07 Thread rich
On Sunday 07 October 2001 17:17, Adahma Ashirah wrote:
> I've just re-installed Debian unstable onto a new box.  At first it worked
> fine, but suddenly I cannot resolve anything.  I can talk to the internal
> network, as well as the internet by IP address, but nothing resolves.
> I've been through all my files that I know to be involved in this process,
> and can't find any problems.  Can anyone give me a list of ANY file that
> might effect this process?  I've tried for 2 days now, and I'm at wits
> end.

Did you switch to kernel-2.4-9? I had odd problems using 2.4.9, because it 
enables ECN by default. Try
echo "0" > /proc/sys/net/ipv4/tcp_ecn
and see if that fixes it.

cheers, Rich.



Re: How to run testing and stay sane?

2001-10-07 Thread rich
On Sunday 07 October 2001 22:04, Richard Cobbe wrote:
[snip]
> Before I do the upgrade, though, I'd like to ask for advice on general
> tactics people use for running testing or unstable and still maintaining a
> mostly usable system.

Testing seems to run pretty fine by itself. If you so much as suspect a 
problem, you just do 
apt-get install fred/stable
and see if it goes away; if it does, you'll probably want to  
reportbug fred
possibly after reinstalling fred/testing.

> I know breakages will happen from time to time, 

I can only think of one app in some months that I *had* to do the above with.

> but
> I'd like to minimize their impact as much as reasonable.  Basically, I
> don't mind spending a little bit of time and energy dealing with issues,
> but I'd prefer to use my computer primarily to get useful work done, rather
> than constantly tweaking the OS and packaging system.
>
> So, what I already know:
>
> * Know the packaging tools.  Besides just reading the man pages for apt,
>   dpkg, and dselect, are there any other places I should go for
>   information?
>
> * I know how to do the upgrade (edit /etc/apt/sources.list, then apt-get
>   update ; apt-get dist-upgrade); I'm mostly interested in methods for
>   maintaining the system after it's been upgraded.

Leave the stable entries in sources.list, just copy them and substitute 
names. Then the downgrade trick will work.

>
> What I'm not clear on
>
> * If a particular package breaks, it would be useful to roll back to the
>   last working version of that package (where possible).  Trick is, this
>   requires having the last working version of the package available for
>   install somewhere.  Do the Debian download servers maintain old versions
>   of the package files, or would I have to keep copies of them all locally?

They're in stable. Or, if you use a local apt-mirror with the delete setting 
set low, they're in there. 

[snip rest; I have no good answers]

cheers, Rich.




program response sluggish compared to Win98

2001-06-09 Thread rich
Howdy all,

I've had a problem for a while in which my potato sytem seems to perform
relatively sluggishly - most noticably on Wordperfect. Example: While
WP8 under W98, I can hold the "page down" key  for 5 seconds, and when I
let go, the scroll immediately stops. Doing the same under linux,
however, would result in a minute-long scroll through several dozen
pages after the key was let go. Is there a keyboard buffer that I can
adjust or something, or does the problem lie elsewhere, or is linux WP8
just not as well-designed?

Thanks in advance,

Rico



how to find a package that provides ____._____

2001-06-16 Thread rich
Howdy all,

I need libXt.so.6 and libX11.so.6 to run Wordperfect how do I find
out which .deb package provides these?

Thanks in advance,

Rich



Re: How hard would this be?(Learning LaTex)

2004-06-27 Thread Rich

- Original Message -
From: "richard lyons" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, June 27, 2004 10:01 AM
Subject: Re: How hard would this be?(Learning LaTex)


> On Sunday 27 June 2004 05:21, cecil wrote:
> > Someone told me today at lunch that what with my  "wierd obsession",
> > as he called it, to perhaps go without a gui(X), I should try "that
> > latex thingie". My buddy is a real wordmaster. LOL. I did some
> > reading up on it; it's interesting. I never knew that you could do
> > all that with no window system. Does anyone here use it on a regular
> > basis, and if so, how hard is it to use, setup, print, etc? I'm
> > having thoughts of perhaps writing papers this semester in emacs and
> > if this thing... Well, let's just say I'm trying to have an open mind
> > about things. I'm trying not to summarily dismiss thing just because
> > I don't know what they are, or, are not familiar with them.

I used LaTeX way back in 1991 and found it pretty easy to learn and use. The
results blew the pants off anything else at the time, and I suspect would
still blow the pants off anything windoes could muster today. OK, it's not
WYSIWYG but the results are very professional.

Rich.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Tasksel won't recognise second CD

2004-07-12 Thread Rich
Hi,

If the following is familiar to you, I apologise for boring you but I'm
reposting in plain text- thanks, Petter.

I'm trying to install Sarge on an i-x86 box and everything is fine until I'm
asked for the second CD.
The CD isn't recognised, and the prompt to insert second disk simply
reappears.
The CD was Jigdo-d and burned on my Windoes box as a bootable image and
appears to be OK and indeed disk one worked just fine.
The disk is mountable and readable (I can see all the files on it) and the
base install worked fine, but interestingly none of the MD-5 sums seem to
check out as good.

Is there a config file somewhere that apt-get (or is it tasksel) looks at to
find the cd? Maybe it's looking in the wrong place?
I realise maybe my disks aren't burned quite right, but I'd have thought
that tasksel wouldn't have been quite so put off by that, or at least would
have thrown up an informative error. Or maybe it has, but it's logged in a
file I don't know about yet.
I've RTFM but being a newbie, maybe I RT wrong FM, who knows.

Any ideas gratefully received.

Rich.

P.S. my primary aim here as a would-like-to-be-ex-Windoes user is to get a
GUI such as KDE up and running. It's been about 15 years since I worked from
the command line and I feel a bit like a fish out of water.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Tasksel won't recognise second CD

2004-07-12 Thread Rich
Hi,

If the following is familiar to you, I apologise for boring you but I'm
reposting in plain text- thanks, Petter.

I'm trying to install Sarge on an i-x86 box and everything is fine until I'm
asked for the second CD.
The CD isn't recognised, and the prompt to insert second disk simply
reappears.
The CD was Jigdo-d and burned on my Windoes box as a bootable image and
appears to be OK and indeed disk one worked just fine.
The disk is mountable and readable (I can see all the files on it) and the
base install worked fine, but interestingly none of the MD-5 sums seem to
check out as good.

Is there a config file somewhere that apt-get (or is it tasksel) looks at to
find the cd? Maybe it's looking in the wrong place?
I realise maybe my disks aren't burned quite right, but I'd have thought
that tasksel wouldn't have been quite so put off by that, or at least would
have thrown up an informative error. Or maybe it has, but it's logged in a
file I don't know about yet.
I've RTFM but being a newbie, maybe I RT wrong FM, who knows.

Any ideas gratefully received.

Rich.

P.S. my primary aim here as a would-like-to-be-ex-Windoes user is to get a
GUI such as KDE up and running. It's been about 15 years since I worked from
the command line and I feel a bit like a fish out of water.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: systemwide umask definition?

2004-07-16 Thread rich
I have a similar experience with umask

in /etc/profile I have a line 
umask 0002  # to give owner and group rw access.

in /etc/login.defs I have the same (why capitals?)
#   UMASK   Default "umask" value.
UMASK   0002

and nothing in .bash_profile, but it still comes up 0022 when I check it with 
#umask

anyone help?

thanks
rich

On Friday 16 July 2004 17:49, Trollcollect wrote:
> Thanks to Jacob, i figured out that my statement/request was somewhat
> unprecise. What i really do want to do is to set a umask for OpenOffice
> w/kde, as well as all other kde applications. I noticed that if i open a
> terminal session, check the umask, it will not be set according to what i
> put in /etc/profile or /etc/login.defs. If, however, i su - into the same
> user, i see th correct umask. That leads me to the guess that kde sets a
> umask differently and independant of the login / standard umask. So the
> precise question would be: Where can i define a system wide umask for kde
> sessions?
>
> TIA,
> Dan
>
> "Jacob S." <> wrote:
> On Fri, 16 Jul 2004 16:53:46 +0200 (CEST)
>
> Trollcollect wrote:
> > Hello List,
> >
> > please reply Cc: to me as i cant follow this list from
> > work.
> >
> > My problem is that i cant find where to set the system
> > wide umask for my sarge system. I've tried to do it in
> > /etc/profile as well as /etc/login.defs, to no avail.
> > So desperate that i even tried a reboot :(
> >
> > Any pointers?
>
> What syntax did you use? On my Sarge system it's in /etc/profile with a
> simple "umask 022" line. Logging out and back in should be enough for
> this setting to take affect.
>
> What did you do to believe that the umask setting wasn't working?
>
> Jacob


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



how can other users use X?

2004-07-27 Thread rich
I start my X session as one user, then from a terminal where I've su'ed to 
another (not root), I want to be able to use gvim, but it tells me it's not 
allowed to use the X server.

How can I get this working?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how can other users use X?

2004-07-27 Thread rich
thanks!
that's it : )

rich
On Tuesday 27 July 2004 16:45, Joost De Cock wrote:
> On Tuesday 27 July 2004 17:35, rich hurled the following on the wire:
> > I start my X session as one user, then from a terminal where I've su'ed
> > to another (not root), I want to be able to use gvim, but it tells me
> > it's not allowed to use the X server.
> >
> > How can I get this working?
>
> Give that user permission to connect to the X server.
> Check out the xhost man page.
>
> joost
>
>
> DISCLAIMER
> This e-mail and any attached files are confidential and may be legally
> privileged. If you are not the addressee, any disclosure, reproduction,
> copying, distribution, or other dissemination or use of this communication
> is strictly prohibited. If you have received this transmission in error
> please notify A.S.T.R.I.D.  nv/sa immediately and then delete this e-mail.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



authentication errors

2004-07-27 Thread rich
I'm using sarge with Gnome and always get this

GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols 
specified are supported and host-based authentication failed.

when launching an X app from the terminal. The apps still work ok, I'd just 
like to know what the error is.

I tried man gnome-smproxy but got confused.

anyone else had this? 

thanks, rich


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



FAM causing "device or resource busy" errors when trying to smbumount

2004-07-28 Thread rich
when I have an smb share mounted on a directory in my home directory, it 
refuses to unmount.

This is new, it used to work without a problem. Perhaps something changed in 
the later releases of Sarge? (I apt-get dist-upgrade all the time)

I used lsof and found the process that was holding the mount-point directory 
up, which was 

/usr/sbin/famd -T 0

I shut down fam with #/etc/init.d/fam stop and I could then umount the share 
cleanly.

Can anyone shed any light on this?

thanks,

rich


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



can a SSH server initiate a connection?

2004-08-01 Thread rich
I have a (woody) box running sshd sitting behind a firewall. From outside the 
firewall, I want to be able to ssh in.

I can see that I could get around the firewall if the connection was initiated 
from within the firewall, ie. if somehow the person could give a command on 
the server which somehow connects to the would-be client, and then allows the 
client to take over as a normal ssh session.

any clues? ideas?

thanks,

Rich.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: can a SSH server initiate a connection?

2004-08-02 Thread rich


> Do you control firewall?
>   If yes : use DNAT to redirect external connection to SSH server
>  (if firewall is NAT box)
>or open port 22 and forward connectio to internal hosts

There's a firewall I control (which allows port 22 so long as the SYN packet 
comes from inside), but that's behind a NAT router, so the only way to "find" 
my server on the internet is if IT initiates the connection.

>
>   If no but still legally OK to connect from outside:
> Does internal host accessible from other means
>* can you recieve mail and mail is processed with procmail
>* do you have dial-in modem connected to pc
>--> use these to initiate process which
>  connects from inside to outside with SSH.  If
>  needed using open port such as 80 or even DNS one and operate
>  special SSHD on the other side listning to that port.
>  Then set up port forwarding or so.
>-->Connect through SSH tunnel backward from outside to inside.
This last suggestion looks promising, how do I go about it?

>
> But why connect from outside of firewall if firewall prevent you to do
> so.  Maybe that is a bigger question :)

I've set up a server for a small organisation which works in the offices of a 
bigger but entirely separate one. The bigger org. has a DSL connection which 
is shares with this small org. The firewall stops not just unwanted internet 
attacks on the small org, but also anything originating from the bigger org.

thanks

rich


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



umask in X different to bash

2004-08-04 Thread rich
Hi 

There was a useful thread a while ago on umask and where it gets set (one of 4 
places, two in /etc/ two in ~/)

So that's great, BUT I've noticed that saving OpenOffice.org documents uses 
the wrong umask! As X is a different shell to bash (pls. don't start a big 
debate on X being a shell - there's another thread on that already!) does it 
have different places to set umask? 

Or is that a {g,x,k}dm setting?

thanks

rich


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



SSH: only listens on loopback

2004-08-04 Thread rich
I have a server on 192.168.254.200 and a webserver on .19

I run # ssh -f -N -L 8080:192.168.254.19:80 [EMAIL PROTECTED]

which sets it up so that 
# lynx localhost:8080
brings me the page from the webserver at .19

BUT, the 8080 port is only open to the local host, and I want it open for all.

# lynx 192.168.254.200:8080
doesn't work.

nmap localhost shows the port is open, but nmap 192.168.254.200 shows it's 
closed.

I've set 
ListenAddress: 0.0.0.0
in sshd_config but that didn't seem to do anything.

I've trawled the 'net but found very little help.

thanks

rich.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SSH: only listens on loopback

2004-08-04 Thread rich
you STAR!!

I can't believe I missed that! I really tried to not look like an idiot this 
time!

thank you.

rich

On Wednesday 04 August 2004 15:51, Robert Vangel wrote:
> You want to add a -g in there, so:
>
> # ssh -f -N -g -L 8080:192.168.254.19:80 [EMAIL PROTECTED]
>
> From man ssh:
>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SSH: only listens on loopback

2004-08-04 Thread rich
2nd challenge

Using -R instead of -L, I get the same problem on the server, and -g doesn't 
fix it.

ie. with #ssh -f -N -g -L 8080:192.168.254.200:80 [EMAIL PROTECTED]

I would expect the sshd running on .19 to start listening to port 8080, and 
forwarding it to the webserver on .200. It works locally, on the sshd server, 
but I can't get to http://192.168.254.200:8080 from another remote host.

thanks.

rich


On Wednesday 04 August 2004 15:51, Robert Vangel wrote:
> You want to add a -g in there, so:
>
> # ssh -f -N -g -L 8080:192.168.254.19:80 [EMAIL PROTECTED]
>
> From man ssh:
>
> [..]
>  -g  Allows remote hosts to connect to local forwarded ports.
> [..]
>
> rich said:
> > I have a server on 192.168.254.200 and a webserver on .19
> >
> > I run # ssh -f -N -L 8080:192.168.254.19:80 [EMAIL PROTECTED]
> >
> > which sets it up so that
> > # lynx localhost:8080
> > brings me the page from the webserver at .19
> >
> > BUT, the 8080 port is only open to the local host, and I want it open for
> > all.
> >
> > # lynx 192.168.254.200:8080
> > doesn't work.
> >
> > nmap localhost shows the port is open, but nmap 192.168.254.200 shows
> > it's closed.
> >
> > I've set
> > ListenAddress: 0.0.0.0
> > in sshd_config but that didn't seem to do anything.
> >
> > I've trawled the 'net but found very little help.
> >
> > thanks
> >
> > rich.
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> > [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: umask in X different to bash

2004-08-05 Thread rich
ok, here's how:

create the file ~/.gnomerc and put the desired command in there.

: )
rich

On Wednesday 04 August 2004 10:11, rich wrote:
> Hi
>
> There was a useful thread a while ago on umask and where it gets set (one
> of 4 places, two in /etc/ two in ~/)
>
> So that's great, BUT I've noticed that saving OpenOffice.org documents uses
> the wrong umask! As X is a different shell to bash (pls. don't start a big
> debate on X being a shell - there's another thread on that already!) does
> it have different places to set umask?
>
> Or is that a {g,x,k}dm setting?
>
> thanks
>
> rich


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Problems recognising second debian sarge CD

2004-06-01 Thread Rich
We've been having a go at installing Sarge.
We have got the base system installed OK but have come up against a problem
when trying to install the remaining packages.
The installer (base-config) asks us to insert the second CD

Debian GNU/Linux testing _Sarge_ - Official Snapshot 1386 Binary-2
(20040417)

When I do so, it doesn't recognise it! The CD isn't damaged in any way, and
nor is the image. We burned a new disk, same result.
Do I need to actually title the disk 'Debian GNU/Linux testing _Sarge_ -
Official Snapshot 1386 Binary-2 (20040417)' when I burn it?
It's all I can think of, but nowhere did I see any instructions telling me
to do so.
(I downloaded the images using Jigdo from the official site and burned them
as bootable ISOs)

This one's kinda got me stumped.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Install won't recognise second CD

2004-06-19 Thread Rich



Hi,
 
I'm trying to install Sarge and everything is fine 
until I'm asked for the second CD.
The CD isn't recognised, and the prompt to insert 
second disk simply reappears.
The CD was Jigdo-d and burned on my Windoes box as 
a bootable image and appears to be OK and indeed disk one worked just 
fine.
 
Is there a config file somewhere that apt-get (or 
is it tasksel) looks at to find the cd? Maybe it's looking in the wrong 
place?
I've RTFM but being a newbie, maybe I RT wrong FM, 
who knows.
 
Any ideas gratefully received.
 
Badly Overdrawn Boy.


Re: Install CD does not boot on LITE-ON model LTN-403

2004-06-23 Thread Rich

- Original Message -
From: "Ketil Froyn" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 23, 2004 6:29 PM
Subject: Install CD does not boot on LITE-ON model LTN-403


> Hi,
>
> I have been trying to help a colleague install debian, but we ran into
> some serious trouble booting the CD. None of the debian install CDs
> worked (tried netinst beta 4, test candidate 1, and woody cd 1),
> whereas redhat and all other CDs he has tried worked fine. The CD-ROM
> drive in question was a LITE-ON model LTN-403. We changed it with
> another CD-ROM drive, and then everything went smooth.
>
> I just wanted to share this experience for the archive, and perhaps
> someone will find out why this happened and fix the debian bootable
> CDs. :)

Interesting- I've been trying to install Sarge in the same manner and can't
get past the first CD.
I'm using a Liteon model LTN-526D.

I'd love the chance to get to grips with Debian, but so far I've just found
the experience rather frustrating.

Knoppix, on the other hand detects everything except my sound card.

Cheers,

Rich.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Trick to burning a bootable Debian CD?

2004-06-24 Thread Rich
As far as I am aware, the fact that you can see the directory structure
tells me that you've burned the CD as a bootable image. When I accidentally
burned a non-bootable image, all I could see was one big .iso file. I wasn't
using Roxio, but Nero 6. You can get free versions off the web, but they may
expire after a time. Personally, I find it a nightmare to use when trying to
burn bootables. As you seem to have found with Roxio, it's too easy to do it
the wrong way.

If you do decide to use it, I think the following sequence worked-
Open Nero burning rom and from the 'new compilation' wizard, select 'CD-ROM
(Boot)'
On the 'boot' tab, select 'Image file' and browse for your .iso
In the 'files of type:' section of the browser, select 'all files' to allow
you to find the .iso image.

Also, I used a CD-RW on an XP box and it worked, at least disk 1 of Sarge
did, I'm having trouble with disk 2, but I think that's for different
reasons.

Lastly, when burning the CD, burn it at a slow speed. I'd recommend x8 or
lower.

Failing that, all I can suggest is trying a different CD-RW.

Rich.

- Original Message -
From: "Steve Kleiser" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 24, 2004 9:34 AM
Subject: Re: Trick to burning a bootable Debian CD?


>   Burning the CD as an image using Roxio Easy CD Creator 5 on my WindowsXP
> machine results in a CD with a directory structure that looks like it
> should, from Explorer (it's comparable to my purchased CD, which does
boot).
> Presumably, the image also provided any required system files. But can I
> confirm that from within WindowsXP? Also, is it OK to use a CD-RW, or is
> there some subtle difference? Does the CD need to formatted first, or
would
> that just impress "non-Linux-ness" onto it?
>
>   Are there any freeware utilities to burn an ISO image to CD (e.g.,
> iso2CD.exe or something) that run under Windows? The CD burning
applications
> appear to contain numerous features I don't need for this particular
> purpose, and which only serve as potential sources of error.
>
> - Original Message -
> From: "Kent West" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Monday, June 21, 2004 6:10 PM
> Subject: [debian] Re: [other] Re: Trick to burning a bootable Debian CD?
>
>
> > Steve Kleiser wrote:
> >
> > >So does that mean the official CD images are not bootable?
> > >
> > >
> > >
> > >
> > No; they are bootable. But you have to burn them as an "image", not as
> > files. How to do that will depend on the burner software you're using.
> >
> > --
> > Kent
> >
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> >
> >
> >
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Trick to burning a bootable Debian CD?

2004-06-27 Thread Rich
Thanks for the info, I'm (slightly) wiser than I was yesterday!
Now, if only someone could answer my 'apt-get not recognising 2nd CD
problem'...

Cheers all,

Rich.
- Original Message -
From: "Micha Feigin" <[EMAIL PROTECTED]>
To: "Debian user" <[EMAIL PROTECTED]>
Sent: Saturday, June 26, 2004 6:18 PM
Subject: Re: Trick to burning a bootable Debian CD?


> On Thu, Jun 24, 2004 at 08:05:34PM +0100, Rich wrote:
> > As far as I am aware, the fact that you can see the directory structure
> > tells me that you've burned the CD as a bootable image. When I
accidentally
> > burned a non-bootable image, all I could see was one big .iso file. I
wasn't
>
> No, if you saw an iso file it means that you burned it as data instead
> of as image (you just burned the iso file instead of the data _inside_
> the iso file).
>
> > using Roxio, but Nero 6. You can get free versions off the web, but they
may
> > expire after a time. Personally, I find it a nightmare to use when
trying to
> > burn bootables. As you seem to have found with Roxio, it's too easy to
do it
> > the wrong way.
> >
> > If you do decide to use it, I think the following sequence worked-
> > Open Nero burning rom and from the 'new compilation' wizard, select
'CD-ROM
> > (Boot)'
> > On the 'boot' tab, select 'Image file' and browse for your .iso
> > In the 'files of type:' section of the browser, select 'all files' to
allow
> > you to find the .iso image.
> >
>
> IIRC on the file menu there is an option burn image which is what you
> want to burn an iso.
>
> > Also, I used a CD-RW on an XP box and it worked, at least disk 1 of
Sarge
> > did, I'm having trouble with disk 2, but I think that's for different
> > reasons.
> >
> > Lastly, when burning the CD, burn it at a slow speed. I'd recommend x8
or
> > lower.
> >
> > Failing that, all I can suggest is trying a different CD-RW.
> >
> > Rich.
> >




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



The strange case of sudo segfaulting on exit

2021-05-04 Thread Rich
Hi all,
reportbug pointed me here because I wasn't sure where to file this
bug. I'll start by summarizing the observed behavior, and then go into
more detail below.

If anyone can suggest further debugging steps to take (or where to
direct a bug report), I'd be grateful. :)

$ sudo -i
# cp /lib/x86_64-linux-gnu/libz.so.1.2.11 /tmp/
# cp /tmp/libz.so.1.2.11 /lib/x86_64-linux-gnu/libz.so.1.2.11
# exit
logout
Segmentation fault
$

I first encountered this behavior on a Debian bullseye VM running in
VirtualBox on a non-ECC (Intel Coffee Lake) host. I then created an
entirely new Debian bullseye VM from install media [1] on another
ECC-having (Intel Broadwell) host using KVM, and reproduced this
behavior. So if it's a bug in virtualization software, it's not just
one implementation.

The segfault in question does not occur if a cp is not performed to
one of a number of possible library files in /lib/x86_64-linux-gnu/ -
it does not appear to be all of them, as I tested with libanl-2.31.so
and it did not cause a segfault on exit, but I do not know what the
requirements are.

The behavior in question is not specific to libz.so.1.2.11 somehow,
that was just a convenient example - I originally encountered this
when I was iterating on development of a different library by cping
the recompiled library over and wondering why my sudo cp [...]
segfaulted after completion. (Said software I was working on has never
been installed on the KVM VM, so I think it's safe to say that it's
unrelated to the problem.)

I also reproduced this behavior on a CentOS 8 VM running on the same
aforementioned VirtualBox host, but not a Debian buster VM on same.

The behavior persists across cold and warm power cycles of the VM.

While experimenting with someone in #debian, I tried installing sudo
from experimental, and it still died the same way.

I quickly tried building sudo from buster on bullseye, and it still
dies the same way as well.

"debsums" reports nothing but "OK" on either bullseye VM.

Curiously, "su - root -c 'cp [...]'" segfaults on the VirtualBox VM
but not the KVM VM.

Thanks,
- Rich

[1] - debian-bullseye-DI-alpha3-amd64-netinst.iso, if curious



Re: The strange case of sudo segfaulting on exit

2021-05-04 Thread Rich
Followup post:
After further prodding and asking around, the answer turns out to be
"for some strange reason, on some of my systems, sudo/su are mapping a
bunch of additional libraries, including the application library you
were originally playing with (libzfs), so the crashing on exit when
you've overwritten one of the mapped libraries is expected behavior".

While I still would like to know why, precisely, sudo and su are
mapping apparently-unrelated libraries dynamically, this is no longer
surprising behavior, given the discovery that it's mapping in
superfluous libraries for fun.

Thanks to anyone who read the above longwinded writeup,
- Rich

On Wed, May 5, 2021 at 12:37 AM Rich  wrote:
>
> Hi all,
> reportbug pointed me here because I wasn't sure where to file this
> bug. I'll start by summarizing the observed behavior, and then go into
> more detail below.
>
> If anyone can suggest further debugging steps to take (or where to
> direct a bug report), I'd be grateful. :)
>
> $ sudo -i
> # cp /lib/x86_64-linux-gnu/libz.so.1.2.11 /tmp/
> # cp /tmp/libz.so.1.2.11 /lib/x86_64-linux-gnu/libz.so.1.2.11
> # exit
> logout
> Segmentation fault
> $
>
> I first encountered this behavior on a Debian bullseye VM running in
> VirtualBox on a non-ECC (Intel Coffee Lake) host. I then created an
> entirely new Debian bullseye VM from install media [1] on another
> ECC-having (Intel Broadwell) host using KVM, and reproduced this
> behavior. So if it's a bug in virtualization software, it's not just
> one implementation.
>
> The segfault in question does not occur if a cp is not performed to
> one of a number of possible library files in /lib/x86_64-linux-gnu/ -
> it does not appear to be all of them, as I tested with libanl-2.31.so
> and it did not cause a segfault on exit, but I do not know what the
> requirements are.
>
> The behavior in question is not specific to libz.so.1.2.11 somehow,
> that was just a convenient example - I originally encountered this
> when I was iterating on development of a different library by cping
> the recompiled library over and wondering why my sudo cp [...]
> segfaulted after completion. (Said software I was working on has never
> been installed on the KVM VM, so I think it's safe to say that it's
> unrelated to the problem.)
>
> I also reproduced this behavior on a CentOS 8 VM running on the same
> aforementioned VirtualBox host, but not a Debian buster VM on same.
>
> The behavior persists across cold and warm power cycles of the VM.
>
> While experimenting with someone in #debian, I tried installing sudo
> from experimental, and it still died the same way.
>
> I quickly tried building sudo from buster on bullseye, and it still
> dies the same way as well.
>
> "debsums" reports nothing but "OK" on either bullseye VM.
>
> Curiously, "su - root -c 'cp [...]'" segfaults on the VirtualBox VM
> but not the KVM VM.
>
> Thanks,
> - Rich
>
> [1] - debian-bullseye-DI-alpha3-amd64-netinst.iso, if curious



RAID1 arrays not starting when drive is missing

2007-11-22 Thread Rich
I have installed LVM-over-RAID1 on a debian-derived system.
Kernel = 2.6.22
mdadm = 2.6.2
lvm2 = 2.02.26

I have two RAID1 devices -- /dev/md0 which is /boot (and
does NOT use LVM) and is made up of /dev/sda2 and /dev/sdb2,
and /dev/md1 which has LVM (and the rest of the system) over it
and is made up of /dev/sda3 and /dev/sdb3.

I've grub'd both /dev/sda and /dev/sdb, and as long as
both drives are plugged in, I can boot from either drive
and everything works and is happy.

However...

When I try to boot with a drive removed (for testing purposes),
grub comes up fine and the system begins to boot, but it appears
that the arrays will not start, which means there's no root filesystem
available and everything grinds to a halt. This doesn't seem right.
Given the nature of RAID1, the arrays darn well should start up even
with a missing drive.

The boot output when the drive is missing has:
md: md0 stopped
md: bind 
md: md1 stopped
md: md0 stopped
md: unbind 
md: export_rdev(sda2)
md: bind 
md: md1 stopped
md: bind 
and then everything grinds to a halt.

When both drives are present, this section goes:
md: md0 stopped.
md: unbind
md: export_rdev(sdb2)
md: bind
md: bind
raid1: raid set md0 active with 2 out of 2 mirrors
(etc.)

One thing I've discovered is that if while the system is running in
normal mode I do:
mdadm /dev/md0 --fail /dev/sdb2 --remove /dev/sdb2
mdadm /dev/md1 --fail /dev/sdb3 --remove /dev/sdb3
and then shut down the machine and unplug the drive, then I can
boot from the remaining drive, and I see a
raid1: raid set md0 active with 1 out of 2 mirrors
(etc.)

So if the drive fails while the system is running, it can be punted
from the array and the machine can boot off one drive. That's
nice and all, but that doesn't help in the case where the drive
fail event causes the machine to crash (say the drive dies
and takes down the bus and the machine locks up).

So what am I missing on why the arrays won't start up when I have
a drive unplugged (it doesn't matter which drive)?

--
Rich Carreiro


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: RAID1 arrays not starting when drive is missing

2007-11-22 Thread Rich
One other thing that might be relevant...

On my machine, when there is only one drive installed, it is
seen by the bios, grub, *and the kernel* as /dev/sda no matter
which SATA port/controller it is plugged into.  So /dev/sda
stays /dev/sda when the 2nd drive is removed, and /dev/sdb
becomes /dev/sda when the first drive is removed.

However, as noted previously, I have the array not starting
problem regardless of which drive remains plugged in.

--
Rich Carreiro


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: RAID1 arrays not starting when drive is missing

2007-11-23 Thread Rich
On Nov 23, 5:10 am, martin f krafft <[EMAIL PROTECTED]> wrote:
> also sprach Rich <[EMAIL PROTECTED]> [2007.11.22.1345 +]:
>
> > I have two RAID1 devices -- /dev/md0 which is /boot (and
> > does NOT use LVM) and is made up of /dev/sda2 and /dev/sdb2,
> > and /dev/md1 which has LVM (and the rest of the system) over it
> > and is made up of /dev/sda3 and /dev/sdb3.
>
> Please show your mdadm.conf file.

Here it is:

# mdadm.conf
#
# Please refer to mdadm.conf(5) for information about this file.
#

# by default, scan all partitions (/proc/partitions) for MD
superblocks.
# alternatively, specify devices to scan, using wildcards if desired.
DEVICE partitions

# auto-create devices with Debian standard permissions
CREATE owner=root group=disk mode=0660 auto=yes

# automatically tag new arrays as belonging to the local system
HOMEHOST 

# instruct the monitoring daemon where to send mail alerts
MAILADDR root

# definitions of existing MD arrays
ARRAY /dev/md0 level=raid1 num-devices=2
UUID=8c7280d3:5b4c9cd9:541ba3e9:02d46f81
ARRAY /dev/md1 level=raid1 num-devices=2 UUID=bc6c4e8c:
7310603a:e1e7e1f0:3c1631ca

# This file was auto-generated on Tue, 20 Nov 2007 07:37:57 +
# by mkconf $Id: mkconf 324 2007-05-05 18:49:44Z madduck $

--
Rich Carreiro


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



  1   2   3   4   5   6   7   8   >