/etc # lsmod
Module Size Used by Tainted: P
ext3 131149 0
jbd 62144 1 ext3
ext2 58569 0
mbcache 7075 2 ext3,ext2
vfat 11303 0
fat 53460 1 vfat
nls_cp437 5308 0
nls_iso8859_1 3646 0
usb_storage 36413 0
sd_mod 17441 0
scsi_mod 93945 2 usb_storage,sd_mod
rtc_sysfs 2704 0
rtc_proc 3847 0
rtc_dev 5493 1
sch_sfq 5619 4
sch_llq 9102 1
sch_tbf 5664 1
userman 33702 2
wlan_scan_ap 8481 1
wlan_acl 4090 1
wlan_wep 6114 0
wlan_tkip 12521 2
wlan_ccmp 8524 3
wlan_xauth 1182 0
ath_pci 152567 0
ath_rate_atheros 61891 1 ath_pci
wlan 229944 9 wlan_scan_ap,wlan_acl,wlan_wep,wlan_tkip,wlan_ccmp,wlan_xauth,ath_pci,ath_rate_atheros
ath_dfs 39236 2 ath_pci,wlan
ath_hal 237540 4 ath_pci,ath_rate_atheros,ath_dfs
avm_ath_extensions 41518 4 ath_pci,ath_rate_atheros,wlan,ath_hal
kdsldmod 873597 7 userman
musb_hdrc 36999 0
usbcore 125996 3 usb_storage,musb_hdrc
dect_io 21126 2
avm_dect 390881 1 dect_io
capi_codec 142935 0
isdn_fbox_fon5 761750 0
pcmlink 262925 3 avm_dect,capi_codec,isdn_fbox_fon5
rtc_avm 6573 2 pcmlink
rtc_core 7083 4 rtc_sysfs,rtc_proc,rtc_dev,rtc_avm
rtc_lib 2712 3 rtc_sysfs,rtc_avm,rtc_core
dsl_ur8 173781 0
jffs2 115345 1
Piglet_noemif 36534 0
led_modul_Fritz_Box_7270 63229 7 ath_hal
/etc # cat /proc/partitions
major minor #blocks name
31 0 14833 mtdblock0
31 1 910 mtdblock1
31 2 128 mtdblock2
31 3 256 mtdblock3
31 4 256 mtdblock4
31 5 3200 mtdblock5
8 0 244198584 sda
8 1 244198583 sda1
/etc # ls /var/media/ftp
uStor01
/etc # mount /dev/sda1 /var/media/ftp/uStor01
mount: mounting /dev/sda1 on /var/media/ftp/uStor01 failed: Invalid argument
/var/media/ftp # strace mount -t ext2 /dev/sda1 /var/media/ftp/uStor01
execve("/bin/mount", ["mount", "-t", "ext2", "/dev/sda1", "/var/media/ftp/uStor01"], [/* 191 vars */]) = 0
old_mmap(NULL, 20, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaad000
stat("/etc/ld-uClibc.so.cache", 0x7feb6738) = -1 ENOENT (No such file or directory)
open("/usr/lib/freetz/libc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/mod/lib/libc.so.0", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/lib/libc.so.0", O_RDONLY) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=698564, ...}) = 0
old_mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aaae000
read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\10\0\1\0\0\0\220\253\0\0004\0\0\0"..., 4096) = 4096
old_mmap(NULL, 741376, PROT_NONE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2aabe000
old_mmap(0x2aabe000, 643172, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 3, 0) = 0x2aabe000
old_mmap(0x2ab6b000, 8200, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED, 3, 0x9d000) = 0x2ab6b000
old_mmap(0x2ab6e000, 18128, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x2ab6e000
close(3) = 0
munmap(0x2aaae000, 4096) = 0
stat("/lib/ld-uClibc.so.0", {st_mode=S_IFREG|0755, st_size=22772, ...}) = 0
mprotect(0x2ab6b000, 4096, PROT_READ) = 0
mprotect(0x2aabc000, 4096, PROT_READ) = 0
ioctl(0, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
ioctl(1, TIOCNXCL, {B38400 opost isig icanon echo ...}) = 0
getuid() = 0
brk(0) = 0x4a0af8
brk(0x4a1af8) = 0x4a1af8
brk(0x4a2000) = 0x4a2000
getuid() = 0
geteuid() = 0
stat64("/dev/sda1", {st_mode=S_IFBLK|0640, st_rdev=makedev(8, 1), ...}) = 0
mount("/dev/sda1", "/var/media/ftp/uStor01", "ext2", MS_SILENT, "") = -1 EINVAL (Invalid argument)
ioctl(2147483647, TIOCNXCL, 0x7feb66b8) = -1 EBADF (Bad file descriptor)
brk(0x4a3000) = 0x4a3000
write(2, "mount: mounting /dev/sda1 on /va"..., 77mount: mounting /dev/sda1 on /var/media/ftp/uStor01 failed: Invalid argument
) = 77
exit(-1) = ?