]
トップ «前の日記(2006-01-12) 最新 次の日記(2006-01-14)» 編集

Yukiharu YABUKI の tDiary



このtDiaryを検索します。

2006-01-13 [長年日記]

_ gcc issue

Debian-gccにもCc: ing されているが,(http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19664)

の問題が gcc/g++ のvisibiltyの問題ぽい.このissueの中で 'pop/push of

the visibility in the headers' とかいう表現があるけど,どんなイメージ

なんだろうな.

_ いまごろ見付けた.

(http://www.gotom.jp/~gotom/linux/Debconf4/)

_ バーコードリーダー

黒瀬くんの買ったバーコードリーダーは
Jan 13 14:08:36 localhost kernel: usb 2-1: new low speed USB device using address 2
Jan 13 14:08:36 localhost kernel: usbcore: registered new driver hiddev
Jan 13 14:08:36 localhost hal.hotplug[29102]: DEVPATH is not set
Jan 13 14:08:36 localhost usb.agent[29061]:      usbhid: loaded successfully
Jan 13 14:08:36 localhost kernel: input: USB HID v1.10 Keyboard [CANMAX Installed Successfully] on usb-0000:00:1d.1-1
Jan 13 14:08:36 localhost kernel: usbcore: registered new driver usbhid
Jan 13 14:08:36 localhost kernel: drivers/usb/input/hid-core.c: v2.0:USB HID core driver
Jan 13 14:08:36 localhost udev[29121]: configured rule in '/etc/udev/rules.d/udev.rules[67]' applied, 'event3' becomes 'input/%k'
Jan 13 14:08:36 localhost udev[29121]: creating device node '/dev/input/event3'
Jan 13 14:08:36 localhost input.agent[29103]:      evdev: already loaded
Jan 13 14:08:36 localhost input.agent[29103]:      joydev: loaded successfully
Jan 13 14:08:36 localhost input.agent[29094]:      evdev: already loaded
ってな感じで認識しました。on Sargeだけどね。抜いた時のlogは
Jan 13 14:09:47 localhost kernel: usb 2-1: USB disconnect, address 2
Jan 13 14:09:47 localhost hal.hotplug[29250]: DEVPATH is not set
Jan 13 14:09:47 localhost udev[29247]: removing device node '/dev/input/event3'

_ IPW2200 1.0.9 and 1.0.10

1月6日には出ていたが,(http://ipw2200.sf.net/#downloads)からDL可能.Debian unstable 1.0.8 からの差分は下記のとうり.
Jan 08 2006  Changes in 1.0.10
 
    * Fix a QoS send_command argument switch problem (thanks to Henrik Brix Andersen)
    * Fix a variable referenced after kfree() bug 
 
Jan 06 2006 Changes in 1.0.9
 
    * Scale firmware loading watchdog with the firmware size (thanks to Peter Jones)
    * Add module parameter to enable/disable roaming
    * Make LED blinking frequency independ of HZ (thanks to Clemens Buchacher)
    * Replace HZ calculation with jiffies_to_msec()
    * Add LEAP authentication algorithm support
    * Mask out the WEP_KEY command dump from debug log for security reason (thanks to Nick Kralevich)
    * Fixed indirect SRAM/register 8/16-bit write routines for non-dword-aligned destination addresses
    * Fixed sw_reset doesn't clear the static essid
    * Fix a slab corruption problem caused by ipw2200 error log buffer incorrect calculation
    * Disallow direct scanning when device is down (thanks to Pekka Enberg)
    * Fixed "iwspy ethx off" causes kernel panic
    * Fixed ipw2200 returns NETDEV_TX_BUSY even if queue is not full 
uupdateしてみた.
yabuki@Hrestol:~/src/deb/ipw2200/ipw2200-1.0.8$ uupdate ~/download/ipw2200-1.0.10.tgz 1.0.10
New Release will be 1.0.10-1.
Symlinking to pristine source from ipw2200_1.0.10.orig.tar.gz...
-- Untarring the new sourcecode archive /home/yabuki/download/ipw2200-1.0.10.tgz
1 out of 3 hunks FAILED -- saving rejects to file Makefile.rej
uupdate: the diffs from version 1.0.8-1 did not apply cleanly!
Rejected diffs are in ./Makefile.rej
Remember: Your current directory is the OLD sourcearchive!
Do a "cd ../ipw2200-1.0.10" to see the new package
(Did you see the warnings above?)
yabuki@Hrestol:~/src/deb/ipw2200/ipw2200-1.0.8$ cd ../ipw2200-1.0.10
Rejectが出たので,手patchを当てる.CC="$(CC) -I$(IEEE80211_INC)"を追加って感じ.

_ ieee80211 1.1.7と1.1.8

Debian unstable versionにある 1.1.6 との差分
 Jan 08 2006  Changes in 1.1.8
 
    * Fix kzalloc() and gfp_t referenced in old kernels bug (thanks to Axel Thimm)
    * Fix compile errors for kernels don't have WE-18 support 
 
Jan 06 2006 Changes in 1.1.7
 
    * Fixed a memory leak bug (thanks to kirill)
    * Add LEAP authentication algorithm support
    * Fixed iwlist scan can only show about 20 APs
    * Fixed problem with WEP unicast key > index 0 (thanks to Volker Braun)
    * Fixed to use GFP mask on TX skb allocation (thanks to Michael Buesch)
    * Fixed to use the tx_headroom and reserve requested space (thanks to Michael Buesch)
    * Fixed older kernel compatibility issues with __le16, __nocast, and NETDEV_TX_BUSY (thanks to Mike Hommey) 
uupdateしてみた.
yabuki@Hrestol:~/src/deb/ipw2200/ieee80211-1.1.6$ uupdate ~/download/ieee80211-1.1.8.tgz 1.1.8
New Release will be 1.1.8-1.
Symlinking to pristine source from ieee80211_1.1.8.orig.tar.gz...
-- Untarring the new sourcecode archive /home/yabuki/download/ieee80211-1.1.8.tgz
1 out of 1 hunk FAILED -- saving rejects to file ieee80211_crypt.c.rej
1 out of 4 hunks FAILED -- saving rejects to file Makefile.rej
uupdate: the diffs from version 1.1.6-2 did not apply cleanly!
Rejected diffs are in ./ieee80211_crypt.c.rej
./Makefile.rej
Remember: Your current directory is the OLD sourcearchive!
Do a "cd ../ieee80211-1.1.8" to see the new package
(Did you see the warnings above?)
yabuki@Hrestol:~/src/deb/ipw2200/ieee80211-1.1.6$ cd ../ieee80211-1.1.8
yabuki@Hrestol:~/src/deb/ipw2200/ieee80211-1.1.8$ 
ieee80211_crypt.cのrejは,
***************
*** 19,25 ****
  #include 
  #include 
  
- #include 
  
  MODULE_AUTHOR("Jouni Malinen");
  MODULE_DESCRIPTION("HostAP crypto");
--- 19,25 ----
  #include 
  #include 
  
+ #include "net/ieee80211.h"
  
  MODULE_AUTHOR("Jouni Malinen");
  MODULE_DESCRIPTION("HostAP crypto");
というもの.""だとincludeの検索にカレント・ディレクトリも含む(http://www.stackasterisk.jp/tech/program/c01_02.jsp)ので,""にしておく.
yabuki@Hrestol:~/src/deb/ipw2200/ieee80211-1.1.8$ ls net/
ieee80211.h  ieee80211.h.orig  ieee80211_crypt.h  ieee80211_radiotap.h
ってのがあるし. Makefile in ieee80211
***************
*** 210,220 ****
  install: check_path modules
        install -d $(KMISC)
        install -m 644 -c $(addsuffix .ko,$(list-m)) $(KMISC)
-       install -d $(IEEE80211_INC)
-       install -m 644 -c $(addprefix net/,$(ieee80211_inc)) $(IEEE80211_INC)
-       -mkdir -p $(KMISC)/.tmp_versions
-       install -m 644 -c $(addsuffix .mod,$(list-m)) $(KMISC)/.tmp_versions
-       /sbin/depmod -a
  
  uninstall:
        rm -rf $(addprefix $(KMISC),$(addsuffix .ko,$(list-m)))
--- 210,215 ----
  install: check_path modules
        install -d $(KMISC)
        install -m 644 -c $(addsuffix .ko,$(list-m)) $(KMISC)
  
  uninstall:
        rm -rf $(addprefix $(KMISC),$(addsuffix .ko,$(list-m)))
新しいMakefileには,-の部分が追加されている.