Re: ssh connections dropping

2011-02-10 Thread Tapas Mishra
On Thu, Feb 10, 2011 at 4:43 PM, Tapas Mishra wrote: > Here is a situation I have just restored Ubuntu server which had kvm > running on it. > Every thing went fine and I copied the /etc/libvirt/qemu/vm.xml from > backup to new installation where it was previously running. > But

Re: [virt-tools-list] recovery of virtual machine

2011-02-10 Thread Tapas Mishra
On Thu, Feb 10, 2011 at 12:40 AM, David Cure wrote: > Le Wed, Feb 09, 2011 at 11:34:04PM +0530, Tapas Mishra ecrivait : >> >> All those are LVM images so in this situation what do I need to do let me >> know. >> I have the backup of xml files. > >        

Re: [virt-tools-list] what should be correct permissions of xml files

2011-02-10 Thread Tapas Mishra
On Thu, Feb 10, 2011 at 4:22 PM, Daniel P. Berrange wrote: > On Thu, Feb 10, 2011 at 04:14:04PM +0530, Tapas Mishra wrote: >> I restored KVM guest on a Ubuntu server from a backup. >> I see some permissions problem. >> -rwxr-xr-x 1 root root 1289 2011-02-10 12:51 machine

Re: recovery of virtual machines on KVM

2011-02-10 Thread Tapas Mishra
On Thu, Feb 10, 2011 at 1:40 PM, Alvin wrote: > On Wednesday 09 February 2011 19:39:57 Tapas Mishra wrote: >> I  am having a virtualization setup via KVM on a Ubuntu 10.04 64 bit >> server. >> >> A recent dbus update cause a crash of my Host OS.It was a post inst

ssh connections dropping

2011-02-10 Thread Tapas Mishra
Here is a situation I have just restored Ubuntu server which had kvm running on it. Every thing went fine and I copied the /etc/libvirt/qemu/vm.xml from backup to new installation where it was previously running. But this time I see that SSH connections to the guest drop after some time. Even a reb

[virt-tools-list] what should be correct permissions of xml files

2011-02-10 Thread Tapas Mishra
I restored KVM guest on a Ubuntu server from a backup. I see some permissions problem. -rwxr-xr-x 1 root root 1289 2011-02-10 12:51 machine1.xml is the above permission on a conf file in /etc/libvirt/qemu/machine1.xml correct? If not let me know what are the correct permissions. -- ___

recovery of virtual machines on KVM

2011-02-09 Thread Tapas Mishra
I am having a virtualization setup via KVM on a Ubuntu 10.04 64 bit server. A recent dbus update cause a crash of my Host OS.It was a post install script of dbus which ultimately brought everything down. Now I have to basically format the host OS.My cause of concern are the virtual machines whic

[Bug 552404] Re: dbus fails to be configured in chroots

2011-02-09 Thread Tapas Mishra
Please see a discussion here https://answers.launchpad.net/ubuntu/+question/144560 it might give you some more information. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/552404 Title: dbus fails to

Re: [virt-tools-list] recovery of virtual machine

2011-02-09 Thread Tapas Mishra
On Wed, Feb 9, 2011 at 11:08 PM, Cole Robinson wrote: > On 02/09/2011 08:16 AM, Tapas Mishra wrote: >> I want to know if for some reason the host OS has crashed and I need >> to restore in such a situations how do I recover the Virtual Machines. >> All these VMs are on sepa

[virt-tools-list] recovery of virtual machine

2011-02-09 Thread Tapas Mishra
I want to know if for some reason the host OS has crashed and I need to restore in such a situations how do I recover the Virtual Machines. All these VMs are on separate LVM partition on same hard disk. -- ___ virt-tools-list mailing list virt-tools-list

Re: server keeps updating openjdk

2011-02-09 Thread Tapas Mishra
On Wed, Feb 9, 2011 at 3:25 PM, Michael Zoet wrote: > > Am Di, 8.02.2011, 19:38 schrieb Tapas Mishra: > ... >>> >> Michael thanks for your message.I do not want to do any more >> experiment on my system. >> I do have an old backup with all old copies which is

package manager trouble shooting

2011-02-08 Thread Tapas Mishra
I had a problem with some upgrades of mine.So I am following a guide here https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure the question is posted here https://answers.launchpad.net/ubuntu/+question/144560 Please have a look if some one can suggest any thing. It is a producti

[virt-tools-list] difference between blkid of a system and uuid of virtual machine by virt-manager

2011-02-08 Thread Tapas Mishra
I want to know what is the difference between the output blkid command shows and the uuid which is set by virt-manager while creating a guest. Suppose in case of a re installation sort of situation I want to do a fresh install and restore things from a backup then where does this UUID thing comes i

Re: server keeps updating openjdk

2011-02-08 Thread Tapas Mishra
On Tue, Feb 8, 2011 at 9:14 PM, Michael Zoet wrote: > > Am Di, 8.02.2011, 13:39 schrieb Tapas Mishra: > >> >> >> >>> (2) What did you do to get into this situation? >> I do an aptitude safe-upgrade (which should just install the latest >> packages

Re: server keeps updating openjdk

2011-02-08 Thread Tapas Mishra
On Tue, Feb 8, 2011 at 4:04 PM, Carsten Aulbert wrote: > Hi > > On Tuesday 08 February 2011 11:29:00 Tapas Mishra wrote: >> >> I have searched this problem but I am not able to understand what to >> do in this situation. > > I think to find out you need to gen

Re: [virt-tools-list] connection refused when connecting to a VM

2011-02-08 Thread Tapas Mishra
d (type 'su -', without the > quotes, in terminal, enter root password and see if it works). > > Also check if libvirtd is running. Type 'ps aux | grep libtvirt' in > terminal, see if there is any process with this name. > > On Tue, Feb 8, 2011 at 5:46 AM, Tapas Mish

Re: server keeps updating openjdk

2011-02-08 Thread Tapas Mishra
On Tue, Feb 8, 2011 at 3:38 PM, Michael Zoet wrote: > > Am Di, 8.02.2011, 10:56 schrieb Tapas Mishra: > ... >> >> >> I did as you said here and then again did aptitude safe-upgrade things >> finished with some errrors, > > Why are you doing a safe-upgrade!!

Re: server keeps updating openjdk

2011-02-08 Thread Tapas Mishra
On Tue, Feb 8, 2011 at 3:51 PM, Carsten Aulbert wrote: > Hi > > On Tuesday 08 February 2011 11:13:50 Michael Zoet wrote: > >> Nothing of that! Tapas needs first to fix his package dependency problems! >> libvirt does not work because there are some unresolved package >> dependencies... > > sh** I

Re: server keeps updating openjdk

2011-02-08 Thread Tapas Mishra
On Tue, Feb 8, 2011 at 3:31 PM, Carsten Aulbert wrote: > Hi > > On Tuesday 08 February 2011 10:56:31 Tapas Mishra wrote: > >> The unfortunate part is all the Virtual Machines running on it are >> production machines. >> So this really needs to be resolved. > &g

Re: server keeps updating openjdk

2011-02-08 Thread Tapas Mishra
On Tue, Feb 8, 2011 at 3:21 PM, Carsten Aulbert wrote: > Hi > > On Tuesday 08 February 2011 10:46:09 Tapas Mishra wrote: >> >> Yes this does work for me and I have the file with me. >> But where do I put it? >> > > /var/cache/apt/archives > > Cheers &g

Re: server keeps updating openjdk

2011-02-08 Thread Tapas Mishra
On Tue, Feb 8, 2011 at 3:06 PM, Carsten Aulbert wrote: > Hi > > On Tuesday 08 February 2011 10:28:45 Tapas Mishra wrote: >> Like this the above output grows till I got 70th time >> Get:70 http://us.archive.ubuntu.com/ubuntu/ lucid-updates/main >> openjdk-6-jre-headless

server keeps updating openjdk

2011-02-08 Thread Tapas Mishra
I logged in as root on a server of mine and did aptitude saf-upgrade >From one hour I am seeing the server is just doing an openjdk update and after installing it ,it starts downloading that again and keeps on doing I have no idea as what has caused this error. aptitude safe-upgrade Reading pack

[virt-tools-list] connection refused when connecting to a VM

2011-02-08 Thread Tapas Mishra
I have been regularly logging in to a virtualization setup of mine and have been using it. Today after noon I logged in as usual and typed virt-manager I got following error Unable to open a connection to the libvirt management daemon. Libvirt URI is: qemu:///system Verify that: - The 'libvirt-b

Re: dependency problem while doing safe-upgrade

2011-02-04 Thread Tapas Mishra
On Fri, Feb 4, 2011 at 4:21 PM, Michael Zoet wrote: > Am Fr, 4.02.2011, 09:11 schrieb Tapas Mishra: >> I executed aptitude safe-upgrade on 10.04 64 bit server here are the >> dependency problems I met >> >> http://paste.ubuntu.com/562399/ >> >> Let me know

dependency problem while doing safe-upgrade

2011-02-04 Thread Tapas Mishra
I executed aptitude safe-upgrade on 10.04 64 bit server here are the dependency problems I met http://paste.ubuntu.com/562399/ Let me know if some one can point out what should I be checking. -- -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listin

Re: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/f/firefox/firefox_3.6.13+build3+nobinonly-0ubuntu0.10.04.1_amd64.deb

2011-02-01 Thread Tapas Mishra
On Tue, Feb 1, 2011 at 2:54 PM, Nicolas Barcet wrote: > On 02/01/2011 09:56 AM, Tapas Mishra wrote: >> I got following error when I did apt-get install firefox on a Ubuntu >> server 10.04 64 bit. >> >> Processing triggers for python-support ... >> Processing tri

Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/f/firefox/firefox_3.6.13+build3+nobinonly-0ubuntu0.10.04.1_amd64.deb

2011-02-01 Thread Tapas Mishra
I got following error when I did apt-get install firefox on a Ubuntu server 10.04 64 bit. Processing triggers for python-support ... Processing triggers for python-central ... E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/f/firefox/firefox_3.6.13+build3+nobinonly-0ubuntu0.10.04.1_

application which can give pop up messages when ever some one accesses my server

2011-01-31 Thread Tapas Mishra
Hi all I am not sure as what should I be looking on Google hence asking here.I have a Ubuntu server with Public IP on which I have a few websites and SSH accounts.I want to know if there is any application/daemon which I can install so that when ever some one does an SSH connection to my server I g

Re: some confusion regarding package updates

2011-01-19 Thread Tapas Mishra
On Wed, Jan 19, 2011 at 7:36 PM, Imre Gergely wrote: > > On Wed, 19 Jan 2011 17:57:25 +0530, Tapas Mishra wrote: >> >> On Wed, Jan 19, 2011 at 5:55 PM, Carsten Aulbert >> wrote: >>> >>> Hi >>> >>> On Wednesday 19 January 2011 13:21:44

Re: some confusion regarding package updates

2011-01-19 Thread Tapas Mishra
On Wed, Jan 19, 2011 at 5:55 PM, Carsten Aulbert wrote: > Hi > > On Wednesday 19 January 2011 13:21:44 Tapas Mishra wrote: >> How ever I have installed cron-apt which has scheduled an update for >> daily morning 4 o clock, >> So does this message mean that it is not ge

some confusion regarding package updates

2011-01-19 Thread Tapas Mishra
I have some confusion regarding a server of mine. When ever I ssh into it I see following message Graph this data and manage this system at https://landscape.canonical.com/ 125 packages can be updated. 77 updates are security updates. You have new mail. Last login: Tue Jan 11 16:09:06 2011 fro

Re: [virt-tools-list] autostart of (some) domains some times fail

2011-01-12 Thread Tapas Mishra
On Tue, Jan 11, 2011 at 7:23 PM, Richard W.M. Jones wrote: > > On Tue, Jan 11, 2011 at 06:03:22PM +0530, Tapas Mishra wrote: >> On Tue, Jan 11, 2011 at 5:42 PM, Richard W.M. Jones >> wrote: >> > On Tue, Jan 11, 2011 at 03:34:08PM +0530, Tapas Mishra wrote: >> &

Re: [virt-tools-list] autostart of (some) domains some times fail

2011-01-11 Thread Tapas Mishra
On Tue, Jan 11, 2011 at 5:42 PM, Richard W.M. Jones wrote: > On Tue, Jan 11, 2011 at 03:34:08PM +0530, Tapas Mishra wrote: >> In my KVM setup I have four VMs. >> Who have  four softlinks >> >> /etc/libvirt/qemu/autostart/vm.xml to /etc/libvirt/qemu/vm.xml >> >&

[virt-tools-list] autostart of (some) domains some times fail

2011-01-11 Thread Tapas Mishra
In my KVM setup I have four VMs. Who have four softlinks /etc/libvirt/qemu/autostart/vm.xml to /etc/libvirt/qemu/vm.xml but my observation is after reboots it is not necessary that the Virtual Machine will start. I have observed inspite of above entry some of the VMs some time fail to start. Tha

Re: [virt-tools-list] where are vmnet0 and other virtual interfaces defined by virt-manager

2011-01-10 Thread Tapas Mishra
On Mon, Jan 10, 2011 at 2:43 PM, Richard W.M. Jones wrote: > On Mon, Jan 10, 2011 at 02:34:33PM +0530, Tapas Mishra wrote: >> On Mon, Jan 10, 2011 at 2:11 PM, Richard W.M. Jones >> wrote: >> > On Mon, Jan 10, 2011 at 01:40:31PM +0530, Tapas Mishra wrote: >> >&

Re: invalid response from Proxy dns lookup failure in my domains

2011-01-10 Thread Tapas Mishra
On Mon, Jan 10, 2011 at 10:50 PM, Michael Zoet wrote: > > Am Mo, 10.01.2011, 17:18 schrieb Tapas Mishra: > >> >> I feel there should be some thing which tells in resolv.conf not to >> look to corporate DNS for the entries in /etc/hosts >> as those entries

Re: invalid response from Proxy dns lookup failure in my domains

2011-01-10 Thread Tapas Mishra
On Mon, Jan 10, 2011 at 9:00 PM, Dan Sheffner wrote: > A work around the DNS is editing the /etc/hosts file and hard coding your > servers there.  Do you have access to this file? > That is the only thing that came to my mind also.(Yes I have access to this file) Believe me there are corresponding

Re: [us...@httpd] invalid response from Proxy dns lookup failure

2011-01-10 Thread Tapas Mishra
On Mon, Jan 10, 2011 at 8:47 PM, Joost de Heer wrote: >> When my proxy pass entries look as follows >> >>  ProxyPass /app1 http://192.168.1.3:8080/app1 >>  ProxyPass / http://192.168.1.3 >>  ProxyPassReverse /app1 http://192.168.1.3:8080/app1 >>  ProxyPassReverse / http://192.168.1.3 >> >>  then s

Re: [us...@httpd] invalid response from Proxy dns lookup failure

2011-01-10 Thread Tapas Mishra
On Mon, Jan 10, 2011 at 5:23 PM, Joost de Heer wrote: > On 01/10/2011 08:17 AM, Tapas Mishra wrote: >> >> Ok here is a situation  today morning I had rebooted the server and I >> observed and I see response for one of the application complaining >> http://myserver.com/a

Re: invalid response from Proxy dns lookup failure in my domains

2011-01-10 Thread Tapas Mishra
On Mon, Jan 10, 2011 at 5:31 PM, Tapas Mishra wrote: > Hi all. > The problem I am reporting is not very clearly evident to me. > I have a virtualization setup where in I had configured in 4 virtual > machines (which serve 4 different websites)  available to internet via > a > Re

invalid response from Proxy dns lookup failure in my domains

2011-01-10 Thread Tapas Mishra
Hi all. The problem I am reporting is not very clearly evident to me. I have a virtualization setup where in I had configured in 4 virtual machines (which serve 4 different websites) available to internet via a Reverse Proxy on the Host OS (bare metal) I use Ubuntu 10.04 64 bit server edition and

Re: [virt-tools-list] where are vmnet0 and other virtual interfaces defined by virt-manager

2011-01-10 Thread Tapas Mishra
On Mon, Jan 10, 2011 at 2:11 PM, Richard W.M. Jones wrote: > On Mon, Jan 10, 2011 at 01:40:31PM +0530, Tapas Mishra wrote: >> How ever I am curious to look at where are the vmnet0 vmnet 1 defined >> by the virt-manager(which I see in brctl show) >>  so which files shoul

[virt-tools-list] where are vmnet0 and other virtual interfaces defined by virt-manager

2011-01-10 Thread Tapas Mishra
I had used virt-manager to create a few Virtual Machines on a KVM based server. I type brctl show and the output is brctl show bridge name bridge id STP enabled interfaces br0 8000.0026b9824238 no eth2

[us...@httpd] invalid response from Proxy dns lookup failure

2011-01-09 Thread Tapas Mishra
Ok here is a situation today morning I had rebooted the server and I observed and I see response for one of the application complaining http://myserver.com/app1 This is the error I see in browser Proxy Error The proxy server received an invalid response from an upstream server. The proxy server

Re: [virt-tools-list] virt manager migration option greyed out on Ubuntu 10.04 server edition

2011-01-06 Thread Tapas Mishra
On Fri, Jan 7, 2011 at 12:09 AM, Eric Blake wrote: > On 01/06/2011 10:52 AM, Tapas Mishra wrote: >> I am testing server migration on a Ubuntu 10.04 LTS server >> edition.Where I have virt-manager installed. >> How ever when I choose a VM and try attempt for migration of hot v

[virt-tools-list] virt manager migration option greyed out on Ubuntu 10.04 server edition

2011-01-06 Thread Tapas Mishra
I am testing server migration on a Ubuntu 10.04 LTS server edition.Where I have virt-manager installed. How ever when I choose a VM and try attempt for migration of hot vm I see the option of migration greyed out. Is this feature not supported currently in virt-manager? I am also looking for conve

virt manager migration option greyed out on Ubuntu 10.04 server edition

2011-01-06 Thread Tapas Mishra
I am testing server migration on a Ubuntu 10.04 LTS server edition.Where I have virt-manager installed. How ever when I choose a VM and try attempt for migration of hot vm I see the option of migration greyed out. Is this feature not supported currently in virt-manager? Do I necessarily need to con

Re: problem in mounting an nfs export on a USB disk

2011-01-06 Thread Tapas Mishra
On Thu, Jan 6, 2011 at 10:35 AM, Tapas Mishra wrote: > On Wed, Jan 5, 2011 at 10:03 PM, Serge Hallyn > wrote: >> Quoting Tapas Mishra (mightydre...@gmail.com): >>> the entries which after your msg I noticed in /var/log/syslog are >>> >>> Jan  5 14:12:14 ta

Re: Please help me for install xen kernel on ubuntu 10.10

2011-01-06 Thread Tapas Mishra
https://help.ubuntu.com/community/Xen As per above article "It's also worth noting that the Xen 3.3 hypervisor is also included in jaunty. However, at the time of this writing, Xen is not officially supported in Lucid; consider using KVM instead. " Now coming to your question Glossary section on t

Re: problem in mounting an nfs export on a USB disk

2011-01-05 Thread Tapas Mishra
On Wed, Jan 5, 2011 at 10:03 PM, Serge Hallyn wrote: > Quoting Tapas Mishra (mightydre...@gmail.com): >> the entries which after your msg I noticed in /var/log/syslog are >> >> Jan  5 14:12:14 tapas mountd[1577]: refused mount request from >> 192.168.1.14 for /media/vo

Re: problem in mounting an nfs export on a USB disk

2011-01-05 Thread Tapas Mishra
On Wed, Jan 5, 2011 at 7:55 PM, Serge Hallyn wrote: > Quoting Tapas Mishra (mightydre...@gmail.com): >> On Wed, Jan 5, 2011 at 7:27 PM, Serge Hallyn >> wrote: >> > Quoting Tapas Mishra (mightydre...@gmail.com): >> >> I have a USB disk which has 2 parti

Re: problem in mounting an nfs export on a USB disk

2011-01-05 Thread Tapas Mishra
On Wed, Jan 5, 2011 at 7:27 PM, Serge Hallyn wrote: > Quoting Tapas Mishra (mightydre...@gmail.com): >> I have a USB disk which has 2 partitions.I exported one of them (on NFS) >> and now I am trying to mount it at client machine. >> Each time it gets error >> >>

Re: problem in mounting an nfs export on a USB disk

2011-01-05 Thread Tapas Mishra
> On Wed, Jan 5, 2011 at 12:42 PM, Tapas Mishra > wrote: >> >> I have a USB disk which has 2 partitions.I exported one of them (on NFS) >> and now I am trying to mount it at client machine. >> Each time it gets error >> >> mount -t nfs 192.168.1.19:

problem in mounting an nfs export on a USB disk

2011-01-04 Thread Tapas Mishra
I have a USB disk which has 2 partitions.I exported one of them (on NFS) and now I am trying to mount it at client machine. Each time it gets error mount -t nfs 192.168.1.19:/media/vol2 /mnt/nfs/ mount.nfs: access denied by server while mounting 192.168.1.19:/media/vol2 Here is the /etc/exports f

upon installing ia32-libs I get some error

2011-01-03 Thread Tapas Mishra
I used apt-get install ia32-libs on Linux myserver 2.6.32-21-server #32-Ubuntu SMP Fri Apr 16 09:17:34 UTC 2010 x86_64 GNU/Linux and got following error. http://pastebin.com/HdsZhakA I was testing vmware converter as instructions here mention http://linhost.info/2009/04/vmware-converter-installatio

Re: converting lvm based Virtual Machine to qcow image.

2011-01-03 Thread Tapas Mishra
On Mon, Jan 3, 2011 at 3:42 PM, Carsten Aulbert wrote: > Hi > > On Monday 03 January 2011 11:03:31 Tapas Mishra wrote: >> I would like to know do I need to shut down the VM to be able to use >> the above command. > > I don't know, but you should do that anyway a

converting lvm based Virtual Machine to qcow image.

2011-01-03 Thread Tapas Mishra
A long time back I had asked as how to back up OS running on KVM in an LVM setup. Here are the excerpts from the message "One way to take a backup is to convert the LVM volumes to compressed qcow2 images, like this: # qemu-img convert -c -f raw -O qcow2 /dev/nintendo/lvm1 /backup/lvm1.img" I woul

Re: KVM - virtualization support

2010-12-23 Thread Tapas Mishra
On Wed, Dec 22, 2010 at 1:17 PM, Robert P. J. Day wrote: > On Tue, 21 Dec 2010, Sengottuvelan S wrote: > > > Hi All, > > > > I have below architecture. I assume it does not support KVM. Please point > me somone what > > is exactly needed to support KVM support in my machine? > > > > # egrep -c ' l

Re: Handy References for Linux Device Drivers Developer

2010-12-16 Thread Tapas Mishra
reach your goal. On Thu, Dec 16, 2010 at 3:14 PM, Tapas Mishra wrote: > > > On Thu, Dec 16, 2010 at 1:57 PM, Pradeep Kumar > wrote: > >> hi all, >> I am new to kernel device drivers field. Any suggestions about the >> references to follow for quick over

Re: Handy References for Linux Device Drivers Developer

2010-12-16 Thread Tapas Mishra
On Thu, Dec 16, 2010 at 1:57 PM, Pradeep Kumar wrote: > hi all, > I am new to kernel device drivers field. Any suggestions about the > references to follow for quick overview and detailed flow of code in Linux > Kernel. > > thanks, > Goudagunta Pradeep Kumar, > > > > http://crashcouse.ca i

Re: Building the linux kernel

2010-11-22 Thread Tapas Mishra
On Tue, Nov 23, 2010 at 9:25 AM, sugnan prabhu wrote: > Hello, >      I am a newbie and am trying to build the kernel, the kernel version am > trying to build in 2.6.36, i have added few header files and kernel module Check this page http://crashcourse.ca/introduction-linux-kernel-programming/less

Re: how to investigate a server if it rebooted

2010-11-22 Thread Tapas Mishra
On Sat, Nov 20, 2010 at 3:12 PM, Andreas Haase - evolver group wrote: > make sure you have the most recent firmware versions of the built-in This is a good idea.We were using Debian Lenny 64 bit on Power Edge R710 and it did not had a network card firmware which I had downloaded and installed. Is

2 links good for newbies

2010-11-21 Thread Tapas Mishra
Hi, list I was searching for some information and came across 2 links which would be relevant to us. http://www.novell.com/coolsolutions/feature/14910.html http://www.novell.com/coolsolutions/feature/11254.html I have not checked the kernelnewbies wiki but any one who maintains that can include the

Re: port scan detection on server

2010-11-20 Thread Tapas Mishra
On Fri, Nov 19, 2010 at 8:53 PM, Mark Foster wrote: >> > http://sourceforge.net/projects/sentrytools/ > Ok I was reading some thing more about guides available on internet here I found a useful page http://www.ossramblings.com/using_iptables_rate_limiting_to_prevent_portscans but for the above lin

Re: PowerEdge T710

2010-11-20 Thread Tapas Mishra
On Tue, Nov 2, 2010 at 9:02 PM, Drew Weaver wrote: > It probably also will not see your NIC card. > > We gave up on Debian. > > -Drew > Even I gave up on Debian agreed that bnx2 firmwarw is available but things did not turned out that well with Debian.

how to investigate a server if it rebooted

2010-11-20 Thread Tapas Mishra
Hi, I had a problem in past the Power Edge R710 server rebooted frequently. A person came and checked the hardware which was nothing but the BIOS menu option to scan hardware and said that every thing is working fine. Is there a way I can investigate any sort of reboots on the server if it occurs d

[android-porting] an OS in Assembly

2010-11-19 Thread Tapas Mishra
Hi, sorry for posting if this is not relevant just wanted to share with list http://www.menuetos.net/screens.htm?ref=nf if it can help some way. -- unsubscribe: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting

Re: structure for Super IO chip detection

2010-11-18 Thread Tapas Mishra
On Fri, Nov 19, 2010 at 12:27 PM, hiren panchasara wrote: > You should be able to find how structures are declared/defined/used in any > good C programming book. I doubt if such a thing is mentioned on any good C book. Coming to OP's question.You need to know to understand this is that, in C/C++,

port scan detection on server

2010-11-18 Thread Tapas Mishra
On this page http://packages.ubuntu.com/pl/lucid/psad it mentions psad works on 2.2 kernels and 2.4 does it not work on 2.6 kernels. Is there any other way to block port scan attempts on server. -- http://mightydreams.blogspot.com -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com htt

Re: how to save bandwidth while package upgrades

2010-11-16 Thread Tapas Mishra
Many thanks to both of you ya this did help me. --- http://mightydreams.blogspot.com -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam

how to save bandwidth while package upgrades

2010-11-16 Thread Tapas Mishra
Here is a mail in /var/mail/root which I received in my server logs http://paste.ubuntu.com/532866/ I see same packages downloaded many times again and again. The servers which are upgrading are total 5 (4 virtual machines and one host) so is there a way I can save bandwidth on this sort of setup.

Re: how does ifconfig communicates with network device driver strace output given

2010-11-13 Thread Tapas Mishra
On Sat, Nov 13, 2010 at 12:12 AM, Greg Freemyer wrote: > When you see "/dev/..." opened, then a connection to the kernel is > opened.  Read / write / ioctl etc. all directly send data to the > kernel. > > You do know the standard file descriptors: stdin, stdout, stderr right? > > You see stdout (1

Re: [Bug 641300] Re: Text Entry Boxes in Firefox sometimes get stuck in an endless "Select-All" making typing in them impossible

2010-11-12 Thread Tapas Mishra
*** This bug is a duplicate of bug 583122 *** https://bugs.launchpad.net/bugs/583122 Hmmm I don't agree we get our text deleted. On Fri, Nov 12, 2010 at 5:33 PM, exactt <641...@bugs.launchpad.net> wrote: > *** This bug is a duplicate of bug 583122 *** >    https://bugs.launchpad.net/bugs/5831

what does wrap_copy do in 8139too.c

2010-11-12 Thread Tapas Mishra
I was trying to understand how 8139too.c is developed, I came across a function wrap_copy in it. Can some one help to understand what it is doing. What I interpret it is that some how the person is tying to copy payload from DMA to sk buffer. But still what exactly are we trying to achieve via wr

Re: what is equivalent to ether_setup in 8139too.c as given in LDD page 504

2010-11-12 Thread Tapas Mishra
Ok thanks for your responses. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ

how does ifconfig communicates with network device driver strace output given

2010-11-11 Thread Tapas Mishra
Hi, I read the 17th Chapter of LDD3 and explored what is a network device driver. I wanted to understand in real context the working of network device driver on my laptop. The book described about snull (dummy ) device. So here is the problem when I do an ifconfig the open,close, and other methods

Re: weekly report for server setup

2010-11-08 Thread Tapas Mishra
On Mon, Nov 8, 2010 at 3:48 PM, Tapas Mishra wrote: >> If you have a monitoring system, you could send a periodic report of warning >> and criticals alerts. If you don't have it, you could evaluate Ubuntu >> Landscape or other monitoring systems "as a service"

Re: weekly report for server setup

2010-11-08 Thread Tapas Mishra
On Fri, Nov 5, 2010 at 6:23 PM, Lorenzo Salvadorini wrote: Asking the boss might not be possible. > If you have a monitoring system, you could send a periodic report of warning > and criticals alerts. If you don't have it, you could evaluate Ubuntu > Landscape or other monitoring systems "as a se

Re: BIOS Vs. Linux

2010-11-05 Thread Tapas Mishra
2010/11/4 अनुज : > Hi list, > > I am just exploring how much the linux is dependent on BIOS. I wanted to know > : > > 1. Which information linux uses from BIOS ( some sort of tables like > MP tables, ACPI tables) and for what purpose? > 2. Whether linux uses BIOS routines to program and initialize

what is equivalent to ether_setup in 8139too.c as given in LDD page 504

2010-11-05 Thread Tapas Mishra
I am trying to understand how network drivers can be written. In LDD page 504 Chapter 17, what is equivalent to ether_setup in 8139too.c as given in LDD page 504 a function ether_setup has been explained what is equivalent to that function in the driver 8139too.c -- http://mightydreams.blogspot.c

Re: is this link valid

2010-11-05 Thread Tapas Mishra
On Wed, Nov 3, 2010 at 10:09 PM, Denis Kirjanov wrote: > There are many good examples in drivers/net. > drivers/net/pci-skeleton.c for example. I think that it is a not big > problem to compare the text from the link with the current state of > the device drivers. How will a newbie come to know wh

weekly report for server setup

2010-11-05 Thread Tapas Mishra
I have setup a cluster for some one.Which is basically a few Virtual Machines running and the applications running in them which are accessible on internet. The host os is Ubuntu and Vms are some ubuntu/debian and some Fedora/Redhat based servers. He has asked me to send him a weekly report of thi

how do rate limited IPTABLEs treat a screen session on ssh after disconnection

2010-11-03 Thread Tapas Mishra
Take this scenario If I have rate limited the connections to 4.(i.e if you attempt 4th connection you wont be able to login for some time.) If in a minute I get disconnected 3 times while I was already logged in on the server with a screen session, will I be able to login or I need to keep quite fo

Re: ethernet registers

2010-11-03 Thread Tapas Mishra
On Wed, Nov 3, 2010 at 6:43 PM, Wouter Simons wrote: > On 11/03/2010 12:58 PM, Tapas Mishra wrote: >> http://lxr.free-electrons.com/source/drivers/net/8139too.c#L289 >> I want to know what should I search to be able to understand the value >> of the registers given on above

ethernet registers

2010-11-03 Thread Tapas Mishra
http://lxr.free-electrons.com/source/drivers/net/8139too.c#L289 I want to know what should I search to be able to understand the value of the registers given on above link. -- -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linux.org Please read the F

Re: how does kernel detects presence of a particular device

2010-11-03 Thread Tapas Mishra
On Wed, Nov 3, 2010 at 3:24 PM, Wouter Simons wrote: > On 11/03/2010 03:46 AM, Tapas Mishra wrote: >> As far as I understand once the probe function(Not too sure) detects >> or kernel detects then the driver would be looked up >> and control would be handed over to driver.

Re: how does kernel detects presence of a particular device

2010-11-03 Thread Tapas Mishra
On Wed, Nov 3, 2010 at 11:22 AM, Gavin Guo wrote: > > That How does probe work depends on particular driver. To be brief, > driver will does some initial work for devices, like setting up > register or registering device node on file system. For instance, > touch panel driver need to register an e

Re: how does kernel detects presence of a particular device

2010-11-02 Thread Tapas Mishra
2010/11/3 अनुज : > > Simply, whenever either a device or driver is registered with the bus, > then probe function of matching driver is called by the bus subsystem. > > Refer : http://lxr.linux.no/#linux+v2.6.36/Documentation/PCI/pci.txt > >       probe               This probing function gets call

Re: is this link valid

2010-11-02 Thread Tapas Mishra
On Wed, Nov 3, 2010 at 8:19 AM, Mulyadi Santosa wrote: > On Tue, Nov 2, 2010 at 18:09, Tapas Mishra wrote: >> Hi, >> wanted to know if the information given on this link is still valid. >> http://linuxgazette.net/93/bhaskaran.html > > Have you give it try first and see

Re: how does kernel detects presence of a particular device

2010-11-02 Thread Tapas Mishra
On Wed, Nov 3, 2010 at 10:28 AM, Mulyadi Santosa wrote: > > IIRC, it is the bus (or should we say, the motherboard...or chipset) > that send somekind of signal (of announcement). Ok this is what I am looking for. What signal is send by whom and where >Driver picks it up How? > since the probe func

how does kernel detects presence of a particular device

2010-11-02 Thread Tapas Mishra
As far as I understand once the probe function(Not too sure) detects or kernel detects then the driver would be looked up and control would be handed over to driver. If this is correct then how does probe works? Or how a particular device's presence on PCI bus is detected. -- -- To unsubscribe f

is this link valid

2010-11-02 Thread Tapas Mishra
Hi, wanted to know if the information given on this link is still valid. http://linuxgazette.net/93/bhaskaran.html Since I am new to programming network devices on Linux so not clear with it, I have looked at Chapter 17 of LLD 3rd edition. -- -- To unsubscribe from this list: send an email with "u

struct in_device set to 1 for ipforwarding what does that mean

2010-11-01 Thread Tapas Mishra
In the file include/linux/inetdevice.h struct in_device has a member cnf which is set to 1 when IP Forwarding is enabled in Linux Kernel cnf is a struct of type ipv4_devconf so what does this mean that the member cnf is set to 1. I am not able to understand how can a structure be set to 1? -- ht

Re: where is usb driver file system

2010-11-01 Thread Tapas Mishra
On Mon, Nov 1, 2010 at 7:26 PM, Greg KH wrote: > > It's no longer mounted at /proc/bus/usb as it's not needed there > anymore. > > But if you want to, you can mount it anywhere you want: >        mount -t usbfs none /home/foo/usbfs > > What do you want to do with it? > Nothing just learning to wri

where is usb driver file system

2010-11-01 Thread Tapas Mishra
I checked this link http://www.linux-usb.org/USB-guide/x173.html excerpts from above page "The USB device filesystem is a dynamically generated filesystem, similar to the /proc filesystem. This filesystem can be mounted just about anywhere, however it is customarily mounted on /proc/bus/usb, whi"

Re: typdef in iw_handler.h

2010-11-01 Thread Tapas Mishra
On Mon, Nov 1, 2010 at 2:49 PM, Darshan Ghumare wrote: >> > > http://publications.gbdirect.co.uk/c_book/chapter8/typedef.html iw_handler is the type. For example: int do_something(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) { /* do stuff */

does get_user_byte and put_user_byte exist

2010-10-31 Thread Tapas Mishra
I was reading an article http://www.linuxjournal.com/article/1221 They have used get_user_byte and put_user_byte functions do they exist? I tried to man them but there were no entry. -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linux.org Please rea

Re: restarting ssh sshd[5678]: error: Bind to port 22 on :: failed: Address already in use.

2010-10-30 Thread Tapas Mishra
On Fri, Oct 29, 2010 at 12:48 PM, Paul Graydon wrote: >> > Are you confident that it's actually restarted ultimately?  What start > date/time does it show when you do: Yes > ps waxu | grep [s]shd > > ?  If it can't bind to port 22 it does suggest that sshd never properly > terminates (if it ever

restarting ssh sshd[5678]: error: Bind to port 22 on :: failed: Address already in use.

2010-10-29 Thread Tapas Mishra
I restart ssh on Ubuntu 10.04 64 bit server edition and I see following line in auth.log sshd[5678]: error: Bind to port 22 on :: failed: Address already in use. when ever I restart ssh I see the above line. That is a headless server. -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com

invalid login attempts not refused using deny hosts and conf of denyhost not working as expected

2010-10-28 Thread Tapas Mishra
I am using denyhosts on a server ( I know IPTABLE rate limiting etc just testing this one) so in a config file /etc/denyhosts.conf the following value is set DENY_THRESHOLD_INVALID = 3 which as per their configuration file says DENY_THRESHOLD_INVALID: block each host after the number of failed log

<    1   2   3   4   5   6   >