cdebootstrap@2015
昨日rootfs作ってみました。相変わらずerrorで終わりますけど...
serial consoleで状態だけ見てみます。
Linux version 4.0.3-landisk+ (isaka2@068b7a1d2dfe) (gcc version 4.9.2 (GCC) ) #13 Fri May 15 11:08:45 UTC 2015 Boot params: ... MOUNT_ROOT_RDONLY - 00000000 ... RAMDISK_FLAGS - 00000000 ... ORIG_ROOT_DEV - 00000000 ... LOADER_TYPE - 00000000 ... INITRD_START - 00000000 ... INITRD_SIZE - 00000000 Memory limited to 64MB Booting machvec: LANDISK Node 0: start_pfn = 0xc000, low = 0x10000 Zone ranges: Normal [mem 0x000000000c000000-0x000000000fffffff] Movable zone start for each node Early memory node ranges node 0: [mem 0x000000000c000000-0x000000000fffffff] Initmem setup node 0 [mem 0x000000000c000000-0x000000000fffffff] I-O DATA DEVICE, INC. "LANDISK Series" support. Built 1 zonelists in Zone order, mobility grouping on. Total pages: 16256 Kernel command line: mem=64M console=ttySC1,115200 root=/dev/sda3 rootfstype=ext3 PID hash table entries: 256 (order: -2, 1024 bytes) Dentry cache hash table entries: 8192 (order: 3, 32768 bytes) Inode-cache hash table entries: 4096 (order: 2, 16384 bytes) Sorting __ex_table... PVR=04050005 CVR=20480000 PRR=00000113 I-cache : n_ways=2 n_sets=256 way_incr=8192 I-cache : entry_mask=0x00001fe0 alias_mask=0x00001000 n_aliases=2 D-cache : n_ways=2 n_sets=512 way_incr=16384 D-cache : entry_mask=0x00003fe0 alias_mask=0x00003000 n_aliases=4 Memory: 60984K/65536K available (2742K kernel code, 129K rwdata, 820K rodata, 116K init, 108K bss, 4548K reserved, 0K cma-reserved) virtual kernel memory layout: fixmap : 0xdfff7000 - 0xdffff000 ( 32 kB) vmalloc : 0xc0000000 - 0xdfff5000 ( 511 MB) lowmem : 0x8c000000 - 0x90000000 ( 64 MB) (cached) : 0xa0000000 - 0xc0000000 ( 512 MB) (uncached) .init : 0x8c39f000 - 0x8c3bc000 ( 116 kB) .data : 0x8c2afb1c - 0x8c39e740 ( 955 kB) .text : 0x8c001000 - 0x8c2afb1c (2746 kB) NR_IRQS:8 nr_irqs:8 0 intc: Registered controller 'sh7750' with 20 IRQs intc: Registered controller 'sh7750_dma8' with 9 IRQs intc: Registered controller 'sh7750_tmu34' with 2 IRQs intc: Registered controller 'sh7750_pci' with 8 IRQs intc: Registered controller 'landisk' with 8 IRQs Console: colour dummy device 80x25 sh-tmu.0: ch0: used for clock events sh-tmu.0: ch0: used for periodic clock events sh-tmu.0: ch1: used as clock source sh-tmu.1: ch0: used for clock events sh-tmu.1: ch1: used as clock source Calibrating delay loop (skipped)... 266.66 BogoMIPS PRESET (lpj=533333) pid_max: default: 32768 minimum: 301 Mount-cache hash table entries: 1024 (order: 0, 4096 bytes) Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes) CPU: SH7751R devtmpfs: initialized NET: Registered protocol family 16 PCI: Starting initialization. vgaarb: loaded SCSI subsystem initialized usbcore: registered new interface driver usbfs usbcore: registered new interface driver hub usbcore: registered new device driver usb sh_tmu sh-tmu.0: kept as earlytimer sh_tmu sh-tmu.1: kept as earlytimer DMA: Registering sh_dmac handler (8 channels). DMA: Registering DMA API. PCI host bridge to bus 0000:00 pci_bus 0000:00: root bus resource [io 0x1000-0x3fffff] pci_bus 0000:00: root bus resource [mem 0xfd000000-0xfdffffff] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff] pci 0000:00:02.0: BAR 0: assigned [mem 0xfd000000-0xfd000fff] pci 0000:00:02.1: BAR 0: assigned [mem 0xfd001000-0xfd001fff] pci 0000:00:00.0: BAR 0: assigned [io 0x1000-0x10ff] pci 0000:00:00.0: BAR 1: assigned [mem 0xfd002000-0xfd0020ff] pci 0000:00:02.2: BAR 0: assigned [mem 0xfd002100-0xfd0021ff] Switched to clocksource sh-tmu.0 NET: Registered protocol family 2 TCP established hash table entries: 1024 (order: 0, 4096 bytes) TCP bind hash table entries: 1024 (order: 0, 4096 bytes) TCP: Hash tables configured (established 1024 bind 1024) TCP: reno registered UDP hash table entries: 256 (order: 0, 4096 bytes) UDP-Lite hash table entries: 256 (order: 0, 4096 bytes) NET: Registered protocol family 1 gio: driver initialized futex hash table entries: 256 (order: -1, 3072 bytes) romfs: ROMFS MTD (C) 2007 Red Hat, Inc. Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252) io scheduler noop registered io scheduler deadline registered io scheduler cfq registered (default) SuperH (H)SCI(F) driver initialized sh-sci.0: ttySC0 at MMIO 0xffe00000 (irq = 23, base_baud = 0) is a sci sh-sci.1: ttySC1 at MMIO 0xffe80000 (irq = 40, base_baud = 0) is a scif console [ttySC1] enabled loop: module loaded scsi host0: pata_platform ata1: PATA max PIO0 ioport cmd 0xc0000040 ctl 0xc000002c irq 10 8139cp: 8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004) 8139cp 0000:00:00.0 eth0: RTL-8139C+ at 0xfd002000, 00:a0:b0:6c:e9:cd, IRQ 5 ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver ehci-pci: EHCI PCI platform driver ehci-pci 0000:00:02.2: EHCI Host Controller ehci-pci 0000:00:02.2: new USB bus registered, assigned bus number 1 ehci-pci 0000:00:02.2: irq 5, io mem 0xfd002100 ehci-pci 0000:00:02.2: USB 2.0 started, EHCI 1.00 hub 1-0:1.0: USB hub found hub 1-0:1.0: 5 ports detected ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver ohci-pci: OHCI PCI platform driver ohci-pci 0000:00:02.0: OHCI PCI host controller ohci-pci 0000:00:02.0: new USB bus registered, assigned bus number 2 ohci-pci 0000:00:02.0: irq 7, io mem 0xfd000000 hub 2-0:1.0: USB hub found hub 2-0:1.0: 3 ports detected ohci-pci 0000:00:02.1: OHCI PCI host controller ata1.00: CFA: HMS360606D5CF00, DP6OC40D, max UDMA/33 ata1.00: 12000556 sectors, multi 0: LBA ata1.00: configured for PIO ohci-pci 0000:00:02.1: new USB bus registered, assigned bus number 3 ohci-pci 0000:00:02.1: irq 8, io mem 0xfd001000 scsi 0:0:0:0: Direct-Access ATA HMS360606D5CF00 C40D PQ: 0 ANSI: 5 sd 0:0:0:0: [sda] 12000556 512-byte logical blocks: (6.14 GB/5.72 GiB) sd 0:0:0:0: [sda] Write Protect is off sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA sda: sda1 sda2 sda3 sd 0:0:0:0: [sda] Attached SCSI removable disk hub 3-0:1.0: USB hub found hub 3-0:1.0: 2 ports detected mousedev: PS/2 mouse device common for all mice rs5c313 rs5c313: rs5c313_rtc_read_time: timeout error rtc (null): read_time: fail to read rs5c313 rs5c313: rtc core: registered rs5c313 as rtc0 landisk_led_init() hardware is USL-5P landisk_led_probe() registering led registering led registering led registering led registering led registering led registering led registering led error - 0 push-switch: version 0.1.1 loaded TCP: cubic registered NET: Registered protocol family 10 sit: IPv6 over IPv4 tunneling driver NET: Registered protocol family 17 rs5c313 rs5c313: setting system clock to 2015-05-16 01:56:42 UTC (1431741402) EXT4-fs (sda3): mounting ext3 file system using the ext4 subsystem EXT4-fs (sda3): mounted filesystem with ordered data mode. Opts: (null) VFS: Mounted root (ext3 filesystem) on device 8:3. devtmpfs: mounted Freeing unused kernel memory: 116K (8c39f000 - 8c3bc000) random: nonblocking pool is initialized systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR) systemd[1]: Detected architecture 'sh'. Welcome to Debian GNU/Linux stretch/sid! systemd[1]: Cannot add dependency job for unit dbus.socket, ignoring: Unit dbus.socket failed to load: No such file or directory. systemd[1]: Cannot add dependency job for unit display-manager.service, ignoring: Unit display-manager.service failed to load: No such file or directory. systemd[1]: Starting Forward Password Requests to Wall Directory Watch. systemd[1]: Started Forward Password Requests to Wall Directory Watch. systemd[1]: Expecting device dev-ttySC1.device... Expecting device dev-ttySC1.device... systemd[1]: Starting Remote File Systems (Pre). [ OK ] Reached target Remote File Systems (Pre). systemd[1]: Reached target Remote File Systems (Pre). systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point. systemd[1]: Starting Encrypted Volumes. [ OK ] Reached target Encrypted Volumes. systemd[1]: Reached target Encrypted Volumes. systemd[1]: Starting Dispatch Password Requests to Console Directory Watch. systemd[1]: Started Dispatch Password Requests to Console Directory Watch. systemd[1]: Starting Paths. [ OK ] Reached target Paths. systemd[1]: Reached target Paths. systemd[1]: Starting Swap. [ OK ] Reached target Swap. systemd[1]: Reached target Swap. systemd[1]: Starting Root Slice. [ OK ] Created slice Root Slice. systemd[1]: Created slice Root Slice. systemd[1]: Starting User and Session Slice. [ OK ] Created slice User and Session Slice. systemd[1]: Created slice User and Session Slice. systemd[1]: Starting Delayed Shutdown Socket. [ OK ] Listening on Delayed Shutdown Socket. systemd[1]: Listening on Delayed Shutdown Socket. systemd[1]: Starting /dev/initctl Compatibility Named Pipe. [ OK ] Listening on /dev/initctl Compatibility Named Pipe. systemd[1]: Listening on /dev/initctl Compatibility Named Pipe. systemd[1]: Starting Journal Socket (/dev/log). [ OK ] Listening on Journal Socket (/dev/log). systemd[1]: Listening on Journal Socket (/dev/log). systemd[1]: Starting udev Control Socket. [ OK ] Listening on udev Control Socket. systemd[1]: Listening on udev Control Socket. systemd[1]: Starting udev Kernel Socket. [ OK ] Listening on udev Kernel Socket. systemd[1]: Listening on udev Kernel Socket. systemd[1]: Starting Journal Socket. [ OK ] Listening on Journal Socket. systemd[1]: Listening on Journal Socket. systemd[1]: Starting Sockets. [ OK ] Reached target Sockets. systemd[1]: Reached target Sockets. systemd[1]: Starting System Slice. [ OK ] Created slice System Slice. systemd[1]: Created slice System Slice. systemd[1]: Starting system-getty.slice. [ OK ] Created slice system-getty.slice. systemd[1]: Created slice system-getty.slice. systemd[1]: Starting system-serial\x2dgetty.slice. [ OK ] Created slice system-serial\x2dgetty.slice. systemd[1]: Created slice system-serial\x2dgetty.slice. systemd[1]: Started Create list of required static device nodes for the current kernel. systemd[1]: Starting Create Static Device Nodes in /dev... Starting Create Static Device Nodes in /dev... systemd[1]: Mounted POSIX Message Queue File System. systemd[1]: Starting udev Coldplug all Devices... Starting udev Coldplug all Devices... systemd[1]: Starting Load Kernel Modules... Starting Load Kernel Modules... systemd[1]: Mounted Debug File System. systemd[1]: Started Set Up Additional Binary Formats. systemd[1]: Mounted Huge Pages File System. systemd[1]: Starting Journal Service... Starting Journal Service... [ OK ] Started Journal Service. systemd[1]: Started Journal Service. [ OK ] Reached target Slices. Starting Load/Save Random Seed... [ OK ] Started Load Kernel Modules. Starting Apply Kernel Variables... [ OK ] Started Apply Kernel Variables. [ OK ] Started Load/Save Random Seed. [ OK ] Started Create Static Device Nodes in /dev. Starting udev Kernel Device Manager... [ OK ] Reached target Local File Systems (Pre). [ OK ] Reached target Local File Systems. Starting Create Volatile Files and Directories... [ OK ] Reached target Remote File Systems. Starting Trigger Flushing of Journal to Persistent Storage... systemd-udevd[1595]: starting version 215 [ OK ] Started udev Kernel Device Manager. [ OK ] Started udev Coldplug all Devices. Starting Copy rules generated while the root was ro... [ OK ] Started Copy rules generated while the root was ro. systemd-journald[887]: Received request to flush runtime journal from PID 1 [ OK ] Started Trigger Flushing of Journal to Persistent Storage. [ OK ] Started Create Volatile Files and Directories. Starting Update UTMP about System Boot/Shutdown... [ OK ] Started Update UTMP about System Boot/Shutdown. [ OK ] Reached target System Initialization. [ OK ] Reached target Timers. [ OK ] Reached target Basic System. Starting /etc/rc.local Compatibility... Starting getty on tty2-tty6 if dbus and logind are not available... Starting Permit User Sessions... [ OK ] Found device /dev/ttySC1. [ OK ] Started /etc/rc.local Compatibility. [ OK ] Started Permit User Sessions. [ OK ] Started getty on tty2-tty6 if dbus and logind are not available. Starting Getty on tty6... [ OK ] Started Getty on tty6. Starting Getty on tty5... [ OK ] Started Getty on tty5. Starting Getty on tty4... [ OK ] Started Getty on tty4. Starting Getty on tty3... [ OK ] Started Getty on tty3. Starting Getty on tty2... [ OK ] Started Getty on tty2. Starting Getty on tty1... [ OK ] Started Getty on tty1. Starting Serial Getty on ttySC1... [ OK ] Started Serial Getty on ttySC1. [ OK ] Reached target Login Prompts. [ OK ] Reached target Multi-User System. [ OK ] Reached target Graphical Interface. Starting Update UTMP about System Runlevel Changes... [ OK ] Started Update UTMP about System Runlevel Changes. Debian GNU/Linux stretch/sid 1 ttySC1 1 login:
パッケージの状態はこんな感じでした。
root@1:~# dpkg -l Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-================================= ii acl 2.2.52-2 sh4 Access control list utilities ii adduser 3.113+nmu3 all add and remove users and groups ii apt 1.0.9.9 sh4 commandline package manager ii base-files 9 sh4 Debian base system miscellaneous ii base-passwd 3.5.37 sh4 Debian base system master passwor ii bash 4.3-12 sh4 GNU Bourne Again SHell ii bsdutils 1:2.25.2-6 sh4 basic utilities from 4.4BSD-Lite ii cdebootstrap-h 1 all Bootstrap helper ii cdebootstrap-h 1 all Bootstrap helper ii cdebootstrap-h 1 all Bootstrap helper ii coreutils 8.23-4 sh4 GNU core utilities ii dash 0.5.7-4 sh4 POSIX-compliant shell ii debconf 1.5.56 all Debian configuration management s ii debconf-i18n 1.5.56 all full internationalization support ii debian-archive 2014.3 all GnuPG archive keys of the Debian ii debianutils 4.5 sh4 Miscellaneous utilities specific ii diffutils 1:3.3-1 sh4 File comparison utilities ii dmsetup 2:1.02.90-2. sh4 Linux Kernel Device Mapper usersp ii dpkg 1.17.25 sh4 Debian package management system ii e2fslibs:sh4 1.42.12-1.1 sh4 ext2/ext3/ext4 file system librar ii e2fsprogs 1.42.12-1.1 sh4 ext2/ext3/ext4 file system utilit ii findutils 4.4.2-9 sh4 utilities for finding files--find ii gcc-4.7-base:s 4.7.4-3 sh4 GCC, the GNU Compiler Collection ii gcc-4.8-base:s 4.8.4-1 sh4 GCC, the GNU Compiler Collection ii gcc-4.9-base:s 4.9.2-10 sh4 GCC, the GNU Compiler Collection ii gnupg 1.4.19-2 sh4 GNU privacy guard - a free PGP re ii gpgv 1.4.19-2 sh4 GNU privacy guard - signature ver ii grep 2.20-4.1 sh4 GNU grep, egrep and fgrep ii gzip 1.6-4 sh4 GNU compression utilities ii hostname 3.15 sh4 utility to set/show the host name ii init 1.23 sh4 System-V-like init utilities - me ii initscripts 2.88dsf-59 sh4 scripts for initializing and shut ii insserv 1.14.0-5 sh4 boot sequence organizer using LSB ii libacl1:sh4 2.2.52-2 sh4 Access control list shared librar ii libapt-pkg4.12 1.0.9.9 sh4 package management runtime librar ii libattr1:sh4 1:2.4.47-2 sh4 Extended attribute shared library ii libaudit-commo 1:2.4-1 all Dynamic library for security audi ii libaudit1:sh4 1:2.4-1 sh4 Dynamic library for security audi ii libblkid1:sh4 2.25.2-6 sh4 block device id library ii libbz2-1.0:sh4 1.0.6-7 sh4 high-quality block-sorting file c ii libc-bin 2.19-18 sh4 GNU C Library: Binaries ii libc6:sh4 2.19-18 sh4 GNU C Library: Shared libraries ii libcap2:sh4 1:2.24-8 sh4 POSIX 1003.1e capabilities (libra ii libcap2-bin 1:2.24-8 sh4 POSIX 1003.1e capabilities (utili ii libcomerr2:sh4 1.42.12-1.1 sh4 common error description library ii libcryptsetup4 2:1.6.6-5 sh4 disk encryption support - shared ii libdb5.3:sh4 5.3.28-9 sh4 Berkeley v5.3 Database Libraries ii libdebconfclie 0.192 sh4 Debian Configuration Management S ii libdevmapper1. 2:1.02.90-2. sh4 Linux Kernel Device Mapper usersp ii libgcc1:sh4 1:4.9.2-10 sh4 GCC support library ii libgcrypt20:sh 1.6.3-2 sh4 LGPL Crypto library - runtime lib ii libgpg-error0: 1.17-3 sh4 library for common error values a ii libkmod2:sh4 20-1 sh4 libkmod shared library ii liblocale-gett 1.05-8+b1 sh4 module using libc functions for i ii liblzma5:sh4 5.1.1alpha+2 sh4 XZ-format compression library ii libmount1:sh4 2.25.2-6 sh4 device mounting library ii libncurses5:sh 5.9+20140913 sh4 shared libraries for terminal han ii libncursesw5:s 5.9+20140913 sh4 shared libraries for terminal han ii libpam-modules 1.1.8-3.1 sh4 Pluggable Authentication Modules ii libpam-modules 1.1.8-3.1 sh4 Pluggable Authentication Modules ii libpam-runtime 1.1.8-3.1 all Runtime support for the PAM libra ii libpam0g:sh4 1.1.8-3.1 sh4 Pluggable Authentication Modules ii libpcre3:sh4 2:8.35-3.3 sh4 Perl 5 Compatible Regular Express ii libprocps3:sh4 2:3.3.9-8 sh4 library for accessing process inf ii libreadline6:s 6.3-8 sh4 GNU readline and history librarie ii libselinux1:sh 2.3-2 sh4 SELinux runtime shared libraries ii libsemanage-co 2.3-1 all Common files for SELinux policy m ii libsemanage1:s 2.3-1 sh4 SELinux policy management library ii libsepol1:sh4 2.3-2 sh4 SELinux library for manipulating ii libslang2:sh4 2.3.0-2 sh4 S-Lang programming library - runt ii libsmartcols1: 2.25.2-6 sh4 smart column output alignment lib ii libss2:sh4 1.42.12-1.1 sh4 command-line interface parsing li ii libstdc++6:sh4 4.9.2-10 sh4 GNU Standard C++ Library v3 ii libsystemd0:sh 215-17 sh4 systemd utility library ii libtext-charwi 0.04-7+b4 sh4 get display widths of characters ii libtext-iconv- 1.7-5+b2 sh4 converts between character sets i ii libtext-wrapi1 0.06-7 all internationalized substitute of T ii libtinfo5:sh4 5.9+20140913 sh4 shared low-level terminfo library ii libudev1:sh4 215-17 sh4 libudev shared library ii libusb-0.1-4:s 2:0.1.12-25 sh4 userspace USB programming library ii libustr-1.0-1: 1.0.4-3 sh4 Micro string library: shared libr ii libuuid1:sh4 2.25.2-6 sh4 Universally Unique ID library ii login 1:4.2-3 sh4 system login tools ii lsb-base 4.1+Debian13 all Linux Standard Base 4.1 init scri ii mawk 1.3.3-17 sh4 a pattern scanning and text proce ii mount 2.25.2-6 sh4 Tools for mounting and manipulati ii multiarch-supp 2.19-18 sh4 Transitional package to ensure mu ii ncurses-base 5.9+20140913 all basic terminal type definitions ii ncurses-bin 5.9+20140913 sh4 terminal-related programs and man ii passwd 1:4.2-3 sh4 change and administer password an ii perl-base 5.20.2-4 sh4 minimal Perl system ii procps 2:3.3.9-8 sh4 /proc file system utilities ii readline-commo 6.3-8 all GNU readline and history librarie ii sed 4.2.2-5 sh4 The GNU sed stream editor ii sensible-utils 0.0.9 all Utilities for sensible alternativ ii startpar 0.59-3 sh4 run processes in parallel and mul ii systemd 215-17 sh4 system and service manager ii systemd-sysv 215-17 sh4 system and service manager - SysV ii sysv-rc 2.88dsf-59 all System-V-like runlevel change mec ii sysvinit-utils 2.88dsf-59 sh4 System-V-like utilities ii tar 1.27.1-2 sh4 GNU version of the tar archiving ii tzdata 2015d-1 all time zone and daylight-saving tim ii udev 215-17 sh4 /dev/ and hotplug management daem ii util-linux 2.25.2-6 sh4 Miscellaneous system utilities ii zlib1g:sh4 1:1.2.8.dfsg sh4 compression library - runtime