Re: problem while mounting an LVM

2010-10-04 Thread Tapas Mishra
On Mon, Oct 4, 2010 at 7:16 PM, Serge E. Hallyn serge.hal...@canonical.com wrote: Hm, interesting.  How about the contents of outout after doing:        strace -f -ooutout mount /dev/mapper/nintendo-backupos /mnt/backup I got on terminal mount: /dev/mapper/nintendo-backupos already mounted or

Re: how to transfer an LVM Guest OS on KVM Lucid to another server

2010-10-04 Thread Tapas Mishra
On Mon, Oct 4, 2010 at 6:24 PM, Serge E. Hallyn serge.hal...@canonical.com wrote: Can you define 'extra work'? extra work: creating an LVM and making a filesystem populating that filesystem with rsync backup and then copying xml files and then some how booting from this one. This some how is what

Re: problem while mounting an LVM

2010-10-04 Thread Tapas Mishra
On Mon, Oct 4, 2010 at 8:37 PM, Serge E. Hallyn serge.hal...@canonical.com wrote: snip. so fuseblk is what is actually returning -EBUSY. What kind of fs is actually on nintendo-backupos? When I used cfdisk to create filesystem on it I created two partitions type 83 was big size and type

error while converting an LVM to qemu image

2010-10-04 Thread Tapas Mishra
I executed following command qemu-img convert -c -f raw -O qcow2 /dev/nintendo/lvm2 /root/lvm2.img qemu-img: error while compressing sector 22151296 what does this mean and how can I get rid of this and take the backup? I am on Ubuntu 10.04 server 64 bit. -- ubuntu-server mailing list

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

2010-10-02 Thread Tapas Mishra
I have this bug very very frequently tell me some steps I may be able to discover the reason and post some thing here. I was holding off filing a bug on this because it seemed so random and I had very little data to work with, but it's now been reported on the ubuntu-users list by a second

booting a OS in a snapshot volume in KVM

2010-10-02 Thread Tapas Mishra
I created a snapshot (LVM( backup of a guest OS. I want to boot from this snapshot backup. Is it possible, I used virt-manager and options to clone the VM are greyed out on my server. Is it possible to create an LVM so that a swap partition and a filesystem exist inside an LVM together as is the

cfdisk error

2010-09-29 Thread Tapas Mishra
I am getting following error on cfdisk FATAL ERROR: Bad primary partition 1: Partition ends in the final partial cylinder Press any key to exit cfdisk what does it mean how can I overcome this. -- Tapas -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com

what is the advantage of using rsync over sftp

2010-09-29 Thread Tapas Mishra
What is the advantage of using rsync over scp or sftp? On same list I have put up a problem of taking backup of an LVM. Which I mentioned here http://forum.nginx.org/read.php?26,135008,135251#msg-135251 I used rsync but I am not clear with what is the advantage of doing all this hard work. What I

dead letter recieved from cron

2010-09-29 Thread Tapas Mishra
I was taking backup of my server when I noticed a file named dead.letter what is that it is in root folder and its contents I have not created. Here are the contents To: root Subject: CRON-APT completed on server [/etc/cron-apt/config] CRON-APT RUN [/etc/cron-apt/config]: Thu Sep 23 04:00:01

Re: dead letter recieved from cron

2010-09-29 Thread Tapas Mishra
On Wed, Sep 29, 2010 at 3:34 PM, Ahmed Kamal ahmed.ka...@canonical.com wrote:  These seem to be the output of a cron job. It seems like the server is configured to auto-update itself. Any output cron generates gets sent by email. dead.letter is when the mta (mail server) cannot deliver that

Re: what is the advantage of using rsync over sftp

2010-09-29 Thread Tapas Mishra
On Wed, Sep 29, 2010 at 3:36 PM, Ahmed Kamal ahmed.ka...@canonical.com wrote:  I understand you want to do all the same steps, just replace rsync with scp ? Well the advantage, is that you will be doing the backups regularly, and here rsync shines, because it will only send to the remote end

server rebooting frequently how to diagnose

2010-09-28 Thread Tapas Mishra
I am having a small problem on my Power Edge server. It is PowerEdge R710. It is rebooting frequently I am having a virtuallization setup over it. Some one a long time back had told me about some way to make a log on power edge via a utility which can have some sort of dumps. Which I can send to

Re: Dumping the BMC/DRAC event log without installing a bunch of software on R410 Ubuntu 10

2010-09-28 Thread Tapas Mishra
On Tue, Sep 21, 2010 at 12:57 AM, cgm 999...@gmail.com wrote: The ipmitool from Dell repos also decode the DIMMs etc (like OMSA does) ipmitool delloem sel list I did it but did not worked apt-get install ipmitool Reading package lists... Done Building dependency tree Reading state information...

Re: taking lvm backup

2010-09-28 Thread Tapas Mishra
On Tue, Sep 28, 2010 at 11:11 AM, Clint Byrum cl...@ubuntu.com wrote: These are just the symlinks to the device nodes. If you look in /dev/mapper, you'll see type b files nintendo-lvm1, nintendo-lvm2, etc. Yes I saw this is there. These block devices have their size defined by LVM, which

Re: taking lvm backup

2010-09-28 Thread Tapas Mishra
On Tue, Sep 28, 2010 at 11:11 AM, Clint Byrum cl...@ubuntu.com wrote: mount /dev/nintendo/lvm4 /mnt -o ro If it has a filesystem on it, that should detect it, and mount it I get following message when I do as above that you said. mount: you must specify the filesystem type -- Tapas --

Re: taking lvm backup

2010-09-28 Thread Tapas Mishra
On Tue, Sep 28, 2010 at 4:12 PM, Matt Darcy ubuntu.li...@projecthugo.co.uk wrote: Why are you trying to back the in use volumes up at a raw device level and not at the file system level. I could not understand this part. Mount them - take a look at what's on them/size of them, back them up and

taking lvm backup

2010-09-27 Thread Tapas Mishra
Hi, I am using Lucid 10.04 64 bit. I had created some lvms in some locations on my server. Which I am not able to recall. pvdsiplay lvdisplay --- Physical volume --- PV Name /dev/sda6 VG Name nintendo PV Size 441.55 GiB / not usable 3.00 MiB

Re: make with argument 0 is failing some where

2010-09-18 Thread Tapas Mishra
On Sun, Sep 12, 2010 at 10:56 AM, Tapas Mishra mightydre...@gmail.com wrote: For the sake of simplicity I am rewriting all the steps that I did Step 1) copied the config from /boot to $HOME/linux-2.6 Step 2) yes ' ' | make O=$HOME/btc oldconfig Step 3) make O=$HOME/btc got errors make O

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

2010-09-18 Thread Tapas Mishra
On Sat, Sep 18, 2010 at 9:22 PM, Johannes H. Jensen j...@pseudoberries.com wrote: I experience the exact same bug on both my ThinkPad X61 *and* my desktop computer, both running 10.04. The behavior seems quite random, but occurs quite frequently and most often in the address bar and search

Re: Hi

2010-09-18 Thread Tapas Mishra
On Fri, Sep 17, 2010 at 11:45 AM, Muthelo, Lindelani lmuth...@fnb.co.za wrote: Hi We currently switching on to ubuntu so im doing a research on serve platform and workstation. What exactly you mean by research can you tell a thing or two? -- Tapas http://mightydreams.blogspot.com --

Re: Hi

2010-09-18 Thread Tapas Mishra
On Sat, Sep 18, 2010 at 10:44 PM, Muthelo, Lindelani lmuth...@fnb.co.za wrote: By research i mean,How are we gona deploy the image to the branch servers and the whole implemantation. Thats a very straight forward thing.Are you trying different OS or different virtualization technologies or thin

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

2010-09-17 Thread Tapas Mishra
If some one decides to read this thread then here are some related bugs which came on the mailing list

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

2010-09-17 Thread Tapas Mishra
While submitting the bug report as Jeff suggested ubuntu-bug firefox I got following error hook /usr/share/apport/package-hooks//firefox.py crashed: Traceback (most recent call last): File /usr/lib/python2.6/dist-packages/apport/report.py, line 619, in add_hooks_info symb['add_info'](self)

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

2010-09-17 Thread Tapas Mishra
The part I forgot to mention in above message is though the message report firefox.py crashed but it did not crashed actually. I have been typing the emails while bug report was being generated. Here is the strace output on my system execve(/usr/bin/firefox, [firefox], [/* 38 vars */]) = 0

Re: Regarding installing Linux kernel for first time

2010-09-16 Thread Tapas Mishra
On Thu, Sep 16, 2010 at 4:20 PM, Rags Linux linux.r...@gmail.com wrote: * Is it possible to install linux on my PC without having Linux? (I have only windows) If you have one of those laptops where the manufacturer has given only one driver and are afraid of partitioning it and you do not wish

Re: make with argument 0 is failing some where

2010-09-11 Thread Tapas Mishra
On Sat, Sep 11, 2010 at 4:21 PM, Edward Allcutt edw...@allcutt.me.uk wrote: sudo make 0=$HOME/btc modules_install ln: target `kernel+/source' is not a directory make: *** [_modinst_] Error 1 Did I do some thing wrong? I think what you wanted was an O (capital o) not a 0 (zero). -- Yes

Re: make with argument 0 is failing some where

2010-09-11 Thread Tapas Mishra
On Sat, Sep 11, 2010 at 10:57 PM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: maybe you miss something..ok, please try sudo sh -c make your options here I did what you suggested I am getting an error to always run make mrproper where as I have executed make mrproper in two ways 1) make

the first kernel code written by torvalds

2010-09-10 Thread Tapas Mishra
Hi, just Googled http://www.google.com/search?client=ubuntuchannel=fsq=Linuses+kernels+first+codeie=utf-8oe=utf-8 want to know if some one can point out the first version of kernel code which Torvalds wrote. -- Tapas http://mightydreams.blogspot.com

Re: the first kernel code written by torvalds

2010-09-10 Thread Tapas Mishra
On Fri, Sep 10, 2010 at 2:57 PM, Manohar Vanga manohar.va...@gmail.com wrote: This is probably what you're looking for: http://www.kernel.org/pub/linux/kernel/Historic/ Yeah right.But some other people have also given some links which are useful. -- Tapas http://mightydreams.blogspot.com

Re: the first kernel code written by torvalds

2010-09-10 Thread Tapas Mishra
On Fri, Sep 10, 2010 at 3:33 PM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: If that's really what you need, try to head on to: http://www.ibiblio.org/pub/historic-linux/distributions/yggdrasil/ That was great. -- Tapas http://mightydreams.blogspot.com

Re: debugging a process

2010-09-10 Thread Tapas Mishra
On Fri, Sep 10, 2010 at 12:46 PM, John Mahoney jmaho...@waav.com wrote: Actually, it is an executable, but not the actual firefox binary one would expect.  Instead it is a symbolic link to a  wrapper script which executes the first line of the file /bin/sh(a link to dash in Ubuntu) which

make with argument 0 is failing some where

2010-09-10 Thread Tapas Mishra
I cloned the 2.6 latest kernel tree on my system and in my home directory made a folder named btc git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6.git linux-2.6 then compiled as yes ' ' | make 0=$HOME/btc/ oldconfig worked well. Then make 0=$HOME/btc this also worked

[android-porting] android in vmware the battery is getting low less than 15% remaining

2010-09-10 Thread tapas mishra
I used the ISO of Android android-x86-20091024.iso on Vmware Workstation 7 and after going through some steps to install Android as a guest OS I got following message android in vmware the battery is getting low less than 15% remaining any suggestions? -- unsubscribe:

debugging a process

2010-09-09 Thread Tapas Mishra
I tried to debug a running process. I am taking firefox as an example. So I wanted to see it in detail as how is Linux kernel communicating with it. Here is my output such as which kernel symbol is used in this process what other macros it is using any thing from kernel that is affecting it like

Re: debugging a process

2010-09-09 Thread Tapas Mishra
On Thu, Sep 9, 2010 at 6:06 PM, Daniel Baluta daniel.bal...@gmail.com wrote: Hi Daniel For debugging purposes you can start with a `lighter' program. can you suggest some thing.Which you can consider as lighter program. In order for gdb to dump meaningful results the program must be compiled

Re: debugging a process

2010-09-09 Thread Tapas Mishra
On Thu, Sep 9, 2010 at 6:28 PM, Paul-Ovidiu Dascalu paul.dasc...@gmail.com wrote: Hi Paul /usr/bin/firefox is not an executable file to begin with. Yes this thing I got in my search also it is not an executable. Also you can you 'strace' on a program to see the the system calls and signal a

Re: [Bug 631319] Re: arrow keys not working(some times) when I am using Firefox page up and page down also is not working(some times) Ubuntu 10.04 64 bit Firefox 3.6.8

2010-09-08 Thread Tapas Mishra
On Wed, Sep 8, 2010 at 7:23 PM, David Woyciesjes woycies...@sbcglobal.net wrote: Unfortunately, disabling the Ubuntu Firefox add-on pack does not fix the issue for me. I initially tried setting dom.ipc.plugins.enabled from false to true. This worked until I restarted Firefox. I then

changing kernel variables at run time

2010-09-07 Thread Tapas Mishra
How can one change the value of Kernel Variables at run time. -- Tapas -- 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

Re: changing kernel variables at run time

2010-09-07 Thread Tapas Mishra
On Wed, Sep 8, 2010 at 5:50 AM, Neependra Khare neependra.kh...@gmail.com wrote: On Tue, Sep 7, 2010 at 10:59 PM, Tapas Mishra mightydre...@gmail.com wrote: How can one change the value of Kernel Variables at run time. You can definitely use SystemTap's Guru mode for that. An specific

[Bug 631319] [NEW] arrow keys not working(some times) when I am using Firefox page up and page down also is not working(some times) Ubuntu 10.04 64 bit Firefox 3.6.8

2010-09-06 Thread Tapas Mishra
Public bug reported: Binary package hint: ubufox On my 64 bit Ubuntu 10.04 2.6.32-24-generic #41-Ubuntu SMP Thu Aug 19 01:38:40 UTC 2010 x86_64 GNU/Linux I am facing two problems in using firefox 1) Arrow keys not working when I am using Firefox page up and page down also is not working. but

Re: fine tuning the precision in calibrate.c

2010-09-05 Thread Tapas Mishra
On Sun, Sep 5, 2010 at 9:25 AM, Tapas Mishra mightydre...@gmail.com wrote: loopbit = loops_per_jiffy; /* Gradually work on the lower-order bits */ while (lps_precision-- (loopbit = 1)) { loops_per_jiffy |= loopbit; How is loops_per_jiffy |= loopbit; OR operation above and ticks = jiffies

Re: fine tuning the precision in calibrate.c

2010-09-05 Thread Tapas Mishra
On Sun, Sep 5, 2010 at 9:25 AM, Tapas Mishra mightydre...@gmail.com wrote: Ok I have done some calculation using a pen and paper here is what are my results lets assume loops_per_jiffy = 1011 0010 loopbit = loops_per_jiffy; So loopbit = 1011 0010 /* Gradually work on the lower-order bits

fine tuning the precision in calibrate.c

2010-09-04 Thread Tapas Mishra
Hi, on the following link http://books.google.com/books?id=Boo57V0IOq0Cpg=PA24lpg=PA24dq=loopbit+%3D+loops_per_jiffysource=blots=pwHxgTVaX9sig=mmFc_E2o9-xS7Xy-kzYXxTu1-a8hl=enei=_RODTLP9H8bJcdPHpNALsa=Xoi=book_resultct=resultresnum=5ved=0CCQQ6AEwBA#v=onepageq=loopbit%20%3D%20loops_per_jiffyf=false

gdb error for 32 bit Ubuntu No symbol table is loaded. Use the file command.

2010-08-31 Thread Tapas Mishra
I tried to run gdb on a 32 bit kernel image. gdb /boot/vmlinuz-2.6.28-11-generic /proc/kcore and tried to check loops_per_jiffy via gdb gdb vmlinuz-2.6.28-11-generic /proc/kcore GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later

Re: gdb error for 32 bit Ubuntu No symbol table is loaded. Use the file command.

2010-08-31 Thread Tapas Mishra
On Tue, Aug 31, 2010 at 4:56 PM, mayur nande mayur@gmail.com wrote: Hello, I guess you need to load the uncompressed kernel image (vmlinux) instead of the compressed one (vmlinuz). Ok so for that what do I need to do? Do you mean to say I need to compile a new kernel and then use that? --

Re: what is static inline void tvec_base

2010-08-28 Thread Tapas Mishra
On Sat, Aug 28, 2010 at 12:06 PM, James Bond jamesbond.2...@gmail.com wrote: No not yet clear. To make a function call CPU has to save registers and pass on ret instructions when ever the function call ends if we have a small fucntion which is used in a file and a function call via CPU then

Re: what is static inline void tvec_base

2010-08-28 Thread Tapas Mishra
On Fri, Aug 27, 2010 at 10:53 PM, James Bond jamesbond.2...@gmail.com wrote: Hi, I am new to kernel development. So after being able to have some basic understand of some things I just went through source code. I was going through a file known as linux-2.6.34/kernel/timer.c and found

Re: branch annotation

2010-08-28 Thread Tapas Mishra
On Sat, Aug 28, 2010 at 10:21 PM, James Bond jamesbond.2...@gmail.com wrote: I want to know the concept of Branch Annotation with respect to Linux Kernel use of likely() and unlikely() Please give some links if you have any to share. http://kerneltrap.org/node/4705

Re: branch annotation

2010-08-28 Thread Tapas Mishra
On Sat, Aug 28, 2010 at 10:21 PM, James Bond jamesbond.2...@gmail.com wrote: Please give some links if you have any to share. You also need to search pipelined instructions branch prediction 5 stage pipeline speculative instruction execution (considers it wont write any thing in memory)

Re: what is static inline void tvec_base

2010-08-27 Thread Tapas Mishra
What I understand with respect to static and inline functions is To make a function call CPU has to save registers and pass on ret instructions when ever the function call ends if we have a small fucntion which is used in a file and a function call via CPU then over head of saving flag registers

Re: what is static inline void tvec_base

2010-08-27 Thread Tapas Mishra
Sorry in previous post I did not made clear actually what I wanted to say is if you have a function is used at 10 places and you declare it inline 10 times then there would be cache miss more and then it will have disadvantage. On Sat, Aug 28, 2010 at 10:37 AM, Tapas Mishra mightydre...@gmail.com

[squid-users] usinq squid as reverse proxy for streaming

2010-08-24 Thread Tapas Mishra
Can squid be used as a reverse proxy for streaming protocol such as rtmp running at 1935. If yes please give a link I would like to implement it. -- Tapas http://mightydreams.blogspot.com

[Zope] [Plone-Users] adding javascripts to eduCommons

2010-08-24 Thread Tapas Mishra
I read http://plone.org/documentation/manual/add-on-products-developer-manual/referencemanual-all-pages I was able to add to the Zope. After this I read http://docs.zope.org/zope.browserresource/index.html http://bluebream.zope.org/doc/1.0/manual/browserresource.html

Re: linux/module.h does not exist

2010-08-23 Thread Tapas Mishra
No It did not worked I tried what you said. Here is the new program. If possible just copy paste the program and try to run. #include linux/kernel.h #include asm/syscalls.h #include linux/module.h #include linux/unistd.h extern void *sys_table[]; asmlinkage int(*main_sys_exit)(int); asmlinkage

Re: linux/module.h does not exist

2010-08-23 Thread Tapas Mishra
Sharad you are right. It did worked I got a warning in it. make -C /lib/modules/2.6.28-11-generic/build M=/home/tapas/LKP/pandora/temp/sample2 modules make[1]: Entering directory `/usr/src/linux-headers-2.6.28-11-generic' CC [M] /home/tapas/LKP/pandora/temp/sample2/sample21.o

Re: linux/module.h does not exist

2010-08-22 Thread Tapas Mishra
He he tried what you said. I wont 2 cents :) It did not worked Following is new program #include linux/kernel.h #include sys/syscalls.h #include linux/module.h extern void *sys_table[]; asmlinkage int(*main_sys_exit)(int); asmlinkage int alt_exit_function(int err_code) { printk(Sys_exit

Re: linux/module.h does not exist

2010-08-22 Thread Tapas Mishra
On Sun, Aug 22, 2010 at 1:48 PM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: uhum? AFAIK sys call table is not exported in 2.6.x so even if your code is perfectly compiled and produced valid .ko kernel module, I doubt it will work. Unless I missed something in recent

Re: address space of kernel thread

2010-08-22 Thread Tapas Mishra
http://ldn.linuxfoundation.org/article/kernel-symbols-whats-available-your-module-what-isnt On Sun, Aug 22, 2010 at 3:58 PM, Parmenides mobile.parmeni...@gmail.com wrote: Hi, It's said that kernel thread is running in kernel address space only. I wonder what's the meaning of running in kernel

Re: linux/module.h does not exist

2010-08-22 Thread Tapas Mishra
On Sun, Aug 22, 2010 at 6:11 PM, Robert P. J. Day rpj...@crashcourse.ca wrote:  i'm just catching up with this thread and, if i read it correctly, the goal is to build a loadable kernel module using the proper incantation and options on the gcc command line, is that correct? Yes yes right but

Re: linux/module.h does not exist

2010-08-22 Thread Tapas Mishra
Ok I corrected the make file there should have been a blank space here is the new make file for the program ifeq ($(KERNELRELEASE),) KERNELDIR ?= /lib/modules/$(shell uname -r)/build PWD := $(shell pwd) .PHONY: build clean build: $(MAKE) -C $(KERNELDIR) M=$(PWD) modules clean: rm

Re: linux/module.h does not exist

2010-08-22 Thread Tapas Mishra
On Sun, Aug 22, 2010 at 8:49 PM, arshad hussain arshad.su...@gmail.com wrote: Ok. So you included linux/syscalls.h instead of sys/syscalls.h and still it cannot find Yes this is what happened __NR_exit symbol. Right? Or it compiled successfully but did not load. Not reached here. -- Tapas

Re: linux/module.h does not exist

2010-08-21 Thread Tapas Mishra
Upto this point I have tried Step1) gcc -Wall -DMODULE -D__KERNEL__ -DLINUX -c sample2.c Step2) added -I to gcc flag gcc -Wall -DMODULE -D__KERNEL -DLINUX -I /usr/src/linux-headers-2.6.28- 11/include/ -c sample2.c Step3) added one more -I with asm in path gcc -I

Re: linux/module.h does not exist

2010-08-21 Thread Tapas Mishra
Ok I did try what you suggested. From http://tldp.org/LDP/lkmpg/2.6/html/x181.html#AEN189 here is my Makefile obj-m += sample2.o all: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules clean: make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean but I got same

Re: linux/module.h does not exist

2010-08-20 Thread Tapas Mishra
Hi Dave I could not understand your reply. -- 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

Re: linux/module.h does not exist

2010-08-20 Thread Tapas Mishra
GCC does not have information about compiling the kernel. The information that you were suggested to read it how to configure GCC so it can find the kernel headers. I checked these 2 documents http://www.open-std.org/JTC1/SC22/wg14/www/docs/n1124.pdf

Re: linux/module.h does not exist

2010-08-20 Thread Tapas Mishra
...@gmail.com wrote: Hi Tapas, Replying to all this time... On Fri, Aug 20, 2010 at 12:52 AM, Tapas Mishra wrote: Hi Dave I could not understand your reply. Go back to page 48 of the PDF, and look at the example. And then look at the code you posted. It's missing a line in the spot I indicated

Re: linux/module.h does not exist

2010-08-20 Thread Tapas Mishra
Also I did a find on module.h which of them among here should I include? As some one pointed out to use -I flag /usr/src/linux-headers-2.6.28-11-generic/include/linux/module.h /usr/src/linux-headers-2.6.28-11/arch/alpha/include/asm/module.h

Re: linux/module.h does not exist

2010-08-20 Thread Tapas Mishra
Ohh Ok now it becomes a bit clear, On Sat, Aug 21, 2010 at 8:51 AM, Dave Hylands dhyla...@gmail.com wrote: This one: /usr/src/linux-headers-2.6.28-11/include/linux/module.h I suspect that you'll also need to add /usr/src//usr/src/linux-headers-2.6.28-11/arch/x86/include/asm to your search

Re: linux/module.h does not exist

2010-08-20 Thread Tapas Mishra
Apart from what you said I notice adding /linux to reduces the errors. So when I tried gcc -I /usr/src/linux-headers-2.6.28-11/arch/x86/include/asm/ -I /usr/src/linux-headers-2.6.28-11/include/linux/ -c sample2.c got less errors sample2.c:3:26: error: linux/module.h: No such file or directory

Re: [SWFObject] why is swfobject used in head

2010-08-20 Thread Tapas Mishra
On Fri, Aug 20, 2010 at 7:03 PM, Aran Rhee aran.r...@gmail.com wrote: Because swfobject executes its code ondomready What exactly you meant by above ? before the page is rendered to the screen. If you defined it somewhere within the body, then you may see the alt content briefly before the js

Re: [SWFObject] Re: using clsid and application/x-shockwave-flash together

2010-08-20 Thread Tapas Mishra
On Fri, Aug 20, 2010 at 8:41 PM, Aran aran.r...@gmail.com wrote: What you have in your code is not JavaScript, but HTML. If you are wanting to convert the above for use with swfobject, then try using the SWFObject code generator: http://code.google.com/p/swfobject/wiki/generator You just

Re: [SWFObject] why is swfobject used in head

2010-08-20 Thread Tapas Mishra
that you can understand and implement what you need yourself. I would suggest you get a test page working outside of your Zope/eduCommons environment. Once you have it working on a static page Yes you are right I have been doing that only. Thanks for the links. -- You received this message

Re: linux/module.h does not exist

2010-08-19 Thread Tapas Mishra
I was able to write my first module and saw that in syslog. I am trying this code from here https://docs.google.com/fileview?id=0B2A4urYOAf6POTI1OGE1MjctM2UyMC00OGUzLThlNDUtZDBhOWFjY2Y1MDUzhl=en page 48 left hand section. Headers are installed. sudo apt-get install linux-headers-generic [sudo]

Re: linux/module.h does not exist

2010-08-19 Thread Tapas Mishra
Ok I looked at man page of gcc and searched for DMODULE D__KERNEL and DLINUX got following Pattern not found (press RETURN) -- 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

[SWFObject] using swfobject in body

2010-08-19 Thread tapas mishra
Is it possible to give the location of swfobject in body of html and not in head section? -- You received this message because you are subscribed to the Google Groups SWFObject group. To post to this group, send email to swfobj...@googlegroups.com. To unsubscribe from this group, send email to

Re: [SWFObject] using swfobject in body

2010-08-19 Thread Tapas Mishra
closes placing the scripts within the head of the document is the advised setup, if/when things stop working you might find that the issue is resolved by placing the code within the head  - S On 19 August 2010 13:01, Tapas Mishra mightydre...@gmail.com wrote: On Thu, Aug 19, 2010 at 4:36 PM

Re: [SWFObject] using swfobject in body

2010-08-19 Thread Tapas Mishra
in the head of the document?  - S On 19 August 2010 14:48, Tapas Mishra mightydre...@gmail.com wrote: Thanks a lot for these links. Have a look at this thread also because which I asked this question here http://educommons.2416974.n2.nabble.com/problem-in-embedding-flash-in-eduCommon

Re: [SWFObject] using swfobject in body

2010-08-19 Thread Tapas Mishra
know. On Thu, Aug 19, 2010 at 7:45 PM, Tapas Mishra mightydre...@gmail.com wrote: Yes I have multiple videos and the ability to include swfobject if exists in eduCommons has not been documented. On Thu, Aug 19, 2010 at 7:40 PM, Sam Sherlock sam.sherl...@gmail.com wrote: What are you hoping

Re: [SWFObject] Help-please: Sequential Banner

2010-08-19 Thread Tapas Mishra
The Good Parts by Douglas Crockford I recommend that also  - S On 19 August 2010 18:31, Tapas Mishra mightydre...@gmail.com wrote: Can you give links to some javascript forums more of us who are  new may get benefit out of it. On Thu, Aug 19, 2010 at 7:55 PM, Sam Sherlock sam.sherl

[Zope] adding swfobject in zope2

2010-08-19 Thread Tapas Mishra
I am using a Content Management System known as eduCommons. As per suggestions on this list I want to embed swfobject in it. I googled Zope2 documents since eduCommons is based on Zope2. Following results http://www.google.co.in/search?hl=enq=adding+swfobject+to+zope2aq=faqi=aql=oq=gs_rfai= did

linux/module.h does not exist

2010-08-18 Thread Tapas Mishra
I wrote following program in my home directory. #include linux/kernel.h #include sys/syscall.h #include linux/module.h extern void *sys_table[]; asmlinkage int(*main_sys_exit)(int); { printk(Sys_exit called with err_code=%d\n,err_code); return main_sys_exit(err_code); } int

[SWFObject] Zope document root or where do I keep my swfobject in Zope

2010-08-17 Thread tapas mishra
I am having a javascript which I am using in my site. My server is Zope I am not able to find where should I keep the javascript in it. Can any one help? -- You received this message because you are subscribed to the Google Groups SWFObject group. To post to this group, send email to

[Zope] Zope document root or where do I keep my swfobject in Zope

2010-08-17 Thread Tapas Mishra
I am having a javascript which I am using in my site. My server is Zope I am not able to find where should I keep the javascript in it. Can any one help? -- Tapas ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No

Re: [Zope] Zope document root or where do I keep my swfobject in Zope

2010-08-17 Thread Tapas Mishra
I am very new to all this Zope thing. Here is where I asked this question originally http://educommons.2416974.n2.nabble.com/embed-section-of-code-in-javascript-is-being-over-written-by-eduCommons-tp5431156.html Past few days I have gone through n number of documentation pages for n number of

[squid-users] rtmp redirection at gateway

2010-08-14 Thread Tapas Mishra
Hi, is it possible to re direct the requests coming at gateway from internet in following format rtmp://site1.mydomain.com rtmp://site2.mydomain.com rtmp://site3.mydomain.com rtmp://site4.mydomain.com by squid to internal servers which are actually hosting site1.mydomain.com

Re: How to Begin

2010-08-13 Thread Tapas Mishra
Victor thanks for the link. I really found it helpful. On Wed, Aug 11, 2010 at 7:35 PM, Victor Rodriguez vm.ro...@gmail.com wrote: On Wed, Aug 11, 2010 at 8:56 AM, jerome zh jerome...@gmail.com wrote: 2010/8/11 Fazal Azim azimfa...@gmail.com: How to Begin undersatnding Linux kernal source

[osflash] rtmp redirection at gateway

2010-08-11 Thread Tapas Mishra
Hi, I have multiple video streaming servers Red5 running on some machines internally on LAN. which serve the request on LAN as rtmp://site1.mydomain.com rtmp://site2.mydomain.com rtmp://site3.mydomain.com rtmp://site4.mydomain.com Now I have to bring them to internet. They are not load

rtmp redirection at gateway

2010-08-11 Thread Tapas Mishra
Hi, I have multiple video streaming servers running on some machines internally on LAN. which serve the request on LAN as rtmp://site1.mydomain.com rtmp://site2.mydomain.com rtmp://site3.mydomain.com rtmp://site4.mydomain.com Now I have to bring them to internet. I want these streaming servers

rtmp redirection at gateway

2010-08-11 Thread Tapas Mishra
Hi, I have multiple video streaming servers running on some machines internally on LAN. which serve the request on LAN as rtmp://site1.mydomain.com rtmp://site2.mydomain.com rtmp://site3.mydomain.com rtmp://site4.mydomain.com Now I have to bring them to internet. I want these streaming servers

multiple streaming servers in a cloud

2010-08-10 Thread Tapas Mishra
Hi,  I need some help. I have multiple video streaming servers running on some machines internally on LAN. For different subdomains. i.e. site1.mydomain.com site2.mydomain.com site3.mydomain.com site4.mydomain.com I am not doing any load balancing these are different websites. The video

[squid-users] redirecting rtmp requests to different websites based on host name

2010-08-10 Thread Tapas Mishra
Hi,  I need some help. I have multiple video streaming servers running on some machines internally on LAN. For different subdomains. i.e. site1.mydomain.com site2.mydomain.com site3.mydomain.com site4.mydomain.com I am not doing any load balancing these are different websites. The video

multiple streaming servers in a cloud

2010-08-09 Thread Tapas Mishra
Probably some one on this list may give me some idea to which direction I should look or think. This question is not for kernel development but it is a problem I am facing. I have multiple video streaming servers running on my LAN. For different subdomains. i.e. site1.mydomain.com

[osflash] multiple streaming servers in a cloud

2010-08-09 Thread Tapas Mishra
Hi,  I need some help. If this is not the right forum to ask this question please give some idea or let me know where should I ask this question. I have multiple video streaming servers running on some machines internally on LAN. (Red5 on Ubuntu 10.04) For different subdomains. i.e.

[us...@httpd] Re: multiple streaming servers in a cloud

2010-08-09 Thread Tapas Mishra
Finally got the solution. If some one comes across here http://permalink.gmane.org/gmane.comp.emulators.xen.user/60859 should help him. On Mon, Aug 9, 2010 at 10:47 AM, Tapas Mishra mightydre...@gmail.com wrote: Hi,  I am not sure if this is the right place to ask this  question. Please go

multiple streaming servers in a cloud

2010-08-09 Thread Tapas Mishra
Hi, I am using Ubuntu 10.04 and Red5 as streaming server. I have multiple video streaming servers running on some machines internally on LAN. For different subdomains. i.e. site1.mydomain.com site2.mydomain.com site3.mydomain.com site4.mydomain.com The front end to the world is apache2 on a

Re: multiple streaming servers in a cloud

2010-08-09 Thread Tapas Mishra
Ok I got some solution so posting here it should help some one else. To do with a single Public IP address. It requires either port redirection or layer7 firewalls/reverse proxies such as SOCKS or perhaps Squid. One way is to run these streaming servers at different ports as

Re: multiple streaming servers in a cloud

2010-08-09 Thread Tapas Mishra
Finally got the solution. If some one comes across here http://permalink.gmane.org/gmane.comp.emulators.xen.user/60859 should help him. On Mon, Aug 9, 2010 at 1:02 PM, Tapas Mishra mightydre...@gmail.com wrote: Hi, I am using Ubuntu 10.04 and Red5 as streaming server. I have multiple video

[osflash] multiple Red5 servers behind a Bastion Host

2010-08-08 Thread Tapas Mishra
I have multiple Red5 servers running on some machines internally on LAN. For different subdomains. The front end to the world is apache2 on a Bastion Host. To be able to reach the streaming server I embed a javascript in HTML pages as follows embed . var=rtmp://m

[us...@httpd] multiple streaming servers in a cloud

2010-08-08 Thread Tapas Mishra
Hi, I am not sure if this is the right place to ask this question. Please go through the question if you have any suggestion let me know . I have multiple streaming servers(Red5) running on some machines internally on LAN. For different subdomains. Server is Ubuntu 10.04 The front end to

[us...@httpd] Apache as front end for rtmp stream

2010-08-06 Thread Tapas Mishra
I am having a website which is running on Zope. I am using Apache as a front end to that Zope website. On the same server where Zope is running I am having a streaming server Red5 running on it. My communication to the Zope website from outside world is via front end Apache only. To be able to

<    1   2   3   4   5   >