シリアルコンソールが使えて、カーネルが LS-HGL の 2.6.16 より
新しい機種ということで、LS-CL にインストールしてみることにした。
LS-CL 1.11 のカーネルは、2.6.22.7
BUFFALO INC. LinkStation series LS-CL701 login: root No mail. root@LS-CL701:~#
root@LS-CL701:~# date Thu Dec 23 21:38:50 JST 2010 root@LS-CL701:~#あってる
root@LS-CL701:~# tail -f /var/log/messages : usb 1-1: new high speed USB device using ehci_marvell and address 2 usb 1-1: configuration #1 chosen from 1 choice /sbin/hotplug [usb] scsi2 : SCSI emulation for USB Mass Storage devices /sbin/hotplug [usb_endpoint] /sbin/hotplug [scsi_host] /sbin/hotplug [usb_endpoint] /sbin/hotplug [usb_endpoint] /sbin/hotplug [usb] /sbin/hotplug [usb_device] [/etc/hotplug.d/usb_device/buffalo.hotplug] usb_device Dec 23 21:41:10 LS-CL701 kernel: usb 1-1: new high speed USB device using ehci_marvell and address 2 Dec 23 21:41:11 LS-CL701 kernel: usb 1-1: configuration #1 chosen from 1 choice *** /usr/local/bin/DirectCopy_wait.sh [usb_device] Dec 23 21:41:11 LS-CL701 kernel: scsi2 : SCSI emulation for USB Mass Storage devices 1 USB_DEVICE=none 2 USB_DEVICE=none scsi 2:0:0:0: Direct-Access ViPowER VP-89118(SD1) 2.10 PQ: 0 ANSI: 4 sd 2:0:0:0: [sdb] 976773168 512-byte hardware sectors (500108 MB) sd 2:0:0:0: [sdb] Write Protect is off sd 2:0:0:0: [sdb] Assuming drive cache: write through sd 2:0:0:0: [sdb] 976773168 512-byte hardware sectors (500108 MB) sd 2:0:0:0: [sdb] Write Protect is off sd 2:0:0:0: [sdb] Assuming drive cache: write through sdb: sdb1 sdb2 sdb3 sdb4 /sbin/hotplug [scsi_disk] /sbin/hotplug [block] /sbin/hotplug [block] /sbin/hotplug [scsi] /sbin/hotplug [block] sd 2:0:0:0: [sdb] Attached SCSI disk Dec 23 21:41:16 LS-CL701 kernel: scsi 2:0:0:0: Direct-Access ViPowER VP-89118(SD1) 2.10 PQ: 0 ANSI: 4 Dec 23 21:41:16 LS-CL701 kernel: sd 2:0:0:0: [sdb] 976773168 512-byte hardware sectors (500108 MB) Dec 23 21:41:16 LS-CL701 kernel: sd 2:0:0:0: [sdb] Write Protect is off Dec 23 21:41:16 LS-CL701 kernel: sd 2:0:0:0: [sdb] Assuming drive cache: write through Dec 23 21:41:16 LS-CL701 kernel: sd 2:0:0:0: [sdb] 976773168 512-byte hardware sectors (500108 MB) Dec 23 21:41:16 LS-CL701 kernel: sd 2:0:0:0: [sdb] Write Protect is off Dec 23 21:41:16 LS-CL701 kernel: sd 2:0:0:0: [sdb] Assuming drive cache: write through Dec 23 21:41:16 LS-CL701 kernel: sdb: sdb1sd 2:0:0:0: Attached scsi generic sg1 type 0 sdb2 sdb3 sdb4 /sbin/hotplug [block] /sbin/hotplug [scsi_device] /sbin/hotplug [block] /sbin/hotplug [scsi_generic] 3 USB_DEVICE=none Dec 23 21:41:16 LS-CL701 kernel: sd 2:0:0:0: [sdb] Attached SCSI disk Dec 23 21:41:16 LS-CL701 kernel: sd 2:0:0:0: Attached scsi generic sg1 type 0 *** /usr/local/bin/DirectCopy_wait.sh [stop] BASENAME=usbdisk1 MPT=/mnt/usbdisk1/ try vfat(usbdisk) /sbin/hotplug [module] /sbin/hotplug [module] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! kjournald starting. Commit interval 5 seconds EXT3-fs warning: checktime reached, running e2fsck is recommended EXT3 FS on sdb1, internal journal EXT3-fs: mounted filesystem with ordered data mode. Dec 23 21:41:21 LS-CL701 kernel: FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive! Dec 23 21:41:21 LS-CL701 kernel: kjournald starting. Commit interval 5 seconds Dec 23 21:41:21 LS-CL701 kernel: EXT3-fs warning: checktime reached, running e2fsck is recommended ## STATE_CHANGED ## *** [/etc/hotplug.d/scsi_device/usb-buffalo.hotplug 3948] Restarting Daemons... *** /usr/local/bin/DirectCopy_wait.sh [] 1 USB_DEVICE=/mnt/usbdisk1 Dec 23 21:41:21 LS-CL701 kernel: EXT3 FS on sdb1, internal journal Dec 23 21:41:21 LS-CL701 kernel: EXT3-fs: mounted filesystem with ordered data mode. direct copy mode : ready /sbin/hotplug [module] /sbin/hotplug [module] /sbin/hotplug [module] NET: Registered protocol family 5 Dec 23 21:41:26 LS-CL701 kernel: NET: Registered protocol family 5 Dec 23 21:41:30 LS-CL701 nmbd[1262]: [2010/12/23 21:41:30, 0] nmbd/nmbd.c:terminate(58) Dec 23 21:41:30 LS-CL701 nmbd[1262]: Got SIGTERM: going down...
root@LS-CL701:~# df Filesystem 1k-blocks Used Available Use% Mounted on /dev/sda2 4993984 381656 4612328 8% / /dev/ram1 15360 112 15248 1% /mnt/ram /dev/sda1 996052 172568 823484 17% /boot /dev/disk1_6 304565696 169748 304395948 0% /mnt/disk1 /dev/usbdisk1_1 241116 15147 213521 7% /mnt/usbdisk1 root@LS-CL701:~#/mnt/usbdisk1 に自動的にマウントされたので、アンマウントする
root@LS-CL701:~# umount /mnt/usbdisk1/ root@LS-CL701:~#
root@LS-CL701:~# fdisk -l /dev/sdb Disk /dev/sdb: 500.1 GB, 500107862016 bytes 255 heads, 63 sectors/track, 60801 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 1 31 248976 83 Linux /dev/sdb2 32 281 2008125 83 Linux /dev/sdb3 282 313 257040 82 Linux swap /dev/sdb4 314 60801 485869860 83 Linux root@LS-CL701:~#これで、 準備(それ以外 の場合) は終わり。
root@LS-CL701:~# cd /mnt/disk1/share/hackkit/ root@LS-CL701:/mnt/disk1/share/hackkit# cat hackkit_config ADDRESS=192.168.2.47 HOSTNAME=tate root@LS-CL701:/mnt/disk1/share/hackkit#
root@LS-CL701:/mnt/disk1/share/hackkit# sh hackkit_101223.sh PRODUCTID = 0x0000000F MACHINE LSCL formating hard drive ... mke2fs 1.40.5 (27-Jan-2008) Filesystem label= OS type: Linux Block size=1024 (log=0) Fragment size=1024 (log=0) 62248 inodes, 248976 blocks 12448 blocks (5.00%) reserved for the super user First data block=1 Maximum filesystem blocks=67371008 31 block groups 8192 blocks per group, 8192 fragments per group 2008 inodes per group Superblock backups stored on blocks: 8193, 24577, 40961, 57345, 73729, 204801, 221185 Writing inode tables: done Creating journal (4096 blocks): done Writing superblocks and filesystem accounting information: done This filesystem will be automatically checked every 37 mounts or 180 days, whichever comes first. Use tune2fs -c or -i to override. meta-data=/dev/sdb2 isize=256 agcount=8, agsize=62753 blks = sectsz=512 attr=0 data = bsize=4096 blocks=502024, imaxpct=25 = sunit=0 swidth=0 blks, unwritten=1 naming =version 2 bsize=4096 log =internal log bsize=4096 blocks=2560, version=1 = sectsz=512 sunit=0 blks, lazy-count=0 realtime =none extsz=4096 blocks=0, rtextents=0 : : lib/modules/2.6.22.7/modules.pcimap lib/modules/2.6.22.7/modules.isapnpmap creating usb ... checking /dev/sdb1 fsck 1.40.5 (27-Jan-2008) e2fsck 1.40.5 (27-Jan-2008) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information /dev/sdb1: 11/62248 files (9.1% non-contiguous), 14036/248976 blocks mounting /boot ... kjournald starting. Commit interval 5 seconds EXT3 FS on sdb1, internal journal EXT3-fs: mounted filesystem with ordered data mode. copying /boot ... initrd.buffalo uImage.buffalo editing initrd ... 110523+1 records in 110523+1 records out gunziping /mnt/debinst/boot/initrd.gz ... EXT2-fs warning: checktime reached, running e2fsck is recommended gziping /mnt/debinst/boot/initrd ... wait 5 minutes Image Name: initrd Created: Thu Dec 23 21:49:45 2010 Image Type: ARM Linux RAMDisk Image (gzip compressed) Data Size: 7038096 Bytes = 6873.14 kB = 6.71 MB Load Address: 0x00000000 Entry Point: 0x00000000 unmount /boot ... root@LS-CL701:/mnt/disk1/share/hackkit#/initrd を作っておく
root@LS-CL701:/mnt/disk1/share/hackkit# mount /dev/sdb2 /mnt/debinst/ XFS mounting filesystem sdb2 root@LS-CL701:/mnt/disk1/share/hackkit# ls /mnt/debinst/ bin etc media proc selinux tmp boot home mnt root srv usr dev lib opt sbin sys var root@LS-CL701:/mnt/disk1/share/hackkit# mkdir /mnt/debinst/initrd root@LS-CL701:/mnt/disk1/share/hackkit# umount /mnt/debinst/ root@LS-CL701:/mnt/disk1/share/hackkit#
: : ---- in hackkit linuxrc --- XFS mounting filesystem sda2 VFS: Mounted root (xfs filesystem). Trying to move old root to /initrd ... okay Freeing init memory: 120K INIT: version 2.88 booting Using makefile-style concurrent boot in runlevel S. udev requires a kernel >= 2.6.26, not started. ... failed! failed! Activating swap...done. Cleaning up ifupdown.... Setting up networking.... Loading kernel modules...done. Activating lvm and md swap...done. Checking file systems...fsck from util-linux-ng 2.17.2 fsck: cannot check /dev/sda4: fsck.xfs not found fsck.ext3: No such file or directory while trying to open /dev/sda1 /dev/sda1: The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then the superblock is corrupt, and you might try running e2fsck with an alternate superblock: e2fsck -b 8193udev はさておき、fsck died with exit status 8 failed (code 8). File system check failed. A log is being saved in /var/log/fsck/checkfs if that location is writable. Please repair the file system manually. ... failed! A maintenance shell will now be started. CONTROL-D will terminate this shell and resume system boot. ... (warning). sulogin: root account is locked, starting shell root@tate:~#
こういうときは、CTRL-D。
普通の人は、CTRL-D を押せばいいなんて、思いつかない。
root@tate:~# exit Mounting local filesystems...mount: special device /dev/sda1 does not exist mount: special device /dev/sda4 does not exist failed. Activating swapfile swap...done. Cleaning up temporary files.... Configuring network interfaces...eth reg(9) val=0x0300 eth0: link down done. Cleaning up temporary files.... Setting kernel variables ...done. startpar: service(s) returned failure: udev ... failed! INIT: Entering runlevel: 2 Using makefile-style concurrent boot in runlevel 2. Starting enhanced syslogd: rsyslogd. Starting periodic command scheduler: cron. eth0: link up, full duplex, speed 1 Gbps INIT: Id "4" respawning too fast: disabled for 5 minutes INIT: Id "2" respawning too fast: disabled for 5 minutes INIT: Id "1" respawning too fast: disabled for 5 minutes INIT: Id "6" respawning too fast: disabled for 5 minutes INIT: Id "3" respawning too fast: disabled for 5 minutes INIT: Id "5" respawning too fast: disabled for 5 minutes INIT: no more processes left in this runlevel止った。シリアルコンソールからの入力も受け付けない。
問題は2つ
qube:~# mkdir /tmp/root qube:~# mount /dev/sdc2 /tmp/root qube:~#
qube:~# ls /tmp/root/dev/sda? ls: cannot access /tmp/root/dev/sda?: No such file or directory qube:~#やっぱりない。
qube:~# ls /tmp/root/dev console kmem loop3 mem ram ram12 ram2 ram7 stderr urandom core log loop4 null ram0 ram13 ram3 ram8 stdin xconsole fd loop0 loop5 port ram1 ram14 ram4 ram9 stdout zero full loop1 loop6 ptmx ram10 ram15 ram5 random tty initctl loop2 loop7 pts ram11 ram16 ram6 shm tty0 qube:~#sda どころか、ほとんどのデバイスがない。
こういうときは MAKEDEV
qube:~# cd /tmp/root/dev/ qube:/tmp/root/dev# MAKEDEV genericしばらくして、、、
qube:/tmp/root/dev# ls atibm hda16 hde10 hdh6 hdl22 hdp17 ptybe ptyrc ptyxa sdb9 sdh7 sdn5 tty25 ttycb ttys9 ttyy7 vcsa10 audio hda17 hde11 hdh7 hdl23 hdp18 ptybf ptyrd ptyxb sdc sdh8 sdn6 tty26 ttycc ttysa ttyy8 vcsa11 audio1 hda18 hde12 hdh8 hdl24 hdp19 ptyc0 ptyre ptyxc sdc1 sdh9 sdn7 tty27 ttycd ttysb ttyy9 vcsa12 audio2 hda19 hde13 hdh9 hdl3 hdp2 ptyc1 ptyrf ptyxd sdc10 sdi sdn8 tty28 ttyce ttysc ttyya vcsa13 audio3 hda2 hde14 hdi hdl4 hdp20 ptyc2 ptys0 ptyxe sdc11 sdi1 sdn9 tty29 ttycf ttysd ttyyb vcsa14 audioctl hda20 hde15 hdi1 hdl5 hdp21 ptyc3 ptys1 ptyxf sdc12 sdi10 sdo tty3 ttyd0 ttyse ttyyc vcsa15 console hda21 hde16 hdi10 hdl6 hdp22 ptyc4 ptys2 ptyy0 sdc13 sdi11 sdo1 tty30 ttyd1 ttysf ttyyd vcsa16 core hda22 hde17 hdi11 hdl7 hdp23 ptyc5 ptys3 ptyy1 sdc14 sdi12 sdo10 tty31 ttyd2 ttyt0 ttyye vcsa17 dsp hda23 hde18 hdi12 hdl8 hdp24 ptyc6 ptys4 ptyy2 sdc15 sdi13 sdo11 tty32 ttyd3 ttyt1 ttyyf vcsa18 dsp1 hda24 hde19 hdi13 hdl9 hdp3 ptyc7 ptys5 ptyy3 sdc2 sdi14 sdo12 tty33 ttyd4 ttyt2 ttyz0 vcsa19 dsp2 hda3 hde2 hdi14 hdm hdp4 ptyc8 ptys6 ptyy4 sdc3 sdi15 sdo13 tty34 ttyd5 ttyt3 ttyz1 vcsa2 dsp3 hda4 hde20 hdi15 hdm1 hdp5 ptyc9 ptys7 ptyy5 sdc4 sdi2 sdo14 tty35 ttyd6 ttyt4 ttyz2 vcsa20 fb0 hda5 hde21 hdi16 hdm10 hdp6 ptyca ptys8 ptyy6 sdc5 sdi3 sdo15 tty36 ttyd7 ttyt5 ttyz3 vcsa21 fb1 hda6 hde22 hdi17 hdm11 hdp7 ptycb ptys9 ptyy7 sdc6 sdi4 sdo2 tty37 ttyd8 ttyt6 ttyz4 vcsa22 fb2 hda7 hde23 hdi18 hdm12 hdp8 ptycc ptysa ptyy8 sdc7 sdi5 sdo3 tty38 ttyd9 ttyt7 ttyz5 vcsa23 fb3 hda8 hde24 hdi19 hdm13 hdp9 ptycd ptysb ptyy9 sdc8 sdi6 sdo4 tty39 ttyda ttyt8 ttyz6 vcsa24 fb4 hda9 hde3 hdi2 hdm14 initctl ptyce ptysc ptyya sdc9 sdi7 sdo5 tty4 ttydb ttyt9 ttyz7 vcsa25 fb5 hdb hde4 hdi20 hdm15 inportbm ptycf ptysd ptyyb sdd sdi8 sdo6 tty40 ttydc ttyta ttyz8 vcsa26 fb6 hdb1 hde5 hdi21 hdm16 jbm ptyd0 ptyse ptyyc sdd1 sdi9 sdo7 tty41 ttydd ttytb ttyz9 vcsa27 fb7 hdb10 hde6 hdi22 hdm17 kmem ptyd1 ptysf ptyyd sdd10 sdj sdo8 tty42 ttyde ttytc ttyza vcsa28 fd hdb11 hde7 hdi23 hdm18 log ptyd2 ptyt0 ptyye sdd11 sdj1 sdo9 tty43 ttydf ttytd ttyzb vcsa29 fd0 hdb12 hde8 hdi24 hdm19 logibm ptyd3 ptyt1 ptyyf sdd12 sdj10 sdp tty44 ttye0 ttyte ttyzc vcsa3 fd0CompaQ hdb13 hde9 hdi3 hdm2 loop0 ptyd4 ptyt2 ptyz0 sdd13 sdj11 sdp1 tty45 ttye1 ttytf ttyzd vcsa30 fd0d360 hdb14 hdf hdi4 hdm20 loop1 ptyd5 ptyt3 ptyz1 sdd14 sdj12 sdp10 tty46 ttye2 ttyu0 ttyze vcsa31 fd0h1200 hdb15 hdf1 hdi5 hdm21 loop2 ptyd6 ptyt4 ptyz2 sdd15 sdj13 sdp11 tty47 ttye3 ttyu1 ttyzf vcsa32 fd0h1440 hdb16 hdf10 hdi6 hdm22 loop3 ptyd7 ptyt5 ptyz3 sdd2 sdj14 sdp12 tty48 ttye4 ttyu2 urandom vcsa33 fd0h1476 hdb17 hdf11 hdi7 hdm23 loop4 ptyd8 ptyt6 ptyz4 sdd3 sdj15 sdp13 tty49 ttye5 ttyu3 vcs vcsa34 fd0h1494 hdb18 hdf12 hdi8 hdm24 loop5 ptyd9 ptyt7 ptyz5 sdd4 sdj2 sdp14 tty5 ttye6 ttyu4 vcs0 vcsa35 fd0h1600 hdb19 hdf13 hdi9 hdm3 loop6 ptyda ptyt8 ptyz6 sdd5 sdj3 sdp15 tty50 ttye7 ttyu5 vcs1 vcsa36 fd0h360 hdb2 hdf14 hdj hdm4 loop7 ptydb ptyt9 ptyz7 sdd6 sdj4 sdp2 tty51 ttye8 ttyu6 vcs10 vcsa37 fd0h410 hdb20 hdf15 hdj1 hdm5 lp0 ptydc ptyta ptyz8 sdd7 sdj5 sdp3 tty52 ttye9 ttyu7 vcs11 vcsa38 fd0h420 hdb21 hdf16 hdj10 hdm6 lp1 ptydd ptytb ptyz9 sdd8 sdj6 sdp4 tty53 ttyea ttyu8 vcs12 vcsa39 fd0h720 hdb22 hdf17 hdj11 hdm7 lp2 ptyde ptytc ptyza sdd9 sdj7 sdp5 tty54 ttyeb ttyu9 vcs13 vcsa4 fd0h880 hdb23 hdf18 hdj12 hdm8 mem ptydf ptytd ptyzb sde sdj8 sdp6 tty55 ttyec ttyua vcs14 vcsa40 fd0u1040 hdb24 hdf19 hdj13 hdm9 midi0 ptye0 ptyte ptyzc sde1 sdj9 sdp7 tty56 ttyed ttyub vcs15 vcsa41 fd0u1120 hdb3 hdf2 hdj14 hdn midi00 ptye1 ptytf ptyzd sde10 sdk sdp8 tty57 ttyee ttyuc vcs16 vcsa42 fd0u1440 hdb4 hdf20 hdj15 hdn1 midi01 ptye2 ptyu0 ptyze sde11 sdk1 sdp9 tty58 ttyef ttyud vcs17 vcsa43 fd0u1600 hdb5 hdf21 hdj16 hdn10 midi02 ptye3 ptyu1 ptyzf sde12 sdk10 sequencer tty59 ttyp0 ttyue vcs18 vcsa44 fd0u1680 hdb6 hdf22 hdj17 hdn11 midi03 ptye4 ptyu2 ram sde13 sdk11 sg0 tty6 ttyp1 ttyuf vcs19 vcsa45 fd0u1722 hdb7 hdf23 hdj18 hdn12 midi1 ptye5 ptyu3 ram0 sde14 sdk12 sg1 tty60 ttyp2 ttyv0 vcs2 vcsa46 fd0u1743 hdb8 hdf24 hdj19 hdn13 midi2 ptye6 ptyu4 ram1 sde15 sdk13 sg10 tty61 ttyp3 ttyv1 vcs20 vcsa47 fd0u1760 hdb9 hdf3 hdj2 hdn14 midi3 ptye7 ptyu5 ram10 sde2 sdk14 sg11 tty62 ttyp4 ttyv2 vcs21 vcsa48 fd0u1840 hdc hdf4 hdj20 hdn15 mixer ptye8 ptyu6 ram11 sde3 sdk15 sg12 tty63 ttyp5 ttyv3 vcs22 vcsa49 fd0u1920 hdc1 hdf5 hdj21 hdn16 mixer1 ptye9 ptyu7 ram12 sde4 sdk2 sg13 tty7 ttyp6 ttyv4 vcs23 vcsa5 fd0u2880 hdc10 hdf6 hdj22 hdn17 mixer2 ptyea ptyu8 ram13 sde5 sdk3 sg14 tty8 ttyp7 ttyv5 vcs24 vcsa50 fd0u3200 hdc11 hdf7 hdj23 hdn18 mixer3 ptyeb ptyu9 ram14 sde6 sdk4 sg15 tty9 ttyp8 ttyv6 vcs25 vcsa51 fd0u3520 hdc12 hdf8 hdj24 hdn19 mpu401data ptyec ptyua ram15 sde7 sdk5 sg16 ttyS0 ttyp9 ttyv7 vcs26 vcsa52 fd0u360 hdc13 hdf9 hdj3 hdn2 mpu401stat ptyed ptyub ram16 sde8 sdk6 sg2 ttyS1 ttypa ttyv8 vcs27 vcsa53 fd0u3840 hdc14 hdg hdj4 hdn20 nst0 ptyee ptyuc ram2 sde9 sdk7 sg3 ttyS2 ttypb ttyv9 vcs28 vcsa54 fd0u720 hdc15 hdg1 hdj5 hdn21 nst0a ptyef ptyud ram3 sdf sdk8 sg4 ttyS3 ttypc ttyva vcs29 vcsa55 fd0u800 hdc16 hdg10 hdj6 hdn22 nst0l ptyp0 ptyue ram4 sdf1 sdk9 sg5 ttyS4 ttypd ttyvb vcs3 vcsa56 fd0u820 hdc17 hdg11 hdj7 hdn23 nst0m ptyp1 ptyuf ram5 sdf10 sdl sg6 ttya0 ttype ttyvc vcs30 vcsa57 fd0u830 hdc18 hdg12 hdj8 hdn24 nst1 ptyp2 ptyv0 ram6 sdf11 sdl1 sg7 ttya1 ttypf ttyvd vcs31 vcsa58 fd1 hdc19 hdg13 hdj9 hdn3 nst1a ptyp3 ptyv1 ram7 sdf12 sdl10 sg8 ttya2 ttyq0 ttyve vcs32 vcsa59 fd1CompaQ hdc2 hdg14 hdk hdn4 nst1l ptyp4 ptyv2 ram8 sdf13 sdl11 sg9 ttya3 ttyq1 ttyvf vcs33 vcsa6 fd1d360 hdc20 hdg15 hdk1 hdn5 nst1m ptyp5 ptyv3 ram9 sdf14 sdl12 shm ttya4 ttyq2 ttyw0 vcs34 vcsa60 fd1h1200 hdc21 hdg16 hdk10 hdn6 null ptyp6 ptyv4 random sdf15 sdl13 smpte0 ttya5 ttyq3 ttyw1 vcs35 vcsa61 fd1h1440 hdc22 hdg17 hdk11 hdn7 par0 ptyp7 ptyv5 rmidi0 sdf2 sdl14 smpte1 ttya6 ttyq4 ttyw2 vcs36 vcsa62 fd1h1476 hdc23 hdg18 hdk12 hdn8 par1 ptyp8 ptyv6 rmidi1 sdf3 sdl15 smpte2 ttya7 ttyq5 ttyw3 vcs37 vcsa63 fd1h1494 hdc24 hdg19 hdk13 hdn9 par2 ptyp9 ptyv7 rmidi2 sdf4 sdl2 smpte3 ttya8 ttyq6 ttyw4 vcs38 vcsa7 fd1h1600 hdc3 hdg2 hdk14 hdo port ptypa ptyv8 rmidi3 sdf5 sdl3 sndstat ttya9 ttyq7 ttyw5 vcs39 vcsa8 fd1h360 hdc4 hdg20 hdk15 hdo1 psaux ptypb ptyv9 scd0 sdf6 sdl4 sr0 ttyaa ttyq8 ttyw6 vcs4 vcsa9 fd1h410 hdc5 hdg21 hdk16 hdo10 ptmx ptypc ptyva scd1 sdf7 sdl5 sr1 ttyab ttyq9 ttyw7 vcs40 xconsole fd1h420 hdc6 hdg22 hdk17 hdo11 pts ptypd ptyvb sda sdf8 sdl6 st0 ttyac ttyqa ttyw8 vcs41 xda fd1h720 hdc7 hdg23 hdk18 hdo12 ptya0 ptype ptyvc sda1 sdf9 sdl7 st0a ttyad ttyqb ttyw9 vcs42 xda1 fd1h880 hdc8 hdg24 hdk19 hdo13 ptya1 ptypf ptyvd sda10 sdg sdl8 st0l ttyae ttyqc ttywa vcs43 xda2 fd1u1040 hdc9 hdg3 hdk2 hdo14 ptya2 ptyq0 ptyve sda11 sdg1 sdl9 st0m ttyaf ttyqd ttywb vcs44 xda3 fd1u1120 hdd hdg4 hdk20 hdo15 ptya3 ptyq1 ptyvf sda12 sdg10 sdm st1 ttyb0 ttyqe ttywc vcs45 xda4 fd1u1440 hdd1 hdg5 hdk21 hdo16 ptya4 ptyq2 ptyw0 sda13 sdg11 sdm1 st1a ttyb1 ttyqf ttywd vcs46 xda5 fd1u1600 hdd10 hdg6 hdk22 hdo17 ptya5 ptyq3 ptyw1 sda14 sdg12 sdm10 st1l ttyb2 ttyr0 ttywe vcs47 xda6 fd1u1680 hdd11 hdg7 hdk23 hdo18 ptya6 ptyq4 ptyw2 sda15 sdg13 sdm11 st1m ttyb3 ttyr1 ttywf vcs48 xda7 fd1u1722 hdd12 hdg8 hdk24 hdo19 ptya7 ptyq5 ptyw3 sda2 sdg14 sdm12 stderr ttyb4 ttyr2 ttyx0 vcs49 xda8 fd1u1743 hdd13 hdg9 hdk3 hdo2 ptya8 ptyq6 ptyw4 sda3 sdg15 sdm13 stdin ttyb5 ttyr3 ttyx1 vcs5 xdb fd1u1760 hdd14 hdh hdk4 hdo20 ptya9 ptyq7 ptyw5 sda4 sdg2 sdm14 stdout ttyb6 ttyr4 ttyx2 vcs50 xdb1 fd1u1840 hdd15 hdh1 hdk5 hdo21 ptyaa ptyq8 ptyw6 sda5 sdg3 sdm15 sunmouse ttyb7 ttyr5 ttyx3 vcs51 xdb2 fd1u1920 hdd16 hdh10 hdk6 hdo22 ptyab ptyq9 ptyw7 sda6 sdg4 sdm2 tty ttyb8 ttyr6 ttyx4 vcs52 xdb3 fd1u2880 hdd17 hdh11 hdk7 hdo23 ptyac ptyqa ptyw8 sda7 sdg5 sdm3 tty0 ttyb9 ttyr7 ttyx5 vcs53 xdb4 fd1u3200 hdd18 hdh12 hdk8 hdo24 ptyad ptyqb ptyw9 sda8 sdg6 sdm4 tty1 ttyba ttyr8 ttyx6 vcs54 xdb5 fd1u3520 hdd19 hdh13 hdk9 hdo3 ptyae ptyqc ptywa sda9 sdg7 sdm5 tty10 ttybb ttyr9 ttyx7 vcs55 xdb6 fd1u360 hdd2 hdh14 hdl hdo4 ptyaf ptyqd ptywb sdb sdg8 sdm6 tty11 ttybc ttyra ttyx8 vcs56 xdb7 fd1u3840 hdd20 hdh15 hdl1 hdo5 ptyb0 ptyqe ptywc sdb1 sdg9 sdm7 tty12 ttybd ttyrb ttyx9 vcs57 xdb8 fd1u720 hdd21 hdh16 hdl10 hdo6 ptyb1 ptyqf ptywd sdb10 sdh sdm8 tty13 ttybe ttyrc ttyxa vcs58 zero fd1u800 hdd22 hdh17 hdl11 hdo7 ptyb2 ptyr0 ptywe sdb11 sdh1 sdm9 tty14 ttybf ttyrd ttyxb vcs59 fd1u820 hdd23 hdh18 hdl12 hdo8 ptyb3 ptyr1 ptywf sdb12 sdh10 sdn tty15 ttyc0 ttyre ttyxc vcs6 fd1u830 hdd24 hdh19 hdl13 hdo9 ptyb4 ptyr2 ptyx0 sdb13 sdh11 sdn1 tty16 ttyc1 ttyrf ttyxd vcs60 full hdd3 hdh2 hdl14 hdp ptyb5 ptyr3 ptyx1 sdb14 sdh12 sdn10 tty17 ttyc2 ttys0 ttyxe vcs61 hda hdd4 hdh20 hdl15 hdp1 ptyb6 ptyr4 ptyx2 sdb15 sdh13 sdn11 tty18 ttyc3 ttys1 ttyxf vcs62 hda1 hdd5 hdh21 hdl16 hdp10 ptyb7 ptyr5 ptyx3 sdb2 sdh14 sdn12 tty19 ttyc4 ttys2 ttyy0 vcs63 hda10 hdd6 hdh22 hdl17 hdp11 ptyb8 ptyr6 ptyx4 sdb3 sdh15 sdn13 tty2 ttyc5 ttys3 ttyy1 vcs7 hda11 hdd7 hdh23 hdl18 hdp12 ptyb9 ptyr7 ptyx5 sdb4 sdh2 sdn14 tty20 ttyc6 ttys4 ttyy2 vcs8 hda12 hdd8 hdh24 hdl19 hdp13 ptyba ptyr8 ptyx6 sdb5 sdh3 sdn15 tty21 ttyc7 ttys5 ttyy3 vcs9 hda13 hdd9 hdh3 hdl2 hdp14 ptybb ptyr9 ptyx7 sdb6 sdh4 sdn2 tty22 ttyc8 ttys6 ttyy4 vcsa hda14 hde hdh4 hdl20 hdp15 ptybc ptyra ptyx8 sdb7 sdh5 sdn3 tty23 ttyc9 ttys7 ttyy5 vcsa0 hda15 hde1 hdh5 hdl21 hdp16 ptybd ptyrb ptyx9 sdb8 sdh6 sdn4 tty24 ttyca ttys8 ttyy6 vcsa1 qube:/tmp/root/dev#これだけあればええやろ。
qube:/tmp/root/dev# cd qube:~# chroot /tmp/root root@qube:/# apt-get install xfsprogs Reading package lists... Done Building dependency tree... Done The following extra packages will be installed: libreadline5 Suggested packages: xfsdump acl attr quota The following NEW packages will be installed: libreadline5 xfsprogs 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 1724 kB of archives. After this operation, 3867 kB of additional disk space will be used. Do you want to continue [Y/n]? y WARNING: The following packages cannot be authenticated! libreadline5 xfsprogs Install these packages without verification [y/N]? y Get:1 http://ftp.jp.debian.org/debian/ squeeze/main libreadline5 armel 5.2-7 [131 kB] Get:2 http://ftp.jp.debian.org/debian/ squeeze/main xfsprogs armel 3.1.4 [1593 kB] Fetched 1724 kB in 1s (1395 kB/s) Selecting previously deselected package libreadline5. (Reading database ... 8454 files and directories currently installed.) Unpacking libreadline5 (from .../libreadline5_5.2-7_armel.deb) ... Selecting previously deselected package xfsprogs. Unpacking xfsprogs (from .../xfsprogs_3.1.4_armel.deb) ... Processing triggers for man-db ... Setting up libreadline5 (5.2-7) ... Setting up xfsprogs (3.1.4) ... root@qube:/# exit exit qube:~#
qube:~# cd / qube:/# umount /tmp/root umount: /tmp/root: device is busy umount: /tmp/root: device is busy qube:/#良く判らないので、LS-QL をシャットダウン
: : ---- in hackkit linuxrc --- XFS mounting filesystem sda2 Starting XFS recovery on filesystem: sda2 (logdev: internal) Ending XFS recovery on filesystem: sda2 (logdev: internal) VFS: Mounted root (xfs filesystem). Trying to move old root to /initrd ... okay Freeing init memory: 120K INIT: version 2.88 booting Using makefile-style concurrent boot in runlevel S. udev requires a kernel >= 2.6.26, not started. ... failed! failed! Activating swap...Adding 257032k swap on /dev/sda3. Priority:-1 extents:1 across:257032k done. Cleaning up ifupdown.... Setting up networking.... Loading kernel modules...done. Activating lvm and md swap...done. Checking file systems...fsck from util-linux-ng 2.17.2 /dev/sda1: clean, 13/62248 files, 23019/248976 blocks /sbin/fsck.xfs: XFS file system. done. Mounting local filesystems...kjournald starting. Commit interval 5 seconds EXT3 FS on sda1, internal journal EXT3-fs: mounted filesystem with ordered data mode. XFS mounting filesystem sda4 done. Activating swapfile swap...done. Cleaning up temporary files.... Configuring network interfaces...eth reg(9) val=0x0300 eth0: link down done. Cleaning up temporary files.... Setting kernel variables ...done. startpar: service(s) returned failure: udev ... failed! INIT: Entering runlevel: 2 Using makefile-style concurrent boot in runlevel 2. Starting enhanced syslogd: rsyslogd. Starting periodic command scheduler: cron. eth0: link up, full duplex, speed 1 Gbps止った。
telnet してみる。
yasunari@sil:~$ telnet 192.168.2.47 Trying 192.168.2.47... telnet: Unable to connect to remote host: Connection refused yasunari@sil:~$あかん。ping は?
yasunari@sil:~$ ^telnet^ping ping 192.168.2.47 PING 192.168.2.47 (192.168.2.47) 56(84) bytes of data. 64 bytes from 192.168.2.47: icmp_seq=1 ttl=64 time=0.230 ms 64 bytes from 192.168.2.47: icmp_seq=2 ttl=64 time=0.156 ms 64 bytes from 192.168.2.47: icmp_seq=3 ttl=64 time=0.163 ms 64 bytes from 192.168.2.47: icmp_seq=4 ttl=64 time=0.186 ms 64 bytes from 192.168.2.47: icmp_seq=5 ttl=64 time=0.166 ms 64 bytes from 192.168.2.47: icmp_seq=6 ttl=64 time=0.158 ms 64 bytes from 192.168.2.47: icmp_seq=7 ttl=64 time=0.158 ms 64 bytes from 192.168.2.47: icmp_seq=8 ttl=64 time=0.151 ms 64 bytes from 192.168.2.47: icmp_seq=9 ttl=64 time=0.166 ms 64 bytes from 192.168.2.47: icmp_seq=10 ttl=64 time=0.155 ms 64 bytes from 192.168.2.47: icmp_seq=11 ttl=64 time=0.156 ms 64 bytes from 192.168.2.47: icmp_seq=12 ttl=64 time=0.154 ms 64 bytes from 192.168.2.47: icmp_seq=13 ttl=64 time=0.156 ms 64 bytes from 192.168.2.47: icmp_seq=14 ttl=64 time=0.245 ms 64 bytes from 192.168.2.47: icmp_seq=15 ttl=64 time=0.155 ms 64 bytes from 192.168.2.47: icmp_seq=16 ttl=64 time=0.153 ms 64 bytes from 192.168.2.47: icmp_seq=17 ttl=64 time=0.155 ms --- 192.168.2.47 ping statistics --- 17 packets transmitted, 17 received, 0% packet loss, time 16011ms rtt min/avg/max/mdev = 0.151/0.168/0.245/0.029 ms yasunari@sil:~$ネットワークはセットアップできている。
息はあるぞ!
|
← Squeeze のインストール(4)LS-HGL にインストール |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ Squeeze のインストール(6)シリアルコンソールからrootでログイン |