Temat: Debian 8.0 - nie bootuje z pendrive

Cześć, potrzebuje pomocy z odpaleniem debiana na chińskim pendrive. Debian wrzucony zgodnie z tutorialem na forum doozan. Na innym pendrive odpala bez problemu, na chińskim wynalazku niestety nie. Poniżej zrzut z konsoli:

U-Boot 2015.10-tld-1 (Nov 06 2015 - 16:19:43 -0800)
ZyXEL NSA310 1-Bay Power Media Server 


SoC:   Kirkwood 88F6281_A1
DRAM:  256 MiB (ECC not enabled)
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
PHY reset timed out
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0 
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors    UUID        Type
  1    2048          15603712      00001098-01    83
loading envs from usb 0 ...
156 bytes read in 328 ms (0 Bytes/s)
importing envs ...
## Info: input data size = 16708 = 0x4144
3206562 bytes read in 459 ms (6.7 MiB/s)
7179935 bytes read in 640 ms (10.7 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.5.0-kirkwood-tld-1
   Created:      2016-04-26  18:34:28 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3206498 Bytes = 3.1 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   7:33:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7179871 Bytes = 6.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
Using machid 0x118f from environment

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.5.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #4 PREEMPT Fri Mar 18 21:36:04 PDT 2016
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: ZyXEL NSA310
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sdb1 rootdelay=10 rootfstype=ext3 mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 243396K/262144K available (6112K kernel code, 599K rwdata, 2024K rodata, 300K init, 315K bss, 18748K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07fa588   (8138 kB)
[    0.000000]       .init : 0xc07fb000 - 0xc0846000   ( 300 kB)
[    0.000000]       .data : 0xc0846000 - 0xc08dbc8c   ( 600 kB)
[    0.000000]        .bss : 0xc08dbc8c - 0xc092abe0   ( 316 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]     Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000326] Console: colour dummy device 80x30
[    0.000357] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
[    0.090101] pid_max: default: 32768 minimum: 301
[    0.090217] Security Framework initialized
[    0.090294] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090314] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091189] CPU: Testing write buffer coherency: ok
[    0.091647] Setting up static identity map for 0x8200 - 0x8258
[    0.091960] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.095716] devtmpfs: initialized
[    0.100874] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.101171] prandom: seed boundary self test passed
[    0.104910] prandom: 100 self tests passed
[    0.104934] pinctrl core: initialized pinctrl subsystem
[    0.106337] NET: Registered protocol family 16
[    0.106783] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130104] cpuidle: using governor ladder
[    0.160106] cpuidle: using governor menu
[    0.160570] Feroceon L2: Enabling L2
[    0.160616] Feroceon L2: Cache support initialised.
[    0.166279] No ATAGs?
[    0.201538] vgaarb: loaded
[    0.201907] usbcore: registered new interface driver usbfs
[    0.201987] usbcore: registered new interface driver hub
[    0.202049] usbcore: registered new device driver usb
[    0.203184] clocksource: Switched to clocksource orion_clocksource
[    0.247758] VFS: Disk quotas dquot_6.6.0
[    0.247834] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.259362] NET: Registered protocol family 2
[    0.260165] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.260202] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.260233] TCP: Hash tables configured (established 2048 bind 2048)
[    0.260297] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.260320] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.260523] NET: Registered protocol family 1
[    0.260917] RPC: Registered named UNIX socket transport module.
[    0.260930] RPC: Registered udp transport module.
[    0.260937] RPC: Registered tcp transport module.
[    0.260944] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.261251] Unpacking initramfs...
[    0.903308] Freeing initrd memory: 7012K (c1100000 - c17d9000)
[    0.903469] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.904593] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.904670] audit: initializing netlink subsys (disabled)
[    0.904724] audit: type=2000 audit(0.900:1): initialized
[    0.905075] Initialise system trusted keyring
[    0.905462] zbud: loaded
[    0.906151] NFS: Registering the id_resolver key type
[    0.906188] Key type id_resolver registered
[    0.906198] Key type id_legacy registered
[    0.906227] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.906243] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.906475] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.907015] Key type big_key registered
[    0.926382] Key type asymmetric registered
[    0.926404] Asymmetric key parser 'x509' registered
[    0.926502] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.926520] io scheduler noop registered
[    0.926534] io scheduler deadline registered
[    0.926597] io scheduler cfq registered (default)
[    0.927930] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.928627] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated
[    0.929072] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated
[    0.929924] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00
[    0.929942] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.929955] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    0.929969] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.930370] PCI: bus0: Fast back to back transfers disabled
[    0.930396] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.943276] PCI: bus1: Fast back to back transfers disabled
[    0.943461] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    0.943477] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    0.943496] pci 0000:01:00.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref]
[    0.943513] pci 0000:01:00.0: BAR 4: assigned [mem 0xe0010000-0xe0013fff 64bit pref]
[    0.943537] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0014000-0xe0014fff 64bit pref]
[    0.943558] pci 0000:01:00.0: BAR 0: assigned [io  0x10000-0x100ff]
[    0.943574] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.943587] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    0.943602] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    0.943688] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    0.943999] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.983890] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.984121] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.023876] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    1.024354] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.025767] console [ttyS0] disabled
[    1.025831] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    1.707541] console [ttyS0] enabled
[    1.712342] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    1.718763] nand: Samsung NAND 128MiB 3,3V 8-bit
[    1.723421] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.731030] Scanning device for bad blocks
[    1.735412] Bad eraseblock 2 at 0x000000040000
[    1.739921] Bad eraseblock 3 at 0x000000060000
[    1.842566] 9 cmdlinepart partitions found on MTD device orion_nand
[    1.848884] Creating 9 MTD partitions on "orion_nand":
[    1.854065] 0x000000000000-0x000000100000 : "uboot"
[    1.860294] 0x000000100000-0x000000180000 : "stock_uboot_env"
[    1.867333] 0x000000180000-0x000000200000 : "key_store"
[    1.873831] 0x000000200000-0x000000280000 : "info"
[    1.879904] 0x000000280000-0x000000c80000 : "etc"
[    1.885954] 0x000000c80000-0x000001680000 : "kernel_1"
[    1.892369] 0x000001680000-0x000004640000 : "rootfs1"
[    1.898726] 0x000004640000-0x000005040000 : "kernel_2"
[    1.905155] 0x000005040000-0x000008000000 : "rootfs2"
[    1.912540] libphy: Fixed MDIO Bus: probed
[    1.917091] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.923695] ehci-pci: EHCI PCI platform driver
[    1.928232] ehci-orion: EHCI orion driver
[    1.932454] orion-ehci f1050000.ehci: EHCI Host Controller
[    1.938024] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    1.945903] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    1.963226] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    1.969487] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.976340] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.983616] usb usb1: Product: EHCI Host Controller
[    1.988517] usb usb1: Manufacturer: Linux 4.5.0-kirkwood-tld-1 ehci_hcd
[    1.995178] usb usb1: SerialNumber: f1050000.ehci
[    2.000648] hub 1-0:1.0: USB hub found
[    2.004518] hub 1-0:1.0: 1 port detected
[    2.009441] mousedev: PS/2 mouse device common for all mice
[    2.015767] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    2.022838] i2c /dev entries driver
[    2.029372] hidraw: raw HID events driver (C) Jiri Kosina
[    2.035238] drop_monitor: Initializing network drop monitor service
[    2.041797] NET: Registered protocol family 17
[    2.046633] Key type dns_resolver registered
[    2.051793] registered taskstats version 1
[    2.055982] Loading compiled-in X.509 certificates
[    2.060862] zswap: loaded using pool lzo/zbud
[    2.073322] Key type encrypted registered
[    2.078036] rtc-mv f1010300.rtc: setting system clock to 2016-04-28 18:02:56 UTC (1461866576)
[    2.089007] Freeing unused kernel memory: 300K (c07fb000 - c0846000)
Loading, please wait...
[    2.167429] systemd-udevd[84]: starting version 215
[    2.184320] random: systemd-udevd urandom read with 3 bits of entropy available
[    2.323294] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.485176] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    2.491935] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.511599] usb 1-1: Product: USB2.0 Hub
[    2.520930] hub 1-1:1.0: USB hub found
[    2.529555] hub 1-1:1.0: 4 ports detected
[    2.813218] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[    2.925410] usb 1-1.2: New USB device found, idVendor=090c, idProduct=1000
[    2.932331] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.939712] usb 1-1.2: Product: USB DISK
[    2.943669] usb 1-1.2: Manufacturer: SMI Corporation
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/sdb1 does not exist.  Dropping to a shell!
modprobe: can't change directory to '4.5.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.5.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.5.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.5.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.5.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.5.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.5.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.5.0-kirkwood-tld-1': No such file or directory


BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs) [   

printenv:

NSA310> printenv        
arcNumber=4022
baudrate=115200
bootargs=console=ttyS0,115200 root=/dev/sda1 rootdelay= rootfstype= mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2) init=/bin/systemd
bootcmd=run bootcmd_uenv; run bootcmd_usb; usb stop; run bootcmd_sata; reset
bootcmd_sata=run sata_init; run set_bootargs_sata; run sata_boot
bootcmd_uenv=run uenv_load; if test $uenv_loaded -eq 1; then run uenv_import; fi
bootcmd_usb=run usb_init; run set_bootargs_usb; run usb_boot
bootdelay=10
console=ttyS0,115200
device=0:1
ethact=egiga0
ethaddr=b6:d0:5e:0f:a1:17
led_error=orange blinking
led_exit=green off
led_init=green blinking
machid=118f
mainlineLinux=yes
mtdids=nand0=orion_nand
mtdparts=mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)
partition=nand0,2
rootdelay=10
rootfstype=ext3
sata_boot=mw 0x800000 0 1; run sata_load_uimage; if run sata_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
sata_init=ide reset
sata_load_uimage=ext2load ide $device 0x800000 /boot/uImage
sata_load_uinitrd=ext2load ide $device 0x1100000 /boot/uInitrd
sata_root=/dev/sda1
set_bootargs_sata=setenv bootargs console=$console root=$sata_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
set_bootargs_usb=setenv bootargs console=$console root=$usb_root rootdelay=$rootdelay rootfstype=$rootfstype $mtdparts
stderr=serial
stdin=serial
stdout=serial
uenv_import=echo importing envs ...; env import -t 0x810000
uenv_load=usb start; setenv uenv_loaded 0; for devtype in usb; do for disknum in 0; do run uenv_read_disk; done; done
uenv_read=echo loading envs from $devtype $disknum ...; if load $devtype $disknum:1 0x810000 /boot/uEnv.txt; then setenv uenv_loaded 1; fi
uenv_read_disk=if $devtype part $disknum; then run uenv_read; fi
usb_boot=mw 0x800000 0 1; run usb_load_uimage; if run usb_load_uinitrd; then bootm 0x800000 0x1100000; else bootm 0x800000; fi
usb_init=usb start
usb_load_uimage=ext4load usb $device 0x800000 /boot/uImage
usb_load_uinitrd=ext4load usb $device 0x1100000 /boot/uInitrd
usb_root=/dev/sdb1

Environment size: 2358/131068 bytes

Czy ktoś może podpowie, dlaczego nie chcę ruszyć?

2

Odp: Debian 8.0 - nie bootuje z pendrive

Masz na nim partycję?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

3

Odp: Debian 8.0 - nie bootuje z pendrive

Mam na nim ext3 z wrzuconym debianem.

4

Odp: Debian 8.0 - nie bootuje z pendrive

Pytałem czy masz zrobioną partycję a nie co masz wrzucone. Bo może masz system plików na całym pendrive zamiast na partycji.

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

5

Odp: Debian 8.0 - nie bootuje z pendrive

Urządzenie Rozruch   Początek      Koniec   Bloków   ID  System
/dev/sdb1            2048    15605759     7801856   83  Linux

6

Odp: Debian 8.0 - nie bootuje z pendrive

Więc zmień pendrive po prostu...

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

7

Odp: Debian 8.0 - nie bootuje z pendrive

Specjalnie go zamówiłem pod debiana ze względu na dość małe rozmiary... Mam rozumieć, że nic się z nim nie wymyśli, tak?

8

Odp: Debian 8.0 - nie bootuje z pendrive

Czekaj, root wskazujesz na  /dev/sdb1. A czym jest sda?

Masz niepotrzebny router, uszkodzony czy nie - chętnie przygarnę go.

9

Odp: Debian 8.0 - nie bootuje z pendrive

Wewnętrznym HDD wpiętym w SATA. Tam są wyłącznie pliki użytkowników dla Samby/FTP i DLNA.

10 (edytowany przez pepe2k 2016-04-28 20:40:08)

Odp: Debian 8.0 - nie bootuje z pendrive

Bartekk napisał/a:

Wewnętrznym HDD wpiętym w SATA. Tam są wyłącznie pliki użytkowników dla Samby/FTP i DLNA.

A jesteś pewien, że ten dysk jest już widoczny w tym czasie?
Z logu to nie wynika, więc może to pendrive jest /dev/sda?

Może najlepiej podaj zamiast /dev/sdXY ID partycji, ja robię np. tak:
root=PARTUUID=15F6229F-02

Modyfikacja U-Boot dla routerów (gotowe obrazy)
Free Your Router, Again!

Podejmę się naprawy każdego routera, wymienię RAM i FLASH (32-128 MB już dostępne!) na większy

11

Odp: Debian 8.0 - nie bootuje z pendrive

Tak, jest już widoczny. Próbowałem coś takiego:

usb_root=UUID=b2df774b-0cad-4abd-ba9f-8d3e51926437

Niestety dalej to samo. Chyba sobie daruje i kupię coś normalnego, chociaż dziwne że nie chcę ruszyć na tym.

12

Odp: Debian 8.0 - nie bootuje z pendrive

Bartekk napisał/a:

Tak, jest już widoczny.

A wiesz to... skąd? Próbowałeś z /dev/sda1?

Bartekk napisał/a:

Próbowałem coś takiego:

usb_root=UUID=b2df774b-0cad-4abd-ba9f-8d3e51926437

Niestety dalej to samo. Chyba sobie daruje i kupię coś normalnego, chociaż dziwne że nie chcę ruszyć na tym.

1. Czytamy dokumentację.
2. Nie poddajemy się przy pierwszej porażce, w dodatku wynikającej z niewykonania punktu 1.

[...]
    root=        [KNL] Root filesystem
            See name_to_dev_t comment in init/do_mounts.c.

Czyli poczytaj sobie tutaj: http://lxr.free-electrons.com/source/in … nts.c#L183
Zastosuj się, a będzie działać. Z UUID na pewno nie będzie.

Modyfikacja U-Boot dla routerów (gotowe obrazy)
Free Your Router, Again!

Podejmę się naprawy każdego routera, wymienię RAM i FLASH (32-128 MB już dostępne!) na większy

13 (edytowany przez sugnuf 2016-04-28 22:54:42)

Odp: Debian 8.0 - nie bootuje z pendrive

pepe2k napisał/a:

Czyli poczytaj sobie tutaj: http://lxr.free-electrons.com/source/in … nts.c#L183
Zastosuj się, a będzie działać. Z UUID na pewno nie będzie.

Jesteś tego pewien ? smile

Wycinek z mojego zyxela:
"bootargs=console=ttyS0,115200 root=UUID=75a2a162-6ba4-4fb6-90b0-b496944db163 rootwait init=/bin/systemd zswap.enabled=1 zswap.zpool=zbud zswap.compressor=lz4"

I działa od jakiś 3 lat.

14

Odp: Debian 8.0 - nie bootuje z pendrive

sugnuf napisał/a:
pepe2k napisał/a:

Czyli poczytaj sobie tutaj: http://lxr.free-electrons.com/source/in … nts.c#L183
Zastosuj się, a będzie działać. Z UUID na pewno nie będzie.

Jesteś tego pewien ? smile

Wycinek z mojego zyxela:
"bootargs=console=ttyS0,115200 root=UUID=75a2a162-6ba4-4fb6-90b0-b496944db163 rootwait init=/bin/systemd zswap.enabled=1 zswap.zpool=zbud zswap.compressor=lz4"

I działa od jakiś 3 lat.

Tak, jestem pewien i dałem link, przyjrzyj się dokładnie funkcji name_to_dev_t.
A teraz doprecyzuję: sam kernel potrafi tylko po PARTUUID. Jak masz initramfs i coś w środku, co potrafi rozpoznać po UUID, to już inna bajka smile

Modyfikacja U-Boot dla routerów (gotowe obrazy)
Free Your Router, Again!

Podejmę się naprawy każdego routera, wymienię RAM i FLASH (32-128 MB już dostępne!) na większy

15

Odp: Debian 8.0 - nie bootuje z pendrive

Ok, powróciłem do tematu. Aktualnie zmienne wyglądają tak:

usb_init=usb start
usb_load_uimage=ext4load usb $device 0x800000 /boot/uImage
usb_load_uinitrd=ext4load usb $device 0x1100000 /boot/uInitrd
usb_root=PARTUUID=b2df774b-0cad-4abd-ba9f-8d3e51926437

i log

U-Boot 2015.10-tld-1 (Nov 06 2015 - 16:19:43 -0800)
ZyXEL NSA310 1-Bay Power Media Server 


SoC:   Kirkwood 88F6281_A1
DRAM:  256 MiB (ECC not enabled)
WARNING: Caches not enabled
NAND:  128 MiB
In:    serial
Out:   serial
Err:   serial
Net:   egiga0
PHY reset timed out
MV88E1318 PHY initialized on egiga0
Hit any key to stop autoboot:  0 
starting USB...
USB0:   USB EHCI 1.00
scanning bus 0 for devices... 3 USB Device(s) found
       scanning usb for storage devices... 1 Storage Device(s) found

Partition Map for USB device 0  --   Partition Type: DOS

Part    Start Sector    Num Sectors    UUID        Type
  1    2048          15603712      00001098-01    83
loading envs from usb 0 ...
156 bytes read in 328 ms (0 Bytes/s)
importing envs ...
## Info: input data size = 16708 = 0x4144
3206562 bytes read in 547 ms (5.6 MiB/s)
7179935 bytes read in 663 ms (10.3 MiB/s)
## Booting kernel from Legacy Image at 00800000 ...
   Image Name:   Linux-4.5.0-kirkwood-tld-1
   Created:      2016-04-26  18:34:28 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    3206498 Bytes = 3.1 MiB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
## Loading init Ramdisk from Legacy Image at 01100000 ...
   Image Name:   initramfs-4.4.0-kirkwood-tld-1
   Created:      2016-02-19   7:33:04 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    7179871 Bytes = 6.8 MiB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK
   Loading Kernel Image ... OK
Using machid 0x118f from environment

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Linux version 4.5.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #4 PREEMPT Fri Mar 18 21:36:04 PDT 2016
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: ZyXEL NSA310
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sdb1 rootdelay=10 rootfstype=ext3 mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 243396K/262144K available (6112K kernel code, 599K rwdata, 2024K rodata, 300K init, 315K bss, 18748K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07fa588   (8138 kB)
[    0.000000]       .init : 0xc07fb000 - 0xc0846000   ( 300 kB)
[    0.000000]       .data : 0xc0846000 - 0xc08dbc8c   ( 600 kB)
[    0.000000]        .bss : 0xc08dbc8c - 0xc092abe0   ( 316 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]     Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000325] Console: colour dummy device 80x30
[    0.000357] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
[    0.090101] pid_max: default: 32768 minimum: 301
[    0.090217] Security Framework initialized
[    0.090294] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090314] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091188] CPU: Testing write buffer coherency: ok
[    0.091646] Setting up static identity map for 0x8200 - 0x8258
[    0.091959] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.095714] devtmpfs: initialized
[    0.100864] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.101162] prandom: seed boundary self test passed
[    0.104901] prandom: 100 self tests passed
[    0.104925] pinctrl core: initialized pinctrl subsystem
[    0.106332] NET: Registered protocol family 16
[    0.106778] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130104] cpuidle: using governor ladder
[    0.160106] cpuidle: using governor menu
[    0.160570] Feroceon L2: Enabling L2
[    0.160616] Feroceon L2: Cache support initialised.
[    0.166274] No ATAGs?
[    0.201539] vgaarb: loaded
[    0.201909] usbcore: registered new interface driver usbfs
[    0.201989] usbcore: registered new interface driver hub
[    0.202051] usbcore: registered new device driver usb
[    0.203185] clocksource: Switched to clocksource orion_clocksource
[    0.247745] VFS: Disk quotas dquot_6.6.0
[    0.247819] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.259338] NET: Registered protocol family 2
[    0.260136] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.260174] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.260205] TCP: Hash tables configured (established 2048 bind 2048)
[    0.260268] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.260291] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.260495] NET: Registered protocol family 1
[    0.260885] RPC: Registered named UNIX socket transport module.
[    0.260897] RPC: Registered udp transport module.
[    0.260905] RPC: Registered tcp transport module.
[    0.260912] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.261220] Unpacking initramfs...
[    0.903386] Freeing initrd memory: 7012K (c1100000 - c17d9000)
[    0.903545] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.904664] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.904742] audit: initializing netlink subsys (disabled)
[    0.904795] audit: type=2000 audit(0.900:1): initialized
[    0.905146] Initialise system trusted keyring
[    0.905534] zbud: loaded
[    0.906224] NFS: Registering the id_resolver key type
[    0.906268] Key type id_resolver registered
[    0.906278] Key type id_legacy registered
[    0.906307] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.906324] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.906557] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.907099] Key type big_key registered
[    0.926485] Key type asymmetric registered
[    0.926507] Asymmetric key parser 'x509' registered
[    0.926604] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.926623] io scheduler noop registered
[    0.926637] io scheduler deadline registered
[    0.926700] io scheduler cfq registered (default)
[    0.928036] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.928733] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated
[    0.929180] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated
[    0.930034] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00
[    0.930053] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.930066] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    0.930080] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.930485] PCI: bus0: Fast back to back transfers disabled
[    0.930510] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.943276] PCI: bus1: Fast back to back transfers disabled
[    0.943463] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    0.943478] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    0.943497] pci 0000:01:00.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref]
[    0.943514] pci 0000:01:00.0: BAR 4: assigned [mem 0xe0010000-0xe0013fff 64bit pref]
[    0.943538] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0014000-0xe0014fff 64bit pref]
[    0.943559] pci 0000:01:00.0: BAR 0: assigned [io  0x10000-0x100ff]
[    0.943575] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.943588] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    0.943602] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    0.943690] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    0.943997] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.983885] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.984116] mv_xor f1060900.xor: Marvell shared XOR driver
[    1.023874] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    1.024351] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    1.025765] console [ttyS0] disabled
[    1.025830] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    1.707550] console [ttyS0] enabled
[    1.712346] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    1.718763] nand: Samsung NAND 128MiB 3,3V 8-bit
[    1.723422] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.731030] Scanning device for bad blocks
[    1.735414] Bad eraseblock 2 at 0x000000040000
[    1.739921] Bad eraseblock 3 at 0x000000060000
[    1.842569] 9 cmdlinepart partitions found on MTD device orion_nand
[    1.848885] Creating 9 MTD partitions on "orion_nand":
[    1.854067] 0x000000000000-0x000000100000 : "uboot"
[    1.860301] 0x000000100000-0x000000180000 : "stock_uboot_env"
[    1.867343] 0x000000180000-0x000000200000 : "key_store"
[    1.873842] 0x000000200000-0x000000280000 : "info"
[    1.879924] 0x000000280000-0x000000c80000 : "etc"
[    1.885971] 0x000000c80000-0x000001680000 : "kernel_1"
[    1.892388] 0x000001680000-0x000004640000 : "rootfs1"
[    1.898739] 0x000004640000-0x000005040000 : "kernel_2"
[    1.905171] 0x000005040000-0x000008000000 : "rootfs2"
[    1.912554] libphy: Fixed MDIO Bus: probed
[    1.917101] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.923703] ehci-pci: EHCI PCI platform driver
[    1.928233] ehci-orion: EHCI orion driver
[    1.932456] orion-ehci f1050000.ehci: EHCI Host Controller
[    1.938025] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    1.945905] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    1.963227] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    1.969488] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.976342] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.983618] usb usb1: Product: EHCI Host Controller
[    1.988518] usb usb1: Manufacturer: Linux 4.5.0-kirkwood-tld-1 ehci_hcd
[    1.995179] usb usb1: SerialNumber: f1050000.ehci
[    2.000647] hub 1-0:1.0: USB hub found
[    2.004510] hub 1-0:1.0: 1 port detected
[    2.009429] mousedev: PS/2 mouse device common for all mice
[    2.015759] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    2.022823] i2c /dev entries driver
[    2.029354] hidraw: raw HID events driver (C) Jiri Kosina
[    2.035218] drop_monitor: Initializing network drop monitor service
[    2.041782] NET: Registered protocol family 17
[    2.046621] Key type dns_resolver registered
[    2.051788] registered taskstats version 1
[    2.055975] Loading compiled-in X.509 certificates
[    2.060855] zswap: loaded using pool lzo/zbud
[    2.073320] Key type encrypted registered
[    2.078045] rtc-mv f1010300.rtc: setting system clock to 2016-05-15 14:28:54 UTC (1463322534)
[    2.089006] Freeing unused kernel memory: 300K (c07fb000 - c0846000)
Loading, please wait...
[    2.167130] systemd-udevd[84]: starting version 215
[    2.184037] random: systemd-udevd urandom read with 3 bits of entropy available
[    2.323294] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    2.485177] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    2.491937] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    2.511632] usb 1-1: Product: USB2.0 Hub
[    2.521313] hub 1-1:1.0: USB hub found
[    2.529503] hub 1-1:1.0: 4 ports detected
[    2.813219] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[    2.925411] usb 1-1.2: New USB device found, idVendor=090c, idProduct=1000
[    2.932331] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    2.939712] usb 1-1.2: Product: USB DISK
[    2.943669] usb 1-1.2: Manufacturer: SMI Corporation
Begin: Loading essential drivers ... done.
Begin: Running /scripts/init-premount ... done.
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.
Begin: Running /scripts/local-premount ... done.
Begin: Waiting for root file system ... Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
Begin: Running /scripts/local-block ... done.
done.
Gave up waiting for root device.  Common problems:
 - Boot args (cat /proc/cmdline)
   - Check rootdelay= (did the system wait long enough?)
   - Check root= (did the system wait for the right device?)
 - Missing modules (cat /proc/modules; ls /dev)
ALERT!  /dev/sdb1 does not exist.  Dropping to a shell!
modprobe: can't change directory to '4.5.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.5.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.5.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.5.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.5.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.5.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.5.0-kirkwood-tld-1': No such file or directory
modprobe: can't change directory to '4.5.0-kirkwood-tld-1': No such file or directory


BusyBox v1.22.1 (Debian 1:1.22.0-9+deb8u1) built-in shell (ash)
Enter 'help' for a list of built-in commands.

/bin/sh: can't access tty; job control turned off
(initramfs) 

16 (edytowany przez pepe2k 2016-05-15 17:31:11)

Odp: Debian 8.0 - nie bootuje z pendrive

Nadal masz: root=/dev/sdb1 i błąd: "ALERT!  /dev/sdb1 does not exist.  Dropping to a shell!".

Pisałem w poście http://eko.one.pl/forum/viewtopic.php?p … 68#p165368, żebyś potwierdził/sprawdził, że urządzenie blokowe /dev/sdb1 istnieje w momencie poszukiwania rootfs. Jak wynika z powyższego logu, nie istnieje.

Zanim zadasz to samo pytanie ponownie, przejrzyj logi, które sam wklejasz. Masz nadal ten sam problem.

Modyfikacja U-Boot dla routerów (gotowe obrazy)
Free Your Router, Again!

Podejmę się naprawy każdego routera, wymienię RAM i FLASH (32-128 MB już dostępne!) na większy

17

Odp: Debian 8.0 - nie bootuje z pendrive

Kupiłem kolejnego pendrive, tym razem kingstona 16gb. Na nim podobne objawy:

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000] Booting Linux on physical CPU 0x0
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.4.0-kirkwood-tld-1 (root@tldDebian) (gcc version 4.9.2 (Debian 4.9.2-10) ) #1 PREEMPT Mon Jan 25 20:35:24 PST 2016
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f
[    0.000000] CPU: VIVT data cache, VIVT instruction cache
[    0.000000] Machine model: ZyXEL NSA310
[    0.000000] Memory policy: Data cache writeback
[    0.000000] Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 65024
[    0.000000] Kernel command line: console=ttyS0,115200 root=/dev/sdb1 rootdelay=10 rootfstype=ext3 mtdparts=orion_nand:0x100000(uboot),0x80000(stock_uboot_env),0x80000(key_store),0x80000(info),0xA00000(etc),0xA00000(kernel_1),0x2FC0000(rootfs1),0xA00000(kernel_2),0x2FC0000(rootfs2)
[    0.000000] PID hash table entries: 1024 (order: 0, 4096 bytes)
[    0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes)
[    0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes)
[    0.000000] Memory: 250580K/262144K available (6007K kernel code, 573K rwdata, 1992K rodata, 296K init, 312K bss, 11564K reserved, 0K cma-reserved)
[    0.000000] Virtual kernel memory layout:
[    0.000000]     vector  : 0xffff0000 - 0xffff1000   (   4 kB)
[    0.000000]     fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
[    0.000000]     vmalloc : 0xd0800000 - 0xff800000   ( 752 MB)
[    0.000000]     lowmem  : 0xc0000000 - 0xd0000000   ( 256 MB)
[    0.000000]     modules : 0xbf000000 - 0xc0000000   (  16 MB)
[    0.000000]       .text : 0xc0008000 - 0xc07d7ef4   (8000 kB)
[    0.000000]       .init : 0xc07d8000 - 0xc0822000   ( 296 kB)
[    0.000000]       .data : 0xc0822000 - 0xc08b169c   ( 574 kB)
[    0.000000]        .bss : 0xc08b169c - 0xc08ff9d0   ( 313 kB)
[    0.000000] Preemptible hierarchical RCU implementation.
[    0.000000]     Build-time adjustment of leaf fanout to 32.
[    0.000000] NR_IRQS:16 nr_irqs:16 16
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000009] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns
[    0.000327] Console: colour dummy device 80x30
[    0.000358] Calibrating delay loop... 1196.85 BogoMIPS (lpj=5984256)
[    0.090100] pid_max: default: 32768 minimum: 301
[    0.090209] Security Framework initialized
[    0.090285] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.090306] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[    0.091084] Initializing cgroup subsys io
[    0.091117] Initializing cgroup subsys devices
[    0.091141] Initializing cgroup subsys freezer
[    0.091174] Initializing cgroup subsys net_cls
[    0.091257] CPU: Testing write buffer coherency: ok
[    0.091723] Setting up static identity map for 0x8200 - 0x8258
[    0.092048] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3
[    0.095792] devtmpfs: initialized
[    0.101119] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.101583] prandom: seed boundary self test passed
[    0.105322] prandom: 100 self tests passed
[    0.105349] pinctrl core: initialized pinctrl subsystem
[    0.106733] NET: Registered protocol family 16
[    0.107176] DMA: preallocated 256 KiB pool for atomic coherent allocations
[    0.130108] cpuidle: using governor ladder
[    0.160105] cpuidle: using governor menu
[    0.160561] Feroceon L2: Enabling L2
[    0.160607] Feroceon L2: Cache support initialised.
[    0.166237] No ATAGs?
[    0.201602] vgaarb: loaded
[    0.201981] usbcore: registered new interface driver usbfs
[    0.202063] usbcore: registered new interface driver hub
[    0.202126] usbcore: registered new device driver usb
[    0.203240] clocksource: Switched to clocksource orion_clocksource
[    0.258296] NET: Registered protocol family 2
[    0.259106] TCP established hash table entries: 2048 (order: 1, 8192 bytes)
[    0.259146] TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
[    0.259177] TCP: Hash tables configured (established 2048 bind 2048)
[    0.259247] UDP hash table entries: 256 (order: 0, 4096 bytes)
[    0.259270] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[    0.259465] NET: Registered protocol family 1
[    0.259872] RPC: Registered named UNIX socket transport module.
[    0.259884] RPC: Registered udp transport module.
[    0.259892] RPC: Registered tcp transport module.
[    0.259900] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.260304] NetWinder Floating Point Emulator V0.97 (double precision)
[    0.261329] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.261401] audit: initializing netlink subsys (disabled)
[    0.261451] audit: type=2000 audit(0.250:1): initialized
[    0.261801] Initialise system trusted keyring
[    0.262191] zbud: loaded
[    0.262483] VFS: Disk quotas dquot_6.6.0
[    0.262545] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.263103] NFS: Registering the id_resolver key type
[    0.263142] Key type id_resolver registered
[    0.263152] Key type id_legacy registered
[    0.263178] nfs4filelayout_init: NFSv4 File Layout Driver Registering...
[    0.263193] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    0.263491] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
[    0.264027] Key type big_key registered
[    0.275362] Key type asymmetric registered
[    0.275384] Asymmetric key parser 'x509' registered
[    0.275477] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.275498] io scheduler noop registered
[    0.275514] io scheduler deadline registered
[    0.275575] io scheduler cfq registered (default)
[    0.276926] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver
[    0.277602] irq: Cannot allocate irq_descs @ IRQ33, assuming pre-allocated
[    0.278035] irq: Cannot allocate irq_descs @ IRQ65, assuming pre-allocated
[    0.278877] mvebu-pcie mbus:pcie-controller: PCI host bridge to bus 0000:00
[    0.278898] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]
[    0.278911] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]
[    0.278925] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.279333] PCI: bus0: Fast back to back transfers disabled
[    0.279359] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.293428] PCI: bus1: Fast back to back transfers disabled
[    0.293614] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe00fffff]
[    0.293631] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]
[    0.293650] pci 0000:01:00.0: BAR 6: assigned [mem 0xe0000000-0xe000ffff pref]
[    0.293667] pci 0000:01:00.0: BAR 4: assigned [mem 0xe0010000-0xe0013fff 64bit pref]
[    0.293691] pci 0000:01:00.0: BAR 2: assigned [mem 0xe0014000-0xe0014fff 64bit pref]
[    0.293713] pci 0000:01:00.0: BAR 0: assigned [io  0x10000-0x100ff]
[    0.293728] pci 0000:00:01.0: PCI bridge to [bus 01]
[    0.293742] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]
[    0.293757] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe00fffff]
[    0.293845] pcieport 0000:00:01.0: enabling device (0140 -> 0143)
[    0.294144] mv_xor f1060800.xor: Marvell shared XOR driver
[    0.333917] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.334145] mv_xor f1060900.xor: Marvell shared XOR driver
[    0.373927] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )
[    0.374392] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    0.375803] console [ttyS0] disabled
[    0.375867] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base_baud = 12500000) is a 16550A
[    1.078771] console [ttyS0] enabled
[    1.083594] nand: device found, Manufacturer ID: 0xec, Chip ID: 0xf1
[    1.089983] nand: Samsung NAND 128MiB 3,3V 8-bit
[    1.094652] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64
[    1.102260] Scanning device for bad blocks
[    1.106644] Bad eraseblock 2 at 0x000000040000
[    1.111160] Bad eraseblock 3 at 0x000000060000
[    1.213926] 9 cmdlinepart partitions found on MTD device orion_nand
[    1.220225] Creating 9 MTD partitions on "orion_nand":
[    1.225413] 0x000000000000-0x000000100000 : "uboot"
[    1.231630] 0x000000100000-0x000000180000 : "stock_uboot_env"
[    1.238662] 0x000000180000-0x000000200000 : "key_store"
[    1.245177] 0x000000200000-0x000000280000 : "info"
[    1.251230] 0x000000280000-0x000000c80000 : "etc"
[    1.257273] 0x000000c80000-0x000001680000 : "kernel_1"
[    1.263745] 0x000001680000-0x000004640000 : "rootfs1"
[    1.270055] 0x000004640000-0x000005040000 : "kernel_2"
[    1.276474] 0x000005040000-0x000008000000 : "rootfs2"
[    1.283904] libphy: Fixed MDIO Bus: probed
[    1.288392] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.295028] ehci-pci: EHCI PCI platform driver
[    1.299563] ehci-orion: EHCI orion driver
[    1.303817] orion-ehci f1050000.ehci: EHCI Host Controller
[    1.309354] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1
[    1.317241] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    1.333282] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    1.339559] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.346409] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.353689] usb usb1: Product: EHCI Host Controller
[    1.358587] usb usb1: Manufacturer: Linux 4.4.0-kirkwood-tld-1 ehci_hcd
[    1.365251] usb usb1: SerialNumber: f1050000.ehci
[    1.370708] hub 1-0:1.0: USB hub found
[    1.374570] hub 1-0:1.0: 1 port detected
[    1.379499] mousedev: PS/2 mouse device common for all mice
[    1.385826] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0
[    1.392901] i2c /dev entries driver
[    1.399436] hidraw: raw HID events driver (C) Jiri Kosina
[    1.405342] drop_monitor: Initializing network drop monitor service
[    1.411893] NET: Registered protocol family 17
[    1.416661] Key type dns_resolver registered
[    1.421796] registered taskstats version 1
[    1.425993] Loading compiled-in X.509 certificates
[    1.430870] zswap: loaded using pool lzo/zbud
[    1.436383] Key type encrypted registered
[    1.441032] rtc-mv f1010300.rtc: setting system clock to 2016-06-02 14:53:04 UTC (1464879184)
[    1.451124] Waiting 10 sec before mounting root device...
[    1.693275] usb 1-1: new high-speed USB device number 2 using orion-ehci
[    1.845000] usb 1-1: New USB device found, idVendor=05e3, idProduct=0608
[    1.851751] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[    1.858959] usb 1-1: Product: USB2.0 Hub
[    1.863848] hub 1-1:1.0: USB hub found
[    1.868001] hub 1-1:1.0: 4 ports detected
[    2.153268] usb 1-1.2: new high-speed USB device number 3 using orion-ehci
[    2.270998] usb 1-1.2: New USB device found, idVendor=0951, idProduct=1665
[    2.277937] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    2.285316] usb 1-1.2: Product: DataTraveler 2.0
[    2.289953] usb 1-1.2: Manufacturer: Kingston
[    2.294349] usb 1-1.2: SerialNumber: 00241D8CE459B020D9A09CD5
[   11.463430] VFS: Cannot open root device "sdb1" or unknown-block(0,0): error -6
[   11.470776] Please append a correct "root=" boot option; here are the available partitions:
[   11.479312] 1f00            1024 mtdblock0  (driver?)
[   11.484455] 1f01             512 mtdblock1  (driver?)
[   11.489536] 1f02             512 mtdblock2  (driver?)
[   11.494666] 1f03             512 mtdblock3  (driver?)
[   11.499747] 1f04           10240 mtdblock4  (driver?)
[   11.504850] 1f05           10240 mtdblock5  (driver?)
[   11.509933] 1f06           48896 mtdblock6  (driver?)
[   11.515035] 1f07           10240 mtdblock7  (driver?)
[   11.520117] 1f08           48896 mtdblock8  (driver?)
[   11.525219] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)
[   11.533520] CPU: 0 PID: 1 Comm: swapper Not tainted 4.4.0-kirkwood-tld-1 #1
[   11.540509] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   11.546828] [<c0016784>] (unwind_backtrace) from [<c00129f8>] (show_stack+0x10/0x14)
[   11.554611] [<c00129f8>] (show_stack) from [<c00c2200>] (panic+0x80/0x214)
[   11.561528] [<c00c2200>] (panic) from [<c07d9280>] (mount_block_root+0x204/0x24c)
[   11.569049] [<c07d9280>] (mount_block_root) from [<c07d93b4>] (mount_root+0xec/0x118)
[   11.576922] [<c07d93b4>] (mount_root) from [<c07d9504>] (prepare_namespace+0x124/0x184)
[   11.584963] [<c07d9504>] (prepare_namespace) from [<c07d8e9c>] (kernel_init_freeable+0x208/0x258)
[   11.593880] [<c07d8e9c>] (kernel_init_freeable) from [<c05b16b4>] (kernel_init+0x8/0xe4)
[   11.602012] [<c05b16b4>] (kernel_init) from [<c000f090>] (ret_from_fork+0x14/0x24)
[   11.609623] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(0,0)

Na starym pendrive wszystko rusza od strzała. Jakieś sugestie?

18

Odp: Debian 8.0 - nie bootuje z pendrive

Przy próbie załadowania uinitrd otrzymuje takie błędy:

NSA310> ext4load usb 0:1 0x1100000 /boot/uInitrd
EHCI timed out on TD - token=0x8e008d80
EHCI timed out on TD - token=0xe008d80
EHCI timed out on TD - token=0xe008d80
 ** ext4fs_devread read error - block

.

na starym pendrivie mam

NSA310> ext4load usb 0:1 0x1100000 /boot/uInitrd
7179935 bytes read in 519 ms (13.2 MiB/s)

19

Odp: Debian 8.0 - nie bootuje z pendrive

Do 3 razy sztuka. Kupiłem trzeciego pendrive i stwierdziłem, że jak z tym nie zadziała to leci to wszystko do śmieci. Odpaliło smile