Showing posts with label linux. Show all posts
Showing posts with label linux. Show all posts

2014-05-18

Use find command to convert markdown files to html | linuxine.com

Use find command to convert markdown files to html | linuxine.com:


Shud mebbe tagz thiz wun heer wit mebbe #linux #markdown & stuffz shud mebbe soartz thiz heer stuffz intew mebbe sum liztingz & stufffz sum blogur mebbe?

Categorized List of HOWTOs

Categorized List of HOWTOs:

Em blogz thiz heer mebbe  'viasum Blog this' stuffz & stuffz, meh.

Iz mebbe wud mek a guud buukmark thiz heer.  Iz alzo needz sum uv sum mebbe hazhmarx# tagz aor mebbe @ tagging sum uv sum Bloggur thiz heer iz shud bee undur sum Bloggur Sexshun uv thiz heer Blog & stuffz, sum stuffz.

2009-10-13

Sticky Bits

4000 (the setuid bit)
Executable files with this bit set will run with effective uid set to the uid of the file owner. Directories with this bit set will force all files and sub-directories created in them to be owned by the directory owner and not by the uid of the creating process, if the underlying file system supports this feature

see chmod(2) and the suiddir option to mount(8).

2009-09-23

KNOPPIX V5.1.1 CD 2007-01-04 EN to USB

So we have found out that the KNOPPIX 6.0.1 release is a BETA release, and hence does not have some features we want - specifically, it's not set up for persistence; there seems to be no way to get it to save the state and the user directories to persistent storage.

Furthermore, we have decided to install the older, released version, KNOPPIX v5.1.1, and have downloaded the KNOPPIX v5.1.1 ISO to the 2nd partition of the 4G USB stick which we installed v6.0.1.

Since the KNOPPIX v6.0.1 was missing some critical tools - telnet, K3B, etc - we have rebooted the HP machine called 'box' under Damn Small Linux (DSL) to perform this procedure.

The procedure is:

  1. mount USB pendrive partition 1 (the VFAT partition with the CD ISO image for v6.0.1) into the DSL file system.
  2. mount USB pendrive partition 2 (the ext3 partition with the copy of KNOPPIX_V5.1.1CD-2007-01-04-EN.iso) into the host (DSL) file system
  3. copy the KNOPPIX v5.1.1 ISO file system from USB pendrive partition 2 to USB pendrive partition 1
  4. perform the install tweaks given in USB KNOPPIX 5.1.1 persistent install from Linux | USB Pen Drive Linux on USB pendrive partition 1.

This should make the pen drive boot KNOPPIX 5.1.1 with persistence.

Note that both partitions on the existing USB pen drive are formatted as described in the installation document referenced above. That is, partition 1 is a 750M FAT16 partition for the CD image, and partition 2 is the remainder of the pen drive space (~3G in ths case) dedicated as an ext3 (Linux) file system.

Once the pen drive is bootable and persistent with KNOPPIX 5.1.1, it will be desirable to make partition 2 on the USB pen drive auto mount as the /home directory tree of the new system.

2009-03-09

Set an HTTP Basic Authentication Password

To set an HTTP Basic Authentication password on a sub-directory within the Apache document root directory tree:

  1. select the password file to use (this file can be created using the htpasswd command).
  2. Create the .htaccess in the directory that is to be protected.
  3. Within the .htaccess file, place Apache configuration directives similar to below.
  4. Create the username/password combination for login to the directory.

Ref:

2009-03-05

strftime() output format settings [from the man page]

The output format strings used by strftime() have become a sort of defacto standard for date/time formating in Unix (Linux), and Unixish applications. Here is a list of the output modifiers defined by strftime() for use in the output format strings:

       %%     a literal %

       %a     locale's abbreviated weekday name (e.g., Sun)

       %A     locale's full weekday name (e.g., Sunday)

       %b     locale's abbreviated month name (e.g., Jan)

       %B     locale's full month name (e.g., January)

       %c     locale's date and time (e.g., Thu Mar  3 23:05:25 2005)

       %C     century; like %Y, except omit last two digits (e.g., 21)

       %d     day of month (e.g, 01)

       %D     date; same as %m/%d/%y

       %e     day of month, space padded; same as %_d

       %F     full date; same as %Y-%m-%d

       %g     last two digits of year of ISO week number (see %G)

       %G     year of ISO week number (see %V); normally useful only with %V

       %h     same as %b

       %H     hour (00..23)

       %I     hour (01..12)

       %j     day of year (001..366)

       %k     hour ( 0..23)

       %l     hour ( 1..12)

       %m     month (01..12)

       %M     minute (00..59)

       %n     a newline

       %N     nanoseconds (000000000..999999999)

       %p     locale's equivalent of either AM or PM; blank if not known

       %P     like %p, but lower case

       %r     locale's 12-hour clock time (e.g., 11:11:04 PM)

       %R     24-hour hour and minute; same as %H:%M

       %s     seconds since 1970-01-01 00:00:00 UTC

       %S     second (00..60)

       %t     a tab

       %T     time; same as %H:%M:%S

       %u     day of week (1..7); 1 is Monday
       %U     week number of year, with Sunday as first day of week (00..53)

       %V     ISO week number, with Monday as first day of week (01..53)

       %w     day of week (0..6); 0 is Sunday

       %W     week number of year, with Monday as first day of week (00..53)

       %x     locale's date representation (e.g., 12/31/99)

       %X     locale's time representation (e.g., 23:13:48)

       %y     last two digits of year (00..99)

       %Y     year

       %z     +hhmm numeric timezone (e.g., -0400)

       %:z    +hh:mm numeric timezone (e.g., -04:00)

       %::z   +hh:mm:ss numeric time zone (e.g., -04:00:00)

       %:::z  numeric time zone with : to necessary precision (e.g., -04, +05:30)

       %Z     alphabetic time zone abbreviation (e.g., EDT)

       By  default, date pads numeric fields with zeroes.  The following optional
       flags may follow `%':

       -      (hyphen) do not pad the field

       _      (underscore) pad with spaces

       0      (zero) pad with zeros

       ^      use upper case if possible

       #      use opposite case if possible

       After any flags comes an optional field width, as a decimal  number;  then
       an optional modifier, which is either E to use the locale's alternate rep-
       resentations if available, or O to use the locale's alternate numeric sym-
       bols if available.

Examples:

To get the output YYYYMMDD (where YYYY is the four-digit year, and MM and DD are the two-digit, zero-left-padded month and day values, respectively) from the 'date' command, use the following command:

  date +"%Y%m%d"

The output should look like:

  20090305

To get the international standard date format, use the command

 date +"%F"

The output should look like

  2009-03-05

Values output by the 'date' command can be stored in variables inside a script (e.g. Bash, Perl, etc) thus:

  foo=`date +"%F"`

For Bash, or

  my $foo = `date +"%Y%m%d"`;

in Perl.

2009-02-12

MP3 Decoder Not Installed by Default

The following error is common when K3B (CD/DVD Burning Software) is run for the first time on a stock-install system:

Mp3 Audio Decoder plugin not found.

K3b could not load or find the Mp3 decoder plugin. This means that you will not be able to create Audio CDs from Mp3 files. Many Linux distributions do not include Mp3 support for legal reasons.

Solution: To enable Mp3 support, please install the MAD Mp3 decoding library as well as the K3b MAD Mp3 decoder plugin (the latter may already be installed but not functional due to the missing libmad). Some distributions allow installation of Mp3 support via an online update tool (i.e. SuSE's YOU).

How to Mount a Remote SSH Filesystem using sshfs

Ran across this bit in the Ubuntu Wordpress Blog: How to Mount a Remote SSH Filesystem using sshfs

The sshfs can be used to mount and unmount remote file systems in user space over an SSH tunnel.

The sshfs program was not installed by default.

This program (sshfs) is relate to the FUSE user-space file system architecture.

  1. create /media/<MOUNTPOINTNAME>
  2. chown the newly created directory to belong to the current user
  3. issue 'sshfs user@host:/path /media/<MOUNTPOINTNAME>' to mount the remote filesystem

Adding to the Perl Include Path

[this is from the Perl Module Installer documentation supplied with cPanel and CenOS]

Suppose you need to add a path - say /home/earthsid/perl - to the Perl include path. You will need to modify the Perl code to set the INC path in the BEGIN block of the program.

You can do this by adding the following code to your script:

BEGIN {
    my $homedir = ( getpwuid($>) )[7];
    my @user_include;
    foreach my $path (@INC) {
        if ( -d $homedir . '/perl' . $path ) {
            push @user_include, $homedir . '/perl' . $path;
        }
    }
    unshift @INC, @user_include;
}

Note that - no matter where the BEGIN block resides in a program, it is always excuted first, before ay other part of hte script lib.

Installing OpenSuSE 11.1 over the Internet

You will need to know these to get the NET install started...

Net Install Parameters:
  Protocol: HTTP
  Host: www.gtlib.gatech.edu
  Path: pub/opensuse/distribution/11.1/repo/oss/

Net Install CD:
  http://www.gtlib.gatech.edu/pub/opensuse/distribution/11.1/iso/openSUSE-11.1-NET-i586.iso

ISO Directory:
  http://www.gtlib.gatech.edu/pub/opensuse/distribution/11.1/iso/

Furthermore, you may need to install these lines into your /etc/hosts file:

## added to solve un-explained "Couldn't resolve host..." error
## while installing OpenSuSE 11.1 (NET) - these lines provide the
## hostname->to->ip address mappings for the OpenSuSE mirrors; 
## NOTE:  These addresses should be checked and updated before use!  
## These is just what the 'host' command returned today...
##     -pdwilso(at)gmail.com
128.8.235.18    mirror.umoss.org
134.174.150.123 mirrors.med.harvard.edu
149.20.20.135   .kernel.org
64.50.236.216   suse.mirrors.tds.net
204.152.186.174 opensuse.ca.unixheads.org
64.50.238.52    ftp.osuosl.org
64.50.236.52    ftp.osuosl.org
146.137.96.15   mirror.anl.gov
146.137.96.7    mirror.anl.gov
198.60.22.13    mirrors.xmission.com
146.6.54.21     ftp.utexas.edu
72.3.128.167    mirror.rackspace.com
155.98.64.86    opensuse.cs.utah.edu
129.21.2.111    mirrors.rit.edu
64.90.181.77    mirror.nyi.net
80.237.136.138  ftp.hosteurope.de
156.56.247.193  ftp.ussg.iu.edu

Hosts file: uploads/opensuse-mirror-hosts-20090212.txt

An odd aspect of the DNS name resolution problem: For some reason, Konqueror could not resolve host names, but 'host' could.

Finally, here is a script that I used to create the hosts listing:

#!/bin/sh
host $1 | perl -e 'while(<>){\
  chomp;m/([a-z.]+) has address ([0-9.]+)/ && print"$2\t$1\n";\
}'

This script is used like:

  getip.sh mirror1.kernel.org

and returns

  <IP-Address>\t<Hostname>

If you've got root, the output of getip.sh can be used thus:

  getip.sh mirror1.kernel.org >> /etc/hosts

Of course there are other ways to do this. Of course you should check the output of getip.sh before appending it to /etc/hosts.

Caveat emptor. YMMV. Don't take any wooden nickels.

2009-02-07

Emacs TRAMP

Neat. Remember all those years ago when you were opening and editing files on remote servers using Emacs and its Ange-FTP module? Remember how it all went bad back during the war when packet sniffers became common, and you couldn't trust your password to the wires, anymore? Remember the joy you felt when you realized that ssh, scp, and sftp had it within their power to fix all that for good and all as soon as all those benighted ISPs opened port 22 to their secure shell servers instead of those stupid other ports and their clear-text protocols? Remember the angst you felt waiting for some Lisp guru to take pity on your pathetic ineptitude with with her parenthetical language and code you up an SSH-based file I/O substrate for your favorite horned text processing system? Remember the bleak years of despair and hopelessness you spent trashing random windows boxes, wracked with frustration as your Emacs-nox was denied you by petty bureaucrats and ill-conceived Win32 solutions?

Rejoice now, all ye stricken!

http://www.gnu.org/software/tramp/

ftp://ftp.gnu.org/gnu/tramp/

One (1) prop to the KDE Help System and its authors, that's where we discovered all this... would add another if there was a way to provide a bookmark into the desktop help system, here - as is, I don't even have the hierarchical path info - just the document title [TRAMP version 2.0.57 User Manual], which doesn't seem to be useful in finding the file within the help system, as the "search" function has some grievance that remains un-addressed....

2009-02-06

X Session Problems (KDM, GDM, WDM, XDM, FVWM and more)

It seems clear to me at this point that the desktop is going to have to be KDE, and (in this case, now) KDE4, in particular.

The bottom line is simply this: the KDE widget set has the widgets I want, and it works more consistently than e.g. GNOME.

This blog has been down for days because the gnome-panel has decided to - each time it is launched - go into an infinite loop which hogs something around 100% of the processor cycles, and will not stop until it is killed with a 'pkill -9 gnome-panel'.

Now, I know this problem with GNOME has something to do with the stored configuration, but I have been unable to determine just exactly which aspect of the GNOME configuration is causing the problem.

Furthermore, once I realized that GNOME was not healing itself, and was in fact doing everything in its power to prevent me from using the computer at all, I tried to switch back to KDE. That effort took down the whole X server config, starting with the session login manager - neither kdm nor gdm would work, and gdm wouldn't even start.

After a brief flirtation with wdm, I took the fallback to xdm - which sort of worked, but wouldn't start an X session until I re-installed both GDM and KDM.

Having been through all that, I was so relieved to see the KDE desktop again I haven't changed it since.

Now, in between all this, I have also found that FVWM as installed by OpenSuSE does not come configured - the "out of the box" configuration is simply a black screen (arguably an improvement over the miore-effect tiling that is the X default) with the default, built-in root menu available using the right mouse button on the black desktop. After screwing around with the FVWM config - and since I did not have my archived FVWM configuration immediately available, I tried to switch to a different - I.E. non-FVWM session - which is when I discovered that the session configurations were hosed. Specifically, when I logged in to the FVWM session, something in the session manager config got changed, and there was no non-trivial way to change it back.

The really unfortunate part of all this is that I do not have a "fix" to present here. This is all just a problem description, and fails to even adequately define the problem in reproducible terms.

I will, in the course of getting this desktop environment to a usable state, try to generate some more coherent bug reports and/or workarounds to the problems that keep coming up.

Meanwhile, KDE4 is going to be "it" - I expect it

a) to be simpler to configure for user-friendly day-to-day use

b) to be more robust once configured

c) to provide a widget set tailored for my needs

FVWM is more configurable, and arguably more powerful for detailed, perhaps non-standard, configuration items, but tends to be less intuitive in its default modes, and more tedious to bring into compliance with the Windows-like look and feel which GNOME and KDE have shown to be so popular.

In short, I will provide KDE as a baseline desktop, with customizations purpose-built using FVWM (these will typically be for dedicated accounts).

Finally: I think I like KDE3 better than KDE4. All my transparent widgets from KDE3 have gone opaque in KDE4, and the glassy, glossy radioactive eye-candy from KDE3 is toned way down - at least in the default versions. I have some screenshots of each which I will link here (once I find the URLs) that should highlight some of the differences.

2008-11-06

Copy Knoppix to HD

# How to set up a "Poor Man's Install" so that the machine boots from a CD
# image that's been copied to the hard disk.  GRUB is used as the boot loader.
# It is assumed that you are booted to Knoppix CD 5.1.1, and ALL HARD DISK
# CONTENTS WILL BE ERASED!!!

#  0.  Switch to root with su -

#  1.  Partition the hard disk as follows (minimum 20GB hard disk recommended)
#      10GB /dev/hda1, type 83
#      2GB /dev/hda2, type 82
#      (the rest of the disk) /dev/hda3, type 83
#

# determine the disk device name, which is usually /dev/hda for IDE and
# /dev/sda for SATA

DEVICE=`fdisk -l 2>/dev/null | head -2 | tail -1 | awk '{print $2}' | sed 's/\:$//'`

# print warning and confirmation
clear
echo "This CD will install Knoppix 5.1 on your hard disk."
echo "The system will then boot from the hard disk as if you had booted from"
echo "the Knoppix CD, also known as a Poor Man's Install."
echo
echo "WARNING:"
echo "ALL EXISTING DATA ON THE HARD DISK $DEVICE WILL BE ERASED BY THIS PROCESS!!!"
echo
echo -n "Do you wish to continue? (y/n): "
read ANSWER
if [ "$ANSWER" = "y" -o "$ANSWER" = "Y" ]
then
:
else
  echo "Installation aborted!"
  sleep 3
  exit
fi


# clear the old partition table
dd if=/dev/zero of=$DEVICE bs=512 count=1

# determine the cylinder size
CYL_SIZE=`fdisk -l $DEVICE 2>/dev/null | grep "Units = cylinders" | awk '{print $9}'`

# determine the number of cylinders in 10GB
SIZE1=`echo "1073741824 * 10 / $CYL_SIZE" | bc`

# determine the number of cylinders in 2GB
SIZE2=`echo "1073741824 * 2 / $CYL_SIZE" | bc`

# partition the disk
sfdisk -f $DEVICE <<EOF
,$SIZE1,L
,$SIZE2,S
,,L
EOF


#  2.  Create an ext3 filesystem on the first and third partitions
mke2fs -j -m0 ${DEVICE}1
mke2fs -j -m0 ${DEVICE}3


#  3.  Create a swap area on the second partition
mkswap ${DEVICE}2


#  4.  Mount first partition on /media/p1
mkdir /media/p1
mount ${DEVICE}1 /media/p1


#  5.  Copy the contents of the Knoppix CD to /media/p1
echo
echo "Copying CD contents to hard drive.  This will take a few minutes."
/bin/cp -af /cdrom/KNOPPIX /media/p1

# remove /media/p1/KNOPPIX/knoppix.sh
/bin/rm -f /media/p1/KNOPPIX/knoppix.sh


#  6.  Create a boot directory on /media/p1 and copy the kernel and initrd
#      there
mkdir /media/p1/boot
/bin/cp -af /boot/vmlinuz-2.6.19 /media/p1/boot
/bin/cp -af /cdrom/boot/isolinux/minirt.gz /media/p1/boot


#  7.  Create a directory for GRUB
mkdir /media/p1/boot/grub


#  8.  Populate the GRUB config file.  If you require different default boot
#      options, include them in the kernel line.
cat <<EOF > /media/p1/boot/grub/menu.lst
default=0
timeout=10

title Knoppix 5.1 (Poor Man's HD install)
        root (hd0,0)
        kernel /boot/vmlinuz-2.6.19 ramdisk_size=100000 init=/etc/init lang=us apm=power-off vga=normal initrd=minirt.gz nomce loglevel=0 quiet BOOT_IMAGE=knoppix BOOT_IMAGE=linux lang=us fromhd=${DEVICE}1 noeject noprompt
        initrd /boot/minirt.gz
EOF
cd /media/p1/boot/grub
ln -s menu.lst grub.conf


#  9.  Install GRUB
cd /media/p1
grub-install --root-directory=/media/p1 --no-floppy $DEVICE


#  10.  Reboot (and remove CD)
reboot

Now on Cricket Broadband

Posting this over a local wireless network behind a cricket broadband connection from a Windows Vista machine conntected to the USB dongle, and running Windows' Internet Connection Sharing or wtf it's called ... will connect eth and linksys wifi router to ICS-enabled and connect linux boxen wifi-ly.

Hello KNOPPIX. Insufficient bandwidth to practically d/l OpenSUSE 11 DVD ISO? testing one two three...

linux hack wanted, cheep/chirp

over

2008-01-23

Ubuntu Forums: Acer 5520 -specific Atheros AR5007EG HowTo

Ubuntu Forums is hosting a some discussions about getting the Atheros WiFi card working on the Acer 5520 laptop.

Also, Bug #162251 in network-manager-applet (Ubuntu) details a bug which the post's author says may be related to the problems with

2007-07-19

Additional info about Konqueror, Blogger Dashboard, and Spell Checking

Apparenlty the prooblem with Konqueror dying trying to load the Blogger.com Dashboard was temporary. This post is made using Konqueror 3.5.2 (KDE 3.5.2). It appears that the problem may have had somewhat to do with the Spell Checker problems I was trying to post about earlier (at the time the Konqueor crash occurred.

The problem then was that Konqueror as configured by default under Knoppix 5.0.1 was still using the German language dictionary for spell-checking, even though I had changed the KDE language preference to US English (US-EN) using the KDE Kicker panel [I.E. "toolbar"] widget.

I have since restarted KDE (due to some problems that seemed to have been caused by my moving the system /tmp directory to an internal drive partition while KDE was still running) and Konqueror starts up and runs and has not [yet] crashed on the Blogger Dashboard interface.

The earlier crash which killed Konqueror for the duration of that KDE session occurred after the problems with the spell checker manifested, and after I clicked the Save Now button to save the post. The Save Now button did not "depress" at that time, and no draft of the message was saved. Immediately after the save operation failed is when I clicked the Dashboard link, which is what caused Konqueror to crash.

Note that at this time, the spell checker does not seem to be working at all in Konqueror (the Auto Spell Check option is checked, and the Check Spelling context menu command does nothing), and that

  1. There is no "typeahead" pattern matching in the tags field of the blogger.com Posting interface as there is with Firefox v2.x
  2. The layout of the blogger.com Posting interface in Konqueror is munged - there is a large whitespace block below the text entry area, between the bottom edge of the HTML textarea element and the the bottom edge of the boarder which encloses the HTML element. (above the Post Options link, the Labels (sic) [tags] entry field, Publish Post and Save Now buttons, etc.

erratta: KNOPPIX audio is working

This is to correct a statement I made previously in a post on this log [earth tech] about KNOPPIX and the audio capability on the HP Pavilion a220n.

The audio input does in fact work under the KNOPPIX 5.0.1 LiveCD release. I missed this because, while the audio output worked fine once the audio sub-system was enabled via the KDE Control Center | Sounds & Multimedia | Sound System control panel, the mic input levels were defaulting to zero, so no singal was being captured.

Links:

2007-07-16

Solution to Debian's Problem with 'mount /dev/sda1'

There is a problem - as mentioned previously - with the default Debian-blows-goats install. For whatever reason, the system refuses to mount a USB mass-storage device when it is connected - that is, the Debian-POS system neither automounts the new storage device, nor will it allow either root or any loggeg-in use to mount it, despite the appropriate entries in /etc/fstab and the expected messges in /var/log/messges.

The forum thread /dev/sda1 missing [now closed] at LinuxForums describes the problem, some attempts at solutions, and some "workarounds" (see our post Found a workaround, maybe...) in detail, but the information we're posting here is not there [or if it is, it's in another thread and we didn't find it], and since the thread is "closed" we are posting it here...

Basically, the solution is very straight-forward: Install the udev package.

While that sounds straight-forward, Debian-blows-dogs-for-quarters has [again] gone out of their way to make the administrators life as difficult as possible by making sure that there is no apparent way to navigate to 'stable' distro from the 'untable' distro, and furthermore there is no clea way to select which Debian-POS distro you want to get .deb packages from. There appears to be no way to do a substring match when seraching packages. And there seems no way to either know which distro (eg.. 'stable', 'unstable', etc) the packages installed on a given machine came from, either.

And now IceWeasel-POS is crashing - randomly deleting characters from the textarea on blogger.com, and taking a good .7sec per charcteer typed to echo the characters typed - andddddddddddddddddddddddddddddddddddddddddddddd this with dysfunctional spell checking! Also, as you can see, the IceWeasel-POS is repeating characters and words randomly when blogger does its autosave operation.

So this is like : I'm typing a sentence, then stopping and waiting fffffffffffffffffffffffor the words to appeare. - and when they do- the repeats.

We have [sort of] found a solution. Note that in the log below, the 'apt-get install udev' command output is from the second run of same command. Ran it, then ran it again. Not sure why, but it worked.

root@juggalo:/dev# apt-get install udev
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  bluez-bcm203x hotplug
The following NEW packages will be installed:
  udev
0 upgraded, 1 newly installed, 2 to remove and 2 not upgraded.
Need to get 263kB of archives.
After unpacking 471kB of additional disk space will be used.
Do you want to continue [Y/n]? Y
Get:1 http://ftp.de.debian.org stable/main udev 0.105-4 [263kB]
Fetched 263kB in 1s (183kB/s)
Preconfiguring packages ...
(Reading database ... 139905 files and directories currently installed.)
Removing bluez-bcm203x ...
dpkg: hotplug: dependency problems, but removing anyway as you request:
 atmel-firmware depends on udev (>= 0.070-3) | hotplug (>= 0.0.20040329-12); however:
  Package udev is not installed.
  Package hotplug is to be removed.
Removing hotplug ...
Selecting previously deselected package udev.
(Reading database ... 139875 files and directories currently installed.)
Unpacking udev (from .../archives/udev_0.105-4_i386.deb) ...

**************************************************************
* Please purge the hotplug package!
* (/etc/init.d/hotplug has been found on this system)
**************************************************************

Setting up udev (0.105-4) ...
Installing new version of config file /etc/init.d/udev ...
Installing new version of config file /etc/udev/links.conf ...
Installing new version of config file /etc/udev/persistent-input.rules ...
Installing new version of config file /etc/udev/persistent.rules ...
Installing new version of config file /etc/udev/cd-aliases-generator.rules ...
Installing new version of config file /etc/udev/udev.rules ...
Installing new version of config file /etc/udev/devfs.rules ...
Installing new version of config file /etc/udev/hotplug.rules ...
Installing new version of config file /etc/udev/permissions.rules ...
Installing new version of config file /etc/udev/persistent-net-generator.rules ...
Installing new version of config file /etc/scsi_id.config ...

Note that it is not clear how or why bluez-bcm203x hotplug got installed - it was not requested or wanted, as this machine has no Bluetooth devices, and probably never will.

Other notes of note:

  • The udev package was already installed, but wasn't working right.
  • The installed version of udev did not include the documentation that was [according to the Debian udev package description] supposed to exist in /usr/share/udev/
  • As with so many other Debian-POS commands, there was no man page installed, despite the fact that 'apropos udev' showed a number of [non-existent] man pages for the command. This seems to be a pervasive problem with this particular Debian-lies-like-a-whore distro - many [we're inclined to say "most" actually] of the administrative manual pages are notably missing, even though 'apropos' claims they are there - perhaps there is some issue with the configuration of the 'makewhatis' cron job on Debian-blows? Why would these man pages be left out? And if they are going to be left out, why lie about it through apropos?

So yes, we seem to have fixed this problem, but Debian still sux0r.

2007-07-15

Konqueror Crash

Konqueror is :

  1. Hanging while waiting for blogger.com to "Publish" a blog post.
  2. Crashing; Konqueror will crash if - while the "publish" operation is in its infinite refresh loop, loading and reloading the "Please wait while your page is published" message page - the user
    1. opens another Konqueror window
    2. goes to view the blog in the new window [note that the post which initiated the publish operation has been posted - the post has uploaded and the blog has been updated, despite the braindead infinite loop the first window of Kongqueror is stuck in]
    3. goes back to the first window [where the ininfinite refresh loop is going on]
    4. clicks on the Blogger Dashboard link there, in the first window, while the infinite refresh loop is going on

Other info from the Crash Handler:

  • Konqueror [crashed and] threw SIGILL.
  • "The application was asked to save its documents"

Default browser indentification string for this version of Konqueror [note that I have broken the line below at the backslash]:

Mozilla/5.0 (compatible; Konqueror/3.5; Linux 2.6.17; X11; i686; en_US)\
 KHTML/3.5.2 (like Gecko) (Debian package 4:3.5.2-2+b1)

Here is the backtrace data from the crash handler:

(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1231935808 (LWP 4267)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[KCrash handler]
#5  0x08f95edc in ?? ()
#6  0xb62d57ae in DOM::checkChild () from /usr/lib/libkhtml.so.4
#7  0xb629e96c in DOM::XMLAttributeReader::~XMLAttributeReader ()
   from /usr/lib/libkhtml.so.4
#8  0xb6268f9e in KHTMLPart::saveState () from /usr/lib/libkhtml.so.4
#9  0xb62289fe in KHTMLPartBrowserExtension::saveState ()
   from /usr/lib/libkhtml.so.4
#10 0xb6875b5f in KonqView::updateHistoryEntry ()
   from /usr/lib/libkdeinit_konqueror.so
#11 0xb6893a11 in KonqView::slotCompleted ()
   from /usr/lib/libkdeinit_konqueror.so
#12 0xb6893c23 in KonqView::slotCompleted ()
   from /usr/lib/libkdeinit_konqueror.so
#13 0xb689987d in KonqView::qt_invoke () from /usr/lib/libkdeinit_konqueror.so
#14 0xb72b8678 in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#15 0xb72b8fdc in QObject::activate_signal () from /usr/lib/libqt-mt.so.3
#16 0xb7f85e0a in KParts::ReadOnlyPart::completed ()
   from /usr/lib/libkparts.so.2
#17 0xb62581c0 in KHTMLView::timerEvent () from /usr/lib/libkhtml.so.4
#18 0xb72b5786 in QObject::event () from /usr/lib/libqt-mt.so.3
#19 0xb72f2b9a in QWidget::event () from /usr/lib/libqt-mt.so.3
#20 0xb724e87a in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3
#21 0xb724f5f5 in QApplication::notify () from /usr/lib/libqt-mt.so.3
#22 0xb792502e in KApplication::notify () from /usr/lib/libkdecore.so.4
#23 0xb71e0001 in QApplication::sendEvent () from /usr/lib/libqt-mt.so.3
#24 0xb7240305 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3
#25 0xb71f3d2a in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3
#26 0xb7267255 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3
#27 0xb726717a in QEventLoop::exec () from /usr/lib/libqt-mt.so.3
#28 0xb724d38d in QApplication::exec () from /usr/lib/libqt-mt.so.3
#29 0xb68be17c in kdemain () from /usr/lib/libkdeinit_konqueror.so
#30 0xb7fb1524 in kdeinitmain () from /usr/lib/kde3/konqueror.so
#31 0x0804e1d6 in ?? ()
#32 0x00000004 in ?? ()
#33 0x080cff68 in ?? ()
#34 0x00000001 in ?? ()
#35 0x00000000 in ?? ()

More about KNOPPIX and the HP a220n

The X log file on the HP Pavilion a220n running KNOPPIX:

uploads/Xorg.0.log.TXT

This file is found at /var/log/Xorg.0.log on the system while the system is running.