Showing posts with label Thinkpad. Show all posts
Showing posts with label Thinkpad. Show all posts

Thursday, December 04, 2008

Fedora 10 on T-61 Passes the Sniff Test (But Fails the Virtualization Test)

Did the install from the LiveCD. First go around I had forgot to unmount /dev/sda1 (where I was going to install it) so it failed but on the 2nd try booted just fine. Installed Flash from the repositories. Added another repo so I Gstreamer could handle mp3 streams. Sound works. Haven't tried WPA but that should work too.

Still not as smooth as the last two (or three) Ubuntu releases for but still usable, but the two things I do like

1) Fedora GNOME install has mini-commander. Yeah!!!
2) Fonts are bigger for an old guy like me ;)

But easy virtualization (compared to Ubuntu) forget about it

No easy OpenVZ. KVM (which sucks with QEMU)/Virtual Machine Manager didn't work out of the box (or at least not in 5 minutes the way it does on Ubuntu) and no dom0.

Lame. I really wanted a Xen-friendly distro to dual boot for my Thinkpad, since Centos/RHEL kernel is so old it won't support the hardware.

Saturday, May 24, 2008

OpenSolaris 2008.5 Isn't So Bad


OpenSolaris has come along way from that nasty red and blue console based installer I remember using back in the 90s. A nice GNOME based LiveCD. 32/64 bit. GRUB & GNOME. Tolerable package management although there must be some other repos somewhere. Imagine, having to have to built pcap and tcpdump from scratch in 2008, the horror. But it worked!

What didn't work (on my T-61):
  • Xen Dom0 (this is a known issue)
  • Sound
  • Intel 4965 has been sporadic
  • Novatel 727 EVDO card (probably just haven't figure it out yet)
  • VirtualBox/xVM (problems with kernel modules. probably fixable)
  • Compiz (totally hangs the box)
Sort of weird that the JDK isn't installed. But overall they did a nice job with the GNOME theme. Fonts look better than most Linux distributions and seems quite snappy. And of all things nmap (4.20) and NmapFE are in default install. Funny.

Friday, May 23, 2008

Is there a distro that supports dom0 out of the box (on my T-61)?

Not Hardy, Not Edgy, Not FC 8 or 9, Not OpenSolaris 2008.5, Not OpenSUSE 10.3/11. Not CentOS 5.1.

I give up.

Tuesday, May 20, 2008

OpenSUSE 11 Beta 3 Impressions



My Thinkpad's started dying today, so after doing the long slow drive wipe to what was left, I tried OpenSUSE 11 (64 Bit) Gnome LiveCD, and here the first impressions:
  • Much prettier than Ubuntu, I like all the green (vs. the Ubuntu brown)
  • First Linux distro to get the resolution right through the GUI for a widescreen flat screen with my Thinkpad (only got display mirroring
  • Wireless worked flawlessly
  • Compiz worked flawlessly and snappily (although sound died after it installed)
  • Gstreamer plugins (for Totem) worked if a bit clumsily and Flash plugin auto installation failed (in contrast to Gutsy and Hardy)
  • Seems snappier, not sure if that is the 64 bit kicking in (always been too conservative) about that.
  • Repository auto updates have improved significantly since the last time I used SUSE much
No reason to try this on the server, but I may run this when my new drive shows up in the mail.

Saturday, May 03, 2008

Your Little Friend Alsamixer



So I totally managed to screw up my kernel-modules (hint: trying to uninstall a running kernel package is never a good idea) so I ended up doing a new install of Hardy late last night. I only had server image so I used that. But no sound? So I ended up following the quite excellent SoundTroubleshooting wiki page and ran across the alsamixer command. I may have used it before. Not sure, but it helped me track down that the speaker was on mute. I'm still running into some weird GNOME (or GDM) startup issues when using XFCE or standing GNOME bootup.

Tuesday, March 25, 2008

Hardy Heron Beta on T-61: First Impressions

So I just tried the LiveCD version of the beta and am pretty impressed. Since I need to start fresh in a few days (start with Tenable next week) and I've been getting some annoying reiserfs R/O inode errors, will probably do the deed real soon now. As is the case with any Ubuntu pre-release several 100 package updates in the works.

Two of three boots worked just fine (the one that failed I was messing with volume controls while GNOME was booting, coicidence?). Among the differences I noticed: Firefox 3.0b4, a new Encryption, Desktop Effects worked perfectly, didn't try WPA. Sound (and volume controls, that are more OSX like) worked perfectly. Codec finder worked on the second time and was able to fire up Radio Paradise and listen to a stream.

Update
Actual install and reboot went fine but after upgrading the packages, I ran into the same GNOME startup issue (hang). Basically you lose control over the keyboard (Caps Lock doesn't blink) but mouse is still active... weird. But rebooted and then went into the console and installed OpenBox, restarted gdm. This worked (non-GNOME) and then weirdly worked with Gnome, so perhaps this is a Nautilus/Metacity issue...

Sunday, February 10, 2008

S.M.A.R.T. on Gutsy T-61

After my my dismal report on my T-61's SATA performance I've been wondering about whether I have everything tweaked right and I tonight I ran across an entry on Thinkwiki about SMART.

Basically if you install the smartmontools package you get a utility called smartctl that allows you to do stuff like


root@gutsy61:~# smartctl -a /dev/sda
smartctl version 5.37 [i686-pc-linux-gnu] Copyright (C) 2002-6 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

=== START OF INFORMATION SECTION ===
Device Model: ST9120822AS
Serial Number: 5LZ1Q720
Firmware Version: 3.CLF
User Capacity: 120,034,123,776 bytes
Device is: Not in smartctl database [for details use: -P showall]
ATA Version is: 7
ATA Standard is: Exact ATA specification draft version not indicated
Local Time is: Sun Feb 10 19:49:22 2008 CST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status: (0x00) Offline data collection activity
was never started.
Auto Offline Data Collection: Disabled.
Self-test execution status: ( 0) The previous self-test routine completed
without error or no self-test has ever
been run.
Total time to complete Offline
data collection: ( 426) seconds.
Offline data collection
capabilities: (0x53) SMART execute Offline immediate.
Auto Offline data collection on/off support.
Suspend Offline collection upon new
command.
No Offline surface scan supported.
Self-test supported.
No Conveyance Self-test supported.
Selective Self-test supported.
SMART capabilities: (0x0003) Saves SMART data before entering
power-saving mode.
Supports SMART auto save timer.
Error logging capability: (0x01) Error logging supported.
General Purpose Logging supported.
Short self-test routine
recommended polling time: ( 1) minutes.
Extended self-test routine
recommended polling time: ( 57) minutes.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE
1 Raw_Read_Error_Rate 0x000f 100 067 034 Pre-fail Always - 196651010
3 Spin_Up_Time 0x0003 099 099 000 Pre-fail Always - 0
4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 822
5 Reallocated_Sector_Ct 0x0033 100 100 036 Pre-fail Always - 0
7 Seek_Error_Rate 0x000f 059 055 030 Pre-fail Always - 111693386018
9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 149348897784391
10 Spin_Retry_Count 0x0013 100 100 034 Pre-fail Always - 0
12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 902
187 Unknown_Attribute 0x0032 100 100 000 Old_age Always - 0
189 Unknown_Attribute 0x003a 048 048 000 Old_age Always - 52
190 Temperature_Celsius 0x0022 062 052 045 Old_age Always - 656801830
191 G-Sense_Error_Rate 0x0032 100 100 000 Old_age Always - 26
192 Power-Off_Retract_Count 0x0032 001 001 000 Old_age Always - 4294967291
193 Load_Cycle_Count 0x0022 026 026 000 Old_age Always - 148448
194 Temperature_Celsius 0x001a 038 048 000 Old_age Always - 38 (Lifetime Min/Max 0/16)
195 Hardware_ECC_Recovered 0x0012 070 042 000 Old_age Always - 196651010
196 Reallocated_Event_Count 0x0010 099 099 000 Old_age Offline - 157255932577023
197 Current_Pending_Sector 0x003e 100 100 000 Old_age Always - 0
198 Offline_Uncorrectable 0x0000 100 100 000 Old_age Offline - 0
199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0
200 Multi_Zone_Error_Rate 0x0000 100 253 000 Old_age Offline - 0
202 TA_Increase_Count 0x0000 100 253 000 Old_age Offline - 0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1

SMART Selective self-test log data structure revision number 1
SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS
1 0 0 Not_testing
2 0 0 Not_testing
3 0 0 Not_testing
4 0 0 Not_testing
5 0 0 Not_testing
Selective self-test flags (0x0):
After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.


Here is an article that explains all this junk and smartmontools and this runs on FreeBSD too so this is something to consider on that front, too.

Saturday, February 02, 2008

Stupid T-61 vs Dell Optiplex 330 Gutsy Shootout

So I was wondering graphics performance on my son's new workstation is so much worse than on my Thinkpad. In particular bzflag, because I thought they both had the same Intel graphics card, when I bought it. And I was sure it wasn't the CPU? Well it turned out I was wrong and my little benchmark to unzip the Thoughtpolice FreeBSD 6.2 VM had some suprising results. Yeah I know I should get some real benchmarking software but I didn't feel like it.


-rw-r--r-- 1 mfranz mfranz 230671277 2008-02-02 18:08 freebsd-6.3-i386.zip

Intel(R) Pentium(R) Dual CPU E2140 @ 1.60GHz (1GB)
82G33/G31 Express Integrated Graphics Controller
real 0m22.276s
user 0m10.480s
sys 0m1.540s


Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz (1.5 GB)
Mobile GM965/GL960 Integrated Graphics Controller

real 0m45.863s
user 0m10.669s
sys 0m1.492s

Just as I suspected (after finding how fast is your disk it is the IO that is killing my Thinkpad.

root@nikplex330:~/vms# hdparm -t /dev/sda

/dev/sda:
Timing buffered disk reads: 278 MB in 3.02 seconds = 92.13 MB/sec

root@gutsy61:~/torrents# hdparm -t /dev/sda

/dev/sda:
Timing buffered disk reads: 120 MB in 3.04 seconds = 39.44 MB/sec

Of course I'm also using reiserfs on my laptop (out of habit and b/c I've never had any issues) but doubt there should be double.

No wonder my VM's lag so bad some times.

Wednesday, January 16, 2008

"This" close to wiping XP from my T-61

Slow bootup time, flaky WPA with Linksys box at home, and (the last straw, this morning) problems with the Sprint Mobile Broadband connection manager, plus I need the partition. Yeah about time.

Friday, December 28, 2007

Best WRT54G (v3) for Intel 4965AGN

I've been having a hell of a time with the Wireless card in my T-61and my Linksys router (firmware v1.02.0, Jan. 16, 2007) for the last few days. No problems with the OSX on either my Powerbook G4 (Broadcom) or my wife's Macbook (Atheros). Some of these were screwups on Ubuntu but there definitely appear to be some issues with this card and some Linksys WPA configurations. Under XPSP2, I was becoming dissasociated 3-4 times an hour and with WPA2 Personal (TKIP+AES) would not even work with LInux

I believe these are the default settings which seem to work the best:

WPA Personal
AES
Group Key Renewal - 3600

Tuesday, November 20, 2007

Best Small Case for 14" T-61/MacBook



A month ago I lamented the lack of a perfect case for my Thinkpad. Basically I wanted something small, very snug that I could fit the power supply, some tiny crap (like cell phone, secureid, or keys or whatever) when I didn't want to carry a backpack. I was hoping for something under $75 but I didn't find it, plus I just trust Booq for good gear so I ended up going with the Boa Slimcase M even if I though it might be a bit smug. The rep online suggested a bigger XL, and that would have been a mistake. Oh and it also fit MacBooks just fine.

Monday, November 12, 2007

Killing SATA Compatibility Mode on T61

So the default Gutsy Gibbon kernel packages don't enable modules for ahci or the Intel SATA drivers necessary for you on the latest Intel laptop chipsets (like the Santa Rosa used in T-61s and in whatever is used in MacBooks) so you'll have to change the driver to compatibility mode to get it to boot after the install. Since I was used hand-rolled kernels under Etch, I didn't have to do this before. Unfortunately I've encountered some nasty (but temporary) freezes on Gutsy (drive spins for a while, I lose total control) under Gnome. This often happens with VMWare. So I thought compatibility mode might be the culprit.


1) Update /etc/initramfs-tools/modules to include the following:

ahci
ata_piix

2) Rebuild your initramfs

# update-initramfs -k all -u

3) After a reboot, check the modules

mfranz@gutsy61:~$ lsmod | grep ahci
ahci 23300 2
libata 125168 3 ata_generic,ata_piix,ahci

Friday, November 02, 2007

Back on Ubuntu Again (on Desktop at least)

So has it only been a little under three years since I first installed Hoary Hedgehog on my T40 while I was still at Cisco? Seems like ages.

But I'm pretty pleased with Gutsy on my T-61. I did the alternative install CD and kept my /home partition (this caused some issues with XFCE and gnome settings) and compiz (which is amazingly snappy) didn't work until I checked out the hint on the Thinkwiki page. VMWare Server 1.04 installed without a hitch. Sound (after modified some perms, since it only works on the user you installed with) Flash and Java installed Fine.

Now if only I could get my kids to go to bed on time and keep my dogs from killing each other, I'd be happy.

Believe or not an 80lb lab mix and and 30lb Boston Terrier is a fair fight.

Sunday, October 28, 2007

Gutsy Gibbon on Thinkpad T-61: First Impressions




So I'm using the Gutsy Gibbon (Ubuntu 7.10) LiveCD on my Thinkpad right now and I'm quite impressed. I assume much of the stuff that didn't work was because it was a LiveCD? Not sure. In any case this is a significant jump over what I've got with Debian Etch

What worked?
  • Sound card
  • 1440x900 Resolution in X
  • Adobe Flash installation (after adjusting synaptic)
  • Intel 4965 Wireless Card with WPA Personal
  • Brightness Controls

What didn't work?
  • Sun Java5/Java6 Installation
  • Flash Installation
  • Multiple Displays weren't autodetected (not sure if Linux can even do this)
  • Fancy Desktop effects (who cares, since I'll probably install xfce anyway)
What sort of worked?
  • Suspend (on resume screen was really dim)
  • Volume controls (they showed up on the screen but it didn't impact XMMS)

Sunday, October 14, 2007

Best Vertical Case for 14.1" T-61?

I'm ashamed to say I'm a bit laptop bag snob, so finding a small, sturdy case for my T-61 is proving to be difficult due to its weird dimensions: 9 1/4 x 13 1/8 x 1 3/8 (my measurements, not the official one).

I have a crappy 15.4" Targus sleeve I use when putting it in the laptop compartment of my Boa XM but I want something small for only the laptop like the Booq PowerSleeve XS I have for my 12" PowerBook, when I don't need to carry a backpack.

So far the candidates are the McKlein S Series Transporter (Nylon) Trager Vertical Transporter, Higher Ground 14" Shuttle or the Tom Bihn Vertical Brain Cell (Size 4) or maybe the Booq Natrix SlimCase but that's probably bigger than I want. None of these are cheap, some I'm sure they are all good quality. I'd like to be able to fit the small power adapter somewhere. and have a decent shoulder strap.

Any experiences with these? Or anyone find the perfect case for their 14.1" T-61?

Friday, August 31, 2007

Thwarting the Evil Thinkpad T61 ESC Key

Since I am not an emacs wanker and the T-61's ESC key is small and way the hell away, I get the GNOME help screen only like 40-50 times a day (and have been for the last 3 month). But no more. Enough is Enough.

xmodmap -e "keycode 67 = Escape"

Sunday, July 15, 2007

Using i4965AGN (iwlwifi + not ndiswrapper) and wpa_supplicant

For some reason I've always had a mental block about wpa_supplicant. I thought it was hard to setup.Well for WPA Personal it is not.

So after getting discouraged about not seeing anyone getting wpa_supplicant working with the iwlifi/mac80211 drivers, I was suprised to actually get WPA working with my Linksys AP (one of the crappy new VXWorks based ones I think). See my previous blog for the list of components necessary.

Using a simple config file (/etc/wpasupplicant.conf)

network={
ssid="kartoffel"
psk="m00nfac3"
}

The stock Debian 4.0 network-manager packages and wpasupplicant 5.5 ( which is a dependency of network-manager) were required. So starting from scratch:


franz-t61:~/iwlwifi# ./unload
Unloaded: iwl4965 iwl3945 mac80211 cfg80211
franz-t61:~/iwlwifi# ./load
No modules unloaded.
Loaded: iwl3945 iwl4965
franz-t61:~/iwlwifi# startwpa
ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAUTH]: Operation not supported
WEXT auth param 5 value 0x1 - franz-t61:~/iwlwifi# cat /usr/local/bin/startwpa
wpa_supplicant -B -c /etc/wpasupplicant.conf -i wlan0 -D wext
franz-t61:~/iwlwifi# iwconfig wlan0
wlan0 IEEE 802.11g ESSID:"kartoffel" Nickname:""
Mode:Managed Frequency:2.457 GHz Access Point: 00:18:F8:52:B5:E1
Bit Rate=54 Mb/s Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Encryption key: wo-ul-dn-ty-li-ke-to-kn-ow
Power Management:off
Link Quality=65/100 Signal level=-68 dBm Noise level=-127 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

franz-t61:~/iwlwifi# dhclient wlan0
There is already a pid file /var/run/dhclient.pid with pid 5114
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wlan0/00:13:e8:08:8d:f5
Sending on LPF/wlan0/00:13:e8:08:8d:f5
Sending on Socket/fallback
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.170.1
bound to 192.168.170.100 -- renewal in 35748 seconds.

And of course there are NetworkManager and wpa_supplicant daemons. I think I've actually got 5-6 wpa_supplicants running, hehe.

Saturday, July 14, 2007

i4965 Finally Working (Albeit Insecurely)

Well I can finally toss my PCMCIA Aironet 352, and a good thing since the button was starting to stick. Even the thick single button design on the T-61 seems a bit flawed.

Components that worked for me
  • Linux 2.6.21.5
  • Linux wireless tools v 29 (compiled from source, obviously you need to wipe the one in your distro)
  • iwlwifi-4965-ucode-4.44.15.tgz
  • iwlwifi-0.0.38.tgz
  • mac80211-9.0.2.tgz
Here is an excerpt of my kernel config. The key breakthrough (I think) was that I read somewhere (probably on ThinkWiki) not to enable the wireless netlinks (CONFIG_NL80211 below) Otherwise the README's are pretty much on target. You do have to up the wlan0 interface before trying to assign the essid.

CONFIG_CFG80211=m
# CONFIG_NL80211 is not set
CONFIG_WIRELESS_EXT=y
CONFIG_MAC80211=m
# CONFIG_MAC80211_DEBUGFS is not set
CONFIG_MAC80211_DEBUG=y
CONFIG_MAC80211_VERBOSE_DEBUG=y
CONFIG_MAC80211_LOWTX_FRAME_DUMP=y
CONFIG_TKIP_DEBUG=y
CONFIG_MAC80211_DEBUG_COUNTERS=y
CONFIG_HOSTAPD_WPA_TESTING=y
CONFIG_MAC80211_IBSS_DEBUG=y
CONFIG_MAC80211_VERBOSE_PS_DEBUG=y
CONFIG_IEEE80211=m
# CONFIG_IEEE80211_DEBUG is not set
CONFIG_IEEE80211_CRYPT_WEP=m
CONFIG_IEEE80211_CRYPT_CCMP=m
CONFIG_IEEE80211_CRYPT_TKIP=m
CONFIG_IEEE80211_SOFTMAC=m
# CONFIG_IEEE80211_SOFTMAC_DEBUG is not set

Kernel modules and stuff

franz-t61:/var/log# lsmod
Module Size Used by
iwl4965 181796 0
iwl3945 159460 0
mac80211 161548 2 iwl4965,iwl3945
cfg80211 8264 1 mac80211
ecb 3840 2
arc4 2432 2
ipv6 236640 22
button 8400 0
dm_snapshot 16868 0
dm_mirror 20756 0
sbp2 21700 0
eth1394 18884 0
tsdev 8000 0
pcmcia 35220 0
firmware_class 9920 3 iwl4965,iwl3945,pcmcia
i2c_i801 8912 0
ohci1394 32944 0
i2c_core 21056 1 i2c_i801
ieee1394 90040 3 sbp2,eth1394,ohci1394
yenta_socket 25292 1
rsrc_nonstatic 11008 1 yenta_socket
pcmcia_core 37524 3 pcmcia,yenta_socket,rsrc_nonstatic
psmouse 35528 0
serio_raw 7044 0
pcspkr 3584 0
intel_agp 23452 1
agpgart 32712 1 intel_agp
evdev 9664 3


franz-t61:~# iwconfig -v
iwconfig Wireless-Tools version 29
Compatible with Wireless Extension v11 to v22.

Kernel Currently compiled with Wireless Extension v22.

wlan0 Recommend Wireless Extension v21 or later,
Currently compiled with Wireless Extension v22.


# ifconfig wlan0
wlan0 Link encap:Ethernet HWaddr 00:13:E8:08:8D:F5
inet addr:192.168.2.137 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::213:e8ff:fe08:8df5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1635 errors:0 dropped:0 overruns:0 frame:0
TX packets:1269 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1234676 (1.1 MiB) TX bytes:300070 (293.0 KiB)

franz-t61:~# iwconfig
eth1 no wireless extensions.

lo no wireless extensions.

eth0 no wireless extensions.

wmaster0 no wireless extensions.

wlan0 IEEE 802.11g ESSID:"tsunami" Nickname:""
Mode:Managed Frequency:2.437 GHz Access Point: 00:90:4B:38:E6:5C
Bit Rate=54 Mb/s Tx-Power=27 dBm
Retry min limit:7 RTS thr:off Fragment thr=2346 B
Encryption key:off
Power Management:off
Link Quality=81/100 Signal level=-53 dBm Noise level=-127 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0



And dmesg from ./loading and ./uloading the interface.


[ 1296.724000] iwl4965: ipw going down
[ 1298.780000] wmaster0: Removed STA 00:90:4b:38:e6:5c
[ 1298.848000] ACPI: PCI interrupt for device 0000:03:00.0 disabled
[ 1326.836000] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection driver for Linux, 0.0.38d
[ 1326.836000] iwl3945: Copyright(c) 2003-2007 Intel Corporation
[ 1326.836000] iwl4965: Intel(R) Wireless WiFi Link 4965AGN driver for Linux, 0.0.38d
[ 1326.836000] iwl4965: Copyright(c) 2003-2007 Intel Corporation
[ 1326.840000] ACPI: PCI Interrupt 0000:03:00.0[A] -> GSI 17 (level, low) -> IRQ 22
[ 1326.840000] PCI: Setting latency timer of device 0000:03:00.0 to 64
[ 1326.840000] iwl4965: Detected Intel Wireless WiFi Link 4965AGN
[ 1327.076000] iwl4965: Channel 12 [2.4GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 13 [2.4GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 14 [2.4GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 183 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 184 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 185 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 187 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 188 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 189 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 192 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 196 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 7 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 8 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 11 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 12 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 16 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 34 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 38 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 42 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 46 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 100 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 104 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 108 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 112 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 116 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 120 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 124 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 128 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 132 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 136 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 140 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Channel 145 [5.2GHz] is Tx only -- skipping.
[ 1327.076000] iwl4965: Tunable channels: 11 802.11bg, 13 802.11a channels
[ 1327.076000] wmaster0: Selected rate control algorithm 'iwl-4965-rs'
[ 1327.076000] iwl4965: Unhandled INTA bits 0x04000000
[ 1327.076000] iwl4965: Disabled INTA bits 0x04000000 were pending
[ 1327.076000] iwl4965: with FH_INT = 0x00010000
[ 1327.080000] iwl4965: REPLY_CT_KILL_CONFIG_CMD succeeded
[ 1348.472000] HW CONFIG: channel=1 freq=2412 phymode=3
[ 1348.480000] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 1365.048000] HW CONFIG: channel=1 freq=2412 phymode=3
[ 1365.052000] HW CONFIG: channel=6 freq=2437 phymode=3
[ 1365.060000] iwl4965: REPLY_ADD_STA failed
[ 1365.060000] wlan0: Initial auth_alg=0
[ 1365.060000] wlan0: authenticate with AP 00:90:4b:38:e6:5c
[ 1365.060000] wmaster0: TX to low-level driver (len=30) FC=0x00b0 DUR=0x013a A1=00:90:4b:38:e6:5c A2=00:13:e8:08:8d:f5 A3=00:90:4b:38:e6:5c
[ 1365.060000] wlan0: RX authentication from 00:90:4b:38:e6:5c (alg=0 transaction=2 status=0)
[ 1365.060000] wlan0: authenticated
[ 1365.060000] wlan0: associate with AP 00:90:4b:38:e6:5c
[ 1365.060000] wmaster0: TX to low-level driver (len=53) FC=0x0000 DUR=0x013a A1=00:90:4b:38:e6:5c A2=00:13:e8:08:8d:f5 A3=00:90:4b:38:e6:5c
[ 1365.064000] wlan0: RX AssocResp from 00:90:4b:38:e6:5c (capab=0x401 status=0 aid=1)[ 1365.064000] wlan0: associated
[ 1365.064000] wmaster0: Added STA 00:90:4b:38:e6:5c
[ 1365.064000] wmaster0: TX to low-level driver (len=42) FC=0x0040 DUR=0x013a A1=00:90:4b:38:e6:5c A2=00:13:e8:08:8d:f5 A3=00:90:4b:38:e6:5c
[ 1365.064000] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1365.072000] wmaster0: TX to low-level driver (len=108) FC=0x0108 DUR=0x002c A1=00:90:4b:38:e6:5c A2=00:13:e8:08:8d:f5 A3=33:33:00:00:00:16
[ 1365.600000] wmaster0: TX to low-level driver (len=96) FC=0x0108 DUR=0x002c A1=00:90:4b:38:e6:5c A2=00:13:e8:08:8d:f5 A3=33:33:ff:08:8d:f5
[ 1366.600000] wmaster0: TX to low-level driver (len=88) FC=0x0108 DUR=0x002c A1=00:90:4b:38:e6:5c A2=00:13:e8:08:8d:f5 A3=33:33:00:00:00:02
[ 1370.600000] wmaster0: TX to low-level driver (len=88) FC=0x0108 DUR=0x002c A1=00:90:4b:38:e6:5c A2=00:13:e8:08:8d:f5 A3=33:33:00:00:00:02

Sunday, July 08, 2007

i4965: Two Steps Forward, One Step Back


iwl4965: with FH_INT = 0x00010000
iwl4965: REPLY_CT_KILL_CONFIG_CMD succeeded
iwl4965: REPLY_ADD_STA failed
iwl4965: no version for "release_firmware" found: kernel tainted.
iwl4965: Intel(R) Wireless WiFi Link 4965AGN driv er for Linux, 0.0.35d
iwl4965: Copyright(c) 2003-2007 Intel Corporation
iwl4965: Detected Intel Wireless WiFi Link 4965AG N
iwl4965: Radio disabled by HW RF Kill switch

So with 2.6.21.5 + iwlwifi-0.0.35 and mac80211-9.0.0 and Linux Wireless Tools v 29 (you'll need the firmware from the Intel site as well) I was able to get to able to get the hardware detected, see a few access points, associate a couple of times, and oh yeah get kernel stack traces every time I tried to get a lease. I was surprised to see the kernel honored the "kill switch" on the front of the laptop.

Oh well, I'll try again next weekend. It's back to a wide open Aironet card when running Linux (God knows why WEP isn't working with the Aironet 352 and the Truemobile running OpenWRT). If you are in the neighborhood, you can have free wifi if you spoof the 3 MACs I have in the filter list (until I get WPA working I'll adopt the bonehead OpenBSD view (I need to find a better link, but that will do) that Wireless security protocols encourage a false sense of security) but I'm sure its much easier to hop on my neighbor's Linksys. Assuming they didn't close it down. But I've got fprobe running the OpenWRT box (as simple as ipkg install fprobe, very cool!) so I'm watching you :)

# --- ---- ---- Report Information --- --- ---
#
# Fields: Total
# Symbols: Disabled
# Sorting: Descending Field 1
# Name: UDP/TCP destination port
#
# Args: flow-stat -f 5 -S1
#
#
# port flows octets packets
#
80 223 1012583 4549
123 182 21280 280
3000 132 56380 271
443 20 77666 331
2050 16 42523 239
53 16 15287 239
60321 7 20647 69
22 7 24766 307

Wednesday, July 04, 2007

rtnetlink kernel link errors with Intel 4965 Drivers

In my last blog I mentioned some instructions I'd run across for building the Open Source Intel drivers for the i4965 that ships with Lenovo T-61s. I more or less followed the instructions but am still getting the follwing error:


net/wireless/wext.c: In function ‘rtnetlink_fill_iwinfo’:
net/wireless/wext.c:1136: warning: initialization discards qualifiers from pointer target type
CC net/wireless/core.o
CC net/wireless/sysfs.o
LD net/wireless/cfg80211.o
LD net/wireless/built-in.o
LD net/built-in.o
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
net/built-in.o: In function `rtnl_getlink':
rtnetlink.c:(.text+0x10c69): undefined reference to `wireless_rtnetlink_get'
net/built-in.o: In function `rtnl_setlink':
rtnetlink.c:(.text+0x11372): undefined reference to `wireless_rtnetlink_set'
make: *** [.tmp_vmlinux1] Error 1