Soft RAID1 and SATA - Hardware failure test - I power off disk and system freezes

2005-12-15 Thread Jan Stavel

Hello,
I installed debian 3.1 on server:

vendor_id   : AuthenticAMD
cpu family  : 15
model   : 47
model name  : AMD Athlon(tm) 64 Processor 3500+
stepping: 2
cpu MHz : 2199.844

with ViaPro chipset and SATA disks

  VIA Technologies, Inc. VT8237 PCI bridge [K8T800 South]
  Realtek Semiconductor Co., Ltd. RTL-8169 Gigabit Ethernet (rev 10)
  VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
  Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
  VIA Technologies, Inc. VT8237 ISA bridge [K8T800 South]

I switched off raid in Bios and installed Software Raid:

  Personalities : [raid0] [raid1] [raid5]
  md0 : active raid1 sdb1[1] sda1[0]
497856 blocks [2/2] [UU]

  md2 : active raid1 sda3[0] sdb3[1]
4417792 blocks [2/2] [UU]

  md1 : active raid1 sdb2[1] sda2[0]
112302272 blocks [2/2] [UU]

  unused devices: none

If I do software failure it works well:

  mdadm /dev/md0 -f /dev/sda1
  mdadm: set /dev/sda1 faulty in /dev/md0

  md0 : active raid1 sdb1[1] sda1[2](F)
497856 blocks [2/1] [_U]


But if I try to power off a disk (unplug the power cable) the system 
freezes. I cannot read /proc/mdstat. The only way to get the system 
running is to do restart.


Do I do something wrong when trying hardware fauilure?

Thanks,
Jan Stavel


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




Re: Athlon AMD 64 3000+

2005-12-15 Thread Jan Stavel

Aaron Stromas wrote:

Greetings,

Which Debian image should I install for AMD Athlon 64 system? TIA,

-a




Hello,
pretty good howto you would appreciate to read:

https://alioth.debian.org/docman/view.php/30192/21/debian-amd64-howto.html

Regards,
Jan Stavel


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




Solved: Soft RAID1 and SATA - Hardware failure test - I power off disk and system freezes - thanks

2005-12-15 Thread Jan Stavel

Mario 'BitKoenig' Holbe wrote:

Jan Stavel [EMAIL PROTECTED] wrote:


  VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)


...

But if I try to power off a disk (unplug the power cable) the system 
freezes. I cannot read /proc/mdstat. The only way to get the system 



Well, do your disks, your controller and your driver support SATA
Hotplug? If one of them does not, don't wonder about system freezes :)




Thanks for your answer. It is new knowledge for me.

My motherboard does not support SATA Hotplug.


regards
   Mario


regards
Jan Stavel


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




Etherboot + grub + dhcp3 for diskless

2003-06-05 Thread stavel
Hello,

I have this problem with booting over network:

client PC:
NIC: OvisLink 8139ATX
EtherBoot 5.0.4

server: 2.4.19
tftp server: atftp
dhcpdhcp3
nfs

When booting from NIC this happended:
loaded EtherBoot 5.0.4 ...
got IP from DHCP (192.168.0.249)
tried to load /tftfboot/nbgrub 
it starts to write dots and dots ...

I propably can't make grub to load menu.lst.
NOTE: /tftpboot/menu.lstexists with rwx-r-r
   /tftpboot/nbgroubexists too   rwx-r-r

atftp server logs:
 Jun  4 09:47:09 rih in.tftpd[9358]: connect from 192.168.0.249
 Jun  4 09:47:09 rih tftpd[9358]: Trivial FTP server started (0.7cvs)
 Jun  4 09:47:09 rih tftpd[9360]: Serving /tftpboot/nbgrub to 192.168.0.249: 
2001 
 Jun  4 09:47:19 rih tftpd[9360]: timeout: retrying...
 Jun  4 09:47:29 rih tftpd[9360]: timeout: retrying... 
 Jun  4 09:47:39 rih tftpd[9360]: timeout: retrying...


Configuration of dhcp3.conf:

...
 option grub-config code 150 = text;
... 
 
 host instalace {
   hardware ethernet 00:4F:4E:04:11:20;
   fixed-address 192.168.0.249;
   option grub-config (nd)/tftpboot/menu.lst;
   filename /tftpboot/nbgrub;
  }
...


I have tried to boot Etherboot 5.0.10 from a floppy ... with the same result.
I  loaded nbgrub with tftp client after booting knoppix on the same client PC.

I tried to specify:
option grub-config (nd)/192.168.0.36/tftpboot/menu.lst;
 ...no success


How to check the options dhcp server gives?



   Regards,
-- 
  Jan Stavl 


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



Cups: Why job becomes completed when printer is switched off?

2003-04-04 Thread stavel
Hi,

The printer is not running.
I will send a job to printserver.

The state of the job will be completed immediately.

Because of that I can't remove the jobs not printed yet.
Because of that I can't recognize the jobs not printed yet.

Thanks,
-- 
  Jan Stavel 


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



Re: [OT] Backup solutions

2003-03-21 Thread stavel
Hi Bob,
 Bob == Bob Paige [EMAIL PROTECTED] writes:

Bob Opinions?

I tried rdiff-backup.
I uses rsync-like transfer method to minimize net load and diff-like store method to 
save
incrementals. Diff method is extended even for binary file (that is rdiff algorithm).

The program creates file tree with one special directory. There are stored
reverse increments in the directory.

The advantage is that the tree contents of the newest file, older ones are
stored in reverse increments.

So I have server with partition /var/backup.
Mostly it is mounted as read-only.

Rdiff-backup can backup remote server by ssh:
rdiff-backup remote-pc::/etc  /var/backup/network/remote-pc/etc
... it uses ssh when possible

If you want to clean older increments you can do:
rdiff-backup --remove-older-than 60D  /var/backup/network/remote-pc
The only reason to clear increments could be disk capacity :-)

 
NOTE:
If you can backup remote servers you have to use the same version of
the program.

There were choke  some incompatibilities up in version 0.10


 Enjoy doing backups  :-)
-- 
  Jan Stavl 


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



Re: [OT] Backup solutions - rdiff

2003-03-21 Thread stavel
Hi Alvin,
 Alvin == Alvin Oga [EMAIL PROTECTED] writes:

Alvin yes.. rdiff sounds like a good thing to do..  - make a 1
Alvin line change and only save that one line diff changes

Alvin - but if one creates a 10MB.file and 100MB.file and
Alvin 1GB.file...  - thhose 10MB files have to be saved daily ...
Alvin ( guess no different thant he current daily incrementals

:-)

Even you would use amanda you don't save disk space :-)

rdiff-backup technology saves disk space and net load but not
cpu on servers  (python) :-)

Alvin  - problem is we cannot reset the special directory
Alvin to now also include the new 10MB.file ... and want to only
Alvin save the new changes of the 10MB.file

I didn't understand it. Each new 10MB file is a change. And it is
authomaticaly stored in 'special directory' when do new backup.

Alvin  - if we do recreate a new special directory, than
Alvin the previous set of diff changes are lost ?? since those
Alvin diffs was applied to a different master special directory
Alvin ??

What is recreate a new 'special directory'?

If you delete this spec dir, you can't  recreate  backup.
This is dangerous to delete enything in stored tree since
reverse increments upon on it :-(

Because of that I have partition, the backups are stored in,
read-only.

Alvin sounds like a fun problem to solve ??

:-)
-- 
  Jan Stavl 


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



mozilla/unstable doesn't want to work with j2re1.4 ?

2003-03-19 Thread stavel

I have installed j2re1.4 from blackdown mirror.

ii  mozilla1.3-2Mozilla Web Browser - dummy package
ii  j2re1.41.4.0.99beta-1Blackdown Java(TM) 2 Runtime Environment, St


[EMAIL PROTECTED] ls /usr/lib/mozilla/plugins/ -al
drwxr-xr-x2 root root 4096 2003-03-19 15:11 .
drwxr-xr-x8 root root 4096 2003-03-19 11:19 ..
lrwxrwxrwx1 root root   44 2003-03-10 08:21 flashplayer.xpt - 
/usr/lib/flashplugin-nonfree/flashplayer.xpt
lrwxrwxrwx1 root root   35 2003-03-19 15:01 javaplugin_oji.so - 
/etc/alternatives/javaplugin_oji.so
lrwxrwxrwx1 root root   46 2003-03-10 08:21 libflashplayer.so - 
/usr/lib/flashplugin-nonfree/libflashplayer.so
-rw-r--r--1 root root18480 2003-03-17 22:33 libnullplugin.so


alternatives look like:

[EMAIL PROTECTED] ls -al /etc/alternatives/java*
lrwxrwxrwx1 root root   26 2003-03-19 15:01 /etc/alternatives/java - 
/usr/lib/j2se/1.4/bin/java
lrwxrwxrwx1 root root   59 2003-03-19 15:01 
/etc/alternatives/javaplugin_oji-mozilla-cvs.so - 
/usr/lib/j2se/1.4/jre/plugin/i386/mozilla/javaplugin_oji.so
lrwxrwxrwx1 root root   59 2003-03-19 15:01 
/etc/alternatives/javaplugin_oji.so - 
/usr/lib/j2se/1.4/jre/plugin/i386/mozilla/javaplugin_oji.so
lrwxrwxrwx1 root root   57 2003-03-19 15:01 
/etc/alternatives/javaplugin.so - 
/usr/lib/j2se/1.4/jre/plugin/i386/netscape4/javaplugin.so
lrwxrwxrwx1 root root   36 2003-03-19 15:01 
/etc/alternatives/java.1.gz - /usr/share/man/man1/java.j2se14.1.gz


But mozilla doesn't list java plugins when openning url about:plugins.

Have I forgetten something to do?


 ;-)
-- 
  Jan Stavl 


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



Re: Partition Magic-like S/W for Knoppix/Debian

2003-03-07 Thread stavel
Hi Abdul
 Abdul == Abdul Latip [EMAIL PROTECTED] writes:

Abdul Second, I am wondering if there exists a PARTITION
Abdul MAGIC-like software in Debian (better than fips?).  How
Abdul easy is it to split a VFAT/ You-Know-What-Os partition on
Abdul the fly.

parted knows is able everything Partitiion Magic does. 
Except ntfs :-(

Partition Magic is the only resize program that is able to
work with ntfs, I think.

:-)
-- 
  Jan Stavel


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



DVD-ROM looks like /dev/scd0 even /dev/scd1, /dev/scd2

2003-03-04 Thread stavel

-- 
  Jan Stavl 


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



adduser wants root passwd though I am root

2003-03-04 Thread stavel

I am root and want create new user ...

$ whoami
$ root
$ adduser test
$ Password:

Once I have inserted root password it passed through it and added new user.

Is it normal?

Is it behaviour for increasing security or the PC is hacked?

How do I turn off this behaviour?

:-)
-- 
  Jan Stavel 


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



old monitor and brightness for X

2003-02-27 Thread stavel
Hi,

I would like to encrease brightness of old monitor. 
I can't already do this by monitor stuffs.

Is it possible to encrease this by any software?

Does anyone know some program for X to manage this?

My friend told me that he does this by xine (??).

:-)
-- 
  Jan Stavel 


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



Re: How to systemwide change MAIL=/var/mail/username to /home/username/Maildir

2003-02-26 Thread stavel
Hi Felix,
 Felix == Felix Erkinger [EMAIL PROTECTED] writes:

Felix I'm currently wondering, why my system is constantly
Felix ignoring any attempt in /etc/login.defs to change the mail
Felix Variable to Maildir style.

I suppose you use qmail and qmail-lspawn to local delivery.

You have more ways:

1) check out your /etc/init.d/qmail
You can set default delivery method here as a parameter for
qmail-lspawn

or
2) echo ./Maildir/  /var/qmail/alias/.qmail-default

or  
3) echo ./Maildir/  /home/you/.qmail


NOTE: for reading Maildir I use mutt. But it needs both variables to be set:

MAIL=~/.Maildir
MAILDIR=~/.Maildir

:-)
-- 
  Jan Stavel 


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



Re: Java VM

2003-02-26 Thread stavel
Hi Bill,
 Bill == Bill Moseley [EMAIL PROTECTED] writes:

Bill What's needed for Java VM support for mozilla and Galeon?
Bill I know nothing of the Java world, so I'm confused about what
Bill is required.  I see pointers to Blackdown and Kaffe and
Bill SableVM -- so I'm not sure what is needed.

deb ftp://ftp.mirror.ac.uk/sites/ftp.blackdown.org/java-linux/debian/ unstable main 
non-free

update and install j2re1.4

The post-install script does everything for you.

NOTE:
You can check out the active plugins for mozilla if you go to url:
about:plugins

It will list all active plugins. Jre should be there too.

:-)
-- 
  Jan Stavel 


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



Re: Nvidia kernel not autoloading

2003-02-26 Thread stavel
Hi Harvey,
 Harvey == Harvey Kelly [EMAIL PROTECTED] writes:

Harvey Hi everyone, Oh dear.  A repartition, a reinstall of
Harvey Woody, and...

Harvey Maybe I'm missing something, but upon booting-up,
Harvey NVIDIA-kernel doesn't auto-install, and I have to su and
Harvey cd ./NVIDIA_k* and then make install every time.  There's
Harvey no problem with the NVIDIA_GLX though.

There may not be aliases in /etc/modutils/{aliases,*}

alias char-major-195NVdriver ... ver 13..
#alias char-major-195   nvidia   ... new version of NVIDIA 14..

Do not forget to call update-module :-)

:-)
-- 
  Jan Stavel 


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