PDA

View Full Version : Why my USB doesn't show in the Mount manager tool?



XabiX
11-11-12, 00:23
Hello,

when I plug my USB key, I see in var log messages:
Nov 10 23:06:16 gbquad user.info kernel: usb 3-1: new high speed USB device using ehci-brcm and address 2
Nov 10 23:06:16 gbquad user.info kernel: scsi3 : usb-storage 3-1:1.0
Nov 10 23:06:17 gbquad user.notice kernel: scsi 3:0:0:0: Direct-Access Kanguru FlashBlu PMAP PQ: 0 ANSI: 0 CCS
Nov 10 23:06:17 gbquad user.notice kernel: sd 3:0:0:0: Attached scsi generic sg0 type 0
Nov 10 23:06:18 gbquad user.notice kernel: sd 3:0:0:0: [sda] 31293440 512-byte logical blocks: (16.0 GB/14.9 GiB)
Nov 10 23:06:18 gbquad user.notice kernel: sd 3:0:0:0: [sda] Write Protect is off
Nov 10 23:06:18 gbquad user.debug kernel: sd 3:0:0:0: [sda] Mode Sense: 23 00 00 00
Nov 10 23:06:18 gbquad user.err kernel: sd 3:0:0:0: [sda] Assuming drive cache: write through
Nov 10 23:06:18 gbquad user.err kernel: sd 3:0:0:0: [sda] Assuming drive cache: write through
Nov 10 23:06:18 gbquad user.info kernel: sda: unknown partition table
Nov 10 23:06:18 gbquad user.err kernel: sd 3:0:0:0: [sda] Assuming drive cache: write through
Nov 10 23:06:18 gbquad user.notice kernel: sd 3:0:0:0: [sda] Attached SCSI removable disk
Nov 10 23:06:20 gbquad user.info kernel: EXT4-fs (sda): mounted filesystem with ordered data mode. Opts: (null)

but for some reason it doesn't show in Mount manager and therefore I can't configure is mounting config etc...

Is there a way to troubleshoot the issue or can I just modify the fstab or is there another config file to do so?

Many thanks
XabiX
(using the latest openvix release)

XabiX
12-11-12, 21:36
In general, is there a single config file that OpenVIX uses?
where we can check config like mout pts etc.. because I am not sure when you delete it from the interface, it really puts everything back to normal.

Thanks

Rob van der Does
13-11-12, 09:32
Please tell us on which image build your box is.
And please post etc/fstab

XabiX
13-11-12, 10:12
Hello,

Sure here it is:

box_type=gbquad
build_type=0
version=3.0
build=413
drivers=20121019
date=20121113010709
comment=ViX
target=9
creator=openViX
url=http://www.gigablue-support.co.uk
catalog=http://www.gigablue-support.co.uk

cat /etc/fstab

rootfs / auto defaults 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
usbdevfs /proc/bus/usb usbdevfs noauto 0 0
tmpfs /var/volatile tmpfs defaults 0 0
usbfs /proc/bus/usb usbfs defaults 0 0
UUID=1114621f-a3f4-41de-8862-11f0c228c94e /media/hdd auto defaults 0 0


and usb is correctly mounted (but doesn't show up in the Mount manager)

ls -l /media/

drwxrwxrwx 9 root root 36864 Nov 11 10:50 hdd
drwxr-xr-x 9 root root 4096 Nov 9 21:18 usb


/var/log/messages at reboot says:

Jan 1 01:00:29 gbquad user.notice kernel: scsi 2:0:0:0: Direct-Access Kanguru FlashBlu PMAP PQ: 0 ANSI: 0 CCS
Jan 1 01:00:29 gbquad user.notice kernel: sd 2:0:0:0: Attached scsi generic sg1 type 0
Jan 1 01:00:29 gbquad user.notice kernel: sd 2:0:0:0: [sdb] 31293440 512-byte logical blocks: (16.0 GB/14.9 GiB)
Jan 1 01:00:29 gbquad user.notice kernel: sd 2:0:0:0: [sdb] Write Protect is off
Jan 1 01:00:29 gbquad user.debug kernel: sd 2:0:0:0: [sdb] Mode Sense: 23 00 00 00
Jan 1 01:00:29 gbquad user.err kernel: sd 2:0:0:0: [sdb] Assuming drive cache: write through
Jan 1 01:00:29 gbquad user.err kernel: sd 2:0:0:0: [sdb] Assuming drive cache: write through
Jan 1 01:00:29 gbquad user.info kernel: sdb: unknown partition table
Jan 1 01:00:29 gbquad user.err kernel: sd 2:0:0:0: [sdb] Assuming drive cache: write through
Jan 1 01:00:29 gbquad user.notice kernel: sd 2:0:0:0: [sdb] Attached SCSI removable disk


but it works:

ls -l /media/usb/

-rw------- 1 root root 435 Nov 9 19:51 Oscam.sh
drwx------ 3 root root 4096 Nov 11 17:08 config
drwx------ 2 root root 4096 Nov 11 07:00 crossepg
drwx------ 5 root root 4096 Nov 9 19:51 easy
-rw------- 1 root root 8231874 Nov 9 20:14 epg.dat
-rw------- 1 root root 7060 Nov 9 19:51 list_smargo
drwxr-xr-x 2 root root 4096 Nov 9 20:14 logs
drwx------ 2 root root 16384 Nov 9 19:43 lost+found
drwxr-xr-x 2 root root 4096 Nov 9 20:17 timeshift
drwx------ 3 root root 4096 Nov 9 19:51 usr

Could it be about this sdb unknown partition comment? But what is strange is that the key works OK.

thanks

satnav
13-11-12, 11:35
I have had similar issue on my ultimo i.e. cant see usb to mount. Reformatting the usb stick on your PC to fat32 makes it visible or it did in my cases. Have you seen my post as other issue too.

http://www.world-of-satellite.com/showthread.php?23018-Usb-epg-issues-fix-is-format-ext4-not-fat32!

XabiX
13-11-12, 12:48
I have had similar issue on my ultimo i.e. cant see usb to mount. Reformatting the usb stick on your PC to fat32 makes it visible or it did in my cases. Have you seen my post as other issue too.

http://www.world-of-satellite.com/showthread.php?23018-Usb-epg-issues-fix-is-format-ext4-not-fat32!

Just read your thread but for timeshifting you can't have a FAT32 USB key.
So I am trying to solve the issue and stay in ext4.

I may just tweak the fstab myself but I was scared that other settings are store somewhere and that could conflict.

XabiX
13-11-12, 12:49
blkid

/dev/ubi0_0: UUID="efb3206d-a97e-4b7b-a305-a6b061f390eb" TYPE="ubifs"
/dev/sda1: LABEL="3To" UUID="1114621f-a3f4-41de-8862-11f0c228c94e" TYPE="ext4"
/dev/sdb: UUID="0e843820-ead2-4c2d-b53e-da8724078439" TYPE="ext4"

mount

rootfs on / type rootfs (rw)
ubi0:rootfs on / type ubifs (rw,relatime)
devtmpfs on /dev type devtmpfs (rw,relatime,size=286252k,nr_inodes=71563,mode=755 )
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /media type tmpfs (rw,relatime,size=64k)
/dev/sda1 on /media/hdd type ext4 (rw,relatime,barrier=1,data=ordered)
/dev/sdb on /media/usb type ext4 (rw,relatime,barrier=1,data=ordered)
devpts on /dev/pts type devpts (rw,relatime,gid=5,mode=620)
tmpfs on /var/volatile type tmpfs (rw,relatime)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)

XabiX
14-11-12, 17:16
FYI I have added a line manually in the fstab:
UUID=0e843820-ead2-4c2d-b53e-da8724078439 /media/usb auto defaults 0 0

I hope this will not interfere with Openvix Mount manager "config file".

Rob van der Does
14-11-12, 17:30
The Quad has an old kernel that doesn't support Ext4; so Ext3 should be used instead.

marty
14-11-12, 17:56
The Quad has an old kernel that doesn't support Ext4; so Ext3 should be used instead.

You 100% sure on that?
My 160GB internal and 1.5TB eSATA both are Ext4

20916

Rob van der Does
14-11-12, 17:58
Yes, that's 100% sure.

marty
14-11-12, 18:00
Yes, that's 100% sure.

Then I'm confused :confused::D mine clearly shows Ext4 :confused:

Larry-G
14-11-12, 18:02
I may be wrong but i believe the older kernel can not properly tell the difference and thats why it's showing it as a ext4 partition, as i said though i'm likely wrong.

marty
14-11-12, 18:07
I may be wrong but i believe the older kernel can not properly tell the difference and thats why it's showing it as a ext4 partition, as i said though i'm likely wrong.

I guess that explains it then :D
I just formated a USB key to Ext3 and the Quad says it is Ext4.

I suppose things will be alot better in general once Gigablue are able to update the kernel :thumbsup:

andyblac
14-11-12, 18:12
i have been told that ext4 has issues on quad, may work but not guaranteed,

XabiX
14-11-12, 18:59
Yes my 3To HW is ext4 and works great

blkid
/dev/ubi0_0: UUID="efb3206d-a97e-4b7b-a305-a6b061f390eb" TYPE="ubifs"
/dev/sda1: LABEL="3To" UUID="1114621f-a3f4-41de-8862-11f0c228c94e" TYPE="ext4"
/dev/sdb: UUID="0e843820-ead2-4c2d-b53e-da8724078439" TYPE="ext4"

the USB also works it just that is not being displayed and therefore configure from Mount manager