Re: RAID1 all bootable

2013-06-02 Thread Alexandru Cardaniuc
Bob Proulx  writes:

>> Nonetheless, I'll try to digest your "manual". At this point, could
>> you also describe how to safely proceed, on this situation, to have
>> grub on both disks? It would be useful community wide, to complete
>> the raid1 installation from the Debian installer.
>
> As was already mentioned:
>
>   # grub-install /dev/sda # grub-install /dev/sdb
>
> Newer Debian installers will give the option to install to both disks
> but older ones do not.

I just did 2 reinstalls in the last two weeks (upgrade from sqeeze to
wheezy screwed up my grub config and then my 6 year old drives started
failing - so much fun :), but basically during both reinstalls and
creating MD devices with debian installer (md0/md1/md2) using two drives
sda/sdb, by default the installer just installed grub on MBR of the
first device sda. I didn't see an option to install it everywhere. So,
after reboot I did a manual
# grub-install /dev/sda
# grub-install /dev/sdb

Now when I choose to boot from either first disk or second disk, it
works fine.

Did I miss something during the debian installation? Why wasn't grub
automatically installed on both disks?


-- 
"We are usually convinced more easily by reasons we have found
ourselves than by those which have occurred to others."  
- Blaise Pascal (1623-1662)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/877gicjmte@gmail.com



Re: amd64 debian wheezy installation: software raid: partition misaligned by 512 bytes

2013-05-26 Thread Alexandru Cardaniuc
I can try to move the md2p1 partition with the parted. Would that work? :)


On Tue, May 21, 2013 at 11:03 PM, Virgo Pärna  wrote:

> On Tue, 21 May 2013 09:12:10 -0700, Alexandru Cardaniuc <
> cardan...@gmail.com> wrote:
> > --089e01175e3d288e0104dd3cb6f1
> > Content-Type: text/plain; charset=ISO-8859-1
> > Content-Transfer-Encoding: quoted-printable
> >
> > Ok, so any way to fix that now? Without reinstalling everything? Any way
> to
> > move the partitiions?
> >
>
> Don't really know. Possibly, by making partition shorter and then
> moving.
> Never had to do this.
>
> > Also, I don't remember creating these md partitions. The installer does
> > that by default? I should do that part manually during installation? But
> I
> > didn't see that option in the installer...
> >
>
> I have never set up RAID at install time. My exprience is only with
> moving
> existing system to RAID using additional disk and moving that same system
> to new
> mirror.
> But if it automatically sets up system like this, then it should
> account as
> a bug in installer - AFAIK.
>
>
> --
> Virgo Pärna
> virgo.pa...@mail.ee
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive:
> http://lists.debian.org/slrnkponu8.4ih.virgo.pa...@dragon.gaiasoft.ee
>
>


-- 
Sincerely yours,
Alexandru Cardaniuc


Re: amd64 debian wheezy installation: software raid: partition misaligned by 512 bytes

2013-05-21 Thread Alexandru Cardaniuc
Ok, so any way to fix that now? Without reinstalling everything? Any way to
move the partitiions?

Also, I don't remember creating these md partitions. The installer does
that by default? I should do that part manually during installation? But I
didn't see that option in the installer...


thanks,
Alexandru


On Tue, May 21, 2013 at 6:38 AM, Virgo Pärna  wrote:

> On Sun, 19 May 2013 21:41:33 -0700, Alexandru Cardaniuc <
> cardan...@gmail.com> wrote:
> >
> > 1. Should the /dev/md{0,1,2}p1 devices Start at 64 and not 63? Or some
> > other cylinder number to be properly aligned? That would explain the
> exact
> > 512 bytes misalignment (1 sector)?
> >
> > 2. How did that happen? The partitiions on the disk were properly
> aligned,
> > the sda1 sda2 sda3 sdb1 sdb2 sdb3? If they were properly aligned why
> > weren't md devices created with proper alignment?
> >
>
> /dev/md? devices themselves were aligned properly, but you also created
> partitions inside md devices. And those partitions are not aligned properly
> anymore. So they are aligned now to 1 MiB+63sectors instead of 1 MiB.
> In your case, you should have used those md devices without any
> additional
> partition  tables (since you only created one partition on them anyway).
> Or you
> should have aligned those partitons same way the original sdisk partitions
> were
> aligned.
>
>
> --
> Virgo Pärna
> virgo.pa...@mail.ee
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive:
> http://lists.debian.org/slrnkpmu6m.4ih.virgo.pa...@dragon.gaiasoft.ee
>
>


-- 
Sincerely yours,
Alexandru Cardaniuc


amd64 debian wheezy installation: software raid: partition misaligned by 512 bytes

2013-05-19 Thread Alexandru Cardaniuc
 make
sure that md0 Starts at 64 and NOT 63? I didn't see these options during
the installation? Also, since the partitions on the disk have 1M offset,
should the MD devices also have 1M offset? Or that 63 offset starts AFTER
the 1M offset? What should the proper Start be for the MD device in this
case then? 64? Or a larger number? Another 2048 (1M)?


Would appreciate any insight here :)


-- 
Sincerely yours,
Alexandru Cardaniuc


Re: motherboad for desktop

2009-08-25 Thread Alexandru Cardaniuc
Ron Johnson  writes:

> On 2009-08-23 11:01, Francesco Pietra wrote:
>> Hi: My old K7S5A (SiS735 chipset) Athlon i386 lenny desktop has died
>> and I am wondering how to set up a new one for the same service
>> (running 32bit graphic scientific programs, besides office use, and
>> establishing scp connection with my amd64 computing machines).
>> Absolutely no need of multicore, rather, a single fast processor
>> would be of use for scientific purposes as parallelized codes are
>> rare stuff. I thought to by a second hand single-processor
>> motherboard but it might result as a bad jump into the past. Also, I
>> have a couple of unused 150GB Raptor WD HDs that could only be used
>> if nthe motherboard has SATA connections (better two, so as to set
>> up a RAID1).
>> Any suggestion on which motherboard (or motherboard type if you
>> prefer to be uncommittal about brand) would be greatly appreciated.
>
> If I wanted the fastest-available single-core CPU, I'd look for these
> on Ebay: Pentium D 900 at 3.4 GHz Pentium 4 6X1 at 3.8 GHz

As a bonus, you'll be able to save some money on heating in the Winter :)


-- 
"The only thing necessary for evil to flourish is for good men to do
nothing."  
- Edmund Burke


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



emacs23 in lenny-backports

2009-08-21 Thread Alexandru Cardaniuc
Hi All!

Does anyone know if emacs23 will be backported to lenny? It would be
nice if emacs23 will be available for those using stable...


-- 
"Most writers regard the truth as their most valuable possession, and
therefore are most economical in its use."  
- Mark Twain (1835-1910)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: What is the preferred way to install packages from testing/unstable in stable?

2009-08-21 Thread Alexandru Cardaniuc
Aniruddha  writes:

> I would like to install the latest version swfdec-mozilla (because it
> offers autoplay). I intent to track stable as closely as possible. As
> far I can tell there are four possibilities to achieve this:
>
> 1) Temporary enable testing/unstable repositories and install the
> program 2) Download *.deb from packages.debian org 3) Use apt-pinning
> 4) Compile from source, this requires option 1 to be enabled.
> Otherwise you get the following error:
>
> # apt-get build-dep swfdec-mozilla E: Build-Depends dependency for
> swfdec-mozilla cannot be satisfied because the package
> libswfdec-0.8-dev cannot be found
>
>
> I am interested to learn the best method to install a newer package
> while remaining as close (compatible) with stable as possible. Thanks
> in advance!


How about asking the developer(s) to upload swfdec-mozilla to
debian-volatile? Flash stuff changes pretty often and hence the plugin
becomes useless at some point during the life of the stable. Like the
last time they changed something on youtube and swfdec couldn't play it
anymore, until the new version came out (which by the way wasn't
uploaded to stable). I think updates that break package functionality is
something that qualifies for inclusion in debian-volatile. At least that
is how I understand why, for instance, pidgin is in debian-volatile. I
fail to see the difference between pidgin and swfdec-mozilla in this
case. 

So, I think the best solution is to ask developers to upload
swfdec-mozilla to debian-volatile and to support it there too.

What do you guys think?


-- 
"Most writers regard the truth as their most valuable possession, and
therefore are most economical in its use."  
- Mark Twain (1835-1910)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



pthreads, semaphores and segmentation fault

2008-11-30 Thread Alexandru Cardaniuc
Hi All!

I was wrting a small test program using semaphores and pthreads. The
program compiles fine with  'g++ -lpthread -o a8 a8.cpp'

But when I run it, I get: segmentation fault. If I comment out the
second pthread_join() and compile and run it, then I get the output on
the screen and no segmentation fault.

If I run it in gdb, I get:
(gdb) run
Starting program: a8
[Thread debugging using libthread_db enabled]
[New Thread 0x7fda52cbd6f0 (LWP 14657)]
[New Thread 0x41357950 (LWP 14660)]
Entered producer thread
[New Thread 0x41b58950 (LWP 14661)]
Entered consumer thread
[Thread 0x41b58950 (LWP 14661) exited]
[Thread 0x41357950 (LWP 14660) exited]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fda52cbd6f0 (LWP 14657)]
0x7fda528a8628 in pthread_join () from /lib/libpthread.so.0
(gdb)

The program is listed below. Can anyone tell me if I am doing something wrong.

All this is done on Debian Lenny amd64 port.


#include 
#include 
#include 
#include 
#include 

class mailbox {
 public:
  mailbox();  //constructor
  int request();  //return next int from mailbox or block
  void release(int x);  //add x to mailbox or block

 private:
  sem_t num_empty;
  sem_t num_full;
  int *data;
  int producer_ptr;
  int consumer_ptr;

};

mailbox::mailbox()
{
  sem_init(&num_empty, 0, 10);
  sem_init(&num_full, 0, 0);
  data = (int *)malloc(10);
  producer_ptr = 0;
  consumer_ptr = 0;
}

int mailbox::request()
{
  sem_wait(&num_full);

  int temp = data[consumer_ptr];
  sem_post(&num_empty);
  consumer_ptr = (consumer_ptr + 1) % 10;

  return temp;
}

void mailbox::release(int x)
{
  sem_wait(&num_empty);

  data[producer_ptr] = x;
  sem_post(&num_full);
  producer_ptr = (producer_ptr + 1) % 10;
}

mailbox m;  //declares m to be a mailbox of integers of size 10

void *producer(void *arg)
{

  printf("Entered producer thread\n");

  int j;
  for (j = 0; j < 105; j++)
m.release(j);

  pthread_exit(NULL);
}

void *consumer(void *arg)
{

  printf("Entered consumer thread\n");

  int j;
  for (j = 0; j < 100; j++)
printf(" %d ", m.request());

  pthread_exit(NULL);
}

int main()
{
  pthread_t TId1, TId2;

  pthread_create(&TId1, NULL, producer, NULL);
  pthread_create(&TId1, NULL, consumer, NULL);

  pthread_join(TId1, NULL);
  pthread_join(TId2, NULL);

  printf("\n\n\n");

  return 0;
}





-- 
Sincerely yours,
Alexandru Cardaniuc


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



logitech mx600 mouse

2008-07-01 Thread Alexandru Cardaniuc
Hi all!

Did anybody manage to make all mouse buttons work under debian linux?
That's the mouse that comes in mx3200 keyboard&mouse combo.

If yes, can you share how you configured it?


-- 
"I can picture in my mind a world without war, a world without
hate. And I can picture us attacking that world, because they'd
never expect it."  
- Jack Handey


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



xkb problem after the last lenny update

2008-05-11 Thread Alexandru Cardaniuc
Hi All!

After the last lenny update, everytime I restart end enter gnome a
window pops up:



Error activating XKB configuration.

It can happen under various circumstances:

- a bug in libxklavier library

- a bug in X server (xkbcomp, xmodmap utilities)

- X server with incompatible libxkbfile implementation

X server version data:
The X.Org Foundation
10400090

If you report this situation as a bug, please include:

- The result of xprop -root | grep XKB

- The result of gconftool-2 -R /desktop/gnome/peripherals/keyboard/kbd



Is that a known bug? How do I get rid of this message?

-- 
"Great things can be reduced to small things, and small things can be
reduced to nothing."  
- Chinese Proverb


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



Re: maxima 5.13 in lenny requires gnuplot-x11 to plot?

2008-05-02 Thread Alexandru Cardaniuc
Kamaraju S Kusumanchi <[EMAIL PROTECTED]> writes:

> Alexandru Cardaniuc wrote:
>
>> Hi All!
>> 
>> I installed maxima. It depends on gnuplot-nox, which is installed
>> too. When I try to plot something in maxima, I get:
>> 
>> (%i1) plot2d (exp(-u)*sin(u),[u,0,2*%pi]);
>> 
>> (%o1)
>> 
>> (%i2) Expected X11
>> 
>> driver: /usr/lib/gnuplot/gnuplot_x11 Exec failed: No such file or
>> 
>> directory See 'help x11' for more details Expected X11 driver:
>> 
>> /usr/lib/gnuplot/gnuplot_x11 Exec failed: No such file or directory
>> 
>> See 'help x11' for more details


> I created a chroot for sid which currently carries the same versions
> of maxima (5.13.0-3.1), gnuplot (4.2.2-1). I am able to reproduce this
> problem in that chroot. I think it is a bug in maxima. Please consider
> reporting it.

Just did!



-- 
"Those who do not learn from history are doomed to repeat its mistakes."  
- Unknown


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



Re: can't send a bugreport in emacs

2008-05-01 Thread Alexandru Cardaniuc
Sven Joachim <[EMAIL PROTECTED]> writes:

> On 2008-05-01 21:45 +0200, Alexandru Cardaniuc wrote:
>
>> Sven Joachim <[EMAIL PROTECTED]> writes:
>>
>>> On 2008-05-01 06:34 +0200, Alexandru Cardaniuc wrote:
>>>> Do I need to configure reportbug to be able to send bugreports? Or
>>>> something else?
>>
>>> Not reportbug, no. You might have to configure Emacs, though.
>> Well, sending it directly through reportbug failed too. That's what
>> I get:
>
> Note that M-x debian-bug only uses reportbug to gather package
> information and _not_ for actually mailing the report.
>
>> Report will be sent to "Debian Bug Tracking System"
>> <[EMAIL PROTECTED]>
>> Submit this report (e to edit) [Y|n|a|c|e|i|l|m|p|q|?]? Y
>> Connecting to bugs.debian.org via SMTP...
>> SMTP send failure: (110, 'Connection timed out')
>
> Are you behind a firewall that blocks outgoing connections on Port 25?
>
>> Are you sure I don't need to configure reportbug?

I use a linksys router/gateway to access internet. What should I check
there?


-- 
"I can picture in my mind a world without war, a world without
hate. And I can picture us attacking that world, because they'd
never expect it."  
- Jack Handey


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



Re: maxima 5.13 in lenny requires gnuplot-x11 to plot?

2008-05-01 Thread Alexandru Cardaniuc
Kamaraju S Kusumanchi <[EMAIL PROTECTED]> writes:

> Alexandru Cardaniuc wrote:
>
>> Hi All!
>> 
>> I installed maxima. It depends on gnuplot-nox, which is installed
>> too. When I try to plot something in maxima, I get:
>> 
>> (%i1) plot2d (exp(-u)*sin(u),[u,0,2*%pi]);
>> 
>> (%o1)
>> 
>> (%i2) Expected X11
>> 
>> driver: /usr/lib/gnuplot/gnuplot_x11 Exec failed: No such file or
>> 
>> directory See 'help x11' for more details Expected X11 driver:
>> 
>> /usr/lib/gnuplot/gnuplot_x11 Exec failed: No such file or directory
>> 
>> See 'help x11' for more details
>
> Maxima seems to work fine without gnuplot-x11 on Etch. The function is
> plotted in the "dumb" terminal. Here are the packages I have.
>
> $dpkg -l gnuplot\* maxima\* pn gnuplot  (no description
> available) pn gnuplot-doc  (no description available) ii
> gnuplot-nox 4.0.0-5 A command-line driven interactive plotting pn
> gnuplot-x11  (no description available) ii maxima 5.10.0-6 A
> computer algebra system -- base system ii maxima-doc 5.10.0-6 A
> computer algebra system -- documentation ii maxima-share 5.10.0-6 A
> computer algebra system -- extra code

Strange. Is here anybody else who uses lenny and maxima plots with
gnuplot-nox ?

-- 
"We are usually convinced more easily by reasons we have found
ourselves than by those which have occurred to others."  
- Blaise Pascal (1623-1662)


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



Re: can't send a bugreport in emacs

2008-05-01 Thread Alexandru Cardaniuc
Sven Joachim <[EMAIL PROTECTED]> writes:

> On 2008-05-01 06:34 +0200, Alexandru Cardaniuc wrote:
>
>> I am trying to send a bugreport in emacs through debian-bug. After
>> sending' the bug report, I receive the following message in my
>> mailbox.
>> From: Mail Delivery System <[EMAIL PROTECTED]> Subject: Mail
>> delivery failed: returning message to sender To: [EMAIL PROTECTED]
>> Date: Wed, 30 Apr 2008 21:28:42 -0700
>> This message was created automatically by mail delivery software.
>> A message that you sent could not be delivered to one or more of its
>> recipients. This is a permanent error. The following address(es)
>> failed:
>> [EMAIL PROTECTED] Mailing to remote domains not supported
>

>> Do I need to configure reportbug to be able to send bugreports? Or
>> something else?

> Not reportbug, no. You might have to configure Emacs, though.

Well, sending it directly through reportbug failed too. That's what I get:


Report will be sent to "Debian Bug Tracking System" <[EMAIL PROTECTED]>

Submit this report (e to edit) [Y|n|a|c|e|i|l|m|p|q|?]? Y

Connecting to bugs.debian.org via SMTP...

SMTP send failure: (110, 'Connection timed out')





Are you sure I don't need to configure reportbug?


-- 
"A journey of a thousand miles begins with a single step."  
- Ancient Proverb


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



maxima 5.13 in lenny requires gnuplot-x11 to plot?

2008-04-30 Thread Alexandru Cardaniuc
Hi All!

I installed maxima. It depends on gnuplot-nox, which is installed too.
When I try to plot something in maxima, I get:

(%i1) plot2d (exp(-u)*sin(u),[u,0,2*%pi]); 

(%o1) 

(%i2) Expected X11

driver: /usr/lib/gnuplot/gnuplot_x11 Exec failed: No such file or

directory See 'help x11' for more details Expected X11 driver:

/usr/lib/gnuplot/gnuplot_x11 Exec failed: No such file or directory

See 'help x11' for more details






Should maxima depend on gnuplot-x11 ?



-- 
"From a little distance one can perceive an order in what at the time
seemed confusion."  
- F. Scott Fitzgerald


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



can't send a bugreport in emacs

2008-04-30 Thread Alexandru Cardaniuc
Hi All!

I am trying to send a bugreport in emacs through debian-bug. After
'sending' the bug report, I receive the following message in my mailbox. 

From: Mail Delivery System <[EMAIL PROTECTED]>
Subject: Mail delivery failed: returning message to sender
To: [EMAIL PROTECTED]
Date: Wed, 30 Apr 2008 21:28:42 -0700

This message was created automatically by mail delivery software.

A message that you sent could not be delivered to one or more of its
recipients. This is a permanent error. The following address(es)
failed:

  [EMAIL PROTECTED] Mailing to remote domains not supported



Do I need to configure reportbug to be able to send bugreports? Or
something else?


I am using lenny. Emacs 22.1 Sending mail with gnus in emacs works...



-- 
"In language, clarity is everything."  
- Confucius


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



gcl symbol help

2008-02-25 Thread Alexandru Cardaniuc
Hi All!

I have gcl and gcl-doc installed. In gcl when I invoke (help) it says
"(HELP symbol) prints the online documentation associated with
the symbol. For example, (HELP 'CONS) will print the useful
information about the CONS function, the CONS data type, and so
on."

But when I type (help 'cons) I get:
CONS   [Function]
(not found "gcl.info")

How can I make it print the online info?


-- 
"Most writers regard the truth as their most valuable possession, and
therefore are most economical in its use."  
- Mark Twain (1835-1910)


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



reading email from gmail account with gnus in Emacs22

2007-11-03 Thread Alexandru Cardaniuc
Hi All!

Does anybody here use gnus from Emacs22 to read mail from gmail account?
I managed to make it work with Emacs21. Recently I tried Emacs22 and my
old config from Emacs21 doesn't work. I get some errors when fetching
from gmail with pop.

Did anybody here manage to make gnus in Emacs22 work with gmail? Any
hints on the configuration of .gnus ?

That's the setup that works fine for Emacs21 but doesn't work for
Emacs22:


---

(setq user-full-name "Alexandru Cardaniuc")
(setq user-mail-address "[EMAIL PROTECTED]")

;; using GNUS to send mail
(setq message-send-mail-function 'smtpmail-send-it)

(setq send-mail-function 'smtpmail-send-it)

;; use 'one file per mail' back end
(setq gnus-select-method '(nnml ""))
(setq gnus-secondary-select-methods nil)

;; tell Gnus how to fetch mail
(setq mail-sources '((file :path "/var/spool/mail/alexandru")
 (pop  :server "pop.gmail.com"
   :port 995
   :user "[EMAIL PROTECTED]"
   :connection ssl
   :password "secret"
   :leave t))) ; leave the mail on the server

(load-library "smtpmail")
(load-library "pop3")
(load-library "starttls")

;(setq pop3-debug t)

(setq smtpmail-local-domain nil)

;(setq smtpmail-debug-info t) ; only to debug problems

(setq smtpmail-auth-credentials '(("smtp.gmail.com" 25 "[EMAIL PROTECTED]" 
"secret")))
(setq smtpmail-starttls-credentials '(("smtp.gmail.com" 25 nil nil)))
(setq smtpmail-smtp-service "25")

--


-- 
"The only thing necessary for evil to flourish is for good men to do
nothing."  
- Edmund Burke


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



desktop wireless card with linux kernel driver support

2007-08-08 Thread Alexandru Cardaniuc
Hi!

I need a recommendation for a wireless pci or pci-x1 card with linux
support built in linux kernel in lenny. I know about intel or ralink
chipsets, but AFAIK their drivers are not included in linux kernel. I
want to be able to use the wireless card during debian installation with
the debian installer. I want to be able to install debian using wireless
card as the only means for accessing internet servers.


TIA...

-- 
"When I was a kid I used to pray every night for a new bicycle. Then I 
realised that the Lord doesn't work that way so I stole one and asked
Him to forgive me."  
- Emo Philips.


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



Asus P5B Deluxe or Asus P5B Deluxe/WiFi-AP

2007-06-27 Thread Alexandru Cardaniuc
Hi All!

I am thinking about assembling a new debian amd64 computer. With
recommendations on amd64 list I settled on a Core 2 Duo processor with
one of Asus P5B flavour motherboards.

The new box will be on the second floor and it needs to be connected to
the network on the first floor. Cables won't work. So, I need to use
wireless for that. Therefore I was thinking about ASUS P5B
Deluxe/WiFi-AP. Is wireless on this board going to work with debian
amd64 ? I tried googling but didn't find any information on that matter.
With google I found out, though, that the WiFi-AP on that board is based
on some Realtek RTL chipset, and to make it work I will probably need
ndiswrapper. Does anybody here have this board and uses the wireless on
it with Debian amd64 ? Does it work ? Does it work solely with
ndiswrapper ? Are there, then, 64bit drivers for it ? Or does it work
with linux without ndiswrapper ? Since I won't be able to connect to the
network with cables through ethernet, I want to be very sure that
wireless on that board will work well on debian amd64 ?

The other option is to go with ASUS P5B Deluxe that doesn't include the
WiFi-AP and buy an additional PCI or USB WiFi card. After reading some
recommendations on this list it seems that Ralink based WiFi is going to
work fine. Googling I found out about Ralink RT2501 PCI and Ralink
RT2501U USB that are said to be linux supported. Are there any
recommendations with what to go: USB or PCI ? Since I am going to use it
only on this new computer, I think I should settle for the PCI version.

Are these Ralink WiFi cards well supported under linux? Is the support
built into the stock debian linux kernel, or I will have to compile a
custom kernel to make the WiFi work ?

Are there any other WiFi cards I should consider that may work better
under linux ?


So, what is the recommended way to go: ASUS P5B Deluxe/WiFi-AP or ASUS
P5B Deluxe + WiFi card ?


One more question: I intend to use the new box with debian etch. Are
these motherboards going to work with linux kernel 2.6.18 ?


Any suggestions would be very appreciated...


-- 
"One machine can do the work of fifty ordinary men. No machine can do
the work of one extraordinary man."  
- Elbert Hubbard


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



Re: connecting HP Pavilion zv5260 to a tv

2007-05-25 Thread Alexandru Cardaniuc
"Andrew J. Barr" <[EMAIL PROTECTED]> writes:

> > I have a HP Pavilion zv5260 laptop. Today I got the HP XC1000 media
> >cable from ebay to solve the problem with power jack. The cable has
> >an s-video and my laptop's video card has a video-out.
 
> What kind of video hardware do you have?

Sony Plasma WEGA Flat Panel Color Television KZ-32TS1. That among other
supports s-video connection.

And NVIDIA GeForce 4 440 Go. The laptop has One Vga(15 pin) and One
TV-Out (S-video) external ports.

HP media cable XC1000 specifications:
--
# Docking Cable

# AC Power Jack

# RCA Jack

# USB 2.0 Port

# S-Video Jack

# S/PDIF

# Analog Audio Jack
--

More details here:
http://www.getpartsonline.com/pa925a.html?source=nextag&code=pa925a


Tell me if you need more information...

 
> > I'd like to connect this laptop to TV to be able to watch DVD's on a
> >bigger screen. How can I do this ? Do I need to edit xorg.conf ? Did
> >anybody do that ? With this cable ?
 
> > Any suggestions will be very welcome...

> > BTW, I am running Etch.

-- 
"If we really understand the problem, the answer will come out of it,
because the answer is not separate from the problem."  
- Krishnamurti


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



connecting HP Pavilion zv5260 to a tv

2007-05-25 Thread Alexandru Cardaniuc
Hi All!

I have a HP Pavilion zv5260 laptop. Today I got the HP XC1000 media
cable from ebay to solve the problem with power jack. The cable has an
s-video and my laptop's video card has a video-out.

I'd like to connect this laptop to TV to be able to watch DVD's on a
bigger screen. How can I do this ? Do I need to edit xorg.conf ? Did
anybody do that ? With this cable ?

Any suggestions will be very welcome...

TIA

BTW, I am running Etch.

-- 
"God created the integers; all the rest is the work of man." 
- Leopold Kronecker


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



getting a new Debian box

2007-05-18 Thread Alexandru Cardaniuc
Hi All!

I've been using Debian with my desktop replacement laptop HP Pavilion
zv5260 for about 2 years now. This was the only computer I had for about
2.5 years. I got tired of using the laptop constantly. I want something
more convenient with a bigger screen and that I can use more
comfortably.

So I decided to get a desktop. I need some advices.

I use computer primarily for reading/writing emails, browsing internet,
occasional openoffice.org use, watching movies on dvds or any mpeg
movies. Most other times I spend sitting in emacs writing some code. I
don't play computer games or use any 3D graphics applications.
So I figured, I don't need a very fast and expensive graphics card, a
lot of memory, the latest CPU or biggest HDD. This Desktop Computer is
going to be used primarily for writing and compiling my code.

So, my first question is: does it make sense to build my own Debian box,
or for my purposes it's not necessary? From what I checked on the
internet today some manufacturers offer prebuild computers for less
price than I think I will be able to build it using the same parts. Any
comments would be appreciated.

Also, I don't want hardware compatibility with linux to be an issue. I
still remember that it took me a while before I managed to make my
laptop work (with ndiswrapper for wireless, patches for touchpad and
stuff).

So, I found out that Dell offers Dimension n-series without preinstalled
Windows, specifically for customers of open source operating systems.
Dell claims that these computers should work with linux with no hardware
compatibility issues.

I am specifically interested in Dell Dimension n-series e521 model. It
seems to be a good choice for me. Good value and not expensive.
That's what I am thinking to get:


Dell Dimension E521N:   AMD Athlon 64 X2 Dual-Core 4000+

Operating System: FreeDOS included in the box, ready to install

Memory: 1GB Dual Channel DDR2 SDRAM at 667MHz- 2DIMMs

Keyboard and Mouse Bundles: Dell USB Keyboard and Dell Optical USB
Mouse

Monitor: 19 inch SP1908FP Silver Flat Panel Monitor w/TrueLife (Glossy
Screen)

Video Card: 256MB NVIDIA Geforce 7300LE TurboCache

Hard Drive: 250GB Serial ATA Hard Drive (7200RPM) w/DataBurst Cache

Floppy Drive and Media Reader:  No Floppy Drive Included

Network Interface:  Integrated 10/100 Ethernet

Modem: 56K PCI Data Fax Modem

CD ROM/DVD ROM: 16x DVD+/-RW Drive

Sound Cards:Integrated 7.1 Channel Audio

Speakers: Dell AS501 10W Flat Panel Attached Spkrs for UltraSharp Flat
Panels

Limited Warranty, Services and Support Options: 1Yr In-Home Service,
Parts + Labor - Next Business Day*

TOTAL:$689.00


Are there any other desktop computers I should consider buying instead
of this one? Is there any configuration part I should consider changing?
Should I upgrade to 2 GB of RAM ? 1GB seems to be enough for me, since I
am using now etch on my laptop with 512MB and I don't see any problems.
In general e521n seems to be enough for etch and everything I use, since
I am running a 2.5 year old laptop and I don't see any real performance
issues. But again, I am open to advices.

I googled e521n and debian and found out that there was a problem with
usb malfunction that froze mouse but that it was solved with the new
bios update released by Dell in January, 2007. I didn't find any other
issues. Everything else seems to work in Debian.

So if somebody here is using this model with Debian, please, provide
feedback. Do you have any issues? Something to be aware before bying it?
Any compatibility issues with Debian? I would prefer to install on it
Debian Stable (Etch) that goes with linux kernel 2.6.18
Will I be able to do that? Or I will need new kernel 2.6.20 from
unstable?

Thanks for help in advance...


-- 
"From a little distance one can perceive an order in what at the time
seemed confusion."  
- F. Scott Fitzgerald


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



emacs 21.4 and antialiasing

2005-11-07 Thread Alexandru Cardaniuc
Hi!

Did anybody here manage to make Emacs 21.4 use antialising with true
type fonts like Bitstream Vera Sans Mono? I can't make Emacs see
Bitstream fonts...

-- 
Registered Linux user number 402184. Get counted! http://counter.li.org


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



crossfire crashes

2005-11-06 Thread Alexandru Cardaniuc
Hi All!

I decided to give a try to crossfire. I installed crossfire-client and
crossfire-client-x11. Running $ cfclient opens a window and starts the
game but when I choose the server to connect to - it crashes with
errors:

$ cfclient

[  INFO  ] (Version::common) $Id: rcs-id.h,v 1.2 2004/01/30 22:03:37 ryo_saeba 
Exp $

[  INFO  ] (Version::common) $Id: client.c,v 1.26 2005/05/21 17:41:48 tchize 
Exp $

[  INFO  ] (Version::common) $Id: commands.c,v 1.30 2005/07/18 20:08:41 
akirschbaum Exp $

[  INFO  ] (Version::common) $Id: image.c,v 1.18 2005/03/27 20:51:24 
akirschbaum Exp $

[  INFO  ] (Version::common) $Id: init.c,v 1.22 2005/07/10 10:19:02 ryo_saeba 
Exp $

[  INFO  ] (Version::common) $Id: item.c,v 1.12 2005/06/04 20:56:21 mwedel Exp $

[  INFO  ] (Version::common) $Id: metaserver.c,v 1.15 2005/07/04 22:42:02 
mwedel Exp $

[  INFO  ] (Version::common) $Id: misc.c,v 1.10 2005/03/28 06:44:53 mwedel Exp $

[  INFO  ] (Version::common) $Id: newsocket.c,v 1.13 2005/02/05 23:31:31 
ryo_saeba Exp $

[  INFO  ] (Version::common) $Id: player.c,v 1.15 2005/02/10 07:03:36 mwedel 
Exp $

[  INFO  ] (Version::common) $Id: script.c,v 1.13 2005/07/18 20:10:17 
akirschbaum Exp $

[  INFO  ] (Version::x11   ) $Id: rcs-id.h,v 1.1 2004/01/30 18:43:35 tchize Exp 
$

[  INFO  ] (Version::x11   ) $Id: xutil.c,v 1.19 2005/03/27 20:51:25 
akirschbaum Exp $

[  INFO  ] (Version::x11   ) $Id: x11.c,v 1.30 2005/07/18 20:29:52 akirschbaum 
Exp $

[  INFO  ] (Version::x11   ) $Id: sound.c,v 1.5 2004/01/30 18:43:35 tchize Exp $

[  INFO  ] (Version::x11   ) $Id: png.c,v 1.14 2005/03/27 20:51:24 akirschbaum 
Exp $

[  INFO  ] (x11::init_keys) Could not open ~/.crossfire/keys, trying to load 
global bindings

[WARNING ] (x11::parse_keybind_line) could not convert keysym F28 into keycode, 
ignoring

[WARNING ] (x11::parse_keybind_line) could not convert keysym F34 into keycode, 
ignoring

[WARNING ] (x11::parse_keybind_line) could not convert keysym F30 into keycode, 
ignoring

[WARNING ] (x11::parse_keybind_line) could not convert keysym F32 into keycode, 
ignoring

[WARNING ] (x11::parse_keybind_line) could not convert keysym F27 into keycode, 
ignoring

[WARNING ] (x11::parse_keybind_line) could not convert keysym F29 into keycode, 
ignoring

[WARNING ] (x11::parse_keybind_line) could not convert keysym F31 into keycode, 
ignoring

[WARNING ] (x11::parse_keybind_line) could not convert keysym F33 into keycode, 
ignoring

[WARNING ] (x11::parse_keybind_line) could not convert keysym F35 into keycode, 
ignoring

[  INFO  ] (common::raiseChild) Raising /usr/games/cfsndserv with flags 7

[  INFO  ] (Child11250::/usr/games/cfsndserv::1) $Id: cfsndserv.c,v 1.7 
2005/02/14 05:42:01 mwedel Exp $

[  INFO  ] (Child11250::/usr/games/cfsndserv::1) cfsndserv compiled for OSS 
sound system

[  INFO  ] (Child11250::/usr/games/cfsndserv::2) Unable to open 
/home/alexandru/.crossfire/sounds - will use built in defaults

[  INFO  ] (common::VersionCmd) Playing on server type  Crossfire Server


[WARNING ] (common::SetupCmd) Server returned FALSE on setup command sexp

[  INFO  ] (commands.c) addme_success received.

libpng error: Invalid image width

libpng error: Invalid image width

libpng error: Invalid image width

libpng error: Invalid image width

libpng error: Invalid image width

libpng error: Invalid image width

BadValue (integer parameter out of range for operation)Aborted






I tried it on debian sid amd64. lipng10-0 and libpng12-0 are installed.


-- 
"The secret of getting ahead is getting started. The secret of getting
started is breaking your complex overwhelming tasks into small
manageable tasks, and then starting on the first one."  
- Mark Twain (1835-1910)


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



Re: PCMCIA Wireless Card startup problems under Debian Sid

2005-11-05 Thread Alexandru Cardaniuc
James Caldow <[EMAIL PROTECTED]> writes:

> >>Using a Sarge net-install disc I set about the install process again
> > Of course it is too late now, but: except for downgrades or totally
> >hosed systems, there is no need to reinstall. Upgrading to sid or
> >etch is as easy as adding the appropriate lines to your sources.list
> >and 'aptitude dist-upgrade'.
 
> If only it were that simple. I had been trying to avoid my original
> email becoming too long, but prior to installing in the manner
> described above I had tried to apt-get dist-upgrade two seperate
> machines from Sarge to Sid. 

The right way is to upgrade first from sarge to etch and then from etch
to sid. sarge -> etch -> sid. This is the recommended way. You can't
skip etch, if you do that - no wonder you encounter problems.

> In both cases it choked on things like udev, dpkg, etc. 

I did it several times already. Last time was yesterday and it went
flawlessly.

> I found plenty of info on workarounds for these issues by googling but
> they were all incredibly brute force workarounds to my way of thinking
> and I simply wanted to try installing the system cleanly using Sid
> sources from the start. 

That is strange. These upgrades should be pretty straightforward.
Another case is for downgrading that is not supported, but can be
performed using some "brutal force".

> As I said, I have installed various linux distributions over the
> years, and feel comfortable enough with the whole process that a clean
> install doesn't phase me too much.

Easy upgrade is one of the strengths of debian. It doesn't make sense
not to use it.



-- 
"We are all special cases."  
- Albert Camus 


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



Re: Solaris: The Most Advanced OS?

2005-11-05 Thread Alexandru Cardaniuc
Tshepang Lekhonkhobe <[EMAIL PROTECTED]> writes:

> Hello, Did you check the sun.com website which claims that Solaris 10
> is the most advanced OS on the planet? Could anyone tell me what
> grounds is the claim based upon. I was surprised to see that claim and
> has anyone out there used it to testify on its truthfullness? Are
> there many such claims? Thanks...


http://www.apple.com/macosx/

Mac OSX is the world's most advanced operating system too :)

 
 
 

-- 
"Progress might be a circle, rather than a straight line."  
- Eberhard Zeidler


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



Re: nautilus cd-burner

2005-11-04 Thread Alexandru Cardaniuc
James Strandboge <[EMAIL PROTECTED]> writes:

> > > gary <[EMAIL PROTECTED]> writes:
> > > 
> >
> > > Still, what about gnome cd-burner? Is there a way to make it work?
> >  As root do:
> > 
> > dpkg-reconfigure --plow cdrecord
> 
> Oops!
> 
> dpkg-reconfigure -plow cdrecord

Thanks!

BTW, dpkg-reconfigure normally shows low priority questions no matter
what your default priority is (man dpkg-reconfigure).

-- 
"Most writers regard the truth as their most valuable possession, and
therefore are most economical in its use."  
- Mark Twain (1835-1910)


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



Re: A page that causes Firefox (Sarge) to close

2005-11-04 Thread Alexandru Cardaniuc
James Caldow <[EMAIL PROTECTED]> writes:

> Hi James,
> 
> I am running on Debian Sid and the page you have indicated crashes my Firefox 
> as well. Very strange!
> 
> James Caldow
> 
> 
> 
> James Foster wrote:
> > Hello, I'm using the latest mozilla-firefox (1.0.4-2sarge5) on Debian 
> > Sarge, and whenever I attempt to visit a
> >particular page, I'm finding that it closes immediately. Can someone please 
> >confirm this behaviour? The page is:
> >http://www.movieweb.com/forums/viewtopic.php%3Ft%3D6036&e=9797 Thanks, James 
> >Foster .
> >

Actually, using firefox from debian amd64 sid, I experience crashes very
often on many sites. And I didn't have these problems with these sites
with earlier versions of firefox several months ago. I guess the firefox
is broken on sid amd64. Don't know about other architectures, though.

-- 
"Great things can be reduced to small things, and small things can be
reduced to nothing."  
- Chinese Proverb


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



Re: ide: failed opcode was: unknown

2005-11-03 Thread Alexandru Cardaniuc
James Vahn <[EMAIL PROTECTED]> writes:

> Alexandru Cardaniuc wrote:
> >Enabled Supported: * NOP cmd * READ BUFFER cmd * WRITE BUFFER
> >cmd * Host Protected Area feature set * Look-ahead Write cache *
> >Power Management feature set Security Mode feature set SMART feature
> >set
>  ^ Disabled. Turn SMART on in your
> BIOS and run the selftest via smartctl.
 
I installed smartmontools, set in /etc/default/smartmontools

enable_smart="/dev/hda" 

start_smartd=yes

I will try now to run 2 tests:

# smartctl -C -t short /dev/hda

# smartctl -C -t long /dev/hda

and later on will send the results.

But right now I already checked # smartctl -a /dev/hda

I attach smartctl.txt with the output.

smartctl version 5.34 [x86_64-unknown-linux-gnu] Copyright (C) 2002-5 Bruce 
Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model: TOSHIBA MK8025GAS
Serial Number:24580773A
Firmware Version: KA023A
User Capacity:80,026,361,856 bytes
Device is:Not in smartctl database [for details use: -P showall]
ATA Version is:   6
ATA Standard is:  Exact ATA specification draft version not indicated
Local Time is:Thu Nov  3 07:24:27 2005 PST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: FAILED!
Drive failure expected in less than 24 hours. SAVE ALL DATA.
See vendor-specific Attribute list for failed Attributes.

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status:  (  41) The self-test routine was interrupted
by the host with a hard or soft reset.
Total time to complete Offline 
data collection: ( 375) seconds.
Offline data collection
capabilities:(0x1b) SMART execute Offline immediate.
Auto Offline data collection on/off 
support.
Suspend Offline collection upon new
command.
Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
No Selective Self-test supported.
SMART capabilities:(0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability:(0x01) Error logging supported.
No General Purpose Logging support.
Short self-test routine 
recommended polling time:(   2) minutes.
Extended self-test routine
recommended polling time:(  75) minutes.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME  FLAG VALUE WORST THRESH TYPE  UPDATED  
WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate 0x000b   100   100   050Pre-fail  Always   
-   0
  2 Throughput_Performance  0x0005   100   100   050Pre-fail  Offline  
-   0
  3 Spin_Up_Time0x0027   100   100   001Pre-fail  Always   
-   1123
  4 Start_Stop_Count0x0032   100   100   000Old_age   Always   
-   736
  5 Reallocated_Sector_Ct   0x0033   001   001   050Pre-fail  Always   
FAILING_NOW 1023
  7 Seek_Error_Rate 0x000b   100   100   050Pre-fail  Always   
-   0
  8 Seek_Time_Performance   0x0005   100   100   050Pre-fail  Offline  
-   0
  9 Power_On_Hours  0x0032   087   087   000Old_age   Always   
-   5577
 10 Spin_Retry_Count0x0033   114   100   030Pre-fail  Always   
-   0
 12 Power_Cycle_Count   0x0032   100   100   000Old_age   Always   
-   671
192 Power-Off_Retract_Count 0x0032   100   100   000Old_age   Always   
-   68
193 Load_Cycle_Count0x0032   089   089   000Old_age   Always   
-   116388
194 Temperature_Celsius 0x0022   100   100   000Old_age   Always   
-   46 (Lifetime Min/Max 17/57)
196 Reallocated_Event_Count 0x0032   100   100   000Old_age   Always   
-   692
197 Current_Pending_Sector  0x0032   100   100   000Old_age   Always   
-   0
198 Offline_Uncorrectable   0x0030   100   100   000Old_age   Offline  
-   0
199 UDMA_CRC_Error_Count0x0032   200   200   000Old_age   Always   
-   11
220 Disk_Shift  0x0002   100   100   000Old_

Re: ide: failed opcode was: unknown

2005-11-03 Thread Alexandru Cardaniuc
James Vahn <[EMAIL PROTECTED]> writes:

> >Enabled Supported: * NOP cmd * READ BUFFER cmd * WRITE BUFFER
> >cmd * Host Protected Area feature set * Look-ahead Write cache *
> >Power Management feature set Security Mode feature set SMART feature
> >set
>  ^ Disabled. Turn SMART on in your
> BIOS and run the selftest via smartctl.

I can't turn it on in bios... There is no such option! It's a laptop -
hp pavilion zv5260.

I found a menu HDD SELF-test with 2 options, I tried them both.
1) Execute SHORT test. Estimated test time: 2 minutes.
Test status: PASSED.
2) Execute LONG test. Estimated test time: 75 minutes.
Test status: PASSED.

Both tests were successful and didn't result in any errors. 

My filesystem is ext3 (journalling).
/dev/hda1 - 2Gb - swap
/dev/hda2 - 7Gb - /
/dev/hda3 - 70Gb - /home

I decided to reinstall debian, installing ext3, because I thought may be
the file system was corrupted. But I didn't touch /dev/hda3, because I
had some files there that I didn't have time to backup. So I installed
debian from netinst cd image, formatting /dev/hda1 and /dev/hda2 again.
It installed without problems. Then I created a folder on /dev/hda2 and
copied my files from /dev/hda3 to this folder. Then I ran: 

# umount /dev/hda3 

# mke2fs -c -j -v /dev/hda3

It started creating the ext3 filesystem checking also for bad sectors
(-c switch) there and it proceeded up to around 10%. After that it
started giving the same opcode errors (uncorrectable) on each
consecutive sector. After 40 minutes of these errors I turned it off.
After I rebooted I tried:

# mke2fs -j -v /dev/hda3

without checking for bad sectors and it succeeded creating a filesystem.
But I don't think I should use it, though.

So what should I do now? And what do these errors mean? Are these errors
from the bad sectors? Then why mke2fs wasn't marking them ? Should I run
mke2fs with -c check and leave for night to finish checking for bad
sectors ? Or should I check it with another program 'badsectors'? I will
leave one of them working for night, so that they will have time to
finish and report the results in the morning...


/dev/hda2 - root filesystem works fine. From 7Gb I used already 6.5Gb
and I got no single error. The errors are only from /dev/hda3.

Is this hard drive dying? Or the problem can be solved? Should I start
browsing the internet for a new hard drive already?

-- 
"Most writers regard the truth as their most valuable possession, and
therefore are most economical in its use."  
- Mark Twain (1835-1910)


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



Re: ide: failed opcode was: unknown

2005-11-01 Thread Alexandru Cardaniuc
James Vahn <[EMAIL PROTECTED]> writes:

> >> Try turning the write-cache off: hdparm -W0 /dev/hda
> > 
> > Tried that and didn't see any difference... It's really annoying...
> 
> It was a stab in the dark. "hdparm /dev/hda", "hdparm -I /dev/hda".

# hdparm -I /dev/hda

/dev/hda:

ATA device, with non-removable media
Model Number:   TOSHIBA MK8025GAS
Serial Number:  24580773A
Firmware Revision:  KA023A
Standards:
Supported: 6 5 4 3
Likely used: 6
Configuration:
Logical max current
cylinders   16383   16383
heads   16  16
sectors/track   63  63
--
CHS current addressable sectors:   16514064
LBAuser addressable sectors:  156301488
device size with M = 1024*1024:   76319 MBytes
device size with M = 1000*1000:   80026 MBytes (80 GB)
Capabilities:
LBA, IORDY(can be disabled)
bytes avail on r/w long: 48 Queue depth: 1
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16  Current = ?
Advanced power management level: unknown setting (0x0080)
DMA: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 
*udma5
 Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
 Cycle time: no flow control=120ns  IORDY flow control=120ns
Commands/features:
Enabled Supported:
   *NOP cmd
   *READ BUFFER cmd
   *WRITE BUFFER cmd
   *Host Protected Area feature set
   *Look-ahead
Write cache
   *Power Management feature set
Security Mode feature set
SMART feature set
   *Mandatory FLUSH CACHE command
   *Device Configuration Overlay feature set
   *SET MAX security extension
   *Advanced Power Management feature set
   *SMART self-test
   *SMART error logging
Security:
Master password revision code = 65534
supported
not enabled
not locked
frozen
not expired: security count
not supported: enhanced erase
72min for SECURITY ERASE UNIT.
HW reset results:
CBLID- above Vih
Device num = 0 determined by CSEL
Checksum: correct


> You can test performance of any changes you make with "hdparm -tT
> /dev/hda". 

# hdparm -tT /dev/hda

/dev/hda:
 Timing cached reads:   2008 MB in  2.00 seconds = 1003.15 MB/sec
 Timing buffered disk reads:   14 MB in  3.00 seconds =   4.66 MB/sec

 

-- 
"Progress might be a circle, rather than a straight line."  
- Eberhard Zeidler


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



Re: nautilus cd-burner

2005-11-01 Thread Alexandru Cardaniuc
gary <[EMAIL PROTECTED]> writes:

> > > > I was trying to burn a CD-RW today with Nautilus CD-burner. But
> > > >I got an error writing to CD-RW.
> > > > 
> > > > Detailed error output from cdrecord:
> > > > 
> > > > cdrecord: Operation not permitted. Cannot send SCSI cmd via
> > > >ioctl SCSI buffer size: 64512 cdrecord: Warning: using inofficial
> > > >version of libscg (ubuntu-0.8ubuntu1 '@(#)scsitransp.c 1.91
> > > >04/06/17 Copyright 1988,1995,2000-2004 J. Schilling'). :
> > > >Operation not permitted Error: Cannot gain SYS_RAWIO
> > > >capability.Is cdrecord installed SUID root? Linux sg driver
> > > >version: 3.5.27 Warning: Open by 'devname' is unintentional and
> > > >not supported. scsibus: -2 target: -2 lun: -2 devname: '/dev/hdc'
> > > >scsidev: '/dev/hdc' cdrecord: WARNING: This causes a high risk
> > > >for buffer underruns. cdrecord: Permission denied. WARNING:
> > > >Cannot set priority using setpriority(). cdrecord: Operation not
> > > >permitted. WARNING: Cannot set RR-scheduler cdrecord: If you have
> > > >unexpected problems, please try Linux-2.4 or Solaris. cdrecord:
> > > >There are unsettled issues with Linux-2.5 and newer. cdrecord:
> > > >Warning: Running on Linux-2.6.12-1-amd64-k8 cdrecord: Continuing
> > > >in 5 seconds... cdrecord: Future versions of cdrecord may have
> > > >different drive dependent defaults. cdrecord: Asuming -tao mode.
> > > >cdrecord: No write mode specified.
> > > > 
> > > > 
> > > > I am running cd-burner as user of course, not as root. Do I have
> > > >to setup SUID root? If yes, then how? Can somebody give me some
> > > >pointers? A pointer to some docs?
> > > > 
> > > > gary wrote:
> > > Haven't seen anyone answer this today, so I thought I might
> > >interject a comment = I gave up on nautilus cd-burning and command
> > >line burning a couple of years ago after discovering k3b. I'd
> > >encourage anyone having problems with cd burning to give k3b a try.
> > >-- gary
> > 
> > 
> > I would try k3b, but AFAIK it depends on cdrdao. And cdrdao is not
> >in debian amd64 repositories. So I thought I would use something else
> >until cdrdao will be packaged...
> 
> Check this out - cdrdao - amd64 -- gary
> 
>http://lists.debian.org/debian-amd64/2005/06/msg00562.html (or
> alien + cdrdao.rpm)

Thanks! I will try!

Still, what about gnome cd-burner? Is there a way to make it work? 

-- 
"Great things can be reduced to small things, and small things can be
reduced to nothing."  
- Chinese Proverb


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



Re: ide: failed opcode was: unknown

2005-11-01 Thread Alexandru Cardaniuc
James Vahn <[EMAIL PROTECTED]> writes:

> No, probably not. You can install smartmontools to keep an eye on it
> though. 

I will give it a try :)

> Cheap electronics just cause problems and it sounds like you are
> suffering from one. :(

Cheap? It wasn't that cheap :) And I didn't buy it on a sale :) I bought
it from HP. It's hp pavilion zv5260.
 
> > I restarted laptop several times and I don't get these errors
> >anymore. But still it gets very slow sometimes and I am not doing
> >anything.
> 
> If you run dmesg, you'll probably see that it is resetting. The trick
> is to find out why, and it's going to be specific to your laptop.
> Chipset and harddrive -- the hardware. You can clear the dmesg buffer
> with "dmesg -c" to keep the clutter out.

$ dmesg

ide: failed opcode was: unknown
hda: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=14410238, 
sector=14410238

ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 14410238
hda: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=14410238, 
sector=14410238

ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 14410238
hda: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: task_in_intr: error=0x01 { AddrMarkNotFound }, LBAsect=14410238, 
sector=14410238

ide: failed opcode was: unknown
hda: irq timeout: status=0xd1 { Busy }

ide: failed opcode was: unknown
ide0: reset: success
hda: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=14410238, 
sector=14410238

ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 14410238
hda: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=14410238, 
sector=14410238

ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 14410238
hda: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: task_in_intr: error=0x01 { AddrMarkNotFound }, LBAsect=14410238, 
sector=14410238

ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 14410238
hda: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=14410238, 
sector=14410238

ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 14410238
hda: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: task_in_intr: error=0x01 { AddrMarkNotFound }, LBAsect=14410238, 
sector=14410238

ide: failed opcode was: unknown
hda: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: task_in_intr: error=0x01 { AddrMarkNotFound }, LBAsect=14410238, 
sector=14410238

ide: failed opcode was: unknown
hda: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: task_in_intr: error=0x01 { AddrMarkNotFound }, LBAsect=14410238, 
sector=14410238

ide: failed opcode was: unknown
hda: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=14410238, 
sector=14410238

ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 14410238
hda: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=14410238, 
sector=14410238

ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 14410238
hda: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: task_in_intr: error=0x01 { AddrMarkNotFound }, LBAsect=14410238, 
sector=14410238

ide: failed opcode was: unknown
hda: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=14410238, 
sector=14410238

ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 14410238
hda: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: task_in_intr: error=0x01 { AddrMarkNotFound }, LBAsect=14410238, 
sector=14410238

ide: failed opcode was: unknown
hda: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=14410238, 
sector=14410238

ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 14410238
hda: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=14410238, 
sector=14410238

ide: failed opcode was: unknown
end_request: I/O error, dev hda, sector 14410238
hda: task_in_intr: status=0x59 { DriveReady SeekComplete DataRequest Error }
hda: task_in_intr: error=0x40 { UncorrectableError }, LBAsect=14410238, 
sector=14410238

ide: failed opcode was: unknow

Re: nautilus cd-burner

2005-10-31 Thread Alexandru Cardaniuc
gary <[EMAIL PROTECTED]> writes:

> On Mon, 2005-10-31 at 07:57 -0800, Alexandru Cardaniuc wrote:
> > Hi All!
> > 
> > I was trying to burn a CD-RW today with Nautilus CD-burner. But I
> >got an error writing to CD-RW.
> > 
> > Detailed error output from cdrecord:
> > 
> > cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl
> >SCSI buffer size: 64512 cdrecord: Warning: using inofficial version
> >of libscg (ubuntu-0.8ubuntu1 '@(#)scsitransp.c 1.91 04/06/17
> >Copyright 1988,1995,2000-2004 J. Schilling'). : Operation not
> >permitted Error: Cannot gain SYS_RAWIO capability.Is cdrecord
> >installed SUID root? Linux sg driver version: 3.5.27 Warning: Open by
> >'devname' is unintentional and not supported. scsibus: -2 target: -2
> >lun: -2 devname: '/dev/hdc' scsidev: '/dev/hdc' cdrecord: WARNING:
> >This causes a high risk for buffer underruns. cdrecord: Permission
> >denied. WARNING: Cannot set priority using setpriority(). cdrecord:
> >Operation not permitted. WARNING: Cannot set RR-scheduler cdrecord:
> >If you have unexpected problems, please try Linux-2.4 or Solaris.
> >cdrecord: There are unsettled issues with Linux-2.5 and newer.
> >cdrecord: Warning: Running on Linux-2.6.12-1-amd64-k8 cdrecord:
> >Continuing in 5 seconds... cdrecord: Future versions of cdrecord may
> >have different drive dependent defaults. cdrecord: Asuming -tao mode.
> >cdrecord: No write mode specified.
> > 
> > 
> > I am running cd-burner as user of course, not as root. Do I have to
> >setup SUID root? If yes, then how? Can somebody give me some
> >pointers? A pointer to some docs?
> > 
> > 
> Haven't seen anyone answer this today, so I thought I might interject
> a comment = I gave up on nautilus cd-burning and command line burning
> a couple of years ago after discovering k3b. I'd encourage anyone
> having problems with cd burning to give k3b a try. -- gary


I would try k3b, but AFAIK it depends on cdrdao. And cdrdao is not in
debian amd64 repositories. So I thought I would use something else until
cdrdao will be packaged...




-- 
"The secret of getting ahead is getting started. The secret of getting
started is breaking your complex overwhelming tasks into small
manageable tasks, and then starting on the first one."  
- Mark Twain (1835-1910)


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



nautilus cd-burner

2005-10-31 Thread Alexandru Cardaniuc
Hi All!

I was trying to burn a CD-RW today with Nautilus CD-burner. But I got an
error writing to CD-RW.

Detailed error output from cdrecord:

cdrecord: Operation not permitted. Cannot send SCSI cmd via ioctl
SCSI buffer size: 64512
cdrecord: Warning: using inofficial version of libscg (ubuntu-0.8ubuntu1 
'@(#)scsitransp.c  1.91 04/06/17 Copyright 1988,1995,2000-2004 J. 
Schilling').
: Operation not permitted
Error: Cannot gain SYS_RAWIO capability.Is cdrecord installed SUID root?
Linux sg driver version: 3.5.27
Warning: Open by 'devname' is unintentional and not supported.
scsibus: -2 target: -2 lun: -2
devname: '/dev/hdc'
scsidev: '/dev/hdc'
cdrecord: WARNING: This causes a high risk for buffer underruns.
cdrecord: Permission denied. WARNING: Cannot set priority using setpriority().
cdrecord: Operation not permitted. WARNING: Cannot set RR-scheduler
cdrecord: If you have unexpected problems, please try Linux-2.4 or Solaris.
cdrecord: There are unsettled issues with Linux-2.5 and newer.
cdrecord: Warning: Running on Linux-2.6.12-1-amd64-k8
cdrecord: Continuing in 5 seconds...
cdrecord: Future versions of cdrecord may have different drive dependent 
defaults.
cdrecord: Asuming -tao mode.
cdrecord: No write mode specified.


I am running cd-burner as user of course, not as root. Do I have to
setup SUID root? If yes, then how? Can somebody give me some pointers?
A pointer to some docs?


Running debian stock kernel 2.6.12 on debian amd64 sid.

-- 
"I am not young enough to know everything."  

Oscar Wilde


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



Re: ide: failed opcode was: unknown

2005-10-31 Thread Alexandru Cardaniuc
James Vahn <[EMAIL PROTECTED]> writes:

> Alexandru Cardaniuc wrote:
> > hda: irq timeout: status=0xd0 {Busy} ide: failed opcode
> >was: unknown ide0: reset: success

> > What does that mean and how can I solve this problem?
 
> That's what you get when you buy things on sale... ;-) 

You mean the harddrive is dying?

I restarted laptop several times and I don't get these errors anymore.
But still it gets very slow sometimes and I am not doing anything.
System monitor though shows 100% cpu usage, but when I open it to look
what programs use it - it opens very very slow, but when it's opened, it
shows the same programs using several percent of the cpu.

> Try turning the write-cache off: hdparm -W0 /dev/hda

Tried that and didn't see any difference...

It's really annoying...

-- 
"Progress might be a circle, rather than a straight line."  

Eberhard Zeidler


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



ide: failed opcode was: unknown

2005-10-30 Thread Alexandru Cardaniuc
Hi All!

Yesterday I tried to make Emacs 21.4 use antialiased ttf fonts. So I
installed xfstt (ttf font server) and many ttf fonts for different
languages. After that the hardrive started working very very slow. So
the whole system now is very slow, though there is enough memory, cpu
usage is very low and I don't run any big applications. Just firefox,
gaim and file manager. I tried to remove xfstt and all the fonts I
installed yesterday, but that didn't help.
I went to console to use some programs and that is what it gives me when
I start programs:

hda: irq timeout: status=0xd0 {Busy}

ide: failed opcode was: unknown
ide0: reset: success

What does that mean and how can I solve this problem?


$ df -h

FilesystemSize  Used Avail Use% Mounted on
/dev/hda2 7.4G  3.1G  4.0G  44% /
/dev/hda3  65G   57G  4.5G  93% /home
tmpfs 248M 0  248M   0% /dev/shm
tmpfs  10M   92K   10M   1% /dev

$ top

top - 19:08:06 up 12:05,  4 users,  load average: 0.27, 1.08, 1.71
Tasks:  93 total,   2 running,  91 sleeping,   0 stopped,   0 zombie
Cpu(s):  4.3% us,  1.6% sy,  0.0% ni, 70.1% id, 23.3% wa,  0.2% hi,  0.4% si
Mem:507000k total,   495444k used,11556k free, 8528k buffers
Swap:  1951856k total,   92k used,  1951764k free,   148360k cached

  PID USER  PR  NI  VIRT  RES  SHR S %CPU %MEMTIME+  COMMAND   
 6220 alexandr  15   0  145m  58m  17m S  3.9 11.9  28:02.61 amule 
 7529 alexandr  15   0 10540 1208  872 R  2.0  0.2   0:00.01 top   
1 root  16   0  6032  700  572 S  0.0  0.1   0:00.13 init  
2 root  34  19 000 S  0.0  0.0   0:00.05 ksoftirqd/0   
3 root  10  -5 000 S  0.0  0.0   0:00.24 events/0  
4 root  13  -5 000 S  0.0  0.0   0:00.00 khelper   
5 root  10  -5 000 S  0.0  0.0   0:00.00 kthread   
7 root  10  -5 000 S  0.0  0.0   0:00.05 kacpid
  116 root  10  -5 000 S  0.0  0.0   0:00.15 kblockd/0 
  119 root  15   0 000 S  0.0  0.0   0:00.00 khubd 
  155 root  15   0 000 S  0.0  0.0   0:00.22 pdflush   
  157 root  11  -5 000 S  0.0  0.0   0:00.00 aio/0 
  156 root  15   0 000 S  0.0  0.0   0:02.57 kswapd0   
  742 root  15   0 000 S  0.0  0.0   0:00.04 kseriod   
  995 root  15   0 000 S  0.0  0.0   0:00.39 kjournald 
 1056 root  11  -4  6032  760  520 S  0.0  0.1   0:00.91 udevd 
 3863 root  20   0 000 S  0.0  0.0   0:00.00 shpchpd_event 


-- 
Sincerely yours,
Alexandru Cardaniuc


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



Re: set custom font in Emacs

2005-10-30 Thread Alexandru Cardaniuc
Marc Wilson <[EMAIL PROTECTED]> writes:

> On Thu, Oct 06, 2005 at 09:41:45PM -0700, Alexandru Cardaniuc wrote:
> 
> 
> 
> Emacs only cares about core fonts. Your installation of Vera Sans Mono
> isn't one. Therefore, Emacs can't see it.
> 
> Solution... since even a GTK2 emacs doesn't use anything but core
> fonts in editing windows (although it uses Pango for menus and such),
> you need to make Vera Sans Mono available as a core font. Then the
> XLFD you specified will actually work.

And how can I do that?

-- 
Sincerely yours,
Alexandru Cardaniuc


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



fail to load Gnome

2005-10-18 Thread Alexandru Cardaniuc
Hi All!

Just did # apt-get update # apt-get upgrade

After restart can't log in load Gnome.

"Your session only lasted less than 10 seconds. If you have not logged
out yourself, this could mean that there is some installation problem
or that you may be out of diskspace. Try logging in with one of the
failsafe sessions to see if you can fix this problem."

-
~/.xsessions-errors:

/etc/gdm/PreSession/Default: Registering your session with wtmp and
utmp /etc/gdm/PreSession/Default: running: /usr/bin/X11/sessreg -a -w
/var/log/wtmp -u /var/run/utmp -x "/var/lib/gdm/:0.Xservers" -h "" -l
":0" "alexandru" /etc/gdm/Xsession: Beginning session setup...
-

Logged in through 'Failsafe Gnome' and everything worked fine. I am
not out of disk space - I have more than 3Gb free. The only visible
difference in 'Failsafe Gnome session' as compared to normal Gnome
session is that GAIM doesn't start automatically upon logon.

After that when I try to login Gnome session, I get the same error
again.

Tried
# dpkg-reconfigure gdm
but that didn't help...

tried also
# apt-get --reinstall install gdm
that didn't help either...

running debian sid amd64 with linux stack kernel 2.6.12


-- 
Sincerely yours,
Alexandru Cardaniuc


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



sticky notes in Gnome 2.10

2005-10-07 Thread Alexandru Cardaniuc
Hi All!

Is it possible to make sticky notes stay behind the open windows, like
part of the background?

-- 
Sincerely yours,
Alexandru Cardaniuc


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



make apt-get install suggested packages automatically

2005-10-06 Thread Alexandru Cardaniuc
Hi All!

Is it possible to make apt-get install not only the packages that the
package depends on but also suggested packages automatically as aptitude
does?

man apt-get, apt-conf didn't help...


-- 
Sincerely yours,
Alexandru Cardaniuc


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



set custom font in Emacs

2005-10-06 Thread Alexandru Cardaniuc
Hi All!

Before using Emacs on MS Windows XP I was able to choose my favourite
non-proportional font for Emacs to use inserting this in my ~/.emacs

;(set-default-font 
; "-outline-Bitstream Vera Sans 
Mono-normal-r-normal-normal-13-97-96-96-c-*-iso8859-1")


After switching to Linux I am not able to do that anymore. When I insert
this line in ~/.emacs - Emacs gives an error on startup and starts with
the default font. 

Moreover, when I press  +  to get the fonts -
I don't see Bitstream Vera Sans Mono there as an

When I run set-frame-font function - I get only the following options:

-bitstream-charter-bold-i-normal--10-100-75-75-p-62-iso8859-1
-bitstream-charter-bold-i-normal--11-80-100-100-p-68-iso8859-1
-bitstream-charter-bold-i-normal--12-120-75-75-p-74-iso8859-1
-bitstream-charter-bold-i-normal--14-100-100-100-p-86-iso8859-1
-bitstream-charter-bold-i-normal--15-140-75-75-p-93-iso8859-1
-bitstream-charter-bold-i-normal--17-120-100-100-p-105-iso8859-1
-bitstream-charter-bold-i-normal--19-140-100-100-p-117-iso8859-1
-bitstream-charter-bold-i-normal--19-180-75-75-p-117-iso8859-1
-bitstream-charter-bold-i-normal--25-180-100-100-p-154-iso8859-1
-bitstream-charter-bold-i-normal--25-240-75-75-p-154-iso8859-1
-bitstream-charter-bold-i-normal--33-240-100-100-p-203-iso8859-1
-bitstream-charter-bold-i-normal--8-80-75-75-p-50-iso8859-1
-bitstream-charter-bold-r-normal--10-100-75-75-p-63-iso8859-1
-bitstream-charter-bold-r-normal--11-80-100-100-p-69-iso8859-1
-bitstream-charter-bold-r-normal--12-120-75-75-p-75-iso8859-1
-bitstream-charter-bold-r-normal--14-100-100-100-p-88-iso8859-1
-bitstream-charter-bold-r-normal--15-140-75-75-p-94-iso8859-1
-bitstream-charter-bold-r-normal--17-120-100-100-p-107-iso8859-1
-bitstream-charter-bold-r-normal--19-140-100-100-p-119-iso8859-1
-bitstream-charter-bold-r-normal--19-180-75-75-p-119-iso8859-1
-bitstream-charter-bold-r-normal--25-180-100-100-p-157-iso8859-1
-bitstream-charter-bold-r-normal--25-240-75-75-p-157-iso8859-1
-bitstream-charter-bold-r-normal--33-240-100-100-p-206-iso8859-1
-bitstream-charter-bold-r-normal--8-80-75-75-p-50-iso8859-1
-bitstream-charter-medium-i-normal--10-100-75-75-p-55-iso8859-1
-bitstream-charter-medium-i-normal--11-80-100-100-p-60-iso8859-1
-bitstream-charter-medium-i-normal--12-120-75-75-p-65-iso8859-1
-bitstream-charter-medium-i-normal--14-100-100-100-p-76-iso8859-1
-bitstream-charter-medium-i-normal--15-140-75-75-p-82-iso8859-1
-bitstream-charter-medium-i-normal--17-120-100-100-p-92-iso8859-1
-bitstream-charter-medium-i-normal--19-140-100-100-p-103-iso8859-1
-bitstream-charter-medium-i-normal--19-180-75-75-p-103-iso8859-1
-bitstream-charter-medium-i-normal--25-180-100-100-p-136-iso8859-1
-bitstream-charter-medium-i-normal--25-240-75-75-p-136-iso8859-1
-bitstream-charter-medium-i-normal--33-240-100-100-p-179-iso8859-1
-bitstream-charter-medium-i-normal--8-80-75-75-p-44-iso8859-1
-bitstream-charter-medium-r-normal--10-100-75-75-p-56-iso8859-1
-bitstream-charter-medium-r-normal--11-80-100-100-p-61-iso8859-1
-bitstream-charter-medium-r-normal--12-120-75-75-p-67-iso8859-1
-bitstream-charter-medium-r-normal--14-100-100-100-p-78-iso8859-1
-bitstream-charter-medium-r-normal--15-140-75-75-p-84-iso8859-1
-bitstream-charter-medium-r-normal--17-120-100-100-p-95-iso8859-1
-bitstream-charter-medium-r-normal--19-140-100-100-p-106-iso8859-1
-bitstream-charter-medium-r-normal--19-180-75-75-p-106-iso8859-1
-bitstream-charter-medium-r-normal--25-180-100-100-p-139-iso8859-1
-bitstream-charter-medium-r-normal--25-240-75-75-p-139-iso8859-1
-bitstream-charter-medium-r-normal--33-240-100-100-p-183-iso8859-1
-bitstream-charter-medium-r-normal--8-80-75-75-p-45-iso8859-1
-bitstream-terminal-bold-r-normal--18-140-100-100-c-110-dec-dectech
-bitstream-terminal-bold-r-normal--18-140-100-100-c-110-iso8859-1
-bitstream-terminal-medium-r-normal--18-140-100-100-c-110-dec-dectech
-bitstream-terminal-medium-r-normal--18-140-100-100-c-110-iso8859-1

There is no Bitstream Vera Sans Mono among these Bitstream fonts.
Although I know that I have it on my system. I am able to choose it in
Gnome. In Desktop -> Preferences -> Font. I can choose that font there
as an application font and most applications will use it, but not Emacs.
So I guess somewhere I have to configure something.

Any help will be greatly appreciated...


using Debian Sid amd64

-- 
Sincerely yours,
Alexandru Cardaniuc


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



Re: unstable update today

2005-07-11 Thread Alexandru Cardaniuc
Chris Wilson <[EMAIL PROTECTED]> writes:

> Thomas Hood wrote:
> > "Merijn Schering (Intermesh)" <[EMAIL PROTECTED]> writes:

> >>> The new udev package removed a lot of /dev/* links. My mouse and
> >>>sound card stopped working because all the dev symlinks were gone.
> > Downgrade udev to the testing version. The new udev only works with
> >kernels 2.6.12 or higher.

> Is 2.6.12 currently available in unstable? I couldn't find a
> kernel-image for it.

Not yet.

-- 
Sincerely yours,
Alexandru Cardaniuc


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