New-Old Laptop Update – 20091106

Posted in Samsung S3, emacs, ion3, libmtp, openbsd, slackware on November 6, 2009 by lucky

I looked at Distrowatch to see what was happening with various distros and downloaded a few ISOs. Among the candidates for my new-old laptop were Debian (Xfce/lxde), OpenBSD 4.6, Slackware 13, and Mandriva-One KDE 2010. I narrowed it down after a little thinking and only burned the images for Slackware and OpenBSD. I was open to looking at KDE on this and wish I could live with it, but I think I’ll be happier without it.

I decided to install Slackware 13 on my laptop yesterday afternoon and did some minor tweaking and configuration while I watched Survivor. I only burned the first two images because I didn’t want to use KDE, but I did go ahead and install Xfce as my only desktop. I may eventually change that to either ion3 or ratpoison even though I have a lot more room on my desktop now (17″). 

In addition to installing Adobe Flash and something else I won’t mention, I compiled the most recent release of GNU emacs. I also installed slapt-get and gslapt though I’ve yet to configure for any repository beyond the defaults. I still have to compile mew, and I need to install my office software (I think I can get away with IBM Lotus Symphony now, else I’ll have to install OOo). At some point, I’ll compile a custom kernel. The big one from Slackware has xfs, jfs, and all kinds of other things built in it that I don’t need and I’d like to reclaim every little bit of RAM I can.

I’ve yet to test things like my beloved Samsung S3 (libmtp is installed) to see what’s working or not. I did a fast basic configuration to get wifi working and moved a few things over via SSH; I do know that audio and X are working without any additional tweaking. Hopefully I’ll have time soon to turn this into my primary computer, whether or not I sell the Acer Aspire One.

No time frame for anything but the office suite and mew (ASAP) because I still am catching up on work from September and October. And no screen shots because it’s just the vanilla Xfce desktop with a solid blue background rather than the default (but quite tasteful, I’ll admit) striped Xfce wallpaper — like it should be without someone else’s muddled idea of how it should be branded with a distro name (or worse). That’s one of the great things about Slackware. That and the fact it has some of the best documentation available so setting it up is straightforward (second in all respects only to OpenBSD in my book).

More when I get time.

Alive (Barely) and Kicking (Barely)

Posted in acer aspire one, my stuff, ubuntu on November 2, 2009 by lucky

I’d alluded a couple months ago that I was going to have a little time around Labor Day to mess with my new-old laptop. Boy, was that optimistic. I’ve had my hands full with family health issues again and have had very little time to work, sleep, or take care of myself the past couple months. I returned home yesterday and will have more catching up as I did last time before my life feels — and actually is — back to normal.

Linux-wise long story short, I’ve had only enough time with it to install a couple different distros and OpenSolaris to determine what I’m going to end up running on it. I thought it was coming sans hard drive or that it would at  least be wiped, but I have a genuine Microsoft license and key for XP Professional for it. It currently has no Windows partitions and is running Xubuntu Jizzy Jackshit, which I really can’t wait to replace.

I end up regretting every *buntu installation I do. This has been no different, and in some ways may be the worst yet. Details may follow. Or not.

I left Open Solaris on the laptop for less than an hour after installation completed. I know ZFS has its fans and it certainly has some interesting features. It uses too many resources, though, for my tastes — at least with the specs of my hardware. Sun recommends at least 1 GB of RAM. Maybe it’s less of an issue with at least 2 GB?

In any event, I haven’t had much time to mess with the new-old laptop except to see which distro or OS could manage the hardware and do rudimentary tasks with the least drama out of the box. And guess what that’s been? TinyCore booted from USB. I still want to give more “enterprise-grade” distros a shot. I just need some time. 

I’ve stopped using Linux on my Aspire One. I may try to sell it in the near future. It remains my primary computer but I really am hamstrung by the features that appealed to me enough to get a netbook. Where its portability won me over, now the lack of an optical drive, small screen, and small keyboard are its downfall. I won’t bring up the Atheros wireless card in this context but it merits some consideration even though it works well under Windows (sucks ass under Linux).

Anyway, my life’s again been on hold and it will take a while to get back in the swing of it. Hopefully I’ll be able to make more frequent posts again soon.

AA1 + madwifi-hal + WPA = FAIL

Posted in acer aspire one, hardware, linux with tags , , , on August 27, 2009 by lucky

I’ve started another video but need to edit it together and this time there will be voice-over (oh dear). For now, here’s a couple screenshots to show that the problem isn’t going away with madwifi-hal. Happened a couple hours ago. See the “stream” aterm listed on my tray? That’s mplayer with a stream. It disappeared right after I took this screenshot. And the page I was trying to load in Opera wouldn’t.

screenshot_0827085133

The first thing I did was attempt to ping out. No luck. Then I looked to see if dmesg had something revealing, and it did.

screenshot_0827085903

I rebooted into TinyCore and immediately checked to see if the card was detected. I was pretty sure it would be just like the timeouts with ath5k and that I wouldn’t even appear to have a wireless card. Being right all the time is more a curse to me than to everyone else around me. Believe it or not.

screenshot_0827090157

I went ahead and ran my script to connect to my home AP. No surprises. Can’t connect with what’s not there. Or what’s not recognized.

Movie version later. I’ll try to keep it rated no worse than PG-13.

(edited mildly)

Desperate Times and Desperate Measures: AA1, TinyCore, madwifi

Posted in hardware on August 26, 2009 by lucky

I’m giving madwifi-hal a shot using TinyCore. Hopefully this will behave better than the ath5k driver. The modularity of TinyCore means I had one file to download and nothing to blacklist or change aside from moving the extension with ath5k to the optional directory. I edited my connection scripts to change wlan to ath. No big deal. How much easier can it get?

No noticeable difference with a half hour uptime except the LED isn’t flickering. That suits me fine.

Thanks to those who recommended this. Especially if it does work better.

Past my bedtime. I’ll give it another shot tomorrow and see if it flakes out on me.

—-
posted from emacs 23.1.1 using weblogger.el

Another Day, Another ath5k Timeout – This Time TinyCore

Posted in Tiny Core, acer aspire one, crunchbang with tags , on August 26, 2009 by lucky

The goal was to leave the AA1 running TinyCore on as long as possible. The problem has to be somewhere between the ath5k driver, wpa_supplicant, and the 80211 stack. Here’s uname -a, lsmod (note: I was using the TinyCore wireless-2.6.29.1-tinycore_mod.tcem extension so now it’s happened with both 2.6.29.1-based module extensions), and dmesg (with my AP’s MAC masked). This kind of speaks for itself. Again.

Linux pluto 2.6.29.1-tinycore #1337 SMP Fri Apr 10 19:12:39 EEST 2009 i686 i686 i386 GNU/Linux
Module                  Size  Used by
oss_usb                92044  0
oss_hdaudio           127844  0
osscore               509140  2 oss_usb,oss_hdaudio
ath5k                  93848  0
i2c_i801                5280  0
i2c_core                9980  1 i2c_i801
mac80211              106056  1 ath5k
ath                     5228  1 ath5k
cfg80211               49524  3 ath5k,mac80211,ath
rfkill_backport         7656  1 cfg80211
squashfs               11732  0
vfat                    5652  0
fat                    29692  1 vfat
acer_wmi                8984  0
rfkill                  4012  2 acer_wmi
backlight               1404  1 acer_wmi
serio_raw               2240  0
r8169                  18352  0
wmi                     2952  1 acer_wmi
ac                      1732  0
battery                 5976  0
scsi_wait_scan           260  0

13:42pm  up   3:52,  0 users,  load average: 0.28, 0.18, 0.07

CPI: Battery Slot [BAT1] (battery present)
ACPI: AC Adapter [ACAD] (on-line)
r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
r8169 0000:02:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
r8169 0000:02:00.0: setting latency timer to 64
r8169 0000:02:00.0: irq 28 for MSI/MSI-X
eth0: RTL8102e at 0xf808e000, 00:23:8b:0d:68:f4, XID 24a00000 IRQ 28
intel_rng: FWH not detected
acer-wmi: Acer Laptop ACPI-WMI Extras
Synaptics Touchpad, model: 1, fw: 7.2, id: 0x1c0b1, caps: 0xd04771/0xa40000
input: SynPS/2 Synaptics TouchPad as /devices/platform/i8042/serio2/input/input5
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
squashfs: version 4.0 (2009/01/31) Phillip Lougher
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sda5, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 2144636k swap on /dev/sda6.  Priority:-1 extents:1 across:2144636k
intel_rng: FWH not detected
cfg80211: Using static regulatory domain info
cfg80211: Regulatory domain: US
 (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
 (2402000 KHz - 2472000 KHz @ 40000 KHz), (600 mBi, 2700 mBm)
 (5170000 KHz - 5190000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
 (5190000 KHz - 5210000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
 (5210000 KHz - 5230000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
 (5230000 KHz - 5330000 KHz @ 40000 KHz), (600 mBi, 2300 mBm)
 (5735000 KHz - 5835000 KHz @ 40000 KHz), (600 mBi, 3000 mBm)
cfg80211: Calling CRDA for country: US
i801_smbus 0000:00:1f.3: PCI INT B -> GSI 17 (level, low) -> IRQ 17
ath5k 0000:03:00.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
ath5k 0000:03:00.0: setting latency timer to 64
ath5k 0000:03:00.0: registered as 'phy0'
ath: EEPROM regdomain: 0x65
ath: EEPROM indicates we should expect a direct regpair map
ath: Country alpha2 being used: 00
ath: Regpair used: 0x65
phy0: Selected rate control algorithm 'minstrel'
Registered led device: ath5k-phy0::rx
Registered led device: ath5k-phy0::tx
ath5k phy0: Atheros AR2425 chip found (MAC: 0xe2, PHY: 0x70)
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
mtrr: no more MTRRs available
mtrr: no MTRR for 40000000,800000 found
mtrr: no more MTRRs available
Clocksource tsc unstable (delta = -339460540 ns)
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sda3, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
wlan0: authenticate with AP yy.yy.yy.yy.yy.yy
wlan0: authenticated
wlan0: associate with AP yy.yy.yy.yy.yy.yy
wlan0: RX AssocResp from yy.yy.yy.yy.yy.yy (capab=0x431 status=0 aid=4)
wlan0: associated
wlan0: deauthenticating by local choice (reason=3)
wlan0: authenticate with AP yy.yy.yy.yy.yy.yy
wlan0: authenticated
wlan0: associate with AP yy.yy.yy.yy.yy.yy
wlan0: RX AssocResp from yy.yy.yy.yy.yy.yy (capab=0x431 status=0 aid=4)
wlan0: associated
wlan0: deauthenticating by local choice (reason=3)
wlan0: authenticate with AP yy.yy.yy.yy.yy.yy
wlan0: authenticated
wlan0: associate with AP yy.yy.yy.yy.yy.yy
wlan0: RX AssocResp from yy.yy.yy.yy.yy.yy (capab=0x431 status=0 aid=4)
wlan0: associated
oss_hdaudio 0000:00:1b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
usbcore: registered new interface driver oss_usb
intel_rng: FWH not detected
CE: hpet increasing min_delta_ns to 15000 nsec
wlan0: no probe response from AP yy.yy.yy.yy.yy.yy - disassociating
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 17 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 16 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 17 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 16 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 17 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 16 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 17 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 16 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 17 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 16 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 17 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 16 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 17 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 16 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 17 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 16 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 17 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 16 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 17 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 16 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 17 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 16 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 17 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
__ratelimit: 16 callbacks suppressed
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)
ath5k phy0: failed to wakeup the MAC Chip
ath5k phy0: can't reset hardware (-5)

 This is why I reclaimed so much of the hard drive space taken up by CrunchBang. It could’ve been any other distro, it just happened to be CrunchBang/un-buntu at the time I finally had it and decided it’s too goddamn unstable to use on my hardware. This is a driver in the 2.6 mainline and it’s buggy as hell.

Now my only Linux partitions are a very small primary (for /boot) and about a 5GB space for TinyCore. That’s adequate for the kind of use (such as testing other Atheros-related options like madwifi) I’ll have on my AA1 unless I can find a more stable option. And stability really matters – I’ve been using this for work. I can’t justify rebooting and waiting for the fucking card to work again. Fortunately, I’ll have the new laptop by this weekend and it doesn’t have any Atheros chips in it. I’ll run Linux on that and Windows on this.

Why TinyCore

Posted in Tiny Core, acer aspire one, crunchbang on August 26, 2009 by lucky

Since I’ve had one comment and a couple e-mails about my decision to get rid of CrunchBang, I decided to give a broader accounting of why I threw in the towel with it. I appreciate the input from others, as well as suggestions to try different things (been there, done that).

I posted the two videos showing the ath5k timeout right after it happened and after reboot — during which the Atheros card remains entirely undetected by both Linux AND Windows (that time through a combined five reboots before re-detected) — to demonstrate one issue. The timeout occurred while I was in middle of doing another screencast, which, ironically enough, was to demonstrate the frustration I was having with setting up a more or less custom system on anything using tools like dpkg/apt/aptitude.

In a nutshell, I started removing applications and things I knew I’d never use or which I wanted an alternative. I also had to compile a few things to support my hardware and devices (such as updating libmtp for my Samsung S3). I also recompiled a few things so I wouldn’t have excessive crap — for example, compiling the latest release of mew (e-mail client) without extra dependencies installed via the repository version.

The end result was something of a hybrid system. I know there are plenty ways to manage such things, but the end result required issuing more “sudo aptitude hold” commands for various things I needed but aptitude thought I didn’t, and vice versa. Every upgrade was first run with -s to see if I’d have more problems upgrading than I would if I just fetched the sources and compiled them myself.

As I explained in my reply to a comment this morning about different kernels and such, it’s a house of cards. Pull the wrong one out and the whole fucking thing is going to come crashing down.

There are several options to that which allow more control over my own system. They include:

  • Using a source-based distro,
  • Using a ports-based distro or BSD,
  • Using a minimal install with full headers (Slackware would be ideal) and compiling the rest of the system as desired, or
  • TinyCore.

I openly admit my bias to the last one. I was active in the DSL community and had posted my thoughts on modularlizing DSL a few years ago when Robert inquired what direction DSL should take (unfortunately, my images were hosted on another site which underwent a change in ownership so I don’t have those anymore). I was also on the TinyCore team during its earliest development phase; you can blame me for the logo and a couple other things. I dropped off the team due to work commitments and (later) family issues that required me to care 24/7 for four elderly people from October into January. I didn’t have time for myself from about August onward and it’s taken until this summer to get caught up with the rest of my life.

I chose to use binary-based distros because I didn’t want the “hassle” of configuring things. I just wanted to install it, get the apps I need to get stuff done, and that’s it. Unfortunately, that’s expecting too much. Along the course of jumping from PCLOS to Fedora to Debian (Lenny and Sid) to CrunchBang, I wondered openly if I shouldn’t have either opted for a source-based distro or TinyCore since I was doing as much configuration and (re-)compiling of things that didn’t suit my needs or tastes.

I’d changed CrunchBang around so much that it was basically back to Ubuntu plus and minus the things I either recompiled or compiled separately. I’d taken to privately calling it "un-buntu." It was also un-CrunchBang, as I’d removed nearly everything that was unique to CrunchBang (and my entry in menu.lst avoided the splash crap).

The base apps didn’t put me off CrunchBang because I knew I could change all of that around to work for me. And I did. If not for "aptitude hold" commands applied to so many packages, it might still work for me as unwieldy and fucked up as I think it is to lose so much control because the packaging system wants to make changes I don’t want it to make.

The recurring ath5k timeouts also didn’t put me off CrunchBang. They putme off Linux. Totally. At least on my AA1.

I was off CrunchBang because I was fed up with the ever-increasing dependency issues that only reinforced how much control packagers had over my system and how much I had to do to maintain control of it myself. That’s not a problem if you don’t give a shit who’s putting what on your system or why. Click in synaptics and add things to your heart’s content and don’t worry about it. I fucking hate bloat.

I decided to reclaim all that space because I was tired of losing wifi and I was also at a point where running aptitude commands prompted me to remove 20-something more things, some of which I knew damn well I needed to hold and some of which I’m not even sure. I’ll post the video showing that bullshit.

Why is TinyCore a better option for me?

  • It’s very small and its packages are lean,
  • It’s modular so I only add the bits I want/need,
  • I have total control over how my system starts and ends up,
  • I can reboot to undo any changes and I’m right back in a fresh environment without nagging about {u} packages,
  • I decide which things persist between boots, and
  • I can also set it up in a hybrid state to suit my own needs and tastes without risking problems with “big brother” packaging trying to change or overwrite the way I have things set up.

Let’s go through each of these points in greater detail.

1. It’s very small and its packages are lean.

The initial ISO isn’t a complete system. Maybe it’s not the best selling point that I had to manually download extensions (packages) to be able to connect to the Internet. Or that I prefer adding extensions to use GNU coreutils and various other utilities over the busybox versions. The base is very lean, fast, and stable.

2. It’s modular so I only add the bits I want/need.

As noted above, I much prefer the "bloated" versions of certain utilities to the stripped ones in busybox. I also need them in my preferred environment (emacs) for things like dired-mode, which is my file manager. I don’t have gobs of shite on my hard drive I don’t or won’t ever need. My system has the extensions I need to use Linux the way I want, not the way various packagers have chosen to compile things with every possible option.

3. I have total control over how my system starts and ends up.

TinyCore’s cheatcodes allow for various start up options, including ignoring all extensions and backups — so you start in the same initial state you’d have from the original ISO. But that’s only part of the way you can customize your environment.

By default, TinyCore will look for a tce folder with extensions at boot and automatically load those extensions. Within the tce directory, you can set an optional directory for any other extensions you desire to load ad hoc.

I’ve chosen to keep both sound modules (OSS, alsa) extensions I use in there so I can load them as desired. Same with the extensions for OpenOffice, v4l, mencoder, etc. — why load them automatically when I can load only as I want to use them? Dittos with compiletce, a meta-package for the extensions for compiling from source in Tiny Core.

Other options include setting up your own local mirror with TC extensions. I’m only running TinyCore on one computer (AA1) at the moment but may do that if I install it on anything else beyond my new laptop when it arrives.

4. I can reboot to undo any changes and I’m right back in a fresh environment without nagging about {u} packages.

If things get out of hand, all I have to do is reboot. The only settings that persist are the ones I’ve set up to do that or that are on persistent partitions. The TC extensions only load as I choose, when and how I choose them to load. The kernel and utilities are read-only in RAM. If anything happens to them, a reboot cleans it back to the way they were found in the ISO (or a remaster). If pwned, it’s only going to last to reboot unless a persistent setting (such as a conf file but there’s probably more that can be affected) is altered to make it persist.

5. I decide which things persist between boots.

The whole base refreshes itself between boots. That includes some files which I may not want to revert to a “base” state. And I can edit a boot line in GRUB to "norestore" so that I can get to the original state. I have separate menu.lst entries for that already so no need to edit. I can also choose which directories persist — I can remove /home, /opt, or /local (or add nolocal) to further control how the system starts up.

6. I can also set it up in a hybrid state to suit my peculiar needs and tastes. And there’s no worry about my stuff changing unless and until I want it changed.

My primary application is emacs, which I compiled from source. I’m writing this in it now. I chose to install it more traditionally using $HOME/local as a prefix (so I have /home/tc/local/{bin,share,lib,etc} in one directory tree). I chose that to keep compiled apps separate from scripts in $HOME/bin and to keep my home partition from cluttering up with separate lib, share, etc, and so on directories. I wanted emacs at the very least in a more "traditional" form like that because of its size (I figure /home is faster to mount than a 100+MB package would be to load) and because I want persistent rw access to some elisp files it installs and uses. I’ve installed other apps with the same prefix for the time being. I’ll probably recompile them for use as extensions after testing.

The more tweaks I’ve made to TinyCore, the more time I realize I wasted trying to get other distros to work the way I want them to. In most cases, that meant starting big and tearing down — that includes CrunchBang. With TinyCore, it’s much more sensible, clean, coherent: start small, add only what I need, compile what I want, and I’m not stuck with dependency hell scenarios or getting warned that half my system is suddenly about to be removed by the packaging system if I don’t hit N now.

And if the ath5k driver in wireless-2.6.29.1-tinycore_mod.tcem doesn’t timeout, I’ll have a reason to keep running Linux on my AA1. At least in tandem with Windows. Or instead of it. (Edit: See next post for ath5k timeout at about four hours uptime. At least TinyCore doesn’t take up a lot of space on a hard drive.)

---
posted from emacs 23.1.1 using weblogger.el
re-formatted from the original with minimal editing

First Post From emacs 23.1.1 Under TinyCore Linux

Posted in Tiny Core, acer aspire one, emacs on August 25, 2009 by lucky

As I noted yesterday, I’ve shuffled things around a good bit on my Aspire One. That includes getting rid of CrunchBang so now my only remaining Linux environment is {Tiny,Micro}Core. The last changes I had to make were to get rid of the CrunchBang-related things in /boot and edit my GRUB menu.lst to give me various ways to boot TinyCore and MicroCore (as well as Windows XP). I wanted entries so I can boot without any extensions loaded as well as without any other cheatcodes.

I’m using jwm more or less as I’ve written with my mouse-less configurations. That includes more keybindings. I haven’t set up additional menus yet but I probably will to at least control a few things.

I’ve had the AA1 running TinyCore for almost four hours now. I’m anticipating losing wireless any time. I hope it doesn’t flake out but my experience with ath5k has jaded me. If it drops on me, I’ll look seriously at reverting to madwifi, ndis, etc. I’ll be very happy if it can go five hours without flaking. So far the only “strange” thing has been an unsupported jumbo message in dmesg, which isn’t lethal. (Edit before I post: I rebooted into Windows to work on something in OOo 3.)

My first clue that something is wrong will be loss of streaming audio. I figure that’s as easy as anything else and it’s enjoyable compared to the drone of conference calls I’ve been on all day.

I love conference calls because they give me a chance to compile things. And after going through the repository, I see there are a few things I want that I need to compile myself.

tcl-emacs-01

I just compiled the latest release (23.1.1) of GNU emacs along with the latest stable release of mew (6.2). I still have a couple things I want to add to this, such as muse mode. I haven’t decided yet about livetex. I’ll skip that if I install OpenOffice on TinyCore.

tcl-emacs-02

I didn’t compile this with the intention of packaging it but I might try to recompile it in such a way that it might make a sensible TC extension. Not sure what to do about that without removing things a lot of people will want anyway. Guess I could try to package separate bits so you’d need several packages to get the full emacs, similar to how some distros do it (or even more radically than they do if possible). I’ll have to think about it. I’ve chosen to install these things at least for now as “test” versions to a ~/local directory ($HOME/local/bin is now in PATH).

I’ll probably have to wait to compile more stuff this weekend. Like I wrote above, I have several things I want (need) and those will most likely be submitted at some point.


Started in emacs weblogger.el
Finished online in IE8 to add images and categories and to format text

Not Updating DSL Hard Drive Guide/PDF and Discouraging Hard Drive Installs Due to Security Issues

Posted in damn small linux, dsl, my stuff on August 24, 2009 by lucky

In light of the security issues affecting Linux 2.4 and 2.6 I wrote about yesterday and due to the fact that DSL’s development is inactive (some would conservatively call it “dead”), I’ve decided against posting an updated guide for DSL hard drive installs. I’ve also added new warnings on the page linked on the right.

Some versions of DSL do have at least one of the affected modules in the base. I think it’s unwise to install anything which is no longer under active development, or which is operated by an absentee-owner who’s not exactly maintaining anything but revenue from his online store, ad placement, and clickthroughs. I doubt he’s following any Linux security news to see if his distro might need an update, and I don’t know that he’d get around to updating it anytime soon.

I was going to post a requiem for DSL several months ago when it appeared that it was no longer under development, regardless of what John Andrews may have written some nine months ago now to the contrary. I don’t think it would serve any purpose now. Its main developer has moved on to bigger (make that smaller) and better things.

There are many options which are almost as suitable for older hardware if the goal is a more traditional hard drive installation, but those options will wane in coming years as Linux distros increasingly turn older/legacy hardware into scrap. As I note in the new “warning” on my DSL Hard Drive page, it would be much safer to install DSL via frugal install or even just boot off the CD if possible.

20090824 Update: Moving Things Around and Adios CrunchBang

Posted in Tiny Core, acer aspire one, crunchbang on August 24, 2009 by lucky

I stayed up a bit too late last night configuring a few things and moving things around. I still have a bit of work to do to get it working as desired.

I’d already set up entries in my menu.lst to boot {Tiny,Micro}Core. Last night I moved my separate ex-CrunchBang /home around, with the basic files in the same root partition as the rest of ex-CrunchBang and the rest in the FAT partition which holds shared data and is set to automatically mount (/windows) under ex-CrunchBang.

I sorted through extensions to decide which I want to load at boot and which need to go in the “optional” directory (which can be loaded manually). I decided to load wireless-related extensions and audio at boot, along with a few utilities and applications (such as elinks and mplayer, both of which I may go ahead and move to optional). Even with all my extensions loaded, I’m not using much space or RAM — less than I was using in CrunchBang.

After getting things sorted out a bit to my liking, I decided that ex-CrunchBang just has to go — I was very unlikely to use it much anymore — and {Tiny,Micro}Core probably won’t ever need the nearly-20GB’s worth of space on my drive it’s currently set up on. I don’t know how much I’ll even boot Linux, let alone for how long, since I’m so totally freaking distrustful of Linux with respect to the Atheros wifi card now. So the smaller 5-6GB partition I’d set up for CrunchBang’s / will get the 300 or so MB of TinyCore extensions, as well as my persistent /opt and /home.

I’ll use TrueCrypt to encrypt the whole 20-ish GB partition for use in Windows. The only reason I’m going to do it sooner than later is so I’ll have that space for some things in Windows. I’m running out of space and I don’t want to add another TrueCrypt container on my Windows partition; I’d rather move all that data to one partition.

I’ll update again later today (or in the coming days) and explain my setup with more detail.

UPDATE: I decided to check out the Xorg extension for 1024×600 resolution. Tried it first under MicroCore to no avail — I got all kinds of xfont errors. So I tried it under TinyCore. Holy shit at the RAM hit for that: an extra 100+ MB. No thanks. I’ll use my scrunched-up looking screen (1024×768 squeezed and flattened into 1024×600) or run without X (MicroCore).

If it’s going to use that much RAM, I’d just as soon use a standard distro with full utilities (not busybox). Fortunately, the native max resolution of my new laptop is supported by tiny X.

Now I just have to un-do a couple things so I won’t be bothered by the xsetup script when I boot. More later (maybe).

UPDATE2: Had a little time to myself for lunch before a conference call. “Fixed” the xsetup issue (resulting from trying out the full Xorg extension) by copying over /etc/skel/.xsession and then commenting out the line for wbar. Edited jwm theme using the default.thm in /opt/jwmThemes as a starting point (font 7×13). Just realized the resolution is set at 800×600 for some reason. Guess it’s either that or the scrunchy 1024×600 — pick your poison. I also commented out the swallow tags for ”watcher” in the jwm tray so now I have less distraction on the desktop. 

screenshot_0824122335

I also moved more things to optional to reduce initial hit on resources at boot. There’s still plenty more I can move there since one of the things already moved is the audio driver package — I’ve tried both OSS and alsa, and moving both to optional lets me choose which I care to use. I think OSS is a bit more bloated and I added a line in bootlocal.sh to mute the internal speaker (which is horridly crappy on the AA1) at boot. Neither package is set up for persistent settings so I need to see what I can do to get my alsa settings to stick between boots. The weirdest part of the alsa package is the default settings, including setting one channel pretty high and the other at 0 for the microphone.

For the life of me, I’ve been unable to get this fucking Atheros card to work from bootlocal.sh or even from my own script. If it’s not one thing it’s another with this piece of excrement — it functions absolutely well under Windows but I cannot emphasize too much how unstable and buggy it remains under Linux. The problem appears to be related to scanning during wpa_supplicant and no amount of sleep up to 10 seconds helped. I wanted to manage it from scripts anyway so I’ve created one for each AP I’m likely to hit today (changing SSID settings, etc., along with different wpa-conf files) and then I start DHCP via alias. WTF, it works, it’s almost as fast, and it doesn’t have the overhead of something like wicd or the issues I had with NetworkMangler (intentional) latching onto other APs before connecting to the ones for which it’s been set up.

More to do: Still some basic set up including seeing what else I want to add to my filelist and sorting out “little things” that annoy me. Need to fix the resolution (again) and see what I can do about fine-tuning the Synaptics pad (need to slow it down a bit and see if I can scroll with the driver/tiny X). Compiling applications and figuring out what I can do about auto-completing aliases (short of changing shells) is also on the agenda. When I find some time. Speaking of which, I’m out of it now.

UPDATE 3: I got everything shuffled around so my {Tiny,Micro}Core stuff is all on one (roughly) 5GB partition and the 20GB partition which had been /home for my CrunchBang install has been converted to NTFS.

adios-crunchbang-recovered-20gb

And that, my friends, ends my little experiment with anything Ubuntu on my hard drive. I’ll write a “debriefing” one of these days and post the screencast I was in the process of making when I lost wifi.

Now I’m down to Windows XP, TinyCore, and MicroCore on my Aspire One. My menu.lst has the usual entry for XP plus several options each for {Tiny,Micro}Core. I’ll also write a more detailed article about this soon.

As far as Windows goes, right now I’m leaving D: (which was /windows in CrunchBang) and E: as they are but I’ll most likely join them together and either encrypt the whole resulting partition or set up a couple bigger containers than I’m using now. The only reason I’d leave them separate like they are now is because the data currently on D: is stuff like multimedia which I want easy access between operating systems.

I haven’t had much more time to do anything else with TinyCore. I’ll see what else I can do in my spare time this week. Hopefully, that’ll include getting it (and/or somethinge else) set up when the not-quite-new laptop arrives.

20090823 Update: AA1, Linux Security, TinyCore, Etc.

Posted in Tiny Core, acer aspire one, crunchbang, hardware, linux, security, slackware on August 23, 2009 by lucky

Quick personal follow up to my previous post about the latest, and probably most extensive yet detected, vulnerability in the Linux kernel.

I’ve been using my own kernel under what used to be CrunchBang. I can’t blacklist certain modules (e. g., bluetooth and IRDA) because I built them into the kernel rather than as modules. Yuck. Back to using the big-ass kernel from the repository if I’m going to use Linux. At least if I’m going to use my ex-CrunchBang install (it’s no longer even close to being what it was originally — from the window manager to the applications to my own kernel and so on).

I haven’t even booted into Linux since last week when my wireless crapped out under Linux again — I’ve had a busy week and this next one will be even more hectic. Right now, I’m not sure if I’ll bother upgrading again because I’m completely fed up with losing wireless and not being able to get it back without rebooting several times. As I noted, the crash and resulting videos came as I was making a screencast explaining why I dislike binary-based distros and their packaging and why I was more likely going to start using TinyCore more often.

Problem is, the same thing occurred one time under TinyCore. The ath5k time-out thing is not a distro problem. It’s a problem somewhere between the kernel/module, possibly WPA, and possibly a couple other things. So I have more than a reason or two to reduce my use of Linux on my AA1. I’m most likely reclaiming the larger partition I have set up for /home under CrunchBang for use under Windows (probably as an encrypted partition) and then using my 5GB partition for {Tiny,Micro}Core.

I’ve settled on another laptop and should have it next week. It’s not new — I don’t think I’ll ever again buy anything new enough that running Linux will be such a pain in the ass as it’s been with the AA1. The more bleeding edge the hardware, the more quirks and utterly stupid bullshit there will be with getting its glorious open source drivers to function properly and in some sort of stable manner. I checked all the specs to make sure Linux will have better support for the next laptop than I have on my AA1 now.

Right now I’m debating between Slackware (13 is almost ready) and CentOS 5.3, both of which have modern-enough kernels to support the hardware in the laptop. The reasons I’d install Slackware are for its lengthy support cycles and so I don’t have to download miscellaneous headers to (re-)compile anything. The reason for CentOS is to have an enterprise-grade distro with enterprise-grade support cycles (as in seven years). After all, I have to use this for my work. I can’t afford to randomly lose wireless (especially if it requires several reboots to get it functioning again) or to have to deal with freezing up when disconnecting the laptop from a projector.

I’m open-minded beyond those two distros. Even source-based since I’m going to have a few days around Labor Day weekend where I can leave it to compile all day long and let it catch on fire or something.

Back to the security issue affecting eight years’ worth of Linux kernels. Is {Tiny,Micro}Core a better solution for problems like this particular vulnerability? In some ways, it may be. It doesn’t come with a full set of modules. You have to install things separately because the whole concept is more modular. The kernel is read-only and in RAM. If someone were able to pwn at the kernel level, you can reboot into a fresh environment because the base system isn’t writable.

The counter to all that is, the more persistency you have for your installation the more vulnerable you are. Most of your configuration files are stored either in /opt or /home, which are read-write. Depending which extensions you use, you may have the same kind of exposure you’d have under any other distro.

And, most importantly, the weakest link in security is almost always the user. You can’t underestimate the problem users cause from clicking on links to opening things to setting up files so that anyone (aka “world” in Unix terms) can write or execute them. Some people ignore permissions altogether or set them up for the sake of convenience — such as other small/live distros that run only as root. I’m not saying that {Tiny,Micro}Core is inherently safer with its use of sudo (I wish more users would accept a default scheme which sets a random password so even running off the live CD or USB would require entering a password before mounting and erasing a drive, etc.).

So add TinyCore to the list with Slackware and CentOS. That may be the fastest way to get it up and running anyway. And TinyCore may be the last remaining Linux distro on my AA1 whether I run Linux on it again or not.