Доброго времени суток! В общем проблема такая. Есть малина, есть raspbian, есть usb-hdd в ext2.
USB-HDD не определяется никак, хотя до того как я накосячил с RAM для GPU все работало, и он определялся.
собственно выводы команд. dmesg
[ 0.000000] Booting Linux on physical CPU 0xf00
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.18.13-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #785 SMP PREEMPT Mon May 18 17:53:02 BST 2015
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine: BCM2709
[ 0.000000] cma: Reserved 8 MiB at 0x1e800000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 126976
[ 0.000000] free_area_init_node: node 0, pgdat 80815680, node_mem_map 9e413000
[ 0.000000] Normal zone: 992 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 126976 pages, LIFO batch:31
[ 0.000000] [bcm2709_smp_init_cpus] enter (8620->f3003010)
[ 0.000000] [bcm2709_smp_init_cpus] ncores=4
[ 0.000000] PERCPU: Embedded 10 pages/cpu @9e3e7000 s11456 r8192 d21312 u40960
[ 0.000000] pcpu-alloc: s11456 r8192 d21312 u40960 alloc=10*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 125984
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2709.boardrev=0xa01041 bcm2709.serial=0x30a6db8f smsc95xx.macaddr=B8:27:EB:A6:DB:8F bcm2708_fb.fbswap=1 bcm2709.disk_led_gpio=47 bcm2709.disk_led_active_low=0 sdhci-bcm2708.emmc_clock_freq=250000000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 486072K/507904K available (5739K kernel code, 397K rwdata, 1752K rodata, 388K init, 763K bss, 21832K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 kB)
[ 0.000000] vmalloc : 0x9f800000 - 0xff000000 (1528 MB)
[ 0.000000] lowmem : 0x80000000 - 0x9f000000 ( 496 MB)
[ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
[ 0.000000] .text : 0x80008000 - 0x80758fd4 (7492 kB)
[ 0.000000] .init : 0x80759000 - 0x807ba000 ( 388 kB)
[ 0.000000] .data : 0x807ba000 - 0x8081d6bc ( 398 kB)
[ 0.000000] .bss : 0x8081d6bc - 0x808dc494 ( 764 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:608
[ 0.000000] Architected cp15 timer(s) running at 19.20MHz (virt).
[ 0.000014] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 3579139424256ns
[ 0.000038] Switching to timer-based delay loop, resolution 52ns
[ 0.000314] Console: colour dummy device 80x30
[ 0.001751] console [tty1] enabled
[ 0.001801] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.001882] pid_max: default: 32768 minimum: 301
[ 0.002304] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.002365] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.003600] Initializing cgroup subsys memory
[ 0.003689] Initializing cgroup subsys devices
[ 0.003745] Initializing cgroup subsys freezer
[ 0.003797] Initializing cgroup subsys net_cls
[ 0.003846] Initializing cgroup subsys blkio
[ 0.003973] CPU: Testing write buffer coherency: ok
[ 0.004085] ftrace: allocating 19681 entries in 58 pages
[ 0.052617] missing device node for CPU 0
[ 0.052693] missing device node for CPU 1
[ 0.052721] missing device node for CPU 2
[ 0.052748] missing device node for CPU 3
[ 0.052785] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[ 0.052822] [bcm2709_smp_prepare_cpus] enter
[ 0.052968] Setting up static identity map for 0x52c6f8 - 0x52c72c
[ 0.112612] [bcm2709_boot_secondary] cpu:1 started (0) 18
[ 0.112918] CPU1: Booted secondary processor
[ 0.112925] [bcm2709_secondary_init] enter cpu:1
[ 0.112983] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[ 0.132603] [bcm2709_boot_secondary] cpu:2 started (0) 17
[ 0.132852] CPU2: Booted secondary processor
[ 0.132859] [bcm2709_secondary_init] enter cpu:2
[ 0.132891] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[ 0.152659] [bcm2709_boot_secondary] cpu:3 started (0) 17
[ 0.152903] CPU3: Booted secondary processor
[ 0.152909] [bcm2709_secondary_init] enter cpu:3
[ 0.152941] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[ 0.153034] Brought up 4 CPUs
[ 0.153136] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.153170] CPU: All CPU(s) started in SVC mode.
[ 0.154176] devtmpfs: initialized
[ 0.179215] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.181209] pinctrl core: initialized pinctrl subsystem
[ 0.181996] NET: Registered protocol family 16
[ 0.187674] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 0.188836] bcm2709.uart_clock = 3000000
[ 0.191137] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.191190] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.191252] mailbox: Broadcom VideoCore Mailbox driver
[ 0.191375] bcm2708_vcio: mailbox at f300b880
[ 0.191766] bcm_power: Broadcom power driver
[ 0.191805] bcm_power_open() -> 0
[ 0.191831] bcm_power_request(0, 8)
[ 0.692510] bcm_mailbox_read -> 00000080, 0
[ 0.692544] bcm_power_request -> 0
[ 0.692699] Serial: AMBA PL011 UART driver
[ 0.692848] dev:f1: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev3
[ 1.198692] console [ttyAMA0] enabled
[ 1.265896] SCSI subsystem initialized
[ 1.269903] usbcore: registered new interface driver usbfs
[ 1.275569] usbcore: registered new interface driver hub
[ 1.281028] usbcore: registered new device driver usb
[ 1.287901] Switched to clocksource arch_sys_counter
[ 1.322825] FS-Cache: Loaded
[ 1.326053] CacheFiles: Loaded
[ 1.340448] NET: Registered protocol family 2
[ 1.346098] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 1.353290] TCP bind hash table entries: 4096 (order: 3, 32768 bytes)
[ 1.359896] TCP: Hash tables configured (established 4096 bind 4096)
[ 1.366345] TCP: reno registered
[ 1.369625] UDP hash table entries: 256 (order: 1, 8192 bytes)
[ 1.375502] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes)
[ 1.382120] NET: Registered protocol family 1
[ 1.387160] RPC: Registered named UNIX socket transport module.
[ 1.393147] RPC: Registered udp transport module.
[ 1.397864] RPC: Registered tcp transport module.
[ 1.402622] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 1.410074] bcm2708_dma: DMA manager at f3007000
[ 1.414845] bcm2708_gpio: bcm2708_gpio_probe 807e50a8
[ 1.420659] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
[ 1.430498] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 1.436920] audit: initializing netlink subsys (disabled)
[ 1.442439] audit: type=2000 audit(1.229:1): initialized
[ 1.464236] VFS: Disk quotas dquot_6.5.2
[ 1.468585] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.478068] FS-Cache: Netfs 'nfs' registered for caching
[ 1.484437] NFS: Registering the id_resolver key type
[ 1.489609] Key type id_resolver registered
[ 1.493807] Key type id_legacy registered
[ 1.499035] msgmni has been set to 965
[ 1.504584] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 1.512245] io scheduler noop registered
[ 1.516197] io scheduler deadline registered (default)
[ 1.521750] io scheduler cfq registered
[ 1.527450] BCM2708FB: allocated DMA memory dec00000
[ 1.532516] BCM2708FB: allocated DMA channel 0 @ f3007000
[ 1.543522] Console: switching to colour frame buffer device 82x26
[ 1.555555] bcm2708-dmaengine bcm2708-dmaengine: Load BCM2835 DMA engine driver
[ 1.564894] uart-pl011 dev:f1: no DMA platform data
[ 1.571974] vc-cma: Videocore CMA driver
[ 1.577475] vc-cma: vc_cma_base = 0x00000000
[ 1.583754] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
[ 1.590699] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
[ 1.609608] brd: module loaded
[ 1.620156] loop: module loaded
[ 1.625566] vchiq: vchiq_init_state: slot_zero = 0x9ec80000, is_master = 0
[ 1.634778] Loading iSCSI transport class v2.0-870.
[ 1.642139] usbcore: registered new interface driver smsc95xx
[ 1.649498] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.857151] Core Release: 2.80a
[ 1.861800] Setting default values for core params
[ 1.868088] Finished setting default values for core params
[ 2.075513] Using Buffer DMA mode
[ 2.080313] Periodic Transfer Interrupt Enhancement - disabled
[ 2.087666] Multiprocessor Interrupt Enhancement - disabled
[ 2.094789] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 2.100719] Dedicated Tx FIFOs mode
[ 2.105989] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0x9ec14000 dma = 0xdec14000 len=9024
[ 2.118933] FIQ FSM acceleration enabled for :
[ 2.118933] Non-periodic Split Transactions
[ 2.118933] Periodic Split Transactions
[ 2.118933] High-Speed Isochronous Endpoints
[ 2.141845] dwc_otg: Microframe scheduler enabled
[ 2.141958] WARN::hcd_init_fiq:412: FIQ on core 1 at 0x803db4e4
[ 2.149505] WARN::hcd_init_fiq:413: FIQ ASM at 0x803db840 length 36
[ 2.157407] WARN::hcd_init_fiq:438: MPHI regs_base at 0x9f80a000
[ 2.165017] dwc_otg bcm2708_usb: DWC OTG Controller
[ 2.171522] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[ 2.180399] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[ 2.187492] Init: Port Power? op_state=1
[ 2.192968] Init: Power Port (0)
[ 2.198006] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 2.206378] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 2.215192] usb usb1: Product: DWC OTG Controller
[ 2.221462] usb usb1: Manufacturer: Linux 3.18.13-v7+ dwc_otg_hcd
[ 2.229132] usb usb1: SerialNumber: bcm2708_usb
[ 2.236066] hub 1-0:1.0: USB hub found
[ 2.241469] hub 1-0:1.0: 1 port detected
[ 2.247284] dwc_otg: FIQ enabled
[ 2.247299] dwc_otg: NAK holdoff enabled
[ 2.247310] dwc_otg: FIQ split-transaction FSM enabled
[ 2.247351] Module dwc_common_port init
[ 2.247748] usbcore: registered new interface driver usb-storage
[ 2.255567] mousedev: PS/2 mouse device common for all mice
[ 2.263237] bcm2835-cpufreq: min=600000 max=700000
[ 2.269907] sdhci: Secure Digital Host Controller Interface driver
[ 2.277608] sdhci: Copyright(c) Pierre Ossman
[ 2.283818] mmc-bcm2835 mmc-bcm2835.0: DMA channels allocated
[ 2.328221] sdhci-pltfm: SDHCI platform and OF driver helper
[ 2.340325] ledtrig-cpu: registered to indicate activity on CPUs
[ 2.348204] hidraw: raw HID events driver (C) Jiri Kosina
[ 2.356514] usbcore: registered new interface driver usbhid
[ 2.364780] usbhid: USB HID core driver
[ 2.372672] TCP: cubic registered
[ 2.377584] Initializing XFRM netlink socket
[ 2.384638] NET: Registered protocol family 17
[ 2.392941] Key type dns_resolver registered
[ 2.399292] Registering SWP/SWPB emulation handler
[ 2.406505] registered taskstats version 1
[ 2.412419] vc-sm: Videocore shared memory driver
[ 2.418640] [vc_sm_connected_init]: start
[ 2.424779] [vc_sm_connected_init]: end - returning 0
[ 2.431457] mmc0: host does not support reading read-only switch, assuming write-enable
[ 2.438066] Indeed it is in host mode hprt0 = 00021501
[ 2.450204] Waiting for root device /dev/mmcblk0p2...
[ 2.451417] mmc0: new high speed SDHC card at address 0001
[ 2.452060] mmcblk0: mmc0:0001 ASTC 29.7 GiB
[ 2.453854] mmcblk0: p1 p2
[ 2.564276] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 2.575510] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 2.584540] devtmpfs: mounted
[ 2.589750] Freeing unused kernel memory: 388K (80759000 - 807ba000)
[ 2.618023] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 2.626374] Indeed it is in host mode hprt0 = 00001101
[ 2.828357] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 2.836913] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.846845] hub 1-1:1.0: USB hub found
[ 2.852555] hub 1-1:1.0: 5 ports detected
[ 3.138176] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 3.258607] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 3.268031] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 3.280855] smsc95xx v1.0.4
[ 3.343105] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:a6:db:8f
[ 3.703321] udevd[175]: starting version 175
[ 4.137065] bcm2708_spi bcm2708_spi.0: master is unqueued, this is deprecated
[ 4.168946] bcm2708_spi bcm2708_spi.0: SPI Controller at 0x3f204000 (irq 80)
[ 4.191157] bcm2708_i2c_init_pinmode(1,2)
[ 4.197156] bcm2708_i2c_init_pinmode(1,3)
[ 4.216303] bcm2708_i2c bcm2708_i2c.1: BSC1 Controller at 0x3f804000 (irq 79) (baudrate 100000)
[ 4.661910] pcm512x 1-004d: Failed to reset device: -5
[ 4.670388] pcm512x: probe of 1-004d failed with error -5
[ 4.678931] pcm512x 1-004c: Failed to reset device: -5
[ 4.686436] pcm512x: probe of 1-004c failed with error -5
[ 8.562739] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 8.989472] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 12.861381] random: dd urandom read with 120 bits of entropy available
[ 13.762064] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 14.051424] random: nonblocking pool is initialized
[ 15.287669] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[ 20.488618] Adding 1048572k swap on /var/swap. Priority:-1 extents:11 across:4095996k SSFS
fdisk -l
Disk /dev/mmcblk0: 32.0 GB, 31956402176 bytes
4 heads, 16 sectors/track, 975232 cylinders, total 62414848 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x0009bf4f
Device Boot Start End Blocks Id System
/dev/mmcblk0p1 8192 122879 57344 c W95 FAT32 (LBA)
/dev/mmcblk0p2 122880 62414847 31145984 83 Linux