- Mitglied seit
- 13 Dez 2006
- Beiträge
- 45
- Punkte für Reaktionen
- 0
- Punkte
- 6
Hi everybody,
Some time ago, with the guidance of Olistudent I managed to configure friboli for building an image with ntfs support for usb disks. These were his instructions:
mkdir /var/media/ftp/uStor02
modprobe fuse
ntfs-3g /dev/sda1 /var/media/ftp/uStor02
ftpd -D
ftpd -h uStor02
This time though I got the following error after inputting the third command:
Here is some other info:
I'm not a Linux expert so please bear with me.
Thanks for helping.
Alpamayo
Some time ago, with the guidance of Olistudent I managed to configure friboli for building an image with ntfs support for usb disks. These were his instructions:
Since I was lately forced to reinstall, I tried to duplicate the same steps. I managed to make an image but this time I got an error while attempting to mount the partition. The commands that worked in the past are:Olistudent schrieb:For disks larger then 2GB you have to build the Toolchain with LFS. Sorry for that.
menuconfig->Advanced options->Compiler Options->Build Toolchain and Large Files
But then you will have to build anything from scratch. I don't have another solution. Perhaps it works if you try
make toolchain-distclean
make menuconfig
rm -rf source; mkdir source
make
mkdir /var/media/ftp/uStor02
modprobe fuse
ntfs-3g /dev/sda1 /var/media/ftp/uStor02
ftpd -D
ftpd -h uStor02
This time though I got the following error after inputting the third command:
Code:
~ $ ntfs-3g /dev/sda1 /var/media/ftp/uStor02
Error opening partition device: No such device or address
Failed to startup volume: No such device or address
Failed to mount '/dev/sda1': No such device or address
You seem to have a SoftRAID/FakeRAID hardware and must use an activated,
different device under /dev/mapper/, (e.g. /dev/mapper/nvidia_eahaabcc1)
to mount NTFS. Please see the 'dmraid' documentation for help.
Code:
BusyBox v1.5.1 (2007-10-13 22:58:07 CEST) Built-in shell (ash)
Enter 'help' for a list of built-in commands.
ermittle die aktuelle TTY
tty is "/dev/pts/0"
Console Ausgaben auf dieses Terminal umgelenkt
~ $ cat /proc/partitions
major minor #blocks name
31 0 8192 mtdblock0
31 1 6962 mtdblock1
31 2 7616 mtdblock2
31 3 64 mtdblock3
31 4 256 mtdblock4
31 5 256 mtdblock5
31 6 2048 mtdblock6
31 7 5568 mtdblock7
~ $ lsmod
Module Size Used by Tainted: P
kdsldmod 585648 2
usbahcicore 26064 0
usbcore 113232 2 usbahcicore
isdn_fbox_fon4 905168 0
ubik2 74848 3 isdn_fbox_fon4
tiatm 107904 1 ubik2
Piglet 9312 0
~ $ dmesg
net_olddevs_init+0x0/0x100()
Calling initcall 0x941fdfe4: tun_init+0x0/0x90()
tun: Universal TUN/TAP device driver, 1.6
tun: (C) 1999-2004 Max Krasnyansky <[email protected]>
Calling initcall 0x941fe0bc: cmdline_parser_init+0x0/0xc()
Calling initcall 0x941fe0c8: init_mtdchar+0x0/0xc0()
Calling initcall 0x941fe188: init_mtdblock+0x0/0xc()
Calling initcall 0x941fe194: cfi_probe_init+0x0/0x24()
Calling initcall 0x941fe1b8: cfi_amdstd_init+0x0/0x30()
Calling initcall 0x941fe1e8: cfi_intelext_init+0x0/0x4c()
Calling initcall 0x941fe234: jedec_probe_init+0x0/0x24()
Calling initcall 0x941fe258: map_ram_init+0x0/0x24()
Calling initcall 0x941fe27c: init_physmap+0x0/0x180()
physmap flash device: 400000 at 10000000
phys_mapped_flash: Found 1 x16 devices at 0x0 in 16-bit bank
Amd/Fujitsu Extended Query Table at 0x0040
phys_mapped_flash: Swapping erase regions for broken CFI table.
number of CFI chips: 1
RedBoot partition parsing not available
Calling initcall 0x941fe3fc: platram_init+0x0/0x30()
Generic platform RAM MTD, (c) 2004 Simtec Electronics
Calling initcall 0x941fe42c: init_ohio_flash+0x0/0x868()
Ohio flash driver (size->0x400000 mem->0x10000000)
flash_size=0x800000
flash_mask=0xffffff
Ohio flash memory: Found 1 x16 devices at 0x0 in 16-bit bank
[genprobe_ident_chips] 4 i 0 j 0
[genprobe_ident_chips] 5 i 0 j 1
Amd/Fujitsu Extended Query Table at 0x0040
Ohio flash memory: Swapping erase regions for broken CFI table.
number of CFI chips: 1
[mtd]: set to default: jffs2_size = 0x20 * 64KByte (0x200000 Bytes)
[ohio_find_hidden_filesystem]: super block found: bytes_used: 0x41ba6d/4307565
[init_ohio_flash] find hidden filesystem size=0x6ccb00 offset=0xb3500
[mtd] configure jffs2 partition
[mtd] fs_size=0x4c0000 max=0x2b0000 is=0x200000 max jffs2_size value 43
[mtd] ohio_flash_map: name=Ohio flash memory bankwidth=2 virt=0xb0000000 phys=0x10000000 size=0
x800000
Creating 7 MTD partitions on "Ohio flash memory":
0x000b3500-0x00780000 : "filesystem"
'nor-flash'
'Bits can be cleared (flash)'
'Has an erase function'
mtd: partition "filesystem" doesn't start on an erase block boundary -- force read-only
0x00010000-0x00780000 : "kernel"
'nor-flash'
'Bits can be cleared (flash)'
'Has an erase function'
0x00000000-0x00010000 : "bootloader"
'nor-flash'
'Bits can be cleared (flash)'
'Has an erase function'
0x00780000-0x007c0000 : "tffs (1)"
'nor-flash'
'Bits can be cleared (flash)'
'Has an erase function'
0x007c0000-0x00800000 : "tffs (2)"
'nor-flash'
'Bits can be cleared (flash)'
'Has an erase function'
0x00580000-0x00780000 : "jffs2"
'nor-flash'
'Bits can be cleared (flash)'
'Has an erase function'
0x00010000-0x00580000 : "Kernel without jffs2"
'nor-flash'
'Bits can be cleared (flash)'
'Has an erase function'
partition_info[0]: name=filesystem offset=b3500 size=6ccb00
partition_info[0]: 0xb00b3500: 0x73717368 0xa81
partition_info[1]: name=kernel offset=10000 size=770000
partition_info[1]: 0xb0010000: 0xfeed1281 0xa34e1
partition_info[2]: name=bootloader offset=0 size=10000
partition_info[2]: 0xb0000000: 0x40809000 0x40809800
partition_info[3]: name=tffs (1) offset=780000 size=40000
partition_info[3]: 0xb0780000: 0x40001 0xfdffffff
partition_info[4]: name=tffs (2) offset=7c0000 size=40000
partition_info[4]: 0xb07c0000: 0x40001 0xfeffffff
partition_info[5]: name=jffs2 offset=580000 size=200000
partition_info[5]: 0xb0580000: 0xffffffff 0xffffffff
partition_info[6]: name=Kernel without jffs2 offset=10000 size=570000
partition_info[6]: 0xb0010000: 0xfeed1281 0xa34e1
Calling initcall 0x941fee74: kcapi_init+0x0/0x9c()
Calling initcall 0x941fefb8: capi_oslib_init+0x0/0x8()
Calling initcall 0x941ffa98: blackhole_module_init+0x0/0xc()
Calling initcall 0x942007f4: inet_init+0x0/0x504()
NET: Registered protocol family 2
IP route cache hash table entries: 512 (order: -1, 2048 bytes)
TCP established hash table entries: 2048 (order: 2, 16384 bytes)
TCP bind hash table entries: 2048 (order: 1, 8192 bytes)
TCP: Hash tables configured (established 2048 bind 2048)
TCP reno registered
Calling initcall 0x9420321c: init+0x0/0x8()
Calling initcall 0x94203224: bictcp_register+0x0/0xc()
TCP bic registered
Calling initcall 0x94203230: mcfw_init_module+0x0/0x2c()
mcfw: IGMPv3 fast forwarding
Calling initcall 0x9420325c: af_unix_init+0x0/0xa0()
NET: Registered protocol family 1
Calling initcall 0x942032fc: packet_init+0x0/0x80()
NET: Registered protocol family 17
Calling initcall 0x9420337c: br_init+0x0/0x68()
Calling initcall 0x94203438: atm_init+0x0/0xec()
NET: Registered protocol family 8
NET: Registered protocol family 20
Calling initcall 0x942035dc: br2684_init+0x0/0x54()
Calling initcall 0x94203630: vlan_proto_init+0x0/0xf4()
802.1Q VLAN Support v1.8 Ben Greear <[email protected]>
All bugs added by David S. Miller <[email protected]>
Calling initcall 0x941ee028: ohio_install_dummy_irq_functions+0x0/0x58()
[setup_irq]: irq 1 irqaction->handler 0x94001590 (dummy_timer_irq+0x0/0x14 )
[setup_irq]: irq 6 irqaction->handler 0x940015a4 (dummy_system_irq_2+0x0/0x14 )
Calling initcall 0x940017e4: ohio_late_init+0x0/0x3c()
[ohio_late_init]
Calling initcall 0x941ee164: ohio_clk_switch_init+0x0/0x60()
Calling initcall 0x941ee3e0: speedup_init+0x0/0x3c()
Calling initcall 0x941fb9c0: seqgen_init+0x0/0x20()
Calling initcall 0x940cf760: avm_event_push_button_init+0x0/0x130()
[avm_new] push_button_gpio=8 value=1 enabled
Calling initcall 0x941fc9f0: tffs_init+0x0/0x224()
TFFS: tiny flash file system driver. GPL (c) AVM Berlin (Version 2.0)
mount on mtd4 and mtd5 (double buffering)
Adam2 environment variables API installed.
Calling initcall 0x941fd840: early_uart_console_switch+0x0/0xb4()
Calling initcall 0x94123dc8: net_random_reseed+0x0/0x34()
Calling initcall 0x94201d14: ip_auto_config+0x0/0x1130()
[prepare_namespace] new mount root /dev/mtdblock1
use lzma compression
VFS: Mounted root (squashfs filesystem) readonly.
Freeing prom memory: 0kb freed
Freeing unused kernel memory: 116k freed (7579 free)
[setup_irq]: irq 15 irqaction->handler 0x940d951c (serial8250_interrupt+0x0/0x13c )
AR7WDT: System Init UEberwachung 120 Sekunden
TFFS Name Table 9
Piglet: module license '
(C) Copyright 2005 by AVM
' taints kernel.
[avm_new]push_button 'Wlan-Taster', released: GPIO=8 presses=8000 key=button_key_3
EMIF: asize=1 ta=3 r_hold=0 w_strobe=6 r_strobe=6 ew=1
registered device TI Avalanche SAR
tiatm driver (patch_annex=0xc0056eec)
[tiatm] Set StrictPriority=0
DSP binary filesize = 326336 bytes
[tiatm] INFO V2U-BRIDGEREGISTER: 0x00000019
[setup_irq]: irq 23 irqaction->handler 0xc003e208 (tn7atm_sar_irq+0x0/0x30 [tiatm] )
[setup_irq]: irq 31 irqaction->handler 0xc003e238 (tn7atm_dsl_irq+0x0/0x28 [tiatm] )
[tiatm]: Powermanagment (States => 1,3,10) supported!
Texas Instruments ATM driver: version:[4.06.04.45]
[avm_power]PowerManagmentActivatePowerMode: cant find powermode: 'atm_profile_on'<3>[avm_power]
PowerManagmentActivatePowerMode: cant find powermode: 'atm_profile_off'ubik2 driver (ubik2 - 0x
10=0xc006ab94)
atm_dsp_register_ubik2: ubik2_ToMIPS_notify=0xc005abfc
atm_dsp_register_ubik2: dsp mem pointer 0xa1c10ab4
ubik2_init_interface: DSP-Link Version v3 8480
driver params overwritten io_addr=0x0 irq_num=0
[avm_power]PowerManagmentActivatePowerMode: cant find powermode: 'atm_profile_on'<3>[avm_power]
PowerManagmentActivatePowerMode: cant find powermode: 'atm_profile_off'<6>usbcore: registered n
ew driver usbfs
usbcore: registered new driver hub
AHCI RevisionID = 0x02, RamSize = 16384, NumPorts= 1
[setup_irq]: irq 9 irqaction->handler 0xc0034490 (ahci_irq+0x0/0x880 [usbahcicore] )
ahci : new USB bus registered, assigned bus number 1
kdsldmod: init start (Jul 2 2007 10:28:23) sizeof(struct sk_buff)=176
kdsldmod: init done
kdsld: PPP led: off (value=0)
[tiatm] DSL in training!
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
[avm_power]PowerManagmentActivatePowerMode: cant find powermode: 'atm_profile_on'<3>[avm_power]
PowerManagmentActivatePowerMode: cant find powermode: 'atm_profile_off'<6>usb 1-1: new full spe
ed USB device using ahci and address 2
[avm_power] : ethernet not registered
[avm_power] : ethernet not registered
[avm_power] : ethernet not registered
[avm_power] : ethernet not registered
[tiatm] DSL in training!
[ohio_vlynq_init] device 0
[ohio_vlynq_startup_link]
[setup_irq]: irq 29 irqaction->handler 0x9400574c (vlynq_interrupt+0x0/0x34 )
[setup_irq]: irq 79 irqaction->handler 0xc028bfac (tiwlan_ddaSrand+0x8/0x30 [tiap] )
SCSI subsystem initialized
Initializing USB Mass Storage driver...
USB Mass Storage device (0553:0677) detected...
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
[avm_power]PowerManagmentActivatePowerMode: cant find powermode: 'atm_profile_on'<3>[avm_power]
PowerManagmentActivatePowerMode: cant find powermode: 'atm_profile_off'<3>[avm_power]PowerManag
mentActivatePowerMode: cant find powermode: 'atm_profile_on'<3>[avm_power]PowerManagmentActivat
ePowerMode: cant find powermode: 'atm_profile_off'<3>[cpmac] cpmac_main_ioctl, unknown ioctl 35
142
device eth0 entered promiscuous mode
[setup_irq]: irq 27 irqaction->handler 0x940ea22c (cpmac_main_isr+0x0/0x78 )
lan: port 1(eth0) entering learning state
lan: topology change detected, propagating
lan: port 1(eth0) entering forwarding state
Vendor: Generic Model: Mass Storage Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 00
SCSI device sda: 256000 512-byte hdwr sectors (131 MB)
device tiwlan0 entered promiscuous mode
lan: port 2(tiwlan0) entering learning state
lan: topology change detected, propagating
lan: port 2(tiwlan0) entering forwarding state
device wdsup0 entered promiscuous mode
lan: port 3(wdsup0) entering learning state
lan: topology change detected, propagating
lan: port 3(wdsup0) entering forwarding state
device wdsdw0 entered promiscuous mode
lan: port 4(wdsdw0) entering learning state
lan: topology change detected, propagating
lan: port 4(wdsdw0) entering forwarding state
device wdsdw1 entered promiscuous mode
lan: port 5(wdsdw1) entering learning state
lan: topology change detected, propagating
lan: port 5(wdsdw1) entering forwarding state
device wdsdw2 entered promiscuous mode
lan: port 6(wdsdw2) entering learning state
lan: topology change detected, propagating
lan: port 6(wdsdw2) entering forwarding state
device wdsdw3 entered promiscuous mode
lan: port 7(wdsdw3) entering learning state
lan: topology change detected, propagating
lan: port 7(wdsdw3) entering forwarding state
AR7WDT: System Init UEberwachung abgeschlossen (87610 ms noch verfuegbar)
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_cpuclock: norm_power_rate=100 act_rate=99
mul=0 div=1 offset=0 NormP=0 mW -> SumNormP=0 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_dspclock: norm_power_rate=100 act_rate=10
0 mul=154 div=10 offset=974 NormP=2514 mW -> SumNormP=2514 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_systemclock: norm_power_rate=100 act_rate
=83 mul=65 div=10 offset=1793 NormP=2443 mW -> SumNormP=4957 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_wlan: norm_power_rate=100 act_rate=6 mul=
84 div=10 offset=100 NormP=940 mW -> SumNormP=5897 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_isdnte: norm_power_rate=100 act_rate=0 mu
l=1 div=1 offset=0 NormP=100 mW -> SumNormP=5997 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_analog: norm_power_rate=200 act_rate=0 mu
l=141 div=10 offset=100 NormP=2920 mW -> SumNormP=8917 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_dect: norm_power_rate=100 act_rate=0 mul=
0 div=1 offset=0 NormP=0 mW -> SumNormP=8917 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_ethernet: norm_power_rate=67 act_rate=0 m
ul=1 div=1 offset=50 NormP=117 mW -> SumNormP=9034 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_dsl: norm_power_rate=100 act_rate=0 mul=0
div=1 offset=0 NormP=0 mW -> SumNormP=9034 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_usb_host: norm_power_rate=500 act_rate=10
0 mul=55 div=10 offset=50 NormP=2800 mW -> SumNormP=11834 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_usb_client: norm_power_rate=0 act_rate=0
mul=0 div=1 offset=0 NormP=0 mW -> SumNormP=11834 mW
[avm_power] pm_ressourceinfo_scriptparse: powerdevice_loadrate: norm_power_rate=100 act_rate=91
mul=29 div=10 offset=-17 NormP=273 mW -> SumNormP=12107 mW
[avm_power] format error: "MODE = <powermode>"
available powermode:dsl,ata,vdsl,update,fastspeed,normalspeed,slowspeed,telefon_profile_on,tele
fon_profile_off,
SysRq : Changing Loglevel
Loglevel set to 4
[avm_power]PowerManagmentActivatePowerMode: cant find powermode: 'atm_profile_on'<3>[avm_power]
PowerManagmentActivatePowerMode: cant find powermode: 'atm_profile_off'<3>[avm_power]PowerManag
mentActivatePowerMode: cant find powermode: 'atm_profile_on'<3>[avm_power]PowerManagmentActivat
ePowerMode: cant find powermode: 'atm_profile_off'[tiatm] DSL in Sync
kdsld: showtime
kdsld: unsetup done.
kdsld: VCC 0: registered (8/35)
kdsld: 0: VPI/VCI 8/35 PPPoE internet 00:15:0c:fd:82:cb (32,0) mc upstream
kdsld: internet: set_rcv_ipaddr: 169.254.2.1
kdsld: dsl: registered
kdsld: setup done.
kdsld_token_thread: start
kdsld: Channel 0 up (physical outgoing)
kdsld: internet: set_snd_ipaddr: xxx.xxx.xxx.xxx
kdsld: internet: set_snd_mtu: 1492
kdsld: internet: connected
mcfw: forward enabled (vcc0: 00:15:0c:fd:82:cb, vlan 0, pppoe 28190)
kdsld: PPP led: on (value=1)
usb_unlink_urb() is deprecated for synchronous unlinks. Use usb_kill_urb() instead.
usb 1-1: reset full speed USB device using ahci and address 2
sda: test WP failed, assume Write Enabled
sda: assuming drive cache: write through
SCSI device sda: 256000 512-byte hdwr sectors (131 MB)
sda: test WP failed, assume Write Enabled
sda: assuming drive cache: write through
sda:
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
usb-storage: device scan complete
[cpmac] cpmac_main_dev_send, drop short pkt (14)
[cpmac] cpphy_if_tx_complete, 14 bytes dropped (9)
[cpmac] cpmac_main_dev_send, drop short pkt (14)
[cpmac] cpphy_if_tx_complete, 14 bytes dropped (9)
usb 1-1: USB disconnect, address 2
usbcore: deregistering driver usb-storage
[speedup] -> 62.5 MHz
[speedup] -> 125 MHz
[speedup] -> 62.5 MHz
[speedup] -> 125 MHz
[speedup] -> 62.5 MHz
[avm_new]push_button 'Wlan-Taster' presses: GPIO=8 time=492633
[avm_new]push_button 'Wlan-Taster', released: GPIO=8 presses=500 key=button_key_1
lan: port 2(tiwlan0) entering disabled state
lan: port 3(wdsup0) entering disabled state
lan: port 4(wdsdw0) entering disabled state
lan: port 5(wdsdw1) entering disabled state
lan: port 6(wdsdw2) entering disabled state
lan: port 7(wdsdw3) entering disabled state
[speedup] -> 125 MHz
Trying to free IRQ79
device tiwlan0 left promiscuous mode
lan: port 2(tiwlan0) entering disabled state
kdsld: kdsld_fastforward_device_gone(tiwlan0): 1 entries invalidated
device wdsup0 left promiscuous mode
lan: port 3(wdsup0) entering disabled state
device wdsdw0 left promiscuous mode
lan: port 4(wdsdw0) entering disabled state
device wdsdw1 left promiscuous mode
lan: port 5(wdsdw1) entering disabled state
device wdsdw2 left promiscuous mode
lan: port 6(wdsdw2) entering disabled state
device wdsdw3 left promiscuous mode
lan: port 7(wdsdw3) entering disabled state
[speedup] -> 62.5 MHz
[speedup] -> 125 MHz
[speedup] -> 62.5 MHz
~ $
Thanks for helping.
Alpamayo