Re: Can't list root directory

2024-01-31 Thread Loren M. Lang



On January 31, 2024 1:28:37 PM PST, hw  wrote:
>On Wed, 2024-01-31 at 09:27 -0500, Gary Dale wrote:
>> On 2024-01-30 15:54, hw wrote:
>> > On Mon, 2024-01-29 at 11:42 -0500, Gary Dale wrote:
>> > > I'm running Debian/Trixie on an AMD64 workstation. I've lost the ability
>> > > to see the root directory even when I am logged in as root (su -).
>> > > 
>> > > This has been happening intermittently for several months. I initially
>> > > thought it might be related to failing NVME drive that was part of a
>> > > RAID1 array that is mounted as "/" but I replaced the device and the
>> > > problem is still happening.
>> > > [...]
>> > What happens when you put the device you replaced back?
>> > 
>> How could putting a known-failing device back in help? The problem 
>> existed before I replaced it and continues to exist after the replacement.
>
>It sounded like you were able to list the root directory (at least
>sometimes) before you did the replacement.  Manually failing the
>device (perhaps after adding it back first) could make a difference.
>
>I've seen such indefinite hangs only when an NFS share has become
>unreachable after it had been mounted.  You could use clonezilla to
>make a copy and then perhaps convert the file system to btrfs.
>
>Do you still have the problem when you remove one of the NVME storage
>things?  Perhaps you have the equivivalent of a bad SATA cable or the
>mainboard doesn't like it when you access two of those at the same
>time, or something like that.  Even simple network cables can behave
>very strangely, and NVME may be a bit more complicated than that.
>
>Running fsck on every boot to work around an issue like this is
>certainly a bad idea.  Doesn't fsck report anything?  If it really
>makes a difference in itself rather than creating some side effect
>that leads to the root directory being readable, it should report
>something.  Perhaps you need to increase its verbosity.
>
>If there's no report then it would look like a side effect and raise
>the question what side effect it might be.  Does fsck run before the
>RAID has been brought up or after?  Is the RAID up when booting is
>completed?  What does mdadm say about the device(s)?  Can you still
>list the root directory when you manually fail either drive?  What
>exactly are the circumstances under which you can and not list the
>root directory?
>
>You need to do some investigating and ask questions like those ...
>

Also, instead of doing "ls -l /" which will stat() every child folder under 
root, try "/bin/ls -f /" and see if that is successful. That will only do a 
readdir() on root itself. Also, it might be interesting to get a log of "strace 
ls -l /" to confirm exactly where the hang happens.

-Loren 

-- 
Sent from my Nexus 4 with K-9 Mail. Please excuse my brevity.



Gui interface ideas

2004-06-11 Thread Loren M. Lang
I have setup a series of programs for controlling/monitoring/testing
some hardware through a serial port that are all command-line based.
The engineers working on the project were fine with this, but as they go
into production, they need a more dummy-proof interface since they will
have many people testing that don't know this as well.  I was looking
for a good way to make a quick gui, ideally independent of the current
programs.  I've looked at using something as simple as a shell script
wrapper using dialog for the interface to using mozilla's framework for
writing a nice gui environment.  Other ideas are doing ncurses in perl
since my existing scripts are all in perl or even perk/tk or perl/gtk.
The last idea was develop a web-based interface since it's easily
accessible from other computers.

ncurses might be quicker and fit the bill, though I may still want a
gui.  It would also be nice to be able to run this from a windoze
computer.
-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 


pgpEj2m0ilfSM.pgp
Description: PGP signature


Good News Server

2004-06-09 Thread Loren M. Lang
Does anyone know of a good news server I could use?  I'd like to post
an article to the gnuplot newsgroup, but my isp seems to no longer be
offering free usenet service.  If I could just post articles to a
mail->news gateway would be nice since I can read them without too much
trouble.  I'd prefer a free usenet server, but I might go for a
commercial one.
-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 


pgp7mm1zLlm9D.pgp
Description: PGP signature


Re: ALSA strangeness

2004-05-27 Thread Loren M. Lang
On Mon, May 24, 2004 at 07:30:45PM -0700, Steven Yap wrote:
> On Mon, 2004-05-24 at 13:26, Alex Malinovich wrote:
> > 
> > I had thought that all ALSA drivers had support for multiple audio
> > streams. Is this not the case? 
> 
> Yes and no. On hardware with built-in multi-stream playback (like in 
> your home PC), nothing special needs to be done.
> 
> For hardware without built-in multi-stream playback, ALSA provides a
> software emulation (sort of), but it requires you to configure
> /etc/asoundrc.
> 
> Here's what mine looks like (see below). The "pcm.!default" directive
> should cause ALSA-aware applications to use the dmixer plugin that 
> provides the software mixing.  Applications which supports only OSS
> can participate also through the "aoss" application. "aoss " 
> should redirect the OSS-output BUT only if the application uses the 
> standard "open()" calls instead of "fopen()".  For example, bzflag
> version 1.10.4 does not work with aoss.

Actually, I believe it's the other way since open() is the low-level
system call to the kernel to actually open the file and the f*()
functions like fopen() all really use the kernel system calls like
open().  The reason that programs like aoss can work for programs is
because glibc that provides fopen() has hooks inserted to catch it
before the call to open(), but once you're inside the kernel it's too
late to catch it.

> 
> Hope that helps.
> 

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

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 


pgpX3q2q5yFMQ.pgp
Description: PGP signature


Replicating Debian Systems

2004-05-25 Thread Loren M. Lang
I may have to rapidly deploy multiple debian systems that will have
the same software installed and be configured the same way.  The ideal
way to install debian would be to stick a cd into a computer, turn it
on, and come back a couple hours later.  If I could make a custom cd
to do just that and maybe d/l the packages off of the web or another
computer that don't fit on the cd would be nice.

I also have some of my own software to install and also need to modify
files like .profile in the users home dir as well as setup one users
with password on the system.  Maybe I'll have to learn how to make deb
packages.

I don't want the installer to ask questions for each packages like
exim's mail configuration.  I know I can turn it off by modifying a
file and telling them to be silent, but instead I'd just like to have a
text file that specifies the correct answer to all of them.  Does debian
provide a way to do this?

My last problem is that some software is too old in stable, I've had to
upgrade several programs including XFree86 on some systems already
installed.  I know about backports.org, but some programs like gnuplot
don't have a backport, and I'm debating about using testing/unstable,
but I want to believe that the system will be stable since I won't be
down there most of the time and ppl who know nothing about linux will be
using it.
-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 


pgpplWrOJBeFX.pgp
Description: PGP signature


Stable vs. Testing Vs. Unstable

2004-04-17 Thread Loren M. Lang
I'm curious about how many people are actually using Debian Unstable or
Testing to Stable for normal desktop use or even a production server.
I've being using Gentoo lately, and I love how nice the newer software
is like KDE 3.2.1 or Gnome 2.4 and I don't want to go back to Gnome 1.x
just because I want a "stable" debian system, where gentoo seems to run
fine with the latest.
-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 


pgp0.pgp
Description: PGP signature


[lorenl@alzatex.com: Procmail and Spam Filter]

2004-01-23 Thread Loren M. Lang

- Forwarded message from "Loren M. Lang" <[EMAIL PROTECTED]> -

Date: Fri, 23 Jan 2004 01:55:39 -0800
From: "Loren M. Lang" <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Procmail and Spam Filter
User-Agent: Mutt/1.4.1i
X-GPG-Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
X-GPG-Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C

I'm looking for a way to open up a maildir folder and email every
message in it to a certain address on it local machine.  This is for a
spam filter called dspam so users can move mail to a certain folder
instead of forwarding it directly to the address which is tedious.  I'm
looking at procmail but can't figure out how to make it do what I need.

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 



- End forwarded message -

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 


pgp0.pgp
Description: PGP signature


Software Patents

2003-11-15 Thread Loren M Lang
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm preparing a pursuasive speech against software patents for my
class and I'm looking for information on patents that have had the
biggest impact to inhibit the use of software like the patent on the
lzw compression used in gif or the patent on xoring an image on to a
screen like apple was using on it's black and white macs for the mouse
pointer.  Any information would be appreciated.

- -- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/twPB+vN6RuSjKAwRAituAKCQ3tRupSnDnG+HvNNx96E6KjNm3QCfepv3
JyOIJ3Qse48NwcZy9iu1FvM=
=zggI
-END PGP SIGNATURE-


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



OT: Linux 2.6.0-test9 Running for 24 hours!

2003-11-15 Thread Loren M Lang
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I've just recently install a test kernel for linux 2.6 and I've had it
running solid for 24 hours running in X!!!

Sorry, but just had to let out the excitement as this is the first time
I've ever tried running any kernel that was not considered an official
stable release.  I've noticed several other people have been running
linux 2.6 so I was curious if somone could answer a few questions.

I've noticed swapd is running at 98-99% cpu usage, but it doesn't seem
to be majorly impacting system performance, any clue as to why or what I
should look for?  Also, when I load the mouse driver after X has started,
(as it isn't auto-loading for some reason), the mouse jumps around for a 
few seconds before I can use it.  Also, now when I restart into X using
my Linux 2.4.22 kernel, the keyboard doesn't work at all.  I have to ssh
in from another machine to kill X so I can access the console where the
keyboard works fine.  I'm using XFree86 4.3.0 which I manually installed
and re-running the install script didn't seem to help.  Now I seems to
be forced to use the test kernel if I want X windows.

I'm using linux-2.6.0-test9 on a P4 2.4 w/ HT.

I can provide extra info if anyone wants, but I'm not sure what all one
might need.
- -- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/tv0/+vN6RuSjKAwRArGuAKCLsdVDS0veCpruWpG6zVudV7xV2wCfbjyw
iy8YX8Rqzi3y2YIG8R8VRDg=
=6CIB
-END PGP SIGNATURE-


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



Inverse LCD Screen

2003-11-07 Thread Loren M Lang
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Is there any way to invert an LCD screen in X or console, preferably at
least in X if not both.  I have an old planar computer with a flat screen
that is showing inverted color, in windows, before I had the oppurtunity
to clense it, all the color was inverted.  Since I've installed debian,
though, I've not had an oppurtunity to use X as it fails in the install
for the dpkg, I may manually install XFree 4.3 if I can't fix it.  It
seems like it was normal color when I first got it, and after I left it
running for a while, it was inverted when I came back, but I could be
mistaken.

I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/q4Lp+vN6RuSjKAwRAr4uAJ9C7wcGx9CaNHgZBrPOeuiwO7offACdHJJ3
JA7xBPWTqY0ziDBtmcvgYQs=
=EXrd
-END PGP SIGNATURE-


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



Unidentified subject!

2003-11-04 Thread Loren M Lang
While installing an updated fvwm2 from source, I decided to include gnome
support using apt-get to install libgnome-dev and I got the following
response:

debian:/home/sttng359/fvwm/fvwm-2.4.17# apt-get install libgnome-dev
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  gdk-imlib-dev libpng2-dev 
The following packages will be REMOVED:
  libpng-dev libqt3-dev 
The following NEW packages will be installed:
  gdk-imlib-dev libgnome-dev libpng2-dev 
0 packages upgraded, 3 newly installed, 2 to remove and 22  not upgraded.
5 packages not fully installed or removed.
Need to get 0B/844kB of archives. After unpacking 3211kB will be freed.
Do you want to continue? [Y/n] 

I just installed libqt3-dev a little while ago so I could use the
gui config for linux-2.6 and I had the reverse situation.  Why can't I
have both installed at once, as far as I can tell, they should be
independent of each other.  I've had to switch several times already for
compiling different software packages.  If the main libraries can both be
installed, why can't the dev support files also be?  I can understand
debian refusing to let me install both exim and sendmail, but this seems
pointless.  This has been one of the biggest nussiances I've had since I
switched from redhat.

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 


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



MBone

2003-11-02 Thread Loren M Lang
Does anyone have any information on MBone on where or how I can
join?

After some struggling I finally got all the software I think I
need to participate including mrouted, sdr, vic, rat, wbd, and
nte.  I have successfully setup a conference between local
computers, but I haven't crossed any subnets as my ISP doesn't
seem to provide mbone connectivity.  Also, quite a few links
for mbone I've found are either dead or dated somewhere from
94-99.  Is mbone dead or dying now?  A calendar of events I
found showed quite a few things happening per month in '97,
but in '99, the last year it was updated showed only about 1-2
events per month and one was a private broadcast.

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 


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



Can't install both gtk and qt dev files?

2003-09-25 Thread Loren M Lang
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Recently, I tried to compile and install an application that uses
libqt3 and ran into this:

# apt-get install libqt3-dev
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  libpng-dev
The following packages will be REMOVED:
  libglade2-dev libgtk2.0-dev libpng2-dev
The following NEW packages will be installed:
  libpng-dev libqt3-dev

I ran into the inverse a while ago installing an application using gtk2.0,
why can't I just leave both installed like on other distros?  It's quite
a nuisance to keep switching between them.

- -- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/c9Oy+vN6RuSjKAwRAhZUAJ9BTvCL7I8/ynDmsHGG07Q5Gj3GGgCgzxF3
pfffiTJAkfVHsCZwkVCmRKU=
=qrTM
-END PGP SIGNATURE-


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



Re: OT: Why is C so popular?

2003-08-27 Thread Loren M Lang
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 27 Aug 2003, Alex Malinovich wrote:

> The recent COBOL discussion has gotten me to thinking. Some languages
> seem to be very popular in some situations. C is easily the dominant
> language for most things Linux. So therein lies the question. Why,
> exactly, is C so popular? Especially in comparison to C++. I can't think
> of a single reason to use C instead of C++ for most of the coding that I
> would do. I generally only write user applications. I don't get anywhere
> near the kernel which is where I'd imagine most of the reason for using
> C comes in. Yet I see people writing 'modern' GUI applications and using
> C when I would think C++ would be a much better choice. Is there
> something that I'm missing? Something that C actually does better than
> C++ in regards to higher-level functions?

I can think of a few reasons myself:
1) Compatibility
2) Speed
3) Portability

1) Libraries are a good thing to be written in C unless they are
specifically releated to a programming language that is not C like the
standard C++ libraries.  It is very easy to write a wrapper for a library
written in C for use in other languages like Perl, Python, C++, Java,
Ruby.  But much harder to write a wrapper for a C++ library to use in
other languages like C, etc.  The Arts client libraries are a good example
of that situation.  The libraries are written in C++ with a special
library that acts as a C wrapper.  The problem is the wrapper library is
severly limited compared to the C++ libraries, my guess is the programmers
got a little lazy when it came time to write the wrapper and it has caused
me some trouble trying to use the libraries.

Also, any C library can be used in C++ without a wrapper, but a wrapper is
required for the other direction.

And have you ever tried to open a C++ library using dlopen()?  It requires
at least one C function to start with since all the C++ functions names
are mangles.  It's doable, but a little bit of a pain.

Lastly, C has more libraries for a user programs then any other language
except C++ of course.

2) C is just faster than C++ and much faster then almost any other choice
as far as code speed.  Even when I'm writing in C++ I will use fopen() and
fprint() for file I/O then the C++ equilelants because they are noticably
faster.  C++ with never make it into the kernel for this reason along with
others.

3) C is more portable then C++.  I can take almost any C code and use it
with almost any C or C++ compiler or even other variations like Objective
C or Dynamic C with very few problems.  Most exceptions are maybe use of
newer features of C like ## or enum or directives like #pragma.  In some
enviorments C is the only way to go, other languages like Cobol, C++, or
Perl are just too high level.  Once case is the TI-89, it's to limited to
run C++ effectively.  I've never seen anyone even attempt to write a C++
compiler for it.  Other embedded systems like Microchip's PIC
microcontrollers are just barely leaving asm for C now, it will be a while
before they will support C++.  Rabbit Semiconductor sells a Z80 based
microchips and they created a language called Dynamic C which is basicly C
with special support for state machines.  It won't do C++ either.



If people don't learn C before C++, it A) a little harder to learn
properly, and B) it's harder for them to learn other languages later like
C, Objective C, and Dynamic C with are all C dirivatives.


I think this is at least a little sample of why C is better sometimes than
C++.

>
> (Note that I tend to gravitate towards higher level languages by nature.
> I use Perl religiously, and I love Java. If not for some of the speed
> limitations and, more importantly, the fact that it's non-free, I would
> say that Java is the perfect language. Hmm... is that gasoline I smell?
> :)
>
>

- -- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/TFXH+vN6RuSjKAwRAqtwAJ9BgmxVuO7UZvwdMofzsYTq4guIkACcD9jI
c+DW3CWqzTO24OjznYWYeyM=
=2ghl
-END PGP SIGNATURE-


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



Re: Good Debian-based distro

2003-08-14 Thread Loren M Lang
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 11 Aug 2003 [EMAIL PROTECTED] wrote:

> > On Mon, Aug 11, 2003 at 09:35:18AM -0400, [EMAIL PROTECTED] wrote:
> >> > Hi,
> >> >
> >>
> >> I found the hardware detection excellent!
> >>
> >> IMHO this is one area that Debian needs some work.
> >
> > Search the archives and find out _why_ Knoppix has better hardware
> > detection. This has been a large thread a few months ago.
> >
> > David
> >
>
> A quickie search shows that Knoppix uses Kudzu which is originally
> supplied by RedHat and is now available as a Debian package.
>
> So...
>
> If Knoppix has better hardware detection than base Debian
> And Knoppix uses Kudzu
> And Kudzu is available as a Debian package
>
> Then why don't we (Debian) use Kudzu as an installation tool?

Do we still really need kudzu still now that linux has hotpluging
support for usb, pci and firewire?  Maybe for supporting old isa
hw.  Even though it's called hotplug, it should be able to also
detect hardware on the initial boot as well, it does for usb by
calling usb.rc, why can't there be a pci.rc that does the same
thing and at least parially remove the need for kudzu and
Xconfigurator.  Maybe I'll have to look into writing that...

>
>
>

- -- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/OHxF+vN6RuSjKAwRAg5cAJ4zsvhDNb+FSVf5VZr+zctr/I4MDgCeJdnL
cDsJ6WVIUL+VVymKmBIOKI4=
=7zmO
-END PGP SIGNATURE-


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



Re: nfs is very slow

2003-08-14 Thread Loren M Lang
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Fri, 8 Aug 2003, Vineet Kumar wrote:

> * Gregor Stößer ([EMAIL PROTECTED]) [030808 00:37]:
> > On Thu, Aug 07, 2003 at 05:39:55PM +0200, Nicos Gollan wrote:
> > > On Thursday 07 August 2003 14:01, Gregor Stößer wrote:
> > > > I'm having some trouble with my nfs-server. Performance is very bad, but
> > > > all ather protocols (ftp, http, scp) are quite fast.
> > >
> > > ftp, http et al. use TCP connections while NFS per default uses UDP packets.
> > > More recent kernels have experimental support for NFS over TCP. In your case
> > > (fast network where latency is a very limiting factor), there might be a
> > > problem with NFS sending small packages and needing confirmation on every
> > > one, thus adding a huge overhead, while TCP scales better. If you find a way
> > > to increase packet sizes - gigabit ethernet should support around 65kB -, you
> > > might actually see a performance increase.
> >
> > I'm using already read- and write sizes of 64kB, that's not the point.
> > But NFS over TCP might be worth trying. Nevertheless, my machine worked
> > without any problem for more than a year, so changing from UDP to TCP
> > might help, but there must be some other reason.
>
> It's worth a try.  Using large rsize and wsize (like you're doing) can
> help, to a certain extent, but it can also hurt, if your network drops
> any packets at all.  When NFS asks to send a 64kb packet, it is actually
> sent as a bunch of fragments.  If but one of those fragments is lost,
> the whole thing is lost. UDP provides no reliability.  When NFS reaches
> its timeout and realizes that the packet never arrived, the whole thing
> needs to be sent again.  TCP improves on the situation greatly since one
> lost packet means just that one packet gets retransmitted, not the whole
> 64kb again.  You could also try sticking with UDP and _lowering_ rsize

That's not quite true, tcp helps by doing the work for you, but it always
has to send data sequencially, if a packet in the middle is lost, it
has no way of acknoledging that it has received any further data and may
cause the server to retransmit the newer data even though it is only
missing data from an earlier message.

> and wsize to 8k or even less, to reduce the number of failed
> reassemblies.
>
> good times,
> Vineet
>

- -- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/Nuww+vN6RuSjKAwRAv/6AKC6DExF7OmqqCbtavmk/eWNFw39lwCguEU4
OOfwK81RVZBuT24sEp6/0e8=
=+job
-END PGP SIGNATURE-


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



Good Debian-based distro

2003-08-09 Thread Loren M Lang
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I'm looking for a good debian-based distro with a good and user friendly
install program.  I love debian much better than redhat based distros
mostly for the packaging system, especially all those apt-* commands.
Though for my less linux experienced friends, I have to install debian
for them if I want to get them to use it.  I've heard of Libranet, Corel,
and Xandros OS that are debian based but haven't tried any of them.  Any
recommendations or should I just have them use redhat or mandrake?

- -- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/Neq5+vN6RuSjKAwRAolvAKCUN9Do5W/dd5tkSQaXnIjsLscAMQCfao73
ZJOM17n4wYaKXBRfWteLx28=
=aS6R
-END PGP SIGNATURE-


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



Re: All-in-One flash card reader.

2003-08-03 Thread Loren M Lang
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 24 Jul 2003, Dale Hair wrote:

> On Thu, 2003-07-24 at 11:38, Loren M Lang wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> > 
> > I have a flash card reader which is designed to read
> > from 5 different types of flash cards that I'm trying
> > to get working with debian.  I plugged it into my
> > linux box with a flash card with some data on it and
> > linux detected the device being attached and loaded
> > the usb-storage driver, lsmod and dmesg confirm this.
> > When I tried to mount the flash card device /dev/sda1,
> > I got an I/O Error.  My assumption is that it is trying
> > to read from some other flash chip that I have and not
> > my compact flash card.  I also tried sd[b-d] and get
> > no device/bad address errors.  Does linux not support
> > flash cards with more then one flash bay?
> > 
> 
> Try /dev/sda2-5

That did not work, besides a flash card can have multiple
partitions on it, I have a flash card with a win and linux
partition.  Does anyone know how scsi cd changers work, I
have a ide cd changer and I use eject -c[0-3] to change it,
but I believe that's only for atapi drives.

> 

- -- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/LbQu+vN6RuSjKAwRAt46AJwKug4dDH2zQPv/nWSEgP/XNPLE3ACguBcE
lClKqXOZW2PqH576mchuUJM=
=9vFg
-END PGP SIGNATURE-


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



Re: Linux firewall vs Windows and Hardware based firewalls

2003-08-01 Thread Loren M Lang
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Does anyone have recommendations about linux vs. openbsd?  I have
always used linux for everything and propably still will for the
most part, but for security, would it be better to use openbsd?
- From what I hear, openbsd is a variant off of netbsd, but built
with security at it's top priority where linux is usually pushed
more cutting-edge and I'm sure a little less stable at times
compared to openbsd, but still much more stable then windoze.  I
don't know how the firewalls compare in features though.  Would it
be worth it to play with openbsd some or should I just stick with
linux?

- -- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/KisU+vN6RuSjKAwRAjP/AJ47/osQSr+CPG4birhOGDKorv+FZQCfQjfG
jY6QI7Ji79zcSvRhbDeWvq0=
=wX/t
-END PGP SIGNATURE-


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



All-in-one flash card reader.

2003-08-01 Thread Loren M Lang
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have a usb flash card reader I bought for my debian box
and I tried to plug it in with a flash card to test it and
couldn't get it to work.  I know the flash card is valid,
it works on linux with a different single type flash card
reader, but not with my 5 in one flash card reader.
usb-storage loads and dmesg reports a new scsi drive at
sda.  I've tried mounting /dev/sda and /dev/sda[1-4], but
only get input/output errors.  My only guess it that linux
it trying to read a different slot which has nothing in it.

I would post more info like dmesg output, but it will be a
week before I can get back to that system.

- -- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/Kh0J+vN6RuSjKAwRAmYWAJ9+snYchClfp5lFvdR1WKYqf8fvlwCfZqAj
KWOTmfW7cXtHRcYTHnxx8VI=
=NdRS
-END PGP SIGNATURE-


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



All-in-One flash card reader.

2003-07-24 Thread Loren M Lang
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have a flash card reader which is designed to read
from 5 different types of flash cards that I'm trying
to get working with debian.  I plugged it into my
linux box with a flash card with some data on it and
linux detected the device being attached and loaded
the usb-storage driver, lsmod and dmesg confirm this.
When I tried to mount the flash card device /dev/sda1,
I got an I/O Error.  My assumption is that it is trying
to read from some other flash chip that I have and not
my compact flash card.  I also tried sd[b-d] and get
no device/bad address errors.  Does linux not support
flash cards with more then one flash bay?

- -- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/IAt0+vN6RuSjKAwRAktUAKC+Pnx+BzU1QdaXqx4hXXoIuTRPOwCfcwi0
ut/RGTwbZ4aAgGw0c0cVyWM=
=TLne
-END PGP SIGNATURE-


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



Re: Debian Equivalent of Group "Wheel"?

2003-07-07 Thread Loren M Lang
On Mon, 7 Jul 2003, Marc Trudeau wrote:

> Dear List,
> 
> I¹m a newcomer and tried to find this topic in the archives, but I had
> trouble using Glimpse to filter out ³wheel mouse². I hope I¹m not belaboring
> a well-covered point. If so, my appologies.
> 

Please post as text as well as html for us readers who prefer
using text-based email readers.

> Thanks sincerely,
> 
> Marc
> 

-- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 


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



Re: ATAPI CD-writer

2003-07-06 Thread Loren M Lang
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, 6 Jul 2003, cr wrote:

> I've read the HOWTOs but I tend to get bogged down and confused in all the 
> details.   And in the past I've found, when I've managed to get X-cd-roast 
> working (under previous Redhat installations), I've lost the ability to mount 
> the cd-rom in the usual way.   But anyway, I know the hardware all works   :)
> 
> I'm running Debian 3.0, idepci kernel, my cd-writer is a (Goldstar) LG8080 
> IDE/ATAPI which seems to be pretty much plain-vanilla  (i.e. it needs no 
> special drivers), on /hdb.
> 
> >From reading the HOWTOs, I need to install ide-scsi.   However, if done 
> wrongly, this will interfere with ordinary mounting of the drive as an ide 
> device  (I think).I would like to be able to do both - use cdrecord (via 
> X-cd-roast and similar front-ends) _and_ mount CDroms in the usual way.
> 
> I *think* that if the kernel has scsi support compiled into it, then I 
> could just add   hdb=ide-scsi  to my Grub   menu.lst file.   However, 
> cdrecord -scanbus seems to indicate scsi support isn't there:

I think it should be hdb=scsi, at least that's how my system is setup.

> 
> alti:/# cdrecord -scanbus
> Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 Jörg Schilling
> cdrecord: No such file or directory. Cannot open SCSI driver.
> cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are 
> root.
> 

Try:

modprobe sg
modprobe sr_mod
modprobe ide-scsi   # Only needed if compiled as module

> So I guess I need to load ide-scsi as a separate module.   Can this be done 
> at any time using insmod or modprobe?   And, if ide-scsi then stops me 
> mounting my cd-writer as a regular ide device,  can I remove ide-scsi with 
> rmmod and will it then give me ide back?  
> 

I prefer to have it compiled into the kernel as I seem
to have more control over it, I can tell it to emulate
my cd-writer as scsi but keep my dvd as ide.  When done
as a module, both drives become scsi.  I have not seen
any problem using ide-scsi for my cdrom for mounting
except that I had to change my symlink for /dev/cdrom
to point to scd0 instead of hdb.

> Any hints or guidance on which way to go would be appreciated.
> 
> cr
>   
>   
>   
>   
>   
>   
> 
> 
> 

- -- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/B+/1+vN6RuSjKAwRAuTMAJ4s/Opwnm/xDvNifdkbwi5wczVEbwCgy0da
BmviBmvGaaLtpYo5I7b8XRM=
=2FJW
-END PGP SIGNATURE-


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



Dpkg seg faults.

2003-07-05 Thread Loren M Lang
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I was trying to upgrade libxml2 to the latest 2.5 version
recently so I could install ardour.  I created a dummy
libxml2 package using equiv-control and equiv-build. The
package installed ok, but ardour still failed and I
discovered I also needed to replace libxml2-dev, I used
the same procedure to create a dummy package for it, but
when I tried to install it, dpkg segment faulted.  I can
do some basic querying like dpkg -L, but if I try to
install or remove anything, it seg faults.  Even worse,
I can't use apt-get anymore since it's complaining about
a failed dependency for libxml2-dev since it needs
libxml2-2.4.19 and I have libxml2.5.7 installed.

I'm using debian 3.0r1 with a customized linux 2.4.20 kernel.

Here is the output created by dpkg -i libxml2-dev_2.5.7_i386.deb:

Selecting previously deselected package libxml2-dev.
(Reading database ... Segmentation fault



- -- 
I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

Public Key: ftp://ftp.tallye.com/pub/lorenl_pubkey.asc
Fingerprint: B3B9 D669 69C9 09EC 1BCD  835A FAF3 7A46 E4A3 280C
 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/BqZ4+vN6RuSjKAwRAmUTAJ49jXJ5qmLNCuETLXjgKoXhkOQrMACeLTJb
LSeDCYou0hEKcShlkrCnHkQ=
=CHNB
-END PGP SIGNATURE-


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