Welcome! Log In Create A New Profile

Advanced

Debian on HP T5325 Thin Client

Posted by Gravelrash 
Re: Debian on HP T5325 Thin Client
December 01, 2017 01:39AM
Ray,

> You clearly must be using a previous version of
> the kirkwood-t5325.dtb file as a hexdump of that
> file distributed with both
> linux-4.13.5-kirkwood-tld-1 and
> linux-4.14.1-kirkwood-tld-1 shows the 'permanent
> u-boot env' twice and never mentions 'hp_env' at
> all.

Your assumption is wrong. When in doubt, you shoud read the instruction again first to see if you have missed anything.


Here is the installation instruction step A.6.b (Installation from stock OS):

Quote


6. And add fw_env.config to your stock OS. And then reference your saved current_envs.txt in step 2 to restore box specific info in u-boot envs.

a. Add fw_env.config to your stock OS.

echo "/dev/mtd0 0x00000 0x10000 0x10000" > /etc/fw_env.config

b. Modify envs and also setup netconsole. Replace xx below with your box specific settings.

Note that the mtdparts layout are changed in the following fw_setenv commands. So when you reboot into Debian roots, the mtdparts will have a new layout.

/tmp/sdb1/usr/bin/fw_setenv arcNumber '2846'
/tmp/sdb1/usr/bin/fw_setenv mtdparts 'mtdparts=spi0.0:512K(uboot),256K(sdd_firmware),64K(uboot_env),64K(permanent_uboot_env),64K(hp_env)'
/tmp/sdb1/usr/bin/fw_setenv ethaddr 'xx:xx:xx:xx:xx:xx'
/tmp/sdb1/usr/bin/fw_setenv devices 'usb ide'
/tmp/sdb1/usr/bin/fw_setenv dtb_file '/boot/dts/kirkwood-t5325.dtb'


And here is the installation instruction step B.2 (B. Installation from the latest Debian rootfs):

Quote

B. Installation from the latest Debian rootfs

- If you have installed the latest Debian rootfs, but your u-boot is still stock, then follow all the steps in this section B.
- If you are upgrading from uboot.2016.05-tld-1 then you only need to do step 1 to step 4 in this section B.

Steps:

1. Boot into Debian rootfs, extract u-boot images

cd /boot
tar -xf uboot.2017.07-tld-1.t5325.bodhi.tar
tar -xf uboot.2016.05-tld-1.environment.bodhi.tar

2. Verify the MTD flash definition in your Debian rootfs. Note the mtd0 and mtd2 definition, they must be identical to your current mtd0 and mtd2. Also note that stock mtd definition is different. So if your mtdpart defintion is still stock, please post question before continue.

cat /proc/mtd
dev: size erasesize name
mtd0: 00080000 00010000 "uboot"
mtd1: 00040000 00010000 "sdd_firmware"
mtd2: 00010000 00010000 "uboot_env"
mtd3: 00010000 00010000 "permanent_uboot_env"
mtd4: 00010000 00010000 "hp_env"

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on HP T5325 Thin Client
December 01, 2017 07:42PM
Both linux 4.13.5 and 4.14.1 have the following section in the kirkwood-t5325.dts file:

			flash@0 {
				#address-cells = <1>;
				#size-cells = <1>;
				compatible = "st,m25p80", "jedec,spi-nor";
				spi-max-frequency = <86000000>;
				reg = <0>;
				mode = <0>;

				partition@0 {
					reg = <0x0 0x80000>;
					label = "u-boot";
				};

				partition@1 {
					reg = <0x80000 0x40000>;
					label = "SSD firmware";
				};

				partition@2 {
					reg = <0xc0000 0x10000>;
					label = "u-boot env";
				};

				partition@3 {
					reg = <0xd0000 0x10000>;
					label = "permanent u-boot env";
				};

				partition@4 {
					reg = <0xd0000 0x10000>;
					label = "permanent u-boot env";
				};
			};
		};

Note: label = "permanent u-boot env"; occurs in both partition 3 and 4.

Your patch file you include with the kernel includes the following patch for kirkwood-t5325.dts

diff -Naur --no-dereference a/arch/arm/boot/dts/kirkwood-t5325.dts b/arch/arm/boot/dts/kirkwood-t5325.dts
--- a/arch/arm/boot/dts/kirkwood-t5325.dts      2017-11-21 00:49:25.000000000 -0800
+++ b/arch/arm/boot/dts/kirkwood-t5325.dts      2017-11-22 21:17:15.492900079 -0800
@@ -1,6 +1,9 @@
 /*
- * Device Tree file for HP t5325 Thin Client"
+ * Device Tree file for HP t5325 Thin Client
  *
+ * Copyright (c) 2016-2017, bodhi <mibodhi@gmail.com>
+ *
+ * based on
  * Copyright (C) 2014
  *
  * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
@@ -174,9 +177,21 @@
                compatible = "gpio-poweroff";
                pinctrl-0 = <&pmx_power_off>;
                pinctrl-names = "default";
-               gpios = <&gpio1 17 GPIO_ACTIVE_HIGH>;
+               gpios = <&gpio1 16 GPIO_ACTIVE_HIGH>;
        };
 
+        gpio-leds {
+                compatible = "gpio-leds";
+                pinctrl-0 = <&pmx_led>;
+                pinctrl-names = "default";
+
+                health {
+                        label = "status:green:health";
+                        gpios = <&gpio0 21 GPIO_ACTIVE_HIGH>;
+                        default-state = "keep";
+                };
+        };
+
        sound {
                compatible = "simple-audio-card";
                simple-audio-card,format = "i2s";
@@ -195,7 +210,7 @@
                simple-audio-card,mclk-fs = <256>;
 
                simple-audio-card,cpu {
-                       sound-dai = <&audio>;
+                       sound-dai = <&audio0 0>;
                };
 
                simple-audio-card,codec {
@@ -227,3 +242,7 @@
 &pcie0 {
        status = "okay";
 };
+&audio0 {
+        #sound-dai-cells = <1>;
+        status = "ok";
+};

This does not fix the issue with identical labels for partition 3 and 4.

Ray
Re: Debian on HP T5325 Thin Client
December 01, 2017 08:31PM
Ray,

We are not using the definition in DTS. What is relevant is in the bootargs. If your bootargs mtdparts is correct then your mtd definition in Linux will be correct.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on HP T5325 Thin Client
December 01, 2017 08:57PM
Bodhi,

Thank you for your patience. It appears that my installation was picking up the mtdparts from the DTS because there was a typo error in my mtdparts! Seems my mtdparts was:

mtdparts=mtdparts=spi0.0,512K(uboot),256K(sdd_firmware),64K(uboot_env),64K(permanent_uboot_env),64K(hp_env)

Note the "," instead of ":" after spi0.0!

Ray
Re: Debian on HP T5325 Thin Client
December 01, 2017 09:05PM
rayknight Wrote:
-------------------------------------------------------
> Bodhi,
>
> Thank you for your patience. It appears that my
> installation was picking up the mtdparts from the
> DTS because there was a typo error in my mtdparts!
> Seems my mtdparts was:
>
>
> mtdparts=mtdparts=spi0.0,512K(uboot),256K(sdd_firmware),64K(uboot_env),64K(permanent_uboot_env),64K(hp_env)
>
>
> Note the "," instead of ":" after spi0.0!
>

Ah :) that explains it!

-bodhi
===========================
Forum Wiki
bodhi's corner
JRD McLAREN
Re: HP T5325 Thin Client Debian
February 04, 2018 04:08PM
bodhi Wrote:
-------------------------------------------------------
> JRD McLAREN Wrote:
> -------------------------------------------------------
> > ..so ...
> > is BTRFS supported ..?? .. in your kernel ..??
> >
> > cause I have one box with debian, 32Mb Boot EXT2
> (
> > due to uboot)
> > and all other space on stock flash as BTRFS
> (aprox
> > 460Mb)..
> > no thumb drive is needed..
>
> Yes, it is supported.
....
No, not .... at boot
Would you can make your next kernel with btrfs support please ..??
..if it is not problem, of course ...
Thanks.

HP>> bootm 0x800000                                                                                                                       
## Booting image at 00800000 ...                                                                                                          
   Image Name:   Linux-4.14.1-kirkwood-tld-1                                                                                              
   Created:      2018-02-04  22:53:14 UTC                                                                                                 
   Image Type:   ARM Linux Kernel Image (uncompressed)                                                                                    
   Data Size:    3888455 Bytes =  3.7 MB                                                                                                  
   Load Address: 00008000                                                                                                                 
   Entry Point:  00008000                                                                                                                 
   Verifying Checksum ... OK                                                                                                              
OK                                                                                                                                        

Starting kernel ...                                                                                                                       

Uncompressing Linux... done, booting the kernel.                                                                                          
[    0.000000] Booting Linux on physical CPU 0x0                                                                                          
[    0.000000] Linux version 4.14.1-kirkwood-tld-1 (root@tldDebian) (gcc version 6.3.0 20170516 (Debian 6.3.0-18)) #1 PREEMPT Wed Nov 22 7
[    0.000000] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f                                                         
[    0.000000] CPU: VIVT data cache, VIVT instruction cache                                                                               
[    0.000000] OF: fdt: Machine model: HP t5325 Thin Client                                                                               
[    0.000000] Memory policy: Data cache writeback                                                                                        
[    0.000000] random: fast init done                                                                                                     
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 130048                                                              
[    0.000000] Kernel command line: console=ttyS0,115200n8 root=/dev/sda2 rootwait video=1280x1024x32 mtdparts=spi0.0:512K(uboot),256K(sd)
[    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: 506352K/524288K available (8192K kernel code, 714K rwdata, 2040K rodata, 1024K init, 285K bss, 17936K reserved, 0K)
[    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]     modules : 0xbf000000 - 0xc0000000   (  16 MB)                                                                          
[    0.000000]       .text : 0xc0008000 - 0xc0900000   (9184 kB)                                                                          
[    0.000000]       .init : 0xc0c00000 - 0xc0d00000   (1024 kB)                                                                          
[    0.000000]       .data : 0xc0d00000 - 0xc0db2aec   ( 715 kB)                                                                          
[    0.000000]        .bss : 0xc0db94b0 - 0xc0e00a4c   ( 286 kB)                                                                          
[    0.000000] Preemptible hierarchical RCU implementation.                                                                               
[    0.000000]  Tasks RCU enabled.                                                                                                        
[    0.000000] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16                                                                            
[    0.000000] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 9556302233 ns                        
[    0.000008] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns                                                  
[    0.000041] Switching to timer-based delay loop, resolution 5ns                                                                        
[    0.000532] Console: colour dummy device 80x30                                                                                         
[    0.000567] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lpj=2000000)                   
[    0.000590] pid_max: default: 32768 minimum: 301                                                                                       
[    0.000765] Security Framework initialized                                                                                             
[    0.000911] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes)                                                                
[    0.000933] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes)                                                           
[    0.001793] CPU: Testing write buffer coherency: ok                                                                                    
[    0.002686] Setting up static identity map for 0x100000 - 0x100058                                                                     
[    0.002934] mvebu-soc-id: MVEBU SoC ID=0x6281, Rev=0x3                                                                                 
[    0.003149] Hierarchical SRCU implementation.                                                                                          
[    0.006271] devtmpfs: initialized                                                                                                      
[    0.010562] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns                           
[    0.010588] futex hash table entries: 256 (order: -1, 3072 bytes)                                                                      
[    0.010965] prandom: seed boundary self test passed                                                                                    
[    0.015146] prandom: 100 self tests passed                                                                                             
[    0.015157] pinctrl core: initialized pinctrl subsystem                                                                                
[    0.016209] NET: Registered protocol family 16                                                                                         
[    0.016660] DMA: preallocated 256 KiB pool for atomic coherent allocations                                                             
[    0.018071] cpuidle: using governor ladder                                                                                             
[    0.018132] cpuidle: using governor menu                                                                                               
[    0.018599] Feroceon L2: Enabling L2                                                                                                   
[    0.018641] Feroceon L2: Cache support initialised.                                                                                    
[    0.018964] [Firmware Info]: /ocp@f1000000/ethernet-controller@72000/ethernet0-port@0: local-mac-address is not set                    
[    0.024346] No ATAGs?                                                                                                                  
[    0.031942] vgaarb: loaded                                                                                                             
[    0.032238] SCSI subsystem initialized                                                                                                 
[    0.032657] usbcore: registered new interface driver usbfs                                                                             
[    0.032713] usbcore: registered new interface driver hub                                                                               
[    0.032766] usbcore: registered new device driver usb                                                                                  
[    0.033718] clocksource: Switched to clocksource orion_clocksource                                                                     
[    0.123095] VFS: Disk quotas dquot_6.6.0                                                                                               
[    0.123173] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)                                                            
[    0.131894] NET: Registered protocol family 2                                                                                          
[    0.132622] TCP established hash table entries: 4096 (order: 2, 16384 bytes)                                                           
[    0.132682] TCP bind hash table entries: 4096 (order: 2, 16384 bytes)                                                                  
[    0.132735] TCP: Hash tables configured (established 4096 bind 4096)                                                                   
[    0.132812] UDP hash table entries: 256 (order: 0, 4096 bytes)                                                                         
[    0.132836] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)                                                                    
[    0.133013] NET: Registered protocol family 1                                                                                          
[    0.133429] RPC: Registered named UNIX socket transport module.                                                                        
[    0.133441] RPC: Registered udp transport module.                                                                                      
[    0.133449] RPC: Registered tcp transport module.                                                                                      
[    0.133457] RPC: Registered tcp NFSv4.1 backchannel transport module.                                                                  
[    0.133942] NetWinder Floating Point Emulator V0.97 (double precision)                                                                 
[    0.134606] audit: initializing netlink subsys (disabled)                                                                              
[    0.134993] Initialise system trusted keyrings                                                                                         
[    0.135046] Key type blacklist registered                                                                                              
[    0.135136] audit: type=2000 audit(0.130:1): state=initialized audit_enabled=0 res=1                                                   
[    0.135207] workingset: timestamp_bits=30 max_order=17 bucket_order=0                                                                  
[    0.135287] zbud: loaded                                                                                                               
[    0.136177] NFS: Registering the id_resolver key type                                                                                  
[    0.136201] Key type id_resolver registered                                                                                            
[    0.136210] Key type id_legacy registered                                                                                              
[    0.136234] nfs4filelayout_init: NFSv4 File Layout Driver Registering...                                                               
[    0.136245] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).                                                                   
[    0.136519] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.                                                            
[    0.136717] fuse init (API version 7.26)                                                                                               
[    0.137065] orangefs_debugfs_init: called with debug mask: :none: :0:                                                                  
[    0.137221] orangefs_init: module version upstream loaded                                                                              
[    0.137232] SGI XFS with ACLs, security attributes, realtime, no debug enabled                                                         
[    6.052528] jitterentropy: Initialization failed with host not compliant with requirements: 2                                          
[    6.053326] Key type asymmetric registered                                                                                             
[    6.053338] Asymmetric key parser 'x509' registered                                                                                    
[    6.053398] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 249)                                                       
[    6.053410] io scheduler noop registered                                                                                               
[    6.053419] io scheduler deadline registered                                                                                           
[    6.053497] io scheduler cfq registered (default)                                                                                      
[    6.054865] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver                                                        
[    6.056834] mvebu-pcie mbus@f1000000:pcie-controller@82000000: PCI host bridge to bus 0000:00                                          
[    6.056853] pci_bus 0000:00: root bus resource [io  0x1000-0xfffff]                                                                    
[    6.056867] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]                                                             
[    6.056881] pci_bus 0000:00: root bus resource [bus 00-ff]                                                                             
[    6.057185] PCI: bus0: Fast back to back transfers disabled                                                                            
[    6.057209] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring                                                
[    6.057464] pci 0000:01:00.0: enabling Extended Tags                                                                                   
[    6.057685] pci 0000:01:00.0: vgaarb: VGA device added: decodes=io+mem,owns=none,locks=none                                            
[    6.083830] PCI: bus1: Fast back to back transfers disabled                                                                            
[    6.083898] pci 0000:00:01.0: BAR 14: assigned [mem 0xe0000000-0xe5ffffff]                                                             
[    6.083915] pci 0000:00:01.0: BAR 13: assigned [io  0x10000-0x10fff]                                                                   
[    6.083934] pci 0000:01:00.0: BAR 0: assigned [mem 0xe0000000-0xe3ffffff pref]                                                         
[    6.083954] pci 0000:01:00.0: BAR 1: assigned [mem 0xe4000000-0xe403ffff]                                                              
[    6.083971] pci 0000:01:00.0: BAR 2: assigned [io  0x10000-0x1007f]                                                                    
[    6.083986] pci 0000:00:01.0: PCI bridge to [bus 01]                                                                                   
[    6.084000] pci 0000:00:01.0:   bridge window [io  0x10000-0x10fff]                                                                    
[    6.084016] pci 0000:00:01.0:   bridge window [mem 0xe0000000-0xe5ffffff]                                                              
[    6.084114] pcieport 0000:00:01.0: enabling device (0140 -> 0143)                                                                      
[    6.084670] mv_xor f1060800.xor: Marvell shared XOR driver                                                                             
[    6.144478] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )                                                        
[    6.144700] mv_xor f1060900.xor: Marvell shared XOR driver                                                                             
[    6.204468] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )                                                        
[    6.204883] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled                                                                   
[    6.206064] console [ttyS0] disabled                                                                                                   
[    6.206125] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 27, base_baud = 12500000) is a 16550A                                     
[    6.938224] console [ttyS0] enabled                                                                                                    
[    6.947842] loop: module loaded                                                                                                        
[    6.951527] sata_mv f1080000.sata: slots 32 ports 2                                                                                    
[    6.958970] scsi host0: sata_mv                                                                                                        
[    6.962491] scsi host1: sata_mv                                                                                                        
[    6.965886] ata1: SATA max UDMA/133 irq 35                                                                                             
[    6.970006] ata2: SATA max UDMA/133 irq 35                                                                                             
[    6.975538] m25p80 spi0.0: found mx25l8005, expected m25p80                                                                            
[    6.981147] m25p80 spi0.0: mx25l8005 (1024 Kbytes)                                                                                     
[    6.986030] 5 cmdlinepart partitions found on MTD device spi0.0                                                                        
[    6.991978] Creating 5 MTD partitions on "spi0.0":                                                                                     
[    6.996820] 0x000000000000-0x000000080000 : "uboot"                                                                                    
[    7.002630] 0x000000080000-0x0000000c0000 : "sdd_firmware"                                                                             
[    7.009015] 0x0000000c0000-0x0000000d0000 : "uboot_env"                                                                                
[    7.015115] 0x0000000d0000-0x0000000e0000 : "permanent_uboot_env"                                                                      
[    7.022063] 0x0000000e0000-0x0000000f0000 : "hp_env"                                                                                   
[    7.028930] libphy: Fixed MDIO Bus: probed                                                                                             
[    7.033759] libphy: orion_mdio_bus: probed                                                                                             
[    7.038681] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4                                                              
[    7.046743] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address f4:ce:46:23:f9:69                                        
[    7.055673] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver                                                                 
[    7.062244] ehci-pci: EHCI PCI platform driver                                                                                         
[    7.066832] ehci-orion: EHCI orion driver                                                                                              
[    7.071049] orion-ehci f1050000.ehci: EHCI Host Controller                                                                             
[    7.076658] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1                                                    
[    7.084547] orion-ehci f1050000.ehci: irq 31, io mem 0xf1050000                                                                        
[    7.113756] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00                                                                       
[    7.120004] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002                                                              
[    7.126943] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1                                                         
[    7.134231] usb usb1: Product: EHCI Host Controller                                                                                    
[    7.139131] usb usb1: Manufacturer: Linux 4.14.1-kirkwood-tld-1 ehci_hcd                                                               
[    7.145882] usb usb1: SerialNumber: f1050000.ehci                                                                                      
[    7.151157] hub 1-0:1.0: USB hub found                                                                                                 
[    7.155009] hub 1-0:1.0: 1 port detected                                                                                               
[    7.159564] usbcore: registered new interface driver usb-storage                                                                       
[    7.165962] mousedev: PS/2 mouse device common for all mice                                                                            
[    7.172044] rtc-mv f1010300.rtc: rtc core: registered f1010300.rtc as rtc0                                                             
[    7.179163] i2c /dev entries driver                                                                                                    
[    7.184581] hidraw: raw HID events driver (C) Jiri Kosina                                                                              
[    7.190325] drop_monitor: Initializing network drop monitor service                                                                    
[    7.196982] NET: Registered protocol family 17                                                                                         
[    7.201534] Key type dns_resolver registered                                                                                           
[    7.206587] registered taskstats version 1                                                                                             
[    7.210701] Loading compiled-in X.509 certificates                                                                                     
[    7.215622] zswap: loaded using pool lzo/zbud                                                                                          
[    7.226172] Key type big_key registered                                                                                                
[    7.231911] Key type encrypted registered                                                                                              
[    7.237266] rtc-mv f1010300.rtc: setting system clock to 2018-02-04 22:56:40 UTC (1517785000)                                          
[    7.473763] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)                                                                    
[    7.482300] ------------[ cut here ]------------                                                                                       
[    7.486954] WARNING: CPU: 0 PID: 89 at drivers/ata/libata-sff.c:1021 ata_sff_hsm_move+0x58/0x6f0                                       
[    7.495774] Modules linked in:                                                                                                         
[    7.498849] CPU: 0 PID: 89 Comm: kworker/0:2 Not tainted 4.14.1-kirkwood-tld-1 #1                                                      
[    7.506362] Hardware name: Marvell Kirkwood (Flattened Device Tree)                                                                    
[    7.512665] Workqueue: ata_sff ata_sff_pio_task                                                                                        
[    7.517241] [<c010ede4>] (unwind_backtrace) from [<c010aef8>] (show_stack+0x10/0x14)                                                   
[    7.525029] [<c010aef8>] (show_stack) from [<c01184b0>] (__warn+0xe0/0xfc)                                                             
[    7.531940] [<c01184b0>] (__warn) from [<c0118570>] (warn_slowpath_null+0x1c/0x24)                                                     
[    7.539551] [<c0118570>] (warn_slowpath_null) from [<c0662d50>] (ata_sff_hsm_move+0x58/0x6f0)                                          
[    7.548121] [<c0662d50>] (ata_sff_hsm_move) from [<c066360c>] (ata_sff_pio_task+0x224/0x250)                                           
[    7.556598] [<c066360c>] (ata_sff_pio_task) from [<c012e1b8>] (process_one_work+0x248/0x45c)                                           
[    7.565084] [<c012e1b8>] (process_one_work) from [<c012effc>] (worker_thread+0x320/0x4a4)                                              
[    7.573305] [<c012effc>] (worker_thread) from [<c0133848>] (kthread+0x11c/0x134)                                                       
[    7.580743] [<c0133848>] (kthread) from [<c0107288>] (ret_from_fork+0x14/0x2c)                                                         
[    7.588000] ---[ end trace fd8f6e1dc0d4695c ]---                                                                                       
[    7.592726] usb 1-1: new high-speed USB device number 2 using orion-ehci                                                               
[    7.599500] ata1.00: failed to IDENTIFY (I/O error, err_mask=0x100)                                                                    
[    7.804197] usb 1-1: New USB device found, idVendor=0424, idProduct=2514                                                               
[    7.810943] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0                                                          
[    7.818723] hub 1-1:1.0: USB hub found                                                                                                 
[    7.822686] hub 1-1:1.0: 4 ports detected                                                                                              
[   12.983759] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)                                                                    
[   12.992356] ata1.00: ATA-7: SM224, I0521, max UDMA/133                                                                                 
[   12.997551] ata1.00: 949536 sectors, multi 0: LBA                                                                                      
[   13.004794] ata1.00: configured for UDMA/133                                                                                           
[   13.019537] scsi 0:0:0:0: Direct-Access     ATA      SM224            1    PQ: 0 ANSI: 5                                               
[   13.028614] sd 0:0:0:0: [sda] 949536 512-byte logical blocks: (486 MB/464 MiB)                                                         
[   13.036389] sd 0:0:0:0: [sda] Write Protect is off                                                                                     
[   13.041364] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA                                   
[   13.052171]  sda: sda1 sda2                                                                                                            
[   13.056456] sd 0:0:0:0: [sda] Attached SCSI disk                                                                                       
[   13.365296] ata2: SATA link down (SStatus 0 SControl F300)                                                                             
[   13.383926] F2FS-fs (sda2): Magic Mismatch, valid(0xf2f52010) - read(0x0)                                                              
[   13.390753] F2FS-fs (sda2): Can't find valid F2FS filesystem in 1th superblock                                                         
[   13.398474] F2FS-fs (sda2): Magic Mismatch, valid(0xf2f52010) - read(0x0)                                                              
[   13.405463] F2FS-fs (sda2): Can't find valid F2FS filesystem in 2th superblock                                                         
[   13.412751] F2FS-fs (sda2): Magic Mismatch, valid(0xf2f52010) - read(0x0)                                                              
[   13.419634] F2FS-fs (sda2): Can't find valid F2FS filesystem in 1th superblock                                                         
[   13.426933] F2FS-fs (sda2): Magic Mismatch, valid(0xf2f52010) - read(0x0)                                                              
[   13.433791] F2FS-fs (sda2): Can't find valid F2FS filesystem in 2th superblock                                                         
[   13.441183] List of all partitions:                                                                                                    
[   13.444749] 1f00             512 mtdblock0                                                                                             
[   13.444754]  (driver?)
[   13.451322] 1f01             256 mtdblock1 
[   13.451326]  (driver?)
[   13.457942] 1f02              64 mtdblock2 
[   13.457947]  (driver?)
[   13.464574] 1f03              64 mtdblock3 
[   13.464579]  (driver?)
[   13.471143] 1f04              64 mtdblock4 
[   13.471146]  (driver?)
[   13.477736] 0800          474768 sda 
[   13.477741]  driver: sd
[   13.483892]   0801           40960 sda1 b29c302e-01
[   13.483896] 
[   13.490291]   0802          432784 sda2 b29c302e-02
[   13.490294] 
[   13.496698] No filesystem could mount root, tried: 
[   13.496702]  ext3
[   13.501597]  ext4
[   13.503524]  fuseblk
[   13.505467]  xfs
[   13.507656]  f2fs
[   13.509496] 
[   13.512920] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,2)
[   13.521222] CPU: 0 PID: 1 Comm: swapper Tainted: G        W       4.14.1-kirkwood-tld-1 #1
[   13.529519] Hardware name: Marvell Kirkwood (Flattened Device Tree)
[   13.535840] [<c010ede4>] (unwind_backtrace) from [<c010aef8>] (show_stack+0x10/0x14)
[   13.543634] [<c010aef8>] (show_stack) from [<c0118628>] (panic+0xb0/0x244)
[   13.550551] [<c0118628>] (panic) from [<c0c011fc>] (mount_block_root+0x1a4/0x278)
[   13.558081] [<c0c011fc>] (mount_block_root) from [<c0c01398>] (mount_root+0xc8/0x11c)
[   13.565954] [<c0c01398>] (mount_root) from [<c0c01534>] (prepare_namespace+0x148/0x188)
[   13.574003] [<c0c01534>] (prepare_namespace) from [<c0c00de4>] (kernel_init_freeable+0x154/0x1b4)
[   13.582922] [<c0c00de4>] (kernel_init_freeable) from [<c084acb8>] (kernel_init+0x8/0x108)
[   13.591144] [<c084acb8>] (kernel_init) from [<c0107288>] (ret_from_fork+0x14/0x2c)
[   13.598758] ---[ end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(8,2)
[  121.863778] random: crng init don
Re: HP T5325 Thin Client Debian
February 04, 2018 04:45PM
JRD McLAREN,

Yes it does. You just need to know how to use it.

grep -i btrfs /boot/config-4.14.1-kirkwood-tld-1
Quote

CONFIG_BTRFS_FS=m
CONFIG_BTRFS_FS_POSIX_ACL=y
# CONFIG_BTRFS_FS_CHECK_INTEGRITY is not set
# CONFIG_BTRFS_FS_RUN_SANITY_TESTS is not set
# CONFIG_BTRFS_DEBUG is not set
# CONFIG_BTRFS_ASSERT is not set

Add the btrfs module to be loaded early. Similar to this netconsole instruction:
https://forum.doozan.com/read.php?2,9522

-bodhi
===========================
Forum Wiki
bodhi's corner
JRD McLAREN
Re: Debian on HP T5325 Thin Client
February 05, 2018 01:58PM
CONFIG_BTRFS_FS=y

..
it will be better choice for the future. .. maybe .. :)
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: