IRC logs for #cip for Thursday, 2018-05-31

*** rajm has joined #cip07:15
* rajm runs a successful BBB health check with email to the list07:54
*** toscalix has joined #cip07:54
*** vidda_ has joined #cip08:46
*** moxavictor has joined #cip08:51
szlinThe meeting will be started after 5 minutes08:55
*** Tzongyen_Lin has joined #cip08:55
szlin#startmeeting09:00
szlin#topic roll call09:00
gavinlaihi09:00
szlinplease say hi if you're in this meeting09:00
moxavictorhi09:00
szlin._./~\09:00
vidda_hi09:00
Tzongyen_Linhi09:00
bwhhi09:00
szlin#topic kernel patch review update09:01
weshuanghi09:01
szlinMoxa team is still reviewing patch 4.4.13009:02
toscalixhi09:02
szlinwe do have some questions while reivewing it09:02
szlingavinlai: please go ahead09:03
gavinlaiI have two questions09:03
rajmhi (sorry I'm late)09:03
gavinlaiwhen we review the code, do we need to write some code to test them? I'm not very confident to just 'review' it09:04
gavinlaithe second question is: If a bug needs time to reproduce or hard to reproduce, how do we make sure the bug is fixed correctly?09:04
bwhgavinlai: If you want to, you could write a test. In some cases there is a relevant selftest in the kernel (maybe only upstream, not in 4.4)09:05
szlinsometime we need to backport the selftest first if there are not in the 4.409:06
bwhGenerally I think we should assume that the fix was tested when the patch was originally applied. And we are looking for reasons why that fix might not be valid for 4.4, or might cause regressions.09:06
gavinlaiA friend told me I can put functions into userspace. And, input all kinds of input to function to verify the function is robust.09:08
bwhszlin: Well maybe, but that isn't being done consistently. I generally use the selftests from the current upstream kernel with minimal changes09:08
gavinlaiIs that a good way to test the functions?09:09
bwhThose will produce lots of failures due to missing features in the older version I'm looking at, but I can still test for regressions09:09
bwhgavinlai: It really depends on what is being fixed. Only a few parts of the kernel have good selftests.09:09
szlinbwh: I see, thanks.09:11
bwhgavinlai: Sorry, I missed your previous comment ("A friend tod me ...")09:11
bwhYes, that can work for some functions where you can easily isolate inputs and outputs09:11
gavinlai A friend told me I can put functions into userspace.09:11
gavinlaiAnd, input all kinds of input to function to verify the function is robust.09:11
*** HarryYJ_Jhou has joined #cip09:13
gavinlaiIf a feature is lack of selftests, is there any good way to verify them?09:14
bwhIn some cases there are external tests like LTP and xfstests (which is for all filesystems, not just xfs)09:14
bwhBut those can take a long time to set up and run09:15
moxavictorI have a question. Now we review kernel foundation to CIP. Some day foundation does not maintion version 4.4. How we review the applied code OK or fail ?09:15
bwhmoxavictor: It's really just Greg, not the Linux Foundation (even though they employ him). CIP will have to take over Greg's role too.09:16
bwhThere are scripts for maintaining stable branches - Greg K-H, Alexander Levin and I have published ours09:17
moxavictorDo we need to test CIP kernel ?09:18
toscalixyes09:18
toscalixmoxavictor: you will catch bugs09:18
szlinNow rajm is testing CIP kernel via kernelci & lava09:18
szlinhttps://wiki.linuxfoundation.org/civilinfrastructureplatform/ciptesting09:18
toscalixsome of them due to platform specific patches applied only to the CIP kernel but other also affecting 4.4 or even other versions09:19
rajmindeed - we've just had a fire practice - sorry if there was a delay here!09:19
bwhRight, but rajm is mostly occupied just keeping the automation going. We need to add test cases/test suites09:19
toscalixbwh: is correct, we are in need to adding tests and inspecting results for CIP specific platforms09:19
toscalixI would love to see us also helping upstream in evaluating the bugs out of kernelci09:20
toscalixin kernelci.org for 4.4-stable on BBB09:20
toscalixor even add renesas board to that pull09:20
toscalixRenesas is working with the Linux Foundation in our own kernelci set up09:21
toscalixwe can do it there and help upstream at the same time09:21
szlinAFAIK, Daniel from Toshiba had used LTP to test kernel09:21
toscalixhaving a lab in Moxa facilities09:21
moxavictorThe testing need hardware. Could we offer some hardware and let tester remote to test it ?09:21
toscalixwith CIP platforms09:21
szlinand he had sent some patches afterwards.09:21
toscalixmoxavictor: the first point is to include your hardware as CIP hardware09:22
toscalixwhich will require that you include the hardware support updtream09:22
toscalixwe had a meeting a while back about it09:22
toscalixwe would love to have Moxa hardware as an official CIP platform. I assume that is a great movivation for Moxa to join as well09:23
toscalixthere is just some homework to be done to reach that point09:24
toscalixjust like Renesas did09:24
moxavictorGood. We also like to be a CIP hardware.09:24
szlinany questions?09:24
moxavictorI have a question09:25
szlinbwh: How do you think with Kernel Self Protection Project?09:26
moxavictorI mean if Moxa platform is a CIP hardware, and put it In Taiwan, can you remote to control and test it ?09:26
bwhszlin: It's good, but hard to backport the features it's adding so it will be more useful to the next CIP kernel branch09:27
toscalixrajm: is the LAVA guy, I will let him answer the question09:27
rajmthe question - abt remote control? the existing setup with b@d is very much a local environment09:29
szlinbwh: thanks.09:29
moxavictoryes09:29
toscalixbut the set up Renesas is building for CIP is similar to AGL one, based on kernelci.org09:30
toscalixin that set up, labs are distributed09:30
toscalixand developers can access those labs remotely and execute tests09:30
moxavictoryes, do we want to create it ?09:31
toscalixso yes, you will be able to have the hardware at your office and have developers around the world accessing to it to test09:31
toscalixit will be up to Moxa to decide if you want to create your own lab or not and report results to the CIP dashboard09:31
toscalixat Codethink, we will try to work on adapting B@D to the CIP set up so you ca publish the results you get locally without needing to set up a lab09:32
moxavictoryou can remote to get the testing report09:32
toscalixyes you can09:33
toscalixbut you can also restrict what you share09:33
szlinNext step we will setup the B@D.09:33
toscalixB@D is meant to be cheap and easy to maintain, a development resource, not a delivery (QA) resource09:34
toscalixbut you guys are used to the concept of a lab since you manufacture hardware, so I guess you will welcome both09:34
szlinIndeed09:35
toscalixIt will not surprise me if you end up setting your own internal kernelci service, like other big companies have09:35
szlinany questions?09:36
szlin#topic Miscellaneous09:36
moxavictorI want to offer some hardware to let some people to test it.09:36
szlintoscalix: as victor mentioned, we will follow the procedure and to let our board become CIP board.09:37
moxavictorCould I ask a question about kernel graphic device driver ?09:37
moxavictorNow I try i.MX8MQ EVK to start XWindows. But I run startx to get a error "No screen found". What happens it ?09:39
moxavictorI can enable text mode login terminal by HDMI monitor.09:40
bwhmoxavictor: There are many reasons why they could happen. I don't think it makes sense to debug in this meeting09:40
szlinany questions?09:41
moxavictoryes, I know, Could I talk with you some where ?09:41
moxavictorThanks09:41
bwhmoxavictor: After the meeting09:42
bwhhjere09:42
szlin#endmeeting09:42
moxavictorOK. Thank you.09:42
* szlin thank you all for attending this meeting09:42
toscalixbye09:42
gavinlaithanks09:42
Tzongyen_Lin thanks09:42
*** Tzongyen_Lin has quit IRC09:43
bwhthanks09:43
rajmty09:43
moxavictorbwh: could we talk about my graphic issue at now ?09:43
bwhmoxavictor: Firstly, is the X server properly installed? You need the core X server and video and input drivers for your devices09:44
moxavictorYes, I install it.09:44
bwhIf you use startx, then the X server might need to be installed setuid09:44
moxavictorsetuid ? a utility ?09:44
bwhIt should have the setuid file attribute09:45
moxavictorI run the same process in another board TI AM437x EVK OK.09:46
bwh(but this isn't always needed, and the X server is usually run as non-root now, which is good)09:46
moxavictorI try fbtest OK.09:46
moxavictorI got a device node /dev/fb0.09:46
bwhOK, well there should be a log file in either /var/log/Xorg.0.log or ~/.local/share/xorg/Xorg.0.log09:46
moxavictorYes. It has09:47
bwhand that should give you some details of what went wrong09:47
moxavictorOK. I post it.09:47
moxavictor(II) LoadModule: "fbdevhw"09:48
moxavictor[    25.094] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so09:48
moxavictor[    25.095] (II) Module fbdevhw: vendor="X.Org Foundation"09:48
moxavictor[    25.096]    compiled for 1.19.2, module version = 0.0.209:48
moxavictor[    25.096]    ABI class: X.Org Video Driver, version 23.009:48
moxavictor[    25.096] (EE) No devices detected.09:48
moxavictor[    25.096] (EE)09:48
moxavictorFatal server error:09:48
moxavictor[    25.096] (EE) no screens found(EE)09:49
moxavictor[    25.096] (EE)09:49
bwhThat's all?09:49
moxavictorNO.09:49
moxavictor[    24.965] X Protocol Version 11, Revision 009:49
moxavictor[    24.965] Build Operating System: Linux 4.9.0-4-arm64 aarch64 Debian09:49
moxavictor[    24.965] Current Operating System: Linux imx8m 4.9.80-rt62-victor+ #9 SMP Th09:49
moxavictoru May 31 14:19:25 HKT 2018 aarch6409:49
moxavictor[    24.965] Kernel command line: console=ttymxc0,115200 root=/dev/mmcblk1p2 roo09:49
moxavictortfstype=ext4 rootwait rw cma=800M video=HDMI-A-1:1920x1080-32@6009:49
moxavictor[    24.965] Build Date: 16 October 2017  08:11:43AM09:49
moxavictor[    24.965] xorg-server 2:1.19.2-1+deb9u2 (https://www.debian.org/support)09:49
moxavictor[    24.965] Current version of pixman: 0.34.009:49
moxavictor[    24.965]    Before reporting problems, check http://wiki.x.org09:50
moxavictor        to make sure that you have the latest version.09:50
moxavictor[    24.965] Markers: (--) probed, (**) from config file, (==) default setting,09:50
moxavictor        (++) from command line, (!!) notice, (II) informational,09:50
moxavictor        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.09:50
moxavictor[    24.965] (==) Log file: "/var/log/Xorg.0.log", Time: Thu May 31 16:22:44 20109:50
moxavictor809:50
moxavictor[    24.972] (==) Using system config directory "/usr/share/X11/xorg.conf.d"09:50
moxavictor[    24.975] (==) No Layout section.  Using the first Screen section.09:50
moxavictor[    24.975] (==) No screen section available. Using defaults.09:50
moxavictor[    24.976] (**) |-->Screen "Default Screen Section" (0)09:50
moxavictor[    24.976] (**) |   |-->Monitor "<default monitor>"09:50
moxavictor[    24.979] (==) No monitor specified for screen "Default Screen Section".09:50
moxavictor        Using a default monitor configuration.09:50
moxavictor[    24.979] (==) Automatically adding devices09:50
moxavictor[    24.979] (==) Automatically enabling devices09:50
moxavictor[    24.979] (==) Automatically adding GPU devices09:50
moxavictor[    24.979] (==) Max clients allowed: 256, resource mask: 0x1fffff09:50
moxavictor[    24.989] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.09:50
moxavictor[    24.989]    Entry deleted from font path.09:50
moxavictor[    25.000] (==) FontPath set to:09:50
moxavictor        /usr/share/fonts/X11/misc,09:50
moxavictor        /usr/share/fonts/X11/100dpi/:unscaled,09:50
moxavictor        /usr/share/fonts/X11/75dpi/:unscaled,09:50
moxavictor        /usr/share/fonts/X11/Type1,09:51
moxavictor        /usr/share/fonts/X11/100dpi,09:51
moxavictor        /usr/share/fonts/X11/75dpi,09:51
moxavictor        built-ins09:51
moxavictor[    25.000] (==) ModulePath set to "/usr/lib/xorg/modules"09:51
moxavictor[    25.000] (II) The server relies on udev to provide the list of input devices09:51
moxavictor.09:51
moxavictor        If no devices become available, reconfigure udev or disable AutoAddDevic09:51
moxavictores.09:51
moxavictor[    25.000] (II) Loader magic: 0xaaaad7488dc809:51
moxavictor[    25.000] (II) Module ABI versions:09:51
moxavictor[    25.000]    X.Org ANSI C Emulation: 0.409:51
moxavictor[    25.000]    X.Org Video Driver: 23.009:51
moxavictor[    25.000]    X.Org XInput driver : 24.109:51
moxavictor[    25.000]    X.Org Server Extension : 10.009:51
moxavictor[    25.002] (--) using VT number 209:51
moxavictor[    25.002] (II) systemd-logind: logind integration requires -keeptty and -keep09:51
moxavictortty was not provided, disabling logind integration09:51
moxavictor[    25.003] (II) xfree86: Adding drm device (/dev/dri/card1)09:51
moxavictor[    25.004] (II) xfree86: Adding drm device (/dev/dri/card0)09:51
moxavictor[    25.006] (II) no primary bus or device found09:51
moxavictor[    25.006]    falling back to /sys/devices/platform/38000000.gpu/drm/card109:51
moxavictor[    25.006] (II) LoadModule: "glx"09:51
moxavictor[    25.009] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so09:51
moxavictor[    25.045] (II) Module glx: vendor="X.Org Foundation"09:52
moxavictor[    25.045]    compiled for 1.19.2, module version = 1.0.009:52
moxavictor[    25.045]    ABI class: X.Org Server Extension, version 10.009:52
moxavictor[    25.046] (==) Matched modesetting as autoconfigured driver 009:52
moxavictor[    25.046] (==) Matched fbdev as autoconfigured driver 109:52
moxavictor[    25.046] (==) Assigned the driver to the xf86ConfigLayout09:52
moxavictor[    25.046] (II) LoadModule: "modesetting"09:52
moxavictor[    25.046] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so09:52
moxavictor[    25.049] (II) Module modesetting: vendor="X.Org Foundation"09:52
moxavictor[    25.049]    compiled for 1.19.2, module version = 1.19.209:52
moxavictor[    25.049]    Module class: X.Org Video Driver09:52
moxavictor[    25.049]    ABI class: X.Org Video Driver, version 23.009:52
moxavictor[    25.049] (II) LoadModule: "fbdev"09:52
moxavictor[    25.049] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so09:52
moxavictor[    25.051] (II) Module fbdev: vendor="X.Org Foundation"09:52
moxavictor[    25.051]    compiled for 1.19.0, module version = 0.4.409:52
moxavictor[    25.051]    Module class: X.Org Video Driver09:52
moxavictor[    25.051]    ABI class: X.Org Video Driver, version 23.009:52
moxavictor[    25.051] (II) modesetting: Driver for Modesetting Kernel Drivers: kms09:52
moxavictor[    25.051] (II) FBDEV: driver for framebuffer: fbdev09:52
moxavictor[    25.089] (II) modeset(G0): using drv /dev/dri/card009:52
moxavictor[    25.089] (WW) Falling back to old probe method for fbdev09:52
moxavictor[    25.089] (II) Loading sub module "fbdevhw"09:52
moxavictor[    25.089] (II) LoadModule: "fbdevhw"09:52
moxavictor[    25.094] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so09:53
szlinmoxavictor: you can post log into here -> https://pastebin.com09:53
moxavictor[    25.095] (II) Module fbdevhw: vendor="X.Org Foundation"09:53
moxavictor[    25.096]    compiled for 1.19.2, module version = 0.0.209:53
moxavictor[    25.096]    ABI class: X.Org Video Driver, version 23.009:53
moxavictor[    25.096] (EE) No devices detected.09:53
moxavictor[    25.096] (EE)09:53
moxavictorFatal server error:09:53
moxavictor[    25.096] (EE) no screens found(EE)09:53
moxavictor[    25.096] (EE)09:53
moxavictorPlease consult the The X.Org Foundation support09:53
moxavictor         at http://wiki.x.org09:53
moxavictor for help.09:53
moxavictor[    25.096] (EE) Please also check the log file at "/var/log/Xorg.0.log" for ad09:53
moxavictorditional information.09:53
moxavictor[    25.096] (EE)09:53
moxavictor[    25.201] (EE) Server terminated with error (1). Closing log file.09:53
moxavictorthat's all09:53
moxavictorany idea ?09:53
moxavictorOK.09:53
bwhI notice there's a /dev/dri/card0 and card1. Why two?09:54
moxavictorI have the same question09:55
bwh:-)09:55
bwhand the server appears to only try to use /dev/dri/card0, but maybe it should be using card109:55
moxavictorThis board can support HDMI and another interface09:57
bwhYes, but there arne't normally multiple device nodes for multiple outputs09:58
moxavictorI view /sys/class/drm has directory following :09:58
moxavictorcard0  card0-HDMI-A-1  card1  controlD64  renderD128  version09:59
moxavictorThere are card0 & card1 ?09:59
bwhOK, so that confirms that card0 actually has the HDMI connector09:59
bwhWhat do "readlink /sys/class/drm/card0/device/driver" and the same with card1, say?10:00
moxavictorI can normal tty1 ~ tty6 in HDMI10:00
moxavictorNO10:02
moxavictorcard0 is linked to gpu device driver10:02
moxavictorcard1 is linked to galcore device driver10:02
bwhgalcore is the Vivante GPU driver, no?10:05
moxavictorI know i.MX is usually to use galcore10:06
moxavictorbut the i.MX8 is a new SoC10:06
moxavictorI am not sure it is still to use galcore10:07
moxavictormay it duplicate the device driver ?10:10
moxavictorI mean that it should use one driver galcore or gpu ?10:10
bwhI'm not familiar with this hardware, but isn't the first driver for the display engine, not the GPU?10:11
bwhIf those are two separate IP blocks it seems to be common to have two separate drivers for them10:13
moxavictoryes10:13
moxavictorOk. Thank your help. I go to get more information.10:15
moxavictorDo you usually in this channel ?10:15
moxavictorCould I discuss with you here after ?10:16
moxavictorOr where I can discuss with you ?10:16
moxavictorbwh: Bye. See you next time. Thanks.10:18
bwhSorry, had to go away from the computer.10:21
bwhI'm always on this channel, but not necessarily at the computer10:21
moxavictorbwh: that's OK.10:24
*** vidda_ has quit IRC10:34
*** weshuang has quit IRC11:45
*** weshuang has joined #cip11:56
*** tpollard has quit IRC12:02
*** tpollard has joined #cip12:07
*** tpollard has quit IRC13:46
*** tpollard has joined #cip13:53
*** toscalix has quit IRC14:24
*** toscalix has joined #cip14:25
*** rajm has quit IRC14:30
*** rajm has joined #cip14:44
*** rajm has quit IRC14:52
*** rajm has joined #cip15:14
*** rajm has quit IRC15:47
*** toscalix has quit IRC17:09

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!