Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2016-02-19 20:52:07

  tajwan - boss

tajwan
boss
Skąd: Śląsk
Zarejestrowany: 2010-03-30

Zapis na USB

Mam sftp i ssh na malinie konta daję przez utworzenie nowego użytkownika w systemie. Jak ustawić żeby pliki wysyłane na ftp były zapisywane na usb żeby karty nie zajechać?


NIGDY WIĘCEJ TESTING Z KTÓRYM SĄ SAME PROBLEMY !!!

Offline

 

#2  2016-02-19 22:02:16

  Piotr3ks - Też człowiek :-)

Piotr3ks
Też człowiek :-)
Skąd: Białystok
Zarejestrowany: 2007-06-24

Re: Zapis na USB

Możesz to uzyskać ustawiając w systemie katalog domowy nowego użytkownika na nośniku USB.

Ostatnio edytowany przez Piotr3ks (2016-02-19 22:03:05)

Offline

 

#3  2016-02-25 22:27:12

  tajwan - boss

tajwan
boss
Skąd: Śląsk
Zarejestrowany: 2010-03-30

Re: Zapis na USB

Mam chyba problem z zamontowaniem pena

Kod:

root@serwer:/# cat /etc/fstab
proc            /proc           proc    defaults          0       0
/dev/mmcblk0p1  /boot           vfat    defaults          0       2
/dev/mmcblk0p2  /               ext4    defaults,noatime  0       1
# a swapfile is not a swap partition, no line here
#   use  dphys-swapfile swap[on|off]  for that
root@serwer:/# fdisk -l

Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram4: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram5: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram6: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram7: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram8: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram9: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram10: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram11: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram12: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram13: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram14: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/ram15: 4 MiB, 4194304 bytes, 8192 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk /dev/mmcblk0: 29 GiB, 31104958464 bytes, 60751872 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
Disklabel type: dos
Disk identifier: 0xea0e7380

Device         Boot  Start      End  Sectors  Size Id Type
/dev/mmcblk0p1        8192   131071   122880   60M  c W95 FAT32 (LBA)
/dev/mmcblk0p2      131072 60751871 60620800 28,9G 83 Linux

Disk /dev/sda: 7,5 GiB, 8002732032 bytes, 15630336 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
Disklabel type: dos
Disk identifier: 0xea1dfd34

Device     Boot Start      End  Sectors  Size Id Type
/dev/sda1  *       32 15630335 15630304  7,5G  b W95 FAT32

root@serwer:/# mount -t vfat /dev/sda1 /media/driver
mount: mount point /media/driver does not exist
root@serwer:/# mount -t vfat /dev/sda /media/driver
mount: mount point /media/driver does not exist
root@serwer:/# cat /etc/fstab
proc            /proc           proc    defaults          0       0
/dev/mmcblk0p1  /boot           vfat    defaults          0       2
/dev/mmcblk0p2  /               ext4    defaults,noatime  0       1
# a swapfile is not a swap partition, no line here
#   use  dphys-swapfile swap[on|off]  for that

Kod:

mount: wrong fs type, bad option, bad superblock on /dev/sda,
       missing codepage or helper program, or other error

       In some cases useful info is found in syslog - try
       dmesg | tail or so.

Kod:

        dmesg
[    0.000000] Booting Linux on physical CPU 0xf00
[    0.000000] Initializing cgroup subsys cpuset
[    0.000000] Initializing cgroup subsys cpu
[    0.000000] Initializing cgroup subsys cpuacct
[    0.000000] Linux version 4.1.17-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #838 SMP Tue Feb 9 13:15:09 GMT 2016
[    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 model: Raspberry Pi 2 Model B Rev 1.1
[    0.000000] cma: Reserved 8 MiB at 0x3a400000
[    0.000000] Memory policy: Data cache writealloc
[    0.000000] On node 0 totalpages: 241664
[    0.000000] free_area_init_node: node 0, pgdat 80860f00, node_mem_map b9bb4000
[    0.000000]   Normal zone: 2124 pages used for memmap
[    0.000000]   Normal zone: 0 pages reserved
[    0.000000]   Normal zone: 241664 pages, LIFO batch:31
[    0.000000] [bcm2709_smp_init_cpus] enter (9420->f3003010)
[    0.000000] [bcm2709_smp_init_cpus] ncores=4
[    0.000000] PERCPU: Embedded 12 pages/cpu @bafb1000 s20416 r8192 d20544 u49152
[    0.000000] pcpu-alloc: s20416 r8192 d20544 u49152 alloc=12*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: 239540
[    0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2709.boardrev=0xa21041 bcm2709.serial=0x51dd1692 smsc95xx.macaddr=B8:27:EB:DD:16:92 bcm2708_fb.fbswap=1 bcm2709.uart_clock=3000000 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 fsck.repair=yes rootwait
[    0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[    0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[    0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[    0.000000] Memory: 939508K/966656K available (5944K kernel code, 534K rwdata, 1660K rodata, 440K init, 757K bss, 18956K reserved, 8192K cma-reserved)
[    0.000000] Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
    vmalloc : 0xbb800000 - 0xff000000   (1080 MB)
    lowmem  : 0x80000000 - 0xbb000000   ( 944 MB)
    modules : 0x7f000000 - 0x80000000   (  16 MB)
      .text : 0x80008000 - 0x807753c4   (7605 kB)
      .init : 0x80776000 - 0x807e4000   ( 440 kB)
      .data : 0x807e4000 - 0x80869a68   ( 535 kB)
       .bss : 0x8086c000 - 0x8092975c   ( 758 kB)
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[    0.000000] Hierarchical RCU implementation.
[    0.000000]     Additional per-CPU info printed with stalls.
[    0.000000] NR_IRQS:608
[    0.000000] Architected cp15 timer(s) running at 19.20MHz (phys).
[    0.000000] clocksource arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x46d987e47, max_idle_ns: 440795202767 ns
[    0.000011] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every 4398046511078ns
[    0.000032] Switching to timer-based delay loop, resolution 52ns
[    0.000314] Console: colour dummy device 80x30
[    0.001510] console [tty1] enabled
[    0.001569] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[    0.001645] pid_max: default: 32768 minimum: 301
[    0.002012] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.002066] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[    0.003357] Initializing cgroup subsys blkio
[    0.003434] Initializing cgroup subsys memory
[    0.003495] Initializing cgroup subsys devices
[    0.003548] Initializing cgroup subsys freezer
[    0.003613] Initializing cgroup subsys net_cls
[    0.003722] CPU: Testing write buffer coherency: ok
[    0.003831] ftrace: allocating 20289 entries in 60 pages
[    0.054156] CPU0: update cpu_capacity 1024
[    0.054233] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[    0.054273] [bcm2709_smp_prepare_cpus] enter
[    0.054424] Setting up static identity map for 0x8240 - 0x8274
[    0.056959] [bcm2709_boot_secondary] cpu:1 started (0) 17
[    0.057402] [bcm2709_secondary_init] enter cpu:1
[    0.057456] CPU1: update cpu_capacity 1024
[    0.057465] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[    0.058040] [bcm2709_boot_secondary] cpu:2 started (0) 18
[    0.058404] [bcm2709_secondary_init] enter cpu:2
[    0.058436] CPU2: update cpu_capacity 1024
[    0.058444] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[    0.058983] [bcm2709_boot_secondary] cpu:3 started (0) 17
[    0.059240] [bcm2709_secondary_init] enter cpu:3
[    0.059267] CPU3: update cpu_capacity 1024
[    0.059276] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[    0.059369] Brought up 4 CPUs
[    0.059480] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[    0.059513] CPU: All CPU(s) started in HYP mode.
[    0.059542] CPU: Virtualization extensions available.
[    0.060544] devtmpfs: initialized
[    0.084496] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[    0.084871] clocksource jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.086014] pinctrl core: initialized pinctrl subsystem
[    0.086850] NET: Registered protocol family 16
[    0.092561] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[    0.093874] bcm2709.uart_clock = 3000000
[    0.098664] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[    0.098723] hw-breakpoint: maximum watchpoint size is 8 bytes.
[    0.098949] Serial: AMBA PL011 UART driver
[    0.099159] 3f201000.uart: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev2
[    0.606156] console [ttyAMA0] enabled
[    0.610424] bcm2835-mbox 3f00b880.mailbox: mailbox enabled
[    0.689423] bcm2708-dmaengine 3f007000.dma: DMA legacy API manager at f3007000, dmachans=0xf35
[    0.698158] bcm2708-dmaengine 3f007000.dma: Initialized 7 DMA channels (+ 1 legacy)
[    0.706558] bcm2708-dmaengine 3f007000.dma: Load BCM2835 DMA engine driver
[    0.713473] bcm2708-dmaengine 3f007000.dma: dma_debug:0
[    0.719430] SCSI subsystem initialized
[    0.723437] usbcore: registered new interface driver usbfs
[    0.729060] usbcore: registered new interface driver hub
[    0.734522] usbcore: registered new device driver usb
[    0.740297] raspberrypi-firmware soc:firmware: Attached to firmware from 2016-02-01 17:51
[    0.775885] Switched to clocksource arch_sys_counter
[    0.828141] FS-Cache: Loaded
[    0.831395] CacheFiles: Loaded
[    0.845772] NET: Registered protocol family 2
[    0.851479] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[    0.858731] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[    0.865382] TCP: Hash tables configured (established 8192 bind 8192)
[    0.871964] UDP hash table entries: 512 (order: 2, 16384 bytes)
[    0.877992] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[    0.884969] NET: Registered protocol family 1
[    0.889829] RPC: Registered named UNIX socket transport module.
[    0.895769] RPC: Registered udp transport module.
[    0.900515] RPC: Registered tcp transport module.
[    0.905233] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    0.912895] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[    0.922425] futex hash table entries: 1024 (order: 4, 65536 bytes)
[    0.944820] VFS: Disk quotas dquot_6.6.0
[    0.949204] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[    0.958811] FS-Cache: Netfs 'nfs' registered for caching
[    0.965284] NFS: Registering the id_resolver key type
[    0.970454] Key type id_resolver registered
[    0.974655] Key type id_legacy registered
[    0.981459] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[    0.989153] io scheduler noop registered
[    0.993108] io scheduler deadline registered (default)
[    0.998621] io scheduler cfq registered
[    1.004926] BCM2708FB: allocated DMA memory fa800000
[    1.009977] BCM2708FB: allocated DMA channel 0 @ f3007000
[    1.020991] Console: switching to colour frame buffer device 82x26
[    1.032448] Serial: 8250/16550 driver, 0 ports, IRQ sharing disabled
[    1.041760] vc-cma: Videocore CMA driver
[    1.047394] vc-cma: vc_cma_base      = 0x00000000
[    1.053764] vc-cma: vc_cma_size      = 0x00000000 (0 MiB)
[    1.060785] vc-cma: vc_cma_initial   = 0x00000000 (0 MiB)
[    1.067955] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
[    1.094905] brd: module loaded
[    1.108598] loop: module loaded
[    1.114170] vchiq: vchiq_init_state: slot_zero = 0xba880000, is_master = 0
[    1.124500] Loading iSCSI transport class v2.0-870.
[    1.131889] usbcore: registered new interface driver smsc95xx
[    1.139291] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[    1.346997] Core Release: 2.80a
[    1.351599] Setting default values for core params
[    1.357926] Finished setting default values for core params
[    1.565416] Using Buffer DMA mode
[    1.570255] Periodic Transfer Interrupt Enhancement - disabled
[    1.577645] Multiprocessor Interrupt Enhancement - disabled
[    1.584787] OTG VER PARAM: 0, OTG VER FLAG: 0
[    1.590720] Dedicated Tx FIFOs mode
[    1.596119] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xba814000 dma = 0xfa814000 len=9024
[    1.609131] FIQ FSM acceleration enabled for :
Non-periodic Split Transactions
Periodic Split Transactions
High-Speed Isochronous Endpoints
[    1.632248] dwc_otg: Microframe scheduler enabled
[    1.632324] WARN::hcd_init_fiq:412: FIQ on core 1 at 0x803fcf78
[    1.639858] WARN::hcd_init_fiq:413: FIQ ASM at 0x803fd2d4 length 36
[    1.647747] WARN::hcd_init_fiq:438: MPHI regs_base at 0xbb89a000
[    1.655362] dwc_otg 3f980000.usb: DWC OTG Controller
[    1.661946] dwc_otg 3f980000.usb: new USB bus registered, assigned bus number 1
[    1.670896] dwc_otg 3f980000.usb: irq 32, io mem 0x00000000
[    1.678086] Init: Port Power? op_state=1
[    1.683528] Init: Power Port (0)
[    1.688535] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    1.696918] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    1.705697] usb usb1: Product: DWC OTG Controller
[    1.711950] usb usb1: Manufacturer: Linux 4.1.17-v7+ dwc_otg_hcd
[    1.719519] usb usb1: SerialNumber: 3f980000.usb
[    1.726569] hub 1-0:1.0: USB hub found
[    1.731878] hub 1-0:1.0: 1 port detected
[    1.737808] dwc_otg: FIQ enabled
[    1.737825] dwc_otg: NAK holdoff enabled
[    1.737836] dwc_otg: FIQ split-transaction FSM enabled
[    1.737877] Module dwc_common_port init
[    1.738252] usbcore: registered new interface driver usb-storage
[    1.746019] mousedev: PS/2 mouse device common for all mice
[    1.753858] bcm2835-cpufreq: min=600000 max=900000
[    1.760493] sdhci: Secure Digital Host Controller Interface driver
[    1.768215] sdhci: Copyright(c) Pierre Ossman
[    1.774530] mmc-bcm2835 3f300000.mmc: mmc_debug:0 mmc_debug2:0
[    1.781926] mmc-bcm2835 3f300000.mmc: DMA channels allocated
[    1.826218] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.838463] ledtrig-cpu: registered to indicate activity on CPUs
[    1.846361] hidraw: raw HID events driver (C) Jiri Kosina
[    1.854621] usbcore: registered new interface driver usbhid
[    1.862814] usbhid: USB HID core driver
[    1.868769] Initializing XFRM netlink socket
[    1.874698] NET: Registered protocol family 17
[    1.880943] Key type dns_resolver registered
[    1.888401] Registering SWP/SWPB emulation handler
[    1.896794] registered taskstats version 1
[    1.902621] vc-sm: Videocore shared memory driver
[    1.908854] [vc_sm_connected_init]: start
[    1.915011] [vc_sm_connected_init]: end - returning 0
[    1.923469] Waiting for root device /dev/mmcblk0p2...
[    1.935531] mmc0: host does not support reading read-only switch, assuming write-enable
[    1.936033] Indeed it is in host mode hprt0 = 00021501
[    1.955307] mmc0: new high speed SDHC card at address 0007
[    1.962967] mmcblk0: mmc0:0007 SL32G 28.9 GiB 
[    1.970504]  mmcblk0: p1 p2
[    2.061902] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    2.073237] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[    2.082812] devtmpfs: mounted
[    2.088218] Freeing unused kernel memory: 440K (80776000 - 807e4000)
[    2.115942] usb 1-1: new high-speed USB device number 2 using dwc_otg
[    2.124286] Indeed it is in host mode hprt0 = 00001101
[    2.326403] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[    2.334961] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.344895] hub 1-1:1.0: USB hub found
[    2.350629] hub 1-1:1.0: 5 ports detected
[    2.493285] random: systemd urandom read with 57 bits of entropy available
[    2.507411] systemd[1]: systemd 215 running in system mode. (+PAM +AUDIT +SELINUX +IMA +SYSVINIT +LIBCRYPTSETUP +GCRYPT +ACL +XZ -SECCOMP -APPARMOR)
[    2.525113] systemd[1]: Detected architecture 'arm'.
[    2.635947] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[    2.676512] NET: Registered protocol family 10
[    2.684630] systemd[1]: Inserted module 'ipv6'
[    2.695496] systemd[1]: Set hostname to <serwer>.
[    2.756335] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[    2.765118] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.777915] smsc95xx v1.0.4
[    2.831472] uart-pl011 3f201000.uart: no DMA platform data
[    2.841041] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-3f980000.usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:dd:16:92
[    3.448339] systemd[1]: Starting Forward Password Requests to Wall Directory Watch.
[    3.460242] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[    3.471760] systemd[1]: Expecting device dev-ttyAMA0.device...
[    3.482141] systemd[1]: Starting Remote File Systems (Pre).
[    3.492027] systemd[1]: Reached target Remote File Systems (Pre).
[    3.500244] systemd[1]: Starting Encrypted Volumes.
[    3.509454] systemd[1]: Reached target Encrypted Volumes.
[    3.516978] systemd[1]: Starting Arbitrary Executable File Formats File System Automount Point.
[    3.532692] systemd[1]: Set up automount Arbitrary Executable File Formats File System Automount Point.
[    3.546328] systemd[1]: Starting Swap.
[    3.554545] systemd[1]: Reached target Swap.
[    3.560891] systemd[1]: Expecting device dev-mmcblk0p1.device...
[    3.571153] systemd[1]: Starting Root Slice.
[    3.579597] systemd[1]: Created slice Root Slice.
[    3.586274] systemd[1]: Starting User and Session Slice.
[    3.595783] systemd[1]: Created slice User and Session Slice.
[    3.603409] systemd[1]: Starting /dev/initctl Compatibility Named Pipe.
[    3.614257] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[    3.623206] systemd[1]: Starting Delayed Shutdown Socket.
[    3.632823] systemd[1]: Listening on Delayed Shutdown Socket.
[    3.640460] systemd[1]: Starting Journal Socket (/dev/log).
[    3.650094] systemd[1]: Listening on Journal Socket (/dev/log).
[    3.657843] systemd[1]: Starting udev Control Socket.
[    3.666857] systemd[1]: Listening on udev Control Socket.
[    3.674078] systemd[1]: Starting udev Kernel Socket.
[    3.683012] systemd[1]: Listening on udev Kernel Socket.
[    3.690194] systemd[1]: Starting Journal Socket.
[    3.698851] systemd[1]: Listening on Journal Socket.
[    3.705691] systemd[1]: Starting System Slice.
[    3.714211] systemd[1]: Created slice System Slice.
[    3.720950] systemd[1]: Starting File System Check on Root Device...
[    3.734303] systemd[1]: Starting system-systemd\x2dfsck.slice.
[    3.744966] systemd[1]: Created slice system-systemd\x2dfsck.slice.
[    3.753225] systemd[1]: Starting system-getty.slice.
[    3.762950] systemd[1]: Created slice system-getty.slice.
[    3.770421] systemd[1]: Starting system-serial\x2dgetty.slice.
[    3.780767] systemd[1]: Created slice system-serial\x2dgetty.slice.
[    3.789074] systemd[1]: Starting Increase datagram queue length...
[    3.802743] systemd[1]: Starting Restore / save the current clock...
[    3.852525] systemd[1]: Starting Load Kernel Modules...
[    3.888626] systemd[1]: Started Set Up Additional Binary Formats.
[    3.897561] systemd[1]: Starting Create list of required static device nodes for the current kernel...
[    3.917784] systemd[1]: Mounting Debug File System...
[    3.930596] systemd[1]: Mounting POSIX Message Queue File System...
[    3.944979] systemd[1]: Mounted Huge Pages File System.
[    3.952734] systemd[1]: Starting udev Coldplug all Devices...
[    3.967394] systemd[1]: Starting Slices.
[    3.976759] systemd[1]: Reached target Slices.
[    3.985788] fuse init (API version 7.23)
[    3.995788] systemd[1]: Mounted POSIX Message Queue File System.
[    4.006413] systemd[1]: Mounted Debug File System.
[    4.017211] systemd[1]: Started Increase datagram queue length.
[    4.060401] i2c /dev entries driver
[    4.067857] systemd[1]: Started Create list of required static device nodes for the current kernel.
[    4.086049] systemd[1]: Started Load Kernel Modules.
[    4.097063] systemd[1]: Started Restore / save the current clock.
[    4.129235] systemd[1]: Time has been changed
[    4.183508] systemd[1]: Started udev Coldplug all Devices.
[    4.283958] systemd[1]: Started File System Check on Root Device.
[    4.331323] systemd[1]: Mounting FUSE Control File System...
[    4.344958] systemd[1]: Starting Apply Kernel Variables...
[    4.359951] systemd[1]: Mounting Configuration File System...
[    4.374912] systemd[1]: Starting Create Static Device Nodes in /dev...
[    4.390742] systemd[1]: Starting Syslog Socket.
[    4.394429] systemd[1]: Listening on Syslog Socket.
[    4.394755] systemd[1]: Starting Journal Service...
[    4.403551] systemd[1]: Started Journal Service.
[    4.609342] systemd-udevd[109]: starting version 215
[    5.453467] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    6.100312] bcm2835-rng 3f104000.rng: hwrng registered
[    6.101231] gpiomem-bcm2835 3f200000.gpiomem: Initialised: Registers at 0x3f200000
[    6.227004] systemd-journald[107]: Received request to flush runtime journal from PID 1
[    6.559637] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[    6.560424] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[    8.154535] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    8.155405] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[    9.025580] random: nonblocking pool is initialized
[   10.265462] Adding 102396k swap on /var/swap.  Priority:-1 extents:5 across:1929212k SSFS
[ 2591.046815] usb 1-1.4: new high-speed USB device number 4 using dwc_otg
[ 2591.148480] usb 1-1.4: New USB device found, idVendor=0781, idProduct=5575
[ 2591.148506] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 2591.148523] usb 1-1.4: Product: Cruzer Glide
[ 2591.148538] usb 1-1.4: Manufacturer: SanDisk
[ 2591.148554] usb 1-1.4: SerialNumber: 4C530000821122100325
[ 2591.149729] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[ 2591.154316] scsi host0: usb-storage 1-1.4:1.0
[ 2592.148087] scsi 0:0:0:0: Direct-Access     SanDisk  Cruzer Glide     1.00 PQ: 0 ANSI: 6
[ 2592.150509] sd 0:0:0:0: [sda] 15630336 512-byte logical blocks: (8.00 GB/7.45 GiB)
[ 2592.151618] sd 0:0:0:0: [sda] Write Protect is off
[ 2592.151644] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 2592.152254] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 2592.163027]  sda: sda1
[ 2592.166011] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 2592.172969] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 4305.979707] usb 1-1.4: USB disconnect, device number 4
[ 4632.654677] usb 1-1.4: new high-speed USB device number 5 using dwc_otg
[ 4632.756299] usb 1-1.4: New USB device found, idVendor=0781, idProduct=5575
[ 4632.756326] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 4632.756343] usb 1-1.4: Product: Cruzer Glide
[ 4632.756358] usb 1-1.4: Manufacturer: SanDisk
[ 4632.756373] usb 1-1.4: SerialNumber: 4C530000821122100325
[ 4632.757502] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[ 4632.757958] scsi host1: usb-storage 1-1.4:1.0
[ 4633.755997] scsi 1:0:0:0: Direct-Access     SanDisk  Cruzer Glide     1.00 PQ: 0 ANSI: 6
[ 4633.757310] sd 1:0:0:0: Attached scsi generic sg0 type 0
[ 4633.758640] sd 1:0:0:0: [sda] 15630336 512-byte logical blocks: (8.00 GB/7.45 GiB)
[ 4633.759632] sd 1:0:0:0: [sda] Write Protect is off
[ 4633.759657] sd 1:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 4633.760208] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 4633.775103]  sda: sda1
[ 4633.778756] sd 1:0:0:0: [sda] Attached SCSI removable disk
[ 5796.098354] usb 1-1.4: USB disconnect, device number 5
[ 5890.039642] usb 1-1.4: new high-speed USB device number 6 using dwc_otg
[ 5890.141295] usb 1-1.4: New USB device found, idVendor=0781, idProduct=5575
[ 5890.141323] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 5890.141339] usb 1-1.4: Product: Cruzer Glide
[ 5890.141354] usb 1-1.4: Manufacturer: SanDisk
[ 5890.141370] usb 1-1.4: SerialNumber: 4C530000821122100325
[ 5890.144210] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[ 5890.144853] scsi host2: usb-storage 1-1.4:1.0
[ 5891.140964] scsi 2:0:0:0: Direct-Access     SanDisk  Cruzer Glide     1.00 PQ: 0 ANSI: 6
[ 5891.142549] sd 2:0:0:0: Attached scsi generic sg0 type 0
[ 5891.142809] sd 2:0:0:0: [sda] 15630336 512-byte logical blocks: (8.00 GB/7.45 GiB)
[ 5891.143927] sd 2:0:0:0: [sda] Write Protect is off
[ 5891.143965] sd 2:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 5891.144566] sd 2:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 5891.154763]  sda: sda1
[ 5891.161771] sd 2:0:0:0: [sda] Attached SCSI removable disk
[ 6206.521087] usb 1-1.4: USB disconnect, device number 6
[ 6318.641144] usb 1-1.4: new high-speed USB device number 7 using dwc_otg
[ 6318.742816] usb 1-1.4: New USB device found, idVendor=0781, idProduct=5575
[ 6318.742843] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6318.742859] usb 1-1.4: Product: Cruzer Glide
[ 6318.742874] usb 1-1.4: Manufacturer: SanDisk
[ 6318.742890] usb 1-1.4: SerialNumber: 4C530000821122100325
[ 6318.744025] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[ 6318.746145] scsi host3: usb-storage 1-1.4:1.0
[ 6319.742433] scsi 3:0:0:0: Direct-Access     SanDisk  Cruzer Glide     1.00 PQ: 0 ANSI: 6
[ 6319.743897] sd 3:0:0:0: Attached scsi generic sg0 type 0
[ 6319.744863] sd 3:0:0:0: [sda] 15630336 512-byte logical blocks: (8.00 GB/7.45 GiB)
[ 6319.745904] sd 3:0:0:0: [sda] Write Protect is off
[ 6319.745929] sd 3:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 6319.746477] sd 3:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 6319.760440]  sda: sda1
[ 6319.764795] sd 3:0:0:0: [sda] Attached SCSI removable disk
[ 6461.531085] usb 1-1.4: USB disconnect, device number 7
[ 6514.511865] usb 1-1.4: new high-speed USB device number 8 using dwc_otg
[ 6514.613503] usb 1-1.4: New USB device found, idVendor=0781, idProduct=5575
[ 6514.613529] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 6514.613545] usb 1-1.4: Product: Cruzer Glide
[ 6514.613560] usb 1-1.4: Manufacturer: SanDisk
[ 6514.613576] usb 1-1.4: SerialNumber: 4C530000821122100325
[ 6514.614730] usb-storage 1-1.4:1.0: USB Mass Storage device detected
[ 6514.615137] scsi host4: usb-storage 1-1.4:1.0
[ 6515.613181] scsi 4:0:0:0: Direct-Access     SanDisk  Cruzer Glide     1.00 PQ: 0 ANSI: 6
[ 6515.615042] sd 4:0:0:0: [sda] 15630336 512-byte logical blocks: (8.00 GB/7.45 GiB)
[ 6515.615206] sd 4:0:0:0: Attached scsi generic sg0 type 0
[ 6515.616182] sd 4:0:0:0: [sda] Write Protect is off
[ 6515.616209] sd 4:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 6515.616858] sd 4:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA
[ 6515.626855]  sda: sda1
[ 6515.631292] sd 4:0:0:0: [sda] Attached SCSI removable disk
[ 6556.840741] FAT-fs (sda): invalid media value (0xb9)
[ 6556.840770] FAT-fs (sda): Can't find a valid FAT filesystem

Ostatnio edytowany przez tajwan (2016-02-25 23:25:34)


NIGDY WIĘCEJ TESTING Z KTÓRYM SĄ SAME PROBLEMY !!!

Offline

 

#4  2016-02-28 21:02:07

  tajwan - boss

tajwan
boss
Skąd: Śląsk
Zarejestrowany: 2010-03-30

Re: Zapis na USB

Zamontowałem jak co.

Kod:

root@serwer://home# adduser tajwan --home  /media/usb/tajwan
Dodawanie użytkownika "tajwan"...
Dodawanie nowej grupy "tajwan" (1000)...
Dodawanie nowego użytkownika "tajwan" (1000) w grupie "tajwan"...
Tworzenie katalogu domowego "/media/usb/tajwan"...
Zatrzymano: Nie utworzono katalogu domowego "/media/usb/tajwan": Błąd wejścia/wyjścia

Usuwanie katalogu "/media/usb/tajwan" ...
Usuwanie użytkownika "tajwan" ...
Usuwanie grupy "tajwan" ...
groupdel: group 'tajwan' does not exist
adduser: "groupdel tajwan" zwrócił kod błędu 6. Kończenie.

NIGDY WIĘCEJ TESTING Z KTÓRYM SĄ SAME PROBLEMY !!!

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Nas ludzie lubią po prostu, a nie klikając w przyciski ;-)

[ Generated in 0.010 seconds, 11 queries executed ]

Informacje debugowania

Time (s) Query
0.00012 SET CHARSET latin2
0.00005 SET NAMES latin2
0.00113 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.226.251.206' WHERE u.id=1
0.00074 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.226.251.206', 1727807474)
0.00060 SELECT * FROM punbb_online WHERE logged<1727807174
0.00084 SELECT topic_id FROM punbb_posts WHERE id=298250
0.00142 SELECT id FROM punbb_posts WHERE topic_id=28298 ORDER BY posted
0.00075 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=28298 AND t.moved_to IS NULL
0.00009 SELECT search_for, replace_with FROM punbb_censoring
0.00152 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=28298 ORDER BY p.id LIMIT 0,25
0.00096 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=28298
Total query time: 0.00822 s