hackkit:~# echo on > /proc/buffalo/usb_control hackkit:~#
hackkit:~# chroot /usr/local/buffalo insmod /lib/modules/2.6.16.16-arm1/kernel/drivers/usb/core/usbcore.ko usbcore: registered new driver usbfs usbcore: registered new driver hub hackkit:~# chroot /usr/local/buffalo insmod /lib/modules/usblp.ko usbcore: registered new driver usblp drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver hackkit:~# chroot /usr/local/buffalo insmod /lib/modules/2.6.16.16-arm1/kernel/drivers/usb/host/ehci-marvell-hcd.ko ehci_platform ehci_platform.4523: EHCI Platform Host Controller ehci_platform ehci_platform.4523: new USB bus registered, assigned bus number 1 ehci_platform ehci_platform.4523: irq 17, io mem 0x00000000 ehci_platform ehci_platform.4523: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found hub 1-0:1.0: 1 port detected ehci_platform ehci_platform.16781: EHCI Platform Host Controller ehci_platform ehci_platform.16781: new USB bus registered, assigned bus number 2 ehci_platform ehci_platform.16781: irq 12, io mem 0x00000000 ehci_platform ehci_platform.16781: USB 0.0 started, EHCI 1.00, driver 10 Dec 2004 usb usb2: configuration #1 chosen from 1 choice hub 2-0:1.0: USB hub found hub 2-0:1.0: 1 port detected hackkit:~#ここまでは、昨日と同じ。
USB メモリを認識させるには、あと何をロードせなあかん?
hackkit:~# ls /usr/local/buffalo/lib/modules/2.6.16.16-arm1/kernel/drivers/usb class core host input storage hackkit:~#storage か。
hackkit:~# ls /usr/local/buffalo/lib/modules/2.6.16.16-arm1/kernel/drivers/usb/storage/ usb-storage.ko hackkit:~#ロードする。
hackkit:~# chroot /usr/local/buffalo insmod /lib/modules/2.6.16.16-arm1/kernel/drivers/usb/storage/usb-storage.ko Initializing USB Mass Storage driver... usbcore: registered new driver usb-storage USB Mass Storage support registered. hackkit:~#
usb 1-1: new full speed USB device using ehci_platform and address 2 usb 1-1: configuration #1 chosen from 1 choice scsi2 : SCSI emulation for USB Mass Storage devices Vendor: BUFFALO Model: ClipDrive Rev: 1.88 Type: Direct-Access ANSI SCSI revision: 02 SCSI device sdb: 256000 512-byte hdwr sectors (131 MB) sdb: Write Protect is off sdb: assuming drive cache: write through SCSI device sdb: 256000 512-byte hdwr sectors (131 MB) sdb: Write Protect is off sdb: assuming drive cache: write through sdb: sdb1 sd 2:0:0:0: Attached scsi removable disk sdb sd 2:0:0:0: Attached scsi generic sg1 type 0認識した。
hackkit:~# ls /usr/local/buffalo/lib/modules/2.6.16.16-arm1/kernel/fs/ fat msdos nls ntfs vfat hackkit:~# ls /usr/local/buffalo/lib/modules/2.6.16.16-arm1/kernel/fs/vfat/ vfat.ko hackkit:~#このあたりか?
hackkit:~# chroot /usr/local/buffalo insmod /lib/modules/2.6.16.16-arm1/kernel/fs/vfat/vfat.ko vfat: Unknown symbol fat_dir_empty vfat: Unknown symbol fat_fs_panic vfat: Unknown symbol fat_get_dotdot_entry vfat: Unknown symbol fat_free_clusters vfat: Unknown symbol fat_scan vfat: Unknown symbol fat_date_unix2dos vfat: Unknown symbol fat_search_long vfat: Unknown symbol fat_attach vfat: Unknown symbol fat_build_inode vfat: Unknown symbol fat_fill_super vfat: Unknown symbol fat_alloc_new_dir vfat: Unknown symbol fat_notify_change vfat: Unknown symbol fat_remove_entries vfat: Unknown symbol fat_add_entries vfat: Unknown symbol fat_sync_inode vfat: Unknown symbol fat_detach insmod: error inserting '/lib/modules/2.6.16.16-arm1/kernel/fs/vfat/vfat.ko': -1 Unknown symbol in module hackkit:~#fat が要るか。
hackkit:~# chroot /usr/local/buffalo insmod /lib/modules/2.6.16.16-arm1/kernel/fs/fat/fat.ko hackkit:~# chroot /usr/local/buffalo insmod /lib/modules/2.6.16.16-arm1/kernel/fs/vfat/vfat.ko hackkit:~#
hackkit:~# ls /tmp/usb/ (ないしょ) hackkit:~# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 2046080 205832 1840248 11% / tmpfs 63160 0 63160 0% /lib/init/rw tmpfs 63160 0 63160 0% /dev/shm /dev/root.old 15351 14650 701 96% /initrd /dev/sda1 194443 11641 172763 7% /boot /dev/sda4 241563852 944 241562908 1% /mnt /dev/sdb1 127456 26000 101456 21% /tmp/usb hackkit:~#アンマウント
hackkit:~# umount /tmp/usb/ hackkit:~# df Filesystem 1K-blocks Used Available Use% Mounted on /dev/sda2 2046080 205832 1840248 11% / tmpfs 63160 0 63160 0% /lib/init/rw tmpfs 63160 0 63160 0% /dev/shm /dev/root.old 15351 14650 701 96% /initrd /dev/sda1 194443 11641 172763 7% /boot /dev/sda4 241563852 944 241562908 1% /mnt hackkit:~#
|
← KUR0-B0X/Slim 人手 / l got a KUR0-B0X/Slim |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ debian 化(11)モジュールのアンロード |