[Question posted by a user on YugabyteDB Community Slack]
I'm doing the Oracle DB migration to YB and when testing and noticed after Import the size of the YB is tripled on each node, meaning 50GB of Oracle DB ended up occupying 150GB on each node for 3 node cluster. Isn't YugabyteDB able to compress natively? Please note that RF is set to 3. Just curious to know about a significant increase in storage requirement.
This is my table schema:
CREATE TABLE "CT2_INVOICELINE_ORIGINAL"
( "INVOICEID" NUMBER(10,0) NOT NULL ENABLE,
"INVOICELINEID" NUMBER(10,0) NOT NULL ENABLE,
"INVOFIELD01" VARCHAR2(100),
"INVOFIELD02" VARCHAR2(100),
"INVOFIELD03" VARCHAR2(100),
"INVOFIELD04" VARCHAR2(100),
"INVOFIELD05" VARCHAR2(100),
"INVOFIELD06" VARCHAR2(100),
"INVOFIELD07" VARCHAR2(100),
"INVOFIELD08" VARCHAR2(100),
"INVOFIELD09" VARCHAR2(100),
"INVOFIELD10" VARCHAR2(100),
"INVOFIELD11" VARCHAR2(100),
"INVOFIELD12" VARCHAR2(100),
"INVOFIELD13" VARCHAR2(100),
"INVOFIELD14" VARCHAR2(100),
"INVOFIELD15" VARCHAR2(100),
"INVOFIELD16" VARCHAR2(100),
"INVOFIELD17" VARCHAR2(100),
"INVOFIELD18" VARCHAR2(100),
"INVOFIELD19" VARCHAR2(100),
"INVOFIELD20" VARCHAR2(100),
"INVOFIELD21" VARCHAR2(100),
"INVOFIELD22" VARCHAR2(100),
"INVOFIELD23" VARCHAR2(100),
"INVOFIELD24" VARCHAR2(100),
"INVOFIELD25" VARCHAR2(100),
"INVOFIELD26" VARCHAR2(100),
"INVOFIELD27" VARCHAR2(100),
"INVOFIELD28" VARCHAR2(100),
"INVOFIELD29" VARCHAR2(100),
"INVOFIELD30" VARCHAR2(100),
"INVOFIELD31" VARCHAR2(100),
"INVOFIELD32" VARCHAR2(100),
"INVOFIELD33" VARCHAR2(100),
"INVOFIELD34" VARCHAR2(100),
"INVOFIELD35" VARCHAR2(100),
"INVOFIELD36" VARCHAR2(100),
"INVOFIELD37" VARCHAR2(100),
"INVOFIELD38" VARCHAR2(100),
"INVOFIELD39" VARCHAR2(100),
"INVOFIELD40" VARCHAR2(100),
"INVOFIELD41" VARCHAR2(100),
"INVOFIELD42" VARCHAR2(100),
"INVOFIELD43" VARCHAR2(100),
"INVOFIELD44" VARCHAR2(100),
"INVOFIELD45" VARCHAR2(100),
"INVOFIELD46" VARCHAR2(100),
"INVOFIELD47" VARCHAR2(100),
"INVOFIELD48" VARCHAR2(100),
"INVOFIELD49" VARCHAR2(100),
"INVOFIELD50" VARCHAR2(100),
"INVOFIELD51" VARCHAR2(100),
"INVOFIELD52" VARCHAR2(100),
"INVOFIELD53" VARCHAR2(100),
"INVOFIELD54" VARCHAR2(100),
"INVOFIELD55" VARCHAR2(100),
"INVOFIELD56" VARCHAR2(100),
"INVOFIELD57" VARCHAR2(100),
"INVOFIELD58" VARCHAR2(100),
"INVOFIELD59" VARCHAR2(100),
"INVOFIELD60" VARCHAR2(100)
) SEGMENT CREATION IMMEDIATE
PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255
NOCOMPRESS LOGGING
STORAGE(INITIAL 26255360 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1
BUFFER_POOL DEFAULT FLASH_CACHE DEFAULT CELL_FLASH_CACHE DEFAULT)
TABLESPACE "MISEK_DATA" ;
The source table does have 1 - 3 characters on most of the columns and around 10+ null columns as well.
When putting only 1 char in the varchar(100) you have 4x storage overhead on YugabyteDB. So if you have really small or null values this can be explained.
This is because of the way YugabyteDB currently stores data, where each column is a separate key-value in the underlying storage engine (rocksdb), while Oracle stores the full row as packed in a single tuple. Explained in detail in the docs: https://docs.yugabyte.com/latest/architecture/docdb/persistence/
“Packed row” format is under development that will fix this overhead soon: https://github.com/yugabyte/yugabyte-db/issues/3520
Related
Trying to save hudi table in Jupyter notebook with hive-sync enabled. I am using EMR: 5.28.0 with AWS Glue as catalog enabled:
# Create a DataFrame
inputDF = spark.createDataFrame(
[
("100", "2015-01-01", "2015-01-01T13:51:39.340396Z"),
("101", "2015-01-01", "2015-01-01T12:14:58.597216Z"),
("102", "2015-01-01", "2015-01-01T13:51:40.417052Z"),
("103", "2015-01-01", "2015-01-01T13:51:40.519832Z"),
("104", "2015-01-02", "2015-01-01T12:15:00.512679Z"),
("105", "2015-01-02", "2015-01-01T13:51:42.248818Z"),
],
["id", "creation_date", "last_update_time"]
)
# Specify common DataSourceWriteOptions in the single hudiOptions variable
hudiOptions = {
'hoodie.table.name': 'my_hudi_table',
'hoodie.datasource.write.recordkey.field': 'id',
'hoodie.datasource.write.partitionpath.field': 'creation_date',
'hoodie.datasource.write.precombine.field': 'last_update_time',
'hoodie.datasource.hive_sync.enable': 'true',
'hoodie.datasource.hive_sync.table': 'my_hudi_table',
'hoodie.datasource.hive_sync.partition_fields': 'creation_date',
'hoodie.datasource.hive_sync.partition_extractor_class': 'org.apache.hudi.hive.MultiPartKeysValueExtractor'
}
# Write a DataFrame as a Hudi dataset
(inputDF.write
.format('org.apache.hudi')
.option('hoodie.datasource.write.operation', 'insert')
.options(**hudiOptions)
.mode('overwrite')
.save('s3://dytyniak-test-data/myhudidataset/'))
receiving the following error:
An error occurred while calling o309.save.
: org.apache.hudi.hive.HoodieHiveSyncException: Cannot create hive connection jdbc:hive2://localhost:10000/
I assume you are following the tutorial from AWS documentation. I got it to work using Hudi 0.9.0 by setting hive_sync.mode to hms in hudiOptions (see hudi docs):
hudiOptions = {
'hoodie.table.name': 'my_hudi_table',
'hoodie.datasource.write.recordkey.field': 'id',
'hoodie.datasource.write.partitionpath.field': 'creation_date',
'hoodie.datasource.write.precombine.field': 'last_update_time',
'hoodie.datasource.hive_sync.enable': 'true',
'hoodie.datasource.hive_sync.table': 'my_hudi_table',
'hoodie.datasource.hive_sync.partition_fields': 'creation_date',
'hoodie.datasource.hive_sync.partition_extractor_class':
'org.apache.hudi.hive.MultiPartKeysValueExtractor',
'hoodie.datasource.hive_sync.mode': 'hms'
}
I have some question about ACPI table. I want to control Intel Edison default GPIO on boot, so I make ACPI table to control it. But did not cause any changes. This is my ASL code:
Device (DEV)
{
Name (_HID, "PRP0001")
Name (_DDN, "GPIO LEDs device")
Name (_CRS, ResourceTemplate()
{
GpioIo (Shared, PullNone, 0x0000, 0x0000,
IoRestrictionOutputOnly, "\\_SB.PCI0.GPI0",
0x00, ResourceConsumer,,){12,13}
})
Name (_DSD, Package () {
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
Package () {
Package () { "compatible", Package() { "gpio-leds" } },
},
ToUUID("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
Package () {
Package () {"led-0", "LED0"},
Package () {"led-1", "LED1"},
}
})
/*
* For more information about these bindings see:
* Documentation/devicetree/bindings/leds/common.yaml,
* Documentation/devicetree/bindings/leds/leds-gpio.yaml and
* Documentation/firmware-guide/acpi/gpio-properties.rst.
*/
Name (LED0, Package () {
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
Package () {
Package () {"label", "green"},
Package () {"default-state", "off"},
Package () {"gpios", Package () {^LEDS, 0, 0, 0}},
Package () {"retain-state-suspended", 1},
}
})
Name (LED1, Package () {
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
Package () {
Package () {"label", "red"},
Package () {"default-state", "off"},
Package () {"gpios", Package () {^LEDS, 0, 1, 0}},
Package () {"retain-state-suspended", 1},
}
})
}
Look like my leds_test.aml is loaded.
This is my /sys/kernel/debug/gpio:
root#:~# cat /sys/kernel/debug/gpio
gpiochip0: GPIOs 0-191, parent: pci/0000:00:0c.0, 0000:00:0c.0:
gpio-47 ( |? ) out hi
gpio-71 ( |shutdown ) out hi
gpio-77 ( |sd_cd ) in hi IRQ
gpio-96 ( |ACPI:OpRegion ) out hi
gpio-110 ( |cs ) out hi
gpio-111 ( |cs ) out hi
gpio-112 ( |cs ) out lo
gpio-113 ( |cs ) out lo
gpio-184 ( |device-wakeup ) out lo
gpio-185 ( |host-wakeup ) in lo IRQ
root#:~# dmesg | grep ACPI
[ 0.002615] ACPI: Early table checksum verification disabled
[ 0.002631] ACPI: RSDP 0x00000000000E4500 000024 (v02 U-BOOT)
[ 0.002655] ACPI: XSDT 0x00000000000E45E0 00004C (v01 U-BOOT U-BOOTBL 20200909 INTL 00000000)
[ 0.002688] ACPI: FACP 0x00000000000E5310 0000F4 (v06 U-BOOT U-BOOTBL 20200909 INTL 00000000)
[ 0.002724] ACPI: DSDT 0x00000000000E4780 000A8A (v02 U-BOOT U-BOOTBL 00010000 INTL 20190215)
[ 0.002749] ACPI: APIC 0x00000000000E5410 000048 (v04 U-BOOT U-BOOTBL 20200909 INTL 00000000)
[ 0.002772] ACPI: MCFG 0x00000000000E5460 00003C (v01 U-BOOT U-BOOTBL 20200909 INTL 00000000)
[ 0.002794] ACPI: CSRT 0x00000000000E54A0 000058 (v00 U-BOOT U-BOOTBL 20200909 INTL 00000000)
[ 0.002817] ACPI: SPCR 0x00000000000E5500 000050 (v02 U-BOOT U-BOOTBL 20200909 INTL 00000000)
[ 0.002866] ACPI: Local APIC address 0xfee00000
[ 0.035260] ACPI: no legacy devices present
[ 0.035266] ACPI: probing for VGA not safe
[ 0.035281] ACPI: Local APIC address 0xfee00000
[ 0.035303] ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
[ 0.035315] ACPI: LAPIC (acpi_id[0x02] lapic_id[0x02] enabled)
[ 0.035338] ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
[ 0.035385] Using ACPI (MADT) for SMP configuration information
[ 0.035400] ACPI: SPCR: console: uart,mmio,0xff010180
[ 1.158446] ACPI: Core revision 20191018
[ 1.182930] ACPI FADT declares the system doesn't support PCIe ASPM, so disable it
[ 1.182938] ACPI: bus type PCI registered
[ 1.215373] ACPI: Added _OSI(Module Device)
[ 1.215771] ACPI: Added _OSI(Processor Device)
[ 1.215778] ACPI: Added _OSI(3.0 _SCP Extensions)
[ 1.215784] ACPI: Added _OSI(Processor Aggregator Device)
[ 1.215793] ACPI: Added _OSI(Linux-Dell-Video)
[ 1.215801] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[ 1.215808] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[ 1.220700] ACPI: 1 ACPI AML tables successfully acquired and loaded
[ 1.222647] ACPI: Interpreter enabled
[ 1.222705] ACPI: (supports S0)
[ 1.222740] ACPI: Using IOAPIC for interrupt routing
[ 1.222853] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[ 1.236360] ACPI: PCI Root Bridge [PCI0] (domain 0000 [bus 00-ff])
[ 1.266154] ACPI: bus type USB registered
[ 2.126336] pnp: PnP ACPI init
[ 2.126853] pnp 00:00: Plug and Play ACPI device, IDs PNP0b00 (active)
[ 2.127373] system 00:01: Plug and Play ACPI device, IDs PNP0c02 (active)
[ 2.128692] pnp: PnP ACPI: found 2 devices
[ 3.028011] ACPI: Host-directed Dynamic ACPI Table Load:
[ 3.028045] ACPI: SSDT 0xFFFF8B1279103A80 0000A6 (v05 SPIDEV 00000001 INTL 20190215)
[ 3.059576] ACPI: Host-directed Dynamic ACPI Table Load:
[ 3.059611] ACPI: SSDT 0xFFFF8B12792C4C00 00016D (v05 LEDS 00000001 INTL 20190215)
[ 3.112334] ACPI: Host-directed Dynamic ACPI Table Load:
[ 3.112367] ACPI: SSDT 0xFFFF8B12793D6B00 0000E5 (v05 i2c 00000001 INTL 20190215)
But I have not got my LED on,and also I ensure CONFIG_LEDS_GPIO=y and CONFIG_LEDS_CLASS=y in my kernel configuration and built kernel.
Follow this leds.asli and try to create test example that is work now.
example:
Device (DEV)
{
Name (_HID, "PRP0001")
Name (_DDN, "GPIO LEDs device")
Name (_CRS, ResourceTemplate()
{
GpioIo (Shared, PullNone, 0x0000, 0x0000,
IoRestrictionOutputOnly, "\\_SB.PCI0.GPI0",
0x00, ResourceConsumer,,){12,13}
})
Name (_DSD, Package () {
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
Package () {
Package () { "compatible", Package() { "gpio-leds" } },
},
ToUUID("dbb8e3e6-5886-4ba6-8795-1319f52a966b"),
Package () {
Package () {"led-0", "LED0"},
Package () {"led-1", "LED1"},
}
})
/*
* For more information about these bindings see:
* Documentation/devicetree/bindings/leds/common.yaml,
* Documentation/devicetree/bindings/leds/leds-gpio.yaml and
* Documentation/firmware-guide/acpi/gpio-properties.rst.
*/
Name (LED0, Package () {
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
Package () {
Package () {"label", "green"},
Package () {"default-state", "off"},
Package () {"gpios", Package () {^LEDS, 0, 0, 0}},
Package () {"retain-state-suspended", 1},
}
})
Name (LED1, Package () {
ToUUID("daffd814-6eba-4d8c-8a91-bc9bbf4aa301"),
Package () {
Package () {"label", "red"},
Package () {"default-state", "off"},
Package () {"gpios", Package () {^LEDS, 0, 1, 0}},
Package () {"retain-state-suspended", 1},
}
})
}
/sys/kernel/debug/gpio:
root#:~# cat /sys/kernel/debug/gpio
gpiochip0: GPIOs 0-191, parent: pci/0000:00:0c.0, 0000:00:0c.0:
gpio-12 ( |green ) out lo
gpio-13 ( |red ) out lo
gpio-71 ( |shutdown ) out hi
gpio-77 ( |sd_cd ) in hi IRQ
gpio-96 ( |ACPI:OpRegion ) out hi
gpio-110 ( |cs ) out hi
gpio-111 ( |cs ) out hi
gpio-112 ( |cs ) out lo
gpio-113 ( |cs ) out lo
gpio-184 ( |device-wakeup ) out lo
gpio-185 ( |host-wakeup ) in lo IRQ
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
I am working with Beaglebone black device
Trying to have my own compiled Kernel and my own rootfs.
I want to avoid using modules in the kernel, and trying to activate the kernel so it will recognize when I plug in FTDI device to the USB Host.
What is the required kernel configuration items for that? Do I need also to change the DTS file?
It looks I do have the driver since I can see the "usb-serial" when I do "cat /proc/devices", it just that I don't get the device detection.
Here is my dmesg - What do I miss?
`~ # dmesg
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 4.9.75 (avner#OZC-ThinkPad-E460) (gcc version 4.9.2 (GCC) ) #5 PREEMPT Sun Mar 18 22:41:53 IST 2018
[ 0.000000] CPU: ARMv7 Processor [413fc082] revision 2 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] OF: fdt:Machine model: TI AM335x BeagleBone Black
[ 0.000000] efi: Getting EFI parameters from FDT:
[ 0.000000] efi: UEFI not found.
[ 0.000000] cma: Reserved 48 MiB at 0x9d000000
[ 0.000000] Memory policy: Data cache writeback
[ 0.000000] On node 0 totalpages: 131072
[ 0.000000] free_area_init_node: node 0, pgdat c0d48df8, node_mem_map dcb61000
[ 0.000000] Normal zone: 1152 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 131072 pages, LIFO batch:31
[ 0.000000] CPU: All CPU(s) started in SVC mode.
[ 0.000000] AM335X ES2.1 (sgx neon)
[ 0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[ 0.000000] pcpu-alloc: [0] 0
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 129920
[ 0.000000] Kernel command line: console=ttyO0,115200n8 root=PARTUUID=ab08c094-02 rw rootfstype=ext4 rootwait
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 456928K/524288K available (8192K kernel code, 301K rwdata, 2476K rodata, 1024K init, 281K bss, 18208K reserved, 49152K cma-reserved, 0K highmem)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xfff00000 (3072 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff800000 ( 496 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc0900000 (9184 kB)
[ 0.000000] .init : 0xc0c00000 - 0xc0d00000 (1024 kB)
[ 0.000000] .data : 0xc0d00000 - 0xc0d4b618 ( 302 kB)
[ 0.000000] .bss : 0xc0d4b618 - 0xc0d91a8c ( 282 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] Build-time adjustment of leaf fanout to 32.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] IRQ: Found an INTC at 0xfa200000 (revision 5.0) with 128 interrupts
[ 0.000000] OMAP clockevent source: timer2 at 24000000 Hz
[ 0.000012] sched_clock: 32 bits at 24MHz, resolution 41ns, wraps every 89478484971ns
[ 0.000029] clocksource: timer1: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 79635851949 ns
[ 0.000039] OMAP clocksource: timer1 at 24000000 Hz
[ 0.000182] clocksource_probe: no matching clocksources found
[ 0.000347] Console: colour dummy device 80x30
[ 0.000370] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[ 0.000375] This ensures that you still see kernel messages. Please
[ 0.000380] update your kernel commandline.
[ 0.000399] Calibrating delay loop... 996.14 BogoMIPS (lpj=4980736)
[ 0.089251] pid_max: default: 32768 minimum: 301
[ 0.089372] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.089382] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)
[ 0.090090] CPU: Testing write buffer coherency: ok
[ 0.090429] Setting up static identity map for 0x80100000 - 0x80100058
[ 0.091153] EFI services will not be available.
[ 0.092307] devtmpfs: initialized
[ 0.102473] VFP support v0.3: implementor 41 architecture 3 part 30 variant c rev 3
[ 0.102806] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[ 0.102830] futex hash table entries: 256 (order: -1, 3072 bytes)
[ 0.106099] pinctrl core: initialized pinctrl subsystem
[ 0.107204] NET: Registered protocol family 16
[ 0.108915] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 0.121642] omap_hwmod: debugss: _wait_target_disable failed
[ 0.199240] cpuidle: using governor ladder
[ 0.229230] cpuidle: using governor menu
[ 0.233029] gpio gpiochip0: (gpio): added GPIO chardev (254:0)
[ 0.233371] gpiochip_setup_dev: registered GPIOs 0 to 31 on device: gpiochip0 (gpio)
[ 0.234644] OMAP GPIO hardware version 0.1
[ 0.235378] gpio gpiochip1: (gpio): added GPIO chardev (254:1)
[ 0.235660] gpiochip_setup_dev: registered GPIOs 32 to 63 on device: gpiochip1 (gpio)
[ 0.237375] gpio gpiochip2: (gpio): added GPIO chardev (254:2)
[ 0.237731] gpiochip_setup_dev: registered GPIOs 64 to 95 on device: gpiochip2 (gpio)
[ 0.239541] gpio gpiochip3: (gpio): added GPIO chardev (254:3)
[ 0.239817] gpiochip_setup_dev: registered GPIOs 96 to 127 on device: gpiochip3 (gpio)
[ 0.248090] No ATAGs?
[ 0.248114] hw-breakpoint: debug architecture 0x4 unsupported.
[ 0.286467] edma 49000000.edma: TI EDMA DMA engine driver
[ 0.286768] of_get_named_gpiod_flags: can't parse 'gpio' property of node '/fixedregulator0[0]'
[ 0.289199] SCSI subsystem initialized
[ 0.289607] libata version 3.00 loaded.
[ 0.289886] usbcore: registered new interface driver usbfs
[ 0.289960] usbcore: registered new interface driver hub
[ 0.290038] usbcore: registered new device driver usb
[ 0.290398] omap_i2c 44e0b000.i2c: could not find pctldev for node /ocp/l4_wkup#44c00000/scm#210000/pinmux#800/pinmux_i2c0_pins, deferring probe
[ 0.290444] omap_i2c 4819c000.i2c: could not find pctldev for node /ocp/l4_wkup#44c00000/scm#210000/pinmux#800/pinmux_i2c2_pins, deferring probe
[ 0.290544] media: Linux media interface: v0.10
[ 0.290591] Linux video capture interface: v2.00
[ 0.290627] pps_core: LinuxPPS API ver. 1 registered
[ 0.290634] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti#linux.it>
[ 0.290653] PTP clock support registered
[ 0.290687] EDAC MC: Ver: 3.0.0
[ 0.291628] omap-mailbox 480c8000.mailbox: omap mailbox rev 0x400
[ 0.291916] Advanced Linux Sound Architecture Driver Initialized.
[ 0.293082] clocksource: Switched to clocksource timer1
[ 0.302195] NET: Registered protocol family 2
[ 0.302892] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.302939] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.302977] TCP: Hash tables configured (established 4096 bind 4096)
[ 0.303038] UDP hash table entries: 256 (order: 0, 4096 bytes)
[ 0.303054] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
[ 0.303234] NET: Registered protocol family 1
[ 0.303630] RPC: Registered named UNIX socket transport module.
[ 0.303640] RPC: Registered udp transport module.
[ 0.303645] RPC: Registered tcp transport module.
[ 0.303650] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.303661] PCI: CLS 0 bytes, default 64
[ 0.304498] hw perfevents: enabled with armv7_cortex_a8 PMU driver, 5 counters available
[ 0.306550] workingset: timestamp_bits=14 max_order=17 bucket_order=3
[ 0.313411] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[ 0.314242] NFS: Registering the id_resolver key type
[ 0.314281] Key type id_resolver registered
[ 0.314287] Key type id_legacy registered
[ 0.314328] ntfs: driver 2.1.32 [Flags: R/O].
[ 0.316004] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.316022] io scheduler noop registered
[ 0.316029] io scheduler deadline registered
[ 0.316167] io scheduler cfq registered (default)
[ 0.317342] pinctrl-single 44e10800.pinmux: 142 pins at pa f9e10800 size 568
[ 0.318866] of_get_named_gpiod_flags: parsed 'enable-gpios' property of node '/clk_mcasp0[0]' - status (0)
[ 0.371661] Serial: 8250/16550 driver, 10 ports, IRQ sharing disabled
[ 0.375222] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
[ 0.986647] console [ttyS0] enabled
[ 0.991699] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[ 0.998514] [drm] Initialized
[ 1.013277] brd: module loaded
[ 1.021985] loop: module loaded
[ 1.027168] libphy: Fixed MDIO Bus: probed
[ 1.103158] davinci_mdio 4a101000.mdio: davinci mdio revision 1.6
[ 1.109297] davinci_mdio 4a101000.mdio: detected phy mask fffffffe
[ 1.116434] libphy: 4a101000.mdio: probed
[ 1.120476] davinci_mdio 4a101000.mdio: phy[0]: device 4a101000.mdio:00, driver SMSC LAN8710/LAN8720
[ 1.130383] cpsw 4a100000.ethernet: Detected MACID = 98:5d:ad:b5:f6:fe
[ 1.138534] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 1.145246] ehci-pci: EHCI PCI platform driver
[ 1.149802] ehci-platform: EHCI generic platform driver
[ 1.155258] ehci-omap: OMAP-EHCI Host Controller driver
[ 1.160597] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 1.166881] ohci-platform: OHCI generic platform driver
[ 1.172327] usbcore: registered new interface driver usb-storage
[ 1.178496] usbcore: registered new interface driver usbserial
[ 1.184408] usbcore: registered new interface driver usbserial_generic
[ 1.190996] usbserial: USB Serial support registered for generic
[ 1.197073] usbcore: registered new interface driver ftdi_sio
[ 1.202870] usbserial: USB Serial support registered for FTDI USB Serial Device
[ 1.210713] mousedev: PS/2 mouse device common for all mice
[ 1.216667] i2c /dev entries driver
[ 1.221376] /cpus/cpu#0: unsupported enable-method property: ti,am3352
[ 1.228169] CPUidle arm: CPU 0 failed to init idle CPU ops
[ 1.234379] omap_hsmmc 48060000.mmc: GPIO lookup for consumer cd
[ 1.234388] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[ 1.234411] of_get_named_gpiod_flags: parsed 'cd-gpios' property of node '/ocp/mmc#48060000[0]' - status (0)
[ 1.234473] omap_hsmmc 48060000.mmc: Got CD GPIO
[ 1.239119] omap_hsmmc 48060000.mmc: GPIO lookup for consumer wp
[ 1.239124] omap_hsmmc 48060000.mmc: using device tree for GPIO lookup
[ 1.239130] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc#48060000[0]'
[ 1.239135] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc#48060000[0]'
[ 1.239140] omap_hsmmc 48060000.mmc: using lookup tables for GPIO lookup
[ 1.239147] omap_hsmmc 48060000.mmc: lookup for GPIO wp failed
[ 1.293627] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer cd
[ 1.293638] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
[ 1.293646] of_get_named_gpiod_flags: can't parse 'cd-gpios' property of node '/ocp/mmc#481d8000[0]'
[ 1.293652] of_get_named_gpiod_flags: can't parse 'cd-gpio' property of node '/ocp/mmc#481d8000[0]'
[ 1.293657] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
[ 1.293662] omap_hsmmc 481d8000.mmc: lookup for GPIO cd failed
[ 1.293669] omap_hsmmc 481d8000.mmc: GPIO lookup for consumer wp
[ 1.293674] omap_hsmmc 481d8000.mmc: using device tree for GPIO lookup
[ 1.293678] of_get_named_gpiod_flags: can't parse 'wp-gpios' property of node '/ocp/mmc#481d8000[0]'
[ 1.293683] of_get_named_gpiod_flags: can't parse 'wp-gpio' property of node '/ocp/mmc#481d8000[0]'
[ 1.293688] omap_hsmmc 481d8000.mmc: using lookup tables for GPIO lookup
[ 1.293768] omap_hsmmc 481d8000.mmc: lookup for GPIO wp failed
[ 1.353552] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led2[0]' - status (0)
[ 1.353720] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led3[0]' - status (0)
[ 1.353841] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led4[0]' - status (0)
[ 1.353939] of_get_named_gpiod_flags: parsed 'gpios' property of node '/leds/led5[0]' - status (0)
[ 1.354305] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.366458] NET: Registered protocol family 10
[ 1.372155] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[ 1.379129] NET: Registered protocol family 17
[ 1.383963] Key type dns_resolver registered
[ 1.388489] omap_voltage_late_init: Voltage driver support not added
[ 1.408210] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.422583] mmc0: new high speed SDHC card at address aaaa
[ 1.428797] mmcblk0: mmc0:aaaa SC16G 14.8 GiB
[ 1.437325] random: fast init done
[ 1.441165] mmcblk0: p1 p2
[ 1.447772] tps65217 0-0024: TPS65217 ID 0xe version 1.2
[ 1.453819] at24 0-0050: 32768 byte 24c256 EEPROM, writable, 1 bytes/write
[ 1.461592] mmc1: new high speed MMC card at address 0001
[ 1.468607] mmcblk1: mmc1:0001 M62704 3.56 GiB
[ 1.473519] mmcblk1boot0: mmc1:0001 M62704 partition 1 2.00 MiB
[ 1.479716] mmcblk1boot1: mmc1:0001 M62704 partition 2 2.00 MiB
[ 1.486999] mmcblk1: p1
[ 1.605393] tda998x 0-0070: found TDA19988
[ 1.610856] tilcdc 4830e000.lcdc: bound 0-0070 (ops tda998x_ops)
[ 1.616953] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
[ 1.623608] [drm] No driver support for vblank timestamp query.
[ 1.629869] tilcdc 4830e000.lcdc: No connectors reported connected with modes
[ 1.637078] [drm] Cannot find any crtc or sizes - going 1024x768
[ 1.651196] Console: switching to colour frame buffer device 128x48
[ 1.662392] tilcdc 4830e000.lcdc: fb0: frame buffer device
[ 1.693112] [drm] Initialized tilcdc 1.0.0 20121205 on minor 0
[ 1.699040] omap_i2c 44e0b000.i2c: bus 0 rev0.11 at 400 kHz
[ 1.823914] omap_i2c 4819c000.i2c: bus 2 rev0.11 at 100 kHz
[ 1.831120] hctosys: unable to open rtc device (rtc0)
[ 1.836809] ALSA device list:
[ 1.839801] No soundcards found.
[ 1.897085] EXT4-fs (mmcblk0p2): recovery complete
[ 1.902983] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.911223] VFS: Mounted root (ext4 filesystem) on device 179:2.
[ 1.922864] devtmpfs: mounted
[ 1.927115] Freeing unused kernel memory: 1024K
[ 2.306710] export_store: invalid GPIO 246
~ # `
Thanks
Avner
I have resolved this issue (Thanks to TI support):
Use arch/arm/configs/tisdk_am335x-evm_defconfig as the base config - copy it to .config
run "make config"
remove "Enable loadable module support"
Then:
Device Drivers ---> [*] USB support ---> <*> USB Serial Converter support ---> USB FTDI Single Port Serial Driver <*>
Save and Exit, and build the kernel
Use "am335x-boneblack.dts" for DTB
I am using this kernel and dtb with my own rootfs and it identify FTDI device connect
Good Luck
Avner
Problem
I have a CSV file with some data like below.
PK,title,year,length,budget,rating,votes,r1,r2,r3,r4,r5,r6,r7,r8,r9,r10,mpaa,Action,Animation,Comedy,Drama,Documentary,Romance,Short
1,$,1971,121,NA,6.4,348,4.5,4.5,4.5,4.5,14.5,24.5,24.5,14.5,4.5,4.5,,0,0,1,1,0,0,0
2,$1000 a Touchdown,1939,71,NA,6,20,0,14.5,4.5,24.5,14.5,14.5,14.5,4.5,4.5,14.5,,0,0,1,0,0,0,0
The CSV file is around 5MB in size and has around 58,000+ lines like the sample above.
Current Scenario
Currently I am parsing the above data and converting it to objects and saving to MongoDB in an array of the objects. Something like below
{ PK: '1',
title: '$',
year: '1971',
length: '121',
budget: 'NA',
rating: '6.4',
votes: '348',
r1: '4.5',
r2: '4.5',
r3: '4.5',
r4: '4.5',
r5: '14.5',
r6: '24.5',
r7: '24.5',
r8: '14.5',
r9: '4.5',
r10: '4.5',
mpaa: '',
Action: '0',
Animation: '0',
Comedy: '1',
Drama: '1',
Documentary: '0',
Romance: '0',
Short: '0' }
{ PK: '2',
title: '$1000 a Touchdown',
year: '1939',
length: '71',
budget: 'NA',
rating: '6',
votes: '20',
r1: '0',
r2: '14.5',
r3: '4.5',
r4: '24.5',
r5: '14.5',
r6: '14.5',
r7: '14.5',
r8: '4.5',
r9: '4.5',
r10: '14.5',
mpaa: '',
Action: '0',
Animation: '0',
Comedy: '1',
Drama: '0',
Documentary: '0',
Romance: '0',
Short: '0' }
Although, when I upload the file I receive the Document exceeds maximum allowed bson size of 16777216 bytes error.
I tried using GridFS. The file is getting uploaded and the chunks are prepared fine as well. But, I am not sure if I can retrieve the data back as an array of objects.
I need to retrieve all the data to crunch and create some analysis.
The CSV file is one source of data. Another source would be getting data from a web service on a proprietary system where the same process is followed.
Question
I think there is a flaw in the data model and in the way I am saving the data to MongoDB. If yes, then what is the optimal way to handle the large amount of data.
Would really appreciate any help.
I have set up a small embedded linux that uses busybox. I am facing a problem of which I'm not sure if its caused by busybox or the kernel.
The problem is, that the init process does not have process ID 1. Heres the output of ps:
1 root 0:26 [swapper/0]
2 root 0:00 [kthreadd]
3 root 0:00 [ksoftirqd/0]
4 root 0:00 [kworker/0:0]
5 root 0:00 [kworker/0:0H]
6 root 0:00 [kworker/u4:0]
7 root 0:00 [rcu_preempt]
8 root 0:00 [rcu_sched]
...
549 root 0:00 {linuxrc} init
...
I guess the other processes before init are all kernel processes. The reason why this is a problem is that orphaned processes are given the parent process ID 1, which should be the init process, but now this swapper process is receiving them all.
I noticed that something is going wrong when I observed a lot of zombie processes.
So somehow either init must be forced to PID 1, or orphaned processes must be assigned to the correct init PID.
Does anyone have an idea how to do that?
Thanks a lot!
Update: Some more information on my setup
The target is an ARM board with a Xilinx Zynq chip. I was using the Xilinx linux Kernel, and compiled busybox myself (v1.20.2).
The command line is:
ramdisk_size=65536 console=ttyPS0,115200 earlyprintk
Here are the bootlogs up to the moment that the init script is started:
Uncompressing Linux... done, booting the kernel.
[ 0.000000] Booting Linux on physical CPU 0x0
[ 0.000000] Linux version 3.13.0-xilinx (cone#cone-ubuntu) (gcc version 4.8.1 (Sourcery CodeBench Lite 2013.11-53) ) #5 SMP PREEMPT Sun J4
[ 0.000000] CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Xilinx Zynq
[ 0.000000] bootconsole [earlycon0] enabled
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] PERCPU: Embedded 8 pages/cpu #c101e000 s10176 r8192 d14400 u32768
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 130048
[ 0.000000] Kernel command line: ramdisk_size=65536 console=ttyPS0,115200 earlyprintk
[ 0.000000] PID hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.000000] Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.000000] Memory: 501272K/524288K available (4781K kernel code, 307K rwdata, 1692K rodata, 197K init, 5345K bss, 23016K reserved, 0K hi)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xfff00000 - 0xfffe0000 ( 896 kB)
[ 0.000000] vmalloc : 0xe0800000 - 0xff000000 ( 488 MB)
[ 0.000000] lowmem : 0xc0000000 - 0xe0000000 ( 512 MB)
[ 0.000000] pkmap : 0xbfe00000 - 0xc0000000 ( 2 MB)
[ 0.000000] modules : 0xbf000000 - 0xbfe00000 ( 14 MB)
[ 0.000000] .text : 0xc0008000 - 0xc065a600 (6474 kB)
[ 0.000000] .init : 0xc065b000 - 0xc068c7c0 ( 198 kB)
[ 0.000000] .data : 0xc068e000 - 0xc06dac78 ( 308 kB)
[ 0.000000] .bss : 0xc06dac84 - 0xc0c13230 (5346 kB)
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] RCU lockdep checking is enabled.
[ 0.000000] Dump stacks of tasks blocking RCU-preempt GP.
[ 0.000000] RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
[ 0.000000] NR_IRQS:16 nr_irqs:16 16
[ 0.000000] ps7-slcr mapped to e0802000
[ 0.000000] zynq_clock_init: clkc starts at e0802100
[ 0.000000] Zynq clock init
[ 0.000000] sched_clock: 32 bits at 325MHz, resolution 3ns, wraps every 13215283196ns
[ 0.000000] ps7-ttc #0 at e0804000, irq=43
[ 0.000000] Console: colour dummy device 80x30
[ 0.000000] Lock dependency validator: Copyright (c) 2006 Red Hat, Inc., Ingo Molnar
[ 0.000000] ... MAX_LOCKDEP_SUBCLASSES: 8
[ 0.000000] ... MAX_LOCK_DEPTH: 48
[ 0.000000] ... MAX_LOCKDEP_KEYS: 8191
[ 0.000000] ... CLASSHASH_SIZE: 4096
[ 0.000000] ... MAX_LOCKDEP_ENTRIES: 16384
[ 0.000000] ... MAX_LOCKDEP_CHAINS: 32768
[ 0.000000] ... CHAINHASH_SIZE: 16384
[ 0.000000] memory used by lock dependency info: 3695 kB
[ 0.000000] per task-struct memory footprint: 1152 bytes
[ 13.207599] Calibrating delay loop... 1292.69 BogoMIPS (lpj=6463488)
[ 13.207606] pid_max: default: 32768 minimum: 301
[ 13.207607] Mount-cache hash table entries: 512
[ 13.207609] CPU: Testing write buffer coherency: ok
[ 13.207610] CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
[ 13.207611] Setting up static identity map for 0x489b98 - 0x489bf0
[ 13.207612] L310 cache controller enabled
[ 13.207613] l2x0: 8 ways, CACHE_ID 0x410000c8, AUX_CTRL 0x72760000, Cache size: 512 kB
[ 13.207627] CPU1: Booted secondary processor
[ 13.207641] CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
[ 13.207642] Brought up 2 CPUs
[ 13.207644] SMP: Total of 2 processors activated.
[ 13.207644] CPU: All CPU(s) started in SVC mode.
[ 13.207646] devtmpfs: initialized
[ 13.207647] VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
[ 13.207650] regulator-dummy: no parameters
[ 13.207651] NET: Registered protocol family 16
[ 13.207651] DMA: preallocated 256 KiB pool for atomic coherent allocations
[ 13.207654] cpuidle: using governor ladder
[ 13.207654] cpuidle: using governor menu
[ 13.207658] syscon f8000000.ps7-slcr: regmap [mem 0xf8000000-0xf8000fff] registered
[ 13.207660] hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
[ 13.207662] hw-breakpoint: maximum watchpoint size is 4 bytes.
[ 13.207663] zynq-ocm f800c000.ps7-ocmc: ZYNQ OCM pool: 256 KiB # 0xe0880000
[ 13.207672] bio: create slab <bio-0> at 0
[ 13.207674] vgaarb: loaded
[ 13.207674] SCSI subsystem initialized
[ 13.207675] usbcore: registered new interface driver usbfs
[ 13.207676] usbcore: registered new interface driver hub
[ 13.207677] usbcore: registered new device driver usb
[ 13.207678] media: Linux media interface: v0.10
[ 13.207679] Linux video capture interface: v2.00
[ 13.207680] pps_core: LinuxPPS API ver. 1 registered
[ 13.207681] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti#linux.it>
[ 13.207682] PTP clock support registered
[ 13.207683] EDAC MC: Ver: 3.0.0
[ 13.207685] DMA-API: preallocated 4096 debug entries
[ 13.207686] DMA-API: debugging enabled by kernel config
[ 13.207687] Switched to clocksource arm_global_timer
[ 13.207696] NET: Registered protocol family 2
[ 13.207697] TCP established hash table entries: 4096 (order: 2, 16384 bytes)
[ 13.207698] TCP bind hash table entries: 4096 (order: 5, 147456 bytes)
[ 13.207699] TCP: Hash tables configured (established 4096 bind 4096)
[ 13.207700] TCP: reno registered
[ 13.207701] UDP hash table entries: 256 (order: 2, 20480 bytes)
[ 13.207702] UDP-Lite hash table entries: 256 (order: 2, 20480 bytes)
[ 13.207703] NET: Registered protocol family 1
[ 13.207704] RPC: Registered named UNIX socket transport module.
[ 13.207705] RPC: Registered udp transport module.
[ 13.207706] RPC: Registered tcp transport module.
[ 13.207707] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 13.207708] Trying to unpack rootfs image as initramfs...
[ 13.207709] rootfs image is not initramfs (no cpio magic); looks like an initrd
[ 13.207717] Freeing initrd memory: 6004K (df551000 - dfb2e000)
[ 13.207718] hw perfevents: enabled with ARMv7 Cortex-A9 PMU driver, 7 counters available
[ 13.207722] jffs2: version 2.2. (NAND) (SUMMARY) © 2001-2006 Red Hat, Inc.
[ 13.207723] msgmni has been set to 990
[ 13.207724] io scheduler noop registered
[ 13.207724] io scheduler deadline registered
[ 13.207725] io scheduler cfq registered (default)
[ 13.207728] dma-pl330 f8003000.ps7-dma: unable to set the seg size
[ 13.207729] dma-pl330 f8003000.ps7-dma: Loaded driver for PL330 DMAC-2364208
[ 13.207731] dma-pl330 f8003000.ps7-dma: DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
[ 13.207733] e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 82, base_baud = 3125000) is a xuartps
[ 13.207734] console [ttyPS0] enabled
[ 13.207734] console [ttyPS0] enabled
[ 13.207735] bootconsole [earlycon0] disabled
[ 13.207735] bootconsole [earlycon0] disabled
[ 13.207737] xdevcfg f8007000.ps7-dev-cfg: ioremap 0xf8007000 to e0866000
[ 13.207743] brd: module loaded
[ 13.207746] loop: module loaded
[ 13.207748] zynq-qspi e000d000.ps7-qspi: master is unqueued, this is deprecated
[ 13.207749] zynq-qspi e000d000.ps7-qspi: at 0xE000D000 mapped to 0xE0868000, irq=51
[ 13.207752] e1000e: Intel(R) PRO/1000 Network Driver - 2.3.2-k
[ 13.207753] e1000e: Copyright(c) 1999 - 2013 Intel Corporation.
[ 13.207754] libphy: XEMACPS mii bus: probed
[ 13.207755] xemacps e000b000.ps7-ethernet: pdev->id -1, baseaddr 0xe000b000, irq 54
[ 13.207757] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 13.207758] ehci-pci: EHCI PCI platform driver
[ 13.207759] ULPI transceiver vendor/product ID 0x0424/0x0007
[ 13.207760] Found SMSC USB3320 ULPI transceiver.
[ 13.207761] ULPI integrity check: passed.
[ 13.207761] zynq-ehci zynq-ehci.0: Xilinx Zynq USB EHCI Host Controller
[ 13.207763] zynq-ehci zynq-ehci.0: new USB bus registered, assigned bus number 1
[ 13.207769] zynq-ehci zynq-ehci.0: irq 53, io mem 0x00000000
[ 13.207772] zynq-ehci zynq-ehci.0: USB 2.0 started, EHCI 1.00
[ 13.207773] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 13.207774] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 13.207775] usb usb1: Product: Xilinx Zynq USB EHCI Host Controller
[ 13.207776] usb usb1: Manufacturer: Linux 3.13.0-xilinx ehci_hcd
[ 13.207777] usb usb1: SerialNumber: zynq-ehci.0
[ 13.207779] hub 1-0:1.0: USB hub found
[ 13.207779] hub 1-0:1.0: 1 port detected
[ 13.207781] usbcore: registered new interface driver usb-storage
[ 13.207782] mousedev: PS/2 mouse device common for all mice
[ 13.207783] i2c /dev entries driver
[ 13.207784] cdns-i2c e0004000.ps7-i2c: 400 kHz mmio e0004000 irq 57
[ 13.207787] xadcps f8007100.ps7-xadc: enabled: yes reference: external
[ 13.207788] cdns-wdt f8005000.ps7-wdt: Xilinx Watchdog Timer at e0876000 with timeout 10s
[ 13.207790] zynq-edac f8006000.ps7-ddrc: ecc not enabled
[ 13.207791] Xilinx Zynq CpuIdle Driver started
[ 13.207590] sdhci: Secure Digital Host Controller Interface driver
[ 13.207591] sdhci: Copyright(c) Pierre Ossman
[ 13.207592] sdhci-pltfm: SDHCI platform and OF driver helper
[ 13.207593] sdhci-arasan e0100000.ps7-sdio: dummy supplies not allowed
[ 13.207594] mmc0: no vqmmc regulator found
[ 13.207595] sdhci-arasan e0100000.ps7-sdio: dummy supplies not allowed
[ 13.207596] mmc0: no vmmc regulator found
[ 13.207603] mmc0: SDHCI controller on e0100000.ps7-sdio [e0100000.ps7-sdio] using ADMA
[ 13.207608] usbcore: registered new interface driver usbhid
[ 13.207608] usbhid: USB HID core driver
[ 13.207609] TCP: cubic registered
[ 13.207610] NET: Registered protocol family 17
[ 13.207611] Registering SWP/SWPB emulation handler
[ 13.207612] drivers/rtc/hctosys.c: unable to open rtc device (rtc0)
[ 13.207614] mmc0: new high speed SDHC card at address 59b4
[ 13.207615] mmcblk0: mmc0:59b4 USD 14.7 GiB
[ 13.207617] mmcblk0: p1 p2
[ 13.207618] RAMDISK: gzip image found at block 0
[ 13.207691] usb 1-1: new high-speed USB device number 2 using zynq-ehci
[ 13.207707] VFS: Mounted root (ext2 filesystem) on device 1:0.
Starting rcS...
#sawdust: I don't have a /init file. I think /linuxrc is the first thing that is executed, and that is just a symlink to busybox.
I think I solved the problem. Apparently, adding root=/dev/ram to the boot parameters does the trick. I saw that being recommended somewhere online, but I can't find the link anymore. I'm not entirely sure why this is necessary, but it works :-)