First timer attempting to start from scratch with installation of all on laptop. HELP!!!

2003-07-06 Thread Tania Bristowe



Hello there,
 
You may not have time to assist me with my problem 
and maybe to you NOT A PROB!
 
My IT friends never have time, but when they want a 
video done I'm always there.
 
I give up...friendships are worn out. 
 
Could you please help me, or if you can't , can you 
advise me on who is possibly able.
 
Thank you
 
Tania B
 
Problem:
 
I really don't know where to begin. I bought the 
Dell Latitude CPxH500GT from a ligitimate auction.
 
It is as 
follows;   Pentium III-500, 128MB, Vid memory(8MB), Level 2 cache - 256MB
BIOS 
Version A05
 
I need to install drivers for everything. Where do 
I start?
 
I do have Win '98 or ME op sys
 
I look forward to your reply or 
advise.
 
 


Unidentified subject!

2003-07-06 Thread ahmed faiz
pls send me driver laptap toshiba tecra 8200 for vga ,modem , sound and network
 
 
 
 
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

Wi-Fi newbie...

2003-07-06 Thread Manolis Tzanidakis
Hello all,
I want to implement a Wireless connection of my laptop & desktop
box at home (both debian sid) however I'm a complete newbie on 
that subject & will like to learn things.
Is there any good site for *linux-only* Wi-Fi stuff, like
how-tos, hardware compatibility, wep etc ?
A quick googling I did showed only windoze-friendly sites.

-- 
Manolis Tzanidakis
(mtzanidakis-at-freemail-dot-gr)
Jabber: [EMAIL PROTECTED]
ICQ: 102798230
GnuPG Key Fingerprint: 
5CA5 41D6 09F1 C4B9 C331
65EF 4B3F 6979 EB8C 88F3
Get my public key at: pgp.mit.edu


pgpnzmkyzeF2G.pgp
Description: PGP signature


apache

2003-07-06 Thread mi
Hello,

I tried to set up apache to read dhelp and info2www with my browser, and to 
learn more about networking also. 
I've got two questions that aren't strictly laptop-related, but so far i 
didn't get any reply from other lists, and i know some experienced networkers 
listening on this port ;-)

(1) Makes sense to start apache from inetd ?
-

In this special case,  it's not neccessary to run server processes all the 
time. So i removed the rc symlink, and configured:

# /etc/inetd.conf:
www stream  tcp nowait  root/usr/sbin/tcpd  /usr/sbin/apache

# hosts.allow:
www: LOCAL, piro.pironic, piro2000.winlan   /usr/sbin/apache
(occasionally connected with other boxes)

# hosts.deny:
 ---

It seems any server process is terminated immediateley after every single 
request from a broser. In other words, a 'ps aux' doesn't show any apache 
process when my browser opens localhost:80; only a 'top' does for short. 
Every single page request newly starts apache from inetd.
This menas a really slow performance.
I hope my config somehow is suboptimal  ?
Or is this behavior unevitable with inetd.
 
I attach the httpd.conf at the end.



(2) Where is mime_magic ?


This is probabIy more debian-related...

# /var/log/apache/error.log:
>>
[Wed Jul  2 19:09:08 2003] [error] (2)No such file or directory:
mod_mime_magic: can't read magic file /etc/apache/share/magic
<<

httpd.conf says it's expected to be like "MIMEMagicFile share/magic",
but there's no directory 'share' in the server-root at all;
i notice only a symlink to the file /etc/mime.types.
Can i do sth ?


greets

-- 
 

mi 



--  Attachments (2) 

I. Sample 'Debug' output from apache:

[Sun Jul 6 13:49:49 2003] [info] mod_unique_id: using ip addr 127.0.0.1 [Sun 
Jul 6 13:49:51 2003] [error] (2)No such file or directory: mod_mime_magic: 
can't read magic file /etc/apache/share/magic HTTP/1.1 200 OK Date: Sun, 06 
Jul 2003 11:49:52 GMT Server: Apache/1.3.26 (Unix) Debian GNU/Linux 
Last-Modified: Wed, 02 Jul 2003 16:46:32 GMT ETag: "1448-25cd0-3f030c68" 
Accept-Ranges: bytes Content-Length: 154832 Keep-Alive: timeout=60, max=100 
Connection: Keep-Alive Content-Type: text/html; charset=iso-8859-1
[Debian Logo]


II. /etc/apache/httpd.conf (no-hashed lines):

ServerType inetd
ServerRoot /etc/apache
LockFile /var/lock/apache.lock
PidFile /var/run/apache.pid
ScoreBoardFile /var/run/apache.scoreboard
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 60
MinSpareServers 1
MaxSpareServers 5
StartServers 1
MaxClients 50
MaxRequestsPerChild 100
Listen 127.0.0.1:80
LoadModule config_log_module /usr/lib/apache/1.3/mod_log_config.so
LoadModule mime_magic_module /usr/lib/apache/1.3/mod_mime_magic.so
LoadModule mime_module /usr/lib/apache/1.3/mod_mime.so
LoadModule negotiation_module /usr/lib/apache/1.3/mod_negotiation.so
LoadModule status_module /usr/lib/apache/1.3/mod_status.so
LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so
LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so
LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so
LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so
LoadModule alias_module /usr/lib/apache/1.3/mod_alias.so
LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so
LoadModule access_module /usr/lib/apache/1.3/mod_access.so
LoadModule auth_module /usr/lib/apache/1.3/mod_auth.so
LoadModule expires_module /usr/lib/apache/1.3/mod_expires.so
LoadModule unique_id_module /usr/lib/apache/1.3/mod_unique_id.so
LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so
ExtendedStatus On
Port 80
User www-data
Group www-data
ServerAdmin [EMAIL PROTECTED]
ServerName 127.0.0.1
DocumentRoot /var/www

Options SymLinksIfOwnerMatch
AllowOverride None


Options Indexes Includes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all


UserDir public_html


AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec

Order allow,deny
Allow from all


Order deny,allow
Deny from all



DirectoryIndex index.html index.htm index.shtml index.cgi

AccessFileName .htaccess

Order allow,deny
Deny from all

UseCanonicalName On
TypesConfig /etc/mime.types
DefaultType text/plain

MIMEMagicFile share/magic

HostnameLookups Off
ErrorLog /var/log/apache/error.log
LogLevel debug
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T 
%v" full
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %P 
%T" debug
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" 
combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
Lo

ide CD Bruner

2003-07-06 Thread mi
Does anybody know if cdrecord recently supports ide burning ?

I look for a *bootable* CD rw that is supported by linux ide burning ... any 
model hints ?

I've exchanged the original cd with a teac W 24E CD rw, and now the lap 
doesn't boot no more from cd. Is this a well-known effect ? It's an Dell 
Inspiron 5000 manufactured around 1999/2000, BIOS A08.

-- 
 

mi 



Re: apache

2003-07-06 Thread Paul Bryan
On Sun, Jul 06, 2003 at 02:05:23PM +0200, mi wrote:
> It seems any server process is terminated immediateley after every single 
> request from a broser. In other words, a 'ps aux' doesn't show any apache 
> process when my browser opens localhost:80; only a 'top' does for short. 
> Every single page request newly starts apache from inetd.
> This menas a really slow performance.
> I hope my config somehow is suboptimal  ?
> Or is this behavior unevitable with inetd.

That's exactly right. Whenever a request comes in on port 80, inetd starts up 
an apache process to handle it. Once the request is completed, inetd kills 
the apache process.

If you want to run apache as a daemon, run it from the /etc/init.d/ start up 
scripts. Don't forget to modify your httpd.conf to:

ServerType standalone

>
> (2) Where is mime_magic ?
> 
> This is probabIy more debian-related...
>
> # /var/log/apache/error.log:
>>>
> [Wed Jul  2 19:09:08 2003] [error] (2)No such file or directory:
> mod_mime_magic: can't read magic file /etc/apache/share/magic
><<

This is bug #159000 which has been fixed. You might just need to upgrade 
apache.

Otherwise, if you comment out the line:

MIMEMagicFile share/magic

in your apache config, you shouldn't get this error anymore. 

>From the apache docs:

This module determines the MIME type of files in the same way the Unix 
file(1) command works: it looks at the first few bytes of the file. It 
is intended as a "second line of defense" for cases that mod_mime can't
resolve. 

I wouldn't be too concerned about removing this functionality, as I imagine 
it's rarely needed. I bet someone will chime in now with the many times this
has been really useful for them and I'll be suitably shameful...

Cheers,
Paul.



DMA Problem

2003-07-06 Thread Marcel Gschwandl
Hi folks,

I already asked about this issue once but didn't get any answers so I
try it again.

I have an IBM Thinkpad A31p with Debian sarge + some sid packages on it.
Recently I updated to kernel 2.4.21 but with this kernel it seems not to
be possible to change into DMA mode. (it was possible with 2.4.20).

A "hdparm -d 1 /dev/hda" reports:
/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma=  0 (off)
Has anybody a hint why this can happen or at least where I can get some
answers?

Thanks in advance
Marcel

-- 
Marcel Gschwandl <[EMAIL PROTECTED]>

The day Microsoft invents something that doesn't suck
is the day they start making vacuum cleaners. -- Ernst Jan Plugge



Re: DMA Problem

2003-07-06 Thread Klaus Rechert
Hi,


try as root

Klaus


On 06 Jul 2003 16:19:06 +0200
Marcel Gschwandl <[EMAIL PROTECTED]> wrote:

> Hi folks,
> 
> I already asked about this issue once but didn't get any answers so I
> try it again.
> 
> I have an IBM Thinkpad A31p with Debian sarge + some sid packages on it.
> Recently I updated to kernel 2.4.21 but with this kernel it seems not to
> be possible to change into DMA mode. (it was possible with 2.4.20).
> 
> A "hdparm -d 1 /dev/hda" reports:
> /dev/hda:
>  setting using_dma to 1 (on)
>  HDIO_SET_DMA failed: Operation not permitted
>  using_dma=  0 (off)
> Has anybody a hint why this can happen or at least where I can get some
> answers?
> 
> Thanks in advance
> Marcel
> 
> -- 
> Marcel Gschwandl <[EMAIL PROTECTED]>
> 
> The day Microsoft invents something that doesn't suck
> is the day they start making vacuum cleaners. -- Ernst Jan Plugge
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 




Re: apache

2003-07-06 Thread Russell Coker
On Sun, 6 Jul 2003 23:35, Paul Bryan wrote:
> That's exactly right. Whenever a request comes in on port 80, inetd starts
> up an apache process to handle it. Once the request is completed, inetd
> kills the apache process.

inetd does not kill the Apache process, it reaps (via wait()) the Apache 
process when Apache dies of it's own accord.

If Apache decides not to die then most (all?) inetd programs will happily 
allow it to do so.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page



Re: DMA Problem

2003-07-06 Thread Marcel Gschwandl
Hi again,

I was root. As non root I would get
HDIO_SET_DMA failed: Permission denied
and not 
HDIO_SET_DMA failed: Operation not permitted

thanks anyway
Marcel


On Sun, 2003-07-06 at 16:34, Klaus Rechert wrote:
> Hi,
> 
> 
> try as root
> 
>   Klaus
> 
> 
> On 06 Jul 2003 16:19:06 +0200
> Marcel Gschwandl <[EMAIL PROTECTED]> wrote:
> 
> > Hi folks,
> > 
> > I already asked about this issue once but didn't get any answers so I
> > try it again.
> > 
> > I have an IBM Thinkpad A31p with Debian sarge + some sid packages on it.
> > Recently I updated to kernel 2.4.21 but with this kernel it seems not to
> > be possible to change into DMA mode. (it was possible with 2.4.20).
> > 
> > A "hdparm -d 1 /dev/hda" reports:
> > /dev/hda:
> >  setting using_dma to 1 (on)
> >  HDIO_SET_DMA failed: Operation not permitted
> >  using_dma=  0 (off)
> > Has anybody a hint why this can happen or at least where I can get some
> > answers?
> > 
> > Thanks in advance
> > Marcel
> > 
> > -- 
> > Marcel Gschwandl <[EMAIL PROTECTED]>
> > 
> > The day Microsoft invents something that doesn't suck
> > is the day they start making vacuum cleaners. -- Ernst Jan Plugge
> > 
> > 
> > -- 
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> > 



Re: sound on dell inspiron 5100

2003-07-06 Thread Abhay Pradhan
>On Wed Jun 11, 2003 at 12:34:59PM +0300, Manolis Tzanidakis wrote:
> [20030611] Abhay Pradhan ([EMAIL PROTECTED]) wrote:
> 
> > I am trying to get sound to work on a dell inspiron 5100.
> > Windows reports the soundcard as a sigmatel c major audio card.
> > The distro I am using is debian.
> > I looked for a linux driver for this soundcard but was not successful.
> > Any ideas on how to go about this would be a great help.
> 
> I'd suggest to use ALSA if your sound card is supported.
> Do :
> $ lspci -v
> 
> to find your sound card's exact type and check the card matrix
> at www.alsa-project.org to see if it's supported.
> 
> Then check these pages for how to install alsa (the debian way):
> 
> http://www.linuxorbit.com/modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=541&page=1
> 
> http://www.sonic.net/~rknop/linux/debian_alsa.html

I tried downloading alsa using apt-get. unfortunately, while configuring
I get an error

--
herenya:~# apt-get install alsa-source alsa-base alsa-utils
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, alsa-source is already the newest version.
Sorry, alsa-base is already the newest version.
Sorry, alsa-utils is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 120  not
upgraded.
1 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up alsa-modules-2.4.20 (0.9.4-1+1) ...
Configuration file for ALSA 0.9 exists.
Attempting to start.

Setting up alsa-modules-2.4.20 (0.9.4-1+1) ...
Configuration file for ALSA 0.9 exists.
Attempting to start.

Shutting down ALSA (unknown version): not running
Starting ALSA (unknown version): failed - ALSA modules not installed
invoke-rc.d: initscript alsa, action "restart" failed.
dpkg: error processing alsa-modules-2.4.20 (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
alsa-modules-2.4.20
E: Sub-process /usr/bin/dpkg returned an error code (1)
--

So I am at a loss here. 
:(



hotkeys and poweroff

2003-07-06 Thread Julien MARY

Hi,

I am using compaq evo n160, but your answer can suppose it
is evo family.

I want to enable a smart "shutdown -h now" at hitting the
power button of my laptop.

Anyone has already set this correctly ? 

I don't think the package hotkeys is the solution.

Julien



Re: hotkeys and poweroff

2003-07-06 Thread Sean 'Shaleh' Perry
On Sunday 06 July 2003 11:30, Julien MARY wrote:
>
>   I want to enable a smart "shutdown -h now" at hitting the
> power button of my laptop.
>

I believe this is handled via ACPI.



Re: BIOS entry

2003-07-06 Thread Claus Brucher
On my thinkpad 390x just by pressing the f1 button at startup...

On Fri, 2003-07-04 at 17:29, Lynn Haas wrote:
> Can you tell me how to get to the bios on my ThinkPad 380ED ?
-- 
Claus Brucher <[EMAIL PROTECTED]>



Re: First timer attempting to start from scratch with installation of all on laptop. HELP!!!

2003-07-06 Thread Thorsten Haude
Hi,

* Tania Bristowe <[EMAIL PROTECTED]> [2003-07-06 10:55]:
>I really don't know where to begin. I bought the Dell Latitude CPxH500GT from 
>a ligitimate auction.
>
>It is as follows;   Pentium III-500, 128MB, Vid memory(8MB), Level 2 cache 
>- 256MB
>BIOS Version A05
>
>I need to install drivers for everything. Where do I start?

You should have a look at Knoppix, which runs from CD. If it works for
you, you could get it on disk to speed up access and free the CD drive.

http://www.knopper.net/knoppix/index-en.html


Thorsten
-- 
It is exactly because markets are amoral that we cannot
leave the allocation of resources entirely to them.
- George Soros


pgpFM8Y3N4cS5.pgp
Description: PGP signature


Re: Wi-Fi newbie...

2003-07-06 Thread Matt Foster
I think that this page:
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/ is fairly handy.
There seems to be quite a lot of info there on just about everything
Wavelan related.

Matt


Quoting Manolis Tzanidakis ([EMAIL PROTECTED]):
> Hello all,
> I want to implement a Wireless connection of my laptop & desktop
> box at home (both debian sid) however I'm a complete newbie on 
> that subject & will like to learn things.
> Is there any good site for *linux-only* Wi-Fi stuff, like
> how-tos, hardware compatibility, wep etc ?
> A quick googling I did showed only windoze-friendly sites.
> 

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



Re: ide CD Bruner

2003-07-06 Thread Matt Foster
Quoting mi ([EMAIL PROTECTED]):
> Does anybody know if cdrecord recently supports ide burning ?
> 

The 'normal' method to get cd IDE burners going under linux is to use
the ide-scsi kernel module, by passing hdx=ide-scsi on the kernel
command line. 

I think I'm right in saying that pre 2.5 kernels do not support native
IDE burning...

Also, reading this: http://www.codemonkey.org.uk/post-halloween-2.5.txt
suggests that the 2.5 kernel series _does_ do native IDE burning, but
only with a new version of cdrecord.

I think it's fairly likely that this is what cdrecord has just started
supporting.

HTH,

matt

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



Re: DMA Problem

2003-07-06 Thread Matt Foster
Quoting Marcel Gschwandl ([EMAIL PROTECTED]):
> Hi again,
> 
> I was root. As non root I would get
> HDIO_SET_DMA failed: Permission denied
> and not 
> HDIO_SET_DMA failed: Operation not permitted
> 
have you tried querying the drive with hdparm -I?
This should give you some indication of if can handle DMA.

If you find It can't, you may need specific kernel drivers to enable it.
I, for example, have an NForce2 chipset which works ok with generic IDE
support, but won't do DMA transfers (or mode changes) without a patch.

cheers,

Matt

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042



RE: BIOS entry

2003-07-06 Thread DePriest, Jason R.
Title: Message



Try 
turning it off.
And 
then turn it on while holding down the F1 key.  Keep it held down until you 
see the BIOS.
This 
is how I get into the BIOS on a 380D, so I am hoping it is the same or 
similar.

  
  -Original Message-From: Lynn Haas 
  [mailto:[EMAIL PROTECTED] Sent: Friday, July 04, 2003 10:45 
  AMTo: debian-laptop@lists.debian.orgSubject: BIOS 
  entry
  Can you tell me how to get to the bios on my 
  ThinkPad 380ED ?


Re: DMA Problem

2003-07-06 Thread Marcel Gschwandl
the HD should be able to handle DMA because I was able to enable it with
hdparm and an kernel 2.4.20.

output of "hdparm -I /dev/hda":


/dev/hda:

ATA device, with non-removable media
Model Number:   IC25T060ATCS05-0
Serial Number:  CSL805DEG81H2A
Firmware Revision:  CA8OA71A
Standards:
Used: ATA/ATAPI-5 T13 1321D revision 3
Supported: 5 4 3 2 & some of 6
Configuration:
Logical max current
cylinders   16383   16383
heads   16  16
sectors/track   63  63
--
CHS current addressable sectors:   16514064
LBAuser addressable sectors:  117210240
device size with M = 1024*1024:   57231 MBytes
device size with M = 1000*1000:   60011 MBytes (60 GB)
Capabilities:
LBA, IORDY(can be disabled)
bytes avail on r/w long: 4  Queue depth: 1
Standby timer values: spec'd by Vendor, no device specific
minimum
R/W multiple sector transfer: Max = 16  Current = 16
Advanced power management level: 128 (0x80)
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
 Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
 Cycle time: no flow control=240ns  IORDY flow control=120ns
Commands/features:
Enabled Supported:
   *NOP cmd
   *READ BUFFER cmd
   *WRITE BUFFER cmd
   *Host Protected Area feature set
   *Look-ahead
   *Write cache
   *Power Management feature set
Security Mode feature set
   *SMART feature set
   *Device Configuration Overlay feature set
SET MAX security extension
Address Offset Reserved Area Boot
Power-Up In Standby feature set
   *Advanced Power Management feature set
   *SMART self-test
   *SMART error logging
Security:
Master password revision code = 65534
supported
not enabled
not locked
frozen
not expired: security count
not supported: enhanced erase
60min for SECURITY ERASE UNIT.
HW reset results:
CBLID- above Vih
Device num = 0 determined by the jumper
Checksum: correct



To me this output says it works but it doesn't.
Apropos chipset. It is an Intel i845.

Greets
Marcel



Re: DMA Problem

2003-07-06 Thread Marcel Gschwandl
This shouldn't be a problem because my laptop is an IBM A31p which means
P4-M 2.0GHz and an Intel i845 chipset.

And I know this configuration works because to of my friends have the
same notebook and it works just fine there. But we were not able to
figure out what's the difference between their machines and mine.

MfG
Marcel


On Sun, 2003-07-06 at 22:16, criggie wrote:
> Heya Marcel - I have an old P166 laptop with an ISA ide controller - the
> drive is a 6 Gb Fujitsu which is much newer than the machine. The combo
> of drive/controller doesn't support DMA :-(
> 
> I hope you have more luck - but laptops are not exactly speed demons :-\
> 
> On 06 Jul 2003 17:59:19 +0200
> "Marcel Gschwandl" <[EMAIL PROTECTED]> wrote:
> 
> > Hi again,
> > 
> > I was root. As non root I would get
> > HDIO_SET_DMA failed: Permission denied
> > and not 
> > HDIO_SET_DMA failed: Operation not permitted
> > 
> > thanks anyway
> > Marcel
> > 
> > 
> > On Sun, 2003-07-06 at 16:34, Klaus Rechert wrote:
> > > Hi,
> > > 
> > > 
> > > try as root
> > > 
> > >   Klaus
> > > 
> > > 
> > > On 06 Jul 2003 16:19:06 +0200
> > > Marcel Gschwandl <[EMAIL PROTECTED]> wrote:
> > > 
> > > > Hi folks,
> > > > 
> > > > I already asked about this issue once but didn't get any answers
> > > > so I try it again.
> > > > 
> > > > I have an IBM Thinkpad A31p with Debian sarge + some sid packages
> > > > on it. Recently I updated to kernel 2.4.21 but with this kernel it
> > > > seems not to be possible to change into DMA mode. (it was possible
> > > > with 2.4.20).
> > > > 
> > > > A "hdparm -d 1 /dev/hda" reports:
> > > > /dev/hda:
> > > >  setting using_dma to 1 (on)
> > > >  HDIO_SET_DMA failed: Operation not permitted
> > > >  using_dma=  0 (off)
> > > > Has anybody a hint why this can happen or at least where I can get
> > > > some answers?
> > > > 
> > > > Thanks in advance
> > > > Marcel
> > > > 
> > > > -- 
> > > > Marcel Gschwandl <[EMAIL PROTECTED]>
> > > > 
> > > > The day Microsoft invents something that doesn't suck
> > > > is the day they start making vacuum cleaners. -- Ernst Jan Plugge
> > > > 
> > > > 
> > > > -- 
> > > > 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: Wi-Fi newbie...

2003-07-06 Thread Manolis Tzanidakis
[20030706] Matt Foster ([EMAIL PROTECTED]) wrote:

> I think that this page:
> http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/ is fairly handy.
> There seems to be quite a lot of info there on just about everything
> Wavelan related.

Thanx a lot Matt, great url !

-- 
Manolis Tzanidakis
(mtzanidakis-at-freemail-dot-gr)
Jabber: [EMAIL PROTECTED]
ICQ: 102798230
GnuPG Key Fingerprint: 
5CA5 41D6 09F1 C4B9 C331
65EF 4B3F 6979 EB8C 88F3
Get my public key at: pgp.mit.edu


pgpWDGjauix1Y.pgp
Description: PGP signature


Intel PRO/Wireless 2011 LAN PC Card PCMCIA

2003-07-06 Thread debian-laptop
Hi all,  
  
I got this card: "Intel PRO/Wireless 2011 LAN PC Card PCMCIA"  
  
Does anyone one of you managed to make this card work in rfmon (monitor mode)?  
  
It should be an orinoco chipset and works fine in normal condition but, even if 
the driver are patched, the card seems to not support monitor  
mode.  
Does anyone out there found the right solution and made this card work?  
  
  
Since I'm going to buy a different PCMCIA wireless card could someone suggest 
me a card not too much expensive which supports rfmon?  
  
thanks in advance  
pietro lupi  




Intel PRO/Wireless 2011 LAN PC Card PCMCIA

2003-07-06 Thread debian-laptop
Hi all, 
 
I got this card: "Intel PRO/Wireless 2011 LAN PC Card PCMCIA" 
 
Does anyone one of you managed to make this card work in rfmon (monitor mode)? 
 
It should be an orinoco chipset and works fine in normal condition but, even if 
the driver are patched, the card seems to not support monitor 
mode. 
Does anyone out there found the right solution and made this card work? 
 
 
Since I'm going to buy a different PCMCIA wireless card could someone suggest 
me a card not too much expensive which supports rfmon? 
 
thanks in advance 
pietro lupi



IRDA on asus L3tp

2003-07-06 Thread debian-laptop
Hi all,  
 
I'm curious to know if someone out there has IRDA working on ASUS L3TP 
I can't even see the tty entry in the output dmesg  
 
dmesg | grep -i tty 
ttyS00 at 0x03f8 (irq = 4) is a 16550A 
 
which is the standard serial! no irda reference found! 
 
how can i make this thing appear to work on it?  
I have read a lot of docs to make IRDA work withr linux but everything seems to 
refer to a serial emulation of irda which i can't see. 
 
thanks 
pietro lupi 




PCMCIA Networkcard Problem after Kernel 2.4.18

2003-07-06 Thread Cyber-Alvin
I had kernel 2.2.20 and anything was fine.
I format the Harddisk and made a compl. new
installation. I install debian base with kenel
2.4.18, and I am not getting my PCMCIA Networkcard
running, I tryed many moduls, and also the manifactur
install readme about linux, but it is not working with
the kernel 2.4.18.

I have a Sanyo Winkey MBC-S800 Laptop (Japanese one),
Intel P-200MHz MMX, 81MB Ram, 6.1GB.

The PCMCIA Networkcard is a:
Linksys EtherFast 10/100 + 56K Modem PC Card (PCMLN56)

Well, unter the kernal 2.2.20 was this card running fine,
I used the modul arcnet and it workt perfektly...
when I do this modul with the kernel 2.4.18, the modul
will not load, also the tulib modul, the same...


I hope someone can help me...

thanks, your cyber-alvin



2.4.18-686 kernel, but no PCMCIA

2003-07-06 Thread Kenneth Jacker
[Sorry if you already saw this on 'debian-user'.  After I sent that
copy, I realized I should have *only* sent it here ... sorry!]

When I boot my Dell laptop with the 2.4.18-bf2.4 kernel, my PCMCIA
card is recognized properly and I can access our local Ethernet.

When using 2.4.18-686, however, I get the following error message
during booting and the "eth0" device is "unknown":

  /lib/modules/2.4.18-686/pcmcia/i82365.o:  unresolved symbol \
   isapnp_find_dev_R9991be23

The value of "PCIC" in /etc/default/pcmcia is "i82365".  The board is
a Xircom.

When booting into the '686' kernel, the board doesn't appear to be
recognized.  This is what I see in "/var/log/messages:

Linux Kernel Card Services 3.1.22
   options:  [pci] [cardbus] [pm]
  ds:  no socket drivers loaded!


Does anyone know how to get the card functional with 2.4.18-686?
Maybe I'm missing a module and/or configuration option?

Thanks,
--
Prof Kenneth H Jacker   [EMAIL PROTECTED]
Computer Science Dept   www.cs.appstate.edu/~khj
Appalachian State Univ
Boone, NC  28608  USA



Re: apache

2003-07-06 Thread Paul Bryan
On Mon, Jul 07, 2003 at 01:17:25AM +1000, Russell Coker wrote:
> inetd does not kill the Apache process, 

True, my bad...

> If Apache decides not to die then most (all?) inetd programs will happily 
> allow it to do so.

>From the apache site:

For each http connection received, a new copy of the server is started 
from scratch; after the connection is complete, this program exits.

So unfortunately, it does die after each connection. It may serve a number of
requests on that connection. i.e. with the keep-alive header. This process will
only handle requests from a a single host for a short period though. e.g. 
images found on the same page. Perhaps a number of connections from the same
proxy might be handled by a single process. 

Only serving a single connection makes sense to me, as otherwise it seems to 
defeat the purpose of using inetd in the first place. In any event, I doubt the
apache authors are likely to make a semi-daemon-inetd (i.e. one that doesn't
immediatley die) version of apache. If you want a daemon, run it as one.

Cheers,
Paul.



Re: DMA Problem

2003-07-06 Thread ScapeSmerk

I think (but don't quote me) that there is a problem  with DMA in 2.4.21
works fine in 2.4.20, maybe try that

Ben.

Marcel Gschwandl wrote:


Hi again,

I was root. As non root I would get
HDIO_SET_DMA failed: Permission denied
and not 
HDIO_SET_DMA failed: Operation not permitted


thanks anyway
Marcel


On Sun, 2003-07-06 at 16:34, Klaus Rechert wrote:
 


Hi,


try as root

Klaus


On 06 Jul 2003 16:19:06 +0200
Marcel Gschwandl <[EMAIL PROTECTED]> wrote:

   


Hi folks,

I already asked about this issue once but didn't get any answers so I
try it again.

I have an IBM Thinkpad A31p with Debian sarge + some sid packages on it.
Recently I updated to kernel 2.4.21 but with this kernel it seems not to
be possible to change into DMA mode. (it was possible with 2.4.20).

A "hdparm -d 1 /dev/hda" reports:
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma=  0 (off)
Has anybody a hint why this can happen or at least where I can get some
answers?

Thanks in advance
Marcel

--
Marcel Gschwandl <[EMAIL PROTECTED]>

The day Microsoft invents something that doesn't suck
is the day they start making vacuum cleaners. -- Ernst Jan Plugge


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

 




 





Re: apache

2003-07-06 Thread Russell Coker
On Mon, 7 Jul 2003 10:39, Paul Bryan wrote:
> > If Apache decides not to die then most (all?) inetd programs will happily
> > allow it to do so.
[...]
> Only serving a single connection makes sense to me, as otherwise it seems
> to defeat the purpose of using inetd in the first place. In any event, I
> doubt the apache authors are likely to make a semi-daemon-inetd (i.e. one
> that doesn't immediatley die) version of apache. If you want a daemon, run
> it as one.

Yes.  However if Apache does the wrong thing (eg goes into an infinite loop in 
a library - something I've seen many times) then it may run forever if there 
is nothing to stop it.  inetd will not stop it.

For Apache run as a daemon I've put in a ulimit on the CPU time to solve this 
problem (in a normal situation no Apache process will use 1H of CPU time, so 
killing such a process is only doing good).

Maybe one of the more capable inetd's would allow you to set the ulimit before 
spawning a process, otherwise a wrapper script would do the job.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page



Re: DMA Problem

2003-07-06 Thread Marcel Gschwandl
as far as I know the '*' doesn't indicate the current state of the Drive
it only indicates the standard setting of the Firmware. But some how
this isn't used in my case. And I suppose that if it would be already
enabled a "hdparm /dev/hda" wouldn't report this:

/dev/hda:
 multcount= 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq=  0 (off)
 using_dma=  0 (off)
 keepsettings =  0 (off)
 readonly =  0 (off)
 readahead=  8 (on)
 geometry = 7752/240/63, sectors = 117210240, start = 0


and I think with enabled DMA I should be able to copy Files from that HD
faster than at 2MB/s (At least this is the case on my colleague's
notebook ;-) ).

greets 
Marcel

On Mon, 2003-07-07 at 00:59, Matt Foster wrote:
> Quoting Marcel Gschwandl ([EMAIL PROTECTED]):
> > the HD should be able to handle DMA because I was able to enable it with
> > hdparm and an kernel 2.4.20.
> > 
> > output of "hdparm -I /dev/hda":
> > 
> > 
> > /dev/hda:
> > 
> > DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
> >  Cycle time: min=120ns recommended=120ns
> 
> Well, this bit seems to show the driver operating at udma5, which means
> DMA100. So that implies that its already enabled. 
> 
> I have no idea at all why you can't change it though.



Re: apache

2003-07-06 Thread Paul Bryan
On Mon, Jul 07, 2003 at 02:04:49PM +1000, Russell Coker wrote:
> Yes.  However if Apache does the wrong thing (eg goes into an infinite loop 
> in 
> a library - something I've seen many times) then it may run forever if there 
> is nothing to stop it.  inetd will not stop it.
> 
> For Apache run as a daemon I've put in a ulimit on the CPU time to solve this 
> problem (in a normal situation no Apache process will use 1H of CPU time, so 
> killing such a process is only doing good).
> 

This isn't so much a case for using inetd as a for filing a bug against 
apache ;-)

Paul.



First timer attempting to start from scratch with installation of all on laptop. HELP!!!

2003-07-06 Thread Tania Bristowe



Hello there,
 
You may not have time to assist me with my problem 
and maybe to you NOT A PROB!
 
My IT friends never have time, but when they want a 
video done I'm always there.
 
I give up...friendships are worn out. 
 
Could you please help me, or if you can't , can you 
advise me on who is possibly able.
 
Thank you
 
Tania B
 
Problem:
 
I really don't know where to begin. I bought the 
Dell Latitude CPxH500GT from a ligitimate auction.
 
It is as 
follows;   Pentium III-500, 128MB, Vid memory(8MB), Level 2 cache - 256MB
BIOS 
Version A05
 
I need to install drivers for everything. Where do 
I start?
 
I do have Win '98 or ME op sys
 
I look forward to your reply or 
advise.
 
 


Unidentified subject!

2003-07-06 Thread ahmed faiz
pls send me driver laptap toshiba tecra 8200 for vga ,modem , sound and network
 
 
 
 
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

Wi-Fi newbie...

2003-07-06 Thread Manolis Tzanidakis
Hello all,
I want to implement a Wireless connection of my laptop & desktop
box at home (both debian sid) however I'm a complete newbie on 
that subject & will like to learn things.
Is there any good site for *linux-only* Wi-Fi stuff, like
how-tos, hardware compatibility, wep etc ?
A quick googling I did showed only windoze-friendly sites.

-- 
Manolis Tzanidakis
(mtzanidakis-at-freemail-dot-gr)
Jabber: [EMAIL PROTECTED]
ICQ: 102798230
GnuPG Key Fingerprint: 
5CA5 41D6 09F1 C4B9 C331
65EF 4B3F 6979 EB8C 88F3
Get my public key at: pgp.mit.edu


pgp0.pgp
Description: PGP signature


apache

2003-07-06 Thread mi
Hello,

I tried to set up apache to read dhelp and info2www with my browser, and to 
learn more about networking also. 
I've got two questions that aren't strictly laptop-related, but so far i 
didn't get any reply from other lists, and i know some experienced networkers 
listening on this port ;-)

(1) Makes sense to start apache from inetd ?
-

In this special case,  it's not neccessary to run server processes all the 
time. So i removed the rc symlink, and configured:

# /etc/inetd.conf:
www stream  tcp nowait  root/usr/sbin/tcpd  /usr/sbin/apache

# hosts.allow:
www: LOCAL, piro.pironic, piro2000.winlan   /usr/sbin/apache
(occasionally connected with other boxes)

# hosts.deny:
 ---

It seems any server process is terminated immediateley after every single 
request from a broser. In other words, a 'ps aux' doesn't show any apache 
process when my browser opens localhost:80; only a 'top' does for short. 
Every single page request newly starts apache from inetd.
This menas a really slow performance.
I hope my config somehow is suboptimal  ?
Or is this behavior unevitable with inetd.
 
I attach the httpd.conf at the end.



(2) Where is mime_magic ?


This is probabIy more debian-related...

# /var/log/apache/error.log:
>>
[Wed Jul  2 19:09:08 2003] [error] (2)No such file or directory:
mod_mime_magic: can't read magic file /etc/apache/share/magic
<<

httpd.conf says it's expected to be like "MIMEMagicFile share/magic",
but there's no directory 'share' in the server-root at all;
i notice only a symlink to the file /etc/mime.types.
Can i do sth ?


greets

-- 
 

mi 



--  Attachments (2) 

I. Sample 'Debug' output from apache:

[Sun Jul 6 13:49:49 2003] [info] mod_unique_id: using ip addr 127.0.0.1 [Sun 
Jul 6 13:49:51 2003] [error] (2)No such file or directory: mod_mime_magic: 
can't read magic file /etc/apache/share/magic HTTP/1.1 200 OK Date: Sun, 06 
Jul 2003 11:49:52 GMT Server: Apache/1.3.26 (Unix) Debian GNU/Linux 
Last-Modified: Wed, 02 Jul 2003 16:46:32 GMT ETag: "1448-25cd0-3f030c68" 
Accept-Ranges: bytes Content-Length: 154832 Keep-Alive: timeout=60, max=100 
Connection: Keep-Alive Content-Type: text/html; charset=iso-8859-1
[Debian Logo]


II. /etc/apache/httpd.conf (no-hashed lines):

ServerType inetd
ServerRoot /etc/apache
LockFile /var/lock/apache.lock
PidFile /var/run/apache.pid
ScoreBoardFile /var/run/apache.scoreboard
Timeout 300
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 60
MinSpareServers 1
MaxSpareServers 5
StartServers 1
MaxClients 50
MaxRequestsPerChild 100
Listen 127.0.0.1:80
LoadModule config_log_module /usr/lib/apache/1.3/mod_log_config.so
LoadModule mime_magic_module /usr/lib/apache/1.3/mod_mime_magic.so
LoadModule mime_module /usr/lib/apache/1.3/mod_mime.so
LoadModule negotiation_module /usr/lib/apache/1.3/mod_negotiation.so
LoadModule status_module /usr/lib/apache/1.3/mod_status.so
LoadModule autoindex_module /usr/lib/apache/1.3/mod_autoindex.so
LoadModule dir_module /usr/lib/apache/1.3/mod_dir.so
LoadModule cgi_module /usr/lib/apache/1.3/mod_cgi.so
LoadModule userdir_module /usr/lib/apache/1.3/mod_userdir.so
LoadModule alias_module /usr/lib/apache/1.3/mod_alias.so
LoadModule rewrite_module /usr/lib/apache/1.3/mod_rewrite.so
LoadModule access_module /usr/lib/apache/1.3/mod_access.so
LoadModule auth_module /usr/lib/apache/1.3/mod_auth.so
LoadModule expires_module /usr/lib/apache/1.3/mod_expires.so
LoadModule unique_id_module /usr/lib/apache/1.3/mod_unique_id.so
LoadModule setenvif_module /usr/lib/apache/1.3/mod_setenvif.so
ExtendedStatus On
Port 80
User www-data
Group www-data
ServerAdmin [EMAIL PROTECTED]
ServerName 127.0.0.1
DocumentRoot /var/www

Options SymLinksIfOwnerMatch
AllowOverride None


Options Indexes Includes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all


UserDir public_html


AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec

Order allow,deny
Allow from all


Order deny,allow
Deny from all



DirectoryIndex index.html index.htm index.shtml index.cgi

AccessFileName .htaccess

Order allow,deny
Deny from all

UseCanonicalName On
TypesConfig /etc/mime.types
DefaultType text/plain

MIMEMagicFile share/magic

HostnameLookups Off
ErrorLog /var/log/apache/error.log
LogLevel debug
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %T 
%v" full
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %P 
%T" debug
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" 
combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%{Referer}i -> %U" referer
Lo

ide CD Bruner

2003-07-06 Thread mi
Does anybody know if cdrecord recently supports ide burning ?

I look for a *bootable* CD rw that is supported by linux ide burning ... any 
model hints ?

I've exchanged the original cd with a teac W 24E CD rw, and now the lap 
doesn't boot no more from cd. Is this a well-known effect ? It's an Dell 
Inspiron 5000 manufactured around 1999/2000, BIOS A08.

-- 
 

mi 


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



Re: apache

2003-07-06 Thread Paul Bryan
On Sun, Jul 06, 2003 at 02:05:23PM +0200, mi wrote:
> It seems any server process is terminated immediateley after every single 
> request from a broser. In other words, a 'ps aux' doesn't show any apache 
> process when my browser opens localhost:80; only a 'top' does for short. 
> Every single page request newly starts apache from inetd.
> This menas a really slow performance.
> I hope my config somehow is suboptimal  ?
> Or is this behavior unevitable with inetd.

That's exactly right. Whenever a request comes in on port 80, inetd starts up 
an apache process to handle it. Once the request is completed, inetd kills 
the apache process.

If you want to run apache as a daemon, run it from the /etc/init.d/ start up 
scripts. Don't forget to modify your httpd.conf to:

ServerType standalone

>
> (2) Where is mime_magic ?
> 
> This is probabIy more debian-related...
>
> # /var/log/apache/error.log:
>>>
> [Wed Jul  2 19:09:08 2003] [error] (2)No such file or directory:
> mod_mime_magic: can't read magic file /etc/apache/share/magic
><<

This is bug #159000 which has been fixed. You might just need to upgrade 
apache.

Otherwise, if you comment out the line:

MIMEMagicFile share/magic

in your apache config, you shouldn't get this error anymore. 

>From the apache docs:

This module determines the MIME type of files in the same way the Unix 
file(1) command works: it looks at the first few bytes of the file. It 
is intended as a "second line of defense" for cases that mod_mime can't
resolve. 

I wouldn't be too concerned about removing this functionality, as I imagine 
it's rarely needed. I bet someone will chime in now with the many times this
has been really useful for them and I'll be suitably shameful...

Cheers,
Paul.


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



DMA Problem

2003-07-06 Thread Marcel Gschwandl
Hi folks,

I already asked about this issue once but didn't get any answers so I
try it again.

I have an IBM Thinkpad A31p with Debian sarge + some sid packages on it.
Recently I updated to kernel 2.4.21 but with this kernel it seems not to
be possible to change into DMA mode. (it was possible with 2.4.20).

A "hdparm -d 1 /dev/hda" reports:
/dev/hda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Operation not permitted
 using_dma=  0 (off)
Has anybody a hint why this can happen or at least where I can get some
answers?

Thanks in advance
Marcel

-- 
Marcel Gschwandl <[EMAIL PROTECTED]>

The day Microsoft invents something that doesn't suck
is the day they start making vacuum cleaners. -- Ernst Jan Plugge


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



Re: DMA Problem

2003-07-06 Thread Klaus Rechert
Hi,


try as root

Klaus


On 06 Jul 2003 16:19:06 +0200
Marcel Gschwandl <[EMAIL PROTECTED]> wrote:

> Hi folks,
> 
> I already asked about this issue once but didn't get any answers so I
> try it again.
> 
> I have an IBM Thinkpad A31p with Debian sarge + some sid packages on it.
> Recently I updated to kernel 2.4.21 but with this kernel it seems not to
> be possible to change into DMA mode. (it was possible with 2.4.20).
> 
> A "hdparm -d 1 /dev/hda" reports:
> /dev/hda:
>  setting using_dma to 1 (on)
>  HDIO_SET_DMA failed: Operation not permitted
>  using_dma=  0 (off)
> Has anybody a hint why this can happen or at least where I can get some
> answers?
> 
> Thanks in advance
> Marcel
> 
> -- 
> Marcel Gschwandl <[EMAIL PROTECTED]>
> 
> The day Microsoft invents something that doesn't suck
> is the day they start making vacuum cleaners. -- Ernst Jan Plugge
> 
> 
> -- 
> 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: apache

2003-07-06 Thread Russell Coker
On Sun, 6 Jul 2003 23:35, Paul Bryan wrote:
> That's exactly right. Whenever a request comes in on port 80, inetd starts
> up an apache process to handle it. Once the request is completed, inetd
> kills the apache process.

inetd does not kill the Apache process, it reaps (via wait()) the Apache 
process when Apache dies of it's own accord.

If Apache decides not to die then most (all?) inetd programs will happily 
allow it to do so.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


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



Re: DMA Problem

2003-07-06 Thread Marcel Gschwandl
Hi again,

I was root. As non root I would get
HDIO_SET_DMA failed: Permission denied
and not 
HDIO_SET_DMA failed: Operation not permitted

thanks anyway
Marcel


On Sun, 2003-07-06 at 16:34, Klaus Rechert wrote:
> Hi,
> 
> 
> try as root
> 
>   Klaus
> 
> 
> On 06 Jul 2003 16:19:06 +0200
> Marcel Gschwandl <[EMAIL PROTECTED]> wrote:
> 
> > Hi folks,
> > 
> > I already asked about this issue once but didn't get any answers so I
> > try it again.
> > 
> > I have an IBM Thinkpad A31p with Debian sarge + some sid packages on it.
> > Recently I updated to kernel 2.4.21 but with this kernel it seems not to
> > be possible to change into DMA mode. (it was possible with 2.4.20).
> > 
> > A "hdparm -d 1 /dev/hda" reports:
> > /dev/hda:
> >  setting using_dma to 1 (on)
> >  HDIO_SET_DMA failed: Operation not permitted
> >  using_dma=  0 (off)
> > Has anybody a hint why this can happen or at least where I can get some
> > answers?
> > 
> > Thanks in advance
> > Marcel
> > 
> > -- 
> > Marcel Gschwandl <[EMAIL PROTECTED]>
> > 
> > The day Microsoft invents something that doesn't suck
> > is the day they start making vacuum cleaners. -- Ernst Jan Plugge
> > 
> > 
> > -- 
> > 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: sound on dell inspiron 5100

2003-07-06 Thread Abhay Pradhan
>On Wed Jun 11, 2003 at 12:34:59PM +0300, Manolis Tzanidakis wrote:
> [20030611] Abhay Pradhan ([EMAIL PROTECTED]) wrote:
> 
> > I am trying to get sound to work on a dell inspiron 5100.
> > Windows reports the soundcard as a sigmatel c major audio card.
> > The distro I am using is debian.
> > I looked for a linux driver for this soundcard but was not successful.
> > Any ideas on how to go about this would be a great help.
> 
> I'd suggest to use ALSA if your sound card is supported.
> Do :
> $ lspci -v
> 
> to find your sound card's exact type and check the card matrix
> at www.alsa-project.org to see if it's supported.
> 
> Then check these pages for how to install alsa (the debian way):
> 
> http://www.linuxorbit.com/modules.php?op=modload&name=Sections&file=index&req=viewarticle&artid=541&page=1
> 
> http://www.sonic.net/~rknop/linux/debian_alsa.html

I tried downloading alsa using apt-get. unfortunately, while configuring
I get an error

--
herenya:~# apt-get install alsa-source alsa-base alsa-utils
Reading Package Lists... Done
Building Dependency Tree... Done
Sorry, alsa-source is already the newest version.
Sorry, alsa-base is already the newest version.
Sorry, alsa-utils is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 120  not
upgraded.
1 packages not fully installed or removed.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up alsa-modules-2.4.20 (0.9.4-1+1) ...
Configuration file for ALSA 0.9 exists.
Attempting to start.

Setting up alsa-modules-2.4.20 (0.9.4-1+1) ...
Configuration file for ALSA 0.9 exists.
Attempting to start.

Shutting down ALSA (unknown version): not running
Starting ALSA (unknown version): failed - ALSA modules not installed
invoke-rc.d: initscript alsa, action "restart" failed.
dpkg: error processing alsa-modules-2.4.20 (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
alsa-modules-2.4.20
E: Sub-process /usr/bin/dpkg returned an error code (1)
--

So I am at a loss here. 
:(


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



hotkeys and poweroff

2003-07-06 Thread Julien MARY

Hi,

I am using compaq evo n160, but your answer can suppose it
is evo family.

I want to enable a smart "shutdown -h now" at hitting the
power button of my laptop.

Anyone has already set this correctly ? 

I don't think the package hotkeys is the solution.

Julien


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



Re: hotkeys and poweroff

2003-07-06 Thread Sean 'Shaleh' Perry
On Sunday 06 July 2003 11:30, Julien MARY wrote:
>
>   I want to enable a smart "shutdown -h now" at hitting the
> power button of my laptop.
>

I believe this is handled via ACPI.


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



Re: BIOS entry

2003-07-06 Thread Claus Brucher
On my thinkpad 390x just by pressing the f1 button at startup...

On Fri, 2003-07-04 at 17:29, Lynn Haas wrote:
> Can you tell me how to get to the bios on my ThinkPad 380ED ?
-- 
Claus Brucher <[EMAIL PROTECTED]>


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



Re: First timer attempting to start from scratch with installation of all on laptop. HELP!!!

2003-07-06 Thread Thorsten Haude
Hi,

* Tania Bristowe <[EMAIL PROTECTED]> [2003-07-06 10:55]:
>I really don't know where to begin. I bought the Dell Latitude CPxH500GT from a 
>ligitimate auction.
>
>It is as follows;   Pentium III-500, 128MB, Vid memory(8MB), Level 2 cache - 256MB
>BIOS Version A05
>
>I need to install drivers for everything. Where do I start?

You should have a look at Knoppix, which runs from CD. If it works for
you, you could get it on disk to speed up access and free the CD drive.

http://www.knopper.net/knoppix/index-en.html


Thorsten
-- 
It is exactly because markets are amoral that we cannot
leave the allocation of resources entirely to them.
- George Soros


pgp0.pgp
Description: PGP signature


Re: Wi-Fi newbie...

2003-07-06 Thread Matt Foster
I think that this page:
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/ is fairly handy.
There seems to be quite a lot of info there on just about everything
Wavelan related.

Matt


Quoting Manolis Tzanidakis ([EMAIL PROTECTED]):
> Hello all,
> I want to implement a Wireless connection of my laptop & desktop
> box at home (both debian sid) however I'm a complete newbie on 
> that subject & will like to learn things.
> Is there any good site for *linux-only* Wi-Fi stuff, like
> how-tos, hardware compatibility, wep etc ?
> A quick googling I did showed only windoze-friendly sites.
> 

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042


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



Re: ide CD Bruner

2003-07-06 Thread Matt Foster
Quoting mi ([EMAIL PROTECTED]):
> Does anybody know if cdrecord recently supports ide burning ?
> 

The 'normal' method to get cd IDE burners going under linux is to use
the ide-scsi kernel module, by passing hdx=ide-scsi on the kernel
command line. 

I think I'm right in saying that pre 2.5 kernels do not support native
IDE burning...

Also, reading this: http://www.codemonkey.org.uk/post-halloween-2.5.txt
suggests that the 2.5 kernel series _does_ do native IDE burning, but
only with a new version of cdrecord.

I think it's fairly likely that this is what cdrecord has just started
supporting.

HTH,

matt

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042


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



Re: DMA Problem

2003-07-06 Thread Matt Foster
Quoting Marcel Gschwandl ([EMAIL PROTECTED]):
> Hi again,
> 
> I was root. As non root I would get
> HDIO_SET_DMA failed: Permission denied
> and not 
> HDIO_SET_DMA failed: Operation not permitted
> 
have you tried querying the drive with hdparm -I?
This should give you some indication of if can handle DMA.

If you find It can't, you may need specific kernel drivers to enable it.
I, for example, have an NForce2 chipset which works ok with generic IDE
support, but won't do DMA transfers (or mode changes) without a patch.

cheers,

Matt

-- 
Matt Foster

[EMAIL PROTECTED]
[EMAIL PROTECTED]
http://www.mattfoster.clara.co.uk 
icq: 106411042


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



RE: BIOS entry

2003-07-06 Thread DePriest, Jason R.
Title: Message



Try 
turning it off.
And 
then turn it on while holding down the F1 key.  Keep it held down until you 
see the BIOS.
This 
is how I get into the BIOS on a 380D, so I am hoping it is the same or 
similar.

  
  -Original Message-From: Lynn Haas 
  [mailto:[EMAIL PROTECTED] Sent: Friday, July 04, 2003 10:45 
  AMTo: [EMAIL PROTECTED]Subject: BIOS 
  entry
  Can you tell me how to get to the bios on my 
  ThinkPad 380ED ?


Re: DMA Problem

2003-07-06 Thread Marcel Gschwandl
the HD should be able to handle DMA because I was able to enable it with
hdparm and an kernel 2.4.20.

output of "hdparm -I /dev/hda":


/dev/hda:

ATA device, with non-removable media
Model Number:   IC25T060ATCS05-0
Serial Number:  CSL805DEG81H2A
Firmware Revision:  CA8OA71A
Standards:
Used: ATA/ATAPI-5 T13 1321D revision 3
Supported: 5 4 3 2 & some of 6
Configuration:
Logical max current
cylinders   16383   16383
heads   16  16
sectors/track   63  63
--
CHS current addressable sectors:   16514064
LBAuser addressable sectors:  117210240
device size with M = 1024*1024:   57231 MBytes
device size with M = 1000*1000:   60011 MBytes (60 GB)
Capabilities:
LBA, IORDY(can be disabled)
bytes avail on r/w long: 4  Queue depth: 1
Standby timer values: spec'd by Vendor, no device specific
minimum
R/W multiple sector transfer: Max = 16  Current = 16
Advanced power management level: 128 (0x80)
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
 Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
 Cycle time: no flow control=240ns  IORDY flow control=120ns
Commands/features:
Enabled Supported:
   *NOP cmd
   *READ BUFFER cmd
   *WRITE BUFFER cmd
   *Host Protected Area feature set
   *Look-ahead
   *Write cache
   *Power Management feature set
Security Mode feature set
   *SMART feature set
   *Device Configuration Overlay feature set
SET MAX security extension
Address Offset Reserved Area Boot
Power-Up In Standby feature set
   *Advanced Power Management feature set
   *SMART self-test
   *SMART error logging
Security:
Master password revision code = 65534
supported
not enabled
not locked
frozen
not expired: security count
not supported: enhanced erase
60min for SECURITY ERASE UNIT.
HW reset results:
CBLID- above Vih
Device num = 0 determined by the jumper
Checksum: correct



To me this output says it works but it doesn't.
Apropos chipset. It is an Intel i845.

Greets
Marcel


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



Re: DMA Problem

2003-07-06 Thread Marcel Gschwandl
This shouldn't be a problem because my laptop is an IBM A31p which means
P4-M 2.0GHz and an Intel i845 chipset.

And I know this configuration works because to of my friends have the
same notebook and it works just fine there. But we were not able to
figure out what's the difference between their machines and mine.

MfG
Marcel


On Sun, 2003-07-06 at 22:16, criggie wrote:
> Heya Marcel - I have an old P166 laptop with an ISA ide controller - the
> drive is a 6 Gb Fujitsu which is much newer than the machine. The combo
> of drive/controller doesn't support DMA :-(
> 
> I hope you have more luck - but laptops are not exactly speed demons :-\
> 
> On 06 Jul 2003 17:59:19 +0200
> "Marcel Gschwandl" <[EMAIL PROTECTED]> wrote:
> 
> > Hi again,
> > 
> > I was root. As non root I would get
> > HDIO_SET_DMA failed: Permission denied
> > and not 
> > HDIO_SET_DMA failed: Operation not permitted
> > 
> > thanks anyway
> > Marcel
> > 
> > 
> > On Sun, 2003-07-06 at 16:34, Klaus Rechert wrote:
> > > Hi,
> > > 
> > > 
> > > try as root
> > > 
> > >   Klaus
> > > 
> > > 
> > > On 06 Jul 2003 16:19:06 +0200
> > > Marcel Gschwandl <[EMAIL PROTECTED]> wrote:
> > > 
> > > > Hi folks,
> > > > 
> > > > I already asked about this issue once but didn't get any answers
> > > > so I try it again.
> > > > 
> > > > I have an IBM Thinkpad A31p with Debian sarge + some sid packages
> > > > on it. Recently I updated to kernel 2.4.21 but with this kernel it
> > > > seems not to be possible to change into DMA mode. (it was possible
> > > > with 2.4.20).
> > > > 
> > > > A "hdparm -d 1 /dev/hda" reports:
> > > > /dev/hda:
> > > >  setting using_dma to 1 (on)
> > > >  HDIO_SET_DMA failed: Operation not permitted
> > > >  using_dma=  0 (off)
> > > > Has anybody a hint why this can happen or at least where I can get
> > > > some answers?
> > > > 
> > > > Thanks in advance
> > > > Marcel
> > > > 
> > > > -- 
> > > > Marcel Gschwandl <[EMAIL PROTECTED]>
> > > > 
> > > > The day Microsoft invents something that doesn't suck
> > > > is the day they start making vacuum cleaners. -- Ernst Jan Plugge
> > > > 
> > > > 
> > > > -- 
> > > > 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: Wi-Fi newbie...

2003-07-06 Thread Manolis Tzanidakis
[20030706] Matt Foster ([EMAIL PROTECTED]) wrote:

> I think that this page:
> http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/ is fairly handy.
> There seems to be quite a lot of info there on just about everything
> Wavelan related.

Thanx a lot Matt, great url !

-- 
Manolis Tzanidakis
(mtzanidakis-at-freemail-dot-gr)
Jabber: [EMAIL PROTECTED]
ICQ: 102798230
GnuPG Key Fingerprint: 
5CA5 41D6 09F1 C4B9 C331
65EF 4B3F 6979 EB8C 88F3
Get my public key at: pgp.mit.edu


pgp0.pgp
Description: PGP signature


Intel PRO/Wireless 2011 LAN PC Card PCMCIA

2003-07-06 Thread debian-laptop
Hi all,  
  
I got this card: "Intel PRO/Wireless 2011 LAN PC Card PCMCIA"  
  
Does anyone one of you managed to make this card work in rfmon (monitor mode)?  
  
It should be an orinoco chipset and works fine in normal condition but, even if the 
driver are patched, the card seems to not support monitor  
mode.  
Does anyone out there found the right solution and made this card work?  
  
  
Since I'm going to buy a different PCMCIA wireless card could someone suggest me a 
card not too much expensive which supports rfmon?  
  
thanks in advance  
pietro lupi  



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



Intel PRO/Wireless 2011 LAN PC Card PCMCIA

2003-07-06 Thread debian-laptop
Hi all, 
 
I got this card: "Intel PRO/Wireless 2011 LAN PC Card PCMCIA" 
 
Does anyone one of you managed to make this card work in rfmon (monitor mode)? 
 
It should be an orinoco chipset and works fine in normal condition but, even if the 
driver are patched, the card seems to not support monitor 
mode. 
Does anyone out there found the right solution and made this card work? 
 
 
Since I'm going to buy a different PCMCIA wireless card could someone suggest me a 
card not too much expensive which supports rfmon? 
 
thanks in advance 
pietro lupi


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



IRDA on asus L3tp

2003-07-06 Thread debian-laptop
Hi all,  
 
I'm curious to know if someone out there has IRDA working on ASUS L3TP 
I can't even see the tty entry in the output dmesg  
 
dmesg | grep -i tty 
ttyS00 at 0x03f8 (irq = 4) is a 16550A 
 
which is the standard serial! no irda reference found! 
 
how can i make this thing appear to work on it?  
I have read a lot of docs to make IRDA work withr linux but everything seems to refer 
to a serial emulation of irda which i can't see. 
 
thanks 
pietro lupi 



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



PCMCIA Networkcard Problem after Kernel 2.4.18

2003-07-06 Thread Cyber-Alvin
I had kernel 2.2.20 and anything was fine.
I format the Harddisk and made a compl. new
installation. I install debian base with kenel
2.4.18, and I am not getting my PCMCIA Networkcard
running, I tryed many moduls, and also the manifactur
install readme about linux, but it is not working with
the kernel 2.4.18.

I have a Sanyo Winkey MBC-S800 Laptop (Japanese one),
Intel P-200MHz MMX, 81MB Ram, 6.1GB.

The PCMCIA Networkcard is a:
Linksys EtherFast 10/100 + 56K Modem PC Card (PCMLN56)

Well, unter the kernal 2.2.20 was this card running fine,
I used the modul arcnet and it workt perfektly...
when I do this modul with the kernel 2.4.18, the modul
will not load, also the tulib modul, the same...


I hope someone can help me...

thanks, your cyber-alvin


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



2.4.18-686 kernel, but no PCMCIA

2003-07-06 Thread Kenneth Jacker
[Sorry if you already saw this on 'debian-user'.  After I sent that
copy, I realized I should have *only* sent it here ... sorry!]

When I boot my Dell laptop with the 2.4.18-bf2.4 kernel, my PCMCIA
card is recognized properly and I can access our local Ethernet.

When using 2.4.18-686, however, I get the following error message
during booting and the "eth0" device is "unknown":

  /lib/modules/2.4.18-686/pcmcia/i82365.o:  unresolved symbol \
   isapnp_find_dev_R9991be23

The value of "PCIC" in /etc/default/pcmcia is "i82365".  The board is
a Xircom.

When booting into the '686' kernel, the board doesn't appear to be
recognized.  This is what I see in "/var/log/messages:

Linux Kernel Card Services 3.1.22
   options:  [pci] [cardbus] [pm]
  ds:  no socket drivers loaded!


Does anyone know how to get the card functional with 2.4.18-686?
Maybe I'm missing a module and/or configuration option?

Thanks,
--
Prof Kenneth H Jacker   [EMAIL PROTECTED]
Computer Science Dept   www.cs.appstate.edu/~khj
Appalachian State Univ
Boone, NC  28608  USA


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



Re: apache

2003-07-06 Thread Paul Bryan
On Mon, Jul 07, 2003 at 01:17:25AM +1000, Russell Coker wrote:
> inetd does not kill the Apache process, 

True, my bad...

> If Apache decides not to die then most (all?) inetd programs will happily 
> allow it to do so.

>From the apache site:

For each http connection received, a new copy of the server is started 
from scratch; after the connection is complete, this program exits.

So unfortunately, it does die after each connection. It may serve a number of
requests on that connection. i.e. with the keep-alive header. This process will
only handle requests from a a single host for a short period though. e.g. 
images found on the same page. Perhaps a number of connections from the same
proxy might be handled by a single process. 

Only serving a single connection makes sense to me, as otherwise it seems to 
defeat the purpose of using inetd in the first place. In any event, I doubt the
apache authors are likely to make a semi-daemon-inetd (i.e. one that doesn't
immediatley die) version of apache. If you want a daemon, run it as one.

Cheers,
Paul.


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



Re: DMA Problem

2003-07-06 Thread ScapeSmerk
I think (but don't quote me) that there is a problem  with DMA in 2.4.21
works fine in 2.4.20, maybe try that
Ben.

Marcel Gschwandl wrote:

Hi again,

I was root. As non root I would get
HDIO_SET_DMA failed: Permission denied
and not 
HDIO_SET_DMA failed: Operation not permitted

thanks anyway
Marcel
On Sun, 2003-07-06 at 16:34, Klaus Rechert wrote:
 

Hi,

try as root

	Klaus

On 06 Jul 2003 16:19:06 +0200
Marcel Gschwandl <[EMAIL PROTECTED]> wrote:
   

Hi folks,

I already asked about this issue once but didn't get any answers so I
try it again.
I have an IBM Thinkpad A31p with Debian sarge + some sid packages on it.
Recently I updated to kernel 2.4.21 but with this kernel it seems not to
be possible to change into DMA mode. (it was possible with 2.4.20).
A "hdparm -d 1 /dev/hda" reports:
/dev/hda:
setting using_dma to 1 (on)
HDIO_SET_DMA failed: Operation not permitted
using_dma=  0 (off)
Has anybody a hint why this can happen or at least where I can get some
answers?
Thanks in advance
Marcel
--
Marcel Gschwandl <[EMAIL PROTECTED]>
The day Microsoft invents something that doesn't suck
is the day they start making vacuum cleaners. -- Ernst Jan Plugge
--
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: apache

2003-07-06 Thread Russell Coker
On Mon, 7 Jul 2003 10:39, Paul Bryan wrote:
> > If Apache decides not to die then most (all?) inetd programs will happily
> > allow it to do so.
[...]
> Only serving a single connection makes sense to me, as otherwise it seems
> to defeat the purpose of using inetd in the first place. In any event, I
> doubt the apache authors are likely to make a semi-daemon-inetd (i.e. one
> that doesn't immediatley die) version of apache. If you want a daemon, run
> it as one.

Yes.  However if Apache does the wrong thing (eg goes into an infinite loop in 
a library - something I've seen many times) then it may run forever if there 
is nothing to stop it.  inetd will not stop it.

For Apache run as a daemon I've put in a ulimit on the CPU time to solve this 
problem (in a normal situation no Apache process will use 1H of CPU time, so 
killing such a process is only doing good).

Maybe one of the more capable inetd's would allow you to set the ulimit before 
spawning a process, otherwise a wrapper script would do the job.

-- 
http://www.coker.com.au/selinux/   My NSA Security Enhanced Linux packages
http://www.coker.com.au/bonnie++/  Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/Postal SMTP/POP benchmark
http://www.coker.com.au/~russell/  My home page


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



Re: DMA Problem

2003-07-06 Thread Marcel Gschwandl
as far as I know the '*' doesn't indicate the current state of the Drive
it only indicates the standard setting of the Firmware. But some how
this isn't used in my case. And I suppose that if it would be already
enabled a "hdparm /dev/hda" wouldn't report this:

/dev/hda:
 multcount= 16 (on)
 IO_support   =  0 (default 16-bit)
 unmaskirq=  0 (off)
 using_dma=  0 (off)
 keepsettings =  0 (off)
 readonly =  0 (off)
 readahead=  8 (on)
 geometry = 7752/240/63, sectors = 117210240, start = 0


and I think with enabled DMA I should be able to copy Files from that HD
faster than at 2MB/s (At least this is the case on my colleague's
notebook ;-) ).

greets 
Marcel

On Mon, 2003-07-07 at 00:59, Matt Foster wrote:
> Quoting Marcel Gschwandl ([EMAIL PROTECTED]):
> > the HD should be able to handle DMA because I was able to enable it with
> > hdparm and an kernel 2.4.20.
> > 
> > output of "hdparm -I /dev/hda":
> > 
> > 
> > /dev/hda:
> > 
> > DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
> >  Cycle time: min=120ns recommended=120ns
> 
> Well, this bit seems to show the driver operating at udma5, which means
> DMA100. So that implies that its already enabled. 
> 
> I have no idea at all why you can't change it though.


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



Re: apache

2003-07-06 Thread Paul Bryan
On Mon, Jul 07, 2003 at 02:04:49PM +1000, Russell Coker wrote:
> Yes.  However if Apache does the wrong thing (eg goes into an infinite loop in 
> a library - something I've seen many times) then it may run forever if there 
> is nothing to stop it.  inetd will not stop it.
> 
> For Apache run as a daemon I've put in a ulimit on the CPU time to solve this 
> problem (in a normal situation no Apache process will use 1H of CPU time, so 
> killing such a process is only doing good).
> 

This isn't so much a case for using inetd as a for filing a bug against 
apache ;-)

Paul.


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