mount usb problem 7025+

SURV55

Inactive User
Joined
Nov 23, 2007
Messages
12
Reaction score
0
Hi I am a newbie with dreamboxes and have successfully set up the 7025+ to receive freetoair
following the various guides and tips in various forms I have come across the following problem
using dcc I am able to format a kingston and scandisk usb pen but when trying to mount get the following
mounting /dev/scsi/host0/bus0/target0/lun0/disc on /var/mnt/usb failed: no such file or directiory
the original flash image is oozoon

any solution would be appreciated

I have also tryied to backup the original image with dcc but the button is greyed out also tryied SIadmin post dated 10 05 2003 but get a similar responce file not found

would like to move on from just freetoair

thanks for the quick reply when telnet box opens it says connecting to ip... then the box disappears
please advise me where i am going wrong

yes its the same one as in the dcc setup

sorry sorted the telnet access out
entered unmount/usb saya not found
entered next line says not found

does not want to recognise the usb but will format

tried umount/usb not found
entered second line not found
entered third line goes back to root cursor

any suggestions

cheers for your help so far

first line reply no such file or directory
second line ok
third line failed no such file or directory

have run dmseg
how do I copy to post? please

usb 1-1: new full speed USB device using ohci_hcd and address 2
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
Vendor: SanDisk Model: U3 Titanium Rev: 2.18
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 2006673 512-byte hdwr sectors (1027 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 2006673 512-byte hdwr sectors (1027 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
/dev/scsi/host0/bus0/target0/lun0: unknown partition table
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
usb-storage: device scan complete
root@dm7025:~# [/quote]

ok sorted how to copy post

hope this will show the problem at last

tried your suggestion
1st line invalid argument
2nd line ok
3rd line invalid argumnet

the usb drive is 1GB

thanks for your efforts so far

look forward to other suggestions

found media/usb/usr/lib/ipkg/info
media/hdd
media/cf/user/lib/ipkg/info

I do not understand what you mean by actual output and error?
the responses I have written were the ones shown after the entry of each line that you asked me to type in
 
Last edited by a moderator:
For the USB device, try typing these commands into telnet (forget about DCC for now). Do START > RUN > telnet ip.address.of.box

umount /usb
mkfs.ext3 /dev/scsi/host0/bus0/target0/lun0/disc
mount -t ext3 /dev/scsi/host0/bus0/target0/lun0/disc /usb
 
yep you lol

slap a dish on your wall and watch some real telly :)
 
Are you sure it's the correct ip address?

@digidude - I've got a motorised dish, don't you remember in your old age lol. Use to be on a CS but that stopped working and I never bothered finding a new one lol. Only really used it for football on a Saturday and the odd movie.
 
The command is 'umount' not 'unmount'.

It may not work, I've not tried it. But I know it works with cards in a memory card reader.
 
There's a space between umount and /usb so you should type EXACTLY:
Code:
You don't have permission to view the code content. Log in or register now.

Cut and paste the following (one line at a time:)

Code:
You don't have permission to view the code content. Log in or register now.

Note, the second line is going to wipe the usb drive, and make it unreadable in windows. I'd have thought you could mount an fat32 disk directly from the dreambox. No need for an ext3 filesystem. Devilfish, please correct if I'm wrong.

Also, try turning off the dreambox, unplugging the usb stick, then start up the dreambox. When it's all booted up, plug in the drive, and log in through telnet. Type
Code:
You don't have permission to view the code content. Log in or register now.
and post the output you get (it'll be long, but you only need the last 20 or so lines).

Good luck
 
I'd have thought you could mount an fat32 disk directly from the dreambox. No need for an ext3 filesystem. Devilfish, please correct if I'm wrong.

No idea m8. I have a receiver with a SD card slot and that's how we format that for multiboot.
 
Try...

umount /media/usb
mkfs.ext3 /dev/scsi/host0/bus0/target0/lun0/disc
mount -t ext3 /dev/scsi/host0/bus0/target0/lun0/disc /media/usb

It may also be the size of the flash that's causing the problem.

I think the max is 1Gb or 2Gb, I'm not 100%, I'll try and find out.
 
Last edited:
Can you post the actual output and the error, what you've written is useless to us.

Have a look round your box in FTP and try and find a usb folder. There might also be a 'cf' and 'hdd' folder in the same directory. Let us know where it is if you find it.
 
media/usb/
media/hdd
media/cf


OpenDreambox 1.5.0 dm7025

dm7025 login: root
root@dm7025:~# umount /media/usb
umount: /media/usb: Invalid argument
root@dm7025:~# mkfs.ext3 /dev/scsi/host0/bus0/target0/lun0/disc
mke2fs 1.38 (30-Jun-2005)
/dev/scsi/host0/bus0/target0/lun0/disc is entire device, not just one partition!
Proceed anyway? (y,n) y
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
125440 inodes, 250834 blocks
12541 blocks (5.00%) reserved for the super user
First data block=0
8 block groups
32768 blocks per group, 32768 fragments per group
15680 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376

Writing inode tables: done
Creating journal (4096 blocks): done
Writing superblocks and filesystem accounting information: done

This filesystem will be automatically checked every 25 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
root@dm7025:~# mount -t ext3 /dev/scsi/host0/bus0/target0/lun0/disc /media/usb
mount: Mounting /dev/scsi/host0/bus0/target0/lun0/disc on /media/usb failed: Invalid argument
root@dm7025:~#
 
Okay, you may need to partition the usb drive first. I don't have a dreambox, but I'd have thought there's either an 'fdisk' or 'parted' command. Try the following:
Code:
You don't have permission to view the code content. Log in or register now.
or
Code:
You don't have permission to view the code content. Log in or register now.

If either of these works, you'll be given various options for creating partitions. You want to make one partition spanning the whole disk.

In fdisk, type 'm' for a list of commands. Then 'p' to print the partitions currently on the disk. There'll probably not be any partitions on the disk. Next, type 'n' to create a new partition. Then 'p' for a primary partition, and you can then accept the defaults (which will fill up the drive with the partition). Finally, type 'w' and press return to write the new partition to the disk.

If fdisk doesn;t work, then you'll need to try parted. The commands will be:
p - to print the current table
mkpart - to start creating a partition. Again, create a primary partition, starting at 0, and ending at the default (which I think is the fulll disk). If it asks for a filesystem type, enter 'ext3'.


Hopefully one of the above commands will work. Post back when you've done this.

Good luck
 
Last edited:
fdisk does not work



OpenDreambox 1.5.0 dm7025

dm7025 login: root
root@dm7025:~# dmesg /dev/scsi/host0/bus0/target0/lun0/disc
BusyBox v1.01 (2007.07.06-19:45+0000) multi-call binary

Usage: dmesg [-c] [-n LEVEL] [-s SIZE]

Prints or controls the kernel ring buffer

Options:
-c Clears the ring buffer's contents after printing
-n LEVEL Sets console logging level
-s SIZE Use a buffer of size SIZE

root@dm7025:~#

I am stuck now

how do i enter the commands p and mkpart?
 
Sorry mate, my fault (I'm a bit tipsy after christmas shopping). I meant 'parted' not 'dmesg' :(. I'm sure we can get through this. As a final resort, you can plug the usb drive into a windows machine and format it as FAT32. That should still work, and will at least create a partition.

edit: I;ve just had a look at the tuxbox source, and as far as I can tell, you won't have parted either :(. Can you put the drive in a windows machine? If so, try and format it with FAT32. If you can't format directly, go to Control Panel -> Admin tools -> Computer management. You should be able to partition from in there.
 
Last edited:
parted - not found

I have formated the usb drive through windows FAT 32

instructions please on how to proceed
 
Cool, sorry I was editing my previous reply.

Okay, first thing to try is just plug the drive in and type 'dmesg'. This time I do mean 'dmesg'. This will hopefully show what partitions linux has detected. (Post the last 20 or so lines of output). What you should see is something about '/dev/scsi/host0/bus0/target0/lun0/disc', and a little lower there'll hopefully be lines about '/dev/scsi/host0/bus0/target0/lun0/disc1'. This is the partition that's been detected. Post the output and we'll go from there.
 
I thought I would post the lot just incase you needed something else


OpenDreambox 1.5.0 dm7025

dm7025 login: root
root@dm7025:~# dmesg
usbmon: debugs is not available
ohci_hcd: 2004 Nov 08 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ohci_hcd 0000:00:14.2: PCI device 1002:4867 (ATI Technologies Inc)
ohci_hcd 0000:00:14.2: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:14.2: irq 2, io mem 0x10000000
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.01:USB HID core driver
i2c /dev entries driver
Advanced Linux Sound Architecture Driver Version 1.0.9rc2 (Thu Mar 24 10:33:39 2005 UTC).
ALSA device list:
No soundcards found.
pktgen v2.61: Packet Generator for packet performance testing.
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP established hash table entries: 4096 (order: 3, 32768 bytes)
TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
TCP: Hash tables configured (established 4096 bind 4096)
NET: Registered protocol family 1
NET: Registered protocol family 17
VFS: Mounted root (jffs2 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 140k freed
Warning: unable to open an initial console.
squashfs: version 3.2-r2 (2007/01/15) Phillip Lougher
squashfs: LZMA suppport for slax.org by jro
Registering unionfs 1.1.5
loop: loaded (max 8 devices)
Empty flash at 0x0151d3c8 ends at 0x0151d400
Algorithmics/MIPS FPU Emulator v1.5
fp: module license 'Proprietary' taints kernel.
read CA...
CA dump:
01 01 03
02 01 00
03 04 00 00 7a 70
04 06 00 09 34 1b ed c8
09 02 01 01
06 08 32 30 30 37 31 31 32 37
07 0f 37 42 32 37 30 33 30 30 30 30 33 31 33 34 34
08 01 01
ff 01 41
read DCA...dCA: not existent
error
lcd.o: LCD driver (KS0713) module
OLED detected.
4020332 ms:
191 ms: 40 Starting /etc/rcS.d/S00bootup...

183 ms: 4

73 ms: 8

221 ms: 12

73 ms: 16

FAT: bogus number of reserved sectors
VFS: Can't find a valid FAT filesystem on dev hda1.
kjournald starting. Commit interval 5 seconds
EXT3 FS on hda1, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
436 ms: 20

144 ms: 24

71 ms: 28

223 ms: 32

112 ms: 34

no bootloader defined videomode found, using PAL...
SYNC: old: 0 -> new: 1 (requested: 3)
SYNC: old: 0 -> new: 1 (requested: 3)
audio_j1_streamtype_set(0)
init ALSA!
i2c1: irq with inactive waitqueue
avs: attaching avs at 0x94 to adapter xilleon
no bootloader defined videomode found, using CVBS...
set input to 0
set sb to 2
set fb to 0
tsmux write 20
tsmux write 20
tsmux write 20
card init
CI removed...
smc->enable 40000
smc->enable 80000
SMCC card inserted
smc->enable 100000
autodetecting NIMs...
Found: Slot A, addr 42, ID: 04 (by CA)
Resetting Slot A
Found: Slot B, addr 42, ID: 04 (by CA)
Resetting Slot B
DVB: registering new adapter (xilleon).
DVB: registering frontend 0 (ST STV0299 DVB-S)...
DVB: registering frontend 0 (ST STV0299 DVB-S)...
registered framebuffer
1548 ms: 38

330 ms: 42

90 ms: 46

rfmod: INITed
188 ms: 50

446 ms: 52

state is idle, denying.
[pid_pcr_set] new filter for pcr (pid:0000, pipe:0)
[xilleon_pcr_check_pid] we have to use now an different index
MPEG: Sequence header!
MPEG: Sequence header!
set new stc
xilleon_audio_j1_stc_discontinuity
strange, state is not DECODING but we got END OF PICTURE. state is 3
[pid_pcr_set] new filter for pcr (pid:0000, pipe:0)
[xilleon_pcr_check_pid] nothing changed
1225 ms: 54

93 ms: 62

38 ms: 66

eth0: link up, 100Mbps, full-duplex, lpa 0x41E1
5452 ms: 70

39 ms: 78

39 ms: 79

29 ms: 80

67 ms: 82

3555 ms: 86

67 ms: 88

91 ms: 90

92 ms: 92

Installing knfsd (copyright (C) 1996 [email protected]).
2029 ms: 94

141 ms: =s

1279 ms: 70 Starting /etc/rcS.d/S40networking...

140 ms: =s

637 ms: 100 Starting /etc/rcS.d/S98configure...

state is idle, denying.
[pid_pcr_set] new filter for pcr (pid:0000, pipe:0)
[xilleon_pcr_check_pid] nothing changed
MPEG: Sequence header!
set new stc
xilleon_audio_j1_stc_discontinuity
[pid_pcr_set] new filter for pcr (pid:0000, pipe:0)
[xilleon_pcr_check_pid] nothing changed
tsmux write 20
tsmux write 20
tsmux write 20
lnbp initialized
set sb to 4
set input to 0
set sb to 4
scale_brightness: 15
tuner freq is 1052000
symbolrate is 22000000
inversion is OFF
clock pulling from pipe 0![pid_pcr_set] new filter for pcr (pid:1450, pipe:0)
SYNC: old: 1 -> new: 0 (requested: 3)
SYNC: old: 1 -> new: 0 (requested: 3)
[pid_pcr_set] same as video
[xilleon_pcr_check_pid] we have to use now an different index
[pid_pcr_set] same as video
[xilleon_pcr_check_pid] nothing changed
audio_j1_streamtype_set(2)
SYNC: old: 0 -> new: 1 (requested: 3)
pcr extracted on pipe0, unit0!
SYNC: old: 1 -> new: 3 (requested: 3)
SYNC: old: 0 -> new: 3 (requested: 3)
PCR is soo far away that we cannot recover with clock pulling.
[AUDIO] enable sync
MPEG: Sequence header!
set sb to 4
SYNC: old: 3 -> new: 2 (requested: 2)
usb 1-1: new full speed USB device using ohci_hcd and address 2
scsi0 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
Vendor: Kingston Model: DataTraveler 2.0 Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
SCSI device sda: 1952256 512-byte hdwr sectors (1000 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
SCSI device sda: 1952256 512-byte hdwr sectors (1000 MB)
sda: Write Protect is off
sda: Mode Sense: 03 00 00 00
sda: assuming drive cache: write through
/dev/scsi/host0/bus0/target0/lun0: unknown partition table
Attached scsi removable disk sda at scsi0, channel 0, id 0, lun 0
usb-storage: device scan complete
pcr disable (0:0)
SYNC: old: 2 -> new: 1 (requested: 2)
SYNC: old: 3 -> new: 1 (requested: 3)
state is idle, denying.
AUDIO_CLEAR_BUFFER
tuner freq is 1023000
symbolrate is 22000000
inversion is OFF
clock pulling from pipe 0![pid_pcr_set] new filter for pcr (pid:1388, pipe:0)
SYNC: old: 1 -> new: 0 (requested: 2)
SYNC: old: 1 -> new: 0 (requested: 3)
[pid_pcr_set] same as video
[xilleon_pcr_check_pid] we have to use now an different index
[pid_pcr_set] same as video
[xilleon_pcr_check_pid] nothing changed
audio_j1_streamtype_set(2)
SYNC: old: 0 -> new: 1 (requested: 3)
pcr extracted on pipe0, unit0!
SYNC: old: 1 -> new: 3 (requested: 3)
SYNC: old: 0 -> new: 3 (requested: 3)
PCR is soo far away that we cannot recover with clock pulling.
MPEG: Sequence header!
[AUDIO] enable sync
SYNC: old: 3 -> new: 2 (requested: 2)
pcr disable (0:0)
SYNC: old: 2 -> new: 1 (requested: 2)
SYNC: old: 3 -> new: 1 (requested: 3)
state is idle, denying.
AUDIO_CLEAR_BUFFER
tuner freq is 1052000
symbolrate is 22000000
inversion is OFF
clock pulling from pipe 0![pid_pcr_set] new filter for pcr (pid:14b4, pipe:0)
SYNC: old: 1 -> new: 0 (requested: 2)
SYNC: old: 1 -> new: 0 (requested: 3)
[pid_pcr_set] same as video
[xilleon_pcr_check_pid] we have to use now an different index
[pid_pcr_set] same as video
[xilleon_pcr_check_pid] nothing changed
audio_j1_streamtype_set(2)
SYNC: old: 0 -> new: 1 (requested: 3)
pcr extracted on pipe0, unit0!
SYNC: old: 1 -> new: 3 (requested: 3)
SYNC: old: 0 -> new: 3 (requested: 3)
PCR is soo far away that we cannot recover with clock pulling.
MPEG: Sequence header!
set sb to 4
[AUDIO] enable sync
SYNC: old: 3 -> new: 2 (requested: 2)
root@dm7025:~#
 
root@dm7025:~# mount
/dev/root on /boot type jffs2 (ro,noatime)
/dev/mtdblock/3 on /boot/mnt/flash type jffs2 (rw,noatime)
/dev/loop/0 on /boot/mnt/squashfs type squashfs (ro)
none on / type unionfs (rw,dirs=/boot/mnt/flash/delta=rw:/boot/mnt/squashfs=ro,debug=0,delete=whiteout,copyup=preserve)
none on /dev type devfs (rw)
proc on /proc type proc (rw,nodiratime)
sysfs on /sys type sysfs (rw)
devpts on /dev/pts type devpts (rw)
tmpfs on /var type tmpfs (rw)
tmpfs on /tmp type tmpfs (rw)
/dev/ide/host0/bus0/target0/lun0/part1 on /media/hdd type ext3 (rw)
root@dm7025:~#
 
Back
Top