Welcome! Log In Create A New Profile

Advanced

Debian on Dell Kace M300

Posted by JDS420 
Re: Debian on Dell Kace M300
September 28, 2024 09:15PM
Ouch, this looks bad. You might want to find out exactly where the RAM fails the test. It's important to do because it might crash later when you run some programs that access the memory.
DDR3 data bus test                               PASSED                                                
                                                                                                               
        DDR3 address bus test                            PASSED                                                
                                                                                                               
        DDR3 device test                                 FAILED                                                
                Test failed at offset = 0x1C506800                                                             
                Data written          = 0x6F41A00                                                              
                Data read             = 0x6241A40

root@urso:~# fdisk -l /dev/sda
Disk /dev/sda: 3.75 GiB, 4027580416 bytes, 7866368 sectors
Disk model: Flash Disk      
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: DF2AEB44-E86A-46F5-8F51-9FA220414A29

Device     Start     End Sectors  Size Type
/dev/sda1   2048 7866322 7864275  3.7G Linux server data

Reformat it as MBR partition. When you use fdisk at command line, you can remove everything from the disk, and create a new parition. Mae sure you can see
fdisk -l /dev/sda
...
Disklabel type: dos

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Jáder Marasca
Re: Debian on Dell Kace M300
September 29, 2024 09:58AM
So I have a memory problem?
I was hopping this problem was with USB disk because it cannot read something it just wrote!
I can see the OFFSET 1c506800 ... it tell YOU something? (hehehe... I do not know anything about OFFSETs)
Just converted to DEC and found 453MB... if M300 has 2000MB, it should right on beggining!


I'll REcreate it as MBR (used to use type 83 from forever... never pay attention on that when creating... sorry!) and test again.
Later if it do no work yet, I'll replace the USB disk with another OLD one...kkk... looking for OLD USB drives here.

I could use the original 16G SSD drive, but I do not have any USB-SATA adapter available (looking for on my storage folders... could find it till now).
And even if I found the adapter I have no directions about how to create it... or it's just replace the /dev/sdb1 (let's say that is the USB drive) byt /dev/sda1 (let's say that is the original 16G SSD drive)??
Re: Debian on Dell Kace M300
September 29, 2024 12:38PM
> So I have a memory problem?

Yes. But it is not related to the USB probem.

> I was hopping this problem was with USB disk
> because it cannot read something it just wrote!

Yes. You do have the USB rootfs problem. Recreate it with MBR. And you have to follow the instruction very closely (being root user, create a single Ext3 partition,....) And keep the log of what you did while creating the rootfs.

> I could use the original 16G SSD drive, but I do
> not have any USB-SATA adapter available (looking
> for on my storage folders... could find it till
> now).

Don't use the internal 16GB SSD. Sooner or later it will crap out.

See the Wiki thread for idea what you want to do with the internal SATA port.

Quote

Under/Over the hood Modding

...
Dell Kace M300 internal HDD Mod,
...
Dell Kace M300 internal SSD Mod 1.
Dell Kace M300 internal SSD Mod 2 (recommended)
Dell Kace M300 internal SSD Mod 3

BTW, Mod 3 is quite good in term of thermal and cleanliness. But it requires you to break up the case of the SSD. If you are willing to do that, then use Mod 3.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)



Edited 1 time(s). Last edit at 09/29/2024 02:18PM by bodhi.
Jader Marasca
Re: Debian on Dell Kace M300
September 29, 2024 03:47PM
I got another M300 and it pass the DD3 device test!

I can boot it to M300 original software and cannot login on prom\pt using root/root.
I can stop boot process and run the unprotect off all and all 8 commands , later I run boot and if I have HOT plugged original disk, it loads from it, if not it fails as before unhappy with partition 0:1 s above:

Marvell>> boot                                                                                                 
Booting Debian …                                                                                               
(Re)start USB...                                                                                               
USB:   scanning bus for devices... 3 USB Device(s) found                                                       
Waiting for storage device(s) to settle before scanning...                                                     
1 Storage Device(s) found                                                                                      
Failed to mount ext2 filesystem...                                                                             
** Bad ext2 partition or disk - usb 0:1 **                                                                     
Failed to mount ext2 filesystem...                                                                             
** Bad ext2 partition or disk - usb 0:1 **                                                                     
## Booting image at 00800000 ...                                                                               
Bad Magic Number                                                                                               
Booting stock ...                                                                                              
                                                                                                               
Reset IDE:                                                                                                     
Marvell Serial ATA Adapter                                                                                     
Integrated Sata device found                                                                                   
                                                                                                               
** Bad partition 1 **                                                                                          
** Bad partition 1 **                                                                                          
## Booting image at 00100000 ...                                                                               
Bad Magic Number                                                                                               
Marvell>>

Please note it say "Booting Debian..." but never "Booting stock..." even when it boot STOCK and show M300 login screen and no debian login!
... I think this is weird!!!

Any TIPS about what is my problem on another one? (it blinks RED light and no WHITE light! ... as it was a long time I turned it on I cannot remeber if it once was white or when it started to blink red...
Jáder Marasca
Re: Debian on Dell Kace M300
September 29, 2024 05:20PM
I'm a moron... now it's official...kkk

I was following the instructions to the letter... without read them...kkk
I do not notice the BLUE letters in the CAT command saying to choose the correct chipset... I was using the wrong one...kkk
now I got an deebian login and it accepts root/root

Now I'd like to know how to transfer this install from USB disk to internal SSD disk (or a new one).
I have TWO internal 16GB SSD disks to play with... no plans to buy a new SSD for now (unemployeed since Sept 9th!)
Jáder Marasca
Re: Debian on Dell Kace M300
September 29, 2024 08:39PM
I have problems to get networking working.

root@debian:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
root@debian:~#

root@debian:~# cat /etc/network/interfaces
auto lo eth0
iface eth0 inet static
address 192.168.0.241
netmask 255.255.255.0
gateway 192.168.0.1
iface lo inet loopback
Re: Debian on Dell Kace M300
September 30, 2024 02:01PM
Quote

Now I'd like to know how to transfer this install from USB disk to internal SSD disk (or a new one).

See Wiki thread

Quote

Backup and Cloning rootfs

Back up a live rootfs using rsync
CrashPlan 4.3.0
Backup/Restore rootfs using tar command
Adjust udev rules after cloning rootfs
Stock Pogoplug rootfs
How to clone a rootfs from one Kirkwood box to another: Step 1 and Step 2
How to clone SATA rootfs to USB rootfs
How to clone USB rootfs to SATA rootfs

Quote

I have problems to get networking working.

Please post entire serial console boot log (from u-boot banner until the ip command output).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Jáder Marasca
Re: Debian on Dell Kace M300
October 01, 2024 12:20PM
Thanks by pointing the wiki page... I'll follow it later

about boot+networking:

## Booting image at 00800000 ...                                                                                      
   Image Name:   Linux-6.5.7-kirkwood-tld-1                                                                           
   Created:      2024-09-29  22:08:34 UTC                                                                             
   Image Type:   ARM Linux Kernel Image (uncompressed)                                                                
   Data Size:    6234410 Bytes =  5.9 MB                                                                              
   Load Address: 00008000                                                                                             
   Entry Point:  00008000                                                                                             
   Verifying Checksum ... OK                                                                                          
OK                                                                                                                    
## Loading Ramdisk Image at 02100000 ...                                                                              
   Image Name:   initramfs-6.5.7-kirkwood-tld-1                                                                       
   Created:      2023-10-31  22:53:55 UTC                                                                             
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)                                                            
   Data Size:    5791207 Bytes =  5.5 MB                                                                              
   Load Address: 00000000                                                                                             
   Entry Point:  00000000                                                                                             
   Verifying Checksum ... OK                                                                                          
                                                                                                                      
Starting kernel ...                                                                                                   
                                                                                                                      
[    0.000000][    T0] Booting Linux on physical CPU 0x0                                                              
[    0.000000][    T0] Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GN3
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f                             
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache                                                   
[    0.000000][    T0] OF: fdt: Machine model: Marvell DB-88F6282-BP Development Board                                
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled                                                        
[    0.000000][    T0] Memory policy: Data cache writeback                                                            
[    0.000000][    T0] Ignoring RAM at 0x70000000-0x80000000                                                          
[    0.000000][    T0] Consider using a HIGHMEM enabled kernel.                                                       
[    0.000000][    T0] Zone ranges:                                                                                   
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000006fffffff]                                         
[    0.000000][    T0] Movable zone start for each node                                                               
[    0.000000][    T0] Early memory node ranges                                                                       
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000006fffffff]                                        
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000006fffffff]                               
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:0x7f0l
[    0.000000][    T0] Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes, linear)                      
[    0.000000][    T0] Inode-cache hash table entries: 131072 (order: 7, 524288 bytes, linear)                        
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 454720                                  
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off                                         
[    0.000000][    T0] Memory: 1790048K/1835008K available (12288K kernel code, 1755K rwdata, 5416K rodata, 1024K ini)
[    0.000000][    T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1                                     
[    0.000000][    T0] trace event string verifier disabled                                                           
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.                                              
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.                                                      
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.                                                         
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.                         
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16                                                
[    0.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.                                 
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 95563022s
[    0.000001][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns                      
[    0.008519][    T0] Switching to timer-based delay loop, resolution 5ns                                            
[    0.015526][    T0] Console: colour dummy device 80x30                                                             
[    0.020738][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lp)
[    0.031960][    T0] CPU: Testing write buffer coherency: ok                                                        
[    0.037622][    T0] pid_max: default: 32768 minimum: 301                                                           
[    0.048331][    T0] LSM: initializing lsm=capability,integrity                                                     
[    0.055719][    T0] Mount-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)                           
[    0.063845][    T0] Mountpoint-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)                      
[    0.080889][    T1] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.                               
[    0.088944][    T1] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.                         
[    0.097549][    T1] Setting up static identity map for 0x100000 - 0x100058                                         
[    0.104663][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1                                                     
[    0.110831][    T1] rcu: Hierarchical SRCU implementation.                                                         
[    0.116308][    T1] rcu:     Max phase no-delay instances is 1000.                                                 
[    0.124334][    T1] devtmpfs: initialized                                                                          
[    0.134861][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 s
[    0.145491][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)                                  
[    0.154769][    T1] prandom: seed boundary self test passed                                                        
[    0.162911][    T1] prandom: 100 self tests passed                                                                 
[    0.167691][    T1] pinctrl core: initialized pinctrl subsystem                                                    
[    0.176356][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family                                            
[    0.184141][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations                                 
[    0.195174][    T1] audit: initializing netlink subsys (disabled)                                                  
[    0.202873][    T1] thermal_sys: Registered thermal governor 'step_wise'                                           
[    0.203003][    T1] cpuidle: using governor ladder                                                                 
[    0.214508][   T19] audit: type=2000 audit(0.190:1): state=initialized audit_enabled=0 res=1                       
[    0.223038][    T1] cpuidle: using governor menu                                                                   
[    0.228100][    T1] Feroceon L2: Enabling L2                                                                       
[    0.232420][    T1] Feroceon L2: Cache support initialised.                                                        
[    0.243404][    T1] No ATAGs?                                                                                      
[    0.608533][    T1] raid6: int32x8  gen()   187 MB/s                                                               
[    0.948532][    T1] raid6: int32x4  gen()   170 MB/s                                                               
[    1.288553][    T1] raid6: int32x2  gen()   217 MB/s                                                               
[    1.628531][    T1] raid6: int32x1  gen()   148 MB/s                                                               
[    1.633479][    T1] raid6: using algorithm int32x2 gen() 217 MB/s                                                  
[    1.988530][    T1] raid6: .... xor() 138 MB/s, rmw enabled                                                        
[    1.994080][    T1] raid6: using intx1 recovery algorithm                                                          
[    2.009703][    T1] SCSI subsystem initialized                                                                     
[    2.018945][    T1] usbcore: registered new interface driver usbfs                                                 
[    2.025139][    T1] usbcore: registered new interface driver hub                                                   
[    2.048609][    T1] usbcore: registered new device driver usb                                                      
[    2.054595][    T1] pps_core: LinuxPPS API ver. 1 registered                                                       
[    2.068533][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>       
[    2.078343][    T1] PTP clock support registered                                                                   
[    2.100465][    T1] vgaarb: loaded                                                                                 
[    2.104456][    T1] clocksource: Switched to clocksource orion_clocksource                                         
[    2.130182][    T1] VFS: Disk quotas dquot_6.6.0                                                                   
[    2.144744][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)                                
[    2.176482][    T1] NET: Registered PF_INET protocol family                                                        
[    2.194674][    T1] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)                           
[    2.217241][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)               
[    2.234636][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)                       
[    2.243090][    T1] TCP established hash table entries: 16384 (order: 4, 65536 bytes, linear)                      
[    2.274728][    T1] TCP bind hash table entries: 16384 (order: 5, 131072 bytes, linear)                            
[    2.294844][    T1] TCP: Hash tables configured (established 16384 bind 16384)                                     
[    2.302544][    T1] MPTCP token hash table entries: 2048 (order: 2, 24576 bytes, linear)                           
[    2.324681][    T1] UDP hash table entries: 1024 (order: 2, 16384 bytes, linear)                                   
[    2.332110][    T1] UDP-Lite hash table entries: 1024 (order: 2, 16384 bytes, linear)                              
[    2.355107][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family                                               
[    2.365084][    T1] RPC: Registered named UNIX socket transport module.                                            
[    2.371673][    T1] RPC: Registered udp transport module.                                                          
[    2.394469][    T1] RPC: Registered tcp transport module.                                                          
[    2.399848][    T1] RPC: Registered tcp-with-tls transport module.                                                 
[    2.414470][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.                                      
[    2.421590][    T1] PCI: CLS 0 bytes, default 32                                                                   
[    2.444822][   T10] Trying to unpack rootfs image as initramfs...                                                  
[    2.942477][    T1] Initialise system trusted keyrings                                                             
[    2.954660][    T1] Key type blacklist registered                                                                  
[    2.964691][    T1] workingset: timestamp_bits=14 max_order=19 bucket_order=5                                      
[    2.971946][    T1] zbud: loaded                                                                                   
[    3.006654][    T1] NFS: Registering the id_resolver key type                                                      
[    3.012455][    T1] Key type id_resolver registered                                                                
[    3.034670][    T1] Key type id_legacy registered                                                                  
[    3.039530][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...                                   
[    3.054574][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...                           
[    3.063726][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.                                
[    3.085143][    T1] fuse: init (API version 7.38)                                                                  
[    3.093741][   T10] Freeing initrd memory: 5656K                                                                   
[    3.098680][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:                                      
[    3.106060][    T1] orangefs_init: module version upstream loaded                                                  
[    3.112359][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled               
[    3.248387][    T1] xor: measuring software checksum speed                                                         
[    3.259241][    T1]    arm4regs        :  1841 MB/sec                                                              
[    3.273070][    T1]    8regs           :  1119 MB/sec                                                              
[    3.284310][    T1]    32regs          :  1587 MB/sec                                                              
[    3.289348][    T1] xor: using function: arm4regs (1841 MB/sec)                                                    
[    3.295254][    T1] async_tx: api initialized (async)                                                              
[    3.300291][    T1] Key type asymmetric registered                                                                 
[    3.305076][    T1] Asymmetric key parser 'x509' registered                                                        
[    3.346791][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)                           
[    3.355317][    T1] io scheduler bfq registered                                                                    
[    3.473486][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver                            
[    3.482485][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.          
[    3.493016][    T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.          
[    3.503349][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:       
[    3.513263][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000    
[    3.523375][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000    
[    3.533457][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000    
[    3.543537][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x01000000
[    3.554131][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x01000000
[    3.564723][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x02000000
[    3.575308][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x02000000
[    3.586582][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00                         
[    3.594881][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]                                                 
[    3.601045][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x0004)
[    3.611908][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x0004)
[    3.622753][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x0008)
[    3.633587][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]                                 
[    3.641137][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]                                        
[    3.648157][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400                                           
[    3.655348][    T1] pci 0000:00:02.0: [11ab:6282] type 01 class 0x060400                                           
[    3.662939][    T1] PCI: bus0: Fast back to back transfers disabled                                                
[    3.669221][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring                    
[    3.677912][    T1] pci 0000:00:02.0: bridge configuration invalid ([bus 00-00]), reconfiguring                    
[    3.686778][    T1] PCI: bus1: Fast back to back transfers enabled                                                 
[    3.692938][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01                                    
[    3.700471][    T1] PCI: bus2: Fast back to back transfers enabled                                                 
[    3.706655][    T1] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02                                    
[    3.713956][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]                                                       
[    3.719617][    T1] pci 0000:00:02.0: PCI bridge to [bus 02]                                                       
[    3.726084][    T1] mv_xor f1060800.xor: Marvell shared XOR driver                                                 
[    3.796086][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )                            
[    3.807233][    T1] mv_xor f1060900.xor: Marvell shared XOR driver                                                 
[    3.876061][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )                            
[    3.887463][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled                                       
[    3.896466][    T1] printk: console [ttyS0] disabled                                                               
[    3.901875][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 29, base_baud = 12500000) is a 16550A         
[    3.911604][    T1] printk: console [ttyS0] enabled                                                                
[    3.911604][    T1] printk: console [ttyS0] enabled                                                                
[    3.921441][    T1] printk: bootconsole [earlycon0] disabled                                                       
[    3.921441][    T1] printk: bootconsole [earlycon0] disabled                                                       
[    3.963571][    T1] loop: module loaded                                                                            
[    4.214480][    T1] nand: device found, Manufacturer ID: 0xb2, Chip ID: 0xb2                                       
[    4.221569][    T1] nand: Unknown f4000000.nand                                                                    
[    4.226136][    T1] nand: bus width 8 instead of 16 bits                                                           
[    4.231474][    T1] nand: No NAND device found                                                                     
[    4.235955][    T1] orion_nand: probe of f4000000.nand failed with error -22                                       
[    4.243589][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.                      
[    4.252184][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.  
[    4.265741][    T1] mdio_bus f1072004.mdio-bus-mii: MDIO device at address 8 is missing.                           
[    4.274100][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4                                  
[    4.282832][    T1] orion-ehci f1050000.ehci: EHCI Host Controller                                                 
[    4.289151][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1                        
[    4.297744][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000                                            
[    4.324481][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00                                           
[    4.331504][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05                 
[    4.340533][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1                             
[    4.348504][    T1] usb usb1: Product: EHCI Host Controller                                                        
[    4.354104][    T1] usb usb1: Manufacturer: Linux 6.5.7-kirkwood-tld-1 ehci_hcd                                    
[    4.361461][    T1] usb usb1: SerialNumber: f1050000.ehci                                                          
[    4.367649][    T1] hub 1-0:1.0: USB hub found                                                                     
[    4.372152][    T1] hub 1-0:1.0: 1 port detected                                                                   
[    4.377568][    T1] usbcore: registered new interface driver usb-storage                                           
[    4.384848][    T1] mousedev: PS/2 mouse device common for all mice                                                
[    4.392255][    T1] rtc-mv f1010300.rtc: registered as rtc0                                                        
[    4.397945][    T1] rtc-mv f1010300.rtc: setting system clock to 2032-02-01T10:08:23 UTC (1959242903)              
[    4.407542][    T1] i2c_dev: i2c /dev entries driver                                                               
[    4.413279][    T1] device-mapper: uevent: version 1.0.3                                                           
[    4.419095][    T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com               
[    4.428762][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded                                     
[    4.436084][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded                                    
[    4.443434][    T1] device-mapper: multipath service-time: version 0.3.0 loaded                                    
[    4.450890][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded                                          
[    4.458360][    T1] ledtrig-cpu: registered to indicate activity on CPUs                                           
[    4.465208][    T1] hid: raw HID events driver (C) Jiri Kosina                                                     
[    4.471439][    T1] drop_monitor: Initializing network drop monitor service                                        
[    4.479443][    T1] NET: Registered PF_INET6 protocol family                                                       
[    4.486559][    T1] Segment Routing with IPv6                                                                      
[    4.490948][    T1] RPL Segment Routing with IPv6                                                                  
[    4.495803][    T1] In-situ OAM (IOAM) with IPv6                                                                   
[    4.500523][    T1] NET: Registered PF_PACKET protocol family                                                      
[    4.506601][    T1] Key type dns_resolver registered                                                               
[    4.524157][    T1] registered taskstats version 1                                                                 
[    4.529279][    T1] Loading compiled-in X.509 certificates                                                         
[    4.549078][    T1] Key type .fscrypt registered                                                                   
[    4.553734][    T1] Key type fscrypt-provisioning registered                                                       
[    4.564127][    T1] Key type big_key registered                                                                    
[    4.601302][    T1] Key type encrypted registered                                                                  
[    4.664542][   T49] usb 1-1: new high-speed USB device number 2 using orion-ehci                                   
[    4.686544][   T98] "cryptomgr_test" (98) uses obsolete ecb(arc4) skcipher                                         
[    4.875008][   T49] usb 1-1: New USB device found, idVendor=058f, idProduct=6254, bcdDevice= 1.00                  
[    4.883955][   T49] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0                              
[    4.915317][   T49] hub 1-1:1.0: USB hub found                                                                     
[    4.924485][   T49] hub 1-1:1.0: 4 ports detected                                                                  
[    5.254478][   T49] usb 1-1.2: new high-speed USB device number 3 using orion-ehci                                 
[    5.431872][   T49] usb 1-1.2: New USB device found, idVendor=058f, idProduct=6387, bcdDevice= 1.04                
[    5.454470][   T49] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3                            
[    5.462522][   T49] usb 1-1.2: Product: Mass Storage                                                               
[    5.474469][   T49] usb 1-1.2: Manufacturer: Generic                                                               
[    5.479464][   T49] usb 1-1.2: SerialNumber: E7F00B9D                                                              
[    5.504647][   T49] usb-storage 1-1.2:1.0: USB Mass Storage device detected                                        
[    5.524491][   T49] scsi host0: usb-storage 1-1.2:1.0                                                              
[    6.138280][    T1] clk: Disabling unused clocks                                                                   
[    6.146461][    T1] Freeing unused kernel image (initmem) memory: 1024K                                            
[    6.174959][    T1] Checked W+X mappings: passed, no W+X pages found                                               
[    6.181357][    T1] Run /init as init process                                                                      
Loading, please wait...                                                                                               
Starting systemd-udevd version 252.17-1~deb12u1                                                                       
[    6.576705][   T10] scsi 0:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 4                   
[    6.595419][   T29] sd 0:0:0:0: [sda] 7866368 512-byte logical blocks: (4.03 GB/3.75 GiB)                          
[    6.620363][   T29] sd 0:0:0:0: [sda] Write Protect is off                                                         
[    6.636179][   T29] sd 0:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA       
[    6.671009][   T29]  sda: sda1                                                                                     
[    6.687137][   T29] sd 0:0:0:0: [sda] Attached SCSI removable disk                                                 
[    7.414381][  T147] usbcore: registered new interface driver uas                                                   
Begin: Loading essential drivers ... done.                                                                            
Begin: Running /[   17.774834][   T49] platform mv643xx_eth_port.0: deferred probe pending                            
scripts/init-premount ... done.                                                                                       
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.                                      
Begin: Running /scripts/local-premount ... done.                                                                      
Begin: Will now check root file system ... fsck from util-linux 2.38.1                                                
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1                                                         
rootfs: recovering journal                                                                                            
rootfs: clean, 20055/245760 files, 284486/983040 blocks                                                               
done.                                                                                                                 
[   30.201840][  T175] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem                             
[   30.288860][  T175] EXT4-fs (sda1): mounted filesystem 6d1d1b6c-8601-4a11-aece-91075a013cfa ro with ordered data m.
done.                                                                                                                 
Begin: Running /scripts/local-bottom ... done.                                                                        
Begin: Running /scripts/init-bottom ... done.                                                                         
INIT: version 3.06 booting                                                                                            
INIT: No inittab.d directory found                                                                                    
Using makefile-style concurrent boot in runlevel S.                                                                   
Setting hostname to 'debian'...done.                                                                                  
Starting hotplug events dispatcher: systemd-udevd.                                                                    
Synthesizing the initial hotplug events (subsystems)...done.                                                          
Synthesizing the initial hotplug events (devices)...done.                                                             
Waiting for /dev to be fully populated...[   33.193533][  T370] orion_wdt: Initial timeout 21 sec                     
[   33.775024][  T355] sd 0:0:0:0: Attached scsi generic sg0 type 0                                                   
[   33.859200][  T369] marvell-cesa f1030000.crypto: CESA device successfully registered                              
[   34.214637][  T116] random: crng init done                                                                         
done.                                                                                                                 
Activating swap:.                                                                                                     
[   34.909791][  T504] EXT4-fs (sda1): re-mounted 6d1d1b6c-8601-4a11-aece-91075a013cfa r/w. Quota mode: none.         
Will now check all file systems.                                                                                      
Checking all file systems.                                                                                            
LABEL=rootfs is mounted                                                                                               
Done checking file systems.                                                                                           
Log is being saved in /var/log/fsck/checkfs if that location is writable.                                             
Cleaning up temporary files...Cleaning /tmp...done.                                                                   
 /tmp.                                                                                                                
Will now mount local filesystems:.                                                                                    
Will now activate swapfile swap, if any:done.                                                                         
Checking minimum space in /tmp...done.                                                                                
Cleaning up temporary files....                                                                                       
Starting Setting kernel variables: sysctl.                                                                            
Initializing random number generator...done.                                                                          
Configuring network interfaces...Cannot find device "eth0"                                                            
ifup: failed to bring up eth0                                                                                         
failed.                                                                                                               
Starting RPC port mapper daemon: rpcbind.                                                                             
Starting NFS common utilities: statd idmapd.                                                                          
Cleaning up temporary files....                                                                                       
INIT: Entering runlevel: 2                                                                                            
Using makefile-style concurrent boot in runlevel 2.                                                                   
Not starting NFS kernel daemon: no exports ... (warning).                                                             
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...                                           
981 (syslogd)                                                                                                         
.                                                                                                                     
Starting system message bus: dbus.                                                                                    
Starting NTP server: ntpd2032-02-01T02:08:57 ntpd[1019]: INIT: ntpd ntpsec-1.2.2: Starting                            
2032-02-01T02:08:57 ntpd[1019]: INIT: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:106                 
.                                                                                                                     
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.                                                                      
Starting NTP server: ntpd.                                                                                            
Starting OpenBSD Secure Shell server: sshd.                                                                           
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...                                                 
1002 (klogd)                                                                                                          
.                                                                                                                     
Running local boot scripts (/etc/rc.local)                                                                            
.                                                                                                                     
                                                                                                                      
Debian GNU/Linux 12 debian ttyS0                                                                                      
                                                                                                                      
debian login: root                                                                                                    
Password:                                                                                                             
Linux debian 6.5.7-kirkwood-tld-1 #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023 armv5tel                                    
                                                                                                                      
The programs included with the Debian GNU/Linux system are free software;                                             
the exact distribution terms for each program are described in the                                                    
individual files in /usr/share/doc/*/copyright.                                                                       
                                                                                                                      
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent                                                     
permitted by applicable law.                                                                                          
Last login: Sun Feb  1 05:40:01 PST 2032 on ttyS0                                                                     
debian                                                                                                                
Marvell DB-88F6282-BP Development Board                                                                               
Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 3
Debian 12.2                                                                                                           
Sun Feb 1 02:10:19 PST 2032 up 2 minutes                                                                              
root@debian:~# ip a                                                                                                   
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000                           
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00                                                             
    inet 127.0.0.1/8 scope host lo                                                                                    
       valid_lft forever preferred_lft forever                                                                        
    inet6 ::1/128 scope host                                                                                          
       valid_lft forever preferred_lft forever
Re: Debian on Dell Kace M300
October 01, 2024 02:03PM
You've used the wrong DTB while creating uImage.

Instruction:

Quote

4. (Stock u-boot only) Create uImage with embedded DTB for booting with older u-boots (2012 or earlier). Skip this step if you have installed the latest U-Boot for Kirkwood (or are installing this u-boot at the same time, or running kwboot with latest u-boot image).

Please replace kirkwood-goflexnet.dtb below with the correct DTB name for your box (see the folder /media/sdb1/boot/dts for the exact spelling of your Kirkwood box name).

Generate the uImage with DTB embedded inside:
cd /media/sdb1/boot
cp -a zImage-6.5.7-kirkwood-tld-1 zImage.fdt
cat dts/kirkwood-goflexnet.dtb >> zImage.fdt
mv uImage uImage.orig
mkimage -A arm -O linux -T kernel -C none -a 0x00008000 -e 0x00008000 -n Linux-6.5.7-kirkwood-tld-1 -d zImage.fdt uImage
sync

So for this Dell Kace M300, look for it in /media/sdb1/boot/dts. You will find the DTB file: kirkwood-m300.dtb

Recreate uImage and it will be OK.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Jáder Marasca
Re: Debian on Dell Kace M300
October 01, 2024 03:07PM
Thank you ... it was this the problem: using wrong image/DTS part.
I suggest your instructions include to create a copy of that file BEFORE apply DTS patches... so morons like me can go back and just apply new DTS changes without to recreate all image... hehehe.

Now I'll think about what usage I'll destinate my new M300... maybe PrintServer (CUPS) , maybe MediaServer (LMS or something like that).
Do you have suggestions about it?

What about the other one (that with red/orange light blinking and a DDR3 error): do you have any tips to debug/fix or is a dead one and just a paper weight ??
Jáder Marasca
Re: Debian on Dell Kace M300
October 01, 2024 03:15PM
More network problems:

2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000                         
    link/ether 00:50:43:3a:01:3a brd ff:ff:ff:ff:ff:ff                                                                
    inet 192.168.0.17/24 brd 192.168.0.255 scope global dynamic eth0                                                  
       valid_lft 86370sec preferred_lft 86370sec                                                                      
    inet6 2804:29b8:5087:4fe4:250:43ff:fe3a:13a/64 scope global dynamic mngtmpaddr

It generated a fake MAC ADDR, in fact twice the same fake MAC ADDR
even if I stop the boot , unprotect and run
setenv ethaddr 18:03:73:41:DC:37

why it did it?? It's me again :) ???
Re: Debian on Dell Kace M300
October 01, 2024 04:05PM
Jáder Marasca Wrote:
-------------------------------------------------------
> Thank you ... it was this the problem: using wrong
> image/DTS part.
> I suggest your instructions include to create a
> copy of that file BEFORE apply DTS patches... so
> morons like me can go back and just apply new DTS
> changes without to recreate all image... hehehe.

It does say that, though it's not bolded - though the important part IS in red:

Quote
Please replace kirkwood-goflexnet.dtb below with the correct DTB name for your box (see the folder /media/sdb1/boot/dts for the exact spelling of your Kirkwood box name).

And yes, you gotta know to look for the right dtb file for the machine. Trust me - I've screwed up many times, and I do things multiple times before I post for help because I feel I'm wasting others' time when I've ended up screwing up on my own. I mean - look for my posts here and see my mistakes! ;-)



Edited 2 time(s). Last edit at 10/01/2024 05:44PM by dhargens.
Re: Debian on Dell Kace M300
October 01, 2024 05:39PM
Jáder,

> More network problems

Again, please post the serial boot log (always do that when you have problem).

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Jáder Marasca
Re: Debian on Dell Kace M300
October 02, 2024 07:13AM
Starting kernel ...                                                                                                   
                                                                                                                      
[    0.000000][    T0] Booting Linux on physical CPU 0x0                                                              
[    0.000000][    T0] Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GN3
[    0.000000][    T0] CPU: Feroceon 88FR131 [56251311] revision 1 (ARMv5TE), cr=0005397f                             
[    0.000000][    T0] CPU: VIVT data cache, VIVT instruction cache                                                   
[    0.000000][    T0] OF: fdt: Machine model: Dell KACE M300                                                         
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled                                                        
[    0.000000][    T0] Memory policy: Data cache writeback                                                            
[    0.000000][    T0] Ignoring RAM at 0x70000000-0x80000000                                                          
[    0.000000][    T0] Consider using a HIGHMEM enabled kernel.                                                       
[    0.000000][    T0] Zone ranges:                                                                                   
[    0.000000][    T0]   Normal   [mem 0x0000000000000000-0x000000006fffffff]                                         
[    0.000000][    T0] Movable zone start for each node                                                               
[    0.000000][    T0] Early memory node ranges                                                                       
[    0.000000][    T0]   node   0: [mem 0x0000000000000000-0x000000006fffffff]                                        
[    0.000000][    T0] Initmem setup node 0 [mem 0x0000000000000000-0x000000006fffffff]                               
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=10 mtdparts=spi0.0:0x7f0l
[    0.000000][    T0] Dentry cache hash table entries: 262144 (order: 8, 1048576 bytes, linear)                      
[    0.000000][    T0] Inode-cache hash table entries: 131072 (order: 7, 524288 bytes, linear)                        
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 454720                                  
[    0.000000][    T0] mem auto-init: stack:off, heap alloc:on, heap free:off                                         
[    0.000000][    T0] Memory: 1790048K/1835008K available (12288K kernel code, 1755K rwdata, 5416K rodata, 1024K ini)
[    0.000000][    T0] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1                                     
[    0.000000][    T0] trace event string verifier disabled                                                           
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.                                              
[    0.000000][    T0]  Trampoline variant of Tasks RCU enabled.                                                      
[    0.000000][    T0]  Tracing variant of Tasks RCU enabled.                                                         
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies.                         
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16                                                
[    0.000000][    T0] rcu: srcu_init: Setting srcu_struct sizes based on contention.                                 
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 95563022s
[    0.000001][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps every 10737418237ns                      
[    0.008519][    T0] Switching to timer-based delay loop, resolution 5ns                                            
[    0.015524][    T0] Console: colour dummy device 80x30                                                             
[    0.020738][    T0] Calibrating delay loop (skipped), value calculated using timer frequency.. 400.00 BogoMIPS (lp)
[    0.031961][    T0] CPU: Testing write buffer coherency: ok                                                        
[    0.037622][    T0] pid_max: default: 32768 minimum: 301                                                           
[    0.048355][    T0] LSM: initializing lsm=capability,integrity                                                     
[    0.055746][    T0] Mount-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)                           
[    0.063872][    T0] Mountpoint-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)                      
[    0.080958][    T1] RCU Tasks: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.                               
[    0.089015][    T1] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.                         
[    0.097628][    T1] Setting up static identity map for 0x100000 - 0x100058                                         
[    0.104738][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1                                                     
[    0.110909][    T1] rcu: Hierarchical SRCU implementation.                                                         
[    0.116384][    T1] rcu:     Max phase no-delay instances is 1000.                                                 
[    0.124413][    T1] devtmpfs: initialized                                                                          
[    0.135098][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 s
[    0.145731][    T1] futex hash table entries: 256 (order: -1, 3072 bytes, linear)                                  
[    0.155040][    T1] prandom: seed boundary self test passed                                                        
[    0.163180][    T1] prandom: 100 self tests passed                                                                 
[    0.167958][    T1] pinctrl core: initialized pinctrl subsystem                                                    
[    0.176636][    T1] NET: Registered PF_NETLINK/PF_ROUTE protocol family                                            
[    0.184432][    T1] DMA: preallocated 256 KiB pool for atomic coherent allocations                                 
[    0.195476][    T1] audit: initializing netlink subsys (disabled)                                                  
[    0.203186][    T1] thermal_sys: Registered thermal governor 'step_wise'                                           
[    0.203317][    T1] cpuidle: using governor ladder                                                                 
[    0.214820][   T19] audit: type=2000 audit(0.190:1): state=initialized audit_enabled=0 res=1                       
[    0.223350][    T1] cpuidle: using governor menu                                                                   
[    0.228407][    T1] Feroceon L2: Enabling L2                                                                       
[    0.232723][    T1] Feroceon L2: Cache support initialised.                                                        
[    0.244310][    T1] No ATAGs?                                                                                      
[    0.608533][    T1] raid6: int32x8  gen()   187 MB/s                                                               
[    0.948533][    T1] raid6: int32x4  gen()   170 MB/s                                                               
[    1.288558][    T1] raid6: int32x2  gen()   217 MB/s                                                               
[    1.628532][    T1] raid6: int32x1  gen()   150 MB/s                                                               
[    1.633480][    T1] raid6: using algorithm int32x2 gen() 217 MB/s                                                  
[    1.988531][    T1] raid6: .... xor() 138 MB/s, rmw enabled                                                        
[    1.994079][    T1] raid6: using intx1 recovery algorithm                                                          
[    2.009706][    T1] SCSI subsystem initialized                                                                     
[    2.018948][    T1] usbcore: registered new interface driver usbfs                                                 
[    2.025147][    T1] usbcore: registered new interface driver hub                                                   
[    2.048608][    T1] usbcore: registered new device driver usb                                                      
[    2.054562][    T1] pps_core: LinuxPPS API ver. 1 registered                                                       
[    2.068533][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti <giometti@linux.it>       
[    2.078365][    T1] PTP clock support registered                                                                   
[    2.100484][    T1] vgaarb: loaded                                                                                 
[    2.104471][    T1] clocksource: Switched to clocksource orion_clocksource                                         
[    2.130156][    T1] VFS: Disk quotas dquot_6.6.0                                                                   
[    2.144761][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)                                
[    2.176523][    T1] NET: Registered PF_INET protocol family                                                        
[    2.194691][    T1] IP idents hash table entries: 32768 (order: 6, 262144 bytes, linear)                           
[    2.217240][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)               
[    2.234651][    T1] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)                       
[    2.243106][    T1] TCP established hash table entries: 16384 (order: 4, 65536 bytes, linear)                      
[    2.264744][    T1] TCP bind hash table entries: 16384 (order: 5, 131072 bytes, linear)                            
[    2.284864][    T1] TCP: Hash tables configured (established 16384 bind 16384)                                     
[    2.292562][    T1] MPTCP token hash table entries: 2048 (order: 2, 24576 bytes, linear)                           
[    2.324696][    T1] UDP hash table entries: 1024 (order: 2, 16384 bytes, linear)                                   
[    2.332128][    T1] UDP-Lite hash table entries: 1024 (order: 2, 16384 bytes, linear)                              
[    2.355130][    T1] NET: Registered PF_UNIX/PF_LOCAL protocol family                                               
[    2.365057][    T1] RPC: Registered named UNIX socket transport module.                                            
[    2.371648][    T1] RPC: Registered udp transport module.                                                          
[    2.394485][    T1] RPC: Registered tcp transport module.                                                          
[    2.399865][    T1] RPC: Registered tcp-with-tls transport module.                                                 
[    2.414485][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.                                      
[    2.421598][    T1] PCI: CLS 0 bytes, default 32                                                                   
[    2.444836][   T10] Trying to unpack rootfs image as initramfs...                                                  
[    2.942667][    T1] Initialise system trusted keyrings                                                             
[    2.954637][    T1] Key type blacklist registered                                                                  
[    2.964712][    T1] workingset: timestamp_bits=14 max_order=19 bucket_order=5                                      
[    2.971968][    T1] zbud: loaded                                                                                   
[    3.006655][    T1] NFS: Registering the id_resolver key type                                                      
[    3.012420][    T1] Key type id_resolver registered                                                                
[    3.034813][    T1] Key type id_legacy registered                                                                  
[    3.039681][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering...                                   
[    3.054544][    T1] nfs4flexfilelayout_init: NFSv4 Flexfile Layout Driver Registering...                           
[    3.063720][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.                                
[    3.087982][   T10] Freeing initrd memory: 5656K                                                                   
[    3.093217][    T1] fuse: init (API version 7.38)                                                                  
[    3.098956][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:                                      
[    3.106314][    T1] orangefs_init: module version upstream loaded                                                  
[    3.112610][    T1] SGI XFS with ACLs, security attributes, realtime, scrub, quota, no debug enabled               
[    3.248659][    T1] xor: measuring software checksum speed                                                         
[    3.259510][    T1]    arm4regs        :  1841 MB/sec                                                              
[    3.273338][    T1]    8regs           :  1119 MB/sec                                                              
[    3.284582][    T1]    32regs          :  1587 MB/sec                                                              
[    3.289612][    T1] xor: using function: arm4regs (1841 MB/sec)                                                    
[    3.295523][    T1] async_tx: api initialized (async)                                                              
[    3.300559][    T1] Key type asymmetric registered                                                                 
[    3.305344][    T1] Asymmetric key parser 'x509' registered                                                        
[    3.346813][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 246)                           
[    3.355349][    T1] io scheduler bfq registered                                                                    
[    3.473569][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinctrl driver                            
[    3.482672][    T1] gpio gpiochip0: Static allocation of GPIO base is deprecated, use dynamic allocation.          
[    3.493184][    T1] gpio gpiochip1: Static allocation of GPIO base is deprecated, use dynamic allocation.          
[    3.503524][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: host bridge /mbus@f1000000/pcie@82000000 ranges:       
[    3.513437][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1040000..0x00f1041fff -> 0x0000040000    
[    3.523547][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1044000..0x00f1045fff -> 0x0000044000    
[    3.533630][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0x00f1080000..0x00f1081fff -> 0x0000080000    
[    3.543710][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x01000000
[    3.554304][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x01000000
[    3.564896][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:      MEM 0xffffffffffffffff..0x00fffffffe -> 0x02000000
[    3.575481][    T1] mvebu-pcie mbus@f1000000:pcie@82000000:       IO 0xffffffffffffffff..0x00fffffffe -> 0x02000000
[    3.586530][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge to bus 0000:00                         
[    3.594828][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]                                                 
[    3.600985][    T1] pci_bus 0000:00: root bus resource [mem 0xf1040000-0xf1041fff] (bus address [0x00040000-0x0004)
[    3.611847][    T1] pci_bus 0000:00: root bus resource [mem 0xf1044000-0xf1045fff] (bus address [0x00044000-0x0004)
[    3.622692][    T1] pci_bus 0000:00: root bus resource [mem 0xf1080000-0xf1081fff] (bus address [0x00080000-0x0008)
[    3.633527][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefffffff]                                 
[    3.641077][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]                                        
[    3.648099][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400                                           
[    3.655839][    T1] PCI: bus0: Fast back to back transfers disabled                                                
[    3.662089][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring                    
[    3.670973][    T1] PCI: bus1: Fast back to back transfers enabled                                                 
[    3.677159][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01                                    
[    3.684457][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]                                                       
[    3.690819][    T1] mv_xor f1060800.xor: Marvell shared XOR driver                                                 
[    3.756090][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor cpy intr )                            
[    3.767258][    T1] mv_xor f1060900.xor: Marvell shared XOR driver                                                 
[    3.836098][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor cpy intr )                            
[    3.847488][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled                                       
[    3.856540][    T1] printk: console [ttyS0] disabled                                                               
[    3.861956][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 28, base_baud = 12500000) is a 16550A         
[    3.871697][    T1] printk: console [ttyS0] enabled                                                                
[    3.871697][    T1] printk: console [ttyS0] enabled                                                                
[    3.881530][    T1] printk: bootconsole [earlycon0] disabled                                                       
[    3.881530][    T1] printk: bootconsole [earlycon0] disabled                                                       
[    3.923579][    T1] loop: module loaded                                                                            
[    3.928177][    T1] sata_mv f1080000.sata: slots 32 ports 1                                                        
[    3.935924][    T1] scsi host0: sata_mv                                                                            
[    3.940469][    T1] ata1: SATA max UDMA/133 irq 29                                                                 
[    3.947187][    T1] spi-nor spi0.0: mx25l4005a (512 Kbytes)                                                        
[    3.952888][    T1] 2 cmdlinepart partitions found on MTD device spi0.0                                            
[    3.959596][    T1] Creating 2 MTD partitions on "spi0.0":                                                         
[    3.965127][    T1] 0x000000000000-0x00000007f000 : "uboot"                                                        
[    3.971331][    T1] 0x00000007f000-0x000000080000 : "u-boot-env"                                                   
[    3.978356][    T1] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.                      
[    3.986957][    T1] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.  
[    4.016512][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version 1.4                                  
[    4.026734][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC address 00:50:43:3a:01:3a            
[    4.036712][    T1] orion-ehci f1050000.ehci: EHCI Host Controller                                                 
[    4.042948][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigned bus number 1                        
[    4.051554][    T1] orion-ehci f1050000.ehci: irq 32, io mem 0xf1050000                                            
[    4.084497][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00                                           
[    4.091483][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.05                 
[    4.100509][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1                             
[    4.108480][    T1] usb usb1: Product: EHCI Host Controller                                                        
[    4.114081][    T1] usb usb1: Manufacturer: Linux 6.5.7-kirkwood-tld-1 ehci_hcd                                    
[    4.121438][    T1] usb usb1: SerialNumber: f1050000.ehci                                                          
[    4.127662][    T1] hub 1-0:1.0: USB hub found                                                                     
[    4.132164][    T1] hub 1-0:1.0: 1 port detected                                                                   
[    4.137562][    T1] usbcore: registered new interface driver usb-storage                                           
[    4.144842][    T1] mousedev: PS/2 mouse device common for all mice                                                
[    4.152200][    T1] rtc-mv f1010300.rtc: registered as rtc0                                                        
[    4.157892][    T1] rtc-mv f1010300.rtc: setting system clock to 2024-10-02T01:53:36 UTC (1727834016)              
[    4.167473][    T1] i2c_dev: i2c /dev entries driver                                                               
[    4.173315][    T1] device-mapper: uevent: version 1.0.3                                                           
[    4.179152][    T1] device-mapper: ioctl: 4.48.0-ioctl (2023-03-01) initialised: dm-devel@redhat.com               
[    4.188846][    T1] device-mapper: multipath round-robin: version 1.2.0 loaded                                     
[    4.196210][    T1] device-mapper: multipath queue-length: version 0.2.0 loaded                                    
[    4.203582][    T1] device-mapper: multipath service-time: version 0.3.0 loaded                                    
[    4.211059][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded                                          
[    4.219173][    T1] ledtrig-cpu: registered to indicate activity on CPUs                                           
[    4.226079][    T1] hid: raw HID events driver (C) Jiri Kosina                                                     
[    4.232278][    T1] drop_monitor: Initializing network drop monitor service                                        
[    4.240345][    T1] NET: Registered PF_INET6 protocol family                                                       
[    4.247726][    T1] Segment Routing with IPv6                                                                      
[    4.252276][    T1] RPL Segment Routing with IPv6                                                                  
[    4.257098][    T1] In-situ OAM (IOAM) with IPv6                                                                   
[    4.261866][    T1] NET: Registered PF_PACKET protocol family                                                      
[    4.267935][    T1] Key type dns_resolver registered                                                               
[    4.278047][   T52] ata1: SATA link down (SStatus 0 SControl F300)                                                 
[    4.291948][    T1] registered taskstats version 1                                                                 
[    4.296937][    T1] Loading compiled-in X.509 certificates                                                         
[    4.316810][    T1] Key type .fscrypt registered                                                                   
[    4.321471][    T1] Key type fscrypt-provisioning registered                                                       
[    4.331910][    T1] Key type big_key registered                                                                    
[    4.369448][    T1] Key type encrypted registered                                                                  
[    4.424570][   T49] usb 1-1: new high-speed USB device number 2 using orion-ehci                                   
[    4.454174][  T102] "cryptomgr_test" (102) uses obsolete ecb(arc4) skcipher                                        
[    4.634942][   T49] usb 1-1: New USB device found, idVendor=058f, idProduct=6254, bcdDevice= 1.00                  
[    4.643888][   T49] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0                              
[    4.675410][   T49] hub 1-1:1.0: USB hub found                                                                     
[    4.684499][   T49] hub 1-1:1.0: 4 ports detected                                                                  
[    5.014493][   T49] usb 1-1.2: new high-speed USB device number 3 using orion-ehci                                 
[    5.191807][   T49] usb 1-1.2: New USB device found, idVendor=058f, idProduct=6387, bcdDevice= 1.04                
[    5.214486][   T49] usb 1-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3                            
[    5.222541][   T49] usb 1-1.2: Product: Mass Storage                                                               
[    5.234485][   T49] usb 1-1.2: Manufacturer: Generic                                                               
[    5.239475][   T49] usb 1-1.2: SerialNumber: E7F00B9D                                                              
[    5.264660][   T49] usb-storage 1-1.2:1.0: USB Mass Storage device detected                                        
[    5.284507][   T49] scsi host1: usb-storage 1-1.2:1.0                                                              
[    5.905390][    T1] clk: Disabling unused clocks                                                                   
[    5.913440][    T1] Freeing unused kernel image (initmem) memory: 1024K                                            
[    5.934990][    T1] Checked W+X mappings: passed, no W+X pages found                                               
[    5.941394][    T1] Run /init as init process                                                                      
Loading, please wait...                                                                                               
Starting systemd-udevd version 252.17-1~deb12u1                                                                       
[    6.336774][   T10] scsi 1:0:0:0: Direct-Access     Generic  Flash Disk       8.07 PQ: 0 ANSI: 4                   
[    6.358101][   T29] sd 1:0:0:0: [sda] 7866368 512-byte logical blocks: (4.03 GB/3.75 GiB)                          
[    6.382110][   T29] sd 1:0:0:0: [sda] Write Protect is off                                                         
[    6.398610][   T29] sd 1:0:0:0: [sda] Write cache: disabled, read cache: enabled, doesn't support DPO or FUA       
[    6.433194][   T29]  sda: sda1                                                                                     
[    6.448210][   T29] sd 1:0:0:0: [sda] Attached SCSI removable disk                                                 
[    7.161915][  T148] usbcore: registered new interface driver uas                                                   
Begin: Loading essential drivers ... done.                                                                            
Begin: Running /scripts/init-premount ... done.                                                                       
Begin: Mounting root file system ... Begin: Running /scripts/local-top ... done.                                      
Begin: Running /scripts/local-premount ... done.                                                                      
Begin: Will now check root file system ... fsck from util-linux 2.38.1                                                
[/sbin/fsck.ext3 (1) -- /dev/sda1] fsck.ext3 -a -C0 /dev/sda1                                                         
rootfs: clean, 25668/245760 files, 321595/983040 blocks                                                               
done.                                                                                                                 
[   18.017239][  T178] EXT4-fs (sda1): mounting ext3 file system using the ext4 subsystem                             
[   18.084922][  T178] EXT4-fs (sda1): mounted filesystem 042bd57b-c1a8-4310-aa68-91318ef71920 ro with ordered data m.
done.                                                                                                                 
Begin: Running /scripts/local-bottom ... done.                                                                        
Begin: Running /scripts/init-bottom ... done.                                                                         
INIT: version 3.06 booting                                                                                            
INIT: No inittab.d directory found                                                                                    
Using makefile-style concurrent boot in runlevel S.                                                                   
Setting hostname to 'debian'...done.                                                                                  
Starting hotplug events dispatcher: systemd-udevd.                                                                    
Synthesizing the initial hotplug events (subsystems)...done.                                                          
Synthesizing the initial hotplug events (devices)...done.                                                             
Waiting for /dev to be fully populated...[   21.057444][  T358] orion_wdt: Initial timeout 21 sec                     
[   21.582862][  T371] marvell-cesa f1030000.crypto: CESA device successfully registered                              
[   21.630059][  T355] sd 1:0:0:0: Attached scsi generic sg0 type 0                                                   
done.                                                                                                                 
Activating swap:.                                                                                                     
[   22.891241][  T516] EXT4-fs (sda1): re-mounted 042bd57b-c1a8-4310-aa68-91318ef71920 r/w. Quota mode: none.         
Will now check all file systems.                                                                                      
Checking all file systems.                                                                                            
LABEL=rootfs is mounted                                                                                               
Done checking file systems.                                                                                           
Log is being saved in /var/log/fsck/checkfs if that location is writable.                                             
Cleaning up temporary files...Cleaning /tmp...done.                                                                   
 /tmp.                                                                                                                
Will now mount local filesystems:.                                                                                    
Will now activate swapfile swap, if any:done.                                                                         
Checking minimum space in /tmp...done.                                                                                
Cleaning up temporary files....                                                                                       
Starting Setting kernel variables: sysctl.                                                                            
[   24.644509][    C0] random: crng init done                                                                         
Initializing random number generator...done.                                                                          
Configuring network interfaces...Internet Systems Consortium DHCP Client 4.4.3-P1                                     
Copyright 2004-2022 Internet Systems Consortium.                                                                      
All rights reserved.                                                                                                  
For info, please visit https://www.isc.org/software/dhcp/                                                             
                                                                                                                      
Listening on LPF/eth0/00:50:43:3a:01:3a                                                                               
Sending on   LPF/eth0/00:50:43:3a:01:3a                                                                               
Sending on   Socket/fallback                                                                                          
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7                                                            
[   27.961474][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 1000 Mb/s, full duplex, flow control disabld
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12                                                           
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 21                                                           
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11                                                           
DHCPOFFER of 192.168.0.17 from 192.168.0.1                                                                            
DHCPREQUEST for 192.168.0.17 on eth0 to 255.255.255.255 port 67                                                       
DHCPACK of 192.168.0.17 from 192.168.0.1                                                                              
bound to 192.168.0.17 -- renewal in 42524 seconds.                                                                    
done.                                                                                                                 
Starting RPC port mapper daemon: rpcbind.                                                                             
Starting NFS common utilities: statd idmapd.                                                                          
Cleaning up temporary files....                                                                                       
INIT: Entering runlevel: 2                                                                                            
Using makefile-style concurrent boot in runlevel 2.                                                                   
Not starting NFS kernel daemon: no exports ... (warning).                                                             
Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd...                                           
1030 (syslogd)                                                                                                        
.                                                                                                                     
Starting system message bus: dbus.                                                                                    
Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.                                                                      
Starting NTP server: ntpd2024-10-01T18:54:46 ntpd[1068]: INIT: ntpd ntpsec-1.2.2: Starting                            
2024-10-01T18:54:46 ntpd[1068]: INIT: Command line: /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 104:106                 
.                                                                                                                     
Starting NTP server: ntpd.                                                                                            
Starting OpenBSD Secure Shell server: sshd.                                                                           
Starting busybox' klogd implementation : klogdStarting /sbin/klogd...                                                 
1049 (klogd)                                                                                                          
.                                                                                                                     
Running local boot scripts (/etc/rc.local)                                                                            
.                                                                                                                     
                                                                                                                      
Debian GNU/Linux 12 debian ttyS0                                                                                      
                                                                                                                      
debian login: root                                                                                                    
Password:                                                                                                             
Linux debian 6.5.7-kirkwood-tld-1 #2 PREEMPT Wed Oct 18 21:14:11 PDT 2023 armv5tel                                    
                                                                                                                      
The programs included with the Debian GNU/Linux system are free software;                                             
the exact distribution terms for each program are described in the                                                    
individual files in /usr/share/doc/*/copyright.                                                                       
                                                                                                                      
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent                                                     
permitted by applicable law.                                                                                          
Last login: Sun Feb  1 02:09:14 PST 2032 on ttyS0                                                                     
debian                                                                                                                
192.168.0.17                                                                                                          
Dell KACE M300                                                                                                        
Linux version 6.5.7-kirkwood-tld-1 (root@tldDebian) (gcc (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 3
Debian 12.2                                                                                                           
Tue Oct 1 18:55:08 PDT 2024 up 1 minute                                                                               
root@debian:~# ip a                                                                                                   
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000                           
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00                                                             
    inet 127.0.0.1/8 scope host lo                                                                                    
       valid_lft forever preferred_lft forever                                                                        
    inet6 ::1/128 scope host                                                                                          
       valid_lft forever preferred_lft forever                                                                        
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000                         
    link/ether 00:50:43:3a:01:3a brd ff:ff:ff:ff:ff:ff                                                                
    inet 192.168.0.17/24 brd 192.168.0.255 scope global dynamic eth0                                                  
       valid_lft 86369sec preferred_lft 86369sec                                                                      
    inet6 2804:29b8:5087:4fe4:250:43ff:fe3a:13a/64 scope global dynamic mngtmpaddr                                    
       valid_lft 172794sec preferred_lft 172794sec                                                                    
    inet6 fe80::250:43ff:fe3a:13a/64 scope link                                                                       
       valid_lft forever preferred_lft forever
Re: Debian on Dell Kace M300
October 02, 2024 02:21PM
Can you SSH in now?

The MAC address was not a fake one.

00:50:43:3a:xx:xx is the Marvell MAC address for this NIC.
18:03:73:41:xx:xx is the Dell MAC address for this NIC.

So both are real and correct. Apparently, the Marvell MAC addr is the one passed to the Linux kernel, not the Dell MAC addr in the env ethaddr.

Remember, you are running stock u-boot. You have not installed the new u-boot yet. Stock u-boot is very old, and its behavior is not up to the modern standard.

My oversight was that I've forgot to oficially release this box new u-boot. See the M300 installation notes:

Quote

E. U-Boot 2022.04-tld-1 for M300 (Optional)

After the box is running to your satisfaction. Consider installing new u-boot.

See new u-boot installation and binary here

Of course, you don't have to install the new u-boot (it works well now with stock u-boot). But in the future, when you need more advance features such as Ext4 rootfs, large HDD (3TB or larger), then install new u-boot.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
Re: Debian on Dell Kace M300
October 04, 2024 09:57PM
Jáder,

Quote

What about the other one (that with red/orange light blinking and a DDR3 error): do you have any tips to debug/fix or is a dead one and just a paper weight ??

Go ahead and boot into USB rootfs on this bad unit.

Look for a Debian memory check utility. Run that to confirm the bad memory region. And I'll suggest some possible work around.

-bodhi
===========================
Forum Wiki
bodhi's corner (buy bodhi a beer)
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: