Re: [gentoo-user] emerge world, USE flags and packages that aren't there
On 29/1/2011, at 2:49am, Andrew Lowe wrote: ... emerge: there are no ebuilds built with USE flags to satisfy dev-vcs/subversion[-dso,perl]. !!! One of the following packages is required to complete your request: - dev-vcs/subversion-1.6.15 (Change USE: -dso) (dependency required by dev-vcs/git-1.7.4_rc3 [ebuild]) (dependency required by sys-devel/gettext-0.18.1.1-r1 [ebuild]) (dependency required by dev-libs/popt-1.16-r1 [ebuild]) (dependency required by dev-util/pkgconfig-0.25-r2 [ebuild]) (dependency required by dev-lang/python-3.1.3 [ebuild]) (dependency required by app-admin/python-updater-0.8 [installed]) *** Well, it's a media computer so subversion shouldn't be there - I think it's a leftover from a previous task for this machine. Subversion provides not only the server, but also `/usr/bin/svn`, the tool for downloading stuff from a repo. This is often needed for installing stuff via Portage that upstream developers keep in a Subversion repo. Actually, in this case, sys-devel/gettext depends upon git, a different version control system (presumably because some of gettext's files are stored in git) and Subversion is being pulled in by git (probably for stuff like http://learn.github.com/p/git-svn.html and probably controlled by a USE flag). Stroller.
Re: [gentoo-user] Re: kmix/sound broken
On Fri, 28 Jan 2011 14:40:27 + (UTC), James wrote: ok, I ran a tail -f /home/user/.xsession-errors in one window and typed in kmix in another terminal window. Nothing logged and the command line just returned empty as though I just hit the return key... It's possible kmix is already running, even though no icon is showing, try killall kmix first. -- Neil Bothwick Plagarism prohibited. Derive carefully. signature.asc Description: PGP signature
[gentoo-user] ASUS M4A88T-M/USB3 and RTL-8168
Hi list! I'm thinking about building a new media PC and wanted to use an ASUS M4A88T-M/USB3 mainboard (link: [1]). Any objections to this? I'm a bit worried about the LAN chipset Realtek 8111E (which seems to be also known as RTL-8168E). This chipset seems to be extremely common on AM3 boards but I've found mixed results when looking for its Linux compatibility. There seems to be a driver but it is not included into the vanilla sources. There are also bug reports like [2]. On the other hand, there have been commits which indicate support for some sub types (but not the E type) through the r8169 driver as far back as 2.6.28 ([3-6]). Long story short: Can anyone confirm that it works or doesn't work with standard gentoo-sources or some other sources? Does someone have experiences with the Realtek drivers from their website? Somehow I find it hard to believe that nowadays Linux lacks support for like 80% of all Micro-ATX AMD boards. Thanks in advance! Florian Philipp [1] http://www.newegg.com/Product/Product.aspx?Item=N82E16813131660 [2] https://partner-bugzilla.redhat.com/show_bug.cgi?id=592141 [3] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=197ff761dbf9fa5de9a4684a51ee5cb534cbb852 [4] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ef3386f00fcd18a40343047329ec7ed2eb98bbe8 [5] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5b538df9dedb3469b688b93ffab2a7efb64c88e3 [6] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7f3e3d3a69da262016db6eec803881603c61ddf6 signature.asc Description: OpenPGP digital signature
[gentoo-user] Cloning a directory hierarchy, but not the content
Hi there! I am currently putting extra backups to old hard drives I do no longer need for other purposes. After that I send the putput out ls -lR and du -m to my log directory so I can check what files are on which drive without having to attach the drive. Works, though a better method would be to clone the drive's root directory, but with all file sizes being zero. This way I can easily navigate the directory structure, instead of browsing through the ls-lR file. Is there a utility that does this? It would be even better if the files would be created as sparse files, faking the original size. I just wrote a little script that does this, but it does not do the sparse file thing yet, and would have problems with newline in file names. And I guess someone already wrote such a utility? Wonko
Re: [gentoo-user] Cloning a directory hierarchy, but not the content
On Sat, 29 Jan 2011 14:58:13 +0100 Alex Schuster wo...@wonkology.org wrote: Hi there! I am currently putting extra backups to old hard drives I do no longer need for other purposes. After that I send the putput out ls -lR and du -m to my log directory so I can check what files are on which drive without having to attach the drive. Works, though a better method would be to clone the drive's root directory, but with all file sizes being zero. This way I can easily navigate the directory structure, instead of browsing through the ls-lR file. Is there a utility that does this? It would be even better if the files would be created as sparse files, faking the original size. I just wrote a little script that does this, but it does not do the sparse file thing yet, and would have problems with newline in file names. And I guess someone already wrote such a utility? IIUC, try find / -type d -exec sh 'mkdir -p target$1' - {} \;
Re: [gentoo-user] ASUS M4A88T-M/USB3 and RTL-8168
Florian Philipp wrote: Hi list! I'm thinking about building a new media PC and wanted to use an ASUS M4A88T-M/USB3 mainboard (link: [1]). Any objections to this? I'm a bit worried about the LAN chipset Realtek 8111E (which seems to be also known as RTL-8168E). This chipset seems to be extremely common on AM3 boards but I've found mixed results when looking for its Linux compatibility. There seems to be a driver but it is not included into the vanilla sources. There are also bug reports like [2]. On the other hand, there have been commits which indicate support for some sub types (but not the E type) through the r8169 driver as far back as 2.6.28 ([3-6]). Long story short: Can anyone confirm that it works or doesn't work with standard gentoo-sources or some other sources? Does someone have experiences with the Realtek drivers from their website? Somehow I find it hard to believe that nowadays Linux lacks support for like 80% of all Micro-ATX AMD boards. Thanks in advance! Florian Philipp [1] http://www.newegg.com/Product/Product.aspx?Item=N82E16813131660 [2] https://partner-bugzilla.redhat.com/show_bug.cgi?id=592141 [3] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=197ff761dbf9fa5de9a4684a51ee5cb534cbb852 [4] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=ef3386f00fcd18a40343047329ec7ed2eb98bbe8 [5] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=5b538df9dedb3469b688b93ffab2a7efb64c88e3 [6] http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=7f3e3d3a69da262016db6eec803881603c61ddf6 I have this according to lspci: 03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03) Mine uses the driver r8169 and it works fine. I'm not sure about the E part tho. If it is not some huge change, it may work fine. If you are not wanting or needing to stick with ASUS, why not try this Gigabyte mobo? http://www.newegg.com/Product/Product.aspx?Item=N82E16813128431 I just built my rig with that mobo and it works fine. If you want to use that, I can email you my kernel config and make life easier on you. That mobo does not have built in video but I think there is one that does tho. If you want to look up mobos and such for compatibility, try this site and look on the left. http://kmuto.jp/debian/hcl/ They are not always listed in there but if you can find one with the same chipset and such, at least you can decide whether to try it or not. Hope this helps. Dale :-) :-)
[gentoo-user] Curiosity...
Hi, when listing my hardware with lshw I find some stuff build into my ASUS Crosshair IV Formula, which I seem not to use and I like to know, for what it is good for: These are excerpts from the output of lshw: *-serial UNCLAIMED description: SMBus product: SBx00 SMBus Controller vendor: ATI Technologies Inc physical id: 14 bus info: pci@:00:14.0 version: 41 width: 32 bits clock: 66MHz configuration: latency=0 and *-isa description: ISA bridge product: SB700/SB800 LPC host controller vendor: ATI Technologies Inc physical id: 14.3 bus info: pci@:00:14.3 version: 40 width: 32 bits clock: 66MHz capabilities: isa bus_master configuration: latency=0 and *-multimedia description: Audio device product: GF108 High Definition Audio Controller vendor: nVidia Corporation physical id: 0.1 bus info: pci@:08:00.1 version: a1 width: 32 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: driver=HDA Intel latency=0 resources: irq:25 memory:fe97c000-fe97 (I have a MSI GT430 (nvidia) card and onboard audio: *-multimedia description: Audio device product: SBx00 Azalia (Intel HDA) vendor: ATI Technologies Inc physical id: 14.2 bus info: pci@:00:14.2 version: 40 width: 64 bits clock: 33MHz capabilities: pm bus_master cap_list configuration: driver=HDA Intel latency=64 resources: irq:16 memory:fcaf8000-fcafbfff ). lspci -k of those device/chips/whatever does say for the nvidia audio: 08:00.1 Audio device: nVidia Corporation GF108 High Definition Audio Controller (rev a1) Subsystem: Micro-Star International Co., Ltd. Device 2304 Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel but...for what reason there is an audio device in my graphics card? Sounds to me like a bicycle with onboard toaster... ;) for the smbus thingy as for the ISA-bridge there no additional info. For what reason there is an ISA bridge on a board which skipped floppy controller and IDE??? How can I make what use of it? Thank you very much in advance for any hint ! Have a nice weekend! Best regards, mcc
Re: [gentoo-user] Cloning a directory hierarchy, but not the content
Etaoin Shrdlu writes: On Sat, 29 Jan 2011 14:58:13 +0100 Alex Schuster wo...@wonkology.org wrote: Hi there! I am currently putting extra backups to old hard drives I do no longer need for other purposes. After that I send the putput out ls -lR and du -m to my log directory so I can check what files are on which drive without having to attach the drive. Works, though a better method would be to clone the drive's root directory, but with all file sizes being zero. This way I can easily navigate the directory structure, instead of browsing through the ls-lR file. Is there a utility that does this? It would be even better if the files would be created as sparse files, faking the original size. I just wrote a little script that does this, but it does not do the sparse file thing yet, and would have problems with newline in file names. And I guess someone already wrote such a utility? IIUC, try find / -type d -exec sh 'mkdir -p target$1' - {} \; Hmm, that does not really seem to work. It tries to execute the whole stuff between single quotes as a command. And I don't really understand what it is supposed to do, shouldn't this be something like mkdir -p /destination/$1/\{\} ? Anyway, this is what I already have. It duplicates the hierarchy with empty files, but I have to add support for sparse files. That won't be too hard, but maybe I'm re-inventing the wheel here. #!/bin/bash src=$1 dst=$2 cd $src || exit $? IFS=$'\n' find . | while read file do if [[ -d $file ]] then [[ -d $dst/$file ]] || mkdir -p $dst/$file elif [[ -f $file ]] then [[ -d $dst/${file%/*} ]] || mkdir -p $dst/${file%/*} touch $dst/$file fi done Wonko
Re: [gentoo-user] Curiosity...
On Sat, Jan 29, 2011 at 6:18 AM, meino.cra...@gmx.de wrote: Hi, when listing my hardware with lshw I find some stuff build into my ASUS Crosshair IV Formula, which I seem not to use and I like to know, for what it is good for: These are excerpts from the output of lshw: SNIP but...for what reason there is an audio device in my graphics card? Sounds to me like a bicycle with onboard toaster... ;) I love the picture, however it is more likely for things like audio over HDMI.. for the smbus thingy as for the ISA-bridge there no additional info. For what reason there is an ISA bridge on a board which skipped floppy controller and IDE??? The ISA stuff is likely for historical conformance to the PC architecture. Not sure if modern motherboards use it anymore, but maybe they do. IIRC the smbus is involved in power switch stuff. It's not unlike I2C but more simple. How can I make what use of it? ;-) Well, put a piece of bread in and push the lever down? ;-) Have a good weekend. Cheers, Mark
[gentoo-user] Re: Curiosity...
On 01/29/2011 04:18 PM, meino.cra...@gmx.de wrote: lspci -k of those device/chips/whatever does say for the nvidia audio: 08:00.1 Audio device: nVidia Corporation GF108 High Definition Audio Controller (rev a1) Subsystem: Micro-Star International Co., Ltd. Device 2304 Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel but...for what reason there is an audio device in my graphics card? Sounds to me like a bicycle with onboard toaster... ;) Graphics cards have audio chips for HDMI sound. When you connect the graphics card to a TV through HDMI, the sound playing in the TV comes from the graphics card's audio chip.
Re: [gentoo-user] Cloning a directory hierarchy, but not the content
Am 29.01.2011 14:58, schrieb Alex Schuster: Hi there! I am currently putting extra backups to old hard drives I do no longer need for other purposes. After that I send the putput out ls -lR and du -m to my log directory so I can check what files are on which drive without having to attach the drive. Works, though a better method would be to clone the drive's root directory, but with all file sizes being zero. This way I can easily navigate the directory structure, instead of browsing through the ls-lR file. Is there a utility that does this? It would be even better if the files would be created as sparse files, faking the original size. I just wrote a little script that does this, but it does not do the sparse file thing yet, and would have problems with newline in file names. And I guess someone already wrote such a utility? Wonko Use `truncate -s size file` It creates a sparse file if the specified file is smaller than the specified size. It will also create a new file if it does not yet exist. In order to avoid trouble with line breaks in names, I recommend something like: find . -type f -print0 | while read -d $'\0' file; do echo File=$file done Or use similar commands accepting or outputting 0-byte terminated strings, for example xargs -0, du -0, grep -z. For copying file attributes from one file to another you can use `cp --attributes-only`. Hope this helps, Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Cloning a directory hierarchy, but not the content
On Sat, 29 Jan 2011 15:27:59 +0100 Alex Schuster wo...@wonkology.org wrote: I just wrote a little script that does this, but it does not do the sparse file thing yet, and would have problems with newline in file names. And I guess someone already wrote such a utility? IIUC, try find / -type d -exec sh 'mkdir -p target$1' - {} \; Hmm, that does not really seem to work. It tries to execute the whole stuff between single quotes as a command. And I don't really understand what it is supposed to do, shouldn't this be something like mkdir -p /destination/$1/\{\} ? No. That recreates the full directory hierarchy based at / under /target/, with no files in it. Just the directory hierarchy. I should have added that, to do it safely, the target should reside higher than the source in the hierarchy, or it should be on a different filesystem and in that case -xdev should be specified to find (otherwise an recursive loop would result). A more sensible approach would probably be cd /source find . -type d -exec bash 'mkdir -p ${@/#//target/}' - {} + with -xdev if needed. But as I see now, this is not what you wanted, so ignore it. Anyway, this is what I already have. It duplicates the hierarchy with empty files, but I have to add support for sparse files. That won't be too hard, but maybe I'm re-inventing the wheel here. #!/bin/bash src=$1 dst=$2 cd $src || exit $? IFS=$'\n' find . | while read file do if [[ -d $file ]] then [[ -d $dst/$file ]] || mkdir -p $dst/$file elif [[ -f $file ]] then [[ -d $dst/${file%/*} ]] || mkdir -p $dst/${file%/*} touch $dst/$file fi done Ok, I misunderstood. You also want the files but empty. Why do you need support for sparse files? Do you need to manage other types of file (symlinks, FIFOs, etc.)
[gentoo-user] [OT] find lines in text file by length
This is way OT, but I hope someone here can give me a quick answer: I have a text-file. Individual lines of it run from 10 to several thousand characters in length. Is there a simple* command that allows me to only display the lines that are, say, at least 300 characters long? Thanks in advance, W * simple of course includes appropriate incantations of sed/awk/perl/etc -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
Re: [gentoo-user] Curiosity...
On Saturday 29 January 2011 15:18:10 meino.cra...@gmx.de wrote: Hi, when listing my hardware with lshw I find some stuff build into my ASUS Crosshair IV Formula, which I seem not to use and I like to know, for what it is good for: These are excerpts from the output of lshw: *-serial UNCLAIMED description: SMBus product: SBx00 SMBus Controller vendor: ATI Technologies Inc physical id: 14 bus info: pci@:00:14.0 version: 41 width: 32 bits clock: 66MHz configuration: latency=0 sensors, and spd-eprom are accessed this way. and *-isa description: ISA bridge product: SB700/SB800 LPC host controller vendor: ATI Technologies Inc physical id: 14.3 bus info: pci@:00:14.3 version: 40 width: 32 bits clock: 66MHz capabilities: isa bus_master configuration: latency=0 today's incarnation is called 'lpc'. Your sensor chip is probably accessed through this. Also connectiopn sensor/superio-chipset. and *-multimedia description: Audio device product: GF108 High Definition Audio Controller vendor: nVidia Corporation physical id: 0.1 bus info: pci@:08:00.1 version: a1 width: 32 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: driver=HDA Intel latency=0 resources: irq:25 memory:fe97c000-fe97 (I have a MSI GT430 (nvidia) card and onboard audio: *-multimedia description: Audio device product: SBx00 Azalia (Intel HDA) vendor: ATI Technologies Inc physical id: 14.2 bus info: pci@:00:14.2 version: 40 width: 64 bits clock: 33MHz capabilities: pm bus_master cap_list configuration: driver=HDA Intel latency=64 resources: irq:16 memory:fcaf8000-fcafbfff ). lspci -k of those device/chips/whatever does say for the nvidia audio: 08:00.1 Audio device: nVidia Corporation GF108 High Definition Audio Controller (rev a1) Subsystem: Micro-Star International Co., Ltd. Device 2304 Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel but...for what reason there is an audio device in my graphics card? Sounds to me like a bicycle with onboard toaster... ;) hdmi. Because hdmi is able to transport sound. Also look up the DRM mess. for the smbus thingy as for the ISA-bridge there no additional info. For what reason there is an ISA bridge on a board which skipped floppy controller and IDE??? yes. How can I make what use of it? you probably already do.
Re: [gentoo-user] Curiosity...
On Saturday 29 January 2011 06:33:39 Mark Knecht wrote: On Sat, Jan 29, 2011 at 6:18 AM, meino.cra...@gmx.de wrote: Hi, when listing my hardware with lshw I find some stuff build into my ASUS Crosshair IV Formula, which I seem not to use and I like to know, for what it is good for: These are excerpts from the output of lshw: SNIP but...for what reason there is an audio device in my graphics card? Sounds to me like a bicycle with onboard toaster... ;) I love the picture, however it is more likely for things like audio over HDMI.. for the smbus thingy as for the ISA-bridge there no additional info. For what reason there is an ISA bridge on a board which skipped floppy controller and IDE??? The ISA stuff is likely for historical conformance to the PC architecture. Not sure if modern motherboards use it anymore, but maybe they do. they do. http://en.wikipedia.org/wiki/Low_Pin_Count IIRC the smbus is involved in power switch stuff. It's not unlike I2C but more simple. also the spd-eeprom on your memory modules can be accessed via smbus. And some kinds of sensors chips. And a lot more.
Re: [gentoo-user] ASUS M4A88T-M/USB3 and RTL-8168
On Saturday 29 January 2011 13:29:53 Florian Philipp wrote: Hi list! I'm thinking about building a new media PC and wanted to use an ASUS M4A88T-M/USB3 mainboard (link: [1]). Any objections to this? I wouldn't buy an Asus board at the moment, thanks to their crappyness. I bought a GA-880GA-UD3H 4 weeks ago. It works. rtl8111d/e lan chip usb3 lots of pcie slots. note: you don't have to care about the realtek suffices. 8111d/e/whatever... they just work
Re: [gentoo-user] [OT] find lines in text file by length
On Sat, 29 Jan 2011 10:01:02 -0500 Willie Wong ww...@math.princeton.edu wrote: This is way OT, but I hope someone here can give me a quick answer: I have a text-file. Individual lines of it run from 10 to several thousand characters in length. Is there a simple* command that allows me to only display the lines that are, say, at least 300 characters long? awk 'length = 300' file sed -n '/.\{300\}/p' file
Re: [gentoo-user] [OT] find lines in text file by length
On Sat, Jan 29, 2011 at 5:01 PM, Willie Wong ww...@math.princeton.edu wrote: This is way OT, but I hope someone here can give me a quick answer: I have a text-file. Individual lines of it run from 10 to several thousand characters in length. Is there a simple* command that allows me to only display the lines that are, say, at least 300 characters long? Thanks in advance, W * simple of course includes appropriate incantations of sed/awk/perl/etc -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton Hi, Try something like sed '/\w\{300,\}/!d' file This should give you lines that have more than 300 word like characters. If you put number after , you may define the max number. and you can change \w to match your needs = . . Best regards Petri
Re: [gentoo-user] [OT] find lines in text file by length
Am 29.01.2011 16:01, schrieb Willie Wong: This is way OT, but I hope someone here can give me a quick answer: I have a text-file. Individual lines of it run from 10 to several thousand characters in length. Is there a simple* command that allows me to only display the lines that are, say, at least 300 characters long? Thanks in advance, W * simple of course includes appropriate incantations of sed/awk/perl/etc egrep '.{300,}' signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] [OT] find lines in text file by length
On Sat, 29 Jan 2011 14:57:28 + Etaoin Shrdlu shr...@unlimitedmail.org wrote: On Sat, 29 Jan 2011 10:01:02 -0500 Willie Wong ww...@math.princeton.edu wrote: This is way OT, but I hope someone here can give me a quick answer: I have a text-file. Individual lines of it run from 10 to several thousand characters in length. Is there a simple* command that allows me to only display the lines that are, say, at least 300 characters long? awk 'length = 300' file sed -n '/.\{300\}/p' file Oh, and obviously grep '.\{300\}' file perl -ne 'print if /.{300}/' file
Re: [gentoo-user] Curiosity...
On Sat, Jan 29, 2011 at 7:09 AM, Volker Armin Hemmann volkerar...@googlemail.com wrote: On Saturday 29 January 2011 06:33:39 Mark Knecht wrote: On Sat, Jan 29, 2011 at 6:18 AM, meino.cra...@gmx.de wrote: Hi, when listing my hardware with lshw I find some stuff build into my ASUS Crosshair IV Formula, which I seem not to use and I like to know, for what it is good for: These are excerpts from the output of lshw: SNIP but...for what reason there is an audio device in my graphics card? Sounds to me like a bicycle with onboard toaster... ;) I love the picture, however it is more likely for things like audio over HDMI.. for the smbus thingy as for the ISA-bridge there no additional info. For what reason there is an ISA bridge on a board which skipped floppy controller and IDE??? The ISA stuff is likely for historical conformance to the PC architecture. Not sure if modern motherboards use it anymore, but maybe they do. they do. http://en.wikipedia.org/wiki/Low_Pin_Count IIRC the smbus is involved in power switch stuff. It's not unlike I2C but more simple. also the spd-eeprom on your memory modules can be accessed via smbus. And some kinds of sensors chips. And a lot more. Yeah, makes sense that boot ROM/BIOS stuff is going to get accessed through there. Cheers, Mark
Re: [gentoo-user] [OT] find lines in text file by length
On Sat, Jan 29, 2011 at 03:08:11PM +, Etaoin Shrdlu wrote: Oh, and obviously grep '.\{300\}' file D'Oh! That's really obvious. Thanks! W -- Willie W. Wong ww...@math.princeton.edu Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
Re: [gentoo-user] Curiosity...
On Saturday 29 January 2011 07:33:34 Mark Knecht wrote: On Sat, Jan 29, 2011 at 7:09 AM, Volker Armin Hemmann volkerar...@googlemail.com wrote: On Saturday 29 January 2011 06:33:39 Mark Knecht wrote: On Sat, Jan 29, 2011 at 6:18 AM, meino.cra...@gmx.de wrote: Hi, when listing my hardware with lshw I find some stuff build into my ASUS Crosshair IV Formula, which I seem not to use and I like to know, for what it is good for: These are excerpts from the output of lshw: SNIP but...for what reason there is an audio device in my graphics card? Sounds to me like a bicycle with onboard toaster... ;) I love the picture, however it is more likely for things like audio over HDMI.. for the smbus thingy as for the ISA-bridge there no additional info. For what reason there is an ISA bridge on a board which skipped floppy controller and IDE??? The ISA stuff is likely for historical conformance to the PC architecture. Not sure if modern motherboards use it anymore, but maybe they do. they do. http://en.wikipedia.org/wiki/Low_Pin_Count IIRC the smbus is involved in power switch stuff. It's not unlike I2C but more simple. also the spd-eeprom on your memory modules can be accessed via smbus. And some kinds of sensors chips. And a lot more. Yeah, makes sense that boot ROM/BIOS stuff is going to get accessed through there. bios is accessed via 'isa' lpc ;)
Re: [gentoo-user] Curiosity...
Volker Armin Hemmann volkerar...@googlemail.com [11-01-29 16:56]: On Saturday 29 January 2011 07:33:34 Mark Knecht wrote: On Sat, Jan 29, 2011 at 7:09 AM, Volker Armin Hemmann volkerar...@googlemail.com wrote: On Saturday 29 January 2011 06:33:39 Mark Knecht wrote: On Sat, Jan 29, 2011 at 6:18 AM, meino.cra...@gmx.de wrote: Hi, when listing my hardware with lshw I find some stuff build into my ASUS Crosshair IV Formula, which I seem not to use and I like to know, for what it is good for: These are excerpts from the output of lshw: SNIP but...for what reason there is an audio device in my graphics card? Sounds to me like a bicycle with onboard toaster... ;) I love the picture, however it is more likely for things like audio over HDMI.. for the smbus thingy as for the ISA-bridge there no additional info. For what reason there is an ISA bridge on a board which skipped floppy controller and IDE??? The ISA stuff is likely for historical conformance to the PC architecture. Not sure if modern motherboards use it anymore, but maybe they do. they do. http://en.wikipedia.org/wiki/Low_Pin_Count IIRC the smbus is involved in power switch stuff. It's not unlike I2C but more simple. also the spd-eeprom on your memory modules can be accessed via smbus. And some kinds of sensors chips. And a lot more. Yeah, makes sense that boot ROM/BIOS stuff is going to get accessed through there. bios is accessed via 'isa' lpc ;) I ever thought the bios is a piece of software (keyword bios flash and firmware) rather some hardware... ?!
Re: [gentoo-user] ASUS M4A88T-M/USB3 and RTL-8168
Volker Armin Hemmann wrote: On Saturday 29 January 2011 13:29:53 Florian Philipp wrote: Hi list! I'm thinking about building a new media PC and wanted to use an ASUS M4A88T-M/USB3 mainboard (link: [1]). Any objections to this? I wouldn't buy an Asus board at the moment, thanks to their crappyness. I bought a GA-880GA-UD3H 4 weeks ago. It works. rtl8111d/e lan chip usb3 lots of pcie slots. note: you don't have to care about the realtek suffices. 8111d/e/whatever... they just work That mobo is a nice one. Lots of good stuff. If I recall correctly it has the latest SATA too. The 6Gbs speed that is. Mine has 3Gbs. I read somewhere that the current line up of Gigabyte mobos are the highest rated. It used to be Abit and ASUS but we all know how these things change. There was another one that was highly rated a good long while back, especially with Linux users, but I can't recall the brand now. ASRock or something? Maybe? I looked into ASUS before my build and switched to Gigabyte after some research. About the only thing I was settled on when I started was a Nvidia based video card. The rest was open to changes. I do wish I had got the 6 core CPU now tho. That is my only regret. Still happy tho. This new rig is easily 7 or 8 times faster all the way around. Dale :-) :-)
Re: [gentoo-user] Curiosity...
On Saturday 29 January 2011 17:02:55 meino.cra...@gmx.de wrote: Volker Armin Hemmann volkerar...@googlemail.com [11-01-29 16:56]: On Saturday 29 January 2011 07:33:34 Mark Knecht wrote: On Sat, Jan 29, 2011 at 7:09 AM, Volker Armin Hemmann volkerar...@googlemail.com wrote: On Saturday 29 January 2011 06:33:39 Mark Knecht wrote: On Sat, Jan 29, 2011 at 6:18 AM, meino.cra...@gmx.de wrote: Hi, when listing my hardware with lshw I find some stuff build into my ASUS Crosshair IV Formula, which I seem not to use and I like to know, for what it is good for: These are excerpts from the output of lshw: SNIP but...for what reason there is an audio device in my graphics card? Sounds to me like a bicycle with onboard toaster... ;) I love the picture, however it is more likely for things like audio over HDMI.. for the smbus thingy as for the ISA-bridge there no additional info. For what reason there is an ISA bridge on a board which skipped floppy controller and IDE??? The ISA stuff is likely for historical conformance to the PC architecture. Not sure if modern motherboards use it anymore, but maybe they do. they do. http://en.wikipedia.org/wiki/Low_Pin_Count IIRC the smbus is involved in power switch stuff. It's not unlike I2C but more simple. also the spd-eeprom on your memory modules can be accessed via smbus. And some kinds of sensors chips. And a lot more. Yeah, makes sense that boot ROM/BIOS stuff is going to get accessed through there. bios is accessed via 'isa' lpc ;) I ever thought the bios is a piece of software (keyword bios flash and firmware) rather some hardware... ?! the bios resides in a chip which is accessed via lpc, which looks like isa to the system.
Re: [gentoo-user] Curiosity...
Volker Armin Hemmann volkerar...@googlemail.com [11-01-29 16:39]: On Saturday 29 January 2011 15:18:10 meino.cra...@gmx.de wrote: Hi, when listing my hardware with lshw I find some stuff build into my ASUS Crosshair IV Formula, which I seem not to use and I like to know, for what it is good for: These are excerpts from the output of lshw: *-serial UNCLAIMED description: SMBus product: SBx00 SMBus Controller vendor: ATI Technologies Inc physical id: 14 bus info: pci@:00:14.0 version: 41 width: 32 bits clock: 66MHz configuration: latency=0 sensors, and spd-eprom are accessed this way. and *-isa description: ISA bridge product: SB700/SB800 LPC host controller vendor: ATI Technologies Inc physical id: 14.3 bus info: pci@:00:14.3 version: 40 width: 32 bits clock: 66MHz capabilities: isa bus_master configuration: latency=0 today's incarnation is called 'lpc'. Your sensor chip is probably accessed through this. Also connectiopn sensor/superio-chipset. and *-multimedia description: Audio device product: GF108 High Definition Audio Controller vendor: nVidia Corporation physical id: 0.1 bus info: pci@:08:00.1 version: a1 width: 32 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: driver=HDA Intel latency=0 resources: irq:25 memory:fe97c000-fe97 (I have a MSI GT430 (nvidia) card and onboard audio: *-multimedia description: Audio device product: SBx00 Azalia (Intel HDA) vendor: ATI Technologies Inc physical id: 14.2 bus info: pci@:00:14.2 version: 40 width: 64 bits clock: 33MHz capabilities: pm bus_master cap_list configuration: driver=HDA Intel latency=64 resources: irq:16 memory:fcaf8000-fcafbfff ). lspci -k of those device/chips/whatever does say for the nvidia audio: 08:00.1 Audio device: nVidia Corporation GF108 High Definition Audio Controller (rev a1) Subsystem: Micro-Star International Co., Ltd. Device 2304 Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel but...for what reason there is an audio device in my graphics card? Sounds to me like a bicycle with onboard toaster... ;) hdmi. Because hdmi is able to transport sound. Also look up the DRM mess. for the smbus thingy as for the ISA-bridge there no additional info. For what reason there is an ISA bridge on a board which skipped floppy controller and IDE??? yes. How can I make what use of it? you probably already do. How do you define probably ? :)
Re: [gentoo-user] Cloning a directory hierarchy, but not the content
Etaoin Shrdlu writes: On Sat, 29 Jan 2011 15:27:59 +0100 Alex Schuster wo...@wonkology.org wrote: I just wrote a little script that does this, but it does not do the sparse file thing yet, and would have problems with newline in file names. And I guess someone already wrote such a utility? IIUC, try find / -type d -exec sh 'mkdir -p target$1' - {} \; Hmm, that does not really seem to work. It tries to execute the whole stuff between single quotes as a command. And I don't really understand what it is supposed to do, shouldn't this be something like mkdir -p /destination/$1/\{\} ? No. That recreates the full directory hierarchy based at / under /target/, with no files in it. Just the directory hierarchy. Ah, now I get it. There's a -c missing after the sh command. I should have added that, to do it safely, the target should reside higher than the source in the hierarchy, or it should be on a different filesystem and in that case -xdev should be specified to find (otherwise an recursive loop would result). Right, but not important in my case. I want to mount my backup drive to /mnt, cd /mnt, and duplicate all stuff soemwhere else, without taking up much space. Then I can remove the backup drive and I only have to mount it again when I need a file's content, but not for finding out which files there are and how much space they take. Well, the space already is in the file created by du -m, but I'd like to directly navigate around. Ok, I misunderstood. You also want the files but empty. Why do you need support for sparse files? Do you need to manage other types of file (symlinks, FIFOs, etc.) Yes, symlinks would ne nice, too, I forgot about them. The rest is unimportant, as this would be data only, not root file systems. I backup that with rdiff-backup to a 2nd drive, but there's much other stuff that I would like to put on one of the old drives that lie around here. Sparse files would be nice because then I do not only have the same logical structure, the files also appear to have the same size as the originals, instead of having a size of 0. I could navigate and explore the directory structure with mc, and with du --apparent-size I could find out how much space a subdirectory takes. Again, my du -m file already has this information, but while navigating in the directory tree, being able to use du would be nice. Wonko
Re: [gentoo-user] Curiosity...
On Saturday 29 January 2011 17:34:18 meino.cra...@gmx.de wrote: Volker Armin Hemmann volkerar...@googlemail.com [11-01-29 16:39]: On Saturday 29 January 2011 15:18:10 meino.cra...@gmx.de wrote: Hi, when listing my hardware with lshw I find some stuff build into my ASUS Crosshair IV Formula, which I seem not to use and I like to know, for what it is good for: These are excerpts from the output of lshw: *-serial UNCLAIMED description: SMBus product: SBx00 SMBus Controller vendor: ATI Technologies Inc physical id: 14 bus info: pci@:00:14.0 version: 41 width: 32 bits clock: 66MHz configuration: latency=0 sensors, and spd-eprom are accessed this way. and *-isa description: ISA bridge product: SB700/SB800 LPC host controller vendor: ATI Technologies Inc physical id: 14.3 bus info: pci@:00:14.3 version: 40 width: 32 bits clock: 66MHz capabilities: isa bus_master configuration: latency=0 today's incarnation is called 'lpc'. Your sensor chip is probably accessed through this. Also connectiopn sensor/superio-chipset. and *-multimedia description: Audio device product: GF108 High Definition Audio Controller vendor: nVidia Corporation physical id: 0.1 bus info: pci@:08:00.1 version: a1 width: 32 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: driver=HDA Intel latency=0 resources: irq:25 memory:fe97c000-fe97 (I have a MSI GT430 (nvidia) card and onboard audio: *-multimedia description: Audio device product: SBx00 Azalia (Intel HDA) vendor: ATI Technologies Inc physical id: 14.2 bus info: pci@:00:14.2 version: 40 width: 64 bits clock: 33MHz capabilities: pm bus_master cap_list configuration: driver=HDA Intel latency=64 resources: irq:16 memory:fcaf8000-fcafbfff ). lspci -k of those device/chips/whatever does say for the nvidia audio: 08:00.1 Audio device: nVidia Corporation GF108 High Definition Audio Controller (rev a1) Subsystem: Micro-Star International Co., Ltd. Device 2304 Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel but...for what reason there is an audio device in my graphics card? Sounds to me like a bicycle with onboard toaster... ;) hdmi. Because hdmi is able to transport sound. Also look up the DRM mess. for the smbus thingy as for the ISA-bridge there no additional info. For what reason there is an ISA bridge on a board which skipped floppy controller and IDE??? yes. How can I make what use of it? you probably already do. How do you define probably ? :) well, your board is able to boot. So the bios is able to access spdrom to read the memory settings. This is done via smbus. If you use sensors, you are probably using isa/lipc bus to access the chip. And even if you don't. Do you have a ps/2 keyboard? The keyboard controller sits in the same superio chip as the sensors.
[gentoo-user] Re: kmix/sound broken
Neil Bothwick neil at digimed.co.uk writes: It's possible kmix is already running, even though no icon is showing, try killall kmix first. Um the icon does show up in the bottom bar and under the kde pludown menu... Launching from either results in a bouncing icon and no app started. Manual launch from the terminal, just returns empty. nice idea! but: # killall kmix kmix: no process found Besides the problem survives a emerge -e system and subsequent reboot, so the next blunt instrument is emerge -e world.. All the kde packages are going to get rebuilt James
Re: [gentoo-user] Re: kmix/sound broken
james wrote: Neil Bothwickneilat digimed.co.uk writes: It's possible kmix is already running, even though no icon is showing, try killall kmix first. Um the icon does show up in the bottom bar and under the kde pludown menu... Launching from either results in a bouncing icon and no app started. Manual launch from the terminal, just returns empty. nice idea! but: # killall kmix kmix: no process found Besides the problem survives a emerge -e system and subsequent reboot, so the next blunt instrument is emerge -e world.. All the kde packages are going to get rebuilt James I noticed this: root@fireball / # ps aux | grep kmix dale 667 0.0 0.8 453144 33048 ?Sl Jan28 0:00 kdeinit4: kmix [kdeinit] -session 10d8df6f6b00012470045010112470008_1281663401_3252 root 27998 0.0 0.0 6188 572 pts/0R+ 11:30 0:00 grep --colour=auto kmix root@fireball / # killall kmix may not work in that case. It appears it is running as part of kdeinit. May not want to kill that unless you have nothing open that matters. Not sure what all that would kill. You may could just kill that specific process tho. That may help. Another thought, do you not have a Kmix icon in the panel? That's where mine is. It looks like a speaker with some sound coming out of it. Dale :-) :-)
Re: [gentoo-user] Curiosity...
meino.cra...@gmx.de wrote: Ah! I see...but I would think, that the driver for the kbd and/or the access to the sensors would led to a Kernel driver in use:- or Kernel modules:-entry when using lspci -k, where the SMBUS-thingy is listed. But nothing... ? It doesn't list that here. I use PS/2 keyboard and mouse. Dale :-) :-)
Re: [gentoo-user] Curiosity...
Volker Armin Hemmann volkerar...@googlemail.com [11-01-29 17:56]: On Saturday 29 January 2011 17:34:18 meino.cra...@gmx.de wrote: Volker Armin Hemmann volkerar...@googlemail.com [11-01-29 16:39]: On Saturday 29 January 2011 15:18:10 meino.cra...@gmx.de wrote: Hi, when listing my hardware with lshw I find some stuff build into my ASUS Crosshair IV Formula, which I seem not to use and I like to know, for what it is good for: These are excerpts from the output of lshw: *-serial UNCLAIMED description: SMBus product: SBx00 SMBus Controller vendor: ATI Technologies Inc physical id: 14 bus info: pci@:00:14.0 version: 41 width: 32 bits clock: 66MHz configuration: latency=0 sensors, and spd-eprom are accessed this way. and *-isa description: ISA bridge product: SB700/SB800 LPC host controller vendor: ATI Technologies Inc physical id: 14.3 bus info: pci@:00:14.3 version: 40 width: 32 bits clock: 66MHz capabilities: isa bus_master configuration: latency=0 today's incarnation is called 'lpc'. Your sensor chip is probably accessed through this. Also connectiopn sensor/superio-chipset. and *-multimedia description: Audio device product: GF108 High Definition Audio Controller vendor: nVidia Corporation physical id: 0.1 bus info: pci@:08:00.1 version: a1 width: 32 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: driver=HDA Intel latency=0 resources: irq:25 memory:fe97c000-fe97 (I have a MSI GT430 (nvidia) card and onboard audio: *-multimedia description: Audio device product: SBx00 Azalia (Intel HDA) vendor: ATI Technologies Inc physical id: 14.2 bus info: pci@:00:14.2 version: 40 width: 64 bits clock: 33MHz capabilities: pm bus_master cap_list configuration: driver=HDA Intel latency=64 resources: irq:16 memory:fcaf8000-fcafbfff ). lspci -k of those device/chips/whatever does say for the nvidia audio: 08:00.1 Audio device: nVidia Corporation GF108 High Definition Audio Controller (rev a1) Subsystem: Micro-Star International Co., Ltd. Device 2304 Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel but...for what reason there is an audio device in my graphics card? Sounds to me like a bicycle with onboard toaster... ;) hdmi. Because hdmi is able to transport sound. Also look up the DRM mess. for the smbus thingy as for the ISA-bridge there no additional info. For what reason there is an ISA bridge on a board which skipped floppy controller and IDE??? yes. How can I make what use of it? you probably already do. How do you define probably ? :) well, your board is able to boot. So the bios is able to access spdrom to read the memory settings. This is done via smbus. If you use sensors, you are probably using isa/lipc bus to access the chip. And even if you don't. Do you have a ps/2 keyboard? The keyboard controller sits in the same superio chip as the sensors. Ah! I see...but I would think, that the driver for the kbd and/or the access to the sensors would led to a Kernel driver in use:- or Kernel modules:-entry when using lspci -k, where the SMBUS-thingy is listed. But nothing... ?
[gentoo-user] Re: kmix/sound broken
Dale rdalek1967 at gmail.com writes: killall kmix may not work in that case. It appears it is running as part of kdeinit. May not want to kill that unless you have nothing open that matters. Not sure what all that would kill. killall kmix did nothing You may could just kill that specific process tho. That may help. Another thought, do you not have a Kmix icon in the panel? That's where mine is. It looks like a speaker with some sound coming out of it. Yes it is in the bottom panel and under the pull down menu. I rebuilding all sorts of packages, via revdep Including akondadi and various kde packages Well see thx, James
Re: [gentoo-user] Cloning a directory hierarchy, but not the content
On Sat, 29 Jan 2011 17:45:30 +0100 Alex Schuster wo...@wonkology.org wrote: Ah, now I get it. There's a -c missing after the sh command. Right, thans for spotting it. I should have added that, to do it safely, the target should reside higher than the source in the hierarchy, or it should be on a different filesystem and in that case -xdev should be specified to find (otherwise an recursive loop would result). Right, but not important in my case. I want to mount my backup drive to /mnt, cd /mnt, and duplicate all stuff soemwhere else, without taking up much space. Then I can remove the backup drive and I only have to mount it again when I need a file's content, but not for finding out which files there are and how much space they take. Well, the space already is in the file created by du -m, but I'd like to directly navigate around. Oh, I see now: you want the files to *look like* the real ones (eg when doing ls -l etc.), but be sparse so they don't take up space? Sparse files would be nice because then I do not only have the same logical structure, the files also appear to have the same size as the originals, instead of having a size of 0. I could navigate and explore the directory structure with mc, and with du --apparent-size I could find out how much space a subdirectory takes. Again, my du -m file already has this information, but while navigating in the directory tree, being able to use du would be nice. Ok, one way to create a sparse file of, say, 1 megabyte is using dd: # dd if=/dev/null of=sparsefile bs=1 seek=1M 0+0 records in 0+0 records out 0 bytes (0 B) copied, 2.5419e-05 s, 0.0 kB/s # ls -l sparsefile -rw-r--r-- 1 root root 1048576 Jan 29 11:57 sparsefile # du -B1 sparsefile 0 sparsefile Another way, already suggested, is by using truncate, eg # truncate -s 1M sparsefile
Re: [gentoo-user] Cloning a directory hierarchy, but not the content
Florian Philipp writes: Use `truncate -s size file` It creates a sparse file if the specified file is smaller than the specified size. It will also create a new file if it does not yet exist. Nice one. First I did not see an improvement over using dd to create the sparse file, but in combination with cp --attributes-only I can now duplicate the file with its attributes but zero size, and then fake the size. In order to avoid trouble with line breaks in names, I recommend something like: find . -type f -print0 | while read -d $'\0' file; do echo File=$file done Thanks! For copying file attributes from one file to another you can use `cp --attributes-only`. Oh my, another case of a (german) man page that does not show all the possible arguments. Never heard about that, thanks! Wonko
Re: [gentoo-user] Curiosity...
On Saturday 29 January 2011 18:04:07 meino.cra...@gmx.de wrote: Volker Armin Hemmann volkerar...@googlemail.com [11-01-29 17:56]: On Saturday 29 January 2011 17:34:18 meino.cra...@gmx.de wrote: Volker Armin Hemmann volkerar...@googlemail.com [11-01-29 16:39]: On Saturday 29 January 2011 15:18:10 meino.cra...@gmx.de wrote: Hi, when listing my hardware with lshw I find some stuff build into my ASUS Crosshair IV Formula, which I seem not to use and I like to know, for what it is good for: These are excerpts from the output of lshw: *-serial UNCLAIMED description: SMBus product: SBx00 SMBus Controller vendor: ATI Technologies Inc physical id: 14 bus info: pci@:00:14.0 version: 41 width: 32 bits clock: 66MHz configuration: latency=0 sensors, and spd-eprom are accessed this way. and *-isa description: ISA bridge product: SB700/SB800 LPC host controller vendor: ATI Technologies Inc physical id: 14.3 bus info: pci@:00:14.3 version: 40 width: 32 bits clock: 66MHz capabilities: isa bus_master configuration: latency=0 today's incarnation is called 'lpc'. Your sensor chip is probably accessed through this. Also connectiopn sensor/superio-chipset. and *-multimedia description: Audio device product: GF108 High Definition Audio Controller vendor: nVidia Corporation physical id: 0.1 bus info: pci@:08:00.1 version: a1 width: 32 bits clock: 33MHz capabilities: pm msi pciexpress bus_master cap_list configuration: driver=HDA Intel latency=0 resources: irq:25 memory:fe97c000-fe97 (I have a MSI GT430 (nvidia) card and onboard audio: *-multimedia description: Audio device product: SBx00 Azalia (Intel HDA) vendor: ATI Technologies Inc physical id: 14.2 bus info: pci@:00:14.2 version: 40 width: 64 bits clock: 33MHz capabilities: pm bus_master cap_list configuration: driver=HDA Intel latency=64 resources: irq:16 memory:fcaf8000-fcafbfff ). lspci -k of those device/chips/whatever does say for the nvidia audio: 08:00.1 Audio device: nVidia Corporation GF108 High Definition Audio Controller (rev a1) Subsystem: Micro-Star International Co., Ltd. Device 2304 Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel but...for what reason there is an audio device in my graphics card? Sounds to me like a bicycle with onboard toaster... ;) hdmi. Because hdmi is able to transport sound. Also look up the DRM mess. for the smbus thingy as for the ISA-bridge there no additional info. For what reason there is an ISA bridge on a board which skipped floppy controller and IDE??? yes. How can I make what use of it? you probably already do. How do you define probably ? :) well, your board is able to boot. So the bios is able to access spdrom to read the memory settings. This is done via smbus. If you use sensors, you are probably using isa/lipc bus to access the chip. And even if you don't. Do you have a ps/2 keyboard? The keyboard controller sits in the same superio chip as the sensors. Ah! I see...but I would think, that the driver for the kbd and/or the access to the sensors would led to a Kernel driver in use:- or Kernel modules:-entry when using lspci -k, where the SMBUS-thingy is listed. But nothing... ? for the kernel the keyboard controller is a different entity ;) the kernel sees the 'old' keyboard driver - a logical equivalent to the old intel 8042. And that is not a pci device. http://en.wikipedia.org/wiki/Keyboard_controller_(computing) http://en.wikipedia.org/wiki/Intel_8042
Re: [gentoo-user] Cloning a directory hierarchy, but not the content
Am 29.01.2011 20:31, schrieb Alex Schuster: Florian Philipp writes: [...] For copying file attributes from one file to another you can use `cp --attributes-only`. Oh my, another case of a (german) man page that does not show all the possible arguments. Never heard about that, thanks! Wonko The German man-pages can be a real pain. Guess there are too few people who keep them up-to-date. Oh well ... maybe some day when I have more time. Until then I make it a point to never install them in the first place when I can avoid it: `LINGUAS='en' emerge -1 man-pages emerge -C man-pages-de` Or I just delete them with `rm -r /usr/share/man/de*` :) signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] Cloning a directory hierarchy, but not the content
Etaoin Shrdlu writes: On Sat, 29 Jan 2011 17:45:30 +0100 Alex Schuster wo...@wonkology.org wrote: I should have added that, to do it safely, the target should reside higher than the source in the hierarchy, or it should be on a different filesystem and in that case -xdev should be specified to find (otherwise an recursive loop would result). Right, but not important in my case. I want to mount my backup drive to /mnt, cd /mnt, and duplicate all stuff soemwhere else, without taking up much space. Then I can remove the backup drive and I only have to mount it again when I need a file's content, but not for finding out which files there are and how much space they take. Well, the space already is in the file created by du -m, but I'd like to directly navigate around. Oh, I see now: you want the files to *look like* the real ones (eg when doing ls -l etc.), but be sparse so they don't take up space? Exactly. Sorry I did not make myself clearer. It's working now, and I like it :) I added some more features, like clipping files to a maximum size. So the clone can still be very small compared to the original, with small files being intact and usable. Ok, one way to create a sparse file of, say, 1 megabyte is using dd: # dd if=/dev/null of=sparsefile bs=1 seek=1M 0+0 records in 0+0 records out 0 bytes (0 B) copied, 2.5419e-05 s, 0.0 kB/s # ls -l sparsefile -rw-r--r-- 1 root root 1048576 Jan 29 11:57 sparsefile # du -B1 sparsefile 0 sparsefile That's how I wanted to do it first, too. Another way, already suggested, is by using truncate, eg # truncate -s 1M sparsefile I used this, because so I can modify a file that I created empty with cp --attributes-only. Keeping the attributes would have been a bit complicated. In case anyone else is interested, the script is here: http://www.wonkology.org/utils/clone0 wonko@weird ~ $ clone0 -h clone0 version 2011-01-29 Duplicate a file / directory hierarchy. Files are created as sparse files, not taking up real space. Usage: clone0 [-dhSv0] [-s size] src... dst Options: -d clone directory structure only, not files -h show this help -s size copy files up to size as the are, and clip larger files -S do not create sparse files -v show directories being created -vv show files being created -vvvdebug output -0 clip files larger than size (option -s) to zero size Arguments: src... one or more directories to clone dstdestination directory (will be created) Thanks for the input, guys! Wonko
Re: [gentoo-user] Curiosity...
On Sat, 2011-01-29 at 16:09 +0100, Volker Armin Hemmann wrote: On Saturday 29 January 2011 06:33:39 Mark Knecht wrote: On Sat, Jan 29, 2011 at 6:18 AM, meino.cra...@gmx.de wrote: Hi, when listing my hardware with lshw I find some stuff build into my ASUS Crosshair IV Formula, which I seem not to use and I like to know, for what it is good for: These are excerpts from the output of lshw: SNIP but...for what reason there is an audio device in my graphics card? Sounds to me like a bicycle with onboard toaster... ;) I love the picture, however it is more likely for things like audio over HDMI.. for the smbus thingy as for the ISA-bridge there no additional info. For what reason there is an ISA bridge on a board which skipped floppy controller and IDE??? The ISA stuff is likely for historical conformance to the PC architecture. Not sure if modern motherboards use it anymore, but maybe they do. they do. http://en.wikipedia.org/wiki/Low_Pin_Count IIRC the smbus is involved in power switch stuff. It's not unlike I2C but more simple. also the spd-eeprom on your memory modules can be accessed via smbus. And some kinds of sensors chips. And a lot more. I have a new Jetway atom N330 board with an nvidia ION chipset with builtin CIR (Common Infra Red) controller accessed via the LPC and nvidia chipset. A pig to get to work on gentoo, but it does work. So yes, in use even on the latest motherboards :) BillK
[gentoo-user] Emerge Problems...
A little while back my server ran out of hard disk space (due to a failed hard drive) and as a result my local portage mirror got destroyed. Well, I fixed there server - initially by just grabbing a new copy of portage like a new install since it was just completely hosed, and the server is back up and working. However, now my desktop and laptop are both having problems. They sync just fine against the server, but I get a series of errors about not having various ebuilds in the manifest files - so many that I can't emerge anything (even portage). Right now, my laptop is basically hosed - KDE/X won't work on login due to some errors. My desktop at least logs in to the KDE/X. However, on both systems I am having the manifest problem, and I can't edit files either since vim is screwed up due to a change in perl - and I can't run perl-clearner due to the emerge problem. I know both systems can be restored to being fully functional and up-to-date. The question is - how do I get there? I ran across some emails in the list archive on a similar issue - though that was only for 1 ebuild - and it was straight forward enough to fix by just rebuilding the manifest though 'ebuild' or something. I ran across another e-mail suggesting to just resync, and well - I tried that but it didn't work. So my question is - is there a way to automatically fix all these manifest things without having to track down each one by hand and run the 'ebuild' thing on each one individually? I'm completely out of ideas, and I'd really like to get these systems back to full functionality. TIA, Ben
Re: [gentoo-user] Curiosity...
William Kenworthy bi...@iinet.net.au [11-01-30 06:28]: On Sat, 2011-01-29 at 16:09 +0100, Volker Armin Hemmann wrote: On Saturday 29 January 2011 06:33:39 Mark Knecht wrote: On Sat, Jan 29, 2011 at 6:18 AM, meino.cra...@gmx.de wrote: Hi, when listing my hardware with lshw I find some stuff build into my ASUS Crosshair IV Formula, which I seem not to use and I like to know, for what it is good for: These are excerpts from the output of lshw: SNIP but...for what reason there is an audio device in my graphics card? Sounds to me like a bicycle with onboard toaster... ;) I love the picture, however it is more likely for things like audio over HDMI.. for the smbus thingy as for the ISA-bridge there no additional info. For what reason there is an ISA bridge on a board which skipped floppy controller and IDE??? The ISA stuff is likely for historical conformance to the PC architecture. Not sure if modern motherboards use it anymore, but maybe they do. they do. http://en.wikipedia.org/wiki/Low_Pin_Count IIRC the smbus is involved in power switch stuff. It's not unlike I2C but more simple. also the spd-eeprom on your memory modules can be accessed via smbus. And some kinds of sensors chips. And a lot more. I have a new Jetway atom N330 board with an nvidia ION chipset with builtin CIR (Common Infra Red) controller accessed via the LPC and nvidia chipset. A pig to get to work on gentoo, but it does work. So yes, in use even on the latest motherboards :) BillK Hi BillK, would you give me a hint in what direction to drive for this ? Best regards, mcc
[gentoo-user] Re: nVidia nouveau on nVidia 8600M GT
Happy news: Upgrading to KDE-4.6.0 fixed all the annoying issues below. Apparently, though unproven, at 00:54 on Wednesday 26 January 2011, Alan McKinnon did opine thusly: Hi all, I'm not completely happy with my driver setup for an 8600M GT. Using nvidia.ko, KDE with desktop effects enabled (especially translucent popup thumbnails on the task bar, and blur effect on) makes my notebook fan run all the time and kwin uses 20% cpu according to top. Oddly enough, the fan runs faster with the screensaver on (displaying a single static jpeg) and settles down when I unlock the screen. Nouveau is supposed to be useable (if not entirely stable yet) but it makes the fan run flat out, notebook gets hot very quickly, top reckons kwin is using 30% cpu even with all fancy effects off and gui events have a noticeable lag to them - a short but very noticeable delay after mouse clicks for example. It all looks very much like some process is blocking as when things get around to happening, they happen quickly - like glxgears spins it's wheels at a terrific rate and very little gets in it's way once it starts. I reckon it should not be this way and I have yet again done something stupid. I've scoured the net and forums for howtos but found nothing and this has been going on for at least 5 kernel versions. Are there any known issues that cause things like this that I've overlooked? I strongly suspect it's not an obscure detail peculiar to me, more like I absolutely need kernel feature X for best results. -- alan dot mckinnon at gmail dot com
[gentoo-user] k3b: Drive not found ...
Hi, My setup is ASUS Crosshair IV formula. Attached to the box is a USB-IDE converted. Attached to this converter there is my old DVD burner. This setup has worked for reading and writing DVDs/CDs in the past. But there must be a update or something which kills that There is: solfire:/rootl /dev/sr0 brw-rw 1 root cdrom 11, 0 2011-01-30 07:51 /dev/sr0 solfire:/root Therefore the burner is detected by the kernel an appropiate permissions are given to it. I am member of the group cdrom. When k3b is started from the commandline I see this output: K3bQProcess::QProcess(0x0) QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type) error: org.freedesktop.DBus.Error.AccessDenied K3bQProcess::QProcess(0x0) k3b(22035)/kdeui (kdelibs): Attempt to use QAction view_projects with KXMLGUIFactory! k3b(22035)/kdeui (kdelibs): Attempt to use QAction view_dir_tree with KXMLGUIFactory! k3b(22035)/kdeui (kdelibs): Attempt to use QAction view_contents with KXMLGUIFactory! k3b(22035)/kdeui (kdelibs): Attempt to use QAction location_bar with KXMLGUIFactory! solfire:/home/mccramerQStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type) error: org.freedesktop.DBus.Error.AccessDenied QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type) error: org.freedesktop.DBus.Error.AccessDenied QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type) error: org.freedesktop.DBus.Error.AccessDenied QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type) error: org.freedesktop.DBus.Error.AccessDenied QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type) error: org.freedesktop.DBus.Error.AccessDenied QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type) error: org.freedesktop.DBus.Error.AccessDenied QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type) error: org.freedesktop.DBus.Error.AccessDenied QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type) error: org.freedesktop.DBus.Error.AccessDenied k3b(22035)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing /usr/share/mime/magic k3b(22035)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing /home/mccramer/.local/share/mime/magic Unfortunately I have no clue, what it wants to tell me. Only this Permission denied alerts me...but where to patch/modify what? A hint for a fix is very appreciated ;) Thanks a lot in advance! Best regards, mcc
Re: [gentoo-user] k3b: Drive not found ...
Hello, I was recently having similar issues with a computer I picked up from my university's surplus that I put a fresh Gentoo install on. The issues went away after I restarted dbus, a la: $ /etc/init.d/dbus restart It may not fix your issues, but it did make mine vanish. Best of luck! -Jon On Sunday 30 January 2011 00:01:25 meino.cra...@gmx.de wrote: Hi, My setup is ASUS Crosshair IV formula. Attached to the box is a USB-IDE converted. Attached to this converter there is my old DVD burner. This setup has worked for reading and writing DVDs/CDs in the past. But there must be a update or something which kills that There is: solfire:/rootl /dev/sr0 brw-rw 1 root cdrom 11, 0 2011-01-30 07:51 /dev/sr0 solfire:/root Therefore the burner is detected by the kernel an appropiate permissions are given to it. I am member of the group cdrom. When k3b is started from the commandline I see this output: K3bQProcess::QProcess(0x0) QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type) error: org.freedesktop.DBus.Error.AccessDenied K3bQProcess::QProcess(0x0) k3b(22035)/kdeui (kdelibs): Attempt to use QAction view_projects with KXMLGUIFactory! k3b(22035)/kdeui (kdelibs): Attempt to use QAction view_dir_tree with KXMLGUIFactory! k3b(22035)/kdeui (kdelibs): Attempt to use QAction view_contents with KXMLGUIFactory! k3b(22035)/kdeui (kdelibs): Attempt to use QAction location_bar with KXMLGUIFactory! solfire:/home/mccramerQStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type) error: org.freedesktop.DBus.Error.AccessDenied QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type) error: org.freedesktop.DBus.Error.AccessDenied QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type) error: org.freedesktop.DBus.Error.AccessDenied QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type) error: org.freedesktop.DBus.Error.AccessDenied QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type) error: org.freedesktop.DBus.Error.AccessDenied QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type) error: org.freedesktop.DBus.Error.AccessDenied QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type) error: org.freedesktop.DBus.Error.AccessDenied QStringList Solid::Backends::Hal::HalManager::findDeviceByDeviceInterface(const Solid::DeviceInterface::Type) error: org.freedesktop.DBus.Error.AccessDenied k3b(22035)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing /usr/share/mime/magic k3b(22035)/kdecore (services) KMimeTypeFactory::parseMagic: Now parsing /home/mccramer/.local/share/mime/magic Unfortunately I have no clue, what it wants to tell me. Only this Permission denied alerts me...but where to patch/modify what? A hint for a fix is very appreciated ;) Thanks a lot in advance! Best regards, mcc