Welcome! Log In Create A New Profile

Advanced

Debian on Dell Kace M300

Posted by JDS420 
Re: Debian on Dell Kace M300
April 13, 2020 04:04PM
//note, I posted twice in a row, see my last post post on the previous page for the fail I had testing M300 #5.

I need to fix the uImage for the bodhi kernel I'm using, apparently I made it with the 0x10008000 value I noted above:

## Booting image at 00100000 ...
   Image Name:   Linux-5.5.1-kirkwood-tld-1
   Created:      2020-04-10  15:36:18 UTC
   Image Type:   ARM Linux Kernel Image (uncompressed)
   Data Size:    5213369 Bytes =  5 MB
   Load Address: 10008000
   Entry Point:  10008000
   Verifying Checksum ... OK
OK
## Loading Ramdisk Image at 01100000 ...
   Image Name:   uInitrd
   Created:      2020-02-06  22:11:51 UTC
   Image Type:   ARM Linux RAMDisk Image (uncompressed)
   Data Size:    100 Bytes =  0.1 kB
   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.5.1-kirkwood-tld-1 (root@tldDebian) (gcc version 8.3.0 (Debian 8.3.0-6)) #1.0 PREEMPT Sat Feb 1 22:28:36 PST 2020
[    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] OF: fdt: Ignoring memory range 0x0 - 0x10000000
[    0.000000][    T0] printk: bootconsole [earlycon0] enabled
[    0.000000][    T0] Memory policy: Data cache writeback
[    0.000000][    T0] INITRD: 0x01100000+0x00001000 is not a memory region - disabling initrd
[    0.000000][    T0] Built 1 zonelists, mobility grouping on.  Total pages: 455168
[    0.000000][    T0] Kernel command line: console=ttyS0,115200 mtdparts=spi_flash:0x7f000@0(uboot),0x1000@0x7f000(u-boot-env) earlyprintk root=/dev/sda2
[    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] mem auto-init: stack:off, heap alloc:on, heap free:off
[    0.000000][    T0] Memory: 1802436K/1835008K available (9216K kernel code, 926K rwdata, 3860K rodata, 1024K init, 296K bss, 32572K reserved, 0K cma-reserved)

Note that the line that says "Ignoring memory range 0x0 - 0x10000000" I think that goes away when I make the uImage for 0x00008000, again, not sure if this is really a big deal??



Edited 1 time(s). Last edit at 04/13/2020 04:05PM by sodface.
Re: Debian on Dell Kace M300
April 13, 2020 05:07PM
sodface,

> Note that the line that says "Ignoring memory
> range 0x0 - 0x10000000" I think that goes away
> when I make the uImage for 0x00008000, again, not
> sure if this is really a big deal??

You do need to redo uImage, or copy a good one over.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Dell Kace M300
April 14, 2020 12:24PM
I'll fix the uImage bodhi.

I've been running off the internal sata using the factory load since yesterday and have run the transfer test script multiple times without a problem so far.
Re: Debian on Dell Kace M300
April 14, 2020 05:54PM
sodface,

> I've been running off the internal sata using the
> factory load since yesterday and have run the
> transfer test script multiple times without a
> problem so far.

Exactly my experience, too. I run one of my M300 boxes using internal SATA with the latest Debian rootfs.

The reason I suspect this is a power problem is: The internal SATA is just like an SD card, which needs to draw even less juice than USB.

-bodhi
===========================
Forum Wiki
bodhi's corner



Edited 1 time(s). Last edit at 04/14/2020 05:55PM by bodhi.
Re: Debian on Dell Kace M300
May 28, 2020 09:15AM
bodhi Wrote:
-------------------------------------------------------
> sodface,
>
> > I've been running off the internal sata using
> the
> > factory load since yesterday and have run the
> > transfer test script multiple times without a
> > problem so far.
>
> Exactly my experience, too. I run one of my M300
> boxes using internal SATA with the latest Debian
> rootfs.
>
> The reason I suspect this is a power problem is:
> The internal SATA is just like an SD card, which
> needs to draw even less juice than USB.

Finally got the chance to remove the factory SATA drive from my problem M300 and boot from USB running 5.6.5 with no hard drive installed. Ran stress-ng all night and even compiled some drivers and I experienced no issues or kernel panics. Looks like in my case it's the hard drive.



Edited 1 time(s). Last edit at 05/28/2020 09:17AM by LeggoMyEggo.
Re: Debian on Dell Kace M300
May 28, 2020 02:45PM
LeggoMyEggo Wrote:
-------------------------------------------------------
> Finally got the chance to remove the factory SATA
> drive from my problem M300 and boot from USB
> running 5.6.5 with no hard drive installed. Ran
> stress-ng all night and even compiled some drivers
> and I experienced no issues or kernel panics.
> Looks like in my case it's the hard drive.


I'm confused. When you say the "factory SATA", are you referring to the SSD? You think that's the culprit or did you have a mechanical hard drive? I don't understand how a SSD could cause a power problem, but I do understand how one could be bad.
Re: Debian on Dell Kace M300
May 28, 2020 05:03PM
renojim Wrote:
-------------------------------------------------------
> LeggoMyEggo Wrote:
> -------------------------------------------------------
> > Finally got the chance to remove the factory
> SATA
> > drive from my problem M300 and boot from USB
> > running 5.6.5 with no hard drive installed.
> Ran
> > stress-ng all night and even compiled some
> drivers
> > and I experienced no issues or kernel panics.
> > Looks like in my case it's the hard drive.
>
>
> I'm confused. When you say the "factory SATA",
> are you referring to the SSD? You think that's
> the culprit or did you have a mechanical hard
> drive? I don't understand how a SSD could cause a
> power problem, but I do understand how one could
> be bad.

I should have been more exact, I meant the factory SSD module. As soon as I booted without the factory SSD module, my problems went away.
Re: Debian on Dell Kace M300
May 29, 2020 05:38AM
LeggoMyEggo,

> I should have been more exact, I meant the factory
> SSD module. As soon as I booted without the
> factory SSD module, my problems went away.

That's a little worse than I thought. I think this stock u-boot has wome weird bug that the stock kernel works around it.

Because the internal SSD is really like an SD card. There is not much power used by it. The USB seems to draw more power (from info I get at stock u-boot prompt). And usually, SD cards use very little power.

-bodhi
===========================
Forum Wiki
bodhi's corner
Re: Debian on Dell Kace M300
May 29, 2020 09:05PM
bodhi Wrote:
-------------------------------------------------------
> There is not much power used by it. The USB
> seems to draw more power (from info I get at stock
> u-boot prompt). And usually, SD cards use very
> little power.

You may be on to something about the power supply. The power connector on the motherboard is really loose on this unit and a couple of the others I own. Even when fully inserted, it's loose. I just shut down the M300 to move it and when I reconnected power, it failed to show up on my IP checker. Turns out fiddling with the connection to the unit made it start booting. Wonder if this is causing issues. I trust the power supply itself as it is of good build quality, not a typical wall wart. But that barrel connector on the motherboard, it doesn't inspire confidence.
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: