All times are UTC-06:00




Post new topic  Reply to topic  [ 14 posts ] 
Author Message
PostPosted: Wed Aug 01, 2012 4:34 pm 
Offline

Joined: Wed Jul 01, 2009 4:35 pm
Posts: 94
Location: Italy
I have made the update of debian armhf unstable for Efika Mx,
and after that I have installed the
Code:
linux-image-2.6.31.14.27-efikamx_33456102+sdmafix_armhf.deb
and
Code:
linux-headers-2.6.31.14.27-efikamx_33456102+sdmafix_armhf.deb
everythings work good except that it doesn't permit to mount usb storage and sd card any more.

I have tried even installing the last kernel :
Code:
linux-headers-2.6.31.14.27-efikamx_33456102+sdmafixandblfix_armhf.deb
and
Code:
linux-image-2.6.31.14.27-efikamx_33456102+sdmafixandblfix_armhf.deb
and the result was worst , the wifi simply doesn't work and looking at dmesg when I switch on the wifi dmesg show wifi switched off ,and when I switch off it show switched on...

dmesg output when I plug the usb storage:
Code:
[ 276.902075] mmc1: new high speed SDHC card at address b368
[ 276.918190] mmcblk0: mmc1:b368 00000 7.51 GiB
[ 276.922918] mmcblk0: p1
[ 300.209965] 0x1300 = 000a4200
[ 304.331049] 0x1300 = 000a4200
[ 307.714139] 0x1300 = 000a4200
[ 309.534245] 0x1300 = 000a4200
[ 320.513093] wlan0: no IPv6 routers present
[ 344.515975] Unable to handle kernel NULL pointer dereference at virtual address 00000004
[ 344.524655] pgd = 9a278000
[ 344.527488] [00000004] *pgd=aa0b1031, *pte=00000000, *ppte=00000000
[ 344.533944] Internal error: Oops: 17 [#1]
[ 344.537955] Modules linked in: vfat fat ipv6 fuse ramzswap(C) lzo_compress lzo_decompress snd_soc_imx_3stack_sgtl5000 snd_soc_imx_ssi snd_soc_imx gpu mtdchar m25p80 mtd uvcvideo btusb bluetooth rfkill rt2870sta(C) sbs snd_soc_sgtl5000 usbhid hid ehci_hcd usbcore [last unloaded: scsi_wait_scan]
[ 344.564250] CPU: 0 Tainted: G C (2.6.31.14.27-efikamx #1)
[ 344.570752] PC is at fat_fill_super+0xf0/0xcc4 [fat]
[ 344.575724] LR is at 0x0
[ 344.578263] pc : [<7f1b6ae0>] lr : [<00000000>] psr: a0000013
[ 344.578270] sp : 9a0bbda8 ip : 00000000 fp : 9a0bbe4c
[ 344.589761] r10: 00000001 r9 : 7f1b69f0 r8 : 00000000
[ 344.594991] r7 : 98ca6e00 r6 : 00000800 r5 : 98c5a040 r4 : 98c5a000
[ 344.601525] r3 : 9a0ba000 r2 : 00000000 r1 : 7f1c4a94 r0 : 9a0bbda8
[ 344.608060] Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
[ 344.615203] Control: 10c5387d Table: aa278019 DAC: 00000015
[ 344.620955] Process mount (pid: 3168, stack limit = 0x9a0ba2f0)
[ 344.626880] Stack: (0x9a0bbda8 to 0x9a0bc000)
[ 344.631239] bda0: 801aba14 801a9db4 00000010 00000002 7f1c4a94 0000000a
[ 344.639600] bdc0: ffffffff 9a0b0000 00000020 803c83b3 00000010 00000002 ffffffff 0000000a
[ 344.647961] bde0: ffffffff ffffffff 940e28d0 9a0bbe70 98d2fa0c 98d2fa00 00000001 940e28dc
[ 344.656322] be00: 9a177000 9a0b0000 9a0bbe2c 9a0bbe18 801abb08 801ab6d4 9a0b0000 9a0bbe34
[ 344.664684] be20: 9a0bbe5c 98ca6e00 00000003 00000000 98ca6e00 940e28dc 9a177000 9a0b0000
[ 344.673044] be40: 9a0bbe6c 9a0bbe50 7f1c4a10 7f1b69fc 00000001 800ee82c 940e28c0 940e28c0
[ 344.681406] be60: 9a0bbeb4 9a0bbe70 800ca96c 7f1c49f8 62636d6d 70306b6c 9a050031 000000d0
[ 344.689766] be80: 7f1c5998 9a17d220 9a17d220 800b167c 9a2b5880 9a057000 9a0b0000 00000000
[ 344.698128] bea0: 7f1c5998 9a0b0000 9a0bbecc 9a0bbeb8 7f1c31d0 800ca87c 7f1c49ec 9a2b5880
[ 344.706488] bec0: 9a0bbefc 9a0bbed0 800c99a0 7f1c31b8 9a2b5880 9a0bbee0 800dc110 7f1c5998
[ 344.714848] bee0: 9a177000 9a0b0000 9a057000 00000000 9a0bbf24 9a0bbf00 800c9a4c 800c9954
[ 344.723209] bf00: 9a0b0000 00000000 00000023 9a057000 00000006 00000000 9a0bbf6c 9a0bbf28
[ 344.731571] bf20: 800deca8 800c9a1c 9a0bbf44 9a0bbf38 800a6730 800a61b0 9897e880 93556e80
[ 344.739931] bf40: 800dd2cc 98257000 000221d8 c0ed0006 00000000 8002d084 9a0ba000 000221d8
[ 344.748292] bf60: 9a0bbfa4 9a0bbf70 800ded9c 800de69c 9a0b0000 987a5240 9a03b880 9a057000
[ 344.756653] bf80: 9a177000 9a0b0000 00022278 00020548 c0ed0006 00000015 00000000 9a0bbfa8
[ 344.765014] bfa0: 8002cf00 800ded1c 00022278 00020548 000221d8 000221f0 00022208 c0ed0006
[ 344.773374] bfc0: 00022278 00020548 c0ed0006 00000015 00000000 00000006 000221d8 00000000
[ 344.781735] bfe0: 7ee8bb28 7ee8b98c 0000c197 2ac13bc4 80000010 000221d8 908fb021 908fb421
[ 344.790118] [<7f1b6ae0>] (fat_fill_super+0xf0/0xcc4 [fat]) from [<7f1c4a10>] (vfat_fill_super+0x24/0x5c [vfat])
[ 344.800285] [<7f1c4a10>] (vfat_fill_super+0x24/0x5c [vfat]) from [<800ca96c>] (get_sb_bdev+0xfc/0x158)
[ 344.809656] [<800ca96c>] (get_sb_bdev+0xfc/0x158) from [<7f1c31d0>] (vfat_get_sb+0x24/0x30 [vfat])
[ 344.818664] [<7f1c31d0>] (vfat_get_sb+0x24/0x30 [vfat]) from [<800c99a0>] (vfs_kern_mount+0x58/0xa8)
[ 344.827845] [<800c99a0>] (vfs_kern_mount+0x58/0xa8) from [<800c9a4c>] (do_kern_mount+0x3c/0xe0)
[ 344.836589] [<800c9a4c>] (do_kern_mount+0x3c/0xe0) from [<800deca8>] (do_mount+0x618/0x680)
[ 344.844992] [<800deca8>] (do_mount+0x618/0x680) from [<800ded9c>] (sys_mount+0x8c/0xd4)
[ 344.853039] [<800ded9c>] (sys_mount+0x8c/0xd4) from [<8002cf00>] (ret_fast_syscall+0x0/0x2c)
[ 344.861531] Code: e3c3303f e5841064 e593200c e59221ac (e5922004)
[ 344.868847] ---[ end trace 37101c86c0a9c82b ]---
So now I must try reinstalling the kernel without fix to check if the OS will be able again to correctly mount the usb storage.

_________________
http://deliriotecnologico.blogspot.com


Last edited by robyinno on Fri Aug 31, 2012 9:10 am, edited 4 times in total.

Top
   
PostPosted: Wed Aug 01, 2012 5:10 pm 
Offline

Joined: Sun Mar 27, 2011 1:18 pm
Posts: 183
Location: Hornell, NY
I can't reproduce this on my end. does the root fs get mounted at all? or basically noting USB including the keyboard works?

it's possible you ran into the same problem as with this recent post here. Try that fix and let me know how it works out. http://www.powerdeveloper.org/forums/vi ... hp?p=16600


Top
   
PostPosted: Wed Aug 01, 2012 6:27 pm 
Offline

Joined: Wed Jul 01, 2009 4:35 pm
Posts: 94
Location: Italy
I have updated my post with more info, before I have read your answer.
I have even installed the older kernel with a worst result.
I have tried with the sed on udev as you have suggested , but after that some start to happen that some time the keyboard on startup doesn't work.
The sd or usb storage that doesn't mount are fat type, the ext4 type mount perfectly.
Quote:
I can't reproduce this on my end. does the root fs get mounted at all? or basically noting USB including the keyboard works?

it's possible you ran into the same problem as with this recent post here. Try that fix and let me know how it works out. http://www.powerdeveloper.org/forums/vi ... hp?p=16600

_________________
http://deliriotecnologico.blogspot.com


Top
   
PostPosted: Wed Aug 01, 2012 9:39 pm 
Offline

Joined: Sun Mar 27, 2011 1:18 pm
Posts: 183
Location: Hornell, NY
I just built a new armhf SD card using the install-armhf script located at http://github.com/wschaub/install-armhf I'm booted off of it now on my smartbook and I'm not encountering any of the problems you are reporting. Including when mounting a FAT formatted USB drive.

I think the best option at this point would likely be to just use the install-armhf script to start over after backing up any data using a working image.

http://library.powerdeveloper.net/index.php/Debian should have information on using my install-armhf script.


Top
   
PostPosted: Fri Aug 03, 2012 2:15 am 
Offline

Joined: Wed Jul 01, 2009 4:35 pm
Posts: 94
Location: Italy
Today will I install it! and I will update the thread.
Thanks
Quote:
I just built a new armhf SD card using the install-armhf script located at http://github.com/wschaub/install-armhf I'm booted off of it now on my smartbook and I'm not encountering any of the problems you are reporting. Including when mounting a FAT formatted USB drive.

I think the best option at this point would likely be to just use the install-armhf script to start over after backing up any data using a working image.

http://library.powerdeveloper.net/index.php/Debian should have information on using my install-armhf script.

_________________
http://deliriotecnologico.blogspot.com


Top
   
PostPosted: Fri Aug 03, 2012 4:13 pm 
Offline

Joined: Sun Mar 27, 2011 1:18 pm
Posts: 183
Location: Hornell, NY
Just in case you already tried it (and failed) I just pushed a new commit to the git tree for install-armhf that fixes building on squeeze and older images.


Top
   
PostPosted: Sat Aug 04, 2012 3:11 am 
Offline

Joined: Wed Jul 01, 2009 4:35 pm
Posts: 94
Location: Italy
The "problem" that I have met is that I have found that squeeze desktop-efikamx20120526.img.xz is a an image file to put directly to the ssd or in my case I have mount with the loopset on a directory , after that I have put inside the install-armhf.sh with git clone and after that I have launched that script, but after the installation is ended and I have restarted only debian without X starts.
Quote:
Just in case you already tried it (and failed) I just pushed a new commit to the git tree for install-armhf that fixes building on squeeze and older images.

_________________
http://deliriotecnologico.blogspot.com


Top
   
PostPosted: Sun Aug 05, 2012 8:34 pm 
Offline

Joined: Sun Mar 27, 2011 1:18 pm
Posts: 183
Location: Hornell, NY
http://steubentech.com/~talon/Efika-MX/ ... exp.img.xz should boot directly into an up to date armhf image I just made today. It's not the final one I will be putting out soon but it should work just fine and have all the fancy gpu stuff installed. There is a compat-wireless .deb in efika's home directory as well in case you need it. just log in as efikia and use efika as the password and you should be all set.


Top
   
PostPosted: Wed Aug 22, 2012 3:34 pm 
Offline

Joined: Wed Jul 01, 2009 4:35 pm
Posts: 94
Location: Italy
I will come back from holiday on 25th August, so then I will try your new image.
Thanks Again!
Quote:
http://steubentech.com/~talon/Efika-MX/ ... exp.img.xz should boot directly into an up to date armhf image I just made today. It's not the final one I will be putting out soon but it should work just fine and have all the fancy gpu stuff installed. There is a compat-wireless .deb in efika's home directory as well in case you need it. just log in as efikia and use efika as the password and you should be all set.

_________________
http://deliriotecnologico.blogspot.com


Top
   
PostPosted: Sat Aug 25, 2012 6:03 pm 
Offline

Joined: Wed Jul 01, 2009 4:35 pm
Posts: 94
Location: Italy
I have downloaded your suggested image put on sd ( with unxz and dd ) and boot my smartbook with the sd, connected to the network
I have make
Code:
sudo -s
with the password efika to have the root permissions then:
I have installed git
Code:
apt-get install git
then I have launched
Code:
git clone git://github.com/wschaub/install-armhf.git
for download the last version of install-armhf;
then I have installed the needed pakages:
Code:
apt-get -u install debootstrap parted pv
After that I have write
Code:
cd install-armhf
and then launched
Code:
./install-armhf.sh ssd /dev/sda
for start the installation on smartbook ssd.
During the installation it ask me the password for root and the name and password to create.
When I reboot the OS work perfectly!
And the OS mount nicely usb storage!
Quote:
http://steubentech.com/~talon/Efika-MX/ ... exp.img.xz should boot directly into an up to date armhf image I just made today. It's not the final one I will be putting out soon but it should work just fine and have all the fancy gpu stuff installed. There is a compat-wireless .deb in efika's home directory as well in case you need it. just log in as efikia and use efika as the password and you should be all set.

_________________
http://deliriotecnologico.blogspot.com


Top
   
PostPosted: Fri Aug 31, 2012 7:57 am 
Offline

Joined: Wed Jul 01, 2009 4:35 pm
Posts: 94
Location: Italy
Now look like working "out of the box" , without any other actions, that's very fine!

Remain a problem, after going in suspend mode , when it come back the keyboard and touchpad are not working, even if I attach via usb a mouse.
With mplayer ( and it's gui) I can play video fast, but without resize on full display. Where I'm able to resize it goes slow.


But if I install the imx-essential using the steps on chapter to "Add 2D/3D drivers, suspend, brightness regulation" of this wiki http://library.powerdeveloper.net/index.php/Debian i lost the possibility to watch videos with any players ( vlc, xine, totem, mplayer, etc...)

For investigate on the suspend problem here a piece of messages log.
Code:
Aug 31 14:44:24 efikamx kernel: [ 249.660065] Freezing user space processes ... (elapsed 0.00 seconds) done.
Aug 31 14:44:24 efikamx kernel: [ 249.670150] Freezing remaining freezable tasks ... (elapsed 0.00 seconds) done.
Aug 31 14:44:24 efikamx kernel: [ 249.677912] Suspending console(s) (use no_console_suspend to debug)
Aug 31 14:44:24 efikamx kernel: [ 250.412332] sd 0:0:0:0: [sda] Stopping disk
Aug 31 14:44:24 efikamx kernel: [ 250.792231] USB Host suspended
Aug 31 14:44:24 efikamx kernel: [ 250.792246] USB Host suspended
Aug 31 14:44:24 efikamx kernel: [ 250.792256] USB Host suspended
Aug 31 14:44:24 efikamx kernel: [ 250.805428] IPU DMFC DP HIGH RESOLUTION: 1(0,1), 5B(2~5), 5F(6,7)
Aug 31 14:44:24 efikamx kernel: [ 250.805745] mxc_ipu mxc_ipu: Channel already disabled 9
Aug 31 14:44:24 efikamx kernel: [ 250.805756] mxc_ipu mxc_ipu: Channel already uninitialized 9
Aug 31 14:44:24 efikamx kernel: [ 250.823713] USB Host resumed
Aug 31 14:44:24 efikamx kernel: [ 250.823725] USB Host resumed
Aug 31 14:44:24 efikamx kernel: [ 250.823745] USB Host resumed
Aug 31 14:44:24 efikamx kernel: [ 251.021767] ata1.00: configured for UDMA/44
Aug 31 14:44:24 efikamx kernel: [ 251.407576] sd 0:0:0:0: [sda] Starting disk
Aug 31 14:44:24 efikamx kernel: [ 251.867520] usb 2-1: reset high speed USB device using fsl-ehci and address 2
Aug 31 14:44:24 efikamx kernel: [ 252.117509] usb 3-1: reset high speed USB device using fsl-ehci and address 2
Aug 31 14:44:24 efikamx kernel: [ 252.310588] Restarting tasks ...
Aug 31 14:44:24 efikamx kernel: [ 252.314443] usb 2-1: USB disconnect, address 2
Aug 31 14:44:24 efikamx kernel: [ 252.319194] usb 2-1.1: USB disconnect, address 3
Aug 31 14:44:24 efikamx kernel: [ 252.325790] usb 2-1.2: USB disconnect, address 4
Aug 31 14:44:24 efikamx kernel: [ 252.330840] RtmpOSNetDevDetach(): RtmpOSNetDeviceDetach(), dev->name=wlan0!
Aug 31 14:44:24 efikamx kernel: [ 252.526413] done.
Aug 31 14:44:24 efikamx kernel: [ 252.917615] usb 2-1: new high speed USB device using fsl-ehci and address 5
Aug 31 14:44:24 efikamx kernel: [ 253.187664] usb 2-1: new high speed USB device using fsl-ehci and address 6
Aug 31 14:44:25 efikamx kernel: [ 253.447613] usb 2-1: new high speed USB device using fsl-ehci and address 7
Aug 31 14:44:25 efikamx kernel: [ 253.997526] usb 2-1: new high speed USB device using fsl-ehci and address 8
Aug 31 14:44:26 efikamx kernel: [ 254.439565] usb 3-1: USB disconnect, address 2
Aug 31 14:44:26 efikamx kernel: [ 254.444015] usb 3-1.1: USB disconnect, address 3
Aug 31 14:44:26 efikamx kernel: [ 254.449962] usb 3-1.2: USB disconnect, address 4
Aug 31 14:44:26 efikamx kernel: [ 254.567551] usb 3-1: new high speed USB device using fsl-ehci and address 5
Aug 31 14:44:26 efikamx kernel: [ 254.817519] usb 3-1: new high speed USB device using fsl-ehci and address 6
Aug 31 14:44:26 efikamx kernel: [ 255.067517] usb 3-1: new high speed USB device using fsl-ehci and address 7
Aug 31 14:44:27 efikamx kernel: [ 255.617674] usb 3-1: new high speed USB device using fsl-ehci and address 8
Aug 31 14:48:05 efikamx kernel: [ 473.469609] Efika MX: Power Key pressed 0
Aug 31 14:48:06 efikamx kernel: [ 474.665894] Efika MX: Power Key released 0
Quote:
I have downloaded your suggested image put on sd ( with unxz and dd ) and boot my smartbook with the sd, connected to the network
I have make
Code:
sudo -s
with the password efika to have the root permissions then:
I have installed git
Code:
apt-get install git
then I have launched
Code:
git clone git://github.com/wschaub/install-armhf.git
for download the last version of install-armhf;
then I have installed the needed pakages:
Code:
apt-get -u install debootstrap parted pv
After that I have write
Code:
cd install-armhf
and then launched
Code:
./install-armhf.sh ssd /dev/sda
for start the installation on smartbook ssd.
During the installation it ask me the password for root and the name and password to create.
When I reboot the OS work perfectly!
And the OS mount nicely usb storage!
Quote:
http://steubentech.com/~talon/Efika-MX/ ... exp.img.xz should boot directly into an up to date armhf image I just made today. It's not the final one I will be putting out soon but it should work just fine and have all the fancy gpu stuff installed. There is a compat-wireless .deb in efika's home directory as well in case you need it. just log in as efikia and use efika as the password and you should be all set.

_________________
http://deliriotecnologico.blogspot.com


Top
   
PostPosted: Fri Aug 31, 2012 12:03 pm 
Offline

Joined: Sun Mar 27, 2011 1:18 pm
Posts: 183
Location: Hornell, NY
I think I know what the suspend problem is. I'm writing the exp image to a spare SD card to test. I thought I had that fix as part of my install-armhf script.

as far as the video playback thing goes though. does xvinfo show anything after you have imx-essential installed?


Top
   
PostPosted: Fri Aug 31, 2012 4:08 pm 
Offline

Joined: Wed Jul 01, 2009 4:35 pm
Posts: 94
Location: Italy
I found what was needed to do,
after install imx-essential is needed to tell to xorg that must use imx drivers so , as was already descripted in an old post of Kostantinos, I have created the xorg.conf file on /etc/X11 folder,
with this contents:
Code:
Section "Module"
Load "extmod"
Disable "dbe"
# Disable "glx"
Disable "dri"
Disable "dri2"
EndSection

Section "Device"
Identifier "IMX"
Driver "imx"
Option "AccelMethod" "EXA"
Option "Backend" "Z160" # can be Z160/Z430
Option "Compositing" "off"
Option "XvBilinear" "on"
Option "XvDoubleBuffering" "off"
EndSection
Then I have restarted and now xvinfo si fine and the video plays perfeclty and even the imx animation demo are very fast!
Code:
xvinfo
X-Video Extension version 2.2
screen #0
Adaptor #0: "Freescale i.MX5x GPU (z160) Overlay Scaler"
number of ports: 4
port base: 62
operations supported: PutImage
supported visuals:
depth 16, visualID 0x21
number of attributes: 2
"XV_COLORKEY" (range 0 to 16777215)
client settable attribute
client gettable attribute (current value is -1)
"XV_SET_DEFAULTS" (range 0 to 0)
client settable attribute
maximum XvImage size: 2048 x 1024
Number of image formats: 5
id: 0x32315659 (YV12)
guid: 59563132-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x30323449 (I420)
guid: 49343230-0000-0010-8000-00aa00389b71
bits per pixel: 12
number of planes: 3
type: YUV (planar)
id: 0x32595559 (YUY2)
guid: 59555932-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x59565955 (UYVY)
guid: 55595659-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
id: 0x55595659 (YVYU)
guid: 59565955-0000-0010-8000-00aa00389b71
bits per pixel: 16
number of planes: 1
type: YUV (packed)
Quote:
as far as the video playback thing goes though. does xvinfo show anything after you have imx-essential installed?

_________________
http://deliriotecnologico.blogspot.com


Top
   
PostPosted: Sat Sep 01, 2012 3:28 pm 
Offline

Joined: Thu Aug 25, 2011 11:48 am
Posts: 7
I tried that xorg.conf on my system (an efika mx smartbook). Been trying to get *something* useful up and running for a while now. I have imx-essential installed as well. The video playback was a little better (unless you try to do more than one thing, then the whole video playback slows down to a crawl). The worst news though is that while it helps the video the sound gets badly distorted with VLC (mplayer dosen't seem to be affected) x.x

ljones


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 14 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 19 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
PowerDeveloper.org: Copyright © 2004-2012, Genesi USA, Inc. The Power Architecture and Power.org wordmarks and the Power and Power.org logos and related marks are trademarks and service marks licensed by Power.org.
All other names and trademarks used are property of their respective owners. Privacy Policy
Powered by phpBB® Forum Software © phpBB Group