[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Odroid-XU boot problems with Xen 4.5



Hi Suriyan,
I was using HK's ubuntu image I linked to in my first post. I didn't
have any monitors attached to the board, just the network and the
serial.

I also encountered another issue when I tried to compile 3.18 as the
DomU kernel on the XU as it turns out the stock gcc (4.8.3) that is in
the Ubuntu repo is blacklisted for the new kernel. So now I'm
compiling 3.14 on the XU as the DomU kernel, hopefully I can get it
running tomorrow =)

Tamas

On Wed, Jan 21, 2015 at 5:55 PM, Suriyan Ramasami <suriyan.r@xxxxxxxxx> wrote:
> Thank you Thomas for pointing out the issues!
>
> On Wed, Jan 21, 2015 at 7:26 AM, Tamas K Lengyel
> <tamas.lengyel@xxxxxxxxxxxx> wrote:
>> OK, I figured it out. The boot.ini in your git branch assumes that
>> dom0 is going to boot from the internal SD card, not the external.
>> Once I switched the partition to mmcblk1p2 it booted but xdm was
>> crashing the kernel immediately after the login prompt came up. I just
>> removed xdm from starting automatically (the board is thus headless)
>> and now it runs without a problem but still had no network. I found
>> that he kernel module for the SMSC95xx network device was missing, so
>> I just recompiled your linux branch with CONFIG_USB_NET_SMSC95XX=y and
>> now the XU is working.
>>
>
> I am guessing that the modules building and modules_install part for
> dom0 is missing in the wiki. Hence, you hit the network issue. I shall
> update it.
>
> I shall also mention that dom0 assumes that root partition is
> root=/dev/mmcblk0p2 in the boot.ini provided and should be changed
> appropriately.
>
> I do not remember facing the xdm crash that you mention. I shall check
> on that. Which distribution did you use - HK's ubuntu or the
> ArchLinuxARM one?
>
> Thanks!
> - Suriyan
>
>
>> Cheers ;)
>> Tamas
>>
>> On Wed, Jan 21, 2015 at 3:51 PM, Tamas K Lengyel
>> <tamas.lengyel@xxxxxxxxxxxx> wrote:
>>> Hi Suriyan,
>>> thanks for your work on getting Xen to work on the XU! I followed your
>>> instructions from
>>> http://wiki.xenproject.org/wiki/Xen_ARM_with_Virtualization_Extensions/OdroidXU,
>>> but something is not quite right. I never get a boot prompt on the
>>> serial although I have set /etc/init/hvc0.conf up and dom0 never
>>> DHCP's on the network either.
>>>
>>> This is the last portion of the dom0 boot log I get:
>>>
>>> [    3.840632] EXT4-fs (mmcblk0p2): mounted filesystem with ordered
>>> data mode. Opts: (null)
>>> [    3.847386] VFS: Mounted root (ext4 filesystem) on device 179:2.
>>> [    3.853854] devtmpfs: mounted
>>> [    3.856789] Freeing unused kernel memory: 424K (c0718000 - c0782000)
>>> [    3.869235] random: init urandom read with 61 bits of entropy available
>>> [    3.879959] init: could not import file '/init..rc' from '/init.rc'
>>> [    3.885402] init (1): /proc/1/oom_adj is deprecated, please use
>>> /proc/1/oom_score_adj instead.
>>> [    3.947661] usb 5-2: new high-speed USB device number 2 using exynos-ehci
>>> [    4.093068] usb 5-2: New USB device found, idVendor=0424, idProduct=9730
>>> [    4.098502] usb 5-2: New USB device strings: Mfr=0, Product=0, 
>>> SerialNumber=0
>>> [    4.308337] init: cannot open '/initlogo.rle'
>>> [    4.337691] usb 5-3: new high-speed USB device number 3 using exynos-ehci
>>> [    4.347355] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
>>> [    4.355342] init: Unable to open persistent property directory
>>> /data/property errno: 2
>>> [    4.365410] init: cannot find '/system/bin/servicemanager',
>>> disabling 'servicemanager'
>>> [    4.372015] init: cannot find '/system/bin/vold', disabling 'vold'
>>> [    4.378208] init: cannot find '/system/bin/netd', disabling 'netd'
>>> [    4.384441] init: cannot find '/system/bin/debuggerd', disabling 
>>> 'debuggerd'
>>> [    4.391552] init: cannot find '/system/bin/rild', disabling 'ril-daemon'
>>> [    4.398320] init: cannot find '/system/bin/surfaceflinger',
>>> disabling 'surfaceflinger'
>>> [    4.406294] init: cannot find '/system/bin/app_process', disabling 
>>> 'zygote'
>>> [    4.413321] init: cannot find '/system/bin/drmserver', disabling 'drm'
>>> [    4.419910] init: cannot find '/system/bin/mediaserver', disabling 
>>> 'media'
>>> [    4.426846] init: cannot find '/system/bin/installd', disabling 
>>> 'installd'
>>> [    4.433797] init: cannot find '/system/etc/install-recovery.sh',
>>> disabling 'flash_recovery'
>>> [    4.442198] init: cannot find '/system/bin/keystore', disabling 
>>> 'keystore'
>>> [    4.450042] init: cannot find '/system/bin/sh', disabling 'console'
>>> [    4.472924] usb 5-3: New USB device found, idVendor=0424, idProduct=3503
>>> [    4.478253] usb 5-3: New USB device strings: Mfr=0, Product=0, 
>>> SerialNumber=0
>>> [    4.487261] hub 5-3:1.0: USB hub found
>>> [    4.489796] hub 5-3:1.0: 3 ports detected
>>>
>>> If I plug in external USB devices that gets printed to the serial:
>>>
>>> [   88.627676] usb 5-3.2: new low-speed USB device number 4 using 
>>> exynos-ehci
>>> [   88.743040] usb 5-3.2: New USB device found, idVendor=413c, 
>>> idProduct=2107
>>> [   88.748551] usb 5-3.2: New USB device strings: Mfr=1, Product=2,
>>> SerialNumber=0
>>> [   88.755911] usb 5-3.2: Product: Dell USB Entry Keyboard
>>> [   88.761203] usb 5-3.2: Manufacturer: DELL
>>> [   88.770904] input: DELL Dell USB Entry Keyboard as
>>> /devices/12110000.usb/usb5/5-3/5-3.2/5-3.2:1.0/input/input1
>>> [   88.780364] hid-generic 0003:413C:2107.0001: input,hidraw0: USB HID
>>> v1.10 Keyboard [DELL Dell USB Entry Keyboard] on
>>> usb-12110000.usb-3.2/input0
>>>
>>> Any idea what might going on here? The image
>>> (http://odroid.in/ubuntu_14.04lts/ubuntu-14.04lts-server-odroid-xu-20140714.img.xz)
>>> did boot on the XU before running sd_fuse on it.
>>>
>>> Thanks,
>>> Tamas

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.