Re: poor font rendering in white-over-black (eg Mutt)

2005-05-23 Thread Ionut Georgescu
Use a bitmap font, like "Fixed". Bitmap fonts are enabled per default in
fontconfig, but you may want to check it with

dpkg-reconfigure fontconfig

Or simply use UXTerm with

*VT100*font: -misc-fixed-medium-r-semicondensed--13-120-75-75-c-60-iso10646-1

Ionut

On Mon, May 23, 2005 at 01:53:15PM +0200, A Mennucc wrote:
> hi
> 
> I just upgraded my box from woody to sarge
> 
> overall the result is OK, but for minor glitches
> 
> one problem is that the rendering of the fonts when using Mutt, or any 
> other application
> that draws white chars over black background, is much worse
> 
> I attach a snapshot of the window: as you can see , some characters are 
> almost unreadable
> (for example the 'o' do not look like circles but rather as squares 
> without corners)
> 
> any suggestion ?
> 
> a.


-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: firefox and mozilla fail to pring if papersize is incorrect, is there a fix?

2005-05-23 Thread Ionut Georgescu
Default papersize for firefox:

set print.postscript.paper_size in /etc/mozilla-firefox/pref/firefox.js

I did not try, but it should work. On the other hand, you should set the
printers to scale the document if the paper size is different. Think of
guest notebooks.

Regards,
Ionut

On Mon, May 23, 2005 at 11:54:37PM +1000, Ivan Teliatnikov wrote:
> I do not have xprint installed.
> 
> I encountered a problem with the latest firefox and mozilla (in sarge
> and sid). Both firefox and/or mozilla fail to print to a remote cups
> server if paper size specified in File > Print > Properties is different
> from the paper size configuration of the printer the job is sent to. 
> 
> I am able to generate a postscript file (mozilla.ps) by printing to a
> file. Spooling this file to a postscript printer fails. 
> 
> Cups detects that something is wrong; status of the printer changes to
> "job sent to printer, waiting for completion ..." or something similar
> and remains this way until next job is sent to a printer ( I not 100%
> about status).
>
> Logs on cups server are misleading. List of printed jobs shows that the
> job was printed successfully. May be it was sent successfully, but
> nothing comes out of the printer, so perhaps it should be marked as
> unsuccessful?
> 
> Parsing mozilla.ps through ps2ps distiller, generates a normalised
> postscript file mozilla_norm.ps. 
> 
> The normalised postscript is spooled without any problems.
> 
> Can anyone confirm this behaviour?! 
> 
> It looks like a bug to me, but I not sure whom to report it to GUPS or
> mozilla? Or perhaps it is a printer's fault, because it is configured to
> reject jobs unless a correct paper size is used? Can any one advise,
> please.
> 
> I found a reference to a similar bug printed on mozilla zine site.
> http://forums.mozillazine.org/viewtopic.php?t=797&highlight=papersize
> 
> Posted: Nov Fri 15th 2002 3:17am  Print always reverts to "Letter" paper
> size.  It looks it still exists in firefox 1.0.3 and 1.0.4 but fixed in
> mozilla (in sarge).
> 
> The date suggests that bug is over 3 years old and nobody cared about
> fixing it. This is a worry considering how many new features were added
> to firefox in the last 3 years.
> 
> It is an interesting case because neither bugs are critical, but have
> cumulative effect on decreasing usability of firefox in production
> environment. I teach a small group of users to change settings to use
> preferred paper size ( with large number of users, this is
> impractical) , but I cannot expect from any user to remember to change
> paper settings every time application is restarted. 
> 
> In academic and business environment web browser is a flagman
> application, it is used to view (on screen or paper) and manipulate ,
> financial documents, date, information (books, papers, documents, etc). 
> 
> Inability to print or even unreliable printing means that software is
> not suitable for production work. In my opinion, combined effect of
> these two bugs is a new - critical bug which makes firefox unsuitable
> for stable release.
> 
> Summary of questions
> =
> 
> Can someone please confirm that firefox is not able to print when paper
> size does not match on on the printer?
> 
> Is it possible to configure firefox to use a certain paper size?
> 
> Should I report failure to print to cups or mozilla?
> 
> What status should be assigned to this bug?
>  
> Thank you for your attention.
> 
> Regards,
> -- 
> __
> 
> Ivan Teliatnikovphone: +61 2 9351 2031
> F05, Edgworth David Bld.  fax: +61 2 9351 0184
> School of Geosciences   email: [EMAIL PROTECTED]
> Univrsity of Sydney   www: http://www.geosci.usyd.edu.au
> Australia
> __
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 
> 
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: bluetooth how to?

2005-05-23 Thread Ionut Georgescu
Hello Alberto,

has your host controler been recognized ? (look into dmesg)

Ionut

On Mon, May 23, 2005 at 06:08:04PM +0200, Alberto Bert wrote:
> Hi all,
> 
> I'm trying to make working the bluetooth of my laptop.
> 
> I read some documentation, and it seems simple...
> 
> - I'm running sid, kernel 2.6.11-686. In that kernel the default config
> options seems to be ok for the bluetooth.
> 
> - I installed bluez-utils, bluez-hcidump, bluez-firmware
> 
> - The modules are running: rfcomm, l2cap, bluetooth
> 
> but:
> 
> when I try to run hciconfig it does nothing.
> 
> Did I missed something? I see there's a patch package, do I need to
> install it?
> 
> 
> Thanks,
> Alberto
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 
> 
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: Install procedures

2005-05-23 Thread Ionut Georgescu
Hello Nigel,

is this of any help ?


   Using  kbdrate  without  any options will reset the repeat rate to 10.9
   characters per second (cps) and the delay to 250 milliseconds (ms)  for
   Intel-  and  M68K-based systems.  These are the IBM defaults. On SPARC-
   based systems it will reset the repeat rate to 5 cps and the delay  to
   200 ms.


from man kbdrate. In X there is an equivalent with xset.


Cheers,
Ionut

On Mon, May 23, 2005 at 06:30:28PM +0200, Nigel wrote:
> Hi, whoever.
> 
> I have searched the various forums (hours of work) but I cannot find an
> answer to the following question.
> 
> Where in the OSS Unix/Linux is the control of switch debounce for input
> devices.
> 
> Reason:
> 
> during install of a couple of versions of Linux, Debian based or not, I've
> discovered that neither the keyboard nor the mouse react in a determined
> fashion.
> 
> It is possible, whether working with graphical screen and mouse or text and
> keyboard, to skip entire pages.
> 
> The last package I tried, Ubuntu, caused me to comment on the lack of an
> alternative language during install. The second install, after the system
> crashed irretrievably, revealed that installing two languages is possible.
> 
> Apart from the initial question, is it not therefore possible that many
> install problems are caused by skipped pages?
> 
> Regards, Nigel Creevy
> Ahlerstedt, Germany.
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 
> 
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: kernel compilation buggy?

2005-05-23 Thread Ionut Georgescu
Hello Alberto,

I run 2.6.11-ck8 and 2.6.11.2 with no issues. Both compiled with
make-kpkg.

Could it be a wrong .config file ?

Regards,
Ionut

On Mon, May 23, 2005 at 07:11:00PM +0200, Alberto Bert wrote:
> Sorry, I forgot to say that I'm running sid
> 
> Alberto
> 
> On May 23, 2005 at 07:06:31PM +0200, Alberto Bert wrote:
> > Hi,
> > 
> > I just tryed to compile the 2.6.22 kernel with make-kpkg and the default
> > config file.
> > 
> > I doesn't boot giving endless loop with and error apparently related
> > to proc and init. I cannot be more precise cause I don't know where to find 
> > back
> > what it was on the console...
> > 
> > Is that a known problem of this moment?
> > 
> > Do you think 2.6.10 should be more stable?
> > 
> > thanks
> > Alberto
> > 
> > 
> > -- 
> > 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]
> 
> 
> 
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: OpenOffice Writer and Bold text.

2005-05-24 Thread Ionut Georgescu
Hi Glenn,

you are using Nimbus Roman fonts, which bold or not look the same on
screen. I don't know why. Try Times or Times New Roman instead.


Cheers,
Ionut


On Tue, May 24, 2005 at 09:47:02AM +1000, Glenn Meehan wrote:
> Hi,
> 
> I'm using openoffice writer.  When I select text and apply the bold
> attribute to that text the text does not exhibit the bold appearance one
> would expect.  When I print the text it does appear bold.  
> 
> Am I missing a font?
> 
> How can I make the text appear bold on my screen in open office writer?
> 
> I'm using open office 1.1.3.
> My kernel version is 2.6.8.
> KDE 3.3.2
> 
> Thanks,
> 
> Glenn
> -- 
> Glenn Meehan <[EMAIL PROTECTED]>
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 
> 
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: Changes to apt-get

2005-05-24 Thread Ionut Georgescu
chmod? NEVER!

install sudo and run either

sudo vi /etc/apt/source.list
or
sudo kate /etc/apt/source.list

The best is the first one, of course. ;-)


To setup sudo:
apt-get install sudo
su -
vi/joe/emacs /etc/sudoers
and add an entry with your username, for example

george  ALL=(ALL) ALL

This way you can execute commands as root by just prepending sudo. It
will ask for you password and remember it for a while, so you don't have
to enter it every time. sudo will forget the password after about 5
minutes of inactivity.

Regards,
Ionut


On Tue, May 24, 2005 at 01:16:15PM +1000, Glenn Meehan wrote:
> You could chmod 666 sources.list.  But I suspect that the default
> permissions are set to 644 for a good reason, so you probably ought not
> go tampering with them.
> 
> -- 
> Glenn Meehan <[EMAIL PROTECTED]>
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 
> 
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: kernel compilation buggy?

2005-05-24 Thread Ionut Georgescu
I usually run vanilla sources. For the 2.6.11.-ck8 I wanted to give the
much praised -ck patch a try, but for now I haven't seen any difference
yet :-)

Ionut

On Tue, May 24, 2005 at 09:02:59AM +0100, Anthony Campbell wrote:
> On 23 May 2005, Ionut Georgescu wrote:
> > Hello Alberto,
> > 
> > I run 2.6.11-ck8 and 2.6.11.2 with no issues. Both compiled with
> > make-kpkg.
> > 
> > Could it be a wrong .config file ?
> > 
> > Regards,
> > Ionut
> > 
> 
> Is this the vanilla kernel source or the Debian kernel-source package?
> 
> Anthony
> 
> -- 
> [EMAIL PROTECTED]||  http://www.acampbell.org.uk for
> using Linux GNU/Debian ||  blog, 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]
> 
> 
> 
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: cant write national characters - locales issue?

2005-05-24 Thread Ionut Georgescu
What fonts do you use? it may be that they simply don't have your
glyphs.

Ionut

On Tue, May 24, 2005 at 10:22:06AM +0200, Michal Simovic wrote:
> 
> i've got both US and SK (Slovak) keyboard layout installed. but this is 
> not a matter of missing/bad keyboard layout as i'm able to write all the 
> characters in OpenOffice.org and only some of them in ordinary 
> text-editors like Kate, KWrite of Quanta..
> -- 
> miso
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 
> 
> 
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: cant write national characters - locales issue?

2005-05-24 Thread Ionut Georgescu
Send the output of env and locale please.

Ionut

On Tue, May 24, 2005 at 12:08:02PM +0200, Michal Simovic wrote:
> 
> i use ordinary fonts, i have set the default font in KDE to Verdana. but 
>   i don't think this is a problem neither - i'm able to write all the 
> characters with Verdana (and other fonts) in OO.org..
> 
> what might be helpful to identify the problem? should i source any 
> config file?
> -- 
> miso
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 
> 
> 
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: want to change /var/log partition to a directory in /var --help

2005-05-24 Thread Ionut Georgescu
cd /var
cp -r log log.bak # or cp -r log /home/log.bak is /var is too small
umount log
rmdir log
mv log.bak log

If the partition that used to be mounted under /var/log is just after
/var, then you can extend /var:
* with fdisk:
-# delete /var/log
-# write down where /var begins (press u to see the addresses in
   blocks instead of cylinders)
-# delete /var
-# create a new partition for the whole free space. The new
   partition must begin at exactly the same address as the old /var
-# say a prayer
-# press w for write
now you can also resize the filesystem with ext2resize, xfs_resize etc.
This one is tricky again as XFS can be resized online, ext2 not etc.
Please supplyu some details if you want to continue on this path.

Good luck,
Ionut

On Tue, May 24, 2005 at 03:13:33PM +0530, Siju George wrote:
> Hi all,
> 
> As I installed my Debian I gave very little space for /var/log
> partition and the partition is full now and the system is slow :-(
> 
> how can I change the "/var/log" from the "/var/log"partition to the
> "/var" partition under a directory "/var/log"
> 
> Could someone please tell me what steps should I take so as not to
> miss the current logs too???
> 
> Thankyou so much
> 
> Kind Regards
> 
> Siju
> 
> 
> 
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: md5 problems - sarge

2005-05-24 Thread Ionut Georgescu
google for wget for windows :-P

Ionut

On Tue, May 24, 2005 at 12:58:00PM +0200, [EMAIL PROTECTED] wrote:
>  sorry, i have windows installed.. i need clear iso images and need approve 
> them..
> 
> no net install, no linux trikx, only md5 for isos...
> 
> richard
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of CoolFox
> Sent: Tuesday, May 24, 2005 12:16 PM
> To: debian-user@lists.debian.org
> Subject: Re: md5 problems - sarge
> 
> [EMAIL PROTECTED] a écrit :
> > hello,
> > can you please help me?
> > i trying to download ISOs of sarge debian for install it.. i can 
> > download only through http, no jidgo, no net install etc...
> > but i cannot find MD5 checksums of those ISOs (actual sarge..) and it 
> > seems that i didnt download correct images (error when i try to boot 
> > from CD)
> > 
> > thank you very much
> > 
> > Richard
> 
> try to download md5 with wget
> 
> apt-get install wget
> 
> 
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 
> 
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: poor font rendering in white-over-black (eg Mutt)

2005-05-24 Thread Ionut Georgescu
My /etc/fonts/local.conf




  /var/lib/defoma/fontconfig.d/fonts.conf
  /usr/X11R6/lib/X11/fonts

  
unknown
rgb
  

  
false
true
  
  
12
Bitstream
false
  



On Tue, May 24, 2005 at 06:04:51PM +0700, Alex Grigorovich wrote:
> On Mon, 2005-05-23 at 13:53 +0200, A Mennucc wrote:
> > one problem is that the rendering of the fonts when using Mutt, or any 
> > other application
> > that draws white chars over black background, is much worse
> 
> Try disabling font autoaliasing (Applications->Desktop
> Preferences->Font->monochrome under gnome). 
> 
> I believe you can disable it for specific font/size combinations
> applying some fontconfig magic, but I've never actually worked out how.
> 
> -- 
> Alex
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 
> 
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: want to change /var/log partition to a directory in /var --help

2005-05-24 Thread Ionut Georgescu
Please send fdisk -l /dev/hda. Judging by your /etc/fstab, you can't do
anything because you have /home and /tmp between /var and /var/log. The
best you cand do is to move /tmp and /var/log to /var and extend /home
:-)

I will describe the next steps anyway:

First: ext3 must resized offline. Second, if you modify the partition
table while running you have to reboot anyway, because the kernel
cannot reload the partition table while the disk is being used. You can
combine these two into 2 steps:

cp -r /var/log /home/log.bak
adjust partition table. delete the /var/log line in /etc/fstab

reboot into single user mode

What happens: after reboot, /dev/hda3 will be larger, but the filesystem
has not changed yet. Being in single user mode, no program is running
at all so you can just
umount /var
ext2resize /dev/hda3
mount /var
done

now you just need to copy log
mount -o remount,rw /home
rmdir /var/log
mv /home/log.bak /var/log
reboot

Ionut

On Tue, May 24, 2005 at 05:42:34PM +0530, Siju George wrote:
> Thankyou so much Ionut for the detailed steps :-)
> 
> On 5/24/05, Ionut Georgescu <[EMAIL PROTECTED]> wrote:
> > cd /var
> > cp -r log log.bak # or cp -r log /home/log.bak is /var is too small
> > umount log
> > rmdir log
> > mv log.bak log
> > 
> 
> I understood the steps but I have a doubt.
> 
> What will hape When I restart the system
> 
> Should I remove any thing from fstab before I restart???
> 
> --
> 
> # /etc/fstab: static file system information.
> #
> #
> /dev/hda1   /   ext3errors=remount-ro   0   1
> /dev/hda2   noneswapsw  0   0
> proc/proc   procdefaults0   0
> /dev/fd0/floppy autouser,noauto 0   0
> /dev/cdrom  /cdrom  iso9660 ro,user,noauto  0   0
> /dev/hda3   /varext3defaults0   2
> /dev/hda5   /home   ext3defaults0   2
> /dev/hda6   /tmpext3defaults0   2
> /dev/hda7   /var/logext3defaults0
> 2
> /dev/hda8   /usrext3defaults0   2
> /etc/fstab (END)
> 
> --
> 
> the line
> 
> /dev/hda7   /var/logext3defaults0
> 
> is my suspect :-)
> 
> Is it O.K to remove that line??? or should I leave it there??? is that
> enough? or should i be removing somehing else also some where else??
> 
> Thankyou so much once again :-))
> 
> kind regards
> 
> Siju
> 
> 
> 
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: poor font rendering in white-over-black (eg Mutt)

2005-05-24 Thread Ionut Georgescu
It is not a bug at all. Antialiased white text on black looks bad.
Period. Use a bitmap font. Fontconfig can also use bitmap fonts. Can you
choose 'Fixed' in the font selection dialog in Gnome?

If not,
apt-get install xfonts-base xfonts-base-transcoded
and
dpkg-reconfigure fontconfig
where you have to enabled bitmap fonts.

I also sent my fontconfig configuration in a previous email, where I
disabled antialiasing for font sizes between 7 and 15 pixels.

Ionut

On Tue, May 24, 2005 at 01:44:24PM +0200, A Mennucc wrote:
> Alex Grigorovich wrote:
> 
> >On Mon, 2005-05-23 at 13:53 +0200, A Mennucc wrote:
> > 
> >
> >>one problem is that the rendering of the fonts when using Mutt, or any 
> >>other application
> >>that draws white chars over black background, is much worse
> >>   
> >>
> >
> >Try disabling font autoaliasing (Applications->Desktop
> >Preferences->Font->monochrome under gnome). 
> >
> > 
> >
> this fixes the problem in the gnome terminal showing mutt, (or, "aptitude")
> but it skrews the rendering in all other cases, so I am unwilling to do that
> 
> >I believe you can disable it for specific font/size combinations
> >applying some fontconfig magic, but I've never actually worked out how.
> 
> I may look for that , too
> 
> -
> 
> I have played with different fonts :
> monospace is actually the best
> courier is even worse.
> 
> I also played with different settings of hinting and of antialiasing:
> 
> hinting = full , antialiasing = grayscale  , font = courier 10 pt
> gives the worst case : in this case, some parts of some letters
> are so dark that they are almost invisible
> 
> see attachment
> 
> I really think that this is a bug ...
> what package should I report against?
> 
> thax
> 
> a.


-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: want to change /var/log partition to a directory in /var --help

2005-05-24 Thread Ionut Georgescu
Hi Siju,

On Tue, May 24, 2005 at 06:41:17PM +0530, Siju George wrote:
> Thankyou so much Ionut for the continuing help :-)

You're welcome :-) Playing around with partition tables is one of my
favourites.

> # /etc/fstab: static file system information.
> #
> #  
> 
> /dev/hda1   /   ext3errors=remount-ro   0  1
> /dev/hda2   noneswapsw  0 0
> proc/proc   procdefaults0 0
> /dev/fd0/floppy autouser,noauto 0 0
> /dev/cdrom  /cdrom  iso9660 ro,user,noauto  0 0
> /dev/hda3   /varext3defaults0 2
> /dev/hda5   /home   ext3defaults0 2
> /dev/hda6   /tmpext3defaults0 2
> /dev/hda7   /var/logext3defaults 0 2
> /dev/hda8   /usrext3defaults0 2

>Device BootStart   EndBlocks   Id  System
> /dev/hda1   * 161489951   83  Linux
> /dev/hda262   365   2441880   82  Linux swap
> /dev/hda3   366  3404  24410767+  83  Linux
> /dev/hda4  3405  4870  117756455  Extended
> /dev/hda5  3405  3647   1951866   83  Linux
> /dev/hda6  3648  3890   1951866   83  Linux
> /dev/hda7  3891  3914192748+  83  Linux
> /dev/hda8  3915  4870   7679038+  83  Linux

I was hoping for an unsorted partition table, but unfortunately you
cannot glue /var and /var/log together because they're too far away. And
moving /home is quite risky (I think it's possible with dd, but I
haven't tried it yet)

Now: is this a server? you have a hge /var! I would just move
/var/log to /var and glue /dev/hda7 to /dev/hda6 if this is a server how
it seems. Or, move /var/log and /tmp to /var (don't forget ln -s
/var/tmp /tmp) and then glue /dev/hda6 and /dev/hda7 to /dev/hda5

> 
> meanwhile I tried your steps on a similar but got stuck here
> 
> # umount log
> umount: /var/log: device is busy
hmm, this shouldn't be the case in single user mode, but anyway, try

init 1

to make sure. then:

ps aux

and see what processes are running. try

kill -15 PID

If they're still there, than trash them :-)
kill -9 PID

you could also try 

lsof | grep /var/log

to see who's writing to /var/log

Hope it helps.
Ionut

-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: CUPS? Printer.

2005-05-24 Thread Ionut Georgescu
Please stop because you know it's not true.  For debian it means
figuring out either

"Where do I want to receive browsing information from?"

or

"Whom am I sending browsing information to?" and
"From whom do I want to accept print requests?"

That is, changing 0 to 1 lines for the client, or 1 to 2 lines for the
server in cupsd.conf.

Done.

Ionut

On Tue, May 24, 2005 at 10:55:25AM -0400, Brendan wrote:
> On Monday 23 May 2005 09:40 pm, David R. Litwin wrote:
> > My print manager will not work. Going to http://localhost:631 does not
> > work: It times out with out doing a thing.
> 
> CUPS is a frigging nightmare to just do a simple network install where you 
> don't give a rat's a-hole about security and encryption and you just want to 
> be able to print from another Linux-box. There are no example cupsd.conf 
> around that I saw that helped. Big pain in the A.
> 
> I've had it working, but I think it was an accident.
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 
> 
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: cant write national characters - locales issue?

2005-05-24 Thread Ionut Georgescu
You are using ISO-8859-1 encoding for your characters, instead of UTF-8,
which supports all possible languages.

dpkg-reconfigure locales

enable sk_SK.UTF-8 and choose it then as the default.
Logout/Login and it should work now.

Ionut

On Tue, May 24, 2005 at 05:39:37PM +0200, Michal Simovic wrote:
> 
> [EMAIL PROTECTED]:~$ env
> KDE_MULTIHEAD=false
> SSH_AGENT_PID=2650
> DM_CONTROL=/var/run/xdmctl
> TERM=xterm
> SHELL=/bin/bash
> XDM_MANAGED=/var/run/xdmctl/xdmctl-:0,maysd,mayfn,sched,method=classic
> GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/miso/.gtkrc-2.0:/home/miso/.kde/share/config/gtkrc
> GTK_RC_FILES=/etc/gtk/gtkrc:/home/miso/.gtkrc:/home/miso/.kde/share/config/gtkrc
> GS_LIB=/home/miso/.fonts
> WINDOWID=41943045
> KDE_FULL_SESSION=true
> USER=miso
> LS_COLORS=no=00:fi=00:di=01;34:ln=01;36:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.gz=01;31:*.bz2=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.avi=01;35:*.fli=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.ogg=01;35:*.mp3=01;35:*.wav=01;35:
> XCURSOR_SIZE=
> SSH_AUTH_SOCK=/tmp/ssh-XruMiM2615/agent.2615
> SESSION_MANAGER=local/mysarge:/tmp/.ICE-unix/2696
> XPSERVERLIST=:64
> KONSOLE_DCOP=DCOPRef(konsole-4375,konsole)
> DESKTOP_SESSION=default
> PATH=/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games
> KONSOLE_DCOP_SESSION=DCOPRef(konsole-4375,session-1)
> PWD=/home/miso
> LANG=en_US.ISO-8859-1
> SHLVL=2
> HOME=/home/miso
> LANGUAGE=en_SK:en_US:en_GB:en
> XCURSOR_THEME=default
> LOGNAME=miso
> LC_CTYPE=sk_SK.ISO-8859-2
> DISPLAY=:0.0
> COLORTERM=
> _=/usr/bin/env
> 
> 
> [EMAIL PROTECTED]:~$ locale
> LANG=en_US.ISO-8859-1
> LC_CTYPE=sk_SK.ISO-8859-2
> LC_NUMERIC="en_US.ISO-8859-1"
> LC_TIME="en_US.ISO-8859-1"
> LC_COLLATE="en_US.ISO-8859-1"
> LC_MONETARY="en_US.ISO-8859-1"
> LC_MESSAGES="en_US.ISO-8859-1"
> LC_PAPER="en_US.ISO-8859-1"
> LC_NAME="en_US.ISO-8859-1"
> LC_ADDRESS="en_US.ISO-8859-1"
> LC_TELEPHONE="en_US.ISO-8859-1"
> LC_MEASUREMENT="en_US.ISO-8859-1"
> LC_IDENTIFICATION="en_US.ISO-8859-1"
> LC_ALL=
> 
> 
> i know LC_NUMERIC and others that follow probably shouldn't display in 
> quotes, but i don't think it matters, LC_CTYPE should play a role if i'm 
> right..
> -- 
> miso
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 
> 
> 
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: CUPS? Printer.

2005-05-24 Thread Ionut Georgescu
On Tue, May 24, 2005 at 12:15:59PM -0400, Brendan wrote:
> On Tuesday 24 May 2005 12:04 pm, you wrote:
> > Please stop because you know it's not true.  For debian it means
> > figuring out either
> >
> > "Where do I want to receive browsing information from?"
> >
> > or
> >
> > "Whom am I sending browsing information to?" and
> > "From whom do I want to accept print requests?"
> >
> > That is, changing 0 to 1 lines for the client, or 1 to 2 lines for the
> > server in cupsd.conf.
> >
> > Done.
> 
> Not "Done", buddy.

I am not your "buddy".

> Done it before, and still no joy. So shove it with your censorship.
> And please do not CC me on list replies.

Depends on what you did. I read the docs. It worked back then, and it
works now, for every single machine I set up.

Ionut


-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: CUPS? Printer.

2005-05-24 Thread Ionut Georgescu
The same here, except for the BrowsePoll, because the server is in another
subnet and we don't bridge the broadcasts.

DefaultCharset notused
LogLevel info
Printcap /var/run/cups/printcap
TempDir /var/spool/cups/tmp
Port 631
BrowsePoll some.other.host:631

Order Deny,Allow
Deny From All
Allow From 127.0.0.1


AuthType Basic
AuthClass User


AuthType Basic
AuthClass System
Order Deny,Allow
Deny From All
Allow From 127.0.0.1


Try to stop/start the server. What do you see in /var/log/cups/error_log
?

Make sure that "/etc/init.d/cupsys stop" stops everything. Sometimes it
happens that some backend (parallel in my case) hangs and nothing works
upon restart.

Greetings,
Ionut

On Tue, May 24, 2005 at 10:42:02AM -0600, Stephen Queen wrote:
> If I execute the following command as root from /etc/cups
> 
> egrep -v "^#.*" cupsd.conf | egrep -v "^ *$"
> 
> I get the following output
> 
> DefaultCharset notused
> LogLevel info
> Printcap /var/run/cups/printcap
> Port 631
> 
> Order Deny,Allow
> Deny From All
> Allow From 127.0.0.1
> 
> 
> AuthType Basic
> AuthClass User
> 
> 
> AuthType Basic
> AuthClass System
> Order Deny,Allow
> Deny From All
> Allow From 127.0.0.1
> 
> 
> 
> What do you get?
> 
> Stephen Queen
> 
> 
> On Tue, 24 May 2005, Brendan wrote:
> 
> > On Monday 23 May 2005 09:40 pm, David R. Litwin wrote:
> > > My print manager will not work. Going to http://localhost:631 does not
> > > work: It times out with out doing a thing.
> >
> > CUPS is a frigging nightmare to just do a simple network install where you
> > don't give a rat's a-hole about security and encryption and you just want to
> > be able to print from another Linux-box. There are no example cupsd.conf
> > around that I saw that helped. Big pain in the A.
> >
> > I've had it working, but I think it was an accident.
> >
> >
> > --
> > 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]
> 
> 
> 
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: CUPS? Printer.

2005-05-25 Thread Ionut Georgescu
Of course ... do you have trouble with that ?

Ionut

On Tue, May 24, 2005 at 06:48:07PM -0600, Stephen Queen wrote:
> 
> > The same here, except for the BrowsePoll, because the server is in another
> > subnet and we don't bridge the broadcasts.
> >
> > DefaultCharset notused
> > LogLevel info
> > Printcap /var/run/cups/printcap
> > TempDir /var/spool/cups/tmp
> > Port 631
> > BrowsePoll some.other.host:631
> > 
> > Order Deny,Allow
> > Deny From All
> > Allow From 127.0.0.1
> > 
> > 
> > AuthType Basic
> > AuthClass User
> > 
> > 
> > AuthType Basic
> > AuthClass System
> > Order Deny,Allow
> > Deny From All
> > Allow From 127.0.0.1
> > 
> >
> > Try to stop/start the server. What do you see in /var/log/cups/error_log
> > ?
> >
> > Make sure that "/etc/init.d/cupsys stop" stops everything. Sometimes it
> > happens that some backend (parallel in my case) hangs and nothing works
> > upon restart.
> >
> > Greetings,
> > Ionut
> >
> Can you ping localhost?
> 
> Stephen Queen
> 
> 
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: mount: unknown filesystem type 'nfs'

2005-05-25 Thread Ionut Georgescu
On Wed, May 25, 2005 at 03:48:34PM +0800, Robert Vangel wrote:
> Dan Fulbright wrote:
> >When I try to mount an NFS filesystem, I get this error:
> >
> >mount: unknown filesystem type 'nfs'
> >
> >Here's the mount command I'm using on host2:
> >
> >mount host1.domain.com:/tmp /mnt
> >
> >On host1.domain.com, I have this in /etc/exports:
> >
> >/tmp host2.domain.com(ro,sync)
> >
> >I tried using all IP addresses instead of names, but with the same 
> >results. The mount(8) man page says that it includes built-in NFS support.
> >
> >I'm running Sarge. I'm somewhat new to Debian, but have been using Linux 
> >for many years, so if I need to provide more information, just let me know.
> >
> >Thanks in advance.
> >
> >--df
> >
> >
> 
> Do a `grep nfs /proc/filesystems' and see what you get back. This will 
> let you know if currently there is nfs support.
> 
> If nothing, try `modprobe nfs' and give it another shot. If that doesn't 
> work, make sure that NFS client support was actually included with your 
> kernel build.
> 
> Is your kernel custom, debian built, etc?

Also, to make sure that you have all the software pieces together, run

apt-get install nfs-common # on the client
and
apt-get install nfs-kernel-server nfs-common # on the server

nfs-common is sometimes missing on the client and strange results occur.

Ionut

-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: X and sound on debian

2005-05-25 Thread Ionut Georgescu
On Wed, May 25, 2005 at 06:54:52AM -, shatam bhattacharya wrote:
>  Hi list,
> I got a lot of support from this list. Thanks a lot guys.
> Please keep up the good work. Places like these motivate others
> towards this exciting world of linux.
>   At present I am having a couple of problems. Firstly I am
> not able to increase my resolution to 1024 x 768 in 24 bits. The X
> server says not a usable configuration. I am using a bf2.4 install
> on intel 845G board. My Xfree build is
> ginie:/# XFree86 -version
> 
> This is a pre-release version of XFree86, and is not supported in any
> way.  Bugs may be reported to XFree86@XFree86.Org and patches submitted
> to [EMAIL PROTECTED]  Before reporting bugs in pre-release versions,
> please check the latest version in the XFree86 CVS repository
> (http://www.XFree86.Org/cvs).
> 
> XFree86 Version 4.3.0.1 (Debian 4.3.0.dfsg.1-7.woody.1 20041010070103 [EMAIL 
> PROTECTED])
> Release Date: 15 August 2003
> X Protocol Version 11, Revision 0, Release 6.6
> Build Operating System: Linux 2.4.26-1-k7 i686 [ELF]
> Build Date: 10 October 2004
> Before reporting problems, check http://www.XFree86.Org/
> to make sure that you have the latest version.
> Module Loader present
> OS Kernel: Linux version 2.4.18-bf2.4 ([EMAIL PROTECTED]) (gcc version 2.95.4 
> 20011002 (Debian prerelease)) #1 Son Apr 14 09:53:28 CEST 2002
> 
> The second problem I am facing is that of configuring sound.
> I saw the previous posts on the list, did the following --
> Inserted the ac97 modules -
> ginie:/lib/modules/2.4.18-bf2.4/kernel/drivers/sound# lsmod
> Module  Size  Used byNot tainted
> ac97_codec  9568   0  (unused)
> ac972864   0  (unused)
> ntfs   48512   1  (autoclean)
> nls_cp437   4384   7  (autoclean)
> keybdev 1664   0  (unused)
> usbkbd  2848   0  (unused)
> input   3040   0  [keybdev usbkbd]
> usb-uhci   20676   0  (unused)
> usbcore48000   0  [usbkbd usb-uhci]
> 
> On trying to insert the i810_audio modules, it shows an error.
> 
> Added the user to the audio group
> ginie:~# cat /etc/group | grep audio
> audio:x:29:shatam
> 
> On logging in kde, an informaitonal messege pops up stating that no
> devices found, the sound server would use the null device.
> Please tell me, where I may be going wrong,
> Thanks
> shatam bhattacharya
> 
> 

And now to the graphics: is this integrated graphics? Sometimes you need
to reserve some more Video RAM in the BIOS. /var/log/XFree86.0.log might
be of good help in this sense.

Other users with Intel graphics chipsets had a similar problem when
trying higher resolutions. Have a glance on 855resolution at
http://perso.wanadoo.fr/apoirier/
and
http://www.geocities.com/stomljen/

The first one applies to Dell computers, but I have used it successfully
on Acer TravelMate also.

Good luck,
Ionut

PS With respect to sound, I can only second Jonathan's advice on ALSA. I
have the same sound chip and it works great.

-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: mount: unknown filesystem type 'nfs'

2005-05-25 Thread Ionut Georgescu
What about installing a newer kernel?

apt-cache search kernel-image-2.4

choose the one which suites you

apt-get install kernel-image-2.4.27-2-k7 # for example

Don't wipe your old kernel yet. Edit /etc/lilo.conf (or
/boot/grub/menu.lst), rerun lilo and reboot.

Hope it helps ...
Ionut

On Wed, May 25, 2005 at 12:25:41PM -0500, Dan Fulbright wrote:
> >>When I try to mount an NFS filesystem, I get this error:
> >>
> >>mount: unknown filesystem type 'nfs'
> >>
> >>Here's the mount command I'm using on host2:
> >>
> >>mount host1.domain.com:/tmp /mnt
> >>
> >>On host1.domain.com, I have this in /etc/exports:
> >>
> >>/tmp host2.domain.com(ro,sync)
> >
> >Do a `grep nfs /proc/filesystems' and see what you get back. This will 
> >let you know if currently there is nfs support.
> >
> >If nothing, try `modprobe nfs' and give it another shot. If that doesn't 
> >work, make sure that NFS client support was actually included with your 
> >kernel build.
> 
> Here's what I get:
> 
> rh2:~# grep nfs /proc/filesystems
> rh2:~# modprobe nfs
> modprobe: Can't locate module nfs
> 
> >Is your kernel custom, debian built, etc?
> 
> AFAIK, it's a stock Debian kernel (I didn't do the actual install):
> 
> host2:~# uname -a
> Linux host2.domain.com 2.4.26-bf2.4 #1 SMP Wed May 26 08:34:11 PDT 2004 
> i686 GNU/Linux
> 
> This machine didn't exist in May 2004, so the kernel certainly wasn't 
> built on this machine. Sorry, but I'm not familiar enough with Debian 
> (yet) to find out what kernel package I have installed.
> 
> 
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: alsa problem

2005-05-25 Thread Ionut Georgescu
Alsa module names start with snd (snd_ac97_codec) I think you still run
OSS.  

However, it is very important to know: do you run kernel 2.4 or 2.6 ?
Do you have hotplug installed ?

Ionut

On Wed, May 25, 2005 at 02:12:45PM -0500, Kent West wrote:
> shatam bhattacharya wrote:
> 
> > I saw the previous posts regarding alsa and did this
> > apt-get install alsa alsamixer alsamixergui
> > This went fine. I did modconf and loaded the ac97 and ac97_codec
> > modules. But still it is not working. On trying to use alsamixer it says -
> > [EMAIL PROTECTED]:~$ alsamixer
> >
> > alsamixer: function snd_ctl_open failed for default: No such device
> >
> Please post the output of "lspci" and "uname -a" and "groups".
> 

-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: alsa problem

2005-05-25 Thread Ionut Georgescu
I think you don't have the alsa kernel modules installed. There are none
for your kernel, so I think you should upgrade:

apt-get install kernel-image-2.4.27-2-k7 alsa-modules-2.4.27-2-k7

Ionut

On Wed, May 25, 2005 at 07:27:28PM -, shatam bhattacharya wrote:
> 
> >Please post the output of "lspci" and "uname -a" and "groups".
> 
> ginie:/etc/modutils# lspci
> :00:00.0 Host bridge: Intel Corp. 82845G/GL[Brookdale-G]/GE/PE DRAM 
> Controller/Host-Hub Interface (rev 01)
> :00:02.0 VGA compatible controller: Intel Corp. 82845G/GL[Brookdale-G]/GE 
> Chipset Integrated Graphics Device (rev 01)
> :00:1d.0 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) 
> USB UHCI Controller #1 (rev 01)
> :00:1d.1 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) 
> USB UHCI Controller #2 (rev 01)
> :00:1d.2 USB Controller: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) 
> USB UHCI Controller #3 (rev 01)
> :00:1d.7 USB Controller: Intel Corp. 82801DB/DBM (ICH4/ICH4-M) USB 2.0 
> EHCI Controller (rev 01)
> :00:1e.0 PCI bridge: Intel Corp. 82801 PCI Bridge (rev 81)
> :00:1f.0 ISA bridge: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) LPC Bridge 
> (rev 01)
> :00:1f.1 IDE interface: Intel Corp. 82801DB/DBL (ICH4/ICH4-L) 
> UltraATA-100 IDE Controller (rev 01)
> :00:1f.3 SMBus: Intel Corp. 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) SMBus 
> Controller (rev 01)
> :00:1f.5 Multimedia audio controller: Intel Corp. 82801DB/DBL/DBM 
> (ICH4/ICH4-L/ICH4-M) AC'97 Audio Controller (rev 01)
> :01:00.0 Modem: ALi Corporation SmartLink SmartPCI563 56K Modem
> :01:02.0 Ethernet controller: Realtek Semiconductor Co., Ltd. 
> RTL-8139/8139C/8139C+ (rev 10)
> 
> ginie:/etc/modutils# uname -r
> 2.4.18-bf2.4
> 
> [EMAIL PROTECTED]:~$ groups
> shatam audio
> 
> Bye
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: alsa problem

2005-05-25 Thread Ionut Georgescu
alsa-modules-2.4.27-2-k7 have been compiled for
kernel-image-2.4.27-2-k7, they won't work with 2.4.18.


If the guy says it won't work, it doesn't mean it will break your system
:-) Install initrd-tools. Then the new kernel. Don't abort this time.

Then, if you you use lilo, create the following entry in /etc/lilo.conf:


default=Linux-2.4.27
image=/boot/vmlinuz-2.4.27-2-686
label=Linux-2.4.27
append="initrd=image=/boot/vmlinuz-2.4.27-2-686"
read-only

There is a single default= line in the whole file, so if you already
have it, change it accordingly.

Now run lilo. If something goes wrong, it will complain. Reboot to your
new kernel.

On Wed, May 25, 2005 at 08:07:07PM -, shatam bhattacharya wrote:
>   
> 
> 
> On Thu, 26 May 2005 Ionut Georgescu wrote :
> >I think you don't have the alsa kernel modules installed. There are none
> >for your kernel, so I think you should upgrade:
> >
> >apt-get install kernel-image-2.4.27-2-k7 alsa-modules-2.4.27-2-k7
> 
> When I try to upgrade it gives the following error -
> ginie:~# apt-get install kernel-image-2.4.27-2-686 alsa-modules-2.4.27-2-686
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Sorry, alsa-modules-2.4.27-2-686 is already the newest version.
> The following NEW packages will be installed:
>   kernel-image-2.4.27-2-686
> 0 packages upgraded, 1 newly installed, 0 to remove and 344  not upgraded.
> 1 packages not fully installed or removed.
> Need to get 0B/12.3MB of archives. After unpacking 32.6MB will be used.
> (Reading database ... 43208 files and directories currently installed.)
> Unpacking kernel-image-2.4.27-2-686 (from 
> .../kernel-image-2.4.27-2-686_2.4.27-8_i386.deb) ...
> 
> You are attempting to install an initrd kernel image (version 2.4.27-2-686)
> This will not work unless you have configured your boot loader to use
> 
> Do you want to stop now? [Y/n]y
> Ok, Aborting
> dpkg: error processing 
> /var/cache/apt/archives/kernel-image-2.4.27-2-686_2.4.27-8_i386.deb 
> (--unpack):
>  subprocess pre-installation script returned error exit status 1
> Errors were encountered while processing:
>  /var/cache/apt/archives/kernel-image-2.4.27-2-686_2.4.27-8_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> Shatam-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: CUPS? Printer.

2005-05-26 Thread Ionut Georgescu
On Wed, 2005-05-25 at 20:43 -0500, Jim Hall wrote:
> Brendan wrote:
> > On Wednesday 25 May 2005 12:02 pm, Stephen Queen wrote:
> > 
> > 
> > 
> > I've done both of those many times, now and in the past.
> > It shows up, but no printing commences.
> > 
> > 
> 
> 
> If I may, a comment. I had the printer in our church computer lab 
> working. Now, it only works for the Windoze systems. I'm going to hazard 
> a guess that something is broken and will eventually be fixed. If people 
> with your levels of expertise and experience are puzzeled, I see no 
> other conclusion.
> 
> Good luck,
> Jim
> 

Hello everyone,

Do you have NIS running ? NIS doesn't use fix port numbers and it
happened to me a few times that CUPS could not start because it could
not bind to port 631.

Ionut


-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix
*you can do anything the computer is able to do."


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


Re: alsa problem

2005-05-26 Thread Ionut Georgescu
It may be, I don't know. I quit using lilo 3 years ago. I know they do
it for grub, though ;-)

But even if I knew, I think it's better if the people also know what
happens in the background.

Ionut

On Thu, May 26, 2005 at 09:20:07AM +0100, Jon Dowland wrote:
> Ionut Georgescu wrote:
> 
> >Then, if you you use lilo, create the following entry in /etc/lilo.conf:
> 
> Don't the kernel package install scripts manage lilo.conf themselves?
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 
> 
> 
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: alsa problem

2005-05-26 Thread Ionut Georgescu
No, if that is an older machine what he has, it is better he sticks with
2.4. I already had this experience and the difference is amazing! With
2.6.1 it took ages to start firefox, with 2.4 I could run gnome and gimp
end epiphany alltogether.

It was Toshiba notebook with 500MHz and 64MB of RAM.

Now back to the thread: what is the output of lsmod after installing the
new kernel ? It would be nice if you also attached a dmesg.

Ionut

On Thu, May 26, 2005 at 07:54:00AM +0200, Jonathan Kaye wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> En/La shatam bhattacharya ha escrit, a 26/05/05 06:26:
> |
> |  >... guess you installed your kernel-headers and alsa-utils as well?
> | with alsaconf you should be able to install your soundmodule. *not* with
> | modconf in this case..
> |
> | alsaconf loads no drivers, does not detect any PnP or pci cards, neither
> | it detects any legacy drivers!!!
> | Any clues
> | Shatam
> |
> |
> |
> | 
> I agree with what Ionut said earlier in this thread about OSS. Check out
> alsa and oss and you'll find they really don't like each other. Do you
> really want to stick with a 2.4 kernel? Your life would be so much
> easier just to bang in 2.6 and take it from there.
> Cheers,
> Jonathan
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.1 (GNU/Linux)
> 
> iD8DBQFClWR364+f0AXUe+4RAh+1AJ9aTw3W6uMLAsyBZofivGBDnfZNeQCfWcjF
> gnaCnmo1eKJsrfCWh9/fvLk=
> =tIZf
> -END PGP SIGNATURE-
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 
> 
> 
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: alsa problem

2005-05-26 Thread Ionut Georgescu
We should wake up people, both of them ar wrong!!! :-)

First, we are loading the kernel itself as an initrd image :-))
Second, it cannot be append, because initrd is the boot loader's task.

So:

image=/boot/vmlinuz-2.4.27-2-686
 label=Linux-2.4.27
 initrd=/boot/initrd.img-2.4.27-2-686
 read-only

lilo

On Thu, May 26, 2005 at 08:59:39AM +0200, steef wrote:
> Colin wrote:
> 
> >Ionut Georgescu wrote:
> > 
> >
> >>default=Linux-2.4.27
> >>image=/boot/vmlinuz-2.4.27-2-686
> >>   label=Linux-2.4.27
> >>append="initrd=image=/boot/vmlinuz-2.4.27-2-686"
> >>read-only
> >>   
> >>
> >
> >I thought initrd can go on a line of its own like:
> >
> >image=/boot/vmlinuz-2.4.27-2-686
> > label=Linux-2.4.27
> > initrd=/boot/vmlinuz-2.4.27-2-686
> > read-only
> >
> >Well, I use grub now so my memory could be fading. ;-)
> >
> >
> > 
> >
> that last sentence is correct with woody. on one hard disk i still use 
> woody. as backup for work.
> if you do under woody a kernel upgrade you had better install 
> initrd-tools before allthough not strictly necessary at that moment.
> 
> steef
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 
> 
> 
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: alsa problem

2005-05-26 Thread Ionut Georgescu
On Thu, May 26, 2005 at 03:42:56PM +0200, steef wrote:
> Ionut Georgescu wrote:
> 
> >We should wake up people, both of them ar wrong!!! :-)
> >
> >First, we are loading the kernel itself as an initrd image :-))
> >Second, it cannot be append, because initrd is the boot loader's task.
> >
> >So:
> >
> >image=/boot/vmlinuz-2.4.27-2-686
> >label=Linux-2.4.27
> >initrd=/boot/initrd.img-2.4.27-2-686
> >read-only
> >
> >lilo
> >
> >On Thu, May 26, 2005 at 08:59:39AM +0200, steef wrote:
> > 
> >
> no!  if you do a kernel-upgrade under woody p.e. from 2.2 to 2.4, and 
> you start with the kernel-headers you must after that of course install 
> the corresponding kernel-image. in my experience the chap who put this 
> 2.4 or other image in kpackage put a thread in it. this thread asks you 
> if: 'you have installed from scrap, uh?? and then 'debian/kpackage' asks 
> you if you will be so kind to add a line in lilo: something like 
> initrd=/initrd.img and asks again if it must make a symlinc from lilo to 
> the kernelimage in /boot. at that point. if i remember well, 
> initrd-tools-package is already installed.
> 
> kpackage proceeds asking if it will change lilo-make-up. i said allways 
> 'no' at that point.
> further try out the procedure for yourself to fresh up your memory 
> completely. last time i did this was i guess two months ago.
> 
> kind regards,
> 
> steef
> 
> 

You may have answered another message, but not mine :-)

Most probably you are right. Last time a made an upgrade from 2.2 to 2.4
was 3 years ago and I still don't like /vmlinuz and /initrd.img as symlinks to
/boot anyway.

But that was not my point. My point was that our proposal for the
contents of lilo.conf was wrong for pure technical reasons:

1. you don't load a kernel, but an initrd.img as initrd image.
This was on the line:
initrd=/boot/vmlinuz-2.4.27-2-686
instead of
initrd=/boot/initrd.img-2.4.27-2-686

2. initrd is loaded by the boot loader into memory, so it
cannot by passed as an argument to the kernel by append=""

Both of them were my mistake, but one has survived the list :-)

Cheers,
Ionut


-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: Which fonts a program uses

2005-05-26 Thread Ionut Georgescu
On Thu, May 26, 2005 at 03:58:03PM +, Stephen Patterson wrote:
> On Thu, 26 May 2005 16:30:20 +0200, Paulo Marcel Coelho Aragão wrote:
> > - How do I discover which font-handling method a program uses ?
> 
> I'd expect anything running under X to simply load named fonts from
> those that are available to the X server. 
> 
> > - How do I discover which fonts are installed on my box, or better put,
> >   which fonts are available, to each font-handling method ?
> 
> xlsfonts will tell you which fonts are available for use by X, from
> the listed FontPaths in /etc/X11/XF86Config-4. Its probably a good
> idea for you to install cfonts-base, xfonts-100dpi, xfonts-75dpi,
> gsfonts-x11 and msttcorefonts to get a decent selection of fonts. 
> 
> http://en.tldp.org/HOWTO/mini/FDU/  could be handy too
> 
> 

also

apt-get install xfonts-75dpi-transcoded xfonts-base-transcoded 
xfonts-100dpi-transcoded ttf-bitstream-vera
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: synaptic, aptitude and dselect etc. (myref: rl3b26may)

2005-05-26 Thread Ionut Georgescu
On Thu, May 26, 2005 at 04:07:40PM +0100, rich lott wrote:
> Hi 
> 
> I've long favoured the synaptic package manager because it's easy to search 
> the packages, and it's clear what's going to be installed (dependencies etc) 
> and easy to select packages.
> 
> However, I had to use aptitude and dselect (yuk) recently on another system 
> and noticed that they would REMOVE packages which were only installed in 
> order to satisfy dependencies, when I removed the package which required 
> them. This seems like a genious thing to do, and synaptic doesn't seem to 
> bother, which means as I install and uninstall stuff a lot of unnecessary 
> packages are left behind.
> 
> Am I correct or am I missing something?

You can also use debfoster or deborphans to see any clutter in your
installation.

> 
> thanks
> 
> rich.
> 

Greetings,
Ionut

-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: Surprise upgrading Debian packages!

2005-05-26 Thread Ionut Georgescu
On Thu, May 26, 2005 at 10:12:28AM -0700, nuno romano wrote:
> I have a background with several Linux
> distributions,and when I want to upgrade
> one package,I download the source package
> (or binary,if compatible) through a web
> browser html/ftp interface in a mirror.
> I see all packages listed and I pick what 
> I want.Now,I have Debian and when I want
> to download in a Debian mirror I see 3
> files Packages.gz(MD5SUMS),Release,
> Release.gpg.
> So,the only way to download packages is
> through apt-get?Or is there one way of
> downloading packages using a standard
> web browser?
> 
>Thanks.
> 

http://www.debian.org/distrib/packages

Ionut

-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: alsa problem

2005-05-27 Thread Ionut Georgescu
Hello Shatam,

This is not an error. It is a warning. And an advice. You have never
used kernels with initrd images before, so your system has to be
configured. Do what it says. Create /etc/kernel-img.conf and write the
following line

do_initrd = yes

now run

apt-get install kernel-image-...

Good luck,
Ionut

> It still displays the same error messege. 
> ginie:# apt-get install kernel-image-2.4.27-2-686
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following NEW packages will be installed:
>   kernel-image-2.4.27-2-686
> 0 packages upgraded, 1 newly installed, 0 to remove and 349  not
> upgraded.
> Need to get 0B/12.3MB of archives. After unpacking 32.6MB will be
> used.
> (Reading database ... 42964 files and directories currently
> installed.)
> Unpacking kernel-image-2.4.27-2-686
> (from .../kernel-image-2.4.27-2-686_2.4.27-8_i386.deb) ...
> 
> You are attempting to install an initrd kernel image (version
> 2.4.27-2-686)
> This will not work unless you have configured your boot loader to use
> initrd. (An initrd image is a kernel image that expects to use an
> INITial
> Ram Disk to mount a minimal root file system into RAM and use that for
> booting).
> 
>   As a reminder, in order to configure LILO, you need
>   to add an 'initrd=/initrd.img' to the image=/vmlinuz
>   stanza of your /etc/lilo.conf
> 
> I repeat, You need to configure your boot loader -- please read your
> bootloader documentation for details on how to add initrd images.
> 
> If you have already done so, and you wish to get rid of this message,
> please put
>   "do_initrd = Yes"
> in /etc/kernel-img.conf. Note that this is optional, but if you do
> not,
> you will continue to see this message whenever you install a kernel
> image using initrd.
> Do you want to stop now? [Y/n]y
> Ok, Aborting
> dpkg: error
> processing 
> /var/cache/apt/archives/kernel-image-2.4.27-2-686_2.4.27-8_i386.deb 
> (--unpack):
> subprocess pre-installation script returned error exit status 1
> 
> Errors were encountered while processing:
> /var/cache/apt/archives/kernel-image-2.4.27-2-686_2.4.27-8_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> 
> 
> 
> Currently my system is using OSS, I also tried to compile the alsa
> system from source. Is there any way it can be done with out
> installing the kernel source for my install?
> Shatam
> 
> 
> 
> 
-- 
***
* Ionut Georgescu
* Max-Plank-Institut für Physik komplexer Systeme
* Nöthnitzer Str. 38
* D-01187 Dresden
*
* Tel: +49 (351) 871-1109
* Fax: +49 (351) 871-1999



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


Re: alsa problem

2005-05-27 Thread Ionut Georgescu
On Fri, May 27, 2005 at 07:57:58AM -, shatam bhattacharya wrote:
>   
> Volla !! Its working !!!. Thanks a lot Ionut and others. I have installed the 
> new image and alsa modules, ran alsaconf, tuned with alsamixer and xmms is 
> working :-)
> But in doing so some how the newly installed kernel doesnot get connected to 
> the net. with bf2.4 I was using a ADSL (DSL 502T )connection with a Realtek 
> card. I even tried to insert 8139too modules using modconf. It installed the 
> module. But the problem is eth0 is not being configured by dhcp using the 
> ADSL router.
> Please have a look at my listing /proc/net/dev
> 
> Inter-|   Receive  |  Transmit  face |bytespackets errs drop fifo frame 
> compressed multicast|bytespackets errs drop fifo colls carrier compressed
> lo:8248 124000 0  0 0 8248
>  124000 0   0  0
>   eth0:   0   0000 0  0 00
>  0000 0   0  0
> 
> which shows eth being present. But ifconfig does not -
> 
> loLink encap:Local Loopback
>   inet addr:127.0.0.1  Mask:255.0.0.0
>   UP LOOPBACK RUNNING  MTU:16436  Metric:1
>   RX packets:124 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:124 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:0
>   RX bytes:8248 (8.0 KiB)  TX bytes:8248 (8.0 KiB)
> 
> 
> Anyt clues ???
> Shatam
> 

Congratulations!!

It may be that your driver is not loaded upon boot. And if it is not
loaded, /etc/init.d/network has nothing to configure. Reason ? with
2.4.18 8139too might have been already compiled into the kernel, with
2.4.27 it is definitely a module.

A quick way to check it: load 8139too by hand

run

ifdown eth0
ifup eth0

if ifconfig shows it, than you can go on with automating things:

create  /etc/modutils/net [1] with this line

alias eth0 8139too

and run update-modules.

This will load 8139too when somebody (ifup) wants to access eth0.

Cheers,
Ionut

[1] This is also that alsaconf does. Have a look at /etc/modutils/alsa
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: make-dpkg w/ 2.6.11.10 & UML+SKAS+SELinux (no modules)

2005-05-27 Thread Ionut Georgescu
On Thu, May 26, 2005 at 11:41:04PM -0500, Matthew J. Harmon wrote:
> First time posting, long time follower :)
> 
> Running into a very odd error with make-dpkg.  Honestly, I usually compile 
> manually, however I'm following a wonderfully detailed HOWTO[0] for 
> creating a SELinux enabled UML system and would like to keep to the 
> examples.
> 
> In any case, I have no modules enabled within this kernel configuration, 
> all steps in the how-to have been followed, and I'm getting this error 
> spit out:
> 
> [EMAIL PROTECTED]:/usr/local/src/kernel/uml-2.6.11.10$ time make-kpkg 
> --arch=um 
> --rootcmd=fakeroot kernel_image
> fakeroot /usr/bin/make -f /usr/share/kernel-package/rules real_stamp_image
> make[1]: Entering directory `/usr/local/src/kernel/uml-2.6.11.10'
> [snip]
> mv /usr/local/src/kernel/uml-2.6.11.10/debian/tmp-image/lib/modules/* 
> debian/tmp-image/usr/lib/uml/modules/ -v
> mv: cannot stat 
> `/usr/local/src/kernel/uml-2.6.11.10/debian/tmp-image/lib/modules/*': No 
> such file or directory
> make[1]: *** [real_stamp_image] Error 1
> make[1]: Leaving directory `/usr/local/src/kernel/uml-2.6.11.10'
> make: *** [kernel-image-deb] Error 2
> 
> The oddity here, is that no - the directory does not exist, however it 
> shouldn't exist as I have NO MODULES configured, I've gone through the 
> .config I saved and verified there are no =m in the darn thing.
> 
> Most of the searches I've done for this error don't seem to be resolved, 
> most just recommend not compiling the kernel "the debian way", but I'm 
> trying to stay pure here since this is the guest kernel that will be 
> pushed across many UMLs.
> 
> Thanks in advance for any guidance!
> 

> -Matthew
> 
> 0.
> Annotated HOWTO for creating SELinux enabled UML system
> http://www.golden-gryphon.com/software/security/selinux-uml.xhtml
> 

This is make-kpkg which is trying to install the modules, not the
kernel build system. And as you have no modules, it has nothing to
install.

Compile some little tiny thing as a module to please it or just hack
with make-kpkg (sorry, no clue on that yet. I glanced over the manpage,
but I didn't find anything on the topic).

Good luck,
Ionut



-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: alsa problem

2005-05-27 Thread Ionut Georgescu
On Fri, May 27, 2005 at 12:49:59PM -, shatam bhattacharya wrote:
> 
> >Congratulations!!
> >
> >It may be that your driver is not loaded upon boot. And if it is not
> >loaded, /etc/init.d/network has nothing to configure. Reason ? with
> >2.4.18 8139too might have been already compiled into the kernel, with
> >2.4.27 it is definitely a module.
> >
> >A quick way to check it: load 8139too by hand
> >
> >run
> >
> >ifdown eth0
> >ifup eth0
> >
> >if ifconfig shows it, than you can go on with automating things:
> >
> >create  /etc/modutils/net [1] with this line
> >
> >alias eth0 8139too
> >
> >and run update-modules.
> >
> >This will load 8139too when somebody (ifup) wants to access eth0.
> >
> >Cheers,
> >Ionut
> >
> >[1] This is also that alsaconf does. Have a look at /etc/modutils/alsa
> Yeah the module was built in the kernel. From the second boot onwards it is 
> working fine. (But why from second boot onwards ???). One more thing I have 
> diagnosed another problem. After every boot the /etc/resolve.conf gets reset
> 
> ginie:/etc/modutils# cat /etc/resolv.conf
> search
> nameserver 192.168.1.1
> 
> where 192.168.1.1 is the ip of my ADSL router. On every boot, i have to set 
> this file as 
> ginie:/etc/modutils# cat resolv.conf.backup > /etc/resolv.conf
> search
> nameserver 203.94.243.70
> nameserver 203.94.227.70
> 

Install the resolvconf package. This will allow you to manually enter
the nameserver configuration in /etc/network/interfaces. I can't give an
example now, but it is quite straight forward. Just read man resolvconf.

Alternatively, you could do something like

iface eth0 inet manual
  up pump -i $IFACE --no-dns
  down pump -i $IFACE -r

I don't know if it works, just got inspired by the last example in
/usr/share/doc/ifupdown/examples/network-interfaces.gz

Personally I would prefer the first method (even if the second really
worked :-) )

Greetings,
Ionut


-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: C Compiler?

2005-05-28 Thread Ionut Georgescu
On Sat, 2005-05-28 at 14:51 -0400, David R. Litwin wrote:
> I've yet to find config.log. However, this is what the programme
> (Konstruct: Make Install) says:
> 
> checking how to run the C++ preprocessor... /lib/cpp
> configure: error: C++ preprocessor "/lib/cpp" fails sanity check
> See `config.log' for more details.

Hi David,

apt-get install gcc g++ libc6-dev

If the above command has installed gcc
-# version 3.3 then install libstdc++5-3.3-dev
-# version 3.4 then install libstdc++6-dev

This should be the very minimum required for C/C++ development.

Good luck,
Ionut

-- 
***
* Ionut Georgescu
* Max-Plank-Institut für Physik komplexer Systeme
* Nöthnitzer Str. 38
* D-01187 Dresden
*
* Tel: +49 (351) 871-1109
* Fax: +49 (351) 871-1999



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


Re: CUPS? Printer.

2005-05-28 Thread Ionut Georgescu
On Sat, 2005-05-28 at 13:22 -0400, David R. Litwin wrote:
> My reply is in the text.



> start
> 
> Mine:
> Setting up IP spoofing protection: rp_filter.
> Reconfiguring network interfaces.../etc/network/interfaces:7: unknown
> method
> ifdown: couldn't read interfaces file "/etc/network/interfaces"
> /etc/network/interfaces:7: unknown method
> ifup: couldn't read interfaces file "/etc/network/interfaces"
> done.
> 
> 
> Let me know how it works out.
> 
> Stephen Queen
> 
> I think the problem is the lo loopback. When I did ifconfig, it did
> not come up: I did ifconfig lo up and it is there; but mayhaps it is
> not doing any thing? the http://localhost:631 still times out.
> 
> Thank you in advance.

Hmm, /etc/init.d/networking runs ifup -a to bring up all the interfaces.
Try a few combinations of 

ifdown lo
ifup lo

and see what you get. It might be that ifconfig lo up is not enough.
However, in my case ifconfig shows the following

loLink encap:Local Loopback  
  inet addr:127.0.0.1  Mask:255.0.0.0
  inet6 addr: ::1/128 Scope:Host
  UP LOOPBACK RUNNING  MTU:16436  Metric:1
  RX packets:164 errors:0 dropped:0 overruns:0 frame:0
  TX packets:164 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:0 
  RX bytes:10290 (10.0 KiB)  TX bytes:10290 (10.0 KiB)


Hope it helps,
Ionut

-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix
*you can do anything the computer is able to do."


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


Re: Slow Firefox performance on P4 1.7 GHz 1 GB system

2005-05-28 Thread Ionut Georgescu
On Sat, 2005-05-28 at 16:33 -0400, Roberto C. Sanchez wrote:
> On Sat, May 28, 2005 at 12:03:21PM -0700, Karsten M. Self wrote:
> > I'm trying out Firefox again, and am dogged by slow performance,
> > particularly on startup and window/tab operations.  The browser lags
> > noticeably, a feature it shares with Mozilla and a couple other apps
> > (most noticably OpenOffice.org).   All of them share the characteristic
> > of opening to an initially unresponsive window which tends to show  an
> > image of other desktop elements.  Screenshot:
> > 

> In general, I get delays when using FF as well.  Most noticably when
> viewing Slashdot discussions with 500+ comments.  However, I attributed
> this more to Slashdot's crappy generated HTML.  Not sure.
> 
> -Roberto

On the other hand, the windows versions of Firefox and Thunderbird are
amazingly fast. This is really said ...

Ionut

-- 
***
* Ionut Georgescu
* Max-Plank-Institut für Physik komplexer Systeme
* Nöthnitzer Str. 38
* D-01187 Dresden
*
* Tel: +49 (351) 871-1109
* Fax: +49 (351) 871-1999



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


Re: CUPS? Printer.

2005-05-28 Thread Ionut Georgescu
The commands are

ifdown lo
ifup lo

and not

ifconfig ifup lo
ifconfig ifdown lo

I am somehow puzzled by your

iface eth0 inet dynamic

line in /etc/nwtwork/interfaces. Is it

iface eth0 inet dhcp

what you meant? According to man interfaces, the 'dynamic' keyword is
meant for IPX ...

Try again :-)

Ionut


On Sat, 2005-05-28 at 17:08 -0400, David R. Litwin wrote:
> ifconfig ifup lo gives:
> 
> # ifconfig ifup lo
> lo: Unknown host
> ifconfig: `--help' gives usage information.
> 
> if-up.d folder in network folder has nothing at all.
> 
> interfaces (in network) gives 
> 
> # This file describes the network interfaces available on your system
> # and how to activate them. For more information, see interfaces(5).
> 
> # The loopback network interface
> auto lo eth0
> iface lo inet loopback
> iface eth0 inet dynamic
> 
> What do I do?
> 
> Thank you.
-- 
***
* Ionut Georgescu
* Max-Plank-Institut für Physik komplexer Systeme
* Nöthnitzer Str. 38
* D-01187 Dresden
*
* Tel: +49 (351) 871-1109
* Fax: +49 (351) 871-1999



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


Re: Slow Firefox performance on P4 1.7 GHz 1 GB system

2005-05-29 Thread Ionut Georgescu
On Sun, 2005-05-29 at 04:07 -0300, Rogério Brito wrote:
> On May 28 2005, Josh Rehman wrote:
> > While I do not share this same problem,
> 
> Don't you see the problem while scrolling www.macslash.org? What about
> scrolling a page with many comments, in flat mode? And what about the same
> thing done in slashdot.org? Do you see any difference in speed?
> 
> Where is your Firefox/Mozilla from? And which processor do you have?
> 
> I am quite interested in what others see before I file a bug report.
> 
> 

Well, I don't think it is the X only. Take Opera. On Linux it is much
faster than Firefox.

Ionut

-- 
***
* Ionut Georgescu
* Max-Plank-Institut für Physik komplexer Systeme
* Nöthnitzer Str. 38
* D-01187 Dresden
*
* Tel: +49 (351) 871-1109
* Fax: +49 (351) 871-1999



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


Re: Problems with VIA serial ATA RAID Driver

2005-05-29 Thread Ionut Georgescu
On Sun, 2005-05-29 at 14:55 +0300, Master Millenium wrote:
> When I try to install Debian, it says that it can't find my hard drive. I 
> have a Maxtor 7 Y250M0 SCSI Disk Device (233 GB) that I have splitted in two 
> pieces. I had the same problem with WinXP but I fixed it by giving the SATA 
> Driver Disk. The problem is I can't use the disk with Debian because it only 
> supports Windows. Can somebody help me with this problem? I want Debian on 
> my computer! By the way, I'm going to keep WinXP on so called C and install 
> Debian on so called D.
> 

Hello Master :-)

I think it has been previosuly suggested on this list to use the sarge
installer with the 2.6 kernel (press F1 on boot to see how to do that).

Cheers,
Ionut

-- 
***
* Ionut Georgescu
* Max-Plank-Institut für Physik komplexer Systeme
* Nöthnitzer Str. 38
* D-01187 Dresden
*
* Tel: +49 (351) 871-1109
* Fax: +49 (351) 871-1999



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


Re: Slow Firefox performance on P4 1.7 GHz 1 GB system

2005-05-29 Thread Ionut Georgescu
On Sun, 2005-05-29 at 13:32 +0100, Lee Braiden wrote:
> On Sunday 29 May 2005 12:30, Ionut Georgescu wrote:
> > Well, I don't think it is the X only. Take Opera. On Linux it is much
> > faster than Firefox.
> 
> Except that it lacks freedom, the main feature many of us are using Linux for 

Of course, I just assumed I don't need to mention it on this list
anymore :-)

Greetings,
Ionut

> in the first place.  Konqueror is real fast, if you want a Firefox 
> alternative.
> 
> -- 
> Lee.
> 

-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix
*you can do anything the computer is able to do."


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


Re: CUPS? Printer.

2005-05-31 Thread Ionut Georgescu
What if you try:

cp /etc/network/interfaces /etc/network/interfaces.bak
dpkg-reconfigure etherconf

This will regenerate interfaces according to the debian configuration.
Being an automated process, it should generate a correct file. Now try
again.

ifdown lo
ifup lo

Could you send me the output of strace ? It can be very usefull for such
debugging purposes.

Now, how to override the normal ifupdown configuration:

create /etc/init.d/my_localhost with these 2 lines

#!/bin/sh
ifconfig lo 127.0.0.1 up

then

chmod 755 /etc/init.d/my_localhost
ln -s /etc/init.d/my_localhost /etc/rcS.d/S38my_localhost

This script will be executed on boot, just before ifupdown (S39) is
executed.

Good Luck!
Ionut


On Mon, May 30, 2005 at 10:48:32PM -0400, David R. Litwin wrote:
> ifconfig lo 127.0.0.1  up worked. The other things you 
> suggest tell me that it can't read the interfaces file (which may or may not 
> be a problem unto itself).
> 
> Any way, how do I make it run ifconfig lo 127.0.0.1  up 
> with out my having to do that?
> 
> Thank you very much.
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: SC420 problem with Debian make-kpkg

2005-05-31 Thread Ionut Georgescu
On Tue, 2005-05-31 at 13:45 -0700, Chris Gray wrote:
> Hi:
> 
> In February, I got, from the Dell website, a 2.4.28 kernel and got my 
> SC420 
> working with the ATA disk software built into that kernel and with the right 
> module for the network adapter.  However, I need to add other things like USB 
> and sound support, and also need to update to a 2.6 kernel for other 
> reasons.
> 
> I got 2.6.10 from the Debian site via aptitude, got it unpacked, and it's 
> sitting in /usr/src/linux-2.6.10/kernel-source-2.6.10.  There are lower 
> subdirectories like arch and arch/i386, but you get the idea.
> 
> I should now be ready to start building a Debian package and modifying my 
> kernel configuration as needed.  But, When I issue the command:
> 
> make-kpkg clean
> 
> from usr/src/linux-2.6.10/kernel-source-2.6.10 or any other directory level 
> from /usr/src on down, I get a message saying
> 
> "We do not seem to be in a top-level kernel source directory tree...".
> 
> The message suggested upgrading the Debian kernel-package which I have done 
> to 
> no good effect.  I also looked through some Debian archives and saw many 
> messages about people installing modules/drivers that caused this message. 
> Could there be something about the Dell installation that is causing 
> make-kpkg 
> to choke?
> 
> Also, I am issuing the make-kpkg clean as root.
> 
> Does anybody know what this message really means and what to do about 
> it? It seems pretty clear there's something very basic that make-kpkg 
> isn't finding that it wants, given that not even the clean option works.
> 
> Thanks.
> 
> Chris
> 


Do you have a .config file in usr/src/linux-2.6.10/kernel-source-2.6.10,
or anywhere under /usr/src/linux* ?

Ionut


-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix
*you can do anything the computer is able to do."


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


Re: Need help converting Quicktime/MOV to DVD

2005-06-01 Thread Ionut Georgescu
If you still have the raw DV material, you might try do convert directly
to interlaced MPEG2. In my tests iMovie did not care about interlacing
and the MOV's it produced were horrible.

This is what I used to transcode several .dif files, as produced by
iMovie into MPEG2:

#!/bin/sh

for f in clip_*.dif; do
out=${out//%.dif/}
transcode -i $f -x dv --dv_yuy2_mode --encode_fields b \
-y mpeg2enc,lame -F 8,"-D 10 -q 1 -2 1 -4 1" --export_asr 2 \
-w 7500 -b 128 \
-o ${out}
done

You should consult the manpage for transcode and mpeg2enc for details.

-F 8 chooses the DVD profile for mpeg2enc.  "-D 10 -q 1 -2 1 -4 1"
are some high quality options I have been experimenting with.

--encode_fields b is for bottom first interlaced material, as it comes
from most PAL videocams.

transcode creates different files for the audio and video streams, but
I multiplexed them with mplex.

There are several things to care about when care about when preparing a
DVD because the hardware decoders are not so flexible as the software
ones.  man mplex gives, I think, some good advice on good MPEG2 streams
for DVD authoring.

Hope it helps,
Ionut


On Tue, May 31, 2005 at 09:44:16PM -0400, Scott Ehrlich wrote:
> I captured home video from a Sony camcorder to my G3 running 10.3 via
> iMovie.   I then used iMovie to convert the captured files to MOV -
> averaging 12 - 13 gig per file.
> 
> I now want to perform the final step of burning the MOV files to DVD.
> 
> I tried doing this with Roxio Toast 6 Lite but its encoder was so horrible
> the resulting video on DVD was horrendous.   I tried one burn to test
> timing and quality.   I have since learned I probably need to convert the
> MOV files to MPEG2, and then to DVD format?   My G3 is too underpowered
> and my budget cannot affort the expense of testing various utilities for
> 10.3 to see whether or not they might work.
> 
> What is the best way under Debian to:
> 
> - Prepare the MOV files for DVD?
> 
> - Burn the resulting files to DVD?
> 
> 
> I have a Pentium II with 384 Meg RAM and a Pentium III with 384 Meg RAM.
> Ample disk space on both.
> 
> Thanks.
> 
> Scott
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 
> 
-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: MySQL Performance Woody Vs Sarge

2005-06-01 Thread Ionut Georgescu
On Wed, Jun 01, 2005 at 06:03:28PM +1200, Simon wrote:
> Jacob S wrote:
> 
> The above raid consists of:
> 
> # hdparm /dev/hde
> 
> /dev/hde:
>  multcount=  0 (off)
>  I/O support  =  0 (default 16-bit)
>  unmaskirq=  0 (off)
>  using_dma=  1 (on)
>  keepsettings =  0 (off)
>  nowerr   =  0 (off)
>  readonly =  0 (off)
>  readahead=  8 (on)
>  geometry = 5005/255/63, sectors = 80418240, start = 0
>  busstate =  1 (on)
> 
> # hdparm /dev/hdg
> 
> /dev/hdg:
>  multcount=  0 (off)
>  I/O support  =  0 (default 16-bit)
>  unmaskirq=  0 (off)
>  using_dma=  1 (on)
>  keepsettings =  0 (off)
>  nowerr   =  0 (off)
>  readonly =  0 (off)
>  readahead=  8 (on)
>  geometry = 79780/16/63, sectors = 80418240, start = 0
>  busstate =  1 (on)
> 
> 
> sarge(production) = slower (Linux version 2.6.8-2-k7):
> 
> # hdparm /dev/md0
> /dev/md0:
>  readonly =  0 (off)
>  readahead= 256 (on)
>  geometry = 25248/2/4, sectors = 80418048, start = 0
> 
> The above raid consists of:
> 
> # hdparm /dev/hde
> 
> /dev/hde:
>  multcount=  0 (off)
>  IO_support   =  0 (default 16-bit)
>  unmaskirq=  0 (off)
>  using_dma=  1 (on)
>  keepsettings =  0 (off)
>  readonly =  0 (off)
>  readahead= 256 (on)
>  geometry = 65535/16/63, sectors = 80418240, start = 0
> 
> # hdparm /dev/hdg
> 
> /dev/hdg:
>  multcount=  0 (off)
>  IO_support   =  0 (default 16-bit)
>  unmaskirq=  0 (off)
>  using_dma=  1 (on)
>  keepsettings =  0 (off)
>  readonly =  0 (off)
>  readahead= 256 (on)
>  geometry = 65535/16/63, sectors = 80418240, start = 0
> 

Hello,

it looks like an old issue of readahead. The units have changed in the
2.6 kernel, so you might experiment with several values to get the same
performance as in 2.4. My drive reports

readahead= 8192 (on)

for the moment.

For what I can remember from the linux-kernel mail list, the argument
to readahead made a big difference on the performance of the drives.

Just my 0.02€

Ionut

-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: dvd strangeness....

2005-06-01 Thread Ionut Georgescu
On Wed, Jun 01, 2005 at 02:44:35PM +0200, Bruno Boettcher wrote:
> Hello
> 
> strange things happens that my laptop is unable to use a cdrom-drive
> under linux, i am slowly getting used to it...
> 
> but now my main comp (after the last update) shows the same behaviour
> too
> 
> ide_cd and isofs are loaded...
> i have the correct entry in fstab (making the line by hand doesn't
> change anything)
> i burned a dvd (with growisofs -Z /dev/hda=/trash/isos/sample.iso)
> tested the dvd (had to reboot the laptop under windows... argh...)
>   dvd is fine
> try to mount it on the server (as sayd i abandoned the idea to get a cd
> or dvd mounted on my laptop under linux) the thing tells me :
> mount: No medium found
> 
> ehm it found the medium to burn it, so what is happening now???

It happened to me before with cheep DVD-R media and with DVD+R media in
DVD-R only drives.

As for your laptop no being able to read the DVD's it has written
itself, it is very strange. Did you try to eject the DVD first and then
mount ? Some drives need this to reset.

Ionut

-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999 


signature.asc
Description: Digital signature


Re: dumb choice on partitioning

2005-06-02 Thread Ionut Georgescu
On Thu, Jun 02, 2005 at 12:21:10AM +0100, Adam Hardy wrote:
> Hi there,
> 
> when I installed debian on my harddrive, I choose to have most of the 
> free space allocated to my /home partition, since I'm using this as a 
> one-person workstation.
> 
> A couple of months down the line now, I am installing lots of java 
> development stuff but I realise that it's quite likely that I will 
> create more users too.
> 
> Where is the best place to put all the stuff I want to share?
> 
> According to standard linux filesystem layout, I should put it in 
> /usr/share. But I don't have much space on the / partition for gigs of 
> java stuff.
> 
> Shall I create a /home/share or is it really easy to partition off some 
> of the space from /home into a new partition without reinstalling?
> 
> And yes, I realise I could buy a new harddrive instead :O

Why not /home/java ? :-P /usr/share is for data shared by programs. For
data shared by users, I would just put it in /home/java, /export/java
or /data/java and export it by NFS.

Ionut


signature.asc
Description: Digital signature


Re: the first contact with debian

2005-06-02 Thread Ionut Georgescu
On Thu, Jun 02, 2005 at 11:53:01AM +0200, wb wrote:
> Dear debian users!
> My problems are:

Hello,

> 1. in the red hat I used before, I could read from or write to floppy simply 
> by the mouse right clicking  on the graphical desktop, and then: disk->floppy.
> How can I access floppy in the graphical mode in debian

mount /media/floppy


> 2. Is the midnight commander included into the distribution? Where resides? 
> How can be invoked?

apt-get install mc

> 3. I have digital camera, How can I download photos through the usb port?

apt-get install gphoto2 gtkam

gphoto2 for downloading from the command line, gtkam for a GUI.

Ionut


signature.asc
Description: Digital signature


Re: /etc/modprobe.d/sound does't work

2005-06-03 Thread Ionut Georgescu
On Thu, Jun 02, 2005 at 05:16:39PM +0100, Shidai Liu wrote:
> Hi there,
> 
> Linux without sound sucks. Please help me sort it out.
> 
> I'm struggling to get my sound card nm256av working under kernel 2.6.11. As 
> some searches from google tell me, the alsa driver for neomagic 2200 has 
> problem. It can detect the souncard but can't drive it correctly. QUOTE from 
> 
> 
> http://www.linups.org/modules/doc/documentos/thinkpad-us/thinkpad-us.html
> ...
> "With a first look it may seem enough to enable the *NM256AV/NM256ZX
> audio*driver, but it's not even near the truth, because there are two
> versions of
> the NeoMagic audio chip: AV, SoundBlaster compatible and ZX, AC97 
> compatible. This driver enables AC97 sound and it doesn't work for the AV 
> chip."
> ...
> 
> I try to use some alternative drivers like opl3sa2/es423x etc. But the 
> problem is when you make any changes to /etc/modprobe.d/sound followed by 
> update-modules, the system will still dectect the soundcard as nm256 and 
> load the driver nm256 (I guess this is due to hotplug??).
> 
> My question is how to tell the hotplug not to handle the sound card 
> automatically and how to get the settings in /etc/modprobe.d/sound to work? 
> Many thanks for any help.
> 


echo driver_you_don't_want >> /etc/hotplug/blacklist

or 

echo driver_you_don't_want >> /etc/hotplug/blacklist.d/sound

Ionut


signature.asc
Description: Digital signature


Re: Installing redhat 7.2 under debian

2005-06-07 Thread Ionut Georgescu
On Tue, Jun 07, 2005 at 03:40:03PM +0800, Gokul Poduval wrote:
> Hello,
> I have a new machine on which I have installed Debian Sarge. I need to run 
> some legacy applications that run only on redhat 7.2 (due to the stupid g++-
> 2.96). Redhat 7.2 wont install on my machine because of lack of drivers. Is 
> there anyway I can install a redhat 7.2 environment in a directory under 
> debian ? 
> 
> -- 
> Gokul

User Mode Linux ?

http://user-mode-linux.sourceforge.net/

Ionut


signature.asc
Description: Digital signature


Re: upgrading to stable sarge produces Segmentaion fault

2005-06-14 Thread Ionut Georgescu
On Thu, Jun 09, 2005 at 08:51:06PM +0200, Florian Sukup wrote:
> Hi,
> 
> I upgraded to stable sarge.
> 
> Unfortunately there appearing errors with two packages: sendmail and 
> apache.
> 
> The apache package install ok, when /etc/init.d/apache start is called:
> 
> 
> 
> Configuration syntax error detected. Not reloading.
> 
> /usr/sbin/apachectl: line 186: 10119 Segmentation fault  $HTTPD -t
> 
> 
> 
> At configuring the sendmail package a similar error appears. For example 
> if I call makemap at command line it just says 'Segmentation fault'. 
> Since 'makemap' is needed at configuring sendmail it can't be configured 
> completely.
> 
> For the time beeing I installed the old version of sendmail again 
> (thanks god it worked, so I have email at least).
> 
> I really would appreciate if someone can help me. I don't know what to 
> do anymore.
> 
> Florian.
> 

You might have old libraries still lying around. did you try

apt-get dist-upgrade

?

Ionut


signature.asc
Description: Digital signature


Re: Newbie cannot start graphical desktop

2005-06-14 Thread Ionut Georgescu

j Mak wrote:


Hi,

I've just installed Sarge and everything went ok. but
when i log in, there is no graphical interface appears
anywhere only the command line. How can i start gnome
or kde or any other grahical desktop.

Thanks alot

 



Hi,

did you install the graphical desktop at all ? Login as root, run 
tasksel and select desktop environment.


Ionut


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




Re: partition magic-ally

2005-06-14 Thread Ionut Georgescu

prash wrote:


hello,
 i installed the partitions using lvm on my home machine which only
has 10 GB.

here is a df -h:

mantra:/home/prash# df -h
FilesystemSize  Used Avail Use% Mounted on
/dev/mapper/rootvol-root
 1.7G  200M  1.4G  13% /
tmpfs 126M 0  126M   0% /dev/shm
/dev/mapper/rootvol-home
 2.8G   40M  2.6G   2% /home
/dev/mapper/rootvol-usr
 1.7G  1.5G   59M  97% /usr
/dev/mapper/rootvol-usr_local
 2.8G  472M  2.2G  18% /usr/local

---

i then realised /usr has no more free space. so, i used a combination
of lvreduce and lvextend to change the sizes a little bit and here is
the output of lvdisplay:

--

mantra:/home/prash# lvdisplay
 --- Logical volume ---
 LV Name/dev/rootvol/root
 VG Namerootvol
 LV UUIDbgdtx8-x12o-hH3U-0GZY-iWVk-9Z0Z-dE1nUF
 LV Write Accessread/write
 LV Status  available
 # open 1
 LV Size1.75 GB
 Current LE 448
 Segments   1
 Allocation inherit
 Read ahead sectors 0
 Block device   254:0

 --- Logical volume ---
 LV Name/dev/rootvol/usr
 VG Namerootvol
 LV UUIDa0j5aF-ej5f-fq9y-j32N-TA1I-aLmG-zAR5xB
 LV Write Accessread/write
 LV Status  available
 # open 1
 LV Size2.75 GB
 Current LE 704
 Segments   2
 Allocation inherit
 Read ahead sectors 0
 Block device   254:1

 --- Logical volume ---
 LV Name/dev/rootvol/usr_local
 VG Namerootvol
 LV UUIDwO8fh0-H7Wc-e1Nf-Ek6M-Ek51-r1As-ifZmhj
 LV Write Accessread/write
 LV Status  available
 # open 1
 LV Size2.75 GB
 Current LE 704
 Segments   1
 Allocation inherit
 Read ahead sectors 0
 Block device   254:2

 --- Logical volume ---
 LV Name/dev/rootvol/home
 VG Namerootvol
 LV UUIDJjAi4a-NqqR-8n8G-eaHU-eVQV-8sIi-hYsD0l
 LV Write Accessread/write
 LV Status  available
 # open 1
 LV Size1.73 GB
 Current LE 444
 Segments   2
 Allocation inherit
 Read ahead sectors 0
 Block device   254:3

 --- Logical volume ---
 LV Name/dev/rootvol/swap
 VG Namerootvol
 LV UUIDShUUbV-q6Im-fVIj-2EPF-w1jz-DUQp-CWrfDF
 LV Write Accessread/write
 LV Status  available
 # open 1
 LV Size556.00 MB
 Current LE 139
 Segments   1
 Allocation inherit
 Read ahead sectors 0
 Block device   254:4




as can be seen, it says that /dev/rootvol/usr (which is mapped to /usr)
has 2.75G now and /home has reduced to 1.73G.
my problem is that df -h is still showing the old status (/usr is still
1.7G and /home is still 2.8G)! no change at all!
how come lvdisplay is showing the changes in the logical volumes, but
df is not showing them?
i am assuming df is the right representation of my system, so what's up
with lvm?

any help will be much appreciated,
-prash.

 


Hello!

I did not follow this thread from it's very beginning, but did you 
reduce the size of the filesystem before reducing the volume ? df shows 
the size of the filesystem, not of the device underneath. Something like


ext2resize /dev/mapper/root-vol-usr
lvreduce /dev/mapper/root-vol-usr

Regards,
Ionut


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




tex: garamond fonts

2002-02-10 Thread Ionut Georgescu
Hi,

I have seen there are some garamond fonts under
/usr/share/texmf/fonts/tfm/cg/garamond

However, there is no *.fd entry under /usr/share/texmf/tex/latex/psnfss/ and
I can't use them. Am I missing some *.fd files or is there any other
reasonable way to use these fonts ?

Regards,
george


-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."



Re: max # of processes in debian testing

2002-02-11 Thread Ionut Georgescu
Take a look at /etc/security/limits.conf

It's about the same thing, but via PAM . Although I don't think this
will 'temperate' your children :) ...

Better add a line in the init.d script.


Ionut

-- 
*******
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."



about terminals: backspace <-> del

2002-02-19 Thread Ionut Georgescu
Hi,

terminals have always been a nightmare for me. Never knew how to fix
them.  Right now 2 machines have all of a sudden backspace rerouted to
del. What can I do to solve this ? How does the whole term* thing
actually work ? (It happens under X and xterm. TERM=xterm)

Regards,
Ionut


-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."



pgpcw9runPd6k.pgp
Description: PGP signature


Re: Testing my serial port?

2002-02-24 Thread Ionut Georgescu
Well, auto-apt search -f pixmap will probably give you a pretty good
list of packages that contain pixmaps.

Or better:

auto-apt search -f pixmaps | sed 's~^.*\ ~~' | sort  -u

this should give you a list of about 450 packages :)

I think you should first look in /usr/share/pixmaps & Co. You'll
find pretty many of them. nautilus has some funny pixmaps too.

Regards,
Ionut

PS Tell us if you find more. :)


On Sun, Feb 24, 2002 at 04:34:35PM -0600, [EMAIL PROTECTED] wrote:
> Hi,
> 
> I would like to know, how can i test if me serial port is fried? my 
> external modem that used to work just fine, stopped working.. both 
> in windows and debian...(i dualboot) Its very strange  ,because from 
> windows, i can query the modem, and it responds like it was all 
> Ok... so how can i test if my serial port is the problem? 
> 
> Thanks...
> Camilo
> 
> --
> "Tu es stultior quam asinus. Pudor tu."
> 
> "Nunca pierdas la santa curiosidad"
> -Albert Einstein
> 
> Registered Linux User #231105
> http://counter.li.org
> -
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."



Re: Looking for Gnome Panel icons, Re: Testing my serial port?

2002-02-24 Thread Ionut Georgescu
Sorry, the reply was ment for the previous message:

Subject: Looking for Gnome Panel icons

:)

Sorry again, it happens on a 56K modem line :)

Ionut


On Mon, Feb 25, 2002 at 01:20:38AM +0100, Ionut Georgescu wrote:
> Well, auto-apt search -f pixmap will probably give you a pretty good
> list of packages that contain pixmaps.
> 
> Or better:
> 
> auto-apt search -f pixmaps | sed 's~^.*\ ~~' | sort  -u
> 
> this should give you a list of about 450 packages :)
> 
> I think you should first look in /usr/share/pixmaps & Co. You'll
> find pretty many of them. nautilus has some funny pixmaps too.
> 
> Regards,
> Ionut
> 
> PS Tell us if you find more. :)
> 
> 
> On Sun, Feb 24, 2002 at 04:34:35PM -0600, [EMAIL PROTECTED] wrote:
> > Hi,
> > 
> > I would like to know, how can i test if me serial port is fried? my 
> > external modem that used to work just fine, stopped working.. both 
> > in windows and debian...(i dualboot) Its very strange  ,because from 
> > windows, i can query the modem, and it responds like it was all 
> > Ok... so how can i test if my serial port is the problem? 
> > 
> > Thanks...
> > Camilo
> > 
> > --
> > "Tu es stultior quam asinus. Pudor tu."
> > 
> > "Nunca pierdas la santa curiosidad"
> > -Albert Einstein
> > 
> > Registered Linux User #231105
> > http://counter.li.org
> > ---------
> > 
> > 
> > -- 
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> > with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> -- 
> ***
> * Ionut Georgescu
> * http://www.physik.tu-cottbus.de/~george/
> * Registered Linux User #244479
> *
> * "In Windows you can do everything Microsoft wants you to do; in Unix you
> *can do anything the computer is able to do."
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."



[OFF-TOPIC: rqsall for Linux]

2002-02-26 Thread Ionut Georgescu
Hi,

sorry for being lazy anf forwarding the whole message. Do we have
something like this in debian ?

apt-cache didn't find anything for me.


- Forwarded message from Peter Wächtler <[EMAIL PROTECTED]> -

From: Peter Wächtler <[EMAIL PROTECTED]>
Date: Tue, 26 Feb 2002 10:53:38 +0100
To: [EMAIL PROTECTED]
Subject: OFF-TOPIC: rqsall for Linux

Yes, I know it's off topic. Anyway:

Is there a way to ask SGI if they would provide/help
in implementing something similar as "Quickstart" (rqsall)
for Linux?

With such a system the binaries are pre-relocated against
ELF shared libraries improving startup time significant.

Any hint of those nice SGI employees lurking here? ;-)

Thanx


Until now, I did not get the prelinking solution to work for me :-(

http://sources.redhat.com/ml/binutils/2001-07/msg00057.html
http://speakeasy.rpmfind.net/linux/RPM/ASP/i386/7.2/asplinux/contribs/RPMS/prelink-0.1.3-6.i386.html


- End forwarded message -----

-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."



Re: GUI woes

2002-03-02 Thread Ionut Georgescu
hi,

you cannot use /dev/psaux simultaneously in gpm and X. use gpmconfig
to tell gpm to 'forward' /dev/psaux. it is the question about
repeat_type. you should set it to raw.

then tell X to look for the mouse on /dev/gpmdata instead of /dev/psaux.

hope it helps.

Ionut



On Sun, Mar 03, 2002 at 12:15:40AM +0530, shyamk wrote:
>  am having problems with using my Logitech 3 - button PS/2
>  mouse on GUI .I do get it in the text-mode console , but when I startx
>  and Ctrl - Coff the following is what I get :-
> 
>  (--) SVGA: Maximum allowed dot-clock: 230.000 MHz
>  (**) SVGA: Mode "640x480": mode clock =  25.180
>  (--) SVGA: There is no mode definition named "320x240"
>  (--) SVGA: Removing mode "320x240" from list of valid modes.
>  (--) SVGA: Virtual resolution set to 640x480
>  (--) SVGA: SpeedUp code selection modified because virtualX != 1024
>  (--) SVGA: Using Linear Frame Buffer at 0x0e580, Size 8MB
>  Warning: /dev/psaux unable to get status of mouse fd (Inappropriate
>  ioctl for device)
> 
> 
>  Why , what can be wrong ?
> 
> Please help.
> 
> Regards,
> Shyam
> -- 
> 
> ([EMAIL PROTECTED])--(=)--(Shyam)---
> "Beauty lies in the eyes of the beholder."
> "The truth is stranger than fiction."
> -
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."



Re: Terminfo and emacs

2002-03-02 Thread Ionut Georgescu
The man page means that you either use 
dpkg -S more

or

dpkg --search more

{} has a meaning for the shell.

Ionut


On Sat, Mar 02, 2002 at 11:07:10AM -0800, Harry Putnam wrote:
> message:
> 
> A usage statement and "Bash --search command not found" with the
> command line indicated there:
> dpkg {-S|--search} pattern # search package from installed filename
> 
> My actual command line attempts were:
> dpkg {-S|--search} /bin/more
> dpkg {-S|--search} more
> 
> And with single quotes around the curley brackets:
> dpkg '{-S|--search}' /bin/more
> 
> Maybe it wants a packagename 
> But seems unlikely since it starts by saying:
>  To find the package to which a particular file belongs: 
> 
> dpkg {-S|--search} emacs21
> Still no useful output.
> 
> Its pretty clear that I'm using it wrong but I did try to follow the
> example listed there.  What is expected at `pattern'
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."



Re: More on RealPlayer and galeon

2002-03-03 Thread Ionut Georgescu
You can use any netscape plugin with galeon. Just symlink all the files
from /usr/lib/netscape/plugins-libc6/ into /usr/lib/mozilla/plugins

I have Acrobat, RealPlayer, Java and Flash netscape plugins working with
netscape.

Oh, and don't forget, restart galeon after doing that.

Ionut



On Sun, Mar 03, 2002 at 04:58:49PM -0500, stan wrote:
> Well I decided to check to see if the were workign in Netscape.
> Yes, it is.
> 
> So hw do I make it work in Galeon also?
> 
> -- 
> "They that would give up essential liberty for temporary safety deserve
> neither liberty nor safety."
>   -- Benjamin Franklin
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."



Re: More on RealPlayer and galeon

2002-03-04 Thread Ionut Georgescu
On Sun, Mar 03, 2002 at 10:18:36PM -0500, stan wrote:
 
> Hmm, something is still not rigt here.
> 
> I copied that file over, and now about->plugins shows that tyep:

Did you copy the .class file to ? If I remember well there is also a
class file in the equation.

Ionut
-- 
*******
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."



Re: apt always upgrade the package that I built :(

2002-03-04 Thread Ionut Georgescu
/etc/apt/preferences

apt_preferences (5)  - Preference control file for APT

Ionut


On Tue, Mar 05, 2002 at 10:32:05AM +0800, asho wrote:
> hello
> I have a problem of the apt-get upgrade.
> 
> I built the zsnes of my own by dpkg-buildpackage.
> I installed it by dpkg -i zsnes-xxx.
> 
> Now I commanded the apt-get upgrade, apt showed that
> it wanted to upgrade my zsnes package!!
> 
> Why??
> 
> The versions of two package are the same.
> How can I do to stop that or my building was wrong.
> 
> Please help me to solve it,thanks
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."



.deb builder for Intel Compilers

2004-08-23 Thread Ionut Georgescu
Hello everyone,

if anyone out there finds it usefull, I have managed to package the
Intel Compilers for ia64 and i386. Assuming it is not allowed (and fair)
to redistribute any binaries, I provide a .deb 'builder':

http://www.physik.tu-cottbus.de/~george/debian/unstable/intel-compiler-source_8.0-3_all.deb

or via apt

deb http://www.physik.tu-cottbus.de/~george/debian unstable/all/
and install intel-compiler-source

You will have to download the binaries from Intel yourself
http://www.intel.com/software/products/compilers/

Detailed instructions for building the packages can be found at
http://www.physik.tu-cottbus.de/~george/unix/admin.html#intel

Have fun!
Ionut

-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix
*you can do anything the computer is able to do."



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



disk_io statistics at partition level

2002-03-25 Thread Ionut Georgescu
Hi,

has anyone done this before ? There is a program, iostat, which states
it could do that, but it needs support from the kernel. And the patch
they suggest does not apply.

Now, if I remember well, /proc/partitions used to have a pretty
complicated format, with lots of numbers and such. I don't know how to
get that format again. Who knows, maybe I'll find it usefull.

Does anyone have a clue on how to do something like this ?

Thanks a lot,
Ionut


-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."


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



Re: OpenGL dev & NVIDIA driver

2002-03-27 Thread Ionut Georgescu
I don't think you need mesa for compiling OpenGL apps. If you install
the nvidia drivers the debian way (apt-get install nvidia-glx-src
nvidia-kernel-src) you'll get a -dev .deb with the nvidia header files.

Ionut

On Tue, Mar 26, 2002 at 07:32:02PM +0100, Pac wrote:
> Hi all,
> 
> I've installed the NVIDIA driver for my GeForce3 graphic card, they
> work perfectly, I see the Nividia's logo at the startup of my
> windowmanager.
> 
> I've also installed this packages : 
> glutg3-dev
> xlibmesa3
> 
> to be able to compile my own OpenGL applications.
> 
> I can compile but when I try to launch wrong
> pictures appear, the window panel contains a portion of my wallpaper
> instead of displaying what the OpenGL programm contains.
> 
> 
> What's wrong ?
> 
> Have I really compiled the application linked with the NVidia library
> ?
> 
> 
> Best regards
> 
> -- 
> R.Pac
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."


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



Re: apt pin-priority and /etc/apt/preferences file

2002-03-28 Thread Ionut Georgescu
On Wed, Mar 27, 2002 at 03:13:49PM -0800, justin cunningham wrote:
 
> Will these two statements suffice or do I need to also list the packages
> installed and give them a Pin-Priority: 100 or; pursuant that I want an
> all woody box should I change the Pin-Priority of stable to 95?  That
> way my woody packaging scheme will remain as-is and apt will get the
> desired packages from stable, only if it can't find them in testing. 

Do something like this

Package: foo
Pin: release a=potato
Pin-Priority: 950


Set a priotrity greater than 1000 if you want do downgrade those
packages from woody to potato (for the case that you have already
installed them from woody).

For the rest, I think you can trust apt_preferences. I do have a mixture
of woody/sid on all the boxes here my self and I never had a problem
like the one you're afraid of.

> 
> Package: *
> Pin: release a=testing
> Pin-Priority: 900
> 
> Package: *
> Pin: release a=stable
> Pin-Priority: 500
> 
> Thanks, justin
> 

Ionut


-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."


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



Re: Should both my IDE CD drives use ide-scsi?

2002-03-28 Thread Ionut Georgescu
hi,

On Thu, Mar 28, 2002 at 01:57:58AM -0800, Bill Moseley wrote:
> Hello,
> 

The magic works because cdrecord is actually looking for the /dev/sg*
devices. You have one /dev/sg for each scsi device on your system,
native SCSI or ide-scsi. And if you examine the configuration you'll see
that this is the key of the whole thing.

Try this:

strace -e trace=file cdrecord -scanbus

to convince your self.

You could also try

below sg ide-scsi sr_mod

instead of the pre-install line. It's nicer because the modules are then
automatically unloaded. You'll also not need the scd0 line anymore.

Ionut


 
> I assume this magic happens because of what I added to /etc/modutils/aliases 
> (and thus to modules.conf after running update-modules):
> 
> options ide-cd ignore=hdd  # tell the ide-cd module to ignore hdd
> alias scd0 sr_mod  # load sr_mod upon access of scd0 only
> pre-install sg  modprobe ide-scsi # load ide-scsi before sg
> pre-install sr_mod modprobe ide-scsi # load ide-scsi before sr_mod
> # I've got ide-cd compiled in now
> #pre-install ide-scsi modprobe ide-cd # load ide-cd   before ide-scsi
> 
> I don't really see from man modules.conf why "alias scd0 sr_mod" makes that 
> happen on demand. It makes sense that a device request to /dev/scd0 might 
> trigger a kmod request.  I guess I'm just missing something the modules.conf 
> man page.
> 
> My ide-cd is compiled in
> 
> bumby:~# fgrep IDECD /boot/config-2.4.17-k7t266
> CONFIG_BLK_DEV_IDECD=y
> 
> So I'm disabling ide for /dev/hdd in lilo.conf
> 
> bumby:~# fgrep hdd /etc/lilo.conf
> append="apm=on apm=power-off hdd=ide-scsi"
> 
> So the "options" line above doesn't seen necessary (as the pre-install I've 
> commented out).
> 
> That's the setup.
> 
> So I wonder:
> 
> 1) cdrecord -scanbus only shows one ide-scsi drive (/dev/hdd -- my CD-R).  
> And also xcdroast only lists that one drive.  Should I add hdc=ide-scsi to 
> lilo.conf and run both my CD/DVD (/dev/hdc) and my CD-R as ide-scsi?
> 
> 2) if I did run both as ide-scsi, would that change the way I need to access 
> my CD/DVD drive?  Currently I've got /dev/cdrom symlinked to /dev/hdc.  Would 
> I then need to link it to /dev/scd0 so things like xmms still work?
> 
> Currently, in xmms in input plugin CD Audio Player's setup shows:
> 
>   Device: /dev/cdrom
>Directory: /cdrom
> 
> If both /dev/hdc and /dev/hdd were ide-scsi would/could I say Device: 
> /dev/hdc instead?  Or would /dev/hdc no longer work if it was ide-scsi?
> 
> 3) If I setup both CD drives as ide-scsi, then I suppose I need another 
> "alias scd1 sr_mod" to auto-load modules on requests to that device, too.  
> True?
> 
> 4) the modules setup still confuses me.  I don't really understand the reason 
> for loading the modules on-demand instead of just loading them on boot or 
> compiled in.  If I had ide-cd as a module, could I unload ide-scsi and end up 
> with just IDE CD drives again?  And if so, what would be the reason for doing 
> so?  With 1/2G RAM I'm not really worried about a few 100K of memory the 
> modules take up.
> 
> 5) I suppose I need to set those on-demand modules as "autoclean" so they 
> will unload?
> 
> 6) Back to question 4, I wonder if there's even reason to bother with this 
> on-demand loading and the settings in modules.conf these days (with so much 
> RAM).  Should I just load the ide-scsi support in an init.d script?
> 
> 7) Finally, where does modconf fit in with all this?  Is it part of the 
> modules.conf setup, or just a front-end for selecting and loading modules.  
> Where does it store what is loaded?
> 
> Thanks very much -- especially if you made it this far!
> 
> -- 
> Bill Moseley
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."


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



Re: divx codec

2002-03-28 Thread Ionut Georgescu
www.mplayerhq.hu, avifile.sourceforge.net, xine.sourceforge.net ...
try a query on freshmeat.net . The general opinion is that mplayer and
xine rule (in this order :)).

Ionut

On Thu, Mar 28, 2002 at 11:29:24AM +0100, Alberto Vecchiato wrote:
> Hi all.  Anoyone knows if it is possible to play divx movies on Linux?
> Any suggestion on the player, where to find codecs, etc.?
> 
> Thanks in advance for any answer.
> 
> Alberto Vecchiato
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."


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



Re: Yamaha CDR not working

2002-03-30 Thread Ionut Georgescu
Did you compile ide-scsi support ? If not, append a
hdx=ide-scsi

to your append= line in lilo.conf, where hdx is you CDRW drive.
Then 'modprobe ide-scsi sr_mod sg' and in the end 'cdrecord -scanbus'.
This should work. There is no problem if some of them are compiled as
modules or into the kernel. It is important that you boot with
hdx=ide-scsi and that you have support for scsi, ide-scsi, scsi cdrom
(sr_mod) and scsi generic (sg). There was another thread on ATAPI CDRW a
few days ago. Search the archives for details.

Good Luck,
Ionut


On Thu, Mar 28, 2002 at 11:59:02AM -0500, John Kerr Anderson wrote:
> Hello,
> 
> I have been trying to get a Yamaha CDR drive working using kernel 2.2.18
> in a 2.2 version of Potato.  I added SCSI support in the kernel, it comes
> up as recognised.  I also put the append statement in lilo (I don't use a
> modular kernel).  I have had the drive working before, but reinstalled
> Debian on it.  I tried the link statement for the CD-Writer HOWTO:
> 
> cd /dev/ && rm cdrom && ln -s scd0 cdrom
> 
> When I try to mount the cd rom the following error results:
> 
> mount: /dev/cdrom is not a valid block device
> 
> Can anyone help?
> 
> PS please send correspondonce to my address because for some reason I
> cannot subscribe to this list.  After sendiing a confirmation e mail
> nothing comes back.
> 
> Thanks in advance
> 
> JKA
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."


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



Re: Gaim trouble

2002-04-05 Thread Ionut Georgescu
You can play with hping2 to get a firm answer on that. This is what I
use when I what to see if it lies on the firewall or on the remote
server when a service does not work.

Ionut

On Fri, Apr 05, 2002 at 08:25:41AM +0530, Sridhar M.A. wrote:
> On Thu, Apr 04, 2002 at 08:11:56PM -0600, Alex Malinovich wrote:
>> 
>> Make sure that your server name is set properly. The default setting for
>> the Yahoo server for me didn't work. I used the one that I found in the
>> Yahoo for Linux settings (cs.yahoo.com) and used that and have had no
>> problems since.
>> 
> It is the one that I am using. Same problem. On a related note, all of
> us in India are facing this problem. It was mentioned on Linux India
> mailing lists that Yahoo is blocking users from India. 
> 
> Thanks for your help.
> 
> Regards,
> 
> -- 
> Sridhar M.A.mas at uomphysics dot net
> 
> How apt the poor are to be proud.
>   -- William Shakespeare, "Twelfth-Night"
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 

-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."


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



Re: Mozilla, Defoma, AA Fonts

2002-04-05 Thread Ionut Georgescu
On Thu, Apr 04, 2002 at 08:06:34PM -0700, Troy Telford wrote:
> I have no problem installing/configuring Mozilla when I simply install a 
> nightly snapshot, and modify the $mozilla/defaults/prefs/unix.js file.
> 
> However, I decided to move away from the nightly builds, and switch to 
> the Debian packaged versions (Debian 3.0/Sid).  Mozilla runs its 
> font-detection dealy the first time it runs, (as it always did when I 
> installed from nightly sources).  However, it's missing nearly all the 
> fonts I have installed on my system.  (Including ones I have previously 
> used in Mozilla.)
> 
> My /usr/lib/mozilla/defaults/prefs/unix.js does point to the font 
> directories properly; however it is only detecting the fonts in 
> /var/lib/defoma, and /usr/share/fonts/truetype/openoffice.
> 
> Neither of these font paths are in the unix.js file.
> 
> My wild guess is that, since it's looking in /var/lib/defoma, defoma is 
> somehow involved...
> 
> But, what do I need to do to get Mozilla configured right (when using 
> the Debian packages)?

/etc/mozilla/prefs.js ??

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

-- 
***
* Ionut Georgescu
* http://www.physik.tu-cottbus.de/~george/
* Registered Linux User #244479
*
* "In Windows you can do everything Microsoft wants you to do; in Unix you
*can do anything the computer is able to do."


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



Re: Alternative to Microcal Origin?

2005-12-07 Thread Ionut Georgescu
On Tue, Dec 06, 2005 at 06:22:41PM -0200, Bruno Buys wrote:
> Philipp Pagel wrote:
> 
> >Bruno Buys <[EMAIL PROTECTED]> wrote:
> > 
> >
> >>Is there any free software alternative to Origin, the chart plotting 
> >>software, with deb packages? I´m looking for suggestions, and trying to 
> >>figure which one people seem to like more.
> >>   
> >>
> >
> >Depending on your needs there are plenty of options. Some feature a GUI
> >but the most powerful programs usually don't.
> >
> >- R (http://www.r-project.org)
> >- GNUplot (http://www.gnuplot.info)
> >- kst (http://omega.astro.utoronto.ca/kst)
> >- Scigraphica (http://scigraphica.sourceforge.net)
> >- labplot (http://labplot.sourceforge.net)
> >- Scilab (http://www.scilab.org)
> >- Octave (http://www.octave.org)
> >- ploticus (http://ploticus.sourceforge.net)
> >- quickplot (http://quickplot.sourceforge.net)
> >- rlplot (http://rlplot.sourceforge.net)
> >
> >There must be many more which I am not aware of. 

grace (http://plasma-gate.weizmann.ac.il/Grace/) also. I think it has more
features than any graphical utility from the ones above.

Ionut

-- 
***
* Ionuţ Georgescu
* Max-Planck-Institut für Physik komplexer Systeme
* Noethnitzer Str. 38, D-01187 Dresden
* Phone: +49 (351) 871-2209
* Fax:   +49 (351) 871-1999