Re: Disk /dev/sdb doesn't contain a valid partition table

2012-09-19 Thread Kamaraju S Kusumanchi
Ralf Mardorf wrote:

 On Tue, 2012-09-18 at 00:27 -0400, Kamaraju S Kusumanchi wrote:
 /dev/sdb: unrecognised disk label
 
 2) Is msdos a valid option to choose for this hard drive?
 
 Yes it is.
 
 Is there some output if you run
 
 # parted /dev/sdb
 mklabel msdos
 

So, I did

$sudo parted /dev/sdb
GNU Parted 2.3
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mklabel msdos
(parted) quit 
Information: You may need to update /etc/fstab.   

Even after this, I get the following error if I go back to gparted and try 
to create a new partition.

$sudo gparted /dev/sdb
==
libparted : 2.3
==
/dev/sdb: unrecognised disk label


I also upgraded to the latest kernel but that did not solve much.

$uname -a
Linux kusumanchi.mae.cornell.edu 3.2.0-3-686-pae #1 SMP Mon Jul 23 03:50:34 
UTC 2012 i686 GNU/Linux

thanks
raju

-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/k3e1su$1jm$1...@ger.gmane.org



Re: Disk /dev/sdb doesn't contain a valid partition table

2012-09-19 Thread Kamaraju S Kusumanchi
lee wrote:

 Kamaraju S Kusumanchi raju.mailingli...@gmail.com writes:
 
 I am trying to parition a new Western Digital WD Scorpio Black 750 GB
 SATA 3 GB/s 7200 RPM 16 MB Cache Internal Bulk/OEM 2.5-Inch Mobile Hard
 Drive but with no success.

 $sudo fdisk -l /dev/sdb

 Disk /dev/sdb: 750.2 GB, 750156372992 bytes
 255 heads, 63 sectors/track, 91201 cylinders, total 1465149166 sectors
 Units = sectors of 1 * 512 = 512 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / 512 bytes
 Disk identifier: 0x

 Disk /dev/sdb doesn't contain a valid partition table
 
 That is to be expected for a new disk.  IIRC, fdisk (or was that
 cfdisk?) has an option to start over with an empty partition table.
 
 Depending on which version of fdisk you have, there are options you can
 use to turn off msdos compatibility and to turn on something else --- I
 don't remember what these options were, and my version of fdisk doesn't
 have them anymore (fdisk -n or fdisk -nc maybe?), so I forgot about
 them.

There are some warnings when I tried to use fdisk to create a new empty DOS 
partition table. Do you know how to eliminate the warning?

$fdisk -v
fdisk (util-linux 2.20.1)

$sudo fdisk /dev/sdb
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF 
disklabel
Building a new DOS disklabel with disk identifier 0x14879ac2.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.

Warning: invalid flag 0x of partition table 4 will be corrected by 
w(rite)

Command (m for help): p

Disk /dev/sdb: 750.2 GB, 750156372992 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149166 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x14879ac2

   Device Boot  Start End  Blocks   Id  System

Command (m for help): m
Command action
   a   toggle a bootable flag
   b   edit bsd disklabel
   c   toggle the dos compatibility flag
   d   delete a partition
   l   list known partition types
   m   print this menu
   n   add a new partition
   o   create a new empty DOS partition table
   p   print the partition table
   q   quit without saving changes
   s   create a new empty Sun disklabel
   t   change a partition's system id
   u   change display/entry units
   v   verify the partition table
   w   write table to disk and exit
   x   extra functionality (experts only)

Command (m for help): o
Building a new DOS disklabel with disk identifier 0xe3c60b5a.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.

Warning: invalid flag 0x of partition table 4 will be corrected by 
w(rite)

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.


So, I wrote the partition table but the warning keeps coming back if I run 
fdisk again.

$sudo fdisk /dev/sdb
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF 
disklabel
Building a new DOS disklabel with disk identifier 0x2c2ba04d.
Changes will remain in memory only, until you decide to write them.
After that, of course, the previous content won't be recoverable.

Warning: invalid flag 0x of partition table 4 will be corrected by 
w(rite)

Command (m for help): q


 
 Anyway, make a new empty partition table and create a partition and see
 if you can write that to disk.  Always reboot after creating partitions;
 I've seen it going wrong when not rebooting and only re-reading
 partition tables.
 

What do you mean reboot after creating partitions? This is an external hard 
drive that does not have any OS. So how can I reboot from it? Do you mean 
disconnect and reconnect?

 2) Is msdos a valid option to choose for this hard drive?
 
 Is msdos a useful partition type for you?  Try Linux, and if it
 works, you can try to change it to msdos.
 

There is no Linux option. In gparted - Device - Create Partition Table -
 Advanced - Select new partition table type, the available choices are

msdos, aix, amiga, bsd, dvh, gpt, mac, pc98, sun, loop

thanks
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/k3e2lo$6dv$1...@ger.gmane.org



Disk /dev/sdb doesn't contain a valid partition table

2012-09-17 Thread Kamaraju S Kusumanchi
I am trying to parition a new Western Digital WD Scorpio Black 750 GB SATA 
3 GB/s 7200 RPM 16 MB Cache Internal Bulk/OEM 2.5-Inch Mobile Hard Drive 
but with no success.

$sudo fdisk -l /dev/sdb

Disk /dev/sdb: 750.2 GB, 750156372992 bytes
255 heads, 63 sectors/track, 91201 cylinders, total 1465149166 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x

Disk /dev/sdb doesn't contain a valid partition table


When I tried gparted, it gives the following error
$sudo gparted /dev/sdb
==
libparted : 2.3
==
/dev/sdb: unrecognised disk label

In particular, I tried
gparted - Device - Create Parition Table -  I chose msdos as the new 
partition table type - Apply

After a minute or so, it prints

/dev/sdb: unrecognised disk label

on the command line. 

1) What am I doing wrong? 
2) Is msdos a valid option to choose for this hard drive?
3) Here I connected the hard drive via a USB connection. Could that be a 
problem? Should I connect the drive directly via SATA cable in order to 
partition?

thanks
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/k38tdf$ibf$1...@ger.gmane.org



is this hard drive dying?

2012-09-13 Thread Kamaraju S Kusumanchi
1) The man page of smartctl is not much helpful in figuring out what various 
fields in the output of smartctl -a stand for. For example, what does 
fields such as Raw_Read_Error_Rate, Seek_Error_Rate, Hardware_ECC_Recovered, 
Multi_Zone_Error_Rate mean? Is there any page that describes all these 
fields in good detail?

2) Can someone please tell me if this hard drive is dying. The following is 
the difference between two smartctl outputs that are a week apart.

$diff smartctl_20120905 smartctl_20120912 
14c14
 Local Time is:Wed Sep  5 21:55:18 2012 EDT
---
 Local Time is:Wed Sep 12 20:03:10 2012 EDT
58c58
   1 Raw_Read_Error_Rate 0x000f   100   100   046Pre-fail  Always  
 
-   74727
---
   1 Raw_Read_Error_Rate 0x000f   100   100   046Pre-fail  Always  
  
-   108562
61c61
   4 Start_Stop_Count0x0032   099   099   000Old_age   Always  
 
-   2242
---
   4 Start_Stop_Count0x0032   099   099   000Old_age   Always  
  
-   2244
63c63
   7 Seek_Error_Rate 0x000e   100   100   000Old_age   Always  
 
-   1872
---
   7 Seek_Error_Rate 0x000e   100   100   000Old_age   Always  
  
-   3683
65c65
   9 Power_On_Seconds0x0032   023   023   000Old_age   Always  
 
-   38808h+46m+11s
---
   9 Power_On_Seconds0x0032   023   023   000Old_age   Always  
  
-   38965h+50m+24s
67c67
  12 Power_Cycle_Count   0x0032   100   100   000Old_age   Always  
 
-   1717
---
  12 Power_Cycle_Count   0x0032   100   100   000Old_age   Always  
  
-   1719
69,71c69,71
 193 Load_Cycle_Count0x0032   069   069   000Old_age   Always  
 
-   635379
 194 Temperature_Celsius 0x0022   100   090   000Old_age   Always  
 
-   51 (Min/Max 8/62)
 195 Hardware_ECC_Recovered  0x001a   100   100   000Old_age   Always  
 
-   9258
---
 193 Load_Cycle_Count0x0032   069   069   000Old_age   Always  
  
-   635384
 194 Temperature_Celsius 0x0022   100   090   000Old_age   Always  
  
-   49 (Min/Max 8/62)
 195 Hardware_ECC_Recovered  0x001a   100   100   000Old_age   Always  
  
-   15601
76,77c76,77
 200 Multi_Zone_Error_Rate   0x000e   100   100   000Old_age   Always  
 
-   1038
 203 Run_Out_Cancel  0x0002   100   100   000Old_age   Always  
 
-   3732311179847
---
 200 Multi_Zone_Error_Rate   0x000e   100   100   000Old_age   Always  
  
-   5133
 203 Run_Out_Cancel  0x0002   100   100   000Old_age   Always  
  
-   2632791622157


I am also attaching smartctl_20120912 as http://pastebin.com/L5gRvQPV . This 
file is generated by
$ sudo smartctl -a /dev/sda  smartctl_20120912

This is a hard drive in Dell Inspiron E1505 laptop. Any help is greatly 
appreciated.

thanks
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/k2shbm$1la$1...@ger.gmane.org



Re: e2fsck errror: Error reading block (Attempt to read block from filesystem resulted in short read)

2012-09-05 Thread Kamaraju S Kusumanchi
lee wrote:

 Kamaraju S Kusumanchi raju.mailingli...@gmail.com writes:
 
 When I ran

 $sudo e2fsck -c -c -f -v /dev/sdb7

 I am getting a lot of errors such as

 Error reading block 18022401 (Attempt to read block from filesystem
 resulted
 in short read) while reading inode and block bitmaps.  Ignore errory?
 yes Force rewritey? yes
 3) Is the drive going bad and need to be replaced?
 
 Corresponding entries in /var/log/syslog about the inability to read
 sectors from this device would indicate that there is a hardware
 problem. Provided that all connections and the power supply are ok, I
 would say the device is broken when there are such errors in syslog.
 
 In case there aren't errors in syslog, I would look somewhere else
 first.

Yes, there are I/O errors in syslog such as

Aug 30 08:27:20 kusumanchi kernel: [118453.218041] Buffer I/O error on 
device sdb7, logical block 5384272
Aug 30 08:27:20 kusumanchi kernel: [118453.219839] Buffer I/O error on 
device sdb7, logical block 5384273
Aug 30 08:27:20 kusumanchi kernel: [118453.221584] Buffer I/O error on 
device sdb7, logical block 5384274
Aug 30 08:27:20 kusumanchi kernel: [118453.223310] Buffer I/O error on 
device sdb7, logical block 5384275
Aug 30 08:27:20 kusumanchi kernel: [118453.224973] Buffer I/O error on 
device sdb7, logical block 5384276
Aug 30 08:27:20 kusumanchi kernel: [118453.226582] Buffer I/O error on 
device sdb7, logical block 5384277
Aug 30 08:27:20 kusumanchi kernel: [118453.228158] Buffer I/O error on 
device sdb7, logical block 5384278
Aug 30 08:27:20 kusumanchi kernel: [118453.229713] Buffer I/O error on 
device sdb7, logical block 5384279



 
 Are you really still using ext2fs?

The partitions are ext3. Is there a better command to check ext3 partitions 
other than ext2fs?

 Besides, is the device in question an SSD disk connected via USB? Why
 would anyone connect an SSD drive via USB? And do you get the same
 errors in syslog with an SSD drive as you get with an SATA or SCSI
 drive? SSDs don't really have sectors, do they?

No, this is not an SSD drive. It is the ordinary (IDE?) drive with an 
enclosure connected via USB. I do not have any experience with SSD drives.

thanks
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/k27gri$7jt$1...@ger.gmane.org



Re: e2fsck errror: Error reading block (Attempt to read block from filesystem resulted in short read)

2012-08-30 Thread Kamaraju S Kusumanchi
Federico Alberto Sayd wrote:

 Did you try to diagnose your hardrive with smartmontools? Smartmontools
 uses S.M.A.R.T.[1] technology included in harddrives, and displays info
 about predictable failures, time of use, etc.
 
 Regards
 
 [1] http://en.wikipedia.org/wiki/S.M.A.R.T.

$smartctl -a /dev/sdb
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.0.0-1-686-pae] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

/dev/sdb: Unknown USB bridge [0x059b:0x0571 (0x000)]
Smartctl: please specify device type with the -d option.

Use smartctl -h to get a usage summary

What device type should I specify? This is what I get from dmesg when I 
connect the hard drive

[123948.292055] usb 1-1: new high speed USB device number 11 using ehci_hcd
[123948.425272] usb 1-1: New USB device found, idVendor=059b, idProduct=0571
[123948.425280] usb 1-1: New USB device strings: Mfr=10, Product=11, 
SerialNumber=3
[123948.425287] usb 1-1: Product: Iomega HDD
[123948.425292] usb 1-1: Manufacturer: Iomega
[123948.425296] usb 1-1: SerialNumber: 50609854
[123948.426280] scsi7 : usb-storage 1-1:1.0
[123949.466729] scsi 7:0:0:0: Direct-Access ST950032 5AS   
PQ: 0 ANSI: 2 CCS
[123949.493174] sd 7:0:0:0: [sdb] 976773168 512-byte logical blocks: (500 
GB/465 GiB)
[123949.493931] sd 7:0:0:0: [sdb] Write Protect is off
[123949.493936] sd 7:0:0:0: [sdb] Mode Sense: 28 00 00 00
[123949.494673] sd 7:0:0:0: [sdb] No Caching mode page present
[123949.494679] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[123949.497805] sd 7:0:0:0: [sdb] No Caching mode page present
[123949.497810] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[123949.733091]  sdb: sdb1 sdb2 sdb3 sdb4  sdb5 sdb6 sdb7 sdb8 
[123949.736964] sd 7:0:0:0: [sdb] No Caching mode page present
[123949.736969] sd 7:0:0:0: [sdb] Assuming drive cache: write through
[123949.736973] sd 7:0:0:0: [sdb] Attached SCSI disk

Also, sometimes when I try to mount the partition, I get
$pmount /dev/sdb7
[124321.902673] FAT-fs (sdb7): bogus number of reserved sectors
[124321.918675] FAT-fs (sdb7): bogus number of reserved sectors

I am sorry I am a bit naive when it comes to hard drive failures. Any help I 
can get is appreciated.

thanks
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/k1ns90$3gj$1...@ger.gmane.org



Re: e2fsck errror: Error reading block (Attempt to read block from filesystem resulted in short read)

2012-08-30 Thread Kamaraju S Kusumanchi
Sthu Deus wrote:
 
 You will not be able to do so until You connect Your drive to computer
 directly - i.e. through PATA/SATA cable.
 

This is an external USB hard drive. The only connection it has is USB. So, I 
guess in this case smartctl is not much useful.

-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/k1oas2$acl$1...@ger.gmane.org



Re: copying data from a partition with badblocks

2012-08-30 Thread Kamaraju S Kusumanchi
Camaleón wrote:

 On Thu, 30 Aug 2012 11:07:15 -0400, Kamaraju S Kusumanchi wrote:
 
 One of the partitions on my hard drive has badblocks. I did a
 
 $sudo e2fsck -c -c -f -v /dev/sdb7
 
 on it and it found 757 badblocks. The partition itself is 100 GB and
 only 18 GB of it is filled. Now my question is how to salvage the data?
 
 Badblocks per se are not indicative for an inminent hard disk failure.
 Badblocks usually come along with another signals as smart test failures,
 I/O errors in the logs, speed decreasing when running common tasks,
 smarctl showing a rapid increment for the values tagged as pre_fail and
 such.
 

ok. But in this case, I am not able to run smartctl on the hard drive. It is 
an external USB hard drive and smartctl does not recognize it. 
Unfortunately, I do not know what option to specify with the -d.

$smartctl -a /dev/sdb
smartctl 5.41 2011-06-09 r3365 [i686-linux-3.0.0-1-686-pae] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

/dev/sdb: Unknown USB bridge [0x059b:0x0571 (0x000)]
Smartctl: please specify device type with the -d option.

Use smartctl -h to get a usage summary


 If you still decide to replace the disk with a newer one, I'd copy the
 data from an off-line system (e.g., from a LiveCD). If data is still
 fully accessible you can use any tool you prefer for the task.
 
 When it comes to cloning a full system I like Clonezilla (or the like)
 applications.
 
 And for deep data corruption that lead to data lose there are specialized
 tools such PhotoRec/TestDisk that can help you with recovery.
 

got it. Thanks.

 Can someone recommend a hard drive manufacturer/model that is more
 resistant to developing badblocks? The drive that gone bad is an iomega
 prestige portable USB 3.0 external hard drive.
 
 For a company I prefer to choose those hard disks tagged as enterprise
 with 5 years guarantee (since I switched to SATA I always buy Seagate).
 

For me the badblocks seem to be developing after couple of years no matter 
what the hard drive is. May be I am doing something fundamentally wrong. 
What surprised me is that this is a back up drive and not used heavily at 
all. I guess iOmega drives are not very stable.

 Also, I tend to avoid as much as I can those external hard disks that
 came integrated along with the enclosure: I prefer to buy the case and
 the disk as separate items so I can choose the best devices in the market
 and also by doing it this way I can replace the hard disk in the event it
 breaks or should I need more space :-)
 

This one is very slim and does not even have an external case.

 http://www.amazon.com/Iomega-Prestige-Portable-
SuperSpeed-35194/dp/B004NIDHXC


-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/k1obun$lfd$1...@ger.gmane.org



Re: e2fsck errror: Error reading block (Attempt to read block from filesystem resulted in short read)

2012-08-30 Thread Kamaraju S Kusumanchi
Sthu Deus wrote:

 Kamaraju, You wrote:
 
  You will not be able to do so until You connect Your drive to
  computer directly - i.e. through PATA/SATA cable.
  
 
 This is an external USB hard drive. The only connection it has is
 USB. So, I guess in this case smartctl is not much useful.
 
 And You can not disassemble it?
 
 

May be I am missing something here. The USB hard drive I am talking is very 
similar to http://www.amazon.com/Iomega-Prestige-Portable-
SuperSpeed-35192/dp/B004NIAG5E/ref=cm_cr_pr_product_top . The case can't be 
removed.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/k1pbh1$500$1...@ger.gmane.org



Re: e2fsck errror: Error reading block (Attempt to read block from filesystem resulted in short read)

2012-08-30 Thread Kamaraju S Kusumanchi
Dan Ritter wrote:

 On Tue, Aug 28, 2012 at 09:28:20AM -0400, Kamaraju S Kusumanchi wrote:
 4) What might have caused this problem and how to prevent it in the
 future?
 
 I don't know, but in my experience, USB-connected hard disks
 suffer these problems much more than PATA/SATA/eSATA/SCSI/SAS
 disks do.
 

What about solid state hard drives that can be connected via USB drive? I 
heard solid state hard drives are more dependable (but expensive) than the 
usual (IDE?) ones. Does USB connection matter there too?

Thanks for answers to my other questions as well.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/k1pbt5$94i$1...@ger.gmane.org



Re: copying data from a partition with badblocks

2012-08-30 Thread Kamaraju S Kusumanchi
Go Linux wrote:

 --- On Thu, 8/30/12, Kamaraju S Kusumanchi raju.mailingli...@gmail.com
 wrote: I guess iOmega drives are not very stable.
 I guess iOmega drives are not very stable.

 
 I have several external drives from iOmega that are a few years old. But
 the drives inside the enclosure are Western Digital.  I've never had a
 problem with them.

How old is your oldest iOmega drive that does not have any problems? Can you 
please give me its model?

Is the drive usually operated at room temperature or is it usually operated 
in a controlled temperature environment (ex:- in an office where the temp is 
always maintained at a specific level)

Also, how do you usually partition the drive (using fdisk/cfdisk and then 
mke2fs to create the file system or some other method?)

I am asking all these questions just to see where things might be going 
wrong. Usually my drives work fine initially. After 3-4 years, they start 
developing bad blocks. They are usually at room temperature (no air 
conditioning), partitioned via cfdisk + mke2fs.

thanks
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/k1pcea$chc$1...@ger.gmane.org



e2fsck errror: Error reading block (Attempt to read block from filesystem resulted in short read)

2012-08-28 Thread Kamaraju S Kusumanchi
When I ran

$sudo e2fsck -c -c -f -v /dev/sdb7

I am getting a lot of errors such as

Error reading block 18022401 (Attempt to read block from filesystem resulted 
in short read) while reading inode and block bitmaps.  Ignore errory? yes
Force rewritey? yes
Error reading block 19562497 (Attempt to read block from filesystem resulted 
in short read) while reading inode and block bitmaps.  Ignore errory? yes
Force rewritey? yes
Error reading block 19824640 (Attempt to read block from filesystem resulted 
in short read) while reading inode and block bitmaps.  Ignore errory? yes
Force rewritey? yes
Error reading block 19824641 (Attempt to read block from filesystem resulted 
in short read) while reading inode and block bitmaps.  Ignore errory? yes
Force rewritey? yes

1) Does this mean there are badblocks on my hard drive?
2) Am I correct in choosing yes to both these questions or is there a 
better way?
3) Is the drive going bad and need to be replaced?
4) What might have caused this problem and how to prevent it in the future?
5) Is the filesystem on this partition corrupted?

thanks
raju

-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/k1ih6e$ui$1...@ger.gmane.org



Re: sometimes space does not work in knode

2012-08-22 Thread Kamaraju S Kusumanchi
Martin Steigerwald wrote:

 Am Montag, 13. August 2012 schrieb Kamaraju S Kusumanchi:
 I am using a mixture of stable + testing (Squeeze + Lenny), knode
 version  4.4.11, KDE 4.8.4,
 
 I hope you aren´t serious or there is a typo in above. In a way that means
 that there is no Lenny involved ;).
 
 Anyway, in the state of development, I do not recommend mixing Squeeze
 with Wheezy or Sid, but using Wheezy directly.
 
 Ciao,

Sorry, that should have been mixture of stable + testing (Squeeze 
+Wheezy).

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/k12csu$h1j$1...@ger.gmane.org



Re: sometimes space does not work in knode

2012-08-20 Thread Kamaraju S Kusumanchi
Kamaraju S Kusumanchi wrote:

 I am using knode as the news reader to read messages from this group via
 gmane. I can use some help regarding the following issue.
 
 If I am in the middle/beginning of a message, I can keep pressing space to
 go to the end of the message and the next space key displays the next
 message. Very convenient!
 
 However, if I use mouse to scroll all the way down to the end of the
 message and press space key, nothing happens. It does not advance to the
 next message. I am not sure if this is a feature or a bug. Is any one else
 able to reproduce this? Is there a way to get around this and make space
 advance to the next message all the times?
 

This is now reported as https://bugs.kde.org/show_bug.cgi?id=305531 .

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/k0v0gk$9ku$1...@ger.gmane.org



Re: sometimes space does not work in knode

2012-08-20 Thread Kamaraju S Kusumanchi
Camaleón wrote:

 However, if I use mouse to scroll all the way down to the end of the
 message and press space key, nothing happens. It does not advance to the
 next message. I am not sure if this is a feature or a bug. Is any one
 else able to reproduce this? Is there a way to get around this and make
 space advance to the next message all the times?
 
 (...)
 
 I don't get that behaviour although I'm using a different set of tools
 (Lenny, GNOME and Pan as newsreader) but indeed, what you describe it
 works fine here.
 

Could you please elaborate...

When you say it works fine here, does it mean that knode under GNOME does 
not have this problem or Pan under GNOME does not have this problem? What 
version of knode have you tested this?

thanks
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/k0v0kp$9ku$2...@ger.gmane.org



sometimes space does not work in knode

2012-08-12 Thread Kamaraju S Kusumanchi
I am using knode as the news reader to read messages from this group via 
gmane. I can use some help regarding the following issue.

If I am in the middle/beginning of a message, I can keep pressing space to 
go to the end of the message and the next space key displays the next 
message. Very convenient!

However, if I use mouse to scroll all the way down to the end of the message 
and press space key, nothing happens. It does not advance to the next 
message. I am not sure if this is a feature or a bug. Is any one else able 
to reproduce this? Is there a way to get around this and make space advance 
to the next message all the times?

I am using a mixture of stable + testing (Squeeze + Lenny), knode version 
4.4.11, KDE 4.8.4, 

$uname  -a
Linux kusumanchi.mae.cornell.edu 3.0.0-1-686-pae #1 SMP Sat Aug 27 16:41:03 
UTC 2011 i686 GNU/Linux

thanks
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/k09sqd$a79$1...@dough.gmane.org



Re: OT Seach for Elaborate Address Book Program

2012-06-02 Thread Kamaraju S Kusumanchi
Thomas H. George wrote:
 
 Any suggestions of other programs to consider?
 

I am just using gmail contacts and it satisfies my day-to-day needs for an 
addressbook. Also, it is integrated with google voice. So making calls, 
linking email IDs, phone numbers etc., is super easy. Since it is web based, 
it is available on any computer with internet connection.

I am aware that not everyone is comfortable storing their information in 3rd 
party servers. But I have not really found an open source alternative that 
offers this many features. So I am sticking with it (at least for now).

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/jqei7f$vvk$1...@dough.gmane.org



Re: data recovery tools for debian (command line)

2012-05-15 Thread Kamaraju S Kusumanchi
Muhammad Yousuf Khan wrote:

 On Thu, May 10, 2012 at 11:01 AM, J. Bakshi baksh...@gmail.com wrote:
 On Thu, 10 May 2012 10:49:28 +0500
 Muhammad Yousuf Khan sir...@gmail.com wrote:

 if i mistakenly delete any partition or OS or HD corrupted. what is
 the best tool that i can use to recover the data in these situations.


 de-rescue for corrupted HD. But don't know about recovering deleted data.
 I'm also interested in the same topic.
 
 testdisk
 
 http://www.howtoforge.com/data_recovery_with_testdisk
 
 seems good but haven't tested yet.
 

First of all, make backups regularly. Make the process automated.

As for the testdisk, I have used it before and it is AWESOME. 

The short story is that I screwed up the partition table of my laptop which 
resulted in an unbootable system. I used testdisk to restore the partition 
table. All the gory details, screenshots and what not are at my blog 
http://malayamaarutham.blogspot.com/2010/08/recover-accidentally-
overwritten.html

hope that helps
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/jouu3b$861$1...@dough.gmane.org



Re: OT: Need help compiling C files

2012-04-12 Thread Kamaraju S Kusumanchi
T Elcor wrote:

 --- On Tue, 4/10/12, Kumar Appaiah a.ku...@alumni.iitm.ac.in wrote:
 
 It works for me.
 
 Please try sudo apt-get install build-essential and then try
 again; the
 headers might not be present.
 
 I'm on Wheezy, installing build-essential appears to be a bit problematic:
 
 # aptitude install make gcc build-essential
 The following NEW packages will be installed:
   build-essential bzip2{a} dpkg-dev{a} g++{a} g++-4.6{a} libc-dev-bin{a}
   libc6-dev{a} libclass-isa-perl{a} libdpkg-perl{a}
   libfile-fcntllock-perl{a} libstdc++6-4.6-dev{a} libswitch-perl{a}
   libtimedate-perl{a} linux-libc-dev{a}
 The following packages will be upgraded:
   perl perl-base perl-modules
 The following packages are RECOMMENDED but will NOT be installed:
   fakeroot libalgorithm-merge-perl manpages-dev
 3 packages upgraded, 14 newly installed, 0 to remove and 16 not upgraded.
 Need to get 23.8 MB of archives. After unpacking 35.2 MB will be used.
 The following packages have unmet dependencies:
  libtext-charwidth-perl : Depends: perlapi-5.12.4 which is a virtual
  package. libuuid-perl : Depends: perlapi-5.12.3 which is a virtual
  package. libdbi-perl : Depends: perlapi-5.12.3 which is a virtual
  package. liblocale-gettext-perl : PreDepends: perlapi-5.12.4 which is a
  virtual package. libdbd-mysql-perl : Depends: perlapi-5.12.4 which is a
  virtual package. libperl5.12 : Depends: perl-base (= 5.12.4-6) but
  5.14.2-9 is to be installed. libtext-iconv-perl : Depends: perlapi-5.12.4
  which is a virtual package.
 The following actions will resolve these dependencies:
 
  Remove the following packages: list of 144 packages

Do an apt-get update and then try the apt-get install make gcc build-
essential command?

-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/jm80cs$hur$1...@dough.gmane.org



OT: cannot copy text from matlab to putty

2012-01-16 Thread Kamaraju S Kusumanchi
After logging into a windows 7 machine, I connect to a Debian stable machine 
by ssh via putty (0.62). Now I fire up matlab (7.9.1.671 R2009b) from the 
Linux machine.

The problem is that I am not able to copy any text from Matlab's command 
window to vim/shell (opened via putty ssh connection to the Linux box). The 
copying does not work to any other windows application (ex:- outlook) 
either.

FWIW, I am able to copy text from shell/vim/outlook to Matlab's command 
window. So, the problem is just one way.

I am using xming 6.9.0.31 as the X server.

I tried looking in google but is of no help. Any other comments/suggestions 
to look into before I give up?

thanks
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/jf2k39$292$1...@dough.gmane.org



Re: OT: cannot copy text from matlab to putty

2012-01-16 Thread Kamaraju S Kusumanchi
Scott Ferguson wrote:

 Please don't CC: the newsgroup that copies this list, it's redundant, so
 please don't send copies of the original to copies of the original.

No Idea what you are talking about. I am using gmane to post the message. 
When I look in http://lists.debian.org/debian-user/2012/01/msg01297.html , I 
do not see any CC. Care to elaborate?

 On 17/01/12 12:49, Kamaraju S Kusumanchi wrote:
 After logging into a windows 7 machine, I connect to a Debian stable
 machine by ssh via putty (0.62). Now I fire up matlab (7.9.1.671 R2009b)
 from the Linux machine.
 
 The problem is that I am not able to copy any text from Matlab's command
 window to vim/shell (opened via putty ssh connection to the Linux box).
 The copying does not work to any other windows application (ex:- outlook)
 either.
 
 So the problem is that you cannot copy text from the linux session
 (client) to the Windoof session (host) through the Putty session. Yes?
 

Not exactly. The problem occurs with matlab command window. I can copy paste 
text between vim sessions, vim and shell, shell and outlook. Here vim, shell 
are opened via putty by sshing into the Linux box.

 
 I tried looking in google but is of no help.
 
 Someone typed google into google and broke the internet. It was
 rebooted moments ago.
 [*1]
 https://www.google.com/search?q=putty+copying+text+from+linux
 

This does not help much. The usual copy pasting is not a problem. The 
problem is the specific case of copying from matlab command window to 
another putty session or to a windows application.

thanks
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/jf2p9v$v1g$1...@dough.gmane.org



Re: OT: cannot copy text from matlab to putty

2012-01-16 Thread Kamaraju S Kusumanchi
Scott Ferguson wrote:

 Care to elaborate?
 
 
From the header:-
 
 To: debian-user@lists.debian.org
 From: Kamaraju S Kusumanchi raju.mailingli...@gmail.com
 Subject: OT: cannot copy text from matlab to putty
 Followup-To: gmane.linux.debian.user
 
 
 Which means debian-user list subscribers replying have remove the:-
 CC: gmane.linux.debian.user
 
 It's common for people to post from gmane. Adding the Followup is not.
 (in the 28967 posts in my debian-user Inbox it's happened twice - both
 from you).
 

Sorry about that. I am using knode to post. It is adding the Followup-To 
header when composing a message. I have deleted it manually for now. Let me 
know if this worked.

 
 On 17/01/12 12:49, Kamaraju S Kusumanchi wrote:
 After logging into a windows 7 machine, I connect to a Debian
 stable machine by ssh via putty (0.62). Now I fire up matlab
 (7.9.1.671 R2009b) from the Linux machine.
 
 From or On?
 It's unclear what port of Matlab you are running. Windoof or Linux?

matlab command is issued on the Linux machine. The windows are displayed via 
xming on the windows 7 machine.

 
 The problem is that I am not able to copy any text from Matlab's
 command window to vim/shell (opened via putty ssh connection to
 the Linux box). The copying does not work to any other windows
 application (ex:- outlook) either.
 
 So the problem is that you cannot copy text from the linux session
 (client) to the Windoof session (host) through the Putty session.
 Yes?
 
 
 Not exactly. The problem occurs with matlab command window. I can
 copy paste text between vim sessions, vim and shell, shell and
 outlook.
 
 
 Is this a single Putty session you are talking about?
 
 

The effect is the same whether it is the same or different putty sessions.

 I have no problems copying commands within ssh sessions or across
 different ssh sessions, including to matlab. (Debian Squeeze)
 
 I've never tried using Windoof 7 and Putty to access Matlab.

Well, I think this one is a corner case. There are 4 things involved here 
windows + xming + putty + matlab. One of them does not speak to the others 
properly.


-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/jf2vse$19c$1...@dough.gmane.org



port direction definition

2011-12-26 Thread Kamaraju S Kusumanchi
I have laptop - router - internet. The router is Westell A90-750015-07. I 
am using Verizon DSL High Speed Internet.

I have set up the apache server on port 8088. It works internally but not 
externally. So http://192.168.1.21:8088 works. However, I am not able to 
access the site if I try http://192.168.1.1:8088 or 
http://72.88.231.219:8088


I tried to set up the port forwarding in the router, but this process is 
very confusing.

Consider these snapshots for example...
snapshot1.jpeg - 
https://docs.google.com/open?id=0B4J6QB3eL1ZZYTcyNzNjNTYtZDY5OC00YTMzLWIxM2YtYTVmMTZkZjk3YmRh
snapshot2.jpeg - 
https://docs.google.com/open?id=0B4J6QB3eL1ZZMzc3NWY1OTItMjYxMi00M2VmLThjMjEtNDRiZTc2ZDM4YTM3
snapshot3.jpeg - 
https://docs.google.com/open?id=0B4J6QB3eL1ZZM2Y4MzBjNDMtOTM4Yy00NmU4LTliZGEtMjkzMzJlYzk2NDAw


In the router configuration (192.168.1.1), I chose Firewall Settings - 
Port Forwarding and I get snapshot1.jpeg. I then choose Add. This gives 
snapshot2.jpeg. There is no rule relevant to forwarding of http packets, so 
I click on create which gives snapshot3.jpeg.

In snapshot3.jpeg, the field (1) Enter a name for the custom service: can 
be any random name. But what about (2)? Should I choose Port Forwarding 
or 
Port Triggering. 

The options in section 3 of snapshot3.jpeg are even more confusing. Under 
the Protocol, there are three options - tcp, udp, both. I guess I should 
choose both?

For Global PortStart, Global PortEnd should I choose 8088?
For Base HostPort, should I choose 8088?
What about Direction? In/Out?
If the Direction is In, then Port Direction can only be Dst.
If the Direction is Out, then Port Direction can be Dst or Src. Which 
Port direction should I choose?


Thanks for any help. This is utterly confusing to me. No amount of googling 
helped me. There is no help page for this router. Did anyone get this 
working or is my best choice to buy another router?

thanks for any help
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/jda0il$or9$1...@dough.gmane.org



Re: port direction definition

2011-12-26 Thread Kamaraju S Kusumanchi
 Bob Proulx wrote:

 Kamaraju S Kusumanchi wrote:
 In snapshot3.jpeg, the field (1) Enter a name for the custom service:
 can be any random name. But what about (2)? Should I choose Port
 Forwarding or Port Triggering.
 
 Select Port Forwarding.  Port Triggering is used to dynamically make a
 selection based upon outbound activity.  But in this case you want to
 make a static configuration.

I followed yours and Andrei's suggestion and it worked like a charm. I chose 
Port Forwarding, Protocol=both, Global PortStart=8088, Global 
PortEnd=8088, BaseHostPort=8088, Direction=In. Then assigned this service to 
my laptop.

 What about Direction? In/Out?
 If the Direction is In, then Port Direction can only be Dst.
 If the Direction is Out, then Port Direction can be Dst or Src. Which
 Port direction should I choose?
 
 That is very confusing to me.  I vote to select In.  But I do not
 understand why it would provide an option for Out.
 
 After setting this up it is possible that the port forwarding will
 only work from the external network inbound to your internal network.
 That is, testing from your internal network may not be possible.  This
 is because it would require your packages to exit your internal
 network, then be translated through the NAT function of your router to
 the external router address, then the router would need to realize
 that it matches the external router address and route it back down the
 same interface.  That feature is often not allowed.
 
 Meaning that you will only be able to test if this is working from an
 external network.  I often do this using an ssh connection to a text
 terminal and then using lynx, w3m, or elinks to poke at the web site.

You are absolutely right. It does not work internally but if I go to an 
external machine and view the website it works. I've previously tried the 
same configuration but I was always testing it internally. So, it looked as 
if it did not work.

Thanks for all the help.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/jdakcn$bl0$1...@dough.gmane.org



Re: port direction definition

2011-12-26 Thread Kamaraju S Kusumanchi
Andrei Popescu wrote:
 
 For Global PortStart, Global PortEnd should I choose 8088?
 For Base HostPort, should I choose 8088?
 
 Yes. Note: since I have to mess with the ports when doing the port
 forwarding I prefer to let the service always run on it's default port.
 Makes things easier in a lot of cases.
 

The various posts on the internet suggested that Verizon blocks port 80. To 
eliminate that, I was using 8088. I just now checked... the web server works 
on port 80 too!

Thanks for all the help.
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/jdal5h$hgt$1...@dough.gmane.org



OT: recommend a book for lamp

2011-12-24 Thread Kamaraju S Kusumanchi
I know a little bit about Linux but nothing about apache, mysql and php 
(other than installing the corresponding debian packages). Can you please 
recommend a book that covers all these topics so I can get a simple website 
up and running by the end of reading it?

I was looking in amazon and found this interesting - 
http://www.amazon.com/Open-Source-Development-LAMP-Apache/dp/020177061X . 
But this was written in Dec 17, 2002. Considering that it was published 9 
years ago, the content is outdated(?) and may be I need something new? Any 
idea?

There seem to be good references on each topic... is that the route to take? 
If so, what do you recommend for each?

thanks in advance
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/jd4re8$a1i$1...@dough.gmane.org



which package owns /usr/lib/vlc/plugins-04041e-28.dat

2011-11-20 Thread Kamaraju S Kusumanchi
$ls -al /usr/lib/vlc/plugins-04041e-28.dat 
-rw-r--r-- 1 root root 382472 Jul  4 16:57 
/usr/lib/vlc/plugins-04041e-28.dat

$dpkg -S /usr/lib/vlc/plugins-04041e-28.dat
dpkg-query: no path found matching pattern 
/usr/lib/vlc/plugins-04041e-28.dat.

$dpkg -S plugins-04041e-28.dat
dpkg-query: no path found matching pattern *plugins-04041e-28.dat*.

$dpkg -l \*vlc\* 
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-
pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version  Description
+++---

un  libvlc0  none   (no 
description available)
un  libvlc5  none   (no 
description available)
un  libvlccore4  none   (no 
description available)
un  mozilla-plugin-vlc   none   (no 
description available)
un  phonon-backend-vlc   none   (no 
description available)
un  vlc  none   (no 
description available)
un  vlc-data none   (no 
description available)
un  vlc-nox  none   (no 
description available)
un  vlc-plugin-notifynone   (no 
description available)
un  vlc-plugin-pulse none   (no 
description available)

Does any one know where this file is coming from? It smells like some 
package installed it but failed to remove it when that package is 
subsequently installed. I'd like to file a bug. But not sure on the package 
name.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/jablqf$rkp$1...@dough.gmane.org



figuring out sound device?

2011-07-31 Thread Kamaraju S Kusumanchi
I want to extract sound from a youtube video (I dont care about the video 
part, only sound). I did

$ ffmpeg -i /dev/dsp -o /tmp/song.mp3

However that does not seem to work because I do not know how to tell ffmpeg 
that the video has finished and give me the output.

If I press ctrl-c, the command gets killed.
ctrl-d does not seem to have any effect.

thanks
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/j14i9g$an8$1...@dough.gmane.org



Re: get package name from file name

2011-07-07 Thread Kamaraju S Kusumanchi
Wolodja Wentland wrote:

 On Thu, Jul 07, 2011 at 10:22 +0100, Joao Ferreira Gmail wrote:
 how can I tell which package installs a given file ?
 something like:
 
 # find-package-from-file /usr/lib/libxml2.so.2
 libxml2
 
 As always there are multiple to do this :)
 
 * dpkg -S /path/to/file
 * apt-file search /path/to/file
 * dlocate -S /path/to/file

another way is 
wajig whichpkg /path/to/file

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/iv5mvs$ih6$1...@dough.gmane.org



OT: quoting variable names in shell scripts

2011-07-06 Thread Kamaraju S Kusumanchi
Consider the following shell script

$cat manual_listing.sh  

   
#! /bin/sh

# stanza 1
for i in kama raju k a m a r a j u
do
echo $i
done

# stanza 2
names='kama raju'
for i in $names
do
echo $i
done


If I run this, I get
$./manual_listing.sh

  
kama
raju
k a m a
r a j u
kama
raju

I am wondering if there is a way to rewrite the names variable in stanza2 
such that the output from stanza 1 and stanza 2 are the same.

thanks in advance
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/iv38q5$a33$1...@dough.gmane.org



no network after hibernate

2011-05-09 Thread Kamaraju S Kusumanchi
I am using Debian squeeze on Dell Inspiron E1505 laptop.

When I boot from scratch, the network works fine. However, if I do sudo 
hibernate and reboot, the network does not come up automatically. I have to 
do /etc/init.d/networking restart every time I resume from hibernation. It 
works after that.

Any ideas/suggestions on how to rectify this?

$cat /etc/network/interfaces | grep -v ^# | grep -v ^$  

auto lo
iface lo inet loopback
auto wlan0
iface wlan0 inet dhcp
wpa-conf managed
wpa-ssid munge1
wpa-key-mgmt WPA-PSK
wpa-psk munge2


Here are the relevant (I think) stanza's on network configuration from lshw

   *-network
description: Wireless interface
product: PRO/Wireless 3945ABG [Golan] Network Connection
vendor: Intel Corporation
physical id: 0
bus info: pci@:0b:00.0
logical name: wlan0
version: 02
serial: 00:13:02:9e:cc:1b
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet 
physical wireless
configuration: broadcast=yes driver=iwl3945 ip=192.168.1.21 
latency=0 multicast=yes wireless=IEEE 802.11abg
resources: irq:27 memory:dfcff000-dfcf


   *-network DISABLED
description: Ethernet interface
product: BCM4401-B0 100Base-TX
vendor: Broadcom Corporation
physical id: 0
bus info: pci@:03:00.0
logical name: eth0
version: 02
serial: 00:15:c5:19:9c:1a
capacity: 100MB/s
width: 32 bits
clock: 33MHz
capabilities: pm bus_master cap_list ethernet physical mii 
10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=b44 
driverversion=2.0 latency=64 link=no multicast=yes port=twisted pair
resources: irq:17 memory:df9fe000-df9f



thanks
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/iq8m5h$slr$1...@dough.gmane.org



Re: no network after hibernate

2011-05-09 Thread Kamaraju S Kusumanchi
Brian wrote:

 On Mon 09 May 2011 at 08:20:00 -0400, Kamaraju S Kusumanchi wrote:
 
 $cat /etc/network/interfaces | grep -v ^# | grep -v ^$
 auto lo
 iface lo inet loopback
 auto wlan0
 iface wlan0 inet dhcp
 wpa-conf managed
 wpa-ssid munge1
 wpa-key-mgmt WPA-PSK
 wpa-psk munge2
 
 I think the wpasupplicant/ifupdown framework does not support the option
 'wpa-conf managed'.  Remove it and see how you go on.

I removed the 'wpa-conf managed' line from the interfaces file. The problem 
still remains. Any other suggestions?

thanks
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/iqae60$i0l$1...@dough.gmane.org



Re: Command history

2011-04-27 Thread Kamaraju S Kusumanchi
shawn wilson wrote:

 Is there a way to have a command that does not show up in history? Or a
 way to pipe a string where the string doesn't show up in history?
 
 Ie, I set some passwords with:
 echo some string and stuff ¦ sha512sum
 (Probably with cut and awk and other such things)
 
 And I'd like a way for my system to not store my password scheme. I'd
 prefer something better than editing my history file.

In bash, If I prepend the command with a space character, it does not show 
up in the ~/.bash_history file.

hth
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/ipa8lt$efi$1...@dough.gmane.org



Could not initiate GoogleTalkPlugin connection

2011-04-27 Thread Kamaraju S Kusumanchi
In order to get the video chat facility in gmail chat, I downloaded the 
plugin from http://www.google.com/chat/video?hl=en . The file name is 
google-talkplugin_current_i386.deb .

$dpkg -l google\* | grep ^ii
ii  google-talkplugin2.0.6.0-1Google Talk 
Plugin

However, when I start gmail in iceweasel (3.5.16-6), the console screen is 
full of the following errors


028:683] Warning(clientchannel.cc:553): Unreadable or no port file.  Could 
not initiate GoogleTalkPlugin connection
[028:684] Warning(clientchannel.cc:396): Could not initiate GoogleTalkPlugin 
connection
[028:684] Waiting for GoogleTalkPlugin to start...

Has anyone got the google talk  plugin working in Debian? Any 
ideas/suggestion/comments are most welcome.

thanks
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/ipajv9$51e$1...@dough.gmane.org



Re: list all the devices connected to the router

2011-04-26 Thread Kamaraju S Kusumanchi
bruno wrote:

 Kamaraju S Kusumanchi wrote:
 I connect my PCs to internet via Verizon DSL router. When I go to
 192.168.1.1 in a browser (say firefox), I am able to see all the
 computers connected to this router.
 
 However, from command line is there any way to probe for the list of IP
 addresses of all the machines connected to the router?
 
 thanks
 
 Try this :
 
 arpscan -l

$arp-scan -l
pcap_lookupdev: no suitable device found

-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/ip6c3c$ad7$1...@dough.gmane.org



weather program not working anymore

2011-04-25 Thread Kamaraju S Kusumanchi
Using Debian Squeeze. In my .weatherrc, I have the following stanza

[home]
City = Newark
Forecast = True
ID = KEWR
St = NJ

However, if I do

$weather home   
   
weather: error: failed to retrieve
   http://weather.noaa.gov/pub/data/forecasts/city/nj/newark.txt
   HTTPError: HTTP Error 404: Not Found


It used to work before. But the website seems to be broken now. Does anyone 
know of a fix?

$dpkg -l weather-util   
   
ii  weather-util1.5-1   command-line tool to 
obtain weather conditions and forecasts

thanks
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/ip33jo$p7s$1...@dough.gmane.org



Re: weather program not working anymore

2011-04-25 Thread Kamaraju S Kusumanchi
Dom wrote:

 On 25/04/11 07:16, Kamaraju S Kusumanchi wrote:
 
 I just had a look at the Weather homepage:
 http://fungi.yuggoth.org/weather/
 
 and it looks like the format of the request and data has changed. There
 is a partial fix on that page, and a new version of Weather is being
 worked on. No idea when that might filter into Debian, if it makes it
 into Squeeze at all.
 
 Looks like you have to specify location by state zone number, rather
 than city.
 
 Hope that helps a bit.

It helps. Thanks.
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/ip3n6j$gld$1...@dough.gmane.org



list all the devices connected to the router

2011-04-24 Thread Kamaraju S Kusumanchi
I connect my PCs to internet via Verizon DSL router. When I go to 
192.168.1.1 in a browser (say firefox), I am able to see all the computers 
connected to this router.

However, from command line is there any way to probe for the list of IP 
addresses of all the machines connected to the router?

thanks
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/ip1kg7$juc$1...@dough.gmane.org



RE: list all the devices connected to the router

2011-04-24 Thread Kamaraju S Kusumanchi
shawn wilson wrote:

 sense no one has mentioned it yet - nmap -sP 192.168.1.*

Thanks for the nmap command. This lists some of the machines but not all. 
For example, when I look at 192.168.1.1 in a web browser I see that the 
router is connected to 192.168.1.36 . However, it does not show up in the 
nmap output.

$nmap -sP 192.168.1.*

Starting Nmap 5.00 ( http://nmap.org ) at 2011-04-24 19:44 EDT
Host dslrouter.westell.com (192.168.1.1) is up (0.0011s latency).
Host D76PB4B1.westell.com (192.168.1.21) is up (0.00049s latency).
Nmap done: 256 IP addresses (2 hosts up) scanned in 2.45 seconds

The 192.168.1.36 is my vonage phone connection. I am unable to ping it 
either. However, my phone works so the connection must be alive.

Any other ideas?
thanks
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/ip2cpm$1ge$1...@dough.gmane.org



Re: no popup window with kdialog

2011-01-23 Thread Kamaraju S Kusumanchi
godo wrote:

 Forgot to say, I have the same version.
 Maybe some conflict with Lenny-Squeeze?
 

I also think it is a conflict between Lenny and Squeeze's KDE configuration 
files. But I just do not know which files to delete. I do not want to delete 
the whole ~/.kde just for this.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/ihiiab$36f$1...@dough.gmane.org



Re: no popup window with kdialog

2011-01-23 Thread Kamaraju S Kusumanchi
godo wrote:

 
 I also think it is a conflict between Lenny and Squeeze's KDE
 configuration files. But I just do not know which files to delete. I do
 not want to delete the whole ~/.kde just for this.

 raju
 Can you open another account and safely experiment?
 Or install clean Squeeze in VM?
 I am not expert at all but I don't think that have something with your
 ~/.kde, I think it has to be something with KDE library.
 

On this machine, I already upgraded the KDE packages to squeeze. Even then 
the window was not popping up.

However, A reboot fixed the problem. So, I am guessing that, during the 
reboot, the new KDE libraries got loaded which must have fixed the issue.

thanks
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/ihimbm$hbd$1...@dough.gmane.org



no popup window with kdialog

2011-01-22 Thread Kamaraju S Kusumanchi
$kdialog --version  

Qt: 4.6.3
KDE Development Platform: 4.4.5 (KDE 4.4.5)
KDialog: 1.0

Previously, if I do

$kdialog --yesno 'raju'

a window pops up with two buttons ('yes', 'no'). But now, I am not seeing 
any windows. The program just seems to hang. Any idea as to what might be 
happening?

Using a mix of Lenny and Squeeze.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/ihgmof$1de$1...@dough.gmane.org



Re: map '-' to '_' and '_' to '-'

2010-11-13 Thread Kamaraju S Kusumanchi
Cameron Hutchison wrote:

 The X11 keysyms for these characters are minus and underscore. If
 you run xmodmap -pke | grep underscore you should see which keycode has
 these keysyms mapped.
 
 For me, this is:
 $ xmodmap -pke | grep underscore
 keycode  20 = minus underscore minus underscore
 
 I suspect that's a standard keyboard keycode so you'll get the same
 results, but run it anyway to be sure.
 
 You can remap this like so:
 $ xmodmap -e keycode  20 = underscore minus underscore minus
 
 That swaps minus and underscore.

Yes. This works and it is just great. Is there a solution when the machine 
does not run X?

thanks
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/ibmvp2$v9...@dough.gmane.org



map '-' to '_' and '_' to '-'

2010-11-12 Thread Kamaraju S Kusumanchi
While working on my Debian box (which btw is a mix of Lenny and Squeeze), I 
find that I type the underscore character ('_') more often than the dash 
character ('-'). It could be file names, variable names while writing code 
etc.,

Typing '_' involves holding the shift key while typing '-' does not involve 
any. I am wondering if there is a way at the OS (or shell) level solution to 
remap '-', '_' one to another so that typing '_' does not involve holding 
shift key but typing '-' does.

Any ideas/comments/suggestions/pointers etc.,?

thanks
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/ibis8b$4d...@dough.gmane.org



Re: getting rid of errors in Xorg.0.log

2010-11-05 Thread Kamaraju S Kusumanchi
Andrei Popescu wrote:
 
 ii  xserver-xorg-video-radeon1:6.13.1-2
 X.Org X server -- AMD/ATI Radeon display driver
 
 You need a newer kernel, probably the one from squeeze.

Could you please elaborate why I need a new kernel? Where is the 
incompatibility?

thanks
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/ib1vth$t9...@dough.gmane.org



Re: Mozilla products in Debian (was: A question for the list:)

2010-11-05 Thread Kamaraju S Kusumanchi
Klistvud wrote:

 Dne, 05. 11. 2010 15:10:44 je Boyd Stephen Smith Jr. napisal(a):
 
 No.  That's NOT what those who know and love Debian stable want.  The
 lack of
 upstream changes is one of the main reasons I use stable on servers.
 
 +1
 You can say that again.
 

+2

Seriously! I do not understand people's itch to install the latest version. 
Just because it has a high version number does not mean it is more secure.

regards
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/ib20ge$t9...@dough.gmane.org



getting rid of errors in Xorg.0.log

2010-11-02 Thread Kamaraju S Kusumanchi
Can someone please help me on how to configure X to get rid of the following 
errors.

$ grep EE /var/log/Xorg.0.log
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(II) Loading extension MIT-SCREEN-SAVER
(EE) open /dev/fb0: No such file or directory
(EE) RADEON(0): [dri] RADEONDRIGetVersion failed to open the DRM
(EE) GLX error: Can not get required symbols.
(EE) SynPS/2 Synaptics TouchPad Unable to query/initialize Synaptics 
hardware.
(EE) PreInit failed for input device SynPS/2 Synaptics TouchPad



Entire /var/log/Xorg.0.log is uploaded to http://pastebin.com/bzM3PBJF


$uname -a
Linux kusumanchi.mae.cornell.edu 2.6.26-2-686 #1 SMP Thu Sep 16 19:35:51 UTC 
2010 i686 GNU/Linux

Using a combination of Lenny and Squeeze. Machine is Dell Inspiron E1505 .


$lspci | grep VGA
01:00.0 VGA compatible controller: ATI Technologies Inc M52 [Mobility Radeon 
X1300]


$dpkg -l \*radeon\* \*glx\* \*fb0\* \*fglrx\* | grep ^ii
ii  fglrx-atieventsd 1:10-7-1 
external events daemon for the non-free AMD/ATI r6xx - r7xx display driver
ii  fglrx-driver 1:10-7-1 
non-free AMD/ATI r6xx - r7xx display driver
ii  fglrx-glx1:10-7-1 
proprietary libGL for the non-free AMD/ATI r6xx - r7xx display driver
ii  fglrx-kernel-2.6.26-2-6861:10-7-1+2.6.26-25lenny1 
ATI binary kernel module for Linux 2.6.26-2-686
ii  fglrx-source 1:10-7-1 
kernel module source for the non-free AMD/ATI r6xx - r7xx display driver
ii  libdrm-radeon1   2.4.21-1~squeeze3
Userspace interface to radeon-specific kernel DRM services -- runtime
ii  radeontool   1.6.1-1  
utility to control ATI Radeon backlight functions on laptops
ii  xserver-xorg-video-radeon1:6.13.1-2   
X.Org X server -- AMD/ATI Radeon display driver
No packages found matching *fb0*.


$cat /etc/X11/xorg.conf | grep -v '#' | grep -v '^$'


Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  XkbRules  xorg
Option  XkbModel  pc104
Option  XkbLayout us
EndSection
Section InputDevice
Identifier  Configured Mouse
Driver  mouse
EndSection
Section Device
Identifier  Configured Video Device
EndSection
Section Monitor
Identifier  Configured Monitor
EndSection
Section Screen
Identifier  Default Screen
Monitor Configured Monitor
EndSection


thanks
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/iaqfbn$la...@dough.gmane.org



Re: wireless quits every few hours

2010-09-18 Thread Kamaraju S Kusumanchi
John wrote:

 I wonder why the linux driver for one of the oldest standard wifi
 cards (Cisco aironet) doesn't work properly, but Windows does.  Don't
 see that too often.
 
 John

If there is room for experimentation, I'd install a newer kernel and see if 
the problem goes away.

-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/i72lua$he...@dough.gmane.org



Re: wireless quits every few hours

2010-09-17 Thread Kamaraju S Kusumanchi
John wrote:

 Or, putting it another way, what can I type from the command line to
 do the same network restart as if I was rebooting.

After doing the ifup thing, run the following command (as root) and see if 
it helps.

# /etc/init.d/networking restart


-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/i71102$e7...@dough.gmane.org



Re: get rid of CTS protection mode enabled disabled messages

2010-09-11 Thread Kamaraju S Kusumanchi
Camaleón wrote:

 On Fri, 10 Sep 2010 20:15:48 -0400, Kamaraju S Kusumanchi wrote:
 
 My dmesg is full of the following messages
 
 [155328.289189] wlan0: CTS protection enabled (BSSID=00:23:97:5c:5f:e0)
 [155337.336369] wlan0: CTS protection disabled (BSSID=00:23:97:5c:5f:e0)
 
 (...)
 
 Check out this:
 
 http://forums.debian.net/viewtopic.php?f=5t=45090#p256151
 
 Greetings,
 

In my case, I am using the wireless router supplied by Verizon. In its 
configuration pages (accessed via 192.168.1.1) , I could not locate the 
protection mode the link talks about. Any other ideas?


thanks
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/i6h0ts$vl...@dough.gmane.org



get rid of CTS protection mode enabled disabled messages

2010-09-10 Thread Kamaraju S Kusumanchi
My dmesg is full of the following messages

[155328.289189] wlan0: CTS protection enabled (BSSID=00:23:97:5c:5f:e0)
[155337.336369] wlan0: CTS protection disabled (BSSID=00:23:97:5c:5f:e0)
[155337.952081] wlan0: CTS protection enabled (BSSID=00:23:97:5c:5f:e0)
[155355.426435] wlan0: CTS protection disabled (BSSID=00:23:97:5c:5f:e0)
[155356.768337] wlan0: CTS protection enabled (BSSID=00:23:97:5c:5f:e0)
[155371.485725] wlan0: CTS protection disabled (BSSID=00:23:97:5c:5f:e0)
[155371.588766] wlan0: CTS protection enabled (BSSID=00:23:97:5c:5f:e0)
[155406.644610] wlan0: CTS protection disabled (BSSID=00:23:97:5c:5f:e0)
[155406.958732] wlan0: CTS protection enabled (BSSID=00:23:97:5c:5f:e0)

Does anyone know what should be done to get rid of these useless log 
messages?

$lsmod | grep iwl
iwl394578804  0 
mac80211  139808  1 iwl3945
led_class   3908  1 iwl3945
cfg80211   21608  2 iwl3945,mac80211
firmware_class  6816  2 iwl3945,pcmcia


$dpkg -l \*ipw\* \*iwl\* | grep ^ii 
  
ii  firmware-iwlwifi 0.26 
Binary firmware for Intel Wireless 3945, 4965 and 5000-series cards
ii  ipw3945-source   1.1.2-7  
Source for the Intel PRO/Wireless 3945ABG (ipw3945) driver

$uname -a
Linux kusumanchi.mae.cornell.edu 2.6.26-2-686 #1 SMP Mon Aug 30 07:01:57 UTC 
2010 i686 GNU/Linux

My wireless card is
   *-network
description: Wireless interface
product: PRO/Wireless 3945ABG [Golan] Network Connection
vendor: Intel Corporation
physical id: 0
bus info: p...@:0b:00.0
logical name: wmaster0
version: 02
serial: 00:13:02:9e:cc:1b
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list logical 
ethernet physical wireless
configuration: broadcast=yes driver=iwl3945 ip=192.168.1.21 
latency=0 multicast=yes wireless=IEEE 802.11
resources: irq:220 memory:dfcff000-dfcf


I am connected to internet wirelessly via verizon broadband router.

thanks
raju

-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/i6ehni$6g...@dough.gmane.org



Re: Debian updates worth to follow as a normal user

2010-08-25 Thread Kamaraju S Kusumanchi
s. keeling wrote:

 T o n g mlist4sunt...@yahoo.com:
 
  Where is the recommended place to read about Debian updates that would
  affect end users?
 
  For example, the recent massive update on the sid repo side, I know it
  is
 
 I think it's about this time that some jerk pipes up and says
 production machines serving users should be running stable, the raison
 d'etre of debian.  Sorry.
 

Here you go! Production machines serving users should be running stable! 
That's not a joke. There is a reason why Debian 'releases' stable.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/i54i77$lg...@dough.gmane.org



what is the difference between w95 FAT32 and w95 FAT32 (LBA)

2010-08-21 Thread Kamaraju S Kusumanchi
While running cfdisk, it lists various file system types. Is there a 
document which explains the difference between similar file systems?

In particular, if I want to have a windows XP type of filesystem, do I go 
with 07 HPFS/NTFS or 86 NTFS volume set or 87 NTFS volume set?

Similarly, If I want to create FAT32 partition so that I can exchange files 
between windows and Linux, should I go with 0B W95 FAT32 or w95 FAT32 
w95 FAT32 (LBA)

What are the advantages in choosing one over the other? I tried to google, 
/usr/share/doc/util-linux etc., but could not find anything useful.

thanks
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/i4pupo$e8...@dough.gmane.org



Re: what is the difference between w95 FAT32 and w95 FAT32 (LBA)

2010-08-21 Thread Kamaraju S Kusumanchi
Memnon Anon wrote:

 Kamaraju S Kusumanchi raju.mailingli...@gmail.com writes:
 
 While running cfdisk, it lists various file system types. Is there a
 document which explains the difference between similar file systems?
 [...]
 Similarly, If I want to create FAT32 partition so that I can exchange
 files between windows and Linux, should I go with 0B W95 FAT32 or w95
 FAT32 w95 FAT32 (LBA)

 What are the advantages in choosing one over the other? I tried to
 google, /usr/share/doc/util-linux etc., but could not find anything
 useful.
 
 One of the first google hits gave me this for fat32:
 

Interesting! I searched for

difference between w95 FAT32 and w95 FAT32 (LBA)

in google. All the results are pretty useless. What did you search for?

 ,-[http://forums.techguy.org/hardware/723781-fat-32-drive-size-
limitations.html]
 | In Linux the Fat32 has two types; Type b is for Win95 OSR2 Fat32 with a
 | partition up to 2047Mb and Type c is for LBA-mapped capable of 2Tb size.
 | 
 | The type b is for the early Win95 system and type c is for later Win95
 | and all Win98.
 `
 

thanks. That helps.
raju

-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/i4q74b$u6...@dough.gmane.org



konqueror media protocol not supported

2010-08-20 Thread Kamaraju S Kusumanchi
Using Squeeze, konqueror Version 4.4.5 (KDE 4.4.5).

If I do konqueror - F9 - click on storage media link in the left tab, an 
error pops up saying protocol not supported media

Anyone know how to fix that?

thanks
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/i4nal7$a7...@dough.gmane.org



Re: Software to handle bits and pieces of information.

2010-08-04 Thread Kamaraju S Kusumanchi
Gary Roach wrote:

 Hi;
 I could use some suggestions. I seem to collect a lot of snippets of
 information scribbled on pieces of paper, old napkins, etc. Examples are
 notes on harware, sources for stuff, notes on possible projects, book
 that I might want to buy in the future and on and on. This has generated
 numerous scraps of paper and sticky notes with the result that chaos
 reigns. I recently tried knotes which helped a lot but didn't cover
 tasks. I have now switched to Kontact. This takes care of scheduling
 things, projects and short term notes. I still am not sure what to do
 about those notes that could be around for a long time like maybe  a
 note on the proton boron fusion reaction energy . I may never use it
 but would like to be able to find the information if need be. I guess I
 need a repository for disparate information (how's that for fuzzy). I
 hope this makes some sense.
 
 Any suggestions.
 
 Gary R

I usually have a directory where I keep all the relevant note files. If
the information falls into a specific category (ex:- calendar based events,
todo stuff, where you stopped reading a particular book :-) etc.,) I'll
have a separate file.

If the information is a random tidbit (ex:- Capital of Libya is Tripoli
and for some weird reason you want to note that down :-)), I just use a
plain text file to jot it down. I normally have some conventions (ex: tags,
delimiters, content separators) within that file, so that I can write a
script to extract all the relevant information as and when needed (ex:-
give me all the tidbits related to Fortran language, all the research
papers written by a particular author). I guess you can use some database
query language if it becomes unmanageable... but I never had to go that
far.

It takes some time to set up this kind of stuff and come up with conventions
that work for your case. But I honestly believe that all you need is a good
editor like vim, grep and sometimes find. I am saying this after having
tried some GUI applications, applications where the information is stored
in a non-greppable format. YMMV.

hth
raju

-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/i3d0c4$fp...@dough.gmane.org



Re: When is best time to upgrade lenny to squeeze

2010-08-04 Thread Kamaraju S Kusumanchi
Jordan Metzmeier wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA256
 
 On 08/03/2010 08:57 PM, Kamaraju S Kusumanchi wrote:
 
 I always start upgrading well before the new release is made. I start by
 upgrading the packages that I use most of the time (ex:- iceweasel, vim,
 konsole, knode etc.,). That way if there is a problem I can report the
 bugs and have them fixed before the release is actually made.
 
 YMMV
 raju
 
 While this is beneficial to Debian, it is often not beneficial to the
 user (except for indirectly, since what benefits Debian, benefits the
 user). It would be best if this is done in a testing environment,
 outside of the actual production machine.
 

What do you do if you had access to just one machine (say your personal
laptop) and don't have the luxury of running multiple machines (one for
testing and one for production etc.,)? Sometimes, it is better/practical to
jump the wagon little bit ahead of time and do some testing, before
settling down with the stable version for the next 2-3 years.

If you are administering a system that is used by multiple users, then of
course, it makes sense to wait until a new stable version is officially
released.

hth
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/i3d0pj$gt...@dough.gmane.org



Re: When is best time to upgrade lenny to squeeze

2010-08-03 Thread Kamaraju S Kusumanchi
Johnny wrote:

 Hi
 I am sorry if someone has already has asked this ? on the list
 When is best time to upgrade from lenny to squeeze.
 I use my computer daily
 

I always start upgrading well before the new release is made. I start by
upgrading the packages that I use most of the time (ex:- iceweasel, vim,
konsole, knode etc.,). That way if there is a problem I can report the bugs
and have them fixed before the release is actually made.

YMMV
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


-- 
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/i3advk$ub...@dough.gmane.org



keeping the title of konsole window fixed

2009-10-26 Thread Kamaraju S Kusumanchi
Is there anyway to keep the title of the konsole window fixed?

I usually have multiple konsole terminals open. Each of them often contains
multiple tabs. I like to set the title of each konsole window manually and
do not want it to be changed dynamically. Is there any way?

I know that ctrl-alt-s can change the title of the tabs. I am looking for a
similar short cut for the whole konsole window. Possible?

Using Debian Lenny, KDE 3.5.10, Konsole 1.6.6

thanks in advance
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: Compiling libraries and gcc

2009-09-19 Thread Kamaraju S Kusumanchi
Marco Vittorini Orgeas wrote:

 I have read a lot about it, I tried also to export ,before issue the
 configure command, adjusted  CPPFLAGS,LDFLAGS,PKG_CONFIG_PATH pointing
 them respectively to folders under /opt/gtk/ /opt/glib etc...but it seems
 to have no effect (I read in another post that: LD_LIBRARY_PATH is  not
 needed when later running the built software due to libtool's use of
 rpaths).
 
 So,what is the right way to tell gcc (make) to use one or another library
 path when your system has two installed, one of which under /usr/lib and
 so will probably be used by default ?
 

I think LD_LIBRARY_PATH is what you are after. Also take a look at -B option
of gcc.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: Laptop getting so warm : (

2009-09-17 Thread Kamaraju S Kusumanchi
Hashimoto wrote:

 Hey,
 
 Thank you for your suggestion, I'm gonna check some other models of
 these laptop's base.
 
 But you also have a AMD processor?
 

Please refrain from top posting.

No, the machine has Intel T2500 2.0 GHz Dual Core.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: it tooks a long time to execute load an app

2009-09-17 Thread Kamaraju S Kusumanchi
abdelkader belahcene wrote:

 Hi everybody,
 I ve just install the new version of lenny (5.03),
 execution of any application tooks very long time, even a simple xterm. On
 the same machine other distro  or debian 5.0 is very faster.

Just a wild guess... Is your lo interface configured properly? What is the
output of ifconfig?

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: Laptop getting so warm : (

2009-09-13 Thread Kamaraju S Kusumanchi
Hashimoto wrote:
 
 What I'm wondering is if a device like this -
 http://www.atera.com.br/dispprod.asp?COD=CF6160H - can help me to solve
 this problem.
 
 What do you think ??


Sometime back, my laptop was getting heated up as well. I bought a targus
stand  http://www.targus.com/US/product_details.asp?sku=AWE09US to raise
the base of the laptop, improve the heat transfer. The stand is compact,
portable and foldable.

Using the stand at the bottom, a box fan at the back solved my heating
problems.

$acpitool -t
  Thermal zone 1 : ok, 45 C
  Trip points :
  -
  critical (S5):   126 C


I am in no way associated with Targus and I heartily recommend this option.

raju

-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: libc6-dev dependency issuse

2009-09-13 Thread Kamaraju S Kusumanchi
Mike Atkins wrote:

 I am trying to install gfortan, but I get a dependency issue with
 libc6-dev. I then tried to install libc6-dev by itself, but libc6-dev
 requires libc6 = 2.7-18, but I have libc6 = 2.9-4. Any ideas?
 
 Mike
Please post the contents of /etc/apt/sources.list

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: libc6-dev dependency issuse

2009-09-13 Thread Kamaraju S Kusumanchi
Mike Atkins wrote:

 When I originally installed lenny, I think I updated all packages with
 unstable inadvertantly enabled. I imagine this is the root of all evil. In
 order to force libc6 to revert to the stable version (through synaptic), I
 need to reinstall most of the system, so I went ahead and just installed
 the unstable libc6-dev.
 

You could have done something like

sudo apt-get install libc6-dev=2.7-18 gfortran=4:4.3.2-2

(I think) That will downgrade your libc6-dev, gfortran as necessary.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



syslog is full of wlan0: switched to short barker preamble

2009-09-07 Thread Kamaraju S Kusumanchi
My /var/log/syslog is full of messages such as

Sep  7 23:36:32 kusumanchi kernel: [279482.279985] wlan0: switched to short
barker preamble (BSSID=00:23:97:5c:5f:e0)
Sep  7 23:36:33 kusumanchi kernel: [279484.023153] wlan0: switched to long
barker preamble (BSSID=00:23:97:5c:5f:e0)
Sep  7 23:37:06 kusumanchi kernel: [279516.377165] wlan0: switched to short
barker preamble (BSSID=00:23:97:5c:5f:e0)
Sep  7 23:37:08 kusumanchi kernel: [279518.329976] wlan0: switched to long
barker preamble (BSSID=00:23:97:5c:5f:e0)
Sep  7 23:37:23 kusumanchi kernel: [279533.430694] wlan0: switched to short
barker preamble (BSSID=00:23:97:5c:5f:e0)
Sep  7 23:37:23 kusumanchi kernel: [279533.842834] wlan0: switched to long
barker preamble (BSSID=00:23:97:5c:5f:e0)

Is there anything I can do to get rid of these messages? Google did not
yield any useful hits (may be I am using the wrong keywords).

$uname -a
Linux kusumanchi.mae.cornell.edu 2.6.26-2-686 #1 SMP Fri Aug 14 01:27:18 UTC
2009 i686 GNU/Linux

The relevant stanza in /etc/network/interfaces is

auto wlan0
iface wlan0 inet dhcp
wpa-conf managed
wpa-ssid munged1
wpa-key-mgmt WPA-PSK
wpa-psk munged2

$COLUMNS=200 dpkg -l \*iwl\*
ii  firmware-iwlwifi 0.14+lenny2
 
Binary firmware for Intel Wireless 3945 and 4965

Using Lenny, up to date with all the security updates etc.,

thanks in advance
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



ftp access for debian security updates

2009-08-19 Thread Kamaraju S Kusumanchi
Is there any ftp mirror for debian security updates? When I looked at
http://www.debian.org/security/ it just lists an http mirror. However, on
this machine http is not allowed, but ftp is enabled. That is why I am
looking for an ftp repository.

Any ideas/comments/suggestions?

thanks
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: Iceweasel 3.5

2009-08-11 Thread Kamaraju S Kusumanchi
S. Fishpaste wrote:

 If I were you, I would temporarily enable testing, unstable and
 experimental repos, grab iceweasel and dependencies from experimental
 and then disabling the repos.
 
 Hm sounds like a plan. Do you know offhand which Debian distro has 3.5.x ?

Use the rmadison command

$rmadison iceweasel
 iceweasel |  2.0.0.3-1 | etch-m68k | source, m68k
 iceweasel | 2.0.0.19-0etch1 | oldstable | source, alpha, amd64, arm,
hppa, i386, ia64, mips, mipsel, powerpc, s390, sparc
 iceweasel |3.0.6-1 |stable | source, alpha, amd64, arm, armel,
hppa, i386, ia64, mips, mipsel, powerpc, s390, sparc
 iceweasel |   3.0.12-1 |   testing | source, alpha, amd64, armel, hppa,
i386, ia64, mips, mipsel, powerpc, s390, sparc
 iceweasel |   3.0.12-1 |  unstable | source, alpha, amd64, armel, hppa,
hurd-i386, i386, ia64, kfreebsd-amd64, kfreebsd-i386, mips, mipsel,
powerpc, s390, sparc
 iceweasel |3.5.1-1 |  experimental | source, alpha, amd64, hppa, i386,
ia64, powerpc, s390, sparc

hth
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: Inquiry:Debian server Remote Desktop Connection

2009-07-31 Thread Kamaraju S Kusumanchi
hadi motamedi wrote:

 Dear Kamaraju
 I am making use of the PuTTY Release 0.51 . Can you please let me know
 where is that Enabling X11 forwarding ?
 Regards
 H.Motamedi

putty - ssh - X11 - check the Enable X11 Forwarding box.

All this is explained in putty documentation which can be read at
http://the.earth.li/~sgtatham/putty/0.60/puttydoc.txt (I found this link by
googling) in section 3.4.

hth
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: Safest maintenance of a sid system

2009-07-30 Thread Kamaraju S Kusumanchi
AG wrote:

 Hi
 
 Having recently upgraded to sid, I want to try to ensure that I am able
 to maintain a more or less stable system under those circumstances and
 in the full knowledge that, by definition, sid is unstable and may be
 subject to breakages.
 
 With this in mind, what do the more experienced sid users do in terms of
 the daily updates of packages that come through - for example - the
 Update Notification?  I know that sidux users rely on some scripts -
 sxmi and sgfi (??) I think - but I wonder if that is what native sid
 users rely on or do you have your own recipes for maintaining reasonable
 stability?  For example, the use of scripts such as those from sidux, or
 not doing a daily system update or ... ?
 
 Thanks for any tips/ steers.
 
 AG

Install apt-listbugs, apt-listchanges. Upgrade packages only if you know why
you want to upgrade them. If you don't know why you are upgrading a
package, you don't need that upgrade. Those are my rules when upgrading a
sid system.

Also, over the years of using a SID system, you'll have a feel for which
upgrades can be trusted which might break your system etc., For example, I
never had problems upgrading gcc, coreutils etc., But I do not rush to
upgrade to the latest KDE apps. YMMV.

hth
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: Musings on debian-user list

2009-07-30 Thread Kamaraju S Kusumanchi
Michael Pobega wrote:

 Mark, a GUI-less system is useless (unless it's some sort of server).

You are kidding, right? 

It actually depends on what you are using it for. I use GUI-less systems all
the times for programming. They are as useful as a GUI system.

This is not to say that GUI is useless. For browsing, emails, reading pdfs
etc., I use GUI based systems.

Both have its advantages, disadvantages. The trick is to make the right
choice.

raju

-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: Musings on debian-user list

2009-07-30 Thread Kamaraju S Kusumanchi
Tim Beauregard wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 I recently re-subscribed having been off for about four years.  The
 changes I have noticed are:
 
 1. Much less traffic.  I previously got 250+ posts per day.  Now 50-100.
  Could this be due to the development of ubuntu?

May be. But I also think it is because the quality of Debian packages,
packaging process (having Sid, testing, stable, experimental, backports),
bug reporting process have improved a lot in recent years. As a result, a
user of Debian does not need to constantly write emails to d-u for support.

 5. Less newbie posts.  Ubuntu?

I think so. But I am also glad that it is that way.

 7. Less spam.

Totally with you on that. The mailing list managers deserve kudos for doing
such a great job.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: Inquiry:Debian server Remote Desktop Connection

2009-07-30 Thread Kamaraju S Kusumanchi
hadi motamedi wrote:

 Dear All
 Can you please let us know what is the required service that needs to be
 enabled on the Debian server to allow for Remote Desktop Connection opened
 from the MS Windows client's side ?
 Regards
 H.Motamedi

Install the openssh-server package on the Debian server machine.
Start the ssh server (as root) by doing
  /etc/init.d/networking restart

Install an ssh client on MS windows. I prefer putty for an ssh client. YMMV.
Enable X11 forwarding in putty

Install and start an X server on MS windows. I prefer xming.

Connect to the server... and you are good to go.

hth
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: Whats the best way to upgrade tools from source?

2009-07-30 Thread Kamaraju S Kusumanchi
ml ml wrote:

 Hello List,
 
 i need file version 5.x on my system. But Debian etch comes with file
 version 4.17.
 How do i install 5.x (from source) without messing up my system?
 

ETCH is old. Is upgrading to the latest stable version (LENNY) not an
option?

raju

-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: Unit Conversion.

2009-07-21 Thread Kamaraju S Kusumanchi
Ron Johnson wrote:

 Put this in your .bashrc :
 
 calc() { perl -e print ''.($*).\\\n\; }
 
 $ calc 4 \* 7
 28
 

What a cool hack! Thanks for sharing.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: how to increase sound volume of a mp3 file

2009-07-19 Thread Kamaraju S Kusumanchi
Long Wind wrote:

 Thanks to all those that reply!
 I install mp3gain on etch
 It increase sound volume though I am not fully satisfied.
 

Long time ago, I did something like this. I first converted the mp3 to wav,
increased the amplitude, then converted the .wav file back to .mp3. I
forgot the tools, commands to achieve this. Sorry! Google might be of some
help.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: OT: launching jobs in a combined serial parallel way

2009-06-24 Thread Kamaraju S Kusumanchi
Douglas A. Tutty wrote:

 On Mon, Jun 22, 2009 at 08:17:44PM -0400, Kamaraju S Kusumanchi wrote:
  
 Currently I have a shell script that works as below.
 1) launch proga, progb in the background using nohup.
 2) Ask proga, progb to write a file when they finish.
 3) Every five minutes check if these files are present. If they are
 present, launch progc.
 
 This gets me going for now. But it looks terribly inefficient. I would
 appreciate if someone can provide a better solution.
 
 While you may think its terribly inefficient, it isn't really.  A fancy
 wait function is just polling anyway, you're just making it overt.
 You also have the ability to have proga and progb only touch the file if
 they complete successfully.  If you merely wait until their ps
 disappears, you don't know if they crashed or properly completed.
 
 Doug.

Good point. I'll have to think about corner cases like these furthermore.
The scenario you portray does sometimes occur. The suggestions I got in
this thread are very helpful. Thanks guys.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



OT: launching jobs in a combined serial parallel way

2009-06-22 Thread Kamaraju S Kusumanchi
I have three programs - say proga, progb, progc.

proga, progb are completely independent. They take couple of hours to
finish. The time to complete proga, progb are not same.

progc should to be launched only after both proga, progb are finished. progc
takes another couple of hours to finish.

What is good way to automate this problem (that is no manual interaction)? I
prefer to use nohup since sometimes I have to log out of the machine before
the whole process finishes.

Currently I have a shell script that works as below.
1) launch proga, progb in the background using nohup.
2) Ask proga, progb to write a file when they finish.
3) Every five minutes check if these files are present. If they are present,
launch progc.

This gets me going for now. But it looks terribly inefficient. I would
appreciate if someone can provide a better solution.

Using Debian Lenny (Stable).

thanks
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: OT: launching jobs in a combined serial parallel way

2009-06-22 Thread Kamaraju S Kusumanchi
Scott Gifford wrote:

 Kamaraju S Kusumanchi raju.mailingli...@gmail.com writes:
 
 [...]
 
 progc should to be launched only after both proga, progb are finished.
 progc takes another couple of hours to finish.

 What is good way to automate this problem (that is no manual
 interaction)?
 
 In a shell script, run proga and progb in the background, then wait
 for them both with the wait builtin.  Something like this:
 
 #!/bin/sh -e
 # -e flag will abort on any error
 proga # Start proga in background
 progb # Start progb in background
 wait   # Wait for whichever finishes first
 wait   # Wait for the other one
 progc  # Now run progc in the foreground
 
 Scott.

This is great. A little perusal of 'man wait' gave me a better idea.

nohup proga 
pa=$!
nohup progb 
pb=$!
wait $pa $pb
nohup progc 

Thanks a lot. Just what I am looking for.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: OT: launching jobs in a combined serial parallel way

2009-06-22 Thread Kamaraju S Kusumanchi

 Are progs ab yours?

Yes. They are mine.

 If so, how about having each one check ps for the 
 other one as part of it's exit. If the other one isn't running, start
 progc before exit.
 

That is a nice idea. I have not thought about it. For now, I will go with
Gifford's tip of using the shell's wait function.

regards
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: OT: launching jobs in a combined serial parallel way

2009-06-22 Thread Kamaraju S Kusumanchi
me wrote:

 #!/bin/bash
 
 prog1 
 prog2 
 
 while [ $(ps -A | grep -E 'prog1|prog2') == 0 ]
   do
 sleep 5
   done
 
 prog3
 
 
 more or less like that
 


You know, I actually started out with something similar. But it has
limitations.

Let's say you want to launch two sets of (proga, progb, progc). Then the ps
+ grep logic will grep for proga, progb from both the sets. That is why I
shifted to writing a file at the end.

In any case, thanks for the reply.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: is it possible to install a desktop-manager without python and perl?

2009-06-21 Thread Kamaraju S Kusumanchi
明覺 wrote:

 I want to keep the programs in my system all written in c/c++, no
 python or perl or any other programming languages, is it possible to
 reach it? I removed the 2 packages, python and perl, from my system,
 and of cause, I losed my desktop, is it possible to install a desktop
 manager without perl and python? which is the proper desktop manager?
 thanks

How does having python, perl installed will affect your c/c++ programmes? I
am just curious.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: wireless interface name changes across reboots

2009-06-18 Thread Kamaraju S Kusumanchi
Jeffrey Cao wrote:

 Do you boot into the same OS with the same kernel?
 It's the driver who is responsible for the interface name.

Yes. Same OS, same kernel.

raju


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



Re: wireless interface name changes across reboots

2009-06-18 Thread Kamaraju S Kusumanchi
Girish Kulkarni wrote:

 On Thu, 18 Jun 2009, Kamaraju Kusumanchi wrote:
 Which package is responsible for this madness? I am guessing udev
 but removing udev also wants to remove the kernel (linux-image)
 package(s). So are there any other work arounds?
 
 Yes, this is udev.  See if http://wiki.debian.org/iwlwifi helps you.
 In the worst case, a clean reinstall of Lenny cures this!
 

Thanks for all the replies guys. The wiki link is helpful.

The wiki tells to make changes
in /etc/udev/rules.d/z25_persistent-net.rules . However, I do not have this
file. The closest I had was 70-persistent-net.rules . So I made changes to
that instead. The stanzas in /etc/network/interfaces now point to wlan0.

The good thing is that I do get network connection at the end of boot + the
interface name stays the same. But the boot process spends a lot of time
in association and disassociation phases. 

$dmesg | grep wlan0 | wc -l
209

The log file 

$dmesg | grep wlan0  wlan0.messages

is attached. Is this kind of association/disassociation normal? I have not
seen that when I was using ipw3945.

thanks
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/
[   16.190483] wlan0: Initial auth_alg=0
[   16.190483] wlan0: authenticate with AP 00:18:3a:ac:32:cf
[   16.192118] wlan0: RX authentication from 00:18:3a:ac:32:cf (alg=0 
transaction=2 status=0)
[   16.192118] wlan0: authenticated
[   16.192118] wlan0: associate with AP 00:18:3a:ac:32:cf
[   16.206255] wlan0: RX AssocResp from 00:18:3a:ac:32:cf (capab=0x411 status=0 
aid=1)
[   16.206255] wlan0: associated
[   16.206255] wlan0: CTS protection enabled (BSSID=00:18:3a:ac:32:cf)
[   26.211388] wlan0: disassociate(reason=3)
[   29.170613] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   29.170613] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   29.170613] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   29.171382] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   29.175369] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   29.175369] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   29.175369] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   29.175369] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   29.175369] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   29.175369] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   29.175369] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   29.175369] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   29.175369] wlan0: associate with AP 00:18:3a:ac:32:cf
[   29.180455] wlan0: Initial auth_alg=0
[   29.180455] wlan0: authenticate with AP 00:18:3a:ac:32:cf
[   29.186425] wlan0: association frame received from 00:18:3a:ac:32:cf, but 
not in associate state - ignored
[   29.227099] wlan0: RX authentication from 00:18:3a:ac:32:cf (alg=0 
transaction=2 status=0)
[   29.227099] wlan0: authenticated
[   29.227099] wlan0: associate with AP 00:18:3a:ac:32:cf
[   29.234092] wlan0: RX ReassocResp from 00:18:3a:ac:32:cf (capab=0x411 
status=0 aid=1)
[   29.234092] wlan0: associated
[   29.234092] wlan0: CTS protection enabled (BSSID=00:18:3a:ac:32:cf)
[   39.236731] wlan0: disassociate(reason=3)
[   42.079490] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   42.079490] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   42.079490] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   42.079490] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   42.079490] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   42.079490] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   42.079490] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   42.079490] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   42.079490] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   42.079490] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   42.079490] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   42.081049] wlan0: Initial auth_alg=0
[   42.081049] wlan0: authenticate with AP 00:18:3a:ac:32:cf
[   42.083748] wlan0: Initial auth_alg=0
[   42.083748] wlan0: authenticate with AP 00:18:3a:ac:32:cf
[   42.083748] wlan0: RX authentication from 00:18:3a:ac:32:cf (alg=0 
transaction=2 status=0)
[   42.083748] wlan0: authenticated
[   42.083748] wlan0: associate with AP 00:18:3a:ac:32:cf
[   42.096570] wlan0: authentication frame received from 00:18:3a:ac:32:cf, but 
not in authenticate state - ignored
[   42.097444] wlan0: RX ReassocResp from 00:18:3a:ac:32:cf (capab=0x411 
status=0 aid=1)
[   42.097444] wlan0: associated
[   42.097444] wlan0: CTS protection enabled (BSSID=00:18:3a:ac:32:cf)
[   52.106749] wlan0: disassociate(reason=3)
[   54.817595] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7)
[   54.817595] wlan0: RX disassociation from 00:18:3a:ac:32:cf (reason=7

wireless interface name changes across reboots

2009-06-17 Thread Kamaraju S Kusumanchi
When I reboot my laptop, my wireless card sometimes gets recognized as eth2.
Other times it gets recognized as wlan0_rename. 

Because of this, sometimes I end up with a booted machine with no network.

Using Debian Lenny (stable), 

$dmesg | grep -i wireless
[7.493507] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection
driver for Linux, 1.2.26ks
[7.493507] iwl3945: Detected Intel Wireless WiFi Link 3945ABG

$uname -a
Linux kusumanchi.mae.cornell.edu 2.6.26-1-686 #1 SMP Fri Mar 13 18:08:45 UTC
2009 i686 GNU/Linux

Which package is responsible for this madness? I am guessing udev but
removing udev also wants to remove the kernel (linux-image) package(s). So
are there any other work arounds?

thanks
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: differences of gfortran on amd64 and i386

2009-06-14 Thread Kamaraju S Kusumanchi
posted  mailed

Johannes Wiedersich wrote:

 Hello list,
 
 I have a rather funny and annoying problem with a third-party fortran
 program. It is a non-free scientific program for some physical
 calculations. I get different output values, if I compile and run the
 same fortran code on amd64 or i386.
 
 In fact, depending on the input file it exits with some error message in
 i386, when the same file runs fine on amd64. This is even true of the
 'test' file provided with the program. Therefore it seems there is
 something wrong with my configuration or the compiler on i386.
 
 I can run the binary compiled on i386 on amd64, but the binary compiled
 on amd64 is different and yields different results. The i386-binary runs
 without errors on amd64, however, when it exits on error on i386.
 
 I have no idea, where to start looking for what is wrong here.
 

Is your algorithm stable? One of the characteristics of unstable algorithms
is that they give totally different results when you change precision. try
running the program with single/double precisions and see if there are
significant changes in the results.

also try disabling the optimizations, compile with -Wall, -fbounds-check
options and see if there is any change in the final results.

hth
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: Debian's glacial movement--a rant

2009-04-28 Thread Kamaraju S Kusumanchi
posted  mailed

Freddy Freeloader wrote:

 I've never been pissed off at Debian before but I guess there is always
 a first.
 
 I'm experiencing a bug in Gnucash that appeared a couple of days ago on
 my system that makes Gnucash completely unusable for me.  I turned in a
 bug report on Friday, checked on it yesterday, and by today the bug had
 been blocked from being displayed.  It could be found by searching
 Debian's bug tracker, but only if you know the bug id number.   If you
 just search for bugs in Gnucash the bug does not appear to exist.
 
 The bug was closed, and blocked, because it's been fixed upstream in
 version 2.2.9 which was released by Gnucash in February of this year.
 
 Great.   The bug has been fixed.   Why it needed to be hidden from being
 displayed is puzzler for me, but that's the way it is.
 
 Now the bad news.
 
 Since Gnucash in both Sid and Sqeeze is now at version 2.2.6 I only have
 to wait until Debian works through versions 2.2.7 and 2.2.8 before
 Gnucash in Debian finally becomes usable for me again in version
 2.2.9.   As Sid is only 9 months behind Gnucash's release schedule at
 this point I guess the fact that all my business records for the last
 couple of years are in Gnucash means I'll be able to start doing my
 business accounting again sometime after the first of next year, at a
 minimum, if I wait for Debian

Things like this could be such a drag in the business environment.

Normally, I suggest to start updating machine(s) when testing is in
the frozen state. Then check if all the critical software is functioning
as it should. If not, file relevant bugs immediately. That way, when a new
stable version is released, you can be assured that all the applications
are working seamlessly.

Anyway, here are my suggestions ...

1) Compile it from source, install it in say /opt.

2) If (1) is not an option, try to install it from backports. If the package
is not available in backports already, request for it on their mailing
list. Someone might package it for you.

3) Try to see if the problem goes away by installing a older version of
gnucash.


hth
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: Suspending and resuming compile process

2009-04-23 Thread Kamaraju S Kusumanchi
Amit Uttamchandani wrote:

 Hi,
 
 I have a fairly old laptop (500MHz G4) and I tend to compile a lot of
 applications from source. Most of time it doesn't take too long but
 when I compile large libraries or applications this sometimes takes 4-5
 hours.
 
 An example is webkitgtk+ 1.1.3. I needed this to compile the latest
 version of midori. After a couple of hours of compilation, I paused the
 job using Ctrl-Z and suspended my laptop to RAM. The next morning, I
 resumed the laptop and typed 'fg' to resume the compile. To my
 surprise, it worked fine and I was able to compile and install
 webkitgtk+ successfully.
 
 Now, I am thinking of applying this to kernel compilation, etc. Is this
 common practice? Do others do this as well?


Just thought I would give my 2 cents on this. For long compilations, I do it
in the background along with nohup. It works great. The command line looks
like

nohup make 21 | tee make.log 

That way the program runs in the background, output is redirected to a file,
compilation goes on even after log out.

hth
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: flash on facebook hangs with loading 20 of 20

2009-04-18 Thread Kamaraju S Kusumanchi
Kamaraju S Kusumanchi wrote:

 When trying to start a game from http://apps.facebook.com/texas_holdem/ ,
 the flash application hangs with a message Loading 20 of 20. Any idea
 what flash packages I need to install/uninstall or in general what I have
 to do to get this working?
 
 Using Lenny Debian 5.0.
 $dpkg -l | grep flash
 ii  flashplayer-mozilla  1:10.0.22.87-0.1
 Macromedia Flash Player
 ii  kwordquiz4:3.5.9-2
 flashcard and vocabulary learning program for KDE
 
 I have Marillat's repositories in /etc/apt/sources.list
 
 thanks in advance
 raju

Never mind. Downgrading flash to 1:9.0.152.0-0.0 did the trick!


raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: any software for 3D surfaces visualization in debian sid?

2009-04-18 Thread Kamaraju S Kusumanchi
Star Liu wrote:

 I'm looking for a free software which can draw 3D picture if I setup
 mathmetical equations and specify its scope, it's an important part of
 my current project. thanks!
 

Check out open DX (open source), tecplot (commercial) as well.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



flash on facebook hangs with loading 20 of 20

2009-04-15 Thread Kamaraju S Kusumanchi
When trying to start a game from http://apps.facebook.com/texas_holdem/ ,
the flash application hangs with a message Loading 20 of 20. Any idea
what flash packages I need to install/uninstall or in general what I have
to do to get this working?

Using Lenny Debian 5.0.
$dpkg -l | grep flash
ii  flashplayer-mozilla  1:10.0.22.87-0.1   

Macromedia Flash Player
ii  kwordquiz4:3.5.9-2  

flashcard and vocabulary learning program for KDE

I have Marillat's repositories in /etc/apt/sources.list

thanks in advance
raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: vim

2009-04-12 Thread Kamaraju S Kusumanchi
posted  mailed

hr mahan wrote:

 Hi all,
 
 I would like to use vim as editor for my Fortran programs.  In Fedora vim
 colorizes the program's text.  I would like to have this option enabled on
 my Debian box as well.  What is the solution?
 
 Thanks.
 
 Hamid

Do you have syntax highlighting enabled? Also look under :h fortran for some
tips on configuring for fixed form, free form source code.

hth
raju

-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: OT: matched string of a regular expression

2009-03-14 Thread Kamaraju S Kusumanchi
Florian Kulzer wrote:

 On Wed, Mar 04, 2009 at 16:24:27 -0500, kamaraju kusumanchi wrote:
 
 [...]
 
 Now,
 I would like to replace all the occurrences of
 
 a(ijk)1b with a(ijk)23b
 a(jik)1b with a(jik)23b
 a(ikj)1b with a(ikj)23b
 and so on for all the strings such as a(???)
 
 Because of the size of the files involved, the number of files on
 which I have to perform this operation I decided to use sed (instead
 of doing it manually in vim)
 
 [...]
 
 Is there any way
 to write something like
 
 s/a(???)1b/a(???)23b/g
 
 where the second ??? is the string matched by the first regular
 expression.
 
 sed -e 's/a(\(...\))1b/a(\1)23b/g'
 

You hit it right on the head. The \1 construct is exactly what I am after.
Thanks!

BTW, If anyone is interested, I found this great book called sed  awk (2nd
Edition), by Dale Dougherty, Arnold Robbins
http://www.amazon.com/sed-awk-2nd-Dale-Dougherty/dp/1565922255/ . It's so
far the best documentation I read on sed, awk. It also has lots of
practical tips.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: xpdf segfaults

2009-02-01 Thread Kamaraju S Kusumanchi
Girish Kulkarni wrote:

 Hi,
 
 I use Etch x86_64.
 
 My xpdf (3.01-9.1+etch5) was working all right until now, before it
 suddenly started giving a Segmentation Fault.  I wonder if this has
 happened to anyone before.
 
 I prefer not to use Evince or Adobe Acrobat Reader -- which anyway is
 a problem to run on x86_64 -- but I have no clue about how to get xpdf
 working again.  (Yes, I have tried reinstalling it.)
 

If it is repeatable with any pdf file, please file a bug. If the problem is
specific to one pdf file, then look at how it was created.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: [OT] C++ templates and debugging (limitations) in Linux

2009-02-01 Thread Kamaraju S Kusumanchi
H.S. wrote: 
 There are more appropriate places than debian-user for C++ questions.
 
 Yes. There is a news group for C++, but the people there are topic
 nazis. Anything not strictly related to the standard is promptly
 flogged, hanged, skinned and left to dry. :)
 
 My query, however, was related to the behaviour of combination of C++,
 templates, STL and gdb.
 
 The proper place for this query would probably be the newsgroup for gdb.
 But that is extremely low traffic.
 
 Hence my post here with the OT warning.
 

I could not have put it more clearly. I am very thankful for bringing this
up on d-u.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: e2fsprogs compilation problem

2009-01-19 Thread Kamaraju S Kusumanchi
Adrian Chapela wrote:

 Hello,
 
 I am trying to compile the latest version of e2fsprogs. I have the next
 error during compilation:
 
 make[2]: se ingresa al directorio `/usr/src/e2fsprogs/build/lib/ext2fs'
 CC ../../../lib/ext2fs/alloc_tables.c
 ../../../lib/ext2fs/alloc_tables.c: In function
 ‘ext2fs_allocate_group_table’:
 ../../../lib/ext2fs/alloc_tables.c:122: error: expected expression
 before ‘’ token
 ../../../lib/ext2fs/alloc_tables.c:125: error: ‘prev_block’ undeclared
 (first use in this function)
 ../../../lib/ext2fs/alloc_tables.c:125: error: (Each undeclared
 identifier is reported only once
 ../../../lib/ext2fs/alloc_tables.c:125: error: for each function it
 appears in.)
 ../../../lib/ext2fs/alloc_tables.c:126: error: expected expression
 before ‘==’ token
 ../../../lib/ext2fs/alloc_tables.c:130: error: expected expression
 before ‘’ token
 ../../../lib/ext2fs/alloc_tables.c:130:9: error: invalid suffix
 db77ec039ff241dab0f1e267fabcfa814fbaf4c on integer constant
 ../../../lib/ext2fs/alloc_tables.c:157: error: expected expression
 before ‘’ token
 ../../../lib/ext2fs/alloc_tables.c:161: error: expected expression
 before ‘==’ token
 ../../../lib/ext2fs/alloc_tables.c:165: error: expected expression
 before ‘’ token
 ../../../lib/ext2fs/alloc_tables.c:165:9: error: invalid suffix
 db77ec039ff241dab0f1e267fabcfa814fbaf4c on integer constant
 make[2]: *** [alloc_tables.o] Error 1
 make[2]: se sale del directorio `/usr/src/e2fsprogs/build/lib/ext2fs'
 make[1]: *** [all-libs-recursive] Error 1
 make[1]: se sale del directorio `/usr/src/e2fsprogs/build'
 make: *** [all] Error 2
 
 
 Could you give some advice to solve the compilation problem ?
 

May be some of the dependencies are missing on your system. Try

sudo apt-get build-dep e2fsprogs

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: stuff in ~/bin won't run

2009-01-17 Thread Kamaraju S Kusumanchi
JoeHill wrote:

 Could you not just give your versions of the apps you want to run
 different names? Would that not be safer? What I've done in the past is to
 add _mine to end of the names, ie. 'todisc_mine'.
 

This approach will be a PITA if you use tab completion. Inputting _ is more
painful (especially after pressing tab 2 times for possible list of
completions). I'd go for a different name.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: OT: laptop recomendations

2009-01-03 Thread Kamaraju S Kusumanchi
Mark Allums wrote:

 In general, I think Dell's hardware is unreliable. They work fine
 initially. But after 1 year or so, things start to fall apart. This is if
 you plan to use laptop intensively (say 8-10 hours a day). But if you
 just use it for 1-2 hours a day, then it's life might be more.
 
 raju
 
 
 Don't blame Dell for the video being defective, in this case.  The
 culprit is NVidia, and all laptop makers are at their mercy.  (Other
 issues, like battery life, I have no knowledge of, and cannot speak to.)
 

I did not blame Dell just because I had problems with my laptop. I reached
at that conclusion after watching my friends laptops' performance etc., At
least five friends of mine who bought Dell laptops have had various
problems.

What I have observed (over the past 4 years or so) is that, typically after
1 year (and even before 2 years) things start going bad. It could be a hard
drive failure, it could be that fans stop working (so the processor heats
up... leading to its failure), it could be black spots on the monitor, it
could be power supply failure, it could be mother board going bad. In my
case it just happens to be battery, faulty video card.

The fact of the matter is Dell's laptops are made with cheap (quality
wise) hardware. So they cost less. If you can put in more money, and if you
would like to use the same laptops for more than 1-2 years go for some
other brand. I do not know what that other brand should be. But I do know
that Dell laptops are not the correct investment for a long term reliable
laptop.

hth
raju
-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/


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



Re: OT: laptop recomendations

2009-01-03 Thread Kamaraju S Kusumanchi
Carl Fink wrote:

 On Thu, Jan 01, 2009 at 02:00:49PM -0500, Kamaraju S Kusumanchi wrote:
 
 As for the video card, if I play a flash based movie in windows XP, there
 will be a blue screen memory map error after some time. FWIW, the
 movies work fine in Linux. I searched in google for this and found that
 the video cards in Dell Inspiron E1505 are defective.
 
 That isn't a video card error, it's a driver problem (or it would happen
 under Linux).  See if there's a newer, better driver for your chipset.

I will try this. You might be right on the money that it is a driver issue,
not a hardware issue.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



Re: OT: laptop recomendations

2009-01-03 Thread Kamaraju S Kusumanchi
Dotan Cohen wrote:

 As for the video card, if I play a flash based movie in windows XP, there
 will be a blue screen memory map error after some time. FWIW, the
 movies work fine in Linux. I searched in google for this and found that
 the video cards in Dell Inspiron E1505 are defective.

 
 Which video card do you have? The ATI x1400 in this card was a pain in
 the beginning, but now that ATI supports Linux it is great. I am very
 happy with the video performance.
 

$lspci  | grep ATI
01:00.0 VGA compatible controller: ATI Technologies Inc M52 [ATI Mobility
Radeon X1300]

I can't complain about video performance. My complaint was with the memory
parity errors when flash videos are played on Windows XP. The error is

*** Hardware malfunction
Call your hardware vendor for support
NMI: Parity check/ memory parity error
*** The system has halted*** 

It occurs pretty randomly. Sometimes while watching a flash video it can
occur at 35th minute sometimes it can show up at 7th minute. Sometimes it
might not even show up after the full video (say 60 minutes). The videos
play fine in Linux.

raju
-- 
Kamaraju S Kusumanchi
http://malayamaarutham.blogspot.com/


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



  1   2   3   4   5   6   >