Re: [gentoo-user] r8169 unable to apply firmware patch
I remembered that i also had started having a problem with my intel wireless card, and it looks like both the intel and realtek firmwares are now in linux-firmware so try emerging that.
Re: [gentoo-user] r8169 unable to apply firmware patch
My laptop's Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller uses the r8169 driver. On kernel 2.6.36 it works fine, but on 2.6.38 and 2.6.39 it doesn't work and continuously outputs eth0: unable to apply firmware patch to dmesg. I found this workaround: http://forums.gentoo.org/viewtopic-t-882599-start-0.html I'm just wondering if anyone has run into the same problem and found a better solution. I have the same issue and it still exists with kernel 3.0.0. That system has died so I havent been able to look at it further.
Re: [gentoo-user] SSDs, swap, caching, other unusual uses
Am 29.07.2011 20:18, schrieb Michael Mol: Something that's been tickling my brain for a couple years now, and you guys are probably the right ones to ask. I haven't dropped coin for an SSD (yet), but I was wondering about uses for them beyond using them for / or /home. 1) What about sitting swap (partition, file, whatever) on the SSD? Presumably, in scenarios where expanding the RAM in a system is prohibitively expensive, an SSD could reduce the impact of swap thrash. Sure why not. However, if you plan to swap constantly, I'd recommend doing a prediction of the life-time. For normal usage, the number of possible write cycles should be sufficient. 2) While my system rarely goes above using 2-2.5GB of RAM, I enjoy having 6-8GB of RAM, just for the file cache. Of course, I lose that when I reboot; the cache needs to be repopulated. Has there been any work in the kernel for doing things like Vista/Win7's ReadyBoost? ReadyBoost has a ridiculous limit to only using 4GB of a flash drive, but I'd think that an 80GB SSD would be a massive performance improvement. You should try sys-kernel/tuxonice-sources for suspend-to-disk. It preserves the cache as well. Obviously, for something like Gentoo, putting an SSD-based filesystem under /var/tmp makes a lot of sense, but what other uses have been tried? How'd they work out? Ruggedized PC sitting on top of the rotor head of a helicopter, making videos of the blade movement. Works well, but the SATA connectors tend to fall off. ;-) Regards, Florian Philipp signature.asc Description: OpenPGP digital signature
[gentoo-user] fsck and mount by label
Hello list! I've noticed the following in my rc.log file: [file system mounting ...] opt: clean, 3127/6496 files, 108510/209920 blocks fsck.ext4: Unable to resolve »LABEL=backup« * Operational error The backup disk is the only one (besides boot and root) which is mounted by label. After booting, I find that the backup disk was mounted correctly. If I then try to run `fsck.ext4 LABEL=backup`, it works as expected. Does anyone have an explanation for this? Thanks in advance! Florian Philipp signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] X Freezes With Firefox on Many Post 2.6.38 Kernels
On Saturday 30 Jul 2011 01:32:07 Dale wrote: Alex Schuster wrote: Am 30.07.2011 01:06, schrieb Dale: I'm just curious as to how much longer dd is going to take. I wish it has some sort of a progress bar or something. :/ dcfldd has a progress indicator AFAIR. To make sure that your dd speed is maxed out for the drive that you are dd-ing on, you need to run some tests with different block sizes: dd if=/dev/zero bs=1024 count=100 of=/tmp/1G_file.txt dd if=/dev/zero bs=2048 count=50 of=/tmp/1G_file.txt dd if=/dev/zero bs=4096 count=25 of=/tmp/1G_file.txt dd if=/dev/zero bs=8192 count=125000 of=/tmp/1G_file.txt On my 500G drive 2048 gives the best speed. Then set bs=2048 or whatever is faster on yours when you run the dd command. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] RAID-1 install
On 2011-07-30 03:04, james wrote: Ok so my first issue is the installation media and a lack of tools for GPT (GUID Partition Table). snip the 4k block (GPT) issue? Maybe I missed it on the minimal CD? If you're after GPT-able partition software you can use (g)parted, available on the Gentoo live cd (it _should_ handle 4k disks as well): http://www.gentoo.org/news/20110308-livedvd.xml HTH Best regards Peter K
Re: [gentoo-user] X Freezes With Firefox on Many Post 2.6.38 Kernels
Mick wrote: On Saturday 30 Jul 2011 01:32:07 Dale wrote: Alex Schuster wrote: Am 30.07.2011 01:06, schrieb Dale: I'm just curious as to how much longer dd is going to take. I wish it has some sort of a progress bar or something. :/ dcfldd has a progress indicator AFAIR. To make sure that your dd speed is maxed out for the drive that you are dd-ing on, you need to run some tests with different block sizes: dd if=/dev/zero bs=1024 count=100 of=/tmp/1G_file.txt dd if=/dev/zero bs=2048 count=50 of=/tmp/1G_file.txt dd if=/dev/zero bs=4096 count=25 of=/tmp/1G_file.txt dd if=/dev/zero bs=8192 count=125000 of=/tmp/1G_file.txt On my 500G drive 2048 gives the best speed. Then set bs=2048 or whatever is faster on yours when you run the dd command. I finally stopped it. It was almost done. Here is the update for this weird kernel panic problem. I did the dd thing. I created my partition like I had before and put ext4 on it this time. I restored the stuff I had backed up to the drive and then downloaded some videos to test the thing. It downloaded just fine. No panic or even a burp. What could have caused this? Could it be a file system problem? I don't think it is a physical failure since it is working now after giving it a fresh start. I just don't get how this could have caused a kernel panic. This is plain weird. Would love to hear some thoughts on what caused this problem given the fix. Dale :-) :-)
Re: [gentoo-user] X Freezes With Firefox on Many Post 2.6.38 Kernels
On 2011-07-30 01:06, Dale wrote: I'm just curious as to how much longer dd is going to take. I wish it has some sort of a progress bar or something. :/ http://www.rootninja.com/dd-with-a-progress-bar/ (emerge sys-apps/pv) Disclaimer: I haven't used this myself... HTH Best regards Peter K
Re: [gentoo-user] Re: Netatalk 2.2 for Gentoo?
On 30.07.11 02:11, Manuel McLure wrote: FYI, netatalk 2.1.5 for AFP (I don't use anything else) is working for me here with OS X Lion. That's interesting, I can't seem to connect to Netatalk 2.1.5 with Lion. Would you perhaps share the contents of your /etc/netatalk folder? -Ralph
Re: [gentoo-user] X Freezes With Firefox on Many Post 2.6.38 Kernels
On Saturday 30 July 2011 11:17:52 Dale wrote: What could have caused this? Could it be a file system problem? I don't think it is a physical failure since it is working now after giving it a fresh start. I just don't get how this could have caused a kernel panic. This is plain weird. One possibility is that, having now written to almost every location on the disk, its controller has marked some faulty blocks that used to contain code in the disk subsystem. If it was reading damaged data, there's no surprise in anything that happened next! Would love to hear some thoughts on what caused this problem given the fix. That's mine :-) (And it's not far off what I suggested to you before: that the lightning strike had damaged your hardware.) -- Rgds Peter Linux Counter 5290, 1994-04-23
Re: [gentoo-user] X Freezes With Firefox on Many Post 2.6.38 Kernels
On Sat, Jul 30, 2011 at 8:03 AM, Peter Humphrey pe...@humphrey.ukfsn.org wrote: On Saturday 30 July 2011 11:17:52 Dale wrote: What could have caused this? Could it be a file system problem? I don't think it is a physical failure since it is working now after giving it a fresh start. I just don't get how this could have caused a kernel panic. This is plain weird. One possibility is that, having now written to almost every location on the disk, its controller has marked some faulty blocks that used to contain code in the disk subsystem. If it was reading damaged data, there's no surprise in anything that happened next! Well, except that it should have thrown some errors when the on-platter reed-solomon encoding didn't quite match. If the controller flagged some faulty blocks, it should show up via smartctl -A $DEVICE_NODE -- :wq
Re: [gentoo-user] X Freezes With Firefox on Many Post 2.6.38 Kernels
Peter Humphrey wrote: On Saturday 30 July 2011 11:17:52 Dale wrote: What could have caused this? Could it be a file system problem? I don't think it is a physical failure since it is working now after giving it a fresh start. I just don't get how this could have caused a kernel panic. This is plain weird. One possibility is that, having now written to almost every location on the disk, its controller has marked some faulty blocks that used to contain code in the disk subsystem. If it was reading damaged data, there's no surprise in anything that happened next! Would love to hear some thoughts on what caused this problem given the fix. That's mine :-) (And it's not far off what I suggested to you before: that the lightning strike had damaged your hardware.) It could be that it was some bad bocks. It wasn't lightning tho. It was just a plain power failure where my UPS failed. The relay just didn't act quick enough that time I guess. Still weird that it caused a kernel panic. Dale :-) :-)
Re: [gentoo-user] fsck and mount by label
On Sat, Jul 30, 2011 at 5:42 AM, Florian Philipp li...@binarywings.net wrote: Hello list! I've noticed the following in my rc.log file: [file system mounting ...] opt: clean, 3127/6496 files, 108510/209920 blocks fsck.ext4: Unable to resolve »LABEL=backup« * Operational error The backup disk is the only one (besides boot and root) which is mounted by label. After booting, I find that the backup disk was mounted correctly. If I then try to run `fsck.ext4 LABEL=backup`, it works as expected. Does anyone have an explanation for this? Could it be that the volume 'backup' is on isn't available yet? (i.e. brought up by lvm later in the boot process) -- :wq
Re: [gentoo-user] X Freezes With Firefox on Many Post 2.6.38 Kernels
Michael Mol wrote: On Sat, Jul 30, 2011 at 8:03 AM, Peter Humphrey pe...@humphrey.ukfsn.org wrote: On Saturday 30 July 2011 11:17:52 Dale wrote: What could have caused this? Could it be a file system problem? I don't think it is a physical failure since it is working now after giving it a fresh start. I just don't get how this could have caused a kernel panic. This is plain weird. One possibility is that, having now written to almost every location on the disk, its controller has marked some faulty blocks that used to contain code in the disk subsystem. If it was reading damaged data, there's no surprise in anything that happened next! Well, except that it should have thrown some errors when the on-platter reed-solomon encoding didn't quite match. If the controller flagged some faulty blocks, it should show up via smartctl -A $DEVICE_NODE I did run the SMART test thing at least twice. It never reported any problems. This look OK: root@fireball / # smartctl -A /dev/sdc smartctl 5.40 2010-10-16 r3189 [x86_64-pc-linux-gnu] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net === START OF READ SMART DATA SECTION === SMART Attributes Data Structure revision number: 16 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 100 100 051Pre-fail Always - 0 3 Spin_Up_Time0x0007 081 081 011Pre-fail Always - 6510 4 Start_Stop_Count0x0032 100 100 000Old_age Always - 105 5 Reallocated_Sector_Ct 0x0033 100 100 010Pre-fail Always - 0 7 Seek_Error_Rate 0x000f 253 253 051Pre-fail Always - 0 8 Seek_Time_Performance 0x0025 100 100 015Pre-fail Offline - 11324 9 Power_On_Hours 0x0032 097 097 000Old_age Always - 15355 10 Spin_Retry_Count0x0033 100 100 051Pre-fail Always - 0 11 Calibration_Retry_Count 0x0012 100 100 000Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000Old_age Always - 105 13 Read_Soft_Error_Rate0x000e 100 100 000Old_age Always - 0 183 Runtime_Bad_Block 0x0032 100 100 000Old_age Always - 0 184 End-to-End_Error0x0033 100 100 000Pre-fail Always - 0 187 Reported_Uncorrect 0x0032 100 100 000Old_age Always - 0 188 Command_Timeout 0x0032 100 100 000Old_age Always - 0 190 Airflow_Temperature_Cel 0x0022 074 069 000Old_age Always - 26 (Min/Max 23/28) 194 Temperature_Celsius 0x0022 074 068 000Old_age Always - 26 (Min/Max 23/30) 195 Hardware_ECC_Recovered 0x001a 100 100 000Old_age Always - 143830378 196 Reallocated_Event_Count 0x0032 100 100 000Old_age Always - 0 197 Current_Pending_Sector 0x0012 100 100 000Old_age Always - 0 198 Offline_Uncorrectable 0x0030 100 100 000Old_age Offline - 0 199 UDMA_CRC_Error_Count0x003e 100 100 000Old_age Always - 0 200 Multi_Zone_Error_Rate 0x000a 100 100 000Old_age Always - 0 201 Soft_Read_Error_Rate0x000a 100 100 000Old_age Always - 0 root@fireball / # Dale :-) :-)
Re: [gentoo-user] X Freezes With Firefox on Many Post 2.6.38 Kernels
pk wrote: On 2011-07-30 01:06, Dale wrote: I'm just curious as to how much longer dd is going to take. I wish it has some sort of a progress bar or something. :/ http://www.rootninja.com/dd-with-a-progress-bar/ (emerge sys-apps/pv) Disclaimer: I haven't used this myself... HTH Best regards Peter K Looks interesting. I'm sort of finished now tho. lol I wish I knew about that two days ago. Funny how that happens isn't it? Thanks. Dale :-) :-)
Re: [gentoo-user] X Freezes With Firefox on Many Post 2.6.38 Kernels
On Sat, Jul 30, 2011 at 10:04 AM, Dale rdalek1...@gmail.com wrote: 196 Reallocated_Event_Count 0x0032 100 100 000 Old_age Always - 0 197 Current_Pending_Sector 0x0012 100 100 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0030 100 100 000 Old_age Offline - 0 No bad sectors. At least, not that the drive controller knows about. You might try smartctl -t offline $DEVICE_NODE to have the drive run a self-test. Don't let offline fool you; you can still do other things, the test will just be suspended during disk activity, and resume when disk activity dies down. -- :wq
OT: Re: [gentoo-user] X Freezes With Firefox on Many Post 2.6.38 Kernels
On Saturday 30 July 2011 00:06:57 Dale wrote: I'm just curious as to how much longer dd is going to take. I wish it has some sort of a progress bar or something. :/ I'm in a similar process. I have an external disk which I use to back my boxes up. I need a bootable vfat partition for the Win-XP part of my laptop, but what I'd set up was far too small. So I was faced with either losing all my Linux backups, or shrinking the ext4 partition to make more space for vfat. Gparted is currently moving all the ext4 data up the disk. The partition is now 731 GB with 369 GB occupied. I started it nearly 18 hours ago and it still says it has 5h 40m to go. It may want to do some other housekeeping after the copy too. It says it's copying 731 GB, but that must be an error, since nowhere on the disk (and nothing on the network, come to that) is large enough to receive that much data. One thing's certain: it's a good test of the USB disk! I just hope your power incident doesn't happen to me too. :-) -- Rgds Peter Linux Counter 5290, 1994-04-23
Re: [gentoo-user] X Freezes With Firefox on Many Post 2.6.38 Kernels
Michael Mol wrote: On Sat, Jul 30, 2011 at 10:04 AM, Dalerdalek1...@gmail.com wrote: 196 Reallocated_Event_Count 0x0032 100 100 000Old_age Always - 0 197 Current_Pending_Sector 0x0012 100 100 000Old_age Always - 0 198 Offline_Uncorrectable 0x0030 100 100 000Old_age Offline - 0 No bad sectors. At least, not that the drive controller knows about. You might try smartctl -t offline $DEVICE_NODE to have the drive run a self-test. Don't let offline fool you; you can still do other things, the test will just be suspended during disk activity, and resume when disk activity dies down. I have ran that at least a couple times. It passed each time. I actually run that every couple months or so anyway. From what I have read, it does sometimes warn of a problems in time to take action. It may not help if it is a bearing failure or some other mechanical failure but some warning is better than none. At least I know it is living at the moment. I just hope it stays that way. Dale :-) :-)
Re: OT: Re: [gentoo-user] X Freezes With Firefox on Many Post 2.6.38 Kernels
Peter Humphrey wrote: One thing's certain: it's a good test of the USB disk! I just hope your power incident doesn't happen to me too. :-) That would suck. I sure did hate to lose my videos. I bet ATT does to since I have to go find them and download them again. :/ Dale :-) :-)
[gentoo-user] Re: Openoffice being replaced?
On 2011-07-29, BRM bm_witn...@yahoo.com wrote: From: Paul Hartman paul.hartman+gen...@gmail.com To: gentoo-user@lists.gentoo.org Sent: Thursday, July 28, 2011 10:41 AM Subject: Re: [gentoo-user] Openoffice being replaced? On Thu, Jul 28, 2011 at 9:13 AM, Dale rdalek1...@gmail.com wrote: I noticed this today: The following mask changes are necessary to proceed: #required by @selected, required by @world (argument) # /usr/portage/profiles/package.mask: # Tom Chv??tal scarab...@gentoo.org (27 Jul 2011) # Old replaced packages. Will be removed in 30 days. # app-office/openoffice - app-office/libreoffice # app-office/openoffice-bin - app-office/libreoffice-bin # app-text/wpd2sxw - app-text/wpd2odt =app-office/openoffice-3.2.1-r1 Does this mean that libreoffice is going to replace OOo in the tree? Looks like it. It has already replaced it on all my computers. Gentoo's OpenOffice has included the go-oo patches for a long time anyway, which were the big thing changed about LibreOffice [...] I would say switch to LibreOffice and don't look back. :) I wouldn't. While LibreOffice may have some advances at the moment, I'm still interested in following main-line OOo - now being setting under Apache. So you don't use the gentoo OOo ebuilds? AFAICT, they're a lot closer to being libreoffice than to being mainline OOo. Please do not force us to convert from OO to LO. If you use the gentoo ebuilds, then you mostly already have. Gentoo OOo = OOo + Go-Oo LibreOffice = OOo + Go-Oo I have no problem with separate installs for each, but there will be those (like me) that want the official OO installs. But, what you get using the Gentoo ebuilds isn't the official OOo install. If you're running official OOo, then youre not using the Gentoo ebuilds, so why do you care what those ebuilds produce? One of the things I like about LibreOffice is the reduced dependancies. Even with the gnome USE flag turned off, OOo pulls in some big gnome dependancies that I don't want. WTF does an office suite need libgweather? -- Grant
[gentoo-user] Re: fsck and mount by label
On 07/30/2011 12:42 PM, Florian Philipp wrote: Hello list! I've noticed the following in my rc.log file: [file system mounting ...] opt: clean, 3127/6496 files, 108510/209920 blocks fsck.ext4: Unable to resolve »LABEL=backup« * Operational error The backup disk is the only one (besides boot and root) which is mounted by label. After booting, I find that the backup disk was mounted correctly. If I then try to run `fsck.ext4 LABEL=backup`, it works as expected. Does anyone have an explanation for this? I had similar problems, but I never understood what's causing them. I solved it by using /dev/disk/by-label/backup instead of LABEL=backup.
[gentoo-user] How do I select a GTK 3 theme?
Hello! I got x11-themes/gtk-engines:3 from the gnome overlay installed so GTK 3 engines are there. My problem is I don't know how to set a global theme for GTK 3 (and the default is dead ugly). If it is file ~/.config/gtk-3.0/settings.ini then I haven't got that to work, yet. What's your recipe to select GTK 3 themes? Any quality links or guidance would be great. Thanks in advance, Sebastian
Re: [gentoo-user] r8169 unable to apply firmware patch
I remembered that i also had started having a problem with my intel wireless card, and it looks like both the intel and realtek firmwares are now in linux-firmware so try emerging that. That fixed it. Thank you very much. I'm a little puzzled because I don't get the unable to apply firmware patch messages on my desktop which also uses the r8169 driver and doesn't have linux-firmware installed. I guess linux-firmware is a package released by the kernel folks containing certain firmware blobs? It looks like rt73 is in there but not b43. - Grant
Re: OT: Re: [gentoo-user] X Freezes With Firefox on Many Post 2.6.38 Kernels
On Saturday 30 July 2011 15:50:11 Dale wrote: Peter Humphrey wrote: One thing's certain: it's a good test of the USB disk! I just hope your power incident doesn't happen to me too. :-) That would suck. I sure did hate to lose my videos. I bet ATT does to since I have to go find them and download them again. :/ I hope you're pleased to know the process finished. 23 hours to move a partition! Never heard anything like it. All I have to do now is to persuade Win-XP to find the disk. No luck so far... -- Rgds Peter Linux Counter 5290, 1994-04-23
[gentoo-user] portage no longer in world?
Hi there, I kinda feel I'm opening myself up for ridicule in asking this, but I'm on x86 stable (i.e. not ~x86) and this behaviour seems to have changed recently. During a recent `emerge --sync` I received the an update to portage is available - you're strongly advised to take it message. I'm sure that in the past `emerge -u world` would update portage. Now: # emerge -up world These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] sys-apps/baselayout-2.0.3 [2.0.2] # emerge -up system These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] sys-apps/baselayout-2.0.3 [2.0.2] # emerge -up portage These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] sys-apps/portage-2.1.10.3 [2.1.9.42] USE=less%* # The answer to this, for me, is not to move to testing / unstable / ~x86 portage. Not on this box, I don't think, at least. I've seen that suggested here in the past as oh, everyone should be on ~86 / ~amd64 for portage (is that the 2.2 series of Portage??) and really I don't see the need for myself. The current version really does everything I need, and I'd rather stay as much x86 (stable) as possible. What I'm really asking for here is a sanity check: Is this the behaviour I should be seeing? Was I really seeing `emerge -u world` updating portage before? I don't really have a problem with `emerge -u portage` then `emerge -u world`, I'm just wondering if that's right. Is there a better way to include portage in my regular maintenance updates? TIA, Stroller.
Re: [gentoo-user] r8169 unable to apply firmware patch
That fixed it. Thank you very much. I'm a little puzzled because I don't get the unable to apply firmware patch messages on my desktop which also uses the r8169 driver and doesn't have linux-firmware installed. Maybe you have an older firmware installed from a different package? Run emerge -p linux-firmware on that box to see if there's a blocker. I guess linux-firmware is a package released by the kernel folks containing certain firmware blobs? It looks like rt73 is in there but not b43. Maybe these? /lib/firmware/brcm/bcm4329-fullmac-4.bin /lib/firmware/brcm/bcm4329-fullmac-4.txt /lib/firmware/brcm/bcm43xx-0.fw /lib/firmware/brcm/bcm43xx_hdr-0.fw /lib/firmware/LICENCE.broadcom_bcm43xx