You are viewing james_morris

James Morris Below are the 4 most recent journal entries recorded in the "James Morris" journal:
July 1st, 2009
01:45 pm


All my talk slides are now on Slideshare
I've uploaded the slides from essentially all of the talks I've given to Slideshare. This is likely more useful than my previous strategy of dumping them in a directory and leaving the rest up to search engine bots.

Click here for the full list of slides. They are all published under the Creative Commons attribution share-alike license.

One interesting slide title, which I'd forgotten about, is Kernel Security for 2.8, from the 2004 Kernel Summit. This was from when we were still expecting a 2.7 development kernel leading to a 2.8 stable kernel -- I think Linus announced the change in development model at that summit.

Included in this set of slides are several introductory and deeper technical overviews of SELinux; I hope they are useful for people who are looking for information for themselves, or if making their own slides. As the license suggests, please feel free to copy and extend them (but note that the older ones are going to be more out of date).

Tags: , , , , , , , , , , , , , , ,

(2 comments | Leave a comment)

June 10th, 2009
01:55 am


Fedora 11 with sVirt
sVirt (MAC security for Linux Virtualization), which I've previously discussed here, and formally presented at LCA in January, was released today as an integral part of virtualization in Fedora 11.

If you'd like to give it a spin, simply download and install Fedora and use the GUI admin tools to create a new virtual machine.

Thanks again to Dan Walsh, Dan Berrange and all the developers who helped with input and the heavy lifting work of completing the userland code. It still amazes me how fast things move in FOSS.

As mentioned in my last+1 post, Dan W will be talking on this topic at the upcoming LinuxCon.

Further developments in this area are already underway, and you can expect to hear about them in the coming months—see the talk slides for possible hints.

Tags: , , , , , , , , , , ,

(Leave a comment)

January 23rd, 2009
11:58 am


sVirt slides from LCA
The slides from my LCA talk on sVirt talk may be found here in PDF format.

The talk seemed to go reasonably well, and had a larger audience than I expected given that Tridge and Willy were talking at the same time. A video of the talk should appear online soon.

Tags: , , , , , , , , , , , , , , , , ,

(3 comments | Leave a comment)

January 22nd, 2009
05:20 pm


MacBook vs. projector saga
I've finally found reliable workarounds for a long-standing issue where my Intel MacBook doesn't work with most projectors.

The error message when trying to use xrandr to force output via VGA looks like:
$ xrandr --output VGA --auto
xrandr: cannot find crtc for output VGA

It seems the driver has a bug where it thinks it has the hardware available to drive the LCD panel, DVI and analogue VGA outputs at the same time, when it can in fact only handle two of these. xrandr shows three displays enabled:
Screen 0: minimum 320 x 200, current 1024 x 768, maximum 1280 x 1280
VGA connected (normal left inverted right x axis y axis)
   1024x768       60.0  
   800x600        60.3  
   640x480        59.9  
LVDS connected 1024x768+0+0 (normal left inverted right x axis y axis) 286mm x 179mm
   1280x800       59.9 +
   1024x768       60.0* 
   800x600        60.3
   640x480        59.9  
TMDS-1 connected 1024x768+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   1024x768       60.0* 
   800x600        60.3  
   640x480        59.9  
TV disconnected (normal left inverted right x axis y axis)

I'm guessing this might have something to do with both analogue and digital signals being sent out the same connector. In any case, the fix is to disable 'TMDS-1'.

This can be done during an active session:
$ xrandr --output TMDS-1 --off

$ xrandr --output VGA --auto

The X server can also be configured to disable 'TMDS-1' during startup. On F10, you need to first create an xorg.conf. I ended up doing this:

# yum install system-config-display

# system-config-display

and just quit, which seems to cause /etc/X11/xorg.conf to be generated.

I edited the file, adding the "Option" line to the "Device" section:
Section "Device"
	Identifier  "Videocard0"
	Driver      "intel"
	Option      "monitor-TMDS-1" "dvi"

then, I added this section:
Section "Monitor"
        Identifier "dvi"
        Option "Disable"  "true"

which all seems to work ok for me and is about as obvious as quantum supergravity.


LCA has been great fun so far -- more later.

Tags: , , , , , , , ,

(1 comment | Leave a comment)

James Morris Powered by