| Robbat2's LiveJournal Entries | [entries|friends|calendar] | |||||||||||||||
|
Robbat2
|
||||||||||||||||
| Useful and complex /etc/conf.d/net setups (In support of USE=oldnet) | [Sat, 17 Oct 2009 02:53:00 -0800] |
|
At the same time, I don't think many people are aware of how powerful the "old" network configuration mechanism is. The net.examples file is only the start, once you start mixing in the pre/post calls, there's a lot of power. It's capable of some feats that I don't see used even in certain parts of the Gentoo documentation[1]. I've put together some of my gems of conf.d/net, and if you have some, I'd love to hear them. Leave a comment or email me the scripts, along with a description. Configurations available
HostingI've also started a bit of storage in my Gentoo webspace for these collected works of network configuration, with a bit more documentation. Notes
|
|
| 4 comments|post comment | |
| Gentoo release statistics as of 2009/10/09 23h59 UTC | [Fri, 9 Oct 2009 21:04:00 -0800] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 8 comments|post comment | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Visualizing Gentoo profiles | [Mon, 21 Sep 2009 02:48:00 -0800] |
|
I ran into this today, while working on the USE=modules changes for linux-mod.eclass. As an attempt to solve this, I munged up some GraphViz work to show profile inheritance, pictures as the end. Both sets have the trailing profiles "/desktop", "/developer", "/server" turned off for the 2008.0 and 10.0 releases, to cut down on the noise. Graphs and script for download. ( Which profiles? )Odd observations
Question for any skilled GraphViz users:If all nodes in a given subgroup/cluster have an edge going to a single destination node, is there any way to get graphviz to replace them with a single fat edge from cluster to destination node? |
|
| 2 comments|post comment | |
| Heatwaves lead to hardware failures | [Thu, 30 Jul 2009 05:57:00 -0800] | ||||||||||
My website and personal email will be offline for a day or two while I ensure my backups are up to date, and redeploy to the newer fileserver (after I buy a new BBU tomorrow). |
|||||||||||
| 3 comments|post comment | |||||||||||
| "District 9" movie and South African history | [Thu, 9 Jul 2009 16:15:00 -0800] | |||||
|
||||||
| post comment | ||||||
| Oneshot update from Poland | [Sat, 25 Apr 2009 14:11:00 -0800] |
|
This is a very brief update from southern Poland. Ran into some internet at a communist era apartment block while waiting in being the chauffeur with my rental car. Wedding proceeding fine, language barrier interesting but not insurmountable. Probably no more info until Tuesday or Wednesday. Apparently tonight AND tomorrow night we're required to party for 12 hours starting at 6pm. Bus service back home IS provided to avoid any drunk driving whatsoever. |
|
| 1 comment|post comment | |
| new fortune-mod-gentoo-dev release | [Thu, 5 Mar 2009 03:24:00 -0800] | |||||
I really need to get back to writing in this blog. In the meantime, I scoured my email for the last 2 years of fortune submissions that I hadn't compiled together yet, and make a release. Go forth and amuse yourselves with it. |
||||||
| post comment | ||||||
| Want cardboard boxes? | [Mon, 2 Feb 2009 10:29:00 -0800] |
|
Since I've just moved, I've got an excess of cardboard boxes (now flattened). If you would like some of them, phone me to arrange picking some up from me early this week (just not today, as I'm out making some runs to the transfer station). Photos of moving and renovation fun to follow soon. |
|
| 5 comments|post comment | |
| gentoo mirror stats: master distfiles distribution. | [Tue, 16 Dec 2008 13:37:00 -0800] | |||||
A very quick overview of the existing setup:
Each of the distfiles mirrors has about 140-160MB of upstream traffic every day (including both the new files and the rsync overhead for scanning). If there are no files changed, the rsync traffic for a directory scan is 1-2MB. While this isn't a lot of traffic, it's very spiky, as mirrors tend to be on fast links. The new weekly builds from the Release Engineering team will probably be adding another 1.3GB per week, staggered as one arch per day. I got a small subset of the logs from the OSU FTP cluster for processing some of these statistics. They cover the 24 hour period of 2008/08/07 UTC. It does not have data of which traffic went via Internet2, and I've grouped the sources by country code (using IP::Country::Fast from CPAN). ( Numbers )As a bit of analysis, I think that more than half of our mirrors (Europe, Middle East, RU) would benefit from having a box to sync against in Europe. |
||||||
| 1 comment|post comment | ||||||
| gentoo mirrors stats: a rsync.gentoo.org box | [Tue, 16 Dec 2008 13:23:00 -0800] | |||||
These are the traffic for boobie.gentoo.org, which is a newer box in the official rsync.gentoo.org box directly maintained by the Infrastructure team. Hardware specs are 2x Xeon 3050 @2.13Ghz, 4GB RAM. Disk is mostly irrelevant - the rsync workload is served purely from RAM (tail-packing reiserfs, backed via loop device pointing to a file on tmpfs). Inbound traffic is spiky, but does not exceed 10Mbit by more than a little bit - we can the inbound rsyncs from the rsync1 master to 10Mbit. Outbound traffic varies between 4Mbit and 9Mbit, with an average around 6-7Mbit. ( Numbers ) |
||||||
| post comment | ||||||
| I'm a mac... vs. *NIX | [Tue, 25 Nov 2008 01:21:00 -0800] |
Many thanks to
|
|
| 3 comments|post comment | |
| Gentoo recruiting randomness | [Mon, 24 Nov 2008 00:51:00 -0800] | |||||
There are 92 developers without join dates. We need to find join dates for them via BugZilla and CVS/SVN. Also audit all join dates for every other developer. Lastly, discover and capture retirement dates for every past developer. Present statistics: 673 developers total. 247 active, 426 retired. |
||||||
| 2 comments|post comment | ||||||
| AD1989B SPDIF support fixed | [Tue, 16 Sep 2008 02:49:00 -0800] | |||||
Following up on my earlier posting on the AD2000BX/AD1989B SPDIF support being broken, I figured out the required fixes, and they are waiting in the sound-2.6 kernel tree for the next merge window |
||||||
| 8 comments|post comment | ||||||
| long-term ccache statistics for a portage-dedicated instance | [Sat, 13 Sep 2008 22:07:00 -0800] | |||||
Migrating data and cleaning up my old desktop display head machine, I decided to check out my ccache statistics. This is a very old cache, having first started 2006-01-13. The oldest item in the present cache is 2008-01-12, but the statistics are valid for the entire period. hits 229k and 834k misses = approximately 21% hit rate. This wasn't any crazy repeated compiling of my own code, just a dedicated ccache directory for Portage to use. ( Raw numbers ) |
||||||
| 11 comments|post comment | ||||||
| Linux MD RAID devices and moving spares to missing slots | [Sun, 7 Sep 2008 15:45:00 -0800] | |||||
Setting up the storage on my new machine, I just ran into something really interesting, what seems to be deliberate usable and useful, but completely undocumented functionality in the MD RAID layer. It's possible to create RAID devices with the initial array having 'missing' slots, and then add the devices for those missing slots later. RAID1 lets you have one or more, RAID5 only one, RAID6 one or two, RAID10 up to half of the total. That functionality is documented in both the Documentation/md.txt of the kernel, as well as the manpage for mdadm. What isn't documented is when you later add devices, how to get them to take up the 'missing' slots, rather than remain as spares. Nothing in md(7), mdadm(8), or Documentation/md.txt. Nothing I tried with mdadm could do it either, leaving only the sysfs interface for the RAID device. Documentation/md.txt does describe the sysfs interface in detail, but seems to have some omissions and outdated material - the code has moved on, but the documentation hasn't caught up yet. So, below the jump, I present my small HOWTO on creating a RAID10 with missing devices and how to later add them properly. ( MD with missing devices HOWTO ) |
||||||
| 21 comments|post comment | ||||||
| Apparently non-existent, but quite real parts: Analog Devices AD2000B | [Wed, 3 Sep 2008 13:37:00 -0800] |
|
Edit 2008/09/16: Code fixed now, no specs available yet See my patches here. Edit 2008/09/05:A private source that I inquired of indicates that the AD2000B part was only a special run of the AD1989B part. There shouldn't be any functional differences. On the side of a spec sheet, the AD1989B specs should be available "shortly" from Analog Devices. Original posting:So in more details to follow, I picked up hardware for a new workstation to replace my G5. The only part of the hardware that isn't working yet, is the digital audio (SPDIF/Toslink) output. My motherboard is an Asus P5Q-Premium, and the specifications claim to have "ADI® AD2000B 8-Channel High Definition Audio CODEC" as the audio chip. This chip is apparently the successor to the AD1988B chip. The analog audio part works fine, just that I use optical to overcome an interference issue on the run between my computers and my actual working area of my desk (with a small digital decoder and stereo speakers). Digging around in the ALSA drivers, it just seems I need to find a different set of controls to toggle the digital lines to be outputs or enabled - and that this data would be in the public datasheet, just like previous versions of the chip. I submitted a technical request to Asus a few days ago, with no response yet. I also contacted Analog Devices directly. Their customer support referred me to their application engineers, whom I phoned, and they then proceeded to deny the existence of the chip, and I quote: "It's not in my system, we don't manufacture it." That's really interesting, because I've got it on my motherboard! Either the divisions of Analog Devices aren't talking, or Asus is using chips from a 3rd party that's ripping off Analog Device's trademark amongst other things. Here's the text off the chip: AD2000BX 14??793.1 #0816 0.3 SINGAPORE I tried to take a photo, but it's really annoying and hard to read, without dis-assembling my machine, which I'd prefer not to do at this point. However, I did find another photo on the web, of the same area from a review of the motherboard. The Analog Devices logo is also clearly visible after the 'BX' portion of the text. From the photo I could make out: AD2000BX 1383055.1 #0808 0.2 SINGAPORE If I had to make a guess about it, the chip is AD2000BX, the second line is the serial number, the third is the year and week of manufacturer, plus the revision of the chip, and the last line is the manufacture location. If you're from Asus or Analog Devices, and you're reading this, where's the datasheet for the chip? Is it a real ADI part? I simply want the public datasheet like the rest of models so that I can fix digital audio output in Linux myself, and contribute it back to the ALSA project. P.S. The upstream ALSA bug is here. There's no downstream Gentoo bug. |
|
| post comment | |
| Dear Lazyweb: Linksys SRW2016/2024 VLAN functionality | [Tue, 12 Aug 2008 23:24:00 -0800] | |||||
Dear Lazyweb, Specifically, I'd love to replace my need for having a separate switch for my external segment vs. my internal segment, with a single switch and two/three VLANs. I tried to do it with the Dell switch, but found disastrously that it just didn't pass the broadcast packets at all :-(. On the plus side, the Dell switch did get me the jumbo frames that I wanted. So, does anybody have a Linksys SRW2016 or SRW2024 and can report on how well they work with DHCP packets over VLAN-segregated networks? |
||||||
| post comment | ||||||
| Jeeves IRC replacement now alive - Willikins | [Wed, 6 Aug 2008 14:27:00 -0800] |
|
This is a copy+paste from my email to the gentoo-dev mailing list, simply because some developers and users follow the RSS feeds rather than read email. If you want the bot in your channel and you are a channel founder/lead op, please respond on the thread in the mailing list
Hi folks,
Sorry that it's taken this long to get completed, but the Jeeves
replacement, Willikins, is finally 99% done, and ready to join lots of
channels.
Getting the bot out there
-------------------------
If you would like to have the new bot in your #gentoo-* channel, would
each channel founder/leader please respond to this thread, stating the
channel name, and that they are the contact for any problems/troubles.
Bug reports
-----------
Please open a bug in the Gentoo Infrastructure product, using the
'Other' component, and assign it directly to me.
Custom bot functionality:
-------------------------
Here's all the functionality that we have assembled, beyond the standard
rbot stuff.
Bugzilla
========
!bug [ZILLA] ID
Looks up bug #ID in the per-channel default or specified bugzilla.
!bugstats [ZILLA]
Totals of bugs per the bugzilla 'status' field.
!archstats [ZILLA] [STATUS] [RESO]
Totals of bugs per architecture, optionally with some specific set of
status or resolution values, comma delimited.
status = OPEN, DONE, UNCONFIRMED,NEW,ASSIGNED,REOPENED, RESOLVED, VERIFIED, CLOSED
Reso = FIXED, INVALID, WONTFIX, LATER, REMIND, DUPLICATE, WORKSFORME,
CANTFIX, NEEDINFO, TEST-REQUEST, UPSTREAM
zilla = gentoo xine sourcemage redhat mozilla kernel fdo abisource
apache kde gnome
If you want another bugzilla, file a bug.
Gentoo-specific
===============
!meta [-v] [CAT/]PACKAGE
Print the metadata and optionally herd members for a given package.
!changelog [CAT/]PACKAGE
Changelog stats for a package
!devaway list
List all away developers.
!devaway DEVNAME
Display .away message for a single developer.
!herd HERD
Show herd members
!expn NAME
Show the expansion of any public Gentoo mail alias
!glsa GLSAID
Shows the title and external IDS for any given GLSA ID.
!earch [CAT/]PACKAGE
Earch output for a given package
!rdep [CAT/]PACKAGE
Reverse RDEPEND for a given package
!ddep
Reverse DEPEND for a given package
What isn't supported yet
------------------------
1. !glsa -s TEXT
This used to search for GLSAs that matched that string in their title or
external IDS.
2. New bug announcements
Jeeves used to announce brand new bugs to #gentoo-bugs as well as
targeted channels or users, depending on the product, component,
assignee, cc and a number of other factors (deeply nested if/else
trees). The old implementation had this in code entirely, and it would
be nice to avoid having to modify the code whatsoever, and instead have
some domain-specific language for doing this.
Source availability
-------------------
Gentoo specific:
http://git.overlays.gentoo.org/gitweb/?p=proj/rbot-gentoo.git
Bugzilla support:
http://git.overlays.gentoo.org/gitweb/?p=proj/rbot-bugzilla.git
(flameeyes has his own tree as well, but he's been sick lately, so it
was lagging behind my development)
Right now, if you want to run your own instance of the bot, you will
need the latest Git tree of the rBot itself, as upstream only fixed the
last remaining issue a couple of hours ago.
Thanks to
---------
solar:
Running the old Jeeves Eggdrop till now, and helping to document all of
the Eggdrop functionality we used.
flameeyes:
Bugzilla plugin development
halcy0n:
Gentoo-specific stuff
tango_, jsn-:
(rbot upstream developers) For fixing the bugs as I found them :-).
|
|
| post comment | |
| SSH ControlMaster for Gentoo CVS | [Tue, 5 Aug 2008 14:56:00 -0800] | |||||
Cardoe was complaining that repeatedly hitting the Gentoo CVS server was too slow, and it turned out he wasn't using SSH ControlMaster at all. Other developers have blogged about it before, but here is a quick reminder how. Without ControlMaster, running "time ssh robbat2@cvs.gentoo.org w" shows a turnaround of 1.9 seconds. With ControlMaster, It's more in the range of 0.07-0.09 seconds :-). ~/.ssh/config:
Host master-cvs.gentoo.org
HostName cvs.gentoo.org
User robbat2
ControlMaster yes
ControlPath ~/.ssh/master-%l-%h-%p-%r.sock
Host cvs.gentoo.org
ControlMaster no
ControlPath ~/.ssh/master-%l-%h-%p-%r.sock
BatchMode yes
Setup Usage:ssh -f -n -N master-cvs.gentoo.org Now just do anything like you would normally. For security, you should probably close the ControlMaster session if you're going away from your machine for a long time. It would be nice to detect the loss of the ControlMaster and re-initiate it always at the start of a sequence. |
||||||
| 4 comments|post comment | ||||||
| Thoughts on bike locks | [Sun, 3 Aug 2008 23:10:00 -0800] |
|
This was my lock:
Any other bicycle lock types or different attacks that you can think of? Any way to effectively defeat one of more of the above attacks? From a security perspective, we need to consider not only the permitted attacks, but all possible attacks. In my case, they either defeated my combination (probably by shoulder-surfing), or just used some form of cutting attack. Since the lock wasn't left behind, I suspect the former more than the latter. |
|
| 16 comments|post comment | |
| navigation | ||||||||||
|