Re: TV over the internet
On 01/06/2010 08:22 PM, Timothy Murphy wrote: Thanks for your response. I guess iPlayer is exactly what I'm looking for, but unfortunately it is restricted to UK residents. I did wonder if I could use my son, in Cardiff, to re-send the stream over to me in Dublin (or Italy)? Could I do that without using up all his bandwidth? It would be nice if there was a way to start with a UK IP address, and then change to a foreign one? From a technical point of view it would depend on his network connection. The iPlayer SD streams are watchable on 0.5-1Mbit DSL circuits so I guess you'd need at least that much inbound and outbound to route the streams elsewhere. The HD streams seem to want 3.5-4Mbits. There are also obviously serious terms of service issues to be considered with doing this - IANAL and I'm afraid you're on your own for those! I have similar problems accessing free-to-air but US-only content (Lost, mostly) but I have not tried to find any technical solutions to the problem. If you're based in Ireland though it's probably worth checking to see if any of the local stations make online content available - pretty much all the UK networks now have something. Nowadays, Chanel4 and 5 also have online content I can watch happily on Fedora. What application do you use to watch Channels 4 and 5? I take it they don't come through the iPlayer? Both use a similar youtube-style flash video player. Don't think either of them have an offline player like the iPlayer desktop (based on Adobe Air). Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: TV over the internet
On 01/06/2010 02:26 PM, Timothy Murphy wrote: I've read lots of online postings about people who are apparently watching TV on their computers, but I haven't seen a concrete description of what to do. I'd love to see a posting from someone who has abandoned the traditional TV set in favour of the (Fedora) computer. I've not owned a broadcast TV in more than 7 years. For a lot of that time, I just didn't watch the stuff. Since the BBC iPlayer (I'm in the UK) moved to a format I can view on Fedora (OK.. Flash, so still not ideal! :) I find I watch rather a lot of TV on my living room PC! Nowadays, Chanel4 and 5 also have online content I can watch happily on Fedora. It's only ITV that is using silverlight or whatever it's called - and that's OK because all their output is junk anyway! :-D On a good day, with the wind in the right direction and the gods of ECC smiling on my DSL line I can even watch live HD content. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Which model raid adapter controll card is good for work with Fedora 12 ?
On 01/06/2010 02:32 PM, Edward S.P. Leong wrote: Dear All, Happy New Year ! As the title... Would you mind to help ( suggestion ) ? Thanks ! Edward. -ENOTENOUGHINFO What sort of RAID card? How much do you want to spend? What capacities are you looking for? What features do you need? What can't you live without? What's worth compromising for? Help the people on this list to help you by providing as much information about your situation and needs as you can! Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: FESCo election results December 2009
Fri, 2009-12-18 at 13:06 -0500, Adam Jackson wrote: On Fri, 2009-12-18 at 12:19 -0500, Paul W. Frields wrote: Information: At close of voting there were: 216 valid ballots Using the Fedora Range Voting method, each candidate could attain a maximum of 864 votes (4*216). Results: 1. Adam Jackson (ajax) 1028 That's right, I'm so awesome I got more than the maximum number of votes. Was this tabulated in Florida? Bryn. -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list
Re: Installing a new BIOS on a Dell Computer
On Thu, 2009-12-17 at 12:44 -0600, Michael Hennebry wrote: On Thu, 17 Dec 2009, Kevin Kempter wrote: I updated my DELL bios this way, it worked great: http://linuxtidbits.wordpress.com/2009/01/22/create-a-bios-recovery-cd-in- linux/ I'm not sure I understand the term recovery in this context. My understanding was that if you trashed your BIOS, fixing it involved a soldering iron. The fix would not involve a CD because you couldn't use a CD drive. recovery CD here just means bootable disk with some sort of minimal OS on it that isn't the OS installed on the system - don't get hung up on the word recovery. Recovery or rescue disk is a common name for these things; it's just that in this case the purpose is to have some specialised tools for firmware updates plus a firmware update file of some kind rather than for rescuing or recovering a problem with the installed OS. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to identify 32 or 64 bits -
On Thu, 2009-12-17 at 13:48 +, Patrick O'Callaghan wrote: bash-4.0$ grep lm /proc/cpuinfo flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl est tm2 ssse3 xtpr pdcm movbe lahf_lm flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx constant_tsc arch_perfmon pebs bts pni dtes64 monitor ds_cpl est tm2 ssse3 xtpr pdcm movbe lahf_lm bash-4.0$ (the lahf_lm flag matches, though I've no idea what it means). arch/x86/include/asm/cpufeature.h says it indicates whether the LAHF/SAHF (load status flags to AH /save AH to status flags) instructions are available in long mode. I'm not sure what it implies if you have lahf_lm but not lm! Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to identify 32 or 64 bits -
On Thu, 2009-12-17 at 08:44 -0500, Bob Goodwin wrote: On 17/12/09 07:50, Rahul Sundaram wrote: I'm sorry, I missed the grep. So all I did was cat the /proc/info and didn't know what to look for? This F-11 box yields: [b...@box9 ~]$ grep lm /proc/cpuinfo nothing returned This box doesn't have the lm flag. While the Omega F-12 box yields: [b...@box6 ~]$ grep lm /proc/cpuinfo flags: fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc pebs bts pni dtes64 monitor ds_cpl cid ^^ +--- that's what you're looking for! Also, if you have 64-bit install media around you can always just try to boot it on the other hardware. The worst that can happen is it will fail horribly during booting - it won't leave you with a borked install that won't boot (since the 64-bit media will boot a 64-bit kernel during the installation). Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Installing a new BIOS on a Dell Computer
On Thu, 2009-12-17 at 09:07 -0600, Aaron Konstam wrote: On Wed, 2009-12-16 at 21:00 -0500, Gene Heskett wrote: On Wednesday 16 December 2009, Aaron Konstam wrote: The last time I installed a new BIOS on a Dell Computer I used a floppy disk. That is no longer an option. Could anyone explain how I can accomplish this? Please be as detailed as you can describing the procedure. Most bios these days are equipt to do that themselves from one of the more right hand option menu's. I have updated the bios on this asus motherboard several times now, by putting the new bios file on a usbkey plugging it in. It will muddle along looking the system over for a while but its never failed to find it. It is also capable of saving the old bios back to that same key before you install the new one too. -- I don't understand you procedure. The BIOS file I downloaded is an .EXE file. When I put on a usb drive and i insert it. It just sits there. If I try to execute it it says it is looking for a zip file and can't find it. What am I missing? What right hand menus are you talking about If all you have is an EXE file then grab yourself a freedos ISO (Dell used to provide them at least with N-series machines, if not it's under the GPL a free download) and drop the EXE into the image and burn. Then you can boot freedos and run the update from there. I've done this for Dell, HP and IBM/Lenovo systems in the past. Dell also has a tool called biosdisk that appears to automate this process: http://linux.dell.com/biosdisk/ Dell also has a project called firmware tools to allow updating of BIOS and firmware images from within a booted Linux kernel: http://linux.dell.com/wiki/index.php/Oss/Firmware_Tools Seems to have been a bit quiet in the last few years so not sure what current status is. That page also has a link to: http://linux.dell.com/wiki/index.php/Tech/libsmbios_livecd Which gives another option - building a fedora liveCD to do the updates from (this uses the Firmware Tools stuff to do the update). Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: linux as router
On Sun, 2009-12-13 at 22:59 +0100, paul van der meij wrote: I don't think that it makes sense to configure a router with one physical network card. If another PC on the same cable segment tries to reach something it needs a router that has connection with more than the same network cable. Not at all. Consider VLANs, VPN routing and now virtualisation - these all create situations where it makes a lot of sense for a host with a single NIC to perform routing. Granted, it might not be the best way to do things for a given situation but it's certainly a valid configuration (and can be very useful for testing). Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Universal drive adapter -
On 12/11/2009 12:57 AM, Craig White wrote: problems typically occur because Fedora always names the LVM groups/partitions with the same naming scheme and when you want to This is a posibility here with older releases (although F12 doesn't do this (thank you! thank you!); it now includes the hostname in the VG names created by anaconda during autopartitioning). If that's the case then the easiest way to deal with it is to use the vgimportclone script distributed with recent versions of LVM2. 'mount' an LVM from one computer on another computer and they have the same name, it's an issue. You probably have to rename the Group and maybe the Volume so that it is distinctively different from what is already mounted to avoid confusion before you can mount the second hard drive LVM partitions. New name new UUID, although the script I mentioned will do all of this automatically. With all that said, I don't think that's the case here as the pvdisplay that Bob posted would have complained like this if that were true: # pvdisplay WARNING: Duplicate VG name system: Existing nx2842-uHOV-m05x-ZpxO-Jl88-Rpr5-H14NVk (created here) takes precedence over qNA2zi-ArAk-htTG-5m4t-G4My-DNSW-2jCzE6 WARNING: Duplicate VG name system: Existing nx2842-uHOV-m05x-ZpxO-Jl88-Rpr5-H14NVk (created here) takes precedence over qNA2zi-ArAk-htTG-5m4t-G4My-DNSW-2jCzE6 WARNING: Duplicate VG name system: Existing qNA2zi-ArAk-htTG-5m4t-G4My-DNSW-2jCzE6 (created here) takes precedence over nx2842-uHOV-m05x-ZpxO-Jl88-Rpr5-H14NVk --- Physical volume --- PV Name /dev/sda2 VG Name system PV Size 231.66 GB / not usable 1.61 MB Allocatable yes PE Size (KByte) 32768 Total PE 7413 Free PE 2842 Allocated PE 4571 PV UUID geCugI-hlFj-udgF-M8Kw-vKD8-9wNB-GpgJSr WARNING: Duplicate VG name system: Existing nx2842-uHOV-m05x-ZpxO-Jl88-Rpr5-H14NVk (created here) takes precedence over qNA2zi-ArAk-htTG-5m4t-G4My-DNSW-2jCzE6 --- Physical volume --- PV Name /dev/loop0 VG Name system PV Size 40.00 MB / not usable 4.00 MB Allocatable yes PE Size (KByte) 4096 Total PE 9 Free PE 9 Allocated PE 0 PV UUID qMB7fV-nE0E-kws0-2BsL-qdGq-g22A-68v4zp And would also have reported more than one PV. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Universal drive adapter -
On 12/10/2009 09:18 PM, Bob Goodwin wrote: Yes, I posted the question and found the response interesting and helpful. I spent a couple of hours reading man pages and experimenting with the lvm commands on various drives. But I have not been able to open a volume and list the directories and files, such as /home and /etc! I must be dense ... This from another drive: [r...@box6 bob]# lvm lvm pvdisplay --- Physical volume --- PV Name /dev/sdb2 VG Name VolGroup00 PV Size 74.43 GB / not usable 22.62 MB Allocatable yes PE Size (KByte) 32768 Total PE 2381 Free PE 1 Allocated PE 2380 PV UUID J5Yc28-aO4n-ODWI-1c0W-H9Jr-04jN-ufwyRj And fdisk shows: Disk /dev/sdc: 20.0 GB, 20020396032 bytes 255 heads, 63 sectors/track, 2434 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Disk identifier: 0x000c6487 Device Boot Start End Blocks Id System /dev/sdc1 * 1 2434 19551073+ 8e Linux LVM But I can't mount this one either using mount /dev/sdc1 -t ext3 /mnt/hdtest It protests about the file type[?]. Perhaps lvm requires a different type? You cannot directly mount an LVM2 physical volume. The idea of the volume manager is that it abstracts storage using a layered model: Physical volumes - actual disks/storage devices Volume groups - collections of related disks that are managed together Logical volumes - virtual partitions carved out of the disks in the VG The PV is a container for the LVs that exist in the volume group. You need to activate any LVs that it contains using the commands in my earlier mail before you can mount them. LVs then behave a lot like regular partitions but with more flexibility; they can be resized on the fly, mirrored, snapshotted, migrated to new storage etc all without interruption to services. When you activate an LV or a VG you will get new entries in the /dev directory in a subdirectory named after the volume group. E.g. my VG in the examples I gave was named system and it contains a half-dozen or so LVs: # ls /dev/system/ home root swap0 tmp usr var [r...@p380-1 ~]# vgs VG #PV #LV #SN Attr VSize VFree system 1 11 0 wz--n- 231.66G 88.81G [r...@p380-1 ~]# lvs LV VG Attr LSize Origin Snap% Move Log Copy% Convert homesystem -wi-ao 100.00G rootsystem -wi-ao 21.03G swap0 system -wi-ao 8.00G tmp system -wi-a- 1.00G usr system -wi-a- 8.00G var system -wi-ao 4.00G E.g. to mount the tmp logical volume (assuming it's active and not already mounted), I would run: mount /dev/system/tmp /tmp Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Is this possible in Fedora?
On 12/11/2009 02:37 PM, jarmo wrote: In gnome screensaver found somekind worm, are Fedora/redhat pakages infected also? http://ubuntuforums.org/showthread.php?t=1349678 Jarmo A user with root privileges (or who has configured the necessary authorizations for their user account via PolicyKit) can install malicious 3rd party software on any distribution (or operating system for that matter). Given that that thread is two years old however I don't think that particular malware purveyor has been enjoying much success with his 5cr1pt5. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Is this possible in Fedora?
On 12/11/2009 03:02 PM, Frank Murphy (Frankly3D) wrote: On 11/12/09 14:55, Bryn M. Reeves wrote: On 12/11/2009 02:37 PM, jarmo wrote: In gnome screensaver found somekind worm, are Fedora/redhat pakages infected also? http://ubuntuforums.org/showthread.php?t=1349678 Jarmo Given that that thread is two years old however I don't think that particular malware purveyor has been enjoying much success with his 5cr1pt5. Regards, Bryn. It was last week, I think. But said screensaver was pulled by whatever hosting company. Duh, my mistake - can't read. Join date of the poster was Dec 2007. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Universal drive adapter -
On 12/10/2009 03:07 PM, Bob Goodwin wrote: I bought a new gadget, a USB2 Universal Drive Adapter which does essentially what an external drive box does but it is not limited to SATA drives, On the F-12 computer it shows up in lsusb and I can see a drive at /dev/sdc with fdisk [sdc1] and it shows up as Linux and LVM. Is there a way to make it list the contents of the drive? I tried mounting it with mount /dev/sdc1 -t ext3 /mnt/hdtest which I created for the purpose but that doesn't satisfy it. It produces a stock error message wrong fs type, bad option, etc. I've only tried that one old IDE drive so far. Any suggestions appreciated. Bob You can use file to inspect the contents of the device: # file -s /dev/sdc1 E.g.: # file -s /dev/sda1 /dev/sda1: Linux rev 1.0 ext3 filesystem data (needs journal recovery) # file -s /dev/sdc1 /dev/sdc1: x86 boot sector, code offset 0x3c, OEM-ID mkdosfs, sectors/cluster 4, root entries 512, Media descriptor 0xf8, sectors/FAT 125, heads 3, sectors 127848 (volumes 32 MB) , serial number 0x4b21069a, label:, FAT (16 bit) The '-s' is needed to tell file to look at the device content and not just report that this is a block device node. The blkid command (part of util-linux) will also give useful information on what devices contain: # blkid /dev/sdc1 /dev/sdc1: UUID=4B21-069A TYPE=msdos Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Universal drive adapter -
On 12/10/2009 03:28 PM, Bob Goodwin wrote: On 10/12/09 10:19, Bryn M. Reeves wrote: blkid /dev/sdc1 Ok, thank you, that gives me a bit more information: [r...@box6 bob]# file -s /dev/sdc1 /dev/sdc1: LVM2 (Linux Logical Volume Manager) , UUID: X5Vx9im0hf7hS6Y4WNhdW2ju8heRtUh [r...@box6 bob]# blkid /dev/sdc1 /dev/sdc1: UUID=X5Vx9i-m0hf-7hS6-Y4WN-hdW2-ju8h-eRtUhR TYPE=LVM2_member Is there a way to list directories and files? The drive was configured for use with the logical volume manager (LVM2). You need to use the LVM2 tools to find out what volume group is on the disk and what logical volumes it contains. Then you can activate and mount the devices like any other block device. Have a look at the LVM2 documentation/man pages or how-tos for more information. To display volume groups use vgs or vgdisplay: # vgs VG #PV #LV #SN Attr VSize VFree system 1 11 0 wz--n- 231.66G 88.81G # vgdisplay --- Volume group --- VG Name system System ID Formatlvm2 Metadata Areas1 Metadata Sequence No 32 VG Access read/write VG Status resizable MAX LV0 Cur LV11 Open LV 4 Max PV0 Cur PV1 Act PV1 VG Size 231.66 GB PE Size 32.00 MB Total PE 7413 Alloc PE / Size 4571 / 142.84 GB Free PE / Size 2842 / 88.81 GB VG UUID qNA2zi-ArAk-htTG-5m4t-G4My-DNSW-2jCzE6 Once you know the name of the volume group you can activate it with vgchange: # vgchange -ay vg name Or, if you omit the vg name the command will activate all inactive VGs on the system. Display the logical volumes with lvs or lvdisplay: # lvs LV VG Attr LSize Origin Snap% Move Log Copy% Convert foo system -wi-a- 128.00M fooSsystem -wi-a- 224.00M homesystem -wi-ao 100.00G lv00system -wi-a- 416.00M rootvol system -wi-ao 21.03G swap0 system -wi-ao 8.00G t0 system -wi-a- 32.00M t1 system -wi-a- 32.00M tmp system -wi-a- 1.00G usr system -wi-a- 8.00G var system -wi-ao 4.00G Once you know the name of the vg and lv you want to look and they have been activated you can mount them with: # mount /dev/vg name/lv name /path/to/mount/point You can also carry on inspecting LV contents with file/blkid as you did for the partition. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to Backup and Restore MBR within Logical Volumes?
On Thu, 2009-11-12 at 09:23 +, Mr. Teo En Ming (Zhang Enming) wrote: Hi All, I have several Xen virtual machines within logical volumes using LVM2. I did not use disk images for performance reasons. Conventionally, if I want to clone my virtual machines, I have to dd the LV to an image file. But this consumes a lot of time and harddisk space. So, instead of doing that, I want to use losetup and kpartx with my logical volumes, which contain operating systems of virtual machines. I can backup the filesystems of a virtual machine in this way: # losetup /dev/loop1 /dev/virtualmachines/windows7-x64 What's the point of adding a loopback device on top of the LV? Running kpartx on the LV itself will work just fine and this just adds an unnecessary layer of overhead and complexity unless I am missing something. dd if=/dev/hda of=mbr.hda bs=512 count=1 Because /dev/hda resides in a logical volume. The logical volume is a virtual harddisk for my virtual machine. Assuming that the LV given above is a whole-disk image containing a DOS MBR partition table: dd if=/dev/virtualmachines/windows7-x64 of=/tmp.mbr.img bs=512 count=1 You could also do the same with the loopN device that you set up earlier, although I still don't see the need for that step. 1) re-create the physical volume (PV) 2) re-create the volume group 3) assign the PV to the volume group 4) restore the LVM metadata, i.e. the configuration files for all the logical volumes 5) restore the MBR of my domU 6) restore the filesystems of my domU Should work fine, just be sure to test each step so that you are confident and comfortable with it before you find yourself needing to do this in anger. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: [Xen-users] How to Backup and Restore MBR within Logical Volumes?
On Thu, 2009-11-12 at 09:45 +, Mr. Teo En Ming (Zhang Enming) wrote: dd if=/dev/virtualmachines/windows7-x64 of=mbr.w7-x64 bs=512 count=1 I think if you do this, you are only backing up the first 512 bytes of the logical volume, not the MBR. Someone correct me if I am wrong. That *is* the MBR (it's the 0th sector of the disk image). Take a look at the sector on the device (or an image of it) with e.g. file or a hexdump tool: [...@hex ~]$ sudo dd if=/dev/mapper/vg_hex-lv_win7 bs=512 count=1 | file - 1+0 records in 1+0 records out 512 bytes (512 B) copied, 0.0184184 s, 27.8 kB/s /dev/stdin: x86 boot sector; partition 1: ID=0x7, active, starthead 1, startsector 63, 125821017 sectors, code offset 0xc0, OEM-ID м, Bytes/sector 190, sectors/cluster 124, reserved sectors 191, FATs 6, root entries 185, sectors 64514 (volumes =32 MB) , Media descriptor 0xf3, sectors/FAT 20644, heads 6, hidden sectors 309755, sectors 2147991229 (volumes 32 MB) , physical drive 0x7e, dos 4.0 BootSector (0x0) [...@hex ~]$ sudo dd if=/dev/mapper/vg_hex-lv_win7 bs=512 count=1 | xxd 1+0 records in 1+0 records out 512 bytes (512 B) copied, 0.00285548 s, 179 kB/s 000: 33c0 8ed0 bc00 7c8e c08e d8be 007c bf00 3.|..|.. 010: 06b9 0002 fcf3 a450 681c 06cb fbb9 0400 ...Ph... 020: bdbe 0780 7e00 007c 0b0f 850e 0183 c510 ~..| 030: e2f1 cd18 8856 0055 c646 1105 c646 1000 .V.U.F...F.. 040: b441 bbaa 55cd 135d 720f 81fb 55aa 7509 .A..U..]r...U.u. 050: f7c1 0100 7403 fe46 1066 6080 7e10 0074 t..F.f`.~..t 060: 2666 6800 0066 ff76 0868 6800 fhf.v.h..h. 070: 7c68 0100 6810 00b4 428a 5600 8bf4 cd13 |h..h...B.V. 080: 9f83 c410 9eeb 14b8 0102 bb00 7c8a 5600 |.V. 090: 8a76 018a 4e02 8a6e 03cd 1366 6173 1cfe .v..N..n...fas.. 0a0: 4e11 750c 807e 0080 0f84 8a00 b280 eb84 N.u..~.. 0b0: 5532 e48a 5600 cd13 5deb 9e81 3efe 7d55 U2..V...]}U 0c0: aa75 6eff 7600 e88d 0075 17fa b0d1 e664 .un.vu.d 0d0: e883 00b0 dfe6 60e8 7c00 b0ff e664 e875 ..`.|d.u 0e0: 00fb b800 bbcd 1a66 23c0 753b 6681 fb54 ...f#.u;f..T 0f0: 4350 4175 3281 f902 0172 2c66 6807 bb00 CPAu2r,fh... 100: 0066 6800 0200 0066 6808 0066 5366 .fhfhfSf 110: 5366 5566 6800 0066 6800 7c00 0066 SfUfhfh.|..f 120: 6168 07cd 1a5a 32f6 ea00 7c00 00cd ah.Z2...|... 130: 18a0 b707 eb08 a0b6 07eb 03a0 b507 32e4 ..2. 140: 0500 078b f0ac 3c00 7409 bb07 00b4 0ecd ...t... 150: 10eb f2f4 ebfd 2bc9 e464 eb00 2402 e0f8 ..+..d..$... 160: 2402 c349 6e76 616c 6964 2070 6172 7469 $..Invalid parti 170: 7469 6f6e 2074 6162 6c65 0045 7272 6f72 tion table.Error 180: 206c 6f61 6469 6e67 206f 7065 7261 7469 loading operati 190: 6e67 2073 7973 7465 6d00 4d69 7373 696e ng system.Missin 1a0: 6720 6f70 6572 6174 696e 6720 7379 7374 g operating syst 1b0: 656d 0063 7b9a 998c 3463 8001 em...c{...4c 1c0: 0100 07fe 3f00 59e0 7f07 ..?...Y. 1d0: 1e0: 1f0: 55aa ..U. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: what's with that trailing . for the mode from ls -l
On Thu, 2009-11-12 at 07:23 -0500, Robert P. J. Day wrote: i once knew this, really. what's the explanation of that recent introduction of an extra period after the normal mode bits in the output from ls -l? Let me google that for you: http://lmgtfy.com/?q=ls+dot+permissions Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: what's with that trailing . for the mode from ls -l
On Thu, 2009-11-12 at 07:45 -0500, Robert P. J. Day wrote: On Thu, 12 Nov 2009, Bryn M. Reeves wrote: On Thu, 2009-11-12 at 07:23 -0500, Robert P. J. Day wrote: i once knew this, really. what's the explanation of that recent introduction of an extra period after the normal mode bits in the output from ls -l? Let me google that for you: http://lmgtfy.com/?q=ls+dot+permissions a followup question would be, is there an ls option that would *prevent* that security setting character from being printed? i ask since i'm working with a software project (openembedded) that specifically takes a mode setting in symbolic mode (from the output of ls -l), and uses sed to translate it to numeric mode, and the script to do that doesn't take into account that potential trailing period and promptly converts, say, -rwxr-xr-x. to the string 755., which then causes the subsequent call to install to crash with a bad numeric mode argument. Not that I know of. The What information is listed node of the ls info pages describes the characters used to indicate alternate access methods when listing files with '-l' but does not mention a way to suppress this. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: what's with that trailing . for the mode from ls -l
On Thu, 2009-11-12 at 08:58 -0500, Robert P. J. Day wrote: that's ok, it was only an issue because of the incredibly hacky way that a numeric mode was being reproduced from an existing file -- by grabbing the current symbolic mode, then running it through sed to get the numeric mode back. yuck. as someone noted here earlier, using stat is way simpler. If you just need to propagate permissions from one path name to another you can use chmod directly: chmod --reference=/path/to/source /path/to/dest Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Old Dual Pentium III 500Mhz Servers
On Wed, 2009-11-11 at 03:50 +1030, Tim wrote: On Tue, 2009-11-10 at 23:47 +1100, David Timms wrote: Things to think about: - if you are talking about the same machine, disk drive tiredness would have reduced the access speed that you can achieve, when r/w to disk. Beg yours... drive tiredness? The old gray mare not what she used to be? Since when do drives become old age pensioners with blankets on their laps, day dreaming about the old days, instead of doing the same as they were doing last week? Since they use sector remapping to recover failed errors and ECC/parity codes to recover data errors. As sectors have to be remapped elsewhere on disk seek overheads will increase. There may also be further penalties as the recoverable media error rate rises, i.e. the disk has to issue repeated reads to correctly retrieve the data for a particular sector. Sometimes you'll see this acutely when a sector is failing - the drive will appear to go out to lunch for a moment when the tricky sector is accessed. If spare sectors are still available a write to the offending location may cause the drive to spare it out and avoid the problem for a while. Looking at the S.M.A.R.T. reports for the drive can help you understand if this is the problem for a particular system. Often though I've seen users diagnose a problem like this as old hardware getting slow when in fact it's a software or file system issue. - more stuff relying on storage/retrieval of information from inefficient storage formats like xml Reminds me of back when I was using an Amiga - any program that stored its configuration in a text file took ages to parse it as the program started up. Whereas those that stored their data in the programs binary format were very nippy. Even now, on fast GHz CPUs, I've noticed that you can get Apache or Squid to start up much quicker if you purged the masses of comments out of the configuration file, so the program had less to parse. Yes, the programs do parse the comments, they've got to find the end of the comment to find the next instructions that they're going to use, the whole file is parsed. Depends how you look at it - most comment notations have a line-delimiter (e.g. # in apache). This only requires examining the first character of the line to know that the rest must be ignored (of course the entire line must still be read into memory which does impose overhead especially if there are many lines of commentary as is often the case for default config files). Block comments do require consuming characters until the end-of-comment token is reached. Computer users nightmare number 9: Part way through the installation process, a message pops up, You're going to need a bigger boat Nice way of putting it! Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Kernel using LZMA compression
On 11/04/2009 06:18 PM, Ikem Krueger wrote: The executive summary is: Xen does not let a kernel boot itself, because mimicking bare hardware is too tedious (and pointless.) Instead, Xen instantiates an instance of a kernel into the Xen environment. To do this instantiation, Xen does its own decompression, so Xen must know everything about the compression. I know you're right. But that sound stupid to me: The kernel itself has routines built-in for decompression. Why isn't it enough to let Xen use the same routines for decompression as the kernel? I am reading between the lines here (I have never looked at this stuff in Xen) but I would assume it's for the reason given above. The kernel's own decompression routines must run very early on in the boot process - well before the first line of C code runs and while the CPU (on x86) is still running in legacy real addressing mode (right after the handover from the bootloader and relocation of the kernel image). It's emulating this early-boot environment that is tedious and pointless and being able to use the in-kernel decompresser is not sufficient motivation to go down that route. Regards, Bryn. -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list
Re: Kernel using LZMA compression
On 11/04/2009 06:37 PM, Ikem Krueger wrote: I am reading between the lines here (I have never looked at this stuff in Xen) but I would assume it's for the reason given above. The kernel's own decompression routines must run very early on in the boot process - well before the first line of C code runs and while the CPU (on x86) is still running in legacy real addressing mode (right after the handover from the bootloader and relocation of the kernel image). Ok. Sounds plausible. How is it to seperate the routines? Can they brought from legacy mode to real mode? Quite tricky I'd guess - it's chicken-and-egg. The code to switch the CPU from real mode to protected mode is in the kernel's startup routines *inside* the compressed image. I don't think anyone is going to want to reorganise things to move that code to the primitive early-boot period - the idea is to do as little as possible in that part of the kernel and leave everything else to later in the boot process when life gets easier. Decompressing the kernel is always going to be done in that part of the startup sequence because that's when it has to happen. Regards, Bryn. -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list
Re: [OT] run command via ssh - problem
On Wed, 2009-11-04 at 13:10 +, Dan Track wrote: Hi, I'm running a command like this: for i in server1 server2;do ssh r...@$i `hostname`;done. However the hostname command always outputs the hostname of the server that the above command is run from. I'd like to know how to run this hostname command so that it actually runs on server 1, server2 etc.. Just remove the backticks and quotes around hostname? for i in server1 server2;do ssh r...@$i hostname;done The backticks tell the shell (on your machine) to run the command inside the backticks and replace that part of the command line with the output of the command so you actually end up with a command line like: for i in server1 server2;do ssh r...@$i mylocalhostname;done. Regards, Bryn -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: [OT] run command via ssh - problem
On Wed, 2009-11-04 at 13:13 +, Dan Track wrote: On Wed, Nov 4, 2009 at 1:10 PM, Dan Track dan.tr...@gmail.com wrote: Hi, I'm running a command like this: for i in server1 server2;do ssh r...@$i `hostname`;done. However the hostname command always outputs the hostname of the server that the above command is run from. I'd like to know how to run this hostname command so that it actually runs on server 1, server2 etc.. Thanks Dan Sorry just to add the actual script was like this: for i in server1 server2;do ssh r...@$i DNSNAME=\basename \`hostname\`\;echo $DNSNAME;done Not sure why you're setting a variable here but to have basename run as a command and assign the output to DNSNAME you need to have basename inside a pair of backticks too. You'll then hit another problem because you want to have nested backticks (one pair for basename and another for hostname). Bash supports '$()' as an alternative to backticks that does allow nesting - writing $(hostname) is equivalent to `hostname` and allows you to write $(basename $(hostname)). I'm not sure basename is going to do what you want here though - are you looking for the short host name or the domain name? The basename command separates components of a path based on the '/' (or whatever the system defined path separator is). E.g.: $ DNS=$(basename $(hostname)) $ echo $DNS breeves.fab.redhat.com If you just want the short hostname you can pass -s to hostname: $ ssh pe1950-1.gsslab hostname -s pe1950-1 Or the domain with -d: $ ssh pe1950-1.gsslab hostname -d gsslab.fab.redhat.com Have a look at the man page for hostname for more options. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: [OT] run command via ssh - problem
On Wed, 2009-11-04 at 14:14 +0100, Joachim Backes wrote: On 11/04/2009 02:10 PM, Dan Track wrote: Hi, I'm running a command like this: for i in server1 server2;do ssh r...@$i `hostname`;done. However the hostname command always outputs the hostname of the server that the above command is run from. I'd like to know how to run this hostname command so that it actually runs on server 1, server2 etc.. Thanks Dan Use the following for i in server1 server2;do ssh r...@$i '`hostname`';done. That will try to execute the name of the remote host as though it was a command (backticks expand on the remote host and the output of the hostname command is used as the command line). $ ssh abox '`hostname`' bash: abox.example.com: command not found Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: [OT] run command via ssh - problem
On Wed, 2009-11-04 at 13:32 +, Dan Track wrote: Hi Bryn, Many thanks. I tried hostname -s but I keep getting the following: hostname: Host name lookup failure Possibly your resolver on the servers is not configured to search its own local domain. Add a line like this to /etc/resolv.conf: search mylocaldomain.com Or, if you configure the resolver via dhcp add a directive on the server to pass this over to clients. This may be because the hostname's are short already e.g just server1 instead of server1.example.com I've updated teh script to your recommendations but I still get the local hosts hostname in teh output instead of the remote servers hostname. Any other thoughts? I now run the following: for i in server1 server2;do ssh r...@$i DNSNAME=$(basename $(hostname)$);echo $DNSNAME;done You need to use single quotes instead of double quotes - see the rules in the bash man page about quote expansion. A single quoted string is not subject to any expansion by the shell on the client machine but a double quoted string will be expanded on the client before the ssh command is executed. $ ssh abox 'DNSNAME=$(basename $(hostname));echo $DNSNAME' abox.example.com I still don't think that basename will do what you want here... Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: [OT] any good online doc for the details of compiling hello, world?
On Fri, 2009-10-30 at 02:36 -0400, Robert P. J. Day wrote: not really a fedora question, but i'm interested in a step-by-step description of what happens when one compiles and runs hello, world. it's sort of a fedora question since i want to relate those steps to the essential fedora packages and where they come into play (gcc, cpp, glibc-devel, libgcc, and so on), related to things like crtbegin, crtend, etc. i'm thinking you get the idea. Maybe not exactly what you're looking for but I read this book a few years ago: http://savannah.nongnu.org/projects/pgubook/ It's now available under the GNU FDL (although I think a print edition is still available). It covers basic programming using assembler and picks apart classic examples like Hello World at the instruction level. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Testing Device Failure
On Tue, 2009-10-13 at 22:12 +0100, Dan Track wrote: On Tue, Oct 13, 2009 at 5:22 PM, Dan Track dan.tr...@gmail.com wrote: Hi, I've got two SAS links to my San, I want to test failure/recovery by eleminating and device node. The easiest way is to manually unplug a controller link and see what happens. I'd like to know how I can do it via Linux, and then re-enable the device node? I have two device nodes /dev/sda and /dev/sdb. Thanks Dan Hi Does anyone have any thoughts on this. Thanks Dan If you're using device-mapper to combine the two paths into a single multipath device you should see a change in the output of the multipath -l/-ll commands when you unplug the cable (and if the unplugged path was the path that was previously carrying I/O there'll also be a change of path groups and I/O should begin flowing over the second path). As long as you have multipathd running the failed path should be re-added to the multipath map when it returns and depending on the failback settings in use will trigger another path group switch. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to find driver usage.
On Wed, 2009-10-14 at 15:52 +0100, Dan Track wrote: I've got two disks /dev/sda and /dev/sdb. I'd like to reload the driver that they are using. How can I find out what driver is being used by them? The sysfs file system (normally mounted at /sys) is your friend, e.g: $ ls -l /sys/block/sda/device/driver lrwxrwxrwx 1 root root 0 2009-10-14 16:16 /sys/block/sda/device/driver - ../../../../../../bus/scsi/drivers/sd But this just tells us that it's being driven by the SCSI disk driver (sd) which is kinda obvious. A lot more information is hidden away here however - you can use tools like udevinfo or systool to trawl the file system and output the information in a more readable format. To get all attributes for sda: $ udevinfo -ap /block/sda http://pastebin.com/m1fb2047d To get device attributes for all scsi disks on the system: $ systool -c scsi_disk -v http://pastebin.com/m263ebacc Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to find out the parameters of an ext3 filesystem
On Wed, 2009-10-14 at 23:18 +0800, Ed Greshko wrote: Dan Track wrote: Great thanks. Can I ask one more question. I'm trying to put all the information in the following website: http://busybox.net/~aldot/mkfs_stride.html and it is asking me for the following: number of filesystem blocks (in KiB) How does this question relate to Fedora? Isn't this something related to busybox that maybe you should be asking about to that community? It's nothing to do with busybox (despite the hostname). If anything a better place for the question would be the ext3-users[1] or linux-raid[2] mailing lists (as it's a question about optimising ext3 for use on Linux software RAID devices). A bit of searching around will probably find a few related discussions in the past also. Regards, Bryn. [1] https://www.redhat.com/mailman/listinfo/ext3-users [2] http://linux-raid.osdl.org/index.php/Linux_Raid -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Multipath command output - Help with understanding output
On Tue, 2009-10-13 at 10:48 -0600, Phil Meyer wrote: Yes, multipath -l may not show anything. multipath -v3 should always multipath -l and multipath -ll will always produce output when there is an active multipath device on the system (as is the case here) but that's not what the OP was asking about. show similar to the output above, and what you see is that it found two paths to the same device, which is good. It is also going to round robin reads and writes, which is also good. That's not correct - the output shows two path groups and the device is using group_by_prio path grouping policy: mpath0: pgpolicy = group_by_prio (controller setting) [...] multipath -ll mpath0 (3600c0ff000d7ba4f4575b24a0100) dm-0 HP,MSA2012sa [size=9.1T][features=1 queue_if_no_path][hwhandler=0][rw] \_ round-robin 0 [prio=50][active] \_ 0:0:0:1 sda 8:0 [active][ready] \_ round-robin 0 [prio=10][enabled] \_ 1:0:0:2 sdb 8:16 [active][ready] So the I/O will only flow over one of these path groups until there is a failure and we switch to the other path group. I think the newer MSAs (which this is) do support ALUA which would allow you to distribute the I/O with some penalty on the non-preferred paths but the default multipath configuration for this model of MSA will not do this. You may want to customize things a bit to make it easier to remember, or in case you add another unit or device. I would suggest adding at least these to /etc/multipath.conf: multipaths { multipath { uuid 3600c0ff000d7ba4f4575b24a0100 failbackimmediate rr_min_io1000 aliassan1 } The OP was already using the user_friendly_names feature. Although adding explicit aliases is useful in some situations many users prefer to just use the automatically assigned mpathN names. devices { device { vendorHP productMSA2 features1 queue_if_no_path path_checkertur } } Why would you override the compiled-in settings for this storage controller with this? There are two different generations of MSA2* firmware out there which need different handling - the compiled in defaults are careful to select the appropriate settings by matching against the exact product string (MSA2[02]12fc|MSA2012i vs. MSA2012sa|MSA23(12|24)(fc|i|sa)). Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Multipath command output - Help with understanding output
On Tue, 2009-10-13 at 17:17 +0100, Dan Track wrote: I've configured multipath but I'm confused with the following. When I run multipath -v2 I don't get any output, but if I run multipath -v3 I get lot's of output e.g.: snip mpath0: pgfailback = -2 (controller setting) mpath0: pgpolicy = group_by_prio (controller setting) mpath0: selector = round-robin 0 (controller setting) mpath0: features = 0 (internal default) mpath0: hwhandler = 0 (controller setting) mpath0: rr_weight = 1 (internal default) mpath0: minio = 100 (controller setting) mpath0: no_path_retry = 18 (controller setting) pg_timeout = NONE (internal default) mpath0: set ACT_NOTHING (map unchanged) ^^ here's why you're seeing no output from multipath -v2. At this verbosity level the command only prints output when it changes something. Since your mpath0 device was already up and running at this point there's no changes to make and -v2 will be silent. If there's nothing using the device then you can try running multipath -F to flush all multipath devices then re-running multipath -v2 - this should re-create the map and print something to the terminal indicating what it's done. multipath -ll mpath0 (3600c0ff000d7ba4f4575b24a0100) dm-0 HP,MSA2012sa [size=9.1T][features=1 queue_if_no_path][hwhandler=0][rw] \_ round-robin 0 [prio=50][active] \_ 0:0:0:1 sda 8:0 [active][ready] \_ round-robin 0 [prio=10][enabled] \_ 1:0:0:2 sdb 8:16 [active][ready] Does that mean multipath is working on /dev/sda and /dev/sdb? Is the Yes. lack of output for multipath -v2 a concern? No. Cheers, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Multipath command output - Help with understanding output
On Tue, 2009-10-13 at 18:23 +0100, Dan Track wrote: I've already got the following /dev/mapper/mpath0 and /dev/mpath/3600c0ff000d7ba4f4575b24a0100. Can you tell me how I can reload the config and end up with /dev/mapper/san1? That's a little bit strange; normally you'd expect the /dev/mpath entries to follow the same naming as is used in /dev/mapper. That said, the symlinks in /dev/mpath are nothing but trouble and it is strongly advised that you don't use them for anything. The main problem is that they can at times get out-of-sync with the device-mapper status. This can lead to a range of problems such as failed booting (since the correct device names don't exist at the point they should in the boot process) to data corruption when a stale symlink ends up pointing to the wrong multipath device. This happens because the device nodes in /dev/mapper are managed by libdevmapper and so are updated in-sync with the state of the devices in the kernel but the symlinks are managed in userspace by udev and so there can be delays between the device-mapper's state changing and the corresponding symlinks getting updated. Also when running pvcreate should I run pvcreate /dev/mapper/mpath0 Always prefer the names in /dev/mapper when working with multipath devices. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: a fully open source ECM suite? i'm glad you asked.
On Mon, 2009-09-28 at 08:43 -0400, Tom Horsley wrote: On Mon, 28 Sep 2009 08:22:45 -0400 (EDT) Robert P. J. Day wrote: http://candyandaspirin.blogspot.com/2009/09/next-adventure-in-ecm-begins.html DISCLAIMER: i know the lady in question, but that doesn't stop you from appreciating the idea of total open source. We might appreciate it more if we knew what in the blue blazes ECM was :-). Enterprise content management; the new name for content management. It's a common enough term for the topic - wikipedia has an article by the name (with an almost insignificant This article has multiple issues section ;): http://en.wikipedia.org/wiki/Enterprise_content_management Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: um ... where is ksymoops?
On Fri, 2009-09-18 at 05:24 -0400, Robert P. J. Day wrote: i suspect i'm tripping over it without seeing it, but is there an actual fedora package containing ksymoops? The ksymoops utility is kinda ancient history these days. Much of its functionality has moved into the kernel; at least for common build configurations (see CONFIG_KALLSYMS, Documentation/Changes and Documentation/oops-tracing.txt in the kernel sources). For 2.6 kernels it's almost never necessary to run the oops output through ksymoops before posting it. Historical ksymoops sources are available here if you need them: http://www.kernel.org/pub/linux/utils/kernel/ksymoops/ Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Viewing virtual memory locations from the command line ??
On Mon, 2009-09-14 at 14:32 -0400, William Case wrote: Hi; I can use gnome-system-monitor with the Ctrl-M key to view memory addresses for various processes. It will show me a pop-up window with | VM Start | VM End | VM Size | Flags | VM Offset | etc. What would be the command line equivalent ? cat /proc/pid/maps E.g.: http://pastebin.com/m3f70e9bb The columns are vmstart-vmend, perms, offset, device major:minor, inode number and path (if one exists). See the man proc for more information or the file filesystems/proc.txt in the kernel documentation directory. Kernels since 2.6.14 also include an option for a smaps file which gives additional information on the RSS and status of pages for each mapped segment. Besides user process addresses, I would like to see kernel processes addresses on stdout. My understanding is that Virtual Memory for the kernel map to the same addresses as their physical addresses, so either view would do. Also, my understanding is that Virtual Memory creates a buffer in physical memory where it keeps the VM structure; similarly for a DMA buffer. I would like to view them as well -- at least once. Not sure what you're looking for here - the maps and smaps files only make sense for user space processes since kernel threads do not have their own address space (the mm field in the relevant task struct is NULL). All code running in kernel mode uses the same more-or-less flat address space (although there's a fixed offset between most kernel virtual addresses and the corresponding physical address - see the PAGE_OFFSET constant). There is a limited window of addresses used for dynamic kernel mappings (vmalloc) but the majority of the kernel's address space is statically mapped and does not change over time. There are system-wide files in /proc like meminfo, slabinfo, buddyinfo, pagetypeinfo, vmallocinfo, vmstat and zoneinfo that provide information on the state of various memory related subsystems in the kernel - see the proc documentation for more details. You can also use tools like crash[1] or systemtap[2] to look at the behavior of a running system and examine the values of kernel data structures as they change. To avoid anyone spending a lot of time on long explanations, I just need someone to point me in the right direction re: commands. If I have stated some mis-assumptions here, don't worry about it. I have several kernel and architecture texts and I am just starting my closer look. Have a look at the notes on linux-mm.org, e.g.: http://linux-mm.org/VirtualMemory There's also a very good introduction to all this in the early chapters of Understanding the Linux Kernel by Bovet and Cesati: http://oreilly.com/catalog/978059628/ [1] http://people.redhat.com/anderson/ [2] http://sourceware.org/systemtap/ Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: yum: the package manager I love to hate
On Tue, 2009-09-08 at 12:50 -0400, Jake Peavy wrote: haha ok, I guess I feel like it's MORE accurate to say yum is a package manager because it manages the RPM packages, but I digress. You make a reasonable argument... Semantics was never my strong suit, thus engineering over law :p Well, I don't really work on packagey stuff so I am definitely not the language lawyer for this. At one point apt vs. RPM was a favourite LUG flamewar topic and I guess I am still a little over-sensitive! :) Sorry, I wasn't clear enough originally. No problem, and nothing was probably a bit strong - you did have an install command in there after all. Reading between the lines never was my strong point. And I guess I assumed that yum had the wildcarded behavior built in (seems to me that it should anyway). Regardless, thanks for the assistance. I'll remember this next time I go head to head with yum. Glad it helped! Cheers, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: yum: the package manager I love to hate
On Tue, 2009-09-08 at 11:56 -0400, Jake Peavy wrote: I'd like to buy a vowel. Yum is not a package manager. Can someone tell me what package xxd is in? I use this: qwhich () { if [ $1 == ]; then echo usage: qwhich cmd ; fi ; rpm -qf `which $1` ;} $ qwhich xxd vim-common-7.2.148-1.fc11.x86_64 Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: yum: the package manager I love to hate
On Tue, 2009-09-08 at 12:13 -0400, Jake Peavy wrote: On Tue, Sep 8, 2009 at 12:13 PM, Bryn M. Reeves b...@redhat.com wrote: On Tue, 2009-09-08 at 11:56 -0400, Jake Peavy wrote: I'd like to buy a vowel. Yum is not a package manager. Huh? The Yellowdog Updater, Modified (YUM) is an open-source command-line package- management utility for RPM-compatible Linux operating systems Yeah, I read that about a second after hitting send ;) What I'm getting at is that yum provides a tool for solving dependencies, downloading packages and managing repositories of software but it does this as a layer above the package manager (rpm). A few years ago it was common to hear statements like apt is a much better package manager than RPM which is kinda an apples-to-oranges comparison. Folks I knew at the time distinguished between the bits by calling the lower level (deb/rpm) the package manager and the other bits the dependency solver or whatever but obviously my use is outdated or niche - fixed that now ;) Can someone tell me what package xxd is in? I use this: qwhich () { if [ $1 == ]; then echo usage: qwhich cmd ; fi ; rpm -qf `which $1` ;} $ qwhich xxd vim-common-7.2.148-1.fc11.x86_64 Again, I don't see that this is a useful technique. If I had it installed (such that it appeared in rpm -q or which) I wouldn't need to install it. Nothing in your original mail suggested that you were trying to find out what package contains something that is not installed. The above is actually pretty useful and I use it regularly to find what package installed some binary in $PATH. That might not be useful to you in this instance but it does answer the question Can someone tell me what package xxd is in?. If you want to answer that question for something not already installed and have a relatively recent yum then you can use a wildcard as the argument to whatprovides: $ sudo rpm -e vim-common vim-enhanced $ yum whatprovides */xxd Loaded plugins: refresh-packagekit updates/filelists_db | 7.0 MB 00:04 2:vim-common-7.2.148-1.fc11.x86_64 : The common files needed by any version of the VIM editor Repo: fedora Matched from: Filename: /usr/bin/xxd If you're only interested in executables installed in a bin/ directory then use a pattern like *bin/xxd. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: list files but not directory
On Fri, 2009-08-21 at 17:09 +0400, Hiisi wrote: Hi any way to list files but not directory Thank you ls -hl | grep ^- Lists things that aren't regular files. Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: list files but not directory
On Fri, 2009-08-21 at 05:17 -0700, ann kok wrote: ls -1 but I only want the file to list not directory ls -l | grep -v '^d' But that will also show you symlinks, fifos, device nodes etc. Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: comand-line driven image editor
On Tue, 2009-08-18 at 17:21 +0400, Hiisi wrote: Dear Fedora Folks! I want to write a script that would browse the WEB (Internet shops) and using wget will download goods description and pictures. I will parse resulted htmls then and represent data into another form (SQL INSERT command). I can imagine how to do all that but pictures are the most complicated part of the job. I need to change their dimensions and some other characteristics, like contrast and brightness. Is there a command that will do the task? Respectfully -- Hiisi. Registered Linux User #487982. Be counted at: http://counter.li.org/ ImageMagick is simple and easy to use from the command line. The gimp also has powerful scripting modes if you need to do more fancy stuff. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to share a desktop? (for tutoring)
On Mon, 2009-07-06 at 11:56 -0500, Mikkel L. Ellertson wrote: Arthur Pemberton wrote: I have a need to share a minimal desktop, VNC is out of the question as it's extremely heavy. But I haven't been able to find anything on desktop sharing with FreeNX, and there doesn't seem to be any RDP servers for Linux. Anyone have any suggestions? I believe the RDP server is already installed. At least it is on my F10 system. To activate it, in Gnome, you go to System -- Preferences -- Internet and Network -- Remote Desktop. That's the integrated vino vnc server isn't it? There is an open source RDP server for X: http://xrdp.sourceforge.net/ Some info from folk who've used it here: http://www.css-networks.com/tag/x11rdp http://www.whenpenguinsattack.com/2006/04/19/rdp-server-for-linux/ Afaik this isn't packaged in Fedora. There are also RDP clients for Linux. I believe there is a Wiki page on this - at least I remember reading about it somewhere. The rdesktop package has been included in Fedora for a while. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: KSplice in Fedora?
On Mon, 2009-06-29 at 17:21 -0500, King InuYasha wrote: I was reading an article today in ComputerWorld about something called KSplice, which allows Linux users to install critical updates and patch in without rebooting the computer. I tried it and while it was a bit odd for installing (not auto-disabling the Ubuntu update system), it worked very well. I think something like this would be great for Fedora as well, possibly something for Fedora 12. Would it be possible to implement this or something similar for Fedora? The ksplice tools have been included in Fedora since around f8. This gives you the bits you need to create and apply ksplice updates to a running system. The difference with what Ksplice inc. are now offering for Ubuntu is that they also provide a stream of pre-prepared updates for the released Ubuntu kernels (the Uptrack service). Regards, Bryn. -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list
Re: KSplice in Fedora?
On Mon, 2009-06-29 at 23:22 -0500, King InuYasha wrote: Also, while KSplice is currently being used for kernel updates, it isn't limited to those. It could be adapted to work for other updates that normally force a reboot. Though, I can't think of any off the top of my head, it has been over a week since I ran the updater... -- Please: no. If parts of userspace cannot re-initialise themselves without a reboot then they should just be fixed. Even init has been able to do this for years now - resorting to exotic live-patching methods for updating userspace is just a workaround for badly written software. Bryn. -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list
Re: KSplice in Fedora?
On Mon, 2009-06-29 at 19:38 -0500, King InuYasha wrote: Then Linux shouldn't be compiled using kmods and instead as a monolithic binary, since kernel modules fall under the patent. Besides, there are tons of prior art on it. KSplice is a good technology that could possibly be integrated in. fedora-ksplice is only build scripts for the kernel it looks like. ksplice is there as a package, but what about the GNOME frontend? The screenshot for The frontend is Ksplice Inc's Uptrack service, not ksplice. The installable bits of Uptrack seem to be GPLv2 (only the artwork has an exception which is fair enough). I couldn't find any of the backend bits available for download though and as others have pointed out in this thread there's still the problem of making ksplice fit in with Fedora's approach to kernel updates (to be honest, I think it'd be a lot easier to run a service like this for RHEL or CentOS particularly if you're only interested in selected security errata). Regards, Bryn. -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list
Re: KSplice in Fedora?
On Tue, 2009-06-30 at 17:34 +0200, Kevin Kofler wrote: Bryn M. Reeves wrote: The difference with what Ksplice inc. are now offering for Ubuntu is that they also provide a stream of pre-prepared updates for the released Ubuntu kernels (the Uptrack service). And as I explained, this can't be done for the released Fedora kernels (because they get big changes which ksplice cannot handle), unless you Which is more or less what I was getting at in the following message: The frontend is Ksplice Inc's Uptrack service, not ksplice. The installable bits of Uptrack seem to be GPLv2 (only the artwork has an exception which is fair enough). I couldn't find any of the backend bits available for download though and as others have pointed out in this thread there's still the problem of making ksplice fit in with Fedora's approach to kernel updates (to be honest, I think it'd be a lot easier to run a service like this for RHEL or CentOS particularly if you're only interested in selected security errata). On Tue, 2009-06-30 at 17:34 +0200, Kevin Kofler wrote: start from the GA kernel and only backport security fixes, which makes the kernel you provide become completely different from the current Fedora kernel over time. Not necessarily GA but yes, it's a lot of additional work and a struggle to fit this to the normal approach to kernel updates in Fedora. To be honest, I'm glad to have the ksplice tools in the distribution as it makes it easy to play with them if you're interested in the technology but I do think that the applicability of this tool to a distribution like Fedora is probably a lot less than it would be for e.g. one of the enterprise distributions for the simple fact that end users who are particularly intolerant to reboots are likely already looking for a platform with a longer release and support cycle and stronger (i.e. commercial) support guarantees. Fedora users who just want quicker reboots can always make use of kexec. Along with the boot time improvements in recent releases that should make installing and booting a new kernel pretty quick (apart from the inconvenience of shutting down applications). Regards, Bryn. -- fedora-devel-list mailing list fedora-devel-list@redhat.com https://www.redhat.com/mailman/listinfo/fedora-devel-list
Re: How to scroll to end of command line history
On Tue, 2009-05-19 at 19:24 +0200, Andras Simon wrote: On 5/19/09, Bryn M. Reeves b...@redhat.com wrote: Page down works for me if I'm understanding what you want correctly (it takes me down to a blank command line s.t. hitting up arrow again will take me to the last line of history). I think that page down should only if you're less than a page back in history. That's not the case - by default on Fedora the Page Down key is bound to the Readline end-of-history command (same as M-). You can confirm this with the readline dump-functions command: end-of-history can be found on \e, \e[6~ This is set in the default /etc/inputrc provided by the Fedora setup RPM (\e[6~ is Page Down, \e[5~ is Page Up). What is a page back in history anyway? My current terminal height? Doesn't seem very useful.. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: If you wondered why Intel sucks on Fedora read this
On Sat, 2009-05-16 at 21:07 -0700, john wendel wrote: Intel finally realized that pipeline flushing was the main thing the processor was doing. The new (I7) architecture has fixed this problem, with very impressive results. I think you're confusing this with the original Core architecture which more than halved the number of pipeline stages relative to the later models in the Netburst family (up to 31 stages for a late-model Pentium-D, down to just 14 in Core/Core2/Nehalem). The major change with Nehalem is the on-die memory controller and switch from FSB to NUMA multiprocessor organisation using the QuickPath Interconnect (QPI). Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: fdisk issues - external drive.
On Mon, 2009-05-11 at 17:09 -0600, Kevin Kempter wrote: I have a new Lacie 1TB external drive. When I plug it in via USB or eSATA cable it's instantly recognized by Fedora. However I want the drive to contain an ext3 filesystem. So I do this: 1) # fsisk device You ran fdisk on /dev/sdc1 - that's a partition, not the whole disk device. Try running it on /dev/sdc instead. Disk /dev/sdc1: 10 MB, 10484736 bytes This shows fdisk is operating on the partition sdc1, not the whole disk (sdc). You want to see something like this instead: # fdisk /dev/sdc Command (m for help): p Disk /dev/sdc: 65 MB, 65517568 bytes 3 heads, 42 sectors/track, 1015 cylinders Units = cylinders of 126 * 512 = 64512 bytes Device Boot Start End Blocks Id System /dev/sdc1 11015 63924 83 Linux Device Boot Start End Blocks Id System /dev/sdc1p1 1 1 8001 83 Linux Again, you're getting this funny sdc1p1 naming style because you are creating a nested partition table (partitioning a partition) rather than partitioning the whole disk device. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: fdisk issues - external drive.
On Tue, 2009-05-12 at 11:16 +1200, Clint Dilks wrote: I think FDisk is known to have issues with a single partition of this size. Try using parted to partition the disk instead. That's not true - it's a limitation of the MSDOS partition table format, not fdisk. The MBR partition table format cannot support devices or partitions 2TiB in size due to the representation used for partition offsets but since this disk is only 1TiB in size there isn't a problem here. For devices that do exceed the 2TiB limit you should use the GPT disk label which is supported by parted. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to find which disk a LUN is mapped to
On Thu, 2009-04-30 at 10:16 +0100, Bryn M. Reeves wrote: On Thu, 2009-04-30 at 13:25 +1200, Paul Ward wrote: Hi all, I need to find out which disk LUN6 points to on my RH3 box. Hmm. I just noticed that version. If you mean RHEL3 rather than Fedora Core 3 then you're unfortunately out of luck. The 2.4 kernel in RHEL3 doesn't have sysfs. You can still match this up but you might find it easier to just look in dmesg - when the SCSI devices are registered (at boot or when they are added to the system) you should see the device name as well as the bus address logged. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to find which disk a LUN is mapped to
On Thu, 2009-04-30 at 11:21 +0100, Bryn M. Reeves wrote: On Thu, 2009-04-30 at 10:16 +0100, Bryn M. Reeves wrote: On Thu, 2009-04-30 at 13:25 +1200, Paul Ward wrote: Hi all, I need to find out which disk LUN6 points to on my RH3 box. Hmm. I just noticed that version. If you mean RHEL3 rather than Fedora Core 3 then you're unfortunately out of luck. The 2.4 kernel in RHEL3 doesn't have sysfs. You can still match this up but you might find it easier to just look in dmesg - when the SCSI devices are registered (at boot or when they are added to the system) you should see the device name as well as the bus address logged. You can also install the sg3_utils package (should be available on RHEL3 iirc) which can query the mappings and print them in a pretty format. E.g.: # sg_map -x /dev/sg0 0 0 0 0 0 /dev/sda /dev/sg1 0 0 1 0 0 /dev/sdb /dev/sg2 3 0 0 0 0 /dev/sdc /dev/sg3 3 0 0 1 0 /dev/sdd [...] # sginfo -l /dev/scd0 /dev/sda /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg /dev/sdh /dev/sdi /dev/sdj /dev/sdk /dev/sdl /dev/sdm /dev/sdn /dev/sdo /dev/sdp /dev/sdq /dev/sdr /dev/sds /dev/sdt /dev/sdu /dev/sdv /dev/sdw /dev/sdx /dev/sdy /dev/sdz /dev/sdaa /dev/sdab /dev/sdac /dev/sdad /dev/sdae /dev/sdaf /dev/sdag /dev/sdah /dev/sdai /dev/sdak /dev/sdal /dev/sdam /dev/sdan /dev/sdao /dev/sdap /dev/sdaq /dev/sdar /dev/sdas /dev/sdat /dev/sdau /dev/sdaj /dev/sg0 [=/dev/sda scsi0 ch=0 id=0 lun=0] /dev/sg1 [=/dev/sdb scsi0 ch=0 id=1 lun=0] /dev/sg2 [=/dev/sdc scsi3 ch=0 id=0 lun=0] /dev/sg3 [=/dev/sdd scsi3 ch=0 id=0 lun=1] [...] The sg_map command needs the sg module loaded to work. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to find which disk a LUN is mapped to
On Thu, 2009-04-30 at 13:25 +1200, Paul Ward wrote: Hi all, I need to find out which disk LUN6 points to on my RH3 box. I have looked at /proc/scsi/scsi This gives me LUNS from 00 to 05 Does this mean 05 is infact LUN06? These days it's easiest to find this information from sysfs. Under /sys/bus/scsi/devices you'll find sub-directories that list all SCSI devices by their bus address (in host:bus:target:lun format). E.g. if I want to find out what device 3:0:0:1 on my system is I can look at: # ls /sys/bus/scsi/devices/3\:0\:0\:1/ block:sdd delete dh_state genericiodone_cnt iorequest_cnt powerqueue_type rev scsi_disk:3:0:0:1 scsi_level subsystem typevendor busdevice_blocked driveriocounterbits ioerr_cnt model queue_depth rescan scsi_device:3:0:0:1 scsi_generic:sg3 state timeoutuevent The first entry is a symlink that points back to the corresponding block device, in this case /dev/sdd: # ls -l /sys/bus/scsi/devices/3\:0\:0\:1/block\:sdd lrwxrwxrwx 1 root root 0 Apr 30 10:06 /sys/bus/scsi/devices/3:0:0:1/block:sdd - ../../../../../../../../../block/sdd All the symlinks can make navigating sysfs a bit daunting at first but there's a wealth of useful information and knobs to tweak in there. Tools like systool and udevinfo can also help to make it a bit easier to digest. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: size from df -kh vs size from fdisk -l
On Wed, 2009-04-22 at 11:08 +0930, Tim wrote: On Tue, 2009-04-21 at 09:13 -0700, Aldo Foot wrote: After using fdisk or parted, one must do partprobe at the CLI to record the changes. Both the OS and the Kernel need to know the changes. I don't recall having to do that. The last time I repartitioned a drive, there was an automatic syncing the system stage when I exited the partitioning program. The need to use partprobe depends on whether any partitions on the device were in use (mounted or opened exclusively) when you ran the partitioning tool. The fdisk program uses an ioctl that tells the kernel to refresh the whole table for that device (BLKRRPART). This fails entirely if any partitions are busy. Partprobe uses a different ioctl (BLKPG) that allows it to add and remove individual partitions as long as they aren't busy. This means it can still add or change partitions on a device that has busy partitions (as long as there are no overlaps or other conflicts). Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Chown ???
On Wed, 2009-04-08 at 14:33 +, g wrote: Dave Ihnat wrote: I don't know where anyone got this lame substitute user stuff, but it's not authentic. then run 'man su' in a linux os and you will find out. Since we're discussing the origins of the species in this thread a historical copy might be of more relevance. Here's the complete page that Alan quoted from: http://minnie.tuhs.org/UnixTree/V7/usr/man/man1/su.1.html Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: RPM security (a newbie question)
On Thu, 2009-04-02 at 15:22 +0200, Stanisław T. Findeisen wrote: Todd Zullinger wrote: And, of course, on top of compiler options and firewalls, SELinux is one more layer that is added to protect against problems in upstream code. If upstream code has some hole that tries to mail off /etc/passwd somewhere, this is very likely to be denied by SELinux. And when someone reports the denial, Dan, Miroslav, and the other SELinux maintainers aren't too likely to allow it without asking what good reason the upstream code would have to take such an action. SELinux will not help you more if it gets overwritten/rootkited by malicious RPM package (for instance during the install process). You execute rpm install as root, don't you. Actually depending on the policy that is configured SELinux could help here. The root account is not special to SELinux and can be confined just like any other user. I am not aware of any specific work looking at preventing malicious packages from harming the system (since most of the work here is aimed at securing the package delivery and ensuring that packages from untrusted sources are not installed inadvertently) but there are others on this list who can probably provide more insight into how well this could be made work. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: RPM security (a newbie question)
On Thu, 2009-04-02 at 10:12 -0500, Mikkel L. Ellertson wrote: Then again, if you want to be safe, you should only use code you have written/inspected yourself, compiled on a compiler that you have written yourself. After all, it was proven that you could imbed code in the compiler that would be added to any program that you compiled with it, and would not show up in the compiler source code. (The compiler would add the code automatically when compiling itself.) Here's a link to Ken Thompson's Reflections on trusting trust which discusses these ideas: http://cm.bell-labs.com/who/ken/trust.html It's a short essay/talk and well worth the read. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: MPEG-1 read support
On Tue, 2009-03-17 at 14:48 +0100, Kevin Kofler wrote: Alan Cox wrote: Please remember Wackipedia is often simply the collected urban legends, misunderstandings and general cluelessness of its contributors. What Wackipedia has to say and what the actual situation (reviewed by people competent to give legal opinions) is are often quite different. Well, the Wikipedia article gives references claiming the last relevant patent expired in 2003. So the OP's question sounds legitimate to me, and this is probably worth a review by RH Legal. The problem is a bit deeper than that I believe. Even though some parts of the standards are no longer covered by outstanding patents I'm not aware of implementations that neatly separate things out so that you can easily pick the patent-encumbered from the non-patent-encumbered. For e.g., I'm not aware of a widely used MPEG audio implementation that implements only layers 1 and 2 (patents expired) but not layer 3 (patents outstanding) (yes, I know about tooLAME but it is nothing like as widely used as equivalents that include layer 3 support). Given the amount of work it could take to re-organise everything around this and the relatively limited amount of media most users will encounter that is encoded in straight mpeg1-video with mpeg1 layer-1/2 audio I'm not sure the effort is justified. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Shell confusion
On Fri, 2009-03-13 at 15:09 +, Dave Bolt IT Solutions wrote: Thanks for the explanation of the use of - in the su command. I checked the man pages for su, (why did you put su(1)), and found the Because the man pages have traditionally been organised into several sections. The number in parentheses indicates the section of the manual that the page is in (this is important since for e.g. there are library calls that have the same name as commands, e.g. /usr/bin/printf is documented in printf(1) but the printf call in the stdio library is documented in printf(3)). The conventional man sections are: 1 User Commands 2 System Calls 3 C Library Functions 4 Devices and Special Files 5 File Formats and Conventions 6 Games et. Al. 7 Miscellanea 8 System Administration tools and Deamons See man man for more information. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Shell confusion
On Fri, 2009-03-13 at 15:41 +, Bryn M. Reeves wrote: On Fri, 2009-03-13 at 15:09 +, Dave Bolt IT Solutions wrote: Thanks for the explanation of the use of - in the su command. I checked the man pages for su, (why did you put su(1)), and found the Because the man pages have traditionally been organised into several sections. The number in parentheses indicates the section of the manual that the page is in (this is important since for e.g. there are library calls that have the same name as commands, e.g. /usr/bin/printf is documented in printf(1) but the printf call in the stdio library is documented in printf(3)). The conventional man sections are: 1 User Commands 2 System Calls 3 C Library Functions 4 Devices and Special Files 5 File Formats and Conventions 6 Games et. Al. 7 Miscellanea 8 System Administration tools and Deamons See man man for more information. Doh. Forgot to mention that to select a section you just put the number as the first argument to man. E.g: $ man 1 printf - /usr/bin/printf's man page $ man 3 printf - printf() call in stdio.h's man page Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Disk Errors during boot and run time.
On Fri, 2009-03-06 at 12:22 +1300, Paul Ward wrote: # ls /boot ls: reading directory /boot: Input/output error What's in dmesg at this time? I have been told that the disks use multipath but I have no experience of this to date. I know the disks are on a SAN but as yet have not been able to locate them using the IBM SAN manager. Linux version 2.6.18-53.1.21.el5PAE So, RHEL5.1? (brewbuil...@ls20-bc2-13.build.redhat.com) (gcc version 4.1.2 20070626 (Red Hat 4.1.2-14)) #1 SMP Wed May 7 08:56:33 EDT 2008 Vendor: IBM Model: 1814 FAStT Rev: 0916 Type: Direct-Access ANSI SCSI revision: 05 So it's an IBM FAStT SAN? These are active/passive storage arrays that require use of a multipath hardware handler to properly manage switching between the active and passive paths and preventing I/O being sent to a controller that cannot handler it. The I/O errors that you see are a result of things trying to access the passive paths (e.g. partition scanning, lvm label scanning, udev/hal probes etc.). RHEL5.1 included the old device-mapper hardware handlers. These will only take effect once multipath has configured the devices and only handle path switching in the event of a path failure (i.e. you'll still see I/O errors if something tries to access one of the underlying paths directly rather than via the multipath device map). RHEL5.3 introduces the scsi device handler framework as a replacement for the device-mapper hardware handlers (this appeared upstream in 2.6.26). Whether you decide to update or not it's probably worth carefully checking the current multipath configuration on the system as this is a very common area for configuration mistakes. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Boot display -
Bob Goodwin wrote: Another question I know has been answered before but I haven't found it. How do I restore the normal boot text display using inittab set to 3? All I see now is a blue progress bar. Remove rhgb from all kernel lines in /boot/grub/grub.conf. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Morph software
Paul-Erik Törrönen wrote: I Appreciate the offer, and you probably should publish for people looking for a Better late than never: http://poltsi.fi/Software/morphing_with_imagemagick.html As pointed out earlier in the thread, this isn't actually morphing in the sense the original poster was looking for. ImageMagick's morph switch just does superposition and interpolation of images (cross-dissolve) - it doesn't attempt to warp the source and target images to bring image features into alignment before interpolating, so it is only useful for simple images that already have close alignment. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: User unlock too frequent -
Bob Goodwin wrote: I'm trying to configure F-10 on a new computer, an effort that takes considerable time. I collect information on this computer and then when I turn back to the new computer it's sleeping and requires me to jog the mouse and enter a long password again. I don't mind doing that but over the course of a day I am repeating that pointless action a hundred times! There must be a way to extend the idle interval before this is happens? System - preferences - look and feel - screensaver -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Old updates
David Nečas wrote: Hi, are old updates kept somewhere? I want to track down the precise update that broke something but the repos contain only recent versions of the packages. If the previous updates are not available, what's the recommended method in such case? (Preferably some that does not involve repackaging the universe on my machine.) Thanks, http://koji.fedoraproject.org/ Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: fc, fc, fc, fc?
Michael Cronenworth wrote: Why does Fedora Core still live on? kernel-2.6.27.12-170.2.5.fc10 Terminal-0.2.8.3-1.fc10 git-1.6.0.6-1.fc10 I'm dying here. Someone please help me. Iirc, the 'c' in the package tags was retained because dropping it would cause sorting issues for package NVREs. I believe it has been bacronymed as fedora collection. ;) Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: fc, fc, fc, fc?
Craig White wrote: On Fri, 2009-02-13 at 15:20 +, Bryn M. Reeves wrote: Michael Cronenworth wrote: Why does Fedora Core still live on? kernel-2.6.27.12-170.2.5.fc10 Terminal-0.2.8.3-1.fc10 git-1.6.0.6-1.fc10 I'm dying here. Someone please help me. Iirc, the 'c' in the package tags was retained because dropping it would cause sorting issues for package NVREs. I believe it has been bacronymed as fedora collection. ;) Well, I learned a new word today (Bryn's misspell easily forgiven)... I prefer that spelling - according to google, it's the dominant variation - there's 28,000,000 hits for that spelling to 39,000 with the 'k' :) I shall persist in this mis-spelling :) Cheers, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Please help! Lost my LVM VG...
Andrew Junev wrote: I'm prompted to enter a root password to get to system maintenance, or Ctrl+D to continue. In the system maintenance I can see there's /dev/VolGroup00 but there's no /dev/VolTerabytes00, so my newly-created VG seem to be missing! Running the command: vgchange -ay VolTerabytes00 Should activate the VG, assuming that all PVs are present (and any needed modules have been loaded). I tried running lvm and it says Locking type 1 initialisation failed no matter what command I enter... Check that the file system providing /var has been mounted and is writable. Assuming it's part of / you probably just need to run: mount -n -oremount,rw / Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Please help! Lost my LVM VG...
Andrew Junev wrote: Thursday, February 12, 2009, 9:42:38 PM, you wrote: Running the command: vgchange -ay VolTerabytes00 Should activate the VG, assuming that all PVs are present (and any needed modules have been loaded). I tried running lvm and it says Locking type 1 initialisation failed no matter what command I enter... Check that the file system providing /var has been mounted and is writable. Assuming it's part of / you probably just need to run: mount -n -oremount,rw / Ah, that worked! Thank you! What shall I do to automatically activate this VG during boot? You need to understand why it wasn't being activated automatically. Boot logs (dmesg and/or /var/log/messages) would help here. Normally, devices are scanned for LVM metadata when rc.sysinit runs. There were some bugs in older releases (f8 is no longer supported/maintained) where udev would not wait long enough for some devices to appear, causing these scans to miss the VG. That sounds plausible here since the vgchange -ay worked after the system had booted but there's not really enough information to say for sure. Try adding a sleep 5 or udevsettle --timeout=30 command to rc.sysinit above each of the LVM activation commands. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Please help! Lost my LVM VG...
Mikkel L. Ellertson wrote: Andrew Junev wrote: Thursday, February 12, 2009, 9:42:38 PM, you wrote: Running the command: vgchange -ay VolTerabytes00 Should activate the VG, assuming that all PVs are present (and any needed modules have been loaded). I tried running lvm and it says Locking type 1 initialisation failed no matter what command I enter... Check that the file system providing /var has been mounted and is writable. Assuming it's part of / you probably just need to run: mount -n -oremount,rw / Ah, that worked! Thank you! What shall I do to automatically activate this VG during boot? If I understand the VG commands correctly, you just did. I think the OP wants his VG to activate without the need for him to give the root password at each boot and mess around running commands by hand :) Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Please help! Lost my LVM VG...
Andrew Junev wrote: /var/log/messages doesn't contain any information about that problem. The error happened too early during boot - so that the data didn't get into the log files (disks were mounted in read-only mode). You can work around this by commenting out the file systems on the problem VG from the fstab and allowing the system to boot normally. You should find bootup messages in /var/log/boot.log (or dmesg) and /var/log/messages. Anyway, the problem does not appear anymore. I just restarted the system several times (including complete power-down / power-up cycle), to be sure. Cool - at least you'll be prepared if it ever happens again :-) I don't know what the reason was, but it seem to be fixed now! Thank you very-very-very much for your help!!! Np! Glad it's working! Cheers, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Please help! Lost my LVM VG...
Mikkel L. Ellertson wrote: Bryn M. Reeves wrote: Mikkel L. Ellertson wrote: Andrew Junev wrote: What shall I do to automatically activate this VG during boot? If I understand the VG commands correctly, you just did. I think the OP wants his VG to activate without the need for him to give the root password at each boot and mess around running commands by hand :) Bryn. I thought that running vgchange -ay VolTerabytes00 would have modified /etc/lvm/cache/.cache so that the VG would stay active. (I The cache is revalidated each time the tools run. If VGs are only being activated at boot when listed in that file, it's a bug. think I have the correct file.) This one reason the / file system had to be remounted rw. No. Type 1 locking (local file based locks stored in /var) failed to initialise because the directory /var/lock/lvm was not writable. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Please help! Lost my LVM VG...
Mikkel L. Ellertson wrote: Strange - /var/lock/lvm is empty, and its date does not correspond It's always empty unless an LVM tool is running (or you've disabled locking or are using some non-local locking mode for all your VGs). Try running e.g. vgchange in a debugger. Set a breakpoint on vgchange_single and go look in that directory when the process breaks on that symbol. E.g: (gdb) break vgchange_single Breakpoint 1 at 0x4228b0: file vgchange.c, line 512. (gdb) r -ay tvg0 Starting program: /sbin/vgchange -ay tvg0 [Thread debugging using libthread_db enabled] File descriptor 3 left open File descriptor 4 left open File descriptor 5 left open [New Thread 0x7fc245280780 (LWP 2581)] Breakpoint 1, vgchange_single (cmd=0x2646500, vg_name=0x265f3e0 tvg0, vg=0x265fda0, consistent=1, handle=0x0) at vgchange.c:512 512 { Missing separate debuginfos, use: debuginfo-install glibc.x86_64 libselinux.x86_64 libsepol.x86_64 ncurses.x86_64 readline.x86_64 (gdb) [1]+ Stopped gdb /sbin/vgchange # ls /var/lock/lvm/ V_tvg0 # ll -i /var/lock/lvm/V_tvg0 88047 -rwx-- 1 root root 0 2009-02-12 20:49 /var/lock/lvm/V_tvg0 # grep 88047 /proc/locks 1: FLOCK ADVISORY READ 2581 fd:01:88047 0 EOF You're can also confirm this by inspecting the code in lib/locking/file_locking.c in the LVM2 sources. to the last boot time. The date on the directory, as well as /etc/lvm/cache/.cache match up to when LVM was last updated. The cache file is a list of LVM capable devices that pass the filters defined in lvm.conf: nothing more. It's simply an optimisation to avoid needless scanning of entries in /dev. Just take a look at the file: /etc/lvm/cache/.cache # This file is automatically maintained by lvm. persistent_filter_cache { valid_devices=[ /dev/dm-6, /dev/ram11 ... ] } Nothing stored in here about activation. See also the comments in lvm.conf: # The results of the filtering are cached on disk to avoid # rescanning dud devices (which can take a very long time). # By default this cache is stored in the /etc/lvm/cache directory # in a file called '.cache'. # It is safe to delete the contents: the tools regenerate it. # (The old setting 'cache' is still respected if neither of # these new ones is present.) cache_dir = /etc/lvm/cache cache_file_prefix = It's *always* safe to delete the file since it can always be regenerated by the tools - this would not be true if it stored activation flags for VGs (you'd fail to activate them on a reboot). On the other hand, I may be wrong about a file being updated. It looks like there may be a bit set on the LV itself. (I am going to No. There's nothing in the LVM metadata for controlling this (unless you're thinking of the exported flag which doesn't come into play here since it must be set/cleared by the administrator) - take a look at the metadata files in /etc/lvm/{archive,backup}. have to refresh my memory.) After further reading, the OP could have run the command without remounting / rw. He could have run: vgchange -ay --ignorelockingfailure VolTerabytes00 Why bother when you can remount the fs and have working locking? The --ignorelockingfailure flag is only intended to allow activation of VGs during boot time, e.g. in a clustered environment when the daemons required to support the cluster infrastructure are not yet running. See the recent discussion of the proposed new implementation of this option on lvm-devel and the discussion around whether the configuration file equivalent should be renamed as boottime_locking. In any case, it would be interesting to have the OP reboot, and see if the VG is active on reboot. Read the thread :) The OP has now rebooted several times and the VG has been correctly activated each time. I am guessing that there was a timing issue and the underlying PVs were not present at the time the vgchange commands in rc.sysinit ran but without logs it's just speculation. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Morph software
Bill Davidsen wrote: I found that xmrm.com is still there, but the link to the source isn't. If I could get the source, once I get a way to generate the individual images I can easily use ffmpeg to create a stream from the images, I do that for some various fun projects I have, and in fact that's kind of better from my point of view. I found some sources patched for Mandrake 8 here: http://www.linuxfocus.org/common/src/article139/ Homburg pointed me to the download on Tucows although I could only find pre-built binaries there. They're statically linked however and do at least start up on a recent distro (f10) but I didn't have time to play and find out what breaks yet. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Morph software
Todd Denniston wrote: On Fri, 2009-02-06 at 16:02 -0500, Bill Davidsen wrote: I'm looking for some morphing software, to take two images, and generate some intermediate images to show the effect of a smooth transition from one to the other. with gimp load image 1 on image 1's window select File-Open as Layer- pick image 2 Open the Layers dialog insert a Layer that is background color (call it Clean). duplicate image 1's layer (Background). Sort the layers such that you see image 2 Background copy Clean Background Delete Background. on image 1's window select Script-Fu - Animators - Blend set number of frames, blur and if you want it looped (no loop I think.). hit OK. This still isn't what the OP is looking for afaict. Bill is asking about feature based image warping and metamorphosis - tools that either automatically identifies common features between two images or provides a means to manually specify feature alignment and that then non-linearly project the source and destination images according to some interpolation of these two feature sets, allowing a smooth transition from source to destination. The convert command -morph option performs simple superposition and interpolation of pixel size and value rather than feature based warping and interpolation. It's the effect used in Michael Jackson's Black or White music video. There are numerous algorithms that implement this type of morphing, from the very simple (e.g. Bayer-Neely field warping[1]) to the fiendishly complicated (spline surface energy minimisation[2]). A lot of the simpler morphing packages you'll find (there seem to be a tonne of shareware tools for Windows) implement an approach called mesh warping where a spline grid is overlaid on the source and target images and the operator adjusts the grid to identify the relationship between features in the two images. This method has the advantage of being fairly easy to implement while still offering reasonable control of feature placement (it's also the method used in the Jackson video). There's a GPL'ed mesh warping tool available here: http://xmorph.sourceforge.net/ I haven't found an awful lot of other open source morphing tools or libraries, although I'd be very happy to find counter examples to that. When I was looking at this stuff I needed the ability to freely specify feature constraints (so meshes weren't applicable) and had some constraints on the resulting morph functions (C2 continuity 1:1 properties) so I implemented an approach called multilevel free-form deformations or MFFD[3]. It's an interesting algorithm and I'd really like to go back to it one day and turn the work I did then into something more generally useful (as usual, time is the problem there :). Regards, Bryn. [1] T. Beier, S. Neely, Feature-Based Image Metamorphosis, siggraph 1992. http://www.hammerhead.com/thad/morph.html [2] S. Lee, K.-Y. Chwa, J. Hahn, and S.Y. Shin, “Image Morphing Using Deformation Techniques,” J. Visualization and Computer Animation, vol. 7, no. 1, pp. 3-23, 1996 [3] S. Lee, G. Wolberg, K. Chwa, S. Shin, Image metamorphosis with scattered feature constraints, IEEE TVCG96, vol. 2, no. 4, pp. 337-354. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Morph software
homb...@tips-q.com wrote: On Mon, 09 Feb 2009 13:11:24 -0500 Todd Denniston todd.dennis...@ssa.crane.navy.mil wrote: Bill Davidsen wrote, On 02/07/2009 11:13 PM: Paul-Erik Törrönen wrote: On Fri, 2009-02-06 at 16:02 -0500, Bill Davidsen wrote: I'm looking for some morphing software, to take two images, and generate some intermediate images to show the effect of a smooth transition from one to the other. One such program is the convert-command, which is part of the ImageMagick-package. I'd like to get Ann Coulter - Phyllis Shlafly ;-) but I digress. I checked through freshmeat, sourceforge and rpmfind. There are xmorph, morphine and XMRM. These are all 20th century packages and deprecated. Xmorph and morphine will not compile. XMRM (which otherwise looks like the most promising candidate) requires /usr/bin/mpeg which is unavailable. Linking mpeg to other encoders doesn't work. Perhaps something for win. will run in wine or a VM?? Hmm, hadn't come across xmrm before, although the ftp link seems dead at the moment. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: gcc issue
Steve wrote: I went to rpmfind (http://rpmfind.net/linux/RPM/fedora/updates/9/x86_64/dhclient-4.0.0-22.fc9.x86_64.html) to get the dhcp src rpm and downloaded it. It comes from ftp://download.fedora.redhat.com/pub/fedora/linux/updates/9/SRPMS.newkey/dhcp-4.0.0-22.fc9.src.rpm When I ran rpm -qp on the downloaded rpm I get this: $ rpm -qp dhcp-4.0.0-22.fc9.src.rpm dhcp-4.0.0-22.fc9.ppc ppc?!!? Is this the correct rpm? I installed the rpm anyway # rpm -iv dhcp-4.0.0-22.fc9.src.rpm which created, amongst other things /usr/src/redhat/SOURCES/dhcp-4.0.0.tar.gz I unpacked: # gunzip -cd dhcp-4.0.0.tar.gz | tar xvf - which created a /usr/src/redhat/SOURCES/dhcp-4.0.0 directory. I cd'd to the directory and ran # ./configure which ran with no errors # grep -R GNU_SOURCE * # http://docs.fedoraproject.org/drafts/rpm-guide-en/ Specifically: http://docs.fedoraproject.org/drafts/rpm-guide-en/ch08s02.html Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Using ext2 on SSD drive
Robert Moskowitz wrote: I am installing FC10 on an ASUS with an SSD drive right now to see how it behaves. I know that with ext2 you are suppose to clean it up every so often, but I can't find my notes as to the command. What is the command and how is this done while the system is 'in use', or is there some way to do it occationally during boot time? No online fsck available for ext2 but see the man pages for fstab, e2fsck and tune2fs. With tune2fs you can set the maximal mount count / check interval that is applied for file system checks at boot time for all file systems with a non-zero value in the 6th column (fs_passno). Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Need second opinion, is my HD failing?
Gene Heskett wrote: On Wednesday 28 January 2009, Richard Shaw wrote: I've been having some quirky issues lately and decided to take a look at the SMART data for the disk. There seems to be a large count of errors in some of the categories. === START OF READ SMART DATA SECTION === SMART Attributes Data Structure revision number: 10 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x000f 087 086 006Pre-fail Always - 13453278 Maybe. 3 Spin_Up_Time0x0003 095 094 000Pre-fail Always - 0 4 Start_Stop_Count0x0032 100 100 020Old_age Always - 45 5 Reallocated_Sector_Ct 0x0033 100 100 036Pre-fail Always - 955 It has to be about out of spare sectors, I haven't ever seen one that high. This is your wake up call I believe. That's a good result, not bad; those number count downwards.. that's why the threshold is lower than the current or worst value. See the manual page for smartctl for more information on interpreting the output of the tool: Each Attribute also has a Threshold value (whose range is 0 to 255) which is printed under the heading THRESH. If the Nor- malized value is less than or equal to the Threshold value, then the Attribute is said to have failed. If the Attribute is a pre-failure Attribute, then disk failure is imminent. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Need second opinion, is my HD failing?
Paulo Cavalcanti wrote: But in Richard's case, 955 seems odd to me: 5 Reallocated_Sector_Ct 0x0033 100 100 036Pre-failAlways - 955 Probably, you are right, and the value is OK. But I have never seen a counting like this before. I had a defective disk once, which increased 20 or 30 bad sectors a day. Therefore, such a high score would not be a surprise for me (Seagate replaced the disk for me, even it being more than 2 years old). It is quite a high number and many of my drives do have raw values much closer to zero, although I have at least a few with raw values in the 100s that still have 100 as the normalised value and are working fine. The problem with trying to interpret the raw values is that they are completely under the control of the vendor. The only thing S.M.A.R.T. specifies is the size of the field. Some vendors have previously taken a single field and used it to encode multiple values (e.g. breaking it up into several sub-fields). For example, some IBM drives encode three distinct temperature measurements in the raw value for the Temperature_Celsius attribute. Because of this, unless you know the scheme being used for a given vendor/drive model it's impossible to make any accurate assumption from the raw value alone - you just have to trust the firmware to decrement the normalised value appropriately as the drive begins to deteriorate. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: f10: fs errors; journal write error in flush_commit_list
g wrote: greetings, from start of installation of f10, 4 months ago, to present, f10 has been having a problem of staying operational, in that after being up for a short time, it would bomb and have just now found problem. last update update was last night and while at command line, system showed error messages of what is happening. these are not all of messages, but should be enough for finding problem. previously; +++ REISERFS: abort (device sdb8): Journal write error in flush_commit_list REISERFS: Aborting journal for filesystem on sdb8. ext3_abort called. EXT3-fs error (device sdb6): ext3_journal_start_sb: Detected aborted journal Remounting filesystem read-only Was there anything else logged? Reiserfs is reporting a write error while writing to the journal. Was a similar message logged by ext3 prior to the ext3_abort called message? Do you have any SCSI/SATA messages logged? This looks like you may have problems with your storage but these messages aren't sufficient to tell what's going on. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Printers
Mikkel L. Ellertson wrote: Alan Cox wrote: laser print onto vinyl (with backing sheet) including alignment marks Feed resulting sheet into vinyl cutting machine Tell machine to align to marks Cut Peel Apply Custom printed decals of any shape and size you want. That sounds like fun. A bit difficult if you don't have the vinyl cutting machine, but you run into the same problems with an ink jet. If you only need small runs, many signwriters offer custom vinyl decal services. A friend's mother worked at one about 16 years ago in a small town in Wales so they should be fairly widespread now :) Depending on what you need the decals applied to they may also do that step for you - it all depends on whether it will fit into their equipment. This means you needn't worry about aligning them or applying them smoothly which is the really tricky part if you don't have the tools and experience. Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: How to fix fstab on bootup - forgot to comment out a line
Chris Snook wrote: Dan Track wrote: Hi I forgot to comment out a line in /etc/fstab, now when my machine boots up it keeps dropping to a filesystem check and asks for teh root password. My question is how can I get to edit the /etc/fstab file on bootup or via grub? Please help. Thanks Dan 1) at the grub prompt, hit 'a' to append options 2) add 'init=/bin/bash' to the kernel command line Why bother when the distribution initscripts will take care of this and drop you to a nice root shell (which has working job control and everything and won't panic the box if you accidentally hit ctrl-d or something :)? Bryn. 3) mount -o remount,rw / I could have sworn I used to have to add '-n' to suppress /etc/mtab updates, but I haven't tried in a while... -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: RAM question for everyone!
Dan Track wrote: I was recently asked a question about how much RAM should there be within a server given that the APP uses 8GB of Memory, should I buy 10Gig of memory and have a small harddrive and no swap space? Would this configuration allow everything in my OS to run from RAM and not from swap? If this is the case then there's no need to ever create swap, is there?!? You don't mention the platform, but can we assume it's 64-bit (x86_64?) from the fact that the app is using 8G of ram? Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: RAM question for everyone!
Mark Haney wrote: Dan Track wrote: I was recently asked a question about how much RAM should there be within a server given that the APP uses 8GB of Memory, should I buy 10Gig of memory and have a small harddrive and no swap space? Would this configuration allow everything in my OS to run from RAM and not from swap? If this is the case then there's no need to ever create swap, is there?!? Your thoughts are appreciated. Thanks Dan With RAM, the more the merrier. I guess the question is, what does this Unless you're on a 32-bit system in which case more RAM can make you much less merrier since the mere addition of the memory causes more pressure on the already constrained lowmem available on these platforms. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: RAM question for everyone!
Alan Evans wrote: On Fri, Jan 23, 2009 at 7:43 AM, Dan Track dan.tr...@gmail.com wrote: I was recently asked a question about how much RAM should there be within a server given that the APP uses 8GB of Memory, should I buy 10Gig of memory and have a small harddrive and no swap space? Would this configuration allow everything in my OS to run from RAM and not from swap? If this is the case then there's no need to ever create swap, is there?!? Your thoughts are appreciated. This question, along with other recent discussion about swap, leads me to ask a question in response: Why is everyone so concerned about how to get away without swap? Hard drives are cheap. Why does your server with potentially 10GB (!!!) of RAM have a hard drive so small that you can't sacrifice a few GB for swap? I think many people aren't as concerned about sacrificing a bit of disk space as much as they are concerned about the performance impacts when the system begins to use the swap, especially for desktops. Linux will attempt to move old data that has not been referenced for some time out to the swap device even when there is relatively little pressure to do so. This is generally a win since we are better utilising the physical memory of the system (storing more frequently/recently used data in it) but it may lead to nasty delays when the swapped-out data is needed again. This is more of a problem today than 15 years ago because of the ever widening gulf between main memory speeds and (HD based) mass storage speeds (or at least, seek times). As an example, try opening something in OpenOffice and then minimizing it for a week. Even if the box was fairly quiet for that period, chances are that much of OO's address space is now swapped out. Clicking the window in the task bar will cause the system to churn for a few seconds or more before the app returns to a usable state. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: RAM question for everyone!
Gilboa Davara wrote: Yeah, but this problem can more-or-less be avoided by lowering /proc/sys/vm/swappiness. Sure, that will make the VM more likely to evict pagecache data than anonymous pages when it's trying to free pages. I haven't tested this to any real degree on my desktop boxes (as I don't really suffer too much from this with the setups that I run), does it give a significant benefit for this case? I can imagine it would given that systems where I have seen problems like this have tended to seem a bit cache-heavy, but testing results are always good to hear. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: stack trace page with kdump, possible?
Gianluca Cecchi wrote: Hello, with CentOS 4 I was able to setup a server 1 with netdump client package and a netdump server 2 so that when a panic occured on 1, I received on the netdump server 2 both the vmcore file and another file named log containing stack trace (this log on 2 was also filled by commands such as echo m /proc/sysrq-trigger issued on 1). With Fedora 10 and CentOS 5 I now have kdump. I configured it on both kinds of OS so that I successfully get an scp of the vmcore when I force a panic with echo c /proc/sysrq-trigger. Unfortunately I don't get the log file with the stack trace page and this would be useful for example if the crash happens during the night and the display goes stbdy or if the server immediately reboots and you don't have the time to see the stack trace page. Any help if it is possible to configure kdump so that it repostrs also the stack page? Or if I can easily get the stack page from the vmcore file? Although network crash dumps via netdump have been removed from the distribution, the log messages can still be captured using the netconsole facility. See the configuration file in /etc/sysconfig/netconsole and the initscript /etc/init.d/netconsole. You'll also need a syslog or netdump server configured on the network to capture the messages. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: hardware question
ann kok wrote: Hi How can I know the hardware info eg: type of memory No need to turn off the machine Thank you You can get a lot of information from the DMI tables provided by the BIOS, see the man page for dmidecode. There's also Smolt: http://smolt.fedoraproject.org/ Which captures hardware profiles and (optionally) sends them to a central database. You might find this gives you the data in a nicer format. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: hardware question
ann kok wrote: Thank you But I have problem here I am using fedora3 but doesn't have this package How can I get the lshw source to recompile it? or other way to do it Fedora Core 3 was released four and a half years ago and has long since reached end-of-life. There are no security or bugfix updates any longer and you will find (as here!) that a lot of current instructions for getting things done in Fedora will not work on that release as they rely on newer features and packages than existed at that time. You really should seriously consider updating to something that is still supported as you will find it much easier to get help and support for the release and will not be needlessly exposed to security problems. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: A Possible Reason for Problems with Flash Player
Dave Feustel wrote: After attempting to install the Firefox Flash plugin, I kept getting SELinux alerts every time I started Firefox. After deleting all the files in the directory /usr/lib/nspluginwrapper, I continued to get SELinux alerts. That was probably not a good idea :) Better to remove the RPM to clear up files under /usr/lib. The flash plugin attempts to make the stack executable, which SELinux does not permit on my system. Weird - I have libflashsupport installed on a number of 32/64 bit f9 systems and don't seem to have come across this problem. All of these boxes have SELinux set to enforcing. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: A Possible Reason for Problems with Flash Player
Kam Leo wrote: That is not the flash-plugin. You are listing the files in the nspluginwrapper directory. Try su -c rpm -q flash-plugin. If flash-plugin is not installed go to http://www.adobe.com/flashplayer/ and download the rpm package. You should receive flash-plugin-10.0.15.3-release.i386.rpm. Sorry for omitted a quote in the above. That should be su -c 'rpm -q flash-plugin' No need for root privileges to query the RPM database (you only need root for -i/-U/-F/-e etc.). Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Firefox 3.05 attempting to execute code on stack
Dave Feustel wrote: SELinux is reporting attempts by Firefox 3.05-1 to execute code on the stack on 32-bit f9. Time for a Firefox upgrade? Java plugin? Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Firefox 3.05 attempting to execute code on stack
Dave Feustel wrote: On Wed, Jan 07, 2009 at 02:54:06PM +, Bryn M. Reeves wrote: Dave Feustel wrote: SELinux is reporting attempts by Firefox 3.05-1 to execute code on the stack on 32-bit f9. Time for a Firefox upgrade? Java plugin? Bryn. I have no idea. Maybe something to do with Flash. Possibly, although I doubt it - I've never seen a flash plugin that attempted this but I have seen a number of JVMs do it (I assume it's something to do with jit), mostly older ones iirc, so it's probably worth checking for updates if you have a JRE installed that's not part of the distribution. Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Firefox 3.05 attempting to execute code on stack
Dave Feustel wrote: On Wed, Jan 07, 2009 at 03:14:39PM +, Bryn M. Reeves wrote: Dave Feustel wrote: On Wed, Jan 07, 2009 at 02:54:06PM +, Bryn M. Reeves wrote: Dave Feustel wrote: SELinux is reporting attempts by Firefox 3.05-1 to execute code on the stack on 32-bit f9. Time for a Firefox upgrade? Java plugin? Bryn. I have no idea. Maybe something to do with Flash. Possibly, although I doubt it - I've never seen a flash plugin that attempted this but I have seen a number of JVMs do it (I assume it's something to do with jit), mostly older ones iirc, so it's probably worth checking for updates if you have a JRE installed that's not part of the distribution. Bryn. The offending file is a plugin called npviewer. Java was updated yesterday. I think this was activated as a result of my attempts to get Flash working with Firefox. Fedora wraps all browser plugins with nppluginwrapper now - you need to find out what plugin that instance of npviewer was executing in order to know who to blame. Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: Firefox 3.05 attempting to execute code on stack
Patrick O'Callaghan wrote: It's part of nspluginwrapper. I've been getting segfaults from this for several months, though it doesn't seem to actually break anything I use. That's usually because the plugin it's wrapping segfaulted (e.g. I see dozens of these per day from flash: sometimes in libpthread, sometimes libflashsupport, etc.). Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: A reminder of EOL for F8
Chris Snook wrote: David wrote: Aaron Konstam wrote: From last I heard Wednesday, Jan 7 is EOL for F8. So be warned. In all honesty... EOL means End Of Line... Which means no more bugfix updates and no more security patches. It does *not* mean that fedora 8 will stop working on January 7th, 2009. ;-) Do the F8 repos disappear on Jan 7th as well? I'd hate to be the admin who doesn't notice until Jan. 8th, and needs some tool that's not installed in order to migrate gracefully. -- Chris AFAIK, no (at least, that's not been the case in the past to my recollection). Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
Re: USB stick with ext2?
Michael Cronenworth wrote: Alan Evans wrote: Is there a way to make that work Yes. Make a directory on the stick with your user permissions. The / of the usb drive will always be owned by root through HAL/dbus/gvfs No - ext2/3/4's root inodes are just regular directories and can be owned by any user as Ed already mentioned. I set most of my removable media to be owned by my normal UID/GID for exactly this reason (they can also be labelled with xattrs for e.g. SELinux if required). AFAIK. You could setup a special fstab line for manual mounting without requiring a folder, but I don't know if there is such an option in the DE. AFAIK, you still can't do that with ext2/3/4 - they do not support a uid=/gid= mount option like vfat that would allow you to change ownership of the entire file system at mount time. Regards, Bryn. -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines