Alsa Problem

2004-11-08 Thread mamas
I installed Debian testing (2.4.27-1-386) with all of its Alsa packages
(apt-get install...) so, afaik, I should get full support of my audio card
(Terratec EWX24/96 i.e. ice1712).
During boot the card gets well detected (Detecting Harware) but then, when
"Starting Alsa" comes out, I can see an error message stating "no soundcard
found".
If, as root, I use alsaconf I get the message
"No supported PnP or PCI card found".
But using lspci I get (amongs the rest):

:02:0d.0 Multimedia audio controller: VIA Technologies Inc. ICE1712
[Envy24] PCI Multi-Channel I/O Controller (rev 02)
Subsystem: TERRATEC Electronic GmbH: Unknown device 1130
Flags: bus master, medium devsel, latency 32, IRQ 21
I/O ports at df80 [size=32]
I/O ports at dfa0 [size=16]
I/O ports at df60 [size=16]
I/O ports at de80 [size=64]
Capabilities: [80] Power Management version 1


I found many posts with suggestions about OSS drivers preventing Alsa driver
to load if loaded before it, but that does not seem to be my case, as lsmod
prints out:

Module  Size  Used byNot tainted
soundcore   3268   0  (autoclean)
input   3040   0  (autoclean)
apm 8364   1  (autoclean)
parport_pc 19432   1  (autoclean)
lp  5540   0
parport21608   1  [parport_pc lp]
printer 6912   1
hw_random   2456   0  (unused)
ehci-hcd   14796   0  (unused)
usb-ohci   16488   0  (unused)
usb-uhci   19504   0  (unused)
usbcore52268   1  [printer ehci-hcd usb-ohci usb-uhci]
e100   42868   1
agpgart39108   0  (unused)
nls_cp437   4284   2  (autoclean)
vfat8716   1  (autoclean)
fat27576   0  (autoclean) [vfat]
sr_mod 11640   0  (unused)
cdrom  26212   0  [sr_mod]
rtc 5768   0  (autoclean)
ext3   65388   2  (autoclean)
jbd34628   2  (autoclean) [ext3]
sd_mod 10764   8  (autoclean)
aic7xxx   121944   4  (autoclean)
scsi_mod   86020   3  (autoclean) [sr_mod sd_mod aic7xxx]
unix   12720 133  (autoclean)


so I don't see any sound driver loaded but soundcore which, as stated in
Alsa's readme files, has to be there.

Any ideas?


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



Re: Passwd fails - what went wrong?

2004-11-08 Thread Anthony Campbell
On 08 Nov 2004, Ritesh Raj Sarraf wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Monday 08 November 2004 09:55 am, Ramasubramanian Ramesh wrote:
> > No that is not the problem. The passwd itself fails and I cannot change
> > passwd for any user. In fact the above transcript points this out.
> >
> > passwd: Authentication token manipulation error
> > adduser: `/usr/bin/passwd lata' returned error code 10.  Aborting.
> >
> > It adds the group alright. It is the passwd setting that fails. It is
> > some PAM setup issue. I do not know for sure if it is. If so what do I
> > need to fix it.
> >
> > Thanks and Regards
> > Ramesh
> 
> You haven't said about which distribution you actually are using ?
> 

Make sure that the keys you press when you type the password generate
what you expect them to. Recently an upgrade changed the keymap I was
getting on bootup (don't know how) and the result was that when I typed
the password I was getting the wrong symbols.

Anthony

-- 
[EMAIL PROTECTED]||  http://www.acampbell.org.uk
using Linux GNU/Debian ||  for book reviews, electronic 
Windows-free zone  ||  books and skeptical articles


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



Re: Alsa Problem

2004-11-08 Thread Jules Dubois
On Sun, 07 Nov 2004 23:20:11 -0800, mamas wrote:

> I installed Debian testing (2.4.27-1-386) with all of its Alsa packages
> (apt-get install...) so, afaik, I should get full support of my audio
> card (Terratec EWX24/96 i.e. ice1712).

It looks like you have a pre-built kernel package, which I never used.
Does it support ALSA?  Do you have the module(s) for that particular card?

> During boot the card gets well detected (Detecting Harware) but then,
> when "Starting Alsa" comes out, I can see an error message stating "no
> soundcard found".

I've been getting that message for weeks (under 2.6.x), but I have the
proper sound modules and sound works properly.

> If, as root, I use alsaconf I get the message "No supported PnP or PCI
> card found".

I'd say this indicates a lack of the proper driver module.  If you have
the module(s), can you load them with modprobe?

> But using lspci I get (amongs the rest):
> 
> :02:0d.0 Multimedia audio controller: VIA Technologies Inc. ICE1712
> [Envy24] PCI Multi-Channel I/O Controller (rev 02)
> Subsystem: TERRATEC Electronic GmbH: Unknown device 1130

The PCI driver in the kernel finds the device and recognizes it.  To make
use of it, you need the ALSA (or, alternatively, OSS) module(s).

> Any ideas?

See which ALSA module is required for your soundcard.

If you don't have it (them), configure ALSA ("--with-cards=" or something
like that).  Build and install the required module.

If you do have the it (them), load them manually or through /etc/modules. 
I use, for ALSA under kernel 2.6:

  snd-emu10k1
  snd-emu10k1-synth

Or, do something similar for OSS.


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



Re: alsaconf

2004-11-08 Thread Jules Dubois
On Mon, 08 Nov 2004 02:29:34 -0500, Rick Pasotto wrote:

> I have installed libasound1, alsa-base, alsa-utils. When I run alsaconf
> it says it can't find any PCI sound cards even though I have an Ensoniq
> AudioPCI (ES1371) that is detected on startup.
> 
> I get gnome window sounds and xmms plays mp3 files so I do have sound.

Check the configuration of one or more of these applications and see where
they send their output.  They may not be using ALSA.

> What else do I need to do to get alsa functional?

Perhaps you're using OSS and need to switch.



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



Re: alsaconf

2004-11-08 Thread Andrea Vettorello
On Mon, 8 Nov 2004 02:29:34 -0500, Rick Pasotto <[EMAIL PROTECTED]> wrote:
> I have installed libasound1, alsa-base, alsa-utils. When I run alsaconf
> it says it can't find any PCI sound cards even though I have an Ensoniq
> AudioPCI (ES1371) that is detected on startup.
> 
> I get gnome window sounds and xmms plays mp3 files so I do have sound.
> What I ultimately want to get working is gnomemeeting and evidently I
> need alsa for that.
>

Gnome play sound on window action via ESound (esd), maybe gnomemeeting
has an option to use esd as audio device.

>
> What else do I need to do to get alsa functional?
> 

Are you running Woody? Look in your /etc/modules if the OSS module
(es1371) is listed or if you have "discover'" or "hotplug" that load
it at boot time (don't know if on Woody hotplug do this).


Andrea


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



Re: MS OutLook Unknown Options ???

2004-11-08 Thread David Dorward
On Mon, 8 Nov 2004 09:25:00 +0500, Nayyar Ahmed <[EMAIL PROTECTED]> wrote:

> I am working in an enviroment where LINUX + QMail
> is configured as Mail Server, when my clients check
> thier mail from MS Outlook the whole Inbox is shift
> to that desktop, which left no Mail copy at server and
> give a huge tension to my, I am un-able to find out any
> option in MS Outlook so that it left a copy of mail on
> QMail Server.

That sounds like an MS Outlook issue, not a QMail issue, and thus
isn't really on topic for this mailing list. Try a generic Windows or
Outlook list.

(I would suggest that you use IMAP rather then POP (as I assume you
are using) since IMAP is intended for viewing on the server and POP is
intended for downloading to a local machine... but Outlook isn't very
good at IMAP.)

-- 
David Dorward 


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



Re: dselect not respecting holds ?

2004-11-08 Thread Maurits van Rees
On Sun, Nov 07, 2004 at 10:05:44PM -0800, James Kirk wrote:
> The dselect's online help states, when describing key
> usage, the H or = will hold a package in its present
> state, and when describing the meaning of the symbols
> used in the 4 state columns that = denotes the package
> is on hold, and will not be processed at all.
> 
> I don't want texi2html or mctools-lite, and therefore
> don't need cddb, either.  So, I marked these 3 as yet
> uninstalled packages hold (=) thinking that dselect,
> wanting normally to install these recommendations
> would instead hold them in their uninstalled state.

Like I wrote in another mail I think dselect thinks packages marked as
on hold are in some form present on the system. And these on hold
packages might have an old version, incompatible with your updated
packages. So it keeps asking you to update those recommendations and
suggestions. At any rate dselect doesn't like the current status of
those packages and dselect is generally right.

The correct way to keep a package in its current uninstalled form is
*not* to put in on hold. The first time dselect presents you with a
recommended or suggested package that you don't want, simply decline
to install it. Next time dselect should not ask that question again.

In your case you have already marked the unwanted packages as on hold,
which obviously isn't working. So next time you get that screen, mark
them `uninstall' with `-' or probably better as `purge' with `_' to
also remove any config files that may somehow be present.


If that still doesn't work mail us the outcome of the following
command (root or normal user doesn't matter):

dpkg -l tetex-bin texi2html gramofile mctools-lite cddb

Here is the result on my system. I obviously made some other choices
on which packages I want, so your outcome should be quite different.
Ignore the Dutch language.

Gewenst=(U)Onbekend/Installeren/Remove/Purge/Hold
| Status=Niet/geInstalleerd/Config/Uitgepakt/(F)config-mislukt/Half-geinst
|/ Fout?=(geen)/Hold/Reinst nodig/X=beide (Status,Fout: hoofdlett=ernstig)
||/ Naam   Versie Omschrijving
+++-==-==-
ii  tetex-bin  2.0.2-22   The teTeX binary files
ii  texi2html  1.66-1.2   Convert Texinfo files to HTML
pn  gramofile   (geen beschrijving beschikbaar)
pn  mctools-lite(geen beschrijving beschikbaar)
ii  cddb   2.6-17 CD DataBase support tools

-- 
Maurits van Rees | http://maurits.vanrees.org/ [Dutch/Nederlands]
"Let your advance worrying become advance thinking and planning."
 - Winston Churchill


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



Problem with apt

2004-11-08 Thread andreas . sumper

Hi List!

I have a real problem with apt.
The error is:
dab1:/var/lib/dpkg# apt-get update
OK   http://ftp.at.debian.org testing/main
Packages
OK   http://ftp.at.debian.org testing/main
Release
OK   http://ftp.at.debian.org testing/main
Sources
OK   http://ftp.at.debian.org testing/main
Release
OK   http://security.debian.org
testing/updates/main Packages
OK   http://security.debian.org
testing/updates/main Release
OK   http://debian.inode.at testing/main
Packages
OK   http://debian.inode.at testing/main
Release
OK   http://debian.inode.at testing/main
Sources
OK   http://debian.inode.at testing/main
Release
Paketlisten werden gelesen... Fehler!
E: Kann Paketdatei /var/lib/dpkg/status
nicht parsen (1)
E: Die Paketliste oder die Statusdatei
konnte nicht geparst oder geöffnet werden.

So I tried to move status.old to status
-> the same error
I tried to move /var/backup/dpkg.status.0
to /var/lib/dpkg/status -> the same error

Is there no possibilty to recreate the
file? Or is my apt corrupted...

Thanks for any hints!

Bye,
Andy

| Andreas Sumper
| Administration / Services / IT Security
| nimbus Development IT Consulting GmbH
| we unleash the power of domino 
| 
| Annenstrasse 30/1
| 8020 Graz
| Tel.: +43 (0) 316 714 255 -> DW 18
| Fax: +43 (0) 316 714 255 -> DW 4
| http://www.nimbus.at/

| sent through Lotus Notes 6.5.1 
| using wine on a linux box



Re: Alsa Problem

2004-11-08 Thread Ismael Valladolid Torres
El domingo  7 de noviembre de 2004 a las 23:20:11, mamas escribe:
> so I don't see any sound driver loaded but soundcore which, as stated in
> Alsa's readme files, has to be there.

Given the lsmod output provided, looks like neither OSS nor ALSA are
being loaded during startup. Try out this as root and tell us the
output:

# discover sound

Cordially, Ismael


signature.asc
Description: Digital signature


Re: alsaconf

2004-11-08 Thread Ismael Valladolid Torres
El lunes  8 de noviembre de 2004 a las 02:29:34, Rick Pasotto escribe:
> I have installed libasound1, alsa-base, alsa-utils. When I run alsaconf
> it says it can't find any PCI sound cards even though I have an Ensoniq
> AudioPCI (ES1371) that is detected on startup.

Are you running woody, sarge or sid?

Cordially, Ismael


signature.asc
Description: Digital signature


Re: MS OutLook Unknown Options ???

2004-11-08 Thread Clive Menzies
On (08/11/04 09:25), Nayyar Ahmed wrote:
> Hello All,
> 
> I am working in an enviroment where LINUX + QMail
> is configured as Mail Server, when my clients check 
> thier mail from MS Outlook the whole Inbox is shift 
> to that desktop, which left no Mail copy at server and 
> give a huge tension to my, I am un-able to find out any
> option in MS Outlook so that it left a copy of mail on
> QMail Server.
> 
> TIA,
The option exists but where depends on the Outlook version.  Tools
>Email Accounts and then Advanced is normally where you will find it.
>Outlook is v quirky and idiosyncratic.

HTH

Clive



-- 
www.clivemenzies.co.uk ...
...strategies for business



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



Re: playing cds

2004-11-08 Thread Chad Davis
I too have not been able to play audio cds with alsa.  I have not
tried with OSS however.

My sound card is:
:00:11.5 Multimedia audio controller: VIA Technologies, Inc.
VT8233/A/8235/8237 AC97 Audio Controller (rev 60)


On Sun, 07 Nov 2004 10:57:10 -0800, Paul Johnson
<[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Sean <[EMAIL PROTECTED]> writes:
> 
> > Ok, I have my cd-rom drive conected to my sound card.and normal sound
> > works but cd's do not.  I am a member of groups audio and disk.  cdcd
> > doesn't give me any error messages, but nothing plays.  What am I
> > missing here?
> 
> Mixer volume?
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.5 (GNU/Linux)
> 
> iD8DBQFBjnAGUzgNqloQMwcRAnO7AKCcrx1Ss7crxlcDerCYBB4mOmbb7ACg3e+a
> 1k/EBf7HkpIM3xmaiakxxQ4=
> =HUXy
> -END PGP SIGNATURE-
> 
> 
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 


-- 
Chad Davis
[EMAIL PROTECTED]


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



when sarge will be released?

2004-11-08 Thread RituRaj
Any approx dates? 



__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


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



Re: when sarge will be released?

2004-11-08 Thread Thomas Adam
 --- RituRaj <[EMAIL PROTECTED]> wrote: 
> Any approx dates? 

When it's ready.

-- Thomas Adam

=
"The Linux Weekend Mechanic" -- http://linuxgazette.net
"TAG Editor" -- http://linuxgazette.net

" We'll just save up your sins, Thomas, and punish 
you for all of them at once when you get better. The 
experience will probably kill you. :)"

 -- Benjamin A. Okopnik (Linux Gazette Technical Editor)





___ALL-NEW Yahoo! 
Messenger - all new features - even more fun! http://uk.messenger.yahoo.com


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



Re: strange umask behaviour

2004-11-08 Thread Clive Menzies
On (07/11/04 20:13), Ali Alphan Bayazit wrote:
> On Sun, 2004-11-07 at 23:30 +, Clive Menzies wrote:
> > a shell script for example?  What actually alerted me to this was
> > a .sh
> > to back-up a file to a series of backup files as an exercise.  But it
> > couldn't seem to create the files.
> >  
> most programs specify their file creation permissions as 666 (except
> maybe linkers)
> so when the mask is applied,
> it is applied on 666 not 777,
> obviously for directories it is different
> 
> you can set umask to 000 so you can see the file creation permissions.
> umask 000
> echo something > test1 
> ls -l test1
> # this is bash's file creation permissions 666
> cp test1 test2
> ls -l test2
> # this is cp's...
> 
> so as you see they should both start with 666 and then mask is applied
Thanks Ali

I searched through my various books and online for such an explanation
to no avail.

Regards

Clive


> 
> if you are using cp for backup, you may want to use cp -p to preserve
> permissions (including execution)
> 
> in that case, if you want to reset some permissions, you should
> explicitly call chmod og-rxw (whatever), as cp sets the permissions
> after file creation (effectively umask is ignored).
> 
> good luck,

-- 
www.clivemenzies.co.uk ...
...strategies for business



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



Re: strange umask behaviour

2004-11-08 Thread Clive Menzies
On (08/11/04 11:25), Ritesh Raj Sarraf wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Monday 08 November 2004 05:15 am, Clive Menzies wrote:
> > On (07/11/04 18:04), Ali Alphan Bayazit wrote:
> > > On Sun, 2004-11-07 at 22:05 +, Clive Menzies wrote:
> > > > Hi
> > >
> > > hello,
> > >
> > > > In my .bashrc and .bash_profile I have umask set at 022 however when I
> > > > create a file, the permissions look like this:
> > > >
> > > > -rw-r--r--
> > >
> > > that looks correct to me, (r=4,w=2,x=1)
> > > mask 666 using 022 = 644
> >
> > My understanding is that it is mask 777 using 022 = 755
> 
> 666 - 022 = 644 (This is applicable for files)
> 777 - 022 = 755 (This is applicable for folders)
Thanks Ritesh

-- 
www.clivemenzies.co.uk ...
...strategies for business



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



Re: when sarge will be released?

2004-11-08 Thread RituRaj
When will it be ready? :-)
-Rituraj
--- Thomas Adam <[EMAIL PROTECTED]> wrote:

>  --- RituRaj <[EMAIL PROTECTED]> wrote: 
> > Any approx dates? 
> 
> When it's ready.
> 
> -- Thomas Adam
> 
> =
> "The Linux Weekend Mechanic" --
> http://linuxgazette.net
> "TAG Editor" --
> http://linuxgazette.net
> 
> " We'll just save up your sins, Thomas, and
> punish 
> you for all of them at once when you get better. The
> 
> experience will probably kill you. :)"
> 
>  -- Benjamin A. Okopnik (Linux Gazette Technical
> Editor)
> 
> 
>   
>   
>   
>
___ALL-NEW
> Yahoo! Messenger - all new features - even more fun!
> http://uk.messenger.yahoo.com
> 
> 
> -- 
> To UNSUBSCRIBE, email to
> [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 
> 




__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


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



Re: when sarge will be released?

2004-11-08 Thread Alexandros Papadopoulos
On Monday 08 November 2004 12:36, RituRaj wrote:
> When will it be ready? :-)
> -Rituraj

When everyone reads and understands this document:
http://www.catb.org/~esr/faqs/smart-questions.html

-A


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



Re: missing files in install cd - built using jigdo

2004-11-08 Thread Ben Hutchings
tom midgley wrote:
I built an iso, using 
'http://non-us.cdimage.debian.org/jigdo-area/3.0_r2/jigdo/i386/woody-i386-7.jigdo'. 

The installer gave the the following message  :
"The installation program couldn't find any directory containing the 
files rescue.bin, drivers.tgz"
- it was right, they weren't on the CD.

On ungzipping the .jigdo file they weren't listed in there either. 
Presumably they weren't on the iso from which the .jigdo was built.
This is similar to Bug#221266
So it looks as if there is an iso build script somewhere which misses 
these files.

I don't think so.  They belong on disc 1 along with the installer, not 
on disc 7.

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



Re: when sarge will be released?

2004-11-08 Thread Carl Fink
It's a fair question.  It might not be ANSWERABLE, but it's a
reasonable question.

Speaking as the admin of a Woody server, it's not really usable any
more.  I'm in the position now of considering other distros just
because this stays up in the air.

At this point, truthfully, I'm wondering when Etch is due for
release.  If it's another multi-year wait, I'll have to look at
alternatives.
-- 
Carl Fink [EMAIL PROTECTED]
Jabootu's Minister of Proofreading
http://www.jabootu.com


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



Problems with DHCP Setup

2004-11-08 Thread Joshua J. Brickel




Hi Folks,

I was hoping that someone might be able to help me with this or direct
me to another internet group that would

Summary:
DHCP is not getting set-up correctly on the Linux side.  On the Windows
side all is okay.  So the network card would appear okay.

Detailed Description:

Linux/Debian:  It doesn't seem to matter which kernel is used (tried
both 2.4.25 and 2.6.7).  The ethernet driver in  use is the fealnx.
Hardware:  PC with AMD K7 processor.

Connectivity:  I am trying to connect to a cable modem.  The way it
works by me is first you get a dhcp lease from the cable company and
then one tunnels using pptp to obtain the connection to the ISP.  The
present problem is that the initial dhcp connection does not seem to be
properly setup.  

When running dhclient the following occurs:
---
andromeda:/etc# dhclient
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.
 
Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html
 
Listening on LPF/dummy0/1a:60:19:07:1a:f0
Sending on   LPF/dummy0/1a:60:19:07:1a:f0
Listening on LPF/lo/
Sending on   LPF/lo/
Listening on LPF/eth0/00:e0:50:02:89:88
Sending on   LPF/eth0/00:e0:50:02:89:88
Sending on   Socket/fallback/fallback-net
DHCPDISCOVER on dummy0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on lo to 255.255.255.255 port 67 interval 4
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 10.206.192.1
SIOCADDRT: Network is unreachable
bound to 172.25.221.21 -- renewal in 271209 seconds.
andromeda:/etc# 
-

Things that I have noticed here are:
1) the IP address that the card binds to 172.25.221.21 is the same
address each time and is NOT the same as on the Windows side.
2) The message "SIOCADDRT: Network is unreachable" can not be good.

Except for the IP address the differences between ifconfig for linux
and ipconfig for Windows seem small:
Linux:
andromeda:/etc# ifconfig
eth0  Link encap:Ethernet  HWaddr 00:E0:50:02:89:88
  inet addr:172.25.221.21  Bcast:255.255.255.255 
Mask:255.255.224.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:12118 errors:0 dropped:0 overruns:0 frame:0
  TX packets:5 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:786783 (768.3 KiB)  TX bytes:1710 (1.6 KiB)
  Interrupt:18 Base address:0xe800
 
lo    Link encap:Local Loopback
  inet addr:127.0.0.1  Mask:255.0.0.0
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:211 errors:0 dropped:0 overruns:0 frame:0
  TX packets:211 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0
  RX bytes:66050 (64.5 KiB)  TX bytes:66050 (64.5 KiB)
 
andromeda:/etc#

Windows:

C:\Documents and
Settings\Joshua>ipconfig /all


Windows IP Configuration


Host Name . . . .
. . . . . . . . : andromeda

Primary Dns Suffix . . . . . . . :

Node Type . . . .
. . . . . . . . : Unknown

IP Routing
Enabled. . . . . . . . : No

WINS Proxy
Enabled. . . . . . . . : No


Ethernet adapter Local
Area Connection 2:


Connection-specific
DNS Suffix . :

Description . . .
. . . . . . . . : Realtek RTL8139/810X Family PCI Fast

Ethernet NIC

Physical Address.
. . . . . . . . : 00-E0-50-02-89-88

Dhcp Enabled. . .
. . . . . . . . : Yes

Autoconfiguration
Enabled . . . . : Yes

IP Address. . . .
. . . . . . . . : 172.25.207.86

Subnet Mask . . .
. . . . . . . . : 255.255.224.0

Default Gateway .
. . . . . . . . : 172.25.224.1

DHCP Server . . .
. . . . . . . . : 213.57.35.2

DNS Servers . . .
. . . . . . . . : 192.168.101.102

192.168.101.101

Lease Obtained. .
. . . . . . . . : Monday, November 08, 2004 11:26:45 A

M

Lease Expires . .
. . . . . . . . : Sunday, November 14, 2004 1:49:53 AM



C:\Documents and
Settings\Joshua>
--

At this point I probably should mention that Debian during installation
told me I should use the fealnx driver, while windows used the Realtek
RTL... driver.  Normally I would have thought that therefore my card
would correspond to the 8139too driver, but that driver I would never
work with the card while the fealnx driver binded right to it.  

Well, back to the main point

Finally the difference in the route tables are:...

Linux:
andromeda:/etc# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref    Use
Iface
172.25.192.0    *   255.255.224.0   U 0  0    0
eth0
andromeda:/etc# 
--

While Windows is something huge...

C:\Documents and
Settings\Joshua>route print

===

Interface List

0x1
... MS TCP Loopback in

Re: when sarge will be released?

2004-11-08 Thread RituRaj
Thanks for the prompt reply. I didnt get it though.

--- Alexandros Papadopoulos
<[EMAIL PROTECTED]> wrote:

> On Monday 08 November 2004 12:36, RituRaj wrote:
> > When will it be ready? :-)
> > -Rituraj
> 
> When everyone reads and understands this document:
> http://www.catb.org/~esr/faqs/smart-questions.html
> 
> -A
> 
> 
> -- 
> To UNSUBSCRIBE, email to
> [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 
> 




__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


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



upgrading from woody to sarge via cds

2004-11-08 Thread Vijaya S
hi all
i downloaded the 14 iso images of sarge
i have a woody machine how do i upgrade it to sarge.
whats the procedure

Regards,
Vijaya


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



Re: when sarge will be released?

2004-11-08 Thread Vijaya S
how can i upgrade woody to sarge since i have downloaded 14 cds iso rather


RituRaj wrote:

> Thanks for the prompt reply. I didnt get it though.
>
> --- Alexandros Papadopoulos
> <[EMAIL PROTECTED]> wrote:
>
> > On Monday 08 November 2004 12:36, RituRaj wrote:
> > > When will it be ready? :-)
> > > -Rituraj
> >
> > When everyone reads and understands this document:
> > http://www.catb.org/~esr/faqs/smart-questions.html
> >
> > -A
> >
> >
> > --
> > To UNSUBSCRIBE, email to
> > [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> > [EMAIL PROTECTED]
> >
> >
>
>
> __
> Do you Yahoo!?
> Check out the new Yahoo! Front Page.
> www.yahoo.com
>
>
> --
> 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: when sarge will be released?

2004-11-08 Thread Werner Mahr
Am Montag, 8. November 2004 11:40 schrieb Alexandros Papadopoulos:
> On Monday 08 November 2004 12:36, RituRaj wrote:
> > When will it be ready? :-)
> > -Rituraj
>
> When everyone reads and understands this document:
> http://www.catb.org/~esr/faqs/smart-questions.html

Then it will never be released.

-- 
MfG usw.

Werner Mahr
registered Linuxuser: 295882


pgpcnDqlCqeLQ.pgp
Description: signature


Re: when sarge will be released?

2004-11-08 Thread RituRaj
Chnage your /etc/apt/sources.list to include "testing"
in place of "stable"

--- Vijaya S <[EMAIL PROTECTED]> wrote:

> how can i upgrade woody to sarge since i have
> downloaded 14 cds iso rather
> 
> 
> RituRaj wrote:
> 
> > Thanks for the prompt reply. I didnt get it
> though.
> >
> > --- Alexandros Papadopoulos
> > <[EMAIL PROTECTED]> wrote:
> >
> > > On Monday 08 November 2004 12:36, RituRaj wrote:
> > > > When will it be ready? :-)
> > > > -Rituraj
> > >
> > > When everyone reads and understands this
> document:
> > >
> http://www.catb.org/~esr/faqs/smart-questions.html
> > >
> > > -A
> > >
> > >
> > > --
> > > To UNSUBSCRIBE, email to
> > > [EMAIL PROTECTED]
> > > with a subject of "unsubscribe". Trouble?
> Contact
> > > [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > __
> > Do you Yahoo!?
> > Check out the new Yahoo! Front Page.
> > www.yahoo.com
> >
> >
> > --
> > To UNSUBSCRIBE, email to
> [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
> 
> 




__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


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



Re: when sarge will be released?

2004-11-08 Thread Vijaya S
sorry my doubt is i have sarge cds
i already have woody on the machine so how do i go about


RituRaj wrote:

> Chnage your /etc/apt/sources.list to include "testing"
> in place of "stable"
>
> --- Vijaya S <[EMAIL PROTECTED]> wrote:
>
> > how can i upgrade woody to sarge since i have
> > downloaded 14 cds iso rather
> >
> >
> > RituRaj wrote:
> >
> > > Thanks for the prompt reply. I didnt get it
> > though.
> > >
> > > --- Alexandros Papadopoulos
> > > <[EMAIL PROTECTED]> wrote:
> > >
> > > > On Monday 08 November 2004 12:36, RituRaj wrote:
> > > > > When will it be ready? :-)
> > > > > -Rituraj
> > > >
> > > > When everyone reads and understands this
> > document:
> > > >
> > http://www.catb.org/~esr/faqs/smart-questions.html
> > > >
> > > > -A
> > > >
> > > >
> > > > --
> > > > To UNSUBSCRIBE, email to
> > > > [EMAIL PROTECTED]
> > > > with a subject of "unsubscribe". Trouble?
> > Contact
> > > > [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > > __
> > > Do you Yahoo!?
> > > Check out the new Yahoo! Front Page.
> > > www.yahoo.com
> > >
> > >
> > > --
> > > To UNSUBSCRIBE, email to
> > [EMAIL PROTECTED]
> > > with a subject of "unsubscribe". Trouble? Contact
> > [EMAIL PROTECTED]
> >
> >
>
>
> __
> Do you Yahoo!?
> Check out the new Yahoo! Front Page.
> www.yahoo.com
>


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



Re: when sarge will be released?

2004-11-08 Thread Ritesh Raj Sarraf
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday 08 November 2004 05:08 pm, Vijaya S wrote:
> sorry my doubt is i have sarge cds
> i already have woody on the machine so how do i go about

First of all, Don't TOP POST.

As for the problem, apt-cdrom is your friend.


rrs
- -- 
Ritesh Raj Sarraf
RESEARCHUT -- http://www.researchut.com
Gnupg Key ID: 04F130BC
"Stealing logic from one person is plagiarism, stealing from many is 
research".
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBj1e64Rhi6gTxMLwRApiSAKCbYmOpKKhvLwWTAfAYJQkoCY5zZwCdHizN
zacq1LFUg6OXHqLRHvbL0f8=
=8oM0
-END PGP SIGNATURE-



Re: su : must be run from a terminal

2004-11-08 Thread Ben Hutchings
Gilbert, Joseph wrote:
There are two other standard ways to have scripts run with root privileges.
1) For automated tasks, schedule it in root's crontab.  'man crontab' for
more info
2) Use setuid for scripts or programs that are to be run by users who need
root perms to perform a specific task programmed into that script.  You need
to think about security on this one though.  See 'man setuid' and 'man
chmod' for more info.
setuid has long been disabled for scripts, because an attacker could do 
something like this:

ln setuid-script foo; (./foo &); ln -f evil-script foo
If the timing was just right the kernel would read the setuid bit, owner 
and script interpreter from setuid-script but the interpreter would read 
evil-script.  This problem could be avoided if the kernel would pass the 
script to the interpreter using a file descriptor instead of an 
argument, but that's not backward-compatible.

What one can do is to write a specific wrapper for the script in some 
language that can be compiled to executable code, and make that setuid. 
  It's possible to write a generic wrapper in C and use preprocessor 
macros to substitute the name of the specific script when compiling it. 
 The script and its directory should be appropriately protected so that 
only the owner can modify or replace it.

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



Re: how I got usb sticks and card reads mounted/unmounted automatically (using udev)

2004-11-08 Thread Martin Dickopp
"H. S." <[EMAIL PROTECTED]> writes:

> Now to automatically detect if a device is connected hot (USB stick,
> card reader, etc.) you need udev. Then to make udev make a /dev/
> for the device that you connect, you need to tell udev what to look for.
> This is done in a rules file in /etc/udev/rules.d/.

I have a slightly different solution which is also based on udev:
http://www.zero-based.org/debian/usbmount.html

Martin


-- 
   ,--.  ,= ,-_-. =.
  / ,- )Martin Dickopp, Dresden, Germany((_/)o o(\_))
  \ `-'http://www.zero-based.org/`-'(. .)`-'
   `-.   \_/


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



Re: change IP and default route.

2004-11-08 Thread Ben Hutchings
Dr. David Kirkby wrote:

Thank you very much for that - and everyone else that replied. I had not 
seen your post before I see others mentioning /etc/network/interfaces, 
so edit that. so was not sure what to put for the broadcase, although 
since the original ended in .255, I went for that too.

Reading the man pages I found the gateway was optional, which rather 
surprised me. Perhaps the broadcast will get a response from the gateway 
- I am not sure I must admit.

There need not *be* a gateway.  Not every LAN is connected to a wider 
network.

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



Re: when sarge will be released?

2004-11-08 Thread Dave Ewart
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday, 08.11.2004 at 05:55 -0500, Carl Fink wrote:

> Speaking as the admin of a Woody server, it's not really usable any
> more.

I disagree.  Woody is perfectly usable for most purposes.  I accept
there may be some instances where features provided by newer versions of
some software is essential, but many new versions can be backported.

Woody is *very* reliable and, when kept up-to-date, is very secure.

Dave.
- -- 
Dave Ewart - [EMAIL PROTECTED] - jabber: [EMAIL PROTECTED]
All email from me is now digitally signed, key from http://www.sungate.co.uk/
Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92

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

iD8DBQFBj1xGnhBnac0o2pIRApj7AKCBogKKreoY/wFGVldhjqDtsLCtOQCg8KAZ
eQ1VdQAtaPV6s/5LS+ya1Mc=
=h4cd
-END PGP SIGNATURE-


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



Re: Limiting User Commands

2004-11-08 Thread Wouter Verhelst
On Mon, Nov 08, 2004 at 03:14:53AM +0200, [EMAIL PROTECTED] wrote:
> > On Fri, Nov 05, 2004 at 07:53:33PM +0200, [EMAIL PROTECTED] wrote:
> >> >In regards to the latter method, would it be possible for me to change
> >> >the group ownership of the commands I don't want users to have access
> >> to
> >> >and revoke execute permission from that group?
> >>
> >> Yes, you can make something like that: addgroup(access), then change
> >> groupname of commands that you want with that group (access), remember
> >> to
> >> remove "execute/search by others" from commands that are with
> >> group(access), also don't forget to add group(access) to every user that
> >> you want to have access to this commands.
> >
> 
> 
> 
> > The only problem with this approach would be that you'd revoke it from
> > system accounts too, not just your users. It might break in unexpected
> > places.
> >
> > It seems to me that this should be possible with SELinux. What you need
> > would be a role for your users where they are only able to run the
> > commands you want them to run, whereas system accounts would remain
> > unblocked.
> 
> 
> You just need to add group(access) to that system accounts that you want
> or that you think that they'll break in unexpected places... Don't you
> think?

Yes, that would work, but only for as long as you don't add other system
accounts. This would mean that you would have to remember to check
whether a newly-installed package created a new system account, and if
so, that you have to add it to the group, if required. I think this
would probably break at some point, whereas the same is not true with
the SELinux setup (additionally, this will give you increased security,
which is nice too)

-- 
 EARTH
 smog  |   bricks
 AIR  --  mud  -- FIRE
soda water |   tequila
 WATER
 -- with thanks to fortune


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



File System crash

2004-11-08 Thread david.lozano
Hi all,

I've got a new PC and I've just installed that:

On a 160 Gbytes HD, three partitions:

hda1 with Windows 2000 (119 Gbytes), NTFS
hda2 with a Linux swap partition (1 Gbyte)
hda3 with an ext2 file system (40 Gbytes)

My linux installation is a Debian Woody (just downloaded the image files
using jigdo a month ago).

My problem: after rebooting from Linux (ctrl+alt+del) the FS crashed. I
was told to run fsck on /dev/hda3 manually, so I did. I had to use the -y
option because the huge amount of question I was asked (several
thousands). Windows 2000 worked fine.

After running fsck Debian started fine again, but Windows 2000 FS didn't.
It seemed as fsck had done something wrong on hda1... very strange.

I had to install Windows 2000 from scratch again.

Then, two days later I got the same error. Debian startup didn't work, I
was told again to run fsck manually. Just to check, I rebooted and started
Windows 2000: it worked fine. I run then fsck on /dev/hda3, rebooted, and
hda1 was broken again (hda3 was clean).

It seems clear to me that the fsck utility does something on hda1, even
when run on hda3. Is it a known bug? I checked the first partition, and
his FS type has been changed from NTFS to 0x14 :-?. The partition seems
completely corrupted and unrecoverable.

Now I'll re-install Windows 2000 from scratch, but I'd need some advice.
That's what I'm doing:

1. Moving from ext2 to ext3 or ReiserFS. Which one?
2. Even after moving to ext3/ReiserFS, there's a danger (smaller) that
hda3 brokes and I've to run fsck again. What can I do to prevent fsck to
corrupt the first partition? Maybe moving the Linux partition to the HD
beginning (so Linux would be at hda1 and windows at hda3) could help? Does
anyone know why this happen? Has this happen to anyone else?

Thanks,

David
desperated


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



can't install sound module

2004-11-08 Thread belahcene abdelkader
Hi, please I am confused to ask again about sound
card. In the article "post-configuration" I didn't
find answer.
my sound card an isa ess 1869,  (which is detected by
knoppix) is not detected by unbutu distro ( debian
like with gnome desktop)

I try this:

[EMAIL PROTECTED]:/home/bela # modprobe  soundcore
[EMAIL PROTECTED]:/home/bela # modinfo  soundcore
filename:  
/lib/modules/2.6.8.1-3-386/kernel/sound/soundcore.ko
description:Core sound module
author: Alan Cox
license:GPL
alias:  char-major-14-*
vermagic:   2.6.8.1-3-386 preempt 386 gcc-3.3
depends:
[EMAIL PROTECTED]:/home/bela # insmod  soundcore
insmod: can't read 'soundcore': No such file or
directory

Here could't install the module !!!

sndconfig is no longer usable from kernel 2.6 ( module
are *.ko instead of *.o)  

thanks a lot
bela




=




__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


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



Re: playing cds

2004-11-08 Thread Andrea Vettorello
On Mon, 8 Nov 2004 04:05:10 -0600, Chad Davis <[EMAIL PROTECTED]> wrote:
> I too have not been able to play audio cds with alsa.  I have not
> tried with OSS however.
> 
> My sound card is:
> :00:11.5 Multimedia audio controller: VIA Technologies, Inc.
> VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
> 

I've one of this, it's quality is abysmal low, IMHO the the culprit is the 
C-Media Electronics CMI9739, for example the CMI9739 has no PCM volume
control, you can have only on/off, the volume need to be changed via
software by the driver, and IIRC the frequency is 48 KHz fixed and
need to be scaled by software. I'm using ALSA, don't recall using OSS
with this one, YMMV.

I've found that the "Surround" level, as showed on Gnome Volume
Control, control the CD volume, so go figure...


Andrea


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



cannot open display

2004-11-08 Thread belahcene abdelkader

hi, 
in some distro ( like unbutu : debian-like), when I
use the su -  from the normal user to run an
administartor command , I get cannot open display: 0.0
I give the access  with xhost +,( in the normal user )
but the problem remains 
this is an example:

 as a normal login user:

[EMAIL PROTECTED]:~ $ xhost +
access control disabled, clients can connect from any
host
[EMAIL PROTECTED]:~ $

as a root now

[EMAIL PROTECTED]:~ $ su -
Password:
[EMAIL PROTECTED]:~ #
/usr/local/mozilla-installer/mozilla-installer

Gtk-WARNING **: cannot open display: 0.0
[EMAIL PROTECTED]:~ #

best regards
bela


=




__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


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



Re: when sarge will be released?

2004-11-08 Thread Robert Storey
On Mon, 8 Nov 2004 17:10:45 +0545
Ritesh Raj Sarraf <[EMAIL PROTECTED]> wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On Monday 08 November 2004 05:08 pm, Vijaya S wrote:
> > sorry my doubt is i have sarge cds
> > i already have woody on the machine so how do i go about

> As for the problem, apt-cdrom is your friend.

Correct syntax would be...

   apt-cdrom -d /cdrom add

...assuming that /cdrom is where you mount CDs

This will build a new /etc/apt/sources.list. You might want to edit that
first and comment out lines you don't need, or move it to
/etc/apt/sources.list.old

regards,
Robert


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



Re: can't install sound module

2004-11-08 Thread Andrea Vettorello
On Mon, 8 Nov 2004 03:43:20 -0800 (PST), belahcene abdelkader
<[EMAIL PROTECTED]> wrote:
> Hi, please I am confused to ask again about sound
> card. In the article "post-configuration" I didn't
> find answer.
> my sound card an isa ess 1869,  (which is detected by
> knoppix) is not detected by unbutu distro ( debian
> like with gnome desktop)
> 
> I try this:
> 
> [EMAIL PROTECTED]:/home/bela # modprobe  soundcore
> [EMAIL PROTECTED]:/home/bela # modinfo  soundcore
> filename:
> /lib/modules/2.6.8.1-3-386/kernel/sound/soundcore.ko
> description:Core sound module
> author: Alan Cox
> license:GPL
> alias:  char-major-14-*
> vermagic:   2.6.8.1-3-386 preempt 386 gcc-3.3
> depends:
> [EMAIL PROTECTED]:/home/bela # insmod  soundcore
> insmod: can't read 'soundcore': No such file or
> directory
> 
> Here could't install the module !!!
> 
> sndconfig is no longer usable from kernel 2.6 ( module
> are *.ko instead of *.o)
> 

Is suggested to use "modprobe" to load kernel modules instead of
"insmod", look in the man pages for details and "lsmod" to look what
modules are loaded. Be sure to install "module-init-tools" to use
kernel 2.6.x


Andrea


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



Re: cannot open display

2004-11-08 Thread Andrea Vettorello
On Mon, 8 Nov 2004 03:58:12 -0800 (PST), belahcene abdelkader
<[EMAIL PROTECTED]> wrote:
> 
> hi,
> in some distro ( like unbutu : debian-like), when I
> use the su -  from the normal user to run an
> administartor command , I get cannot open display: 0.0
> I give the access  with xhost +,( in the normal user )
> but the problem remains
> this is an example:
> 
>  as a normal login user:
> 
> [EMAIL PROTECTED]:~ $ xhost +
> access control disabled, clients can connect from any
> host
> [EMAIL PROTECTED]:~ $
> 
> as a root now
> 
> [EMAIL PROTECTED]:~ $ su -
> Password:
> [EMAIL PROTECTED]:~ #
> /usr/local/mozilla-installer/mozilla-installer
> 
> Gtk-WARNING **: cannot open display: 0.0
> [EMAIL PROTECTED]:~ #
> 

If you are using Ubuntu is better if you check the Ubuntu
documentation and mailing lists, anyway xhost command is deprecated,
better use xauth instead. Use the man page for details, to add root to
your X session use something like

xauth -f ~$USERNAME/.Xauthority extract - `hostname`/unix:0 | xauth merge -


Andrea


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



Blackdown

2004-11-08 Thread Pedro M (Morphix User)
I cannot apt-get blackdown JRE. The program says: report the problem to 
solve it. I do so.

I want to download and install this wonderfull environment now.
Regards.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound problems

2004-11-08 Thread Cybe R. Wizard
On Sun, 7 Nov 2004 12:17:28 -0600
"Cybe R. Wizard" <[EMAIL PROTECTED]> wrote:

> A recent upgrade (Sid) killed my sound.  I decided to start all
> over and removed any and all programs related to sound, now I cannot
> find OSS anywhere.  Is ALSA my only option?
> 
> Cybe R. Wizard

Never mind, got it fixed.

Cybe R. Wizard
-- 
Unofficial "Wizard of Odds," A.H.P.
Original PORG "Water Wizard," R.P.
"Wize(ned) Wizard," A.P.F-P-Y.
Barely Tolerated Wizard, A.J.L & A.A.L


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



Re: Blackdown

2004-11-08 Thread Andrea Vettorello
On Mon, 08 Nov 2004 13:44:52 +, Pedro M (Morphix User)
<[EMAIL PROTECTED]> wrote:
> I cannot apt-get blackdown JRE. The program says: report the problem to
> solve it. I do so.
> 
> I want to download and install this wonderfull environment now.
> 

It's a Debian or a Morphix related problem?


Andrea


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



Re: Re: when sarge will be released?( install 14 Cd's)?

2004-11-08 Thread belahcene
I think the best way ( I am using it!! ) is:
creat  a web server on ayour or another  machine , you put all your CD's  in a directory
say /var/www/Debian, ( I assume that  your default web is in /var/www,  
the address of the serveur is 192.168.10.10),

now go to /var/www  and run the command 
dpkg-scanpackages Debian /dev/null | gzip > Debian/Packages.gz

To use it from any machine 
in /etc/apt/sources.list  you put this line:
deb http://192.168.10.10 Debian/  
don't forget the / at the end of Debian

Of course you can use ftp server instead of web server
here is my config:
I put all debian packages in 2 machines , and a directory  ( Misc )
to store other packages which are not
on debian sites
deb http://172.19.160.174 Debian/
deb http://172.19.160.173 debs/
deb http://172.19.160.174 Misc/
best regards , I hope this helps you
bela

"sorry my doubt is i have sarge cds
i already have woody on the machine so how do i go about"


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



Re: when sarge will be released?

2004-11-08 Thread Katipo
Ritesh Raj Sarraf wrote:
 -BEGIN PGP SIGNED MESSAGE- Hash: SHA1
 On Monday 08 November 2004 05:08 pm, Vijaya S wrote:
> sorry my doubt is i have sarge cds i already have woody on the
> machine so how do i go about
First of all, don't change your apt.sources list entry to 'testing' or 
when Sarge goes stable, you'll be in trouble for a server.
Change the entries to 'Sarge' instead.
Then 'update'.
Then 'dist upgrade'.
Regards,

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



libapache-auth-ldap with SSL not compiling

2004-11-08 Thread Matthias Eichler
Dear List,

I hope I am right with that:
- for using apache ldap authentication with SSL i do
  have to use libapache-auth-ldap as libapache-mod-ldap
  does not support SSL at all
- for using libapache-auth-ldap with SSL I have to
  recompile the source as the binary package does not
  support SSL/TLS

Now I am confused, because:
- the dpkg-buildpackage of libapache-auth-ldap has to be
  made with the option --with-ldap-sdk=netscape as the
  package does not support the openldap environment for
  SSL support.
  Is this right?!? I have definitely openldap running
  WITH SSL support.
- the Netscape directory SDK is very very old and nearly
  unfindable.
  I just can find the Mozilla directory SDK, but
  libapache-auth-ldap can not compile with the Mozilla
  directory SDK:
---cut---
checking for ldap_init in -lldapssl41... no
checking for ldap_init in -lldapssl41... no
checking for ldap_init in -lldapssl41... no
checking for ldap_init in -lldapssl40... no
checking for ldap_init in -lldapssl40... no
checking for ldap_init in -lldapssl30... no
checking for ldap_init in -lldapssl30... no
checking for ldap_init in -lldapssl20... no
checking for ldap_init in -lldapssl20... no
configure: error: could not find any Netscape library
make: *** [build-stamp] Error 1
---cut---
  This error is more or less right, because the Mozilla SDK
  does not bring the ldapssl*.so anymore...

But: how the !"(&!/("§%&/%(§!%$"§% can I compile libapache-auth-ldap
with SSL support on a debian stable system?!?

Thanks,

Matthias


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



Mcopy not removing the "^M" character

2004-11-08 Thread Eric Dickner
Hello,

I have a text file that I burned onto a CD on a
windows machine.  I used "mcopy" with the t, a and T
options to try and get rid of those "^M" characters (I
forget if that is the line feed or carriage return).

They seem to be gone if I look at the result with
"more" or an X text editor, but when I look at it with
"nano" there they are.  I assume that they are there
but that some programs simply don't display them.

What am I doing wrong?  "mcopy" states that those
options are all for getting rid of that stuff but they
just don't seem to be working...

Thanks,

ejd



__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


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



Re: Re: when sarge will be released?( install 14 Cd's)?

2004-11-08 Thread Andrew M.A. Cater
On Mon, Nov 08, 2004 at 01:50:00PM +0100, belahcene wrote:
> I think the best way ( I am using it!! ) is:
> 
> creat  a web server on ayour or another  machine , you put all your CD's  
> in a directory
> say /var/www/Debian, ( I assume that  your default web is in /var/www,  
> the address of the serveur is 192.168.10.10),
> 
> 
> now go to /var/www  and run the command 
> dpkg-scanpackages Debian /dev/null | gzip > Debian/Packages.gz
Thanks for this: this is a quick way to set up a package repository.
Much appreciated.

For the original poster [All commands you type indented by one tab
stop for the sake of readability here - you don't need the tab].

As root, 

mv /etc/apt/sources.list /etc/apt/sources.list.bak

Type

apt-cdrom add

and insert the cds in order.

apt-get update ; apt-get dist-upgrade 

should work, though you may need to install glibc and a more up to date 
kernel image first. Your Mileage May Vary.

Now change to /etc/apt/

cd /etc/apt

Look at your original sources.list - now sources.list.bak.
Copy it back to /etc/sources.list and change any references to stable
to sarge. The only exception will be the security listing at the moment.

cp /etc/apt/sources.list.bak /etc/apt/sources.list

[vi/emacs/nedit as you choose] /etc/apt/sources.list

Hope This Helps,

Andy


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



Re: playing cds

2004-11-08 Thread Hugo Vanwoerkom
Andrea Vettorello wrote:
On Sun, 07 Nov 2004 09:56:43 -0600, Hugo Vanwoerkom <[EMAIL PROTECTED]> wrote:
Sean wrote:
Ok, I have my cd-rom drive conected to my sound card.and normal sound
works but cd's do not.  I am a member of groups audio and disk.  cdcd
doesn't give me any error messages, but nothing plays.  What am I
missing here?  Where should I look for any error messages.
Sean

A few days ago in this list I asked exactly the same question.

I was pretty busy last week. =)

Except that I always could play cd's with OSS.
I switched to Alsa and nobody could answer why I had sound for
everything except no cd: the slider never showed up in alsamixer.
I went back to OSS: all sound and play cd's too.

What kind of  sound card?
With OSS:
debian kernel: ad1848/cs4248 codec driver Copyright (C) by Hannu 
Savolainen 1993-1996

With Alsa:
debian kernel: ALSA device list:
debian kernel:   #0: CS4236 at 0x534, irq 5, dma 1&3
Submitted bug that Alsa does not play CD:
https://bugtrack.alsa-project.org/alsa-bug/view.php?id=625
Alsamixer does not show the CD-volume slider, neither does 
gnome-volume-control.

Hugo





Andrea


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



Re: Passwd fails - what went wrong?

2004-11-08 Thread Ramasubramanian Ramesh
Ritesh Raj Sarraf wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On Monday 08 November 2004 09:55 am, Ramasubramanian Ramesh wrote:
 

No that is not the problem. The passwd itself fails and I cannot change
passwd for any user. In fact the above transcript points this out.
passwd: Authentication token manipulation error
adduser: `/usr/bin/passwd lata' returned error code 10.  Aborting.
It adds the group alright. It is the passwd setting that fails. It is
some PAM setup issue. I do not know for sure if it is. If so what do I
need to fix it.
Thanks and Regards
Ramesh
   

You haven't said about which distribution you actually are using ?
rrs
 

Sorry, It is testing (Sarge, I believe)
Ramesh

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



Alsa module problem with snd_pcm_oss, snd_emu10k1, soundcore

2004-11-08 Thread Andy Firman
I have 2 Debian unstable boxes with the same sound card which
is the:  Creative Labs SB Live! EMU10k1 (rev 07)
Both boxes using kernel-image-2.6.9-1-386.

The work box has no volume control, but base and treble 
control works. So it is stuck on one volume level.
The home box is just fine with all volume controls.
I have used alsamixer, kmix, and aumix on both boxes.
Same problem booting into either KDE or GNOME.

On the work box with no volume control problem, snd_pcm_oss has a
value of "1" in the "used by" column which I think is the
problem. Also, snd_emu10k1 has a value of "3" for some reason.

How do I go about figuring this out?

Searching the web tells me that the OSS drivers are grabbing 
the soundcard first.  Below is the relevant lsmod info.
Thans, Andy

A quick summary of the lsmod diff of the alsa stuff is this:
/home/andy# diff home work
4c4
< snd_emu10k180008  2
---
> snd_emu10k180008  3
6c6
< snd_pcm_oss47400  0
---
> snd_pcm_oss47400  1
17c17
< soundcore   9696  2 snd
---
> soundcore   9696  3 snd


Here is the FULL lsmod for both boxes:


HOME  (this box is working fine)

[EMAIL PROTECTED]:~$ lsmod
Module  Size  Used by
snd_seq_oss29696  0
snd_seq_midi_event  7424  1 snd_seq_oss
snd_seq46480  4 snd_seq_oss,snd_seq_midi_event
radeon117860  2
ipv6  227968  10
lp 10280  0
mousedev   11032  2
tsdev   7360  0
joydev  9408  0
usbhid 29248  0
ohci_hcd   19204  0
usbcore   104676  4 usbhid,ohci_hcd
eepro100   28172  0
sworks_agp  8864  0
agpgart31656  1 sworks_agp
pcspkr  3688  0
psmouse19208  0
floppy 54864  0
parport_pc 32192  1
parport37192  2 lp,parport_pc
evdev   9088  0
e100   31744  0
mii 4736  2 eepro100,e100
emu10k1_gp  3840  0
gameport4608  1 emu10k1_gp
snd_emu10k180008  2
snd_rawmidi22820  1 snd_emu10k1
snd_pcm_oss47400  0
snd_mixer_oss  16640  2 snd_pcm_oss
snd_pcm85256  2 snd_emu10k1,snd_pcm_oss
snd_timer  23172  2 snd_seq,snd_pcm
snd_seq_device  7816  3 snd_seq_oss,snd_emu10k1,snd_rawmidi
snd_ac97_codec 61520  1 snd_emu10k1
snd_page_alloc  9608  2 snd_emu10k1,snd_pcm
snd_util_mem4480  1 snd_emu10k1
snd_hwdep   9092  1 snd_emu10k1
snd50276  13
snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_seq_device,snd_ac97_codec,snd_hwdep
soundcore   9696  2 snd
capability  4744  0
commoncap   7040  1 capability
ide_cd 38176  0
cdrom  35996  1 ide_cd
rtc12088  0
ext3  108520  2
jbd55704  1 ext3
ide_generic 1536  0
serverworks12180  1
ide_disk   17792  4
ide_core  128112  4 ide_cd,ide_generic,serverworks,ide_disk
sd_mod 16656  0
ata_piix8580  0
libata 39428  1 ata_piix
scsi_mod  115532  2 sd_mod,libata
unix   25780  272
fbcon  35136  0
font8448  1 fbcon
vesafb  6816  0
cfbcopyarea 3968  1 vesafb
cfbimgblt   3072  1 vesafb
cfbfillrect 3584  1 vesafb


WORK  (this box has NO volume level control)

sockeye:/home/andy# lsmod
Module  Size  Used by
snd_seq_oss29696  0
snd_seq_midi_event  7424  1 snd_seq_oss
snd_seq46480  4 snd_seq_oss,snd_seq_midi_event
apm19948  1
ipv6  227968  8
af_packet  20744  2
emu10k1_gp  3840  0
gameport4608  1 emu10k1_gp
snd_emu10k180008  3
snd_rawmidi22820  1 snd_emu10k1
snd_pcm_oss47400  1
snd_mixer_oss  16640  2 snd_pcm_oss
snd_pcm85256  2 snd_emu10k1,snd_pcm_oss
snd_timer  23172  2 snd_seq,snd_pcm
snd_seq_device  7816  3 snd_seq_oss,snd_emu10k1,snd_rawmidi
snd_ac97_codec 61520  1 snd_emu10k1
snd_page_alloc  9608  2 snd_emu10k1,snd_pcm
snd_util_mem4480  1 snd_emu10k1
snd_hwdep   9092  1 snd_emu10k1
snd50276  13
snd_seq_oss,snd_seq,snd_emu10k1,snd_rawmidi,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_seq_device,snd_ac97_codec,snd_hwdep
soundcore   9696  3 snd
3c59x  37032  0
tsdev   7360  0
mousedev

phone dialer

2004-11-08 Thread Vassilis Virvilis
I already lost a day searching for a free phone dialer and since simple
scripting is not enough (i.e. echo "ATDT3483545" >> /dev/modem)
I build a simple awk script that utilizes cu (apt-get install cu)
and it works with kaddressbook :-).
The script requires cu and kdialog but it is simple enough to change it
to use gdialog if you are GNOME fun or even simple dialog or just
getchar() (getline in awk) if need be.
The script skips local codes from the same area. Just change the
0030 to your country code if you are not from Greece. I don't know
how to get the current area code from Linux/Debian/KDE but probably
is not correctly setup anyway. Similarly you can change your modem's
init script.
The usage is
prompt$>dial 784678465
and you press ok when the connection is established
From the kaddressbook you have to go
Settings/Configure KaddressBook/AddressBook/General/Script-Hooks
and type in
dial %N
Future TODOs:
-guess area code
-guess terminal type (X, KDE, GNOME, noX)
-specify modem device, init string, area, dialog type in the command line
-use bidirectional input in order to avoid sleep(1) maybe to small may be
to big. This looks next to impossible. The manual of cu says under BUGS:
"This program does not work very well" and I couldn't agree more.
And here is the script. Have fun with instant dialings from kaddressbook
#!/usr/bin/awk -f
BEGIN {
telephone = ARGV[1];
gsub("[ \t]", "", telephone);
sub("^0030", "", telephone);
cu = "cu -l modem";
print "AT S7=45 S0=0 L3 V1 X0 &c1 E1 Q0\r" | cu;
system("sleep 1");
printf("ATDT %s\r", telephone) | cu;
dialog = sprintf("kdialog --msgbox \"Dialing %s. Press OK on connection\"", 
telephone);
system(dialog);
}
PS:
Please for any replies CC me since I am not in the debian-user nor in 
debian-KDE.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



scanner not supported

2004-11-08 Thread Aniruddha Kibey
hi
  I have a HP 2400c scanjet ,which is currently not supported by sane.
So is there any alternative way for me to use my scanner . The device
is detected at boot.Unfortunately this problem
keeps me bound to windows which I dont use for any other purpose.
   any useful sugessions are welcome,
   cheers
 Aniruddha


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



Re: alsaconf

2004-11-08 Thread Andy Firman
On Mon, Nov 08, 2004 at 10:59:11AM +0100, Ismael Valladolid Torres wrote:
> El lunes  8 de noviembre de 2004 a las 02:29:34, Rick Pasotto escribe:
> > I have installed libasound1, alsa-base, alsa-utils. When I run alsaconf
> > it says it can't find any PCI sound cards even though I have an Ensoniq
> > AudioPCI (ES1371) that is detected on startup.
> 
> Are you running woody, sarge or sid?

Good question as he is probably using a 2.4 kernel without Alsa in the kernel.

If he can, he should install a 2.6 kernel image which has Alsa support
and the sound card will be detected by alsaconf.

Andy



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



Re: Mcopy not removing the "^M" character

2004-11-08 Thread Kenward Vaughan
On Mon, Nov 08, 2004 at 05:46:08AM -0800, Eric Dickner wrote:
> Hello,
> 
> I have a text file that I burned onto a CD on a
> windows machine.  I used "mcopy" with the t, a and T
> options to try and get rid of those "^M" characters (I
> forget if that is the line feed or carriage return).
> 
> They seem to be gone if I look at the result with
> "more" or an X text editor, but when I look at it with
> "nano" there they are.  I assume that they are there
> but that some programs simply don't display them.
> 
> What am I doing wrong?  "mcopy" states that those
> options are all for getting rid of that stuff but they
> just don't seem to be working...

Just for the heck of it, try using just t or a instead of both options
(maybe it's brain dead and does one followed by the other, undoing
itself... ?) 

Cheers,

Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca


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



sftp and umask

2004-11-08 Thread Matthias Eichler
Dear List,

we want to use sftp on our remote servers.
as we are working with a group-right management
for supporting individual user logins.

now we have the problem that umask is set correctly
with a ssh login, but not with an sftp transfer.

How can I set the right umask (002 instead of 022)
for sftp transfers automatically because I cant be
sure that our "users" are doing the right stuff...

Thanks,

Matthias Eichler


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



lvm on raid, vgcreate doesn't create vg

2004-11-08 Thread Markus Meissner
Hi,

I have successfully setup lvm on top of my software raid 1 (two ide-disks, 
hda, hdb, two raid1 on top, md0 and md1, one as root and one for the first 
volume group, vg0). Everything works as expected, no problems at all. 

Now I want to put two more disks (hdc/hdd) in the machine. For simplicity 
reasons (the data is on the second disk) I describe the problem with one 
harddisk:

/etc/raidtab
[...]
raiddev /dev/md3
 raid-level 1
 nr-raid-disks 2
 nr-spare-disks 0
 persistent-superblock 1
 device  /dev/hdc1
 raid-disk 0
 device  /dev/hdd1
 failed-disk 1

[EMAIL PROTECTED]:~# mkraid /dev/md3
handling MD device /dev/md3
analyzing super-block
disk 0: /dev/hdc1, 100522768kB, raid superblock at 100522688kB
disk 1: /dev/hdd1, failed
[EMAIL PROTECTED]:~# pvcreate /dev/md3
  Physical volume "/dev/md3" successfully created
[EMAIL PROTECTED]:~# vgcreate -v vgnew /dev/md3
Adding physical volume '/dev/md3' to volume group 'vgnew'
Archiving volume group "vgnew" metadata.
Creating volume group backup "/etc/lvm/backup/vgnew"
  Volume group "vgnew" successfully created
[EMAIL PROTECTED]:~# vgscan
  Reading all physical volumes.  This may take a while...
  Found volume group "vg0" using metadata type lvm2
[EMAIL PROTECTED]:~# lvcreate -L 83G -n smb2 vgnew
  Volume group "vgnew" doesn't exist

Uah. Whats that? Creating a filesystem on md3 is no problem, data can be 
written and read, mounted, unmounted. So, I decided to test without md:

[EMAIL PROTECTED]:~# pvremove /dev/md3
  Labels on physical volume "/dev/md3" successfully wiped
[EMAIL PROTECTED]:~# raidstop /dev/md3
[EMAIL PROTECTED]:~# pvcreate /dev/hdc1
  Physical volume "/dev/hdc1" successfully created
[EMAIL PROTECTED]:~# vgcreate -v vgnew /dev/hdc1
Adding physical volume '/dev/hdc1' to volume group 'vgnew'
Archiving volume group "vgnew" metadata.
Creating volume group backup "/etc/lvm/backup/vgnew"
  Volume group "vgnew" successfully created
[EMAIL PROTECTED]:~# vgscan
  Reading all physical volumes.  This may take a while...
  Found volume group "vgnew" using metadata type lvm2
  Found volume group "vg0" using metadata type lvm2
[EMAIL PROTECTED]:~# lvcreate -L 83G -n smb2 vgnew
  Logical volume "smb2" created
[EMAIL PROTECTED]:~# ls -al /dev/vgnew/
total 32
drwx--   2 root root  4096 Nov  8 12:59 .
drwxr-xr-x  16 root root 28672 Nov  8 12:59 ..
lrwxrwxrwx   1 root root22 Nov  8 12:59 smb2 -> /dev/mapper/vgnew-smb2

Hmm, this works. Whats up with creating lvm on top of raid? On the same 
machine this works (vg0) without problems. There a no messages in syslog, no 
dmessages etc. Some machine-data:

Debian testing/sarge
AMD Athlon(TM) XP 1900+
Linux fs 2.6.8-1-k7 #1 Thu Oct 7 02:47:47 EDT 2004 i686 GNU/Linux
ii  lvm-common  1.5.17
ii  lvm2  2.00.24-1 
ii  raidtools2  1.00.3-15

How can I trace the problem? Any hints?

-- 
Beste Gruesse / Best regards Markus Meissner


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



Re: Problems with DHCP Setup

2004-11-08 Thread Ben Hutchings
Joshua J. Brickel wrote:
Hi Folks,
I was hoping that someone might be able to help me with this or direct 
me to another internet group that would

Summary:
DHCP is not getting set-up correctly on the Linux side.

The 
present problem is that the initial dhcp connection does not seem to be 
properly setup. 
Is there anything that actually does not work, or are you just surprised 
to get a slightly different configuration?


Things that I have noticed here are:
1) the IP address that the card binds to 172.25.221.21 is the same 
address each time and is NOT the same as on the Windows side.
Not a problem.
2) The message "SIOCADDRT: Network is unreachable" can not be good.
Well, it doesn't *look* good, but it might not really indicate a problem.

Finally the difference in the route tables are:...
Linux:
andromeda:/etc# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse 
Iface
172.25.192.0*   255.255.224.0   U 0  00 eth0
andromeda:/etc#
Hmm, no gateway.  I'm not sure why that is; if a DHCP server gives a 
gateway address then it should normally become the default gateway. 
However you can configure dhclient to selectively ignore what the server 
tells it.

While Windows is something huge...
C:\Documents and Settings\Joshua>route print
===
Interface List
0x1 ... MS TCP Loopback interface
0x2 ...00 e0 50 02 89 88 .. Asound 10/100M Based Fast Ethernet Card 
- Pack
Scheduler Miniport
===
===
Active Routes:
Network DestinationNetmask  Gateway   Interface  Metric
  0.0.0.0  0.0.0.0 172.25.224.1172.25.207.86  20
This is the default route which is missing under Linux.
127.0.0.0255.0.0.0127.0.0.1   127.0.0.1   1
This is the loopback route which is not needed under Linux.
 172.25.192.0255.255.224.0172.25.207.86172.25.207.86  20
This is the local network route which is present under Linux (though 
with a different local address).

172.25.207.86  255.255.255.255127.0.0.1   127.0.0.1   20
   172.25.255.255  255.255.255.255172.25.207.86172.25.207.86  20
224.0.0.0240.0.0.0172.25.207.86172.25.207.86  20
  255.255.255.255  255.255.255.255172.25.207.86172.25.207.86  1
I think these special routes are not needed under Linux because its 
network stack works differently.

Default Gateway: 172.25.224.1
===
Persistent Routes:
  None
Of which none of the routes match the one put in by linux.
The only important difference from the routes active under Linux is the 
existence of the default gateway.

One final note, I can ping the eth0 card directly, so it does indeed 
seem to be working on some level.  Also it definently appears to begin 
to get the dhcp info.  For instance the addresses is resolv.conf match 
those stated as the DNS servers by Windows.

So here I am wondering if perhaps I need t change something in the 
dhclient.conf file, although nothing I have done so far seems to have 
moved this problem along.
You shouldn't need anything in there.
If anyone has any idea of what I can try next I would be gratefull.
If you do have anything in dhclient.conf other than comments, try 
commenting it out and reinitialising the interface (ifdown eth0 && rm 
/var/lib/dhcp/dhclient.leases && ifup eth0).

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



Re: Mcopy not removing the "^M" character

2004-11-08 Thread Thomas Adam
 --- Kenward Vaughan <[EMAIL PROTECTED]> wrote: 
> Just for the heck of it, try using just t or a instead of both options
> (maybe it's brain dead and does one followed by the other, undoing
> itself... ?) 

If the intended target audience is for Windows users, I would actually
change all the files to DOS format. There's many, many ways you can do
this. I happen to use a nice program called "flip" (which is
apt-gettable). You use it thus:

flip -m *.txt

Which will convert all .txt files to msdos CR/LFs. 

That way, when they're burnt to CD, it'll all be Just Fine (tm). :)

-- Thomas Adam

=
"The Linux Weekend Mechanic" -- http://linuxgazette.net
"TAG Editor" -- http://linuxgazette.net

" We'll just save up your sins, Thomas, and punish 
you for all of them at once when you get better. The 
experience will probably kill you. :)"

 -- Benjamin A. Okopnik (Linux Gazette Technical Editor)





___ALL-NEW Yahoo! 
Messenger - all new features - even more fun! http://uk.messenger.yahoo.com


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



Re: File System crash

2004-11-08 Thread Ben Hutchings
david.lozano wrote:
Hi all,
I've got a new PC and I've just installed that:
On a 160 Gbytes HD, three partitions:
hda1 with Windows 2000 (119 Gbytes), NTFS
hda2 with a Linux swap partition (1 Gbyte)
hda3 with an ext2 file system (40 Gbytes)
My linux installation is a Debian Woody (just downloaded the image files
using jigdo a month ago).
My problem: after rebooting from Linux (ctrl+alt+del) the FS crashed. I
was told to run fsck on /dev/hda3 manually, so I did. I had to use the -y
option because the huge amount of question I was asked (several
thousands). Windows 2000 worked fine.
After running fsck Debian started fine again, but Windows 2000 FS didn't.
It seemed as fsck had done something wrong on hda1... very strange.
I had to install Windows 2000 from scratch again.
Then, two days later I got the same error. Debian startup didn't work, I
was told again to run fsck manually. Just to check, I rebooted and started
Windows 2000: it worked fine. I run then fsck on /dev/hda3, rebooted, and
hda1 was broken again (hda3 was clean).
It seems clear to me that the fsck utility does something on hda1, even
when run on hda3. Is it a known bug?

That cannot be due to a bug in fsck, because if it opens hda3 then it 
only has access to that partition and not to hda1.  I think the problem 
is at a lower level.  I'm pretty sure that changing the filesystem type 
will *not* fix it.

The LBA mode which has been the normal mode of addressing IDE disks for 
some years uses 28 address bits and can only address 128 GiB (2^28 
sectors * 512 bytes/sector).  There is a newer mode called LBA-48 that 
uses 48 address bits, but older kernels and IDE interfaces do not 
support it.  I suspect that at some level disk addresses beyond 128 GiB 
are wrapping around so that when the kernel intends to write to the last 
part of the disk (the second half of hda3) it actually writes to the 
first part of the disk (hda1).

Since you say it's a "new PC" I would imagine that the IDE interface is 
compatible with LBA-48, so I would check your kernel version.  LBA-48 
was added to the various IDE drivers during the 2.4 series so if you're 
using the 2.2 kernel you must upgrade.

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



Re: Problems with DHCP Setup

2004-11-08 Thread Andrea Vettorello
On Mon, 08 Nov 2004 15:28:18 +, Ben Hutchings
<[EMAIL PROTECTED]> wrote:
> Joshua J. Brickel wrote:
> > Hi Folks,

[...]

> 
> > 2) The message "SIOCADDRT: Network is unreachable" can not be good.
> 
> Well, it doesn't *look* good, but it might not really indicate a problem.
> 

[...]

I don't see this error messages from Potato days. IIRC it means the
ifup script tried to add a route to a NIC with an unreachable gateway
address.


Andrea


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



CUPS keeps dying

2004-11-08 Thread Alex Malinovich
Anyone else have a problem with CUPS repeatedly dying in unstable? For
the last 3 weeks or so, CUPS just seems to stop once a day or so. No
warning, no log messages, it just stops responding. I do
an /etc/init.d/cupsys restart and it comes back up just fine. It's just
really annoying to have to do it daily. Any suggestions?

-- 
Alex Malinovich
Support Free Software, delete your Windows partition TODAY!
Encrypted mail preferred. You can get my public key from any of the
pgp.net keyservers. Key ID: A6D24837



signature.asc
Description: This is a digitally signed message part


Re: libapache-auth-ldap with SSL not compiling

2004-11-08 Thread Dave Carrigan
On Mon, Nov 08, 2004 at 02:45:01PM +0100, Matthias Eichler wrote:

> - for using libapache-auth-ldap with SSL I have to
>   recompile the source as the binary package does not
>   support SSL/TLS

> Now I am confused, because:
> - the dpkg-buildpackage of libapache-auth-ldap has to be
>   made with the option --with-ldap-sdk=netscape as the
>   package does not support the openldap environment for
>   SSL support.
>   Is this right?!? I have definitely openldap running
>   WITH SSL support.

You don't need the Netscape SDK; auth_ldap supports TLS with the OpenLDAP
SDK, but it requires a patch. I don't know if that patch has been applied
to the Debian package or not. The patch itself is available if you search
the mailing list archives at www.rudedog.org/auth_ldap.

Alternatively, you could use something like stunnel to do secure LDAP
and you wouldn't have to patch and recompile the ldap module.

-- 
Dave Carrigan
Seattle, WA, USA
[EMAIL PROTECTED] | http://www.rudedog.org/ | ICQ:161669680
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-C++-DNS-PalmOS-PostgreSQL-MySQL

Dave is currently listening to Tom Robinson Band - All Right All Night (TRB Two)


signature.asc
Description: Digital signature


root+evms+sata+raid

2004-11-08 Thread Henry Gunter
I have been trying to set up a new server using evms and 
sata and linux raid. This has proved to be a challenge. I 
have installed to a spare ide drive built the evms 
md/volumes and copied the installation over. I have not 
been able to get a initrd image built that will activate 
the evms volumes at boot. I tried to use the sample image 
that is on the evms web site ?no luck?. I have looked at 
Matt Zimmerman?s work on the evms package. It looks like 
you should be able to build an initrd image with mkinitrd. 
I must be missing something in the mkinitrd config because 
it does not work for me. If anyone has been successful 
with this please share your experience with me.

Any additional info would be appreciated.
Thanks in advance for your help.
henryg 


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



Re: CUPS keeps dying

2004-11-08 Thread Clive Menzies
On (08/11/04 10:12), Alex Malinovich wrote:
> Anyone else have a problem with CUPS repeatedly dying in unstable? For
> the last 3 weeks or so, CUPS just seems to stop once a day or so. No
> warning, no log messages, it just stops responding. I do
> an /etc/init.d/cupsys restart and it comes back up just fine. It's just
> really annoying to have to do it daily. Any suggestions?
No such problem here ... but on powerpc.

Regards

Clive

-- 
www.clivemenzies.co.uk ...
...strategies for business



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



Re: Blackdown

2004-11-08 Thread Pedro M (Morphix User)
Andrea Vettorello escribió:
On Mon, 08 Nov 2004 13:44:52 +, Pedro M (Morphix User)
<[EMAIL PROTECTED]> wrote:
 

I cannot apt-get blackdown JRE. The program says: report the problem to
solve it. I do so.
I want to download and install this wonderfull environment now.
   

It's a Debian or a Morphix related problem?
Andrea
 

The problem is with DEBIAN and the package for unstable.
Can anybody test install again this package in the unstable version ?..
Regards.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: CUPS keeps dying

2004-11-08 Thread Filipi Vianna
I was having this problem before my last apt-get upgrade, but on
testing.
 
Filipi Vianna
--
Laboratório de Mecânica Computacional (DEMM)
Faculdade de Engenharia - PUC-RS
3320-3500 ramal: 4053On 2004-11-08 14:47:36 -0200 Clive Menzies <[EMAIL 
PROTECTED]> wrote:

> On (08/11/04 10:12), Alex Malinovich wrote:
>> Anyone else have a problem with CUPS repeatedly dying in unstable? For
>> the last 3 weeks or so, CUPS just seems to stop once a day or so. No
>> warning, no log messages, it just stops responding. I do
>> an /etc/init.d/cupsys restart and it comes back up just fine. It's just
>> really annoying to have to do it daily. Any suggestions?
> No such problem here ... but on powerpc.
> 
> Regards
> 
> Clive
> 
> -- 
> www.clivemenzies.co.uk ...
> ...strategies for business
> 
> 
>



Re: Limiting User Commands

2004-11-08 Thread Christopher Swingley
Greetings,

* Osamu Aoki <[EMAIL PROTECTED]> [2004-Nov-05 14:13 AKST]:
> On Fri, Nov 05, 2004 at 09:31:21AM -0800, Stephen Le wrote:
> > Is there an easy way to limit the commands a certain group of users
> > can execute?
> 
> I never done this but..
> 
> Use of chroot with bash started as rbash sems to be what you need.
> 
> Or use of rbash with with PATH pointing to custom location where
> commands exist.

This is what I've done when I wanted to reduce the set of commands a 
user could run.  I'm sure a reasonably competant Unix user could easily 
circumvent these restrictions, but it's a good first start, and making 
such attempts would result in account suspension.

Change their shell to /bin/rbash in /etc/passwd:

bbonds:x:50539:50539:Barry Bonds,,,:/home/bbonds:/bin/rbash

Change the ownership and permissions on their .bash_profile and .bashrc 
to root:root 644:

-rw-r--r--1 root root  420 Sep 21 13:05 .bash_profile
-rw-r--r--1 root root  746 Sep 21 13:05 .bashrc

Modify the PATH in whichever file you wish to a PATH that only includes 
the commands you wish:

export PATH="/usr/local/rbin"

Make symbolic links between allowed commands and '/usr/local/rbin'

As I said before, this is just a simple attempt to reduce priviledge.  
There are undoubtably ways around it, some easier than others depending 
on what's in /usr/local/rbin.

Chris
-- 
Christopher S. Swingley  email: [EMAIL PROTECTED] (work)
Intl. Arctic Research Center[EMAIL PROTECTED] (personal)
University of Alaska Fairbanks   www.frontier.iarc.uaf.edu/~cswingle/


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



USB under kernel 2.6.8

2004-11-08 Thread Bradley Alexander
I have been having problems with USB on a couple of machines, and I would like 
to get it fixed. 

The first machine is an 1GHz Athlon running sid. I have a Palm Tungsten E, a 
512MB Lexar Thumb, an Archos Recorder 20 mp3 player  and a 512MB SanDisk SD 
card for the Palm, with a Sandisk Cruzer reader. Internally, I have USB 1.1 
built onto the motherboard plus a PCI USB 2.0 card with USB 2.0 hub. I'm 
running hotplug. Currently, I am running a USB mouse and a joystick (never 
used) on the USB 1.1 port. The problem on this machine is as follows:

I am able to sync (e.g. kpilot) or install programs (pilot-xfer) to the Palm 
about the first three times. After that, I start seeing in syslog:

Nov  8 11:42:48 defiant kernel: hub 1-3:1.0: debounce: port 3: total 100ms 
stable 100ms status 0x101
Nov  8 11:42:48 defiant kernel: hub 1-3:1.0: port 3 not reset yet, waiting 
10ms
Nov  8 11:42:48 defiant kernel: usb 1-3.3: new full speed USB device using 
address 10
Nov  8 11:42:53 defiant kernel: usb 1-3.3: control timeout on ep0out
Nov  8 11:42:59 defiant kernel: usb 1-3.3: control timeout on ep0out
Nov  8 11:42:59 defiant kernel: usb 1-3.3: device not accepting address 10, 
error -110
Nov  8 11:42:59 defiant kernel: hub 1-3:1.0: port 3 not reset yet, waiting 
10ms
Nov  8 11:42:59 defiant kernel: usb 1-3.3: new full speed USB device using 
address 11
Nov  8 11:43:04 defiant kernel: usb 1-3.3: control timeout on ep0out
Nov  8 11:43:09 defiant kernel: usb 1-3.3: control timeout on ep0out

The machine is showing this behavior at the present time. The Palm will not 
sync, the SD card reader won't mount (same symptoms as above), but the mp3 
player and the thumb drive mount fine. Does anyone know how to get consistent 
behavior out of these devices...preferably working?

Thanks,
-- 
--Brad

Bradley M. Alexander   |
IA Analyst, SysAdmin, Security Engineer|   storm [at] tux.org
Debian/GNU Linux Developer |   storm [at] debian.org

Key fingerprints:
DSA 0x54434E65: 37F6 BCA6 621D 920C E02E  E3C8 73B2 C019 5443 4E65
RSA 0xC3BCBA91: 3F 0E 26 C1 90 14 AD 0A  C8 9C F0 93 75 A0 01 34

"Oh yeah, you go to pieces so fast that people get hit by the shrapnel."
   --Ford Prefect


pgpYsuqIcIeLs.pgp
Description: PGP signature


Re: Mcopy not removing the "^M" character

2004-11-08 Thread David Jardine
On Mon, Nov 08, 2004 at 07:01:41AM -0800, Kenward Vaughan wrote:
> On Mon, Nov 08, 2004 at 05:46:08AM -0800, Eric Dickner wrote:
> > Hello,
> > 
> > I have a text file that I burned onto a CD on a
> > windows machine. 

If you're putting something on to a windows machine, wouldn't 
mcopy automatically use the dos CR-LF?

> >   I used "mcopy" with the t, a and T
> > options to try and get rid of those "^M" characters (I
> > forget if that is the line feed or carriage return).
> > 
> > They seem to be gone if I look at the result with
> > "more" or an X text editor, but when I look at it with
> > "nano" there they are.  I assume that they are there
> > but that some programs simply don't display them.
> > 
> > What am I doing wrong?  "mcopy" states that those
> > options are all for getting rid of that stuff but they
> > just don't seem to be working...
> 
> Just for the heck of it, try using just t or a instead of both options
> (maybe it's brain dead and does one followed by the other, undoing
> itself... ?) 
> 
> Cheers,
> 
> Kenward
> -- 
> In a completely rational society, the best of us would aspire to be 
> _teachers_ and the rest of us would have to settle for something less, 
> because passing civilization along from one generation to the next 
> ought to be the highest honor and the highest responsibility anyone 
> could have. - Lee Iacocca
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 
David Jardine

"Running Debian GNU/Linux and
loving every minute of it." -Sacher M.


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



Re: Mcopy not removing the "^M" character

2004-11-08 Thread Eric Dickner

--- David Jardine <[EMAIL PROTECTED]> wrote:
 
> If you're putting something on to a windows machine,
> wouldn't 
> mcopy automatically use the dos CR-LF?

I was trying to remove the CR-LF so the /etc/hosts
file lookup wouldn't be messed up.  I never did get
"mcopy -T" (or any option or combination of options)
to do it.  Instead I used the KDE file manager as root
(something I ususally use "nano" and a shell) and cut
and paste.  It was smart enough to strip them off.

ejd



__ 
Do you Yahoo!? 
Check out the new Yahoo! Front Page. 
www.yahoo.com 
 


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



Re: CUPS keeps dying

2004-11-08 Thread Andrew Schulman
> Anyone else have a problem with CUPS repeatedly dying in unstable? For
> the last 3 weeks or so, CUPS just seems to stop once a day or so. No
> warning, no log messages, it just stops responding. I do
> an /etc/init.d/cupsys restart and it comes back up just fine. It's just
> really annoying to have to do it daily. Any suggestions?

http://www.cups.org/faq.php?23


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



Re: when sarge will be released?

2004-11-08 Thread Brian Nelson
On Mon, Nov 08, 2004 at 02:15:26AM -0800, RituRaj wrote:
> Any approx dates? 

No.  Subscribe to debian-devel-announce if you want to receive the
latest release info.  The most recent announcement regarding the release
is: http://lists.debian.org/debian-devel-announce/2004/09/msg5.html

-- 
For every sprinkle I find, I shall kill you!


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



Re: sftp and umask

2004-11-08 Thread Robert Storey
Not sure if you can do exactly what you asked, but you could put the
following in a script and run it once a day on the necessary /home
directory:

  find ./ -type d -exec chmod 775 {} \;
  find ./ -type f -exec chmod 664 {} \;
 
regards,
Robert

On Mon, 08 Nov 2004 16:05:00 +0100
Matthias Eichler <[EMAIL PROTECTED]> wrote:

> Dear List,
> 
> we want to use sftp on our remote servers.
> as we are working with a group-right management
> for supporting individual user logins.
> 
> now we have the problem that umask is set correctly
> with a ssh login, but not with an sftp transfer.
> 
> How can I set the right umask (002 instead of 022)
> for sftp transfers automatically because I cant be
> sure that our "users" are doing the right stuff...
> 
> Thanks,
> 
> Matthias Eichler
> 
> 
> -- 
> 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]



Sarge gnatsweb Problem

2004-11-08 Thread Steve Witt
I've had a software development problem report system going for a few 
years now based on gnats and gnatsweb. I upgraded the server this is on 
and installed sarge on this server. I converted the gnats databases we had 
from the woody version to the sarge version of gnats/gnatsweb (which was 
pretty easy). I got it working and it had worked for a couple of months 
until just last week. Now I get an "Unparseable reply from gnatsd" error 
from gnatsweb. When I run this with some debugging turned on, 
(gnatsweb.pl?debug=all) then I get the following:

server_reply:
unparseable reply from gnatsd:
client_cmd:
dbls
server_reply:
unparseable reply from gnatsd:

The gnatsd daemon is getting run by inetd but it apparently isn't running 
correctly. Has there been any changes to sarge recently that would have 
broken gnatsweb? Any other ideas?

Thanks...

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



Re: Blackdown

2004-11-08 Thread Marc Wilson
On Mon, Nov 08, 2004 at 06:06:11PM +, Pedro M (Morphix User) wrote:
> The problem is with DEBIAN and the package for unstable.
> Can anybody test install again this package in the unstable version ?..

No, the problem, if there is one, is Blackdown's.  Debian does not ship a
non-free JRE.  There is no such package in unstable.

-- 
 Marc Wilson | Everybody is somebody else's weirdo.  -- Dykstra
 [EMAIL PROTECTED] |


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



Adding debian to win2k dynamic disk

2004-11-08 Thread pinecone
I am trying to use PartitionMagic 8.0 to create a linux partition on a 
"dynamic" disk, but although the manual says it can run natively on 
win2k (and it does) it views win2k dynamic disks as "other" and has no 
apparent method for doing the job.  Any suggestions?

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



Re: when sarge will be released?

2004-11-08 Thread Carl Fink
On Mon, Nov 08, 2004 at 11:45:10AM +, Dave Ewart wrote:

> I disagree.  Woody is perfectly usable for most purposes.  I accept
> there may be some instances where features provided by newer versions of
> some software is essential, but many new versions can be backported.

At which point it really isn't Woody any more.
-- 
Carl Fink [EMAIL PROTECTED]
Jabootu's Minister of Proofreading
http://www.jabootu.com


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



The debian-mirror script suite

2004-11-08 Thread Zlatko Calusic
Hi list!  [I'm not subscribed, so please Cc: comments]

For some years I have been using some scripts to mirror our beloved
Debian distribution (well, a good part of it), and finally I have
found some time to package & document it all and offer to other
people.

The idea is to mirror what you need, to spare bandwidth, and even to
do some complex tasks like transporting it from one place to another
intelligently. It's somehow complex to explain it all in a few
sentences so visit:

 

and judge for yourself.

All comments welcome!
-- 
Zlatko

P.S. Debian addict since 1995. :)


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



Re: dselect not respecting holds ?

2004-11-08 Thread James Kirk

--- Maurits van Rees <[EMAIL PROTECTED]> wrote:

> On Sun, Nov 07, 2004 at 10:05:44PM -0800, James Kirk
> wrote:
> > The dselect's online help states, when describing
> key
> > usage, the H or = will hold a package in its
> present
> > state, and when describing the meaning of the
> symbols
> > used in the 4 state columns that = denotes the
> package
> > is on hold, and will not be processed at all.
> > 
> > I don't want texi2html or mctools-lite, and
> therefore
> > don't need cddb, either.  So, I marked these 3 as
> yet
> > uninstalled packages hold (=) thinking that
> dselect,
> > wanting normally to install these recommendations
> > would instead hold them in their uninstalled
> state.
> 
> 
> The correct way to keep a package in its current
> uninstalled form is
> *not* to put in on hold. 

Can you point to the documentation that says this is
the correct way to keep a package in its current
state?

> The first time dselect
> presents you with a
> recommended or suggested package that you don't
> want, simply decline
> to install it. Next time dselect should not ask that
> question again.

Nope.  Have you tried this ?  It certainly doesn't
work on my system.  That is the reason I thought I
would give the "hold" state a try.

Thanks.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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



Serious compiler problem

2004-11-08 Thread Sebastian Lövdahl
Hello! I have a very big problem with GCC (maybe this is wrong thread, 
but maybe it isn't GCC related at all). When I try to compile a specific 
file, GCC gives me this:

In file included from globals.h:11,
from main.c:19:
/usr/lib/gcc-lib/i486-linux/3.3.4/include/stddef.h:151: error: syntax 
error before "typedef"

I have *no* clue why this happened, I just edited the file (main.c), 
saved it, and tried to compile again, and it suddenly gave me this. It's 
not the first time, it happened on another machine too (completly 
different). All help is appreciated*.
*
Sebastian Lövdahl
[EMAIL PROTECTED]

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



Re: kernel-image-2.6.8-1-686 unable to mount root

2004-11-08 Thread Justin Guerin
On Saturday 06 November 2004 02:35, Eddy Jacob wrote:
> On Fri, 05 Nov 2004 16:49:23 -0700, Justin Guerin <[EMAIL PROTECTED]> 
wrote:
> > On Thursday 04 November 2004 20:11, Eddy Jacob wrote:
> > > Hi everyone,
> > >
> > > I'm running debian, sarge. I installed the OS from Knoppix 3.4. I
> > > want to use kernel 2.6.8, but I've got a problem on booting
> > > kernel-image-2.6.8-1-686. I got this:
> > >
> > > Kernal panic: VFS: Unable to mount root fs on unknown-block(3,7)
> > >
> > > Currently I'm using kernel 2.4.26 default from Knoppix. I also got
> > > similar error when trying kernel-image-2.4.26.-1-686. I really don't
> > > know how to get it working.
> > > I've tried googling the web and searching all debian's list archive,
> > > and found many pages related to that specific error, but the
> > > solutions suggested were to compile the kernel with file system
> > > driver compiled and something about MSDOS partition support built
> > > into the kernel not as module.
> > >
Yes, this will likely fix your problem.  However, it is not the only way.  
Since you don't want to compile your own kernel, you can use the initial 
ram disk to hold the modules.

> > > But I don't want to compile the kernel. What I don't understand is,
> > > why the package I downloaded from debian sarge, causes that error? Is
> > > it really because of the file system driver not compiled into the
> > > kernel? I thought that packages from sarge should be common enough so
> > > that user can just download them and use it.
> > >
This error might be happening because Knoppix is not Debian.  Last time I 
did a Knoppix hard disk install, it used XFS.  XFS is provided as a file 
system driver module in some kernels (I'm pretty sure Sarge has it), but 
you have to make sure that you add it to the initial ram disk in order to 
boot properly.

Stock kernels don't compile XFS into the kernel because they want to keep 
the kernel lean, and it's not explicitly required to have your file system 
driver compiled in statically in order to use it.  Stock kernels are all 
about flexibility, so everything is compiled as a module.  It's just that 
the file system module is harder to use than the rest.

In any case, I could be wrong, if your file system isn't XFS.  What 
does /etc/fstab say?  Also, are those modules in the initial ram disk?

> > > Also, the kernel-image downloaded from debian is unable to use the
> > > vesafb (I guess). my vga option in lilo.conf is vga=791, which is
> > > working under knoppix default.
> > >
> > > BTW, my lilo.conf is like:
> > >
> > > image=/boot/vmlinuz-2.4.26
> > > label="Linux"
> > > initrd=/boot/initrd.img-2.4.26
> > > append="ramdisk_size=50 lang=de apm=power-off hda=scsi
> > > hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi nomce"
> > > read-only
> > >
> > > image=/boot/vmlinuz-2.4.26-1-686
> > > label="Linux-686"
> > > vga=extended
> > > initrd=/boot/initrd.img-2.4.26-1-686
> > > append="ramdisk_size=50 lang=de apm=power-off hda=scsi
> > > hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi nomce"
> > > read-only
> > >
> > > image=/boot/vmlinuz-2.6.8-1-686
> > > label="Linux-2.6"
> > > vga=extended
> > > initrd=/boot/initrd.img-2.6.8-1-686
> > > append="ramdisk_size=50 lang=en apm=power-off hda=scsi
> > > nomce" read-only
> > >
> > > I don't have a clue to why all hdx is equal to scsi. and what
> > > apm=power-off means and nomce?
> >
> > hdx=scsi:
> > There's a big debate on that one, but basically, it's for CD burning. 
> > If you don't need to burn CDs, you probably don't need it.
> > apm=power-off:
> > This is a switch meant to make your computer power completely off when
> > you choose shutdown from the gui menu, or when you issue the shutdown
> > command from the command line.  If your computer is really old, your
> > bios won't support it, and it won't work anyway.  If you don't care,
> > take it out. Your computer may work anyway.
> > nomce:
> > "This command disables self-diagnosis checks performed on the CPU. The
> > kernel enables self-diagnosis on the CPU by default (called Machine
> > Check Exception). On some older Compaq machines, this check is run too
> > often and may need to be disabled."
> >
> > Some of this information was gleaned from this page:
> > http://www.redhat.com/docs/manuals/linux/RHL-8.0-Manual/install-guide/c
> >h-bootopts.html
> >
> > > Anyone have a solution to this? I've been trying to find answer to
> > > this for a week. Many thanks.
> >
> > You did run lilo after you installed the new kernels, right?  You did
> > tell lilo that your kernels use an initrd, right?
> >
> > Justin Guerin
> >
> Thanks for the boot options Justin,
>
> Yes I did run lilo, and I use initrd, as you can see from lilo.conf
> parts that I pasted into my first email.
>
Yes, I see that you correctly specified the initrd.  I'm sorry, I was 
thinking about a differ

Re: Serious compiler problem

2004-11-08 Thread Joost Witteveen
Sebastian Lövdahl wrote:
Hello! I have a very big problem with GCC (maybe this is wrong thread, 
but maybe it isn't GCC related at all). When I try to compile a specific 
file, GCC gives me this:

In file included from globals.h:11,
from main.c:19:
/usr/lib/gcc-lib/i486-linux/3.3.4/include/stddef.h:151: error: syntax 
error before "typedef"
Well, if you have a simple file like:
$ cat > f.c
int h
#include 
Then trying to compile the file f.c, you'll get the error message you have.
Conclusion: somewhere before you include stddef.h, you have some syntax 
error (possibly a missing ";" as in the file f.c above).

--
Groetjes
joostje
47d3fcfe28f2a83497e79d9bc7d5087c-4a1ee1fddab4648175518cb4c1c9edb3ed0e89f0
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



how-to set print margins in cups

2004-11-08 Thread Pascal Bonesh
Hi everybody,

First: Cups is wonderful!

After having sucessfully set up my printer to be shared over the network
and later printing at work to a windows network printer, which all
worked wonderfully and was suprisingly easy - I am now somewhat stuck.

I am unable to set the print margins for my HP Deskjet 5560 at home. The
printout is too far to the right and I seem unable to change this.

What I did is:
-print over xpp, where I can set something like "text margins"

-in: /etc/cups/lpoptions
set page-top=6

-in: /etc/cups/ppd/
set my printer ppd file for
*HWMargins: 18 36 18 9

and after a /etc/init.d/cups restart ... nothing had changed ...

Now I am stuck and help is much appreciated
Pascal


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



Oh, NO! Not that same "No Sound" question again...

2004-11-08 Thread listcomm
Yeah, that same "No Sound" question again.  But I can't find
an answer that's gotten my sound working anywhere, so I'll give
this list a try.

I have an Intel 82820 (Camino 2) chipset and a stable Woody.
I've installed the "i810_audio" driver (via "/etc/modules").
"lspci" output looks OK.  both "/dev/audio" and "/dev/dsp" are
there.  I don't see any sound-related (at least to my ability
to determine) error messages in the log files.  Sound works OK
in Windoze.  I don't get any sound when I "cat" a ".wav" or
".au" file to either "/dev/audio" or "/dev/dsp".  I've tried both
"kmix" and "aumix", to make sure sound isn't muted,and neither
makes any difference.

I have not "Tried" the ALSA drivers.  I don't like "Trying" things
to see if they work - I like DEBUGGING things.  (I'm a little testy
about that because of all the random flailing I've been reading about
on the net, by people trying anything and everything to get their
sound working.)

Questions:

(1) Does anyone know how to get this particularly configuration to
work?  I.e., if there is anyone who has had success with this exact
configuration, please tell me what I'm missing here.

More specifically,

(2) Is it possible that doing a "cat" of a sound file directly to
"/dev/audio" or "/dev/dsp" simply won't work, and that I need Yet
Another Driver ("/dev/mixer" or "/dev/sound", FI (neither of which
I have)) to make sound work with this setup?  Should the "mixer"
utilities even have any effect when I try to "cat" a file directly
to the driver?

(2) Is there a patch or updated "i810_audio" driver for this chipset
(and if so, where should I have searched for it, since I've already
searched and haven't found anything)?  (As a related issue, I'm not
sure how to determine the exact version of the driver I'm running
- I haven't seen it in "lsmod" or in the system log files, etc.,
but maybe I've missed it).

(3) Is there any *specific*, KNOWN reason to think that it is
*impossible* to get this combination working with the "i810_audio"
driver?

(4) Correspondingly, is it *known* to work with the ALSA drivers?

(5) Is there any solid reason to try compiling and installing the
"i810_audio" driver from source (I've been loading the "i810_audio.o"
out of the "/lib" tree; I'm assuming, however accurately, that it
corresponds to the source from which the kernel was built, since
I loaded it all off the Debian CD-ROMs)?

(6) I notice that OSS also *sells* drivers...  is there any reason
to expect that whatever I might buy from them, can be expected to
work (or that it will be any simpler to deal with than the ALSA
installation, which looks like a convoluted mess)?

I've been at this for weeks, off and on, and have fixed any number of
problems along the way, but I still don't have sound, and I'm running
out of ideas (and websites to troll for information).

I'm not trying to bring up God's own sound mixing and recording system;
I just want things like Netscape plugins or whatever that happens to
want to output sound, to be able to output sound.

I'm somewhat mystified by all the suggestions to try this and try that
and see if it works, that I find on the net - I thought the advantage of
having an open-source environment was that it was possible to *identify*
what was going on, and that speculatively flailing around in every
direction was the provenance of the Gatesware droids.  Am I missing
something
here?  Do I need to become a specialist in sound system architectures
and
rewrite a driver in order to get sound working?  (I'm well on the way to
becoming a network engineer just to get my LAN up, so why not, I
guess...)

Re: OSS - I'm curious about the relationship between the
apparently-OSS-based
driver I'm trying to use, and the "commercial" OSS drivers that are
available...
did somebody decide to try to make money off doing it right for a
change, or
something?

Thanks in advance.  I sincerely hope somebody has a very simple fix
and I end up feeling like a complete idiot for posting this; it
would be more than worth the humiliation, after all of the fruitless
effort I've expended.


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



Re: when sarge will be released?

2004-11-08 Thread Dave Ewart
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Monday, 08.11.2004 at 16:07 -0500, Carl Fink wrote:

> On Mon, Nov 08, 2004 at 11:45:10AM +, Dave Ewart wrote:
> 
> > I disagree.  Woody is perfectly usable for most purposes.  I accept
> > there may be some instances where features provided by newer
> > versions of some software is essential, but many new versions can be
> > backported.
> 
> At which point it really isn't Woody any more.

Hmmm, possibly.  Normally, though, you'd just backport one or two
packages - if you actually need *loads* of newer software, then Woody
isn't appropriate, but that's probably a different argument and you
requirements are likely very unusual.

For instance, our database server runs Woody.  It runs PostgreSQL and
has some CGI scripts written by a colleague.  For his scripts to run, we
needed to backport a couple of Perl modules.  That's all.  I wouldn't
really call it Not Woody.

Dave.
- -- 
Dave Ewart - [EMAIL PROTECTED] - jabber: [EMAIL PROTECTED]
All email from me is now digitally signed, key from http://www.sungate.co.uk/
Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92

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

iD8DBQFBj/MNnhBnac0o2pIRAk66AKCURsQM2R7znqMd+ERCG0zUl4ws9gCg7M+a
8Dt2Q9pvqWgyND61zgGz8wY=
=9ogd
-END PGP SIGNATURE-


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



Re: when sarge will be released?

2004-11-08 Thread Joerg Rossdeutscher
Hi,

Am Montag, den 08.11.2004, 05:55 -0500 schrieb Carl Fink:
> Speaking as the admin of a Woody server, it's not really usable any
> more.  I'm in the position now of considering other distros just
> because this stays up in the air.
> 
> At this point, truthfully, I'm wondering when Etch is due for
> release.  If it's another multi-year wait, I'll have to look at
> alternatives.

Fully agree. One is alone in darkness when looking for solutions for
exim3, stoneage-shorewall etc. Woody is full of applications that are
not used anymore by most people, so nobody can help or googled solutions
don't work (describe newer versions).

sid is nice for my desktop, but for my servers I am also looking for
another distro. Unfortunately Ubuntu is targeted to desktops. 

I *really* wish there were a "server only debian" with once-a-year
release.

Bye, Ratti

-- 
 -o) fontlinge | Fontmanagement for Linux | Schriftenverwaltung in Linux
 /\\ http://freshmeat.net/projects/fontlinge/
_\_V http://www.gesindel.de https://sourceforge.net/projects/fontlinge/


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: Mcopy not removing the "^M" character

2004-11-08 Thread Richard Lyons
On Monday 08 November 2004 19:00, Eric Dickner wrote:
> 
> --- David Jardine <[EMAIL PROTECTED]> wrote:
>  
> > If you're putting something on to a windows machine,
> > wouldn't 
> > mcopy automatically use the dos CR-LF?
> 
> I was trying to remove the CR-LF so the /etc/hosts
> file lookup wouldn't be messed up.  I never did get
> "mcopy -T" (or any option or combination of options)
> to do it.  Instead I used the KDE file manager as root
> (something I ususally use "nano" and a shell) and cut
> and paste.  It was smart enough to strip them off.

Wouldn't 
   $ tr '\r\n' '\n' < dosfile > unixfile

do it?

-- 
richard


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



SA send mail to TMDA if spam level higher than 3

2004-11-08 Thread Jacob FL
How can I have SpamAssassin send mail to TMDA if the spam level is 
higher than 3?

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



Re: when sarge will be released?

2004-11-08 Thread Ron Johnson
On Mon, 2004-11-08 at 23:29 +0100, Joerg Rossdeutscher wrote:
> Hi,
> 
> Am Montag, den 08.11.2004, 05:55 -0500 schrieb Carl Fink:
> > Speaking as the admin of a Woody server, it's not really usable any
> > more.  I'm in the position now of considering other distros just
> > because this stays up in the air.
> > 
> > At this point, truthfully, I'm wondering when Etch is due for
> > release.  If it's another multi-year wait, I'll have to look at
> > alternatives.
> 
> Fully agree. One is alone in darkness when looking for solutions for
> exim3, stoneage-shorewall etc. Woody is full of applications that are
> not used anymore by most people, so nobody can help or googled solutions
> don't work (describe newer versions).
> 
> sid is nice for my desktop, but for my servers I am also looking for
> another distro. Unfortunately Ubuntu is targeted to desktops. 
> 
> I *really* wish there were a "server only debian" with once-a-year
> release.

Why not make your own yearly snapshots of testing?

-- 
-
Ron Johnson, Jr.
Jefferson, LA USA
PGP Key ID 8834C06B

"I need an expert on the pain I'm goin' thru, so I keep George on
the ol' turn table 'till I'm over you..."
Mark Chesnutt, "Just Playin' Possum"



signature.asc
Description: This is a digitally signed message part


Re: Mcopy not removing the "^M" character

2004-11-08 Thread Kenward Vaughan
On Mon, Nov 08, 2004 at 07:58:13PM +0100, David Jardine wrote:
> On Mon, Nov 08, 2004 at 07:01:41AM -0800, Kenward Vaughan wrote:
> > On Mon, Nov 08, 2004 at 05:46:08AM -0800, Eric Dickner wrote:
> > > Hello,
> > > 
> > > I have a text file that I burned onto a CD on a
> > > windows machine. 
> 
> If you're putting something on to a windows machine, wouldn't 
> mcopy automatically use the dos CR-LF?

I don't think this happens.  

The OP wanted to transfer from the Windoze environment anyway.

He might find an easier solution to be
mcopy drive:$FILE ; fromdos $FILE
which will assure the change happens, all without any copy/paste stuff
(which I saw in his other followup post).

Cheers,


Kenward
-- 
In a completely rational society, the best of us would aspire to be 
_teachers_ and the rest of us would have to settle for something less, 
because passing civilization along from one generation to the next 
ought to be the highest honor and the highest responsibility anyone 
could have. - Lee Iacocca


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



Re: SA send mail to TMDA if spam level higher than 3

2004-11-08 Thread Paul Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Jacob FL <[EMAIL PROTECTED]> writes:

> How can I have SpamAssassin send mail to TMDA if the spam level is
> higher than 3?

This is probably not the solution you are looking for: TMDA is
considered harmful.
http://kmself.home.netcom.com/Rants/challenge-response.html
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.5 (GNU/Linux)

iD8DBQFBj/fRUzgNqloQMwcRArJvAJ9zaepMr8lYMLc+yxo5lvrhvJ2AXgCdEWc3
KTQSxq/rng7WfCfDUtz6DRA=
=VfDU
-END PGP SIGNATURE-


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



Re: graphical console problem

2004-11-08 Thread Luis Finotti
Dear Ming and all,

Thanks for the reply, Ming.  I really appreciate your help.

I put "video=sisfb:mode:none" in the append part of lilo.conf and it did work 
(back to text mode), but now the computer try to fit more lines than it fits 
in the screen, in the sense that there are lines below what the screen is 
showing.  For instance, if I type "ls -l", some of the entries (and the 
prompt) will be below the visible part of the screen...  Can that be fixed?  
(It did not happen before the update changed to graphic...)

Is there a configuration file for this graphic console?

Thanks,

Luis

On Sunday 07 November 2004 22:59, Ming wrote:
> Try to pass "video=sisfb:mode:none" to your kernel, just like pass
> vga=ask. This options tells kernel does not turn on the sis framebuffer.
> If this option works, you will bootup your machine in text console. At
> that point you can try to activate standard framebuffer by passing
> "vga=791" to your kernel.
>
> Best Regards,
> Ming



Re: Serious compiler problem

2004-11-08 Thread Martin Dickopp
Sebastian LÃvdahl <[EMAIL PROTECTED]> writes:

> Hello! I have a very big problem with GCC (maybe this is wrong thread,
> but maybe it isn't GCC related at all). When I try to compile a specific
> file, GCC gives me this:
>
> In file included from globals.h:11,
>  from main.c:19:
> /usr/lib/gcc-lib/i486-linux/3.3.4/include/stddef.h:151: error: syntax
> error before "typedef"
>
> I have *no* clue why this happened, I just edited the file (main.c),
> saved it, and tried to compile again, and it suddenly gave me this. It's
> not the first time, it happened on another machine too (completly
> different). All help is appreciated*.

Please show us the relevant files (main.c, globals.h; if they are too
long to post them completely, post them up to and including lines 19, 11
where the error occurs) and tell us the exact command line you have used
to invoke gcc.

Martin


-- 
   ,--.  ,= ,-_-. =.
  / ,- )Martin Dickopp, Dresden, Germany((_/)o o(\_))
  \ `-'http://www.zero-based.org/`-'(. .)`-'
   `-.   \_/



Re: dselect not respecting holds ?

2004-11-08 Thread Maurits van Rees
On Mon, Nov 08, 2004 at 01:23:54PM -0800, James Kirk wrote:
> > The correct way to keep a package in its current
> > uninstalled form is
> > *not* to put in on hold. 
> 
> Can you point to the documentation that says this is
> the correct way to keep a package in its current
> state?

I'll express myself more clearly:

- If you have installed a package and you want to keep it in its
current state: mark it `on hold'.

- If you have a package that you don't want to have installed, no
matter what its current state is: mark it `remove' or `purge'.


Now let's see what we can find in the docs.

`man dselect' says:

Current and requested selections:
 *   marked for installation or upgrade;
 -   marked for removal, configuration files remain;
 =   on hold: package will not be processed at all;
 _   marked for purge, also remove configuration;
 n   package is new and has yet to be marked.

I guess that means that putting a not yet installed, unwanted package
on hold could work just fine. Personally I would still mark it for
purge, as that signals more clearly that you don't want this
package. To me, marking a package on hold signals that you consider it
special and want to know it if some other package wishes to install it
or upgrade it. Dselect may feel the same way.

But no matter how you mark a package A, there could still be a package
B that depends on it and overrules your marking, presenting you with a
conflict resolution screen. You said that there were only
recommendations and suggestions in this case, so the behaviour you
describe indeed seems strange.

> > The first time dselect
> > presents you with a
> > recommended or suggested package that you don't
> > want, simply decline
> > to install it. Next time dselect should not ask that
> > question again.
> 
> Nope.  Have you tried this ?  It certainly doesn't
> work on my system.  That is the reason I thought I
> would give the "hold" state a try.

Yes, I have tried this and it works on my system.


Again, can you mail the result of the following command?

dpkg -l tetex-bin texi2html gramofile mctools-lite cddb dselect

And while you are at it, also give the result of:

uname -a

And include the contents of the file /etc/apt/apt.conf for good
measure.

-- 
Maurits van Rees | http://maurits.vanrees.org/ [Dutch/Nederlands]
"Let your advance worrying become advance thinking and planning."
 - Winston Churchill


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



Re: Oh, NO! Not that same "No Sound" question again...

2004-11-08 Thread Hugo Vanwoerkom
[EMAIL PROTECTED] wrote:
Yeah, that same "No Sound" question again.  But I can't find
an answer that's gotten my sound working anywhere, so I'll give
this list a try.
I have an Intel 82820 (Camino 2) chipset and a stable Woody.
I've installed the "i810_audio" driver (via "/etc/modules").
"lspci" output looks OK.  both "/dev/audio" and "/dev/dsp" are
there.  I don't see any sound-related (at least to my ability
to determine) error messages in the log files.  Sound works OK
in Windoze.  I don't get any sound when I "cat" a ".wav" or
".au" file to either "/dev/audio" or "/dev/dsp".  I've tried both
"kmix" and "aumix", to make sure sound isn't muted,and neither
makes any difference.
lsmod? Does your driver show up?
In syslog, does it get activated? Like:
debian kernel: ad1848/cs4248 codec driver Copyright (C) by Hannu 
Savolainen 1993-1996

Also, if the answer to the above is affirmative, there is no sound as root?
H.

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



Re: Mcopy not removing the "^M" character

2004-11-08 Thread David Jardine
On Mon, Nov 08, 2004 at 11:26:55PM +0100, Richard Lyons wrote:
> On Monday 08 November 2004 19:00, Eric Dickner wrote:
> > 
> > --- David Jardine <[EMAIL PROTECTED]> wrote:
> >  
> > > If you're putting something on to a windows machine,
> > > wouldn't 
> > > mcopy automatically use the dos CR-LF?
> > 
> > I was trying to remove the CR-LF so the /etc/hosts
> > file lookup wouldn't be messed up.  I never did get
> > "mcopy -T" (or any option or combination of options)
> > to do it.  Instead I used the KDE file manager as root
> > (something I ususally use "nano" and a shell) and cut
> > and paste.  It was smart enough to strip them off.
> 
> Wouldn't 
>$ tr '\r\n' '\n' < dosfile > unixfile
> 
> do it?

For me that doubles each newline, but I can't see why.  But

$ tr -d '\r' < dosfile > unixfile

seems to do it.

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

-- 
David Jardine

"Running Debian GNU/Linux and
loving every minute of it." -Sacher M.


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



Re: graphical console problem

2004-11-08 Thread Kam-Ming Siu
Dear Luis,

Try to tune the vertical lenght of your monitor manually(using
the button on the screen). The problem seems to be the refresh rate has
changed .

There is a web page shows the usage of sisfb. It may help you.

< http://www.winischhofer.at/linuxsisvga.shtml >

As I know there is not a file store the setting of  graphical console.
If you want to change the graphical console mode, you have to set it as
the modules is loading or by using kernel parameter.

Regards,
Ming

On Mon, Nov 08, 2004 at 05:34:35PM -0500, Luis Finotti wrote:
> Dear Ming and all,
> 
> Thanks for the reply, Ming. ?I really appreciate your help.
> 
> I put "video=sisfb:mode:none" in the append part of lilo.conf and it did work 
> (back to text mode), but now the computer try to fit more lines than it fits 
> in the screen, in the sense that there are lines below what the screen is 
> showing. ?For instance, if I type "ls -l", some of the entries (and the 
> prompt) will be below the visible part of the screen... ?Can that be fixed? ?
> (It did not happen before the update changed to graphic...)
> 
> Is there a configuration file for this graphic console?
> 
> Thanks,
> 
> Luis
> 
> On Sunday 07 November 2004 22:59, Ming wrote:
> > Try to pass "video=sisfb:mode:none" to your kernel, just like pass
> > vga=ask. This options tells kernel does not turn on the sis framebuffer.
> > If this option works, you will bootup your machine in text console. At
> > that point you can try to activate standard framebuffer by passing
> > "vga=791" to your kernel.
> >
> > Best Regards,
> > Ming
> 


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



Re: when sarge will be released?

2004-11-08 Thread Carl Fink
On Mon, Nov 08, 2004 at 04:40:45PM -0600, Ron Johnson wrote:
> On Mon, 2004-11-08 at 23:29 +0100, Joerg Rossdeutscher wrote:

> > I *really* wish there were a "server only debian" with once-a-year
> > release.
> 
> Why not make your own yearly snapshots of testing?

Because the point is to have a stable distribution?  I use testing on my
desktop, but I don't trust it for my organization's production servers.
-- 
Carl Fink   [EMAIL PROTECTED]
Manager, Dueling Modems Computer Forum



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



alsa won't work unless i kill esd

2004-11-08 Thread ms linux
sorry for another trivial question about alsa.
i use sid 2.4.27 and gnome for desktop.
recently if i want xmms play my mp3s, i have to kill
esd first :-(
this happen since alsa updates to 1.0.6
seem that alsa and esd use the same resource (
/dev/dsp )
maybe

cheers,

--me--


=


  I love Linux but how many years will I wait to have awesome games run on
  my linux box ???
  During that time I will always have dual boot 



__
Do You Yahoo!?
Download the latest ringtones, games, and more!
http://sg.mobile.yahoo.com


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



  1   2   >