Entering BIOS on a Toshiba Satellite C855-2F0 laptop

I recently bought a Toshiba Satellite with the intention of putting Linux (Ubuntu) on it. The first hurdle turned out to get it to boot from a DVD or USB stick. I don’t understand why it has to be so difficult to get into BIOS on modern laptops.

This does not have anything to do with UEFI or secure boot but seems to be an attempt to stop people putting anything but Windows on their laptops. There is a trick to get in, though.

Start your laptop up. Then shut it down again, whilst holding down the left shift key. Once powered off, hold down <F2> and power it back on again. This will bring up a standard BIOS menu.

The laptop still would not boot my USB Ubuntu distro (written with LiLi USB creator) and it took disabling Secure Boot and UEFI booting in BIOS to get it to boot from the DVD. I now have both Windows 8 and Ubuntu installed but it requires switching BIOS from standard to UEFI boot to switch between them. Also, the Realtek RTL8723AE wifi adapter doesn’t work and a bit of Googling suggests that Linux 3.8 is needed for this.

Stay tuned, UEFI dual boot and wifi will be the next little projects.

Posted in Linux | Leave a comment

IRC and ##aix

A kind of a follow-up from a well-known AIX blogger, promoting IRC and the AIX related channel ##aix.

Even though IRC is old, there really isn’t any other equivalent medium to replace it, and with its continued popularity, that is really a testimony to how well it works. Whether you’re just looking for a chat or instant support, IRC is there to help.

If you’re looking for AIX help or like-minded people, ##aix is a great place to go!

Posted in AIX | Leave a comment

On-line, delivery only companies…

It never ceases to amaze how large companies, world-wide, market dominating companies even, cannot find a way to deliver your order.

Surely, they have realised by now that people are generally at work during the day? Or maybe not…

Dear Amazon,

You have now lost money as after three delivery attempts, you failed to get my parcel to me. If your delivery slots were 6pm-8pm during the week and a Saturday slot as well, everyone would get their parcels and be happy…

Posted in Uncategorized | Leave a comment

squidGuard guide

I have used squidGuard for years, but only a basic set-up based on cut-and-paste from their examples. The reason for this is that that is all there is… Examples! squidGuard appears to be impossible to find proper documentation for, as even their own website doesn’t explain how it works. Google doesn’t seem to know either…

It is actually very simple, so a quick description of the logic follows.

Within a block, say the default block, you must have a pass statement and if you want to block anything, you must have a redirect statement as well. If you want to rewrite a URL, you need a rewrite statement. You can have both redirect and/or rewrite in your ACL block but as said, without a redirect, you can’t block anything.

A block within an ACL, looks like this:

default {
                   pass    !violence !hacking any
                   rewrite facebook
                   redirect http://www.site.net/bad.html
              }

When the source hits a block, let’s assume default, it will first look for the pass statement. It will read from left to right and make a decision based on the first match and exit the pass statement after that. If the first match was none or a destination preceded by ‘!’, squidGuard will then return the redirect within the block. (If there is no redirect, squidGuard will do nothing and exit).

A destination is defined as:

dest violence {
        domainlist      violence/domains
        log     violence
        urllist violence/urls
}

and will match any URL in the file urls and any domain in the file domains. This directory structure and its files can be found under the directory specified with the dbhome directive, usually at the beginning of the configuration file. The log has any attempts to reach blocked sites listed.

If the match was either ‘any’, ‘all’, or a destination not preceded by ‘!’, squidGuard will execute any rewrite rules in the block on the URL, and exit returning the re-written URL. If there are no rewrite rules in the block, it will do nothing and exit. Both cases means allowing access to the requested URL.

If no destination in the pass statement matches, squidGuard will do nothing and exit, thus allowing squid to fetch the requested page.

So, the line:

pass none good !hacking any

will always block, as it executes the redirect as soon as it hits none. The line:

pass good any !hacking none

will always pass, as it exits when hitting any, if not before.

pass local none

will pass any local destinations listed in the local destination.

I think that was the main bit to get out, the magic within source blocks is what’s not documented. The rest is fairly straight forward. Good luck.

Posted in Uncategorized | Leave a comment

xpinfo and dyntrk – FSCSI_ERR10

I had noticed lots of FSCSI_ERR10 ‘Configuration mismatch’ messages with identifier 1FB4FD21. The errpt entry had the PID as 12D0E4 hex in the sense data:

SENSE DATA
0000 0000 0000 00D3 0000 0016 0200 0000 0000 0000 0000 0000 0000 0000 0000 0000
0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 0000 00C8 0800 0000 0000
0000 0000 0300 0000 0000 0003 0000 0000 0012 D0E4 0000 0000 00C8 2500 03FD 0000

Which translated to 1233124 decimal. I setup an ODM errnotify entry to dump the process table when the driver error occurred:

server–> odmget -q “en_name = mousetrap” errnotify

errnotify:
en_pid = 0
en_name = “mousetrap”
en_persistenceflg = 0
en_label = “FSCSI_ERR10″
en_crcid = 0
en_class = “”
en_type = “”
en_alertflg = “”
en_resource = “”
en_rtype = “”
en_rclass = “”
en_symptom = “”
en_err64 = “”
en_dup = “”
en_method = “/usr/bin/ps -efk >> /tmp/ps.out”

Wasn’t long before more errors showed up. The process turned out to be xpinfo an HP supplied command to list LUNs on an HP XParray storage system.

The misconfiguration was because the command used a legacy ioctl call that left the N-PORT ID blank, which isn’t supported when Dynamic Tracking (dyntrk) is enabled. The version of xpinfo was the latest:

AIX XPinfo, v 21.00.00 2010-02-21

I later realised this problem didn’t occur on another system which the same version of AIX. I need to check if RMLIB is installed correctly on both systems.

P.S. Have now checked RMLIB and it was version 5.1 on the problem system and 5.8 on the working system

Posted in AIX | Leave a comment