Opened 9 years ago
Closed 3 years ago
#12667 closed bug (fixed)
ARM [beagle] undefined memory type
Reported by: | kallisti5 | Owned by: | nobody |
---|---|---|---|
Priority: | normal | Milestone: | R1/beta4 |
Component: | System | Version: | R1/Development |
Keywords: | arm beagle | Cc: | |
Blocked By: | Blocking: | ||
Platform: | arm |
Description
status_t arch_vm_set_memory_type(VMArea*, phys_addr_t, uint32): undefined type 10000000!
Build emulator:
git clone //git.linaro.org/qemu/qemu-linaro.git ./configure make -j8
Compile Haiku:
mkdir generated.beagle; cd generated.beagle ../configure --build-cross-tools arm ../../buildtools --target-board beagle -j8 jam -q @minimum-mmc
Testing:
$ ./arm-softmmu/qemu-system-arm -machine beagle -m 512 -sd ../haiku/generated.beagle/haiku-beagle.mmc -serial stdio (process:9279): GLib-WARNING **: /build/glib2.0-ajuDY6/glib2.0-2.46.1/./glib/gmem.c:482: custom memory allocation vtable not supported WARNING: Image format was not specified for '../haiku/generated.beagle/haiku-beagle.mmc' and probing guessed raw. Automatically detecting the format is dangerous for raw images, write operations on block 0 will be restricted. Specify the 'raw' format explicitly to remove the restrictions. U-Boot SPL 2011.12-dirty (Dec 31 2012 - 11:51:48) Texas Instruments Revision detection unimplemented OMAP SD/MMC: 0 reading u-boot.img reading u-boot.img U-Boot 2011.12-dirty (Dec 31 2012 - 11:51:48) OMAP35XX-GP ES3.1, CPU-OPP2, L3-165MHz, Max CPU Clock 600 mHz OMAP3 Beagle board + LPDDR/NAND I2C: ready DRAM: 256 MiB NAND: 256 MiB MMC: OMAP SD/MMC: 0 *** Warning - bad CRC, using default environment ERROR : Unsupport USB mode Check that mini-B USB cable is attached to the device In: serial Out: serial Err: serial Beagle Rev C4 No EEPROM on expansion board No EEPROM on expansion board Die ID #51454d5551454d555400000051454d55 Net: Net Initialization Skipped No ethernet found. Hit any key to stop autoboot: 0 The user button is currently NOT pressed. SD/MMC found on device 0 reading uEnv.txt 240 bytes read Loaded environment from uEnv.txt Importing environment from mmc ... Running uenvcmd ... reading haiku_loader_linux.ub 296888 bytes read reading omap3-beagle-xm.dtb 62164 bytes read reading haiku-floppyboot.tgz.ub 1584401 bytes read ## Booting kernel from Legacy Image at 82800000 ... Image Name: haiku_loader beagle Image Type: ARM Linux Kernel Image (uncompressed) Data Size: 296824 Bytes = 289.9 KiB Load Address: 80800000 Entry Point: 80800010 Verifying Checksum ... OK ## Loading init Ramdisk from Legacy Image at 81200000 ... Image Name: haiku-floppyboot.tgz beagle Image Type: ARM Linux RAMDisk Image (uncompressed) Data Size: 1584337 Bytes = 1.5 MiB Load Address: 00000000 Entry Point: 00000000 Verifying Checksum ... OK ## Flattened Device Tree blob at 80100000 Booting using the fdt blob at 0x80100000 Loading Kernel Image ... OK OK Loading Ramdisk to 87e7d000, end 87fffcd1 ... OK Loading Device Tree to 87e6a000, end 87e7c2d3 ... OK Starting kernel ... Found boot tgz from FDT @ 0x87e7d000, 1584337 bytes argc = 0 os: 2 gd @ 0x8ff02f68 gd->bd @ 0x8ff02fe0 gd->fb_base @ 0x00000000 FDT @ 0x87e6a000: fdt_totalsize: 74452 fdt_off_dt_struct: 72 fdt_off_dt_strings: 60500 fdt_off_mem_rsvmap: 40 fdt_version: 17 fdt_last_comp_version: 16 fdt_boot_cpuid_phys: 0 fdt_size_dt_strings: 1756 fdt_size_dt_struct: 60428 fdtSize: 0x122d4 checking for memory... 0: base = 2147483648,size = 134217728 1: base = 2281701376,size = 134217728 total physical memory = 256MB args.arguments_count = 0 video framebuffer: va: 0x80cba000 pa: 0x80b24000 video mode: 1024x768x16 Welcome to the Haiku boot loader! platform_add_boot_device Memory Disk at: 0x80b04000 size: 182cd1 add_partitions_for(0x80c9a160, mountFS = no) add_partitions_for(fd = 0, mountFS = no) 0x80c9a1e0 Partition::Partition 0x80c9a1e0 Partition::Scan() check for partitioning_system: Intel Partition Map check for partitioning_system: Intel Extended Partition platform_get_boot_partition 0x80c9a1e0 Partition::_Mount check for file_system: BFS Filesystem 0x80c9a1e0 Partition::_Mount check for file_system: FAT32 Filesystem 0x80c9a1e0 Partition::_Mount check for file_system: TAR Filesystem PackageVolumeInfo::SetTo() PackageVolumeInfo::SetTo(): failed to open packages directory: No such file or directory load kernel kernel_arm... SetDefaultMode() SetVideoMode: 1024x768@16 omap3: set_lcd_mode 1024,768 omap3: found mode[1024x768-61] omap3: attach bitmap (1024,768) to screen maximum boot loader heap usage: 20848, currently used: 6568 phys memory ranges: base 0x80000000, length 0x10000000 allocated phys memory ranges: base 0x87e7d000, length 0x00183000 base 0x80800000, length 0x00052000 base 0x80900000, length 0x0117a000 allocated virt memory ranges: base 0x80000000, length 0x01a6e000 kernel entry at 80058c58 Welcome to kernel debugger output! Haiku revision: hrev50119 mark_page_range_in_use(0x0, 0x80000): start page is before free list status_t arch_vm_set_memory_type(VMArea*, phys_addr_t, uint32): undefined type 10000000! Enabled high vectors fdt_map_reg_range: found reg range 0x48200000/4096 status_t arch_vm_set_memory_type(VMArea*, phys_addr_t, uint32): undefined type 10000000! OMAP: INTC found at 0x0xffff1000 (rev 4.0) omap2_inth_write: protection mode enable attempt fdt_map_reg_range: found reg range 0x48318000/1024 status_t arch_vm_set_memory_type(VMArea*, phys_addr_t, uint32): undefined type 10000000! OMAP: Found timer @ 0x0xffffa000, IRQ 37 (rev 2.1) arch_int_enable_io_interrupt(37) allocate_commpage_entry(2, 24) -> 0x00000100 scheduler_init: found 1 logical cpu and 0 cache levels scheduler switches: single core: true, cpu load tracking: false, core load tracking: false scheduler: switching to low latency mode slab memory manager: created area 0xcd801000 (101) PCI: pci_module_init module: Search for bus_managers/pci/x86/v1 failed. ahci: failed to get pci x86 module publish device: node 0x828196e0, path disk/nor/0/raw, module drivers/disk/norflash/device_v1 module: Search for busses/usb/xhci failed. module: Search for bus_managers/pci/x86/v1 failed. usb uhci: failed to get pci x86 module usb uhci: no devices found module: Search for bus_managers/pci/x86/v1 failed. usb ohci: failed to get pci x86 module usb ohci: no devices found module: Search for bus_managers/pci/x86/v1 failed. usb ehci: failed to get pci x86 module usb ehci: no devices found usb error stack 0: no bus managers available usb_disk: getting module failed: No such device legacy_driver_add_preloaded: Failed to add "usb_disk": Device not accessible get_boot_partitions(): boot volume message: KMessage: buffer: 0x81a0544c (size/capacity: 187/187), flags: 0xa field: "partition offset" (LLNG): 0 (0x0) field: "disk identifier" (RAWT): data at 0x81a054b8, 79 bytes get_boot_partitions(): boot method type: 0 partitioning system: partitioning_systems/intel/extended/v1 KDiskDeviceManager::_AddDiskSystem(partitioning_systems/intel/extended/v1) intel: ep_std_ops(0x1) intel: ep_std_ops(0x2) KDiskDeviceManager::_AddDiskSystem() done: No error partitioning system: partitioning_systems/session/v1 KDiskDeviceManager::_AddDiskSystem(partitioning_systems/session/v1) KDiskDeviceManager::_AddDiskSystem() done: No error partitioning system: partitioning_systems/intel/map/v1 KDiskDeviceManager::_AddDiskSystem(partitioning_systems/intel/map/v1) intel: pm_std_ops(0x1) intel: pm_std_ops(0x2) KDiskDeviceManager::_AddDiskSystem() done: No error file system: file_systems/attribute_overlay/v1 KDiskDeviceManager::_AddDiskSystem(file_systems/attribute_overlay/v1) KDiskDeviceManager::_AddDiskSystem() done: No error file system: file_systems/devfs/v1 KDiskDeviceManager::_AddDiskSystem(file_systems/devfs/v1) KDiskDeviceManager::_AddDiskSystem() done: No error file system: file_systems/packagefs/v1 KDiskDeviceManager::_AddDiskSystem(file_systems/packagefs/v1) KDiskDeviceManager::_AddDiskSystem() done: No error file system: file_systems/rootfs/v1 KDiskDeviceManager::_AddDiskSystem(file_systems/rootfs/v1) KDiskDeviceManager::_AddDiskSystem() done: No error file system: file_systems/iso9660/v1 KDiskDeviceManager::_AddDiskSystem(file_systems/iso9660/v1) KDiskDeviceManager::_AddDiskSystem() done: No error file system: file_systems/write_overlay/v1 KDiskDeviceManager::_AddDiskSystem(file_systems/write_overlay/v1) KDiskDeviceManager::_AddDiskSystem() done: No error file system: file_systems/bfs/v1 KDiskDeviceManager::_AddDiskSystem(file_systems/bfs/v1) KDiskDeviceManager::_AddDiskSystem() done: No error number of disk systems: 10 KDiskDeviceManager::_Scan(/dev/disk) module: Search for bus_managers/pci/x86/v1 failed. ahci: failed to get pci x86 module module: Search for bus_managers/pci/x86/v1 failed. ahci: failed to get pci x86 module module: Search for bus_managers/pci/x86/v1 failed. ahci: failed to get pci x86 module KDiskDeviceManager::_Scan(/dev/disk/nor) module: Search for bus_managers/pci/x86/v1 failed. ahci: failed to get pci x86 module KDiskDeviceManager::_Scan(/dev/disk/nor/0) module: Search for bus_managers/pci/x86/v1 failed. ahci: failed to get pci x86 module KDiskDeviceManager::_Scan(/dev/disk/nor/0/raw) found device: /dev/disk/nor/0/raw status_t arch_vm_set_memory_type(VMArea*, phys_addr_t, uint32): undefined type 10000000! KDiskDeviceManager::_ScanPartition(/dev/disk/nor/0/raw) intel: ep_std_ops(0x1) trying: partitioning_systems/intel/extended/v1 returned: -1 intel: ep_std_ops(0x2) trying: partitioning_systems/session/v1 returned: -1 intel: pm_std_ops(0x1) trying: partitioning_systems/intel/map/v1 intel: pm_identify_partition(0, 0: 0, 33292288, 131072) returned: -1 intel: pm_std_ops(0x2) trying: file_systems/attribute_overlay/v1 returned: -1 trying: file_systems/devfs/v1 returned: -1 trying: file_systems/packagefs/v1 returned: -1 trying: file_systems/rootfs/v1 returned: -1 trying: file_systems/iso9660/v1 identify(0, 0x82810270) returned: -1 trying: file_systems/write_overlay/v1 returned: -1 trying: file_systems/bfs/v1 returned: -1 device 0: /dev/disk/nor/0/raw media status: No error device flags: 6 offset: 0 size: 33292288 (31.75 MB) content size: 0 block size: 131072 child count: 0 index: -1 status: 2 flags: 1 volume: -1 disk system: <NULL> name: <NULL> content name: <NULL> type: <NULL> content type: <NULL> params: <NULL> content params: <NULL> PANIC: did not find any boot partitions! Welcome to Kernel Debugging Land... Thread 14 "main2" running on CPU 0 frame caller <image>:function + offset 0 817cfad0 (+ 60) 80130df8 <kernel_arm> arch_debug_call_with_fault_handler() + 0x1c 1 817cfb0c (+ 64) 80098820 <kernel_arm> _ZL20kernel_debugger_loopPKcS0_St9__va_listl() + 0x154 2 817cfb4c (+ 88) 80098aa4 <kernel_arm> _ZL24kernel_debugger_internalPKcS0_St9__va_listl() + 0x98 3 817cfba4 (+ 32) 80098df8 <kernel_arm> panic() + 0x58 4 817cfbc4 (+ 984) 800f4c60 <kernel_arm> vfs_mount_boot_file_system() + 0x288 5 817cff9c (+ 56) 80058b1c <kernel_arm> _ZL5main2Pv() + 0x84 6 817cffd4 (+ 24) 8007e844 <kernel_arm> _ZL19common_thread_entryPv() + 0x44 7 817cffec (+2122514452) 8007e814 <kernel_arm> _ZL19common_thread_entryPv() + 0x14
Change History (4)
comment:1 by , 9 years ago
comment:2 by , 6 years ago
Component: | - General → System |
---|
comment:4 by , 3 years ago
Milestone: | Unscheduled → R1/beta4 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
The first error message is actually:
mark_page_range_in_use(0x0, 0x80000): start page is before free list