Jump to content


Photo

E2 crash mounting NTFS USB disk (since kernel 3.3.x)

CT9100

  • Please log in to reply
5 replies to this topic

#1 ambrosa

  • Senior Member
  • 161 posts

+35
Good

Posted 5 May 2012 - 15:31

Hi guys.

I've some USB 500GB 2.5" external HDD full of MKV video.
Till one month ago I had no problem: I connect them to frontal USB and they works fine. Kernel 3.2.x

For last month I've not used any external USB HDD.
Some days ago I've upgraded my CT9100 to Kernel 3.3.x and yesterday evening I've done another upgrade session, so my CT9100 is freshly updated.
This afternoon I connect an USB disk and E2 crash....

1) I connect USB disk and, after 10-15 sec. , screen show spinner and E2 is crashed (no response from remote control)

Connecting with SSH to CT9100 I see:

2) disk looks to be mounted correctly
root@et9x00:~# mount
rootfs on / type rootfs (rw)
ubi0:rootfs on / type ubifs (rw,relatime)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
tmpfs on /media type tmpfs (rw,relatime,size=64k)
tmpfs on /dev type tmpfs (rw,relatime,size=64k,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
/dev/sda1 on /media/usb type ext4 (rw,relatime,barrier=1)
/dev/sdb1 on /media/hdd type ext4 (rw,relatime,barrier=1,data=ordered)
usbfs on /proc/bus/usb type usbfs (rw,relatime)
tmpfs on /var/volatile type tmpfs (rw,relatime)
/dev/sdc1 on /media/sdc1 type fuseblk (rw,nosuid,nodev,relatime,user_id=0,group_id=0,allow_other,blksize=4096)


3) dmesg looks fine, no problem
usb 2-1.1: new high-speed USB device number 4 using ehci-brcm
scsi3 : usb-storage 2-1.1:1.0
scsi 3:0:0:0: Direct-Access Packard Bell Go PQ: 0 ANSI: 2 CCS
sd 3:0:0:0: [sdc] 976773120 512-byte logical blocks: (500 GB/465 GiB)
sd 3:0:0:0: [sdc] Write Protect is off
sd 3:0:0:0: [sdc] Mode Sense: 28 00 00 00
sd 3:0:0:0: [sdc] No Caching mode page present
sd 3:0:0:0: [sdc] Assuming drive cache: write through
sd 3:0:0:0: Attached scsi generic sg2 type 0
sd 3:0:0:0: [sdc] No Caching mode page present
sd 3:0:0:0: [sdc] Assuming drive cache: write through
sdc: sdc1
sd 3:0:0:0: [sdc] No Caching mode page present
sd 3:0:0:0: [sdc] Assuming drive cache: write through
sd 3:0:0:0: [sdc] Attached SCSI disk

4) there is a process (sleep state) involving ntfs
500 root 3156 S mount.ntfs-3g /dev/sdc1 /media/sdc1

5) If I try
root@et9x00:~# ls /media/sdc1
nothing happen: 'ls' command is freezed as it cannot access to disk.


I must remove USB disk connector and poweroff-on my STB


I've tried 3 different HDD model without any success, all with NTFS format.
In my Kubuntu system and in my Win7 system they work great without problem.


Something strange happen with upgrade to kernel 3.3.x (from 3.2.x)....
STB: Clarke Tech ET9100
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)

Re: E2 crash mounting NTFS USB disk (since kernel 3.3.x) #2 MiLo

  • PLi® Core member
  • 14,042 posts

+298
Excellent

Posted 5 May 2012 - 15:38

NTFS-3g is broken on 3.3.

opkg remove ntfs-3g
opkg install kernel-module-ntfs

And reboot. NTFS will be read-only then, though.
Real musicians never die - they just decompose

Re: E2 crash mounting NTFS USB disk (since kernel 3.3.x) #3 ambrosa

  • Senior Member
  • 161 posts

+35
Good

Posted 5 May 2012 - 15:44

root@et9x00:~# opkg remove ntfs-3g
No packages removed.
Collected errors:
* print_dependents_warning: Package ntfs-3g is depended upon by packages:
* print_dependents_warning: task-machine-base


Can I also remove "task-machine-base" or I need to force remove only ntfs-3g ?
STB: Clarke Tech ET9100
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)

Re: E2 crash mounting NTFS USB disk (since kernel 3.3.x) #4 MiLo

  • PLi® Core member
  • 14,042 posts

+298
Excellent

Posted 5 May 2012 - 15:50

Force remove ntfs-3g (you kinda need task-machine-base)
Real musicians never die - they just decompose

Re: E2 crash mounting NTFS USB disk (since kernel 3.3.x) #5 ambrosa

  • Senior Member
  • 161 posts

+35
Good

Posted 5 May 2012 - 16:07

Done:

opkg remove --force-depends ntfs-3g
opkg install kernel-module-ntfs

and reboot

but it doesn't work.

When I insert a NTFS disk, dmesg shows problem and disk is not mounted:

usb 2-1.1: new high-speed USB device number 5 using ehci-brcm
scsi4 : usb-storage 2-1.1:1.0
scsi 4:0:0:0: Direct-Access Packard Bell Go PQ: 0 ANSI: 2 CCS
sd 4:0:0:0: [sdc] 976773120 512-byte logical blocks: (500 GB/465 GiB)
sd 4:0:0:0: [sdc] Write Protect is off
sd 4:0:0:0: [sdc] Mode Sense: 28 00 00 00
sd 4:0:0:0: [sdc] No Caching mode page present
sd 4:0:0:0: [sdc] Assuming drive cache: write through
sd 4:0:0:0: [sdc] No Caching mode page present
sd 4:0:0:0: [sdc] Assuming drive cache: write through
sd 4:0:0:0: Attached scsi generic sg2 type 0
sdc: sdc1
sd 4:0:0:0: [sdc] No Caching mode page present
sd 4:0:0:0: [sdc] Assuming drive cache: write through
sd 4:0:0:0: [sdc] Attached SCSI disk
mount: sending ioctl 5310 to a partition!
mount: sending ioctl 5310 to a partition!
mount: sending ioctl 5310 to a partition!
mount: sending ioctl 5310 to a partition!
mount: sending ioctl 5310 to a partition!
mount: sending ioctl 5310 to a partition!
mount: sending ioctl 5310 to a partition!
mount: sending ioctl 5310 to a partition!
mount: sending ioctl 5395 to a partition!
mount: sending ioctl 5395 to a partition!
UDF-fs: warning (device sdc1): udf_fill_super: No partition found (1)



'lsmod' doesn't list ntfs module loaded but module is present in lib/modules tree:
root@et9x00:/etc/modutils# ls -la /lib/modules/3.3.0/kernel/fs/ntfs/
drwxr-xr-x 2 root root 224 May 5 16:45 .
drwxr-xr-x 3 root root 224 May 5 16:45 ..
-rw-r--r-- 1 root root 178176 May 2 02:07 ntfs.ko


So I've manual loaded ntfs module with 'modprobe ntfs' and now lsmod show it
root@et9x00:/etc/modutils# lsmod
Module Size Used by
ntfs 115324 0

...


I've retried and now HDD works. In read-only mode but it's ok for my needs.

So I've created an entry in /etc/modutils
echo "ntfs" > /etc/modutils/ntfs
update-modules

And now all is fine even after reboot (ntfs module is loaded).

Do you need some changes in "kernel-module-ntfs" and add above ?
STB: Clarke Tech ET9100
Mass storage: internal SATA-II HDD 1TB WD10EACS GreenPower 5400rpm
Mass storage: external USB pen drive 2GB
Firmware: OpenPLi kernel 3.x.x
Tuner A: AVL2108 (DVB-S2) HotBird 13E
Tuner B: AVL2108 (DVB-S2) HotBird 13E
Tuner C: AverMedia A867 (DVB-T HD) (AF9035 + MXL5007T)
TV: plasma PANASONIC GT30 fullHD
Audio: PCM through HDMI (no Dolby decoder)

Re: E2 crash mounting NTFS USB disk (since kernel 3.3.x) #6 Dimitrij

  • PLi® Core member
  • 9,964 posts

+334
Excellent

Posted 5 May 2012 - 16:58

/etc/filesystems
fat
vfat
ext4
ext3
ext2
ntfs
*

GigaBlue UHD Quad 4K /Lunix3-4K/Solo 4K




Also tagged with one or more of these keywords: CT9100

1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users