Hi Guys.
After updating my NAS326 to kernel 5.13 I have a few questions.
1. The MAC address is still not fixed. In U-boot the variable ethaddr is set (from the sticker under the NAS326), but the kernel log still says "Using random mac address". I have already written the variable in the kernel command line out of desperation, but it is always ignored:
Or does my current U-Boot version not support fixed MAC address?:
U-Boot 2013.01-svn48206 (Dec 03 2015 - 02:50:37) Marvell version: 2014_T3.0p6
2. At the moment I boot the NAS326 via a USB stick. I would like to boot via the internal hard drive, is there a trick? The problem is that with the SATA init after the command "scsi init" in U-Boot nothing happens, also ctrl-c does not cancel the command and I have to cold boot the NAS326:
3. I'm not sure if this was already under the old kernel, but I see constant disk access, every second the HDD LED on the NAS lights up. With iotop I could find out that the following processes are responsible for the access:
kworker/0:2-events_power_efficient
kworker/0:2-events
kworker/0:2-events_freezable_power
kworker/0:2-mm_percpu_wq
jbd2/sda2-8
jbd2/sdc1-8
jbd2/sdd1-8
jbd2/sda3-8
jbd2/sdb1-8
How can I change this? I need a NAS that goes to sleep at night. How can I minimize the hard disk access?
I have attached the bootlog and environment variables to this post.
Thanks for your help in advance!
Regards,
Peter
After updating my NAS326 to kernel 5.13 I have a few questions.
1. The MAC address is still not fixed. In U-boot the variable ethaddr is set (from the sticker under the NAS326), but the kernel log still says "Using random mac address". I have already written the variable in the kernel command line out of desperation, but it is always ignored:
[ 0.000000] Kernel command line: console=ttyS0,115200 root=LABEL=rootfs rootdelay=8 mtdparts=pxa3xx_nand-0:2m(u-boot),2m(env),2m(config),15m(kernel1),110m(rootfs1),15m(kernel2),-(rootfs2) earlyprintk=serial ethaddr=5c:6a:80:04:48:7a
[ 3.947011] mvneta f1070000.ethernet eth0: Using random mac address c2:c7:99:77:36:a6
Or does my current U-Boot version not support fixed MAC address?:
U-Boot 2013.01-svn48206 (Dec 03 2015 - 02:50:37) Marvell version: 2014_T3.0p6
2. At the moment I boot the NAS326 via a USB stick. I would like to boot via the internal hard drive, is there a trick? The problem is that with the SATA init after the command "scsi init" in U-Boot nothing happens, also ctrl-c does not cancel the command and I have to cold boot the NAS326:
Marvell>> mw.l f1018100 20420000; Marvell>> mw.l f1018140 003ca800; (after this command I hear the hard disk spinning up) Marvell>> scsi init AHCI init for unit0 Target spinup took 0 ms. Target spinup took 0 ms. Error: SCSI Controller(s) 1B4B:9215 1B4B:9235 not found scanning bus for devices...
3. I'm not sure if this was already under the old kernel, but I see constant disk access, every second the HDD LED on the NAS lights up. With iotop I could find out that the following processes are responsible for the access:
kworker/0:2-events_power_efficient
kworker/0:2-events
kworker/0:2-events_freezable_power
kworker/0:2-mm_percpu_wq
jbd2/sda2-8
jbd2/sdc1-8
jbd2/sdd1-8
jbd2/sda3-8
jbd2/sdb1-8
How can I change this? I need a NAS that goes to sleep at night. How can I minimize the hard disk access?
I have attached the bootlog and environment variables to this post.
Thanks for your help in advance!
Regards,
Peter