Killed the database of my last blog that was doing really well. Time to kill another one. ^_^
Wednesday, September 19, 2012
another crash
hda-intel: Invalid position buffer, using LPIB read method instead.
fuse init (API version 7.13)
udev: starting version 147
gnome-panel[2604]: segfault at 18 ip 00007f66f6c21aa6 sp 00007fffb5a5d7e0 error 6 in libgobject-2.0.so.0.2200.5;5059e53b (deleted)[7f66f6bff000+43000]
Bridge firewalling registered
type=1305 audit(1348069794.191:63): audit_pid=0 old=1655 auid=4294967295 ses=4294967295 res=1
type=1305 audit(1348069794.298:64): audit_enabled=0 old=1 auid=500 ses=1 res=1
fix laptop - dmesg
hda-intel: Invalid position buffer, using LPIB read method instead.
hda-intel: Invalid position buffer, using LPIB read method instead.
type=1305 audit(1348062320.507:32359): auid=4294967295 ses=4294967295 op="remove rule" key=(null) list=4 res=1
type=1305 audit(1348062320.507:32360): audit_enabled=0 old=1 auid=4294967295 ses=4294967295 res=1
readahead-collector: starting delayed service auditd
hda-intel: IRQ timing workaround is activated for card #0. Suggest a bigger bdl_pos_adj.
readahead-collector: sorting
readahead-collector: finished
fuse init (API version 7.13)
lo: Disabled Privacy Extensions
chrome[3942]: segfault at 160000002d ip 00007f0c6a319d81 sp 00007fff5cf1c450 error 4 in chrome[7f0c69044000+454b000]
chrome[3947] general protection ip:7f0c6a1bfe04 sp:7fff5cf1c500 error:0 in chrome[7f0c69044000+454b000]
chrome[3976] general protection ip:7f0c6a1f4665 sp:7fff5cf1ca70 error:0 in chrome[7f0c69044000+454b000]
chrome[4000] general protection ip:7f0c6a1c1e53 sp:7fff5cf1cd50 error:0 in chrome[7f0c69044000+454b000]
chrome[4008]: segfault at 80000000b ip 00007f0c6a2222b4 sp 00007fff5cf1bdb0 error 4 in chrome[7f0c69044000+454b000]
Bridge firewalling registered
Fixing the laptop
This kernel seems to be working. stick to this one.
uname -r
2.6.32-220.el6.x86_64
grabbing backups from other laptops - again!!! grrrrr!
Installing Google Chrome on CentOS 6.x x86_64
Download "64 bit .rpm (For Fedora/openSUSE)"
sudo yum install redhat-lsb
sudo rpm -Uvvh sudo rpm -Uvvh google-chrome-stable_current_x86_64.rpm
CentOS yum message - yawn
WFT is this crap now?
after yum update...
There are unfinished transactions remaining. Please run yum-complete-transaction as root.
yum gimme a break!
Thursday, August 30, 2012
Teach me how to fish - python exception handling
I really do want to understand this documentation:
from `pydoc try`
The ``try`` statement
*********************
The ``try`` statement specifies exception handlers and/or cleanup code
for a group of statements:
try_stmt ::= try1_stmt | try2_stmt
try1_stmt ::= "try" ":" suite
("except" [expression ["as" target]] ":" suite)+
["else" ":" suite]
["finally" ":" suite]
try2_stmt ::= "try" ":" suite
"finally" ":" suite
So what exactly does the first line mean? try_stmt ::= try1_stmt | try2_stmt. It's a bit confusing as I know how to implement very simple try statements like this;
try:
import io
print("importing io")
except ImportError:
print("nothing to import")
foo = None
try:
import somefunctionthatdoesnotexist
print("importing ...")
except ImportError:
print("nothing to import")
foo = None
Tuesday, August 21, 2012
fpm - flipping package manager
fpm -t rpm \ --name dc_fe \ --package dc_fe-`date +%d-%m-%y`.rpm \ --license 'O2 Labs' \ --architecture noarch \ --description "automated build of digital confidence git repo" \ --category 'Applications/Internet' \ --maintainer 'John Maclean'\ --url https://github.com/dogfood20/digital_confidence \ --vendor 'John Maclean ' \ --url 'https://github.com/dogfood20/digitalconfidence_fe.git' \ -s dir /home/jmaclean/work/o2-network/digitalconfidence_fe
core dump on box0 - IBM
this is on cato0
...skipping... [ 27.585133] [fix...] ? do_dbs_timer+0xf1/0x384 [cpufreq_ondemand] [ 27.585136] ------------[ cut here ]------------ [ 27.585142] WARNING: at /root/kbuild2/28051/repo/kernel-2.6.32-220.17.1.el6/linux-2.6.32-042stab055.16/arch/x86/include /asm/processor.h:1002 read_measured_perf_ctrs+0x78/0x84 [mperf]() (Not tainted) [ 27.585150] Hardware name: 9978A4G [ 27.585152] Modules linked in: cpufreq_ondemand acpi_cpufreq freq_table mperf vznetdev vzmon vzdev ipv6 nf_conntrack_tf tp ipt_REJECT xt_state iptable_filter ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_conntrack nf_defrag_ipv4 ip_t ables uinput tpm_tis tpm tpm_bios 8139too 8139cp mii sg microcode serio_raw i2c_i801 iTCO_wdt iTCO_vendor_support snd_hda_ codec_analog snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm snd_timer snd soundcore snd_page_alloc e 1000e ext4 mbcache jbd2 sr_mod cdrom sd_mod crc_t10dif ahci pata_acpi ata_generic i915 drm_kms_helper drm i2c_algo_bit i2c _core video output dm_mirror dm_region_hash dm_log dm_mod [last unloaded: scsi_wait_scan] [ 27.585198] Pid: 1610, comm: kondemand/1 veid: 0 Not tainted 2.6.32-042stab055.16 #1 [ 27.585203] [ ] ? do_dbs_timer+0x0/0x384 [cpufreq_ondemand] [ 27.585208] [ ] ? worker_thread+0x190/0x2d0 [ 27.585211] Call Trace: [ 27.585215] [ ] ? warn_slowpath_common+0x87/0xc0 [ 27.585221] [ ] ? autoremove_wake_function+0x0/0x40 [ 27.585224] [ ] ? worker_thread+0x0/0x2d0 [ 27.585228] [ ] ? warn_slowpath_null+0x1a/0x20 [ 27.585233] [ ] ? read_measured_perf_ctrs+0x78/0x84 [mperf] [ 27.585237] [ ] ? kthread+0x96/0xa0 [ 27.585242] [ ] ? child_rip+0xa/0x20 [ 27.585246] [ ] ? perf_event_task_sched_out+0x33/0x80 [ 27.585250] [ ] ? kthread+0x0/0xa0 [ 27.585254] [ ] ? child_rip+0x0/0x20 [ 27.585258] [ ] ? read_measured_perf_ctrs+0x0/0x84 [mperf] [/pre]
what an unholy mess!
what an unholy mess. In the Slough office....
sudo yum install ruby-ri.x86_64
Loaded plugins: fastestmirror, protectbase, refresh-packagekit, security
Loading mirror speeds from cached hostfile
epel/metalink | 14 kB 00:00
* base: mirror.widexs.nl
* epel: ftp.upjs.sk
* extras: ftp.nluug.nl
* openvz-kernel-rhel5: mirror.steadfast.net
* openvz-kernel-rhel6: mirror.steadfast.net
* openvz-utils: mirror.steadfast.net
* rpmforge: be.mirror.eurid.eu
* updates: mirror.nl.leaseweb.net
adobe-linux-x86_64 | 951 B 00:00
base | 3.7 kB 00:00
extras | 3.0 kB 00:00
google-chrome | 951 B 00:00 ...
local-repo | 4.0 kB 00:00
openvz-kernel-rhel5 | 951 B 00:00
openvz-kernel-rhel6 | 951 B 00:00
openvz-utils | 1.2 kB 00:00
rpmforge | 1.9 kB 00:00
rpmforge/primary_db | 2.5 MB 00:02
updates | 3.5 kB 00:00
updates/primary_db | 1.8 MB 00:01
0 packages excluded due to repository protections
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package ruby-ri.x86_64 0:1.8.7.352-7.el6_2 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==========================================================================================================================
Package Arch Version Repository Size
==========================================================================================================================
Installing:
ruby-ri x86_64 1.8.7.352-7.el6_2 base 2.4 M
Transaction Summary
==========================================================================================================================
Install 1 Package(s)
Total download size: 2.4 M
Installed size: 4.9 M
Is this ok [y/N]: y
Downloading Packages:
ruby-ri-1.8.7.352-7.el6_2.x86_64.rpm | 2.4 MB 00:05
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
Installing : ruby-ri-1.8.7.352-7.el6_2.x86_64 1/1
Verifying : ruby-ri-1.8.7.352-7.el6_2.x86_64 1/1
Installed:
ruby-ri.x86_64 0:1.8.7.352-7.el6_2
Complete!
Thursday, August 16, 2012
Wednesday, August 8, 2012
Tuesday, April 10, 2012
Remembering how to use Xen
I have not created a virtual machine with Xen in a few years. I want to create one for GNU BLAG/Linux so that we can upgrade the main box that the team use to build RPM packages.
Let's see how this works.
chkconfig --list | grep virt
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
libvirt-guests 0:off 1:off 2:on 3:on 4:on 5:on 6:off
libvirtd 0:off 1:off 2:off 3:on 4:on 5:on 6:off
Wednesday, September 28, 2011
Saturday, August 6, 2011
Gnome 3 - what happened?
Right,
Before I dig in and jump on the band wagon. Let me just say in this short and simple post that I gnome 3 is rubbish.
Before I dig in and jump on the band wagon. Let me just say in this short and simple post that I gnome 3 is rubbish.
- Where is the power button in the menu?
- How does one get a new terminal from the gui and not just show the existing ones?
- Why change so much so quickly?
- More of the gnome configurations rubbish. Just gimme a simple gui to make my set my desktop prefernces
- What Linus said
Net flopping
Called Bethere to get the setting for the static IP. Got that and put the router back to the original state. So removed the bridge between the Bebox and the Lyksys router. Net back to normal now but cannot shell into acidhome. Means that I have got to go back and sort it. This box must be back on line as it's the best box that I have...
Grrr!
- public facing bugzilla
- It's got tonnes of disk space
- 3GB of RAM should be more than adequate for MY needs
Grrr!
Thursday, July 28, 2011
No VPN at home for now

http://www.craigmayhew.com/blog/tag/vpn/
This essentially means that I will have no VPN at the base. One things that I have learned though is ssh tunnelling. It's really neat. The following allows me to open up the web interface for my router at home, from the browser at any location on hte net.
ssh -g -vv -L 8000:192.168.1.254:80 acidhomeSo after that I just type
localhost:8000, into my browser and it's just as if I was sitting at home, crossed-legged on the sofa. Heck, just for the sake of it I changed configs and ran a telnet session.Thanks Alan!
Wednesday, July 27, 2011
Tuesday, July 26, 2011
Testing firefox alphas on mobile devices
Look at the ruddy list of mobile devices listed. Bloody Android upstarts. NO BlackBerry, (hahaha), or iPhone listed
Tuesday, July 19, 2011
well guess who owns this domain
This is the google url shortening service.
host g.co
g.co has address 74.125.230.130
g.co has address 74.125.230.131
g.co has address 74.125.230.132
g.co has address 74.125.230.133
g.co has address 74.125.230.134
g.co has address 74.125.230.135
g.co has address 74.125.230.136
g.co has address 74.125.230.137
g.co has address 74.125.230.138
g.co has address 74.125.230.139
g.co has address 74.125.230.140
g.co has address 74.125.230.141
g.co has address 74.125.230.142
g.co has address 74.125.230.143
g.co has address 74.125.230.128
g.co has address 74.125.230.129
Subscribe to:
Posts (Atom)