Quantcast
Channel: Linux Device Hacking - Debian
Viewing all 26691 articles
Browse latest View live

Re: Dell Appliance

$
0
0
Please see the post above for download link.

Re: Dell Appliance

$
0
0
@Neal,

Please give it a shot! I think your use case is the best test case for this kernel memory capacity.

Re: Dell Appliance

$
0
0
Stress tests.

Memory 1.7G

root@M300:~# stress-ng --vm 2 --vm-bytes 1700M --timeout 60s
stress-ng: info:  [3323] dispatching hogs: 2 vm
stress-ng: info:  [3323] cache allocate: using built-in defaults as unable to determine cache details
stress-ng: info:  [3323] cache allocate: default cache size: 2048K
stress-ng: info:  [3323] successful run completed in 74.66s (1 min, 14.66 secs)


CPU max

root@M300:~# stress-ng --cpu 64 --cpu-method all --verify -t 5m --metrics-brief
stress-ng: info:  [3336] dispatching hogs: 64 cpu
stress-ng: info:  [3336] cache allocate: using built-in defaults as unable to determine cache details
stress-ng: info:  [3336] cache allocate: default cache size: 2048K
stress-ng: info:  [3336] successful run completed in 316.25s (5 mins, 16.25 secs)
stress-ng: info:  [3336] stressor       bogo ops real time  usr time  sys time   bogo ops/s   bogo ops/s
stress-ng: info:  [3336]                           (secs)    (secs)    (secs)   (real time) (usr+sys time)
stress-ng: info:  [3336] cpu                 640    312.87    306.39      0.12         2.05         2.09

CPU and Memory

root@M300:~# stress-ng --cpu 64 --cpu-method all --verify -t 5m --metrics-brief --vm 2 --vm-bytes 1700M
stress-ng: info:  [3418] dispatching hogs: 64 cpu, 2 vm
stress-ng: info:  [3418] cache allocate: using built-in defaults as unable to determine cache details
stress-ng: info:  [3418] cache allocate: default cache size: 2048K
stress-ng: info:  [3418] successful run completed in 323.24s (5 mins, 23.24 secs)
stress-ng: info:  [3418] stressor       bogo ops real time  usr time  sys time   bogo ops/s   bogo ops/s
stress-ng: info:  [3418]                           (secs)    (secs)    (secs)   (real time) (usr+sys time)
stress-ng: info:  [3418] cpu                 632    319.17    306.03      0.07         1.98         2.06

Re: Dell Appliance

Re: Dell Appliance

$
0
0
> Great news! Thank you! Bodhi!

You're welcome David! looking forward to your tests whenever you get to use it for real applications.

Re: Debian buster 10.0 on Armada boxes -- udev problem with MAC address

$
0
0
This is what I get at boot:

[    7.037559] libphy: orion_mdio_bus: probed
[    7.143841] mvneta d0074000.ethernet eth0: Using random mac address 92:ba:10:da:c0:77

Re: Debian buster 10.0 on Armada boxes -- udev problem with MAC address

$
0
0
1000001101000 Wrote:
-------------------------------------------------------
> This is what I get at boot:
>
>
> [    7.037559] libphy: orion_mdio_bus: probed
> [    7.143841] mvneta d0074000.ethernet eth0:
> Using random mac address 92:ba:10:da:c0:77
>

IIRC, we did get that back in kernel 4.x. (I cannot recall which version specifically) But in later versions it was fixed in mainline.

Re: Dell Appliance

$
0
0
bodhi Wrote:
-------------------------------------------------------
> @Neal,
>
> Please give it a shot! I think your use case is
> the best test case for this kernel memory
> capacity.

Excellent! I'll keep you posted on my progress!

Neal

Re: Debian buster 10.0 on Armada boxes -- udev problem with MAC address

$
0
0
Neat. I’ll have to give it a try in 5.2

Re: Debian buster 10.0 on Armada boxes -- udev problem with MAC address

$
0
0
I should mention that the MAC address works with: alias in DTS, kernel 5.1.2, and Debian 9.x.

Re: Debian buster 10.0 on Armada boxes -- udev problem with MAC address

$
0
0
Now it's my turn to see the random local MAC problem :)
[    3.925766] mvneta f1070000.ethernet eth0: Using random mac address 62:ff:75:e5:93:a9

It turned out the error "persistent MAC address" below was from systemd lib. Even though I am not using systemd (this rootfs is sysvinit). udev is part of systemd so it uses rules from systemd library. This is an old systemd bug that seems to have been there and never been fixed properly?
[   19.183408][ T1752] systemd-udevd[1752]: Could not generate persistent MAC address for eth0: No such file or directory

The work around people proposed was:
diff /localdisk/99-default.link.orig.debian_10.0 /lib/systemd/network/99-default.link 
12c12
< MACAddressPolicy=persistent
---
> MACAddressPolicy=none

But now it seems to have brought the random MAC problem back with this work around.

So I'm back to square one.

Re: Debian on Dell Kace M300

$
0
0
I'm trying to install the new kernel and ran into a problem. First, i"m trying to install the 5.2.9 kernel on the usb with the 4.12.2 kernel and filesystem that was first used on the M300 last year. Is that a mistake and I should Install the 5.2.9 filesystem and kernel, and then update to this latest kernel? The problem with my "hybrid" system is that there is no initramfs-5.2.9 file so the mkimage fails when trying to make uInitrd.

Thanks for the help.

Re: Debian on Dell Kace M300

$
0
0
mikeh49,

> I'm trying to install the new kernel and ran into
> a problem. First, i"m trying to install the 5.2.9
> kernel on the usb with the 4.12.2 kernel and
> filesystem that was first used on the M300 last
> year. Is that a mistake and I should Install the
> 5.2.9 filesystem and kernel, and then update to
> this latest kernel?

Not a mistake, you can install kernel 5.2.9 when running any previous version.

> The problem with my "hybrid"
> system is that there is no initramfs-5.2.9 file so
> the mkimage fails when trying to make uInitrd.

I am sure what "hybrid" system means?

initrd.img-5.2.9-kirkwood-tld-1 is generated when you run dpkg to install linux-image-5.2.9-kirkwood-tld-1_1.0_armel.deb.

Re: Debian on Dell Kace M300

$
0
0
Thanks, I may not have run the dpkg, I'll go back and review. I've been having linux and windows box problems, so it's been messy. Hybrid is 4.12 filesystem with 5.2.9 kernel.

BTW, what do you guys use for this kind of work - Linux box using Terminal, Windows with Putty, or some way to use LInux with root privileges from a GUI? Lots of typing or copying and pasting without a GUI.

Re: Debian on Dell Kace M300

$
0
0
It is now working. I set up the USB on the M300 running the stock kernel and OS. I ran the dpkg command from the /tmp/usb/boot directory (/tmp/usb was the mount point of the USB) and it put the initramfs file in the boot directory of the M300 filesystem and the kernel modules in the /lib/modules directory of the M300 filesystem also. I'll look into dpkg to see if the install directory can be forced, or perhaps it in the setup of the .deb package? It seems like this would be a common use case where the kirkwood USB is setup on another linux box.

After moving the initramfs file and the kernel modules to the usb, running the mkimage for uInitrd, it booted into the new kernel. Is there any reason for me to run the stress tests? Is there a simple to install app that would test the memory size?

Re: Debian on Dell Kace M300

$
0
0
mikeh49,

You have done it the wrong way.

dpkg needs to be run on a live system booting a previous kernel. And it will automatically populate the rootfs /boot and /lib/modules/, and also records the linux-Image-xxxx the rootfs.

> I'll look into dpkg to see if the install
> directory can be forced, or perhaps it in the
> setup of the .deb package? It seems like this
> would be a common use case where the kirkwood USB
> is setup on another linux box.
>
> After moving the initramfs file and the kernel
> modules to the usb, running the mkimage for
> uInitrd, it booted into the new kernel.

Even though it booted, the roofts is not correct.

> Is there
> any reason for me to run the stress tests? I.
> there a simple to install app that would test the
> memory size?

Not sure if we should proceed. Until I see your kernel installation log, I am not sure.

Re: Debian on Dell Kace M300

$
0
0
OK, I'll get the boot log from serial. Is that right? Or, I can do it over while running the 5.2.9 kernel and 4.12 filesystem that is now booted.

Re: Debian on Dell Kace M300

$
0
0
Here's the log from serial console:

Hit any key to stop autoboot:  0
Marvell>> setenv mtdparts 'mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boo                                                              t-env)'
Marvell>> setenv set_bootargs_usb 'setenv bootargs console=ttyS0,115200 root=LAB                                                              EL=rootfs rootdelay=10 $(mtdparts) earlyprintk=serial
Marvell>> usb start
(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
Marvell>> ext2load usb 0:1 0x800000 /boot/uImage
....
................................................................................                                                              ................................................................................                                                              ................................................................................                                                              ................................................................................                                                              ................................................................................                                                              .........
........................................................................

4981628 bytes read
Marvell>> ext2load usb 0:1 0x02100000 /boot/uInitrd
....
................................................................................                                                              ................................................................................                                                              .................................................

2190934 bytes read
Marvell>> run set_bootargs_usb
Marvell>> bootm 0x800000 0x02100000
## Booting image at 00800000 ...
   Image Name:   Linux-5.2.9-kirkwood-tld-2
   Created:      2019-08-29  22:30:20 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    4981564 Bytes =  4.8 MB
   Load Address: 00008000
   Entry Point:  00008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 02100000 ...
   Image Name:   initramfs-5.2.9-kirkwood-tld-2
   Created:      2019-08-30   0:32:45 UTC
   Image Type:   ARM Linux RAMDisk Image (gzip compressed)
   Data Size:    2190870 Bytes =  2.1 MB
   Load Address: 00000000
   Entry Point:  00000000
   Verifying Checksum ... OK

Starting kernel ...

Uncompressing Linux... done, booting the kernel.
[    0.000000][    T0] Booting Linux on physical CPU 0x0
[    0.000000][    T0] Linux version 5.2.9-kirkwood-tld-2 (root@tldDebian) (gcc                                                               version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 PREEMPT Wed Aug 28 03:55:21                                                               PDT 2019
[    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] Built 1 zonelists, mobility grouping on.  Total pages: 45                                                              5168
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 root=LABEL=root                                                              fs rootdelay=10 mtdparts=spi0.0:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) earl                                                              yprintk=serial
[    0.000000][    T0] Dentry cache hash table entries: 262144 (order: 8, 104857                                                              6 bytes)
[    0.000000][    T0] Inode-cache hash table entries: 131072 (order: 7, 524288                                                               bytes)
[    0.000000][    T0] Memory: 1801368K/1835008K available (9216K kernel code, 8                                                              68K rwdata, 3400K rodata, 1024K init, 300K bss, 33640K reserved, 0K cma-reserved                                                              )
[    0.000000][    T0] random: get_random_u32 called from cache_alloc_refill+0x5                                                              2c/0x924 with crng_init=0
[    0.000000][    T0] rcu: Preemptible hierarchical RCU implementation.
[    0.000000][    T0]  Tasks RCU enabled.
[    0.000000][    T0] rcu: RCU calculated value of scheduler-enlistment delay i                                                              s 10 jiffies.
[    0.000000][    T0] NR_IRQS: 16, nr_irqs: 16, preallocated irqs: 16
[    0.000000][    T0] clocksource: orion_clocksource: mask: 0xffffffff max_cycl                                                              es: 0xffffffff, max_idle_ns: 9556302233 ns
[    0.000006][    T0] sched_clock: 32 bits at 200MHz, resolution 5ns, wraps eve                                                              ry 10737418237ns
[    0.008508][    T0] Switching to timer-based delay loop, resolution 5ns
[    0.015620][    T0] Console: colour dummy device 80x30
[    0.020794][    T0] Calibrating delay loop (skipped), value calculated using                                                               timer frequency.. 400.00 BogoMIPS (lpj=2000000)
[    0.031996][    T0] pid_max: default: 32768 minimum: 301
[    0.037549][    T0] LSM: Security Framework initializing
[    0.043015][    T0] Mount-cache hash table entries: 4096 (order: 2, 16384 byt                                                              es)
[    0.050428][    T0] Mountpoint-cache hash table entries: 4096 (order: 2, 1638                                                              4 bytes)
[    0.058875][    T0] *** VALIDATE proc ***
[    0.063067][    T0] *** VALIDATE cgroup1 ***
[    0.067325][    T0] *** VALIDATE cgroup2 ***
[    0.071672][    T0] CPU: Testing write buffer coherency: ok
[    0.078504][    T1] Setting up static identity map for 0x100000 - 0x100058
[    0.085566][    T1] mvebu-soc-id: MVEBU SoC ID=0x6282, Rev=0x1
[    0.091620][    T1] rcu: Hierarchical SRCU implementation.
[    0.099335][    T1] devtmpfs: initialized
[    0.106991][    T1] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffff                                                              ffff, max_idle_ns: 19112604462750000 ns
[    0.117538][    T1] futex hash table entries: 256 (order: -1, 3072 bytes)
[    0.124559][    T1] xor: measuring software checksum speed
[    0.228527][    T1]    arm4regs  :  1816.800 MB/sec
[    0.328530][    T1]    8regs     :  1090.400 MB/sec
[    0.428527][    T1]    32regs    :  1585.600 MB/sec
[    0.433382][    T1] xor: using function: arm4regs (1816.800 MB/sec)
[    0.439651][    T1] prandom: seed boundary self test passed
[    0.447698][    T1] prandom: 100 self tests passed
[    0.452493][    T1] pinctrl core: initialized pinctrl subsystem
[    0.459516][    T1] NET: Registered protocol family 16
[    0.465021][    T1] DMA: preallocated 256 KiB pool for atomic coherent alloca                                                              tions
[    0.473237][    T1] audit: initializing netlink subsys (disabled)
[    0.480304][   T14] audit: type=2000 audit(0.470:1): state=initialized audit_                                                              enabled=0 res=1
[    0.488811][    T1] cpuidle: using governor ladder
[    0.493637][    T1] cpuidle: using governor menu
[    0.498645][    T1] Feroceon L2: Enabling L2
[    0.502918][    T1] Feroceon L2: Cache support initialised.
[    0.512266][    T1] No ATAGs?
[    2.568513][    C0] random: fast init done
[    3.736804][   T71] alg: No test for lzo-rle (lzo-rle-generic)
[    3.742954][   T73] alg: No test for lzo-rle (lzo-rle-scomp)
[    3.918814][    T1] raid6: int32x8  gen()   208 MB/s
[    4.088869][    T1] raid6: int32x8  xor()   142 MB/s
[    4.258590][    T1] raid6: int32x4  gen()   208 MB/s
[    4.428663][    T1] raid6: int32x4  xor()   138 MB/s
[    4.598693][    T1] raid6: int32x2  gen()   210 MB/s
[    4.768668][    T1] raid6: int32x2  xor()   152 MB/s
[    4.938707][    T1] raid6: int32x1  gen()   157 MB/s
[    5.108551][    T1] raid6: int32x1  xor()   109 MB/s
[    5.113485][    T1] raid6: using algorithm int32x2 gen() 210 MB/s
[    5.119552][    T1] raid6: .... xor() 152 MB/s, rmw enabled
[    5.125097][    T1] raid6: using intx1 recovery algorithm
[    5.130667][    T1] vgaarb: loaded
[    5.134392][    T1] SCSI subsystem initialized
[    5.139191][    T1] usbcore: registered new interface driver usbfs
[    5.145376][    T1] usbcore: registered new interface driver hub
[    5.151430][    T1] usbcore: registered new device driver usb
[    5.157260][    T1] pps_core: LinuxPPS API ver. 1 registered
[    5.162905][    T1] pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodol                                                              fo Giometti <giometti@linux.it>
[    5.172703][    T1] PTP clock support registered
[    5.178234][    T1] clocksource: Switched to clocksource orion_clocksource
[    5.790925][    T1] VFS: Disk quotas dquot_6.6.0
[    5.795592][    T1] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096                                                               bytes)
[    5.809916][    T1] NET: Registered protocol family 2
[    5.815521][    T1] tcp_listen_portaddr_hash hash table entries: 1024 (order:                                                               1, 8192 bytes)
[    5.824011][    T1] TCP established hash table entries: 16384 (order: 4, 6553                                                              6 bytes)
[    5.832025][    T1] TCP bind hash table entries: 16384 (order: 4, 65536 bytes                                                              )
[    5.839428][    T1] TCP: Hash tables configured (established 16384 bind 16384                                                              )
[    5.846700][    T1] UDP hash table entries: 1024 (order: 2, 16384 bytes)
[    5.853432][    T1] UDP-Lite hash table entries: 1024 (order: 2, 16384 bytes)
[    5.860740][    T1] NET: Registered protocol family 1
[    5.866230][    T1] RPC: Registered named UNIX socket transport module.
[    5.872872][    T1] RPC: Registered udp transport module.
[    5.878253][    T1] RPC: Registered tcp transport module.
[    5.883620][    T1] RPC: Registered tcp NFSv4.1 backchannel transport module.
[    5.890732][    T1] PCI: CLS 0 bytes, default 32
[    5.895487][    T1] Trying to unpack rootfs image as initramfs...
[    6.005716][    T1] Freeing initrd memory: 2140K
[    6.010559][    T1] NetWinder Floating Point Emulator V0.97 (double precision                                                              )
[    6.018711][    T1] Initialise system trusted keyrings
[    6.023851][    T1] Key type blacklist registered
[    6.028767][    T1] workingset: timestamp_bits=30 max_order=19 bucket_order=0
[    6.035919][    T1] zbud: loaded
[    6.039951][    T1] NFS: Registering the id_resolver key type
[    6.045684][    T1] Key type id_resolver registered
[    6.050597][    T1] Key type id_legacy registered
[    6.055281][    T1] nfs4filelayout_init: NFSv4 File Layout Driver Registering                                                              ...
[    6.062655][    T1] Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
[    6.069910][    T1] jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat                                                              , Inc.
[    6.077761][    T1] fuse: init (API version 7.31)
[    6.082748][    T1] orangefs_debugfs_init: called with debug mask: :none: :0:
[    6.090001][    T1] orangefs_init: module version upstream loaded
[    6.096061][    T1] SGI XFS with ACLs, security attributes, realtime, scrub,                                                               no debug enabled
[    6.110144][    T1] async_tx: api initialized (async)
[    6.115177][    T1] Key type asymmetric registered
[    6.120008][    T1] Asymmetric key parser 'x509' registered
[    6.125595][    T1] Block layer SCSI generic (bsg) driver version 0.4 loaded                                                               (major 246)
[    6.134702][    T1] kirkwood-pinctrl f1010000.pin-controller: registered pinc                                                              trl driver
[    6.144035][    T1] mvebu-pcie mbus@f1000000:pcie@82000000: PCI host bridge t                                                              o bus 0000:00
[    6.152331][    T1] pci_bus 0000:00: root bus resource [bus 00-ff]
[    6.158498][    T1] pci_bus 0000:00: root bus resource [mem 0xe0000000-0xefff                                                              ffff]
[    6.166031][    T1] pci_bus 0000:00: root bus resource [io  0x1000-0xeffff]
[    6.173037][    T1] pci 0000:00:01.0: [11ab:6282] type 01 class 0x060400
[    6.179743][    T1] pci 0000:00:01.0: reg 0x38: [mem 0x00000000-0x000007ff pr                                                              ef]
[    6.187839][    T1] PCI: bus0: Fast back to back transfers disabled
[    6.194109][    T1] pci 0000:00:01.0: bridge configuration invalid ([bus 00-0                                                              0]), reconfiguring
[    6.203440][    T1] PCI: bus1: Fast back to back transfers enabled
[    6.209620][    T1] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to                                                               01
[    6.217014][    T1] pci 0000:00:01.0: BAR 6: assigned [mem 0xe0000000-0xe0000                                                              7ff pref]
[    6.224915][    T1] pci 0000:00:01.0: PCI bridge to [bus 01]
[    6.230951][    T1] mv_xor f1060800.xor: Marvell shared XOR driver
[    6.298754][    T1] mv_xor f1060800.xor: Marvell XOR (Registers Mode): ( xor                                                               cpy intr )
[    6.307990][    T1] mv_xor f1060900.xor: Marvell shared XOR driver
[    6.368750][    T1] mv_xor f1060900.xor: Marvell XOR (Registers Mode): ( xor                                                               cpy intr )
[    6.378172][    T1] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
[    6.386095][    T1] printk: console [ttyS0] disabled
[    6.391133][    T1] f1012000.serial: ttyS0 at MMIO 0xf1012000 (irq = 26, base                                                              _baud = 12500000) is a 16550A
[    6.400800][    T1] printk: console [ttyS0] enabled
[    6.400800][    T1] printk: console [ttyS0] enabled
[    6.410620][    T1] printk: bootconsole [earlycon0] disabled
[    6.410620][    T1] printk: bootconsole [earlycon0] disabled
[    6.427270][    T1] loop: module loaded
[    6.431591][    T1] sata_mv f1080000.sata: slots 32 ports 2
[    6.439123][    T1] scsi host0: sata_mv
[    6.443391][    T1] scsi host1: sata_mv
[    6.447461][    T1] ata1: SATA max UDMA/133 irq 33
[    6.452323][    T1] ata2: SATA max UDMA/133 irq 33
[    6.458378][    T1] m25p80 spi0.0: mx25l4005a (512 Kbytes)
[    6.463896][    T1] 2 cmdlinepart partitions found on MTD device spi0.0
[    6.470575][    T1] Creating 2 MTD partitions on "spi0.0":
[    6.476088][    T1] 0x000000000000-0x00000007f000 : "uboot"
[    6.482636][    T1] 0x00000007f000-0x000000080000 : "u-boot-env"
[    6.490313][    T1] libphy: Fixed MDIO Bus: probed
[    6.495661][    T1] libphy: orion_mdio_bus: probed
[    6.504275][    T1] mv643xx_eth: MV-643xx 10/100/1000 ethernet driver version                                                               1.4
[    6.512178][    T1] mv643xx_eth_port mv643xx_eth_port.0: DMA mask not set
[    6.520098][    T1] mv643xx_eth_port mv643xx_eth_port.0 eth0: port 0 with MAC                                                               address 18:03:73:41:db:3e
[    6.529724][    T1] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Drive                                                              r
[    6.536994][    T1] ehci-pci: EHCI PCI platform driver
[    6.542242][    T1] ehci-orion: EHCI orion driver
[    6.547097][    T1] orion-ehci f1050000.ehci: EHCI Host Controller
[    6.553373][    T1] orion-ehci f1050000.ehci: new USB bus registered, assigne                                                              d bus number 1
[    6.561932][    T1] orion-ehci f1050000.ehci: irq 30, io mem 0xf1050000
[    6.598259][    T1] orion-ehci f1050000.ehci: USB 2.0 started, EHCI 1.00
[    6.605180][    T1] usb usb1: New USB device found, idVendor=1d6b, idProduct=                                                              0002, bcdDevice= 5.02
[    6.614196][    T1] usb usb1: New USB device strings: Mfr=3, Product=2, Seria                                                              lNumber=1
[    6.622159][    T1] usb usb1: Product: EHCI Host Controller
[    6.627752][    T1] usb usb1: Manufacturer: Linux 5.2.9-kirkwood-tld-2 ehci_h                                                              cd
[    6.635108][    T1] usb usb1: SerialNumber: f1050000.ehci
[    6.640958][    T1] hub 1-0:1.0: USB hub found
[    6.645445][    T1] hub 1-0:1.0: 1 port detected
[    6.650596][    T1] usbcore: registered new interface driver usb-storage
[    6.657588][    T1] mousedev: PS/2 mouse device common for all mice
[    6.664319][    T1] rtc-mv f1010300.rtc: registered as rtc0
[    6.670050][    T1] i2c /dev entries driver
[    6.674696][    T1] device-mapper: uevent: version 1.0.3
[    6.680301][    T1] device-mapper: ioctl: 4.40.0-ioctl (2019-01-18) initialis                                                              ed: dm-devel@redhat.com
[    6.689797][    T1] device-mapper: multipath round-robin: version 1.2.0 loade                                                              d
[    6.697080][    T1] device-mapper: multipath queue-length: version 0.2.0 load                                                              ed
[    6.704462][    T1] device-mapper: multipath service-time: version 0.3.0 load                                                              ed
[    6.711892][    T1] device-mapper: dm-log-userspace: version 1.3.0 loaded
[    6.718769][    T1] device-mapper: raid: Loading target version 1.14.0
[    6.725747][    T1] kirkwood-pinctrl f1010000.pin-controller: unsupported fun                                                              ction gpio on pin mpp7
[    6.734881][    T1] pinctrl core: failed to register map default (0): invalid                                                               type given
[    6.743039][    T1] leds-gpio: probe of gpio-leds failed with error -22
[    6.749804][    T1] hidraw: raw HID events driver (C) Jiri Kosina
[    6.756164][    T1] drop_monitor: Initializing network drop monitor service
[    6.763466][    T1] NET: Registered protocol family 17
[    6.768853][    T1] Key type dns_resolver registered
[    6.774446][    T1] registered taskstats version 1
[    6.779303][    T1] Loading compiled-in X.509 certificates
[    6.784893][    T1] zswap: loaded using pool lzo/zbud
[    6.817078][    T1] Key type big_key registered
[    6.832533][    T1] Key type encrypted registered
[    6.838782][    T1] rtc-mv f1010300.rtc: setting system clock to 2019-08-30T0                                                              0:38:02 UTC (1567125482)
[    6.958271][  T112] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl F300)
[    6.969754][  T112] ata1.00: ATA-7: TS16GSSD25H-M, 20100712, max UDMA/133
[    6.976569][  T112] ata1.00: 31277056 sectors, multi 0: LBA48
[    6.989116][  T112] ata1.00: configured for UDMA/133
[    7.004481][    T7] scsi 0:0:0:0: Direct-Access     ATA      TS16GSSD25H-M                                                                  0712 PQ: 0 ANSI: 5
[    7.014105][  T116] sd 0:0:0:0: [sda] 31277056 512-byte logical blocks: (16.0                                                               GB/14.9 GiB)
[    7.022443][   T15] usb 1-1: new high-speed USB device number 2 using orion-e                                                              hci
[    7.030310][  T116] sd 0:0:0:0: [sda] Write Protect is off
[    7.035993][  T116] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabl                                                              ed, doesn't support DPO or FUA
[    7.047649][  T116]  sda: sda1 sda2 sda3 < sda5 >
[    7.053845][  T116] sd 0:0:0:0: [sda] Attached SCSI disk
[    7.228693][   T15] usb 1-1: New USB device found, idVendor=058f, idProduct=6                                                              254, bcdDevice= 1.00
[    7.237614][   T15] usb 1-1: New USB device strings: Mfr=0, Product=0, Serial                                                              Number=0
[    7.245915][   T15] hub 1-1:1.0: USB hub found
[    7.250560][   T15] hub 1-1:1.0: 4 ports detected
[    7.361774][  T114] ata2: SATA link down (SStatus 0 SControl F300)
[    7.381222][    T1] Freeing unused kernel memory: 1024K
[    7.386854][    T1] Checked W+X mappings: passed, no W+X pages found
[    7.393257][    T1] Run /init as init process
Loading, please wait...
[    7.462121][  T158] udev[158]: starting version 164
[    7.568324][   T15] usb 1-1.2: new high-speed USB device number 3 using orion                                                              -ehci
[    7.731336][   T15] usb 1-1.2: New USB device found, idVendor=03f0, idProduct                                                              =b107, bcdDevice= 1.00
[    7.748072][   T15] usb 1-1.2: New USB device strings: Mfr=1, Product=2, Seri                                                              alNumber=3
[    7.764753][   T15] usb 1-1.2: Product: USB Flash Drive
[    7.775594][   T15] usb 1-1.2: Manufacturer: HP
[    7.784724][   T15] usb 1-1.2: SerialNumber: UT1A026200001561
[    7.797628][   T15] usb-storage 1-1.2:1.0: USB Mass Storage device detected
[    7.816455][   T15] scsi host2: usb-storage 1-1.2:1.0
[    8.899137][   T23] scsi 2:0:0:0: Direct-Access     hp       USB FLASH DRIVE                                                                0.00 PQ: 0 ANSI: 2
[    8.915115][  T116] sd 2:0:0:0: [sdb] 7892992 512-byte logical blocks: (4.04                                                               GB/3.76 GiB)
[    8.927349][  T116] sd 2:0:0:0: [sdb] Write Protect is off
[    8.933330][  T116] sd 2:0:0:0: [sdb] Asking for cache data failed
[    8.939631][  T116] sd 2:0:0:0: [sdb] Assuming drive cache: write through
[    8.952676][  T116]  sdb: sdb1
[    8.964474][  T116] sd 2:0:0:0: [sdb] Attached SCSI removable disk
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.
[   18.047981][  T244] EXT4-fs (sdb1): mounting ext3 file system using the ext4                                                               subsystem
[   18.101503][  T244] EXT4-fs (sdb1): mounted filesystem with ordered data mode                                                              . Opts: (null)
Begin: Running /scripts/local-bottom ... done.
done.
Begin: Running /scripts/init-bottom ... done.
INIT: version 2.88 booting
[info] Using makefile-style concurrent boot in runlevel S.
[ ok ] Setting hostname to 'debian'...done.
[....] Starting the hotplug events dispatcher: systemd-udevdstarting version 232
[ ok [   19.918953][  T421] random: systemd-udevd: uninitialized urandom read (1                                                              6 bytes read)
[   19.936504][  T421] random: systemd-udevd: uninitialized urandom read (16 byt                                                              es read)
[   19.949596][  T421] random: systemd-udevd: uninitialized urandom read (16 byt                                                              es read)
.
[ ok ] Synthesizing the initial hotplug events...done.
[....] Waiting for /dev to be fully populated...[   20.340445][  T445] input: gp                                                              io_keys as /devices/platform/gpio_keys/input/input0
[   20.469823][  T447] watchdog: f1020300.watchdog-timer: driver supplied timeou                                                              t (4294967295) out of range
[   20.516433][  T447] watchdog: f1020300.watchdog-timer: falling back to defaul                                                              t timeout (21)
[   20.552411][  T447] orion_wdt: Initial timeout 21 sec
[   20.582786][  T444] sd 0:0:0:0: Attached scsi generic sg0 type 0
[   20.610688][  T444] sd 2:0:0:0: Attached scsi generic sg1 type 0
[   20.644768][  T447] usbcore: registered new interface driver uas
[   20.815251][  T446] marvell-cesa f1030000.crypto: CESA device successfully re                                                              gistered
done.
[ ok ] Activating swap:.
[   21.748350][  T635] EXT4-fs (sdb1): re-mounted. Opts: (null)
[....] Will now check root file system:fsck from util-linux 2.29.2
[/sbin/fsck.ext3 (1) -- /] fsck.ext3 -y -C0 /dev/sdb1
e2fsck 1.43.4 (31-Jan-2017)
rootfs: clean, 17164/247008 files, 204703/986368 blocks
. ok
[   21.938499][    C0] random: crng init done
[   21.942631][    C0] random: 7 urandom warning(s) missed due to ratelimiting
[   21.949692][  T661] EXT4-fs (sdb1): re-mounted. Opts: errors=remount-ro
[ ok ] Will now activate lvm and md swap:done.
[info] Will now check all file systems.
fsck from util-linux 2.29.2
Checking all file systems.
LABEL=rootfs is mounted
[....] Done checking file systems. A log is being saved in /var/log/fsck/checkfs                                                              [ ok hat location is writable..
[ ok ] Cleaning up temporary files...[....] Cleaning /tmp...done.
[ ok .
[ ok ] Will now mount local filesystems:.
[ ok ] Will now activate swapfile swap:done.
[ ok ] Checking minimum space in /tmp...done.
[ ok ] Cleaning up temporary files....
[ ok ] Setting kernel variables...done.
[ ok ] Initializing random number generator...done.
[   26.474988][    C0] mv643xx_eth_port mv643xx_eth_port.0 eth0: link up, 100 Mb                                                              /s, full duplex, flow control disabled
[....] Configuring network interfaces...Internet Systems Consortium DHCP Client                                                               4.3.5
Copyright 2004-2016 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/18:03:73:41:db:3e
Sending on   LPF/eth0/18:03:73:41:db:3e
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 3
[   31.541010][ T1223] NET: Registered protocol family 10
[   31.548615][ T1223] Segment Routing with IPv6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
DHCPREQUEST of 192.168.1.104 on eth0 to 255.255.255.255 port 67
DHCPOFFER of 192.168.1.104 from 192.168.1.1
DHCPACK of 192.168.1.104 from 192.168.1.1
bound to 192.168.1.104 -- renewal in 39808 seconds.
done.
[ ok ] Starting RPC port mapper daemon: rpcbind.
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Cleaning up temporary files....
INIT: Entering runlevel: 2
[info] Using makefile-style concurrent boot in runlevel 2.
[....] Starting busybox' syslogd implementation : syslogdStarting /sbin/syslogd.                                                              ..
1430 (syslogd)
. ok
[ ok ] Starting NFS common utilities: statd idmapd.
[ ok ] Starting system message bus: dbus.
[warn] Not starting NFS kernel daemon: no exports. ... (warning).
[ ok ] Starting Avahi mDNS/DNS-SD Daemon: avahi-daemon.
[ ok ] Starting NTP server: ntpd.
[ ok ] Starting OpenBSD Secure Shell server: sshd.
[....] Starting busybox' klogd implementation : klogdStarting /sbin/klogd...
1428 (klogd)
. ok
[ ok ] Running local boot scripts (/etc/rc.local).

Debian GNU/Linux 9 debian ttyS0

debian login: root
atwPassword:

Login incorrect
debian login: root
Password:

Login incorrect
debian login:
Login
Debian GNU/Linux 9 debian ttyS0

debian login: root
Password:

Login incorrect
debian login: root
Password:
Last login: Thu Oct 11 07:55:21 PDT 2018 on ttyS0
Linux debian 5.2.9-kirkwood-tld-2 #1 PREEMPT Wed Aug 28 03:55:21 PDT 2019 armv5t                                                              el

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.
root@debian:~# uname -a
Linux debian 5.2.9-kirkwood-tld-2 #1 PREEMPT Wed Aug 28 03:55:21 PDT 2019 armv5t

I see the lines were truncated. Hope that's OK.

Re: Debian on Dell Kace M300

$
0
0
Foolishly did an apt-get update and apt-get update and got the initiramfs issue that you address in the update thread:

Processing triggers for initramfs-tools (0.130) ...
update-initramfs: Generating /boot/initrd.img-4.12.1-kirkwood-tld-1

Looks to me that it updated the 4.12.1 image file, but I'm running 5.2.9. How should we/you/me handle this?

-rw-r--r--  1 root root  7713498 Aug 29 19:57 initrd.img-4.12.1-kirkwood-tld-1
-rw-r--r--  1 root root  2190870 Aug 29 17:32 initrd.img-5.2.9-kirkwood-tld-2

Re: Debian on Dell Kace M300

$
0
0
Quote

OK, I'll get the boot log from serial. Is that right? Or, I can do it over while running the 5.2.9 kernel and 4.12 filesystem that is now booted.

As I said,

Quote

dpkg needs to be run on a live system booting a previous kernel. And it will automatically populate the rootfs /boot and /lib/modules/, and also records the linux-Image-xxxx the rootfs.

Quote

Looks to me that it updated the 4.12.1 image file, but I'm running 5.2.9. How should we/you/me handle this?

- What you need to do is create a new USB rootfs using Debian-5.2.9-kirkwood-tld-1-rootfs-bodhi.tar.bz2.
- And boot into the box first.

After you're satisfy that it is working. Then download the kernel package linux-5.2.9-kirkwood-tld-2.bodhi.tar.bz2

And then run the kernel installation similar to what described in the released instruction for kernel linux-5.2.9-kirkwood-tld-1

Quote

Updated 18 Aug 2019:

Kernel linux-5.2.9-kirkwood-tld-1 package has been uploaded. The following features were added/updated:

Do step 1 to 5, but this time using kernel linux-5.2.9-kirkwood-tld-2.
Viewing all 26691 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>