Re: problem while mounting an LVM
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 /mnt/backup/ busy and contents of outout are 20525 execve(/bin/mount, [mount, /dev/mapper/nintendo-backu..., /mnt/backup/], [/* 18 vars */]) = 0 20525 brk(0)= 0x18f3000 20525 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) 20525 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5dea24 20525 access(/etc/ld.so.preload, R_OK) = -1 ENOENT (No such file or directory) 20525 open(/etc/ld.so.cache, O_RDONLY) = 3 20525 fstat(3, {st_mode=S_IFREG|0644, st_size=34118, ...}) = 0 20525 mmap(NULL, 34118, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f5dea237000 20525 close(3) = 0 20525 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) 20525 open(/lib/libblkid.so.1, O_RDONLY) = 3 20525 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\...@x\0\0\0\0\0\0..., 832) = 832 20525 fstat(3, {st_mode=S_IFREG|0644, st_size=126536, ...}) = 0 20525 mmap(NULL, 2221608, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f5de9e04000 20525 mprotect(0x7f5de9e2, 2093056, PROT_NONE) = 0 20525 mmap(0x7f5dea01f000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x7f5dea01f000 20525 close(3) = 0 20525 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) 20525 open(/lib/libuuid.so.1, O_RDONLY) = 3 20525 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0\320\25\0\0\0\0\0\0..., 832) = 832 20525 fstat(3, {st_mode=S_IFREG|0644, st_size=19008, ...}) = 0 20525 mmap(NULL, 2113920, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f5de9bff000 20525 mprotect(0x7f5de9c03000, 2093056, PROT_NONE) = 0 20525 mmap(0x7f5de9e02000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3000) = 0x7f5de9e02000 20525 close(3) = 0 20525 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) 20525 open(/lib/libselinux.so.1, O_RDONLY) = 3 20525 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0\20Y\0\0\0\0\0\0..., 832) = 832 20525 fstat(3, {st_mode=S_IFREG|0644, st_size=117592, ...}) = 0 20525 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5dea236000 20525 mmap(NULL, 2217480, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f5de99e1000 20525 mprotect(0x7f5de99fd000, 2093056, PROT_NONE) = 0 20525 mmap(0x7f5de9bfc000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1b000) = 0x7f5de9bfc000 20525 mmap(0x7f5de9bfe000, 1544, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f5de9bfe000 20525 close(3) = 0 20525 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) 20525 open(/lib/libsepol.so.1, O_RDONLY) = 3 20525 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0\340D\0\0\0\0\0\0..., 832) = 832 20525 fstat(3, {st_mode=S_IFREG|0644, st_size=244576, ...}) = 0 20525 mmap(NULL, 2341536, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f5de97a5000 20525 mprotect(0x7f5de97df000, 2097152, PROT_NONE) = 0 20525 mmap(0x7f5de99df000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3a000) = 0x7f5de99df000 20525 close(3) = 0 20525 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) 20525 open(/lib/libc.so.6, O_RDONLY) = 3 20525 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0`\355\1\0\0\0\0\0..., 832) = 832 20525 fstat(3, {st_mode=S_IFREG|0755, st_size=1568136, ...}) = 0 20525 mmap(NULL, 3676200, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f5de9423000 20525 mprotect(0x7f5de959b000, 2097152, PROT_NONE) = 0 20525 mmap(0x7f5de979b000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x178000) = 0x7f5de979b000 20525 mmap(0x7f5de97a, 18472, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f5de97a 20525 close(3) = 0 20525 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) 20525 open(/lib/libdl.so.2, O_RDONLY) = 3 20525 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0\340\r\0\0\0\0\0\0..., 832) = 832 20525 fstat(3, {st_mode=S_IFREG|0644, st_size=14696, ...}) = 0 20525 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5dea235000 20525 mmap(NULL, 2109696, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f5de921f000 20525 mprotect(0x7f5de9221000, 2097152, PROT_NONE) = 0 20525 mmap(0x7f5de9421000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7f5de9421000 20525 close(3) = 0 20525 mmap(NULL,
Re: how to transfer an LVM Guest OS on KVM Lucid to another server
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 I am not clear with and trying. If you want it to be really fast, make sure that the VM backing stores are shared between the two servers, Ok and at the same pathnames on both. You mean to say NFS or iSCSI type of thing, With maverick you can ask libvirt to move the backing store for you. Ok that would be released in a week so I have to wait till then, but still I want to explore this thing. -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: problem while mounting an LVM
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 82 was swap space. Are there any interesting messages in syslog? U can't say here is the complete syslog Oct 4 06:30:11 tapas-server rsyslogd: [origin lvm1=rsyslogd swVersion=4.2.0 x-pid=738 x-info=http://www.rsyslog.com;] rsyslogd was HUPed, type 'lightweight'. Oct 4 06:39:01 tapas-server CRON[27170]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] [ -d /var/lib/php5 ] find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm) Oct 4 07:09:01 tapas-server CRON[31664]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] [ -d /var/lib/php5 ] find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm) Oct 4 07:17:01 tapas-server CRON[420]: (root) CMD ( cd / run-parts --report /etc/cron.hourly) Oct 4 07:39:01 tapas-server CRON[3955]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] [ -d /var/lib/php5 ] find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm) Oct 4 08:09:01 tapas-server CRON[8457]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] [ -d /var/lib/php5 ] find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm) Oct 4 08:17:01 tapas-server CRON[9652]: (root) CMD ( cd / run-parts --report /etc/cron.hourly) Oct 4 08:39:01 tapas-server CRON[12949]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] [ -d /var/lib/php5 ] find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm) Oct 4 09:08:01 tapas-server CRON[17278]: (root) CMD (/etc/webmin/cron/tempdelete.pl #Delete Webmin temporary files) Oct 4 09:08:01 tapas-server postfix/pickup[5597]: EC2744B975: uid=0 from=root Oct 4 09:08:01 tapas-server postfix/cleanup[17282]: EC2744B975: message-id=20101004033801.ec2744b...@openworld.iimb.ernet.in Oct 4 09:08:01 tapas-server postfix/qmgr[1795]: EC2744B975: from=r...@openworld.iimb.ernet.in, size=627, nrcpt=1 (queue active) Oct 4 09:08:02 tapas-server postfix/local[17284]: EC2744B975: to=r...@openworld.iimb.ernet.in, orig_to=root, relay=local, delay=0.12, delays=0.07/0.01/0/0.03, dsn=2.0.0, status=sent (delivered to mailbox) Oct 4 09:08:02 tapas-server postfix/qmgr[1795]: EC2744B975: removed Oct 4 09:09:01 tapas-server CRON[17437]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] [ -d /var/lib/php5 ] find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm) Oct 4 09:17:01 tapas-server CRON[18625]: (root) CMD ( cd / run-parts --report /etc/cron.hourly) Oct 4 09:39:01 tapas-server CRON[21924]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] [ -d /var/lib/php5 ] find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm) Oct 4 10:09:01 tapas-server CRON[26644]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] [ -d /var/lib/php5 ] find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm) Oct 4 10:17:01 tapas-server CRON[27840]: (root) CMD ( cd / run-parts --report /etc/cron.hourly) Oct 4 10:39:01 tapas-server CRON[31160]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] [ -d /var/lib/php5 ] find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm) Oct 4 11:09:01 tapas-server CRON[3432]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] [ -d /var/lib/php5 ] find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm) Oct 4 11:17:01 tapas-server CRON[4637]: (root) CMD ( cd / run-parts --report /etc/cron.hourly) Oct 4 11:39:01 tapas-server CRON[8011]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] [ -d /var/lib/php5 ] find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm) Oct 4 12:09:01 tapas-server CRON[12538]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] [ -d /var/lib/php5 ] find /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm) Oct 4 12:17:01 tapas-server CRON[13739]: (root) CMD ( cd / run-parts --report /etc/cron.hourly) Oct 4 12:17:38 tapas-server kernel: [410835.539910] sd 2:0:0:0: [sda] Sense Key : Recovered Error [current] [descriptor] Oct 4 12:17:38 tapas-server kernel: [410835.539917] Descriptor sense data with sense descriptors (in hex): Oct 4 12:17:38 tapas-server kernel: [410835.539920] 72 01 00 1d 00 00 00 0e 09 0c 00 00 00 00 00 00 Oct 4 12:17:38 tapas-server kernel: [410835.539929] 00 00 00 00 00 00 Oct 4 12:17:38 tapas-server kernel: [410835.539934] sd 2:0:0:0: [sda] Add. Sense: ATA pass through information available Oct 4 12:17:38 tapas-server kernel: [410835.690798] sd 2:0:0:0:
error while converting an LVM to qemu image
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 ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: [Bug 641300] Re: Text Entry Boxes in Firefox sometimes get stuck in an endless Select-All making typing in them impossible
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 person so I am now opening the bug. First, I have no idea how to reproduce this. It seems pretty random in occurrence. Sometimes it happens frequently, sometimes very infrequently. In fact, until last night, I had not seen it happen at all for several days. So here is what happens: I really wish I knew how to trigger this to happen, it just does from time to time and I'm not sure how to tell you to reliably reproduce it. -- Text Entry Boxes in Firefox sometimes get stuck in an endless Select-All making typing in them impossible https://bugs.launchpad.net/bugs/641300 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
booting a OS in a snapshot volume in KVM
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 case when I use virt-manager --- Logical volume --- LV Name/dev/nintendo/lvm1 VG Namenintendo LV UUIDpM9IVB-UorL-9CtJ-qRp5-wRsX-KEKm-ws5nvc LV Write Accessread/write LV Status available # open 1 LV Size100.00 GiB Current LE 25600 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 251:1 In the above LVM which is /dev/nintendo/lvm1 both a swap and a filesystem co exist that way I do not have to create a separate swap. Does any one has some idea? -- Tapas -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
cfdisk error
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 https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
what is the advantage of using rsync over sftp
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 saw was a snapshot lvm was created which was mounted some where and I copied complete directory structure to some remote location. What is the advantage of all this hard work can simple scp or sftp not do the same thing? -- Tapas -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
dead letter recieved from cron
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 IST 2010 CRON-APT SLEEP: 274, Thu Sep 23 04:04:35 IST 2010 CRON-APT ACTION: 0-update CRON-APT LINE: /usr/bin/apt-get update -o quiet=2 W: Failed to fetch http://debian.adenu.ia.uned.es/apt/dists/lucid/main/binary-amd64/Packages.gz 404 Not Found E: Some index files failed to download, they have been ignored, or old ones used instead. To: root Subject: CRON-APT completed on server [/etc/cron-apt/config] CRON-APT RUN [/etc/cron-apt/config]: Fri Sep 24 04:00:01 IST 2010 CRON-APT SLEEP: 313, Fri Sep 24 04:05:14 IST 2010 CRON-APT ACTION: 0-update CRON-APT LINE: /usr/bin/apt-get update -o quiet=2 W: Failed to fetch http://debian.adenu.ia.uned.es/apt/dists/lucid/main/binary-amd64/Packages.gz 404 Not Found E: Some index files failed to download, they have been ignored, or old ones used instead. To: root Subject: CRON-APT completed on server [/etc/cron-apt/config] CRON-APT RUN [/etc/cron-apt/config]: Sat Sep 25 04:00:01 IST 2010 CRON-APT SLEEP: 1383, Sat Sep 25 04:23:04 IST 2010 CRON-APT ACTION: 0-update CRON-APT LINE: /usr/bin/apt-get update -o quiet=2 W: Failed to fetch http://debian.adenu.ia.uned.es/apt/dists/lucid/main/binary-amd64/Packages.gz 404 Not Found E: Some index files failed to download, they have been ignored, or old ones used instead. To: root Subject: CRON-APT completed on server [/etc/cron-apt/config] CRON-APT RUN [/etc/cron-apt/config]: Sun Sep 26 04:00:01 IST 2010 CRON-APT SLEEP: 2118, Sun Sep 26 04:35:19 IST 2010 CRON-APT ACTION: 0-update CRON-APT LINE: /usr/bin/apt-get update -o quiet=2 W: Failed to fetch http://debian.adenu.ia.uned.es/apt/dists/lucid/main/binary-amd64/Packages.gz 404 Not Found E: Some index files failed to download, they have been ignored, or old ones used instead. To: root Subject: CRON-APT completed on server [/etc/cron-apt/config] CRON-APT RUN [/etc/cron-apt/config]: Mon Sep 27 04:00:01 IST 2010 CRON-APT SLEEP: 514, Mon Sep 27 04:08:35 IST 2010 CRON-APT ACTION: 0-update CRON-APT LINE: /usr/bin/apt-get update -o quiet=2 W: Failed to fetch http://debian.adenu.ia.uned.es/apt/dists/lucid/main/binary-amd64/Packages.gz 404 Not Found E: Some index files failed to download, they have been ignored, or old ones used instead. To: root Subject: CRON-APT completed on server [/etc/cron-apt/config] CRON-APT RUN [/etc/cron-apt/config]: Tue Sep 28 04:00:01 IST 2010 CRON-APT SLEEP: 2393, Tue Sep 28 04:39:54 IST 2010 CRON-APT ACTION: 0-update CRON-APT LINE: /usr/bin/apt-get update -o quiet=2 W: Failed to fetch http://debian.adenu.ia.uned.es/apt/dists/lucid/main/binary-amd64/Packages.gz 404 Not Found E: Some index files failed to download, they have been ignored, or old ones used instead. To: root Subject: CRON-APT completed on server [/etc/cron-apt/config] CRON-APT RUN [/etc/cron-apt/config]: Wed Sep 29 04:00:01 IST 2010 CRON-APT SLEEP: 3209, Wed Sep 29 04:53:30 IST 2010 CRON-APT ACTION: 0-update CRON-APT LINE: /usr/bin/apt-get update -o quiet=2 W: Failed to fetch http://debian.adenu.ia.uned.es/apt/dists/lucid/main/binary-amd64/Packages.gz 404 Not Found E: Some index files failed to download, they have been ignored, or old ones used instead. -- Tapas -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: dead letter recieved from cron
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 email Yes it is configured to auto update.Where is this mta trying to deliver the mail. -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: what is the advantage of using rsync over sftp
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 the files that have been changed from the last backup! scp would just send everything Ok. -- Tapas -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
server rebooting frequently how to diagnose
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 Dell for analysis if any one is able to understand what I am saying then give me a link. Or if there is some other way to debug this? -- Tapas Blog http://mightydreams.blogspot.com ___ Linux-PowerEdge mailing list Linux-PowerEdge@dell.com https://lists.us.dell.com/mailman/listinfo/linux-poweredge Please read the FAQ at http://lists.us.dell.com/faq
Re: Dumping the BMC/DRAC event log without installing a bunch of software on R410 Ubuntu 10
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... Done Suggested packages: openipmi The following NEW packages will be installed: ipmitool 0 upgraded, 1 newly installed, 0 to remove and 137 not upgraded. Need to get 428kB of archives. After this operation, 1,139kB of additional disk space will be used. WARNING: The following packages cannot be authenticated! ipmitool Install these packages without verification [y/N]? y Get:1 http://us.archive.ubuntu.com/ubuntu/ lucid/universe ipmitool 1.8.11-1ubuntu1 [428kB] Err http://us.archive.ubuntu.com/ubuntu/ lucid/universe ipmitool 1.8.11-1ubuntu1 504 Gateway Time-out Failed to fetch http://us.archive.ubuntu.com/ubuntu/pool/universe/i/ipmitool/ipmitool_1.8.11-1ubuntu1_amd64.deb 504 Gateway Time-out E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? ___ Linux-PowerEdge mailing list Linux-PowerEdge@dell.com https://lists.us.dell.com/mailman/listinfo/linux-poweredge Please read the FAQ at http://lists.us.dell.com/faq
Re: taking lvm backup
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 you can see in 'lvdisplay' from above as LV Size. Yes Do they have filesystems on them? Yes For each one, try something like: mount /dev/nintendo/lvm4 /mnt -o ro These filesystems are used to install Guest OSeS. So the filesystems are active. Do I need to shutdown the Operating Systems on these LVMs. Each LVM holds one Guest OS. It is a virtualization setup. If it has a filesystem on it, that should detect it, and mount it readonly, and you should be able to back up only what is *used* on the volume, not the whole thing. Then just use whatever your favorite backup method is. Ok.Do I not need to know the type of filesystem in these cases. -- Tapas -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: taking lvm backup
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 -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: taking lvm backup
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 unmount them How do I mount them what file system type do I specify ? If I specifiy lvm or lvm2 or none then I am getting errors. -- Tapas -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
taking lvm backup
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 Allocatable yes PE Size 4.00 MiB Total PE 113035 Free PE 10635 Allocated PE 102400 PV UUID UMmBxP-upFM-H3S4-neHF-XYyo-gs3Q-rZsWMx --- Logical volume --- LV Name/dev/nintendo/lvm1 VG Namenintendo LV UUIDpM9IVB-UorL-9CtJ-qRp5-wRsX-KEKm-ws5nvc LV Write Accessread/write LV Status available # open 1 LV Size100.00 GiB Current LE 25600 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 251:0 --- Logical volume --- LV Name/dev/nintendo/lvm2 VG Namenintendo LV UUIDcVyyOe-QbdC-R2Ys-xGdv-I3GB-m6Da-fFjFFd LV Write Accessread/write LV Status available # open 1 LV Size150.00 GiB Current LE 38400 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 251:1 --- Logical volume --- LV Name/dev/nintendo/lvm3 VG Namenintendo LV UUIDfppbX8-bJTZ-is2U-qMjk-VpBT-3h7n-yCF4qv LV Write Accessread/write LV Status available # open 1 LV Size50.00 GiB Current LE 12800 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 251:2 --- Logical volume --- LV Name/dev/nintendo/lvm4 VG Namenintendo LV UUIDy3I7sC-S2vn-huo0-CaGu-W7cF-duIR-B8fKWP LV Write Accessread/write LV Status available # open 1 LV Size100.00 GiB Current LE 25600 Segments 1 Allocation inherit Read ahead sectors auto - currently set to 256 Block device 251:3 but when I go to directory /dev/nintendo I see the files total 0 lrwxrwxrwx 1 root root 28 2010-08-27 10:58 lvm4 - ../mapper/nintendo-lvm4 lrwxrwxrwx 1 root root 33 2010-09-14 14:51 lvm3 - ../mapper/nintendo-lvm3 lrwxrwxrwx 1 root root 31 2010-08-27 10:58 lvm2 - ../mapper/nintendo-lvm2 lrwxrwxrwx 1 root root 33 2010-08-27 10:58 lvm1 - ../mapper/nintendo-lvm1 of only zero bytes. So how do I take backup of these and how do I find out what will be the size of hard disk required to take backups. If an LVM image is 100Gb so do I need 100Gb space in my hard disk to take backup. Or how is the process of backup done when I have LVM based images? -- Tapas -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: make with argument 0 is failing some where
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=$HOME/btc Ok finally I have been able to fix this. To do so what I was trying I executed make mrproper at two places one is $HOME/linux-2.6 and another was $HOME/btc now I was in Step 1) cd $HOME/linux-2.6 Step 2) make mrproper Step 3) cd $HOME/btc Step 4) make $O=$HOME/btc mrproper Step 5) cd $HOME/linux-2.6 Step 6) copied the config from /boot to $HOME/linux-2.6 Step 7) yes ' ' | make O=$HOME/btc oldconfig upto here is all Ok. Next step is Step 8) make mrproper Step 9) cd $HOME/btc Step 10) make O=$HOME/btc and then make with all modules install and rest of the stuff had worked. -- 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: [Bug 641300] Re: Text Entry Boxes in Firefox sometimes get stuck in an endless Select-All making typing in them impossible
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 field. Same here but it is not limited to 10.04 64 bit I was using 9.04 32 bit and I saw the same thing in that also. -- Tapas http://mightydreams.blogspot.com -- Text Entry Boxes in Firefox sometimes get stuck in an endless Select-All making typing in them impossible https://bugs.launchpad.net/bugs/641300 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: Hi
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 -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: Hi
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 provisioning with some sort of customization. Please do post what ever results you get or find useful so that we may be aware of this type of experiments. -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
[Bug 641300] Re: Text Entry Boxes in Firefox sometimes get stuck in an endless Select-All making typing in them impossible
If some one decides to read this thread then here are some related bugs which came on the mailing list https://bugs.launchpad.net/ubuntu/+source/firefox/?field.searchtext=textorderby=-importancesearch=Searchfield.status%3Alist=NEWfield.status%3Alist=INCOMPLETE_WITH_RESPONSEfield.status%3Alist=INCOMPLETE_WITHOUT_RESPONSEfield.status%3Alist=CONFIRMEDfield.status%3Alist=TRIAGEDfield.status%3Alist=INPROGRESSfield.status%3Alist=FIXCOMMITTEDfield.assignee=field.bug_reporter=field.omit_dupes=onfield.has_patch=field.has_no_package= https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/543919 https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/597399 https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/632905 -- Text Entry Boxes in Firefox sometimes get stuck in an endless Select-All making typing in them impossible https://bugs.launchpad.net/bugs/641300 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 641300] Re: Text Entry Boxes in Firefox sometimes get stuck in an endless Select-All making typing in them impossible
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) File /usr/share/apport/package-hooks//firefox.py, line 191, in add_info report['ExtensionSummary'] = wbuffer.read() UnboundLocalError: local variable 'wbuffer' referenced before assignment -- Text Entry Boxes in Firefox sometimes get stuck in an endless Select-All making typing in them impossible https://bugs.launchpad.net/bugs/641300 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 641300] Re: Text Entry Boxes in Firefox sometimes get stuck in an endless Select-All making typing in them impossible
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 brk(0) = 0x1d8f000 access(/etc/ld.so.nohwcap, F_OK) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1959e55000 access(/etc/ld.so.preload, R_OK) = -1 ENOENT (No such file or directory) open(/etc/ld.so.cache, O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=102399, ...}) = 0 mmap(NULL, 102399, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f1959e3c000 close(3)= 0 access(/etc/ld.so.nohwcap, F_OK) = 0 open(/lib/libc.so.6, O_RDONLY)= 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0`\355\1\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1572232, ...}) = 0 mmap(NULL, 3680296, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f19598b4000 mprotect(0x7f1959a2e000, 2093056, PROT_NONE) = 0 mmap(0x7f1959c2d000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x179000) = 0x7f1959c2d000 mmap(0x7f1959c32000, 18472, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f1959c32000 close(3)= 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1959e3b000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1959e3a000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f1959e39000 arch_prctl(ARCH_SET_FS, 0x7f1959e3a700) = 0 mprotect(0x7f1959c2d000, 16384, PROT_READ) = 0 mprotect(0x617000, 4096, PROT_READ) = 0 mprotect(0x7f1959e57000, 4096, PROT_READ) = 0 munmap(0x7f1959e3c000, 102399) = 0 getpid()= 2954 rt_sigaction(SIGCHLD, {SIG_DFL, [CHLD], SA_RESTORER|SA_RESTART, 0x7f19598e7af0}, {SIG_DFL, [], 0}, 8) = 0 geteuid() = 1000 brk(0) = 0x1d8f000 brk(0x1db) = 0x1db getppid() = 2953 stat(/home/tapas, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 stat(., {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0 open(/usr/bin/firefox, O_RDONLY) = 3 fcntl(3, F_DUPFD, 10) = 10 close(3)= 0 fcntl(10, F_SETFD, FD_CLOEXEC) = 0 rt_sigaction(SIGINT, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGINT, {0x408189, ~[RTMIN RT_1], SA_RESTORER, 0x7f19598e7af0}, NULL, 8) = 0 rt_sigaction(SIGQUIT, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGQUIT, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7f19598e7af0}, NULL, 8) = 0 rt_sigaction(SIGTERM, NULL, {SIG_DFL, [], 0}, 8) = 0 rt_sigaction(SIGTERM, {SIG_DFL, ~[RTMIN RT_1], SA_RESTORER, 0x7f19598e7af0}, NULL, 8) = 0 read(10, #!/bin/sh\n\n# Firefox launcher co..., 8192) = 4575 pipe([3, 4])= 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f1959e3a9d0) = 2955 close(4)= 0 read(3, /usr/bin/firefox\n, 128) = 17 read(3, , 128)= 0 --- SIGCHLD (Child exited) @ 0 (0) --- close(3)= 0 wait4(-1, [{WIFEXITED(s) WEXITSTATUS(s) == 0}], 0, NULL) = 2955 pipe([3, 4])= 0 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7f1959e3a9d0) = 2956 close(4)= 0 read(3, firefox\n, 128) = 8 read(3, , 128)= 0 --- SIGCHLD (Child exited) @ 0 (0) --- close(3)= 0 wait4(-1, [{WIFEXITED(s) WEXITSTATUS(s) == 0}], 0, NULL) = 2956 stat(/usr/lib/firefox-3.6.8/firefox, {st_mode=S_IFREG|0755, st_size=3933, ...}) = 0 stat(/home/tapas/.mozilla/firefox, {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 stat(/home/tapas/.mozilla/firefox-3.1, 0x7fff944ee860) = -1 ENOENT (No such file or directory) stat(/home/tapas/.mozilla/firefox-3.5, 0x7fff944ee860) = -1 ENOENT (No such file or directory) stat(/home/tapas/.mozilla/firefox-3.6, 0x7fff944ee860) = -1 ENOENT (No such file or directory) execve(/usr/lib/firefox-3.6.8/firefox, [/usr/lib/firefox-3.6.8/firefox], [/* 39 vars */]) = 0 brk(0) = 0x1afb000 access(/etc/ld.so.nohwcap, F_OK) = 0 mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f8fd1e0f000 access(/etc/ld.so.preload, R_OK) = -1 ENOENT (No such file or directory) open(/etc/ld.so.cache, O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=102399, ...}) = 0 mmap(NULL, 102399, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f8fd1df6000 close(3)= 0 access(/etc/ld.so.nohwcap, F_OK) = 0
Re: Regarding installing Linux kernel for first time
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 to install Linux on your machine you can Vmware http://downloads.vmware.com/d/info/desktop_downloads/vmware_workstation/7_0 demo version and then install Linux inside what ever stuff you are interested to do you can do. You can use Vmware Player also which will serve your purpose. Or you can also try cygwin. -- 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: make with argument 0 is failing some where
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 even I also did the same. -- 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: make with argument 0 is failing some where
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 mrproper 2) make O=$HOME/btc mrproper any of the above methods has had not effect. 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=$HOME/btc GEN /home/tapas/btc/Makefile scripts/kconfig/conf --silentoldconfig arch/x86/Kconfig Using /home/tapas/linux-2.6 as source for kernel /home/tapas/linux-2.6 is not clean, please run 'make mrproper' in the '/home/tapas/linux-2.6' directory. make[1]: *** [prepare3] Error 1 make: *** [sub-make] Error 2 I had then executed make distclean also and when it did not worked then gave it argument with make O=$HOME/btc distclean still got the same error. This is the link from where I am trying it http://www.crashcourse.ca/introduction-linux-kernel-programming/lesson-2-further-issues-kernel-configuration The original author has used 64 bit. but I am using 32 bit system (Ubuntu 10.04) though this should have no difference on any of these things. 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
the first kernel code written by torvalds
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 http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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: the first kernel code written by torvalds
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 http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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: the first kernel code written by torvalds
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 http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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: debugging a process
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 later calls the firefox binary executable. Yeah talk about bad luck in picking a program to mess with. Yeah correct. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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
make with argument 0 is failing some where
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 but when I did 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? -- 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
[android-porting] android in vmware the battery is getting low less than 15% remaining
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: android-porting+unsubscr...@googlegroups.com website: http://groups.google.com/group/android-porting
debugging a process
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 that things that I can look in it using gdb. I am doing it for learning purpose. Can any one suggest some thing meaningful? GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type show copying and show warranty for details. This GDB was configured as x86_64-linux-gnu. For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... /usr/bin/firefox: not in executable format: File format not recognized Attaching to process 2266 Reading symbols from /bin/dash...(no debugging symbols found)...done. Reading symbols from /lib/libc.so.6...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.6 Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging symbols found)...done. Loaded symbols for /lib64/ld-linux-x86-64.so.2 0x7fab77f8401a in wait4 () from /lib/libc.so.6 -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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: debugging a process
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 with debugging symbols enabled (-g flag should be present in compilation line). Ok. Useful information about a processes can be found with: * pmap, reports memory map of a process. * lsof, lists opened files for a process. * strace/ltrace, allows you to analyse system/function calls. * cat /proc/PID, various info about a process. Ok. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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: debugging a process
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 process uses. Yes I have tried this.I mean I have seen its output. I want to understand related things. As what more things are there in it to understand. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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: [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
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 disabled the Ubuntu FFox add-on, no change. Reverted dom.ipc.plugins to false, no change. ubuntu64:~$ uname -a Linux ubuntu64 2.6.32-24-generic #42-Ubuntu SMP Fri Aug 20 14:21:58 UTC 2010 x86_64 GNU/Linux Up to date on patches. Same problem.After I filed the bug report it did not worked.I had not reported this thing again. But I do have the same problem you said after disabling the addon. -- 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 https://bugs.launchpad.net/bugs/631319 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
changing kernel variables at run time
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
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 example is given at:- http://www.redbooks.ibm.com/redpapers/pdfs/redp4469.pdf Thanks for the link. -- 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
[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
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 this problem is not in Chrome version 7 on same system. 2) Some times when I type some thing in search box or some box using Firefox for example when I was typing subject of this email arrow keys not working when I am using Firefox page up and page down also is not working Ubuntu 10.04 64 bit Firefox 3.6.8 after typing arr I kept typing rest of the subject line but nothing came on the subject box I had to finally open gedit and then type the subject to post. What could be the problem. The hardware is Dell Inspiron 1440. By disabling Ubuntu Firefox Modification addon 0.9rc2 got me rid of all the problems on the same list I had asked a problem with subject Firefox 3.6.8 clicks not working properly for Youtube videos on Ubuntu 10.04 64 bit can check my previous thread here http://forum.nginx.org/read.php?26,126425,126471 the above problem and the problem which I reported in this thread both were solved. Also check this link http://old.nabble.com/arrow-keys-not-working%28some-times%29-when-I-am-using-Firefox-page-up-and-page-down-also-is-not-working%28some-times%29-Ubuntu-10.04-64-bit-Firefox-3.6.8-td29615707.html ** Affects: ubufox (Ubuntu) Importance: Undecided Status: 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 https://bugs.launchpad.net/bugs/631319 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: fine tuning the precision in calibrate.c
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; while (ticks == jiffies); /* Wait until the start of the next jiffy */ ticks = jiffies; /* Delay */ __delay(loops_per_jiffy); if (jiffies != ticks) /* longer than 1 tick */ loops_per_jiffy = ~loopbit; AND with Inverse loops_per_jiffy = ~loopbit; help to achieve the desired result. } -- 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: fine tuning the precision in calibrate.c
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 */ while (lps_precision-- (loopbit = 1)) { no idea of what lps_precision is may be some sort of check. loopbit = loopbit/2 by above operation so new value of loopbit is loopbit = 0101 1001 loops_per_jiffy |= loopbit; Now due to above loops_per_jiffy = loops_per_jiffy | loopbit so the result of an OR operation loops_per_jiffy = 1011 0010 OR 0101 1001 = 1011 which is higher than the initial value of loops_per_jiffy ticks = jiffies; simple while (ticks == jiffies); /* Wait until the start is also simple if due to some calculation you are in mid of jiffy interval then it will make sure that as tick==jiffies will come out of loop only at the start of jiffy of the next jiffy */ ticks = jiffies; simple /* Delay */ __delay(loops_per_jiffy); Will delay for the value loops_per_jiffy if (jiffies != ticks) /* longer than 1 tick */ loops_per_jiffy = ~loopbit; here comes the magic if it is not satisfying the if condition then will go back divide the loopbits by 2 as a result of (right shift) and the OR operation will make sure that the value which is divided by 2 of loopbits gets added to loops_per_jiffy will enter the delay loop and in this case if this time the if condition is true then the result of loops_per_jiffy = ~loopbit is loops_per_jiffy = loops_per_jiffy AND (~loopbit) where taking complement of loopbit as above makes it negative (not sure on this part) and the result is the value is subtracted (as it was more than required value) and then loopbit is again divided so added and this cycle will continue until exact value of loops_per_jiffy is calculated. } but such a logic which is used above is there any more example some where? -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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
fine tuning the precision in calibrate.c
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 Following code is given loopbit = loops_per_jiffy; /* Gradually work on the lower-order bits */ while (lps_precision-- (loopbit = 1)) { loops_per_jiffy |= loopbit; ticks = jiffies; while (ticks == jiffies); /* Wait until the start of the next jiffy */ ticks = jiffies; /* Delay */ __delay(loops_per_jiffy); if (jiffies != ticks) /* longer than 1 tick */ loops_per_jiffy = ~loopbit; } Can any one help to understand this section? -- 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
gdb error for 32 bit Ubuntu No symbol table is loaded. Use the file command.
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 http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type show copying and show warranty for details. This GDB was configured as i486-linux-gnu... /tmp/vmlinuz-2.6.28-11-generic: not in executable format: File format not recognized Core was generated by `root=UUID=1c1bc84c-9ef5-4daa-a630-8fe29b5d12d1 ro quiet splash'. [New process 0] #0 0x in ?? () (gdb) whatis loops_per_jiffy No symbol table is loaded. Use the file command. (gdb) The last line of above message says no symbol table is loaded Use the file command. where as while invoking gdb I had used it. -- 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: gdb error for 32 bit Ubuntu No symbol table is loaded. Use the file command.
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? -- 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: what is static inline void tvec_base
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 over head of saving flag registers ,saving stack and making the called function return to the location where the call was made is so much that it is preferred to replace that call via the actual function itself hence if some one has such a function which has is of very less number of lines and has been called once or twice then it is good to declare it inline. The overhead that CPU has to undergo if the function is not inline is saving the current context ,flag,stack,heap ,(what ever is)the state of code in execution and then load the called function from a specific memory location. Doing this for small subroutines is resource consuming.So it is a good practise among kernel developers do declare functions inline when it is used once or twice and saves the CPU the over head involved in saving the stack,program counter flag registers and other registers which are being related to the program in execution. By using the word in laymans language I will say that part of code (function ) is actually written where ever the function call is made. For example following program example1.c #includestdio.h inline function ingen (X1,X2) { does some thing some thing return c; } function b( ) { step = function ingen (); } main() { b (); } If you were to execute above code call to function ingen () via function b() would replace the function ingen() by the code inside function ingen(). If you would not have declared function ingen as inline function then the CPU would jumped to some memory location where function ingen() is actually residing and then executed. In this case CPU just have to insert that code what ever function ingen() does when ever a call to function ingen() is made via function b(). Or which ever function in the code calls function ingen(). If the keyword static is added so that if the same function has been used at any other place then it should not affect the other files.Meaning the word static before a function makes its scope limited to that file only. If you have another program example2.c and compile cc example1.c example2.c then functions in exampl1.c would be available to example2.c and vice versa but use of word static restricts the function in their respective files. i.e. if example1.c has a static function then it will not be available to example2.c Since Linux kernel is made up of C and to make sure functions with similar names(if any) exist then they are not conflicting it is a good practice to declare a function as static. Declaring it inline reduces the overhead that CPU would have to do in actually calling a function. To have more digging about this you need to understand mechanism of function call as what does processor do when a function call is made. Clearly if you have a large code to execute the instruction is in memory and it has to come to cache so if you have large code and you declare that as inline it has disadvantage that cache miss will more. 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 (because that inline part of code would not be in cache) and this will have disadvantage. 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 ,saving stack and making the called function return to the location where the call was made is so much that it is preferred to replace that call via the actual function itself hence if some one has such a function which has is of very less number of lines and has been called once or twice then it is good to declare it inline. The overhead that CPU has to undergo if the function is not inline is saving the current context ,flag,stack,heap ,(what ever is)the state of code in execution and then load the called function from a specific memory location. Doing this for small subroutines is resource consuming.So it is a good practise among kernel developers do declare functions inline when it is used once or twice and saves the CPU the over head involved in saving the stack,program counter flag registers and other registers which are being related to the program in execution. By using the word in laymans language I will say that part of code (function ) is actually written where ever the function call is made. For example following program example1.c #includestdio.h inline function ingen (X1,X2) { does some thing some thing return c; } function b( ) { step = function ingen (); } main() { b (); } If you were to execute above code
Re: what is static inline void tvec_base
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 following code. I want to understand what is it doing. What should I be reading to be able to understand it? static inline void timer_set_base(struct timer_list *timer, struct tvec_base *new_base) { timer-base = (struct tvec_base *)((unsigned long)(new_base) | tbase_get_deferrable(timer-base)); } What static does is to create a label for a certain global memory chunk and give that a value at compile time, plus not making it available to the linker. Look at these examples static int mystatic = 6; int main(void) { return 0; } Generated ASM is as follows: Code: .file static2.c .data .align 4 .type mystatic, @object .size mystatic, 4 mystatic: .long 6 .text .globl main .type main, @function main: pushl %ebp movl%esp, %ebp movl$0, %eax popl%ebp ret .size main, .-main .ident GCC: (Debian 4.4.4-8) 4.4.5 20100728 (prerelease) .section.note.GNU-stack,,@progbits Compare that with declaring the global variable as non-static: Code: int mynonstatic = 6; int main(void) { return 0; } Code: .file nonstatic2.c .globl mynonstatic .data .align 4 .type mynonstatic, @object .size mynonstatic, 4 mynonstatic: .long 6 .text .globl main .type main, @function main: pushl %ebp movl%esp, %ebp movl$0, %eax popl%ebp ret .size main, .-main .ident GCC: (Debian 4.4.4-8) 4.4.5 20100728 (prerelease) .section.note.GNU-stack,,@progbits The only difference is that in the non-static case, there's the .globl mynonstatic that makes that symbol available to the linker. Now, careful observation will make you notice that both global variables are declared as labels, exactly the same way as main is. ASM doesn't really distinguish between functions and variables (the @function and @object thing is just an optimization gcc does): all there is memory addresses that you conveniently can refer to with a label. So, when you declare a function static, what will happen is exactly the same: the function is given a value (its code) and make it unavailable to the linker... exactly what was done to the variable. Here you have the C and ASM for a static function: Code: .file stat_func.c .text .type something, @function something: pushl %ebp movl%esp, %ebp movl$0, %eax popl%ebp ret .size something, .-something .ident GCC: (Debian 4.4.4-8) 4.4.5 20100728 (prerelease) .section.note.GNU-stack,,@progbits Again, the value for something is its code, it's a global value but not available to the linker because there's no .globl something. What about local static variables? Actually, the idea of local variables is lost when compiling C to ASM. What you have is a global stack that each function is in charge to clean up when returning... therefore making its local values no longer available outside the function... but place a jmp and the value will be available. What happens with static variables is that the static again sets up a value at compile time and makes the symbol unavailable for the linker... as you'll see here: Code: int main(void) { static int mystatic = 6; return 0; } Code: .file static.c .text .globl main .type main, @function main: pushl %ebp movl%esp, %ebp movl$0, %eax popl%ebp ret .size main, .-main .data .align 4 .type mystatic.1248, @object .size mystatic.1248, 4 mystatic.1248: .long 6 .ident GCC: (Debian 4.4.4-8) 4.4.5 20100728 (prerelease) .section.note.GNU-stack,,@progbits The only difference here is that the .data section has been placed *after* the main rets (a kind of return you have in ASM...)... ASM indentation is awful here, but actually main ends at the ret, not at the mystatic.1248 label. Ok, I'm not sure why the name is mangled but it's clear that the variable is declared as global even when we declared it as local in C. What will happen is that the C compiler will restrict the usage of that symbol to the main function, but you clearly see that it's just a way to create the illusion of locality... It's actually a global and that's why its value is persistent across the program's execution. So, in summary, it seems that the real effective meaning (I don't care what
Re: branch annotation
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 http://gcc.gnu.org/onlinedocs/gcc-4.1.2/gcc/Other-Builtins.html -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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: branch annotation
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) pipeline flush (if prediction is wrong) -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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: what is static inline void tvec_base
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 ,saving stack and making the called function return to the location where the call was made is so much that it is preferred to replace that call via the actual function itself hence if some one has such a function which has is of very less number of lines and has been called once or twice then it is good to declare it inline. You need to understand mechanism of function call as what does processor do when a function call is made. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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: what is static inline void tvec_base
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 wrote: I forgot to mention If you have a large code to execute the instruction is in memory and it has to come to cache so if you have large code and you declare that as inline it has disadvantage that cache miss will more. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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
[squid-users] usinq squid as reverse proxy for streaming
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
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 http://docs.zope.org/zope2/zope2book/BasicObject.html#content-objects-folders-files-and-images http://blog.deconcept.com/swfobject/ I asked this question on eduCommons forum also http://educommons.2416974.n2.nabble.com/bringing-uploaded-javascript-within-eduCommons-portal-tp5452288p5452288.html but I have not been able to bring it inside the eduCommons forum. Any suggestions as what more should I look for? I am new to eduCommons/Zope/Plone. ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )
Re: linux/module.h does not exist
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 int alt_exit_function(int err_code) { printk(Sys_exit called with err_code=%d\n,err_code); return main_sys_exit(err_code); } int init_module() { main_sys_exit=sys_table[__NR_exit]; sys_table[__NR_exit]=alt_exit_function; } void cleanup_module() { sys_table[__NR_exit]=main_sys_exit; } Following way I tried to do it. gcc -I /usr/src/linux-headers-`uname -r`/include -I /usr/src/linux-headers-`uname -r`/linux -Wall -DMODULE -D__KERNEL__ -DLINUX -c sample2.c and following errors I got http://pastebin.com/ZGRD8cC3 any more guess? -- 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
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 /home/tapas/LKP/pandora/temp/sample2/sample21.c: In function ‘init_module’: /home/tapas/LKP/pandora/temp/sample2/sample21.c:17: warning: control reaches end of non-void function Building modules, stage 2. MODPOST 1 modules WARNING: sys_table [/home/tapas/LKP/pandora/temp/sample2/sample21.ko] undefined! CC /home/tapas/LKP/pandora/temp/sample2/sample21.mod.o LD [M] /home/tapas/LKP/pandora/temp/sample2/sample21.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic' but the program in book which is used is #include linux/kernel.h #include linux/module.h #include sys/syscall.h extern void *sys_table[]; asmlinkage int(*main_sys_exit)(int); asmlinkage int alt_exit_function(int err_code) { printk(Sys_exit called with err_code=%d\n,err_code); return main_sys_exit(err_code); } int init_module() { main_sys_exit=sys_table[__NR_exit]; sys_table[__NR_exit]=alt_exit_function; } void cleanup_module() { sys_table[__NR_exit]=main_sys_exit; } and I made a Makefile for the same as (My program name is sample2.c) 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 and got following error with the Makefile approach for the program given in book. ta...@tapas-laptop:~/LKP/pandora/temp/sample2$ make 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/sample2.o /home/tapas/LKP/pandora/temp/sample2/sample2.c:3:25: error: sys/syscall.h: No such file or directory /home/tapas/LKP/pandora/temp/sample2/sample2.c: In function ‘init_module’: /home/tapas/LKP/pandora/temp/sample2/sample2.c:14: error: ‘__NR_exit’ undeclared (first use in this function) /home/tapas/LKP/pandora/temp/sample2/sample2.c:14: error: (Each undeclared identifier is reported only once /home/tapas/LKP/pandora/temp/sample2/sample2.c:14: error: for each function it appears in.) /home/tapas/LKP/pandora/temp/sample2/sample2.c: In function ‘cleanup_module’: /home/tapas/LKP/pandora/temp/sample2/sample2.c:19: error: ‘__NR_exit’ undeclared (first use in this function) make[2]: *** [/home/tapas/LKP/pandora/temp/sample2/sample2.o] Error 1 make[1]: *** [_module_/home/tapas/LKP/pandora/temp/sample2] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic' make: *** [all] Error 2 Any idea of what is it complaining about? -- 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
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 called with err_code=%d\n,err_code); return main_sys_exit(err_code); } int init_module() { main_sys_exit=sys_table[__NR_exit]; sys_table[__NR_exit]=alt_exit_function; } void cleanup_module() { sys_table[__NR_exit]=main_sys_exit; } Following is way I compiled gcc -I /usr/include/ -Wall -DMODULE -D__KERNEL__ -DLINUX -c sample2.c and following are the errors http://pastebin.com/u3mPhfUf Then I compiled it also in following way gcc -I /usr/src/linux-headers-2.6.28-11-generic/include/linux/ -Wall -DMODULE -D__KERNEL__ -DLINUX -c sample2.c and got following errors http://pastebin.com/HzX0DBz1 . So 2 cents :) any how this is the original link where I was trying the code page 48 left hand column https://docs.google.com/fileview?id=0B2A4urYOAf6POTI1OGE1MjctM2UyMC00OGUzLThlNDUtZDBhOWFjY2Y1MDUzhl=en Any more suggestions. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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
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 development Regarding the missing __NR_exit, I think you forgot to include asm/unistd.h. find /usr -name unistd.h http://pastebin.com/NRib2tB6 which one? And try to include asm/syscalls find /usr/ -name syscalls* /usr/src/alsa/alsa-driver-1.0.21/include/syscalls_26.h /usr/src/linux-headers-2.6.28-11/arch/x86/include/asm/syscalls.h /usr/src/linux-headers-2.6.28-11/arch/sh/include/asm/syscalls_32.h /usr/src/linux-headers-2.6.28-11/arch/sh/include/asm/syscalls.h /usr/src/linux-headers-2.6.28-11/arch/sh/include/asm/syscalls_64.h /usr/src/linux-headers-2.6.28-11/arch/sparc/include/asm/syscalls.h /usr/src/linux-headers-2.6.28-11/arch/powerpc/include/asm/syscalls.h /usr/src/linux-headers-2.6.28-11/include/linux/syscalls.h which one? Once again original link from where I got the above program http://techblog.aasisvinayak.com/a-voyage-to-kernel-first-24-parts/ https://docs.google.com/fileview?id=0B2A4urYOAf6POTI1OGE1MjctM2UyMC00OGUzLThlNDUtZDBhOWFjY2Y1MDUzhl=en page 48 of pdf. Left hand side I believe the author did not miss any thing? -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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: address space of kernel thread
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 address space only. When kernel thread running, which page table is used? Is there any special characteristics of this page table? -- 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 -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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
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 i'm not sure i see the value in tha I was reading and trying to understand the programs given in the Linux Magazine to which I have posted the links. t -- why not just build the module using all of the compilation infrastructure built into the kernel source Makefile and accompanying build structure? Sure here is my Makefile ifeq($(KERNELRELEASE),) KERNELDIR ?= /lib/modules/$(shell uname -r)/build PWD := $(shell pwd) .PHONY: build clean build: $(MAKE) -C $(KERNELDIR) M=$(PWD) modules clean: rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c rm -rf modules.order Module.symvers else $(info Building with KERNELRELEASE =${KERNELRELEASE}) obj-m := sample2.o endif I did make but I got following error Makefile:1: *** missing separator. Stop. I will try the Makefile approach also. Since till now I just was trying an approach the author had described so had not tried Makefile. not trying to market, but i explain how to do that here: http://crashcourse.ca/introduction-linux-kernel-programming/introduction-linux-kernel-programming :) in the first few lessons, which are publicly available to everyone. granted, you *can* reproduce all of that manually if you want, but i don't see the point in making this any more difficult than it has to be. of course, if i've misunderstood what this thread is about, you can ignore all this. :-) No if interested do stay in this thread. I am not sure if the program in magazine is wrong or correct or what did the author tried to convey? Specially the asm_linkage part what is the author trying to explain the readers. p.s. specifically, i demonstrate how to build your first kernel module here: http://crashcourse.ca/introduction-linux-kernel-programming/lesson-4-writing-and-running-your-first-kernel-module again, that lesson is publicly available to everyone. Ya I found it quite useful. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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
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 -rf *.o *~ core .depend .*.cmd *.ko *.mod.c rm -rf modules.order Module.symvers else $(info Building with KERNELRELEASE =${KERNELRELEASE}) obj-m := sample2.o endif and following were the errors when I tried to execute it make ta...@tapas-laptop:~/LKP/pandora/temp/sample2$ make 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' Building with KERNELRELEASE =2.6.28-11-generic CC [M] /home/tapas/LKP/pandora/temp/sample2/sample2.o /home/tapas/LKP/pandora/temp/sample2/sample2.c:2:26: error: sys/syscalls.h: No such file or directory /home/tapas/LKP/pandora/temp/sample2/sample2.c: In function ‘init_module’: /home/tapas/LKP/pandora/temp/sample2/sample2.c:14: error: ‘__NR_exit’ undeclared (first use in this function) /home/tapas/LKP/pandora/temp/sample2/sample2.c:14: error: (Each undeclared identifier is reported only once /home/tapas/LKP/pandora/temp/sample2/sample2.c:14: error: for each function it appears in.) /home/tapas/LKP/pandora/temp/sample2/sample2.c: In function ‘cleanup_module’: /home/tapas/LKP/pandora/temp/sample2/sample2.c:19: error: ‘__NR_exit’ undeclared (first use in this function) make[2]: *** [/home/tapas/LKP/pandora/temp/sample2/sample2.o] Error 1 make[1]: *** [_module_/home/tapas/LKP/pandora/temp/sample2] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic' make: *** [build] Error 2 the program for which I made above Makefile is #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 called with err_code=%d\n,err_code); return main_sys_exit(err_code); } int init_module() { main_sys_exit=sys_table[__NR_exit]; sys_table[__NR_exit]=alt_exit_function; } void cleanup_module() { sys_table[__NR_exit]=main_sys_exit; } -- 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
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 http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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
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 /usr/src/linux-headers-2.6.28-11/arch/x86/include/asm/ -I /usr/src/linux-headers-2.6.28-11/include/ -c sample2.c Step4) added asm/x86/include in path gcc -I /usr/src/linux-headers-2.6.28-11/arch/x86/include/ -I /usr/src/linux-headers-2.6.28-11/include/ -c sample2.c Step5) added linux in -I of second argument 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 Step6) removed asm from first argument and linux from second gcc -I /usr/src/linux-headers-2.6.28-11/arch/x86/include/ -I /usr/src/linux-headers-2.6.28-11/include/ -c sample2.c Any more guesses as what is it failing? This is the link http://techblog.aasisvinayak.com/a-voyage-to-kernel-first-24-parts/ where author has shared his programs. These are working programs which have failed on my hardware. -- 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
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 errors ta...@tapas-laptop:~/LKP/pandora/temp/sample2$ make 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/sample2.o /home/tapas/LKP/pandora/temp/sample2/sample2.c:2:25: error: sys/syscall.h: No such file or directory /home/tapas/LKP/pandora/temp/sample2/sample2.c: In function ‘init_module’: /home/tapas/LKP/pandora/temp/sample2/sample2.c:14: error: ‘__NR_exit’ undeclared (first use in this function) /home/tapas/LKP/pandora/temp/sample2/sample2.c:14: error: (Each undeclared identifier is reported only once /home/tapas/LKP/pandora/temp/sample2/sample2.c:14: error: for each function it appears in.) /home/tapas/LKP/pandora/temp/sample2/sample2.c: In function ‘cleanup_module’: /home/tapas/LKP/pandora/temp/sample2/sample2.c:19: error: ‘__NR_exit’ undeclared (first use in this function) make[2]: *** [/home/tapas/LKP/pandora/temp/sample2/sample2.o] Error 1 make[1]: *** [_module_/home/tapas/LKP/pandora/temp/sample2] Error 2 make[1]: Leaving directory `/usr/src/linux-headers-2.6.28-11-generic' make: *** [all] Error 2 Following is the program for which it was Makefile I am mentioning it here for the sake of clarity so that you dont have to read first post #include linux/kernel.h #include sys/syscall.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 called with err_code=%d\n,err_code); return main_sys_exit(err_code); } int init_module() { main_sys_exit=sys_table[__NR_exit]; sys_table[__NR_exit]=alt_exit_function; } void cleanup_module() { sys_table[__NR_exit]=main_sys_exit; } ~ -- 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
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
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 http://gcc.gnu.org/onlinedocs/gcc-4.4.4/gcc.pdf but could not understand as what you wanted me to understand. -- 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
Yes you were right I had missed one line following. asmlinkage int alt_exit_function(int err_code) I have added this line so the program becomes now #include linux/kernel.h #include sys/syscall.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 called with err_code=%d\n,err_code); return main_sys_exit(err_code); } int init_module() { main_sys_exit=sys_table[__NR_exit]; sys_table[__NR_exit]=alt_exit_function; } void cleanup_module() { sys_table[__NR_exit]=main_sys_exit; } I compiled it got new errors gcc -Wall -DMODULE -D__KERNEL -DLINUX -c sample2.c sample2.c:3:26: error: linux/module.h: No such file or directory sample2.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’ sample2.c:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’ sample2.c: In function ‘init_module’: sample2.c:14: error: ‘main_sys_exit’ undeclared (first use in this function) sample2.c:14: error: (Each undeclared identifier is reported only once sample2.c:14: error: for each function it appears in.) sample2.c:15: error: ‘alt_exit_function’ undeclared (first use in this function) sample2.c:16: warning: control reaches end of non-void function sample2.c: In function ‘cleanup_module’: sample2.c:19: error: ‘main_sys_exit’ undeclared (first use in this function) On Fri, Aug 20, 2010 at 9:37 PM, Dave Hylands dhyla...@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. -- Dave Hylands Shuswap, BC, Canada http://www.DaveHylands.com/ -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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
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 /usr/src/linux-headers-2.6.28-11/arch/x86/include/asm/module.h /usr/src/linux-headers-2.6.28-11/arch/sh/include/asm/module.h /usr/src/linux-headers-2.6.28-11/arch/ia64/include/asm/module.h /usr/src/linux-headers-2.6.28-11/arch/ia64/include/asm/sn/module.h /usr/src/linux-headers-2.6.28-11/arch/arm/mach-ns9xxx/include/mach/module.h /usr/src/linux-headers-2.6.28-11/arch/arm/include/asm/module.h /usr/src/linux-headers-2.6.28-11/arch/mips/include/asm/module.h /usr/src/linux-headers-2.6.28-11/arch/avr32/include/asm/module.h /usr/src/linux-headers-2.6.28-11/arch/sparc/include/asm/module.h /usr/src/linux-headers-2.6.28-11/arch/s390/include/asm/module.h /usr/src/linux-headers-2.6.28-11/arch/cris/include/asm/module.h /usr/src/linux-headers-2.6.28-11/arch/h8300/include/asm/module.h /usr/src/linux-headers-2.6.28-11/arch/m68knommu/include/asm/module.h /usr/src/linux-headers-2.6.28-11/arch/blackfin/include/asm/module.h /usr/src/linux-headers-2.6.28-11/arch/powerpc/include/asm/module.h /usr/src/linux-headers-2.6.28-11/arch/parisc/include/asm/module.h /usr/src/linux-headers-2.6.28-11/include/asm-m68k/module.h /usr/src/linux-headers-2.6.28-11/include/asm-m32r/module.h /usr/src/linux-headers-2.6.28-11/include/asm-mn10300/module.h /usr/src/linux-headers-2.6.28-11/include/linux/module.h /usr/src/linux-headers-2.6.28-11/include/asm-frv/module.h /usr/src/linux-headers-2.6.28-11/include/asm-xtensa/module.h /usr/include/sepol/policydb/module.h /usr/include/sepol/module.h -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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
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 path. Ok is this the one you said to include in gcc search path? With -I option? -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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
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 sample2.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’ sample2.c:6: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’ sample2.c: In function ‘init_module’: sample2.c:14: error: ‘main_sys_exit’ undeclared (first use in this function) sample2.c:14: error: (Each undeclared identifier is reported only once sample2.c:14: error: for each function it appears in.) sample2.c:15: error: ‘alt_exit_function’ undeclared (first use in this function) sample2.c: In function ‘cleanup_module’: sample2.c:19: error: ‘main_sys_exit’ undeclared (first use in this function) -- 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: [SWFObject] why is swfobject used in head
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 was executed. Is it possible to use it in body tag if I copy paste the entire code in body tag? -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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 swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
Re: [SWFObject] Re: using clsid and application/x-shockwave-flash together
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 enter the values such as url, width/height etc, and the generator will create valid code for you. Ok. Based on whether you choose static or dynamic embed options, the generated code will be different. A general rule of thumb is if you are using other js on your page like jquery etc, then you will want to choose the dynamic embed option (as it gives you more control as to when your code is executed etc). If you just want a simple embed (and want it to work without necessarily needing the user to have javascript, then choose static embed. I am not in a position to include javascript in head section. Please see this link https://www.longtailvideo.com/support/forums/jw-player/setup-issues-and-embedding/14007/problem-in-embeding-jwplayer-in-educommons-setup -- Tapas -- 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 swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
Re: [SWFObject] why is swfobject used in head
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 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 swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
Re: linux/module.h does not exist
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] password for tapas: Reading package lists... Done Building dependency tree Reading state information... Done linux-headers-generic is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 115 not upgraded. Any more suggestions? -- 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
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
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 swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
Re: [SWFObject] using swfobject in body
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-on-Windows-package-tp5439665p5439665.html As to be able to embed a flash video to each page I have to go and edit the html in body tags. On Thu, Aug 19, 2010 at 6:15 PM, Sam Sherlock sam.sherl...@gmail.com wrote: static object http://pastie.org/1102002 dynamic object http://pastie.org/1102006 the above pasties are generated by the AIR Generator, and I moved the script tags to right before the body 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, Sam Sherlock sam.sherl...@gmail.com wrote: you can put the script source set up for either static or dynamic object right before the body closes sometimes you will get a initial display of alt content, placing numerous script tags throughout the body will cause issues - S Hey thanks for the reply.I understood some part of yours can you give me a link to what you said if possible, -- Tapas -- 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 swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en. -- 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 swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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 swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
Re: [SWFObject] using swfobject in body
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 to achieve? do you have multiple videos? do you not have ability to include elements 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-on-Windows-package-tp5439665p5439665.html As to be able to embed a flash video to each page I have to go and edit the html in body tags. On Thu, Aug 19, 2010 at 6:15 PM, Sam Sherlock sam.sherl...@gmail.com wrote: static object http://pastie.org/1102002 dynamic object http://pastie.org/1102006 the above pasties are generated by the AIR Generator, and I moved the script tags to right before the body 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, Sam Sherlock sam.sherl...@gmail.com wrote: you can put the script source set up for either static or dynamic object right before the body closes sometimes you will get a initial display of alt content, placing numerous script tags throughout the body will cause issues - S Hey thanks for the reply.I understood some part of yours can you give me a link to what you said if possible, -- Tapas -- 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 swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en. -- 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 swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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 swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en. -- 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 swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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 swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
Re: [SWFObject] using swfobject in body
I forgot to mention the head section that you mentioned. I have tried a lot of things but only the original developer can answer this question. I have to embed multiple videos in multiple html pages or .I currently do not know how to add swfobject in header. Or if you have some other idea let me 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 to achieve? do you have multiple videos? do you not have ability to include elements 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-on-Windows-package-tp5439665p5439665.html As to be able to embed a flash video to each page I have to go and edit the html in body tags. On Thu, Aug 19, 2010 at 6:15 PM, Sam Sherlock sam.sherl...@gmail.com wrote: static object http://pastie.org/1102002 dynamic object http://pastie.org/1102006 the above pasties are generated by the AIR Generator, and I moved the script tags to right before the body 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, Sam Sherlock sam.sherl...@gmail.com wrote: you can put the script source set up for either static or dynamic object right before the body closes sometimes you will get a initial display of alt content, placing numerous script tags throughout the body will cause issues - S Hey thanks for the reply.I understood some part of yours can you give me a link to what you said if possible, -- Tapas -- 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 swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en. -- 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 swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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 swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en. -- 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 swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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 swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
Re: [SWFObject] Help-please: Sequential Banner
Ok. On Thu, Aug 19, 2010 at 11:36 PM, Sam Sherlock sam.sherl...@gmail.com wrote: see the resources section at the end of the page http://developer.yahoo.com/javascript/ jQuery specific (but has a good intro to javascript) http://jqfundamentals.com/book/book.html#N20178 and having just read 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...@gmail.com wrote: this does not seem directly swfobject related please try a forum such as actionscript.org or kirupa forums - S On 19 August 2010 15:20, Rodrigo Peixoto peixoto.rodr...@gmail.com wrote: Good morning people, need a great help,'ve looked at various forums and have not found a solution, I am beginner to as3. How to make 3 banner are sequential? EX.: banner1 100% loading = display / after display banne2 100% loading = display after display banner3 100% loading = display Thank you all. Following code below var Xpos:Number = 0; var Ypos:Number = 0; var swf:MovieClip; var loader:Loader = new Loader(); var defaultSWF:URLRequest = new URLRequest(swfs/banner1.swf); loader.load(defaultSWF); loader.x = Xpos; loader.y = Ypos; meuNovoMc.addChild(loader); // Btns Universal function function btnClick(event:MouseEvent):void { meuNovoMc.removeChild(loader); var newSWFRequest:URLRequest = new URLRequest(swfs/ + event.target.name + .swf); loader.load(newSWFRequest); loader.x = Xpos; loader.y = Ypos; meuNovoMc.addChild(loader); } // Btn listeners banner1.addEventListener(MouseEvent.CLICK, btnClick); banner2.addEventListener(MouseEvent.CLICK, btnClick); banner3.addEventListener(MouseEvent.CLICK, btnClick); -- 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 swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en. -- 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 swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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 swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en. -- 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 swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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 swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
[Zope] adding swfobject in zope2
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 not gave me any link to the documentation. Please give some link on Zope2 documentation page as how can I add an swfobject in header section of eduCommons html pages. I had asked this question on their forum http://educommons.2416974.n2.nabble.com/how-to-integrate-swfobject-in-Zope-using-eduCommons-tp5439418p5439418.html but there was no response regarding this. I have static HTML pages for this which are working. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )
linux/module.h does not exist
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 init_module() { main_sys_exit=sys_table[__NR_exit]; sys_table[__NR_exit]=alt_exit_function; } void cleanup_module() { sys_table[__NR_exit]=main_sys_exit; } ~ [/code] When I compiled it as gcc -Wall -DMODULE -D__KERNEL__ -DLINUX -c sample2.c[/code] I got following error sample2.c:3:26: error: linux/module.h: No such file or directory sample2.c:5: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘int’ sample2.c:6: error: expected identifier or ‘(’ before ‘{’ token sample2.c: In function ‘init_module’: sample2.c:13: error: ‘main_sys_exit’ undeclared (first use in this function) sample2.c:13: error: (Each undeclared identifier is reported only once sample2.c:13: error: for each function it appears in.) sample2.c:14: error: ‘alt_exit_function’ undeclared (first use in this function) sample2.c:15: warning: control reaches end of non-void function sample2.c: In function ‘cleanup_module’: sample2.c:18: error: ‘main_sys_exit’ undeclared (first use in this function) What is the above error and why is it coming? I did all this in my home directory. -- 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
[SWFObject] Zope document root or where do I keep my swfobject in Zope
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 swfobj...@googlegroups.com. To unsubscribe from this group, send email to swfobject+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/swfobject?hl=en.
[Zope] Zope document root or where do I keep my swfobject in Zope
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 cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Zope document root or where do I keep my swfobject in Zope
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 things. I do not have any product.I am using some thing known as eduCommons which is on Zope. I asked on that forum and searching a long way I reached here. -- Tapas ___ Zope maillist - Zope@zope.org https://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope-dev )
[squid-users] rtmp redirection at gateway
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 site2.mydomain.com or things like this. This is not a load balancing thing all of them are different server with different contents. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers
Re: How to Begin
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 code. Thanks Fazal Azim The drivers IMHO may be a good place for you to start with -- Regards, Jerome -- 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 Yes is a really good option star to create your own LDD, check this web page and try to make a driver for the parallel port of your computer or a hello Word http://www.freesoftwaremagazine.com/articles/drivers_linux?page=0%2C0 Hope it helps Victor Rodriguez -- 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 -- 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
[osflash] rtmp redirection at gateway
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 balancing servers. I want these streaming servers on LAN to be hidden from the end user. We do not want to run them on different ports on internet. rtmp://site1.mydomain.com:8001 rtmp://site2.mydomain.com:8002 rtmp://site3.mydomain.com:8003 rtmp://site4.mydomain.com:8004 We want all of the request coming from internet to come in form rtmp://site1.mydomain.com i.e. at port 1935 to the internet gateway and this gateway upon checking the hostname redirect internally the request to correct machine. What approach should I use in this scenario? Or what keyword should I search in Google? -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers ___ osflash mailing list osflash@osflash.org http://osflash.org/mailman/listinfo/osflash_osflash.org
rtmp redirection at gateway
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 on LAN to be hidden from the end user. We do not want to run them on different ports on internet. rtmp://site1.mydomain.com:8001 rtmp://site2.mydomain.com:8002 rtmp://site3.mydomain.com:8003 rtmp://site4.mydomain.com:8004 We want all of the request coming from internet to come in form rtmp://site1.mydomain.com i.e. at port 1935 to the internet gateway and this gateway upon checking the hostname redirect internally the request to correct machine. What approach should I use in this scenario? Or what keyword should I search in Google? -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
rtmp redirection at gateway
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 on LAN to be hidden from the end user. We do not want to run them on different ports on internet. rtmp://site1.mydomain.com:8001 rtmp://site2.mydomain.com:8002 rtmp://site3.mydomain.com:8003 rtmp://site4.mydomain.com:8004 We want all of the request coming from internet to come in form rtmp://site1.mydomain.com i.e. at port 1935 to the internet gateway and this gateway upon checking the hostname redirect internally the request to correct machine. What approach should I use in this scenario? Or what keyword should I search in Google? -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- 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/aanlktinx-vd5vn_pfrd+qzhtt8mam__5bfgozuf7s...@mail.gmail.com
multiple streaming servers in a cloud
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 streams on these are served when a request comes as rtmp://site1.mydomain.com rtmp://site2.mydomain.com rtmp://site3.mydomain.com rtmp://site4.mydomain.com I want to have all these servers hidden from the end user. These requests be forwarded by some thing which is in front of all these four servers. What do I need to handle in this case ? For handling HTTP requests in this case I use Apache Reverse Proxy but for rtmp requests I am not clear as which direction to proceed. If squid can help me in this case then let me know. Or nothing such exists in squid to handle this scenario ? -- Tapas
[squid-users] redirecting rtmp requests to different websites based on host name
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 streams on these are served when a request comes as rtmp://site1.mydomain.com rtmp://site2.mydomain.com rtmp://site3.mydomain.com rtmp://site4.mydomain.com I want to have all these servers hidden from the end user. These requests be forwarded by some thing which is in front of all these four servers. What do I need to handle in this case ? For handling HTTP requests in this case I use Apache Reverse Proxy but for rtmp requests I am not clear as which direction to proceed. If squid can help me in this case then let me know.
multiple streaming servers in a cloud
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 site2.mydomain.com site3.mydomain.com site4.mydomain.com All the above websites have different content and are different websites. The front end to the world is apache2 on a server which has public IP. To be able to reach the streaming server I embed a javascript in HTML pages as follows Code: embed . var=rtmp://site1.my_domain.com the problem is the website are many site1.mydomain.com site2.mydomain.com site3.mydomain.com site4.mydomain.com each on a separate server. Each of these four have their own streaming servers the front end to each of these four is apache running on gateway If I run rtmp on each of the subdomains at a different port how will I make sure a request such as rtmp://site1.mydomain.com rtmp://site2.mydomain.com goes to their respective servers. from the front end server from gateway. What do I need to handle in this case ? For handling HTTP requests in this case I use Apache Reverse Proxy but for rtmp requests I am not clear as which direction to proceed. What I want is if I embed a code in javascript as rtmp://site1.mydomain.com then request for rtmp://site1.mydomain.com rtmp://site2.mydomain.com goes to the server on LAN which has site1.mydomain.com site2.mydomain.com respectively. The gateway is Linux Server. Which redirects to these websites via Reverse Proxy at apache what more I need to put in my vhosts at gateway. If some one has any suggestions let me know. -- 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
[osflash] multiple streaming servers in a cloud
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. site1.mydomain.com site2.mydomain.com site3.mydomain.com site4.mydomain.com The front end to the world is apache2 on a Bastion Host. I do not have a DNS running over there. To be able to reach the streaming server I embed a javascript in HTML pages as follows Code: embed . var=rtmp://site1.my_domain.com the problem is the website are many site1.mydomain.com site2.mydomain.com site3.mydomain.com site4.mydomain.com each on a separate physical server. Each of these four have their own streaming servers the front end to each of these four is a common Bastion Host. If I run rtmp on each of the subdomains at a different port how will I make sure a request such as rtmp://site1.mydomain.com rtmp://site2.mydomain.com goes to their respective servers. from the front end server. What do I need to handle in this case ? IPTABLES came to mind instantly but from the client browser on internet when some one requests rtmp://site1.mydomain.com how will I make sure this rtmp request is mapped to a port different than 1935 as there are three other streaming servers which are also to respond to their respective requests ? For handling HTTP requests in this case I use Apache Reverse Proxy but for rtmp requests I am not clear as which direction to proceed. -- ___ osflash mailing list osflash@osflash.org http://osflash.org/mailman/listinfo/osflash_osflash.org
[us...@httpd] Re: multiple streaming servers in a cloud
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 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 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 Code: embed . var=rtmp://site1.my_domain.com the problem is the website are many site1.mydomain.com site2.mydomain.com site3.mydomain.com site4.mydomain.com each on a separate physical server. Each of these four have their own Red5 installations the front end to each of these four is a common Bastion Host. If I run rtmp on each of the subdomains at a different port how will I make sure a request such as rtmp://site1.mydomain.com rtmp://site2.mydomain.com goes to their respective servers. from the front end server. What do I need to handle in this case ? IPTABLES came to mind instantly but from the client browser on internet when some one requests rtmp://site1.mydomain.com how will I make sure this rtmp request is mapped to a port different than 1935 as there are three other streaming servers which are also to respond to their respective requests ? -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers - The official User-To-User support forum of the Apache HTTP Server Project. See URL:http://httpd.apache.org/userslist.html for more info. To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org from the digest: users-digest-unsubscr...@httpd.apache.org For additional commands, e-mail: users-h...@httpd.apache.org
multiple streaming servers in a cloud
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 Bastion Host. I do not have a DNS running over there. To be able to reach the streaming server I embed a javascript in HTML pages as follows Code: embed . var=rtmp://site1.my_domain.com the problem is the website are many site1.mydomain.com site2.mydomain.com site3.mydomain.com site4.mydomain.com each on a separate physical server. Each of these four have their own streaming servers the front end to each of these four is a common Bastion Host. If I run rtmp on each of the subdomains at a different port how will I make sure a request such as rtmp://site1.mydomain.com rtmp://site2.mydomain.com goes to their respective servers. from the front end server. What do I need to handle in this case ? IPTABLES came to mind instantly but from the client browser on internet when some one requests rtmp://site1.mydomain.com how will I make sure this rtmp request is mapped to a port different than 1935 as there are three other streaming servers which are also to respond to their respective requests ? For handling HTTP requests in this case I use Apache Reverse Proxy but for rtmp requests I am not clear as which direction to proceed. -- Tapas -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: multiple streaming servers in a cloud
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 rtmp://site1.mydomain: --- your public IP address port which then hits the firewall and is redirected: publicIP port - privateip 192.168.0.1 port1935 rtmp://site2.mydomain: --- your public IP address port which then hits the firewall and is redirected: publicIP port - privateip 192.168.0.2 port1935 Simple to do and works well. But in this case when I would like to try Layer 7 proxies / firewall have to look at the url requested and then So if some one has got close to this one some idea let me know now. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
Re: multiple streaming servers in a cloud
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 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 Bastion Host. I do not have a DNS running over there. To be able to reach the streaming server I embed a javascript in HTML pages as follows Code: embed . var=rtmp://site1.my_domain.com the problem is the website are many site1.mydomain.com site2.mydomain.com site3.mydomain.com site4.mydomain.com each on a separate physical server. Each of these four have their own streaming servers the front end to each of these four is a common Bastion Host. If I run rtmp on each of the subdomains at a different port how will I make sure a request such as rtmp://site1.mydomain.com rtmp://site2.mydomain.com goes to their respective servers. from the front end server. What do I need to handle in this case ? IPTABLES came to mind instantly but from the client browser on internet when some one requests rtmp://site1.mydomain.com how will I make sure this rtmp request is mapped to a port different than 1935 as there are three other streaming servers which are also to respond to their respective requests ? For handling HTTP requests in this case I use Apache Reverse Proxy but for rtmp requests I am not clear as which direction to proceed. -- Tapas -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers -- ubuntu-server mailing list ubuntu-server@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-server More info: https://wiki.ubuntu.com/ServerTeam
[osflash] multiple Red5 servers behind a Bastion Host
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 http://ocw.openitup.iny_domain.com the problem is the website are many site1.mydomain.com site2.mydomain.com site3.mydomain.com site4.mydomain.com each of these four have their own Red5 installations the front end to each of these four is a common Bastion Host. If I run rtmp on each of the subdomains at a different port how will I make sure a request such as rtmp://site1.mydomain.com rtmp://site2.mydomain.com goes to their respective servers. from the front end server. What do I need to handle in this case ? -- Tapas ___ osflash mailing list osflash@osflash.org http://osflash.org/mailman/listinfo/osflash_osflash.org
[us...@httpd] multiple streaming servers in a cloud
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 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 Code: embed . var=rtmp://site1.m http://ocw.openitup.in/y_domain.com the problem is the website are many site1.mydomain.com site2.mydomain.com site3.mydomain.com site4.mydomain.com each on a separate physical server. Each of these four have their own Red5 http://code.google.com/p/red5/installations the front end to each of these four is a common Bastion Host. If I run rtmp on each of the subdomains at a different port how will I make sure a request such as rtmp://site1.mydomain.com rtmp://site2.mydomain.com goes to their respective servers. from the front end server. What do I need to handle in this case ? IPTABLES came to mind instantly but from the client browser on internet when some one requests rtmp://site1.mydomain.com how will I make sure this rtmp request is mapped to a port different than 1935 as there are three other streaming servers which are also to respond to their respective requests ?
[us...@httpd] Apache as front end for rtmp stream
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 reach the streaming server I embed a javascript in HTML pages of Zope website which is running Plone as follows embed . var=rtmp://m http://ocw.openitup.iny_domain.com My problem is a request for mydomain.com is handled via front end Apache on which I have redirected this to Zope. Now in case of rtmp streams which are coming in form of rtmp://mhttp://ocw.openitup.in y_domain.com is it possible to do some thing in Apache so that request to video streams coming from outside to be redirected to Red5 on internal server on LAN. So our communication with world is via Apache only. In this situation how can apache redirect to a Red5 application or say a stream on rtmp. If you some has some clue on this then let me know. -- Tapas http://mightydreams.blogspot.com http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers