Thursday, February 24, 2011

ERROR: Invalid MBR found on image with signature 0xC033

http://packages.debian.org/squeeze/virtualbox-ose-fuse

Looks like I need a later version of vdfuse (from unstable):

$ vdfuse -v -d -t VHD -f VIRTLAP.VHD /tmp/to
ERROR: Invalid MBR found on image with signature 0xC033

Voxelent - Pervasive Medical Imaging Platform

Monday, February 21, 2011

toshset

http://www.schwieters.org/toshset/

http://memebeam.org/toys/ExperimentalToshibaAcpiDriver

http://www.flurble.org/computers/toshset.pl

Laptop battery critically low


Clearly something is wrong as the battery is fully charged !

RTL8192SU integrated into linux kernel 2.6.38

http://thread.gmane.org/gmane.linux.kernel.wireless.general/58371/focus=58455

I mean the PCIe devices. I plan to submit that driver in time to make the 2.6.38
merge. Realtek has not yet sent me the code for the USB devices, but as the chip
and core code is common, it should not be far behind.

Hopefully rtl8192se will also make it into:

http://bugzilla.kernel.org/show_bug.cgi?id=29532

Thursday, February 17, 2011

vim spell check of XML files

This is something I always forget:

:setlocal spell spelllang=fr

to install french spell, and then to use:

:syn spell toplevel

Saturday, February 12, 2011

modinfo r8192se_pci

filename: /lib/modules/2.6.32-5-amd64/kernel/drivers/net/wireless/r8192se_pci.ko
license: GPL
version: 0019.1207.2010
author: Copyright(c) 2008 - 2010 Realsil Semiconductor Corporation
description: Linux driver for Realtek RTL819x WiFi cards
srcversion: B35243106478C16B758F56E
alias: pci:v000010ECd00008174sv*sd*bc*sc*i*
alias: pci:v000010ECd00008173sv*sd*bc*sc*i*
alias: pci:v000010ECd00008172sv*sd*bc*sc*i*
alias: pci:v000010ECd00008171sv*sd*bc*sc*i*
alias: pci:v000010ECd00008192sv*sd*bc*sc*i*
depends:
vermagic: 2.6.32-5-amd64 SMP mod_unload modversions
parm: ifname: Net interface name, wlan%d=default (charp)
parm: hwwep: Try to use hardware WEP support(default use hw. set 0 to use software security) (int)
parm: channels: Channel bitmask for specific locales. NYI (int)

Wednesday, February 9, 2011

RTL8191SEvB Wireless LAN Controller (continued)

*-network
description: Wireless interface
product: RTL8191SEvB Wireless LAN Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:07:00.0
logical name: wlan0
version: 10
serial: 1c:65:9d:ba:25:47
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=rtl819xSE driverversion=0019.1207.2010 firmware=63 ip=192.168.0.17 latency=0 link=yes multicast=yes wireless=802.11bg
resources: irq:17 ioport:2000(size=256) memory:d1100000-d1103fff

Looking at the log from dmesg I can see this look working:

[ 2028.969908] rtllib_crypt: registered algorithm 'NULL'
[ 2028.969911] rtllib_crypt: registered algorithm 'TKIP'
[ 2028.969912] rtllib_crypt: registered algorithm 'CCMP'
[ 2028.969913] rtllib_crypt: registered algorithm 'WEP'
[ 2028.969914]
[ 2028.969915] Linux kernel driver for RTL8192 based WLAN cards
[ 2028.969916] Copyright (c) 2007-2008, Realsil Wlan Driver
[ 2028.969957] rtl819xSE 0000:07:00.0: PCI INT A -> GSI 17 (level, low) -> IRQ 17
[ 2028.969963] rtl819xSE 0000:07:00.0: setting latency timer to 64
[ 2028.970100] Memory mapped space start: 0xd1100000
[ 2028.976097] GetPciBusInfo(): Find Device(10EC:8172) bus=7 dev=0, func=0
[ 2028.977088] GetPciBridegInfo : Find Device(8086:3B44) bus=0 dev=28, func=1
[ 2028.977089] Pci Bridge Vendor is found index: 0
[ 2028.977090] Pci Bridge Vendor is 8086
[ 2028.982411] =========>dm_InitRateAdaptiveMask: bUseRAMask=0
[ 2029.065603] rtl819xSE 0000:07:00.0: firmware: requesting RTL8192SE/rtl8192sfw.bin
[ 2029.213505] rtl8192_SetWirelessMode(), wireless_mode:10, bEnableHT = 1
[ 2029.213512] InitializeAdapter8192SE(): Set MRC settings on as default!!
[ 2029.213516] HW_VAR_MRC: Turn on 1T1R MRC!
[ 2029.214753] ADDRCONF(NETDEV_UP): wlan0: link is not ready
[ 2029.432219] rtl8192_SetWirelessMode(), wireless_mode:10, bEnableHT = 1
[ 2029.432226] InitializeAdapter8192SE(): Set MRC settings on as default!!
[ 2029.432230] HW_VAR_MRC: Turn on 1T1R MRC!
[ 2049.903684] rtl8192_SetWirelessMode(), wireless_mode:10, bEnableHT = 1
[ 2049.903691] InitializeAdapter8192SE(): Set MRC settings on as default!!
[ 2049.903695] HW_VAR_MRC: Turn on 1T1R MRC!
[ 2079.890248] rtl8192_SetWirelessMode(), wireless_mode:10, bEnableHT = 1
[ 2079.890255] InitializeAdapter8192SE(): Set MRC settings on as default!!
[ 2079.890260] HW_VAR_MRC: Turn on 1T1R MRC!
[ 2119.960961] rtl8192_SetWirelessMode(), wireless_mode:10, bEnableHT = 1
[ 2119.960965] InitializeAdapter8192SE(): Set MRC settings on as default!!
[ 2119.960967] HW_VAR_MRC: Turn on 1T1R MRC!
[ 2173.776027] lo: Disabled Privacy Extensions
[ 2231.078758] rtl8192_SetWirelessMode(), wireless_mode:10, bEnableHT = 1
[ 2231.078762] InitializeAdapter8192SE(): Set MRC settings on as default!!
[ 2231.078763] HW_VAR_MRC: Turn on 1T1R MRC!
[ 2232.536122] Linking with networknamewifi,channel:6, qos:0, myHT:1, networkHT:0, mode:6 cur_net.flags:0x406
[ 2232.536143] rtllib_associate_procedure_wq(), chan:6
[ 2232.536148] HTSetConnectBwMode():pHTInfo->bCurBW40MHz:0
[ 2232.546108] ==============>rtllib_associate_procedure_wq():ieee->current_network.qos_data.qos_mode is 0,ieee->qos_capability is 1
[ 2232.546189] Linking with networknamewifi,channel:6, qos:0, myHT:1, networkHT:0, mode:6 cur_net.flags:0x406
[ 2232.546225] rtllib_associate_procedure_wq(), chan:6
[ 2232.546230] HTSetConnectBwMode():pHTInfo->bCurBW40MHz:0
[ 2232.556188] ==============>rtllib_associate_procedure_wq():ieee->current_network.qos_data.qos_mode is 0,ieee->qos_capability is 1
[ 2232.561705] rtl8192_SetWirelessMode(), wireless_mode:4, bEnableHT = 0
[ 2232.567377] Associated successfully
[ 2232.567379] normal associate
[ 2232.567388] Using G rates:108
[ 2232.567389] Successfully associated, ht not enabled(0, 0)
[ 2232.567395] rtl8192se_update_ratr_table: ratr_index=0 ratr_table=0x00000ff5
[ 2232.569531] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 2232.986229] RX: IEEE802.1X EAPOL frame!
[ 2232.994942] RX: IEEE802.1X EAPOL frame!
[ 2232.995027] alg name:CCMP
[ 2233.052391] padlock: VIA PadLock not detected.
[ 2233.064043] r8192_wx_set_enc_ext() group:0, alg:4, last_pairwise_key_type:0, key_len:16
[ 2233.064651] set_swcam():EntryNo is 4,KeyIndex is 0,KeyType is 4,is_mesh is 0
[ 2233.120207] dm_check_edca_turbo():iot peer is unknown, bssid:12:2a:72:73:b0:00
[ 2233.974604] RX: IEEE802.1X EAPOL frame!
[ 2233.974747] alg name:TKIP
[ 2234.012111] r8192_wx_set_enc_ext() group:1, alg:2, last_pairwise_key_type:4, key_len:32
[ 2234.013102] set_swcam():EntryNo is 1,KeyIndex is 1,KeyType is 2,is_mesh is 0
[ 2237.682630] DHCP pkt src port:68, dest port:67!!
[ 2237.704858] DHCP pkt src port:68, dest port:67!!
[ 2241.115880] LPS Enter: notify AP we are dozing ++++++++++ SendNullFunctionData
http://samiux.blogspot.com/2010/11/howto-rtl8191se-wireless-card-on.html

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609784

07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller (rev 10)

Ok so I got my new laptop. Everything seems to have gone smoothly installing the latest debian 6.0.

Now let's fix the non-free stuff (the wifi):

$ sudo lshw -c network
*-network
description: Ethernet interface
product: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:02:00.0
logical name: eth0
version: 05
serial: 1c:75:08:79:91:84
size: 100MB/s
capacity: 100MB/s
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress msix vpd bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full ip=192.168.0.20 latency=0 link=yes multicast=yes port=MII speed=100MB/s
resources: irq:32 ioport:4000(size=256) memory:d0004000-d0004fff(prefetchable) memory:d0000000-d0003fff(prefetchable)
*-network UNCLAIMED
description: Network controller
product: RTL8191SEvB Wireless LAN Controller
vendor: Realtek Semiconductor Co., Ltd.
physical id: 0
bus info: pci@0000:07:00.0
version: 10
width: 32 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list
configuration: latency=0
resources: ioport:2000(size=256) memory:d1100000-d1103fff


$ sudo lspci -s 07:00.0 -v
07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8191SEvB Wireless LAN Controller (rev 10)
Subsystem: Realtek Semiconductor Co., Ltd. Device 8181
Flags: bus master, fast devsel, latency 0, IRQ 11
I/O ports at 2000 [size=256]
Memory at d1100000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Legacy Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [140] Virtual Channel
Capabilities: [160] Device Serial Number 88-55-22-fe-ff-4c-e0-00
Looks like I need:

http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=21&PFid=48&Level=5&Conn=4&ProdID=226&DownTypeID=3&GetDown=false&Downloads=true#2262


http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=590280


http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=21&PFid=48&Level=5&Conn=4&DownTypeID=3&GetDown=false

Tuesday, February 8, 2011

bash.exe - entry point not found

the entry point rl_filename_rewrite_hook could not be located in the dynamic link library cygreadline7.dll

Saturday, February 5, 2011

TOSHIBA Satellite L670-1JN


Found this post:

http://forums.computers.toshiba-europe.com/forums/thread.jspa?threadID=29243

which links to:

http://209.167.114.38/support/techsupport/tsbs/all/-TSB001443.htm

What this post does not mention is that you cannot use USB drive to do the backup, you always have to keep your finger cross this tool can burn the image... why in the world can't you create a simple iso image...