How to set up the proxy with TX2 Flashing finished

Hi,

When I install the JetPack 3 into my TX2 board, after the step flashing the TX2 board, it reboots and connected to the router, how to setup the proxy for the TX2? Or else it would fail connecting to the external internet? I don’t know how to do it, it is stuck here, I can’t move on. Thanks for the help ahead.

I have a Fedora host so I can’t use JetPack…I manually get the URLs for the package and then use wget to download and manually copy/install packages. However, the Jetson will always use DHCP to ask the router for an address, and this should set up routes. Do you have an additional proxy in addition to your router (and is the host PC the router, or do you have a separate router)? To some extent network setup should be agnostic of whether it is a Jetson or any other Ubuntu system.

It souonds like lu_cao is inside a corporate/enterprise network, where a proxy needs to be used to access the internet.
The corporate firewall may or may not allow SSH connections to the outside world.

For the apt package manager to get to the rest of the world, try this:
https://askubuntu.com/questions/158557/setting-proxy-from-terminal
You should be able to download jetpack using this mechanism, on the host.
The Jetson Flash mechanism will only pull data from the host.
Once the Jetson is up and running, you have to connect to the Jetson (or log in on a display/keyboard) to configure this file to set up the proxy information for apt on the Jetson itself.

If you’re using some older kind of proxy tech, such as a SOCKS server, I think you’ll have to do a fair bit of Googling to get that to work.
The main thing to realize is that the host needs to have a proxy setup to download and install Jetpack, then you can flash the Jetson without the Jetson being on internet (only connected to the same network as the host); then you can configure the Jetson.

If you’re on a super-locked-down network, where each network connection needs authentication (802.1x or similar,) then you will probably have a really hard time to get the Ethernet connection to work. In that case, set up a small local LAN on a cheap hub, and connect your host and Jetson to that hub, and perhaps run a DHCP server on the host itself for that little LAN.)

Hello, this could be help.

But i have another problem after finishing flashing TX2, after it reboots, the monitor would display it would use low performance graphic mode, then it would be keeping display:

[xxxxxxxxx] tegradc 152100000.nvdisplay: unblank

And there is no other display, if I reset, and use ctrl + Alt + F1, sometimes it would enter into the login, but often i can’t type into any characters to the usr name.

I don’t know how to solve it. thanks very much for advices.

What kind of cable is used with the monitor, and are there any adapters between?

Do you have EDID/DDC data? What is the output from this:

sudo cat /sys/kernel/debug/tegradc.1/edid

I used a HDMI/DVI apter to connect to the DVI interface of my monitor, and the output from the edid file after I ran the command you listed above by the serial console:

ubuntu@tegra-ubuntu:/sys/kernel$ sudo cat debug/tegradc.1/edid
00 ff ff ff ff ff ff 00 10 ac 72 40 53 41 46 4a
24 17 01 03 80 33 1d 78 ea 6e a5 a3 54 4f 9f 26
11 50 54 a5 4b 00 71 4f 81 80 d1 c0 01 01 01 01
01 01 01 01 01 01 02 3a 80 18 71 38 2d 40 58 2c
45 00 fe 1f 11 00 00 1e 00 00 00 ff 00 58 46 59
4e 36 33 39 32 4a 46 41 53 0a 00 00 00 fc 00 44
45 4c 4c 20 55 32 33 31 32 48 4d 0a 00 00 00 fd
00 38 4c 1e 53 11 00 0a 20 20 20 20 20 20 00 d9
ubuntu@tegra-ubuntu:/sys/kernel$

what next should i do to solve the display problem? Thanks

The EDID data is present and valid. EDID itself is not a reason for failure, although it doesn’t mean the driver will accept the modes of the monitor.

In “/etc/X11/xorg.conf”, look for ‘Section “Device”’. Near the end of this add this option:

Option     "ModeDebug"

Reboot, and post the resulting “/var/log/Xorg.0.log”. You may want to post the log before doing anything other than booting, and then another copy after you’ve attempted going to console and back with the ctrl+alt+F2/ctrl-alt-F1. The logs will be long, use the “</>” “code block” icon at the upper right of your message post to quote it as code and add scrollbars to the logs.

If you run “dmesg --follow” while doing the console/GUI switching, and see something related to the switch, you might post that as well.

Thank you, linuxdev, after I modified the xorg.conf as you listed, the /var/log/Xorg.0.log I can get is like below, it’s quite long, always repeat the last lines like below the end lines.
I can the ubuntu desktop after the reboot, but when i choose to login by typed the password, the display hung there showing the purple blank desktop. And i found i forgot to get the log before doing anything.
Sorry I’m new to the TX2, have lots of problems when start to use.

[    18.172] 
X.Org X Server 1.18.4
Release Date: 2016-07-19
[    18.172] X Protocol Version 11, Revision 0
[    18.172] Build Operating System: Linux 4.4.0-45-generic aarch64 Ubuntu
[    18.172] Current Operating System: Linux tegra-ubuntu 4.4.15-tegra #1 SMP PREEMPT Wed Mar 1 21:09:29 PST 2017 aarch64
[    18.172] Kernel command line: fbcon=map:0 net.ifnames=0 console=tty0 OS=l4t console=ttyS0,115200n8 memtype=0 video=tegrafb no_console_suspend=1 earlycon=uart8250,mmio32,0x03100000 gpt tegraid=18.1.2.0.0 tegra_keep_boot_clocks maxcpus=6 android.kerneltype=normal androidboot.serialno=0335115020673 vpr_resize root=/dev/mmcblk0p1 rw rootwait
[    18.172] Build Date: 02 November 2016  10:05:28PM
[    18.172] xorg-server 2:1.18.4-0ubuntu0.2 (For technical support please see http://www.ubuntu.com/support) 
[    18.172] Current version of pixman: 0.33.6
[    18.172] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[    18.172] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[    18.172] (==) Log file: "/var/log/Xorg.0.log", Time: Fri May  6 05:40:13 2016
[    18.175] (==) Using config file: "/etc/X11/xorg.conf"
[    18.175] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[    18.177] (==) No Layout section.  Using the first Screen section.
[    18.177] (==) No screen section available. Using defaults.
[    18.177] (**) |-->Screen "Default Screen Section" (0)
[    18.177] (**) |   |-->Monitor "<default monitor>"
[    18.177] (==) No device specified for screen "Default Screen Section".
	Using the first device section listed.
[    18.177] (**) |   |-->Device "Tegra0"
[    18.177] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[    18.177] (==) Automatically adding devices
[    18.178] (==) Automatically enabling devices
[    18.178] (==) Automatically adding GPU devices
[    18.178] (==) Max clients allowed: 256, resource mask: 0x1fffff
[    18.179] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[    18.179] 	Entry deleted from font path.
[    18.179] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[    18.179] 	Entry deleted from font path.
[    18.179] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[    18.180] 	Entry deleted from font path.
[    18.180] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[    18.180] 	Entry deleted from font path.
[    18.180] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[    18.180] 	Entry deleted from font path.
[    18.180] (==) FontPath set to:
	/usr/share/fonts/X11/misc,
	/usr/share/fonts/X11/Type1,
	built-ins
[    18.180] (==) ModulePath set to "/usr/lib/aarch64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[    18.180] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[    18.180] (II) Loader magic: 0x5574dccd80
[    18.180] (II) Module ABI versions:
[    18.180] 	X.Org ANSI C Emulation: 0.4
[    18.180] 	X.Org Video Driver: 20.0
[    18.180] 	X.Org XInput driver : 22.1
[    18.180] 	X.Org Server Extension : 9.0
[    18.181] (++) using VT number 7

[    18.181] (II) systemd-logind: logind integration requires -keeptty and -keeptty was not provided, disabling logind integration
[    18.181] (II) no primary bus or device found
[    18.181] (WW) "dri" will not be loaded unless you've specified it to be loaded elsewhere.
[    18.181] (II) "glx" will be loaded by default.
[    18.181] (II) LoadModule: "extmod"
[    18.181] (II) Module "extmod" already built-in
[    18.181] (II) LoadModule: "glx"
[    18.182] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[    18.206] (II) Module glx: vendor="X.Org Foundation"
[    18.206] 	compiled for 1.18.4, module version = 1.0.0
[    18.206] 	ABI class: X.Org Server Extension, version 9.0
[    18.206] (==) AIGLX enabled
[    18.206] (II) LoadModule: "nvidia"
[    18.207] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
[    18.218] (EE) Failed to load /usr/lib/xorg/modules/drivers/nvidia_drv.so: libnvidia-rmapi-tegra.so.27.1.0: cannot open shared object file: No such file or directory
[    18.218] (II) UnloadModule: "nvidia"
[    18.218] (II) Unloading nvidia
[    18.218] (EE) Failed to load module "nvidia" (loader failed, 7)
[    18.218] (==) Matched modesetting as autoconfigured driver 0
[    18.218] (==) Matched fbdev as autoconfigured driver 1
[    18.218] (==) Assigned the driver to the xf86ConfigLayout
[    18.218] (II) LoadModule: "modesetting"
[    18.219] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[    18.225] (II) Module modesetting: vendor="X.Org Foundation"
[    18.225] 	compiled for 1.18.4, module version = 1.18.4
[    18.225] 	Module class: X.Org Video Driver
[    18.225] 	ABI class: X.Org Video Driver, version 20.0
[    18.225] (II) LoadModule: "fbdev"
[    18.225] (II) Loading /usr/lib/xorg/modules/drivers/fbdev_drv.so
[    18.226] (II) Module fbdev: vendor="X.Org Foundation"
[    18.226] 	compiled for 1.18.1, module version = 0.4.4
[    18.226] 	Module class: X.Org Video Driver
[    18.226] 	ABI class: X.Org Video Driver, version 20.0
[    18.226] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[    18.226] (II) FBDEV: driver for framebuffer: fbdev
[    19.249] (WW) Falling back to old probe method for modesetting
[    19.250] (EE) open /dev/dri/card0: No such file or directory
[    19.250] (WW) Falling back to old probe method for fbdev
[    19.250] (II) Loading sub module "fbdevhw"
[    19.250] (II) LoadModule: "fbdevhw"
[    19.251] (II) Loading /usr/lib/xorg/modules/libfbdevhw.so
[    19.252] (II) Module fbdevhw: vendor="X.Org Foundation"
[    19.252] 	compiled for 1.18.4, module version = 0.0.2
[    19.252] 	ABI class: X.Org Video Driver, version 20.0
[    19.252] (II) FBDEV(0): using default device
[    19.252] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[    19.252] (II) FBDEV(0): Creating default Display subsection in Screen section
	"Default Screen Section" for depth/fbbpp 24/32
[    19.252] (==) FBDEV(0): Depth 24, (==) framebuffer bpp 32
[    19.252] (==) FBDEV(0): RGB weight 888
[    19.252] (==) FBDEV(0): Default visual is TrueColor
[    19.252] (==) FBDEV(0): Using gamma correction (1.0, 1.0, 1.0)
[    19.252] (II) FBDEV(0): hardware: tegra_fb (video memory: 73728kB)
[    19.252] (II) FBDEV(0): checking modes against framebuffer device...
[    19.252] (II) FBDEV(0): checking modes against monitor...
[    19.252] (--) FBDEV(0): Virtual size is 1920x1080 (pitch 1920)
[    19.252] (**) FBDEV(0):  Built-in mode "current": 148.5 MHz, 67.5 kHz, 60.0 Hz
[    19.252] (II) FBDEV(0): Modeline "current"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync -csync (67.5 kHz b)
[    19.252] (==) FBDEV(0): DPI set to (96, 96)
[    19.252] (II) Loading sub module "fb"
[    19.252] (II) LoadModule: "fb"
[    19.253] (II) Loading /usr/lib/xorg/modules/libfb.so
[    19.254] (II) Module fb: vendor="X.Org Foundation"
[    19.254] 	compiled for 1.18.4, module version = 1.0.0
[    19.254] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    19.254] (**) FBDEV(0): using shadow framebuffer
[    19.254] (II) Loading sub module "shadow"
[    19.254] (II) LoadModule: "shadow"
[    19.254] (II) Loading /usr/lib/xorg/modules/libshadow.so
[    19.254] (II) Module shadow: vendor="X.Org Foundation"
[    19.254] 	compiled for 1.18.4, module version = 1.1.0
[    19.254] 	ABI class: X.Org ANSI C Emulation, version 0.4
[    19.254] (II) UnloadModule: "modesetting"
[    19.254] (II) Unloading modesetting
[    19.254] (==) Depth 24 pixmap format is 32 bpp
[    21.272] (==) FBDEV(0): Backing store enabled
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.272] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.273] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.274] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (EE) FBDEV(0): FBIOPUTCMAP: Invalid argument
[    21.275] (==) FBDEV(0): DPMS enabled
[    21.275] (==) RandR enabled
[    21.282] (II) SELinux: Disabled on system
[    21.283] (II) AIGLX: Screen 0 is not DRI2 capable
[    21.283] (EE) AIGLX: reverting to software rendering
[    21.470] (II) AIGLX: enabled GLX_MESA_copy_sub_buffer
[    21.471] (II) AIGLX: Loaded and initialized swrast
[    21.471] (II) GLX: Initialized DRISWRAST GL provider for screen 0
[    21.566] (II) config/udev: Adding input device tegra-hda HDMI/DP,pcm=3 (/dev/input/event0)
[    21.566] (II) No input driver specified, ignoring this device.
[    21.566] (II) This device may have been added with another device file.
[    21.566] (II) config/udev: Adding input device tegra-hda HDMI/DP,pcm=7 (/dev/input/event1)
[    21.566] (II) No input driver specified, ignoring this device.
[    21.566] (II) This device may have been added with another device file.
[    21.567] (II) config/udev: Adding input device CHICONY HP Basic USB Keyboard (/dev/input/event4)
[    21.567] (**) CHICONY HP Basic USB Keyboard: Applying InputClass "evdev keyboard catchall"
[    21.567] (II) LoadModule: "evdev"
[    21.567] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
[    21.571] (II) Module evdev: vendor="X.Org Foundation"
[    21.571] 	compiled for 1.18.1, module version = 2.10.1
[    21.571] 	Module class: X.Org XInput Driver
[    21.571] 	ABI class: X.Org XInput driver, version 22.1
[    21.571] (II) Using input driver 'evdev' for 'CHICONY HP Basic USB Keyboard'
[    21.571] (**) CHICONY HP Basic USB Keyboard: always reports core events
[    21.571] (**) evdev: CHICONY HP Basic USB Keyboard: Device: "/dev/input/event4"
[    21.571] (--) evdev: CHICONY HP Basic USB Keyboard: Vendor 0x3f0 Product 0x24
[    21.571] (--) evdev: CHICONY HP Basic USB Keyboard: Found keys
[    21.571] (II) evdev: CHICONY HP Basic USB Keyboard: Configuring as keyboard
[    21.571] (**) Option "config_info" "udev:/sys/devices/3530000.xhci/usb1/1-2/1-2.2/1-2.2:1.0/0003:03F0:0024.0001/input/input4/event4"
[    21.571] (II) XINPUT: Adding extended input device "CHICONY HP Basic USB Keyboard" (type: KEYBOARD, id 6)
[    21.571] (**) Option "xkb_rules" "evdev"
[    21.571] (**) Option "xkb_model" "pc105"
[    21.571] (**) Option "xkb_layout" "us"
[    21.572] (II) config/udev: Adding input device USB Optical Mouse (/dev/input/event5)
[    21.572] (**) USB Optical Mouse: Applying InputClass "evdev pointer catchall"
[    21.572] (II) Using input driver 'evdev' for 'USB Optical Mouse'
[    21.572] (**) USB Optical Mouse: always reports core events
[    21.572] (**) evdev: USB Optical Mouse: Device: "/dev/input/event5"
[    21.628] (--) evdev: USB Optical Mouse: Vendor 0x1bcf Product 0x7
[    21.628] (--) evdev: USB Optical Mouse: Found 3 mouse buttons
[    21.628] (--) evdev: USB Optical Mouse: Found scroll wheel(s)
[    21.628] (--) evdev: USB Optical Mouse: Found relative axes
[    21.628] (--) evdev: USB Optical Mouse: Found x and y relative axes
[    21.628] (--) evdev: USB Optical Mouse: Found absolute axes
[    21.628] (II) evdev: USB Optical Mouse: Forcing absolute x/y axes to exist.
[    21.628] (II) evdev: USB Optical Mouse: Configuring as mouse
[    21.628] (II) evdev: USB Optical Mouse: Adding scrollwheel support
[    21.628] (**) evdev: USB Optical Mouse: YAxisMapping: buttons 4 and 5
[    21.628] (**) evdev: USB Optical Mouse: EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
[    21.628] (**) Option "config_info" "udev:/sys/devices/3530000.xhci/usb1/1-2/1-2.3/1-2.3:1.0/0003:1BCF:0007.0002/input/input5/event5"
[    21.628] (II) XINPUT: Adding extended input device "USB Optical Mouse" (type: MOUSE, id 7)
[    21.628] (II) evdev: USB Optical Mouse: initialized for relative axes.
[    21.628] (WW) evdev: USB Optical Mouse: ignoring absolute axes.
[    21.628] (**) USB Optical Mouse: (accel) keeping acceleration scheme 1
[    21.628] (**) USB Optical Mouse: (accel) acceleration profile 0
[    21.628] (**) USB Optical Mouse: (accel) acceleration factor: 2.000
[    21.628] (**) USB Optical Mouse: (accel) acceleration threshold: 4
[    21.629] (II) config/udev: Adding input device gpio-keys (/dev/input/event3)
[    21.629] (**) gpio-keys: Applying InputClass "evdev keyboard catchall"
[    21.629] (II) Using input driver 'evdev' for 'gpio-keys'
[    21.629] (**) gpio-keys: always reports core events
[    21.629] (**) evdev: gpio-keys: Device: "/dev/input/event3"
[    21.629] (--) evdev: gpio-keys: Vendor 0x1 Product 0x1
[    21.629] (--) evdev: gpio-keys: Found keys
[    21.629] (II) evdev: gpio-keys: Configuring as keyboard
[    21.629] (**) Option "config_info" "udev:/sys/devices/gpio-keys/input/input3/event3"
[    21.629] (II) XINPUT: Adding extended input device "gpio-keys" (type: KEYBOARD, id 8)
[    21.629] (**) Option "xkb_rules" "evdev"
[    21.629] (**) Option "xkb_model" "pc105"
[    21.629] (**) Option "xkb_layout" "us"
[    21.630] (II) config/udev: Adding input device tegra-snd-t186ref-mobile-rt565x Headphone Jack (/dev/input/event2)
[    21.630] (**) tegra-snd-t186ref-mobile-rt565x Headphone Jack: Applying InputClass "evdev keyboard catchall"
[    21.630] (II) Using input driver 'evdev' for 'tegra-snd-t186ref-mobile-rt565x Headphone Jack'
[    21.630] (**) tegra-snd-t186ref-mobile-rt565x Headphone Jack: always reports core events
[    21.630] (**) evdev: tegra-snd-t186ref-mobile-rt565x Headphone Jack: Device: "/dev/input/event2"
[    21.630] (--) evdev: tegra-snd-t186ref-mobile-rt565x Headphone Jack: Vendor 0 Product 0
[    21.630] (--) evdev: tegra-snd-t186ref-mobile-rt565x Headphone Jack: Found keys
[    21.630] (II) evdev: tegra-snd-t186ref-mobile-rt565x Headphone Jack: Configuring as keyboard
[    21.630] (**) Option "config_info" "udev:/sys/devices/sound/sound/card1/input2/event2"
[    21.631] (II) XINPUT: Adding extended input device "tegra-snd-t186ref-mobile-rt565x Headphone Jack" (type: KEYBOARD, id 9)
[    21.631] (**) Option "xkb_rules" "evdev"
[    21.631] (**) Option "xkb_model" "pc105"
[    21.631] (**) Option "xkb_layout" "us"

Here’s the problem…the system was either updated in such a way that the update overwrote the NVIDIA version of the libglx.so file, or was flashed without the apply_binaries.sh step. It’s easy to correct, but it means the GUI won’t work until it is:

[    18.206] (II) Module glx: vendor="X.Org Foundation"

This should verify if it is just one or two files, or if it is the entire set of NVIDIA files which are missing:

sha1sum -c /etc/nv_tegra_release

If it is just one or two files, then a package update cause the issue (updating should not be an issue with this though so don’t be afraid of updating). If apply_binaries.sh was not done (or if it was refusing some files due to not using sudo), then all of these will probably show up bad.

If all or most of those files are wrong, you’ll want to reflash with a correction. If it is just the one file it’s easy to fix.

If a flash is not required, notice that the driver package (which you would have unpacked manually or else JetPack would have done this) has directory “Linux_for_Tegra”. A subdirectory here is named “nv_tegra”. Within “nv_tegra” is file “nvidia_drivers.tbz2”. This file contains the items the sha1sum checks. If you copy this to the “/” of your Jetson and unpack with sudo, then those files are corrected. Example after copying via scp to “/home/nvidia/nvidia_drivers.tbz2” as user nvidia:

sudo -s
mv /home/nvidia/nvidia_drivers.tbz2 /
cd /
tar --overwrite xjf nvidia_drivers.tbz2
# reboot...
shutdown -r now

Thank you linuxdev, i would try this later.
Till now, i’m a bit confused about the TX2:

  1. I installed and flashed the board using Jetpack 3.0 as the instruction guide setp by step, why there are still so many problems happened, for my understanding, Jetpack would run apply_binaries.sh itself.

  2. Currently another problem I encounted is the date is not right on TX2, after i change the date and touch, it can’t store after reboot, so the compiling always reports “clock skew detected”, how can i solve this problem correctly?

  3. when i sudo apt-get update, there reports “invalid Date” , it could not finish the update

Reading package lists... Done
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_libopencv4tegra-repo_Release
W: Invalid 'Date' entry in Release file /var/lib/apt/lists/_var_nv-gie-repo-ga-cuda8.0-gie1.0-20170116_Release
  1. when I run any sample under NVIDIA_CUDA-8.0_Samples/bin/aarch64/Linux, it reports:
CUDA error at ../../common/inc/helper_cuda.h:1133 code=35(cudaErrorInsufficientDriver) "cudaGetDeviceCount(&device_count)"

If all these problems are caused by the unsuccessful flashing, I would reflash it again. But I have flashed several times by Jetpack, they were the same.

Thanks for reply and suggestion, I hope I can solve these problems and run a successful sample soon, I have spent a lot of time on setting TX2 up

There is a lot which can go wrong while generating a system image since you are using the host to create and customize another entire Linux install. Errors can occur without early symptoms in cases where permissions are not preserved or file space truncates something. The software for doing this is not foolproof, e.g., some newer distributions use 64-bit extensions on ext4 which don’t work on the Jetson…since the official support is only for Ubuntu 14.04 hosts 64-bit extensions are not checked for. Sometimes loopback “/dev/loop0” exists, but is in use…the script assumes if it exists it is available, which isn’t correct (it could be used for example by an encrypted loopback mount). It gets complicated, but there are several things which flash.sh could do better at. You are right that JetPack should ask for your password to run apply_binaries.sh with…but if for example the sample rootfs was unpacked on a non-Linux file system, this would fail and flash.sh would simply be doing what you told it to do…having an underlying NTFS or VFAT file system is something not checked for since flash is supposed to run from a native Ubuntu 14.04.

I haven’t bothered to deal with the date issue, it is a known problem, but does not interfere with package install. Apparently there were some date fields in the .deb package format which used to not be mandatory, but are now…if those dates are not set in the package (or if using a different format), then the error shows up (it’s really a warning since the package installs anyway).

About clock skew…time is set up via the NTP service over the internet. This isn’t really something specific to a Jetson, but to Linux in general…if your internet does not correctly pass through the NTP protocol query time won’t be updated at boot. And since there is no battery backed up clock a previous time setting may have gone away. Does anyone have advice on setting up NTP when it fails despite access to the internet?

CUDA itself supports several GPU architectures. One architecture would support the video card in your desktop PC (assumes you have an NVIDIA video card with the NVIDIA driver, not Nouveau). Another architecture may be used on the Jetson, e.g., Kepler is old (TK1), Maxwell is a bit old (TX1), and Pascal is current (TX2). Volta is on the way. On a PC if you have a recent video card like a 1080, then you need to compile for the Pascal standard. If you have a slightly older video card on the PC, e.g., 980Ti, then you’d compile against a Maxwell CUDA version. If you have Pascal on your host and Maxwell on a Jetson, then you might choose to compile against both architectures. So a CUDA sample may need to be recompiled against your current NVIDIA driver on whichever platform it runs on.

Hi linuxdev, after i tried sha1sum command as you guided, and there is only one failed after check, so I followed your guide to replace the drivers and reboot. However after reboot, when i typed in the password for the the login, it returns back to console display [xxxxxxxxx] tegradc 152100000.nvdisplay: unblank, then it jump to the ubuntu login page again. It always repeats this, what’s shall i do next?

And today i found jetpack3.1 released, would this version solve my problem?

Thanks very much.

Did you retry the “sha1sum -c /etc/nv_tegra_release”? It sounds like putting that one file back in place should have resolved the issue. If not, then perhaps something else in addition to the known file change occurred.

FYI, flashing a completely new version would solve this, but do realize it will erase the prior system. If you have anything in need of saving back it up first.

I have not yet tested R28.1, but I suspect a lot of people will prefer this over R27.1.

I tried the sha1sum again, all items are OK, no failure found. But still can’t login from the GUI

Hi linuxdev, want to let you know, after i installed Jetpack3.1, all the problems seems gone, till now it can run correctly.
If i knew 3.1 would be release, i would not spent so much time on 3.0
anyway, thanks very much for your support and solution.

:)