Re: [opensuse] Error: ld.so: object '/usr/lib/libaoss.so' from LD_PERLOAD cannot be preloaded

2007-06-01 Thread eshsf
Hello,

On Fri, 01 Jun 2007 10:18:07 +0100
G T Smith [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 [EMAIL PROTECTED] wrote:
  Hi List,
  
  I get the following error:
  ld.so: object '/usr/lib/libaoss.so' from LD_PERLOAD cannot be preloaded
  when running up Firefox
  
  AND also when trying to compile (for example turbojpeg).
  
  Running opensuse 10.2 on x86_64
  
  Any help appreciated in obtaining the right library object file.
  
  Thanks
  Herry
  
 
 The first thing I would ask is does the library exist. The majority of
 occasions I have come across this kind of message have been when the
 indicated file is a corrupted generic link to the real library.
 
 The second thing I would ask has this always happened, if not what was
 the last thing you did before things broke.
 
 The library concerned is supplied by ALSA, and I would guess from the
 oss bit has something to with OSS. It is a link to
 /usr/lib/libaoss.so.0.0 on my install. I would check whether the link is
 broken.
 
 You could reapply the SuSE ALSA package but it may be simpler to fix the
 link.

And just for your information:

  % rpm -qf /usr/lib/libaoss.so
  alsa-32bit-1.0.13-22

It works for me. as smith said, it might not be installed possibly.


Hope this helps


Regards,
eshsf

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] time command

2007-05-20 Thread eshsf
Hello,

On Fri, 18 May 2007 14:16:32 -0300
Herbert Georg [EMAIL PROTECTED] wrote:

 Hi all,
 
 I'm trying to use the command time to access information about a job,
 but without success.
 The man page tells me that I can use options to time, like:
 
 time -o output-file command command-args
 time -v command command-args
 time --help
 
 but nothing of this works. All I get is (in the last example):
 
 bash: --help: command not found
 
 real0m0.001s
 user0m0.000s
 sys 0m0.000s
 
 I get the same thing in all option cases.
 
 Why doesn't it accept any option, and keep interpreting the options as
 the commands?

What about this? :-)

 \time --help
Usage: time [-apvV] [-f format] [-o file] [--append] [--verbose]
   [--portability] [--format=format] [--output=file] [--version]
   [--help] command [arg...]


Regards,
eshsf

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Re: vpnc problem - loosing local network after successful remote login

2007-05-18 Thread eshsf
Hello,

On Fri, 18 May 2007 09:37:04 +0200
Clayton [EMAIL PROTECTED] wrote:

 Trying again with a repost to the list.
 
  I'm having a very annoying problem with VPNC in openSUSE10.2.
 
  rpm -q vpnc returns vpnc 0.3.3-34
 
  I can connect to the remote vpn server (giving my  preshared key, user
  id and password) .  The connection appears to be successful, but then
  I immediately loose all network connectivity on the local machine.  I
  cannot ping anything external or even my local router.
 
  To recover my network connectivity, I have to kill the vpnc session
  and then cycle the network card down and back up again.  Nothing else
  seems to restore my network connectivity.
 
  Any tips or ideas on how to resolve this one?
 
 I still have the same behavior with vpnc.  I can connect to the remote
 server, but as soon as the connection is authenticated and I am
 connected, my local NIC looses all connectivity to the internet...
 it's like someone hits the off switch on the network card.  I can only
 wake it back up by cycling the card down and back up again... which
 then drops my vpn connection to the remote server.
 
 Does anyone have any ideas on this?

Perhaps, isn't it this?
https://bugzilla.novell.com/show_bug.cgi?id=134480


Regards,
eshsf

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Re: Bonding two network cards

2007-05-17 Thread eshsf
Hello,

On Thu, 17 May 2007 13:25:03 +0200
Jan Kalcic [EMAIL PROTECTED] wrote:

 Michael Kershaw wrote:
  Jan,
 
  In your ifcfg-bond0, instead of listing the interface as the
  bonding_slave's, have you tried to tell it the pci info instead like
  so:
 
 
  BONDING_SLAVE0='bus-pci-:04:02.0'
  BONDING_SLAVE1='bus-pci-:04:02.1'
 
  Here's my complete ifcfg-bond0:
 
  BOOTPROTO='static'
  BROADCAST='192.168.148.31'
  IPADDR='192.168.148.30'
  MTU='1500'
  NETMASK='255.255.255.224'
  NETWORK='192.168.148.0'
  REMOTE_IPADDR=''
  STARTMODE='onboot'
  BONDING_MASTER='yes'
  BONDING_MODULE_OPTS='mode=active-backup miimon=100'
  BONDING_SLAVE0='bus-pci-:04:02.0'
  BONDING_SLAVE1='bus-pci-:04:02.1'
 
  Let me know if this helps!
 
 Unfortunately not. I still have the problem both using pci info and
 adapting your config file. I guess is something wrong with the
 configuration as I have the same problem anywhere I try (openSuSE as
 well as SLES)

I'm not using bonding. so, I'm not sure, but is this related to the issue?

https://bugzilla.novell.com/show_bug.cgi?id=250620


Regards,
eshsf

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] What's the point with 64 bit

2007-05-15 Thread eshsf
Hello,

On Tue, 15 May 2007 09:42:21 +0200
Morten Bjørnsvik [EMAIL PROTECTED] wrote:

 powerPC had some logic which made it possible to crunch two 32bit numbers 
 simultaineously.
 resulting is some really impressive openssl performance.

I don't know PowerPC in detail, but is it the one by Altivec(SIMD)?


Regards,
eshsf

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] What's the point with 64 bit [OT]

2007-05-15 Thread eshsf
On Tue, 15 May 2007 12:11:11 +0200
Morten Bjørnsvik [EMAIL PROTECTED] wrote:

 
 |-Original Message-
 |From: eshsf [mailto:[EMAIL PROTECTED] 
 | powerPC had some logic which made it possible to crunch two 
 |32bit numbers simultaineously.
 | resulting is some really impressive openssl performance.
 |
 |I don't know PowerPC in detail, but is it the one by Altivec(SIMD)?
 |
 
 Yep that was the name of it. Turning slightly opptopic now :-)
 
 On general computing a 2.8GHz Xeon were approx 1.5times faster than a 
 1.2GHz G4 powerbook. But with openssl the result were the opposite.
 The laptop were the fastest machine in the office!
 
 This were also the reason why apple always claimed Photoshop were faster
 on mac than on windows. They found the most intensive plugin using
 altivec and compared those to windows. 

It's cool. :)
BTW, I found the following pages. it is a very interesting though it is
a little old content.

The Pentium 4 and the G4e: an Architectural Comparison
http://arstechnica.com/articles/paedia/cpu/p4andg4e.ars


Thanks,
eshsf

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] 4GB computer slowdown

2007-05-11 Thread eshsf
Hello,

On Thu, 10 May 2007 14:06:06 +0200
Hans Witvliet [EMAIL PROTECTED] wrote:

 On Wed, 2007-05-09 at 00:34 +0400, Aaron Kulkis wrote:
  Alexandru Matei wrote:
   Hello,
   
   Ok, from what I understand, I'll never see the entire 4GB unless I
   install a 64-bit OS. But I would still like to be able to run openSuse
   10.2. :) Does anyone know why the issue below happens?
  
  Wrong.
  You will never see the entire 4GB *EVER* because the OS does
  allow it's own memory footprint to be shown as available memory
  
  
  And SuSE has been releasing the 64-bit kernels since 10.0..maybe
  even 9.3.
  
 
 Some minor points,
 After changing/installing mem: always have memtest running for over 24
 hours.
 
 Moving to 64-bit might be a step too big, afaik, no all
 applications/drivers were 64-safe (wasn't there something with the
 latest version of flash???)
 
 Thought that PAE (physical address extension) was also an solution to
 get beyond the 4GB-limit

Well, I like to use a lot of 64bit registers(GPRs) and x86 instructions. :-)


Thanks,
eshsf

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] 10.2 raid drive issue

2007-04-28 Thread eshsf
Hello,

On Fri, 27 Apr 2007 15:36:51 -0400
Coach-X [EMAIL PROTECTED] wrote:

 Upgraded a working SuSE 9.3 system to 10.2 (fresh install). System is HP
 with integrated Netraid, running raid level 5. All went well, but during
 boot I see a lot of these errors:
 
 6 sdc:6attempt to access beyond end of device
 6attempt to access beyond end of device
 6sdb: rw=0, want=71119511, limit=35566480
 3Buffer I/O error on device sdb2, logical block 851200
 
 After 10 minutes or so the system will boot and seems to run normally.
 
 If the raid is set up properly there should only be one disk sda,
 however during boot is tries to access sdb/sdc. Could this be a
 problem with grub, megaraid driver?  I never saw this issue using 9.3.
 
 Any help trying to locate the root of this problem would be appreciated.

Did you try fsck?


Thanks,
eshsf

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] 10.2 raid drive issue

2007-04-28 Thread eshsf
On Sat, 28 Apr 2007 19:53:46 +0900
eshsf [EMAIL PROTECTED] wrote:

 Hello,
 
 On Fri, 27 Apr 2007 15:36:51 -0400
 Coach-X [EMAIL PROTECTED] wrote:
 
  Upgraded a working SuSE 9.3 system to 10.2 (fresh install). System is HP
  with integrated Netraid, running raid level 5. All went well, but during
  boot I see a lot of these errors:
  
  6 sdc:6attempt to access beyond end of device
  6attempt to access beyond end of device
  6sdb: rw=0, want=71119511, limit=35566480
  3Buffer I/O error on device sdb2, logical block 851200
  
  After 10 minutes or so the system will boot and seems to run normally.
  
  If the raid is set up properly there should only be one disk sda,
  however during boot is tries to access sdb/sdc. Could this be a
  problem with grub, megaraid driver?  I never saw this issue using 9.3.
  
  Any help trying to locate the root of this problem would be appreciated.
 
 Did you try fsck?

Hmm... I made a mistake. it's irrelevant to fsck. Maybe you should report
to bugzilla.


Thanks,
eshsf

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] *Help* Am I under some kind of attack??

2007-04-26 Thread eshsf
Hello,

On Thu, 26 Apr 2007 22:00:45 +0200 (CEST)
Carlos E. R. [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 
 The Wednesday 2007-04-25 at 21:27 +0100, G.T.Smith wrote:
 
 
   Why the OP gets 5 rcode entries and me two (before the lame error) might
   have to do with the number of forwarders in his definition. The first
   block in my case corresponds to the forwarders, the second I don't know;
   in any case, they are DNS servers my daemon interrogated. But the culprit
   one is that of the atacckers, not any dns in our side.
  
  My DNS is purely a cache DNS and is only authoritative for local address
  space and is not that busy. 
 
 like mine.
 
  I do not see the above after making the host
  query (though the dns logs do not seem to have been updated for quite
  some time and I have not made any changes the configuration in this
  respect for one hell of a long time, so this something I need to check).
 
 Because I have this entry in /etc/named.conf:
 
 logging {
 channel lame_errors { 
 file /var/lib/named/log/named-lame-servers versions 2 size 200k;
 severity debug 3;
 print-severity yes;
 print-time yes;
 };
 category lame-servers { lame_errors; };
 };
 
 
 
  My DNS logs are also directed to the main log files and nothing shows up
  there. My firewalling is done at the DSL router (I tend to prefer not to
  have front line firewalling on a machine that is providing other
  services), the DSL modem relays external  DNS requests (no local machine
  directly contacts the ISPs DNS servers). There was a serious pause for
  the first request for the address but subsequent request were rejected
  quite quickly 
 
 More or less the same here.
 
 
  In this case, the fails are legitimate rejections... of the other four
  one has to ask why are these asked again (and again) in the original
  case when they either broken or do not want to talk... 
 
 It must have to do with the response given by the DNS server that makes 
 our side to think that the answer is not definitive and that another 
 server may think different.
 
  I would also ask
  are these addresses defined as the forwarding servers. If both you and
  the original poster are both running a full DNS server this would
  suggest that queries to the address space quoted is being re-directed to
  an address of a server which the referrer believes can handle this
  address space (it is a long time since I read the relevant RFCs and I
  cannot remember how this bit is supposed to work so I am probably way
  off beam here ).  These referrals seem to be broken hence the DNS error
  reports... 
 
 Mine asks first my ISP DNS servers, then the root servers. Ie, I have 
 forward first.
 
  This would tend to imply that the initial ftp query is not an
  attack on the ftp accounts concerned but an attempt to attack the DNS
  itself by firing up a lookup for a dodgy address via a mangled server. I
  cannot replicate the problem but it might be worthwhile to have a look
  at the communication involved by those who can
 
 It maybe coincidental and not intentional, but who knows.

I guess the original poster is setting 'UseReverseDNS off' up for proftpd and
the others servers(e.g. Apache, SMTP, POP) do ReverseDNS and the attacker is
attacking various servers at the same time.

Therefore, the proftpd is silently processing it but the others servers
complain. I thought so.


Thanks,
eshsf

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] How to check processor is 32 bit or 64 bit ? in suse OS?

2007-04-24 Thread eshsf

Hello,

On Tue, 24 Apr 2007 10:43:12 +0530
Anil Kalasa [EMAIL PROTECTED] wrote:

 Hi,
 
   I need an urgent help, how to check weather the processor is 32 bit
 or 64bit, not the OS.
 
  This is for SUSE linux.

How about this?

uname -m
man uname


Thanks,
eshsf

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] How to check processor is 32 bit or 64 bit ? in suse OS?

2007-04-24 Thread eshsf
On Tue, 24 Apr 2007 15:11:19 +0530
Anil Kalasa [EMAIL PROTECTED] wrote:

 Either that does work, I have found the solution, need to install
 lshw.rpm, which gives the exact hardware detials.

I see. though too late, I had forgotten hwinfo. IIRC, this is installed for SUSE
by default.

# hwinfo --cpu
# hwinfo --help
# man hwinfo


Thanks,
eshsf

 On 4/24/07, eshsf [EMAIL PROTECTED] wrote:
 
  Hello,
 
  On Tue, 24 Apr 2007 10:43:12 +0530
  Anil Kalasa [EMAIL PROTECTED] wrote:
 
   Hi,
  
 I need an urgent help, how to check weather the processor is 32 bit
   or 64bit, not the OS.
  
This is for SUSE linux.
 
  How about this?
 
  uname -m
  man uname
 
 
  Thanks,
  eshsf
 
  --
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -- 
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Converting file system

2007-04-23 Thread eshsf
Hello,

On Sat, 21 Apr 2007 15:41:41 -0500
John Pierce [EMAIL PROTECTED] wrote:

  Consider, too, the folk wisdom that some hardware which exhibits no
  problems when running Windows sometimes displays unreliability when
  running Linux.
 
 
 Well, I will continue to look.  This machine has never had windows on
 it (save for the OEM Install of VISTA, which I deleted before it ever
 ran in userspace.), I partitioned the machine from the first boot when
 I got it home with suse 10.2.
 
 Thanks though, like I said I will keep looking.

If you want to track the problem, then there is a netconsole.
(A serial port is very usable, but the HP DV9208nr note hasn't a serial port)
And an another machine is necessary to use a netconsole.

The way to use a netconsole is written in 
/usr/src/linux/Documentation/networking/netconsole.txt.
If the kernel-source package has not been installed yet, you need to install it.

As you read the document,


E.g.

Suppose set up like the following two Linux boxes.

  [target] - 192.168.1.2 udp 6665(default)
  [remote] - 192.168.1.3 udp (default)  12:34:56:78:9a:bc


target:~ # insmod /lib/modules/`uname -r`/kernel/drivers/net/netconsole.ko \
 [EMAIL PROTECTED]/eth0,@192.168.1.3/12:34:56:78:9a:bc

remote:~ # netcat -u -l -p 

And you would like to check whether it goes well certainly.

target:~ # echo 1  /proc/sys/kernel/sysrq
target:~ # echo m  /proc/sysrq-trigger

After this is performed, the log should be displayed in the remote linux box.
If nothing is displayed, then I suspect that an UDP packet on the remote box
or the target box (or both) is dropped by firewall.
Check /var/log/firewall and pass a udp packet for logging agent.

As for the setting, that's all.
And you would have to reproduce the random lockup on the target box. :)


hope this helps

Thanks,
eshsf

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Micro pauses, or CPU spikes?

2007-04-20 Thread eshsf
Ok, I am a post to the list because I think that's no problem.

On Thu, 19 Apr 2007 23:24:23 +0400
Aaron Kulkis [EMAIL PROTECTED] wrote:

 eshsf wrote:
  Hello,
  
  On Tue, 17 Apr 2007 22:27:36 -0500
  Rajko M. [EMAIL PROTECTED] wrote:
  
  On Tuesday 17 April 2007 04:15, Clayton wrote:
  ...
  I'm assuming the drive is unrecoverable (ie it's not worth risking my
  data to try and run the Maxtor tools on it and repair the drive)...
  so it's up for replacement in the next week or so.
 
  You may try to slow down the drive. 
  I got one that was about to fail, but decreasing the speed, using Maxtor 
  utilities, from 66 to 33 helped and it still runs. 
  
  Probably, the decreasing speed problem is because the HDD controller
  changed a bad sector into a spare sector. and the spare sector possibility
  don't optimize to seek, I guess.
  
  AFAIK, A modern HDD has a number of spare sectors. and when happened a bad
  sector, that can replace a bad sector into a spare sector by using the hard
  drive tools, etc.
  *But*, there is a limitation in the number of spare sectors (and depend on 
  HDD).
  
 
 Assuming a 15ms seek time, I sincerely doubt that the original poster
 would have noticed the effects of this... that would account for a
 whopping 30ms (i.e. 0.03 seconds)...and once the data is read
 into memory, it's done ... that disk block is now in the I/O
 buffers, and there is no need to revisit it.

exactly. when I did post, I didn't consider it at all, almost all the HDD
have the I/O buffers on drive and the Linux have a buffer cache though.

Yes, so, only when the first accessing it or flushed a cache, it might influence
but the influence is a little bit.



Thanks,
eshsf

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[opensuse-factory] Are there a elfutils package for openSuSE?

2007-04-19 Thread eshsf

Hello,

I look for a elfutils package for openSuSE10.2 because I want to use a libdwarf.
However, I am not yet found it, but on fedora.

So, my question is: Why isn't it in openSUSE?


Thanks,
eshsf

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse-factory] Are there a elfutils package for openSuSE?

2007-04-19 Thread eshsf
On Thu, 19 Apr 2007 16:41:15 +0900
eshsf [EMAIL PROTECTED] wrote:

 
 Hello,
 
 I look for a elfutils package for openSuSE10.2 because I want to use a 
 libdwarf.
 However, I am not yet found it, but on fedora.
 
 So, my question is: Why isn't it in openSUSE?

Hmmm, I might be wrong something. :( there was not the libdwarf in the elfutils 
package, though libdw.so exists.
That was in http://reality.sgiweb.org/davea/dwarf.html and it seems like
no distro offers it.

Sorry for the noise. 


Thanks,
eshsf
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Micro pauses, or CPU spikes?

2007-04-18 Thread eshsf
On Wed, 18 Apr 2007 14:53:40 -0400
James Knott [EMAIL PROTECTED] wrote:

 Randall R Schulz wrote:
  On Wednesday 18 April 2007 09:01, eshsf wrote:

  ...
 
  
  You may try to slow down the drive.
  I got one that was about to fail, but decreasing the speed, using
  Maxtor utilities, from 66 to 33 helped and it still runs.

  Probably, the decreasing speed problem is because the HDD controller
  changed a bad sector into a spare sector. and the spare sector
  possibility don't optimize to seek, I guess.
  
 
  What would be the relationship between bus transfer rate and seek time? 
  None that I can think of.
 

 Maybe he's talking about how fast the disks spin.  ;-)

I did misread Rajko's mail. never mind.



eshsf
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Elevator Question

2007-04-12 Thread eshsf
On Thu, 12 Apr 2007 03:03:38 +0200 (CEST)
Carlos E. R. [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 
 The Wednesday 2007-04-11 at 21:47 +0900, eshsf wrote:
 
   
   I do, but it's not nice enough
   
   The disk is so busy for a long time when copying a half a gig single file 
   that the rest of the tasks are sluggish,
   
   I'm not in a hurry over these operations, I just want to continue working 
   as usual.
  
  How about using a Best effort class of ionice?
  An unprivilege user can set a class data[0-7].
 
 I'll have to try that one. Man pages are so terse that I had no clue that 
 those class data could be.

The io scheduling classes are:
  c1 - Realtime: only root available
  c2 - Best effort : everyone available
  c3 - Idle: only root available

So, if I am not mistaken, the following sorted them in priority order.

[High]---[low]
   RealtimeBest effort Idle
   0 ... 7   0 ... 7   (no class data)


  or if running already then
  'nice -n19 sudo ionice -c3 -p `pidof busytask`'.

Oh, this was wrong. that didn't modify the nice value. :(
Ok, this is it.
sudo bash -c renice +19 -p `pidof busytask`  ionice -c3 -p `pidof busytask`


Thanks,
eshsf
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Elevator Question

2007-04-11 Thread eshsf
Hello,

On Wed, 11 Apr 2007 11:05:32 +0200 (CEST)
Carlos E. R. [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 
 El 2007-04-10 a las 23:09 +0400, Aaron Kulkis escribió:
 
   Yes, I use ionice. But it is not very usefull, only root can use it. For
   instance, I have to copy large files, and I'm not really interested in 
   doing
   it fast, rather to be able to keep working on something else at the same
   time. So, I fire the copy, find out the pid, then as root I re-io-nice it.
   That should not require root priviledges.
   
   But your idea of changing the scheduler for a whole device sounds 
   curious. 
   I usually find kernel documents made for developpers to understand, much 
   is
   assumed to be known already by the reader. There is only one file that 
   talks
   about ionice, and not much.
  
  Why not just nice the copy command from the get go...
  
  i.e.
  $ nice cp /file/source/big  /file/destination/copy/here
 
 I do, but it's not nice enough
 
 The disk is so busy for a long time when copying a half a gig single file 
 that the rest of the tasks are sluggish,
 
 I'm not in a hurry over these operations, I just want to continue working 
 as usual.

How about using a Best effort class of ionice?
An unprivilege user can set a class data[0-7].
Alternatively, you could use sudo.
e.g. 'nice -n19 sudo ionice -c3 busytask' or if running already then
'nice -n19 sudo ionice -c3 -p `pidof busytask`'.
But, since an io priority is lowered, it usually would take time long.


eshsf
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Filesystem corrupted or what?

2007-04-04 Thread eshsf
On Mon, 02 Apr 2007 21:05:30 +0200
jan kalcic [EMAIL PROTECTED] wrote:

 eshsf wrote:
  On Mon, 2 Apr 2007 12:16:35 +0900
  eshsf [EMAIL PROTECTED] wrote:
 

  Hello,
 
  On Mon, 02 Apr 2007 01:12:49 +0200
  jan kalcic [EMAIL PROTECTED] wrote:
 
  
  Hi People,
 
  openSuSE 10.2, never had a problem with filesystem but suddenly it seems
  it has become bad as it takes something like 10 or more seconds to
  open a file, especially the biggest ones, and in the meanwhile it
  doesn't  allow to do anything else but wait. I've already run fsck
  (ext3) to check it but no error is shown and yet I still have big
  troubles working with big files (100MB).
 
  In addition, during the wait, the hard disk sounds like it is doing such
  a big work that it's so busy it can't even move my mouse. Quite strange.
 
  Could it even be an hardware (hard disk) problem?

  The problem looks like caused by a bad sector.
  Did you see a dmesg or /var/log/messages? If It is a bad sector,
  then you would could use DFT(Drive Fitness Test).
 
  First of all, **backup your all data**.
  Next, download Drive Fitness Test.
http://www.hitachigst.com/hdd/support/table.htm
Downloads - [Drive Fitness Test] download a CD image - burn it to CD-R
  After boot from CD-R, choose [2. ATA support only] if you won't check
  for SATA drive. select it Up and Down to test for your drive
  and start [Advanced Test].
 
  *Caution*: An Advanced Test takes very long time becuase that checks
  a all sector. (Perhaps it will take about a hour as your HDD)
 
  And if that found a bad sector, then correct it.
  After this check, you would must fsck by using LiveCD or Knoppix before
  boot system.
  
 
  FYI: if you have a seagate HDD, there is a SeaTools too.
  http://www.seagate.com/www/en-us/support/downloads/
 
 
  eshsf

 It's a hitachi disk. I'll try DFT and will see what happens.

When I had a phenomenon same as this in the past, I resolved this problem
by the way I said.
However I think the best way is a clean install after backup a data and
corrected a bad sector by using DFT, SeaTools, and so on.


Thanks,
eshsf
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Filesystem corrupted or what?

2007-04-02 Thread eshsf
On Mon, 2 Apr 2007 12:16:35 +0900
eshsf [EMAIL PROTECTED] wrote:

 Hello,
 
 On Mon, 02 Apr 2007 01:12:49 +0200
 jan kalcic [EMAIL PROTECTED] wrote:
 
  Hi People,
  
  openSuSE 10.2, never had a problem with filesystem but suddenly it seems
  it has become bad as it takes something like 10 or more seconds to
  open a file, especially the biggest ones, and in the meanwhile it
  doesn't  allow to do anything else but wait. I've already run fsck
  (ext3) to check it but no error is shown and yet I still have big
  troubles working with big files (100MB).
  
  In addition, during the wait, the hard disk sounds like it is doing such
  a big work that it's so busy it can't even move my mouse. Quite strange.
  
  Could it even be an hardware (hard disk) problem?
 
 The problem looks like caused by a bad sector.
 Did you see a dmesg or /var/log/messages? If It is a bad sector,
 then you would could use DFT(Drive Fitness Test).
 
 First of all, **backup your all data**.
 Next, download Drive Fitness Test.
   http://www.hitachigst.com/hdd/support/table.htm
   Downloads - [Drive Fitness Test] download a CD image - burn it to CD-R
 After boot from CD-R, choose [2. ATA support only] if you won't check
 for SATA drive. select it Up and Down to test for your drive
 and start [Advanced Test].
 
 *Caution*: An Advanced Test takes very long time becuase that checks
 a all sector. (Perhaps it will take about a hour as your HDD)
 
 And if that found a bad sector, then correct it.
 After this check, you would must fsck by using LiveCD or Knoppix before
 boot system.

FYI: if you have a seagate HDD, there is a SeaTools too.
http://www.seagate.com/www/en-us/support/downloads/


eshsf
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Filesystem corrupted or what?

2007-04-01 Thread eshsf
Hello,

On Mon, 02 Apr 2007 01:12:49 +0200
jan kalcic [EMAIL PROTECTED] wrote:

 Hi People,
 
 openSuSE 10.2, never had a problem with filesystem but suddenly it seems
 it has become bad as it takes something like 10 or more seconds to
 open a file, especially the biggest ones, and in the meanwhile it
 doesn't  allow to do anything else but wait. I've already run fsck
 (ext3) to check it but no error is shown and yet I still have big
 troubles working with big files (100MB).
 
 In addition, during the wait, the hard disk sounds like it is doing such
 a big work that it's so busy it can't even move my mouse. Quite strange.
 
 Could it even be an hardware (hard disk) problem?

The problem looks like caused by a bad sector.
Did you see a dmesg or /var/log/messages? If It is a bad sector,
then you would could use DFT(Drive Fitness Test).

First of all, **backup your all data**.
Next, download Drive Fitness Test.
  http://www.hitachigst.com/hdd/support/table.htm
  Downloads - [Drive Fitness Test] download a CD image - burn it to CD-R
After boot from CD-R, choose [2. ATA support only] if you won't check
for SATA drive. select it Up and Down to test for your drive
and start [Advanced Test].

*Caution*: An Advanced Test takes very long time becuase that checks
a all sector. (Perhaps it will take about a hour as your HDD)

And if that found a bad sector, then correct it.
After this check, you would must fsck by using LiveCD or Knoppix before
boot system.


HTH

eshsf
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [opensuse] Grabbing MAC address of interface

2007-02-16 Thread eshsf
Hello,

On Fri, 16 Feb 2007 14:33:12 +0100 (MET)
Jan Engelhardt [EMAIL PROTECTED] wrote:

 Hello,
 
 
 now the question may seem simple (how to grab the MAC address of a 
 given interface), but what is actually a portable way that does not 
 potentially break when upgrading to a newer openSUSE?
 
 I could fiddle with `hwinfo --network` or try parse `ip l sh dev br0` 
 output, but what's actually best? [Using sh.]

How about this?

% cat /sys/class/net/eth?/address


eshsf

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]