← Back to team overview

ubuntu-phone team mailing list archive

Re: Initrd for X86

 

OK, this is what i modified in scripts/panic/adbd

if [ -e /dev/console ]; then
        test1="11111111111"
else
        test1="BBBBBBBBBBBB"
fi

if [ -e /dev/mmcblk0p9 ]; then
        test2="222222222222"
else
        test2="333333333333"
fi

if [ -e /dev/block/mmcblk0p9 ]; then
        test3="444444444444"
else
        test3="555555555555"
fi


and the results are:

  iManufacturer           2 333333333333

  iProduct                3 555555555555

  iSerial                 4 11111111111

So /dev/console exists, but /dev/mmcblk0p9 and /dev/block/mmcblk0p9 dont
exists :(

There is something that i need to configure in udev? This is the
/proc/partitions in android:

root@android:/proc # cat partitions

major minor  #blocks  name

   7        0       2111 loop0
 179        0    3858432 mmcblk0
 179        1     131072 mmcblk0p1
 179        2      32768 mmcblk0p2
 179        3       8192 mmcblk0p3
 179        4       8192 mmcblk0p4
 179        5       8192 mmcblk0p5
 179        6     524288 mmcblk0p6
 179        7       8192 mmcblk0p7
 179        8     786432 mmcblk0p8
 179        9    2342895 mmcblk0p9
 179       40       8192 mmcblk0gp0
 179       30          4 mmcblk0rpmb
 179       20       2048 mmcblk0boot1
 179       10       2048 mmcblk0boot0
 179       50   15637504 mmcblk1
 253        0       2110 dm-0

Adbd still refuses to start or it starts and dont get the online status :(



---------------------------------------------------------------------------------------------
Que todos esos ceros y unos vayan directamente a tu mierdecilla de teléfono
inteligente y que cualquier inutil sea capaz de suscribirse en 12 segundos *no
es «magia», es sudor y talento.*



On Wed, Mar 19, 2014 at 12:41 PM, Corvus <lcuervo@xxxxxxxxx> wrote:

> In other test i try to mount partitions and doesnt work, but i was using
> /dev/block, so maybe this was the problem...
>
> Right now i'm testing this in scripts/panic/adbd:
>
> if [ -e /dev/console ]; then
>         test="AAAAAAAAAAAA"
> else
>         test="BBBBBBBBBBBB"
> fi
> echo $test >$path/iSerial || true
>
> So at least i will see if /dev mounts correctly
>
> Next test: see if /dev/mmcblk0p9 exists
>
> More info soon...
>
>
>
> ---------------------------------------------------------------------------------------------
> Que todos esos ceros y unos vayan directamente a tu mierdecilla de
> teléfono inteligente y que cualquier inutil sea capaz de suscribirse en 12
> segundos *no es «magia», es sudor y talento.*
>
>
>
> On Wed, Mar 19, 2014 at 12:33 PM, f69m <launchpad@xxxxxxx> wrote:
>
>>
>> On 03/19/2014 12:25 PM, Corvus wrote:
>>
>> adbd:          ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
>> dynamically linked (uses shared libs), for GNU/Linux 2.6.24,
>> BuildID[sha1]=0x54a006ddae709bf03726fc16d278caa9209a0e2c, stripped
>>
>>  Yes, we have this problem earlier :D
>>
>>  I tested that all binary and libs are i386.
>>
>>
>> OK, worth a try. :)
>>
>> Another thing to try: mount the cache partition and run
>>
>> dmesg >/cache/kernel.log
>>
>> Then you can examine the log file from recovery.
>>
>>
>> --
>> Mailing list: https://launchpad.net/~ubuntu-phone
>> Post to     : ubuntu-phone@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~ubuntu-phone
>> More help   : https://help.launchpad.net/ListHelp
>>
>>
>

Follow ups

References