カーネルモジュールを見る

LS410D

Hack BBS で猫のクマさんから LS-410Dの初期ファームのカーネルにTUNあり と情報をいただいた。

遅ればせながら、カーネルモジュールを見てみる

LS410Dのカーネルモジュール

[root@LS410D06E ~]# cd /lib/modules/3.3.4/
[root@LS410D06E 3.3.4]# find . -print
.
./kernel
./kernel/arch
./kernel/arch/arm
./kernel/arch/arm/oprofile
./kernel/arch/arm/oprofile/oprofile.ko
./kernel/lib
./kernel/lib/crc-itu-t.ko
./kernel/drivers
./kernel/drivers/cdrom
./kernel/drivers/cdrom/cdrom.ko
./kernel/drivers/m01fmb.ko
./kernel/drivers/scsi
./kernel/drivers/scsi/thor
./kernel/drivers/scsi/thor/mv61xx.ko
./kernel/drivers/scsi/sg.ko
./kernel/drivers/scsi/sr_mod.ko
./kernel/drivers/scsi/scsi_wait_scan.ko
./kernel/drivers/usb
./kernel/drivers/usb/class
./kernel/drivers/usb/class/usblp.ko
./kernel/drivers/usb/host
./kernel/drivers/usb/host/xhci-hcd.ko
./kernel/drivers/usb/host/ehci-hcd.ko
./kernel/drivers/usb/host/ohci-hcd.ko
./kernel/drivers/usb/usb-common.ko
./kernel/drivers/usb/storage
./kernel/drivers/usb/storage/usb-storage.ko
./kernel/drivers/usb/sxuptp
./kernel/drivers/usb/sxuptp/sxuptp_driver.ko
./kernel/drivers/usb/sxuptp/sxuptp_wq.ko
./kernel/drivers/usb/sxuptp/sxuptp.ko
./kernel/drivers/usb/sxuptp/sxuptp_devfilter.ko
./kernel/drivers/usb/core
./kernel/drivers/usb/core/usbcore.ko
./kernel/drivers/net
./kernel/drivers/net/tun.ko
./kernel/net
./kernel/net/core
./kernel/net/core/pktgen.ko
./kernel/crypto
./kernel/crypto/ecb.ko
./kernel/crypto/pcbc.ko
./kernel/crypto/cbc.ko
./kernel/fs
./kernel/fs/udf
./kernel/fs/udf/udf.ko
./kernel/fs/ufsd
./kernel/fs/ufsd/ufsd.ko
./kernel/fs/nls
./kernel/fs/nls/nls_iso8859-9.ko
./kernel/fs/nls/nls_cp861.ko
./kernel/fs/nls/nls_cp857.ko
./kernel/fs/nls/nls_iso8859-14.ko
./kernel/fs/nls/nls_iso8859-3.ko
./kernel/fs/nls/nls_cp869.ko
./kernel/fs/nls/nls_cp949.ko
./kernel/fs/nls/nls_cp1255.ko
./kernel/fs/nls/nls_cp865.ko
./kernel/fs/nls/nls_iso8859-5.ko
./kernel/fs/nls/nls_iso8859-6.ko
./kernel/fs/nls/nls_iso8859-7.ko
./kernel/fs/nls/nls_cp775.ko
./kernel/fs/nls/nls_cp850.ko
./kernel/fs/nls/nls_cp866.ko
./kernel/fs/nls/nls_cp863.ko
./kernel/fs/nls/nls_cp874.ko
./kernel/fs/nls/nls_iso8859-2.ko
./kernel/fs/nls/nls_koi8-u.ko
./kernel/fs/nls/nls_cp737.ko
./kernel/fs/nls/nls_cp1251.ko
./kernel/fs/nls/nls_koi8-r.ko
./kernel/fs/nls/nls_cp855.ko
./kernel/fs/nls/nls_cp1250.ko
./kernel/fs/nls/nls_cp860.ko
./kernel/fs/nls/nls_cp950.ko
./kernel/fs/nls/nls_cp864.ko
./kernel/fs/nls/nls_iso8859-15.ko
./kernel/fs/nls/nls_iso8859-1.ko
./kernel/fs/nls/nls_cp852.ko
./kernel/fs/nls/nls_iso8859-4.ko
./kernel/fs/nls/nls_cp862.ko
./kernel/fs/nls/nls_koi8-ru.ko
./kernel/fs/nls/nls_ascii.ko
./kernel/fs/nls/nls_cp936.ko
./kernel/fs/nls/nls_iso8859-13.ko
./kernel/fs/isofs
./kernel/fs/isofs/isofs.ko
./modules.dep
./modules.devname
./modules.ccwmap
./modules.order
./modules.symbols
./modules.alias.bin
./modules.softdep
./modules.symbols.bin
./modules.dep.bin
./modules.seriomap
./modules.inputmap
./modules.ofmap
./modules.builtin
./modules.builtin.bin
./modules.pcimap
./modules.alias
./modules.usbmap
./modules.isapnpmap
./modules.ieee1394map
[root@LS410D06E 3.3.4]# find . -print > /mnt/disk1/share/modules.ls410d
[root@LS410D06E 3.3.4]#
確かに ./kernel/drivers/net/tun.ko がある。

LS-VLのカーネルモジュール

比較のために、LS-VL も見てみる
root@LS-VL815:~# cat /etc/linkstation_release
VERSION=1.65
SUBVERSION=HDD 3.40
PRODUCTID=0x00000000
BUILDDATE=2013/05/16 13:50:18
root@LS-VL815:~# cd /lib/modules/
2.6.22.7-88f5182/ 3.3.4-88f6281/
root@LS-VL815:~# cd /lib/modules/3.3.4-88f6281/
root@LS-VL815:/lib/modules/3.3.4-88f6281# find . -print
.
./modules.alias
./modules.pcimap
./modules.ieee1394map
./modules.inputmap
./modules.seriomap
./modules.ofmap
./modules.symbols
./modules.builtin
./modules.order
./modules.isapnpmap
./modules.ccwmap
./modules.usbmap
./kernel
./kernel/drivers
./kernel/drivers/input
./kernel/drivers/input/mousedev.ko
./kernel/drivers/mtd
./kernel/drivers/mtd/ubi
./kernel/drivers/mtd/ubi/ubi.ko
./kernel/drivers/hid
./kernel/drivers/hid/usbhid
./kernel/drivers/hid/usbhid/usbhid.ko
./kernel/drivers/hid/hid.ko
./kernel/drivers/char
./kernel/drivers/char/hw_random
./kernel/drivers/char/hw_random/rng-core.ko
./kernel/drivers/net
./kernel/drivers/net/bonding
./kernel/drivers/net/bonding/bonding.ko
./kernel/drivers/net/slip
./kernel/drivers/net/slip/slhc.ko
./kernel/drivers/net/ppp
./kernel/drivers/net/ppp/bsd_comp.ko
./kernel/drivers/net/ppp/ppp_synctty.ko
./kernel/drivers/net/ppp/ppp_generic.ko
./kernel/drivers/net/ppp/ppp_async.ko
./kernel/drivers/net/ppp/ppp_deflate.ko
./kernel/drivers/usb
./kernel/drivers/usb/storage
./kernel/drivers/usb/storage/ums-datafab.ko
./kernel/drivers/usb/storage/ums-sddr55.ko
./kernel/drivers/usb/storage/ums-freecom.ko
./kernel/drivers/usb/storage/ums-sddr09.ko
./kernel/drivers/usb/storage/usb-storage.ko
./kernel/drivers/usb/storage/ums-jumpshot.ko
./kernel/drivers/usb/core
./kernel/drivers/usb/core/usbcore.ko
./kernel/drivers/usb/sxuptp
./kernel/drivers/usb/sxuptp/sxuptp_devfilter.ko
./kernel/drivers/usb/sxuptp/sxuptp_driver.ko
./kernel/drivers/usb/sxuptp/sxuptp_wq.ko
./kernel/drivers/usb/sxuptp/sxuptp.ko
./kernel/drivers/usb/host
./kernel/drivers/usb/host/ohci-hcd.ko
./kernel/drivers/usb/host/uhci-hcd.ko
./kernel/drivers/usb/host/ehci-hcd.ko
./kernel/drivers/usb/usb-common.ko
./kernel/drivers/usb/class
./kernel/drivers/usb/class/usblp.ko
./kernel/drivers/scsi
./kernel/drivers/scsi/scsi_wait_scan.ko
./kernel/drivers/telephony
./kernel/drivers/telephony/phonedev.ko
./kernel/lib
./kernel/lib/crc-ccitt.ko
./kernel/lib/crc-itu-t.ko
./kernel/fs
./kernel/fs/nls
./kernel/fs/nls/nls_iso8859-4.ko
./kernel/fs/nls/nls_koi8-u.ko
./kernel/fs/nls/nls_cp950.ko
./kernel/fs/nls/nls_iso8859-14.ko
./kernel/fs/nls/nls_cp864.ko
./kernel/fs/nls/nls_cp861.ko
./kernel/fs/nls/nls_iso8859-9.ko
./kernel/fs/nls/nls_iso8859-3.ko
./kernel/fs/nls/nls_iso8859-7.ko
./kernel/fs/nls/nls_cp869.ko
./kernel/fs/nls/nls_iso8859-2.ko
./kernel/fs/nls/nls_koi8-r.ko
./kernel/fs/nls/nls_cp1251.ko
./kernel/fs/nls/nls_cp865.ko
./kernel/fs/nls/nls_cp866.ko
./kernel/fs/nls/nls_cp936.ko
./kernel/fs/nls/nls_cp949.ko
./kernel/fs/nls/nls_cp852.ko
./kernel/fs/nls/nls_cp857.ko
./kernel/fs/nls/nls_cp863.ko
./kernel/fs/nls/nls_ascii.ko
./kernel/fs/nls/nls_cp850.ko
./kernel/fs/nls/nls_cp874.ko
./kernel/fs/nls/nls_iso8859-5.ko
./kernel/fs/nls/nls_cp775.ko
./kernel/fs/nls/nls_cp855.ko
./kernel/fs/nls/nls_cp862.ko
./kernel/fs/nls/nls_iso8859-1.ko
./kernel/fs/nls/nls_iso8859-13.ko
./kernel/fs/nls/nls_iso8859-15.ko
./kernel/fs/nls/nls_iso8859-6.ko
./kernel/fs/nls/nls_cp737.ko
./kernel/fs/nls/nls_cp1250.ko
./kernel/fs/nls/nls_koi8-ru.ko
./kernel/fs/nls/nls_cp1255.ko
./kernel/fs/nls/nls_cp860.ko
./kernel/fs/ubifs
./kernel/fs/ubifs/ubifs.ko
./kernel/fs/ntfs
./kernel/fs/ntfs/ntfs.ko
./kernel/fs/fat
./kernel/fs/fat/fat.ko
./kernel/fs/fat/vfat.ko
./kernel/fs/fat/msdos.ko
./kernel/crypto
./kernel/crypto/authenc.ko
./kernel/crypto/pcbc.ko
./kernel/crypto/authencesn.ko
./kernel/net
./kernel/net/mac80211
./kernel/net/mac80211/mac80211.ko
./kernel/net/wireless
./kernel/net/wireless/cfg80211.ko
./kernel/net/wireless/lib80211.ko
./kernel/net/xfrm
./kernel/net/xfrm/xfrm_ipcomp.ko
./kernel/net/xfrm/xfrm_user.ko
./kernel/net/ipv4
./kernel/net/ipv4/xfrm4_mode_transport.ko
./kernel/net/ipv4/ipcomp.ko
./kernel/net/ipv4/xfrm4_tunnel.ko
./kernel/net/ipv4/tunnel4.ko
./kernel/net/ipv4/esp4.ko
./kernel/net/ipv4/ah4.ko
./modules.dep
root@LS-VL815:/lib/modules/3.3.4-88f6281# !! > /mnt/disk1/share/modules.ls-vl
find . -print > /mnt/disk1/share/modules.ls-vl
root@LS-VL815:/lib/modules/3.3.4-88f6281#

比較

両者を比較してみた
yasunari@qube:/mnt/disk1/tmp$ sort modules.ls-vl > modules.ls-vl.sorted
yasunari@qube:/mnt/disk1/tmp$ sort modules.ls410d > modules.ls410d.sorted
yasunari@qube:/mnt/disk1/tmp$ sdiff modules.ls-vl.sorted modules.ls410d.sorted
.                                                               .
./kernel                                                        ./kernel
                                                              > ./kernel/arch
                                                              > ./kernel/arch/arm
                                                              > ./kernel/arch/arm/oprofile
                                                              > ./kernel/arch/arm/oprofile/oprofile.ko
./kernel/crypto                                                 ./kernel/crypto
./kernel/crypto/authenc.ko                                    | ./kernel/crypto/cbc.ko
./kernel/crypto/authencesn.ko                                 | ./kernel/crypto/ecb.ko
./kernel/crypto/pcbc.ko                                         ./kernel/crypto/pcbc.ko
./kernel/drivers                                                ./kernel/drivers
./kernel/drivers/char                                         | ./kernel/drivers/cdrom
./kernel/drivers/char/hw_random                               | ./kernel/drivers/cdrom/cdrom.ko
./kernel/drivers/char/hw_random/rng-core.ko                   | ./kernel/drivers/m01fmb.ko
./kernel/drivers/hid                                          <
./kernel/drivers/hid/hid.ko                                   <
./kernel/drivers/hid/usbhid                                   <
./kernel/drivers/hid/usbhid/usbhid.ko                         <
./kernel/drivers/input                                        <
./kernel/drivers/input/mousedev.ko                            <
./kernel/drivers/mtd                                          <
./kernel/drivers/mtd/ubi                                      <
./kernel/drivers/mtd/ubi/ubi.ko                               <
./kernel/drivers/net                                            ./kernel/drivers/net
./kernel/drivers/net/bonding                                  | ./kernel/drivers/net/tun.ko
./kernel/drivers/net/bonding/bonding.ko                       <
./kernel/drivers/net/ppp                                      <
./kernel/drivers/net/ppp/bsd_comp.ko                          <
./kernel/drivers/net/ppp/ppp_async.ko                         <
./kernel/drivers/net/ppp/ppp_deflate.ko                       <
./kernel/drivers/net/ppp/ppp_generic.ko                       <
./kernel/drivers/net/ppp/ppp_synctty.ko                       <
./kernel/drivers/net/slip                                     <
./kernel/drivers/net/slip/slhc.ko                             <
./kernel/drivers/scsi                                           ./kernel/drivers/scsi
./kernel/drivers/scsi/scsi_wait_scan.ko                         ./kernel/drivers/scsi/scsi_wait_scan.ko
./kernel/drivers/telephony                                    | ./kernel/drivers/scsi/sg.ko
./kernel/drivers/telephony/phonedev.ko                        | ./kernel/drivers/scsi/sr_mod.ko
                                                              > ./kernel/drivers/scsi/thor
                                                              > ./kernel/drivers/scsi/thor/mv61xx.ko
./kernel/drivers/usb                                            ./kernel/drivers/usb
./kernel/drivers/usb/class                                      ./kernel/drivers/usb/class
./kernel/drivers/usb/class/usblp.ko                             ./kernel/drivers/usb/class/usblp.ko
./kernel/drivers/usb/core                                       ./kernel/drivers/usb/core
./kernel/drivers/usb/core/usbcore.ko                            ./kernel/drivers/usb/core/usbcore.ko
./kernel/drivers/usb/host                                       ./kernel/drivers/usb/host
./kernel/drivers/usb/host/ehci-hcd.ko                           ./kernel/drivers/usb/host/ehci-hcd.ko
./kernel/drivers/usb/host/ohci-hcd.ko                           ./kernel/drivers/usb/host/ohci-hcd.ko
./kernel/drivers/usb/host/uhci-hcd.ko                         | ./kernel/drivers/usb/host/xhci-hcd.ko
./kernel/drivers/usb/storage                                    ./kernel/drivers/usb/storage
./kernel/drivers/usb/storage/ums-datafab.ko                   <
./kernel/drivers/usb/storage/ums-freecom.ko                   <
./kernel/drivers/usb/storage/ums-jumpshot.ko                  <
./kernel/drivers/usb/storage/ums-sddr09.ko                    <
./kernel/drivers/usb/storage/ums-sddr55.ko                    <
./kernel/drivers/usb/storage/usb-storage.ko                     ./kernel/drivers/usb/storage/usb-storage.ko
./kernel/drivers/usb/sxuptp                                     ./kernel/drivers/usb/sxuptp
./kernel/drivers/usb/sxuptp/sxuptp.ko                           ./kernel/drivers/usb/sxuptp/sxuptp.ko
./kernel/drivers/usb/sxuptp/sxuptp_devfilter.ko                 ./kernel/drivers/usb/sxuptp/sxuptp_devfilter.ko
./kernel/drivers/usb/sxuptp/sxuptp_driver.ko                    ./kernel/drivers/usb/sxuptp/sxuptp_driver.ko
./kernel/drivers/usb/sxuptp/sxuptp_wq.ko                        ./kernel/drivers/usb/sxuptp/sxuptp_wq.ko
./kernel/drivers/usb/usb-common.ko                              ./kernel/drivers/usb/usb-common.ko
./kernel/fs                                                     ./kernel/fs
./kernel/fs/fat                                               | ./kernel/fs/isofs
./kernel/fs/fat/fat.ko                                        | ./kernel/fs/isofs/isofs.ko
./kernel/fs/fat/msdos.ko                                      <
./kernel/fs/fat/vfat.ko                                       <
./kernel/fs/nls                                                 ./kernel/fs/nls
./kernel/fs/nls/nls_ascii.ko                                    ./kernel/fs/nls/nls_ascii.ko
./kernel/fs/nls/nls_cp1250.ko                                   ./kernel/fs/nls/nls_cp1250.ko
./kernel/fs/nls/nls_cp1251.ko                                   ./kernel/fs/nls/nls_cp1251.ko
./kernel/fs/nls/nls_cp1255.ko                                   ./kernel/fs/nls/nls_cp1255.ko
./kernel/fs/nls/nls_cp737.ko                                    ./kernel/fs/nls/nls_cp737.ko
./kernel/fs/nls/nls_cp775.ko                                    ./kernel/fs/nls/nls_cp775.ko
./kernel/fs/nls/nls_cp850.ko                                    ./kernel/fs/nls/nls_cp850.ko
./kernel/fs/nls/nls_cp852.ko                                    ./kernel/fs/nls/nls_cp852.ko
./kernel/fs/nls/nls_cp855.ko                                    ./kernel/fs/nls/nls_cp855.ko
./kernel/fs/nls/nls_cp857.ko                                    ./kernel/fs/nls/nls_cp857.ko
./kernel/fs/nls/nls_cp860.ko                                    ./kernel/fs/nls/nls_cp860.ko
./kernel/fs/nls/nls_cp861.ko                                    ./kernel/fs/nls/nls_cp861.ko
./kernel/fs/nls/nls_cp862.ko                                    ./kernel/fs/nls/nls_cp862.ko
./kernel/fs/nls/nls_cp863.ko                                    ./kernel/fs/nls/nls_cp863.ko
./kernel/fs/nls/nls_cp864.ko                                    ./kernel/fs/nls/nls_cp864.ko
./kernel/fs/nls/nls_cp865.ko                                    ./kernel/fs/nls/nls_cp865.ko
./kernel/fs/nls/nls_cp866.ko                                    ./kernel/fs/nls/nls_cp866.ko
./kernel/fs/nls/nls_cp869.ko                                    ./kernel/fs/nls/nls_cp869.ko
./kernel/fs/nls/nls_cp874.ko                                    ./kernel/fs/nls/nls_cp874.ko
./kernel/fs/nls/nls_cp936.ko                                    ./kernel/fs/nls/nls_cp936.ko
./kernel/fs/nls/nls_cp949.ko                                    ./kernel/fs/nls/nls_cp949.ko
./kernel/fs/nls/nls_cp950.ko                                    ./kernel/fs/nls/nls_cp950.ko
./kernel/fs/nls/nls_iso8859-1.ko                                ./kernel/fs/nls/nls_iso8859-1.ko
./kernel/fs/nls/nls_iso8859-13.ko                               ./kernel/fs/nls/nls_iso8859-13.ko
./kernel/fs/nls/nls_iso8859-14.ko                               ./kernel/fs/nls/nls_iso8859-14.ko
./kernel/fs/nls/nls_iso8859-15.ko                               ./kernel/fs/nls/nls_iso8859-15.ko
./kernel/fs/nls/nls_iso8859-2.ko                                ./kernel/fs/nls/nls_iso8859-2.ko
./kernel/fs/nls/nls_iso8859-3.ko                                ./kernel/fs/nls/nls_iso8859-3.ko
./kernel/fs/nls/nls_iso8859-4.ko                                ./kernel/fs/nls/nls_iso8859-4.ko
./kernel/fs/nls/nls_iso8859-5.ko                                ./kernel/fs/nls/nls_iso8859-5.ko
./kernel/fs/nls/nls_iso8859-6.ko                                ./kernel/fs/nls/nls_iso8859-6.ko
./kernel/fs/nls/nls_iso8859-7.ko                                ./kernel/fs/nls/nls_iso8859-7.ko
./kernel/fs/nls/nls_iso8859-9.ko                                ./kernel/fs/nls/nls_iso8859-9.ko
./kernel/fs/nls/nls_koi8-r.ko                                   ./kernel/fs/nls/nls_koi8-r.ko
./kernel/fs/nls/nls_koi8-ru.ko                                  ./kernel/fs/nls/nls_koi8-ru.ko
./kernel/fs/nls/nls_koi8-u.ko                                   ./kernel/fs/nls/nls_koi8-u.ko
./kernel/fs/ntfs                                              | ./kernel/fs/udf
./kernel/fs/ntfs/ntfs.ko                                      | ./kernel/fs/udf/udf.ko
./kernel/fs/ubifs                                             | ./kernel/fs/ufsd
./kernel/fs/ubifs/ubifs.ko                                    | ./kernel/fs/ufsd/ufsd.ko
./kernel/lib                                                    ./kernel/lib
./kernel/lib/crc-ccitt.ko                                     <
./kernel/lib/crc-itu-t.ko                                       ./kernel/lib/crc-itu-t.ko
./kernel/net                                                    ./kernel/net
./kernel/net/ipv4                                             | ./kernel/net/core
./kernel/net/ipv4/ah4.ko                                      | ./kernel/net/core/pktgen.ko
./kernel/net/ipv4/esp4.ko                                     <
./kernel/net/ipv4/ipcomp.ko                                   <
./kernel/net/ipv4/tunnel4.ko                                  <
./kernel/net/ipv4/xfrm4_mode_transport.ko                     <
./kernel/net/ipv4/xfrm4_tunnel.ko                             <
./kernel/net/mac80211                                         <
./kernel/net/mac80211/mac80211.ko                             <
./kernel/net/wireless                                         <
./kernel/net/wireless/cfg80211.ko                             <
./kernel/net/wireless/lib80211.ko                             <
./kernel/net/xfrm                                             <
./kernel/net/xfrm/xfrm_ipcomp.ko                              <
./kernel/net/xfrm/xfrm_user.ko                                <
./modules.alias                                                 ./modules.alias
                                                              > ./modules.alias.bin
./modules.builtin                                               ./modules.builtin
                                                              > ./modules.builtin.bin
./modules.ccwmap                                                ./modules.ccwmap
./modules.dep                                                   ./modules.dep
                                                              > ./modules.dep.bin
                                                              > ./modules.devname
./modules.ieee1394map                                           ./modules.ieee1394map
./modules.inputmap                                              ./modules.inputmap
./modules.isapnpmap                                             ./modules.isapnpmap
./modules.ofmap                                                 ./modules.ofmap
./modules.order                                                 ./modules.order
./modules.pcimap                                                ./modules.pcimap
./modules.seriomap                                              ./modules.seriomap
                                                              > ./modules.softdep
./modules.symbols                                               ./modules.symbols
                                                              > ./modules.symbols.bin
./modules.usbmap                                                ./modules.usbmap
yasunari@qube:/mnt/disk1/tmp$
hid,input,bonding, ppp, slip, telephony ・・・ なんで LS-VL にはこんなものが入っている??


LS410D

楽天市場
Amazon


initrd の /init を見る
ハックの記録
LinkStation/玄箱 をハックしよう

/proc を見る

ツイート Tweet to @yasunari_y @yasunari_yをフォロー

Copyright (C) 2003-2013 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市